wined3d: Use the core version of glDrawBuffers.
[wine/multimedia.git] / configure
blob817ddd77b33a76e148918e1a130027ce186a8509
1 #! /bin/sh
2 # Guess values for system-dependent variables and create Makefiles.
3 # Generated by GNU Autoconf 2.69 for Wine 1.7.34.
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.34'
584 PACKAGE_STRING='Wine 1.7.34'
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_mfreadwrite
1101 enable_mgmtapi
1102 enable_midimap
1103 enable_mlang
1104 enable_mmcndmgr
1105 enable_mmdevapi
1106 enable_mountmgr_sys
1107 enable_mpr
1108 enable_mprapi
1109 enable_msacm32_drv
1110 enable_msacm32
1111 enable_msadp32_acm
1112 enable_msasn1
1113 enable_mscat32
1114 enable_mscms
1115 enable_mscoree
1116 enable_msctf
1117 enable_msdaps
1118 enable_msdmo
1119 enable_msftedit
1120 enable_msg711_acm
1121 enable_msgsm32_acm
1122 enable_mshtml_tlb
1123 enable_mshtml
1124 enable_msi
1125 enable_msident
1126 enable_msimg32
1127 enable_msimsg
1128 enable_msimtf
1129 enable_msisip
1130 enable_msisys_ocx
1131 enable_msls31
1132 enable_msnet32
1133 enable_mspatcha
1134 enable_msrle32
1135 enable_mssign32
1136 enable_mssip32
1137 enable_mstask
1138 enable_msvcirt
1139 enable_msvcm80
1140 enable_msvcm90
1141 enable_msvcp100
1142 enable_msvcp110
1143 enable_msvcp120
1144 enable_msvcp120_app
1145 enable_msvcp60
1146 enable_msvcp70
1147 enable_msvcp71
1148 enable_msvcp80
1149 enable_msvcp90
1150 enable_msvcr100
1151 enable_msvcr110
1152 enable_msvcr120
1153 enable_msvcr120_app
1154 enable_msvcr70
1155 enable_msvcr71
1156 enable_msvcr80
1157 enable_msvcr90
1158 enable_msvcrt
1159 enable_msvcrt20
1160 enable_msvcrt40
1161 enable_msvcrtd
1162 enable_msvfw32
1163 enable_msvidc32
1164 enable_mswsock
1165 enable_msxml
1166 enable_msxml2
1167 enable_msxml3
1168 enable_msxml4
1169 enable_msxml6
1170 enable_nddeapi
1171 enable_ndis_sys
1172 enable_netapi32
1173 enable_netcfgx
1174 enable_netprofm
1175 enable_newdev
1176 enable_normaliz
1177 enable_npmshtml
1178 enable_npptools
1179 enable_ntdll
1180 enable_ntdsapi
1181 enable_ntoskrnl_exe
1182 enable_ntprint
1183 enable_objsel
1184 enable_odbc32
1185 enable_odbccp32
1186 enable_odbccu32
1187 enable_ole32
1188 enable_oleacc
1189 enable_oleaut32
1190 enable_olecli32
1191 enable_oledb32
1192 enable_oledlg
1193 enable_olepro32
1194 enable_olesvr32
1195 enable_olethk32
1196 enable_openal32
1197 enable_opencl
1198 enable_opengl32
1199 enable_packager
1200 enable_pdh
1201 enable_photometadatahandler
1202 enable_pidgen
1203 enable_powrprof
1204 enable_printui
1205 enable_prntvpt
1206 enable_propsys
1207 enable_psapi
1208 enable_pstorec
1209 enable_qcap
1210 enable_qedit
1211 enable_qmgr
1212 enable_qmgrprxy
1213 enable_quartz
1214 enable_query
1215 enable_rasapi32
1216 enable_rasdlg
1217 enable_regapi
1218 enable_resutils
1219 enable_riched20
1220 enable_riched32
1221 enable_rpcrt4
1222 enable_rsabase
1223 enable_rsaenh
1224 enable_rstrtmgr
1225 enable_rtutils
1226 enable_samlib
1227 enable_sane_ds
1228 enable_scarddlg
1229 enable_sccbase
1230 enable_schannel
1231 enable_schedsvc
1232 enable_scrrun
1233 enable_scsiport_sys
1234 enable_secur32
1235 enable_security
1236 enable_sensapi
1237 enable_serialui
1238 enable_setupapi
1239 enable_sfc
1240 enable_sfc_os
1241 enable_shdoclc
1242 enable_shdocvw
1243 enable_shell32
1244 enable_shfolder
1245 enable_shlwapi
1246 enable_slbcsp
1247 enable_slc
1248 enable_snmpapi
1249 enable_softpub
1250 enable_spoolss
1251 enable_stdole2_tlb
1252 enable_stdole32_tlb
1253 enable_sti
1254 enable_svrapi
1255 enable_sxs
1256 enable_t2embed
1257 enable_tapi32
1258 enable_taskschd
1259 enable_traffic
1260 enable_twain_32
1261 enable_unicows
1262 enable_updspapi
1263 enable_url
1264 enable_urlmon
1265 enable_usbd_sys
1266 enable_user32
1267 enable_userenv
1268 enable_usp10
1269 enable_uxtheme
1270 enable_vbscript
1271 enable_vcomp
1272 enable_vcomp100
1273 enable_vcomp90
1274 enable_vdmdbg
1275 enable_version
1276 enable_vssapi
1277 enable_wbemdisp
1278 enable_wbemprox
1279 enable_webservices
1280 enable_wer
1281 enable_wevtapi
1282 enable_wiaservc
1283 enable_windowscodecs
1284 enable_windowscodecsext
1285 enable_winealsa_drv
1286 enable_winecoreaudio_drv
1287 enable_wined3d
1288 enable_winegstreamer
1289 enable_winejoystick_drv
1290 enable_winemac_drv
1291 enable_winemapi
1292 enable_winemp3_acm
1293 enable_wineoss_drv
1294 enable_wineps_drv
1295 enable_wineqtdecoder
1296 enable_winex11_drv
1297 enable_wing32
1298 enable_winhttp
1299 enable_wininet
1300 enable_winmm
1301 enable_winnls32
1302 enable_winscard
1303 enable_winspool_drv
1304 enable_winsta
1305 enable_wintab32
1306 enable_wintrust
1307 enable_wlanapi
1308 enable_wldap32
1309 enable_wmi
1310 enable_wmiutils
1311 enable_wmp
1312 enable_wmvcore
1313 enable_wnaspi32
1314 enable_wpcap
1315 enable_ws2_32
1316 enable_wshom_ocx
1317 enable_wsnmp32
1318 enable_wsock32
1319 enable_wtsapi32
1320 enable_wuapi
1321 enable_wuaueng
1322 enable_x3daudio1_7
1323 enable_xapofx1_1
1324 enable_xaudio2_7
1325 enable_xinput1_1
1326 enable_xinput1_2
1327 enable_xinput1_3
1328 enable_xinput1_4
1329 enable_xinput9_1_0
1330 enable_xmllite
1331 enable_xolehlp
1332 enable_xpsprint
1333 enable_xpssvcs
1334 enable_documentation
1335 enable_fonts
1336 enable_include
1337 enable_libs_port
1338 enable_libs_wine
1339 enable_libs_wpp
1340 enable_loader
1341 enable_arp
1342 enable_aspnet_regiis
1343 enable_attrib
1344 enable_cabarc
1345 enable_cacls
1346 enable_clock
1347 enable_cmd
1348 enable_conhost
1349 enable_control
1350 enable_cscript
1351 enable_dpnsvr
1352 enable_dxdiag
1353 enable_eject
1354 enable_expand
1355 enable_explorer
1356 enable_extrac32
1357 enable_findstr
1358 enable_hh
1359 enable_hostname
1360 enable_icinfo
1361 enable_iexplore
1362 enable_ipconfig
1363 enable_lodctr
1364 enable_mofcomp
1365 enable_mshta
1366 enable_msiexec
1367 enable_net
1368 enable_netsh
1369 enable_netstat
1370 enable_ngen
1371 enable_notepad
1372 enable_oleview
1373 enable_ping
1374 enable_plugplay
1375 enable_presentationfontcache
1376 enable_progman
1377 enable_reg
1378 enable_regasm
1379 enable_regedit
1380 enable_regsvcs
1381 enable_regsvr32
1382 enable_rpcss
1383 enable_rundll32
1384 enable_sc
1385 enable_schtasks
1386 enable_sdbinst
1387 enable_secedit
1388 enable_servicemodelreg
1389 enable_services
1390 enable_spoolsv
1391 enable_start
1392 enable_svchost
1393 enable_systeminfo
1394 enable_taskkill
1395 enable_tasklist
1396 enable_taskmgr
1397 enable_termsv
1398 enable_uninstaller
1399 enable_unlodctr
1400 enable_view
1401 enable_wevtutil
1402 enable_wineboot
1403 enable_winebrowser
1404 enable_winecfg
1405 enable_wineconsole
1406 enable_winedbg
1407 enable_winedevice
1408 enable_winefile
1409 enable_winemenubuilder
1410 enable_winemine
1411 enable_winemsibuilder
1412 enable_winepath
1413 enable_winetest
1414 enable_winhlp32
1415 enable_winver
1416 enable_wmic
1417 enable_wordpad
1418 enable_write
1419 enable_wscript
1420 enable_wusa
1421 enable_xcopy
1422 enable_server
1423 enable_tools
1425 ac_precious_vars='build_alias
1426 host_alias
1427 target_alias
1429 CFLAGS
1430 LDFLAGS
1431 LIBS
1432 CPPFLAGS
1434 CXXFLAGS
1437 XMKMF
1438 XML2_CFLAGS
1439 XML2_LIBS
1440 XSLT_CFLAGS
1441 XSLT_LIBS
1442 DBUS_CFLAGS
1443 DBUS_LIBS
1444 HAL_CFLAGS
1445 HAL_LIBS
1446 GNUTLS_CFLAGS
1447 GNUTLS_LIBS
1448 SANE_CFLAGS
1449 SANE_LIBS
1450 GPHOTO2_CFLAGS
1451 GPHOTO2_LIBS
1452 GPHOTO2_PORT_CFLAGS
1453 GPHOTO2_PORT_LIBS
1454 LCMS2_CFLAGS
1455 LCMS2_LIBS
1456 FREETYPE_CFLAGS
1457 FREETYPE_LIBS
1458 GSTREAMER_CFLAGS
1459 GSTREAMER_LIBS
1460 CAPI20_CFLAGS
1461 CAPI20_LIBS
1462 FONTCONFIG_CFLAGS
1463 FONTCONFIG_LIBS
1464 JPEG_CFLAGS
1465 JPEG_LIBS
1466 PNG_CFLAGS
1467 PNG_LIBS
1468 TIFF_CFLAGS
1469 TIFF_LIBS
1470 MPG123_CFLAGS
1471 MPG123_LIBS'
1474 # Initialize some variables set by options.
1475 ac_init_help=
1476 ac_init_version=false
1477 ac_unrecognized_opts=
1478 ac_unrecognized_sep=
1479 # The variables have the same names as the options, with
1480 # dashes changed to underlines.
1481 cache_file=/dev/null
1482 exec_prefix=NONE
1483 no_create=
1484 no_recursion=
1485 prefix=NONE
1486 program_prefix=NONE
1487 program_suffix=NONE
1488 program_transform_name=s,x,x,
1489 silent=
1490 site=
1491 srcdir=
1492 verbose=
1493 x_includes=NONE
1494 x_libraries=NONE
1496 # Installation directory options.
1497 # These are left unexpanded so users can "make install exec_prefix=/foo"
1498 # and all the variables that are supposed to be based on exec_prefix
1499 # by default will actually change.
1500 # Use braces instead of parens because sh, perl, etc. also accept them.
1501 # (The list follows the same order as the GNU Coding Standards.)
1502 bindir='${exec_prefix}/bin'
1503 sbindir='${exec_prefix}/sbin'
1504 libexecdir='${exec_prefix}/libexec'
1505 datarootdir='${prefix}/share'
1506 datadir='${datarootdir}'
1507 sysconfdir='${prefix}/etc'
1508 sharedstatedir='${prefix}/com'
1509 localstatedir='${prefix}/var'
1510 includedir='${prefix}/include'
1511 oldincludedir='/usr/include'
1512 docdir='${datarootdir}/doc/${PACKAGE_TARNAME}'
1513 infodir='${datarootdir}/info'
1514 htmldir='${docdir}'
1515 dvidir='${docdir}'
1516 pdfdir='${docdir}'
1517 psdir='${docdir}'
1518 libdir='${exec_prefix}/lib'
1519 localedir='${datarootdir}/locale'
1520 mandir='${datarootdir}/man'
1522 ac_prev=
1523 ac_dashdash=
1524 for ac_option
1526 # If the previous option needs an argument, assign it.
1527 if test -n "$ac_prev"; then
1528 eval $ac_prev=\$ac_option
1529 ac_prev=
1530 continue
1533 case $ac_option in
1534 *=?*) ac_optarg=`expr "X$ac_option" : '[^=]*=\(.*\)'` ;;
1535 *=) ac_optarg= ;;
1536 *) ac_optarg=yes ;;
1537 esac
1539 # Accept the important Cygnus configure options, so we can diagnose typos.
1541 case $ac_dashdash$ac_option in
1543 ac_dashdash=yes ;;
1545 -bindir | --bindir | --bindi | --bind | --bin | --bi)
1546 ac_prev=bindir ;;
1547 -bindir=* | --bindir=* | --bindi=* | --bind=* | --bin=* | --bi=*)
1548 bindir=$ac_optarg ;;
1550 -build | --build | --buil | --bui | --bu)
1551 ac_prev=build_alias ;;
1552 -build=* | --build=* | --buil=* | --bui=* | --bu=*)
1553 build_alias=$ac_optarg ;;
1555 -cache-file | --cache-file | --cache-fil | --cache-fi \
1556 | --cache-f | --cache- | --cache | --cach | --cac | --ca | --c)
1557 ac_prev=cache_file ;;
1558 -cache-file=* | --cache-file=* | --cache-fil=* | --cache-fi=* \
1559 | --cache-f=* | --cache-=* | --cache=* | --cach=* | --cac=* | --ca=* | --c=*)
1560 cache_file=$ac_optarg ;;
1562 --config-cache | -C)
1563 cache_file=config.cache ;;
1565 -datadir | --datadir | --datadi | --datad)
1566 ac_prev=datadir ;;
1567 -datadir=* | --datadir=* | --datadi=* | --datad=*)
1568 datadir=$ac_optarg ;;
1570 -datarootdir | --datarootdir | --datarootdi | --datarootd | --dataroot \
1571 | --dataroo | --dataro | --datar)
1572 ac_prev=datarootdir ;;
1573 -datarootdir=* | --datarootdir=* | --datarootdi=* | --datarootd=* \
1574 | --dataroot=* | --dataroo=* | --dataro=* | --datar=*)
1575 datarootdir=$ac_optarg ;;
1577 -disable-* | --disable-*)
1578 ac_useropt=`expr "x$ac_option" : 'x-*disable-\(.*\)'`
1579 # Reject names that are not valid shell variable names.
1580 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
1581 as_fn_error $? "invalid feature name: $ac_useropt"
1582 ac_useropt_orig=$ac_useropt
1583 ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
1584 case $ac_user_opts in
1586 "enable_$ac_useropt"
1587 "*) ;;
1588 *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--disable-$ac_useropt_orig"
1589 ac_unrecognized_sep=', ';;
1590 esac
1591 eval enable_$ac_useropt=no ;;
1593 -docdir | --docdir | --docdi | --doc | --do)
1594 ac_prev=docdir ;;
1595 -docdir=* | --docdir=* | --docdi=* | --doc=* | --do=*)
1596 docdir=$ac_optarg ;;
1598 -dvidir | --dvidir | --dvidi | --dvid | --dvi | --dv)
1599 ac_prev=dvidir ;;
1600 -dvidir=* | --dvidir=* | --dvidi=* | --dvid=* | --dvi=* | --dv=*)
1601 dvidir=$ac_optarg ;;
1603 -enable-* | --enable-*)
1604 ac_useropt=`expr "x$ac_option" : 'x-*enable-\([^=]*\)'`
1605 # Reject names that are not valid shell variable names.
1606 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
1607 as_fn_error $? "invalid feature name: $ac_useropt"
1608 ac_useropt_orig=$ac_useropt
1609 ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
1610 case $ac_user_opts in
1612 "enable_$ac_useropt"
1613 "*) ;;
1614 *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--enable-$ac_useropt_orig"
1615 ac_unrecognized_sep=', ';;
1616 esac
1617 eval enable_$ac_useropt=\$ac_optarg ;;
1619 -exec-prefix | --exec_prefix | --exec-prefix | --exec-prefi \
1620 | --exec-pref | --exec-pre | --exec-pr | --exec-p | --exec- \
1621 | --exec | --exe | --ex)
1622 ac_prev=exec_prefix ;;
1623 -exec-prefix=* | --exec_prefix=* | --exec-prefix=* | --exec-prefi=* \
1624 | --exec-pref=* | --exec-pre=* | --exec-pr=* | --exec-p=* | --exec-=* \
1625 | --exec=* | --exe=* | --ex=*)
1626 exec_prefix=$ac_optarg ;;
1628 -gas | --gas | --ga | --g)
1629 # Obsolete; use --with-gas.
1630 with_gas=yes ;;
1632 -help | --help | --hel | --he | -h)
1633 ac_init_help=long ;;
1634 -help=r* | --help=r* | --hel=r* | --he=r* | -hr*)
1635 ac_init_help=recursive ;;
1636 -help=s* | --help=s* | --hel=s* | --he=s* | -hs*)
1637 ac_init_help=short ;;
1639 -host | --host | --hos | --ho)
1640 ac_prev=host_alias ;;
1641 -host=* | --host=* | --hos=* | --ho=*)
1642 host_alias=$ac_optarg ;;
1644 -htmldir | --htmldir | --htmldi | --htmld | --html | --htm | --ht)
1645 ac_prev=htmldir ;;
1646 -htmldir=* | --htmldir=* | --htmldi=* | --htmld=* | --html=* | --htm=* \
1647 | --ht=*)
1648 htmldir=$ac_optarg ;;
1650 -includedir | --includedir | --includedi | --included | --include \
1651 | --includ | --inclu | --incl | --inc)
1652 ac_prev=includedir ;;
1653 -includedir=* | --includedir=* | --includedi=* | --included=* | --include=* \
1654 | --includ=* | --inclu=* | --incl=* | --inc=*)
1655 includedir=$ac_optarg ;;
1657 -infodir | --infodir | --infodi | --infod | --info | --inf)
1658 ac_prev=infodir ;;
1659 -infodir=* | --infodir=* | --infodi=* | --infod=* | --info=* | --inf=*)
1660 infodir=$ac_optarg ;;
1662 -libdir | --libdir | --libdi | --libd)
1663 ac_prev=libdir ;;
1664 -libdir=* | --libdir=* | --libdi=* | --libd=*)
1665 libdir=$ac_optarg ;;
1667 -libexecdir | --libexecdir | --libexecdi | --libexecd | --libexec \
1668 | --libexe | --libex | --libe)
1669 ac_prev=libexecdir ;;
1670 -libexecdir=* | --libexecdir=* | --libexecdi=* | --libexecd=* | --libexec=* \
1671 | --libexe=* | --libex=* | --libe=*)
1672 libexecdir=$ac_optarg ;;
1674 -localedir | --localedir | --localedi | --localed | --locale)
1675 ac_prev=localedir ;;
1676 -localedir=* | --localedir=* | --localedi=* | --localed=* | --locale=*)
1677 localedir=$ac_optarg ;;
1679 -localstatedir | --localstatedir | --localstatedi | --localstated \
1680 | --localstate | --localstat | --localsta | --localst | --locals)
1681 ac_prev=localstatedir ;;
1682 -localstatedir=* | --localstatedir=* | --localstatedi=* | --localstated=* \
1683 | --localstate=* | --localstat=* | --localsta=* | --localst=* | --locals=*)
1684 localstatedir=$ac_optarg ;;
1686 -mandir | --mandir | --mandi | --mand | --man | --ma | --m)
1687 ac_prev=mandir ;;
1688 -mandir=* | --mandir=* | --mandi=* | --mand=* | --man=* | --ma=* | --m=*)
1689 mandir=$ac_optarg ;;
1691 -nfp | --nfp | --nf)
1692 # Obsolete; use --without-fp.
1693 with_fp=no ;;
1695 -no-create | --no-create | --no-creat | --no-crea | --no-cre \
1696 | --no-cr | --no-c | -n)
1697 no_create=yes ;;
1699 -no-recursion | --no-recursion | --no-recursio | --no-recursi \
1700 | --no-recurs | --no-recur | --no-recu | --no-rec | --no-re | --no-r)
1701 no_recursion=yes ;;
1703 -oldincludedir | --oldincludedir | --oldincludedi | --oldincluded \
1704 | --oldinclude | --oldinclud | --oldinclu | --oldincl | --oldinc \
1705 | --oldin | --oldi | --old | --ol | --o)
1706 ac_prev=oldincludedir ;;
1707 -oldincludedir=* | --oldincludedir=* | --oldincludedi=* | --oldincluded=* \
1708 | --oldinclude=* | --oldinclud=* | --oldinclu=* | --oldincl=* | --oldinc=* \
1709 | --oldin=* | --oldi=* | --old=* | --ol=* | --o=*)
1710 oldincludedir=$ac_optarg ;;
1712 -prefix | --prefix | --prefi | --pref | --pre | --pr | --p)
1713 ac_prev=prefix ;;
1714 -prefix=* | --prefix=* | --prefi=* | --pref=* | --pre=* | --pr=* | --p=*)
1715 prefix=$ac_optarg ;;
1717 -program-prefix | --program-prefix | --program-prefi | --program-pref \
1718 | --program-pre | --program-pr | --program-p)
1719 ac_prev=program_prefix ;;
1720 -program-prefix=* | --program-prefix=* | --program-prefi=* \
1721 | --program-pref=* | --program-pre=* | --program-pr=* | --program-p=*)
1722 program_prefix=$ac_optarg ;;
1724 -program-suffix | --program-suffix | --program-suffi | --program-suff \
1725 | --program-suf | --program-su | --program-s)
1726 ac_prev=program_suffix ;;
1727 -program-suffix=* | --program-suffix=* | --program-suffi=* \
1728 | --program-suff=* | --program-suf=* | --program-su=* | --program-s=*)
1729 program_suffix=$ac_optarg ;;
1731 -program-transform-name | --program-transform-name \
1732 | --program-transform-nam | --program-transform-na \
1733 | --program-transform-n | --program-transform- \
1734 | --program-transform | --program-transfor \
1735 | --program-transfo | --program-transf \
1736 | --program-trans | --program-tran \
1737 | --progr-tra | --program-tr | --program-t)
1738 ac_prev=program_transform_name ;;
1739 -program-transform-name=* | --program-transform-name=* \
1740 | --program-transform-nam=* | --program-transform-na=* \
1741 | --program-transform-n=* | --program-transform-=* \
1742 | --program-transform=* | --program-transfor=* \
1743 | --program-transfo=* | --program-transf=* \
1744 | --program-trans=* | --program-tran=* \
1745 | --progr-tra=* | --program-tr=* | --program-t=*)
1746 program_transform_name=$ac_optarg ;;
1748 -pdfdir | --pdfdir | --pdfdi | --pdfd | --pdf | --pd)
1749 ac_prev=pdfdir ;;
1750 -pdfdir=* | --pdfdir=* | --pdfdi=* | --pdfd=* | --pdf=* | --pd=*)
1751 pdfdir=$ac_optarg ;;
1753 -psdir | --psdir | --psdi | --psd | --ps)
1754 ac_prev=psdir ;;
1755 -psdir=* | --psdir=* | --psdi=* | --psd=* | --ps=*)
1756 psdir=$ac_optarg ;;
1758 -q | -quiet | --quiet | --quie | --qui | --qu | --q \
1759 | -silent | --silent | --silen | --sile | --sil)
1760 silent=yes ;;
1762 -sbindir | --sbindir | --sbindi | --sbind | --sbin | --sbi | --sb)
1763 ac_prev=sbindir ;;
1764 -sbindir=* | --sbindir=* | --sbindi=* | --sbind=* | --sbin=* \
1765 | --sbi=* | --sb=*)
1766 sbindir=$ac_optarg ;;
1768 -sharedstatedir | --sharedstatedir | --sharedstatedi \
1769 | --sharedstated | --sharedstate | --sharedstat | --sharedsta \
1770 | --sharedst | --shareds | --shared | --share | --shar \
1771 | --sha | --sh)
1772 ac_prev=sharedstatedir ;;
1773 -sharedstatedir=* | --sharedstatedir=* | --sharedstatedi=* \
1774 | --sharedstated=* | --sharedstate=* | --sharedstat=* | --sharedsta=* \
1775 | --sharedst=* | --shareds=* | --shared=* | --share=* | --shar=* \
1776 | --sha=* | --sh=*)
1777 sharedstatedir=$ac_optarg ;;
1779 -site | --site | --sit)
1780 ac_prev=site ;;
1781 -site=* | --site=* | --sit=*)
1782 site=$ac_optarg ;;
1784 -srcdir | --srcdir | --srcdi | --srcd | --src | --sr)
1785 ac_prev=srcdir ;;
1786 -srcdir=* | --srcdir=* | --srcdi=* | --srcd=* | --src=* | --sr=*)
1787 srcdir=$ac_optarg ;;
1789 -sysconfdir | --sysconfdir | --sysconfdi | --sysconfd | --sysconf \
1790 | --syscon | --sysco | --sysc | --sys | --sy)
1791 ac_prev=sysconfdir ;;
1792 -sysconfdir=* | --sysconfdir=* | --sysconfdi=* | --sysconfd=* | --sysconf=* \
1793 | --syscon=* | --sysco=* | --sysc=* | --sys=* | --sy=*)
1794 sysconfdir=$ac_optarg ;;
1796 -target | --target | --targe | --targ | --tar | --ta | --t)
1797 ac_prev=target_alias ;;
1798 -target=* | --target=* | --targe=* | --targ=* | --tar=* | --ta=* | --t=*)
1799 target_alias=$ac_optarg ;;
1801 -v | -verbose | --verbose | --verbos | --verbo | --verb)
1802 verbose=yes ;;
1804 -version | --version | --versio | --versi | --vers | -V)
1805 ac_init_version=: ;;
1807 -with-* | --with-*)
1808 ac_useropt=`expr "x$ac_option" : 'x-*with-\([^=]*\)'`
1809 # Reject names that are not valid shell variable names.
1810 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
1811 as_fn_error $? "invalid package name: $ac_useropt"
1812 ac_useropt_orig=$ac_useropt
1813 ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
1814 case $ac_user_opts in
1816 "with_$ac_useropt"
1817 "*) ;;
1818 *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--with-$ac_useropt_orig"
1819 ac_unrecognized_sep=', ';;
1820 esac
1821 eval with_$ac_useropt=\$ac_optarg ;;
1823 -without-* | --without-*)
1824 ac_useropt=`expr "x$ac_option" : 'x-*without-\(.*\)'`
1825 # Reject names that are not valid shell variable names.
1826 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
1827 as_fn_error $? "invalid package name: $ac_useropt"
1828 ac_useropt_orig=$ac_useropt
1829 ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
1830 case $ac_user_opts in
1832 "with_$ac_useropt"
1833 "*) ;;
1834 *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--without-$ac_useropt_orig"
1835 ac_unrecognized_sep=', ';;
1836 esac
1837 eval with_$ac_useropt=no ;;
1839 --x)
1840 # Obsolete; use --with-x.
1841 with_x=yes ;;
1843 -x-includes | --x-includes | --x-include | --x-includ | --x-inclu \
1844 | --x-incl | --x-inc | --x-in | --x-i)
1845 ac_prev=x_includes ;;
1846 -x-includes=* | --x-includes=* | --x-include=* | --x-includ=* | --x-inclu=* \
1847 | --x-incl=* | --x-inc=* | --x-in=* | --x-i=*)
1848 x_includes=$ac_optarg ;;
1850 -x-libraries | --x-libraries | --x-librarie | --x-librari \
1851 | --x-librar | --x-libra | --x-libr | --x-lib | --x-li | --x-l)
1852 ac_prev=x_libraries ;;
1853 -x-libraries=* | --x-libraries=* | --x-librarie=* | --x-librari=* \
1854 | --x-librar=* | --x-libra=* | --x-libr=* | --x-lib=* | --x-li=* | --x-l=*)
1855 x_libraries=$ac_optarg ;;
1857 -*) as_fn_error $? "unrecognized option: \`$ac_option'
1858 Try \`$0 --help' for more information"
1861 *=*)
1862 ac_envvar=`expr "x$ac_option" : 'x\([^=]*\)='`
1863 # Reject names that are not valid shell variable names.
1864 case $ac_envvar in #(
1865 '' | [0-9]* | *[!_$as_cr_alnum]* )
1866 as_fn_error $? "invalid variable name: \`$ac_envvar'" ;;
1867 esac
1868 eval $ac_envvar=\$ac_optarg
1869 export $ac_envvar ;;
1872 # FIXME: should be removed in autoconf 3.0.
1873 $as_echo "$as_me: WARNING: you should use --build, --host, --target" >&2
1874 expr "x$ac_option" : ".*[^-._$as_cr_alnum]" >/dev/null &&
1875 $as_echo "$as_me: WARNING: invalid host type: $ac_option" >&2
1876 : "${build_alias=$ac_option} ${host_alias=$ac_option} ${target_alias=$ac_option}"
1879 esac
1880 done
1882 if test -n "$ac_prev"; then
1883 ac_option=--`echo $ac_prev | sed 's/_/-/g'`
1884 as_fn_error $? "missing argument to $ac_option"
1887 if test -n "$ac_unrecognized_opts"; then
1888 case $enable_option_checking in
1889 no) ;;
1890 fatal) as_fn_error $? "unrecognized options: $ac_unrecognized_opts" ;;
1891 *) $as_echo "$as_me: WARNING: unrecognized options: $ac_unrecognized_opts" >&2 ;;
1892 esac
1895 # Check all directory arguments for consistency.
1896 for ac_var in exec_prefix prefix bindir sbindir libexecdir datarootdir \
1897 datadir sysconfdir sharedstatedir localstatedir includedir \
1898 oldincludedir docdir infodir htmldir dvidir pdfdir psdir \
1899 libdir localedir mandir
1901 eval ac_val=\$$ac_var
1902 # Remove trailing slashes.
1903 case $ac_val in
1904 */ )
1905 ac_val=`expr "X$ac_val" : 'X\(.*[^/]\)' \| "X$ac_val" : 'X\(.*\)'`
1906 eval $ac_var=\$ac_val;;
1907 esac
1908 # Be sure to have absolute directory names.
1909 case $ac_val in
1910 [\\/$]* | ?:[\\/]* ) continue;;
1911 NONE | '' ) case $ac_var in *prefix ) continue;; esac;;
1912 esac
1913 as_fn_error $? "expected an absolute directory name for --$ac_var: $ac_val"
1914 done
1916 # There might be people who depend on the old broken behavior: `$host'
1917 # used to hold the argument of --host etc.
1918 # FIXME: To remove some day.
1919 build=$build_alias
1920 host=$host_alias
1921 target=$target_alias
1923 # FIXME: To remove some day.
1924 if test "x$host_alias" != x; then
1925 if test "x$build_alias" = x; then
1926 cross_compiling=maybe
1927 elif test "x$build_alias" != "x$host_alias"; then
1928 cross_compiling=yes
1932 ac_tool_prefix=
1933 test -n "$host_alias" && ac_tool_prefix=$host_alias-
1935 test "$silent" = yes && exec 6>/dev/null
1938 ac_pwd=`pwd` && test -n "$ac_pwd" &&
1939 ac_ls_di=`ls -di .` &&
1940 ac_pwd_ls_di=`cd "$ac_pwd" && ls -di .` ||
1941 as_fn_error $? "working directory cannot be determined"
1942 test "X$ac_ls_di" = "X$ac_pwd_ls_di" ||
1943 as_fn_error $? "pwd does not report name of working directory"
1946 # Find the source files, if location was not specified.
1947 if test -z "$srcdir"; then
1948 ac_srcdir_defaulted=yes
1949 # Try the directory containing this script, then the parent directory.
1950 ac_confdir=`$as_dirname -- "$as_myself" ||
1951 $as_expr X"$as_myself" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
1952 X"$as_myself" : 'X\(//\)[^/]' \| \
1953 X"$as_myself" : 'X\(//\)$' \| \
1954 X"$as_myself" : 'X\(/\)' \| . 2>/dev/null ||
1955 $as_echo X"$as_myself" |
1956 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
1957 s//\1/
1960 /^X\(\/\/\)[^/].*/{
1961 s//\1/
1964 /^X\(\/\/\)$/{
1965 s//\1/
1968 /^X\(\/\).*/{
1969 s//\1/
1972 s/.*/./; q'`
1973 srcdir=$ac_confdir
1974 if test ! -r "$srcdir/$ac_unique_file"; then
1975 srcdir=..
1977 else
1978 ac_srcdir_defaulted=no
1980 if test ! -r "$srcdir/$ac_unique_file"; then
1981 test "$ac_srcdir_defaulted" = yes && srcdir="$ac_confdir or .."
1982 as_fn_error $? "cannot find sources ($ac_unique_file) in $srcdir"
1984 ac_msg="sources are in $srcdir, but \`cd $srcdir' does not work"
1985 ac_abs_confdir=`(
1986 cd "$srcdir" && test -r "./$ac_unique_file" || as_fn_error $? "$ac_msg"
1987 pwd)`
1988 # When building in place, set srcdir=.
1989 if test "$ac_abs_confdir" = "$ac_pwd"; then
1990 srcdir=.
1992 # Remove unnecessary trailing slashes from srcdir.
1993 # Double slashes in file names in object file debugging info
1994 # mess up M-x gdb in Emacs.
1995 case $srcdir in
1996 */) srcdir=`expr "X$srcdir" : 'X\(.*[^/]\)' \| "X$srcdir" : 'X\(.*\)'`;;
1997 esac
1998 for ac_var in $ac_precious_vars; do
1999 eval ac_env_${ac_var}_set=\${${ac_var}+set}
2000 eval ac_env_${ac_var}_value=\$${ac_var}
2001 eval ac_cv_env_${ac_var}_set=\${${ac_var}+set}
2002 eval ac_cv_env_${ac_var}_value=\$${ac_var}
2003 done
2006 # Report the --help message.
2008 if test "$ac_init_help" = "long"; then
2009 # Omit some internal or obsolete options to make the list less imposing.
2010 # This message is too long to be a string in the A/UX 3.1 sh.
2011 cat <<_ACEOF
2012 \`configure' configures Wine 1.7.34 to adapt to many kinds of systems.
2014 Usage: $0 [OPTION]... [VAR=VALUE]...
2016 To assign environment variables (e.g., CC, CFLAGS...), specify them as
2017 VAR=VALUE. See below for descriptions of some of the useful variables.
2019 Defaults for the options are specified in brackets.
2021 Configuration:
2022 -h, --help display this help and exit
2023 --help=short display options specific to this package
2024 --help=recursive display the short help of all the included packages
2025 -V, --version display version information and exit
2026 -q, --quiet, --silent do not print \`checking ...' messages
2027 --cache-file=FILE cache test results in FILE [disabled]
2028 -C, --config-cache alias for \`--cache-file=config.cache'
2029 -n, --no-create do not create output files
2030 --srcdir=DIR find the sources in DIR [configure dir or \`..']
2032 Installation directories:
2033 --prefix=PREFIX install architecture-independent files in PREFIX
2034 [$ac_default_prefix]
2035 --exec-prefix=EPREFIX install architecture-dependent files in EPREFIX
2036 [PREFIX]
2038 By default, \`make install' will install all the files in
2039 \`$ac_default_prefix/bin', \`$ac_default_prefix/lib' etc. You can specify
2040 an installation prefix other than \`$ac_default_prefix' using \`--prefix',
2041 for instance \`--prefix=\$HOME'.
2043 For better control, use the options below.
2045 Fine tuning of the installation directories:
2046 --bindir=DIR user executables [EPREFIX/bin]
2047 --sbindir=DIR system admin executables [EPREFIX/sbin]
2048 --libexecdir=DIR program executables [EPREFIX/libexec]
2049 --sysconfdir=DIR read-only single-machine data [PREFIX/etc]
2050 --sharedstatedir=DIR modifiable architecture-independent data [PREFIX/com]
2051 --localstatedir=DIR modifiable single-machine data [PREFIX/var]
2052 --libdir=DIR object code libraries [EPREFIX/lib]
2053 --includedir=DIR C header files [PREFIX/include]
2054 --oldincludedir=DIR C header files for non-gcc [/usr/include]
2055 --datarootdir=DIR read-only arch.-independent data root [PREFIX/share]
2056 --datadir=DIR read-only architecture-independent data [DATAROOTDIR]
2057 --infodir=DIR info documentation [DATAROOTDIR/info]
2058 --localedir=DIR locale-dependent data [DATAROOTDIR/locale]
2059 --mandir=DIR man documentation [DATAROOTDIR/man]
2060 --docdir=DIR documentation root [DATAROOTDIR/doc/wine]
2061 --htmldir=DIR html documentation [DOCDIR]
2062 --dvidir=DIR dvi documentation [DOCDIR]
2063 --pdfdir=DIR pdf documentation [DOCDIR]
2064 --psdir=DIR ps documentation [DOCDIR]
2065 _ACEOF
2067 cat <<\_ACEOF
2069 X features:
2070 --x-includes=DIR X include files are in DIR
2071 --x-libraries=DIR X library files are in DIR
2073 System types:
2074 --build=BUILD configure for building on BUILD [guessed]
2075 --host=HOST cross-compile to build programs to run on HOST [BUILD]
2076 _ACEOF
2079 if test -n "$ac_init_help"; then
2080 case $ac_init_help in
2081 short | recursive ) echo "Configuration of Wine 1.7.34:";;
2082 esac
2083 cat <<\_ACEOF
2085 Optional Features:
2086 --disable-option-checking ignore unrecognized --enable/--with options
2087 --disable-FEATURE do not include FEATURE (same as --enable-FEATURE=no)
2088 --enable-FEATURE[=ARG] include FEATURE [ARG=yes]
2089 --disable-win16 do not include Win16 support
2090 --enable-win64 build a Win64 emulator on AMD64 (won't run Win32
2091 binaries)
2092 --disable-tests do not build the regression tests
2093 --enable-maintainer-mode
2094 enable maintainer-specific build rules
2095 --disable-largefile omit support for large files
2097 Optional Packages:
2098 --with-PACKAGE[=ARG] use PACKAGE [ARG=yes]
2099 --without-PACKAGE do not use PACKAGE (same as --with-PACKAGE=no)
2100 --without-alsa do not use the Alsa sound support
2101 --without-capi do not use CAPI (ISDN support)
2102 --without-cms do not use CMS (color management support)
2103 --without-coreaudio do not use the CoreAudio sound support
2104 --without-cups do not use CUPS
2105 --without-curses do not use (n)curses
2106 --without-dbus do not use DBus (dynamic device support)
2107 --without-fontconfig do not use fontconfig
2108 --without-freetype do not use the FreeType library
2109 --without-gettext do not use gettext
2110 --with-gettextpo use the GetTextPO library to rebuild po files
2111 --without-gphoto do not use gphoto (Digital Camera support)
2112 --without-glu do not use the GLU library
2113 --without-gnutls do not use GnuTLS (schannel support)
2114 --without-gsm do not use libgsm (GSM 06.10 codec support)
2115 --without-gstreamer do not use GStreamer (codecs support)
2116 --without-hal do not use HAL (dynamic device support)
2117 --without-jpeg do not use JPEG
2118 --without-ldap do not use LDAP
2119 --without-mpg123 do not use the mpg123 library
2120 --without-netapi do not use the Samba NetAPI library
2121 --without-openal do not use OpenAL
2122 --without-opencl do not use OpenCL
2123 --without-opengl do not use OpenGL
2124 --without-osmesa do not use the OSMesa library
2125 --without-oss do not use the OSS sound support
2126 --without-pcap do not use the Packet Capture library
2127 --without-png do not use PNG
2128 --without-pthread do not use the pthread library
2129 --without-sane do not use SANE (scanner support)
2130 --without-tiff do not use TIFF
2131 --without-v4l do not use v4l1 (v4l support)
2132 --without-xcomposite do not use the Xcomposite extension
2133 --without-xcursor do not use the Xcursor extension
2134 --without-xinerama do not use Xinerama (multi-monitor support)
2135 --without-xinput do not use the Xinput extension
2136 --without-xinput2 do not use the Xinput 2 extension
2137 --without-xml do not use XML
2138 --without-xrandr do not use Xrandr (resolution changes)
2139 --without-xrender do not use the Xrender extension
2140 --without-xshape do not use the Xshape extension
2141 --without-xshm do not use XShm (shared memory extension)
2142 --without-xslt do not use XSLT
2143 --without-xxf86vm do not use XFree video mode extension
2144 --without-zlib do not use Zlib (data compression)
2145 --with-wine-tools=DIR use Wine tools from directory DIR
2146 --with-wine64=DIR use the 64-bit Wine in DIR for a Wow64 build
2147 --with-x use the X Window System
2149 Some influential environment variables:
2150 CC C compiler command
2151 CFLAGS C compiler flags
2152 LDFLAGS linker flags, e.g. -L<lib dir> if you have libraries in a
2153 nonstandard directory <lib dir>
2154 LIBS libraries to pass to the linker, e.g. -l<library>
2155 CPPFLAGS (Objective) C/C++ preprocessor flags, e.g. -I<include dir> if
2156 you have headers in a nonstandard directory <include dir>
2157 CXX C++ compiler command
2158 CXXFLAGS C++ compiler flags
2159 CPP C preprocessor
2160 XMKMF Path to xmkmf, Makefile generator for X Window System
2161 XML2_CFLAGS C compiler flags for libxml-2.0, overriding pkg-config
2162 XML2_LIBS Linker flags for libxml-2.0, overriding pkg-config
2163 XSLT_CFLAGS C compiler flags for libxslt, overriding pkg-config
2164 XSLT_LIBS Linker flags for libxslt, overriding pkg-config
2165 DBUS_CFLAGS C compiler flags for dbus-1, overriding pkg-config
2166 DBUS_LIBS Linker flags for dbus-1, overriding pkg-config
2167 HAL_CFLAGS C compiler flags for hal, overriding pkg-config
2168 HAL_LIBS Linker flags for hal, overriding pkg-config
2169 GNUTLS_CFLAGS
2170 C compiler flags for gnutls, overriding pkg-config
2171 GNUTLS_LIBS Linker flags for gnutls, overriding pkg-config
2172 SANE_CFLAGS C compiler flags for libsane, overriding pkg-config
2173 SANE_LIBS Linker flags for libsane, overriding pkg-config
2174 GPHOTO2_CFLAGS
2175 C compiler flags for libgphoto2, overriding pkg-config
2176 GPHOTO2_LIBS
2177 Linker flags for libgphoto2, overriding pkg-config
2178 GPHOTO2_PORT_CFLAGS
2179 C compiler flags for libgphoto2_port, overriding pkg-config
2180 GPHOTO2_PORT_LIBS
2181 Linker flags for libgphoto2_port, overriding pkg-config
2182 LCMS2_CFLAGS
2183 C compiler flags for lcms2, overriding pkg-config
2184 LCMS2_LIBS Linker flags for lcms2, overriding pkg-config
2185 FREETYPE_CFLAGS
2186 C compiler flags for freetype2, overriding pkg-config
2187 FREETYPE_LIBS
2188 Linker flags for freetype2, overriding pkg-config
2189 GSTREAMER_CFLAGS
2190 C compiler flags for gstreamer-app-0.10, overriding pkg-config
2191 GSTREAMER_LIBS
2192 Linker flags for gstreamer-app-0.10, overriding pkg-config
2193 CAPI20_CFLAGS
2194 C compiler flags for capi20, overriding pkg-config
2195 CAPI20_LIBS Linker flags for capi20, overriding pkg-config
2196 FONTCONFIG_CFLAGS
2197 C compiler flags for fontconfig, overriding pkg-config
2198 FONTCONFIG_LIBS
2199 Linker flags for fontconfig, overriding pkg-config
2200 JPEG_CFLAGS C compiler flags for libjpeg, overriding pkg-config
2201 JPEG_LIBS Linker flags for libjpeg, overriding pkg-config
2202 PNG_CFLAGS C compiler flags for libpng, overriding pkg-config
2203 PNG_LIBS Linker flags for libpng, overriding pkg-config
2204 TIFF_CFLAGS C compiler flags for libtiff, overriding pkg-config
2205 TIFF_LIBS Linker flags for libtiff, overriding pkg-config
2206 MPG123_CFLAGS
2207 C compiler flags for libmpg123, overriding pkg-config
2208 MPG123_LIBS Linker flags for libmpg123, overriding pkg-config
2210 Use these variables to override the choices made by `configure' or to help
2211 it to find libraries and programs with nonstandard names/locations.
2213 Report bugs to <wine-devel@winehq.org>.
2214 Wine home page: <http://www.winehq.org>.
2215 _ACEOF
2216 ac_status=$?
2219 if test "$ac_init_help" = "recursive"; then
2220 # If there are subdirs, report their specific --help.
2221 for ac_dir in : $ac_subdirs_all; do test "x$ac_dir" = x: && continue
2222 test -d "$ac_dir" ||
2223 { cd "$srcdir" && ac_pwd=`pwd` && srcdir=. && test -d "$ac_dir"; } ||
2224 continue
2225 ac_builddir=.
2227 case "$ac_dir" in
2228 .) ac_dir_suffix= ac_top_builddir_sub=. ac_top_build_prefix= ;;
2230 ac_dir_suffix=/`$as_echo "$ac_dir" | sed 's|^\.[\\/]||'`
2231 # A ".." for each directory in $ac_dir_suffix.
2232 ac_top_builddir_sub=`$as_echo "$ac_dir_suffix" | sed 's|/[^\\/]*|/..|g;s|/||'`
2233 case $ac_top_builddir_sub in
2234 "") ac_top_builddir_sub=. ac_top_build_prefix= ;;
2235 *) ac_top_build_prefix=$ac_top_builddir_sub/ ;;
2236 esac ;;
2237 esac
2238 ac_abs_top_builddir=$ac_pwd
2239 ac_abs_builddir=$ac_pwd$ac_dir_suffix
2240 # for backward compatibility:
2241 ac_top_builddir=$ac_top_build_prefix
2243 case $srcdir in
2244 .) # We are building in place.
2245 ac_srcdir=.
2246 ac_top_srcdir=$ac_top_builddir_sub
2247 ac_abs_top_srcdir=$ac_pwd ;;
2248 [\\/]* | ?:[\\/]* ) # Absolute name.
2249 ac_srcdir=$srcdir$ac_dir_suffix;
2250 ac_top_srcdir=$srcdir
2251 ac_abs_top_srcdir=$srcdir ;;
2252 *) # Relative name.
2253 ac_srcdir=$ac_top_build_prefix$srcdir$ac_dir_suffix
2254 ac_top_srcdir=$ac_top_build_prefix$srcdir
2255 ac_abs_top_srcdir=$ac_pwd/$srcdir ;;
2256 esac
2257 ac_abs_srcdir=$ac_abs_top_srcdir$ac_dir_suffix
2259 cd "$ac_dir" || { ac_status=$?; continue; }
2260 # Check for guested configure.
2261 if test -f "$ac_srcdir/configure.gnu"; then
2262 echo &&
2263 $SHELL "$ac_srcdir/configure.gnu" --help=recursive
2264 elif test -f "$ac_srcdir/configure"; then
2265 echo &&
2266 $SHELL "$ac_srcdir/configure" --help=recursive
2267 else
2268 $as_echo "$as_me: WARNING: no configuration information is in $ac_dir" >&2
2269 fi || ac_status=$?
2270 cd "$ac_pwd" || { ac_status=$?; break; }
2271 done
2274 test -n "$ac_init_help" && exit $ac_status
2275 if $ac_init_version; then
2276 cat <<\_ACEOF
2277 Wine configure 1.7.34
2278 generated by GNU Autoconf 2.69
2280 Copyright (C) 2012 Free Software Foundation, Inc.
2281 This configure script is free software; the Free Software Foundation
2282 gives unlimited permission to copy, distribute and modify it.
2283 _ACEOF
2284 exit
2287 ## ------------------------ ##
2288 ## Autoconf initialization. ##
2289 ## ------------------------ ##
2291 # ac_fn_c_try_compile LINENO
2292 # --------------------------
2293 # Try to compile conftest.$ac_ext, and return whether this succeeded.
2294 ac_fn_c_try_compile ()
2296 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
2297 rm -f conftest.$ac_objext
2298 if { { ac_try="$ac_compile"
2299 case "(($ac_try" in
2300 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2301 *) ac_try_echo=$ac_try;;
2302 esac
2303 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
2304 $as_echo "$ac_try_echo"; } >&5
2305 (eval "$ac_compile") 2>conftest.err
2306 ac_status=$?
2307 if test -s conftest.err; then
2308 grep -v '^ *+' conftest.err >conftest.er1
2309 cat conftest.er1 >&5
2310 mv -f conftest.er1 conftest.err
2312 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
2313 test $ac_status = 0; } && {
2314 test -z "$ac_c_werror_flag" ||
2315 test ! -s conftest.err
2316 } && test -s conftest.$ac_objext; then :
2317 ac_retval=0
2318 else
2319 $as_echo "$as_me: failed program was:" >&5
2320 sed 's/^/| /' conftest.$ac_ext >&5
2322 ac_retval=1
2324 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
2325 as_fn_set_status $ac_retval
2327 } # ac_fn_c_try_compile
2329 # ac_fn_cxx_try_compile LINENO
2330 # ----------------------------
2331 # Try to compile conftest.$ac_ext, and return whether this succeeded.
2332 ac_fn_cxx_try_compile ()
2334 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
2335 rm -f conftest.$ac_objext
2336 if { { ac_try="$ac_compile"
2337 case "(($ac_try" in
2338 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2339 *) ac_try_echo=$ac_try;;
2340 esac
2341 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
2342 $as_echo "$ac_try_echo"; } >&5
2343 (eval "$ac_compile") 2>conftest.err
2344 ac_status=$?
2345 if test -s conftest.err; then
2346 grep -v '^ *+' conftest.err >conftest.er1
2347 cat conftest.er1 >&5
2348 mv -f conftest.er1 conftest.err
2350 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
2351 test $ac_status = 0; } && {
2352 test -z "$ac_cxx_werror_flag" ||
2353 test ! -s conftest.err
2354 } && test -s conftest.$ac_objext; then :
2355 ac_retval=0
2356 else
2357 $as_echo "$as_me: failed program was:" >&5
2358 sed 's/^/| /' conftest.$ac_ext >&5
2360 ac_retval=1
2362 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
2363 as_fn_set_status $ac_retval
2365 } # ac_fn_cxx_try_compile
2367 # ac_fn_c_try_link LINENO
2368 # -----------------------
2369 # Try to link conftest.$ac_ext, and return whether this succeeded.
2370 ac_fn_c_try_link ()
2372 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
2373 rm -f conftest.$ac_objext conftest$ac_exeext
2374 if { { ac_try="$ac_link"
2375 case "(($ac_try" in
2376 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2377 *) ac_try_echo=$ac_try;;
2378 esac
2379 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
2380 $as_echo "$ac_try_echo"; } >&5
2381 (eval "$ac_link") 2>conftest.err
2382 ac_status=$?
2383 if test -s conftest.err; then
2384 grep -v '^ *+' conftest.err >conftest.er1
2385 cat conftest.er1 >&5
2386 mv -f conftest.er1 conftest.err
2388 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
2389 test $ac_status = 0; } && {
2390 test -z "$ac_c_werror_flag" ||
2391 test ! -s conftest.err
2392 } && test -s conftest$ac_exeext && {
2393 test "$cross_compiling" = yes ||
2394 test -x conftest$ac_exeext
2395 }; then :
2396 ac_retval=0
2397 else
2398 $as_echo "$as_me: failed program was:" >&5
2399 sed 's/^/| /' conftest.$ac_ext >&5
2401 ac_retval=1
2403 # Delete the IPA/IPO (Inter Procedural Analysis/Optimization) information
2404 # created by the PGI compiler (conftest_ipa8_conftest.oo), as it would
2405 # interfere with the next link command; also delete a directory that is
2406 # left behind by Apple's compiler. We do this before executing the actions.
2407 rm -rf conftest.dSYM conftest_ipa8_conftest.oo
2408 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
2409 as_fn_set_status $ac_retval
2411 } # ac_fn_c_try_link
2413 # ac_fn_c_try_cpp LINENO
2414 # ----------------------
2415 # Try to preprocess conftest.$ac_ext, and return whether this succeeded.
2416 ac_fn_c_try_cpp ()
2418 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
2419 if { { ac_try="$ac_cpp conftest.$ac_ext"
2420 case "(($ac_try" in
2421 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2422 *) ac_try_echo=$ac_try;;
2423 esac
2424 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
2425 $as_echo "$ac_try_echo"; } >&5
2426 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.err
2427 ac_status=$?
2428 if test -s conftest.err; then
2429 grep -v '^ *+' conftest.err >conftest.er1
2430 cat conftest.er1 >&5
2431 mv -f conftest.er1 conftest.err
2433 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
2434 test $ac_status = 0; } > conftest.i && {
2435 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
2436 test ! -s conftest.err
2437 }; then :
2438 ac_retval=0
2439 else
2440 $as_echo "$as_me: failed program was:" >&5
2441 sed 's/^/| /' conftest.$ac_ext >&5
2443 ac_retval=1
2445 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
2446 as_fn_set_status $ac_retval
2448 } # ac_fn_c_try_cpp
2450 # ac_fn_c_check_header_mongrel LINENO HEADER VAR INCLUDES
2451 # -------------------------------------------------------
2452 # Tests whether HEADER exists, giving a warning if it cannot be compiled using
2453 # the include files in INCLUDES and setting the cache variable VAR
2454 # accordingly.
2455 ac_fn_c_check_header_mongrel ()
2457 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
2458 if eval \${$3+:} false; then :
2459 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
2460 $as_echo_n "checking for $2... " >&6; }
2461 if eval \${$3+:} false; then :
2462 $as_echo_n "(cached) " >&6
2464 eval ac_res=\$$3
2465 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
2466 $as_echo "$ac_res" >&6; }
2467 else
2468 # Is the header compilable?
2469 { $as_echo "$as_me:${as_lineno-$LINENO}: checking $2 usability" >&5
2470 $as_echo_n "checking $2 usability... " >&6; }
2471 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2472 /* end confdefs.h. */
2474 #include <$2>
2475 _ACEOF
2476 if ac_fn_c_try_compile "$LINENO"; then :
2477 ac_header_compiler=yes
2478 else
2479 ac_header_compiler=no
2481 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
2482 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_header_compiler" >&5
2483 $as_echo "$ac_header_compiler" >&6; }
2485 # Is the header present?
2486 { $as_echo "$as_me:${as_lineno-$LINENO}: checking $2 presence" >&5
2487 $as_echo_n "checking $2 presence... " >&6; }
2488 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2489 /* end confdefs.h. */
2490 #include <$2>
2491 _ACEOF
2492 if ac_fn_c_try_cpp "$LINENO"; then :
2493 ac_header_preproc=yes
2494 else
2495 ac_header_preproc=no
2497 rm -f conftest.err conftest.i conftest.$ac_ext
2498 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_header_preproc" >&5
2499 $as_echo "$ac_header_preproc" >&6; }
2501 # So? What about this header?
2502 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in #((
2503 yes:no: )
2504 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: accepted by the compiler, rejected by the preprocessor!" >&5
2505 $as_echo "$as_me: WARNING: $2: accepted by the compiler, rejected by the preprocessor!" >&2;}
2506 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: proceeding with the compiler's result" >&5
2507 $as_echo "$as_me: WARNING: $2: proceeding with the compiler's result" >&2;}
2509 no:yes:* )
2510 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: present but cannot be compiled" >&5
2511 $as_echo "$as_me: WARNING: $2: present but cannot be compiled" >&2;}
2512 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: check for missing prerequisite headers?" >&5
2513 $as_echo "$as_me: WARNING: $2: check for missing prerequisite headers?" >&2;}
2514 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: see the Autoconf documentation" >&5
2515 $as_echo "$as_me: WARNING: $2: see the Autoconf documentation" >&2;}
2516 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: section \"Present But Cannot Be Compiled\"" >&5
2517 $as_echo "$as_me: WARNING: $2: section \"Present But Cannot Be Compiled\"" >&2;}
2518 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: proceeding with the compiler's result" >&5
2519 $as_echo "$as_me: WARNING: $2: proceeding with the compiler's result" >&2;}
2520 ( $as_echo "## ------------------------------------ ##
2521 ## Report this to wine-devel@winehq.org ##
2522 ## ------------------------------------ ##"
2523 ) | sed "s/^/$as_me: WARNING: /" >&2
2525 esac
2526 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
2527 $as_echo_n "checking for $2... " >&6; }
2528 if eval \${$3+:} false; then :
2529 $as_echo_n "(cached) " >&6
2530 else
2531 eval "$3=\$ac_header_compiler"
2533 eval ac_res=\$$3
2534 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
2535 $as_echo "$ac_res" >&6; }
2537 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
2539 } # ac_fn_c_check_header_mongrel
2541 # ac_fn_c_try_run LINENO
2542 # ----------------------
2543 # Try to link conftest.$ac_ext, and return whether this succeeded. Assumes
2544 # that executables *can* be run.
2545 ac_fn_c_try_run ()
2547 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
2548 if { { ac_try="$ac_link"
2549 case "(($ac_try" in
2550 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2551 *) ac_try_echo=$ac_try;;
2552 esac
2553 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
2554 $as_echo "$ac_try_echo"; } >&5
2555 (eval "$ac_link") 2>&5
2556 ac_status=$?
2557 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
2558 test $ac_status = 0; } && { ac_try='./conftest$ac_exeext'
2559 { { case "(($ac_try" in
2560 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2561 *) ac_try_echo=$ac_try;;
2562 esac
2563 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
2564 $as_echo "$ac_try_echo"; } >&5
2565 (eval "$ac_try") 2>&5
2566 ac_status=$?
2567 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
2568 test $ac_status = 0; }; }; then :
2569 ac_retval=0
2570 else
2571 $as_echo "$as_me: program exited with status $ac_status" >&5
2572 $as_echo "$as_me: failed program was:" >&5
2573 sed 's/^/| /' conftest.$ac_ext >&5
2575 ac_retval=$ac_status
2577 rm -rf conftest.dSYM conftest_ipa8_conftest.oo
2578 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
2579 as_fn_set_status $ac_retval
2581 } # ac_fn_c_try_run
2583 # ac_fn_c_check_header_compile LINENO HEADER VAR INCLUDES
2584 # -------------------------------------------------------
2585 # Tests whether HEADER exists and can be compiled using the include files in
2586 # INCLUDES, setting the cache variable VAR accordingly.
2587 ac_fn_c_check_header_compile ()
2589 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
2590 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
2591 $as_echo_n "checking for $2... " >&6; }
2592 if eval \${$3+:} false; then :
2593 $as_echo_n "(cached) " >&6
2594 else
2595 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2596 /* end confdefs.h. */
2598 #include <$2>
2599 _ACEOF
2600 if ac_fn_c_try_compile "$LINENO"; then :
2601 eval "$3=yes"
2602 else
2603 eval "$3=no"
2605 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
2607 eval ac_res=\$$3
2608 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
2609 $as_echo "$ac_res" >&6; }
2610 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
2612 } # ac_fn_c_check_header_compile
2614 # ac_fn_c_check_func LINENO FUNC VAR
2615 # ----------------------------------
2616 # Tests whether FUNC exists, setting the cache variable VAR accordingly
2617 ac_fn_c_check_func ()
2619 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
2620 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
2621 $as_echo_n "checking for $2... " >&6; }
2622 if eval \${$3+:} false; then :
2623 $as_echo_n "(cached) " >&6
2624 else
2625 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2626 /* end confdefs.h. */
2627 /* Define $2 to an innocuous variant, in case <limits.h> declares $2.
2628 For example, HP-UX 11i <limits.h> declares gettimeofday. */
2629 #define $2 innocuous_$2
2631 /* System header to define __stub macros and hopefully few prototypes,
2632 which can conflict with char $2 (); below.
2633 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
2634 <limits.h> exists even on freestanding compilers. */
2636 #ifdef __STDC__
2637 # include <limits.h>
2638 #else
2639 # include <assert.h>
2640 #endif
2642 #undef $2
2644 /* Override any GCC internal prototype to avoid an error.
2645 Use char because int might match the return type of a GCC
2646 builtin and then its argument prototype would still apply. */
2647 #ifdef __cplusplus
2648 extern "C"
2649 #endif
2650 char $2 ();
2651 /* The GNU C library defines this for functions which it implements
2652 to always fail with ENOSYS. Some functions are actually named
2653 something starting with __ and the normal name is an alias. */
2654 #if defined __stub_$2 || defined __stub___$2
2655 choke me
2656 #endif
2659 main ()
2661 return $2 ();
2663 return 0;
2665 _ACEOF
2666 if ac_fn_c_try_link "$LINENO"; then :
2667 eval "$3=yes"
2668 else
2669 eval "$3=no"
2671 rm -f core conftest.err conftest.$ac_objext \
2672 conftest$ac_exeext conftest.$ac_ext
2674 eval ac_res=\$$3
2675 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
2676 $as_echo "$ac_res" >&6; }
2677 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
2679 } # ac_fn_c_check_func
2681 # ac_fn_c_check_member LINENO AGGR MEMBER VAR INCLUDES
2682 # ----------------------------------------------------
2683 # Tries to find if the field MEMBER exists in type AGGR, after including
2684 # INCLUDES, setting cache variable VAR accordingly.
2685 ac_fn_c_check_member ()
2687 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
2688 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2.$3" >&5
2689 $as_echo_n "checking for $2.$3... " >&6; }
2690 if eval \${$4+:} false; then :
2691 $as_echo_n "(cached) " >&6
2692 else
2693 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2694 /* end confdefs.h. */
2697 main ()
2699 static $2 ac_aggr;
2700 if (ac_aggr.$3)
2701 return 0;
2703 return 0;
2705 _ACEOF
2706 if ac_fn_c_try_compile "$LINENO"; then :
2707 eval "$4=yes"
2708 else
2709 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2710 /* end confdefs.h. */
2713 main ()
2715 static $2 ac_aggr;
2716 if (sizeof ac_aggr.$3)
2717 return 0;
2719 return 0;
2721 _ACEOF
2722 if ac_fn_c_try_compile "$LINENO"; then :
2723 eval "$4=yes"
2724 else
2725 eval "$4=no"
2727 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
2729 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
2731 eval ac_res=\$$4
2732 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
2733 $as_echo "$ac_res" >&6; }
2734 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
2736 } # ac_fn_c_check_member
2738 # ac_fn_c_check_type LINENO TYPE VAR INCLUDES
2739 # -------------------------------------------
2740 # Tests whether TYPE exists after having included INCLUDES, setting cache
2741 # variable VAR accordingly.
2742 ac_fn_c_check_type ()
2744 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
2745 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
2746 $as_echo_n "checking for $2... " >&6; }
2747 if eval \${$3+:} false; then :
2748 $as_echo_n "(cached) " >&6
2749 else
2750 eval "$3=no"
2751 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2752 /* end confdefs.h. */
2755 main ()
2757 if (sizeof ($2))
2758 return 0;
2760 return 0;
2762 _ACEOF
2763 if ac_fn_c_try_compile "$LINENO"; then :
2764 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2765 /* end confdefs.h. */
2768 main ()
2770 if (sizeof (($2)))
2771 return 0;
2773 return 0;
2775 _ACEOF
2776 if ac_fn_c_try_compile "$LINENO"; then :
2778 else
2779 eval "$3=yes"
2781 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
2783 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
2785 eval ac_res=\$$3
2786 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
2787 $as_echo "$ac_res" >&6; }
2788 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
2790 } # ac_fn_c_check_type
2791 cat >config.log <<_ACEOF
2792 This file contains any messages produced by compilers while
2793 running configure, to aid debugging if configure makes a mistake.
2795 It was created by Wine $as_me 1.7.34, which was
2796 generated by GNU Autoconf 2.69. Invocation command line was
2798 $ $0 $@
2800 _ACEOF
2801 exec 5>>config.log
2803 cat <<_ASUNAME
2804 ## --------- ##
2805 ## Platform. ##
2806 ## --------- ##
2808 hostname = `(hostname || uname -n) 2>/dev/null | sed 1q`
2809 uname -m = `(uname -m) 2>/dev/null || echo unknown`
2810 uname -r = `(uname -r) 2>/dev/null || echo unknown`
2811 uname -s = `(uname -s) 2>/dev/null || echo unknown`
2812 uname -v = `(uname -v) 2>/dev/null || echo unknown`
2814 /usr/bin/uname -p = `(/usr/bin/uname -p) 2>/dev/null || echo unknown`
2815 /bin/uname -X = `(/bin/uname -X) 2>/dev/null || echo unknown`
2817 /bin/arch = `(/bin/arch) 2>/dev/null || echo unknown`
2818 /usr/bin/arch -k = `(/usr/bin/arch -k) 2>/dev/null || echo unknown`
2819 /usr/convex/getsysinfo = `(/usr/convex/getsysinfo) 2>/dev/null || echo unknown`
2820 /usr/bin/hostinfo = `(/usr/bin/hostinfo) 2>/dev/null || echo unknown`
2821 /bin/machine = `(/bin/machine) 2>/dev/null || echo unknown`
2822 /usr/bin/oslevel = `(/usr/bin/oslevel) 2>/dev/null || echo unknown`
2823 /bin/universe = `(/bin/universe) 2>/dev/null || echo unknown`
2825 _ASUNAME
2827 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2828 for as_dir in $PATH
2830 IFS=$as_save_IFS
2831 test -z "$as_dir" && as_dir=.
2832 $as_echo "PATH: $as_dir"
2833 done
2834 IFS=$as_save_IFS
2836 } >&5
2838 cat >&5 <<_ACEOF
2841 ## ----------- ##
2842 ## Core tests. ##
2843 ## ----------- ##
2845 _ACEOF
2848 # Keep a trace of the command line.
2849 # Strip out --no-create and --no-recursion so they do not pile up.
2850 # Strip out --silent because we don't want to record it for future runs.
2851 # Also quote any args containing shell meta-characters.
2852 # Make two passes to allow for proper duplicate-argument suppression.
2853 ac_configure_args=
2854 ac_configure_args0=
2855 ac_configure_args1=
2856 ac_must_keep_next=false
2857 for ac_pass in 1 2
2859 for ac_arg
2861 case $ac_arg in
2862 -no-create | --no-c* | -n | -no-recursion | --no-r*) continue ;;
2863 -q | -quiet | --quiet | --quie | --qui | --qu | --q \
2864 | -silent | --silent | --silen | --sile | --sil)
2865 continue ;;
2866 *\'*)
2867 ac_arg=`$as_echo "$ac_arg" | sed "s/'/'\\\\\\\\''/g"` ;;
2868 esac
2869 case $ac_pass in
2870 1) as_fn_append ac_configure_args0 " '$ac_arg'" ;;
2872 as_fn_append ac_configure_args1 " '$ac_arg'"
2873 if test $ac_must_keep_next = true; then
2874 ac_must_keep_next=false # Got value, back to normal.
2875 else
2876 case $ac_arg in
2877 *=* | --config-cache | -C | -disable-* | --disable-* \
2878 | -enable-* | --enable-* | -gas | --g* | -nfp | --nf* \
2879 | -q | -quiet | --q* | -silent | --sil* | -v | -verb* \
2880 | -with-* | --with-* | -without-* | --without-* | --x)
2881 case "$ac_configure_args0 " in
2882 "$ac_configure_args1"*" '$ac_arg' "* ) continue ;;
2883 esac
2885 -* ) ac_must_keep_next=true ;;
2886 esac
2888 as_fn_append ac_configure_args " '$ac_arg'"
2890 esac
2891 done
2892 done
2893 { ac_configure_args0=; unset ac_configure_args0;}
2894 { ac_configure_args1=; unset ac_configure_args1;}
2896 # When interrupted or exit'd, cleanup temporary files, and complete
2897 # config.log. We remove comments because anyway the quotes in there
2898 # would cause problems or look ugly.
2899 # WARNING: Use '\'' to represent an apostrophe within the trap.
2900 # WARNING: Do not start the trap code with a newline, due to a FreeBSD 4.0 bug.
2901 trap 'exit_status=$?
2902 # Save into config.log some information that might help in debugging.
2904 echo
2906 $as_echo "## ---------------- ##
2907 ## Cache variables. ##
2908 ## ---------------- ##"
2909 echo
2910 # The following way of writing the cache mishandles newlines in values,
2912 for ac_var in `(set) 2>&1 | sed -n '\''s/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'\''`; do
2913 eval ac_val=\$$ac_var
2914 case $ac_val in #(
2915 *${as_nl}*)
2916 case $ac_var in #(
2917 *_cv_*) { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: cache variable $ac_var contains a newline" >&5
2918 $as_echo "$as_me: WARNING: cache variable $ac_var contains a newline" >&2;} ;;
2919 esac
2920 case $ac_var in #(
2921 _ | IFS | as_nl) ;; #(
2922 BASH_ARGV | BASH_SOURCE) eval $ac_var= ;; #(
2923 *) { eval $ac_var=; unset $ac_var;} ;;
2924 esac ;;
2925 esac
2926 done
2927 (set) 2>&1 |
2928 case $as_nl`(ac_space='\'' '\''; set) 2>&1` in #(
2929 *${as_nl}ac_space=\ *)
2930 sed -n \
2931 "s/'\''/'\''\\\\'\'''\''/g;
2932 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\''\\2'\''/p"
2933 ;; #(
2935 sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
2937 esac |
2938 sort
2940 echo
2942 $as_echo "## ----------------- ##
2943 ## Output variables. ##
2944 ## ----------------- ##"
2945 echo
2946 for ac_var in $ac_subst_vars
2948 eval ac_val=\$$ac_var
2949 case $ac_val in
2950 *\'\''*) ac_val=`$as_echo "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;;
2951 esac
2952 $as_echo "$ac_var='\''$ac_val'\''"
2953 done | sort
2954 echo
2956 if test -n "$ac_subst_files"; then
2957 $as_echo "## ------------------- ##
2958 ## File substitutions. ##
2959 ## ------------------- ##"
2960 echo
2961 for ac_var in $ac_subst_files
2963 eval ac_val=\$$ac_var
2964 case $ac_val in
2965 *\'\''*) ac_val=`$as_echo "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;;
2966 esac
2967 $as_echo "$ac_var='\''$ac_val'\''"
2968 done | sort
2969 echo
2972 if test -s confdefs.h; then
2973 $as_echo "## ----------- ##
2974 ## confdefs.h. ##
2975 ## ----------- ##"
2976 echo
2977 cat confdefs.h
2978 echo
2980 test "$ac_signal" != 0 &&
2981 $as_echo "$as_me: caught signal $ac_signal"
2982 $as_echo "$as_me: exit $exit_status"
2983 } >&5
2984 rm -f core *.core core.conftest.* &&
2985 rm -f -r conftest* confdefs* conf$$* $ac_clean_files &&
2986 exit $exit_status
2988 for ac_signal in 1 2 13 15; do
2989 trap 'ac_signal='$ac_signal'; as_fn_exit 1' $ac_signal
2990 done
2991 ac_signal=0
2993 # confdefs.h avoids OS command line length limits that DEFS can exceed.
2994 rm -f -r conftest* confdefs.h
2996 $as_echo "/* confdefs.h */" > confdefs.h
2998 # Predefined preprocessor variables.
3000 cat >>confdefs.h <<_ACEOF
3001 #define PACKAGE_NAME "$PACKAGE_NAME"
3002 _ACEOF
3004 cat >>confdefs.h <<_ACEOF
3005 #define PACKAGE_TARNAME "$PACKAGE_TARNAME"
3006 _ACEOF
3008 cat >>confdefs.h <<_ACEOF
3009 #define PACKAGE_VERSION "$PACKAGE_VERSION"
3010 _ACEOF
3012 cat >>confdefs.h <<_ACEOF
3013 #define PACKAGE_STRING "$PACKAGE_STRING"
3014 _ACEOF
3016 cat >>confdefs.h <<_ACEOF
3017 #define PACKAGE_BUGREPORT "$PACKAGE_BUGREPORT"
3018 _ACEOF
3020 cat >>confdefs.h <<_ACEOF
3021 #define PACKAGE_URL "$PACKAGE_URL"
3022 _ACEOF
3025 # Let the site file select an alternate cache file if it wants to.
3026 # Prefer an explicitly selected file to automatically selected ones.
3027 ac_site_file1=NONE
3028 ac_site_file2=NONE
3029 if test -n "$CONFIG_SITE"; then
3030 # We do not want a PATH search for config.site.
3031 case $CONFIG_SITE in #((
3032 -*) ac_site_file1=./$CONFIG_SITE;;
3033 */*) ac_site_file1=$CONFIG_SITE;;
3034 *) ac_site_file1=./$CONFIG_SITE;;
3035 esac
3036 elif test "x$prefix" != xNONE; then
3037 ac_site_file1=$prefix/share/config.site
3038 ac_site_file2=$prefix/etc/config.site
3039 else
3040 ac_site_file1=$ac_default_prefix/share/config.site
3041 ac_site_file2=$ac_default_prefix/etc/config.site
3043 for ac_site_file in "$ac_site_file1" "$ac_site_file2"
3045 test "x$ac_site_file" = xNONE && continue
3046 if test /dev/null != "$ac_site_file" && test -r "$ac_site_file"; then
3047 { $as_echo "$as_me:${as_lineno-$LINENO}: loading site script $ac_site_file" >&5
3048 $as_echo "$as_me: loading site script $ac_site_file" >&6;}
3049 sed 's/^/| /' "$ac_site_file" >&5
3050 . "$ac_site_file" \
3051 || { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
3052 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
3053 as_fn_error $? "failed to load site script $ac_site_file
3054 See \`config.log' for more details" "$LINENO" 5; }
3056 done
3058 if test -r "$cache_file"; then
3059 # Some versions of bash will fail to source /dev/null (special files
3060 # actually), so we avoid doing that. DJGPP emulates it as a regular file.
3061 if test /dev/null != "$cache_file" && test -f "$cache_file"; then
3062 { $as_echo "$as_me:${as_lineno-$LINENO}: loading cache $cache_file" >&5
3063 $as_echo "$as_me: loading cache $cache_file" >&6;}
3064 case $cache_file in
3065 [\\/]* | ?:[\\/]* ) . "$cache_file";;
3066 *) . "./$cache_file";;
3067 esac
3069 else
3070 { $as_echo "$as_me:${as_lineno-$LINENO}: creating cache $cache_file" >&5
3071 $as_echo "$as_me: creating cache $cache_file" >&6;}
3072 >$cache_file
3075 # Check that the precious variables saved in the cache have kept the same
3076 # value.
3077 ac_cache_corrupted=false
3078 for ac_var in $ac_precious_vars; do
3079 eval ac_old_set=\$ac_cv_env_${ac_var}_set
3080 eval ac_new_set=\$ac_env_${ac_var}_set
3081 eval ac_old_val=\$ac_cv_env_${ac_var}_value
3082 eval ac_new_val=\$ac_env_${ac_var}_value
3083 case $ac_old_set,$ac_new_set in
3084 set,)
3085 { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&5
3086 $as_echo "$as_me: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&2;}
3087 ac_cache_corrupted=: ;;
3088 ,set)
3089 { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' was not set in the previous run" >&5
3090 $as_echo "$as_me: error: \`$ac_var' was not set in the previous run" >&2;}
3091 ac_cache_corrupted=: ;;
3092 ,);;
3094 if test "x$ac_old_val" != "x$ac_new_val"; then
3095 # differences in whitespace do not lead to failure.
3096 ac_old_val_w=`echo x $ac_old_val`
3097 ac_new_val_w=`echo x $ac_new_val`
3098 if test "$ac_old_val_w" != "$ac_new_val_w"; then
3099 { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' has changed since the previous run:" >&5
3100 $as_echo "$as_me: error: \`$ac_var' has changed since the previous run:" >&2;}
3101 ac_cache_corrupted=:
3102 else
3103 { $as_echo "$as_me:${as_lineno-$LINENO}: warning: ignoring whitespace changes in \`$ac_var' since the previous run:" >&5
3104 $as_echo "$as_me: warning: ignoring whitespace changes in \`$ac_var' since the previous run:" >&2;}
3105 eval $ac_var=\$ac_old_val
3107 { $as_echo "$as_me:${as_lineno-$LINENO}: former value: \`$ac_old_val'" >&5
3108 $as_echo "$as_me: former value: \`$ac_old_val'" >&2;}
3109 { $as_echo "$as_me:${as_lineno-$LINENO}: current value: \`$ac_new_val'" >&5
3110 $as_echo "$as_me: current value: \`$ac_new_val'" >&2;}
3111 fi;;
3112 esac
3113 # Pass precious variables to config.status.
3114 if test "$ac_new_set" = set; then
3115 case $ac_new_val in
3116 *\'*) ac_arg=$ac_var=`$as_echo "$ac_new_val" | sed "s/'/'\\\\\\\\''/g"` ;;
3117 *) ac_arg=$ac_var=$ac_new_val ;;
3118 esac
3119 case " $ac_configure_args " in
3120 *" '$ac_arg' "*) ;; # Avoid dups. Use of quotes ensures accuracy.
3121 *) as_fn_append ac_configure_args " '$ac_arg'" ;;
3122 esac
3124 done
3125 if $ac_cache_corrupted; then
3126 { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
3127 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
3128 { $as_echo "$as_me:${as_lineno-$LINENO}: error: changes in the environment can compromise the build" >&5
3129 $as_echo "$as_me: error: changes in the environment can compromise the build" >&2;}
3130 as_fn_error $? "run \`make distclean' and/or \`rm $cache_file' and start over" "$LINENO" 5
3132 ## -------------------- ##
3133 ## Main body of script. ##
3134 ## -------------------- ##
3136 ac_ext=c
3137 ac_cpp='$CPP $CPPFLAGS'
3138 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
3139 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
3140 ac_compiler_gnu=$ac_cv_c_compiler_gnu
3144 ac_config_headers="$ac_config_headers include/config.h"
3146 ac_aux_dir=
3147 for ac_dir in tools "$srcdir"/tools; do
3148 if test -f "$ac_dir/install-sh"; then
3149 ac_aux_dir=$ac_dir
3150 ac_install_sh="$ac_aux_dir/install-sh -c"
3151 break
3152 elif test -f "$ac_dir/install.sh"; then
3153 ac_aux_dir=$ac_dir
3154 ac_install_sh="$ac_aux_dir/install.sh -c"
3155 break
3156 elif test -f "$ac_dir/shtool"; then
3157 ac_aux_dir=$ac_dir
3158 ac_install_sh="$ac_aux_dir/shtool install -c"
3159 break
3161 done
3162 if test -z "$ac_aux_dir"; then
3163 as_fn_error $? "cannot find install-sh, install.sh, or shtool in tools \"$srcdir\"/tools" "$LINENO" 5
3166 # These three variables are undocumented and unsupported,
3167 # and are intended to be withdrawn in a future Autoconf release.
3168 # They can cause serious problems if a builder's source tree is in a directory
3169 # whose full name contains unusual characters.
3170 ac_config_guess="$SHELL $ac_aux_dir/config.guess" # Please don't use this var.
3171 ac_config_sub="$SHELL $ac_aux_dir/config.sub" # Please don't use this var.
3172 ac_configure="$SHELL $ac_aux_dir/configure" # Please don't use this var.
3176 libwine_version="1.0"
3180 # Check whether --enable-win16 was given.
3181 if test "${enable_win16+set}" = set; then :
3182 enableval=$enable_win16;
3185 # Check whether --enable-win64 was given.
3186 if test "${enable_win64+set}" = set; then :
3187 enableval=$enable_win64;
3190 # Check whether --enable-tests was given.
3191 if test "${enable_tests+set}" = set; then :
3192 enableval=$enable_tests;
3195 # Check whether --enable-maintainer-mode was given.
3196 if test "${enable_maintainer_mode+set}" = set; then :
3197 enableval=$enable_maintainer_mode;
3202 # Check whether --with-alsa was given.
3203 if test "${with_alsa+set}" = set; then :
3204 withval=$with_alsa; if test "x$withval" = "xno"; then ac_cv_header_sys_asoundlib_h=no; ac_cv_header_alsa_asoundlib_h=no; fi
3208 # Check whether --with-capi was given.
3209 if test "${with_capi+set}" = set; then :
3210 withval=$with_capi;
3214 # Check whether --with-cms was given.
3215 if test "${with_cms+set}" = set; then :
3216 withval=$with_cms;
3220 # Check whether --with-coreaudio was given.
3221 if test "${with_coreaudio+set}" = set; then :
3222 withval=$with_coreaudio; if test "x$withval" = "xno"; then ac_cv_header_CoreAudio_CoreAudio_h=no; fi
3226 # Check whether --with-cups was given.
3227 if test "${with_cups+set}" = set; then :
3228 withval=$with_cups;
3232 # Check whether --with-curses was given.
3233 if test "${with_curses+set}" = set; then :
3234 withval=$with_curses; if test "x$withval" = "xno"; then ac_cv_header_ncurses_h=no; ac_cv_header_curses_h=no; fi
3238 # Check whether --with-dbus was given.
3239 if test "${with_dbus+set}" = set; then :
3240 withval=$with_dbus;
3244 # Check whether --with-fontconfig was given.
3245 if test "${with_fontconfig+set}" = set; then :
3246 withval=$with_fontconfig;
3250 # Check whether --with-freetype was given.
3251 if test "${with_freetype+set}" = set; then :
3252 withval=$with_freetype;
3256 # Check whether --with-gettext was given.
3257 if test "${with_gettext+set}" = set; then :
3258 withval=$with_gettext;
3262 # Check whether --with-gettextpo was given.
3263 if test "${with_gettextpo+set}" = set; then :
3264 withval=$with_gettextpo; if test "x$withval" = "xno"; then ac_cv_header_gettext_po_h=no; fi
3268 # Check whether --with-gphoto was given.
3269 if test "${with_gphoto+set}" = set; then :
3270 withval=$with_gphoto;
3274 # Check whether --with-glu was given.
3275 if test "${with_glu+set}" = set; then :
3276 withval=$with_glu;
3280 # Check whether --with-gnutls was given.
3281 if test "${with_gnutls+set}" = set; then :
3282 withval=$with_gnutls;
3286 # Check whether --with-gsm was given.
3287 if test "${with_gsm+set}" = set; then :
3288 withval=$with_gsm; if test "x$withval" = "xno"; then ac_cv_header_gsm_h=no; ac_cv_header_gsm_gsm_h=no; fi
3292 # Check whether --with-gstreamer was given.
3293 if test "${with_gstreamer+set}" = set; then :
3294 withval=$with_gstreamer;
3298 # Check whether --with-hal was given.
3299 if test "${with_hal+set}" = set; then :
3300 withval=$with_hal;
3304 # Check whether --with-jpeg was given.
3305 if test "${with_jpeg+set}" = set; then :
3306 withval=$with_jpeg;
3310 # Check whether --with-ldap was given.
3311 if test "${with_ldap+set}" = set; then :
3312 withval=$with_ldap; if test "x$withval" = "xno"; then ac_cv_header_ldap_h=no; ac_cv_header_lber_h=no; fi
3316 # Check whether --with-mpg123 was given.
3317 if test "${with_mpg123+set}" = set; then :
3318 withval=$with_mpg123;
3322 # Check whether --with-netapi was given.
3323 if test "${with_netapi+set}" = set; then :
3324 withval=$with_netapi;
3328 # Check whether --with-openal was given.
3329 if test "${with_openal+set}" = set; then :
3330 withval=$with_openal; if test "x$withval" = "xno"; then ac_cv_header_AL_al_h=no; ac_cv_header_OpenAL_al_h=no; fi
3334 # Check whether --with-opencl was given.
3335 if test "${with_opencl+set}" = set; then :
3336 withval=$with_opencl; if test "x$withval" = "xno"; then ac_cv_header_CL_cl_h=no; ac_cv_header_OpenCL_opencl_h=no; fi
3340 # Check whether --with-opengl was given.
3341 if test "${with_opengl+set}" = set; then :
3342 withval=$with_opengl;
3346 # Check whether --with-osmesa was given.
3347 if test "${with_osmesa+set}" = set; then :
3348 withval=$with_osmesa;
3352 # Check whether --with-oss was given.
3353 if test "${with_oss+set}" = set; then :
3354 withval=$with_oss;
3358 # Check whether --with-pcap was given.
3359 if test "${with_pcap+set}" = set; then :
3360 withval=$with_pcap; if test "x$withval" = "xno"; then ac_cv_header_pcap_pcap_h=no; fi
3364 # Check whether --with-png was given.
3365 if test "${with_png+set}" = set; then :
3366 withval=$with_png;
3370 # Check whether --with-pthread was given.
3371 if test "${with_pthread+set}" = set; then :
3372 withval=$with_pthread; if test "x$withval" = "xno"; then ac_cv_header_pthread_h=no; fi
3376 # Check whether --with-sane was given.
3377 if test "${with_sane+set}" = set; then :
3378 withval=$with_sane;
3382 # Check whether --with-tiff was given.
3383 if test "${with_tiff+set}" = set; then :
3384 withval=$with_tiff;
3388 # Check whether --with-v4l was given.
3389 if test "${with_v4l+set}" = set; then :
3390 withval=$with_v4l;
3394 # Check whether --with-xcomposite was given.
3395 if test "${with_xcomposite+set}" = set; then :
3396 withval=$with_xcomposite; if test "x$withval" = "xno"; then ac_cv_header_X11_extensions_Xcomposite_h=no; fi
3400 # Check whether --with-xcursor was given.
3401 if test "${with_xcursor+set}" = set; then :
3402 withval=$with_xcursor; if test "x$withval" = "xno"; then ac_cv_header_X11_Xcursor_Xcursor_h=no; fi
3406 # Check whether --with-xinerama was given.
3407 if test "${with_xinerama+set}" = set; then :
3408 withval=$with_xinerama; if test "x$withval" = "xno"; then ac_cv_header_X11_extensions_Xinerama_h=no; fi
3412 # Check whether --with-xinput was given.
3413 if test "${with_xinput+set}" = set; then :
3414 withval=$with_xinput; if test "x$withval" = "xno"; then ac_cv_header_X11_extensions_XInput_h=no; fi
3418 # Check whether --with-xinput2 was given.
3419 if test "${with_xinput2+set}" = set; then :
3420 withval=$with_xinput2; if test "x$withval" = "xno"; then ac_cv_header_X11_extensions_XInput2_h=no; fi
3424 # Check whether --with-xml was given.
3425 if test "${with_xml+set}" = set; then :
3426 withval=$with_xml;
3430 # Check whether --with-xrandr was given.
3431 if test "${with_xrandr+set}" = set; then :
3432 withval=$with_xrandr; if test "x$withval" = "xno"; then ac_cv_header_X11_extensions_Xrandr_h=no; fi
3436 # Check whether --with-xrender was given.
3437 if test "${with_xrender+set}" = set; then :
3438 withval=$with_xrender; if test "x$withval" = "xno"; then ac_cv_header_X11_extensions_Xrender_h=no; fi
3442 # Check whether --with-xshape was given.
3443 if test "${with_xshape+set}" = set; then :
3444 withval=$with_xshape; if test "x$withval" = "xno"; then ac_cv_header_X11_extensions_shape_h=no; fi
3448 # Check whether --with-xshm was given.
3449 if test "${with_xshm+set}" = set; then :
3450 withval=$with_xshm; if test "x$withval" = "xno"; then ac_cv_header_X11_extensions_XShm_h=no; fi
3454 # Check whether --with-xslt was given.
3455 if test "${with_xslt+set}" = set; then :
3456 withval=$with_xslt;
3460 # Check whether --with-xxf86vm was given.
3461 if test "${with_xxf86vm+set}" = set; then :
3462 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
3466 # Check whether --with-zlib was given.
3467 if test "${with_zlib+set}" = set; then :
3468 withval=$with_zlib; if test "x$withval" = "xno"; then ac_cv_header_zlib_h=no; fi
3473 # Check whether --with-wine-tools was given.
3474 if test "${with_wine_tools+set}" = set; then :
3475 withval=$with_wine_tools;
3479 # Check whether --with-wine64 was given.
3480 if test "${with_wine64+set}" = set; then :
3481 withval=$with_wine64;
3485 # Make sure we can run config.sub.
3486 $SHELL "$ac_aux_dir/config.sub" sun4 >/dev/null 2>&1 ||
3487 as_fn_error $? "cannot run $SHELL $ac_aux_dir/config.sub" "$LINENO" 5
3489 { $as_echo "$as_me:${as_lineno-$LINENO}: checking build system type" >&5
3490 $as_echo_n "checking build system type... " >&6; }
3491 if ${ac_cv_build+:} false; then :
3492 $as_echo_n "(cached) " >&6
3493 else
3494 ac_build_alias=$build_alias
3495 test "x$ac_build_alias" = x &&
3496 ac_build_alias=`$SHELL "$ac_aux_dir/config.guess"`
3497 test "x$ac_build_alias" = x &&
3498 as_fn_error $? "cannot guess build type; you must specify one" "$LINENO" 5
3499 ac_cv_build=`$SHELL "$ac_aux_dir/config.sub" $ac_build_alias` ||
3500 as_fn_error $? "$SHELL $ac_aux_dir/config.sub $ac_build_alias failed" "$LINENO" 5
3503 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_build" >&5
3504 $as_echo "$ac_cv_build" >&6; }
3505 case $ac_cv_build in
3506 *-*-*) ;;
3507 *) as_fn_error $? "invalid value of canonical build" "$LINENO" 5;;
3508 esac
3509 build=$ac_cv_build
3510 ac_save_IFS=$IFS; IFS='-'
3511 set x $ac_cv_build
3512 shift
3513 build_cpu=$1
3514 build_vendor=$2
3515 shift; shift
3516 # Remember, the first character of IFS is used to create $*,
3517 # except with old shells:
3518 build_os=$*
3519 IFS=$ac_save_IFS
3520 case $build_os in *\ *) build_os=`echo "$build_os" | sed 's/ /-/g'`;; esac
3523 { $as_echo "$as_me:${as_lineno-$LINENO}: checking host system type" >&5
3524 $as_echo_n "checking host system type... " >&6; }
3525 if ${ac_cv_host+:} false; then :
3526 $as_echo_n "(cached) " >&6
3527 else
3528 if test "x$host_alias" = x; then
3529 ac_cv_host=$ac_cv_build
3530 else
3531 ac_cv_host=`$SHELL "$ac_aux_dir/config.sub" $host_alias` ||
3532 as_fn_error $? "$SHELL $ac_aux_dir/config.sub $host_alias failed" "$LINENO" 5
3536 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_host" >&5
3537 $as_echo "$ac_cv_host" >&6; }
3538 case $ac_cv_host in
3539 *-*-*) ;;
3540 *) as_fn_error $? "invalid value of canonical host" "$LINENO" 5;;
3541 esac
3542 host=$ac_cv_host
3543 ac_save_IFS=$IFS; IFS='-'
3544 set x $ac_cv_host
3545 shift
3546 host_cpu=$1
3547 host_vendor=$2
3548 shift; shift
3549 # Remember, the first character of IFS is used to create $*,
3550 # except with old shells:
3551 host_os=$*
3552 IFS=$ac_save_IFS
3553 case $host_os in *\ *) host_os=`echo "$host_os" | sed 's/ /-/g'`;; esac
3557 case "$srcdir" in
3558 .) ;;
3559 *) if test -f "$srcdir/Makefile" -o -f "$srcdir/include/config.h"; then
3560 as_fn_error $? "you are building out of the source tree, but the source tree contains object files.
3561 You need to run 'make distclean' in the source tree first." "$LINENO" 5
3562 fi ;;
3563 esac
3566 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ${MAKE-make} sets \$(MAKE)" >&5
3567 $as_echo_n "checking whether ${MAKE-make} sets \$(MAKE)... " >&6; }
3568 set x ${MAKE-make}
3569 ac_make=`$as_echo "$2" | sed 's/+/p/g; s/[^a-zA-Z0-9_]/_/g'`
3570 if eval \${ac_cv_prog_make_${ac_make}_set+:} false; then :
3571 $as_echo_n "(cached) " >&6
3572 else
3573 cat >conftest.make <<\_ACEOF
3574 SHELL = /bin/sh
3575 all:
3576 @echo '@@@%%%=$(MAKE)=@@@%%%'
3577 _ACEOF
3578 # GNU make sometimes prints "make[1]: Entering ...", which would confuse us.
3579 case `${MAKE-make} -f conftest.make 2>/dev/null` in
3580 *@@@%%%=?*=@@@%%%*)
3581 eval ac_cv_prog_make_${ac_make}_set=yes;;
3583 eval ac_cv_prog_make_${ac_make}_set=no;;
3584 esac
3585 rm -f conftest.make
3587 if eval test \$ac_cv_prog_make_${ac_make}_set = yes; then
3588 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
3589 $as_echo "yes" >&6; }
3590 SET_MAKE=
3591 else
3592 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3593 $as_echo "no" >&6; }
3594 SET_MAKE="MAKE=${MAKE-make}"
3597 ac_ext=c
3598 ac_cpp='$CPP $CPPFLAGS'
3599 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
3600 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
3601 ac_compiler_gnu=$ac_cv_c_compiler_gnu
3602 if test -n "$ac_tool_prefix"; then
3603 # Extract the first word of "${ac_tool_prefix}gcc", so it can be a program name with args.
3604 set dummy ${ac_tool_prefix}gcc; ac_word=$2
3605 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3606 $as_echo_n "checking for $ac_word... " >&6; }
3607 if ${ac_cv_prog_CC+:} false; then :
3608 $as_echo_n "(cached) " >&6
3609 else
3610 if test -n "$CC"; then
3611 ac_cv_prog_CC="$CC" # Let the user override the test.
3612 else
3613 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3614 for as_dir in $PATH
3616 IFS=$as_save_IFS
3617 test -z "$as_dir" && as_dir=.
3618 for ac_exec_ext in '' $ac_executable_extensions; do
3619 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
3620 ac_cv_prog_CC="${ac_tool_prefix}gcc"
3621 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3622 break 2
3624 done
3625 done
3626 IFS=$as_save_IFS
3630 CC=$ac_cv_prog_CC
3631 if test -n "$CC"; then
3632 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
3633 $as_echo "$CC" >&6; }
3634 else
3635 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3636 $as_echo "no" >&6; }
3641 if test -z "$ac_cv_prog_CC"; then
3642 ac_ct_CC=$CC
3643 # Extract the first word of "gcc", so it can be a program name with args.
3644 set dummy gcc; ac_word=$2
3645 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3646 $as_echo_n "checking for $ac_word... " >&6; }
3647 if ${ac_cv_prog_ac_ct_CC+:} false; then :
3648 $as_echo_n "(cached) " >&6
3649 else
3650 if test -n "$ac_ct_CC"; then
3651 ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
3652 else
3653 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3654 for as_dir in $PATH
3656 IFS=$as_save_IFS
3657 test -z "$as_dir" && as_dir=.
3658 for ac_exec_ext in '' $ac_executable_extensions; do
3659 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
3660 ac_cv_prog_ac_ct_CC="gcc"
3661 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3662 break 2
3664 done
3665 done
3666 IFS=$as_save_IFS
3670 ac_ct_CC=$ac_cv_prog_ac_ct_CC
3671 if test -n "$ac_ct_CC"; then
3672 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CC" >&5
3673 $as_echo "$ac_ct_CC" >&6; }
3674 else
3675 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3676 $as_echo "no" >&6; }
3679 if test "x$ac_ct_CC" = x; then
3680 CC=""
3681 else
3682 case $cross_compiling:$ac_tool_warned in
3683 yes:)
3684 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
3685 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
3686 ac_tool_warned=yes ;;
3687 esac
3688 CC=$ac_ct_CC
3690 else
3691 CC="$ac_cv_prog_CC"
3694 if test -z "$CC"; then
3695 if test -n "$ac_tool_prefix"; then
3696 # Extract the first word of "${ac_tool_prefix}cc", so it can be a program name with args.
3697 set dummy ${ac_tool_prefix}cc; ac_word=$2
3698 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3699 $as_echo_n "checking for $ac_word... " >&6; }
3700 if ${ac_cv_prog_CC+:} false; then :
3701 $as_echo_n "(cached) " >&6
3702 else
3703 if test -n "$CC"; then
3704 ac_cv_prog_CC="$CC" # Let the user override the test.
3705 else
3706 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3707 for as_dir in $PATH
3709 IFS=$as_save_IFS
3710 test -z "$as_dir" && as_dir=.
3711 for ac_exec_ext in '' $ac_executable_extensions; do
3712 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
3713 ac_cv_prog_CC="${ac_tool_prefix}cc"
3714 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3715 break 2
3717 done
3718 done
3719 IFS=$as_save_IFS
3723 CC=$ac_cv_prog_CC
3724 if test -n "$CC"; then
3725 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
3726 $as_echo "$CC" >&6; }
3727 else
3728 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3729 $as_echo "no" >&6; }
3735 if test -z "$CC"; then
3736 # Extract the first word of "cc", so it can be a program name with args.
3737 set dummy cc; ac_word=$2
3738 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3739 $as_echo_n "checking for $ac_word... " >&6; }
3740 if ${ac_cv_prog_CC+:} false; then :
3741 $as_echo_n "(cached) " >&6
3742 else
3743 if test -n "$CC"; then
3744 ac_cv_prog_CC="$CC" # Let the user override the test.
3745 else
3746 ac_prog_rejected=no
3747 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3748 for as_dir in $PATH
3750 IFS=$as_save_IFS
3751 test -z "$as_dir" && as_dir=.
3752 for ac_exec_ext in '' $ac_executable_extensions; do
3753 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
3754 if test "$as_dir/$ac_word$ac_exec_ext" = "/usr/ucb/cc"; then
3755 ac_prog_rejected=yes
3756 continue
3758 ac_cv_prog_CC="cc"
3759 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3760 break 2
3762 done
3763 done
3764 IFS=$as_save_IFS
3766 if test $ac_prog_rejected = yes; then
3767 # We found a bogon in the path, so make sure we never use it.
3768 set dummy $ac_cv_prog_CC
3769 shift
3770 if test $# != 0; then
3771 # We chose a different compiler from the bogus one.
3772 # However, it has the same basename, so the bogon will be chosen
3773 # first if we set CC to just the basename; use the full file name.
3774 shift
3775 ac_cv_prog_CC="$as_dir/$ac_word${1+' '}$@"
3780 CC=$ac_cv_prog_CC
3781 if test -n "$CC"; then
3782 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
3783 $as_echo "$CC" >&6; }
3784 else
3785 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3786 $as_echo "no" >&6; }
3791 if test -z "$CC"; then
3792 if test -n "$ac_tool_prefix"; then
3793 for ac_prog in cl.exe
3795 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
3796 set dummy $ac_tool_prefix$ac_prog; ac_word=$2
3797 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3798 $as_echo_n "checking for $ac_word... " >&6; }
3799 if ${ac_cv_prog_CC+:} false; then :
3800 $as_echo_n "(cached) " >&6
3801 else
3802 if test -n "$CC"; then
3803 ac_cv_prog_CC="$CC" # Let the user override the test.
3804 else
3805 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3806 for as_dir in $PATH
3808 IFS=$as_save_IFS
3809 test -z "$as_dir" && as_dir=.
3810 for ac_exec_ext in '' $ac_executable_extensions; do
3811 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
3812 ac_cv_prog_CC="$ac_tool_prefix$ac_prog"
3813 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3814 break 2
3816 done
3817 done
3818 IFS=$as_save_IFS
3822 CC=$ac_cv_prog_CC
3823 if test -n "$CC"; then
3824 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
3825 $as_echo "$CC" >&6; }
3826 else
3827 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3828 $as_echo "no" >&6; }
3832 test -n "$CC" && break
3833 done
3835 if test -z "$CC"; then
3836 ac_ct_CC=$CC
3837 for ac_prog in cl.exe
3839 # Extract the first word of "$ac_prog", so it can be a program name with args.
3840 set dummy $ac_prog; ac_word=$2
3841 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3842 $as_echo_n "checking for $ac_word... " >&6; }
3843 if ${ac_cv_prog_ac_ct_CC+:} false; then :
3844 $as_echo_n "(cached) " >&6
3845 else
3846 if test -n "$ac_ct_CC"; then
3847 ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
3848 else
3849 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3850 for as_dir in $PATH
3852 IFS=$as_save_IFS
3853 test -z "$as_dir" && as_dir=.
3854 for ac_exec_ext in '' $ac_executable_extensions; do
3855 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
3856 ac_cv_prog_ac_ct_CC="$ac_prog"
3857 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3858 break 2
3860 done
3861 done
3862 IFS=$as_save_IFS
3866 ac_ct_CC=$ac_cv_prog_ac_ct_CC
3867 if test -n "$ac_ct_CC"; then
3868 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CC" >&5
3869 $as_echo "$ac_ct_CC" >&6; }
3870 else
3871 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3872 $as_echo "no" >&6; }
3876 test -n "$ac_ct_CC" && break
3877 done
3879 if test "x$ac_ct_CC" = x; then
3880 CC=""
3881 else
3882 case $cross_compiling:$ac_tool_warned in
3883 yes:)
3884 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
3885 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
3886 ac_tool_warned=yes ;;
3887 esac
3888 CC=$ac_ct_CC
3895 test -z "$CC" && { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
3896 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
3897 as_fn_error $? "no acceptable C compiler found in \$PATH
3898 See \`config.log' for more details" "$LINENO" 5; }
3900 # Provide some information about the compiler.
3901 $as_echo "$as_me:${as_lineno-$LINENO}: checking for C compiler version" >&5
3902 set X $ac_compile
3903 ac_compiler=$2
3904 for ac_option in --version -v -V -qversion; do
3905 { { ac_try="$ac_compiler $ac_option >&5"
3906 case "(($ac_try" in
3907 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3908 *) ac_try_echo=$ac_try;;
3909 esac
3910 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
3911 $as_echo "$ac_try_echo"; } >&5
3912 (eval "$ac_compiler $ac_option >&5") 2>conftest.err
3913 ac_status=$?
3914 if test -s conftest.err; then
3915 sed '10a\
3916 ... rest of stderr output deleted ...
3917 10q' conftest.err >conftest.er1
3918 cat conftest.er1 >&5
3920 rm -f conftest.er1 conftest.err
3921 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
3922 test $ac_status = 0; }
3923 done
3925 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3926 /* end confdefs.h. */
3929 main ()
3933 return 0;
3935 _ACEOF
3936 ac_clean_files_save=$ac_clean_files
3937 ac_clean_files="$ac_clean_files a.out a.out.dSYM a.exe b.out"
3938 # Try to create an executable without -o first, disregard a.out.
3939 # It will help us diagnose broken compilers, and finding out an intuition
3940 # of exeext.
3941 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the C compiler works" >&5
3942 $as_echo_n "checking whether the C compiler works... " >&6; }
3943 ac_link_default=`$as_echo "$ac_link" | sed 's/ -o *conftest[^ ]*//'`
3945 # The possible output files:
3946 ac_files="a.out conftest.exe conftest a.exe a_out.exe b.out conftest.*"
3948 ac_rmfiles=
3949 for ac_file in $ac_files
3951 case $ac_file in
3952 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj ) ;;
3953 * ) ac_rmfiles="$ac_rmfiles $ac_file";;
3954 esac
3955 done
3956 rm -f $ac_rmfiles
3958 if { { ac_try="$ac_link_default"
3959 case "(($ac_try" in
3960 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3961 *) ac_try_echo=$ac_try;;
3962 esac
3963 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
3964 $as_echo "$ac_try_echo"; } >&5
3965 (eval "$ac_link_default") 2>&5
3966 ac_status=$?
3967 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
3968 test $ac_status = 0; }; then :
3969 # Autoconf-2.13 could set the ac_cv_exeext variable to `no'.
3970 # So ignore a value of `no', otherwise this would lead to `EXEEXT = no'
3971 # in a Makefile. We should not override ac_cv_exeext if it was cached,
3972 # so that the user can short-circuit this test for compilers unknown to
3973 # Autoconf.
3974 for ac_file in $ac_files ''
3976 test -f "$ac_file" || continue
3977 case $ac_file in
3978 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj )
3980 [ab].out )
3981 # We found the default executable, but exeext='' is most
3982 # certainly right.
3983 break;;
3984 *.* )
3985 if test "${ac_cv_exeext+set}" = set && test "$ac_cv_exeext" != no;
3986 then :; else
3987 ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'`
3989 # We set ac_cv_exeext here because the later test for it is not
3990 # safe: cross compilers may not add the suffix if given an `-o'
3991 # argument, so we may need to know it at that point already.
3992 # Even if this section looks crufty: it has the advantage of
3993 # actually working.
3994 break;;
3996 break;;
3997 esac
3998 done
3999 test "$ac_cv_exeext" = no && ac_cv_exeext=
4001 else
4002 ac_file=''
4004 if test -z "$ac_file"; then :
4005 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4006 $as_echo "no" >&6; }
4007 $as_echo "$as_me: failed program was:" >&5
4008 sed 's/^/| /' conftest.$ac_ext >&5
4010 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
4011 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
4012 as_fn_error 77 "C compiler cannot create executables
4013 See \`config.log' for more details" "$LINENO" 5; }
4014 else
4015 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
4016 $as_echo "yes" >&6; }
4018 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for C compiler default output file name" >&5
4019 $as_echo_n "checking for C compiler default output file name... " >&6; }
4020 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_file" >&5
4021 $as_echo "$ac_file" >&6; }
4022 ac_exeext=$ac_cv_exeext
4024 rm -f -r a.out a.out.dSYM a.exe conftest$ac_cv_exeext b.out
4025 ac_clean_files=$ac_clean_files_save
4026 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for suffix of executables" >&5
4027 $as_echo_n "checking for suffix of executables... " >&6; }
4028 if { { ac_try="$ac_link"
4029 case "(($ac_try" in
4030 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
4031 *) ac_try_echo=$ac_try;;
4032 esac
4033 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
4034 $as_echo "$ac_try_echo"; } >&5
4035 (eval "$ac_link") 2>&5
4036 ac_status=$?
4037 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
4038 test $ac_status = 0; }; then :
4039 # If both `conftest.exe' and `conftest' are `present' (well, observable)
4040 # catch `conftest.exe'. For instance with Cygwin, `ls conftest' will
4041 # work properly (i.e., refer to `conftest.exe'), while it won't with
4042 # `rm'.
4043 for ac_file in conftest.exe conftest conftest.*; do
4044 test -f "$ac_file" || continue
4045 case $ac_file in
4046 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj ) ;;
4047 *.* ) ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'`
4048 break;;
4049 * ) break;;
4050 esac
4051 done
4052 else
4053 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
4054 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
4055 as_fn_error $? "cannot compute suffix of executables: cannot compile and link
4056 See \`config.log' for more details" "$LINENO" 5; }
4058 rm -f conftest conftest$ac_cv_exeext
4059 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_exeext" >&5
4060 $as_echo "$ac_cv_exeext" >&6; }
4062 rm -f conftest.$ac_ext
4063 EXEEXT=$ac_cv_exeext
4064 ac_exeext=$EXEEXT
4065 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4066 /* end confdefs.h. */
4067 #include <stdio.h>
4069 main ()
4071 FILE *f = fopen ("conftest.out", "w");
4072 return ferror (f) || fclose (f) != 0;
4075 return 0;
4077 _ACEOF
4078 ac_clean_files="$ac_clean_files conftest.out"
4079 # Check that the compiler produces executables we can run. If not, either
4080 # the compiler is broken, or we cross compile.
4081 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are cross compiling" >&5
4082 $as_echo_n "checking whether we are cross compiling... " >&6; }
4083 if test "$cross_compiling" != yes; then
4084 { { ac_try="$ac_link"
4085 case "(($ac_try" in
4086 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
4087 *) ac_try_echo=$ac_try;;
4088 esac
4089 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
4090 $as_echo "$ac_try_echo"; } >&5
4091 (eval "$ac_link") 2>&5
4092 ac_status=$?
4093 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
4094 test $ac_status = 0; }
4095 if { ac_try='./conftest$ac_cv_exeext'
4096 { { case "(($ac_try" in
4097 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
4098 *) ac_try_echo=$ac_try;;
4099 esac
4100 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
4101 $as_echo "$ac_try_echo"; } >&5
4102 (eval "$ac_try") 2>&5
4103 ac_status=$?
4104 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
4105 test $ac_status = 0; }; }; then
4106 cross_compiling=no
4107 else
4108 if test "$cross_compiling" = maybe; then
4109 cross_compiling=yes
4110 else
4111 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
4112 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
4113 as_fn_error $? "cannot run C compiled programs.
4114 If you meant to cross compile, use \`--host'.
4115 See \`config.log' for more details" "$LINENO" 5; }
4119 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $cross_compiling" >&5
4120 $as_echo "$cross_compiling" >&6; }
4122 rm -f conftest.$ac_ext conftest$ac_cv_exeext conftest.out
4123 ac_clean_files=$ac_clean_files_save
4124 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for suffix of object files" >&5
4125 $as_echo_n "checking for suffix of object files... " >&6; }
4126 if ${ac_cv_objext+:} false; then :
4127 $as_echo_n "(cached) " >&6
4128 else
4129 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4130 /* end confdefs.h. */
4133 main ()
4137 return 0;
4139 _ACEOF
4140 rm -f conftest.o conftest.obj
4141 if { { ac_try="$ac_compile"
4142 case "(($ac_try" in
4143 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
4144 *) ac_try_echo=$ac_try;;
4145 esac
4146 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
4147 $as_echo "$ac_try_echo"; } >&5
4148 (eval "$ac_compile") 2>&5
4149 ac_status=$?
4150 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
4151 test $ac_status = 0; }; then :
4152 for ac_file in conftest.o conftest.obj conftest.*; do
4153 test -f "$ac_file" || continue;
4154 case $ac_file in
4155 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM ) ;;
4156 *) ac_cv_objext=`expr "$ac_file" : '.*\.\(.*\)'`
4157 break;;
4158 esac
4159 done
4160 else
4161 $as_echo "$as_me: failed program was:" >&5
4162 sed 's/^/| /' conftest.$ac_ext >&5
4164 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
4165 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
4166 as_fn_error $? "cannot compute suffix of object files: cannot compile
4167 See \`config.log' for more details" "$LINENO" 5; }
4169 rm -f conftest.$ac_cv_objext conftest.$ac_ext
4171 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_objext" >&5
4172 $as_echo "$ac_cv_objext" >&6; }
4173 OBJEXT=$ac_cv_objext
4174 ac_objext=$OBJEXT
4175 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are using the GNU C compiler" >&5
4176 $as_echo_n "checking whether we are using the GNU C compiler... " >&6; }
4177 if ${ac_cv_c_compiler_gnu+:} false; then :
4178 $as_echo_n "(cached) " >&6
4179 else
4180 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4181 /* end confdefs.h. */
4184 main ()
4186 #ifndef __GNUC__
4187 choke me
4188 #endif
4191 return 0;
4193 _ACEOF
4194 if ac_fn_c_try_compile "$LINENO"; then :
4195 ac_compiler_gnu=yes
4196 else
4197 ac_compiler_gnu=no
4199 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4200 ac_cv_c_compiler_gnu=$ac_compiler_gnu
4203 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_compiler_gnu" >&5
4204 $as_echo "$ac_cv_c_compiler_gnu" >&6; }
4205 if test $ac_compiler_gnu = yes; then
4206 GCC=yes
4207 else
4208 GCC=
4210 ac_test_CFLAGS=${CFLAGS+set}
4211 ac_save_CFLAGS=$CFLAGS
4212 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CC accepts -g" >&5
4213 $as_echo_n "checking whether $CC accepts -g... " >&6; }
4214 if ${ac_cv_prog_cc_g+:} false; then :
4215 $as_echo_n "(cached) " >&6
4216 else
4217 ac_save_c_werror_flag=$ac_c_werror_flag
4218 ac_c_werror_flag=yes
4219 ac_cv_prog_cc_g=no
4220 CFLAGS="-g"
4221 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4222 /* end confdefs.h. */
4225 main ()
4229 return 0;
4231 _ACEOF
4232 if ac_fn_c_try_compile "$LINENO"; then :
4233 ac_cv_prog_cc_g=yes
4234 else
4235 CFLAGS=""
4236 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4237 /* end confdefs.h. */
4240 main ()
4244 return 0;
4246 _ACEOF
4247 if ac_fn_c_try_compile "$LINENO"; then :
4249 else
4250 ac_c_werror_flag=$ac_save_c_werror_flag
4251 CFLAGS="-g"
4252 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4253 /* end confdefs.h. */
4256 main ()
4260 return 0;
4262 _ACEOF
4263 if ac_fn_c_try_compile "$LINENO"; then :
4264 ac_cv_prog_cc_g=yes
4266 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4268 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4270 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4271 ac_c_werror_flag=$ac_save_c_werror_flag
4273 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_g" >&5
4274 $as_echo "$ac_cv_prog_cc_g" >&6; }
4275 if test "$ac_test_CFLAGS" = set; then
4276 CFLAGS=$ac_save_CFLAGS
4277 elif test $ac_cv_prog_cc_g = yes; then
4278 if test "$GCC" = yes; then
4279 CFLAGS="-g -O2"
4280 else
4281 CFLAGS="-g"
4283 else
4284 if test "$GCC" = yes; then
4285 CFLAGS="-O2"
4286 else
4287 CFLAGS=
4290 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $CC option to accept ISO C89" >&5
4291 $as_echo_n "checking for $CC option to accept ISO C89... " >&6; }
4292 if ${ac_cv_prog_cc_c89+:} false; then :
4293 $as_echo_n "(cached) " >&6
4294 else
4295 ac_cv_prog_cc_c89=no
4296 ac_save_CC=$CC
4297 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4298 /* end confdefs.h. */
4299 #include <stdarg.h>
4300 #include <stdio.h>
4301 struct stat;
4302 /* Most of the following tests are stolen from RCS 5.7's src/conf.sh. */
4303 struct buf { int x; };
4304 FILE * (*rcsopen) (struct buf *, struct stat *, int);
4305 static char *e (p, i)
4306 char **p;
4307 int i;
4309 return p[i];
4311 static char *f (char * (*g) (char **, int), char **p, ...)
4313 char *s;
4314 va_list v;
4315 va_start (v,p);
4316 s = g (p, va_arg (v,int));
4317 va_end (v);
4318 return s;
4321 /* OSF 4.0 Compaq cc is some sort of almost-ANSI by default. It has
4322 function prototypes and stuff, but not '\xHH' hex character constants.
4323 These don't provoke an error unfortunately, instead are silently treated
4324 as 'x'. The following induces an error, until -std is added to get
4325 proper ANSI mode. Curiously '\x00'!='x' always comes out true, for an
4326 array size at least. It's necessary to write '\x00'==0 to get something
4327 that's true only with -std. */
4328 int osf4_cc_array ['\x00' == 0 ? 1 : -1];
4330 /* IBM C 6 for AIX is almost-ANSI by default, but it replaces macro parameters
4331 inside strings and character constants. */
4332 #define FOO(x) 'x'
4333 int xlc6_cc_array[FOO(a) == 'x' ? 1 : -1];
4335 int test (int i, double x);
4336 struct s1 {int (*f) (int a);};
4337 struct s2 {int (*f) (double a);};
4338 int pairnames (int, char **, FILE *(*)(struct buf *, struct stat *, int), int, int);
4339 int argc;
4340 char **argv;
4342 main ()
4344 return f (e, argv, 0) != argv[0] || f (e, argv, 1) != argv[1];
4346 return 0;
4348 _ACEOF
4349 for ac_arg in '' -qlanglvl=extc89 -qlanglvl=ansi -std \
4350 -Ae "-Aa -D_HPUX_SOURCE" "-Xc -D__EXTENSIONS__"
4352 CC="$ac_save_CC $ac_arg"
4353 if ac_fn_c_try_compile "$LINENO"; then :
4354 ac_cv_prog_cc_c89=$ac_arg
4356 rm -f core conftest.err conftest.$ac_objext
4357 test "x$ac_cv_prog_cc_c89" != "xno" && break
4358 done
4359 rm -f conftest.$ac_ext
4360 CC=$ac_save_CC
4363 # AC_CACHE_VAL
4364 case "x$ac_cv_prog_cc_c89" in
4366 { $as_echo "$as_me:${as_lineno-$LINENO}: result: none needed" >&5
4367 $as_echo "none needed" >&6; } ;;
4368 xno)
4369 { $as_echo "$as_me:${as_lineno-$LINENO}: result: unsupported" >&5
4370 $as_echo "unsupported" >&6; } ;;
4372 CC="$CC $ac_cv_prog_cc_c89"
4373 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_c89" >&5
4374 $as_echo "$ac_cv_prog_cc_c89" >&6; } ;;
4375 esac
4376 if test "x$ac_cv_prog_cc_c89" != xno; then :
4380 ac_ext=c
4381 ac_cpp='$CPP $CPPFLAGS'
4382 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
4383 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
4384 ac_compiler_gnu=$ac_cv_c_compiler_gnu
4386 ac_ext=cpp
4387 ac_cpp='$CXXCPP $CPPFLAGS'
4388 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
4389 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
4390 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
4391 if test -z "$CXX"; then
4392 if test -n "$CCC"; then
4393 CXX=$CCC
4394 else
4395 if test -n "$ac_tool_prefix"; then
4396 for ac_prog in g++ c++ gpp aCC CC cxx cc++ cl.exe FCC KCC RCC xlC_r xlC
4398 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
4399 set dummy $ac_tool_prefix$ac_prog; ac_word=$2
4400 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4401 $as_echo_n "checking for $ac_word... " >&6; }
4402 if ${ac_cv_prog_CXX+:} false; then :
4403 $as_echo_n "(cached) " >&6
4404 else
4405 if test -n "$CXX"; then
4406 ac_cv_prog_CXX="$CXX" # Let the user override the test.
4407 else
4408 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4409 for as_dir in $PATH
4411 IFS=$as_save_IFS
4412 test -z "$as_dir" && as_dir=.
4413 for ac_exec_ext in '' $ac_executable_extensions; do
4414 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
4415 ac_cv_prog_CXX="$ac_tool_prefix$ac_prog"
4416 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4417 break 2
4419 done
4420 done
4421 IFS=$as_save_IFS
4425 CXX=$ac_cv_prog_CXX
4426 if test -n "$CXX"; then
4427 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CXX" >&5
4428 $as_echo "$CXX" >&6; }
4429 else
4430 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4431 $as_echo "no" >&6; }
4435 test -n "$CXX" && break
4436 done
4438 if test -z "$CXX"; then
4439 ac_ct_CXX=$CXX
4440 for ac_prog in g++ c++ gpp aCC CC cxx cc++ cl.exe FCC KCC RCC xlC_r xlC
4442 # Extract the first word of "$ac_prog", so it can be a program name with args.
4443 set dummy $ac_prog; ac_word=$2
4444 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4445 $as_echo_n "checking for $ac_word... " >&6; }
4446 if ${ac_cv_prog_ac_ct_CXX+:} false; then :
4447 $as_echo_n "(cached) " >&6
4448 else
4449 if test -n "$ac_ct_CXX"; then
4450 ac_cv_prog_ac_ct_CXX="$ac_ct_CXX" # Let the user override the test.
4451 else
4452 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4453 for as_dir in $PATH
4455 IFS=$as_save_IFS
4456 test -z "$as_dir" && as_dir=.
4457 for ac_exec_ext in '' $ac_executable_extensions; do
4458 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
4459 ac_cv_prog_ac_ct_CXX="$ac_prog"
4460 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4461 break 2
4463 done
4464 done
4465 IFS=$as_save_IFS
4469 ac_ct_CXX=$ac_cv_prog_ac_ct_CXX
4470 if test -n "$ac_ct_CXX"; then
4471 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CXX" >&5
4472 $as_echo "$ac_ct_CXX" >&6; }
4473 else
4474 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4475 $as_echo "no" >&6; }
4479 test -n "$ac_ct_CXX" && break
4480 done
4482 if test "x$ac_ct_CXX" = x; then
4483 CXX="g++"
4484 else
4485 case $cross_compiling:$ac_tool_warned in
4486 yes:)
4487 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
4488 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
4489 ac_tool_warned=yes ;;
4490 esac
4491 CXX=$ac_ct_CXX
4497 # Provide some information about the compiler.
4498 $as_echo "$as_me:${as_lineno-$LINENO}: checking for C++ compiler version" >&5
4499 set X $ac_compile
4500 ac_compiler=$2
4501 for ac_option in --version -v -V -qversion; do
4502 { { ac_try="$ac_compiler $ac_option >&5"
4503 case "(($ac_try" in
4504 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
4505 *) ac_try_echo=$ac_try;;
4506 esac
4507 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
4508 $as_echo "$ac_try_echo"; } >&5
4509 (eval "$ac_compiler $ac_option >&5") 2>conftest.err
4510 ac_status=$?
4511 if test -s conftest.err; then
4512 sed '10a\
4513 ... rest of stderr output deleted ...
4514 10q' conftest.err >conftest.er1
4515 cat conftest.er1 >&5
4517 rm -f conftest.er1 conftest.err
4518 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
4519 test $ac_status = 0; }
4520 done
4522 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are using the GNU C++ compiler" >&5
4523 $as_echo_n "checking whether we are using the GNU C++ compiler... " >&6; }
4524 if ${ac_cv_cxx_compiler_gnu+:} false; then :
4525 $as_echo_n "(cached) " >&6
4526 else
4527 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4528 /* end confdefs.h. */
4531 main ()
4533 #ifndef __GNUC__
4534 choke me
4535 #endif
4538 return 0;
4540 _ACEOF
4541 if ac_fn_cxx_try_compile "$LINENO"; then :
4542 ac_compiler_gnu=yes
4543 else
4544 ac_compiler_gnu=no
4546 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4547 ac_cv_cxx_compiler_gnu=$ac_compiler_gnu
4550 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cxx_compiler_gnu" >&5
4551 $as_echo "$ac_cv_cxx_compiler_gnu" >&6; }
4552 if test $ac_compiler_gnu = yes; then
4553 GXX=yes
4554 else
4555 GXX=
4557 ac_test_CXXFLAGS=${CXXFLAGS+set}
4558 ac_save_CXXFLAGS=$CXXFLAGS
4559 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CXX accepts -g" >&5
4560 $as_echo_n "checking whether $CXX accepts -g... " >&6; }
4561 if ${ac_cv_prog_cxx_g+:} false; then :
4562 $as_echo_n "(cached) " >&6
4563 else
4564 ac_save_cxx_werror_flag=$ac_cxx_werror_flag
4565 ac_cxx_werror_flag=yes
4566 ac_cv_prog_cxx_g=no
4567 CXXFLAGS="-g"
4568 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4569 /* end confdefs.h. */
4572 main ()
4576 return 0;
4578 _ACEOF
4579 if ac_fn_cxx_try_compile "$LINENO"; then :
4580 ac_cv_prog_cxx_g=yes
4581 else
4582 CXXFLAGS=""
4583 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4584 /* end confdefs.h. */
4587 main ()
4591 return 0;
4593 _ACEOF
4594 if ac_fn_cxx_try_compile "$LINENO"; then :
4596 else
4597 ac_cxx_werror_flag=$ac_save_cxx_werror_flag
4598 CXXFLAGS="-g"
4599 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4600 /* end confdefs.h. */
4603 main ()
4607 return 0;
4609 _ACEOF
4610 if ac_fn_cxx_try_compile "$LINENO"; then :
4611 ac_cv_prog_cxx_g=yes
4613 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4615 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4617 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4618 ac_cxx_werror_flag=$ac_save_cxx_werror_flag
4620 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cxx_g" >&5
4621 $as_echo "$ac_cv_prog_cxx_g" >&6; }
4622 if test "$ac_test_CXXFLAGS" = set; then
4623 CXXFLAGS=$ac_save_CXXFLAGS
4624 elif test $ac_cv_prog_cxx_g = yes; then
4625 if test "$GXX" = yes; then
4626 CXXFLAGS="-g -O2"
4627 else
4628 CXXFLAGS="-g"
4630 else
4631 if test "$GXX" = yes; then
4632 CXXFLAGS="-O2"
4633 else
4634 CXXFLAGS=
4637 ac_ext=c
4638 ac_cpp='$CPP $CPPFLAGS'
4639 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
4640 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
4641 ac_compiler_gnu=$ac_cv_c_compiler_gnu
4643 if test -n "$ac_tool_prefix"; then
4644 # Extract the first word of "${ac_tool_prefix}cpp", so it can be a program name with args.
4645 set dummy ${ac_tool_prefix}cpp; ac_word=$2
4646 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4647 $as_echo_n "checking for $ac_word... " >&6; }
4648 if ${ac_cv_prog_CPPBIN+:} false; then :
4649 $as_echo_n "(cached) " >&6
4650 else
4651 if test -n "$CPPBIN"; then
4652 ac_cv_prog_CPPBIN="$CPPBIN" # Let the user override the test.
4653 else
4654 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4655 for as_dir in $PATH
4657 IFS=$as_save_IFS
4658 test -z "$as_dir" && as_dir=.
4659 for ac_exec_ext in '' $ac_executable_extensions; do
4660 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
4661 ac_cv_prog_CPPBIN="${ac_tool_prefix}cpp"
4662 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4663 break 2
4665 done
4666 done
4667 IFS=$as_save_IFS
4671 CPPBIN=$ac_cv_prog_CPPBIN
4672 if test -n "$CPPBIN"; then
4673 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CPPBIN" >&5
4674 $as_echo "$CPPBIN" >&6; }
4675 else
4676 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4677 $as_echo "no" >&6; }
4682 if test -z "$ac_cv_prog_CPPBIN"; then
4683 ac_ct_CPPBIN=$CPPBIN
4684 # Extract the first word of "cpp", so it can be a program name with args.
4685 set dummy cpp; ac_word=$2
4686 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4687 $as_echo_n "checking for $ac_word... " >&6; }
4688 if ${ac_cv_prog_ac_ct_CPPBIN+:} false; then :
4689 $as_echo_n "(cached) " >&6
4690 else
4691 if test -n "$ac_ct_CPPBIN"; then
4692 ac_cv_prog_ac_ct_CPPBIN="$ac_ct_CPPBIN" # Let the user override the test.
4693 else
4694 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4695 for as_dir in $PATH
4697 IFS=$as_save_IFS
4698 test -z "$as_dir" && as_dir=.
4699 for ac_exec_ext in '' $ac_executable_extensions; do
4700 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
4701 ac_cv_prog_ac_ct_CPPBIN="cpp"
4702 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4703 break 2
4705 done
4706 done
4707 IFS=$as_save_IFS
4711 ac_ct_CPPBIN=$ac_cv_prog_ac_ct_CPPBIN
4712 if test -n "$ac_ct_CPPBIN"; then
4713 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CPPBIN" >&5
4714 $as_echo "$ac_ct_CPPBIN" >&6; }
4715 else
4716 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4717 $as_echo "no" >&6; }
4720 if test "x$ac_ct_CPPBIN" = x; then
4721 CPPBIN="cpp"
4722 else
4723 case $cross_compiling:$ac_tool_warned in
4724 yes:)
4725 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
4726 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
4727 ac_tool_warned=yes ;;
4728 esac
4729 CPPBIN=$ac_ct_CPPBIN
4731 else
4732 CPPBIN="$ac_cv_prog_CPPBIN"
4736 cat >>confdefs.h <<_ACEOF
4737 #define EXEEXT "$ac_exeext"
4738 _ACEOF
4741 case $host in
4742 *-darwin*)
4743 if test "x$enable_win64" = "xyes"
4744 then
4745 CC="$CC -m64"
4746 CXX="$CXX -m64"
4747 host_cpu="x86_64"
4748 notice_platform="64-bit "
4749 TARGETFLAGS="-m64"
4751 else
4752 CC="$CC -m32"
4753 CXX="$CXX -m32"
4754 host_cpu="i386"
4755 notice_platform="32-bit "
4756 TARGETFLAGS="-m32"
4758 enable_win16=${enable_win16:-yes}
4760 with_fontconfig=${with_fontconfig:-no}
4762 x86_64*)
4763 if test "x$enable_win64" != "xyes" -a "$cross_compiling" != "yes"
4764 then
4765 CC="$CC -m32"
4766 CXX="$CXX -m32"
4767 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CC works" >&5
4768 $as_echo_n "checking whether $CC works... " >&6; }
4770 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4771 /* end confdefs.h. */
4774 main ()
4778 return 0;
4780 _ACEOF
4781 if ac_fn_c_try_link "$LINENO"; then :
4782 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
4783 $as_echo "yes" >&6; }
4784 else
4785 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4786 $as_echo "no" >&6; }
4787 as_fn_error $? "Cannot build a 32-bit program, you need to install 32-bit development libraries." "$LINENO" 5
4789 rm -f core conftest.err conftest.$ac_objext \
4790 conftest$ac_exeext conftest.$ac_ext
4791 host_cpu="i386"
4792 notice_platform="32-bit "
4793 TARGETFLAGS="-m32"
4795 enable_win16=${enable_win16:-yes}
4796 else
4797 if test "x${GCC}" = "xyes"
4798 then
4799 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CC supports __builtin_ms_va_list" >&5
4800 $as_echo_n "checking whether $CC supports __builtin_ms_va_list... " >&6; }
4801 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4802 /* end confdefs.h. */
4803 #include <stdarg.h>
4805 main ()
4807 void func(__builtin_ms_va_list *args);
4809 return 0;
4811 _ACEOF
4812 if ac_fn_c_try_compile "$LINENO"; then :
4813 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
4814 $as_echo "yes" >&6; }
4815 else
4816 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4817 $as_echo "no" >&6; }
4818 as_fn_error $? "You need gcc >= 4.4 to build Wine as 64-bit." "$LINENO" 5
4820 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4822 TARGETFLAGS="-m64"
4826 arm*)
4827 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CC supports Thumb" >&5
4828 $as_echo_n "checking whether $CC supports Thumb... " >&6; }
4829 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4830 /* end confdefs.h. */
4831 int ac_test(int i) { return i; }
4833 main ()
4835 asm(".thumb\nblx ac_test\n.arm"); if (ac_test(1)) return 1
4837 return 0;
4839 _ACEOF
4840 if ac_fn_c_try_link "$LINENO"; then :
4841 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
4842 $as_echo "yes" >&6; }
4843 else
4844 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4845 $as_echo "no" >&6; }
4846 as_fn_error $? "You need a target with Thumb support to build Wine for ARM." "$LINENO" 5
4848 rm -f core conftest.err conftest.$ac_objext \
4849 conftest$ac_exeext conftest.$ac_ext
4850 CFLAGS="$CFLAGS -marm"
4851 TARGETFLAGS="-marm"
4854 *-mingw32*|*-cygwin*)
4855 enable_win16=${enable_win16:-no}
4856 CFLAGS="$CFLAGS -D_WIN32"
4858 i[3456789]86*)
4859 enable_win16=${enable_win16:-yes}
4861 esac
4863 enable_win16=${enable_win16:-no}
4864 enable_win64=${enable_win64:-no}
4866 enable_winetest=${enable_winetest:-$enable_tests}
4868 if test -n "$with_wine64"
4869 then
4870 if test "x$enable_win64" = "xyes"
4871 then
4872 as_fn_error $? "--enable-win64 and --with-wine64 are mutually exclusive.
4873 --enable-win64 should be used in the 64-bit build tree, --with-wine64 in the 32-bit Wow64 build tree." "$LINENO" 5
4875 enable_fonts=${enable_fonts:-no}
4876 enable_server=${enable_server:-no}
4877 elif test "x$enable_win64" = "xyes"
4878 then
4879 test "x$libdir" != "x\${exec_prefix}/lib" || libdir="\${exec_prefix}/lib64"
4882 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for the directory containing the Wine tools" >&5
4883 $as_echo_n "checking for the directory containing the Wine tools... " >&6; }
4884 if ${wine_cv_toolsdir+:} false; then :
4885 $as_echo_n "(cached) " >&6
4886 else
4887 wine_cv_toolsdir="$with_wine_tools"
4888 if test -z "$with_wine_tools"; then
4889 if test "$cross_compiling" = "yes"; then
4890 as_fn_error $? "you must use the --with-wine-tools option when cross-compiling." "$LINENO" 5
4891 elif test -n "$with_wine64"; then
4892 wine_cv_toolsdir="$with_wine64"
4895 if test -z "$wine_cv_toolsdir"; then
4896 wine_makedep=tools/makedep
4897 wine_cv_toolsdir="\$(top_builddir)"
4898 elif test -d "$wine_cv_toolsdir/tools/winebuild"; then
4899 wine_makedep=$wine_cv_toolsdir/tools/makedep
4900 case "$wine_cv_toolsdir" in
4901 /*) ;;
4902 *) wine_cv_toolsdir="\$(top_builddir)/$wine_cv_toolsdir" ;;
4903 esac
4904 enable_tools=${enable_tools:-no}
4905 test -f "$wine_makedep" || as_fn_error $? "the Wine tools have not yet been built in $wine_cv_toolsdir" "$LINENO" 5
4906 else
4907 as_fn_error $? "could not find Wine tools in $wine_cv_toolsdir" "$LINENO" 5
4910 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $wine_cv_toolsdir" >&5
4911 $as_echo "$wine_cv_toolsdir" >&6; }
4912 TOOLSDIR=$wine_cv_toolsdir
4914 if test -n "$host_alias" -a "$host_alias" != "$build_alias"
4915 then
4916 TARGETFLAGS="-b $host_alias $TARGETFLAGS"
4920 for ac_prog in flex
4922 # Extract the first word of "$ac_prog", so it can be a program name with args.
4923 set dummy $ac_prog; ac_word=$2
4924 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4925 $as_echo_n "checking for $ac_word... " >&6; }
4926 if ${ac_cv_prog_FLEX+:} false; then :
4927 $as_echo_n "(cached) " >&6
4928 else
4929 if test -n "$FLEX"; then
4930 ac_cv_prog_FLEX="$FLEX" # Let the user override the test.
4931 else
4932 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4933 for as_dir in $PATH
4935 IFS=$as_save_IFS
4936 test -z "$as_dir" && as_dir=.
4937 for ac_exec_ext in '' $ac_executable_extensions; do
4938 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
4939 ac_cv_prog_FLEX="$ac_prog"
4940 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4941 break 2
4943 done
4944 done
4945 IFS=$as_save_IFS
4949 FLEX=$ac_cv_prog_FLEX
4950 if test -n "$FLEX"; then
4951 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $FLEX" >&5
4952 $as_echo "$FLEX" >&6; }
4953 else
4954 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4955 $as_echo "no" >&6; }
4959 test -n "$FLEX" && break
4960 done
4961 test -n "$FLEX" || FLEX="none"
4963 if test "$FLEX" = "none"
4964 then
4965 as_fn_error $? "no suitable flex found. Please install the 'flex' package." "$LINENO" 5
4967 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether flex is recent enough" >&5
4968 $as_echo_n "checking whether flex is recent enough... " >&6; }
4969 cat >conftest.l <<EOF
4970 %top{
4971 #include "prediluvian.h"
4975 if $FLEX -t conftest.l >/dev/null 2>&5
4976 then
4977 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
4978 $as_echo "yes" >&6; }
4979 else
4980 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4981 $as_echo "no" >&6; }
4982 as_fn_error $? "Your flex version is too old. Please install flex version 2.5.33 or newer." "$LINENO" 5
4985 for ac_prog in bison
4987 # Extract the first word of "$ac_prog", so it can be a program name with args.
4988 set dummy $ac_prog; ac_word=$2
4989 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4990 $as_echo_n "checking for $ac_word... " >&6; }
4991 if ${ac_cv_prog_BISON+:} false; then :
4992 $as_echo_n "(cached) " >&6
4993 else
4994 if test -n "$BISON"; then
4995 ac_cv_prog_BISON="$BISON" # Let the user override the test.
4996 else
4997 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4998 for as_dir in $PATH
5000 IFS=$as_save_IFS
5001 test -z "$as_dir" && as_dir=.
5002 for ac_exec_ext in '' $ac_executable_extensions; do
5003 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
5004 ac_cv_prog_BISON="$ac_prog"
5005 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5006 break 2
5008 done
5009 done
5010 IFS=$as_save_IFS
5014 BISON=$ac_cv_prog_BISON
5015 if test -n "$BISON"; then
5016 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $BISON" >&5
5017 $as_echo "$BISON" >&6; }
5018 else
5019 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5020 $as_echo "no" >&6; }
5024 test -n "$BISON" && break
5025 done
5026 test -n "$BISON" || BISON="none"
5028 if test "$BISON" = "none"
5029 then
5030 as_fn_error $? "no suitable bison found. Please install the 'bison' package." "$LINENO" 5
5033 if test -n "$ac_tool_prefix"; then
5034 for ac_prog in ar gar
5036 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
5037 set dummy $ac_tool_prefix$ac_prog; ac_word=$2
5038 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5039 $as_echo_n "checking for $ac_word... " >&6; }
5040 if ${ac_cv_prog_AR+:} false; then :
5041 $as_echo_n "(cached) " >&6
5042 else
5043 if test -n "$AR"; then
5044 ac_cv_prog_AR="$AR" # Let the user override the test.
5045 else
5046 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5047 for as_dir in $PATH
5049 IFS=$as_save_IFS
5050 test -z "$as_dir" && as_dir=.
5051 for ac_exec_ext in '' $ac_executable_extensions; do
5052 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
5053 ac_cv_prog_AR="$ac_tool_prefix$ac_prog"
5054 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5055 break 2
5057 done
5058 done
5059 IFS=$as_save_IFS
5063 AR=$ac_cv_prog_AR
5064 if test -n "$AR"; then
5065 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $AR" >&5
5066 $as_echo "$AR" >&6; }
5067 else
5068 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5069 $as_echo "no" >&6; }
5073 test -n "$AR" && break
5074 done
5076 if test -z "$AR"; then
5077 ac_ct_AR=$AR
5078 for ac_prog in ar gar
5080 # Extract the first word of "$ac_prog", so it can be a program name with args.
5081 set dummy $ac_prog; ac_word=$2
5082 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5083 $as_echo_n "checking for $ac_word... " >&6; }
5084 if ${ac_cv_prog_ac_ct_AR+:} false; then :
5085 $as_echo_n "(cached) " >&6
5086 else
5087 if test -n "$ac_ct_AR"; then
5088 ac_cv_prog_ac_ct_AR="$ac_ct_AR" # Let the user override the test.
5089 else
5090 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5091 for as_dir in $PATH
5093 IFS=$as_save_IFS
5094 test -z "$as_dir" && as_dir=.
5095 for ac_exec_ext in '' $ac_executable_extensions; do
5096 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
5097 ac_cv_prog_ac_ct_AR="$ac_prog"
5098 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5099 break 2
5101 done
5102 done
5103 IFS=$as_save_IFS
5107 ac_ct_AR=$ac_cv_prog_ac_ct_AR
5108 if test -n "$ac_ct_AR"; then
5109 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_AR" >&5
5110 $as_echo "$ac_ct_AR" >&6; }
5111 else
5112 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5113 $as_echo "no" >&6; }
5117 test -n "$ac_ct_AR" && break
5118 done
5120 if test "x$ac_ct_AR" = x; then
5121 AR="ar"
5122 else
5123 case $cross_compiling:$ac_tool_warned in
5124 yes:)
5125 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
5126 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
5127 ac_tool_warned=yes ;;
5128 esac
5129 AR=$ac_ct_AR
5133 if test -n "$ac_tool_prefix"; then
5134 # Extract the first word of "${ac_tool_prefix}strip", so it can be a program name with args.
5135 set dummy ${ac_tool_prefix}strip; ac_word=$2
5136 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5137 $as_echo_n "checking for $ac_word... " >&6; }
5138 if ${ac_cv_prog_STRIP+:} false; then :
5139 $as_echo_n "(cached) " >&6
5140 else
5141 if test -n "$STRIP"; then
5142 ac_cv_prog_STRIP="$STRIP" # Let the user override the test.
5143 else
5144 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5145 for as_dir in $PATH
5147 IFS=$as_save_IFS
5148 test -z "$as_dir" && as_dir=.
5149 for ac_exec_ext in '' $ac_executable_extensions; do
5150 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
5151 ac_cv_prog_STRIP="${ac_tool_prefix}strip"
5152 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5153 break 2
5155 done
5156 done
5157 IFS=$as_save_IFS
5161 STRIP=$ac_cv_prog_STRIP
5162 if test -n "$STRIP"; then
5163 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $STRIP" >&5
5164 $as_echo "$STRIP" >&6; }
5165 else
5166 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5167 $as_echo "no" >&6; }
5172 if test -z "$ac_cv_prog_STRIP"; then
5173 ac_ct_STRIP=$STRIP
5174 # Extract the first word of "strip", so it can be a program name with args.
5175 set dummy strip; ac_word=$2
5176 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5177 $as_echo_n "checking for $ac_word... " >&6; }
5178 if ${ac_cv_prog_ac_ct_STRIP+:} false; then :
5179 $as_echo_n "(cached) " >&6
5180 else
5181 if test -n "$ac_ct_STRIP"; then
5182 ac_cv_prog_ac_ct_STRIP="$ac_ct_STRIP" # Let the user override the test.
5183 else
5184 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5185 for as_dir in $PATH
5187 IFS=$as_save_IFS
5188 test -z "$as_dir" && as_dir=.
5189 for ac_exec_ext in '' $ac_executable_extensions; do
5190 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
5191 ac_cv_prog_ac_ct_STRIP="strip"
5192 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5193 break 2
5195 done
5196 done
5197 IFS=$as_save_IFS
5201 ac_ct_STRIP=$ac_cv_prog_ac_ct_STRIP
5202 if test -n "$ac_ct_STRIP"; then
5203 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_STRIP" >&5
5204 $as_echo "$ac_ct_STRIP" >&6; }
5205 else
5206 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5207 $as_echo "no" >&6; }
5210 if test "x$ac_ct_STRIP" = x; then
5211 STRIP="strip"
5212 else
5213 case $cross_compiling:$ac_tool_warned in
5214 yes:)
5215 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
5216 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
5217 ac_tool_warned=yes ;;
5218 esac
5219 STRIP=$ac_ct_STRIP
5221 else
5222 STRIP="$ac_cv_prog_STRIP"
5225 ARFLAGS=rc
5227 if test -n "$ac_tool_prefix"; then
5228 # Extract the first word of "${ac_tool_prefix}ranlib", so it can be a program name with args.
5229 set dummy ${ac_tool_prefix}ranlib; ac_word=$2
5230 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5231 $as_echo_n "checking for $ac_word... " >&6; }
5232 if ${ac_cv_prog_RANLIB+:} false; then :
5233 $as_echo_n "(cached) " >&6
5234 else
5235 if test -n "$RANLIB"; then
5236 ac_cv_prog_RANLIB="$RANLIB" # Let the user override the test.
5237 else
5238 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5239 for as_dir in $PATH
5241 IFS=$as_save_IFS
5242 test -z "$as_dir" && as_dir=.
5243 for ac_exec_ext in '' $ac_executable_extensions; do
5244 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
5245 ac_cv_prog_RANLIB="${ac_tool_prefix}ranlib"
5246 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5247 break 2
5249 done
5250 done
5251 IFS=$as_save_IFS
5255 RANLIB=$ac_cv_prog_RANLIB
5256 if test -n "$RANLIB"; then
5257 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $RANLIB" >&5
5258 $as_echo "$RANLIB" >&6; }
5259 else
5260 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5261 $as_echo "no" >&6; }
5266 if test -z "$ac_cv_prog_RANLIB"; then
5267 ac_ct_RANLIB=$RANLIB
5268 # Extract the first word of "ranlib", so it can be a program name with args.
5269 set dummy ranlib; ac_word=$2
5270 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5271 $as_echo_n "checking for $ac_word... " >&6; }
5272 if ${ac_cv_prog_ac_ct_RANLIB+:} false; then :
5273 $as_echo_n "(cached) " >&6
5274 else
5275 if test -n "$ac_ct_RANLIB"; then
5276 ac_cv_prog_ac_ct_RANLIB="$ac_ct_RANLIB" # Let the user override the test.
5277 else
5278 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5279 for as_dir in $PATH
5281 IFS=$as_save_IFS
5282 test -z "$as_dir" && as_dir=.
5283 for ac_exec_ext in '' $ac_executable_extensions; do
5284 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
5285 ac_cv_prog_ac_ct_RANLIB="ranlib"
5286 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5287 break 2
5289 done
5290 done
5291 IFS=$as_save_IFS
5295 ac_ct_RANLIB=$ac_cv_prog_ac_ct_RANLIB
5296 if test -n "$ac_ct_RANLIB"; then
5297 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_RANLIB" >&5
5298 $as_echo "$ac_ct_RANLIB" >&6; }
5299 else
5300 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5301 $as_echo "no" >&6; }
5304 if test "x$ac_ct_RANLIB" = x; then
5305 RANLIB=":"
5306 else
5307 case $cross_compiling:$ac_tool_warned in
5308 yes:)
5309 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
5310 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
5311 ac_tool_warned=yes ;;
5312 esac
5313 RANLIB=$ac_ct_RANLIB
5315 else
5316 RANLIB="$ac_cv_prog_RANLIB"
5319 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ln -s works" >&5
5320 $as_echo_n "checking whether ln -s works... " >&6; }
5321 LN_S=$as_ln_s
5322 if test "$LN_S" = "ln -s"; then
5323 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
5324 $as_echo "yes" >&6; }
5325 else
5326 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no, using $LN_S" >&5
5327 $as_echo "no, using $LN_S" >&6; }
5330 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for grep that handles long lines and -e" >&5
5331 $as_echo_n "checking for grep that handles long lines and -e... " >&6; }
5332 if ${ac_cv_path_GREP+:} false; then :
5333 $as_echo_n "(cached) " >&6
5334 else
5335 if test -z "$GREP"; then
5336 ac_path_GREP_found=false
5337 # Loop through the user's path and test for each of PROGNAME-LIST
5338 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5339 for as_dir in $PATH$PATH_SEPARATOR/usr/xpg4/bin
5341 IFS=$as_save_IFS
5342 test -z "$as_dir" && as_dir=.
5343 for ac_prog in grep ggrep; do
5344 for ac_exec_ext in '' $ac_executable_extensions; do
5345 ac_path_GREP="$as_dir/$ac_prog$ac_exec_ext"
5346 as_fn_executable_p "$ac_path_GREP" || continue
5347 # Check for GNU ac_path_GREP and select it if it is found.
5348 # Check for GNU $ac_path_GREP
5349 case `"$ac_path_GREP" --version 2>&1` in
5350 *GNU*)
5351 ac_cv_path_GREP="$ac_path_GREP" ac_path_GREP_found=:;;
5353 ac_count=0
5354 $as_echo_n 0123456789 >"conftest.in"
5355 while :
5357 cat "conftest.in" "conftest.in" >"conftest.tmp"
5358 mv "conftest.tmp" "conftest.in"
5359 cp "conftest.in" "conftest.nl"
5360 $as_echo 'GREP' >> "conftest.nl"
5361 "$ac_path_GREP" -e 'GREP$' -e '-(cannot match)-' < "conftest.nl" >"conftest.out" 2>/dev/null || break
5362 diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break
5363 as_fn_arith $ac_count + 1 && ac_count=$as_val
5364 if test $ac_count -gt ${ac_path_GREP_max-0}; then
5365 # Best one so far, save it but keep looking for a better one
5366 ac_cv_path_GREP="$ac_path_GREP"
5367 ac_path_GREP_max=$ac_count
5369 # 10*(2^10) chars as input seems more than enough
5370 test $ac_count -gt 10 && break
5371 done
5372 rm -f conftest.in conftest.tmp conftest.nl conftest.out;;
5373 esac
5375 $ac_path_GREP_found && break 3
5376 done
5377 done
5378 done
5379 IFS=$as_save_IFS
5380 if test -z "$ac_cv_path_GREP"; then
5381 as_fn_error $? "no acceptable grep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" "$LINENO" 5
5383 else
5384 ac_cv_path_GREP=$GREP
5388 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_GREP" >&5
5389 $as_echo "$ac_cv_path_GREP" >&6; }
5390 GREP="$ac_cv_path_GREP"
5393 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for egrep" >&5
5394 $as_echo_n "checking for egrep... " >&6; }
5395 if ${ac_cv_path_EGREP+:} false; then :
5396 $as_echo_n "(cached) " >&6
5397 else
5398 if echo a | $GREP -E '(a|b)' >/dev/null 2>&1
5399 then ac_cv_path_EGREP="$GREP -E"
5400 else
5401 if test -z "$EGREP"; then
5402 ac_path_EGREP_found=false
5403 # Loop through the user's path and test for each of PROGNAME-LIST
5404 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5405 for as_dir in $PATH$PATH_SEPARATOR/usr/xpg4/bin
5407 IFS=$as_save_IFS
5408 test -z "$as_dir" && as_dir=.
5409 for ac_prog in egrep; do
5410 for ac_exec_ext in '' $ac_executable_extensions; do
5411 ac_path_EGREP="$as_dir/$ac_prog$ac_exec_ext"
5412 as_fn_executable_p "$ac_path_EGREP" || continue
5413 # Check for GNU ac_path_EGREP and select it if it is found.
5414 # Check for GNU $ac_path_EGREP
5415 case `"$ac_path_EGREP" --version 2>&1` in
5416 *GNU*)
5417 ac_cv_path_EGREP="$ac_path_EGREP" ac_path_EGREP_found=:;;
5419 ac_count=0
5420 $as_echo_n 0123456789 >"conftest.in"
5421 while :
5423 cat "conftest.in" "conftest.in" >"conftest.tmp"
5424 mv "conftest.tmp" "conftest.in"
5425 cp "conftest.in" "conftest.nl"
5426 $as_echo 'EGREP' >> "conftest.nl"
5427 "$ac_path_EGREP" 'EGREP$' < "conftest.nl" >"conftest.out" 2>/dev/null || break
5428 diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break
5429 as_fn_arith $ac_count + 1 && ac_count=$as_val
5430 if test $ac_count -gt ${ac_path_EGREP_max-0}; then
5431 # Best one so far, save it but keep looking for a better one
5432 ac_cv_path_EGREP="$ac_path_EGREP"
5433 ac_path_EGREP_max=$ac_count
5435 # 10*(2^10) chars as input seems more than enough
5436 test $ac_count -gt 10 && break
5437 done
5438 rm -f conftest.in conftest.tmp conftest.nl conftest.out;;
5439 esac
5441 $ac_path_EGREP_found && break 3
5442 done
5443 done
5444 done
5445 IFS=$as_save_IFS
5446 if test -z "$ac_cv_path_EGREP"; then
5447 as_fn_error $? "no acceptable egrep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" "$LINENO" 5
5449 else
5450 ac_cv_path_EGREP=$EGREP
5455 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_EGREP" >&5
5456 $as_echo "$ac_cv_path_EGREP" >&6; }
5457 EGREP="$ac_cv_path_EGREP"
5460 # Extract the first word of "ldconfig", so it can be a program name with args.
5461 set dummy ldconfig; ac_word=$2
5462 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5463 $as_echo_n "checking for $ac_word... " >&6; }
5464 if ${ac_cv_path_LDCONFIG+:} false; then :
5465 $as_echo_n "(cached) " >&6
5466 else
5467 case $LDCONFIG in
5468 [\\/]* | ?:[\\/]*)
5469 ac_cv_path_LDCONFIG="$LDCONFIG" # Let the user override the test with a path.
5472 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5473 for as_dir in /sbin /usr/sbin $PATH
5475 IFS=$as_save_IFS
5476 test -z "$as_dir" && as_dir=.
5477 for ac_exec_ext in '' $ac_executable_extensions; do
5478 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
5479 ac_cv_path_LDCONFIG="$as_dir/$ac_word$ac_exec_ext"
5480 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5481 break 2
5483 done
5484 done
5485 IFS=$as_save_IFS
5487 test -z "$ac_cv_path_LDCONFIG" && ac_cv_path_LDCONFIG="true"
5489 esac
5491 LDCONFIG=$ac_cv_path_LDCONFIG
5492 if test -n "$LDCONFIG"; then
5493 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $LDCONFIG" >&5
5494 $as_echo "$LDCONFIG" >&6; }
5495 else
5496 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5497 $as_echo "no" >&6; }
5501 for ac_prog in msgfmt
5503 # Extract the first word of "$ac_prog", so it can be a program name with args.
5504 set dummy $ac_prog; ac_word=$2
5505 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5506 $as_echo_n "checking for $ac_word... " >&6; }
5507 if ${ac_cv_prog_MSGFMT+:} false; then :
5508 $as_echo_n "(cached) " >&6
5509 else
5510 if test -n "$MSGFMT"; then
5511 ac_cv_prog_MSGFMT="$MSGFMT" # Let the user override the test.
5512 else
5513 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5514 for as_dir in $PATH
5516 IFS=$as_save_IFS
5517 test -z "$as_dir" && as_dir=.
5518 for ac_exec_ext in '' $ac_executable_extensions; do
5519 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
5520 ac_cv_prog_MSGFMT="$ac_prog"
5521 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5522 break 2
5524 done
5525 done
5526 IFS=$as_save_IFS
5530 MSGFMT=$ac_cv_prog_MSGFMT
5531 if test -n "$MSGFMT"; then
5532 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $MSGFMT" >&5
5533 $as_echo "$MSGFMT" >&6; }
5534 else
5535 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5536 $as_echo "no" >&6; }
5540 test -n "$MSGFMT" && break
5541 done
5542 test -n "$MSGFMT" || MSGFMT="false"
5544 if ${ac_tool_prefix+:} false; then :
5545 # Extract the first word of "${ac_tool_prefix}pkg-config", so it can be a program name with args.
5546 set dummy ${ac_tool_prefix}pkg-config; ac_word=$2
5547 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5548 $as_echo_n "checking for $ac_word... " >&6; }
5549 if ${ac_cv_prog_PKG_CONFIG+:} false; then :
5550 $as_echo_n "(cached) " >&6
5551 else
5552 if test -n "$PKG_CONFIG"; then
5553 ac_cv_prog_PKG_CONFIG="$PKG_CONFIG" # Let the user override the test.
5554 else
5555 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5556 for as_dir in $PATH
5558 IFS=$as_save_IFS
5559 test -z "$as_dir" && as_dir=.
5560 for ac_exec_ext in '' $ac_executable_extensions; do
5561 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
5562 ac_cv_prog_PKG_CONFIG="${ac_tool_prefix}pkg-config"
5563 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5564 break 2
5566 done
5567 done
5568 IFS=$as_save_IFS
5572 PKG_CONFIG=$ac_cv_prog_PKG_CONFIG
5573 if test -n "$PKG_CONFIG"; then
5574 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $PKG_CONFIG" >&5
5575 $as_echo "$PKG_CONFIG" >&6; }
5576 else
5577 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5578 $as_echo "no" >&6; }
5583 if ${ac_cv_prog_PKG_CONFIG:+false} :; then :
5584 if test "x$cross_compiling" = xyes; then :
5586 else
5587 { ac_cv_prog_PKG_CONFIG=; unset ac_cv_prog_PKG_CONFIG;}
5588 # Extract the first word of "pkg-config", so it can be a program name with args.
5589 set dummy pkg-config; ac_word=$2
5590 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5591 $as_echo_n "checking for $ac_word... " >&6; }
5592 if ${ac_cv_prog_PKG_CONFIG+:} false; then :
5593 $as_echo_n "(cached) " >&6
5594 else
5595 if test -n "$PKG_CONFIG"; then
5596 ac_cv_prog_PKG_CONFIG="$PKG_CONFIG" # Let the user override the test.
5597 else
5598 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5599 for as_dir in $PATH
5601 IFS=$as_save_IFS
5602 test -z "$as_dir" && as_dir=.
5603 for ac_exec_ext in '' $ac_executable_extensions; do
5604 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
5605 ac_cv_prog_PKG_CONFIG="pkg-config"
5606 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5607 break 2
5609 done
5610 done
5611 IFS=$as_save_IFS
5615 PKG_CONFIG=$ac_cv_prog_PKG_CONFIG
5616 if test -n "$PKG_CONFIG"; then
5617 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $PKG_CONFIG" >&5
5618 $as_echo "$PKG_CONFIG" >&6; }
5619 else
5620 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5621 $as_echo "no" >&6; }
5626 else
5627 PKG_CONFIG=$ac_cv_prog_PKG_CONFIG
5630 if test "x$enable_maintainer_mode" != "xyes"
5631 then
5632 FONTFORGE=""
5633 RSVG=""
5634 CONVERT=""
5635 ICOTOOL=""
5636 else
5637 test "$srcdir" = . || as_fn_error $? "Maintainer mode cannot work out of tree." "$LINENO" 5
5638 for ac_prog in fontforge
5640 # Extract the first word of "$ac_prog", so it can be a program name with args.
5641 set dummy $ac_prog; ac_word=$2
5642 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5643 $as_echo_n "checking for $ac_word... " >&6; }
5644 if ${ac_cv_prog_FONTFORGE+:} false; then :
5645 $as_echo_n "(cached) " >&6
5646 else
5647 if test -n "$FONTFORGE"; then
5648 ac_cv_prog_FONTFORGE="$FONTFORGE" # Let the user override the test.
5649 else
5650 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5651 for as_dir in $PATH
5653 IFS=$as_save_IFS
5654 test -z "$as_dir" && as_dir=.
5655 for ac_exec_ext in '' $ac_executable_extensions; do
5656 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
5657 ac_cv_prog_FONTFORGE="$ac_prog"
5658 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5659 break 2
5661 done
5662 done
5663 IFS=$as_save_IFS
5667 FONTFORGE=$ac_cv_prog_FONTFORGE
5668 if test -n "$FONTFORGE"; then
5669 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $FONTFORGE" >&5
5670 $as_echo "$FONTFORGE" >&6; }
5671 else
5672 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5673 $as_echo "no" >&6; }
5677 test -n "$FONTFORGE" && break
5678 done
5679 test -n "$FONTFORGE" || FONTFORGE="false"
5681 for ac_prog in rsvg
5683 # Extract the first word of "$ac_prog", so it can be a program name with args.
5684 set dummy $ac_prog; ac_word=$2
5685 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5686 $as_echo_n "checking for $ac_word... " >&6; }
5687 if ${ac_cv_prog_RSVG+:} false; then :
5688 $as_echo_n "(cached) " >&6
5689 else
5690 if test -n "$RSVG"; then
5691 ac_cv_prog_RSVG="$RSVG" # Let the user override the test.
5692 else
5693 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5694 for as_dir in $PATH
5696 IFS=$as_save_IFS
5697 test -z "$as_dir" && as_dir=.
5698 for ac_exec_ext in '' $ac_executable_extensions; do
5699 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
5700 ac_cv_prog_RSVG="$ac_prog"
5701 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5702 break 2
5704 done
5705 done
5706 IFS=$as_save_IFS
5710 RSVG=$ac_cv_prog_RSVG
5711 if test -n "$RSVG"; then
5712 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $RSVG" >&5
5713 $as_echo "$RSVG" >&6; }
5714 else
5715 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5716 $as_echo "no" >&6; }
5720 test -n "$RSVG" && break
5721 done
5722 test -n "$RSVG" || RSVG="false"
5724 for ac_prog in convert
5726 # Extract the first word of "$ac_prog", so it can be a program name with args.
5727 set dummy $ac_prog; ac_word=$2
5728 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5729 $as_echo_n "checking for $ac_word... " >&6; }
5730 if ${ac_cv_prog_CONVERT+:} false; then :
5731 $as_echo_n "(cached) " >&6
5732 else
5733 if test -n "$CONVERT"; then
5734 ac_cv_prog_CONVERT="$CONVERT" # Let the user override the test.
5735 else
5736 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5737 for as_dir in $PATH
5739 IFS=$as_save_IFS
5740 test -z "$as_dir" && as_dir=.
5741 for ac_exec_ext in '' $ac_executable_extensions; do
5742 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
5743 ac_cv_prog_CONVERT="$ac_prog"
5744 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5745 break 2
5747 done
5748 done
5749 IFS=$as_save_IFS
5753 CONVERT=$ac_cv_prog_CONVERT
5754 if test -n "$CONVERT"; then
5755 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CONVERT" >&5
5756 $as_echo "$CONVERT" >&6; }
5757 else
5758 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5759 $as_echo "no" >&6; }
5763 test -n "$CONVERT" && break
5764 done
5765 test -n "$CONVERT" || CONVERT="false"
5767 for ac_prog in icotool
5769 # Extract the first word of "$ac_prog", so it can be a program name with args.
5770 set dummy $ac_prog; ac_word=$2
5771 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5772 $as_echo_n "checking for $ac_word... " >&6; }
5773 if ${ac_cv_prog_ICOTOOL+:} false; then :
5774 $as_echo_n "(cached) " >&6
5775 else
5776 if test -n "$ICOTOOL"; then
5777 ac_cv_prog_ICOTOOL="$ICOTOOL" # Let the user override the test.
5778 else
5779 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5780 for as_dir in $PATH
5782 IFS=$as_save_IFS
5783 test -z "$as_dir" && as_dir=.
5784 for ac_exec_ext in '' $ac_executable_extensions; do
5785 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
5786 ac_cv_prog_ICOTOOL="$ac_prog"
5787 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5788 break 2
5790 done
5791 done
5792 IFS=$as_save_IFS
5796 ICOTOOL=$ac_cv_prog_ICOTOOL
5797 if test -n "$ICOTOOL"; then
5798 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ICOTOOL" >&5
5799 $as_echo "$ICOTOOL" >&6; }
5800 else
5801 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5802 $as_echo "no" >&6; }
5806 test -n "$ICOTOOL" && break
5807 done
5808 test -n "$ICOTOOL" || ICOTOOL="false"
5810 test "$FONTFORGE" != "false" || as_fn_error $? "You need fontforge to rebuild fonts in maintainer mode." "$LINENO" 5
5811 test "$RSVG" != "false" || as_fn_error $? "You need rsvg to rebuild icons in maintainer mode." "$LINENO" 5
5813 if test "$CONVERT" = false
5814 then
5815 as_fn_error $? "You need imagemagick to rebuild icons in maintainer mode." "$LINENO" 5
5816 else
5817 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for recent enough imagemagick" >&5
5818 $as_echo_n "checking for recent enough imagemagick... " >&6; }
5819 convert_version=`convert --version | head -n1`
5820 if test "x$convert_version" != "x"
5821 then
5822 convert_version_major=`expr "$convert_version" : '.* \([0-9]*\)\.[0-9]*'`
5823 convert_version_minor=`expr "$convert_version" : '.* [0-9]*\.\([0-9]*\)'`
5824 if test "$convert_version_major" -eq 6 -a "$convert_version_minor" -lt 6
5825 then
5826 CONVERT=false
5829 if test "$CONVERT" = false
5830 then
5831 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no ($convert_version_major.$convert_version_minor)" >&5
5832 $as_echo "no ($convert_version_major.$convert_version_minor)" >&6; }
5833 as_fn_error $? "You need imagemagick version 6.6 or newer to rebuild icons in maintainer mode." "$LINENO" 5
5834 else
5835 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes ($convert_version_major.$convert_version_minor)" >&5
5836 $as_echo "yes ($convert_version_major.$convert_version_minor)" >&6; }
5840 if test "$ICOTOOL" = false
5841 then
5842 as_fn_error $? "You need icotool to rebuild icons in maintainer mode." "$LINENO" 5
5843 else
5844 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for recent enough icotool" >&5
5845 $as_echo_n "checking for recent enough icotool... " >&6; }
5846 icotool_version=`icotool --version | head -n1`
5847 if test "x$icotool_version" != "x"
5848 then
5849 icotool_version_major=`expr "$icotool_version" : '.* \([0-9]*\)\.[0-9]*'`
5850 icotool_version_minor=`expr "$icotool_version" : '.* [0-9]*\.\([0-9]*\)'`
5851 if test "$icotool_version_major" -eq 0 -a "$icotool_version_minor" -lt 29
5852 then
5853 ICOTOOL=false
5854 as_fn_append wine_warnings "|icotool version 0.29.0 or newer is needed to rebuild icons."
5857 if test "$ICOTOOL" = false
5858 then
5859 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no ($icotool_version_major.$icotool_version_minor)" >&5
5860 $as_echo "no ($icotool_version_major.$icotool_version_minor)" >&6; }
5861 as_fn_error $? "You need icotool version 0.29.0 or newer to rebuild icons in maintainer mode." "$LINENO" 5
5862 else
5863 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes ($icotool_version_major.$icotool_version_minor)" >&5
5864 $as_echo "yes ($icotool_version_major.$icotool_version_minor)" >&6; }
5868 with_gettext=yes
5869 with_gettextpo=yes
5870 { ac_cv_header_gettext_po_h=; unset ac_cv_header_gettext_po_h;}
5873 test "x$with_gettext" != xno || MSGFMT=false
5874 if test "$MSGFMT" != "false"
5875 then
5876 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether msgfmt supports contexts" >&5
5877 $as_echo_n "checking whether msgfmt supports contexts... " >&6; }
5878 cat >conftest.po <<EOF
5879 # comment
5880 msgctxt "ctxt"
5881 msgid "id"
5882 msgstr "str"
5884 if $MSGFMT -o /dev/null conftest.po 2>&5
5885 then
5886 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
5887 $as_echo "yes" >&6; }
5888 else
5889 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5890 $as_echo "no" >&6; }
5891 MSGFMT=false
5894 if test "$MSGFMT" = false; then :
5895 case "x$with_gettext" in
5896 x) as_fn_append wine_warnings "|gettext tools not found (or too old), translations won't be built." ;;
5897 xno) ;;
5898 *) as_fn_error $? "gettext tools not found (or too old), translations won't be built.
5899 This is an error since --with-gettext was requested." "$LINENO" 5 ;;
5900 esac
5904 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for i386_set_ldt in -li386" >&5
5905 $as_echo_n "checking for i386_set_ldt in -li386... " >&6; }
5906 if ${ac_cv_lib_i386_i386_set_ldt+:} false; then :
5907 $as_echo_n "(cached) " >&6
5908 else
5909 ac_check_lib_save_LIBS=$LIBS
5910 LIBS="-li386 $LIBS"
5911 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
5912 /* end confdefs.h. */
5914 /* Override any GCC internal prototype to avoid an error.
5915 Use char because int might match the return type of a GCC
5916 builtin and then its argument prototype would still apply. */
5917 #ifdef __cplusplus
5918 extern "C"
5919 #endif
5920 char i386_set_ldt ();
5922 main ()
5924 return i386_set_ldt ();
5926 return 0;
5928 _ACEOF
5929 if ac_fn_c_try_link "$LINENO"; then :
5930 ac_cv_lib_i386_i386_set_ldt=yes
5931 else
5932 ac_cv_lib_i386_i386_set_ldt=no
5934 rm -f core conftest.err conftest.$ac_objext \
5935 conftest$ac_exeext conftest.$ac_ext
5936 LIBS=$ac_check_lib_save_LIBS
5938 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_i386_i386_set_ldt" >&5
5939 $as_echo "$ac_cv_lib_i386_i386_set_ldt" >&6; }
5940 if test "x$ac_cv_lib_i386_i386_set_ldt" = xyes; then :
5941 cat >>confdefs.h <<_ACEOF
5942 #define HAVE_LIBI386 1
5943 _ACEOF
5945 LIBS="-li386 $LIBS"
5949 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _oss_ioctl in -lossaudio" >&5
5950 $as_echo_n "checking for _oss_ioctl in -lossaudio... " >&6; }
5951 if ${ac_cv_lib_ossaudio__oss_ioctl+:} false; then :
5952 $as_echo_n "(cached) " >&6
5953 else
5954 ac_check_lib_save_LIBS=$LIBS
5955 LIBS="-lossaudio $LIBS"
5956 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
5957 /* end confdefs.h. */
5959 /* Override any GCC internal prototype to avoid an error.
5960 Use char because int might match the return type of a GCC
5961 builtin and then its argument prototype would still apply. */
5962 #ifdef __cplusplus
5963 extern "C"
5964 #endif
5965 char _oss_ioctl ();
5967 main ()
5969 return _oss_ioctl ();
5971 return 0;
5973 _ACEOF
5974 if ac_fn_c_try_link "$LINENO"; then :
5975 ac_cv_lib_ossaudio__oss_ioctl=yes
5976 else
5977 ac_cv_lib_ossaudio__oss_ioctl=no
5979 rm -f core conftest.err conftest.$ac_objext \
5980 conftest$ac_exeext conftest.$ac_ext
5981 LIBS=$ac_check_lib_save_LIBS
5983 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_ossaudio__oss_ioctl" >&5
5984 $as_echo "$ac_cv_lib_ossaudio__oss_ioctl" >&6; }
5985 if test "x$ac_cv_lib_ossaudio__oss_ioctl" = xyes; then :
5986 cat >>confdefs.h <<_ACEOF
5987 #define HAVE_LIBOSSAUDIO 1
5988 _ACEOF
5990 LIBS="-lossaudio $LIBS"
5995 OPENGL_LIBS=""
5999 # Check whether --enable-largefile was given.
6000 if test "${enable_largefile+set}" = set; then :
6001 enableval=$enable_largefile;
6004 if test "$enable_largefile" != no; then
6006 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for special C compiler options needed for large files" >&5
6007 $as_echo_n "checking for special C compiler options needed for large files... " >&6; }
6008 if ${ac_cv_sys_largefile_CC+:} false; then :
6009 $as_echo_n "(cached) " >&6
6010 else
6011 ac_cv_sys_largefile_CC=no
6012 if test "$GCC" != yes; then
6013 ac_save_CC=$CC
6014 while :; do
6015 # IRIX 6.2 and later do not support large files by default,
6016 # so use the C compiler's -n32 option if that helps.
6017 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
6018 /* end confdefs.h. */
6019 #include <sys/types.h>
6020 /* Check that off_t can represent 2**63 - 1 correctly.
6021 We can't simply define LARGE_OFF_T to be 9223372036854775807,
6022 since some C++ compilers masquerading as C compilers
6023 incorrectly reject 9223372036854775807. */
6024 #define LARGE_OFF_T ((((off_t) 1 << 31) << 31) - 1 + (((off_t) 1 << 31) << 31))
6025 int off_t_is_large[(LARGE_OFF_T % 2147483629 == 721
6026 && LARGE_OFF_T % 2147483647 == 1)
6027 ? 1 : -1];
6029 main ()
6033 return 0;
6035 _ACEOF
6036 if ac_fn_c_try_compile "$LINENO"; then :
6037 break
6039 rm -f core conftest.err conftest.$ac_objext
6040 CC="$CC -n32"
6041 if ac_fn_c_try_compile "$LINENO"; then :
6042 ac_cv_sys_largefile_CC=' -n32'; break
6044 rm -f core conftest.err conftest.$ac_objext
6045 break
6046 done
6047 CC=$ac_save_CC
6048 rm -f conftest.$ac_ext
6051 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_sys_largefile_CC" >&5
6052 $as_echo "$ac_cv_sys_largefile_CC" >&6; }
6053 if test "$ac_cv_sys_largefile_CC" != no; then
6054 CC=$CC$ac_cv_sys_largefile_CC
6057 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _FILE_OFFSET_BITS value needed for large files" >&5
6058 $as_echo_n "checking for _FILE_OFFSET_BITS value needed for large files... " >&6; }
6059 if ${ac_cv_sys_file_offset_bits+:} false; then :
6060 $as_echo_n "(cached) " >&6
6061 else
6062 while :; do
6063 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
6064 /* end confdefs.h. */
6065 #include <sys/types.h>
6066 /* Check that off_t can represent 2**63 - 1 correctly.
6067 We can't simply define LARGE_OFF_T to be 9223372036854775807,
6068 since some C++ compilers masquerading as C compilers
6069 incorrectly reject 9223372036854775807. */
6070 #define LARGE_OFF_T ((((off_t) 1 << 31) << 31) - 1 + (((off_t) 1 << 31) << 31))
6071 int off_t_is_large[(LARGE_OFF_T % 2147483629 == 721
6072 && LARGE_OFF_T % 2147483647 == 1)
6073 ? 1 : -1];
6075 main ()
6079 return 0;
6081 _ACEOF
6082 if ac_fn_c_try_compile "$LINENO"; then :
6083 ac_cv_sys_file_offset_bits=no; break
6085 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
6086 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
6087 /* end confdefs.h. */
6088 #define _FILE_OFFSET_BITS 64
6089 #include <sys/types.h>
6090 /* Check that off_t can represent 2**63 - 1 correctly.
6091 We can't simply define LARGE_OFF_T to be 9223372036854775807,
6092 since some C++ compilers masquerading as C compilers
6093 incorrectly reject 9223372036854775807. */
6094 #define LARGE_OFF_T ((((off_t) 1 << 31) << 31) - 1 + (((off_t) 1 << 31) << 31))
6095 int off_t_is_large[(LARGE_OFF_T % 2147483629 == 721
6096 && LARGE_OFF_T % 2147483647 == 1)
6097 ? 1 : -1];
6099 main ()
6103 return 0;
6105 _ACEOF
6106 if ac_fn_c_try_compile "$LINENO"; then :
6107 ac_cv_sys_file_offset_bits=64; break
6109 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
6110 ac_cv_sys_file_offset_bits=unknown
6111 break
6112 done
6114 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_sys_file_offset_bits" >&5
6115 $as_echo "$ac_cv_sys_file_offset_bits" >&6; }
6116 case $ac_cv_sys_file_offset_bits in #(
6117 no | unknown) ;;
6119 cat >>confdefs.h <<_ACEOF
6120 #define _FILE_OFFSET_BITS $ac_cv_sys_file_offset_bits
6121 _ACEOF
6123 esac
6124 rm -rf conftest*
6125 if test $ac_cv_sys_file_offset_bits = unknown; then
6126 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _LARGE_FILES value needed for large files" >&5
6127 $as_echo_n "checking for _LARGE_FILES value needed for large files... " >&6; }
6128 if ${ac_cv_sys_large_files+:} false; then :
6129 $as_echo_n "(cached) " >&6
6130 else
6131 while :; do
6132 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
6133 /* end confdefs.h. */
6134 #include <sys/types.h>
6135 /* Check that off_t can represent 2**63 - 1 correctly.
6136 We can't simply define LARGE_OFF_T to be 9223372036854775807,
6137 since some C++ compilers masquerading as C compilers
6138 incorrectly reject 9223372036854775807. */
6139 #define LARGE_OFF_T ((((off_t) 1 << 31) << 31) - 1 + (((off_t) 1 << 31) << 31))
6140 int off_t_is_large[(LARGE_OFF_T % 2147483629 == 721
6141 && LARGE_OFF_T % 2147483647 == 1)
6142 ? 1 : -1];
6144 main ()
6148 return 0;
6150 _ACEOF
6151 if ac_fn_c_try_compile "$LINENO"; then :
6152 ac_cv_sys_large_files=no; break
6154 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
6155 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
6156 /* end confdefs.h. */
6157 #define _LARGE_FILES 1
6158 #include <sys/types.h>
6159 /* Check that off_t can represent 2**63 - 1 correctly.
6160 We can't simply define LARGE_OFF_T to be 9223372036854775807,
6161 since some C++ compilers masquerading as C compilers
6162 incorrectly reject 9223372036854775807. */
6163 #define LARGE_OFF_T ((((off_t) 1 << 31) << 31) - 1 + (((off_t) 1 << 31) << 31))
6164 int off_t_is_large[(LARGE_OFF_T % 2147483629 == 721
6165 && LARGE_OFF_T % 2147483647 == 1)
6166 ? 1 : -1];
6168 main ()
6172 return 0;
6174 _ACEOF
6175 if ac_fn_c_try_compile "$LINENO"; then :
6176 ac_cv_sys_large_files=1; break
6178 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
6179 ac_cv_sys_large_files=unknown
6180 break
6181 done
6183 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_sys_large_files" >&5
6184 $as_echo "$ac_cv_sys_large_files" >&6; }
6185 case $ac_cv_sys_large_files in #(
6186 no | unknown) ;;
6188 cat >>confdefs.h <<_ACEOF
6189 #define _LARGE_FILES $ac_cv_sys_large_files
6190 _ACEOF
6192 esac
6193 rm -rf conftest*
6200 ac_ext=c
6201 ac_cpp='$CPP $CPPFLAGS'
6202 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
6203 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
6204 ac_compiler_gnu=$ac_cv_c_compiler_gnu
6205 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to run the C preprocessor" >&5
6206 $as_echo_n "checking how to run the C preprocessor... " >&6; }
6207 # On Suns, sometimes $CPP names a directory.
6208 if test -n "$CPP" && test -d "$CPP"; then
6209 CPP=
6211 if test -z "$CPP"; then
6212 if ${ac_cv_prog_CPP+:} false; then :
6213 $as_echo_n "(cached) " >&6
6214 else
6215 # Double quotes because CPP needs to be expanded
6216 for CPP in "$CC -E" "$CC -E -traditional-cpp" "/lib/cpp"
6218 ac_preproc_ok=false
6219 for ac_c_preproc_warn_flag in '' yes
6221 # Use a header file that comes with gcc, so configuring glibc
6222 # with a fresh cross-compiler works.
6223 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
6224 # <limits.h> exists even on freestanding compilers.
6225 # On the NeXT, cc -E runs the code through the compiler's parser,
6226 # not just through cpp. "Syntax error" is here to catch this case.
6227 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
6228 /* end confdefs.h. */
6229 #ifdef __STDC__
6230 # include <limits.h>
6231 #else
6232 # include <assert.h>
6233 #endif
6234 Syntax error
6235 _ACEOF
6236 if ac_fn_c_try_cpp "$LINENO"; then :
6238 else
6239 # Broken: fails on valid input.
6240 continue
6242 rm -f conftest.err conftest.i conftest.$ac_ext
6244 # OK, works on sane cases. Now check whether nonexistent headers
6245 # can be detected and how.
6246 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
6247 /* end confdefs.h. */
6248 #include <ac_nonexistent.h>
6249 _ACEOF
6250 if ac_fn_c_try_cpp "$LINENO"; then :
6251 # Broken: success on invalid input.
6252 continue
6253 else
6254 # Passes both tests.
6255 ac_preproc_ok=:
6256 break
6258 rm -f conftest.err conftest.i conftest.$ac_ext
6260 done
6261 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
6262 rm -f conftest.i conftest.err conftest.$ac_ext
6263 if $ac_preproc_ok; then :
6264 break
6267 done
6268 ac_cv_prog_CPP=$CPP
6271 CPP=$ac_cv_prog_CPP
6272 else
6273 ac_cv_prog_CPP=$CPP
6275 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CPP" >&5
6276 $as_echo "$CPP" >&6; }
6277 ac_preproc_ok=false
6278 for ac_c_preproc_warn_flag in '' yes
6280 # Use a header file that comes with gcc, so configuring glibc
6281 # with a fresh cross-compiler works.
6282 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
6283 # <limits.h> exists even on freestanding compilers.
6284 # On the NeXT, cc -E runs the code through the compiler's parser,
6285 # not just through cpp. "Syntax error" is here to catch this case.
6286 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
6287 /* end confdefs.h. */
6288 #ifdef __STDC__
6289 # include <limits.h>
6290 #else
6291 # include <assert.h>
6292 #endif
6293 Syntax error
6294 _ACEOF
6295 if ac_fn_c_try_cpp "$LINENO"; then :
6297 else
6298 # Broken: fails on valid input.
6299 continue
6301 rm -f conftest.err conftest.i conftest.$ac_ext
6303 # OK, works on sane cases. Now check whether nonexistent headers
6304 # can be detected and how.
6305 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
6306 /* end confdefs.h. */
6307 #include <ac_nonexistent.h>
6308 _ACEOF
6309 if ac_fn_c_try_cpp "$LINENO"; then :
6310 # Broken: success on invalid input.
6311 continue
6312 else
6313 # Passes both tests.
6314 ac_preproc_ok=:
6315 break
6317 rm -f conftest.err conftest.i conftest.$ac_ext
6319 done
6320 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
6321 rm -f conftest.i conftest.err conftest.$ac_ext
6322 if $ac_preproc_ok; then :
6324 else
6325 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
6326 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
6327 as_fn_error $? "C preprocessor \"$CPP\" fails sanity check
6328 See \`config.log' for more details" "$LINENO" 5; }
6331 ac_ext=c
6332 ac_cpp='$CPP $CPPFLAGS'
6333 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
6334 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
6335 ac_compiler_gnu=$ac_cv_c_compiler_gnu
6338 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ANSI C header files" >&5
6339 $as_echo_n "checking for ANSI C header files... " >&6; }
6340 if ${ac_cv_header_stdc+:} false; then :
6341 $as_echo_n "(cached) " >&6
6342 else
6343 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
6344 /* end confdefs.h. */
6345 #include <stdlib.h>
6346 #include <stdarg.h>
6347 #include <string.h>
6348 #include <float.h>
6351 main ()
6355 return 0;
6357 _ACEOF
6358 if ac_fn_c_try_compile "$LINENO"; then :
6359 ac_cv_header_stdc=yes
6360 else
6361 ac_cv_header_stdc=no
6363 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
6365 if test $ac_cv_header_stdc = yes; then
6366 # SunOS 4.x string.h does not declare mem*, contrary to ANSI.
6367 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
6368 /* end confdefs.h. */
6369 #include <string.h>
6371 _ACEOF
6372 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
6373 $EGREP "memchr" >/dev/null 2>&1; then :
6375 else
6376 ac_cv_header_stdc=no
6378 rm -f conftest*
6382 if test $ac_cv_header_stdc = yes; then
6383 # ISC 2.0.2 stdlib.h does not declare free, contrary to ANSI.
6384 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
6385 /* end confdefs.h. */
6386 #include <stdlib.h>
6388 _ACEOF
6389 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
6390 $EGREP "free" >/dev/null 2>&1; then :
6392 else
6393 ac_cv_header_stdc=no
6395 rm -f conftest*
6399 if test $ac_cv_header_stdc = yes; then
6400 # /bin/cc in Irix-4.0.5 gets non-ANSI ctype macros unless using -ansi.
6401 if test "$cross_compiling" = yes; then :
6403 else
6404 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
6405 /* end confdefs.h. */
6406 #include <ctype.h>
6407 #include <stdlib.h>
6408 #if ((' ' & 0x0FF) == 0x020)
6409 # define ISLOWER(c) ('a' <= (c) && (c) <= 'z')
6410 # define TOUPPER(c) (ISLOWER(c) ? 'A' + ((c) - 'a') : (c))
6411 #else
6412 # define ISLOWER(c) \
6413 (('a' <= (c) && (c) <= 'i') \
6414 || ('j' <= (c) && (c) <= 'r') \
6415 || ('s' <= (c) && (c) <= 'z'))
6416 # define TOUPPER(c) (ISLOWER(c) ? ((c) | 0x40) : (c))
6417 #endif
6419 #define XOR(e, f) (((e) && !(f)) || (!(e) && (f)))
6421 main ()
6423 int i;
6424 for (i = 0; i < 256; i++)
6425 if (XOR (islower (i), ISLOWER (i))
6426 || toupper (i) != TOUPPER (i))
6427 return 2;
6428 return 0;
6430 _ACEOF
6431 if ac_fn_c_try_run "$LINENO"; then :
6433 else
6434 ac_cv_header_stdc=no
6436 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \
6437 conftest.$ac_objext conftest.beam conftest.$ac_ext
6442 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_header_stdc" >&5
6443 $as_echo "$ac_cv_header_stdc" >&6; }
6444 if test $ac_cv_header_stdc = yes; then
6446 $as_echo "#define STDC_HEADERS 1" >>confdefs.h
6450 # On IRIX 5.3, sys/types and inttypes.h are conflicting.
6451 for ac_header in sys/types.h sys/stat.h stdlib.h string.h memory.h strings.h \
6452 inttypes.h stdint.h unistd.h
6453 do :
6454 as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
6455 ac_fn_c_check_header_compile "$LINENO" "$ac_header" "$as_ac_Header" "$ac_includes_default
6457 if eval test \"x\$"$as_ac_Header"\" = x"yes"; then :
6458 cat >>confdefs.h <<_ACEOF
6459 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
6460 _ACEOF
6464 done
6467 for ac_header in \
6468 AL/al.h \
6469 ApplicationServices/ApplicationServices.h \
6470 AudioToolbox/AudioConverter.h \
6471 AudioUnit/AudioUnit.h \
6472 AudioUnit/AudioComponent.h \
6473 CL/cl.h \
6474 Carbon/Carbon.h \
6475 CoreAudio/CoreAudio.h \
6476 CoreServices/CoreServices.h \
6477 DiskArbitration/DiskArbitration.h \
6478 IOKit/IOKitLib.h \
6479 IOKit/hid/IOHIDLib.h \
6480 OpenAL/al.h \
6481 OpenCL/opencl.h \
6482 QuickTime/ImageCompression.h \
6483 Security/Security.h \
6484 alias.h \
6485 alsa/asoundlib.h \
6486 arpa/inet.h \
6487 arpa/nameser.h \
6488 asm/types.h \
6489 asm/user.h \
6490 curses.h \
6491 direct.h \
6492 dirent.h \
6493 dlfcn.h \
6494 elf.h \
6495 float.h \
6496 fnmatch.h \
6497 getopt.h \
6498 gettext-po.h \
6499 grp.h \
6500 gsm.h \
6501 gsm/gsm.h \
6502 ieeefp.h \
6503 inet/mib2.h \
6504 io.h \
6505 kstat.h \
6506 lber.h \
6507 ldap.h \
6508 libproc.h \
6509 link.h \
6510 linux/cdrom.h \
6511 linux/compiler.h \
6512 linux/filter.h \
6513 linux/hdreg.h \
6514 linux/input.h \
6515 linux/ioctl.h \
6516 linux/joystick.h \
6517 linux/major.h \
6518 linux/param.h \
6519 linux/serial.h \
6520 linux/types.h \
6521 linux/ucdrom.h \
6522 lwp.h \
6523 mach-o/nlist.h \
6524 mach-o/loader.h \
6525 mach/mach.h \
6526 mach/machine.h \
6527 machine/cpu.h \
6528 machine/limits.h \
6529 machine/sysarch.h \
6530 mntent.h \
6531 ncurses.h \
6532 netdb.h \
6533 netinet/in.h \
6534 netinet/in_systm.h \
6535 netinet/tcp.h \
6536 netinet/tcp_fsm.h \
6537 pcap/pcap.h \
6538 poll.h \
6539 port.h \
6540 process.h \
6541 pthread.h \
6542 pwd.h \
6543 sched.h \
6544 scsi/scsi.h \
6545 scsi/scsi_ioctl.h \
6546 scsi/sg.h \
6547 stdbool.h \
6548 stdint.h \
6549 stropts.h \
6550 sys/asoundlib.h \
6551 sys/attr.h \
6552 sys/cdio.h \
6553 sys/elf32.h \
6554 sys/epoll.h \
6555 sys/event.h \
6556 sys/exec_elf.h \
6557 sys/filio.h \
6558 sys/inotify.h \
6559 sys/ioctl.h \
6560 sys/ipc.h \
6561 sys/limits.h \
6562 sys/link.h \
6563 sys/mman.h \
6564 sys/modem.h \
6565 sys/msg.h \
6566 sys/mtio.h \
6567 sys/param.h \
6568 sys/poll.h \
6569 sys/prctl.h \
6570 sys/protosw.h \
6571 sys/ptrace.h \
6572 sys/queue.h \
6573 sys/resource.h \
6574 sys/scsiio.h \
6575 sys/shm.h \
6576 sys/signal.h \
6577 sys/socket.h \
6578 sys/socketvar.h \
6579 sys/sockio.h \
6580 sys/statvfs.h \
6581 sys/strtio.h \
6582 sys/syscall.h \
6583 sys/tihdr.h \
6584 sys/time.h \
6585 sys/timeout.h \
6586 sys/times.h \
6587 sys/uio.h \
6588 sys/user.h \
6589 sys/utsname.h \
6590 sys/vm86.h \
6591 sys/wait.h \
6592 syscall.h \
6593 termios.h \
6594 unistd.h \
6595 utime.h \
6596 valgrind/memcheck.h \
6597 valgrind/valgrind.h \
6598 zlib.h
6600 do :
6601 as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
6602 ac_fn_c_check_header_mongrel "$LINENO" "$ac_header" "$as_ac_Header" "$ac_includes_default"
6603 if eval test \"x\$"$as_ac_Header"\" = x"yes"; then :
6604 cat >>confdefs.h <<_ACEOF
6605 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
6606 _ACEOF
6610 done
6612 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether stat file-mode macros are broken" >&5
6613 $as_echo_n "checking whether stat file-mode macros are broken... " >&6; }
6614 if ${ac_cv_header_stat_broken+:} false; then :
6615 $as_echo_n "(cached) " >&6
6616 else
6617 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
6618 /* end confdefs.h. */
6619 #include <sys/types.h>
6620 #include <sys/stat.h>
6622 #if defined S_ISBLK && defined S_IFDIR
6623 extern char c1[S_ISBLK (S_IFDIR) ? -1 : 1];
6624 #endif
6626 #if defined S_ISBLK && defined S_IFCHR
6627 extern char c2[S_ISBLK (S_IFCHR) ? -1 : 1];
6628 #endif
6630 #if defined S_ISLNK && defined S_IFREG
6631 extern char c3[S_ISLNK (S_IFREG) ? -1 : 1];
6632 #endif
6634 #if defined S_ISSOCK && defined S_IFREG
6635 extern char c4[S_ISSOCK (S_IFREG) ? -1 : 1];
6636 #endif
6638 _ACEOF
6639 if ac_fn_c_try_compile "$LINENO"; then :
6640 ac_cv_header_stat_broken=no
6641 else
6642 ac_cv_header_stat_broken=yes
6644 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
6646 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_header_stat_broken" >&5
6647 $as_echo "$ac_cv_header_stat_broken" >&6; }
6648 if test $ac_cv_header_stat_broken = yes; then
6650 $as_echo "#define STAT_MACROS_BROKEN 1" >>confdefs.h
6656 for ac_header in sys/mount.h sys/statfs.h sys/sysctl.h sys/user.h sys/vfs.h
6657 do :
6658 as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
6659 ac_fn_c_check_header_compile "$LINENO" "$ac_header" "$as_ac_Header" "#include <sys/types.h>
6660 #ifdef HAVE_SYS_PARAM_H
6661 # include <sys/param.h>
6662 #endif
6664 if eval test \"x\$"$as_ac_Header"\" = x"yes"; then :
6665 cat >>confdefs.h <<_ACEOF
6666 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
6667 _ACEOF
6671 done
6674 for ac_header in \
6675 netinet/ip.h \
6676 net/if.h \
6677 net/if_arp.h \
6678 net/if_dl.h \
6679 net/if_types.h \
6680 net/route.h \
6681 netinet/if_ether.h \
6682 netinet/if_inarp.h \
6683 netinet/in_pcb.h \
6684 netinet/ip_icmp.h \
6685 netinet/ip_var.h \
6686 netinet/udp.h \
6687 netipx/ipx.h \
6688 sys/un.h \
6690 do :
6691 as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
6692 ac_fn_c_check_header_compile "$LINENO" "$ac_header" "$as_ac_Header" "#include <sys/types.h>
6693 #ifdef HAVE_SYS_SOCKET_H
6694 # include <sys/socket.h>
6695 #endif
6696 #ifdef HAVE_SYS_SOCKETVAR_H
6697 # include <sys/socketvar.h>
6698 #endif
6699 #ifdef HAVE_NET_ROUTE_H
6700 # include <net/route.h>
6701 #endif
6702 #ifdef HAVE_NETINET_IN_H
6703 # include <netinet/in.h>
6704 #endif
6705 #ifdef HAVE_NETINET_IN_SYSTM_H
6706 # include <netinet/in_systm.h>
6707 #endif
6708 #ifdef HAVE_NET_IF_H
6709 # include <net/if.h>
6710 #endif
6711 #ifdef HAVE_NETINET_IP_H
6712 # include <netinet/ip.h>
6713 #endif
6715 if eval test \"x\$"$as_ac_Header"\" = x"yes"; then :
6716 cat >>confdefs.h <<_ACEOF
6717 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
6718 _ACEOF
6722 done
6725 for ac_header in netinet/tcp_timer.h netinet/udp_var.h netinet/icmp_var.h netinet/tcp_var.h
6726 do :
6727 as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
6728 ac_fn_c_check_header_compile "$LINENO" "$ac_header" "$as_ac_Header" "#include <sys/types.h>
6729 #ifdef HAVE_ALIAS_H
6730 # include <alias.h>
6731 #endif
6732 #ifdef HAVE_SYS_SOCKET_H
6733 # include <sys/socket.h>
6734 #endif
6735 #ifdef HAVE_SYS_SOCKETVAR_H
6736 # include <sys/socketvar.h>
6737 #endif
6738 #ifdef HAVE_SYS_TIMEOUT_H
6739 # include <sys/timeout.h>
6740 #endif
6741 #ifdef HAVE_NETINET_IN_H
6742 # include <netinet/in.h>
6743 #endif
6744 #ifdef HAVE_NETINET_IN_SYSTM_H
6745 # include <netinet/in_systm.h>
6746 #endif
6747 #ifdef HAVE_NETINET_IP_H
6748 # include <netinet/ip.h>
6749 #endif
6750 #ifdef HAVE_NETINET_IP_VAR_H
6751 # include <netinet/ip_var.h>
6752 #endif
6753 #ifdef HAVE_NETINET_IP_ICMP_H
6754 # include <netinet/ip_icmp.h>
6755 #endif
6756 #ifdef HAVE_NETINET_UDP_H
6757 # include <netinet/udp.h>
6758 #endif
6759 #ifdef HAVE_NETINET_TCP_H
6760 # include <netinet/tcp.h>
6761 #endif
6762 #ifdef HAVE_NETINET_TCP_TIMER_H
6763 #include <netinet/tcp_timer.h>
6764 #endif
6766 if eval test \"x\$"$as_ac_Header"\" = x"yes"; then :
6767 cat >>confdefs.h <<_ACEOF
6768 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
6769 _ACEOF
6773 done
6776 for ac_header in linux/ipx.h linux/irda.h linux/rtnetlink.h
6777 do :
6778 as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
6779 ac_fn_c_check_header_compile "$LINENO" "$ac_header" "$as_ac_Header" "#include <sys/types.h>
6780 #ifdef HAVE_ASM_TYPES_H
6781 # include <asm/types.h>
6782 #endif
6783 #ifdef HAVE_SYS_SOCKET_H
6784 # include <sys/socket.h>
6785 #endif
6786 #ifdef HAVE_LINUX_TYPES_H
6787 # include <linux/types.h>
6788 #endif
6790 if eval test \"x\$"$as_ac_Header"\" = x"yes"; then :
6791 cat >>confdefs.h <<_ACEOF
6792 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
6793 _ACEOF
6797 done
6800 for ac_header in mach-o/dyld_images.h
6801 do :
6802 ac_fn_c_check_header_compile "$LINENO" "mach-o/dyld_images.h" "ac_cv_header_mach_o_dyld_images_h" "#ifdef HAVE_STDBOOL_H
6803 # include <stdbool.h>
6804 #endif
6805 #ifdef HAVE_STDINT_H
6806 # include <stdint.h>
6807 #endif
6809 if test "x$ac_cv_header_mach_o_dyld_images_h" = xyes; then :
6810 cat >>confdefs.h <<_ACEOF
6811 #define HAVE_MACH_O_DYLD_IMAGES_H 1
6812 _ACEOF
6816 done
6819 for ac_header in resolv.h
6820 do :
6821 ac_fn_c_check_header_compile "$LINENO" "resolv.h" "ac_cv_header_resolv_h" "#include <sys/types.h>
6822 #ifdef HAVE_SYS_SOCKET_H
6823 # include <sys/socket.h>
6824 #endif
6825 #ifdef HAVE_NETINET_IN_H
6826 # include <netinet/in.h>
6827 #endif
6828 #ifdef HAVE_ARPA_NAMESER_H
6829 # include <arpa/nameser.h>
6830 #endif
6832 if test "x$ac_cv_header_resolv_h" = xyes; then :
6833 cat >>confdefs.h <<_ACEOF
6834 #define HAVE_RESOLV_H 1
6835 _ACEOF
6839 done
6842 for ac_header in ifaddrs.h
6843 do :
6844 ac_fn_c_check_header_compile "$LINENO" "ifaddrs.h" "ac_cv_header_ifaddrs_h" "#include <sys/types.h>
6846 if test "x$ac_cv_header_ifaddrs_h" = xyes; then :
6847 cat >>confdefs.h <<_ACEOF
6848 #define HAVE_IFADDRS_H 1
6849 _ACEOF
6853 done
6856 for ac_header in sys/ucontext.h
6857 do :
6858 ac_fn_c_check_header_compile "$LINENO" "sys/ucontext.h" "ac_cv_header_sys_ucontext_h" "#include <signal.h>
6860 if test "x$ac_cv_header_sys_ucontext_h" = xyes; then :
6861 cat >>confdefs.h <<_ACEOF
6862 #define HAVE_SYS_UCONTEXT_H 1
6863 _ACEOF
6867 done
6870 for ac_header in sys/thr.h
6871 do :
6872 ac_fn_c_check_header_compile "$LINENO" "sys/thr.h" "ac_cv_header_sys_thr_h" "#include <sys/types.h>
6873 #ifdef HAVE_SYS_UCONTEXT_H
6874 #include <sys/ucontext.h>
6875 #endif
6877 if test "x$ac_cv_header_sys_thr_h" = xyes; then :
6878 cat >>confdefs.h <<_ACEOF
6879 #define HAVE_SYS_THR_H 1
6880 _ACEOF
6884 done
6887 for ac_header in pthread_np.h
6888 do :
6889 ac_fn_c_check_header_compile "$LINENO" "pthread_np.h" "ac_cv_header_pthread_np_h" "#ifdef HAVE_PTHREAD_H
6890 #include <pthread.h>
6891 #endif
6893 if test "x$ac_cv_header_pthread_np_h" = xyes; then :
6894 cat >>confdefs.h <<_ACEOF
6895 #define HAVE_PTHREAD_NP_H 1
6896 _ACEOF
6900 done
6903 for ac_header in linux/videodev.h linux/videodev2.h libv4l1.h
6904 do :
6905 as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
6906 ac_fn_c_check_header_compile "$LINENO" "$ac_header" "$as_ac_Header" "#ifdef HAVE_SYS_TIME_H
6907 #include <sys/time.h>
6908 #endif
6909 #include <sys/types.h>
6910 #ifdef HAVE_ASM_TYPES_H
6911 #include <asm/types.h>
6912 #endif
6914 if eval test \"x\$"$as_ac_Header"\" = x"yes"; then :
6915 cat >>confdefs.h <<_ACEOF
6916 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
6917 _ACEOF
6921 done
6924 for ac_header in libprocstat.h
6925 do :
6926 ac_fn_c_check_header_compile "$LINENO" "libprocstat.h" "ac_cv_header_libprocstat_h" "#ifdef HAVE_SYS_PARAM_H
6927 #include <sys/param.h>
6928 #endif
6929 #ifdef HAVE_SYS_QUEUE_H
6930 #include <sys/queue.h>
6931 #endif
6932 #ifdef HAVE_SYS_SOCKET_H
6933 #include <sys/socket.h>
6934 #endif
6936 if test "x$ac_cv_header_libprocstat_h" = xyes; then :
6937 cat >>confdefs.h <<_ACEOF
6938 #define HAVE_LIBPROCSTAT_H 1
6939 _ACEOF
6943 done
6947 dlldir="\${libdir}/wine"
6949 DLLPREFIX=""
6951 DLLFLAGS="-D_REENTRANT"
6953 LDRPATH_INSTALL=""
6955 LDRPATH_LOCAL=""
6957 LIBEXT="so"
6958 DLLEXT=".so"
6959 IMPLIBEXT="def"
6960 STATIC_IMPLIBEXT="def.a"
6961 # Extract the first word of "ldd", so it can be a program name with args.
6962 set dummy ldd; ac_word=$2
6963 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6964 $as_echo_n "checking for $ac_word... " >&6; }
6965 if ${ac_cv_path_LDD+:} false; then :
6966 $as_echo_n "(cached) " >&6
6967 else
6968 case $LDD in
6969 [\\/]* | ?:[\\/]*)
6970 ac_cv_path_LDD="$LDD" # Let the user override the test with a path.
6973 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6974 as_dummy="/sbin:/usr/sbin:$PATH"
6975 for as_dir in $as_dummy
6977 IFS=$as_save_IFS
6978 test -z "$as_dir" && as_dir=.
6979 for ac_exec_ext in '' $ac_executable_extensions; do
6980 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
6981 ac_cv_path_LDD="$as_dir/$ac_word$ac_exec_ext"
6982 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6983 break 2
6985 done
6986 done
6987 IFS=$as_save_IFS
6989 test -z "$ac_cv_path_LDD" && ac_cv_path_LDD="true"
6991 esac
6993 LDD=$ac_cv_path_LDD
6994 if test -n "$LDD"; then
6995 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $LDD" >&5
6996 $as_echo "$LDD" >&6; }
6997 else
6998 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6999 $as_echo "no" >&6; }
7003 if test -n "$ac_tool_prefix"; then
7004 # Extract the first word of "${ac_tool_prefix}readelf", so it can be a program name with args.
7005 set dummy ${ac_tool_prefix}readelf; ac_word=$2
7006 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7007 $as_echo_n "checking for $ac_word... " >&6; }
7008 if ${ac_cv_prog_READELF+:} false; then :
7009 $as_echo_n "(cached) " >&6
7010 else
7011 if test -n "$READELF"; then
7012 ac_cv_prog_READELF="$READELF" # Let the user override the test.
7013 else
7014 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7015 for as_dir in $PATH
7017 IFS=$as_save_IFS
7018 test -z "$as_dir" && as_dir=.
7019 for ac_exec_ext in '' $ac_executable_extensions; do
7020 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
7021 ac_cv_prog_READELF="${ac_tool_prefix}readelf"
7022 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
7023 break 2
7025 done
7026 done
7027 IFS=$as_save_IFS
7031 READELF=$ac_cv_prog_READELF
7032 if test -n "$READELF"; then
7033 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $READELF" >&5
7034 $as_echo "$READELF" >&6; }
7035 else
7036 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7037 $as_echo "no" >&6; }
7042 if test -z "$ac_cv_prog_READELF"; then
7043 ac_ct_READELF=$READELF
7044 # Extract the first word of "readelf", so it can be a program name with args.
7045 set dummy readelf; ac_word=$2
7046 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7047 $as_echo_n "checking for $ac_word... " >&6; }
7048 if ${ac_cv_prog_ac_ct_READELF+:} false; then :
7049 $as_echo_n "(cached) " >&6
7050 else
7051 if test -n "$ac_ct_READELF"; then
7052 ac_cv_prog_ac_ct_READELF="$ac_ct_READELF" # Let the user override the test.
7053 else
7054 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7055 for as_dir in $PATH
7057 IFS=$as_save_IFS
7058 test -z "$as_dir" && as_dir=.
7059 for ac_exec_ext in '' $ac_executable_extensions; do
7060 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
7061 ac_cv_prog_ac_ct_READELF="readelf"
7062 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
7063 break 2
7065 done
7066 done
7067 IFS=$as_save_IFS
7071 ac_ct_READELF=$ac_cv_prog_ac_ct_READELF
7072 if test -n "$ac_ct_READELF"; then
7073 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_READELF" >&5
7074 $as_echo "$ac_ct_READELF" >&6; }
7075 else
7076 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7077 $as_echo "no" >&6; }
7080 if test "x$ac_ct_READELF" = x; then
7081 READELF="true"
7082 else
7083 case $cross_compiling:$ac_tool_warned in
7084 yes:)
7085 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
7086 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
7087 ac_tool_warned=yes ;;
7088 esac
7089 READELF=$ac_ct_READELF
7091 else
7092 READELF="$ac_cv_prog_READELF"
7095 wine_rules_file=conf$$rules.make
7096 rm -f $wine_rules_file
7097 ALL_POT_FILES=""
7098 GITIGNORE="# Automatically generated by configure; DO NOT EDIT!!"
7099 ALL_TEST_RESOURCES=""
7102 wine_fn_append_file ()
7104 as_fn_append $1 " \\$as_nl $2"
7107 wine_fn_ignore_file ()
7109 case "$1" in
7110 */*) as_fn_append GITIGNORE "$as_nl$1" ;;
7111 \**) as_fn_append GITIGNORE "$as_nl$1" ;;
7112 *) as_fn_append GITIGNORE "$as_nl/$1" ;;
7113 esac
7116 wine_fn_append_rule ()
7118 $as_echo "$1" >>$wine_rules_file
7121 wine_fn_has_flag ()
7123 expr ",$ac_flags," : ".*,$1,.*" >/dev/null
7126 wine_fn_depend_rules ()
7128 wine_fn_append_rule \
7129 "$ac_dir/Makefile: $srcdir/$ac_dir/Makefile.in $srcdir/Make.vars.in config.status \$(MAKEDEP)
7130 @./config.status --file $ac_dir/Makefile:Make.vars.in:$ac_dir/Makefile.in && \$(MAKEDEP) $ac_dir
7131 depend: $ac_dir/depend
7132 .PHONY: $ac_dir/depend
7133 $ac_dir/depend: \$(MAKEDEP) dummy
7134 @./config.status --file $ac_dir/Makefile:Make.vars.in:$ac_dir/Makefile.in && \$(MAKEDEP) $ac_dir"
7137 wine_fn_pot_rules ()
7139 test "x$with_gettextpo" = xyes || return
7141 if wine_fn_has_flag mc
7142 then
7143 wine_fn_append_file ALL_POT_FILES $ac_dir/msg.pot
7144 wine_fn_append_rule \
7145 "$ac_dir/msg.pot: $ac_dir/Makefile dummy
7146 @cd $ac_dir && \$(MAKE) msg.pot
7147 $ac_dir/msg.pot: tools/wmc include"
7149 if wine_fn_has_flag po
7150 then
7151 wine_fn_append_file ALL_POT_FILES $ac_dir/rsrc.pot
7152 wine_fn_append_rule \
7153 "$ac_dir/rsrc.pot: $ac_dir/Makefile dummy
7154 @cd $ac_dir && \$(MAKE) rsrc.pot
7155 $ac_dir/rsrc.pot: tools/wrc include"
7159 wine_fn_all_rules ()
7161 wine_fn_depend_rules
7162 wine_fn_append_rule \
7163 "all: $ac_dir
7164 .PHONY: $ac_dir
7165 $ac_dir: $ac_dir/Makefile dummy
7166 @cd $ac_dir && \$(MAKE)"
7169 wine_fn_install_rules ()
7171 wine_fn_has_flag install-lib || wine_fn_has_flag install-dev || return
7173 wine_fn_append_rule \
7174 ".PHONY: $ac_dir/install $ac_dir/uninstall
7175 $ac_dir/install:: $ac_dir
7176 @cd $ac_dir && \$(MAKE) install
7177 $ac_dir/uninstall:: $ac_dir/Makefile
7178 @cd $ac_dir && \$(MAKE) uninstall
7179 install:: $ac_dir/install
7180 __uninstall__: $ac_dir/uninstall"
7182 if wine_fn_has_flag install-lib
7183 then
7184 wine_fn_append_rule \
7185 ".PHONY: $ac_dir/install-lib
7186 $ac_dir/install-lib:: $ac_dir
7187 @cd $ac_dir && \$(MAKE) install-lib
7188 install-lib:: $ac_dir/install-lib"
7191 if wine_fn_has_flag install-dev
7192 then
7193 wine_fn_append_rule \
7194 ".PHONY: $ac_dir/install-dev
7195 $ac_dir/install-dev:: $ac_dir
7196 @cd $ac_dir && \$(MAKE) install-dev
7197 install-dev:: $ac_dir/install-dev"
7201 wine_fn_clean_rules ()
7203 ac_clean=$@
7204 ac_extraclean="$ac_dir/Makefile"
7205 test "$srcdir" = . && ac_extraclean="$ac_extraclean $ac_dir/.gitignore"
7206 case $ac_dir in
7207 */tests) ac_extraclean="$ac_extraclean $ac_dir/testlist.c" ;;
7208 esac
7210 if wine_fn_has_flag clean
7211 then
7212 wine_fn_append_rule \
7213 "__clean__: $ac_dir/clean
7214 .PHONY: $ac_dir/clean
7215 $ac_dir/clean: $ac_dir/Makefile
7216 @cd $ac_dir && \$(MAKE) clean
7217 \$(RM) $ac_extraclean"
7218 else
7219 wine_fn_append_rule \
7220 "__clean__: $ac_dir/clean
7221 .PHONY: $ac_dir/clean
7222 $ac_dir/clean: dummy
7223 \$(RM) \$(CLEAN_FILES:%=$ac_dir/%) $ac_clean $ac_extraclean"
7227 wine_fn_disabled_rules ()
7229 ac_clean=$@
7230 ac_extraclean="$ac_dir/Makefile"
7231 test "$srcdir" = . && ac_extraclean="$ac_extraclean $ac_dir/.gitignore"
7233 wine_fn_append_rule \
7234 "__clean__: $ac_dir/clean
7235 .PHONY: $ac_dir/clean
7236 $ac_dir/clean: dummy
7237 \$(RM) \$(CLEAN_FILES:%=$ac_dir/%) $ac_clean $ac_extraclean"
7240 wine_fn_config_makefile ()
7242 ac_dir=$1
7243 ac_enable=$2
7244 ac_flags=$3
7246 if eval test \"x\$"$ac_enable"\" = x"no"; then :
7247 wine_fn_disabled_rules; return
7249 wine_fn_all_rules
7250 wine_fn_install_rules
7251 wine_fn_clean_rules
7254 wine_fn_config_lib ()
7256 ac_name=$1
7257 ac_flags=$2
7258 ac_dir=dlls/$ac_name
7259 ac_deps="include"
7261 if test "x$enable_tools" = xno; then :
7263 else
7264 ac_deps="tools/widl tools/winebuild tools/winegcc $ac_deps"
7266 wine_fn_all_rules
7267 wine_fn_clean_rules
7269 wine_fn_append_rule \
7270 ".PHONY: $ac_dir/install $ac_dir/uninstall
7271 $ac_dir/install:: $ac_dir
7272 \$(INSTALL_DATA) $ac_dir/lib$ac_name.a \$(DESTDIR)\$(dlldir)/lib$ac_name.a
7273 $ac_dir/uninstall::
7274 \$(RM) \$(DESTDIR)\$(dlldir)/lib$ac_name.a
7275 install install-dev:: $ac_dir/install
7276 __uninstall__: $ac_dir/uninstall
7277 __builddeps__: $ac_dir
7278 $ac_dir: $ac_deps"
7281 wine_fn_config_dll ()
7283 ac_name=$1
7284 ac_dir=dlls/$ac_name
7285 ac_enable=$2
7286 ac_flags=$3
7287 ac_implib=${4:-$ac_name}
7288 ac_file=$ac_dir/lib$ac_implib
7289 ac_dll=$ac_name
7290 ac_deps="include"
7291 ac_implibflags=""
7293 if test "x$enable_tools" = xno; then :
7295 else
7296 ac_deps="tools/widl tools/winebuild tools/winegcc $ac_deps"
7298 case $ac_name in
7299 *16) ac_implibflags=" -m16" ;;
7300 *.*) ;;
7301 *) ac_dll=$ac_dll.dll ;;
7302 esac
7304 ac_clean=
7305 wine_fn_has_flag implib && ac_clean="$ac_clean $ac_file.$IMPLIBEXT"
7306 wine_fn_has_flag mc && ac_clean="$ac_clean $ac_dir/msg.pot"
7307 wine_fn_has_flag po && ac_clean="$ac_clean $ac_dir/rsrc.pot"
7308 test -n "$DLLEXT" || ac_clean="$ac_clean $ac_dir/$ac_dll"
7310 if eval test \"x\$"$ac_enable"\" = x"no"; then :
7311 if wine_fn_has_flag implib && test "$ac_enable" != enable_win16
7312 then
7313 wine_fn_depend_rules
7314 wine_fn_clean_rules $ac_clean
7315 else
7316 wine_fn_disabled_rules $ac_clean
7317 return
7319 else
7320 wine_fn_all_rules
7321 wine_fn_clean_rules $ac_clean
7322 wine_fn_append_rule \
7323 "$ac_dir: __builddeps__
7324 manpages htmlpages sgmlpages xmlpages:: $ac_dir/Makefile
7325 @cd $ac_dir && \$(MAKE) \$@
7326 .PHONY: $ac_dir/install-lib $ac_dir/uninstall
7327 install install-lib:: $ac_dir/install-lib
7328 __uninstall__: $ac_dir/uninstall"
7329 if test -n "$DLLEXT"
7330 then
7331 wine_fn_append_rule \
7332 "$ac_dir/install-lib:: $ac_dir
7333 \$(INSTALL_PROGRAM) $ac_dir/$ac_dll$DLLEXT \$(DESTDIR)\$(dlldir)/$DLLPREFIX$ac_dll$DLLEXT
7334 \$(INSTALL_DATA) $ac_dir/$ac_dll.fake \$(DESTDIR)\$(fakedlldir)/$ac_dll
7335 $ac_dir/uninstall::
7336 \$(RM) \$(DESTDIR)\$(dlldir)/$DLLPREFIX$ac_dll$DLLEXT \$(DESTDIR)\$(fakedlldir)/$ac_dll"
7337 else
7338 wine_fn_append_rule \
7339 "$ac_dir/install-lib:: $ac_dir
7340 \$(INSTALL_PROGRAM) $ac_dir/$ac_dll \$(DESTDIR)\$(dlldir)/$ac_dll
7341 $ac_dir/uninstall::
7342 \$(RM) \$(DESTDIR)\$(dlldir)/$ac_dll"
7345 wine_fn_pot_rules
7348 if wine_fn_has_flag staticimplib
7349 then
7350 wine_fn_append_rule \
7351 "__builddeps__: $ac_file.$IMPLIBEXT $ac_file.$STATIC_IMPLIBEXT
7352 $ac_file.$IMPLIBEXT $ac_file.$STATIC_IMPLIBEXT $ac_file.cross.a: $ac_deps
7353 $ac_file.def: $srcdir/$ac_dir/$ac_name.spec $ac_dir/Makefile \$(WINEBUILD)
7354 \$(WINEBUILD) \$(TARGETFLAGS)$ac_implibflags -w --def -o \$@ --export $srcdir/$ac_dir/$ac_name.spec
7355 $ac_file.$STATIC_IMPLIBEXT: $ac_dir/Makefile dummy
7356 @cd $ac_dir && \$(MAKE) lib$ac_implib.$STATIC_IMPLIBEXT
7357 .PHONY: $ac_dir/install-dev $ac_dir/uninstall
7358 $ac_dir/install-dev:: $ac_file.$IMPLIBEXT
7359 \$(INSTALL_DATA) $ac_file.$IMPLIBEXT \$(DESTDIR)\$(dlldir)/lib$ac_implib.$IMPLIBEXT
7360 $ac_dir/uninstall::
7361 \$(RM) \$(DESTDIR)\$(dlldir)/lib$ac_implib.$IMPLIBEXT
7362 install install-dev:: $ac_dir/install-dev
7363 __uninstall__: $ac_dir/uninstall"
7365 if test "$IMPLIBEXT" != "$STATIC_IMPLIBEXT"
7366 then
7367 wine_fn_append_rule \
7368 "$ac_dir/install-dev:: $ac_file.$STATIC_IMPLIBEXT __builddeps__
7369 \$(INSTALL_DATA) $ac_file.$STATIC_IMPLIBEXT \$(DESTDIR)\$(dlldir)/lib$ac_implib.$STATIC_IMPLIBEXT
7370 $ac_dir/uninstall::
7371 \$(RM) \$(DESTDIR)\$(dlldir)/lib$ac_implib.$STATIC_IMPLIBEXT"
7374 if test -n "$CROSSTARGET" -a -z "$ac_implibflags"
7375 then
7376 wine_fn_append_rule \
7377 "__builddeps__: $ac_file.cross.a
7378 $ac_file.cross.a: $ac_dir/Makefile dummy
7379 @cd $ac_dir && \$(MAKE) lib$ac_implib.cross.a"
7382 elif wine_fn_has_flag implib
7383 then
7384 wine_fn_append_rule \
7385 "__builddeps__: $ac_file.$IMPLIBEXT
7386 $ac_file.def: $srcdir/$ac_dir/$ac_name.spec $ac_dir/Makefile \$(WINEBUILD)
7387 \$(WINEBUILD) \$(TARGETFLAGS)$ac_implibflags -w --def -o \$@ --export $srcdir/$ac_dir/$ac_name.spec
7388 $ac_file.a: $srcdir/$ac_dir/$ac_name.spec $ac_dir/Makefile \$(WINEBUILD)
7389 \$(WINEBUILD) \$(TARGETFLAGS)$ac_implibflags -w --implib -o \$@ --export $srcdir/$ac_dir/$ac_name.spec
7390 .PHONY: $ac_dir/install-dev $ac_dir/uninstall
7391 $ac_dir/install-dev:: $ac_file.$IMPLIBEXT
7392 \$(INSTALL_DATA) $ac_file.$IMPLIBEXT \$(DESTDIR)\$(dlldir)/lib$ac_implib.$IMPLIBEXT
7393 $ac_dir/uninstall::
7394 \$(RM) \$(DESTDIR)\$(dlldir)/lib$ac_implib.$IMPLIBEXT
7395 install install-dev:: $ac_dir/install-dev
7396 __uninstall__: $ac_dir/uninstall"
7397 if test -n "$CROSSTARGET" -a -z "$ac_implibflags"
7398 then
7399 wine_fn_append_rule \
7400 "__builddeps__: $ac_file.cross.a
7401 $ac_file.cross.a: $srcdir/$ac_dir/$ac_name.spec $ac_dir/Makefile \$(WINEBUILD)
7402 \$(WINEBUILD) \$(CROSSTARGET:%=-b %)$ac_implibflags -w --implib -o \$@ --export $srcdir/$ac_dir/$ac_name.spec"
7405 if test "$ac_name" != "$ac_implib"
7406 then
7407 wine_fn_append_rule \
7408 "__builddeps__: dlls/lib$ac_implib.$IMPLIBEXT
7409 dlls/lib$ac_implib.$IMPLIBEXT: $ac_file.$IMPLIBEXT
7410 \$(RM) \$@ && \$(LN_S) $ac_name/lib$ac_implib.$IMPLIBEXT \$@
7411 clean::
7412 \$(RM) dlls/lib$ac_implib.$IMPLIBEXT"
7413 wine_fn_ignore_file "dlls/lib$ac_implib.$IMPLIBEXT"
7414 if test -n "$CROSSTARGET" -a -z "$ac_implibflags"
7415 then
7416 wine_fn_append_rule \
7417 "__builddeps__: dlls/lib$ac_implib.cross.a
7418 dlls/lib$ac_implib.cross.a: $ac_file.cross.a
7419 \$(RM) \$@ && \$(LN_S) $ac_name/lib$ac_implib.cross.a \$@
7420 clean::
7421 \$(RM) dlls/lib$ac_implib.cross.a"
7422 wine_fn_ignore_file "dlls/lib$ac_implib.cross.a"
7428 wine_fn_config_program ()
7430 ac_name=$1
7431 ac_dir=programs/$ac_name
7432 ac_enable=$2
7433 ac_flags=$3
7434 ac_program=$ac_name
7436 case $ac_name in
7437 *.*) ;;
7438 *) ac_program=$ac_program.exe ;;
7439 esac
7441 ac_clean=
7442 wine_fn_has_flag mc && ac_clean="$ac_clean $ac_dir/msg.pot"
7443 wine_fn_has_flag po && ac_clean="$ac_clean $ac_dir/rsrc.pot"
7444 wine_fn_has_flag manpage && ac_clean="$ac_clean $ac_dir/$ac_name.man"
7445 test -n "$DLLEXT" || ac_clean="$ac_clean $ac_dir/$ac_program"
7447 if eval test \"x\$"$ac_enable"\" = x"no"; then :
7448 wine_fn_disabled_rules $ac_clean; return
7451 wine_fn_all_rules
7452 wine_fn_clean_rules $ac_clean
7453 wine_fn_append_rule "$ac_dir: __builddeps__"
7454 wine_fn_pot_rules
7456 wine_fn_has_flag install || return
7457 wine_fn_append_rule \
7458 ".PHONY: $ac_dir/install $ac_dir/uninstall
7459 install install-lib:: $ac_dir/install
7460 __uninstall__: $ac_dir/uninstall"
7462 if test -n "$DLLEXT"
7463 then
7464 wine_fn_append_rule \
7465 "$ac_dir/install:: $ac_dir
7466 \$(INSTALL_PROGRAM) $ac_dir/$ac_program$DLLEXT \$(DESTDIR)\$(dlldir)/$DLLPREFIX$ac_program$DLLEXT
7467 \$(INSTALL_DATA) $ac_dir/$ac_program.fake \$(DESTDIR)\$(fakedlldir)/$ac_program
7468 $ac_dir/uninstall::
7469 \$(RM) \$(DESTDIR)\$(dlldir)/$DLLPREFIX$ac_program$DLLEXT \$(DESTDIR)\$(fakedlldir)/$ac_program"
7471 if test -z "$with_wine64" && wine_fn_has_flag installbin
7472 then
7473 wine_fn_append_rule \
7474 "$ac_dir/install:: __tooldeps__
7475 \$(INSTALL_SCRIPT) \$(TOOLSDIR)/tools/wineapploader \$(DESTDIR)\$(bindir)/$ac_name
7476 $ac_dir/uninstall::
7477 \$(RM) \$(DESTDIR)\$(bindir)/$ac_name"
7479 else
7480 wine_fn_append_rule \
7481 "$ac_dir/install:: $ac_dir
7482 \$(INSTALL_PROGRAM) $ac_dir/$ac_program \$(DESTDIR)\$(bindir)/$ac_program
7483 $ac_dir/uninstall::
7484 \$(RM) \$(DESTDIR)\$(bindir)/$ac_program"
7487 if test -z "$with_wine64" && wine_fn_has_flag manpage
7488 then
7489 wine_fn_append_rule \
7490 "$ac_dir/install:: $ac_dir
7491 \$(INSTALL_DATA) $ac_dir/$ac_name.man \$(DESTDIR)\$(mandir)/man\$(prog_manext)/$ac_name.\$(prog_manext)
7492 $ac_dir/uninstall::
7493 \$(RM) \$(DESTDIR)\$(mandir)/man\$(prog_manext)/$ac_name.\$(prog_manext)"
7497 wine_fn_config_test ()
7499 ac_dir=$1
7500 ac_name=$2
7501 ac_flags=$3
7503 ac_clean=
7504 test -n "$CROSSTARGET" && ac_clean=`expr $ac_dir/${ac_name} : "\\(.*\\)_test"`_crosstest.exe
7505 test -n "$DLLEXT" || ac_clean="$ac_dir/${ac_name}.exe $ac_dir/${ac_name}-stripped.exe"
7507 if test "x$enable_tests" = xno; then :
7508 wine_fn_disabled_rules $ac_clean; return
7511 wine_fn_append_file ALL_TEST_RESOURCES $ac_name.res
7512 wine_fn_all_rules
7513 wine_fn_clean_rules $ac_clean
7515 wine_fn_append_rule \
7516 "$ac_dir: programs/winetest/Makefile __builddeps__
7517 programs/winetest: $ac_dir
7518 check test: $ac_dir/test
7519 .PHONY: $ac_dir/test
7520 $ac_dir/test: dummy
7521 @cd $ac_dir && \$(MAKE) test
7522 testclean::
7523 \$(RM) $ac_dir/*.ok"
7525 if test -n "$CROSSTARGET"
7526 then
7527 wine_fn_append_rule \
7528 "crosstest: $ac_dir/crosstest
7529 .PHONY: $ac_dir/crosstest
7530 $ac_dir/crosstest: $ac_dir/Makefile __builddeps__ dummy
7531 @cd $ac_dir && \$(MAKE) crosstest"
7535 wine_fn_config_tool ()
7537 ac_dir=$1
7538 ac_flags=$2
7539 if test "x$enable_tools" = xno; then :
7540 return
7543 wine_fn_all_rules
7544 wine_fn_install_rules
7545 wine_fn_clean_rules
7547 wine_fn_append_rule "__tooldeps__: $ac_dir"
7548 wine_fn_append_rule "$ac_dir: libs/port"
7549 case $ac_dir in
7550 tools/winebuild) wine_fn_append_rule "\$(WINEBUILD): $ac_dir" ;;
7551 esac
7554 wine_fn_config_symlink ()
7556 ac_linkdir=
7557 if test "x$1" = "x-d"
7558 then
7559 ac_linkdir=$2
7560 shift; shift
7562 ac_links=$@
7563 wine_fn_append_rule \
7564 "$ac_links:
7565 @./config.status \$@
7566 distclean::
7567 \$(RM) $ac_links"
7568 for f in $ac_links; do wine_fn_ignore_file $f; done
7569 test -n "$ac_linkdir" || return
7570 wine_fn_append_rule "$ac_linkdir/Makefile $ac_linkdir/depend: $ac_links"
7573 wine_binary="wine"
7574 test "x$enable_win64" != "xyes" || wine_binary="wine64"
7575 loader_programs="$wine_binary wine-installed"
7576 libwine_soversion=`expr $libwine_version : '\([0-9]*\)\..*'`
7578 LOADER_RULES="
7579 all: wine.inf
7581 install install-lib:: wine-installed
7582 \$(INSTALL_PROGRAM) wine-installed \$(DESTDIR)\$(bindir)/$wine_binary
7584 uninstall::
7585 \$(RM) \$(DESTDIR)\$(bindir)/$wine_binary
7589 case $host_os in
7590 cygwin*|mingw32*)
7591 if test -n "$ac_tool_prefix"; then
7592 # Extract the first word of "${ac_tool_prefix}dlltool", so it can be a program name with args.
7593 set dummy ${ac_tool_prefix}dlltool; ac_word=$2
7594 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7595 $as_echo_n "checking for $ac_word... " >&6; }
7596 if ${ac_cv_prog_DLLTOOL+:} false; then :
7597 $as_echo_n "(cached) " >&6
7598 else
7599 if test -n "$DLLTOOL"; then
7600 ac_cv_prog_DLLTOOL="$DLLTOOL" # Let the user override the test.
7601 else
7602 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7603 for as_dir in $PATH
7605 IFS=$as_save_IFS
7606 test -z "$as_dir" && as_dir=.
7607 for ac_exec_ext in '' $ac_executable_extensions; do
7608 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
7609 ac_cv_prog_DLLTOOL="${ac_tool_prefix}dlltool"
7610 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
7611 break 2
7613 done
7614 done
7615 IFS=$as_save_IFS
7619 DLLTOOL=$ac_cv_prog_DLLTOOL
7620 if test -n "$DLLTOOL"; then
7621 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $DLLTOOL" >&5
7622 $as_echo "$DLLTOOL" >&6; }
7623 else
7624 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7625 $as_echo "no" >&6; }
7630 if test -z "$ac_cv_prog_DLLTOOL"; then
7631 ac_ct_DLLTOOL=$DLLTOOL
7632 # Extract the first word of "dlltool", so it can be a program name with args.
7633 set dummy dlltool; ac_word=$2
7634 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7635 $as_echo_n "checking for $ac_word... " >&6; }
7636 if ${ac_cv_prog_ac_ct_DLLTOOL+:} false; then :
7637 $as_echo_n "(cached) " >&6
7638 else
7639 if test -n "$ac_ct_DLLTOOL"; then
7640 ac_cv_prog_ac_ct_DLLTOOL="$ac_ct_DLLTOOL" # Let the user override the test.
7641 else
7642 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7643 for as_dir in $PATH
7645 IFS=$as_save_IFS
7646 test -z "$as_dir" && as_dir=.
7647 for ac_exec_ext in '' $ac_executable_extensions; do
7648 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
7649 ac_cv_prog_ac_ct_DLLTOOL="dlltool"
7650 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
7651 break 2
7653 done
7654 done
7655 IFS=$as_save_IFS
7659 ac_ct_DLLTOOL=$ac_cv_prog_ac_ct_DLLTOOL
7660 if test -n "$ac_ct_DLLTOOL"; then
7661 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_DLLTOOL" >&5
7662 $as_echo "$ac_ct_DLLTOOL" >&6; }
7663 else
7664 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7665 $as_echo "no" >&6; }
7668 if test "x$ac_ct_DLLTOOL" = x; then
7669 DLLTOOL="false"
7670 else
7671 case $cross_compiling:$ac_tool_warned in
7672 yes:)
7673 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
7674 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
7675 ac_tool_warned=yes ;;
7676 esac
7677 DLLTOOL=$ac_ct_DLLTOOL
7679 else
7680 DLLTOOL="$ac_cv_prog_DLLTOOL"
7683 LIBEXT="dll"
7684 DLLEXT=""
7685 IMPLIBEXT="a"
7686 STATIC_IMPLIBEXT="a"
7687 enable_iphlpapi=${enable_iphlpapi:-no}
7688 enable_kernel32=${enable_kernel32:-no}
7689 enable_msvcrt=${enable_msvcrt:-no}
7690 enable_ntdll=${enable_ntdll:-no}
7691 enable_ws2_32=${enable_ws2_32:-no}
7692 enable_loader=${enable_loader:-no}
7693 enable_server=${enable_server:-no}
7694 with_x=${with_x:-no}
7695 with_pthread=${with_pthread:-no}
7697 crtlibs=""
7698 case $host_os in
7699 mingw32*)
7700 crtlibs="-lmsvcrt"
7701 SOCKET_LIBS="-L\$(top_builddir)/dlls/ws2_32 -lws2_32"
7703 esac
7705 libwine_targets="libwine.dll libwine.a"
7706 LIBWINE_RULES="
7707 OBJS = \$(C_SRCS:.c=.o) \$(EXTRA_OBJS)
7709 all: libwine.dll libwine.a
7711 libwine.a: \$(srcdir)/wine.def
7712 \$(DLLTOOL) -l \$@ -d \$(srcdir)/wine.def
7714 libwine.dll: \$(OBJS) \$(srcdir)/wine.def
7715 \$(CC) -shared \$(srcdir)/wine.def -o \$@ \$(OBJS) $crtlibs \$(EXTRALIBS)
7717 install install-lib:: libwine.dll
7718 \$(INSTALL_DATA) libwine.dll \$(DESTDIR)\$(libdir)/libwine.dll
7720 install install-dev:: libwine.a
7721 \$(INSTALL_DATA) libwine.a \$(DESTDIR)\$(libdir)/libwine.a
7723 uninstall::
7724 -cd \$(DESTDIR)\$(libdir) && \$(RM) libwine.a libwine.dll
7729 darwin*|macosx*)
7730 LIBEXT="dylib"
7731 DLLFLAGS="$DLLFLAGS -fPIC"
7732 LIBWINE_LDFLAGS="-multiply_defined suppress"
7733 LDRPATH_INSTALL="-Wl,-rpath,@loader_path/\`\$(MAKEDEP) -R \$(bindir) \$(libdir)\`"
7734 LDRPATH_LOCAL="-Wl,-rpath,@loader_path/\$(top_builddir)/libs/wine"
7735 COREFOUNDATION_LIBS="-framework CoreFoundation"
7737 IOKIT_LIBS="-framework IOKit -framework CoreFoundation"
7739 FORCEFEEDBACK_LIBS="-framework ForceFeedback -framework CoreFoundation"
7741 APPLICATIONSERVICES_LIBS="-framework ApplicationServices"
7743 CORESERVICES_LIBS="-framework CoreServices"
7745 APPKIT_LIBS="-framework AppKit"
7747 LDEXECFLAGS="-image_base 0x7bf00000 -Wl,-segaddr,WINE_DOS,0x00001000,-segaddr,WINE_SHAREDHEAP,0x7f000000,-sectcreate,__TEXT,__info_plist,wine_info.plist"
7748 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wl,-no_pie" >&5
7749 $as_echo_n "checking whether the compiler supports -Wl,-no_pie... " >&6; }
7750 if ${ac_cv_cflags__Wl__no_pie+:} false; then :
7751 $as_echo_n "(cached) " >&6
7752 else
7753 ac_wine_try_cflags_saved=$CFLAGS
7754 CFLAGS="$CFLAGS -Wl,-no_pie"
7755 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
7756 /* end confdefs.h. */
7757 int main(int argc, char **argv) { return 0; }
7758 _ACEOF
7759 if ac_fn_c_try_link "$LINENO"; then :
7760 ac_cv_cflags__Wl__no_pie=yes
7761 else
7762 ac_cv_cflags__Wl__no_pie=no
7764 rm -f core conftest.err conftest.$ac_objext \
7765 conftest$ac_exeext conftest.$ac_ext
7766 CFLAGS=$ac_wine_try_cflags_saved
7768 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wl__no_pie" >&5
7769 $as_echo "$ac_cv_cflags__Wl__no_pie" >&6; }
7770 if test "x$ac_cv_cflags__Wl__no_pie" = xyes; then :
7771 LDEXECFLAGS="-Wl,-no_pie $LDEXECFLAGS"
7773 if test "$ac_cv_header_DiskArbitration_DiskArbitration_h" = "yes"
7774 then
7775 DISKARBITRATION_LIBS="-framework DiskArbitration -framework CoreFoundation"
7778 if test "$ac_cv_header_Security_Security_h" = "yes"
7779 then
7780 SECURITY_LIBS="-framework Security -framework CoreFoundation"
7782 ac_save_LIBS="$LIBS"
7783 LIBS="$LIBS $SECURITY_LIBS"
7784 for ac_func in SSLCopyPeerCertificates
7785 do :
7786 ac_fn_c_check_func "$LINENO" "SSLCopyPeerCertificates" "ac_cv_func_SSLCopyPeerCertificates"
7787 if test "x$ac_cv_func_SSLCopyPeerCertificates" = xyes; then :
7788 cat >>confdefs.h <<_ACEOF
7789 #define HAVE_SSLCOPYPEERCERTIFICATES 1
7790 _ACEOF
7793 done
7795 LIBS="$ac_save_LIBS"
7796 with_gnutls=${with_gnutls:-no}
7798 if test "$ac_cv_header_CoreAudio_CoreAudio_h" = "yes" -a "$ac_cv_header_AudioUnit_AudioUnit_h" = "yes"
7799 then
7800 if test "$ac_cv_header_AudioUnit_AudioComponent_h" = "yes"
7801 then
7802 COREAUDIO_LIBS="-framework CoreFoundation -framework CoreAudio -framework AudioUnit -framework AudioToolbox -framework CoreMIDI"
7804 else
7805 COREAUDIO_LIBS="-framework CoreAudio -framework AudioUnit -framework CoreServices -framework AudioToolbox -framework CoreMIDI"
7808 ac_save_LIBS="$LIBS"
7809 LIBS="$LIBS $COREAUDIO_LIBS"
7810 for ac_func in AUGraphAddNode
7811 do :
7812 ac_fn_c_check_func "$LINENO" "AUGraphAddNode" "ac_cv_func_AUGraphAddNode"
7813 if test "x$ac_cv_func_AUGraphAddNode" = xyes; then :
7814 cat >>confdefs.h <<_ACEOF
7815 #define HAVE_AUGRAPHADDNODE 1
7816 _ACEOF
7819 done
7821 LIBS="$ac_save_LIBS"
7823 if test "$ac_cv_header_OpenAL_al_h" = "yes"
7824 then
7825 OPENAL_LIBS="-framework OpenAL"
7828 cat >>confdefs.h <<_ACEOF
7829 #define HAVE_OPENAL 1
7830 _ACEOF
7832 ac_cv_lib_openal=yes
7834 if test "$ac_cv_header_OpenCL_opencl_h" = "yes"
7835 then
7836 OPENCL_LIBS="-framework OpenCL"
7838 ac_cv_lib_OpenCL_clGetPlatformInfo=yes
7840 if test "$ac_cv_header_IOKit_hid_IOHIDLib_h" = "yes"
7841 then
7842 ac_save_LIBS="$LIBS"
7843 LIBS="$LIBS $IOKIT_LIBS"
7844 for ac_func in IOHIDManagerCreate
7845 do :
7846 ac_fn_c_check_func "$LINENO" "IOHIDManagerCreate" "ac_cv_func_IOHIDManagerCreate"
7847 if test "x$ac_cv_func_IOHIDManagerCreate" = xyes; then :
7848 cat >>confdefs.h <<_ACEOF
7849 #define HAVE_IOHIDMANAGERCREATE 1
7850 _ACEOF
7853 done
7855 LIBS="$ac_save_LIBS"
7857 if test "$ac_cv_header_QuickTime_ImageCompression_h" = "yes"
7858 then
7859 QUICKTIME_LIBS="-framework QuickTime -framework ApplicationServices -framework CoreVideo"
7861 enable_wineqtdecoder=${enable_wineqtdecoder:-yes}
7862 else
7863 as_fn_append wine_notices "|QuickTime ${notice_platform}development files not found, video decoding won't be supported."
7865 if test "$ac_cv_header_Carbon_Carbon_h" = "yes"
7866 then
7867 CARBON_LIBS="-framework Carbon"
7871 if test "$ac_cv_header_ApplicationServices_ApplicationServices_h" = "yes"
7872 then
7873 ac_save_LIBS="$LIBS"
7874 LIBS="$LIBS $APPLICATIONSERVICES_LIBS"
7875 ac_fn_c_check_func "$LINENO" "CGDisplayModeGetWidth" "ac_cv_func_CGDisplayModeGetWidth"
7876 if test "x$ac_cv_func_CGDisplayModeGetWidth" = xyes; then :
7877 enable_winemac_drv=${enable_winemac_drv:-yes}
7880 LIBS="$ac_save_LIBS"
7883 if test "x$enable_win16" = "xyes"
7884 then
7885 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether 16-bit code can be built correctly" >&5
7886 $as_echo_n "checking whether 16-bit code can be built correctly... " >&6; }
7887 if test "$cross_compiling" = yes; then :
7888 { $as_echo "$as_me:${as_lineno-$LINENO}: result: cross-compiling, assuming yes" >&5
7889 $as_echo "cross-compiling, assuming yes" >&6; }
7890 else
7891 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
7892 /* end confdefs.h. */
7893 asm(".text\n"
7894 "bad:\tnop;nop\n"
7895 "good:\tnop;nop\n\t"
7896 ".globl _testfunc\n"
7897 "_testfunc:\tcallw good");
7898 extern void testfunc();
7900 main ()
7902 unsigned short *p = (unsigned short *)testfunc;
7903 return p[0] != 0xe866 || p[1] != 0xfffa
7905 return 0;
7907 _ACEOF
7908 if ac_fn_c_try_run "$LINENO"; then :
7909 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
7910 $as_echo "yes" >&6; }
7911 else
7912 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7913 $as_echo "no" >&6; }
7914 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
7916 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \
7917 conftest.$ac_objext conftest.beam conftest.$ac_ext
7922 libwine_targets="libwine.dylib libwine.$libwine_soversion.dylib libwine.$libwine_version.dylib"
7923 LIBWINE_RULES="
7924 OBJS = \$(C_SRCS:.c=.o) \$(EXTRA_OBJS)
7926 all: libwine.dylib
7928 libwine.$libwine_version.dylib: \$(OBJS)
7929 \$(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 \$@
7931 libwine.$libwine_soversion.dylib: libwine.$libwine_version.dylib
7932 \$(RM) \$@ && \$(LN_S) libwine.$libwine_version.dylib \$@
7934 libwine.dylib: libwine.$libwine_soversion.dylib
7935 \$(RM) \$@ && \$(LN_S) libwine.$libwine_soversion.dylib \$@
7937 install install-lib:: libwine.$libwine_version.dylib
7938 \$(INSTALL_PROGRAM) libwine.$libwine_version.dylib \$(DESTDIR)\$(libdir)/libwine.$libwine_version.dylib
7939 cd \$(DESTDIR)\$(libdir) && \$(RM) libwine.$libwine_soversion.dylib && \$(LN_S) libwine.$libwine_version.dylib libwine.$libwine_soversion.dylib
7941 install install-dev::
7942 cd \$(DESTDIR)\$(libdir) && \$(RM) libwine.dylib && \$(LN_S) libwine.$libwine_version.dylib libwine.dylib
7944 uninstall::
7945 -cd \$(DESTDIR)\$(libdir) && \$(RM) libwine.dylib libwine.$libwine_soversion.dylib libwine.$libwine_version.dylib
7949 as_fn_append LOADER_RULES "
7950 $wine_binary: main.o wine_info.plist
7951 \$(CC) -o \$@ $LDEXECFLAGS main.o \$(LIBWINE) \$(LIBPORT) \$(EXTRALIBS) \$(LDFLAGS) \$(LDRPATH_LOCAL)
7953 wine-installed: main.o wine_info.plist
7954 \$(CC) -o \$@ $LDEXECFLAGS main.o \$(LIBWINE) \$(LIBPORT) \$(EXTRALIBS) \$(LDFLAGS) \$(LDRPATH_INSTALL)
7958 linux-android*)
7959 DLLFLAGS="$DLLFLAGS -fPIC"
7960 DLLPREFIX="lib"
7961 LDEXECFLAGS=""
7962 dlldir="\${libdir}"
7963 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -fPIC -Wl,--export-dynamic" >&5
7964 $as_echo_n "checking whether the compiler supports -fPIC -Wl,--export-dynamic... " >&6; }
7965 if ${ac_cv_cflags__fPIC__Wl___export_dynamic+:} false; then :
7966 $as_echo_n "(cached) " >&6
7967 else
7968 ac_wine_try_cflags_saved=$CFLAGS
7969 CFLAGS="$CFLAGS -fPIC -Wl,--export-dynamic"
7970 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
7971 /* end confdefs.h. */
7972 int main(int argc, char **argv) { return 0; }
7973 _ACEOF
7974 if ac_fn_c_try_link "$LINENO"; then :
7975 ac_cv_cflags__fPIC__Wl___export_dynamic=yes
7976 else
7977 ac_cv_cflags__fPIC__Wl___export_dynamic=no
7979 rm -f core conftest.err conftest.$ac_objext \
7980 conftest$ac_exeext conftest.$ac_ext
7981 CFLAGS=$ac_wine_try_cflags_saved
7983 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__fPIC__Wl___export_dynamic" >&5
7984 $as_echo "$ac_cv_cflags__fPIC__Wl___export_dynamic" >&6; }
7985 if test "x$ac_cv_cflags__fPIC__Wl___export_dynamic" = xyes; then :
7986 LDEXECFLAGS="-Wl,--export-dynamic"
7988 as_ac_var=`$as_echo "ac_cv_cflags_-fPIC -Wl,--rpath,\\$ORIGIN/../lib" | $as_tr_sh`
7989 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -fPIC -Wl,--rpath,\$ORIGIN/../lib" >&5
7990 $as_echo_n "checking whether the compiler supports -fPIC -Wl,--rpath,\$ORIGIN/../lib... " >&6; }
7991 if eval \${$as_ac_var+:} false; then :
7992 $as_echo_n "(cached) " >&6
7993 else
7994 ac_wine_try_cflags_saved=$CFLAGS
7995 CFLAGS="$CFLAGS -fPIC -Wl,--rpath,\$ORIGIN/../lib"
7996 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
7997 /* end confdefs.h. */
7998 int main(int argc, char **argv) { return 0; }
7999 _ACEOF
8000 if ac_fn_c_try_link "$LINENO"; then :
8001 eval "$as_ac_var=yes"
8002 else
8003 eval "$as_ac_var=no"
8005 rm -f core conftest.err conftest.$ac_objext \
8006 conftest$ac_exeext conftest.$ac_ext
8007 CFLAGS=$ac_wine_try_cflags_saved
8009 eval ac_res=\$$as_ac_var
8010 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
8011 $as_echo "$ac_res" >&6; }
8012 if eval test \"x\$"$as_ac_var"\" = x"yes"; then :
8013 LDRPATH_INSTALL="-Wl,--rpath,\\\$\$ORIGIN/\`\$(MAKEDEP) -R \$(bindir) \$(libdir)\`"
8014 LDRPATH_LOCAL="-Wl,--rpath,\\\$\$ORIGIN/\$(top_builddir)/libs/wine"
8015 else
8016 as_ac_var=`$as_echo "ac_cv_cflags_-fPIC -Wl,-R,\\$ORIGIN/../lib" | $as_tr_sh`
8017 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -fPIC -Wl,-R,\$ORIGIN/../lib" >&5
8018 $as_echo_n "checking whether the compiler supports -fPIC -Wl,-R,\$ORIGIN/../lib... " >&6; }
8019 if eval \${$as_ac_var+:} false; then :
8020 $as_echo_n "(cached) " >&6
8021 else
8022 ac_wine_try_cflags_saved=$CFLAGS
8023 CFLAGS="$CFLAGS -fPIC -Wl,-R,\$ORIGIN/../lib"
8024 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
8025 /* end confdefs.h. */
8026 int main(int argc, char **argv) { return 0; }
8027 _ACEOF
8028 if ac_fn_c_try_link "$LINENO"; then :
8029 eval "$as_ac_var=yes"
8030 else
8031 eval "$as_ac_var=no"
8033 rm -f core conftest.err conftest.$ac_objext \
8034 conftest$ac_exeext conftest.$ac_ext
8035 CFLAGS=$ac_wine_try_cflags_saved
8037 eval ac_res=\$$as_ac_var
8038 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
8039 $as_echo "$ac_res" >&6; }
8040 if eval test \"x\$"$as_ac_var"\" = x"yes"; then :
8041 LDRPATH_INSTALL="-Wl,-R,\\\$\$ORIGIN/\`\$(MAKEDEP) -R \$(bindir) \$(libdir)\`"
8042 LDRPATH_LOCAL="-Wl,-R,\\\$\$ORIGIN/\$(top_builddir)/libs/wine"
8046 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wl,--enable-new-dtags" >&5
8047 $as_echo_n "checking whether the compiler supports -Wl,--enable-new-dtags... " >&6; }
8048 if ${ac_cv_cflags__Wl___enable_new_dtags+:} false; then :
8049 $as_echo_n "(cached) " >&6
8050 else
8051 ac_wine_try_cflags_saved=$CFLAGS
8052 CFLAGS="$CFLAGS -Wl,--enable-new-dtags"
8053 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
8054 /* end confdefs.h. */
8055 int main(int argc, char **argv) { return 0; }
8056 _ACEOF
8057 if ac_fn_c_try_link "$LINENO"; then :
8058 ac_cv_cflags__Wl___enable_new_dtags=yes
8059 else
8060 ac_cv_cflags__Wl___enable_new_dtags=no
8062 rm -f core conftest.err conftest.$ac_objext \
8063 conftest$ac_exeext conftest.$ac_ext
8064 CFLAGS=$ac_wine_try_cflags_saved
8066 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wl___enable_new_dtags" >&5
8067 $as_echo "$ac_cv_cflags__Wl___enable_new_dtags" >&6; }
8068 if test "x$ac_cv_cflags__Wl___enable_new_dtags" = xyes; then :
8069 LDRPATH_INSTALL="$LDRPATH_INSTALL -Wl,--enable-new-dtags"
8072 case $host_cpu in
8073 *i[3456789]86* | x86_64)
8074 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wl,--section-start,.interp=0x7bf00400" >&5
8075 $as_echo_n "checking whether the compiler supports -Wl,--section-start,.interp=0x7bf00400... " >&6; }
8076 if ${ac_cv_cflags__Wl___section_start__interp_0x7bf00400+:} false; then :
8077 $as_echo_n "(cached) " >&6
8078 else
8079 ac_wine_try_cflags_saved=$CFLAGS
8080 CFLAGS="$CFLAGS -Wl,--section-start,.interp=0x7bf00400"
8081 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
8082 /* end confdefs.h. */
8083 int main(int argc, char **argv) { return 0; }
8084 _ACEOF
8085 if ac_fn_c_try_link "$LINENO"; then :
8086 ac_cv_cflags__Wl___section_start__interp_0x7bf00400=yes
8087 else
8088 ac_cv_cflags__Wl___section_start__interp_0x7bf00400=no
8090 rm -f core conftest.err conftest.$ac_objext \
8091 conftest$ac_exeext conftest.$ac_ext
8092 CFLAGS=$ac_wine_try_cflags_saved
8094 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wl___section_start__interp_0x7bf00400" >&5
8095 $as_echo "$ac_cv_cflags__Wl___section_start__interp_0x7bf00400" >&6; }
8096 if test "x$ac_cv_cflags__Wl___section_start__interp_0x7bf00400" = xyes; then :
8097 LDEXECFLAGS="$LDEXECFLAGS -Wl,--section-start,.interp=0x7bf00400"
8100 esac
8102 libwine_targets="libwine.so"
8103 LIBWINE_RULES="
8104 OBJS = \$(C_SRCS:.c=.o) \$(EXTRA_OBJS)
8106 all: libwine.so
8108 libwine.so: \$(OBJS)
8109 \$(CC) -shared \$(OBJS) \$(EXTRALIBS) \$(LDFLAGS) \$(LIBS) -o \$@
8111 install install-lib:: libwine.so
8112 \$(INSTALL_PROGRAM) libwine.so \$(DESTDIR)\$(libdir)/libwine.so
8114 uninstall::
8115 \$(RM) \$(DESTDIR)\$(libdir)/libwine.so
8119 as_fn_append LOADER_RULES "
8120 $wine_binary: main.o
8121 \$(CC) -o \$@ $LDEXECFLAGS main.o \$(LIBWINE) \$(LIBPORT) \$(EXTRALIBS) \$(LDFLAGS) \$(LDRPATH_LOCAL)
8123 wine-installed: main.o
8124 \$(CC) -o \$@ $LDEXECFLAGS main.o \$(LIBWINE) \$(LIBPORT) \$(EXTRALIBS) \$(LDFLAGS) \$(LDRPATH_INSTALL)
8129 DLLFLAGS="$DLLFLAGS -fPIC"
8130 LDEXECFLAGS=""
8131 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we can build a GNU style ELF dll" >&5
8132 $as_echo_n "checking whether we can build a GNU style ELF dll... " >&6; }
8133 if ${ac_cv_c_dll_gnuelf+:} false; then :
8134 $as_echo_n "(cached) " >&6
8135 else
8136 ac_wine_try_cflags_saved=$CFLAGS
8137 CFLAGS="$CFLAGS -fPIC -shared -Wl,-Bsymbolic"
8138 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
8139 /* end confdefs.h. */
8140 void myfunc() {}
8141 _ACEOF
8142 if ac_fn_c_try_link "$LINENO"; then :
8143 ac_cv_c_dll_gnuelf="yes"
8144 else
8145 ac_cv_c_dll_gnuelf="no"
8147 rm -f core conftest.err conftest.$ac_objext \
8148 conftest$ac_exeext conftest.$ac_ext
8149 CFLAGS=$ac_wine_try_cflags_saved
8151 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_dll_gnuelf" >&5
8152 $as_echo "$ac_cv_c_dll_gnuelf" >&6; }
8153 if test "$ac_cv_c_dll_gnuelf" = "yes"
8154 then
8155 LDSHARED="\$(CC) -shared"
8156 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -fPIC -shared -Wl,-soname,confest.so.1" >&5
8157 $as_echo_n "checking whether the compiler supports -fPIC -shared -Wl,-soname,confest.so.1... " >&6; }
8158 if ${ac_cv_cflags__fPIC__shared__Wl__soname_confest_so_1+:} false; then :
8159 $as_echo_n "(cached) " >&6
8160 else
8161 ac_wine_try_cflags_saved=$CFLAGS
8162 CFLAGS="$CFLAGS -fPIC -shared -Wl,-soname,confest.so.1"
8163 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
8164 /* end confdefs.h. */
8165 int main(int argc, char **argv) { return 0; }
8166 _ACEOF
8167 if ac_fn_c_try_link "$LINENO"; then :
8168 ac_cv_cflags__fPIC__shared__Wl__soname_confest_so_1=yes
8169 else
8170 ac_cv_cflags__fPIC__shared__Wl__soname_confest_so_1=no
8172 rm -f core conftest.err conftest.$ac_objext \
8173 conftest$ac_exeext conftest.$ac_ext
8174 CFLAGS=$ac_wine_try_cflags_saved
8176 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__fPIC__shared__Wl__soname_confest_so_1" >&5
8177 $as_echo "$ac_cv_cflags__fPIC__shared__Wl__soname_confest_so_1" >&6; }
8178 if test "x$ac_cv_cflags__fPIC__shared__Wl__soname_confest_so_1" = xyes; then :
8179 LDSHARED="\$(CC) -shared -Wl,-soname,libwine.so.$libwine_soversion"
8180 else
8181 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -fPIC -shared -Wl,-h,confest.so.1" >&5
8182 $as_echo_n "checking whether the compiler supports -fPIC -shared -Wl,-h,confest.so.1... " >&6; }
8183 if ${ac_cv_cflags__fPIC__shared__Wl__h_confest_so_1+:} false; then :
8184 $as_echo_n "(cached) " >&6
8185 else
8186 ac_wine_try_cflags_saved=$CFLAGS
8187 CFLAGS="$CFLAGS -fPIC -shared -Wl,-h,confest.so.1"
8188 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
8189 /* end confdefs.h. */
8190 int main(int argc, char **argv) { return 0; }
8191 _ACEOF
8192 if ac_fn_c_try_link "$LINENO"; then :
8193 ac_cv_cflags__fPIC__shared__Wl__h_confest_so_1=yes
8194 else
8195 ac_cv_cflags__fPIC__shared__Wl__h_confest_so_1=no
8197 rm -f core conftest.err conftest.$ac_objext \
8198 conftest$ac_exeext conftest.$ac_ext
8199 CFLAGS=$ac_wine_try_cflags_saved
8201 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__fPIC__shared__Wl__h_confest_so_1" >&5
8202 $as_echo "$ac_cv_cflags__fPIC__shared__Wl__h_confest_so_1" >&6; }
8203 if test "x$ac_cv_cflags__fPIC__shared__Wl__h_confest_so_1" = xyes; then :
8204 LDSHARED="\$(CC) -shared -Wl,-h,libwine.so.$libwine_soversion"
8208 echo '{ global: *; };' >conftest.map
8209 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -fPIC -shared -Wl,--version-script=conftest.map" >&5
8210 $as_echo_n "checking whether the compiler supports -fPIC -shared -Wl,--version-script=conftest.map... " >&6; }
8211 if ${ac_cv_cflags__fPIC__shared__Wl___version_script_conftest_map+:} false; then :
8212 $as_echo_n "(cached) " >&6
8213 else
8214 ac_wine_try_cflags_saved=$CFLAGS
8215 CFLAGS="$CFLAGS -fPIC -shared -Wl,--version-script=conftest.map"
8216 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
8217 /* end confdefs.h. */
8218 int main(int argc, char **argv) { return 0; }
8219 _ACEOF
8220 if ac_fn_c_try_link "$LINENO"; then :
8221 ac_cv_cflags__fPIC__shared__Wl___version_script_conftest_map=yes
8222 else
8223 ac_cv_cflags__fPIC__shared__Wl___version_script_conftest_map=no
8225 rm -f core conftest.err conftest.$ac_objext \
8226 conftest$ac_exeext conftest.$ac_ext
8227 CFLAGS=$ac_wine_try_cflags_saved
8229 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__fPIC__shared__Wl___version_script_conftest_map" >&5
8230 $as_echo "$ac_cv_cflags__fPIC__shared__Wl___version_script_conftest_map" >&6; }
8231 if test "x$ac_cv_cflags__fPIC__shared__Wl___version_script_conftest_map" = xyes; then :
8232 LDSHARED="$LDSHARED -Wl,--version-script=\$(srcdir)/wine.map"
8234 rm -f conftest.map
8236 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -fPIC -Wl,--export-dynamic" >&5
8237 $as_echo_n "checking whether the compiler supports -fPIC -Wl,--export-dynamic... " >&6; }
8238 if ${ac_cv_cflags__fPIC__Wl___export_dynamic+:} false; then :
8239 $as_echo_n "(cached) " >&6
8240 else
8241 ac_wine_try_cflags_saved=$CFLAGS
8242 CFLAGS="$CFLAGS -fPIC -Wl,--export-dynamic"
8243 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
8244 /* end confdefs.h. */
8245 int main(int argc, char **argv) { return 0; }
8246 _ACEOF
8247 if ac_fn_c_try_link "$LINENO"; then :
8248 ac_cv_cflags__fPIC__Wl___export_dynamic=yes
8249 else
8250 ac_cv_cflags__fPIC__Wl___export_dynamic=no
8252 rm -f core conftest.err conftest.$ac_objext \
8253 conftest$ac_exeext conftest.$ac_ext
8254 CFLAGS=$ac_wine_try_cflags_saved
8256 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__fPIC__Wl___export_dynamic" >&5
8257 $as_echo "$ac_cv_cflags__fPIC__Wl___export_dynamic" >&6; }
8258 if test "x$ac_cv_cflags__fPIC__Wl___export_dynamic" = xyes; then :
8259 LDEXECFLAGS="-Wl,--export-dynamic"
8262 as_ac_var=`$as_echo "ac_cv_cflags_-fPIC -Wl,--rpath,\\$ORIGIN/../lib" | $as_tr_sh`
8263 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -fPIC -Wl,--rpath,\$ORIGIN/../lib" >&5
8264 $as_echo_n "checking whether the compiler supports -fPIC -Wl,--rpath,\$ORIGIN/../lib... " >&6; }
8265 if eval \${$as_ac_var+:} false; then :
8266 $as_echo_n "(cached) " >&6
8267 else
8268 ac_wine_try_cflags_saved=$CFLAGS
8269 CFLAGS="$CFLAGS -fPIC -Wl,--rpath,\$ORIGIN/../lib"
8270 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
8271 /* end confdefs.h. */
8272 int main(int argc, char **argv) { return 0; }
8273 _ACEOF
8274 if ac_fn_c_try_link "$LINENO"; then :
8275 eval "$as_ac_var=yes"
8276 else
8277 eval "$as_ac_var=no"
8279 rm -f core conftest.err conftest.$ac_objext \
8280 conftest$ac_exeext conftest.$ac_ext
8281 CFLAGS=$ac_wine_try_cflags_saved
8283 eval ac_res=\$$as_ac_var
8284 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
8285 $as_echo "$ac_res" >&6; }
8286 if eval test \"x\$"$as_ac_var"\" = x"yes"; then :
8287 LDRPATH_INSTALL="-Wl,--rpath,\\\$\$ORIGIN/\`\$(MAKEDEP) -R \$(bindir) \$(libdir)\`"
8288 LDRPATH_LOCAL="-Wl,--rpath,\\\$\$ORIGIN/\$(top_builddir)/libs/wine"
8289 else
8290 as_ac_var=`$as_echo "ac_cv_cflags_-fPIC -Wl,-R,\\$ORIGIN/../lib" | $as_tr_sh`
8291 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -fPIC -Wl,-R,\$ORIGIN/../lib" >&5
8292 $as_echo_n "checking whether the compiler supports -fPIC -Wl,-R,\$ORIGIN/../lib... " >&6; }
8293 if eval \${$as_ac_var+:} false; then :
8294 $as_echo_n "(cached) " >&6
8295 else
8296 ac_wine_try_cflags_saved=$CFLAGS
8297 CFLAGS="$CFLAGS -fPIC -Wl,-R,\$ORIGIN/../lib"
8298 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
8299 /* end confdefs.h. */
8300 int main(int argc, char **argv) { return 0; }
8301 _ACEOF
8302 if ac_fn_c_try_link "$LINENO"; then :
8303 eval "$as_ac_var=yes"
8304 else
8305 eval "$as_ac_var=no"
8307 rm -f core conftest.err conftest.$ac_objext \
8308 conftest$ac_exeext conftest.$ac_ext
8309 CFLAGS=$ac_wine_try_cflags_saved
8311 eval ac_res=\$$as_ac_var
8312 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
8313 $as_echo "$ac_res" >&6; }
8314 if eval test \"x\$"$as_ac_var"\" = x"yes"; then :
8315 LDRPATH_INSTALL="-Wl,-R,\\\$\$ORIGIN/\`\$(MAKEDEP) -R \$(bindir) \$(libdir)\`"
8316 LDRPATH_LOCAL="-Wl,-R,\\\$\$ORIGIN/\$(top_builddir)/libs/wine"
8320 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wl,--enable-new-dtags" >&5
8321 $as_echo_n "checking whether the compiler supports -Wl,--enable-new-dtags... " >&6; }
8322 if ${ac_cv_cflags__Wl___enable_new_dtags+:} false; then :
8323 $as_echo_n "(cached) " >&6
8324 else
8325 ac_wine_try_cflags_saved=$CFLAGS
8326 CFLAGS="$CFLAGS -Wl,--enable-new-dtags"
8327 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
8328 /* end confdefs.h. */
8329 int main(int argc, char **argv) { return 0; }
8330 _ACEOF
8331 if ac_fn_c_try_link "$LINENO"; then :
8332 ac_cv_cflags__Wl___enable_new_dtags=yes
8333 else
8334 ac_cv_cflags__Wl___enable_new_dtags=no
8336 rm -f core conftest.err conftest.$ac_objext \
8337 conftest$ac_exeext conftest.$ac_ext
8338 CFLAGS=$ac_wine_try_cflags_saved
8340 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wl___enable_new_dtags" >&5
8341 $as_echo "$ac_cv_cflags__Wl___enable_new_dtags" >&6; }
8342 if test "x$ac_cv_cflags__Wl___enable_new_dtags" = xyes; then :
8343 LDRPATH_INSTALL="$LDRPATH_INSTALL -Wl,--enable-new-dtags"
8346 case $host_cpu in
8347 *i[3456789]86* | x86_64)
8348 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wl,--section-start,.interp=0x7bf00400" >&5
8349 $as_echo_n "checking whether the compiler supports -Wl,--section-start,.interp=0x7bf00400... " >&6; }
8350 if ${ac_cv_cflags__Wl___section_start__interp_0x7bf00400+:} false; then :
8351 $as_echo_n "(cached) " >&6
8352 else
8353 ac_wine_try_cflags_saved=$CFLAGS
8354 CFLAGS="$CFLAGS -Wl,--section-start,.interp=0x7bf00400"
8355 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
8356 /* end confdefs.h. */
8357 int main(int argc, char **argv) { return 0; }
8358 _ACEOF
8359 if ac_fn_c_try_link "$LINENO"; then :
8360 ac_cv_cflags__Wl___section_start__interp_0x7bf00400=yes
8361 else
8362 ac_cv_cflags__Wl___section_start__interp_0x7bf00400=no
8364 rm -f core conftest.err conftest.$ac_objext \
8365 conftest$ac_exeext conftest.$ac_ext
8366 CFLAGS=$ac_wine_try_cflags_saved
8368 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wl___section_start__interp_0x7bf00400" >&5
8369 $as_echo "$ac_cv_cflags__Wl___section_start__interp_0x7bf00400" >&6; }
8370 if test "x$ac_cv_cflags__Wl___section_start__interp_0x7bf00400" = xyes; then :
8371 case $host_os in
8372 freebsd* | kfreebsd*-gnu) LDEXECFLAGS="$LDEXECFLAGS -Wl,--section-start,.interp=0x60000400" ;;
8373 *) LDEXECFLAGS="$LDEXECFLAGS -Wl,--section-start,.interp=0x7bf00400" ;;
8374 esac
8377 # Extract the first word of "prelink", so it can be a program name with args.
8378 set dummy prelink; ac_word=$2
8379 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
8380 $as_echo_n "checking for $ac_word... " >&6; }
8381 if ${ac_cv_path_PRELINK+:} false; then :
8382 $as_echo_n "(cached) " >&6
8383 else
8384 case $PRELINK in
8385 [\\/]* | ?:[\\/]*)
8386 ac_cv_path_PRELINK="$PRELINK" # Let the user override the test with a path.
8389 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
8390 for as_dir in /sbin /usr/sbin $PATH
8392 IFS=$as_save_IFS
8393 test -z "$as_dir" && as_dir=.
8394 for ac_exec_ext in '' $ac_executable_extensions; do
8395 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
8396 ac_cv_path_PRELINK="$as_dir/$ac_word$ac_exec_ext"
8397 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
8398 break 2
8400 done
8401 done
8402 IFS=$as_save_IFS
8404 test -z "$ac_cv_path_PRELINK" && ac_cv_path_PRELINK="false"
8406 esac
8408 PRELINK=$ac_cv_path_PRELINK
8409 if test -n "$PRELINK"; then
8410 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $PRELINK" >&5
8411 $as_echo "$PRELINK" >&6; }
8412 else
8413 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
8414 $as_echo "no" >&6; }
8418 if test "x$PRELINK" = xfalse
8419 then
8420 as_fn_append wine_warnings "|prelink not found, base address of core dlls won't be set correctly."
8423 esac
8425 else
8426 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we can build a UnixWare (Solaris) dll" >&5
8427 $as_echo_n "checking whether we can build a UnixWare (Solaris) dll... " >&6; }
8428 if ${ac_cv_c_dll_unixware+:} false; then :
8429 $as_echo_n "(cached) " >&6
8430 else
8431 ac_wine_try_cflags_saved=$CFLAGS
8432 CFLAGS="$CFLAGS -fPIC -Wl,-G,-h,conftest.so.1.0,-B,symbolic"
8433 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
8434 /* end confdefs.h. */
8435 void myfunc() {}
8436 _ACEOF
8437 if ac_fn_c_try_link "$LINENO"; then :
8438 ac_cv_c_dll_unixware="yes"
8439 else
8440 ac_cv_c_dll_unixware="no"
8442 rm -f core conftest.err conftest.$ac_objext \
8443 conftest$ac_exeext conftest.$ac_ext
8444 CFLAGS=$ac_wine_try_cflags_saved
8446 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_dll_unixware" >&5
8447 $as_echo "$ac_cv_c_dll_unixware" >&6; }
8448 if test "$ac_cv_c_dll_unixware" = "yes"
8449 then
8450 LDSHARED="\$(CC) -Wl,-G,-h,libwine.so.$libwine_soversion"
8453 libwine_targets="libwine.so libwine.so.$libwine_soversion libwine.so.$libwine_version"
8454 LIBWINE_RULES="
8455 OBJS = \$(C_SRCS:.c=.o) \$(EXTRA_OBJS)
8457 all: libwine.so
8459 libwine.so.$libwine_version: \$(OBJS) \$(srcdir)/wine.map
8460 $LDSHARED \$(OBJS) \$(EXTRALIBS) \$(LDFLAGS) \$(LIBS) -o \$@
8462 libwine.so.$libwine_soversion: libwine.so.$libwine_version
8463 \$(RM) \$@ && \$(LN_S) libwine.so.$libwine_version \$@
8465 libwine.so: libwine.so.$libwine_soversion
8466 \$(RM) \$@ && \$(LN_S) libwine.so.$libwine_soversion \$@
8468 install install-lib:: libwine.so.$libwine_version
8469 \$(INSTALL_PROGRAM) libwine.so.$libwine_version \$(DESTDIR)\$(libdir)/libwine.so.$libwine_version
8470 cd \$(DESTDIR)\$(libdir) && \$(RM) libwine.so.$libwine_soversion && \$(LN_S) libwine.so.$libwine_version libwine.so.$libwine_soversion
8472 install install-dev::
8473 cd \$(DESTDIR)\$(libdir) && \$(RM) libwine.so && \$(LN_S) libwine.so.$libwine_version libwine.so
8475 uninstall::
8476 -cd \$(DESTDIR)\$(libdir) && \$(RM) libwine.so libwine.so.$libwine_soversion libwine.so.$libwine_version
8480 as_fn_append LOADER_RULES "
8481 $wine_binary: main.o
8482 \$(CC) -o \$@ $LDEXECFLAGS main.o \$(LIBWINE) \$(LIBPORT) \$(EXTRALIBS) \$(LDFLAGS) \$(LDRPATH_LOCAL)
8484 wine-installed: main.o
8485 \$(CC) -o \$@ $LDEXECFLAGS main.o \$(LIBWINE) \$(LIBPORT) \$(EXTRALIBS) \$(LDFLAGS) \$(LDRPATH_INSTALL)
8488 esac
8490 as_fn_append LIBWINE_RULES "
8491 EXTRA_TARGETS = $libwine_targets
8494 enable_wineqtdecoder=${enable_wineqtdecoder:-no}
8495 enable_winemac_drv=${enable_winemac_drv:-no}
8497 CROSSTARGET=""
8499 if test "$cross_compiling" = "no" -a "x$enable_tests" != xno -a "$LIBEXT" != "dll"
8500 then
8501 case "$host_cpu" in
8502 i[3456789]86*)
8503 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
8504 mingw32-gcc" ;;
8505 x86_64)
8506 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 " ;;
8508 ac_prefix_list="" ;;
8509 esac
8510 for ac_prog in $ac_prefix_list
8512 # Extract the first word of "$ac_prog", so it can be a program name with args.
8513 set dummy $ac_prog; ac_word=$2
8514 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
8515 $as_echo_n "checking for $ac_word... " >&6; }
8516 if ${ac_cv_prog_CROSSCC+:} false; then :
8517 $as_echo_n "(cached) " >&6
8518 else
8519 if test -n "$CROSSCC"; then
8520 ac_cv_prog_CROSSCC="$CROSSCC" # Let the user override the test.
8521 else
8522 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
8523 for as_dir in $PATH
8525 IFS=$as_save_IFS
8526 test -z "$as_dir" && as_dir=.
8527 for ac_exec_ext in '' $ac_executable_extensions; do
8528 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
8529 ac_cv_prog_CROSSCC="$ac_prog"
8530 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
8531 break 2
8533 done
8534 done
8535 IFS=$as_save_IFS
8539 CROSSCC=$ac_cv_prog_CROSSCC
8540 if test -n "$CROSSCC"; then
8541 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CROSSCC" >&5
8542 $as_echo "$CROSSCC" >&6; }
8543 else
8544 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
8545 $as_echo "no" >&6; }
8549 test -n "$CROSSCC" && break
8550 done
8551 test -n "$CROSSCC" || CROSSCC="false"
8553 if test "$CROSSCC" != "false"
8554 then
8555 ac_save_CC="$CC"
8556 CC="$CROSSCC"
8557 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CROSSCC works" >&5
8558 $as_echo_n "checking whether $CROSSCC works... " >&6; }
8559 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
8560 /* end confdefs.h. */
8563 main ()
8567 return 0;
8569 _ACEOF
8570 if ac_fn_c_try_compile "$LINENO"; then :
8571 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
8572 $as_echo "yes" >&6; }
8573 set x $CROSSCC
8574 shift
8575 while test $# -ge 1
8577 case "$1" in
8578 *-gcc) CROSSTARGET=`expr "$1" : '\(.*\)-gcc'` ;;
8579 esac
8580 shift
8581 done
8582 else
8583 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
8584 $as_echo "no" >&6; }
8586 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
8587 CC="$ac_save_CC"
8592 if test "$ac_cv_header_pthread_h" = "yes"
8593 then
8594 ac_fn_c_check_func "$LINENO" "pthread_create" "ac_cv_func_pthread_create"
8595 if test "x$ac_cv_func_pthread_create" = xyes; then :
8597 else
8598 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for pthread_create in -lpthread" >&5
8599 $as_echo_n "checking for pthread_create in -lpthread... " >&6; }
8600 if ${ac_cv_lib_pthread_pthread_create+:} false; then :
8601 $as_echo_n "(cached) " >&6
8602 else
8603 ac_check_lib_save_LIBS=$LIBS
8604 LIBS="-lpthread $LIBS"
8605 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
8606 /* end confdefs.h. */
8608 /* Override any GCC internal prototype to avoid an error.
8609 Use char because int might match the return type of a GCC
8610 builtin and then its argument prototype would still apply. */
8611 #ifdef __cplusplus
8612 extern "C"
8613 #endif
8614 char pthread_create ();
8616 main ()
8618 return pthread_create ();
8620 return 0;
8622 _ACEOF
8623 if ac_fn_c_try_link "$LINENO"; then :
8624 ac_cv_lib_pthread_pthread_create=yes
8625 else
8626 ac_cv_lib_pthread_pthread_create=no
8628 rm -f core conftest.err conftest.$ac_objext \
8629 conftest$ac_exeext conftest.$ac_ext
8630 LIBS=$ac_check_lib_save_LIBS
8632 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_pthread_pthread_create" >&5
8633 $as_echo "$ac_cv_lib_pthread_pthread_create" >&6; }
8634 if test "x$ac_cv_lib_pthread_pthread_create" = xyes; then :
8635 PTHREAD_LIBS="-lpthread"
8642 if test "x$ac_cv_func_pthread_create" != xyes -a "x$PTHREAD_LIBS" = x; then :
8643 case "x$with_pthread" in
8644 xno) ;;
8645 *) as_fn_error $? "pthread ${notice_platform}development files not found.
8646 Wine cannot support threads without libpthread.
8647 Use the --without-pthread option if you really want this." "$LINENO" 5 ;;
8648 esac
8652 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for X" >&5
8653 $as_echo_n "checking for X... " >&6; }
8656 # Check whether --with-x was given.
8657 if test "${with_x+set}" = set; then :
8658 withval=$with_x;
8661 # $have_x is `yes', `no', `disabled', or empty when we do not yet know.
8662 if test "x$with_x" = xno; then
8663 # The user explicitly disabled X.
8664 have_x=disabled
8665 else
8666 case $x_includes,$x_libraries in #(
8667 *\'*) as_fn_error $? "cannot use X directory names containing '" "$LINENO" 5;; #(
8668 *,NONE | NONE,*) if ${ac_cv_have_x+:} false; then :
8669 $as_echo_n "(cached) " >&6
8670 else
8671 # One or both of the vars are not set, and there is no cached value.
8672 ac_x_includes=no ac_x_libraries=no
8673 rm -f -r conftest.dir
8674 if mkdir conftest.dir; then
8675 cd conftest.dir
8676 cat >Imakefile <<'_ACEOF'
8677 incroot:
8678 @echo incroot='${INCROOT}'
8679 usrlibdir:
8680 @echo usrlibdir='${USRLIBDIR}'
8681 libdir:
8682 @echo libdir='${LIBDIR}'
8683 _ACEOF
8684 if (export CC; ${XMKMF-xmkmf}) >/dev/null 2>/dev/null && test -f Makefile; then
8685 # GNU make sometimes prints "make[1]: Entering ...", which would confuse us.
8686 for ac_var in incroot usrlibdir libdir; do
8687 eval "ac_im_$ac_var=\`\${MAKE-make} $ac_var 2>/dev/null | sed -n 's/^$ac_var=//p'\`"
8688 done
8689 # Open Windows xmkmf reportedly sets LIBDIR instead of USRLIBDIR.
8690 for ac_extension in a so sl dylib la dll; do
8691 if test ! -f "$ac_im_usrlibdir/libX11.$ac_extension" &&
8692 test -f "$ac_im_libdir/libX11.$ac_extension"; then
8693 ac_im_usrlibdir=$ac_im_libdir; break
8695 done
8696 # Screen out bogus values from the imake configuration. They are
8697 # bogus both because they are the default anyway, and because
8698 # using them would break gcc on systems where it needs fixed includes.
8699 case $ac_im_incroot in
8700 /usr/include) ac_x_includes= ;;
8701 *) test -f "$ac_im_incroot/X11/Xos.h" && ac_x_includes=$ac_im_incroot;;
8702 esac
8703 case $ac_im_usrlibdir in
8704 /usr/lib | /usr/lib64 | /lib | /lib64) ;;
8705 *) test -d "$ac_im_usrlibdir" && ac_x_libraries=$ac_im_usrlibdir ;;
8706 esac
8708 cd ..
8709 rm -f -r conftest.dir
8712 # Standard set of common directories for X headers.
8713 # Check X11 before X11Rn because it is often a symlink to the current release.
8714 ac_x_header_dirs='
8715 /usr/X11/include
8716 /usr/X11R7/include
8717 /usr/X11R6/include
8718 /usr/X11R5/include
8719 /usr/X11R4/include
8721 /usr/include/X11
8722 /usr/include/X11R7
8723 /usr/include/X11R6
8724 /usr/include/X11R5
8725 /usr/include/X11R4
8727 /usr/local/X11/include
8728 /usr/local/X11R7/include
8729 /usr/local/X11R6/include
8730 /usr/local/X11R5/include
8731 /usr/local/X11R4/include
8733 /usr/local/include/X11
8734 /usr/local/include/X11R7
8735 /usr/local/include/X11R6
8736 /usr/local/include/X11R5
8737 /usr/local/include/X11R4
8739 /usr/X386/include
8740 /usr/x386/include
8741 /usr/XFree86/include/X11
8743 /usr/include
8744 /usr/local/include
8745 /usr/unsupported/include
8746 /usr/athena/include
8747 /usr/local/x11r5/include
8748 /usr/lpp/Xamples/include
8750 /usr/openwin/include
8751 /usr/openwin/share/include'
8753 if test "$ac_x_includes" = no; then
8754 # Guess where to find include files, by looking for Xlib.h.
8755 # First, try using that file with no special directory specified.
8756 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
8757 /* end confdefs.h. */
8758 #include <X11/Xlib.h>
8759 _ACEOF
8760 if ac_fn_c_try_cpp "$LINENO"; then :
8761 # We can compile using X headers with no special include directory.
8762 ac_x_includes=
8763 else
8764 for ac_dir in $ac_x_header_dirs; do
8765 if test -r "$ac_dir/X11/Xlib.h"; then
8766 ac_x_includes=$ac_dir
8767 break
8769 done
8771 rm -f conftest.err conftest.i conftest.$ac_ext
8772 fi # $ac_x_includes = no
8774 if test "$ac_x_libraries" = no; then
8775 # Check for the libraries.
8776 # See if we find them without any special options.
8777 # Don't add to $LIBS permanently.
8778 ac_save_LIBS=$LIBS
8779 LIBS="-lX11 $LIBS"
8780 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
8781 /* end confdefs.h. */
8782 #include <X11/Xlib.h>
8784 main ()
8786 XrmInitialize ()
8788 return 0;
8790 _ACEOF
8791 if ac_fn_c_try_link "$LINENO"; then :
8792 LIBS=$ac_save_LIBS
8793 # We can link X programs with no special library path.
8794 ac_x_libraries=
8795 else
8796 LIBS=$ac_save_LIBS
8797 for ac_dir in `$as_echo "$ac_x_includes $ac_x_header_dirs" | sed s/include/lib/g`
8799 # Don't even attempt the hair of trying to link an X program!
8800 for ac_extension in a so sl dylib la dll; do
8801 if test -r "$ac_dir/libX11.$ac_extension"; then
8802 ac_x_libraries=$ac_dir
8803 break 2
8805 done
8806 done
8808 rm -f core conftest.err conftest.$ac_objext \
8809 conftest$ac_exeext conftest.$ac_ext
8810 fi # $ac_x_libraries = no
8812 case $ac_x_includes,$ac_x_libraries in #(
8813 no,* | *,no | *\'*)
8814 # Didn't find X, or a directory has "'" in its name.
8815 ac_cv_have_x="have_x=no";; #(
8817 # Record where we found X for the cache.
8818 ac_cv_have_x="have_x=yes\
8819 ac_x_includes='$ac_x_includes'\
8820 ac_x_libraries='$ac_x_libraries'"
8821 esac
8823 ;; #(
8824 *) have_x=yes;;
8825 esac
8826 eval "$ac_cv_have_x"
8827 fi # $with_x != no
8829 if test "$have_x" != yes; then
8830 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $have_x" >&5
8831 $as_echo "$have_x" >&6; }
8832 no_x=yes
8833 else
8834 # If each of the values was on the command line, it overrides each guess.
8835 test "x$x_includes" = xNONE && x_includes=$ac_x_includes
8836 test "x$x_libraries" = xNONE && x_libraries=$ac_x_libraries
8837 # Update the cache value to reflect the command line values.
8838 ac_cv_have_x="have_x=yes\
8839 ac_x_includes='$x_includes'\
8840 ac_x_libraries='$x_libraries'"
8841 { $as_echo "$as_me:${as_lineno-$LINENO}: result: libraries $x_libraries, headers $x_includes" >&5
8842 $as_echo "libraries $x_libraries, headers $x_includes" >&6; }
8845 if test "$no_x" = yes; then
8846 # Not all programs may use this symbol, but it does not hurt to define it.
8848 $as_echo "#define X_DISPLAY_MISSING 1" >>confdefs.h
8850 X_CFLAGS= X_PRE_LIBS= X_LIBS= X_EXTRA_LIBS=
8851 else
8852 if test -n "$x_includes"; then
8853 X_CFLAGS="$X_CFLAGS -I$x_includes"
8856 # It would also be nice to do this for all -L options, not just this one.
8857 if test -n "$x_libraries"; then
8858 X_LIBS="$X_LIBS -L$x_libraries"
8859 # For Solaris; some versions of Sun CC require a space after -R and
8860 # others require no space. Words are not sufficient . . . .
8861 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether -R must be followed by a space" >&5
8862 $as_echo_n "checking whether -R must be followed by a space... " >&6; }
8863 ac_xsave_LIBS=$LIBS; LIBS="$LIBS -R$x_libraries"
8864 ac_xsave_c_werror_flag=$ac_c_werror_flag
8865 ac_c_werror_flag=yes
8866 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
8867 /* end confdefs.h. */
8870 main ()
8874 return 0;
8876 _ACEOF
8877 if ac_fn_c_try_link "$LINENO"; then :
8878 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
8879 $as_echo "no" >&6; }
8880 X_LIBS="$X_LIBS -R$x_libraries"
8881 else
8882 LIBS="$ac_xsave_LIBS -R $x_libraries"
8883 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
8884 /* end confdefs.h. */
8887 main ()
8891 return 0;
8893 _ACEOF
8894 if ac_fn_c_try_link "$LINENO"; then :
8895 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
8896 $as_echo "yes" >&6; }
8897 X_LIBS="$X_LIBS -R $x_libraries"
8898 else
8899 { $as_echo "$as_me:${as_lineno-$LINENO}: result: neither works" >&5
8900 $as_echo "neither works" >&6; }
8902 rm -f core conftest.err conftest.$ac_objext \
8903 conftest$ac_exeext conftest.$ac_ext
8905 rm -f core conftest.err conftest.$ac_objext \
8906 conftest$ac_exeext conftest.$ac_ext
8907 ac_c_werror_flag=$ac_xsave_c_werror_flag
8908 LIBS=$ac_xsave_LIBS
8911 # Check for system-dependent libraries X programs must link with.
8912 # Do this before checking for the system-independent R6 libraries
8913 # (-lICE), since we may need -lsocket or whatever for X linking.
8915 if test "$ISC" = yes; then
8916 X_EXTRA_LIBS="$X_EXTRA_LIBS -lnsl_s -linet"
8917 else
8918 # Martyn Johnson says this is needed for Ultrix, if the X
8919 # libraries were built with DECnet support. And Karl Berry says
8920 # the Alpha needs dnet_stub (dnet does not exist).
8921 ac_xsave_LIBS="$LIBS"; LIBS="$LIBS $X_LIBS -lX11"
8922 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
8923 /* end confdefs.h. */
8925 /* Override any GCC internal prototype to avoid an error.
8926 Use char because int might match the return type of a GCC
8927 builtin and then its argument prototype would still apply. */
8928 #ifdef __cplusplus
8929 extern "C"
8930 #endif
8931 char XOpenDisplay ();
8933 main ()
8935 return XOpenDisplay ();
8937 return 0;
8939 _ACEOF
8940 if ac_fn_c_try_link "$LINENO"; then :
8942 else
8943 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dnet_ntoa in -ldnet" >&5
8944 $as_echo_n "checking for dnet_ntoa in -ldnet... " >&6; }
8945 if ${ac_cv_lib_dnet_dnet_ntoa+:} false; then :
8946 $as_echo_n "(cached) " >&6
8947 else
8948 ac_check_lib_save_LIBS=$LIBS
8949 LIBS="-ldnet $LIBS"
8950 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
8951 /* end confdefs.h. */
8953 /* Override any GCC internal prototype to avoid an error.
8954 Use char because int might match the return type of a GCC
8955 builtin and then its argument prototype would still apply. */
8956 #ifdef __cplusplus
8957 extern "C"
8958 #endif
8959 char dnet_ntoa ();
8961 main ()
8963 return dnet_ntoa ();
8965 return 0;
8967 _ACEOF
8968 if ac_fn_c_try_link "$LINENO"; then :
8969 ac_cv_lib_dnet_dnet_ntoa=yes
8970 else
8971 ac_cv_lib_dnet_dnet_ntoa=no
8973 rm -f core conftest.err conftest.$ac_objext \
8974 conftest$ac_exeext conftest.$ac_ext
8975 LIBS=$ac_check_lib_save_LIBS
8977 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dnet_dnet_ntoa" >&5
8978 $as_echo "$ac_cv_lib_dnet_dnet_ntoa" >&6; }
8979 if test "x$ac_cv_lib_dnet_dnet_ntoa" = xyes; then :
8980 X_EXTRA_LIBS="$X_EXTRA_LIBS -ldnet"
8983 if test $ac_cv_lib_dnet_dnet_ntoa = no; then
8984 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dnet_ntoa in -ldnet_stub" >&5
8985 $as_echo_n "checking for dnet_ntoa in -ldnet_stub... " >&6; }
8986 if ${ac_cv_lib_dnet_stub_dnet_ntoa+:} false; then :
8987 $as_echo_n "(cached) " >&6
8988 else
8989 ac_check_lib_save_LIBS=$LIBS
8990 LIBS="-ldnet_stub $LIBS"
8991 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
8992 /* end confdefs.h. */
8994 /* Override any GCC internal prototype to avoid an error.
8995 Use char because int might match the return type of a GCC
8996 builtin and then its argument prototype would still apply. */
8997 #ifdef __cplusplus
8998 extern "C"
8999 #endif
9000 char dnet_ntoa ();
9002 main ()
9004 return dnet_ntoa ();
9006 return 0;
9008 _ACEOF
9009 if ac_fn_c_try_link "$LINENO"; then :
9010 ac_cv_lib_dnet_stub_dnet_ntoa=yes
9011 else
9012 ac_cv_lib_dnet_stub_dnet_ntoa=no
9014 rm -f core conftest.err conftest.$ac_objext \
9015 conftest$ac_exeext conftest.$ac_ext
9016 LIBS=$ac_check_lib_save_LIBS
9018 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dnet_stub_dnet_ntoa" >&5
9019 $as_echo "$ac_cv_lib_dnet_stub_dnet_ntoa" >&6; }
9020 if test "x$ac_cv_lib_dnet_stub_dnet_ntoa" = xyes; then :
9021 X_EXTRA_LIBS="$X_EXTRA_LIBS -ldnet_stub"
9026 rm -f core conftest.err conftest.$ac_objext \
9027 conftest$ac_exeext conftest.$ac_ext
9028 LIBS="$ac_xsave_LIBS"
9030 # msh@cis.ufl.edu says -lnsl (and -lsocket) are needed for his 386/AT,
9031 # to get the SysV transport functions.
9032 # Chad R. Larson says the Pyramis MIS-ES running DC/OSx (SVR4)
9033 # needs -lnsl.
9034 # The nsl library prevents programs from opening the X display
9035 # on Irix 5.2, according to T.E. Dickey.
9036 # The functions gethostbyname, getservbyname, and inet_addr are
9037 # in -lbsd on LynxOS 3.0.1/i386, according to Lars Hecking.
9038 ac_fn_c_check_func "$LINENO" "gethostbyname" "ac_cv_func_gethostbyname"
9039 if test "x$ac_cv_func_gethostbyname" = xyes; then :
9043 if test $ac_cv_func_gethostbyname = no; then
9044 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for gethostbyname in -lnsl" >&5
9045 $as_echo_n "checking for gethostbyname in -lnsl... " >&6; }
9046 if ${ac_cv_lib_nsl_gethostbyname+:} false; then :
9047 $as_echo_n "(cached) " >&6
9048 else
9049 ac_check_lib_save_LIBS=$LIBS
9050 LIBS="-lnsl $LIBS"
9051 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9052 /* end confdefs.h. */
9054 /* Override any GCC internal prototype to avoid an error.
9055 Use char because int might match the return type of a GCC
9056 builtin and then its argument prototype would still apply. */
9057 #ifdef __cplusplus
9058 extern "C"
9059 #endif
9060 char gethostbyname ();
9062 main ()
9064 return gethostbyname ();
9066 return 0;
9068 _ACEOF
9069 if ac_fn_c_try_link "$LINENO"; then :
9070 ac_cv_lib_nsl_gethostbyname=yes
9071 else
9072 ac_cv_lib_nsl_gethostbyname=no
9074 rm -f core conftest.err conftest.$ac_objext \
9075 conftest$ac_exeext conftest.$ac_ext
9076 LIBS=$ac_check_lib_save_LIBS
9078 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_nsl_gethostbyname" >&5
9079 $as_echo "$ac_cv_lib_nsl_gethostbyname" >&6; }
9080 if test "x$ac_cv_lib_nsl_gethostbyname" = xyes; then :
9081 X_EXTRA_LIBS="$X_EXTRA_LIBS -lnsl"
9084 if test $ac_cv_lib_nsl_gethostbyname = no; then
9085 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for gethostbyname in -lbsd" >&5
9086 $as_echo_n "checking for gethostbyname in -lbsd... " >&6; }
9087 if ${ac_cv_lib_bsd_gethostbyname+:} false; then :
9088 $as_echo_n "(cached) " >&6
9089 else
9090 ac_check_lib_save_LIBS=$LIBS
9091 LIBS="-lbsd $LIBS"
9092 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9093 /* end confdefs.h. */
9095 /* Override any GCC internal prototype to avoid an error.
9096 Use char because int might match the return type of a GCC
9097 builtin and then its argument prototype would still apply. */
9098 #ifdef __cplusplus
9099 extern "C"
9100 #endif
9101 char gethostbyname ();
9103 main ()
9105 return gethostbyname ();
9107 return 0;
9109 _ACEOF
9110 if ac_fn_c_try_link "$LINENO"; then :
9111 ac_cv_lib_bsd_gethostbyname=yes
9112 else
9113 ac_cv_lib_bsd_gethostbyname=no
9115 rm -f core conftest.err conftest.$ac_objext \
9116 conftest$ac_exeext conftest.$ac_ext
9117 LIBS=$ac_check_lib_save_LIBS
9119 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_bsd_gethostbyname" >&5
9120 $as_echo "$ac_cv_lib_bsd_gethostbyname" >&6; }
9121 if test "x$ac_cv_lib_bsd_gethostbyname" = xyes; then :
9122 X_EXTRA_LIBS="$X_EXTRA_LIBS -lbsd"
9128 # lieder@skyler.mavd.honeywell.com says without -lsocket,
9129 # socket/setsockopt and other routines are undefined under SCO ODT
9130 # 2.0. But -lsocket is broken on IRIX 5.2 (and is not necessary
9131 # on later versions), says Simon Leinen: it contains gethostby*
9132 # variants that don't use the name server (or something). -lsocket
9133 # must be given before -lnsl if both are needed. We assume that
9134 # if connect needs -lnsl, so does gethostbyname.
9135 ac_fn_c_check_func "$LINENO" "connect" "ac_cv_func_connect"
9136 if test "x$ac_cv_func_connect" = xyes; then :
9140 if test $ac_cv_func_connect = no; then
9141 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for connect in -lsocket" >&5
9142 $as_echo_n "checking for connect in -lsocket... " >&6; }
9143 if ${ac_cv_lib_socket_connect+:} false; then :
9144 $as_echo_n "(cached) " >&6
9145 else
9146 ac_check_lib_save_LIBS=$LIBS
9147 LIBS="-lsocket $X_EXTRA_LIBS $LIBS"
9148 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9149 /* end confdefs.h. */
9151 /* Override any GCC internal prototype to avoid an error.
9152 Use char because int might match the return type of a GCC
9153 builtin and then its argument prototype would still apply. */
9154 #ifdef __cplusplus
9155 extern "C"
9156 #endif
9157 char connect ();
9159 main ()
9161 return connect ();
9163 return 0;
9165 _ACEOF
9166 if ac_fn_c_try_link "$LINENO"; then :
9167 ac_cv_lib_socket_connect=yes
9168 else
9169 ac_cv_lib_socket_connect=no
9171 rm -f core conftest.err conftest.$ac_objext \
9172 conftest$ac_exeext conftest.$ac_ext
9173 LIBS=$ac_check_lib_save_LIBS
9175 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_socket_connect" >&5
9176 $as_echo "$ac_cv_lib_socket_connect" >&6; }
9177 if test "x$ac_cv_lib_socket_connect" = xyes; then :
9178 X_EXTRA_LIBS="-lsocket $X_EXTRA_LIBS"
9183 # Guillermo Gomez says -lposix is necessary on A/UX.
9184 ac_fn_c_check_func "$LINENO" "remove" "ac_cv_func_remove"
9185 if test "x$ac_cv_func_remove" = xyes; then :
9189 if test $ac_cv_func_remove = no; then
9190 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for remove in -lposix" >&5
9191 $as_echo_n "checking for remove in -lposix... " >&6; }
9192 if ${ac_cv_lib_posix_remove+:} false; then :
9193 $as_echo_n "(cached) " >&6
9194 else
9195 ac_check_lib_save_LIBS=$LIBS
9196 LIBS="-lposix $LIBS"
9197 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9198 /* end confdefs.h. */
9200 /* Override any GCC internal prototype to avoid an error.
9201 Use char because int might match the return type of a GCC
9202 builtin and then its argument prototype would still apply. */
9203 #ifdef __cplusplus
9204 extern "C"
9205 #endif
9206 char remove ();
9208 main ()
9210 return remove ();
9212 return 0;
9214 _ACEOF
9215 if ac_fn_c_try_link "$LINENO"; then :
9216 ac_cv_lib_posix_remove=yes
9217 else
9218 ac_cv_lib_posix_remove=no
9220 rm -f core conftest.err conftest.$ac_objext \
9221 conftest$ac_exeext conftest.$ac_ext
9222 LIBS=$ac_check_lib_save_LIBS
9224 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_posix_remove" >&5
9225 $as_echo "$ac_cv_lib_posix_remove" >&6; }
9226 if test "x$ac_cv_lib_posix_remove" = xyes; then :
9227 X_EXTRA_LIBS="$X_EXTRA_LIBS -lposix"
9232 # BSDI BSD/OS 2.1 needs -lipc for XOpenDisplay.
9233 ac_fn_c_check_func "$LINENO" "shmat" "ac_cv_func_shmat"
9234 if test "x$ac_cv_func_shmat" = xyes; then :
9238 if test $ac_cv_func_shmat = no; then
9239 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for shmat in -lipc" >&5
9240 $as_echo_n "checking for shmat in -lipc... " >&6; }
9241 if ${ac_cv_lib_ipc_shmat+:} false; then :
9242 $as_echo_n "(cached) " >&6
9243 else
9244 ac_check_lib_save_LIBS=$LIBS
9245 LIBS="-lipc $LIBS"
9246 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9247 /* end confdefs.h. */
9249 /* Override any GCC internal prototype to avoid an error.
9250 Use char because int might match the return type of a GCC
9251 builtin and then its argument prototype would still apply. */
9252 #ifdef __cplusplus
9253 extern "C"
9254 #endif
9255 char shmat ();
9257 main ()
9259 return shmat ();
9261 return 0;
9263 _ACEOF
9264 if ac_fn_c_try_link "$LINENO"; then :
9265 ac_cv_lib_ipc_shmat=yes
9266 else
9267 ac_cv_lib_ipc_shmat=no
9269 rm -f core conftest.err conftest.$ac_objext \
9270 conftest$ac_exeext conftest.$ac_ext
9271 LIBS=$ac_check_lib_save_LIBS
9273 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_ipc_shmat" >&5
9274 $as_echo "$ac_cv_lib_ipc_shmat" >&6; }
9275 if test "x$ac_cv_lib_ipc_shmat" = xyes; then :
9276 X_EXTRA_LIBS="$X_EXTRA_LIBS -lipc"
9282 # Check for libraries that X11R6 Xt/Xaw programs need.
9283 ac_save_LDFLAGS=$LDFLAGS
9284 test -n "$x_libraries" && LDFLAGS="$LDFLAGS -L$x_libraries"
9285 # SM needs ICE to (dynamically) link under SunOS 4.x (so we have to
9286 # check for ICE first), but we must link in the order -lSM -lICE or
9287 # we get undefined symbols. So assume we have SM if we have ICE.
9288 # These have to be linked with before -lX11, unlike the other
9289 # libraries we check for below, so use a different variable.
9290 # John Interrante, Karl Berry
9291 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for IceConnectionNumber in -lICE" >&5
9292 $as_echo_n "checking for IceConnectionNumber in -lICE... " >&6; }
9293 if ${ac_cv_lib_ICE_IceConnectionNumber+:} false; then :
9294 $as_echo_n "(cached) " >&6
9295 else
9296 ac_check_lib_save_LIBS=$LIBS
9297 LIBS="-lICE $X_EXTRA_LIBS $LIBS"
9298 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9299 /* end confdefs.h. */
9301 /* Override any GCC internal prototype to avoid an error.
9302 Use char because int might match the return type of a GCC
9303 builtin and then its argument prototype would still apply. */
9304 #ifdef __cplusplus
9305 extern "C"
9306 #endif
9307 char IceConnectionNumber ();
9309 main ()
9311 return IceConnectionNumber ();
9313 return 0;
9315 _ACEOF
9316 if ac_fn_c_try_link "$LINENO"; then :
9317 ac_cv_lib_ICE_IceConnectionNumber=yes
9318 else
9319 ac_cv_lib_ICE_IceConnectionNumber=no
9321 rm -f core conftest.err conftest.$ac_objext \
9322 conftest$ac_exeext conftest.$ac_ext
9323 LIBS=$ac_check_lib_save_LIBS
9325 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_ICE_IceConnectionNumber" >&5
9326 $as_echo "$ac_cv_lib_ICE_IceConnectionNumber" >&6; }
9327 if test "x$ac_cv_lib_ICE_IceConnectionNumber" = xyes; then :
9328 X_PRE_LIBS="$X_PRE_LIBS -lSM -lICE"
9331 LDFLAGS=$ac_save_LDFLAGS
9336 if test "$have_x" = "yes"
9337 then
9338 ac_save_CPPFLAGS="$CPPFLAGS"
9339 CPPFLAGS="$CPPFLAGS $X_CFLAGS"
9341 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lX11" >&5
9342 $as_echo_n "checking for -lX11... " >&6; }
9343 if ${ac_cv_lib_soname_X11+:} false; then :
9344 $as_echo_n "(cached) " >&6
9345 else
9346 ac_check_soname_save_LIBS=$LIBS
9347 LIBS="-lX11 $X_LIBS $X_EXTRA_LIBS $LIBS"
9348 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9349 /* end confdefs.h. */
9351 /* Override any GCC internal prototype to avoid an error.
9352 Use char because int might match the return type of a GCC
9353 builtin and then its argument prototype would still apply. */
9354 #ifdef __cplusplus
9355 extern "C"
9356 #endif
9357 char XCreateWindow ();
9359 main ()
9361 return XCreateWindow ();
9363 return 0;
9365 _ACEOF
9366 if ac_fn_c_try_link "$LINENO"; then :
9367 case "$LIBEXT" in
9368 dll) ac_cv_lib_soname_X11=`$ac_cv_path_LDD conftest.exe | grep "X11" | sed -e "s/dll.*/dll/"';2,$d'` ;;
9369 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'` ;;
9370 *) ac_cv_lib_soname_X11=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libX11\\.$LIBEXT" | sed -e "s/^.*\\[\\(libX11\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
9371 if ${ac_cv_lib_soname_X11:+false} :; then :
9372 ac_cv_lib_soname_X11=`$LDD conftest$ac_exeext | grep "libX11\\.$LIBEXT" | sed -e "s/^.*\(libX11\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
9373 fi ;;
9374 esac
9376 rm -f core conftest.err conftest.$ac_objext \
9377 conftest$ac_exeext conftest.$ac_ext
9378 LIBS=$ac_check_soname_save_LIBS
9380 if ${ac_cv_lib_soname_X11:+false} :; then :
9381 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
9382 $as_echo "not found" >&6; }
9384 else
9385 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_X11" >&5
9386 $as_echo "$ac_cv_lib_soname_X11" >&6; }
9388 cat >>confdefs.h <<_ACEOF
9389 #define SONAME_LIBX11 "$ac_cv_lib_soname_X11"
9390 _ACEOF
9394 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lXext" >&5
9395 $as_echo_n "checking for -lXext... " >&6; }
9396 if ${ac_cv_lib_soname_Xext+:} false; then :
9397 $as_echo_n "(cached) " >&6
9398 else
9399 ac_check_soname_save_LIBS=$LIBS
9400 LIBS="-lXext $X_LIBS -lX11 $X_EXTRA_LIBS $LIBS"
9401 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9402 /* end confdefs.h. */
9404 /* Override any GCC internal prototype to avoid an error.
9405 Use char because int might match the return type of a GCC
9406 builtin and then its argument prototype would still apply. */
9407 #ifdef __cplusplus
9408 extern "C"
9409 #endif
9410 char XextCreateExtension ();
9412 main ()
9414 return XextCreateExtension ();
9416 return 0;
9418 _ACEOF
9419 if ac_fn_c_try_link "$LINENO"; then :
9420 case "$LIBEXT" in
9421 dll) ac_cv_lib_soname_Xext=`$ac_cv_path_LDD conftest.exe | grep "Xext" | sed -e "s/dll.*/dll/"';2,$d'` ;;
9422 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'` ;;
9423 *) ac_cv_lib_soname_Xext=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libXext\\.$LIBEXT" | sed -e "s/^.*\\[\\(libXext\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
9424 if ${ac_cv_lib_soname_Xext:+false} :; then :
9425 ac_cv_lib_soname_Xext=`$LDD conftest$ac_exeext | grep "libXext\\.$LIBEXT" | sed -e "s/^.*\(libXext\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
9426 fi ;;
9427 esac
9429 rm -f core conftest.err conftest.$ac_objext \
9430 conftest$ac_exeext conftest.$ac_ext
9431 LIBS=$ac_check_soname_save_LIBS
9433 if ${ac_cv_lib_soname_Xext:+false} :; then :
9434 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
9435 $as_echo "not found" >&6; }
9437 else
9438 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_Xext" >&5
9439 $as_echo "$ac_cv_lib_soname_Xext" >&6; }
9441 cat >>confdefs.h <<_ACEOF
9442 #define SONAME_LIBXEXT "$ac_cv_lib_soname_Xext"
9443 _ACEOF
9445 X_LIBS="$X_LIBS -lXext"
9447 X_LIBS="$X_LIBS -lX11"
9449 for ac_header in X11/Xlib.h \
9450 X11/XKBlib.h \
9451 X11/Xutil.h \
9452 X11/Xcursor/Xcursor.h \
9453 X11/extensions/shape.h \
9454 X11/extensions/XInput.h \
9455 X11/extensions/XInput2.h \
9456 X11/extensions/XShm.h \
9457 X11/extensions/Xcomposite.h \
9458 X11/extensions/Xinerama.h \
9459 X11/extensions/Xrandr.h \
9460 X11/extensions/Xrender.h \
9461 X11/extensions/xf86vmode.h \
9462 X11/extensions/xf86vmproto.h
9463 do :
9464 as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
9465 ac_fn_c_check_header_compile "$LINENO" "$ac_header" "$as_ac_Header" "#ifdef HAVE_X11_XLIB_H
9466 # include <X11/Xlib.h>
9467 #endif
9468 #ifdef HAVE_X11_XUTIL_H
9469 # include <X11/Xutil.h>
9470 #endif
9472 if eval test \"x\$"$as_ac_Header"\" = x"yes"; then :
9473 cat >>confdefs.h <<_ACEOF
9474 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
9475 _ACEOF
9479 done
9482 if test "$ac_cv_header_X11_XKBlib_h" = "yes"
9483 then
9484 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for XkbQueryExtension in -lX11" >&5
9485 $as_echo_n "checking for XkbQueryExtension in -lX11... " >&6; }
9486 if ${ac_cv_lib_X11_XkbQueryExtension+:} false; then :
9487 $as_echo_n "(cached) " >&6
9488 else
9489 ac_check_lib_save_LIBS=$LIBS
9490 LIBS="-lX11 $X_LIBS $X_EXTRA_LIBS $LIBS"
9491 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9492 /* end confdefs.h. */
9494 /* Override any GCC internal prototype to avoid an error.
9495 Use char because int might match the return type of a GCC
9496 builtin and then its argument prototype would still apply. */
9497 #ifdef __cplusplus
9498 extern "C"
9499 #endif
9500 char XkbQueryExtension ();
9502 main ()
9504 return XkbQueryExtension ();
9506 return 0;
9508 _ACEOF
9509 if ac_fn_c_try_link "$LINENO"; then :
9510 ac_cv_lib_X11_XkbQueryExtension=yes
9511 else
9512 ac_cv_lib_X11_XkbQueryExtension=no
9514 rm -f core conftest.err conftest.$ac_objext \
9515 conftest$ac_exeext conftest.$ac_ext
9516 LIBS=$ac_check_lib_save_LIBS
9518 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_X11_XkbQueryExtension" >&5
9519 $as_echo "$ac_cv_lib_X11_XkbQueryExtension" >&6; }
9520 if test "x$ac_cv_lib_X11_XkbQueryExtension" = xyes; then :
9522 $as_echo "#define HAVE_XKB 1" >>confdefs.h
9528 if test "$ac_cv_header_X11_Xcursor_Xcursor_h" = "yes"
9529 then
9530 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lXcursor" >&5
9531 $as_echo_n "checking for -lXcursor... " >&6; }
9532 if ${ac_cv_lib_soname_Xcursor+:} false; then :
9533 $as_echo_n "(cached) " >&6
9534 else
9535 ac_check_soname_save_LIBS=$LIBS
9536 LIBS="-lXcursor $X_LIBS $X_EXTRA_LIBS $LIBS"
9537 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9538 /* end confdefs.h. */
9540 /* Override any GCC internal prototype to avoid an error.
9541 Use char because int might match the return type of a GCC
9542 builtin and then its argument prototype would still apply. */
9543 #ifdef __cplusplus
9544 extern "C"
9545 #endif
9546 char XcursorImageLoadCursor ();
9548 main ()
9550 return XcursorImageLoadCursor ();
9552 return 0;
9554 _ACEOF
9555 if ac_fn_c_try_link "$LINENO"; then :
9556 case "$LIBEXT" in
9557 dll) ac_cv_lib_soname_Xcursor=`$ac_cv_path_LDD conftest.exe | grep "Xcursor" | sed -e "s/dll.*/dll/"';2,$d'` ;;
9558 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'` ;;
9559 *) ac_cv_lib_soname_Xcursor=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libXcursor\\.$LIBEXT" | sed -e "s/^.*\\[\\(libXcursor\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
9560 if ${ac_cv_lib_soname_Xcursor:+false} :; then :
9561 ac_cv_lib_soname_Xcursor=`$LDD conftest$ac_exeext | grep "libXcursor\\.$LIBEXT" | sed -e "s/^.*\(libXcursor\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
9562 fi ;;
9563 esac
9565 rm -f core conftest.err conftest.$ac_objext \
9566 conftest$ac_exeext conftest.$ac_ext
9567 LIBS=$ac_check_soname_save_LIBS
9569 if ${ac_cv_lib_soname_Xcursor:+false} :; then :
9570 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
9571 $as_echo "not found" >&6; }
9573 else
9574 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_Xcursor" >&5
9575 $as_echo "$ac_cv_lib_soname_Xcursor" >&6; }
9577 cat >>confdefs.h <<_ACEOF
9578 #define SONAME_LIBXCURSOR "$ac_cv_lib_soname_Xcursor"
9579 _ACEOF
9584 if test "x$ac_cv_lib_soname_Xcursor" = "x"; then :
9585 case "x$with_xcursor" in
9586 x) as_fn_append wine_notices "|libxcursor ${notice_platform}development files not found, the Xcursor extension won't be supported." ;;
9587 xno) ;;
9588 *) as_fn_error $? "libxcursor ${notice_platform}development files not found, the Xcursor extension won't be supported.
9589 This is an error since --with-xcursor was requested." "$LINENO" 5 ;;
9590 esac
9593 if test "$ac_cv_header_X11_extensions_XInput_h" = "yes"
9594 then
9595 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lXi" >&5
9596 $as_echo_n "checking for -lXi... " >&6; }
9597 if ${ac_cv_lib_soname_Xi+:} false; then :
9598 $as_echo_n "(cached) " >&6
9599 else
9600 ac_check_soname_save_LIBS=$LIBS
9601 LIBS="-lXi $X_LIBS $X_EXTRA_LIBS $LIBS"
9602 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9603 /* end confdefs.h. */
9605 /* Override any GCC internal prototype to avoid an error.
9606 Use char because int might match the return type of a GCC
9607 builtin and then its argument prototype would still apply. */
9608 #ifdef __cplusplus
9609 extern "C"
9610 #endif
9611 char XOpenDevice ();
9613 main ()
9615 return XOpenDevice ();
9617 return 0;
9619 _ACEOF
9620 if ac_fn_c_try_link "$LINENO"; then :
9621 case "$LIBEXT" in
9622 dll) ac_cv_lib_soname_Xi=`$ac_cv_path_LDD conftest.exe | grep "Xi" | sed -e "s/dll.*/dll/"';2,$d'` ;;
9623 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'` ;;
9624 *) ac_cv_lib_soname_Xi=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libXi\\.$LIBEXT" | sed -e "s/^.*\\[\\(libXi\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
9625 if ${ac_cv_lib_soname_Xi:+false} :; then :
9626 ac_cv_lib_soname_Xi=`$LDD conftest$ac_exeext | grep "libXi\\.$LIBEXT" | sed -e "s/^.*\(libXi\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
9627 fi ;;
9628 esac
9630 rm -f core conftest.err conftest.$ac_objext \
9631 conftest$ac_exeext conftest.$ac_ext
9632 LIBS=$ac_check_soname_save_LIBS
9634 if ${ac_cv_lib_soname_Xi:+false} :; then :
9635 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
9636 $as_echo "not found" >&6; }
9638 else
9639 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_Xi" >&5
9640 $as_echo "$ac_cv_lib_soname_Xi" >&6; }
9642 cat >>confdefs.h <<_ACEOF
9643 #define SONAME_LIBXI "$ac_cv_lib_soname_Xi"
9644 _ACEOF
9649 if test "x$ac_cv_lib_soname_Xi" = "x"; then :
9650 case "x$with_xinput" in
9651 x) as_fn_append wine_notices "|libxi ${notice_platform}development files not found, the Xinput extension won't be supported." ;;
9652 xno) ;;
9653 *) as_fn_error $? "libxi ${notice_platform}development files not found, the Xinput extension won't be supported.
9654 This is an error since --with-xinput was requested." "$LINENO" 5 ;;
9655 esac
9658 if test "x$ac_cv_lib_soname_Xi" != x
9659 then
9660 if test "$ac_cv_header_X11_extensions_XInput2_h" != "yes"; then :
9661 case "x$with_xinput2" in
9662 x) as_fn_append wine_notices "|XInput2 headers not found, the XInput 2 extension won't be supported." ;;
9663 xno) ;;
9664 *) as_fn_error $? "XInput2 headers not found, the XInput 2 extension won't be supported.
9665 This is an error since --with-xinput2 was requested." "$LINENO" 5 ;;
9666 esac
9670 if test "$ac_cv_header_X11_extensions_XShm_h" = "yes"
9671 then
9672 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for XShmQueryExtension in -lXext" >&5
9673 $as_echo_n "checking for XShmQueryExtension in -lXext... " >&6; }
9674 if ${ac_cv_lib_Xext_XShmQueryExtension+:} false; then :
9675 $as_echo_n "(cached) " >&6
9676 else
9677 ac_check_lib_save_LIBS=$LIBS
9678 LIBS="-lXext $X_LIBS $X_EXTRA_LIBS $LIBS"
9679 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9680 /* end confdefs.h. */
9682 /* Override any GCC internal prototype to avoid an error.
9683 Use char because int might match the return type of a GCC
9684 builtin and then its argument prototype would still apply. */
9685 #ifdef __cplusplus
9686 extern "C"
9687 #endif
9688 char XShmQueryExtension ();
9690 main ()
9692 return XShmQueryExtension ();
9694 return 0;
9696 _ACEOF
9697 if ac_fn_c_try_link "$LINENO"; then :
9698 ac_cv_lib_Xext_XShmQueryExtension=yes
9699 else
9700 ac_cv_lib_Xext_XShmQueryExtension=no
9702 rm -f core conftest.err conftest.$ac_objext \
9703 conftest$ac_exeext conftest.$ac_ext
9704 LIBS=$ac_check_lib_save_LIBS
9706 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_Xext_XShmQueryExtension" >&5
9707 $as_echo "$ac_cv_lib_Xext_XShmQueryExtension" >&6; }
9708 if test "x$ac_cv_lib_Xext_XShmQueryExtension" = xyes; then :
9710 $as_echo "#define HAVE_LIBXXSHM 1" >>confdefs.h
9715 if test "$ac_cv_lib_Xext_XShmQueryExtension" != "yes"; then :
9716 case "x$with_xshm" in
9717 x) as_fn_append wine_notices "|XShm ${notice_platform}development files not found, X Shared Memory won't be supported." ;;
9718 xno) ;;
9719 *) as_fn_error $? "XShm ${notice_platform}development files not found, X Shared Memory won't be supported.
9720 This is an error since --with-xshm was requested." "$LINENO" 5 ;;
9721 esac
9724 if test "$ac_cv_header_X11_extensions_shape_h" = "yes"
9725 then
9726 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for XShapeQueryExtension in -lXext" >&5
9727 $as_echo_n "checking for XShapeQueryExtension in -lXext... " >&6; }
9728 if ${ac_cv_lib_Xext_XShapeQueryExtension+:} false; then :
9729 $as_echo_n "(cached) " >&6
9730 else
9731 ac_check_lib_save_LIBS=$LIBS
9732 LIBS="-lXext $X_LIBS $X_EXTRA_LIBS $LIBS"
9733 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9734 /* end confdefs.h. */
9736 /* Override any GCC internal prototype to avoid an error.
9737 Use char because int might match the return type of a GCC
9738 builtin and then its argument prototype would still apply. */
9739 #ifdef __cplusplus
9740 extern "C"
9741 #endif
9742 char XShapeQueryExtension ();
9744 main ()
9746 return XShapeQueryExtension ();
9748 return 0;
9750 _ACEOF
9751 if ac_fn_c_try_link "$LINENO"; then :
9752 ac_cv_lib_Xext_XShapeQueryExtension=yes
9753 else
9754 ac_cv_lib_Xext_XShapeQueryExtension=no
9756 rm -f core conftest.err conftest.$ac_objext \
9757 conftest$ac_exeext conftest.$ac_ext
9758 LIBS=$ac_check_lib_save_LIBS
9760 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_Xext_XShapeQueryExtension" >&5
9761 $as_echo "$ac_cv_lib_Xext_XShapeQueryExtension" >&6; }
9762 if test "x$ac_cv_lib_Xext_XShapeQueryExtension" = xyes; then :
9764 $as_echo "#define HAVE_LIBXSHAPE 1" >>confdefs.h
9769 if test "$ac_cv_lib_Xext_XShapeQueryExtension" != "yes"; then :
9770 case "x$with_xshape" in
9771 x) as_fn_append wine_notices "|XShape ${notice_platform}development files not found, XShape won't be supported." ;;
9772 xno) ;;
9773 *) as_fn_error $? "XShape ${notice_platform}development files not found, XShape won't be supported.
9774 This is an error since --with-xshape was requested." "$LINENO" 5 ;;
9775 esac
9778 if test "$ac_cv_header_X11_extensions_xf86vmode_h" = "yes" -o "$ac_cv_header_X11_extensions_xf86vmproto_h" = "yes"
9779 then
9780 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lXxf86vm" >&5
9781 $as_echo_n "checking for -lXxf86vm... " >&6; }
9782 if ${ac_cv_lib_soname_Xxf86vm+:} false; then :
9783 $as_echo_n "(cached) " >&6
9784 else
9785 ac_check_soname_save_LIBS=$LIBS
9786 LIBS="-lXxf86vm $X_LIBS $X_EXTRA_LIBS $LIBS"
9787 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9788 /* end confdefs.h. */
9790 /* Override any GCC internal prototype to avoid an error.
9791 Use char because int might match the return type of a GCC
9792 builtin and then its argument prototype would still apply. */
9793 #ifdef __cplusplus
9794 extern "C"
9795 #endif
9796 char XF86VidModeQueryExtension ();
9798 main ()
9800 return XF86VidModeQueryExtension ();
9802 return 0;
9804 _ACEOF
9805 if ac_fn_c_try_link "$LINENO"; then :
9806 case "$LIBEXT" in
9807 dll) ac_cv_lib_soname_Xxf86vm=`$ac_cv_path_LDD conftest.exe | grep "Xxf86vm" | sed -e "s/dll.*/dll/"';2,$d'` ;;
9808 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'` ;;
9809 *) ac_cv_lib_soname_Xxf86vm=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libXxf86vm\\.$LIBEXT" | sed -e "s/^.*\\[\\(libXxf86vm\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
9810 if ${ac_cv_lib_soname_Xxf86vm:+false} :; then :
9811 ac_cv_lib_soname_Xxf86vm=`$LDD conftest$ac_exeext | grep "libXxf86vm\\.$LIBEXT" | sed -e "s/^.*\(libXxf86vm\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
9812 fi ;;
9813 esac
9815 rm -f core conftest.err conftest.$ac_objext \
9816 conftest$ac_exeext conftest.$ac_ext
9817 LIBS=$ac_check_soname_save_LIBS
9819 if ${ac_cv_lib_soname_Xxf86vm:+false} :; then :
9820 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
9821 $as_echo "not found" >&6; }
9823 else
9824 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_Xxf86vm" >&5
9825 $as_echo "$ac_cv_lib_soname_Xxf86vm" >&6; }
9827 cat >>confdefs.h <<_ACEOF
9828 #define SONAME_LIBXXF86VM "$ac_cv_lib_soname_Xxf86vm"
9829 _ACEOF
9834 if test "x$ac_cv_lib_soname_Xxf86vm" = "x"; then :
9835 case "x$with_xxf86vm" in
9836 x) as_fn_append wine_notices "|libXxf86vm ${notice_platform}development files not found, XFree86 Vidmode won't be supported." ;;
9837 xno) ;;
9838 *) as_fn_error $? "libXxf86vm ${notice_platform}development files not found, XFree86 Vidmode won't be supported.
9839 This is an error since --with-xxf86vm was requested." "$LINENO" 5 ;;
9840 esac
9843 if test "$ac_cv_header_X11_extensions_Xrender_h" = "yes" -a "x$ac_cv_lib_soname_X11" != "x"
9844 then
9845 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lXrender" >&5
9846 $as_echo_n "checking for -lXrender... " >&6; }
9847 if ${ac_cv_lib_soname_Xrender+:} false; then :
9848 $as_echo_n "(cached) " >&6
9849 else
9850 ac_check_soname_save_LIBS=$LIBS
9851 LIBS="-lXrender $X_LIBS $X_EXTRA_LIBS $LIBS"
9852 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9853 /* end confdefs.h. */
9855 /* Override any GCC internal prototype to avoid an error.
9856 Use char because int might match the return type of a GCC
9857 builtin and then its argument prototype would still apply. */
9858 #ifdef __cplusplus
9859 extern "C"
9860 #endif
9861 char XRenderQueryExtension ();
9863 main ()
9865 return XRenderQueryExtension ();
9867 return 0;
9869 _ACEOF
9870 if ac_fn_c_try_link "$LINENO"; then :
9871 case "$LIBEXT" in
9872 dll) ac_cv_lib_soname_Xrender=`$ac_cv_path_LDD conftest.exe | grep "Xrender" | sed -e "s/dll.*/dll/"';2,$d'` ;;
9873 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'` ;;
9874 *) ac_cv_lib_soname_Xrender=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libXrender\\.$LIBEXT" | sed -e "s/^.*\\[\\(libXrender\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
9875 if ${ac_cv_lib_soname_Xrender:+false} :; then :
9876 ac_cv_lib_soname_Xrender=`$LDD conftest$ac_exeext | grep "libXrender\\.$LIBEXT" | sed -e "s/^.*\(libXrender\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
9877 fi ;;
9878 esac
9880 rm -f core conftest.err conftest.$ac_objext \
9881 conftest$ac_exeext conftest.$ac_ext
9882 LIBS=$ac_check_soname_save_LIBS
9884 if ${ac_cv_lib_soname_Xrender:+false} :; then :
9885 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
9886 $as_echo "not found" >&6; }
9888 else
9889 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_Xrender" >&5
9890 $as_echo "$ac_cv_lib_soname_Xrender" >&6; }
9892 cat >>confdefs.h <<_ACEOF
9893 #define SONAME_LIBXRENDER "$ac_cv_lib_soname_Xrender"
9894 _ACEOF
9896 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for XRenderSetPictureTransform in -lXrender" >&5
9897 $as_echo_n "checking for XRenderSetPictureTransform in -lXrender... " >&6; }
9898 if ${ac_cv_lib_Xrender_XRenderSetPictureTransform+:} false; then :
9899 $as_echo_n "(cached) " >&6
9900 else
9901 ac_check_lib_save_LIBS=$LIBS
9902 LIBS="-lXrender $X_LIBS $X_EXTRA_LIBS $LIBS"
9903 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9904 /* end confdefs.h. */
9906 /* Override any GCC internal prototype to avoid an error.
9907 Use char because int might match the return type of a GCC
9908 builtin and then its argument prototype would still apply. */
9909 #ifdef __cplusplus
9910 extern "C"
9911 #endif
9912 char XRenderSetPictureTransform ();
9914 main ()
9916 return XRenderSetPictureTransform ();
9918 return 0;
9920 _ACEOF
9921 if ac_fn_c_try_link "$LINENO"; then :
9922 ac_cv_lib_Xrender_XRenderSetPictureTransform=yes
9923 else
9924 ac_cv_lib_Xrender_XRenderSetPictureTransform=no
9926 rm -f core conftest.err conftest.$ac_objext \
9927 conftest$ac_exeext conftest.$ac_ext
9928 LIBS=$ac_check_lib_save_LIBS
9930 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_Xrender_XRenderSetPictureTransform" >&5
9931 $as_echo "$ac_cv_lib_Xrender_XRenderSetPictureTransform" >&6; }
9932 if test "x$ac_cv_lib_Xrender_XRenderSetPictureTransform" = xyes; then :
9934 $as_echo "#define HAVE_XRENDERSETPICTURETRANSFORM 1" >>confdefs.h
9938 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for XRenderCreateLinearGradient in -lXrender" >&5
9939 $as_echo_n "checking for XRenderCreateLinearGradient in -lXrender... " >&6; }
9940 if ${ac_cv_lib_Xrender_XRenderCreateLinearGradient+:} false; then :
9941 $as_echo_n "(cached) " >&6
9942 else
9943 ac_check_lib_save_LIBS=$LIBS
9944 LIBS="-lXrender $X_LIBS $X_EXTRA_LIBS $LIBS"
9945 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9946 /* end confdefs.h. */
9948 /* Override any GCC internal prototype to avoid an error.
9949 Use char because int might match the return type of a GCC
9950 builtin and then its argument prototype would still apply. */
9951 #ifdef __cplusplus
9952 extern "C"
9953 #endif
9954 char XRenderCreateLinearGradient ();
9956 main ()
9958 return XRenderCreateLinearGradient ();
9960 return 0;
9962 _ACEOF
9963 if ac_fn_c_try_link "$LINENO"; then :
9964 ac_cv_lib_Xrender_XRenderCreateLinearGradient=yes
9965 else
9966 ac_cv_lib_Xrender_XRenderCreateLinearGradient=no
9968 rm -f core conftest.err conftest.$ac_objext \
9969 conftest$ac_exeext conftest.$ac_ext
9970 LIBS=$ac_check_lib_save_LIBS
9972 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_Xrender_XRenderCreateLinearGradient" >&5
9973 $as_echo "$ac_cv_lib_Xrender_XRenderCreateLinearGradient" >&6; }
9974 if test "x$ac_cv_lib_Xrender_XRenderCreateLinearGradient" = xyes; then :
9976 $as_echo "#define HAVE_XRENDERCREATELINEARGRADIENT 1" >>confdefs.h
9983 if test "x$ac_cv_lib_soname_Xrender" = "x"; then :
9984 case "x$with_xrender" in
9985 x) as_fn_append wine_warnings "|libxrender ${notice_platform}development files not found, XRender won't be supported." ;;
9986 xno) ;;
9987 *) as_fn_error $? "libxrender ${notice_platform}development files not found, XRender won't be supported.
9988 This is an error since --with-xrender was requested." "$LINENO" 5 ;;
9989 esac
9992 if test "$ac_cv_header_X11_extensions_Xrandr_h" = "yes" -a "x$ac_cv_lib_soname_Xrender" != "x"
9993 then
9994 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9995 /* end confdefs.h. */
9996 #include <X11/Xlib.h>
9997 #include <X11/extensions/Xrandr.h>
9999 main ()
10001 static typeof(XRRSetScreenConfigAndRate) * func; if (func) return 0;
10003 return 0;
10005 _ACEOF
10006 if ac_fn_c_try_compile "$LINENO"; then :
10007 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lXrandr" >&5
10008 $as_echo_n "checking for -lXrandr... " >&6; }
10009 if ${ac_cv_lib_soname_Xrandr+:} false; then :
10010 $as_echo_n "(cached) " >&6
10011 else
10012 ac_check_soname_save_LIBS=$LIBS
10013 LIBS="-lXrandr $X_LIBS $X_EXTRA_LIBS $LIBS"
10014 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10015 /* end confdefs.h. */
10017 /* Override any GCC internal prototype to avoid an error.
10018 Use char because int might match the return type of a GCC
10019 builtin and then its argument prototype would still apply. */
10020 #ifdef __cplusplus
10021 extern "C"
10022 #endif
10023 char XRRQueryExtension ();
10025 main ()
10027 return XRRQueryExtension ();
10029 return 0;
10031 _ACEOF
10032 if ac_fn_c_try_link "$LINENO"; then :
10033 case "$LIBEXT" in
10034 dll) ac_cv_lib_soname_Xrandr=`$ac_cv_path_LDD conftest.exe | grep "Xrandr" | sed -e "s/dll.*/dll/"';2,$d'` ;;
10035 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'` ;;
10036 *) ac_cv_lib_soname_Xrandr=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libXrandr\\.$LIBEXT" | sed -e "s/^.*\\[\\(libXrandr\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
10037 if ${ac_cv_lib_soname_Xrandr:+false} :; then :
10038 ac_cv_lib_soname_Xrandr=`$LDD conftest$ac_exeext | grep "libXrandr\\.$LIBEXT" | sed -e "s/^.*\(libXrandr\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
10039 fi ;;
10040 esac
10042 rm -f core conftest.err conftest.$ac_objext \
10043 conftest$ac_exeext conftest.$ac_ext
10044 LIBS=$ac_check_soname_save_LIBS
10046 if ${ac_cv_lib_soname_Xrandr:+false} :; then :
10047 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
10048 $as_echo "not found" >&6; }
10050 else
10051 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_Xrandr" >&5
10052 $as_echo "$ac_cv_lib_soname_Xrandr" >&6; }
10054 cat >>confdefs.h <<_ACEOF
10055 #define SONAME_LIBXRANDR "$ac_cv_lib_soname_Xrandr"
10056 _ACEOF
10058 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10059 /* end confdefs.h. */
10060 #include <X11/Xlib.h>
10061 #include <X11/extensions/Xrandr.h>
10063 main ()
10065 static typeof(XRRGetScreenResources) *f; if (f) return 0;
10067 return 0;
10069 _ACEOF
10070 if ac_fn_c_try_compile "$LINENO"; then :
10072 $as_echo "#define HAVE_XRRGETSCREENRESOURCES 1" >>confdefs.h
10075 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
10078 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
10080 if test "x$ac_cv_lib_soname_Xrandr" = "x"; then :
10081 case "x$with_xrandr" in
10082 x) as_fn_append wine_notices "|libxrandr ${notice_platform}development files not found, XRandr won't be supported." ;;
10083 xno) ;;
10084 *) as_fn_error $? "libxrandr ${notice_platform}development files not found, XRandr won't be supported.
10085 This is an error since --with-xrandr was requested." "$LINENO" 5 ;;
10086 esac
10089 if test "$ac_cv_header_X11_extensions_Xinerama_h" = "yes"
10090 then
10091 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10092 /* end confdefs.h. */
10093 #include <X11/Xlib.h>
10094 #include <X11/extensions/Xinerama.h>
10096 main ()
10098 static typeof(XineramaQueryScreens) * func; if (func) return 0;
10100 return 0;
10102 _ACEOF
10103 if ac_fn_c_try_compile "$LINENO"; then :
10104 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lXinerama" >&5
10105 $as_echo_n "checking for -lXinerama... " >&6; }
10106 if ${ac_cv_lib_soname_Xinerama+:} false; then :
10107 $as_echo_n "(cached) " >&6
10108 else
10109 ac_check_soname_save_LIBS=$LIBS
10110 LIBS="-lXinerama $X_LIBS $X_EXTRA_LIBS $LIBS"
10111 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10112 /* end confdefs.h. */
10114 /* Override any GCC internal prototype to avoid an error.
10115 Use char because int might match the return type of a GCC
10116 builtin and then its argument prototype would still apply. */
10117 #ifdef __cplusplus
10118 extern "C"
10119 #endif
10120 char XineramaQueryScreens ();
10122 main ()
10124 return XineramaQueryScreens ();
10126 return 0;
10128 _ACEOF
10129 if ac_fn_c_try_link "$LINENO"; then :
10130 case "$LIBEXT" in
10131 dll) ac_cv_lib_soname_Xinerama=`$ac_cv_path_LDD conftest.exe | grep "Xinerama" | sed -e "s/dll.*/dll/"';2,$d'` ;;
10132 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'` ;;
10133 *) ac_cv_lib_soname_Xinerama=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libXinerama\\.$LIBEXT" | sed -e "s/^.*\\[\\(libXinerama\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
10134 if ${ac_cv_lib_soname_Xinerama:+false} :; then :
10135 ac_cv_lib_soname_Xinerama=`$LDD conftest$ac_exeext | grep "libXinerama\\.$LIBEXT" | sed -e "s/^.*\(libXinerama\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
10136 fi ;;
10137 esac
10139 rm -f core conftest.err conftest.$ac_objext \
10140 conftest$ac_exeext conftest.$ac_ext
10141 LIBS=$ac_check_soname_save_LIBS
10143 if ${ac_cv_lib_soname_Xinerama:+false} :; then :
10144 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
10145 $as_echo "not found" >&6; }
10147 else
10148 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_Xinerama" >&5
10149 $as_echo "$ac_cv_lib_soname_Xinerama" >&6; }
10151 cat >>confdefs.h <<_ACEOF
10152 #define SONAME_LIBXINERAMA "$ac_cv_lib_soname_Xinerama"
10153 _ACEOF
10158 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
10160 if test "x$ac_cv_lib_soname_Xinerama" = "x"; then :
10161 case "x$with_xinerama" in
10162 x) as_fn_append wine_notices "|libxinerama ${notice_platform}development files not found, multi-monitor setups won't be supported." ;;
10163 xno) ;;
10164 *) as_fn_error $? "libxinerama ${notice_platform}development files not found, multi-monitor setups won't be supported.
10165 This is an error since --with-xinerama was requested." "$LINENO" 5 ;;
10166 esac
10169 if test "$ac_cv_header_X11_extensions_Xcomposite_h" = "yes"
10170 then
10171 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lXcomposite" >&5
10172 $as_echo_n "checking for -lXcomposite... " >&6; }
10173 if ${ac_cv_lib_soname_Xcomposite+:} false; then :
10174 $as_echo_n "(cached) " >&6
10175 else
10176 ac_check_soname_save_LIBS=$LIBS
10177 LIBS="-lXcomposite $X_LIBS $X_EXTRA_LIBS $LIBS"
10178 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10179 /* end confdefs.h. */
10181 /* Override any GCC internal prototype to avoid an error.
10182 Use char because int might match the return type of a GCC
10183 builtin and then its argument prototype would still apply. */
10184 #ifdef __cplusplus
10185 extern "C"
10186 #endif
10187 char XCompositeRedirectWindow ();
10189 main ()
10191 return XCompositeRedirectWindow ();
10193 return 0;
10195 _ACEOF
10196 if ac_fn_c_try_link "$LINENO"; then :
10197 case "$LIBEXT" in
10198 dll) ac_cv_lib_soname_Xcomposite=`$ac_cv_path_LDD conftest.exe | grep "Xcomposite" | sed -e "s/dll.*/dll/"';2,$d'` ;;
10199 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'` ;;
10200 *) ac_cv_lib_soname_Xcomposite=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libXcomposite\\.$LIBEXT" | sed -e "s/^.*\\[\\(libXcomposite\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
10201 if ${ac_cv_lib_soname_Xcomposite:+false} :; then :
10202 ac_cv_lib_soname_Xcomposite=`$LDD conftest$ac_exeext | grep "libXcomposite\\.$LIBEXT" | sed -e "s/^.*\(libXcomposite\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
10203 fi ;;
10204 esac
10206 rm -f core conftest.err conftest.$ac_objext \
10207 conftest$ac_exeext conftest.$ac_ext
10208 LIBS=$ac_check_soname_save_LIBS
10210 if ${ac_cv_lib_soname_Xcomposite:+false} :; then :
10211 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
10212 $as_echo "not found" >&6; }
10214 else
10215 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_Xcomposite" >&5
10216 $as_echo "$ac_cv_lib_soname_Xcomposite" >&6; }
10218 cat >>confdefs.h <<_ACEOF
10219 #define SONAME_LIBXCOMPOSITE "$ac_cv_lib_soname_Xcomposite"
10220 _ACEOF
10225 if test "x$ac_cv_lib_soname_Xcomposite" = "x"; then :
10226 case "x$with_xcomposite" in
10227 x) as_fn_append wine_notices "|libxcomposite ${notice_platform}development files not found, Xcomposite won't be supported." ;;
10228 xno) ;;
10229 *) as_fn_error $? "libxcomposite ${notice_platform}development files not found, Xcomposite won't be supported.
10230 This is an error since --with-xcomposite was requested." "$LINENO" 5 ;;
10231 esac
10234 ac_fn_c_check_member "$LINENO" "XICCallback" "callback" "ac_cv_member_XICCallback_callback" "#ifdef HAVE_X11_XLIB_H
10235 #include <X11/Xlib.h>
10236 #endif
10238 if test "x$ac_cv_member_XICCallback_callback" = xyes; then :
10240 cat >>confdefs.h <<_ACEOF
10241 #define HAVE_XICCALLBACK_CALLBACK 1
10242 _ACEOF
10246 ac_fn_c_check_member "$LINENO" "XEvent" "xcookie" "ac_cv_member_XEvent_xcookie" "#ifdef HAVE_X11_XLIB_H
10247 #include <X11/Xlib.h>
10248 #endif
10250 if test "x$ac_cv_member_XEvent_xcookie" = xyes; then :
10252 cat >>confdefs.h <<_ACEOF
10253 #define HAVE_XEVENT_XCOOKIE 1
10254 _ACEOF
10261 opengl_msg=""
10262 if test "x$with_opengl" != "xno"
10263 then
10264 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lGL" >&5
10265 $as_echo_n "checking for -lGL... " >&6; }
10266 if ${ac_cv_lib_soname_GL+:} false; then :
10267 $as_echo_n "(cached) " >&6
10268 else
10269 ac_check_soname_save_LIBS=$LIBS
10270 LIBS="-lGL $X_LIBS -lm $X_EXTRA_LIBS $LIBS"
10271 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10272 /* end confdefs.h. */
10274 /* Override any GCC internal prototype to avoid an error.
10275 Use char because int might match the return type of a GCC
10276 builtin and then its argument prototype would still apply. */
10277 #ifdef __cplusplus
10278 extern "C"
10279 #endif
10280 char glXCreateContext ();
10282 main ()
10284 return glXCreateContext ();
10286 return 0;
10288 _ACEOF
10289 if ac_fn_c_try_link "$LINENO"; then :
10290 case "$LIBEXT" in
10291 dll) ac_cv_lib_soname_GL=`$ac_cv_path_LDD conftest.exe | grep "GL" | sed -e "s/dll.*/dll/"';2,$d'` ;;
10292 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'` ;;
10293 *) ac_cv_lib_soname_GL=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libGL\\.$LIBEXT" | sed -e "s/^.*\\[\\(libGL\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
10294 if ${ac_cv_lib_soname_GL:+false} :; then :
10295 ac_cv_lib_soname_GL=`$LDD conftest$ac_exeext | grep "libGL\\.$LIBEXT" | sed -e "s/^.*\(libGL\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
10296 fi ;;
10297 esac
10299 rm -f core conftest.err conftest.$ac_objext \
10300 conftest$ac_exeext conftest.$ac_ext
10301 LIBS=$ac_check_soname_save_LIBS
10303 if ${ac_cv_lib_soname_GL:+false} :; then :
10304 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
10305 $as_echo "not found" >&6; }
10306 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lGL" >&5
10307 $as_echo_n "checking for -lGL... " >&6; }
10308 if ${ac_cv_lib_soname_GL+:} false; then :
10309 $as_echo_n "(cached) " >&6
10310 else
10311 ac_check_soname_save_LIBS=$LIBS
10312 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"
10313 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10314 /* end confdefs.h. */
10316 /* Override any GCC internal prototype to avoid an error.
10317 Use char because int might match the return type of a GCC
10318 builtin and then its argument prototype would still apply. */
10319 #ifdef __cplusplus
10320 extern "C"
10321 #endif
10322 char glXCreateContext ();
10324 main ()
10326 return glXCreateContext ();
10328 return 0;
10330 _ACEOF
10331 if ac_fn_c_try_link "$LINENO"; then :
10332 case "$LIBEXT" in
10333 dll) ac_cv_lib_soname_GL=`$ac_cv_path_LDD conftest.exe | grep "GL" | sed -e "s/dll.*/dll/"';2,$d'` ;;
10334 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'` ;;
10335 *) ac_cv_lib_soname_GL=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libGL\\.$LIBEXT" | sed -e "s/^.*\\[\\(libGL\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
10336 if ${ac_cv_lib_soname_GL:+false} :; then :
10337 ac_cv_lib_soname_GL=`$LDD conftest$ac_exeext | grep "libGL\\.$LIBEXT" | sed -e "s/^.*\(libGL\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
10338 fi ;;
10339 esac
10341 rm -f core conftest.err conftest.$ac_objext \
10342 conftest$ac_exeext conftest.$ac_ext
10343 LIBS=$ac_check_soname_save_LIBS
10345 if ${ac_cv_lib_soname_GL:+false} :; then :
10346 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
10347 $as_echo "not found" >&6; }
10348 if test -f /usr/X11R6/lib/libGL.a
10349 then
10350 opengl_msg="/usr/X11R6/lib/libGL.a is present on your system.
10351 This probably prevents linking to OpenGL. Try deleting the file and restarting configure."
10352 else
10353 opengl_msg="No OpenGL library found on this system."
10355 else
10356 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_GL" >&5
10357 $as_echo "$ac_cv_lib_soname_GL" >&6; }
10359 cat >>confdefs.h <<_ACEOF
10360 #define SONAME_LIBGL "$ac_cv_lib_soname_GL"
10361 _ACEOF
10363 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"
10365 else
10366 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_GL" >&5
10367 $as_echo "$ac_cv_lib_soname_GL" >&6; }
10369 cat >>confdefs.h <<_ACEOF
10370 #define SONAME_LIBGL "$ac_cv_lib_soname_GL"
10371 _ACEOF
10373 OPENGL_LIBS="-lGL"
10375 if test "x$with_glu" != "xno"
10376 then
10377 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for gluLookAt in -lGLU" >&5
10378 $as_echo_n "checking for gluLookAt in -lGLU... " >&6; }
10379 if ${ac_cv_lib_GLU_gluLookAt+:} false; then :
10380 $as_echo_n "(cached) " >&6
10381 else
10382 ac_check_lib_save_LIBS=$LIBS
10383 LIBS="-lGLU $OPENGL_LIBS $X_LIBS -lm $X_EXTRA_LIBS $LIBS"
10384 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10385 /* end confdefs.h. */
10387 /* Override any GCC internal prototype to avoid an error.
10388 Use char because int might match the return type of a GCC
10389 builtin and then its argument prototype would still apply. */
10390 #ifdef __cplusplus
10391 extern "C"
10392 #endif
10393 char gluLookAt ();
10395 main ()
10397 return gluLookAt ();
10399 return 0;
10401 _ACEOF
10402 if ac_fn_c_try_link "$LINENO"; then :
10403 ac_cv_lib_GLU_gluLookAt=yes
10404 else
10405 ac_cv_lib_GLU_gluLookAt=no
10407 rm -f core conftest.err conftest.$ac_objext \
10408 conftest$ac_exeext conftest.$ac_ext
10409 LIBS=$ac_check_lib_save_LIBS
10411 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_GLU_gluLookAt" >&5
10412 $as_echo "$ac_cv_lib_GLU_gluLookAt" >&6; }
10413 if test "x$ac_cv_lib_GLU_gluLookAt" = xyes; then :
10417 if test "x$ac_cv_lib_GLU_gluLookAt" != xyes; then :
10418 case "x$with_glu" in
10419 x) as_fn_append wine_notices "|libGLU ${notice_platform}development files not found, GLU won't be supported." ;;
10420 xno) ;;
10421 *) as_fn_error $? "libGLU ${notice_platform}development files not found, GLU won't be supported.
10422 This is an error since --with-glu was requested." "$LINENO" 5 ;;
10423 esac
10427 if test "x$with_osmesa" != "xno"
10428 then
10429 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lOSMesa" >&5
10430 $as_echo_n "checking for -lOSMesa... " >&6; }
10431 if ${ac_cv_lib_soname_OSMesa+:} false; then :
10432 $as_echo_n "(cached) " >&6
10433 else
10434 ac_check_soname_save_LIBS=$LIBS
10435 LIBS="-lOSMesa $X_LIBS -lm $X_EXTRA_LIBS $LIBS"
10436 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10437 /* end confdefs.h. */
10439 /* Override any GCC internal prototype to avoid an error.
10440 Use char because int might match the return type of a GCC
10441 builtin and then its argument prototype would still apply. */
10442 #ifdef __cplusplus
10443 extern "C"
10444 #endif
10445 char glAccum ();
10447 main ()
10449 return glAccum ();
10451 return 0;
10453 _ACEOF
10454 if ac_fn_c_try_link "$LINENO"; then :
10455 case "$LIBEXT" in
10456 dll) ac_cv_lib_soname_OSMesa=`$ac_cv_path_LDD conftest.exe | grep "OSMesa" | sed -e "s/dll.*/dll/"';2,$d'` ;;
10457 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'` ;;
10458 *) ac_cv_lib_soname_OSMesa=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libOSMesa\\.$LIBEXT" | sed -e "s/^.*\\[\\(libOSMesa\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
10459 if ${ac_cv_lib_soname_OSMesa:+false} :; then :
10460 ac_cv_lib_soname_OSMesa=`$LDD conftest$ac_exeext | grep "libOSMesa\\.$LIBEXT" | sed -e "s/^.*\(libOSMesa\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
10461 fi ;;
10462 esac
10464 rm -f core conftest.err conftest.$ac_objext \
10465 conftest$ac_exeext conftest.$ac_ext
10466 LIBS=$ac_check_soname_save_LIBS
10468 if ${ac_cv_lib_soname_OSMesa:+false} :; then :
10469 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
10470 $as_echo "not found" >&6; }
10472 else
10473 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_OSMesa" >&5
10474 $as_echo "$ac_cv_lib_soname_OSMesa" >&6; }
10476 cat >>confdefs.h <<_ACEOF
10477 #define SONAME_LIBOSMESA "$ac_cv_lib_soname_OSMesa"
10478 _ACEOF
10482 if test "x$ac_cv_lib_soname_OSMesa" = "x"; then :
10483 case "x$with_osmesa" in
10484 x) as_fn_append wine_notices "|libOSMesa ${notice_platform}development files not found (or too old), OpenGL rendering in bitmaps won't be supported." ;;
10485 xno) ;;
10486 *) as_fn_error $? "libOSMesa ${notice_platform}development files not found (or too old), OpenGL rendering in bitmaps won't be supported.
10487 This is an error since --with-osmesa was requested." "$LINENO" 5 ;;
10488 esac
10492 if test -n "$opengl_msg"; then :
10493 case "x$with_opengl" in
10494 x) as_fn_append wine_warnings "|$opengl_msg
10495 OpenGL and Direct3D won't be supported." ;;
10496 xno) ;;
10497 *) as_fn_error $? "$opengl_msg
10498 OpenGL and Direct3D won't be supported.
10499 This is an error since --with-opengl was requested." "$LINENO" 5 ;;
10500 esac
10503 CPPFLAGS="$ac_save_CPPFLAGS"
10504 else
10505 X_CFLAGS=""
10506 X_LIBS=""
10507 enable_winex11_drv=${enable_winex11_drv:-no}
10509 if test "x$X_LIBS" = "x"; then :
10510 case "x$with_x" in
10511 xno) ;;
10512 *) as_fn_error $? "X ${notice_platform}development files not found. Wine will be built
10513 without X support, which probably isn't what you want. You will need
10514 to install ${notice_platform}development packages of Xlib/Xfree86 at the very least.
10515 Use the --without-x option if you really want this." "$LINENO" 5 ;;
10516 esac
10519 test "x$ac_cv_lib_GLU_gluLookAt" != xyes && enable_glu32=${enable_glu32:-no}
10521 if test "$ac_cv_header_CL_cl_h" = "yes"
10522 then
10523 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for clGetPlatformInfo in -lOpenCL" >&5
10524 $as_echo_n "checking for clGetPlatformInfo in -lOpenCL... " >&6; }
10525 if ${ac_cv_lib_OpenCL_clGetPlatformInfo+:} false; then :
10526 $as_echo_n "(cached) " >&6
10527 else
10528 ac_check_lib_save_LIBS=$LIBS
10529 LIBS="-lOpenCL $LIBS"
10530 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10531 /* end confdefs.h. */
10533 /* Override any GCC internal prototype to avoid an error.
10534 Use char because int might match the return type of a GCC
10535 builtin and then its argument prototype would still apply. */
10536 #ifdef __cplusplus
10537 extern "C"
10538 #endif
10539 char clGetPlatformInfo ();
10541 main ()
10543 return clGetPlatformInfo ();
10545 return 0;
10547 _ACEOF
10548 if ac_fn_c_try_link "$LINENO"; then :
10549 ac_cv_lib_OpenCL_clGetPlatformInfo=yes
10550 else
10551 ac_cv_lib_OpenCL_clGetPlatformInfo=no
10553 rm -f core conftest.err conftest.$ac_objext \
10554 conftest$ac_exeext conftest.$ac_ext
10555 LIBS=$ac_check_lib_save_LIBS
10557 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_OpenCL_clGetPlatformInfo" >&5
10558 $as_echo "$ac_cv_lib_OpenCL_clGetPlatformInfo" >&6; }
10559 if test "x$ac_cv_lib_OpenCL_clGetPlatformInfo" = xyes; then :
10560 OPENCL_LIBS="-lOpenCL"
10565 if test "x$ac_cv_lib_OpenCL_clGetPlatformInfo" != xyes; then :
10566 case "x$with_opencl" in
10567 x) as_fn_append wine_notices "|OpenCL ${notice_platform}development files not found, OpenCL won't be supported." ;;
10568 xno) ;;
10569 *) as_fn_error $? "OpenCL ${notice_platform}development files not found, OpenCL won't be supported.
10570 This is an error since --with-opencl was requested." "$LINENO" 5 ;;
10571 esac
10573 test "x$ac_cv_lib_OpenCL_clGetPlatformInfo" != xyes && enable_opencl=${enable_opencl:-no}
10575 if test "$ac_cv_header_pcap_pcap_h" = "yes"
10576 then
10577 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for pcap_create in -lpcap" >&5
10578 $as_echo_n "checking for pcap_create in -lpcap... " >&6; }
10579 if ${ac_cv_lib_pcap_pcap_create+:} false; then :
10580 $as_echo_n "(cached) " >&6
10581 else
10582 ac_check_lib_save_LIBS=$LIBS
10583 LIBS="-lpcap $LIBS"
10584 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10585 /* end confdefs.h. */
10587 /* Override any GCC internal prototype to avoid an error.
10588 Use char because int might match the return type of a GCC
10589 builtin and then its argument prototype would still apply. */
10590 #ifdef __cplusplus
10591 extern "C"
10592 #endif
10593 char pcap_create ();
10595 main ()
10597 return pcap_create ();
10599 return 0;
10601 _ACEOF
10602 if ac_fn_c_try_link "$LINENO"; then :
10603 ac_cv_lib_pcap_pcap_create=yes
10604 else
10605 ac_cv_lib_pcap_pcap_create=no
10607 rm -f core conftest.err conftest.$ac_objext \
10608 conftest$ac_exeext conftest.$ac_ext
10609 LIBS=$ac_check_lib_save_LIBS
10611 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_pcap_pcap_create" >&5
10612 $as_echo "$ac_cv_lib_pcap_pcap_create" >&6; }
10613 if test "x$ac_cv_lib_pcap_pcap_create" = xyes; then :
10614 LIBPCAP="-lpcap"
10619 if test "x$ac_cv_lib_pcap_pcap_create" != xyes; then :
10620 case "x$with_pcap" in
10621 x) as_fn_append wine_notices "|pcap ${notice_platform}development files not found, wpcap won't be supported." ;;
10622 xno) ;;
10623 *) as_fn_error $? "pcap ${notice_platform}development files not found, wpcap won't be supported.
10624 This is an error since --with-pcap was requested." "$LINENO" 5 ;;
10625 esac
10627 test "x$ac_cv_lib_pcap_pcap_create" != xyes && enable_wpcap=${enable_wpcap:-no}
10630 if test "x$with_xml" != "xno"
10631 then
10632 if ${XML2_CFLAGS:+false} :; then :
10633 if ${PKG_CONFIG+:} false; then :
10634 XML2_CFLAGS=`$PKG_CONFIG --cflags libxml-2.0 2>/dev/null`
10637 test "$cross_compiling" = yes || XML2_CFLAGS=${XML2_CFLAGS:-`xml2-config --cflags 2>/dev/null`}
10638 if ${XML2_LIBS:+false} :; then :
10639 if ${PKG_CONFIG+:} false; then :
10640 XML2_LIBS=`$PKG_CONFIG --libs libxml-2.0 2>/dev/null`
10643 test "$cross_compiling" = yes || XML2_LIBS=${XML2_LIBS:-`xml2-config --libs 2>/dev/null`}
10644 XML2_LIBS=${XML2_LIBS:-"-lxml2"}
10645 $as_echo "$as_me:${as_lineno-$LINENO}: libxml-2.0 cflags: $XML2_CFLAGS" >&5
10646 $as_echo "$as_me:${as_lineno-$LINENO}: libxml-2.0 libs: $XML2_LIBS" >&5
10647 ac_save_CPPFLAGS=$CPPFLAGS
10648 CPPFLAGS="$CPPFLAGS $XML2_CFLAGS"
10649 for ac_header in libxml/parser.h libxml/xmlsave.h libxml/SAX2.h
10650 do :
10651 as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
10652 ac_fn_c_check_header_mongrel "$LINENO" "$ac_header" "$as_ac_Header" "$ac_includes_default"
10653 if eval test \"x\$"$as_ac_Header"\" = x"yes"; then :
10654 cat >>confdefs.h <<_ACEOF
10655 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
10656 _ACEOF
10660 done
10662 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"
10663 then
10664 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for xmlParseMemory in -lxml2" >&5
10665 $as_echo_n "checking for xmlParseMemory in -lxml2... " >&6; }
10666 if ${ac_cv_lib_xml2_xmlParseMemory+:} false; then :
10667 $as_echo_n "(cached) " >&6
10668 else
10669 ac_check_lib_save_LIBS=$LIBS
10670 LIBS="-lxml2 $XML2_LIBS $LIBS"
10671 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10672 /* end confdefs.h. */
10674 /* Override any GCC internal prototype to avoid an error.
10675 Use char because int might match the return type of a GCC
10676 builtin and then its argument prototype would still apply. */
10677 #ifdef __cplusplus
10678 extern "C"
10679 #endif
10680 char xmlParseMemory ();
10682 main ()
10684 return xmlParseMemory ();
10686 return 0;
10688 _ACEOF
10689 if ac_fn_c_try_link "$LINENO"; then :
10690 ac_cv_lib_xml2_xmlParseMemory=yes
10691 else
10692 ac_cv_lib_xml2_xmlParseMemory=no
10694 rm -f core conftest.err conftest.$ac_objext \
10695 conftest$ac_exeext conftest.$ac_ext
10696 LIBS=$ac_check_lib_save_LIBS
10698 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_xml2_xmlParseMemory" >&5
10699 $as_echo "$ac_cv_lib_xml2_xmlParseMemory" >&6; }
10700 if test "x$ac_cv_lib_xml2_xmlParseMemory" = xyes; then :
10702 $as_echo "#define HAVE_LIBXML2 1" >>confdefs.h
10704 else
10705 XML2_LIBS=""
10708 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for xmlReadMemory in -lxml2" >&5
10709 $as_echo_n "checking for xmlReadMemory in -lxml2... " >&6; }
10710 if ${ac_cv_lib_xml2_xmlReadMemory+:} false; then :
10711 $as_echo_n "(cached) " >&6
10712 else
10713 ac_check_lib_save_LIBS=$LIBS
10714 LIBS="-lxml2 $XML2_LIBS $LIBS"
10715 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10716 /* end confdefs.h. */
10718 /* Override any GCC internal prototype to avoid an error.
10719 Use char because int might match the return type of a GCC
10720 builtin and then its argument prototype would still apply. */
10721 #ifdef __cplusplus
10722 extern "C"
10723 #endif
10724 char xmlReadMemory ();
10726 main ()
10728 return xmlReadMemory ();
10730 return 0;
10732 _ACEOF
10733 if ac_fn_c_try_link "$LINENO"; then :
10734 ac_cv_lib_xml2_xmlReadMemory=yes
10735 else
10736 ac_cv_lib_xml2_xmlReadMemory=no
10738 rm -f core conftest.err conftest.$ac_objext \
10739 conftest$ac_exeext conftest.$ac_ext
10740 LIBS=$ac_check_lib_save_LIBS
10742 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_xml2_xmlReadMemory" >&5
10743 $as_echo "$ac_cv_lib_xml2_xmlReadMemory" >&6; }
10744 if test "x$ac_cv_lib_xml2_xmlReadMemory" = xyes; then :
10746 $as_echo "#define HAVE_XMLREADMEMORY 1" >>confdefs.h
10750 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for xmlNewDocPI in -lxml2" >&5
10751 $as_echo_n "checking for xmlNewDocPI in -lxml2... " >&6; }
10752 if ${ac_cv_lib_xml2_xmlNewDocPI+:} false; then :
10753 $as_echo_n "(cached) " >&6
10754 else
10755 ac_check_lib_save_LIBS=$LIBS
10756 LIBS="-lxml2 $XML2_LIBS $LIBS"
10757 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10758 /* end confdefs.h. */
10760 /* Override any GCC internal prototype to avoid an error.
10761 Use char because int might match the return type of a GCC
10762 builtin and then its argument prototype would still apply. */
10763 #ifdef __cplusplus
10764 extern "C"
10765 #endif
10766 char xmlNewDocPI ();
10768 main ()
10770 return xmlNewDocPI ();
10772 return 0;
10774 _ACEOF
10775 if ac_fn_c_try_link "$LINENO"; then :
10776 ac_cv_lib_xml2_xmlNewDocPI=yes
10777 else
10778 ac_cv_lib_xml2_xmlNewDocPI=no
10780 rm -f core conftest.err conftest.$ac_objext \
10781 conftest$ac_exeext conftest.$ac_ext
10782 LIBS=$ac_check_lib_save_LIBS
10784 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_xml2_xmlNewDocPI" >&5
10785 $as_echo "$ac_cv_lib_xml2_xmlNewDocPI" >&6; }
10786 if test "x$ac_cv_lib_xml2_xmlNewDocPI" = xyes; then :
10788 $as_echo "#define HAVE_XMLNEWDOCPI 1" >>confdefs.h
10792 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for xmlSchemaSetParserStructuredErrors in -lxml2" >&5
10793 $as_echo_n "checking for xmlSchemaSetParserStructuredErrors in -lxml2... " >&6; }
10794 if ${ac_cv_lib_xml2_xmlSchemaSetParserStructuredErrors+:} false; then :
10795 $as_echo_n "(cached) " >&6
10796 else
10797 ac_check_lib_save_LIBS=$LIBS
10798 LIBS="-lxml2 $XML2_LIBS $LIBS"
10799 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10800 /* end confdefs.h. */
10802 /* Override any GCC internal prototype to avoid an error.
10803 Use char because int might match the return type of a GCC
10804 builtin and then its argument prototype would still apply. */
10805 #ifdef __cplusplus
10806 extern "C"
10807 #endif
10808 char xmlSchemaSetParserStructuredErrors ();
10810 main ()
10812 return xmlSchemaSetParserStructuredErrors ();
10814 return 0;
10816 _ACEOF
10817 if ac_fn_c_try_link "$LINENO"; then :
10818 ac_cv_lib_xml2_xmlSchemaSetParserStructuredErrors=yes
10819 else
10820 ac_cv_lib_xml2_xmlSchemaSetParserStructuredErrors=no
10822 rm -f core conftest.err conftest.$ac_objext \
10823 conftest$ac_exeext conftest.$ac_ext
10824 LIBS=$ac_check_lib_save_LIBS
10826 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_xml2_xmlSchemaSetParserStructuredErrors" >&5
10827 $as_echo "$ac_cv_lib_xml2_xmlSchemaSetParserStructuredErrors" >&6; }
10828 if test "x$ac_cv_lib_xml2_xmlSchemaSetParserStructuredErrors" = xyes; then :
10830 $as_echo "#define HAVE_XMLSCHEMASSETPARSERSTRUCTUREDERRORS 1" >>confdefs.h
10834 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for xmlSchemaSetValidStructuredErrors in -lxml2" >&5
10835 $as_echo_n "checking for xmlSchemaSetValidStructuredErrors in -lxml2... " >&6; }
10836 if ${ac_cv_lib_xml2_xmlSchemaSetValidStructuredErrors+:} false; then :
10837 $as_echo_n "(cached) " >&6
10838 else
10839 ac_check_lib_save_LIBS=$LIBS
10840 LIBS="-lxml2 $XML2_LIBS $LIBS"
10841 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10842 /* end confdefs.h. */
10844 /* Override any GCC internal prototype to avoid an error.
10845 Use char because int might match the return type of a GCC
10846 builtin and then its argument prototype would still apply. */
10847 #ifdef __cplusplus
10848 extern "C"
10849 #endif
10850 char xmlSchemaSetValidStructuredErrors ();
10852 main ()
10854 return xmlSchemaSetValidStructuredErrors ();
10856 return 0;
10858 _ACEOF
10859 if ac_fn_c_try_link "$LINENO"; then :
10860 ac_cv_lib_xml2_xmlSchemaSetValidStructuredErrors=yes
10861 else
10862 ac_cv_lib_xml2_xmlSchemaSetValidStructuredErrors=no
10864 rm -f core conftest.err conftest.$ac_objext \
10865 conftest$ac_exeext conftest.$ac_ext
10866 LIBS=$ac_check_lib_save_LIBS
10868 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_xml2_xmlSchemaSetValidStructuredErrors" >&5
10869 $as_echo "$ac_cv_lib_xml2_xmlSchemaSetValidStructuredErrors" >&6; }
10870 if test "x$ac_cv_lib_xml2_xmlSchemaSetValidStructuredErrors" = xyes; then :
10872 $as_echo "#define HAVE_XMLSCHEMASSETVALIDSTRUCTUREDERRORS 1" >>confdefs.h
10876 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for xmlFirstElementChild in -lxml2" >&5
10877 $as_echo_n "checking for xmlFirstElementChild in -lxml2... " >&6; }
10878 if ${ac_cv_lib_xml2_xmlFirstElementChild+:} false; then :
10879 $as_echo_n "(cached) " >&6
10880 else
10881 ac_check_lib_save_LIBS=$LIBS
10882 LIBS="-lxml2 $XML2_LIBS $LIBS"
10883 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10884 /* end confdefs.h. */
10886 /* Override any GCC internal prototype to avoid an error.
10887 Use char because int might match the return type of a GCC
10888 builtin and then its argument prototype would still apply. */
10889 #ifdef __cplusplus
10890 extern "C"
10891 #endif
10892 char xmlFirstElementChild ();
10894 main ()
10896 return xmlFirstElementChild ();
10898 return 0;
10900 _ACEOF
10901 if ac_fn_c_try_link "$LINENO"; then :
10902 ac_cv_lib_xml2_xmlFirstElementChild=yes
10903 else
10904 ac_cv_lib_xml2_xmlFirstElementChild=no
10906 rm -f core conftest.err conftest.$ac_objext \
10907 conftest$ac_exeext conftest.$ac_ext
10908 LIBS=$ac_check_lib_save_LIBS
10910 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_xml2_xmlFirstElementChild" >&5
10911 $as_echo "$ac_cv_lib_xml2_xmlFirstElementChild" >&6; }
10912 if test "x$ac_cv_lib_xml2_xmlFirstElementChild" = xyes; then :
10914 $as_echo "#define HAVE_XMLFIRSTELEMENTCHILD 1" >>confdefs.h
10918 ac_fn_c_check_type "$LINENO" "xmlDocProperties" "ac_cv_type_xmlDocProperties" "#include <libxml/tree.h>
10920 if test "x$ac_cv_type_xmlDocProperties" = xyes; then :
10922 $as_echo "#define HAVE_XMLDOC_PROPERTIES 1" >>confdefs.h
10926 else
10927 XML2_CFLAGS=""
10928 XML2_LIBS=""
10930 CPPFLAGS=$ac_save_CPPFLAGS
10931 test -z "$XML2_CFLAGS" || XML2_CFLAGS=`echo " $XML2_CFLAGS" | sed 's/ -I\([^/]\)/ -I\$(top_builddir)\/\1/g'`
10932 test -z "$XML2_LIBS" || XML2_LIBS=`echo " $XML2_LIBS" | sed 's/ -L\([^/]\)/ -L\$(top_builddir)\/\1/g'`
10935 if test "$ac_cv_lib_xml2_xmlParseMemory" != "yes"; then :
10936 case "x$with_xml" in
10937 x) as_fn_append wine_warnings "|libxml2 ${notice_platform}development files not found (or too old), XML won't be supported." ;;
10938 xno) ;;
10939 *) as_fn_error $? "libxml2 ${notice_platform}development files not found (or too old), XML won't be supported.
10940 This is an error since --with-xml was requested." "$LINENO" 5 ;;
10941 esac
10944 if test "x$with_xslt" != "xno"
10945 then
10946 if ${XSLT_CFLAGS:+false} :; then :
10947 if ${PKG_CONFIG+:} false; then :
10948 XSLT_CFLAGS=`$PKG_CONFIG --cflags libxslt 2>/dev/null`
10951 test "$cross_compiling" = yes || XSLT_CFLAGS=${XSLT_CFLAGS:-`xslt-config --cflags 2>/dev/null`}
10952 if ${XSLT_LIBS:+false} :; then :
10953 if ${PKG_CONFIG+:} false; then :
10954 XSLT_LIBS=`$PKG_CONFIG --libs libxslt 2>/dev/null`
10957 test "$cross_compiling" = yes || XSLT_LIBS=${XSLT_LIBS:-`xslt-config --libs 2>/dev/null`}
10958 XSLT_LIBS=${XSLT_LIBS:-"-lxml2"}
10959 $as_echo "$as_me:${as_lineno-$LINENO}: libxslt cflags: $XSLT_CFLAGS" >&5
10960 $as_echo "$as_me:${as_lineno-$LINENO}: libxslt libs: $XSLT_LIBS" >&5
10961 ac_save_CPPFLAGS=$CPPFLAGS
10962 CPPFLAGS="$CPPFLAGS $XSLT_CFLAGS"
10963 for ac_header in libxslt/pattern.h libxslt/transform.h
10964 do :
10965 as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
10966 ac_fn_c_check_header_compile "$LINENO" "$ac_header" "$as_ac_Header" "#ifdef HAVE_LIBXSLT_PATTERN_H
10967 # include <libxslt/pattern.h>
10968 #endif
10970 if eval test \"x\$"$as_ac_Header"\" = x"yes"; then :
10971 cat >>confdefs.h <<_ACEOF
10972 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
10973 _ACEOF
10977 done
10979 if test "$ac_cv_header_libxslt_transform_h" = "yes"
10980 then
10981 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lxslt" >&5
10982 $as_echo_n "checking for -lxslt... " >&6; }
10983 if ${ac_cv_lib_soname_xslt+:} false; then :
10984 $as_echo_n "(cached) " >&6
10985 else
10986 ac_check_soname_save_LIBS=$LIBS
10987 LIBS="-lxslt $XSLT_LIBS $LIBS"
10988 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10989 /* end confdefs.h. */
10991 /* Override any GCC internal prototype to avoid an error.
10992 Use char because int might match the return type of a GCC
10993 builtin and then its argument prototype would still apply. */
10994 #ifdef __cplusplus
10995 extern "C"
10996 #endif
10997 char xsltCompilePattern ();
10999 main ()
11001 return xsltCompilePattern ();
11003 return 0;
11005 _ACEOF
11006 if ac_fn_c_try_link "$LINENO"; then :
11007 case "$LIBEXT" in
11008 dll) ac_cv_lib_soname_xslt=`$ac_cv_path_LDD conftest.exe | grep "xslt" | sed -e "s/dll.*/dll/"';2,$d'` ;;
11009 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'` ;;
11010 *) ac_cv_lib_soname_xslt=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libxslt\\.$LIBEXT" | sed -e "s/^.*\\[\\(libxslt\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
11011 if ${ac_cv_lib_soname_xslt:+false} :; then :
11012 ac_cv_lib_soname_xslt=`$LDD conftest$ac_exeext | grep "libxslt\\.$LIBEXT" | sed -e "s/^.*\(libxslt\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
11013 fi ;;
11014 esac
11016 rm -f core conftest.err conftest.$ac_objext \
11017 conftest$ac_exeext conftest.$ac_ext
11018 LIBS=$ac_check_soname_save_LIBS
11020 if ${ac_cv_lib_soname_xslt:+false} :; then :
11021 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
11022 $as_echo "not found" >&6; }
11024 else
11025 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_xslt" >&5
11026 $as_echo "$ac_cv_lib_soname_xslt" >&6; }
11028 cat >>confdefs.h <<_ACEOF
11029 #define SONAME_LIBXSLT "$ac_cv_lib_soname_xslt"
11030 _ACEOF
11034 else
11035 XSLT_CFLAGS=""
11037 CPPFLAGS=$ac_save_CPPFLAGS
11038 test -z "$XSLT_CFLAGS" || XSLT_CFLAGS=`echo " $XSLT_CFLAGS" | sed 's/ -I\([^/]\)/ -I\$(top_builddir)\/\1/g'`
11039 test -z "$XSLT_LIBS" || XSLT_LIBS=`echo " $XSLT_LIBS" | sed 's/ -L\([^/]\)/ -L\$(top_builddir)\/\1/g'`
11042 if test "x$ac_cv_lib_soname_xslt" = "x"; then :
11043 case "x$with_xslt" in
11044 x) as_fn_append wine_warnings "|libxslt ${notice_platform}development files not found, xslt won't be supported." ;;
11045 xno) ;;
11046 *) as_fn_error $? "libxslt ${notice_platform}development files not found, xslt won't be supported.
11047 This is an error since --with-xslt was requested." "$LINENO" 5 ;;
11048 esac
11051 if test "x$with_dbus" != "xno"
11052 then
11053 if ${DBUS_CFLAGS:+false} :; then :
11054 if ${PKG_CONFIG+:} false; then :
11055 DBUS_CFLAGS=`$PKG_CONFIG --cflags dbus-1 2>/dev/null`
11059 if ${DBUS_LIBS:+false} :; then :
11060 if ${PKG_CONFIG+:} false; then :
11061 DBUS_LIBS=`$PKG_CONFIG --libs dbus-1 2>/dev/null`
11066 $as_echo "$as_me:${as_lineno-$LINENO}: dbus-1 cflags: $DBUS_CFLAGS" >&5
11067 $as_echo "$as_me:${as_lineno-$LINENO}: dbus-1 libs: $DBUS_LIBS" >&5
11068 ac_save_CPPFLAGS=$CPPFLAGS
11069 CPPFLAGS="$CPPFLAGS $DBUS_CFLAGS"
11070 ac_fn_c_check_header_mongrel "$LINENO" "dbus/dbus.h" "ac_cv_header_dbus_dbus_h" "$ac_includes_default"
11071 if test "x$ac_cv_header_dbus_dbus_h" = xyes; then :
11072 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -ldbus-1" >&5
11073 $as_echo_n "checking for -ldbus-1... " >&6; }
11074 if ${ac_cv_lib_soname_dbus_1+:} false; then :
11075 $as_echo_n "(cached) " >&6
11076 else
11077 ac_check_soname_save_LIBS=$LIBS
11078 LIBS="-ldbus-1 $DBUS_LIBS $LIBS"
11079 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11080 /* end confdefs.h. */
11082 /* Override any GCC internal prototype to avoid an error.
11083 Use char because int might match the return type of a GCC
11084 builtin and then its argument prototype would still apply. */
11085 #ifdef __cplusplus
11086 extern "C"
11087 #endif
11088 char dbus_connection_close ();
11090 main ()
11092 return dbus_connection_close ();
11094 return 0;
11096 _ACEOF
11097 if ac_fn_c_try_link "$LINENO"; then :
11098 case "$LIBEXT" in
11099 dll) ac_cv_lib_soname_dbus_1=`$ac_cv_path_LDD conftest.exe | grep "dbus-1" | sed -e "s/dll.*/dll/"';2,$d'` ;;
11100 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'` ;;
11101 *) 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'`
11102 if ${ac_cv_lib_soname_dbus_1:+false} :; then :
11103 ac_cv_lib_soname_dbus_1=`$LDD conftest$ac_exeext | grep "libdbus-1\\.$LIBEXT" | sed -e "s/^.*\(libdbus-1\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
11104 fi ;;
11105 esac
11107 rm -f core conftest.err conftest.$ac_objext \
11108 conftest$ac_exeext conftest.$ac_ext
11109 LIBS=$ac_check_soname_save_LIBS
11111 if ${ac_cv_lib_soname_dbus_1:+false} :; then :
11112 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
11113 $as_echo "not found" >&6; }
11114 DBUS_CFLAGS=""
11115 else
11116 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_dbus_1" >&5
11117 $as_echo "$ac_cv_lib_soname_dbus_1" >&6; }
11119 cat >>confdefs.h <<_ACEOF
11120 #define SONAME_LIBDBUS_1 "$ac_cv_lib_soname_dbus_1"
11121 _ACEOF
11125 else
11126 DBUS_CFLAGS=""
11130 CPPFLAGS=$ac_save_CPPFLAGS
11131 test -z "$DBUS_CFLAGS" || DBUS_CFLAGS=`echo " $DBUS_CFLAGS" | sed 's/ -I\([^/]\)/ -I\$(top_builddir)\/\1/g'`
11132 test -z "$DBUS_LIBS" || DBUS_LIBS=`echo " $DBUS_LIBS" | sed 's/ -L\([^/]\)/ -L\$(top_builddir)\/\1/g'`
11135 if test "x$ac_cv_lib_soname_dbus_1" = "x" -a \
11136 "x$ac_cv_header_DiskArbitration_DiskArbitration_h" != "xyes"; then :
11137 case "x$with_dbus" in
11138 x) as_fn_append wine_notices "|libdbus ${notice_platform}development files not found, no dynamic device support." ;;
11139 xno) ;;
11140 *) as_fn_error $? "libdbus ${notice_platform}development files not found, no dynamic device support.
11141 This is an error since --with-dbus was requested." "$LINENO" 5 ;;
11142 esac
11145 if test "x$with_hal" != "xno" -a "x$ac_cv_lib_soname_dbus_1" != x
11146 then
11147 if ${HAL_CFLAGS:+false} :; then :
11148 if ${PKG_CONFIG+:} false; then :
11149 HAL_CFLAGS=`$PKG_CONFIG --cflags hal 2>/dev/null`
11153 if ${HAL_LIBS:+false} :; then :
11154 if ${PKG_CONFIG+:} false; then :
11155 HAL_LIBS=`$PKG_CONFIG --libs hal 2>/dev/null`
11159 HAL_LIBS=${HAL_LIBS:-"-ldbus-1"}
11160 $as_echo "$as_me:${as_lineno-$LINENO}: hal cflags: $HAL_CFLAGS" >&5
11161 $as_echo "$as_me:${as_lineno-$LINENO}: hal libs: $HAL_LIBS" >&5
11162 ac_save_CPPFLAGS=$CPPFLAGS
11163 CPPFLAGS="$CPPFLAGS $HAL_CFLAGS"
11164 ac_fn_c_check_header_mongrel "$LINENO" "hal/libhal.h" "ac_cv_header_hal_libhal_h" "$ac_includes_default"
11165 if test "x$ac_cv_header_hal_libhal_h" = xyes; then :
11166 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lhal" >&5
11167 $as_echo_n "checking for -lhal... " >&6; }
11168 if ${ac_cv_lib_soname_hal+:} false; then :
11169 $as_echo_n "(cached) " >&6
11170 else
11171 ac_check_soname_save_LIBS=$LIBS
11172 LIBS="-lhal $HAL_LIBS $LIBS"
11173 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11174 /* end confdefs.h. */
11176 /* Override any GCC internal prototype to avoid an error.
11177 Use char because int might match the return type of a GCC
11178 builtin and then its argument prototype would still apply. */
11179 #ifdef __cplusplus
11180 extern "C"
11181 #endif
11182 char libhal_ctx_new ();
11184 main ()
11186 return libhal_ctx_new ();
11188 return 0;
11190 _ACEOF
11191 if ac_fn_c_try_link "$LINENO"; then :
11192 case "$LIBEXT" in
11193 dll) ac_cv_lib_soname_hal=`$ac_cv_path_LDD conftest.exe | grep "hal" | sed -e "s/dll.*/dll/"';2,$d'` ;;
11194 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'` ;;
11195 *) ac_cv_lib_soname_hal=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libhal\\.$LIBEXT" | sed -e "s/^.*\\[\\(libhal\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
11196 if ${ac_cv_lib_soname_hal:+false} :; then :
11197 ac_cv_lib_soname_hal=`$LDD conftest$ac_exeext | grep "libhal\\.$LIBEXT" | sed -e "s/^.*\(libhal\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
11198 fi ;;
11199 esac
11201 rm -f core conftest.err conftest.$ac_objext \
11202 conftest$ac_exeext conftest.$ac_ext
11203 LIBS=$ac_check_soname_save_LIBS
11205 if ${ac_cv_lib_soname_hal:+false} :; then :
11206 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
11207 $as_echo "not found" >&6; }
11208 HAL_CFLAGS=""
11209 else
11210 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_hal" >&5
11211 $as_echo "$ac_cv_lib_soname_hal" >&6; }
11213 cat >>confdefs.h <<_ACEOF
11214 #define SONAME_LIBHAL "$ac_cv_lib_soname_hal"
11215 _ACEOF
11219 else
11220 HAL_CFLAGS=""
11224 CPPFLAGS=$ac_save_CPPFLAGS
11225 test -z "$HAL_CFLAGS" || HAL_CFLAGS=`echo " $HAL_CFLAGS" | sed 's/ -I\([^/]\)/ -I\$(top_builddir)\/\1/g'`
11226 test -z "$HAL_LIBS" || HAL_LIBS=`echo " $HAL_LIBS" | sed 's/ -L\([^/]\)/ -L\$(top_builddir)\/\1/g'`
11228 if test "x$ac_cv_lib_soname_hal" = "x" -a \
11229 "x$ac_cv_header_DiskArbitration_DiskArbitration_h" != "xyes"; then :
11230 case "x$with_hal" in
11231 x) as_fn_append wine_notices "|libhal ${notice_platform}development files not found, no legacy dynamic device support." ;;
11232 xno) ;;
11233 *) as_fn_error $? "libhal ${notice_platform}development files not found, no legacy dynamic device support.
11234 This is an error since --with-hal was requested." "$LINENO" 5 ;;
11235 esac
11239 if test "x$with_gnutls" != "xno"
11240 then
11241 if ${GNUTLS_CFLAGS:+false} :; then :
11242 if ${PKG_CONFIG+:} false; then :
11243 GNUTLS_CFLAGS=`$PKG_CONFIG --cflags gnutls 2>/dev/null`
11247 if ${GNUTLS_LIBS:+false} :; then :
11248 if ${PKG_CONFIG+:} false; then :
11249 GNUTLS_LIBS=`$PKG_CONFIG --libs gnutls 2>/dev/null`
11254 $as_echo "$as_me:${as_lineno-$LINENO}: gnutls cflags: $GNUTLS_CFLAGS" >&5
11255 $as_echo "$as_me:${as_lineno-$LINENO}: gnutls libs: $GNUTLS_LIBS" >&5
11256 ac_save_CPPFLAGS=$CPPFLAGS
11257 CPPFLAGS="$CPPFLAGS $GNUTLS_CFLAGS"
11258 ac_fn_c_check_header_mongrel "$LINENO" "gnutls/gnutls.h" "ac_cv_header_gnutls_gnutls_h" "$ac_includes_default"
11259 if test "x$ac_cv_header_gnutls_gnutls_h" = xyes; then :
11260 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11261 /* end confdefs.h. */
11262 #include <gnutls/gnutls.h>
11263 #include <gnutls/crypto.h>
11265 main ()
11267 static typeof(gnutls_mac_get_key_size) *func; if (func) return 0;
11269 return 0;
11271 _ACEOF
11272 if ac_fn_c_try_compile "$LINENO"; then :
11273 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lgnutls" >&5
11274 $as_echo_n "checking for -lgnutls... " >&6; }
11275 if ${ac_cv_lib_soname_gnutls+:} false; then :
11276 $as_echo_n "(cached) " >&6
11277 else
11278 ac_check_soname_save_LIBS=$LIBS
11279 LIBS="-lgnutls $GNUTLS_LIBS $LIBS"
11280 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11281 /* end confdefs.h. */
11283 /* Override any GCC internal prototype to avoid an error.
11284 Use char because int might match the return type of a GCC
11285 builtin and then its argument prototype would still apply. */
11286 #ifdef __cplusplus
11287 extern "C"
11288 #endif
11289 char gnutls_global_init ();
11291 main ()
11293 return gnutls_global_init ();
11295 return 0;
11297 _ACEOF
11298 if ac_fn_c_try_link "$LINENO"; then :
11299 case "$LIBEXT" in
11300 dll) ac_cv_lib_soname_gnutls=`$ac_cv_path_LDD conftest.exe | grep "gnutls" | sed -e "s/dll.*/dll/"';2,$d'` ;;
11301 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'` ;;
11302 *) 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'`
11303 if ${ac_cv_lib_soname_gnutls:+false} :; then :
11304 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'`
11305 fi ;;
11306 esac
11308 rm -f core conftest.err conftest.$ac_objext \
11309 conftest$ac_exeext conftest.$ac_ext
11310 LIBS=$ac_check_soname_save_LIBS
11312 if ${ac_cv_lib_soname_gnutls:+false} :; then :
11313 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
11314 $as_echo "not found" >&6; }
11315 GNUTLS_CFLAGS=""
11316 else
11317 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_gnutls" >&5
11318 $as_echo "$ac_cv_lib_soname_gnutls" >&6; }
11320 cat >>confdefs.h <<_ACEOF
11321 #define SONAME_LIBGNUTLS "$ac_cv_lib_soname_gnutls"
11322 _ACEOF
11327 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
11328 else
11329 GNUTLS_CFLAGS=""
11333 CPPFLAGS=$ac_save_CPPFLAGS
11334 test -z "$GNUTLS_CFLAGS" || GNUTLS_CFLAGS=`echo " $GNUTLS_CFLAGS" | sed 's/ -I\([^/]\)/ -I\$(top_builddir)\/\1/g'`
11335 test -z "$GNUTLS_LIBS" || GNUTLS_LIBS=`echo " $GNUTLS_LIBS" | sed 's/ -L\([^/]\)/ -L\$(top_builddir)\/\1/g'`
11338 if test "x$ac_cv_lib_soname_gnutls" = "x"; then :
11339 case "x$with_gnutls" in
11340 x) as_fn_append wine_warnings "|libgnutls ${notice_platform}development files not found, no schannel support." ;;
11341 xno) ;;
11342 *) as_fn_error $? "libgnutls ${notice_platform}development files not found, no schannel support.
11343 This is an error since --with-gnutls was requested." "$LINENO" 5 ;;
11344 esac
11347 CURSES_LIBS=""
11348 if test "$ac_cv_header_ncurses_h" = "yes"
11349 then
11350 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lncurses" >&5
11351 $as_echo_n "checking for -lncurses... " >&6; }
11352 if ${ac_cv_lib_soname_ncurses+:} false; then :
11353 $as_echo_n "(cached) " >&6
11354 else
11355 ac_check_soname_save_LIBS=$LIBS
11356 LIBS="-lncurses $LIBS"
11357 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11358 /* end confdefs.h. */
11360 /* Override any GCC internal prototype to avoid an error.
11361 Use char because int might match the return type of a GCC
11362 builtin and then its argument prototype would still apply. */
11363 #ifdef __cplusplus
11364 extern "C"
11365 #endif
11366 char waddch ();
11368 main ()
11370 return waddch ();
11372 return 0;
11374 _ACEOF
11375 if ac_fn_c_try_link "$LINENO"; then :
11376 case "$LIBEXT" in
11377 dll) ac_cv_lib_soname_ncurses=`$ac_cv_path_LDD conftest.exe | grep "ncurses" | sed -e "s/dll.*/dll/"';2,$d'` ;;
11378 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'` ;;
11379 *) 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'`
11380 if ${ac_cv_lib_soname_ncurses:+false} :; then :
11381 ac_cv_lib_soname_ncurses=`$LDD conftest$ac_exeext | grep "libncursesw\\{0,1\\}\\.$LIBEXT" | sed -e "s/^.*\(libncursesw\\{0,1\\}\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
11382 fi ;;
11383 esac
11385 rm -f core conftest.err conftest.$ac_objext \
11386 conftest$ac_exeext conftest.$ac_ext
11387 LIBS=$ac_check_soname_save_LIBS
11389 if ${ac_cv_lib_soname_ncurses:+false} :; then :
11390 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
11391 $as_echo "not found" >&6; }
11393 else
11394 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_ncurses" >&5
11395 $as_echo "$ac_cv_lib_soname_ncurses" >&6; }
11397 cat >>confdefs.h <<_ACEOF
11398 #define SONAME_LIBNCURSES "$ac_cv_lib_soname_ncurses"
11399 _ACEOF
11401 CURSES_LIBS="-lncurses"
11403 elif test "$ac_cv_header_curses_h" = "yes"
11404 then
11405 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lcurses" >&5
11406 $as_echo_n "checking for -lcurses... " >&6; }
11407 if ${ac_cv_lib_soname_curses+:} false; then :
11408 $as_echo_n "(cached) " >&6
11409 else
11410 ac_check_soname_save_LIBS=$LIBS
11411 LIBS="-lcurses $LIBS"
11412 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11413 /* end confdefs.h. */
11415 /* Override any GCC internal prototype to avoid an error.
11416 Use char because int might match the return type of a GCC
11417 builtin and then its argument prototype would still apply. */
11418 #ifdef __cplusplus
11419 extern "C"
11420 #endif
11421 char waddch ();
11423 main ()
11425 return waddch ();
11427 return 0;
11429 _ACEOF
11430 if ac_fn_c_try_link "$LINENO"; then :
11431 case "$LIBEXT" in
11432 dll) ac_cv_lib_soname_curses=`$ac_cv_path_LDD conftest.exe | grep "curses" | sed -e "s/dll.*/dll/"';2,$d'` ;;
11433 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'` ;;
11434 *) ac_cv_lib_soname_curses=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libcurses\\.$LIBEXT" | sed -e "s/^.*\\[\\(libcurses\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
11435 if ${ac_cv_lib_soname_curses:+false} :; then :
11436 ac_cv_lib_soname_curses=`$LDD conftest$ac_exeext | grep "libcurses\\.$LIBEXT" | sed -e "s/^.*\(libcurses\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
11437 fi ;;
11438 esac
11440 rm -f core conftest.err conftest.$ac_objext \
11441 conftest$ac_exeext conftest.$ac_ext
11442 LIBS=$ac_check_soname_save_LIBS
11444 if ${ac_cv_lib_soname_curses:+false} :; then :
11445 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
11446 $as_echo "not found" >&6; }
11448 else
11449 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_curses" >&5
11450 $as_echo "$ac_cv_lib_soname_curses" >&6; }
11452 cat >>confdefs.h <<_ACEOF
11453 #define SONAME_LIBCURSES "$ac_cv_lib_soname_curses"
11454 _ACEOF
11456 CURSES_LIBS="-lcurses"
11459 ac_save_LIBS="$LIBS"
11460 LIBS="$LIBS $CURSES_LIBS"
11461 for ac_func in mousemask
11462 do :
11463 ac_fn_c_check_func "$LINENO" "mousemask" "ac_cv_func_mousemask"
11464 if test "x$ac_cv_func_mousemask" = xyes; then :
11465 cat >>confdefs.h <<_ACEOF
11466 #define HAVE_MOUSEMASK 1
11467 _ACEOF
11470 done
11472 LIBS="$ac_save_LIBS"
11473 if test "x$ac_cv_lib_soname_curses$ac_cv_lib_soname_ncurses" = "x"; then :
11474 case "x$with_curses" in
11475 x) as_fn_append wine_notices "|lib(n)curses ${notice_platform}development files not found, curses won't be supported." ;;
11476 xno) ;;
11477 *) as_fn_error $? "lib(n)curses ${notice_platform}development files not found, curses won't be supported.
11478 This is an error since --with-curses was requested." "$LINENO" 5 ;;
11479 esac
11482 if test "x$with_sane" != "xno"
11483 then
11484 if ${SANE_CFLAGS:+false} :; then :
11485 if ${PKG_CONFIG+:} false; then :
11486 SANE_CFLAGS=`$PKG_CONFIG --cflags libsane 2>/dev/null`
11489 test "$cross_compiling" = yes || SANE_CFLAGS=${SANE_CFLAGS:-`sane-config --cflags 2>/dev/null`}
11490 if ${SANE_LIBS:+false} :; then :
11491 if ${PKG_CONFIG+:} false; then :
11492 SANE_LIBS=`$PKG_CONFIG --libs libsane 2>/dev/null`
11495 test "$cross_compiling" = yes || SANE_LIBS=${SANE_LIBS:-`sane-config --ldflags 2>/dev/null`}
11497 $as_echo "$as_me:${as_lineno-$LINENO}: libsane cflags: $SANE_CFLAGS" >&5
11498 $as_echo "$as_me:${as_lineno-$LINENO}: libsane libs: $SANE_LIBS" >&5
11499 ac_save_CPPFLAGS=$CPPFLAGS
11500 CPPFLAGS="$CPPFLAGS $SANE_CFLAGS"
11501 ac_fn_c_check_header_mongrel "$LINENO" "sane/sane.h" "ac_cv_header_sane_sane_h" "$ac_includes_default"
11502 if test "x$ac_cv_header_sane_sane_h" = xyes; then :
11503 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lsane" >&5
11504 $as_echo_n "checking for -lsane... " >&6; }
11505 if ${ac_cv_lib_soname_sane+:} false; then :
11506 $as_echo_n "(cached) " >&6
11507 else
11508 ac_check_soname_save_LIBS=$LIBS
11509 LIBS="-lsane $SANE_LIBS $LIBS"
11510 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11511 /* end confdefs.h. */
11513 /* Override any GCC internal prototype to avoid an error.
11514 Use char because int might match the return type of a GCC
11515 builtin and then its argument prototype would still apply. */
11516 #ifdef __cplusplus
11517 extern "C"
11518 #endif
11519 char sane_init ();
11521 main ()
11523 return sane_init ();
11525 return 0;
11527 _ACEOF
11528 if ac_fn_c_try_link "$LINENO"; then :
11529 case "$LIBEXT" in
11530 dll) ac_cv_lib_soname_sane=`$ac_cv_path_LDD conftest.exe | grep "sane" | sed -e "s/dll.*/dll/"';2,$d'` ;;
11531 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'` ;;
11532 *) ac_cv_lib_soname_sane=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libsane\\.$LIBEXT" | sed -e "s/^.*\\[\\(libsane\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
11533 if ${ac_cv_lib_soname_sane:+false} :; then :
11534 ac_cv_lib_soname_sane=`$LDD conftest$ac_exeext | grep "libsane\\.$LIBEXT" | sed -e "s/^.*\(libsane\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
11535 fi ;;
11536 esac
11538 rm -f core conftest.err conftest.$ac_objext \
11539 conftest$ac_exeext conftest.$ac_ext
11540 LIBS=$ac_check_soname_save_LIBS
11542 if ${ac_cv_lib_soname_sane:+false} :; then :
11543 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
11544 $as_echo "not found" >&6; }
11545 SANE_CFLAGS=""
11546 else
11547 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_sane" >&5
11548 $as_echo "$ac_cv_lib_soname_sane" >&6; }
11550 cat >>confdefs.h <<_ACEOF
11551 #define SONAME_LIBSANE "$ac_cv_lib_soname_sane"
11552 _ACEOF
11556 else
11557 SANE_CFLAGS=""
11561 CPPFLAGS=$ac_save_CPPFLAGS
11562 test -z "$SANE_CFLAGS" || SANE_CFLAGS=`echo " $SANE_CFLAGS" | sed 's/ -I\([^/]\)/ -I\$(top_builddir)\/\1/g'`
11563 test -z "$SANE_LIBS" || SANE_LIBS=`echo " $SANE_LIBS" | sed 's/ -L\([^/]\)/ -L\$(top_builddir)\/\1/g'`
11566 if test "x$ac_cv_lib_soname_sane" = "x"; then :
11567 case "x$with_sane" in
11568 x) as_fn_append wine_notices "|libsane ${notice_platform}development files not found, scanners won't be supported." ;;
11569 xno) ;;
11570 *) as_fn_error $? "libsane ${notice_platform}development files not found, scanners won't be supported.
11571 This is an error since --with-sane was requested." "$LINENO" 5 ;;
11572 esac
11575 if test "x$with_v4l" != "xno"
11576 then
11577 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lv4l1" >&5
11578 $as_echo_n "checking for -lv4l1... " >&6; }
11579 if ${ac_cv_lib_soname_v4l1+:} false; then :
11580 $as_echo_n "(cached) " >&6
11581 else
11582 ac_check_soname_save_LIBS=$LIBS
11583 LIBS="-lv4l1 $LIBS"
11584 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11585 /* end confdefs.h. */
11587 /* Override any GCC internal prototype to avoid an error.
11588 Use char because int might match the return type of a GCC
11589 builtin and then its argument prototype would still apply. */
11590 #ifdef __cplusplus
11591 extern "C"
11592 #endif
11593 char v4l1_open ();
11595 main ()
11597 return v4l1_open ();
11599 return 0;
11601 _ACEOF
11602 if ac_fn_c_try_link "$LINENO"; then :
11603 case "$LIBEXT" in
11604 dll) ac_cv_lib_soname_v4l1=`$ac_cv_path_LDD conftest.exe | grep "v4l1" | sed -e "s/dll.*/dll/"';2,$d'` ;;
11605 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'` ;;
11606 *) ac_cv_lib_soname_v4l1=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libv4l1\\.$LIBEXT" | sed -e "s/^.*\\[\\(libv4l1\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
11607 if ${ac_cv_lib_soname_v4l1:+false} :; then :
11608 ac_cv_lib_soname_v4l1=`$LDD conftest$ac_exeext | grep "libv4l1\\.$LIBEXT" | sed -e "s/^.*\(libv4l1\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
11609 fi ;;
11610 esac
11612 rm -f core conftest.err conftest.$ac_objext \
11613 conftest$ac_exeext conftest.$ac_ext
11614 LIBS=$ac_check_soname_save_LIBS
11616 if ${ac_cv_lib_soname_v4l1:+false} :; then :
11617 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
11618 $as_echo "not found" >&6; }
11620 else
11621 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_v4l1" >&5
11622 $as_echo "$ac_cv_lib_soname_v4l1" >&6; }
11624 cat >>confdefs.h <<_ACEOF
11625 #define SONAME_LIBV4L1 "$ac_cv_lib_soname_v4l1"
11626 _ACEOF
11631 if test "x$ac_cv_lib_soname_v4l1" = "x"; then :
11632 case "x$with_v4l" in
11633 x) as_fn_append wine_notices "|libv4l ${notice_platform}development files not found." ;;
11634 xno) ;;
11635 *) as_fn_error $? "libv4l ${notice_platform}development files not found.
11636 This is an error since --with-v4l was requested." "$LINENO" 5 ;;
11637 esac
11640 if test "x$with_gphoto" != "xno"
11641 then
11642 if ${GPHOTO2_CFLAGS:+false} :; then :
11643 if ${PKG_CONFIG+:} false; then :
11644 GPHOTO2_CFLAGS=`$PKG_CONFIG --cflags libgphoto2 2>/dev/null`
11647 test "$cross_compiling" = yes || GPHOTO2_CFLAGS=${GPHOTO2_CFLAGS:-`gphoto2-config --cflags 2>/dev/null`}
11648 if ${GPHOTO2_LIBS:+false} :; then :
11649 if ${PKG_CONFIG+:} false; then :
11650 GPHOTO2_LIBS=`$PKG_CONFIG --libs libgphoto2 2>/dev/null`
11653 test "$cross_compiling" = yes || GPHOTO2_LIBS=${GPHOTO2_LIBS:-`gphoto2-config --libs 2>/dev/null`}
11654 GPHOTO2_LIBS=${GPHOTO2_LIBS:-"-lgphoto2"}
11655 $as_echo "$as_me:${as_lineno-$LINENO}: libgphoto2 cflags: $GPHOTO2_CFLAGS" >&5
11656 $as_echo "$as_me:${as_lineno-$LINENO}: libgphoto2 libs: $GPHOTO2_LIBS" >&5
11657 ac_save_CPPFLAGS=$CPPFLAGS
11658 CPPFLAGS="$CPPFLAGS $GPHOTO2_CFLAGS"
11659 ac_fn_c_check_header_mongrel "$LINENO" "gphoto2-camera.h" "ac_cv_header_gphoto2_camera_h" "$ac_includes_default"
11660 if test "x$ac_cv_header_gphoto2_camera_h" = xyes; then :
11661 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for gp_camera_new in -lgphoto2" >&5
11662 $as_echo_n "checking for gp_camera_new in -lgphoto2... " >&6; }
11663 if ${ac_cv_lib_gphoto2_gp_camera_new+:} false; then :
11664 $as_echo_n "(cached) " >&6
11665 else
11666 ac_check_lib_save_LIBS=$LIBS
11667 LIBS="-lgphoto2 $GPHOTO2_LIBS $LIBS"
11668 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11669 /* end confdefs.h. */
11671 /* Override any GCC internal prototype to avoid an error.
11672 Use char because int might match the return type of a GCC
11673 builtin and then its argument prototype would still apply. */
11674 #ifdef __cplusplus
11675 extern "C"
11676 #endif
11677 char gp_camera_new ();
11679 main ()
11681 return gp_camera_new ();
11683 return 0;
11685 _ACEOF
11686 if ac_fn_c_try_link "$LINENO"; then :
11687 ac_cv_lib_gphoto2_gp_camera_new=yes
11688 else
11689 ac_cv_lib_gphoto2_gp_camera_new=no
11691 rm -f core conftest.err conftest.$ac_objext \
11692 conftest$ac_exeext conftest.$ac_ext
11693 LIBS=$ac_check_lib_save_LIBS
11695 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_gphoto2_gp_camera_new" >&5
11696 $as_echo "$ac_cv_lib_gphoto2_gp_camera_new" >&6; }
11697 if test "x$ac_cv_lib_gphoto2_gp_camera_new" = xyes; then :
11699 $as_echo "#define HAVE_GPHOTO2 1" >>confdefs.h
11701 else
11702 GPHOTO2_LIBS=""; GPHOTO2_CFLAGS=""
11705 else
11706 GPHOTO2_LIBS=""; GPHOTO2_CFLAGS=""
11710 CPPFLAGS=$ac_save_CPPFLAGS
11711 test -z "$GPHOTO2_CFLAGS" || GPHOTO2_CFLAGS=`echo " $GPHOTO2_CFLAGS" | sed 's/ -I\([^/]\)/ -I\$(top_builddir)\/\1/g'`
11712 test -z "$GPHOTO2_LIBS" || GPHOTO2_LIBS=`echo " $GPHOTO2_LIBS" | sed 's/ -L\([^/]\)/ -L\$(top_builddir)\/\1/g'`
11714 if ${GPHOTO2_PORT_CFLAGS:+false} :; then :
11715 if ${PKG_CONFIG+:} false; then :
11716 GPHOTO2_PORT_CFLAGS=`$PKG_CONFIG --cflags libgphoto2_port 2>/dev/null`
11719 test "$cross_compiling" = yes || GPHOTO2_PORT_CFLAGS=${GPHOTO2_PORT_CFLAGS:-`gphoto2-port-config --cflags 2>/dev/null`}
11720 if ${GPHOTO2_PORT_LIBS:+false} :; then :
11721 if ${PKG_CONFIG+:} false; then :
11722 GPHOTO2_PORT_LIBS=`$PKG_CONFIG --libs libgphoto2_port 2>/dev/null`
11725 test "$cross_compiling" = yes || GPHOTO2_PORT_LIBS=${GPHOTO2_PORT_LIBS:-`gphoto2-port-config --libs 2>/dev/null`}
11726 GPHOTO2_PORT_LIBS=${GPHOTO2_PORT_LIBS:-"-lgphoto2_port"}
11727 $as_echo "$as_me:${as_lineno-$LINENO}: libgphoto2_port cflags: $GPHOTO2_PORT_CFLAGS" >&5
11728 $as_echo "$as_me:${as_lineno-$LINENO}: libgphoto2_port libs: $GPHOTO2_PORT_LIBS" >&5
11729 ac_save_CPPFLAGS=$CPPFLAGS
11730 CPPFLAGS="$CPPFLAGS $GPHOTO2_PORT_CFLAGS"
11731 ac_fn_c_check_header_mongrel "$LINENO" "gphoto2-port.h" "ac_cv_header_gphoto2_port_h" "$ac_includes_default"
11732 if test "x$ac_cv_header_gphoto2_port_h" = xyes; then :
11733 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for gp_port_info_list_new in -lgphoto2_port" >&5
11734 $as_echo_n "checking for gp_port_info_list_new in -lgphoto2_port... " >&6; }
11735 if ${ac_cv_lib_gphoto2_port_gp_port_info_list_new+:} false; then :
11736 $as_echo_n "(cached) " >&6
11737 else
11738 ac_check_lib_save_LIBS=$LIBS
11739 LIBS="-lgphoto2_port $GPHOTO2_PORT_LIBS $LIBS"
11740 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11741 /* end confdefs.h. */
11743 /* Override any GCC internal prototype to avoid an error.
11744 Use char because int might match the return type of a GCC
11745 builtin and then its argument prototype would still apply. */
11746 #ifdef __cplusplus
11747 extern "C"
11748 #endif
11749 char gp_port_info_list_new ();
11751 main ()
11753 return gp_port_info_list_new ();
11755 return 0;
11757 _ACEOF
11758 if ac_fn_c_try_link "$LINENO"; then :
11759 ac_cv_lib_gphoto2_port_gp_port_info_list_new=yes
11760 else
11761 ac_cv_lib_gphoto2_port_gp_port_info_list_new=no
11763 rm -f core conftest.err conftest.$ac_objext \
11764 conftest$ac_exeext conftest.$ac_ext
11765 LIBS=$ac_check_lib_save_LIBS
11767 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_gphoto2_port_gp_port_info_list_new" >&5
11768 $as_echo "$ac_cv_lib_gphoto2_port_gp_port_info_list_new" >&6; }
11769 if test "x$ac_cv_lib_gphoto2_port_gp_port_info_list_new" = xyes; then :
11771 $as_echo "#define HAVE_GPHOTO2_PORT 1" >>confdefs.h
11773 else
11774 GPHOTO2_PORT_LIBS=""; GPHOTO2_PORT_CFLAGS=""
11777 else
11778 GPHOTO2_PORT_LIBS=""; GPHOTO2_PORT_CFLAGS=""
11782 CPPFLAGS=$ac_save_CPPFLAGS
11783 test -z "$GPHOTO2_PORT_CFLAGS" || GPHOTO2_PORT_CFLAGS=`echo " $GPHOTO2_PORT_CFLAGS" | sed 's/ -I\([^/]\)/ -I\$(top_builddir)\/\1/g'`
11784 test -z "$GPHOTO2_PORT_LIBS" || GPHOTO2_PORT_LIBS=`echo " $GPHOTO2_PORT_LIBS" | sed 's/ -L\([^/]\)/ -L\$(top_builddir)\/\1/g'`
11787 if test "$ac_cv_lib_gphoto2_gp_camera_new" != "yes"; then :
11788 case "x$with_gphoto" in
11789 x) as_fn_append wine_notices "|libgphoto2 ${notice_platform}development files not found, digital cameras won't be supported." ;;
11790 xno) ;;
11791 *) as_fn_error $? "libgphoto2 ${notice_platform}development files not found, digital cameras won't be supported.
11792 This is an error since --with-gphoto was requested." "$LINENO" 5 ;;
11793 esac
11795 if test "$ac_cv_lib_gphoto2_port_gp_port_info_list_new" != "yes"; then :
11796 case "x$with_gphoto" in
11797 x) as_fn_append wine_notices "|libgphoto2_port ${notice_platform}development files not found, digital cameras won't be auto-detected." ;;
11798 xno) ;;
11799 *) as_fn_error $? "libgphoto2_port ${notice_platform}development files not found, digital cameras won't be auto-detected.
11800 This is an error since --with-gphoto was requested." "$LINENO" 5 ;;
11801 esac
11805 if test "$ac_cv_header_resolv_h" = "yes"
11806 then
11807 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for resolver library" >&5
11808 $as_echo_n "checking for resolver library... " >&6; }
11809 if ${ac_cv_have_resolv+:} false; then :
11810 $as_echo_n "(cached) " >&6
11811 else
11812 ac_save_LIBS="$LIBS"
11813 for lib in '' -lresolv
11815 LIBS="$lib $ac_save_LIBS"
11816 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11817 /* end confdefs.h. */
11818 #ifdef HAVE_NETINET_IN_H
11819 #include <netinet/in.h>
11820 #endif
11821 #include <resolv.h>
11823 main ()
11825 if (!(_res.options & RES_INIT)) res_init(); res_query("foo",ns_c_in,0,0,0)
11827 return 0;
11829 _ACEOF
11830 if ac_fn_c_try_link "$LINENO"; then :
11831 ac_cv_have_resolv=${lib:-"none required"}
11832 else
11833 ac_cv_have_resolv="not found"
11835 rm -f core conftest.err conftest.$ac_objext \
11836 conftest$ac_exeext conftest.$ac_ext
11837 test "x$ac_cv_have_resolv" = "xnot found" || break
11838 done
11839 LIBS="$ac_save_LIBS"
11841 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_have_resolv" >&5
11842 $as_echo "$ac_cv_have_resolv" >&6; }
11844 case "$ac_cv_have_resolv" in
11845 "not found") ;;
11846 "none required")
11848 $as_echo "#define HAVE_RESOLV 1" >>confdefs.h
11851 $as_echo "#define HAVE_RESOLV 1" >>confdefs.h
11853 RESOLV_LIBS=$ac_cv_have_resolv
11855 esac
11858 if test "x$with_cms" != "xno"
11859 then
11860 if ${LCMS2_CFLAGS:+false} :; then :
11861 if ${PKG_CONFIG+:} false; then :
11862 LCMS2_CFLAGS=`$PKG_CONFIG --cflags lcms2 2>/dev/null`
11866 if ${LCMS2_LIBS:+false} :; then :
11867 if ${PKG_CONFIG+:} false; then :
11868 LCMS2_LIBS=`$PKG_CONFIG --libs lcms2 2>/dev/null`
11872 LCMS2_LIBS=${LCMS2_LIBS:-"-llcms2"}
11873 $as_echo "$as_me:${as_lineno-$LINENO}: lcms2 cflags: $LCMS2_CFLAGS" >&5
11874 $as_echo "$as_me:${as_lineno-$LINENO}: lcms2 libs: $LCMS2_LIBS" >&5
11875 ac_save_CPPFLAGS=$CPPFLAGS
11876 CPPFLAGS="$CPPFLAGS $LCMS2_CFLAGS"
11877 for ac_header in lcms2.h
11878 do :
11879 ac_fn_c_check_header_mongrel "$LINENO" "lcms2.h" "ac_cv_header_lcms2_h" "$ac_includes_default"
11880 if test "x$ac_cv_header_lcms2_h" = xyes; then :
11881 cat >>confdefs.h <<_ACEOF
11882 #define HAVE_LCMS2_H 1
11883 _ACEOF
11887 done
11889 if test "$ac_cv_header_lcms2_h" = "yes"
11890 then
11891 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for cmsOpenProfileFromFile in -llcms2" >&5
11892 $as_echo_n "checking for cmsOpenProfileFromFile in -llcms2... " >&6; }
11893 if ${ac_cv_lib_lcms2_cmsOpenProfileFromFile+:} false; then :
11894 $as_echo_n "(cached) " >&6
11895 else
11896 ac_check_lib_save_LIBS=$LIBS
11897 LIBS="-llcms2 $LCMS2_LIBS $LIBS"
11898 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11899 /* end confdefs.h. */
11901 /* Override any GCC internal prototype to avoid an error.
11902 Use char because int might match the return type of a GCC
11903 builtin and then its argument prototype would still apply. */
11904 #ifdef __cplusplus
11905 extern "C"
11906 #endif
11907 char cmsOpenProfileFromFile ();
11909 main ()
11911 return cmsOpenProfileFromFile ();
11913 return 0;
11915 _ACEOF
11916 if ac_fn_c_try_link "$LINENO"; then :
11917 ac_cv_lib_lcms2_cmsOpenProfileFromFile=yes
11918 else
11919 ac_cv_lib_lcms2_cmsOpenProfileFromFile=no
11921 rm -f core conftest.err conftest.$ac_objext \
11922 conftest$ac_exeext conftest.$ac_ext
11923 LIBS=$ac_check_lib_save_LIBS
11925 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_lcms2_cmsOpenProfileFromFile" >&5
11926 $as_echo "$ac_cv_lib_lcms2_cmsOpenProfileFromFile" >&6; }
11927 if test "x$ac_cv_lib_lcms2_cmsOpenProfileFromFile" = xyes; then :
11929 $as_echo "#define HAVE_LCMS2 1" >>confdefs.h
11931 else
11932 LCMS2_LIBS=""
11935 else
11936 LCMS2_CFLAGS=""
11937 LCMS2_LIBS=""
11939 CPPFLAGS=$ac_save_CPPFLAGS
11940 test -z "$LCMS2_CFLAGS" || LCMS2_CFLAGS=`echo " $LCMS2_CFLAGS" | sed 's/ -I\([^/]\)/ -I\$(top_builddir)\/\1/g'`
11941 test -z "$LCMS2_LIBS" || LCMS2_LIBS=`echo " $LCMS2_LIBS" | sed 's/ -L\([^/]\)/ -L\$(top_builddir)\/\1/g'`
11944 if test "$ac_cv_lib_lcms2_cmsOpenProfileFromFile" != "yes"; then :
11945 case "x$with_cms" in
11946 x) as_fn_append wine_notices "|liblcms2 ${notice_platform}development files not found, Color Management won't be supported." ;;
11947 xno) ;;
11948 *) as_fn_error $? "liblcms2 ${notice_platform}development files not found, Color Management won't be supported.
11949 This is an error since --with-cms was requested." "$LINENO" 5 ;;
11950 esac
11953 if test "x$with_freetype" != "xno"
11954 then
11955 if ${FREETYPE_CFLAGS:+false} :; then :
11956 if ${PKG_CONFIG+:} false; then :
11957 FREETYPE_CFLAGS=`$PKG_CONFIG --cflags freetype2 2>/dev/null`
11960 test "$cross_compiling" = yes || FREETYPE_CFLAGS=${FREETYPE_CFLAGS:-`(freetype-config --cflags || freetype2-config --cflags) 2>/dev/null`}
11961 if ${FREETYPE_LIBS:+false} :; then :
11962 if ${PKG_CONFIG+:} false; then :
11963 FREETYPE_LIBS=`$PKG_CONFIG --libs freetype2 2>/dev/null`
11966 test "$cross_compiling" = yes || FREETYPE_LIBS=${FREETYPE_LIBS:-`(freetype-config --libs || freetype2-config --libs) 2>/dev/null`}
11967 FREETYPE_LIBS=${FREETYPE_LIBS:-"-lfreetype"}
11968 $as_echo "$as_me:${as_lineno-$LINENO}: freetype2 cflags: $FREETYPE_CFLAGS" >&5
11969 $as_echo "$as_me:${as_lineno-$LINENO}: freetype2 libs: $FREETYPE_LIBS" >&5
11970 ac_save_CPPFLAGS=$CPPFLAGS
11971 CPPFLAGS="$CPPFLAGS $FREETYPE_CFLAGS"
11972 for ac_header in ft2build.h
11973 do :
11974 ac_fn_c_check_header_mongrel "$LINENO" "ft2build.h" "ac_cv_header_ft2build_h" "$ac_includes_default"
11975 if test "x$ac_cv_header_ft2build_h" = xyes; then :
11976 cat >>confdefs.h <<_ACEOF
11977 #define HAVE_FT2BUILD_H 1
11978 _ACEOF
11982 done
11984 if test "$ac_cv_header_ft2build_h" = "yes"
11985 then
11986 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lfreetype" >&5
11987 $as_echo_n "checking for -lfreetype... " >&6; }
11988 if ${ac_cv_lib_soname_freetype+:} false; then :
11989 $as_echo_n "(cached) " >&6
11990 else
11991 ac_check_soname_save_LIBS=$LIBS
11992 LIBS="-lfreetype $FREETYPE_LIBS $LIBS"
11993 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11994 /* end confdefs.h. */
11996 /* Override any GCC internal prototype to avoid an error.
11997 Use char because int might match the return type of a GCC
11998 builtin and then its argument prototype would still apply. */
11999 #ifdef __cplusplus
12000 extern "C"
12001 #endif
12002 char FT_Init_FreeType ();
12004 main ()
12006 return FT_Init_FreeType ();
12008 return 0;
12010 _ACEOF
12011 if ac_fn_c_try_link "$LINENO"; then :
12012 case "$LIBEXT" in
12013 dll) ac_cv_lib_soname_freetype=`$ac_cv_path_LDD conftest.exe | grep "freetype" | sed -e "s/dll.*/dll/"';2,$d'` ;;
12014 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'` ;;
12015 *) ac_cv_lib_soname_freetype=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libfreetype\\.$LIBEXT" | sed -e "s/^.*\\[\\(libfreetype\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
12016 if ${ac_cv_lib_soname_freetype:+false} :; then :
12017 ac_cv_lib_soname_freetype=`$LDD conftest$ac_exeext | grep "libfreetype\\.$LIBEXT" | sed -e "s/^.*\(libfreetype\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
12018 fi ;;
12019 esac
12021 rm -f core conftest.err conftest.$ac_objext \
12022 conftest$ac_exeext conftest.$ac_ext
12023 LIBS=$ac_check_soname_save_LIBS
12025 if ${ac_cv_lib_soname_freetype:+false} :; then :
12026 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
12027 $as_echo "not found" >&6; }
12028 FREETYPE_LIBS=""
12029 else
12030 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_freetype" >&5
12031 $as_echo "$ac_cv_lib_soname_freetype" >&6; }
12033 cat >>confdefs.h <<_ACEOF
12034 #define SONAME_LIBFREETYPE "$ac_cv_lib_soname_freetype"
12035 _ACEOF
12038 $as_echo "#define HAVE_FREETYPE 1" >>confdefs.h
12040 ac_fn_c_check_type "$LINENO" "FT_TrueTypeEngineType" "ac_cv_type_FT_TrueTypeEngineType" "#include <ft2build.h>
12041 #include FT_MODULE_H
12043 if test "x$ac_cv_type_FT_TrueTypeEngineType" = xyes; then :
12045 cat >>confdefs.h <<_ACEOF
12046 #define HAVE_FT_TRUETYPEENGINETYPE 1
12047 _ACEOF
12053 else
12054 FREETYPE_CFLAGS=""
12055 FREETYPE_LIBS=""
12057 CPPFLAGS=$ac_save_CPPFLAGS
12058 test -z "$FREETYPE_CFLAGS" || FREETYPE_CFLAGS=`echo " $FREETYPE_CFLAGS" | sed 's/ -I\([^/]\)/ -I\$(top_builddir)\/\1/g'`
12059 test -z "$FREETYPE_LIBS" || FREETYPE_LIBS=`echo " $FREETYPE_LIBS" | sed 's/ -L\([^/]\)/ -L\$(top_builddir)\/\1/g'`
12062 if test "x$ac_cv_lib_soname_freetype" = x; then :
12063 case "x$with_freetype" in
12064 xno) ;;
12065 *) as_fn_error $? "FreeType ${notice_platform}development files not found. Fonts will not be built.
12066 Use the --without-freetype option if you really want this." "$LINENO" 5 ;;
12067 esac
12069 test "x$ac_cv_lib_soname_freetype" = x && enable_fonts=${enable_fonts:-no}
12071 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for parport header/ppdev.h" >&5
12072 $as_echo_n "checking for parport header/ppdev.h... " >&6; }
12073 if ${ac_cv_c_ppdev+:} false; then :
12074 $as_echo_n "(cached) " >&6
12075 else
12076 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12077 /* end confdefs.h. */
12078 #ifdef HAVE_SYS_IOCTL_H
12079 # include <sys/ioctl.h>
12080 #endif
12081 #include <linux/ppdev.h>
12083 main ()
12085 ioctl (1,PPCLAIM,0)
12087 return 0;
12089 _ACEOF
12090 if ac_fn_c_try_compile "$LINENO"; then :
12091 ac_cv_c_ppdev="yes"
12092 else
12093 ac_cv_c_ppdev="no"
12095 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
12097 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_ppdev" >&5
12098 $as_echo "$ac_cv_c_ppdev" >&6; }
12099 if test "$ac_cv_c_ppdev" = "yes"
12100 then
12102 $as_echo "#define HAVE_PPDEV 1" >>confdefs.h
12106 ac_wine_check_funcs_save_LIBS="$LIBS"
12107 LIBS="$LIBS $PTHREAD_LIBS"
12108 for ac_func in \
12109 pthread_attr_get_np \
12110 pthread_getattr_np \
12111 pthread_getthreadid_np \
12112 pthread_get_stackaddr_np \
12113 pthread_get_stacksize_np
12114 do :
12115 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
12116 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
12117 if eval test \"x\$"$as_ac_var"\" = x"yes"; then :
12118 cat >>confdefs.h <<_ACEOF
12119 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
12120 _ACEOF
12123 done
12125 LIBS="$ac_wine_check_funcs_save_LIBS"
12127 if test "$ac_cv_header_zlib_h" = "yes"
12128 then
12129 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for inflate in -lz" >&5
12130 $as_echo_n "checking for inflate in -lz... " >&6; }
12131 if ${ac_cv_lib_z_inflate+:} false; then :
12132 $as_echo_n "(cached) " >&6
12133 else
12134 ac_check_lib_save_LIBS=$LIBS
12135 LIBS="-lz $LIBS"
12136 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12137 /* end confdefs.h. */
12139 /* Override any GCC internal prototype to avoid an error.
12140 Use char because int might match the return type of a GCC
12141 builtin and then its argument prototype would still apply. */
12142 #ifdef __cplusplus
12143 extern "C"
12144 #endif
12145 char inflate ();
12147 main ()
12149 return inflate ();
12151 return 0;
12153 _ACEOF
12154 if ac_fn_c_try_link "$LINENO"; then :
12155 ac_cv_lib_z_inflate=yes
12156 else
12157 ac_cv_lib_z_inflate=no
12159 rm -f core conftest.err conftest.$ac_objext \
12160 conftest$ac_exeext conftest.$ac_ext
12161 LIBS=$ac_check_lib_save_LIBS
12163 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_z_inflate" >&5
12164 $as_echo "$ac_cv_lib_z_inflate" >&6; }
12165 if test "x$ac_cv_lib_z_inflate" = xyes; then :
12167 $as_echo "#define HAVE_ZLIB 1" >>confdefs.h
12169 Z_LIBS="-lz"
12174 if test "x$Z_LIBS" = "x"; then :
12175 case "x$with_zlib" in
12176 x) as_fn_append wine_notices "|libz ${notice_platform}development files not found, data compression won't be supported." ;;
12177 xno) ;;
12178 *) as_fn_error $? "libz ${notice_platform}development files not found, data compression won't be supported.
12179 This is an error since --with-zlib was requested." "$LINENO" 5 ;;
12180 esac
12183 if test "x$enable_tools" != xno
12184 then
12185 if test "$ac_cv_header_gettext_po_h" = "yes"
12186 then
12187 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for po_message_msgctxt in -lgettextpo" >&5
12188 $as_echo_n "checking for po_message_msgctxt in -lgettextpo... " >&6; }
12189 if ${ac_cv_lib_gettextpo_po_message_msgctxt+:} false; then :
12190 $as_echo_n "(cached) " >&6
12191 else
12192 ac_check_lib_save_LIBS=$LIBS
12193 LIBS="-lgettextpo $LIBS"
12194 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12195 /* end confdefs.h. */
12197 /* Override any GCC internal prototype to avoid an error.
12198 Use char because int might match the return type of a GCC
12199 builtin and then its argument prototype would still apply. */
12200 #ifdef __cplusplus
12201 extern "C"
12202 #endif
12203 char po_message_msgctxt ();
12205 main ()
12207 return po_message_msgctxt ();
12209 return 0;
12211 _ACEOF
12212 if ac_fn_c_try_link "$LINENO"; then :
12213 ac_cv_lib_gettextpo_po_message_msgctxt=yes
12214 else
12215 ac_cv_lib_gettextpo_po_message_msgctxt=no
12217 rm -f core conftest.err conftest.$ac_objext \
12218 conftest$ac_exeext conftest.$ac_ext
12219 LIBS=$ac_check_lib_save_LIBS
12221 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_gettextpo_po_message_msgctxt" >&5
12222 $as_echo "$ac_cv_lib_gettextpo_po_message_msgctxt" >&6; }
12223 if test "x$ac_cv_lib_gettextpo_po_message_msgctxt" = xyes; then :
12225 $as_echo "#define HAVE_LIBGETTEXTPO 1" >>confdefs.h
12227 GETTEXTPO_LIBS="-lgettextpo"
12232 test "x$with_gettextpo" != xyes || if test "x$GETTEXTPO_LIBS" = "x"; then :
12233 case "x$with_gettextpo" in
12234 x) as_fn_append wine_notices "|GetText ${notice_platform}development files not found (or too old), po files can't be rebuilt." ;;
12235 xno) ;;
12236 *) as_fn_error $? "GetText ${notice_platform}development files not found (or too old), po files can't be rebuilt.
12237 This is an error since --with-gettextpo was requested." "$LINENO" 5 ;;
12238 esac
12242 if test "x$with_gstreamer" != "xno"
12243 then
12244 if ${GSTREAMER_CFLAGS:+false} :; then :
12245 if ${PKG_CONFIG+:} false; then :
12246 GSTREAMER_CFLAGS=`$PKG_CONFIG --cflags gstreamer-app-0.10 2>/dev/null`
12250 if ${GSTREAMER_LIBS:+false} :; then :
12251 if ${PKG_CONFIG+:} false; then :
12252 GSTREAMER_LIBS=`$PKG_CONFIG --libs gstreamer-app-0.10 2>/dev/null`
12257 $as_echo "$as_me:${as_lineno-$LINENO}: gstreamer-app-0.10 cflags: $GSTREAMER_CFLAGS" >&5
12258 $as_echo "$as_me:${as_lineno-$LINENO}: gstreamer-app-0.10 libs: $GSTREAMER_LIBS" >&5
12259 ac_save_CPPFLAGS=$CPPFLAGS
12260 CPPFLAGS="$CPPFLAGS $GSTREAMER_CFLAGS"
12261 ac_gst_incl=""
12262 for i in $GSTREAMER_CFLAGS
12264 case "$i" in
12265 -I*) ac_gst_incl="$ac_gst_incl $i";;
12266 esac
12267 done
12268 GSTREAMER_CFLAGS=$ac_gst_incl
12269 CPPFLAGS="$ac_save_CPPFLAGS $GSTREAMER_CFLAGS"
12270 ac_fn_c_check_header_mongrel "$LINENO" "gst/gstpad.h" "ac_cv_header_gst_gstpad_h" "$ac_includes_default"
12271 if test "x$ac_cv_header_gst_gstpad_h" = xyes; then :
12272 ac_fn_c_check_header_mongrel "$LINENO" "gst/app/gstappsink.h" "ac_cv_header_gst_app_gstappsink_h" "$ac_includes_default"
12273 if test "x$ac_cv_header_gst_app_gstappsink_h" = xyes; then :
12274 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether gint64 defined by gst/app/gstappsink.h is indeed 64-bit" >&5
12275 $as_echo_n "checking whether gint64 defined by gst/app/gstappsink.h is indeed 64-bit... " >&6; }
12276 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12277 /* end confdefs.h. */
12278 #include <gst/app/gstappsink.h>
12280 main ()
12282 static int a[sizeof(gint64) > 4 ? 1 : -1]; if (a[0]) return 0;
12284 return 0;
12286 _ACEOF
12287 if ac_fn_c_try_compile "$LINENO"; then :
12288 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
12289 $as_echo "yes" >&6; }
12290 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for gst_pad_get_caps_reffed in -lgstreamer-0.10" >&5
12291 $as_echo_n "checking for gst_pad_get_caps_reffed in -lgstreamer-0.10... " >&6; }
12292 if ${ac_cv_lib_gstreamer_0_10_gst_pad_get_caps_reffed+:} false; then :
12293 $as_echo_n "(cached) " >&6
12294 else
12295 ac_check_lib_save_LIBS=$LIBS
12296 LIBS="-lgstreamer-0.10 $LIBS"
12297 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12298 /* end confdefs.h. */
12300 /* Override any GCC internal prototype to avoid an error.
12301 Use char because int might match the return type of a GCC
12302 builtin and then its argument prototype would still apply. */
12303 #ifdef __cplusplus
12304 extern "C"
12305 #endif
12306 char gst_pad_get_caps_reffed ();
12308 main ()
12310 return gst_pad_get_caps_reffed ();
12312 return 0;
12314 _ACEOF
12315 if ac_fn_c_try_link "$LINENO"; then :
12316 ac_cv_lib_gstreamer_0_10_gst_pad_get_caps_reffed=yes
12317 else
12318 ac_cv_lib_gstreamer_0_10_gst_pad_get_caps_reffed=no
12320 rm -f core conftest.err conftest.$ac_objext \
12321 conftest$ac_exeext conftest.$ac_ext
12322 LIBS=$ac_check_lib_save_LIBS
12324 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_gstreamer_0_10_gst_pad_get_caps_reffed" >&5
12325 $as_echo "$ac_cv_lib_gstreamer_0_10_gst_pad_get_caps_reffed" >&6; }
12326 if test "x$ac_cv_lib_gstreamer_0_10_gst_pad_get_caps_reffed" = xyes; then :
12327 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for gst_app_buffer_new in -lgstapp-0.10" >&5
12328 $as_echo_n "checking for gst_app_buffer_new in -lgstapp-0.10... " >&6; }
12329 if ${ac_cv_lib_gstapp_0_10_gst_app_buffer_new+:} false; then :
12330 $as_echo_n "(cached) " >&6
12331 else
12332 ac_check_lib_save_LIBS=$LIBS
12333 LIBS="-lgstapp-0.10 $GSTREAMER_LIBS $LIBS"
12334 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12335 /* end confdefs.h. */
12337 /* Override any GCC internal prototype to avoid an error.
12338 Use char because int might match the return type of a GCC
12339 builtin and then its argument prototype would still apply. */
12340 #ifdef __cplusplus
12341 extern "C"
12342 #endif
12343 char gst_app_buffer_new ();
12345 main ()
12347 return gst_app_buffer_new ();
12349 return 0;
12351 _ACEOF
12352 if ac_fn_c_try_link "$LINENO"; then :
12353 ac_cv_lib_gstapp_0_10_gst_app_buffer_new=yes
12354 else
12355 ac_cv_lib_gstapp_0_10_gst_app_buffer_new=no
12357 rm -f core conftest.err conftest.$ac_objext \
12358 conftest$ac_exeext conftest.$ac_ext
12359 LIBS=$ac_check_lib_save_LIBS
12361 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_gstapp_0_10_gst_app_buffer_new" >&5
12362 $as_echo "$ac_cv_lib_gstapp_0_10_gst_app_buffer_new" >&6; }
12363 if test "x$ac_cv_lib_gstapp_0_10_gst_app_buffer_new" = xyes; then :
12369 else
12370 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
12371 $as_echo "no" >&6; }
12373 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
12377 else
12378 GSTREAMER_CFLAGS=""
12382 CPPFLAGS=$ac_save_CPPFLAGS
12383 test -z "$GSTREAMER_CFLAGS" || GSTREAMER_CFLAGS=`echo " $GSTREAMER_CFLAGS" | sed 's/ -I\([^/]\)/ -I\$(top_builddir)\/\1/g'`
12384 test -z "$GSTREAMER_LIBS" || GSTREAMER_LIBS=`echo " $GSTREAMER_LIBS" | sed 's/ -L\([^/]\)/ -L\$(top_builddir)\/\1/g'`
12387 if test "x$ac_cv_lib_gstapp_0_10_gst_app_buffer_new" != xyes -a "x$ac_cv_header_QuickTime_ImageCompression_h" != xyes; then :
12388 case "x$with_gstreamer" in
12389 x) as_fn_append wine_notices "|gstreamer-0.10 base plugins ${notice_platform}development files not found, gstreamer support disabled" ;;
12390 xno) ;;
12391 *) as_fn_error $? "gstreamer-0.10 base plugins ${notice_platform}development files not found, gstreamer support disabled
12392 This is an error since --with-gstreamer was requested." "$LINENO" 5 ;;
12393 esac
12395 test "x$ac_cv_lib_gstapp_0_10_gst_app_buffer_new" = xyes || enable_winegstreamer=${enable_winegstreamer:-no}
12397 ALSA_LIBS=""
12399 if test "$ac_cv_header_sys_asoundlib_h" = "yes" -o "$ac_cv_header_alsa_asoundlib_h" = "yes"
12400 then
12401 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for snd_pcm_hw_params_get_access_mask in -lasound" >&5
12402 $as_echo_n "checking for snd_pcm_hw_params_get_access_mask in -lasound... " >&6; }
12403 if ${ac_cv_lib_asound_snd_pcm_hw_params_get_access_mask+:} false; then :
12404 $as_echo_n "(cached) " >&6
12405 else
12406 ac_check_lib_save_LIBS=$LIBS
12407 LIBS="-lasound $LIBS"
12408 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12409 /* end confdefs.h. */
12411 /* Override any GCC internal prototype to avoid an error.
12412 Use char because int might match the return type of a GCC
12413 builtin and then its argument prototype would still apply. */
12414 #ifdef __cplusplus
12415 extern "C"
12416 #endif
12417 char snd_pcm_hw_params_get_access_mask ();
12419 main ()
12421 return snd_pcm_hw_params_get_access_mask ();
12423 return 0;
12425 _ACEOF
12426 if ac_fn_c_try_link "$LINENO"; then :
12427 ac_cv_lib_asound_snd_pcm_hw_params_get_access_mask=yes
12428 else
12429 ac_cv_lib_asound_snd_pcm_hw_params_get_access_mask=no
12431 rm -f core conftest.err conftest.$ac_objext \
12432 conftest$ac_exeext conftest.$ac_ext
12433 LIBS=$ac_check_lib_save_LIBS
12435 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_asound_snd_pcm_hw_params_get_access_mask" >&5
12436 $as_echo "$ac_cv_lib_asound_snd_pcm_hw_params_get_access_mask" >&6; }
12437 if test "x$ac_cv_lib_asound_snd_pcm_hw_params_get_access_mask" = xyes; then :
12438 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12439 /* end confdefs.h. */
12440 #ifdef HAVE_ALSA_ASOUNDLIB_H
12441 #include <alsa/asoundlib.h>
12442 #elif defined(HAVE_SYS_ASOUNDLIB_H)
12443 #include <sys/asoundlib.h>
12444 #endif
12446 main ()
12448 snd_pcm_hw_params_get_access_mask(NULL, NULL)
12450 return 0;
12452 _ACEOF
12453 if ac_fn_c_try_compile "$LINENO"; then :
12454 ALSA_LIBS="-lasound"
12456 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
12461 if test "x$with_oss" != xno
12462 then
12463 ac_save_CPPFLAGS="$CPPFLAGS"
12464 if test -f /etc/oss.conf
12465 then
12466 . /etc/oss.conf
12468 ac_oss_incl="-I${OSSLIBDIR:-/usr/lib/oss}/include"
12469 CPPFLAGS="$CPPFLAGS $ac_oss_incl"
12470 ac_fn_c_check_header_mongrel "$LINENO" "sys/soundcard.h" "ac_cv_header_sys_soundcard_h" "$ac_includes_default"
12471 if test "x$ac_cv_header_sys_soundcard_h" = xyes; then :
12472 ac_fn_c_check_member "$LINENO" "oss_sysinfo" "numaudioengines" "ac_cv_member_oss_sysinfo_numaudioengines" "#include <sys/soundcard.h>
12474 if test "x$ac_cv_member_oss_sysinfo_numaudioengines" = xyes; then :
12476 cat >>confdefs.h <<_ACEOF
12477 #define HAVE_OSS_SYSINFO_NUMAUDIOENGINES 1
12478 _ACEOF
12480 OSS4_CFLAGS="$ac_oss_incl"
12487 CPPFLAGS="$ac_save_CPPFLAGS"
12488 if test "x$ac_cv_member_oss_sysinfo_numaudioengines" != xyes
12489 then
12490 as_fn_append wine_notices "|OSS sound system found but too old (OSSv4 needed), OSS won't be supported."
12494 if test "x$with_capi" != "xno"
12495 then
12496 if ${CAPI20_CFLAGS:+false} :; then :
12497 if ${PKG_CONFIG+:} false; then :
12498 CAPI20_CFLAGS=`$PKG_CONFIG --cflags capi20 2>/dev/null`
12502 if ${CAPI20_LIBS:+false} :; then :
12503 if ${PKG_CONFIG+:} false; then :
12504 CAPI20_LIBS=`$PKG_CONFIG --libs capi20 2>/dev/null`
12509 $as_echo "$as_me:${as_lineno-$LINENO}: capi20 cflags: $CAPI20_CFLAGS" >&5
12510 $as_echo "$as_me:${as_lineno-$LINENO}: capi20 libs: $CAPI20_LIBS" >&5
12511 ac_save_CPPFLAGS=$CPPFLAGS
12512 CPPFLAGS="$CPPFLAGS $CAPI20_CFLAGS"
12513 for ac_header in capi20.h linux/capi.h
12514 do :
12515 as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
12516 ac_fn_c_check_header_compile "$LINENO" "$ac_header" "$as_ac_Header" "#define __user
12518 if eval test \"x\$"$as_ac_Header"\" = x"yes"; then :
12519 cat >>confdefs.h <<_ACEOF
12520 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
12521 _ACEOF
12525 done
12527 if test "$ac_cv_header_capi20_h" = "yes" -a "$ac_cv_header_linux_capi_h" = "yes"
12528 then
12529 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lcapi20" >&5
12530 $as_echo_n "checking for -lcapi20... " >&6; }
12531 if ${ac_cv_lib_soname_capi20+:} false; then :
12532 $as_echo_n "(cached) " >&6
12533 else
12534 ac_check_soname_save_LIBS=$LIBS
12535 LIBS="-lcapi20 $CAPI20_LIBS $LIBS"
12536 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12537 /* end confdefs.h. */
12539 /* Override any GCC internal prototype to avoid an error.
12540 Use char because int might match the return type of a GCC
12541 builtin and then its argument prototype would still apply. */
12542 #ifdef __cplusplus
12543 extern "C"
12544 #endif
12545 char capi20_register ();
12547 main ()
12549 return capi20_register ();
12551 return 0;
12553 _ACEOF
12554 if ac_fn_c_try_link "$LINENO"; then :
12555 case "$LIBEXT" in
12556 dll) ac_cv_lib_soname_capi20=`$ac_cv_path_LDD conftest.exe | grep "capi20" | sed -e "s/dll.*/dll/"';2,$d'` ;;
12557 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'` ;;
12558 *) ac_cv_lib_soname_capi20=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libcapi20\\.$LIBEXT" | sed -e "s/^.*\\[\\(libcapi20\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
12559 if ${ac_cv_lib_soname_capi20:+false} :; then :
12560 ac_cv_lib_soname_capi20=`$LDD conftest$ac_exeext | grep "libcapi20\\.$LIBEXT" | sed -e "s/^.*\(libcapi20\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
12561 fi ;;
12562 esac
12564 rm -f core conftest.err conftest.$ac_objext \
12565 conftest$ac_exeext conftest.$ac_ext
12566 LIBS=$ac_check_soname_save_LIBS
12568 if ${ac_cv_lib_soname_capi20:+false} :; then :
12569 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
12570 $as_echo "not found" >&6; }
12572 else
12573 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_capi20" >&5
12574 $as_echo "$ac_cv_lib_soname_capi20" >&6; }
12576 cat >>confdefs.h <<_ACEOF
12577 #define SONAME_LIBCAPI20 "$ac_cv_lib_soname_capi20"
12578 _ACEOF
12583 CPPFLAGS=$ac_save_CPPFLAGS
12584 test -z "$CAPI20_CFLAGS" || CAPI20_CFLAGS=`echo " $CAPI20_CFLAGS" | sed 's/ -I\([^/]\)/ -I\$(top_builddir)\/\1/g'`
12585 test -z "$CAPI20_LIBS" || CAPI20_LIBS=`echo " $CAPI20_LIBS" | sed 's/ -L\([^/]\)/ -L\$(top_builddir)\/\1/g'`
12588 if test "x$ac_cv_lib_soname_capi20" = "x"; then :
12589 case "x$with_capi" in
12590 x) as_fn_append wine_notices "|libcapi20 ${notice_platform}development files not found, ISDN won't be supported." ;;
12591 xno) ;;
12592 *) as_fn_error $? "libcapi20 ${notice_platform}development files not found, ISDN won't be supported.
12593 This is an error since --with-capi was requested." "$LINENO" 5 ;;
12594 esac
12597 CUPS_CFLAGS=""
12599 if test "x$with_cups" != "xno"
12600 then
12601 ac_save_CPPFLAGS="$CPPFLAGS"
12602 ac_cups_cflags=`cups-config --cflags 2>/dev/null`
12603 ac_cups_libs=`cups-config --ldflags 2>/dev/null`
12604 CPPFLAGS="$CPPFLAGS $ac_cups_cflags"
12605 for ac_header in cups/cups.h
12606 do :
12607 ac_fn_c_check_header_mongrel "$LINENO" "cups/cups.h" "ac_cv_header_cups_cups_h" "$ac_includes_default"
12608 if test "x$ac_cv_header_cups_cups_h" = xyes; then :
12609 cat >>confdefs.h <<_ACEOF
12610 #define HAVE_CUPS_CUPS_H 1
12611 _ACEOF
12612 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lcups" >&5
12613 $as_echo_n "checking for -lcups... " >&6; }
12614 if ${ac_cv_lib_soname_cups+:} false; then :
12615 $as_echo_n "(cached) " >&6
12616 else
12617 ac_check_soname_save_LIBS=$LIBS
12618 LIBS="-lcups $ac_cups_libs $LIBS"
12619 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12620 /* end confdefs.h. */
12622 /* Override any GCC internal prototype to avoid an error.
12623 Use char because int might match the return type of a GCC
12624 builtin and then its argument prototype would still apply. */
12625 #ifdef __cplusplus
12626 extern "C"
12627 #endif
12628 char cupsGetDefault ();
12630 main ()
12632 return cupsGetDefault ();
12634 return 0;
12636 _ACEOF
12637 if ac_fn_c_try_link "$LINENO"; then :
12638 case "$LIBEXT" in
12639 dll) ac_cv_lib_soname_cups=`$ac_cv_path_LDD conftest.exe | grep "cups" | sed -e "s/dll.*/dll/"';2,$d'` ;;
12640 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'` ;;
12641 *) ac_cv_lib_soname_cups=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libcups\\.$LIBEXT" | sed -e "s/^.*\\[\\(libcups\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
12642 if ${ac_cv_lib_soname_cups:+false} :; then :
12643 ac_cv_lib_soname_cups=`$LDD conftest$ac_exeext | grep "libcups\\.$LIBEXT" | sed -e "s/^.*\(libcups\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
12644 fi ;;
12645 esac
12647 rm -f core conftest.err conftest.$ac_objext \
12648 conftest$ac_exeext conftest.$ac_ext
12649 LIBS=$ac_check_soname_save_LIBS
12651 if ${ac_cv_lib_soname_cups:+false} :; then :
12652 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
12653 $as_echo "not found" >&6; }
12655 else
12656 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_cups" >&5
12657 $as_echo "$ac_cv_lib_soname_cups" >&6; }
12659 cat >>confdefs.h <<_ACEOF
12660 #define SONAME_LIBCUPS "$ac_cv_lib_soname_cups"
12661 _ACEOF
12663 CUPS_CFLAGS="$ac_cups_cflags"
12667 done
12669 CPPFLAGS="$ac_save_CPPFLAGS"
12671 if test "x$ac_cv_lib_soname_cups" = "x"; then :
12672 case "x$with_cups" in
12673 x) as_fn_append wine_notices "|libcups ${notice_platform}development files not found, CUPS won't be supported." ;;
12674 xno) ;;
12675 *) as_fn_error $? "libcups ${notice_platform}development files not found, CUPS won't be supported.
12676 This is an error since --with-cups was requested." "$LINENO" 5 ;;
12677 esac
12680 if test "x$with_fontconfig" != "xno"
12681 then
12682 if ${FONTCONFIG_CFLAGS:+false} :; then :
12683 if ${PKG_CONFIG+:} false; then :
12684 FONTCONFIG_CFLAGS=`$PKG_CONFIG --cflags fontconfig 2>/dev/null`
12687 test "$cross_compiling" = yes || FONTCONFIG_CFLAGS=${FONTCONFIG_CFLAGS:-$X_CFLAGS}
12688 if ${FONTCONFIG_LIBS:+false} :; then :
12689 if ${PKG_CONFIG+:} false; then :
12690 FONTCONFIG_LIBS=`$PKG_CONFIG --libs fontconfig 2>/dev/null`
12693 test "$cross_compiling" = yes || FONTCONFIG_LIBS=${FONTCONFIG_LIBS:-$X_LIBS}
12695 $as_echo "$as_me:${as_lineno-$LINENO}: fontconfig cflags: $FONTCONFIG_CFLAGS" >&5
12696 $as_echo "$as_me:${as_lineno-$LINENO}: fontconfig libs: $FONTCONFIG_LIBS" >&5
12697 ac_save_CPPFLAGS=$CPPFLAGS
12698 CPPFLAGS="$CPPFLAGS $FONTCONFIG_CFLAGS"
12699 for ac_header in fontconfig/fontconfig.h
12700 do :
12701 ac_fn_c_check_header_mongrel "$LINENO" "fontconfig/fontconfig.h" "ac_cv_header_fontconfig_fontconfig_h" "$ac_includes_default"
12702 if test "x$ac_cv_header_fontconfig_fontconfig_h" = xyes; then :
12703 cat >>confdefs.h <<_ACEOF
12704 #define HAVE_FONTCONFIG_FONTCONFIG_H 1
12705 _ACEOF
12709 done
12711 if test "$ac_cv_header_fontconfig_fontconfig_h" = "yes"
12712 then
12713 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lfontconfig" >&5
12714 $as_echo_n "checking for -lfontconfig... " >&6; }
12715 if ${ac_cv_lib_soname_fontconfig+:} false; then :
12716 $as_echo_n "(cached) " >&6
12717 else
12718 ac_check_soname_save_LIBS=$LIBS
12719 LIBS="-lfontconfig $FONTCONFIG_LIBS $LIBS"
12720 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12721 /* end confdefs.h. */
12723 /* Override any GCC internal prototype to avoid an error.
12724 Use char because int might match the return type of a GCC
12725 builtin and then its argument prototype would still apply. */
12726 #ifdef __cplusplus
12727 extern "C"
12728 #endif
12729 char FcInit ();
12731 main ()
12733 return FcInit ();
12735 return 0;
12737 _ACEOF
12738 if ac_fn_c_try_link "$LINENO"; then :
12739 case "$LIBEXT" in
12740 dll) ac_cv_lib_soname_fontconfig=`$ac_cv_path_LDD conftest.exe | grep "fontconfig" | sed -e "s/dll.*/dll/"';2,$d'` ;;
12741 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'` ;;
12742 *) ac_cv_lib_soname_fontconfig=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libfontconfig\\.$LIBEXT" | sed -e "s/^.*\\[\\(libfontconfig\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
12743 if ${ac_cv_lib_soname_fontconfig:+false} :; then :
12744 ac_cv_lib_soname_fontconfig=`$LDD conftest$ac_exeext | grep "libfontconfig\\.$LIBEXT" | sed -e "s/^.*\(libfontconfig\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
12745 fi ;;
12746 esac
12748 rm -f core conftest.err conftest.$ac_objext \
12749 conftest$ac_exeext conftest.$ac_ext
12750 LIBS=$ac_check_soname_save_LIBS
12752 if ${ac_cv_lib_soname_fontconfig:+false} :; then :
12753 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
12754 $as_echo "not found" >&6; }
12755 FONTCONFIG_CFLAGS=""
12756 else
12757 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_fontconfig" >&5
12758 $as_echo "$ac_cv_lib_soname_fontconfig" >&6; }
12760 cat >>confdefs.h <<_ACEOF
12761 #define SONAME_LIBFONTCONFIG "$ac_cv_lib_soname_fontconfig"
12762 _ACEOF
12766 else
12767 FONTCONFIG_CFLAGS=""
12769 CPPFLAGS=$ac_save_CPPFLAGS
12770 test -z "$FONTCONFIG_CFLAGS" || FONTCONFIG_CFLAGS=`echo " $FONTCONFIG_CFLAGS" | sed 's/ -I\([^/]\)/ -I\$(top_builddir)\/\1/g'`
12771 test -z "$FONTCONFIG_LIBS" || FONTCONFIG_LIBS=`echo " $FONTCONFIG_LIBS" | sed 's/ -L\([^/]\)/ -L\$(top_builddir)\/\1/g'`
12774 if test "x$ac_cv_lib_soname_fontconfig" = "x"; then :
12775 case "x$with_fontconfig" in
12776 x) as_fn_append wine_notices "|fontconfig ${notice_platform}development files not found, fontconfig won't be supported." ;;
12777 xno) ;;
12778 *) as_fn_error $? "fontconfig ${notice_platform}development files not found, fontconfig won't be supported.
12779 This is an error since --with-fontconfig was requested." "$LINENO" 5 ;;
12780 esac
12783 if test "$ac_cv_header_gsm_h" = "yes" -o "$ac_cv_header_gsm_gsm_h" = "yes"
12784 then
12785 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lgsm" >&5
12786 $as_echo_n "checking for -lgsm... " >&6; }
12787 if ${ac_cv_lib_soname_gsm+:} false; then :
12788 $as_echo_n "(cached) " >&6
12789 else
12790 ac_check_soname_save_LIBS=$LIBS
12791 LIBS="-lgsm $LIBS"
12792 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12793 /* end confdefs.h. */
12795 /* Override any GCC internal prototype to avoid an error.
12796 Use char because int might match the return type of a GCC
12797 builtin and then its argument prototype would still apply. */
12798 #ifdef __cplusplus
12799 extern "C"
12800 #endif
12801 char gsm_create ();
12803 main ()
12805 return gsm_create ();
12807 return 0;
12809 _ACEOF
12810 if ac_fn_c_try_link "$LINENO"; then :
12811 case "$LIBEXT" in
12812 dll) ac_cv_lib_soname_gsm=`$ac_cv_path_LDD conftest.exe | grep "gsm" | sed -e "s/dll.*/dll/"';2,$d'` ;;
12813 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'` ;;
12814 *) ac_cv_lib_soname_gsm=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libgsm\\.$LIBEXT" | sed -e "s/^.*\\[\\(libgsm\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
12815 if ${ac_cv_lib_soname_gsm:+false} :; then :
12816 ac_cv_lib_soname_gsm=`$LDD conftest$ac_exeext | grep "libgsm\\.$LIBEXT" | sed -e "s/^.*\(libgsm\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
12817 fi ;;
12818 esac
12820 rm -f core conftest.err conftest.$ac_objext \
12821 conftest$ac_exeext conftest.$ac_ext
12822 LIBS=$ac_check_soname_save_LIBS
12824 if ${ac_cv_lib_soname_gsm:+false} :; then :
12825 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
12826 $as_echo "not found" >&6; }
12828 else
12829 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_gsm" >&5
12830 $as_echo "$ac_cv_lib_soname_gsm" >&6; }
12832 cat >>confdefs.h <<_ACEOF
12833 #define SONAME_LIBGSM "$ac_cv_lib_soname_gsm"
12834 _ACEOF
12839 if test "x$ac_cv_lib_soname_gsm" = "x"; then :
12840 case "x$with_gsm" in
12841 x) as_fn_append wine_notices "|libgsm ${notice_platform}development files not found, gsm 06.10 codec won't be supported." ;;
12842 xno) ;;
12843 *) as_fn_error $? "libgsm ${notice_platform}development files not found, gsm 06.10 codec won't be supported.
12844 This is an error since --with-gsm was requested." "$LINENO" 5 ;;
12845 esac
12848 if test "x$with_jpeg" != "xno"
12849 then
12850 if ${JPEG_CFLAGS:+false} :; then :
12851 if ${PKG_CONFIG+:} false; then :
12852 JPEG_CFLAGS=`$PKG_CONFIG --cflags libjpeg 2>/dev/null`
12856 if ${JPEG_LIBS:+false} :; then :
12857 if ${PKG_CONFIG+:} false; then :
12858 JPEG_LIBS=`$PKG_CONFIG --libs libjpeg 2>/dev/null`
12863 $as_echo "$as_me:${as_lineno-$LINENO}: libjpeg cflags: $JPEG_CFLAGS" >&5
12864 $as_echo "$as_me:${as_lineno-$LINENO}: libjpeg libs: $JPEG_LIBS" >&5
12865 ac_save_CPPFLAGS=$CPPFLAGS
12866 CPPFLAGS="$CPPFLAGS $JPEG_CFLAGS"
12867 for ac_header in jpeglib.h
12868 do :
12869 ac_fn_c_check_header_mongrel "$LINENO" "jpeglib.h" "ac_cv_header_jpeglib_h" "$ac_includes_default"
12870 if test "x$ac_cv_header_jpeglib_h" = xyes; then :
12871 cat >>confdefs.h <<_ACEOF
12872 #define HAVE_JPEGLIB_H 1
12873 _ACEOF
12877 done
12879 if test "$ac_cv_header_jpeglib_h" = "yes"
12880 then
12881 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -ljpeg" >&5
12882 $as_echo_n "checking for -ljpeg... " >&6; }
12883 if ${ac_cv_lib_soname_jpeg+:} false; then :
12884 $as_echo_n "(cached) " >&6
12885 else
12886 ac_check_soname_save_LIBS=$LIBS
12887 LIBS="-ljpeg $JPEG_LIBS $LIBS"
12888 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12889 /* end confdefs.h. */
12891 /* Override any GCC internal prototype to avoid an error.
12892 Use char because int might match the return type of a GCC
12893 builtin and then its argument prototype would still apply. */
12894 #ifdef __cplusplus
12895 extern "C"
12896 #endif
12897 char jpeg_start_decompress ();
12899 main ()
12901 return jpeg_start_decompress ();
12903 return 0;
12905 _ACEOF
12906 if ac_fn_c_try_link "$LINENO"; then :
12907 case "$LIBEXT" in
12908 dll) ac_cv_lib_soname_jpeg=`$ac_cv_path_LDD conftest.exe | grep "jpeg" | sed -e "s/dll.*/dll/"';2,$d'` ;;
12909 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'` ;;
12910 *) ac_cv_lib_soname_jpeg=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libjpeg\\.$LIBEXT" | sed -e "s/^.*\\[\\(libjpeg\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
12911 if ${ac_cv_lib_soname_jpeg:+false} :; then :
12912 ac_cv_lib_soname_jpeg=`$LDD conftest$ac_exeext | grep "libjpeg\\.$LIBEXT" | sed -e "s/^.*\(libjpeg\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
12913 fi ;;
12914 esac
12916 rm -f core conftest.err conftest.$ac_objext \
12917 conftest$ac_exeext conftest.$ac_ext
12918 LIBS=$ac_check_soname_save_LIBS
12920 if ${ac_cv_lib_soname_jpeg:+false} :; then :
12921 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
12922 $as_echo "not found" >&6; }
12923 JPEG_CFLAGS=""
12924 else
12925 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_jpeg" >&5
12926 $as_echo "$ac_cv_lib_soname_jpeg" >&6; }
12928 cat >>confdefs.h <<_ACEOF
12929 #define SONAME_LIBJPEG "$ac_cv_lib_soname_jpeg"
12930 _ACEOF
12934 else
12935 JPEG_CFLAGS=""
12937 CPPFLAGS=$ac_save_CPPFLAGS
12938 test -z "$JPEG_CFLAGS" || JPEG_CFLAGS=`echo " $JPEG_CFLAGS" | sed 's/ -I\([^/]\)/ -I\$(top_builddir)\/\1/g'`
12939 test -z "$JPEG_LIBS" || JPEG_LIBS=`echo " $JPEG_LIBS" | sed 's/ -L\([^/]\)/ -L\$(top_builddir)\/\1/g'`
12942 if test "x$ac_cv_lib_soname_jpeg" = "x"; then :
12943 case "x$with_jpeg" in
12944 x) as_fn_append wine_warnings "|libjpeg ${notice_platform}development files not found, JPEG won't be supported." ;;
12945 xno) ;;
12946 *) as_fn_error $? "libjpeg ${notice_platform}development files not found, JPEG won't be supported.
12947 This is an error since --with-jpeg was requested." "$LINENO" 5 ;;
12948 esac
12951 if test "x$with_png" != "xno"
12952 then
12953 if ${PNG_CFLAGS:+false} :; then :
12954 if ${PKG_CONFIG+:} false; then :
12955 PNG_CFLAGS=`$PKG_CONFIG --cflags libpng 2>/dev/null`
12958 test "$cross_compiling" = yes || PNG_CFLAGS=${PNG_CFLAGS:-$X_CFLAGS}
12959 if ${PNG_LIBS:+false} :; then :
12960 if ${PKG_CONFIG+:} false; then :
12961 PNG_LIBS=`$PKG_CONFIG --libs libpng 2>/dev/null`
12964 test "$cross_compiling" = yes || PNG_LIBS=${PNG_LIBS:-$X_LIBS}
12966 $as_echo "$as_me:${as_lineno-$LINENO}: libpng cflags: $PNG_CFLAGS" >&5
12967 $as_echo "$as_me:${as_lineno-$LINENO}: libpng libs: $PNG_LIBS" >&5
12968 ac_save_CPPFLAGS=$CPPFLAGS
12969 CPPFLAGS="$CPPFLAGS $PNG_CFLAGS"
12970 for ac_header in png.h
12971 do :
12972 ac_fn_c_check_header_mongrel "$LINENO" "png.h" "ac_cv_header_png_h" "$ac_includes_default"
12973 if test "x$ac_cv_header_png_h" = xyes; then :
12974 cat >>confdefs.h <<_ACEOF
12975 #define HAVE_PNG_H 1
12976 _ACEOF
12980 done
12982 if test "$ac_cv_header_png_h" = "yes"
12983 then
12984 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lpng" >&5
12985 $as_echo_n "checking for -lpng... " >&6; }
12986 if ${ac_cv_lib_soname_png+:} false; then :
12987 $as_echo_n "(cached) " >&6
12988 else
12989 ac_check_soname_save_LIBS=$LIBS
12990 LIBS="-lpng $PNG_LIBS -lm -lz $LIBS"
12991 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12992 /* end confdefs.h. */
12994 /* Override any GCC internal prototype to avoid an error.
12995 Use char because int might match the return type of a GCC
12996 builtin and then its argument prototype would still apply. */
12997 #ifdef __cplusplus
12998 extern "C"
12999 #endif
13000 char png_create_read_struct ();
13002 main ()
13004 return png_create_read_struct ();
13006 return 0;
13008 _ACEOF
13009 if ac_fn_c_try_link "$LINENO"; then :
13010 case "$LIBEXT" in
13011 dll) ac_cv_lib_soname_png=`$ac_cv_path_LDD conftest.exe | grep "png" | sed -e "s/dll.*/dll/"';2,$d'` ;;
13012 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'` ;;
13013 *) 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'`
13014 if ${ac_cv_lib_soname_png:+false} :; then :
13015 ac_cv_lib_soname_png=`$LDD conftest$ac_exeext | grep "libpng[0-9]*\\.$LIBEXT" | sed -e "s/^.*\(libpng[0-9]*\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
13016 fi ;;
13017 esac
13019 rm -f core conftest.err conftest.$ac_objext \
13020 conftest$ac_exeext conftest.$ac_ext
13021 LIBS=$ac_check_soname_save_LIBS
13023 if ${ac_cv_lib_soname_png:+false} :; then :
13024 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
13025 $as_echo "not found" >&6; }
13026 PNG_CFLAGS=""
13027 else
13028 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_png" >&5
13029 $as_echo "$ac_cv_lib_soname_png" >&6; }
13031 cat >>confdefs.h <<_ACEOF
13032 #define SONAME_LIBPNG "$ac_cv_lib_soname_png"
13033 _ACEOF
13035 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13036 /* end confdefs.h. */
13037 #include <png.h>
13039 main ()
13041 typeof(png_set_expand_gray_1_2_4_to_8) *p
13043 return 0;
13045 _ACEOF
13046 if ac_fn_c_try_compile "$LINENO"; then :
13048 $as_echo "#define HAVE_PNG_SET_EXPAND_GRAY_1_2_4_TO_8 1" >>confdefs.h
13051 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
13053 else
13054 PNG_CFLAGS=""
13056 CPPFLAGS=$ac_save_CPPFLAGS
13057 test -z "$PNG_CFLAGS" || PNG_CFLAGS=`echo " $PNG_CFLAGS" | sed 's/ -I\([^/]\)/ -I\$(top_builddir)\/\1/g'`
13058 test -z "$PNG_LIBS" || PNG_LIBS=`echo " $PNG_LIBS" | sed 's/ -L\([^/]\)/ -L\$(top_builddir)\/\1/g'`
13061 if test "x$ac_cv_lib_soname_png" = "x"; then :
13062 case "x$with_png" in
13063 x) as_fn_append wine_warnings "|libpng ${notice_platform}development files not found, PNG won't be supported." ;;
13064 xno) ;;
13065 *) as_fn_error $? "libpng ${notice_platform}development files not found, PNG won't be supported.
13066 This is an error since --with-png was requested." "$LINENO" 5 ;;
13067 esac
13070 if test "x$with_tiff" != "xno"
13071 then
13072 if ${TIFF_CFLAGS:+false} :; then :
13073 if ${PKG_CONFIG+:} false; then :
13074 TIFF_CFLAGS=`$PKG_CONFIG --cflags libtiff 2>/dev/null`
13078 if ${TIFF_LIBS:+false} :; then :
13079 if ${PKG_CONFIG+:} false; then :
13080 TIFF_LIBS=`$PKG_CONFIG --libs libtiff 2>/dev/null`
13085 $as_echo "$as_me:${as_lineno-$LINENO}: libtiff cflags: $TIFF_CFLAGS" >&5
13086 $as_echo "$as_me:${as_lineno-$LINENO}: libtiff libs: $TIFF_LIBS" >&5
13087 ac_save_CPPFLAGS=$CPPFLAGS
13088 CPPFLAGS="$CPPFLAGS $TIFF_CFLAGS"
13089 for ac_header in tiffio.h
13090 do :
13091 ac_fn_c_check_header_mongrel "$LINENO" "tiffio.h" "ac_cv_header_tiffio_h" "$ac_includes_default"
13092 if test "x$ac_cv_header_tiffio_h" = xyes; then :
13093 cat >>confdefs.h <<_ACEOF
13094 #define HAVE_TIFFIO_H 1
13095 _ACEOF
13099 done
13101 if test "$ac_cv_header_tiffio_h" = "yes"
13102 then
13103 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -ltiff" >&5
13104 $as_echo_n "checking for -ltiff... " >&6; }
13105 if ${ac_cv_lib_soname_tiff+:} false; then :
13106 $as_echo_n "(cached) " >&6
13107 else
13108 ac_check_soname_save_LIBS=$LIBS
13109 LIBS="-ltiff $TIFF_LIBS $LIBS"
13110 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13111 /* end confdefs.h. */
13113 /* Override any GCC internal prototype to avoid an error.
13114 Use char because int might match the return type of a GCC
13115 builtin and then its argument prototype would still apply. */
13116 #ifdef __cplusplus
13117 extern "C"
13118 #endif
13119 char TIFFClientOpen ();
13121 main ()
13123 return TIFFClientOpen ();
13125 return 0;
13127 _ACEOF
13128 if ac_fn_c_try_link "$LINENO"; then :
13129 case "$LIBEXT" in
13130 dll) ac_cv_lib_soname_tiff=`$ac_cv_path_LDD conftest.exe | grep "tiff" | sed -e "s/dll.*/dll/"';2,$d'` ;;
13131 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'` ;;
13132 *) ac_cv_lib_soname_tiff=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libtiff\\.$LIBEXT" | sed -e "s/^.*\\[\\(libtiff\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
13133 if ${ac_cv_lib_soname_tiff:+false} :; then :
13134 ac_cv_lib_soname_tiff=`$LDD conftest$ac_exeext | grep "libtiff\\.$LIBEXT" | sed -e "s/^.*\(libtiff\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
13135 fi ;;
13136 esac
13138 rm -f core conftest.err conftest.$ac_objext \
13139 conftest$ac_exeext conftest.$ac_ext
13140 LIBS=$ac_check_soname_save_LIBS
13142 if ${ac_cv_lib_soname_tiff:+false} :; then :
13143 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
13144 $as_echo "not found" >&6; }
13146 else
13147 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_tiff" >&5
13148 $as_echo "$ac_cv_lib_soname_tiff" >&6; }
13150 cat >>confdefs.h <<_ACEOF
13151 #define SONAME_LIBTIFF "$ac_cv_lib_soname_tiff"
13152 _ACEOF
13157 CPPFLAGS=$ac_save_CPPFLAGS
13158 test -z "$TIFF_CFLAGS" || TIFF_CFLAGS=`echo " $TIFF_CFLAGS" | sed 's/ -I\([^/]\)/ -I\$(top_builddir)\/\1/g'`
13159 test -z "$TIFF_LIBS" || TIFF_LIBS=`echo " $TIFF_LIBS" | sed 's/ -L\([^/]\)/ -L\$(top_builddir)\/\1/g'`
13162 if test "x$ac_cv_lib_soname_tiff" = "x"; then :
13163 case "x$with_tiff" in
13164 x) as_fn_append wine_notices "|libtiff ${notice_platform}development files not found, TIFF won't be supported." ;;
13165 xno) ;;
13166 *) as_fn_error $? "libtiff ${notice_platform}development files not found, TIFF won't be supported.
13167 This is an error since --with-tiff was requested." "$LINENO" 5 ;;
13168 esac
13171 if test "x$with_mpg123" != "xno"
13172 then
13173 if ${MPG123_CFLAGS:+false} :; then :
13174 if ${PKG_CONFIG+:} false; then :
13175 MPG123_CFLAGS=`$PKG_CONFIG --cflags libmpg123 2>/dev/null`
13179 if ${MPG123_LIBS:+false} :; then :
13180 if ${PKG_CONFIG+:} false; then :
13181 MPG123_LIBS=`$PKG_CONFIG --libs libmpg123 2>/dev/null`
13185 MPG123_LIBS=${MPG123_LIBS:-"-lmpg123"}
13186 $as_echo "$as_me:${as_lineno-$LINENO}: libmpg123 cflags: $MPG123_CFLAGS" >&5
13187 $as_echo "$as_me:${as_lineno-$LINENO}: libmpg123 libs: $MPG123_LIBS" >&5
13188 ac_save_CPPFLAGS=$CPPFLAGS
13189 CPPFLAGS="$CPPFLAGS $MPG123_CFLAGS"
13190 for ac_header in mpg123.h
13191 do :
13192 ac_fn_c_check_header_mongrel "$LINENO" "mpg123.h" "ac_cv_header_mpg123_h" "$ac_includes_default"
13193 if test "x$ac_cv_header_mpg123_h" = xyes; then :
13194 cat >>confdefs.h <<_ACEOF
13195 #define HAVE_MPG123_H 1
13196 _ACEOF
13200 done
13202 if test "$ac_cv_header_mpg123_h" = "yes"
13203 then
13204 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for mpg123_feed in -lmpg123" >&5
13205 $as_echo_n "checking for mpg123_feed in -lmpg123... " >&6; }
13206 if ${ac_cv_lib_mpg123_mpg123_feed+:} false; then :
13207 $as_echo_n "(cached) " >&6
13208 else
13209 ac_check_lib_save_LIBS=$LIBS
13210 LIBS="-lmpg123 $MPG123_LIBS $LIBS"
13211 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13212 /* end confdefs.h. */
13214 /* Override any GCC internal prototype to avoid an error.
13215 Use char because int might match the return type of a GCC
13216 builtin and then its argument prototype would still apply. */
13217 #ifdef __cplusplus
13218 extern "C"
13219 #endif
13220 char mpg123_feed ();
13222 main ()
13224 return mpg123_feed ();
13226 return 0;
13228 _ACEOF
13229 if ac_fn_c_try_link "$LINENO"; then :
13230 ac_cv_lib_mpg123_mpg123_feed=yes
13231 else
13232 ac_cv_lib_mpg123_mpg123_feed=no
13234 rm -f core conftest.err conftest.$ac_objext \
13235 conftest$ac_exeext conftest.$ac_ext
13236 LIBS=$ac_check_lib_save_LIBS
13238 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_mpg123_mpg123_feed" >&5
13239 $as_echo "$ac_cv_lib_mpg123_mpg123_feed" >&6; }
13240 if test "x$ac_cv_lib_mpg123_mpg123_feed" = xyes; then :
13242 else
13243 MPG123_LIBS=""
13246 else
13247 MPG123_CFLAGS=""
13248 MPG123_LIBS=""
13250 CPPFLAGS=$ac_save_CPPFLAGS
13251 test -z "$MPG123_CFLAGS" || MPG123_CFLAGS=`echo " $MPG123_CFLAGS" | sed 's/ -I\([^/]\)/ -I\$(top_builddir)\/\1/g'`
13252 test -z "$MPG123_LIBS" || MPG123_LIBS=`echo " $MPG123_LIBS" | sed 's/ -L\([^/]\)/ -L\$(top_builddir)\/\1/g'`
13255 if test "x$ac_cv_lib_mpg123_mpg123_feed" != xyes -a x"$ac_cv_header_CoreAudio_CoreAudio_h" != xyes; then :
13256 case "x$with_mpg123" in
13257 x) as_fn_append wine_notices "|libmpg123 ${notice_platform}development files not found (or too old), mp3 codec won't be supported." ;;
13258 xno) ;;
13259 *) as_fn_error $? "libmpg123 ${notice_platform}development files not found (or too old), mp3 codec won't be supported.
13260 This is an error since --with-mpg123 was requested." "$LINENO" 5 ;;
13261 esac
13263 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}
13265 if test "$ac_cv_header_AL_al_h" = "yes"
13266 then
13267 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lopenal" >&5
13268 $as_echo_n "checking for -lopenal... " >&6; }
13269 if ${ac_cv_lib_soname_openal+:} false; then :
13270 $as_echo_n "(cached) " >&6
13271 else
13272 ac_check_soname_save_LIBS=$LIBS
13273 LIBS="-lopenal $LIBS"
13274 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13275 /* end confdefs.h. */
13277 /* Override any GCC internal prototype to avoid an error.
13278 Use char because int might match the return type of a GCC
13279 builtin and then its argument prototype would still apply. */
13280 #ifdef __cplusplus
13281 extern "C"
13282 #endif
13283 char alGetSource3i ();
13285 main ()
13287 return alGetSource3i ();
13289 return 0;
13291 _ACEOF
13292 if ac_fn_c_try_link "$LINENO"; then :
13293 case "$LIBEXT" in
13294 dll) ac_cv_lib_soname_openal=`$ac_cv_path_LDD conftest.exe | grep "openal" | sed -e "s/dll.*/dll/"';2,$d'` ;;
13295 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'` ;;
13296 *) ac_cv_lib_soname_openal=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libopenal\\.$LIBEXT" | sed -e "s/^.*\\[\\(libopenal\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
13297 if ${ac_cv_lib_soname_openal:+false} :; then :
13298 ac_cv_lib_soname_openal=`$LDD conftest$ac_exeext | grep "libopenal\\.$LIBEXT" | sed -e "s/^.*\(libopenal\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
13299 fi ;;
13300 esac
13302 rm -f core conftest.err conftest.$ac_objext \
13303 conftest$ac_exeext conftest.$ac_ext
13304 LIBS=$ac_check_soname_save_LIBS
13306 if ${ac_cv_lib_soname_openal:+false} :; then :
13307 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
13308 $as_echo "not found" >&6; }
13310 else
13311 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_openal" >&5
13312 $as_echo "$ac_cv_lib_soname_openal" >&6; }
13314 cat >>confdefs.h <<_ACEOF
13315 #define SONAME_LIBOPENAL "$ac_cv_lib_soname_openal"
13316 _ACEOF
13318 OPENAL_LIBS="-lopenal"
13320 ac_cv_lib_openal=yes
13322 cat >>confdefs.h <<_ACEOF
13323 #define HAVE_OPENAL 1
13324 _ACEOF
13328 if test "x$ac_cv_lib_openal" != xyes; then :
13329 case "x$with_openal" in
13330 x) as_fn_append wine_notices "|libopenal ${notice_platform}development files not found (or too old), OpenAL won't be supported." ;;
13331 xno) ;;
13332 *) as_fn_error $? "libopenal ${notice_platform}development files not found (or too old), OpenAL won't be supported.
13333 This is an error since --with-openal was requested." "$LINENO" 5 ;;
13334 esac
13336 test "x$ac_cv_lib_openal" = xyes || enable_openal32=${enable_openal32:-no}
13338 if test "$ac_cv_header_kstat_h" = "yes"
13339 then
13340 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for kstat_open in -lkstat" >&5
13341 $as_echo_n "checking for kstat_open in -lkstat... " >&6; }
13342 if ${ac_cv_lib_kstat_kstat_open+:} false; then :
13343 $as_echo_n "(cached) " >&6
13344 else
13345 ac_check_lib_save_LIBS=$LIBS
13346 LIBS="-lkstat $LIBS"
13347 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13348 /* end confdefs.h. */
13350 /* Override any GCC internal prototype to avoid an error.
13351 Use char because int might match the return type of a GCC
13352 builtin and then its argument prototype would still apply. */
13353 #ifdef __cplusplus
13354 extern "C"
13355 #endif
13356 char kstat_open ();
13358 main ()
13360 return kstat_open ();
13362 return 0;
13364 _ACEOF
13365 if ac_fn_c_try_link "$LINENO"; then :
13366 ac_cv_lib_kstat_kstat_open=yes
13367 else
13368 ac_cv_lib_kstat_kstat_open=no
13370 rm -f core conftest.err conftest.$ac_objext \
13371 conftest$ac_exeext conftest.$ac_ext
13372 LIBS=$ac_check_lib_save_LIBS
13374 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_kstat_kstat_open" >&5
13375 $as_echo "$ac_cv_lib_kstat_kstat_open" >&6; }
13376 if test "x$ac_cv_lib_kstat_kstat_open" = xyes; then :
13378 $as_echo "#define HAVE_LIBKSTAT 1" >>confdefs.h
13380 KSTAT_LIBS="-lkstat"
13386 if test "$ac_cv_header_libprocstat_h" = "yes"
13387 then
13388 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for procstat_open_sysctl in -lprocstat" >&5
13389 $as_echo_n "checking for procstat_open_sysctl in -lprocstat... " >&6; }
13390 if ${ac_cv_lib_procstat_procstat_open_sysctl+:} false; then :
13391 $as_echo_n "(cached) " >&6
13392 else
13393 ac_check_lib_save_LIBS=$LIBS
13394 LIBS="-lprocstat $LIBS"
13395 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13396 /* end confdefs.h. */
13398 /* Override any GCC internal prototype to avoid an error.
13399 Use char because int might match the return type of a GCC
13400 builtin and then its argument prototype would still apply. */
13401 #ifdef __cplusplus
13402 extern "C"
13403 #endif
13404 char procstat_open_sysctl ();
13406 main ()
13408 return procstat_open_sysctl ();
13410 return 0;
13412 _ACEOF
13413 if ac_fn_c_try_link "$LINENO"; then :
13414 ac_cv_lib_procstat_procstat_open_sysctl=yes
13415 else
13416 ac_cv_lib_procstat_procstat_open_sysctl=no
13418 rm -f core conftest.err conftest.$ac_objext \
13419 conftest$ac_exeext conftest.$ac_ext
13420 LIBS=$ac_check_lib_save_LIBS
13422 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_procstat_procstat_open_sysctl" >&5
13423 $as_echo "$ac_cv_lib_procstat_procstat_open_sysctl" >&6; }
13424 if test "x$ac_cv_lib_procstat_procstat_open_sysctl" = xyes; then :
13426 $as_echo "#define HAVE_LIBPROCSTAT 1" >>confdefs.h
13428 PROCSTAT_LIBS="-lprocstat"
13434 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lodbc" >&5
13435 $as_echo_n "checking for -lodbc... " >&6; }
13436 if ${ac_cv_lib_soname_odbc+:} false; then :
13437 $as_echo_n "(cached) " >&6
13438 else
13439 ac_check_soname_save_LIBS=$LIBS
13440 LIBS="-lodbc $LIBS"
13441 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13442 /* end confdefs.h. */
13444 /* Override any GCC internal prototype to avoid an error.
13445 Use char because int might match the return type of a GCC
13446 builtin and then its argument prototype would still apply. */
13447 #ifdef __cplusplus
13448 extern "C"
13449 #endif
13450 char SQLConnect ();
13452 main ()
13454 return SQLConnect ();
13456 return 0;
13458 _ACEOF
13459 if ac_fn_c_try_link "$LINENO"; then :
13460 case "$LIBEXT" in
13461 dll) ac_cv_lib_soname_odbc=`$ac_cv_path_LDD conftest.exe | grep "odbc" | sed -e "s/dll.*/dll/"';2,$d'` ;;
13462 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'` ;;
13463 *) ac_cv_lib_soname_odbc=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libodbc\\.$LIBEXT" | sed -e "s/^.*\\[\\(libodbc\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
13464 if ${ac_cv_lib_soname_odbc:+false} :; then :
13465 ac_cv_lib_soname_odbc=`$LDD conftest$ac_exeext | grep "libodbc\\.$LIBEXT" | sed -e "s/^.*\(libodbc\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
13466 fi ;;
13467 esac
13469 rm -f core conftest.err conftest.$ac_objext \
13470 conftest$ac_exeext conftest.$ac_ext
13471 LIBS=$ac_check_soname_save_LIBS
13473 if ${ac_cv_lib_soname_odbc:+false} :; then :
13474 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
13475 $as_echo "not found" >&6; }
13476 cat >>confdefs.h <<_ACEOF
13477 #define SONAME_LIBODBC "libodbc.$LIBEXT"
13478 _ACEOF
13480 else
13481 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_odbc" >&5
13482 $as_echo "$ac_cv_lib_soname_odbc" >&6; }
13484 cat >>confdefs.h <<_ACEOF
13485 #define SONAME_LIBODBC "$ac_cv_lib_soname_odbc"
13486 _ACEOF
13491 if test "x$with_netapi" != "xno"
13492 then
13493 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lnetapi" >&5
13494 $as_echo_n "checking for -lnetapi... " >&6; }
13495 if ${ac_cv_lib_soname_netapi+:} false; then :
13496 $as_echo_n "(cached) " >&6
13497 else
13498 ac_check_soname_save_LIBS=$LIBS
13499 LIBS="-lnetapi $LIBS"
13500 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13501 /* end confdefs.h. */
13503 /* Override any GCC internal prototype to avoid an error.
13504 Use char because int might match the return type of a GCC
13505 builtin and then its argument prototype would still apply. */
13506 #ifdef __cplusplus
13507 extern "C"
13508 #endif
13509 char libnetapi_init ();
13511 main ()
13513 return libnetapi_init ();
13515 return 0;
13517 _ACEOF
13518 if ac_fn_c_try_link "$LINENO"; then :
13519 case "$LIBEXT" in
13520 dll) ac_cv_lib_soname_netapi=`$ac_cv_path_LDD conftest.exe | grep "netapi" | sed -e "s/dll.*/dll/"';2,$d'` ;;
13521 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'` ;;
13522 *) ac_cv_lib_soname_netapi=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libnetapi\\.$LIBEXT" | sed -e "s/^.*\\[\\(libnetapi\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
13523 if ${ac_cv_lib_soname_netapi:+false} :; then :
13524 ac_cv_lib_soname_netapi=`$LDD conftest$ac_exeext | grep "libnetapi\\.$LIBEXT" | sed -e "s/^.*\(libnetapi\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
13525 fi ;;
13526 esac
13528 rm -f core conftest.err conftest.$ac_objext \
13529 conftest$ac_exeext conftest.$ac_ext
13530 LIBS=$ac_check_soname_save_LIBS
13532 if ${ac_cv_lib_soname_netapi:+false} :; then :
13533 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
13534 $as_echo "not found" >&6; }
13535 cat >>confdefs.h <<_ACEOF
13536 #define SONAME_LIBNETAPI "libnetapi.$LIBEXT"
13537 _ACEOF
13539 else
13540 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_netapi" >&5
13541 $as_echo "$ac_cv_lib_soname_netapi" >&6; }
13543 cat >>confdefs.h <<_ACEOF
13544 #define SONAME_LIBNETAPI "$ac_cv_lib_soname_netapi"
13545 _ACEOF
13551 test -n "$ALSA_LIBS" || enable_winealsa_drv=${enable_winealsa_drv:-no}
13552 test -n "$COREAUDIO_LIBS" || enable_winecoreaudio_drv=${enable_winecoreaudio_drv:-no}
13553 test "x$ac_cv_member_oss_sysinfo_numaudioengines" = xyes || enable_wineoss_drv=${enable_wineoss_drv:-no}
13554 test "$ac_cv_header_linux_joystick_h" = "yes" || enable_winejoystick_drv=${enable_winejoystick_drv:-no}
13556 if test "x$ALSA_LIBS$COREAUDIO_LIBS" = "x" -a \
13557 "x$ac_cv_member_oss_sysinfo_numaudioengines" != xyes -a \
13558 "x$with_alsa$with_coreaudio$with_oss" != xnonono
13559 then
13560 as_fn_append wine_warnings "|No sound system was found. Windows applications will be silent."
13564 EXTRACFLAGS=""
13566 if test "x${GCC}" = "xyes"
13567 then
13568 EXTRACFLAGS="-Wall -pipe"
13570 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for gcc strength-reduce bug" >&5
13571 $as_echo_n "checking for gcc strength-reduce bug... " >&6; }
13572 if ${ac_cv_c_gcc_strength_bug+:} false; then :
13573 $as_echo_n "(cached) " >&6
13574 else
13575 if test "$cross_compiling" = yes; then :
13576 ac_cv_c_gcc_strength_bug="yes"
13577 else
13578 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13579 /* end confdefs.h. */
13580 int L[4] = {0,1,2,3};
13582 main ()
13584 static int Array[3];
13585 unsigned int B = 3;
13586 int i;
13587 for(i=0; i<B; i++) Array[i] = i - 3;
13588 for(i=0; i<4 - 1; i++) L[i] = L[i + 1];
13589 L[i] = 4;
13590 return (Array[1] != -2 || L[2] != 3)
13592 return 0;
13594 _ACEOF
13595 if ac_fn_c_try_run "$LINENO"; then :
13596 ac_cv_c_gcc_strength_bug="no"
13597 else
13598 ac_cv_c_gcc_strength_bug="yes"
13600 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \
13601 conftest.$ac_objext conftest.beam conftest.$ac_ext
13605 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_gcc_strength_bug" >&5
13606 $as_echo "$ac_cv_c_gcc_strength_bug" >&6; }
13607 if test "$ac_cv_c_gcc_strength_bug" = "yes"
13608 then
13609 EXTRACFLAGS="$EXTRACFLAGS -fno-strength-reduce"
13612 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -fno-builtin" >&5
13613 $as_echo_n "checking whether the compiler supports -fno-builtin... " >&6; }
13614 if ${ac_cv_cflags__fno_builtin+:} false; then :
13615 $as_echo_n "(cached) " >&6
13616 else
13617 ac_wine_try_cflags_saved=$CFLAGS
13618 CFLAGS="$CFLAGS -fno-builtin"
13619 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13620 /* end confdefs.h. */
13621 int main(int argc, char **argv) { return 0; }
13622 _ACEOF
13623 if ac_fn_c_try_link "$LINENO"; then :
13624 ac_cv_cflags__fno_builtin=yes
13625 else
13626 ac_cv_cflags__fno_builtin=no
13628 rm -f core conftest.err conftest.$ac_objext \
13629 conftest$ac_exeext conftest.$ac_ext
13630 CFLAGS=$ac_wine_try_cflags_saved
13632 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__fno_builtin" >&5
13633 $as_echo "$ac_cv_cflags__fno_builtin" >&6; }
13634 if test "x$ac_cv_cflags__fno_builtin" = xyes; then :
13635 BUILTINFLAG="-fno-builtin"
13638 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -fno-strict-aliasing" >&5
13639 $as_echo_n "checking whether the compiler supports -fno-strict-aliasing... " >&6; }
13640 if ${ac_cv_cflags__fno_strict_aliasing+:} false; then :
13641 $as_echo_n "(cached) " >&6
13642 else
13643 ac_wine_try_cflags_saved=$CFLAGS
13644 CFLAGS="$CFLAGS -fno-strict-aliasing"
13645 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13646 /* end confdefs.h. */
13647 int main(int argc, char **argv) { return 0; }
13648 _ACEOF
13649 if ac_fn_c_try_link "$LINENO"; then :
13650 ac_cv_cflags__fno_strict_aliasing=yes
13651 else
13652 ac_cv_cflags__fno_strict_aliasing=no
13654 rm -f core conftest.err conftest.$ac_objext \
13655 conftest$ac_exeext conftest.$ac_ext
13656 CFLAGS=$ac_wine_try_cflags_saved
13658 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__fno_strict_aliasing" >&5
13659 $as_echo "$ac_cv_cflags__fno_strict_aliasing" >&6; }
13660 if test "x$ac_cv_cflags__fno_strict_aliasing" = xyes; then :
13661 EXTRACFLAGS="$EXTRACFLAGS -fno-strict-aliasing"
13663 saved_CFLAGS=$CFLAGS
13664 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Werror=unknown-warning-option" >&5
13665 $as_echo_n "checking whether the compiler supports -Werror=unknown-warning-option... " >&6; }
13666 if ${ac_cv_cflags__Werror_unknown_warning_option+:} false; then :
13667 $as_echo_n "(cached) " >&6
13668 else
13669 ac_wine_try_cflags_saved=$CFLAGS
13670 CFLAGS="$CFLAGS -Werror=unknown-warning-option"
13671 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13672 /* end confdefs.h. */
13673 int main(int argc, char **argv) { return 0; }
13674 _ACEOF
13675 if ac_fn_c_try_link "$LINENO"; then :
13676 ac_cv_cflags__Werror_unknown_warning_option=yes
13677 else
13678 ac_cv_cflags__Werror_unknown_warning_option=no
13680 rm -f core conftest.err conftest.$ac_objext \
13681 conftest$ac_exeext conftest.$ac_ext
13682 CFLAGS=$ac_wine_try_cflags_saved
13684 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Werror_unknown_warning_option" >&5
13685 $as_echo "$ac_cv_cflags__Werror_unknown_warning_option" >&6; }
13686 if test "x$ac_cv_cflags__Werror_unknown_warning_option" = xyes; then :
13687 CFLAGS="$CFLAGS -Werror=unknown-warning-option"
13689 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wdeclaration-after-statement" >&5
13690 $as_echo_n "checking whether the compiler supports -Wdeclaration-after-statement... " >&6; }
13691 if ${ac_cv_cflags__Wdeclaration_after_statement+:} false; then :
13692 $as_echo_n "(cached) " >&6
13693 else
13694 ac_wine_try_cflags_saved=$CFLAGS
13695 CFLAGS="$CFLAGS -Wdeclaration-after-statement"
13696 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13697 /* end confdefs.h. */
13698 int main(int argc, char **argv) { return 0; }
13699 _ACEOF
13700 if ac_fn_c_try_link "$LINENO"; then :
13701 ac_cv_cflags__Wdeclaration_after_statement=yes
13702 else
13703 ac_cv_cflags__Wdeclaration_after_statement=no
13705 rm -f core conftest.err conftest.$ac_objext \
13706 conftest$ac_exeext conftest.$ac_ext
13707 CFLAGS=$ac_wine_try_cflags_saved
13709 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wdeclaration_after_statement" >&5
13710 $as_echo "$ac_cv_cflags__Wdeclaration_after_statement" >&6; }
13711 if test "x$ac_cv_cflags__Wdeclaration_after_statement" = xyes; then :
13712 EXTRACFLAGS="$EXTRACFLAGS -Wdeclaration-after-statement"
13714 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wempty-body" >&5
13715 $as_echo_n "checking whether the compiler supports -Wempty-body... " >&6; }
13716 if ${ac_cv_cflags__Wempty_body+:} false; then :
13717 $as_echo_n "(cached) " >&6
13718 else
13719 ac_wine_try_cflags_saved=$CFLAGS
13720 CFLAGS="$CFLAGS -Wempty-body"
13721 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13722 /* end confdefs.h. */
13723 int main(int argc, char **argv) { return 0; }
13724 _ACEOF
13725 if ac_fn_c_try_link "$LINENO"; then :
13726 ac_cv_cflags__Wempty_body=yes
13727 else
13728 ac_cv_cflags__Wempty_body=no
13730 rm -f core conftest.err conftest.$ac_objext \
13731 conftest$ac_exeext conftest.$ac_ext
13732 CFLAGS=$ac_wine_try_cflags_saved
13734 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wempty_body" >&5
13735 $as_echo "$ac_cv_cflags__Wempty_body" >&6; }
13736 if test "x$ac_cv_cflags__Wempty_body" = xyes; then :
13737 EXTRACFLAGS="$EXTRACFLAGS -Wempty-body"
13739 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wignored-qualifiers" >&5
13740 $as_echo_n "checking whether the compiler supports -Wignored-qualifiers... " >&6; }
13741 if ${ac_cv_cflags__Wignored_qualifiers+:} false; then :
13742 $as_echo_n "(cached) " >&6
13743 else
13744 ac_wine_try_cflags_saved=$CFLAGS
13745 CFLAGS="$CFLAGS -Wignored-qualifiers"
13746 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13747 /* end confdefs.h. */
13748 int main(int argc, char **argv) { return 0; }
13749 _ACEOF
13750 if ac_fn_c_try_link "$LINENO"; then :
13751 ac_cv_cflags__Wignored_qualifiers=yes
13752 else
13753 ac_cv_cflags__Wignored_qualifiers=no
13755 rm -f core conftest.err conftest.$ac_objext \
13756 conftest$ac_exeext conftest.$ac_ext
13757 CFLAGS=$ac_wine_try_cflags_saved
13759 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wignored_qualifiers" >&5
13760 $as_echo "$ac_cv_cflags__Wignored_qualifiers" >&6; }
13761 if test "x$ac_cv_cflags__Wignored_qualifiers" = xyes; then :
13762 EXTRACFLAGS="$EXTRACFLAGS -Wignored-qualifiers"
13764 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wstrict-prototypes" >&5
13765 $as_echo_n "checking whether the compiler supports -Wstrict-prototypes... " >&6; }
13766 if ${ac_cv_cflags__Wstrict_prototypes+:} false; then :
13767 $as_echo_n "(cached) " >&6
13768 else
13769 ac_wine_try_cflags_saved=$CFLAGS
13770 CFLAGS="$CFLAGS -Wstrict-prototypes"
13771 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13772 /* end confdefs.h. */
13773 int main(int argc, char **argv) { return 0; }
13774 _ACEOF
13775 if ac_fn_c_try_link "$LINENO"; then :
13776 ac_cv_cflags__Wstrict_prototypes=yes
13777 else
13778 ac_cv_cflags__Wstrict_prototypes=no
13780 rm -f core conftest.err conftest.$ac_objext \
13781 conftest$ac_exeext conftest.$ac_ext
13782 CFLAGS=$ac_wine_try_cflags_saved
13784 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wstrict_prototypes" >&5
13785 $as_echo "$ac_cv_cflags__Wstrict_prototypes" >&6; }
13786 if test "x$ac_cv_cflags__Wstrict_prototypes" = xyes; then :
13787 EXTRACFLAGS="$EXTRACFLAGS -Wstrict-prototypes"
13789 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wtype-limits" >&5
13790 $as_echo_n "checking whether the compiler supports -Wtype-limits... " >&6; }
13791 if ${ac_cv_cflags__Wtype_limits+:} false; then :
13792 $as_echo_n "(cached) " >&6
13793 else
13794 ac_wine_try_cflags_saved=$CFLAGS
13795 CFLAGS="$CFLAGS -Wtype-limits"
13796 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13797 /* end confdefs.h. */
13798 int main(int argc, char **argv) { return 0; }
13799 _ACEOF
13800 if ac_fn_c_try_link "$LINENO"; then :
13801 ac_cv_cflags__Wtype_limits=yes
13802 else
13803 ac_cv_cflags__Wtype_limits=no
13805 rm -f core conftest.err conftest.$ac_objext \
13806 conftest$ac_exeext conftest.$ac_ext
13807 CFLAGS=$ac_wine_try_cflags_saved
13809 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wtype_limits" >&5
13810 $as_echo "$ac_cv_cflags__Wtype_limits" >&6; }
13811 if test "x$ac_cv_cflags__Wtype_limits" = xyes; then :
13812 EXTRACFLAGS="$EXTRACFLAGS -Wtype-limits"
13814 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wunused-but-set-parameter" >&5
13815 $as_echo_n "checking whether the compiler supports -Wunused-but-set-parameter... " >&6; }
13816 if ${ac_cv_cflags__Wunused_but_set_parameter+:} false; then :
13817 $as_echo_n "(cached) " >&6
13818 else
13819 ac_wine_try_cflags_saved=$CFLAGS
13820 CFLAGS="$CFLAGS -Wunused-but-set-parameter"
13821 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13822 /* end confdefs.h. */
13823 int main(int argc, char **argv) { return 0; }
13824 _ACEOF
13825 if ac_fn_c_try_link "$LINENO"; then :
13826 ac_cv_cflags__Wunused_but_set_parameter=yes
13827 else
13828 ac_cv_cflags__Wunused_but_set_parameter=no
13830 rm -f core conftest.err conftest.$ac_objext \
13831 conftest$ac_exeext conftest.$ac_ext
13832 CFLAGS=$ac_wine_try_cflags_saved
13834 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wunused_but_set_parameter" >&5
13835 $as_echo "$ac_cv_cflags__Wunused_but_set_parameter" >&6; }
13836 if test "x$ac_cv_cflags__Wunused_but_set_parameter" = xyes; then :
13837 EXTRACFLAGS="$EXTRACFLAGS -Wunused-but-set-parameter"
13839 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wvla" >&5
13840 $as_echo_n "checking whether the compiler supports -Wvla... " >&6; }
13841 if ${ac_cv_cflags__Wvla+:} false; then :
13842 $as_echo_n "(cached) " >&6
13843 else
13844 ac_wine_try_cflags_saved=$CFLAGS
13845 CFLAGS="$CFLAGS -Wvla"
13846 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13847 /* end confdefs.h. */
13848 int main(int argc, char **argv) { return 0; }
13849 _ACEOF
13850 if ac_fn_c_try_link "$LINENO"; then :
13851 ac_cv_cflags__Wvla=yes
13852 else
13853 ac_cv_cflags__Wvla=no
13855 rm -f core conftest.err conftest.$ac_objext \
13856 conftest$ac_exeext conftest.$ac_ext
13857 CFLAGS=$ac_wine_try_cflags_saved
13859 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wvla" >&5
13860 $as_echo "$ac_cv_cflags__Wvla" >&6; }
13861 if test "x$ac_cv_cflags__Wvla" = xyes; then :
13862 EXTRACFLAGS="$EXTRACFLAGS -Wvla"
13864 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wwrite-strings" >&5
13865 $as_echo_n "checking whether the compiler supports -Wwrite-strings... " >&6; }
13866 if ${ac_cv_cflags__Wwrite_strings+:} false; then :
13867 $as_echo_n "(cached) " >&6
13868 else
13869 ac_wine_try_cflags_saved=$CFLAGS
13870 CFLAGS="$CFLAGS -Wwrite-strings"
13871 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13872 /* end confdefs.h. */
13873 int main(int argc, char **argv) { return 0; }
13874 _ACEOF
13875 if ac_fn_c_try_link "$LINENO"; then :
13876 ac_cv_cflags__Wwrite_strings=yes
13877 else
13878 ac_cv_cflags__Wwrite_strings=no
13880 rm -f core conftest.err conftest.$ac_objext \
13881 conftest$ac_exeext conftest.$ac_ext
13882 CFLAGS=$ac_wine_try_cflags_saved
13884 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wwrite_strings" >&5
13885 $as_echo "$ac_cv_cflags__Wwrite_strings" >&6; }
13886 if test "x$ac_cv_cflags__Wwrite_strings" = xyes; then :
13887 EXTRACFLAGS="$EXTRACFLAGS -Wwrite-strings"
13890 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wpointer-arith" >&5
13891 $as_echo_n "checking whether the compiler supports -Wpointer-arith... " >&6; }
13892 if ${ac_cv_cflags__Wpointer_arith+:} false; then :
13893 $as_echo_n "(cached) " >&6
13894 else
13895 ac_wine_try_cflags_saved=$CFLAGS
13896 CFLAGS="$CFLAGS -Wpointer-arith"
13897 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13898 /* end confdefs.h. */
13899 int main(int argc, char **argv) { return 0; }
13900 _ACEOF
13901 if ac_fn_c_try_link "$LINENO"; then :
13902 ac_cv_cflags__Wpointer_arith=yes
13903 else
13904 ac_cv_cflags__Wpointer_arith=no
13906 rm -f core conftest.err conftest.$ac_objext \
13907 conftest$ac_exeext conftest.$ac_ext
13908 CFLAGS=$ac_wine_try_cflags_saved
13910 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wpointer_arith" >&5
13911 $as_echo "$ac_cv_cflags__Wpointer_arith" >&6; }
13912 if test "x$ac_cv_cflags__Wpointer_arith" = xyes; then :
13913 saved_string_h_CFLAGS=$CFLAGS
13914 CFLAGS="$CFLAGS -Wpointer-arith -Werror"
13915 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for broken string.h that generates warnings with -Wpointer-arith" >&5
13916 $as_echo_n "checking for broken string.h that generates warnings with -Wpointer-arith... " >&6; }
13917 if ${ac_cv_c_string_h_warnings+:} false; then :
13918 $as_echo_n "(cached) " >&6
13919 else
13920 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13921 /* end confdefs.h. */
13922 #include <string.h>
13924 main ()
13928 return 0;
13930 _ACEOF
13931 if ac_fn_c_try_compile "$LINENO"; then :
13932 ac_cv_c_string_h_warnings=no
13933 else
13934 ac_cv_c_string_h_warnings=yes
13936 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
13938 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_string_h_warnings" >&5
13939 $as_echo "$ac_cv_c_string_h_warnings" >&6; }
13940 test "$ac_cv_c_string_h_warnings" = yes || EXTRACFLAGS="$EXTRACFLAGS -Wpointer-arith"
13941 CFLAGS=$saved_string_h_CFLAGS
13944 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wlogical-op" >&5
13945 $as_echo_n "checking whether the compiler supports -Wlogical-op... " >&6; }
13946 if ${ac_cv_cflags__Wlogical_op+:} false; then :
13947 $as_echo_n "(cached) " >&6
13948 else
13949 ac_wine_try_cflags_saved=$CFLAGS
13950 CFLAGS="$CFLAGS -Wlogical-op"
13951 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13952 /* end confdefs.h. */
13953 int main(int argc, char **argv) { return 0; }
13954 _ACEOF
13955 if ac_fn_c_try_link "$LINENO"; then :
13956 ac_cv_cflags__Wlogical_op=yes
13957 else
13958 ac_cv_cflags__Wlogical_op=no
13960 rm -f core conftest.err conftest.$ac_objext \
13961 conftest$ac_exeext conftest.$ac_ext
13962 CFLAGS=$ac_wine_try_cflags_saved
13964 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wlogical_op" >&5
13965 $as_echo "$ac_cv_cflags__Wlogical_op" >&6; }
13966 if test "x$ac_cv_cflags__Wlogical_op" = xyes; then :
13967 saved_string_h_CFLAGS=$CFLAGS
13968 CFLAGS="$CFLAGS -Wlogical-op -Werror"
13969 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for broken string.h that generates warnings with -Wlogical-op" >&5
13970 $as_echo_n "checking for broken string.h that generates warnings with -Wlogical-op... " >&6; }
13971 if ${ac_cv_c_logicalop_noisy+:} false; then :
13972 $as_echo_n "(cached) " >&6
13973 else
13974 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13975 /* end confdefs.h. */
13976 #include <string.h>
13977 char*f(const char *h,char n) {return strchr(h,n);}
13979 main ()
13983 return 0;
13985 _ACEOF
13986 if ac_fn_c_try_compile "$LINENO"; then :
13987 ac_cv_c_logicalop_noisy=no
13988 else
13989 ac_cv_c_logicalop_noisy=yes
13991 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
13993 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_logicalop_noisy" >&5
13994 $as_echo "$ac_cv_c_logicalop_noisy" >&6; }
13995 CFLAGS=$saved_string_h_CFLAGS
13996 test "$ac_cv_c_logicalop_noisy" = yes || EXTRACFLAGS="$EXTRACFLAGS -Wlogical-op"
13999 CFLAGS=$saved_CFLAGS
14001 for ac_flag in $CFLAGS; do
14002 case $ac_flag in
14003 -g) case $host_os in
14004 darwin*) { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -gstabs+" >&5
14005 $as_echo_n "checking whether the compiler supports -gstabs+... " >&6; }
14006 if ${ac_cv_cflags__gstabsp+:} false; then :
14007 $as_echo_n "(cached) " >&6
14008 else
14009 ac_wine_try_cflags_saved=$CFLAGS
14010 CFLAGS="$CFLAGS -gstabs+"
14011 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14012 /* end confdefs.h. */
14013 int main(int argc, char **argv) { return 0; }
14014 _ACEOF
14015 if ac_fn_c_try_link "$LINENO"; then :
14016 ac_cv_cflags__gstabsp=yes
14017 else
14018 ac_cv_cflags__gstabsp=no
14020 rm -f core conftest.err conftest.$ac_objext \
14021 conftest$ac_exeext conftest.$ac_ext
14022 CFLAGS=$ac_wine_try_cflags_saved
14024 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__gstabsp" >&5
14025 $as_echo "$ac_cv_cflags__gstabsp" >&6; }
14026 if test "x$ac_cv_cflags__gstabsp" = xyes; then :
14027 EXTRACFLAGS="$EXTRACFLAGS -gstabs+"
14028 fi ;;
14029 *) { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -gdwarf-2" >&5
14030 $as_echo_n "checking whether the compiler supports -gdwarf-2... " >&6; }
14031 if ${ac_cv_cflags__gdwarf_2+:} false; then :
14032 $as_echo_n "(cached) " >&6
14033 else
14034 ac_wine_try_cflags_saved=$CFLAGS
14035 CFLAGS="$CFLAGS -gdwarf-2"
14036 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14037 /* end confdefs.h. */
14038 int main(int argc, char **argv) { return 0; }
14039 _ACEOF
14040 if ac_fn_c_try_link "$LINENO"; then :
14041 ac_cv_cflags__gdwarf_2=yes
14042 else
14043 ac_cv_cflags__gdwarf_2=no
14045 rm -f core conftest.err conftest.$ac_objext \
14046 conftest$ac_exeext conftest.$ac_ext
14047 CFLAGS=$ac_wine_try_cflags_saved
14049 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__gdwarf_2" >&5
14050 $as_echo "$ac_cv_cflags__gdwarf_2" >&6; }
14051 if test "x$ac_cv_cflags__gdwarf_2" = xyes; then :
14052 EXTRACFLAGS="$EXTRACFLAGS -gdwarf-2"
14054 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -gstrict-dwarf" >&5
14055 $as_echo_n "checking whether the compiler supports -gstrict-dwarf... " >&6; }
14056 if ${ac_cv_cflags__gstrict_dwarf+:} false; then :
14057 $as_echo_n "(cached) " >&6
14058 else
14059 ac_wine_try_cflags_saved=$CFLAGS
14060 CFLAGS="$CFLAGS -gstrict-dwarf"
14061 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14062 /* end confdefs.h. */
14063 int main(int argc, char **argv) { return 0; }
14064 _ACEOF
14065 if ac_fn_c_try_link "$LINENO"; then :
14066 ac_cv_cflags__gstrict_dwarf=yes
14067 else
14068 ac_cv_cflags__gstrict_dwarf=no
14070 rm -f core conftest.err conftest.$ac_objext \
14071 conftest$ac_exeext conftest.$ac_ext
14072 CFLAGS=$ac_wine_try_cflags_saved
14074 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__gstrict_dwarf" >&5
14075 $as_echo "$ac_cv_cflags__gstrict_dwarf" >&6; }
14076 if test "x$ac_cv_cflags__gstrict_dwarf" = xyes; then :
14077 EXTRACFLAGS="$EXTRACFLAGS -gstrict-dwarf"
14078 fi ;;
14079 esac ;;
14080 esac
14081 done
14083 case $host_cpu in
14084 *i[3456789]86*) { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -fno-omit-frame-pointer" >&5
14085 $as_echo_n "checking whether the compiler supports -fno-omit-frame-pointer... " >&6; }
14086 if ${ac_cv_cflags__fno_omit_frame_pointer+:} false; then :
14087 $as_echo_n "(cached) " >&6
14088 else
14089 ac_wine_try_cflags_saved=$CFLAGS
14090 CFLAGS="$CFLAGS -fno-omit-frame-pointer"
14091 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14092 /* end confdefs.h. */
14093 int main(int argc, char **argv) { return 0; }
14094 _ACEOF
14095 if ac_fn_c_try_link "$LINENO"; then :
14096 ac_cv_cflags__fno_omit_frame_pointer=yes
14097 else
14098 ac_cv_cflags__fno_omit_frame_pointer=no
14100 rm -f core conftest.err conftest.$ac_objext \
14101 conftest$ac_exeext conftest.$ac_ext
14102 CFLAGS=$ac_wine_try_cflags_saved
14104 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__fno_omit_frame_pointer" >&5
14105 $as_echo "$ac_cv_cflags__fno_omit_frame_pointer" >&6; }
14106 if test "x$ac_cv_cflags__fno_omit_frame_pointer" = xyes; then :
14107 EXTRACFLAGS="$EXTRACFLAGS -fno-omit-frame-pointer"
14108 fi ;;
14109 esac
14111 case $host in
14112 x86_64-*mingw32*|x86_64-*cygwin*) { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wno-format" >&5
14113 $as_echo_n "checking whether the compiler supports -Wno-format... " >&6; }
14114 if ${ac_cv_cflags__Wno_format+:} false; then :
14115 $as_echo_n "(cached) " >&6
14116 else
14117 ac_wine_try_cflags_saved=$CFLAGS
14118 CFLAGS="$CFLAGS -Wno-format"
14119 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14120 /* end confdefs.h. */
14121 int main(int argc, char **argv) { return 0; }
14122 _ACEOF
14123 if ac_fn_c_try_link "$LINENO"; then :
14124 ac_cv_cflags__Wno_format=yes
14125 else
14126 ac_cv_cflags__Wno_format=no
14128 rm -f core conftest.err conftest.$ac_objext \
14129 conftest$ac_exeext conftest.$ac_ext
14130 CFLAGS=$ac_wine_try_cflags_saved
14132 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wno_format" >&5
14133 $as_echo "$ac_cv_cflags__Wno_format" >&6; }
14134 if test "x$ac_cv_cflags__Wno_format" = xyes; then :
14135 EXTRACFLAGS="$EXTRACFLAGS -Wno-format"
14136 fi ;;
14137 esac
14139 if test "x$enable_maintainer_mode" = "xyes"
14140 then
14141 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Werror" >&5
14142 $as_echo_n "checking whether the compiler supports -Werror... " >&6; }
14143 if ${ac_cv_cflags__Werror+:} false; then :
14144 $as_echo_n "(cached) " >&6
14145 else
14146 ac_wine_try_cflags_saved=$CFLAGS
14147 CFLAGS="$CFLAGS -Werror"
14148 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14149 /* end confdefs.h. */
14150 int main(int argc, char **argv) { return 0; }
14151 _ACEOF
14152 if ac_fn_c_try_link "$LINENO"; then :
14153 ac_cv_cflags__Werror=yes
14154 else
14155 ac_cv_cflags__Werror=no
14157 rm -f core conftest.err conftest.$ac_objext \
14158 conftest$ac_exeext conftest.$ac_ext
14159 CFLAGS=$ac_wine_try_cflags_saved
14161 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Werror" >&5
14162 $as_echo "$ac_cv_cflags__Werror" >&6; }
14163 if test "x$ac_cv_cflags__Werror" = xyes; then :
14164 EXTRACFLAGS="$EXTRACFLAGS -Werror"
14168 saved_CFLAGS="$CFLAGS"
14169 CFLAGS="$CFLAGS -Werror"
14170 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ms_hook_prologue attribute" >&5
14171 $as_echo_n "checking for ms_hook_prologue attribute... " >&6; }
14172 if ${ac_cv_have_ms_hook_prologue+:} false; then :
14173 $as_echo_n "(cached) " >&6
14174 else
14175 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14176 /* end confdefs.h. */
14177 int __attribute__((__ms_hook_prologue__)) test(void) { return 0; }
14179 main ()
14183 return 0;
14185 _ACEOF
14186 if ac_fn_c_try_compile "$LINENO"; then :
14187 ac_cv_have_ms_hook_prologue="yes"
14188 else
14189 ac_cv_have_ms_hook_prologue="no"
14191 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
14193 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_have_ms_hook_prologue" >&5
14194 $as_echo "$ac_cv_have_ms_hook_prologue" >&6; }
14195 CFLAGS="$saved_CFLAGS"
14196 if test "$ac_cv_have_ms_hook_prologue" = "yes"
14197 then
14199 $as_echo "#define DECLSPEC_HOTPATCH __attribute__((__ms_hook_prologue__))" >>confdefs.h
14201 else
14202 $as_echo "#define DECLSPEC_HOTPATCH /* */" >>confdefs.h
14208 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for the need to disable Fortify" >&5
14209 $as_echo_n "checking for the need to disable Fortify... " >&6; }
14210 if ${ac_cv_c_fortify_enabled+:} false; then :
14211 $as_echo_n "(cached) " >&6
14212 else
14213 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14214 /* end confdefs.h. */
14215 #include <string.h>
14217 main ()
14219 #if defined(__USE_FORTIFY_LEVEL) && __USE_FORTIFY_LEVEL > 0
14220 #error Fortify enabled
14221 #endif
14223 return 0;
14225 _ACEOF
14226 if ac_fn_c_try_compile "$LINENO"; then :
14227 ac_cv_c_fortify_enabled=no
14228 else
14229 ac_cv_c_fortify_enabled=yes
14231 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
14233 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_fortify_enabled" >&5
14234 $as_echo "$ac_cv_c_fortify_enabled" >&6; }
14235 if test "$ac_cv_c_fortify_enabled" = yes
14236 then
14237 CFLAGS="$CFLAGS -U_FORTIFY_SOURCE -D_FORTIFY_SOURCE=0"
14241 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether external symbols need an underscore prefix" >&5
14242 $as_echo_n "checking whether external symbols need an underscore prefix... " >&6; }
14243 if ${ac_cv_c_extern_prefix+:} false; then :
14244 $as_echo_n "(cached) " >&6
14245 else
14246 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14247 /* end confdefs.h. */
14248 extern int ac_test;
14250 main ()
14252 asm(".globl _ac_test\n_ac_test:\t.long 0"); if (ac_test) return 1
14254 return 0;
14256 _ACEOF
14257 if ac_fn_c_try_link "$LINENO"; then :
14258 ac_cv_c_extern_prefix="yes"
14259 else
14260 ac_cv_c_extern_prefix="no"
14262 rm -f core conftest.err conftest.$ac_objext \
14263 conftest$ac_exeext conftest.$ac_ext
14265 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_extern_prefix" >&5
14266 $as_echo "$ac_cv_c_extern_prefix" >&6; }
14268 case $host_cpu in
14269 *i[3456789]86*)
14270 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether external symbols need stdcall decoration" >&5
14271 $as_echo_n "checking whether external symbols need stdcall decoration... " >&6; }
14272 if ${ac_cv_c_stdcall_suffix+:} false; then :
14273 $as_echo_n "(cached) " >&6
14274 else
14275 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14276 /* end confdefs.h. */
14277 #ifndef _MSC_VER
14278 #define __stdcall __attribute__((__stdcall__))
14279 #endif
14280 int __stdcall ac_test(int i) { return i; }
14282 main ()
14284 asm("jmp _ac_test@4"); if (ac_test(1)) return 1
14286 return 0;
14288 _ACEOF
14289 if ac_fn_c_try_link "$LINENO"; then :
14290 ac_cv_c_stdcall_suffix="yes"
14291 else
14292 ac_cv_c_stdcall_suffix="no"
14294 rm -f core conftest.err conftest.$ac_objext \
14295 conftest$ac_exeext conftest.$ac_ext
14297 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_stdcall_suffix" >&5
14298 $as_echo "$ac_cv_c_stdcall_suffix" >&6; } ;;
14299 *) ac_cv_c_stdcall_suffix="no" ;;
14300 esac
14303 if test "$ac_cv_c_extern_prefix" = "yes"
14304 then
14305 $as_echo "#define __ASM_NAME(name) \"_\" name" >>confdefs.h
14307 asm_name_prefix="_"
14308 else
14309 $as_echo "#define __ASM_NAME(name) name" >>confdefs.h
14311 asm_name_prefix=""
14315 if test "$ac_cv_c_stdcall_suffix" = "yes"
14316 then
14317 $as_echo "#define __ASM_STDCALL(args) \"@\" #args" >>confdefs.h
14319 else
14320 $as_echo "#define __ASM_STDCALL(args) \"\"" >>confdefs.h
14325 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to define a function in assembly code" >&5
14326 $as_echo_n "checking how to define a function in assembly code... " >&6; }
14327 if ${ac_cv_asm_func_def+:} false; then :
14328 $as_echo_n "(cached) " >&6
14329 else
14330 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14331 /* end confdefs.h. */
14334 main ()
14336 asm("\t.globl _ac_test\n\t.def _ac_test; .scl 2; .type 32; .endef\n_ac_test:\t.long 0");
14338 return 0;
14340 _ACEOF
14341 if ac_fn_c_try_link "$LINENO"; then :
14342 ac_cv_asm_func_def=".def"
14343 else
14344 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14345 /* end confdefs.h. */
14348 main ()
14350 asm("\t.globl _ac_test\n\t.type _ac_test,@function\n_ac_test:\t.long 0");
14352 return 0;
14354 _ACEOF
14355 if ac_fn_c_try_link "$LINENO"; then :
14356 ac_cv_asm_func_def=".type @function"
14357 else
14358 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14359 /* end confdefs.h. */
14362 main ()
14364 asm("\t.globl _ac_test\n\t.type _ac_test,2\n_ac_test:\t.long 0");
14366 return 0;
14368 _ACEOF
14369 if ac_fn_c_try_link "$LINENO"; then :
14370 ac_cv_asm_func_def=".type 2"
14371 else
14372 ac_cv_asm_func_def="unknown"
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 rm -f core conftest.err conftest.$ac_objext \
14381 conftest$ac_exeext conftest.$ac_ext
14383 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_asm_func_def" >&5
14384 $as_echo "$ac_cv_asm_func_def" >&6; }
14387 case "$ac_cv_asm_func_def" in
14388 ".def")
14389 $as_echo "#define __ASM_FUNC(name) \".def \" __ASM_NAME(name) \"; .scl 2; .type 32; .endef\"" >>confdefs.h
14391 asm_func_header=".def $asm_name_prefix\" #name suffix \"; .scl 2; .type 32; .endef" ;;
14392 ".type @function")
14393 $as_echo "#define __ASM_FUNC(name) \".type \" __ASM_NAME(name) \",@function\"" >>confdefs.h
14395 asm_func_header=".type $asm_name_prefix\" #name suffix \",@function" ;;
14396 ".type 2")
14397 $as_echo "#define __ASM_FUNC(name) \".type \" __ASM_NAME(name) \",2\"" >>confdefs.h
14399 asm_func_header=".type $asm_name_prefix\" #name suffix \",2" ;;
14401 $as_echo "#define __ASM_FUNC(name) \"\"" >>confdefs.h
14403 asm_func_header="" ;;
14404 esac
14406 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether asm() works outside of functions" >&5
14407 $as_echo_n "checking whether asm() works outside of functions... " >&6; }
14408 if ${ac_cv_c_asm_outside_funcs+:} false; then :
14409 $as_echo_n "(cached) " >&6
14410 else
14411 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14412 /* end confdefs.h. */
14413 asm(".text\n\t.long 0");
14415 main ()
14419 return 0;
14421 _ACEOF
14422 if ac_fn_c_try_compile "$LINENO"; then :
14423 ac_cv_c_asm_outside_funcs="yes"
14424 else
14425 ac_cv_c_asm_outside_funcs="no"
14427 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
14429 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_asm_outside_funcs" >&5
14430 $as_echo "$ac_cv_c_asm_outside_funcs" >&6; }
14432 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether .previous is supported in assembly code" >&5
14433 $as_echo_n "checking whether .previous is supported in assembly code... " >&6; }
14434 if ${ac_cv_c_dot_previous+:} false; then :
14435 $as_echo_n "(cached) " >&6
14436 else
14437 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14438 /* end confdefs.h. */
14441 main ()
14443 asm(".text\nac_test:\t.long 0\n\t.previous");
14445 return 0;
14447 _ACEOF
14448 if ac_fn_c_try_link "$LINENO"; then :
14449 ac_cv_c_dot_previous="yes"
14450 else
14451 ac_cv_c_dot_previous="no"
14453 rm -f core conftest.err conftest.$ac_objext \
14454 conftest$ac_exeext conftest.$ac_ext
14456 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_dot_previous" >&5
14457 $as_echo "$ac_cv_c_dot_previous" >&6; }
14459 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether CFI directives are supported in assembly code" >&5
14460 $as_echo_n "checking whether CFI directives are supported in assembly code... " >&6; }
14461 if ${ac_cv_c_cfi_support+:} false; then :
14462 $as_echo_n "(cached) " >&6
14463 else
14464 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14465 /* end confdefs.h. */
14466 asm(".text\nac_test:\t.cfi_startproc\n\t.long 0\n\t.cfi_endproc");
14468 main ()
14472 return 0;
14474 _ACEOF
14475 if ac_fn_c_try_compile "$LINENO"; then :
14476 ac_cv_c_cfi_support="yes"
14477 else
14478 ac_cv_c_cfi_support="no"
14480 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
14482 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_cfi_support" >&5
14483 $as_echo "$ac_cv_c_cfi_support" >&6; }
14485 asm_func_header=".globl $asm_name_prefix\" #name suffix \"\\n\\t$asm_func_header\\n$asm_name_prefix\" #name suffix \":\\n\\t"
14486 asm_func_trailer=""
14487 if test "$ac_cv_c_dot_previous" = "yes"
14488 then
14489 asm_func_trailer="\\n\\t.previous"
14491 if test "$ac_cv_c_cfi_support" = "yes"
14492 then
14493 asm_func_header="$asm_func_header.cfi_startproc\\n\\t"
14494 asm_func_trailer="\\n\\t.cfi_endproc$asm_func_trailer"
14496 $as_echo "#define __ASM_CFI(str) str" >>confdefs.h
14498 UNWINDFLAGS=-fasynchronous-unwind-tables
14500 else
14501 $as_echo "#define __ASM_CFI(str) \"\"" >>confdefs.h
14505 asm_func_code="$asm_func_header\" code \"$asm_func_trailer"
14508 if test "$ac_cv_c_asm_outside_funcs" = "yes"
14509 then
14510 cat >>confdefs.h <<_ACEOF
14511 #define __ASM_DEFINE_FUNC(name,suffix,code) asm(".text\n\t.align 4\n\t$asm_func_code");
14512 _ACEOF
14514 else
14515 cat >>confdefs.h <<_ACEOF
14516 #define __ASM_DEFINE_FUNC(name,suffix,code) void __asm_dummy_##name(void) { asm(".text\n\t.align 4\n\t$asm_func_code"); }
14517 _ACEOF
14521 $as_echo "#define __ASM_GLOBAL_FUNC(name,code) __ASM_DEFINE_FUNC(name,\"\",code)" >>confdefs.h
14524 $as_echo "#define __ASM_STDCALL_FUNC(name,args,code) __ASM_DEFINE_FUNC(name,__ASM_STDCALL(args),code)" >>confdefs.h
14528 case $build_os in
14529 cygwin*|mingw32*) TOOLSEXT=".exe"
14531 esac
14533 case $host_os in
14534 linux*)
14535 case $host_cpu in
14536 *i[3456789]86*|x86_64*)
14537 test "$wine_binary" = wine || wine_fn_ignore_file "loader/wine-preloader"
14538 loader_programs="$loader_programs $wine_binary-preloader"
14539 as_fn_append LOADER_RULES "
14540 $wine_binary-preloader: preloader.o
14541 \$(CC) -o \$@ -static -nostartfiles -nodefaultlibs -Wl,-Ttext=0x7c400000 preloader.o \$(LIBPORT) \$(LDFLAGS)
14543 install install-lib:: $wine_binary-preloader
14544 \$(INSTALL_PROGRAM) $wine_binary-preloader \$(DESTDIR)\$(bindir)/$wine_binary-preloader
14546 uninstall::
14547 \$(RM) \$(DESTDIR)\$(bindir)/$wine_binary-preloader
14549 preloader_EXTRADEFS = $BUILTINFLAG
14550 " ;;
14551 esac
14553 esac
14554 as_fn_append LOADER_RULES "
14555 PROGRAMS = $loader_programs
14559 ac_save_CFLAGS="$CFLAGS"
14560 CFLAGS="$CFLAGS $BUILTINFLAG"
14561 for ac_func in \
14562 __res_get_state \
14563 __res_getservers \
14564 _finite \
14565 _isnan \
14566 _pclose \
14567 _popen \
14568 _snprintf \
14569 _spawnvp \
14570 _strdup \
14571 _stricmp \
14572 _strnicmp \
14573 _strtoi64 \
14574 _strtoui64 \
14575 _vsnprintf \
14576 asctime_r \
14577 chsize \
14578 dlopen \
14579 epoll_create \
14580 ffs \
14581 fnmatch \
14582 fork \
14583 fpclass \
14584 fstatfs \
14585 fstatvfs \
14586 ftruncate \
14587 futimens \
14588 futimes \
14589 futimesat \
14590 getattrlist \
14591 getdirentries \
14592 getopt_long_only \
14593 getpwuid \
14594 gettimeofday \
14595 getuid \
14596 if_nameindex \
14597 kqueue \
14598 lstat \
14599 memmove \
14600 mmap \
14601 pclose \
14602 pipe2 \
14603 poll \
14604 popen \
14605 port_create \
14606 prctl \
14607 pread \
14608 proc_pidinfo \
14609 pwrite \
14610 readdir \
14611 readlink \
14612 sched_yield \
14613 select \
14614 setproctitle \
14615 setrlimit \
14616 settimeofday \
14617 sigaltstack \
14618 sigprocmask \
14619 snprintf \
14620 statfs \
14621 statvfs \
14622 strcasecmp \
14623 strdup \
14624 strerror \
14625 strncasecmp \
14626 strtold \
14627 strtoll \
14628 strtoull \
14629 symlink \
14630 tcdrain \
14631 thr_kill2 \
14632 timegm \
14633 usleep \
14634 vsnprintf
14636 do :
14637 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
14638 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
14639 if eval test \"x\$"$as_ac_var"\" = x"yes"; then :
14640 cat >>confdefs.h <<_ACEOF
14641 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
14642 _ACEOF
14645 done
14647 CFLAGS="$ac_save_CFLAGS"
14649 if test "$ac_cv_func_dlopen" = no
14650 then
14651 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dlopen in -ldl" >&5
14652 $as_echo_n "checking for dlopen in -ldl... " >&6; }
14653 if ${ac_cv_lib_dl_dlopen+:} false; then :
14654 $as_echo_n "(cached) " >&6
14655 else
14656 ac_check_lib_save_LIBS=$LIBS
14657 LIBS="-ldl $LIBS"
14658 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14659 /* end confdefs.h. */
14661 /* Override any GCC internal prototype to avoid an error.
14662 Use char because int might match the return type of a GCC
14663 builtin and then its argument prototype would still apply. */
14664 #ifdef __cplusplus
14665 extern "C"
14666 #endif
14667 char dlopen ();
14669 main ()
14671 return dlopen ();
14673 return 0;
14675 _ACEOF
14676 if ac_fn_c_try_link "$LINENO"; then :
14677 ac_cv_lib_dl_dlopen=yes
14678 else
14679 ac_cv_lib_dl_dlopen=no
14681 rm -f core conftest.err conftest.$ac_objext \
14682 conftest$ac_exeext conftest.$ac_ext
14683 LIBS=$ac_check_lib_save_LIBS
14685 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dl_dlopen" >&5
14686 $as_echo "$ac_cv_lib_dl_dlopen" >&6; }
14687 if test "x$ac_cv_lib_dl_dlopen" = xyes; then :
14688 $as_echo "#define HAVE_DLOPEN 1" >>confdefs.h
14689 DL_LIBS="-ldl"
14694 ac_wine_check_funcs_save_LIBS="$LIBS"
14695 LIBS="$LIBS $DL_LIBS"
14696 for ac_func in dladdr
14697 do :
14698 ac_fn_c_check_func "$LINENO" "dladdr" "ac_cv_func_dladdr"
14699 if test "x$ac_cv_func_dladdr" = xyes; then :
14700 cat >>confdefs.h <<_ACEOF
14701 #define HAVE_DLADDR 1
14702 _ACEOF
14705 done
14707 LIBS="$ac_wine_check_funcs_save_LIBS"
14709 if test "$ac_cv_func_poll" = no
14710 then
14711 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for poll in -lpoll" >&5
14712 $as_echo_n "checking for poll in -lpoll... " >&6; }
14713 if ${ac_cv_lib_poll_poll+:} false; then :
14714 $as_echo_n "(cached) " >&6
14715 else
14716 ac_check_lib_save_LIBS=$LIBS
14717 LIBS="-lpoll $LIBS"
14718 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14719 /* end confdefs.h. */
14721 /* Override any GCC internal prototype to avoid an error.
14722 Use char because int might match the return type of a GCC
14723 builtin and then its argument prototype would still apply. */
14724 #ifdef __cplusplus
14725 extern "C"
14726 #endif
14727 char poll ();
14729 main ()
14731 return poll ();
14733 return 0;
14735 _ACEOF
14736 if ac_fn_c_try_link "$LINENO"; then :
14737 ac_cv_lib_poll_poll=yes
14738 else
14739 ac_cv_lib_poll_poll=no
14741 rm -f core conftest.err conftest.$ac_objext \
14742 conftest$ac_exeext conftest.$ac_ext
14743 LIBS=$ac_check_lib_save_LIBS
14745 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_poll_poll" >&5
14746 $as_echo "$ac_cv_lib_poll_poll" >&6; }
14747 if test "x$ac_cv_lib_poll_poll" = xyes; then :
14748 $as_echo "#define HAVE_POLL 1" >>confdefs.h
14749 POLL_LIBS="-lpoll"
14755 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for library containing gethostbyname" >&5
14756 $as_echo_n "checking for library containing gethostbyname... " >&6; }
14757 if ${ac_cv_search_gethostbyname+:} false; then :
14758 $as_echo_n "(cached) " >&6
14759 else
14760 ac_func_search_save_LIBS=$LIBS
14761 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14762 /* end confdefs.h. */
14764 /* Override any GCC internal prototype to avoid an error.
14765 Use char because int might match the return type of a GCC
14766 builtin and then its argument prototype would still apply. */
14767 #ifdef __cplusplus
14768 extern "C"
14769 #endif
14770 char gethostbyname ();
14772 main ()
14774 return gethostbyname ();
14776 return 0;
14778 _ACEOF
14779 for ac_lib in '' nsl; do
14780 if test -z "$ac_lib"; then
14781 ac_res="none required"
14782 else
14783 ac_res=-l$ac_lib
14784 LIBS="-l$ac_lib $ac_func_search_save_LIBS"
14786 if ac_fn_c_try_link "$LINENO"; then :
14787 ac_cv_search_gethostbyname=$ac_res
14789 rm -f core conftest.err conftest.$ac_objext \
14790 conftest$ac_exeext
14791 if ${ac_cv_search_gethostbyname+:} false; then :
14792 break
14794 done
14795 if ${ac_cv_search_gethostbyname+:} false; then :
14797 else
14798 ac_cv_search_gethostbyname=no
14800 rm conftest.$ac_ext
14801 LIBS=$ac_func_search_save_LIBS
14803 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_search_gethostbyname" >&5
14804 $as_echo "$ac_cv_search_gethostbyname" >&6; }
14805 ac_res=$ac_cv_search_gethostbyname
14806 if test "$ac_res" != no; then :
14807 test "$ac_res" = "none required" || LIBS="$ac_res $LIBS"
14812 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for library containing connect" >&5
14813 $as_echo_n "checking for library containing connect... " >&6; }
14814 if ${ac_cv_search_connect+:} false; then :
14815 $as_echo_n "(cached) " >&6
14816 else
14817 ac_func_search_save_LIBS=$LIBS
14818 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14819 /* end confdefs.h. */
14821 /* Override any GCC internal prototype to avoid an error.
14822 Use char because int might match the return type of a GCC
14823 builtin and then its argument prototype would still apply. */
14824 #ifdef __cplusplus
14825 extern "C"
14826 #endif
14827 char connect ();
14829 main ()
14831 return connect ();
14833 return 0;
14835 _ACEOF
14836 for ac_lib in '' socket; do
14837 if test -z "$ac_lib"; then
14838 ac_res="none required"
14839 else
14840 ac_res=-l$ac_lib
14841 LIBS="-l$ac_lib $ac_func_search_save_LIBS"
14843 if ac_fn_c_try_link "$LINENO"; then :
14844 ac_cv_search_connect=$ac_res
14846 rm -f core conftest.err conftest.$ac_objext \
14847 conftest$ac_exeext
14848 if ${ac_cv_search_connect+:} false; then :
14849 break
14851 done
14852 if ${ac_cv_search_connect+:} false; then :
14854 else
14855 ac_cv_search_connect=no
14857 rm conftest.$ac_ext
14858 LIBS=$ac_func_search_save_LIBS
14860 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_search_connect" >&5
14861 $as_echo "$ac_cv_search_connect" >&6; }
14862 ac_res=$ac_cv_search_connect
14863 if test "$ac_res" != no; then :
14864 test "$ac_res" = "none required" || LIBS="$ac_res $LIBS"
14869 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for library containing inet_aton" >&5
14870 $as_echo_n "checking for library containing inet_aton... " >&6; }
14871 if ${ac_cv_search_inet_aton+:} false; then :
14872 $as_echo_n "(cached) " >&6
14873 else
14874 ac_func_search_save_LIBS=$LIBS
14875 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14876 /* end confdefs.h. */
14878 /* Override any GCC internal prototype to avoid an error.
14879 Use char because int might match the return type of a GCC
14880 builtin and then its argument prototype would still apply. */
14881 #ifdef __cplusplus
14882 extern "C"
14883 #endif
14884 char inet_aton ();
14886 main ()
14888 return inet_aton ();
14890 return 0;
14892 _ACEOF
14893 for ac_lib in '' resolv; do
14894 if test -z "$ac_lib"; then
14895 ac_res="none required"
14896 else
14897 ac_res=-l$ac_lib
14898 LIBS="-l$ac_lib $ac_func_search_save_LIBS"
14900 if ac_fn_c_try_link "$LINENO"; then :
14901 ac_cv_search_inet_aton=$ac_res
14903 rm -f core conftest.err conftest.$ac_objext \
14904 conftest$ac_exeext
14905 if ${ac_cv_search_inet_aton+:} false; then :
14906 break
14908 done
14909 if ${ac_cv_search_inet_aton+:} false; then :
14911 else
14912 ac_cv_search_inet_aton=no
14914 rm conftest.$ac_ext
14915 LIBS=$ac_func_search_save_LIBS
14917 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_search_inet_aton" >&5
14918 $as_echo "$ac_cv_search_inet_aton" >&6; }
14919 ac_res=$ac_cv_search_inet_aton
14920 if test "$ac_res" != no; then :
14921 test "$ac_res" = "none required" || LIBS="$ac_res $LIBS"
14926 for ac_func in \
14927 getaddrinfo \
14928 getnameinfo \
14929 getnetbyname \
14930 getprotobyname \
14931 getprotobynumber \
14932 getservbyport \
14933 inet_addr \
14934 inet_network \
14935 inet_ntop \
14936 inet_pton \
14937 sendmsg \
14938 socketpair \
14940 do :
14941 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
14942 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
14943 if eval test \"x\$"$as_ac_var"\" = x"yes"; then :
14944 cat >>confdefs.h <<_ACEOF
14945 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
14946 _ACEOF
14949 done
14952 ac_save_LIBS=$LIBS
14953 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for library containing clock_gettime" >&5
14954 $as_echo_n "checking for library containing clock_gettime... " >&6; }
14955 if ${ac_cv_search_clock_gettime+:} false; then :
14956 $as_echo_n "(cached) " >&6
14957 else
14958 ac_func_search_save_LIBS=$LIBS
14959 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14960 /* end confdefs.h. */
14962 /* Override any GCC internal prototype to avoid an error.
14963 Use char because int might match the return type of a GCC
14964 builtin and then its argument prototype would still apply. */
14965 #ifdef __cplusplus
14966 extern "C"
14967 #endif
14968 char clock_gettime ();
14970 main ()
14972 return clock_gettime ();
14974 return 0;
14976 _ACEOF
14977 for ac_lib in '' rt; do
14978 if test -z "$ac_lib"; then
14979 ac_res="none required"
14980 else
14981 ac_res=-l$ac_lib
14982 LIBS="-l$ac_lib $ac_func_search_save_LIBS"
14984 if ac_fn_c_try_link "$LINENO"; then :
14985 ac_cv_search_clock_gettime=$ac_res
14987 rm -f core conftest.err conftest.$ac_objext \
14988 conftest$ac_exeext
14989 if ${ac_cv_search_clock_gettime+:} false; then :
14990 break
14992 done
14993 if ${ac_cv_search_clock_gettime+:} false; then :
14995 else
14996 ac_cv_search_clock_gettime=no
14998 rm conftest.$ac_ext
14999 LIBS=$ac_func_search_save_LIBS
15001 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_search_clock_gettime" >&5
15002 $as_echo "$ac_cv_search_clock_gettime" >&6; }
15003 ac_res=$ac_cv_search_clock_gettime
15004 if test "$ac_res" != no; then :
15005 test "$ac_res" = "none required" || LIBS="$ac_res $LIBS"
15007 $as_echo "#define HAVE_CLOCK_GETTIME 1" >>confdefs.h
15009 test "$ac_res" = "none required" || RT_LIBS="$ac_res"
15013 LIBS=$ac_save_LIBS
15015 LDAP_LIBS=""
15017 if test "$ac_cv_header_ldap_h" = "yes" -a "$ac_cv_header_lber_h" = "yes"
15018 then
15019 ac_fn_c_check_type "$LINENO" "LDAPSortKey" "ac_cv_type_LDAPSortKey" "#include <ldap.h>
15021 if test "x$ac_cv_type_LDAPSortKey" = xyes; then :
15022 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ldap_initialize in -lldap_r" >&5
15023 $as_echo_n "checking for ldap_initialize in -lldap_r... " >&6; }
15024 if ${ac_cv_lib_ldap_r_ldap_initialize+:} false; then :
15025 $as_echo_n "(cached) " >&6
15026 else
15027 ac_check_lib_save_LIBS=$LIBS
15028 LIBS="-lldap_r $PTHREAD_LIBS $LIBS"
15029 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15030 /* end confdefs.h. */
15032 /* Override any GCC internal prototype to avoid an error.
15033 Use char because int might match the return type of a GCC
15034 builtin and then its argument prototype would still apply. */
15035 #ifdef __cplusplus
15036 extern "C"
15037 #endif
15038 char ldap_initialize ();
15040 main ()
15042 return ldap_initialize ();
15044 return 0;
15046 _ACEOF
15047 if ac_fn_c_try_link "$LINENO"; then :
15048 ac_cv_lib_ldap_r_ldap_initialize=yes
15049 else
15050 ac_cv_lib_ldap_r_ldap_initialize=no
15052 rm -f core conftest.err conftest.$ac_objext \
15053 conftest$ac_exeext conftest.$ac_ext
15054 LIBS=$ac_check_lib_save_LIBS
15056 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_ldap_r_ldap_initialize" >&5
15057 $as_echo "$ac_cv_lib_ldap_r_ldap_initialize" >&6; }
15058 if test "x$ac_cv_lib_ldap_r_ldap_initialize" = xyes; then :
15059 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ber_init in -llber" >&5
15060 $as_echo_n "checking for ber_init in -llber... " >&6; }
15061 if ${ac_cv_lib_lber_ber_init+:} false; then :
15062 $as_echo_n "(cached) " >&6
15063 else
15064 ac_check_lib_save_LIBS=$LIBS
15065 LIBS="-llber $PTHREAD_LIBS $LIBS"
15066 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15067 /* end confdefs.h. */
15069 /* Override any GCC internal prototype to avoid an error.
15070 Use char because int might match the return type of a GCC
15071 builtin and then its argument prototype would still apply. */
15072 #ifdef __cplusplus
15073 extern "C"
15074 #endif
15075 char ber_init ();
15077 main ()
15079 return ber_init ();
15081 return 0;
15083 _ACEOF
15084 if ac_fn_c_try_link "$LINENO"; then :
15085 ac_cv_lib_lber_ber_init=yes
15086 else
15087 ac_cv_lib_lber_ber_init=no
15089 rm -f core conftest.err conftest.$ac_objext \
15090 conftest$ac_exeext conftest.$ac_ext
15091 LIBS=$ac_check_lib_save_LIBS
15093 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_lber_ber_init" >&5
15094 $as_echo "$ac_cv_lib_lber_ber_init" >&6; }
15095 if test "x$ac_cv_lib_lber_ber_init" = xyes; then :
15097 $as_echo "#define HAVE_LDAP 1" >>confdefs.h
15099 LDAP_LIBS="-lldap_r -llber"
15106 ac_wine_check_funcs_save_LIBS="$LIBS"
15107 LIBS="$LIBS $LDAP_LIBS $PTHREAD_LIBS"
15108 for ac_func in \
15109 ldap_count_references \
15110 ldap_first_reference \
15111 ldap_next_reference \
15112 ldap_parse_reference \
15113 ldap_parse_sort_control \
15114 ldap_parse_sortresponse_control \
15115 ldap_parse_vlv_control \
15116 ldap_parse_vlvresponse_control
15117 do :
15118 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
15119 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
15120 if eval test \"x\$"$as_ac_var"\" = x"yes"; then :
15121 cat >>confdefs.h <<_ACEOF
15122 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
15123 _ACEOF
15126 done
15128 LIBS="$ac_wine_check_funcs_save_LIBS"
15130 if test "x$LDAP_LIBS" = "x"; then :
15131 case "x$with_ldap" in
15132 x) as_fn_append wine_notices "|libldap (OpenLDAP) ${notice_platform}development files not found, LDAP won't be supported." ;;
15133 xno) ;;
15134 *) as_fn_error $? "libldap (OpenLDAP) ${notice_platform}development files not found, LDAP won't be supported.
15135 This is an error since --with-ldap was requested." "$LINENO" 5 ;;
15136 esac
15139 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether mkdir takes only one argument" >&5
15140 $as_echo_n "checking whether mkdir takes only one argument... " >&6; }
15141 if ${wine_cv_one_arg_mkdir+:} false; then :
15142 $as_echo_n "(cached) " >&6
15143 else
15144 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15145 /* end confdefs.h. */
15146 #include <sys/stat.h>
15148 main ()
15150 mkdir("foo");
15152 return 0;
15154 _ACEOF
15155 if ac_fn_c_try_compile "$LINENO"; then :
15156 wine_cv_one_arg_mkdir=yes
15157 else
15158 wine_cv_one_arg_mkdir=no
15160 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
15162 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $wine_cv_one_arg_mkdir" >&5
15163 $as_echo "$wine_cv_one_arg_mkdir" >&6; }
15164 if test "$wine_cv_one_arg_mkdir" = "yes"
15165 then
15167 $as_echo "#define HAVE_ONE_ARG_MKDIR 1" >>confdefs.h
15171 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sched_setaffinity" >&5
15172 $as_echo_n "checking for sched_setaffinity... " >&6; }
15173 if ${wine_cv_have_sched_setaffinity+:} false; then :
15174 $as_echo_n "(cached) " >&6
15175 else
15176 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15177 /* end confdefs.h. */
15178 #define _GNU_SOURCE
15179 #include <sched.h>
15181 main ()
15183 sched_setaffinity(0, 0, 0);
15185 return 0;
15187 _ACEOF
15188 if ac_fn_c_try_link "$LINENO"; then :
15189 wine_cv_have_sched_setaffinity=yes
15190 else
15191 wine_cv_have_sched_setaffinity=no
15193 rm -f core conftest.err conftest.$ac_objext \
15194 conftest$ac_exeext conftest.$ac_ext
15196 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $wine_cv_have_sched_setaffinity" >&5
15197 $as_echo "$wine_cv_have_sched_setaffinity" >&6; }
15198 if test "$wine_cv_have_sched_setaffinity" = "yes"
15199 then
15201 $as_echo "#define HAVE_SCHED_SETAFFINITY 1" >>confdefs.h
15205 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for fallocate" >&5
15206 $as_echo_n "checking for fallocate... " >&6; }
15207 if ${wine_cv_have_fallocate+:} false; then :
15208 $as_echo_n "(cached) " >&6
15209 else
15210 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15211 /* end confdefs.h. */
15212 #define _GNU_SOURCE
15213 #include <fcntl.h>
15215 main ()
15217 fallocate(-1, 0, 0, 0);
15219 return 0;
15221 _ACEOF
15222 if ac_fn_c_try_link "$LINENO"; then :
15223 wine_cv_have_fallocate=yes
15224 else
15225 wine_cv_have_fallocate=no
15227 rm -f core conftest.err conftest.$ac_objext \
15228 conftest$ac_exeext conftest.$ac_ext
15230 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $wine_cv_have_fallocate" >&5
15231 $as_echo "$wine_cv_have_fallocate" >&6; }
15232 if test "$wine_cv_have_fallocate" = "yes"
15233 then
15235 $as_echo "#define HAVE_FALLOCATE 1" >>confdefs.h
15240 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for inline" >&5
15241 $as_echo_n "checking for inline... " >&6; }
15242 if ${ac_cv_c_inline+:} false; then :
15243 $as_echo_n "(cached) " >&6
15244 else
15245 ac_cv_c_inline=no
15246 for ac_kw in inline __inline__ __inline; do
15247 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15248 /* end confdefs.h. */
15249 #ifndef __cplusplus
15250 typedef int foo_t;
15251 static $ac_kw foo_t static_foo () {return 0; }
15252 $ac_kw foo_t foo () {return 0; }
15253 #endif
15255 _ACEOF
15256 if ac_fn_c_try_compile "$LINENO"; then :
15257 ac_cv_c_inline=$ac_kw
15259 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
15260 test "$ac_cv_c_inline" != no && break
15261 done
15264 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_inline" >&5
15265 $as_echo "$ac_cv_c_inline" >&6; }
15267 case $ac_cv_c_inline in
15268 inline | yes) ;;
15270 case $ac_cv_c_inline in
15271 no) ac_val=;;
15272 *) ac_val=$ac_cv_c_inline;;
15273 esac
15274 cat >>confdefs.h <<_ACEOF
15275 #ifndef __cplusplus
15276 #define inline $ac_val
15277 #endif
15278 _ACEOF
15280 esac
15282 ac_fn_c_check_type "$LINENO" "mode_t" "ac_cv_type_mode_t" "$ac_includes_default"
15283 if test "x$ac_cv_type_mode_t" = xyes; then :
15285 cat >>confdefs.h <<_ACEOF
15286 #define HAVE_MODE_T 1
15287 _ACEOF
15291 ac_fn_c_check_type "$LINENO" "off_t" "ac_cv_type_off_t" "$ac_includes_default"
15292 if test "x$ac_cv_type_off_t" = xyes; then :
15294 cat >>confdefs.h <<_ACEOF
15295 #define HAVE_OFF_T 1
15296 _ACEOF
15300 ac_fn_c_check_type "$LINENO" "pid_t" "ac_cv_type_pid_t" "$ac_includes_default"
15301 if test "x$ac_cv_type_pid_t" = xyes; then :
15303 cat >>confdefs.h <<_ACEOF
15304 #define HAVE_PID_T 1
15305 _ACEOF
15309 ac_fn_c_check_type "$LINENO" "size_t" "ac_cv_type_size_t" "$ac_includes_default"
15310 if test "x$ac_cv_type_size_t" = xyes; then :
15312 cat >>confdefs.h <<_ACEOF
15313 #define HAVE_SIZE_T 1
15314 _ACEOF
15318 ac_fn_c_check_type "$LINENO" "ssize_t" "ac_cv_type_ssize_t" "$ac_includes_default"
15319 if test "x$ac_cv_type_ssize_t" = xyes; then :
15321 cat >>confdefs.h <<_ACEOF
15322 #define HAVE_SSIZE_T 1
15323 _ACEOF
15327 ac_fn_c_check_type "$LINENO" "long long" "ac_cv_type_long_long" "$ac_includes_default"
15328 if test "x$ac_cv_type_long_long" = xyes; then :
15330 cat >>confdefs.h <<_ACEOF
15331 #define HAVE_LONG_LONG 1
15332 _ACEOF
15336 ac_fn_c_check_type "$LINENO" "fsblkcnt_t" "ac_cv_type_fsblkcnt_t" "$ac_includes_default"
15337 if test "x$ac_cv_type_fsblkcnt_t" = xyes; then :
15339 cat >>confdefs.h <<_ACEOF
15340 #define HAVE_FSBLKCNT_T 1
15341 _ACEOF
15345 ac_fn_c_check_type "$LINENO" "fsfilcnt_t" "ac_cv_type_fsfilcnt_t" "$ac_includes_default"
15346 if test "x$ac_cv_type_fsfilcnt_t" = xyes; then :
15348 cat >>confdefs.h <<_ACEOF
15349 #define HAVE_FSFILCNT_T 1
15350 _ACEOF
15355 ac_fn_c_check_type "$LINENO" "sigset_t" "ac_cv_type_sigset_t" "#include <sys/types.h>
15356 #include <signal.h>
15358 if test "x$ac_cv_type_sigset_t" = xyes; then :
15360 cat >>confdefs.h <<_ACEOF
15361 #define HAVE_SIGSET_T 1
15362 _ACEOF
15367 ac_fn_c_check_type "$LINENO" "request_sense" "ac_cv_type_request_sense" "#include <linux/cdrom.h>
15369 if test "x$ac_cv_type_request_sense" = xyes; then :
15371 cat >>confdefs.h <<_ACEOF
15372 #define HAVE_REQUEST_SENSE 1
15373 _ACEOF
15379 ac_fn_c_check_type "$LINENO" "struct xinpgen" "ac_cv_type_struct_xinpgen" "#include <sys/types.h>
15380 #ifdef HAVE_SYS_SOCKET_H
15381 #include <sys/socket.h>
15382 #endif
15383 #ifdef HAVE_SYS_SOCKETVAR_H
15384 #include <sys/socketvar.h>
15385 #endif
15386 #ifdef HAVE_NET_ROUTE_H
15387 #include <net/route.h>
15388 #endif
15389 #ifdef HAVE_NETINET_IN_H
15390 #include <netinet/in.h>
15391 #endif
15392 #ifdef HAVE_NETINET_IN_SYSTM_H
15393 #include <netinet/in_systm.h>
15394 #endif
15395 #ifdef HAVE_NETINET_IP_H
15396 #include <netinet/ip.h>
15397 #endif
15398 #ifdef HAVE_NETINET_IN_PCB_H
15399 #include <netinet/in_pcb.h>
15400 #endif
15402 if test "x$ac_cv_type_struct_xinpgen" = xyes; then :
15404 cat >>confdefs.h <<_ACEOF
15405 #define HAVE_STRUCT_XINPGEN 1
15406 _ACEOF
15412 ac_fn_c_check_type "$LINENO" "struct r_debug" "ac_cv_type_struct_r_debug" "#ifdef HAVE_LINK_H
15413 #include <link.h>
15414 #endif
15415 #ifdef HAVE_SYS_LINK_H
15416 #include <sys/link.h>
15417 #endif
15419 if test "x$ac_cv_type_struct_r_debug" = xyes; then :
15421 cat >>confdefs.h <<_ACEOF
15422 #define HAVE_STRUCT_R_DEBUG 1
15423 _ACEOF
15427 ac_fn_c_check_type "$LINENO" "struct link_map" "ac_cv_type_struct_link_map" "#ifdef HAVE_LINK_H
15428 #include <link.h>
15429 #endif
15430 #ifdef HAVE_SYS_LINK_H
15431 #include <sys/link.h>
15432 #endif
15434 if test "x$ac_cv_type_struct_link_map" = xyes; then :
15436 cat >>confdefs.h <<_ACEOF
15437 #define HAVE_STRUCT_LINK_MAP 1
15438 _ACEOF
15444 ac_fn_c_check_member "$LINENO" "struct ff_effect" "direction" "ac_cv_member_struct_ff_effect_direction" "#ifdef HAVE_LINUX_INPUT_H
15445 #include <linux/input.h>
15446 #endif
15448 if test "x$ac_cv_member_struct_ff_effect_direction" = xyes; then :
15450 cat >>confdefs.h <<_ACEOF
15451 #define HAVE_STRUCT_FF_EFFECT_DIRECTION 1
15452 _ACEOF
15458 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sigaddset" >&5
15459 $as_echo_n "checking for sigaddset... " >&6; }
15460 if ${wine_cv_have_sigaddset+:} false; then :
15461 $as_echo_n "(cached) " >&6
15462 else
15463 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15464 /* end confdefs.h. */
15465 #include <signal.h>
15467 main ()
15469 sigset_t set; sigaddset(&set,SIGTERM);
15471 return 0;
15473 _ACEOF
15474 if ac_fn_c_try_link "$LINENO"; then :
15475 wine_cv_have_sigaddset=yes
15476 else
15477 wine_cv_have_sigaddset=no
15479 rm -f core conftest.err conftest.$ac_objext \
15480 conftest$ac_exeext conftest.$ac_ext
15482 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $wine_cv_have_sigaddset" >&5
15483 $as_echo "$wine_cv_have_sigaddset" >&6; }
15484 if test "$wine_cv_have_sigaddset" = "yes"
15485 then
15487 $as_echo "#define HAVE_SIGADDSET 1" >>confdefs.h
15492 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we can use re-entrant gethostbyname_r Linux style" >&5
15493 $as_echo_n "checking whether we can use re-entrant gethostbyname_r Linux style... " >&6; }
15494 if ${wine_cv_linux_gethostbyname_r_6+:} false; then :
15495 $as_echo_n "(cached) " >&6
15496 else
15497 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15498 /* end confdefs.h. */
15499 #include <netdb.h>
15501 main ()
15504 char *name=0;
15505 struct hostent he;
15506 struct hostent *result;
15507 char *buf=0;
15508 int bufsize=0;
15509 int errnr;
15510 char *addr=0;
15511 int addrlen=0;
15512 int addrtype=0;
15513 gethostbyname_r(name,&he,buf,bufsize,&result,&errnr);
15514 gethostbyaddr_r(addr, addrlen, addrtype,&he,buf,bufsize,&result,&errnr);
15517 return 0;
15519 _ACEOF
15520 if ac_fn_c_try_link "$LINENO"; then :
15521 wine_cv_linux_gethostbyname_r_6=yes
15522 else
15523 wine_cv_linux_gethostbyname_r_6=no
15526 rm -f core conftest.err conftest.$ac_objext \
15527 conftest$ac_exeext conftest.$ac_ext
15530 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $wine_cv_linux_gethostbyname_r_6" >&5
15531 $as_echo "$wine_cv_linux_gethostbyname_r_6" >&6; }
15532 if test "$wine_cv_linux_gethostbyname_r_6" = "yes"
15533 then
15535 $as_echo "#define HAVE_LINUX_GETHOSTBYNAME_R_6 1" >>confdefs.h
15539 if test "$ac_cv_header_linux_joystick_h" = "yes"
15540 then
15541 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether linux/joystick.h uses the Linux 2.2+ API" >&5
15542 $as_echo_n "checking whether linux/joystick.h uses the Linux 2.2+ API... " >&6; }
15543 if ${wine_cv_linux_joystick_22_api+:} false; then :
15544 $as_echo_n "(cached) " >&6
15545 else
15546 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15547 /* end confdefs.h. */
15549 #include <sys/ioctl.h>
15550 #include <sys/types.h>
15551 #include <linux/joystick.h>
15553 struct js_event blub;
15554 #if !defined(JS_EVENT_AXIS) || !defined(JS_EVENT_BUTTON)
15555 #error "no 2.2 header"
15556 #endif
15559 main ()
15561 /*empty*/
15563 return 0;
15565 _ACEOF
15566 if ac_fn_c_try_compile "$LINENO"; then :
15567 wine_cv_linux_joystick_22_api=yes
15568 else
15569 wine_cv_linux_joystick_22_api=no
15571 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
15574 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $wine_cv_linux_joystick_22_api" >&5
15575 $as_echo "$wine_cv_linux_joystick_22_api" >&6; }
15576 if test "$wine_cv_linux_joystick_22_api" = "yes"
15577 then
15579 $as_echo "#define HAVE_LINUX_22_JOYSTICK_API 1" >>confdefs.h
15585 ac_fn_c_check_member "$LINENO" "struct statfs" "f_bfree" "ac_cv_member_struct_statfs_f_bfree" "#include <sys/types.h>
15586 #ifdef HAVE_SYS_PARAM_H
15587 # include <sys/param.h>
15588 #endif
15589 #ifdef HAVE_SYS_MOUNT_H
15590 # include <sys/mount.h>
15591 #endif
15592 #ifdef HAVE_SYS_VFS_H
15593 # include <sys/vfs.h>
15594 #endif
15595 #ifdef HAVE_SYS_STATFS_H
15596 # include <sys/statfs.h>
15597 #endif
15599 if test "x$ac_cv_member_struct_statfs_f_bfree" = xyes; then :
15601 cat >>confdefs.h <<_ACEOF
15602 #define HAVE_STRUCT_STATFS_F_BFREE 1
15603 _ACEOF
15607 ac_fn_c_check_member "$LINENO" "struct statfs" "f_bavail" "ac_cv_member_struct_statfs_f_bavail" "#include <sys/types.h>
15608 #ifdef HAVE_SYS_PARAM_H
15609 # include <sys/param.h>
15610 #endif
15611 #ifdef HAVE_SYS_MOUNT_H
15612 # include <sys/mount.h>
15613 #endif
15614 #ifdef HAVE_SYS_VFS_H
15615 # include <sys/vfs.h>
15616 #endif
15617 #ifdef HAVE_SYS_STATFS_H
15618 # include <sys/statfs.h>
15619 #endif
15621 if test "x$ac_cv_member_struct_statfs_f_bavail" = xyes; then :
15623 cat >>confdefs.h <<_ACEOF
15624 #define HAVE_STRUCT_STATFS_F_BAVAIL 1
15625 _ACEOF
15629 ac_fn_c_check_member "$LINENO" "struct statfs" "f_frsize" "ac_cv_member_struct_statfs_f_frsize" "#include <sys/types.h>
15630 #ifdef HAVE_SYS_PARAM_H
15631 # include <sys/param.h>
15632 #endif
15633 #ifdef HAVE_SYS_MOUNT_H
15634 # include <sys/mount.h>
15635 #endif
15636 #ifdef HAVE_SYS_VFS_H
15637 # include <sys/vfs.h>
15638 #endif
15639 #ifdef HAVE_SYS_STATFS_H
15640 # include <sys/statfs.h>
15641 #endif
15643 if test "x$ac_cv_member_struct_statfs_f_frsize" = xyes; then :
15645 cat >>confdefs.h <<_ACEOF
15646 #define HAVE_STRUCT_STATFS_F_FRSIZE 1
15647 _ACEOF
15651 ac_fn_c_check_member "$LINENO" "struct statfs" "f_ffree" "ac_cv_member_struct_statfs_f_ffree" "#include <sys/types.h>
15652 #ifdef HAVE_SYS_PARAM_H
15653 # include <sys/param.h>
15654 #endif
15655 #ifdef HAVE_SYS_MOUNT_H
15656 # include <sys/mount.h>
15657 #endif
15658 #ifdef HAVE_SYS_VFS_H
15659 # include <sys/vfs.h>
15660 #endif
15661 #ifdef HAVE_SYS_STATFS_H
15662 # include <sys/statfs.h>
15663 #endif
15665 if test "x$ac_cv_member_struct_statfs_f_ffree" = xyes; then :
15667 cat >>confdefs.h <<_ACEOF
15668 #define HAVE_STRUCT_STATFS_F_FFREE 1
15669 _ACEOF
15673 ac_fn_c_check_member "$LINENO" "struct statfs" "f_favail" "ac_cv_member_struct_statfs_f_favail" "#include <sys/types.h>
15674 #ifdef HAVE_SYS_PARAM_H
15675 # include <sys/param.h>
15676 #endif
15677 #ifdef HAVE_SYS_MOUNT_H
15678 # include <sys/mount.h>
15679 #endif
15680 #ifdef HAVE_SYS_VFS_H
15681 # include <sys/vfs.h>
15682 #endif
15683 #ifdef HAVE_SYS_STATFS_H
15684 # include <sys/statfs.h>
15685 #endif
15687 if test "x$ac_cv_member_struct_statfs_f_favail" = xyes; then :
15689 cat >>confdefs.h <<_ACEOF
15690 #define HAVE_STRUCT_STATFS_F_FAVAIL 1
15691 _ACEOF
15695 ac_fn_c_check_member "$LINENO" "struct statfs" "f_namelen" "ac_cv_member_struct_statfs_f_namelen" "#include <sys/types.h>
15696 #ifdef HAVE_SYS_PARAM_H
15697 # include <sys/param.h>
15698 #endif
15699 #ifdef HAVE_SYS_MOUNT_H
15700 # include <sys/mount.h>
15701 #endif
15702 #ifdef HAVE_SYS_VFS_H
15703 # include <sys/vfs.h>
15704 #endif
15705 #ifdef HAVE_SYS_STATFS_H
15706 # include <sys/statfs.h>
15707 #endif
15709 if test "x$ac_cv_member_struct_statfs_f_namelen" = xyes; then :
15711 cat >>confdefs.h <<_ACEOF
15712 #define HAVE_STRUCT_STATFS_F_NAMELEN 1
15713 _ACEOF
15719 ac_fn_c_check_member "$LINENO" "struct statvfs" "f_blocks" "ac_cv_member_struct_statvfs_f_blocks" "#ifdef HAVE_SYS_STATVFS_H
15720 #include <sys/statvfs.h>
15721 #endif
15723 if test "x$ac_cv_member_struct_statvfs_f_blocks" = xyes; then :
15725 cat >>confdefs.h <<_ACEOF
15726 #define HAVE_STRUCT_STATVFS_F_BLOCKS 1
15727 _ACEOF
15733 ac_fn_c_check_member "$LINENO" "struct dirent" "d_reclen" "ac_cv_member_struct_dirent_d_reclen" "#ifdef HAVE_DIRENT_H
15734 #include <dirent.h>
15735 #endif
15737 if test "x$ac_cv_member_struct_dirent_d_reclen" = xyes; then :
15739 cat >>confdefs.h <<_ACEOF
15740 #define HAVE_STRUCT_DIRENT_D_RECLEN 1
15741 _ACEOF
15747 ac_fn_c_check_member "$LINENO" "struct msghdr" "msg_accrights" "ac_cv_member_struct_msghdr_msg_accrights" "#include <sys/types.h>
15748 #ifdef HAVE_SYS_SOCKET_H
15749 # include <sys/socket.h>
15750 #endif
15751 #ifdef HAVE_SYS_UN_H
15752 # include <sys/un.h>
15753 #endif
15755 if test "x$ac_cv_member_struct_msghdr_msg_accrights" = xyes; then :
15757 cat >>confdefs.h <<_ACEOF
15758 #define HAVE_STRUCT_MSGHDR_MSG_ACCRIGHTS 1
15759 _ACEOF
15763 ac_fn_c_check_member "$LINENO" "struct sockaddr" "sa_len" "ac_cv_member_struct_sockaddr_sa_len" "#include <sys/types.h>
15764 #ifdef HAVE_SYS_SOCKET_H
15765 # include <sys/socket.h>
15766 #endif
15767 #ifdef HAVE_SYS_UN_H
15768 # include <sys/un.h>
15769 #endif
15771 if test "x$ac_cv_member_struct_sockaddr_sa_len" = xyes; then :
15773 cat >>confdefs.h <<_ACEOF
15774 #define HAVE_STRUCT_SOCKADDR_SA_LEN 1
15775 _ACEOF
15779 ac_fn_c_check_member "$LINENO" "struct sockaddr_un" "sun_len" "ac_cv_member_struct_sockaddr_un_sun_len" "#include <sys/types.h>
15780 #ifdef HAVE_SYS_SOCKET_H
15781 # include <sys/socket.h>
15782 #endif
15783 #ifdef HAVE_SYS_UN_H
15784 # include <sys/un.h>
15785 #endif
15787 if test "x$ac_cv_member_struct_sockaddr_un_sun_len" = xyes; then :
15789 cat >>confdefs.h <<_ACEOF
15790 #define HAVE_STRUCT_SOCKADDR_UN_SUN_LEN 1
15791 _ACEOF
15797 ac_fn_c_check_member "$LINENO" "scsireq_t" "cmd" "ac_cv_member_scsireq_t_cmd" "#include <sys/types.h>
15798 #ifdef HAVE_SCSI_SG_H
15799 #include <scsi/sg.h>
15800 #endif
15802 if test "x$ac_cv_member_scsireq_t_cmd" = xyes; then :
15804 cat >>confdefs.h <<_ACEOF
15805 #define HAVE_SCSIREQ_T_CMD 1
15806 _ACEOF
15810 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>
15811 #ifdef HAVE_SCSI_SG_H
15812 #include <scsi/sg.h>
15813 #endif
15815 if test "x$ac_cv_member_sg_io_hdr_t_interface_id" = xyes; then :
15817 cat >>confdefs.h <<_ACEOF
15818 #define HAVE_SG_IO_HDR_T_INTERFACE_ID 1
15819 _ACEOF
15825 ac_fn_c_check_member "$LINENO" "siginfo_t" "si_fd" "ac_cv_member_siginfo_t_si_fd" "#include <signal.h>
15827 if test "x$ac_cv_member_siginfo_t_si_fd" = xyes; then :
15829 cat >>confdefs.h <<_ACEOF
15830 #define HAVE_SIGINFO_T_SI_FD 1
15831 _ACEOF
15837 ac_fn_c_check_member "$LINENO" "struct mtget" "mt_blksiz" "ac_cv_member_struct_mtget_mt_blksiz" "#include <sys/types.h>
15838 #ifdef HAVE_SYS_MTIO_H
15839 #include <sys/mtio.h>
15840 #endif
15842 if test "x$ac_cv_member_struct_mtget_mt_blksiz" = xyes; then :
15844 cat >>confdefs.h <<_ACEOF
15845 #define HAVE_STRUCT_MTGET_MT_BLKSIZ 1
15846 _ACEOF
15850 ac_fn_c_check_member "$LINENO" "struct mtget" "mt_gstat" "ac_cv_member_struct_mtget_mt_gstat" "#include <sys/types.h>
15851 #ifdef HAVE_SYS_MTIO_H
15852 #include <sys/mtio.h>
15853 #endif
15855 if test "x$ac_cv_member_struct_mtget_mt_gstat" = xyes; then :
15857 cat >>confdefs.h <<_ACEOF
15858 #define HAVE_STRUCT_MTGET_MT_GSTAT 1
15859 _ACEOF
15863 ac_fn_c_check_member "$LINENO" "struct mtget" "mt_blkno" "ac_cv_member_struct_mtget_mt_blkno" "#include <sys/types.h>
15864 #ifdef HAVE_SYS_MTIO_H
15865 #include <sys/mtio.h>
15866 #endif
15868 if test "x$ac_cv_member_struct_mtget_mt_blkno" = xyes; then :
15870 cat >>confdefs.h <<_ACEOF
15871 #define HAVE_STRUCT_MTGET_MT_BLKNO 1
15872 _ACEOF
15878 ac_fn_c_check_member "$LINENO" "struct option" "name" "ac_cv_member_struct_option_name" "#ifdef HAVE_GETOPT_H
15879 #include <getopt.h>
15880 #endif
15882 if test "x$ac_cv_member_struct_option_name" = xyes; then :
15884 cat >>confdefs.h <<_ACEOF
15885 #define HAVE_STRUCT_OPTION_NAME 1
15886 _ACEOF
15892 ac_fn_c_check_member "$LINENO" "struct stat" "st_blocks" "ac_cv_member_struct_stat_st_blocks" "$ac_includes_default"
15893 if test "x$ac_cv_member_struct_stat_st_blocks" = xyes; then :
15895 cat >>confdefs.h <<_ACEOF
15896 #define HAVE_STRUCT_STAT_ST_BLOCKS 1
15897 _ACEOF
15901 ac_fn_c_check_member "$LINENO" "struct stat" "st_mtim" "ac_cv_member_struct_stat_st_mtim" "$ac_includes_default"
15902 if test "x$ac_cv_member_struct_stat_st_mtim" = xyes; then :
15904 cat >>confdefs.h <<_ACEOF
15905 #define HAVE_STRUCT_STAT_ST_MTIM 1
15906 _ACEOF
15910 ac_fn_c_check_member "$LINENO" "struct stat" "st_mtimespec" "ac_cv_member_struct_stat_st_mtimespec" "$ac_includes_default"
15911 if test "x$ac_cv_member_struct_stat_st_mtimespec" = xyes; then :
15913 cat >>confdefs.h <<_ACEOF
15914 #define HAVE_STRUCT_STAT_ST_MTIMESPEC 1
15915 _ACEOF
15919 ac_fn_c_check_member "$LINENO" "struct stat" "st_ctim" "ac_cv_member_struct_stat_st_ctim" "$ac_includes_default"
15920 if test "x$ac_cv_member_struct_stat_st_ctim" = xyes; then :
15922 cat >>confdefs.h <<_ACEOF
15923 #define HAVE_STRUCT_STAT_ST_CTIM 1
15924 _ACEOF
15928 ac_fn_c_check_member "$LINENO" "struct stat" "st_ctimespec" "ac_cv_member_struct_stat_st_ctimespec" "$ac_includes_default"
15929 if test "x$ac_cv_member_struct_stat_st_ctimespec" = xyes; then :
15931 cat >>confdefs.h <<_ACEOF
15932 #define HAVE_STRUCT_STAT_ST_CTIMESPEC 1
15933 _ACEOF
15937 ac_fn_c_check_member "$LINENO" "struct stat" "st_atim" "ac_cv_member_struct_stat_st_atim" "$ac_includes_default"
15938 if test "x$ac_cv_member_struct_stat_st_atim" = xyes; then :
15940 cat >>confdefs.h <<_ACEOF
15941 #define HAVE_STRUCT_STAT_ST_ATIM 1
15942 _ACEOF
15946 ac_fn_c_check_member "$LINENO" "struct stat" "st_atimespec" "ac_cv_member_struct_stat_st_atimespec" "$ac_includes_default"
15947 if test "x$ac_cv_member_struct_stat_st_atimespec" = xyes; then :
15949 cat >>confdefs.h <<_ACEOF
15950 #define HAVE_STRUCT_STAT_ST_ATIMESPEC 1
15951 _ACEOF
15955 ac_fn_c_check_member "$LINENO" "struct stat" "st_birthtime" "ac_cv_member_struct_stat_st_birthtime" "$ac_includes_default"
15956 if test "x$ac_cv_member_struct_stat_st_birthtime" = xyes; then :
15958 cat >>confdefs.h <<_ACEOF
15959 #define HAVE_STRUCT_STAT_ST_BIRTHTIME 1
15960 _ACEOF
15964 ac_fn_c_check_member "$LINENO" "struct stat" "st_birthtim" "ac_cv_member_struct_stat_st_birthtim" "$ac_includes_default"
15965 if test "x$ac_cv_member_struct_stat_st_birthtim" = xyes; then :
15967 cat >>confdefs.h <<_ACEOF
15968 #define HAVE_STRUCT_STAT_ST_BIRTHTIM 1
15969 _ACEOF
15973 ac_fn_c_check_member "$LINENO" "struct stat" "st_birthtimespec" "ac_cv_member_struct_stat_st_birthtimespec" "$ac_includes_default"
15974 if test "x$ac_cv_member_struct_stat_st_birthtimespec" = xyes; then :
15976 cat >>confdefs.h <<_ACEOF
15977 #define HAVE_STRUCT_STAT_ST_BIRTHTIMESPEC 1
15978 _ACEOF
15982 ac_fn_c_check_member "$LINENO" "struct stat" "__st_birthtime" "ac_cv_member_struct_stat___st_birthtime" "$ac_includes_default"
15983 if test "x$ac_cv_member_struct_stat___st_birthtime" = xyes; then :
15985 cat >>confdefs.h <<_ACEOF
15986 #define HAVE_STRUCT_STAT___ST_BIRTHTIME 1
15987 _ACEOF
15991 ac_fn_c_check_member "$LINENO" "struct stat" "__st_birthtim" "ac_cv_member_struct_stat___st_birthtim" "$ac_includes_default"
15992 if test "x$ac_cv_member_struct_stat___st_birthtim" = xyes; then :
15994 cat >>confdefs.h <<_ACEOF
15995 #define HAVE_STRUCT_STAT___ST_BIRTHTIM 1
15996 _ACEOF
16002 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
16003 #include <sys/types.h>
16004 #endif
16005 #ifdef HAVE_NETINET_IN_H
16006 #include <netinet/in.h>
16007 #endif
16009 if test "x$ac_cv_member_struct_sockaddr_in6_sin6_scope_id" = xyes; then :
16011 cat >>confdefs.h <<_ACEOF
16012 #define HAVE_STRUCT_SOCKADDR_IN6_SIN6_SCOPE_ID 1
16013 _ACEOF
16019 ac_fn_c_check_type "$LINENO" "struct __res_state" "ac_cv_type_struct___res_state" "#ifdef HAVE_RESOLV_H
16020 #include <resolv.h>
16021 #endif
16023 if test "x$ac_cv_type_struct___res_state" = xyes; then :
16025 cat >>confdefs.h <<_ACEOF
16026 #define HAVE_STRUCT___RES_STATE 1
16027 _ACEOF
16033 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
16034 #include <resolv.h>
16035 #endif
16037 if test "x$ac_cv_member_struct___res_state__u__ext_nscount6" = xyes; then :
16039 cat >>confdefs.h <<_ACEOF
16040 #define HAVE_STRUCT___RES_STATE__U__EXT_NSCOUNT6 1
16041 _ACEOF
16047 ac_fn_c_check_member "$LINENO" "ns_msg" "_msg_ptr" "ac_cv_member_ns_msg__msg_ptr" "#ifdef HAVE_SYS_TYPES_H
16048 #include <sys/types.h>
16049 #endif
16050 #ifdef HAVE_NETINET_IN_H
16051 # include <netinet/in.h>
16052 #endif
16053 #ifdef HAVE_ARPA_NAMESER_H
16054 # include <arpa/nameser.h>
16055 #endif
16057 if test "x$ac_cv_member_ns_msg__msg_ptr" = xyes; then :
16059 cat >>confdefs.h <<_ACEOF
16060 #define HAVE_NS_MSG__MSG_PTR 1
16061 _ACEOF
16067 ac_fn_c_check_member "$LINENO" "struct icmpstat" "icps_inhist" "ac_cv_member_struct_icmpstat_icps_inhist" "#ifdef HAVE_SYS_TYPES_H
16068 #include <sys/types.h>
16069 #endif
16070 #ifdef HAVE_NETINET_IP_H
16071 #include <netinet/ip.h>
16072 #endif
16073 #ifdef HAVE_NETINET_IP_ICMP_H
16074 #include <netinet/ip_icmp.h>
16075 #endif
16076 #ifdef HAVE_NETINET_ICMP_VAR_H
16077 #include <netinet/icmp_var.h>
16078 #endif
16080 if test "x$ac_cv_member_struct_icmpstat_icps_inhist" = xyes; then :
16082 cat >>confdefs.h <<_ACEOF
16083 #define HAVE_STRUCT_ICMPSTAT_ICPS_INHIST 1
16084 _ACEOF
16090 ac_fn_c_check_member "$LINENO" "struct icmpstat" "icps_outhist" "ac_cv_member_struct_icmpstat_icps_outhist" "#ifdef HAVE_SYS_TYPES_H
16091 #include <sys/types.h>
16092 #endif
16093 #ifdef HAVE_ALIAS_H
16094 #include <alias.h>
16095 #endif
16096 #ifdef HAVE_SYS_SOCKET_H
16097 #include <sys/socket.h>
16098 #endif
16099 #ifdef HAVE_SYS_SOCKETVAR_H
16100 #include <sys/socketvar.h>
16101 #endif
16102 #ifdef HAVE_SYS_TIMEOUT_H
16103 #include <sys/timeout.h>
16104 #endif
16105 #ifdef HAVE_NETINET_IN_H
16106 #include <netinet/in.h>
16107 #endif
16108 #ifdef HAVE_NETINET_IN_SYSTM_H
16109 #include <netinet/in_systm.h>
16110 #endif
16111 #ifdef HAVE_NETINET_IP_H
16112 #include <netinet/ip.h>
16113 #endif
16114 #ifdef HAVE_NETINET_IP_VAR_H
16115 #include <netinet/ip_var.h>
16116 #endif
16117 #ifdef HAVE_NETINET_IP_ICMP_H
16118 #include <netinet/ip_icmp.h>
16119 #endif
16120 #ifdef HAVE_NETINET_ICMP_VAR_H
16121 #include <netinet/icmp_var.h>
16122 #endif
16124 if test "x$ac_cv_member_struct_icmpstat_icps_outhist" = xyes; then :
16126 cat >>confdefs.h <<_ACEOF
16127 #define HAVE_STRUCT_ICMPSTAT_ICPS_OUTHIST 1
16128 _ACEOF
16134 ac_fn_c_check_member "$LINENO" "struct ipstat" "ips_total" "ac_cv_member_struct_ipstat_ips_total" "#ifdef HAVE_SYS_TYPES_H
16135 #include <sys/types.h>
16136 #endif
16137 #ifdef HAVE_SYS_SOCKETVAR_H
16138 #include <sys/socketvar.h>
16139 #endif
16140 #ifdef HAVE_NETINET_IN_H
16141 #include <netinet/in.h>
16142 #endif
16143 #ifdef HAVE_NETINET_IP_VAR_H
16144 #include <netinet/ip_var.h>
16145 #endif
16147 if test "x$ac_cv_member_struct_ipstat_ips_total" = xyes; then :
16149 cat >>confdefs.h <<_ACEOF
16150 #define HAVE_STRUCT_IPSTAT_IPS_TOTAL 1
16151 _ACEOF
16157 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
16158 #include <netinet/ip_var.h>
16159 #endif
16161 if test "x$ac_cv_member_struct_ip_stats_ips_total" = xyes; then :
16163 cat >>confdefs.h <<_ACEOF
16164 #define HAVE_STRUCT_IP_STATS_IPS_TOTAL 1
16165 _ACEOF
16171 ac_fn_c_check_member "$LINENO" "struct tcpstat" "tcps_connattempt" "ac_cv_member_struct_tcpstat_tcps_connattempt" "#ifdef HAVE_SYS_TYPES_H
16172 #include <sys/types.h>
16173 #endif
16174 #ifdef HAVE_SYS_SOCKETVAR_H
16175 #include <sys/socketvar.h>
16176 #endif
16177 #ifdef HAVE_NETINET_IN_H
16178 #include <netinet/in.h>
16179 #endif
16180 #ifdef HAVE_NETINET_TCP_H
16181 #include <netinet/tcp.h>
16182 #endif
16183 #ifdef HAVE_NETINET_TCP_VAR_H
16184 #include <netinet/tcp_var.h>
16185 #endif
16187 if test "x$ac_cv_member_struct_tcpstat_tcps_connattempt" = xyes; then :
16189 cat >>confdefs.h <<_ACEOF
16190 #define HAVE_STRUCT_TCPSTAT_TCPS_CONNATTEMPT 1
16191 _ACEOF
16197 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
16198 #include <netinet/tcp_var.h>
16199 #endif
16201 if test "x$ac_cv_member_struct_tcp_stats_tcps_connattempt" = xyes; then :
16203 cat >>confdefs.h <<_ACEOF
16204 #define HAVE_STRUCT_TCP_STATS_TCPS_CONNATTEMPT 1
16205 _ACEOF
16211 ac_fn_c_check_member "$LINENO" "struct udpstat" "udps_ipackets" "ac_cv_member_struct_udpstat_udps_ipackets" "#ifdef HAVE_SYS_TYPES_H
16212 #include <sys/types.h>
16213 #endif
16214 #ifdef HAVE_NETINET_IN_H
16215 #include <netinet/in.h>
16216 #endif
16217 #ifdef HAVE_NETINET_IP_VAR_H
16218 #include <netinet/ip_var.h>
16219 #endif
16220 #ifdef HAVE_NETINET_UDP_H
16221 #include <netinet/udp.h>
16222 #endif
16223 #ifdef HAVE_NETINET_UDP_VAR_H
16224 #include <netinet/udp_var.h>
16225 #endif
16227 if test "x$ac_cv_member_struct_udpstat_udps_ipackets" = xyes; then :
16229 cat >>confdefs.h <<_ACEOF
16230 #define HAVE_STRUCT_UDPSTAT_UDPS_IPACKETS 1
16231 _ACEOF
16237 ac_fn_c_check_member "$LINENO" "struct ifreq" "ifr_hwaddr" "ac_cv_member_struct_ifreq_ifr_hwaddr" "#ifdef HAVE_SYS_TYPES_H
16238 #include <sys/types.h>
16239 #endif
16240 #ifdef HAVE_NET_IF_H
16241 # include <net/if.h>
16242 #endif
16244 if test "x$ac_cv_member_struct_ifreq_ifr_hwaddr" = xyes; then :
16246 cat >>confdefs.h <<_ACEOF
16247 #define HAVE_STRUCT_IFREQ_IFR_HWADDR 1
16248 _ACEOF
16254 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for timezone variable" >&5
16255 $as_echo_n "checking for timezone variable... " >&6; }
16256 if ${ac_cv_have_timezone+:} false; then :
16257 $as_echo_n "(cached) " >&6
16258 else
16259 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
16260 /* end confdefs.h. */
16261 #include <time.h>
16263 main ()
16265 timezone = 1
16267 return 0;
16269 _ACEOF
16270 if ac_fn_c_try_link "$LINENO"; then :
16271 ac_cv_have_timezone="yes"
16272 else
16273 ac_cv_have_timezone="no"
16275 rm -f core conftest.err conftest.$ac_objext \
16276 conftest$ac_exeext conftest.$ac_ext
16278 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_have_timezone" >&5
16279 $as_echo "$ac_cv_have_timezone" >&6; }
16280 if test "$ac_cv_have_timezone" = "yes"
16281 then
16283 $as_echo "#define HAVE_TIMEZONE 1" >>confdefs.h
16286 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for daylight variable" >&5
16287 $as_echo_n "checking for daylight variable... " >&6; }
16288 if ${ac_cv_have_daylight+:} false; then :
16289 $as_echo_n "(cached) " >&6
16290 else
16291 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
16292 /* end confdefs.h. */
16293 #include <time.h>
16295 main ()
16297 daylight = 1
16299 return 0;
16301 _ACEOF
16302 if ac_fn_c_try_link "$LINENO"; then :
16303 ac_cv_have_daylight="yes"
16304 else
16305 ac_cv_have_daylight="no"
16307 rm -f core conftest.err conftest.$ac_objext \
16308 conftest$ac_exeext conftest.$ac_ext
16310 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_have_daylight" >&5
16311 $as_echo "$ac_cv_have_daylight" >&6; }
16312 if test "$ac_cv_have_daylight" = "yes"
16313 then
16315 $as_echo "#define HAVE_DAYLIGHT 1" >>confdefs.h
16319 ac_save_LIBS="$LIBS"
16320 LIBS="$LIBS -lm"
16321 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for isfinite" >&5
16322 $as_echo_n "checking for isfinite... " >&6; }
16323 if ${ac_cv_have_isfinite+:} false; then :
16324 $as_echo_n "(cached) " >&6
16325 else
16326 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
16327 /* end confdefs.h. */
16328 #define _GNU_SOURCE
16329 #include <math.h>
16331 main ()
16333 float f = 0.0; return isfinite(f)
16335 return 0;
16337 _ACEOF
16338 if ac_fn_c_try_link "$LINENO"; then :
16339 ac_cv_have_isfinite="yes"
16340 else
16341 ac_cv_have_isfinite="no"
16343 rm -f core conftest.err conftest.$ac_objext \
16344 conftest$ac_exeext conftest.$ac_ext
16346 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_have_isfinite" >&5
16347 $as_echo "$ac_cv_have_isfinite" >&6; }
16348 if test "$ac_cv_have_isfinite" = "yes"
16349 then
16351 $as_echo "#define HAVE_ISFINITE 1" >>confdefs.h
16355 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for isinf" >&5
16356 $as_echo_n "checking for isinf... " >&6; }
16357 if ${ac_cv_have_isinf+:} false; then :
16358 $as_echo_n "(cached) " >&6
16359 else
16360 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
16361 /* end confdefs.h. */
16362 #include <math.h>
16364 main ()
16366 float f = 0.0; return isinf(f)
16368 return 0;
16370 _ACEOF
16371 if ac_fn_c_try_link "$LINENO"; then :
16372 ac_cv_have_isinf="yes"
16373 else
16374 ac_cv_have_isinf="no"
16376 rm -f core conftest.err conftest.$ac_objext \
16377 conftest$ac_exeext conftest.$ac_ext
16379 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_have_isinf" >&5
16380 $as_echo "$ac_cv_have_isinf" >&6; }
16381 if test "$ac_cv_have_isinf" = "yes"
16382 then
16384 $as_echo "#define HAVE_ISINF 1" >>confdefs.h
16388 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for isnan" >&5
16389 $as_echo_n "checking for isnan... " >&6; }
16390 if ${ac_cv_have_isnan+:} false; then :
16391 $as_echo_n "(cached) " >&6
16392 else
16393 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
16394 /* end confdefs.h. */
16395 #include <math.h>
16397 main ()
16399 float f = 0.0; return isnan(f)
16401 return 0;
16403 _ACEOF
16404 if ac_fn_c_try_link "$LINENO"; then :
16405 ac_cv_have_isnan="yes"
16406 else
16407 ac_cv_have_isnan="no"
16409 rm -f core conftest.err conftest.$ac_objext \
16410 conftest$ac_exeext conftest.$ac_ext
16412 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_have_isnan" >&5
16413 $as_echo "$ac_cv_have_isnan" >&6; }
16414 if test "$ac_cv_have_isnan" = "yes"
16415 then
16417 $as_echo "#define HAVE_ISNAN 1" >>confdefs.h
16421 for ac_func in \
16422 cbrt \
16423 cbrtf \
16424 exp2 \
16425 exp2f \
16426 llrint \
16427 llrintf \
16428 llround \
16429 llroundf \
16430 log2 \
16431 log2f \
16432 lrint \
16433 lrintf \
16434 lround \
16435 lroundf \
16436 rint \
16437 rintf \
16438 round \
16439 roundf \
16440 trunc \
16441 truncf
16443 do :
16444 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
16445 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
16446 if eval test \"x\$"$as_ac_var"\" = x"yes"; then :
16447 cat >>confdefs.h <<_ACEOF
16448 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
16449 _ACEOF
16452 done
16454 LIBS="$ac_save_LIBS"
16456 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for __builtin_clz" >&5
16457 $as_echo_n "checking for __builtin_clz... " >&6; }
16458 if ${ac_cv_have___builtin_clz+:} false; then :
16459 $as_echo_n "(cached) " >&6
16460 else
16461 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
16462 /* end confdefs.h. */
16465 main ()
16467 return __builtin_clz(1)
16469 return 0;
16471 _ACEOF
16472 if ac_fn_c_try_link "$LINENO"; then :
16473 ac_cv_have___builtin_clz="yes"
16474 else
16475 ac_cv_have___builtin_clz="no"
16477 rm -f core conftest.err conftest.$ac_objext \
16478 conftest$ac_exeext conftest.$ac_ext
16480 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_have___builtin_clz" >&5
16481 $as_echo "$ac_cv_have___builtin_clz" >&6; }
16482 if test "$ac_cv_have___builtin_clz" = "yes"
16483 then
16485 $as_echo "#define HAVE___BUILTIN_CLZ 1" >>confdefs.h
16490 case $host_cpu in
16491 *i[3456789]86*) { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we need to define __i386__" >&5
16492 $as_echo_n "checking whether we need to define __i386__... " >&6; }
16493 if ${ac_cv_cpp_def___i386__+:} false; then :
16494 $as_echo_n "(cached) " >&6
16495 else
16496 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
16497 /* end confdefs.h. */
16498 #ifndef __i386__
16500 #endif
16501 _ACEOF
16502 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
16503 $EGREP "yes" >/dev/null 2>&1; then :
16504 ac_cv_cpp_def___i386__=yes
16505 else
16506 ac_cv_cpp_def___i386__=no
16508 rm -f conftest*
16511 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cpp_def___i386__" >&5
16512 $as_echo "$ac_cv_cpp_def___i386__" >&6; }
16513 if test "x$ac_cv_cpp_def___i386__" = xyes; then :
16514 CFLAGS="$CFLAGS -D__i386__"
16515 LINTFLAGS="$LINTFLAGS -D__i386__"
16516 fi ;;
16517 *x86_64*) { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we need to define __x86_64__" >&5
16518 $as_echo_n "checking whether we need to define __x86_64__... " >&6; }
16519 if ${ac_cv_cpp_def___x86_64__+:} false; then :
16520 $as_echo_n "(cached) " >&6
16521 else
16522 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
16523 /* end confdefs.h. */
16524 #ifndef __x86_64__
16526 #endif
16527 _ACEOF
16528 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
16529 $EGREP "yes" >/dev/null 2>&1; then :
16530 ac_cv_cpp_def___x86_64__=yes
16531 else
16532 ac_cv_cpp_def___x86_64__=no
16534 rm -f conftest*
16537 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cpp_def___x86_64__" >&5
16538 $as_echo "$ac_cv_cpp_def___x86_64__" >&6; }
16539 if test "x$ac_cv_cpp_def___x86_64__" = xyes; then :
16540 CFLAGS="$CFLAGS -D__x86_64__"
16541 LINTFLAGS="$LINTFLAGS -D__x86_64__"
16542 fi ;;
16543 *sparc64*) { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we need to define __sparc64__" >&5
16544 $as_echo_n "checking whether we need to define __sparc64__... " >&6; }
16545 if ${ac_cv_cpp_def___sparc64__+:} false; then :
16546 $as_echo_n "(cached) " >&6
16547 else
16548 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
16549 /* end confdefs.h. */
16550 #ifndef __sparc64__
16552 #endif
16553 _ACEOF
16554 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
16555 $EGREP "yes" >/dev/null 2>&1; then :
16556 ac_cv_cpp_def___sparc64__=yes
16557 else
16558 ac_cv_cpp_def___sparc64__=no
16560 rm -f conftest*
16563 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cpp_def___sparc64__" >&5
16564 $as_echo "$ac_cv_cpp_def___sparc64__" >&6; }
16565 if test "x$ac_cv_cpp_def___sparc64__" = xyes; then :
16566 CFLAGS="$CFLAGS -D__sparc64__"
16567 LINTFLAGS="$LINTFLAGS -D__sparc64__"
16568 fi ;;
16569 *sparc*) { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we need to define __sparc__" >&5
16570 $as_echo_n "checking whether we need to define __sparc__... " >&6; }
16571 if ${ac_cv_cpp_def___sparc__+:} false; then :
16572 $as_echo_n "(cached) " >&6
16573 else
16574 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
16575 /* end confdefs.h. */
16576 #ifndef __sparc__
16578 #endif
16579 _ACEOF
16580 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
16581 $EGREP "yes" >/dev/null 2>&1; then :
16582 ac_cv_cpp_def___sparc__=yes
16583 else
16584 ac_cv_cpp_def___sparc__=no
16586 rm -f conftest*
16589 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cpp_def___sparc__" >&5
16590 $as_echo "$ac_cv_cpp_def___sparc__" >&6; }
16591 if test "x$ac_cv_cpp_def___sparc__" = xyes; then :
16592 CFLAGS="$CFLAGS -D__sparc__"
16593 LINTFLAGS="$LINTFLAGS -D__sparc__"
16594 fi ;;
16595 *powerpc64*) { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we need to define __powerpc64__" >&5
16596 $as_echo_n "checking whether we need to define __powerpc64__... " >&6; }
16597 if ${ac_cv_cpp_def___powerpc64__+:} false; then :
16598 $as_echo_n "(cached) " >&6
16599 else
16600 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
16601 /* end confdefs.h. */
16602 #ifndef __powerpc64__
16604 #endif
16605 _ACEOF
16606 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
16607 $EGREP "yes" >/dev/null 2>&1; then :
16608 ac_cv_cpp_def___powerpc64__=yes
16609 else
16610 ac_cv_cpp_def___powerpc64__=no
16612 rm -f conftest*
16615 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cpp_def___powerpc64__" >&5
16616 $as_echo "$ac_cv_cpp_def___powerpc64__" >&6; }
16617 if test "x$ac_cv_cpp_def___powerpc64__" = xyes; then :
16618 CFLAGS="$CFLAGS -D__powerpc64__"
16619 LINTFLAGS="$LINTFLAGS -D__powerpc64__"
16620 fi ;;
16621 *powerpc*) { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we need to define __powerpc__" >&5
16622 $as_echo_n "checking whether we need to define __powerpc__... " >&6; }
16623 if ${ac_cv_cpp_def___powerpc__+:} false; then :
16624 $as_echo_n "(cached) " >&6
16625 else
16626 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
16627 /* end confdefs.h. */
16628 #ifndef __powerpc__
16630 #endif
16631 _ACEOF
16632 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
16633 $EGREP "yes" >/dev/null 2>&1; then :
16634 ac_cv_cpp_def___powerpc__=yes
16635 else
16636 ac_cv_cpp_def___powerpc__=no
16638 rm -f conftest*
16641 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cpp_def___powerpc__" >&5
16642 $as_echo "$ac_cv_cpp_def___powerpc__" >&6; }
16643 if test "x$ac_cv_cpp_def___powerpc__" = xyes; then :
16644 CFLAGS="$CFLAGS -D__powerpc__"
16645 LINTFLAGS="$LINTFLAGS -D__powerpc__"
16646 fi ;;
16647 *aarch64*) { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we need to define __aarch64__" >&5
16648 $as_echo_n "checking whether we need to define __aarch64__... " >&6; }
16649 if ${ac_cv_cpp_def___aarch64__+:} false; then :
16650 $as_echo_n "(cached) " >&6
16651 else
16652 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
16653 /* end confdefs.h. */
16654 #ifndef __aarch64__
16656 #endif
16657 _ACEOF
16658 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
16659 $EGREP "yes" >/dev/null 2>&1; then :
16660 ac_cv_cpp_def___aarch64__=yes
16661 else
16662 ac_cv_cpp_def___aarch64__=no
16664 rm -f conftest*
16667 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cpp_def___aarch64__" >&5
16668 $as_echo "$ac_cv_cpp_def___aarch64__" >&6; }
16669 if test "x$ac_cv_cpp_def___aarch64__" = xyes; then :
16670 CFLAGS="$CFLAGS -D__aarch64__"
16671 LINTFLAGS="$LINTFLAGS -D__aarch64__"
16672 fi ;;
16673 *arm*) { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we need to define __arm__" >&5
16674 $as_echo_n "checking whether we need to define __arm__... " >&6; }
16675 if ${ac_cv_cpp_def___arm__+:} false; then :
16676 $as_echo_n "(cached) " >&6
16677 else
16678 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
16679 /* end confdefs.h. */
16680 #ifndef __arm__
16682 #endif
16683 _ACEOF
16684 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
16685 $EGREP "yes" >/dev/null 2>&1; then :
16686 ac_cv_cpp_def___arm__=yes
16687 else
16688 ac_cv_cpp_def___arm__=no
16690 rm -f conftest*
16693 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cpp_def___arm__" >&5
16694 $as_echo "$ac_cv_cpp_def___arm__" >&6; }
16695 if test "x$ac_cv_cpp_def___arm__" = xyes; then :
16696 CFLAGS="$CFLAGS -D__arm__"
16697 LINTFLAGS="$LINTFLAGS -D__arm__"
16698 fi ;;
16699 esac
16701 case $host_vendor in
16702 *sun*) { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we need to define __sun__" >&5
16703 $as_echo_n "checking whether we need to define __sun__... " >&6; }
16704 if ${ac_cv_cpp_def___sun__+:} false; then :
16705 $as_echo_n "(cached) " >&6
16706 else
16707 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
16708 /* end confdefs.h. */
16709 #ifndef __sun__
16711 #endif
16712 _ACEOF
16713 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
16714 $EGREP "yes" >/dev/null 2>&1; then :
16715 ac_cv_cpp_def___sun__=yes
16716 else
16717 ac_cv_cpp_def___sun__=no
16719 rm -f conftest*
16722 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cpp_def___sun__" >&5
16723 $as_echo "$ac_cv_cpp_def___sun__" >&6; }
16724 if test "x$ac_cv_cpp_def___sun__" = xyes; then :
16725 CFLAGS="$CFLAGS -D__sun__"
16726 LINTFLAGS="$LINTFLAGS -D__sun__"
16727 fi ;;
16728 esac
16734 ac_config_commands="$ac_config_commands include/stamp-h"
16736 $as_echo_n "creating Makefile rules..." >&6
16738 ALL_VARS_RULES="OPENGL_LIBS = $OPENGL_LIBS
16739 SOCKET_LIBS = $SOCKET_LIBS
16740 COREFOUNDATION_LIBS = $COREFOUNDATION_LIBS
16741 IOKIT_LIBS = $IOKIT_LIBS
16742 FORCEFEEDBACK_LIBS = $FORCEFEEDBACK_LIBS
16743 APPLICATIONSERVICES_LIBS = $APPLICATIONSERVICES_LIBS
16744 CORESERVICES_LIBS = $CORESERVICES_LIBS
16745 APPKIT_LIBS = $APPKIT_LIBS
16746 DISKARBITRATION_LIBS = $DISKARBITRATION_LIBS
16747 SECURITY_LIBS = $SECURITY_LIBS
16748 COREAUDIO_LIBS = $COREAUDIO_LIBS
16749 OPENAL_LIBS = $OPENAL_LIBS
16750 OPENCL_LIBS = $OPENCL_LIBS
16751 QUICKTIME_LIBS = $QUICKTIME_LIBS
16752 CARBON_LIBS = $CARBON_LIBS
16753 PTHREAD_LIBS = $PTHREAD_LIBS
16754 X_CFLAGS = $X_CFLAGS
16755 X_PRE_LIBS = $X_PRE_LIBS
16756 X_LIBS = $X_LIBS
16757 X_EXTRA_LIBS = $X_EXTRA_LIBS
16758 XML2_CFLAGS = $XML2_CFLAGS
16759 XML2_LIBS = $XML2_LIBS
16760 XSLT_CFLAGS = $XSLT_CFLAGS
16761 XSLT_LIBS = $XSLT_LIBS
16762 DBUS_CFLAGS = $DBUS_CFLAGS
16763 DBUS_LIBS = $DBUS_LIBS
16764 HAL_CFLAGS = $HAL_CFLAGS
16765 HAL_LIBS = $HAL_LIBS
16766 GNUTLS_CFLAGS = $GNUTLS_CFLAGS
16767 GNUTLS_LIBS = $GNUTLS_LIBS
16768 SANE_CFLAGS = $SANE_CFLAGS
16769 SANE_LIBS = $SANE_LIBS
16770 GPHOTO2_CFLAGS = $GPHOTO2_CFLAGS
16771 GPHOTO2_LIBS = $GPHOTO2_LIBS
16772 GPHOTO2_PORT_CFLAGS = $GPHOTO2_PORT_CFLAGS
16773 GPHOTO2_PORT_LIBS = $GPHOTO2_PORT_LIBS
16774 RESOLV_LIBS = $RESOLV_LIBS
16775 LCMS2_CFLAGS = $LCMS2_CFLAGS
16776 LCMS2_LIBS = $LCMS2_LIBS
16777 FREETYPE_CFLAGS = $FREETYPE_CFLAGS
16778 FREETYPE_LIBS = $FREETYPE_LIBS
16779 Z_LIBS = $Z_LIBS
16780 GETTEXTPO_LIBS = $GETTEXTPO_LIBS
16781 GSTREAMER_CFLAGS = $GSTREAMER_CFLAGS
16782 GSTREAMER_LIBS = $GSTREAMER_LIBS
16783 ALSA_LIBS = $ALSA_LIBS
16784 OSS4_CFLAGS = $OSS4_CFLAGS
16785 CAPI20_CFLAGS = $CAPI20_CFLAGS
16786 CAPI20_LIBS = $CAPI20_LIBS
16787 CUPS_CFLAGS = $CUPS_CFLAGS
16788 FONTCONFIG_CFLAGS = $FONTCONFIG_CFLAGS
16789 FONTCONFIG_LIBS = $FONTCONFIG_LIBS
16790 JPEG_CFLAGS = $JPEG_CFLAGS
16791 JPEG_LIBS = $JPEG_LIBS
16792 PNG_CFLAGS = $PNG_CFLAGS
16793 PNG_LIBS = $PNG_LIBS
16794 TIFF_CFLAGS = $TIFF_CFLAGS
16795 TIFF_LIBS = $TIFF_LIBS
16796 MPG123_CFLAGS = $MPG123_CFLAGS
16797 MPG123_LIBS = $MPG123_LIBS
16798 KSTAT_LIBS = $KSTAT_LIBS
16799 PROCSTAT_LIBS = $PROCSTAT_LIBS
16800 DL_LIBS = $DL_LIBS
16801 POLL_LIBS = $POLL_LIBS
16802 RT_LIBS = $RT_LIBS
16803 LDAP_LIBS = $LDAP_LIBS
16808 wine_fn_append_rule "
16809 # Rules automatically generated by configure
16811 CLEAN_FILES = *.o *.a *.so *.res *.fake *.ok *.tab.[ch] *.yy.c
16813 .INIT: Makefile
16814 .MAKEFILEDEPS:
16815 all: Makefile
16816 Makefile: $srcdir/Makefile.in $srcdir/Make.vars.in config.status \$(MAKEDEP)
16817 @./config.status Make.tmp Makefile"
16819 test "$srcdir" = . && wine_fn_append_rule "all: .gitignore
16820 .gitignore: config.status
16821 @./config.status .gitignore"
16823 test -n "$CROSSTARGET" || wine_fn_append_rule "crosstest:
16824 @echo \"crosstest is not supported (mingw not installed?)\" && false"
16826 if test "x$enable_fonts" != xno; then
16827 ac_config_links="$ac_config_links fonts/marlett.ttf:fonts/marlett.ttf"
16828 ac_config_links="$ac_config_links fonts/symbol.ttf:fonts/symbol.ttf"
16829 ac_config_links="$ac_config_links fonts/tahoma.ttf:fonts/tahoma.ttf"
16830 ac_config_links="$ac_config_links fonts/tahomabd.ttf:fonts/tahomabd.ttf"
16831 test "$srcdir" = "." || wine_fn_config_symlink fonts/marlett.ttf fonts/symbol.ttf fonts/tahoma.ttf fonts/tahomabd.ttf
16833 ac_config_links="$ac_config_links loader/l_intl.nls:loader/l_intl.nls"
16834 test "$srcdir" = "." || wine_fn_config_symlink loader/l_intl.nls
16835 ac_config_links="$ac_config_links po/LINGUAS:po/LINGUAS"
16836 test "$srcdir" = "." || wine_fn_config_symlink po/LINGUAS
16837 ac_config_links="$ac_config_links wine:tools/winewrapper"
16838 wine_fn_config_symlink wine
16839 if test "x$enable_win64" != xno; then
16840 ac_config_links="$ac_config_links wine64:tools/winewrapper"
16841 wine_fn_config_symlink wine64
16844 wine_fn_config_dll acledit enable_acledit
16845 wine_fn_config_dll aclui enable_aclui implib
16846 wine_fn_config_dll activeds enable_activeds implib
16847 wine_fn_config_dll actxprxy enable_actxprxy clean
16848 wine_fn_config_lib adsiid
16849 wine_fn_config_dll advapi32 enable_advapi32 clean,implib
16850 wine_fn_config_test dlls/advapi32/tests advapi32_test
16851 wine_fn_config_dll advpack enable_advpack implib
16852 wine_fn_config_test dlls/advpack/tests advpack_test
16853 wine_fn_config_dll amstream enable_amstream clean
16854 wine_fn_config_test dlls/amstream/tests amstream_test
16855 wine_fn_config_dll api-ms-win-core-com-l1-1-0 enable_api_ms_win_core_com_l1_1_0
16856 wine_fn_config_dll api-ms-win-core-console-l1-1-0 enable_api_ms_win_core_console_l1_1_0
16857 wine_fn_config_dll api-ms-win-core-datetime-l1-1-0 enable_api_ms_win_core_datetime_l1_1_0
16858 wine_fn_config_dll api-ms-win-core-datetime-l1-1-1 enable_api_ms_win_core_datetime_l1_1_1
16859 wine_fn_config_dll api-ms-win-core-debug-l1-1-1 enable_api_ms_win_core_debug_l1_1_1
16860 wine_fn_config_dll api-ms-win-core-errorhandling-l1-1-1 enable_api_ms_win_core_errorhandling_l1_1_1
16861 wine_fn_config_dll api-ms-win-core-errorhandling-l1-1-2 enable_api_ms_win_core_errorhandling_l1_1_2
16862 wine_fn_config_dll api-ms-win-core-fibers-l1-1-0 enable_api_ms_win_core_fibers_l1_1_0
16863 wine_fn_config_dll api-ms-win-core-fibers-l1-1-1 enable_api_ms_win_core_fibers_l1_1_1
16864 wine_fn_config_dll api-ms-win-core-file-l1-2-0 enable_api_ms_win_core_file_l1_2_0
16865 wine_fn_config_dll api-ms-win-core-file-l2-1-0 enable_api_ms_win_core_file_l2_1_0
16866 wine_fn_config_dll api-ms-win-core-file-l2-1-1 enable_api_ms_win_core_file_l2_1_1
16867 wine_fn_config_dll api-ms-win-core-handle-l1-1-0 enable_api_ms_win_core_handle_l1_1_0
16868 wine_fn_config_dll api-ms-win-core-heap-l1-2-0 enable_api_ms_win_core_heap_l1_2_0
16869 wine_fn_config_dll api-ms-win-core-heap-obsolete-l1-1-0 enable_api_ms_win_core_heap_obsolete_l1_1_0
16870 wine_fn_config_dll api-ms-win-core-interlocked-l1-2-0 enable_api_ms_win_core_interlocked_l1_2_0
16871 wine_fn_config_dll api-ms-win-core-io-l1-1-1 enable_api_ms_win_core_io_l1_1_1
16872 wine_fn_config_dll api-ms-win-core-kernel32-legacy-l1-1-0 enable_api_ms_win_core_kernel32_legacy_l1_1_0
16873 wine_fn_config_dll api-ms-win-core-libraryloader-l1-1-1 enable_api_ms_win_core_libraryloader_l1_1_1
16874 wine_fn_config_dll api-ms-win-core-localization-l1-2-0 enable_api_ms_win_core_localization_l1_2_0
16875 wine_fn_config_dll api-ms-win-core-localization-l1-2-1 enable_api_ms_win_core_localization_l1_2_1
16876 wine_fn_config_dll api-ms-win-core-localization-obsolete-l1-1-0 enable_api_ms_win_core_localization_obsolete_l1_1_0
16877 wine_fn_config_dll api-ms-win-core-localregistry-l1-1-0 enable_api_ms_win_core_localregistry_l1_1_0
16878 wine_fn_config_dll api-ms-win-core-memory-l1-1-1 enable_api_ms_win_core_memory_l1_1_1
16879 wine_fn_config_dll api-ms-win-core-namedpipe-l1-2-0 enable_api_ms_win_core_namedpipe_l1_2_0
16880 wine_fn_config_dll api-ms-win-core-processenvironment-l1-2-0 enable_api_ms_win_core_processenvironment_l1_2_0
16881 wine_fn_config_dll api-ms-win-core-processthreads-l1-1-0 enable_api_ms_win_core_processthreads_l1_1_0
16882 wine_fn_config_dll api-ms-win-core-processthreads-l1-1-1 enable_api_ms_win_core_processthreads_l1_1_1
16883 wine_fn_config_dll api-ms-win-core-processthreads-l1-1-2 enable_api_ms_win_core_processthreads_l1_1_2
16884 wine_fn_config_dll api-ms-win-core-profile-l1-1-0 enable_api_ms_win_core_profile_l1_1_0
16885 wine_fn_config_dll api-ms-win-core-psapi-l1-1-0 enable_api_ms_win_core_psapi_l1_1_0
16886 wine_fn_config_dll api-ms-win-core-registry-l1-1-0 enable_api_ms_win_core_registry_l1_1_0
16887 wine_fn_config_dll api-ms-win-core-rtlsupport-l1-2-0 enable_api_ms_win_core_rtlsupport_l1_2_0
16888 wine_fn_config_dll api-ms-win-core-shlwapi-legacy-l1-1-0 enable_api_ms_win_core_shlwapi_legacy_l1_1_0
16889 wine_fn_config_dll api-ms-win-core-string-l1-1-0 enable_api_ms_win_core_string_l1_1_0
16890 wine_fn_config_dll api-ms-win-core-synch-l1-2-0 enable_api_ms_win_core_synch_l1_2_0
16891 wine_fn_config_dll api-ms-win-core-sysinfo-l1-2-0 enable_api_ms_win_core_sysinfo_l1_2_0
16892 wine_fn_config_dll api-ms-win-core-sysinfo-l1-2-1 enable_api_ms_win_core_sysinfo_l1_2_1
16893 wine_fn_config_dll api-ms-win-core-threadpool-legacy-l1-1-0 enable_api_ms_win_core_threadpool_legacy_l1_1_0
16894 wine_fn_config_dll api-ms-win-core-timezone-l1-1-0 enable_api_ms_win_core_timezone_l1_1_0
16895 wine_fn_config_dll api-ms-win-core-url-l1-1-0 enable_api_ms_win_core_url_l1_1_0
16896 wine_fn_config_dll api-ms-win-core-util-l1-1-0 enable_api_ms_win_core_util_l1_1_0
16897 wine_fn_config_dll api-ms-win-core-winrt-error-l1-1-0 enable_api_ms_win_core_winrt_error_l1_1_0
16898 wine_fn_config_dll api-ms-win-core-winrt-error-l1-1-1 enable_api_ms_win_core_winrt_error_l1_1_1
16899 wine_fn_config_dll api-ms-win-core-winrt-l1-1-0 enable_api_ms_win_core_winrt_l1_1_0
16900 wine_fn_config_dll api-ms-win-core-winrt-string-l1-1-0 enable_api_ms_win_core_winrt_string_l1_1_0
16901 wine_fn_config_dll api-ms-win-core-xstate-l2-1-0 enable_api_ms_win_core_xstate_l2_1_0
16902 wine_fn_config_dll api-ms-win-downlevel-advapi32-l1-1-0 enable_api_ms_win_downlevel_advapi32_l1_1_0
16903 wine_fn_config_dll api-ms-win-downlevel-advapi32-l2-1-0 enable_api_ms_win_downlevel_advapi32_l2_1_0
16904 wine_fn_config_dll api-ms-win-downlevel-normaliz-l1-1-0 enable_api_ms_win_downlevel_normaliz_l1_1_0
16905 wine_fn_config_dll api-ms-win-downlevel-ole32-l1-1-0 enable_api_ms_win_downlevel_ole32_l1_1_0
16906 wine_fn_config_dll api-ms-win-downlevel-shell32-l1-1-0 enable_api_ms_win_downlevel_shell32_l1_1_0
16907 wine_fn_config_dll api-ms-win-downlevel-shlwapi-l1-1-0 enable_api_ms_win_downlevel_shlwapi_l1_1_0
16908 wine_fn_config_dll api-ms-win-downlevel-shlwapi-l2-1-0 enable_api_ms_win_downlevel_shlwapi_l2_1_0
16909 wine_fn_config_dll api-ms-win-downlevel-user32-l1-1-0 enable_api_ms_win_downlevel_user32_l1_1_0
16910 wine_fn_config_dll api-ms-win-downlevel-version-l1-1-0 enable_api_ms_win_downlevel_version_l1_1_0
16911 wine_fn_config_dll api-ms-win-eventing-provider-l1-1-0 enable_api_ms_win_eventing_provider_l1_1_0
16912 wine_fn_config_dll api-ms-win-ntuser-dc-access-l1-1-0 enable_api_ms_win_ntuser_dc_access_l1_1_0
16913 wine_fn_config_dll api-ms-win-security-base-l1-1-0 enable_api_ms_win_security_base_l1_1_0
16914 wine_fn_config_dll api-ms-win-security-base-l1-2-0 enable_api_ms_win_security_base_l1_2_0
16915 wine_fn_config_dll api-ms-win-security-sddl-l1-1-0 enable_api_ms_win_security_sddl_l1_1_0
16916 wine_fn_config_dll api-ms-win-service-core-l1-1-1 enable_api_ms_win_service_core_l1_1_1
16917 wine_fn_config_dll api-ms-win-service-management-l1-1-0 enable_api_ms_win_service_management_l1_1_0
16918 wine_fn_config_dll api-ms-win-service-winsvc-l1-2-0 enable_api_ms_win_service_winsvc_l1_2_0
16919 wine_fn_config_dll apphelp enable_apphelp
16920 wine_fn_config_test dlls/apphelp/tests apphelp_test
16921 wine_fn_config_dll appwiz.cpl enable_appwiz_cpl po
16922 wine_fn_config_dll atl enable_atl clean,implib
16923 wine_fn_config_test dlls/atl/tests atl_test
16924 wine_fn_config_dll atl100 enable_atl100 clean,implib
16925 wine_fn_config_test dlls/atl100/tests atl100_test
16926 wine_fn_config_dll atl110 enable_atl110 clean
16927 wine_fn_config_dll atl80 enable_atl80 clean,implib
16928 wine_fn_config_test dlls/atl80/tests atl80_test
16929 wine_fn_config_dll atl90 enable_atl90 clean
16930 wine_fn_config_dll authz enable_authz
16931 wine_fn_config_dll avicap32 enable_avicap32 implib
16932 wine_fn_config_dll avifil32 enable_avifil32 clean,implib,po
16933 wine_fn_config_test dlls/avifil32/tests avifil32_test
16934 wine_fn_config_dll avifile.dll16 enable_win16
16935 wine_fn_config_dll avrt enable_avrt implib
16936 wine_fn_config_dll bcrypt enable_bcrypt
16937 wine_fn_config_test dlls/bcrypt/tests bcrypt_test
16938 wine_fn_config_dll browseui enable_browseui clean,po
16939 wine_fn_config_test dlls/browseui/tests browseui_test
16940 wine_fn_config_dll cabinet enable_cabinet implib
16941 wine_fn_config_test dlls/cabinet/tests cabinet_test
16942 wine_fn_config_dll capi2032 enable_capi2032 implib
16943 wine_fn_config_dll cards enable_cards implib
16944 wine_fn_config_dll cfgmgr32 enable_cfgmgr32 implib
16945 wine_fn_config_dll clusapi enable_clusapi implib
16946 wine_fn_config_dll combase enable_combase
16947 wine_fn_config_test dlls/combase/tests combase_test
16948 wine_fn_config_dll comcat enable_comcat
16949 wine_fn_config_test dlls/comcat/tests comcat_test
16950 wine_fn_config_dll comctl32 enable_comctl32 implib,po
16951 wine_fn_config_test dlls/comctl32/tests comctl32_test
16952 wine_fn_config_dll comdlg32 enable_comdlg32 clean,implib,po
16953 wine_fn_config_test dlls/comdlg32/tests comdlg32_test
16954 wine_fn_config_dll comm.drv16 enable_win16
16955 wine_fn_config_dll commdlg.dll16 enable_win16
16956 wine_fn_config_dll compobj.dll16 enable_win16
16957 wine_fn_config_dll compstui enable_compstui implib
16958 wine_fn_config_dll comsvcs enable_comsvcs implib
16959 wine_fn_config_dll credui enable_credui implib,po
16960 wine_fn_config_test dlls/credui/tests credui_test
16961 wine_fn_config_dll crtdll enable_crtdll implib
16962 wine_fn_config_dll crypt32 enable_crypt32 implib,po
16963 wine_fn_config_test dlls/crypt32/tests crypt32_test
16964 wine_fn_config_dll cryptdlg enable_cryptdlg po
16965 wine_fn_config_dll cryptdll enable_cryptdll implib
16966 wine_fn_config_dll cryptext enable_cryptext
16967 wine_fn_config_dll cryptnet enable_cryptnet implib
16968 wine_fn_config_test dlls/cryptnet/tests cryptnet_test
16969 wine_fn_config_dll cryptui enable_cryptui implib,po
16970 wine_fn_config_test dlls/cryptui/tests cryptui_test
16971 wine_fn_config_dll ctapi32 enable_ctapi32
16972 wine_fn_config_dll ctl3d.dll16 enable_win16
16973 wine_fn_config_dll ctl3d32 enable_ctl3d32 implib
16974 wine_fn_config_dll ctl3dv2.dll16 enable_win16
16975 wine_fn_config_dll d2d1 enable_d2d1 implib
16976 wine_fn_config_test dlls/d2d1/tests d2d1_test
16977 wine_fn_config_dll d3d10 enable_d3d10 implib
16978 wine_fn_config_test dlls/d3d10/tests d3d10_test
16979 wine_fn_config_dll d3d10_1 enable_d3d10_1 implib
16980 wine_fn_config_dll d3d10core enable_d3d10core implib
16981 wine_fn_config_test dlls/d3d10core/tests d3d10core_test
16982 wine_fn_config_dll d3d11 enable_d3d11
16983 wine_fn_config_dll d3d8 enable_d3d8 implib
16984 wine_fn_config_test dlls/d3d8/tests d3d8_test
16985 wine_fn_config_dll d3d9 enable_d3d9 implib
16986 wine_fn_config_test dlls/d3d9/tests d3d9_test
16987 wine_fn_config_dll d3dcompiler_33 enable_d3dcompiler_33
16988 wine_fn_config_dll d3dcompiler_34 enable_d3dcompiler_34
16989 wine_fn_config_dll d3dcompiler_35 enable_d3dcompiler_35
16990 wine_fn_config_dll d3dcompiler_36 enable_d3dcompiler_36
16991 wine_fn_config_dll d3dcompiler_37 enable_d3dcompiler_37
16992 wine_fn_config_dll d3dcompiler_38 enable_d3dcompiler_38
16993 wine_fn_config_dll d3dcompiler_39 enable_d3dcompiler_39
16994 wine_fn_config_dll d3dcompiler_40 enable_d3dcompiler_40
16995 wine_fn_config_dll d3dcompiler_41 enable_d3dcompiler_41
16996 wine_fn_config_dll d3dcompiler_42 enable_d3dcompiler_42
16997 wine_fn_config_dll d3dcompiler_43 enable_d3dcompiler_43 implib d3dcompiler
16998 wine_fn_config_test dlls/d3dcompiler_43/tests d3dcompiler_43_test
16999 wine_fn_config_dll d3dim enable_d3dim implib
17000 wine_fn_config_dll d3drm enable_d3drm implib
17001 wine_fn_config_test dlls/d3drm/tests d3drm_test
17002 wine_fn_config_dll d3dx10_33 enable_d3dx10_33
17003 wine_fn_config_dll d3dx10_34 enable_d3dx10_34
17004 wine_fn_config_dll d3dx10_35 enable_d3dx10_35
17005 wine_fn_config_dll d3dx10_36 enable_d3dx10_36
17006 wine_fn_config_dll d3dx10_37 enable_d3dx10_37
17007 wine_fn_config_dll d3dx10_38 enable_d3dx10_38
17008 wine_fn_config_dll d3dx10_39 enable_d3dx10_39
17009 wine_fn_config_dll d3dx10_40 enable_d3dx10_40
17010 wine_fn_config_dll d3dx10_41 enable_d3dx10_41
17011 wine_fn_config_dll d3dx10_42 enable_d3dx10_42
17012 wine_fn_config_dll d3dx10_43 enable_d3dx10_43
17013 wine_fn_config_dll d3dx11_42 enable_d3dx11_42
17014 wine_fn_config_dll d3dx11_43 enable_d3dx11_43
17015 wine_fn_config_dll d3dx9_24 enable_d3dx9_24
17016 wine_fn_config_dll d3dx9_25 enable_d3dx9_25
17017 wine_fn_config_dll d3dx9_26 enable_d3dx9_26
17018 wine_fn_config_dll d3dx9_27 enable_d3dx9_27
17019 wine_fn_config_dll d3dx9_28 enable_d3dx9_28
17020 wine_fn_config_dll d3dx9_29 enable_d3dx9_29
17021 wine_fn_config_dll d3dx9_30 enable_d3dx9_30
17022 wine_fn_config_dll d3dx9_31 enable_d3dx9_31
17023 wine_fn_config_dll d3dx9_32 enable_d3dx9_32
17024 wine_fn_config_dll d3dx9_33 enable_d3dx9_33
17025 wine_fn_config_dll d3dx9_34 enable_d3dx9_34
17026 wine_fn_config_dll d3dx9_35 enable_d3dx9_35
17027 wine_fn_config_dll d3dx9_36 enable_d3dx9_36 implib d3dx9
17028 wine_fn_config_test dlls/d3dx9_36/tests d3dx9_36_test
17029 wine_fn_config_dll d3dx9_37 enable_d3dx9_37
17030 wine_fn_config_dll d3dx9_38 enable_d3dx9_38
17031 wine_fn_config_dll d3dx9_39 enable_d3dx9_39
17032 wine_fn_config_dll d3dx9_40 enable_d3dx9_40
17033 wine_fn_config_dll d3dx9_41 enable_d3dx9_41
17034 wine_fn_config_dll d3dx9_42 enable_d3dx9_42
17035 wine_fn_config_dll d3dx9_43 enable_d3dx9_43
17036 wine_fn_config_dll d3dxof enable_d3dxof clean,implib
17037 wine_fn_config_test dlls/d3dxof/tests d3dxof_test
17038 wine_fn_config_dll dbgeng enable_dbgeng implib
17039 wine_fn_config_dll dbghelp enable_dbghelp implib
17040 wine_fn_config_dll dciman32 enable_dciman32 implib
17041 wine_fn_config_dll ddeml.dll16 enable_win16
17042 wine_fn_config_dll ddraw enable_ddraw clean,implib
17043 wine_fn_config_test dlls/ddraw/tests ddraw_test
17044 wine_fn_config_dll ddrawex enable_ddrawex clean
17045 wine_fn_config_test dlls/ddrawex/tests ddrawex_test
17046 wine_fn_config_dll devenum enable_devenum clean,po
17047 wine_fn_config_test dlls/devenum/tests devenum_test
17048 wine_fn_config_dll dhcpcsvc enable_dhcpcsvc
17049 wine_fn_config_dll difxapi enable_difxapi
17050 wine_fn_config_dll dinput enable_dinput clean,implib,po,staticimplib
17051 wine_fn_config_test dlls/dinput/tests dinput_test
17052 wine_fn_config_dll dinput8 enable_dinput8 clean,implib
17053 wine_fn_config_test dlls/dinput8/tests dinput8_test
17054 wine_fn_config_dll dispdib.dll16 enable_win16
17055 wine_fn_config_dll dispex enable_dispex clean
17056 wine_fn_config_test dlls/dispex/tests dispex_test
17057 wine_fn_config_dll display.drv16 enable_win16
17058 wine_fn_config_dll dmband enable_dmband clean
17059 wine_fn_config_test dlls/dmband/tests dmband_test
17060 wine_fn_config_dll dmcompos enable_dmcompos clean
17061 wine_fn_config_test dlls/dmcompos/tests dmcompos_test
17062 wine_fn_config_dll dmime enable_dmime clean
17063 wine_fn_config_test dlls/dmime/tests dmime_test
17064 wine_fn_config_dll dmloader enable_dmloader clean
17065 wine_fn_config_test dlls/dmloader/tests dmloader_test
17066 wine_fn_config_dll dmscript enable_dmscript clean
17067 wine_fn_config_test dlls/dmscript/tests dmscript_test
17068 wine_fn_config_dll dmstyle enable_dmstyle clean
17069 wine_fn_config_test dlls/dmstyle/tests dmstyle_test
17070 wine_fn_config_dll dmsynth enable_dmsynth clean
17071 wine_fn_config_test dlls/dmsynth/tests dmsynth_test
17072 wine_fn_config_dll dmusic enable_dmusic clean
17073 wine_fn_config_test dlls/dmusic/tests dmusic_test
17074 wine_fn_config_dll dmusic32 enable_dmusic32 implib
17075 wine_fn_config_dll dnsapi enable_dnsapi implib
17076 wine_fn_config_test dlls/dnsapi/tests dnsapi_test
17077 wine_fn_config_dll dplay enable_dplay implib
17078 wine_fn_config_dll dplayx enable_dplayx clean,implib
17079 wine_fn_config_test dlls/dplayx/tests dplayx_test
17080 wine_fn_config_dll dpnaddr enable_dpnaddr
17081 wine_fn_config_dll dpnet enable_dpnet clean,implib
17082 wine_fn_config_test dlls/dpnet/tests dpnet_test
17083 wine_fn_config_dll dpnhpast enable_dpnhpast
17084 wine_fn_config_dll dpnlobby enable_dpnlobby
17085 wine_fn_config_dll dpvoice enable_dpvoice clean
17086 wine_fn_config_test dlls/dpvoice/tests dpvoice_test
17087 wine_fn_config_dll dpwsockx enable_dpwsockx
17088 wine_fn_config_dll drmclien enable_drmclien
17089 wine_fn_config_dll dsound enable_dsound clean,implib
17090 wine_fn_config_test dlls/dsound/tests dsound_test
17091 wine_fn_config_dll dssenh enable_dssenh
17092 wine_fn_config_test dlls/dssenh/tests dssenh_test
17093 wine_fn_config_dll dswave enable_dswave clean
17094 wine_fn_config_test dlls/dswave/tests dswave_test
17095 wine_fn_config_dll dwmapi enable_dwmapi implib
17096 wine_fn_config_dll dwrite enable_dwrite implib
17097 wine_fn_config_test dlls/dwrite/tests dwrite_test
17098 wine_fn_config_dll dxdiagn enable_dxdiagn clean,po
17099 wine_fn_config_test dlls/dxdiagn/tests dxdiagn_test
17100 wine_fn_config_lib dxerr8
17101 wine_fn_config_lib dxerr9
17102 wine_fn_config_dll dxgi enable_dxgi implib
17103 wine_fn_config_test dlls/dxgi/tests dxgi_test
17104 wine_fn_config_lib dxguid
17105 wine_fn_config_dll dxva2 enable_dxva2
17106 wine_fn_config_dll explorerframe enable_explorerframe clean
17107 wine_fn_config_test dlls/explorerframe/tests explorerframe_test
17108 wine_fn_config_dll ext-ms-win-gdi-devcaps-l1-1-0 enable_ext_ms_win_gdi_devcaps_l1_1_0
17109 wine_fn_config_dll faultrep enable_faultrep implib
17110 wine_fn_config_test dlls/faultrep/tests faultrep_test
17111 wine_fn_config_dll fltlib enable_fltlib
17112 wine_fn_config_dll fntcache enable_fntcache
17113 wine_fn_config_dll fontsub enable_fontsub
17114 wine_fn_config_dll fusion enable_fusion
17115 wine_fn_config_test dlls/fusion/tests fusion_test
17116 wine_fn_config_dll fwpuclnt enable_fwpuclnt
17117 wine_fn_config_dll gameux enable_gameux clean
17118 wine_fn_config_test dlls/gameux/tests gameux_test
17119 wine_fn_config_dll gdi.exe16 enable_win16
17120 wine_fn_config_dll gdi32 enable_gdi32 clean,implib,po
17121 wine_fn_config_test dlls/gdi32/tests gdi32_test
17122 wine_fn_config_dll gdiplus enable_gdiplus implib
17123 wine_fn_config_test dlls/gdiplus/tests gdiplus_test
17124 wine_fn_config_dll glu32 enable_glu32 implib
17125 wine_fn_config_dll gphoto2.ds enable_gphoto2_ds po
17126 wine_fn_config_dll gpkcsp enable_gpkcsp
17127 wine_fn_config_dll hal enable_hal
17128 wine_fn_config_dll hhctrl.ocx enable_hhctrl_ocx clean,implib,po htmlhelp
17129 wine_fn_config_dll hid enable_hid implib
17130 wine_fn_config_dll hlink enable_hlink clean,implib
17131 wine_fn_config_test dlls/hlink/tests hlink_test
17132 wine_fn_config_dll hnetcfg enable_hnetcfg clean
17133 wine_fn_config_dll httpapi enable_httpapi
17134 wine_fn_config_dll iccvid enable_iccvid po
17135 wine_fn_config_dll icmp enable_icmp
17136 wine_fn_config_dll ieframe enable_ieframe clean,implib,po
17137 wine_fn_config_test dlls/ieframe/tests ieframe_test
17138 wine_fn_config_dll ifsmgr.vxd enable_win16
17139 wine_fn_config_dll imaadp32.acm enable_imaadp32_acm
17140 wine_fn_config_dll imagehlp enable_imagehlp implib
17141 wine_fn_config_test dlls/imagehlp/tests imagehlp_test
17142 wine_fn_config_dll imm.dll16 enable_win16
17143 wine_fn_config_dll imm32 enable_imm32 implib
17144 wine_fn_config_test dlls/imm32/tests imm32_test
17145 wine_fn_config_dll inetcomm enable_inetcomm clean,implib
17146 wine_fn_config_test dlls/inetcomm/tests inetcomm_test
17147 wine_fn_config_dll inetcpl.cpl enable_inetcpl_cpl po
17148 wine_fn_config_dll inetmib1 enable_inetmib1
17149 wine_fn_config_test dlls/inetmib1/tests inetmib1_test
17150 wine_fn_config_dll infosoft enable_infosoft clean
17151 wine_fn_config_test dlls/infosoft/tests infosoft_test
17152 wine_fn_config_dll initpki enable_initpki
17153 wine_fn_config_dll inkobj enable_inkobj
17154 wine_fn_config_dll inseng enable_inseng clean
17155 wine_fn_config_dll iphlpapi enable_iphlpapi implib
17156 wine_fn_config_test dlls/iphlpapi/tests iphlpapi_test
17157 wine_fn_config_dll itircl enable_itircl
17158 wine_fn_config_dll itss enable_itss clean
17159 wine_fn_config_test dlls/itss/tests itss_test
17160 wine_fn_config_dll joy.cpl enable_joy_cpl po
17161 wine_fn_config_dll jscript enable_jscript clean,po
17162 wine_fn_config_test dlls/jscript/tests jscript_test
17163 wine_fn_config_dll jsproxy enable_jsproxy implib
17164 wine_fn_config_dll kernel32 enable_kernel32 clean,implib,mc
17165 wine_fn_config_test dlls/kernel32/tests kernel32_test
17166 wine_fn_config_dll keyboard.drv16 enable_win16
17167 wine_fn_config_dll krnl386.exe16 enable_win16 implib kernel
17168 wine_fn_config_dll ksuser enable_ksuser
17169 wine_fn_config_dll ktmw32 enable_ktmw32
17170 wine_fn_config_dll loadperf enable_loadperf implib
17171 wine_fn_config_dll localspl enable_localspl po
17172 wine_fn_config_test dlls/localspl/tests localspl_test
17173 wine_fn_config_dll localui enable_localui po
17174 wine_fn_config_test dlls/localui/tests localui_test
17175 wine_fn_config_dll lz32 enable_lz32 implib
17176 wine_fn_config_test dlls/lz32/tests lz32_test
17177 wine_fn_config_dll lzexpand.dll16 enable_win16
17178 wine_fn_config_dll mapi32 enable_mapi32 implib,po
17179 wine_fn_config_test dlls/mapi32/tests mapi32_test
17180 wine_fn_config_dll mapistub enable_mapistub
17181 wine_fn_config_dll mciavi32 enable_mciavi32
17182 wine_fn_config_dll mcicda enable_mcicda
17183 wine_fn_config_dll mciqtz32 enable_mciqtz32
17184 wine_fn_config_dll mciseq enable_mciseq
17185 wine_fn_config_dll mciwave enable_mciwave
17186 wine_fn_config_dll mfplat enable_mfplat
17187 wine_fn_config_dll mfreadwrite enable_mfreadwrite
17188 wine_fn_config_dll mgmtapi enable_mgmtapi
17189 wine_fn_config_dll midimap enable_midimap
17190 wine_fn_config_dll mlang enable_mlang clean,implib
17191 wine_fn_config_test dlls/mlang/tests mlang_test
17192 wine_fn_config_dll mmcndmgr enable_mmcndmgr clean
17193 wine_fn_config_test dlls/mmcndmgr/tests mmcndmgr_test
17194 wine_fn_config_dll mmdevapi enable_mmdevapi clean
17195 wine_fn_config_test dlls/mmdevapi/tests mmdevapi_test
17196 wine_fn_config_dll mmdevldr.vxd enable_win16
17197 wine_fn_config_dll mmsystem.dll16 enable_win16
17198 wine_fn_config_dll monodebg.vxd enable_win16
17199 wine_fn_config_dll mountmgr.sys enable_mountmgr_sys
17200 wine_fn_config_dll mouse.drv16 enable_win16
17201 wine_fn_config_dll mpr enable_mpr implib,po
17202 wine_fn_config_test dlls/mpr/tests mpr_test
17203 wine_fn_config_dll mprapi enable_mprapi implib
17204 wine_fn_config_dll msacm.dll16 enable_win16
17205 wine_fn_config_dll msacm32.drv enable_msacm32_drv
17206 wine_fn_config_dll msacm32 enable_msacm32 implib,po
17207 wine_fn_config_test dlls/msacm32/tests msacm32_test
17208 wine_fn_config_dll msadp32.acm enable_msadp32_acm
17209 wine_fn_config_dll msasn1 enable_msasn1 implib
17210 wine_fn_config_dll mscat32 enable_mscat32
17211 wine_fn_config_dll mscms enable_mscms implib
17212 wine_fn_config_test dlls/mscms/tests mscms_test
17213 wine_fn_config_dll mscoree enable_mscoree clean
17214 wine_fn_config_test dlls/mscoree/tests mscoree_test
17215 wine_fn_config_dll msctf enable_msctf clean
17216 wine_fn_config_test dlls/msctf/tests msctf_test
17217 wine_fn_config_dll msdaps enable_msdaps clean
17218 wine_fn_config_dll msdmo enable_msdmo implib
17219 wine_fn_config_test dlls/msdmo/tests msdmo_test
17220 wine_fn_config_dll msftedit enable_msftedit
17221 wine_fn_config_dll msg711.acm enable_msg711_acm
17222 wine_fn_config_dll msgsm32.acm enable_msgsm32_acm
17223 wine_fn_config_dll mshtml.tlb enable_mshtml_tlb clean
17224 wine_fn_config_dll mshtml enable_mshtml clean,implib,po
17225 wine_fn_config_test dlls/mshtml/tests mshtml_test clean
17226 wine_fn_config_dll msi enable_msi clean,implib,po
17227 wine_fn_config_test dlls/msi/tests msi_test
17228 wine_fn_config_dll msident enable_msident clean
17229 wine_fn_config_dll msimg32 enable_msimg32 implib
17230 wine_fn_config_dll msimsg enable_msimsg
17231 wine_fn_config_dll msimtf enable_msimtf clean
17232 wine_fn_config_dll msisip enable_msisip
17233 wine_fn_config_dll msisys.ocx enable_msisys_ocx
17234 wine_fn_config_dll msls31 enable_msls31
17235 wine_fn_config_dll msnet32 enable_msnet32
17236 wine_fn_config_dll mspatcha enable_mspatcha
17237 wine_fn_config_dll msrle32 enable_msrle32 po
17238 wine_fn_config_test dlls/msrle32/tests msrle32_test
17239 wine_fn_config_dll mssign32 enable_mssign32
17240 wine_fn_config_dll mssip32 enable_mssip32
17241 wine_fn_config_dll mstask enable_mstask clean
17242 wine_fn_config_test dlls/mstask/tests mstask_test
17243 wine_fn_config_dll msvcirt enable_msvcirt
17244 wine_fn_config_dll msvcm80 enable_msvcm80
17245 wine_fn_config_dll msvcm90 enable_msvcm90
17246 wine_fn_config_dll msvcp100 enable_msvcp100
17247 wine_fn_config_test dlls/msvcp100/tests msvcp100_test
17248 wine_fn_config_dll msvcp110 enable_msvcp110
17249 wine_fn_config_dll msvcp120 enable_msvcp120
17250 wine_fn_config_test dlls/msvcp120/tests msvcp120_test
17251 wine_fn_config_dll msvcp120_app enable_msvcp120_app
17252 wine_fn_config_dll msvcp60 enable_msvcp60
17253 wine_fn_config_test dlls/msvcp60/tests msvcp60_test
17254 wine_fn_config_dll msvcp70 enable_msvcp70
17255 wine_fn_config_dll msvcp71 enable_msvcp71
17256 wine_fn_config_dll msvcp80 enable_msvcp80
17257 wine_fn_config_dll msvcp90 enable_msvcp90
17258 wine_fn_config_test dlls/msvcp90/tests msvcp90_test
17259 wine_fn_config_dll msvcr100 enable_msvcr100 implib
17260 wine_fn_config_test dlls/msvcr100/tests msvcr100_test
17261 wine_fn_config_dll msvcr110 enable_msvcr110 implib
17262 wine_fn_config_dll msvcr120 enable_msvcr120 implib
17263 wine_fn_config_test dlls/msvcr120/tests msvcr120_test
17264 wine_fn_config_dll msvcr120_app enable_msvcr120_app
17265 wine_fn_config_dll msvcr70 enable_msvcr70 implib
17266 wine_fn_config_dll msvcr71 enable_msvcr71 implib
17267 wine_fn_config_dll msvcr80 enable_msvcr80 implib
17268 wine_fn_config_dll msvcr90 enable_msvcr90 implib
17269 wine_fn_config_test dlls/msvcr90/tests msvcr90_test
17270 wine_fn_config_dll msvcrt enable_msvcrt implib
17271 wine_fn_config_test dlls/msvcrt/tests msvcrt_test
17272 wine_fn_config_dll msvcrt20 enable_msvcrt20 implib
17273 wine_fn_config_dll msvcrt40 enable_msvcrt40 implib
17274 wine_fn_config_dll msvcrtd enable_msvcrtd implib
17275 wine_fn_config_test dlls/msvcrtd/tests msvcrtd_test
17276 wine_fn_config_dll msvfw32 enable_msvfw32 implib,po
17277 wine_fn_config_test dlls/msvfw32/tests msvfw32_test
17278 wine_fn_config_dll msvidc32 enable_msvidc32 po
17279 wine_fn_config_dll msvideo.dll16 enable_win16
17280 wine_fn_config_dll mswsock enable_mswsock implib
17281 wine_fn_config_dll msxml enable_msxml clean
17282 wine_fn_config_dll msxml2 enable_msxml2 clean
17283 wine_fn_config_dll msxml3 enable_msxml3 clean
17284 wine_fn_config_test dlls/msxml3/tests msxml3_test clean
17285 wine_fn_config_dll msxml4 enable_msxml4 clean
17286 wine_fn_config_dll msxml6 enable_msxml6 clean
17287 wine_fn_config_dll nddeapi enable_nddeapi implib
17288 wine_fn_config_dll ndis.sys enable_ndis_sys
17289 wine_fn_config_dll netapi32 enable_netapi32 implib
17290 wine_fn_config_test dlls/netapi32/tests netapi32_test
17291 wine_fn_config_dll netcfgx enable_netcfgx clean
17292 wine_fn_config_test dlls/netcfgx/tests netcfgx_test
17293 wine_fn_config_dll netprofm enable_netprofm clean
17294 wine_fn_config_test dlls/netprofm/tests netprofm_test
17295 wine_fn_config_dll newdev enable_newdev implib
17296 wine_fn_config_dll normaliz enable_normaliz implib
17297 wine_fn_config_dll npmshtml enable_npmshtml
17298 wine_fn_config_dll npptools enable_npptools
17299 wine_fn_config_dll ntdll enable_ntdll implib
17300 wine_fn_config_test dlls/ntdll/tests ntdll_test
17301 wine_fn_config_dll ntdsapi enable_ntdsapi implib
17302 wine_fn_config_test dlls/ntdsapi/tests ntdsapi_test
17303 wine_fn_config_dll ntoskrnl.exe enable_ntoskrnl_exe implib
17304 wine_fn_config_dll ntprint enable_ntprint
17305 wine_fn_config_test dlls/ntprint/tests ntprint_test
17306 wine_fn_config_dll objsel enable_objsel clean
17307 wine_fn_config_dll odbc32 enable_odbc32 implib
17308 wine_fn_config_dll odbccp32 enable_odbccp32 implib
17309 wine_fn_config_test dlls/odbccp32/tests odbccp32_test
17310 wine_fn_config_dll odbccu32 enable_odbccu32
17311 wine_fn_config_dll ole2.dll16 enable_win16
17312 wine_fn_config_dll ole2conv.dll16 enable_win16
17313 wine_fn_config_dll ole2disp.dll16 enable_win16
17314 wine_fn_config_dll ole2nls.dll16 enable_win16
17315 wine_fn_config_dll ole2prox.dll16 enable_win16
17316 wine_fn_config_dll ole2thk.dll16 enable_win16
17317 wine_fn_config_dll ole32 enable_ole32 clean,implib
17318 wine_fn_config_test dlls/ole32/tests ole32_test
17319 wine_fn_config_dll oleacc enable_oleacc clean,implib,po
17320 wine_fn_config_test dlls/oleacc/tests oleacc_test
17321 wine_fn_config_dll oleaut32 enable_oleaut32 clean,implib,po
17322 wine_fn_config_test dlls/oleaut32/tests oleaut32_test clean
17323 wine_fn_config_dll olecli.dll16 enable_win16
17324 wine_fn_config_dll olecli32 enable_olecli32 implib
17325 wine_fn_config_dll oledb32 enable_oledb32 clean
17326 wine_fn_config_test dlls/oledb32/tests oledb32_test clean
17327 wine_fn_config_dll oledlg enable_oledlg implib,po
17328 wine_fn_config_dll olepro32 enable_olepro32 implib
17329 wine_fn_config_dll olesvr.dll16 enable_win16
17330 wine_fn_config_dll olesvr32 enable_olesvr32 implib
17331 wine_fn_config_dll olethk32 enable_olethk32
17332 wine_fn_config_dll openal32 enable_openal32
17333 wine_fn_config_dll opencl enable_opencl
17334 wine_fn_config_dll opengl32 enable_opengl32 implib
17335 wine_fn_config_test dlls/opengl32/tests opengl32_test
17336 wine_fn_config_dll packager enable_packager clean
17337 wine_fn_config_test dlls/packager/tests packager_test
17338 wine_fn_config_dll pdh enable_pdh implib
17339 wine_fn_config_test dlls/pdh/tests pdh_test
17340 wine_fn_config_dll photometadatahandler enable_photometadatahandler
17341 wine_fn_config_dll pidgen enable_pidgen
17342 wine_fn_config_dll powrprof enable_powrprof implib
17343 wine_fn_config_dll printui enable_printui
17344 wine_fn_config_dll prntvpt enable_prntvpt
17345 wine_fn_config_dll propsys enable_propsys clean,implib
17346 wine_fn_config_test dlls/propsys/tests propsys_test
17347 wine_fn_config_dll psapi enable_psapi implib
17348 wine_fn_config_test dlls/psapi/tests psapi_test
17349 wine_fn_config_dll pstorec enable_pstorec clean
17350 wine_fn_config_dll qcap enable_qcap
17351 wine_fn_config_test dlls/qcap/tests qcap_test
17352 wine_fn_config_dll qedit enable_qedit clean
17353 wine_fn_config_test dlls/qedit/tests qedit_test
17354 wine_fn_config_dll qmgr enable_qmgr clean
17355 wine_fn_config_test dlls/qmgr/tests qmgr_test
17356 wine_fn_config_dll qmgrprxy enable_qmgrprxy clean
17357 wine_fn_config_dll quartz enable_quartz clean,implib
17358 wine_fn_config_test dlls/quartz/tests quartz_test clean
17359 wine_fn_config_dll query enable_query
17360 wine_fn_config_dll rasapi16.dll16 enable_win16
17361 wine_fn_config_dll rasapi32 enable_rasapi32 implib
17362 wine_fn_config_test dlls/rasapi32/tests rasapi32_test
17363 wine_fn_config_dll rasdlg enable_rasdlg implib
17364 wine_fn_config_dll regapi enable_regapi
17365 wine_fn_config_dll resutils enable_resutils implib
17366 wine_fn_config_dll riched20 enable_riched20 implib
17367 wine_fn_config_test dlls/riched20/tests riched20_test
17368 wine_fn_config_dll riched32 enable_riched32
17369 wine_fn_config_test dlls/riched32/tests riched32_test
17370 wine_fn_config_dll rpcrt4 enable_rpcrt4 clean,implib
17371 wine_fn_config_test dlls/rpcrt4/tests rpcrt4_test clean
17372 wine_fn_config_dll rsabase enable_rsabase
17373 wine_fn_config_dll rsaenh enable_rsaenh implib
17374 wine_fn_config_test dlls/rsaenh/tests rsaenh_test
17375 wine_fn_config_dll rstrtmgr enable_rstrtmgr
17376 wine_fn_config_dll rtutils enable_rtutils implib
17377 wine_fn_config_dll samlib enable_samlib
17378 wine_fn_config_dll sane.ds enable_sane_ds po
17379 wine_fn_config_dll scarddlg enable_scarddlg
17380 wine_fn_config_dll sccbase enable_sccbase
17381 wine_fn_config_dll schannel enable_schannel
17382 wine_fn_config_test dlls/schannel/tests schannel_test
17383 wine_fn_config_dll schedsvc enable_schedsvc clean
17384 wine_fn_config_test dlls/schedsvc/tests schedsvc_test clean
17385 wine_fn_config_dll scrrun enable_scrrun clean
17386 wine_fn_config_test dlls/scrrun/tests scrrun_test clean
17387 wine_fn_config_dll scsiport.sys enable_scsiport_sys
17388 wine_fn_config_dll secur32 enable_secur32 implib
17389 wine_fn_config_test dlls/secur32/tests secur32_test
17390 wine_fn_config_dll security enable_security
17391 wine_fn_config_dll sensapi enable_sensapi implib
17392 wine_fn_config_dll serialui enable_serialui implib,po
17393 wine_fn_config_test dlls/serialui/tests serialui_test
17394 wine_fn_config_dll setupapi enable_setupapi implib,po
17395 wine_fn_config_test dlls/setupapi/tests setupapi_test
17396 wine_fn_config_dll setupx.dll16 enable_win16
17397 wine_fn_config_dll sfc enable_sfc implib
17398 wine_fn_config_dll sfc_os enable_sfc_os implib
17399 wine_fn_config_dll shdoclc enable_shdoclc po
17400 wine_fn_config_dll shdocvw enable_shdocvw clean,implib
17401 wine_fn_config_test dlls/shdocvw/tests shdocvw_test
17402 wine_fn_config_dll shell.dll16 enable_win16
17403 wine_fn_config_dll shell32 enable_shell32 clean,implib,po
17404 wine_fn_config_test dlls/shell32/tests shell32_test
17405 wine_fn_config_dll shfolder enable_shfolder implib
17406 wine_fn_config_dll shlwapi enable_shlwapi implib,po
17407 wine_fn_config_test dlls/shlwapi/tests shlwapi_test
17408 wine_fn_config_dll slbcsp enable_slbcsp
17409 wine_fn_config_dll slc enable_slc implib
17410 wine_fn_config_dll snmpapi enable_snmpapi implib
17411 wine_fn_config_test dlls/snmpapi/tests snmpapi_test
17412 wine_fn_config_dll softpub enable_softpub
17413 wine_fn_config_dll sound.drv16 enable_win16
17414 wine_fn_config_dll spoolss enable_spoolss implib
17415 wine_fn_config_test dlls/spoolss/tests spoolss_test
17416 wine_fn_config_dll stdole2.tlb enable_stdole2_tlb clean
17417 wine_fn_config_dll stdole32.tlb enable_stdole32_tlb clean
17418 wine_fn_config_dll sti enable_sti clean,implib
17419 wine_fn_config_test dlls/sti/tests sti_test
17420 wine_fn_config_dll storage.dll16 enable_win16
17421 wine_fn_config_dll stress.dll16 enable_win16
17422 wine_fn_config_lib strmbase
17423 wine_fn_config_lib strmiids
17424 wine_fn_config_dll svrapi enable_svrapi
17425 wine_fn_config_dll sxs enable_sxs implib
17426 wine_fn_config_test dlls/sxs/tests sxs_test
17427 wine_fn_config_dll system.drv16 enable_win16
17428 wine_fn_config_dll t2embed enable_t2embed
17429 wine_fn_config_dll tapi32 enable_tapi32 implib
17430 wine_fn_config_dll taskschd enable_taskschd clean
17431 wine_fn_config_test dlls/taskschd/tests taskschd_test
17432 wine_fn_config_dll toolhelp.dll16 enable_win16
17433 wine_fn_config_dll traffic enable_traffic
17434 wine_fn_config_dll twain.dll16 enable_win16
17435 wine_fn_config_dll twain_32 enable_twain_32
17436 wine_fn_config_test dlls/twain_32/tests twain_32_test
17437 wine_fn_config_dll typelib.dll16 enable_win16
17438 wine_fn_config_dll unicows enable_unicows implib
17439 wine_fn_config_dll updspapi enable_updspapi
17440 wine_fn_config_dll url enable_url implib
17441 wine_fn_config_dll urlmon enable_urlmon clean,implib,po
17442 wine_fn_config_test dlls/urlmon/tests urlmon_test
17443 wine_fn_config_dll usbd.sys enable_usbd_sys implib
17444 wine_fn_config_dll user.exe16 enable_win16
17445 wine_fn_config_dll user32 enable_user32 clean,implib,po
17446 wine_fn_config_test dlls/user32/tests user32_test
17447 wine_fn_config_dll userenv enable_userenv implib
17448 wine_fn_config_test dlls/userenv/tests userenv_test
17449 wine_fn_config_dll usp10 enable_usp10 implib
17450 wine_fn_config_test dlls/usp10/tests usp10_test
17451 wine_fn_config_lib uuid
17452 wine_fn_config_dll uxtheme enable_uxtheme implib
17453 wine_fn_config_test dlls/uxtheme/tests uxtheme_test
17454 wine_fn_config_dll vbscript enable_vbscript clean
17455 wine_fn_config_test dlls/vbscript/tests vbscript_test clean
17456 wine_fn_config_dll vcomp enable_vcomp
17457 wine_fn_config_dll vcomp100 enable_vcomp100
17458 wine_fn_config_dll vcomp90 enable_vcomp90
17459 wine_fn_config_dll vdhcp.vxd enable_win16
17460 wine_fn_config_dll vdmdbg enable_vdmdbg implib
17461 wine_fn_config_dll ver.dll16 enable_win16
17462 wine_fn_config_dll version enable_version implib
17463 wine_fn_config_test dlls/version/tests version_test
17464 wine_fn_config_dll vmm.vxd enable_win16
17465 wine_fn_config_dll vnbt.vxd enable_win16
17466 wine_fn_config_dll vnetbios.vxd enable_win16
17467 wine_fn_config_dll vssapi enable_vssapi
17468 wine_fn_config_dll vtdapi.vxd enable_win16
17469 wine_fn_config_dll vwin32.vxd enable_win16
17470 wine_fn_config_dll w32skrnl enable_win16
17471 wine_fn_config_dll w32sys.dll16 enable_win16
17472 wine_fn_config_dll wbemdisp enable_wbemdisp clean
17473 wine_fn_config_test dlls/wbemdisp/tests wbemdisp_test
17474 wine_fn_config_dll wbemprox enable_wbemprox clean
17475 wine_fn_config_test dlls/wbemprox/tests wbemprox_test
17476 wine_fn_config_dll webservices enable_webservices implib
17477 wine_fn_config_dll wer enable_wer implib
17478 wine_fn_config_test dlls/wer/tests wer_test
17479 wine_fn_config_dll wevtapi enable_wevtapi
17480 wine_fn_config_dll wiaservc enable_wiaservc clean
17481 wine_fn_config_dll win32s16.dll16 enable_win16
17482 wine_fn_config_dll win87em.dll16 enable_win16
17483 wine_fn_config_dll winaspi.dll16 enable_win16
17484 wine_fn_config_dll windebug.dll16 enable_win16
17485 wine_fn_config_dll windowscodecs enable_windowscodecs clean,implib
17486 wine_fn_config_test dlls/windowscodecs/tests windowscodecs_test
17487 wine_fn_config_dll windowscodecsext enable_windowscodecsext implib
17488 wine_fn_config_test dlls/windowscodecsext/tests windowscodecsext_test
17489 wine_fn_config_dll winealsa.drv enable_winealsa_drv
17490 wine_fn_config_dll winecoreaudio.drv enable_winecoreaudio_drv
17491 wine_fn_config_lib winecrt0
17492 wine_fn_config_dll wined3d enable_wined3d implib
17493 wine_fn_config_dll winegstreamer enable_winegstreamer
17494 wine_fn_config_dll winejoystick.drv enable_winejoystick_drv
17495 wine_fn_config_dll winemac.drv enable_winemac_drv
17496 wine_fn_config_dll winemapi enable_winemapi
17497 wine_fn_config_dll winemp3.acm enable_winemp3_acm
17498 wine_fn_config_dll wineoss.drv enable_wineoss_drv
17499 wine_fn_config_dll wineps.drv enable_wineps_drv clean,po
17500 wine_fn_config_dll wineps16.drv16 enable_win16
17501 wine_fn_config_dll wineqtdecoder enable_wineqtdecoder
17502 wine_fn_config_dll winex11.drv enable_winex11_drv
17503 wine_fn_config_dll wing.dll16 enable_win16
17504 wine_fn_config_dll wing32 enable_wing32
17505 wine_fn_config_dll winhttp enable_winhttp clean,implib
17506 wine_fn_config_test dlls/winhttp/tests winhttp_test
17507 wine_fn_config_dll wininet enable_wininet implib,po
17508 wine_fn_config_test dlls/wininet/tests wininet_test
17509 wine_fn_config_dll winmm enable_winmm implib,po
17510 wine_fn_config_test dlls/winmm/tests winmm_test
17511 wine_fn_config_dll winnls.dll16 enable_win16
17512 wine_fn_config_dll winnls32 enable_winnls32 implib
17513 wine_fn_config_dll winscard enable_winscard implib
17514 wine_fn_config_dll winsock.dll16 enable_win16
17515 wine_fn_config_dll winspool.drv enable_winspool_drv implib,po winspool
17516 wine_fn_config_test dlls/winspool.drv/tests winspool.drv_test
17517 wine_fn_config_dll winsta enable_winsta
17518 wine_fn_config_dll wintab.dll16 enable_win16
17519 wine_fn_config_dll wintab32 enable_wintab32 implib
17520 wine_fn_config_test dlls/wintab32/tests wintab32_test
17521 wine_fn_config_dll wintrust enable_wintrust implib
17522 wine_fn_config_test dlls/wintrust/tests wintrust_test
17523 wine_fn_config_dll wlanapi enable_wlanapi
17524 wine_fn_config_dll wldap32 enable_wldap32 implib,po
17525 wine_fn_config_test dlls/wldap32/tests wldap32_test
17526 wine_fn_config_dll wmi enable_wmi
17527 wine_fn_config_dll wmiutils enable_wmiutils clean
17528 wine_fn_config_test dlls/wmiutils/tests wmiutils_test
17529 wine_fn_config_dll wmp enable_wmp clean
17530 wine_fn_config_test dlls/wmp/tests wmp_test
17531 wine_fn_config_dll wmvcore enable_wmvcore
17532 wine_fn_config_dll wnaspi32 enable_wnaspi32 implib
17533 wine_fn_config_dll wow32 enable_win16 implib
17534 wine_fn_config_dll wpcap enable_wpcap
17535 wine_fn_config_dll ws2_32 enable_ws2_32 implib
17536 wine_fn_config_test dlls/ws2_32/tests ws2_32_test
17537 wine_fn_config_dll wshom.ocx enable_wshom_ocx clean
17538 wine_fn_config_test dlls/wshom.ocx/tests wshom.ocx_test clean
17539 wine_fn_config_dll wsnmp32 enable_wsnmp32 implib
17540 wine_fn_config_test dlls/wsnmp32/tests wsnmp32_test
17541 wine_fn_config_dll wsock32 enable_wsock32 implib
17542 wine_fn_config_dll wtsapi32 enable_wtsapi32 implib
17543 wine_fn_config_test dlls/wtsapi32/tests wtsapi32_test
17544 wine_fn_config_dll wuapi enable_wuapi clean
17545 wine_fn_config_dll wuaueng enable_wuaueng
17546 wine_fn_config_dll x3daudio1_7 enable_x3daudio1_7
17547 wine_fn_config_dll xapofx1_1 enable_xapofx1_1
17548 wine_fn_config_dll xaudio2_7 enable_xaudio2_7
17549 wine_fn_config_dll xinput1_1 enable_xinput1_1
17550 wine_fn_config_dll xinput1_2 enable_xinput1_2
17551 wine_fn_config_dll xinput1_3 enable_xinput1_3 implib xinput
17552 wine_fn_config_test dlls/xinput1_3/tests xinput1_3_test
17553 wine_fn_config_dll xinput1_4 enable_xinput1_4
17554 wine_fn_config_dll xinput9_1_0 enable_xinput9_1_0
17555 wine_fn_config_dll xmllite enable_xmllite implib
17556 wine_fn_config_test dlls/xmllite/tests xmllite_test
17557 wine_fn_config_dll xolehlp enable_xolehlp
17558 wine_fn_config_dll xpsprint enable_xpsprint
17559 wine_fn_config_dll xpssvcs enable_xpssvcs
17560 wine_fn_config_makefile documentation enable_documentation clean
17561 wine_fn_config_makefile fonts enable_fonts clean,install-lib
17562 wine_fn_config_makefile include enable_include clean,install-dev
17563 wine_fn_config_makefile libs/port enable_libs_port
17564 wine_fn_config_makefile libs/wine enable_libs_wine clean,install-dev,install-lib
17565 wine_fn_config_makefile libs/wpp enable_libs_wpp
17566 wine_fn_config_makefile loader enable_loader clean,install-lib,manpage
17567 wine_fn_config_program arp enable_arp install
17568 wine_fn_config_program aspnet_regiis enable_aspnet_regiis install
17569 wine_fn_config_program attrib enable_attrib install,po
17570 wine_fn_config_program cabarc enable_cabarc install
17571 wine_fn_config_program cacls enable_cacls install
17572 wine_fn_config_program clock enable_clock install,po
17573 wine_fn_config_program cmd enable_cmd install,po
17574 wine_fn_config_test programs/cmd/tests cmd.exe_test
17575 wine_fn_config_program conhost enable_conhost install
17576 wine_fn_config_program control enable_control install
17577 wine_fn_config_program cscript enable_cscript clean,install
17578 wine_fn_config_program dpnsvr enable_dpnsvr install
17579 wine_fn_config_program dxdiag enable_dxdiag install,po
17580 wine_fn_config_program eject enable_eject install
17581 wine_fn_config_program expand enable_expand install
17582 wine_fn_config_program explorer enable_explorer install,po
17583 wine_fn_config_program extrac32 enable_extrac32 install
17584 wine_fn_config_program findstr enable_findstr install
17585 wine_fn_config_program hh enable_hh install
17586 wine_fn_config_program hostname enable_hostname install,po
17587 wine_fn_config_program icinfo enable_icinfo install
17588 wine_fn_config_program iexplore enable_iexplore install
17589 wine_fn_config_program ipconfig enable_ipconfig install,po
17590 wine_fn_config_program lodctr enable_lodctr install
17591 wine_fn_config_program mofcomp enable_mofcomp install
17592 wine_fn_config_program mshta enable_mshta install
17593 wine_fn_config_program msiexec enable_msiexec install,installbin,manpage
17594 wine_fn_config_program net enable_net install,po
17595 wine_fn_config_program netsh enable_netsh install
17596 wine_fn_config_program netstat enable_netstat install,po
17597 wine_fn_config_program ngen enable_ngen install
17598 wine_fn_config_program notepad enable_notepad install,installbin,manpage,po
17599 wine_fn_config_program oleview enable_oleview install,po
17600 wine_fn_config_program ping enable_ping install
17601 wine_fn_config_program plugplay enable_plugplay install
17602 wine_fn_config_program presentationfontcache enable_presentationfontcache install
17603 wine_fn_config_program progman enable_progman install,po
17604 wine_fn_config_program reg enable_reg install,po
17605 wine_fn_config_test programs/reg/tests reg.exe_test
17606 wine_fn_config_program regasm enable_regasm install
17607 wine_fn_config_program regedit enable_regedit install,installbin,manpage,po
17608 wine_fn_config_test programs/regedit/tests regedit.exe_test
17609 wine_fn_config_program regsvcs enable_regsvcs install
17610 wine_fn_config_program regsvr32 enable_regsvr32 install,installbin,manpage,po
17611 wine_fn_config_program rpcss enable_rpcss clean,install
17612 wine_fn_config_program rundll.exe16 enable_win16 install
17613 wine_fn_config_program rundll32 enable_rundll32 install
17614 wine_fn_config_program sc enable_sc install
17615 wine_fn_config_program schtasks enable_schtasks install
17616 wine_fn_config_program sdbinst enable_sdbinst install
17617 wine_fn_config_program secedit enable_secedit install
17618 wine_fn_config_program servicemodelreg enable_servicemodelreg install
17619 wine_fn_config_program services enable_services clean,install
17620 wine_fn_config_test programs/services/tests services.exe_test
17621 wine_fn_config_program spoolsv enable_spoolsv install
17622 wine_fn_config_program start enable_start install,po
17623 wine_fn_config_program svchost enable_svchost install
17624 wine_fn_config_program systeminfo enable_systeminfo install
17625 wine_fn_config_program taskkill enable_taskkill install,po
17626 wine_fn_config_program tasklist enable_tasklist install
17627 wine_fn_config_program taskmgr enable_taskmgr install,po
17628 wine_fn_config_program termsv enable_termsv install
17629 wine_fn_config_program uninstaller enable_uninstaller install,po
17630 wine_fn_config_program unlodctr enable_unlodctr install
17631 wine_fn_config_program view enable_view install,po
17632 wine_fn_config_program wevtutil enable_wevtutil install
17633 wine_fn_config_program wineboot enable_wineboot install,installbin,manpage,po
17634 wine_fn_config_program winebrowser enable_winebrowser install
17635 wine_fn_config_program winecfg enable_winecfg install,installbin,manpage,po
17636 wine_fn_config_program wineconsole enable_wineconsole install,installbin,manpage,po
17637 wine_fn_config_program winedbg enable_winedbg install,installbin,manpage,po
17638 wine_fn_config_program winedevice enable_winedevice install
17639 wine_fn_config_program winefile enable_winefile install,installbin,manpage,po
17640 wine_fn_config_program winemenubuilder enable_winemenubuilder install
17641 wine_fn_config_program winemine enable_winemine install,installbin,manpage,po
17642 wine_fn_config_program winemsibuilder enable_winemsibuilder install
17643 wine_fn_config_program winepath enable_winepath install,installbin,manpage
17644 wine_fn_config_program winetest enable_winetest clean
17645 wine_fn_config_program winevdm enable_win16 install
17646 wine_fn_config_program winhelp.exe16 enable_win16 install
17647 wine_fn_config_program winhlp32 enable_winhlp32 install,po
17648 wine_fn_config_program winoldap.mod16 enable_win16 install
17649 wine_fn_config_program winver enable_winver install
17650 wine_fn_config_program wmic enable_wmic install,po
17651 wine_fn_config_program wordpad enable_wordpad install,po
17652 wine_fn_config_program write enable_write install,po
17653 wine_fn_config_program wscript enable_wscript clean,install
17654 wine_fn_config_test programs/wscript/tests wscript.exe_test
17655 wine_fn_config_program wusa enable_wusa install
17656 wine_fn_config_program xcopy enable_xcopy install,po
17657 wine_fn_config_test programs/xcopy/tests xcopy.exe_test
17658 wine_fn_config_makefile server enable_server clean,install-lib,manpage
17659 wine_fn_config_tool tools clean,install-dev,install-lib,manpage
17660 wine_fn_config_tool tools/sfnt2fon clean
17661 wine_fn_config_tool tools/widl clean,install-dev,manpage
17662 wine_fn_config_tool tools/winebuild clean,install-dev,manpage
17663 wine_fn_config_tool tools/winedump clean,install-dev,manpage
17664 wine_fn_config_tool tools/winegcc clean,install-dev,manpage
17665 wine_fn_config_tool tools/wmc clean,install-dev,manpage
17666 wine_fn_config_tool tools/wrc clean,install-dev,manpage
17668 LINGUAS="\
17669 ar \
17670 bg \
17671 ca \
17672 cs \
17673 da \
17674 de \
17675 el \
17676 en \
17677 en_US \
17678 eo \
17679 es \
17680 fa \
17681 fi \
17682 fr \
17683 he \
17684 hi \
17685 hr \
17686 hu \
17687 it \
17688 ja \
17689 ko \
17690 lt \
17691 ml \
17692 nb_NO \
17693 nl \
17694 or \
17695 pa \
17696 pl \
17697 pt_BR \
17698 pt_PT \
17699 rm \
17700 ro \
17701 ru \
17702 sk \
17703 sl \
17704 sr_RS@cyrillic \
17705 sr_RS@latin \
17706 sv \
17707 te \
17708 th \
17709 tr \
17710 uk \
17711 wa \
17712 zh_CN \
17713 zh_TW"
17718 wine_fn_ignore_file ".gitignore"
17719 wine_fn_ignore_file "Makefile"
17720 wine_fn_ignore_file "TAGS"
17721 wine_fn_ignore_file "tags"
17722 wine_fn_ignore_file "autom4te.cache"
17723 wine_fn_ignore_file "config.cache"
17724 wine_fn_ignore_file "config.log"
17725 wine_fn_ignore_file "config.status"
17726 wine_fn_ignore_file "configure.lineno"
17727 wine_fn_ignore_file "include/config.h"
17728 wine_fn_ignore_file "include/stamp-h"
17729 test "$wine_binary" = wine || wine_fn_ignore_file "loader/wine"
17731 if test "x$enable_tools" != xno
17732 then
17733 wine_fn_ignore_file "tools/makedep$ac_exeext"
17734 ac_config_commands="$ac_config_commands tools/makedep"
17738 ac_config_commands="$ac_config_commands Makefile"
17741 ac_config_files="$ac_config_files Make.tmp:Make.vars.in:Makefile.in"
17745 if test "x$enable_maintainer_mode" = xyes
17746 then
17747 wine_fn_append_rule "configure: configure.ac aclocal.m4
17748 autoconf --warnings=all
17749 include/config.h.in: include/stamp-h.in
17750 include/stamp-h.in: configure.ac aclocal.m4
17751 autoheader --warnings=all
17752 @echo timestamp > \$@"
17755 if test "x$with_gettextpo" = xyes
17756 then
17757 test "$srcdir" = . || as_fn_error $? "Rebuilding po files is not supported for out of tree builds." "$LINENO" 5
17758 wine_fn_append_rule "ALL_POT_FILES =$ALL_POT_FILES
17759 \$(LINGUAS:%=po/%.po): po/wine.pot
17760 msgmerge --previous -q \$@ po/wine.pot | msgattrib --no-obsolete -o \$@.new && mv \$@.new \$@
17761 po/wine.pot: \$(ALL_POT_FILES)
17762 msgcat -o \$@ \$(ALL_POT_FILES)"
17765 if test "$MSGFMT" != false
17766 then
17767 wine_fn_append_rule "__builddeps__: \$(LINGUAS:%=po/%.mo)
17768 clean::
17769 \$(RM) \$(LINGUAS:%=po/%.mo)"
17771 posrc="po"
17772 test "$srcdir" = . || posrc="$srcdir/po"
17773 for i in $LINGUAS
17775 wine_fn_ignore_file "po/$i.mo"
17776 wine_fn_append_rule "po/$i.mo: $posrc/$i.po
17777 \$(MSGFMT) -o \$@ $posrc/$i.po"
17778 done
17779 else
17780 LINGUAS=
17783 if test "x$enable_tools" != xno
17784 then
17785 wine_fn_append_rule "tools/makedep$ac_exeext: $srcdir/tools/makedep.c include/config.h config.status
17786 @./config.status tools/makedep
17787 Makefile: tools/makedep$ac_exeext
17788 distclean:: clean
17789 \$(RM) tools/makedep$ac_exeext"
17790 else
17791 wine_fn_append_rule "\$(MAKEDEP):
17792 @echo \"You need to run make in $TOOLSDIR first\" && false"
17795 if test -n "$with_wine64"
17796 then
17797 wine_fn_append_rule "all: fonts server tools $with_wine64/loader/wine $with_wine64/loader/wine-preloader
17798 fonts server tools:
17799 \$(RM) \$@ && \$(LN_S) $with_wine64/\$@ \$@
17800 $with_wine64/loader/wine:
17801 \$(RM) \$@ && \$(LN_S) $ac_pwd/loader/wine \$@
17802 $with_wine64/loader/wine-preloader:
17803 \$(RM) \$@ && \$(LN_S) $ac_pwd/loader/wine-preloader \$@
17804 clean::
17805 \$(RM) fonts server tools $with_wine64/loader/wine $with_wine64/loader/wine-preloader"
17806 else
17807 as_fn_append LOADER_RULES "
17808 install install-lib:: wine.inf install-man-pages
17809 \$(INSTALL_DATA) wine.inf \$(DESTDIR)\$(datadir)/wine/wine.inf
17810 \$(INSTALL_DATA) \$(srcdir)/l_intl.nls \$(DESTDIR)\$(datadir)/wine/l_intl.nls
17812 uninstall::
17813 \$(RM) \$(DESTDIR)\$(datadir)/wine/wine.inf \$(DESTDIR)\$(datadir)/wine/l_intl.nls
17817 if test "$srcdir" = .
17818 then
17819 ac_config_commands="$ac_config_commands .gitignore"
17823 $as_echo " done" >&6
17824 cat >confcache <<\_ACEOF
17825 # This file is a shell script that caches the results of configure
17826 # tests run on this system so they can be shared between configure
17827 # scripts and configure runs, see configure's option --config-cache.
17828 # It is not useful on other systems. If it contains results you don't
17829 # want to keep, you may remove or edit it.
17831 # config.status only pays attention to the cache file if you give it
17832 # the --recheck option to rerun configure.
17834 # `ac_cv_env_foo' variables (set or unset) will be overridden when
17835 # loading this file, other *unset* `ac_cv_foo' will be assigned the
17836 # following values.
17838 _ACEOF
17840 # The following way of writing the cache mishandles newlines in values,
17841 # but we know of no workaround that is simple, portable, and efficient.
17842 # So, we kill variables containing newlines.
17843 # Ultrix sh set writes to stderr and can't be redirected directly,
17844 # and sets the high bit in the cache file unless we assign to the vars.
17846 for ac_var in `(set) 2>&1 | sed -n 's/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'`; do
17847 eval ac_val=\$$ac_var
17848 case $ac_val in #(
17849 *${as_nl}*)
17850 case $ac_var in #(
17851 *_cv_*) { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: cache variable $ac_var contains a newline" >&5
17852 $as_echo "$as_me: WARNING: cache variable $ac_var contains a newline" >&2;} ;;
17853 esac
17854 case $ac_var in #(
17855 _ | IFS | as_nl) ;; #(
17856 BASH_ARGV | BASH_SOURCE) eval $ac_var= ;; #(
17857 *) { eval $ac_var=; unset $ac_var;} ;;
17858 esac ;;
17859 esac
17860 done
17862 (set) 2>&1 |
17863 case $as_nl`(ac_space=' '; set) 2>&1` in #(
17864 *${as_nl}ac_space=\ *)
17865 # `set' does not quote correctly, so add quotes: double-quote
17866 # substitution turns \\\\ into \\, and sed turns \\ into \.
17867 sed -n \
17868 "s/'/'\\\\''/g;
17869 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\\2'/p"
17870 ;; #(
17872 # `set' quotes correctly as required by POSIX, so do not add quotes.
17873 sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
17875 esac |
17876 sort
17878 sed '
17879 /^ac_cv_env_/b end
17880 t clear
17881 :clear
17882 s/^\([^=]*\)=\(.*[{}].*\)$/test "${\1+set}" = set || &/
17883 t end
17884 s/^\([^=]*\)=\(.*\)$/\1=${\1=\2}/
17885 :end' >>confcache
17886 if diff "$cache_file" confcache >/dev/null 2>&1; then :; else
17887 if test -w "$cache_file"; then
17888 if test "x$cache_file" != "x/dev/null"; then
17889 { $as_echo "$as_me:${as_lineno-$LINENO}: updating cache $cache_file" >&5
17890 $as_echo "$as_me: updating cache $cache_file" >&6;}
17891 if test ! -f "$cache_file" || test -h "$cache_file"; then
17892 cat confcache >"$cache_file"
17893 else
17894 case $cache_file in #(
17895 */* | ?:*)
17896 mv -f confcache "$cache_file"$$ &&
17897 mv -f "$cache_file"$$ "$cache_file" ;; #(
17899 mv -f confcache "$cache_file" ;;
17900 esac
17903 else
17904 { $as_echo "$as_me:${as_lineno-$LINENO}: not updating unwritable cache $cache_file" >&5
17905 $as_echo "$as_me: not updating unwritable cache $cache_file" >&6;}
17908 rm -f confcache
17910 test "x$prefix" = xNONE && prefix=$ac_default_prefix
17911 # Let make expand exec_prefix.
17912 test "x$exec_prefix" = xNONE && exec_prefix='${prefix}'
17914 DEFS=-DHAVE_CONFIG_H
17916 ac_libobjs=
17917 ac_ltlibobjs=
17919 for ac_i in : $LIBOBJS; do test "x$ac_i" = x: && continue
17920 # 1. Remove the extension, and $U if already installed.
17921 ac_script='s/\$U\././;s/\.o$//;s/\.obj$//'
17922 ac_i=`$as_echo "$ac_i" | sed "$ac_script"`
17923 # 2. Prepend LIBOBJDIR. When used with automake>=1.10 LIBOBJDIR
17924 # will be set to the directory where LIBOBJS objects are built.
17925 as_fn_append ac_libobjs " \${LIBOBJDIR}$ac_i\$U.$ac_objext"
17926 as_fn_append ac_ltlibobjs " \${LIBOBJDIR}$ac_i"'$U.lo'
17927 done
17928 LIBOBJS=$ac_libobjs
17930 LTLIBOBJS=$ac_ltlibobjs
17934 : "${CONFIG_STATUS=./config.status}"
17935 ac_write_fail=0
17936 ac_clean_files_save=$ac_clean_files
17937 ac_clean_files="$ac_clean_files $CONFIG_STATUS"
17938 { $as_echo "$as_me:${as_lineno-$LINENO}: creating $CONFIG_STATUS" >&5
17939 $as_echo "$as_me: creating $CONFIG_STATUS" >&6;}
17940 as_write_fail=0
17941 cat >$CONFIG_STATUS <<_ASEOF || as_write_fail=1
17942 #! $SHELL
17943 # Generated by $as_me.
17944 # Run this file to recreate the current configuration.
17945 # Compiler output produced by configure, useful for debugging
17946 # configure, is in config.log if it exists.
17948 debug=false
17949 ac_cs_recheck=false
17950 ac_cs_silent=false
17952 SHELL=\${CONFIG_SHELL-$SHELL}
17953 export SHELL
17954 _ASEOF
17955 cat >>$CONFIG_STATUS <<\_ASEOF || as_write_fail=1
17956 ## -------------------- ##
17957 ## M4sh Initialization. ##
17958 ## -------------------- ##
17960 # Be more Bourne compatible
17961 DUALCASE=1; export DUALCASE # for MKS sh
17962 if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then :
17963 emulate sh
17964 NULLCMD=:
17965 # Pre-4.2 versions of Zsh do word splitting on ${1+"$@"}, which
17966 # is contrary to our usage. Disable this feature.
17967 alias -g '${1+"$@"}'='"$@"'
17968 setopt NO_GLOB_SUBST
17969 else
17970 case `(set -o) 2>/dev/null` in #(
17971 *posix*) :
17972 set -o posix ;; #(
17973 *) :
17975 esac
17979 as_nl='
17981 export as_nl
17982 # Printing a long string crashes Solaris 7 /usr/bin/printf.
17983 as_echo='\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\'
17984 as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo
17985 as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo$as_echo
17986 # Prefer a ksh shell builtin over an external printf program on Solaris,
17987 # but without wasting forks for bash or zsh.
17988 if test -z "$BASH_VERSION$ZSH_VERSION" \
17989 && (test "X`print -r -- $as_echo`" = "X$as_echo") 2>/dev/null; then
17990 as_echo='print -r --'
17991 as_echo_n='print -rn --'
17992 elif (test "X`printf %s $as_echo`" = "X$as_echo") 2>/dev/null; then
17993 as_echo='printf %s\n'
17994 as_echo_n='printf %s'
17995 else
17996 if test "X`(/usr/ucb/echo -n -n $as_echo) 2>/dev/null`" = "X-n $as_echo"; then
17997 as_echo_body='eval /usr/ucb/echo -n "$1$as_nl"'
17998 as_echo_n='/usr/ucb/echo -n'
17999 else
18000 as_echo_body='eval expr "X$1" : "X\\(.*\\)"'
18001 as_echo_n_body='eval
18002 arg=$1;
18003 case $arg in #(
18004 *"$as_nl"*)
18005 expr "X$arg" : "X\\(.*\\)$as_nl";
18006 arg=`expr "X$arg" : ".*$as_nl\\(.*\\)"`;;
18007 esac;
18008 expr "X$arg" : "X\\(.*\\)" | tr -d "$as_nl"
18010 export as_echo_n_body
18011 as_echo_n='sh -c $as_echo_n_body as_echo'
18013 export as_echo_body
18014 as_echo='sh -c $as_echo_body as_echo'
18017 # The user is always right.
18018 if test "${PATH_SEPARATOR+set}" != set; then
18019 PATH_SEPARATOR=:
18020 (PATH='/bin;/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 && {
18021 (PATH='/bin:/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 ||
18022 PATH_SEPARATOR=';'
18027 # IFS
18028 # We need space, tab and new line, in precisely that order. Quoting is
18029 # there to prevent editors from complaining about space-tab.
18030 # (If _AS_PATH_WALK were called with IFS unset, it would disable word
18031 # splitting by setting IFS to empty value.)
18032 IFS=" "" $as_nl"
18034 # Find who we are. Look in the path if we contain no directory separator.
18035 as_myself=
18036 case $0 in #((
18037 *[\\/]* ) as_myself=$0 ;;
18038 *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
18039 for as_dir in $PATH
18041 IFS=$as_save_IFS
18042 test -z "$as_dir" && as_dir=.
18043 test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break
18044 done
18045 IFS=$as_save_IFS
18048 esac
18049 # We did not find ourselves, most probably we were run as `sh COMMAND'
18050 # in which case we are not to be found in the path.
18051 if test "x$as_myself" = x; then
18052 as_myself=$0
18054 if test ! -f "$as_myself"; then
18055 $as_echo "$as_myself: error: cannot find myself; rerun with an absolute file name" >&2
18056 exit 1
18059 # Unset variables that we do not need and which cause bugs (e.g. in
18060 # pre-3.0 UWIN ksh). But do not cause bugs in bash 2.01; the "|| exit 1"
18061 # suppresses any "Segmentation fault" message there. '((' could
18062 # trigger a bug in pdksh 5.2.14.
18063 for as_var in BASH_ENV ENV MAIL MAILPATH
18064 do eval test x\${$as_var+set} = xset \
18065 && ( (unset $as_var) || exit 1) >/dev/null 2>&1 && unset $as_var || :
18066 done
18067 PS1='$ '
18068 PS2='> '
18069 PS4='+ '
18071 # NLS nuisances.
18072 LC_ALL=C
18073 export LC_ALL
18074 LANGUAGE=C
18075 export LANGUAGE
18077 # CDPATH.
18078 (unset CDPATH) >/dev/null 2>&1 && unset CDPATH
18081 # as_fn_error STATUS ERROR [LINENO LOG_FD]
18082 # ----------------------------------------
18083 # Output "`basename $0`: error: ERROR" to stderr. If LINENO and LOG_FD are
18084 # provided, also output the error to LOG_FD, referencing LINENO. Then exit the
18085 # script with STATUS, using 1 if that was 0.
18086 as_fn_error ()
18088 as_status=$1; test $as_status -eq 0 && as_status=1
18089 if test "$4"; then
18090 as_lineno=${as_lineno-"$3"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
18091 $as_echo "$as_me:${as_lineno-$LINENO}: error: $2" >&$4
18093 $as_echo "$as_me: error: $2" >&2
18094 as_fn_exit $as_status
18095 } # as_fn_error
18098 # as_fn_set_status STATUS
18099 # -----------------------
18100 # Set $? to STATUS, without forking.
18101 as_fn_set_status ()
18103 return $1
18104 } # as_fn_set_status
18106 # as_fn_exit STATUS
18107 # -----------------
18108 # Exit the shell with STATUS, even in a "trap 0" or "set -e" context.
18109 as_fn_exit ()
18111 set +e
18112 as_fn_set_status $1
18113 exit $1
18114 } # as_fn_exit
18116 # as_fn_unset VAR
18117 # ---------------
18118 # Portably unset VAR.
18119 as_fn_unset ()
18121 { eval $1=; unset $1;}
18123 as_unset=as_fn_unset
18124 # as_fn_append VAR VALUE
18125 # ----------------------
18126 # Append the text in VALUE to the end of the definition contained in VAR. Take
18127 # advantage of any shell optimizations that allow amortized linear growth over
18128 # repeated appends, instead of the typical quadratic growth present in naive
18129 # implementations.
18130 if (eval "as_var=1; as_var+=2; test x\$as_var = x12") 2>/dev/null; then :
18131 eval 'as_fn_append ()
18133 eval $1+=\$2
18135 else
18136 as_fn_append ()
18138 eval $1=\$$1\$2
18140 fi # as_fn_append
18142 # as_fn_arith ARG...
18143 # ------------------
18144 # Perform arithmetic evaluation on the ARGs, and store the result in the
18145 # global $as_val. Take advantage of shells that can avoid forks. The arguments
18146 # must be portable across $(()) and expr.
18147 if (eval "test \$(( 1 + 1 )) = 2") 2>/dev/null; then :
18148 eval 'as_fn_arith ()
18150 as_val=$(( $* ))
18152 else
18153 as_fn_arith ()
18155 as_val=`expr "$@" || test $? -eq 1`
18157 fi # as_fn_arith
18160 if expr a : '\(a\)' >/dev/null 2>&1 &&
18161 test "X`expr 00001 : '.*\(...\)'`" = X001; then
18162 as_expr=expr
18163 else
18164 as_expr=false
18167 if (basename -- /) >/dev/null 2>&1 && test "X`basename -- / 2>&1`" = "X/"; then
18168 as_basename=basename
18169 else
18170 as_basename=false
18173 if (as_dir=`dirname -- /` && test "X$as_dir" = X/) >/dev/null 2>&1; then
18174 as_dirname=dirname
18175 else
18176 as_dirname=false
18179 as_me=`$as_basename -- "$0" ||
18180 $as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
18181 X"$0" : 'X\(//\)$' \| \
18182 X"$0" : 'X\(/\)' \| . 2>/dev/null ||
18183 $as_echo X/"$0" |
18184 sed '/^.*\/\([^/][^/]*\)\/*$/{
18185 s//\1/
18188 /^X\/\(\/\/\)$/{
18189 s//\1/
18192 /^X\/\(\/\).*/{
18193 s//\1/
18196 s/.*/./; q'`
18198 # Avoid depending upon Character Ranges.
18199 as_cr_letters='abcdefghijklmnopqrstuvwxyz'
18200 as_cr_LETTERS='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
18201 as_cr_Letters=$as_cr_letters$as_cr_LETTERS
18202 as_cr_digits='0123456789'
18203 as_cr_alnum=$as_cr_Letters$as_cr_digits
18205 ECHO_C= ECHO_N= ECHO_T=
18206 case `echo -n x` in #(((((
18207 -n*)
18208 case `echo 'xy\c'` in
18209 *c*) ECHO_T=' ';; # ECHO_T is single tab character.
18210 xy) ECHO_C='\c';;
18211 *) echo `echo ksh88 bug on AIX 6.1` > /dev/null
18212 ECHO_T=' ';;
18213 esac;;
18215 ECHO_N='-n';;
18216 esac
18218 rm -f conf$$ conf$$.exe conf$$.file
18219 if test -d conf$$.dir; then
18220 rm -f conf$$.dir/conf$$.file
18221 else
18222 rm -f conf$$.dir
18223 mkdir conf$$.dir 2>/dev/null
18225 if (echo >conf$$.file) 2>/dev/null; then
18226 if ln -s conf$$.file conf$$ 2>/dev/null; then
18227 as_ln_s='ln -s'
18228 # ... but there are two gotchas:
18229 # 1) On MSYS, both `ln -s file dir' and `ln file dir' fail.
18230 # 2) DJGPP < 2.04 has no symlinks; `ln -s' creates a wrapper executable.
18231 # In both cases, we have to default to `cp -pR'.
18232 ln -s conf$$.file conf$$.dir 2>/dev/null && test ! -f conf$$.exe ||
18233 as_ln_s='cp -pR'
18234 elif ln conf$$.file conf$$ 2>/dev/null; then
18235 as_ln_s=ln
18236 else
18237 as_ln_s='cp -pR'
18239 else
18240 as_ln_s='cp -pR'
18242 rm -f conf$$ conf$$.exe conf$$.dir/conf$$.file conf$$.file
18243 rmdir conf$$.dir 2>/dev/null
18246 # as_fn_mkdir_p
18247 # -------------
18248 # Create "$as_dir" as a directory, including parents if necessary.
18249 as_fn_mkdir_p ()
18252 case $as_dir in #(
18253 -*) as_dir=./$as_dir;;
18254 esac
18255 test -d "$as_dir" || eval $as_mkdir_p || {
18256 as_dirs=
18257 while :; do
18258 case $as_dir in #(
18259 *\'*) as_qdir=`$as_echo "$as_dir" | sed "s/'/'\\\\\\\\''/g"`;; #'(
18260 *) as_qdir=$as_dir;;
18261 esac
18262 as_dirs="'$as_qdir' $as_dirs"
18263 as_dir=`$as_dirname -- "$as_dir" ||
18264 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
18265 X"$as_dir" : 'X\(//\)[^/]' \| \
18266 X"$as_dir" : 'X\(//\)$' \| \
18267 X"$as_dir" : 'X\(/\)' \| . 2>/dev/null ||
18268 $as_echo X"$as_dir" |
18269 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
18270 s//\1/
18273 /^X\(\/\/\)[^/].*/{
18274 s//\1/
18277 /^X\(\/\/\)$/{
18278 s//\1/
18281 /^X\(\/\).*/{
18282 s//\1/
18285 s/.*/./; q'`
18286 test -d "$as_dir" && break
18287 done
18288 test -z "$as_dirs" || eval "mkdir $as_dirs"
18289 } || test -d "$as_dir" || as_fn_error $? "cannot create directory $as_dir"
18292 } # as_fn_mkdir_p
18293 if mkdir -p . 2>/dev/null; then
18294 as_mkdir_p='mkdir -p "$as_dir"'
18295 else
18296 test -d ./-p && rmdir ./-p
18297 as_mkdir_p=false
18301 # as_fn_executable_p FILE
18302 # -----------------------
18303 # Test if FILE is an executable regular file.
18304 as_fn_executable_p ()
18306 test -f "$1" && test -x "$1"
18307 } # as_fn_executable_p
18308 as_test_x='test -x'
18309 as_executable_p=as_fn_executable_p
18311 # Sed expression to map a string onto a valid CPP name.
18312 as_tr_cpp="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'"
18314 # Sed expression to map a string onto a valid variable name.
18315 as_tr_sh="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'"
18318 exec 6>&1
18319 ## ----------------------------------- ##
18320 ## Main body of $CONFIG_STATUS script. ##
18321 ## ----------------------------------- ##
18322 _ASEOF
18323 test $as_write_fail = 0 && chmod +x $CONFIG_STATUS || ac_write_fail=1
18325 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
18326 # Save the log message, to keep $0 and so on meaningful, and to
18327 # report actual input values of CONFIG_FILES etc. instead of their
18328 # values after options handling.
18329 ac_log="
18330 This file was extended by Wine $as_me 1.7.34, which was
18331 generated by GNU Autoconf 2.69. Invocation command line was
18333 CONFIG_FILES = $CONFIG_FILES
18334 CONFIG_HEADERS = $CONFIG_HEADERS
18335 CONFIG_LINKS = $CONFIG_LINKS
18336 CONFIG_COMMANDS = $CONFIG_COMMANDS
18337 $ $0 $@
18339 on `(hostname || uname -n) 2>/dev/null | sed 1q`
18342 _ACEOF
18344 case $ac_config_files in *"
18345 "*) set x $ac_config_files; shift; ac_config_files=$*;;
18346 esac
18348 case $ac_config_headers in *"
18349 "*) set x $ac_config_headers; shift; ac_config_headers=$*;;
18350 esac
18353 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
18354 # Files that config.status was made for.
18355 config_files="$ac_config_files"
18356 config_headers="$ac_config_headers"
18357 config_links="$ac_config_links"
18358 config_commands="$ac_config_commands"
18360 _ACEOF
18362 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
18363 ac_cs_usage="\
18364 \`$as_me' instantiates files and other configuration actions
18365 from templates according to the current configuration. Unless the files
18366 and actions are specified as TAGs, all are instantiated by default.
18368 Usage: $0 [OPTION]... [TAG]...
18370 -h, --help print this help, then exit
18371 -V, --version print version number and configuration settings, then exit
18372 --config print configuration, then exit
18373 -q, --quiet, --silent
18374 do not print progress messages
18375 -d, --debug don't remove temporary files
18376 --recheck update $as_me by reconfiguring in the same conditions
18377 --file=FILE[:TEMPLATE]
18378 instantiate the configuration file FILE
18379 --header=FILE[:TEMPLATE]
18380 instantiate the configuration header FILE
18382 Configuration files:
18383 $config_files
18385 Configuration headers:
18386 $config_headers
18388 Configuration links:
18389 $config_links
18391 Configuration commands:
18392 $config_commands
18394 Report bugs to <wine-devel@winehq.org>.
18395 Wine home page: <http://www.winehq.org>."
18397 _ACEOF
18398 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
18399 ac_cs_config="`$as_echo "$ac_configure_args" | sed 's/^ //; s/[\\""\`\$]/\\\\&/g'`"
18400 ac_cs_version="\\
18401 Wine config.status 1.7.34
18402 configured by $0, generated by GNU Autoconf 2.69,
18403 with options \\"\$ac_cs_config\\"
18405 Copyright (C) 2012 Free Software Foundation, Inc.
18406 This config.status script is free software; the Free Software Foundation
18407 gives unlimited permission to copy, distribute and modify it."
18409 ac_pwd='$ac_pwd'
18410 srcdir='$srcdir'
18411 test -n "\$AWK" || AWK=awk
18412 _ACEOF
18414 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
18415 # The default lists apply if the user does not specify any file.
18416 ac_need_defaults=:
18417 while test $# != 0
18419 case $1 in
18420 --*=?*)
18421 ac_option=`expr "X$1" : 'X\([^=]*\)='`
18422 ac_optarg=`expr "X$1" : 'X[^=]*=\(.*\)'`
18423 ac_shift=:
18425 --*=)
18426 ac_option=`expr "X$1" : 'X\([^=]*\)='`
18427 ac_optarg=
18428 ac_shift=:
18431 ac_option=$1
18432 ac_optarg=$2
18433 ac_shift=shift
18435 esac
18437 case $ac_option in
18438 # Handling of the options.
18439 -recheck | --recheck | --rechec | --reche | --rech | --rec | --re | --r)
18440 ac_cs_recheck=: ;;
18441 --version | --versio | --versi | --vers | --ver | --ve | --v | -V )
18442 $as_echo "$ac_cs_version"; exit ;;
18443 --config | --confi | --conf | --con | --co | --c )
18444 $as_echo "$ac_cs_config"; exit ;;
18445 --debug | --debu | --deb | --de | --d | -d )
18446 debug=: ;;
18447 --file | --fil | --fi | --f )
18448 $ac_shift
18449 case $ac_optarg in
18450 *\'*) ac_optarg=`$as_echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"` ;;
18451 '') as_fn_error $? "missing file argument" ;;
18452 esac
18453 as_fn_append CONFIG_FILES " '$ac_optarg'"
18454 ac_need_defaults=false;;
18455 --header | --heade | --head | --hea )
18456 $ac_shift
18457 case $ac_optarg in
18458 *\'*) ac_optarg=`$as_echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"` ;;
18459 esac
18460 as_fn_append CONFIG_HEADERS " '$ac_optarg'"
18461 ac_need_defaults=false;;
18462 --he | --h)
18463 # Conflict between --help and --header
18464 as_fn_error $? "ambiguous option: \`$1'
18465 Try \`$0 --help' for more information.";;
18466 --help | --hel | -h )
18467 $as_echo "$ac_cs_usage"; exit ;;
18468 -q | -quiet | --quiet | --quie | --qui | --qu | --q \
18469 | -silent | --silent | --silen | --sile | --sil | --si | --s)
18470 ac_cs_silent=: ;;
18472 # This is an error.
18473 -*) as_fn_error $? "unrecognized option: \`$1'
18474 Try \`$0 --help' for more information." ;;
18476 *) as_fn_append ac_config_targets " $1"
18477 ac_need_defaults=false ;;
18479 esac
18480 shift
18481 done
18483 ac_configure_extra_args=
18485 if $ac_cs_silent; then
18486 exec 6>/dev/null
18487 ac_configure_extra_args="$ac_configure_extra_args --silent"
18490 _ACEOF
18491 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
18492 if \$ac_cs_recheck; then
18493 set X $SHELL '$0' $ac_configure_args \$ac_configure_extra_args --no-create --no-recursion
18494 shift
18495 \$as_echo "running CONFIG_SHELL=$SHELL \$*" >&6
18496 CONFIG_SHELL='$SHELL'
18497 export CONFIG_SHELL
18498 exec "\$@"
18501 _ACEOF
18502 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
18503 exec 5>>config.log
18505 echo
18506 sed 'h;s/./-/g;s/^.../## /;s/...$/ ##/;p;x;p;x' <<_ASBOX
18507 ## Running $as_me. ##
18508 _ASBOX
18509 $as_echo "$ac_log"
18510 } >&5
18512 _ACEOF
18513 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
18515 # INIT-COMMANDS
18517 wine_fn_output_makedep ()
18519 as_dir=tools; as_fn_mkdir_p
18520 $CC -Iinclude -I$srcdir/include -D__WINESRC__ $EXTRACFLAGS $CPPFLAGS $CFLAGS -o tools/makedep$ac_exeext $srcdir/tools/makedep.c $LDFLAGS
18522 wine_fn_output_makefile ()
18524 cat Make.tmp - <<\_WINE_EOF >\$tmp/makefile && mv -f \$tmp/makefile \$1 && rm -f Make.tmp && "$wine_makedep" . && return
18525 `cat $wine_rules_file`
18526 _WINE_EOF
18527 as_fn_error $? "could not create Makefile" "$LINENO" 5
18529 wine_fn_output_gitignore ()
18531 sort <<\_WINE_EOF >\$tmp/gitignore && mv -f \$tmp/gitignore \$1 && return
18532 $GITIGNORE
18533 _WINE_EOF
18534 as_fn_error $? "could not create .gitignore" "$LINENO" 5
18537 _ACEOF
18539 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
18541 # Handling of arguments.
18542 for ac_config_target in $ac_config_targets
18544 case $ac_config_target in
18545 "include/config.h") CONFIG_HEADERS="$CONFIG_HEADERS include/config.h" ;;
18546 "include/stamp-h") CONFIG_COMMANDS="$CONFIG_COMMANDS include/stamp-h" ;;
18547 "fonts/marlett.ttf") CONFIG_LINKS="$CONFIG_LINKS fonts/marlett.ttf:fonts/marlett.ttf" ;;
18548 "fonts/symbol.ttf") CONFIG_LINKS="$CONFIG_LINKS fonts/symbol.ttf:fonts/symbol.ttf" ;;
18549 "fonts/tahoma.ttf") CONFIG_LINKS="$CONFIG_LINKS fonts/tahoma.ttf:fonts/tahoma.ttf" ;;
18550 "fonts/tahomabd.ttf") CONFIG_LINKS="$CONFIG_LINKS fonts/tahomabd.ttf:fonts/tahomabd.ttf" ;;
18551 "loader/l_intl.nls") CONFIG_LINKS="$CONFIG_LINKS loader/l_intl.nls:loader/l_intl.nls" ;;
18552 "po/LINGUAS") CONFIG_LINKS="$CONFIG_LINKS po/LINGUAS:po/LINGUAS" ;;
18553 "wine") CONFIG_LINKS="$CONFIG_LINKS wine:tools/winewrapper" ;;
18554 "wine64") CONFIG_LINKS="$CONFIG_LINKS wine64:tools/winewrapper" ;;
18555 "tools/makedep") CONFIG_COMMANDS="$CONFIG_COMMANDS tools/makedep" ;;
18556 "Makefile") CONFIG_COMMANDS="$CONFIG_COMMANDS Makefile" ;;
18557 "Make.tmp") CONFIG_FILES="$CONFIG_FILES Make.tmp:Make.vars.in:Makefile.in" ;;
18558 ".gitignore") CONFIG_COMMANDS="$CONFIG_COMMANDS .gitignore" ;;
18560 *) as_fn_error $? "invalid argument: \`$ac_config_target'" "$LINENO" 5;;
18561 esac
18562 done
18565 # If the user did not use the arguments to specify the items to instantiate,
18566 # then the envvar interface is used. Set only those that are not.
18567 # We use the long form for the default assignment because of an extremely
18568 # bizarre bug on SunOS 4.1.3.
18569 if $ac_need_defaults; then
18570 test "${CONFIG_FILES+set}" = set || CONFIG_FILES=$config_files
18571 test "${CONFIG_HEADERS+set}" = set || CONFIG_HEADERS=$config_headers
18572 test "${CONFIG_LINKS+set}" = set || CONFIG_LINKS=$config_links
18573 test "${CONFIG_COMMANDS+set}" = set || CONFIG_COMMANDS=$config_commands
18576 # Have a temporary directory for convenience. Make it in the build tree
18577 # simply because there is no reason against having it here, and in addition,
18578 # creating and moving files from /tmp can sometimes cause problems.
18579 # Hook for its removal unless debugging.
18580 # Note that there is a small window in which the directory will not be cleaned:
18581 # after its creation but before its name has been assigned to `$tmp'.
18582 $debug ||
18584 tmp= ac_tmp=
18585 trap 'exit_status=$?
18586 : "${ac_tmp:=$tmp}"
18587 { test ! -d "$ac_tmp" || rm -fr "$ac_tmp"; } && exit $exit_status
18589 trap 'as_fn_exit 1' 1 2 13 15
18591 # Create a (secure) tmp directory for tmp files.
18594 tmp=`(umask 077 && mktemp -d "./confXXXXXX") 2>/dev/null` &&
18595 test -d "$tmp"
18596 } ||
18598 tmp=./conf$$-$RANDOM
18599 (umask 077 && mkdir "$tmp")
18600 } || as_fn_error $? "cannot create a temporary directory in ." "$LINENO" 5
18601 ac_tmp=$tmp
18603 # Set up the scripts for CONFIG_FILES section.
18604 # No need to generate them if there are no CONFIG_FILES.
18605 # This happens for instance with `./config.status config.h'.
18606 if test -n "$CONFIG_FILES"; then
18609 ac_cr=`echo X | tr X '\015'`
18610 # On cygwin, bash can eat \r inside `` if the user requested igncr.
18611 # But we know of no other shell where ac_cr would be empty at this
18612 # point, so we can use a bashism as a fallback.
18613 if test "x$ac_cr" = x; then
18614 eval ac_cr=\$\'\\r\'
18616 ac_cs_awk_cr=`$AWK 'BEGIN { print "a\rb" }' </dev/null 2>/dev/null`
18617 if test "$ac_cs_awk_cr" = "a${ac_cr}b"; then
18618 ac_cs_awk_cr='\\r'
18619 else
18620 ac_cs_awk_cr=$ac_cr
18623 echo 'BEGIN {' >"$ac_tmp/subs1.awk" &&
18624 _ACEOF
18628 echo "cat >conf$$subs.awk <<_ACEOF" &&
18629 echo "$ac_subst_vars" | sed 's/.*/&!$&$ac_delim/' &&
18630 echo "_ACEOF"
18631 } >conf$$subs.sh ||
18632 as_fn_error $? "could not make $CONFIG_STATUS" "$LINENO" 5
18633 ac_delim_num=`echo "$ac_subst_vars" | grep -c '^'`
18634 ac_delim='%!_!# '
18635 for ac_last_try in false false false false false :; do
18636 . ./conf$$subs.sh ||
18637 as_fn_error $? "could not make $CONFIG_STATUS" "$LINENO" 5
18639 ac_delim_n=`sed -n "s/.*$ac_delim\$/X/p" conf$$subs.awk | grep -c X`
18640 if test $ac_delim_n = $ac_delim_num; then
18641 break
18642 elif $ac_last_try; then
18643 as_fn_error $? "could not make $CONFIG_STATUS" "$LINENO" 5
18644 else
18645 ac_delim="$ac_delim!$ac_delim _$ac_delim!! "
18647 done
18648 rm -f conf$$subs.sh
18650 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
18651 cat >>"\$ac_tmp/subs1.awk" <<\\_ACAWK &&
18652 _ACEOF
18653 sed -n '
18655 s/^/S["/; s/!.*/"]=/
18658 s/^[^!]*!//
18659 :repl
18660 t repl
18661 s/'"$ac_delim"'$//
18662 t delim
18665 s/\(.\{148\}\)..*/\1/
18666 t more1
18667 s/["\\]/\\&/g; s/^/"/; s/$/\\n"\\/
18670 b repl
18671 :more1
18672 s/["\\]/\\&/g; s/^/"/; s/$/"\\/
18675 s/.\{148\}//
18676 t nl
18677 :delim
18679 s/\(.\{148\}\)..*/\1/
18680 t more2
18681 s/["\\]/\\&/g; s/^/"/; s/$/"/
18684 :more2
18685 s/["\\]/\\&/g; s/^/"/; s/$/"\\/
18688 s/.\{148\}//
18689 t delim
18690 ' <conf$$subs.awk | sed '
18691 /^[^""]/{
18693 s/\n//
18695 ' >>$CONFIG_STATUS || ac_write_fail=1
18696 rm -f conf$$subs.awk
18697 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
18698 _ACAWK
18699 cat >>"\$ac_tmp/subs1.awk" <<_ACAWK &&
18700 for (key in S) S_is_set[key] = 1
18701 FS = "\a"
18705 line = $ 0
18706 nfields = split(line, field, "@")
18707 substed = 0
18708 len = length(field[1])
18709 for (i = 2; i < nfields; i++) {
18710 key = field[i]
18711 keylen = length(key)
18712 if (S_is_set[key]) {
18713 value = S[key]
18714 line = substr(line, 1, len) "" value "" substr(line, len + keylen + 3)
18715 len += length(value) + length(field[++i])
18716 substed = 1
18717 } else
18718 len += 1 + keylen
18721 print line
18724 _ACAWK
18725 _ACEOF
18726 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
18727 if sed "s/$ac_cr//" < /dev/null > /dev/null 2>&1; then
18728 sed "s/$ac_cr\$//; s/$ac_cr/$ac_cs_awk_cr/g"
18729 else
18731 fi < "$ac_tmp/subs1.awk" > "$ac_tmp/subs.awk" \
18732 || as_fn_error $? "could not setup config files machinery" "$LINENO" 5
18733 _ACEOF
18735 # VPATH may cause trouble with some makes, so we remove sole $(srcdir),
18736 # ${srcdir} and @srcdir@ entries from VPATH if srcdir is ".", strip leading and
18737 # trailing colons and then remove the whole line if VPATH becomes empty
18738 # (actually we leave an empty line to preserve line numbers).
18739 if test "x$srcdir" = x.; then
18740 ac_vpsub='/^[ ]*VPATH[ ]*=[ ]*/{
18742 s///
18743 s/^/:/
18744 s/[ ]*$/:/
18745 s/:\$(srcdir):/:/g
18746 s/:\${srcdir}:/:/g
18747 s/:@srcdir@:/:/g
18748 s/^:*//
18749 s/:*$//
18751 s/\(=[ ]*\).*/\1/
18753 s/\n//
18754 s/^[^=]*=[ ]*$//
18758 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
18759 fi # test -n "$CONFIG_FILES"
18761 # Set up the scripts for CONFIG_HEADERS section.
18762 # No need to generate them if there are no CONFIG_HEADERS.
18763 # This happens for instance with `./config.status Makefile'.
18764 if test -n "$CONFIG_HEADERS"; then
18765 cat >"$ac_tmp/defines.awk" <<\_ACAWK ||
18766 BEGIN {
18767 _ACEOF
18769 # Transform confdefs.h into an awk script `defines.awk', embedded as
18770 # here-document in config.status, that substitutes the proper values into
18771 # config.h.in to produce config.h.
18773 # Create a delimiter string that does not exist in confdefs.h, to ease
18774 # handling of long lines.
18775 ac_delim='%!_!# '
18776 for ac_last_try in false false :; do
18777 ac_tt=`sed -n "/$ac_delim/p" confdefs.h`
18778 if test -z "$ac_tt"; then
18779 break
18780 elif $ac_last_try; then
18781 as_fn_error $? "could not make $CONFIG_HEADERS" "$LINENO" 5
18782 else
18783 ac_delim="$ac_delim!$ac_delim _$ac_delim!! "
18785 done
18787 # For the awk script, D is an array of macro values keyed by name,
18788 # likewise P contains macro parameters if any. Preserve backslash
18789 # newline sequences.
18791 ac_word_re=[_$as_cr_Letters][_$as_cr_alnum]*
18792 sed -n '
18793 s/.\{148\}/&'"$ac_delim"'/g
18794 t rset
18795 :rset
18796 s/^[ ]*#[ ]*define[ ][ ]*/ /
18797 t def
18799 :def
18800 s/\\$//
18801 t bsnl
18802 s/["\\]/\\&/g
18803 s/^ \('"$ac_word_re"'\)\(([^()]*)\)[ ]*\(.*\)/P["\1"]="\2"\
18804 D["\1"]=" \3"/p
18805 s/^ \('"$ac_word_re"'\)[ ]*\(.*\)/D["\1"]=" \2"/p
18807 :bsnl
18808 s/["\\]/\\&/g
18809 s/^ \('"$ac_word_re"'\)\(([^()]*)\)[ ]*\(.*\)/P["\1"]="\2"\
18810 D["\1"]=" \3\\\\\\n"\\/p
18811 t cont
18812 s/^ \('"$ac_word_re"'\)[ ]*\(.*\)/D["\1"]=" \2\\\\\\n"\\/p
18813 t cont
18815 :cont
18817 s/.\{148\}/&'"$ac_delim"'/g
18818 t clear
18819 :clear
18820 s/\\$//
18821 t bsnlc
18822 s/["\\]/\\&/g; s/^/"/; s/$/"/p
18824 :bsnlc
18825 s/["\\]/\\&/g; s/^/"/; s/$/\\\\\\n"\\/p
18826 b cont
18827 ' <confdefs.h | sed '
18828 s/'"$ac_delim"'/"\\\
18829 "/g' >>$CONFIG_STATUS || ac_write_fail=1
18831 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
18832 for (key in D) D_is_set[key] = 1
18833 FS = "\a"
18835 /^[\t ]*#[\t ]*(define|undef)[\t ]+$ac_word_re([\t (]|\$)/ {
18836 line = \$ 0
18837 split(line, arg, " ")
18838 if (arg[1] == "#") {
18839 defundef = arg[2]
18840 mac1 = arg[3]
18841 } else {
18842 defundef = substr(arg[1], 2)
18843 mac1 = arg[2]
18845 split(mac1, mac2, "(") #)
18846 macro = mac2[1]
18847 prefix = substr(line, 1, index(line, defundef) - 1)
18848 if (D_is_set[macro]) {
18849 # Preserve the white space surrounding the "#".
18850 print prefix "define", macro P[macro] D[macro]
18851 next
18852 } else {
18853 # Replace #undef with comments. This is necessary, for example,
18854 # in the case of _POSIX_SOURCE, which is predefined and required
18855 # on some systems where configure will not decide to define it.
18856 if (defundef == "undef") {
18857 print "/*", prefix defundef, macro, "*/"
18858 next
18862 { print }
18863 _ACAWK
18864 _ACEOF
18865 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
18866 as_fn_error $? "could not setup config headers machinery" "$LINENO" 5
18867 fi # test -n "$CONFIG_HEADERS"
18870 eval set X " :F $CONFIG_FILES :H $CONFIG_HEADERS :L $CONFIG_LINKS :C $CONFIG_COMMANDS"
18871 shift
18872 for ac_tag
18874 case $ac_tag in
18875 :[FHLC]) ac_mode=$ac_tag; continue;;
18876 esac
18877 case $ac_mode$ac_tag in
18878 :[FHL]*:*);;
18879 :L* | :C*:*) as_fn_error $? "invalid tag \`$ac_tag'" "$LINENO" 5;;
18880 :[FH]-) ac_tag=-:-;;
18881 :[FH]*) ac_tag=$ac_tag:$ac_tag.in;;
18882 esac
18883 ac_save_IFS=$IFS
18884 IFS=:
18885 set x $ac_tag
18886 IFS=$ac_save_IFS
18887 shift
18888 ac_file=$1
18889 shift
18891 case $ac_mode in
18892 :L) ac_source=$1;;
18893 :[FH])
18894 ac_file_inputs=
18895 for ac_f
18897 case $ac_f in
18898 -) ac_f="$ac_tmp/stdin";;
18899 *) # Look for the file first in the build tree, then in the source tree
18900 # (if the path is not absolute). The absolute path cannot be DOS-style,
18901 # because $ac_f cannot contain `:'.
18902 test -f "$ac_f" ||
18903 case $ac_f in
18904 [\\/$]*) false;;
18905 *) test -f "$srcdir/$ac_f" && ac_f="$srcdir/$ac_f";;
18906 esac ||
18907 as_fn_error 1 "cannot find input file: \`$ac_f'" "$LINENO" 5;;
18908 esac
18909 case $ac_f in *\'*) ac_f=`$as_echo "$ac_f" | sed "s/'/'\\\\\\\\''/g"`;; esac
18910 as_fn_append ac_file_inputs " '$ac_f'"
18911 done
18913 # Let's still pretend it is `configure' which instantiates (i.e., don't
18914 # use $as_me), people would be surprised to read:
18915 # /* config.h. Generated by config.status. */
18916 configure_input='Generated from '`
18917 $as_echo "$*" | sed 's|^[^:]*/||;s|:[^:]*/|, |g'
18918 `' by configure.'
18919 if test x"$ac_file" != x-; then
18920 configure_input="$ac_file. $configure_input"
18921 { $as_echo "$as_me:${as_lineno-$LINENO}: creating $ac_file" >&5
18922 $as_echo "$as_me: creating $ac_file" >&6;}
18924 # Neutralize special characters interpreted by sed in replacement strings.
18925 case $configure_input in #(
18926 *\&* | *\|* | *\\* )
18927 ac_sed_conf_input=`$as_echo "$configure_input" |
18928 sed 's/[\\\\&|]/\\\\&/g'`;; #(
18929 *) ac_sed_conf_input=$configure_input;;
18930 esac
18932 case $ac_tag in
18933 *:-:* | *:-) cat >"$ac_tmp/stdin" \
18934 || as_fn_error $? "could not create $ac_file" "$LINENO" 5 ;;
18935 esac
18937 esac
18939 ac_dir=`$as_dirname -- "$ac_file" ||
18940 $as_expr X"$ac_file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
18941 X"$ac_file" : 'X\(//\)[^/]' \| \
18942 X"$ac_file" : 'X\(//\)$' \| \
18943 X"$ac_file" : 'X\(/\)' \| . 2>/dev/null ||
18944 $as_echo X"$ac_file" |
18945 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
18946 s//\1/
18949 /^X\(\/\/\)[^/].*/{
18950 s//\1/
18953 /^X\(\/\/\)$/{
18954 s//\1/
18957 /^X\(\/\).*/{
18958 s//\1/
18961 s/.*/./; q'`
18962 as_dir="$ac_dir"; as_fn_mkdir_p
18963 ac_builddir=.
18965 case "$ac_dir" in
18966 .) ac_dir_suffix= ac_top_builddir_sub=. ac_top_build_prefix= ;;
18968 ac_dir_suffix=/`$as_echo "$ac_dir" | sed 's|^\.[\\/]||'`
18969 # A ".." for each directory in $ac_dir_suffix.
18970 ac_top_builddir_sub=`$as_echo "$ac_dir_suffix" | sed 's|/[^\\/]*|/..|g;s|/||'`
18971 case $ac_top_builddir_sub in
18972 "") ac_top_builddir_sub=. ac_top_build_prefix= ;;
18973 *) ac_top_build_prefix=$ac_top_builddir_sub/ ;;
18974 esac ;;
18975 esac
18976 ac_abs_top_builddir=$ac_pwd
18977 ac_abs_builddir=$ac_pwd$ac_dir_suffix
18978 # for backward compatibility:
18979 ac_top_builddir=$ac_top_build_prefix
18981 case $srcdir in
18982 .) # We are building in place.
18983 ac_srcdir=.
18984 ac_top_srcdir=$ac_top_builddir_sub
18985 ac_abs_top_srcdir=$ac_pwd ;;
18986 [\\/]* | ?:[\\/]* ) # Absolute name.
18987 ac_srcdir=$srcdir$ac_dir_suffix;
18988 ac_top_srcdir=$srcdir
18989 ac_abs_top_srcdir=$srcdir ;;
18990 *) # Relative name.
18991 ac_srcdir=$ac_top_build_prefix$srcdir$ac_dir_suffix
18992 ac_top_srcdir=$ac_top_build_prefix$srcdir
18993 ac_abs_top_srcdir=$ac_pwd/$srcdir ;;
18994 esac
18995 ac_abs_srcdir=$ac_abs_top_srcdir$ac_dir_suffix
18998 case $ac_mode in
19001 # CONFIG_FILE
19004 _ACEOF
19006 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
19007 # If the template does not know about datarootdir, expand it.
19008 # FIXME: This hack should be removed a few years after 2.60.
19009 ac_datarootdir_hack=; ac_datarootdir_seen=
19010 ac_sed_dataroot='
19011 /datarootdir/ {
19015 /@datadir@/p
19016 /@docdir@/p
19017 /@infodir@/p
19018 /@localedir@/p
19019 /@mandir@/p'
19020 case `eval "sed -n \"\$ac_sed_dataroot\" $ac_file_inputs"` in
19021 *datarootdir*) ac_datarootdir_seen=yes;;
19022 *@datadir@*|*@docdir@*|*@infodir@*|*@localedir@*|*@mandir@*)
19023 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&5
19024 $as_echo "$as_me: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&2;}
19025 _ACEOF
19026 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
19027 ac_datarootdir_hack='
19028 s&@datadir@&$datadir&g
19029 s&@docdir@&$docdir&g
19030 s&@infodir@&$infodir&g
19031 s&@localedir@&$localedir&g
19032 s&@mandir@&$mandir&g
19033 s&\\\${datarootdir}&$datarootdir&g' ;;
19034 esac
19035 _ACEOF
19037 # Neutralize VPATH when `$srcdir' = `.'.
19038 # Shell code in configure.ac might set extrasub.
19039 # FIXME: do we really want to maintain this feature?
19040 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
19041 ac_sed_extra="$ac_vpsub
19042 $extrasub
19043 _ACEOF
19044 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
19046 /@[a-zA-Z_][a-zA-Z_0-9]*@/!b
19047 s|@configure_input@|$ac_sed_conf_input|;t t
19048 s&@top_builddir@&$ac_top_builddir_sub&;t t
19049 s&@top_build_prefix@&$ac_top_build_prefix&;t t
19050 s&@srcdir@&$ac_srcdir&;t t
19051 s&@abs_srcdir@&$ac_abs_srcdir&;t t
19052 s&@top_srcdir@&$ac_top_srcdir&;t t
19053 s&@abs_top_srcdir@&$ac_abs_top_srcdir&;t t
19054 s&@builddir@&$ac_builddir&;t t
19055 s&@abs_builddir@&$ac_abs_builddir&;t t
19056 s&@abs_top_builddir@&$ac_abs_top_builddir&;t t
19057 $ac_datarootdir_hack
19059 eval sed \"\$ac_sed_extra\" "$ac_file_inputs" | $AWK -f "$ac_tmp/subs.awk" \
19060 >$ac_tmp/out || as_fn_error $? "could not create $ac_file" "$LINENO" 5
19062 test -z "$ac_datarootdir_hack$ac_datarootdir_seen" &&
19063 { ac_out=`sed -n '/\${datarootdir}/p' "$ac_tmp/out"`; test -n "$ac_out"; } &&
19064 { ac_out=`sed -n '/^[ ]*datarootdir[ ]*:*=/p' \
19065 "$ac_tmp/out"`; test -z "$ac_out"; } &&
19066 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $ac_file contains a reference to the variable \`datarootdir'
19067 which seems to be undefined. Please make sure it is defined" >&5
19068 $as_echo "$as_me: WARNING: $ac_file contains a reference to the variable \`datarootdir'
19069 which seems to be undefined. Please make sure it is defined" >&2;}
19071 rm -f "$ac_tmp/stdin"
19072 case $ac_file in
19073 -) cat "$ac_tmp/out" && rm -f "$ac_tmp/out";;
19074 *) rm -f "$ac_file" && mv "$ac_tmp/out" "$ac_file";;
19075 esac \
19076 || as_fn_error $? "could not create $ac_file" "$LINENO" 5
19080 # CONFIG_HEADER
19082 if test x"$ac_file" != x-; then
19084 $as_echo "/* $configure_input */" \
19085 && eval '$AWK -f "$ac_tmp/defines.awk"' "$ac_file_inputs"
19086 } >"$ac_tmp/config.h" \
19087 || as_fn_error $? "could not create $ac_file" "$LINENO" 5
19088 if diff "$ac_file" "$ac_tmp/config.h" >/dev/null 2>&1; then
19089 { $as_echo "$as_me:${as_lineno-$LINENO}: $ac_file is unchanged" >&5
19090 $as_echo "$as_me: $ac_file is unchanged" >&6;}
19091 else
19092 rm -f "$ac_file"
19093 mv "$ac_tmp/config.h" "$ac_file" \
19094 || as_fn_error $? "could not create $ac_file" "$LINENO" 5
19096 else
19097 $as_echo "/* $configure_input */" \
19098 && eval '$AWK -f "$ac_tmp/defines.awk"' "$ac_file_inputs" \
19099 || as_fn_error $? "could not create -" "$LINENO" 5
19104 # CONFIG_LINK
19107 if test "$ac_source" = "$ac_file" && test "$srcdir" = '.'; then
19109 else
19110 # Prefer the file from the source tree if names are identical.
19111 if test "$ac_source" = "$ac_file" || test ! -r "$ac_source"; then
19112 ac_source=$srcdir/$ac_source
19115 { $as_echo "$as_me:${as_lineno-$LINENO}: linking $ac_source to $ac_file" >&5
19116 $as_echo "$as_me: linking $ac_source to $ac_file" >&6;}
19118 if test ! -r "$ac_source"; then
19119 as_fn_error $? "$ac_source: file not found" "$LINENO" 5
19121 rm -f "$ac_file"
19123 # Try a relative symlink, then a hard link, then a copy.
19124 case $ac_source in
19125 [\\/$]* | ?:[\\/]* ) ac_rel_source=$ac_source ;;
19126 *) ac_rel_source=$ac_top_build_prefix$ac_source ;;
19127 esac
19128 ln -s "$ac_rel_source" "$ac_file" 2>/dev/null ||
19129 ln "$ac_source" "$ac_file" 2>/dev/null ||
19130 cp -p "$ac_source" "$ac_file" ||
19131 as_fn_error $? "cannot link or copy $ac_source to $ac_file" "$LINENO" 5
19134 :C) { $as_echo "$as_me:${as_lineno-$LINENO}: executing $ac_file commands" >&5
19135 $as_echo "$as_me: executing $ac_file commands" >&6;}
19137 esac
19140 case $ac_file$ac_mode in
19141 "include/stamp-h":C) echo timestamp > include/stamp-h ;;
19142 "tools/makedep":C) wine_fn_output_makedep || as_fn_exit $? ;;
19143 "Makefile":C) wine_fn_output_makefile Makefile ;;
19144 ".gitignore":C) wine_fn_output_gitignore .gitignore ;;
19146 esac
19147 done # for ac_tag
19150 as_fn_exit 0
19151 _ACEOF
19152 ac_clean_files=$ac_clean_files_save
19154 test $ac_write_fail = 0 ||
19155 as_fn_error $? "write failure creating $CONFIG_STATUS" "$LINENO" 5
19158 # configure is writing to config.log, and then calls config.status.
19159 # config.status does its own redirection, appending to config.log.
19160 # Unfortunately, on DOS this fails, as config.log is still kept open
19161 # by configure, so config.status won't be able to write to it; its
19162 # output is simply discarded. So we exec the FD to /dev/null,
19163 # effectively closing config.log, so it can be properly (re)opened and
19164 # appended to by config.status. When coming back to configure, we
19165 # need to make the FD available again.
19166 if test "$no_create" != yes; then
19167 ac_cs_success=:
19168 ac_config_status_args=
19169 test "$silent" = yes &&
19170 ac_config_status_args="$ac_config_status_args --quiet"
19171 exec 5>/dev/null
19172 $SHELL $CONFIG_STATUS $ac_config_status_args || ac_cs_success=false
19173 exec 5>>config.log
19174 # Use ||, not &&, to avoid exiting from the if with $? = 1, which
19175 # would make configure fail if this is the last instruction.
19176 $ac_cs_success || as_fn_exit 1
19178 if test -n "$ac_unrecognized_opts" && test "$enable_option_checking" != no; then
19179 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: unrecognized options: $ac_unrecognized_opts" >&5
19180 $as_echo "$as_me: WARNING: unrecognized options: $ac_unrecognized_opts" >&2;}
19184 if test "$no_create" = "yes"
19185 then
19186 exit 0
19189 ac_save_IFS="$IFS"
19190 if test "x$wine_notices != "x; then
19191 echo >&6
19192 IFS="|"
19193 for msg in $wine_notices; do
19194 IFS="$ac_save_IFS"
19195 if ${msg:+false} :; then :
19197 else
19198 { $as_echo "$as_me:${as_lineno-$LINENO}: $msg" >&5
19199 $as_echo "$as_me: $msg" >&6;}
19201 done
19203 IFS="|"
19204 for msg in $wine_warnings; do
19205 IFS="$ac_save_IFS"
19206 if ${msg:+false} :; then :
19208 else
19209 echo >&2
19210 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $msg" >&5
19211 $as_echo "$as_me: WARNING: $msg" >&2;}
19213 done
19214 IFS="$ac_save_IFS"
19216 $as_echo "
19217 $as_me: Finished. Do '${ac_make}' to compile Wine.
19218 " >&6