api-ms-win-core-datetime-l1-1-0: Add dll.
[wine.git] / configure
blob342b2996ed08b96caef9b4c15cf58e4ea7fda6e2
1 #! /bin/sh
2 # Guess values for system-dependent variables and create Makefiles.
3 # Generated by GNU Autoconf 2.69 for Wine 1.7.32.
5 # Report bugs to <wine-devel@winehq.org>.
8 # Copyright (C) 1992-1996, 1998-2012 Free Software Foundation, Inc.
11 # This configure script is free software; the Free Software Foundation
12 # gives unlimited permission to copy, distribute and modify it.
13 ## -------------------- ##
14 ## M4sh Initialization. ##
15 ## -------------------- ##
17 # Be more Bourne compatible
18 DUALCASE=1; export DUALCASE # for MKS sh
19 if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then :
20 emulate sh
21 NULLCMD=:
22 # Pre-4.2 versions of Zsh do word splitting on ${1+"$@"}, which
23 # is contrary to our usage. Disable this feature.
24 alias -g '${1+"$@"}'='"$@"'
25 setopt NO_GLOB_SUBST
26 else
27 case `(set -o) 2>/dev/null` in #(
28 *posix*) :
29 set -o posix ;; #(
30 *) :
32 esac
36 as_nl='
38 export as_nl
39 # Printing a long string crashes Solaris 7 /usr/bin/printf.
40 as_echo='\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\'
41 as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo
42 as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo$as_echo
43 # Prefer a ksh shell builtin over an external printf program on Solaris,
44 # but without wasting forks for bash or zsh.
45 if test -z "$BASH_VERSION$ZSH_VERSION" \
46 && (test "X`print -r -- $as_echo`" = "X$as_echo") 2>/dev/null; then
47 as_echo='print -r --'
48 as_echo_n='print -rn --'
49 elif (test "X`printf %s $as_echo`" = "X$as_echo") 2>/dev/null; then
50 as_echo='printf %s\n'
51 as_echo_n='printf %s'
52 else
53 if test "X`(/usr/ucb/echo -n -n $as_echo) 2>/dev/null`" = "X-n $as_echo"; then
54 as_echo_body='eval /usr/ucb/echo -n "$1$as_nl"'
55 as_echo_n='/usr/ucb/echo -n'
56 else
57 as_echo_body='eval expr "X$1" : "X\\(.*\\)"'
58 as_echo_n_body='eval
59 arg=$1;
60 case $arg in #(
61 *"$as_nl"*)
62 expr "X$arg" : "X\\(.*\\)$as_nl";
63 arg=`expr "X$arg" : ".*$as_nl\\(.*\\)"`;;
64 esac;
65 expr "X$arg" : "X\\(.*\\)" | tr -d "$as_nl"
67 export as_echo_n_body
68 as_echo_n='sh -c $as_echo_n_body as_echo'
70 export as_echo_body
71 as_echo='sh -c $as_echo_body as_echo'
74 # The user is always right.
75 if test "${PATH_SEPARATOR+set}" != set; then
76 PATH_SEPARATOR=:
77 (PATH='/bin;/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 && {
78 (PATH='/bin:/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 ||
79 PATH_SEPARATOR=';'
84 # IFS
85 # We need space, tab and new line, in precisely that order. Quoting is
86 # there to prevent editors from complaining about space-tab.
87 # (If _AS_PATH_WALK were called with IFS unset, it would disable word
88 # splitting by setting IFS to empty value.)
89 IFS=" "" $as_nl"
91 # Find who we are. Look in the path if we contain no directory separator.
92 as_myself=
93 case $0 in #((
94 *[\\/]* ) as_myself=$0 ;;
95 *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
96 for as_dir in $PATH
98 IFS=$as_save_IFS
99 test -z "$as_dir" && as_dir=.
100 test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break
101 done
102 IFS=$as_save_IFS
105 esac
106 # We did not find ourselves, most probably we were run as `sh COMMAND'
107 # in which case we are not to be found in the path.
108 if test "x$as_myself" = x; then
109 as_myself=$0
111 if test ! -f "$as_myself"; then
112 $as_echo "$as_myself: error: cannot find myself; rerun with an absolute file name" >&2
113 exit 1
116 # Unset variables that we do not need and which cause bugs (e.g. in
117 # pre-3.0 UWIN ksh). But do not cause bugs in bash 2.01; the "|| exit 1"
118 # suppresses any "Segmentation fault" message there. '((' could
119 # trigger a bug in pdksh 5.2.14.
120 for as_var in BASH_ENV ENV MAIL MAILPATH
121 do eval test x\${$as_var+set} = xset \
122 && ( (unset $as_var) || exit 1) >/dev/null 2>&1 && unset $as_var || :
123 done
124 PS1='$ '
125 PS2='> '
126 PS4='+ '
128 # NLS nuisances.
129 LC_ALL=C
130 export LC_ALL
131 LANGUAGE=C
132 export LANGUAGE
134 # CDPATH.
135 (unset CDPATH) >/dev/null 2>&1 && unset CDPATH
137 # Use a proper internal environment variable to ensure we don't fall
138 # into an infinite loop, continuously re-executing ourselves.
139 if test x"${_as_can_reexec}" != xno && test "x$CONFIG_SHELL" != x; then
140 _as_can_reexec=no; export _as_can_reexec;
141 # We cannot yet assume a decent shell, so we have to provide a
142 # neutralization value for shells without unset; and this also
143 # works around shells that cannot unset nonexistent variables.
144 # Preserve -v and -x to the replacement shell.
145 BASH_ENV=/dev/null
146 ENV=/dev/null
147 (unset BASH_ENV) >/dev/null 2>&1 && unset BASH_ENV ENV
148 case $- in # ((((
149 *v*x* | *x*v* ) as_opts=-vx ;;
150 *v* ) as_opts=-v ;;
151 *x* ) as_opts=-x ;;
152 * ) as_opts= ;;
153 esac
154 exec $CONFIG_SHELL $as_opts "$as_myself" ${1+"$@"}
155 # Admittedly, this is quite paranoid, since all the known shells bail
156 # out after a failed `exec'.
157 $as_echo "$0: could not re-execute with $CONFIG_SHELL" >&2
158 as_fn_exit 255
160 # We don't want this to propagate to other subprocesses.
161 { _as_can_reexec=; unset _as_can_reexec;}
162 if test "x$CONFIG_SHELL" = x; then
163 as_bourne_compatible="if test -n \"\${ZSH_VERSION+set}\" && (emulate sh) >/dev/null 2>&1; then :
164 emulate sh
165 NULLCMD=:
166 # Pre-4.2 versions of Zsh do word splitting on \${1+\"\$@\"}, which
167 # is contrary to our usage. Disable this feature.
168 alias -g '\${1+\"\$@\"}'='\"\$@\"'
169 setopt NO_GLOB_SUBST
170 else
171 case \`(set -o) 2>/dev/null\` in #(
172 *posix*) :
173 set -o posix ;; #(
174 *) :
176 esac
179 as_required="as_fn_return () { (exit \$1); }
180 as_fn_success () { as_fn_return 0; }
181 as_fn_failure () { as_fn_return 1; }
182 as_fn_ret_success () { return 0; }
183 as_fn_ret_failure () { return 1; }
185 exitcode=0
186 as_fn_success || { exitcode=1; echo as_fn_success failed.; }
187 as_fn_failure && { exitcode=1; echo as_fn_failure succeeded.; }
188 as_fn_ret_success || { exitcode=1; echo as_fn_ret_success failed.; }
189 as_fn_ret_failure && { exitcode=1; echo as_fn_ret_failure succeeded.; }
190 if ( set x; as_fn_ret_success y && test x = \"\$1\" ); then :
192 else
193 exitcode=1; echo positional parameters were not saved.
195 test x\$exitcode = x0 || exit 1
196 test -x / || exit 1"
197 as_suggested=" as_lineno_1=";as_suggested=$as_suggested$LINENO;as_suggested=$as_suggested" as_lineno_1a=\$LINENO
198 as_lineno_2=";as_suggested=$as_suggested$LINENO;as_suggested=$as_suggested" as_lineno_2a=\$LINENO
199 eval 'test \"x\$as_lineno_1'\$as_run'\" != \"x\$as_lineno_2'\$as_run'\" &&
200 test \"x\`expr \$as_lineno_1'\$as_run' + 1\`\" = \"x\$as_lineno_2'\$as_run'\"' || exit 1
201 test \$(( 1 + 1 )) = 2 || exit 1"
202 if (eval "$as_required") 2>/dev/null; then :
203 as_have_required=yes
204 else
205 as_have_required=no
207 if test x$as_have_required = xyes && (eval "$as_suggested") 2>/dev/null; then :
209 else
210 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
211 as_found=false
212 for as_dir in /bin$PATH_SEPARATOR/usr/bin$PATH_SEPARATOR$PATH
214 IFS=$as_save_IFS
215 test -z "$as_dir" && as_dir=.
216 as_found=:
217 case $as_dir in #(
219 for as_base in sh bash ksh sh5; do
220 # Try only shells that exist, to save several forks.
221 as_shell=$as_dir/$as_base
222 if { test -f "$as_shell" || test -f "$as_shell.exe"; } &&
223 { $as_echo "$as_bourne_compatible""$as_required" | as_run=a "$as_shell"; } 2>/dev/null; then :
224 CONFIG_SHELL=$as_shell as_have_required=yes
225 if { $as_echo "$as_bourne_compatible""$as_suggested" | as_run=a "$as_shell"; } 2>/dev/null; then :
226 break 2
229 done;;
230 esac
231 as_found=false
232 done
233 $as_found || { if { test -f "$SHELL" || test -f "$SHELL.exe"; } &&
234 { $as_echo "$as_bourne_compatible""$as_required" | as_run=a "$SHELL"; } 2>/dev/null; then :
235 CONFIG_SHELL=$SHELL as_have_required=yes
236 fi; }
237 IFS=$as_save_IFS
240 if test "x$CONFIG_SHELL" != x; then :
241 export CONFIG_SHELL
242 # We cannot yet assume a decent shell, so we have to provide a
243 # neutralization value for shells without unset; and this also
244 # works around shells that cannot unset nonexistent variables.
245 # Preserve -v and -x to the replacement shell.
246 BASH_ENV=/dev/null
247 ENV=/dev/null
248 (unset BASH_ENV) >/dev/null 2>&1 && unset BASH_ENV ENV
249 case $- in # ((((
250 *v*x* | *x*v* ) as_opts=-vx ;;
251 *v* ) as_opts=-v ;;
252 *x* ) as_opts=-x ;;
253 * ) as_opts= ;;
254 esac
255 exec $CONFIG_SHELL $as_opts "$as_myself" ${1+"$@"}
256 # Admittedly, this is quite paranoid, since all the known shells bail
257 # out after a failed `exec'.
258 $as_echo "$0: could not re-execute with $CONFIG_SHELL" >&2
259 exit 255
262 if test x$as_have_required = xno; then :
263 $as_echo "$0: This script requires a shell more modern than all"
264 $as_echo "$0: the shells that I found on your system."
265 if test x${ZSH_VERSION+set} = xset ; then
266 $as_echo "$0: In particular, zsh $ZSH_VERSION has bugs and should"
267 $as_echo "$0: be upgraded to zsh 4.3.4 or later."
268 else
269 $as_echo "$0: Please tell bug-autoconf@gnu.org and
270 $0: wine-devel@winehq.org about your system, including any
271 $0: error possibly output before this message. Then install
272 $0: a modern shell, or manually run the script under such a
273 $0: shell if you do have one."
275 exit 1
279 SHELL=${CONFIG_SHELL-/bin/sh}
280 export SHELL
281 # Unset more variables known to interfere with behavior of common tools.
282 CLICOLOR_FORCE= GREP_OPTIONS=
283 unset CLICOLOR_FORCE GREP_OPTIONS
285 ## --------------------- ##
286 ## M4sh Shell Functions. ##
287 ## --------------------- ##
288 # as_fn_unset VAR
289 # ---------------
290 # Portably unset VAR.
291 as_fn_unset ()
293 { eval $1=; unset $1;}
295 as_unset=as_fn_unset
297 # as_fn_set_status STATUS
298 # -----------------------
299 # Set $? to STATUS, without forking.
300 as_fn_set_status ()
302 return $1
303 } # as_fn_set_status
305 # as_fn_exit STATUS
306 # -----------------
307 # Exit the shell with STATUS, even in a "trap 0" or "set -e" context.
308 as_fn_exit ()
310 set +e
311 as_fn_set_status $1
312 exit $1
313 } # as_fn_exit
315 # as_fn_mkdir_p
316 # -------------
317 # Create "$as_dir" as a directory, including parents if necessary.
318 as_fn_mkdir_p ()
321 case $as_dir in #(
322 -*) as_dir=./$as_dir;;
323 esac
324 test -d "$as_dir" || eval $as_mkdir_p || {
325 as_dirs=
326 while :; do
327 case $as_dir in #(
328 *\'*) as_qdir=`$as_echo "$as_dir" | sed "s/'/'\\\\\\\\''/g"`;; #'(
329 *) as_qdir=$as_dir;;
330 esac
331 as_dirs="'$as_qdir' $as_dirs"
332 as_dir=`$as_dirname -- "$as_dir" ||
333 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
334 X"$as_dir" : 'X\(//\)[^/]' \| \
335 X"$as_dir" : 'X\(//\)$' \| \
336 X"$as_dir" : 'X\(/\)' \| . 2>/dev/null ||
337 $as_echo X"$as_dir" |
338 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
339 s//\1/
342 /^X\(\/\/\)[^/].*/{
343 s//\1/
346 /^X\(\/\/\)$/{
347 s//\1/
350 /^X\(\/\).*/{
351 s//\1/
354 s/.*/./; q'`
355 test -d "$as_dir" && break
356 done
357 test -z "$as_dirs" || eval "mkdir $as_dirs"
358 } || test -d "$as_dir" || as_fn_error $? "cannot create directory $as_dir"
361 } # as_fn_mkdir_p
363 # as_fn_executable_p FILE
364 # -----------------------
365 # Test if FILE is an executable regular file.
366 as_fn_executable_p ()
368 test -f "$1" && test -x "$1"
369 } # as_fn_executable_p
370 # as_fn_append VAR VALUE
371 # ----------------------
372 # Append the text in VALUE to the end of the definition contained in VAR. Take
373 # advantage of any shell optimizations that allow amortized linear growth over
374 # repeated appends, instead of the typical quadratic growth present in naive
375 # implementations.
376 if (eval "as_var=1; as_var+=2; test x\$as_var = x12") 2>/dev/null; then :
377 eval 'as_fn_append ()
379 eval $1+=\$2
381 else
382 as_fn_append ()
384 eval $1=\$$1\$2
386 fi # as_fn_append
388 # as_fn_arith ARG...
389 # ------------------
390 # Perform arithmetic evaluation on the ARGs, and store the result in the
391 # global $as_val. Take advantage of shells that can avoid forks. The arguments
392 # must be portable across $(()) and expr.
393 if (eval "test \$(( 1 + 1 )) = 2") 2>/dev/null; then :
394 eval 'as_fn_arith ()
396 as_val=$(( $* ))
398 else
399 as_fn_arith ()
401 as_val=`expr "$@" || test $? -eq 1`
403 fi # as_fn_arith
406 # as_fn_error STATUS ERROR [LINENO LOG_FD]
407 # ----------------------------------------
408 # Output "`basename $0`: error: ERROR" to stderr. If LINENO and LOG_FD are
409 # provided, also output the error to LOG_FD, referencing LINENO. Then exit the
410 # script with STATUS, using 1 if that was 0.
411 as_fn_error ()
413 as_status=$1; test $as_status -eq 0 && as_status=1
414 if test "$4"; then
415 as_lineno=${as_lineno-"$3"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
416 $as_echo "$as_me:${as_lineno-$LINENO}: error: $2" >&$4
418 $as_echo "$as_me: error: $2" >&2
419 as_fn_exit $as_status
420 } # as_fn_error
422 if expr a : '\(a\)' >/dev/null 2>&1 &&
423 test "X`expr 00001 : '.*\(...\)'`" = X001; then
424 as_expr=expr
425 else
426 as_expr=false
429 if (basename -- /) >/dev/null 2>&1 && test "X`basename -- / 2>&1`" = "X/"; then
430 as_basename=basename
431 else
432 as_basename=false
435 if (as_dir=`dirname -- /` && test "X$as_dir" = X/) >/dev/null 2>&1; then
436 as_dirname=dirname
437 else
438 as_dirname=false
441 as_me=`$as_basename -- "$0" ||
442 $as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
443 X"$0" : 'X\(//\)$' \| \
444 X"$0" : 'X\(/\)' \| . 2>/dev/null ||
445 $as_echo X/"$0" |
446 sed '/^.*\/\([^/][^/]*\)\/*$/{
447 s//\1/
450 /^X\/\(\/\/\)$/{
451 s//\1/
454 /^X\/\(\/\).*/{
455 s//\1/
458 s/.*/./; q'`
460 # Avoid depending upon Character Ranges.
461 as_cr_letters='abcdefghijklmnopqrstuvwxyz'
462 as_cr_LETTERS='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
463 as_cr_Letters=$as_cr_letters$as_cr_LETTERS
464 as_cr_digits='0123456789'
465 as_cr_alnum=$as_cr_Letters$as_cr_digits
468 as_lineno_1=$LINENO as_lineno_1a=$LINENO
469 as_lineno_2=$LINENO as_lineno_2a=$LINENO
470 eval 'test "x$as_lineno_1'$as_run'" != "x$as_lineno_2'$as_run'" &&
471 test "x`expr $as_lineno_1'$as_run' + 1`" = "x$as_lineno_2'$as_run'"' || {
472 # Blame Lee E. McMahon (1931-1989) for sed's syntax. :-)
473 sed -n '
475 /[$]LINENO/=
476 ' <$as_myself |
477 sed '
478 s/[$]LINENO.*/&-/
479 t lineno
481 :lineno
483 :loop
484 s/[$]LINENO\([^'$as_cr_alnum'_].*\n\)\(.*\)/\2\1\2/
485 t loop
486 s/-\n.*//
487 ' >$as_me.lineno &&
488 chmod +x "$as_me.lineno" ||
489 { $as_echo "$as_me: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&2; as_fn_exit 1; }
491 # If we had to re-execute with $CONFIG_SHELL, we're ensured to have
492 # already done that, so ensure we don't try to do so again and fall
493 # in an infinite loop. This has already happened in practice.
494 _as_can_reexec=no; export _as_can_reexec
495 # Don't try to exec as it changes $[0], causing all sort of problems
496 # (the dirname of $[0] is not the place where we might find the
497 # original and so on. Autoconf is especially sensitive to this).
498 . "./$as_me.lineno"
499 # Exit status is that of the last command.
500 exit
503 ECHO_C= ECHO_N= ECHO_T=
504 case `echo -n x` in #(((((
505 -n*)
506 case `echo 'xy\c'` in
507 *c*) ECHO_T=' ';; # ECHO_T is single tab character.
508 xy) ECHO_C='\c';;
509 *) echo `echo ksh88 bug on AIX 6.1` > /dev/null
510 ECHO_T=' ';;
511 esac;;
513 ECHO_N='-n';;
514 esac
516 rm -f conf$$ conf$$.exe conf$$.file
517 if test -d conf$$.dir; then
518 rm -f conf$$.dir/conf$$.file
519 else
520 rm -f conf$$.dir
521 mkdir conf$$.dir 2>/dev/null
523 if (echo >conf$$.file) 2>/dev/null; then
524 if ln -s conf$$.file conf$$ 2>/dev/null; then
525 as_ln_s='ln -s'
526 # ... but there are two gotchas:
527 # 1) On MSYS, both `ln -s file dir' and `ln file dir' fail.
528 # 2) DJGPP < 2.04 has no symlinks; `ln -s' creates a wrapper executable.
529 # In both cases, we have to default to `cp -pR'.
530 ln -s conf$$.file conf$$.dir 2>/dev/null && test ! -f conf$$.exe ||
531 as_ln_s='cp -pR'
532 elif ln conf$$.file conf$$ 2>/dev/null; then
533 as_ln_s=ln
534 else
535 as_ln_s='cp -pR'
537 else
538 as_ln_s='cp -pR'
540 rm -f conf$$ conf$$.exe conf$$.dir/conf$$.file conf$$.file
541 rmdir conf$$.dir 2>/dev/null
543 if mkdir -p . 2>/dev/null; then
544 as_mkdir_p='mkdir -p "$as_dir"'
545 else
546 test -d ./-p && rmdir ./-p
547 as_mkdir_p=false
550 as_test_x='test -x'
551 as_executable_p=as_fn_executable_p
553 # Sed expression to map a string onto a valid CPP name.
554 as_tr_cpp="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'"
556 # Sed expression to map a string onto a valid variable name.
557 as_tr_sh="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'"
560 test -n "$DJDIR" || exec 7<&0 </dev/null
561 exec 6>&1
563 # Name of the host.
564 # hostname on some systems (SVR3.2, old GNU/Linux) returns a bogus exit status,
565 # so uname gets run too.
566 ac_hostname=`(hostname || uname -n) 2>/dev/null | sed 1q`
569 # Initializations.
571 ac_default_prefix=/usr/local
572 ac_clean_files=
573 ac_config_libobj_dir=.
574 LIBOBJS=
575 cross_compiling=no
576 subdirs=
577 MFLAGS=
578 MAKEFLAGS=
580 # Identity of this package.
581 PACKAGE_NAME='Wine'
582 PACKAGE_TARNAME='wine'
583 PACKAGE_VERSION='1.7.32'
584 PACKAGE_STRING='Wine 1.7.32'
585 PACKAGE_BUGREPORT='wine-devel@winehq.org'
586 PACKAGE_URL='http://www.winehq.org'
588 ac_unique_file="server/atom.c"
589 # Factoring default headers for most tests.
590 ac_includes_default="\
591 #include <stdio.h>
592 #ifdef HAVE_SYS_TYPES_H
593 # include <sys/types.h>
594 #endif
595 #ifdef HAVE_SYS_STAT_H
596 # include <sys/stat.h>
597 #endif
598 #ifdef STDC_HEADERS
599 # include <stdlib.h>
600 # include <stddef.h>
601 #else
602 # ifdef HAVE_STDLIB_H
603 # include <stdlib.h>
604 # endif
605 #endif
606 #ifdef HAVE_STRING_H
607 # if !defined STDC_HEADERS && defined HAVE_MEMORY_H
608 # include <memory.h>
609 # endif
610 # include <string.h>
611 #endif
612 #ifdef HAVE_STRINGS_H
613 # include <strings.h>
614 #endif
615 #ifdef HAVE_INTTYPES_H
616 # include <inttypes.h>
617 #endif
618 #ifdef HAVE_STDINT_H
619 # include <stdint.h>
620 #endif
621 #ifdef HAVE_UNISTD_H
622 # include <unistd.h>
623 #endif"
625 ac_subst_vars='LTLIBOBJS
626 LIBOBJS
627 LINGUAS
628 ALL_VARS_RULES
629 LDAP_LIBS
630 RT_LIBS
631 POLL_LIBS
632 DL_LIBS
633 TOOLSEXT
634 UNWINDFLAGS
635 BUILTINFLAG
636 EXTRACFLAGS
637 PROCSTAT_LIBS
638 KSTAT_LIBS
639 MPG123_LIBS
640 MPG123_CFLAGS
641 TIFF_LIBS
642 TIFF_CFLAGS
643 PNG_LIBS
644 PNG_CFLAGS
645 JPEG_LIBS
646 JPEG_CFLAGS
647 FONTCONFIG_LIBS
648 FONTCONFIG_CFLAGS
649 CUPS_CFLAGS
650 CAPI20_LIBS
651 CAPI20_CFLAGS
652 OSS4_CFLAGS
653 ALSA_LIBS
654 GSTREAMER_LIBS
655 GSTREAMER_CFLAGS
656 GETTEXTPO_LIBS
657 Z_LIBS
658 FREETYPE_LIBS
659 FREETYPE_CFLAGS
660 LCMS2_LIBS
661 LCMS2_CFLAGS
662 RESOLV_LIBS
663 GPHOTO2_PORT_LIBS
664 GPHOTO2_PORT_CFLAGS
665 GPHOTO2_LIBS
666 GPHOTO2_CFLAGS
667 SANE_LIBS
668 SANE_CFLAGS
669 GNUTLS_LIBS
670 GNUTLS_CFLAGS
671 HAL_LIBS
672 HAL_CFLAGS
673 DBUS_LIBS
674 DBUS_CFLAGS
675 XSLT_LIBS
676 XSLT_CFLAGS
677 XML2_LIBS
678 XML2_CFLAGS
679 LIBPCAP
680 X_EXTRA_LIBS
681 X_LIBS
682 X_PRE_LIBS
683 X_CFLAGS
684 XMKMF
685 PTHREAD_LIBS
686 CROSSCC
687 CROSSTARGET
688 PRELINK
689 CARBON_LIBS
690 QUICKTIME_LIBS
691 OPENCL_LIBS
692 OPENAL_LIBS
693 COREAUDIO_LIBS
694 SECURITY_LIBS
695 DISKARBITRATION_LIBS
696 APPKIT_LIBS
697 CORESERVICES_LIBS
698 APPLICATIONSERVICES_LIBS
699 FORCEFEEDBACK_LIBS
700 IOKIT_LIBS
701 COREFOUNDATION_LIBS
702 LIBWINE_RULES
703 SOCKET_LIBS
704 DLLTOOL
705 LOADER_RULES
706 ALL_TEST_RESOURCES
707 READELF
709 LDRPATH_LOCAL
710 LDRPATH_INSTALL
711 DLLFLAGS
712 DLLPREFIX
713 dlldir
715 OPENGL_LIBS
716 ICOTOOL
717 CONVERT
718 RSVG
719 FONTFORGE
720 PKG_CONFIG
721 MSGFMT
722 LDCONFIG
723 EGREP
724 GREP
725 LN_S
726 RANLIB
727 ARFLAGS
728 STRIP
729 ac_ct_AR
731 BISON
732 FLEX
733 TOOLSDIR
734 TARGETFLAGS
735 CPPBIN
736 ac_ct_CXX
737 CXXFLAGS
739 OBJEXT
740 EXEEXT
741 ac_ct_CC
742 CPPFLAGS
743 LDFLAGS
744 CFLAGS
746 SET_MAKE
747 host_os
748 host_vendor
749 host_cpu
750 host
751 build_os
752 build_vendor
753 build_cpu
754 build
755 target_alias
756 host_alias
757 build_alias
758 LIBS
759 ECHO_T
760 ECHO_N
761 ECHO_C
762 DEFS
763 mandir
764 localedir
765 libdir
766 psdir
767 pdfdir
768 dvidir
769 htmldir
770 infodir
771 docdir
772 oldincludedir
773 includedir
774 localstatedir
775 sharedstatedir
776 sysconfdir
777 datadir
778 datarootdir
779 libexecdir
780 sbindir
781 bindir
782 program_transform_name
783 prefix
784 exec_prefix
785 PACKAGE_URL
786 PACKAGE_BUGREPORT
787 PACKAGE_STRING
788 PACKAGE_VERSION
789 PACKAGE_TARNAME
790 PACKAGE_NAME
791 PATH_SEPARATOR
792 SHELL'
793 ac_subst_files=''
794 ac_user_opts='
795 enable_option_checking
796 enable_win16
797 enable_win64
798 enable_tests
799 enable_maintainer_mode
800 with_alsa
801 with_capi
802 with_cms
803 with_coreaudio
804 with_cups
805 with_curses
806 with_dbus
807 with_fontconfig
808 with_freetype
809 with_gettext
810 with_gettextpo
811 with_gphoto
812 with_glu
813 with_gnutls
814 with_gsm
815 with_gstreamer
816 with_hal
817 with_jpeg
818 with_ldap
819 with_mpg123
820 with_netapi
821 with_openal
822 with_opencl
823 with_opengl
824 with_osmesa
825 with_oss
826 with_pcap
827 with_png
828 with_pthread
829 with_sane
830 with_tiff
831 with_v4l
832 with_xcomposite
833 with_xcursor
834 with_xinerama
835 with_xinput
836 with_xinput2
837 with_xml
838 with_xrandr
839 with_xrender
840 with_xshape
841 with_xshm
842 with_xslt
843 with_xxf86vm
844 with_zlib
845 with_wine_tools
846 with_wine64
847 enable_largefile
848 with_x
849 enable_acledit
850 enable_aclui
851 enable_activeds
852 enable_actxprxy
853 enable_advapi32
854 enable_advpack
855 enable_amstream
856 enable_api_ms_win_core_com_l1_1_0
857 enable_api_ms_win_core_console_l1_1_0
858 enable_api_ms_win_core_datetime_l1_1_0
859 enable_api_ms_win_core_datetime_l1_1_1
860 enable_api_ms_win_core_debug_l1_1_1
861 enable_api_ms_win_core_errorhandling_l1_1_1
862 enable_api_ms_win_core_fibers_l1_1_0
863 enable_api_ms_win_core_fibers_l1_1_1
864 enable_api_ms_win_core_file_l1_2_0
865 enable_api_ms_win_core_file_l2_1_0
866 enable_api_ms_win_core_file_l2_1_1
867 enable_api_ms_win_core_handle_l1_1_0
868 enable_api_ms_win_core_heap_l1_2_0
869 enable_api_ms_win_core_heap_obsolete_l1_1_0
870 enable_api_ms_win_core_interlocked_l1_2_0
871 enable_api_ms_win_core_io_l1_1_1
872 enable_api_ms_win_core_kernel32_legacy_l1_1_0
873 enable_api_ms_win_core_libraryloader_l1_1_1
874 enable_api_ms_win_core_localization_l1_2_0
875 enable_api_ms_win_core_localization_l1_2_1
876 enable_api_ms_win_core_localization_obsolete_l1_1_0
877 enable_api_ms_win_core_localregistry_l1_1_0
878 enable_api_ms_win_core_memory_l1_1_1
879 enable_api_ms_win_core_namedpipe_l1_2_0
880 enable_api_ms_win_core_processenvironment_l1_2_0
881 enable_api_ms_win_core_processthreads_l1_1_0
882 enable_api_ms_win_core_processthreads_l1_1_1
883 enable_api_ms_win_core_processthreads_l1_1_2
884 enable_api_ms_win_core_profile_l1_1_0
885 enable_api_ms_win_core_psapi_l1_1_0
886 enable_api_ms_win_core_registry_l1_1_0
887 enable_api_ms_win_core_rtlsupport_l1_2_0
888 enable_api_ms_win_core_shlwapi_legacy_l1_1_0
889 enable_api_ms_win_core_string_l1_1_0
890 enable_api_ms_win_core_synch_l1_2_0
891 enable_api_ms_win_core_sysinfo_l1_2_0
892 enable_api_ms_win_core_sysinfo_l1_2_1
893 enable_api_ms_win_core_threadpool_legacy_l1_1_0
894 enable_api_ms_win_core_timezone_l1_1_0
895 enable_api_ms_win_core_url_l1_1_0
896 enable_api_ms_win_core_util_l1_1_0
897 enable_api_ms_win_core_winrt_error_l1_1_0
898 enable_api_ms_win_core_winrt_l1_1_0
899 enable_api_ms_win_core_winrt_string_l1_1_0
900 enable_api_ms_win_downlevel_advapi32_l1_1_0
901 enable_api_ms_win_downlevel_advapi32_l2_1_0
902 enable_api_ms_win_downlevel_normaliz_l1_1_0
903 enable_api_ms_win_downlevel_ole32_l1_1_0
904 enable_api_ms_win_downlevel_shell32_l1_1_0
905 enable_api_ms_win_downlevel_shlwapi_l1_1_0
906 enable_api_ms_win_downlevel_shlwapi_l2_1_0
907 enable_api_ms_win_downlevel_user32_l1_1_0
908 enable_api_ms_win_downlevel_version_l1_1_0
909 enable_api_ms_win_eventing_provider_l1_1_0
910 enable_api_ms_win_ntuser_dc_access_l1_1_0
911 enable_api_ms_win_security_base_l1_1_0
912 enable_api_ms_win_security_base_l1_2_0
913 enable_api_ms_win_security_sddl_l1_1_0
914 enable_api_ms_win_service_core_l1_1_1
915 enable_api_ms_win_service_management_l1_1_0
916 enable_api_ms_win_service_winsvc_l1_2_0
917 enable_apphelp
918 enable_appwiz_cpl
919 enable_atl
920 enable_atl100
921 enable_atl110
922 enable_atl80
923 enable_atl90
924 enable_authz
925 enable_avicap32
926 enable_avifil32
927 enable_avrt
928 enable_bcrypt
929 enable_browseui
930 enable_cabinet
931 enable_capi2032
932 enable_cards
933 enable_cfgmgr32
934 enable_clusapi
935 enable_comcat
936 enable_comctl32
937 enable_comdlg32
938 enable_compstui
939 enable_comsvcs
940 enable_credui
941 enable_crtdll
942 enable_crypt32
943 enable_cryptdlg
944 enable_cryptdll
945 enable_cryptext
946 enable_cryptnet
947 enable_cryptui
948 enable_ctapi32
949 enable_ctl3d32
950 enable_d2d1
951 enable_d3d10
952 enable_d3d10_1
953 enable_d3d10core
954 enable_d3d11
955 enable_d3d8
956 enable_d3d9
957 enable_d3dcompiler_33
958 enable_d3dcompiler_34
959 enable_d3dcompiler_35
960 enable_d3dcompiler_36
961 enable_d3dcompiler_37
962 enable_d3dcompiler_38
963 enable_d3dcompiler_39
964 enable_d3dcompiler_40
965 enable_d3dcompiler_41
966 enable_d3dcompiler_42
967 enable_d3dcompiler_43
968 enable_d3dim
969 enable_d3drm
970 enable_d3dx10_33
971 enable_d3dx10_34
972 enable_d3dx10_35
973 enable_d3dx10_36
974 enable_d3dx10_37
975 enable_d3dx10_38
976 enable_d3dx10_39
977 enable_d3dx10_40
978 enable_d3dx10_41
979 enable_d3dx10_42
980 enable_d3dx10_43
981 enable_d3dx11_42
982 enable_d3dx11_43
983 enable_d3dx9_24
984 enable_d3dx9_25
985 enable_d3dx9_26
986 enable_d3dx9_27
987 enable_d3dx9_28
988 enable_d3dx9_29
989 enable_d3dx9_30
990 enable_d3dx9_31
991 enable_d3dx9_32
992 enable_d3dx9_33
993 enable_d3dx9_34
994 enable_d3dx9_35
995 enable_d3dx9_36
996 enable_d3dx9_37
997 enable_d3dx9_38
998 enable_d3dx9_39
999 enable_d3dx9_40
1000 enable_d3dx9_41
1001 enable_d3dx9_42
1002 enable_d3dx9_43
1003 enable_d3dxof
1004 enable_dbgeng
1005 enable_dbghelp
1006 enable_dciman32
1007 enable_ddraw
1008 enable_ddrawex
1009 enable_devenum
1010 enable_dhcpcsvc
1011 enable_difxapi
1012 enable_dinput
1013 enable_dinput8
1014 enable_dispex
1015 enable_dmband
1016 enable_dmcompos
1017 enable_dmime
1018 enable_dmloader
1019 enable_dmscript
1020 enable_dmstyle
1021 enable_dmsynth
1022 enable_dmusic
1023 enable_dmusic32
1024 enable_dnsapi
1025 enable_dplay
1026 enable_dplayx
1027 enable_dpnaddr
1028 enable_dpnet
1029 enable_dpnhpast
1030 enable_dpnlobby
1031 enable_dpvoice
1032 enable_dpwsockx
1033 enable_drmclien
1034 enable_dsound
1035 enable_dssenh
1036 enable_dswave
1037 enable_dwmapi
1038 enable_dwrite
1039 enable_dxdiagn
1040 enable_dxgi
1041 enable_dxva2
1042 enable_explorerframe
1043 enable_ext_ms_win_gdi_devcaps_l1_1_0
1044 enable_faultrep
1045 enable_fltlib
1046 enable_fntcache
1047 enable_fontsub
1048 enable_fusion
1049 enable_fwpuclnt
1050 enable_gameux
1051 enable_gdi32
1052 enable_gdiplus
1053 enable_glu32
1054 enable_gphoto2_ds
1055 enable_gpkcsp
1056 enable_hal
1057 enable_hhctrl_ocx
1058 enable_hid
1059 enable_hlink
1060 enable_hnetcfg
1061 enable_httpapi
1062 enable_iccvid
1063 enable_icmp
1064 enable_ieframe
1065 enable_imaadp32_acm
1066 enable_imagehlp
1067 enable_imm32
1068 enable_inetcomm
1069 enable_inetcpl_cpl
1070 enable_inetmib1
1071 enable_infosoft
1072 enable_initpki
1073 enable_inkobj
1074 enable_inseng
1075 enable_iphlpapi
1076 enable_itircl
1077 enable_itss
1078 enable_joy_cpl
1079 enable_jscript
1080 enable_jsproxy
1081 enable_kernel32
1082 enable_ksuser
1083 enable_ktmw32
1084 enable_loadperf
1085 enable_localspl
1086 enable_localui
1087 enable_lz32
1088 enable_mapi32
1089 enable_mapistub
1090 enable_mciavi32
1091 enable_mcicda
1092 enable_mciqtz32
1093 enable_mciseq
1094 enable_mciwave
1095 enable_mgmtapi
1096 enable_midimap
1097 enable_mlang
1098 enable_mmcndmgr
1099 enable_mmdevapi
1100 enable_mountmgr_sys
1101 enable_mpr
1102 enable_mprapi
1103 enable_msacm32_drv
1104 enable_msacm32
1105 enable_msadp32_acm
1106 enable_msasn1
1107 enable_mscat32
1108 enable_mscms
1109 enable_mscoree
1110 enable_msctf
1111 enable_msdaps
1112 enable_msdmo
1113 enable_msftedit
1114 enable_msg711_acm
1115 enable_msgsm32_acm
1116 enable_mshtml_tlb
1117 enable_mshtml
1118 enable_msi
1119 enable_msident
1120 enable_msimg32
1121 enable_msimsg
1122 enable_msimtf
1123 enable_msisip
1124 enable_msisys_ocx
1125 enable_msls31
1126 enable_msnet32
1127 enable_mspatcha
1128 enable_msrle32
1129 enable_mssign32
1130 enable_mssip32
1131 enable_mstask
1132 enable_msvcirt
1133 enable_msvcm80
1134 enable_msvcm90
1135 enable_msvcp100
1136 enable_msvcp110
1137 enable_msvcp120
1138 enable_msvcp60
1139 enable_msvcp70
1140 enable_msvcp71
1141 enable_msvcp80
1142 enable_msvcp90
1143 enable_msvcr100
1144 enable_msvcr110
1145 enable_msvcr120
1146 enable_msvcr70
1147 enable_msvcr71
1148 enable_msvcr80
1149 enable_msvcr90
1150 enable_msvcrt
1151 enable_msvcrt20
1152 enable_msvcrt40
1153 enable_msvcrtd
1154 enable_msvfw32
1155 enable_msvidc32
1156 enable_mswsock
1157 enable_msxml
1158 enable_msxml2
1159 enable_msxml3
1160 enable_msxml4
1161 enable_msxml6
1162 enable_nddeapi
1163 enable_ndis_sys
1164 enable_netapi32
1165 enable_netcfgx
1166 enable_netprofm
1167 enable_newdev
1168 enable_normaliz
1169 enable_npmshtml
1170 enable_npptools
1171 enable_ntdll
1172 enable_ntdsapi
1173 enable_ntoskrnl_exe
1174 enable_ntprint
1175 enable_objsel
1176 enable_odbc32
1177 enable_odbccp32
1178 enable_odbccu32
1179 enable_ole32
1180 enable_oleacc
1181 enable_oleaut32
1182 enable_olecli32
1183 enable_oledb32
1184 enable_oledlg
1185 enable_olepro32
1186 enable_olesvr32
1187 enable_olethk32
1188 enable_openal32
1189 enable_opencl
1190 enable_opengl32
1191 enable_packager
1192 enable_pdh
1193 enable_photometadatahandler
1194 enable_pidgen
1195 enable_powrprof
1196 enable_printui
1197 enable_prntvpt
1198 enable_propsys
1199 enable_psapi
1200 enable_pstorec
1201 enable_qcap
1202 enable_qedit
1203 enable_qmgr
1204 enable_qmgrprxy
1205 enable_quartz
1206 enable_query
1207 enable_rasapi32
1208 enable_rasdlg
1209 enable_regapi
1210 enable_resutils
1211 enable_riched20
1212 enable_riched32
1213 enable_rpcrt4
1214 enable_rsabase
1215 enable_rsaenh
1216 enable_rstrtmgr
1217 enable_rtutils
1218 enable_samlib
1219 enable_sane_ds
1220 enable_scarddlg
1221 enable_sccbase
1222 enable_schannel
1223 enable_schedsvc
1224 enable_scrrun
1225 enable_scsiport_sys
1226 enable_secur32
1227 enable_security
1228 enable_sensapi
1229 enable_serialui
1230 enable_setupapi
1231 enable_sfc
1232 enable_sfc_os
1233 enable_shdoclc
1234 enable_shdocvw
1235 enable_shell32
1236 enable_shfolder
1237 enable_shlwapi
1238 enable_slbcsp
1239 enable_slc
1240 enable_snmpapi
1241 enable_softpub
1242 enable_spoolss
1243 enable_stdole2_tlb
1244 enable_stdole32_tlb
1245 enable_sti
1246 enable_svrapi
1247 enable_sxs
1248 enable_t2embed
1249 enable_tapi32
1250 enable_taskschd
1251 enable_traffic
1252 enable_twain_32
1253 enable_unicows
1254 enable_updspapi
1255 enable_url
1256 enable_urlmon
1257 enable_usbd_sys
1258 enable_user32
1259 enable_userenv
1260 enable_usp10
1261 enable_uxtheme
1262 enable_vbscript
1263 enable_vcomp
1264 enable_vcomp100
1265 enable_vcomp90
1266 enable_vdmdbg
1267 enable_version
1268 enable_vssapi
1269 enable_wbemdisp
1270 enable_wbemprox
1271 enable_webservices
1272 enable_wer
1273 enable_wevtapi
1274 enable_wiaservc
1275 enable_windowscodecs
1276 enable_windowscodecsext
1277 enable_winealsa_drv
1278 enable_winecoreaudio_drv
1279 enable_wined3d
1280 enable_winegstreamer
1281 enable_winejoystick_drv
1282 enable_winemac_drv
1283 enable_winemapi
1284 enable_winemp3_acm
1285 enable_wineoss_drv
1286 enable_wineps_drv
1287 enable_wineqtdecoder
1288 enable_winex11_drv
1289 enable_wing32
1290 enable_winhttp
1291 enable_wininet
1292 enable_winmm
1293 enable_winnls32
1294 enable_winscard
1295 enable_winspool_drv
1296 enable_winsta
1297 enable_wintab32
1298 enable_wintrust
1299 enable_wlanapi
1300 enable_wldap32
1301 enable_wmi
1302 enable_wmiutils
1303 enable_wmp
1304 enable_wmvcore
1305 enable_wnaspi32
1306 enable_wpcap
1307 enable_ws2_32
1308 enable_wshom_ocx
1309 enable_wsnmp32
1310 enable_wsock32
1311 enable_wtsapi32
1312 enable_wuapi
1313 enable_wuaueng
1314 enable_xapofx1_1
1315 enable_xinput1_1
1316 enable_xinput1_2
1317 enable_xinput1_3
1318 enable_xinput1_4
1319 enable_xinput9_1_0
1320 enable_xmllite
1321 enable_xolehlp
1322 enable_xpsprint
1323 enable_xpssvcs
1324 enable_documentation
1325 enable_fonts
1326 enable_include
1327 enable_libs_port
1328 enable_libs_wine
1329 enable_libs_wpp
1330 enable_loader
1331 enable_arp
1332 enable_aspnet_regiis
1333 enable_attrib
1334 enable_cabarc
1335 enable_cacls
1336 enable_clock
1337 enable_cmd
1338 enable_conhost
1339 enable_control
1340 enable_cscript
1341 enable_dpnsvr
1342 enable_dxdiag
1343 enable_eject
1344 enable_expand
1345 enable_explorer
1346 enable_extrac32
1347 enable_findstr
1348 enable_hh
1349 enable_hostname
1350 enable_icinfo
1351 enable_iexplore
1352 enable_ipconfig
1353 enable_lodctr
1354 enable_mofcomp
1355 enable_mshta
1356 enable_msiexec
1357 enable_net
1358 enable_netsh
1359 enable_netstat
1360 enable_ngen
1361 enable_notepad
1362 enable_oleview
1363 enable_ping
1364 enable_plugplay
1365 enable_presentationfontcache
1366 enable_progman
1367 enable_reg
1368 enable_regasm
1369 enable_regedit
1370 enable_regsvcs
1371 enable_regsvr32
1372 enable_rpcss
1373 enable_rundll32
1374 enable_sc
1375 enable_schtasks
1376 enable_sdbinst
1377 enable_secedit
1378 enable_servicemodelreg
1379 enable_services
1380 enable_spoolsv
1381 enable_start
1382 enable_svchost
1383 enable_systeminfo
1384 enable_taskkill
1385 enable_tasklist
1386 enable_taskmgr
1387 enable_termsv
1388 enable_uninstaller
1389 enable_unlodctr
1390 enable_view
1391 enable_wevtutil
1392 enable_wineboot
1393 enable_winebrowser
1394 enable_winecfg
1395 enable_wineconsole
1396 enable_winedbg
1397 enable_winedevice
1398 enable_winefile
1399 enable_winemenubuilder
1400 enable_winemine
1401 enable_winemsibuilder
1402 enable_winepath
1403 enable_winetest
1404 enable_winhlp32
1405 enable_winver
1406 enable_wmic
1407 enable_wordpad
1408 enable_write
1409 enable_wscript
1410 enable_wusa
1411 enable_xcopy
1412 enable_server
1413 enable_tools
1415 ac_precious_vars='build_alias
1416 host_alias
1417 target_alias
1419 CFLAGS
1420 LDFLAGS
1421 LIBS
1422 CPPFLAGS
1424 CXXFLAGS
1427 XMKMF
1428 XML2_CFLAGS
1429 XML2_LIBS
1430 XSLT_CFLAGS
1431 XSLT_LIBS
1432 DBUS_CFLAGS
1433 DBUS_LIBS
1434 HAL_CFLAGS
1435 HAL_LIBS
1436 GNUTLS_CFLAGS
1437 GNUTLS_LIBS
1438 SANE_CFLAGS
1439 SANE_LIBS
1440 GPHOTO2_CFLAGS
1441 GPHOTO2_LIBS
1442 GPHOTO2_PORT_CFLAGS
1443 GPHOTO2_PORT_LIBS
1444 LCMS2_CFLAGS
1445 LCMS2_LIBS
1446 FREETYPE_CFLAGS
1447 FREETYPE_LIBS
1448 GSTREAMER_CFLAGS
1449 GSTREAMER_LIBS
1450 CAPI20_CFLAGS
1451 CAPI20_LIBS
1452 FONTCONFIG_CFLAGS
1453 FONTCONFIG_LIBS
1454 JPEG_CFLAGS
1455 JPEG_LIBS
1456 PNG_CFLAGS
1457 PNG_LIBS
1458 TIFF_CFLAGS
1459 TIFF_LIBS
1460 MPG123_CFLAGS
1461 MPG123_LIBS'
1464 # Initialize some variables set by options.
1465 ac_init_help=
1466 ac_init_version=false
1467 ac_unrecognized_opts=
1468 ac_unrecognized_sep=
1469 # The variables have the same names as the options, with
1470 # dashes changed to underlines.
1471 cache_file=/dev/null
1472 exec_prefix=NONE
1473 no_create=
1474 no_recursion=
1475 prefix=NONE
1476 program_prefix=NONE
1477 program_suffix=NONE
1478 program_transform_name=s,x,x,
1479 silent=
1480 site=
1481 srcdir=
1482 verbose=
1483 x_includes=NONE
1484 x_libraries=NONE
1486 # Installation directory options.
1487 # These are left unexpanded so users can "make install exec_prefix=/foo"
1488 # and all the variables that are supposed to be based on exec_prefix
1489 # by default will actually change.
1490 # Use braces instead of parens because sh, perl, etc. also accept them.
1491 # (The list follows the same order as the GNU Coding Standards.)
1492 bindir='${exec_prefix}/bin'
1493 sbindir='${exec_prefix}/sbin'
1494 libexecdir='${exec_prefix}/libexec'
1495 datarootdir='${prefix}/share'
1496 datadir='${datarootdir}'
1497 sysconfdir='${prefix}/etc'
1498 sharedstatedir='${prefix}/com'
1499 localstatedir='${prefix}/var'
1500 includedir='${prefix}/include'
1501 oldincludedir='/usr/include'
1502 docdir='${datarootdir}/doc/${PACKAGE_TARNAME}'
1503 infodir='${datarootdir}/info'
1504 htmldir='${docdir}'
1505 dvidir='${docdir}'
1506 pdfdir='${docdir}'
1507 psdir='${docdir}'
1508 libdir='${exec_prefix}/lib'
1509 localedir='${datarootdir}/locale'
1510 mandir='${datarootdir}/man'
1512 ac_prev=
1513 ac_dashdash=
1514 for ac_option
1516 # If the previous option needs an argument, assign it.
1517 if test -n "$ac_prev"; then
1518 eval $ac_prev=\$ac_option
1519 ac_prev=
1520 continue
1523 case $ac_option in
1524 *=?*) ac_optarg=`expr "X$ac_option" : '[^=]*=\(.*\)'` ;;
1525 *=) ac_optarg= ;;
1526 *) ac_optarg=yes ;;
1527 esac
1529 # Accept the important Cygnus configure options, so we can diagnose typos.
1531 case $ac_dashdash$ac_option in
1533 ac_dashdash=yes ;;
1535 -bindir | --bindir | --bindi | --bind | --bin | --bi)
1536 ac_prev=bindir ;;
1537 -bindir=* | --bindir=* | --bindi=* | --bind=* | --bin=* | --bi=*)
1538 bindir=$ac_optarg ;;
1540 -build | --build | --buil | --bui | --bu)
1541 ac_prev=build_alias ;;
1542 -build=* | --build=* | --buil=* | --bui=* | --bu=*)
1543 build_alias=$ac_optarg ;;
1545 -cache-file | --cache-file | --cache-fil | --cache-fi \
1546 | --cache-f | --cache- | --cache | --cach | --cac | --ca | --c)
1547 ac_prev=cache_file ;;
1548 -cache-file=* | --cache-file=* | --cache-fil=* | --cache-fi=* \
1549 | --cache-f=* | --cache-=* | --cache=* | --cach=* | --cac=* | --ca=* | --c=*)
1550 cache_file=$ac_optarg ;;
1552 --config-cache | -C)
1553 cache_file=config.cache ;;
1555 -datadir | --datadir | --datadi | --datad)
1556 ac_prev=datadir ;;
1557 -datadir=* | --datadir=* | --datadi=* | --datad=*)
1558 datadir=$ac_optarg ;;
1560 -datarootdir | --datarootdir | --datarootdi | --datarootd | --dataroot \
1561 | --dataroo | --dataro | --datar)
1562 ac_prev=datarootdir ;;
1563 -datarootdir=* | --datarootdir=* | --datarootdi=* | --datarootd=* \
1564 | --dataroot=* | --dataroo=* | --dataro=* | --datar=*)
1565 datarootdir=$ac_optarg ;;
1567 -disable-* | --disable-*)
1568 ac_useropt=`expr "x$ac_option" : 'x-*disable-\(.*\)'`
1569 # Reject names that are not valid shell variable names.
1570 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
1571 as_fn_error $? "invalid feature name: $ac_useropt"
1572 ac_useropt_orig=$ac_useropt
1573 ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
1574 case $ac_user_opts in
1576 "enable_$ac_useropt"
1577 "*) ;;
1578 *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--disable-$ac_useropt_orig"
1579 ac_unrecognized_sep=', ';;
1580 esac
1581 eval enable_$ac_useropt=no ;;
1583 -docdir | --docdir | --docdi | --doc | --do)
1584 ac_prev=docdir ;;
1585 -docdir=* | --docdir=* | --docdi=* | --doc=* | --do=*)
1586 docdir=$ac_optarg ;;
1588 -dvidir | --dvidir | --dvidi | --dvid | --dvi | --dv)
1589 ac_prev=dvidir ;;
1590 -dvidir=* | --dvidir=* | --dvidi=* | --dvid=* | --dvi=* | --dv=*)
1591 dvidir=$ac_optarg ;;
1593 -enable-* | --enable-*)
1594 ac_useropt=`expr "x$ac_option" : 'x-*enable-\([^=]*\)'`
1595 # Reject names that are not valid shell variable names.
1596 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
1597 as_fn_error $? "invalid feature name: $ac_useropt"
1598 ac_useropt_orig=$ac_useropt
1599 ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
1600 case $ac_user_opts in
1602 "enable_$ac_useropt"
1603 "*) ;;
1604 *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--enable-$ac_useropt_orig"
1605 ac_unrecognized_sep=', ';;
1606 esac
1607 eval enable_$ac_useropt=\$ac_optarg ;;
1609 -exec-prefix | --exec_prefix | --exec-prefix | --exec-prefi \
1610 | --exec-pref | --exec-pre | --exec-pr | --exec-p | --exec- \
1611 | --exec | --exe | --ex)
1612 ac_prev=exec_prefix ;;
1613 -exec-prefix=* | --exec_prefix=* | --exec-prefix=* | --exec-prefi=* \
1614 | --exec-pref=* | --exec-pre=* | --exec-pr=* | --exec-p=* | --exec-=* \
1615 | --exec=* | --exe=* | --ex=*)
1616 exec_prefix=$ac_optarg ;;
1618 -gas | --gas | --ga | --g)
1619 # Obsolete; use --with-gas.
1620 with_gas=yes ;;
1622 -help | --help | --hel | --he | -h)
1623 ac_init_help=long ;;
1624 -help=r* | --help=r* | --hel=r* | --he=r* | -hr*)
1625 ac_init_help=recursive ;;
1626 -help=s* | --help=s* | --hel=s* | --he=s* | -hs*)
1627 ac_init_help=short ;;
1629 -host | --host | --hos | --ho)
1630 ac_prev=host_alias ;;
1631 -host=* | --host=* | --hos=* | --ho=*)
1632 host_alias=$ac_optarg ;;
1634 -htmldir | --htmldir | --htmldi | --htmld | --html | --htm | --ht)
1635 ac_prev=htmldir ;;
1636 -htmldir=* | --htmldir=* | --htmldi=* | --htmld=* | --html=* | --htm=* \
1637 | --ht=*)
1638 htmldir=$ac_optarg ;;
1640 -includedir | --includedir | --includedi | --included | --include \
1641 | --includ | --inclu | --incl | --inc)
1642 ac_prev=includedir ;;
1643 -includedir=* | --includedir=* | --includedi=* | --included=* | --include=* \
1644 | --includ=* | --inclu=* | --incl=* | --inc=*)
1645 includedir=$ac_optarg ;;
1647 -infodir | --infodir | --infodi | --infod | --info | --inf)
1648 ac_prev=infodir ;;
1649 -infodir=* | --infodir=* | --infodi=* | --infod=* | --info=* | --inf=*)
1650 infodir=$ac_optarg ;;
1652 -libdir | --libdir | --libdi | --libd)
1653 ac_prev=libdir ;;
1654 -libdir=* | --libdir=* | --libdi=* | --libd=*)
1655 libdir=$ac_optarg ;;
1657 -libexecdir | --libexecdir | --libexecdi | --libexecd | --libexec \
1658 | --libexe | --libex | --libe)
1659 ac_prev=libexecdir ;;
1660 -libexecdir=* | --libexecdir=* | --libexecdi=* | --libexecd=* | --libexec=* \
1661 | --libexe=* | --libex=* | --libe=*)
1662 libexecdir=$ac_optarg ;;
1664 -localedir | --localedir | --localedi | --localed | --locale)
1665 ac_prev=localedir ;;
1666 -localedir=* | --localedir=* | --localedi=* | --localed=* | --locale=*)
1667 localedir=$ac_optarg ;;
1669 -localstatedir | --localstatedir | --localstatedi | --localstated \
1670 | --localstate | --localstat | --localsta | --localst | --locals)
1671 ac_prev=localstatedir ;;
1672 -localstatedir=* | --localstatedir=* | --localstatedi=* | --localstated=* \
1673 | --localstate=* | --localstat=* | --localsta=* | --localst=* | --locals=*)
1674 localstatedir=$ac_optarg ;;
1676 -mandir | --mandir | --mandi | --mand | --man | --ma | --m)
1677 ac_prev=mandir ;;
1678 -mandir=* | --mandir=* | --mandi=* | --mand=* | --man=* | --ma=* | --m=*)
1679 mandir=$ac_optarg ;;
1681 -nfp | --nfp | --nf)
1682 # Obsolete; use --without-fp.
1683 with_fp=no ;;
1685 -no-create | --no-create | --no-creat | --no-crea | --no-cre \
1686 | --no-cr | --no-c | -n)
1687 no_create=yes ;;
1689 -no-recursion | --no-recursion | --no-recursio | --no-recursi \
1690 | --no-recurs | --no-recur | --no-recu | --no-rec | --no-re | --no-r)
1691 no_recursion=yes ;;
1693 -oldincludedir | --oldincludedir | --oldincludedi | --oldincluded \
1694 | --oldinclude | --oldinclud | --oldinclu | --oldincl | --oldinc \
1695 | --oldin | --oldi | --old | --ol | --o)
1696 ac_prev=oldincludedir ;;
1697 -oldincludedir=* | --oldincludedir=* | --oldincludedi=* | --oldincluded=* \
1698 | --oldinclude=* | --oldinclud=* | --oldinclu=* | --oldincl=* | --oldinc=* \
1699 | --oldin=* | --oldi=* | --old=* | --ol=* | --o=*)
1700 oldincludedir=$ac_optarg ;;
1702 -prefix | --prefix | --prefi | --pref | --pre | --pr | --p)
1703 ac_prev=prefix ;;
1704 -prefix=* | --prefix=* | --prefi=* | --pref=* | --pre=* | --pr=* | --p=*)
1705 prefix=$ac_optarg ;;
1707 -program-prefix | --program-prefix | --program-prefi | --program-pref \
1708 | --program-pre | --program-pr | --program-p)
1709 ac_prev=program_prefix ;;
1710 -program-prefix=* | --program-prefix=* | --program-prefi=* \
1711 | --program-pref=* | --program-pre=* | --program-pr=* | --program-p=*)
1712 program_prefix=$ac_optarg ;;
1714 -program-suffix | --program-suffix | --program-suffi | --program-suff \
1715 | --program-suf | --program-su | --program-s)
1716 ac_prev=program_suffix ;;
1717 -program-suffix=* | --program-suffix=* | --program-suffi=* \
1718 | --program-suff=* | --program-suf=* | --program-su=* | --program-s=*)
1719 program_suffix=$ac_optarg ;;
1721 -program-transform-name | --program-transform-name \
1722 | --program-transform-nam | --program-transform-na \
1723 | --program-transform-n | --program-transform- \
1724 | --program-transform | --program-transfor \
1725 | --program-transfo | --program-transf \
1726 | --program-trans | --program-tran \
1727 | --progr-tra | --program-tr | --program-t)
1728 ac_prev=program_transform_name ;;
1729 -program-transform-name=* | --program-transform-name=* \
1730 | --program-transform-nam=* | --program-transform-na=* \
1731 | --program-transform-n=* | --program-transform-=* \
1732 | --program-transform=* | --program-transfor=* \
1733 | --program-transfo=* | --program-transf=* \
1734 | --program-trans=* | --program-tran=* \
1735 | --progr-tra=* | --program-tr=* | --program-t=*)
1736 program_transform_name=$ac_optarg ;;
1738 -pdfdir | --pdfdir | --pdfdi | --pdfd | --pdf | --pd)
1739 ac_prev=pdfdir ;;
1740 -pdfdir=* | --pdfdir=* | --pdfdi=* | --pdfd=* | --pdf=* | --pd=*)
1741 pdfdir=$ac_optarg ;;
1743 -psdir | --psdir | --psdi | --psd | --ps)
1744 ac_prev=psdir ;;
1745 -psdir=* | --psdir=* | --psdi=* | --psd=* | --ps=*)
1746 psdir=$ac_optarg ;;
1748 -q | -quiet | --quiet | --quie | --qui | --qu | --q \
1749 | -silent | --silent | --silen | --sile | --sil)
1750 silent=yes ;;
1752 -sbindir | --sbindir | --sbindi | --sbind | --sbin | --sbi | --sb)
1753 ac_prev=sbindir ;;
1754 -sbindir=* | --sbindir=* | --sbindi=* | --sbind=* | --sbin=* \
1755 | --sbi=* | --sb=*)
1756 sbindir=$ac_optarg ;;
1758 -sharedstatedir | --sharedstatedir | --sharedstatedi \
1759 | --sharedstated | --sharedstate | --sharedstat | --sharedsta \
1760 | --sharedst | --shareds | --shared | --share | --shar \
1761 | --sha | --sh)
1762 ac_prev=sharedstatedir ;;
1763 -sharedstatedir=* | --sharedstatedir=* | --sharedstatedi=* \
1764 | --sharedstated=* | --sharedstate=* | --sharedstat=* | --sharedsta=* \
1765 | --sharedst=* | --shareds=* | --shared=* | --share=* | --shar=* \
1766 | --sha=* | --sh=*)
1767 sharedstatedir=$ac_optarg ;;
1769 -site | --site | --sit)
1770 ac_prev=site ;;
1771 -site=* | --site=* | --sit=*)
1772 site=$ac_optarg ;;
1774 -srcdir | --srcdir | --srcdi | --srcd | --src | --sr)
1775 ac_prev=srcdir ;;
1776 -srcdir=* | --srcdir=* | --srcdi=* | --srcd=* | --src=* | --sr=*)
1777 srcdir=$ac_optarg ;;
1779 -sysconfdir | --sysconfdir | --sysconfdi | --sysconfd | --sysconf \
1780 | --syscon | --sysco | --sysc | --sys | --sy)
1781 ac_prev=sysconfdir ;;
1782 -sysconfdir=* | --sysconfdir=* | --sysconfdi=* | --sysconfd=* | --sysconf=* \
1783 | --syscon=* | --sysco=* | --sysc=* | --sys=* | --sy=*)
1784 sysconfdir=$ac_optarg ;;
1786 -target | --target | --targe | --targ | --tar | --ta | --t)
1787 ac_prev=target_alias ;;
1788 -target=* | --target=* | --targe=* | --targ=* | --tar=* | --ta=* | --t=*)
1789 target_alias=$ac_optarg ;;
1791 -v | -verbose | --verbose | --verbos | --verbo | --verb)
1792 verbose=yes ;;
1794 -version | --version | --versio | --versi | --vers | -V)
1795 ac_init_version=: ;;
1797 -with-* | --with-*)
1798 ac_useropt=`expr "x$ac_option" : 'x-*with-\([^=]*\)'`
1799 # Reject names that are not valid shell variable names.
1800 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
1801 as_fn_error $? "invalid package name: $ac_useropt"
1802 ac_useropt_orig=$ac_useropt
1803 ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
1804 case $ac_user_opts in
1806 "with_$ac_useropt"
1807 "*) ;;
1808 *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--with-$ac_useropt_orig"
1809 ac_unrecognized_sep=', ';;
1810 esac
1811 eval with_$ac_useropt=\$ac_optarg ;;
1813 -without-* | --without-*)
1814 ac_useropt=`expr "x$ac_option" : 'x-*without-\(.*\)'`
1815 # Reject names that are not valid shell variable names.
1816 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
1817 as_fn_error $? "invalid package name: $ac_useropt"
1818 ac_useropt_orig=$ac_useropt
1819 ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
1820 case $ac_user_opts in
1822 "with_$ac_useropt"
1823 "*) ;;
1824 *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--without-$ac_useropt_orig"
1825 ac_unrecognized_sep=', ';;
1826 esac
1827 eval with_$ac_useropt=no ;;
1829 --x)
1830 # Obsolete; use --with-x.
1831 with_x=yes ;;
1833 -x-includes | --x-includes | --x-include | --x-includ | --x-inclu \
1834 | --x-incl | --x-inc | --x-in | --x-i)
1835 ac_prev=x_includes ;;
1836 -x-includes=* | --x-includes=* | --x-include=* | --x-includ=* | --x-inclu=* \
1837 | --x-incl=* | --x-inc=* | --x-in=* | --x-i=*)
1838 x_includes=$ac_optarg ;;
1840 -x-libraries | --x-libraries | --x-librarie | --x-librari \
1841 | --x-librar | --x-libra | --x-libr | --x-lib | --x-li | --x-l)
1842 ac_prev=x_libraries ;;
1843 -x-libraries=* | --x-libraries=* | --x-librarie=* | --x-librari=* \
1844 | --x-librar=* | --x-libra=* | --x-libr=* | --x-lib=* | --x-li=* | --x-l=*)
1845 x_libraries=$ac_optarg ;;
1847 -*) as_fn_error $? "unrecognized option: \`$ac_option'
1848 Try \`$0 --help' for more information"
1851 *=*)
1852 ac_envvar=`expr "x$ac_option" : 'x\([^=]*\)='`
1853 # Reject names that are not valid shell variable names.
1854 case $ac_envvar in #(
1855 '' | [0-9]* | *[!_$as_cr_alnum]* )
1856 as_fn_error $? "invalid variable name: \`$ac_envvar'" ;;
1857 esac
1858 eval $ac_envvar=\$ac_optarg
1859 export $ac_envvar ;;
1862 # FIXME: should be removed in autoconf 3.0.
1863 $as_echo "$as_me: WARNING: you should use --build, --host, --target" >&2
1864 expr "x$ac_option" : ".*[^-._$as_cr_alnum]" >/dev/null &&
1865 $as_echo "$as_me: WARNING: invalid host type: $ac_option" >&2
1866 : "${build_alias=$ac_option} ${host_alias=$ac_option} ${target_alias=$ac_option}"
1869 esac
1870 done
1872 if test -n "$ac_prev"; then
1873 ac_option=--`echo $ac_prev | sed 's/_/-/g'`
1874 as_fn_error $? "missing argument to $ac_option"
1877 if test -n "$ac_unrecognized_opts"; then
1878 case $enable_option_checking in
1879 no) ;;
1880 fatal) as_fn_error $? "unrecognized options: $ac_unrecognized_opts" ;;
1881 *) $as_echo "$as_me: WARNING: unrecognized options: $ac_unrecognized_opts" >&2 ;;
1882 esac
1885 # Check all directory arguments for consistency.
1886 for ac_var in exec_prefix prefix bindir sbindir libexecdir datarootdir \
1887 datadir sysconfdir sharedstatedir localstatedir includedir \
1888 oldincludedir docdir infodir htmldir dvidir pdfdir psdir \
1889 libdir localedir mandir
1891 eval ac_val=\$$ac_var
1892 # Remove trailing slashes.
1893 case $ac_val in
1894 */ )
1895 ac_val=`expr "X$ac_val" : 'X\(.*[^/]\)' \| "X$ac_val" : 'X\(.*\)'`
1896 eval $ac_var=\$ac_val;;
1897 esac
1898 # Be sure to have absolute directory names.
1899 case $ac_val in
1900 [\\/$]* | ?:[\\/]* ) continue;;
1901 NONE | '' ) case $ac_var in *prefix ) continue;; esac;;
1902 esac
1903 as_fn_error $? "expected an absolute directory name for --$ac_var: $ac_val"
1904 done
1906 # There might be people who depend on the old broken behavior: `$host'
1907 # used to hold the argument of --host etc.
1908 # FIXME: To remove some day.
1909 build=$build_alias
1910 host=$host_alias
1911 target=$target_alias
1913 # FIXME: To remove some day.
1914 if test "x$host_alias" != x; then
1915 if test "x$build_alias" = x; then
1916 cross_compiling=maybe
1917 elif test "x$build_alias" != "x$host_alias"; then
1918 cross_compiling=yes
1922 ac_tool_prefix=
1923 test -n "$host_alias" && ac_tool_prefix=$host_alias-
1925 test "$silent" = yes && exec 6>/dev/null
1928 ac_pwd=`pwd` && test -n "$ac_pwd" &&
1929 ac_ls_di=`ls -di .` &&
1930 ac_pwd_ls_di=`cd "$ac_pwd" && ls -di .` ||
1931 as_fn_error $? "working directory cannot be determined"
1932 test "X$ac_ls_di" = "X$ac_pwd_ls_di" ||
1933 as_fn_error $? "pwd does not report name of working directory"
1936 # Find the source files, if location was not specified.
1937 if test -z "$srcdir"; then
1938 ac_srcdir_defaulted=yes
1939 # Try the directory containing this script, then the parent directory.
1940 ac_confdir=`$as_dirname -- "$as_myself" ||
1941 $as_expr X"$as_myself" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
1942 X"$as_myself" : 'X\(//\)[^/]' \| \
1943 X"$as_myself" : 'X\(//\)$' \| \
1944 X"$as_myself" : 'X\(/\)' \| . 2>/dev/null ||
1945 $as_echo X"$as_myself" |
1946 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
1947 s//\1/
1950 /^X\(\/\/\)[^/].*/{
1951 s//\1/
1954 /^X\(\/\/\)$/{
1955 s//\1/
1958 /^X\(\/\).*/{
1959 s//\1/
1962 s/.*/./; q'`
1963 srcdir=$ac_confdir
1964 if test ! -r "$srcdir/$ac_unique_file"; then
1965 srcdir=..
1967 else
1968 ac_srcdir_defaulted=no
1970 if test ! -r "$srcdir/$ac_unique_file"; then
1971 test "$ac_srcdir_defaulted" = yes && srcdir="$ac_confdir or .."
1972 as_fn_error $? "cannot find sources ($ac_unique_file) in $srcdir"
1974 ac_msg="sources are in $srcdir, but \`cd $srcdir' does not work"
1975 ac_abs_confdir=`(
1976 cd "$srcdir" && test -r "./$ac_unique_file" || as_fn_error $? "$ac_msg"
1977 pwd)`
1978 # When building in place, set srcdir=.
1979 if test "$ac_abs_confdir" = "$ac_pwd"; then
1980 srcdir=.
1982 # Remove unnecessary trailing slashes from srcdir.
1983 # Double slashes in file names in object file debugging info
1984 # mess up M-x gdb in Emacs.
1985 case $srcdir in
1986 */) srcdir=`expr "X$srcdir" : 'X\(.*[^/]\)' \| "X$srcdir" : 'X\(.*\)'`;;
1987 esac
1988 for ac_var in $ac_precious_vars; do
1989 eval ac_env_${ac_var}_set=\${${ac_var}+set}
1990 eval ac_env_${ac_var}_value=\$${ac_var}
1991 eval ac_cv_env_${ac_var}_set=\${${ac_var}+set}
1992 eval ac_cv_env_${ac_var}_value=\$${ac_var}
1993 done
1996 # Report the --help message.
1998 if test "$ac_init_help" = "long"; then
1999 # Omit some internal or obsolete options to make the list less imposing.
2000 # This message is too long to be a string in the A/UX 3.1 sh.
2001 cat <<_ACEOF
2002 \`configure' configures Wine 1.7.32 to adapt to many kinds of systems.
2004 Usage: $0 [OPTION]... [VAR=VALUE]...
2006 To assign environment variables (e.g., CC, CFLAGS...), specify them as
2007 VAR=VALUE. See below for descriptions of some of the useful variables.
2009 Defaults for the options are specified in brackets.
2011 Configuration:
2012 -h, --help display this help and exit
2013 --help=short display options specific to this package
2014 --help=recursive display the short help of all the included packages
2015 -V, --version display version information and exit
2016 -q, --quiet, --silent do not print \`checking ...' messages
2017 --cache-file=FILE cache test results in FILE [disabled]
2018 -C, --config-cache alias for \`--cache-file=config.cache'
2019 -n, --no-create do not create output files
2020 --srcdir=DIR find the sources in DIR [configure dir or \`..']
2022 Installation directories:
2023 --prefix=PREFIX install architecture-independent files in PREFIX
2024 [$ac_default_prefix]
2025 --exec-prefix=EPREFIX install architecture-dependent files in EPREFIX
2026 [PREFIX]
2028 By default, \`make install' will install all the files in
2029 \`$ac_default_prefix/bin', \`$ac_default_prefix/lib' etc. You can specify
2030 an installation prefix other than \`$ac_default_prefix' using \`--prefix',
2031 for instance \`--prefix=\$HOME'.
2033 For better control, use the options below.
2035 Fine tuning of the installation directories:
2036 --bindir=DIR user executables [EPREFIX/bin]
2037 --sbindir=DIR system admin executables [EPREFIX/sbin]
2038 --libexecdir=DIR program executables [EPREFIX/libexec]
2039 --sysconfdir=DIR read-only single-machine data [PREFIX/etc]
2040 --sharedstatedir=DIR modifiable architecture-independent data [PREFIX/com]
2041 --localstatedir=DIR modifiable single-machine data [PREFIX/var]
2042 --libdir=DIR object code libraries [EPREFIX/lib]
2043 --includedir=DIR C header files [PREFIX/include]
2044 --oldincludedir=DIR C header files for non-gcc [/usr/include]
2045 --datarootdir=DIR read-only arch.-independent data root [PREFIX/share]
2046 --datadir=DIR read-only architecture-independent data [DATAROOTDIR]
2047 --infodir=DIR info documentation [DATAROOTDIR/info]
2048 --localedir=DIR locale-dependent data [DATAROOTDIR/locale]
2049 --mandir=DIR man documentation [DATAROOTDIR/man]
2050 --docdir=DIR documentation root [DATAROOTDIR/doc/wine]
2051 --htmldir=DIR html documentation [DOCDIR]
2052 --dvidir=DIR dvi documentation [DOCDIR]
2053 --pdfdir=DIR pdf documentation [DOCDIR]
2054 --psdir=DIR ps documentation [DOCDIR]
2055 _ACEOF
2057 cat <<\_ACEOF
2059 X features:
2060 --x-includes=DIR X include files are in DIR
2061 --x-libraries=DIR X library files are in DIR
2063 System types:
2064 --build=BUILD configure for building on BUILD [guessed]
2065 --host=HOST cross-compile to build programs to run on HOST [BUILD]
2066 _ACEOF
2069 if test -n "$ac_init_help"; then
2070 case $ac_init_help in
2071 short | recursive ) echo "Configuration of Wine 1.7.32:";;
2072 esac
2073 cat <<\_ACEOF
2075 Optional Features:
2076 --disable-option-checking ignore unrecognized --enable/--with options
2077 --disable-FEATURE do not include FEATURE (same as --enable-FEATURE=no)
2078 --enable-FEATURE[=ARG] include FEATURE [ARG=yes]
2079 --disable-win16 do not include Win16 support
2080 --enable-win64 build a Win64 emulator on AMD64 (won't run Win32
2081 binaries)
2082 --disable-tests do not build the regression tests
2083 --enable-maintainer-mode
2084 enable maintainer-specific build rules
2085 --disable-largefile omit support for large files
2087 Optional Packages:
2088 --with-PACKAGE[=ARG] use PACKAGE [ARG=yes]
2089 --without-PACKAGE do not use PACKAGE (same as --with-PACKAGE=no)
2090 --without-alsa do not use the Alsa sound support
2091 --without-capi do not use CAPI (ISDN support)
2092 --without-cms do not use CMS (color management support)
2093 --without-coreaudio do not use the CoreAudio sound support
2094 --without-cups do not use CUPS
2095 --without-curses do not use (n)curses
2096 --without-dbus do not use DBus (dynamic device support)
2097 --without-fontconfig do not use fontconfig
2098 --without-freetype do not use the FreeType library
2099 --without-gettext do not use gettext
2100 --with-gettextpo use the GetTextPO library to rebuild po files
2101 --without-gphoto do not use gphoto (Digital Camera support)
2102 --without-glu do not use the GLU library
2103 --without-gnutls do not use GnuTLS (schannel support)
2104 --without-gsm do not use libgsm (GSM 06.10 codec support)
2105 --without-gstreamer do not use GStreamer (codecs support)
2106 --without-hal do not use HAL (dynamic device support)
2107 --without-jpeg do not use JPEG
2108 --without-ldap do not use LDAP
2109 --without-mpg123 do not use the mpg123 library
2110 --without-netapi do not use the Samba NetAPI library
2111 --without-openal do not use OpenAL
2112 --without-opencl do not use OpenCL
2113 --without-opengl do not use OpenGL
2114 --without-osmesa do not use the OSMesa library
2115 --without-oss do not use the OSS sound support
2116 --without-pcap do not use the Packet Capture library
2117 --without-png do not use PNG
2118 --without-pthread do not use the pthread library
2119 --without-sane do not use SANE (scanner support)
2120 --without-tiff do not use TIFF
2121 --without-v4l do not use v4l1 (v4l support)
2122 --without-xcomposite do not use the Xcomposite extension
2123 --without-xcursor do not use the Xcursor extension
2124 --without-xinerama do not use Xinerama (multi-monitor support)
2125 --without-xinput do not use the Xinput extension
2126 --without-xinput2 do not use the Xinput 2 extension
2127 --without-xml do not use XML
2128 --without-xrandr do not use Xrandr (resolution changes)
2129 --without-xrender do not use the Xrender extension
2130 --without-xshape do not use the Xshape extension
2131 --without-xshm do not use XShm (shared memory extension)
2132 --without-xslt do not use XSLT
2133 --without-xxf86vm do not use XFree video mode extension
2134 --without-zlib do not use Zlib (data compression)
2135 --with-wine-tools=DIR use Wine tools from directory DIR
2136 --with-wine64=DIR use the 64-bit Wine in DIR for a Wow64 build
2137 --with-x use the X Window System
2139 Some influential environment variables:
2140 CC C compiler command
2141 CFLAGS C compiler flags
2142 LDFLAGS linker flags, e.g. -L<lib dir> if you have libraries in a
2143 nonstandard directory <lib dir>
2144 LIBS libraries to pass to the linker, e.g. -l<library>
2145 CPPFLAGS (Objective) C/C++ preprocessor flags, e.g. -I<include dir> if
2146 you have headers in a nonstandard directory <include dir>
2147 CXX C++ compiler command
2148 CXXFLAGS C++ compiler flags
2149 CPP C preprocessor
2150 XMKMF Path to xmkmf, Makefile generator for X Window System
2151 XML2_CFLAGS C compiler flags for libxml-2.0, overriding pkg-config
2152 XML2_LIBS Linker flags for libxml-2.0, overriding pkg-config
2153 XSLT_CFLAGS C compiler flags for libxslt, overriding pkg-config
2154 XSLT_LIBS Linker flags for libxslt, overriding pkg-config
2155 DBUS_CFLAGS C compiler flags for dbus-1, overriding pkg-config
2156 DBUS_LIBS Linker flags for dbus-1, overriding pkg-config
2157 HAL_CFLAGS C compiler flags for hal, overriding pkg-config
2158 HAL_LIBS Linker flags for hal, overriding pkg-config
2159 GNUTLS_CFLAGS
2160 C compiler flags for gnutls, overriding pkg-config
2161 GNUTLS_LIBS Linker flags for gnutls, overriding pkg-config
2162 SANE_CFLAGS C compiler flags for libsane, overriding pkg-config
2163 SANE_LIBS Linker flags for libsane, overriding pkg-config
2164 GPHOTO2_CFLAGS
2165 C compiler flags for libgphoto2, overriding pkg-config
2166 GPHOTO2_LIBS
2167 Linker flags for libgphoto2, overriding pkg-config
2168 GPHOTO2_PORT_CFLAGS
2169 C compiler flags for libgphoto2_port, overriding pkg-config
2170 GPHOTO2_PORT_LIBS
2171 Linker flags for libgphoto2_port, overriding pkg-config
2172 LCMS2_CFLAGS
2173 C compiler flags for lcms2, overriding pkg-config
2174 LCMS2_LIBS Linker flags for lcms2, overriding pkg-config
2175 FREETYPE_CFLAGS
2176 C compiler flags for freetype2, overriding pkg-config
2177 FREETYPE_LIBS
2178 Linker flags for freetype2, overriding pkg-config
2179 GSTREAMER_CFLAGS
2180 C compiler flags for gstreamer-app-0.10, overriding pkg-config
2181 GSTREAMER_LIBS
2182 Linker flags for gstreamer-app-0.10, overriding pkg-config
2183 CAPI20_CFLAGS
2184 C compiler flags for capi20, overriding pkg-config
2185 CAPI20_LIBS Linker flags for capi20, overriding pkg-config
2186 FONTCONFIG_CFLAGS
2187 C compiler flags for fontconfig, overriding pkg-config
2188 FONTCONFIG_LIBS
2189 Linker flags for fontconfig, overriding pkg-config
2190 JPEG_CFLAGS C compiler flags for libjpeg, overriding pkg-config
2191 JPEG_LIBS Linker flags for libjpeg, overriding pkg-config
2192 PNG_CFLAGS C compiler flags for libpng, overriding pkg-config
2193 PNG_LIBS Linker flags for libpng, overriding pkg-config
2194 TIFF_CFLAGS C compiler flags for libtiff, overriding pkg-config
2195 TIFF_LIBS Linker flags for libtiff, overriding pkg-config
2196 MPG123_CFLAGS
2197 C compiler flags for libmpg123, overriding pkg-config
2198 MPG123_LIBS Linker flags for libmpg123, overriding pkg-config
2200 Use these variables to override the choices made by `configure' or to help
2201 it to find libraries and programs with nonstandard names/locations.
2203 Report bugs to <wine-devel@winehq.org>.
2204 Wine home page: <http://www.winehq.org>.
2205 _ACEOF
2206 ac_status=$?
2209 if test "$ac_init_help" = "recursive"; then
2210 # If there are subdirs, report their specific --help.
2211 for ac_dir in : $ac_subdirs_all; do test "x$ac_dir" = x: && continue
2212 test -d "$ac_dir" ||
2213 { cd "$srcdir" && ac_pwd=`pwd` && srcdir=. && test -d "$ac_dir"; } ||
2214 continue
2215 ac_builddir=.
2217 case "$ac_dir" in
2218 .) ac_dir_suffix= ac_top_builddir_sub=. ac_top_build_prefix= ;;
2220 ac_dir_suffix=/`$as_echo "$ac_dir" | sed 's|^\.[\\/]||'`
2221 # A ".." for each directory in $ac_dir_suffix.
2222 ac_top_builddir_sub=`$as_echo "$ac_dir_suffix" | sed 's|/[^\\/]*|/..|g;s|/||'`
2223 case $ac_top_builddir_sub in
2224 "") ac_top_builddir_sub=. ac_top_build_prefix= ;;
2225 *) ac_top_build_prefix=$ac_top_builddir_sub/ ;;
2226 esac ;;
2227 esac
2228 ac_abs_top_builddir=$ac_pwd
2229 ac_abs_builddir=$ac_pwd$ac_dir_suffix
2230 # for backward compatibility:
2231 ac_top_builddir=$ac_top_build_prefix
2233 case $srcdir in
2234 .) # We are building in place.
2235 ac_srcdir=.
2236 ac_top_srcdir=$ac_top_builddir_sub
2237 ac_abs_top_srcdir=$ac_pwd ;;
2238 [\\/]* | ?:[\\/]* ) # Absolute name.
2239 ac_srcdir=$srcdir$ac_dir_suffix;
2240 ac_top_srcdir=$srcdir
2241 ac_abs_top_srcdir=$srcdir ;;
2242 *) # Relative name.
2243 ac_srcdir=$ac_top_build_prefix$srcdir$ac_dir_suffix
2244 ac_top_srcdir=$ac_top_build_prefix$srcdir
2245 ac_abs_top_srcdir=$ac_pwd/$srcdir ;;
2246 esac
2247 ac_abs_srcdir=$ac_abs_top_srcdir$ac_dir_suffix
2249 cd "$ac_dir" || { ac_status=$?; continue; }
2250 # Check for guested configure.
2251 if test -f "$ac_srcdir/configure.gnu"; then
2252 echo &&
2253 $SHELL "$ac_srcdir/configure.gnu" --help=recursive
2254 elif test -f "$ac_srcdir/configure"; then
2255 echo &&
2256 $SHELL "$ac_srcdir/configure" --help=recursive
2257 else
2258 $as_echo "$as_me: WARNING: no configuration information is in $ac_dir" >&2
2259 fi || ac_status=$?
2260 cd "$ac_pwd" || { ac_status=$?; break; }
2261 done
2264 test -n "$ac_init_help" && exit $ac_status
2265 if $ac_init_version; then
2266 cat <<\_ACEOF
2267 Wine configure 1.7.32
2268 generated by GNU Autoconf 2.69
2270 Copyright (C) 2012 Free Software Foundation, Inc.
2271 This configure script is free software; the Free Software Foundation
2272 gives unlimited permission to copy, distribute and modify it.
2273 _ACEOF
2274 exit
2277 ## ------------------------ ##
2278 ## Autoconf initialization. ##
2279 ## ------------------------ ##
2281 # ac_fn_c_try_compile LINENO
2282 # --------------------------
2283 # Try to compile conftest.$ac_ext, and return whether this succeeded.
2284 ac_fn_c_try_compile ()
2286 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
2287 rm -f conftest.$ac_objext
2288 if { { ac_try="$ac_compile"
2289 case "(($ac_try" in
2290 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2291 *) ac_try_echo=$ac_try;;
2292 esac
2293 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
2294 $as_echo "$ac_try_echo"; } >&5
2295 (eval "$ac_compile") 2>conftest.err
2296 ac_status=$?
2297 if test -s conftest.err; then
2298 grep -v '^ *+' conftest.err >conftest.er1
2299 cat conftest.er1 >&5
2300 mv -f conftest.er1 conftest.err
2302 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
2303 test $ac_status = 0; } && {
2304 test -z "$ac_c_werror_flag" ||
2305 test ! -s conftest.err
2306 } && test -s conftest.$ac_objext; then :
2307 ac_retval=0
2308 else
2309 $as_echo "$as_me: failed program was:" >&5
2310 sed 's/^/| /' conftest.$ac_ext >&5
2312 ac_retval=1
2314 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
2315 as_fn_set_status $ac_retval
2317 } # ac_fn_c_try_compile
2319 # ac_fn_cxx_try_compile LINENO
2320 # ----------------------------
2321 # Try to compile conftest.$ac_ext, and return whether this succeeded.
2322 ac_fn_cxx_try_compile ()
2324 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
2325 rm -f conftest.$ac_objext
2326 if { { ac_try="$ac_compile"
2327 case "(($ac_try" in
2328 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2329 *) ac_try_echo=$ac_try;;
2330 esac
2331 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
2332 $as_echo "$ac_try_echo"; } >&5
2333 (eval "$ac_compile") 2>conftest.err
2334 ac_status=$?
2335 if test -s conftest.err; then
2336 grep -v '^ *+' conftest.err >conftest.er1
2337 cat conftest.er1 >&5
2338 mv -f conftest.er1 conftest.err
2340 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
2341 test $ac_status = 0; } && {
2342 test -z "$ac_cxx_werror_flag" ||
2343 test ! -s conftest.err
2344 } && test -s conftest.$ac_objext; then :
2345 ac_retval=0
2346 else
2347 $as_echo "$as_me: failed program was:" >&5
2348 sed 's/^/| /' conftest.$ac_ext >&5
2350 ac_retval=1
2352 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
2353 as_fn_set_status $ac_retval
2355 } # ac_fn_cxx_try_compile
2357 # ac_fn_c_try_link LINENO
2358 # -----------------------
2359 # Try to link conftest.$ac_ext, and return whether this succeeded.
2360 ac_fn_c_try_link ()
2362 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
2363 rm -f conftest.$ac_objext conftest$ac_exeext
2364 if { { ac_try="$ac_link"
2365 case "(($ac_try" in
2366 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2367 *) ac_try_echo=$ac_try;;
2368 esac
2369 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
2370 $as_echo "$ac_try_echo"; } >&5
2371 (eval "$ac_link") 2>conftest.err
2372 ac_status=$?
2373 if test -s conftest.err; then
2374 grep -v '^ *+' conftest.err >conftest.er1
2375 cat conftest.er1 >&5
2376 mv -f conftest.er1 conftest.err
2378 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
2379 test $ac_status = 0; } && {
2380 test -z "$ac_c_werror_flag" ||
2381 test ! -s conftest.err
2382 } && test -s conftest$ac_exeext && {
2383 test "$cross_compiling" = yes ||
2384 test -x conftest$ac_exeext
2385 }; then :
2386 ac_retval=0
2387 else
2388 $as_echo "$as_me: failed program was:" >&5
2389 sed 's/^/| /' conftest.$ac_ext >&5
2391 ac_retval=1
2393 # Delete the IPA/IPO (Inter Procedural Analysis/Optimization) information
2394 # created by the PGI compiler (conftest_ipa8_conftest.oo), as it would
2395 # interfere with the next link command; also delete a directory that is
2396 # left behind by Apple's compiler. We do this before executing the actions.
2397 rm -rf conftest.dSYM conftest_ipa8_conftest.oo
2398 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
2399 as_fn_set_status $ac_retval
2401 } # ac_fn_c_try_link
2403 # ac_fn_c_try_cpp LINENO
2404 # ----------------------
2405 # Try to preprocess conftest.$ac_ext, and return whether this succeeded.
2406 ac_fn_c_try_cpp ()
2408 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
2409 if { { ac_try="$ac_cpp conftest.$ac_ext"
2410 case "(($ac_try" in
2411 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2412 *) ac_try_echo=$ac_try;;
2413 esac
2414 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
2415 $as_echo "$ac_try_echo"; } >&5
2416 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.err
2417 ac_status=$?
2418 if test -s conftest.err; then
2419 grep -v '^ *+' conftest.err >conftest.er1
2420 cat conftest.er1 >&5
2421 mv -f conftest.er1 conftest.err
2423 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
2424 test $ac_status = 0; } > conftest.i && {
2425 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
2426 test ! -s conftest.err
2427 }; then :
2428 ac_retval=0
2429 else
2430 $as_echo "$as_me: failed program was:" >&5
2431 sed 's/^/| /' conftest.$ac_ext >&5
2433 ac_retval=1
2435 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
2436 as_fn_set_status $ac_retval
2438 } # ac_fn_c_try_cpp
2440 # ac_fn_c_check_header_mongrel LINENO HEADER VAR INCLUDES
2441 # -------------------------------------------------------
2442 # Tests whether HEADER exists, giving a warning if it cannot be compiled using
2443 # the include files in INCLUDES and setting the cache variable VAR
2444 # accordingly.
2445 ac_fn_c_check_header_mongrel ()
2447 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
2448 if eval \${$3+:} false; then :
2449 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
2450 $as_echo_n "checking for $2... " >&6; }
2451 if eval \${$3+:} false; then :
2452 $as_echo_n "(cached) " >&6
2454 eval ac_res=\$$3
2455 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
2456 $as_echo "$ac_res" >&6; }
2457 else
2458 # Is the header compilable?
2459 { $as_echo "$as_me:${as_lineno-$LINENO}: checking $2 usability" >&5
2460 $as_echo_n "checking $2 usability... " >&6; }
2461 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2462 /* end confdefs.h. */
2464 #include <$2>
2465 _ACEOF
2466 if ac_fn_c_try_compile "$LINENO"; then :
2467 ac_header_compiler=yes
2468 else
2469 ac_header_compiler=no
2471 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
2472 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_header_compiler" >&5
2473 $as_echo "$ac_header_compiler" >&6; }
2475 # Is the header present?
2476 { $as_echo "$as_me:${as_lineno-$LINENO}: checking $2 presence" >&5
2477 $as_echo_n "checking $2 presence... " >&6; }
2478 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2479 /* end confdefs.h. */
2480 #include <$2>
2481 _ACEOF
2482 if ac_fn_c_try_cpp "$LINENO"; then :
2483 ac_header_preproc=yes
2484 else
2485 ac_header_preproc=no
2487 rm -f conftest.err conftest.i conftest.$ac_ext
2488 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_header_preproc" >&5
2489 $as_echo "$ac_header_preproc" >&6; }
2491 # So? What about this header?
2492 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in #((
2493 yes:no: )
2494 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: accepted by the compiler, rejected by the preprocessor!" >&5
2495 $as_echo "$as_me: WARNING: $2: accepted by the compiler, rejected by the preprocessor!" >&2;}
2496 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: proceeding with the compiler's result" >&5
2497 $as_echo "$as_me: WARNING: $2: proceeding with the compiler's result" >&2;}
2499 no:yes:* )
2500 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: present but cannot be compiled" >&5
2501 $as_echo "$as_me: WARNING: $2: present but cannot be compiled" >&2;}
2502 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: check for missing prerequisite headers?" >&5
2503 $as_echo "$as_me: WARNING: $2: check for missing prerequisite headers?" >&2;}
2504 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: see the Autoconf documentation" >&5
2505 $as_echo "$as_me: WARNING: $2: see the Autoconf documentation" >&2;}
2506 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: section \"Present But Cannot Be Compiled\"" >&5
2507 $as_echo "$as_me: WARNING: $2: section \"Present But Cannot Be Compiled\"" >&2;}
2508 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: proceeding with the compiler's result" >&5
2509 $as_echo "$as_me: WARNING: $2: proceeding with the compiler's result" >&2;}
2510 ( $as_echo "## ------------------------------------ ##
2511 ## Report this to wine-devel@winehq.org ##
2512 ## ------------------------------------ ##"
2513 ) | sed "s/^/$as_me: WARNING: /" >&2
2515 esac
2516 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
2517 $as_echo_n "checking for $2... " >&6; }
2518 if eval \${$3+:} false; then :
2519 $as_echo_n "(cached) " >&6
2520 else
2521 eval "$3=\$ac_header_compiler"
2523 eval ac_res=\$$3
2524 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
2525 $as_echo "$ac_res" >&6; }
2527 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
2529 } # ac_fn_c_check_header_mongrel
2531 # ac_fn_c_try_run LINENO
2532 # ----------------------
2533 # Try to link conftest.$ac_ext, and return whether this succeeded. Assumes
2534 # that executables *can* be run.
2535 ac_fn_c_try_run ()
2537 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
2538 if { { ac_try="$ac_link"
2539 case "(($ac_try" in
2540 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2541 *) ac_try_echo=$ac_try;;
2542 esac
2543 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
2544 $as_echo "$ac_try_echo"; } >&5
2545 (eval "$ac_link") 2>&5
2546 ac_status=$?
2547 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
2548 test $ac_status = 0; } && { ac_try='./conftest$ac_exeext'
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_try") 2>&5
2556 ac_status=$?
2557 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
2558 test $ac_status = 0; }; }; then :
2559 ac_retval=0
2560 else
2561 $as_echo "$as_me: program exited with status $ac_status" >&5
2562 $as_echo "$as_me: failed program was:" >&5
2563 sed 's/^/| /' conftest.$ac_ext >&5
2565 ac_retval=$ac_status
2567 rm -rf conftest.dSYM conftest_ipa8_conftest.oo
2568 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
2569 as_fn_set_status $ac_retval
2571 } # ac_fn_c_try_run
2573 # ac_fn_c_check_header_compile LINENO HEADER VAR INCLUDES
2574 # -------------------------------------------------------
2575 # Tests whether HEADER exists and can be compiled using the include files in
2576 # INCLUDES, setting the cache variable VAR accordingly.
2577 ac_fn_c_check_header_compile ()
2579 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
2580 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
2581 $as_echo_n "checking for $2... " >&6; }
2582 if eval \${$3+:} false; then :
2583 $as_echo_n "(cached) " >&6
2584 else
2585 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2586 /* end confdefs.h. */
2588 #include <$2>
2589 _ACEOF
2590 if ac_fn_c_try_compile "$LINENO"; then :
2591 eval "$3=yes"
2592 else
2593 eval "$3=no"
2595 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
2597 eval ac_res=\$$3
2598 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
2599 $as_echo "$ac_res" >&6; }
2600 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
2602 } # ac_fn_c_check_header_compile
2604 # ac_fn_c_check_func LINENO FUNC VAR
2605 # ----------------------------------
2606 # Tests whether FUNC exists, setting the cache variable VAR accordingly
2607 ac_fn_c_check_func ()
2609 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
2610 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
2611 $as_echo_n "checking for $2... " >&6; }
2612 if eval \${$3+:} false; then :
2613 $as_echo_n "(cached) " >&6
2614 else
2615 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2616 /* end confdefs.h. */
2617 /* Define $2 to an innocuous variant, in case <limits.h> declares $2.
2618 For example, HP-UX 11i <limits.h> declares gettimeofday. */
2619 #define $2 innocuous_$2
2621 /* System header to define __stub macros and hopefully few prototypes,
2622 which can conflict with char $2 (); below.
2623 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
2624 <limits.h> exists even on freestanding compilers. */
2626 #ifdef __STDC__
2627 # include <limits.h>
2628 #else
2629 # include <assert.h>
2630 #endif
2632 #undef $2
2634 /* Override any GCC internal prototype to avoid an error.
2635 Use char because int might match the return type of a GCC
2636 builtin and then its argument prototype would still apply. */
2637 #ifdef __cplusplus
2638 extern "C"
2639 #endif
2640 char $2 ();
2641 /* The GNU C library defines this for functions which it implements
2642 to always fail with ENOSYS. Some functions are actually named
2643 something starting with __ and the normal name is an alias. */
2644 #if defined __stub_$2 || defined __stub___$2
2645 choke me
2646 #endif
2649 main ()
2651 return $2 ();
2653 return 0;
2655 _ACEOF
2656 if ac_fn_c_try_link "$LINENO"; then :
2657 eval "$3=yes"
2658 else
2659 eval "$3=no"
2661 rm -f core conftest.err conftest.$ac_objext \
2662 conftest$ac_exeext conftest.$ac_ext
2664 eval ac_res=\$$3
2665 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
2666 $as_echo "$ac_res" >&6; }
2667 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
2669 } # ac_fn_c_check_func
2671 # ac_fn_c_check_member LINENO AGGR MEMBER VAR INCLUDES
2672 # ----------------------------------------------------
2673 # Tries to find if the field MEMBER exists in type AGGR, after including
2674 # INCLUDES, setting cache variable VAR accordingly.
2675 ac_fn_c_check_member ()
2677 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
2678 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2.$3" >&5
2679 $as_echo_n "checking for $2.$3... " >&6; }
2680 if eval \${$4+:} false; then :
2681 $as_echo_n "(cached) " >&6
2682 else
2683 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2684 /* end confdefs.h. */
2687 main ()
2689 static $2 ac_aggr;
2690 if (ac_aggr.$3)
2691 return 0;
2693 return 0;
2695 _ACEOF
2696 if ac_fn_c_try_compile "$LINENO"; then :
2697 eval "$4=yes"
2698 else
2699 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2700 /* end confdefs.h. */
2703 main ()
2705 static $2 ac_aggr;
2706 if (sizeof ac_aggr.$3)
2707 return 0;
2709 return 0;
2711 _ACEOF
2712 if ac_fn_c_try_compile "$LINENO"; then :
2713 eval "$4=yes"
2714 else
2715 eval "$4=no"
2717 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
2719 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
2721 eval ac_res=\$$4
2722 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
2723 $as_echo "$ac_res" >&6; }
2724 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
2726 } # ac_fn_c_check_member
2728 # ac_fn_c_check_type LINENO TYPE VAR INCLUDES
2729 # -------------------------------------------
2730 # Tests whether TYPE exists after having included INCLUDES, setting cache
2731 # variable VAR accordingly.
2732 ac_fn_c_check_type ()
2734 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
2735 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
2736 $as_echo_n "checking for $2... " >&6; }
2737 if eval \${$3+:} false; then :
2738 $as_echo_n "(cached) " >&6
2739 else
2740 eval "$3=no"
2741 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2742 /* end confdefs.h. */
2745 main ()
2747 if (sizeof ($2))
2748 return 0;
2750 return 0;
2752 _ACEOF
2753 if ac_fn_c_try_compile "$LINENO"; then :
2754 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2755 /* end confdefs.h. */
2758 main ()
2760 if (sizeof (($2)))
2761 return 0;
2763 return 0;
2765 _ACEOF
2766 if ac_fn_c_try_compile "$LINENO"; then :
2768 else
2769 eval "$3=yes"
2771 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
2773 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
2775 eval ac_res=\$$3
2776 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
2777 $as_echo "$ac_res" >&6; }
2778 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
2780 } # ac_fn_c_check_type
2781 cat >config.log <<_ACEOF
2782 This file contains any messages produced by compilers while
2783 running configure, to aid debugging if configure makes a mistake.
2785 It was created by Wine $as_me 1.7.32, which was
2786 generated by GNU Autoconf 2.69. Invocation command line was
2788 $ $0 $@
2790 _ACEOF
2791 exec 5>>config.log
2793 cat <<_ASUNAME
2794 ## --------- ##
2795 ## Platform. ##
2796 ## --------- ##
2798 hostname = `(hostname || uname -n) 2>/dev/null | sed 1q`
2799 uname -m = `(uname -m) 2>/dev/null || echo unknown`
2800 uname -r = `(uname -r) 2>/dev/null || echo unknown`
2801 uname -s = `(uname -s) 2>/dev/null || echo unknown`
2802 uname -v = `(uname -v) 2>/dev/null || echo unknown`
2804 /usr/bin/uname -p = `(/usr/bin/uname -p) 2>/dev/null || echo unknown`
2805 /bin/uname -X = `(/bin/uname -X) 2>/dev/null || echo unknown`
2807 /bin/arch = `(/bin/arch) 2>/dev/null || echo unknown`
2808 /usr/bin/arch -k = `(/usr/bin/arch -k) 2>/dev/null || echo unknown`
2809 /usr/convex/getsysinfo = `(/usr/convex/getsysinfo) 2>/dev/null || echo unknown`
2810 /usr/bin/hostinfo = `(/usr/bin/hostinfo) 2>/dev/null || echo unknown`
2811 /bin/machine = `(/bin/machine) 2>/dev/null || echo unknown`
2812 /usr/bin/oslevel = `(/usr/bin/oslevel) 2>/dev/null || echo unknown`
2813 /bin/universe = `(/bin/universe) 2>/dev/null || echo unknown`
2815 _ASUNAME
2817 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2818 for as_dir in $PATH
2820 IFS=$as_save_IFS
2821 test -z "$as_dir" && as_dir=.
2822 $as_echo "PATH: $as_dir"
2823 done
2824 IFS=$as_save_IFS
2826 } >&5
2828 cat >&5 <<_ACEOF
2831 ## ----------- ##
2832 ## Core tests. ##
2833 ## ----------- ##
2835 _ACEOF
2838 # Keep a trace of the command line.
2839 # Strip out --no-create and --no-recursion so they do not pile up.
2840 # Strip out --silent because we don't want to record it for future runs.
2841 # Also quote any args containing shell meta-characters.
2842 # Make two passes to allow for proper duplicate-argument suppression.
2843 ac_configure_args=
2844 ac_configure_args0=
2845 ac_configure_args1=
2846 ac_must_keep_next=false
2847 for ac_pass in 1 2
2849 for ac_arg
2851 case $ac_arg in
2852 -no-create | --no-c* | -n | -no-recursion | --no-r*) continue ;;
2853 -q | -quiet | --quiet | --quie | --qui | --qu | --q \
2854 | -silent | --silent | --silen | --sile | --sil)
2855 continue ;;
2856 *\'*)
2857 ac_arg=`$as_echo "$ac_arg" | sed "s/'/'\\\\\\\\''/g"` ;;
2858 esac
2859 case $ac_pass in
2860 1) as_fn_append ac_configure_args0 " '$ac_arg'" ;;
2862 as_fn_append ac_configure_args1 " '$ac_arg'"
2863 if test $ac_must_keep_next = true; then
2864 ac_must_keep_next=false # Got value, back to normal.
2865 else
2866 case $ac_arg in
2867 *=* | --config-cache | -C | -disable-* | --disable-* \
2868 | -enable-* | --enable-* | -gas | --g* | -nfp | --nf* \
2869 | -q | -quiet | --q* | -silent | --sil* | -v | -verb* \
2870 | -with-* | --with-* | -without-* | --without-* | --x)
2871 case "$ac_configure_args0 " in
2872 "$ac_configure_args1"*" '$ac_arg' "* ) continue ;;
2873 esac
2875 -* ) ac_must_keep_next=true ;;
2876 esac
2878 as_fn_append ac_configure_args " '$ac_arg'"
2880 esac
2881 done
2882 done
2883 { ac_configure_args0=; unset ac_configure_args0;}
2884 { ac_configure_args1=; unset ac_configure_args1;}
2886 # When interrupted or exit'd, cleanup temporary files, and complete
2887 # config.log. We remove comments because anyway the quotes in there
2888 # would cause problems or look ugly.
2889 # WARNING: Use '\'' to represent an apostrophe within the trap.
2890 # WARNING: Do not start the trap code with a newline, due to a FreeBSD 4.0 bug.
2891 trap 'exit_status=$?
2892 # Save into config.log some information that might help in debugging.
2894 echo
2896 $as_echo "## ---------------- ##
2897 ## Cache variables. ##
2898 ## ---------------- ##"
2899 echo
2900 # The following way of writing the cache mishandles newlines in values,
2902 for ac_var in `(set) 2>&1 | sed -n '\''s/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'\''`; do
2903 eval ac_val=\$$ac_var
2904 case $ac_val in #(
2905 *${as_nl}*)
2906 case $ac_var in #(
2907 *_cv_*) { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: cache variable $ac_var contains a newline" >&5
2908 $as_echo "$as_me: WARNING: cache variable $ac_var contains a newline" >&2;} ;;
2909 esac
2910 case $ac_var in #(
2911 _ | IFS | as_nl) ;; #(
2912 BASH_ARGV | BASH_SOURCE) eval $ac_var= ;; #(
2913 *) { eval $ac_var=; unset $ac_var;} ;;
2914 esac ;;
2915 esac
2916 done
2917 (set) 2>&1 |
2918 case $as_nl`(ac_space='\'' '\''; set) 2>&1` in #(
2919 *${as_nl}ac_space=\ *)
2920 sed -n \
2921 "s/'\''/'\''\\\\'\'''\''/g;
2922 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\''\\2'\''/p"
2923 ;; #(
2925 sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
2927 esac |
2928 sort
2930 echo
2932 $as_echo "## ----------------- ##
2933 ## Output variables. ##
2934 ## ----------------- ##"
2935 echo
2936 for ac_var in $ac_subst_vars
2938 eval ac_val=\$$ac_var
2939 case $ac_val in
2940 *\'\''*) ac_val=`$as_echo "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;;
2941 esac
2942 $as_echo "$ac_var='\''$ac_val'\''"
2943 done | sort
2944 echo
2946 if test -n "$ac_subst_files"; then
2947 $as_echo "## ------------------- ##
2948 ## File substitutions. ##
2949 ## ------------------- ##"
2950 echo
2951 for ac_var in $ac_subst_files
2953 eval ac_val=\$$ac_var
2954 case $ac_val in
2955 *\'\''*) ac_val=`$as_echo "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;;
2956 esac
2957 $as_echo "$ac_var='\''$ac_val'\''"
2958 done | sort
2959 echo
2962 if test -s confdefs.h; then
2963 $as_echo "## ----------- ##
2964 ## confdefs.h. ##
2965 ## ----------- ##"
2966 echo
2967 cat confdefs.h
2968 echo
2970 test "$ac_signal" != 0 &&
2971 $as_echo "$as_me: caught signal $ac_signal"
2972 $as_echo "$as_me: exit $exit_status"
2973 } >&5
2974 rm -f core *.core core.conftest.* &&
2975 rm -f -r conftest* confdefs* conf$$* $ac_clean_files &&
2976 exit $exit_status
2978 for ac_signal in 1 2 13 15; do
2979 trap 'ac_signal='$ac_signal'; as_fn_exit 1' $ac_signal
2980 done
2981 ac_signal=0
2983 # confdefs.h avoids OS command line length limits that DEFS can exceed.
2984 rm -f -r conftest* confdefs.h
2986 $as_echo "/* confdefs.h */" > confdefs.h
2988 # Predefined preprocessor variables.
2990 cat >>confdefs.h <<_ACEOF
2991 #define PACKAGE_NAME "$PACKAGE_NAME"
2992 _ACEOF
2994 cat >>confdefs.h <<_ACEOF
2995 #define PACKAGE_TARNAME "$PACKAGE_TARNAME"
2996 _ACEOF
2998 cat >>confdefs.h <<_ACEOF
2999 #define PACKAGE_VERSION "$PACKAGE_VERSION"
3000 _ACEOF
3002 cat >>confdefs.h <<_ACEOF
3003 #define PACKAGE_STRING "$PACKAGE_STRING"
3004 _ACEOF
3006 cat >>confdefs.h <<_ACEOF
3007 #define PACKAGE_BUGREPORT "$PACKAGE_BUGREPORT"
3008 _ACEOF
3010 cat >>confdefs.h <<_ACEOF
3011 #define PACKAGE_URL "$PACKAGE_URL"
3012 _ACEOF
3015 # Let the site file select an alternate cache file if it wants to.
3016 # Prefer an explicitly selected file to automatically selected ones.
3017 ac_site_file1=NONE
3018 ac_site_file2=NONE
3019 if test -n "$CONFIG_SITE"; then
3020 # We do not want a PATH search for config.site.
3021 case $CONFIG_SITE in #((
3022 -*) ac_site_file1=./$CONFIG_SITE;;
3023 */*) ac_site_file1=$CONFIG_SITE;;
3024 *) ac_site_file1=./$CONFIG_SITE;;
3025 esac
3026 elif test "x$prefix" != xNONE; then
3027 ac_site_file1=$prefix/share/config.site
3028 ac_site_file2=$prefix/etc/config.site
3029 else
3030 ac_site_file1=$ac_default_prefix/share/config.site
3031 ac_site_file2=$ac_default_prefix/etc/config.site
3033 for ac_site_file in "$ac_site_file1" "$ac_site_file2"
3035 test "x$ac_site_file" = xNONE && continue
3036 if test /dev/null != "$ac_site_file" && test -r "$ac_site_file"; then
3037 { $as_echo "$as_me:${as_lineno-$LINENO}: loading site script $ac_site_file" >&5
3038 $as_echo "$as_me: loading site script $ac_site_file" >&6;}
3039 sed 's/^/| /' "$ac_site_file" >&5
3040 . "$ac_site_file" \
3041 || { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
3042 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
3043 as_fn_error $? "failed to load site script $ac_site_file
3044 See \`config.log' for more details" "$LINENO" 5; }
3046 done
3048 if test -r "$cache_file"; then
3049 # Some versions of bash will fail to source /dev/null (special files
3050 # actually), so we avoid doing that. DJGPP emulates it as a regular file.
3051 if test /dev/null != "$cache_file" && test -f "$cache_file"; then
3052 { $as_echo "$as_me:${as_lineno-$LINENO}: loading cache $cache_file" >&5
3053 $as_echo "$as_me: loading cache $cache_file" >&6;}
3054 case $cache_file in
3055 [\\/]* | ?:[\\/]* ) . "$cache_file";;
3056 *) . "./$cache_file";;
3057 esac
3059 else
3060 { $as_echo "$as_me:${as_lineno-$LINENO}: creating cache $cache_file" >&5
3061 $as_echo "$as_me: creating cache $cache_file" >&6;}
3062 >$cache_file
3065 # Check that the precious variables saved in the cache have kept the same
3066 # value.
3067 ac_cache_corrupted=false
3068 for ac_var in $ac_precious_vars; do
3069 eval ac_old_set=\$ac_cv_env_${ac_var}_set
3070 eval ac_new_set=\$ac_env_${ac_var}_set
3071 eval ac_old_val=\$ac_cv_env_${ac_var}_value
3072 eval ac_new_val=\$ac_env_${ac_var}_value
3073 case $ac_old_set,$ac_new_set in
3074 set,)
3075 { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&5
3076 $as_echo "$as_me: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&2;}
3077 ac_cache_corrupted=: ;;
3078 ,set)
3079 { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' was not set in the previous run" >&5
3080 $as_echo "$as_me: error: \`$ac_var' was not set in the previous run" >&2;}
3081 ac_cache_corrupted=: ;;
3082 ,);;
3084 if test "x$ac_old_val" != "x$ac_new_val"; then
3085 # differences in whitespace do not lead to failure.
3086 ac_old_val_w=`echo x $ac_old_val`
3087 ac_new_val_w=`echo x $ac_new_val`
3088 if test "$ac_old_val_w" != "$ac_new_val_w"; then
3089 { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' has changed since the previous run:" >&5
3090 $as_echo "$as_me: error: \`$ac_var' has changed since the previous run:" >&2;}
3091 ac_cache_corrupted=:
3092 else
3093 { $as_echo "$as_me:${as_lineno-$LINENO}: warning: ignoring whitespace changes in \`$ac_var' since the previous run:" >&5
3094 $as_echo "$as_me: warning: ignoring whitespace changes in \`$ac_var' since the previous run:" >&2;}
3095 eval $ac_var=\$ac_old_val
3097 { $as_echo "$as_me:${as_lineno-$LINENO}: former value: \`$ac_old_val'" >&5
3098 $as_echo "$as_me: former value: \`$ac_old_val'" >&2;}
3099 { $as_echo "$as_me:${as_lineno-$LINENO}: current value: \`$ac_new_val'" >&5
3100 $as_echo "$as_me: current value: \`$ac_new_val'" >&2;}
3101 fi;;
3102 esac
3103 # Pass precious variables to config.status.
3104 if test "$ac_new_set" = set; then
3105 case $ac_new_val in
3106 *\'*) ac_arg=$ac_var=`$as_echo "$ac_new_val" | sed "s/'/'\\\\\\\\''/g"` ;;
3107 *) ac_arg=$ac_var=$ac_new_val ;;
3108 esac
3109 case " $ac_configure_args " in
3110 *" '$ac_arg' "*) ;; # Avoid dups. Use of quotes ensures accuracy.
3111 *) as_fn_append ac_configure_args " '$ac_arg'" ;;
3112 esac
3114 done
3115 if $ac_cache_corrupted; then
3116 { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
3117 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
3118 { $as_echo "$as_me:${as_lineno-$LINENO}: error: changes in the environment can compromise the build" >&5
3119 $as_echo "$as_me: error: changes in the environment can compromise the build" >&2;}
3120 as_fn_error $? "run \`make distclean' and/or \`rm $cache_file' and start over" "$LINENO" 5
3122 ## -------------------- ##
3123 ## Main body of script. ##
3124 ## -------------------- ##
3126 ac_ext=c
3127 ac_cpp='$CPP $CPPFLAGS'
3128 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
3129 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
3130 ac_compiler_gnu=$ac_cv_c_compiler_gnu
3134 ac_config_headers="$ac_config_headers include/config.h"
3136 ac_aux_dir=
3137 for ac_dir in tools "$srcdir"/tools; do
3138 if test -f "$ac_dir/install-sh"; then
3139 ac_aux_dir=$ac_dir
3140 ac_install_sh="$ac_aux_dir/install-sh -c"
3141 break
3142 elif test -f "$ac_dir/install.sh"; then
3143 ac_aux_dir=$ac_dir
3144 ac_install_sh="$ac_aux_dir/install.sh -c"
3145 break
3146 elif test -f "$ac_dir/shtool"; then
3147 ac_aux_dir=$ac_dir
3148 ac_install_sh="$ac_aux_dir/shtool install -c"
3149 break
3151 done
3152 if test -z "$ac_aux_dir"; then
3153 as_fn_error $? "cannot find install-sh, install.sh, or shtool in tools \"$srcdir\"/tools" "$LINENO" 5
3156 # These three variables are undocumented and unsupported,
3157 # and are intended to be withdrawn in a future Autoconf release.
3158 # They can cause serious problems if a builder's source tree is in a directory
3159 # whose full name contains unusual characters.
3160 ac_config_guess="$SHELL $ac_aux_dir/config.guess" # Please don't use this var.
3161 ac_config_sub="$SHELL $ac_aux_dir/config.sub" # Please don't use this var.
3162 ac_configure="$SHELL $ac_aux_dir/configure" # Please don't use this var.
3166 libwine_version="1.0"
3170 # Check whether --enable-win16 was given.
3171 if test "${enable_win16+set}" = set; then :
3172 enableval=$enable_win16;
3175 # Check whether --enable-win64 was given.
3176 if test "${enable_win64+set}" = set; then :
3177 enableval=$enable_win64;
3180 # Check whether --enable-tests was given.
3181 if test "${enable_tests+set}" = set; then :
3182 enableval=$enable_tests;
3185 # Check whether --enable-maintainer-mode was given.
3186 if test "${enable_maintainer_mode+set}" = set; then :
3187 enableval=$enable_maintainer_mode;
3192 # Check whether --with-alsa was given.
3193 if test "${with_alsa+set}" = set; then :
3194 withval=$with_alsa; if test "x$withval" = "xno"; then ac_cv_header_sys_asoundlib_h=no; ac_cv_header_alsa_asoundlib_h=no; fi
3198 # Check whether --with-capi was given.
3199 if test "${with_capi+set}" = set; then :
3200 withval=$with_capi;
3204 # Check whether --with-cms was given.
3205 if test "${with_cms+set}" = set; then :
3206 withval=$with_cms;
3210 # Check whether --with-coreaudio was given.
3211 if test "${with_coreaudio+set}" = set; then :
3212 withval=$with_coreaudio; if test "x$withval" = "xno"; then ac_cv_header_CoreAudio_CoreAudio_h=no; fi
3216 # Check whether --with-cups was given.
3217 if test "${with_cups+set}" = set; then :
3218 withval=$with_cups;
3222 # Check whether --with-curses was given.
3223 if test "${with_curses+set}" = set; then :
3224 withval=$with_curses; if test "x$withval" = "xno"; then ac_cv_header_ncurses_h=no; ac_cv_header_curses_h=no; fi
3228 # Check whether --with-dbus was given.
3229 if test "${with_dbus+set}" = set; then :
3230 withval=$with_dbus;
3234 # Check whether --with-fontconfig was given.
3235 if test "${with_fontconfig+set}" = set; then :
3236 withval=$with_fontconfig;
3240 # Check whether --with-freetype was given.
3241 if test "${with_freetype+set}" = set; then :
3242 withval=$with_freetype;
3246 # Check whether --with-gettext was given.
3247 if test "${with_gettext+set}" = set; then :
3248 withval=$with_gettext;
3252 # Check whether --with-gettextpo was given.
3253 if test "${with_gettextpo+set}" = set; then :
3254 withval=$with_gettextpo; if test "x$withval" = "xno"; then ac_cv_header_gettext_po_h=no; fi
3258 # Check whether --with-gphoto was given.
3259 if test "${with_gphoto+set}" = set; then :
3260 withval=$with_gphoto;
3264 # Check whether --with-glu was given.
3265 if test "${with_glu+set}" = set; then :
3266 withval=$with_glu;
3270 # Check whether --with-gnutls was given.
3271 if test "${with_gnutls+set}" = set; then :
3272 withval=$with_gnutls;
3276 # Check whether --with-gsm was given.
3277 if test "${with_gsm+set}" = set; then :
3278 withval=$with_gsm; if test "x$withval" = "xno"; then ac_cv_header_gsm_h=no; ac_cv_header_gsm_gsm_h=no; fi
3282 # Check whether --with-gstreamer was given.
3283 if test "${with_gstreamer+set}" = set; then :
3284 withval=$with_gstreamer;
3288 # Check whether --with-hal was given.
3289 if test "${with_hal+set}" = set; then :
3290 withval=$with_hal;
3294 # Check whether --with-jpeg was given.
3295 if test "${with_jpeg+set}" = set; then :
3296 withval=$with_jpeg;
3300 # Check whether --with-ldap was given.
3301 if test "${with_ldap+set}" = set; then :
3302 withval=$with_ldap; if test "x$withval" = "xno"; then ac_cv_header_ldap_h=no; ac_cv_header_lber_h=no; fi
3306 # Check whether --with-mpg123 was given.
3307 if test "${with_mpg123+set}" = set; then :
3308 withval=$with_mpg123;
3312 # Check whether --with-netapi was given.
3313 if test "${with_netapi+set}" = set; then :
3314 withval=$with_netapi;
3318 # Check whether --with-openal was given.
3319 if test "${with_openal+set}" = set; then :
3320 withval=$with_openal; if test "x$withval" = "xno"; then ac_cv_header_AL_al_h=no; ac_cv_header_OpenAL_al_h=no; fi
3324 # Check whether --with-opencl was given.
3325 if test "${with_opencl+set}" = set; then :
3326 withval=$with_opencl; if test "x$withval" = "xno"; then ac_cv_header_CL_cl_h=no; ac_cv_header_OpenCL_opencl_h=no; fi
3330 # Check whether --with-opengl was given.
3331 if test "${with_opengl+set}" = set; then :
3332 withval=$with_opengl;
3336 # Check whether --with-osmesa was given.
3337 if test "${with_osmesa+set}" = set; then :
3338 withval=$with_osmesa;
3342 # Check whether --with-oss was given.
3343 if test "${with_oss+set}" = set; then :
3344 withval=$with_oss;
3348 # Check whether --with-pcap was given.
3349 if test "${with_pcap+set}" = set; then :
3350 withval=$with_pcap; if test "x$withval" = "xno"; then ac_cv_header_pcap_pcap_h=no; fi
3354 # Check whether --with-png was given.
3355 if test "${with_png+set}" = set; then :
3356 withval=$with_png;
3360 # Check whether --with-pthread was given.
3361 if test "${with_pthread+set}" = set; then :
3362 withval=$with_pthread; if test "x$withval" = "xno"; then ac_cv_header_pthread_h=no; fi
3366 # Check whether --with-sane was given.
3367 if test "${with_sane+set}" = set; then :
3368 withval=$with_sane;
3372 # Check whether --with-tiff was given.
3373 if test "${with_tiff+set}" = set; then :
3374 withval=$with_tiff;
3378 # Check whether --with-v4l was given.
3379 if test "${with_v4l+set}" = set; then :
3380 withval=$with_v4l;
3384 # Check whether --with-xcomposite was given.
3385 if test "${with_xcomposite+set}" = set; then :
3386 withval=$with_xcomposite; if test "x$withval" = "xno"; then ac_cv_header_X11_extensions_Xcomposite_h=no; fi
3390 # Check whether --with-xcursor was given.
3391 if test "${with_xcursor+set}" = set; then :
3392 withval=$with_xcursor; if test "x$withval" = "xno"; then ac_cv_header_X11_Xcursor_Xcursor_h=no; fi
3396 # Check whether --with-xinerama was given.
3397 if test "${with_xinerama+set}" = set; then :
3398 withval=$with_xinerama; if test "x$withval" = "xno"; then ac_cv_header_X11_extensions_Xinerama_h=no; fi
3402 # Check whether --with-xinput was given.
3403 if test "${with_xinput+set}" = set; then :
3404 withval=$with_xinput; if test "x$withval" = "xno"; then ac_cv_header_X11_extensions_XInput_h=no; fi
3408 # Check whether --with-xinput2 was given.
3409 if test "${with_xinput2+set}" = set; then :
3410 withval=$with_xinput2; if test "x$withval" = "xno"; then ac_cv_header_X11_extensions_XInput2_h=no; fi
3414 # Check whether --with-xml was given.
3415 if test "${with_xml+set}" = set; then :
3416 withval=$with_xml;
3420 # Check whether --with-xrandr was given.
3421 if test "${with_xrandr+set}" = set; then :
3422 withval=$with_xrandr; if test "x$withval" = "xno"; then ac_cv_header_X11_extensions_Xrandr_h=no; fi
3426 # Check whether --with-xrender was given.
3427 if test "${with_xrender+set}" = set; then :
3428 withval=$with_xrender; if test "x$withval" = "xno"; then ac_cv_header_X11_extensions_Xrender_h=no; fi
3432 # Check whether --with-xshape was given.
3433 if test "${with_xshape+set}" = set; then :
3434 withval=$with_xshape; if test "x$withval" = "xno"; then ac_cv_header_X11_extensions_shape_h=no; fi
3438 # Check whether --with-xshm was given.
3439 if test "${with_xshm+set}" = set; then :
3440 withval=$with_xshm; if test "x$withval" = "xno"; then ac_cv_header_X11_extensions_XShm_h=no; fi
3444 # Check whether --with-xslt was given.
3445 if test "${with_xslt+set}" = set; then :
3446 withval=$with_xslt;
3450 # Check whether --with-xxf86vm was given.
3451 if test "${with_xxf86vm+set}" = set; then :
3452 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
3456 # Check whether --with-zlib was given.
3457 if test "${with_zlib+set}" = set; then :
3458 withval=$with_zlib; if test "x$withval" = "xno"; then ac_cv_header_zlib_h=no; fi
3463 # Check whether --with-wine-tools was given.
3464 if test "${with_wine_tools+set}" = set; then :
3465 withval=$with_wine_tools;
3469 # Check whether --with-wine64 was given.
3470 if test "${with_wine64+set}" = set; then :
3471 withval=$with_wine64;
3475 # Make sure we can run config.sub.
3476 $SHELL "$ac_aux_dir/config.sub" sun4 >/dev/null 2>&1 ||
3477 as_fn_error $? "cannot run $SHELL $ac_aux_dir/config.sub" "$LINENO" 5
3479 { $as_echo "$as_me:${as_lineno-$LINENO}: checking build system type" >&5
3480 $as_echo_n "checking build system type... " >&6; }
3481 if ${ac_cv_build+:} false; then :
3482 $as_echo_n "(cached) " >&6
3483 else
3484 ac_build_alias=$build_alias
3485 test "x$ac_build_alias" = x &&
3486 ac_build_alias=`$SHELL "$ac_aux_dir/config.guess"`
3487 test "x$ac_build_alias" = x &&
3488 as_fn_error $? "cannot guess build type; you must specify one" "$LINENO" 5
3489 ac_cv_build=`$SHELL "$ac_aux_dir/config.sub" $ac_build_alias` ||
3490 as_fn_error $? "$SHELL $ac_aux_dir/config.sub $ac_build_alias failed" "$LINENO" 5
3493 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_build" >&5
3494 $as_echo "$ac_cv_build" >&6; }
3495 case $ac_cv_build in
3496 *-*-*) ;;
3497 *) as_fn_error $? "invalid value of canonical build" "$LINENO" 5;;
3498 esac
3499 build=$ac_cv_build
3500 ac_save_IFS=$IFS; IFS='-'
3501 set x $ac_cv_build
3502 shift
3503 build_cpu=$1
3504 build_vendor=$2
3505 shift; shift
3506 # Remember, the first character of IFS is used to create $*,
3507 # except with old shells:
3508 build_os=$*
3509 IFS=$ac_save_IFS
3510 case $build_os in *\ *) build_os=`echo "$build_os" | sed 's/ /-/g'`;; esac
3513 { $as_echo "$as_me:${as_lineno-$LINENO}: checking host system type" >&5
3514 $as_echo_n "checking host system type... " >&6; }
3515 if ${ac_cv_host+:} false; then :
3516 $as_echo_n "(cached) " >&6
3517 else
3518 if test "x$host_alias" = x; then
3519 ac_cv_host=$ac_cv_build
3520 else
3521 ac_cv_host=`$SHELL "$ac_aux_dir/config.sub" $host_alias` ||
3522 as_fn_error $? "$SHELL $ac_aux_dir/config.sub $host_alias failed" "$LINENO" 5
3526 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_host" >&5
3527 $as_echo "$ac_cv_host" >&6; }
3528 case $ac_cv_host in
3529 *-*-*) ;;
3530 *) as_fn_error $? "invalid value of canonical host" "$LINENO" 5;;
3531 esac
3532 host=$ac_cv_host
3533 ac_save_IFS=$IFS; IFS='-'
3534 set x $ac_cv_host
3535 shift
3536 host_cpu=$1
3537 host_vendor=$2
3538 shift; shift
3539 # Remember, the first character of IFS is used to create $*,
3540 # except with old shells:
3541 host_os=$*
3542 IFS=$ac_save_IFS
3543 case $host_os in *\ *) host_os=`echo "$host_os" | sed 's/ /-/g'`;; esac
3547 case "$srcdir" in
3548 .) ;;
3549 *) if test -f "$srcdir/Makefile" -o -f "$srcdir/include/config.h"; then
3550 as_fn_error $? "you are building out of the source tree, but the source tree contains object files.
3551 You need to run 'make distclean' in the source tree first." "$LINENO" 5
3552 fi ;;
3553 esac
3556 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ${MAKE-make} sets \$(MAKE)" >&5
3557 $as_echo_n "checking whether ${MAKE-make} sets \$(MAKE)... " >&6; }
3558 set x ${MAKE-make}
3559 ac_make=`$as_echo "$2" | sed 's/+/p/g; s/[^a-zA-Z0-9_]/_/g'`
3560 if eval \${ac_cv_prog_make_${ac_make}_set+:} false; then :
3561 $as_echo_n "(cached) " >&6
3562 else
3563 cat >conftest.make <<\_ACEOF
3564 SHELL = /bin/sh
3565 all:
3566 @echo '@@@%%%=$(MAKE)=@@@%%%'
3567 _ACEOF
3568 # GNU make sometimes prints "make[1]: Entering ...", which would confuse us.
3569 case `${MAKE-make} -f conftest.make 2>/dev/null` in
3570 *@@@%%%=?*=@@@%%%*)
3571 eval ac_cv_prog_make_${ac_make}_set=yes;;
3573 eval ac_cv_prog_make_${ac_make}_set=no;;
3574 esac
3575 rm -f conftest.make
3577 if eval test \$ac_cv_prog_make_${ac_make}_set = yes; then
3578 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
3579 $as_echo "yes" >&6; }
3580 SET_MAKE=
3581 else
3582 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3583 $as_echo "no" >&6; }
3584 SET_MAKE="MAKE=${MAKE-make}"
3587 ac_ext=c
3588 ac_cpp='$CPP $CPPFLAGS'
3589 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
3590 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
3591 ac_compiler_gnu=$ac_cv_c_compiler_gnu
3592 if test -n "$ac_tool_prefix"; then
3593 # Extract the first word of "${ac_tool_prefix}gcc", so it can be a program name with args.
3594 set dummy ${ac_tool_prefix}gcc; ac_word=$2
3595 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3596 $as_echo_n "checking for $ac_word... " >&6; }
3597 if ${ac_cv_prog_CC+:} false; then :
3598 $as_echo_n "(cached) " >&6
3599 else
3600 if test -n "$CC"; then
3601 ac_cv_prog_CC="$CC" # Let the user override the test.
3602 else
3603 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3604 for as_dir in $PATH
3606 IFS=$as_save_IFS
3607 test -z "$as_dir" && as_dir=.
3608 for ac_exec_ext in '' $ac_executable_extensions; do
3609 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
3610 ac_cv_prog_CC="${ac_tool_prefix}gcc"
3611 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3612 break 2
3614 done
3615 done
3616 IFS=$as_save_IFS
3620 CC=$ac_cv_prog_CC
3621 if test -n "$CC"; then
3622 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
3623 $as_echo "$CC" >&6; }
3624 else
3625 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3626 $as_echo "no" >&6; }
3631 if test -z "$ac_cv_prog_CC"; then
3632 ac_ct_CC=$CC
3633 # Extract the first word of "gcc", so it can be a program name with args.
3634 set dummy gcc; ac_word=$2
3635 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3636 $as_echo_n "checking for $ac_word... " >&6; }
3637 if ${ac_cv_prog_ac_ct_CC+:} false; then :
3638 $as_echo_n "(cached) " >&6
3639 else
3640 if test -n "$ac_ct_CC"; then
3641 ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
3642 else
3643 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3644 for as_dir in $PATH
3646 IFS=$as_save_IFS
3647 test -z "$as_dir" && as_dir=.
3648 for ac_exec_ext in '' $ac_executable_extensions; do
3649 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
3650 ac_cv_prog_ac_ct_CC="gcc"
3651 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3652 break 2
3654 done
3655 done
3656 IFS=$as_save_IFS
3660 ac_ct_CC=$ac_cv_prog_ac_ct_CC
3661 if test -n "$ac_ct_CC"; then
3662 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CC" >&5
3663 $as_echo "$ac_ct_CC" >&6; }
3664 else
3665 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3666 $as_echo "no" >&6; }
3669 if test "x$ac_ct_CC" = x; then
3670 CC=""
3671 else
3672 case $cross_compiling:$ac_tool_warned in
3673 yes:)
3674 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
3675 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
3676 ac_tool_warned=yes ;;
3677 esac
3678 CC=$ac_ct_CC
3680 else
3681 CC="$ac_cv_prog_CC"
3684 if test -z "$CC"; then
3685 if test -n "$ac_tool_prefix"; then
3686 # Extract the first word of "${ac_tool_prefix}cc", so it can be a program name with args.
3687 set dummy ${ac_tool_prefix}cc; ac_word=$2
3688 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3689 $as_echo_n "checking for $ac_word... " >&6; }
3690 if ${ac_cv_prog_CC+:} false; then :
3691 $as_echo_n "(cached) " >&6
3692 else
3693 if test -n "$CC"; then
3694 ac_cv_prog_CC="$CC" # Let the user override the test.
3695 else
3696 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3697 for as_dir in $PATH
3699 IFS=$as_save_IFS
3700 test -z "$as_dir" && as_dir=.
3701 for ac_exec_ext in '' $ac_executable_extensions; do
3702 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
3703 ac_cv_prog_CC="${ac_tool_prefix}cc"
3704 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3705 break 2
3707 done
3708 done
3709 IFS=$as_save_IFS
3713 CC=$ac_cv_prog_CC
3714 if test -n "$CC"; then
3715 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
3716 $as_echo "$CC" >&6; }
3717 else
3718 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3719 $as_echo "no" >&6; }
3725 if test -z "$CC"; then
3726 # Extract the first word of "cc", so it can be a program name with args.
3727 set dummy cc; ac_word=$2
3728 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3729 $as_echo_n "checking for $ac_word... " >&6; }
3730 if ${ac_cv_prog_CC+:} false; then :
3731 $as_echo_n "(cached) " >&6
3732 else
3733 if test -n "$CC"; then
3734 ac_cv_prog_CC="$CC" # Let the user override the test.
3735 else
3736 ac_prog_rejected=no
3737 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3738 for as_dir in $PATH
3740 IFS=$as_save_IFS
3741 test -z "$as_dir" && as_dir=.
3742 for ac_exec_ext in '' $ac_executable_extensions; do
3743 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
3744 if test "$as_dir/$ac_word$ac_exec_ext" = "/usr/ucb/cc"; then
3745 ac_prog_rejected=yes
3746 continue
3748 ac_cv_prog_CC="cc"
3749 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3750 break 2
3752 done
3753 done
3754 IFS=$as_save_IFS
3756 if test $ac_prog_rejected = yes; then
3757 # We found a bogon in the path, so make sure we never use it.
3758 set dummy $ac_cv_prog_CC
3759 shift
3760 if test $# != 0; then
3761 # We chose a different compiler from the bogus one.
3762 # However, it has the same basename, so the bogon will be chosen
3763 # first if we set CC to just the basename; use the full file name.
3764 shift
3765 ac_cv_prog_CC="$as_dir/$ac_word${1+' '}$@"
3770 CC=$ac_cv_prog_CC
3771 if test -n "$CC"; then
3772 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
3773 $as_echo "$CC" >&6; }
3774 else
3775 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3776 $as_echo "no" >&6; }
3781 if test -z "$CC"; then
3782 if test -n "$ac_tool_prefix"; then
3783 for ac_prog in cl.exe
3785 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
3786 set dummy $ac_tool_prefix$ac_prog; ac_word=$2
3787 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3788 $as_echo_n "checking for $ac_word... " >&6; }
3789 if ${ac_cv_prog_CC+:} false; then :
3790 $as_echo_n "(cached) " >&6
3791 else
3792 if test -n "$CC"; then
3793 ac_cv_prog_CC="$CC" # Let the user override the test.
3794 else
3795 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3796 for as_dir in $PATH
3798 IFS=$as_save_IFS
3799 test -z "$as_dir" && as_dir=.
3800 for ac_exec_ext in '' $ac_executable_extensions; do
3801 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
3802 ac_cv_prog_CC="$ac_tool_prefix$ac_prog"
3803 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3804 break 2
3806 done
3807 done
3808 IFS=$as_save_IFS
3812 CC=$ac_cv_prog_CC
3813 if test -n "$CC"; then
3814 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
3815 $as_echo "$CC" >&6; }
3816 else
3817 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3818 $as_echo "no" >&6; }
3822 test -n "$CC" && break
3823 done
3825 if test -z "$CC"; then
3826 ac_ct_CC=$CC
3827 for ac_prog in cl.exe
3829 # Extract the first word of "$ac_prog", so it can be a program name with args.
3830 set dummy $ac_prog; ac_word=$2
3831 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3832 $as_echo_n "checking for $ac_word... " >&6; }
3833 if ${ac_cv_prog_ac_ct_CC+:} false; then :
3834 $as_echo_n "(cached) " >&6
3835 else
3836 if test -n "$ac_ct_CC"; then
3837 ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
3838 else
3839 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3840 for as_dir in $PATH
3842 IFS=$as_save_IFS
3843 test -z "$as_dir" && as_dir=.
3844 for ac_exec_ext in '' $ac_executable_extensions; do
3845 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
3846 ac_cv_prog_ac_ct_CC="$ac_prog"
3847 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3848 break 2
3850 done
3851 done
3852 IFS=$as_save_IFS
3856 ac_ct_CC=$ac_cv_prog_ac_ct_CC
3857 if test -n "$ac_ct_CC"; then
3858 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CC" >&5
3859 $as_echo "$ac_ct_CC" >&6; }
3860 else
3861 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3862 $as_echo "no" >&6; }
3866 test -n "$ac_ct_CC" && break
3867 done
3869 if test "x$ac_ct_CC" = x; then
3870 CC=""
3871 else
3872 case $cross_compiling:$ac_tool_warned in
3873 yes:)
3874 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
3875 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
3876 ac_tool_warned=yes ;;
3877 esac
3878 CC=$ac_ct_CC
3885 test -z "$CC" && { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
3886 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
3887 as_fn_error $? "no acceptable C compiler found in \$PATH
3888 See \`config.log' for more details" "$LINENO" 5; }
3890 # Provide some information about the compiler.
3891 $as_echo "$as_me:${as_lineno-$LINENO}: checking for C compiler version" >&5
3892 set X $ac_compile
3893 ac_compiler=$2
3894 for ac_option in --version -v -V -qversion; do
3895 { { ac_try="$ac_compiler $ac_option >&5"
3896 case "(($ac_try" in
3897 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3898 *) ac_try_echo=$ac_try;;
3899 esac
3900 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
3901 $as_echo "$ac_try_echo"; } >&5
3902 (eval "$ac_compiler $ac_option >&5") 2>conftest.err
3903 ac_status=$?
3904 if test -s conftest.err; then
3905 sed '10a\
3906 ... rest of stderr output deleted ...
3907 10q' conftest.err >conftest.er1
3908 cat conftest.er1 >&5
3910 rm -f conftest.er1 conftest.err
3911 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
3912 test $ac_status = 0; }
3913 done
3915 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3916 /* end confdefs.h. */
3919 main ()
3923 return 0;
3925 _ACEOF
3926 ac_clean_files_save=$ac_clean_files
3927 ac_clean_files="$ac_clean_files a.out a.out.dSYM a.exe b.out"
3928 # Try to create an executable without -o first, disregard a.out.
3929 # It will help us diagnose broken compilers, and finding out an intuition
3930 # of exeext.
3931 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the C compiler works" >&5
3932 $as_echo_n "checking whether the C compiler works... " >&6; }
3933 ac_link_default=`$as_echo "$ac_link" | sed 's/ -o *conftest[^ ]*//'`
3935 # The possible output files:
3936 ac_files="a.out conftest.exe conftest a.exe a_out.exe b.out conftest.*"
3938 ac_rmfiles=
3939 for ac_file in $ac_files
3941 case $ac_file in
3942 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj ) ;;
3943 * ) ac_rmfiles="$ac_rmfiles $ac_file";;
3944 esac
3945 done
3946 rm -f $ac_rmfiles
3948 if { { ac_try="$ac_link_default"
3949 case "(($ac_try" in
3950 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3951 *) ac_try_echo=$ac_try;;
3952 esac
3953 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
3954 $as_echo "$ac_try_echo"; } >&5
3955 (eval "$ac_link_default") 2>&5
3956 ac_status=$?
3957 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
3958 test $ac_status = 0; }; then :
3959 # Autoconf-2.13 could set the ac_cv_exeext variable to `no'.
3960 # So ignore a value of `no', otherwise this would lead to `EXEEXT = no'
3961 # in a Makefile. We should not override ac_cv_exeext if it was cached,
3962 # so that the user can short-circuit this test for compilers unknown to
3963 # Autoconf.
3964 for ac_file in $ac_files ''
3966 test -f "$ac_file" || continue
3967 case $ac_file in
3968 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj )
3970 [ab].out )
3971 # We found the default executable, but exeext='' is most
3972 # certainly right.
3973 break;;
3974 *.* )
3975 if test "${ac_cv_exeext+set}" = set && test "$ac_cv_exeext" != no;
3976 then :; else
3977 ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'`
3979 # We set ac_cv_exeext here because the later test for it is not
3980 # safe: cross compilers may not add the suffix if given an `-o'
3981 # argument, so we may need to know it at that point already.
3982 # Even if this section looks crufty: it has the advantage of
3983 # actually working.
3984 break;;
3986 break;;
3987 esac
3988 done
3989 test "$ac_cv_exeext" = no && ac_cv_exeext=
3991 else
3992 ac_file=''
3994 if test -z "$ac_file"; then :
3995 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3996 $as_echo "no" >&6; }
3997 $as_echo "$as_me: failed program was:" >&5
3998 sed 's/^/| /' conftest.$ac_ext >&5
4000 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
4001 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
4002 as_fn_error 77 "C compiler cannot create executables
4003 See \`config.log' for more details" "$LINENO" 5; }
4004 else
4005 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
4006 $as_echo "yes" >&6; }
4008 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for C compiler default output file name" >&5
4009 $as_echo_n "checking for C compiler default output file name... " >&6; }
4010 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_file" >&5
4011 $as_echo "$ac_file" >&6; }
4012 ac_exeext=$ac_cv_exeext
4014 rm -f -r a.out a.out.dSYM a.exe conftest$ac_cv_exeext b.out
4015 ac_clean_files=$ac_clean_files_save
4016 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for suffix of executables" >&5
4017 $as_echo_n "checking for suffix of executables... " >&6; }
4018 if { { ac_try="$ac_link"
4019 case "(($ac_try" in
4020 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
4021 *) ac_try_echo=$ac_try;;
4022 esac
4023 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
4024 $as_echo "$ac_try_echo"; } >&5
4025 (eval "$ac_link") 2>&5
4026 ac_status=$?
4027 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
4028 test $ac_status = 0; }; then :
4029 # If both `conftest.exe' and `conftest' are `present' (well, observable)
4030 # catch `conftest.exe'. For instance with Cygwin, `ls conftest' will
4031 # work properly (i.e., refer to `conftest.exe'), while it won't with
4032 # `rm'.
4033 for ac_file in conftest.exe conftest conftest.*; do
4034 test -f "$ac_file" || continue
4035 case $ac_file in
4036 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj ) ;;
4037 *.* ) ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'`
4038 break;;
4039 * ) break;;
4040 esac
4041 done
4042 else
4043 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
4044 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
4045 as_fn_error $? "cannot compute suffix of executables: cannot compile and link
4046 See \`config.log' for more details" "$LINENO" 5; }
4048 rm -f conftest conftest$ac_cv_exeext
4049 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_exeext" >&5
4050 $as_echo "$ac_cv_exeext" >&6; }
4052 rm -f conftest.$ac_ext
4053 EXEEXT=$ac_cv_exeext
4054 ac_exeext=$EXEEXT
4055 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4056 /* end confdefs.h. */
4057 #include <stdio.h>
4059 main ()
4061 FILE *f = fopen ("conftest.out", "w");
4062 return ferror (f) || fclose (f) != 0;
4065 return 0;
4067 _ACEOF
4068 ac_clean_files="$ac_clean_files conftest.out"
4069 # Check that the compiler produces executables we can run. If not, either
4070 # the compiler is broken, or we cross compile.
4071 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are cross compiling" >&5
4072 $as_echo_n "checking whether we are cross compiling... " >&6; }
4073 if test "$cross_compiling" != yes; then
4074 { { ac_try="$ac_link"
4075 case "(($ac_try" in
4076 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
4077 *) ac_try_echo=$ac_try;;
4078 esac
4079 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
4080 $as_echo "$ac_try_echo"; } >&5
4081 (eval "$ac_link") 2>&5
4082 ac_status=$?
4083 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
4084 test $ac_status = 0; }
4085 if { ac_try='./conftest$ac_cv_exeext'
4086 { { case "(($ac_try" in
4087 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
4088 *) ac_try_echo=$ac_try;;
4089 esac
4090 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
4091 $as_echo "$ac_try_echo"; } >&5
4092 (eval "$ac_try") 2>&5
4093 ac_status=$?
4094 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
4095 test $ac_status = 0; }; }; then
4096 cross_compiling=no
4097 else
4098 if test "$cross_compiling" = maybe; then
4099 cross_compiling=yes
4100 else
4101 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
4102 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
4103 as_fn_error $? "cannot run C compiled programs.
4104 If you meant to cross compile, use \`--host'.
4105 See \`config.log' for more details" "$LINENO" 5; }
4109 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $cross_compiling" >&5
4110 $as_echo "$cross_compiling" >&6; }
4112 rm -f conftest.$ac_ext conftest$ac_cv_exeext conftest.out
4113 ac_clean_files=$ac_clean_files_save
4114 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for suffix of object files" >&5
4115 $as_echo_n "checking for suffix of object files... " >&6; }
4116 if ${ac_cv_objext+:} false; then :
4117 $as_echo_n "(cached) " >&6
4118 else
4119 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4120 /* end confdefs.h. */
4123 main ()
4127 return 0;
4129 _ACEOF
4130 rm -f conftest.o conftest.obj
4131 if { { ac_try="$ac_compile"
4132 case "(($ac_try" in
4133 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
4134 *) ac_try_echo=$ac_try;;
4135 esac
4136 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
4137 $as_echo "$ac_try_echo"; } >&5
4138 (eval "$ac_compile") 2>&5
4139 ac_status=$?
4140 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
4141 test $ac_status = 0; }; then :
4142 for ac_file in conftest.o conftest.obj conftest.*; do
4143 test -f "$ac_file" || continue;
4144 case $ac_file in
4145 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM ) ;;
4146 *) ac_cv_objext=`expr "$ac_file" : '.*\.\(.*\)'`
4147 break;;
4148 esac
4149 done
4150 else
4151 $as_echo "$as_me: failed program was:" >&5
4152 sed 's/^/| /' conftest.$ac_ext >&5
4154 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
4155 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
4156 as_fn_error $? "cannot compute suffix of object files: cannot compile
4157 See \`config.log' for more details" "$LINENO" 5; }
4159 rm -f conftest.$ac_cv_objext conftest.$ac_ext
4161 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_objext" >&5
4162 $as_echo "$ac_cv_objext" >&6; }
4163 OBJEXT=$ac_cv_objext
4164 ac_objext=$OBJEXT
4165 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are using the GNU C compiler" >&5
4166 $as_echo_n "checking whether we are using the GNU C compiler... " >&6; }
4167 if ${ac_cv_c_compiler_gnu+:} false; then :
4168 $as_echo_n "(cached) " >&6
4169 else
4170 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4171 /* end confdefs.h. */
4174 main ()
4176 #ifndef __GNUC__
4177 choke me
4178 #endif
4181 return 0;
4183 _ACEOF
4184 if ac_fn_c_try_compile "$LINENO"; then :
4185 ac_compiler_gnu=yes
4186 else
4187 ac_compiler_gnu=no
4189 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4190 ac_cv_c_compiler_gnu=$ac_compiler_gnu
4193 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_compiler_gnu" >&5
4194 $as_echo "$ac_cv_c_compiler_gnu" >&6; }
4195 if test $ac_compiler_gnu = yes; then
4196 GCC=yes
4197 else
4198 GCC=
4200 ac_test_CFLAGS=${CFLAGS+set}
4201 ac_save_CFLAGS=$CFLAGS
4202 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CC accepts -g" >&5
4203 $as_echo_n "checking whether $CC accepts -g... " >&6; }
4204 if ${ac_cv_prog_cc_g+:} false; then :
4205 $as_echo_n "(cached) " >&6
4206 else
4207 ac_save_c_werror_flag=$ac_c_werror_flag
4208 ac_c_werror_flag=yes
4209 ac_cv_prog_cc_g=no
4210 CFLAGS="-g"
4211 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4212 /* end confdefs.h. */
4215 main ()
4219 return 0;
4221 _ACEOF
4222 if ac_fn_c_try_compile "$LINENO"; then :
4223 ac_cv_prog_cc_g=yes
4224 else
4225 CFLAGS=""
4226 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4227 /* end confdefs.h. */
4230 main ()
4234 return 0;
4236 _ACEOF
4237 if ac_fn_c_try_compile "$LINENO"; then :
4239 else
4240 ac_c_werror_flag=$ac_save_c_werror_flag
4241 CFLAGS="-g"
4242 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4243 /* end confdefs.h. */
4246 main ()
4250 return 0;
4252 _ACEOF
4253 if ac_fn_c_try_compile "$LINENO"; then :
4254 ac_cv_prog_cc_g=yes
4256 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4258 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4260 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4261 ac_c_werror_flag=$ac_save_c_werror_flag
4263 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_g" >&5
4264 $as_echo "$ac_cv_prog_cc_g" >&6; }
4265 if test "$ac_test_CFLAGS" = set; then
4266 CFLAGS=$ac_save_CFLAGS
4267 elif test $ac_cv_prog_cc_g = yes; then
4268 if test "$GCC" = yes; then
4269 CFLAGS="-g -O2"
4270 else
4271 CFLAGS="-g"
4273 else
4274 if test "$GCC" = yes; then
4275 CFLAGS="-O2"
4276 else
4277 CFLAGS=
4280 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $CC option to accept ISO C89" >&5
4281 $as_echo_n "checking for $CC option to accept ISO C89... " >&6; }
4282 if ${ac_cv_prog_cc_c89+:} false; then :
4283 $as_echo_n "(cached) " >&6
4284 else
4285 ac_cv_prog_cc_c89=no
4286 ac_save_CC=$CC
4287 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4288 /* end confdefs.h. */
4289 #include <stdarg.h>
4290 #include <stdio.h>
4291 struct stat;
4292 /* Most of the following tests are stolen from RCS 5.7's src/conf.sh. */
4293 struct buf { int x; };
4294 FILE * (*rcsopen) (struct buf *, struct stat *, int);
4295 static char *e (p, i)
4296 char **p;
4297 int i;
4299 return p[i];
4301 static char *f (char * (*g) (char **, int), char **p, ...)
4303 char *s;
4304 va_list v;
4305 va_start (v,p);
4306 s = g (p, va_arg (v,int));
4307 va_end (v);
4308 return s;
4311 /* OSF 4.0 Compaq cc is some sort of almost-ANSI by default. It has
4312 function prototypes and stuff, but not '\xHH' hex character constants.
4313 These don't provoke an error unfortunately, instead are silently treated
4314 as 'x'. The following induces an error, until -std is added to get
4315 proper ANSI mode. Curiously '\x00'!='x' always comes out true, for an
4316 array size at least. It's necessary to write '\x00'==0 to get something
4317 that's true only with -std. */
4318 int osf4_cc_array ['\x00' == 0 ? 1 : -1];
4320 /* IBM C 6 for AIX is almost-ANSI by default, but it replaces macro parameters
4321 inside strings and character constants. */
4322 #define FOO(x) 'x'
4323 int xlc6_cc_array[FOO(a) == 'x' ? 1 : -1];
4325 int test (int i, double x);
4326 struct s1 {int (*f) (int a);};
4327 struct s2 {int (*f) (double a);};
4328 int pairnames (int, char **, FILE *(*)(struct buf *, struct stat *, int), int, int);
4329 int argc;
4330 char **argv;
4332 main ()
4334 return f (e, argv, 0) != argv[0] || f (e, argv, 1) != argv[1];
4336 return 0;
4338 _ACEOF
4339 for ac_arg in '' -qlanglvl=extc89 -qlanglvl=ansi -std \
4340 -Ae "-Aa -D_HPUX_SOURCE" "-Xc -D__EXTENSIONS__"
4342 CC="$ac_save_CC $ac_arg"
4343 if ac_fn_c_try_compile "$LINENO"; then :
4344 ac_cv_prog_cc_c89=$ac_arg
4346 rm -f core conftest.err conftest.$ac_objext
4347 test "x$ac_cv_prog_cc_c89" != "xno" && break
4348 done
4349 rm -f conftest.$ac_ext
4350 CC=$ac_save_CC
4353 # AC_CACHE_VAL
4354 case "x$ac_cv_prog_cc_c89" in
4356 { $as_echo "$as_me:${as_lineno-$LINENO}: result: none needed" >&5
4357 $as_echo "none needed" >&6; } ;;
4358 xno)
4359 { $as_echo "$as_me:${as_lineno-$LINENO}: result: unsupported" >&5
4360 $as_echo "unsupported" >&6; } ;;
4362 CC="$CC $ac_cv_prog_cc_c89"
4363 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_c89" >&5
4364 $as_echo "$ac_cv_prog_cc_c89" >&6; } ;;
4365 esac
4366 if test "x$ac_cv_prog_cc_c89" != xno; then :
4370 ac_ext=c
4371 ac_cpp='$CPP $CPPFLAGS'
4372 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
4373 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
4374 ac_compiler_gnu=$ac_cv_c_compiler_gnu
4376 ac_ext=cpp
4377 ac_cpp='$CXXCPP $CPPFLAGS'
4378 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
4379 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
4380 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
4381 if test -z "$CXX"; then
4382 if test -n "$CCC"; then
4383 CXX=$CCC
4384 else
4385 if test -n "$ac_tool_prefix"; then
4386 for ac_prog in g++ c++ gpp aCC CC cxx cc++ cl.exe FCC KCC RCC xlC_r xlC
4388 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
4389 set dummy $ac_tool_prefix$ac_prog; ac_word=$2
4390 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4391 $as_echo_n "checking for $ac_word... " >&6; }
4392 if ${ac_cv_prog_CXX+:} false; then :
4393 $as_echo_n "(cached) " >&6
4394 else
4395 if test -n "$CXX"; then
4396 ac_cv_prog_CXX="$CXX" # Let the user override the test.
4397 else
4398 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4399 for as_dir in $PATH
4401 IFS=$as_save_IFS
4402 test -z "$as_dir" && as_dir=.
4403 for ac_exec_ext in '' $ac_executable_extensions; do
4404 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
4405 ac_cv_prog_CXX="$ac_tool_prefix$ac_prog"
4406 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4407 break 2
4409 done
4410 done
4411 IFS=$as_save_IFS
4415 CXX=$ac_cv_prog_CXX
4416 if test -n "$CXX"; then
4417 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CXX" >&5
4418 $as_echo "$CXX" >&6; }
4419 else
4420 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4421 $as_echo "no" >&6; }
4425 test -n "$CXX" && break
4426 done
4428 if test -z "$CXX"; then
4429 ac_ct_CXX=$CXX
4430 for ac_prog in g++ c++ gpp aCC CC cxx cc++ cl.exe FCC KCC RCC xlC_r xlC
4432 # Extract the first word of "$ac_prog", so it can be a program name with args.
4433 set dummy $ac_prog; ac_word=$2
4434 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4435 $as_echo_n "checking for $ac_word... " >&6; }
4436 if ${ac_cv_prog_ac_ct_CXX+:} false; then :
4437 $as_echo_n "(cached) " >&6
4438 else
4439 if test -n "$ac_ct_CXX"; then
4440 ac_cv_prog_ac_ct_CXX="$ac_ct_CXX" # Let the user override the test.
4441 else
4442 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4443 for as_dir in $PATH
4445 IFS=$as_save_IFS
4446 test -z "$as_dir" && as_dir=.
4447 for ac_exec_ext in '' $ac_executable_extensions; do
4448 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
4449 ac_cv_prog_ac_ct_CXX="$ac_prog"
4450 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4451 break 2
4453 done
4454 done
4455 IFS=$as_save_IFS
4459 ac_ct_CXX=$ac_cv_prog_ac_ct_CXX
4460 if test -n "$ac_ct_CXX"; then
4461 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CXX" >&5
4462 $as_echo "$ac_ct_CXX" >&6; }
4463 else
4464 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4465 $as_echo "no" >&6; }
4469 test -n "$ac_ct_CXX" && break
4470 done
4472 if test "x$ac_ct_CXX" = x; then
4473 CXX="g++"
4474 else
4475 case $cross_compiling:$ac_tool_warned in
4476 yes:)
4477 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
4478 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
4479 ac_tool_warned=yes ;;
4480 esac
4481 CXX=$ac_ct_CXX
4487 # Provide some information about the compiler.
4488 $as_echo "$as_me:${as_lineno-$LINENO}: checking for C++ compiler version" >&5
4489 set X $ac_compile
4490 ac_compiler=$2
4491 for ac_option in --version -v -V -qversion; do
4492 { { ac_try="$ac_compiler $ac_option >&5"
4493 case "(($ac_try" in
4494 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
4495 *) ac_try_echo=$ac_try;;
4496 esac
4497 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
4498 $as_echo "$ac_try_echo"; } >&5
4499 (eval "$ac_compiler $ac_option >&5") 2>conftest.err
4500 ac_status=$?
4501 if test -s conftest.err; then
4502 sed '10a\
4503 ... rest of stderr output deleted ...
4504 10q' conftest.err >conftest.er1
4505 cat conftest.er1 >&5
4507 rm -f conftest.er1 conftest.err
4508 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
4509 test $ac_status = 0; }
4510 done
4512 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are using the GNU C++ compiler" >&5
4513 $as_echo_n "checking whether we are using the GNU C++ compiler... " >&6; }
4514 if ${ac_cv_cxx_compiler_gnu+:} false; then :
4515 $as_echo_n "(cached) " >&6
4516 else
4517 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4518 /* end confdefs.h. */
4521 main ()
4523 #ifndef __GNUC__
4524 choke me
4525 #endif
4528 return 0;
4530 _ACEOF
4531 if ac_fn_cxx_try_compile "$LINENO"; then :
4532 ac_compiler_gnu=yes
4533 else
4534 ac_compiler_gnu=no
4536 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4537 ac_cv_cxx_compiler_gnu=$ac_compiler_gnu
4540 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cxx_compiler_gnu" >&5
4541 $as_echo "$ac_cv_cxx_compiler_gnu" >&6; }
4542 if test $ac_compiler_gnu = yes; then
4543 GXX=yes
4544 else
4545 GXX=
4547 ac_test_CXXFLAGS=${CXXFLAGS+set}
4548 ac_save_CXXFLAGS=$CXXFLAGS
4549 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CXX accepts -g" >&5
4550 $as_echo_n "checking whether $CXX accepts -g... " >&6; }
4551 if ${ac_cv_prog_cxx_g+:} false; then :
4552 $as_echo_n "(cached) " >&6
4553 else
4554 ac_save_cxx_werror_flag=$ac_cxx_werror_flag
4555 ac_cxx_werror_flag=yes
4556 ac_cv_prog_cxx_g=no
4557 CXXFLAGS="-g"
4558 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4559 /* end confdefs.h. */
4562 main ()
4566 return 0;
4568 _ACEOF
4569 if ac_fn_cxx_try_compile "$LINENO"; then :
4570 ac_cv_prog_cxx_g=yes
4571 else
4572 CXXFLAGS=""
4573 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4574 /* end confdefs.h. */
4577 main ()
4581 return 0;
4583 _ACEOF
4584 if ac_fn_cxx_try_compile "$LINENO"; then :
4586 else
4587 ac_cxx_werror_flag=$ac_save_cxx_werror_flag
4588 CXXFLAGS="-g"
4589 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4590 /* end confdefs.h. */
4593 main ()
4597 return 0;
4599 _ACEOF
4600 if ac_fn_cxx_try_compile "$LINENO"; then :
4601 ac_cv_prog_cxx_g=yes
4603 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4605 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4607 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4608 ac_cxx_werror_flag=$ac_save_cxx_werror_flag
4610 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cxx_g" >&5
4611 $as_echo "$ac_cv_prog_cxx_g" >&6; }
4612 if test "$ac_test_CXXFLAGS" = set; then
4613 CXXFLAGS=$ac_save_CXXFLAGS
4614 elif test $ac_cv_prog_cxx_g = yes; then
4615 if test "$GXX" = yes; then
4616 CXXFLAGS="-g -O2"
4617 else
4618 CXXFLAGS="-g"
4620 else
4621 if test "$GXX" = yes; then
4622 CXXFLAGS="-O2"
4623 else
4624 CXXFLAGS=
4627 ac_ext=c
4628 ac_cpp='$CPP $CPPFLAGS'
4629 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
4630 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
4631 ac_compiler_gnu=$ac_cv_c_compiler_gnu
4633 if test -n "$ac_tool_prefix"; then
4634 # Extract the first word of "${ac_tool_prefix}cpp", so it can be a program name with args.
4635 set dummy ${ac_tool_prefix}cpp; ac_word=$2
4636 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4637 $as_echo_n "checking for $ac_word... " >&6; }
4638 if ${ac_cv_prog_CPPBIN+:} false; then :
4639 $as_echo_n "(cached) " >&6
4640 else
4641 if test -n "$CPPBIN"; then
4642 ac_cv_prog_CPPBIN="$CPPBIN" # Let the user override the test.
4643 else
4644 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4645 for as_dir in $PATH
4647 IFS=$as_save_IFS
4648 test -z "$as_dir" && as_dir=.
4649 for ac_exec_ext in '' $ac_executable_extensions; do
4650 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
4651 ac_cv_prog_CPPBIN="${ac_tool_prefix}cpp"
4652 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4653 break 2
4655 done
4656 done
4657 IFS=$as_save_IFS
4661 CPPBIN=$ac_cv_prog_CPPBIN
4662 if test -n "$CPPBIN"; then
4663 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CPPBIN" >&5
4664 $as_echo "$CPPBIN" >&6; }
4665 else
4666 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4667 $as_echo "no" >&6; }
4672 if test -z "$ac_cv_prog_CPPBIN"; then
4673 ac_ct_CPPBIN=$CPPBIN
4674 # Extract the first word of "cpp", so it can be a program name with args.
4675 set dummy cpp; ac_word=$2
4676 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4677 $as_echo_n "checking for $ac_word... " >&6; }
4678 if ${ac_cv_prog_ac_ct_CPPBIN+:} false; then :
4679 $as_echo_n "(cached) " >&6
4680 else
4681 if test -n "$ac_ct_CPPBIN"; then
4682 ac_cv_prog_ac_ct_CPPBIN="$ac_ct_CPPBIN" # Let the user override the test.
4683 else
4684 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4685 for as_dir in $PATH
4687 IFS=$as_save_IFS
4688 test -z "$as_dir" && as_dir=.
4689 for ac_exec_ext in '' $ac_executable_extensions; do
4690 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
4691 ac_cv_prog_ac_ct_CPPBIN="cpp"
4692 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4693 break 2
4695 done
4696 done
4697 IFS=$as_save_IFS
4701 ac_ct_CPPBIN=$ac_cv_prog_ac_ct_CPPBIN
4702 if test -n "$ac_ct_CPPBIN"; then
4703 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CPPBIN" >&5
4704 $as_echo "$ac_ct_CPPBIN" >&6; }
4705 else
4706 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4707 $as_echo "no" >&6; }
4710 if test "x$ac_ct_CPPBIN" = x; then
4711 CPPBIN="cpp"
4712 else
4713 case $cross_compiling:$ac_tool_warned in
4714 yes:)
4715 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
4716 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
4717 ac_tool_warned=yes ;;
4718 esac
4719 CPPBIN=$ac_ct_CPPBIN
4721 else
4722 CPPBIN="$ac_cv_prog_CPPBIN"
4726 cat >>confdefs.h <<_ACEOF
4727 #define EXEEXT "$ac_exeext"
4728 _ACEOF
4731 case $host in
4732 *-darwin*)
4733 if test "x$enable_win64" = "xyes"
4734 then
4735 CC="$CC -m64"
4736 CXX="$CXX -m64"
4737 host_cpu="x86_64"
4738 notice_platform="64-bit "
4739 TARGETFLAGS="-m64"
4741 else
4742 CC="$CC -m32"
4743 CXX="$CXX -m32"
4744 host_cpu="i386"
4745 notice_platform="32-bit "
4746 TARGETFLAGS="-m32"
4748 enable_win16=${enable_win16:-yes}
4750 with_fontconfig=${with_fontconfig:-no}
4752 x86_64*)
4753 if test "x$enable_win64" != "xyes" -a "$cross_compiling" != "yes"
4754 then
4755 CC="$CC -m32"
4756 CXX="$CXX -m32"
4757 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CC works" >&5
4758 $as_echo_n "checking whether $CC works... " >&6; }
4760 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4761 /* end confdefs.h. */
4764 main ()
4768 return 0;
4770 _ACEOF
4771 if ac_fn_c_try_link "$LINENO"; then :
4772 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
4773 $as_echo "yes" >&6; }
4774 else
4775 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4776 $as_echo "no" >&6; }
4777 as_fn_error $? "Cannot build a 32-bit program, you need to install 32-bit development libraries." "$LINENO" 5
4779 rm -f core conftest.err conftest.$ac_objext \
4780 conftest$ac_exeext conftest.$ac_ext
4781 host_cpu="i386"
4782 notice_platform="32-bit "
4783 TARGETFLAGS="-m32"
4785 enable_win16=${enable_win16:-yes}
4786 else
4787 if test "x${GCC}" = "xyes"
4788 then
4789 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CC supports __builtin_ms_va_list" >&5
4790 $as_echo_n "checking whether $CC supports __builtin_ms_va_list... " >&6; }
4791 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4792 /* end confdefs.h. */
4793 #include <stdarg.h>
4795 main ()
4797 void func(__builtin_ms_va_list *args);
4799 return 0;
4801 _ACEOF
4802 if ac_fn_c_try_compile "$LINENO"; then :
4803 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
4804 $as_echo "yes" >&6; }
4805 else
4806 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4807 $as_echo "no" >&6; }
4808 as_fn_error $? "You need gcc >= 4.4 to build Wine as 64-bit." "$LINENO" 5
4810 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4812 TARGETFLAGS="-m64"
4816 arm*)
4817 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CC supports Thumb" >&5
4818 $as_echo_n "checking whether $CC supports Thumb... " >&6; }
4819 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4820 /* end confdefs.h. */
4821 int ac_test(int i) { return i; }
4823 main ()
4825 asm(".thumb\nblx ac_test\n.arm"); if (ac_test(1)) return 1
4827 return 0;
4829 _ACEOF
4830 if ac_fn_c_try_link "$LINENO"; then :
4831 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
4832 $as_echo "yes" >&6; }
4833 else
4834 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4835 $as_echo "no" >&6; }
4836 as_fn_error $? "You need a target with Thumb support to build Wine for ARM." "$LINENO" 5
4838 rm -f core conftest.err conftest.$ac_objext \
4839 conftest$ac_exeext conftest.$ac_ext
4840 CFLAGS="$CFLAGS -marm"
4841 TARGETFLAGS="-marm"
4844 *-mingw32*|*-cygwin*)
4845 enable_win16=${enable_win16:-no}
4846 CFLAGS="$CFLAGS -D_WIN32"
4848 i[3456789]86*)
4849 enable_win16=${enable_win16:-yes}
4851 esac
4853 enable_win16=${enable_win16:-no}
4854 enable_win64=${enable_win64:-no}
4856 enable_winetest=${enable_winetest:-$enable_tests}
4858 if test -n "$with_wine64"
4859 then
4860 if test "x$enable_win64" = "xyes"
4861 then
4862 as_fn_error $? "--enable-win64 and --with-wine64 are mutually exclusive.
4863 --enable-win64 should be used in the 64-bit build tree, --with-wine64 in the 32-bit Wow64 build tree." "$LINENO" 5
4865 enable_fonts=${enable_fonts:-no}
4866 enable_server=${enable_server:-no}
4867 elif test "x$enable_win64" = "xyes"
4868 then
4869 test "x$libdir" != "x\${exec_prefix}/lib" || libdir="\${exec_prefix}/lib64"
4872 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for the directory containing the Wine tools" >&5
4873 $as_echo_n "checking for the directory containing the Wine tools... " >&6; }
4874 if ${wine_cv_toolsdir+:} false; then :
4875 $as_echo_n "(cached) " >&6
4876 else
4877 wine_cv_toolsdir="$with_wine_tools"
4878 if test -z "$with_wine_tools"; then
4879 if test "$cross_compiling" = "yes"; then
4880 as_fn_error $? "you must use the --with-wine-tools option when cross-compiling." "$LINENO" 5
4881 elif test -n "$with_wine64"; then
4882 wine_cv_toolsdir="$with_wine64"
4885 if test -z "$wine_cv_toolsdir"; then
4886 wine_makedep=tools/makedep
4887 wine_cv_toolsdir="\$(top_builddir)"
4888 elif test -d "$wine_cv_toolsdir/tools/winebuild"; then
4889 wine_makedep=$wine_cv_toolsdir/tools/makedep
4890 case "$wine_cv_toolsdir" in
4891 /*) ;;
4892 *) wine_cv_toolsdir="\$(top_builddir)/$wine_cv_toolsdir" ;;
4893 esac
4894 enable_tools=${enable_tools:-no}
4895 test -f "$wine_makedep" || as_fn_error $? "the Wine tools have not yet been built in $wine_cv_toolsdir" "$LINENO" 5
4896 else
4897 as_fn_error $? "could not find Wine tools in $wine_cv_toolsdir" "$LINENO" 5
4900 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $wine_cv_toolsdir" >&5
4901 $as_echo "$wine_cv_toolsdir" >&6; }
4902 TOOLSDIR=$wine_cv_toolsdir
4904 if test -n "$host_alias" -a "$host_alias" != "$build_alias"
4905 then
4906 TARGETFLAGS="-b $host_alias $TARGETFLAGS"
4910 for ac_prog in flex
4912 # Extract the first word of "$ac_prog", so it can be a program name with args.
4913 set dummy $ac_prog; ac_word=$2
4914 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4915 $as_echo_n "checking for $ac_word... " >&6; }
4916 if ${ac_cv_prog_FLEX+:} false; then :
4917 $as_echo_n "(cached) " >&6
4918 else
4919 if test -n "$FLEX"; then
4920 ac_cv_prog_FLEX="$FLEX" # Let the user override the test.
4921 else
4922 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4923 for as_dir in $PATH
4925 IFS=$as_save_IFS
4926 test -z "$as_dir" && as_dir=.
4927 for ac_exec_ext in '' $ac_executable_extensions; do
4928 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
4929 ac_cv_prog_FLEX="$ac_prog"
4930 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4931 break 2
4933 done
4934 done
4935 IFS=$as_save_IFS
4939 FLEX=$ac_cv_prog_FLEX
4940 if test -n "$FLEX"; then
4941 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $FLEX" >&5
4942 $as_echo "$FLEX" >&6; }
4943 else
4944 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4945 $as_echo "no" >&6; }
4949 test -n "$FLEX" && break
4950 done
4951 test -n "$FLEX" || FLEX="none"
4953 if test "$FLEX" = "none"
4954 then
4955 as_fn_error $? "no suitable flex found. Please install the 'flex' package." "$LINENO" 5
4957 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether flex is recent enough" >&5
4958 $as_echo_n "checking whether flex is recent enough... " >&6; }
4959 cat >conftest.l <<EOF
4960 %top{
4961 #include "prediluvian.h"
4965 if $FLEX -t conftest.l >/dev/null 2>&5
4966 then
4967 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
4968 $as_echo "yes" >&6; }
4969 else
4970 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4971 $as_echo "no" >&6; }
4972 as_fn_error $? "Your flex version is too old. Please install flex version 2.5.33 or newer." "$LINENO" 5
4975 for ac_prog in bison
4977 # Extract the first word of "$ac_prog", so it can be a program name with args.
4978 set dummy $ac_prog; ac_word=$2
4979 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4980 $as_echo_n "checking for $ac_word... " >&6; }
4981 if ${ac_cv_prog_BISON+:} false; then :
4982 $as_echo_n "(cached) " >&6
4983 else
4984 if test -n "$BISON"; then
4985 ac_cv_prog_BISON="$BISON" # Let the user override the test.
4986 else
4987 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4988 for as_dir in $PATH
4990 IFS=$as_save_IFS
4991 test -z "$as_dir" && as_dir=.
4992 for ac_exec_ext in '' $ac_executable_extensions; do
4993 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
4994 ac_cv_prog_BISON="$ac_prog"
4995 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4996 break 2
4998 done
4999 done
5000 IFS=$as_save_IFS
5004 BISON=$ac_cv_prog_BISON
5005 if test -n "$BISON"; then
5006 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $BISON" >&5
5007 $as_echo "$BISON" >&6; }
5008 else
5009 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5010 $as_echo "no" >&6; }
5014 test -n "$BISON" && break
5015 done
5016 test -n "$BISON" || BISON="none"
5018 if test "$BISON" = "none"
5019 then
5020 as_fn_error $? "no suitable bison found. Please install the 'bison' package." "$LINENO" 5
5023 if test -n "$ac_tool_prefix"; then
5024 for ac_prog in ar gar
5026 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
5027 set dummy $ac_tool_prefix$ac_prog; ac_word=$2
5028 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5029 $as_echo_n "checking for $ac_word... " >&6; }
5030 if ${ac_cv_prog_AR+:} false; then :
5031 $as_echo_n "(cached) " >&6
5032 else
5033 if test -n "$AR"; then
5034 ac_cv_prog_AR="$AR" # Let the user override the test.
5035 else
5036 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5037 for as_dir in $PATH
5039 IFS=$as_save_IFS
5040 test -z "$as_dir" && as_dir=.
5041 for ac_exec_ext in '' $ac_executable_extensions; do
5042 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
5043 ac_cv_prog_AR="$ac_tool_prefix$ac_prog"
5044 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5045 break 2
5047 done
5048 done
5049 IFS=$as_save_IFS
5053 AR=$ac_cv_prog_AR
5054 if test -n "$AR"; then
5055 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $AR" >&5
5056 $as_echo "$AR" >&6; }
5057 else
5058 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5059 $as_echo "no" >&6; }
5063 test -n "$AR" && break
5064 done
5066 if test -z "$AR"; then
5067 ac_ct_AR=$AR
5068 for ac_prog in ar gar
5070 # Extract the first word of "$ac_prog", so it can be a program name with args.
5071 set dummy $ac_prog; ac_word=$2
5072 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5073 $as_echo_n "checking for $ac_word... " >&6; }
5074 if ${ac_cv_prog_ac_ct_AR+:} false; then :
5075 $as_echo_n "(cached) " >&6
5076 else
5077 if test -n "$ac_ct_AR"; then
5078 ac_cv_prog_ac_ct_AR="$ac_ct_AR" # Let the user override the test.
5079 else
5080 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5081 for as_dir in $PATH
5083 IFS=$as_save_IFS
5084 test -z "$as_dir" && as_dir=.
5085 for ac_exec_ext in '' $ac_executable_extensions; do
5086 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
5087 ac_cv_prog_ac_ct_AR="$ac_prog"
5088 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5089 break 2
5091 done
5092 done
5093 IFS=$as_save_IFS
5097 ac_ct_AR=$ac_cv_prog_ac_ct_AR
5098 if test -n "$ac_ct_AR"; then
5099 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_AR" >&5
5100 $as_echo "$ac_ct_AR" >&6; }
5101 else
5102 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5103 $as_echo "no" >&6; }
5107 test -n "$ac_ct_AR" && break
5108 done
5110 if test "x$ac_ct_AR" = x; then
5111 AR="ar"
5112 else
5113 case $cross_compiling:$ac_tool_warned in
5114 yes:)
5115 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
5116 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
5117 ac_tool_warned=yes ;;
5118 esac
5119 AR=$ac_ct_AR
5123 if test -n "$ac_tool_prefix"; then
5124 # Extract the first word of "${ac_tool_prefix}strip", so it can be a program name with args.
5125 set dummy ${ac_tool_prefix}strip; ac_word=$2
5126 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5127 $as_echo_n "checking for $ac_word... " >&6; }
5128 if ${ac_cv_prog_STRIP+:} false; then :
5129 $as_echo_n "(cached) " >&6
5130 else
5131 if test -n "$STRIP"; then
5132 ac_cv_prog_STRIP="$STRIP" # Let the user override the test.
5133 else
5134 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5135 for as_dir in $PATH
5137 IFS=$as_save_IFS
5138 test -z "$as_dir" && as_dir=.
5139 for ac_exec_ext in '' $ac_executable_extensions; do
5140 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
5141 ac_cv_prog_STRIP="${ac_tool_prefix}strip"
5142 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5143 break 2
5145 done
5146 done
5147 IFS=$as_save_IFS
5151 STRIP=$ac_cv_prog_STRIP
5152 if test -n "$STRIP"; then
5153 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $STRIP" >&5
5154 $as_echo "$STRIP" >&6; }
5155 else
5156 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5157 $as_echo "no" >&6; }
5162 if test -z "$ac_cv_prog_STRIP"; then
5163 ac_ct_STRIP=$STRIP
5164 # Extract the first word of "strip", so it can be a program name with args.
5165 set dummy strip; ac_word=$2
5166 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5167 $as_echo_n "checking for $ac_word... " >&6; }
5168 if ${ac_cv_prog_ac_ct_STRIP+:} false; then :
5169 $as_echo_n "(cached) " >&6
5170 else
5171 if test -n "$ac_ct_STRIP"; then
5172 ac_cv_prog_ac_ct_STRIP="$ac_ct_STRIP" # Let the user override the test.
5173 else
5174 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5175 for as_dir in $PATH
5177 IFS=$as_save_IFS
5178 test -z "$as_dir" && as_dir=.
5179 for ac_exec_ext in '' $ac_executable_extensions; do
5180 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
5181 ac_cv_prog_ac_ct_STRIP="strip"
5182 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5183 break 2
5185 done
5186 done
5187 IFS=$as_save_IFS
5191 ac_ct_STRIP=$ac_cv_prog_ac_ct_STRIP
5192 if test -n "$ac_ct_STRIP"; then
5193 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_STRIP" >&5
5194 $as_echo "$ac_ct_STRIP" >&6; }
5195 else
5196 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5197 $as_echo "no" >&6; }
5200 if test "x$ac_ct_STRIP" = x; then
5201 STRIP="strip"
5202 else
5203 case $cross_compiling:$ac_tool_warned in
5204 yes:)
5205 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
5206 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
5207 ac_tool_warned=yes ;;
5208 esac
5209 STRIP=$ac_ct_STRIP
5211 else
5212 STRIP="$ac_cv_prog_STRIP"
5215 ARFLAGS=rc
5217 if test -n "$ac_tool_prefix"; then
5218 # Extract the first word of "${ac_tool_prefix}ranlib", so it can be a program name with args.
5219 set dummy ${ac_tool_prefix}ranlib; ac_word=$2
5220 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5221 $as_echo_n "checking for $ac_word... " >&6; }
5222 if ${ac_cv_prog_RANLIB+:} false; then :
5223 $as_echo_n "(cached) " >&6
5224 else
5225 if test -n "$RANLIB"; then
5226 ac_cv_prog_RANLIB="$RANLIB" # Let the user override the test.
5227 else
5228 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5229 for as_dir in $PATH
5231 IFS=$as_save_IFS
5232 test -z "$as_dir" && as_dir=.
5233 for ac_exec_ext in '' $ac_executable_extensions; do
5234 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
5235 ac_cv_prog_RANLIB="${ac_tool_prefix}ranlib"
5236 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5237 break 2
5239 done
5240 done
5241 IFS=$as_save_IFS
5245 RANLIB=$ac_cv_prog_RANLIB
5246 if test -n "$RANLIB"; then
5247 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $RANLIB" >&5
5248 $as_echo "$RANLIB" >&6; }
5249 else
5250 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5251 $as_echo "no" >&6; }
5256 if test -z "$ac_cv_prog_RANLIB"; then
5257 ac_ct_RANLIB=$RANLIB
5258 # Extract the first word of "ranlib", so it can be a program name with args.
5259 set dummy ranlib; ac_word=$2
5260 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5261 $as_echo_n "checking for $ac_word... " >&6; }
5262 if ${ac_cv_prog_ac_ct_RANLIB+:} false; then :
5263 $as_echo_n "(cached) " >&6
5264 else
5265 if test -n "$ac_ct_RANLIB"; then
5266 ac_cv_prog_ac_ct_RANLIB="$ac_ct_RANLIB" # Let the user override the test.
5267 else
5268 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5269 for as_dir in $PATH
5271 IFS=$as_save_IFS
5272 test -z "$as_dir" && as_dir=.
5273 for ac_exec_ext in '' $ac_executable_extensions; do
5274 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
5275 ac_cv_prog_ac_ct_RANLIB="ranlib"
5276 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5277 break 2
5279 done
5280 done
5281 IFS=$as_save_IFS
5285 ac_ct_RANLIB=$ac_cv_prog_ac_ct_RANLIB
5286 if test -n "$ac_ct_RANLIB"; then
5287 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_RANLIB" >&5
5288 $as_echo "$ac_ct_RANLIB" >&6; }
5289 else
5290 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5291 $as_echo "no" >&6; }
5294 if test "x$ac_ct_RANLIB" = x; then
5295 RANLIB=":"
5296 else
5297 case $cross_compiling:$ac_tool_warned in
5298 yes:)
5299 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
5300 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
5301 ac_tool_warned=yes ;;
5302 esac
5303 RANLIB=$ac_ct_RANLIB
5305 else
5306 RANLIB="$ac_cv_prog_RANLIB"
5309 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ln -s works" >&5
5310 $as_echo_n "checking whether ln -s works... " >&6; }
5311 LN_S=$as_ln_s
5312 if test "$LN_S" = "ln -s"; then
5313 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
5314 $as_echo "yes" >&6; }
5315 else
5316 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no, using $LN_S" >&5
5317 $as_echo "no, using $LN_S" >&6; }
5320 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for grep that handles long lines and -e" >&5
5321 $as_echo_n "checking for grep that handles long lines and -e... " >&6; }
5322 if ${ac_cv_path_GREP+:} false; then :
5323 $as_echo_n "(cached) " >&6
5324 else
5325 if test -z "$GREP"; then
5326 ac_path_GREP_found=false
5327 # Loop through the user's path and test for each of PROGNAME-LIST
5328 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5329 for as_dir in $PATH$PATH_SEPARATOR/usr/xpg4/bin
5331 IFS=$as_save_IFS
5332 test -z "$as_dir" && as_dir=.
5333 for ac_prog in grep ggrep; do
5334 for ac_exec_ext in '' $ac_executable_extensions; do
5335 ac_path_GREP="$as_dir/$ac_prog$ac_exec_ext"
5336 as_fn_executable_p "$ac_path_GREP" || continue
5337 # Check for GNU ac_path_GREP and select it if it is found.
5338 # Check for GNU $ac_path_GREP
5339 case `"$ac_path_GREP" --version 2>&1` in
5340 *GNU*)
5341 ac_cv_path_GREP="$ac_path_GREP" ac_path_GREP_found=:;;
5343 ac_count=0
5344 $as_echo_n 0123456789 >"conftest.in"
5345 while :
5347 cat "conftest.in" "conftest.in" >"conftest.tmp"
5348 mv "conftest.tmp" "conftest.in"
5349 cp "conftest.in" "conftest.nl"
5350 $as_echo 'GREP' >> "conftest.nl"
5351 "$ac_path_GREP" -e 'GREP$' -e '-(cannot match)-' < "conftest.nl" >"conftest.out" 2>/dev/null || break
5352 diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break
5353 as_fn_arith $ac_count + 1 && ac_count=$as_val
5354 if test $ac_count -gt ${ac_path_GREP_max-0}; then
5355 # Best one so far, save it but keep looking for a better one
5356 ac_cv_path_GREP="$ac_path_GREP"
5357 ac_path_GREP_max=$ac_count
5359 # 10*(2^10) chars as input seems more than enough
5360 test $ac_count -gt 10 && break
5361 done
5362 rm -f conftest.in conftest.tmp conftest.nl conftest.out;;
5363 esac
5365 $ac_path_GREP_found && break 3
5366 done
5367 done
5368 done
5369 IFS=$as_save_IFS
5370 if test -z "$ac_cv_path_GREP"; then
5371 as_fn_error $? "no acceptable grep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" "$LINENO" 5
5373 else
5374 ac_cv_path_GREP=$GREP
5378 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_GREP" >&5
5379 $as_echo "$ac_cv_path_GREP" >&6; }
5380 GREP="$ac_cv_path_GREP"
5383 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for egrep" >&5
5384 $as_echo_n "checking for egrep... " >&6; }
5385 if ${ac_cv_path_EGREP+:} false; then :
5386 $as_echo_n "(cached) " >&6
5387 else
5388 if echo a | $GREP -E '(a|b)' >/dev/null 2>&1
5389 then ac_cv_path_EGREP="$GREP -E"
5390 else
5391 if test -z "$EGREP"; then
5392 ac_path_EGREP_found=false
5393 # Loop through the user's path and test for each of PROGNAME-LIST
5394 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5395 for as_dir in $PATH$PATH_SEPARATOR/usr/xpg4/bin
5397 IFS=$as_save_IFS
5398 test -z "$as_dir" && as_dir=.
5399 for ac_prog in egrep; do
5400 for ac_exec_ext in '' $ac_executable_extensions; do
5401 ac_path_EGREP="$as_dir/$ac_prog$ac_exec_ext"
5402 as_fn_executable_p "$ac_path_EGREP" || continue
5403 # Check for GNU ac_path_EGREP and select it if it is found.
5404 # Check for GNU $ac_path_EGREP
5405 case `"$ac_path_EGREP" --version 2>&1` in
5406 *GNU*)
5407 ac_cv_path_EGREP="$ac_path_EGREP" ac_path_EGREP_found=:;;
5409 ac_count=0
5410 $as_echo_n 0123456789 >"conftest.in"
5411 while :
5413 cat "conftest.in" "conftest.in" >"conftest.tmp"
5414 mv "conftest.tmp" "conftest.in"
5415 cp "conftest.in" "conftest.nl"
5416 $as_echo 'EGREP' >> "conftest.nl"
5417 "$ac_path_EGREP" 'EGREP$' < "conftest.nl" >"conftest.out" 2>/dev/null || break
5418 diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break
5419 as_fn_arith $ac_count + 1 && ac_count=$as_val
5420 if test $ac_count -gt ${ac_path_EGREP_max-0}; then
5421 # Best one so far, save it but keep looking for a better one
5422 ac_cv_path_EGREP="$ac_path_EGREP"
5423 ac_path_EGREP_max=$ac_count
5425 # 10*(2^10) chars as input seems more than enough
5426 test $ac_count -gt 10 && break
5427 done
5428 rm -f conftest.in conftest.tmp conftest.nl conftest.out;;
5429 esac
5431 $ac_path_EGREP_found && break 3
5432 done
5433 done
5434 done
5435 IFS=$as_save_IFS
5436 if test -z "$ac_cv_path_EGREP"; then
5437 as_fn_error $? "no acceptable egrep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" "$LINENO" 5
5439 else
5440 ac_cv_path_EGREP=$EGREP
5445 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_EGREP" >&5
5446 $as_echo "$ac_cv_path_EGREP" >&6; }
5447 EGREP="$ac_cv_path_EGREP"
5450 # Extract the first word of "ldconfig", so it can be a program name with args.
5451 set dummy ldconfig; ac_word=$2
5452 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5453 $as_echo_n "checking for $ac_word... " >&6; }
5454 if ${ac_cv_path_LDCONFIG+:} false; then :
5455 $as_echo_n "(cached) " >&6
5456 else
5457 case $LDCONFIG in
5458 [\\/]* | ?:[\\/]*)
5459 ac_cv_path_LDCONFIG="$LDCONFIG" # Let the user override the test with a path.
5462 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5463 for as_dir in /sbin /usr/sbin $PATH
5465 IFS=$as_save_IFS
5466 test -z "$as_dir" && as_dir=.
5467 for ac_exec_ext in '' $ac_executable_extensions; do
5468 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
5469 ac_cv_path_LDCONFIG="$as_dir/$ac_word$ac_exec_ext"
5470 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5471 break 2
5473 done
5474 done
5475 IFS=$as_save_IFS
5477 test -z "$ac_cv_path_LDCONFIG" && ac_cv_path_LDCONFIG="true"
5479 esac
5481 LDCONFIG=$ac_cv_path_LDCONFIG
5482 if test -n "$LDCONFIG"; then
5483 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $LDCONFIG" >&5
5484 $as_echo "$LDCONFIG" >&6; }
5485 else
5486 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5487 $as_echo "no" >&6; }
5491 for ac_prog in msgfmt
5493 # Extract the first word of "$ac_prog", so it can be a program name with args.
5494 set dummy $ac_prog; ac_word=$2
5495 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5496 $as_echo_n "checking for $ac_word... " >&6; }
5497 if ${ac_cv_prog_MSGFMT+:} false; then :
5498 $as_echo_n "(cached) " >&6
5499 else
5500 if test -n "$MSGFMT"; then
5501 ac_cv_prog_MSGFMT="$MSGFMT" # Let the user override the test.
5502 else
5503 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5504 for as_dir in $PATH
5506 IFS=$as_save_IFS
5507 test -z "$as_dir" && as_dir=.
5508 for ac_exec_ext in '' $ac_executable_extensions; do
5509 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
5510 ac_cv_prog_MSGFMT="$ac_prog"
5511 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5512 break 2
5514 done
5515 done
5516 IFS=$as_save_IFS
5520 MSGFMT=$ac_cv_prog_MSGFMT
5521 if test -n "$MSGFMT"; then
5522 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $MSGFMT" >&5
5523 $as_echo "$MSGFMT" >&6; }
5524 else
5525 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5526 $as_echo "no" >&6; }
5530 test -n "$MSGFMT" && break
5531 done
5532 test -n "$MSGFMT" || MSGFMT="false"
5534 if ${ac_tool_prefix+:} false; then :
5535 # Extract the first word of "${ac_tool_prefix}pkg-config", so it can be a program name with args.
5536 set dummy ${ac_tool_prefix}pkg-config; ac_word=$2
5537 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5538 $as_echo_n "checking for $ac_word... " >&6; }
5539 if ${ac_cv_prog_PKG_CONFIG+:} false; then :
5540 $as_echo_n "(cached) " >&6
5541 else
5542 if test -n "$PKG_CONFIG"; then
5543 ac_cv_prog_PKG_CONFIG="$PKG_CONFIG" # Let the user override the test.
5544 else
5545 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5546 for as_dir in $PATH
5548 IFS=$as_save_IFS
5549 test -z "$as_dir" && as_dir=.
5550 for ac_exec_ext in '' $ac_executable_extensions; do
5551 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
5552 ac_cv_prog_PKG_CONFIG="${ac_tool_prefix}pkg-config"
5553 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5554 break 2
5556 done
5557 done
5558 IFS=$as_save_IFS
5562 PKG_CONFIG=$ac_cv_prog_PKG_CONFIG
5563 if test -n "$PKG_CONFIG"; then
5564 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $PKG_CONFIG" >&5
5565 $as_echo "$PKG_CONFIG" >&6; }
5566 else
5567 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5568 $as_echo "no" >&6; }
5573 if ${ac_cv_prog_PKG_CONFIG:+false} :; then :
5574 if test "x$cross_compiling" = xyes; then :
5576 else
5577 { ac_cv_prog_PKG_CONFIG=; unset ac_cv_prog_PKG_CONFIG;}
5578 # Extract the first word of "pkg-config", so it can be a program name with args.
5579 set dummy pkg-config; ac_word=$2
5580 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5581 $as_echo_n "checking for $ac_word... " >&6; }
5582 if ${ac_cv_prog_PKG_CONFIG+:} false; then :
5583 $as_echo_n "(cached) " >&6
5584 else
5585 if test -n "$PKG_CONFIG"; then
5586 ac_cv_prog_PKG_CONFIG="$PKG_CONFIG" # Let the user override the test.
5587 else
5588 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5589 for as_dir in $PATH
5591 IFS=$as_save_IFS
5592 test -z "$as_dir" && as_dir=.
5593 for ac_exec_ext in '' $ac_executable_extensions; do
5594 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
5595 ac_cv_prog_PKG_CONFIG="pkg-config"
5596 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5597 break 2
5599 done
5600 done
5601 IFS=$as_save_IFS
5605 PKG_CONFIG=$ac_cv_prog_PKG_CONFIG
5606 if test -n "$PKG_CONFIG"; then
5607 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $PKG_CONFIG" >&5
5608 $as_echo "$PKG_CONFIG" >&6; }
5609 else
5610 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5611 $as_echo "no" >&6; }
5616 else
5617 PKG_CONFIG=$ac_cv_prog_PKG_CONFIG
5620 if test "x$enable_maintainer_mode" != "xyes"
5621 then
5622 FONTFORGE=""
5623 RSVG=""
5624 CONVERT=""
5625 ICOTOOL=""
5626 else
5627 test "$srcdir" = . || as_fn_error $? "Maintainer mode cannot work out of tree." "$LINENO" 5
5628 for ac_prog in fontforge
5630 # Extract the first word of "$ac_prog", so it can be a program name with args.
5631 set dummy $ac_prog; ac_word=$2
5632 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5633 $as_echo_n "checking for $ac_word... " >&6; }
5634 if ${ac_cv_prog_FONTFORGE+:} false; then :
5635 $as_echo_n "(cached) " >&6
5636 else
5637 if test -n "$FONTFORGE"; then
5638 ac_cv_prog_FONTFORGE="$FONTFORGE" # Let the user override the test.
5639 else
5640 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5641 for as_dir in $PATH
5643 IFS=$as_save_IFS
5644 test -z "$as_dir" && as_dir=.
5645 for ac_exec_ext in '' $ac_executable_extensions; do
5646 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
5647 ac_cv_prog_FONTFORGE="$ac_prog"
5648 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5649 break 2
5651 done
5652 done
5653 IFS=$as_save_IFS
5657 FONTFORGE=$ac_cv_prog_FONTFORGE
5658 if test -n "$FONTFORGE"; then
5659 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $FONTFORGE" >&5
5660 $as_echo "$FONTFORGE" >&6; }
5661 else
5662 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5663 $as_echo "no" >&6; }
5667 test -n "$FONTFORGE" && break
5668 done
5669 test -n "$FONTFORGE" || FONTFORGE="false"
5671 for ac_prog in rsvg
5673 # Extract the first word of "$ac_prog", so it can be a program name with args.
5674 set dummy $ac_prog; ac_word=$2
5675 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5676 $as_echo_n "checking for $ac_word... " >&6; }
5677 if ${ac_cv_prog_RSVG+:} false; then :
5678 $as_echo_n "(cached) " >&6
5679 else
5680 if test -n "$RSVG"; then
5681 ac_cv_prog_RSVG="$RSVG" # Let the user override the test.
5682 else
5683 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5684 for as_dir in $PATH
5686 IFS=$as_save_IFS
5687 test -z "$as_dir" && as_dir=.
5688 for ac_exec_ext in '' $ac_executable_extensions; do
5689 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
5690 ac_cv_prog_RSVG="$ac_prog"
5691 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5692 break 2
5694 done
5695 done
5696 IFS=$as_save_IFS
5700 RSVG=$ac_cv_prog_RSVG
5701 if test -n "$RSVG"; then
5702 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $RSVG" >&5
5703 $as_echo "$RSVG" >&6; }
5704 else
5705 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5706 $as_echo "no" >&6; }
5710 test -n "$RSVG" && break
5711 done
5712 test -n "$RSVG" || RSVG="false"
5714 for ac_prog in convert
5716 # Extract the first word of "$ac_prog", so it can be a program name with args.
5717 set dummy $ac_prog; ac_word=$2
5718 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5719 $as_echo_n "checking for $ac_word... " >&6; }
5720 if ${ac_cv_prog_CONVERT+:} false; then :
5721 $as_echo_n "(cached) " >&6
5722 else
5723 if test -n "$CONVERT"; then
5724 ac_cv_prog_CONVERT="$CONVERT" # Let the user override the test.
5725 else
5726 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5727 for as_dir in $PATH
5729 IFS=$as_save_IFS
5730 test -z "$as_dir" && as_dir=.
5731 for ac_exec_ext in '' $ac_executable_extensions; do
5732 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
5733 ac_cv_prog_CONVERT="$ac_prog"
5734 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5735 break 2
5737 done
5738 done
5739 IFS=$as_save_IFS
5743 CONVERT=$ac_cv_prog_CONVERT
5744 if test -n "$CONVERT"; then
5745 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CONVERT" >&5
5746 $as_echo "$CONVERT" >&6; }
5747 else
5748 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5749 $as_echo "no" >&6; }
5753 test -n "$CONVERT" && break
5754 done
5755 test -n "$CONVERT" || CONVERT="false"
5757 for ac_prog in icotool
5759 # Extract the first word of "$ac_prog", so it can be a program name with args.
5760 set dummy $ac_prog; ac_word=$2
5761 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5762 $as_echo_n "checking for $ac_word... " >&6; }
5763 if ${ac_cv_prog_ICOTOOL+:} false; then :
5764 $as_echo_n "(cached) " >&6
5765 else
5766 if test -n "$ICOTOOL"; then
5767 ac_cv_prog_ICOTOOL="$ICOTOOL" # Let the user override the test.
5768 else
5769 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5770 for as_dir in $PATH
5772 IFS=$as_save_IFS
5773 test -z "$as_dir" && as_dir=.
5774 for ac_exec_ext in '' $ac_executable_extensions; do
5775 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
5776 ac_cv_prog_ICOTOOL="$ac_prog"
5777 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5778 break 2
5780 done
5781 done
5782 IFS=$as_save_IFS
5786 ICOTOOL=$ac_cv_prog_ICOTOOL
5787 if test -n "$ICOTOOL"; then
5788 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ICOTOOL" >&5
5789 $as_echo "$ICOTOOL" >&6; }
5790 else
5791 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5792 $as_echo "no" >&6; }
5796 test -n "$ICOTOOL" && break
5797 done
5798 test -n "$ICOTOOL" || ICOTOOL="false"
5800 test "$FONTFORGE" != "false" || as_fn_error $? "You need fontforge to rebuild fonts in maintainer mode." "$LINENO" 5
5801 test "$RSVG" != "false" || as_fn_error $? "You need rsvg to rebuild icons in maintainer mode." "$LINENO" 5
5803 if test "$CONVERT" = false
5804 then
5805 as_fn_error $? "You need imagemagick to rebuild icons in maintainer mode." "$LINENO" 5
5806 else
5807 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for recent enough imagemagick" >&5
5808 $as_echo_n "checking for recent enough imagemagick... " >&6; }
5809 convert_version=`convert --version | head -n1`
5810 if test "x$convert_version" != "x"
5811 then
5812 convert_version_major=`expr "$convert_version" : '.* \([0-9]*\)\.[0-9]*'`
5813 convert_version_minor=`expr "$convert_version" : '.* [0-9]*\.\([0-9]*\)'`
5814 if test "$convert_version_major" -eq 6 -a "$convert_version_minor" -lt 6
5815 then
5816 CONVERT=false
5819 if test "$CONVERT" = false
5820 then
5821 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no ($convert_version_major.$convert_version_minor)" >&5
5822 $as_echo "no ($convert_version_major.$convert_version_minor)" >&6; }
5823 as_fn_error $? "You need imagemagick version 6.6 or newer to rebuild icons in maintainer mode." "$LINENO" 5
5824 else
5825 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes ($convert_version_major.$convert_version_minor)" >&5
5826 $as_echo "yes ($convert_version_major.$convert_version_minor)" >&6; }
5830 if test "$ICOTOOL" = false
5831 then
5832 as_fn_error $? "You need icotool to rebuild icons in maintainer mode." "$LINENO" 5
5833 else
5834 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for recent enough icotool" >&5
5835 $as_echo_n "checking for recent enough icotool... " >&6; }
5836 icotool_version=`icotool --version | head -n1`
5837 if test "x$icotool_version" != "x"
5838 then
5839 icotool_version_major=`expr "$icotool_version" : '.* \([0-9]*\)\.[0-9]*'`
5840 icotool_version_minor=`expr "$icotool_version" : '.* [0-9]*\.\([0-9]*\)'`
5841 if test "$icotool_version_major" -eq 0 -a "$icotool_version_minor" -lt 29
5842 then
5843 ICOTOOL=false
5844 as_fn_append wine_warnings "|icotool version 0.29.0 or newer is needed to rebuild icons."
5847 if test "$ICOTOOL" = false
5848 then
5849 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no ($icotool_version_major.$icotool_version_minor)" >&5
5850 $as_echo "no ($icotool_version_major.$icotool_version_minor)" >&6; }
5851 as_fn_error $? "You need icotool version 0.29.0 or newer to rebuild icons in maintainer mode." "$LINENO" 5
5852 else
5853 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes ($icotool_version_major.$icotool_version_minor)" >&5
5854 $as_echo "yes ($icotool_version_major.$icotool_version_minor)" >&6; }
5858 with_gettext=yes
5859 with_gettextpo=yes
5860 { ac_cv_header_gettext_po_h=; unset ac_cv_header_gettext_po_h;}
5863 test "x$with_gettext" != xno || MSGFMT=false
5864 if test "$MSGFMT" != "false"
5865 then
5866 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether msgfmt supports contexts" >&5
5867 $as_echo_n "checking whether msgfmt supports contexts... " >&6; }
5868 cat >conftest.po <<EOF
5869 # comment
5870 msgctxt "ctxt"
5871 msgid "id"
5872 msgstr "str"
5874 if $MSGFMT -o /dev/null conftest.po 2>&5
5875 then
5876 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
5877 $as_echo "yes" >&6; }
5878 else
5879 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5880 $as_echo "no" >&6; }
5881 MSGFMT=false
5884 if test "$MSGFMT" = false; then :
5885 case "x$with_gettext" in
5886 x) as_fn_append wine_warnings "|gettext tools not found (or too old), translations won't be built." ;;
5887 xno) ;;
5888 *) as_fn_error $? "gettext tools not found (or too old), translations won't be built.
5889 This is an error since --with-gettext was requested." "$LINENO" 5 ;;
5890 esac
5894 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for i386_set_ldt in -li386" >&5
5895 $as_echo_n "checking for i386_set_ldt in -li386... " >&6; }
5896 if ${ac_cv_lib_i386_i386_set_ldt+:} false; then :
5897 $as_echo_n "(cached) " >&6
5898 else
5899 ac_check_lib_save_LIBS=$LIBS
5900 LIBS="-li386 $LIBS"
5901 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
5902 /* end confdefs.h. */
5904 /* Override any GCC internal prototype to avoid an error.
5905 Use char because int might match the return type of a GCC
5906 builtin and then its argument prototype would still apply. */
5907 #ifdef __cplusplus
5908 extern "C"
5909 #endif
5910 char i386_set_ldt ();
5912 main ()
5914 return i386_set_ldt ();
5916 return 0;
5918 _ACEOF
5919 if ac_fn_c_try_link "$LINENO"; then :
5920 ac_cv_lib_i386_i386_set_ldt=yes
5921 else
5922 ac_cv_lib_i386_i386_set_ldt=no
5924 rm -f core conftest.err conftest.$ac_objext \
5925 conftest$ac_exeext conftest.$ac_ext
5926 LIBS=$ac_check_lib_save_LIBS
5928 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_i386_i386_set_ldt" >&5
5929 $as_echo "$ac_cv_lib_i386_i386_set_ldt" >&6; }
5930 if test "x$ac_cv_lib_i386_i386_set_ldt" = xyes; then :
5931 cat >>confdefs.h <<_ACEOF
5932 #define HAVE_LIBI386 1
5933 _ACEOF
5935 LIBS="-li386 $LIBS"
5939 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _oss_ioctl in -lossaudio" >&5
5940 $as_echo_n "checking for _oss_ioctl in -lossaudio... " >&6; }
5941 if ${ac_cv_lib_ossaudio__oss_ioctl+:} false; then :
5942 $as_echo_n "(cached) " >&6
5943 else
5944 ac_check_lib_save_LIBS=$LIBS
5945 LIBS="-lossaudio $LIBS"
5946 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
5947 /* end confdefs.h. */
5949 /* Override any GCC internal prototype to avoid an error.
5950 Use char because int might match the return type of a GCC
5951 builtin and then its argument prototype would still apply. */
5952 #ifdef __cplusplus
5953 extern "C"
5954 #endif
5955 char _oss_ioctl ();
5957 main ()
5959 return _oss_ioctl ();
5961 return 0;
5963 _ACEOF
5964 if ac_fn_c_try_link "$LINENO"; then :
5965 ac_cv_lib_ossaudio__oss_ioctl=yes
5966 else
5967 ac_cv_lib_ossaudio__oss_ioctl=no
5969 rm -f core conftest.err conftest.$ac_objext \
5970 conftest$ac_exeext conftest.$ac_ext
5971 LIBS=$ac_check_lib_save_LIBS
5973 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_ossaudio__oss_ioctl" >&5
5974 $as_echo "$ac_cv_lib_ossaudio__oss_ioctl" >&6; }
5975 if test "x$ac_cv_lib_ossaudio__oss_ioctl" = xyes; then :
5976 cat >>confdefs.h <<_ACEOF
5977 #define HAVE_LIBOSSAUDIO 1
5978 _ACEOF
5980 LIBS="-lossaudio $LIBS"
5985 OPENGL_LIBS=""
5989 # Check whether --enable-largefile was given.
5990 if test "${enable_largefile+set}" = set; then :
5991 enableval=$enable_largefile;
5994 if test "$enable_largefile" != no; then
5996 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for special C compiler options needed for large files" >&5
5997 $as_echo_n "checking for special C compiler options needed for large files... " >&6; }
5998 if ${ac_cv_sys_largefile_CC+:} false; then :
5999 $as_echo_n "(cached) " >&6
6000 else
6001 ac_cv_sys_largefile_CC=no
6002 if test "$GCC" != yes; then
6003 ac_save_CC=$CC
6004 while :; do
6005 # IRIX 6.2 and later do not support large files by default,
6006 # so use the C compiler's -n32 option if that helps.
6007 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
6008 /* end confdefs.h. */
6009 #include <sys/types.h>
6010 /* Check that off_t can represent 2**63 - 1 correctly.
6011 We can't simply define LARGE_OFF_T to be 9223372036854775807,
6012 since some C++ compilers masquerading as C compilers
6013 incorrectly reject 9223372036854775807. */
6014 #define LARGE_OFF_T ((((off_t) 1 << 31) << 31) - 1 + (((off_t) 1 << 31) << 31))
6015 int off_t_is_large[(LARGE_OFF_T % 2147483629 == 721
6016 && LARGE_OFF_T % 2147483647 == 1)
6017 ? 1 : -1];
6019 main ()
6023 return 0;
6025 _ACEOF
6026 if ac_fn_c_try_compile "$LINENO"; then :
6027 break
6029 rm -f core conftest.err conftest.$ac_objext
6030 CC="$CC -n32"
6031 if ac_fn_c_try_compile "$LINENO"; then :
6032 ac_cv_sys_largefile_CC=' -n32'; break
6034 rm -f core conftest.err conftest.$ac_objext
6035 break
6036 done
6037 CC=$ac_save_CC
6038 rm -f conftest.$ac_ext
6041 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_sys_largefile_CC" >&5
6042 $as_echo "$ac_cv_sys_largefile_CC" >&6; }
6043 if test "$ac_cv_sys_largefile_CC" != no; then
6044 CC=$CC$ac_cv_sys_largefile_CC
6047 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _FILE_OFFSET_BITS value needed for large files" >&5
6048 $as_echo_n "checking for _FILE_OFFSET_BITS value needed for large files... " >&6; }
6049 if ${ac_cv_sys_file_offset_bits+:} false; then :
6050 $as_echo_n "(cached) " >&6
6051 else
6052 while :; do
6053 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
6054 /* end confdefs.h. */
6055 #include <sys/types.h>
6056 /* Check that off_t can represent 2**63 - 1 correctly.
6057 We can't simply define LARGE_OFF_T to be 9223372036854775807,
6058 since some C++ compilers masquerading as C compilers
6059 incorrectly reject 9223372036854775807. */
6060 #define LARGE_OFF_T ((((off_t) 1 << 31) << 31) - 1 + (((off_t) 1 << 31) << 31))
6061 int off_t_is_large[(LARGE_OFF_T % 2147483629 == 721
6062 && LARGE_OFF_T % 2147483647 == 1)
6063 ? 1 : -1];
6065 main ()
6069 return 0;
6071 _ACEOF
6072 if ac_fn_c_try_compile "$LINENO"; then :
6073 ac_cv_sys_file_offset_bits=no; break
6075 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
6076 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
6077 /* end confdefs.h. */
6078 #define _FILE_OFFSET_BITS 64
6079 #include <sys/types.h>
6080 /* Check that off_t can represent 2**63 - 1 correctly.
6081 We can't simply define LARGE_OFF_T to be 9223372036854775807,
6082 since some C++ compilers masquerading as C compilers
6083 incorrectly reject 9223372036854775807. */
6084 #define LARGE_OFF_T ((((off_t) 1 << 31) << 31) - 1 + (((off_t) 1 << 31) << 31))
6085 int off_t_is_large[(LARGE_OFF_T % 2147483629 == 721
6086 && LARGE_OFF_T % 2147483647 == 1)
6087 ? 1 : -1];
6089 main ()
6093 return 0;
6095 _ACEOF
6096 if ac_fn_c_try_compile "$LINENO"; then :
6097 ac_cv_sys_file_offset_bits=64; break
6099 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
6100 ac_cv_sys_file_offset_bits=unknown
6101 break
6102 done
6104 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_sys_file_offset_bits" >&5
6105 $as_echo "$ac_cv_sys_file_offset_bits" >&6; }
6106 case $ac_cv_sys_file_offset_bits in #(
6107 no | unknown) ;;
6109 cat >>confdefs.h <<_ACEOF
6110 #define _FILE_OFFSET_BITS $ac_cv_sys_file_offset_bits
6111 _ACEOF
6113 esac
6114 rm -rf conftest*
6115 if test $ac_cv_sys_file_offset_bits = unknown; then
6116 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _LARGE_FILES value needed for large files" >&5
6117 $as_echo_n "checking for _LARGE_FILES value needed for large files... " >&6; }
6118 if ${ac_cv_sys_large_files+:} false; then :
6119 $as_echo_n "(cached) " >&6
6120 else
6121 while :; do
6122 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
6123 /* end confdefs.h. */
6124 #include <sys/types.h>
6125 /* Check that off_t can represent 2**63 - 1 correctly.
6126 We can't simply define LARGE_OFF_T to be 9223372036854775807,
6127 since some C++ compilers masquerading as C compilers
6128 incorrectly reject 9223372036854775807. */
6129 #define LARGE_OFF_T ((((off_t) 1 << 31) << 31) - 1 + (((off_t) 1 << 31) << 31))
6130 int off_t_is_large[(LARGE_OFF_T % 2147483629 == 721
6131 && LARGE_OFF_T % 2147483647 == 1)
6132 ? 1 : -1];
6134 main ()
6138 return 0;
6140 _ACEOF
6141 if ac_fn_c_try_compile "$LINENO"; then :
6142 ac_cv_sys_large_files=no; break
6144 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
6145 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
6146 /* end confdefs.h. */
6147 #define _LARGE_FILES 1
6148 #include <sys/types.h>
6149 /* Check that off_t can represent 2**63 - 1 correctly.
6150 We can't simply define LARGE_OFF_T to be 9223372036854775807,
6151 since some C++ compilers masquerading as C compilers
6152 incorrectly reject 9223372036854775807. */
6153 #define LARGE_OFF_T ((((off_t) 1 << 31) << 31) - 1 + (((off_t) 1 << 31) << 31))
6154 int off_t_is_large[(LARGE_OFF_T % 2147483629 == 721
6155 && LARGE_OFF_T % 2147483647 == 1)
6156 ? 1 : -1];
6158 main ()
6162 return 0;
6164 _ACEOF
6165 if ac_fn_c_try_compile "$LINENO"; then :
6166 ac_cv_sys_large_files=1; break
6168 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
6169 ac_cv_sys_large_files=unknown
6170 break
6171 done
6173 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_sys_large_files" >&5
6174 $as_echo "$ac_cv_sys_large_files" >&6; }
6175 case $ac_cv_sys_large_files in #(
6176 no | unknown) ;;
6178 cat >>confdefs.h <<_ACEOF
6179 #define _LARGE_FILES $ac_cv_sys_large_files
6180 _ACEOF
6182 esac
6183 rm -rf conftest*
6190 ac_ext=c
6191 ac_cpp='$CPP $CPPFLAGS'
6192 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
6193 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
6194 ac_compiler_gnu=$ac_cv_c_compiler_gnu
6195 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to run the C preprocessor" >&5
6196 $as_echo_n "checking how to run the C preprocessor... " >&6; }
6197 # On Suns, sometimes $CPP names a directory.
6198 if test -n "$CPP" && test -d "$CPP"; then
6199 CPP=
6201 if test -z "$CPP"; then
6202 if ${ac_cv_prog_CPP+:} false; then :
6203 $as_echo_n "(cached) " >&6
6204 else
6205 # Double quotes because CPP needs to be expanded
6206 for CPP in "$CC -E" "$CC -E -traditional-cpp" "/lib/cpp"
6208 ac_preproc_ok=false
6209 for ac_c_preproc_warn_flag in '' yes
6211 # Use a header file that comes with gcc, so configuring glibc
6212 # with a fresh cross-compiler works.
6213 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
6214 # <limits.h> exists even on freestanding compilers.
6215 # On the NeXT, cc -E runs the code through the compiler's parser,
6216 # not just through cpp. "Syntax error" is here to catch this case.
6217 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
6218 /* end confdefs.h. */
6219 #ifdef __STDC__
6220 # include <limits.h>
6221 #else
6222 # include <assert.h>
6223 #endif
6224 Syntax error
6225 _ACEOF
6226 if ac_fn_c_try_cpp "$LINENO"; then :
6228 else
6229 # Broken: fails on valid input.
6230 continue
6232 rm -f conftest.err conftest.i conftest.$ac_ext
6234 # OK, works on sane cases. Now check whether nonexistent headers
6235 # can be detected and how.
6236 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
6237 /* end confdefs.h. */
6238 #include <ac_nonexistent.h>
6239 _ACEOF
6240 if ac_fn_c_try_cpp "$LINENO"; then :
6241 # Broken: success on invalid input.
6242 continue
6243 else
6244 # Passes both tests.
6245 ac_preproc_ok=:
6246 break
6248 rm -f conftest.err conftest.i conftest.$ac_ext
6250 done
6251 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
6252 rm -f conftest.i conftest.err conftest.$ac_ext
6253 if $ac_preproc_ok; then :
6254 break
6257 done
6258 ac_cv_prog_CPP=$CPP
6261 CPP=$ac_cv_prog_CPP
6262 else
6263 ac_cv_prog_CPP=$CPP
6265 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CPP" >&5
6266 $as_echo "$CPP" >&6; }
6267 ac_preproc_ok=false
6268 for ac_c_preproc_warn_flag in '' yes
6270 # Use a header file that comes with gcc, so configuring glibc
6271 # with a fresh cross-compiler works.
6272 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
6273 # <limits.h> exists even on freestanding compilers.
6274 # On the NeXT, cc -E runs the code through the compiler's parser,
6275 # not just through cpp. "Syntax error" is here to catch this case.
6276 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
6277 /* end confdefs.h. */
6278 #ifdef __STDC__
6279 # include <limits.h>
6280 #else
6281 # include <assert.h>
6282 #endif
6283 Syntax error
6284 _ACEOF
6285 if ac_fn_c_try_cpp "$LINENO"; then :
6287 else
6288 # Broken: fails on valid input.
6289 continue
6291 rm -f conftest.err conftest.i conftest.$ac_ext
6293 # OK, works on sane cases. Now check whether nonexistent headers
6294 # can be detected and how.
6295 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
6296 /* end confdefs.h. */
6297 #include <ac_nonexistent.h>
6298 _ACEOF
6299 if ac_fn_c_try_cpp "$LINENO"; then :
6300 # Broken: success on invalid input.
6301 continue
6302 else
6303 # Passes both tests.
6304 ac_preproc_ok=:
6305 break
6307 rm -f conftest.err conftest.i conftest.$ac_ext
6309 done
6310 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
6311 rm -f conftest.i conftest.err conftest.$ac_ext
6312 if $ac_preproc_ok; then :
6314 else
6315 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
6316 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
6317 as_fn_error $? "C preprocessor \"$CPP\" fails sanity check
6318 See \`config.log' for more details" "$LINENO" 5; }
6321 ac_ext=c
6322 ac_cpp='$CPP $CPPFLAGS'
6323 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
6324 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
6325 ac_compiler_gnu=$ac_cv_c_compiler_gnu
6328 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ANSI C header files" >&5
6329 $as_echo_n "checking for ANSI C header files... " >&6; }
6330 if ${ac_cv_header_stdc+:} false; then :
6331 $as_echo_n "(cached) " >&6
6332 else
6333 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
6334 /* end confdefs.h. */
6335 #include <stdlib.h>
6336 #include <stdarg.h>
6337 #include <string.h>
6338 #include <float.h>
6341 main ()
6345 return 0;
6347 _ACEOF
6348 if ac_fn_c_try_compile "$LINENO"; then :
6349 ac_cv_header_stdc=yes
6350 else
6351 ac_cv_header_stdc=no
6353 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
6355 if test $ac_cv_header_stdc = yes; then
6356 # SunOS 4.x string.h does not declare mem*, contrary to ANSI.
6357 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
6358 /* end confdefs.h. */
6359 #include <string.h>
6361 _ACEOF
6362 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
6363 $EGREP "memchr" >/dev/null 2>&1; then :
6365 else
6366 ac_cv_header_stdc=no
6368 rm -f conftest*
6372 if test $ac_cv_header_stdc = yes; then
6373 # ISC 2.0.2 stdlib.h does not declare free, contrary to ANSI.
6374 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
6375 /* end confdefs.h. */
6376 #include <stdlib.h>
6378 _ACEOF
6379 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
6380 $EGREP "free" >/dev/null 2>&1; then :
6382 else
6383 ac_cv_header_stdc=no
6385 rm -f conftest*
6389 if test $ac_cv_header_stdc = yes; then
6390 # /bin/cc in Irix-4.0.5 gets non-ANSI ctype macros unless using -ansi.
6391 if test "$cross_compiling" = yes; then :
6393 else
6394 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
6395 /* end confdefs.h. */
6396 #include <ctype.h>
6397 #include <stdlib.h>
6398 #if ((' ' & 0x0FF) == 0x020)
6399 # define ISLOWER(c) ('a' <= (c) && (c) <= 'z')
6400 # define TOUPPER(c) (ISLOWER(c) ? 'A' + ((c) - 'a') : (c))
6401 #else
6402 # define ISLOWER(c) \
6403 (('a' <= (c) && (c) <= 'i') \
6404 || ('j' <= (c) && (c) <= 'r') \
6405 || ('s' <= (c) && (c) <= 'z'))
6406 # define TOUPPER(c) (ISLOWER(c) ? ((c) | 0x40) : (c))
6407 #endif
6409 #define XOR(e, f) (((e) && !(f)) || (!(e) && (f)))
6411 main ()
6413 int i;
6414 for (i = 0; i < 256; i++)
6415 if (XOR (islower (i), ISLOWER (i))
6416 || toupper (i) != TOUPPER (i))
6417 return 2;
6418 return 0;
6420 _ACEOF
6421 if ac_fn_c_try_run "$LINENO"; then :
6423 else
6424 ac_cv_header_stdc=no
6426 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \
6427 conftest.$ac_objext conftest.beam conftest.$ac_ext
6432 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_header_stdc" >&5
6433 $as_echo "$ac_cv_header_stdc" >&6; }
6434 if test $ac_cv_header_stdc = yes; then
6436 $as_echo "#define STDC_HEADERS 1" >>confdefs.h
6440 # On IRIX 5.3, sys/types and inttypes.h are conflicting.
6441 for ac_header in sys/types.h sys/stat.h stdlib.h string.h memory.h strings.h \
6442 inttypes.h stdint.h unistd.h
6443 do :
6444 as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
6445 ac_fn_c_check_header_compile "$LINENO" "$ac_header" "$as_ac_Header" "$ac_includes_default
6447 if eval test \"x\$"$as_ac_Header"\" = x"yes"; then :
6448 cat >>confdefs.h <<_ACEOF
6449 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
6450 _ACEOF
6454 done
6457 for ac_header in \
6458 AL/al.h \
6459 ApplicationServices/ApplicationServices.h \
6460 AudioToolbox/AudioConverter.h \
6461 AudioUnit/AudioUnit.h \
6462 AudioUnit/AudioComponent.h \
6463 CL/cl.h \
6464 Carbon/Carbon.h \
6465 CoreAudio/CoreAudio.h \
6466 CoreServices/CoreServices.h \
6467 DiskArbitration/DiskArbitration.h \
6468 IOKit/IOKitLib.h \
6469 IOKit/hid/IOHIDLib.h \
6470 OpenAL/al.h \
6471 OpenCL/opencl.h \
6472 QuickTime/ImageCompression.h \
6473 Security/Security.h \
6474 alias.h \
6475 alsa/asoundlib.h \
6476 arpa/inet.h \
6477 arpa/nameser.h \
6478 asm/types.h \
6479 asm/user.h \
6480 curses.h \
6481 direct.h \
6482 dirent.h \
6483 dlfcn.h \
6484 elf.h \
6485 float.h \
6486 fnmatch.h \
6487 getopt.h \
6488 gettext-po.h \
6489 grp.h \
6490 gsm.h \
6491 gsm/gsm.h \
6492 ieeefp.h \
6493 inet/mib2.h \
6494 io.h \
6495 kstat.h \
6496 lber.h \
6497 ldap.h \
6498 libproc.h \
6499 link.h \
6500 linux/cdrom.h \
6501 linux/compiler.h \
6502 linux/filter.h \
6503 linux/hdreg.h \
6504 linux/input.h \
6505 linux/ioctl.h \
6506 linux/joystick.h \
6507 linux/major.h \
6508 linux/param.h \
6509 linux/serial.h \
6510 linux/types.h \
6511 linux/ucdrom.h \
6512 lwp.h \
6513 mach-o/nlist.h \
6514 mach-o/loader.h \
6515 mach/mach.h \
6516 mach/machine.h \
6517 machine/cpu.h \
6518 machine/limits.h \
6519 machine/sysarch.h \
6520 mntent.h \
6521 ncurses.h \
6522 netdb.h \
6523 netinet/in.h \
6524 netinet/in_systm.h \
6525 netinet/tcp.h \
6526 netinet/tcp_fsm.h \
6527 pcap/pcap.h \
6528 poll.h \
6529 port.h \
6530 process.h \
6531 pthread.h \
6532 pwd.h \
6533 sched.h \
6534 scsi/scsi.h \
6535 scsi/scsi_ioctl.h \
6536 scsi/sg.h \
6537 stdbool.h \
6538 stdint.h \
6539 stropts.h \
6540 sys/asoundlib.h \
6541 sys/attr.h \
6542 sys/cdio.h \
6543 sys/elf32.h \
6544 sys/epoll.h \
6545 sys/event.h \
6546 sys/exec_elf.h \
6547 sys/filio.h \
6548 sys/inotify.h \
6549 sys/ioctl.h \
6550 sys/ipc.h \
6551 sys/limits.h \
6552 sys/link.h \
6553 sys/mman.h \
6554 sys/modem.h \
6555 sys/msg.h \
6556 sys/mtio.h \
6557 sys/param.h \
6558 sys/poll.h \
6559 sys/prctl.h \
6560 sys/protosw.h \
6561 sys/ptrace.h \
6562 sys/queue.h \
6563 sys/resource.h \
6564 sys/scsiio.h \
6565 sys/shm.h \
6566 sys/signal.h \
6567 sys/socket.h \
6568 sys/socketvar.h \
6569 sys/sockio.h \
6570 sys/statvfs.h \
6571 sys/strtio.h \
6572 sys/syscall.h \
6573 sys/tihdr.h \
6574 sys/time.h \
6575 sys/timeout.h \
6576 sys/times.h \
6577 sys/uio.h \
6578 sys/user.h \
6579 sys/utsname.h \
6580 sys/vm86.h \
6581 sys/wait.h \
6582 syscall.h \
6583 termios.h \
6584 unistd.h \
6585 utime.h \
6586 valgrind/memcheck.h \
6587 valgrind/valgrind.h \
6588 zlib.h
6590 do :
6591 as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
6592 ac_fn_c_check_header_mongrel "$LINENO" "$ac_header" "$as_ac_Header" "$ac_includes_default"
6593 if eval test \"x\$"$as_ac_Header"\" = x"yes"; then :
6594 cat >>confdefs.h <<_ACEOF
6595 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
6596 _ACEOF
6600 done
6602 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether stat file-mode macros are broken" >&5
6603 $as_echo_n "checking whether stat file-mode macros are broken... " >&6; }
6604 if ${ac_cv_header_stat_broken+:} false; then :
6605 $as_echo_n "(cached) " >&6
6606 else
6607 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
6608 /* end confdefs.h. */
6609 #include <sys/types.h>
6610 #include <sys/stat.h>
6612 #if defined S_ISBLK && defined S_IFDIR
6613 extern char c1[S_ISBLK (S_IFDIR) ? -1 : 1];
6614 #endif
6616 #if defined S_ISBLK && defined S_IFCHR
6617 extern char c2[S_ISBLK (S_IFCHR) ? -1 : 1];
6618 #endif
6620 #if defined S_ISLNK && defined S_IFREG
6621 extern char c3[S_ISLNK (S_IFREG) ? -1 : 1];
6622 #endif
6624 #if defined S_ISSOCK && defined S_IFREG
6625 extern char c4[S_ISSOCK (S_IFREG) ? -1 : 1];
6626 #endif
6628 _ACEOF
6629 if ac_fn_c_try_compile "$LINENO"; then :
6630 ac_cv_header_stat_broken=no
6631 else
6632 ac_cv_header_stat_broken=yes
6634 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
6636 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_header_stat_broken" >&5
6637 $as_echo "$ac_cv_header_stat_broken" >&6; }
6638 if test $ac_cv_header_stat_broken = yes; then
6640 $as_echo "#define STAT_MACROS_BROKEN 1" >>confdefs.h
6646 for ac_header in sys/mount.h sys/statfs.h sys/sysctl.h sys/user.h sys/vfs.h
6647 do :
6648 as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
6649 ac_fn_c_check_header_compile "$LINENO" "$ac_header" "$as_ac_Header" "#include <sys/types.h>
6650 #ifdef HAVE_SYS_PARAM_H
6651 # include <sys/param.h>
6652 #endif
6654 if eval test \"x\$"$as_ac_Header"\" = x"yes"; then :
6655 cat >>confdefs.h <<_ACEOF
6656 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
6657 _ACEOF
6661 done
6664 for ac_header in \
6665 netinet/ip.h \
6666 net/if.h \
6667 net/if_arp.h \
6668 net/if_dl.h \
6669 net/if_types.h \
6670 net/route.h \
6671 netinet/if_ether.h \
6672 netinet/if_inarp.h \
6673 netinet/in_pcb.h \
6674 netinet/ip_icmp.h \
6675 netinet/ip_var.h \
6676 netinet/udp.h \
6677 netipx/ipx.h \
6678 sys/un.h \
6680 do :
6681 as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
6682 ac_fn_c_check_header_compile "$LINENO" "$ac_header" "$as_ac_Header" "#include <sys/types.h>
6683 #ifdef HAVE_SYS_SOCKET_H
6684 # include <sys/socket.h>
6685 #endif
6686 #ifdef HAVE_SYS_SOCKETVAR_H
6687 # include <sys/socketvar.h>
6688 #endif
6689 #ifdef HAVE_NET_ROUTE_H
6690 # include <net/route.h>
6691 #endif
6692 #ifdef HAVE_NETINET_IN_H
6693 # include <netinet/in.h>
6694 #endif
6695 #ifdef HAVE_NETINET_IN_SYSTM_H
6696 # include <netinet/in_systm.h>
6697 #endif
6698 #ifdef HAVE_NET_IF_H
6699 # include <net/if.h>
6700 #endif
6701 #ifdef HAVE_NETINET_IP_H
6702 # include <netinet/ip.h>
6703 #endif
6705 if eval test \"x\$"$as_ac_Header"\" = x"yes"; then :
6706 cat >>confdefs.h <<_ACEOF
6707 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
6708 _ACEOF
6712 done
6715 for ac_header in netinet/tcp_timer.h netinet/udp_var.h netinet/icmp_var.h netinet/tcp_var.h
6716 do :
6717 as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
6718 ac_fn_c_check_header_compile "$LINENO" "$ac_header" "$as_ac_Header" "#include <sys/types.h>
6719 #ifdef HAVE_ALIAS_H
6720 # include <alias.h>
6721 #endif
6722 #ifdef HAVE_SYS_SOCKET_H
6723 # include <sys/socket.h>
6724 #endif
6725 #ifdef HAVE_SYS_SOCKETVAR_H
6726 # include <sys/socketvar.h>
6727 #endif
6728 #ifdef HAVE_SYS_TIMEOUT_H
6729 # include <sys/timeout.h>
6730 #endif
6731 #ifdef HAVE_NETINET_IN_H
6732 # include <netinet/in.h>
6733 #endif
6734 #ifdef HAVE_NETINET_IN_SYSTM_H
6735 # include <netinet/in_systm.h>
6736 #endif
6737 #ifdef HAVE_NETINET_IP_H
6738 # include <netinet/ip.h>
6739 #endif
6740 #ifdef HAVE_NETINET_IP_VAR_H
6741 # include <netinet/ip_var.h>
6742 #endif
6743 #ifdef HAVE_NETINET_IP_ICMP_H
6744 # include <netinet/ip_icmp.h>
6745 #endif
6746 #ifdef HAVE_NETINET_UDP_H
6747 # include <netinet/udp.h>
6748 #endif
6749 #ifdef HAVE_NETINET_TCP_H
6750 # include <netinet/tcp.h>
6751 #endif
6752 #ifdef HAVE_NETINET_TCP_TIMER_H
6753 #include <netinet/tcp_timer.h>
6754 #endif
6756 if eval test \"x\$"$as_ac_Header"\" = x"yes"; then :
6757 cat >>confdefs.h <<_ACEOF
6758 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
6759 _ACEOF
6763 done
6766 for ac_header in linux/ipx.h linux/irda.h linux/rtnetlink.h
6767 do :
6768 as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
6769 ac_fn_c_check_header_compile "$LINENO" "$ac_header" "$as_ac_Header" "#include <sys/types.h>
6770 #ifdef HAVE_ASM_TYPES_H
6771 # include <asm/types.h>
6772 #endif
6773 #ifdef HAVE_SYS_SOCKET_H
6774 # include <sys/socket.h>
6775 #endif
6776 #ifdef HAVE_LINUX_TYPES_H
6777 # include <linux/types.h>
6778 #endif
6780 if eval test \"x\$"$as_ac_Header"\" = x"yes"; then :
6781 cat >>confdefs.h <<_ACEOF
6782 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
6783 _ACEOF
6787 done
6790 for ac_header in mach-o/dyld_images.h
6791 do :
6792 ac_fn_c_check_header_compile "$LINENO" "mach-o/dyld_images.h" "ac_cv_header_mach_o_dyld_images_h" "#ifdef HAVE_STDBOOL_H
6793 # include <stdbool.h>
6794 #endif
6795 #ifdef HAVE_STDINT_H
6796 # include <stdint.h>
6797 #endif
6799 if test "x$ac_cv_header_mach_o_dyld_images_h" = xyes; then :
6800 cat >>confdefs.h <<_ACEOF
6801 #define HAVE_MACH_O_DYLD_IMAGES_H 1
6802 _ACEOF
6806 done
6809 for ac_header in resolv.h
6810 do :
6811 ac_fn_c_check_header_compile "$LINENO" "resolv.h" "ac_cv_header_resolv_h" "#include <sys/types.h>
6812 #ifdef HAVE_SYS_SOCKET_H
6813 # include <sys/socket.h>
6814 #endif
6815 #ifdef HAVE_NETINET_IN_H
6816 # include <netinet/in.h>
6817 #endif
6818 #ifdef HAVE_ARPA_NAMESER_H
6819 # include <arpa/nameser.h>
6820 #endif
6822 if test "x$ac_cv_header_resolv_h" = xyes; then :
6823 cat >>confdefs.h <<_ACEOF
6824 #define HAVE_RESOLV_H 1
6825 _ACEOF
6829 done
6832 for ac_header in ifaddrs.h
6833 do :
6834 ac_fn_c_check_header_compile "$LINENO" "ifaddrs.h" "ac_cv_header_ifaddrs_h" "#include <sys/types.h>
6836 if test "x$ac_cv_header_ifaddrs_h" = xyes; then :
6837 cat >>confdefs.h <<_ACEOF
6838 #define HAVE_IFADDRS_H 1
6839 _ACEOF
6843 done
6846 for ac_header in sys/ucontext.h
6847 do :
6848 ac_fn_c_check_header_compile "$LINENO" "sys/ucontext.h" "ac_cv_header_sys_ucontext_h" "#include <signal.h>
6850 if test "x$ac_cv_header_sys_ucontext_h" = xyes; then :
6851 cat >>confdefs.h <<_ACEOF
6852 #define HAVE_SYS_UCONTEXT_H 1
6853 _ACEOF
6857 done
6860 for ac_header in sys/thr.h
6861 do :
6862 ac_fn_c_check_header_compile "$LINENO" "sys/thr.h" "ac_cv_header_sys_thr_h" "#include <sys/types.h>
6863 #ifdef HAVE_SYS_UCONTEXT_H
6864 #include <sys/ucontext.h>
6865 #endif
6867 if test "x$ac_cv_header_sys_thr_h" = xyes; then :
6868 cat >>confdefs.h <<_ACEOF
6869 #define HAVE_SYS_THR_H 1
6870 _ACEOF
6874 done
6877 for ac_header in pthread_np.h
6878 do :
6879 ac_fn_c_check_header_compile "$LINENO" "pthread_np.h" "ac_cv_header_pthread_np_h" "#ifdef HAVE_PTHREAD_H
6880 #include <pthread.h>
6881 #endif
6883 if test "x$ac_cv_header_pthread_np_h" = xyes; then :
6884 cat >>confdefs.h <<_ACEOF
6885 #define HAVE_PTHREAD_NP_H 1
6886 _ACEOF
6890 done
6893 for ac_header in linux/videodev.h linux/videodev2.h libv4l1.h
6894 do :
6895 as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
6896 ac_fn_c_check_header_compile "$LINENO" "$ac_header" "$as_ac_Header" "#ifdef HAVE_SYS_TIME_H
6897 #include <sys/time.h>
6898 #endif
6899 #include <sys/types.h>
6900 #ifdef HAVE_ASM_TYPES_H
6901 #include <asm/types.h>
6902 #endif
6904 if eval test \"x\$"$as_ac_Header"\" = x"yes"; then :
6905 cat >>confdefs.h <<_ACEOF
6906 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
6907 _ACEOF
6911 done
6914 for ac_header in libprocstat.h
6915 do :
6916 ac_fn_c_check_header_compile "$LINENO" "libprocstat.h" "ac_cv_header_libprocstat_h" "#ifdef HAVE_SYS_PARAM_H
6917 #include <sys/param.h>
6918 #endif
6919 #ifdef HAVE_SYS_QUEUE_H
6920 #include <sys/queue.h>
6921 #endif
6922 #ifdef HAVE_SYS_SOCKET_H
6923 #include <sys/socket.h>
6924 #endif
6926 if test "x$ac_cv_header_libprocstat_h" = xyes; then :
6927 cat >>confdefs.h <<_ACEOF
6928 #define HAVE_LIBPROCSTAT_H 1
6929 _ACEOF
6933 done
6937 dlldir="\${libdir}/wine"
6939 DLLPREFIX=""
6941 DLLFLAGS="-D_REENTRANT"
6943 LDRPATH_INSTALL=""
6945 LDRPATH_LOCAL=""
6947 LIBEXT="so"
6948 DLLEXT=".so"
6949 IMPLIBEXT="def"
6950 STATIC_IMPLIBEXT="def.a"
6951 # Extract the first word of "ldd", so it can be a program name with args.
6952 set dummy ldd; ac_word=$2
6953 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6954 $as_echo_n "checking for $ac_word... " >&6; }
6955 if ${ac_cv_path_LDD+:} false; then :
6956 $as_echo_n "(cached) " >&6
6957 else
6958 case $LDD in
6959 [\\/]* | ?:[\\/]*)
6960 ac_cv_path_LDD="$LDD" # Let the user override the test with a path.
6963 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6964 as_dummy="/sbin:/usr/sbin:$PATH"
6965 for as_dir in $as_dummy
6967 IFS=$as_save_IFS
6968 test -z "$as_dir" && as_dir=.
6969 for ac_exec_ext in '' $ac_executable_extensions; do
6970 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
6971 ac_cv_path_LDD="$as_dir/$ac_word$ac_exec_ext"
6972 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6973 break 2
6975 done
6976 done
6977 IFS=$as_save_IFS
6979 test -z "$ac_cv_path_LDD" && ac_cv_path_LDD="true"
6981 esac
6983 LDD=$ac_cv_path_LDD
6984 if test -n "$LDD"; then
6985 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $LDD" >&5
6986 $as_echo "$LDD" >&6; }
6987 else
6988 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6989 $as_echo "no" >&6; }
6993 if test -n "$ac_tool_prefix"; then
6994 # Extract the first word of "${ac_tool_prefix}readelf", so it can be a program name with args.
6995 set dummy ${ac_tool_prefix}readelf; ac_word=$2
6996 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6997 $as_echo_n "checking for $ac_word... " >&6; }
6998 if ${ac_cv_prog_READELF+:} false; then :
6999 $as_echo_n "(cached) " >&6
7000 else
7001 if test -n "$READELF"; then
7002 ac_cv_prog_READELF="$READELF" # Let the user override the test.
7003 else
7004 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7005 for as_dir in $PATH
7007 IFS=$as_save_IFS
7008 test -z "$as_dir" && as_dir=.
7009 for ac_exec_ext in '' $ac_executable_extensions; do
7010 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
7011 ac_cv_prog_READELF="${ac_tool_prefix}readelf"
7012 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
7013 break 2
7015 done
7016 done
7017 IFS=$as_save_IFS
7021 READELF=$ac_cv_prog_READELF
7022 if test -n "$READELF"; then
7023 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $READELF" >&5
7024 $as_echo "$READELF" >&6; }
7025 else
7026 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7027 $as_echo "no" >&6; }
7032 if test -z "$ac_cv_prog_READELF"; then
7033 ac_ct_READELF=$READELF
7034 # Extract the first word of "readelf", so it can be a program name with args.
7035 set dummy readelf; ac_word=$2
7036 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7037 $as_echo_n "checking for $ac_word... " >&6; }
7038 if ${ac_cv_prog_ac_ct_READELF+:} false; then :
7039 $as_echo_n "(cached) " >&6
7040 else
7041 if test -n "$ac_ct_READELF"; then
7042 ac_cv_prog_ac_ct_READELF="$ac_ct_READELF" # Let the user override the test.
7043 else
7044 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7045 for as_dir in $PATH
7047 IFS=$as_save_IFS
7048 test -z "$as_dir" && as_dir=.
7049 for ac_exec_ext in '' $ac_executable_extensions; do
7050 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
7051 ac_cv_prog_ac_ct_READELF="readelf"
7052 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
7053 break 2
7055 done
7056 done
7057 IFS=$as_save_IFS
7061 ac_ct_READELF=$ac_cv_prog_ac_ct_READELF
7062 if test -n "$ac_ct_READELF"; then
7063 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_READELF" >&5
7064 $as_echo "$ac_ct_READELF" >&6; }
7065 else
7066 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7067 $as_echo "no" >&6; }
7070 if test "x$ac_ct_READELF" = x; then
7071 READELF="true"
7072 else
7073 case $cross_compiling:$ac_tool_warned in
7074 yes:)
7075 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
7076 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
7077 ac_tool_warned=yes ;;
7078 esac
7079 READELF=$ac_ct_READELF
7081 else
7082 READELF="$ac_cv_prog_READELF"
7085 wine_rules_file=conf$$rules.make
7086 rm -f $wine_rules_file
7087 ALL_POT_FILES=""
7088 GITIGNORE="# Automatically generated by configure; DO NOT EDIT!!"
7089 ALL_TEST_RESOURCES=""
7092 wine_fn_append_file ()
7094 as_fn_append $1 " \\$as_nl $2"
7097 wine_fn_ignore_file ()
7099 case "$1" in
7100 */*) as_fn_append GITIGNORE "$as_nl$1" ;;
7101 \**) as_fn_append GITIGNORE "$as_nl$1" ;;
7102 *) as_fn_append GITIGNORE "$as_nl/$1" ;;
7103 esac
7106 wine_fn_append_rule ()
7108 $as_echo "$1" >>$wine_rules_file
7111 wine_fn_has_flag ()
7113 expr ",$ac_flags," : ".*,$1,.*" >/dev/null
7116 wine_fn_depend_rules ()
7118 wine_fn_append_rule \
7119 "$ac_dir/Makefile: $srcdir/$ac_dir/Makefile.in $srcdir/Make.vars.in config.status \$(MAKEDEP)
7120 @./config.status --file $ac_dir/Makefile:Make.vars.in:$ac_dir/Makefile.in && \$(MAKEDEP) $ac_dir
7121 depend: $ac_dir/depend
7122 .PHONY: $ac_dir/depend
7123 $ac_dir/depend: \$(MAKEDEP) dummy
7124 @./config.status --file $ac_dir/Makefile:Make.vars.in:$ac_dir/Makefile.in && \$(MAKEDEP) $ac_dir"
7127 wine_fn_pot_rules ()
7129 test "x$with_gettextpo" = xyes || return
7131 if wine_fn_has_flag mc
7132 then
7133 wine_fn_append_file ALL_POT_FILES $ac_dir/msg.pot
7134 wine_fn_append_rule \
7135 "$ac_dir/msg.pot: $ac_dir/Makefile dummy
7136 @cd $ac_dir && \$(MAKE) msg.pot
7137 $ac_dir/msg.pot: tools/wmc include"
7139 if wine_fn_has_flag po
7140 then
7141 wine_fn_append_file ALL_POT_FILES $ac_dir/rsrc.pot
7142 wine_fn_append_rule \
7143 "$ac_dir/rsrc.pot: $ac_dir/Makefile dummy
7144 @cd $ac_dir && \$(MAKE) rsrc.pot
7145 $ac_dir/rsrc.pot: tools/wrc include"
7149 wine_fn_all_rules ()
7151 wine_fn_depend_rules
7152 wine_fn_append_rule \
7153 "all: $ac_dir
7154 .PHONY: $ac_dir
7155 $ac_dir: $ac_dir/Makefile dummy
7156 @cd $ac_dir && \$(MAKE)"
7159 wine_fn_install_rules ()
7161 wine_fn_has_flag install-lib || wine_fn_has_flag install-dev || return
7163 wine_fn_append_rule \
7164 ".PHONY: $ac_dir/install $ac_dir/uninstall
7165 $ac_dir/install:: $ac_dir
7166 @cd $ac_dir && \$(MAKE) install
7167 $ac_dir/uninstall:: $ac_dir/Makefile
7168 @cd $ac_dir && \$(MAKE) uninstall
7169 install:: $ac_dir/install
7170 __uninstall__: $ac_dir/uninstall"
7172 if wine_fn_has_flag install-lib
7173 then
7174 wine_fn_append_rule \
7175 ".PHONY: $ac_dir/install-lib
7176 $ac_dir/install-lib:: $ac_dir
7177 @cd $ac_dir && \$(MAKE) install-lib
7178 install-lib:: $ac_dir/install-lib"
7181 if wine_fn_has_flag install-dev
7182 then
7183 wine_fn_append_rule \
7184 ".PHONY: $ac_dir/install-dev
7185 $ac_dir/install-dev:: $ac_dir
7186 @cd $ac_dir && \$(MAKE) install-dev
7187 install-dev:: $ac_dir/install-dev"
7191 wine_fn_clean_rules ()
7193 ac_clean=$@
7194 ac_extraclean="$ac_dir/Makefile"
7195 test "$srcdir" = . && ac_extraclean="$ac_extraclean $ac_dir/.gitignore"
7196 case $ac_dir in
7197 */tests) ac_extraclean="$ac_extraclean $ac_dir/testlist.c" ;;
7198 esac
7200 if wine_fn_has_flag clean
7201 then
7202 wine_fn_append_rule \
7203 "__clean__: $ac_dir/clean
7204 .PHONY: $ac_dir/clean
7205 $ac_dir/clean: $ac_dir/Makefile
7206 @cd $ac_dir && \$(MAKE) clean
7207 \$(RM) $ac_extraclean"
7208 else
7209 wine_fn_append_rule \
7210 "__clean__: $ac_dir/clean
7211 .PHONY: $ac_dir/clean
7212 $ac_dir/clean: dummy
7213 \$(RM) \$(CLEAN_FILES:%=$ac_dir/%) $ac_clean $ac_extraclean"
7217 wine_fn_disabled_rules ()
7219 ac_clean=$@
7220 ac_extraclean="$ac_dir/Makefile"
7221 test "$srcdir" = . && ac_extraclean="$ac_extraclean $ac_dir/.gitignore"
7223 wine_fn_append_rule \
7224 "__clean__: $ac_dir/clean
7225 .PHONY: $ac_dir/clean
7226 $ac_dir/clean: dummy
7227 \$(RM) \$(CLEAN_FILES:%=$ac_dir/%) $ac_clean $ac_extraclean"
7230 wine_fn_config_makefile ()
7232 ac_dir=$1
7233 ac_enable=$2
7234 ac_flags=$3
7236 if eval test \"x\$"$ac_enable"\" = x"no"; then :
7237 wine_fn_disabled_rules; return
7239 wine_fn_all_rules
7240 wine_fn_install_rules
7241 wine_fn_clean_rules
7244 wine_fn_config_lib ()
7246 ac_name=$1
7247 ac_flags=$2
7248 ac_dir=dlls/$ac_name
7249 ac_deps="include"
7251 if test "x$enable_tools" = xno; then :
7253 else
7254 ac_deps="tools/widl tools/winebuild tools/winegcc $ac_deps"
7256 wine_fn_all_rules
7257 wine_fn_clean_rules
7259 wine_fn_append_rule \
7260 ".PHONY: $ac_dir/install $ac_dir/uninstall
7261 $ac_dir/install:: $ac_dir
7262 \$(INSTALL_DATA) $ac_dir/lib$ac_name.a \$(DESTDIR)\$(dlldir)/lib$ac_name.a
7263 $ac_dir/uninstall::
7264 \$(RM) \$(DESTDIR)\$(dlldir)/lib$ac_name.a
7265 install install-dev:: $ac_dir/install
7266 __uninstall__: $ac_dir/uninstall
7267 __builddeps__: $ac_dir
7268 $ac_dir: $ac_deps"
7271 wine_fn_config_dll ()
7273 ac_name=$1
7274 ac_dir=dlls/$ac_name
7275 ac_enable=$2
7276 ac_flags=$3
7277 ac_implib=${4:-$ac_name}
7278 ac_file=$ac_dir/lib$ac_implib
7279 ac_dll=$ac_name
7280 ac_deps="include"
7281 ac_implibflags=""
7283 if test "x$enable_tools" = xno; then :
7285 else
7286 ac_deps="tools/widl tools/winebuild tools/winegcc $ac_deps"
7288 case $ac_name in
7289 *16) ac_implibflags=" -m16" ;;
7290 *.*) ;;
7291 *) ac_dll=$ac_dll.dll ;;
7292 esac
7294 ac_clean=
7295 wine_fn_has_flag implib && ac_clean="$ac_clean $ac_file.$IMPLIBEXT"
7296 wine_fn_has_flag mc && ac_clean="$ac_clean $ac_dir/msg.pot"
7297 wine_fn_has_flag po && ac_clean="$ac_clean $ac_dir/rsrc.pot"
7298 test -n "$DLLEXT" || ac_clean="$ac_clean $ac_dir/$ac_dll"
7300 if eval test \"x\$"$ac_enable"\" = x"no"; then :
7301 if wine_fn_has_flag implib && test "$ac_enable" != enable_win16
7302 then
7303 wine_fn_depend_rules
7304 wine_fn_clean_rules $ac_clean
7305 else
7306 wine_fn_disabled_rules $ac_clean
7307 return
7309 else
7310 wine_fn_all_rules
7311 wine_fn_clean_rules $ac_clean
7312 wine_fn_append_rule \
7313 "$ac_dir: __builddeps__
7314 manpages htmlpages sgmlpages xmlpages:: $ac_dir/Makefile
7315 @cd $ac_dir && \$(MAKE) \$@
7316 .PHONY: $ac_dir/install-lib $ac_dir/uninstall
7317 install install-lib:: $ac_dir/install-lib
7318 __uninstall__: $ac_dir/uninstall"
7319 if test -n "$DLLEXT"
7320 then
7321 wine_fn_append_rule \
7322 "$ac_dir/install-lib:: $ac_dir
7323 \$(INSTALL_PROGRAM) $ac_dir/$ac_dll$DLLEXT \$(DESTDIR)\$(dlldir)/$DLLPREFIX$ac_dll$DLLEXT
7324 \$(INSTALL_DATA) $ac_dir/$ac_dll.fake \$(DESTDIR)\$(fakedlldir)/$ac_dll
7325 $ac_dir/uninstall::
7326 \$(RM) \$(DESTDIR)\$(dlldir)/$DLLPREFIX$ac_dll$DLLEXT \$(DESTDIR)\$(fakedlldir)/$ac_dll"
7327 else
7328 wine_fn_append_rule \
7329 "$ac_dir/install-lib:: $ac_dir
7330 \$(INSTALL_PROGRAM) $ac_dir/$ac_dll \$(DESTDIR)\$(dlldir)/$ac_dll
7331 $ac_dir/uninstall::
7332 \$(RM) \$(DESTDIR)\$(dlldir)/$ac_dll"
7335 wine_fn_pot_rules
7338 if wine_fn_has_flag staticimplib
7339 then
7340 wine_fn_append_rule \
7341 "__builddeps__: $ac_file.$IMPLIBEXT $ac_file.$STATIC_IMPLIBEXT
7342 $ac_file.$IMPLIBEXT $ac_file.$STATIC_IMPLIBEXT $ac_file.cross.a: $ac_deps
7343 $ac_file.def: $srcdir/$ac_dir/$ac_name.spec $ac_dir/Makefile \$(WINEBUILD)
7344 \$(WINEBUILD) \$(TARGETFLAGS)$ac_implibflags -w --def -o \$@ --export $srcdir/$ac_dir/$ac_name.spec
7345 $ac_file.$STATIC_IMPLIBEXT: $ac_dir/Makefile dummy
7346 @cd $ac_dir && \$(MAKE) lib$ac_implib.$STATIC_IMPLIBEXT
7347 .PHONY: $ac_dir/install-dev $ac_dir/uninstall
7348 $ac_dir/install-dev:: $ac_file.$IMPLIBEXT
7349 \$(INSTALL_DATA) $ac_file.$IMPLIBEXT \$(DESTDIR)\$(dlldir)/lib$ac_implib.$IMPLIBEXT
7350 $ac_dir/uninstall::
7351 \$(RM) \$(DESTDIR)\$(dlldir)/lib$ac_implib.$IMPLIBEXT
7352 install install-dev:: $ac_dir/install-dev
7353 __uninstall__: $ac_dir/uninstall"
7355 if test "$IMPLIBEXT" != "$STATIC_IMPLIBEXT"
7356 then
7357 wine_fn_append_rule \
7358 "$ac_dir/install-dev:: $ac_file.$STATIC_IMPLIBEXT __builddeps__
7359 \$(INSTALL_DATA) $ac_file.$STATIC_IMPLIBEXT \$(DESTDIR)\$(dlldir)/lib$ac_implib.$STATIC_IMPLIBEXT
7360 $ac_dir/uninstall::
7361 \$(RM) \$(DESTDIR)\$(dlldir)/lib$ac_implib.$STATIC_IMPLIBEXT"
7364 if test -n "$CROSSTARGET" -a -z "$ac_implibflags"
7365 then
7366 wine_fn_append_rule \
7367 "__builddeps__: $ac_file.cross.a
7368 $ac_file.cross.a: $ac_dir/Makefile dummy
7369 @cd $ac_dir && \$(MAKE) lib$ac_implib.cross.a"
7372 elif wine_fn_has_flag implib
7373 then
7374 wine_fn_append_rule \
7375 "__builddeps__: $ac_file.$IMPLIBEXT
7376 $ac_file.def: $srcdir/$ac_dir/$ac_name.spec $ac_dir/Makefile \$(WINEBUILD)
7377 \$(WINEBUILD) \$(TARGETFLAGS)$ac_implibflags -w --def -o \$@ --export $srcdir/$ac_dir/$ac_name.spec
7378 $ac_file.a: $srcdir/$ac_dir/$ac_name.spec $ac_dir/Makefile \$(WINEBUILD)
7379 \$(WINEBUILD) \$(TARGETFLAGS)$ac_implibflags -w --implib -o \$@ --export $srcdir/$ac_dir/$ac_name.spec
7380 .PHONY: $ac_dir/install-dev $ac_dir/uninstall
7381 $ac_dir/install-dev:: $ac_file.$IMPLIBEXT
7382 \$(INSTALL_DATA) $ac_file.$IMPLIBEXT \$(DESTDIR)\$(dlldir)/lib$ac_implib.$IMPLIBEXT
7383 $ac_dir/uninstall::
7384 \$(RM) \$(DESTDIR)\$(dlldir)/lib$ac_implib.$IMPLIBEXT
7385 install install-dev:: $ac_dir/install-dev
7386 __uninstall__: $ac_dir/uninstall"
7387 if test -n "$CROSSTARGET" -a -z "$ac_implibflags"
7388 then
7389 wine_fn_append_rule \
7390 "__builddeps__: $ac_file.cross.a
7391 $ac_file.cross.a: $srcdir/$ac_dir/$ac_name.spec $ac_dir/Makefile \$(WINEBUILD)
7392 \$(WINEBUILD) \$(CROSSTARGET:%=-b %)$ac_implibflags -w --implib -o \$@ --export $srcdir/$ac_dir/$ac_name.spec"
7395 if test "$ac_name" != "$ac_implib"
7396 then
7397 wine_fn_append_rule \
7398 "__builddeps__: dlls/lib$ac_implib.$IMPLIBEXT
7399 dlls/lib$ac_implib.$IMPLIBEXT: $ac_file.$IMPLIBEXT
7400 \$(RM) \$@ && \$(LN_S) $ac_name/lib$ac_implib.$IMPLIBEXT \$@
7401 clean::
7402 \$(RM) dlls/lib$ac_implib.$IMPLIBEXT"
7403 wine_fn_ignore_file "dlls/lib$ac_implib.$IMPLIBEXT"
7404 if test -n "$CROSSTARGET" -a -z "$ac_implibflags"
7405 then
7406 wine_fn_append_rule \
7407 "__builddeps__: dlls/lib$ac_implib.cross.a
7408 dlls/lib$ac_implib.cross.a: $ac_file.cross.a
7409 \$(RM) \$@ && \$(LN_S) $ac_name/lib$ac_implib.cross.a \$@
7410 clean::
7411 \$(RM) dlls/lib$ac_implib.cross.a"
7412 wine_fn_ignore_file "dlls/lib$ac_implib.cross.a"
7418 wine_fn_config_program ()
7420 ac_name=$1
7421 ac_dir=programs/$ac_name
7422 ac_enable=$2
7423 ac_flags=$3
7424 ac_program=$ac_name
7426 case $ac_name in
7427 *.*) ;;
7428 *) ac_program=$ac_program.exe ;;
7429 esac
7431 ac_clean=
7432 wine_fn_has_flag mc && ac_clean="$ac_clean $ac_dir/msg.pot"
7433 wine_fn_has_flag po && ac_clean="$ac_clean $ac_dir/rsrc.pot"
7434 wine_fn_has_flag manpage && ac_clean="$ac_clean $ac_dir/$ac_name.man"
7435 test -n "$DLLEXT" || ac_clean="$ac_clean $ac_dir/$ac_program"
7437 if eval test \"x\$"$ac_enable"\" = x"no"; then :
7438 wine_fn_disabled_rules $ac_clean; return
7441 wine_fn_all_rules
7442 wine_fn_clean_rules $ac_clean
7443 wine_fn_append_rule "$ac_dir: __builddeps__"
7444 wine_fn_pot_rules
7446 wine_fn_has_flag install || return
7447 wine_fn_append_rule \
7448 ".PHONY: $ac_dir/install $ac_dir/uninstall
7449 install install-lib:: $ac_dir/install
7450 __uninstall__: $ac_dir/uninstall"
7452 if test -n "$DLLEXT"
7453 then
7454 wine_fn_append_rule \
7455 "$ac_dir/install:: $ac_dir
7456 \$(INSTALL_PROGRAM) $ac_dir/$ac_program$DLLEXT \$(DESTDIR)\$(dlldir)/$DLLPREFIX$ac_program$DLLEXT
7457 \$(INSTALL_DATA) $ac_dir/$ac_program.fake \$(DESTDIR)\$(fakedlldir)/$ac_program
7458 $ac_dir/uninstall::
7459 \$(RM) \$(DESTDIR)\$(dlldir)/$DLLPREFIX$ac_program$DLLEXT \$(DESTDIR)\$(fakedlldir)/$ac_program"
7461 if test -z "$with_wine64" && wine_fn_has_flag installbin
7462 then
7463 wine_fn_append_rule \
7464 "$ac_dir/install:: __tooldeps__
7465 \$(INSTALL_SCRIPT) \$(TOOLSDIR)/tools/wineapploader \$(DESTDIR)\$(bindir)/$ac_name
7466 $ac_dir/uninstall::
7467 \$(RM) \$(DESTDIR)\$(bindir)/$ac_name"
7469 else
7470 wine_fn_append_rule \
7471 "$ac_dir/install:: $ac_dir
7472 \$(INSTALL_PROGRAM) $ac_dir/$ac_program \$(DESTDIR)\$(bindir)/$ac_program
7473 $ac_dir/uninstall::
7474 \$(RM) \$(DESTDIR)\$(bindir)/$ac_program"
7477 if test -z "$with_wine64" && wine_fn_has_flag manpage
7478 then
7479 wine_fn_append_rule \
7480 "$ac_dir/install:: $ac_dir
7481 \$(INSTALL_DATA) $ac_dir/$ac_name.man \$(DESTDIR)\$(mandir)/man\$(prog_manext)/$ac_name.\$(prog_manext)
7482 $ac_dir/uninstall::
7483 \$(RM) \$(DESTDIR)\$(mandir)/man\$(prog_manext)/$ac_name.\$(prog_manext)"
7487 wine_fn_config_test ()
7489 ac_dir=$1
7490 ac_name=$2
7491 ac_flags=$3
7493 ac_clean=
7494 test -n "$CROSSTARGET" && ac_clean=`expr $ac_dir/${ac_name} : "\\(.*\\)_test"`_crosstest.exe
7495 test -n "$DLLEXT" || ac_clean="$ac_dir/${ac_name}.exe $ac_dir/${ac_name}-stripped.exe"
7497 if test "x$enable_tests" = xno; then :
7498 wine_fn_disabled_rules $ac_clean; return
7501 wine_fn_append_file ALL_TEST_RESOURCES $ac_name.res
7502 wine_fn_all_rules
7503 wine_fn_clean_rules $ac_clean
7505 wine_fn_append_rule \
7506 "$ac_dir: programs/winetest/Makefile __builddeps__
7507 programs/winetest: $ac_dir
7508 check test: $ac_dir/test
7509 .PHONY: $ac_dir/test
7510 $ac_dir/test: dummy
7511 @cd $ac_dir && \$(MAKE) test
7512 testclean::
7513 \$(RM) $ac_dir/*.ok"
7515 if test -n "$CROSSTARGET"
7516 then
7517 wine_fn_append_rule \
7518 "crosstest: $ac_dir/crosstest
7519 .PHONY: $ac_dir/crosstest
7520 $ac_dir/crosstest: $ac_dir/Makefile __builddeps__ dummy
7521 @cd $ac_dir && \$(MAKE) crosstest"
7525 wine_fn_config_tool ()
7527 ac_dir=$1
7528 ac_flags=$2
7529 if test "x$enable_tools" = xno; then :
7530 return
7533 wine_fn_all_rules
7534 wine_fn_install_rules
7535 wine_fn_clean_rules
7537 wine_fn_append_rule "__tooldeps__: $ac_dir"
7538 wine_fn_append_rule "$ac_dir: libs/port"
7539 case $ac_dir in
7540 tools/winebuild) wine_fn_append_rule "\$(WINEBUILD): $ac_dir" ;;
7541 esac
7544 wine_fn_config_symlink ()
7546 ac_linkdir=
7547 if test "x$1" = "x-d"
7548 then
7549 ac_linkdir=$2
7550 shift; shift
7552 ac_links=$@
7553 wine_fn_append_rule \
7554 "$ac_links:
7555 @./config.status \$@
7556 distclean::
7557 \$(RM) $ac_links"
7558 for f in $ac_links; do wine_fn_ignore_file $f; done
7559 test -n "$ac_linkdir" || return
7560 wine_fn_append_rule "$ac_linkdir/Makefile $ac_linkdir/depend: $ac_links"
7563 wine_binary="wine"
7564 test "x$enable_win64" != "xyes" || wine_binary="wine64"
7565 loader_programs="$wine_binary wine-installed"
7566 libwine_soversion=`expr $libwine_version : '\([0-9]*\)\..*'`
7568 LOADER_RULES="
7569 all: wine.inf
7571 install install-lib:: wine-installed
7572 \$(INSTALL_PROGRAM) wine-installed \$(DESTDIR)\$(bindir)/$wine_binary
7574 uninstall::
7575 \$(RM) \$(DESTDIR)\$(bindir)/$wine_binary
7579 case $host_os in
7580 cygwin*|mingw32*)
7581 if test -n "$ac_tool_prefix"; then
7582 # Extract the first word of "${ac_tool_prefix}dlltool", so it can be a program name with args.
7583 set dummy ${ac_tool_prefix}dlltool; ac_word=$2
7584 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7585 $as_echo_n "checking for $ac_word... " >&6; }
7586 if ${ac_cv_prog_DLLTOOL+:} false; then :
7587 $as_echo_n "(cached) " >&6
7588 else
7589 if test -n "$DLLTOOL"; then
7590 ac_cv_prog_DLLTOOL="$DLLTOOL" # Let the user override the test.
7591 else
7592 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7593 for as_dir in $PATH
7595 IFS=$as_save_IFS
7596 test -z "$as_dir" && as_dir=.
7597 for ac_exec_ext in '' $ac_executable_extensions; do
7598 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
7599 ac_cv_prog_DLLTOOL="${ac_tool_prefix}dlltool"
7600 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
7601 break 2
7603 done
7604 done
7605 IFS=$as_save_IFS
7609 DLLTOOL=$ac_cv_prog_DLLTOOL
7610 if test -n "$DLLTOOL"; then
7611 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $DLLTOOL" >&5
7612 $as_echo "$DLLTOOL" >&6; }
7613 else
7614 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7615 $as_echo "no" >&6; }
7620 if test -z "$ac_cv_prog_DLLTOOL"; then
7621 ac_ct_DLLTOOL=$DLLTOOL
7622 # Extract the first word of "dlltool", so it can be a program name with args.
7623 set dummy dlltool; ac_word=$2
7624 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7625 $as_echo_n "checking for $ac_word... " >&6; }
7626 if ${ac_cv_prog_ac_ct_DLLTOOL+:} false; then :
7627 $as_echo_n "(cached) " >&6
7628 else
7629 if test -n "$ac_ct_DLLTOOL"; then
7630 ac_cv_prog_ac_ct_DLLTOOL="$ac_ct_DLLTOOL" # Let the user override the test.
7631 else
7632 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7633 for as_dir in $PATH
7635 IFS=$as_save_IFS
7636 test -z "$as_dir" && as_dir=.
7637 for ac_exec_ext in '' $ac_executable_extensions; do
7638 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
7639 ac_cv_prog_ac_ct_DLLTOOL="dlltool"
7640 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
7641 break 2
7643 done
7644 done
7645 IFS=$as_save_IFS
7649 ac_ct_DLLTOOL=$ac_cv_prog_ac_ct_DLLTOOL
7650 if test -n "$ac_ct_DLLTOOL"; then
7651 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_DLLTOOL" >&5
7652 $as_echo "$ac_ct_DLLTOOL" >&6; }
7653 else
7654 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7655 $as_echo "no" >&6; }
7658 if test "x$ac_ct_DLLTOOL" = x; then
7659 DLLTOOL="false"
7660 else
7661 case $cross_compiling:$ac_tool_warned in
7662 yes:)
7663 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
7664 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
7665 ac_tool_warned=yes ;;
7666 esac
7667 DLLTOOL=$ac_ct_DLLTOOL
7669 else
7670 DLLTOOL="$ac_cv_prog_DLLTOOL"
7673 LIBEXT="dll"
7674 DLLEXT=""
7675 IMPLIBEXT="a"
7676 STATIC_IMPLIBEXT="a"
7677 enable_iphlpapi=${enable_iphlpapi:-no}
7678 enable_kernel32=${enable_kernel32:-no}
7679 enable_msvcrt=${enable_msvcrt:-no}
7680 enable_ntdll=${enable_ntdll:-no}
7681 enable_ws2_32=${enable_ws2_32:-no}
7682 enable_loader=${enable_loader:-no}
7683 enable_server=${enable_server:-no}
7684 with_x=${with_x:-no}
7685 with_pthread=${with_pthread:-no}
7687 crtlibs=""
7688 case $host_os in
7689 mingw32*)
7690 crtlibs="-lmsvcrt"
7691 SOCKET_LIBS="-L\$(top_builddir)/dlls/ws2_32 -lws2_32"
7693 esac
7695 libwine_targets="libwine.dll libwine.a"
7696 LIBWINE_RULES="
7697 OBJS = \$(C_SRCS:.c=.o) \$(EXTRA_OBJS)
7699 all: libwine.dll libwine.a
7701 libwine.a: \$(srcdir)/wine.def
7702 \$(DLLTOOL) -l \$@ -d \$(srcdir)/wine.def
7704 libwine.dll: \$(OBJS) \$(srcdir)/wine.def
7705 \$(CC) -shared \$(srcdir)/wine.def -o \$@ \$(OBJS) $crtlibs \$(EXTRALIBS)
7707 install install-lib:: libwine.dll
7708 \$(INSTALL_DATA) libwine.dll \$(DESTDIR)\$(libdir)/libwine.dll
7710 install install-dev:: libwine.a
7711 \$(INSTALL_DATA) libwine.a \$(DESTDIR)\$(libdir)/libwine.a
7713 uninstall::
7714 -cd \$(DESTDIR)\$(libdir) && \$(RM) libwine.a libwine.dll
7719 darwin*|macosx*)
7720 LIBEXT="dylib"
7721 DLLFLAGS="$DLLFLAGS -fPIC"
7722 LIBWINE_LDFLAGS="-multiply_defined suppress"
7723 LDRPATH_INSTALL="-Wl,-rpath,@loader_path/\`\$(MAKEDEP) -R \$(bindir) \$(libdir)\`"
7724 LDRPATH_LOCAL="-Wl,-rpath,@loader_path/\$(top_builddir)/libs/wine"
7725 COREFOUNDATION_LIBS="-framework CoreFoundation"
7727 IOKIT_LIBS="-framework IOKit -framework CoreFoundation"
7729 FORCEFEEDBACK_LIBS="-framework ForceFeedback -framework CoreFoundation"
7731 APPLICATIONSERVICES_LIBS="-framework ApplicationServices"
7733 CORESERVICES_LIBS="-framework CoreServices"
7735 APPKIT_LIBS="-framework AppKit"
7737 LDEXECFLAGS="-image_base 0x7bf00000 -Wl,-segaddr,WINE_DOS,0x00001000,-segaddr,WINE_SHAREDHEAP,0x7f000000,-sectcreate,__TEXT,__info_plist,wine_info.plist"
7738 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wl,-no_pie" >&5
7739 $as_echo_n "checking whether the compiler supports -Wl,-no_pie... " >&6; }
7740 if ${ac_cv_cflags__Wl__no_pie+:} false; then :
7741 $as_echo_n "(cached) " >&6
7742 else
7743 ac_wine_try_cflags_saved=$CFLAGS
7744 CFLAGS="$CFLAGS -Wl,-no_pie"
7745 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
7746 /* end confdefs.h. */
7747 int main(int argc, char **argv) { return 0; }
7748 _ACEOF
7749 if ac_fn_c_try_link "$LINENO"; then :
7750 ac_cv_cflags__Wl__no_pie=yes
7751 else
7752 ac_cv_cflags__Wl__no_pie=no
7754 rm -f core conftest.err conftest.$ac_objext \
7755 conftest$ac_exeext conftest.$ac_ext
7756 CFLAGS=$ac_wine_try_cflags_saved
7758 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wl__no_pie" >&5
7759 $as_echo "$ac_cv_cflags__Wl__no_pie" >&6; }
7760 if test "x$ac_cv_cflags__Wl__no_pie" = xyes; then :
7761 LDEXECFLAGS="-Wl,-no_pie $LDEXECFLAGS"
7763 if test "$ac_cv_header_DiskArbitration_DiskArbitration_h" = "yes"
7764 then
7765 DISKARBITRATION_LIBS="-framework DiskArbitration -framework CoreFoundation"
7768 if test "$ac_cv_header_Security_Security_h" = "yes"
7769 then
7770 SECURITY_LIBS="-framework Security -framework CoreFoundation"
7772 ac_save_LIBS="$LIBS"
7773 LIBS="$LIBS $SECURITY_LIBS"
7774 for ac_func in SSLCopyPeerCertificates
7775 do :
7776 ac_fn_c_check_func "$LINENO" "SSLCopyPeerCertificates" "ac_cv_func_SSLCopyPeerCertificates"
7777 if test "x$ac_cv_func_SSLCopyPeerCertificates" = xyes; then :
7778 cat >>confdefs.h <<_ACEOF
7779 #define HAVE_SSLCOPYPEERCERTIFICATES 1
7780 _ACEOF
7783 done
7785 LIBS="$ac_save_LIBS"
7786 with_gnutls=${with_gnutls:-no}
7788 if test "$ac_cv_header_CoreAudio_CoreAudio_h" = "yes" -a "$ac_cv_header_AudioUnit_AudioUnit_h" = "yes"
7789 then
7790 if test "$ac_cv_header_AudioUnit_AudioComponent_h" = "yes"
7791 then
7792 COREAUDIO_LIBS="-framework CoreFoundation -framework CoreAudio -framework AudioUnit -framework AudioToolbox -framework CoreMIDI"
7794 else
7795 COREAUDIO_LIBS="-framework CoreAudio -framework AudioUnit -framework CoreServices -framework AudioToolbox -framework CoreMIDI"
7798 ac_save_LIBS="$LIBS"
7799 LIBS="$LIBS $COREAUDIO_LIBS"
7800 for ac_func in AUGraphAddNode
7801 do :
7802 ac_fn_c_check_func "$LINENO" "AUGraphAddNode" "ac_cv_func_AUGraphAddNode"
7803 if test "x$ac_cv_func_AUGraphAddNode" = xyes; then :
7804 cat >>confdefs.h <<_ACEOF
7805 #define HAVE_AUGRAPHADDNODE 1
7806 _ACEOF
7809 done
7811 LIBS="$ac_save_LIBS"
7813 if test "$ac_cv_header_OpenAL_al_h" = "yes"
7814 then
7815 OPENAL_LIBS="-framework OpenAL"
7818 cat >>confdefs.h <<_ACEOF
7819 #define HAVE_OPENAL 1
7820 _ACEOF
7822 ac_cv_lib_openal=yes
7824 if test "$ac_cv_header_OpenCL_opencl_h" = "yes"
7825 then
7826 OPENCL_LIBS="-framework OpenCL"
7828 ac_cv_lib_OpenCL_clGetPlatformInfo=yes
7830 if test "$ac_cv_header_IOKit_hid_IOHIDLib_h" = "yes"
7831 then
7832 ac_save_LIBS="$LIBS"
7833 LIBS="$LIBS $IOKIT_LIBS"
7834 for ac_func in IOHIDManagerCreate
7835 do :
7836 ac_fn_c_check_func "$LINENO" "IOHIDManagerCreate" "ac_cv_func_IOHIDManagerCreate"
7837 if test "x$ac_cv_func_IOHIDManagerCreate" = xyes; then :
7838 cat >>confdefs.h <<_ACEOF
7839 #define HAVE_IOHIDMANAGERCREATE 1
7840 _ACEOF
7843 done
7845 LIBS="$ac_save_LIBS"
7847 if test "$ac_cv_header_QuickTime_ImageCompression_h" = "yes"
7848 then
7849 QUICKTIME_LIBS="-framework QuickTime -framework ApplicationServices -framework CoreVideo"
7851 enable_wineqtdecoder=${enable_wineqtdecoder:-yes}
7852 else
7853 as_fn_append wine_notices "|QuickTime ${notice_platform}development files not found, video decoding won't be supported."
7855 if test "$ac_cv_header_Carbon_Carbon_h" = "yes"
7856 then
7857 CARBON_LIBS="-framework Carbon"
7861 if test "$ac_cv_header_ApplicationServices_ApplicationServices_h" = "yes"
7862 then
7863 ac_save_LIBS="$LIBS"
7864 LIBS="$LIBS $APPLICATIONSERVICES_LIBS"
7865 ac_fn_c_check_func "$LINENO" "CGDisplayModeGetWidth" "ac_cv_func_CGDisplayModeGetWidth"
7866 if test "x$ac_cv_func_CGDisplayModeGetWidth" = xyes; then :
7867 enable_winemac_drv=${enable_winemac_drv:-yes}
7870 LIBS="$ac_save_LIBS"
7873 if test "x$enable_win16" = "xyes"
7874 then
7875 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether 16-bit code can be built correctly" >&5
7876 $as_echo_n "checking whether 16-bit code can be built correctly... " >&6; }
7877 if test "$cross_compiling" = yes; then :
7878 { $as_echo "$as_me:${as_lineno-$LINENO}: result: cross-compiling, assuming yes" >&5
7879 $as_echo "cross-compiling, assuming yes" >&6; }
7880 else
7881 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
7882 /* end confdefs.h. */
7883 asm(".text\n"
7884 "bad:\tnop;nop\n"
7885 "good:\tnop;nop\n\t"
7886 ".globl _testfunc\n"
7887 "_testfunc:\tcallw good");
7888 extern void testfunc();
7890 main ()
7892 unsigned short *p = (unsigned short *)testfunc;
7893 return p[0] != 0xe866 || p[1] != 0xfffa
7895 return 0;
7897 _ACEOF
7898 if ac_fn_c_try_run "$LINENO"; then :
7899 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
7900 $as_echo "yes" >&6; }
7901 else
7902 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7903 $as_echo "no" >&6; }
7904 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
7906 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \
7907 conftest.$ac_objext conftest.beam conftest.$ac_ext
7912 libwine_targets="libwine.dylib libwine.$libwine_soversion.dylib libwine.$libwine_version.dylib"
7913 LIBWINE_RULES="
7914 OBJS = \$(C_SRCS:.c=.o) \$(EXTRA_OBJS)
7916 all: libwine.dylib
7918 libwine.$libwine_version.dylib: \$(OBJS)
7919 \$(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 \$@
7921 libwine.$libwine_soversion.dylib: libwine.$libwine_version.dylib
7922 \$(RM) \$@ && \$(LN_S) libwine.$libwine_version.dylib \$@
7924 libwine.dylib: libwine.$libwine_soversion.dylib
7925 \$(RM) \$@ && \$(LN_S) libwine.$libwine_soversion.dylib \$@
7927 install install-lib:: libwine.$libwine_version.dylib
7928 \$(INSTALL_PROGRAM) libwine.$libwine_version.dylib \$(DESTDIR)\$(libdir)/libwine.$libwine_version.dylib
7929 cd \$(DESTDIR)\$(libdir) && \$(RM) libwine.$libwine_soversion.dylib && \$(LN_S) libwine.$libwine_version.dylib libwine.$libwine_soversion.dylib
7931 install install-dev::
7932 cd \$(DESTDIR)\$(libdir) && \$(RM) libwine.dylib && \$(LN_S) libwine.$libwine_version.dylib libwine.dylib
7934 uninstall::
7935 -cd \$(DESTDIR)\$(libdir) && \$(RM) libwine.dylib libwine.$libwine_soversion.dylib libwine.$libwine_version.dylib
7939 as_fn_append LOADER_RULES "
7940 $wine_binary: main.o wine_info.plist
7941 \$(CC) -o \$@ $LDEXECFLAGS main.o \$(LIBWINE) \$(LIBPORT) \$(EXTRALIBS) \$(LDFLAGS) \$(LDRPATH_LOCAL)
7943 wine-installed: main.o wine_info.plist
7944 \$(CC) -o \$@ $LDEXECFLAGS main.o \$(LIBWINE) \$(LIBPORT) \$(EXTRALIBS) \$(LDFLAGS) \$(LDRPATH_INSTALL)
7948 linux-android*)
7949 DLLFLAGS="$DLLFLAGS -fPIC"
7950 DLLPREFIX="lib"
7951 LDEXECFLAGS=""
7952 dlldir="\${libdir}"
7953 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -fPIC -Wl,--export-dynamic" >&5
7954 $as_echo_n "checking whether the compiler supports -fPIC -Wl,--export-dynamic... " >&6; }
7955 if ${ac_cv_cflags__fPIC__Wl___export_dynamic+:} false; then :
7956 $as_echo_n "(cached) " >&6
7957 else
7958 ac_wine_try_cflags_saved=$CFLAGS
7959 CFLAGS="$CFLAGS -fPIC -Wl,--export-dynamic"
7960 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
7961 /* end confdefs.h. */
7962 int main(int argc, char **argv) { return 0; }
7963 _ACEOF
7964 if ac_fn_c_try_link "$LINENO"; then :
7965 ac_cv_cflags__fPIC__Wl___export_dynamic=yes
7966 else
7967 ac_cv_cflags__fPIC__Wl___export_dynamic=no
7969 rm -f core conftest.err conftest.$ac_objext \
7970 conftest$ac_exeext conftest.$ac_ext
7971 CFLAGS=$ac_wine_try_cflags_saved
7973 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__fPIC__Wl___export_dynamic" >&5
7974 $as_echo "$ac_cv_cflags__fPIC__Wl___export_dynamic" >&6; }
7975 if test "x$ac_cv_cflags__fPIC__Wl___export_dynamic" = xyes; then :
7976 LDEXECFLAGS="-Wl,--export-dynamic"
7978 as_ac_var=`$as_echo "ac_cv_cflags_-fPIC -Wl,--rpath,\\$ORIGIN/../lib" | $as_tr_sh`
7979 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -fPIC -Wl,--rpath,\$ORIGIN/../lib" >&5
7980 $as_echo_n "checking whether the compiler supports -fPIC -Wl,--rpath,\$ORIGIN/../lib... " >&6; }
7981 if eval \${$as_ac_var+:} false; then :
7982 $as_echo_n "(cached) " >&6
7983 else
7984 ac_wine_try_cflags_saved=$CFLAGS
7985 CFLAGS="$CFLAGS -fPIC -Wl,--rpath,\$ORIGIN/../lib"
7986 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
7987 /* end confdefs.h. */
7988 int main(int argc, char **argv) { return 0; }
7989 _ACEOF
7990 if ac_fn_c_try_link "$LINENO"; then :
7991 eval "$as_ac_var=yes"
7992 else
7993 eval "$as_ac_var=no"
7995 rm -f core conftest.err conftest.$ac_objext \
7996 conftest$ac_exeext conftest.$ac_ext
7997 CFLAGS=$ac_wine_try_cflags_saved
7999 eval ac_res=\$$as_ac_var
8000 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
8001 $as_echo "$ac_res" >&6; }
8002 if eval test \"x\$"$as_ac_var"\" = x"yes"; then :
8003 LDRPATH_INSTALL="-Wl,--rpath,\\\$\$ORIGIN/\`\$(MAKEDEP) -R \$(bindir) \$(libdir)\`"
8004 LDRPATH_LOCAL="-Wl,--rpath,\\\$\$ORIGIN/\$(top_builddir)/libs/wine"
8005 else
8006 as_ac_var=`$as_echo "ac_cv_cflags_-fPIC -Wl,-R,\\$ORIGIN/../lib" | $as_tr_sh`
8007 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -fPIC -Wl,-R,\$ORIGIN/../lib" >&5
8008 $as_echo_n "checking whether the compiler supports -fPIC -Wl,-R,\$ORIGIN/../lib... " >&6; }
8009 if eval \${$as_ac_var+:} false; then :
8010 $as_echo_n "(cached) " >&6
8011 else
8012 ac_wine_try_cflags_saved=$CFLAGS
8013 CFLAGS="$CFLAGS -fPIC -Wl,-R,\$ORIGIN/../lib"
8014 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
8015 /* end confdefs.h. */
8016 int main(int argc, char **argv) { return 0; }
8017 _ACEOF
8018 if ac_fn_c_try_link "$LINENO"; then :
8019 eval "$as_ac_var=yes"
8020 else
8021 eval "$as_ac_var=no"
8023 rm -f core conftest.err conftest.$ac_objext \
8024 conftest$ac_exeext conftest.$ac_ext
8025 CFLAGS=$ac_wine_try_cflags_saved
8027 eval ac_res=\$$as_ac_var
8028 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
8029 $as_echo "$ac_res" >&6; }
8030 if eval test \"x\$"$as_ac_var"\" = x"yes"; then :
8031 LDRPATH_INSTALL="-Wl,-R,\\\$\$ORIGIN/\`\$(MAKEDEP) -R \$(bindir) \$(libdir)\`"
8032 LDRPATH_LOCAL="-Wl,-R,\\\$\$ORIGIN/\$(top_builddir)/libs/wine"
8036 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wl,--enable-new-dtags" >&5
8037 $as_echo_n "checking whether the compiler supports -Wl,--enable-new-dtags... " >&6; }
8038 if ${ac_cv_cflags__Wl___enable_new_dtags+:} false; then :
8039 $as_echo_n "(cached) " >&6
8040 else
8041 ac_wine_try_cflags_saved=$CFLAGS
8042 CFLAGS="$CFLAGS -Wl,--enable-new-dtags"
8043 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
8044 /* end confdefs.h. */
8045 int main(int argc, char **argv) { return 0; }
8046 _ACEOF
8047 if ac_fn_c_try_link "$LINENO"; then :
8048 ac_cv_cflags__Wl___enable_new_dtags=yes
8049 else
8050 ac_cv_cflags__Wl___enable_new_dtags=no
8052 rm -f core conftest.err conftest.$ac_objext \
8053 conftest$ac_exeext conftest.$ac_ext
8054 CFLAGS=$ac_wine_try_cflags_saved
8056 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wl___enable_new_dtags" >&5
8057 $as_echo "$ac_cv_cflags__Wl___enable_new_dtags" >&6; }
8058 if test "x$ac_cv_cflags__Wl___enable_new_dtags" = xyes; then :
8059 LDRPATH_INSTALL="$LDRPATH_INSTALL -Wl,--enable-new-dtags"
8062 case $host_cpu in
8063 *i[3456789]86* | x86_64)
8064 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wl,--section-start,.interp=0x7bf00400" >&5
8065 $as_echo_n "checking whether the compiler supports -Wl,--section-start,.interp=0x7bf00400... " >&6; }
8066 if ${ac_cv_cflags__Wl___section_start__interp_0x7bf00400+:} false; then :
8067 $as_echo_n "(cached) " >&6
8068 else
8069 ac_wine_try_cflags_saved=$CFLAGS
8070 CFLAGS="$CFLAGS -Wl,--section-start,.interp=0x7bf00400"
8071 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
8072 /* end confdefs.h. */
8073 int main(int argc, char **argv) { return 0; }
8074 _ACEOF
8075 if ac_fn_c_try_link "$LINENO"; then :
8076 ac_cv_cflags__Wl___section_start__interp_0x7bf00400=yes
8077 else
8078 ac_cv_cflags__Wl___section_start__interp_0x7bf00400=no
8080 rm -f core conftest.err conftest.$ac_objext \
8081 conftest$ac_exeext conftest.$ac_ext
8082 CFLAGS=$ac_wine_try_cflags_saved
8084 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wl___section_start__interp_0x7bf00400" >&5
8085 $as_echo "$ac_cv_cflags__Wl___section_start__interp_0x7bf00400" >&6; }
8086 if test "x$ac_cv_cflags__Wl___section_start__interp_0x7bf00400" = xyes; then :
8087 LDEXECFLAGS="$LDEXECFLAGS -Wl,--section-start,.interp=0x7bf00400"
8090 esac
8092 libwine_targets="libwine.so"
8093 LIBWINE_RULES="
8094 OBJS = \$(C_SRCS:.c=.o) \$(EXTRA_OBJS)
8096 all: libwine.so
8098 libwine.so: \$(OBJS)
8099 \$(CC) -shared \$(OBJS) \$(EXTRALIBS) \$(LDFLAGS) \$(LIBS) -o \$@
8101 install install-lib:: libwine.so
8102 \$(INSTALL_PROGRAM) libwine.so \$(DESTDIR)\$(libdir)/libwine.so
8104 uninstall::
8105 \$(RM) \$(DESTDIR)\$(libdir)/libwine.so
8109 as_fn_append LOADER_RULES "
8110 $wine_binary: main.o
8111 \$(CC) -o \$@ $LDEXECFLAGS main.o \$(LIBWINE) \$(LIBPORT) \$(EXTRALIBS) \$(LDFLAGS) \$(LDRPATH_LOCAL)
8113 wine-installed: main.o
8114 \$(CC) -o \$@ $LDEXECFLAGS main.o \$(LIBWINE) \$(LIBPORT) \$(EXTRALIBS) \$(LDFLAGS) \$(LDRPATH_INSTALL)
8119 DLLFLAGS="$DLLFLAGS -fPIC"
8120 LDEXECFLAGS=""
8121 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we can build a GNU style ELF dll" >&5
8122 $as_echo_n "checking whether we can build a GNU style ELF dll... " >&6; }
8123 if ${ac_cv_c_dll_gnuelf+:} false; then :
8124 $as_echo_n "(cached) " >&6
8125 else
8126 ac_wine_try_cflags_saved=$CFLAGS
8127 CFLAGS="$CFLAGS -fPIC -shared -Wl,-Bsymbolic"
8128 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
8129 /* end confdefs.h. */
8130 void myfunc() {}
8131 _ACEOF
8132 if ac_fn_c_try_link "$LINENO"; then :
8133 ac_cv_c_dll_gnuelf="yes"
8134 else
8135 ac_cv_c_dll_gnuelf="no"
8137 rm -f core conftest.err conftest.$ac_objext \
8138 conftest$ac_exeext conftest.$ac_ext
8139 CFLAGS=$ac_wine_try_cflags_saved
8141 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_dll_gnuelf" >&5
8142 $as_echo "$ac_cv_c_dll_gnuelf" >&6; }
8143 if test "$ac_cv_c_dll_gnuelf" = "yes"
8144 then
8145 LDSHARED="\$(CC) -shared"
8146 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -fPIC -shared -Wl,-soname,confest.so.1" >&5
8147 $as_echo_n "checking whether the compiler supports -fPIC -shared -Wl,-soname,confest.so.1... " >&6; }
8148 if ${ac_cv_cflags__fPIC__shared__Wl__soname_confest_so_1+:} false; then :
8149 $as_echo_n "(cached) " >&6
8150 else
8151 ac_wine_try_cflags_saved=$CFLAGS
8152 CFLAGS="$CFLAGS -fPIC -shared -Wl,-soname,confest.so.1"
8153 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
8154 /* end confdefs.h. */
8155 int main(int argc, char **argv) { return 0; }
8156 _ACEOF
8157 if ac_fn_c_try_link "$LINENO"; then :
8158 ac_cv_cflags__fPIC__shared__Wl__soname_confest_so_1=yes
8159 else
8160 ac_cv_cflags__fPIC__shared__Wl__soname_confest_so_1=no
8162 rm -f core conftest.err conftest.$ac_objext \
8163 conftest$ac_exeext conftest.$ac_ext
8164 CFLAGS=$ac_wine_try_cflags_saved
8166 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__fPIC__shared__Wl__soname_confest_so_1" >&5
8167 $as_echo "$ac_cv_cflags__fPIC__shared__Wl__soname_confest_so_1" >&6; }
8168 if test "x$ac_cv_cflags__fPIC__shared__Wl__soname_confest_so_1" = xyes; then :
8169 LDSHARED="\$(CC) -shared -Wl,-soname,libwine.so.$libwine_soversion"
8170 else
8171 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -fPIC -shared -Wl,-h,confest.so.1" >&5
8172 $as_echo_n "checking whether the compiler supports -fPIC -shared -Wl,-h,confest.so.1... " >&6; }
8173 if ${ac_cv_cflags__fPIC__shared__Wl__h_confest_so_1+:} false; then :
8174 $as_echo_n "(cached) " >&6
8175 else
8176 ac_wine_try_cflags_saved=$CFLAGS
8177 CFLAGS="$CFLAGS -fPIC -shared -Wl,-h,confest.so.1"
8178 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
8179 /* end confdefs.h. */
8180 int main(int argc, char **argv) { return 0; }
8181 _ACEOF
8182 if ac_fn_c_try_link "$LINENO"; then :
8183 ac_cv_cflags__fPIC__shared__Wl__h_confest_so_1=yes
8184 else
8185 ac_cv_cflags__fPIC__shared__Wl__h_confest_so_1=no
8187 rm -f core conftest.err conftest.$ac_objext \
8188 conftest$ac_exeext conftest.$ac_ext
8189 CFLAGS=$ac_wine_try_cflags_saved
8191 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__fPIC__shared__Wl__h_confest_so_1" >&5
8192 $as_echo "$ac_cv_cflags__fPIC__shared__Wl__h_confest_so_1" >&6; }
8193 if test "x$ac_cv_cflags__fPIC__shared__Wl__h_confest_so_1" = xyes; then :
8194 LDSHARED="\$(CC) -shared -Wl,-h,libwine.so.$libwine_soversion"
8198 echo '{ global: *; };' >conftest.map
8199 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -fPIC -shared -Wl,--version-script=conftest.map" >&5
8200 $as_echo_n "checking whether the compiler supports -fPIC -shared -Wl,--version-script=conftest.map... " >&6; }
8201 if ${ac_cv_cflags__fPIC__shared__Wl___version_script_conftest_map+:} false; then :
8202 $as_echo_n "(cached) " >&6
8203 else
8204 ac_wine_try_cflags_saved=$CFLAGS
8205 CFLAGS="$CFLAGS -fPIC -shared -Wl,--version-script=conftest.map"
8206 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
8207 /* end confdefs.h. */
8208 int main(int argc, char **argv) { return 0; }
8209 _ACEOF
8210 if ac_fn_c_try_link "$LINENO"; then :
8211 ac_cv_cflags__fPIC__shared__Wl___version_script_conftest_map=yes
8212 else
8213 ac_cv_cflags__fPIC__shared__Wl___version_script_conftest_map=no
8215 rm -f core conftest.err conftest.$ac_objext \
8216 conftest$ac_exeext conftest.$ac_ext
8217 CFLAGS=$ac_wine_try_cflags_saved
8219 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__fPIC__shared__Wl___version_script_conftest_map" >&5
8220 $as_echo "$ac_cv_cflags__fPIC__shared__Wl___version_script_conftest_map" >&6; }
8221 if test "x$ac_cv_cflags__fPIC__shared__Wl___version_script_conftest_map" = xyes; then :
8222 LDSHARED="$LDSHARED -Wl,--version-script=\$(srcdir)/wine.map"
8224 rm -f conftest.map
8226 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -fPIC -Wl,--export-dynamic" >&5
8227 $as_echo_n "checking whether the compiler supports -fPIC -Wl,--export-dynamic... " >&6; }
8228 if ${ac_cv_cflags__fPIC__Wl___export_dynamic+:} false; then :
8229 $as_echo_n "(cached) " >&6
8230 else
8231 ac_wine_try_cflags_saved=$CFLAGS
8232 CFLAGS="$CFLAGS -fPIC -Wl,--export-dynamic"
8233 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
8234 /* end confdefs.h. */
8235 int main(int argc, char **argv) { return 0; }
8236 _ACEOF
8237 if ac_fn_c_try_link "$LINENO"; then :
8238 ac_cv_cflags__fPIC__Wl___export_dynamic=yes
8239 else
8240 ac_cv_cflags__fPIC__Wl___export_dynamic=no
8242 rm -f core conftest.err conftest.$ac_objext \
8243 conftest$ac_exeext conftest.$ac_ext
8244 CFLAGS=$ac_wine_try_cflags_saved
8246 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__fPIC__Wl___export_dynamic" >&5
8247 $as_echo "$ac_cv_cflags__fPIC__Wl___export_dynamic" >&6; }
8248 if test "x$ac_cv_cflags__fPIC__Wl___export_dynamic" = xyes; then :
8249 LDEXECFLAGS="-Wl,--export-dynamic"
8252 as_ac_var=`$as_echo "ac_cv_cflags_-fPIC -Wl,--rpath,\\$ORIGIN/../lib" | $as_tr_sh`
8253 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -fPIC -Wl,--rpath,\$ORIGIN/../lib" >&5
8254 $as_echo_n "checking whether the compiler supports -fPIC -Wl,--rpath,\$ORIGIN/../lib... " >&6; }
8255 if eval \${$as_ac_var+:} false; then :
8256 $as_echo_n "(cached) " >&6
8257 else
8258 ac_wine_try_cflags_saved=$CFLAGS
8259 CFLAGS="$CFLAGS -fPIC -Wl,--rpath,\$ORIGIN/../lib"
8260 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
8261 /* end confdefs.h. */
8262 int main(int argc, char **argv) { return 0; }
8263 _ACEOF
8264 if ac_fn_c_try_link "$LINENO"; then :
8265 eval "$as_ac_var=yes"
8266 else
8267 eval "$as_ac_var=no"
8269 rm -f core conftest.err conftest.$ac_objext \
8270 conftest$ac_exeext conftest.$ac_ext
8271 CFLAGS=$ac_wine_try_cflags_saved
8273 eval ac_res=\$$as_ac_var
8274 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
8275 $as_echo "$ac_res" >&6; }
8276 if eval test \"x\$"$as_ac_var"\" = x"yes"; then :
8277 LDRPATH_INSTALL="-Wl,--rpath,\\\$\$ORIGIN/\`\$(MAKEDEP) -R \$(bindir) \$(libdir)\`"
8278 LDRPATH_LOCAL="-Wl,--rpath,\\\$\$ORIGIN/\$(top_builddir)/libs/wine"
8279 else
8280 as_ac_var=`$as_echo "ac_cv_cflags_-fPIC -Wl,-R,\\$ORIGIN/../lib" | $as_tr_sh`
8281 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -fPIC -Wl,-R,\$ORIGIN/../lib" >&5
8282 $as_echo_n "checking whether the compiler supports -fPIC -Wl,-R,\$ORIGIN/../lib... " >&6; }
8283 if eval \${$as_ac_var+:} false; then :
8284 $as_echo_n "(cached) " >&6
8285 else
8286 ac_wine_try_cflags_saved=$CFLAGS
8287 CFLAGS="$CFLAGS -fPIC -Wl,-R,\$ORIGIN/../lib"
8288 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
8289 /* end confdefs.h. */
8290 int main(int argc, char **argv) { return 0; }
8291 _ACEOF
8292 if ac_fn_c_try_link "$LINENO"; then :
8293 eval "$as_ac_var=yes"
8294 else
8295 eval "$as_ac_var=no"
8297 rm -f core conftest.err conftest.$ac_objext \
8298 conftest$ac_exeext conftest.$ac_ext
8299 CFLAGS=$ac_wine_try_cflags_saved
8301 eval ac_res=\$$as_ac_var
8302 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
8303 $as_echo "$ac_res" >&6; }
8304 if eval test \"x\$"$as_ac_var"\" = x"yes"; then :
8305 LDRPATH_INSTALL="-Wl,-R,\\\$\$ORIGIN/\`\$(MAKEDEP) -R \$(bindir) \$(libdir)\`"
8306 LDRPATH_LOCAL="-Wl,-R,\\\$\$ORIGIN/\$(top_builddir)/libs/wine"
8310 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wl,--enable-new-dtags" >&5
8311 $as_echo_n "checking whether the compiler supports -Wl,--enable-new-dtags... " >&6; }
8312 if ${ac_cv_cflags__Wl___enable_new_dtags+:} false; then :
8313 $as_echo_n "(cached) " >&6
8314 else
8315 ac_wine_try_cflags_saved=$CFLAGS
8316 CFLAGS="$CFLAGS -Wl,--enable-new-dtags"
8317 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
8318 /* end confdefs.h. */
8319 int main(int argc, char **argv) { return 0; }
8320 _ACEOF
8321 if ac_fn_c_try_link "$LINENO"; then :
8322 ac_cv_cflags__Wl___enable_new_dtags=yes
8323 else
8324 ac_cv_cflags__Wl___enable_new_dtags=no
8326 rm -f core conftest.err conftest.$ac_objext \
8327 conftest$ac_exeext conftest.$ac_ext
8328 CFLAGS=$ac_wine_try_cflags_saved
8330 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wl___enable_new_dtags" >&5
8331 $as_echo "$ac_cv_cflags__Wl___enable_new_dtags" >&6; }
8332 if test "x$ac_cv_cflags__Wl___enable_new_dtags" = xyes; then :
8333 LDRPATH_INSTALL="$LDRPATH_INSTALL -Wl,--enable-new-dtags"
8336 case $host_cpu in
8337 *i[3456789]86* | x86_64)
8338 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wl,--section-start,.interp=0x7bf00400" >&5
8339 $as_echo_n "checking whether the compiler supports -Wl,--section-start,.interp=0x7bf00400... " >&6; }
8340 if ${ac_cv_cflags__Wl___section_start__interp_0x7bf00400+:} false; then :
8341 $as_echo_n "(cached) " >&6
8342 else
8343 ac_wine_try_cflags_saved=$CFLAGS
8344 CFLAGS="$CFLAGS -Wl,--section-start,.interp=0x7bf00400"
8345 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
8346 /* end confdefs.h. */
8347 int main(int argc, char **argv) { return 0; }
8348 _ACEOF
8349 if ac_fn_c_try_link "$LINENO"; then :
8350 ac_cv_cflags__Wl___section_start__interp_0x7bf00400=yes
8351 else
8352 ac_cv_cflags__Wl___section_start__interp_0x7bf00400=no
8354 rm -f core conftest.err conftest.$ac_objext \
8355 conftest$ac_exeext conftest.$ac_ext
8356 CFLAGS=$ac_wine_try_cflags_saved
8358 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wl___section_start__interp_0x7bf00400" >&5
8359 $as_echo "$ac_cv_cflags__Wl___section_start__interp_0x7bf00400" >&6; }
8360 if test "x$ac_cv_cflags__Wl___section_start__interp_0x7bf00400" = xyes; then :
8361 case $host_os in
8362 freebsd* | kfreebsd*-gnu) LDEXECFLAGS="$LDEXECFLAGS -Wl,--section-start,.interp=0x60000400" ;;
8363 *) LDEXECFLAGS="$LDEXECFLAGS -Wl,--section-start,.interp=0x7bf00400" ;;
8364 esac
8367 # Extract the first word of "prelink", so it can be a program name with args.
8368 set dummy prelink; ac_word=$2
8369 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
8370 $as_echo_n "checking for $ac_word... " >&6; }
8371 if ${ac_cv_path_PRELINK+:} false; then :
8372 $as_echo_n "(cached) " >&6
8373 else
8374 case $PRELINK in
8375 [\\/]* | ?:[\\/]*)
8376 ac_cv_path_PRELINK="$PRELINK" # Let the user override the test with a path.
8379 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
8380 for as_dir in /sbin /usr/sbin $PATH
8382 IFS=$as_save_IFS
8383 test -z "$as_dir" && as_dir=.
8384 for ac_exec_ext in '' $ac_executable_extensions; do
8385 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
8386 ac_cv_path_PRELINK="$as_dir/$ac_word$ac_exec_ext"
8387 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
8388 break 2
8390 done
8391 done
8392 IFS=$as_save_IFS
8394 test -z "$ac_cv_path_PRELINK" && ac_cv_path_PRELINK="false"
8396 esac
8398 PRELINK=$ac_cv_path_PRELINK
8399 if test -n "$PRELINK"; then
8400 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $PRELINK" >&5
8401 $as_echo "$PRELINK" >&6; }
8402 else
8403 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
8404 $as_echo "no" >&6; }
8408 if test "x$PRELINK" = xfalse
8409 then
8410 as_fn_append wine_warnings "|prelink not found, base address of core dlls won't be set correctly."
8413 esac
8415 else
8416 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we can build a UnixWare (Solaris) dll" >&5
8417 $as_echo_n "checking whether we can build a UnixWare (Solaris) dll... " >&6; }
8418 if ${ac_cv_c_dll_unixware+:} false; then :
8419 $as_echo_n "(cached) " >&6
8420 else
8421 ac_wine_try_cflags_saved=$CFLAGS
8422 CFLAGS="$CFLAGS -fPIC -Wl,-G,-h,conftest.so.1.0,-B,symbolic"
8423 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
8424 /* end confdefs.h. */
8425 void myfunc() {}
8426 _ACEOF
8427 if ac_fn_c_try_link "$LINENO"; then :
8428 ac_cv_c_dll_unixware="yes"
8429 else
8430 ac_cv_c_dll_unixware="no"
8432 rm -f core conftest.err conftest.$ac_objext \
8433 conftest$ac_exeext conftest.$ac_ext
8434 CFLAGS=$ac_wine_try_cflags_saved
8436 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_dll_unixware" >&5
8437 $as_echo "$ac_cv_c_dll_unixware" >&6; }
8438 if test "$ac_cv_c_dll_unixware" = "yes"
8439 then
8440 LDSHARED="\$(CC) -Wl,-G,-h,libwine.so.$libwine_soversion"
8443 libwine_targets="libwine.so libwine.so.$libwine_soversion libwine.so.$libwine_version"
8444 LIBWINE_RULES="
8445 OBJS = \$(C_SRCS:.c=.o) \$(EXTRA_OBJS)
8447 all: libwine.so
8449 libwine.so.$libwine_version: \$(OBJS) \$(srcdir)/wine.map
8450 $LDSHARED \$(OBJS) \$(EXTRALIBS) \$(LDFLAGS) \$(LIBS) -o \$@
8452 libwine.so.$libwine_soversion: libwine.so.$libwine_version
8453 \$(RM) \$@ && \$(LN_S) libwine.so.$libwine_version \$@
8455 libwine.so: libwine.so.$libwine_soversion
8456 \$(RM) \$@ && \$(LN_S) libwine.so.$libwine_soversion \$@
8458 install install-lib:: libwine.so.$libwine_version
8459 \$(INSTALL_PROGRAM) libwine.so.$libwine_version \$(DESTDIR)\$(libdir)/libwine.so.$libwine_version
8460 cd \$(DESTDIR)\$(libdir) && \$(RM) libwine.so.$libwine_soversion && \$(LN_S) libwine.so.$libwine_version libwine.so.$libwine_soversion
8462 install install-dev::
8463 cd \$(DESTDIR)\$(libdir) && \$(RM) libwine.so && \$(LN_S) libwine.so.$libwine_version libwine.so
8465 uninstall::
8466 -cd \$(DESTDIR)\$(libdir) && \$(RM) libwine.so libwine.so.$libwine_soversion libwine.so.$libwine_version
8470 as_fn_append LOADER_RULES "
8471 $wine_binary: main.o
8472 \$(CC) -o \$@ $LDEXECFLAGS main.o \$(LIBWINE) \$(LIBPORT) \$(EXTRALIBS) \$(LDFLAGS) \$(LDRPATH_LOCAL)
8474 wine-installed: main.o
8475 \$(CC) -o \$@ $LDEXECFLAGS main.o \$(LIBWINE) \$(LIBPORT) \$(EXTRALIBS) \$(LDFLAGS) \$(LDRPATH_INSTALL)
8478 esac
8480 as_fn_append LIBWINE_RULES "
8481 EXTRA_TARGETS = $libwine_targets
8484 enable_wineqtdecoder=${enable_wineqtdecoder:-no}
8485 enable_winemac_drv=${enable_winemac_drv:-no}
8487 CROSSTARGET=""
8489 if test "$cross_compiling" = "no" -a "x$enable_tests" != xno -a "$LIBEXT" != "dll"
8490 then
8491 case "$host_cpu" in
8492 i[3456789]86*)
8493 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
8494 mingw32-gcc" ;;
8495 x86_64)
8496 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 " ;;
8498 ac_prefix_list="" ;;
8499 esac
8500 for ac_prog in $ac_prefix_list
8502 # Extract the first word of "$ac_prog", so it can be a program name with args.
8503 set dummy $ac_prog; ac_word=$2
8504 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
8505 $as_echo_n "checking for $ac_word... " >&6; }
8506 if ${ac_cv_prog_CROSSCC+:} false; then :
8507 $as_echo_n "(cached) " >&6
8508 else
8509 if test -n "$CROSSCC"; then
8510 ac_cv_prog_CROSSCC="$CROSSCC" # Let the user override the test.
8511 else
8512 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
8513 for as_dir in $PATH
8515 IFS=$as_save_IFS
8516 test -z "$as_dir" && as_dir=.
8517 for ac_exec_ext in '' $ac_executable_extensions; do
8518 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
8519 ac_cv_prog_CROSSCC="$ac_prog"
8520 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
8521 break 2
8523 done
8524 done
8525 IFS=$as_save_IFS
8529 CROSSCC=$ac_cv_prog_CROSSCC
8530 if test -n "$CROSSCC"; then
8531 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CROSSCC" >&5
8532 $as_echo "$CROSSCC" >&6; }
8533 else
8534 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
8535 $as_echo "no" >&6; }
8539 test -n "$CROSSCC" && break
8540 done
8541 test -n "$CROSSCC" || CROSSCC="false"
8543 if test "$CROSSCC" != "false"
8544 then
8545 ac_save_CC="$CC"
8546 CC="$CROSSCC"
8547 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CROSSCC works" >&5
8548 $as_echo_n "checking whether $CROSSCC works... " >&6; }
8549 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
8550 /* end confdefs.h. */
8553 main ()
8557 return 0;
8559 _ACEOF
8560 if ac_fn_c_try_compile "$LINENO"; then :
8561 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
8562 $as_echo "yes" >&6; }
8563 set x $CROSSCC
8564 shift
8565 while test $# -ge 1
8567 case "$1" in
8568 *-gcc) CROSSTARGET=`expr "$1" : '\(.*\)-gcc'` ;;
8569 esac
8570 shift
8571 done
8572 else
8573 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
8574 $as_echo "no" >&6; }
8576 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
8577 CC="$ac_save_CC"
8582 if test "$ac_cv_header_pthread_h" = "yes"
8583 then
8584 ac_fn_c_check_func "$LINENO" "pthread_create" "ac_cv_func_pthread_create"
8585 if test "x$ac_cv_func_pthread_create" = xyes; then :
8587 else
8588 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for pthread_create in -lpthread" >&5
8589 $as_echo_n "checking for pthread_create in -lpthread... " >&6; }
8590 if ${ac_cv_lib_pthread_pthread_create+:} false; then :
8591 $as_echo_n "(cached) " >&6
8592 else
8593 ac_check_lib_save_LIBS=$LIBS
8594 LIBS="-lpthread $LIBS"
8595 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
8596 /* end confdefs.h. */
8598 /* Override any GCC internal prototype to avoid an error.
8599 Use char because int might match the return type of a GCC
8600 builtin and then its argument prototype would still apply. */
8601 #ifdef __cplusplus
8602 extern "C"
8603 #endif
8604 char pthread_create ();
8606 main ()
8608 return pthread_create ();
8610 return 0;
8612 _ACEOF
8613 if ac_fn_c_try_link "$LINENO"; then :
8614 ac_cv_lib_pthread_pthread_create=yes
8615 else
8616 ac_cv_lib_pthread_pthread_create=no
8618 rm -f core conftest.err conftest.$ac_objext \
8619 conftest$ac_exeext conftest.$ac_ext
8620 LIBS=$ac_check_lib_save_LIBS
8622 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_pthread_pthread_create" >&5
8623 $as_echo "$ac_cv_lib_pthread_pthread_create" >&6; }
8624 if test "x$ac_cv_lib_pthread_pthread_create" = xyes; then :
8625 PTHREAD_LIBS="-lpthread"
8632 if test "x$ac_cv_func_pthread_create" != xyes -a "x$PTHREAD_LIBS" = x; then :
8633 case "x$with_pthread" in
8634 xno) ;;
8635 *) as_fn_error $? "pthread ${notice_platform}development files not found.
8636 Wine cannot support threads without libpthread.
8637 Use the --without-pthread option if you really want this." "$LINENO" 5 ;;
8638 esac
8642 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for X" >&5
8643 $as_echo_n "checking for X... " >&6; }
8646 # Check whether --with-x was given.
8647 if test "${with_x+set}" = set; then :
8648 withval=$with_x;
8651 # $have_x is `yes', `no', `disabled', or empty when we do not yet know.
8652 if test "x$with_x" = xno; then
8653 # The user explicitly disabled X.
8654 have_x=disabled
8655 else
8656 case $x_includes,$x_libraries in #(
8657 *\'*) as_fn_error $? "cannot use X directory names containing '" "$LINENO" 5;; #(
8658 *,NONE | NONE,*) if ${ac_cv_have_x+:} false; then :
8659 $as_echo_n "(cached) " >&6
8660 else
8661 # One or both of the vars are not set, and there is no cached value.
8662 ac_x_includes=no ac_x_libraries=no
8663 rm -f -r conftest.dir
8664 if mkdir conftest.dir; then
8665 cd conftest.dir
8666 cat >Imakefile <<'_ACEOF'
8667 incroot:
8668 @echo incroot='${INCROOT}'
8669 usrlibdir:
8670 @echo usrlibdir='${USRLIBDIR}'
8671 libdir:
8672 @echo libdir='${LIBDIR}'
8673 _ACEOF
8674 if (export CC; ${XMKMF-xmkmf}) >/dev/null 2>/dev/null && test -f Makefile; then
8675 # GNU make sometimes prints "make[1]: Entering ...", which would confuse us.
8676 for ac_var in incroot usrlibdir libdir; do
8677 eval "ac_im_$ac_var=\`\${MAKE-make} $ac_var 2>/dev/null | sed -n 's/^$ac_var=//p'\`"
8678 done
8679 # Open Windows xmkmf reportedly sets LIBDIR instead of USRLIBDIR.
8680 for ac_extension in a so sl dylib la dll; do
8681 if test ! -f "$ac_im_usrlibdir/libX11.$ac_extension" &&
8682 test -f "$ac_im_libdir/libX11.$ac_extension"; then
8683 ac_im_usrlibdir=$ac_im_libdir; break
8685 done
8686 # Screen out bogus values from the imake configuration. They are
8687 # bogus both because they are the default anyway, and because
8688 # using them would break gcc on systems where it needs fixed includes.
8689 case $ac_im_incroot in
8690 /usr/include) ac_x_includes= ;;
8691 *) test -f "$ac_im_incroot/X11/Xos.h" && ac_x_includes=$ac_im_incroot;;
8692 esac
8693 case $ac_im_usrlibdir in
8694 /usr/lib | /usr/lib64 | /lib | /lib64) ;;
8695 *) test -d "$ac_im_usrlibdir" && ac_x_libraries=$ac_im_usrlibdir ;;
8696 esac
8698 cd ..
8699 rm -f -r conftest.dir
8702 # Standard set of common directories for X headers.
8703 # Check X11 before X11Rn because it is often a symlink to the current release.
8704 ac_x_header_dirs='
8705 /usr/X11/include
8706 /usr/X11R7/include
8707 /usr/X11R6/include
8708 /usr/X11R5/include
8709 /usr/X11R4/include
8711 /usr/include/X11
8712 /usr/include/X11R7
8713 /usr/include/X11R6
8714 /usr/include/X11R5
8715 /usr/include/X11R4
8717 /usr/local/X11/include
8718 /usr/local/X11R7/include
8719 /usr/local/X11R6/include
8720 /usr/local/X11R5/include
8721 /usr/local/X11R4/include
8723 /usr/local/include/X11
8724 /usr/local/include/X11R7
8725 /usr/local/include/X11R6
8726 /usr/local/include/X11R5
8727 /usr/local/include/X11R4
8729 /usr/X386/include
8730 /usr/x386/include
8731 /usr/XFree86/include/X11
8733 /usr/include
8734 /usr/local/include
8735 /usr/unsupported/include
8736 /usr/athena/include
8737 /usr/local/x11r5/include
8738 /usr/lpp/Xamples/include
8740 /usr/openwin/include
8741 /usr/openwin/share/include'
8743 if test "$ac_x_includes" = no; then
8744 # Guess where to find include files, by looking for Xlib.h.
8745 # First, try using that file with no special directory specified.
8746 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
8747 /* end confdefs.h. */
8748 #include <X11/Xlib.h>
8749 _ACEOF
8750 if ac_fn_c_try_cpp "$LINENO"; then :
8751 # We can compile using X headers with no special include directory.
8752 ac_x_includes=
8753 else
8754 for ac_dir in $ac_x_header_dirs; do
8755 if test -r "$ac_dir/X11/Xlib.h"; then
8756 ac_x_includes=$ac_dir
8757 break
8759 done
8761 rm -f conftest.err conftest.i conftest.$ac_ext
8762 fi # $ac_x_includes = no
8764 if test "$ac_x_libraries" = no; then
8765 # Check for the libraries.
8766 # See if we find them without any special options.
8767 # Don't add to $LIBS permanently.
8768 ac_save_LIBS=$LIBS
8769 LIBS="-lX11 $LIBS"
8770 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
8771 /* end confdefs.h. */
8772 #include <X11/Xlib.h>
8774 main ()
8776 XrmInitialize ()
8778 return 0;
8780 _ACEOF
8781 if ac_fn_c_try_link "$LINENO"; then :
8782 LIBS=$ac_save_LIBS
8783 # We can link X programs with no special library path.
8784 ac_x_libraries=
8785 else
8786 LIBS=$ac_save_LIBS
8787 for ac_dir in `$as_echo "$ac_x_includes $ac_x_header_dirs" | sed s/include/lib/g`
8789 # Don't even attempt the hair of trying to link an X program!
8790 for ac_extension in a so sl dylib la dll; do
8791 if test -r "$ac_dir/libX11.$ac_extension"; then
8792 ac_x_libraries=$ac_dir
8793 break 2
8795 done
8796 done
8798 rm -f core conftest.err conftest.$ac_objext \
8799 conftest$ac_exeext conftest.$ac_ext
8800 fi # $ac_x_libraries = no
8802 case $ac_x_includes,$ac_x_libraries in #(
8803 no,* | *,no | *\'*)
8804 # Didn't find X, or a directory has "'" in its name.
8805 ac_cv_have_x="have_x=no";; #(
8807 # Record where we found X for the cache.
8808 ac_cv_have_x="have_x=yes\
8809 ac_x_includes='$ac_x_includes'\
8810 ac_x_libraries='$ac_x_libraries'"
8811 esac
8813 ;; #(
8814 *) have_x=yes;;
8815 esac
8816 eval "$ac_cv_have_x"
8817 fi # $with_x != no
8819 if test "$have_x" != yes; then
8820 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $have_x" >&5
8821 $as_echo "$have_x" >&6; }
8822 no_x=yes
8823 else
8824 # If each of the values was on the command line, it overrides each guess.
8825 test "x$x_includes" = xNONE && x_includes=$ac_x_includes
8826 test "x$x_libraries" = xNONE && x_libraries=$ac_x_libraries
8827 # Update the cache value to reflect the command line values.
8828 ac_cv_have_x="have_x=yes\
8829 ac_x_includes='$x_includes'\
8830 ac_x_libraries='$x_libraries'"
8831 { $as_echo "$as_me:${as_lineno-$LINENO}: result: libraries $x_libraries, headers $x_includes" >&5
8832 $as_echo "libraries $x_libraries, headers $x_includes" >&6; }
8835 if test "$no_x" = yes; then
8836 # Not all programs may use this symbol, but it does not hurt to define it.
8838 $as_echo "#define X_DISPLAY_MISSING 1" >>confdefs.h
8840 X_CFLAGS= X_PRE_LIBS= X_LIBS= X_EXTRA_LIBS=
8841 else
8842 if test -n "$x_includes"; then
8843 X_CFLAGS="$X_CFLAGS -I$x_includes"
8846 # It would also be nice to do this for all -L options, not just this one.
8847 if test -n "$x_libraries"; then
8848 X_LIBS="$X_LIBS -L$x_libraries"
8849 # For Solaris; some versions of Sun CC require a space after -R and
8850 # others require no space. Words are not sufficient . . . .
8851 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether -R must be followed by a space" >&5
8852 $as_echo_n "checking whether -R must be followed by a space... " >&6; }
8853 ac_xsave_LIBS=$LIBS; LIBS="$LIBS -R$x_libraries"
8854 ac_xsave_c_werror_flag=$ac_c_werror_flag
8855 ac_c_werror_flag=yes
8856 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
8857 /* end confdefs.h. */
8860 main ()
8864 return 0;
8866 _ACEOF
8867 if ac_fn_c_try_link "$LINENO"; then :
8868 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
8869 $as_echo "no" >&6; }
8870 X_LIBS="$X_LIBS -R$x_libraries"
8871 else
8872 LIBS="$ac_xsave_LIBS -R $x_libraries"
8873 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
8874 /* end confdefs.h. */
8877 main ()
8881 return 0;
8883 _ACEOF
8884 if ac_fn_c_try_link "$LINENO"; then :
8885 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
8886 $as_echo "yes" >&6; }
8887 X_LIBS="$X_LIBS -R $x_libraries"
8888 else
8889 { $as_echo "$as_me:${as_lineno-$LINENO}: result: neither works" >&5
8890 $as_echo "neither works" >&6; }
8892 rm -f core conftest.err conftest.$ac_objext \
8893 conftest$ac_exeext conftest.$ac_ext
8895 rm -f core conftest.err conftest.$ac_objext \
8896 conftest$ac_exeext conftest.$ac_ext
8897 ac_c_werror_flag=$ac_xsave_c_werror_flag
8898 LIBS=$ac_xsave_LIBS
8901 # Check for system-dependent libraries X programs must link with.
8902 # Do this before checking for the system-independent R6 libraries
8903 # (-lICE), since we may need -lsocket or whatever for X linking.
8905 if test "$ISC" = yes; then
8906 X_EXTRA_LIBS="$X_EXTRA_LIBS -lnsl_s -linet"
8907 else
8908 # Martyn Johnson says this is needed for Ultrix, if the X
8909 # libraries were built with DECnet support. And Karl Berry says
8910 # the Alpha needs dnet_stub (dnet does not exist).
8911 ac_xsave_LIBS="$LIBS"; LIBS="$LIBS $X_LIBS -lX11"
8912 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
8913 /* end confdefs.h. */
8915 /* Override any GCC internal prototype to avoid an error.
8916 Use char because int might match the return type of a GCC
8917 builtin and then its argument prototype would still apply. */
8918 #ifdef __cplusplus
8919 extern "C"
8920 #endif
8921 char XOpenDisplay ();
8923 main ()
8925 return XOpenDisplay ();
8927 return 0;
8929 _ACEOF
8930 if ac_fn_c_try_link "$LINENO"; then :
8932 else
8933 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dnet_ntoa in -ldnet" >&5
8934 $as_echo_n "checking for dnet_ntoa in -ldnet... " >&6; }
8935 if ${ac_cv_lib_dnet_dnet_ntoa+:} false; then :
8936 $as_echo_n "(cached) " >&6
8937 else
8938 ac_check_lib_save_LIBS=$LIBS
8939 LIBS="-ldnet $LIBS"
8940 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
8941 /* end confdefs.h. */
8943 /* Override any GCC internal prototype to avoid an error.
8944 Use char because int might match the return type of a GCC
8945 builtin and then its argument prototype would still apply. */
8946 #ifdef __cplusplus
8947 extern "C"
8948 #endif
8949 char dnet_ntoa ();
8951 main ()
8953 return dnet_ntoa ();
8955 return 0;
8957 _ACEOF
8958 if ac_fn_c_try_link "$LINENO"; then :
8959 ac_cv_lib_dnet_dnet_ntoa=yes
8960 else
8961 ac_cv_lib_dnet_dnet_ntoa=no
8963 rm -f core conftest.err conftest.$ac_objext \
8964 conftest$ac_exeext conftest.$ac_ext
8965 LIBS=$ac_check_lib_save_LIBS
8967 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dnet_dnet_ntoa" >&5
8968 $as_echo "$ac_cv_lib_dnet_dnet_ntoa" >&6; }
8969 if test "x$ac_cv_lib_dnet_dnet_ntoa" = xyes; then :
8970 X_EXTRA_LIBS="$X_EXTRA_LIBS -ldnet"
8973 if test $ac_cv_lib_dnet_dnet_ntoa = no; then
8974 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dnet_ntoa in -ldnet_stub" >&5
8975 $as_echo_n "checking for dnet_ntoa in -ldnet_stub... " >&6; }
8976 if ${ac_cv_lib_dnet_stub_dnet_ntoa+:} false; then :
8977 $as_echo_n "(cached) " >&6
8978 else
8979 ac_check_lib_save_LIBS=$LIBS
8980 LIBS="-ldnet_stub $LIBS"
8981 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
8982 /* end confdefs.h. */
8984 /* Override any GCC internal prototype to avoid an error.
8985 Use char because int might match the return type of a GCC
8986 builtin and then its argument prototype would still apply. */
8987 #ifdef __cplusplus
8988 extern "C"
8989 #endif
8990 char dnet_ntoa ();
8992 main ()
8994 return dnet_ntoa ();
8996 return 0;
8998 _ACEOF
8999 if ac_fn_c_try_link "$LINENO"; then :
9000 ac_cv_lib_dnet_stub_dnet_ntoa=yes
9001 else
9002 ac_cv_lib_dnet_stub_dnet_ntoa=no
9004 rm -f core conftest.err conftest.$ac_objext \
9005 conftest$ac_exeext conftest.$ac_ext
9006 LIBS=$ac_check_lib_save_LIBS
9008 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dnet_stub_dnet_ntoa" >&5
9009 $as_echo "$ac_cv_lib_dnet_stub_dnet_ntoa" >&6; }
9010 if test "x$ac_cv_lib_dnet_stub_dnet_ntoa" = xyes; then :
9011 X_EXTRA_LIBS="$X_EXTRA_LIBS -ldnet_stub"
9016 rm -f core conftest.err conftest.$ac_objext \
9017 conftest$ac_exeext conftest.$ac_ext
9018 LIBS="$ac_xsave_LIBS"
9020 # msh@cis.ufl.edu says -lnsl (and -lsocket) are needed for his 386/AT,
9021 # to get the SysV transport functions.
9022 # Chad R. Larson says the Pyramis MIS-ES running DC/OSx (SVR4)
9023 # needs -lnsl.
9024 # The nsl library prevents programs from opening the X display
9025 # on Irix 5.2, according to T.E. Dickey.
9026 # The functions gethostbyname, getservbyname, and inet_addr are
9027 # in -lbsd on LynxOS 3.0.1/i386, according to Lars Hecking.
9028 ac_fn_c_check_func "$LINENO" "gethostbyname" "ac_cv_func_gethostbyname"
9029 if test "x$ac_cv_func_gethostbyname" = xyes; then :
9033 if test $ac_cv_func_gethostbyname = no; then
9034 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for gethostbyname in -lnsl" >&5
9035 $as_echo_n "checking for gethostbyname in -lnsl... " >&6; }
9036 if ${ac_cv_lib_nsl_gethostbyname+:} false; then :
9037 $as_echo_n "(cached) " >&6
9038 else
9039 ac_check_lib_save_LIBS=$LIBS
9040 LIBS="-lnsl $LIBS"
9041 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9042 /* end confdefs.h. */
9044 /* Override any GCC internal prototype to avoid an error.
9045 Use char because int might match the return type of a GCC
9046 builtin and then its argument prototype would still apply. */
9047 #ifdef __cplusplus
9048 extern "C"
9049 #endif
9050 char gethostbyname ();
9052 main ()
9054 return gethostbyname ();
9056 return 0;
9058 _ACEOF
9059 if ac_fn_c_try_link "$LINENO"; then :
9060 ac_cv_lib_nsl_gethostbyname=yes
9061 else
9062 ac_cv_lib_nsl_gethostbyname=no
9064 rm -f core conftest.err conftest.$ac_objext \
9065 conftest$ac_exeext conftest.$ac_ext
9066 LIBS=$ac_check_lib_save_LIBS
9068 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_nsl_gethostbyname" >&5
9069 $as_echo "$ac_cv_lib_nsl_gethostbyname" >&6; }
9070 if test "x$ac_cv_lib_nsl_gethostbyname" = xyes; then :
9071 X_EXTRA_LIBS="$X_EXTRA_LIBS -lnsl"
9074 if test $ac_cv_lib_nsl_gethostbyname = no; then
9075 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for gethostbyname in -lbsd" >&5
9076 $as_echo_n "checking for gethostbyname in -lbsd... " >&6; }
9077 if ${ac_cv_lib_bsd_gethostbyname+:} false; then :
9078 $as_echo_n "(cached) " >&6
9079 else
9080 ac_check_lib_save_LIBS=$LIBS
9081 LIBS="-lbsd $LIBS"
9082 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9083 /* end confdefs.h. */
9085 /* Override any GCC internal prototype to avoid an error.
9086 Use char because int might match the return type of a GCC
9087 builtin and then its argument prototype would still apply. */
9088 #ifdef __cplusplus
9089 extern "C"
9090 #endif
9091 char gethostbyname ();
9093 main ()
9095 return gethostbyname ();
9097 return 0;
9099 _ACEOF
9100 if ac_fn_c_try_link "$LINENO"; then :
9101 ac_cv_lib_bsd_gethostbyname=yes
9102 else
9103 ac_cv_lib_bsd_gethostbyname=no
9105 rm -f core conftest.err conftest.$ac_objext \
9106 conftest$ac_exeext conftest.$ac_ext
9107 LIBS=$ac_check_lib_save_LIBS
9109 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_bsd_gethostbyname" >&5
9110 $as_echo "$ac_cv_lib_bsd_gethostbyname" >&6; }
9111 if test "x$ac_cv_lib_bsd_gethostbyname" = xyes; then :
9112 X_EXTRA_LIBS="$X_EXTRA_LIBS -lbsd"
9118 # lieder@skyler.mavd.honeywell.com says without -lsocket,
9119 # socket/setsockopt and other routines are undefined under SCO ODT
9120 # 2.0. But -lsocket is broken on IRIX 5.2 (and is not necessary
9121 # on later versions), says Simon Leinen: it contains gethostby*
9122 # variants that don't use the name server (or something). -lsocket
9123 # must be given before -lnsl if both are needed. We assume that
9124 # if connect needs -lnsl, so does gethostbyname.
9125 ac_fn_c_check_func "$LINENO" "connect" "ac_cv_func_connect"
9126 if test "x$ac_cv_func_connect" = xyes; then :
9130 if test $ac_cv_func_connect = no; then
9131 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for connect in -lsocket" >&5
9132 $as_echo_n "checking for connect in -lsocket... " >&6; }
9133 if ${ac_cv_lib_socket_connect+:} false; then :
9134 $as_echo_n "(cached) " >&6
9135 else
9136 ac_check_lib_save_LIBS=$LIBS
9137 LIBS="-lsocket $X_EXTRA_LIBS $LIBS"
9138 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9139 /* end confdefs.h. */
9141 /* Override any GCC internal prototype to avoid an error.
9142 Use char because int might match the return type of a GCC
9143 builtin and then its argument prototype would still apply. */
9144 #ifdef __cplusplus
9145 extern "C"
9146 #endif
9147 char connect ();
9149 main ()
9151 return connect ();
9153 return 0;
9155 _ACEOF
9156 if ac_fn_c_try_link "$LINENO"; then :
9157 ac_cv_lib_socket_connect=yes
9158 else
9159 ac_cv_lib_socket_connect=no
9161 rm -f core conftest.err conftest.$ac_objext \
9162 conftest$ac_exeext conftest.$ac_ext
9163 LIBS=$ac_check_lib_save_LIBS
9165 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_socket_connect" >&5
9166 $as_echo "$ac_cv_lib_socket_connect" >&6; }
9167 if test "x$ac_cv_lib_socket_connect" = xyes; then :
9168 X_EXTRA_LIBS="-lsocket $X_EXTRA_LIBS"
9173 # Guillermo Gomez says -lposix is necessary on A/UX.
9174 ac_fn_c_check_func "$LINENO" "remove" "ac_cv_func_remove"
9175 if test "x$ac_cv_func_remove" = xyes; then :
9179 if test $ac_cv_func_remove = no; then
9180 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for remove in -lposix" >&5
9181 $as_echo_n "checking for remove in -lposix... " >&6; }
9182 if ${ac_cv_lib_posix_remove+:} false; then :
9183 $as_echo_n "(cached) " >&6
9184 else
9185 ac_check_lib_save_LIBS=$LIBS
9186 LIBS="-lposix $LIBS"
9187 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9188 /* end confdefs.h. */
9190 /* Override any GCC internal prototype to avoid an error.
9191 Use char because int might match the return type of a GCC
9192 builtin and then its argument prototype would still apply. */
9193 #ifdef __cplusplus
9194 extern "C"
9195 #endif
9196 char remove ();
9198 main ()
9200 return remove ();
9202 return 0;
9204 _ACEOF
9205 if ac_fn_c_try_link "$LINENO"; then :
9206 ac_cv_lib_posix_remove=yes
9207 else
9208 ac_cv_lib_posix_remove=no
9210 rm -f core conftest.err conftest.$ac_objext \
9211 conftest$ac_exeext conftest.$ac_ext
9212 LIBS=$ac_check_lib_save_LIBS
9214 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_posix_remove" >&5
9215 $as_echo "$ac_cv_lib_posix_remove" >&6; }
9216 if test "x$ac_cv_lib_posix_remove" = xyes; then :
9217 X_EXTRA_LIBS="$X_EXTRA_LIBS -lposix"
9222 # BSDI BSD/OS 2.1 needs -lipc for XOpenDisplay.
9223 ac_fn_c_check_func "$LINENO" "shmat" "ac_cv_func_shmat"
9224 if test "x$ac_cv_func_shmat" = xyes; then :
9228 if test $ac_cv_func_shmat = no; then
9229 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for shmat in -lipc" >&5
9230 $as_echo_n "checking for shmat in -lipc... " >&6; }
9231 if ${ac_cv_lib_ipc_shmat+:} false; then :
9232 $as_echo_n "(cached) " >&6
9233 else
9234 ac_check_lib_save_LIBS=$LIBS
9235 LIBS="-lipc $LIBS"
9236 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9237 /* end confdefs.h. */
9239 /* Override any GCC internal prototype to avoid an error.
9240 Use char because int might match the return type of a GCC
9241 builtin and then its argument prototype would still apply. */
9242 #ifdef __cplusplus
9243 extern "C"
9244 #endif
9245 char shmat ();
9247 main ()
9249 return shmat ();
9251 return 0;
9253 _ACEOF
9254 if ac_fn_c_try_link "$LINENO"; then :
9255 ac_cv_lib_ipc_shmat=yes
9256 else
9257 ac_cv_lib_ipc_shmat=no
9259 rm -f core conftest.err conftest.$ac_objext \
9260 conftest$ac_exeext conftest.$ac_ext
9261 LIBS=$ac_check_lib_save_LIBS
9263 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_ipc_shmat" >&5
9264 $as_echo "$ac_cv_lib_ipc_shmat" >&6; }
9265 if test "x$ac_cv_lib_ipc_shmat" = xyes; then :
9266 X_EXTRA_LIBS="$X_EXTRA_LIBS -lipc"
9272 # Check for libraries that X11R6 Xt/Xaw programs need.
9273 ac_save_LDFLAGS=$LDFLAGS
9274 test -n "$x_libraries" && LDFLAGS="$LDFLAGS -L$x_libraries"
9275 # SM needs ICE to (dynamically) link under SunOS 4.x (so we have to
9276 # check for ICE first), but we must link in the order -lSM -lICE or
9277 # we get undefined symbols. So assume we have SM if we have ICE.
9278 # These have to be linked with before -lX11, unlike the other
9279 # libraries we check for below, so use a different variable.
9280 # John Interrante, Karl Berry
9281 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for IceConnectionNumber in -lICE" >&5
9282 $as_echo_n "checking for IceConnectionNumber in -lICE... " >&6; }
9283 if ${ac_cv_lib_ICE_IceConnectionNumber+:} false; then :
9284 $as_echo_n "(cached) " >&6
9285 else
9286 ac_check_lib_save_LIBS=$LIBS
9287 LIBS="-lICE $X_EXTRA_LIBS $LIBS"
9288 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9289 /* end confdefs.h. */
9291 /* Override any GCC internal prototype to avoid an error.
9292 Use char because int might match the return type of a GCC
9293 builtin and then its argument prototype would still apply. */
9294 #ifdef __cplusplus
9295 extern "C"
9296 #endif
9297 char IceConnectionNumber ();
9299 main ()
9301 return IceConnectionNumber ();
9303 return 0;
9305 _ACEOF
9306 if ac_fn_c_try_link "$LINENO"; then :
9307 ac_cv_lib_ICE_IceConnectionNumber=yes
9308 else
9309 ac_cv_lib_ICE_IceConnectionNumber=no
9311 rm -f core conftest.err conftest.$ac_objext \
9312 conftest$ac_exeext conftest.$ac_ext
9313 LIBS=$ac_check_lib_save_LIBS
9315 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_ICE_IceConnectionNumber" >&5
9316 $as_echo "$ac_cv_lib_ICE_IceConnectionNumber" >&6; }
9317 if test "x$ac_cv_lib_ICE_IceConnectionNumber" = xyes; then :
9318 X_PRE_LIBS="$X_PRE_LIBS -lSM -lICE"
9321 LDFLAGS=$ac_save_LDFLAGS
9326 if test "$have_x" = "yes"
9327 then
9328 ac_save_CPPFLAGS="$CPPFLAGS"
9329 CPPFLAGS="$CPPFLAGS $X_CFLAGS"
9331 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lX11" >&5
9332 $as_echo_n "checking for -lX11... " >&6; }
9333 if ${ac_cv_lib_soname_X11+:} false; then :
9334 $as_echo_n "(cached) " >&6
9335 else
9336 ac_check_soname_save_LIBS=$LIBS
9337 LIBS="-lX11 $X_LIBS $X_EXTRA_LIBS $LIBS"
9338 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9339 /* end confdefs.h. */
9341 /* Override any GCC internal prototype to avoid an error.
9342 Use char because int might match the return type of a GCC
9343 builtin and then its argument prototype would still apply. */
9344 #ifdef __cplusplus
9345 extern "C"
9346 #endif
9347 char XCreateWindow ();
9349 main ()
9351 return XCreateWindow ();
9353 return 0;
9355 _ACEOF
9356 if ac_fn_c_try_link "$LINENO"; then :
9357 case "$LIBEXT" in
9358 dll) ac_cv_lib_soname_X11=`$ac_cv_path_LDD conftest.exe | grep "X11" | sed -e "s/dll.*/dll/"';2,$d'` ;;
9359 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'` ;;
9360 *) ac_cv_lib_soname_X11=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libX11\\.$LIBEXT" | sed -e "s/^.*\\[\\(libX11\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
9361 if ${ac_cv_lib_soname_X11:+false} :; then :
9362 ac_cv_lib_soname_X11=`$LDD conftest$ac_exeext | grep "libX11\\.$LIBEXT" | sed -e "s/^.*\(libX11\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
9363 fi ;;
9364 esac
9366 rm -f core conftest.err conftest.$ac_objext \
9367 conftest$ac_exeext conftest.$ac_ext
9368 LIBS=$ac_check_soname_save_LIBS
9370 if ${ac_cv_lib_soname_X11:+false} :; then :
9371 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
9372 $as_echo "not found" >&6; }
9374 else
9375 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_X11" >&5
9376 $as_echo "$ac_cv_lib_soname_X11" >&6; }
9378 cat >>confdefs.h <<_ACEOF
9379 #define SONAME_LIBX11 "$ac_cv_lib_soname_X11"
9380 _ACEOF
9384 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lXext" >&5
9385 $as_echo_n "checking for -lXext... " >&6; }
9386 if ${ac_cv_lib_soname_Xext+:} false; then :
9387 $as_echo_n "(cached) " >&6
9388 else
9389 ac_check_soname_save_LIBS=$LIBS
9390 LIBS="-lXext $X_LIBS -lX11 $X_EXTRA_LIBS $LIBS"
9391 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9392 /* end confdefs.h. */
9394 /* Override any GCC internal prototype to avoid an error.
9395 Use char because int might match the return type of a GCC
9396 builtin and then its argument prototype would still apply. */
9397 #ifdef __cplusplus
9398 extern "C"
9399 #endif
9400 char XextCreateExtension ();
9402 main ()
9404 return XextCreateExtension ();
9406 return 0;
9408 _ACEOF
9409 if ac_fn_c_try_link "$LINENO"; then :
9410 case "$LIBEXT" in
9411 dll) ac_cv_lib_soname_Xext=`$ac_cv_path_LDD conftest.exe | grep "Xext" | sed -e "s/dll.*/dll/"';2,$d'` ;;
9412 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'` ;;
9413 *) ac_cv_lib_soname_Xext=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libXext\\.$LIBEXT" | sed -e "s/^.*\\[\\(libXext\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
9414 if ${ac_cv_lib_soname_Xext:+false} :; then :
9415 ac_cv_lib_soname_Xext=`$LDD conftest$ac_exeext | grep "libXext\\.$LIBEXT" | sed -e "s/^.*\(libXext\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
9416 fi ;;
9417 esac
9419 rm -f core conftest.err conftest.$ac_objext \
9420 conftest$ac_exeext conftest.$ac_ext
9421 LIBS=$ac_check_soname_save_LIBS
9423 if ${ac_cv_lib_soname_Xext:+false} :; then :
9424 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
9425 $as_echo "not found" >&6; }
9427 else
9428 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_Xext" >&5
9429 $as_echo "$ac_cv_lib_soname_Xext" >&6; }
9431 cat >>confdefs.h <<_ACEOF
9432 #define SONAME_LIBXEXT "$ac_cv_lib_soname_Xext"
9433 _ACEOF
9435 X_LIBS="$X_LIBS -lXext"
9437 X_LIBS="$X_LIBS -lX11"
9439 for ac_header in X11/Xlib.h \
9440 X11/XKBlib.h \
9441 X11/Xutil.h \
9442 X11/Xcursor/Xcursor.h \
9443 X11/extensions/shape.h \
9444 X11/extensions/XInput.h \
9445 X11/extensions/XInput2.h \
9446 X11/extensions/XShm.h \
9447 X11/extensions/Xcomposite.h \
9448 X11/extensions/Xinerama.h \
9449 X11/extensions/Xrandr.h \
9450 X11/extensions/Xrender.h \
9451 X11/extensions/xf86vmode.h \
9452 X11/extensions/xf86vmproto.h
9453 do :
9454 as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
9455 ac_fn_c_check_header_compile "$LINENO" "$ac_header" "$as_ac_Header" "#ifdef HAVE_X11_XLIB_H
9456 # include <X11/Xlib.h>
9457 #endif
9458 #ifdef HAVE_X11_XUTIL_H
9459 # include <X11/Xutil.h>
9460 #endif
9462 if eval test \"x\$"$as_ac_Header"\" = x"yes"; then :
9463 cat >>confdefs.h <<_ACEOF
9464 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
9465 _ACEOF
9469 done
9472 if test "$ac_cv_header_X11_XKBlib_h" = "yes"
9473 then
9474 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for XkbQueryExtension in -lX11" >&5
9475 $as_echo_n "checking for XkbQueryExtension in -lX11... " >&6; }
9476 if ${ac_cv_lib_X11_XkbQueryExtension+:} false; then :
9477 $as_echo_n "(cached) " >&6
9478 else
9479 ac_check_lib_save_LIBS=$LIBS
9480 LIBS="-lX11 $X_LIBS $X_EXTRA_LIBS $LIBS"
9481 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9482 /* end confdefs.h. */
9484 /* Override any GCC internal prototype to avoid an error.
9485 Use char because int might match the return type of a GCC
9486 builtin and then its argument prototype would still apply. */
9487 #ifdef __cplusplus
9488 extern "C"
9489 #endif
9490 char XkbQueryExtension ();
9492 main ()
9494 return XkbQueryExtension ();
9496 return 0;
9498 _ACEOF
9499 if ac_fn_c_try_link "$LINENO"; then :
9500 ac_cv_lib_X11_XkbQueryExtension=yes
9501 else
9502 ac_cv_lib_X11_XkbQueryExtension=no
9504 rm -f core conftest.err conftest.$ac_objext \
9505 conftest$ac_exeext conftest.$ac_ext
9506 LIBS=$ac_check_lib_save_LIBS
9508 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_X11_XkbQueryExtension" >&5
9509 $as_echo "$ac_cv_lib_X11_XkbQueryExtension" >&6; }
9510 if test "x$ac_cv_lib_X11_XkbQueryExtension" = xyes; then :
9512 $as_echo "#define HAVE_XKB 1" >>confdefs.h
9518 if test "$ac_cv_header_X11_Xcursor_Xcursor_h" = "yes"
9519 then
9520 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lXcursor" >&5
9521 $as_echo_n "checking for -lXcursor... " >&6; }
9522 if ${ac_cv_lib_soname_Xcursor+:} false; then :
9523 $as_echo_n "(cached) " >&6
9524 else
9525 ac_check_soname_save_LIBS=$LIBS
9526 LIBS="-lXcursor $X_LIBS $X_EXTRA_LIBS $LIBS"
9527 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9528 /* end confdefs.h. */
9530 /* Override any GCC internal prototype to avoid an error.
9531 Use char because int might match the return type of a GCC
9532 builtin and then its argument prototype would still apply. */
9533 #ifdef __cplusplus
9534 extern "C"
9535 #endif
9536 char XcursorImageLoadCursor ();
9538 main ()
9540 return XcursorImageLoadCursor ();
9542 return 0;
9544 _ACEOF
9545 if ac_fn_c_try_link "$LINENO"; then :
9546 case "$LIBEXT" in
9547 dll) ac_cv_lib_soname_Xcursor=`$ac_cv_path_LDD conftest.exe | grep "Xcursor" | sed -e "s/dll.*/dll/"';2,$d'` ;;
9548 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'` ;;
9549 *) ac_cv_lib_soname_Xcursor=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libXcursor\\.$LIBEXT" | sed -e "s/^.*\\[\\(libXcursor\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
9550 if ${ac_cv_lib_soname_Xcursor:+false} :; then :
9551 ac_cv_lib_soname_Xcursor=`$LDD conftest$ac_exeext | grep "libXcursor\\.$LIBEXT" | sed -e "s/^.*\(libXcursor\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
9552 fi ;;
9553 esac
9555 rm -f core conftest.err conftest.$ac_objext \
9556 conftest$ac_exeext conftest.$ac_ext
9557 LIBS=$ac_check_soname_save_LIBS
9559 if ${ac_cv_lib_soname_Xcursor:+false} :; then :
9560 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
9561 $as_echo "not found" >&6; }
9563 else
9564 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_Xcursor" >&5
9565 $as_echo "$ac_cv_lib_soname_Xcursor" >&6; }
9567 cat >>confdefs.h <<_ACEOF
9568 #define SONAME_LIBXCURSOR "$ac_cv_lib_soname_Xcursor"
9569 _ACEOF
9574 if test "x$ac_cv_lib_soname_Xcursor" = "x"; then :
9575 case "x$with_xcursor" in
9576 x) as_fn_append wine_notices "|libxcursor ${notice_platform}development files not found, the Xcursor extension won't be supported." ;;
9577 xno) ;;
9578 *) as_fn_error $? "libxcursor ${notice_platform}development files not found, the Xcursor extension won't be supported.
9579 This is an error since --with-xcursor was requested." "$LINENO" 5 ;;
9580 esac
9583 if test "$ac_cv_header_X11_extensions_XInput_h" = "yes"
9584 then
9585 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lXi" >&5
9586 $as_echo_n "checking for -lXi... " >&6; }
9587 if ${ac_cv_lib_soname_Xi+:} false; then :
9588 $as_echo_n "(cached) " >&6
9589 else
9590 ac_check_soname_save_LIBS=$LIBS
9591 LIBS="-lXi $X_LIBS $X_EXTRA_LIBS $LIBS"
9592 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9593 /* end confdefs.h. */
9595 /* Override any GCC internal prototype to avoid an error.
9596 Use char because int might match the return type of a GCC
9597 builtin and then its argument prototype would still apply. */
9598 #ifdef __cplusplus
9599 extern "C"
9600 #endif
9601 char XOpenDevice ();
9603 main ()
9605 return XOpenDevice ();
9607 return 0;
9609 _ACEOF
9610 if ac_fn_c_try_link "$LINENO"; then :
9611 case "$LIBEXT" in
9612 dll) ac_cv_lib_soname_Xi=`$ac_cv_path_LDD conftest.exe | grep "Xi" | sed -e "s/dll.*/dll/"';2,$d'` ;;
9613 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'` ;;
9614 *) ac_cv_lib_soname_Xi=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libXi\\.$LIBEXT" | sed -e "s/^.*\\[\\(libXi\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
9615 if ${ac_cv_lib_soname_Xi:+false} :; then :
9616 ac_cv_lib_soname_Xi=`$LDD conftest$ac_exeext | grep "libXi\\.$LIBEXT" | sed -e "s/^.*\(libXi\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
9617 fi ;;
9618 esac
9620 rm -f core conftest.err conftest.$ac_objext \
9621 conftest$ac_exeext conftest.$ac_ext
9622 LIBS=$ac_check_soname_save_LIBS
9624 if ${ac_cv_lib_soname_Xi:+false} :; then :
9625 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
9626 $as_echo "not found" >&6; }
9628 else
9629 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_Xi" >&5
9630 $as_echo "$ac_cv_lib_soname_Xi" >&6; }
9632 cat >>confdefs.h <<_ACEOF
9633 #define SONAME_LIBXI "$ac_cv_lib_soname_Xi"
9634 _ACEOF
9639 if test "x$ac_cv_lib_soname_Xi" = "x"; then :
9640 case "x$with_xinput" in
9641 x) as_fn_append wine_notices "|libxi ${notice_platform}development files not found, the Xinput extension won't be supported." ;;
9642 xno) ;;
9643 *) as_fn_error $? "libxi ${notice_platform}development files not found, the Xinput extension won't be supported.
9644 This is an error since --with-xinput was requested." "$LINENO" 5 ;;
9645 esac
9648 if test "x$ac_cv_lib_soname_Xi" != x
9649 then
9650 if test "$ac_cv_header_X11_extensions_XInput2_h" != "yes"; then :
9651 case "x$with_xinput2" in
9652 x) as_fn_append wine_notices "|XInput2 headers not found, the XInput 2 extension won't be supported." ;;
9653 xno) ;;
9654 *) as_fn_error $? "XInput2 headers not found, the XInput 2 extension won't be supported.
9655 This is an error since --with-xinput2 was requested." "$LINENO" 5 ;;
9656 esac
9660 if test "$ac_cv_header_X11_extensions_XShm_h" = "yes"
9661 then
9662 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for XShmQueryExtension in -lXext" >&5
9663 $as_echo_n "checking for XShmQueryExtension in -lXext... " >&6; }
9664 if ${ac_cv_lib_Xext_XShmQueryExtension+:} false; then :
9665 $as_echo_n "(cached) " >&6
9666 else
9667 ac_check_lib_save_LIBS=$LIBS
9668 LIBS="-lXext $X_LIBS $X_EXTRA_LIBS $LIBS"
9669 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9670 /* end confdefs.h. */
9672 /* Override any GCC internal prototype to avoid an error.
9673 Use char because int might match the return type of a GCC
9674 builtin and then its argument prototype would still apply. */
9675 #ifdef __cplusplus
9676 extern "C"
9677 #endif
9678 char XShmQueryExtension ();
9680 main ()
9682 return XShmQueryExtension ();
9684 return 0;
9686 _ACEOF
9687 if ac_fn_c_try_link "$LINENO"; then :
9688 ac_cv_lib_Xext_XShmQueryExtension=yes
9689 else
9690 ac_cv_lib_Xext_XShmQueryExtension=no
9692 rm -f core conftest.err conftest.$ac_objext \
9693 conftest$ac_exeext conftest.$ac_ext
9694 LIBS=$ac_check_lib_save_LIBS
9696 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_Xext_XShmQueryExtension" >&5
9697 $as_echo "$ac_cv_lib_Xext_XShmQueryExtension" >&6; }
9698 if test "x$ac_cv_lib_Xext_XShmQueryExtension" = xyes; then :
9700 $as_echo "#define HAVE_LIBXXSHM 1" >>confdefs.h
9705 if test "$ac_cv_lib_Xext_XShmQueryExtension" != "yes"; then :
9706 case "x$with_xshm" in
9707 x) as_fn_append wine_notices "|XShm ${notice_platform}development files not found, X Shared Memory won't be supported." ;;
9708 xno) ;;
9709 *) as_fn_error $? "XShm ${notice_platform}development files not found, X Shared Memory won't be supported.
9710 This is an error since --with-xshm was requested." "$LINENO" 5 ;;
9711 esac
9714 if test "$ac_cv_header_X11_extensions_shape_h" = "yes"
9715 then
9716 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for XShapeQueryExtension in -lXext" >&5
9717 $as_echo_n "checking for XShapeQueryExtension in -lXext... " >&6; }
9718 if ${ac_cv_lib_Xext_XShapeQueryExtension+:} false; then :
9719 $as_echo_n "(cached) " >&6
9720 else
9721 ac_check_lib_save_LIBS=$LIBS
9722 LIBS="-lXext $X_LIBS $X_EXTRA_LIBS $LIBS"
9723 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9724 /* end confdefs.h. */
9726 /* Override any GCC internal prototype to avoid an error.
9727 Use char because int might match the return type of a GCC
9728 builtin and then its argument prototype would still apply. */
9729 #ifdef __cplusplus
9730 extern "C"
9731 #endif
9732 char XShapeQueryExtension ();
9734 main ()
9736 return XShapeQueryExtension ();
9738 return 0;
9740 _ACEOF
9741 if ac_fn_c_try_link "$LINENO"; then :
9742 ac_cv_lib_Xext_XShapeQueryExtension=yes
9743 else
9744 ac_cv_lib_Xext_XShapeQueryExtension=no
9746 rm -f core conftest.err conftest.$ac_objext \
9747 conftest$ac_exeext conftest.$ac_ext
9748 LIBS=$ac_check_lib_save_LIBS
9750 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_Xext_XShapeQueryExtension" >&5
9751 $as_echo "$ac_cv_lib_Xext_XShapeQueryExtension" >&6; }
9752 if test "x$ac_cv_lib_Xext_XShapeQueryExtension" = xyes; then :
9754 $as_echo "#define HAVE_LIBXSHAPE 1" >>confdefs.h
9759 if test "$ac_cv_lib_Xext_XShapeQueryExtension" != "yes"; then :
9760 case "x$with_xshape" in
9761 x) as_fn_append wine_notices "|XShape ${notice_platform}development files not found, XShape won't be supported." ;;
9762 xno) ;;
9763 *) as_fn_error $? "XShape ${notice_platform}development files not found, XShape won't be supported.
9764 This is an error since --with-xshape was requested." "$LINENO" 5 ;;
9765 esac
9768 if test "$ac_cv_header_X11_extensions_xf86vmode_h" = "yes" -o "$ac_cv_header_X11_extensions_xf86vmproto_h" = "yes"
9769 then
9770 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lXxf86vm" >&5
9771 $as_echo_n "checking for -lXxf86vm... " >&6; }
9772 if ${ac_cv_lib_soname_Xxf86vm+:} false; then :
9773 $as_echo_n "(cached) " >&6
9774 else
9775 ac_check_soname_save_LIBS=$LIBS
9776 LIBS="-lXxf86vm $X_LIBS $X_EXTRA_LIBS $LIBS"
9777 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9778 /* end confdefs.h. */
9780 /* Override any GCC internal prototype to avoid an error.
9781 Use char because int might match the return type of a GCC
9782 builtin and then its argument prototype would still apply. */
9783 #ifdef __cplusplus
9784 extern "C"
9785 #endif
9786 char XF86VidModeQueryExtension ();
9788 main ()
9790 return XF86VidModeQueryExtension ();
9792 return 0;
9794 _ACEOF
9795 if ac_fn_c_try_link "$LINENO"; then :
9796 case "$LIBEXT" in
9797 dll) ac_cv_lib_soname_Xxf86vm=`$ac_cv_path_LDD conftest.exe | grep "Xxf86vm" | sed -e "s/dll.*/dll/"';2,$d'` ;;
9798 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'` ;;
9799 *) ac_cv_lib_soname_Xxf86vm=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libXxf86vm\\.$LIBEXT" | sed -e "s/^.*\\[\\(libXxf86vm\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
9800 if ${ac_cv_lib_soname_Xxf86vm:+false} :; then :
9801 ac_cv_lib_soname_Xxf86vm=`$LDD conftest$ac_exeext | grep "libXxf86vm\\.$LIBEXT" | sed -e "s/^.*\(libXxf86vm\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
9802 fi ;;
9803 esac
9805 rm -f core conftest.err conftest.$ac_objext \
9806 conftest$ac_exeext conftest.$ac_ext
9807 LIBS=$ac_check_soname_save_LIBS
9809 if ${ac_cv_lib_soname_Xxf86vm:+false} :; then :
9810 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
9811 $as_echo "not found" >&6; }
9813 else
9814 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_Xxf86vm" >&5
9815 $as_echo "$ac_cv_lib_soname_Xxf86vm" >&6; }
9817 cat >>confdefs.h <<_ACEOF
9818 #define SONAME_LIBXXF86VM "$ac_cv_lib_soname_Xxf86vm"
9819 _ACEOF
9824 if test "x$ac_cv_lib_soname_Xxf86vm" = "x"; then :
9825 case "x$with_xxf86vm" in
9826 x) as_fn_append wine_notices "|libXxf86vm ${notice_platform}development files not found, XFree86 Vidmode won't be supported." ;;
9827 xno) ;;
9828 *) as_fn_error $? "libXxf86vm ${notice_platform}development files not found, XFree86 Vidmode won't be supported.
9829 This is an error since --with-xxf86vm was requested." "$LINENO" 5 ;;
9830 esac
9833 if test "$ac_cv_header_X11_extensions_Xrender_h" = "yes" -a "x$ac_cv_lib_soname_X11" != "x"
9834 then
9835 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lXrender" >&5
9836 $as_echo_n "checking for -lXrender... " >&6; }
9837 if ${ac_cv_lib_soname_Xrender+:} false; then :
9838 $as_echo_n "(cached) " >&6
9839 else
9840 ac_check_soname_save_LIBS=$LIBS
9841 LIBS="-lXrender $X_LIBS $X_EXTRA_LIBS $LIBS"
9842 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9843 /* end confdefs.h. */
9845 /* Override any GCC internal prototype to avoid an error.
9846 Use char because int might match the return type of a GCC
9847 builtin and then its argument prototype would still apply. */
9848 #ifdef __cplusplus
9849 extern "C"
9850 #endif
9851 char XRenderQueryExtension ();
9853 main ()
9855 return XRenderQueryExtension ();
9857 return 0;
9859 _ACEOF
9860 if ac_fn_c_try_link "$LINENO"; then :
9861 case "$LIBEXT" in
9862 dll) ac_cv_lib_soname_Xrender=`$ac_cv_path_LDD conftest.exe | grep "Xrender" | sed -e "s/dll.*/dll/"';2,$d'` ;;
9863 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'` ;;
9864 *) ac_cv_lib_soname_Xrender=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libXrender\\.$LIBEXT" | sed -e "s/^.*\\[\\(libXrender\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
9865 if ${ac_cv_lib_soname_Xrender:+false} :; then :
9866 ac_cv_lib_soname_Xrender=`$LDD conftest$ac_exeext | grep "libXrender\\.$LIBEXT" | sed -e "s/^.*\(libXrender\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
9867 fi ;;
9868 esac
9870 rm -f core conftest.err conftest.$ac_objext \
9871 conftest$ac_exeext conftest.$ac_ext
9872 LIBS=$ac_check_soname_save_LIBS
9874 if ${ac_cv_lib_soname_Xrender:+false} :; then :
9875 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
9876 $as_echo "not found" >&6; }
9878 else
9879 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_Xrender" >&5
9880 $as_echo "$ac_cv_lib_soname_Xrender" >&6; }
9882 cat >>confdefs.h <<_ACEOF
9883 #define SONAME_LIBXRENDER "$ac_cv_lib_soname_Xrender"
9884 _ACEOF
9886 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for XRenderSetPictureTransform in -lXrender" >&5
9887 $as_echo_n "checking for XRenderSetPictureTransform in -lXrender... " >&6; }
9888 if ${ac_cv_lib_Xrender_XRenderSetPictureTransform+:} false; then :
9889 $as_echo_n "(cached) " >&6
9890 else
9891 ac_check_lib_save_LIBS=$LIBS
9892 LIBS="-lXrender $X_LIBS $X_EXTRA_LIBS $LIBS"
9893 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9894 /* end confdefs.h. */
9896 /* Override any GCC internal prototype to avoid an error.
9897 Use char because int might match the return type of a GCC
9898 builtin and then its argument prototype would still apply. */
9899 #ifdef __cplusplus
9900 extern "C"
9901 #endif
9902 char XRenderSetPictureTransform ();
9904 main ()
9906 return XRenderSetPictureTransform ();
9908 return 0;
9910 _ACEOF
9911 if ac_fn_c_try_link "$LINENO"; then :
9912 ac_cv_lib_Xrender_XRenderSetPictureTransform=yes
9913 else
9914 ac_cv_lib_Xrender_XRenderSetPictureTransform=no
9916 rm -f core conftest.err conftest.$ac_objext \
9917 conftest$ac_exeext conftest.$ac_ext
9918 LIBS=$ac_check_lib_save_LIBS
9920 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_Xrender_XRenderSetPictureTransform" >&5
9921 $as_echo "$ac_cv_lib_Xrender_XRenderSetPictureTransform" >&6; }
9922 if test "x$ac_cv_lib_Xrender_XRenderSetPictureTransform" = xyes; then :
9924 $as_echo "#define HAVE_XRENDERSETPICTURETRANSFORM 1" >>confdefs.h
9928 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for XRenderCreateLinearGradient in -lXrender" >&5
9929 $as_echo_n "checking for XRenderCreateLinearGradient in -lXrender... " >&6; }
9930 if ${ac_cv_lib_Xrender_XRenderCreateLinearGradient+:} false; then :
9931 $as_echo_n "(cached) " >&6
9932 else
9933 ac_check_lib_save_LIBS=$LIBS
9934 LIBS="-lXrender $X_LIBS $X_EXTRA_LIBS $LIBS"
9935 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9936 /* end confdefs.h. */
9938 /* Override any GCC internal prototype to avoid an error.
9939 Use char because int might match the return type of a GCC
9940 builtin and then its argument prototype would still apply. */
9941 #ifdef __cplusplus
9942 extern "C"
9943 #endif
9944 char XRenderCreateLinearGradient ();
9946 main ()
9948 return XRenderCreateLinearGradient ();
9950 return 0;
9952 _ACEOF
9953 if ac_fn_c_try_link "$LINENO"; then :
9954 ac_cv_lib_Xrender_XRenderCreateLinearGradient=yes
9955 else
9956 ac_cv_lib_Xrender_XRenderCreateLinearGradient=no
9958 rm -f core conftest.err conftest.$ac_objext \
9959 conftest$ac_exeext conftest.$ac_ext
9960 LIBS=$ac_check_lib_save_LIBS
9962 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_Xrender_XRenderCreateLinearGradient" >&5
9963 $as_echo "$ac_cv_lib_Xrender_XRenderCreateLinearGradient" >&6; }
9964 if test "x$ac_cv_lib_Xrender_XRenderCreateLinearGradient" = xyes; then :
9966 $as_echo "#define HAVE_XRENDERCREATELINEARGRADIENT 1" >>confdefs.h
9973 if test "x$ac_cv_lib_soname_Xrender" = "x"; then :
9974 case "x$with_xrender" in
9975 x) as_fn_append wine_warnings "|libxrender ${notice_platform}development files not found, XRender won't be supported." ;;
9976 xno) ;;
9977 *) as_fn_error $? "libxrender ${notice_platform}development files not found, XRender won't be supported.
9978 This is an error since --with-xrender was requested." "$LINENO" 5 ;;
9979 esac
9982 if test "$ac_cv_header_X11_extensions_Xrandr_h" = "yes" -a "x$ac_cv_lib_soname_Xrender" != "x"
9983 then
9984 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9985 /* end confdefs.h. */
9986 #include <X11/Xlib.h>
9987 #include <X11/extensions/Xrandr.h>
9989 main ()
9991 static typeof(XRRSetScreenConfigAndRate) * func; if (func) return 0;
9993 return 0;
9995 _ACEOF
9996 if ac_fn_c_try_compile "$LINENO"; then :
9997 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lXrandr" >&5
9998 $as_echo_n "checking for -lXrandr... " >&6; }
9999 if ${ac_cv_lib_soname_Xrandr+:} false; then :
10000 $as_echo_n "(cached) " >&6
10001 else
10002 ac_check_soname_save_LIBS=$LIBS
10003 LIBS="-lXrandr $X_LIBS $X_EXTRA_LIBS $LIBS"
10004 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10005 /* end confdefs.h. */
10007 /* Override any GCC internal prototype to avoid an error.
10008 Use char because int might match the return type of a GCC
10009 builtin and then its argument prototype would still apply. */
10010 #ifdef __cplusplus
10011 extern "C"
10012 #endif
10013 char XRRQueryExtension ();
10015 main ()
10017 return XRRQueryExtension ();
10019 return 0;
10021 _ACEOF
10022 if ac_fn_c_try_link "$LINENO"; then :
10023 case "$LIBEXT" in
10024 dll) ac_cv_lib_soname_Xrandr=`$ac_cv_path_LDD conftest.exe | grep "Xrandr" | sed -e "s/dll.*/dll/"';2,$d'` ;;
10025 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'` ;;
10026 *) ac_cv_lib_soname_Xrandr=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libXrandr\\.$LIBEXT" | sed -e "s/^.*\\[\\(libXrandr\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
10027 if ${ac_cv_lib_soname_Xrandr:+false} :; then :
10028 ac_cv_lib_soname_Xrandr=`$LDD conftest$ac_exeext | grep "libXrandr\\.$LIBEXT" | sed -e "s/^.*\(libXrandr\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
10029 fi ;;
10030 esac
10032 rm -f core conftest.err conftest.$ac_objext \
10033 conftest$ac_exeext conftest.$ac_ext
10034 LIBS=$ac_check_soname_save_LIBS
10036 if ${ac_cv_lib_soname_Xrandr:+false} :; then :
10037 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
10038 $as_echo "not found" >&6; }
10040 else
10041 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_Xrandr" >&5
10042 $as_echo "$ac_cv_lib_soname_Xrandr" >&6; }
10044 cat >>confdefs.h <<_ACEOF
10045 #define SONAME_LIBXRANDR "$ac_cv_lib_soname_Xrandr"
10046 _ACEOF
10048 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10049 /* end confdefs.h. */
10050 #include <X11/Xlib.h>
10051 #include <X11/extensions/Xrandr.h>
10053 main ()
10055 static typeof(XRRGetScreenResources) *f; if (f) return 0;
10057 return 0;
10059 _ACEOF
10060 if ac_fn_c_try_compile "$LINENO"; then :
10062 $as_echo "#define HAVE_XRRGETSCREENRESOURCES 1" >>confdefs.h
10065 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
10068 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
10070 if test "x$ac_cv_lib_soname_Xrandr" = "x"; then :
10071 case "x$with_xrandr" in
10072 x) as_fn_append wine_notices "|libxrandr ${notice_platform}development files not found, XRandr won't be supported." ;;
10073 xno) ;;
10074 *) as_fn_error $? "libxrandr ${notice_platform}development files not found, XRandr won't be supported.
10075 This is an error since --with-xrandr was requested." "$LINENO" 5 ;;
10076 esac
10079 if test "$ac_cv_header_X11_extensions_Xinerama_h" = "yes"
10080 then
10081 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10082 /* end confdefs.h. */
10083 #include <X11/Xlib.h>
10084 #include <X11/extensions/Xinerama.h>
10086 main ()
10088 static typeof(XineramaQueryScreens) * func; if (func) return 0;
10090 return 0;
10092 _ACEOF
10093 if ac_fn_c_try_compile "$LINENO"; then :
10094 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lXinerama" >&5
10095 $as_echo_n "checking for -lXinerama... " >&6; }
10096 if ${ac_cv_lib_soname_Xinerama+:} false; then :
10097 $as_echo_n "(cached) " >&6
10098 else
10099 ac_check_soname_save_LIBS=$LIBS
10100 LIBS="-lXinerama $X_LIBS $X_EXTRA_LIBS $LIBS"
10101 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10102 /* end confdefs.h. */
10104 /* Override any GCC internal prototype to avoid an error.
10105 Use char because int might match the return type of a GCC
10106 builtin and then its argument prototype would still apply. */
10107 #ifdef __cplusplus
10108 extern "C"
10109 #endif
10110 char XineramaQueryScreens ();
10112 main ()
10114 return XineramaQueryScreens ();
10116 return 0;
10118 _ACEOF
10119 if ac_fn_c_try_link "$LINENO"; then :
10120 case "$LIBEXT" in
10121 dll) ac_cv_lib_soname_Xinerama=`$ac_cv_path_LDD conftest.exe | grep "Xinerama" | sed -e "s/dll.*/dll/"';2,$d'` ;;
10122 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'` ;;
10123 *) ac_cv_lib_soname_Xinerama=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libXinerama\\.$LIBEXT" | sed -e "s/^.*\\[\\(libXinerama\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
10124 if ${ac_cv_lib_soname_Xinerama:+false} :; then :
10125 ac_cv_lib_soname_Xinerama=`$LDD conftest$ac_exeext | grep "libXinerama\\.$LIBEXT" | sed -e "s/^.*\(libXinerama\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
10126 fi ;;
10127 esac
10129 rm -f core conftest.err conftest.$ac_objext \
10130 conftest$ac_exeext conftest.$ac_ext
10131 LIBS=$ac_check_soname_save_LIBS
10133 if ${ac_cv_lib_soname_Xinerama:+false} :; then :
10134 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
10135 $as_echo "not found" >&6; }
10137 else
10138 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_Xinerama" >&5
10139 $as_echo "$ac_cv_lib_soname_Xinerama" >&6; }
10141 cat >>confdefs.h <<_ACEOF
10142 #define SONAME_LIBXINERAMA "$ac_cv_lib_soname_Xinerama"
10143 _ACEOF
10148 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
10150 if test "x$ac_cv_lib_soname_Xinerama" = "x"; then :
10151 case "x$with_xinerama" in
10152 x) as_fn_append wine_notices "|libxinerama ${notice_platform}development files not found, multi-monitor setups won't be supported." ;;
10153 xno) ;;
10154 *) as_fn_error $? "libxinerama ${notice_platform}development files not found, multi-monitor setups won't be supported.
10155 This is an error since --with-xinerama was requested." "$LINENO" 5 ;;
10156 esac
10159 if test "$ac_cv_header_X11_extensions_Xcomposite_h" = "yes"
10160 then
10161 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lXcomposite" >&5
10162 $as_echo_n "checking for -lXcomposite... " >&6; }
10163 if ${ac_cv_lib_soname_Xcomposite+:} false; then :
10164 $as_echo_n "(cached) " >&6
10165 else
10166 ac_check_soname_save_LIBS=$LIBS
10167 LIBS="-lXcomposite $X_LIBS $X_EXTRA_LIBS $LIBS"
10168 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10169 /* end confdefs.h. */
10171 /* Override any GCC internal prototype to avoid an error.
10172 Use char because int might match the return type of a GCC
10173 builtin and then its argument prototype would still apply. */
10174 #ifdef __cplusplus
10175 extern "C"
10176 #endif
10177 char XCompositeRedirectWindow ();
10179 main ()
10181 return XCompositeRedirectWindow ();
10183 return 0;
10185 _ACEOF
10186 if ac_fn_c_try_link "$LINENO"; then :
10187 case "$LIBEXT" in
10188 dll) ac_cv_lib_soname_Xcomposite=`$ac_cv_path_LDD conftest.exe | grep "Xcomposite" | sed -e "s/dll.*/dll/"';2,$d'` ;;
10189 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'` ;;
10190 *) ac_cv_lib_soname_Xcomposite=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libXcomposite\\.$LIBEXT" | sed -e "s/^.*\\[\\(libXcomposite\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
10191 if ${ac_cv_lib_soname_Xcomposite:+false} :; then :
10192 ac_cv_lib_soname_Xcomposite=`$LDD conftest$ac_exeext | grep "libXcomposite\\.$LIBEXT" | sed -e "s/^.*\(libXcomposite\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
10193 fi ;;
10194 esac
10196 rm -f core conftest.err conftest.$ac_objext \
10197 conftest$ac_exeext conftest.$ac_ext
10198 LIBS=$ac_check_soname_save_LIBS
10200 if ${ac_cv_lib_soname_Xcomposite:+false} :; then :
10201 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
10202 $as_echo "not found" >&6; }
10204 else
10205 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_Xcomposite" >&5
10206 $as_echo "$ac_cv_lib_soname_Xcomposite" >&6; }
10208 cat >>confdefs.h <<_ACEOF
10209 #define SONAME_LIBXCOMPOSITE "$ac_cv_lib_soname_Xcomposite"
10210 _ACEOF
10215 if test "x$ac_cv_lib_soname_Xcomposite" = "x"; then :
10216 case "x$with_xcomposite" in
10217 x) as_fn_append wine_notices "|libxcomposite ${notice_platform}development files not found, Xcomposite won't be supported." ;;
10218 xno) ;;
10219 *) as_fn_error $? "libxcomposite ${notice_platform}development files not found, Xcomposite won't be supported.
10220 This is an error since --with-xcomposite was requested." "$LINENO" 5 ;;
10221 esac
10224 ac_fn_c_check_member "$LINENO" "XICCallback" "callback" "ac_cv_member_XICCallback_callback" "#ifdef HAVE_X11_XLIB_H
10225 #include <X11/Xlib.h>
10226 #endif
10228 if test "x$ac_cv_member_XICCallback_callback" = xyes; then :
10230 cat >>confdefs.h <<_ACEOF
10231 #define HAVE_XICCALLBACK_CALLBACK 1
10232 _ACEOF
10236 ac_fn_c_check_member "$LINENO" "XEvent" "xcookie" "ac_cv_member_XEvent_xcookie" "#ifdef HAVE_X11_XLIB_H
10237 #include <X11/Xlib.h>
10238 #endif
10240 if test "x$ac_cv_member_XEvent_xcookie" = xyes; then :
10242 cat >>confdefs.h <<_ACEOF
10243 #define HAVE_XEVENT_XCOOKIE 1
10244 _ACEOF
10251 opengl_msg=""
10252 if test "x$with_opengl" != "xno"
10253 then
10254 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lGL" >&5
10255 $as_echo_n "checking for -lGL... " >&6; }
10256 if ${ac_cv_lib_soname_GL+:} false; then :
10257 $as_echo_n "(cached) " >&6
10258 else
10259 ac_check_soname_save_LIBS=$LIBS
10260 LIBS="-lGL $X_LIBS -lm $X_EXTRA_LIBS $LIBS"
10261 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10262 /* end confdefs.h. */
10264 /* Override any GCC internal prototype to avoid an error.
10265 Use char because int might match the return type of a GCC
10266 builtin and then its argument prototype would still apply. */
10267 #ifdef __cplusplus
10268 extern "C"
10269 #endif
10270 char glXCreateContext ();
10272 main ()
10274 return glXCreateContext ();
10276 return 0;
10278 _ACEOF
10279 if ac_fn_c_try_link "$LINENO"; then :
10280 case "$LIBEXT" in
10281 dll) ac_cv_lib_soname_GL=`$ac_cv_path_LDD conftest.exe | grep "GL" | sed -e "s/dll.*/dll/"';2,$d'` ;;
10282 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'` ;;
10283 *) ac_cv_lib_soname_GL=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libGL\\.$LIBEXT" | sed -e "s/^.*\\[\\(libGL\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
10284 if ${ac_cv_lib_soname_GL:+false} :; then :
10285 ac_cv_lib_soname_GL=`$LDD conftest$ac_exeext | grep "libGL\\.$LIBEXT" | sed -e "s/^.*\(libGL\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
10286 fi ;;
10287 esac
10289 rm -f core conftest.err conftest.$ac_objext \
10290 conftest$ac_exeext conftest.$ac_ext
10291 LIBS=$ac_check_soname_save_LIBS
10293 if ${ac_cv_lib_soname_GL:+false} :; then :
10294 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
10295 $as_echo "not found" >&6; }
10296 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lGL" >&5
10297 $as_echo_n "checking for -lGL... " >&6; }
10298 if ${ac_cv_lib_soname_GL+:} false; then :
10299 $as_echo_n "(cached) " >&6
10300 else
10301 ac_check_soname_save_LIBS=$LIBS
10302 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"
10303 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10304 /* end confdefs.h. */
10306 /* Override any GCC internal prototype to avoid an error.
10307 Use char because int might match the return type of a GCC
10308 builtin and then its argument prototype would still apply. */
10309 #ifdef __cplusplus
10310 extern "C"
10311 #endif
10312 char glXCreateContext ();
10314 main ()
10316 return glXCreateContext ();
10318 return 0;
10320 _ACEOF
10321 if ac_fn_c_try_link "$LINENO"; then :
10322 case "$LIBEXT" in
10323 dll) ac_cv_lib_soname_GL=`$ac_cv_path_LDD conftest.exe | grep "GL" | sed -e "s/dll.*/dll/"';2,$d'` ;;
10324 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'` ;;
10325 *) ac_cv_lib_soname_GL=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libGL\\.$LIBEXT" | sed -e "s/^.*\\[\\(libGL\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
10326 if ${ac_cv_lib_soname_GL:+false} :; then :
10327 ac_cv_lib_soname_GL=`$LDD conftest$ac_exeext | grep "libGL\\.$LIBEXT" | sed -e "s/^.*\(libGL\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
10328 fi ;;
10329 esac
10331 rm -f core conftest.err conftest.$ac_objext \
10332 conftest$ac_exeext conftest.$ac_ext
10333 LIBS=$ac_check_soname_save_LIBS
10335 if ${ac_cv_lib_soname_GL:+false} :; then :
10336 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
10337 $as_echo "not found" >&6; }
10338 if test -f /usr/X11R6/lib/libGL.a
10339 then
10340 opengl_msg="/usr/X11R6/lib/libGL.a is present on your system.
10341 This probably prevents linking to OpenGL. Try deleting the file and restarting configure."
10342 else
10343 opengl_msg="No OpenGL library found on this system."
10345 else
10346 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_GL" >&5
10347 $as_echo "$ac_cv_lib_soname_GL" >&6; }
10349 cat >>confdefs.h <<_ACEOF
10350 #define SONAME_LIBGL "$ac_cv_lib_soname_GL"
10351 _ACEOF
10353 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"
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="-lGL"
10365 if test "x$with_glu" != "xno"
10366 then
10367 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for gluLookAt in -lGLU" >&5
10368 $as_echo_n "checking for gluLookAt in -lGLU... " >&6; }
10369 if ${ac_cv_lib_GLU_gluLookAt+:} false; then :
10370 $as_echo_n "(cached) " >&6
10371 else
10372 ac_check_lib_save_LIBS=$LIBS
10373 LIBS="-lGLU $OPENGL_LIBS $X_LIBS -lm $X_EXTRA_LIBS $LIBS"
10374 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10375 /* end confdefs.h. */
10377 /* Override any GCC internal prototype to avoid an error.
10378 Use char because int might match the return type of a GCC
10379 builtin and then its argument prototype would still apply. */
10380 #ifdef __cplusplus
10381 extern "C"
10382 #endif
10383 char gluLookAt ();
10385 main ()
10387 return gluLookAt ();
10389 return 0;
10391 _ACEOF
10392 if ac_fn_c_try_link "$LINENO"; then :
10393 ac_cv_lib_GLU_gluLookAt=yes
10394 else
10395 ac_cv_lib_GLU_gluLookAt=no
10397 rm -f core conftest.err conftest.$ac_objext \
10398 conftest$ac_exeext conftest.$ac_ext
10399 LIBS=$ac_check_lib_save_LIBS
10401 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_GLU_gluLookAt" >&5
10402 $as_echo "$ac_cv_lib_GLU_gluLookAt" >&6; }
10403 if test "x$ac_cv_lib_GLU_gluLookAt" = xyes; then :
10407 if test "x$ac_cv_lib_GLU_gluLookAt" != xyes; then :
10408 case "x$with_glu" in
10409 x) as_fn_append wine_notices "|libGLU ${notice_platform}development files not found, GLU won't be supported." ;;
10410 xno) ;;
10411 *) as_fn_error $? "libGLU ${notice_platform}development files not found, GLU won't be supported.
10412 This is an error since --with-glu was requested." "$LINENO" 5 ;;
10413 esac
10417 if test "x$with_osmesa" != "xno"
10418 then
10419 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lOSMesa" >&5
10420 $as_echo_n "checking for -lOSMesa... " >&6; }
10421 if ${ac_cv_lib_soname_OSMesa+:} false; then :
10422 $as_echo_n "(cached) " >&6
10423 else
10424 ac_check_soname_save_LIBS=$LIBS
10425 LIBS="-lOSMesa $X_LIBS -lm $X_EXTRA_LIBS $LIBS"
10426 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10427 /* end confdefs.h. */
10429 /* Override any GCC internal prototype to avoid an error.
10430 Use char because int might match the return type of a GCC
10431 builtin and then its argument prototype would still apply. */
10432 #ifdef __cplusplus
10433 extern "C"
10434 #endif
10435 char glAccum ();
10437 main ()
10439 return glAccum ();
10441 return 0;
10443 _ACEOF
10444 if ac_fn_c_try_link "$LINENO"; then :
10445 case "$LIBEXT" in
10446 dll) ac_cv_lib_soname_OSMesa=`$ac_cv_path_LDD conftest.exe | grep "OSMesa" | sed -e "s/dll.*/dll/"';2,$d'` ;;
10447 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'` ;;
10448 *) ac_cv_lib_soname_OSMesa=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libOSMesa\\.$LIBEXT" | sed -e "s/^.*\\[\\(libOSMesa\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
10449 if ${ac_cv_lib_soname_OSMesa:+false} :; then :
10450 ac_cv_lib_soname_OSMesa=`$LDD conftest$ac_exeext | grep "libOSMesa\\.$LIBEXT" | sed -e "s/^.*\(libOSMesa\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
10451 fi ;;
10452 esac
10454 rm -f core conftest.err conftest.$ac_objext \
10455 conftest$ac_exeext conftest.$ac_ext
10456 LIBS=$ac_check_soname_save_LIBS
10458 if ${ac_cv_lib_soname_OSMesa:+false} :; then :
10459 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
10460 $as_echo "not found" >&6; }
10462 else
10463 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_OSMesa" >&5
10464 $as_echo "$ac_cv_lib_soname_OSMesa" >&6; }
10466 cat >>confdefs.h <<_ACEOF
10467 #define SONAME_LIBOSMESA "$ac_cv_lib_soname_OSMesa"
10468 _ACEOF
10472 if test "x$ac_cv_lib_soname_OSMesa" = "x"; then :
10473 case "x$with_osmesa" in
10474 x) as_fn_append wine_notices "|libOSMesa ${notice_platform}development files not found (or too old), OpenGL rendering in bitmaps won't be supported." ;;
10475 xno) ;;
10476 *) as_fn_error $? "libOSMesa ${notice_platform}development files not found (or too old), OpenGL rendering in bitmaps won't be supported.
10477 This is an error since --with-osmesa was requested." "$LINENO" 5 ;;
10478 esac
10482 if test -n "$opengl_msg"; then :
10483 case "x$with_opengl" in
10484 x) as_fn_append wine_warnings "|$opengl_msg
10485 OpenGL and Direct3D won't be supported." ;;
10486 xno) ;;
10487 *) as_fn_error $? "$opengl_msg
10488 OpenGL and Direct3D won't be supported.
10489 This is an error since --with-opengl was requested." "$LINENO" 5 ;;
10490 esac
10493 CPPFLAGS="$ac_save_CPPFLAGS"
10494 else
10495 X_CFLAGS=""
10496 X_LIBS=""
10497 enable_winex11_drv=${enable_winex11_drv:-no}
10499 if test "x$X_LIBS" = "x"; then :
10500 case "x$with_x" in
10501 xno) ;;
10502 *) as_fn_error $? "X ${notice_platform}development files not found. Wine will be built
10503 without X support, which probably isn't what you want. You will need
10504 to install ${notice_platform}development packages of Xlib/Xfree86 at the very least.
10505 Use the --without-x option if you really want this." "$LINENO" 5 ;;
10506 esac
10509 test "x$ac_cv_lib_GLU_gluLookAt" != xyes && enable_glu32=${enable_glu32:-no}
10511 if test "$ac_cv_header_CL_cl_h" = "yes"
10512 then
10513 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for clGetPlatformInfo in -lOpenCL" >&5
10514 $as_echo_n "checking for clGetPlatformInfo in -lOpenCL... " >&6; }
10515 if ${ac_cv_lib_OpenCL_clGetPlatformInfo+:} false; then :
10516 $as_echo_n "(cached) " >&6
10517 else
10518 ac_check_lib_save_LIBS=$LIBS
10519 LIBS="-lOpenCL $LIBS"
10520 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10521 /* end confdefs.h. */
10523 /* Override any GCC internal prototype to avoid an error.
10524 Use char because int might match the return type of a GCC
10525 builtin and then its argument prototype would still apply. */
10526 #ifdef __cplusplus
10527 extern "C"
10528 #endif
10529 char clGetPlatformInfo ();
10531 main ()
10533 return clGetPlatformInfo ();
10535 return 0;
10537 _ACEOF
10538 if ac_fn_c_try_link "$LINENO"; then :
10539 ac_cv_lib_OpenCL_clGetPlatformInfo=yes
10540 else
10541 ac_cv_lib_OpenCL_clGetPlatformInfo=no
10543 rm -f core conftest.err conftest.$ac_objext \
10544 conftest$ac_exeext conftest.$ac_ext
10545 LIBS=$ac_check_lib_save_LIBS
10547 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_OpenCL_clGetPlatformInfo" >&5
10548 $as_echo "$ac_cv_lib_OpenCL_clGetPlatformInfo" >&6; }
10549 if test "x$ac_cv_lib_OpenCL_clGetPlatformInfo" = xyes; then :
10550 OPENCL_LIBS="-lOpenCL"
10555 if test "x$ac_cv_lib_OpenCL_clGetPlatformInfo" != xyes; then :
10556 case "x$with_opencl" in
10557 x) as_fn_append wine_notices "|OpenCL ${notice_platform}development files not found, OpenCL won't be supported." ;;
10558 xno) ;;
10559 *) as_fn_error $? "OpenCL ${notice_platform}development files not found, OpenCL won't be supported.
10560 This is an error since --with-opencl was requested." "$LINENO" 5 ;;
10561 esac
10563 test "x$ac_cv_lib_OpenCL_clGetPlatformInfo" != xyes && enable_opencl=${enable_opencl:-no}
10565 if test "$ac_cv_header_pcap_pcap_h" = "yes"
10566 then
10567 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for pcap_create in -lpcap" >&5
10568 $as_echo_n "checking for pcap_create in -lpcap... " >&6; }
10569 if ${ac_cv_lib_pcap_pcap_create+:} false; then :
10570 $as_echo_n "(cached) " >&6
10571 else
10572 ac_check_lib_save_LIBS=$LIBS
10573 LIBS="-lpcap $LIBS"
10574 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10575 /* end confdefs.h. */
10577 /* Override any GCC internal prototype to avoid an error.
10578 Use char because int might match the return type of a GCC
10579 builtin and then its argument prototype would still apply. */
10580 #ifdef __cplusplus
10581 extern "C"
10582 #endif
10583 char pcap_create ();
10585 main ()
10587 return pcap_create ();
10589 return 0;
10591 _ACEOF
10592 if ac_fn_c_try_link "$LINENO"; then :
10593 ac_cv_lib_pcap_pcap_create=yes
10594 else
10595 ac_cv_lib_pcap_pcap_create=no
10597 rm -f core conftest.err conftest.$ac_objext \
10598 conftest$ac_exeext conftest.$ac_ext
10599 LIBS=$ac_check_lib_save_LIBS
10601 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_pcap_pcap_create" >&5
10602 $as_echo "$ac_cv_lib_pcap_pcap_create" >&6; }
10603 if test "x$ac_cv_lib_pcap_pcap_create" = xyes; then :
10604 LIBPCAP="-lpcap"
10609 if test "x$ac_cv_lib_pcap_pcap_create" != xyes; then :
10610 case "x$with_pcap" in
10611 x) as_fn_append wine_notices "|pcap ${notice_platform}development files not found, wpcap won't be supported." ;;
10612 xno) ;;
10613 *) as_fn_error $? "pcap ${notice_platform}development files not found, wpcap won't be supported.
10614 This is an error since --with-pcap was requested." "$LINENO" 5 ;;
10615 esac
10617 test "x$ac_cv_lib_pcap_pcap_create" != xyes && enable_wpcap=${enable_wpcap:-no}
10620 if test "x$with_xml" != "xno"
10621 then
10622 if ${XML2_CFLAGS:+false} :; then :
10623 if ${PKG_CONFIG+:} false; then :
10624 XML2_CFLAGS=`$PKG_CONFIG --cflags libxml-2.0 2>/dev/null`
10627 test "$cross_compiling" = yes || XML2_CFLAGS=${XML2_CFLAGS:-`xml2-config --cflags 2>/dev/null`}
10628 if ${XML2_LIBS:+false} :; then :
10629 if ${PKG_CONFIG+:} false; then :
10630 XML2_LIBS=`$PKG_CONFIG --libs libxml-2.0 2>/dev/null`
10633 test "$cross_compiling" = yes || XML2_LIBS=${XML2_LIBS:-`xml2-config --libs 2>/dev/null`}
10634 XML2_LIBS=${XML2_LIBS:-"-lxml2"}
10635 $as_echo "$as_me:${as_lineno-$LINENO}: libxml-2.0 cflags: $XML2_CFLAGS" >&5
10636 $as_echo "$as_me:${as_lineno-$LINENO}: libxml-2.0 libs: $XML2_LIBS" >&5
10637 ac_save_CPPFLAGS=$CPPFLAGS
10638 CPPFLAGS="$CPPFLAGS $XML2_CFLAGS"
10639 for ac_header in libxml/parser.h libxml/xmlsave.h libxml/SAX2.h
10640 do :
10641 as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
10642 ac_fn_c_check_header_mongrel "$LINENO" "$ac_header" "$as_ac_Header" "$ac_includes_default"
10643 if eval test \"x\$"$as_ac_Header"\" = x"yes"; then :
10644 cat >>confdefs.h <<_ACEOF
10645 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
10646 _ACEOF
10650 done
10652 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"
10653 then
10654 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for xmlParseMemory in -lxml2" >&5
10655 $as_echo_n "checking for xmlParseMemory in -lxml2... " >&6; }
10656 if ${ac_cv_lib_xml2_xmlParseMemory+:} false; then :
10657 $as_echo_n "(cached) " >&6
10658 else
10659 ac_check_lib_save_LIBS=$LIBS
10660 LIBS="-lxml2 $XML2_LIBS $LIBS"
10661 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10662 /* end confdefs.h. */
10664 /* Override any GCC internal prototype to avoid an error.
10665 Use char because int might match the return type of a GCC
10666 builtin and then its argument prototype would still apply. */
10667 #ifdef __cplusplus
10668 extern "C"
10669 #endif
10670 char xmlParseMemory ();
10672 main ()
10674 return xmlParseMemory ();
10676 return 0;
10678 _ACEOF
10679 if ac_fn_c_try_link "$LINENO"; then :
10680 ac_cv_lib_xml2_xmlParseMemory=yes
10681 else
10682 ac_cv_lib_xml2_xmlParseMemory=no
10684 rm -f core conftest.err conftest.$ac_objext \
10685 conftest$ac_exeext conftest.$ac_ext
10686 LIBS=$ac_check_lib_save_LIBS
10688 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_xml2_xmlParseMemory" >&5
10689 $as_echo "$ac_cv_lib_xml2_xmlParseMemory" >&6; }
10690 if test "x$ac_cv_lib_xml2_xmlParseMemory" = xyes; then :
10692 $as_echo "#define HAVE_LIBXML2 1" >>confdefs.h
10694 else
10695 XML2_LIBS=""
10698 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for xmlReadMemory in -lxml2" >&5
10699 $as_echo_n "checking for xmlReadMemory in -lxml2... " >&6; }
10700 if ${ac_cv_lib_xml2_xmlReadMemory+:} false; then :
10701 $as_echo_n "(cached) " >&6
10702 else
10703 ac_check_lib_save_LIBS=$LIBS
10704 LIBS="-lxml2 $XML2_LIBS $LIBS"
10705 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10706 /* end confdefs.h. */
10708 /* Override any GCC internal prototype to avoid an error.
10709 Use char because int might match the return type of a GCC
10710 builtin and then its argument prototype would still apply. */
10711 #ifdef __cplusplus
10712 extern "C"
10713 #endif
10714 char xmlReadMemory ();
10716 main ()
10718 return xmlReadMemory ();
10720 return 0;
10722 _ACEOF
10723 if ac_fn_c_try_link "$LINENO"; then :
10724 ac_cv_lib_xml2_xmlReadMemory=yes
10725 else
10726 ac_cv_lib_xml2_xmlReadMemory=no
10728 rm -f core conftest.err conftest.$ac_objext \
10729 conftest$ac_exeext conftest.$ac_ext
10730 LIBS=$ac_check_lib_save_LIBS
10732 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_xml2_xmlReadMemory" >&5
10733 $as_echo "$ac_cv_lib_xml2_xmlReadMemory" >&6; }
10734 if test "x$ac_cv_lib_xml2_xmlReadMemory" = xyes; then :
10736 $as_echo "#define HAVE_XMLREADMEMORY 1" >>confdefs.h
10740 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for xmlNewDocPI in -lxml2" >&5
10741 $as_echo_n "checking for xmlNewDocPI in -lxml2... " >&6; }
10742 if ${ac_cv_lib_xml2_xmlNewDocPI+:} false; then :
10743 $as_echo_n "(cached) " >&6
10744 else
10745 ac_check_lib_save_LIBS=$LIBS
10746 LIBS="-lxml2 $XML2_LIBS $LIBS"
10747 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10748 /* end confdefs.h. */
10750 /* Override any GCC internal prototype to avoid an error.
10751 Use char because int might match the return type of a GCC
10752 builtin and then its argument prototype would still apply. */
10753 #ifdef __cplusplus
10754 extern "C"
10755 #endif
10756 char xmlNewDocPI ();
10758 main ()
10760 return xmlNewDocPI ();
10762 return 0;
10764 _ACEOF
10765 if ac_fn_c_try_link "$LINENO"; then :
10766 ac_cv_lib_xml2_xmlNewDocPI=yes
10767 else
10768 ac_cv_lib_xml2_xmlNewDocPI=no
10770 rm -f core conftest.err conftest.$ac_objext \
10771 conftest$ac_exeext conftest.$ac_ext
10772 LIBS=$ac_check_lib_save_LIBS
10774 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_xml2_xmlNewDocPI" >&5
10775 $as_echo "$ac_cv_lib_xml2_xmlNewDocPI" >&6; }
10776 if test "x$ac_cv_lib_xml2_xmlNewDocPI" = xyes; then :
10778 $as_echo "#define HAVE_XMLNEWDOCPI 1" >>confdefs.h
10782 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for xmlSchemaSetParserStructuredErrors in -lxml2" >&5
10783 $as_echo_n "checking for xmlSchemaSetParserStructuredErrors in -lxml2... " >&6; }
10784 if ${ac_cv_lib_xml2_xmlSchemaSetParserStructuredErrors+:} false; then :
10785 $as_echo_n "(cached) " >&6
10786 else
10787 ac_check_lib_save_LIBS=$LIBS
10788 LIBS="-lxml2 $XML2_LIBS $LIBS"
10789 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10790 /* end confdefs.h. */
10792 /* Override any GCC internal prototype to avoid an error.
10793 Use char because int might match the return type of a GCC
10794 builtin and then its argument prototype would still apply. */
10795 #ifdef __cplusplus
10796 extern "C"
10797 #endif
10798 char xmlSchemaSetParserStructuredErrors ();
10800 main ()
10802 return xmlSchemaSetParserStructuredErrors ();
10804 return 0;
10806 _ACEOF
10807 if ac_fn_c_try_link "$LINENO"; then :
10808 ac_cv_lib_xml2_xmlSchemaSetParserStructuredErrors=yes
10809 else
10810 ac_cv_lib_xml2_xmlSchemaSetParserStructuredErrors=no
10812 rm -f core conftest.err conftest.$ac_objext \
10813 conftest$ac_exeext conftest.$ac_ext
10814 LIBS=$ac_check_lib_save_LIBS
10816 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_xml2_xmlSchemaSetParserStructuredErrors" >&5
10817 $as_echo "$ac_cv_lib_xml2_xmlSchemaSetParserStructuredErrors" >&6; }
10818 if test "x$ac_cv_lib_xml2_xmlSchemaSetParserStructuredErrors" = xyes; then :
10820 $as_echo "#define HAVE_XMLSCHEMASSETPARSERSTRUCTUREDERRORS 1" >>confdefs.h
10824 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for xmlSchemaSetValidStructuredErrors in -lxml2" >&5
10825 $as_echo_n "checking for xmlSchemaSetValidStructuredErrors in -lxml2... " >&6; }
10826 if ${ac_cv_lib_xml2_xmlSchemaSetValidStructuredErrors+:} false; then :
10827 $as_echo_n "(cached) " >&6
10828 else
10829 ac_check_lib_save_LIBS=$LIBS
10830 LIBS="-lxml2 $XML2_LIBS $LIBS"
10831 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10832 /* end confdefs.h. */
10834 /* Override any GCC internal prototype to avoid an error.
10835 Use char because int might match the return type of a GCC
10836 builtin and then its argument prototype would still apply. */
10837 #ifdef __cplusplus
10838 extern "C"
10839 #endif
10840 char xmlSchemaSetValidStructuredErrors ();
10842 main ()
10844 return xmlSchemaSetValidStructuredErrors ();
10846 return 0;
10848 _ACEOF
10849 if ac_fn_c_try_link "$LINENO"; then :
10850 ac_cv_lib_xml2_xmlSchemaSetValidStructuredErrors=yes
10851 else
10852 ac_cv_lib_xml2_xmlSchemaSetValidStructuredErrors=no
10854 rm -f core conftest.err conftest.$ac_objext \
10855 conftest$ac_exeext conftest.$ac_ext
10856 LIBS=$ac_check_lib_save_LIBS
10858 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_xml2_xmlSchemaSetValidStructuredErrors" >&5
10859 $as_echo "$ac_cv_lib_xml2_xmlSchemaSetValidStructuredErrors" >&6; }
10860 if test "x$ac_cv_lib_xml2_xmlSchemaSetValidStructuredErrors" = xyes; then :
10862 $as_echo "#define HAVE_XMLSCHEMASSETVALIDSTRUCTUREDERRORS 1" >>confdefs.h
10866 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for xmlFirstElementChild in -lxml2" >&5
10867 $as_echo_n "checking for xmlFirstElementChild in -lxml2... " >&6; }
10868 if ${ac_cv_lib_xml2_xmlFirstElementChild+:} false; then :
10869 $as_echo_n "(cached) " >&6
10870 else
10871 ac_check_lib_save_LIBS=$LIBS
10872 LIBS="-lxml2 $XML2_LIBS $LIBS"
10873 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10874 /* end confdefs.h. */
10876 /* Override any GCC internal prototype to avoid an error.
10877 Use char because int might match the return type of a GCC
10878 builtin and then its argument prototype would still apply. */
10879 #ifdef __cplusplus
10880 extern "C"
10881 #endif
10882 char xmlFirstElementChild ();
10884 main ()
10886 return xmlFirstElementChild ();
10888 return 0;
10890 _ACEOF
10891 if ac_fn_c_try_link "$LINENO"; then :
10892 ac_cv_lib_xml2_xmlFirstElementChild=yes
10893 else
10894 ac_cv_lib_xml2_xmlFirstElementChild=no
10896 rm -f core conftest.err conftest.$ac_objext \
10897 conftest$ac_exeext conftest.$ac_ext
10898 LIBS=$ac_check_lib_save_LIBS
10900 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_xml2_xmlFirstElementChild" >&5
10901 $as_echo "$ac_cv_lib_xml2_xmlFirstElementChild" >&6; }
10902 if test "x$ac_cv_lib_xml2_xmlFirstElementChild" = xyes; then :
10904 $as_echo "#define HAVE_XMLFIRSTELEMENTCHILD 1" >>confdefs.h
10908 ac_fn_c_check_type "$LINENO" "xmlDocProperties" "ac_cv_type_xmlDocProperties" "#include <libxml/tree.h>
10910 if test "x$ac_cv_type_xmlDocProperties" = xyes; then :
10912 $as_echo "#define HAVE_XMLDOC_PROPERTIES 1" >>confdefs.h
10916 else
10917 XML2_CFLAGS=""
10918 XML2_LIBS=""
10920 CPPFLAGS=$ac_save_CPPFLAGS
10921 test -z "$XML2_CFLAGS" || XML2_CFLAGS=`echo " $XML2_CFLAGS" | sed 's/ -I\([^/]\)/ -I\$(top_builddir)\/\1/g'`
10922 test -z "$XML2_LIBS" || XML2_LIBS=`echo " $XML2_LIBS" | sed 's/ -L\([^/]\)/ -L\$(top_builddir)\/\1/g'`
10925 if test "$ac_cv_lib_xml2_xmlParseMemory" != "yes"; then :
10926 case "x$with_xml" in
10927 x) as_fn_append wine_warnings "|libxml2 ${notice_platform}development files not found (or too old), XML won't be supported." ;;
10928 xno) ;;
10929 *) as_fn_error $? "libxml2 ${notice_platform}development files not found (or too old), XML won't be supported.
10930 This is an error since --with-xml was requested." "$LINENO" 5 ;;
10931 esac
10934 if test "x$with_xslt" != "xno"
10935 then
10936 if ${XSLT_CFLAGS:+false} :; then :
10937 if ${PKG_CONFIG+:} false; then :
10938 XSLT_CFLAGS=`$PKG_CONFIG --cflags libxslt 2>/dev/null`
10941 test "$cross_compiling" = yes || XSLT_CFLAGS=${XSLT_CFLAGS:-`xslt-config --cflags 2>/dev/null`}
10942 if ${XSLT_LIBS:+false} :; then :
10943 if ${PKG_CONFIG+:} false; then :
10944 XSLT_LIBS=`$PKG_CONFIG --libs libxslt 2>/dev/null`
10947 test "$cross_compiling" = yes || XSLT_LIBS=${XSLT_LIBS:-`xslt-config --libs 2>/dev/null`}
10948 XSLT_LIBS=${XSLT_LIBS:-"-lxml2"}
10949 $as_echo "$as_me:${as_lineno-$LINENO}: libxslt cflags: $XSLT_CFLAGS" >&5
10950 $as_echo "$as_me:${as_lineno-$LINENO}: libxslt libs: $XSLT_LIBS" >&5
10951 ac_save_CPPFLAGS=$CPPFLAGS
10952 CPPFLAGS="$CPPFLAGS $XSLT_CFLAGS"
10953 for ac_header in libxslt/pattern.h libxslt/transform.h
10954 do :
10955 as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
10956 ac_fn_c_check_header_compile "$LINENO" "$ac_header" "$as_ac_Header" "#ifdef HAVE_LIBXSLT_PATTERN_H
10957 # include <libxslt/pattern.h>
10958 #endif
10960 if eval test \"x\$"$as_ac_Header"\" = x"yes"; then :
10961 cat >>confdefs.h <<_ACEOF
10962 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
10963 _ACEOF
10967 done
10969 if test "$ac_cv_header_libxslt_transform_h" = "yes"
10970 then
10971 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lxslt" >&5
10972 $as_echo_n "checking for -lxslt... " >&6; }
10973 if ${ac_cv_lib_soname_xslt+:} false; then :
10974 $as_echo_n "(cached) " >&6
10975 else
10976 ac_check_soname_save_LIBS=$LIBS
10977 LIBS="-lxslt $XSLT_LIBS $LIBS"
10978 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10979 /* end confdefs.h. */
10981 /* Override any GCC internal prototype to avoid an error.
10982 Use char because int might match the return type of a GCC
10983 builtin and then its argument prototype would still apply. */
10984 #ifdef __cplusplus
10985 extern "C"
10986 #endif
10987 char xsltCompilePattern ();
10989 main ()
10991 return xsltCompilePattern ();
10993 return 0;
10995 _ACEOF
10996 if ac_fn_c_try_link "$LINENO"; then :
10997 case "$LIBEXT" in
10998 dll) ac_cv_lib_soname_xslt=`$ac_cv_path_LDD conftest.exe | grep "xslt" | sed -e "s/dll.*/dll/"';2,$d'` ;;
10999 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'` ;;
11000 *) ac_cv_lib_soname_xslt=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libxslt\\.$LIBEXT" | sed -e "s/^.*\\[\\(libxslt\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
11001 if ${ac_cv_lib_soname_xslt:+false} :; then :
11002 ac_cv_lib_soname_xslt=`$LDD conftest$ac_exeext | grep "libxslt\\.$LIBEXT" | sed -e "s/^.*\(libxslt\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
11003 fi ;;
11004 esac
11006 rm -f core conftest.err conftest.$ac_objext \
11007 conftest$ac_exeext conftest.$ac_ext
11008 LIBS=$ac_check_soname_save_LIBS
11010 if ${ac_cv_lib_soname_xslt:+false} :; then :
11011 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
11012 $as_echo "not found" >&6; }
11014 else
11015 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_xslt" >&5
11016 $as_echo "$ac_cv_lib_soname_xslt" >&6; }
11018 cat >>confdefs.h <<_ACEOF
11019 #define SONAME_LIBXSLT "$ac_cv_lib_soname_xslt"
11020 _ACEOF
11024 else
11025 XSLT_CFLAGS=""
11027 CPPFLAGS=$ac_save_CPPFLAGS
11028 test -z "$XSLT_CFLAGS" || XSLT_CFLAGS=`echo " $XSLT_CFLAGS" | sed 's/ -I\([^/]\)/ -I\$(top_builddir)\/\1/g'`
11029 test -z "$XSLT_LIBS" || XSLT_LIBS=`echo " $XSLT_LIBS" | sed 's/ -L\([^/]\)/ -L\$(top_builddir)\/\1/g'`
11032 if test "x$ac_cv_lib_soname_xslt" = "x"; then :
11033 case "x$with_xslt" in
11034 x) as_fn_append wine_warnings "|libxslt ${notice_platform}development files not found, xslt won't be supported." ;;
11035 xno) ;;
11036 *) as_fn_error $? "libxslt ${notice_platform}development files not found, xslt won't be supported.
11037 This is an error since --with-xslt was requested." "$LINENO" 5 ;;
11038 esac
11041 if test "x$with_dbus" != "xno"
11042 then
11043 if ${DBUS_CFLAGS:+false} :; then :
11044 if ${PKG_CONFIG+:} false; then :
11045 DBUS_CFLAGS=`$PKG_CONFIG --cflags dbus-1 2>/dev/null`
11049 if ${DBUS_LIBS:+false} :; then :
11050 if ${PKG_CONFIG+:} false; then :
11051 DBUS_LIBS=`$PKG_CONFIG --libs dbus-1 2>/dev/null`
11056 $as_echo "$as_me:${as_lineno-$LINENO}: dbus-1 cflags: $DBUS_CFLAGS" >&5
11057 $as_echo "$as_me:${as_lineno-$LINENO}: dbus-1 libs: $DBUS_LIBS" >&5
11058 ac_save_CPPFLAGS=$CPPFLAGS
11059 CPPFLAGS="$CPPFLAGS $DBUS_CFLAGS"
11060 ac_fn_c_check_header_mongrel "$LINENO" "dbus/dbus.h" "ac_cv_header_dbus_dbus_h" "$ac_includes_default"
11061 if test "x$ac_cv_header_dbus_dbus_h" = xyes; then :
11062 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -ldbus-1" >&5
11063 $as_echo_n "checking for -ldbus-1... " >&6; }
11064 if ${ac_cv_lib_soname_dbus_1+:} false; then :
11065 $as_echo_n "(cached) " >&6
11066 else
11067 ac_check_soname_save_LIBS=$LIBS
11068 LIBS="-ldbus-1 $DBUS_LIBS $LIBS"
11069 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11070 /* end confdefs.h. */
11072 /* Override any GCC internal prototype to avoid an error.
11073 Use char because int might match the return type of a GCC
11074 builtin and then its argument prototype would still apply. */
11075 #ifdef __cplusplus
11076 extern "C"
11077 #endif
11078 char dbus_connection_close ();
11080 main ()
11082 return dbus_connection_close ();
11084 return 0;
11086 _ACEOF
11087 if ac_fn_c_try_link "$LINENO"; then :
11088 case "$LIBEXT" in
11089 dll) ac_cv_lib_soname_dbus_1=`$ac_cv_path_LDD conftest.exe | grep "dbus-1" | sed -e "s/dll.*/dll/"';2,$d'` ;;
11090 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'` ;;
11091 *) 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'`
11092 if ${ac_cv_lib_soname_dbus_1:+false} :; then :
11093 ac_cv_lib_soname_dbus_1=`$LDD conftest$ac_exeext | grep "libdbus-1\\.$LIBEXT" | sed -e "s/^.*\(libdbus-1\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
11094 fi ;;
11095 esac
11097 rm -f core conftest.err conftest.$ac_objext \
11098 conftest$ac_exeext conftest.$ac_ext
11099 LIBS=$ac_check_soname_save_LIBS
11101 if ${ac_cv_lib_soname_dbus_1:+false} :; then :
11102 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
11103 $as_echo "not found" >&6; }
11104 DBUS_CFLAGS=""
11105 else
11106 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_dbus_1" >&5
11107 $as_echo "$ac_cv_lib_soname_dbus_1" >&6; }
11109 cat >>confdefs.h <<_ACEOF
11110 #define SONAME_LIBDBUS_1 "$ac_cv_lib_soname_dbus_1"
11111 _ACEOF
11115 else
11116 DBUS_CFLAGS=""
11120 CPPFLAGS=$ac_save_CPPFLAGS
11121 test -z "$DBUS_CFLAGS" || DBUS_CFLAGS=`echo " $DBUS_CFLAGS" | sed 's/ -I\([^/]\)/ -I\$(top_builddir)\/\1/g'`
11122 test -z "$DBUS_LIBS" || DBUS_LIBS=`echo " $DBUS_LIBS" | sed 's/ -L\([^/]\)/ -L\$(top_builddir)\/\1/g'`
11125 if test "x$ac_cv_lib_soname_dbus_1" = "x" -a \
11126 "x$ac_cv_header_DiskArbitration_DiskArbitration_h" != "xyes"; then :
11127 case "x$with_dbus" in
11128 x) as_fn_append wine_notices "|libdbus ${notice_platform}development files not found, no dynamic device support." ;;
11129 xno) ;;
11130 *) as_fn_error $? "libdbus ${notice_platform}development files not found, no dynamic device support.
11131 This is an error since --with-dbus was requested." "$LINENO" 5 ;;
11132 esac
11135 if test "x$with_hal" != "xno" -a "x$ac_cv_lib_soname_dbus_1" != x
11136 then
11137 if ${HAL_CFLAGS:+false} :; then :
11138 if ${PKG_CONFIG+:} false; then :
11139 HAL_CFLAGS=`$PKG_CONFIG --cflags hal 2>/dev/null`
11143 if ${HAL_LIBS:+false} :; then :
11144 if ${PKG_CONFIG+:} false; then :
11145 HAL_LIBS=`$PKG_CONFIG --libs hal 2>/dev/null`
11149 HAL_LIBS=${HAL_LIBS:-"-ldbus-1"}
11150 $as_echo "$as_me:${as_lineno-$LINENO}: hal cflags: $HAL_CFLAGS" >&5
11151 $as_echo "$as_me:${as_lineno-$LINENO}: hal libs: $HAL_LIBS" >&5
11152 ac_save_CPPFLAGS=$CPPFLAGS
11153 CPPFLAGS="$CPPFLAGS $HAL_CFLAGS"
11154 ac_fn_c_check_header_mongrel "$LINENO" "hal/libhal.h" "ac_cv_header_hal_libhal_h" "$ac_includes_default"
11155 if test "x$ac_cv_header_hal_libhal_h" = xyes; then :
11156 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lhal" >&5
11157 $as_echo_n "checking for -lhal... " >&6; }
11158 if ${ac_cv_lib_soname_hal+:} false; then :
11159 $as_echo_n "(cached) " >&6
11160 else
11161 ac_check_soname_save_LIBS=$LIBS
11162 LIBS="-lhal $HAL_LIBS $LIBS"
11163 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11164 /* end confdefs.h. */
11166 /* Override any GCC internal prototype to avoid an error.
11167 Use char because int might match the return type of a GCC
11168 builtin and then its argument prototype would still apply. */
11169 #ifdef __cplusplus
11170 extern "C"
11171 #endif
11172 char libhal_ctx_new ();
11174 main ()
11176 return libhal_ctx_new ();
11178 return 0;
11180 _ACEOF
11181 if ac_fn_c_try_link "$LINENO"; then :
11182 case "$LIBEXT" in
11183 dll) ac_cv_lib_soname_hal=`$ac_cv_path_LDD conftest.exe | grep "hal" | sed -e "s/dll.*/dll/"';2,$d'` ;;
11184 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'` ;;
11185 *) ac_cv_lib_soname_hal=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libhal\\.$LIBEXT" | sed -e "s/^.*\\[\\(libhal\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
11186 if ${ac_cv_lib_soname_hal:+false} :; then :
11187 ac_cv_lib_soname_hal=`$LDD conftest$ac_exeext | grep "libhal\\.$LIBEXT" | sed -e "s/^.*\(libhal\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
11188 fi ;;
11189 esac
11191 rm -f core conftest.err conftest.$ac_objext \
11192 conftest$ac_exeext conftest.$ac_ext
11193 LIBS=$ac_check_soname_save_LIBS
11195 if ${ac_cv_lib_soname_hal:+false} :; then :
11196 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
11197 $as_echo "not found" >&6; }
11198 HAL_CFLAGS=""
11199 else
11200 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_hal" >&5
11201 $as_echo "$ac_cv_lib_soname_hal" >&6; }
11203 cat >>confdefs.h <<_ACEOF
11204 #define SONAME_LIBHAL "$ac_cv_lib_soname_hal"
11205 _ACEOF
11209 else
11210 HAL_CFLAGS=""
11214 CPPFLAGS=$ac_save_CPPFLAGS
11215 test -z "$HAL_CFLAGS" || HAL_CFLAGS=`echo " $HAL_CFLAGS" | sed 's/ -I\([^/]\)/ -I\$(top_builddir)\/\1/g'`
11216 test -z "$HAL_LIBS" || HAL_LIBS=`echo " $HAL_LIBS" | sed 's/ -L\([^/]\)/ -L\$(top_builddir)\/\1/g'`
11218 if test "x$ac_cv_lib_soname_hal" = "x" -a \
11219 "x$ac_cv_header_DiskArbitration_DiskArbitration_h" != "xyes"; then :
11220 case "x$with_hal" in
11221 x) as_fn_append wine_notices "|libhal ${notice_platform}development files not found, no legacy dynamic device support." ;;
11222 xno) ;;
11223 *) as_fn_error $? "libhal ${notice_platform}development files not found, no legacy dynamic device support.
11224 This is an error since --with-hal was requested." "$LINENO" 5 ;;
11225 esac
11229 if test "x$with_gnutls" != "xno"
11230 then
11231 if ${GNUTLS_CFLAGS:+false} :; then :
11232 if ${PKG_CONFIG+:} false; then :
11233 GNUTLS_CFLAGS=`$PKG_CONFIG --cflags gnutls 2>/dev/null`
11237 if ${GNUTLS_LIBS:+false} :; then :
11238 if ${PKG_CONFIG+:} false; then :
11239 GNUTLS_LIBS=`$PKG_CONFIG --libs gnutls 2>/dev/null`
11244 $as_echo "$as_me:${as_lineno-$LINENO}: gnutls cflags: $GNUTLS_CFLAGS" >&5
11245 $as_echo "$as_me:${as_lineno-$LINENO}: gnutls libs: $GNUTLS_LIBS" >&5
11246 ac_save_CPPFLAGS=$CPPFLAGS
11247 CPPFLAGS="$CPPFLAGS $GNUTLS_CFLAGS"
11248 ac_fn_c_check_header_mongrel "$LINENO" "gnutls/gnutls.h" "ac_cv_header_gnutls_gnutls_h" "$ac_includes_default"
11249 if test "x$ac_cv_header_gnutls_gnutls_h" = xyes; then :
11250 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11251 /* end confdefs.h. */
11252 #include <gnutls/gnutls.h>
11253 #include <gnutls/crypto.h>
11255 main ()
11257 static typeof(gnutls_mac_get_key_size) *func; if (func) return 0;
11259 return 0;
11261 _ACEOF
11262 if ac_fn_c_try_compile "$LINENO"; then :
11263 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lgnutls" >&5
11264 $as_echo_n "checking for -lgnutls... " >&6; }
11265 if ${ac_cv_lib_soname_gnutls+:} false; then :
11266 $as_echo_n "(cached) " >&6
11267 else
11268 ac_check_soname_save_LIBS=$LIBS
11269 LIBS="-lgnutls $GNUTLS_LIBS $LIBS"
11270 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11271 /* end confdefs.h. */
11273 /* Override any GCC internal prototype to avoid an error.
11274 Use char because int might match the return type of a GCC
11275 builtin and then its argument prototype would still apply. */
11276 #ifdef __cplusplus
11277 extern "C"
11278 #endif
11279 char gnutls_global_init ();
11281 main ()
11283 return gnutls_global_init ();
11285 return 0;
11287 _ACEOF
11288 if ac_fn_c_try_link "$LINENO"; then :
11289 case "$LIBEXT" in
11290 dll) ac_cv_lib_soname_gnutls=`$ac_cv_path_LDD conftest.exe | grep "gnutls" | sed -e "s/dll.*/dll/"';2,$d'` ;;
11291 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'` ;;
11292 *) 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'`
11293 if ${ac_cv_lib_soname_gnutls:+false} :; then :
11294 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'`
11295 fi ;;
11296 esac
11298 rm -f core conftest.err conftest.$ac_objext \
11299 conftest$ac_exeext conftest.$ac_ext
11300 LIBS=$ac_check_soname_save_LIBS
11302 if ${ac_cv_lib_soname_gnutls:+false} :; then :
11303 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
11304 $as_echo "not found" >&6; }
11305 GNUTLS_CFLAGS=""
11306 else
11307 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_gnutls" >&5
11308 $as_echo "$ac_cv_lib_soname_gnutls" >&6; }
11310 cat >>confdefs.h <<_ACEOF
11311 #define SONAME_LIBGNUTLS "$ac_cv_lib_soname_gnutls"
11312 _ACEOF
11317 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
11318 else
11319 GNUTLS_CFLAGS=""
11323 CPPFLAGS=$ac_save_CPPFLAGS
11324 test -z "$GNUTLS_CFLAGS" || GNUTLS_CFLAGS=`echo " $GNUTLS_CFLAGS" | sed 's/ -I\([^/]\)/ -I\$(top_builddir)\/\1/g'`
11325 test -z "$GNUTLS_LIBS" || GNUTLS_LIBS=`echo " $GNUTLS_LIBS" | sed 's/ -L\([^/]\)/ -L\$(top_builddir)\/\1/g'`
11328 if test "x$ac_cv_lib_soname_gnutls" = "x"; then :
11329 case "x$with_gnutls" in
11330 x) as_fn_append wine_warnings "|libgnutls ${notice_platform}development files not found, no schannel support." ;;
11331 xno) ;;
11332 *) as_fn_error $? "libgnutls ${notice_platform}development files not found, no schannel support.
11333 This is an error since --with-gnutls was requested." "$LINENO" 5 ;;
11334 esac
11337 CURSES_LIBS=""
11338 if test "$ac_cv_header_ncurses_h" = "yes"
11339 then
11340 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lncurses" >&5
11341 $as_echo_n "checking for -lncurses... " >&6; }
11342 if ${ac_cv_lib_soname_ncurses+:} false; then :
11343 $as_echo_n "(cached) " >&6
11344 else
11345 ac_check_soname_save_LIBS=$LIBS
11346 LIBS="-lncurses $LIBS"
11347 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11348 /* end confdefs.h. */
11350 /* Override any GCC internal prototype to avoid an error.
11351 Use char because int might match the return type of a GCC
11352 builtin and then its argument prototype would still apply. */
11353 #ifdef __cplusplus
11354 extern "C"
11355 #endif
11356 char waddch ();
11358 main ()
11360 return waddch ();
11362 return 0;
11364 _ACEOF
11365 if ac_fn_c_try_link "$LINENO"; then :
11366 case "$LIBEXT" in
11367 dll) ac_cv_lib_soname_ncurses=`$ac_cv_path_LDD conftest.exe | grep "ncurses" | sed -e "s/dll.*/dll/"';2,$d'` ;;
11368 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'` ;;
11369 *) 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'`
11370 if ${ac_cv_lib_soname_ncurses:+false} :; then :
11371 ac_cv_lib_soname_ncurses=`$LDD conftest$ac_exeext | grep "libncursesw\\{0,1\\}\\.$LIBEXT" | sed -e "s/^.*\(libncursesw\\{0,1\\}\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
11372 fi ;;
11373 esac
11375 rm -f core conftest.err conftest.$ac_objext \
11376 conftest$ac_exeext conftest.$ac_ext
11377 LIBS=$ac_check_soname_save_LIBS
11379 if ${ac_cv_lib_soname_ncurses:+false} :; then :
11380 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
11381 $as_echo "not found" >&6; }
11383 else
11384 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_ncurses" >&5
11385 $as_echo "$ac_cv_lib_soname_ncurses" >&6; }
11387 cat >>confdefs.h <<_ACEOF
11388 #define SONAME_LIBNCURSES "$ac_cv_lib_soname_ncurses"
11389 _ACEOF
11391 CURSES_LIBS="-lncurses"
11393 elif test "$ac_cv_header_curses_h" = "yes"
11394 then
11395 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lcurses" >&5
11396 $as_echo_n "checking for -lcurses... " >&6; }
11397 if ${ac_cv_lib_soname_curses+:} false; then :
11398 $as_echo_n "(cached) " >&6
11399 else
11400 ac_check_soname_save_LIBS=$LIBS
11401 LIBS="-lcurses $LIBS"
11402 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11403 /* end confdefs.h. */
11405 /* Override any GCC internal prototype to avoid an error.
11406 Use char because int might match the return type of a GCC
11407 builtin and then its argument prototype would still apply. */
11408 #ifdef __cplusplus
11409 extern "C"
11410 #endif
11411 char waddch ();
11413 main ()
11415 return waddch ();
11417 return 0;
11419 _ACEOF
11420 if ac_fn_c_try_link "$LINENO"; then :
11421 case "$LIBEXT" in
11422 dll) ac_cv_lib_soname_curses=`$ac_cv_path_LDD conftest.exe | grep "curses" | sed -e "s/dll.*/dll/"';2,$d'` ;;
11423 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'` ;;
11424 *) ac_cv_lib_soname_curses=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libcurses\\.$LIBEXT" | sed -e "s/^.*\\[\\(libcurses\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
11425 if ${ac_cv_lib_soname_curses:+false} :; then :
11426 ac_cv_lib_soname_curses=`$LDD conftest$ac_exeext | grep "libcurses\\.$LIBEXT" | sed -e "s/^.*\(libcurses\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
11427 fi ;;
11428 esac
11430 rm -f core conftest.err conftest.$ac_objext \
11431 conftest$ac_exeext conftest.$ac_ext
11432 LIBS=$ac_check_soname_save_LIBS
11434 if ${ac_cv_lib_soname_curses:+false} :; then :
11435 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
11436 $as_echo "not found" >&6; }
11438 else
11439 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_curses" >&5
11440 $as_echo "$ac_cv_lib_soname_curses" >&6; }
11442 cat >>confdefs.h <<_ACEOF
11443 #define SONAME_LIBCURSES "$ac_cv_lib_soname_curses"
11444 _ACEOF
11446 CURSES_LIBS="-lcurses"
11449 ac_save_LIBS="$LIBS"
11450 LIBS="$LIBS $CURSES_LIBS"
11451 for ac_func in mousemask
11452 do :
11453 ac_fn_c_check_func "$LINENO" "mousemask" "ac_cv_func_mousemask"
11454 if test "x$ac_cv_func_mousemask" = xyes; then :
11455 cat >>confdefs.h <<_ACEOF
11456 #define HAVE_MOUSEMASK 1
11457 _ACEOF
11460 done
11462 LIBS="$ac_save_LIBS"
11463 if test "x$ac_cv_lib_soname_curses$ac_cv_lib_soname_ncurses" = "x"; then :
11464 case "x$with_curses" in
11465 x) as_fn_append wine_notices "|lib(n)curses ${notice_platform}development files not found, curses won't be supported." ;;
11466 xno) ;;
11467 *) as_fn_error $? "lib(n)curses ${notice_platform}development files not found, curses won't be supported.
11468 This is an error since --with-curses was requested." "$LINENO" 5 ;;
11469 esac
11472 if test "x$with_sane" != "xno"
11473 then
11474 if ${SANE_CFLAGS:+false} :; then :
11475 if ${PKG_CONFIG+:} false; then :
11476 SANE_CFLAGS=`$PKG_CONFIG --cflags libsane 2>/dev/null`
11479 test "$cross_compiling" = yes || SANE_CFLAGS=${SANE_CFLAGS:-`sane-config --cflags 2>/dev/null`}
11480 if ${SANE_LIBS:+false} :; then :
11481 if ${PKG_CONFIG+:} false; then :
11482 SANE_LIBS=`$PKG_CONFIG --libs libsane 2>/dev/null`
11485 test "$cross_compiling" = yes || SANE_LIBS=${SANE_LIBS:-`sane-config --ldflags 2>/dev/null`}
11487 $as_echo "$as_me:${as_lineno-$LINENO}: libsane cflags: $SANE_CFLAGS" >&5
11488 $as_echo "$as_me:${as_lineno-$LINENO}: libsane libs: $SANE_LIBS" >&5
11489 ac_save_CPPFLAGS=$CPPFLAGS
11490 CPPFLAGS="$CPPFLAGS $SANE_CFLAGS"
11491 ac_fn_c_check_header_mongrel "$LINENO" "sane/sane.h" "ac_cv_header_sane_sane_h" "$ac_includes_default"
11492 if test "x$ac_cv_header_sane_sane_h" = xyes; then :
11493 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lsane" >&5
11494 $as_echo_n "checking for -lsane... " >&6; }
11495 if ${ac_cv_lib_soname_sane+:} false; then :
11496 $as_echo_n "(cached) " >&6
11497 else
11498 ac_check_soname_save_LIBS=$LIBS
11499 LIBS="-lsane $SANE_LIBS $LIBS"
11500 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11501 /* end confdefs.h. */
11503 /* Override any GCC internal prototype to avoid an error.
11504 Use char because int might match the return type of a GCC
11505 builtin and then its argument prototype would still apply. */
11506 #ifdef __cplusplus
11507 extern "C"
11508 #endif
11509 char sane_init ();
11511 main ()
11513 return sane_init ();
11515 return 0;
11517 _ACEOF
11518 if ac_fn_c_try_link "$LINENO"; then :
11519 case "$LIBEXT" in
11520 dll) ac_cv_lib_soname_sane=`$ac_cv_path_LDD conftest.exe | grep "sane" | sed -e "s/dll.*/dll/"';2,$d'` ;;
11521 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'` ;;
11522 *) ac_cv_lib_soname_sane=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libsane\\.$LIBEXT" | sed -e "s/^.*\\[\\(libsane\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
11523 if ${ac_cv_lib_soname_sane:+false} :; then :
11524 ac_cv_lib_soname_sane=`$LDD conftest$ac_exeext | grep "libsane\\.$LIBEXT" | sed -e "s/^.*\(libsane\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
11525 fi ;;
11526 esac
11528 rm -f core conftest.err conftest.$ac_objext \
11529 conftest$ac_exeext conftest.$ac_ext
11530 LIBS=$ac_check_soname_save_LIBS
11532 if ${ac_cv_lib_soname_sane:+false} :; then :
11533 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
11534 $as_echo "not found" >&6; }
11535 SANE_CFLAGS=""
11536 else
11537 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_sane" >&5
11538 $as_echo "$ac_cv_lib_soname_sane" >&6; }
11540 cat >>confdefs.h <<_ACEOF
11541 #define SONAME_LIBSANE "$ac_cv_lib_soname_sane"
11542 _ACEOF
11546 else
11547 SANE_CFLAGS=""
11551 CPPFLAGS=$ac_save_CPPFLAGS
11552 test -z "$SANE_CFLAGS" || SANE_CFLAGS=`echo " $SANE_CFLAGS" | sed 's/ -I\([^/]\)/ -I\$(top_builddir)\/\1/g'`
11553 test -z "$SANE_LIBS" || SANE_LIBS=`echo " $SANE_LIBS" | sed 's/ -L\([^/]\)/ -L\$(top_builddir)\/\1/g'`
11556 if test "x$ac_cv_lib_soname_sane" = "x"; then :
11557 case "x$with_sane" in
11558 x) as_fn_append wine_notices "|libsane ${notice_platform}development files not found, scanners won't be supported." ;;
11559 xno) ;;
11560 *) as_fn_error $? "libsane ${notice_platform}development files not found, scanners won't be supported.
11561 This is an error since --with-sane was requested." "$LINENO" 5 ;;
11562 esac
11565 if test "x$with_v4l" != "xno"
11566 then
11567 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lv4l1" >&5
11568 $as_echo_n "checking for -lv4l1... " >&6; }
11569 if ${ac_cv_lib_soname_v4l1+:} false; then :
11570 $as_echo_n "(cached) " >&6
11571 else
11572 ac_check_soname_save_LIBS=$LIBS
11573 LIBS="-lv4l1 $LIBS"
11574 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11575 /* end confdefs.h. */
11577 /* Override any GCC internal prototype to avoid an error.
11578 Use char because int might match the return type of a GCC
11579 builtin and then its argument prototype would still apply. */
11580 #ifdef __cplusplus
11581 extern "C"
11582 #endif
11583 char v4l1_open ();
11585 main ()
11587 return v4l1_open ();
11589 return 0;
11591 _ACEOF
11592 if ac_fn_c_try_link "$LINENO"; then :
11593 case "$LIBEXT" in
11594 dll) ac_cv_lib_soname_v4l1=`$ac_cv_path_LDD conftest.exe | grep "v4l1" | sed -e "s/dll.*/dll/"';2,$d'` ;;
11595 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'` ;;
11596 *) ac_cv_lib_soname_v4l1=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libv4l1\\.$LIBEXT" | sed -e "s/^.*\\[\\(libv4l1\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
11597 if ${ac_cv_lib_soname_v4l1:+false} :; then :
11598 ac_cv_lib_soname_v4l1=`$LDD conftest$ac_exeext | grep "libv4l1\\.$LIBEXT" | sed -e "s/^.*\(libv4l1\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
11599 fi ;;
11600 esac
11602 rm -f core conftest.err conftest.$ac_objext \
11603 conftest$ac_exeext conftest.$ac_ext
11604 LIBS=$ac_check_soname_save_LIBS
11606 if ${ac_cv_lib_soname_v4l1:+false} :; then :
11607 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
11608 $as_echo "not found" >&6; }
11610 else
11611 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_v4l1" >&5
11612 $as_echo "$ac_cv_lib_soname_v4l1" >&6; }
11614 cat >>confdefs.h <<_ACEOF
11615 #define SONAME_LIBV4L1 "$ac_cv_lib_soname_v4l1"
11616 _ACEOF
11621 if test "x$ac_cv_lib_soname_v4l1" = "x"; then :
11622 case "x$with_v4l" in
11623 x) as_fn_append wine_notices "|libv4l ${notice_platform}development files not found." ;;
11624 xno) ;;
11625 *) as_fn_error $? "libv4l ${notice_platform}development files not found.
11626 This is an error since --with-v4l was requested." "$LINENO" 5 ;;
11627 esac
11630 if test "x$with_gphoto" != "xno"
11631 then
11632 if ${GPHOTO2_CFLAGS:+false} :; then :
11633 if ${PKG_CONFIG+:} false; then :
11634 GPHOTO2_CFLAGS=`$PKG_CONFIG --cflags libgphoto2 2>/dev/null`
11637 test "$cross_compiling" = yes || GPHOTO2_CFLAGS=${GPHOTO2_CFLAGS:-`gphoto2-config --cflags 2>/dev/null`}
11638 if ${GPHOTO2_LIBS:+false} :; then :
11639 if ${PKG_CONFIG+:} false; then :
11640 GPHOTO2_LIBS=`$PKG_CONFIG --libs libgphoto2 2>/dev/null`
11643 test "$cross_compiling" = yes || GPHOTO2_LIBS=${GPHOTO2_LIBS:-`gphoto2-config --libs 2>/dev/null`}
11644 GPHOTO2_LIBS=${GPHOTO2_LIBS:-"-lgphoto2"}
11645 $as_echo "$as_me:${as_lineno-$LINENO}: libgphoto2 cflags: $GPHOTO2_CFLAGS" >&5
11646 $as_echo "$as_me:${as_lineno-$LINENO}: libgphoto2 libs: $GPHOTO2_LIBS" >&5
11647 ac_save_CPPFLAGS=$CPPFLAGS
11648 CPPFLAGS="$CPPFLAGS $GPHOTO2_CFLAGS"
11649 ac_fn_c_check_header_mongrel "$LINENO" "gphoto2-camera.h" "ac_cv_header_gphoto2_camera_h" "$ac_includes_default"
11650 if test "x$ac_cv_header_gphoto2_camera_h" = xyes; then :
11651 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for gp_camera_new in -lgphoto2" >&5
11652 $as_echo_n "checking for gp_camera_new in -lgphoto2... " >&6; }
11653 if ${ac_cv_lib_gphoto2_gp_camera_new+:} false; then :
11654 $as_echo_n "(cached) " >&6
11655 else
11656 ac_check_lib_save_LIBS=$LIBS
11657 LIBS="-lgphoto2 $GPHOTO2_LIBS $LIBS"
11658 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11659 /* end confdefs.h. */
11661 /* Override any GCC internal prototype to avoid an error.
11662 Use char because int might match the return type of a GCC
11663 builtin and then its argument prototype would still apply. */
11664 #ifdef __cplusplus
11665 extern "C"
11666 #endif
11667 char gp_camera_new ();
11669 main ()
11671 return gp_camera_new ();
11673 return 0;
11675 _ACEOF
11676 if ac_fn_c_try_link "$LINENO"; then :
11677 ac_cv_lib_gphoto2_gp_camera_new=yes
11678 else
11679 ac_cv_lib_gphoto2_gp_camera_new=no
11681 rm -f core conftest.err conftest.$ac_objext \
11682 conftest$ac_exeext conftest.$ac_ext
11683 LIBS=$ac_check_lib_save_LIBS
11685 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_gphoto2_gp_camera_new" >&5
11686 $as_echo "$ac_cv_lib_gphoto2_gp_camera_new" >&6; }
11687 if test "x$ac_cv_lib_gphoto2_gp_camera_new" = xyes; then :
11689 $as_echo "#define HAVE_GPHOTO2 1" >>confdefs.h
11691 else
11692 GPHOTO2_LIBS=""; GPHOTO2_CFLAGS=""
11695 else
11696 GPHOTO2_LIBS=""; GPHOTO2_CFLAGS=""
11700 CPPFLAGS=$ac_save_CPPFLAGS
11701 test -z "$GPHOTO2_CFLAGS" || GPHOTO2_CFLAGS=`echo " $GPHOTO2_CFLAGS" | sed 's/ -I\([^/]\)/ -I\$(top_builddir)\/\1/g'`
11702 test -z "$GPHOTO2_LIBS" || GPHOTO2_LIBS=`echo " $GPHOTO2_LIBS" | sed 's/ -L\([^/]\)/ -L\$(top_builddir)\/\1/g'`
11704 if ${GPHOTO2_PORT_CFLAGS:+false} :; then :
11705 if ${PKG_CONFIG+:} false; then :
11706 GPHOTO2_PORT_CFLAGS=`$PKG_CONFIG --cflags libgphoto2_port 2>/dev/null`
11709 test "$cross_compiling" = yes || GPHOTO2_PORT_CFLAGS=${GPHOTO2_PORT_CFLAGS:-`gphoto2-port-config --cflags 2>/dev/null`}
11710 if ${GPHOTO2_PORT_LIBS:+false} :; then :
11711 if ${PKG_CONFIG+:} false; then :
11712 GPHOTO2_PORT_LIBS=`$PKG_CONFIG --libs libgphoto2_port 2>/dev/null`
11715 test "$cross_compiling" = yes || GPHOTO2_PORT_LIBS=${GPHOTO2_PORT_LIBS:-`gphoto2-port-config --libs 2>/dev/null`}
11716 GPHOTO2_PORT_LIBS=${GPHOTO2_PORT_LIBS:-"-lgphoto2_port"}
11717 $as_echo "$as_me:${as_lineno-$LINENO}: libgphoto2_port cflags: $GPHOTO2_PORT_CFLAGS" >&5
11718 $as_echo "$as_me:${as_lineno-$LINENO}: libgphoto2_port libs: $GPHOTO2_PORT_LIBS" >&5
11719 ac_save_CPPFLAGS=$CPPFLAGS
11720 CPPFLAGS="$CPPFLAGS $GPHOTO2_PORT_CFLAGS"
11721 ac_fn_c_check_header_mongrel "$LINENO" "gphoto2-port.h" "ac_cv_header_gphoto2_port_h" "$ac_includes_default"
11722 if test "x$ac_cv_header_gphoto2_port_h" = xyes; then :
11723 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for gp_port_info_list_new in -lgphoto2_port" >&5
11724 $as_echo_n "checking for gp_port_info_list_new in -lgphoto2_port... " >&6; }
11725 if ${ac_cv_lib_gphoto2_port_gp_port_info_list_new+:} false; then :
11726 $as_echo_n "(cached) " >&6
11727 else
11728 ac_check_lib_save_LIBS=$LIBS
11729 LIBS="-lgphoto2_port $GPHOTO2_PORT_LIBS $LIBS"
11730 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11731 /* end confdefs.h. */
11733 /* Override any GCC internal prototype to avoid an error.
11734 Use char because int might match the return type of a GCC
11735 builtin and then its argument prototype would still apply. */
11736 #ifdef __cplusplus
11737 extern "C"
11738 #endif
11739 char gp_port_info_list_new ();
11741 main ()
11743 return gp_port_info_list_new ();
11745 return 0;
11747 _ACEOF
11748 if ac_fn_c_try_link "$LINENO"; then :
11749 ac_cv_lib_gphoto2_port_gp_port_info_list_new=yes
11750 else
11751 ac_cv_lib_gphoto2_port_gp_port_info_list_new=no
11753 rm -f core conftest.err conftest.$ac_objext \
11754 conftest$ac_exeext conftest.$ac_ext
11755 LIBS=$ac_check_lib_save_LIBS
11757 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_gphoto2_port_gp_port_info_list_new" >&5
11758 $as_echo "$ac_cv_lib_gphoto2_port_gp_port_info_list_new" >&6; }
11759 if test "x$ac_cv_lib_gphoto2_port_gp_port_info_list_new" = xyes; then :
11761 $as_echo "#define HAVE_GPHOTO2_PORT 1" >>confdefs.h
11763 else
11764 GPHOTO2_PORT_LIBS=""; GPHOTO2_PORT_CFLAGS=""
11767 else
11768 GPHOTO2_PORT_LIBS=""; GPHOTO2_PORT_CFLAGS=""
11772 CPPFLAGS=$ac_save_CPPFLAGS
11773 test -z "$GPHOTO2_PORT_CFLAGS" || GPHOTO2_PORT_CFLAGS=`echo " $GPHOTO2_PORT_CFLAGS" | sed 's/ -I\([^/]\)/ -I\$(top_builddir)\/\1/g'`
11774 test -z "$GPHOTO2_PORT_LIBS" || GPHOTO2_PORT_LIBS=`echo " $GPHOTO2_PORT_LIBS" | sed 's/ -L\([^/]\)/ -L\$(top_builddir)\/\1/g'`
11777 if test "$ac_cv_lib_gphoto2_gp_camera_new" != "yes"; then :
11778 case "x$with_gphoto" in
11779 x) as_fn_append wine_notices "|libgphoto2 ${notice_platform}development files not found, digital cameras won't be supported." ;;
11780 xno) ;;
11781 *) as_fn_error $? "libgphoto2 ${notice_platform}development files not found, digital cameras won't be supported.
11782 This is an error since --with-gphoto was requested." "$LINENO" 5 ;;
11783 esac
11785 if test "$ac_cv_lib_gphoto2_port_gp_port_info_list_new" != "yes"; then :
11786 case "x$with_gphoto" in
11787 x) as_fn_append wine_notices "|libgphoto2_port ${notice_platform}development files not found, digital cameras won't be auto-detected." ;;
11788 xno) ;;
11789 *) as_fn_error $? "libgphoto2_port ${notice_platform}development files not found, digital cameras won't be auto-detected.
11790 This is an error since --with-gphoto was requested." "$LINENO" 5 ;;
11791 esac
11795 if test "$ac_cv_header_resolv_h" = "yes"
11796 then
11797 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for resolver library" >&5
11798 $as_echo_n "checking for resolver library... " >&6; }
11799 if ${ac_cv_have_resolv+:} false; then :
11800 $as_echo_n "(cached) " >&6
11801 else
11802 ac_save_LIBS="$LIBS"
11803 for lib in '' -lresolv
11805 LIBS="$lib $ac_save_LIBS"
11806 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11807 /* end confdefs.h. */
11808 #ifdef HAVE_NETINET_IN_H
11809 #include <netinet/in.h>
11810 #endif
11811 #include <resolv.h>
11813 main ()
11815 if (!(_res.options & RES_INIT)) res_init(); res_query("foo",ns_c_in,0,0,0)
11817 return 0;
11819 _ACEOF
11820 if ac_fn_c_try_link "$LINENO"; then :
11821 ac_cv_have_resolv=${lib:-"none required"}
11822 else
11823 ac_cv_have_resolv="not found"
11825 rm -f core conftest.err conftest.$ac_objext \
11826 conftest$ac_exeext conftest.$ac_ext
11827 test "x$ac_cv_have_resolv" = "xnot found" || break
11828 done
11829 LIBS="$ac_save_LIBS"
11831 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_have_resolv" >&5
11832 $as_echo "$ac_cv_have_resolv" >&6; }
11834 case "$ac_cv_have_resolv" in
11835 "not found") ;;
11836 "none required")
11838 $as_echo "#define HAVE_RESOLV 1" >>confdefs.h
11841 $as_echo "#define HAVE_RESOLV 1" >>confdefs.h
11843 RESOLV_LIBS=$ac_cv_have_resolv
11845 esac
11848 if test "x$with_lcms2" != "xno"
11849 then
11850 if ${LCMS2_CFLAGS:+false} :; then :
11851 if ${PKG_CONFIG+:} false; then :
11852 LCMS2_CFLAGS=`$PKG_CONFIG --cflags lcms2 2>/dev/null`
11856 if ${LCMS2_LIBS:+false} :; then :
11857 if ${PKG_CONFIG+:} false; then :
11858 LCMS2_LIBS=`$PKG_CONFIG --libs lcms2 2>/dev/null`
11862 LCMS2_LIBS=${LCMS2_LIBS:-"-llcms2"}
11863 $as_echo "$as_me:${as_lineno-$LINENO}: lcms2 cflags: $LCMS2_CFLAGS" >&5
11864 $as_echo "$as_me:${as_lineno-$LINENO}: lcms2 libs: $LCMS2_LIBS" >&5
11865 ac_save_CPPFLAGS=$CPPFLAGS
11866 CPPFLAGS="$CPPFLAGS $LCMS2_CFLAGS"
11867 for ac_header in lcms2.h
11868 do :
11869 ac_fn_c_check_header_mongrel "$LINENO" "lcms2.h" "ac_cv_header_lcms2_h" "$ac_includes_default"
11870 if test "x$ac_cv_header_lcms2_h" = xyes; then :
11871 cat >>confdefs.h <<_ACEOF
11872 #define HAVE_LCMS2_H 1
11873 _ACEOF
11877 done
11879 if test "$ac_cv_header_lcms2_h" = "yes"
11880 then
11881 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for cmsOpenProfileFromFile in -llcms2" >&5
11882 $as_echo_n "checking for cmsOpenProfileFromFile in -llcms2... " >&6; }
11883 if ${ac_cv_lib_lcms2_cmsOpenProfileFromFile+:} false; then :
11884 $as_echo_n "(cached) " >&6
11885 else
11886 ac_check_lib_save_LIBS=$LIBS
11887 LIBS="-llcms2 $LCMS2_LIBS $LIBS"
11888 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11889 /* end confdefs.h. */
11891 /* Override any GCC internal prototype to avoid an error.
11892 Use char because int might match the return type of a GCC
11893 builtin and then its argument prototype would still apply. */
11894 #ifdef __cplusplus
11895 extern "C"
11896 #endif
11897 char cmsOpenProfileFromFile ();
11899 main ()
11901 return cmsOpenProfileFromFile ();
11903 return 0;
11905 _ACEOF
11906 if ac_fn_c_try_link "$LINENO"; then :
11907 ac_cv_lib_lcms2_cmsOpenProfileFromFile=yes
11908 else
11909 ac_cv_lib_lcms2_cmsOpenProfileFromFile=no
11911 rm -f core conftest.err conftest.$ac_objext \
11912 conftest$ac_exeext conftest.$ac_ext
11913 LIBS=$ac_check_lib_save_LIBS
11915 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_lcms2_cmsOpenProfileFromFile" >&5
11916 $as_echo "$ac_cv_lib_lcms2_cmsOpenProfileFromFile" >&6; }
11917 if test "x$ac_cv_lib_lcms2_cmsOpenProfileFromFile" = xyes; then :
11919 $as_echo "#define HAVE_LCMS2 1" >>confdefs.h
11921 else
11922 LCMS2_LIBS=""
11925 else
11926 LCMS2_CFLAGS=""
11927 LCMS2_LIBS=""
11929 CPPFLAGS=$ac_save_CPPFLAGS
11930 test -z "$LCMS2_CFLAGS" || LCMS2_CFLAGS=`echo " $LCMS2_CFLAGS" | sed 's/ -I\([^/]\)/ -I\$(top_builddir)\/\1/g'`
11931 test -z "$LCMS2_LIBS" || LCMS2_LIBS=`echo " $LCMS2_LIBS" | sed 's/ -L\([^/]\)/ -L\$(top_builddir)\/\1/g'`
11934 if test "$ac_cv_lib_lcms2_cmsOpenProfileFromFile" != "yes"; then :
11935 case "x$with_cms" in
11936 x) as_fn_append wine_notices "|liblcms2 ${notice_platform}development files not found, Color Management won't be supported." ;;
11937 xno) ;;
11938 *) as_fn_error $? "liblcms2 ${notice_platform}development files not found, Color Management won't be supported.
11939 This is an error since --with-cms was requested." "$LINENO" 5 ;;
11940 esac
11943 if test "x$with_freetype" != "xno"
11944 then
11945 if ${FREETYPE_CFLAGS:+false} :; then :
11946 if ${PKG_CONFIG+:} false; then :
11947 FREETYPE_CFLAGS=`$PKG_CONFIG --cflags freetype2 2>/dev/null`
11950 test "$cross_compiling" = yes || FREETYPE_CFLAGS=${FREETYPE_CFLAGS:-`(freetype-config --cflags || freetype2-config --cflags) 2>/dev/null`}
11951 if ${FREETYPE_LIBS:+false} :; then :
11952 if ${PKG_CONFIG+:} false; then :
11953 FREETYPE_LIBS=`$PKG_CONFIG --libs freetype2 2>/dev/null`
11956 test "$cross_compiling" = yes || FREETYPE_LIBS=${FREETYPE_LIBS:-`(freetype-config --libs || freetype2-config --libs) 2>/dev/null`}
11957 FREETYPE_LIBS=${FREETYPE_LIBS:-"-lfreetype"}
11958 $as_echo "$as_me:${as_lineno-$LINENO}: freetype2 cflags: $FREETYPE_CFLAGS" >&5
11959 $as_echo "$as_me:${as_lineno-$LINENO}: freetype2 libs: $FREETYPE_LIBS" >&5
11960 ac_save_CPPFLAGS=$CPPFLAGS
11961 CPPFLAGS="$CPPFLAGS $FREETYPE_CFLAGS"
11962 for ac_header in ft2build.h
11963 do :
11964 ac_fn_c_check_header_mongrel "$LINENO" "ft2build.h" "ac_cv_header_ft2build_h" "$ac_includes_default"
11965 if test "x$ac_cv_header_ft2build_h" = xyes; then :
11966 cat >>confdefs.h <<_ACEOF
11967 #define HAVE_FT2BUILD_H 1
11968 _ACEOF
11972 done
11974 if test "$ac_cv_header_ft2build_h" = "yes"
11975 then
11976 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lfreetype" >&5
11977 $as_echo_n "checking for -lfreetype... " >&6; }
11978 if ${ac_cv_lib_soname_freetype+:} false; then :
11979 $as_echo_n "(cached) " >&6
11980 else
11981 ac_check_soname_save_LIBS=$LIBS
11982 LIBS="-lfreetype $FREETYPE_LIBS $LIBS"
11983 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11984 /* end confdefs.h. */
11986 /* Override any GCC internal prototype to avoid an error.
11987 Use char because int might match the return type of a GCC
11988 builtin and then its argument prototype would still apply. */
11989 #ifdef __cplusplus
11990 extern "C"
11991 #endif
11992 char FT_Init_FreeType ();
11994 main ()
11996 return FT_Init_FreeType ();
11998 return 0;
12000 _ACEOF
12001 if ac_fn_c_try_link "$LINENO"; then :
12002 case "$LIBEXT" in
12003 dll) ac_cv_lib_soname_freetype=`$ac_cv_path_LDD conftest.exe | grep "freetype" | sed -e "s/dll.*/dll/"';2,$d'` ;;
12004 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'` ;;
12005 *) ac_cv_lib_soname_freetype=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libfreetype\\.$LIBEXT" | sed -e "s/^.*\\[\\(libfreetype\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
12006 if ${ac_cv_lib_soname_freetype:+false} :; then :
12007 ac_cv_lib_soname_freetype=`$LDD conftest$ac_exeext | grep "libfreetype\\.$LIBEXT" | sed -e "s/^.*\(libfreetype\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
12008 fi ;;
12009 esac
12011 rm -f core conftest.err conftest.$ac_objext \
12012 conftest$ac_exeext conftest.$ac_ext
12013 LIBS=$ac_check_soname_save_LIBS
12015 if ${ac_cv_lib_soname_freetype:+false} :; then :
12016 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
12017 $as_echo "not found" >&6; }
12018 FREETYPE_LIBS=""
12019 else
12020 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_freetype" >&5
12021 $as_echo "$ac_cv_lib_soname_freetype" >&6; }
12023 cat >>confdefs.h <<_ACEOF
12024 #define SONAME_LIBFREETYPE "$ac_cv_lib_soname_freetype"
12025 _ACEOF
12028 $as_echo "#define HAVE_FREETYPE 1" >>confdefs.h
12030 ac_fn_c_check_type "$LINENO" "FT_TrueTypeEngineType" "ac_cv_type_FT_TrueTypeEngineType" "#include <ft2build.h>
12031 #include FT_MODULE_H
12033 if test "x$ac_cv_type_FT_TrueTypeEngineType" = xyes; then :
12035 cat >>confdefs.h <<_ACEOF
12036 #define HAVE_FT_TRUETYPEENGINETYPE 1
12037 _ACEOF
12043 else
12044 FREETYPE_CFLAGS=""
12045 FREETYPE_LIBS=""
12047 CPPFLAGS=$ac_save_CPPFLAGS
12048 test -z "$FREETYPE_CFLAGS" || FREETYPE_CFLAGS=`echo " $FREETYPE_CFLAGS" | sed 's/ -I\([^/]\)/ -I\$(top_builddir)\/\1/g'`
12049 test -z "$FREETYPE_LIBS" || FREETYPE_LIBS=`echo " $FREETYPE_LIBS" | sed 's/ -L\([^/]\)/ -L\$(top_builddir)\/\1/g'`
12052 if test "x$ac_cv_lib_soname_freetype" = x; then :
12053 case "x$with_freetype" in
12054 xno) ;;
12055 *) as_fn_error $? "FreeType ${notice_platform}development files not found. Fonts will not be built.
12056 Use the --without-freetype option if you really want this." "$LINENO" 5 ;;
12057 esac
12059 test "x$ac_cv_lib_soname_freetype" = x && enable_fonts=${enable_fonts:-no}
12061 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for parport header/ppdev.h" >&5
12062 $as_echo_n "checking for parport header/ppdev.h... " >&6; }
12063 if ${ac_cv_c_ppdev+:} false; then :
12064 $as_echo_n "(cached) " >&6
12065 else
12066 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12067 /* end confdefs.h. */
12068 #ifdef HAVE_SYS_IOCTL_H
12069 # include <sys/ioctl.h>
12070 #endif
12071 #include <linux/ppdev.h>
12073 main ()
12075 ioctl (1,PPCLAIM,0)
12077 return 0;
12079 _ACEOF
12080 if ac_fn_c_try_compile "$LINENO"; then :
12081 ac_cv_c_ppdev="yes"
12082 else
12083 ac_cv_c_ppdev="no"
12085 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
12087 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_ppdev" >&5
12088 $as_echo "$ac_cv_c_ppdev" >&6; }
12089 if test "$ac_cv_c_ppdev" = "yes"
12090 then
12092 $as_echo "#define HAVE_PPDEV 1" >>confdefs.h
12096 ac_wine_check_funcs_save_LIBS="$LIBS"
12097 LIBS="$LIBS $PTHREAD_LIBS"
12098 for ac_func in \
12099 pthread_attr_get_np \
12100 pthread_getattr_np \
12101 pthread_getthreadid_np \
12102 pthread_get_stackaddr_np \
12103 pthread_get_stacksize_np
12104 do :
12105 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
12106 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
12107 if eval test \"x\$"$as_ac_var"\" = x"yes"; then :
12108 cat >>confdefs.h <<_ACEOF
12109 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
12110 _ACEOF
12113 done
12115 LIBS="$ac_wine_check_funcs_save_LIBS"
12117 if test "$ac_cv_header_zlib_h" = "yes"
12118 then
12119 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for inflate in -lz" >&5
12120 $as_echo_n "checking for inflate in -lz... " >&6; }
12121 if ${ac_cv_lib_z_inflate+:} false; then :
12122 $as_echo_n "(cached) " >&6
12123 else
12124 ac_check_lib_save_LIBS=$LIBS
12125 LIBS="-lz $LIBS"
12126 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12127 /* end confdefs.h. */
12129 /* Override any GCC internal prototype to avoid an error.
12130 Use char because int might match the return type of a GCC
12131 builtin and then its argument prototype would still apply. */
12132 #ifdef __cplusplus
12133 extern "C"
12134 #endif
12135 char inflate ();
12137 main ()
12139 return inflate ();
12141 return 0;
12143 _ACEOF
12144 if ac_fn_c_try_link "$LINENO"; then :
12145 ac_cv_lib_z_inflate=yes
12146 else
12147 ac_cv_lib_z_inflate=no
12149 rm -f core conftest.err conftest.$ac_objext \
12150 conftest$ac_exeext conftest.$ac_ext
12151 LIBS=$ac_check_lib_save_LIBS
12153 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_z_inflate" >&5
12154 $as_echo "$ac_cv_lib_z_inflate" >&6; }
12155 if test "x$ac_cv_lib_z_inflate" = xyes; then :
12157 $as_echo "#define HAVE_ZLIB 1" >>confdefs.h
12159 Z_LIBS="-lz"
12164 if test "x$Z_LIBS" = "x"; then :
12165 case "x$with_zlib" in
12166 x) as_fn_append wine_notices "|libz ${notice_platform}development files not found, data compression won't be supported." ;;
12167 xno) ;;
12168 *) as_fn_error $? "libz ${notice_platform}development files not found, data compression won't be supported.
12169 This is an error since --with-zlib was requested." "$LINENO" 5 ;;
12170 esac
12173 if test "x$enable_tools" != xno
12174 then
12175 if test "$ac_cv_header_gettext_po_h" = "yes"
12176 then
12177 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for po_message_msgctxt in -lgettextpo" >&5
12178 $as_echo_n "checking for po_message_msgctxt in -lgettextpo... " >&6; }
12179 if ${ac_cv_lib_gettextpo_po_message_msgctxt+:} false; then :
12180 $as_echo_n "(cached) " >&6
12181 else
12182 ac_check_lib_save_LIBS=$LIBS
12183 LIBS="-lgettextpo $LIBS"
12184 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12185 /* end confdefs.h. */
12187 /* Override any GCC internal prototype to avoid an error.
12188 Use char because int might match the return type of a GCC
12189 builtin and then its argument prototype would still apply. */
12190 #ifdef __cplusplus
12191 extern "C"
12192 #endif
12193 char po_message_msgctxt ();
12195 main ()
12197 return po_message_msgctxt ();
12199 return 0;
12201 _ACEOF
12202 if ac_fn_c_try_link "$LINENO"; then :
12203 ac_cv_lib_gettextpo_po_message_msgctxt=yes
12204 else
12205 ac_cv_lib_gettextpo_po_message_msgctxt=no
12207 rm -f core conftest.err conftest.$ac_objext \
12208 conftest$ac_exeext conftest.$ac_ext
12209 LIBS=$ac_check_lib_save_LIBS
12211 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_gettextpo_po_message_msgctxt" >&5
12212 $as_echo "$ac_cv_lib_gettextpo_po_message_msgctxt" >&6; }
12213 if test "x$ac_cv_lib_gettextpo_po_message_msgctxt" = xyes; then :
12215 $as_echo "#define HAVE_LIBGETTEXTPO 1" >>confdefs.h
12217 GETTEXTPO_LIBS="-lgettextpo"
12222 test "x$with_gettextpo" != xyes || if test "x$GETTEXTPO_LIBS" = "x"; then :
12223 case "x$with_gettextpo" in
12224 x) as_fn_append wine_notices "|GetText ${notice_platform}development files not found (or too old), po files can't be rebuilt." ;;
12225 xno) ;;
12226 *) as_fn_error $? "GetText ${notice_platform}development files not found (or too old), po files can't be rebuilt.
12227 This is an error since --with-gettextpo was requested." "$LINENO" 5 ;;
12228 esac
12232 if test "x$with_gstreamer" != "xno"
12233 then
12234 if ${GSTREAMER_CFLAGS:+false} :; then :
12235 if ${PKG_CONFIG+:} false; then :
12236 GSTREAMER_CFLAGS=`$PKG_CONFIG --cflags gstreamer-app-0.10 2>/dev/null`
12240 if ${GSTREAMER_LIBS:+false} :; then :
12241 if ${PKG_CONFIG+:} false; then :
12242 GSTREAMER_LIBS=`$PKG_CONFIG --libs gstreamer-app-0.10 2>/dev/null`
12247 $as_echo "$as_me:${as_lineno-$LINENO}: gstreamer-app-0.10 cflags: $GSTREAMER_CFLAGS" >&5
12248 $as_echo "$as_me:${as_lineno-$LINENO}: gstreamer-app-0.10 libs: $GSTREAMER_LIBS" >&5
12249 ac_save_CPPFLAGS=$CPPFLAGS
12250 CPPFLAGS="$CPPFLAGS $GSTREAMER_CFLAGS"
12251 ac_gst_incl=""
12252 for i in $GSTREAMER_CFLAGS
12254 case "$i" in
12255 -I*) ac_gst_incl="$ac_gst_incl $i";;
12256 esac
12257 done
12258 GSTREAMER_CFLAGS=$ac_gst_incl
12259 CPPFLAGS="$ac_save_CPPFLAGS $GSTREAMER_CFLAGS"
12260 ac_fn_c_check_header_mongrel "$LINENO" "gst/gstpad.h" "ac_cv_header_gst_gstpad_h" "$ac_includes_default"
12261 if test "x$ac_cv_header_gst_gstpad_h" = xyes; then :
12262 ac_fn_c_check_header_mongrel "$LINENO" "gst/app/gstappsink.h" "ac_cv_header_gst_app_gstappsink_h" "$ac_includes_default"
12263 if test "x$ac_cv_header_gst_app_gstappsink_h" = xyes; then :
12264 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether gint64 defined by gst/app/gstappsink.h is indeed 64-bit" >&5
12265 $as_echo_n "checking whether gint64 defined by gst/app/gstappsink.h is indeed 64-bit... " >&6; }
12266 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12267 /* end confdefs.h. */
12268 #include <gst/app/gstappsink.h>
12270 main ()
12272 static int a[sizeof(gint64) > 4 ? 1 : -1]; if (a[0]) return 0;
12274 return 0;
12276 _ACEOF
12277 if ac_fn_c_try_compile "$LINENO"; then :
12278 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
12279 $as_echo "yes" >&6; }
12280 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for gst_pad_get_caps_reffed in -lgstreamer-0.10" >&5
12281 $as_echo_n "checking for gst_pad_get_caps_reffed in -lgstreamer-0.10... " >&6; }
12282 if ${ac_cv_lib_gstreamer_0_10_gst_pad_get_caps_reffed+:} false; then :
12283 $as_echo_n "(cached) " >&6
12284 else
12285 ac_check_lib_save_LIBS=$LIBS
12286 LIBS="-lgstreamer-0.10 $LIBS"
12287 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12288 /* end confdefs.h. */
12290 /* Override any GCC internal prototype to avoid an error.
12291 Use char because int might match the return type of a GCC
12292 builtin and then its argument prototype would still apply. */
12293 #ifdef __cplusplus
12294 extern "C"
12295 #endif
12296 char gst_pad_get_caps_reffed ();
12298 main ()
12300 return gst_pad_get_caps_reffed ();
12302 return 0;
12304 _ACEOF
12305 if ac_fn_c_try_link "$LINENO"; then :
12306 ac_cv_lib_gstreamer_0_10_gst_pad_get_caps_reffed=yes
12307 else
12308 ac_cv_lib_gstreamer_0_10_gst_pad_get_caps_reffed=no
12310 rm -f core conftest.err conftest.$ac_objext \
12311 conftest$ac_exeext conftest.$ac_ext
12312 LIBS=$ac_check_lib_save_LIBS
12314 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_gstreamer_0_10_gst_pad_get_caps_reffed" >&5
12315 $as_echo "$ac_cv_lib_gstreamer_0_10_gst_pad_get_caps_reffed" >&6; }
12316 if test "x$ac_cv_lib_gstreamer_0_10_gst_pad_get_caps_reffed" = xyes; then :
12317 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for gst_app_buffer_new in -lgstapp-0.10" >&5
12318 $as_echo_n "checking for gst_app_buffer_new in -lgstapp-0.10... " >&6; }
12319 if ${ac_cv_lib_gstapp_0_10_gst_app_buffer_new+:} false; then :
12320 $as_echo_n "(cached) " >&6
12321 else
12322 ac_check_lib_save_LIBS=$LIBS
12323 LIBS="-lgstapp-0.10 $GSTREAMER_LIBS $LIBS"
12324 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12325 /* end confdefs.h. */
12327 /* Override any GCC internal prototype to avoid an error.
12328 Use char because int might match the return type of a GCC
12329 builtin and then its argument prototype would still apply. */
12330 #ifdef __cplusplus
12331 extern "C"
12332 #endif
12333 char gst_app_buffer_new ();
12335 main ()
12337 return gst_app_buffer_new ();
12339 return 0;
12341 _ACEOF
12342 if ac_fn_c_try_link "$LINENO"; then :
12343 ac_cv_lib_gstapp_0_10_gst_app_buffer_new=yes
12344 else
12345 ac_cv_lib_gstapp_0_10_gst_app_buffer_new=no
12347 rm -f core conftest.err conftest.$ac_objext \
12348 conftest$ac_exeext conftest.$ac_ext
12349 LIBS=$ac_check_lib_save_LIBS
12351 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_gstapp_0_10_gst_app_buffer_new" >&5
12352 $as_echo "$ac_cv_lib_gstapp_0_10_gst_app_buffer_new" >&6; }
12353 if test "x$ac_cv_lib_gstapp_0_10_gst_app_buffer_new" = xyes; then :
12359 else
12360 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
12361 $as_echo "no" >&6; }
12363 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
12367 else
12368 GSTREAMER_CFLAGS=""
12372 CPPFLAGS=$ac_save_CPPFLAGS
12373 test -z "$GSTREAMER_CFLAGS" || GSTREAMER_CFLAGS=`echo " $GSTREAMER_CFLAGS" | sed 's/ -I\([^/]\)/ -I\$(top_builddir)\/\1/g'`
12374 test -z "$GSTREAMER_LIBS" || GSTREAMER_LIBS=`echo " $GSTREAMER_LIBS" | sed 's/ -L\([^/]\)/ -L\$(top_builddir)\/\1/g'`
12377 if test "x$ac_cv_lib_gstapp_0_10_gst_app_buffer_new" != xyes -a "x$ac_cv_header_QuickTime_ImageCompression_h" != xyes; then :
12378 case "x$with_gstreamer" in
12379 x) as_fn_append wine_notices "|gstreamer-0.10 base plugins ${notice_platform}development files not found, gstreamer support disabled" ;;
12380 xno) ;;
12381 *) as_fn_error $? "gstreamer-0.10 base plugins ${notice_platform}development files not found, gstreamer support disabled
12382 This is an error since --with-gstreamer was requested." "$LINENO" 5 ;;
12383 esac
12385 test "x$ac_cv_lib_gstapp_0_10_gst_app_buffer_new" = xyes || enable_winegstreamer=${enable_winegstreamer:-no}
12387 ALSA_LIBS=""
12389 if test "$ac_cv_header_sys_asoundlib_h" = "yes" -o "$ac_cv_header_alsa_asoundlib_h" = "yes"
12390 then
12391 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for snd_pcm_hw_params_get_access_mask in -lasound" >&5
12392 $as_echo_n "checking for snd_pcm_hw_params_get_access_mask in -lasound... " >&6; }
12393 if ${ac_cv_lib_asound_snd_pcm_hw_params_get_access_mask+:} false; then :
12394 $as_echo_n "(cached) " >&6
12395 else
12396 ac_check_lib_save_LIBS=$LIBS
12397 LIBS="-lasound $LIBS"
12398 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12399 /* end confdefs.h. */
12401 /* Override any GCC internal prototype to avoid an error.
12402 Use char because int might match the return type of a GCC
12403 builtin and then its argument prototype would still apply. */
12404 #ifdef __cplusplus
12405 extern "C"
12406 #endif
12407 char snd_pcm_hw_params_get_access_mask ();
12409 main ()
12411 return snd_pcm_hw_params_get_access_mask ();
12413 return 0;
12415 _ACEOF
12416 if ac_fn_c_try_link "$LINENO"; then :
12417 ac_cv_lib_asound_snd_pcm_hw_params_get_access_mask=yes
12418 else
12419 ac_cv_lib_asound_snd_pcm_hw_params_get_access_mask=no
12421 rm -f core conftest.err conftest.$ac_objext \
12422 conftest$ac_exeext conftest.$ac_ext
12423 LIBS=$ac_check_lib_save_LIBS
12425 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_asound_snd_pcm_hw_params_get_access_mask" >&5
12426 $as_echo "$ac_cv_lib_asound_snd_pcm_hw_params_get_access_mask" >&6; }
12427 if test "x$ac_cv_lib_asound_snd_pcm_hw_params_get_access_mask" = xyes; then :
12428 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12429 /* end confdefs.h. */
12430 #ifdef HAVE_ALSA_ASOUNDLIB_H
12431 #include <alsa/asoundlib.h>
12432 #elif defined(HAVE_SYS_ASOUNDLIB_H)
12433 #include <sys/asoundlib.h>
12434 #endif
12436 main ()
12438 snd_pcm_hw_params_get_access_mask(NULL, NULL)
12440 return 0;
12442 _ACEOF
12443 if ac_fn_c_try_compile "$LINENO"; then :
12444 ALSA_LIBS="-lasound"
12446 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
12451 if test "x$with_oss" != xno
12452 then
12453 ac_save_CPPFLAGS="$CPPFLAGS"
12454 if test -f /etc/oss.conf
12455 then
12456 . /etc/oss.conf
12458 ac_oss_incl="-I${OSSLIBDIR:-/usr/lib/oss}/include"
12459 CPPFLAGS="$CPPFLAGS $ac_oss_incl"
12460 ac_fn_c_check_header_mongrel "$LINENO" "sys/soundcard.h" "ac_cv_header_sys_soundcard_h" "$ac_includes_default"
12461 if test "x$ac_cv_header_sys_soundcard_h" = xyes; then :
12462 ac_fn_c_check_member "$LINENO" "oss_sysinfo" "numaudioengines" "ac_cv_member_oss_sysinfo_numaudioengines" "#include <sys/soundcard.h>
12464 if test "x$ac_cv_member_oss_sysinfo_numaudioengines" = xyes; then :
12466 cat >>confdefs.h <<_ACEOF
12467 #define HAVE_OSS_SYSINFO_NUMAUDIOENGINES 1
12468 _ACEOF
12470 OSS4_CFLAGS="$ac_oss_incl"
12477 CPPFLAGS="$ac_save_CPPFLAGS"
12478 if test "x$ac_cv_member_oss_sysinfo_numaudioengines" != xyes
12479 then
12480 as_fn_append wine_notices "|OSS sound system found but too old (OSSv4 needed), OSS won't be supported."
12484 if test "x$with_capi" != "xno"
12485 then
12486 if ${CAPI20_CFLAGS:+false} :; then :
12487 if ${PKG_CONFIG+:} false; then :
12488 CAPI20_CFLAGS=`$PKG_CONFIG --cflags capi20 2>/dev/null`
12492 if ${CAPI20_LIBS:+false} :; then :
12493 if ${PKG_CONFIG+:} false; then :
12494 CAPI20_LIBS=`$PKG_CONFIG --libs capi20 2>/dev/null`
12499 $as_echo "$as_me:${as_lineno-$LINENO}: capi20 cflags: $CAPI20_CFLAGS" >&5
12500 $as_echo "$as_me:${as_lineno-$LINENO}: capi20 libs: $CAPI20_LIBS" >&5
12501 ac_save_CPPFLAGS=$CPPFLAGS
12502 CPPFLAGS="$CPPFLAGS $CAPI20_CFLAGS"
12503 for ac_header in capi20.h linux/capi.h
12504 do :
12505 as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
12506 ac_fn_c_check_header_compile "$LINENO" "$ac_header" "$as_ac_Header" "#define __user
12508 if eval test \"x\$"$as_ac_Header"\" = x"yes"; then :
12509 cat >>confdefs.h <<_ACEOF
12510 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
12511 _ACEOF
12515 done
12517 if test "$ac_cv_header_capi20_h" = "yes" -a "$ac_cv_header_linux_capi_h" = "yes"
12518 then
12519 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lcapi20" >&5
12520 $as_echo_n "checking for -lcapi20... " >&6; }
12521 if ${ac_cv_lib_soname_capi20+:} false; then :
12522 $as_echo_n "(cached) " >&6
12523 else
12524 ac_check_soname_save_LIBS=$LIBS
12525 LIBS="-lcapi20 $CAPI20_LIBS $LIBS"
12526 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12527 /* end confdefs.h. */
12529 /* Override any GCC internal prototype to avoid an error.
12530 Use char because int might match the return type of a GCC
12531 builtin and then its argument prototype would still apply. */
12532 #ifdef __cplusplus
12533 extern "C"
12534 #endif
12535 char capi20_register ();
12537 main ()
12539 return capi20_register ();
12541 return 0;
12543 _ACEOF
12544 if ac_fn_c_try_link "$LINENO"; then :
12545 case "$LIBEXT" in
12546 dll) ac_cv_lib_soname_capi20=`$ac_cv_path_LDD conftest.exe | grep "capi20" | sed -e "s/dll.*/dll/"';2,$d'` ;;
12547 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'` ;;
12548 *) ac_cv_lib_soname_capi20=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libcapi20\\.$LIBEXT" | sed -e "s/^.*\\[\\(libcapi20\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
12549 if ${ac_cv_lib_soname_capi20:+false} :; then :
12550 ac_cv_lib_soname_capi20=`$LDD conftest$ac_exeext | grep "libcapi20\\.$LIBEXT" | sed -e "s/^.*\(libcapi20\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
12551 fi ;;
12552 esac
12554 rm -f core conftest.err conftest.$ac_objext \
12555 conftest$ac_exeext conftest.$ac_ext
12556 LIBS=$ac_check_soname_save_LIBS
12558 if ${ac_cv_lib_soname_capi20:+false} :; then :
12559 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
12560 $as_echo "not found" >&6; }
12562 else
12563 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_capi20" >&5
12564 $as_echo "$ac_cv_lib_soname_capi20" >&6; }
12566 cat >>confdefs.h <<_ACEOF
12567 #define SONAME_LIBCAPI20 "$ac_cv_lib_soname_capi20"
12568 _ACEOF
12573 CPPFLAGS=$ac_save_CPPFLAGS
12574 test -z "$CAPI20_CFLAGS" || CAPI20_CFLAGS=`echo " $CAPI20_CFLAGS" | sed 's/ -I\([^/]\)/ -I\$(top_builddir)\/\1/g'`
12575 test -z "$CAPI20_LIBS" || CAPI20_LIBS=`echo " $CAPI20_LIBS" | sed 's/ -L\([^/]\)/ -L\$(top_builddir)\/\1/g'`
12578 if test "x$ac_cv_lib_soname_capi20" = "x"; then :
12579 case "x$with_capi" in
12580 x) as_fn_append wine_notices "|libcapi20 ${notice_platform}development files not found, ISDN won't be supported." ;;
12581 xno) ;;
12582 *) as_fn_error $? "libcapi20 ${notice_platform}development files not found, ISDN won't be supported.
12583 This is an error since --with-capi was requested." "$LINENO" 5 ;;
12584 esac
12587 CUPS_CFLAGS=""
12589 if test "x$with_cups" != "xno"
12590 then
12591 ac_save_CPPFLAGS="$CPPFLAGS"
12592 ac_cups_cflags=`cups-config --cflags 2>/dev/null`
12593 ac_cups_libs=`cups-config --ldflags 2>/dev/null`
12594 CPPFLAGS="$CPPFLAGS $ac_cups_cflags"
12595 for ac_header in cups/cups.h
12596 do :
12597 ac_fn_c_check_header_mongrel "$LINENO" "cups/cups.h" "ac_cv_header_cups_cups_h" "$ac_includes_default"
12598 if test "x$ac_cv_header_cups_cups_h" = xyes; then :
12599 cat >>confdefs.h <<_ACEOF
12600 #define HAVE_CUPS_CUPS_H 1
12601 _ACEOF
12602 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lcups" >&5
12603 $as_echo_n "checking for -lcups... " >&6; }
12604 if ${ac_cv_lib_soname_cups+:} false; then :
12605 $as_echo_n "(cached) " >&6
12606 else
12607 ac_check_soname_save_LIBS=$LIBS
12608 LIBS="-lcups $ac_cups_libs $LIBS"
12609 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12610 /* end confdefs.h. */
12612 /* Override any GCC internal prototype to avoid an error.
12613 Use char because int might match the return type of a GCC
12614 builtin and then its argument prototype would still apply. */
12615 #ifdef __cplusplus
12616 extern "C"
12617 #endif
12618 char cupsGetDefault ();
12620 main ()
12622 return cupsGetDefault ();
12624 return 0;
12626 _ACEOF
12627 if ac_fn_c_try_link "$LINENO"; then :
12628 case "$LIBEXT" in
12629 dll) ac_cv_lib_soname_cups=`$ac_cv_path_LDD conftest.exe | grep "cups" | sed -e "s/dll.*/dll/"';2,$d'` ;;
12630 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'` ;;
12631 *) ac_cv_lib_soname_cups=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libcups\\.$LIBEXT" | sed -e "s/^.*\\[\\(libcups\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
12632 if ${ac_cv_lib_soname_cups:+false} :; then :
12633 ac_cv_lib_soname_cups=`$LDD conftest$ac_exeext | grep "libcups\\.$LIBEXT" | sed -e "s/^.*\(libcups\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
12634 fi ;;
12635 esac
12637 rm -f core conftest.err conftest.$ac_objext \
12638 conftest$ac_exeext conftest.$ac_ext
12639 LIBS=$ac_check_soname_save_LIBS
12641 if ${ac_cv_lib_soname_cups:+false} :; then :
12642 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
12643 $as_echo "not found" >&6; }
12645 else
12646 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_cups" >&5
12647 $as_echo "$ac_cv_lib_soname_cups" >&6; }
12649 cat >>confdefs.h <<_ACEOF
12650 #define SONAME_LIBCUPS "$ac_cv_lib_soname_cups"
12651 _ACEOF
12653 CUPS_CFLAGS="$ac_cups_cflags"
12657 done
12659 CPPFLAGS="$ac_save_CPPFLAGS"
12661 if test "x$ac_cv_lib_soname_cups" = "x"; then :
12662 case "x$with_cups" in
12663 x) as_fn_append wine_notices "|libcups ${notice_platform}development files not found, CUPS won't be supported." ;;
12664 xno) ;;
12665 *) as_fn_error $? "libcups ${notice_platform}development files not found, CUPS won't be supported.
12666 This is an error since --with-cups was requested." "$LINENO" 5 ;;
12667 esac
12670 if test "x$with_fontconfig" != "xno"
12671 then
12672 if ${FONTCONFIG_CFLAGS:+false} :; then :
12673 if ${PKG_CONFIG+:} false; then :
12674 FONTCONFIG_CFLAGS=`$PKG_CONFIG --cflags fontconfig 2>/dev/null`
12677 test "$cross_compiling" = yes || FONTCONFIG_CFLAGS=${FONTCONFIG_CFLAGS:-$X_CFLAGS}
12678 if ${FONTCONFIG_LIBS:+false} :; then :
12679 if ${PKG_CONFIG+:} false; then :
12680 FONTCONFIG_LIBS=`$PKG_CONFIG --libs fontconfig 2>/dev/null`
12683 test "$cross_compiling" = yes || FONTCONFIG_LIBS=${FONTCONFIG_LIBS:-$X_LIBS}
12685 $as_echo "$as_me:${as_lineno-$LINENO}: fontconfig cflags: $FONTCONFIG_CFLAGS" >&5
12686 $as_echo "$as_me:${as_lineno-$LINENO}: fontconfig libs: $FONTCONFIG_LIBS" >&5
12687 ac_save_CPPFLAGS=$CPPFLAGS
12688 CPPFLAGS="$CPPFLAGS $FONTCONFIG_CFLAGS"
12689 for ac_header in fontconfig/fontconfig.h
12690 do :
12691 ac_fn_c_check_header_mongrel "$LINENO" "fontconfig/fontconfig.h" "ac_cv_header_fontconfig_fontconfig_h" "$ac_includes_default"
12692 if test "x$ac_cv_header_fontconfig_fontconfig_h" = xyes; then :
12693 cat >>confdefs.h <<_ACEOF
12694 #define HAVE_FONTCONFIG_FONTCONFIG_H 1
12695 _ACEOF
12699 done
12701 if test "$ac_cv_header_fontconfig_fontconfig_h" = "yes"
12702 then
12703 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lfontconfig" >&5
12704 $as_echo_n "checking for -lfontconfig... " >&6; }
12705 if ${ac_cv_lib_soname_fontconfig+:} false; then :
12706 $as_echo_n "(cached) " >&6
12707 else
12708 ac_check_soname_save_LIBS=$LIBS
12709 LIBS="-lfontconfig $FONTCONFIG_LIBS $LIBS"
12710 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12711 /* end confdefs.h. */
12713 /* Override any GCC internal prototype to avoid an error.
12714 Use char because int might match the return type of a GCC
12715 builtin and then its argument prototype would still apply. */
12716 #ifdef __cplusplus
12717 extern "C"
12718 #endif
12719 char FcInit ();
12721 main ()
12723 return FcInit ();
12725 return 0;
12727 _ACEOF
12728 if ac_fn_c_try_link "$LINENO"; then :
12729 case "$LIBEXT" in
12730 dll) ac_cv_lib_soname_fontconfig=`$ac_cv_path_LDD conftest.exe | grep "fontconfig" | sed -e "s/dll.*/dll/"';2,$d'` ;;
12731 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'` ;;
12732 *) ac_cv_lib_soname_fontconfig=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libfontconfig\\.$LIBEXT" | sed -e "s/^.*\\[\\(libfontconfig\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
12733 if ${ac_cv_lib_soname_fontconfig:+false} :; then :
12734 ac_cv_lib_soname_fontconfig=`$LDD conftest$ac_exeext | grep "libfontconfig\\.$LIBEXT" | sed -e "s/^.*\(libfontconfig\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
12735 fi ;;
12736 esac
12738 rm -f core conftest.err conftest.$ac_objext \
12739 conftest$ac_exeext conftest.$ac_ext
12740 LIBS=$ac_check_soname_save_LIBS
12742 if ${ac_cv_lib_soname_fontconfig:+false} :; then :
12743 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
12744 $as_echo "not found" >&6; }
12745 FONTCONFIG_CFLAGS=""
12746 else
12747 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_fontconfig" >&5
12748 $as_echo "$ac_cv_lib_soname_fontconfig" >&6; }
12750 cat >>confdefs.h <<_ACEOF
12751 #define SONAME_LIBFONTCONFIG "$ac_cv_lib_soname_fontconfig"
12752 _ACEOF
12756 else
12757 FONTCONFIG_CFLAGS=""
12759 CPPFLAGS=$ac_save_CPPFLAGS
12760 test -z "$FONTCONFIG_CFLAGS" || FONTCONFIG_CFLAGS=`echo " $FONTCONFIG_CFLAGS" | sed 's/ -I\([^/]\)/ -I\$(top_builddir)\/\1/g'`
12761 test -z "$FONTCONFIG_LIBS" || FONTCONFIG_LIBS=`echo " $FONTCONFIG_LIBS" | sed 's/ -L\([^/]\)/ -L\$(top_builddir)\/\1/g'`
12764 if test "x$ac_cv_lib_soname_fontconfig" = "x"; then :
12765 case "x$with_fontconfig" in
12766 x) as_fn_append wine_notices "|fontconfig ${notice_platform}development files not found, fontconfig won't be supported." ;;
12767 xno) ;;
12768 *) as_fn_error $? "fontconfig ${notice_platform}development files not found, fontconfig won't be supported.
12769 This is an error since --with-fontconfig was requested." "$LINENO" 5 ;;
12770 esac
12773 if test "$ac_cv_header_gsm_h" = "yes" -o "$ac_cv_header_gsm_gsm_h" = "yes"
12774 then
12775 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lgsm" >&5
12776 $as_echo_n "checking for -lgsm... " >&6; }
12777 if ${ac_cv_lib_soname_gsm+:} false; then :
12778 $as_echo_n "(cached) " >&6
12779 else
12780 ac_check_soname_save_LIBS=$LIBS
12781 LIBS="-lgsm $LIBS"
12782 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12783 /* end confdefs.h. */
12785 /* Override any GCC internal prototype to avoid an error.
12786 Use char because int might match the return type of a GCC
12787 builtin and then its argument prototype would still apply. */
12788 #ifdef __cplusplus
12789 extern "C"
12790 #endif
12791 char gsm_create ();
12793 main ()
12795 return gsm_create ();
12797 return 0;
12799 _ACEOF
12800 if ac_fn_c_try_link "$LINENO"; then :
12801 case "$LIBEXT" in
12802 dll) ac_cv_lib_soname_gsm=`$ac_cv_path_LDD conftest.exe | grep "gsm" | sed -e "s/dll.*/dll/"';2,$d'` ;;
12803 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'` ;;
12804 *) ac_cv_lib_soname_gsm=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libgsm\\.$LIBEXT" | sed -e "s/^.*\\[\\(libgsm\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
12805 if ${ac_cv_lib_soname_gsm:+false} :; then :
12806 ac_cv_lib_soname_gsm=`$LDD conftest$ac_exeext | grep "libgsm\\.$LIBEXT" | sed -e "s/^.*\(libgsm\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
12807 fi ;;
12808 esac
12810 rm -f core conftest.err conftest.$ac_objext \
12811 conftest$ac_exeext conftest.$ac_ext
12812 LIBS=$ac_check_soname_save_LIBS
12814 if ${ac_cv_lib_soname_gsm:+false} :; then :
12815 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
12816 $as_echo "not found" >&6; }
12818 else
12819 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_gsm" >&5
12820 $as_echo "$ac_cv_lib_soname_gsm" >&6; }
12822 cat >>confdefs.h <<_ACEOF
12823 #define SONAME_LIBGSM "$ac_cv_lib_soname_gsm"
12824 _ACEOF
12829 if test "x$ac_cv_lib_soname_gsm" = "x"; then :
12830 case "x$with_gsm" in
12831 x) as_fn_append wine_notices "|libgsm ${notice_platform}development files not found, gsm 06.10 codec won't be supported." ;;
12832 xno) ;;
12833 *) as_fn_error $? "libgsm ${notice_platform}development files not found, gsm 06.10 codec won't be supported.
12834 This is an error since --with-gsm was requested." "$LINENO" 5 ;;
12835 esac
12838 if test "x$with_jpeg" != "xno"
12839 then
12840 if ${JPEG_CFLAGS:+false} :; then :
12841 if ${PKG_CONFIG+:} false; then :
12842 JPEG_CFLAGS=`$PKG_CONFIG --cflags libjpeg 2>/dev/null`
12846 if ${JPEG_LIBS:+false} :; then :
12847 if ${PKG_CONFIG+:} false; then :
12848 JPEG_LIBS=`$PKG_CONFIG --libs libjpeg 2>/dev/null`
12853 $as_echo "$as_me:${as_lineno-$LINENO}: libjpeg cflags: $JPEG_CFLAGS" >&5
12854 $as_echo "$as_me:${as_lineno-$LINENO}: libjpeg libs: $JPEG_LIBS" >&5
12855 ac_save_CPPFLAGS=$CPPFLAGS
12856 CPPFLAGS="$CPPFLAGS $JPEG_CFLAGS"
12857 for ac_header in jpeglib.h
12858 do :
12859 ac_fn_c_check_header_mongrel "$LINENO" "jpeglib.h" "ac_cv_header_jpeglib_h" "$ac_includes_default"
12860 if test "x$ac_cv_header_jpeglib_h" = xyes; then :
12861 cat >>confdefs.h <<_ACEOF
12862 #define HAVE_JPEGLIB_H 1
12863 _ACEOF
12867 done
12869 if test "$ac_cv_header_jpeglib_h" = "yes"
12870 then
12871 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -ljpeg" >&5
12872 $as_echo_n "checking for -ljpeg... " >&6; }
12873 if ${ac_cv_lib_soname_jpeg+:} false; then :
12874 $as_echo_n "(cached) " >&6
12875 else
12876 ac_check_soname_save_LIBS=$LIBS
12877 LIBS="-ljpeg $JPEG_LIBS $LIBS"
12878 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12879 /* end confdefs.h. */
12881 /* Override any GCC internal prototype to avoid an error.
12882 Use char because int might match the return type of a GCC
12883 builtin and then its argument prototype would still apply. */
12884 #ifdef __cplusplus
12885 extern "C"
12886 #endif
12887 char jpeg_start_decompress ();
12889 main ()
12891 return jpeg_start_decompress ();
12893 return 0;
12895 _ACEOF
12896 if ac_fn_c_try_link "$LINENO"; then :
12897 case "$LIBEXT" in
12898 dll) ac_cv_lib_soname_jpeg=`$ac_cv_path_LDD conftest.exe | grep "jpeg" | sed -e "s/dll.*/dll/"';2,$d'` ;;
12899 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'` ;;
12900 *) ac_cv_lib_soname_jpeg=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libjpeg\\.$LIBEXT" | sed -e "s/^.*\\[\\(libjpeg\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
12901 if ${ac_cv_lib_soname_jpeg:+false} :; then :
12902 ac_cv_lib_soname_jpeg=`$LDD conftest$ac_exeext | grep "libjpeg\\.$LIBEXT" | sed -e "s/^.*\(libjpeg\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
12903 fi ;;
12904 esac
12906 rm -f core conftest.err conftest.$ac_objext \
12907 conftest$ac_exeext conftest.$ac_ext
12908 LIBS=$ac_check_soname_save_LIBS
12910 if ${ac_cv_lib_soname_jpeg:+false} :; then :
12911 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
12912 $as_echo "not found" >&6; }
12913 JPEG_CFLAGS=""
12914 else
12915 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_jpeg" >&5
12916 $as_echo "$ac_cv_lib_soname_jpeg" >&6; }
12918 cat >>confdefs.h <<_ACEOF
12919 #define SONAME_LIBJPEG "$ac_cv_lib_soname_jpeg"
12920 _ACEOF
12924 else
12925 JPEG_CFLAGS=""
12927 CPPFLAGS=$ac_save_CPPFLAGS
12928 test -z "$JPEG_CFLAGS" || JPEG_CFLAGS=`echo " $JPEG_CFLAGS" | sed 's/ -I\([^/]\)/ -I\$(top_builddir)\/\1/g'`
12929 test -z "$JPEG_LIBS" || JPEG_LIBS=`echo " $JPEG_LIBS" | sed 's/ -L\([^/]\)/ -L\$(top_builddir)\/\1/g'`
12932 if test "x$ac_cv_lib_soname_jpeg" = "x"; then :
12933 case "x$with_jpeg" in
12934 x) as_fn_append wine_warnings "|libjpeg ${notice_platform}development files not found, JPEG won't be supported." ;;
12935 xno) ;;
12936 *) as_fn_error $? "libjpeg ${notice_platform}development files not found, JPEG won't be supported.
12937 This is an error since --with-jpeg was requested." "$LINENO" 5 ;;
12938 esac
12941 if test "x$with_png" != "xno"
12942 then
12943 if ${PNG_CFLAGS:+false} :; then :
12944 if ${PKG_CONFIG+:} false; then :
12945 PNG_CFLAGS=`$PKG_CONFIG --cflags libpng 2>/dev/null`
12948 test "$cross_compiling" = yes || PNG_CFLAGS=${PNG_CFLAGS:-$X_CFLAGS}
12949 if ${PNG_LIBS:+false} :; then :
12950 if ${PKG_CONFIG+:} false; then :
12951 PNG_LIBS=`$PKG_CONFIG --libs libpng 2>/dev/null`
12954 test "$cross_compiling" = yes || PNG_LIBS=${PNG_LIBS:-$X_LIBS}
12956 $as_echo "$as_me:${as_lineno-$LINENO}: libpng cflags: $PNG_CFLAGS" >&5
12957 $as_echo "$as_me:${as_lineno-$LINENO}: libpng libs: $PNG_LIBS" >&5
12958 ac_save_CPPFLAGS=$CPPFLAGS
12959 CPPFLAGS="$CPPFLAGS $PNG_CFLAGS"
12960 for ac_header in png.h
12961 do :
12962 ac_fn_c_check_header_mongrel "$LINENO" "png.h" "ac_cv_header_png_h" "$ac_includes_default"
12963 if test "x$ac_cv_header_png_h" = xyes; then :
12964 cat >>confdefs.h <<_ACEOF
12965 #define HAVE_PNG_H 1
12966 _ACEOF
12970 done
12972 if test "$ac_cv_header_png_h" = "yes"
12973 then
12974 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lpng" >&5
12975 $as_echo_n "checking for -lpng... " >&6; }
12976 if ${ac_cv_lib_soname_png+:} false; then :
12977 $as_echo_n "(cached) " >&6
12978 else
12979 ac_check_soname_save_LIBS=$LIBS
12980 LIBS="-lpng $PNG_LIBS -lm -lz $LIBS"
12981 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12982 /* end confdefs.h. */
12984 /* Override any GCC internal prototype to avoid an error.
12985 Use char because int might match the return type of a GCC
12986 builtin and then its argument prototype would still apply. */
12987 #ifdef __cplusplus
12988 extern "C"
12989 #endif
12990 char png_create_read_struct ();
12992 main ()
12994 return png_create_read_struct ();
12996 return 0;
12998 _ACEOF
12999 if ac_fn_c_try_link "$LINENO"; then :
13000 case "$LIBEXT" in
13001 dll) ac_cv_lib_soname_png=`$ac_cv_path_LDD conftest.exe | grep "png" | sed -e "s/dll.*/dll/"';2,$d'` ;;
13002 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'` ;;
13003 *) 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'`
13004 if ${ac_cv_lib_soname_png:+false} :; then :
13005 ac_cv_lib_soname_png=`$LDD conftest$ac_exeext | grep "libpng[0-9]*\\.$LIBEXT" | sed -e "s/^.*\(libpng[0-9]*\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
13006 fi ;;
13007 esac
13009 rm -f core conftest.err conftest.$ac_objext \
13010 conftest$ac_exeext conftest.$ac_ext
13011 LIBS=$ac_check_soname_save_LIBS
13013 if ${ac_cv_lib_soname_png:+false} :; then :
13014 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
13015 $as_echo "not found" >&6; }
13016 PNG_CFLAGS=""
13017 else
13018 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_png" >&5
13019 $as_echo "$ac_cv_lib_soname_png" >&6; }
13021 cat >>confdefs.h <<_ACEOF
13022 #define SONAME_LIBPNG "$ac_cv_lib_soname_png"
13023 _ACEOF
13025 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13026 /* end confdefs.h. */
13027 #include <png.h>
13029 main ()
13031 typeof(png_set_expand_gray_1_2_4_to_8) *p
13033 return 0;
13035 _ACEOF
13036 if ac_fn_c_try_compile "$LINENO"; then :
13038 $as_echo "#define HAVE_PNG_SET_EXPAND_GRAY_1_2_4_TO_8 1" >>confdefs.h
13041 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
13043 else
13044 PNG_CFLAGS=""
13046 CPPFLAGS=$ac_save_CPPFLAGS
13047 test -z "$PNG_CFLAGS" || PNG_CFLAGS=`echo " $PNG_CFLAGS" | sed 's/ -I\([^/]\)/ -I\$(top_builddir)\/\1/g'`
13048 test -z "$PNG_LIBS" || PNG_LIBS=`echo " $PNG_LIBS" | sed 's/ -L\([^/]\)/ -L\$(top_builddir)\/\1/g'`
13051 if test "x$ac_cv_lib_soname_png" = "x"; then :
13052 case "x$with_png" in
13053 x) as_fn_append wine_warnings "|libpng ${notice_platform}development files not found, PNG won't be supported." ;;
13054 xno) ;;
13055 *) as_fn_error $? "libpng ${notice_platform}development files not found, PNG won't be supported.
13056 This is an error since --with-png was requested." "$LINENO" 5 ;;
13057 esac
13060 if test "x$with_tiff" != "xno"
13061 then
13062 if ${TIFF_CFLAGS:+false} :; then :
13063 if ${PKG_CONFIG+:} false; then :
13064 TIFF_CFLAGS=`$PKG_CONFIG --cflags libtiff 2>/dev/null`
13068 if ${TIFF_LIBS:+false} :; then :
13069 if ${PKG_CONFIG+:} false; then :
13070 TIFF_LIBS=`$PKG_CONFIG --libs libtiff 2>/dev/null`
13075 $as_echo "$as_me:${as_lineno-$LINENO}: libtiff cflags: $TIFF_CFLAGS" >&5
13076 $as_echo "$as_me:${as_lineno-$LINENO}: libtiff libs: $TIFF_LIBS" >&5
13077 ac_save_CPPFLAGS=$CPPFLAGS
13078 CPPFLAGS="$CPPFLAGS $TIFF_CFLAGS"
13079 for ac_header in tiffio.h
13080 do :
13081 ac_fn_c_check_header_mongrel "$LINENO" "tiffio.h" "ac_cv_header_tiffio_h" "$ac_includes_default"
13082 if test "x$ac_cv_header_tiffio_h" = xyes; then :
13083 cat >>confdefs.h <<_ACEOF
13084 #define HAVE_TIFFIO_H 1
13085 _ACEOF
13089 done
13091 if test "$ac_cv_header_tiffio_h" = "yes"
13092 then
13093 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -ltiff" >&5
13094 $as_echo_n "checking for -ltiff... " >&6; }
13095 if ${ac_cv_lib_soname_tiff+:} false; then :
13096 $as_echo_n "(cached) " >&6
13097 else
13098 ac_check_soname_save_LIBS=$LIBS
13099 LIBS="-ltiff $TIFF_LIBS $LIBS"
13100 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13101 /* end confdefs.h. */
13103 /* Override any GCC internal prototype to avoid an error.
13104 Use char because int might match the return type of a GCC
13105 builtin and then its argument prototype would still apply. */
13106 #ifdef __cplusplus
13107 extern "C"
13108 #endif
13109 char TIFFClientOpen ();
13111 main ()
13113 return TIFFClientOpen ();
13115 return 0;
13117 _ACEOF
13118 if ac_fn_c_try_link "$LINENO"; then :
13119 case "$LIBEXT" in
13120 dll) ac_cv_lib_soname_tiff=`$ac_cv_path_LDD conftest.exe | grep "tiff" | sed -e "s/dll.*/dll/"';2,$d'` ;;
13121 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'` ;;
13122 *) ac_cv_lib_soname_tiff=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libtiff\\.$LIBEXT" | sed -e "s/^.*\\[\\(libtiff\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
13123 if ${ac_cv_lib_soname_tiff:+false} :; then :
13124 ac_cv_lib_soname_tiff=`$LDD conftest$ac_exeext | grep "libtiff\\.$LIBEXT" | sed -e "s/^.*\(libtiff\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
13125 fi ;;
13126 esac
13128 rm -f core conftest.err conftest.$ac_objext \
13129 conftest$ac_exeext conftest.$ac_ext
13130 LIBS=$ac_check_soname_save_LIBS
13132 if ${ac_cv_lib_soname_tiff:+false} :; then :
13133 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
13134 $as_echo "not found" >&6; }
13136 else
13137 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_tiff" >&5
13138 $as_echo "$ac_cv_lib_soname_tiff" >&6; }
13140 cat >>confdefs.h <<_ACEOF
13141 #define SONAME_LIBTIFF "$ac_cv_lib_soname_tiff"
13142 _ACEOF
13147 CPPFLAGS=$ac_save_CPPFLAGS
13148 test -z "$TIFF_CFLAGS" || TIFF_CFLAGS=`echo " $TIFF_CFLAGS" | sed 's/ -I\([^/]\)/ -I\$(top_builddir)\/\1/g'`
13149 test -z "$TIFF_LIBS" || TIFF_LIBS=`echo " $TIFF_LIBS" | sed 's/ -L\([^/]\)/ -L\$(top_builddir)\/\1/g'`
13152 if test "x$ac_cv_lib_soname_tiff" = "x"; then :
13153 case "x$with_tiff" in
13154 x) as_fn_append wine_notices "|libtiff ${notice_platform}development files not found, TIFF won't be supported." ;;
13155 xno) ;;
13156 *) as_fn_error $? "libtiff ${notice_platform}development files not found, TIFF won't be supported.
13157 This is an error since --with-tiff was requested." "$LINENO" 5 ;;
13158 esac
13161 if test "x$with_mpg123" != "xno"
13162 then
13163 if ${MPG123_CFLAGS:+false} :; then :
13164 if ${PKG_CONFIG+:} false; then :
13165 MPG123_CFLAGS=`$PKG_CONFIG --cflags libmpg123 2>/dev/null`
13169 if ${MPG123_LIBS:+false} :; then :
13170 if ${PKG_CONFIG+:} false; then :
13171 MPG123_LIBS=`$PKG_CONFIG --libs libmpg123 2>/dev/null`
13175 MPG123_LIBS=${MPG123_LIBS:-"-lmpg123"}
13176 $as_echo "$as_me:${as_lineno-$LINENO}: libmpg123 cflags: $MPG123_CFLAGS" >&5
13177 $as_echo "$as_me:${as_lineno-$LINENO}: libmpg123 libs: $MPG123_LIBS" >&5
13178 ac_save_CPPFLAGS=$CPPFLAGS
13179 CPPFLAGS="$CPPFLAGS $MPG123_CFLAGS"
13180 for ac_header in mpg123.h
13181 do :
13182 ac_fn_c_check_header_mongrel "$LINENO" "mpg123.h" "ac_cv_header_mpg123_h" "$ac_includes_default"
13183 if test "x$ac_cv_header_mpg123_h" = xyes; then :
13184 cat >>confdefs.h <<_ACEOF
13185 #define HAVE_MPG123_H 1
13186 _ACEOF
13190 done
13192 if test "$ac_cv_header_mpg123_h" = "yes"
13193 then
13194 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for mpg123_feed in -lmpg123" >&5
13195 $as_echo_n "checking for mpg123_feed in -lmpg123... " >&6; }
13196 if ${ac_cv_lib_mpg123_mpg123_feed+:} false; then :
13197 $as_echo_n "(cached) " >&6
13198 else
13199 ac_check_lib_save_LIBS=$LIBS
13200 LIBS="-lmpg123 $MPG123_LIBS $LIBS"
13201 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13202 /* end confdefs.h. */
13204 /* Override any GCC internal prototype to avoid an error.
13205 Use char because int might match the return type of a GCC
13206 builtin and then its argument prototype would still apply. */
13207 #ifdef __cplusplus
13208 extern "C"
13209 #endif
13210 char mpg123_feed ();
13212 main ()
13214 return mpg123_feed ();
13216 return 0;
13218 _ACEOF
13219 if ac_fn_c_try_link "$LINENO"; then :
13220 ac_cv_lib_mpg123_mpg123_feed=yes
13221 else
13222 ac_cv_lib_mpg123_mpg123_feed=no
13224 rm -f core conftest.err conftest.$ac_objext \
13225 conftest$ac_exeext conftest.$ac_ext
13226 LIBS=$ac_check_lib_save_LIBS
13228 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_mpg123_mpg123_feed" >&5
13229 $as_echo "$ac_cv_lib_mpg123_mpg123_feed" >&6; }
13230 if test "x$ac_cv_lib_mpg123_mpg123_feed" = xyes; then :
13232 else
13233 MPG123_LIBS=""
13236 else
13237 MPG123_CFLAGS=""
13238 MPG123_LIBS=""
13240 CPPFLAGS=$ac_save_CPPFLAGS
13241 test -z "$MPG123_CFLAGS" || MPG123_CFLAGS=`echo " $MPG123_CFLAGS" | sed 's/ -I\([^/]\)/ -I\$(top_builddir)\/\1/g'`
13242 test -z "$MPG123_LIBS" || MPG123_LIBS=`echo " $MPG123_LIBS" | sed 's/ -L\([^/]\)/ -L\$(top_builddir)\/\1/g'`
13245 if test "x$ac_cv_lib_mpg123_mpg123_feed" != xyes -a x"$ac_cv_header_CoreAudio_CoreAudio_h" != xyes; then :
13246 case "x$with_mpg123" in
13247 x) as_fn_append wine_notices "|libmpg123 ${notice_platform}development files not found (or too old), mp3 codec won't be supported." ;;
13248 xno) ;;
13249 *) as_fn_error $? "libmpg123 ${notice_platform}development files not found (or too old), mp3 codec won't be supported.
13250 This is an error since --with-mpg123 was requested." "$LINENO" 5 ;;
13251 esac
13253 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}
13255 if test "$ac_cv_header_AL_al_h" = "yes"
13256 then
13257 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lopenal" >&5
13258 $as_echo_n "checking for -lopenal... " >&6; }
13259 if ${ac_cv_lib_soname_openal+:} false; then :
13260 $as_echo_n "(cached) " >&6
13261 else
13262 ac_check_soname_save_LIBS=$LIBS
13263 LIBS="-lopenal $LIBS"
13264 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13265 /* end confdefs.h. */
13267 /* Override any GCC internal prototype to avoid an error.
13268 Use char because int might match the return type of a GCC
13269 builtin and then its argument prototype would still apply. */
13270 #ifdef __cplusplus
13271 extern "C"
13272 #endif
13273 char alGetSource3i ();
13275 main ()
13277 return alGetSource3i ();
13279 return 0;
13281 _ACEOF
13282 if ac_fn_c_try_link "$LINENO"; then :
13283 case "$LIBEXT" in
13284 dll) ac_cv_lib_soname_openal=`$ac_cv_path_LDD conftest.exe | grep "openal" | sed -e "s/dll.*/dll/"';2,$d'` ;;
13285 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'` ;;
13286 *) ac_cv_lib_soname_openal=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libopenal\\.$LIBEXT" | sed -e "s/^.*\\[\\(libopenal\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
13287 if ${ac_cv_lib_soname_openal:+false} :; then :
13288 ac_cv_lib_soname_openal=`$LDD conftest$ac_exeext | grep "libopenal\\.$LIBEXT" | sed -e "s/^.*\(libopenal\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
13289 fi ;;
13290 esac
13292 rm -f core conftest.err conftest.$ac_objext \
13293 conftest$ac_exeext conftest.$ac_ext
13294 LIBS=$ac_check_soname_save_LIBS
13296 if ${ac_cv_lib_soname_openal:+false} :; then :
13297 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
13298 $as_echo "not found" >&6; }
13300 else
13301 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_openal" >&5
13302 $as_echo "$ac_cv_lib_soname_openal" >&6; }
13304 cat >>confdefs.h <<_ACEOF
13305 #define SONAME_LIBOPENAL "$ac_cv_lib_soname_openal"
13306 _ACEOF
13308 OPENAL_LIBS="-lopenal"
13310 ac_cv_lib_openal=yes
13312 cat >>confdefs.h <<_ACEOF
13313 #define HAVE_OPENAL 1
13314 _ACEOF
13318 if test "x$ac_cv_lib_openal" != xyes; then :
13319 case "x$with_openal" in
13320 x) as_fn_append wine_notices "|libopenal ${notice_platform}development files not found (or too old), OpenAL won't be supported." ;;
13321 xno) ;;
13322 *) as_fn_error $? "libopenal ${notice_platform}development files not found (or too old), OpenAL won't be supported.
13323 This is an error since --with-openal was requested." "$LINENO" 5 ;;
13324 esac
13326 test "x$ac_cv_lib_openal" = xyes || enable_openal32=${enable_openal32:-no}
13328 if test "$ac_cv_header_kstat_h" = "yes"
13329 then
13330 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for kstat_open in -lkstat" >&5
13331 $as_echo_n "checking for kstat_open in -lkstat... " >&6; }
13332 if ${ac_cv_lib_kstat_kstat_open+:} false; then :
13333 $as_echo_n "(cached) " >&6
13334 else
13335 ac_check_lib_save_LIBS=$LIBS
13336 LIBS="-lkstat $LIBS"
13337 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13338 /* end confdefs.h. */
13340 /* Override any GCC internal prototype to avoid an error.
13341 Use char because int might match the return type of a GCC
13342 builtin and then its argument prototype would still apply. */
13343 #ifdef __cplusplus
13344 extern "C"
13345 #endif
13346 char kstat_open ();
13348 main ()
13350 return kstat_open ();
13352 return 0;
13354 _ACEOF
13355 if ac_fn_c_try_link "$LINENO"; then :
13356 ac_cv_lib_kstat_kstat_open=yes
13357 else
13358 ac_cv_lib_kstat_kstat_open=no
13360 rm -f core conftest.err conftest.$ac_objext \
13361 conftest$ac_exeext conftest.$ac_ext
13362 LIBS=$ac_check_lib_save_LIBS
13364 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_kstat_kstat_open" >&5
13365 $as_echo "$ac_cv_lib_kstat_kstat_open" >&6; }
13366 if test "x$ac_cv_lib_kstat_kstat_open" = xyes; then :
13368 $as_echo "#define HAVE_LIBKSTAT 1" >>confdefs.h
13370 KSTAT_LIBS="-lkstat"
13376 if test "$ac_cv_header_libprocstat_h" = "yes"
13377 then
13378 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for procstat_open_sysctl in -lprocstat" >&5
13379 $as_echo_n "checking for procstat_open_sysctl in -lprocstat... " >&6; }
13380 if ${ac_cv_lib_procstat_procstat_open_sysctl+:} false; then :
13381 $as_echo_n "(cached) " >&6
13382 else
13383 ac_check_lib_save_LIBS=$LIBS
13384 LIBS="-lprocstat $LIBS"
13385 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13386 /* end confdefs.h. */
13388 /* Override any GCC internal prototype to avoid an error.
13389 Use char because int might match the return type of a GCC
13390 builtin and then its argument prototype would still apply. */
13391 #ifdef __cplusplus
13392 extern "C"
13393 #endif
13394 char procstat_open_sysctl ();
13396 main ()
13398 return procstat_open_sysctl ();
13400 return 0;
13402 _ACEOF
13403 if ac_fn_c_try_link "$LINENO"; then :
13404 ac_cv_lib_procstat_procstat_open_sysctl=yes
13405 else
13406 ac_cv_lib_procstat_procstat_open_sysctl=no
13408 rm -f core conftest.err conftest.$ac_objext \
13409 conftest$ac_exeext conftest.$ac_ext
13410 LIBS=$ac_check_lib_save_LIBS
13412 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_procstat_procstat_open_sysctl" >&5
13413 $as_echo "$ac_cv_lib_procstat_procstat_open_sysctl" >&6; }
13414 if test "x$ac_cv_lib_procstat_procstat_open_sysctl" = xyes; then :
13416 $as_echo "#define HAVE_LIBPROCSTAT 1" >>confdefs.h
13418 PROCSTAT_LIBS="-lprocstat"
13424 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lodbc" >&5
13425 $as_echo_n "checking for -lodbc... " >&6; }
13426 if ${ac_cv_lib_soname_odbc+:} false; then :
13427 $as_echo_n "(cached) " >&6
13428 else
13429 ac_check_soname_save_LIBS=$LIBS
13430 LIBS="-lodbc $LIBS"
13431 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13432 /* end confdefs.h. */
13434 /* Override any GCC internal prototype to avoid an error.
13435 Use char because int might match the return type of a GCC
13436 builtin and then its argument prototype would still apply. */
13437 #ifdef __cplusplus
13438 extern "C"
13439 #endif
13440 char SQLConnect ();
13442 main ()
13444 return SQLConnect ();
13446 return 0;
13448 _ACEOF
13449 if ac_fn_c_try_link "$LINENO"; then :
13450 case "$LIBEXT" in
13451 dll) ac_cv_lib_soname_odbc=`$ac_cv_path_LDD conftest.exe | grep "odbc" | sed -e "s/dll.*/dll/"';2,$d'` ;;
13452 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'` ;;
13453 *) ac_cv_lib_soname_odbc=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libodbc\\.$LIBEXT" | sed -e "s/^.*\\[\\(libodbc\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
13454 if ${ac_cv_lib_soname_odbc:+false} :; then :
13455 ac_cv_lib_soname_odbc=`$LDD conftest$ac_exeext | grep "libodbc\\.$LIBEXT" | sed -e "s/^.*\(libodbc\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
13456 fi ;;
13457 esac
13459 rm -f core conftest.err conftest.$ac_objext \
13460 conftest$ac_exeext conftest.$ac_ext
13461 LIBS=$ac_check_soname_save_LIBS
13463 if ${ac_cv_lib_soname_odbc:+false} :; then :
13464 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
13465 $as_echo "not found" >&6; }
13466 cat >>confdefs.h <<_ACEOF
13467 #define SONAME_LIBODBC "libodbc.$LIBEXT"
13468 _ACEOF
13470 else
13471 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_odbc" >&5
13472 $as_echo "$ac_cv_lib_soname_odbc" >&6; }
13474 cat >>confdefs.h <<_ACEOF
13475 #define SONAME_LIBODBC "$ac_cv_lib_soname_odbc"
13476 _ACEOF
13481 if test "x$with_netapi" != "xno"
13482 then
13483 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lnetapi" >&5
13484 $as_echo_n "checking for -lnetapi... " >&6; }
13485 if ${ac_cv_lib_soname_netapi+:} false; then :
13486 $as_echo_n "(cached) " >&6
13487 else
13488 ac_check_soname_save_LIBS=$LIBS
13489 LIBS="-lnetapi $LIBS"
13490 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13491 /* end confdefs.h. */
13493 /* Override any GCC internal prototype to avoid an error.
13494 Use char because int might match the return type of a GCC
13495 builtin and then its argument prototype would still apply. */
13496 #ifdef __cplusplus
13497 extern "C"
13498 #endif
13499 char libnetapi_init ();
13501 main ()
13503 return libnetapi_init ();
13505 return 0;
13507 _ACEOF
13508 if ac_fn_c_try_link "$LINENO"; then :
13509 case "$LIBEXT" in
13510 dll) ac_cv_lib_soname_netapi=`$ac_cv_path_LDD conftest.exe | grep "netapi" | sed -e "s/dll.*/dll/"';2,$d'` ;;
13511 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'` ;;
13512 *) ac_cv_lib_soname_netapi=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libnetapi\\.$LIBEXT" | sed -e "s/^.*\\[\\(libnetapi\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
13513 if ${ac_cv_lib_soname_netapi:+false} :; then :
13514 ac_cv_lib_soname_netapi=`$LDD conftest$ac_exeext | grep "libnetapi\\.$LIBEXT" | sed -e "s/^.*\(libnetapi\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
13515 fi ;;
13516 esac
13518 rm -f core conftest.err conftest.$ac_objext \
13519 conftest$ac_exeext conftest.$ac_ext
13520 LIBS=$ac_check_soname_save_LIBS
13522 if ${ac_cv_lib_soname_netapi:+false} :; then :
13523 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
13524 $as_echo "not found" >&6; }
13525 cat >>confdefs.h <<_ACEOF
13526 #define SONAME_LIBNETAPI "libnetapi.$LIBEXT"
13527 _ACEOF
13529 else
13530 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_netapi" >&5
13531 $as_echo "$ac_cv_lib_soname_netapi" >&6; }
13533 cat >>confdefs.h <<_ACEOF
13534 #define SONAME_LIBNETAPI "$ac_cv_lib_soname_netapi"
13535 _ACEOF
13541 test -n "$ALSA_LIBS" || enable_winealsa_drv=${enable_winealsa_drv:-no}
13542 test -n "$COREAUDIO_LIBS" || enable_winecoreaudio_drv=${enable_winecoreaudio_drv:-no}
13543 test "x$ac_cv_member_oss_sysinfo_numaudioengines" = xyes || enable_wineoss_drv=${enable_wineoss_drv:-no}
13544 test "$ac_cv_header_linux_joystick_h" = "yes" || enable_winejoystick_drv=${enable_winejoystick_drv:-no}
13546 if test "x$ALSA_LIBS$COREAUDIO_LIBS" = "x" -a \
13547 "x$ac_cv_member_oss_sysinfo_numaudioengines" != xyes -a \
13548 "x$with_alsa$with_coreaudio$with_oss" != xnonono
13549 then
13550 as_fn_append wine_warnings "|No sound system was found. Windows applications will be silent."
13554 EXTRACFLAGS=""
13556 if test "x${GCC}" = "xyes"
13557 then
13558 EXTRACFLAGS="-Wall -pipe"
13560 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for gcc strength-reduce bug" >&5
13561 $as_echo_n "checking for gcc strength-reduce bug... " >&6; }
13562 if ${ac_cv_c_gcc_strength_bug+:} false; then :
13563 $as_echo_n "(cached) " >&6
13564 else
13565 if test "$cross_compiling" = yes; then :
13566 ac_cv_c_gcc_strength_bug="yes"
13567 else
13568 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13569 /* end confdefs.h. */
13570 int L[4] = {0,1,2,3};
13572 main ()
13574 static int Array[3];
13575 unsigned int B = 3;
13576 int i;
13577 for(i=0; i<B; i++) Array[i] = i - 3;
13578 for(i=0; i<4 - 1; i++) L[i] = L[i + 1];
13579 L[i] = 4;
13580 return (Array[1] != -2 || L[2] != 3)
13582 return 0;
13584 _ACEOF
13585 if ac_fn_c_try_run "$LINENO"; then :
13586 ac_cv_c_gcc_strength_bug="no"
13587 else
13588 ac_cv_c_gcc_strength_bug="yes"
13590 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \
13591 conftest.$ac_objext conftest.beam conftest.$ac_ext
13595 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_gcc_strength_bug" >&5
13596 $as_echo "$ac_cv_c_gcc_strength_bug" >&6; }
13597 if test "$ac_cv_c_gcc_strength_bug" = "yes"
13598 then
13599 EXTRACFLAGS="$EXTRACFLAGS -fno-strength-reduce"
13602 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -fno-builtin" >&5
13603 $as_echo_n "checking whether the compiler supports -fno-builtin... " >&6; }
13604 if ${ac_cv_cflags__fno_builtin+:} false; then :
13605 $as_echo_n "(cached) " >&6
13606 else
13607 ac_wine_try_cflags_saved=$CFLAGS
13608 CFLAGS="$CFLAGS -fno-builtin"
13609 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13610 /* end confdefs.h. */
13611 int main(int argc, char **argv) { return 0; }
13612 _ACEOF
13613 if ac_fn_c_try_link "$LINENO"; then :
13614 ac_cv_cflags__fno_builtin=yes
13615 else
13616 ac_cv_cflags__fno_builtin=no
13618 rm -f core conftest.err conftest.$ac_objext \
13619 conftest$ac_exeext conftest.$ac_ext
13620 CFLAGS=$ac_wine_try_cflags_saved
13622 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__fno_builtin" >&5
13623 $as_echo "$ac_cv_cflags__fno_builtin" >&6; }
13624 if test "x$ac_cv_cflags__fno_builtin" = xyes; then :
13625 BUILTINFLAG="-fno-builtin"
13628 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -fno-strict-aliasing" >&5
13629 $as_echo_n "checking whether the compiler supports -fno-strict-aliasing... " >&6; }
13630 if ${ac_cv_cflags__fno_strict_aliasing+:} false; then :
13631 $as_echo_n "(cached) " >&6
13632 else
13633 ac_wine_try_cflags_saved=$CFLAGS
13634 CFLAGS="$CFLAGS -fno-strict-aliasing"
13635 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13636 /* end confdefs.h. */
13637 int main(int argc, char **argv) { return 0; }
13638 _ACEOF
13639 if ac_fn_c_try_link "$LINENO"; then :
13640 ac_cv_cflags__fno_strict_aliasing=yes
13641 else
13642 ac_cv_cflags__fno_strict_aliasing=no
13644 rm -f core conftest.err conftest.$ac_objext \
13645 conftest$ac_exeext conftest.$ac_ext
13646 CFLAGS=$ac_wine_try_cflags_saved
13648 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__fno_strict_aliasing" >&5
13649 $as_echo "$ac_cv_cflags__fno_strict_aliasing" >&6; }
13650 if test "x$ac_cv_cflags__fno_strict_aliasing" = xyes; then :
13651 EXTRACFLAGS="$EXTRACFLAGS -fno-strict-aliasing"
13653 saved_CFLAGS=$CFLAGS
13654 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Werror=unknown-warning-option" >&5
13655 $as_echo_n "checking whether the compiler supports -Werror=unknown-warning-option... " >&6; }
13656 if ${ac_cv_cflags__Werror_unknown_warning_option+:} false; then :
13657 $as_echo_n "(cached) " >&6
13658 else
13659 ac_wine_try_cflags_saved=$CFLAGS
13660 CFLAGS="$CFLAGS -Werror=unknown-warning-option"
13661 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13662 /* end confdefs.h. */
13663 int main(int argc, char **argv) { return 0; }
13664 _ACEOF
13665 if ac_fn_c_try_link "$LINENO"; then :
13666 ac_cv_cflags__Werror_unknown_warning_option=yes
13667 else
13668 ac_cv_cflags__Werror_unknown_warning_option=no
13670 rm -f core conftest.err conftest.$ac_objext \
13671 conftest$ac_exeext conftest.$ac_ext
13672 CFLAGS=$ac_wine_try_cflags_saved
13674 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Werror_unknown_warning_option" >&5
13675 $as_echo "$ac_cv_cflags__Werror_unknown_warning_option" >&6; }
13676 if test "x$ac_cv_cflags__Werror_unknown_warning_option" = xyes; then :
13677 CFLAGS="$CFLAGS -Werror=unknown-warning-option"
13679 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wdeclaration-after-statement" >&5
13680 $as_echo_n "checking whether the compiler supports -Wdeclaration-after-statement... " >&6; }
13681 if ${ac_cv_cflags__Wdeclaration_after_statement+:} false; then :
13682 $as_echo_n "(cached) " >&6
13683 else
13684 ac_wine_try_cflags_saved=$CFLAGS
13685 CFLAGS="$CFLAGS -Wdeclaration-after-statement"
13686 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13687 /* end confdefs.h. */
13688 int main(int argc, char **argv) { return 0; }
13689 _ACEOF
13690 if ac_fn_c_try_link "$LINENO"; then :
13691 ac_cv_cflags__Wdeclaration_after_statement=yes
13692 else
13693 ac_cv_cflags__Wdeclaration_after_statement=no
13695 rm -f core conftest.err conftest.$ac_objext \
13696 conftest$ac_exeext conftest.$ac_ext
13697 CFLAGS=$ac_wine_try_cflags_saved
13699 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wdeclaration_after_statement" >&5
13700 $as_echo "$ac_cv_cflags__Wdeclaration_after_statement" >&6; }
13701 if test "x$ac_cv_cflags__Wdeclaration_after_statement" = xyes; then :
13702 EXTRACFLAGS="$EXTRACFLAGS -Wdeclaration-after-statement"
13704 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wempty-body" >&5
13705 $as_echo_n "checking whether the compiler supports -Wempty-body... " >&6; }
13706 if ${ac_cv_cflags__Wempty_body+:} false; then :
13707 $as_echo_n "(cached) " >&6
13708 else
13709 ac_wine_try_cflags_saved=$CFLAGS
13710 CFLAGS="$CFLAGS -Wempty-body"
13711 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13712 /* end confdefs.h. */
13713 int main(int argc, char **argv) { return 0; }
13714 _ACEOF
13715 if ac_fn_c_try_link "$LINENO"; then :
13716 ac_cv_cflags__Wempty_body=yes
13717 else
13718 ac_cv_cflags__Wempty_body=no
13720 rm -f core conftest.err conftest.$ac_objext \
13721 conftest$ac_exeext conftest.$ac_ext
13722 CFLAGS=$ac_wine_try_cflags_saved
13724 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wempty_body" >&5
13725 $as_echo "$ac_cv_cflags__Wempty_body" >&6; }
13726 if test "x$ac_cv_cflags__Wempty_body" = xyes; then :
13727 EXTRACFLAGS="$EXTRACFLAGS -Wempty-body"
13729 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wignored-qualifiers" >&5
13730 $as_echo_n "checking whether the compiler supports -Wignored-qualifiers... " >&6; }
13731 if ${ac_cv_cflags__Wignored_qualifiers+:} false; then :
13732 $as_echo_n "(cached) " >&6
13733 else
13734 ac_wine_try_cflags_saved=$CFLAGS
13735 CFLAGS="$CFLAGS -Wignored-qualifiers"
13736 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13737 /* end confdefs.h. */
13738 int main(int argc, char **argv) { return 0; }
13739 _ACEOF
13740 if ac_fn_c_try_link "$LINENO"; then :
13741 ac_cv_cflags__Wignored_qualifiers=yes
13742 else
13743 ac_cv_cflags__Wignored_qualifiers=no
13745 rm -f core conftest.err conftest.$ac_objext \
13746 conftest$ac_exeext conftest.$ac_ext
13747 CFLAGS=$ac_wine_try_cflags_saved
13749 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wignored_qualifiers" >&5
13750 $as_echo "$ac_cv_cflags__Wignored_qualifiers" >&6; }
13751 if test "x$ac_cv_cflags__Wignored_qualifiers" = xyes; then :
13752 EXTRACFLAGS="$EXTRACFLAGS -Wignored-qualifiers"
13754 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wstrict-prototypes" >&5
13755 $as_echo_n "checking whether the compiler supports -Wstrict-prototypes... " >&6; }
13756 if ${ac_cv_cflags__Wstrict_prototypes+:} false; then :
13757 $as_echo_n "(cached) " >&6
13758 else
13759 ac_wine_try_cflags_saved=$CFLAGS
13760 CFLAGS="$CFLAGS -Wstrict-prototypes"
13761 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13762 /* end confdefs.h. */
13763 int main(int argc, char **argv) { return 0; }
13764 _ACEOF
13765 if ac_fn_c_try_link "$LINENO"; then :
13766 ac_cv_cflags__Wstrict_prototypes=yes
13767 else
13768 ac_cv_cflags__Wstrict_prototypes=no
13770 rm -f core conftest.err conftest.$ac_objext \
13771 conftest$ac_exeext conftest.$ac_ext
13772 CFLAGS=$ac_wine_try_cflags_saved
13774 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wstrict_prototypes" >&5
13775 $as_echo "$ac_cv_cflags__Wstrict_prototypes" >&6; }
13776 if test "x$ac_cv_cflags__Wstrict_prototypes" = xyes; then :
13777 EXTRACFLAGS="$EXTRACFLAGS -Wstrict-prototypes"
13779 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wtype-limits" >&5
13780 $as_echo_n "checking whether the compiler supports -Wtype-limits... " >&6; }
13781 if ${ac_cv_cflags__Wtype_limits+:} false; then :
13782 $as_echo_n "(cached) " >&6
13783 else
13784 ac_wine_try_cflags_saved=$CFLAGS
13785 CFLAGS="$CFLAGS -Wtype-limits"
13786 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13787 /* end confdefs.h. */
13788 int main(int argc, char **argv) { return 0; }
13789 _ACEOF
13790 if ac_fn_c_try_link "$LINENO"; then :
13791 ac_cv_cflags__Wtype_limits=yes
13792 else
13793 ac_cv_cflags__Wtype_limits=no
13795 rm -f core conftest.err conftest.$ac_objext \
13796 conftest$ac_exeext conftest.$ac_ext
13797 CFLAGS=$ac_wine_try_cflags_saved
13799 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wtype_limits" >&5
13800 $as_echo "$ac_cv_cflags__Wtype_limits" >&6; }
13801 if test "x$ac_cv_cflags__Wtype_limits" = xyes; then :
13802 EXTRACFLAGS="$EXTRACFLAGS -Wtype-limits"
13804 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wunused-but-set-parameter" >&5
13805 $as_echo_n "checking whether the compiler supports -Wunused-but-set-parameter... " >&6; }
13806 if ${ac_cv_cflags__Wunused_but_set_parameter+:} false; then :
13807 $as_echo_n "(cached) " >&6
13808 else
13809 ac_wine_try_cflags_saved=$CFLAGS
13810 CFLAGS="$CFLAGS -Wunused-but-set-parameter"
13811 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13812 /* end confdefs.h. */
13813 int main(int argc, char **argv) { return 0; }
13814 _ACEOF
13815 if ac_fn_c_try_link "$LINENO"; then :
13816 ac_cv_cflags__Wunused_but_set_parameter=yes
13817 else
13818 ac_cv_cflags__Wunused_but_set_parameter=no
13820 rm -f core conftest.err conftest.$ac_objext \
13821 conftest$ac_exeext conftest.$ac_ext
13822 CFLAGS=$ac_wine_try_cflags_saved
13824 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wunused_but_set_parameter" >&5
13825 $as_echo "$ac_cv_cflags__Wunused_but_set_parameter" >&6; }
13826 if test "x$ac_cv_cflags__Wunused_but_set_parameter" = xyes; then :
13827 EXTRACFLAGS="$EXTRACFLAGS -Wunused-but-set-parameter"
13829 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wvla" >&5
13830 $as_echo_n "checking whether the compiler supports -Wvla... " >&6; }
13831 if ${ac_cv_cflags__Wvla+:} false; then :
13832 $as_echo_n "(cached) " >&6
13833 else
13834 ac_wine_try_cflags_saved=$CFLAGS
13835 CFLAGS="$CFLAGS -Wvla"
13836 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13837 /* end confdefs.h. */
13838 int main(int argc, char **argv) { return 0; }
13839 _ACEOF
13840 if ac_fn_c_try_link "$LINENO"; then :
13841 ac_cv_cflags__Wvla=yes
13842 else
13843 ac_cv_cflags__Wvla=no
13845 rm -f core conftest.err conftest.$ac_objext \
13846 conftest$ac_exeext conftest.$ac_ext
13847 CFLAGS=$ac_wine_try_cflags_saved
13849 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wvla" >&5
13850 $as_echo "$ac_cv_cflags__Wvla" >&6; }
13851 if test "x$ac_cv_cflags__Wvla" = xyes; then :
13852 EXTRACFLAGS="$EXTRACFLAGS -Wvla"
13854 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wwrite-strings" >&5
13855 $as_echo_n "checking whether the compiler supports -Wwrite-strings... " >&6; }
13856 if ${ac_cv_cflags__Wwrite_strings+:} false; then :
13857 $as_echo_n "(cached) " >&6
13858 else
13859 ac_wine_try_cflags_saved=$CFLAGS
13860 CFLAGS="$CFLAGS -Wwrite-strings"
13861 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13862 /* end confdefs.h. */
13863 int main(int argc, char **argv) { return 0; }
13864 _ACEOF
13865 if ac_fn_c_try_link "$LINENO"; then :
13866 ac_cv_cflags__Wwrite_strings=yes
13867 else
13868 ac_cv_cflags__Wwrite_strings=no
13870 rm -f core conftest.err conftest.$ac_objext \
13871 conftest$ac_exeext conftest.$ac_ext
13872 CFLAGS=$ac_wine_try_cflags_saved
13874 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wwrite_strings" >&5
13875 $as_echo "$ac_cv_cflags__Wwrite_strings" >&6; }
13876 if test "x$ac_cv_cflags__Wwrite_strings" = xyes; then :
13877 EXTRACFLAGS="$EXTRACFLAGS -Wwrite-strings"
13880 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wpointer-arith" >&5
13881 $as_echo_n "checking whether the compiler supports -Wpointer-arith... " >&6; }
13882 if ${ac_cv_cflags__Wpointer_arith+:} false; then :
13883 $as_echo_n "(cached) " >&6
13884 else
13885 ac_wine_try_cflags_saved=$CFLAGS
13886 CFLAGS="$CFLAGS -Wpointer-arith"
13887 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13888 /* end confdefs.h. */
13889 int main(int argc, char **argv) { return 0; }
13890 _ACEOF
13891 if ac_fn_c_try_link "$LINENO"; then :
13892 ac_cv_cflags__Wpointer_arith=yes
13893 else
13894 ac_cv_cflags__Wpointer_arith=no
13896 rm -f core conftest.err conftest.$ac_objext \
13897 conftest$ac_exeext conftest.$ac_ext
13898 CFLAGS=$ac_wine_try_cflags_saved
13900 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wpointer_arith" >&5
13901 $as_echo "$ac_cv_cflags__Wpointer_arith" >&6; }
13902 if test "x$ac_cv_cflags__Wpointer_arith" = xyes; then :
13903 saved_string_h_CFLAGS=$CFLAGS
13904 CFLAGS="$CFLAGS -Wpointer-arith -Werror"
13905 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for broken string.h that generates warnings with -Wpointer-arith" >&5
13906 $as_echo_n "checking for broken string.h that generates warnings with -Wpointer-arith... " >&6; }
13907 if ${ac_cv_c_string_h_warnings+:} false; then :
13908 $as_echo_n "(cached) " >&6
13909 else
13910 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13911 /* end confdefs.h. */
13912 #include <string.h>
13914 main ()
13918 return 0;
13920 _ACEOF
13921 if ac_fn_c_try_compile "$LINENO"; then :
13922 ac_cv_c_string_h_warnings=no
13923 else
13924 ac_cv_c_string_h_warnings=yes
13926 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
13928 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_string_h_warnings" >&5
13929 $as_echo "$ac_cv_c_string_h_warnings" >&6; }
13930 test "$ac_cv_c_string_h_warnings" = yes || EXTRACFLAGS="$EXTRACFLAGS -Wpointer-arith"
13931 CFLAGS=$saved_string_h_CFLAGS
13934 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wlogical-op" >&5
13935 $as_echo_n "checking whether the compiler supports -Wlogical-op... " >&6; }
13936 if ${ac_cv_cflags__Wlogical_op+:} false; then :
13937 $as_echo_n "(cached) " >&6
13938 else
13939 ac_wine_try_cflags_saved=$CFLAGS
13940 CFLAGS="$CFLAGS -Wlogical-op"
13941 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13942 /* end confdefs.h. */
13943 int main(int argc, char **argv) { return 0; }
13944 _ACEOF
13945 if ac_fn_c_try_link "$LINENO"; then :
13946 ac_cv_cflags__Wlogical_op=yes
13947 else
13948 ac_cv_cflags__Wlogical_op=no
13950 rm -f core conftest.err conftest.$ac_objext \
13951 conftest$ac_exeext conftest.$ac_ext
13952 CFLAGS=$ac_wine_try_cflags_saved
13954 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wlogical_op" >&5
13955 $as_echo "$ac_cv_cflags__Wlogical_op" >&6; }
13956 if test "x$ac_cv_cflags__Wlogical_op" = xyes; then :
13957 saved_string_h_CFLAGS=$CFLAGS
13958 CFLAGS="$CFLAGS -Wlogical-op -Werror"
13959 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for broken string.h that generates warnings with -Wlogical-op" >&5
13960 $as_echo_n "checking for broken string.h that generates warnings with -Wlogical-op... " >&6; }
13961 if ${ac_cv_c_logicalop_noisy+:} false; then :
13962 $as_echo_n "(cached) " >&6
13963 else
13964 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13965 /* end confdefs.h. */
13966 #include <string.h>
13967 char*f(const char *h,char n) {return strchr(h,n);}
13969 main ()
13973 return 0;
13975 _ACEOF
13976 if ac_fn_c_try_compile "$LINENO"; then :
13977 ac_cv_c_logicalop_noisy=no
13978 else
13979 ac_cv_c_logicalop_noisy=yes
13981 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
13983 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_logicalop_noisy" >&5
13984 $as_echo "$ac_cv_c_logicalop_noisy" >&6; }
13985 CFLAGS=$saved_string_h_CFLAGS
13986 test "$ac_cv_c_logicalop_noisy" = yes || EXTRACFLAGS="$EXTRACFLAGS -Wlogical-op"
13989 CFLAGS=$saved_CFLAGS
13991 for ac_flag in $CFLAGS; do
13992 case $ac_flag in
13993 -g) case $host_os in
13994 darwin*) { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -gstabs+" >&5
13995 $as_echo_n "checking whether the compiler supports -gstabs+... " >&6; }
13996 if ${ac_cv_cflags__gstabsp+:} false; then :
13997 $as_echo_n "(cached) " >&6
13998 else
13999 ac_wine_try_cflags_saved=$CFLAGS
14000 CFLAGS="$CFLAGS -gstabs+"
14001 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14002 /* end confdefs.h. */
14003 int main(int argc, char **argv) { return 0; }
14004 _ACEOF
14005 if ac_fn_c_try_link "$LINENO"; then :
14006 ac_cv_cflags__gstabsp=yes
14007 else
14008 ac_cv_cflags__gstabsp=no
14010 rm -f core conftest.err conftest.$ac_objext \
14011 conftest$ac_exeext conftest.$ac_ext
14012 CFLAGS=$ac_wine_try_cflags_saved
14014 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__gstabsp" >&5
14015 $as_echo "$ac_cv_cflags__gstabsp" >&6; }
14016 if test "x$ac_cv_cflags__gstabsp" = xyes; then :
14017 EXTRACFLAGS="$EXTRACFLAGS -gstabs+"
14018 fi ;;
14019 *) { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -gdwarf-2" >&5
14020 $as_echo_n "checking whether the compiler supports -gdwarf-2... " >&6; }
14021 if ${ac_cv_cflags__gdwarf_2+:} false; then :
14022 $as_echo_n "(cached) " >&6
14023 else
14024 ac_wine_try_cflags_saved=$CFLAGS
14025 CFLAGS="$CFLAGS -gdwarf-2"
14026 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14027 /* end confdefs.h. */
14028 int main(int argc, char **argv) { return 0; }
14029 _ACEOF
14030 if ac_fn_c_try_link "$LINENO"; then :
14031 ac_cv_cflags__gdwarf_2=yes
14032 else
14033 ac_cv_cflags__gdwarf_2=no
14035 rm -f core conftest.err conftest.$ac_objext \
14036 conftest$ac_exeext conftest.$ac_ext
14037 CFLAGS=$ac_wine_try_cflags_saved
14039 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__gdwarf_2" >&5
14040 $as_echo "$ac_cv_cflags__gdwarf_2" >&6; }
14041 if test "x$ac_cv_cflags__gdwarf_2" = xyes; then :
14042 EXTRACFLAGS="$EXTRACFLAGS -gdwarf-2"
14044 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -gstrict-dwarf" >&5
14045 $as_echo_n "checking whether the compiler supports -gstrict-dwarf... " >&6; }
14046 if ${ac_cv_cflags__gstrict_dwarf+:} false; then :
14047 $as_echo_n "(cached) " >&6
14048 else
14049 ac_wine_try_cflags_saved=$CFLAGS
14050 CFLAGS="$CFLAGS -gstrict-dwarf"
14051 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14052 /* end confdefs.h. */
14053 int main(int argc, char **argv) { return 0; }
14054 _ACEOF
14055 if ac_fn_c_try_link "$LINENO"; then :
14056 ac_cv_cflags__gstrict_dwarf=yes
14057 else
14058 ac_cv_cflags__gstrict_dwarf=no
14060 rm -f core conftest.err conftest.$ac_objext \
14061 conftest$ac_exeext conftest.$ac_ext
14062 CFLAGS=$ac_wine_try_cflags_saved
14064 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__gstrict_dwarf" >&5
14065 $as_echo "$ac_cv_cflags__gstrict_dwarf" >&6; }
14066 if test "x$ac_cv_cflags__gstrict_dwarf" = xyes; then :
14067 EXTRACFLAGS="$EXTRACFLAGS -gstrict-dwarf"
14068 fi ;;
14069 esac ;;
14070 esac
14071 done
14073 case $host_cpu in
14074 *i[3456789]86*) { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -fno-omit-frame-pointer" >&5
14075 $as_echo_n "checking whether the compiler supports -fno-omit-frame-pointer... " >&6; }
14076 if ${ac_cv_cflags__fno_omit_frame_pointer+:} false; then :
14077 $as_echo_n "(cached) " >&6
14078 else
14079 ac_wine_try_cflags_saved=$CFLAGS
14080 CFLAGS="$CFLAGS -fno-omit-frame-pointer"
14081 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14082 /* end confdefs.h. */
14083 int main(int argc, char **argv) { return 0; }
14084 _ACEOF
14085 if ac_fn_c_try_link "$LINENO"; then :
14086 ac_cv_cflags__fno_omit_frame_pointer=yes
14087 else
14088 ac_cv_cflags__fno_omit_frame_pointer=no
14090 rm -f core conftest.err conftest.$ac_objext \
14091 conftest$ac_exeext conftest.$ac_ext
14092 CFLAGS=$ac_wine_try_cflags_saved
14094 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__fno_omit_frame_pointer" >&5
14095 $as_echo "$ac_cv_cflags__fno_omit_frame_pointer" >&6; }
14096 if test "x$ac_cv_cflags__fno_omit_frame_pointer" = xyes; then :
14097 EXTRACFLAGS="$EXTRACFLAGS -fno-omit-frame-pointer"
14098 fi ;;
14099 esac
14101 case $host in
14102 x86_64-*mingw32*|x86_64-*cygwin*) { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wno-format" >&5
14103 $as_echo_n "checking whether the compiler supports -Wno-format... " >&6; }
14104 if ${ac_cv_cflags__Wno_format+:} false; then :
14105 $as_echo_n "(cached) " >&6
14106 else
14107 ac_wine_try_cflags_saved=$CFLAGS
14108 CFLAGS="$CFLAGS -Wno-format"
14109 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14110 /* end confdefs.h. */
14111 int main(int argc, char **argv) { return 0; }
14112 _ACEOF
14113 if ac_fn_c_try_link "$LINENO"; then :
14114 ac_cv_cflags__Wno_format=yes
14115 else
14116 ac_cv_cflags__Wno_format=no
14118 rm -f core conftest.err conftest.$ac_objext \
14119 conftest$ac_exeext conftest.$ac_ext
14120 CFLAGS=$ac_wine_try_cflags_saved
14122 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wno_format" >&5
14123 $as_echo "$ac_cv_cflags__Wno_format" >&6; }
14124 if test "x$ac_cv_cflags__Wno_format" = xyes; then :
14125 EXTRACFLAGS="$EXTRACFLAGS -Wno-format"
14126 fi ;;
14127 esac
14129 if test "x$enable_maintainer_mode" = "xyes"
14130 then
14131 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Werror" >&5
14132 $as_echo_n "checking whether the compiler supports -Werror... " >&6; }
14133 if ${ac_cv_cflags__Werror+:} false; then :
14134 $as_echo_n "(cached) " >&6
14135 else
14136 ac_wine_try_cflags_saved=$CFLAGS
14137 CFLAGS="$CFLAGS -Werror"
14138 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14139 /* end confdefs.h. */
14140 int main(int argc, char **argv) { return 0; }
14141 _ACEOF
14142 if ac_fn_c_try_link "$LINENO"; then :
14143 ac_cv_cflags__Werror=yes
14144 else
14145 ac_cv_cflags__Werror=no
14147 rm -f core conftest.err conftest.$ac_objext \
14148 conftest$ac_exeext conftest.$ac_ext
14149 CFLAGS=$ac_wine_try_cflags_saved
14151 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Werror" >&5
14152 $as_echo "$ac_cv_cflags__Werror" >&6; }
14153 if test "x$ac_cv_cflags__Werror" = xyes; then :
14154 EXTRACFLAGS="$EXTRACFLAGS -Werror"
14158 saved_CFLAGS="$CFLAGS"
14159 CFLAGS="$CFLAGS -Werror"
14160 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ms_hook_prologue attribute" >&5
14161 $as_echo_n "checking for ms_hook_prologue attribute... " >&6; }
14162 if ${ac_cv_have_ms_hook_prologue+:} false; then :
14163 $as_echo_n "(cached) " >&6
14164 else
14165 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14166 /* end confdefs.h. */
14167 int __attribute__((__ms_hook_prologue__)) test(void) { return 0; }
14169 main ()
14173 return 0;
14175 _ACEOF
14176 if ac_fn_c_try_compile "$LINENO"; then :
14177 ac_cv_have_ms_hook_prologue="yes"
14178 else
14179 ac_cv_have_ms_hook_prologue="no"
14181 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
14183 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_have_ms_hook_prologue" >&5
14184 $as_echo "$ac_cv_have_ms_hook_prologue" >&6; }
14185 CFLAGS="$saved_CFLAGS"
14186 if test "$ac_cv_have_ms_hook_prologue" = "yes"
14187 then
14189 $as_echo "#define DECLSPEC_HOTPATCH __attribute__((__ms_hook_prologue__))" >>confdefs.h
14191 else
14192 $as_echo "#define DECLSPEC_HOTPATCH /* */" >>confdefs.h
14198 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for the need to disable Fortify" >&5
14199 $as_echo_n "checking for the need to disable Fortify... " >&6; }
14200 if ${ac_cv_c_fortify_enabled+:} false; then :
14201 $as_echo_n "(cached) " >&6
14202 else
14203 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14204 /* end confdefs.h. */
14205 #include <string.h>
14207 main ()
14209 #if defined(__USE_FORTIFY_LEVEL) && __USE_FORTIFY_LEVEL > 0
14210 #error Fortify enabled
14211 #endif
14213 return 0;
14215 _ACEOF
14216 if ac_fn_c_try_compile "$LINENO"; then :
14217 ac_cv_c_fortify_enabled=no
14218 else
14219 ac_cv_c_fortify_enabled=yes
14221 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
14223 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_fortify_enabled" >&5
14224 $as_echo "$ac_cv_c_fortify_enabled" >&6; }
14225 if test "$ac_cv_c_fortify_enabled" = yes
14226 then
14227 CFLAGS="$CFLAGS -U_FORTIFY_SOURCE -D_FORTIFY_SOURCE=0"
14231 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether external symbols need an underscore prefix" >&5
14232 $as_echo_n "checking whether external symbols need an underscore prefix... " >&6; }
14233 if ${ac_cv_c_extern_prefix+:} false; then :
14234 $as_echo_n "(cached) " >&6
14235 else
14236 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14237 /* end confdefs.h. */
14238 extern int ac_test;
14240 main ()
14242 asm(".globl _ac_test\n_ac_test:\t.long 0"); if (ac_test) return 1
14244 return 0;
14246 _ACEOF
14247 if ac_fn_c_try_link "$LINENO"; then :
14248 ac_cv_c_extern_prefix="yes"
14249 else
14250 ac_cv_c_extern_prefix="no"
14252 rm -f core conftest.err conftest.$ac_objext \
14253 conftest$ac_exeext conftest.$ac_ext
14255 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_extern_prefix" >&5
14256 $as_echo "$ac_cv_c_extern_prefix" >&6; }
14258 case $host_cpu in
14259 *i[3456789]86*)
14260 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether external symbols need stdcall decoration" >&5
14261 $as_echo_n "checking whether external symbols need stdcall decoration... " >&6; }
14262 if ${ac_cv_c_stdcall_suffix+:} false; then :
14263 $as_echo_n "(cached) " >&6
14264 else
14265 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14266 /* end confdefs.h. */
14267 #ifndef _MSC_VER
14268 #define __stdcall __attribute__((__stdcall__))
14269 #endif
14270 int __stdcall ac_test(int i) { return i; }
14272 main ()
14274 asm("jmp _ac_test@4"); if (ac_test(1)) return 1
14276 return 0;
14278 _ACEOF
14279 if ac_fn_c_try_link "$LINENO"; then :
14280 ac_cv_c_stdcall_suffix="yes"
14281 else
14282 ac_cv_c_stdcall_suffix="no"
14284 rm -f core conftest.err conftest.$ac_objext \
14285 conftest$ac_exeext conftest.$ac_ext
14287 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_stdcall_suffix" >&5
14288 $as_echo "$ac_cv_c_stdcall_suffix" >&6; } ;;
14289 *) ac_cv_c_stdcall_suffix="no" ;;
14290 esac
14293 if test "$ac_cv_c_extern_prefix" = "yes"
14294 then
14295 $as_echo "#define __ASM_NAME(name) \"_\" name" >>confdefs.h
14297 asm_name_prefix="_"
14298 else
14299 $as_echo "#define __ASM_NAME(name) name" >>confdefs.h
14301 asm_name_prefix=""
14305 if test "$ac_cv_c_stdcall_suffix" = "yes"
14306 then
14307 $as_echo "#define __ASM_STDCALL(args) \"@\" #args" >>confdefs.h
14309 else
14310 $as_echo "#define __ASM_STDCALL(args) \"\"" >>confdefs.h
14315 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to define a function in assembly code" >&5
14316 $as_echo_n "checking how to define a function in assembly code... " >&6; }
14317 if ${ac_cv_asm_func_def+:} false; then :
14318 $as_echo_n "(cached) " >&6
14319 else
14320 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14321 /* end confdefs.h. */
14324 main ()
14326 asm("\t.globl _ac_test\n\t.def _ac_test; .scl 2; .type 32; .endef\n_ac_test:\t.long 0");
14328 return 0;
14330 _ACEOF
14331 if ac_fn_c_try_link "$LINENO"; then :
14332 ac_cv_asm_func_def=".def"
14333 else
14334 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14335 /* end confdefs.h. */
14338 main ()
14340 asm("\t.globl _ac_test\n\t.type _ac_test,@function\n_ac_test:\t.long 0");
14342 return 0;
14344 _ACEOF
14345 if ac_fn_c_try_link "$LINENO"; then :
14346 ac_cv_asm_func_def=".type @function"
14347 else
14348 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14349 /* end confdefs.h. */
14352 main ()
14354 asm("\t.globl _ac_test\n\t.type _ac_test,2\n_ac_test:\t.long 0");
14356 return 0;
14358 _ACEOF
14359 if ac_fn_c_try_link "$LINENO"; then :
14360 ac_cv_asm_func_def=".type 2"
14361 else
14362 ac_cv_asm_func_def="unknown"
14364 rm -f core conftest.err conftest.$ac_objext \
14365 conftest$ac_exeext conftest.$ac_ext
14367 rm -f core conftest.err conftest.$ac_objext \
14368 conftest$ac_exeext conftest.$ac_ext
14370 rm -f core conftest.err conftest.$ac_objext \
14371 conftest$ac_exeext conftest.$ac_ext
14373 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_asm_func_def" >&5
14374 $as_echo "$ac_cv_asm_func_def" >&6; }
14377 case "$ac_cv_asm_func_def" in
14378 ".def")
14379 $as_echo "#define __ASM_FUNC(name) \".def \" __ASM_NAME(name) \"; .scl 2; .type 32; .endef\"" >>confdefs.h
14381 asm_func_header=".def $asm_name_prefix\" #name suffix \"; .scl 2; .type 32; .endef" ;;
14382 ".type @function")
14383 $as_echo "#define __ASM_FUNC(name) \".type \" __ASM_NAME(name) \",@function\"" >>confdefs.h
14385 asm_func_header=".type $asm_name_prefix\" #name suffix \",@function" ;;
14386 ".type 2")
14387 $as_echo "#define __ASM_FUNC(name) \".type \" __ASM_NAME(name) \",2\"" >>confdefs.h
14389 asm_func_header=".type $asm_name_prefix\" #name suffix \",2" ;;
14391 $as_echo "#define __ASM_FUNC(name) \"\"" >>confdefs.h
14393 asm_func_header="" ;;
14394 esac
14396 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether asm() works outside of functions" >&5
14397 $as_echo_n "checking whether asm() works outside of functions... " >&6; }
14398 if ${ac_cv_c_asm_outside_funcs+:} false; then :
14399 $as_echo_n "(cached) " >&6
14400 else
14401 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14402 /* end confdefs.h. */
14403 asm(".text\n\t.long 0");
14405 main ()
14409 return 0;
14411 _ACEOF
14412 if ac_fn_c_try_compile "$LINENO"; then :
14413 ac_cv_c_asm_outside_funcs="yes"
14414 else
14415 ac_cv_c_asm_outside_funcs="no"
14417 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
14419 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_asm_outside_funcs" >&5
14420 $as_echo "$ac_cv_c_asm_outside_funcs" >&6; }
14422 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether .previous is supported in assembly code" >&5
14423 $as_echo_n "checking whether .previous is supported in assembly code... " >&6; }
14424 if ${ac_cv_c_dot_previous+:} false; then :
14425 $as_echo_n "(cached) " >&6
14426 else
14427 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14428 /* end confdefs.h. */
14431 main ()
14433 asm(".text\nac_test:\t.long 0\n\t.previous");
14435 return 0;
14437 _ACEOF
14438 if ac_fn_c_try_link "$LINENO"; then :
14439 ac_cv_c_dot_previous="yes"
14440 else
14441 ac_cv_c_dot_previous="no"
14443 rm -f core conftest.err conftest.$ac_objext \
14444 conftest$ac_exeext conftest.$ac_ext
14446 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_dot_previous" >&5
14447 $as_echo "$ac_cv_c_dot_previous" >&6; }
14449 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether CFI directives are supported in assembly code" >&5
14450 $as_echo_n "checking whether CFI directives are supported in assembly code... " >&6; }
14451 if ${ac_cv_c_cfi_support+:} false; then :
14452 $as_echo_n "(cached) " >&6
14453 else
14454 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14455 /* end confdefs.h. */
14456 asm(".text\nac_test:\t.cfi_startproc\n\t.long 0\n\t.cfi_endproc");
14458 main ()
14462 return 0;
14464 _ACEOF
14465 if ac_fn_c_try_compile "$LINENO"; then :
14466 ac_cv_c_cfi_support="yes"
14467 else
14468 ac_cv_c_cfi_support="no"
14470 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
14472 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_cfi_support" >&5
14473 $as_echo "$ac_cv_c_cfi_support" >&6; }
14475 asm_func_header=".globl $asm_name_prefix\" #name suffix \"\\n\\t$asm_func_header\\n$asm_name_prefix\" #name suffix \":\\n\\t"
14476 asm_func_trailer=""
14477 if test "$ac_cv_c_dot_previous" = "yes"
14478 then
14479 asm_func_trailer="\\n\\t.previous"
14481 if test "$ac_cv_c_cfi_support" = "yes"
14482 then
14483 asm_func_header="$asm_func_header.cfi_startproc\\n\\t"
14484 asm_func_trailer="\\n\\t.cfi_endproc$asm_func_trailer"
14486 $as_echo "#define __ASM_CFI(str) str" >>confdefs.h
14488 UNWINDFLAGS=-fasynchronous-unwind-tables
14490 else
14491 $as_echo "#define __ASM_CFI(str) \"\"" >>confdefs.h
14495 asm_func_code="$asm_func_header\" code \"$asm_func_trailer"
14498 if test "$ac_cv_c_asm_outside_funcs" = "yes"
14499 then
14500 cat >>confdefs.h <<_ACEOF
14501 #define __ASM_DEFINE_FUNC(name,suffix,code) asm(".text\n\t.align 4\n\t$asm_func_code");
14502 _ACEOF
14504 else
14505 cat >>confdefs.h <<_ACEOF
14506 #define __ASM_DEFINE_FUNC(name,suffix,code) void __asm_dummy_##name(void) { asm(".text\n\t.align 4\n\t$asm_func_code"); }
14507 _ACEOF
14511 $as_echo "#define __ASM_GLOBAL_FUNC(name,code) __ASM_DEFINE_FUNC(name,\"\",code)" >>confdefs.h
14514 $as_echo "#define __ASM_STDCALL_FUNC(name,args,code) __ASM_DEFINE_FUNC(name,__ASM_STDCALL(args),code)" >>confdefs.h
14518 case $build_os in
14519 cygwin*|mingw32*) TOOLSEXT=".exe"
14521 esac
14523 case $host_os in
14524 linux*)
14525 case $host_cpu in
14526 *i[3456789]86*|x86_64*)
14527 test "$wine_binary" = wine || wine_fn_ignore_file "loader/wine-preloader"
14528 loader_programs="$loader_programs $wine_binary-preloader"
14529 as_fn_append LOADER_RULES "
14530 $wine_binary-preloader: preloader.o
14531 \$(CC) -o \$@ -static -nostartfiles -nodefaultlibs -Wl,-Ttext=0x7c400000 preloader.o \$(LIBPORT) \$(LDFLAGS)
14533 install install-lib:: $wine_binary-preloader
14534 \$(INSTALL_PROGRAM) $wine_binary-preloader \$(DESTDIR)\$(bindir)/$wine_binary-preloader
14536 uninstall::
14537 \$(RM) \$(DESTDIR)\$(bindir)/$wine_binary-preloader
14539 preloader_EXTRADEFS = $BUILTINFLAG
14540 " ;;
14541 esac
14543 esac
14544 as_fn_append LOADER_RULES "
14545 PROGRAMS = $loader_programs
14549 ac_save_CFLAGS="$CFLAGS"
14550 CFLAGS="$CFLAGS $BUILTINFLAG"
14551 for ac_func in \
14552 __res_get_state \
14553 __res_getservers \
14554 _finite \
14555 _isnan \
14556 _pclose \
14557 _popen \
14558 _snprintf \
14559 _spawnvp \
14560 _strdup \
14561 _stricmp \
14562 _strnicmp \
14563 _strtoi64 \
14564 _strtoui64 \
14565 _vsnprintf \
14566 asctime_r \
14567 chsize \
14568 dlopen \
14569 epoll_create \
14570 ffs \
14571 fnmatch \
14572 fork \
14573 fpclass \
14574 fstatfs \
14575 fstatvfs \
14576 ftruncate \
14577 futimens \
14578 futimes \
14579 futimesat \
14580 getattrlist \
14581 getdirentries \
14582 getopt_long_only \
14583 getpwuid \
14584 gettimeofday \
14585 getuid \
14586 if_nameindex \
14587 kqueue \
14588 lstat \
14589 memmove \
14590 mmap \
14591 pclose \
14592 pipe2 \
14593 poll \
14594 popen \
14595 port_create \
14596 prctl \
14597 pread \
14598 proc_pidinfo \
14599 pwrite \
14600 readdir \
14601 readlink \
14602 sched_yield \
14603 select \
14604 setproctitle \
14605 setrlimit \
14606 settimeofday \
14607 sigaltstack \
14608 sigprocmask \
14609 snprintf \
14610 statfs \
14611 statvfs \
14612 strcasecmp \
14613 strdup \
14614 strerror \
14615 strncasecmp \
14616 strtold \
14617 strtoll \
14618 strtoull \
14619 symlink \
14620 tcdrain \
14621 thr_kill2 \
14622 timegm \
14623 usleep \
14624 vsnprintf
14626 do :
14627 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
14628 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
14629 if eval test \"x\$"$as_ac_var"\" = x"yes"; then :
14630 cat >>confdefs.h <<_ACEOF
14631 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
14632 _ACEOF
14635 done
14637 CFLAGS="$ac_save_CFLAGS"
14639 if test "$ac_cv_func_dlopen" = no
14640 then
14641 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dlopen in -ldl" >&5
14642 $as_echo_n "checking for dlopen in -ldl... " >&6; }
14643 if ${ac_cv_lib_dl_dlopen+:} false; then :
14644 $as_echo_n "(cached) " >&6
14645 else
14646 ac_check_lib_save_LIBS=$LIBS
14647 LIBS="-ldl $LIBS"
14648 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14649 /* end confdefs.h. */
14651 /* Override any GCC internal prototype to avoid an error.
14652 Use char because int might match the return type of a GCC
14653 builtin and then its argument prototype would still apply. */
14654 #ifdef __cplusplus
14655 extern "C"
14656 #endif
14657 char dlopen ();
14659 main ()
14661 return dlopen ();
14663 return 0;
14665 _ACEOF
14666 if ac_fn_c_try_link "$LINENO"; then :
14667 ac_cv_lib_dl_dlopen=yes
14668 else
14669 ac_cv_lib_dl_dlopen=no
14671 rm -f core conftest.err conftest.$ac_objext \
14672 conftest$ac_exeext conftest.$ac_ext
14673 LIBS=$ac_check_lib_save_LIBS
14675 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dl_dlopen" >&5
14676 $as_echo "$ac_cv_lib_dl_dlopen" >&6; }
14677 if test "x$ac_cv_lib_dl_dlopen" = xyes; then :
14678 $as_echo "#define HAVE_DLOPEN 1" >>confdefs.h
14679 DL_LIBS="-ldl"
14684 ac_wine_check_funcs_save_LIBS="$LIBS"
14685 LIBS="$LIBS $DL_LIBS"
14686 for ac_func in dladdr
14687 do :
14688 ac_fn_c_check_func "$LINENO" "dladdr" "ac_cv_func_dladdr"
14689 if test "x$ac_cv_func_dladdr" = xyes; then :
14690 cat >>confdefs.h <<_ACEOF
14691 #define HAVE_DLADDR 1
14692 _ACEOF
14695 done
14697 LIBS="$ac_wine_check_funcs_save_LIBS"
14699 if test "$ac_cv_func_poll" = no
14700 then
14701 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for poll in -lpoll" >&5
14702 $as_echo_n "checking for poll in -lpoll... " >&6; }
14703 if ${ac_cv_lib_poll_poll+:} false; then :
14704 $as_echo_n "(cached) " >&6
14705 else
14706 ac_check_lib_save_LIBS=$LIBS
14707 LIBS="-lpoll $LIBS"
14708 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14709 /* end confdefs.h. */
14711 /* Override any GCC internal prototype to avoid an error.
14712 Use char because int might match the return type of a GCC
14713 builtin and then its argument prototype would still apply. */
14714 #ifdef __cplusplus
14715 extern "C"
14716 #endif
14717 char poll ();
14719 main ()
14721 return poll ();
14723 return 0;
14725 _ACEOF
14726 if ac_fn_c_try_link "$LINENO"; then :
14727 ac_cv_lib_poll_poll=yes
14728 else
14729 ac_cv_lib_poll_poll=no
14731 rm -f core conftest.err conftest.$ac_objext \
14732 conftest$ac_exeext conftest.$ac_ext
14733 LIBS=$ac_check_lib_save_LIBS
14735 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_poll_poll" >&5
14736 $as_echo "$ac_cv_lib_poll_poll" >&6; }
14737 if test "x$ac_cv_lib_poll_poll" = xyes; then :
14738 $as_echo "#define HAVE_POLL 1" >>confdefs.h
14739 POLL_LIBS="-lpoll"
14745 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for library containing gethostbyname" >&5
14746 $as_echo_n "checking for library containing gethostbyname... " >&6; }
14747 if ${ac_cv_search_gethostbyname+:} false; then :
14748 $as_echo_n "(cached) " >&6
14749 else
14750 ac_func_search_save_LIBS=$LIBS
14751 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14752 /* end confdefs.h. */
14754 /* Override any GCC internal prototype to avoid an error.
14755 Use char because int might match the return type of a GCC
14756 builtin and then its argument prototype would still apply. */
14757 #ifdef __cplusplus
14758 extern "C"
14759 #endif
14760 char gethostbyname ();
14762 main ()
14764 return gethostbyname ();
14766 return 0;
14768 _ACEOF
14769 for ac_lib in '' nsl; do
14770 if test -z "$ac_lib"; then
14771 ac_res="none required"
14772 else
14773 ac_res=-l$ac_lib
14774 LIBS="-l$ac_lib $ac_func_search_save_LIBS"
14776 if ac_fn_c_try_link "$LINENO"; then :
14777 ac_cv_search_gethostbyname=$ac_res
14779 rm -f core conftest.err conftest.$ac_objext \
14780 conftest$ac_exeext
14781 if ${ac_cv_search_gethostbyname+:} false; then :
14782 break
14784 done
14785 if ${ac_cv_search_gethostbyname+:} false; then :
14787 else
14788 ac_cv_search_gethostbyname=no
14790 rm conftest.$ac_ext
14791 LIBS=$ac_func_search_save_LIBS
14793 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_search_gethostbyname" >&5
14794 $as_echo "$ac_cv_search_gethostbyname" >&6; }
14795 ac_res=$ac_cv_search_gethostbyname
14796 if test "$ac_res" != no; then :
14797 test "$ac_res" = "none required" || LIBS="$ac_res $LIBS"
14802 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for library containing connect" >&5
14803 $as_echo_n "checking for library containing connect... " >&6; }
14804 if ${ac_cv_search_connect+:} false; then :
14805 $as_echo_n "(cached) " >&6
14806 else
14807 ac_func_search_save_LIBS=$LIBS
14808 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14809 /* end confdefs.h. */
14811 /* Override any GCC internal prototype to avoid an error.
14812 Use char because int might match the return type of a GCC
14813 builtin and then its argument prototype would still apply. */
14814 #ifdef __cplusplus
14815 extern "C"
14816 #endif
14817 char connect ();
14819 main ()
14821 return connect ();
14823 return 0;
14825 _ACEOF
14826 for ac_lib in '' socket; do
14827 if test -z "$ac_lib"; then
14828 ac_res="none required"
14829 else
14830 ac_res=-l$ac_lib
14831 LIBS="-l$ac_lib $ac_func_search_save_LIBS"
14833 if ac_fn_c_try_link "$LINENO"; then :
14834 ac_cv_search_connect=$ac_res
14836 rm -f core conftest.err conftest.$ac_objext \
14837 conftest$ac_exeext
14838 if ${ac_cv_search_connect+:} false; then :
14839 break
14841 done
14842 if ${ac_cv_search_connect+:} false; then :
14844 else
14845 ac_cv_search_connect=no
14847 rm conftest.$ac_ext
14848 LIBS=$ac_func_search_save_LIBS
14850 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_search_connect" >&5
14851 $as_echo "$ac_cv_search_connect" >&6; }
14852 ac_res=$ac_cv_search_connect
14853 if test "$ac_res" != no; then :
14854 test "$ac_res" = "none required" || LIBS="$ac_res $LIBS"
14859 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for library containing inet_aton" >&5
14860 $as_echo_n "checking for library containing inet_aton... " >&6; }
14861 if ${ac_cv_search_inet_aton+:} false; then :
14862 $as_echo_n "(cached) " >&6
14863 else
14864 ac_func_search_save_LIBS=$LIBS
14865 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14866 /* end confdefs.h. */
14868 /* Override any GCC internal prototype to avoid an error.
14869 Use char because int might match the return type of a GCC
14870 builtin and then its argument prototype would still apply. */
14871 #ifdef __cplusplus
14872 extern "C"
14873 #endif
14874 char inet_aton ();
14876 main ()
14878 return inet_aton ();
14880 return 0;
14882 _ACEOF
14883 for ac_lib in '' resolv; do
14884 if test -z "$ac_lib"; then
14885 ac_res="none required"
14886 else
14887 ac_res=-l$ac_lib
14888 LIBS="-l$ac_lib $ac_func_search_save_LIBS"
14890 if ac_fn_c_try_link "$LINENO"; then :
14891 ac_cv_search_inet_aton=$ac_res
14893 rm -f core conftest.err conftest.$ac_objext \
14894 conftest$ac_exeext
14895 if ${ac_cv_search_inet_aton+:} false; then :
14896 break
14898 done
14899 if ${ac_cv_search_inet_aton+:} false; then :
14901 else
14902 ac_cv_search_inet_aton=no
14904 rm conftest.$ac_ext
14905 LIBS=$ac_func_search_save_LIBS
14907 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_search_inet_aton" >&5
14908 $as_echo "$ac_cv_search_inet_aton" >&6; }
14909 ac_res=$ac_cv_search_inet_aton
14910 if test "$ac_res" != no; then :
14911 test "$ac_res" = "none required" || LIBS="$ac_res $LIBS"
14916 for ac_func in \
14917 getaddrinfo \
14918 getnameinfo \
14919 getnetbyname \
14920 getprotobyname \
14921 getprotobynumber \
14922 getservbyport \
14923 inet_addr \
14924 inet_network \
14925 inet_ntop \
14926 inet_pton \
14927 sendmsg \
14928 socketpair \
14930 do :
14931 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
14932 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
14933 if eval test \"x\$"$as_ac_var"\" = x"yes"; then :
14934 cat >>confdefs.h <<_ACEOF
14935 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
14936 _ACEOF
14939 done
14942 ac_save_LIBS=$LIBS
14943 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for library containing clock_gettime" >&5
14944 $as_echo_n "checking for library containing clock_gettime... " >&6; }
14945 if ${ac_cv_search_clock_gettime+:} false; then :
14946 $as_echo_n "(cached) " >&6
14947 else
14948 ac_func_search_save_LIBS=$LIBS
14949 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14950 /* end confdefs.h. */
14952 /* Override any GCC internal prototype to avoid an error.
14953 Use char because int might match the return type of a GCC
14954 builtin and then its argument prototype would still apply. */
14955 #ifdef __cplusplus
14956 extern "C"
14957 #endif
14958 char clock_gettime ();
14960 main ()
14962 return clock_gettime ();
14964 return 0;
14966 _ACEOF
14967 for ac_lib in '' rt; do
14968 if test -z "$ac_lib"; then
14969 ac_res="none required"
14970 else
14971 ac_res=-l$ac_lib
14972 LIBS="-l$ac_lib $ac_func_search_save_LIBS"
14974 if ac_fn_c_try_link "$LINENO"; then :
14975 ac_cv_search_clock_gettime=$ac_res
14977 rm -f core conftest.err conftest.$ac_objext \
14978 conftest$ac_exeext
14979 if ${ac_cv_search_clock_gettime+:} false; then :
14980 break
14982 done
14983 if ${ac_cv_search_clock_gettime+:} false; then :
14985 else
14986 ac_cv_search_clock_gettime=no
14988 rm conftest.$ac_ext
14989 LIBS=$ac_func_search_save_LIBS
14991 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_search_clock_gettime" >&5
14992 $as_echo "$ac_cv_search_clock_gettime" >&6; }
14993 ac_res=$ac_cv_search_clock_gettime
14994 if test "$ac_res" != no; then :
14995 test "$ac_res" = "none required" || LIBS="$ac_res $LIBS"
14997 $as_echo "#define HAVE_CLOCK_GETTIME 1" >>confdefs.h
14999 test "$ac_res" = "none required" || RT_LIBS="$ac_res"
15003 LIBS=$ac_save_LIBS
15005 LDAP_LIBS=""
15007 if test "$ac_cv_header_ldap_h" = "yes" -a "$ac_cv_header_lber_h" = "yes"
15008 then
15009 ac_fn_c_check_type "$LINENO" "LDAPSortKey" "ac_cv_type_LDAPSortKey" "#include <ldap.h>
15011 if test "x$ac_cv_type_LDAPSortKey" = xyes; then :
15012 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ldap_initialize in -lldap_r" >&5
15013 $as_echo_n "checking for ldap_initialize in -lldap_r... " >&6; }
15014 if ${ac_cv_lib_ldap_r_ldap_initialize+:} false; then :
15015 $as_echo_n "(cached) " >&6
15016 else
15017 ac_check_lib_save_LIBS=$LIBS
15018 LIBS="-lldap_r $PTHREAD_LIBS $LIBS"
15019 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15020 /* end confdefs.h. */
15022 /* Override any GCC internal prototype to avoid an error.
15023 Use char because int might match the return type of a GCC
15024 builtin and then its argument prototype would still apply. */
15025 #ifdef __cplusplus
15026 extern "C"
15027 #endif
15028 char ldap_initialize ();
15030 main ()
15032 return ldap_initialize ();
15034 return 0;
15036 _ACEOF
15037 if ac_fn_c_try_link "$LINENO"; then :
15038 ac_cv_lib_ldap_r_ldap_initialize=yes
15039 else
15040 ac_cv_lib_ldap_r_ldap_initialize=no
15042 rm -f core conftest.err conftest.$ac_objext \
15043 conftest$ac_exeext conftest.$ac_ext
15044 LIBS=$ac_check_lib_save_LIBS
15046 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_ldap_r_ldap_initialize" >&5
15047 $as_echo "$ac_cv_lib_ldap_r_ldap_initialize" >&6; }
15048 if test "x$ac_cv_lib_ldap_r_ldap_initialize" = xyes; then :
15049 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ber_init in -llber" >&5
15050 $as_echo_n "checking for ber_init in -llber... " >&6; }
15051 if ${ac_cv_lib_lber_ber_init+:} false; then :
15052 $as_echo_n "(cached) " >&6
15053 else
15054 ac_check_lib_save_LIBS=$LIBS
15055 LIBS="-llber $PTHREAD_LIBS $LIBS"
15056 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15057 /* end confdefs.h. */
15059 /* Override any GCC internal prototype to avoid an error.
15060 Use char because int might match the return type of a GCC
15061 builtin and then its argument prototype would still apply. */
15062 #ifdef __cplusplus
15063 extern "C"
15064 #endif
15065 char ber_init ();
15067 main ()
15069 return ber_init ();
15071 return 0;
15073 _ACEOF
15074 if ac_fn_c_try_link "$LINENO"; then :
15075 ac_cv_lib_lber_ber_init=yes
15076 else
15077 ac_cv_lib_lber_ber_init=no
15079 rm -f core conftest.err conftest.$ac_objext \
15080 conftest$ac_exeext conftest.$ac_ext
15081 LIBS=$ac_check_lib_save_LIBS
15083 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_lber_ber_init" >&5
15084 $as_echo "$ac_cv_lib_lber_ber_init" >&6; }
15085 if test "x$ac_cv_lib_lber_ber_init" = xyes; then :
15087 $as_echo "#define HAVE_LDAP 1" >>confdefs.h
15089 LDAP_LIBS="-lldap_r -llber"
15096 ac_wine_check_funcs_save_LIBS="$LIBS"
15097 LIBS="$LIBS $LDAP_LIBS $PTHREAD_LIBS"
15098 for ac_func in \
15099 ldap_count_references \
15100 ldap_first_reference \
15101 ldap_next_reference \
15102 ldap_parse_reference \
15103 ldap_parse_sort_control \
15104 ldap_parse_sortresponse_control \
15105 ldap_parse_vlv_control \
15106 ldap_parse_vlvresponse_control
15107 do :
15108 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
15109 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
15110 if eval test \"x\$"$as_ac_var"\" = x"yes"; then :
15111 cat >>confdefs.h <<_ACEOF
15112 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
15113 _ACEOF
15116 done
15118 LIBS="$ac_wine_check_funcs_save_LIBS"
15120 if test "x$LDAP_LIBS" = "x"; then :
15121 case "x$with_ldap" in
15122 x) as_fn_append wine_notices "|libldap (OpenLDAP) ${notice_platform}development files not found, LDAP won't be supported." ;;
15123 xno) ;;
15124 *) as_fn_error $? "libldap (OpenLDAP) ${notice_platform}development files not found, LDAP won't be supported.
15125 This is an error since --with-ldap was requested." "$LINENO" 5 ;;
15126 esac
15129 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether mkdir takes only one argument" >&5
15130 $as_echo_n "checking whether mkdir takes only one argument... " >&6; }
15131 if ${wine_cv_one_arg_mkdir+:} false; then :
15132 $as_echo_n "(cached) " >&6
15133 else
15134 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15135 /* end confdefs.h. */
15136 #include <sys/stat.h>
15138 main ()
15140 mkdir("foo");
15142 return 0;
15144 _ACEOF
15145 if ac_fn_c_try_compile "$LINENO"; then :
15146 wine_cv_one_arg_mkdir=yes
15147 else
15148 wine_cv_one_arg_mkdir=no
15150 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
15152 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $wine_cv_one_arg_mkdir" >&5
15153 $as_echo "$wine_cv_one_arg_mkdir" >&6; }
15154 if test "$wine_cv_one_arg_mkdir" = "yes"
15155 then
15157 $as_echo "#define HAVE_ONE_ARG_MKDIR 1" >>confdefs.h
15161 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sched_setaffinity" >&5
15162 $as_echo_n "checking for sched_setaffinity... " >&6; }
15163 if ${wine_cv_have_sched_setaffinity+:} false; then :
15164 $as_echo_n "(cached) " >&6
15165 else
15166 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15167 /* end confdefs.h. */
15168 #define _GNU_SOURCE
15169 #include <sched.h>
15171 main ()
15173 sched_setaffinity(0, 0, 0);
15175 return 0;
15177 _ACEOF
15178 if ac_fn_c_try_link "$LINENO"; then :
15179 wine_cv_have_sched_setaffinity=yes
15180 else
15181 wine_cv_have_sched_setaffinity=no
15183 rm -f core conftest.err conftest.$ac_objext \
15184 conftest$ac_exeext conftest.$ac_ext
15186 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $wine_cv_have_sched_setaffinity" >&5
15187 $as_echo "$wine_cv_have_sched_setaffinity" >&6; }
15188 if test "$wine_cv_have_sched_setaffinity" = "yes"
15189 then
15191 $as_echo "#define HAVE_SCHED_SETAFFINITY 1" >>confdefs.h
15195 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for fallocate" >&5
15196 $as_echo_n "checking for fallocate... " >&6; }
15197 if ${wine_cv_have_fallocate+:} false; then :
15198 $as_echo_n "(cached) " >&6
15199 else
15200 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15201 /* end confdefs.h. */
15202 #define _GNU_SOURCE
15203 #include <fcntl.h>
15205 main ()
15207 fallocate(-1, 0, 0, 0);
15209 return 0;
15211 _ACEOF
15212 if ac_fn_c_try_link "$LINENO"; then :
15213 wine_cv_have_fallocate=yes
15214 else
15215 wine_cv_have_fallocate=no
15217 rm -f core conftest.err conftest.$ac_objext \
15218 conftest$ac_exeext conftest.$ac_ext
15220 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $wine_cv_have_fallocate" >&5
15221 $as_echo "$wine_cv_have_fallocate" >&6; }
15222 if test "$wine_cv_have_fallocate" = "yes"
15223 then
15225 $as_echo "#define HAVE_FALLOCATE 1" >>confdefs.h
15230 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for inline" >&5
15231 $as_echo_n "checking for inline... " >&6; }
15232 if ${ac_cv_c_inline+:} false; then :
15233 $as_echo_n "(cached) " >&6
15234 else
15235 ac_cv_c_inline=no
15236 for ac_kw in inline __inline__ __inline; do
15237 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15238 /* end confdefs.h. */
15239 #ifndef __cplusplus
15240 typedef int foo_t;
15241 static $ac_kw foo_t static_foo () {return 0; }
15242 $ac_kw foo_t foo () {return 0; }
15243 #endif
15245 _ACEOF
15246 if ac_fn_c_try_compile "$LINENO"; then :
15247 ac_cv_c_inline=$ac_kw
15249 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
15250 test "$ac_cv_c_inline" != no && break
15251 done
15254 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_inline" >&5
15255 $as_echo "$ac_cv_c_inline" >&6; }
15257 case $ac_cv_c_inline in
15258 inline | yes) ;;
15260 case $ac_cv_c_inline in
15261 no) ac_val=;;
15262 *) ac_val=$ac_cv_c_inline;;
15263 esac
15264 cat >>confdefs.h <<_ACEOF
15265 #ifndef __cplusplus
15266 #define inline $ac_val
15267 #endif
15268 _ACEOF
15270 esac
15272 ac_fn_c_check_type "$LINENO" "mode_t" "ac_cv_type_mode_t" "$ac_includes_default"
15273 if test "x$ac_cv_type_mode_t" = xyes; then :
15275 cat >>confdefs.h <<_ACEOF
15276 #define HAVE_MODE_T 1
15277 _ACEOF
15281 ac_fn_c_check_type "$LINENO" "off_t" "ac_cv_type_off_t" "$ac_includes_default"
15282 if test "x$ac_cv_type_off_t" = xyes; then :
15284 cat >>confdefs.h <<_ACEOF
15285 #define HAVE_OFF_T 1
15286 _ACEOF
15290 ac_fn_c_check_type "$LINENO" "pid_t" "ac_cv_type_pid_t" "$ac_includes_default"
15291 if test "x$ac_cv_type_pid_t" = xyes; then :
15293 cat >>confdefs.h <<_ACEOF
15294 #define HAVE_PID_T 1
15295 _ACEOF
15299 ac_fn_c_check_type "$LINENO" "size_t" "ac_cv_type_size_t" "$ac_includes_default"
15300 if test "x$ac_cv_type_size_t" = xyes; then :
15302 cat >>confdefs.h <<_ACEOF
15303 #define HAVE_SIZE_T 1
15304 _ACEOF
15308 ac_fn_c_check_type "$LINENO" "ssize_t" "ac_cv_type_ssize_t" "$ac_includes_default"
15309 if test "x$ac_cv_type_ssize_t" = xyes; then :
15311 cat >>confdefs.h <<_ACEOF
15312 #define HAVE_SSIZE_T 1
15313 _ACEOF
15317 ac_fn_c_check_type "$LINENO" "long long" "ac_cv_type_long_long" "$ac_includes_default"
15318 if test "x$ac_cv_type_long_long" = xyes; then :
15320 cat >>confdefs.h <<_ACEOF
15321 #define HAVE_LONG_LONG 1
15322 _ACEOF
15326 ac_fn_c_check_type "$LINENO" "fsblkcnt_t" "ac_cv_type_fsblkcnt_t" "$ac_includes_default"
15327 if test "x$ac_cv_type_fsblkcnt_t" = xyes; then :
15329 cat >>confdefs.h <<_ACEOF
15330 #define HAVE_FSBLKCNT_T 1
15331 _ACEOF
15335 ac_fn_c_check_type "$LINENO" "fsfilcnt_t" "ac_cv_type_fsfilcnt_t" "$ac_includes_default"
15336 if test "x$ac_cv_type_fsfilcnt_t" = xyes; then :
15338 cat >>confdefs.h <<_ACEOF
15339 #define HAVE_FSFILCNT_T 1
15340 _ACEOF
15345 ac_fn_c_check_type "$LINENO" "sigset_t" "ac_cv_type_sigset_t" "#include <sys/types.h>
15346 #include <signal.h>
15348 if test "x$ac_cv_type_sigset_t" = xyes; then :
15350 cat >>confdefs.h <<_ACEOF
15351 #define HAVE_SIGSET_T 1
15352 _ACEOF
15357 ac_fn_c_check_type "$LINENO" "request_sense" "ac_cv_type_request_sense" "#include <linux/cdrom.h>
15359 if test "x$ac_cv_type_request_sense" = xyes; then :
15361 cat >>confdefs.h <<_ACEOF
15362 #define HAVE_REQUEST_SENSE 1
15363 _ACEOF
15369 ac_fn_c_check_type "$LINENO" "struct xinpgen" "ac_cv_type_struct_xinpgen" "#include <sys/types.h>
15370 #ifdef HAVE_SYS_SOCKET_H
15371 #include <sys/socket.h>
15372 #endif
15373 #ifdef HAVE_SYS_SOCKETVAR_H
15374 #include <sys/socketvar.h>
15375 #endif
15376 #ifdef HAVE_NET_ROUTE_H
15377 #include <net/route.h>
15378 #endif
15379 #ifdef HAVE_NETINET_IN_H
15380 #include <netinet/in.h>
15381 #endif
15382 #ifdef HAVE_NETINET_IN_SYSTM_H
15383 #include <netinet/in_systm.h>
15384 #endif
15385 #ifdef HAVE_NETINET_IP_H
15386 #include <netinet/ip.h>
15387 #endif
15388 #ifdef HAVE_NETINET_IN_PCB_H
15389 #include <netinet/in_pcb.h>
15390 #endif
15392 if test "x$ac_cv_type_struct_xinpgen" = xyes; then :
15394 cat >>confdefs.h <<_ACEOF
15395 #define HAVE_STRUCT_XINPGEN 1
15396 _ACEOF
15402 ac_fn_c_check_type "$LINENO" "struct r_debug" "ac_cv_type_struct_r_debug" "#ifdef HAVE_LINK_H
15403 #include <link.h>
15404 #endif
15405 #ifdef HAVE_SYS_LINK_H
15406 #include <sys/link.h>
15407 #endif
15409 if test "x$ac_cv_type_struct_r_debug" = xyes; then :
15411 cat >>confdefs.h <<_ACEOF
15412 #define HAVE_STRUCT_R_DEBUG 1
15413 _ACEOF
15417 ac_fn_c_check_type "$LINENO" "struct link_map" "ac_cv_type_struct_link_map" "#ifdef HAVE_LINK_H
15418 #include <link.h>
15419 #endif
15420 #ifdef HAVE_SYS_LINK_H
15421 #include <sys/link.h>
15422 #endif
15424 if test "x$ac_cv_type_struct_link_map" = xyes; then :
15426 cat >>confdefs.h <<_ACEOF
15427 #define HAVE_STRUCT_LINK_MAP 1
15428 _ACEOF
15434 ac_fn_c_check_member "$LINENO" "struct ff_effect" "direction" "ac_cv_member_struct_ff_effect_direction" "#ifdef HAVE_LINUX_INPUT_H
15435 #include <linux/input.h>
15436 #endif
15438 if test "x$ac_cv_member_struct_ff_effect_direction" = xyes; then :
15440 cat >>confdefs.h <<_ACEOF
15441 #define HAVE_STRUCT_FF_EFFECT_DIRECTION 1
15442 _ACEOF
15448 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sigaddset" >&5
15449 $as_echo_n "checking for sigaddset... " >&6; }
15450 if ${wine_cv_have_sigaddset+:} false; then :
15451 $as_echo_n "(cached) " >&6
15452 else
15453 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15454 /* end confdefs.h. */
15455 #include <signal.h>
15457 main ()
15459 sigset_t set; sigaddset(&set,SIGTERM);
15461 return 0;
15463 _ACEOF
15464 if ac_fn_c_try_link "$LINENO"; then :
15465 wine_cv_have_sigaddset=yes
15466 else
15467 wine_cv_have_sigaddset=no
15469 rm -f core conftest.err conftest.$ac_objext \
15470 conftest$ac_exeext conftest.$ac_ext
15472 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $wine_cv_have_sigaddset" >&5
15473 $as_echo "$wine_cv_have_sigaddset" >&6; }
15474 if test "$wine_cv_have_sigaddset" = "yes"
15475 then
15477 $as_echo "#define HAVE_SIGADDSET 1" >>confdefs.h
15482 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we can use re-entrant gethostbyname_r Linux style" >&5
15483 $as_echo_n "checking whether we can use re-entrant gethostbyname_r Linux style... " >&6; }
15484 if ${wine_cv_linux_gethostbyname_r_6+:} false; then :
15485 $as_echo_n "(cached) " >&6
15486 else
15487 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15488 /* end confdefs.h. */
15489 #include <netdb.h>
15491 main ()
15494 char *name=0;
15495 struct hostent he;
15496 struct hostent *result;
15497 char *buf=0;
15498 int bufsize=0;
15499 int errnr;
15500 char *addr=0;
15501 int addrlen=0;
15502 int addrtype=0;
15503 gethostbyname_r(name,&he,buf,bufsize,&result,&errnr);
15504 gethostbyaddr_r(addr, addrlen, addrtype,&he,buf,bufsize,&result,&errnr);
15507 return 0;
15509 _ACEOF
15510 if ac_fn_c_try_link "$LINENO"; then :
15511 wine_cv_linux_gethostbyname_r_6=yes
15512 else
15513 wine_cv_linux_gethostbyname_r_6=no
15516 rm -f core conftest.err conftest.$ac_objext \
15517 conftest$ac_exeext conftest.$ac_ext
15520 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $wine_cv_linux_gethostbyname_r_6" >&5
15521 $as_echo "$wine_cv_linux_gethostbyname_r_6" >&6; }
15522 if test "$wine_cv_linux_gethostbyname_r_6" = "yes"
15523 then
15525 $as_echo "#define HAVE_LINUX_GETHOSTBYNAME_R_6 1" >>confdefs.h
15529 if test "$ac_cv_header_linux_joystick_h" = "yes"
15530 then
15531 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether linux/joystick.h uses the Linux 2.2+ API" >&5
15532 $as_echo_n "checking whether linux/joystick.h uses the Linux 2.2+ API... " >&6; }
15533 if ${wine_cv_linux_joystick_22_api+:} false; then :
15534 $as_echo_n "(cached) " >&6
15535 else
15536 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15537 /* end confdefs.h. */
15539 #include <sys/ioctl.h>
15540 #include <sys/types.h>
15541 #include <linux/joystick.h>
15543 struct js_event blub;
15544 #if !defined(JS_EVENT_AXIS) || !defined(JS_EVENT_BUTTON)
15545 #error "no 2.2 header"
15546 #endif
15549 main ()
15551 /*empty*/
15553 return 0;
15555 _ACEOF
15556 if ac_fn_c_try_compile "$LINENO"; then :
15557 wine_cv_linux_joystick_22_api=yes
15558 else
15559 wine_cv_linux_joystick_22_api=no
15561 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
15564 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $wine_cv_linux_joystick_22_api" >&5
15565 $as_echo "$wine_cv_linux_joystick_22_api" >&6; }
15566 if test "$wine_cv_linux_joystick_22_api" = "yes"
15567 then
15569 $as_echo "#define HAVE_LINUX_22_JOYSTICK_API 1" >>confdefs.h
15575 ac_fn_c_check_member "$LINENO" "struct statfs" "f_bfree" "ac_cv_member_struct_statfs_f_bfree" "#include <sys/types.h>
15576 #ifdef HAVE_SYS_PARAM_H
15577 # include <sys/param.h>
15578 #endif
15579 #ifdef HAVE_SYS_MOUNT_H
15580 # include <sys/mount.h>
15581 #endif
15582 #ifdef HAVE_SYS_VFS_H
15583 # include <sys/vfs.h>
15584 #endif
15585 #ifdef HAVE_SYS_STATFS_H
15586 # include <sys/statfs.h>
15587 #endif
15589 if test "x$ac_cv_member_struct_statfs_f_bfree" = xyes; then :
15591 cat >>confdefs.h <<_ACEOF
15592 #define HAVE_STRUCT_STATFS_F_BFREE 1
15593 _ACEOF
15597 ac_fn_c_check_member "$LINENO" "struct statfs" "f_bavail" "ac_cv_member_struct_statfs_f_bavail" "#include <sys/types.h>
15598 #ifdef HAVE_SYS_PARAM_H
15599 # include <sys/param.h>
15600 #endif
15601 #ifdef HAVE_SYS_MOUNT_H
15602 # include <sys/mount.h>
15603 #endif
15604 #ifdef HAVE_SYS_VFS_H
15605 # include <sys/vfs.h>
15606 #endif
15607 #ifdef HAVE_SYS_STATFS_H
15608 # include <sys/statfs.h>
15609 #endif
15611 if test "x$ac_cv_member_struct_statfs_f_bavail" = xyes; then :
15613 cat >>confdefs.h <<_ACEOF
15614 #define HAVE_STRUCT_STATFS_F_BAVAIL 1
15615 _ACEOF
15619 ac_fn_c_check_member "$LINENO" "struct statfs" "f_frsize" "ac_cv_member_struct_statfs_f_frsize" "#include <sys/types.h>
15620 #ifdef HAVE_SYS_PARAM_H
15621 # include <sys/param.h>
15622 #endif
15623 #ifdef HAVE_SYS_MOUNT_H
15624 # include <sys/mount.h>
15625 #endif
15626 #ifdef HAVE_SYS_VFS_H
15627 # include <sys/vfs.h>
15628 #endif
15629 #ifdef HAVE_SYS_STATFS_H
15630 # include <sys/statfs.h>
15631 #endif
15633 if test "x$ac_cv_member_struct_statfs_f_frsize" = xyes; then :
15635 cat >>confdefs.h <<_ACEOF
15636 #define HAVE_STRUCT_STATFS_F_FRSIZE 1
15637 _ACEOF
15641 ac_fn_c_check_member "$LINENO" "struct statfs" "f_ffree" "ac_cv_member_struct_statfs_f_ffree" "#include <sys/types.h>
15642 #ifdef HAVE_SYS_PARAM_H
15643 # include <sys/param.h>
15644 #endif
15645 #ifdef HAVE_SYS_MOUNT_H
15646 # include <sys/mount.h>
15647 #endif
15648 #ifdef HAVE_SYS_VFS_H
15649 # include <sys/vfs.h>
15650 #endif
15651 #ifdef HAVE_SYS_STATFS_H
15652 # include <sys/statfs.h>
15653 #endif
15655 if test "x$ac_cv_member_struct_statfs_f_ffree" = xyes; then :
15657 cat >>confdefs.h <<_ACEOF
15658 #define HAVE_STRUCT_STATFS_F_FFREE 1
15659 _ACEOF
15663 ac_fn_c_check_member "$LINENO" "struct statfs" "f_favail" "ac_cv_member_struct_statfs_f_favail" "#include <sys/types.h>
15664 #ifdef HAVE_SYS_PARAM_H
15665 # include <sys/param.h>
15666 #endif
15667 #ifdef HAVE_SYS_MOUNT_H
15668 # include <sys/mount.h>
15669 #endif
15670 #ifdef HAVE_SYS_VFS_H
15671 # include <sys/vfs.h>
15672 #endif
15673 #ifdef HAVE_SYS_STATFS_H
15674 # include <sys/statfs.h>
15675 #endif
15677 if test "x$ac_cv_member_struct_statfs_f_favail" = xyes; then :
15679 cat >>confdefs.h <<_ACEOF
15680 #define HAVE_STRUCT_STATFS_F_FAVAIL 1
15681 _ACEOF
15685 ac_fn_c_check_member "$LINENO" "struct statfs" "f_namelen" "ac_cv_member_struct_statfs_f_namelen" "#include <sys/types.h>
15686 #ifdef HAVE_SYS_PARAM_H
15687 # include <sys/param.h>
15688 #endif
15689 #ifdef HAVE_SYS_MOUNT_H
15690 # include <sys/mount.h>
15691 #endif
15692 #ifdef HAVE_SYS_VFS_H
15693 # include <sys/vfs.h>
15694 #endif
15695 #ifdef HAVE_SYS_STATFS_H
15696 # include <sys/statfs.h>
15697 #endif
15699 if test "x$ac_cv_member_struct_statfs_f_namelen" = xyes; then :
15701 cat >>confdefs.h <<_ACEOF
15702 #define HAVE_STRUCT_STATFS_F_NAMELEN 1
15703 _ACEOF
15709 ac_fn_c_check_member "$LINENO" "struct statvfs" "f_blocks" "ac_cv_member_struct_statvfs_f_blocks" "#ifdef HAVE_SYS_STATVFS_H
15710 #include <sys/statvfs.h>
15711 #endif
15713 if test "x$ac_cv_member_struct_statvfs_f_blocks" = xyes; then :
15715 cat >>confdefs.h <<_ACEOF
15716 #define HAVE_STRUCT_STATVFS_F_BLOCKS 1
15717 _ACEOF
15723 ac_fn_c_check_member "$LINENO" "struct dirent" "d_reclen" "ac_cv_member_struct_dirent_d_reclen" "#ifdef HAVE_DIRENT_H
15724 #include <dirent.h>
15725 #endif
15727 if test "x$ac_cv_member_struct_dirent_d_reclen" = xyes; then :
15729 cat >>confdefs.h <<_ACEOF
15730 #define HAVE_STRUCT_DIRENT_D_RECLEN 1
15731 _ACEOF
15737 ac_fn_c_check_member "$LINENO" "struct msghdr" "msg_accrights" "ac_cv_member_struct_msghdr_msg_accrights" "#include <sys/types.h>
15738 #ifdef HAVE_SYS_SOCKET_H
15739 # include <sys/socket.h>
15740 #endif
15741 #ifdef HAVE_SYS_UN_H
15742 # include <sys/un.h>
15743 #endif
15745 if test "x$ac_cv_member_struct_msghdr_msg_accrights" = xyes; then :
15747 cat >>confdefs.h <<_ACEOF
15748 #define HAVE_STRUCT_MSGHDR_MSG_ACCRIGHTS 1
15749 _ACEOF
15753 ac_fn_c_check_member "$LINENO" "struct sockaddr" "sa_len" "ac_cv_member_struct_sockaddr_sa_len" "#include <sys/types.h>
15754 #ifdef HAVE_SYS_SOCKET_H
15755 # include <sys/socket.h>
15756 #endif
15757 #ifdef HAVE_SYS_UN_H
15758 # include <sys/un.h>
15759 #endif
15761 if test "x$ac_cv_member_struct_sockaddr_sa_len" = xyes; then :
15763 cat >>confdefs.h <<_ACEOF
15764 #define HAVE_STRUCT_SOCKADDR_SA_LEN 1
15765 _ACEOF
15769 ac_fn_c_check_member "$LINENO" "struct sockaddr_un" "sun_len" "ac_cv_member_struct_sockaddr_un_sun_len" "#include <sys/types.h>
15770 #ifdef HAVE_SYS_SOCKET_H
15771 # include <sys/socket.h>
15772 #endif
15773 #ifdef HAVE_SYS_UN_H
15774 # include <sys/un.h>
15775 #endif
15777 if test "x$ac_cv_member_struct_sockaddr_un_sun_len" = xyes; then :
15779 cat >>confdefs.h <<_ACEOF
15780 #define HAVE_STRUCT_SOCKADDR_UN_SUN_LEN 1
15781 _ACEOF
15787 ac_fn_c_check_member "$LINENO" "scsireq_t" "cmd" "ac_cv_member_scsireq_t_cmd" "#include <sys/types.h>
15788 #ifdef HAVE_SCSI_SG_H
15789 #include <scsi/sg.h>
15790 #endif
15792 if test "x$ac_cv_member_scsireq_t_cmd" = xyes; then :
15794 cat >>confdefs.h <<_ACEOF
15795 #define HAVE_SCSIREQ_T_CMD 1
15796 _ACEOF
15800 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>
15801 #ifdef HAVE_SCSI_SG_H
15802 #include <scsi/sg.h>
15803 #endif
15805 if test "x$ac_cv_member_sg_io_hdr_t_interface_id" = xyes; then :
15807 cat >>confdefs.h <<_ACEOF
15808 #define HAVE_SG_IO_HDR_T_INTERFACE_ID 1
15809 _ACEOF
15815 ac_fn_c_check_member "$LINENO" "siginfo_t" "si_fd" "ac_cv_member_siginfo_t_si_fd" "#include <signal.h>
15817 if test "x$ac_cv_member_siginfo_t_si_fd" = xyes; then :
15819 cat >>confdefs.h <<_ACEOF
15820 #define HAVE_SIGINFO_T_SI_FD 1
15821 _ACEOF
15827 ac_fn_c_check_member "$LINENO" "struct mtget" "mt_blksiz" "ac_cv_member_struct_mtget_mt_blksiz" "#include <sys/types.h>
15828 #ifdef HAVE_SYS_MTIO_H
15829 #include <sys/mtio.h>
15830 #endif
15832 if test "x$ac_cv_member_struct_mtget_mt_blksiz" = xyes; then :
15834 cat >>confdefs.h <<_ACEOF
15835 #define HAVE_STRUCT_MTGET_MT_BLKSIZ 1
15836 _ACEOF
15840 ac_fn_c_check_member "$LINENO" "struct mtget" "mt_gstat" "ac_cv_member_struct_mtget_mt_gstat" "#include <sys/types.h>
15841 #ifdef HAVE_SYS_MTIO_H
15842 #include <sys/mtio.h>
15843 #endif
15845 if test "x$ac_cv_member_struct_mtget_mt_gstat" = xyes; then :
15847 cat >>confdefs.h <<_ACEOF
15848 #define HAVE_STRUCT_MTGET_MT_GSTAT 1
15849 _ACEOF
15853 ac_fn_c_check_member "$LINENO" "struct mtget" "mt_blkno" "ac_cv_member_struct_mtget_mt_blkno" "#include <sys/types.h>
15854 #ifdef HAVE_SYS_MTIO_H
15855 #include <sys/mtio.h>
15856 #endif
15858 if test "x$ac_cv_member_struct_mtget_mt_blkno" = xyes; then :
15860 cat >>confdefs.h <<_ACEOF
15861 #define HAVE_STRUCT_MTGET_MT_BLKNO 1
15862 _ACEOF
15868 ac_fn_c_check_member "$LINENO" "struct option" "name" "ac_cv_member_struct_option_name" "#ifdef HAVE_GETOPT_H
15869 #include <getopt.h>
15870 #endif
15872 if test "x$ac_cv_member_struct_option_name" = xyes; then :
15874 cat >>confdefs.h <<_ACEOF
15875 #define HAVE_STRUCT_OPTION_NAME 1
15876 _ACEOF
15882 ac_fn_c_check_member "$LINENO" "struct stat" "st_blocks" "ac_cv_member_struct_stat_st_blocks" "$ac_includes_default"
15883 if test "x$ac_cv_member_struct_stat_st_blocks" = xyes; then :
15885 cat >>confdefs.h <<_ACEOF
15886 #define HAVE_STRUCT_STAT_ST_BLOCKS 1
15887 _ACEOF
15891 ac_fn_c_check_member "$LINENO" "struct stat" "st_mtim" "ac_cv_member_struct_stat_st_mtim" "$ac_includes_default"
15892 if test "x$ac_cv_member_struct_stat_st_mtim" = xyes; then :
15894 cat >>confdefs.h <<_ACEOF
15895 #define HAVE_STRUCT_STAT_ST_MTIM 1
15896 _ACEOF
15900 ac_fn_c_check_member "$LINENO" "struct stat" "st_mtimespec" "ac_cv_member_struct_stat_st_mtimespec" "$ac_includes_default"
15901 if test "x$ac_cv_member_struct_stat_st_mtimespec" = xyes; then :
15903 cat >>confdefs.h <<_ACEOF
15904 #define HAVE_STRUCT_STAT_ST_MTIMESPEC 1
15905 _ACEOF
15909 ac_fn_c_check_member "$LINENO" "struct stat" "st_ctim" "ac_cv_member_struct_stat_st_ctim" "$ac_includes_default"
15910 if test "x$ac_cv_member_struct_stat_st_ctim" = xyes; then :
15912 cat >>confdefs.h <<_ACEOF
15913 #define HAVE_STRUCT_STAT_ST_CTIM 1
15914 _ACEOF
15918 ac_fn_c_check_member "$LINENO" "struct stat" "st_ctimespec" "ac_cv_member_struct_stat_st_ctimespec" "$ac_includes_default"
15919 if test "x$ac_cv_member_struct_stat_st_ctimespec" = xyes; then :
15921 cat >>confdefs.h <<_ACEOF
15922 #define HAVE_STRUCT_STAT_ST_CTIMESPEC 1
15923 _ACEOF
15927 ac_fn_c_check_member "$LINENO" "struct stat" "st_atim" "ac_cv_member_struct_stat_st_atim" "$ac_includes_default"
15928 if test "x$ac_cv_member_struct_stat_st_atim" = xyes; then :
15930 cat >>confdefs.h <<_ACEOF
15931 #define HAVE_STRUCT_STAT_ST_ATIM 1
15932 _ACEOF
15936 ac_fn_c_check_member "$LINENO" "struct stat" "st_atimespec" "ac_cv_member_struct_stat_st_atimespec" "$ac_includes_default"
15937 if test "x$ac_cv_member_struct_stat_st_atimespec" = xyes; then :
15939 cat >>confdefs.h <<_ACEOF
15940 #define HAVE_STRUCT_STAT_ST_ATIMESPEC 1
15941 _ACEOF
15945 ac_fn_c_check_member "$LINENO" "struct stat" "st_birthtime" "ac_cv_member_struct_stat_st_birthtime" "$ac_includes_default"
15946 if test "x$ac_cv_member_struct_stat_st_birthtime" = xyes; then :
15948 cat >>confdefs.h <<_ACEOF
15949 #define HAVE_STRUCT_STAT_ST_BIRTHTIME 1
15950 _ACEOF
15954 ac_fn_c_check_member "$LINENO" "struct stat" "st_birthtim" "ac_cv_member_struct_stat_st_birthtim" "$ac_includes_default"
15955 if test "x$ac_cv_member_struct_stat_st_birthtim" = xyes; then :
15957 cat >>confdefs.h <<_ACEOF
15958 #define HAVE_STRUCT_STAT_ST_BIRTHTIM 1
15959 _ACEOF
15963 ac_fn_c_check_member "$LINENO" "struct stat" "st_birthtimespec" "ac_cv_member_struct_stat_st_birthtimespec" "$ac_includes_default"
15964 if test "x$ac_cv_member_struct_stat_st_birthtimespec" = xyes; then :
15966 cat >>confdefs.h <<_ACEOF
15967 #define HAVE_STRUCT_STAT_ST_BIRTHTIMESPEC 1
15968 _ACEOF
15972 ac_fn_c_check_member "$LINENO" "struct stat" "__st_birthtime" "ac_cv_member_struct_stat___st_birthtime" "$ac_includes_default"
15973 if test "x$ac_cv_member_struct_stat___st_birthtime" = xyes; then :
15975 cat >>confdefs.h <<_ACEOF
15976 #define HAVE_STRUCT_STAT___ST_BIRTHTIME 1
15977 _ACEOF
15981 ac_fn_c_check_member "$LINENO" "struct stat" "__st_birthtim" "ac_cv_member_struct_stat___st_birthtim" "$ac_includes_default"
15982 if test "x$ac_cv_member_struct_stat___st_birthtim" = xyes; then :
15984 cat >>confdefs.h <<_ACEOF
15985 #define HAVE_STRUCT_STAT___ST_BIRTHTIM 1
15986 _ACEOF
15992 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
15993 #include <sys/types.h>
15994 #endif
15995 #ifdef HAVE_NETINET_IN_H
15996 #include <netinet/in.h>
15997 #endif
15999 if test "x$ac_cv_member_struct_sockaddr_in6_sin6_scope_id" = xyes; then :
16001 cat >>confdefs.h <<_ACEOF
16002 #define HAVE_STRUCT_SOCKADDR_IN6_SIN6_SCOPE_ID 1
16003 _ACEOF
16009 ac_fn_c_check_type "$LINENO" "struct __res_state" "ac_cv_type_struct___res_state" "#ifdef HAVE_RESOLV_H
16010 #include <resolv.h>
16011 #endif
16013 if test "x$ac_cv_type_struct___res_state" = xyes; then :
16015 cat >>confdefs.h <<_ACEOF
16016 #define HAVE_STRUCT___RES_STATE 1
16017 _ACEOF
16023 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
16024 #include <resolv.h>
16025 #endif
16027 if test "x$ac_cv_member_struct___res_state__u__ext_nscount6" = xyes; then :
16029 cat >>confdefs.h <<_ACEOF
16030 #define HAVE_STRUCT___RES_STATE__U__EXT_NSCOUNT6 1
16031 _ACEOF
16037 ac_fn_c_check_member "$LINENO" "ns_msg" "_msg_ptr" "ac_cv_member_ns_msg__msg_ptr" "#ifdef HAVE_SYS_TYPES_H
16038 #include <sys/types.h>
16039 #endif
16040 #ifdef HAVE_NETINET_IN_H
16041 # include <netinet/in.h>
16042 #endif
16043 #ifdef HAVE_ARPA_NAMESER_H
16044 # include <arpa/nameser.h>
16045 #endif
16047 if test "x$ac_cv_member_ns_msg__msg_ptr" = xyes; then :
16049 cat >>confdefs.h <<_ACEOF
16050 #define HAVE_NS_MSG__MSG_PTR 1
16051 _ACEOF
16057 ac_fn_c_check_member "$LINENO" "struct icmpstat" "icps_inhist" "ac_cv_member_struct_icmpstat_icps_inhist" "#ifdef HAVE_SYS_TYPES_H
16058 #include <sys/types.h>
16059 #endif
16060 #ifdef HAVE_NETINET_IP_H
16061 #include <netinet/ip.h>
16062 #endif
16063 #ifdef HAVE_NETINET_IP_ICMP_H
16064 #include <netinet/ip_icmp.h>
16065 #endif
16066 #ifdef HAVE_NETINET_ICMP_VAR_H
16067 #include <netinet/icmp_var.h>
16068 #endif
16070 if test "x$ac_cv_member_struct_icmpstat_icps_inhist" = xyes; then :
16072 cat >>confdefs.h <<_ACEOF
16073 #define HAVE_STRUCT_ICMPSTAT_ICPS_INHIST 1
16074 _ACEOF
16080 ac_fn_c_check_member "$LINENO" "struct icmpstat" "icps_outhist" "ac_cv_member_struct_icmpstat_icps_outhist" "#ifdef HAVE_SYS_TYPES_H
16081 #include <sys/types.h>
16082 #endif
16083 #ifdef HAVE_ALIAS_H
16084 #include <alias.h>
16085 #endif
16086 #ifdef HAVE_SYS_SOCKET_H
16087 #include <sys/socket.h>
16088 #endif
16089 #ifdef HAVE_SYS_SOCKETVAR_H
16090 #include <sys/socketvar.h>
16091 #endif
16092 #ifdef HAVE_SYS_TIMEOUT_H
16093 #include <sys/timeout.h>
16094 #endif
16095 #ifdef HAVE_NETINET_IN_H
16096 #include <netinet/in.h>
16097 #endif
16098 #ifdef HAVE_NETINET_IN_SYSTM_H
16099 #include <netinet/in_systm.h>
16100 #endif
16101 #ifdef HAVE_NETINET_IP_H
16102 #include <netinet/ip.h>
16103 #endif
16104 #ifdef HAVE_NETINET_IP_VAR_H
16105 #include <netinet/ip_var.h>
16106 #endif
16107 #ifdef HAVE_NETINET_IP_ICMP_H
16108 #include <netinet/ip_icmp.h>
16109 #endif
16110 #ifdef HAVE_NETINET_ICMP_VAR_H
16111 #include <netinet/icmp_var.h>
16112 #endif
16114 if test "x$ac_cv_member_struct_icmpstat_icps_outhist" = xyes; then :
16116 cat >>confdefs.h <<_ACEOF
16117 #define HAVE_STRUCT_ICMPSTAT_ICPS_OUTHIST 1
16118 _ACEOF
16124 ac_fn_c_check_member "$LINENO" "struct ipstat" "ips_total" "ac_cv_member_struct_ipstat_ips_total" "#ifdef HAVE_SYS_TYPES_H
16125 #include <sys/types.h>
16126 #endif
16127 #ifdef HAVE_SYS_SOCKETVAR_H
16128 #include <sys/socketvar.h>
16129 #endif
16130 #ifdef HAVE_NETINET_IN_H
16131 #include <netinet/in.h>
16132 #endif
16133 #ifdef HAVE_NETINET_IP_VAR_H
16134 #include <netinet/ip_var.h>
16135 #endif
16137 if test "x$ac_cv_member_struct_ipstat_ips_total" = xyes; then :
16139 cat >>confdefs.h <<_ACEOF
16140 #define HAVE_STRUCT_IPSTAT_IPS_TOTAL 1
16141 _ACEOF
16147 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
16148 #include <netinet/ip_var.h>
16149 #endif
16151 if test "x$ac_cv_member_struct_ip_stats_ips_total" = xyes; then :
16153 cat >>confdefs.h <<_ACEOF
16154 #define HAVE_STRUCT_IP_STATS_IPS_TOTAL 1
16155 _ACEOF
16161 ac_fn_c_check_member "$LINENO" "struct tcpstat" "tcps_connattempt" "ac_cv_member_struct_tcpstat_tcps_connattempt" "#ifdef HAVE_SYS_TYPES_H
16162 #include <sys/types.h>
16163 #endif
16164 #ifdef HAVE_SYS_SOCKETVAR_H
16165 #include <sys/socketvar.h>
16166 #endif
16167 #ifdef HAVE_NETINET_IN_H
16168 #include <netinet/in.h>
16169 #endif
16170 #ifdef HAVE_NETINET_TCP_H
16171 #include <netinet/tcp.h>
16172 #endif
16173 #ifdef HAVE_NETINET_TCP_VAR_H
16174 #include <netinet/tcp_var.h>
16175 #endif
16177 if test "x$ac_cv_member_struct_tcpstat_tcps_connattempt" = xyes; then :
16179 cat >>confdefs.h <<_ACEOF
16180 #define HAVE_STRUCT_TCPSTAT_TCPS_CONNATTEMPT 1
16181 _ACEOF
16187 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
16188 #include <netinet/tcp_var.h>
16189 #endif
16191 if test "x$ac_cv_member_struct_tcp_stats_tcps_connattempt" = xyes; then :
16193 cat >>confdefs.h <<_ACEOF
16194 #define HAVE_STRUCT_TCP_STATS_TCPS_CONNATTEMPT 1
16195 _ACEOF
16201 ac_fn_c_check_member "$LINENO" "struct udpstat" "udps_ipackets" "ac_cv_member_struct_udpstat_udps_ipackets" "#ifdef HAVE_SYS_TYPES_H
16202 #include <sys/types.h>
16203 #endif
16204 #ifdef HAVE_NETINET_IN_H
16205 #include <netinet/in.h>
16206 #endif
16207 #ifdef HAVE_NETINET_IP_VAR_H
16208 #include <netinet/ip_var.h>
16209 #endif
16210 #ifdef HAVE_NETINET_UDP_H
16211 #include <netinet/udp.h>
16212 #endif
16213 #ifdef HAVE_NETINET_UDP_VAR_H
16214 #include <netinet/udp_var.h>
16215 #endif
16217 if test "x$ac_cv_member_struct_udpstat_udps_ipackets" = xyes; then :
16219 cat >>confdefs.h <<_ACEOF
16220 #define HAVE_STRUCT_UDPSTAT_UDPS_IPACKETS 1
16221 _ACEOF
16227 ac_fn_c_check_member "$LINENO" "struct ifreq" "ifr_hwaddr" "ac_cv_member_struct_ifreq_ifr_hwaddr" "#ifdef HAVE_SYS_TYPES_H
16228 #include <sys/types.h>
16229 #endif
16230 #ifdef HAVE_NET_IF_H
16231 # include <net/if.h>
16232 #endif
16234 if test "x$ac_cv_member_struct_ifreq_ifr_hwaddr" = xyes; then :
16236 cat >>confdefs.h <<_ACEOF
16237 #define HAVE_STRUCT_IFREQ_IFR_HWADDR 1
16238 _ACEOF
16244 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for timezone variable" >&5
16245 $as_echo_n "checking for timezone variable... " >&6; }
16246 if ${ac_cv_have_timezone+:} false; then :
16247 $as_echo_n "(cached) " >&6
16248 else
16249 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
16250 /* end confdefs.h. */
16251 #include <time.h>
16253 main ()
16255 timezone = 1
16257 return 0;
16259 _ACEOF
16260 if ac_fn_c_try_link "$LINENO"; then :
16261 ac_cv_have_timezone="yes"
16262 else
16263 ac_cv_have_timezone="no"
16265 rm -f core conftest.err conftest.$ac_objext \
16266 conftest$ac_exeext conftest.$ac_ext
16268 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_have_timezone" >&5
16269 $as_echo "$ac_cv_have_timezone" >&6; }
16270 if test "$ac_cv_have_timezone" = "yes"
16271 then
16273 $as_echo "#define HAVE_TIMEZONE 1" >>confdefs.h
16276 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for daylight variable" >&5
16277 $as_echo_n "checking for daylight variable... " >&6; }
16278 if ${ac_cv_have_daylight+:} false; then :
16279 $as_echo_n "(cached) " >&6
16280 else
16281 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
16282 /* end confdefs.h. */
16283 #include <time.h>
16285 main ()
16287 daylight = 1
16289 return 0;
16291 _ACEOF
16292 if ac_fn_c_try_link "$LINENO"; then :
16293 ac_cv_have_daylight="yes"
16294 else
16295 ac_cv_have_daylight="no"
16297 rm -f core conftest.err conftest.$ac_objext \
16298 conftest$ac_exeext conftest.$ac_ext
16300 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_have_daylight" >&5
16301 $as_echo "$ac_cv_have_daylight" >&6; }
16302 if test "$ac_cv_have_daylight" = "yes"
16303 then
16305 $as_echo "#define HAVE_DAYLIGHT 1" >>confdefs.h
16309 ac_save_LIBS="$LIBS"
16310 LIBS="$LIBS -lm"
16311 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for isfinite" >&5
16312 $as_echo_n "checking for isfinite... " >&6; }
16313 if ${ac_cv_have_isfinite+:} false; then :
16314 $as_echo_n "(cached) " >&6
16315 else
16316 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
16317 /* end confdefs.h. */
16318 #define _GNU_SOURCE
16319 #include <math.h>
16321 main ()
16323 float f = 0.0; return isfinite(f)
16325 return 0;
16327 _ACEOF
16328 if ac_fn_c_try_link "$LINENO"; then :
16329 ac_cv_have_isfinite="yes"
16330 else
16331 ac_cv_have_isfinite="no"
16333 rm -f core conftest.err conftest.$ac_objext \
16334 conftest$ac_exeext conftest.$ac_ext
16336 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_have_isfinite" >&5
16337 $as_echo "$ac_cv_have_isfinite" >&6; }
16338 if test "$ac_cv_have_isfinite" = "yes"
16339 then
16341 $as_echo "#define HAVE_ISFINITE 1" >>confdefs.h
16345 ac_save_LIBS="$LIBS"
16346 LIBS="$LIBS -lm"
16347 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for isinf" >&5
16348 $as_echo_n "checking for isinf... " >&6; }
16349 if ${ac_cv_have_isinf+:} false; then :
16350 $as_echo_n "(cached) " >&6
16351 else
16352 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
16353 /* end confdefs.h. */
16354 #include <math.h>
16356 main ()
16358 float f = 0.0; return isinf(f)
16360 return 0;
16362 _ACEOF
16363 if ac_fn_c_try_link "$LINENO"; then :
16364 ac_cv_have_isinf="yes"
16365 else
16366 ac_cv_have_isinf="no"
16368 rm -f core conftest.err conftest.$ac_objext \
16369 conftest$ac_exeext conftest.$ac_ext
16371 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_have_isinf" >&5
16372 $as_echo "$ac_cv_have_isinf" >&6; }
16373 if test "$ac_cv_have_isinf" = "yes"
16374 then
16376 $as_echo "#define HAVE_ISINF 1" >>confdefs.h
16380 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for isnan" >&5
16381 $as_echo_n "checking for isnan... " >&6; }
16382 if ${ac_cv_have_isnan+:} false; then :
16383 $as_echo_n "(cached) " >&6
16384 else
16385 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
16386 /* end confdefs.h. */
16387 #include <math.h>
16389 main ()
16391 float f = 0.0; return isnan(f)
16393 return 0;
16395 _ACEOF
16396 if ac_fn_c_try_link "$LINENO"; then :
16397 ac_cv_have_isnan="yes"
16398 else
16399 ac_cv_have_isnan="no"
16401 rm -f core conftest.err conftest.$ac_objext \
16402 conftest$ac_exeext conftest.$ac_ext
16404 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_have_isnan" >&5
16405 $as_echo "$ac_cv_have_isnan" >&6; }
16406 if test "$ac_cv_have_isnan" = "yes"
16407 then
16409 $as_echo "#define HAVE_ISNAN 1" >>confdefs.h
16412 LIBS="$ac_save_LIBS"
16415 case $host_cpu in
16416 *i[3456789]86*) { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we need to define __i386__" >&5
16417 $as_echo_n "checking whether we need to define __i386__... " >&6; }
16418 if ${ac_cv_cpp_def___i386__+:} false; then :
16419 $as_echo_n "(cached) " >&6
16420 else
16421 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
16422 /* end confdefs.h. */
16423 #ifndef __i386__
16425 #endif
16426 _ACEOF
16427 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
16428 $EGREP "yes" >/dev/null 2>&1; then :
16429 ac_cv_cpp_def___i386__=yes
16430 else
16431 ac_cv_cpp_def___i386__=no
16433 rm -f conftest*
16436 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cpp_def___i386__" >&5
16437 $as_echo "$ac_cv_cpp_def___i386__" >&6; }
16438 if test "x$ac_cv_cpp_def___i386__" = xyes; then :
16439 CFLAGS="$CFLAGS -D__i386__"
16440 LINTFLAGS="$LINTFLAGS -D__i386__"
16441 fi ;;
16442 *x86_64*) { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we need to define __x86_64__" >&5
16443 $as_echo_n "checking whether we need to define __x86_64__... " >&6; }
16444 if ${ac_cv_cpp_def___x86_64__+:} false; then :
16445 $as_echo_n "(cached) " >&6
16446 else
16447 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
16448 /* end confdefs.h. */
16449 #ifndef __x86_64__
16451 #endif
16452 _ACEOF
16453 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
16454 $EGREP "yes" >/dev/null 2>&1; then :
16455 ac_cv_cpp_def___x86_64__=yes
16456 else
16457 ac_cv_cpp_def___x86_64__=no
16459 rm -f conftest*
16462 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cpp_def___x86_64__" >&5
16463 $as_echo "$ac_cv_cpp_def___x86_64__" >&6; }
16464 if test "x$ac_cv_cpp_def___x86_64__" = xyes; then :
16465 CFLAGS="$CFLAGS -D__x86_64__"
16466 LINTFLAGS="$LINTFLAGS -D__x86_64__"
16467 fi ;;
16468 *sparc64*) { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we need to define __sparc64__" >&5
16469 $as_echo_n "checking whether we need to define __sparc64__... " >&6; }
16470 if ${ac_cv_cpp_def___sparc64__+:} false; then :
16471 $as_echo_n "(cached) " >&6
16472 else
16473 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
16474 /* end confdefs.h. */
16475 #ifndef __sparc64__
16477 #endif
16478 _ACEOF
16479 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
16480 $EGREP "yes" >/dev/null 2>&1; then :
16481 ac_cv_cpp_def___sparc64__=yes
16482 else
16483 ac_cv_cpp_def___sparc64__=no
16485 rm -f conftest*
16488 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cpp_def___sparc64__" >&5
16489 $as_echo "$ac_cv_cpp_def___sparc64__" >&6; }
16490 if test "x$ac_cv_cpp_def___sparc64__" = xyes; then :
16491 CFLAGS="$CFLAGS -D__sparc64__"
16492 LINTFLAGS="$LINTFLAGS -D__sparc64__"
16493 fi ;;
16494 *sparc*) { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we need to define __sparc__" >&5
16495 $as_echo_n "checking whether we need to define __sparc__... " >&6; }
16496 if ${ac_cv_cpp_def___sparc__+:} false; then :
16497 $as_echo_n "(cached) " >&6
16498 else
16499 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
16500 /* end confdefs.h. */
16501 #ifndef __sparc__
16503 #endif
16504 _ACEOF
16505 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
16506 $EGREP "yes" >/dev/null 2>&1; then :
16507 ac_cv_cpp_def___sparc__=yes
16508 else
16509 ac_cv_cpp_def___sparc__=no
16511 rm -f conftest*
16514 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cpp_def___sparc__" >&5
16515 $as_echo "$ac_cv_cpp_def___sparc__" >&6; }
16516 if test "x$ac_cv_cpp_def___sparc__" = xyes; then :
16517 CFLAGS="$CFLAGS -D__sparc__"
16518 LINTFLAGS="$LINTFLAGS -D__sparc__"
16519 fi ;;
16520 *powerpc64*) { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we need to define __powerpc64__" >&5
16521 $as_echo_n "checking whether we need to define __powerpc64__... " >&6; }
16522 if ${ac_cv_cpp_def___powerpc64__+:} false; then :
16523 $as_echo_n "(cached) " >&6
16524 else
16525 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
16526 /* end confdefs.h. */
16527 #ifndef __powerpc64__
16529 #endif
16530 _ACEOF
16531 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
16532 $EGREP "yes" >/dev/null 2>&1; then :
16533 ac_cv_cpp_def___powerpc64__=yes
16534 else
16535 ac_cv_cpp_def___powerpc64__=no
16537 rm -f conftest*
16540 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cpp_def___powerpc64__" >&5
16541 $as_echo "$ac_cv_cpp_def___powerpc64__" >&6; }
16542 if test "x$ac_cv_cpp_def___powerpc64__" = xyes; then :
16543 CFLAGS="$CFLAGS -D__powerpc64__"
16544 LINTFLAGS="$LINTFLAGS -D__powerpc64__"
16545 fi ;;
16546 *powerpc*) { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we need to define __powerpc__" >&5
16547 $as_echo_n "checking whether we need to define __powerpc__... " >&6; }
16548 if ${ac_cv_cpp_def___powerpc__+:} false; then :
16549 $as_echo_n "(cached) " >&6
16550 else
16551 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
16552 /* end confdefs.h. */
16553 #ifndef __powerpc__
16555 #endif
16556 _ACEOF
16557 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
16558 $EGREP "yes" >/dev/null 2>&1; then :
16559 ac_cv_cpp_def___powerpc__=yes
16560 else
16561 ac_cv_cpp_def___powerpc__=no
16563 rm -f conftest*
16566 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cpp_def___powerpc__" >&5
16567 $as_echo "$ac_cv_cpp_def___powerpc__" >&6; }
16568 if test "x$ac_cv_cpp_def___powerpc__" = xyes; then :
16569 CFLAGS="$CFLAGS -D__powerpc__"
16570 LINTFLAGS="$LINTFLAGS -D__powerpc__"
16571 fi ;;
16572 *aarch64*) { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we need to define __aarch64__" >&5
16573 $as_echo_n "checking whether we need to define __aarch64__... " >&6; }
16574 if ${ac_cv_cpp_def___aarch64__+:} false; then :
16575 $as_echo_n "(cached) " >&6
16576 else
16577 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
16578 /* end confdefs.h. */
16579 #ifndef __aarch64__
16581 #endif
16582 _ACEOF
16583 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
16584 $EGREP "yes" >/dev/null 2>&1; then :
16585 ac_cv_cpp_def___aarch64__=yes
16586 else
16587 ac_cv_cpp_def___aarch64__=no
16589 rm -f conftest*
16592 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cpp_def___aarch64__" >&5
16593 $as_echo "$ac_cv_cpp_def___aarch64__" >&6; }
16594 if test "x$ac_cv_cpp_def___aarch64__" = xyes; then :
16595 CFLAGS="$CFLAGS -D__aarch64__"
16596 LINTFLAGS="$LINTFLAGS -D__aarch64__"
16597 fi ;;
16598 *arm*) { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we need to define __arm__" >&5
16599 $as_echo_n "checking whether we need to define __arm__... " >&6; }
16600 if ${ac_cv_cpp_def___arm__+:} false; then :
16601 $as_echo_n "(cached) " >&6
16602 else
16603 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
16604 /* end confdefs.h. */
16605 #ifndef __arm__
16607 #endif
16608 _ACEOF
16609 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
16610 $EGREP "yes" >/dev/null 2>&1; then :
16611 ac_cv_cpp_def___arm__=yes
16612 else
16613 ac_cv_cpp_def___arm__=no
16615 rm -f conftest*
16618 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cpp_def___arm__" >&5
16619 $as_echo "$ac_cv_cpp_def___arm__" >&6; }
16620 if test "x$ac_cv_cpp_def___arm__" = xyes; then :
16621 CFLAGS="$CFLAGS -D__arm__"
16622 LINTFLAGS="$LINTFLAGS -D__arm__"
16623 fi ;;
16624 esac
16626 case $host_vendor in
16627 *sun*) { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we need to define __sun__" >&5
16628 $as_echo_n "checking whether we need to define __sun__... " >&6; }
16629 if ${ac_cv_cpp_def___sun__+:} false; then :
16630 $as_echo_n "(cached) " >&6
16631 else
16632 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
16633 /* end confdefs.h. */
16634 #ifndef __sun__
16636 #endif
16637 _ACEOF
16638 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
16639 $EGREP "yes" >/dev/null 2>&1; then :
16640 ac_cv_cpp_def___sun__=yes
16641 else
16642 ac_cv_cpp_def___sun__=no
16644 rm -f conftest*
16647 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cpp_def___sun__" >&5
16648 $as_echo "$ac_cv_cpp_def___sun__" >&6; }
16649 if test "x$ac_cv_cpp_def___sun__" = xyes; then :
16650 CFLAGS="$CFLAGS -D__sun__"
16651 LINTFLAGS="$LINTFLAGS -D__sun__"
16652 fi ;;
16653 esac
16659 ac_config_commands="$ac_config_commands include/stamp-h"
16661 $as_echo_n "creating Makefile rules..." >&6
16663 ALL_VARS_RULES="OPENGL_LIBS = $OPENGL_LIBS
16664 SOCKET_LIBS = $SOCKET_LIBS
16665 COREFOUNDATION_LIBS = $COREFOUNDATION_LIBS
16666 IOKIT_LIBS = $IOKIT_LIBS
16667 FORCEFEEDBACK_LIBS = $FORCEFEEDBACK_LIBS
16668 APPLICATIONSERVICES_LIBS = $APPLICATIONSERVICES_LIBS
16669 CORESERVICES_LIBS = $CORESERVICES_LIBS
16670 APPKIT_LIBS = $APPKIT_LIBS
16671 DISKARBITRATION_LIBS = $DISKARBITRATION_LIBS
16672 SECURITY_LIBS = $SECURITY_LIBS
16673 COREAUDIO_LIBS = $COREAUDIO_LIBS
16674 OPENAL_LIBS = $OPENAL_LIBS
16675 OPENCL_LIBS = $OPENCL_LIBS
16676 QUICKTIME_LIBS = $QUICKTIME_LIBS
16677 CARBON_LIBS = $CARBON_LIBS
16678 PTHREAD_LIBS = $PTHREAD_LIBS
16679 X_CFLAGS = $X_CFLAGS
16680 X_PRE_LIBS = $X_PRE_LIBS
16681 X_LIBS = $X_LIBS
16682 X_EXTRA_LIBS = $X_EXTRA_LIBS
16683 XML2_CFLAGS = $XML2_CFLAGS
16684 XML2_LIBS = $XML2_LIBS
16685 XSLT_CFLAGS = $XSLT_CFLAGS
16686 XSLT_LIBS = $XSLT_LIBS
16687 DBUS_CFLAGS = $DBUS_CFLAGS
16688 DBUS_LIBS = $DBUS_LIBS
16689 HAL_CFLAGS = $HAL_CFLAGS
16690 HAL_LIBS = $HAL_LIBS
16691 GNUTLS_CFLAGS = $GNUTLS_CFLAGS
16692 GNUTLS_LIBS = $GNUTLS_LIBS
16693 SANE_CFLAGS = $SANE_CFLAGS
16694 SANE_LIBS = $SANE_LIBS
16695 GPHOTO2_CFLAGS = $GPHOTO2_CFLAGS
16696 GPHOTO2_LIBS = $GPHOTO2_LIBS
16697 GPHOTO2_PORT_CFLAGS = $GPHOTO2_PORT_CFLAGS
16698 GPHOTO2_PORT_LIBS = $GPHOTO2_PORT_LIBS
16699 RESOLV_LIBS = $RESOLV_LIBS
16700 LCMS2_CFLAGS = $LCMS2_CFLAGS
16701 LCMS2_LIBS = $LCMS2_LIBS
16702 FREETYPE_CFLAGS = $FREETYPE_CFLAGS
16703 FREETYPE_LIBS = $FREETYPE_LIBS
16704 Z_LIBS = $Z_LIBS
16705 GETTEXTPO_LIBS = $GETTEXTPO_LIBS
16706 GSTREAMER_CFLAGS = $GSTREAMER_CFLAGS
16707 GSTREAMER_LIBS = $GSTREAMER_LIBS
16708 ALSA_LIBS = $ALSA_LIBS
16709 OSS4_CFLAGS = $OSS4_CFLAGS
16710 CAPI20_CFLAGS = $CAPI20_CFLAGS
16711 CAPI20_LIBS = $CAPI20_LIBS
16712 CUPS_CFLAGS = $CUPS_CFLAGS
16713 FONTCONFIG_CFLAGS = $FONTCONFIG_CFLAGS
16714 FONTCONFIG_LIBS = $FONTCONFIG_LIBS
16715 JPEG_CFLAGS = $JPEG_CFLAGS
16716 JPEG_LIBS = $JPEG_LIBS
16717 PNG_CFLAGS = $PNG_CFLAGS
16718 PNG_LIBS = $PNG_LIBS
16719 TIFF_CFLAGS = $TIFF_CFLAGS
16720 TIFF_LIBS = $TIFF_LIBS
16721 MPG123_CFLAGS = $MPG123_CFLAGS
16722 MPG123_LIBS = $MPG123_LIBS
16723 KSTAT_LIBS = $KSTAT_LIBS
16724 PROCSTAT_LIBS = $PROCSTAT_LIBS
16725 DL_LIBS = $DL_LIBS
16726 POLL_LIBS = $POLL_LIBS
16727 RT_LIBS = $RT_LIBS
16728 LDAP_LIBS = $LDAP_LIBS
16733 wine_fn_append_rule "
16734 # Rules automatically generated by configure
16736 CLEAN_FILES = *.o *.a *.so *.res *.fake *.ok *.tab.[ch] *.yy.c
16738 .INIT: Makefile
16739 .MAKEFILEDEPS:
16740 all: Makefile
16741 Makefile: $srcdir/Makefile.in $srcdir/Make.vars.in config.status \$(MAKEDEP)
16742 @./config.status Make.tmp Makefile"
16744 test "$srcdir" = . && wine_fn_append_rule "all: .gitignore
16745 .gitignore: config.status
16746 @./config.status .gitignore"
16748 test -n "$CROSSTARGET" || wine_fn_append_rule "crosstest:
16749 @echo \"crosstest is not supported (mingw not installed?)\" && false"
16751 if test "x$enable_fonts" != xno; then
16752 ac_config_links="$ac_config_links fonts/marlett.ttf:fonts/marlett.ttf"
16753 ac_config_links="$ac_config_links fonts/symbol.ttf:fonts/symbol.ttf"
16754 ac_config_links="$ac_config_links fonts/tahoma.ttf:fonts/tahoma.ttf"
16755 ac_config_links="$ac_config_links fonts/tahomabd.ttf:fonts/tahomabd.ttf"
16756 test "$srcdir" = "." || wine_fn_config_symlink fonts/marlett.ttf fonts/symbol.ttf fonts/tahoma.ttf fonts/tahomabd.ttf
16758 ac_config_links="$ac_config_links loader/l_intl.nls:loader/l_intl.nls"
16759 test "$srcdir" = "." || wine_fn_config_symlink loader/l_intl.nls
16760 ac_config_links="$ac_config_links po/LINGUAS:po/LINGUAS"
16761 test "$srcdir" = "." || wine_fn_config_symlink po/LINGUAS
16762 ac_config_links="$ac_config_links wine:tools/winewrapper"
16763 wine_fn_config_symlink wine
16764 if test "x$enable_win64" != xno; then
16765 ac_config_links="$ac_config_links wine64:tools/winewrapper"
16766 wine_fn_config_symlink wine64
16769 wine_fn_config_dll acledit enable_acledit
16770 wine_fn_config_dll aclui enable_aclui implib
16771 wine_fn_config_dll activeds enable_activeds implib
16772 wine_fn_config_dll actxprxy enable_actxprxy clean
16773 wine_fn_config_lib adsiid
16774 wine_fn_config_dll advapi32 enable_advapi32 clean,implib
16775 wine_fn_config_test dlls/advapi32/tests advapi32_test
16776 wine_fn_config_dll advpack enable_advpack implib
16777 wine_fn_config_test dlls/advpack/tests advpack_test
16778 wine_fn_config_dll amstream enable_amstream clean
16779 wine_fn_config_test dlls/amstream/tests amstream_test
16780 wine_fn_config_dll api-ms-win-core-com-l1-1-0 enable_api_ms_win_core_com_l1_1_0
16781 wine_fn_config_dll api-ms-win-core-console-l1-1-0 enable_api_ms_win_core_console_l1_1_0
16782 wine_fn_config_dll api-ms-win-core-datetime-l1-1-0 enable_api_ms_win_core_datetime_l1_1_0
16783 wine_fn_config_dll api-ms-win-core-datetime-l1-1-1 enable_api_ms_win_core_datetime_l1_1_1
16784 wine_fn_config_dll api-ms-win-core-debug-l1-1-1 enable_api_ms_win_core_debug_l1_1_1
16785 wine_fn_config_dll api-ms-win-core-errorhandling-l1-1-1 enable_api_ms_win_core_errorhandling_l1_1_1
16786 wine_fn_config_dll api-ms-win-core-fibers-l1-1-0 enable_api_ms_win_core_fibers_l1_1_0
16787 wine_fn_config_dll api-ms-win-core-fibers-l1-1-1 enable_api_ms_win_core_fibers_l1_1_1
16788 wine_fn_config_dll api-ms-win-core-file-l1-2-0 enable_api_ms_win_core_file_l1_2_0
16789 wine_fn_config_dll api-ms-win-core-file-l2-1-0 enable_api_ms_win_core_file_l2_1_0
16790 wine_fn_config_dll api-ms-win-core-file-l2-1-1 enable_api_ms_win_core_file_l2_1_1
16791 wine_fn_config_dll api-ms-win-core-handle-l1-1-0 enable_api_ms_win_core_handle_l1_1_0
16792 wine_fn_config_dll api-ms-win-core-heap-l1-2-0 enable_api_ms_win_core_heap_l1_2_0
16793 wine_fn_config_dll api-ms-win-core-heap-obsolete-l1-1-0 enable_api_ms_win_core_heap_obsolete_l1_1_0
16794 wine_fn_config_dll api-ms-win-core-interlocked-l1-2-0 enable_api_ms_win_core_interlocked_l1_2_0
16795 wine_fn_config_dll api-ms-win-core-io-l1-1-1 enable_api_ms_win_core_io_l1_1_1
16796 wine_fn_config_dll api-ms-win-core-kernel32-legacy-l1-1-0 enable_api_ms_win_core_kernel32_legacy_l1_1_0
16797 wine_fn_config_dll api-ms-win-core-libraryloader-l1-1-1 enable_api_ms_win_core_libraryloader_l1_1_1
16798 wine_fn_config_dll api-ms-win-core-localization-l1-2-0 enable_api_ms_win_core_localization_l1_2_0
16799 wine_fn_config_dll api-ms-win-core-localization-l1-2-1 enable_api_ms_win_core_localization_l1_2_1
16800 wine_fn_config_dll api-ms-win-core-localization-obsolete-l1-1-0 enable_api_ms_win_core_localization_obsolete_l1_1_0
16801 wine_fn_config_dll api-ms-win-core-localregistry-l1-1-0 enable_api_ms_win_core_localregistry_l1_1_0
16802 wine_fn_config_dll api-ms-win-core-memory-l1-1-1 enable_api_ms_win_core_memory_l1_1_1
16803 wine_fn_config_dll api-ms-win-core-namedpipe-l1-2-0 enable_api_ms_win_core_namedpipe_l1_2_0
16804 wine_fn_config_dll api-ms-win-core-processenvironment-l1-2-0 enable_api_ms_win_core_processenvironment_l1_2_0
16805 wine_fn_config_dll api-ms-win-core-processthreads-l1-1-0 enable_api_ms_win_core_processthreads_l1_1_0
16806 wine_fn_config_dll api-ms-win-core-processthreads-l1-1-1 enable_api_ms_win_core_processthreads_l1_1_1
16807 wine_fn_config_dll api-ms-win-core-processthreads-l1-1-2 enable_api_ms_win_core_processthreads_l1_1_2
16808 wine_fn_config_dll api-ms-win-core-profile-l1-1-0 enable_api_ms_win_core_profile_l1_1_0
16809 wine_fn_config_dll api-ms-win-core-psapi-l1-1-0 enable_api_ms_win_core_psapi_l1_1_0
16810 wine_fn_config_dll api-ms-win-core-registry-l1-1-0 enable_api_ms_win_core_registry_l1_1_0
16811 wine_fn_config_dll api-ms-win-core-rtlsupport-l1-2-0 enable_api_ms_win_core_rtlsupport_l1_2_0
16812 wine_fn_config_dll api-ms-win-core-shlwapi-legacy-l1-1-0 enable_api_ms_win_core_shlwapi_legacy_l1_1_0
16813 wine_fn_config_dll api-ms-win-core-string-l1-1-0 enable_api_ms_win_core_string_l1_1_0
16814 wine_fn_config_dll api-ms-win-core-synch-l1-2-0 enable_api_ms_win_core_synch_l1_2_0
16815 wine_fn_config_dll api-ms-win-core-sysinfo-l1-2-0 enable_api_ms_win_core_sysinfo_l1_2_0
16816 wine_fn_config_dll api-ms-win-core-sysinfo-l1-2-1 enable_api_ms_win_core_sysinfo_l1_2_1
16817 wine_fn_config_dll api-ms-win-core-threadpool-legacy-l1-1-0 enable_api_ms_win_core_threadpool_legacy_l1_1_0
16818 wine_fn_config_dll api-ms-win-core-timezone-l1-1-0 enable_api_ms_win_core_timezone_l1_1_0
16819 wine_fn_config_dll api-ms-win-core-url-l1-1-0 enable_api_ms_win_core_url_l1_1_0
16820 wine_fn_config_dll api-ms-win-core-util-l1-1-0 enable_api_ms_win_core_util_l1_1_0
16821 wine_fn_config_dll api-ms-win-core-winrt-error-l1-1-0 enable_api_ms_win_core_winrt_error_l1_1_0
16822 wine_fn_config_dll api-ms-win-core-winrt-l1-1-0 enable_api_ms_win_core_winrt_l1_1_0
16823 wine_fn_config_dll api-ms-win-core-winrt-string-l1-1-0 enable_api_ms_win_core_winrt_string_l1_1_0
16824 wine_fn_config_dll api-ms-win-downlevel-advapi32-l1-1-0 enable_api_ms_win_downlevel_advapi32_l1_1_0
16825 wine_fn_config_dll api-ms-win-downlevel-advapi32-l2-1-0 enable_api_ms_win_downlevel_advapi32_l2_1_0
16826 wine_fn_config_dll api-ms-win-downlevel-normaliz-l1-1-0 enable_api_ms_win_downlevel_normaliz_l1_1_0
16827 wine_fn_config_dll api-ms-win-downlevel-ole32-l1-1-0 enable_api_ms_win_downlevel_ole32_l1_1_0
16828 wine_fn_config_dll api-ms-win-downlevel-shell32-l1-1-0 enable_api_ms_win_downlevel_shell32_l1_1_0
16829 wine_fn_config_dll api-ms-win-downlevel-shlwapi-l1-1-0 enable_api_ms_win_downlevel_shlwapi_l1_1_0
16830 wine_fn_config_dll api-ms-win-downlevel-shlwapi-l2-1-0 enable_api_ms_win_downlevel_shlwapi_l2_1_0
16831 wine_fn_config_dll api-ms-win-downlevel-user32-l1-1-0 enable_api_ms_win_downlevel_user32_l1_1_0
16832 wine_fn_config_dll api-ms-win-downlevel-version-l1-1-0 enable_api_ms_win_downlevel_version_l1_1_0
16833 wine_fn_config_dll api-ms-win-eventing-provider-l1-1-0 enable_api_ms_win_eventing_provider_l1_1_0
16834 wine_fn_config_dll api-ms-win-ntuser-dc-access-l1-1-0 enable_api_ms_win_ntuser_dc_access_l1_1_0
16835 wine_fn_config_dll api-ms-win-security-base-l1-1-0 enable_api_ms_win_security_base_l1_1_0
16836 wine_fn_config_dll api-ms-win-security-base-l1-2-0 enable_api_ms_win_security_base_l1_2_0
16837 wine_fn_config_dll api-ms-win-security-sddl-l1-1-0 enable_api_ms_win_security_sddl_l1_1_0
16838 wine_fn_config_dll api-ms-win-service-core-l1-1-1 enable_api_ms_win_service_core_l1_1_1
16839 wine_fn_config_dll api-ms-win-service-management-l1-1-0 enable_api_ms_win_service_management_l1_1_0
16840 wine_fn_config_dll api-ms-win-service-winsvc-l1-2-0 enable_api_ms_win_service_winsvc_l1_2_0
16841 wine_fn_config_dll apphelp enable_apphelp
16842 wine_fn_config_test dlls/apphelp/tests apphelp_test
16843 wine_fn_config_dll appwiz.cpl enable_appwiz_cpl po
16844 wine_fn_config_dll atl enable_atl clean,implib
16845 wine_fn_config_test dlls/atl/tests atl_test
16846 wine_fn_config_dll atl100 enable_atl100 clean,implib
16847 wine_fn_config_test dlls/atl100/tests atl100_test
16848 wine_fn_config_dll atl110 enable_atl110 clean
16849 wine_fn_config_dll atl80 enable_atl80 clean,implib
16850 wine_fn_config_test dlls/atl80/tests atl80_test
16851 wine_fn_config_dll atl90 enable_atl90 clean
16852 wine_fn_config_dll authz enable_authz
16853 wine_fn_config_dll avicap32 enable_avicap32 implib
16854 wine_fn_config_dll avifil32 enable_avifil32 clean,implib,po
16855 wine_fn_config_test dlls/avifil32/tests avifil32_test
16856 wine_fn_config_dll avifile.dll16 enable_win16
16857 wine_fn_config_dll avrt enable_avrt implib
16858 wine_fn_config_dll bcrypt enable_bcrypt
16859 wine_fn_config_test dlls/bcrypt/tests bcrypt_test
16860 wine_fn_config_dll browseui enable_browseui clean,po
16861 wine_fn_config_test dlls/browseui/tests browseui_test
16862 wine_fn_config_dll cabinet enable_cabinet implib
16863 wine_fn_config_test dlls/cabinet/tests cabinet_test
16864 wine_fn_config_dll capi2032 enable_capi2032 implib
16865 wine_fn_config_dll cards enable_cards implib
16866 wine_fn_config_dll cfgmgr32 enable_cfgmgr32 implib
16867 wine_fn_config_dll clusapi enable_clusapi implib
16868 wine_fn_config_dll comcat enable_comcat
16869 wine_fn_config_test dlls/comcat/tests comcat_test
16870 wine_fn_config_dll comctl32 enable_comctl32 implib,po
16871 wine_fn_config_test dlls/comctl32/tests comctl32_test
16872 wine_fn_config_dll comdlg32 enable_comdlg32 clean,implib,po
16873 wine_fn_config_test dlls/comdlg32/tests comdlg32_test
16874 wine_fn_config_dll comm.drv16 enable_win16
16875 wine_fn_config_dll commdlg.dll16 enable_win16
16876 wine_fn_config_dll compobj.dll16 enable_win16
16877 wine_fn_config_dll compstui enable_compstui implib
16878 wine_fn_config_dll comsvcs enable_comsvcs implib
16879 wine_fn_config_dll credui enable_credui implib,po
16880 wine_fn_config_test dlls/credui/tests credui_test
16881 wine_fn_config_dll crtdll enable_crtdll implib
16882 wine_fn_config_dll crypt32 enable_crypt32 implib,po
16883 wine_fn_config_test dlls/crypt32/tests crypt32_test
16884 wine_fn_config_dll cryptdlg enable_cryptdlg po
16885 wine_fn_config_dll cryptdll enable_cryptdll implib
16886 wine_fn_config_dll cryptext enable_cryptext
16887 wine_fn_config_dll cryptnet enable_cryptnet implib
16888 wine_fn_config_test dlls/cryptnet/tests cryptnet_test
16889 wine_fn_config_dll cryptui enable_cryptui implib,po
16890 wine_fn_config_test dlls/cryptui/tests cryptui_test
16891 wine_fn_config_dll ctapi32 enable_ctapi32
16892 wine_fn_config_dll ctl3d.dll16 enable_win16
16893 wine_fn_config_dll ctl3d32 enable_ctl3d32 implib
16894 wine_fn_config_dll ctl3dv2.dll16 enable_win16
16895 wine_fn_config_dll d2d1 enable_d2d1 implib
16896 wine_fn_config_test dlls/d2d1/tests d2d1_test
16897 wine_fn_config_dll d3d10 enable_d3d10 implib
16898 wine_fn_config_test dlls/d3d10/tests d3d10_test
16899 wine_fn_config_dll d3d10_1 enable_d3d10_1 implib
16900 wine_fn_config_dll d3d10core enable_d3d10core implib
16901 wine_fn_config_test dlls/d3d10core/tests d3d10core_test
16902 wine_fn_config_dll d3d11 enable_d3d11
16903 wine_fn_config_dll d3d8 enable_d3d8 implib
16904 wine_fn_config_test dlls/d3d8/tests d3d8_test
16905 wine_fn_config_dll d3d9 enable_d3d9 implib
16906 wine_fn_config_test dlls/d3d9/tests d3d9_test
16907 wine_fn_config_dll d3dcompiler_33 enable_d3dcompiler_33
16908 wine_fn_config_dll d3dcompiler_34 enable_d3dcompiler_34
16909 wine_fn_config_dll d3dcompiler_35 enable_d3dcompiler_35
16910 wine_fn_config_dll d3dcompiler_36 enable_d3dcompiler_36
16911 wine_fn_config_dll d3dcompiler_37 enable_d3dcompiler_37
16912 wine_fn_config_dll d3dcompiler_38 enable_d3dcompiler_38
16913 wine_fn_config_dll d3dcompiler_39 enable_d3dcompiler_39
16914 wine_fn_config_dll d3dcompiler_40 enable_d3dcompiler_40
16915 wine_fn_config_dll d3dcompiler_41 enable_d3dcompiler_41
16916 wine_fn_config_dll d3dcompiler_42 enable_d3dcompiler_42
16917 wine_fn_config_dll d3dcompiler_43 enable_d3dcompiler_43 implib d3dcompiler
16918 wine_fn_config_test dlls/d3dcompiler_43/tests d3dcompiler_43_test
16919 wine_fn_config_dll d3dim enable_d3dim implib
16920 wine_fn_config_dll d3drm enable_d3drm implib
16921 wine_fn_config_test dlls/d3drm/tests d3drm_test
16922 wine_fn_config_dll d3dx10_33 enable_d3dx10_33
16923 wine_fn_config_dll d3dx10_34 enable_d3dx10_34
16924 wine_fn_config_dll d3dx10_35 enable_d3dx10_35
16925 wine_fn_config_dll d3dx10_36 enable_d3dx10_36
16926 wine_fn_config_dll d3dx10_37 enable_d3dx10_37
16927 wine_fn_config_dll d3dx10_38 enable_d3dx10_38
16928 wine_fn_config_dll d3dx10_39 enable_d3dx10_39
16929 wine_fn_config_dll d3dx10_40 enable_d3dx10_40
16930 wine_fn_config_dll d3dx10_41 enable_d3dx10_41
16931 wine_fn_config_dll d3dx10_42 enable_d3dx10_42
16932 wine_fn_config_dll d3dx10_43 enable_d3dx10_43
16933 wine_fn_config_dll d3dx11_42 enable_d3dx11_42
16934 wine_fn_config_dll d3dx11_43 enable_d3dx11_43
16935 wine_fn_config_dll d3dx9_24 enable_d3dx9_24
16936 wine_fn_config_dll d3dx9_25 enable_d3dx9_25
16937 wine_fn_config_dll d3dx9_26 enable_d3dx9_26
16938 wine_fn_config_dll d3dx9_27 enable_d3dx9_27
16939 wine_fn_config_dll d3dx9_28 enable_d3dx9_28
16940 wine_fn_config_dll d3dx9_29 enable_d3dx9_29
16941 wine_fn_config_dll d3dx9_30 enable_d3dx9_30
16942 wine_fn_config_dll d3dx9_31 enable_d3dx9_31
16943 wine_fn_config_dll d3dx9_32 enable_d3dx9_32
16944 wine_fn_config_dll d3dx9_33 enable_d3dx9_33
16945 wine_fn_config_dll d3dx9_34 enable_d3dx9_34
16946 wine_fn_config_dll d3dx9_35 enable_d3dx9_35
16947 wine_fn_config_dll d3dx9_36 enable_d3dx9_36 implib d3dx9
16948 wine_fn_config_test dlls/d3dx9_36/tests d3dx9_36_test
16949 wine_fn_config_dll d3dx9_37 enable_d3dx9_37
16950 wine_fn_config_dll d3dx9_38 enable_d3dx9_38
16951 wine_fn_config_dll d3dx9_39 enable_d3dx9_39
16952 wine_fn_config_dll d3dx9_40 enable_d3dx9_40
16953 wine_fn_config_dll d3dx9_41 enable_d3dx9_41
16954 wine_fn_config_dll d3dx9_42 enable_d3dx9_42
16955 wine_fn_config_dll d3dx9_43 enable_d3dx9_43
16956 wine_fn_config_dll d3dxof enable_d3dxof clean,implib
16957 wine_fn_config_test dlls/d3dxof/tests d3dxof_test
16958 wine_fn_config_dll dbgeng enable_dbgeng implib
16959 wine_fn_config_dll dbghelp enable_dbghelp implib
16960 wine_fn_config_dll dciman32 enable_dciman32 implib
16961 wine_fn_config_dll ddeml.dll16 enable_win16
16962 wine_fn_config_dll ddraw enable_ddraw clean,implib
16963 wine_fn_config_test dlls/ddraw/tests ddraw_test
16964 wine_fn_config_dll ddrawex enable_ddrawex clean
16965 wine_fn_config_test dlls/ddrawex/tests ddrawex_test
16966 wine_fn_config_dll devenum enable_devenum clean,po
16967 wine_fn_config_test dlls/devenum/tests devenum_test
16968 wine_fn_config_dll dhcpcsvc enable_dhcpcsvc
16969 wine_fn_config_dll difxapi enable_difxapi
16970 wine_fn_config_dll dinput enable_dinput clean,implib,po,staticimplib
16971 wine_fn_config_test dlls/dinput/tests dinput_test
16972 wine_fn_config_dll dinput8 enable_dinput8 clean,implib
16973 wine_fn_config_test dlls/dinput8/tests dinput8_test
16974 wine_fn_config_dll dispdib.dll16 enable_win16
16975 wine_fn_config_dll dispex enable_dispex clean
16976 wine_fn_config_test dlls/dispex/tests dispex_test
16977 wine_fn_config_dll display.drv16 enable_win16
16978 wine_fn_config_dll dmband enable_dmband clean
16979 wine_fn_config_test dlls/dmband/tests dmband_test
16980 wine_fn_config_dll dmcompos enable_dmcompos clean
16981 wine_fn_config_test dlls/dmcompos/tests dmcompos_test
16982 wine_fn_config_dll dmime enable_dmime clean
16983 wine_fn_config_test dlls/dmime/tests dmime_test
16984 wine_fn_config_dll dmloader enable_dmloader clean
16985 wine_fn_config_test dlls/dmloader/tests dmloader_test
16986 wine_fn_config_dll dmscript enable_dmscript clean
16987 wine_fn_config_test dlls/dmscript/tests dmscript_test
16988 wine_fn_config_dll dmstyle enable_dmstyle clean
16989 wine_fn_config_test dlls/dmstyle/tests dmstyle_test
16990 wine_fn_config_dll dmsynth enable_dmsynth clean
16991 wine_fn_config_test dlls/dmsynth/tests dmsynth_test
16992 wine_fn_config_dll dmusic enable_dmusic clean
16993 wine_fn_config_test dlls/dmusic/tests dmusic_test
16994 wine_fn_config_dll dmusic32 enable_dmusic32 implib
16995 wine_fn_config_dll dnsapi enable_dnsapi implib
16996 wine_fn_config_test dlls/dnsapi/tests dnsapi_test
16997 wine_fn_config_dll dplay enable_dplay implib
16998 wine_fn_config_dll dplayx enable_dplayx clean,implib
16999 wine_fn_config_test dlls/dplayx/tests dplayx_test
17000 wine_fn_config_dll dpnaddr enable_dpnaddr
17001 wine_fn_config_dll dpnet enable_dpnet clean,implib
17002 wine_fn_config_test dlls/dpnet/tests dpnet_test
17003 wine_fn_config_dll dpnhpast enable_dpnhpast
17004 wine_fn_config_dll dpnlobby enable_dpnlobby
17005 wine_fn_config_dll dpvoice enable_dpvoice clean
17006 wine_fn_config_test dlls/dpvoice/tests dpvoice_test
17007 wine_fn_config_dll dpwsockx enable_dpwsockx
17008 wine_fn_config_dll drmclien enable_drmclien
17009 wine_fn_config_dll dsound enable_dsound clean,implib
17010 wine_fn_config_test dlls/dsound/tests dsound_test
17011 wine_fn_config_dll dssenh enable_dssenh
17012 wine_fn_config_test dlls/dssenh/tests dssenh_test
17013 wine_fn_config_dll dswave enable_dswave clean
17014 wine_fn_config_test dlls/dswave/tests dswave_test
17015 wine_fn_config_dll dwmapi enable_dwmapi implib
17016 wine_fn_config_dll dwrite enable_dwrite implib
17017 wine_fn_config_test dlls/dwrite/tests dwrite_test
17018 wine_fn_config_dll dxdiagn enable_dxdiagn clean,po
17019 wine_fn_config_test dlls/dxdiagn/tests dxdiagn_test
17020 wine_fn_config_lib dxerr8
17021 wine_fn_config_lib dxerr9
17022 wine_fn_config_dll dxgi enable_dxgi implib
17023 wine_fn_config_test dlls/dxgi/tests dxgi_test
17024 wine_fn_config_lib dxguid
17025 wine_fn_config_dll dxva2 enable_dxva2
17026 wine_fn_config_dll explorerframe enable_explorerframe clean
17027 wine_fn_config_test dlls/explorerframe/tests explorerframe_test
17028 wine_fn_config_dll ext-ms-win-gdi-devcaps-l1-1-0 enable_ext_ms_win_gdi_devcaps_l1_1_0
17029 wine_fn_config_dll faultrep enable_faultrep implib
17030 wine_fn_config_test dlls/faultrep/tests faultrep_test
17031 wine_fn_config_dll fltlib enable_fltlib
17032 wine_fn_config_dll fntcache enable_fntcache
17033 wine_fn_config_dll fontsub enable_fontsub
17034 wine_fn_config_dll fusion enable_fusion
17035 wine_fn_config_test dlls/fusion/tests fusion_test
17036 wine_fn_config_dll fwpuclnt enable_fwpuclnt
17037 wine_fn_config_dll gameux enable_gameux clean
17038 wine_fn_config_test dlls/gameux/tests gameux_test
17039 wine_fn_config_dll gdi.exe16 enable_win16
17040 wine_fn_config_dll gdi32 enable_gdi32 clean,implib,po
17041 wine_fn_config_test dlls/gdi32/tests gdi32_test
17042 wine_fn_config_dll gdiplus enable_gdiplus implib
17043 wine_fn_config_test dlls/gdiplus/tests gdiplus_test
17044 wine_fn_config_dll glu32 enable_glu32 implib
17045 wine_fn_config_dll gphoto2.ds enable_gphoto2_ds po
17046 wine_fn_config_dll gpkcsp enable_gpkcsp
17047 wine_fn_config_dll hal enable_hal
17048 wine_fn_config_dll hhctrl.ocx enable_hhctrl_ocx clean,implib,po htmlhelp
17049 wine_fn_config_dll hid enable_hid implib
17050 wine_fn_config_dll hlink enable_hlink clean,implib
17051 wine_fn_config_test dlls/hlink/tests hlink_test
17052 wine_fn_config_dll hnetcfg enable_hnetcfg clean
17053 wine_fn_config_dll httpapi enable_httpapi
17054 wine_fn_config_dll iccvid enable_iccvid po
17055 wine_fn_config_dll icmp enable_icmp
17056 wine_fn_config_dll ieframe enable_ieframe clean,implib,po
17057 wine_fn_config_test dlls/ieframe/tests ieframe_test
17058 wine_fn_config_dll ifsmgr.vxd enable_win16
17059 wine_fn_config_dll imaadp32.acm enable_imaadp32_acm
17060 wine_fn_config_dll imagehlp enable_imagehlp implib
17061 wine_fn_config_test dlls/imagehlp/tests imagehlp_test
17062 wine_fn_config_dll imm.dll16 enable_win16
17063 wine_fn_config_dll imm32 enable_imm32 implib
17064 wine_fn_config_test dlls/imm32/tests imm32_test
17065 wine_fn_config_dll inetcomm enable_inetcomm clean,implib
17066 wine_fn_config_test dlls/inetcomm/tests inetcomm_test
17067 wine_fn_config_dll inetcpl.cpl enable_inetcpl_cpl po
17068 wine_fn_config_dll inetmib1 enable_inetmib1
17069 wine_fn_config_test dlls/inetmib1/tests inetmib1_test
17070 wine_fn_config_dll infosoft enable_infosoft clean
17071 wine_fn_config_test dlls/infosoft/tests infosoft_test
17072 wine_fn_config_dll initpki enable_initpki
17073 wine_fn_config_dll inkobj enable_inkobj
17074 wine_fn_config_dll inseng enable_inseng clean
17075 wine_fn_config_dll iphlpapi enable_iphlpapi implib
17076 wine_fn_config_test dlls/iphlpapi/tests iphlpapi_test
17077 wine_fn_config_dll itircl enable_itircl
17078 wine_fn_config_dll itss enable_itss clean
17079 wine_fn_config_test dlls/itss/tests itss_test
17080 wine_fn_config_dll joy.cpl enable_joy_cpl po
17081 wine_fn_config_dll jscript enable_jscript clean,po
17082 wine_fn_config_test dlls/jscript/tests jscript_test
17083 wine_fn_config_dll jsproxy enable_jsproxy implib
17084 wine_fn_config_dll kernel32 enable_kernel32 clean,implib,mc
17085 wine_fn_config_test dlls/kernel32/tests kernel32_test
17086 wine_fn_config_dll keyboard.drv16 enable_win16
17087 wine_fn_config_dll krnl386.exe16 enable_win16 implib kernel
17088 wine_fn_config_dll ksuser enable_ksuser
17089 wine_fn_config_dll ktmw32 enable_ktmw32
17090 wine_fn_config_dll loadperf enable_loadperf implib
17091 wine_fn_config_dll localspl enable_localspl po
17092 wine_fn_config_test dlls/localspl/tests localspl_test
17093 wine_fn_config_dll localui enable_localui po
17094 wine_fn_config_test dlls/localui/tests localui_test
17095 wine_fn_config_dll lz32 enable_lz32 implib
17096 wine_fn_config_test dlls/lz32/tests lz32_test
17097 wine_fn_config_dll lzexpand.dll16 enable_win16
17098 wine_fn_config_dll mapi32 enable_mapi32 implib,po
17099 wine_fn_config_test dlls/mapi32/tests mapi32_test
17100 wine_fn_config_dll mapistub enable_mapistub
17101 wine_fn_config_dll mciavi32 enable_mciavi32
17102 wine_fn_config_dll mcicda enable_mcicda
17103 wine_fn_config_dll mciqtz32 enable_mciqtz32
17104 wine_fn_config_dll mciseq enable_mciseq
17105 wine_fn_config_dll mciwave enable_mciwave
17106 wine_fn_config_dll mgmtapi enable_mgmtapi
17107 wine_fn_config_dll midimap enable_midimap
17108 wine_fn_config_dll mlang enable_mlang clean,implib
17109 wine_fn_config_test dlls/mlang/tests mlang_test
17110 wine_fn_config_dll mmcndmgr enable_mmcndmgr clean
17111 wine_fn_config_test dlls/mmcndmgr/tests mmcndmgr_test
17112 wine_fn_config_dll mmdevapi enable_mmdevapi clean
17113 wine_fn_config_test dlls/mmdevapi/tests mmdevapi_test
17114 wine_fn_config_dll mmdevldr.vxd enable_win16
17115 wine_fn_config_dll mmsystem.dll16 enable_win16
17116 wine_fn_config_dll monodebg.vxd enable_win16
17117 wine_fn_config_dll mountmgr.sys enable_mountmgr_sys
17118 wine_fn_config_dll mouse.drv16 enable_win16
17119 wine_fn_config_dll mpr enable_mpr implib,po
17120 wine_fn_config_test dlls/mpr/tests mpr_test
17121 wine_fn_config_dll mprapi enable_mprapi implib
17122 wine_fn_config_dll msacm.dll16 enable_win16
17123 wine_fn_config_dll msacm32.drv enable_msacm32_drv
17124 wine_fn_config_dll msacm32 enable_msacm32 implib,po
17125 wine_fn_config_test dlls/msacm32/tests msacm32_test
17126 wine_fn_config_dll msadp32.acm enable_msadp32_acm
17127 wine_fn_config_dll msasn1 enable_msasn1 implib
17128 wine_fn_config_dll mscat32 enable_mscat32
17129 wine_fn_config_dll mscms enable_mscms implib
17130 wine_fn_config_test dlls/mscms/tests mscms_test
17131 wine_fn_config_dll mscoree enable_mscoree clean
17132 wine_fn_config_test dlls/mscoree/tests mscoree_test
17133 wine_fn_config_dll msctf enable_msctf clean
17134 wine_fn_config_test dlls/msctf/tests msctf_test
17135 wine_fn_config_dll msdaps enable_msdaps clean
17136 wine_fn_config_dll msdmo enable_msdmo implib
17137 wine_fn_config_dll msftedit enable_msftedit
17138 wine_fn_config_dll msg711.acm enable_msg711_acm
17139 wine_fn_config_dll msgsm32.acm enable_msgsm32_acm
17140 wine_fn_config_dll mshtml.tlb enable_mshtml_tlb clean
17141 wine_fn_config_dll mshtml enable_mshtml clean,implib,po
17142 wine_fn_config_test dlls/mshtml/tests mshtml_test clean
17143 wine_fn_config_dll msi enable_msi clean,implib,po
17144 wine_fn_config_test dlls/msi/tests msi_test
17145 wine_fn_config_dll msident enable_msident clean
17146 wine_fn_config_dll msimg32 enable_msimg32 implib
17147 wine_fn_config_dll msimsg enable_msimsg
17148 wine_fn_config_dll msimtf enable_msimtf clean
17149 wine_fn_config_dll msisip enable_msisip
17150 wine_fn_config_dll msisys.ocx enable_msisys_ocx
17151 wine_fn_config_dll msls31 enable_msls31
17152 wine_fn_config_dll msnet32 enable_msnet32
17153 wine_fn_config_dll mspatcha enable_mspatcha
17154 wine_fn_config_dll msrle32 enable_msrle32 po
17155 wine_fn_config_test dlls/msrle32/tests msrle32_test
17156 wine_fn_config_dll mssign32 enable_mssign32
17157 wine_fn_config_dll mssip32 enable_mssip32
17158 wine_fn_config_dll mstask enable_mstask clean
17159 wine_fn_config_test dlls/mstask/tests mstask_test
17160 wine_fn_config_dll msvcirt enable_msvcirt
17161 wine_fn_config_dll msvcm80 enable_msvcm80
17162 wine_fn_config_dll msvcm90 enable_msvcm90
17163 wine_fn_config_dll msvcp100 enable_msvcp100
17164 wine_fn_config_test dlls/msvcp100/tests msvcp100_test
17165 wine_fn_config_dll msvcp110 enable_msvcp110
17166 wine_fn_config_dll msvcp120 enable_msvcp120
17167 wine_fn_config_dll msvcp60 enable_msvcp60
17168 wine_fn_config_test dlls/msvcp60/tests msvcp60_test
17169 wine_fn_config_dll msvcp70 enable_msvcp70
17170 wine_fn_config_dll msvcp71 enable_msvcp71
17171 wine_fn_config_dll msvcp80 enable_msvcp80
17172 wine_fn_config_dll msvcp90 enable_msvcp90
17173 wine_fn_config_test dlls/msvcp90/tests msvcp90_test
17174 wine_fn_config_dll msvcr100 enable_msvcr100 implib
17175 wine_fn_config_test dlls/msvcr100/tests msvcr100_test
17176 wine_fn_config_dll msvcr110 enable_msvcr110 implib
17177 wine_fn_config_dll msvcr120 enable_msvcr120 implib
17178 wine_fn_config_test dlls/msvcr120/tests msvcr120_test
17179 wine_fn_config_dll msvcr70 enable_msvcr70 implib
17180 wine_fn_config_dll msvcr71 enable_msvcr71 implib
17181 wine_fn_config_dll msvcr80 enable_msvcr80 implib
17182 wine_fn_config_dll msvcr90 enable_msvcr90 implib
17183 wine_fn_config_test dlls/msvcr90/tests msvcr90_test
17184 wine_fn_config_dll msvcrt enable_msvcrt implib
17185 wine_fn_config_test dlls/msvcrt/tests msvcrt_test
17186 wine_fn_config_dll msvcrt20 enable_msvcrt20 implib
17187 wine_fn_config_dll msvcrt40 enable_msvcrt40 implib
17188 wine_fn_config_dll msvcrtd enable_msvcrtd implib
17189 wine_fn_config_test dlls/msvcrtd/tests msvcrtd_test
17190 wine_fn_config_dll msvfw32 enable_msvfw32 implib,po
17191 wine_fn_config_test dlls/msvfw32/tests msvfw32_test
17192 wine_fn_config_dll msvidc32 enable_msvidc32 po
17193 wine_fn_config_dll msvideo.dll16 enable_win16
17194 wine_fn_config_dll mswsock enable_mswsock implib
17195 wine_fn_config_dll msxml enable_msxml clean
17196 wine_fn_config_dll msxml2 enable_msxml2 clean
17197 wine_fn_config_dll msxml3 enable_msxml3 clean
17198 wine_fn_config_test dlls/msxml3/tests msxml3_test clean
17199 wine_fn_config_dll msxml4 enable_msxml4 clean
17200 wine_fn_config_dll msxml6 enable_msxml6 clean
17201 wine_fn_config_dll nddeapi enable_nddeapi implib
17202 wine_fn_config_dll ndis.sys enable_ndis_sys
17203 wine_fn_config_dll netapi32 enable_netapi32 implib
17204 wine_fn_config_test dlls/netapi32/tests netapi32_test
17205 wine_fn_config_dll netcfgx enable_netcfgx clean
17206 wine_fn_config_test dlls/netcfgx/tests netcfgx_test
17207 wine_fn_config_dll netprofm enable_netprofm clean
17208 wine_fn_config_test dlls/netprofm/tests netprofm_test
17209 wine_fn_config_dll newdev enable_newdev implib
17210 wine_fn_config_dll normaliz enable_normaliz implib
17211 wine_fn_config_dll npmshtml enable_npmshtml
17212 wine_fn_config_dll npptools enable_npptools
17213 wine_fn_config_dll ntdll enable_ntdll implib
17214 wine_fn_config_test dlls/ntdll/tests ntdll_test
17215 wine_fn_config_dll ntdsapi enable_ntdsapi implib
17216 wine_fn_config_test dlls/ntdsapi/tests ntdsapi_test
17217 wine_fn_config_dll ntoskrnl.exe enable_ntoskrnl_exe implib
17218 wine_fn_config_dll ntprint enable_ntprint
17219 wine_fn_config_test dlls/ntprint/tests ntprint_test
17220 wine_fn_config_dll objsel enable_objsel clean
17221 wine_fn_config_dll odbc32 enable_odbc32 implib
17222 wine_fn_config_dll odbccp32 enable_odbccp32 implib
17223 wine_fn_config_test dlls/odbccp32/tests odbccp32_test
17224 wine_fn_config_dll odbccu32 enable_odbccu32
17225 wine_fn_config_dll ole2.dll16 enable_win16
17226 wine_fn_config_dll ole2conv.dll16 enable_win16
17227 wine_fn_config_dll ole2disp.dll16 enable_win16
17228 wine_fn_config_dll ole2nls.dll16 enable_win16
17229 wine_fn_config_dll ole2prox.dll16 enable_win16
17230 wine_fn_config_dll ole2thk.dll16 enable_win16
17231 wine_fn_config_dll ole32 enable_ole32 clean,implib
17232 wine_fn_config_test dlls/ole32/tests ole32_test
17233 wine_fn_config_dll oleacc enable_oleacc clean,implib,po
17234 wine_fn_config_test dlls/oleacc/tests oleacc_test
17235 wine_fn_config_dll oleaut32 enable_oleaut32 clean,implib,po
17236 wine_fn_config_test dlls/oleaut32/tests oleaut32_test clean
17237 wine_fn_config_dll olecli.dll16 enable_win16
17238 wine_fn_config_dll olecli32 enable_olecli32 implib
17239 wine_fn_config_dll oledb32 enable_oledb32 clean
17240 wine_fn_config_test dlls/oledb32/tests oledb32_test clean
17241 wine_fn_config_dll oledlg enable_oledlg implib,po
17242 wine_fn_config_dll olepro32 enable_olepro32 implib
17243 wine_fn_config_dll olesvr.dll16 enable_win16
17244 wine_fn_config_dll olesvr32 enable_olesvr32 implib
17245 wine_fn_config_dll olethk32 enable_olethk32
17246 wine_fn_config_dll openal32 enable_openal32
17247 wine_fn_config_dll opencl enable_opencl
17248 wine_fn_config_dll opengl32 enable_opengl32 implib
17249 wine_fn_config_test dlls/opengl32/tests opengl32_test
17250 wine_fn_config_dll packager enable_packager clean
17251 wine_fn_config_test dlls/packager/tests packager_test
17252 wine_fn_config_dll pdh enable_pdh implib
17253 wine_fn_config_test dlls/pdh/tests pdh_test
17254 wine_fn_config_dll photometadatahandler enable_photometadatahandler
17255 wine_fn_config_dll pidgen enable_pidgen
17256 wine_fn_config_dll powrprof enable_powrprof implib
17257 wine_fn_config_dll printui enable_printui
17258 wine_fn_config_dll prntvpt enable_prntvpt
17259 wine_fn_config_dll propsys enable_propsys clean,implib
17260 wine_fn_config_test dlls/propsys/tests propsys_test
17261 wine_fn_config_dll psapi enable_psapi implib
17262 wine_fn_config_test dlls/psapi/tests psapi_test
17263 wine_fn_config_dll pstorec enable_pstorec clean
17264 wine_fn_config_dll qcap enable_qcap
17265 wine_fn_config_test dlls/qcap/tests qcap_test
17266 wine_fn_config_dll qedit enable_qedit clean
17267 wine_fn_config_test dlls/qedit/tests qedit_test
17268 wine_fn_config_dll qmgr enable_qmgr clean
17269 wine_fn_config_test dlls/qmgr/tests qmgr_test
17270 wine_fn_config_dll qmgrprxy enable_qmgrprxy clean
17271 wine_fn_config_dll quartz enable_quartz clean,implib
17272 wine_fn_config_test dlls/quartz/tests quartz_test clean
17273 wine_fn_config_dll query enable_query
17274 wine_fn_config_dll rasapi16.dll16 enable_win16
17275 wine_fn_config_dll rasapi32 enable_rasapi32 implib
17276 wine_fn_config_test dlls/rasapi32/tests rasapi32_test
17277 wine_fn_config_dll rasdlg enable_rasdlg implib
17278 wine_fn_config_dll regapi enable_regapi
17279 wine_fn_config_dll resutils enable_resutils implib
17280 wine_fn_config_dll riched20 enable_riched20 implib
17281 wine_fn_config_test dlls/riched20/tests riched20_test
17282 wine_fn_config_dll riched32 enable_riched32
17283 wine_fn_config_test dlls/riched32/tests riched32_test
17284 wine_fn_config_dll rpcrt4 enable_rpcrt4 clean,implib
17285 wine_fn_config_test dlls/rpcrt4/tests rpcrt4_test clean
17286 wine_fn_config_dll rsabase enable_rsabase
17287 wine_fn_config_dll rsaenh enable_rsaenh implib
17288 wine_fn_config_test dlls/rsaenh/tests rsaenh_test
17289 wine_fn_config_dll rstrtmgr enable_rstrtmgr
17290 wine_fn_config_dll rtutils enable_rtutils implib
17291 wine_fn_config_dll samlib enable_samlib
17292 wine_fn_config_dll sane.ds enable_sane_ds po
17293 wine_fn_config_dll scarddlg enable_scarddlg
17294 wine_fn_config_dll sccbase enable_sccbase
17295 wine_fn_config_dll schannel enable_schannel
17296 wine_fn_config_test dlls/schannel/tests schannel_test
17297 wine_fn_config_dll schedsvc enable_schedsvc clean
17298 wine_fn_config_test dlls/schedsvc/tests schedsvc_test clean
17299 wine_fn_config_dll scrrun enable_scrrun clean
17300 wine_fn_config_test dlls/scrrun/tests scrrun_test clean
17301 wine_fn_config_dll scsiport.sys enable_scsiport_sys
17302 wine_fn_config_dll secur32 enable_secur32 implib
17303 wine_fn_config_test dlls/secur32/tests secur32_test
17304 wine_fn_config_dll security enable_security
17305 wine_fn_config_dll sensapi enable_sensapi implib
17306 wine_fn_config_dll serialui enable_serialui implib,po
17307 wine_fn_config_test dlls/serialui/tests serialui_test
17308 wine_fn_config_dll setupapi enable_setupapi implib,po
17309 wine_fn_config_test dlls/setupapi/tests setupapi_test
17310 wine_fn_config_dll setupx.dll16 enable_win16
17311 wine_fn_config_dll sfc enable_sfc implib
17312 wine_fn_config_dll sfc_os enable_sfc_os implib
17313 wine_fn_config_dll shdoclc enable_shdoclc po
17314 wine_fn_config_dll shdocvw enable_shdocvw clean,implib
17315 wine_fn_config_test dlls/shdocvw/tests shdocvw_test
17316 wine_fn_config_dll shell.dll16 enable_win16
17317 wine_fn_config_dll shell32 enable_shell32 clean,implib,po
17318 wine_fn_config_test dlls/shell32/tests shell32_test
17319 wine_fn_config_dll shfolder enable_shfolder implib
17320 wine_fn_config_dll shlwapi enable_shlwapi implib,po
17321 wine_fn_config_test dlls/shlwapi/tests shlwapi_test
17322 wine_fn_config_dll slbcsp enable_slbcsp
17323 wine_fn_config_dll slc enable_slc implib
17324 wine_fn_config_dll snmpapi enable_snmpapi implib
17325 wine_fn_config_test dlls/snmpapi/tests snmpapi_test
17326 wine_fn_config_dll softpub enable_softpub
17327 wine_fn_config_dll sound.drv16 enable_win16
17328 wine_fn_config_dll spoolss enable_spoolss implib
17329 wine_fn_config_test dlls/spoolss/tests spoolss_test
17330 wine_fn_config_dll stdole2.tlb enable_stdole2_tlb clean
17331 wine_fn_config_dll stdole32.tlb enable_stdole32_tlb clean
17332 wine_fn_config_dll sti enable_sti clean,implib
17333 wine_fn_config_test dlls/sti/tests sti_test
17334 wine_fn_config_dll storage.dll16 enable_win16
17335 wine_fn_config_dll stress.dll16 enable_win16
17336 wine_fn_config_lib strmbase
17337 wine_fn_config_lib strmiids
17338 wine_fn_config_dll svrapi enable_svrapi
17339 wine_fn_config_dll sxs enable_sxs implib
17340 wine_fn_config_test dlls/sxs/tests sxs_test
17341 wine_fn_config_dll system.drv16 enable_win16
17342 wine_fn_config_dll t2embed enable_t2embed
17343 wine_fn_config_dll tapi32 enable_tapi32 implib
17344 wine_fn_config_dll taskschd enable_taskschd clean
17345 wine_fn_config_test dlls/taskschd/tests taskschd_test
17346 wine_fn_config_dll toolhelp.dll16 enable_win16
17347 wine_fn_config_dll traffic enable_traffic
17348 wine_fn_config_dll twain.dll16 enable_win16
17349 wine_fn_config_dll twain_32 enable_twain_32
17350 wine_fn_config_test dlls/twain_32/tests twain_32_test
17351 wine_fn_config_dll typelib.dll16 enable_win16
17352 wine_fn_config_dll unicows enable_unicows implib
17353 wine_fn_config_dll updspapi enable_updspapi
17354 wine_fn_config_dll url enable_url implib
17355 wine_fn_config_dll urlmon enable_urlmon clean,implib,po
17356 wine_fn_config_test dlls/urlmon/tests urlmon_test
17357 wine_fn_config_dll usbd.sys enable_usbd_sys implib
17358 wine_fn_config_dll user.exe16 enable_win16
17359 wine_fn_config_dll user32 enable_user32 clean,implib,po
17360 wine_fn_config_test dlls/user32/tests user32_test
17361 wine_fn_config_dll userenv enable_userenv implib
17362 wine_fn_config_test dlls/userenv/tests userenv_test
17363 wine_fn_config_dll usp10 enable_usp10 implib
17364 wine_fn_config_test dlls/usp10/tests usp10_test
17365 wine_fn_config_lib uuid
17366 wine_fn_config_dll uxtheme enable_uxtheme implib
17367 wine_fn_config_test dlls/uxtheme/tests uxtheme_test
17368 wine_fn_config_dll vbscript enable_vbscript clean
17369 wine_fn_config_test dlls/vbscript/tests vbscript_test clean
17370 wine_fn_config_dll vcomp enable_vcomp
17371 wine_fn_config_dll vcomp100 enable_vcomp100
17372 wine_fn_config_dll vcomp90 enable_vcomp90
17373 wine_fn_config_dll vdhcp.vxd enable_win16
17374 wine_fn_config_dll vdmdbg enable_vdmdbg implib
17375 wine_fn_config_dll ver.dll16 enable_win16
17376 wine_fn_config_dll version enable_version implib
17377 wine_fn_config_test dlls/version/tests version_test
17378 wine_fn_config_dll vmm.vxd enable_win16
17379 wine_fn_config_dll vnbt.vxd enable_win16
17380 wine_fn_config_dll vnetbios.vxd enable_win16
17381 wine_fn_config_dll vssapi enable_vssapi
17382 wine_fn_config_dll vtdapi.vxd enable_win16
17383 wine_fn_config_dll vwin32.vxd enable_win16
17384 wine_fn_config_dll w32skrnl enable_win16
17385 wine_fn_config_dll w32sys.dll16 enable_win16
17386 wine_fn_config_dll wbemdisp enable_wbemdisp clean
17387 wine_fn_config_dll wbemprox enable_wbemprox clean
17388 wine_fn_config_test dlls/wbemprox/tests wbemprox_test
17389 wine_fn_config_dll webservices enable_webservices implib
17390 wine_fn_config_dll wer enable_wer implib
17391 wine_fn_config_test dlls/wer/tests wer_test
17392 wine_fn_config_dll wevtapi enable_wevtapi
17393 wine_fn_config_dll wiaservc enable_wiaservc clean
17394 wine_fn_config_dll win32s16.dll16 enable_win16
17395 wine_fn_config_dll win87em.dll16 enable_win16
17396 wine_fn_config_dll winaspi.dll16 enable_win16
17397 wine_fn_config_dll windebug.dll16 enable_win16
17398 wine_fn_config_dll windowscodecs enable_windowscodecs clean,implib
17399 wine_fn_config_test dlls/windowscodecs/tests windowscodecs_test
17400 wine_fn_config_dll windowscodecsext enable_windowscodecsext implib
17401 wine_fn_config_test dlls/windowscodecsext/tests windowscodecsext_test
17402 wine_fn_config_dll winealsa.drv enable_winealsa_drv
17403 wine_fn_config_dll winecoreaudio.drv enable_winecoreaudio_drv
17404 wine_fn_config_lib winecrt0
17405 wine_fn_config_dll wined3d enable_wined3d implib
17406 wine_fn_config_dll winegstreamer enable_winegstreamer
17407 wine_fn_config_dll winejoystick.drv enable_winejoystick_drv
17408 wine_fn_config_dll winemac.drv enable_winemac_drv
17409 wine_fn_config_dll winemapi enable_winemapi
17410 wine_fn_config_dll winemp3.acm enable_winemp3_acm
17411 wine_fn_config_dll wineoss.drv enable_wineoss_drv
17412 wine_fn_config_dll wineps.drv enable_wineps_drv clean,po
17413 wine_fn_config_dll wineps16.drv16 enable_win16
17414 wine_fn_config_dll wineqtdecoder enable_wineqtdecoder
17415 wine_fn_config_dll winex11.drv enable_winex11_drv
17416 wine_fn_config_dll wing.dll16 enable_win16
17417 wine_fn_config_dll wing32 enable_wing32
17418 wine_fn_config_dll winhttp enable_winhttp clean,implib
17419 wine_fn_config_test dlls/winhttp/tests winhttp_test
17420 wine_fn_config_dll wininet enable_wininet implib,po
17421 wine_fn_config_test dlls/wininet/tests wininet_test
17422 wine_fn_config_dll winmm enable_winmm implib,po
17423 wine_fn_config_test dlls/winmm/tests winmm_test
17424 wine_fn_config_dll winnls.dll16 enable_win16
17425 wine_fn_config_dll winnls32 enable_winnls32 implib
17426 wine_fn_config_dll winscard enable_winscard implib
17427 wine_fn_config_dll winsock.dll16 enable_win16
17428 wine_fn_config_dll winspool.drv enable_winspool_drv implib,po winspool
17429 wine_fn_config_test dlls/winspool.drv/tests winspool.drv_test
17430 wine_fn_config_dll winsta enable_winsta
17431 wine_fn_config_dll wintab.dll16 enable_win16
17432 wine_fn_config_dll wintab32 enable_wintab32 implib
17433 wine_fn_config_test dlls/wintab32/tests wintab32_test
17434 wine_fn_config_dll wintrust enable_wintrust implib
17435 wine_fn_config_test dlls/wintrust/tests wintrust_test
17436 wine_fn_config_dll wlanapi enable_wlanapi
17437 wine_fn_config_dll wldap32 enable_wldap32 implib,po
17438 wine_fn_config_test dlls/wldap32/tests wldap32_test
17439 wine_fn_config_dll wmi enable_wmi
17440 wine_fn_config_dll wmiutils enable_wmiutils clean
17441 wine_fn_config_test dlls/wmiutils/tests wmiutils_test
17442 wine_fn_config_dll wmp enable_wmp clean
17443 wine_fn_config_test dlls/wmp/tests wmp_test
17444 wine_fn_config_dll wmvcore enable_wmvcore
17445 wine_fn_config_dll wnaspi32 enable_wnaspi32 implib
17446 wine_fn_config_dll wow32 enable_win16 implib
17447 wine_fn_config_dll wpcap enable_wpcap
17448 wine_fn_config_dll ws2_32 enable_ws2_32 implib
17449 wine_fn_config_test dlls/ws2_32/tests ws2_32_test
17450 wine_fn_config_dll wshom.ocx enable_wshom_ocx clean
17451 wine_fn_config_test dlls/wshom.ocx/tests wshom.ocx_test clean
17452 wine_fn_config_dll wsnmp32 enable_wsnmp32 implib
17453 wine_fn_config_test dlls/wsnmp32/tests wsnmp32_test
17454 wine_fn_config_dll wsock32 enable_wsock32 implib
17455 wine_fn_config_dll wtsapi32 enable_wtsapi32 implib
17456 wine_fn_config_test dlls/wtsapi32/tests wtsapi32_test
17457 wine_fn_config_dll wuapi enable_wuapi clean
17458 wine_fn_config_dll wuaueng enable_wuaueng
17459 wine_fn_config_dll xapofx1_1 enable_xapofx1_1
17460 wine_fn_config_dll xinput1_1 enable_xinput1_1
17461 wine_fn_config_dll xinput1_2 enable_xinput1_2
17462 wine_fn_config_dll xinput1_3 enable_xinput1_3 implib xinput
17463 wine_fn_config_test dlls/xinput1_3/tests xinput1_3_test
17464 wine_fn_config_dll xinput1_4 enable_xinput1_4
17465 wine_fn_config_dll xinput9_1_0 enable_xinput9_1_0
17466 wine_fn_config_dll xmllite enable_xmllite implib
17467 wine_fn_config_test dlls/xmllite/tests xmllite_test
17468 wine_fn_config_dll xolehlp enable_xolehlp
17469 wine_fn_config_dll xpsprint enable_xpsprint
17470 wine_fn_config_dll xpssvcs enable_xpssvcs
17471 wine_fn_config_makefile documentation enable_documentation clean
17472 wine_fn_config_makefile fonts enable_fonts clean,install-lib
17473 wine_fn_config_makefile include enable_include clean,install-dev
17474 wine_fn_config_makefile libs/port enable_libs_port
17475 wine_fn_config_makefile libs/wine enable_libs_wine clean,install-dev,install-lib
17476 wine_fn_config_makefile libs/wpp enable_libs_wpp
17477 wine_fn_config_makefile loader enable_loader clean,install-lib,manpage
17478 wine_fn_config_program arp enable_arp install
17479 wine_fn_config_program aspnet_regiis enable_aspnet_regiis install
17480 wine_fn_config_program attrib enable_attrib install,po
17481 wine_fn_config_program cabarc enable_cabarc install
17482 wine_fn_config_program cacls enable_cacls install
17483 wine_fn_config_program clock enable_clock install,po
17484 wine_fn_config_program cmd enable_cmd install,po
17485 wine_fn_config_test programs/cmd/tests cmd.exe_test
17486 wine_fn_config_program conhost enable_conhost install
17487 wine_fn_config_program control enable_control install
17488 wine_fn_config_program cscript enable_cscript clean,install
17489 wine_fn_config_program dpnsvr enable_dpnsvr install
17490 wine_fn_config_program dxdiag enable_dxdiag install,po
17491 wine_fn_config_program eject enable_eject install
17492 wine_fn_config_program expand enable_expand install
17493 wine_fn_config_program explorer enable_explorer install,po
17494 wine_fn_config_program extrac32 enable_extrac32 install
17495 wine_fn_config_program findstr enable_findstr install
17496 wine_fn_config_program hh enable_hh install
17497 wine_fn_config_program hostname enable_hostname install,po
17498 wine_fn_config_program icinfo enable_icinfo install
17499 wine_fn_config_program iexplore enable_iexplore install
17500 wine_fn_config_program ipconfig enable_ipconfig install,po
17501 wine_fn_config_program lodctr enable_lodctr install
17502 wine_fn_config_program mofcomp enable_mofcomp install
17503 wine_fn_config_program mshta enable_mshta install
17504 wine_fn_config_program msiexec enable_msiexec install,installbin,manpage
17505 wine_fn_config_program net enable_net install,po
17506 wine_fn_config_program netsh enable_netsh install
17507 wine_fn_config_program netstat enable_netstat install,po
17508 wine_fn_config_program ngen enable_ngen install
17509 wine_fn_config_program notepad enable_notepad install,installbin,manpage,po
17510 wine_fn_config_program oleview enable_oleview install,po
17511 wine_fn_config_program ping enable_ping install
17512 wine_fn_config_program plugplay enable_plugplay install
17513 wine_fn_config_program presentationfontcache enable_presentationfontcache install
17514 wine_fn_config_program progman enable_progman install,po
17515 wine_fn_config_program reg enable_reg install,po
17516 wine_fn_config_test programs/reg/tests reg.exe_test
17517 wine_fn_config_program regasm enable_regasm install
17518 wine_fn_config_program regedit enable_regedit install,installbin,manpage,po
17519 wine_fn_config_test programs/regedit/tests regedit.exe_test
17520 wine_fn_config_program regsvcs enable_regsvcs install
17521 wine_fn_config_program regsvr32 enable_regsvr32 install,installbin,manpage,po
17522 wine_fn_config_program rpcss enable_rpcss clean,install
17523 wine_fn_config_program rundll.exe16 enable_win16 install
17524 wine_fn_config_program rundll32 enable_rundll32 install
17525 wine_fn_config_program sc enable_sc install
17526 wine_fn_config_program schtasks enable_schtasks install
17527 wine_fn_config_program sdbinst enable_sdbinst install
17528 wine_fn_config_program secedit enable_secedit install
17529 wine_fn_config_program servicemodelreg enable_servicemodelreg install
17530 wine_fn_config_program services enable_services clean,install
17531 wine_fn_config_test programs/services/tests services.exe_test
17532 wine_fn_config_program spoolsv enable_spoolsv install
17533 wine_fn_config_program start enable_start install,po
17534 wine_fn_config_program svchost enable_svchost install
17535 wine_fn_config_program systeminfo enable_systeminfo install
17536 wine_fn_config_program taskkill enable_taskkill install,po
17537 wine_fn_config_program tasklist enable_tasklist install
17538 wine_fn_config_program taskmgr enable_taskmgr install,po
17539 wine_fn_config_program termsv enable_termsv install
17540 wine_fn_config_program uninstaller enable_uninstaller install,po
17541 wine_fn_config_program unlodctr enable_unlodctr install
17542 wine_fn_config_program view enable_view install,po
17543 wine_fn_config_program wevtutil enable_wevtutil install
17544 wine_fn_config_program wineboot enable_wineboot install,installbin,manpage,po
17545 wine_fn_config_program winebrowser enable_winebrowser install
17546 wine_fn_config_program winecfg enable_winecfg install,installbin,manpage,po
17547 wine_fn_config_program wineconsole enable_wineconsole install,installbin,manpage,po
17548 wine_fn_config_program winedbg enable_winedbg install,installbin,manpage,po
17549 wine_fn_config_program winedevice enable_winedevice install
17550 wine_fn_config_program winefile enable_winefile install,installbin,manpage,po
17551 wine_fn_config_program winemenubuilder enable_winemenubuilder install
17552 wine_fn_config_program winemine enable_winemine install,installbin,manpage,po
17553 wine_fn_config_program winemsibuilder enable_winemsibuilder install
17554 wine_fn_config_program winepath enable_winepath install,installbin,manpage
17555 wine_fn_config_program winetest enable_winetest clean
17556 wine_fn_config_program winevdm enable_win16 install
17557 wine_fn_config_program winhelp.exe16 enable_win16 install
17558 wine_fn_config_program winhlp32 enable_winhlp32 install,po
17559 wine_fn_config_program winoldap.mod16 enable_win16 install
17560 wine_fn_config_program winver enable_winver install
17561 wine_fn_config_program wmic enable_wmic install,po
17562 wine_fn_config_program wordpad enable_wordpad install,po
17563 wine_fn_config_program write enable_write install,po
17564 wine_fn_config_program wscript enable_wscript clean,install
17565 wine_fn_config_test programs/wscript/tests wscript.exe_test
17566 wine_fn_config_program wusa enable_wusa install
17567 wine_fn_config_program xcopy enable_xcopy install,po
17568 wine_fn_config_test programs/xcopy/tests xcopy.exe_test
17569 wine_fn_config_makefile server enable_server clean,install-lib,manpage
17570 wine_fn_config_tool tools clean,install-dev,install-lib,manpage
17571 wine_fn_config_tool tools/sfnt2fon clean
17572 wine_fn_config_tool tools/widl clean,install-dev,manpage
17573 wine_fn_config_tool tools/winebuild clean,install-dev,manpage
17574 wine_fn_config_tool tools/winedump clean,install-dev,manpage
17575 wine_fn_config_tool tools/winegcc clean,install-dev,manpage
17576 wine_fn_config_tool tools/wmc clean,install-dev,manpage
17577 wine_fn_config_tool tools/wrc clean,install-dev,manpage
17579 LINGUAS="\
17580 ar \
17581 bg \
17582 ca \
17583 cs \
17584 da \
17585 de \
17586 el \
17587 en \
17588 en_US \
17589 eo \
17590 es \
17591 fa \
17592 fi \
17593 fr \
17594 he \
17595 hi \
17596 hr \
17597 hu \
17598 it \
17599 ja \
17600 ko \
17601 lt \
17602 ml \
17603 nb_NO \
17604 nl \
17605 or \
17606 pa \
17607 pl \
17608 pt_BR \
17609 pt_PT \
17610 rm \
17611 ro \
17612 ru \
17613 sk \
17614 sl \
17615 sr_RS@cyrillic \
17616 sr_RS@latin \
17617 sv \
17618 te \
17619 th \
17620 tr \
17621 uk \
17622 wa \
17623 zh_CN \
17624 zh_TW"
17629 wine_fn_ignore_file ".gitignore"
17630 wine_fn_ignore_file "Makefile"
17631 wine_fn_ignore_file "TAGS"
17632 wine_fn_ignore_file "tags"
17633 wine_fn_ignore_file "autom4te.cache"
17634 wine_fn_ignore_file "config.cache"
17635 wine_fn_ignore_file "config.log"
17636 wine_fn_ignore_file "config.status"
17637 wine_fn_ignore_file "configure.lineno"
17638 wine_fn_ignore_file "include/config.h"
17639 wine_fn_ignore_file "include/stamp-h"
17640 test "$wine_binary" = wine || wine_fn_ignore_file "loader/wine"
17642 if test "x$enable_tools" != xno
17643 then
17644 wine_fn_ignore_file "tools/makedep$ac_exeext"
17645 ac_config_commands="$ac_config_commands tools/makedep"
17649 ac_config_commands="$ac_config_commands Makefile"
17652 ac_config_files="$ac_config_files Make.tmp:Make.vars.in:Makefile.in"
17656 if test "x$enable_maintainer_mode" = xyes
17657 then
17658 wine_fn_append_rule "configure: configure.ac aclocal.m4
17659 autoconf --warnings=all
17660 include/config.h.in: include/stamp-h.in
17661 include/stamp-h.in: configure.ac aclocal.m4
17662 autoheader --warnings=all
17663 @echo timestamp > \$@"
17666 if test "x$with_gettextpo" = xyes
17667 then
17668 test "$srcdir" = . || as_fn_error $? "Rebuilding po files is not supported for out of tree builds." "$LINENO" 5
17669 wine_fn_append_rule "ALL_POT_FILES =$ALL_POT_FILES
17670 \$(LINGUAS:%=po/%.po): po/wine.pot
17671 msgmerge --previous -q \$@ po/wine.pot | msgattrib --no-obsolete -o \$@.new && mv \$@.new \$@
17672 po/wine.pot: \$(ALL_POT_FILES)
17673 msgcat -o \$@ \$(ALL_POT_FILES)"
17676 if test "$MSGFMT" != false
17677 then
17678 wine_fn_append_rule "__builddeps__: \$(LINGUAS:%=po/%.mo)
17679 clean::
17680 \$(RM) \$(LINGUAS:%=po/%.mo)"
17682 posrc="po"
17683 test "$srcdir" = . || posrc="$srcdir/po"
17684 for i in $LINGUAS
17686 wine_fn_ignore_file "po/$i.mo"
17687 wine_fn_append_rule "po/$i.mo: $posrc/$i.po
17688 \$(MSGFMT) -o \$@ $posrc/$i.po"
17689 done
17690 else
17691 LINGUAS=
17694 if test "x$enable_tools" != xno
17695 then
17696 wine_fn_append_rule "tools/makedep$ac_exeext: $srcdir/tools/makedep.c include/config.h config.status
17697 @./config.status tools/makedep
17698 Makefile: tools/makedep$ac_exeext
17699 distclean:: clean
17700 \$(RM) tools/makedep$ac_exeext"
17701 else
17702 wine_fn_append_rule "\$(MAKEDEP):
17703 @echo \"You need to run make in $TOOLSDIR first\" && false"
17706 if test -n "$with_wine64"
17707 then
17708 wine_fn_append_rule "all: fonts server tools $with_wine64/loader/wine $with_wine64/loader/wine-preloader
17709 fonts server tools:
17710 \$(RM) \$@ && \$(LN_S) $with_wine64/\$@ \$@
17711 $with_wine64/loader/wine:
17712 \$(RM) \$@ && \$(LN_S) $ac_pwd/loader/wine \$@
17713 $with_wine64/loader/wine-preloader:
17714 \$(RM) \$@ && \$(LN_S) $ac_pwd/loader/wine-preloader \$@
17715 clean::
17716 \$(RM) fonts server tools $with_wine64/loader/wine $with_wine64/loader/wine-preloader"
17717 else
17718 as_fn_append LOADER_RULES "
17719 install install-lib:: wine.inf install-man-pages
17720 \$(INSTALL_DATA) wine.inf \$(DESTDIR)\$(datadir)/wine/wine.inf
17721 \$(INSTALL_DATA) \$(srcdir)/l_intl.nls \$(DESTDIR)\$(datadir)/wine/l_intl.nls
17723 uninstall::
17724 \$(RM) \$(DESTDIR)\$(datadir)/wine/wine.inf \$(DESTDIR)\$(datadir)/wine/l_intl.nls
17728 if test "$srcdir" = .
17729 then
17730 ac_config_commands="$ac_config_commands .gitignore"
17734 $as_echo " done" >&6
17735 cat >confcache <<\_ACEOF
17736 # This file is a shell script that caches the results of configure
17737 # tests run on this system so they can be shared between configure
17738 # scripts and configure runs, see configure's option --config-cache.
17739 # It is not useful on other systems. If it contains results you don't
17740 # want to keep, you may remove or edit it.
17742 # config.status only pays attention to the cache file if you give it
17743 # the --recheck option to rerun configure.
17745 # `ac_cv_env_foo' variables (set or unset) will be overridden when
17746 # loading this file, other *unset* `ac_cv_foo' will be assigned the
17747 # following values.
17749 _ACEOF
17751 # The following way of writing the cache mishandles newlines in values,
17752 # but we know of no workaround that is simple, portable, and efficient.
17753 # So, we kill variables containing newlines.
17754 # Ultrix sh set writes to stderr and can't be redirected directly,
17755 # and sets the high bit in the cache file unless we assign to the vars.
17757 for ac_var in `(set) 2>&1 | sed -n 's/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'`; do
17758 eval ac_val=\$$ac_var
17759 case $ac_val in #(
17760 *${as_nl}*)
17761 case $ac_var in #(
17762 *_cv_*) { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: cache variable $ac_var contains a newline" >&5
17763 $as_echo "$as_me: WARNING: cache variable $ac_var contains a newline" >&2;} ;;
17764 esac
17765 case $ac_var in #(
17766 _ | IFS | as_nl) ;; #(
17767 BASH_ARGV | BASH_SOURCE) eval $ac_var= ;; #(
17768 *) { eval $ac_var=; unset $ac_var;} ;;
17769 esac ;;
17770 esac
17771 done
17773 (set) 2>&1 |
17774 case $as_nl`(ac_space=' '; set) 2>&1` in #(
17775 *${as_nl}ac_space=\ *)
17776 # `set' does not quote correctly, so add quotes: double-quote
17777 # substitution turns \\\\ into \\, and sed turns \\ into \.
17778 sed -n \
17779 "s/'/'\\\\''/g;
17780 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\\2'/p"
17781 ;; #(
17783 # `set' quotes correctly as required by POSIX, so do not add quotes.
17784 sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
17786 esac |
17787 sort
17789 sed '
17790 /^ac_cv_env_/b end
17791 t clear
17792 :clear
17793 s/^\([^=]*\)=\(.*[{}].*\)$/test "${\1+set}" = set || &/
17794 t end
17795 s/^\([^=]*\)=\(.*\)$/\1=${\1=\2}/
17796 :end' >>confcache
17797 if diff "$cache_file" confcache >/dev/null 2>&1; then :; else
17798 if test -w "$cache_file"; then
17799 if test "x$cache_file" != "x/dev/null"; then
17800 { $as_echo "$as_me:${as_lineno-$LINENO}: updating cache $cache_file" >&5
17801 $as_echo "$as_me: updating cache $cache_file" >&6;}
17802 if test ! -f "$cache_file" || test -h "$cache_file"; then
17803 cat confcache >"$cache_file"
17804 else
17805 case $cache_file in #(
17806 */* | ?:*)
17807 mv -f confcache "$cache_file"$$ &&
17808 mv -f "$cache_file"$$ "$cache_file" ;; #(
17810 mv -f confcache "$cache_file" ;;
17811 esac
17814 else
17815 { $as_echo "$as_me:${as_lineno-$LINENO}: not updating unwritable cache $cache_file" >&5
17816 $as_echo "$as_me: not updating unwritable cache $cache_file" >&6;}
17819 rm -f confcache
17821 test "x$prefix" = xNONE && prefix=$ac_default_prefix
17822 # Let make expand exec_prefix.
17823 test "x$exec_prefix" = xNONE && exec_prefix='${prefix}'
17825 DEFS=-DHAVE_CONFIG_H
17827 ac_libobjs=
17828 ac_ltlibobjs=
17830 for ac_i in : $LIBOBJS; do test "x$ac_i" = x: && continue
17831 # 1. Remove the extension, and $U if already installed.
17832 ac_script='s/\$U\././;s/\.o$//;s/\.obj$//'
17833 ac_i=`$as_echo "$ac_i" | sed "$ac_script"`
17834 # 2. Prepend LIBOBJDIR. When used with automake>=1.10 LIBOBJDIR
17835 # will be set to the directory where LIBOBJS objects are built.
17836 as_fn_append ac_libobjs " \${LIBOBJDIR}$ac_i\$U.$ac_objext"
17837 as_fn_append ac_ltlibobjs " \${LIBOBJDIR}$ac_i"'$U.lo'
17838 done
17839 LIBOBJS=$ac_libobjs
17841 LTLIBOBJS=$ac_ltlibobjs
17845 : "${CONFIG_STATUS=./config.status}"
17846 ac_write_fail=0
17847 ac_clean_files_save=$ac_clean_files
17848 ac_clean_files="$ac_clean_files $CONFIG_STATUS"
17849 { $as_echo "$as_me:${as_lineno-$LINENO}: creating $CONFIG_STATUS" >&5
17850 $as_echo "$as_me: creating $CONFIG_STATUS" >&6;}
17851 as_write_fail=0
17852 cat >$CONFIG_STATUS <<_ASEOF || as_write_fail=1
17853 #! $SHELL
17854 # Generated by $as_me.
17855 # Run this file to recreate the current configuration.
17856 # Compiler output produced by configure, useful for debugging
17857 # configure, is in config.log if it exists.
17859 debug=false
17860 ac_cs_recheck=false
17861 ac_cs_silent=false
17863 SHELL=\${CONFIG_SHELL-$SHELL}
17864 export SHELL
17865 _ASEOF
17866 cat >>$CONFIG_STATUS <<\_ASEOF || as_write_fail=1
17867 ## -------------------- ##
17868 ## M4sh Initialization. ##
17869 ## -------------------- ##
17871 # Be more Bourne compatible
17872 DUALCASE=1; export DUALCASE # for MKS sh
17873 if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then :
17874 emulate sh
17875 NULLCMD=:
17876 # Pre-4.2 versions of Zsh do word splitting on ${1+"$@"}, which
17877 # is contrary to our usage. Disable this feature.
17878 alias -g '${1+"$@"}'='"$@"'
17879 setopt NO_GLOB_SUBST
17880 else
17881 case `(set -o) 2>/dev/null` in #(
17882 *posix*) :
17883 set -o posix ;; #(
17884 *) :
17886 esac
17890 as_nl='
17892 export as_nl
17893 # Printing a long string crashes Solaris 7 /usr/bin/printf.
17894 as_echo='\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\'
17895 as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo
17896 as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo$as_echo
17897 # Prefer a ksh shell builtin over an external printf program on Solaris,
17898 # but without wasting forks for bash or zsh.
17899 if test -z "$BASH_VERSION$ZSH_VERSION" \
17900 && (test "X`print -r -- $as_echo`" = "X$as_echo") 2>/dev/null; then
17901 as_echo='print -r --'
17902 as_echo_n='print -rn --'
17903 elif (test "X`printf %s $as_echo`" = "X$as_echo") 2>/dev/null; then
17904 as_echo='printf %s\n'
17905 as_echo_n='printf %s'
17906 else
17907 if test "X`(/usr/ucb/echo -n -n $as_echo) 2>/dev/null`" = "X-n $as_echo"; then
17908 as_echo_body='eval /usr/ucb/echo -n "$1$as_nl"'
17909 as_echo_n='/usr/ucb/echo -n'
17910 else
17911 as_echo_body='eval expr "X$1" : "X\\(.*\\)"'
17912 as_echo_n_body='eval
17913 arg=$1;
17914 case $arg in #(
17915 *"$as_nl"*)
17916 expr "X$arg" : "X\\(.*\\)$as_nl";
17917 arg=`expr "X$arg" : ".*$as_nl\\(.*\\)"`;;
17918 esac;
17919 expr "X$arg" : "X\\(.*\\)" | tr -d "$as_nl"
17921 export as_echo_n_body
17922 as_echo_n='sh -c $as_echo_n_body as_echo'
17924 export as_echo_body
17925 as_echo='sh -c $as_echo_body as_echo'
17928 # The user is always right.
17929 if test "${PATH_SEPARATOR+set}" != set; then
17930 PATH_SEPARATOR=:
17931 (PATH='/bin;/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 && {
17932 (PATH='/bin:/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 ||
17933 PATH_SEPARATOR=';'
17938 # IFS
17939 # We need space, tab and new line, in precisely that order. Quoting is
17940 # there to prevent editors from complaining about space-tab.
17941 # (If _AS_PATH_WALK were called with IFS unset, it would disable word
17942 # splitting by setting IFS to empty value.)
17943 IFS=" "" $as_nl"
17945 # Find who we are. Look in the path if we contain no directory separator.
17946 as_myself=
17947 case $0 in #((
17948 *[\\/]* ) as_myself=$0 ;;
17949 *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
17950 for as_dir in $PATH
17952 IFS=$as_save_IFS
17953 test -z "$as_dir" && as_dir=.
17954 test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break
17955 done
17956 IFS=$as_save_IFS
17959 esac
17960 # We did not find ourselves, most probably we were run as `sh COMMAND'
17961 # in which case we are not to be found in the path.
17962 if test "x$as_myself" = x; then
17963 as_myself=$0
17965 if test ! -f "$as_myself"; then
17966 $as_echo "$as_myself: error: cannot find myself; rerun with an absolute file name" >&2
17967 exit 1
17970 # Unset variables that we do not need and which cause bugs (e.g. in
17971 # pre-3.0 UWIN ksh). But do not cause bugs in bash 2.01; the "|| exit 1"
17972 # suppresses any "Segmentation fault" message there. '((' could
17973 # trigger a bug in pdksh 5.2.14.
17974 for as_var in BASH_ENV ENV MAIL MAILPATH
17975 do eval test x\${$as_var+set} = xset \
17976 && ( (unset $as_var) || exit 1) >/dev/null 2>&1 && unset $as_var || :
17977 done
17978 PS1='$ '
17979 PS2='> '
17980 PS4='+ '
17982 # NLS nuisances.
17983 LC_ALL=C
17984 export LC_ALL
17985 LANGUAGE=C
17986 export LANGUAGE
17988 # CDPATH.
17989 (unset CDPATH) >/dev/null 2>&1 && unset CDPATH
17992 # as_fn_error STATUS ERROR [LINENO LOG_FD]
17993 # ----------------------------------------
17994 # Output "`basename $0`: error: ERROR" to stderr. If LINENO and LOG_FD are
17995 # provided, also output the error to LOG_FD, referencing LINENO. Then exit the
17996 # script with STATUS, using 1 if that was 0.
17997 as_fn_error ()
17999 as_status=$1; test $as_status -eq 0 && as_status=1
18000 if test "$4"; then
18001 as_lineno=${as_lineno-"$3"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
18002 $as_echo "$as_me:${as_lineno-$LINENO}: error: $2" >&$4
18004 $as_echo "$as_me: error: $2" >&2
18005 as_fn_exit $as_status
18006 } # as_fn_error
18009 # as_fn_set_status STATUS
18010 # -----------------------
18011 # Set $? to STATUS, without forking.
18012 as_fn_set_status ()
18014 return $1
18015 } # as_fn_set_status
18017 # as_fn_exit STATUS
18018 # -----------------
18019 # Exit the shell with STATUS, even in a "trap 0" or "set -e" context.
18020 as_fn_exit ()
18022 set +e
18023 as_fn_set_status $1
18024 exit $1
18025 } # as_fn_exit
18027 # as_fn_unset VAR
18028 # ---------------
18029 # Portably unset VAR.
18030 as_fn_unset ()
18032 { eval $1=; unset $1;}
18034 as_unset=as_fn_unset
18035 # as_fn_append VAR VALUE
18036 # ----------------------
18037 # Append the text in VALUE to the end of the definition contained in VAR. Take
18038 # advantage of any shell optimizations that allow amortized linear growth over
18039 # repeated appends, instead of the typical quadratic growth present in naive
18040 # implementations.
18041 if (eval "as_var=1; as_var+=2; test x\$as_var = x12") 2>/dev/null; then :
18042 eval 'as_fn_append ()
18044 eval $1+=\$2
18046 else
18047 as_fn_append ()
18049 eval $1=\$$1\$2
18051 fi # as_fn_append
18053 # as_fn_arith ARG...
18054 # ------------------
18055 # Perform arithmetic evaluation on the ARGs, and store the result in the
18056 # global $as_val. Take advantage of shells that can avoid forks. The arguments
18057 # must be portable across $(()) and expr.
18058 if (eval "test \$(( 1 + 1 )) = 2") 2>/dev/null; then :
18059 eval 'as_fn_arith ()
18061 as_val=$(( $* ))
18063 else
18064 as_fn_arith ()
18066 as_val=`expr "$@" || test $? -eq 1`
18068 fi # as_fn_arith
18071 if expr a : '\(a\)' >/dev/null 2>&1 &&
18072 test "X`expr 00001 : '.*\(...\)'`" = X001; then
18073 as_expr=expr
18074 else
18075 as_expr=false
18078 if (basename -- /) >/dev/null 2>&1 && test "X`basename -- / 2>&1`" = "X/"; then
18079 as_basename=basename
18080 else
18081 as_basename=false
18084 if (as_dir=`dirname -- /` && test "X$as_dir" = X/) >/dev/null 2>&1; then
18085 as_dirname=dirname
18086 else
18087 as_dirname=false
18090 as_me=`$as_basename -- "$0" ||
18091 $as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
18092 X"$0" : 'X\(//\)$' \| \
18093 X"$0" : 'X\(/\)' \| . 2>/dev/null ||
18094 $as_echo X/"$0" |
18095 sed '/^.*\/\([^/][^/]*\)\/*$/{
18096 s//\1/
18099 /^X\/\(\/\/\)$/{
18100 s//\1/
18103 /^X\/\(\/\).*/{
18104 s//\1/
18107 s/.*/./; q'`
18109 # Avoid depending upon Character Ranges.
18110 as_cr_letters='abcdefghijklmnopqrstuvwxyz'
18111 as_cr_LETTERS='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
18112 as_cr_Letters=$as_cr_letters$as_cr_LETTERS
18113 as_cr_digits='0123456789'
18114 as_cr_alnum=$as_cr_Letters$as_cr_digits
18116 ECHO_C= ECHO_N= ECHO_T=
18117 case `echo -n x` in #(((((
18118 -n*)
18119 case `echo 'xy\c'` in
18120 *c*) ECHO_T=' ';; # ECHO_T is single tab character.
18121 xy) ECHO_C='\c';;
18122 *) echo `echo ksh88 bug on AIX 6.1` > /dev/null
18123 ECHO_T=' ';;
18124 esac;;
18126 ECHO_N='-n';;
18127 esac
18129 rm -f conf$$ conf$$.exe conf$$.file
18130 if test -d conf$$.dir; then
18131 rm -f conf$$.dir/conf$$.file
18132 else
18133 rm -f conf$$.dir
18134 mkdir conf$$.dir 2>/dev/null
18136 if (echo >conf$$.file) 2>/dev/null; then
18137 if ln -s conf$$.file conf$$ 2>/dev/null; then
18138 as_ln_s='ln -s'
18139 # ... but there are two gotchas:
18140 # 1) On MSYS, both `ln -s file dir' and `ln file dir' fail.
18141 # 2) DJGPP < 2.04 has no symlinks; `ln -s' creates a wrapper executable.
18142 # In both cases, we have to default to `cp -pR'.
18143 ln -s conf$$.file conf$$.dir 2>/dev/null && test ! -f conf$$.exe ||
18144 as_ln_s='cp -pR'
18145 elif ln conf$$.file conf$$ 2>/dev/null; then
18146 as_ln_s=ln
18147 else
18148 as_ln_s='cp -pR'
18150 else
18151 as_ln_s='cp -pR'
18153 rm -f conf$$ conf$$.exe conf$$.dir/conf$$.file conf$$.file
18154 rmdir conf$$.dir 2>/dev/null
18157 # as_fn_mkdir_p
18158 # -------------
18159 # Create "$as_dir" as a directory, including parents if necessary.
18160 as_fn_mkdir_p ()
18163 case $as_dir in #(
18164 -*) as_dir=./$as_dir;;
18165 esac
18166 test -d "$as_dir" || eval $as_mkdir_p || {
18167 as_dirs=
18168 while :; do
18169 case $as_dir in #(
18170 *\'*) as_qdir=`$as_echo "$as_dir" | sed "s/'/'\\\\\\\\''/g"`;; #'(
18171 *) as_qdir=$as_dir;;
18172 esac
18173 as_dirs="'$as_qdir' $as_dirs"
18174 as_dir=`$as_dirname -- "$as_dir" ||
18175 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
18176 X"$as_dir" : 'X\(//\)[^/]' \| \
18177 X"$as_dir" : 'X\(//\)$' \| \
18178 X"$as_dir" : 'X\(/\)' \| . 2>/dev/null ||
18179 $as_echo X"$as_dir" |
18180 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
18181 s//\1/
18184 /^X\(\/\/\)[^/].*/{
18185 s//\1/
18188 /^X\(\/\/\)$/{
18189 s//\1/
18192 /^X\(\/\).*/{
18193 s//\1/
18196 s/.*/./; q'`
18197 test -d "$as_dir" && break
18198 done
18199 test -z "$as_dirs" || eval "mkdir $as_dirs"
18200 } || test -d "$as_dir" || as_fn_error $? "cannot create directory $as_dir"
18203 } # as_fn_mkdir_p
18204 if mkdir -p . 2>/dev/null; then
18205 as_mkdir_p='mkdir -p "$as_dir"'
18206 else
18207 test -d ./-p && rmdir ./-p
18208 as_mkdir_p=false
18212 # as_fn_executable_p FILE
18213 # -----------------------
18214 # Test if FILE is an executable regular file.
18215 as_fn_executable_p ()
18217 test -f "$1" && test -x "$1"
18218 } # as_fn_executable_p
18219 as_test_x='test -x'
18220 as_executable_p=as_fn_executable_p
18222 # Sed expression to map a string onto a valid CPP name.
18223 as_tr_cpp="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'"
18225 # Sed expression to map a string onto a valid variable name.
18226 as_tr_sh="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'"
18229 exec 6>&1
18230 ## ----------------------------------- ##
18231 ## Main body of $CONFIG_STATUS script. ##
18232 ## ----------------------------------- ##
18233 _ASEOF
18234 test $as_write_fail = 0 && chmod +x $CONFIG_STATUS || ac_write_fail=1
18236 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
18237 # Save the log message, to keep $0 and so on meaningful, and to
18238 # report actual input values of CONFIG_FILES etc. instead of their
18239 # values after options handling.
18240 ac_log="
18241 This file was extended by Wine $as_me 1.7.32, which was
18242 generated by GNU Autoconf 2.69. Invocation command line was
18244 CONFIG_FILES = $CONFIG_FILES
18245 CONFIG_HEADERS = $CONFIG_HEADERS
18246 CONFIG_LINKS = $CONFIG_LINKS
18247 CONFIG_COMMANDS = $CONFIG_COMMANDS
18248 $ $0 $@
18250 on `(hostname || uname -n) 2>/dev/null | sed 1q`
18253 _ACEOF
18255 case $ac_config_files in *"
18256 "*) set x $ac_config_files; shift; ac_config_files=$*;;
18257 esac
18259 case $ac_config_headers in *"
18260 "*) set x $ac_config_headers; shift; ac_config_headers=$*;;
18261 esac
18264 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
18265 # Files that config.status was made for.
18266 config_files="$ac_config_files"
18267 config_headers="$ac_config_headers"
18268 config_links="$ac_config_links"
18269 config_commands="$ac_config_commands"
18271 _ACEOF
18273 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
18274 ac_cs_usage="\
18275 \`$as_me' instantiates files and other configuration actions
18276 from templates according to the current configuration. Unless the files
18277 and actions are specified as TAGs, all are instantiated by default.
18279 Usage: $0 [OPTION]... [TAG]...
18281 -h, --help print this help, then exit
18282 -V, --version print version number and configuration settings, then exit
18283 --config print configuration, then exit
18284 -q, --quiet, --silent
18285 do not print progress messages
18286 -d, --debug don't remove temporary files
18287 --recheck update $as_me by reconfiguring in the same conditions
18288 --file=FILE[:TEMPLATE]
18289 instantiate the configuration file FILE
18290 --header=FILE[:TEMPLATE]
18291 instantiate the configuration header FILE
18293 Configuration files:
18294 $config_files
18296 Configuration headers:
18297 $config_headers
18299 Configuration links:
18300 $config_links
18302 Configuration commands:
18303 $config_commands
18305 Report bugs to <wine-devel@winehq.org>.
18306 Wine home page: <http://www.winehq.org>."
18308 _ACEOF
18309 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
18310 ac_cs_config="`$as_echo "$ac_configure_args" | sed 's/^ //; s/[\\""\`\$]/\\\\&/g'`"
18311 ac_cs_version="\\
18312 Wine config.status 1.7.32
18313 configured by $0, generated by GNU Autoconf 2.69,
18314 with options \\"\$ac_cs_config\\"
18316 Copyright (C) 2012 Free Software Foundation, Inc.
18317 This config.status script is free software; the Free Software Foundation
18318 gives unlimited permission to copy, distribute and modify it."
18320 ac_pwd='$ac_pwd'
18321 srcdir='$srcdir'
18322 test -n "\$AWK" || AWK=awk
18323 _ACEOF
18325 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
18326 # The default lists apply if the user does not specify any file.
18327 ac_need_defaults=:
18328 while test $# != 0
18330 case $1 in
18331 --*=?*)
18332 ac_option=`expr "X$1" : 'X\([^=]*\)='`
18333 ac_optarg=`expr "X$1" : 'X[^=]*=\(.*\)'`
18334 ac_shift=:
18336 --*=)
18337 ac_option=`expr "X$1" : 'X\([^=]*\)='`
18338 ac_optarg=
18339 ac_shift=:
18342 ac_option=$1
18343 ac_optarg=$2
18344 ac_shift=shift
18346 esac
18348 case $ac_option in
18349 # Handling of the options.
18350 -recheck | --recheck | --rechec | --reche | --rech | --rec | --re | --r)
18351 ac_cs_recheck=: ;;
18352 --version | --versio | --versi | --vers | --ver | --ve | --v | -V )
18353 $as_echo "$ac_cs_version"; exit ;;
18354 --config | --confi | --conf | --con | --co | --c )
18355 $as_echo "$ac_cs_config"; exit ;;
18356 --debug | --debu | --deb | --de | --d | -d )
18357 debug=: ;;
18358 --file | --fil | --fi | --f )
18359 $ac_shift
18360 case $ac_optarg in
18361 *\'*) ac_optarg=`$as_echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"` ;;
18362 '') as_fn_error $? "missing file argument" ;;
18363 esac
18364 as_fn_append CONFIG_FILES " '$ac_optarg'"
18365 ac_need_defaults=false;;
18366 --header | --heade | --head | --hea )
18367 $ac_shift
18368 case $ac_optarg in
18369 *\'*) ac_optarg=`$as_echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"` ;;
18370 esac
18371 as_fn_append CONFIG_HEADERS " '$ac_optarg'"
18372 ac_need_defaults=false;;
18373 --he | --h)
18374 # Conflict between --help and --header
18375 as_fn_error $? "ambiguous option: \`$1'
18376 Try \`$0 --help' for more information.";;
18377 --help | --hel | -h )
18378 $as_echo "$ac_cs_usage"; exit ;;
18379 -q | -quiet | --quiet | --quie | --qui | --qu | --q \
18380 | -silent | --silent | --silen | --sile | --sil | --si | --s)
18381 ac_cs_silent=: ;;
18383 # This is an error.
18384 -*) as_fn_error $? "unrecognized option: \`$1'
18385 Try \`$0 --help' for more information." ;;
18387 *) as_fn_append ac_config_targets " $1"
18388 ac_need_defaults=false ;;
18390 esac
18391 shift
18392 done
18394 ac_configure_extra_args=
18396 if $ac_cs_silent; then
18397 exec 6>/dev/null
18398 ac_configure_extra_args="$ac_configure_extra_args --silent"
18401 _ACEOF
18402 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
18403 if \$ac_cs_recheck; then
18404 set X $SHELL '$0' $ac_configure_args \$ac_configure_extra_args --no-create --no-recursion
18405 shift
18406 \$as_echo "running CONFIG_SHELL=$SHELL \$*" >&6
18407 CONFIG_SHELL='$SHELL'
18408 export CONFIG_SHELL
18409 exec "\$@"
18412 _ACEOF
18413 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
18414 exec 5>>config.log
18416 echo
18417 sed 'h;s/./-/g;s/^.../## /;s/...$/ ##/;p;x;p;x' <<_ASBOX
18418 ## Running $as_me. ##
18419 _ASBOX
18420 $as_echo "$ac_log"
18421 } >&5
18423 _ACEOF
18424 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
18426 # INIT-COMMANDS
18428 wine_fn_output_makedep ()
18430 as_dir=tools; as_fn_mkdir_p
18431 $CC -Iinclude -I$srcdir/include -D__WINESRC__ $EXTRACFLAGS $CPPFLAGS $CFLAGS -o tools/makedep$ac_exeext $srcdir/tools/makedep.c $LDFLAGS
18433 wine_fn_output_makefile ()
18435 cat Make.tmp - <<\_WINE_EOF >\$tmp/makefile && mv -f \$tmp/makefile \$1 && rm -f Make.tmp && "$wine_makedep" . && return
18436 `cat $wine_rules_file`
18437 _WINE_EOF
18438 as_fn_error $? "could not create Makefile" "$LINENO" 5
18440 wine_fn_output_gitignore ()
18442 sort <<\_WINE_EOF >\$tmp/gitignore && mv -f \$tmp/gitignore \$1 && return
18443 $GITIGNORE
18444 _WINE_EOF
18445 as_fn_error $? "could not create .gitignore" "$LINENO" 5
18448 _ACEOF
18450 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
18452 # Handling of arguments.
18453 for ac_config_target in $ac_config_targets
18455 case $ac_config_target in
18456 "include/config.h") CONFIG_HEADERS="$CONFIG_HEADERS include/config.h" ;;
18457 "include/stamp-h") CONFIG_COMMANDS="$CONFIG_COMMANDS include/stamp-h" ;;
18458 "fonts/marlett.ttf") CONFIG_LINKS="$CONFIG_LINKS fonts/marlett.ttf:fonts/marlett.ttf" ;;
18459 "fonts/symbol.ttf") CONFIG_LINKS="$CONFIG_LINKS fonts/symbol.ttf:fonts/symbol.ttf" ;;
18460 "fonts/tahoma.ttf") CONFIG_LINKS="$CONFIG_LINKS fonts/tahoma.ttf:fonts/tahoma.ttf" ;;
18461 "fonts/tahomabd.ttf") CONFIG_LINKS="$CONFIG_LINKS fonts/tahomabd.ttf:fonts/tahomabd.ttf" ;;
18462 "loader/l_intl.nls") CONFIG_LINKS="$CONFIG_LINKS loader/l_intl.nls:loader/l_intl.nls" ;;
18463 "po/LINGUAS") CONFIG_LINKS="$CONFIG_LINKS po/LINGUAS:po/LINGUAS" ;;
18464 "wine") CONFIG_LINKS="$CONFIG_LINKS wine:tools/winewrapper" ;;
18465 "wine64") CONFIG_LINKS="$CONFIG_LINKS wine64:tools/winewrapper" ;;
18466 "tools/makedep") CONFIG_COMMANDS="$CONFIG_COMMANDS tools/makedep" ;;
18467 "Makefile") CONFIG_COMMANDS="$CONFIG_COMMANDS Makefile" ;;
18468 "Make.tmp") CONFIG_FILES="$CONFIG_FILES Make.tmp:Make.vars.in:Makefile.in" ;;
18469 ".gitignore") CONFIG_COMMANDS="$CONFIG_COMMANDS .gitignore" ;;
18471 *) as_fn_error $? "invalid argument: \`$ac_config_target'" "$LINENO" 5;;
18472 esac
18473 done
18476 # If the user did not use the arguments to specify the items to instantiate,
18477 # then the envvar interface is used. Set only those that are not.
18478 # We use the long form for the default assignment because of an extremely
18479 # bizarre bug on SunOS 4.1.3.
18480 if $ac_need_defaults; then
18481 test "${CONFIG_FILES+set}" = set || CONFIG_FILES=$config_files
18482 test "${CONFIG_HEADERS+set}" = set || CONFIG_HEADERS=$config_headers
18483 test "${CONFIG_LINKS+set}" = set || CONFIG_LINKS=$config_links
18484 test "${CONFIG_COMMANDS+set}" = set || CONFIG_COMMANDS=$config_commands
18487 # Have a temporary directory for convenience. Make it in the build tree
18488 # simply because there is no reason against having it here, and in addition,
18489 # creating and moving files from /tmp can sometimes cause problems.
18490 # Hook for its removal unless debugging.
18491 # Note that there is a small window in which the directory will not be cleaned:
18492 # after its creation but before its name has been assigned to `$tmp'.
18493 $debug ||
18495 tmp= ac_tmp=
18496 trap 'exit_status=$?
18497 : "${ac_tmp:=$tmp}"
18498 { test ! -d "$ac_tmp" || rm -fr "$ac_tmp"; } && exit $exit_status
18500 trap 'as_fn_exit 1' 1 2 13 15
18502 # Create a (secure) tmp directory for tmp files.
18505 tmp=`(umask 077 && mktemp -d "./confXXXXXX") 2>/dev/null` &&
18506 test -d "$tmp"
18507 } ||
18509 tmp=./conf$$-$RANDOM
18510 (umask 077 && mkdir "$tmp")
18511 } || as_fn_error $? "cannot create a temporary directory in ." "$LINENO" 5
18512 ac_tmp=$tmp
18514 # Set up the scripts for CONFIG_FILES section.
18515 # No need to generate them if there are no CONFIG_FILES.
18516 # This happens for instance with `./config.status config.h'.
18517 if test -n "$CONFIG_FILES"; then
18520 ac_cr=`echo X | tr X '\015'`
18521 # On cygwin, bash can eat \r inside `` if the user requested igncr.
18522 # But we know of no other shell where ac_cr would be empty at this
18523 # point, so we can use a bashism as a fallback.
18524 if test "x$ac_cr" = x; then
18525 eval ac_cr=\$\'\\r\'
18527 ac_cs_awk_cr=`$AWK 'BEGIN { print "a\rb" }' </dev/null 2>/dev/null`
18528 if test "$ac_cs_awk_cr" = "a${ac_cr}b"; then
18529 ac_cs_awk_cr='\\r'
18530 else
18531 ac_cs_awk_cr=$ac_cr
18534 echo 'BEGIN {' >"$ac_tmp/subs1.awk" &&
18535 _ACEOF
18539 echo "cat >conf$$subs.awk <<_ACEOF" &&
18540 echo "$ac_subst_vars" | sed 's/.*/&!$&$ac_delim/' &&
18541 echo "_ACEOF"
18542 } >conf$$subs.sh ||
18543 as_fn_error $? "could not make $CONFIG_STATUS" "$LINENO" 5
18544 ac_delim_num=`echo "$ac_subst_vars" | grep -c '^'`
18545 ac_delim='%!_!# '
18546 for ac_last_try in false false false false false :; do
18547 . ./conf$$subs.sh ||
18548 as_fn_error $? "could not make $CONFIG_STATUS" "$LINENO" 5
18550 ac_delim_n=`sed -n "s/.*$ac_delim\$/X/p" conf$$subs.awk | grep -c X`
18551 if test $ac_delim_n = $ac_delim_num; then
18552 break
18553 elif $ac_last_try; then
18554 as_fn_error $? "could not make $CONFIG_STATUS" "$LINENO" 5
18555 else
18556 ac_delim="$ac_delim!$ac_delim _$ac_delim!! "
18558 done
18559 rm -f conf$$subs.sh
18561 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
18562 cat >>"\$ac_tmp/subs1.awk" <<\\_ACAWK &&
18563 _ACEOF
18564 sed -n '
18566 s/^/S["/; s/!.*/"]=/
18569 s/^[^!]*!//
18570 :repl
18571 t repl
18572 s/'"$ac_delim"'$//
18573 t delim
18576 s/\(.\{148\}\)..*/\1/
18577 t more1
18578 s/["\\]/\\&/g; s/^/"/; s/$/\\n"\\/
18581 b repl
18582 :more1
18583 s/["\\]/\\&/g; s/^/"/; s/$/"\\/
18586 s/.\{148\}//
18587 t nl
18588 :delim
18590 s/\(.\{148\}\)..*/\1/
18591 t more2
18592 s/["\\]/\\&/g; s/^/"/; s/$/"/
18595 :more2
18596 s/["\\]/\\&/g; s/^/"/; s/$/"\\/
18599 s/.\{148\}//
18600 t delim
18601 ' <conf$$subs.awk | sed '
18602 /^[^""]/{
18604 s/\n//
18606 ' >>$CONFIG_STATUS || ac_write_fail=1
18607 rm -f conf$$subs.awk
18608 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
18609 _ACAWK
18610 cat >>"\$ac_tmp/subs1.awk" <<_ACAWK &&
18611 for (key in S) S_is_set[key] = 1
18612 FS = "\a"
18616 line = $ 0
18617 nfields = split(line, field, "@")
18618 substed = 0
18619 len = length(field[1])
18620 for (i = 2; i < nfields; i++) {
18621 key = field[i]
18622 keylen = length(key)
18623 if (S_is_set[key]) {
18624 value = S[key]
18625 line = substr(line, 1, len) "" value "" substr(line, len + keylen + 3)
18626 len += length(value) + length(field[++i])
18627 substed = 1
18628 } else
18629 len += 1 + keylen
18632 print line
18635 _ACAWK
18636 _ACEOF
18637 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
18638 if sed "s/$ac_cr//" < /dev/null > /dev/null 2>&1; then
18639 sed "s/$ac_cr\$//; s/$ac_cr/$ac_cs_awk_cr/g"
18640 else
18642 fi < "$ac_tmp/subs1.awk" > "$ac_tmp/subs.awk" \
18643 || as_fn_error $? "could not setup config files machinery" "$LINENO" 5
18644 _ACEOF
18646 # VPATH may cause trouble with some makes, so we remove sole $(srcdir),
18647 # ${srcdir} and @srcdir@ entries from VPATH if srcdir is ".", strip leading and
18648 # trailing colons and then remove the whole line if VPATH becomes empty
18649 # (actually we leave an empty line to preserve line numbers).
18650 if test "x$srcdir" = x.; then
18651 ac_vpsub='/^[ ]*VPATH[ ]*=[ ]*/{
18653 s///
18654 s/^/:/
18655 s/[ ]*$/:/
18656 s/:\$(srcdir):/:/g
18657 s/:\${srcdir}:/:/g
18658 s/:@srcdir@:/:/g
18659 s/^:*//
18660 s/:*$//
18662 s/\(=[ ]*\).*/\1/
18664 s/\n//
18665 s/^[^=]*=[ ]*$//
18669 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
18670 fi # test -n "$CONFIG_FILES"
18672 # Set up the scripts for CONFIG_HEADERS section.
18673 # No need to generate them if there are no CONFIG_HEADERS.
18674 # This happens for instance with `./config.status Makefile'.
18675 if test -n "$CONFIG_HEADERS"; then
18676 cat >"$ac_tmp/defines.awk" <<\_ACAWK ||
18677 BEGIN {
18678 _ACEOF
18680 # Transform confdefs.h into an awk script `defines.awk', embedded as
18681 # here-document in config.status, that substitutes the proper values into
18682 # config.h.in to produce config.h.
18684 # Create a delimiter string that does not exist in confdefs.h, to ease
18685 # handling of long lines.
18686 ac_delim='%!_!# '
18687 for ac_last_try in false false :; do
18688 ac_tt=`sed -n "/$ac_delim/p" confdefs.h`
18689 if test -z "$ac_tt"; then
18690 break
18691 elif $ac_last_try; then
18692 as_fn_error $? "could not make $CONFIG_HEADERS" "$LINENO" 5
18693 else
18694 ac_delim="$ac_delim!$ac_delim _$ac_delim!! "
18696 done
18698 # For the awk script, D is an array of macro values keyed by name,
18699 # likewise P contains macro parameters if any. Preserve backslash
18700 # newline sequences.
18702 ac_word_re=[_$as_cr_Letters][_$as_cr_alnum]*
18703 sed -n '
18704 s/.\{148\}/&'"$ac_delim"'/g
18705 t rset
18706 :rset
18707 s/^[ ]*#[ ]*define[ ][ ]*/ /
18708 t def
18710 :def
18711 s/\\$//
18712 t bsnl
18713 s/["\\]/\\&/g
18714 s/^ \('"$ac_word_re"'\)\(([^()]*)\)[ ]*\(.*\)/P["\1"]="\2"\
18715 D["\1"]=" \3"/p
18716 s/^ \('"$ac_word_re"'\)[ ]*\(.*\)/D["\1"]=" \2"/p
18718 :bsnl
18719 s/["\\]/\\&/g
18720 s/^ \('"$ac_word_re"'\)\(([^()]*)\)[ ]*\(.*\)/P["\1"]="\2"\
18721 D["\1"]=" \3\\\\\\n"\\/p
18722 t cont
18723 s/^ \('"$ac_word_re"'\)[ ]*\(.*\)/D["\1"]=" \2\\\\\\n"\\/p
18724 t cont
18726 :cont
18728 s/.\{148\}/&'"$ac_delim"'/g
18729 t clear
18730 :clear
18731 s/\\$//
18732 t bsnlc
18733 s/["\\]/\\&/g; s/^/"/; s/$/"/p
18735 :bsnlc
18736 s/["\\]/\\&/g; s/^/"/; s/$/\\\\\\n"\\/p
18737 b cont
18738 ' <confdefs.h | sed '
18739 s/'"$ac_delim"'/"\\\
18740 "/g' >>$CONFIG_STATUS || ac_write_fail=1
18742 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
18743 for (key in D) D_is_set[key] = 1
18744 FS = "\a"
18746 /^[\t ]*#[\t ]*(define|undef)[\t ]+$ac_word_re([\t (]|\$)/ {
18747 line = \$ 0
18748 split(line, arg, " ")
18749 if (arg[1] == "#") {
18750 defundef = arg[2]
18751 mac1 = arg[3]
18752 } else {
18753 defundef = substr(arg[1], 2)
18754 mac1 = arg[2]
18756 split(mac1, mac2, "(") #)
18757 macro = mac2[1]
18758 prefix = substr(line, 1, index(line, defundef) - 1)
18759 if (D_is_set[macro]) {
18760 # Preserve the white space surrounding the "#".
18761 print prefix "define", macro P[macro] D[macro]
18762 next
18763 } else {
18764 # Replace #undef with comments. This is necessary, for example,
18765 # in the case of _POSIX_SOURCE, which is predefined and required
18766 # on some systems where configure will not decide to define it.
18767 if (defundef == "undef") {
18768 print "/*", prefix defundef, macro, "*/"
18769 next
18773 { print }
18774 _ACAWK
18775 _ACEOF
18776 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
18777 as_fn_error $? "could not setup config headers machinery" "$LINENO" 5
18778 fi # test -n "$CONFIG_HEADERS"
18781 eval set X " :F $CONFIG_FILES :H $CONFIG_HEADERS :L $CONFIG_LINKS :C $CONFIG_COMMANDS"
18782 shift
18783 for ac_tag
18785 case $ac_tag in
18786 :[FHLC]) ac_mode=$ac_tag; continue;;
18787 esac
18788 case $ac_mode$ac_tag in
18789 :[FHL]*:*);;
18790 :L* | :C*:*) as_fn_error $? "invalid tag \`$ac_tag'" "$LINENO" 5;;
18791 :[FH]-) ac_tag=-:-;;
18792 :[FH]*) ac_tag=$ac_tag:$ac_tag.in;;
18793 esac
18794 ac_save_IFS=$IFS
18795 IFS=:
18796 set x $ac_tag
18797 IFS=$ac_save_IFS
18798 shift
18799 ac_file=$1
18800 shift
18802 case $ac_mode in
18803 :L) ac_source=$1;;
18804 :[FH])
18805 ac_file_inputs=
18806 for ac_f
18808 case $ac_f in
18809 -) ac_f="$ac_tmp/stdin";;
18810 *) # Look for the file first in the build tree, then in the source tree
18811 # (if the path is not absolute). The absolute path cannot be DOS-style,
18812 # because $ac_f cannot contain `:'.
18813 test -f "$ac_f" ||
18814 case $ac_f in
18815 [\\/$]*) false;;
18816 *) test -f "$srcdir/$ac_f" && ac_f="$srcdir/$ac_f";;
18817 esac ||
18818 as_fn_error 1 "cannot find input file: \`$ac_f'" "$LINENO" 5;;
18819 esac
18820 case $ac_f in *\'*) ac_f=`$as_echo "$ac_f" | sed "s/'/'\\\\\\\\''/g"`;; esac
18821 as_fn_append ac_file_inputs " '$ac_f'"
18822 done
18824 # Let's still pretend it is `configure' which instantiates (i.e., don't
18825 # use $as_me), people would be surprised to read:
18826 # /* config.h. Generated by config.status. */
18827 configure_input='Generated from '`
18828 $as_echo "$*" | sed 's|^[^:]*/||;s|:[^:]*/|, |g'
18829 `' by configure.'
18830 if test x"$ac_file" != x-; then
18831 configure_input="$ac_file. $configure_input"
18832 { $as_echo "$as_me:${as_lineno-$LINENO}: creating $ac_file" >&5
18833 $as_echo "$as_me: creating $ac_file" >&6;}
18835 # Neutralize special characters interpreted by sed in replacement strings.
18836 case $configure_input in #(
18837 *\&* | *\|* | *\\* )
18838 ac_sed_conf_input=`$as_echo "$configure_input" |
18839 sed 's/[\\\\&|]/\\\\&/g'`;; #(
18840 *) ac_sed_conf_input=$configure_input;;
18841 esac
18843 case $ac_tag in
18844 *:-:* | *:-) cat >"$ac_tmp/stdin" \
18845 || as_fn_error $? "could not create $ac_file" "$LINENO" 5 ;;
18846 esac
18848 esac
18850 ac_dir=`$as_dirname -- "$ac_file" ||
18851 $as_expr X"$ac_file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
18852 X"$ac_file" : 'X\(//\)[^/]' \| \
18853 X"$ac_file" : 'X\(//\)$' \| \
18854 X"$ac_file" : 'X\(/\)' \| . 2>/dev/null ||
18855 $as_echo X"$ac_file" |
18856 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
18857 s//\1/
18860 /^X\(\/\/\)[^/].*/{
18861 s//\1/
18864 /^X\(\/\/\)$/{
18865 s//\1/
18868 /^X\(\/\).*/{
18869 s//\1/
18872 s/.*/./; q'`
18873 as_dir="$ac_dir"; as_fn_mkdir_p
18874 ac_builddir=.
18876 case "$ac_dir" in
18877 .) ac_dir_suffix= ac_top_builddir_sub=. ac_top_build_prefix= ;;
18879 ac_dir_suffix=/`$as_echo "$ac_dir" | sed 's|^\.[\\/]||'`
18880 # A ".." for each directory in $ac_dir_suffix.
18881 ac_top_builddir_sub=`$as_echo "$ac_dir_suffix" | sed 's|/[^\\/]*|/..|g;s|/||'`
18882 case $ac_top_builddir_sub in
18883 "") ac_top_builddir_sub=. ac_top_build_prefix= ;;
18884 *) ac_top_build_prefix=$ac_top_builddir_sub/ ;;
18885 esac ;;
18886 esac
18887 ac_abs_top_builddir=$ac_pwd
18888 ac_abs_builddir=$ac_pwd$ac_dir_suffix
18889 # for backward compatibility:
18890 ac_top_builddir=$ac_top_build_prefix
18892 case $srcdir in
18893 .) # We are building in place.
18894 ac_srcdir=.
18895 ac_top_srcdir=$ac_top_builddir_sub
18896 ac_abs_top_srcdir=$ac_pwd ;;
18897 [\\/]* | ?:[\\/]* ) # Absolute name.
18898 ac_srcdir=$srcdir$ac_dir_suffix;
18899 ac_top_srcdir=$srcdir
18900 ac_abs_top_srcdir=$srcdir ;;
18901 *) # Relative name.
18902 ac_srcdir=$ac_top_build_prefix$srcdir$ac_dir_suffix
18903 ac_top_srcdir=$ac_top_build_prefix$srcdir
18904 ac_abs_top_srcdir=$ac_pwd/$srcdir ;;
18905 esac
18906 ac_abs_srcdir=$ac_abs_top_srcdir$ac_dir_suffix
18909 case $ac_mode in
18912 # CONFIG_FILE
18915 _ACEOF
18917 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
18918 # If the template does not know about datarootdir, expand it.
18919 # FIXME: This hack should be removed a few years after 2.60.
18920 ac_datarootdir_hack=; ac_datarootdir_seen=
18921 ac_sed_dataroot='
18922 /datarootdir/ {
18926 /@datadir@/p
18927 /@docdir@/p
18928 /@infodir@/p
18929 /@localedir@/p
18930 /@mandir@/p'
18931 case `eval "sed -n \"\$ac_sed_dataroot\" $ac_file_inputs"` in
18932 *datarootdir*) ac_datarootdir_seen=yes;;
18933 *@datadir@*|*@docdir@*|*@infodir@*|*@localedir@*|*@mandir@*)
18934 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&5
18935 $as_echo "$as_me: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&2;}
18936 _ACEOF
18937 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
18938 ac_datarootdir_hack='
18939 s&@datadir@&$datadir&g
18940 s&@docdir@&$docdir&g
18941 s&@infodir@&$infodir&g
18942 s&@localedir@&$localedir&g
18943 s&@mandir@&$mandir&g
18944 s&\\\${datarootdir}&$datarootdir&g' ;;
18945 esac
18946 _ACEOF
18948 # Neutralize VPATH when `$srcdir' = `.'.
18949 # Shell code in configure.ac might set extrasub.
18950 # FIXME: do we really want to maintain this feature?
18951 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
18952 ac_sed_extra="$ac_vpsub
18953 $extrasub
18954 _ACEOF
18955 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
18957 /@[a-zA-Z_][a-zA-Z_0-9]*@/!b
18958 s|@configure_input@|$ac_sed_conf_input|;t t
18959 s&@top_builddir@&$ac_top_builddir_sub&;t t
18960 s&@top_build_prefix@&$ac_top_build_prefix&;t t
18961 s&@srcdir@&$ac_srcdir&;t t
18962 s&@abs_srcdir@&$ac_abs_srcdir&;t t
18963 s&@top_srcdir@&$ac_top_srcdir&;t t
18964 s&@abs_top_srcdir@&$ac_abs_top_srcdir&;t t
18965 s&@builddir@&$ac_builddir&;t t
18966 s&@abs_builddir@&$ac_abs_builddir&;t t
18967 s&@abs_top_builddir@&$ac_abs_top_builddir&;t t
18968 $ac_datarootdir_hack
18970 eval sed \"\$ac_sed_extra\" "$ac_file_inputs" | $AWK -f "$ac_tmp/subs.awk" \
18971 >$ac_tmp/out || as_fn_error $? "could not create $ac_file" "$LINENO" 5
18973 test -z "$ac_datarootdir_hack$ac_datarootdir_seen" &&
18974 { ac_out=`sed -n '/\${datarootdir}/p' "$ac_tmp/out"`; test -n "$ac_out"; } &&
18975 { ac_out=`sed -n '/^[ ]*datarootdir[ ]*:*=/p' \
18976 "$ac_tmp/out"`; test -z "$ac_out"; } &&
18977 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $ac_file contains a reference to the variable \`datarootdir'
18978 which seems to be undefined. Please make sure it is defined" >&5
18979 $as_echo "$as_me: WARNING: $ac_file contains a reference to the variable \`datarootdir'
18980 which seems to be undefined. Please make sure it is defined" >&2;}
18982 rm -f "$ac_tmp/stdin"
18983 case $ac_file in
18984 -) cat "$ac_tmp/out" && rm -f "$ac_tmp/out";;
18985 *) rm -f "$ac_file" && mv "$ac_tmp/out" "$ac_file";;
18986 esac \
18987 || as_fn_error $? "could not create $ac_file" "$LINENO" 5
18991 # CONFIG_HEADER
18993 if test x"$ac_file" != x-; then
18995 $as_echo "/* $configure_input */" \
18996 && eval '$AWK -f "$ac_tmp/defines.awk"' "$ac_file_inputs"
18997 } >"$ac_tmp/config.h" \
18998 || as_fn_error $? "could not create $ac_file" "$LINENO" 5
18999 if diff "$ac_file" "$ac_tmp/config.h" >/dev/null 2>&1; then
19000 { $as_echo "$as_me:${as_lineno-$LINENO}: $ac_file is unchanged" >&5
19001 $as_echo "$as_me: $ac_file is unchanged" >&6;}
19002 else
19003 rm -f "$ac_file"
19004 mv "$ac_tmp/config.h" "$ac_file" \
19005 || as_fn_error $? "could not create $ac_file" "$LINENO" 5
19007 else
19008 $as_echo "/* $configure_input */" \
19009 && eval '$AWK -f "$ac_tmp/defines.awk"' "$ac_file_inputs" \
19010 || as_fn_error $? "could not create -" "$LINENO" 5
19015 # CONFIG_LINK
19018 if test "$ac_source" = "$ac_file" && test "$srcdir" = '.'; then
19020 else
19021 # Prefer the file from the source tree if names are identical.
19022 if test "$ac_source" = "$ac_file" || test ! -r "$ac_source"; then
19023 ac_source=$srcdir/$ac_source
19026 { $as_echo "$as_me:${as_lineno-$LINENO}: linking $ac_source to $ac_file" >&5
19027 $as_echo "$as_me: linking $ac_source to $ac_file" >&6;}
19029 if test ! -r "$ac_source"; then
19030 as_fn_error $? "$ac_source: file not found" "$LINENO" 5
19032 rm -f "$ac_file"
19034 # Try a relative symlink, then a hard link, then a copy.
19035 case $ac_source in
19036 [\\/$]* | ?:[\\/]* ) ac_rel_source=$ac_source ;;
19037 *) ac_rel_source=$ac_top_build_prefix$ac_source ;;
19038 esac
19039 ln -s "$ac_rel_source" "$ac_file" 2>/dev/null ||
19040 ln "$ac_source" "$ac_file" 2>/dev/null ||
19041 cp -p "$ac_source" "$ac_file" ||
19042 as_fn_error $? "cannot link or copy $ac_source to $ac_file" "$LINENO" 5
19045 :C) { $as_echo "$as_me:${as_lineno-$LINENO}: executing $ac_file commands" >&5
19046 $as_echo "$as_me: executing $ac_file commands" >&6;}
19048 esac
19051 case $ac_file$ac_mode in
19052 "include/stamp-h":C) echo timestamp > include/stamp-h ;;
19053 "tools/makedep":C) wine_fn_output_makedep || as_fn_exit $? ;;
19054 "Makefile":C) wine_fn_output_makefile Makefile ;;
19055 ".gitignore":C) wine_fn_output_gitignore .gitignore ;;
19057 esac
19058 done # for ac_tag
19061 as_fn_exit 0
19062 _ACEOF
19063 ac_clean_files=$ac_clean_files_save
19065 test $ac_write_fail = 0 ||
19066 as_fn_error $? "write failure creating $CONFIG_STATUS" "$LINENO" 5
19069 # configure is writing to config.log, and then calls config.status.
19070 # config.status does its own redirection, appending to config.log.
19071 # Unfortunately, on DOS this fails, as config.log is still kept open
19072 # by configure, so config.status won't be able to write to it; its
19073 # output is simply discarded. So we exec the FD to /dev/null,
19074 # effectively closing config.log, so it can be properly (re)opened and
19075 # appended to by config.status. When coming back to configure, we
19076 # need to make the FD available again.
19077 if test "$no_create" != yes; then
19078 ac_cs_success=:
19079 ac_config_status_args=
19080 test "$silent" = yes &&
19081 ac_config_status_args="$ac_config_status_args --quiet"
19082 exec 5>/dev/null
19083 $SHELL $CONFIG_STATUS $ac_config_status_args || ac_cs_success=false
19084 exec 5>>config.log
19085 # Use ||, not &&, to avoid exiting from the if with $? = 1, which
19086 # would make configure fail if this is the last instruction.
19087 $ac_cs_success || as_fn_exit 1
19089 if test -n "$ac_unrecognized_opts" && test "$enable_option_checking" != no; then
19090 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: unrecognized options: $ac_unrecognized_opts" >&5
19091 $as_echo "$as_me: WARNING: unrecognized options: $ac_unrecognized_opts" >&2;}
19095 if test "$no_create" = "yes"
19096 then
19097 exit 0
19100 ac_save_IFS="$IFS"
19101 if test "x$wine_notices != "x; then
19102 echo >&6
19103 IFS="|"
19104 for msg in $wine_notices; do
19105 IFS="$ac_save_IFS"
19106 if ${msg:+false} :; then :
19108 else
19109 { $as_echo "$as_me:${as_lineno-$LINENO}: $msg" >&5
19110 $as_echo "$as_me: $msg" >&6;}
19112 done
19114 IFS="|"
19115 for msg in $wine_warnings; do
19116 IFS="$ac_save_IFS"
19117 if ${msg:+false} :; then :
19119 else
19120 echo >&2
19121 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $msg" >&5
19122 $as_echo "$as_me: WARNING: $msg" >&2;}
19124 done
19125 IFS="$ac_save_IFS"
19127 $as_echo "
19128 $as_me: Finished. Do '${ac_make}' to compile Wine.
19129 " >&6