winetest: Skip over stub dll if detected.
[wine.git] / configure
blobbe06b95b8459f30bbdc06064740799b7c874d260
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_debug_l1_1_1
859 enable_api_ms_win_core_errorhandling_l1_1_1
860 enable_api_ms_win_core_file_l1_2_0
861 enable_api_ms_win_core_file_l2_1_1
862 enable_api_ms_win_core_handle_l1_1_0
863 enable_api_ms_win_core_heap_l1_2_0
864 enable_api_ms_win_core_heap_obsolete_l1_1_0
865 enable_api_ms_win_core_interlocked_l1_2_0
866 enable_api_ms_win_core_io_l1_1_1
867 enable_api_ms_win_core_kernel32_legacy_l1_1_0
868 enable_api_ms_win_core_libraryloader_l1_1_1
869 enable_api_ms_win_core_localization_l1_2_0
870 enable_api_ms_win_core_localization_obsolete_l1_1_0
871 enable_api_ms_win_core_localregistry_l1_1_0
872 enable_api_ms_win_core_memory_l1_1_1
873 enable_api_ms_win_core_namedpipe_l1_2_0
874 enable_api_ms_win_core_processenvironment_l1_2_0
875 enable_api_ms_win_core_processthreads_l1_1_0
876 enable_api_ms_win_core_processthreads_l1_1_1
877 enable_api_ms_win_core_processthreads_l1_1_2
878 enable_api_ms_win_core_profile_l1_1_0
879 enable_api_ms_win_core_psapi_l1_1_0
880 enable_api_ms_win_core_registry_l1_1_0
881 enable_api_ms_win_core_rtlsupport_l1_2_0
882 enable_api_ms_win_core_shlwapi_legacy_l1_1_0
883 enable_api_ms_win_core_string_l1_1_0
884 enable_api_ms_win_core_synch_l1_2_0
885 enable_api_ms_win_core_sysinfo_l1_2_0
886 enable_api_ms_win_core_sysinfo_l1_2_1
887 enable_api_ms_win_core_threadpool_legacy_l1_1_0
888 enable_api_ms_win_core_timezone_l1_1_0
889 enable_api_ms_win_core_url_l1_1_0
890 enable_api_ms_win_core_util_l1_1_0
891 enable_api_ms_win_core_winrt_error_l1_1_0
892 enable_api_ms_win_core_winrt_l1_1_0
893 enable_api_ms_win_core_winrt_string_l1_1_0
894 enable_api_ms_win_downlevel_advapi32_l1_1_0
895 enable_api_ms_win_downlevel_advapi32_l2_1_0
896 enable_api_ms_win_downlevel_normaliz_l1_1_0
897 enable_api_ms_win_downlevel_ole32_l1_1_0
898 enable_api_ms_win_downlevel_shell32_l1_1_0
899 enable_api_ms_win_downlevel_shlwapi_l1_1_0
900 enable_api_ms_win_downlevel_shlwapi_l2_1_0
901 enable_api_ms_win_downlevel_user32_l1_1_0
902 enable_api_ms_win_downlevel_version_l1_1_0
903 enable_api_ms_win_eventing_provider_l1_1_0
904 enable_api_ms_win_ntuser_dc_access_l1_1_0
905 enable_api_ms_win_security_base_l1_1_0
906 enable_api_ms_win_security_base_l1_2_0
907 enable_api_ms_win_security_sddl_l1_1_0
908 enable_api_ms_win_service_core_l1_1_1
909 enable_api_ms_win_service_management_l1_1_0
910 enable_api_ms_win_service_winsvc_l1_2_0
911 enable_apphelp
912 enable_appwiz_cpl
913 enable_atl
914 enable_atl100
915 enable_atl110
916 enable_atl80
917 enable_atl90
918 enable_authz
919 enable_avicap32
920 enable_avifil32
921 enable_avrt
922 enable_bcrypt
923 enable_browseui
924 enable_cabinet
925 enable_capi2032
926 enable_cards
927 enable_cfgmgr32
928 enable_clusapi
929 enable_comcat
930 enable_comctl32
931 enable_comdlg32
932 enable_compstui
933 enable_comsvcs
934 enable_credui
935 enable_crtdll
936 enable_crypt32
937 enable_cryptdlg
938 enable_cryptdll
939 enable_cryptext
940 enable_cryptnet
941 enable_cryptui
942 enable_ctapi32
943 enable_ctl3d32
944 enable_d2d1
945 enable_d3d10
946 enable_d3d10_1
947 enable_d3d10core
948 enable_d3d11
949 enable_d3d8
950 enable_d3d9
951 enable_d3dcompiler_33
952 enable_d3dcompiler_34
953 enable_d3dcompiler_35
954 enable_d3dcompiler_36
955 enable_d3dcompiler_37
956 enable_d3dcompiler_38
957 enable_d3dcompiler_39
958 enable_d3dcompiler_40
959 enable_d3dcompiler_41
960 enable_d3dcompiler_42
961 enable_d3dcompiler_43
962 enable_d3dim
963 enable_d3drm
964 enable_d3dx10_33
965 enable_d3dx10_34
966 enable_d3dx10_35
967 enable_d3dx10_36
968 enable_d3dx10_37
969 enable_d3dx10_38
970 enable_d3dx10_39
971 enable_d3dx10_40
972 enable_d3dx10_41
973 enable_d3dx10_42
974 enable_d3dx10_43
975 enable_d3dx11_42
976 enable_d3dx11_43
977 enable_d3dx9_24
978 enable_d3dx9_25
979 enable_d3dx9_26
980 enable_d3dx9_27
981 enable_d3dx9_28
982 enable_d3dx9_29
983 enable_d3dx9_30
984 enable_d3dx9_31
985 enable_d3dx9_32
986 enable_d3dx9_33
987 enable_d3dx9_34
988 enable_d3dx9_35
989 enable_d3dx9_36
990 enable_d3dx9_37
991 enable_d3dx9_38
992 enable_d3dx9_39
993 enable_d3dx9_40
994 enable_d3dx9_41
995 enable_d3dx9_42
996 enable_d3dx9_43
997 enable_d3dxof
998 enable_dbgeng
999 enable_dbghelp
1000 enable_dciman32
1001 enable_ddraw
1002 enable_ddrawex
1003 enable_devenum
1004 enable_dhcpcsvc
1005 enable_difxapi
1006 enable_dinput
1007 enable_dinput8
1008 enable_dispex
1009 enable_dmband
1010 enable_dmcompos
1011 enable_dmime
1012 enable_dmloader
1013 enable_dmscript
1014 enable_dmstyle
1015 enable_dmsynth
1016 enable_dmusic
1017 enable_dmusic32
1018 enable_dnsapi
1019 enable_dplay
1020 enable_dplayx
1021 enable_dpnaddr
1022 enable_dpnet
1023 enable_dpnhpast
1024 enable_dpnlobby
1025 enable_dpvoice
1026 enable_dpwsockx
1027 enable_drmclien
1028 enable_dsound
1029 enable_dssenh
1030 enable_dswave
1031 enable_dwmapi
1032 enable_dwrite
1033 enable_dxdiagn
1034 enable_dxgi
1035 enable_dxva2
1036 enable_explorerframe
1037 enable_ext_ms_win_gdi_devcaps_l1_1_0
1038 enable_faultrep
1039 enable_fltlib
1040 enable_fntcache
1041 enable_fontsub
1042 enable_fusion
1043 enable_fwpuclnt
1044 enable_gameux
1045 enable_gdi32
1046 enable_gdiplus
1047 enable_glu32
1048 enable_gphoto2_ds
1049 enable_gpkcsp
1050 enable_hal
1051 enable_hhctrl_ocx
1052 enable_hid
1053 enable_hlink
1054 enable_hnetcfg
1055 enable_httpapi
1056 enable_iccvid
1057 enable_icmp
1058 enable_ieframe
1059 enable_imaadp32_acm
1060 enable_imagehlp
1061 enable_imm32
1062 enable_inetcomm
1063 enable_inetcpl_cpl
1064 enable_inetmib1
1065 enable_infosoft
1066 enable_initpki
1067 enable_inkobj
1068 enable_inseng
1069 enable_iphlpapi
1070 enable_itircl
1071 enable_itss
1072 enable_joy_cpl
1073 enable_jscript
1074 enable_jsproxy
1075 enable_kernel32
1076 enable_ksuser
1077 enable_ktmw32
1078 enable_loadperf
1079 enable_localspl
1080 enable_localui
1081 enable_lz32
1082 enable_mapi32
1083 enable_mapistub
1084 enable_mciavi32
1085 enable_mcicda
1086 enable_mciqtz32
1087 enable_mciseq
1088 enable_mciwave
1089 enable_mgmtapi
1090 enable_midimap
1091 enable_mlang
1092 enable_mmcndmgr
1093 enable_mmdevapi
1094 enable_mountmgr_sys
1095 enable_mpr
1096 enable_mprapi
1097 enable_msacm32_drv
1098 enable_msacm32
1099 enable_msadp32_acm
1100 enable_msasn1
1101 enable_mscat32
1102 enable_mscms
1103 enable_mscoree
1104 enable_msctf
1105 enable_msdaps
1106 enable_msdmo
1107 enable_msftedit
1108 enable_msg711_acm
1109 enable_msgsm32_acm
1110 enable_mshtml_tlb
1111 enable_mshtml
1112 enable_msi
1113 enable_msident
1114 enable_msimg32
1115 enable_msimsg
1116 enable_msimtf
1117 enable_msisip
1118 enable_msisys_ocx
1119 enable_msls31
1120 enable_msnet32
1121 enable_mspatcha
1122 enable_msrle32
1123 enable_mssign32
1124 enable_mssip32
1125 enable_mstask
1126 enable_msvcirt
1127 enable_msvcm80
1128 enable_msvcm90
1129 enable_msvcp100
1130 enable_msvcp110
1131 enable_msvcp120
1132 enable_msvcp60
1133 enable_msvcp70
1134 enable_msvcp71
1135 enable_msvcp80
1136 enable_msvcp90
1137 enable_msvcr100
1138 enable_msvcr110
1139 enable_msvcr120
1140 enable_msvcr70
1141 enable_msvcr71
1142 enable_msvcr80
1143 enable_msvcr90
1144 enable_msvcrt
1145 enable_msvcrt20
1146 enable_msvcrt40
1147 enable_msvcrtd
1148 enable_msvfw32
1149 enable_msvidc32
1150 enable_mswsock
1151 enable_msxml
1152 enable_msxml2
1153 enable_msxml3
1154 enable_msxml4
1155 enable_msxml6
1156 enable_nddeapi
1157 enable_ndis_sys
1158 enable_netapi32
1159 enable_netcfgx
1160 enable_netprofm
1161 enable_newdev
1162 enable_normaliz
1163 enable_npmshtml
1164 enable_npptools
1165 enable_ntdll
1166 enable_ntdsapi
1167 enable_ntoskrnl_exe
1168 enable_ntprint
1169 enable_objsel
1170 enable_odbc32
1171 enable_odbccp32
1172 enable_odbccu32
1173 enable_ole32
1174 enable_oleacc
1175 enable_oleaut32
1176 enable_olecli32
1177 enable_oledb32
1178 enable_oledlg
1179 enable_olepro32
1180 enable_olesvr32
1181 enable_olethk32
1182 enable_openal32
1183 enable_opencl
1184 enable_opengl32
1185 enable_packager
1186 enable_pdh
1187 enable_photometadatahandler
1188 enable_pidgen
1189 enable_powrprof
1190 enable_printui
1191 enable_prntvpt
1192 enable_propsys
1193 enable_psapi
1194 enable_pstorec
1195 enable_qcap
1196 enable_qedit
1197 enable_qmgr
1198 enable_qmgrprxy
1199 enable_quartz
1200 enable_query
1201 enable_rasapi32
1202 enable_rasdlg
1203 enable_regapi
1204 enable_resutils
1205 enable_riched20
1206 enable_riched32
1207 enable_rpcrt4
1208 enable_rsabase
1209 enable_rsaenh
1210 enable_rstrtmgr
1211 enable_rtutils
1212 enable_samlib
1213 enable_sane_ds
1214 enable_scarddlg
1215 enable_sccbase
1216 enable_schannel
1217 enable_schedsvc
1218 enable_scrrun
1219 enable_scsiport_sys
1220 enable_secur32
1221 enable_security
1222 enable_sensapi
1223 enable_serialui
1224 enable_setupapi
1225 enable_sfc
1226 enable_sfc_os
1227 enable_shdoclc
1228 enable_shdocvw
1229 enable_shell32
1230 enable_shfolder
1231 enable_shlwapi
1232 enable_slbcsp
1233 enable_slc
1234 enable_snmpapi
1235 enable_softpub
1236 enable_spoolss
1237 enable_stdole2_tlb
1238 enable_stdole32_tlb
1239 enable_sti
1240 enable_svrapi
1241 enable_sxs
1242 enable_t2embed
1243 enable_tapi32
1244 enable_taskschd
1245 enable_traffic
1246 enable_twain_32
1247 enable_unicows
1248 enable_updspapi
1249 enable_url
1250 enable_urlmon
1251 enable_usbd_sys
1252 enable_user32
1253 enable_userenv
1254 enable_usp10
1255 enable_uxtheme
1256 enable_vbscript
1257 enable_vcomp
1258 enable_vcomp100
1259 enable_vcomp90
1260 enable_vdmdbg
1261 enable_version
1262 enable_vssapi
1263 enable_wbemdisp
1264 enable_wbemprox
1265 enable_webservices
1266 enable_wer
1267 enable_wevtapi
1268 enable_wiaservc
1269 enable_windowscodecs
1270 enable_windowscodecsext
1271 enable_winealsa_drv
1272 enable_winecoreaudio_drv
1273 enable_wined3d
1274 enable_winegstreamer
1275 enable_winejoystick_drv
1276 enable_winemac_drv
1277 enable_winemapi
1278 enable_winemp3_acm
1279 enable_wineoss_drv
1280 enable_wineps_drv
1281 enable_wineqtdecoder
1282 enable_winex11_drv
1283 enable_wing32
1284 enable_winhttp
1285 enable_wininet
1286 enable_winmm
1287 enable_winnls32
1288 enable_winscard
1289 enable_winspool_drv
1290 enable_winsta
1291 enable_wintab32
1292 enable_wintrust
1293 enable_wlanapi
1294 enable_wldap32
1295 enable_wmi
1296 enable_wmiutils
1297 enable_wmp
1298 enable_wmvcore
1299 enable_wnaspi32
1300 enable_wpcap
1301 enable_ws2_32
1302 enable_wshom_ocx
1303 enable_wsnmp32
1304 enable_wsock32
1305 enable_wtsapi32
1306 enable_wuapi
1307 enable_wuaueng
1308 enable_xapofx1_1
1309 enable_xinput1_1
1310 enable_xinput1_2
1311 enable_xinput1_3
1312 enable_xinput1_4
1313 enable_xinput9_1_0
1314 enable_xmllite
1315 enable_xolehlp
1316 enable_xpsprint
1317 enable_xpssvcs
1318 enable_documentation
1319 enable_fonts
1320 enable_include
1321 enable_libs_port
1322 enable_libs_wine
1323 enable_libs_wpp
1324 enable_loader
1325 enable_arp
1326 enable_aspnet_regiis
1327 enable_attrib
1328 enable_cabarc
1329 enable_cacls
1330 enable_clock
1331 enable_cmd
1332 enable_conhost
1333 enable_control
1334 enable_cscript
1335 enable_dpnsvr
1336 enable_dxdiag
1337 enable_eject
1338 enable_expand
1339 enable_explorer
1340 enable_extrac32
1341 enable_findstr
1342 enable_hh
1343 enable_hostname
1344 enable_icinfo
1345 enable_iexplore
1346 enable_ipconfig
1347 enable_lodctr
1348 enable_mofcomp
1349 enable_mshta
1350 enable_msiexec
1351 enable_net
1352 enable_netsh
1353 enable_netstat
1354 enable_ngen
1355 enable_notepad
1356 enable_oleview
1357 enable_ping
1358 enable_plugplay
1359 enable_presentationfontcache
1360 enable_progman
1361 enable_reg
1362 enable_regasm
1363 enable_regedit
1364 enable_regsvcs
1365 enable_regsvr32
1366 enable_rpcss
1367 enable_rundll32
1368 enable_sc
1369 enable_schtasks
1370 enable_sdbinst
1371 enable_secedit
1372 enable_servicemodelreg
1373 enable_services
1374 enable_spoolsv
1375 enable_start
1376 enable_svchost
1377 enable_systeminfo
1378 enable_taskkill
1379 enable_tasklist
1380 enable_taskmgr
1381 enable_termsv
1382 enable_uninstaller
1383 enable_unlodctr
1384 enable_view
1385 enable_wevtutil
1386 enable_wineboot
1387 enable_winebrowser
1388 enable_winecfg
1389 enable_wineconsole
1390 enable_winedbg
1391 enable_winedevice
1392 enable_winefile
1393 enable_winemenubuilder
1394 enable_winemine
1395 enable_winemsibuilder
1396 enable_winepath
1397 enable_winetest
1398 enable_winhlp32
1399 enable_winver
1400 enable_wmic
1401 enable_wordpad
1402 enable_write
1403 enable_wscript
1404 enable_wusa
1405 enable_xcopy
1406 enable_server
1407 enable_tools
1409 ac_precious_vars='build_alias
1410 host_alias
1411 target_alias
1413 CFLAGS
1414 LDFLAGS
1415 LIBS
1416 CPPFLAGS
1418 CXXFLAGS
1421 XMKMF
1422 XML2_CFLAGS
1423 XML2_LIBS
1424 XSLT_CFLAGS
1425 XSLT_LIBS
1426 DBUS_CFLAGS
1427 DBUS_LIBS
1428 HAL_CFLAGS
1429 HAL_LIBS
1430 GNUTLS_CFLAGS
1431 GNUTLS_LIBS
1432 SANE_CFLAGS
1433 SANE_LIBS
1434 GPHOTO2_CFLAGS
1435 GPHOTO2_LIBS
1436 GPHOTO2_PORT_CFLAGS
1437 GPHOTO2_PORT_LIBS
1438 LCMS2_CFLAGS
1439 LCMS2_LIBS
1440 FREETYPE_CFLAGS
1441 FREETYPE_LIBS
1442 GSTREAMER_CFLAGS
1443 GSTREAMER_LIBS
1444 CAPI20_CFLAGS
1445 CAPI20_LIBS
1446 FONTCONFIG_CFLAGS
1447 FONTCONFIG_LIBS
1448 JPEG_CFLAGS
1449 JPEG_LIBS
1450 PNG_CFLAGS
1451 PNG_LIBS
1452 TIFF_CFLAGS
1453 TIFF_LIBS
1454 MPG123_CFLAGS
1455 MPG123_LIBS'
1458 # Initialize some variables set by options.
1459 ac_init_help=
1460 ac_init_version=false
1461 ac_unrecognized_opts=
1462 ac_unrecognized_sep=
1463 # The variables have the same names as the options, with
1464 # dashes changed to underlines.
1465 cache_file=/dev/null
1466 exec_prefix=NONE
1467 no_create=
1468 no_recursion=
1469 prefix=NONE
1470 program_prefix=NONE
1471 program_suffix=NONE
1472 program_transform_name=s,x,x,
1473 silent=
1474 site=
1475 srcdir=
1476 verbose=
1477 x_includes=NONE
1478 x_libraries=NONE
1480 # Installation directory options.
1481 # These are left unexpanded so users can "make install exec_prefix=/foo"
1482 # and all the variables that are supposed to be based on exec_prefix
1483 # by default will actually change.
1484 # Use braces instead of parens because sh, perl, etc. also accept them.
1485 # (The list follows the same order as the GNU Coding Standards.)
1486 bindir='${exec_prefix}/bin'
1487 sbindir='${exec_prefix}/sbin'
1488 libexecdir='${exec_prefix}/libexec'
1489 datarootdir='${prefix}/share'
1490 datadir='${datarootdir}'
1491 sysconfdir='${prefix}/etc'
1492 sharedstatedir='${prefix}/com'
1493 localstatedir='${prefix}/var'
1494 includedir='${prefix}/include'
1495 oldincludedir='/usr/include'
1496 docdir='${datarootdir}/doc/${PACKAGE_TARNAME}'
1497 infodir='${datarootdir}/info'
1498 htmldir='${docdir}'
1499 dvidir='${docdir}'
1500 pdfdir='${docdir}'
1501 psdir='${docdir}'
1502 libdir='${exec_prefix}/lib'
1503 localedir='${datarootdir}/locale'
1504 mandir='${datarootdir}/man'
1506 ac_prev=
1507 ac_dashdash=
1508 for ac_option
1510 # If the previous option needs an argument, assign it.
1511 if test -n "$ac_prev"; then
1512 eval $ac_prev=\$ac_option
1513 ac_prev=
1514 continue
1517 case $ac_option in
1518 *=?*) ac_optarg=`expr "X$ac_option" : '[^=]*=\(.*\)'` ;;
1519 *=) ac_optarg= ;;
1520 *) ac_optarg=yes ;;
1521 esac
1523 # Accept the important Cygnus configure options, so we can diagnose typos.
1525 case $ac_dashdash$ac_option in
1527 ac_dashdash=yes ;;
1529 -bindir | --bindir | --bindi | --bind | --bin | --bi)
1530 ac_prev=bindir ;;
1531 -bindir=* | --bindir=* | --bindi=* | --bind=* | --bin=* | --bi=*)
1532 bindir=$ac_optarg ;;
1534 -build | --build | --buil | --bui | --bu)
1535 ac_prev=build_alias ;;
1536 -build=* | --build=* | --buil=* | --bui=* | --bu=*)
1537 build_alias=$ac_optarg ;;
1539 -cache-file | --cache-file | --cache-fil | --cache-fi \
1540 | --cache-f | --cache- | --cache | --cach | --cac | --ca | --c)
1541 ac_prev=cache_file ;;
1542 -cache-file=* | --cache-file=* | --cache-fil=* | --cache-fi=* \
1543 | --cache-f=* | --cache-=* | --cache=* | --cach=* | --cac=* | --ca=* | --c=*)
1544 cache_file=$ac_optarg ;;
1546 --config-cache | -C)
1547 cache_file=config.cache ;;
1549 -datadir | --datadir | --datadi | --datad)
1550 ac_prev=datadir ;;
1551 -datadir=* | --datadir=* | --datadi=* | --datad=*)
1552 datadir=$ac_optarg ;;
1554 -datarootdir | --datarootdir | --datarootdi | --datarootd | --dataroot \
1555 | --dataroo | --dataro | --datar)
1556 ac_prev=datarootdir ;;
1557 -datarootdir=* | --datarootdir=* | --datarootdi=* | --datarootd=* \
1558 | --dataroot=* | --dataroo=* | --dataro=* | --datar=*)
1559 datarootdir=$ac_optarg ;;
1561 -disable-* | --disable-*)
1562 ac_useropt=`expr "x$ac_option" : 'x-*disable-\(.*\)'`
1563 # Reject names that are not valid shell variable names.
1564 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
1565 as_fn_error $? "invalid feature name: $ac_useropt"
1566 ac_useropt_orig=$ac_useropt
1567 ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
1568 case $ac_user_opts in
1570 "enable_$ac_useropt"
1571 "*) ;;
1572 *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--disable-$ac_useropt_orig"
1573 ac_unrecognized_sep=', ';;
1574 esac
1575 eval enable_$ac_useropt=no ;;
1577 -docdir | --docdir | --docdi | --doc | --do)
1578 ac_prev=docdir ;;
1579 -docdir=* | --docdir=* | --docdi=* | --doc=* | --do=*)
1580 docdir=$ac_optarg ;;
1582 -dvidir | --dvidir | --dvidi | --dvid | --dvi | --dv)
1583 ac_prev=dvidir ;;
1584 -dvidir=* | --dvidir=* | --dvidi=* | --dvid=* | --dvi=* | --dv=*)
1585 dvidir=$ac_optarg ;;
1587 -enable-* | --enable-*)
1588 ac_useropt=`expr "x$ac_option" : 'x-*enable-\([^=]*\)'`
1589 # Reject names that are not valid shell variable names.
1590 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
1591 as_fn_error $? "invalid feature name: $ac_useropt"
1592 ac_useropt_orig=$ac_useropt
1593 ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
1594 case $ac_user_opts in
1596 "enable_$ac_useropt"
1597 "*) ;;
1598 *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--enable-$ac_useropt_orig"
1599 ac_unrecognized_sep=', ';;
1600 esac
1601 eval enable_$ac_useropt=\$ac_optarg ;;
1603 -exec-prefix | --exec_prefix | --exec-prefix | --exec-prefi \
1604 | --exec-pref | --exec-pre | --exec-pr | --exec-p | --exec- \
1605 | --exec | --exe | --ex)
1606 ac_prev=exec_prefix ;;
1607 -exec-prefix=* | --exec_prefix=* | --exec-prefix=* | --exec-prefi=* \
1608 | --exec-pref=* | --exec-pre=* | --exec-pr=* | --exec-p=* | --exec-=* \
1609 | --exec=* | --exe=* | --ex=*)
1610 exec_prefix=$ac_optarg ;;
1612 -gas | --gas | --ga | --g)
1613 # Obsolete; use --with-gas.
1614 with_gas=yes ;;
1616 -help | --help | --hel | --he | -h)
1617 ac_init_help=long ;;
1618 -help=r* | --help=r* | --hel=r* | --he=r* | -hr*)
1619 ac_init_help=recursive ;;
1620 -help=s* | --help=s* | --hel=s* | --he=s* | -hs*)
1621 ac_init_help=short ;;
1623 -host | --host | --hos | --ho)
1624 ac_prev=host_alias ;;
1625 -host=* | --host=* | --hos=* | --ho=*)
1626 host_alias=$ac_optarg ;;
1628 -htmldir | --htmldir | --htmldi | --htmld | --html | --htm | --ht)
1629 ac_prev=htmldir ;;
1630 -htmldir=* | --htmldir=* | --htmldi=* | --htmld=* | --html=* | --htm=* \
1631 | --ht=*)
1632 htmldir=$ac_optarg ;;
1634 -includedir | --includedir | --includedi | --included | --include \
1635 | --includ | --inclu | --incl | --inc)
1636 ac_prev=includedir ;;
1637 -includedir=* | --includedir=* | --includedi=* | --included=* | --include=* \
1638 | --includ=* | --inclu=* | --incl=* | --inc=*)
1639 includedir=$ac_optarg ;;
1641 -infodir | --infodir | --infodi | --infod | --info | --inf)
1642 ac_prev=infodir ;;
1643 -infodir=* | --infodir=* | --infodi=* | --infod=* | --info=* | --inf=*)
1644 infodir=$ac_optarg ;;
1646 -libdir | --libdir | --libdi | --libd)
1647 ac_prev=libdir ;;
1648 -libdir=* | --libdir=* | --libdi=* | --libd=*)
1649 libdir=$ac_optarg ;;
1651 -libexecdir | --libexecdir | --libexecdi | --libexecd | --libexec \
1652 | --libexe | --libex | --libe)
1653 ac_prev=libexecdir ;;
1654 -libexecdir=* | --libexecdir=* | --libexecdi=* | --libexecd=* | --libexec=* \
1655 | --libexe=* | --libex=* | --libe=*)
1656 libexecdir=$ac_optarg ;;
1658 -localedir | --localedir | --localedi | --localed | --locale)
1659 ac_prev=localedir ;;
1660 -localedir=* | --localedir=* | --localedi=* | --localed=* | --locale=*)
1661 localedir=$ac_optarg ;;
1663 -localstatedir | --localstatedir | --localstatedi | --localstated \
1664 | --localstate | --localstat | --localsta | --localst | --locals)
1665 ac_prev=localstatedir ;;
1666 -localstatedir=* | --localstatedir=* | --localstatedi=* | --localstated=* \
1667 | --localstate=* | --localstat=* | --localsta=* | --localst=* | --locals=*)
1668 localstatedir=$ac_optarg ;;
1670 -mandir | --mandir | --mandi | --mand | --man | --ma | --m)
1671 ac_prev=mandir ;;
1672 -mandir=* | --mandir=* | --mandi=* | --mand=* | --man=* | --ma=* | --m=*)
1673 mandir=$ac_optarg ;;
1675 -nfp | --nfp | --nf)
1676 # Obsolete; use --without-fp.
1677 with_fp=no ;;
1679 -no-create | --no-create | --no-creat | --no-crea | --no-cre \
1680 | --no-cr | --no-c | -n)
1681 no_create=yes ;;
1683 -no-recursion | --no-recursion | --no-recursio | --no-recursi \
1684 | --no-recurs | --no-recur | --no-recu | --no-rec | --no-re | --no-r)
1685 no_recursion=yes ;;
1687 -oldincludedir | --oldincludedir | --oldincludedi | --oldincluded \
1688 | --oldinclude | --oldinclud | --oldinclu | --oldincl | --oldinc \
1689 | --oldin | --oldi | --old | --ol | --o)
1690 ac_prev=oldincludedir ;;
1691 -oldincludedir=* | --oldincludedir=* | --oldincludedi=* | --oldincluded=* \
1692 | --oldinclude=* | --oldinclud=* | --oldinclu=* | --oldincl=* | --oldinc=* \
1693 | --oldin=* | --oldi=* | --old=* | --ol=* | --o=*)
1694 oldincludedir=$ac_optarg ;;
1696 -prefix | --prefix | --prefi | --pref | --pre | --pr | --p)
1697 ac_prev=prefix ;;
1698 -prefix=* | --prefix=* | --prefi=* | --pref=* | --pre=* | --pr=* | --p=*)
1699 prefix=$ac_optarg ;;
1701 -program-prefix | --program-prefix | --program-prefi | --program-pref \
1702 | --program-pre | --program-pr | --program-p)
1703 ac_prev=program_prefix ;;
1704 -program-prefix=* | --program-prefix=* | --program-prefi=* \
1705 | --program-pref=* | --program-pre=* | --program-pr=* | --program-p=*)
1706 program_prefix=$ac_optarg ;;
1708 -program-suffix | --program-suffix | --program-suffi | --program-suff \
1709 | --program-suf | --program-su | --program-s)
1710 ac_prev=program_suffix ;;
1711 -program-suffix=* | --program-suffix=* | --program-suffi=* \
1712 | --program-suff=* | --program-suf=* | --program-su=* | --program-s=*)
1713 program_suffix=$ac_optarg ;;
1715 -program-transform-name | --program-transform-name \
1716 | --program-transform-nam | --program-transform-na \
1717 | --program-transform-n | --program-transform- \
1718 | --program-transform | --program-transfor \
1719 | --program-transfo | --program-transf \
1720 | --program-trans | --program-tran \
1721 | --progr-tra | --program-tr | --program-t)
1722 ac_prev=program_transform_name ;;
1723 -program-transform-name=* | --program-transform-name=* \
1724 | --program-transform-nam=* | --program-transform-na=* \
1725 | --program-transform-n=* | --program-transform-=* \
1726 | --program-transform=* | --program-transfor=* \
1727 | --program-transfo=* | --program-transf=* \
1728 | --program-trans=* | --program-tran=* \
1729 | --progr-tra=* | --program-tr=* | --program-t=*)
1730 program_transform_name=$ac_optarg ;;
1732 -pdfdir | --pdfdir | --pdfdi | --pdfd | --pdf | --pd)
1733 ac_prev=pdfdir ;;
1734 -pdfdir=* | --pdfdir=* | --pdfdi=* | --pdfd=* | --pdf=* | --pd=*)
1735 pdfdir=$ac_optarg ;;
1737 -psdir | --psdir | --psdi | --psd | --ps)
1738 ac_prev=psdir ;;
1739 -psdir=* | --psdir=* | --psdi=* | --psd=* | --ps=*)
1740 psdir=$ac_optarg ;;
1742 -q | -quiet | --quiet | --quie | --qui | --qu | --q \
1743 | -silent | --silent | --silen | --sile | --sil)
1744 silent=yes ;;
1746 -sbindir | --sbindir | --sbindi | --sbind | --sbin | --sbi | --sb)
1747 ac_prev=sbindir ;;
1748 -sbindir=* | --sbindir=* | --sbindi=* | --sbind=* | --sbin=* \
1749 | --sbi=* | --sb=*)
1750 sbindir=$ac_optarg ;;
1752 -sharedstatedir | --sharedstatedir | --sharedstatedi \
1753 | --sharedstated | --sharedstate | --sharedstat | --sharedsta \
1754 | --sharedst | --shareds | --shared | --share | --shar \
1755 | --sha | --sh)
1756 ac_prev=sharedstatedir ;;
1757 -sharedstatedir=* | --sharedstatedir=* | --sharedstatedi=* \
1758 | --sharedstated=* | --sharedstate=* | --sharedstat=* | --sharedsta=* \
1759 | --sharedst=* | --shareds=* | --shared=* | --share=* | --shar=* \
1760 | --sha=* | --sh=*)
1761 sharedstatedir=$ac_optarg ;;
1763 -site | --site | --sit)
1764 ac_prev=site ;;
1765 -site=* | --site=* | --sit=*)
1766 site=$ac_optarg ;;
1768 -srcdir | --srcdir | --srcdi | --srcd | --src | --sr)
1769 ac_prev=srcdir ;;
1770 -srcdir=* | --srcdir=* | --srcdi=* | --srcd=* | --src=* | --sr=*)
1771 srcdir=$ac_optarg ;;
1773 -sysconfdir | --sysconfdir | --sysconfdi | --sysconfd | --sysconf \
1774 | --syscon | --sysco | --sysc | --sys | --sy)
1775 ac_prev=sysconfdir ;;
1776 -sysconfdir=* | --sysconfdir=* | --sysconfdi=* | --sysconfd=* | --sysconf=* \
1777 | --syscon=* | --sysco=* | --sysc=* | --sys=* | --sy=*)
1778 sysconfdir=$ac_optarg ;;
1780 -target | --target | --targe | --targ | --tar | --ta | --t)
1781 ac_prev=target_alias ;;
1782 -target=* | --target=* | --targe=* | --targ=* | --tar=* | --ta=* | --t=*)
1783 target_alias=$ac_optarg ;;
1785 -v | -verbose | --verbose | --verbos | --verbo | --verb)
1786 verbose=yes ;;
1788 -version | --version | --versio | --versi | --vers | -V)
1789 ac_init_version=: ;;
1791 -with-* | --with-*)
1792 ac_useropt=`expr "x$ac_option" : 'x-*with-\([^=]*\)'`
1793 # Reject names that are not valid shell variable names.
1794 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
1795 as_fn_error $? "invalid package name: $ac_useropt"
1796 ac_useropt_orig=$ac_useropt
1797 ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
1798 case $ac_user_opts in
1800 "with_$ac_useropt"
1801 "*) ;;
1802 *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--with-$ac_useropt_orig"
1803 ac_unrecognized_sep=', ';;
1804 esac
1805 eval with_$ac_useropt=\$ac_optarg ;;
1807 -without-* | --without-*)
1808 ac_useropt=`expr "x$ac_option" : 'x-*without-\(.*\)'`
1809 # Reject names that are not valid shell variable names.
1810 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
1811 as_fn_error $? "invalid package name: $ac_useropt"
1812 ac_useropt_orig=$ac_useropt
1813 ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
1814 case $ac_user_opts in
1816 "with_$ac_useropt"
1817 "*) ;;
1818 *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--without-$ac_useropt_orig"
1819 ac_unrecognized_sep=', ';;
1820 esac
1821 eval with_$ac_useropt=no ;;
1823 --x)
1824 # Obsolete; use --with-x.
1825 with_x=yes ;;
1827 -x-includes | --x-includes | --x-include | --x-includ | --x-inclu \
1828 | --x-incl | --x-inc | --x-in | --x-i)
1829 ac_prev=x_includes ;;
1830 -x-includes=* | --x-includes=* | --x-include=* | --x-includ=* | --x-inclu=* \
1831 | --x-incl=* | --x-inc=* | --x-in=* | --x-i=*)
1832 x_includes=$ac_optarg ;;
1834 -x-libraries | --x-libraries | --x-librarie | --x-librari \
1835 | --x-librar | --x-libra | --x-libr | --x-lib | --x-li | --x-l)
1836 ac_prev=x_libraries ;;
1837 -x-libraries=* | --x-libraries=* | --x-librarie=* | --x-librari=* \
1838 | --x-librar=* | --x-libra=* | --x-libr=* | --x-lib=* | --x-li=* | --x-l=*)
1839 x_libraries=$ac_optarg ;;
1841 -*) as_fn_error $? "unrecognized option: \`$ac_option'
1842 Try \`$0 --help' for more information"
1845 *=*)
1846 ac_envvar=`expr "x$ac_option" : 'x\([^=]*\)='`
1847 # Reject names that are not valid shell variable names.
1848 case $ac_envvar in #(
1849 '' | [0-9]* | *[!_$as_cr_alnum]* )
1850 as_fn_error $? "invalid variable name: \`$ac_envvar'" ;;
1851 esac
1852 eval $ac_envvar=\$ac_optarg
1853 export $ac_envvar ;;
1856 # FIXME: should be removed in autoconf 3.0.
1857 $as_echo "$as_me: WARNING: you should use --build, --host, --target" >&2
1858 expr "x$ac_option" : ".*[^-._$as_cr_alnum]" >/dev/null &&
1859 $as_echo "$as_me: WARNING: invalid host type: $ac_option" >&2
1860 : "${build_alias=$ac_option} ${host_alias=$ac_option} ${target_alias=$ac_option}"
1863 esac
1864 done
1866 if test -n "$ac_prev"; then
1867 ac_option=--`echo $ac_prev | sed 's/_/-/g'`
1868 as_fn_error $? "missing argument to $ac_option"
1871 if test -n "$ac_unrecognized_opts"; then
1872 case $enable_option_checking in
1873 no) ;;
1874 fatal) as_fn_error $? "unrecognized options: $ac_unrecognized_opts" ;;
1875 *) $as_echo "$as_me: WARNING: unrecognized options: $ac_unrecognized_opts" >&2 ;;
1876 esac
1879 # Check all directory arguments for consistency.
1880 for ac_var in exec_prefix prefix bindir sbindir libexecdir datarootdir \
1881 datadir sysconfdir sharedstatedir localstatedir includedir \
1882 oldincludedir docdir infodir htmldir dvidir pdfdir psdir \
1883 libdir localedir mandir
1885 eval ac_val=\$$ac_var
1886 # Remove trailing slashes.
1887 case $ac_val in
1888 */ )
1889 ac_val=`expr "X$ac_val" : 'X\(.*[^/]\)' \| "X$ac_val" : 'X\(.*\)'`
1890 eval $ac_var=\$ac_val;;
1891 esac
1892 # Be sure to have absolute directory names.
1893 case $ac_val in
1894 [\\/$]* | ?:[\\/]* ) continue;;
1895 NONE | '' ) case $ac_var in *prefix ) continue;; esac;;
1896 esac
1897 as_fn_error $? "expected an absolute directory name for --$ac_var: $ac_val"
1898 done
1900 # There might be people who depend on the old broken behavior: `$host'
1901 # used to hold the argument of --host etc.
1902 # FIXME: To remove some day.
1903 build=$build_alias
1904 host=$host_alias
1905 target=$target_alias
1907 # FIXME: To remove some day.
1908 if test "x$host_alias" != x; then
1909 if test "x$build_alias" = x; then
1910 cross_compiling=maybe
1911 elif test "x$build_alias" != "x$host_alias"; then
1912 cross_compiling=yes
1916 ac_tool_prefix=
1917 test -n "$host_alias" && ac_tool_prefix=$host_alias-
1919 test "$silent" = yes && exec 6>/dev/null
1922 ac_pwd=`pwd` && test -n "$ac_pwd" &&
1923 ac_ls_di=`ls -di .` &&
1924 ac_pwd_ls_di=`cd "$ac_pwd" && ls -di .` ||
1925 as_fn_error $? "working directory cannot be determined"
1926 test "X$ac_ls_di" = "X$ac_pwd_ls_di" ||
1927 as_fn_error $? "pwd does not report name of working directory"
1930 # Find the source files, if location was not specified.
1931 if test -z "$srcdir"; then
1932 ac_srcdir_defaulted=yes
1933 # Try the directory containing this script, then the parent directory.
1934 ac_confdir=`$as_dirname -- "$as_myself" ||
1935 $as_expr X"$as_myself" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
1936 X"$as_myself" : 'X\(//\)[^/]' \| \
1937 X"$as_myself" : 'X\(//\)$' \| \
1938 X"$as_myself" : 'X\(/\)' \| . 2>/dev/null ||
1939 $as_echo X"$as_myself" |
1940 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
1941 s//\1/
1944 /^X\(\/\/\)[^/].*/{
1945 s//\1/
1948 /^X\(\/\/\)$/{
1949 s//\1/
1952 /^X\(\/\).*/{
1953 s//\1/
1956 s/.*/./; q'`
1957 srcdir=$ac_confdir
1958 if test ! -r "$srcdir/$ac_unique_file"; then
1959 srcdir=..
1961 else
1962 ac_srcdir_defaulted=no
1964 if test ! -r "$srcdir/$ac_unique_file"; then
1965 test "$ac_srcdir_defaulted" = yes && srcdir="$ac_confdir or .."
1966 as_fn_error $? "cannot find sources ($ac_unique_file) in $srcdir"
1968 ac_msg="sources are in $srcdir, but \`cd $srcdir' does not work"
1969 ac_abs_confdir=`(
1970 cd "$srcdir" && test -r "./$ac_unique_file" || as_fn_error $? "$ac_msg"
1971 pwd)`
1972 # When building in place, set srcdir=.
1973 if test "$ac_abs_confdir" = "$ac_pwd"; then
1974 srcdir=.
1976 # Remove unnecessary trailing slashes from srcdir.
1977 # Double slashes in file names in object file debugging info
1978 # mess up M-x gdb in Emacs.
1979 case $srcdir in
1980 */) srcdir=`expr "X$srcdir" : 'X\(.*[^/]\)' \| "X$srcdir" : 'X\(.*\)'`;;
1981 esac
1982 for ac_var in $ac_precious_vars; do
1983 eval ac_env_${ac_var}_set=\${${ac_var}+set}
1984 eval ac_env_${ac_var}_value=\$${ac_var}
1985 eval ac_cv_env_${ac_var}_set=\${${ac_var}+set}
1986 eval ac_cv_env_${ac_var}_value=\$${ac_var}
1987 done
1990 # Report the --help message.
1992 if test "$ac_init_help" = "long"; then
1993 # Omit some internal or obsolete options to make the list less imposing.
1994 # This message is too long to be a string in the A/UX 3.1 sh.
1995 cat <<_ACEOF
1996 \`configure' configures Wine 1.7.32 to adapt to many kinds of systems.
1998 Usage: $0 [OPTION]... [VAR=VALUE]...
2000 To assign environment variables (e.g., CC, CFLAGS...), specify them as
2001 VAR=VALUE. See below for descriptions of some of the useful variables.
2003 Defaults for the options are specified in brackets.
2005 Configuration:
2006 -h, --help display this help and exit
2007 --help=short display options specific to this package
2008 --help=recursive display the short help of all the included packages
2009 -V, --version display version information and exit
2010 -q, --quiet, --silent do not print \`checking ...' messages
2011 --cache-file=FILE cache test results in FILE [disabled]
2012 -C, --config-cache alias for \`--cache-file=config.cache'
2013 -n, --no-create do not create output files
2014 --srcdir=DIR find the sources in DIR [configure dir or \`..']
2016 Installation directories:
2017 --prefix=PREFIX install architecture-independent files in PREFIX
2018 [$ac_default_prefix]
2019 --exec-prefix=EPREFIX install architecture-dependent files in EPREFIX
2020 [PREFIX]
2022 By default, \`make install' will install all the files in
2023 \`$ac_default_prefix/bin', \`$ac_default_prefix/lib' etc. You can specify
2024 an installation prefix other than \`$ac_default_prefix' using \`--prefix',
2025 for instance \`--prefix=\$HOME'.
2027 For better control, use the options below.
2029 Fine tuning of the installation directories:
2030 --bindir=DIR user executables [EPREFIX/bin]
2031 --sbindir=DIR system admin executables [EPREFIX/sbin]
2032 --libexecdir=DIR program executables [EPREFIX/libexec]
2033 --sysconfdir=DIR read-only single-machine data [PREFIX/etc]
2034 --sharedstatedir=DIR modifiable architecture-independent data [PREFIX/com]
2035 --localstatedir=DIR modifiable single-machine data [PREFIX/var]
2036 --libdir=DIR object code libraries [EPREFIX/lib]
2037 --includedir=DIR C header files [PREFIX/include]
2038 --oldincludedir=DIR C header files for non-gcc [/usr/include]
2039 --datarootdir=DIR read-only arch.-independent data root [PREFIX/share]
2040 --datadir=DIR read-only architecture-independent data [DATAROOTDIR]
2041 --infodir=DIR info documentation [DATAROOTDIR/info]
2042 --localedir=DIR locale-dependent data [DATAROOTDIR/locale]
2043 --mandir=DIR man documentation [DATAROOTDIR/man]
2044 --docdir=DIR documentation root [DATAROOTDIR/doc/wine]
2045 --htmldir=DIR html documentation [DOCDIR]
2046 --dvidir=DIR dvi documentation [DOCDIR]
2047 --pdfdir=DIR pdf documentation [DOCDIR]
2048 --psdir=DIR ps documentation [DOCDIR]
2049 _ACEOF
2051 cat <<\_ACEOF
2053 X features:
2054 --x-includes=DIR X include files are in DIR
2055 --x-libraries=DIR X library files are in DIR
2057 System types:
2058 --build=BUILD configure for building on BUILD [guessed]
2059 --host=HOST cross-compile to build programs to run on HOST [BUILD]
2060 _ACEOF
2063 if test -n "$ac_init_help"; then
2064 case $ac_init_help in
2065 short | recursive ) echo "Configuration of Wine 1.7.32:";;
2066 esac
2067 cat <<\_ACEOF
2069 Optional Features:
2070 --disable-option-checking ignore unrecognized --enable/--with options
2071 --disable-FEATURE do not include FEATURE (same as --enable-FEATURE=no)
2072 --enable-FEATURE[=ARG] include FEATURE [ARG=yes]
2073 --disable-win16 do not include Win16 support
2074 --enable-win64 build a Win64 emulator on AMD64 (won't run Win32
2075 binaries)
2076 --disable-tests do not build the regression tests
2077 --enable-maintainer-mode
2078 enable maintainer-specific build rules
2079 --disable-largefile omit support for large files
2081 Optional Packages:
2082 --with-PACKAGE[=ARG] use PACKAGE [ARG=yes]
2083 --without-PACKAGE do not use PACKAGE (same as --with-PACKAGE=no)
2084 --without-alsa do not use the Alsa sound support
2085 --without-capi do not use CAPI (ISDN support)
2086 --without-cms do not use CMS (color management support)
2087 --without-coreaudio do not use the CoreAudio sound support
2088 --without-cups do not use CUPS
2089 --without-curses do not use (n)curses
2090 --without-dbus do not use DBus (dynamic device support)
2091 --without-fontconfig do not use fontconfig
2092 --without-freetype do not use the FreeType library
2093 --without-gettext do not use gettext
2094 --with-gettextpo use the GetTextPO library to rebuild po files
2095 --without-gphoto do not use gphoto (Digital Camera support)
2096 --without-glu do not use the GLU library
2097 --without-gnutls do not use GnuTLS (schannel support)
2098 --without-gsm do not use libgsm (GSM 06.10 codec support)
2099 --without-gstreamer do not use GStreamer (codecs support)
2100 --without-hal do not use HAL (dynamic device support)
2101 --without-jpeg do not use JPEG
2102 --without-ldap do not use LDAP
2103 --without-mpg123 do not use the mpg123 library
2104 --without-netapi do not use the Samba NetAPI library
2105 --without-openal do not use OpenAL
2106 --without-opencl do not use OpenCL
2107 --without-opengl do not use OpenGL
2108 --without-osmesa do not use the OSMesa library
2109 --without-oss do not use the OSS sound support
2110 --without-pcap do not use the Packet Capture library
2111 --without-png do not use PNG
2112 --without-pthread do not use the pthread library
2113 --without-sane do not use SANE (scanner support)
2114 --without-tiff do not use TIFF
2115 --without-v4l do not use v4l1 (v4l support)
2116 --without-xcomposite do not use the Xcomposite extension
2117 --without-xcursor do not use the Xcursor extension
2118 --without-xinerama do not use Xinerama (multi-monitor support)
2119 --without-xinput do not use the Xinput extension
2120 --without-xinput2 do not use the Xinput 2 extension
2121 --without-xml do not use XML
2122 --without-xrandr do not use Xrandr (resolution changes)
2123 --without-xrender do not use the Xrender extension
2124 --without-xshape do not use the Xshape extension
2125 --without-xshm do not use XShm (shared memory extension)
2126 --without-xslt do not use XSLT
2127 --without-xxf86vm do not use XFree video mode extension
2128 --without-zlib do not use Zlib (data compression)
2129 --with-wine-tools=DIR use Wine tools from directory DIR
2130 --with-wine64=DIR use the 64-bit Wine in DIR for a Wow64 build
2131 --with-x use the X Window System
2133 Some influential environment variables:
2134 CC C compiler command
2135 CFLAGS C compiler flags
2136 LDFLAGS linker flags, e.g. -L<lib dir> if you have libraries in a
2137 nonstandard directory <lib dir>
2138 LIBS libraries to pass to the linker, e.g. -l<library>
2139 CPPFLAGS (Objective) C/C++ preprocessor flags, e.g. -I<include dir> if
2140 you have headers in a nonstandard directory <include dir>
2141 CXX C++ compiler command
2142 CXXFLAGS C++ compiler flags
2143 CPP C preprocessor
2144 XMKMF Path to xmkmf, Makefile generator for X Window System
2145 XML2_CFLAGS C compiler flags for libxml-2.0, overriding pkg-config
2146 XML2_LIBS Linker flags for libxml-2.0, overriding pkg-config
2147 XSLT_CFLAGS C compiler flags for libxslt, overriding pkg-config
2148 XSLT_LIBS Linker flags for libxslt, overriding pkg-config
2149 DBUS_CFLAGS C compiler flags for dbus-1, overriding pkg-config
2150 DBUS_LIBS Linker flags for dbus-1, overriding pkg-config
2151 HAL_CFLAGS C compiler flags for hal, overriding pkg-config
2152 HAL_LIBS Linker flags for hal, overriding pkg-config
2153 GNUTLS_CFLAGS
2154 C compiler flags for gnutls, overriding pkg-config
2155 GNUTLS_LIBS Linker flags for gnutls, overriding pkg-config
2156 SANE_CFLAGS C compiler flags for libsane, overriding pkg-config
2157 SANE_LIBS Linker flags for libsane, overriding pkg-config
2158 GPHOTO2_CFLAGS
2159 C compiler flags for libgphoto2, overriding pkg-config
2160 GPHOTO2_LIBS
2161 Linker flags for libgphoto2, overriding pkg-config
2162 GPHOTO2_PORT_CFLAGS
2163 C compiler flags for libgphoto2_port, overriding pkg-config
2164 GPHOTO2_PORT_LIBS
2165 Linker flags for libgphoto2_port, overriding pkg-config
2166 LCMS2_CFLAGS
2167 C compiler flags for lcms2, overriding pkg-config
2168 LCMS2_LIBS Linker flags for lcms2, overriding pkg-config
2169 FREETYPE_CFLAGS
2170 C compiler flags for freetype2, overriding pkg-config
2171 FREETYPE_LIBS
2172 Linker flags for freetype2, overriding pkg-config
2173 GSTREAMER_CFLAGS
2174 C compiler flags for gstreamer-app-0.10, overriding pkg-config
2175 GSTREAMER_LIBS
2176 Linker flags for gstreamer-app-0.10, overriding pkg-config
2177 CAPI20_CFLAGS
2178 C compiler flags for capi20, overriding pkg-config
2179 CAPI20_LIBS Linker flags for capi20, overriding pkg-config
2180 FONTCONFIG_CFLAGS
2181 C compiler flags for fontconfig, overriding pkg-config
2182 FONTCONFIG_LIBS
2183 Linker flags for fontconfig, overriding pkg-config
2184 JPEG_CFLAGS C compiler flags for libjpeg, overriding pkg-config
2185 JPEG_LIBS Linker flags for libjpeg, overriding pkg-config
2186 PNG_CFLAGS C compiler flags for libpng, overriding pkg-config
2187 PNG_LIBS Linker flags for libpng, overriding pkg-config
2188 TIFF_CFLAGS C compiler flags for libtiff, overriding pkg-config
2189 TIFF_LIBS Linker flags for libtiff, overriding pkg-config
2190 MPG123_CFLAGS
2191 C compiler flags for libmpg123, overriding pkg-config
2192 MPG123_LIBS Linker flags for libmpg123, overriding pkg-config
2194 Use these variables to override the choices made by `configure' or to help
2195 it to find libraries and programs with nonstandard names/locations.
2197 Report bugs to <wine-devel@winehq.org>.
2198 Wine home page: <http://www.winehq.org>.
2199 _ACEOF
2200 ac_status=$?
2203 if test "$ac_init_help" = "recursive"; then
2204 # If there are subdirs, report their specific --help.
2205 for ac_dir in : $ac_subdirs_all; do test "x$ac_dir" = x: && continue
2206 test -d "$ac_dir" ||
2207 { cd "$srcdir" && ac_pwd=`pwd` && srcdir=. && test -d "$ac_dir"; } ||
2208 continue
2209 ac_builddir=.
2211 case "$ac_dir" in
2212 .) ac_dir_suffix= ac_top_builddir_sub=. ac_top_build_prefix= ;;
2214 ac_dir_suffix=/`$as_echo "$ac_dir" | sed 's|^\.[\\/]||'`
2215 # A ".." for each directory in $ac_dir_suffix.
2216 ac_top_builddir_sub=`$as_echo "$ac_dir_suffix" | sed 's|/[^\\/]*|/..|g;s|/||'`
2217 case $ac_top_builddir_sub in
2218 "") ac_top_builddir_sub=. ac_top_build_prefix= ;;
2219 *) ac_top_build_prefix=$ac_top_builddir_sub/ ;;
2220 esac ;;
2221 esac
2222 ac_abs_top_builddir=$ac_pwd
2223 ac_abs_builddir=$ac_pwd$ac_dir_suffix
2224 # for backward compatibility:
2225 ac_top_builddir=$ac_top_build_prefix
2227 case $srcdir in
2228 .) # We are building in place.
2229 ac_srcdir=.
2230 ac_top_srcdir=$ac_top_builddir_sub
2231 ac_abs_top_srcdir=$ac_pwd ;;
2232 [\\/]* | ?:[\\/]* ) # Absolute name.
2233 ac_srcdir=$srcdir$ac_dir_suffix;
2234 ac_top_srcdir=$srcdir
2235 ac_abs_top_srcdir=$srcdir ;;
2236 *) # Relative name.
2237 ac_srcdir=$ac_top_build_prefix$srcdir$ac_dir_suffix
2238 ac_top_srcdir=$ac_top_build_prefix$srcdir
2239 ac_abs_top_srcdir=$ac_pwd/$srcdir ;;
2240 esac
2241 ac_abs_srcdir=$ac_abs_top_srcdir$ac_dir_suffix
2243 cd "$ac_dir" || { ac_status=$?; continue; }
2244 # Check for guested configure.
2245 if test -f "$ac_srcdir/configure.gnu"; then
2246 echo &&
2247 $SHELL "$ac_srcdir/configure.gnu" --help=recursive
2248 elif test -f "$ac_srcdir/configure"; then
2249 echo &&
2250 $SHELL "$ac_srcdir/configure" --help=recursive
2251 else
2252 $as_echo "$as_me: WARNING: no configuration information is in $ac_dir" >&2
2253 fi || ac_status=$?
2254 cd "$ac_pwd" || { ac_status=$?; break; }
2255 done
2258 test -n "$ac_init_help" && exit $ac_status
2259 if $ac_init_version; then
2260 cat <<\_ACEOF
2261 Wine configure 1.7.32
2262 generated by GNU Autoconf 2.69
2264 Copyright (C) 2012 Free Software Foundation, Inc.
2265 This configure script is free software; the Free Software Foundation
2266 gives unlimited permission to copy, distribute and modify it.
2267 _ACEOF
2268 exit
2271 ## ------------------------ ##
2272 ## Autoconf initialization. ##
2273 ## ------------------------ ##
2275 # ac_fn_c_try_compile LINENO
2276 # --------------------------
2277 # Try to compile conftest.$ac_ext, and return whether this succeeded.
2278 ac_fn_c_try_compile ()
2280 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
2281 rm -f conftest.$ac_objext
2282 if { { ac_try="$ac_compile"
2283 case "(($ac_try" in
2284 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2285 *) ac_try_echo=$ac_try;;
2286 esac
2287 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
2288 $as_echo "$ac_try_echo"; } >&5
2289 (eval "$ac_compile") 2>conftest.err
2290 ac_status=$?
2291 if test -s conftest.err; then
2292 grep -v '^ *+' conftest.err >conftest.er1
2293 cat conftest.er1 >&5
2294 mv -f conftest.er1 conftest.err
2296 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
2297 test $ac_status = 0; } && {
2298 test -z "$ac_c_werror_flag" ||
2299 test ! -s conftest.err
2300 } && test -s conftest.$ac_objext; then :
2301 ac_retval=0
2302 else
2303 $as_echo "$as_me: failed program was:" >&5
2304 sed 's/^/| /' conftest.$ac_ext >&5
2306 ac_retval=1
2308 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
2309 as_fn_set_status $ac_retval
2311 } # ac_fn_c_try_compile
2313 # ac_fn_cxx_try_compile LINENO
2314 # ----------------------------
2315 # Try to compile conftest.$ac_ext, and return whether this succeeded.
2316 ac_fn_cxx_try_compile ()
2318 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
2319 rm -f conftest.$ac_objext
2320 if { { ac_try="$ac_compile"
2321 case "(($ac_try" in
2322 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2323 *) ac_try_echo=$ac_try;;
2324 esac
2325 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
2326 $as_echo "$ac_try_echo"; } >&5
2327 (eval "$ac_compile") 2>conftest.err
2328 ac_status=$?
2329 if test -s conftest.err; then
2330 grep -v '^ *+' conftest.err >conftest.er1
2331 cat conftest.er1 >&5
2332 mv -f conftest.er1 conftest.err
2334 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
2335 test $ac_status = 0; } && {
2336 test -z "$ac_cxx_werror_flag" ||
2337 test ! -s conftest.err
2338 } && test -s conftest.$ac_objext; then :
2339 ac_retval=0
2340 else
2341 $as_echo "$as_me: failed program was:" >&5
2342 sed 's/^/| /' conftest.$ac_ext >&5
2344 ac_retval=1
2346 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
2347 as_fn_set_status $ac_retval
2349 } # ac_fn_cxx_try_compile
2351 # ac_fn_c_try_link LINENO
2352 # -----------------------
2353 # Try to link conftest.$ac_ext, and return whether this succeeded.
2354 ac_fn_c_try_link ()
2356 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
2357 rm -f conftest.$ac_objext conftest$ac_exeext
2358 if { { ac_try="$ac_link"
2359 case "(($ac_try" in
2360 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2361 *) ac_try_echo=$ac_try;;
2362 esac
2363 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
2364 $as_echo "$ac_try_echo"; } >&5
2365 (eval "$ac_link") 2>conftest.err
2366 ac_status=$?
2367 if test -s conftest.err; then
2368 grep -v '^ *+' conftest.err >conftest.er1
2369 cat conftest.er1 >&5
2370 mv -f conftest.er1 conftest.err
2372 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
2373 test $ac_status = 0; } && {
2374 test -z "$ac_c_werror_flag" ||
2375 test ! -s conftest.err
2376 } && test -s conftest$ac_exeext && {
2377 test "$cross_compiling" = yes ||
2378 test -x conftest$ac_exeext
2379 }; then :
2380 ac_retval=0
2381 else
2382 $as_echo "$as_me: failed program was:" >&5
2383 sed 's/^/| /' conftest.$ac_ext >&5
2385 ac_retval=1
2387 # Delete the IPA/IPO (Inter Procedural Analysis/Optimization) information
2388 # created by the PGI compiler (conftest_ipa8_conftest.oo), as it would
2389 # interfere with the next link command; also delete a directory that is
2390 # left behind by Apple's compiler. We do this before executing the actions.
2391 rm -rf conftest.dSYM conftest_ipa8_conftest.oo
2392 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
2393 as_fn_set_status $ac_retval
2395 } # ac_fn_c_try_link
2397 # ac_fn_c_try_cpp LINENO
2398 # ----------------------
2399 # Try to preprocess conftest.$ac_ext, and return whether this succeeded.
2400 ac_fn_c_try_cpp ()
2402 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
2403 if { { ac_try="$ac_cpp conftest.$ac_ext"
2404 case "(($ac_try" in
2405 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2406 *) ac_try_echo=$ac_try;;
2407 esac
2408 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
2409 $as_echo "$ac_try_echo"; } >&5
2410 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.err
2411 ac_status=$?
2412 if test -s conftest.err; then
2413 grep -v '^ *+' conftest.err >conftest.er1
2414 cat conftest.er1 >&5
2415 mv -f conftest.er1 conftest.err
2417 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
2418 test $ac_status = 0; } > conftest.i && {
2419 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
2420 test ! -s conftest.err
2421 }; then :
2422 ac_retval=0
2423 else
2424 $as_echo "$as_me: failed program was:" >&5
2425 sed 's/^/| /' conftest.$ac_ext >&5
2427 ac_retval=1
2429 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
2430 as_fn_set_status $ac_retval
2432 } # ac_fn_c_try_cpp
2434 # ac_fn_c_check_header_mongrel LINENO HEADER VAR INCLUDES
2435 # -------------------------------------------------------
2436 # Tests whether HEADER exists, giving a warning if it cannot be compiled using
2437 # the include files in INCLUDES and setting the cache variable VAR
2438 # accordingly.
2439 ac_fn_c_check_header_mongrel ()
2441 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
2442 if eval \${$3+:} false; then :
2443 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
2444 $as_echo_n "checking for $2... " >&6; }
2445 if eval \${$3+:} false; then :
2446 $as_echo_n "(cached) " >&6
2448 eval ac_res=\$$3
2449 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
2450 $as_echo "$ac_res" >&6; }
2451 else
2452 # Is the header compilable?
2453 { $as_echo "$as_me:${as_lineno-$LINENO}: checking $2 usability" >&5
2454 $as_echo_n "checking $2 usability... " >&6; }
2455 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2456 /* end confdefs.h. */
2458 #include <$2>
2459 _ACEOF
2460 if ac_fn_c_try_compile "$LINENO"; then :
2461 ac_header_compiler=yes
2462 else
2463 ac_header_compiler=no
2465 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
2466 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_header_compiler" >&5
2467 $as_echo "$ac_header_compiler" >&6; }
2469 # Is the header present?
2470 { $as_echo "$as_me:${as_lineno-$LINENO}: checking $2 presence" >&5
2471 $as_echo_n "checking $2 presence... " >&6; }
2472 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2473 /* end confdefs.h. */
2474 #include <$2>
2475 _ACEOF
2476 if ac_fn_c_try_cpp "$LINENO"; then :
2477 ac_header_preproc=yes
2478 else
2479 ac_header_preproc=no
2481 rm -f conftest.err conftest.i conftest.$ac_ext
2482 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_header_preproc" >&5
2483 $as_echo "$ac_header_preproc" >&6; }
2485 # So? What about this header?
2486 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in #((
2487 yes:no: )
2488 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: accepted by the compiler, rejected by the preprocessor!" >&5
2489 $as_echo "$as_me: WARNING: $2: accepted by the compiler, rejected by the preprocessor!" >&2;}
2490 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: proceeding with the compiler's result" >&5
2491 $as_echo "$as_me: WARNING: $2: proceeding with the compiler's result" >&2;}
2493 no:yes:* )
2494 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: present but cannot be compiled" >&5
2495 $as_echo "$as_me: WARNING: $2: present but cannot be compiled" >&2;}
2496 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: check for missing prerequisite headers?" >&5
2497 $as_echo "$as_me: WARNING: $2: check for missing prerequisite headers?" >&2;}
2498 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: see the Autoconf documentation" >&5
2499 $as_echo "$as_me: WARNING: $2: see the Autoconf documentation" >&2;}
2500 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: section \"Present But Cannot Be Compiled\"" >&5
2501 $as_echo "$as_me: WARNING: $2: section \"Present But Cannot Be Compiled\"" >&2;}
2502 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: proceeding with the compiler's result" >&5
2503 $as_echo "$as_me: WARNING: $2: proceeding with the compiler's result" >&2;}
2504 ( $as_echo "## ------------------------------------ ##
2505 ## Report this to wine-devel@winehq.org ##
2506 ## ------------------------------------ ##"
2507 ) | sed "s/^/$as_me: WARNING: /" >&2
2509 esac
2510 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
2511 $as_echo_n "checking for $2... " >&6; }
2512 if eval \${$3+:} false; then :
2513 $as_echo_n "(cached) " >&6
2514 else
2515 eval "$3=\$ac_header_compiler"
2517 eval ac_res=\$$3
2518 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
2519 $as_echo "$ac_res" >&6; }
2521 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
2523 } # ac_fn_c_check_header_mongrel
2525 # ac_fn_c_try_run LINENO
2526 # ----------------------
2527 # Try to link conftest.$ac_ext, and return whether this succeeded. Assumes
2528 # that executables *can* be run.
2529 ac_fn_c_try_run ()
2531 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
2532 if { { ac_try="$ac_link"
2533 case "(($ac_try" in
2534 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2535 *) ac_try_echo=$ac_try;;
2536 esac
2537 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
2538 $as_echo "$ac_try_echo"; } >&5
2539 (eval "$ac_link") 2>&5
2540 ac_status=$?
2541 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
2542 test $ac_status = 0; } && { ac_try='./conftest$ac_exeext'
2543 { { case "(($ac_try" in
2544 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2545 *) ac_try_echo=$ac_try;;
2546 esac
2547 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
2548 $as_echo "$ac_try_echo"; } >&5
2549 (eval "$ac_try") 2>&5
2550 ac_status=$?
2551 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
2552 test $ac_status = 0; }; }; then :
2553 ac_retval=0
2554 else
2555 $as_echo "$as_me: program exited with status $ac_status" >&5
2556 $as_echo "$as_me: failed program was:" >&5
2557 sed 's/^/| /' conftest.$ac_ext >&5
2559 ac_retval=$ac_status
2561 rm -rf conftest.dSYM conftest_ipa8_conftest.oo
2562 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
2563 as_fn_set_status $ac_retval
2565 } # ac_fn_c_try_run
2567 # ac_fn_c_check_header_compile LINENO HEADER VAR INCLUDES
2568 # -------------------------------------------------------
2569 # Tests whether HEADER exists and can be compiled using the include files in
2570 # INCLUDES, setting the cache variable VAR accordingly.
2571 ac_fn_c_check_header_compile ()
2573 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
2574 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
2575 $as_echo_n "checking for $2... " >&6; }
2576 if eval \${$3+:} false; then :
2577 $as_echo_n "(cached) " >&6
2578 else
2579 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2580 /* end confdefs.h. */
2582 #include <$2>
2583 _ACEOF
2584 if ac_fn_c_try_compile "$LINENO"; then :
2585 eval "$3=yes"
2586 else
2587 eval "$3=no"
2589 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
2591 eval ac_res=\$$3
2592 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
2593 $as_echo "$ac_res" >&6; }
2594 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
2596 } # ac_fn_c_check_header_compile
2598 # ac_fn_c_check_func LINENO FUNC VAR
2599 # ----------------------------------
2600 # Tests whether FUNC exists, setting the cache variable VAR accordingly
2601 ac_fn_c_check_func ()
2603 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
2604 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
2605 $as_echo_n "checking for $2... " >&6; }
2606 if eval \${$3+:} false; then :
2607 $as_echo_n "(cached) " >&6
2608 else
2609 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2610 /* end confdefs.h. */
2611 /* Define $2 to an innocuous variant, in case <limits.h> declares $2.
2612 For example, HP-UX 11i <limits.h> declares gettimeofday. */
2613 #define $2 innocuous_$2
2615 /* System header to define __stub macros and hopefully few prototypes,
2616 which can conflict with char $2 (); below.
2617 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
2618 <limits.h> exists even on freestanding compilers. */
2620 #ifdef __STDC__
2621 # include <limits.h>
2622 #else
2623 # include <assert.h>
2624 #endif
2626 #undef $2
2628 /* Override any GCC internal prototype to avoid an error.
2629 Use char because int might match the return type of a GCC
2630 builtin and then its argument prototype would still apply. */
2631 #ifdef __cplusplus
2632 extern "C"
2633 #endif
2634 char $2 ();
2635 /* The GNU C library defines this for functions which it implements
2636 to always fail with ENOSYS. Some functions are actually named
2637 something starting with __ and the normal name is an alias. */
2638 #if defined __stub_$2 || defined __stub___$2
2639 choke me
2640 #endif
2643 main ()
2645 return $2 ();
2647 return 0;
2649 _ACEOF
2650 if ac_fn_c_try_link "$LINENO"; then :
2651 eval "$3=yes"
2652 else
2653 eval "$3=no"
2655 rm -f core conftest.err conftest.$ac_objext \
2656 conftest$ac_exeext conftest.$ac_ext
2658 eval ac_res=\$$3
2659 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
2660 $as_echo "$ac_res" >&6; }
2661 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
2663 } # ac_fn_c_check_func
2665 # ac_fn_c_check_member LINENO AGGR MEMBER VAR INCLUDES
2666 # ----------------------------------------------------
2667 # Tries to find if the field MEMBER exists in type AGGR, after including
2668 # INCLUDES, setting cache variable VAR accordingly.
2669 ac_fn_c_check_member ()
2671 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
2672 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2.$3" >&5
2673 $as_echo_n "checking for $2.$3... " >&6; }
2674 if eval \${$4+:} false; then :
2675 $as_echo_n "(cached) " >&6
2676 else
2677 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2678 /* end confdefs.h. */
2681 main ()
2683 static $2 ac_aggr;
2684 if (ac_aggr.$3)
2685 return 0;
2687 return 0;
2689 _ACEOF
2690 if ac_fn_c_try_compile "$LINENO"; then :
2691 eval "$4=yes"
2692 else
2693 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2694 /* end confdefs.h. */
2697 main ()
2699 static $2 ac_aggr;
2700 if (sizeof ac_aggr.$3)
2701 return 0;
2703 return 0;
2705 _ACEOF
2706 if ac_fn_c_try_compile "$LINENO"; then :
2707 eval "$4=yes"
2708 else
2709 eval "$4=no"
2711 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
2713 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
2715 eval ac_res=\$$4
2716 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
2717 $as_echo "$ac_res" >&6; }
2718 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
2720 } # ac_fn_c_check_member
2722 # ac_fn_c_check_type LINENO TYPE VAR INCLUDES
2723 # -------------------------------------------
2724 # Tests whether TYPE exists after having included INCLUDES, setting cache
2725 # variable VAR accordingly.
2726 ac_fn_c_check_type ()
2728 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
2729 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
2730 $as_echo_n "checking for $2... " >&6; }
2731 if eval \${$3+:} false; then :
2732 $as_echo_n "(cached) " >&6
2733 else
2734 eval "$3=no"
2735 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2736 /* end confdefs.h. */
2739 main ()
2741 if (sizeof ($2))
2742 return 0;
2744 return 0;
2746 _ACEOF
2747 if ac_fn_c_try_compile "$LINENO"; then :
2748 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2749 /* end confdefs.h. */
2752 main ()
2754 if (sizeof (($2)))
2755 return 0;
2757 return 0;
2759 _ACEOF
2760 if ac_fn_c_try_compile "$LINENO"; then :
2762 else
2763 eval "$3=yes"
2765 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
2767 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
2769 eval ac_res=\$$3
2770 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
2771 $as_echo "$ac_res" >&6; }
2772 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
2774 } # ac_fn_c_check_type
2775 cat >config.log <<_ACEOF
2776 This file contains any messages produced by compilers while
2777 running configure, to aid debugging if configure makes a mistake.
2779 It was created by Wine $as_me 1.7.32, which was
2780 generated by GNU Autoconf 2.69. Invocation command line was
2782 $ $0 $@
2784 _ACEOF
2785 exec 5>>config.log
2787 cat <<_ASUNAME
2788 ## --------- ##
2789 ## Platform. ##
2790 ## --------- ##
2792 hostname = `(hostname || uname -n) 2>/dev/null | sed 1q`
2793 uname -m = `(uname -m) 2>/dev/null || echo unknown`
2794 uname -r = `(uname -r) 2>/dev/null || echo unknown`
2795 uname -s = `(uname -s) 2>/dev/null || echo unknown`
2796 uname -v = `(uname -v) 2>/dev/null || echo unknown`
2798 /usr/bin/uname -p = `(/usr/bin/uname -p) 2>/dev/null || echo unknown`
2799 /bin/uname -X = `(/bin/uname -X) 2>/dev/null || echo unknown`
2801 /bin/arch = `(/bin/arch) 2>/dev/null || echo unknown`
2802 /usr/bin/arch -k = `(/usr/bin/arch -k) 2>/dev/null || echo unknown`
2803 /usr/convex/getsysinfo = `(/usr/convex/getsysinfo) 2>/dev/null || echo unknown`
2804 /usr/bin/hostinfo = `(/usr/bin/hostinfo) 2>/dev/null || echo unknown`
2805 /bin/machine = `(/bin/machine) 2>/dev/null || echo unknown`
2806 /usr/bin/oslevel = `(/usr/bin/oslevel) 2>/dev/null || echo unknown`
2807 /bin/universe = `(/bin/universe) 2>/dev/null || echo unknown`
2809 _ASUNAME
2811 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2812 for as_dir in $PATH
2814 IFS=$as_save_IFS
2815 test -z "$as_dir" && as_dir=.
2816 $as_echo "PATH: $as_dir"
2817 done
2818 IFS=$as_save_IFS
2820 } >&5
2822 cat >&5 <<_ACEOF
2825 ## ----------- ##
2826 ## Core tests. ##
2827 ## ----------- ##
2829 _ACEOF
2832 # Keep a trace of the command line.
2833 # Strip out --no-create and --no-recursion so they do not pile up.
2834 # Strip out --silent because we don't want to record it for future runs.
2835 # Also quote any args containing shell meta-characters.
2836 # Make two passes to allow for proper duplicate-argument suppression.
2837 ac_configure_args=
2838 ac_configure_args0=
2839 ac_configure_args1=
2840 ac_must_keep_next=false
2841 for ac_pass in 1 2
2843 for ac_arg
2845 case $ac_arg in
2846 -no-create | --no-c* | -n | -no-recursion | --no-r*) continue ;;
2847 -q | -quiet | --quiet | --quie | --qui | --qu | --q \
2848 | -silent | --silent | --silen | --sile | --sil)
2849 continue ;;
2850 *\'*)
2851 ac_arg=`$as_echo "$ac_arg" | sed "s/'/'\\\\\\\\''/g"` ;;
2852 esac
2853 case $ac_pass in
2854 1) as_fn_append ac_configure_args0 " '$ac_arg'" ;;
2856 as_fn_append ac_configure_args1 " '$ac_arg'"
2857 if test $ac_must_keep_next = true; then
2858 ac_must_keep_next=false # Got value, back to normal.
2859 else
2860 case $ac_arg in
2861 *=* | --config-cache | -C | -disable-* | --disable-* \
2862 | -enable-* | --enable-* | -gas | --g* | -nfp | --nf* \
2863 | -q | -quiet | --q* | -silent | --sil* | -v | -verb* \
2864 | -with-* | --with-* | -without-* | --without-* | --x)
2865 case "$ac_configure_args0 " in
2866 "$ac_configure_args1"*" '$ac_arg' "* ) continue ;;
2867 esac
2869 -* ) ac_must_keep_next=true ;;
2870 esac
2872 as_fn_append ac_configure_args " '$ac_arg'"
2874 esac
2875 done
2876 done
2877 { ac_configure_args0=; unset ac_configure_args0;}
2878 { ac_configure_args1=; unset ac_configure_args1;}
2880 # When interrupted or exit'd, cleanup temporary files, and complete
2881 # config.log. We remove comments because anyway the quotes in there
2882 # would cause problems or look ugly.
2883 # WARNING: Use '\'' to represent an apostrophe within the trap.
2884 # WARNING: Do not start the trap code with a newline, due to a FreeBSD 4.0 bug.
2885 trap 'exit_status=$?
2886 # Save into config.log some information that might help in debugging.
2888 echo
2890 $as_echo "## ---------------- ##
2891 ## Cache variables. ##
2892 ## ---------------- ##"
2893 echo
2894 # The following way of writing the cache mishandles newlines in values,
2896 for ac_var in `(set) 2>&1 | sed -n '\''s/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'\''`; do
2897 eval ac_val=\$$ac_var
2898 case $ac_val in #(
2899 *${as_nl}*)
2900 case $ac_var in #(
2901 *_cv_*) { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: cache variable $ac_var contains a newline" >&5
2902 $as_echo "$as_me: WARNING: cache variable $ac_var contains a newline" >&2;} ;;
2903 esac
2904 case $ac_var in #(
2905 _ | IFS | as_nl) ;; #(
2906 BASH_ARGV | BASH_SOURCE) eval $ac_var= ;; #(
2907 *) { eval $ac_var=; unset $ac_var;} ;;
2908 esac ;;
2909 esac
2910 done
2911 (set) 2>&1 |
2912 case $as_nl`(ac_space='\'' '\''; set) 2>&1` in #(
2913 *${as_nl}ac_space=\ *)
2914 sed -n \
2915 "s/'\''/'\''\\\\'\'''\''/g;
2916 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\''\\2'\''/p"
2917 ;; #(
2919 sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
2921 esac |
2922 sort
2924 echo
2926 $as_echo "## ----------------- ##
2927 ## Output variables. ##
2928 ## ----------------- ##"
2929 echo
2930 for ac_var in $ac_subst_vars
2932 eval ac_val=\$$ac_var
2933 case $ac_val in
2934 *\'\''*) ac_val=`$as_echo "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;;
2935 esac
2936 $as_echo "$ac_var='\''$ac_val'\''"
2937 done | sort
2938 echo
2940 if test -n "$ac_subst_files"; then
2941 $as_echo "## ------------------- ##
2942 ## File substitutions. ##
2943 ## ------------------- ##"
2944 echo
2945 for ac_var in $ac_subst_files
2947 eval ac_val=\$$ac_var
2948 case $ac_val in
2949 *\'\''*) ac_val=`$as_echo "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;;
2950 esac
2951 $as_echo "$ac_var='\''$ac_val'\''"
2952 done | sort
2953 echo
2956 if test -s confdefs.h; then
2957 $as_echo "## ----------- ##
2958 ## confdefs.h. ##
2959 ## ----------- ##"
2960 echo
2961 cat confdefs.h
2962 echo
2964 test "$ac_signal" != 0 &&
2965 $as_echo "$as_me: caught signal $ac_signal"
2966 $as_echo "$as_me: exit $exit_status"
2967 } >&5
2968 rm -f core *.core core.conftest.* &&
2969 rm -f -r conftest* confdefs* conf$$* $ac_clean_files &&
2970 exit $exit_status
2972 for ac_signal in 1 2 13 15; do
2973 trap 'ac_signal='$ac_signal'; as_fn_exit 1' $ac_signal
2974 done
2975 ac_signal=0
2977 # confdefs.h avoids OS command line length limits that DEFS can exceed.
2978 rm -f -r conftest* confdefs.h
2980 $as_echo "/* confdefs.h */" > confdefs.h
2982 # Predefined preprocessor variables.
2984 cat >>confdefs.h <<_ACEOF
2985 #define PACKAGE_NAME "$PACKAGE_NAME"
2986 _ACEOF
2988 cat >>confdefs.h <<_ACEOF
2989 #define PACKAGE_TARNAME "$PACKAGE_TARNAME"
2990 _ACEOF
2992 cat >>confdefs.h <<_ACEOF
2993 #define PACKAGE_VERSION "$PACKAGE_VERSION"
2994 _ACEOF
2996 cat >>confdefs.h <<_ACEOF
2997 #define PACKAGE_STRING "$PACKAGE_STRING"
2998 _ACEOF
3000 cat >>confdefs.h <<_ACEOF
3001 #define PACKAGE_BUGREPORT "$PACKAGE_BUGREPORT"
3002 _ACEOF
3004 cat >>confdefs.h <<_ACEOF
3005 #define PACKAGE_URL "$PACKAGE_URL"
3006 _ACEOF
3009 # Let the site file select an alternate cache file if it wants to.
3010 # Prefer an explicitly selected file to automatically selected ones.
3011 ac_site_file1=NONE
3012 ac_site_file2=NONE
3013 if test -n "$CONFIG_SITE"; then
3014 # We do not want a PATH search for config.site.
3015 case $CONFIG_SITE in #((
3016 -*) ac_site_file1=./$CONFIG_SITE;;
3017 */*) ac_site_file1=$CONFIG_SITE;;
3018 *) ac_site_file1=./$CONFIG_SITE;;
3019 esac
3020 elif test "x$prefix" != xNONE; then
3021 ac_site_file1=$prefix/share/config.site
3022 ac_site_file2=$prefix/etc/config.site
3023 else
3024 ac_site_file1=$ac_default_prefix/share/config.site
3025 ac_site_file2=$ac_default_prefix/etc/config.site
3027 for ac_site_file in "$ac_site_file1" "$ac_site_file2"
3029 test "x$ac_site_file" = xNONE && continue
3030 if test /dev/null != "$ac_site_file" && test -r "$ac_site_file"; then
3031 { $as_echo "$as_me:${as_lineno-$LINENO}: loading site script $ac_site_file" >&5
3032 $as_echo "$as_me: loading site script $ac_site_file" >&6;}
3033 sed 's/^/| /' "$ac_site_file" >&5
3034 . "$ac_site_file" \
3035 || { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
3036 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
3037 as_fn_error $? "failed to load site script $ac_site_file
3038 See \`config.log' for more details" "$LINENO" 5; }
3040 done
3042 if test -r "$cache_file"; then
3043 # Some versions of bash will fail to source /dev/null (special files
3044 # actually), so we avoid doing that. DJGPP emulates it as a regular file.
3045 if test /dev/null != "$cache_file" && test -f "$cache_file"; then
3046 { $as_echo "$as_me:${as_lineno-$LINENO}: loading cache $cache_file" >&5
3047 $as_echo "$as_me: loading cache $cache_file" >&6;}
3048 case $cache_file in
3049 [\\/]* | ?:[\\/]* ) . "$cache_file";;
3050 *) . "./$cache_file";;
3051 esac
3053 else
3054 { $as_echo "$as_me:${as_lineno-$LINENO}: creating cache $cache_file" >&5
3055 $as_echo "$as_me: creating cache $cache_file" >&6;}
3056 >$cache_file
3059 # Check that the precious variables saved in the cache have kept the same
3060 # value.
3061 ac_cache_corrupted=false
3062 for ac_var in $ac_precious_vars; do
3063 eval ac_old_set=\$ac_cv_env_${ac_var}_set
3064 eval ac_new_set=\$ac_env_${ac_var}_set
3065 eval ac_old_val=\$ac_cv_env_${ac_var}_value
3066 eval ac_new_val=\$ac_env_${ac_var}_value
3067 case $ac_old_set,$ac_new_set in
3068 set,)
3069 { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&5
3070 $as_echo "$as_me: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&2;}
3071 ac_cache_corrupted=: ;;
3072 ,set)
3073 { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' was not set in the previous run" >&5
3074 $as_echo "$as_me: error: \`$ac_var' was not set in the previous run" >&2;}
3075 ac_cache_corrupted=: ;;
3076 ,);;
3078 if test "x$ac_old_val" != "x$ac_new_val"; then
3079 # differences in whitespace do not lead to failure.
3080 ac_old_val_w=`echo x $ac_old_val`
3081 ac_new_val_w=`echo x $ac_new_val`
3082 if test "$ac_old_val_w" != "$ac_new_val_w"; then
3083 { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' has changed since the previous run:" >&5
3084 $as_echo "$as_me: error: \`$ac_var' has changed since the previous run:" >&2;}
3085 ac_cache_corrupted=:
3086 else
3087 { $as_echo "$as_me:${as_lineno-$LINENO}: warning: ignoring whitespace changes in \`$ac_var' since the previous run:" >&5
3088 $as_echo "$as_me: warning: ignoring whitespace changes in \`$ac_var' since the previous run:" >&2;}
3089 eval $ac_var=\$ac_old_val
3091 { $as_echo "$as_me:${as_lineno-$LINENO}: former value: \`$ac_old_val'" >&5
3092 $as_echo "$as_me: former value: \`$ac_old_val'" >&2;}
3093 { $as_echo "$as_me:${as_lineno-$LINENO}: current value: \`$ac_new_val'" >&5
3094 $as_echo "$as_me: current value: \`$ac_new_val'" >&2;}
3095 fi;;
3096 esac
3097 # Pass precious variables to config.status.
3098 if test "$ac_new_set" = set; then
3099 case $ac_new_val in
3100 *\'*) ac_arg=$ac_var=`$as_echo "$ac_new_val" | sed "s/'/'\\\\\\\\''/g"` ;;
3101 *) ac_arg=$ac_var=$ac_new_val ;;
3102 esac
3103 case " $ac_configure_args " in
3104 *" '$ac_arg' "*) ;; # Avoid dups. Use of quotes ensures accuracy.
3105 *) as_fn_append ac_configure_args " '$ac_arg'" ;;
3106 esac
3108 done
3109 if $ac_cache_corrupted; then
3110 { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
3111 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
3112 { $as_echo "$as_me:${as_lineno-$LINENO}: error: changes in the environment can compromise the build" >&5
3113 $as_echo "$as_me: error: changes in the environment can compromise the build" >&2;}
3114 as_fn_error $? "run \`make distclean' and/or \`rm $cache_file' and start over" "$LINENO" 5
3116 ## -------------------- ##
3117 ## Main body of script. ##
3118 ## -------------------- ##
3120 ac_ext=c
3121 ac_cpp='$CPP $CPPFLAGS'
3122 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
3123 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
3124 ac_compiler_gnu=$ac_cv_c_compiler_gnu
3128 ac_config_headers="$ac_config_headers include/config.h"
3130 ac_aux_dir=
3131 for ac_dir in tools "$srcdir"/tools; do
3132 if test -f "$ac_dir/install-sh"; then
3133 ac_aux_dir=$ac_dir
3134 ac_install_sh="$ac_aux_dir/install-sh -c"
3135 break
3136 elif test -f "$ac_dir/install.sh"; then
3137 ac_aux_dir=$ac_dir
3138 ac_install_sh="$ac_aux_dir/install.sh -c"
3139 break
3140 elif test -f "$ac_dir/shtool"; then
3141 ac_aux_dir=$ac_dir
3142 ac_install_sh="$ac_aux_dir/shtool install -c"
3143 break
3145 done
3146 if test -z "$ac_aux_dir"; then
3147 as_fn_error $? "cannot find install-sh, install.sh, or shtool in tools \"$srcdir\"/tools" "$LINENO" 5
3150 # These three variables are undocumented and unsupported,
3151 # and are intended to be withdrawn in a future Autoconf release.
3152 # They can cause serious problems if a builder's source tree is in a directory
3153 # whose full name contains unusual characters.
3154 ac_config_guess="$SHELL $ac_aux_dir/config.guess" # Please don't use this var.
3155 ac_config_sub="$SHELL $ac_aux_dir/config.sub" # Please don't use this var.
3156 ac_configure="$SHELL $ac_aux_dir/configure" # Please don't use this var.
3160 libwine_version="1.0"
3164 # Check whether --enable-win16 was given.
3165 if test "${enable_win16+set}" = set; then :
3166 enableval=$enable_win16;
3169 # Check whether --enable-win64 was given.
3170 if test "${enable_win64+set}" = set; then :
3171 enableval=$enable_win64;
3174 # Check whether --enable-tests was given.
3175 if test "${enable_tests+set}" = set; then :
3176 enableval=$enable_tests;
3179 # Check whether --enable-maintainer-mode was given.
3180 if test "${enable_maintainer_mode+set}" = set; then :
3181 enableval=$enable_maintainer_mode;
3186 # Check whether --with-alsa was given.
3187 if test "${with_alsa+set}" = set; then :
3188 withval=$with_alsa; if test "x$withval" = "xno"; then ac_cv_header_sys_asoundlib_h=no; ac_cv_header_alsa_asoundlib_h=no; fi
3192 # Check whether --with-capi was given.
3193 if test "${with_capi+set}" = set; then :
3194 withval=$with_capi;
3198 # Check whether --with-cms was given.
3199 if test "${with_cms+set}" = set; then :
3200 withval=$with_cms;
3204 # Check whether --with-coreaudio was given.
3205 if test "${with_coreaudio+set}" = set; then :
3206 withval=$with_coreaudio; if test "x$withval" = "xno"; then ac_cv_header_CoreAudio_CoreAudio_h=no; fi
3210 # Check whether --with-cups was given.
3211 if test "${with_cups+set}" = set; then :
3212 withval=$with_cups;
3216 # Check whether --with-curses was given.
3217 if test "${with_curses+set}" = set; then :
3218 withval=$with_curses; if test "x$withval" = "xno"; then ac_cv_header_ncurses_h=no; ac_cv_header_curses_h=no; fi
3222 # Check whether --with-dbus was given.
3223 if test "${with_dbus+set}" = set; then :
3224 withval=$with_dbus;
3228 # Check whether --with-fontconfig was given.
3229 if test "${with_fontconfig+set}" = set; then :
3230 withval=$with_fontconfig;
3234 # Check whether --with-freetype was given.
3235 if test "${with_freetype+set}" = set; then :
3236 withval=$with_freetype;
3240 # Check whether --with-gettext was given.
3241 if test "${with_gettext+set}" = set; then :
3242 withval=$with_gettext;
3246 # Check whether --with-gettextpo was given.
3247 if test "${with_gettextpo+set}" = set; then :
3248 withval=$with_gettextpo; if test "x$withval" = "xno"; then ac_cv_header_gettext_po_h=no; fi
3252 # Check whether --with-gphoto was given.
3253 if test "${with_gphoto+set}" = set; then :
3254 withval=$with_gphoto;
3258 # Check whether --with-glu was given.
3259 if test "${with_glu+set}" = set; then :
3260 withval=$with_glu;
3264 # Check whether --with-gnutls was given.
3265 if test "${with_gnutls+set}" = set; then :
3266 withval=$with_gnutls;
3270 # Check whether --with-gsm was given.
3271 if test "${with_gsm+set}" = set; then :
3272 withval=$with_gsm; if test "x$withval" = "xno"; then ac_cv_header_gsm_h=no; ac_cv_header_gsm_gsm_h=no; fi
3276 # Check whether --with-gstreamer was given.
3277 if test "${with_gstreamer+set}" = set; then :
3278 withval=$with_gstreamer;
3282 # Check whether --with-hal was given.
3283 if test "${with_hal+set}" = set; then :
3284 withval=$with_hal;
3288 # Check whether --with-jpeg was given.
3289 if test "${with_jpeg+set}" = set; then :
3290 withval=$with_jpeg;
3294 # Check whether --with-ldap was given.
3295 if test "${with_ldap+set}" = set; then :
3296 withval=$with_ldap; if test "x$withval" = "xno"; then ac_cv_header_ldap_h=no; ac_cv_header_lber_h=no; fi
3300 # Check whether --with-mpg123 was given.
3301 if test "${with_mpg123+set}" = set; then :
3302 withval=$with_mpg123;
3306 # Check whether --with-netapi was given.
3307 if test "${with_netapi+set}" = set; then :
3308 withval=$with_netapi;
3312 # Check whether --with-openal was given.
3313 if test "${with_openal+set}" = set; then :
3314 withval=$with_openal; if test "x$withval" = "xno"; then ac_cv_header_AL_al_h=no; ac_cv_header_OpenAL_al_h=no; fi
3318 # Check whether --with-opencl was given.
3319 if test "${with_opencl+set}" = set; then :
3320 withval=$with_opencl; if test "x$withval" = "xno"; then ac_cv_header_CL_cl_h=no; ac_cv_header_OpenCL_opencl_h=no; fi
3324 # Check whether --with-opengl was given.
3325 if test "${with_opengl+set}" = set; then :
3326 withval=$with_opengl;
3330 # Check whether --with-osmesa was given.
3331 if test "${with_osmesa+set}" = set; then :
3332 withval=$with_osmesa;
3336 # Check whether --with-oss was given.
3337 if test "${with_oss+set}" = set; then :
3338 withval=$with_oss;
3342 # Check whether --with-pcap was given.
3343 if test "${with_pcap+set}" = set; then :
3344 withval=$with_pcap; if test "x$withval" = "xno"; then ac_cv_header_pcap_pcap_h=no; fi
3348 # Check whether --with-png was given.
3349 if test "${with_png+set}" = set; then :
3350 withval=$with_png;
3354 # Check whether --with-pthread was given.
3355 if test "${with_pthread+set}" = set; then :
3356 withval=$with_pthread; if test "x$withval" = "xno"; then ac_cv_header_pthread_h=no; fi
3360 # Check whether --with-sane was given.
3361 if test "${with_sane+set}" = set; then :
3362 withval=$with_sane;
3366 # Check whether --with-tiff was given.
3367 if test "${with_tiff+set}" = set; then :
3368 withval=$with_tiff;
3372 # Check whether --with-v4l was given.
3373 if test "${with_v4l+set}" = set; then :
3374 withval=$with_v4l;
3378 # Check whether --with-xcomposite was given.
3379 if test "${with_xcomposite+set}" = set; then :
3380 withval=$with_xcomposite; if test "x$withval" = "xno"; then ac_cv_header_X11_extensions_Xcomposite_h=no; fi
3384 # Check whether --with-xcursor was given.
3385 if test "${with_xcursor+set}" = set; then :
3386 withval=$with_xcursor; if test "x$withval" = "xno"; then ac_cv_header_X11_Xcursor_Xcursor_h=no; fi
3390 # Check whether --with-xinerama was given.
3391 if test "${with_xinerama+set}" = set; then :
3392 withval=$with_xinerama; if test "x$withval" = "xno"; then ac_cv_header_X11_extensions_Xinerama_h=no; fi
3396 # Check whether --with-xinput was given.
3397 if test "${with_xinput+set}" = set; then :
3398 withval=$with_xinput; if test "x$withval" = "xno"; then ac_cv_header_X11_extensions_XInput_h=no; fi
3402 # Check whether --with-xinput2 was given.
3403 if test "${with_xinput2+set}" = set; then :
3404 withval=$with_xinput2; if test "x$withval" = "xno"; then ac_cv_header_X11_extensions_XInput2_h=no; fi
3408 # Check whether --with-xml was given.
3409 if test "${with_xml+set}" = set; then :
3410 withval=$with_xml;
3414 # Check whether --with-xrandr was given.
3415 if test "${with_xrandr+set}" = set; then :
3416 withval=$with_xrandr; if test "x$withval" = "xno"; then ac_cv_header_X11_extensions_Xrandr_h=no; fi
3420 # Check whether --with-xrender was given.
3421 if test "${with_xrender+set}" = set; then :
3422 withval=$with_xrender; if test "x$withval" = "xno"; then ac_cv_header_X11_extensions_Xrender_h=no; fi
3426 # Check whether --with-xshape was given.
3427 if test "${with_xshape+set}" = set; then :
3428 withval=$with_xshape; if test "x$withval" = "xno"; then ac_cv_header_X11_extensions_shape_h=no; fi
3432 # Check whether --with-xshm was given.
3433 if test "${with_xshm+set}" = set; then :
3434 withval=$with_xshm; if test "x$withval" = "xno"; then ac_cv_header_X11_extensions_XShm_h=no; fi
3438 # Check whether --with-xslt was given.
3439 if test "${with_xslt+set}" = set; then :
3440 withval=$with_xslt;
3444 # Check whether --with-xxf86vm was given.
3445 if test "${with_xxf86vm+set}" = set; then :
3446 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
3450 # Check whether --with-zlib was given.
3451 if test "${with_zlib+set}" = set; then :
3452 withval=$with_zlib; if test "x$withval" = "xno"; then ac_cv_header_zlib_h=no; fi
3457 # Check whether --with-wine-tools was given.
3458 if test "${with_wine_tools+set}" = set; then :
3459 withval=$with_wine_tools;
3463 # Check whether --with-wine64 was given.
3464 if test "${with_wine64+set}" = set; then :
3465 withval=$with_wine64;
3469 # Make sure we can run config.sub.
3470 $SHELL "$ac_aux_dir/config.sub" sun4 >/dev/null 2>&1 ||
3471 as_fn_error $? "cannot run $SHELL $ac_aux_dir/config.sub" "$LINENO" 5
3473 { $as_echo "$as_me:${as_lineno-$LINENO}: checking build system type" >&5
3474 $as_echo_n "checking build system type... " >&6; }
3475 if ${ac_cv_build+:} false; then :
3476 $as_echo_n "(cached) " >&6
3477 else
3478 ac_build_alias=$build_alias
3479 test "x$ac_build_alias" = x &&
3480 ac_build_alias=`$SHELL "$ac_aux_dir/config.guess"`
3481 test "x$ac_build_alias" = x &&
3482 as_fn_error $? "cannot guess build type; you must specify one" "$LINENO" 5
3483 ac_cv_build=`$SHELL "$ac_aux_dir/config.sub" $ac_build_alias` ||
3484 as_fn_error $? "$SHELL $ac_aux_dir/config.sub $ac_build_alias failed" "$LINENO" 5
3487 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_build" >&5
3488 $as_echo "$ac_cv_build" >&6; }
3489 case $ac_cv_build in
3490 *-*-*) ;;
3491 *) as_fn_error $? "invalid value of canonical build" "$LINENO" 5;;
3492 esac
3493 build=$ac_cv_build
3494 ac_save_IFS=$IFS; IFS='-'
3495 set x $ac_cv_build
3496 shift
3497 build_cpu=$1
3498 build_vendor=$2
3499 shift; shift
3500 # Remember, the first character of IFS is used to create $*,
3501 # except with old shells:
3502 build_os=$*
3503 IFS=$ac_save_IFS
3504 case $build_os in *\ *) build_os=`echo "$build_os" | sed 's/ /-/g'`;; esac
3507 { $as_echo "$as_me:${as_lineno-$LINENO}: checking host system type" >&5
3508 $as_echo_n "checking host system type... " >&6; }
3509 if ${ac_cv_host+:} false; then :
3510 $as_echo_n "(cached) " >&6
3511 else
3512 if test "x$host_alias" = x; then
3513 ac_cv_host=$ac_cv_build
3514 else
3515 ac_cv_host=`$SHELL "$ac_aux_dir/config.sub" $host_alias` ||
3516 as_fn_error $? "$SHELL $ac_aux_dir/config.sub $host_alias failed" "$LINENO" 5
3520 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_host" >&5
3521 $as_echo "$ac_cv_host" >&6; }
3522 case $ac_cv_host in
3523 *-*-*) ;;
3524 *) as_fn_error $? "invalid value of canonical host" "$LINENO" 5;;
3525 esac
3526 host=$ac_cv_host
3527 ac_save_IFS=$IFS; IFS='-'
3528 set x $ac_cv_host
3529 shift
3530 host_cpu=$1
3531 host_vendor=$2
3532 shift; shift
3533 # Remember, the first character of IFS is used to create $*,
3534 # except with old shells:
3535 host_os=$*
3536 IFS=$ac_save_IFS
3537 case $host_os in *\ *) host_os=`echo "$host_os" | sed 's/ /-/g'`;; esac
3541 case "$srcdir" in
3542 .) ;;
3543 *) if test -f "$srcdir/Makefile" -o -f "$srcdir/include/config.h"; then
3544 as_fn_error $? "you are building out of the source tree, but the source tree contains object files.
3545 You need to run 'make distclean' in the source tree first." "$LINENO" 5
3546 fi ;;
3547 esac
3550 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ${MAKE-make} sets \$(MAKE)" >&5
3551 $as_echo_n "checking whether ${MAKE-make} sets \$(MAKE)... " >&6; }
3552 set x ${MAKE-make}
3553 ac_make=`$as_echo "$2" | sed 's/+/p/g; s/[^a-zA-Z0-9_]/_/g'`
3554 if eval \${ac_cv_prog_make_${ac_make}_set+:} false; then :
3555 $as_echo_n "(cached) " >&6
3556 else
3557 cat >conftest.make <<\_ACEOF
3558 SHELL = /bin/sh
3559 all:
3560 @echo '@@@%%%=$(MAKE)=@@@%%%'
3561 _ACEOF
3562 # GNU make sometimes prints "make[1]: Entering ...", which would confuse us.
3563 case `${MAKE-make} -f conftest.make 2>/dev/null` in
3564 *@@@%%%=?*=@@@%%%*)
3565 eval ac_cv_prog_make_${ac_make}_set=yes;;
3567 eval ac_cv_prog_make_${ac_make}_set=no;;
3568 esac
3569 rm -f conftest.make
3571 if eval test \$ac_cv_prog_make_${ac_make}_set = yes; then
3572 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
3573 $as_echo "yes" >&6; }
3574 SET_MAKE=
3575 else
3576 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3577 $as_echo "no" >&6; }
3578 SET_MAKE="MAKE=${MAKE-make}"
3581 ac_ext=c
3582 ac_cpp='$CPP $CPPFLAGS'
3583 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
3584 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
3585 ac_compiler_gnu=$ac_cv_c_compiler_gnu
3586 if test -n "$ac_tool_prefix"; then
3587 # Extract the first word of "${ac_tool_prefix}gcc", so it can be a program name with args.
3588 set dummy ${ac_tool_prefix}gcc; ac_word=$2
3589 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3590 $as_echo_n "checking for $ac_word... " >&6; }
3591 if ${ac_cv_prog_CC+:} false; then :
3592 $as_echo_n "(cached) " >&6
3593 else
3594 if test -n "$CC"; then
3595 ac_cv_prog_CC="$CC" # Let the user override the test.
3596 else
3597 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3598 for as_dir in $PATH
3600 IFS=$as_save_IFS
3601 test -z "$as_dir" && as_dir=.
3602 for ac_exec_ext in '' $ac_executable_extensions; do
3603 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
3604 ac_cv_prog_CC="${ac_tool_prefix}gcc"
3605 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3606 break 2
3608 done
3609 done
3610 IFS=$as_save_IFS
3614 CC=$ac_cv_prog_CC
3615 if test -n "$CC"; then
3616 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
3617 $as_echo "$CC" >&6; }
3618 else
3619 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3620 $as_echo "no" >&6; }
3625 if test -z "$ac_cv_prog_CC"; then
3626 ac_ct_CC=$CC
3627 # Extract the first word of "gcc", so it can be a program name with args.
3628 set dummy gcc; ac_word=$2
3629 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3630 $as_echo_n "checking for $ac_word... " >&6; }
3631 if ${ac_cv_prog_ac_ct_CC+:} false; then :
3632 $as_echo_n "(cached) " >&6
3633 else
3634 if test -n "$ac_ct_CC"; then
3635 ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
3636 else
3637 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3638 for as_dir in $PATH
3640 IFS=$as_save_IFS
3641 test -z "$as_dir" && as_dir=.
3642 for ac_exec_ext in '' $ac_executable_extensions; do
3643 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
3644 ac_cv_prog_ac_ct_CC="gcc"
3645 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3646 break 2
3648 done
3649 done
3650 IFS=$as_save_IFS
3654 ac_ct_CC=$ac_cv_prog_ac_ct_CC
3655 if test -n "$ac_ct_CC"; then
3656 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CC" >&5
3657 $as_echo "$ac_ct_CC" >&6; }
3658 else
3659 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3660 $as_echo "no" >&6; }
3663 if test "x$ac_ct_CC" = x; then
3664 CC=""
3665 else
3666 case $cross_compiling:$ac_tool_warned in
3667 yes:)
3668 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
3669 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
3670 ac_tool_warned=yes ;;
3671 esac
3672 CC=$ac_ct_CC
3674 else
3675 CC="$ac_cv_prog_CC"
3678 if test -z "$CC"; then
3679 if test -n "$ac_tool_prefix"; then
3680 # Extract the first word of "${ac_tool_prefix}cc", so it can be a program name with args.
3681 set dummy ${ac_tool_prefix}cc; ac_word=$2
3682 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3683 $as_echo_n "checking for $ac_word... " >&6; }
3684 if ${ac_cv_prog_CC+:} false; then :
3685 $as_echo_n "(cached) " >&6
3686 else
3687 if test -n "$CC"; then
3688 ac_cv_prog_CC="$CC" # Let the user override the test.
3689 else
3690 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3691 for as_dir in $PATH
3693 IFS=$as_save_IFS
3694 test -z "$as_dir" && as_dir=.
3695 for ac_exec_ext in '' $ac_executable_extensions; do
3696 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
3697 ac_cv_prog_CC="${ac_tool_prefix}cc"
3698 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3699 break 2
3701 done
3702 done
3703 IFS=$as_save_IFS
3707 CC=$ac_cv_prog_CC
3708 if test -n "$CC"; then
3709 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
3710 $as_echo "$CC" >&6; }
3711 else
3712 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3713 $as_echo "no" >&6; }
3719 if test -z "$CC"; then
3720 # Extract the first word of "cc", so it can be a program name with args.
3721 set dummy cc; ac_word=$2
3722 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3723 $as_echo_n "checking for $ac_word... " >&6; }
3724 if ${ac_cv_prog_CC+:} false; then :
3725 $as_echo_n "(cached) " >&6
3726 else
3727 if test -n "$CC"; then
3728 ac_cv_prog_CC="$CC" # Let the user override the test.
3729 else
3730 ac_prog_rejected=no
3731 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3732 for as_dir in $PATH
3734 IFS=$as_save_IFS
3735 test -z "$as_dir" && as_dir=.
3736 for ac_exec_ext in '' $ac_executable_extensions; do
3737 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
3738 if test "$as_dir/$ac_word$ac_exec_ext" = "/usr/ucb/cc"; then
3739 ac_prog_rejected=yes
3740 continue
3742 ac_cv_prog_CC="cc"
3743 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3744 break 2
3746 done
3747 done
3748 IFS=$as_save_IFS
3750 if test $ac_prog_rejected = yes; then
3751 # We found a bogon in the path, so make sure we never use it.
3752 set dummy $ac_cv_prog_CC
3753 shift
3754 if test $# != 0; then
3755 # We chose a different compiler from the bogus one.
3756 # However, it has the same basename, so the bogon will be chosen
3757 # first if we set CC to just the basename; use the full file name.
3758 shift
3759 ac_cv_prog_CC="$as_dir/$ac_word${1+' '}$@"
3764 CC=$ac_cv_prog_CC
3765 if test -n "$CC"; then
3766 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
3767 $as_echo "$CC" >&6; }
3768 else
3769 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3770 $as_echo "no" >&6; }
3775 if test -z "$CC"; then
3776 if test -n "$ac_tool_prefix"; then
3777 for ac_prog in cl.exe
3779 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
3780 set dummy $ac_tool_prefix$ac_prog; ac_word=$2
3781 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3782 $as_echo_n "checking for $ac_word... " >&6; }
3783 if ${ac_cv_prog_CC+:} false; then :
3784 $as_echo_n "(cached) " >&6
3785 else
3786 if test -n "$CC"; then
3787 ac_cv_prog_CC="$CC" # Let the user override the test.
3788 else
3789 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3790 for as_dir in $PATH
3792 IFS=$as_save_IFS
3793 test -z "$as_dir" && as_dir=.
3794 for ac_exec_ext in '' $ac_executable_extensions; do
3795 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
3796 ac_cv_prog_CC="$ac_tool_prefix$ac_prog"
3797 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3798 break 2
3800 done
3801 done
3802 IFS=$as_save_IFS
3806 CC=$ac_cv_prog_CC
3807 if test -n "$CC"; then
3808 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
3809 $as_echo "$CC" >&6; }
3810 else
3811 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3812 $as_echo "no" >&6; }
3816 test -n "$CC" && break
3817 done
3819 if test -z "$CC"; then
3820 ac_ct_CC=$CC
3821 for ac_prog in cl.exe
3823 # Extract the first word of "$ac_prog", so it can be a program name with args.
3824 set dummy $ac_prog; ac_word=$2
3825 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3826 $as_echo_n "checking for $ac_word... " >&6; }
3827 if ${ac_cv_prog_ac_ct_CC+:} false; then :
3828 $as_echo_n "(cached) " >&6
3829 else
3830 if test -n "$ac_ct_CC"; then
3831 ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
3832 else
3833 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3834 for as_dir in $PATH
3836 IFS=$as_save_IFS
3837 test -z "$as_dir" && as_dir=.
3838 for ac_exec_ext in '' $ac_executable_extensions; do
3839 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
3840 ac_cv_prog_ac_ct_CC="$ac_prog"
3841 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3842 break 2
3844 done
3845 done
3846 IFS=$as_save_IFS
3850 ac_ct_CC=$ac_cv_prog_ac_ct_CC
3851 if test -n "$ac_ct_CC"; then
3852 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CC" >&5
3853 $as_echo "$ac_ct_CC" >&6; }
3854 else
3855 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3856 $as_echo "no" >&6; }
3860 test -n "$ac_ct_CC" && break
3861 done
3863 if test "x$ac_ct_CC" = x; then
3864 CC=""
3865 else
3866 case $cross_compiling:$ac_tool_warned in
3867 yes:)
3868 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
3869 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
3870 ac_tool_warned=yes ;;
3871 esac
3872 CC=$ac_ct_CC
3879 test -z "$CC" && { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
3880 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
3881 as_fn_error $? "no acceptable C compiler found in \$PATH
3882 See \`config.log' for more details" "$LINENO" 5; }
3884 # Provide some information about the compiler.
3885 $as_echo "$as_me:${as_lineno-$LINENO}: checking for C compiler version" >&5
3886 set X $ac_compile
3887 ac_compiler=$2
3888 for ac_option in --version -v -V -qversion; do
3889 { { ac_try="$ac_compiler $ac_option >&5"
3890 case "(($ac_try" in
3891 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3892 *) ac_try_echo=$ac_try;;
3893 esac
3894 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
3895 $as_echo "$ac_try_echo"; } >&5
3896 (eval "$ac_compiler $ac_option >&5") 2>conftest.err
3897 ac_status=$?
3898 if test -s conftest.err; then
3899 sed '10a\
3900 ... rest of stderr output deleted ...
3901 10q' conftest.err >conftest.er1
3902 cat conftest.er1 >&5
3904 rm -f conftest.er1 conftest.err
3905 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
3906 test $ac_status = 0; }
3907 done
3909 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3910 /* end confdefs.h. */
3913 main ()
3917 return 0;
3919 _ACEOF
3920 ac_clean_files_save=$ac_clean_files
3921 ac_clean_files="$ac_clean_files a.out a.out.dSYM a.exe b.out"
3922 # Try to create an executable without -o first, disregard a.out.
3923 # It will help us diagnose broken compilers, and finding out an intuition
3924 # of exeext.
3925 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the C compiler works" >&5
3926 $as_echo_n "checking whether the C compiler works... " >&6; }
3927 ac_link_default=`$as_echo "$ac_link" | sed 's/ -o *conftest[^ ]*//'`
3929 # The possible output files:
3930 ac_files="a.out conftest.exe conftest a.exe a_out.exe b.out conftest.*"
3932 ac_rmfiles=
3933 for ac_file in $ac_files
3935 case $ac_file in
3936 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj ) ;;
3937 * ) ac_rmfiles="$ac_rmfiles $ac_file";;
3938 esac
3939 done
3940 rm -f $ac_rmfiles
3942 if { { ac_try="$ac_link_default"
3943 case "(($ac_try" in
3944 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3945 *) ac_try_echo=$ac_try;;
3946 esac
3947 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
3948 $as_echo "$ac_try_echo"; } >&5
3949 (eval "$ac_link_default") 2>&5
3950 ac_status=$?
3951 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
3952 test $ac_status = 0; }; then :
3953 # Autoconf-2.13 could set the ac_cv_exeext variable to `no'.
3954 # So ignore a value of `no', otherwise this would lead to `EXEEXT = no'
3955 # in a Makefile. We should not override ac_cv_exeext if it was cached,
3956 # so that the user can short-circuit this test for compilers unknown to
3957 # Autoconf.
3958 for ac_file in $ac_files ''
3960 test -f "$ac_file" || continue
3961 case $ac_file in
3962 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj )
3964 [ab].out )
3965 # We found the default executable, but exeext='' is most
3966 # certainly right.
3967 break;;
3968 *.* )
3969 if test "${ac_cv_exeext+set}" = set && test "$ac_cv_exeext" != no;
3970 then :; else
3971 ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'`
3973 # We set ac_cv_exeext here because the later test for it is not
3974 # safe: cross compilers may not add the suffix if given an `-o'
3975 # argument, so we may need to know it at that point already.
3976 # Even if this section looks crufty: it has the advantage of
3977 # actually working.
3978 break;;
3980 break;;
3981 esac
3982 done
3983 test "$ac_cv_exeext" = no && ac_cv_exeext=
3985 else
3986 ac_file=''
3988 if test -z "$ac_file"; then :
3989 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3990 $as_echo "no" >&6; }
3991 $as_echo "$as_me: failed program was:" >&5
3992 sed 's/^/| /' conftest.$ac_ext >&5
3994 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
3995 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
3996 as_fn_error 77 "C compiler cannot create executables
3997 See \`config.log' for more details" "$LINENO" 5; }
3998 else
3999 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
4000 $as_echo "yes" >&6; }
4002 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for C compiler default output file name" >&5
4003 $as_echo_n "checking for C compiler default output file name... " >&6; }
4004 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_file" >&5
4005 $as_echo "$ac_file" >&6; }
4006 ac_exeext=$ac_cv_exeext
4008 rm -f -r a.out a.out.dSYM a.exe conftest$ac_cv_exeext b.out
4009 ac_clean_files=$ac_clean_files_save
4010 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for suffix of executables" >&5
4011 $as_echo_n "checking for suffix of executables... " >&6; }
4012 if { { ac_try="$ac_link"
4013 case "(($ac_try" in
4014 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
4015 *) ac_try_echo=$ac_try;;
4016 esac
4017 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
4018 $as_echo "$ac_try_echo"; } >&5
4019 (eval "$ac_link") 2>&5
4020 ac_status=$?
4021 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
4022 test $ac_status = 0; }; then :
4023 # If both `conftest.exe' and `conftest' are `present' (well, observable)
4024 # catch `conftest.exe'. For instance with Cygwin, `ls conftest' will
4025 # work properly (i.e., refer to `conftest.exe'), while it won't with
4026 # `rm'.
4027 for ac_file in conftest.exe conftest conftest.*; do
4028 test -f "$ac_file" || continue
4029 case $ac_file in
4030 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj ) ;;
4031 *.* ) ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'`
4032 break;;
4033 * ) break;;
4034 esac
4035 done
4036 else
4037 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
4038 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
4039 as_fn_error $? "cannot compute suffix of executables: cannot compile and link
4040 See \`config.log' for more details" "$LINENO" 5; }
4042 rm -f conftest conftest$ac_cv_exeext
4043 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_exeext" >&5
4044 $as_echo "$ac_cv_exeext" >&6; }
4046 rm -f conftest.$ac_ext
4047 EXEEXT=$ac_cv_exeext
4048 ac_exeext=$EXEEXT
4049 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4050 /* end confdefs.h. */
4051 #include <stdio.h>
4053 main ()
4055 FILE *f = fopen ("conftest.out", "w");
4056 return ferror (f) || fclose (f) != 0;
4059 return 0;
4061 _ACEOF
4062 ac_clean_files="$ac_clean_files conftest.out"
4063 # Check that the compiler produces executables we can run. If not, either
4064 # the compiler is broken, or we cross compile.
4065 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are cross compiling" >&5
4066 $as_echo_n "checking whether we are cross compiling... " >&6; }
4067 if test "$cross_compiling" != yes; then
4068 { { ac_try="$ac_link"
4069 case "(($ac_try" in
4070 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
4071 *) ac_try_echo=$ac_try;;
4072 esac
4073 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
4074 $as_echo "$ac_try_echo"; } >&5
4075 (eval "$ac_link") 2>&5
4076 ac_status=$?
4077 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
4078 test $ac_status = 0; }
4079 if { ac_try='./conftest$ac_cv_exeext'
4080 { { case "(($ac_try" in
4081 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
4082 *) ac_try_echo=$ac_try;;
4083 esac
4084 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
4085 $as_echo "$ac_try_echo"; } >&5
4086 (eval "$ac_try") 2>&5
4087 ac_status=$?
4088 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
4089 test $ac_status = 0; }; }; then
4090 cross_compiling=no
4091 else
4092 if test "$cross_compiling" = maybe; then
4093 cross_compiling=yes
4094 else
4095 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
4096 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
4097 as_fn_error $? "cannot run C compiled programs.
4098 If you meant to cross compile, use \`--host'.
4099 See \`config.log' for more details" "$LINENO" 5; }
4103 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $cross_compiling" >&5
4104 $as_echo "$cross_compiling" >&6; }
4106 rm -f conftest.$ac_ext conftest$ac_cv_exeext conftest.out
4107 ac_clean_files=$ac_clean_files_save
4108 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for suffix of object files" >&5
4109 $as_echo_n "checking for suffix of object files... " >&6; }
4110 if ${ac_cv_objext+:} false; then :
4111 $as_echo_n "(cached) " >&6
4112 else
4113 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4114 /* end confdefs.h. */
4117 main ()
4121 return 0;
4123 _ACEOF
4124 rm -f conftest.o conftest.obj
4125 if { { ac_try="$ac_compile"
4126 case "(($ac_try" in
4127 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
4128 *) ac_try_echo=$ac_try;;
4129 esac
4130 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
4131 $as_echo "$ac_try_echo"; } >&5
4132 (eval "$ac_compile") 2>&5
4133 ac_status=$?
4134 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
4135 test $ac_status = 0; }; then :
4136 for ac_file in conftest.o conftest.obj conftest.*; do
4137 test -f "$ac_file" || continue;
4138 case $ac_file in
4139 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM ) ;;
4140 *) ac_cv_objext=`expr "$ac_file" : '.*\.\(.*\)'`
4141 break;;
4142 esac
4143 done
4144 else
4145 $as_echo "$as_me: failed program was:" >&5
4146 sed 's/^/| /' conftest.$ac_ext >&5
4148 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
4149 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
4150 as_fn_error $? "cannot compute suffix of object files: cannot compile
4151 See \`config.log' for more details" "$LINENO" 5; }
4153 rm -f conftest.$ac_cv_objext conftest.$ac_ext
4155 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_objext" >&5
4156 $as_echo "$ac_cv_objext" >&6; }
4157 OBJEXT=$ac_cv_objext
4158 ac_objext=$OBJEXT
4159 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are using the GNU C compiler" >&5
4160 $as_echo_n "checking whether we are using the GNU C compiler... " >&6; }
4161 if ${ac_cv_c_compiler_gnu+:} false; then :
4162 $as_echo_n "(cached) " >&6
4163 else
4164 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4165 /* end confdefs.h. */
4168 main ()
4170 #ifndef __GNUC__
4171 choke me
4172 #endif
4175 return 0;
4177 _ACEOF
4178 if ac_fn_c_try_compile "$LINENO"; then :
4179 ac_compiler_gnu=yes
4180 else
4181 ac_compiler_gnu=no
4183 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4184 ac_cv_c_compiler_gnu=$ac_compiler_gnu
4187 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_compiler_gnu" >&5
4188 $as_echo "$ac_cv_c_compiler_gnu" >&6; }
4189 if test $ac_compiler_gnu = yes; then
4190 GCC=yes
4191 else
4192 GCC=
4194 ac_test_CFLAGS=${CFLAGS+set}
4195 ac_save_CFLAGS=$CFLAGS
4196 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CC accepts -g" >&5
4197 $as_echo_n "checking whether $CC accepts -g... " >&6; }
4198 if ${ac_cv_prog_cc_g+:} false; then :
4199 $as_echo_n "(cached) " >&6
4200 else
4201 ac_save_c_werror_flag=$ac_c_werror_flag
4202 ac_c_werror_flag=yes
4203 ac_cv_prog_cc_g=no
4204 CFLAGS="-g"
4205 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4206 /* end confdefs.h. */
4209 main ()
4213 return 0;
4215 _ACEOF
4216 if ac_fn_c_try_compile "$LINENO"; then :
4217 ac_cv_prog_cc_g=yes
4218 else
4219 CFLAGS=""
4220 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4221 /* end confdefs.h. */
4224 main ()
4228 return 0;
4230 _ACEOF
4231 if ac_fn_c_try_compile "$LINENO"; then :
4233 else
4234 ac_c_werror_flag=$ac_save_c_werror_flag
4235 CFLAGS="-g"
4236 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4237 /* end confdefs.h. */
4240 main ()
4244 return 0;
4246 _ACEOF
4247 if ac_fn_c_try_compile "$LINENO"; then :
4248 ac_cv_prog_cc_g=yes
4250 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4252 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4254 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4255 ac_c_werror_flag=$ac_save_c_werror_flag
4257 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_g" >&5
4258 $as_echo "$ac_cv_prog_cc_g" >&6; }
4259 if test "$ac_test_CFLAGS" = set; then
4260 CFLAGS=$ac_save_CFLAGS
4261 elif test $ac_cv_prog_cc_g = yes; then
4262 if test "$GCC" = yes; then
4263 CFLAGS="-g -O2"
4264 else
4265 CFLAGS="-g"
4267 else
4268 if test "$GCC" = yes; then
4269 CFLAGS="-O2"
4270 else
4271 CFLAGS=
4274 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $CC option to accept ISO C89" >&5
4275 $as_echo_n "checking for $CC option to accept ISO C89... " >&6; }
4276 if ${ac_cv_prog_cc_c89+:} false; then :
4277 $as_echo_n "(cached) " >&6
4278 else
4279 ac_cv_prog_cc_c89=no
4280 ac_save_CC=$CC
4281 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4282 /* end confdefs.h. */
4283 #include <stdarg.h>
4284 #include <stdio.h>
4285 struct stat;
4286 /* Most of the following tests are stolen from RCS 5.7's src/conf.sh. */
4287 struct buf { int x; };
4288 FILE * (*rcsopen) (struct buf *, struct stat *, int);
4289 static char *e (p, i)
4290 char **p;
4291 int i;
4293 return p[i];
4295 static char *f (char * (*g) (char **, int), char **p, ...)
4297 char *s;
4298 va_list v;
4299 va_start (v,p);
4300 s = g (p, va_arg (v,int));
4301 va_end (v);
4302 return s;
4305 /* OSF 4.0 Compaq cc is some sort of almost-ANSI by default. It has
4306 function prototypes and stuff, but not '\xHH' hex character constants.
4307 These don't provoke an error unfortunately, instead are silently treated
4308 as 'x'. The following induces an error, until -std is added to get
4309 proper ANSI mode. Curiously '\x00'!='x' always comes out true, for an
4310 array size at least. It's necessary to write '\x00'==0 to get something
4311 that's true only with -std. */
4312 int osf4_cc_array ['\x00' == 0 ? 1 : -1];
4314 /* IBM C 6 for AIX is almost-ANSI by default, but it replaces macro parameters
4315 inside strings and character constants. */
4316 #define FOO(x) 'x'
4317 int xlc6_cc_array[FOO(a) == 'x' ? 1 : -1];
4319 int test (int i, double x);
4320 struct s1 {int (*f) (int a);};
4321 struct s2 {int (*f) (double a);};
4322 int pairnames (int, char **, FILE *(*)(struct buf *, struct stat *, int), int, int);
4323 int argc;
4324 char **argv;
4326 main ()
4328 return f (e, argv, 0) != argv[0] || f (e, argv, 1) != argv[1];
4330 return 0;
4332 _ACEOF
4333 for ac_arg in '' -qlanglvl=extc89 -qlanglvl=ansi -std \
4334 -Ae "-Aa -D_HPUX_SOURCE" "-Xc -D__EXTENSIONS__"
4336 CC="$ac_save_CC $ac_arg"
4337 if ac_fn_c_try_compile "$LINENO"; then :
4338 ac_cv_prog_cc_c89=$ac_arg
4340 rm -f core conftest.err conftest.$ac_objext
4341 test "x$ac_cv_prog_cc_c89" != "xno" && break
4342 done
4343 rm -f conftest.$ac_ext
4344 CC=$ac_save_CC
4347 # AC_CACHE_VAL
4348 case "x$ac_cv_prog_cc_c89" in
4350 { $as_echo "$as_me:${as_lineno-$LINENO}: result: none needed" >&5
4351 $as_echo "none needed" >&6; } ;;
4352 xno)
4353 { $as_echo "$as_me:${as_lineno-$LINENO}: result: unsupported" >&5
4354 $as_echo "unsupported" >&6; } ;;
4356 CC="$CC $ac_cv_prog_cc_c89"
4357 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_c89" >&5
4358 $as_echo "$ac_cv_prog_cc_c89" >&6; } ;;
4359 esac
4360 if test "x$ac_cv_prog_cc_c89" != xno; then :
4364 ac_ext=c
4365 ac_cpp='$CPP $CPPFLAGS'
4366 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
4367 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
4368 ac_compiler_gnu=$ac_cv_c_compiler_gnu
4370 ac_ext=cpp
4371 ac_cpp='$CXXCPP $CPPFLAGS'
4372 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
4373 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
4374 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
4375 if test -z "$CXX"; then
4376 if test -n "$CCC"; then
4377 CXX=$CCC
4378 else
4379 if test -n "$ac_tool_prefix"; then
4380 for ac_prog in g++ c++ gpp aCC CC cxx cc++ cl.exe FCC KCC RCC xlC_r xlC
4382 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
4383 set dummy $ac_tool_prefix$ac_prog; ac_word=$2
4384 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4385 $as_echo_n "checking for $ac_word... " >&6; }
4386 if ${ac_cv_prog_CXX+:} false; then :
4387 $as_echo_n "(cached) " >&6
4388 else
4389 if test -n "$CXX"; then
4390 ac_cv_prog_CXX="$CXX" # Let the user override the test.
4391 else
4392 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4393 for as_dir in $PATH
4395 IFS=$as_save_IFS
4396 test -z "$as_dir" && as_dir=.
4397 for ac_exec_ext in '' $ac_executable_extensions; do
4398 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
4399 ac_cv_prog_CXX="$ac_tool_prefix$ac_prog"
4400 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4401 break 2
4403 done
4404 done
4405 IFS=$as_save_IFS
4409 CXX=$ac_cv_prog_CXX
4410 if test -n "$CXX"; then
4411 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CXX" >&5
4412 $as_echo "$CXX" >&6; }
4413 else
4414 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4415 $as_echo "no" >&6; }
4419 test -n "$CXX" && break
4420 done
4422 if test -z "$CXX"; then
4423 ac_ct_CXX=$CXX
4424 for ac_prog in g++ c++ gpp aCC CC cxx cc++ cl.exe FCC KCC RCC xlC_r xlC
4426 # Extract the first word of "$ac_prog", so it can be a program name with args.
4427 set dummy $ac_prog; ac_word=$2
4428 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4429 $as_echo_n "checking for $ac_word... " >&6; }
4430 if ${ac_cv_prog_ac_ct_CXX+:} false; then :
4431 $as_echo_n "(cached) " >&6
4432 else
4433 if test -n "$ac_ct_CXX"; then
4434 ac_cv_prog_ac_ct_CXX="$ac_ct_CXX" # Let the user override the test.
4435 else
4436 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4437 for as_dir in $PATH
4439 IFS=$as_save_IFS
4440 test -z "$as_dir" && as_dir=.
4441 for ac_exec_ext in '' $ac_executable_extensions; do
4442 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
4443 ac_cv_prog_ac_ct_CXX="$ac_prog"
4444 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4445 break 2
4447 done
4448 done
4449 IFS=$as_save_IFS
4453 ac_ct_CXX=$ac_cv_prog_ac_ct_CXX
4454 if test -n "$ac_ct_CXX"; then
4455 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CXX" >&5
4456 $as_echo "$ac_ct_CXX" >&6; }
4457 else
4458 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4459 $as_echo "no" >&6; }
4463 test -n "$ac_ct_CXX" && break
4464 done
4466 if test "x$ac_ct_CXX" = x; then
4467 CXX="g++"
4468 else
4469 case $cross_compiling:$ac_tool_warned in
4470 yes:)
4471 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
4472 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
4473 ac_tool_warned=yes ;;
4474 esac
4475 CXX=$ac_ct_CXX
4481 # Provide some information about the compiler.
4482 $as_echo "$as_me:${as_lineno-$LINENO}: checking for C++ compiler version" >&5
4483 set X $ac_compile
4484 ac_compiler=$2
4485 for ac_option in --version -v -V -qversion; do
4486 { { ac_try="$ac_compiler $ac_option >&5"
4487 case "(($ac_try" in
4488 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
4489 *) ac_try_echo=$ac_try;;
4490 esac
4491 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
4492 $as_echo "$ac_try_echo"; } >&5
4493 (eval "$ac_compiler $ac_option >&5") 2>conftest.err
4494 ac_status=$?
4495 if test -s conftest.err; then
4496 sed '10a\
4497 ... rest of stderr output deleted ...
4498 10q' conftest.err >conftest.er1
4499 cat conftest.er1 >&5
4501 rm -f conftest.er1 conftest.err
4502 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
4503 test $ac_status = 0; }
4504 done
4506 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are using the GNU C++ compiler" >&5
4507 $as_echo_n "checking whether we are using the GNU C++ compiler... " >&6; }
4508 if ${ac_cv_cxx_compiler_gnu+:} false; then :
4509 $as_echo_n "(cached) " >&6
4510 else
4511 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4512 /* end confdefs.h. */
4515 main ()
4517 #ifndef __GNUC__
4518 choke me
4519 #endif
4522 return 0;
4524 _ACEOF
4525 if ac_fn_cxx_try_compile "$LINENO"; then :
4526 ac_compiler_gnu=yes
4527 else
4528 ac_compiler_gnu=no
4530 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4531 ac_cv_cxx_compiler_gnu=$ac_compiler_gnu
4534 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cxx_compiler_gnu" >&5
4535 $as_echo "$ac_cv_cxx_compiler_gnu" >&6; }
4536 if test $ac_compiler_gnu = yes; then
4537 GXX=yes
4538 else
4539 GXX=
4541 ac_test_CXXFLAGS=${CXXFLAGS+set}
4542 ac_save_CXXFLAGS=$CXXFLAGS
4543 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CXX accepts -g" >&5
4544 $as_echo_n "checking whether $CXX accepts -g... " >&6; }
4545 if ${ac_cv_prog_cxx_g+:} false; then :
4546 $as_echo_n "(cached) " >&6
4547 else
4548 ac_save_cxx_werror_flag=$ac_cxx_werror_flag
4549 ac_cxx_werror_flag=yes
4550 ac_cv_prog_cxx_g=no
4551 CXXFLAGS="-g"
4552 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4553 /* end confdefs.h. */
4556 main ()
4560 return 0;
4562 _ACEOF
4563 if ac_fn_cxx_try_compile "$LINENO"; then :
4564 ac_cv_prog_cxx_g=yes
4565 else
4566 CXXFLAGS=""
4567 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4568 /* end confdefs.h. */
4571 main ()
4575 return 0;
4577 _ACEOF
4578 if ac_fn_cxx_try_compile "$LINENO"; then :
4580 else
4581 ac_cxx_werror_flag=$ac_save_cxx_werror_flag
4582 CXXFLAGS="-g"
4583 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4584 /* end confdefs.h. */
4587 main ()
4591 return 0;
4593 _ACEOF
4594 if ac_fn_cxx_try_compile "$LINENO"; then :
4595 ac_cv_prog_cxx_g=yes
4597 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4599 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4601 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4602 ac_cxx_werror_flag=$ac_save_cxx_werror_flag
4604 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cxx_g" >&5
4605 $as_echo "$ac_cv_prog_cxx_g" >&6; }
4606 if test "$ac_test_CXXFLAGS" = set; then
4607 CXXFLAGS=$ac_save_CXXFLAGS
4608 elif test $ac_cv_prog_cxx_g = yes; then
4609 if test "$GXX" = yes; then
4610 CXXFLAGS="-g -O2"
4611 else
4612 CXXFLAGS="-g"
4614 else
4615 if test "$GXX" = yes; then
4616 CXXFLAGS="-O2"
4617 else
4618 CXXFLAGS=
4621 ac_ext=c
4622 ac_cpp='$CPP $CPPFLAGS'
4623 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
4624 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
4625 ac_compiler_gnu=$ac_cv_c_compiler_gnu
4627 if test -n "$ac_tool_prefix"; then
4628 # Extract the first word of "${ac_tool_prefix}cpp", so it can be a program name with args.
4629 set dummy ${ac_tool_prefix}cpp; ac_word=$2
4630 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4631 $as_echo_n "checking for $ac_word... " >&6; }
4632 if ${ac_cv_prog_CPPBIN+:} false; then :
4633 $as_echo_n "(cached) " >&6
4634 else
4635 if test -n "$CPPBIN"; then
4636 ac_cv_prog_CPPBIN="$CPPBIN" # Let the user override the test.
4637 else
4638 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4639 for as_dir in $PATH
4641 IFS=$as_save_IFS
4642 test -z "$as_dir" && as_dir=.
4643 for ac_exec_ext in '' $ac_executable_extensions; do
4644 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
4645 ac_cv_prog_CPPBIN="${ac_tool_prefix}cpp"
4646 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4647 break 2
4649 done
4650 done
4651 IFS=$as_save_IFS
4655 CPPBIN=$ac_cv_prog_CPPBIN
4656 if test -n "$CPPBIN"; then
4657 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CPPBIN" >&5
4658 $as_echo "$CPPBIN" >&6; }
4659 else
4660 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4661 $as_echo "no" >&6; }
4666 if test -z "$ac_cv_prog_CPPBIN"; then
4667 ac_ct_CPPBIN=$CPPBIN
4668 # Extract the first word of "cpp", so it can be a program name with args.
4669 set dummy cpp; ac_word=$2
4670 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4671 $as_echo_n "checking for $ac_word... " >&6; }
4672 if ${ac_cv_prog_ac_ct_CPPBIN+:} false; then :
4673 $as_echo_n "(cached) " >&6
4674 else
4675 if test -n "$ac_ct_CPPBIN"; then
4676 ac_cv_prog_ac_ct_CPPBIN="$ac_ct_CPPBIN" # Let the user override the test.
4677 else
4678 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4679 for as_dir in $PATH
4681 IFS=$as_save_IFS
4682 test -z "$as_dir" && as_dir=.
4683 for ac_exec_ext in '' $ac_executable_extensions; do
4684 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
4685 ac_cv_prog_ac_ct_CPPBIN="cpp"
4686 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4687 break 2
4689 done
4690 done
4691 IFS=$as_save_IFS
4695 ac_ct_CPPBIN=$ac_cv_prog_ac_ct_CPPBIN
4696 if test -n "$ac_ct_CPPBIN"; then
4697 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CPPBIN" >&5
4698 $as_echo "$ac_ct_CPPBIN" >&6; }
4699 else
4700 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4701 $as_echo "no" >&6; }
4704 if test "x$ac_ct_CPPBIN" = x; then
4705 CPPBIN="cpp"
4706 else
4707 case $cross_compiling:$ac_tool_warned in
4708 yes:)
4709 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
4710 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
4711 ac_tool_warned=yes ;;
4712 esac
4713 CPPBIN=$ac_ct_CPPBIN
4715 else
4716 CPPBIN="$ac_cv_prog_CPPBIN"
4720 cat >>confdefs.h <<_ACEOF
4721 #define EXEEXT "$ac_exeext"
4722 _ACEOF
4725 case $host in
4726 *-darwin*)
4727 if test "x$enable_win64" = "xyes"
4728 then
4729 CC="$CC -m64"
4730 CXX="$CXX -m64"
4731 host_cpu="x86_64"
4732 notice_platform="64-bit "
4733 TARGETFLAGS="-m64"
4735 else
4736 CC="$CC -m32"
4737 CXX="$CXX -m32"
4738 host_cpu="i386"
4739 notice_platform="32-bit "
4740 TARGETFLAGS="-m32"
4742 enable_win16=${enable_win16:-yes}
4744 with_fontconfig=${with_fontconfig:-no}
4746 x86_64*)
4747 if test "x$enable_win64" != "xyes" -a "$cross_compiling" != "yes"
4748 then
4749 CC="$CC -m32"
4750 CXX="$CXX -m32"
4751 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CC works" >&5
4752 $as_echo_n "checking whether $CC works... " >&6; }
4754 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4755 /* end confdefs.h. */
4758 main ()
4762 return 0;
4764 _ACEOF
4765 if ac_fn_c_try_link "$LINENO"; then :
4766 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
4767 $as_echo "yes" >&6; }
4768 else
4769 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4770 $as_echo "no" >&6; }
4771 as_fn_error $? "Cannot build a 32-bit program, you need to install 32-bit development libraries." "$LINENO" 5
4773 rm -f core conftest.err conftest.$ac_objext \
4774 conftest$ac_exeext conftest.$ac_ext
4775 host_cpu="i386"
4776 notice_platform="32-bit "
4777 TARGETFLAGS="-m32"
4779 enable_win16=${enable_win16:-yes}
4780 else
4781 if test "x${GCC}" = "xyes"
4782 then
4783 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CC supports __builtin_ms_va_list" >&5
4784 $as_echo_n "checking whether $CC supports __builtin_ms_va_list... " >&6; }
4785 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4786 /* end confdefs.h. */
4787 #include <stdarg.h>
4789 main ()
4791 void func(__builtin_ms_va_list *args);
4793 return 0;
4795 _ACEOF
4796 if ac_fn_c_try_compile "$LINENO"; then :
4797 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
4798 $as_echo "yes" >&6; }
4799 else
4800 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4801 $as_echo "no" >&6; }
4802 as_fn_error $? "You need gcc >= 4.4 to build Wine as 64-bit." "$LINENO" 5
4804 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4806 TARGETFLAGS="-m64"
4810 arm*)
4811 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CC supports Thumb" >&5
4812 $as_echo_n "checking whether $CC supports Thumb... " >&6; }
4813 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4814 /* end confdefs.h. */
4815 int ac_test(int i) { return i; }
4817 main ()
4819 asm(".thumb\nblx ac_test\n.arm"); if (ac_test(1)) return 1
4821 return 0;
4823 _ACEOF
4824 if ac_fn_c_try_link "$LINENO"; then :
4825 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
4826 $as_echo "yes" >&6; }
4827 else
4828 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4829 $as_echo "no" >&6; }
4830 as_fn_error $? "You need a target with Thumb support to build Wine for ARM." "$LINENO" 5
4832 rm -f core conftest.err conftest.$ac_objext \
4833 conftest$ac_exeext conftest.$ac_ext
4834 CFLAGS="$CFLAGS -marm"
4835 TARGETFLAGS="-marm"
4838 *-mingw32*|*-cygwin*)
4839 enable_win16=${enable_win16:-no}
4840 CFLAGS="$CFLAGS -D_WIN32"
4842 i[3456789]86*)
4843 enable_win16=${enable_win16:-yes}
4845 esac
4847 enable_win16=${enable_win16:-no}
4848 enable_win64=${enable_win64:-no}
4850 enable_winetest=${enable_winetest:-$enable_tests}
4852 if test -n "$with_wine64"
4853 then
4854 if test "x$enable_win64" = "xyes"
4855 then
4856 as_fn_error $? "--enable-win64 and --with-wine64 are mutually exclusive.
4857 --enable-win64 should be used in the 64-bit build tree, --with-wine64 in the 32-bit Wow64 build tree." "$LINENO" 5
4859 enable_fonts=${enable_fonts:-no}
4860 enable_server=${enable_server:-no}
4861 elif test "x$enable_win64" = "xyes"
4862 then
4863 test "x$libdir" != "x\${exec_prefix}/lib" || libdir="\${exec_prefix}/lib64"
4866 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for the directory containing the Wine tools" >&5
4867 $as_echo_n "checking for the directory containing the Wine tools... " >&6; }
4868 if ${wine_cv_toolsdir+:} false; then :
4869 $as_echo_n "(cached) " >&6
4870 else
4871 wine_cv_toolsdir="$with_wine_tools"
4872 if test -z "$with_wine_tools"; then
4873 if test "$cross_compiling" = "yes"; then
4874 as_fn_error $? "you must use the --with-wine-tools option when cross-compiling." "$LINENO" 5
4875 elif test -n "$with_wine64"; then
4876 wine_cv_toolsdir="$with_wine64"
4879 if test -z "$wine_cv_toolsdir"; then
4880 wine_makedep=tools/makedep
4881 wine_cv_toolsdir="\$(top_builddir)"
4882 elif test -d "$wine_cv_toolsdir/tools/winebuild"; then
4883 wine_makedep=$wine_cv_toolsdir/tools/makedep
4884 case "$wine_cv_toolsdir" in
4885 /*) ;;
4886 *) wine_cv_toolsdir="\$(top_builddir)/$wine_cv_toolsdir" ;;
4887 esac
4888 enable_tools=${enable_tools:-no}
4889 test -f "$wine_makedep" || as_fn_error $? "the Wine tools have not yet been built in $wine_cv_toolsdir" "$LINENO" 5
4890 else
4891 as_fn_error $? "could not find Wine tools in $wine_cv_toolsdir" "$LINENO" 5
4894 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $wine_cv_toolsdir" >&5
4895 $as_echo "$wine_cv_toolsdir" >&6; }
4896 TOOLSDIR=$wine_cv_toolsdir
4898 if test -n "$host_alias" -a "$host_alias" != "$build_alias"
4899 then
4900 TARGETFLAGS="-b $host_alias $TARGETFLAGS"
4904 for ac_prog in flex
4906 # Extract the first word of "$ac_prog", so it can be a program name with args.
4907 set dummy $ac_prog; ac_word=$2
4908 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4909 $as_echo_n "checking for $ac_word... " >&6; }
4910 if ${ac_cv_prog_FLEX+:} false; then :
4911 $as_echo_n "(cached) " >&6
4912 else
4913 if test -n "$FLEX"; then
4914 ac_cv_prog_FLEX="$FLEX" # Let the user override the test.
4915 else
4916 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4917 for as_dir in $PATH
4919 IFS=$as_save_IFS
4920 test -z "$as_dir" && as_dir=.
4921 for ac_exec_ext in '' $ac_executable_extensions; do
4922 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
4923 ac_cv_prog_FLEX="$ac_prog"
4924 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4925 break 2
4927 done
4928 done
4929 IFS=$as_save_IFS
4933 FLEX=$ac_cv_prog_FLEX
4934 if test -n "$FLEX"; then
4935 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $FLEX" >&5
4936 $as_echo "$FLEX" >&6; }
4937 else
4938 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4939 $as_echo "no" >&6; }
4943 test -n "$FLEX" && break
4944 done
4945 test -n "$FLEX" || FLEX="none"
4947 if test "$FLEX" = "none"
4948 then
4949 as_fn_error $? "no suitable flex found. Please install the 'flex' package." "$LINENO" 5
4951 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether flex is recent enough" >&5
4952 $as_echo_n "checking whether flex is recent enough... " >&6; }
4953 cat >conftest.l <<EOF
4954 %top{
4955 #include "prediluvian.h"
4959 if $FLEX -t conftest.l >/dev/null 2>&5
4960 then
4961 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
4962 $as_echo "yes" >&6; }
4963 else
4964 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4965 $as_echo "no" >&6; }
4966 as_fn_error $? "Your flex version is too old. Please install flex version 2.5.33 or newer." "$LINENO" 5
4969 for ac_prog in bison
4971 # Extract the first word of "$ac_prog", so it can be a program name with args.
4972 set dummy $ac_prog; ac_word=$2
4973 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4974 $as_echo_n "checking for $ac_word... " >&6; }
4975 if ${ac_cv_prog_BISON+:} false; then :
4976 $as_echo_n "(cached) " >&6
4977 else
4978 if test -n "$BISON"; then
4979 ac_cv_prog_BISON="$BISON" # Let the user override the test.
4980 else
4981 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4982 for as_dir in $PATH
4984 IFS=$as_save_IFS
4985 test -z "$as_dir" && as_dir=.
4986 for ac_exec_ext in '' $ac_executable_extensions; do
4987 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
4988 ac_cv_prog_BISON="$ac_prog"
4989 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4990 break 2
4992 done
4993 done
4994 IFS=$as_save_IFS
4998 BISON=$ac_cv_prog_BISON
4999 if test -n "$BISON"; then
5000 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $BISON" >&5
5001 $as_echo "$BISON" >&6; }
5002 else
5003 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5004 $as_echo "no" >&6; }
5008 test -n "$BISON" && break
5009 done
5010 test -n "$BISON" || BISON="none"
5012 if test "$BISON" = "none"
5013 then
5014 as_fn_error $? "no suitable bison found. Please install the 'bison' package." "$LINENO" 5
5017 if test -n "$ac_tool_prefix"; then
5018 for ac_prog in ar gar
5020 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
5021 set dummy $ac_tool_prefix$ac_prog; ac_word=$2
5022 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5023 $as_echo_n "checking for $ac_word... " >&6; }
5024 if ${ac_cv_prog_AR+:} false; then :
5025 $as_echo_n "(cached) " >&6
5026 else
5027 if test -n "$AR"; then
5028 ac_cv_prog_AR="$AR" # Let the user override the test.
5029 else
5030 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5031 for as_dir in $PATH
5033 IFS=$as_save_IFS
5034 test -z "$as_dir" && as_dir=.
5035 for ac_exec_ext in '' $ac_executable_extensions; do
5036 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
5037 ac_cv_prog_AR="$ac_tool_prefix$ac_prog"
5038 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5039 break 2
5041 done
5042 done
5043 IFS=$as_save_IFS
5047 AR=$ac_cv_prog_AR
5048 if test -n "$AR"; then
5049 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $AR" >&5
5050 $as_echo "$AR" >&6; }
5051 else
5052 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5053 $as_echo "no" >&6; }
5057 test -n "$AR" && break
5058 done
5060 if test -z "$AR"; then
5061 ac_ct_AR=$AR
5062 for ac_prog in ar gar
5064 # Extract the first word of "$ac_prog", so it can be a program name with args.
5065 set dummy $ac_prog; ac_word=$2
5066 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5067 $as_echo_n "checking for $ac_word... " >&6; }
5068 if ${ac_cv_prog_ac_ct_AR+:} false; then :
5069 $as_echo_n "(cached) " >&6
5070 else
5071 if test -n "$ac_ct_AR"; then
5072 ac_cv_prog_ac_ct_AR="$ac_ct_AR" # Let the user override the test.
5073 else
5074 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5075 for as_dir in $PATH
5077 IFS=$as_save_IFS
5078 test -z "$as_dir" && as_dir=.
5079 for ac_exec_ext in '' $ac_executable_extensions; do
5080 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
5081 ac_cv_prog_ac_ct_AR="$ac_prog"
5082 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5083 break 2
5085 done
5086 done
5087 IFS=$as_save_IFS
5091 ac_ct_AR=$ac_cv_prog_ac_ct_AR
5092 if test -n "$ac_ct_AR"; then
5093 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_AR" >&5
5094 $as_echo "$ac_ct_AR" >&6; }
5095 else
5096 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5097 $as_echo "no" >&6; }
5101 test -n "$ac_ct_AR" && break
5102 done
5104 if test "x$ac_ct_AR" = x; then
5105 AR="ar"
5106 else
5107 case $cross_compiling:$ac_tool_warned in
5108 yes:)
5109 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
5110 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
5111 ac_tool_warned=yes ;;
5112 esac
5113 AR=$ac_ct_AR
5117 if test -n "$ac_tool_prefix"; then
5118 # Extract the first word of "${ac_tool_prefix}strip", so it can be a program name with args.
5119 set dummy ${ac_tool_prefix}strip; ac_word=$2
5120 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5121 $as_echo_n "checking for $ac_word... " >&6; }
5122 if ${ac_cv_prog_STRIP+:} false; then :
5123 $as_echo_n "(cached) " >&6
5124 else
5125 if test -n "$STRIP"; then
5126 ac_cv_prog_STRIP="$STRIP" # Let the user override the test.
5127 else
5128 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5129 for as_dir in $PATH
5131 IFS=$as_save_IFS
5132 test -z "$as_dir" && as_dir=.
5133 for ac_exec_ext in '' $ac_executable_extensions; do
5134 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
5135 ac_cv_prog_STRIP="${ac_tool_prefix}strip"
5136 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5137 break 2
5139 done
5140 done
5141 IFS=$as_save_IFS
5145 STRIP=$ac_cv_prog_STRIP
5146 if test -n "$STRIP"; then
5147 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $STRIP" >&5
5148 $as_echo "$STRIP" >&6; }
5149 else
5150 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5151 $as_echo "no" >&6; }
5156 if test -z "$ac_cv_prog_STRIP"; then
5157 ac_ct_STRIP=$STRIP
5158 # Extract the first word of "strip", so it can be a program name with args.
5159 set dummy strip; ac_word=$2
5160 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5161 $as_echo_n "checking for $ac_word... " >&6; }
5162 if ${ac_cv_prog_ac_ct_STRIP+:} false; then :
5163 $as_echo_n "(cached) " >&6
5164 else
5165 if test -n "$ac_ct_STRIP"; then
5166 ac_cv_prog_ac_ct_STRIP="$ac_ct_STRIP" # Let the user override the test.
5167 else
5168 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5169 for as_dir in $PATH
5171 IFS=$as_save_IFS
5172 test -z "$as_dir" && as_dir=.
5173 for ac_exec_ext in '' $ac_executable_extensions; do
5174 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
5175 ac_cv_prog_ac_ct_STRIP="strip"
5176 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5177 break 2
5179 done
5180 done
5181 IFS=$as_save_IFS
5185 ac_ct_STRIP=$ac_cv_prog_ac_ct_STRIP
5186 if test -n "$ac_ct_STRIP"; then
5187 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_STRIP" >&5
5188 $as_echo "$ac_ct_STRIP" >&6; }
5189 else
5190 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5191 $as_echo "no" >&6; }
5194 if test "x$ac_ct_STRIP" = x; then
5195 STRIP="strip"
5196 else
5197 case $cross_compiling:$ac_tool_warned in
5198 yes:)
5199 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
5200 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
5201 ac_tool_warned=yes ;;
5202 esac
5203 STRIP=$ac_ct_STRIP
5205 else
5206 STRIP="$ac_cv_prog_STRIP"
5209 ARFLAGS=rc
5211 if test -n "$ac_tool_prefix"; then
5212 # Extract the first word of "${ac_tool_prefix}ranlib", so it can be a program name with args.
5213 set dummy ${ac_tool_prefix}ranlib; ac_word=$2
5214 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5215 $as_echo_n "checking for $ac_word... " >&6; }
5216 if ${ac_cv_prog_RANLIB+:} false; then :
5217 $as_echo_n "(cached) " >&6
5218 else
5219 if test -n "$RANLIB"; then
5220 ac_cv_prog_RANLIB="$RANLIB" # Let the user override the test.
5221 else
5222 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5223 for as_dir in $PATH
5225 IFS=$as_save_IFS
5226 test -z "$as_dir" && as_dir=.
5227 for ac_exec_ext in '' $ac_executable_extensions; do
5228 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
5229 ac_cv_prog_RANLIB="${ac_tool_prefix}ranlib"
5230 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5231 break 2
5233 done
5234 done
5235 IFS=$as_save_IFS
5239 RANLIB=$ac_cv_prog_RANLIB
5240 if test -n "$RANLIB"; then
5241 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $RANLIB" >&5
5242 $as_echo "$RANLIB" >&6; }
5243 else
5244 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5245 $as_echo "no" >&6; }
5250 if test -z "$ac_cv_prog_RANLIB"; then
5251 ac_ct_RANLIB=$RANLIB
5252 # Extract the first word of "ranlib", so it can be a program name with args.
5253 set dummy ranlib; ac_word=$2
5254 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5255 $as_echo_n "checking for $ac_word... " >&6; }
5256 if ${ac_cv_prog_ac_ct_RANLIB+:} false; then :
5257 $as_echo_n "(cached) " >&6
5258 else
5259 if test -n "$ac_ct_RANLIB"; then
5260 ac_cv_prog_ac_ct_RANLIB="$ac_ct_RANLIB" # Let the user override the test.
5261 else
5262 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5263 for as_dir in $PATH
5265 IFS=$as_save_IFS
5266 test -z "$as_dir" && as_dir=.
5267 for ac_exec_ext in '' $ac_executable_extensions; do
5268 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
5269 ac_cv_prog_ac_ct_RANLIB="ranlib"
5270 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5271 break 2
5273 done
5274 done
5275 IFS=$as_save_IFS
5279 ac_ct_RANLIB=$ac_cv_prog_ac_ct_RANLIB
5280 if test -n "$ac_ct_RANLIB"; then
5281 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_RANLIB" >&5
5282 $as_echo "$ac_ct_RANLIB" >&6; }
5283 else
5284 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5285 $as_echo "no" >&6; }
5288 if test "x$ac_ct_RANLIB" = x; then
5289 RANLIB=":"
5290 else
5291 case $cross_compiling:$ac_tool_warned in
5292 yes:)
5293 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
5294 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
5295 ac_tool_warned=yes ;;
5296 esac
5297 RANLIB=$ac_ct_RANLIB
5299 else
5300 RANLIB="$ac_cv_prog_RANLIB"
5303 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ln -s works" >&5
5304 $as_echo_n "checking whether ln -s works... " >&6; }
5305 LN_S=$as_ln_s
5306 if test "$LN_S" = "ln -s"; then
5307 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
5308 $as_echo "yes" >&6; }
5309 else
5310 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no, using $LN_S" >&5
5311 $as_echo "no, using $LN_S" >&6; }
5314 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for grep that handles long lines and -e" >&5
5315 $as_echo_n "checking for grep that handles long lines and -e... " >&6; }
5316 if ${ac_cv_path_GREP+:} false; then :
5317 $as_echo_n "(cached) " >&6
5318 else
5319 if test -z "$GREP"; then
5320 ac_path_GREP_found=false
5321 # Loop through the user's path and test for each of PROGNAME-LIST
5322 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5323 for as_dir in $PATH$PATH_SEPARATOR/usr/xpg4/bin
5325 IFS=$as_save_IFS
5326 test -z "$as_dir" && as_dir=.
5327 for ac_prog in grep ggrep; do
5328 for ac_exec_ext in '' $ac_executable_extensions; do
5329 ac_path_GREP="$as_dir/$ac_prog$ac_exec_ext"
5330 as_fn_executable_p "$ac_path_GREP" || continue
5331 # Check for GNU ac_path_GREP and select it if it is found.
5332 # Check for GNU $ac_path_GREP
5333 case `"$ac_path_GREP" --version 2>&1` in
5334 *GNU*)
5335 ac_cv_path_GREP="$ac_path_GREP" ac_path_GREP_found=:;;
5337 ac_count=0
5338 $as_echo_n 0123456789 >"conftest.in"
5339 while :
5341 cat "conftest.in" "conftest.in" >"conftest.tmp"
5342 mv "conftest.tmp" "conftest.in"
5343 cp "conftest.in" "conftest.nl"
5344 $as_echo 'GREP' >> "conftest.nl"
5345 "$ac_path_GREP" -e 'GREP$' -e '-(cannot match)-' < "conftest.nl" >"conftest.out" 2>/dev/null || break
5346 diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break
5347 as_fn_arith $ac_count + 1 && ac_count=$as_val
5348 if test $ac_count -gt ${ac_path_GREP_max-0}; then
5349 # Best one so far, save it but keep looking for a better one
5350 ac_cv_path_GREP="$ac_path_GREP"
5351 ac_path_GREP_max=$ac_count
5353 # 10*(2^10) chars as input seems more than enough
5354 test $ac_count -gt 10 && break
5355 done
5356 rm -f conftest.in conftest.tmp conftest.nl conftest.out;;
5357 esac
5359 $ac_path_GREP_found && break 3
5360 done
5361 done
5362 done
5363 IFS=$as_save_IFS
5364 if test -z "$ac_cv_path_GREP"; then
5365 as_fn_error $? "no acceptable grep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" "$LINENO" 5
5367 else
5368 ac_cv_path_GREP=$GREP
5372 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_GREP" >&5
5373 $as_echo "$ac_cv_path_GREP" >&6; }
5374 GREP="$ac_cv_path_GREP"
5377 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for egrep" >&5
5378 $as_echo_n "checking for egrep... " >&6; }
5379 if ${ac_cv_path_EGREP+:} false; then :
5380 $as_echo_n "(cached) " >&6
5381 else
5382 if echo a | $GREP -E '(a|b)' >/dev/null 2>&1
5383 then ac_cv_path_EGREP="$GREP -E"
5384 else
5385 if test -z "$EGREP"; then
5386 ac_path_EGREP_found=false
5387 # Loop through the user's path and test for each of PROGNAME-LIST
5388 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5389 for as_dir in $PATH$PATH_SEPARATOR/usr/xpg4/bin
5391 IFS=$as_save_IFS
5392 test -z "$as_dir" && as_dir=.
5393 for ac_prog in egrep; do
5394 for ac_exec_ext in '' $ac_executable_extensions; do
5395 ac_path_EGREP="$as_dir/$ac_prog$ac_exec_ext"
5396 as_fn_executable_p "$ac_path_EGREP" || continue
5397 # Check for GNU ac_path_EGREP and select it if it is found.
5398 # Check for GNU $ac_path_EGREP
5399 case `"$ac_path_EGREP" --version 2>&1` in
5400 *GNU*)
5401 ac_cv_path_EGREP="$ac_path_EGREP" ac_path_EGREP_found=:;;
5403 ac_count=0
5404 $as_echo_n 0123456789 >"conftest.in"
5405 while :
5407 cat "conftest.in" "conftest.in" >"conftest.tmp"
5408 mv "conftest.tmp" "conftest.in"
5409 cp "conftest.in" "conftest.nl"
5410 $as_echo 'EGREP' >> "conftest.nl"
5411 "$ac_path_EGREP" 'EGREP$' < "conftest.nl" >"conftest.out" 2>/dev/null || break
5412 diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break
5413 as_fn_arith $ac_count + 1 && ac_count=$as_val
5414 if test $ac_count -gt ${ac_path_EGREP_max-0}; then
5415 # Best one so far, save it but keep looking for a better one
5416 ac_cv_path_EGREP="$ac_path_EGREP"
5417 ac_path_EGREP_max=$ac_count
5419 # 10*(2^10) chars as input seems more than enough
5420 test $ac_count -gt 10 && break
5421 done
5422 rm -f conftest.in conftest.tmp conftest.nl conftest.out;;
5423 esac
5425 $ac_path_EGREP_found && break 3
5426 done
5427 done
5428 done
5429 IFS=$as_save_IFS
5430 if test -z "$ac_cv_path_EGREP"; then
5431 as_fn_error $? "no acceptable egrep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" "$LINENO" 5
5433 else
5434 ac_cv_path_EGREP=$EGREP
5439 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_EGREP" >&5
5440 $as_echo "$ac_cv_path_EGREP" >&6; }
5441 EGREP="$ac_cv_path_EGREP"
5444 # Extract the first word of "ldconfig", so it can be a program name with args.
5445 set dummy ldconfig; ac_word=$2
5446 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5447 $as_echo_n "checking for $ac_word... " >&6; }
5448 if ${ac_cv_path_LDCONFIG+:} false; then :
5449 $as_echo_n "(cached) " >&6
5450 else
5451 case $LDCONFIG in
5452 [\\/]* | ?:[\\/]*)
5453 ac_cv_path_LDCONFIG="$LDCONFIG" # Let the user override the test with a path.
5456 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5457 for as_dir in /sbin /usr/sbin $PATH
5459 IFS=$as_save_IFS
5460 test -z "$as_dir" && as_dir=.
5461 for ac_exec_ext in '' $ac_executable_extensions; do
5462 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
5463 ac_cv_path_LDCONFIG="$as_dir/$ac_word$ac_exec_ext"
5464 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5465 break 2
5467 done
5468 done
5469 IFS=$as_save_IFS
5471 test -z "$ac_cv_path_LDCONFIG" && ac_cv_path_LDCONFIG="true"
5473 esac
5475 LDCONFIG=$ac_cv_path_LDCONFIG
5476 if test -n "$LDCONFIG"; then
5477 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $LDCONFIG" >&5
5478 $as_echo "$LDCONFIG" >&6; }
5479 else
5480 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5481 $as_echo "no" >&6; }
5485 for ac_prog in msgfmt
5487 # Extract the first word of "$ac_prog", so it can be a program name with args.
5488 set dummy $ac_prog; ac_word=$2
5489 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5490 $as_echo_n "checking for $ac_word... " >&6; }
5491 if ${ac_cv_prog_MSGFMT+:} false; then :
5492 $as_echo_n "(cached) " >&6
5493 else
5494 if test -n "$MSGFMT"; then
5495 ac_cv_prog_MSGFMT="$MSGFMT" # Let the user override the test.
5496 else
5497 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5498 for as_dir in $PATH
5500 IFS=$as_save_IFS
5501 test -z "$as_dir" && as_dir=.
5502 for ac_exec_ext in '' $ac_executable_extensions; do
5503 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
5504 ac_cv_prog_MSGFMT="$ac_prog"
5505 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5506 break 2
5508 done
5509 done
5510 IFS=$as_save_IFS
5514 MSGFMT=$ac_cv_prog_MSGFMT
5515 if test -n "$MSGFMT"; then
5516 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $MSGFMT" >&5
5517 $as_echo "$MSGFMT" >&6; }
5518 else
5519 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5520 $as_echo "no" >&6; }
5524 test -n "$MSGFMT" && break
5525 done
5526 test -n "$MSGFMT" || MSGFMT="false"
5528 if ${ac_tool_prefix+:} false; then :
5529 # Extract the first word of "${ac_tool_prefix}pkg-config", so it can be a program name with args.
5530 set dummy ${ac_tool_prefix}pkg-config; ac_word=$2
5531 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5532 $as_echo_n "checking for $ac_word... " >&6; }
5533 if ${ac_cv_prog_PKG_CONFIG+:} false; then :
5534 $as_echo_n "(cached) " >&6
5535 else
5536 if test -n "$PKG_CONFIG"; then
5537 ac_cv_prog_PKG_CONFIG="$PKG_CONFIG" # Let the user override the test.
5538 else
5539 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5540 for as_dir in $PATH
5542 IFS=$as_save_IFS
5543 test -z "$as_dir" && as_dir=.
5544 for ac_exec_ext in '' $ac_executable_extensions; do
5545 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
5546 ac_cv_prog_PKG_CONFIG="${ac_tool_prefix}pkg-config"
5547 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5548 break 2
5550 done
5551 done
5552 IFS=$as_save_IFS
5556 PKG_CONFIG=$ac_cv_prog_PKG_CONFIG
5557 if test -n "$PKG_CONFIG"; then
5558 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $PKG_CONFIG" >&5
5559 $as_echo "$PKG_CONFIG" >&6; }
5560 else
5561 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5562 $as_echo "no" >&6; }
5567 if ${ac_cv_prog_PKG_CONFIG:+false} :; then :
5568 if test "x$cross_compiling" = xyes; then :
5570 else
5571 { ac_cv_prog_PKG_CONFIG=; unset ac_cv_prog_PKG_CONFIG;}
5572 # Extract the first word of "pkg-config", so it can be a program name with args.
5573 set dummy pkg-config; ac_word=$2
5574 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5575 $as_echo_n "checking for $ac_word... " >&6; }
5576 if ${ac_cv_prog_PKG_CONFIG+:} false; then :
5577 $as_echo_n "(cached) " >&6
5578 else
5579 if test -n "$PKG_CONFIG"; then
5580 ac_cv_prog_PKG_CONFIG="$PKG_CONFIG" # Let the user override the test.
5581 else
5582 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5583 for as_dir in $PATH
5585 IFS=$as_save_IFS
5586 test -z "$as_dir" && as_dir=.
5587 for ac_exec_ext in '' $ac_executable_extensions; do
5588 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
5589 ac_cv_prog_PKG_CONFIG="pkg-config"
5590 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5591 break 2
5593 done
5594 done
5595 IFS=$as_save_IFS
5599 PKG_CONFIG=$ac_cv_prog_PKG_CONFIG
5600 if test -n "$PKG_CONFIG"; then
5601 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $PKG_CONFIG" >&5
5602 $as_echo "$PKG_CONFIG" >&6; }
5603 else
5604 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5605 $as_echo "no" >&6; }
5610 else
5611 PKG_CONFIG=$ac_cv_prog_PKG_CONFIG
5614 if test "x$enable_maintainer_mode" != "xyes"
5615 then
5616 FONTFORGE=""
5617 RSVG=""
5618 CONVERT=""
5619 ICOTOOL=""
5620 else
5621 test "$srcdir" = . || as_fn_error $? "Maintainer mode cannot work out of tree." "$LINENO" 5
5622 for ac_prog in fontforge
5624 # Extract the first word of "$ac_prog", so it can be a program name with args.
5625 set dummy $ac_prog; ac_word=$2
5626 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5627 $as_echo_n "checking for $ac_word... " >&6; }
5628 if ${ac_cv_prog_FONTFORGE+:} false; then :
5629 $as_echo_n "(cached) " >&6
5630 else
5631 if test -n "$FONTFORGE"; then
5632 ac_cv_prog_FONTFORGE="$FONTFORGE" # Let the user override the test.
5633 else
5634 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5635 for as_dir in $PATH
5637 IFS=$as_save_IFS
5638 test -z "$as_dir" && as_dir=.
5639 for ac_exec_ext in '' $ac_executable_extensions; do
5640 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
5641 ac_cv_prog_FONTFORGE="$ac_prog"
5642 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5643 break 2
5645 done
5646 done
5647 IFS=$as_save_IFS
5651 FONTFORGE=$ac_cv_prog_FONTFORGE
5652 if test -n "$FONTFORGE"; then
5653 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $FONTFORGE" >&5
5654 $as_echo "$FONTFORGE" >&6; }
5655 else
5656 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5657 $as_echo "no" >&6; }
5661 test -n "$FONTFORGE" && break
5662 done
5663 test -n "$FONTFORGE" || FONTFORGE="false"
5665 for ac_prog in rsvg
5667 # Extract the first word of "$ac_prog", so it can be a program name with args.
5668 set dummy $ac_prog; ac_word=$2
5669 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5670 $as_echo_n "checking for $ac_word... " >&6; }
5671 if ${ac_cv_prog_RSVG+:} false; then :
5672 $as_echo_n "(cached) " >&6
5673 else
5674 if test -n "$RSVG"; then
5675 ac_cv_prog_RSVG="$RSVG" # Let the user override the test.
5676 else
5677 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5678 for as_dir in $PATH
5680 IFS=$as_save_IFS
5681 test -z "$as_dir" && as_dir=.
5682 for ac_exec_ext in '' $ac_executable_extensions; do
5683 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
5684 ac_cv_prog_RSVG="$ac_prog"
5685 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5686 break 2
5688 done
5689 done
5690 IFS=$as_save_IFS
5694 RSVG=$ac_cv_prog_RSVG
5695 if test -n "$RSVG"; then
5696 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $RSVG" >&5
5697 $as_echo "$RSVG" >&6; }
5698 else
5699 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5700 $as_echo "no" >&6; }
5704 test -n "$RSVG" && break
5705 done
5706 test -n "$RSVG" || RSVG="false"
5708 for ac_prog in convert
5710 # Extract the first word of "$ac_prog", so it can be a program name with args.
5711 set dummy $ac_prog; ac_word=$2
5712 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5713 $as_echo_n "checking for $ac_word... " >&6; }
5714 if ${ac_cv_prog_CONVERT+:} false; then :
5715 $as_echo_n "(cached) " >&6
5716 else
5717 if test -n "$CONVERT"; then
5718 ac_cv_prog_CONVERT="$CONVERT" # Let the user override the test.
5719 else
5720 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5721 for as_dir in $PATH
5723 IFS=$as_save_IFS
5724 test -z "$as_dir" && as_dir=.
5725 for ac_exec_ext in '' $ac_executable_extensions; do
5726 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
5727 ac_cv_prog_CONVERT="$ac_prog"
5728 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5729 break 2
5731 done
5732 done
5733 IFS=$as_save_IFS
5737 CONVERT=$ac_cv_prog_CONVERT
5738 if test -n "$CONVERT"; then
5739 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CONVERT" >&5
5740 $as_echo "$CONVERT" >&6; }
5741 else
5742 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5743 $as_echo "no" >&6; }
5747 test -n "$CONVERT" && break
5748 done
5749 test -n "$CONVERT" || CONVERT="false"
5751 for ac_prog in icotool
5753 # Extract the first word of "$ac_prog", so it can be a program name with args.
5754 set dummy $ac_prog; ac_word=$2
5755 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5756 $as_echo_n "checking for $ac_word... " >&6; }
5757 if ${ac_cv_prog_ICOTOOL+:} false; then :
5758 $as_echo_n "(cached) " >&6
5759 else
5760 if test -n "$ICOTOOL"; then
5761 ac_cv_prog_ICOTOOL="$ICOTOOL" # Let the user override the test.
5762 else
5763 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5764 for as_dir in $PATH
5766 IFS=$as_save_IFS
5767 test -z "$as_dir" && as_dir=.
5768 for ac_exec_ext in '' $ac_executable_extensions; do
5769 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
5770 ac_cv_prog_ICOTOOL="$ac_prog"
5771 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5772 break 2
5774 done
5775 done
5776 IFS=$as_save_IFS
5780 ICOTOOL=$ac_cv_prog_ICOTOOL
5781 if test -n "$ICOTOOL"; then
5782 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ICOTOOL" >&5
5783 $as_echo "$ICOTOOL" >&6; }
5784 else
5785 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5786 $as_echo "no" >&6; }
5790 test -n "$ICOTOOL" && break
5791 done
5792 test -n "$ICOTOOL" || ICOTOOL="false"
5794 test "$FONTFORGE" != "false" || as_fn_error $? "You need fontforge to rebuild fonts in maintainer mode." "$LINENO" 5
5795 test "$RSVG" != "false" || as_fn_error $? "You need rsvg to rebuild icons in maintainer mode." "$LINENO" 5
5797 if test "$CONVERT" = false
5798 then
5799 as_fn_error $? "You need imagemagick to rebuild icons in maintainer mode." "$LINENO" 5
5800 else
5801 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for recent enough imagemagick" >&5
5802 $as_echo_n "checking for recent enough imagemagick... " >&6; }
5803 convert_version=`convert --version | head -n1`
5804 if test "x$convert_version" != "x"
5805 then
5806 convert_version_major=`expr "$convert_version" : '.* \([0-9]*\)\.[0-9]*'`
5807 convert_version_minor=`expr "$convert_version" : '.* [0-9]*\.\([0-9]*\)'`
5808 if test "$convert_version_major" -eq 6 -a "$convert_version_minor" -lt 6
5809 then
5810 CONVERT=false
5813 if test "$CONVERT" = false
5814 then
5815 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no ($convert_version_major.$convert_version_minor)" >&5
5816 $as_echo "no ($convert_version_major.$convert_version_minor)" >&6; }
5817 as_fn_error $? "You need imagemagick version 6.6 or newer to rebuild icons in maintainer mode." "$LINENO" 5
5818 else
5819 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes ($convert_version_major.$convert_version_minor)" >&5
5820 $as_echo "yes ($convert_version_major.$convert_version_minor)" >&6; }
5824 if test "$ICOTOOL" = false
5825 then
5826 as_fn_error $? "You need icotool to rebuild icons in maintainer mode." "$LINENO" 5
5827 else
5828 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for recent enough icotool" >&5
5829 $as_echo_n "checking for recent enough icotool... " >&6; }
5830 icotool_version=`icotool --version | head -n1`
5831 if test "x$icotool_version" != "x"
5832 then
5833 icotool_version_major=`expr "$icotool_version" : '.* \([0-9]*\)\.[0-9]*'`
5834 icotool_version_minor=`expr "$icotool_version" : '.* [0-9]*\.\([0-9]*\)'`
5835 if test "$icotool_version_major" -eq 0 -a "$icotool_version_minor" -lt 29
5836 then
5837 ICOTOOL=false
5838 as_fn_append wine_warnings "|icotool version 0.29.0 or newer is needed to rebuild icons."
5841 if test "$ICOTOOL" = false
5842 then
5843 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no ($icotool_version_major.$icotool_version_minor)" >&5
5844 $as_echo "no ($icotool_version_major.$icotool_version_minor)" >&6; }
5845 as_fn_error $? "You need icotool version 0.29.0 or newer to rebuild icons in maintainer mode." "$LINENO" 5
5846 else
5847 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes ($icotool_version_major.$icotool_version_minor)" >&5
5848 $as_echo "yes ($icotool_version_major.$icotool_version_minor)" >&6; }
5852 with_gettext=yes
5853 with_gettextpo=yes
5854 { ac_cv_header_gettext_po_h=; unset ac_cv_header_gettext_po_h;}
5857 test "x$with_gettext" != xno || MSGFMT=false
5858 if test "$MSGFMT" != "false"
5859 then
5860 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether msgfmt supports contexts" >&5
5861 $as_echo_n "checking whether msgfmt supports contexts... " >&6; }
5862 cat >conftest.po <<EOF
5863 # comment
5864 msgctxt "ctxt"
5865 msgid "id"
5866 msgstr "str"
5868 if $MSGFMT -o /dev/null conftest.po 2>&5
5869 then
5870 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
5871 $as_echo "yes" >&6; }
5872 else
5873 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5874 $as_echo "no" >&6; }
5875 MSGFMT=false
5878 if test "$MSGFMT" = false; then :
5879 case "x$with_gettext" in
5880 x) as_fn_append wine_warnings "|gettext tools not found (or too old), translations won't be built." ;;
5881 xno) ;;
5882 *) as_fn_error $? "gettext tools not found (or too old), translations won't be built.
5883 This is an error since --with-gettext was requested." "$LINENO" 5 ;;
5884 esac
5888 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for i386_set_ldt in -li386" >&5
5889 $as_echo_n "checking for i386_set_ldt in -li386... " >&6; }
5890 if ${ac_cv_lib_i386_i386_set_ldt+:} false; then :
5891 $as_echo_n "(cached) " >&6
5892 else
5893 ac_check_lib_save_LIBS=$LIBS
5894 LIBS="-li386 $LIBS"
5895 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
5896 /* end confdefs.h. */
5898 /* Override any GCC internal prototype to avoid an error.
5899 Use char because int might match the return type of a GCC
5900 builtin and then its argument prototype would still apply. */
5901 #ifdef __cplusplus
5902 extern "C"
5903 #endif
5904 char i386_set_ldt ();
5906 main ()
5908 return i386_set_ldt ();
5910 return 0;
5912 _ACEOF
5913 if ac_fn_c_try_link "$LINENO"; then :
5914 ac_cv_lib_i386_i386_set_ldt=yes
5915 else
5916 ac_cv_lib_i386_i386_set_ldt=no
5918 rm -f core conftest.err conftest.$ac_objext \
5919 conftest$ac_exeext conftest.$ac_ext
5920 LIBS=$ac_check_lib_save_LIBS
5922 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_i386_i386_set_ldt" >&5
5923 $as_echo "$ac_cv_lib_i386_i386_set_ldt" >&6; }
5924 if test "x$ac_cv_lib_i386_i386_set_ldt" = xyes; then :
5925 cat >>confdefs.h <<_ACEOF
5926 #define HAVE_LIBI386 1
5927 _ACEOF
5929 LIBS="-li386 $LIBS"
5933 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _oss_ioctl in -lossaudio" >&5
5934 $as_echo_n "checking for _oss_ioctl in -lossaudio... " >&6; }
5935 if ${ac_cv_lib_ossaudio__oss_ioctl+:} false; then :
5936 $as_echo_n "(cached) " >&6
5937 else
5938 ac_check_lib_save_LIBS=$LIBS
5939 LIBS="-lossaudio $LIBS"
5940 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
5941 /* end confdefs.h. */
5943 /* Override any GCC internal prototype to avoid an error.
5944 Use char because int might match the return type of a GCC
5945 builtin and then its argument prototype would still apply. */
5946 #ifdef __cplusplus
5947 extern "C"
5948 #endif
5949 char _oss_ioctl ();
5951 main ()
5953 return _oss_ioctl ();
5955 return 0;
5957 _ACEOF
5958 if ac_fn_c_try_link "$LINENO"; then :
5959 ac_cv_lib_ossaudio__oss_ioctl=yes
5960 else
5961 ac_cv_lib_ossaudio__oss_ioctl=no
5963 rm -f core conftest.err conftest.$ac_objext \
5964 conftest$ac_exeext conftest.$ac_ext
5965 LIBS=$ac_check_lib_save_LIBS
5967 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_ossaudio__oss_ioctl" >&5
5968 $as_echo "$ac_cv_lib_ossaudio__oss_ioctl" >&6; }
5969 if test "x$ac_cv_lib_ossaudio__oss_ioctl" = xyes; then :
5970 cat >>confdefs.h <<_ACEOF
5971 #define HAVE_LIBOSSAUDIO 1
5972 _ACEOF
5974 LIBS="-lossaudio $LIBS"
5979 OPENGL_LIBS=""
5983 # Check whether --enable-largefile was given.
5984 if test "${enable_largefile+set}" = set; then :
5985 enableval=$enable_largefile;
5988 if test "$enable_largefile" != no; then
5990 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for special C compiler options needed for large files" >&5
5991 $as_echo_n "checking for special C compiler options needed for large files... " >&6; }
5992 if ${ac_cv_sys_largefile_CC+:} false; then :
5993 $as_echo_n "(cached) " >&6
5994 else
5995 ac_cv_sys_largefile_CC=no
5996 if test "$GCC" != yes; then
5997 ac_save_CC=$CC
5998 while :; do
5999 # IRIX 6.2 and later do not support large files by default,
6000 # so use the C compiler's -n32 option if that helps.
6001 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
6002 /* end confdefs.h. */
6003 #include <sys/types.h>
6004 /* Check that off_t can represent 2**63 - 1 correctly.
6005 We can't simply define LARGE_OFF_T to be 9223372036854775807,
6006 since some C++ compilers masquerading as C compilers
6007 incorrectly reject 9223372036854775807. */
6008 #define LARGE_OFF_T ((((off_t) 1 << 31) << 31) - 1 + (((off_t) 1 << 31) << 31))
6009 int off_t_is_large[(LARGE_OFF_T % 2147483629 == 721
6010 && LARGE_OFF_T % 2147483647 == 1)
6011 ? 1 : -1];
6013 main ()
6017 return 0;
6019 _ACEOF
6020 if ac_fn_c_try_compile "$LINENO"; then :
6021 break
6023 rm -f core conftest.err conftest.$ac_objext
6024 CC="$CC -n32"
6025 if ac_fn_c_try_compile "$LINENO"; then :
6026 ac_cv_sys_largefile_CC=' -n32'; break
6028 rm -f core conftest.err conftest.$ac_objext
6029 break
6030 done
6031 CC=$ac_save_CC
6032 rm -f conftest.$ac_ext
6035 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_sys_largefile_CC" >&5
6036 $as_echo "$ac_cv_sys_largefile_CC" >&6; }
6037 if test "$ac_cv_sys_largefile_CC" != no; then
6038 CC=$CC$ac_cv_sys_largefile_CC
6041 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _FILE_OFFSET_BITS value needed for large files" >&5
6042 $as_echo_n "checking for _FILE_OFFSET_BITS value needed for large files... " >&6; }
6043 if ${ac_cv_sys_file_offset_bits+:} false; then :
6044 $as_echo_n "(cached) " >&6
6045 else
6046 while :; do
6047 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
6048 /* end confdefs.h. */
6049 #include <sys/types.h>
6050 /* Check that off_t can represent 2**63 - 1 correctly.
6051 We can't simply define LARGE_OFF_T to be 9223372036854775807,
6052 since some C++ compilers masquerading as C compilers
6053 incorrectly reject 9223372036854775807. */
6054 #define LARGE_OFF_T ((((off_t) 1 << 31) << 31) - 1 + (((off_t) 1 << 31) << 31))
6055 int off_t_is_large[(LARGE_OFF_T % 2147483629 == 721
6056 && LARGE_OFF_T % 2147483647 == 1)
6057 ? 1 : -1];
6059 main ()
6063 return 0;
6065 _ACEOF
6066 if ac_fn_c_try_compile "$LINENO"; then :
6067 ac_cv_sys_file_offset_bits=no; break
6069 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
6070 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
6071 /* end confdefs.h. */
6072 #define _FILE_OFFSET_BITS 64
6073 #include <sys/types.h>
6074 /* Check that off_t can represent 2**63 - 1 correctly.
6075 We can't simply define LARGE_OFF_T to be 9223372036854775807,
6076 since some C++ compilers masquerading as C compilers
6077 incorrectly reject 9223372036854775807. */
6078 #define LARGE_OFF_T ((((off_t) 1 << 31) << 31) - 1 + (((off_t) 1 << 31) << 31))
6079 int off_t_is_large[(LARGE_OFF_T % 2147483629 == 721
6080 && LARGE_OFF_T % 2147483647 == 1)
6081 ? 1 : -1];
6083 main ()
6087 return 0;
6089 _ACEOF
6090 if ac_fn_c_try_compile "$LINENO"; then :
6091 ac_cv_sys_file_offset_bits=64; break
6093 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
6094 ac_cv_sys_file_offset_bits=unknown
6095 break
6096 done
6098 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_sys_file_offset_bits" >&5
6099 $as_echo "$ac_cv_sys_file_offset_bits" >&6; }
6100 case $ac_cv_sys_file_offset_bits in #(
6101 no | unknown) ;;
6103 cat >>confdefs.h <<_ACEOF
6104 #define _FILE_OFFSET_BITS $ac_cv_sys_file_offset_bits
6105 _ACEOF
6107 esac
6108 rm -rf conftest*
6109 if test $ac_cv_sys_file_offset_bits = unknown; then
6110 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _LARGE_FILES value needed for large files" >&5
6111 $as_echo_n "checking for _LARGE_FILES value needed for large files... " >&6; }
6112 if ${ac_cv_sys_large_files+:} false; then :
6113 $as_echo_n "(cached) " >&6
6114 else
6115 while :; do
6116 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
6117 /* end confdefs.h. */
6118 #include <sys/types.h>
6119 /* Check that off_t can represent 2**63 - 1 correctly.
6120 We can't simply define LARGE_OFF_T to be 9223372036854775807,
6121 since some C++ compilers masquerading as C compilers
6122 incorrectly reject 9223372036854775807. */
6123 #define LARGE_OFF_T ((((off_t) 1 << 31) << 31) - 1 + (((off_t) 1 << 31) << 31))
6124 int off_t_is_large[(LARGE_OFF_T % 2147483629 == 721
6125 && LARGE_OFF_T % 2147483647 == 1)
6126 ? 1 : -1];
6128 main ()
6132 return 0;
6134 _ACEOF
6135 if ac_fn_c_try_compile "$LINENO"; then :
6136 ac_cv_sys_large_files=no; break
6138 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
6139 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
6140 /* end confdefs.h. */
6141 #define _LARGE_FILES 1
6142 #include <sys/types.h>
6143 /* Check that off_t can represent 2**63 - 1 correctly.
6144 We can't simply define LARGE_OFF_T to be 9223372036854775807,
6145 since some C++ compilers masquerading as C compilers
6146 incorrectly reject 9223372036854775807. */
6147 #define LARGE_OFF_T ((((off_t) 1 << 31) << 31) - 1 + (((off_t) 1 << 31) << 31))
6148 int off_t_is_large[(LARGE_OFF_T % 2147483629 == 721
6149 && LARGE_OFF_T % 2147483647 == 1)
6150 ? 1 : -1];
6152 main ()
6156 return 0;
6158 _ACEOF
6159 if ac_fn_c_try_compile "$LINENO"; then :
6160 ac_cv_sys_large_files=1; break
6162 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
6163 ac_cv_sys_large_files=unknown
6164 break
6165 done
6167 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_sys_large_files" >&5
6168 $as_echo "$ac_cv_sys_large_files" >&6; }
6169 case $ac_cv_sys_large_files in #(
6170 no | unknown) ;;
6172 cat >>confdefs.h <<_ACEOF
6173 #define _LARGE_FILES $ac_cv_sys_large_files
6174 _ACEOF
6176 esac
6177 rm -rf conftest*
6184 ac_ext=c
6185 ac_cpp='$CPP $CPPFLAGS'
6186 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
6187 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
6188 ac_compiler_gnu=$ac_cv_c_compiler_gnu
6189 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to run the C preprocessor" >&5
6190 $as_echo_n "checking how to run the C preprocessor... " >&6; }
6191 # On Suns, sometimes $CPP names a directory.
6192 if test -n "$CPP" && test -d "$CPP"; then
6193 CPP=
6195 if test -z "$CPP"; then
6196 if ${ac_cv_prog_CPP+:} false; then :
6197 $as_echo_n "(cached) " >&6
6198 else
6199 # Double quotes because CPP needs to be expanded
6200 for CPP in "$CC -E" "$CC -E -traditional-cpp" "/lib/cpp"
6202 ac_preproc_ok=false
6203 for ac_c_preproc_warn_flag in '' yes
6205 # Use a header file that comes with gcc, so configuring glibc
6206 # with a fresh cross-compiler works.
6207 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
6208 # <limits.h> exists even on freestanding compilers.
6209 # On the NeXT, cc -E runs the code through the compiler's parser,
6210 # not just through cpp. "Syntax error" is here to catch this case.
6211 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
6212 /* end confdefs.h. */
6213 #ifdef __STDC__
6214 # include <limits.h>
6215 #else
6216 # include <assert.h>
6217 #endif
6218 Syntax error
6219 _ACEOF
6220 if ac_fn_c_try_cpp "$LINENO"; then :
6222 else
6223 # Broken: fails on valid input.
6224 continue
6226 rm -f conftest.err conftest.i conftest.$ac_ext
6228 # OK, works on sane cases. Now check whether nonexistent headers
6229 # can be detected and how.
6230 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
6231 /* end confdefs.h. */
6232 #include <ac_nonexistent.h>
6233 _ACEOF
6234 if ac_fn_c_try_cpp "$LINENO"; then :
6235 # Broken: success on invalid input.
6236 continue
6237 else
6238 # Passes both tests.
6239 ac_preproc_ok=:
6240 break
6242 rm -f conftest.err conftest.i conftest.$ac_ext
6244 done
6245 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
6246 rm -f conftest.i conftest.err conftest.$ac_ext
6247 if $ac_preproc_ok; then :
6248 break
6251 done
6252 ac_cv_prog_CPP=$CPP
6255 CPP=$ac_cv_prog_CPP
6256 else
6257 ac_cv_prog_CPP=$CPP
6259 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CPP" >&5
6260 $as_echo "$CPP" >&6; }
6261 ac_preproc_ok=false
6262 for ac_c_preproc_warn_flag in '' yes
6264 # Use a header file that comes with gcc, so configuring glibc
6265 # with a fresh cross-compiler works.
6266 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
6267 # <limits.h> exists even on freestanding compilers.
6268 # On the NeXT, cc -E runs the code through the compiler's parser,
6269 # not just through cpp. "Syntax error" is here to catch this case.
6270 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
6271 /* end confdefs.h. */
6272 #ifdef __STDC__
6273 # include <limits.h>
6274 #else
6275 # include <assert.h>
6276 #endif
6277 Syntax error
6278 _ACEOF
6279 if ac_fn_c_try_cpp "$LINENO"; then :
6281 else
6282 # Broken: fails on valid input.
6283 continue
6285 rm -f conftest.err conftest.i conftest.$ac_ext
6287 # OK, works on sane cases. Now check whether nonexistent headers
6288 # can be detected and how.
6289 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
6290 /* end confdefs.h. */
6291 #include <ac_nonexistent.h>
6292 _ACEOF
6293 if ac_fn_c_try_cpp "$LINENO"; then :
6294 # Broken: success on invalid input.
6295 continue
6296 else
6297 # Passes both tests.
6298 ac_preproc_ok=:
6299 break
6301 rm -f conftest.err conftest.i conftest.$ac_ext
6303 done
6304 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
6305 rm -f conftest.i conftest.err conftest.$ac_ext
6306 if $ac_preproc_ok; then :
6308 else
6309 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
6310 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
6311 as_fn_error $? "C preprocessor \"$CPP\" fails sanity check
6312 See \`config.log' for more details" "$LINENO" 5; }
6315 ac_ext=c
6316 ac_cpp='$CPP $CPPFLAGS'
6317 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
6318 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
6319 ac_compiler_gnu=$ac_cv_c_compiler_gnu
6322 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ANSI C header files" >&5
6323 $as_echo_n "checking for ANSI C header files... " >&6; }
6324 if ${ac_cv_header_stdc+:} false; then :
6325 $as_echo_n "(cached) " >&6
6326 else
6327 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
6328 /* end confdefs.h. */
6329 #include <stdlib.h>
6330 #include <stdarg.h>
6331 #include <string.h>
6332 #include <float.h>
6335 main ()
6339 return 0;
6341 _ACEOF
6342 if ac_fn_c_try_compile "$LINENO"; then :
6343 ac_cv_header_stdc=yes
6344 else
6345 ac_cv_header_stdc=no
6347 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
6349 if test $ac_cv_header_stdc = yes; then
6350 # SunOS 4.x string.h does not declare mem*, contrary to ANSI.
6351 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
6352 /* end confdefs.h. */
6353 #include <string.h>
6355 _ACEOF
6356 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
6357 $EGREP "memchr" >/dev/null 2>&1; then :
6359 else
6360 ac_cv_header_stdc=no
6362 rm -f conftest*
6366 if test $ac_cv_header_stdc = yes; then
6367 # ISC 2.0.2 stdlib.h does not declare free, contrary to ANSI.
6368 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
6369 /* end confdefs.h. */
6370 #include <stdlib.h>
6372 _ACEOF
6373 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
6374 $EGREP "free" >/dev/null 2>&1; then :
6376 else
6377 ac_cv_header_stdc=no
6379 rm -f conftest*
6383 if test $ac_cv_header_stdc = yes; then
6384 # /bin/cc in Irix-4.0.5 gets non-ANSI ctype macros unless using -ansi.
6385 if test "$cross_compiling" = yes; then :
6387 else
6388 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
6389 /* end confdefs.h. */
6390 #include <ctype.h>
6391 #include <stdlib.h>
6392 #if ((' ' & 0x0FF) == 0x020)
6393 # define ISLOWER(c) ('a' <= (c) && (c) <= 'z')
6394 # define TOUPPER(c) (ISLOWER(c) ? 'A' + ((c) - 'a') : (c))
6395 #else
6396 # define ISLOWER(c) \
6397 (('a' <= (c) && (c) <= 'i') \
6398 || ('j' <= (c) && (c) <= 'r') \
6399 || ('s' <= (c) && (c) <= 'z'))
6400 # define TOUPPER(c) (ISLOWER(c) ? ((c) | 0x40) : (c))
6401 #endif
6403 #define XOR(e, f) (((e) && !(f)) || (!(e) && (f)))
6405 main ()
6407 int i;
6408 for (i = 0; i < 256; i++)
6409 if (XOR (islower (i), ISLOWER (i))
6410 || toupper (i) != TOUPPER (i))
6411 return 2;
6412 return 0;
6414 _ACEOF
6415 if ac_fn_c_try_run "$LINENO"; then :
6417 else
6418 ac_cv_header_stdc=no
6420 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \
6421 conftest.$ac_objext conftest.beam conftest.$ac_ext
6426 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_header_stdc" >&5
6427 $as_echo "$ac_cv_header_stdc" >&6; }
6428 if test $ac_cv_header_stdc = yes; then
6430 $as_echo "#define STDC_HEADERS 1" >>confdefs.h
6434 # On IRIX 5.3, sys/types and inttypes.h are conflicting.
6435 for ac_header in sys/types.h sys/stat.h stdlib.h string.h memory.h strings.h \
6436 inttypes.h stdint.h unistd.h
6437 do :
6438 as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
6439 ac_fn_c_check_header_compile "$LINENO" "$ac_header" "$as_ac_Header" "$ac_includes_default
6441 if eval test \"x\$"$as_ac_Header"\" = x"yes"; then :
6442 cat >>confdefs.h <<_ACEOF
6443 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
6444 _ACEOF
6448 done
6451 for ac_header in \
6452 AL/al.h \
6453 ApplicationServices/ApplicationServices.h \
6454 AudioToolbox/AudioConverter.h \
6455 AudioUnit/AudioUnit.h \
6456 AudioUnit/AudioComponent.h \
6457 CL/cl.h \
6458 Carbon/Carbon.h \
6459 CoreAudio/CoreAudio.h \
6460 CoreServices/CoreServices.h \
6461 DiskArbitration/DiskArbitration.h \
6462 IOKit/IOKitLib.h \
6463 IOKit/hid/IOHIDLib.h \
6464 OpenAL/al.h \
6465 OpenCL/opencl.h \
6466 QuickTime/ImageCompression.h \
6467 Security/Security.h \
6468 alias.h \
6469 alsa/asoundlib.h \
6470 arpa/inet.h \
6471 arpa/nameser.h \
6472 asm/types.h \
6473 asm/user.h \
6474 curses.h \
6475 direct.h \
6476 dirent.h \
6477 dlfcn.h \
6478 elf.h \
6479 float.h \
6480 fnmatch.h \
6481 getopt.h \
6482 gettext-po.h \
6483 grp.h \
6484 gsm.h \
6485 gsm/gsm.h \
6486 ieeefp.h \
6487 inet/mib2.h \
6488 io.h \
6489 kstat.h \
6490 lber.h \
6491 ldap.h \
6492 libproc.h \
6493 link.h \
6494 linux/cdrom.h \
6495 linux/compiler.h \
6496 linux/filter.h \
6497 linux/hdreg.h \
6498 linux/input.h \
6499 linux/ioctl.h \
6500 linux/joystick.h \
6501 linux/major.h \
6502 linux/param.h \
6503 linux/serial.h \
6504 linux/types.h \
6505 linux/ucdrom.h \
6506 lwp.h \
6507 mach-o/nlist.h \
6508 mach-o/loader.h \
6509 mach/mach.h \
6510 mach/machine.h \
6511 machine/cpu.h \
6512 machine/limits.h \
6513 machine/sysarch.h \
6514 mntent.h \
6515 ncurses.h \
6516 netdb.h \
6517 netinet/in.h \
6518 netinet/in_systm.h \
6519 netinet/tcp.h \
6520 netinet/tcp_fsm.h \
6521 pcap/pcap.h \
6522 poll.h \
6523 port.h \
6524 process.h \
6525 pthread.h \
6526 pwd.h \
6527 sched.h \
6528 scsi/scsi.h \
6529 scsi/scsi_ioctl.h \
6530 scsi/sg.h \
6531 stdbool.h \
6532 stdint.h \
6533 stropts.h \
6534 sys/asoundlib.h \
6535 sys/attr.h \
6536 sys/cdio.h \
6537 sys/elf32.h \
6538 sys/epoll.h \
6539 sys/event.h \
6540 sys/exec_elf.h \
6541 sys/filio.h \
6542 sys/inotify.h \
6543 sys/ioctl.h \
6544 sys/ipc.h \
6545 sys/limits.h \
6546 sys/link.h \
6547 sys/mman.h \
6548 sys/modem.h \
6549 sys/msg.h \
6550 sys/mtio.h \
6551 sys/param.h \
6552 sys/poll.h \
6553 sys/prctl.h \
6554 sys/protosw.h \
6555 sys/ptrace.h \
6556 sys/queue.h \
6557 sys/resource.h \
6558 sys/scsiio.h \
6559 sys/shm.h \
6560 sys/signal.h \
6561 sys/socket.h \
6562 sys/socketvar.h \
6563 sys/sockio.h \
6564 sys/statvfs.h \
6565 sys/strtio.h \
6566 sys/syscall.h \
6567 sys/tihdr.h \
6568 sys/time.h \
6569 sys/timeout.h \
6570 sys/times.h \
6571 sys/uio.h \
6572 sys/user.h \
6573 sys/utsname.h \
6574 sys/vm86.h \
6575 sys/wait.h \
6576 syscall.h \
6577 termios.h \
6578 unistd.h \
6579 utime.h \
6580 valgrind/memcheck.h \
6581 valgrind/valgrind.h \
6582 zlib.h
6584 do :
6585 as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
6586 ac_fn_c_check_header_mongrel "$LINENO" "$ac_header" "$as_ac_Header" "$ac_includes_default"
6587 if eval test \"x\$"$as_ac_Header"\" = x"yes"; then :
6588 cat >>confdefs.h <<_ACEOF
6589 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
6590 _ACEOF
6594 done
6596 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether stat file-mode macros are broken" >&5
6597 $as_echo_n "checking whether stat file-mode macros are broken... " >&6; }
6598 if ${ac_cv_header_stat_broken+:} false; then :
6599 $as_echo_n "(cached) " >&6
6600 else
6601 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
6602 /* end confdefs.h. */
6603 #include <sys/types.h>
6604 #include <sys/stat.h>
6606 #if defined S_ISBLK && defined S_IFDIR
6607 extern char c1[S_ISBLK (S_IFDIR) ? -1 : 1];
6608 #endif
6610 #if defined S_ISBLK && defined S_IFCHR
6611 extern char c2[S_ISBLK (S_IFCHR) ? -1 : 1];
6612 #endif
6614 #if defined S_ISLNK && defined S_IFREG
6615 extern char c3[S_ISLNK (S_IFREG) ? -1 : 1];
6616 #endif
6618 #if defined S_ISSOCK && defined S_IFREG
6619 extern char c4[S_ISSOCK (S_IFREG) ? -1 : 1];
6620 #endif
6622 _ACEOF
6623 if ac_fn_c_try_compile "$LINENO"; then :
6624 ac_cv_header_stat_broken=no
6625 else
6626 ac_cv_header_stat_broken=yes
6628 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
6630 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_header_stat_broken" >&5
6631 $as_echo "$ac_cv_header_stat_broken" >&6; }
6632 if test $ac_cv_header_stat_broken = yes; then
6634 $as_echo "#define STAT_MACROS_BROKEN 1" >>confdefs.h
6640 for ac_header in sys/mount.h sys/statfs.h sys/sysctl.h sys/user.h sys/vfs.h
6641 do :
6642 as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
6643 ac_fn_c_check_header_compile "$LINENO" "$ac_header" "$as_ac_Header" "#include <sys/types.h>
6644 #ifdef HAVE_SYS_PARAM_H
6645 # include <sys/param.h>
6646 #endif
6648 if eval test \"x\$"$as_ac_Header"\" = x"yes"; then :
6649 cat >>confdefs.h <<_ACEOF
6650 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
6651 _ACEOF
6655 done
6658 for ac_header in \
6659 netinet/ip.h \
6660 net/if.h \
6661 net/if_arp.h \
6662 net/if_dl.h \
6663 net/if_types.h \
6664 net/route.h \
6665 netinet/if_ether.h \
6666 netinet/if_inarp.h \
6667 netinet/in_pcb.h \
6668 netinet/ip_icmp.h \
6669 netinet/ip_var.h \
6670 netinet/udp.h \
6671 netipx/ipx.h \
6672 sys/un.h \
6674 do :
6675 as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
6676 ac_fn_c_check_header_compile "$LINENO" "$ac_header" "$as_ac_Header" "#include <sys/types.h>
6677 #ifdef HAVE_SYS_SOCKET_H
6678 # include <sys/socket.h>
6679 #endif
6680 #ifdef HAVE_SYS_SOCKETVAR_H
6681 # include <sys/socketvar.h>
6682 #endif
6683 #ifdef HAVE_NET_ROUTE_H
6684 # include <net/route.h>
6685 #endif
6686 #ifdef HAVE_NETINET_IN_H
6687 # include <netinet/in.h>
6688 #endif
6689 #ifdef HAVE_NETINET_IN_SYSTM_H
6690 # include <netinet/in_systm.h>
6691 #endif
6692 #ifdef HAVE_NET_IF_H
6693 # include <net/if.h>
6694 #endif
6695 #ifdef HAVE_NETINET_IP_H
6696 # include <netinet/ip.h>
6697 #endif
6699 if eval test \"x\$"$as_ac_Header"\" = x"yes"; then :
6700 cat >>confdefs.h <<_ACEOF
6701 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
6702 _ACEOF
6706 done
6709 for ac_header in netinet/tcp_timer.h netinet/udp_var.h netinet/icmp_var.h netinet/tcp_var.h
6710 do :
6711 as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
6712 ac_fn_c_check_header_compile "$LINENO" "$ac_header" "$as_ac_Header" "#include <sys/types.h>
6713 #ifdef HAVE_ALIAS_H
6714 # include <alias.h>
6715 #endif
6716 #ifdef HAVE_SYS_SOCKET_H
6717 # include <sys/socket.h>
6718 #endif
6719 #ifdef HAVE_SYS_SOCKETVAR_H
6720 # include <sys/socketvar.h>
6721 #endif
6722 #ifdef HAVE_SYS_TIMEOUT_H
6723 # include <sys/timeout.h>
6724 #endif
6725 #ifdef HAVE_NETINET_IN_H
6726 # include <netinet/in.h>
6727 #endif
6728 #ifdef HAVE_NETINET_IN_SYSTM_H
6729 # include <netinet/in_systm.h>
6730 #endif
6731 #ifdef HAVE_NETINET_IP_H
6732 # include <netinet/ip.h>
6733 #endif
6734 #ifdef HAVE_NETINET_IP_VAR_H
6735 # include <netinet/ip_var.h>
6736 #endif
6737 #ifdef HAVE_NETINET_IP_ICMP_H
6738 # include <netinet/ip_icmp.h>
6739 #endif
6740 #ifdef HAVE_NETINET_UDP_H
6741 # include <netinet/udp.h>
6742 #endif
6743 #ifdef HAVE_NETINET_TCP_H
6744 # include <netinet/tcp.h>
6745 #endif
6746 #ifdef HAVE_NETINET_TCP_TIMER_H
6747 #include <netinet/tcp_timer.h>
6748 #endif
6750 if eval test \"x\$"$as_ac_Header"\" = x"yes"; then :
6751 cat >>confdefs.h <<_ACEOF
6752 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
6753 _ACEOF
6757 done
6760 for ac_header in linux/ipx.h linux/irda.h linux/rtnetlink.h
6761 do :
6762 as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
6763 ac_fn_c_check_header_compile "$LINENO" "$ac_header" "$as_ac_Header" "#include <sys/types.h>
6764 #ifdef HAVE_ASM_TYPES_H
6765 # include <asm/types.h>
6766 #endif
6767 #ifdef HAVE_SYS_SOCKET_H
6768 # include <sys/socket.h>
6769 #endif
6770 #ifdef HAVE_LINUX_TYPES_H
6771 # include <linux/types.h>
6772 #endif
6774 if eval test \"x\$"$as_ac_Header"\" = x"yes"; then :
6775 cat >>confdefs.h <<_ACEOF
6776 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
6777 _ACEOF
6781 done
6784 for ac_header in mach-o/dyld_images.h
6785 do :
6786 ac_fn_c_check_header_compile "$LINENO" "mach-o/dyld_images.h" "ac_cv_header_mach_o_dyld_images_h" "#ifdef HAVE_STDBOOL_H
6787 # include <stdbool.h>
6788 #endif
6789 #ifdef HAVE_STDINT_H
6790 # include <stdint.h>
6791 #endif
6793 if test "x$ac_cv_header_mach_o_dyld_images_h" = xyes; then :
6794 cat >>confdefs.h <<_ACEOF
6795 #define HAVE_MACH_O_DYLD_IMAGES_H 1
6796 _ACEOF
6800 done
6803 for ac_header in resolv.h
6804 do :
6805 ac_fn_c_check_header_compile "$LINENO" "resolv.h" "ac_cv_header_resolv_h" "#include <sys/types.h>
6806 #ifdef HAVE_SYS_SOCKET_H
6807 # include <sys/socket.h>
6808 #endif
6809 #ifdef HAVE_NETINET_IN_H
6810 # include <netinet/in.h>
6811 #endif
6812 #ifdef HAVE_ARPA_NAMESER_H
6813 # include <arpa/nameser.h>
6814 #endif
6816 if test "x$ac_cv_header_resolv_h" = xyes; then :
6817 cat >>confdefs.h <<_ACEOF
6818 #define HAVE_RESOLV_H 1
6819 _ACEOF
6823 done
6826 for ac_header in ifaddrs.h
6827 do :
6828 ac_fn_c_check_header_compile "$LINENO" "ifaddrs.h" "ac_cv_header_ifaddrs_h" "#include <sys/types.h>
6830 if test "x$ac_cv_header_ifaddrs_h" = xyes; then :
6831 cat >>confdefs.h <<_ACEOF
6832 #define HAVE_IFADDRS_H 1
6833 _ACEOF
6837 done
6840 for ac_header in sys/ucontext.h
6841 do :
6842 ac_fn_c_check_header_compile "$LINENO" "sys/ucontext.h" "ac_cv_header_sys_ucontext_h" "#include <signal.h>
6844 if test "x$ac_cv_header_sys_ucontext_h" = xyes; then :
6845 cat >>confdefs.h <<_ACEOF
6846 #define HAVE_SYS_UCONTEXT_H 1
6847 _ACEOF
6851 done
6854 for ac_header in sys/thr.h
6855 do :
6856 ac_fn_c_check_header_compile "$LINENO" "sys/thr.h" "ac_cv_header_sys_thr_h" "#include <sys/types.h>
6857 #ifdef HAVE_SYS_UCONTEXT_H
6858 #include <sys/ucontext.h>
6859 #endif
6861 if test "x$ac_cv_header_sys_thr_h" = xyes; then :
6862 cat >>confdefs.h <<_ACEOF
6863 #define HAVE_SYS_THR_H 1
6864 _ACEOF
6868 done
6871 for ac_header in pthread_np.h
6872 do :
6873 ac_fn_c_check_header_compile "$LINENO" "pthread_np.h" "ac_cv_header_pthread_np_h" "#ifdef HAVE_PTHREAD_H
6874 #include <pthread.h>
6875 #endif
6877 if test "x$ac_cv_header_pthread_np_h" = xyes; then :
6878 cat >>confdefs.h <<_ACEOF
6879 #define HAVE_PTHREAD_NP_H 1
6880 _ACEOF
6884 done
6887 for ac_header in linux/videodev.h linux/videodev2.h libv4l1.h
6888 do :
6889 as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
6890 ac_fn_c_check_header_compile "$LINENO" "$ac_header" "$as_ac_Header" "#ifdef HAVE_SYS_TIME_H
6891 #include <sys/time.h>
6892 #endif
6893 #include <sys/types.h>
6894 #ifdef HAVE_ASM_TYPES_H
6895 #include <asm/types.h>
6896 #endif
6898 if eval test \"x\$"$as_ac_Header"\" = x"yes"; then :
6899 cat >>confdefs.h <<_ACEOF
6900 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
6901 _ACEOF
6905 done
6908 for ac_header in libprocstat.h
6909 do :
6910 ac_fn_c_check_header_compile "$LINENO" "libprocstat.h" "ac_cv_header_libprocstat_h" "#ifdef HAVE_SYS_PARAM_H
6911 #include <sys/param.h>
6912 #endif
6913 #ifdef HAVE_SYS_QUEUE_H
6914 #include <sys/queue.h>
6915 #endif
6916 #ifdef HAVE_SYS_SOCKET_H
6917 #include <sys/socket.h>
6918 #endif
6920 if test "x$ac_cv_header_libprocstat_h" = xyes; then :
6921 cat >>confdefs.h <<_ACEOF
6922 #define HAVE_LIBPROCSTAT_H 1
6923 _ACEOF
6927 done
6931 dlldir="\${libdir}/wine"
6933 DLLPREFIX=""
6935 DLLFLAGS="-D_REENTRANT"
6937 LDRPATH_INSTALL=""
6939 LDRPATH_LOCAL=""
6941 LIBEXT="so"
6942 DLLEXT=".so"
6943 IMPLIBEXT="def"
6944 STATIC_IMPLIBEXT="def.a"
6945 # Extract the first word of "ldd", so it can be a program name with args.
6946 set dummy ldd; ac_word=$2
6947 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6948 $as_echo_n "checking for $ac_word... " >&6; }
6949 if ${ac_cv_path_LDD+:} false; then :
6950 $as_echo_n "(cached) " >&6
6951 else
6952 case $LDD in
6953 [\\/]* | ?:[\\/]*)
6954 ac_cv_path_LDD="$LDD" # Let the user override the test with a path.
6957 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6958 as_dummy="/sbin:/usr/sbin:$PATH"
6959 for as_dir in $as_dummy
6961 IFS=$as_save_IFS
6962 test -z "$as_dir" && as_dir=.
6963 for ac_exec_ext in '' $ac_executable_extensions; do
6964 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
6965 ac_cv_path_LDD="$as_dir/$ac_word$ac_exec_ext"
6966 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6967 break 2
6969 done
6970 done
6971 IFS=$as_save_IFS
6973 test -z "$ac_cv_path_LDD" && ac_cv_path_LDD="true"
6975 esac
6977 LDD=$ac_cv_path_LDD
6978 if test -n "$LDD"; then
6979 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $LDD" >&5
6980 $as_echo "$LDD" >&6; }
6981 else
6982 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6983 $as_echo "no" >&6; }
6987 if test -n "$ac_tool_prefix"; then
6988 # Extract the first word of "${ac_tool_prefix}readelf", so it can be a program name with args.
6989 set dummy ${ac_tool_prefix}readelf; ac_word=$2
6990 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6991 $as_echo_n "checking for $ac_word... " >&6; }
6992 if ${ac_cv_prog_READELF+:} false; then :
6993 $as_echo_n "(cached) " >&6
6994 else
6995 if test -n "$READELF"; then
6996 ac_cv_prog_READELF="$READELF" # Let the user override the test.
6997 else
6998 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6999 for as_dir in $PATH
7001 IFS=$as_save_IFS
7002 test -z "$as_dir" && as_dir=.
7003 for ac_exec_ext in '' $ac_executable_extensions; do
7004 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
7005 ac_cv_prog_READELF="${ac_tool_prefix}readelf"
7006 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
7007 break 2
7009 done
7010 done
7011 IFS=$as_save_IFS
7015 READELF=$ac_cv_prog_READELF
7016 if test -n "$READELF"; then
7017 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $READELF" >&5
7018 $as_echo "$READELF" >&6; }
7019 else
7020 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7021 $as_echo "no" >&6; }
7026 if test -z "$ac_cv_prog_READELF"; then
7027 ac_ct_READELF=$READELF
7028 # Extract the first word of "readelf", so it can be a program name with args.
7029 set dummy readelf; ac_word=$2
7030 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7031 $as_echo_n "checking for $ac_word... " >&6; }
7032 if ${ac_cv_prog_ac_ct_READELF+:} false; then :
7033 $as_echo_n "(cached) " >&6
7034 else
7035 if test -n "$ac_ct_READELF"; then
7036 ac_cv_prog_ac_ct_READELF="$ac_ct_READELF" # Let the user override the test.
7037 else
7038 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7039 for as_dir in $PATH
7041 IFS=$as_save_IFS
7042 test -z "$as_dir" && as_dir=.
7043 for ac_exec_ext in '' $ac_executable_extensions; do
7044 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
7045 ac_cv_prog_ac_ct_READELF="readelf"
7046 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
7047 break 2
7049 done
7050 done
7051 IFS=$as_save_IFS
7055 ac_ct_READELF=$ac_cv_prog_ac_ct_READELF
7056 if test -n "$ac_ct_READELF"; then
7057 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_READELF" >&5
7058 $as_echo "$ac_ct_READELF" >&6; }
7059 else
7060 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7061 $as_echo "no" >&6; }
7064 if test "x$ac_ct_READELF" = x; then
7065 READELF="true"
7066 else
7067 case $cross_compiling:$ac_tool_warned in
7068 yes:)
7069 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
7070 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
7071 ac_tool_warned=yes ;;
7072 esac
7073 READELF=$ac_ct_READELF
7075 else
7076 READELF="$ac_cv_prog_READELF"
7079 wine_rules_file=conf$$rules.make
7080 rm -f $wine_rules_file
7081 ALL_POT_FILES=""
7082 GITIGNORE="# Automatically generated by configure; DO NOT EDIT!!"
7083 ALL_TEST_RESOURCES=""
7086 wine_fn_append_file ()
7088 as_fn_append $1 " \\$as_nl $2"
7091 wine_fn_ignore_file ()
7093 case "$1" in
7094 */*) as_fn_append GITIGNORE "$as_nl$1" ;;
7095 \**) as_fn_append GITIGNORE "$as_nl$1" ;;
7096 *) as_fn_append GITIGNORE "$as_nl/$1" ;;
7097 esac
7100 wine_fn_append_rule ()
7102 $as_echo "$1" >>$wine_rules_file
7105 wine_fn_has_flag ()
7107 expr ",$ac_flags," : ".*,$1,.*" >/dev/null
7110 wine_fn_depend_rules ()
7112 wine_fn_append_rule \
7113 "$ac_dir/Makefile: $srcdir/$ac_dir/Makefile.in $srcdir/Make.vars.in config.status \$(MAKEDEP)
7114 @./config.status --file $ac_dir/Makefile:Make.vars.in:$ac_dir/Makefile.in && \$(MAKEDEP) $ac_dir
7115 depend: $ac_dir/depend
7116 .PHONY: $ac_dir/depend
7117 $ac_dir/depend: \$(MAKEDEP) dummy
7118 @./config.status --file $ac_dir/Makefile:Make.vars.in:$ac_dir/Makefile.in && \$(MAKEDEP) $ac_dir"
7121 wine_fn_pot_rules ()
7123 test "x$with_gettextpo" = xyes || return
7125 if wine_fn_has_flag mc
7126 then
7127 wine_fn_append_file ALL_POT_FILES $ac_dir/msg.pot
7128 wine_fn_append_rule \
7129 "$ac_dir/msg.pot: $ac_dir/Makefile dummy
7130 @cd $ac_dir && \$(MAKE) msg.pot
7131 $ac_dir/msg.pot: tools/wmc include"
7133 if wine_fn_has_flag po
7134 then
7135 wine_fn_append_file ALL_POT_FILES $ac_dir/rsrc.pot
7136 wine_fn_append_rule \
7137 "$ac_dir/rsrc.pot: $ac_dir/Makefile dummy
7138 @cd $ac_dir && \$(MAKE) rsrc.pot
7139 $ac_dir/rsrc.pot: tools/wrc include"
7143 wine_fn_all_rules ()
7145 wine_fn_depend_rules
7146 wine_fn_append_rule \
7147 "all: $ac_dir
7148 .PHONY: $ac_dir
7149 $ac_dir: $ac_dir/Makefile dummy
7150 @cd $ac_dir && \$(MAKE)"
7153 wine_fn_install_rules ()
7155 wine_fn_has_flag install-lib || wine_fn_has_flag install-dev || return
7157 wine_fn_append_rule \
7158 ".PHONY: $ac_dir/install $ac_dir/uninstall
7159 $ac_dir/install:: $ac_dir
7160 @cd $ac_dir && \$(MAKE) install
7161 $ac_dir/uninstall:: $ac_dir/Makefile
7162 @cd $ac_dir && \$(MAKE) uninstall
7163 install:: $ac_dir/install
7164 __uninstall__: $ac_dir/uninstall"
7166 if wine_fn_has_flag install-lib
7167 then
7168 wine_fn_append_rule \
7169 ".PHONY: $ac_dir/install-lib
7170 $ac_dir/install-lib:: $ac_dir
7171 @cd $ac_dir && \$(MAKE) install-lib
7172 install-lib:: $ac_dir/install-lib"
7175 if wine_fn_has_flag install-dev
7176 then
7177 wine_fn_append_rule \
7178 ".PHONY: $ac_dir/install-dev
7179 $ac_dir/install-dev:: $ac_dir
7180 @cd $ac_dir && \$(MAKE) install-dev
7181 install-dev:: $ac_dir/install-dev"
7185 wine_fn_clean_rules ()
7187 ac_clean=$@
7188 ac_extraclean="$ac_dir/Makefile"
7189 test "$srcdir" = . && ac_extraclean="$ac_extraclean $ac_dir/.gitignore"
7190 case $ac_dir in
7191 */tests) ac_extraclean="$ac_extraclean $ac_dir/testlist.c" ;;
7192 esac
7194 if wine_fn_has_flag clean
7195 then
7196 wine_fn_append_rule \
7197 "__clean__: $ac_dir/clean
7198 .PHONY: $ac_dir/clean
7199 $ac_dir/clean: $ac_dir/Makefile
7200 @cd $ac_dir && \$(MAKE) clean
7201 \$(RM) $ac_extraclean"
7202 else
7203 wine_fn_append_rule \
7204 "__clean__: $ac_dir/clean
7205 .PHONY: $ac_dir/clean
7206 $ac_dir/clean: dummy
7207 \$(RM) \$(CLEAN_FILES:%=$ac_dir/%) $ac_clean $ac_extraclean"
7211 wine_fn_disabled_rules ()
7213 ac_clean=$@
7214 ac_extraclean="$ac_dir/Makefile"
7215 test "$srcdir" = . && ac_extraclean="$ac_extraclean $ac_dir/.gitignore"
7217 wine_fn_append_rule \
7218 "__clean__: $ac_dir/clean
7219 .PHONY: $ac_dir/clean
7220 $ac_dir/clean: dummy
7221 \$(RM) \$(CLEAN_FILES:%=$ac_dir/%) $ac_clean $ac_extraclean"
7224 wine_fn_config_makefile ()
7226 ac_dir=$1
7227 ac_enable=$2
7228 ac_flags=$3
7230 if eval test \"x\$"$ac_enable"\" = x"no"; then :
7231 wine_fn_disabled_rules; return
7233 wine_fn_all_rules
7234 wine_fn_install_rules
7235 wine_fn_clean_rules
7238 wine_fn_config_lib ()
7240 ac_name=$1
7241 ac_flags=$2
7242 ac_dir=dlls/$ac_name
7243 ac_deps="include"
7245 if test "x$enable_tools" = xno; then :
7247 else
7248 ac_deps="tools/widl tools/winebuild tools/winegcc $ac_deps"
7250 wine_fn_all_rules
7251 wine_fn_clean_rules
7253 wine_fn_append_rule \
7254 ".PHONY: $ac_dir/install $ac_dir/uninstall
7255 $ac_dir/install:: $ac_dir
7256 \$(INSTALL_DATA) $ac_dir/lib$ac_name.a \$(DESTDIR)\$(dlldir)/lib$ac_name.a
7257 $ac_dir/uninstall::
7258 \$(RM) \$(DESTDIR)\$(dlldir)/lib$ac_name.a
7259 install install-dev:: $ac_dir/install
7260 __uninstall__: $ac_dir/uninstall
7261 __builddeps__: $ac_dir
7262 $ac_dir: $ac_deps"
7265 wine_fn_config_dll ()
7267 ac_name=$1
7268 ac_dir=dlls/$ac_name
7269 ac_enable=$2
7270 ac_flags=$3
7271 ac_implib=${4:-$ac_name}
7272 ac_file=$ac_dir/lib$ac_implib
7273 ac_dll=$ac_name
7274 ac_deps="include"
7275 ac_implibflags=""
7277 if test "x$enable_tools" = xno; then :
7279 else
7280 ac_deps="tools/widl tools/winebuild tools/winegcc $ac_deps"
7282 case $ac_name in
7283 *16) ac_implibflags=" -m16" ;;
7284 *.*) ;;
7285 *) ac_dll=$ac_dll.dll ;;
7286 esac
7288 ac_clean=
7289 wine_fn_has_flag implib && ac_clean="$ac_clean $ac_file.$IMPLIBEXT"
7290 wine_fn_has_flag mc && ac_clean="$ac_clean $ac_dir/msg.pot"
7291 wine_fn_has_flag po && ac_clean="$ac_clean $ac_dir/rsrc.pot"
7292 test -n "$DLLEXT" || ac_clean="$ac_clean $ac_dir/$ac_dll"
7294 if eval test \"x\$"$ac_enable"\" = x"no"; then :
7295 if wine_fn_has_flag implib && test "$ac_enable" != enable_win16
7296 then
7297 wine_fn_depend_rules
7298 wine_fn_clean_rules $ac_clean
7299 else
7300 wine_fn_disabled_rules $ac_clean
7301 return
7303 else
7304 wine_fn_all_rules
7305 wine_fn_clean_rules $ac_clean
7306 wine_fn_append_rule \
7307 "$ac_dir: __builddeps__
7308 manpages htmlpages sgmlpages xmlpages:: $ac_dir/Makefile
7309 @cd $ac_dir && \$(MAKE) \$@
7310 .PHONY: $ac_dir/install-lib $ac_dir/uninstall
7311 install install-lib:: $ac_dir/install-lib
7312 __uninstall__: $ac_dir/uninstall"
7313 if test -n "$DLLEXT"
7314 then
7315 wine_fn_append_rule \
7316 "$ac_dir/install-lib:: $ac_dir
7317 \$(INSTALL_PROGRAM) $ac_dir/$ac_dll$DLLEXT \$(DESTDIR)\$(dlldir)/$DLLPREFIX$ac_dll$DLLEXT
7318 \$(INSTALL_DATA) $ac_dir/$ac_dll.fake \$(DESTDIR)\$(fakedlldir)/$ac_dll
7319 $ac_dir/uninstall::
7320 \$(RM) \$(DESTDIR)\$(dlldir)/$DLLPREFIX$ac_dll$DLLEXT \$(DESTDIR)\$(fakedlldir)/$ac_dll"
7321 else
7322 wine_fn_append_rule \
7323 "$ac_dir/install-lib:: $ac_dir
7324 \$(INSTALL_PROGRAM) $ac_dir/$ac_dll \$(DESTDIR)\$(dlldir)/$ac_dll
7325 $ac_dir/uninstall::
7326 \$(RM) \$(DESTDIR)\$(dlldir)/$ac_dll"
7329 wine_fn_pot_rules
7332 if wine_fn_has_flag staticimplib
7333 then
7334 wine_fn_append_rule \
7335 "__builddeps__: $ac_file.$IMPLIBEXT $ac_file.$STATIC_IMPLIBEXT
7336 $ac_file.$IMPLIBEXT $ac_file.$STATIC_IMPLIBEXT $ac_file.cross.a: $ac_deps
7337 $ac_file.def: $srcdir/$ac_dir/$ac_name.spec $ac_dir/Makefile \$(WINEBUILD)
7338 \$(WINEBUILD) \$(TARGETFLAGS)$ac_implibflags -w --def -o \$@ --export $srcdir/$ac_dir/$ac_name.spec
7339 $ac_file.$STATIC_IMPLIBEXT: $ac_dir/Makefile dummy
7340 @cd $ac_dir && \$(MAKE) lib$ac_implib.$STATIC_IMPLIBEXT
7341 .PHONY: $ac_dir/install-dev $ac_dir/uninstall
7342 $ac_dir/install-dev:: $ac_file.$IMPLIBEXT
7343 \$(INSTALL_DATA) $ac_file.$IMPLIBEXT \$(DESTDIR)\$(dlldir)/lib$ac_implib.$IMPLIBEXT
7344 $ac_dir/uninstall::
7345 \$(RM) \$(DESTDIR)\$(dlldir)/lib$ac_implib.$IMPLIBEXT
7346 install install-dev:: $ac_dir/install-dev
7347 __uninstall__: $ac_dir/uninstall"
7349 if test "$IMPLIBEXT" != "$STATIC_IMPLIBEXT"
7350 then
7351 wine_fn_append_rule \
7352 "$ac_dir/install-dev:: $ac_file.$STATIC_IMPLIBEXT __builddeps__
7353 \$(INSTALL_DATA) $ac_file.$STATIC_IMPLIBEXT \$(DESTDIR)\$(dlldir)/lib$ac_implib.$STATIC_IMPLIBEXT
7354 $ac_dir/uninstall::
7355 \$(RM) \$(DESTDIR)\$(dlldir)/lib$ac_implib.$STATIC_IMPLIBEXT"
7358 if test -n "$CROSSTARGET" -a -z "$ac_implibflags"
7359 then
7360 wine_fn_append_rule \
7361 "__builddeps__: $ac_file.cross.a
7362 $ac_file.cross.a: $ac_dir/Makefile dummy
7363 @cd $ac_dir && \$(MAKE) lib$ac_implib.cross.a"
7366 elif wine_fn_has_flag implib
7367 then
7368 wine_fn_append_rule \
7369 "__builddeps__: $ac_file.$IMPLIBEXT
7370 $ac_file.def: $srcdir/$ac_dir/$ac_name.spec $ac_dir/Makefile \$(WINEBUILD)
7371 \$(WINEBUILD) \$(TARGETFLAGS)$ac_implibflags -w --def -o \$@ --export $srcdir/$ac_dir/$ac_name.spec
7372 $ac_file.a: $srcdir/$ac_dir/$ac_name.spec $ac_dir/Makefile \$(WINEBUILD)
7373 \$(WINEBUILD) \$(TARGETFLAGS)$ac_implibflags -w --implib -o \$@ --export $srcdir/$ac_dir/$ac_name.spec
7374 .PHONY: $ac_dir/install-dev $ac_dir/uninstall
7375 $ac_dir/install-dev:: $ac_file.$IMPLIBEXT
7376 \$(INSTALL_DATA) $ac_file.$IMPLIBEXT \$(DESTDIR)\$(dlldir)/lib$ac_implib.$IMPLIBEXT
7377 $ac_dir/uninstall::
7378 \$(RM) \$(DESTDIR)\$(dlldir)/lib$ac_implib.$IMPLIBEXT
7379 install install-dev:: $ac_dir/install-dev
7380 __uninstall__: $ac_dir/uninstall"
7381 if test -n "$CROSSTARGET" -a -z "$ac_implibflags"
7382 then
7383 wine_fn_append_rule \
7384 "__builddeps__: $ac_file.cross.a
7385 $ac_file.cross.a: $srcdir/$ac_dir/$ac_name.spec $ac_dir/Makefile \$(WINEBUILD)
7386 \$(WINEBUILD) \$(CROSSTARGET:%=-b %)$ac_implibflags -w --implib -o \$@ --export $srcdir/$ac_dir/$ac_name.spec"
7389 if test "$ac_name" != "$ac_implib"
7390 then
7391 wine_fn_append_rule \
7392 "__builddeps__: dlls/lib$ac_implib.$IMPLIBEXT
7393 dlls/lib$ac_implib.$IMPLIBEXT: $ac_file.$IMPLIBEXT
7394 \$(RM) \$@ && \$(LN_S) $ac_name/lib$ac_implib.$IMPLIBEXT \$@
7395 clean::
7396 \$(RM) dlls/lib$ac_implib.$IMPLIBEXT"
7397 wine_fn_ignore_file "dlls/lib$ac_implib.$IMPLIBEXT"
7398 if test -n "$CROSSTARGET" -a -z "$ac_implibflags"
7399 then
7400 wine_fn_append_rule \
7401 "__builddeps__: dlls/lib$ac_implib.cross.a
7402 dlls/lib$ac_implib.cross.a: $ac_file.cross.a
7403 \$(RM) \$@ && \$(LN_S) $ac_name/lib$ac_implib.cross.a \$@
7404 clean::
7405 \$(RM) dlls/lib$ac_implib.cross.a"
7406 wine_fn_ignore_file "dlls/lib$ac_implib.cross.a"
7412 wine_fn_config_program ()
7414 ac_name=$1
7415 ac_dir=programs/$ac_name
7416 ac_enable=$2
7417 ac_flags=$3
7418 ac_program=$ac_name
7420 case $ac_name in
7421 *.*) ;;
7422 *) ac_program=$ac_program.exe ;;
7423 esac
7425 ac_clean=
7426 wine_fn_has_flag mc && ac_clean="$ac_clean $ac_dir/msg.pot"
7427 wine_fn_has_flag po && ac_clean="$ac_clean $ac_dir/rsrc.pot"
7428 wine_fn_has_flag manpage && ac_clean="$ac_clean $ac_dir/$ac_name.man"
7429 test -n "$DLLEXT" || ac_clean="$ac_clean $ac_dir/$ac_program"
7431 if eval test \"x\$"$ac_enable"\" = x"no"; then :
7432 wine_fn_disabled_rules $ac_clean; return
7435 wine_fn_all_rules
7436 wine_fn_clean_rules $ac_clean
7437 wine_fn_append_rule "$ac_dir: __builddeps__"
7438 wine_fn_pot_rules
7440 wine_fn_has_flag install || return
7441 wine_fn_append_rule \
7442 ".PHONY: $ac_dir/install $ac_dir/uninstall
7443 install install-lib:: $ac_dir/install
7444 __uninstall__: $ac_dir/uninstall"
7446 if test -n "$DLLEXT"
7447 then
7448 wine_fn_append_rule \
7449 "$ac_dir/install:: $ac_dir
7450 \$(INSTALL_PROGRAM) $ac_dir/$ac_program$DLLEXT \$(DESTDIR)\$(dlldir)/$DLLPREFIX$ac_program$DLLEXT
7451 \$(INSTALL_DATA) $ac_dir/$ac_program.fake \$(DESTDIR)\$(fakedlldir)/$ac_program
7452 $ac_dir/uninstall::
7453 \$(RM) \$(DESTDIR)\$(dlldir)/$DLLPREFIX$ac_program$DLLEXT \$(DESTDIR)\$(fakedlldir)/$ac_program"
7455 if test -z "$with_wine64" && wine_fn_has_flag installbin
7456 then
7457 wine_fn_append_rule \
7458 "$ac_dir/install:: __tooldeps__
7459 \$(INSTALL_SCRIPT) \$(TOOLSDIR)/tools/wineapploader \$(DESTDIR)\$(bindir)/$ac_name
7460 $ac_dir/uninstall::
7461 \$(RM) \$(DESTDIR)\$(bindir)/$ac_name"
7463 else
7464 wine_fn_append_rule \
7465 "$ac_dir/install:: $ac_dir
7466 \$(INSTALL_PROGRAM) $ac_dir/$ac_program \$(DESTDIR)\$(bindir)/$ac_program
7467 $ac_dir/uninstall::
7468 \$(RM) \$(DESTDIR)\$(bindir)/$ac_program"
7471 if test -z "$with_wine64" && wine_fn_has_flag manpage
7472 then
7473 wine_fn_append_rule \
7474 "$ac_dir/install:: $ac_dir
7475 \$(INSTALL_DATA) $ac_dir/$ac_name.man \$(DESTDIR)\$(mandir)/man\$(prog_manext)/$ac_name.\$(prog_manext)
7476 $ac_dir/uninstall::
7477 \$(RM) \$(DESTDIR)\$(mandir)/man\$(prog_manext)/$ac_name.\$(prog_manext)"
7481 wine_fn_config_test ()
7483 ac_dir=$1
7484 ac_name=$2
7485 ac_flags=$3
7487 ac_clean=
7488 test -n "$CROSSTARGET" && ac_clean=`expr $ac_dir/${ac_name} : "\\(.*\\)_test"`_crosstest.exe
7489 test -n "$DLLEXT" || ac_clean="$ac_dir/${ac_name}.exe $ac_dir/${ac_name}-stripped.exe"
7491 if test "x$enable_tests" = xno; then :
7492 wine_fn_disabled_rules $ac_clean; return
7495 wine_fn_append_file ALL_TEST_RESOURCES $ac_name.res
7496 wine_fn_all_rules
7497 wine_fn_clean_rules $ac_clean
7499 wine_fn_append_rule \
7500 "$ac_dir: programs/winetest/Makefile __builddeps__
7501 programs/winetest: $ac_dir
7502 check test: $ac_dir/test
7503 .PHONY: $ac_dir/test
7504 $ac_dir/test: dummy
7505 @cd $ac_dir && \$(MAKE) test
7506 testclean::
7507 \$(RM) $ac_dir/*.ok"
7509 if test -n "$CROSSTARGET"
7510 then
7511 wine_fn_append_rule \
7512 "crosstest: $ac_dir/crosstest
7513 .PHONY: $ac_dir/crosstest
7514 $ac_dir/crosstest: $ac_dir/Makefile __builddeps__ dummy
7515 @cd $ac_dir && \$(MAKE) crosstest"
7519 wine_fn_config_tool ()
7521 ac_dir=$1
7522 ac_flags=$2
7523 if test "x$enable_tools" = xno; then :
7524 return
7527 wine_fn_all_rules
7528 wine_fn_install_rules
7529 wine_fn_clean_rules
7531 wine_fn_append_rule "__tooldeps__: $ac_dir"
7532 wine_fn_append_rule "$ac_dir: libs/port"
7533 case $ac_dir in
7534 tools/winebuild) wine_fn_append_rule "\$(WINEBUILD): $ac_dir" ;;
7535 esac
7538 wine_fn_config_symlink ()
7540 ac_linkdir=
7541 if test "x$1" = "x-d"
7542 then
7543 ac_linkdir=$2
7544 shift; shift
7546 ac_links=$@
7547 wine_fn_append_rule \
7548 "$ac_links:
7549 @./config.status \$@
7550 distclean::
7551 \$(RM) $ac_links"
7552 for f in $ac_links; do wine_fn_ignore_file $f; done
7553 test -n "$ac_linkdir" || return
7554 wine_fn_append_rule "$ac_linkdir/Makefile $ac_linkdir/depend: $ac_links"
7557 wine_binary="wine"
7558 test "x$enable_win64" != "xyes" || wine_binary="wine64"
7559 loader_programs="$wine_binary wine-installed"
7560 libwine_soversion=`expr $libwine_version : '\([0-9]*\)\..*'`
7562 LOADER_RULES="
7563 all: wine.inf
7565 install install-lib:: wine-installed
7566 \$(INSTALL_PROGRAM) wine-installed \$(DESTDIR)\$(bindir)/$wine_binary
7568 uninstall::
7569 \$(RM) \$(DESTDIR)\$(bindir)/$wine_binary
7573 case $host_os in
7574 cygwin*|mingw32*)
7575 if test -n "$ac_tool_prefix"; then
7576 # Extract the first word of "${ac_tool_prefix}dlltool", so it can be a program name with args.
7577 set dummy ${ac_tool_prefix}dlltool; ac_word=$2
7578 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7579 $as_echo_n "checking for $ac_word... " >&6; }
7580 if ${ac_cv_prog_DLLTOOL+:} false; then :
7581 $as_echo_n "(cached) " >&6
7582 else
7583 if test -n "$DLLTOOL"; then
7584 ac_cv_prog_DLLTOOL="$DLLTOOL" # Let the user override the test.
7585 else
7586 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7587 for as_dir in $PATH
7589 IFS=$as_save_IFS
7590 test -z "$as_dir" && as_dir=.
7591 for ac_exec_ext in '' $ac_executable_extensions; do
7592 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
7593 ac_cv_prog_DLLTOOL="${ac_tool_prefix}dlltool"
7594 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
7595 break 2
7597 done
7598 done
7599 IFS=$as_save_IFS
7603 DLLTOOL=$ac_cv_prog_DLLTOOL
7604 if test -n "$DLLTOOL"; then
7605 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $DLLTOOL" >&5
7606 $as_echo "$DLLTOOL" >&6; }
7607 else
7608 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7609 $as_echo "no" >&6; }
7614 if test -z "$ac_cv_prog_DLLTOOL"; then
7615 ac_ct_DLLTOOL=$DLLTOOL
7616 # Extract the first word of "dlltool", so it can be a program name with args.
7617 set dummy dlltool; ac_word=$2
7618 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7619 $as_echo_n "checking for $ac_word... " >&6; }
7620 if ${ac_cv_prog_ac_ct_DLLTOOL+:} false; then :
7621 $as_echo_n "(cached) " >&6
7622 else
7623 if test -n "$ac_ct_DLLTOOL"; then
7624 ac_cv_prog_ac_ct_DLLTOOL="$ac_ct_DLLTOOL" # Let the user override the test.
7625 else
7626 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7627 for as_dir in $PATH
7629 IFS=$as_save_IFS
7630 test -z "$as_dir" && as_dir=.
7631 for ac_exec_ext in '' $ac_executable_extensions; do
7632 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
7633 ac_cv_prog_ac_ct_DLLTOOL="dlltool"
7634 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
7635 break 2
7637 done
7638 done
7639 IFS=$as_save_IFS
7643 ac_ct_DLLTOOL=$ac_cv_prog_ac_ct_DLLTOOL
7644 if test -n "$ac_ct_DLLTOOL"; then
7645 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_DLLTOOL" >&5
7646 $as_echo "$ac_ct_DLLTOOL" >&6; }
7647 else
7648 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7649 $as_echo "no" >&6; }
7652 if test "x$ac_ct_DLLTOOL" = x; then
7653 DLLTOOL="false"
7654 else
7655 case $cross_compiling:$ac_tool_warned in
7656 yes:)
7657 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
7658 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
7659 ac_tool_warned=yes ;;
7660 esac
7661 DLLTOOL=$ac_ct_DLLTOOL
7663 else
7664 DLLTOOL="$ac_cv_prog_DLLTOOL"
7667 LIBEXT="dll"
7668 DLLEXT=""
7669 IMPLIBEXT="a"
7670 STATIC_IMPLIBEXT="a"
7671 enable_iphlpapi=${enable_iphlpapi:-no}
7672 enable_kernel32=${enable_kernel32:-no}
7673 enable_msvcrt=${enable_msvcrt:-no}
7674 enable_ntdll=${enable_ntdll:-no}
7675 enable_ws2_32=${enable_ws2_32:-no}
7676 enable_loader=${enable_loader:-no}
7677 enable_server=${enable_server:-no}
7678 with_x=${with_x:-no}
7679 with_pthread=${with_pthread:-no}
7681 crtlibs=""
7682 case $host_os in
7683 mingw32*)
7684 crtlibs="-lmsvcrt"
7685 SOCKET_LIBS="-L\$(top_builddir)/dlls/ws2_32 -lws2_32"
7687 esac
7689 libwine_targets="libwine.dll libwine.a"
7690 LIBWINE_RULES="
7691 OBJS = \$(C_SRCS:.c=.o) \$(EXTRA_OBJS)
7693 all: libwine.dll libwine.a
7695 libwine.a: \$(srcdir)/wine.def
7696 \$(DLLTOOL) -l \$@ -d \$(srcdir)/wine.def
7698 libwine.dll: \$(OBJS) \$(srcdir)/wine.def
7699 \$(CC) -shared \$(srcdir)/wine.def -o \$@ \$(OBJS) $crtlibs \$(EXTRALIBS)
7701 install install-lib:: libwine.dll
7702 \$(INSTALL_DATA) libwine.dll \$(DESTDIR)\$(libdir)/libwine.dll
7704 install install-dev:: libwine.a
7705 \$(INSTALL_DATA) libwine.a \$(DESTDIR)\$(libdir)/libwine.a
7707 uninstall::
7708 -cd \$(DESTDIR)\$(libdir) && \$(RM) libwine.a libwine.dll
7713 darwin*|macosx*)
7714 LIBEXT="dylib"
7715 DLLFLAGS="$DLLFLAGS -fPIC"
7716 LIBWINE_LDFLAGS="-multiply_defined suppress"
7717 LDRPATH_INSTALL="-Wl,-rpath,@loader_path/\`\$(MAKEDEP) -R \$(bindir) \$(libdir)\`"
7718 LDRPATH_LOCAL="-Wl,-rpath,@loader_path/\$(top_builddir)/libs/wine"
7719 COREFOUNDATION_LIBS="-framework CoreFoundation"
7721 IOKIT_LIBS="-framework IOKit -framework CoreFoundation"
7723 FORCEFEEDBACK_LIBS="-framework ForceFeedback -framework CoreFoundation"
7725 APPLICATIONSERVICES_LIBS="-framework ApplicationServices"
7727 CORESERVICES_LIBS="-framework CoreServices"
7729 APPKIT_LIBS="-framework AppKit"
7731 LDEXECFLAGS="-image_base 0x7bf00000 -Wl,-segaddr,WINE_DOS,0x00001000,-segaddr,WINE_SHAREDHEAP,0x7f000000,-sectcreate,__TEXT,__info_plist,wine_info.plist"
7732 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wl,-no_pie" >&5
7733 $as_echo_n "checking whether the compiler supports -Wl,-no_pie... " >&6; }
7734 if ${ac_cv_cflags__Wl__no_pie+:} false; then :
7735 $as_echo_n "(cached) " >&6
7736 else
7737 ac_wine_try_cflags_saved=$CFLAGS
7738 CFLAGS="$CFLAGS -Wl,-no_pie"
7739 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
7740 /* end confdefs.h. */
7741 int main(int argc, char **argv) { return 0; }
7742 _ACEOF
7743 if ac_fn_c_try_link "$LINENO"; then :
7744 ac_cv_cflags__Wl__no_pie=yes
7745 else
7746 ac_cv_cflags__Wl__no_pie=no
7748 rm -f core conftest.err conftest.$ac_objext \
7749 conftest$ac_exeext conftest.$ac_ext
7750 CFLAGS=$ac_wine_try_cflags_saved
7752 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wl__no_pie" >&5
7753 $as_echo "$ac_cv_cflags__Wl__no_pie" >&6; }
7754 if test "x$ac_cv_cflags__Wl__no_pie" = xyes; then :
7755 LDEXECFLAGS="-Wl,-no_pie $LDEXECFLAGS"
7757 if test "$ac_cv_header_DiskArbitration_DiskArbitration_h" = "yes"
7758 then
7759 DISKARBITRATION_LIBS="-framework DiskArbitration -framework CoreFoundation"
7762 if test "$ac_cv_header_Security_Security_h" = "yes"
7763 then
7764 SECURITY_LIBS="-framework Security -framework CoreFoundation"
7766 ac_save_LIBS="$LIBS"
7767 LIBS="$LIBS $SECURITY_LIBS"
7768 for ac_func in SSLCopyPeerCertificates
7769 do :
7770 ac_fn_c_check_func "$LINENO" "SSLCopyPeerCertificates" "ac_cv_func_SSLCopyPeerCertificates"
7771 if test "x$ac_cv_func_SSLCopyPeerCertificates" = xyes; then :
7772 cat >>confdefs.h <<_ACEOF
7773 #define HAVE_SSLCOPYPEERCERTIFICATES 1
7774 _ACEOF
7777 done
7779 LIBS="$ac_save_LIBS"
7780 with_gnutls=${with_gnutls:-no}
7782 if test "$ac_cv_header_CoreAudio_CoreAudio_h" = "yes" -a "$ac_cv_header_AudioUnit_AudioUnit_h" = "yes"
7783 then
7784 if test "$ac_cv_header_AudioUnit_AudioComponent_h" = "yes"
7785 then
7786 COREAUDIO_LIBS="-framework CoreFoundation -framework CoreAudio -framework AudioUnit -framework AudioToolbox -framework CoreMIDI"
7788 else
7789 COREAUDIO_LIBS="-framework CoreAudio -framework AudioUnit -framework CoreServices -framework AudioToolbox -framework CoreMIDI"
7792 ac_save_LIBS="$LIBS"
7793 LIBS="$LIBS $COREAUDIO_LIBS"
7794 for ac_func in AUGraphAddNode
7795 do :
7796 ac_fn_c_check_func "$LINENO" "AUGraphAddNode" "ac_cv_func_AUGraphAddNode"
7797 if test "x$ac_cv_func_AUGraphAddNode" = xyes; then :
7798 cat >>confdefs.h <<_ACEOF
7799 #define HAVE_AUGRAPHADDNODE 1
7800 _ACEOF
7803 done
7805 LIBS="$ac_save_LIBS"
7807 if test "$ac_cv_header_OpenAL_al_h" = "yes"
7808 then
7809 OPENAL_LIBS="-framework OpenAL"
7812 cat >>confdefs.h <<_ACEOF
7813 #define HAVE_OPENAL 1
7814 _ACEOF
7816 ac_cv_lib_openal=yes
7818 if test "$ac_cv_header_OpenCL_opencl_h" = "yes"
7819 then
7820 OPENCL_LIBS="-framework OpenCL"
7822 ac_cv_lib_OpenCL_clGetPlatformInfo=yes
7824 if test "$ac_cv_header_IOKit_hid_IOHIDLib_h" = "yes"
7825 then
7826 ac_save_LIBS="$LIBS"
7827 LIBS="$LIBS $IOKIT_LIBS"
7828 for ac_func in IOHIDManagerCreate
7829 do :
7830 ac_fn_c_check_func "$LINENO" "IOHIDManagerCreate" "ac_cv_func_IOHIDManagerCreate"
7831 if test "x$ac_cv_func_IOHIDManagerCreate" = xyes; then :
7832 cat >>confdefs.h <<_ACEOF
7833 #define HAVE_IOHIDMANAGERCREATE 1
7834 _ACEOF
7837 done
7839 LIBS="$ac_save_LIBS"
7841 if test "$ac_cv_header_QuickTime_ImageCompression_h" = "yes"
7842 then
7843 QUICKTIME_LIBS="-framework QuickTime -framework ApplicationServices -framework CoreVideo"
7845 enable_wineqtdecoder=${enable_wineqtdecoder:-yes}
7846 else
7847 as_fn_append wine_notices "|QuickTime ${notice_platform}development files not found, video decoding won't be supported."
7849 if test "$ac_cv_header_Carbon_Carbon_h" = "yes"
7850 then
7851 CARBON_LIBS="-framework Carbon"
7855 if test "$ac_cv_header_ApplicationServices_ApplicationServices_h" = "yes"
7856 then
7857 ac_save_LIBS="$LIBS"
7858 LIBS="$LIBS $APPLICATIONSERVICES_LIBS"
7859 ac_fn_c_check_func "$LINENO" "CGDisplayModeGetWidth" "ac_cv_func_CGDisplayModeGetWidth"
7860 if test "x$ac_cv_func_CGDisplayModeGetWidth" = xyes; then :
7861 enable_winemac_drv=${enable_winemac_drv:-yes}
7864 LIBS="$ac_save_LIBS"
7867 if test "x$enable_win16" = "xyes"
7868 then
7869 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether 16-bit code can be built correctly" >&5
7870 $as_echo_n "checking whether 16-bit code can be built correctly... " >&6; }
7871 if test "$cross_compiling" = yes; then :
7872 { $as_echo "$as_me:${as_lineno-$LINENO}: result: cross-compiling, assuming yes" >&5
7873 $as_echo "cross-compiling, assuming yes" >&6; }
7874 else
7875 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
7876 /* end confdefs.h. */
7877 asm(".text\n"
7878 "bad:\tnop;nop\n"
7879 "good:\tnop;nop\n\t"
7880 ".globl _testfunc\n"
7881 "_testfunc:\tcallw good");
7882 extern void testfunc();
7884 main ()
7886 unsigned short *p = (unsigned short *)testfunc;
7887 return p[0] != 0xe866 || p[1] != 0xfffa
7889 return 0;
7891 _ACEOF
7892 if ac_fn_c_try_run "$LINENO"; then :
7893 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
7894 $as_echo "yes" >&6; }
7895 else
7896 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7897 $as_echo "no" >&6; }
7898 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
7900 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \
7901 conftest.$ac_objext conftest.beam conftest.$ac_ext
7906 libwine_targets="libwine.dylib libwine.$libwine_soversion.dylib libwine.$libwine_version.dylib"
7907 LIBWINE_RULES="
7908 OBJS = \$(C_SRCS:.c=.o) \$(EXTRA_OBJS)
7910 all: libwine.dylib
7912 libwine.$libwine_version.dylib: \$(OBJS)
7913 \$(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 \$@
7915 libwine.$libwine_soversion.dylib: libwine.$libwine_version.dylib
7916 \$(RM) \$@ && \$(LN_S) libwine.$libwine_version.dylib \$@
7918 libwine.dylib: libwine.$libwine_soversion.dylib
7919 \$(RM) \$@ && \$(LN_S) libwine.$libwine_soversion.dylib \$@
7921 install install-lib:: libwine.$libwine_version.dylib
7922 \$(INSTALL_PROGRAM) libwine.$libwine_version.dylib \$(DESTDIR)\$(libdir)/libwine.$libwine_version.dylib
7923 cd \$(DESTDIR)\$(libdir) && \$(RM) libwine.$libwine_soversion.dylib && \$(LN_S) libwine.$libwine_version.dylib libwine.$libwine_soversion.dylib
7925 install install-dev::
7926 cd \$(DESTDIR)\$(libdir) && \$(RM) libwine.dylib && \$(LN_S) libwine.$libwine_version.dylib libwine.dylib
7928 uninstall::
7929 -cd \$(DESTDIR)\$(libdir) && \$(RM) libwine.dylib libwine.$libwine_soversion.dylib libwine.$libwine_version.dylib
7933 as_fn_append LOADER_RULES "
7934 $wine_binary: main.o wine_info.plist
7935 \$(CC) -o \$@ $LDEXECFLAGS main.o \$(LIBWINE) \$(LIBPORT) \$(EXTRALIBS) \$(LDFLAGS) \$(LDRPATH_LOCAL)
7937 wine-installed: main.o wine_info.plist
7938 \$(CC) -o \$@ $LDEXECFLAGS main.o \$(LIBWINE) \$(LIBPORT) \$(EXTRALIBS) \$(LDFLAGS) \$(LDRPATH_INSTALL)
7942 linux-android*)
7943 DLLFLAGS="$DLLFLAGS -fPIC"
7944 DLLPREFIX="lib"
7945 LDEXECFLAGS=""
7946 dlldir="\${libdir}"
7947 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -fPIC -Wl,--export-dynamic" >&5
7948 $as_echo_n "checking whether the compiler supports -fPIC -Wl,--export-dynamic... " >&6; }
7949 if ${ac_cv_cflags__fPIC__Wl___export_dynamic+:} false; then :
7950 $as_echo_n "(cached) " >&6
7951 else
7952 ac_wine_try_cflags_saved=$CFLAGS
7953 CFLAGS="$CFLAGS -fPIC -Wl,--export-dynamic"
7954 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
7955 /* end confdefs.h. */
7956 int main(int argc, char **argv) { return 0; }
7957 _ACEOF
7958 if ac_fn_c_try_link "$LINENO"; then :
7959 ac_cv_cflags__fPIC__Wl___export_dynamic=yes
7960 else
7961 ac_cv_cflags__fPIC__Wl___export_dynamic=no
7963 rm -f core conftest.err conftest.$ac_objext \
7964 conftest$ac_exeext conftest.$ac_ext
7965 CFLAGS=$ac_wine_try_cflags_saved
7967 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__fPIC__Wl___export_dynamic" >&5
7968 $as_echo "$ac_cv_cflags__fPIC__Wl___export_dynamic" >&6; }
7969 if test "x$ac_cv_cflags__fPIC__Wl___export_dynamic" = xyes; then :
7970 LDEXECFLAGS="-Wl,--export-dynamic"
7972 as_ac_var=`$as_echo "ac_cv_cflags_-fPIC -Wl,--rpath,\\$ORIGIN/../lib" | $as_tr_sh`
7973 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -fPIC -Wl,--rpath,\$ORIGIN/../lib" >&5
7974 $as_echo_n "checking whether the compiler supports -fPIC -Wl,--rpath,\$ORIGIN/../lib... " >&6; }
7975 if eval \${$as_ac_var+:} false; then :
7976 $as_echo_n "(cached) " >&6
7977 else
7978 ac_wine_try_cflags_saved=$CFLAGS
7979 CFLAGS="$CFLAGS -fPIC -Wl,--rpath,\$ORIGIN/../lib"
7980 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
7981 /* end confdefs.h. */
7982 int main(int argc, char **argv) { return 0; }
7983 _ACEOF
7984 if ac_fn_c_try_link "$LINENO"; then :
7985 eval "$as_ac_var=yes"
7986 else
7987 eval "$as_ac_var=no"
7989 rm -f core conftest.err conftest.$ac_objext \
7990 conftest$ac_exeext conftest.$ac_ext
7991 CFLAGS=$ac_wine_try_cflags_saved
7993 eval ac_res=\$$as_ac_var
7994 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
7995 $as_echo "$ac_res" >&6; }
7996 if eval test \"x\$"$as_ac_var"\" = x"yes"; then :
7997 LDRPATH_INSTALL="-Wl,--rpath,\\\$\$ORIGIN/\`\$(MAKEDEP) -R \$(bindir) \$(libdir)\`"
7998 LDRPATH_LOCAL="-Wl,--rpath,\\\$\$ORIGIN/\$(top_builddir)/libs/wine"
7999 else
8000 as_ac_var=`$as_echo "ac_cv_cflags_-fPIC -Wl,-R,\\$ORIGIN/../lib" | $as_tr_sh`
8001 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -fPIC -Wl,-R,\$ORIGIN/../lib" >&5
8002 $as_echo_n "checking whether the compiler supports -fPIC -Wl,-R,\$ORIGIN/../lib... " >&6; }
8003 if eval \${$as_ac_var+:} false; then :
8004 $as_echo_n "(cached) " >&6
8005 else
8006 ac_wine_try_cflags_saved=$CFLAGS
8007 CFLAGS="$CFLAGS -fPIC -Wl,-R,\$ORIGIN/../lib"
8008 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
8009 /* end confdefs.h. */
8010 int main(int argc, char **argv) { return 0; }
8011 _ACEOF
8012 if ac_fn_c_try_link "$LINENO"; then :
8013 eval "$as_ac_var=yes"
8014 else
8015 eval "$as_ac_var=no"
8017 rm -f core conftest.err conftest.$ac_objext \
8018 conftest$ac_exeext conftest.$ac_ext
8019 CFLAGS=$ac_wine_try_cflags_saved
8021 eval ac_res=\$$as_ac_var
8022 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
8023 $as_echo "$ac_res" >&6; }
8024 if eval test \"x\$"$as_ac_var"\" = x"yes"; then :
8025 LDRPATH_INSTALL="-Wl,-R,\\\$\$ORIGIN/\`\$(MAKEDEP) -R \$(bindir) \$(libdir)\`"
8026 LDRPATH_LOCAL="-Wl,-R,\\\$\$ORIGIN/\$(top_builddir)/libs/wine"
8030 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wl,--enable-new-dtags" >&5
8031 $as_echo_n "checking whether the compiler supports -Wl,--enable-new-dtags... " >&6; }
8032 if ${ac_cv_cflags__Wl___enable_new_dtags+:} false; then :
8033 $as_echo_n "(cached) " >&6
8034 else
8035 ac_wine_try_cflags_saved=$CFLAGS
8036 CFLAGS="$CFLAGS -Wl,--enable-new-dtags"
8037 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
8038 /* end confdefs.h. */
8039 int main(int argc, char **argv) { return 0; }
8040 _ACEOF
8041 if ac_fn_c_try_link "$LINENO"; then :
8042 ac_cv_cflags__Wl___enable_new_dtags=yes
8043 else
8044 ac_cv_cflags__Wl___enable_new_dtags=no
8046 rm -f core conftest.err conftest.$ac_objext \
8047 conftest$ac_exeext conftest.$ac_ext
8048 CFLAGS=$ac_wine_try_cflags_saved
8050 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wl___enable_new_dtags" >&5
8051 $as_echo "$ac_cv_cflags__Wl___enable_new_dtags" >&6; }
8052 if test "x$ac_cv_cflags__Wl___enable_new_dtags" = xyes; then :
8053 LDRPATH_INSTALL="$LDRPATH_INSTALL -Wl,--enable-new-dtags"
8056 case $host_cpu in
8057 *i[3456789]86* | x86_64)
8058 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wl,--section-start,.interp=0x7bf00400" >&5
8059 $as_echo_n "checking whether the compiler supports -Wl,--section-start,.interp=0x7bf00400... " >&6; }
8060 if ${ac_cv_cflags__Wl___section_start__interp_0x7bf00400+:} false; then :
8061 $as_echo_n "(cached) " >&6
8062 else
8063 ac_wine_try_cflags_saved=$CFLAGS
8064 CFLAGS="$CFLAGS -Wl,--section-start,.interp=0x7bf00400"
8065 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
8066 /* end confdefs.h. */
8067 int main(int argc, char **argv) { return 0; }
8068 _ACEOF
8069 if ac_fn_c_try_link "$LINENO"; then :
8070 ac_cv_cflags__Wl___section_start__interp_0x7bf00400=yes
8071 else
8072 ac_cv_cflags__Wl___section_start__interp_0x7bf00400=no
8074 rm -f core conftest.err conftest.$ac_objext \
8075 conftest$ac_exeext conftest.$ac_ext
8076 CFLAGS=$ac_wine_try_cflags_saved
8078 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wl___section_start__interp_0x7bf00400" >&5
8079 $as_echo "$ac_cv_cflags__Wl___section_start__interp_0x7bf00400" >&6; }
8080 if test "x$ac_cv_cflags__Wl___section_start__interp_0x7bf00400" = xyes; then :
8081 LDEXECFLAGS="$LDEXECFLAGS -Wl,--section-start,.interp=0x7bf00400"
8084 esac
8086 libwine_targets="libwine.so"
8087 LIBWINE_RULES="
8088 OBJS = \$(C_SRCS:.c=.o) \$(EXTRA_OBJS)
8090 all: libwine.so
8092 libwine.so: \$(OBJS)
8093 \$(CC) -shared \$(OBJS) \$(EXTRALIBS) \$(LDFLAGS) \$(LIBS) -o \$@
8095 install install-lib:: libwine.so
8096 \$(INSTALL_PROGRAM) libwine.so \$(DESTDIR)\$(libdir)/libwine.so
8098 uninstall::
8099 \$(RM) \$(DESTDIR)\$(libdir)/libwine.so
8103 as_fn_append LOADER_RULES "
8104 $wine_binary: main.o
8105 \$(CC) -o \$@ $LDEXECFLAGS main.o \$(LIBWINE) \$(LIBPORT) \$(EXTRALIBS) \$(LDFLAGS) \$(LDRPATH_LOCAL)
8107 wine-installed: main.o
8108 \$(CC) -o \$@ $LDEXECFLAGS main.o \$(LIBWINE) \$(LIBPORT) \$(EXTRALIBS) \$(LDFLAGS) \$(LDRPATH_INSTALL)
8113 DLLFLAGS="$DLLFLAGS -fPIC"
8114 LDEXECFLAGS=""
8115 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we can build a GNU style ELF dll" >&5
8116 $as_echo_n "checking whether we can build a GNU style ELF dll... " >&6; }
8117 if ${ac_cv_c_dll_gnuelf+:} false; then :
8118 $as_echo_n "(cached) " >&6
8119 else
8120 ac_wine_try_cflags_saved=$CFLAGS
8121 CFLAGS="$CFLAGS -fPIC -shared -Wl,-Bsymbolic"
8122 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
8123 /* end confdefs.h. */
8124 void myfunc() {}
8125 _ACEOF
8126 if ac_fn_c_try_link "$LINENO"; then :
8127 ac_cv_c_dll_gnuelf="yes"
8128 else
8129 ac_cv_c_dll_gnuelf="no"
8131 rm -f core conftest.err conftest.$ac_objext \
8132 conftest$ac_exeext conftest.$ac_ext
8133 CFLAGS=$ac_wine_try_cflags_saved
8135 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_dll_gnuelf" >&5
8136 $as_echo "$ac_cv_c_dll_gnuelf" >&6; }
8137 if test "$ac_cv_c_dll_gnuelf" = "yes"
8138 then
8139 LDSHARED="\$(CC) -shared"
8140 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -fPIC -shared -Wl,-soname,confest.so.1" >&5
8141 $as_echo_n "checking whether the compiler supports -fPIC -shared -Wl,-soname,confest.so.1... " >&6; }
8142 if ${ac_cv_cflags__fPIC__shared__Wl__soname_confest_so_1+:} false; then :
8143 $as_echo_n "(cached) " >&6
8144 else
8145 ac_wine_try_cflags_saved=$CFLAGS
8146 CFLAGS="$CFLAGS -fPIC -shared -Wl,-soname,confest.so.1"
8147 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
8148 /* end confdefs.h. */
8149 int main(int argc, char **argv) { return 0; }
8150 _ACEOF
8151 if ac_fn_c_try_link "$LINENO"; then :
8152 ac_cv_cflags__fPIC__shared__Wl__soname_confest_so_1=yes
8153 else
8154 ac_cv_cflags__fPIC__shared__Wl__soname_confest_so_1=no
8156 rm -f core conftest.err conftest.$ac_objext \
8157 conftest$ac_exeext conftest.$ac_ext
8158 CFLAGS=$ac_wine_try_cflags_saved
8160 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__fPIC__shared__Wl__soname_confest_so_1" >&5
8161 $as_echo "$ac_cv_cflags__fPIC__shared__Wl__soname_confest_so_1" >&6; }
8162 if test "x$ac_cv_cflags__fPIC__shared__Wl__soname_confest_so_1" = xyes; then :
8163 LDSHARED="\$(CC) -shared -Wl,-soname,libwine.so.$libwine_soversion"
8164 else
8165 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -fPIC -shared -Wl,-h,confest.so.1" >&5
8166 $as_echo_n "checking whether the compiler supports -fPIC -shared -Wl,-h,confest.so.1... " >&6; }
8167 if ${ac_cv_cflags__fPIC__shared__Wl__h_confest_so_1+:} false; then :
8168 $as_echo_n "(cached) " >&6
8169 else
8170 ac_wine_try_cflags_saved=$CFLAGS
8171 CFLAGS="$CFLAGS -fPIC -shared -Wl,-h,confest.so.1"
8172 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
8173 /* end confdefs.h. */
8174 int main(int argc, char **argv) { return 0; }
8175 _ACEOF
8176 if ac_fn_c_try_link "$LINENO"; then :
8177 ac_cv_cflags__fPIC__shared__Wl__h_confest_so_1=yes
8178 else
8179 ac_cv_cflags__fPIC__shared__Wl__h_confest_so_1=no
8181 rm -f core conftest.err conftest.$ac_objext \
8182 conftest$ac_exeext conftest.$ac_ext
8183 CFLAGS=$ac_wine_try_cflags_saved
8185 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__fPIC__shared__Wl__h_confest_so_1" >&5
8186 $as_echo "$ac_cv_cflags__fPIC__shared__Wl__h_confest_so_1" >&6; }
8187 if test "x$ac_cv_cflags__fPIC__shared__Wl__h_confest_so_1" = xyes; then :
8188 LDSHARED="\$(CC) -shared -Wl,-h,libwine.so.$libwine_soversion"
8192 echo '{ global: *; };' >conftest.map
8193 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -fPIC -shared -Wl,--version-script=conftest.map" >&5
8194 $as_echo_n "checking whether the compiler supports -fPIC -shared -Wl,--version-script=conftest.map... " >&6; }
8195 if ${ac_cv_cflags__fPIC__shared__Wl___version_script_conftest_map+:} false; then :
8196 $as_echo_n "(cached) " >&6
8197 else
8198 ac_wine_try_cflags_saved=$CFLAGS
8199 CFLAGS="$CFLAGS -fPIC -shared -Wl,--version-script=conftest.map"
8200 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
8201 /* end confdefs.h. */
8202 int main(int argc, char **argv) { return 0; }
8203 _ACEOF
8204 if ac_fn_c_try_link "$LINENO"; then :
8205 ac_cv_cflags__fPIC__shared__Wl___version_script_conftest_map=yes
8206 else
8207 ac_cv_cflags__fPIC__shared__Wl___version_script_conftest_map=no
8209 rm -f core conftest.err conftest.$ac_objext \
8210 conftest$ac_exeext conftest.$ac_ext
8211 CFLAGS=$ac_wine_try_cflags_saved
8213 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__fPIC__shared__Wl___version_script_conftest_map" >&5
8214 $as_echo "$ac_cv_cflags__fPIC__shared__Wl___version_script_conftest_map" >&6; }
8215 if test "x$ac_cv_cflags__fPIC__shared__Wl___version_script_conftest_map" = xyes; then :
8216 LDSHARED="$LDSHARED -Wl,--version-script=\$(srcdir)/wine.map"
8218 rm -f conftest.map
8220 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -fPIC -Wl,--export-dynamic" >&5
8221 $as_echo_n "checking whether the compiler supports -fPIC -Wl,--export-dynamic... " >&6; }
8222 if ${ac_cv_cflags__fPIC__Wl___export_dynamic+:} false; then :
8223 $as_echo_n "(cached) " >&6
8224 else
8225 ac_wine_try_cflags_saved=$CFLAGS
8226 CFLAGS="$CFLAGS -fPIC -Wl,--export-dynamic"
8227 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
8228 /* end confdefs.h. */
8229 int main(int argc, char **argv) { return 0; }
8230 _ACEOF
8231 if ac_fn_c_try_link "$LINENO"; then :
8232 ac_cv_cflags__fPIC__Wl___export_dynamic=yes
8233 else
8234 ac_cv_cflags__fPIC__Wl___export_dynamic=no
8236 rm -f core conftest.err conftest.$ac_objext \
8237 conftest$ac_exeext conftest.$ac_ext
8238 CFLAGS=$ac_wine_try_cflags_saved
8240 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__fPIC__Wl___export_dynamic" >&5
8241 $as_echo "$ac_cv_cflags__fPIC__Wl___export_dynamic" >&6; }
8242 if test "x$ac_cv_cflags__fPIC__Wl___export_dynamic" = xyes; then :
8243 LDEXECFLAGS="-Wl,--export-dynamic"
8246 as_ac_var=`$as_echo "ac_cv_cflags_-fPIC -Wl,--rpath,\\$ORIGIN/../lib" | $as_tr_sh`
8247 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -fPIC -Wl,--rpath,\$ORIGIN/../lib" >&5
8248 $as_echo_n "checking whether the compiler supports -fPIC -Wl,--rpath,\$ORIGIN/../lib... " >&6; }
8249 if eval \${$as_ac_var+:} false; then :
8250 $as_echo_n "(cached) " >&6
8251 else
8252 ac_wine_try_cflags_saved=$CFLAGS
8253 CFLAGS="$CFLAGS -fPIC -Wl,--rpath,\$ORIGIN/../lib"
8254 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
8255 /* end confdefs.h. */
8256 int main(int argc, char **argv) { return 0; }
8257 _ACEOF
8258 if ac_fn_c_try_link "$LINENO"; then :
8259 eval "$as_ac_var=yes"
8260 else
8261 eval "$as_ac_var=no"
8263 rm -f core conftest.err conftest.$ac_objext \
8264 conftest$ac_exeext conftest.$ac_ext
8265 CFLAGS=$ac_wine_try_cflags_saved
8267 eval ac_res=\$$as_ac_var
8268 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
8269 $as_echo "$ac_res" >&6; }
8270 if eval test \"x\$"$as_ac_var"\" = x"yes"; then :
8271 LDRPATH_INSTALL="-Wl,--rpath,\\\$\$ORIGIN/\`\$(MAKEDEP) -R \$(bindir) \$(libdir)\`"
8272 LDRPATH_LOCAL="-Wl,--rpath,\\\$\$ORIGIN/\$(top_builddir)/libs/wine"
8273 else
8274 as_ac_var=`$as_echo "ac_cv_cflags_-fPIC -Wl,-R,\\$ORIGIN/../lib" | $as_tr_sh`
8275 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -fPIC -Wl,-R,\$ORIGIN/../lib" >&5
8276 $as_echo_n "checking whether the compiler supports -fPIC -Wl,-R,\$ORIGIN/../lib... " >&6; }
8277 if eval \${$as_ac_var+:} false; then :
8278 $as_echo_n "(cached) " >&6
8279 else
8280 ac_wine_try_cflags_saved=$CFLAGS
8281 CFLAGS="$CFLAGS -fPIC -Wl,-R,\$ORIGIN/../lib"
8282 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
8283 /* end confdefs.h. */
8284 int main(int argc, char **argv) { return 0; }
8285 _ACEOF
8286 if ac_fn_c_try_link "$LINENO"; then :
8287 eval "$as_ac_var=yes"
8288 else
8289 eval "$as_ac_var=no"
8291 rm -f core conftest.err conftest.$ac_objext \
8292 conftest$ac_exeext conftest.$ac_ext
8293 CFLAGS=$ac_wine_try_cflags_saved
8295 eval ac_res=\$$as_ac_var
8296 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
8297 $as_echo "$ac_res" >&6; }
8298 if eval test \"x\$"$as_ac_var"\" = x"yes"; then :
8299 LDRPATH_INSTALL="-Wl,-R,\\\$\$ORIGIN/\`\$(MAKEDEP) -R \$(bindir) \$(libdir)\`"
8300 LDRPATH_LOCAL="-Wl,-R,\\\$\$ORIGIN/\$(top_builddir)/libs/wine"
8304 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wl,--enable-new-dtags" >&5
8305 $as_echo_n "checking whether the compiler supports -Wl,--enable-new-dtags... " >&6; }
8306 if ${ac_cv_cflags__Wl___enable_new_dtags+:} false; then :
8307 $as_echo_n "(cached) " >&6
8308 else
8309 ac_wine_try_cflags_saved=$CFLAGS
8310 CFLAGS="$CFLAGS -Wl,--enable-new-dtags"
8311 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
8312 /* end confdefs.h. */
8313 int main(int argc, char **argv) { return 0; }
8314 _ACEOF
8315 if ac_fn_c_try_link "$LINENO"; then :
8316 ac_cv_cflags__Wl___enable_new_dtags=yes
8317 else
8318 ac_cv_cflags__Wl___enable_new_dtags=no
8320 rm -f core conftest.err conftest.$ac_objext \
8321 conftest$ac_exeext conftest.$ac_ext
8322 CFLAGS=$ac_wine_try_cflags_saved
8324 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wl___enable_new_dtags" >&5
8325 $as_echo "$ac_cv_cflags__Wl___enable_new_dtags" >&6; }
8326 if test "x$ac_cv_cflags__Wl___enable_new_dtags" = xyes; then :
8327 LDRPATH_INSTALL="$LDRPATH_INSTALL -Wl,--enable-new-dtags"
8330 case $host_cpu in
8331 *i[3456789]86* | x86_64)
8332 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wl,--section-start,.interp=0x7bf00400" >&5
8333 $as_echo_n "checking whether the compiler supports -Wl,--section-start,.interp=0x7bf00400... " >&6; }
8334 if ${ac_cv_cflags__Wl___section_start__interp_0x7bf00400+:} false; then :
8335 $as_echo_n "(cached) " >&6
8336 else
8337 ac_wine_try_cflags_saved=$CFLAGS
8338 CFLAGS="$CFLAGS -Wl,--section-start,.interp=0x7bf00400"
8339 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
8340 /* end confdefs.h. */
8341 int main(int argc, char **argv) { return 0; }
8342 _ACEOF
8343 if ac_fn_c_try_link "$LINENO"; then :
8344 ac_cv_cflags__Wl___section_start__interp_0x7bf00400=yes
8345 else
8346 ac_cv_cflags__Wl___section_start__interp_0x7bf00400=no
8348 rm -f core conftest.err conftest.$ac_objext \
8349 conftest$ac_exeext conftest.$ac_ext
8350 CFLAGS=$ac_wine_try_cflags_saved
8352 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wl___section_start__interp_0x7bf00400" >&5
8353 $as_echo "$ac_cv_cflags__Wl___section_start__interp_0x7bf00400" >&6; }
8354 if test "x$ac_cv_cflags__Wl___section_start__interp_0x7bf00400" = xyes; then :
8355 case $host_os in
8356 freebsd* | kfreebsd*-gnu) LDEXECFLAGS="$LDEXECFLAGS -Wl,--section-start,.interp=0x60000400" ;;
8357 *) LDEXECFLAGS="$LDEXECFLAGS -Wl,--section-start,.interp=0x7bf00400" ;;
8358 esac
8361 # Extract the first word of "prelink", so it can be a program name with args.
8362 set dummy prelink; ac_word=$2
8363 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
8364 $as_echo_n "checking for $ac_word... " >&6; }
8365 if ${ac_cv_path_PRELINK+:} false; then :
8366 $as_echo_n "(cached) " >&6
8367 else
8368 case $PRELINK in
8369 [\\/]* | ?:[\\/]*)
8370 ac_cv_path_PRELINK="$PRELINK" # Let the user override the test with a path.
8373 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
8374 for as_dir in /sbin /usr/sbin $PATH
8376 IFS=$as_save_IFS
8377 test -z "$as_dir" && as_dir=.
8378 for ac_exec_ext in '' $ac_executable_extensions; do
8379 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
8380 ac_cv_path_PRELINK="$as_dir/$ac_word$ac_exec_ext"
8381 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
8382 break 2
8384 done
8385 done
8386 IFS=$as_save_IFS
8388 test -z "$ac_cv_path_PRELINK" && ac_cv_path_PRELINK="false"
8390 esac
8392 PRELINK=$ac_cv_path_PRELINK
8393 if test -n "$PRELINK"; then
8394 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $PRELINK" >&5
8395 $as_echo "$PRELINK" >&6; }
8396 else
8397 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
8398 $as_echo "no" >&6; }
8402 if test "x$PRELINK" = xfalse
8403 then
8404 as_fn_append wine_warnings "|prelink not found, base address of core dlls won't be set correctly."
8407 esac
8409 else
8410 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we can build a UnixWare (Solaris) dll" >&5
8411 $as_echo_n "checking whether we can build a UnixWare (Solaris) dll... " >&6; }
8412 if ${ac_cv_c_dll_unixware+:} false; then :
8413 $as_echo_n "(cached) " >&6
8414 else
8415 ac_wine_try_cflags_saved=$CFLAGS
8416 CFLAGS="$CFLAGS -fPIC -Wl,-G,-h,conftest.so.1.0,-B,symbolic"
8417 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
8418 /* end confdefs.h. */
8419 void myfunc() {}
8420 _ACEOF
8421 if ac_fn_c_try_link "$LINENO"; then :
8422 ac_cv_c_dll_unixware="yes"
8423 else
8424 ac_cv_c_dll_unixware="no"
8426 rm -f core conftest.err conftest.$ac_objext \
8427 conftest$ac_exeext conftest.$ac_ext
8428 CFLAGS=$ac_wine_try_cflags_saved
8430 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_dll_unixware" >&5
8431 $as_echo "$ac_cv_c_dll_unixware" >&6; }
8432 if test "$ac_cv_c_dll_unixware" = "yes"
8433 then
8434 LDSHARED="\$(CC) -Wl,-G,-h,libwine.so.$libwine_soversion"
8437 libwine_targets="libwine.so libwine.so.$libwine_soversion libwine.so.$libwine_version"
8438 LIBWINE_RULES="
8439 OBJS = \$(C_SRCS:.c=.o) \$(EXTRA_OBJS)
8441 all: libwine.so
8443 libwine.so.$libwine_version: \$(OBJS) \$(srcdir)/wine.map
8444 $LDSHARED \$(OBJS) \$(EXTRALIBS) \$(LDFLAGS) \$(LIBS) -o \$@
8446 libwine.so.$libwine_soversion: libwine.so.$libwine_version
8447 \$(RM) \$@ && \$(LN_S) libwine.so.$libwine_version \$@
8449 libwine.so: libwine.so.$libwine_soversion
8450 \$(RM) \$@ && \$(LN_S) libwine.so.$libwine_soversion \$@
8452 install install-lib:: libwine.so.$libwine_version
8453 \$(INSTALL_PROGRAM) libwine.so.$libwine_version \$(DESTDIR)\$(libdir)/libwine.so.$libwine_version
8454 cd \$(DESTDIR)\$(libdir) && \$(RM) libwine.so.$libwine_soversion && \$(LN_S) libwine.so.$libwine_version libwine.so.$libwine_soversion
8456 install install-dev::
8457 cd \$(DESTDIR)\$(libdir) && \$(RM) libwine.so && \$(LN_S) libwine.so.$libwine_version libwine.so
8459 uninstall::
8460 -cd \$(DESTDIR)\$(libdir) && \$(RM) libwine.so libwine.so.$libwine_soversion libwine.so.$libwine_version
8464 as_fn_append LOADER_RULES "
8465 $wine_binary: main.o
8466 \$(CC) -o \$@ $LDEXECFLAGS main.o \$(LIBWINE) \$(LIBPORT) \$(EXTRALIBS) \$(LDFLAGS) \$(LDRPATH_LOCAL)
8468 wine-installed: main.o
8469 \$(CC) -o \$@ $LDEXECFLAGS main.o \$(LIBWINE) \$(LIBPORT) \$(EXTRALIBS) \$(LDFLAGS) \$(LDRPATH_INSTALL)
8472 esac
8474 as_fn_append LIBWINE_RULES "
8475 EXTRA_TARGETS = $libwine_targets
8478 enable_wineqtdecoder=${enable_wineqtdecoder:-no}
8479 enable_winemac_drv=${enable_winemac_drv:-no}
8481 CROSSTARGET=""
8483 if test "$cross_compiling" = "no" -a "x$enable_tests" != xno -a "$LIBEXT" != "dll"
8484 then
8485 case "$host_cpu" in
8486 i[3456789]86*)
8487 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
8488 mingw32-gcc" ;;
8489 x86_64)
8490 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 " ;;
8492 ac_prefix_list="" ;;
8493 esac
8494 for ac_prog in $ac_prefix_list
8496 # Extract the first word of "$ac_prog", so it can be a program name with args.
8497 set dummy $ac_prog; ac_word=$2
8498 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
8499 $as_echo_n "checking for $ac_word... " >&6; }
8500 if ${ac_cv_prog_CROSSCC+:} false; then :
8501 $as_echo_n "(cached) " >&6
8502 else
8503 if test -n "$CROSSCC"; then
8504 ac_cv_prog_CROSSCC="$CROSSCC" # Let the user override the test.
8505 else
8506 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
8507 for as_dir in $PATH
8509 IFS=$as_save_IFS
8510 test -z "$as_dir" && as_dir=.
8511 for ac_exec_ext in '' $ac_executable_extensions; do
8512 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
8513 ac_cv_prog_CROSSCC="$ac_prog"
8514 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
8515 break 2
8517 done
8518 done
8519 IFS=$as_save_IFS
8523 CROSSCC=$ac_cv_prog_CROSSCC
8524 if test -n "$CROSSCC"; then
8525 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CROSSCC" >&5
8526 $as_echo "$CROSSCC" >&6; }
8527 else
8528 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
8529 $as_echo "no" >&6; }
8533 test -n "$CROSSCC" && break
8534 done
8535 test -n "$CROSSCC" || CROSSCC="false"
8537 if test "$CROSSCC" != "false"
8538 then
8539 ac_save_CC="$CC"
8540 CC="$CROSSCC"
8541 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CROSSCC works" >&5
8542 $as_echo_n "checking whether $CROSSCC works... " >&6; }
8543 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
8544 /* end confdefs.h. */
8547 main ()
8551 return 0;
8553 _ACEOF
8554 if ac_fn_c_try_compile "$LINENO"; then :
8555 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
8556 $as_echo "yes" >&6; }
8557 set x $CROSSCC
8558 shift
8559 while test $# -ge 1
8561 case "$1" in
8562 *-gcc) CROSSTARGET=`expr "$1" : '\(.*\)-gcc'` ;;
8563 esac
8564 shift
8565 done
8566 else
8567 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
8568 $as_echo "no" >&6; }
8570 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
8571 CC="$ac_save_CC"
8576 if test "$ac_cv_header_pthread_h" = "yes"
8577 then
8578 ac_fn_c_check_func "$LINENO" "pthread_create" "ac_cv_func_pthread_create"
8579 if test "x$ac_cv_func_pthread_create" = xyes; then :
8581 else
8582 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for pthread_create in -lpthread" >&5
8583 $as_echo_n "checking for pthread_create in -lpthread... " >&6; }
8584 if ${ac_cv_lib_pthread_pthread_create+:} false; then :
8585 $as_echo_n "(cached) " >&6
8586 else
8587 ac_check_lib_save_LIBS=$LIBS
8588 LIBS="-lpthread $LIBS"
8589 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
8590 /* end confdefs.h. */
8592 /* Override any GCC internal prototype to avoid an error.
8593 Use char because int might match the return type of a GCC
8594 builtin and then its argument prototype would still apply. */
8595 #ifdef __cplusplus
8596 extern "C"
8597 #endif
8598 char pthread_create ();
8600 main ()
8602 return pthread_create ();
8604 return 0;
8606 _ACEOF
8607 if ac_fn_c_try_link "$LINENO"; then :
8608 ac_cv_lib_pthread_pthread_create=yes
8609 else
8610 ac_cv_lib_pthread_pthread_create=no
8612 rm -f core conftest.err conftest.$ac_objext \
8613 conftest$ac_exeext conftest.$ac_ext
8614 LIBS=$ac_check_lib_save_LIBS
8616 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_pthread_pthread_create" >&5
8617 $as_echo "$ac_cv_lib_pthread_pthread_create" >&6; }
8618 if test "x$ac_cv_lib_pthread_pthread_create" = xyes; then :
8619 PTHREAD_LIBS="-lpthread"
8626 if test "x$ac_cv_func_pthread_create" != xyes -a "x$PTHREAD_LIBS" = x; then :
8627 case "x$with_pthread" in
8628 xno) ;;
8629 *) as_fn_error $? "pthread ${notice_platform}development files not found.
8630 Wine cannot support threads without libpthread.
8631 Use the --without-pthread option if you really want this." "$LINENO" 5 ;;
8632 esac
8636 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for X" >&5
8637 $as_echo_n "checking for X... " >&6; }
8640 # Check whether --with-x was given.
8641 if test "${with_x+set}" = set; then :
8642 withval=$with_x;
8645 # $have_x is `yes', `no', `disabled', or empty when we do not yet know.
8646 if test "x$with_x" = xno; then
8647 # The user explicitly disabled X.
8648 have_x=disabled
8649 else
8650 case $x_includes,$x_libraries in #(
8651 *\'*) as_fn_error $? "cannot use X directory names containing '" "$LINENO" 5;; #(
8652 *,NONE | NONE,*) if ${ac_cv_have_x+:} false; then :
8653 $as_echo_n "(cached) " >&6
8654 else
8655 # One or both of the vars are not set, and there is no cached value.
8656 ac_x_includes=no ac_x_libraries=no
8657 rm -f -r conftest.dir
8658 if mkdir conftest.dir; then
8659 cd conftest.dir
8660 cat >Imakefile <<'_ACEOF'
8661 incroot:
8662 @echo incroot='${INCROOT}'
8663 usrlibdir:
8664 @echo usrlibdir='${USRLIBDIR}'
8665 libdir:
8666 @echo libdir='${LIBDIR}'
8667 _ACEOF
8668 if (export CC; ${XMKMF-xmkmf}) >/dev/null 2>/dev/null && test -f Makefile; then
8669 # GNU make sometimes prints "make[1]: Entering ...", which would confuse us.
8670 for ac_var in incroot usrlibdir libdir; do
8671 eval "ac_im_$ac_var=\`\${MAKE-make} $ac_var 2>/dev/null | sed -n 's/^$ac_var=//p'\`"
8672 done
8673 # Open Windows xmkmf reportedly sets LIBDIR instead of USRLIBDIR.
8674 for ac_extension in a so sl dylib la dll; do
8675 if test ! -f "$ac_im_usrlibdir/libX11.$ac_extension" &&
8676 test -f "$ac_im_libdir/libX11.$ac_extension"; then
8677 ac_im_usrlibdir=$ac_im_libdir; break
8679 done
8680 # Screen out bogus values from the imake configuration. They are
8681 # bogus both because they are the default anyway, and because
8682 # using them would break gcc on systems where it needs fixed includes.
8683 case $ac_im_incroot in
8684 /usr/include) ac_x_includes= ;;
8685 *) test -f "$ac_im_incroot/X11/Xos.h" && ac_x_includes=$ac_im_incroot;;
8686 esac
8687 case $ac_im_usrlibdir in
8688 /usr/lib | /usr/lib64 | /lib | /lib64) ;;
8689 *) test -d "$ac_im_usrlibdir" && ac_x_libraries=$ac_im_usrlibdir ;;
8690 esac
8692 cd ..
8693 rm -f -r conftest.dir
8696 # Standard set of common directories for X headers.
8697 # Check X11 before X11Rn because it is often a symlink to the current release.
8698 ac_x_header_dirs='
8699 /usr/X11/include
8700 /usr/X11R7/include
8701 /usr/X11R6/include
8702 /usr/X11R5/include
8703 /usr/X11R4/include
8705 /usr/include/X11
8706 /usr/include/X11R7
8707 /usr/include/X11R6
8708 /usr/include/X11R5
8709 /usr/include/X11R4
8711 /usr/local/X11/include
8712 /usr/local/X11R7/include
8713 /usr/local/X11R6/include
8714 /usr/local/X11R5/include
8715 /usr/local/X11R4/include
8717 /usr/local/include/X11
8718 /usr/local/include/X11R7
8719 /usr/local/include/X11R6
8720 /usr/local/include/X11R5
8721 /usr/local/include/X11R4
8723 /usr/X386/include
8724 /usr/x386/include
8725 /usr/XFree86/include/X11
8727 /usr/include
8728 /usr/local/include
8729 /usr/unsupported/include
8730 /usr/athena/include
8731 /usr/local/x11r5/include
8732 /usr/lpp/Xamples/include
8734 /usr/openwin/include
8735 /usr/openwin/share/include'
8737 if test "$ac_x_includes" = no; then
8738 # Guess where to find include files, by looking for Xlib.h.
8739 # First, try using that file with no special directory specified.
8740 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
8741 /* end confdefs.h. */
8742 #include <X11/Xlib.h>
8743 _ACEOF
8744 if ac_fn_c_try_cpp "$LINENO"; then :
8745 # We can compile using X headers with no special include directory.
8746 ac_x_includes=
8747 else
8748 for ac_dir in $ac_x_header_dirs; do
8749 if test -r "$ac_dir/X11/Xlib.h"; then
8750 ac_x_includes=$ac_dir
8751 break
8753 done
8755 rm -f conftest.err conftest.i conftest.$ac_ext
8756 fi # $ac_x_includes = no
8758 if test "$ac_x_libraries" = no; then
8759 # Check for the libraries.
8760 # See if we find them without any special options.
8761 # Don't add to $LIBS permanently.
8762 ac_save_LIBS=$LIBS
8763 LIBS="-lX11 $LIBS"
8764 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
8765 /* end confdefs.h. */
8766 #include <X11/Xlib.h>
8768 main ()
8770 XrmInitialize ()
8772 return 0;
8774 _ACEOF
8775 if ac_fn_c_try_link "$LINENO"; then :
8776 LIBS=$ac_save_LIBS
8777 # We can link X programs with no special library path.
8778 ac_x_libraries=
8779 else
8780 LIBS=$ac_save_LIBS
8781 for ac_dir in `$as_echo "$ac_x_includes $ac_x_header_dirs" | sed s/include/lib/g`
8783 # Don't even attempt the hair of trying to link an X program!
8784 for ac_extension in a so sl dylib la dll; do
8785 if test -r "$ac_dir/libX11.$ac_extension"; then
8786 ac_x_libraries=$ac_dir
8787 break 2
8789 done
8790 done
8792 rm -f core conftest.err conftest.$ac_objext \
8793 conftest$ac_exeext conftest.$ac_ext
8794 fi # $ac_x_libraries = no
8796 case $ac_x_includes,$ac_x_libraries in #(
8797 no,* | *,no | *\'*)
8798 # Didn't find X, or a directory has "'" in its name.
8799 ac_cv_have_x="have_x=no";; #(
8801 # Record where we found X for the cache.
8802 ac_cv_have_x="have_x=yes\
8803 ac_x_includes='$ac_x_includes'\
8804 ac_x_libraries='$ac_x_libraries'"
8805 esac
8807 ;; #(
8808 *) have_x=yes;;
8809 esac
8810 eval "$ac_cv_have_x"
8811 fi # $with_x != no
8813 if test "$have_x" != yes; then
8814 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $have_x" >&5
8815 $as_echo "$have_x" >&6; }
8816 no_x=yes
8817 else
8818 # If each of the values was on the command line, it overrides each guess.
8819 test "x$x_includes" = xNONE && x_includes=$ac_x_includes
8820 test "x$x_libraries" = xNONE && x_libraries=$ac_x_libraries
8821 # Update the cache value to reflect the command line values.
8822 ac_cv_have_x="have_x=yes\
8823 ac_x_includes='$x_includes'\
8824 ac_x_libraries='$x_libraries'"
8825 { $as_echo "$as_me:${as_lineno-$LINENO}: result: libraries $x_libraries, headers $x_includes" >&5
8826 $as_echo "libraries $x_libraries, headers $x_includes" >&6; }
8829 if test "$no_x" = yes; then
8830 # Not all programs may use this symbol, but it does not hurt to define it.
8832 $as_echo "#define X_DISPLAY_MISSING 1" >>confdefs.h
8834 X_CFLAGS= X_PRE_LIBS= X_LIBS= X_EXTRA_LIBS=
8835 else
8836 if test -n "$x_includes"; then
8837 X_CFLAGS="$X_CFLAGS -I$x_includes"
8840 # It would also be nice to do this for all -L options, not just this one.
8841 if test -n "$x_libraries"; then
8842 X_LIBS="$X_LIBS -L$x_libraries"
8843 # For Solaris; some versions of Sun CC require a space after -R and
8844 # others require no space. Words are not sufficient . . . .
8845 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether -R must be followed by a space" >&5
8846 $as_echo_n "checking whether -R must be followed by a space... " >&6; }
8847 ac_xsave_LIBS=$LIBS; LIBS="$LIBS -R$x_libraries"
8848 ac_xsave_c_werror_flag=$ac_c_werror_flag
8849 ac_c_werror_flag=yes
8850 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
8851 /* end confdefs.h. */
8854 main ()
8858 return 0;
8860 _ACEOF
8861 if ac_fn_c_try_link "$LINENO"; then :
8862 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
8863 $as_echo "no" >&6; }
8864 X_LIBS="$X_LIBS -R$x_libraries"
8865 else
8866 LIBS="$ac_xsave_LIBS -R $x_libraries"
8867 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
8868 /* end confdefs.h. */
8871 main ()
8875 return 0;
8877 _ACEOF
8878 if ac_fn_c_try_link "$LINENO"; then :
8879 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
8880 $as_echo "yes" >&6; }
8881 X_LIBS="$X_LIBS -R $x_libraries"
8882 else
8883 { $as_echo "$as_me:${as_lineno-$LINENO}: result: neither works" >&5
8884 $as_echo "neither works" >&6; }
8886 rm -f core conftest.err conftest.$ac_objext \
8887 conftest$ac_exeext conftest.$ac_ext
8889 rm -f core conftest.err conftest.$ac_objext \
8890 conftest$ac_exeext conftest.$ac_ext
8891 ac_c_werror_flag=$ac_xsave_c_werror_flag
8892 LIBS=$ac_xsave_LIBS
8895 # Check for system-dependent libraries X programs must link with.
8896 # Do this before checking for the system-independent R6 libraries
8897 # (-lICE), since we may need -lsocket or whatever for X linking.
8899 if test "$ISC" = yes; then
8900 X_EXTRA_LIBS="$X_EXTRA_LIBS -lnsl_s -linet"
8901 else
8902 # Martyn Johnson says this is needed for Ultrix, if the X
8903 # libraries were built with DECnet support. And Karl Berry says
8904 # the Alpha needs dnet_stub (dnet does not exist).
8905 ac_xsave_LIBS="$LIBS"; LIBS="$LIBS $X_LIBS -lX11"
8906 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
8907 /* end confdefs.h. */
8909 /* Override any GCC internal prototype to avoid an error.
8910 Use char because int might match the return type of a GCC
8911 builtin and then its argument prototype would still apply. */
8912 #ifdef __cplusplus
8913 extern "C"
8914 #endif
8915 char XOpenDisplay ();
8917 main ()
8919 return XOpenDisplay ();
8921 return 0;
8923 _ACEOF
8924 if ac_fn_c_try_link "$LINENO"; then :
8926 else
8927 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dnet_ntoa in -ldnet" >&5
8928 $as_echo_n "checking for dnet_ntoa in -ldnet... " >&6; }
8929 if ${ac_cv_lib_dnet_dnet_ntoa+:} false; then :
8930 $as_echo_n "(cached) " >&6
8931 else
8932 ac_check_lib_save_LIBS=$LIBS
8933 LIBS="-ldnet $LIBS"
8934 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
8935 /* end confdefs.h. */
8937 /* Override any GCC internal prototype to avoid an error.
8938 Use char because int might match the return type of a GCC
8939 builtin and then its argument prototype would still apply. */
8940 #ifdef __cplusplus
8941 extern "C"
8942 #endif
8943 char dnet_ntoa ();
8945 main ()
8947 return dnet_ntoa ();
8949 return 0;
8951 _ACEOF
8952 if ac_fn_c_try_link "$LINENO"; then :
8953 ac_cv_lib_dnet_dnet_ntoa=yes
8954 else
8955 ac_cv_lib_dnet_dnet_ntoa=no
8957 rm -f core conftest.err conftest.$ac_objext \
8958 conftest$ac_exeext conftest.$ac_ext
8959 LIBS=$ac_check_lib_save_LIBS
8961 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dnet_dnet_ntoa" >&5
8962 $as_echo "$ac_cv_lib_dnet_dnet_ntoa" >&6; }
8963 if test "x$ac_cv_lib_dnet_dnet_ntoa" = xyes; then :
8964 X_EXTRA_LIBS="$X_EXTRA_LIBS -ldnet"
8967 if test $ac_cv_lib_dnet_dnet_ntoa = no; then
8968 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dnet_ntoa in -ldnet_stub" >&5
8969 $as_echo_n "checking for dnet_ntoa in -ldnet_stub... " >&6; }
8970 if ${ac_cv_lib_dnet_stub_dnet_ntoa+:} false; then :
8971 $as_echo_n "(cached) " >&6
8972 else
8973 ac_check_lib_save_LIBS=$LIBS
8974 LIBS="-ldnet_stub $LIBS"
8975 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
8976 /* end confdefs.h. */
8978 /* Override any GCC internal prototype to avoid an error.
8979 Use char because int might match the return type of a GCC
8980 builtin and then its argument prototype would still apply. */
8981 #ifdef __cplusplus
8982 extern "C"
8983 #endif
8984 char dnet_ntoa ();
8986 main ()
8988 return dnet_ntoa ();
8990 return 0;
8992 _ACEOF
8993 if ac_fn_c_try_link "$LINENO"; then :
8994 ac_cv_lib_dnet_stub_dnet_ntoa=yes
8995 else
8996 ac_cv_lib_dnet_stub_dnet_ntoa=no
8998 rm -f core conftest.err conftest.$ac_objext \
8999 conftest$ac_exeext conftest.$ac_ext
9000 LIBS=$ac_check_lib_save_LIBS
9002 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dnet_stub_dnet_ntoa" >&5
9003 $as_echo "$ac_cv_lib_dnet_stub_dnet_ntoa" >&6; }
9004 if test "x$ac_cv_lib_dnet_stub_dnet_ntoa" = xyes; then :
9005 X_EXTRA_LIBS="$X_EXTRA_LIBS -ldnet_stub"
9010 rm -f core conftest.err conftest.$ac_objext \
9011 conftest$ac_exeext conftest.$ac_ext
9012 LIBS="$ac_xsave_LIBS"
9014 # msh@cis.ufl.edu says -lnsl (and -lsocket) are needed for his 386/AT,
9015 # to get the SysV transport functions.
9016 # Chad R. Larson says the Pyramis MIS-ES running DC/OSx (SVR4)
9017 # needs -lnsl.
9018 # The nsl library prevents programs from opening the X display
9019 # on Irix 5.2, according to T.E. Dickey.
9020 # The functions gethostbyname, getservbyname, and inet_addr are
9021 # in -lbsd on LynxOS 3.0.1/i386, according to Lars Hecking.
9022 ac_fn_c_check_func "$LINENO" "gethostbyname" "ac_cv_func_gethostbyname"
9023 if test "x$ac_cv_func_gethostbyname" = xyes; then :
9027 if test $ac_cv_func_gethostbyname = no; then
9028 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for gethostbyname in -lnsl" >&5
9029 $as_echo_n "checking for gethostbyname in -lnsl... " >&6; }
9030 if ${ac_cv_lib_nsl_gethostbyname+:} false; then :
9031 $as_echo_n "(cached) " >&6
9032 else
9033 ac_check_lib_save_LIBS=$LIBS
9034 LIBS="-lnsl $LIBS"
9035 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9036 /* end confdefs.h. */
9038 /* Override any GCC internal prototype to avoid an error.
9039 Use char because int might match the return type of a GCC
9040 builtin and then its argument prototype would still apply. */
9041 #ifdef __cplusplus
9042 extern "C"
9043 #endif
9044 char gethostbyname ();
9046 main ()
9048 return gethostbyname ();
9050 return 0;
9052 _ACEOF
9053 if ac_fn_c_try_link "$LINENO"; then :
9054 ac_cv_lib_nsl_gethostbyname=yes
9055 else
9056 ac_cv_lib_nsl_gethostbyname=no
9058 rm -f core conftest.err conftest.$ac_objext \
9059 conftest$ac_exeext conftest.$ac_ext
9060 LIBS=$ac_check_lib_save_LIBS
9062 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_nsl_gethostbyname" >&5
9063 $as_echo "$ac_cv_lib_nsl_gethostbyname" >&6; }
9064 if test "x$ac_cv_lib_nsl_gethostbyname" = xyes; then :
9065 X_EXTRA_LIBS="$X_EXTRA_LIBS -lnsl"
9068 if test $ac_cv_lib_nsl_gethostbyname = no; then
9069 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for gethostbyname in -lbsd" >&5
9070 $as_echo_n "checking for gethostbyname in -lbsd... " >&6; }
9071 if ${ac_cv_lib_bsd_gethostbyname+:} false; then :
9072 $as_echo_n "(cached) " >&6
9073 else
9074 ac_check_lib_save_LIBS=$LIBS
9075 LIBS="-lbsd $LIBS"
9076 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9077 /* end confdefs.h. */
9079 /* Override any GCC internal prototype to avoid an error.
9080 Use char because int might match the return type of a GCC
9081 builtin and then its argument prototype would still apply. */
9082 #ifdef __cplusplus
9083 extern "C"
9084 #endif
9085 char gethostbyname ();
9087 main ()
9089 return gethostbyname ();
9091 return 0;
9093 _ACEOF
9094 if ac_fn_c_try_link "$LINENO"; then :
9095 ac_cv_lib_bsd_gethostbyname=yes
9096 else
9097 ac_cv_lib_bsd_gethostbyname=no
9099 rm -f core conftest.err conftest.$ac_objext \
9100 conftest$ac_exeext conftest.$ac_ext
9101 LIBS=$ac_check_lib_save_LIBS
9103 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_bsd_gethostbyname" >&5
9104 $as_echo "$ac_cv_lib_bsd_gethostbyname" >&6; }
9105 if test "x$ac_cv_lib_bsd_gethostbyname" = xyes; then :
9106 X_EXTRA_LIBS="$X_EXTRA_LIBS -lbsd"
9112 # lieder@skyler.mavd.honeywell.com says without -lsocket,
9113 # socket/setsockopt and other routines are undefined under SCO ODT
9114 # 2.0. But -lsocket is broken on IRIX 5.2 (and is not necessary
9115 # on later versions), says Simon Leinen: it contains gethostby*
9116 # variants that don't use the name server (or something). -lsocket
9117 # must be given before -lnsl if both are needed. We assume that
9118 # if connect needs -lnsl, so does gethostbyname.
9119 ac_fn_c_check_func "$LINENO" "connect" "ac_cv_func_connect"
9120 if test "x$ac_cv_func_connect" = xyes; then :
9124 if test $ac_cv_func_connect = no; then
9125 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for connect in -lsocket" >&5
9126 $as_echo_n "checking for connect in -lsocket... " >&6; }
9127 if ${ac_cv_lib_socket_connect+:} false; then :
9128 $as_echo_n "(cached) " >&6
9129 else
9130 ac_check_lib_save_LIBS=$LIBS
9131 LIBS="-lsocket $X_EXTRA_LIBS $LIBS"
9132 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9133 /* end confdefs.h. */
9135 /* Override any GCC internal prototype to avoid an error.
9136 Use char because int might match the return type of a GCC
9137 builtin and then its argument prototype would still apply. */
9138 #ifdef __cplusplus
9139 extern "C"
9140 #endif
9141 char connect ();
9143 main ()
9145 return connect ();
9147 return 0;
9149 _ACEOF
9150 if ac_fn_c_try_link "$LINENO"; then :
9151 ac_cv_lib_socket_connect=yes
9152 else
9153 ac_cv_lib_socket_connect=no
9155 rm -f core conftest.err conftest.$ac_objext \
9156 conftest$ac_exeext conftest.$ac_ext
9157 LIBS=$ac_check_lib_save_LIBS
9159 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_socket_connect" >&5
9160 $as_echo "$ac_cv_lib_socket_connect" >&6; }
9161 if test "x$ac_cv_lib_socket_connect" = xyes; then :
9162 X_EXTRA_LIBS="-lsocket $X_EXTRA_LIBS"
9167 # Guillermo Gomez says -lposix is necessary on A/UX.
9168 ac_fn_c_check_func "$LINENO" "remove" "ac_cv_func_remove"
9169 if test "x$ac_cv_func_remove" = xyes; then :
9173 if test $ac_cv_func_remove = no; then
9174 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for remove in -lposix" >&5
9175 $as_echo_n "checking for remove in -lposix... " >&6; }
9176 if ${ac_cv_lib_posix_remove+:} false; then :
9177 $as_echo_n "(cached) " >&6
9178 else
9179 ac_check_lib_save_LIBS=$LIBS
9180 LIBS="-lposix $LIBS"
9181 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9182 /* end confdefs.h. */
9184 /* Override any GCC internal prototype to avoid an error.
9185 Use char because int might match the return type of a GCC
9186 builtin and then its argument prototype would still apply. */
9187 #ifdef __cplusplus
9188 extern "C"
9189 #endif
9190 char remove ();
9192 main ()
9194 return remove ();
9196 return 0;
9198 _ACEOF
9199 if ac_fn_c_try_link "$LINENO"; then :
9200 ac_cv_lib_posix_remove=yes
9201 else
9202 ac_cv_lib_posix_remove=no
9204 rm -f core conftest.err conftest.$ac_objext \
9205 conftest$ac_exeext conftest.$ac_ext
9206 LIBS=$ac_check_lib_save_LIBS
9208 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_posix_remove" >&5
9209 $as_echo "$ac_cv_lib_posix_remove" >&6; }
9210 if test "x$ac_cv_lib_posix_remove" = xyes; then :
9211 X_EXTRA_LIBS="$X_EXTRA_LIBS -lposix"
9216 # BSDI BSD/OS 2.1 needs -lipc for XOpenDisplay.
9217 ac_fn_c_check_func "$LINENO" "shmat" "ac_cv_func_shmat"
9218 if test "x$ac_cv_func_shmat" = xyes; then :
9222 if test $ac_cv_func_shmat = no; then
9223 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for shmat in -lipc" >&5
9224 $as_echo_n "checking for shmat in -lipc... " >&6; }
9225 if ${ac_cv_lib_ipc_shmat+:} false; then :
9226 $as_echo_n "(cached) " >&6
9227 else
9228 ac_check_lib_save_LIBS=$LIBS
9229 LIBS="-lipc $LIBS"
9230 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9231 /* end confdefs.h. */
9233 /* Override any GCC internal prototype to avoid an error.
9234 Use char because int might match the return type of a GCC
9235 builtin and then its argument prototype would still apply. */
9236 #ifdef __cplusplus
9237 extern "C"
9238 #endif
9239 char shmat ();
9241 main ()
9243 return shmat ();
9245 return 0;
9247 _ACEOF
9248 if ac_fn_c_try_link "$LINENO"; then :
9249 ac_cv_lib_ipc_shmat=yes
9250 else
9251 ac_cv_lib_ipc_shmat=no
9253 rm -f core conftest.err conftest.$ac_objext \
9254 conftest$ac_exeext conftest.$ac_ext
9255 LIBS=$ac_check_lib_save_LIBS
9257 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_ipc_shmat" >&5
9258 $as_echo "$ac_cv_lib_ipc_shmat" >&6; }
9259 if test "x$ac_cv_lib_ipc_shmat" = xyes; then :
9260 X_EXTRA_LIBS="$X_EXTRA_LIBS -lipc"
9266 # Check for libraries that X11R6 Xt/Xaw programs need.
9267 ac_save_LDFLAGS=$LDFLAGS
9268 test -n "$x_libraries" && LDFLAGS="$LDFLAGS -L$x_libraries"
9269 # SM needs ICE to (dynamically) link under SunOS 4.x (so we have to
9270 # check for ICE first), but we must link in the order -lSM -lICE or
9271 # we get undefined symbols. So assume we have SM if we have ICE.
9272 # These have to be linked with before -lX11, unlike the other
9273 # libraries we check for below, so use a different variable.
9274 # John Interrante, Karl Berry
9275 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for IceConnectionNumber in -lICE" >&5
9276 $as_echo_n "checking for IceConnectionNumber in -lICE... " >&6; }
9277 if ${ac_cv_lib_ICE_IceConnectionNumber+:} false; then :
9278 $as_echo_n "(cached) " >&6
9279 else
9280 ac_check_lib_save_LIBS=$LIBS
9281 LIBS="-lICE $X_EXTRA_LIBS $LIBS"
9282 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9283 /* end confdefs.h. */
9285 /* Override any GCC internal prototype to avoid an error.
9286 Use char because int might match the return type of a GCC
9287 builtin and then its argument prototype would still apply. */
9288 #ifdef __cplusplus
9289 extern "C"
9290 #endif
9291 char IceConnectionNumber ();
9293 main ()
9295 return IceConnectionNumber ();
9297 return 0;
9299 _ACEOF
9300 if ac_fn_c_try_link "$LINENO"; then :
9301 ac_cv_lib_ICE_IceConnectionNumber=yes
9302 else
9303 ac_cv_lib_ICE_IceConnectionNumber=no
9305 rm -f core conftest.err conftest.$ac_objext \
9306 conftest$ac_exeext conftest.$ac_ext
9307 LIBS=$ac_check_lib_save_LIBS
9309 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_ICE_IceConnectionNumber" >&5
9310 $as_echo "$ac_cv_lib_ICE_IceConnectionNumber" >&6; }
9311 if test "x$ac_cv_lib_ICE_IceConnectionNumber" = xyes; then :
9312 X_PRE_LIBS="$X_PRE_LIBS -lSM -lICE"
9315 LDFLAGS=$ac_save_LDFLAGS
9320 if test "$have_x" = "yes"
9321 then
9322 ac_save_CPPFLAGS="$CPPFLAGS"
9323 CPPFLAGS="$CPPFLAGS $X_CFLAGS"
9325 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lX11" >&5
9326 $as_echo_n "checking for -lX11... " >&6; }
9327 if ${ac_cv_lib_soname_X11+:} false; then :
9328 $as_echo_n "(cached) " >&6
9329 else
9330 ac_check_soname_save_LIBS=$LIBS
9331 LIBS="-lX11 $X_LIBS $X_EXTRA_LIBS $LIBS"
9332 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9333 /* end confdefs.h. */
9335 /* Override any GCC internal prototype to avoid an error.
9336 Use char because int might match the return type of a GCC
9337 builtin and then its argument prototype would still apply. */
9338 #ifdef __cplusplus
9339 extern "C"
9340 #endif
9341 char XCreateWindow ();
9343 main ()
9345 return XCreateWindow ();
9347 return 0;
9349 _ACEOF
9350 if ac_fn_c_try_link "$LINENO"; then :
9351 case "$LIBEXT" in
9352 dll) ac_cv_lib_soname_X11=`$ac_cv_path_LDD conftest.exe | grep "X11" | sed -e "s/dll.*/dll/"';2,$d'` ;;
9353 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'` ;;
9354 *) ac_cv_lib_soname_X11=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libX11\\.$LIBEXT" | sed -e "s/^.*\\[\\(libX11\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
9355 if ${ac_cv_lib_soname_X11:+false} :; then :
9356 ac_cv_lib_soname_X11=`$LDD conftest$ac_exeext | grep "libX11\\.$LIBEXT" | sed -e "s/^.*\(libX11\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
9357 fi ;;
9358 esac
9360 rm -f core conftest.err conftest.$ac_objext \
9361 conftest$ac_exeext conftest.$ac_ext
9362 LIBS=$ac_check_soname_save_LIBS
9364 if ${ac_cv_lib_soname_X11:+false} :; then :
9365 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
9366 $as_echo "not found" >&6; }
9368 else
9369 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_X11" >&5
9370 $as_echo "$ac_cv_lib_soname_X11" >&6; }
9372 cat >>confdefs.h <<_ACEOF
9373 #define SONAME_LIBX11 "$ac_cv_lib_soname_X11"
9374 _ACEOF
9378 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lXext" >&5
9379 $as_echo_n "checking for -lXext... " >&6; }
9380 if ${ac_cv_lib_soname_Xext+:} false; then :
9381 $as_echo_n "(cached) " >&6
9382 else
9383 ac_check_soname_save_LIBS=$LIBS
9384 LIBS="-lXext $X_LIBS -lX11 $X_EXTRA_LIBS $LIBS"
9385 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9386 /* end confdefs.h. */
9388 /* Override any GCC internal prototype to avoid an error.
9389 Use char because int might match the return type of a GCC
9390 builtin and then its argument prototype would still apply. */
9391 #ifdef __cplusplus
9392 extern "C"
9393 #endif
9394 char XextCreateExtension ();
9396 main ()
9398 return XextCreateExtension ();
9400 return 0;
9402 _ACEOF
9403 if ac_fn_c_try_link "$LINENO"; then :
9404 case "$LIBEXT" in
9405 dll) ac_cv_lib_soname_Xext=`$ac_cv_path_LDD conftest.exe | grep "Xext" | sed -e "s/dll.*/dll/"';2,$d'` ;;
9406 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'` ;;
9407 *) ac_cv_lib_soname_Xext=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libXext\\.$LIBEXT" | sed -e "s/^.*\\[\\(libXext\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
9408 if ${ac_cv_lib_soname_Xext:+false} :; then :
9409 ac_cv_lib_soname_Xext=`$LDD conftest$ac_exeext | grep "libXext\\.$LIBEXT" | sed -e "s/^.*\(libXext\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
9410 fi ;;
9411 esac
9413 rm -f core conftest.err conftest.$ac_objext \
9414 conftest$ac_exeext conftest.$ac_ext
9415 LIBS=$ac_check_soname_save_LIBS
9417 if ${ac_cv_lib_soname_Xext:+false} :; then :
9418 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
9419 $as_echo "not found" >&6; }
9421 else
9422 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_Xext" >&5
9423 $as_echo "$ac_cv_lib_soname_Xext" >&6; }
9425 cat >>confdefs.h <<_ACEOF
9426 #define SONAME_LIBXEXT "$ac_cv_lib_soname_Xext"
9427 _ACEOF
9429 X_LIBS="$X_LIBS -lXext"
9431 X_LIBS="$X_LIBS -lX11"
9433 for ac_header in X11/Xlib.h \
9434 X11/XKBlib.h \
9435 X11/Xutil.h \
9436 X11/Xcursor/Xcursor.h \
9437 X11/extensions/shape.h \
9438 X11/extensions/XInput.h \
9439 X11/extensions/XInput2.h \
9440 X11/extensions/XShm.h \
9441 X11/extensions/Xcomposite.h \
9442 X11/extensions/Xinerama.h \
9443 X11/extensions/Xrandr.h \
9444 X11/extensions/Xrender.h \
9445 X11/extensions/xf86vmode.h \
9446 X11/extensions/xf86vmproto.h
9447 do :
9448 as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
9449 ac_fn_c_check_header_compile "$LINENO" "$ac_header" "$as_ac_Header" "#ifdef HAVE_X11_XLIB_H
9450 # include <X11/Xlib.h>
9451 #endif
9452 #ifdef HAVE_X11_XUTIL_H
9453 # include <X11/Xutil.h>
9454 #endif
9456 if eval test \"x\$"$as_ac_Header"\" = x"yes"; then :
9457 cat >>confdefs.h <<_ACEOF
9458 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
9459 _ACEOF
9463 done
9466 if test "$ac_cv_header_X11_XKBlib_h" = "yes"
9467 then
9468 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for XkbQueryExtension in -lX11" >&5
9469 $as_echo_n "checking for XkbQueryExtension in -lX11... " >&6; }
9470 if ${ac_cv_lib_X11_XkbQueryExtension+:} false; then :
9471 $as_echo_n "(cached) " >&6
9472 else
9473 ac_check_lib_save_LIBS=$LIBS
9474 LIBS="-lX11 $X_LIBS $X_EXTRA_LIBS $LIBS"
9475 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9476 /* end confdefs.h. */
9478 /* Override any GCC internal prototype to avoid an error.
9479 Use char because int might match the return type of a GCC
9480 builtin and then its argument prototype would still apply. */
9481 #ifdef __cplusplus
9482 extern "C"
9483 #endif
9484 char XkbQueryExtension ();
9486 main ()
9488 return XkbQueryExtension ();
9490 return 0;
9492 _ACEOF
9493 if ac_fn_c_try_link "$LINENO"; then :
9494 ac_cv_lib_X11_XkbQueryExtension=yes
9495 else
9496 ac_cv_lib_X11_XkbQueryExtension=no
9498 rm -f core conftest.err conftest.$ac_objext \
9499 conftest$ac_exeext conftest.$ac_ext
9500 LIBS=$ac_check_lib_save_LIBS
9502 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_X11_XkbQueryExtension" >&5
9503 $as_echo "$ac_cv_lib_X11_XkbQueryExtension" >&6; }
9504 if test "x$ac_cv_lib_X11_XkbQueryExtension" = xyes; then :
9506 $as_echo "#define HAVE_XKB 1" >>confdefs.h
9512 if test "$ac_cv_header_X11_Xcursor_Xcursor_h" = "yes"
9513 then
9514 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lXcursor" >&5
9515 $as_echo_n "checking for -lXcursor... " >&6; }
9516 if ${ac_cv_lib_soname_Xcursor+:} false; then :
9517 $as_echo_n "(cached) " >&6
9518 else
9519 ac_check_soname_save_LIBS=$LIBS
9520 LIBS="-lXcursor $X_LIBS $X_EXTRA_LIBS $LIBS"
9521 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9522 /* end confdefs.h. */
9524 /* Override any GCC internal prototype to avoid an error.
9525 Use char because int might match the return type of a GCC
9526 builtin and then its argument prototype would still apply. */
9527 #ifdef __cplusplus
9528 extern "C"
9529 #endif
9530 char XcursorImageLoadCursor ();
9532 main ()
9534 return XcursorImageLoadCursor ();
9536 return 0;
9538 _ACEOF
9539 if ac_fn_c_try_link "$LINENO"; then :
9540 case "$LIBEXT" in
9541 dll) ac_cv_lib_soname_Xcursor=`$ac_cv_path_LDD conftest.exe | grep "Xcursor" | sed -e "s/dll.*/dll/"';2,$d'` ;;
9542 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'` ;;
9543 *) ac_cv_lib_soname_Xcursor=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libXcursor\\.$LIBEXT" | sed -e "s/^.*\\[\\(libXcursor\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
9544 if ${ac_cv_lib_soname_Xcursor:+false} :; then :
9545 ac_cv_lib_soname_Xcursor=`$LDD conftest$ac_exeext | grep "libXcursor\\.$LIBEXT" | sed -e "s/^.*\(libXcursor\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
9546 fi ;;
9547 esac
9549 rm -f core conftest.err conftest.$ac_objext \
9550 conftest$ac_exeext conftest.$ac_ext
9551 LIBS=$ac_check_soname_save_LIBS
9553 if ${ac_cv_lib_soname_Xcursor:+false} :; then :
9554 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
9555 $as_echo "not found" >&6; }
9557 else
9558 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_Xcursor" >&5
9559 $as_echo "$ac_cv_lib_soname_Xcursor" >&6; }
9561 cat >>confdefs.h <<_ACEOF
9562 #define SONAME_LIBXCURSOR "$ac_cv_lib_soname_Xcursor"
9563 _ACEOF
9568 if test "x$ac_cv_lib_soname_Xcursor" = "x"; then :
9569 case "x$with_xcursor" in
9570 x) as_fn_append wine_notices "|libxcursor ${notice_platform}development files not found, the Xcursor extension won't be supported." ;;
9571 xno) ;;
9572 *) as_fn_error $? "libxcursor ${notice_platform}development files not found, the Xcursor extension won't be supported.
9573 This is an error since --with-xcursor was requested." "$LINENO" 5 ;;
9574 esac
9577 if test "$ac_cv_header_X11_extensions_XInput_h" = "yes"
9578 then
9579 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lXi" >&5
9580 $as_echo_n "checking for -lXi... " >&6; }
9581 if ${ac_cv_lib_soname_Xi+:} false; then :
9582 $as_echo_n "(cached) " >&6
9583 else
9584 ac_check_soname_save_LIBS=$LIBS
9585 LIBS="-lXi $X_LIBS $X_EXTRA_LIBS $LIBS"
9586 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9587 /* end confdefs.h. */
9589 /* Override any GCC internal prototype to avoid an error.
9590 Use char because int might match the return type of a GCC
9591 builtin and then its argument prototype would still apply. */
9592 #ifdef __cplusplus
9593 extern "C"
9594 #endif
9595 char XOpenDevice ();
9597 main ()
9599 return XOpenDevice ();
9601 return 0;
9603 _ACEOF
9604 if ac_fn_c_try_link "$LINENO"; then :
9605 case "$LIBEXT" in
9606 dll) ac_cv_lib_soname_Xi=`$ac_cv_path_LDD conftest.exe | grep "Xi" | sed -e "s/dll.*/dll/"';2,$d'` ;;
9607 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'` ;;
9608 *) ac_cv_lib_soname_Xi=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libXi\\.$LIBEXT" | sed -e "s/^.*\\[\\(libXi\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
9609 if ${ac_cv_lib_soname_Xi:+false} :; then :
9610 ac_cv_lib_soname_Xi=`$LDD conftest$ac_exeext | grep "libXi\\.$LIBEXT" | sed -e "s/^.*\(libXi\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
9611 fi ;;
9612 esac
9614 rm -f core conftest.err conftest.$ac_objext \
9615 conftest$ac_exeext conftest.$ac_ext
9616 LIBS=$ac_check_soname_save_LIBS
9618 if ${ac_cv_lib_soname_Xi:+false} :; then :
9619 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
9620 $as_echo "not found" >&6; }
9622 else
9623 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_Xi" >&5
9624 $as_echo "$ac_cv_lib_soname_Xi" >&6; }
9626 cat >>confdefs.h <<_ACEOF
9627 #define SONAME_LIBXI "$ac_cv_lib_soname_Xi"
9628 _ACEOF
9633 if test "x$ac_cv_lib_soname_Xi" = "x"; then :
9634 case "x$with_xinput" in
9635 x) as_fn_append wine_notices "|libxi ${notice_platform}development files not found, the Xinput extension won't be supported." ;;
9636 xno) ;;
9637 *) as_fn_error $? "libxi ${notice_platform}development files not found, the Xinput extension won't be supported.
9638 This is an error since --with-xinput was requested." "$LINENO" 5 ;;
9639 esac
9642 if test "x$ac_cv_lib_soname_Xi" != x
9643 then
9644 if test "$ac_cv_header_X11_extensions_XInput2_h" != "yes"; then :
9645 case "x$with_xinput2" in
9646 x) as_fn_append wine_notices "|XInput2 headers not found, the XInput 2 extension won't be supported." ;;
9647 xno) ;;
9648 *) as_fn_error $? "XInput2 headers not found, the XInput 2 extension won't be supported.
9649 This is an error since --with-xinput2 was requested." "$LINENO" 5 ;;
9650 esac
9654 if test "$ac_cv_header_X11_extensions_XShm_h" = "yes"
9655 then
9656 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for XShmQueryExtension in -lXext" >&5
9657 $as_echo_n "checking for XShmQueryExtension in -lXext... " >&6; }
9658 if ${ac_cv_lib_Xext_XShmQueryExtension+:} false; then :
9659 $as_echo_n "(cached) " >&6
9660 else
9661 ac_check_lib_save_LIBS=$LIBS
9662 LIBS="-lXext $X_LIBS $X_EXTRA_LIBS $LIBS"
9663 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9664 /* end confdefs.h. */
9666 /* Override any GCC internal prototype to avoid an error.
9667 Use char because int might match the return type of a GCC
9668 builtin and then its argument prototype would still apply. */
9669 #ifdef __cplusplus
9670 extern "C"
9671 #endif
9672 char XShmQueryExtension ();
9674 main ()
9676 return XShmQueryExtension ();
9678 return 0;
9680 _ACEOF
9681 if ac_fn_c_try_link "$LINENO"; then :
9682 ac_cv_lib_Xext_XShmQueryExtension=yes
9683 else
9684 ac_cv_lib_Xext_XShmQueryExtension=no
9686 rm -f core conftest.err conftest.$ac_objext \
9687 conftest$ac_exeext conftest.$ac_ext
9688 LIBS=$ac_check_lib_save_LIBS
9690 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_Xext_XShmQueryExtension" >&5
9691 $as_echo "$ac_cv_lib_Xext_XShmQueryExtension" >&6; }
9692 if test "x$ac_cv_lib_Xext_XShmQueryExtension" = xyes; then :
9694 $as_echo "#define HAVE_LIBXXSHM 1" >>confdefs.h
9699 if test "$ac_cv_lib_Xext_XShmQueryExtension" != "yes"; then :
9700 case "x$with_xshm" in
9701 x) as_fn_append wine_notices "|XShm ${notice_platform}development files not found, X Shared Memory won't be supported." ;;
9702 xno) ;;
9703 *) as_fn_error $? "XShm ${notice_platform}development files not found, X Shared Memory won't be supported.
9704 This is an error since --with-xshm was requested." "$LINENO" 5 ;;
9705 esac
9708 if test "$ac_cv_header_X11_extensions_shape_h" = "yes"
9709 then
9710 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for XShapeQueryExtension in -lXext" >&5
9711 $as_echo_n "checking for XShapeQueryExtension in -lXext... " >&6; }
9712 if ${ac_cv_lib_Xext_XShapeQueryExtension+:} false; then :
9713 $as_echo_n "(cached) " >&6
9714 else
9715 ac_check_lib_save_LIBS=$LIBS
9716 LIBS="-lXext $X_LIBS $X_EXTRA_LIBS $LIBS"
9717 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9718 /* end confdefs.h. */
9720 /* Override any GCC internal prototype to avoid an error.
9721 Use char because int might match the return type of a GCC
9722 builtin and then its argument prototype would still apply. */
9723 #ifdef __cplusplus
9724 extern "C"
9725 #endif
9726 char XShapeQueryExtension ();
9728 main ()
9730 return XShapeQueryExtension ();
9732 return 0;
9734 _ACEOF
9735 if ac_fn_c_try_link "$LINENO"; then :
9736 ac_cv_lib_Xext_XShapeQueryExtension=yes
9737 else
9738 ac_cv_lib_Xext_XShapeQueryExtension=no
9740 rm -f core conftest.err conftest.$ac_objext \
9741 conftest$ac_exeext conftest.$ac_ext
9742 LIBS=$ac_check_lib_save_LIBS
9744 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_Xext_XShapeQueryExtension" >&5
9745 $as_echo "$ac_cv_lib_Xext_XShapeQueryExtension" >&6; }
9746 if test "x$ac_cv_lib_Xext_XShapeQueryExtension" = xyes; then :
9748 $as_echo "#define HAVE_LIBXSHAPE 1" >>confdefs.h
9753 if test "$ac_cv_lib_Xext_XShapeQueryExtension" != "yes"; then :
9754 case "x$with_xshape" in
9755 x) as_fn_append wine_notices "|XShape ${notice_platform}development files not found, XShape won't be supported." ;;
9756 xno) ;;
9757 *) as_fn_error $? "XShape ${notice_platform}development files not found, XShape won't be supported.
9758 This is an error since --with-xshape was requested." "$LINENO" 5 ;;
9759 esac
9762 if test "$ac_cv_header_X11_extensions_xf86vmode_h" = "yes" -o "$ac_cv_header_X11_extensions_xf86vmproto_h" = "yes"
9763 then
9764 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lXxf86vm" >&5
9765 $as_echo_n "checking for -lXxf86vm... " >&6; }
9766 if ${ac_cv_lib_soname_Xxf86vm+:} false; then :
9767 $as_echo_n "(cached) " >&6
9768 else
9769 ac_check_soname_save_LIBS=$LIBS
9770 LIBS="-lXxf86vm $X_LIBS $X_EXTRA_LIBS $LIBS"
9771 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9772 /* end confdefs.h. */
9774 /* Override any GCC internal prototype to avoid an error.
9775 Use char because int might match the return type of a GCC
9776 builtin and then its argument prototype would still apply. */
9777 #ifdef __cplusplus
9778 extern "C"
9779 #endif
9780 char XF86VidModeQueryExtension ();
9782 main ()
9784 return XF86VidModeQueryExtension ();
9786 return 0;
9788 _ACEOF
9789 if ac_fn_c_try_link "$LINENO"; then :
9790 case "$LIBEXT" in
9791 dll) ac_cv_lib_soname_Xxf86vm=`$ac_cv_path_LDD conftest.exe | grep "Xxf86vm" | sed -e "s/dll.*/dll/"';2,$d'` ;;
9792 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'` ;;
9793 *) ac_cv_lib_soname_Xxf86vm=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libXxf86vm\\.$LIBEXT" | sed -e "s/^.*\\[\\(libXxf86vm\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
9794 if ${ac_cv_lib_soname_Xxf86vm:+false} :; then :
9795 ac_cv_lib_soname_Xxf86vm=`$LDD conftest$ac_exeext | grep "libXxf86vm\\.$LIBEXT" | sed -e "s/^.*\(libXxf86vm\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
9796 fi ;;
9797 esac
9799 rm -f core conftest.err conftest.$ac_objext \
9800 conftest$ac_exeext conftest.$ac_ext
9801 LIBS=$ac_check_soname_save_LIBS
9803 if ${ac_cv_lib_soname_Xxf86vm:+false} :; then :
9804 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
9805 $as_echo "not found" >&6; }
9807 else
9808 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_Xxf86vm" >&5
9809 $as_echo "$ac_cv_lib_soname_Xxf86vm" >&6; }
9811 cat >>confdefs.h <<_ACEOF
9812 #define SONAME_LIBXXF86VM "$ac_cv_lib_soname_Xxf86vm"
9813 _ACEOF
9818 if test "x$ac_cv_lib_soname_Xxf86vm" = "x"; then :
9819 case "x$with_xxf86vm" in
9820 x) as_fn_append wine_notices "|libXxf86vm ${notice_platform}development files not found, XFree86 Vidmode won't be supported." ;;
9821 xno) ;;
9822 *) as_fn_error $? "libXxf86vm ${notice_platform}development files not found, XFree86 Vidmode won't be supported.
9823 This is an error since --with-xxf86vm was requested." "$LINENO" 5 ;;
9824 esac
9827 if test "$ac_cv_header_X11_extensions_Xrender_h" = "yes" -a "x$ac_cv_lib_soname_X11" != "x"
9828 then
9829 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lXrender" >&5
9830 $as_echo_n "checking for -lXrender... " >&6; }
9831 if ${ac_cv_lib_soname_Xrender+:} false; then :
9832 $as_echo_n "(cached) " >&6
9833 else
9834 ac_check_soname_save_LIBS=$LIBS
9835 LIBS="-lXrender $X_LIBS $X_EXTRA_LIBS $LIBS"
9836 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9837 /* end confdefs.h. */
9839 /* Override any GCC internal prototype to avoid an error.
9840 Use char because int might match the return type of a GCC
9841 builtin and then its argument prototype would still apply. */
9842 #ifdef __cplusplus
9843 extern "C"
9844 #endif
9845 char XRenderQueryExtension ();
9847 main ()
9849 return XRenderQueryExtension ();
9851 return 0;
9853 _ACEOF
9854 if ac_fn_c_try_link "$LINENO"; then :
9855 case "$LIBEXT" in
9856 dll) ac_cv_lib_soname_Xrender=`$ac_cv_path_LDD conftest.exe | grep "Xrender" | sed -e "s/dll.*/dll/"';2,$d'` ;;
9857 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'` ;;
9858 *) ac_cv_lib_soname_Xrender=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libXrender\\.$LIBEXT" | sed -e "s/^.*\\[\\(libXrender\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
9859 if ${ac_cv_lib_soname_Xrender:+false} :; then :
9860 ac_cv_lib_soname_Xrender=`$LDD conftest$ac_exeext | grep "libXrender\\.$LIBEXT" | sed -e "s/^.*\(libXrender\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
9861 fi ;;
9862 esac
9864 rm -f core conftest.err conftest.$ac_objext \
9865 conftest$ac_exeext conftest.$ac_ext
9866 LIBS=$ac_check_soname_save_LIBS
9868 if ${ac_cv_lib_soname_Xrender:+false} :; then :
9869 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
9870 $as_echo "not found" >&6; }
9872 else
9873 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_Xrender" >&5
9874 $as_echo "$ac_cv_lib_soname_Xrender" >&6; }
9876 cat >>confdefs.h <<_ACEOF
9877 #define SONAME_LIBXRENDER "$ac_cv_lib_soname_Xrender"
9878 _ACEOF
9880 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for XRenderSetPictureTransform in -lXrender" >&5
9881 $as_echo_n "checking for XRenderSetPictureTransform in -lXrender... " >&6; }
9882 if ${ac_cv_lib_Xrender_XRenderSetPictureTransform+:} false; then :
9883 $as_echo_n "(cached) " >&6
9884 else
9885 ac_check_lib_save_LIBS=$LIBS
9886 LIBS="-lXrender $X_LIBS $X_EXTRA_LIBS $LIBS"
9887 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9888 /* end confdefs.h. */
9890 /* Override any GCC internal prototype to avoid an error.
9891 Use char because int might match the return type of a GCC
9892 builtin and then its argument prototype would still apply. */
9893 #ifdef __cplusplus
9894 extern "C"
9895 #endif
9896 char XRenderSetPictureTransform ();
9898 main ()
9900 return XRenderSetPictureTransform ();
9902 return 0;
9904 _ACEOF
9905 if ac_fn_c_try_link "$LINENO"; then :
9906 ac_cv_lib_Xrender_XRenderSetPictureTransform=yes
9907 else
9908 ac_cv_lib_Xrender_XRenderSetPictureTransform=no
9910 rm -f core conftest.err conftest.$ac_objext \
9911 conftest$ac_exeext conftest.$ac_ext
9912 LIBS=$ac_check_lib_save_LIBS
9914 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_Xrender_XRenderSetPictureTransform" >&5
9915 $as_echo "$ac_cv_lib_Xrender_XRenderSetPictureTransform" >&6; }
9916 if test "x$ac_cv_lib_Xrender_XRenderSetPictureTransform" = xyes; then :
9918 $as_echo "#define HAVE_XRENDERSETPICTURETRANSFORM 1" >>confdefs.h
9922 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for XRenderCreateLinearGradient in -lXrender" >&5
9923 $as_echo_n "checking for XRenderCreateLinearGradient in -lXrender... " >&6; }
9924 if ${ac_cv_lib_Xrender_XRenderCreateLinearGradient+:} false; then :
9925 $as_echo_n "(cached) " >&6
9926 else
9927 ac_check_lib_save_LIBS=$LIBS
9928 LIBS="-lXrender $X_LIBS $X_EXTRA_LIBS $LIBS"
9929 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9930 /* end confdefs.h. */
9932 /* Override any GCC internal prototype to avoid an error.
9933 Use char because int might match the return type of a GCC
9934 builtin and then its argument prototype would still apply. */
9935 #ifdef __cplusplus
9936 extern "C"
9937 #endif
9938 char XRenderCreateLinearGradient ();
9940 main ()
9942 return XRenderCreateLinearGradient ();
9944 return 0;
9946 _ACEOF
9947 if ac_fn_c_try_link "$LINENO"; then :
9948 ac_cv_lib_Xrender_XRenderCreateLinearGradient=yes
9949 else
9950 ac_cv_lib_Xrender_XRenderCreateLinearGradient=no
9952 rm -f core conftest.err conftest.$ac_objext \
9953 conftest$ac_exeext conftest.$ac_ext
9954 LIBS=$ac_check_lib_save_LIBS
9956 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_Xrender_XRenderCreateLinearGradient" >&5
9957 $as_echo "$ac_cv_lib_Xrender_XRenderCreateLinearGradient" >&6; }
9958 if test "x$ac_cv_lib_Xrender_XRenderCreateLinearGradient" = xyes; then :
9960 $as_echo "#define HAVE_XRENDERCREATELINEARGRADIENT 1" >>confdefs.h
9967 if test "x$ac_cv_lib_soname_Xrender" = "x"; then :
9968 case "x$with_xrender" in
9969 x) as_fn_append wine_warnings "|libxrender ${notice_platform}development files not found, XRender won't be supported." ;;
9970 xno) ;;
9971 *) as_fn_error $? "libxrender ${notice_platform}development files not found, XRender won't be supported.
9972 This is an error since --with-xrender was requested." "$LINENO" 5 ;;
9973 esac
9976 if test "$ac_cv_header_X11_extensions_Xrandr_h" = "yes" -a "x$ac_cv_lib_soname_Xrender" != "x"
9977 then
9978 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9979 /* end confdefs.h. */
9980 #include <X11/Xlib.h>
9981 #include <X11/extensions/Xrandr.h>
9983 main ()
9985 static typeof(XRRSetScreenConfigAndRate) * func; if (func) return 0;
9987 return 0;
9989 _ACEOF
9990 if ac_fn_c_try_compile "$LINENO"; then :
9991 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lXrandr" >&5
9992 $as_echo_n "checking for -lXrandr... " >&6; }
9993 if ${ac_cv_lib_soname_Xrandr+:} false; then :
9994 $as_echo_n "(cached) " >&6
9995 else
9996 ac_check_soname_save_LIBS=$LIBS
9997 LIBS="-lXrandr $X_LIBS $X_EXTRA_LIBS $LIBS"
9998 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9999 /* end confdefs.h. */
10001 /* Override any GCC internal prototype to avoid an error.
10002 Use char because int might match the return type of a GCC
10003 builtin and then its argument prototype would still apply. */
10004 #ifdef __cplusplus
10005 extern "C"
10006 #endif
10007 char XRRQueryExtension ();
10009 main ()
10011 return XRRQueryExtension ();
10013 return 0;
10015 _ACEOF
10016 if ac_fn_c_try_link "$LINENO"; then :
10017 case "$LIBEXT" in
10018 dll) ac_cv_lib_soname_Xrandr=`$ac_cv_path_LDD conftest.exe | grep "Xrandr" | sed -e "s/dll.*/dll/"';2,$d'` ;;
10019 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'` ;;
10020 *) ac_cv_lib_soname_Xrandr=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libXrandr\\.$LIBEXT" | sed -e "s/^.*\\[\\(libXrandr\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
10021 if ${ac_cv_lib_soname_Xrandr:+false} :; then :
10022 ac_cv_lib_soname_Xrandr=`$LDD conftest$ac_exeext | grep "libXrandr\\.$LIBEXT" | sed -e "s/^.*\(libXrandr\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
10023 fi ;;
10024 esac
10026 rm -f core conftest.err conftest.$ac_objext \
10027 conftest$ac_exeext conftest.$ac_ext
10028 LIBS=$ac_check_soname_save_LIBS
10030 if ${ac_cv_lib_soname_Xrandr:+false} :; then :
10031 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
10032 $as_echo "not found" >&6; }
10034 else
10035 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_Xrandr" >&5
10036 $as_echo "$ac_cv_lib_soname_Xrandr" >&6; }
10038 cat >>confdefs.h <<_ACEOF
10039 #define SONAME_LIBXRANDR "$ac_cv_lib_soname_Xrandr"
10040 _ACEOF
10042 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10043 /* end confdefs.h. */
10044 #include <X11/Xlib.h>
10045 #include <X11/extensions/Xrandr.h>
10047 main ()
10049 static typeof(XRRGetScreenResources) *f; if (f) return 0;
10051 return 0;
10053 _ACEOF
10054 if ac_fn_c_try_compile "$LINENO"; then :
10056 $as_echo "#define HAVE_XRRGETSCREENRESOURCES 1" >>confdefs.h
10059 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
10062 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
10064 if test "x$ac_cv_lib_soname_Xrandr" = "x"; then :
10065 case "x$with_xrandr" in
10066 x) as_fn_append wine_notices "|libxrandr ${notice_platform}development files not found, XRandr won't be supported." ;;
10067 xno) ;;
10068 *) as_fn_error $? "libxrandr ${notice_platform}development files not found, XRandr won't be supported.
10069 This is an error since --with-xrandr was requested." "$LINENO" 5 ;;
10070 esac
10073 if test "$ac_cv_header_X11_extensions_Xinerama_h" = "yes"
10074 then
10075 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10076 /* end confdefs.h. */
10077 #include <X11/Xlib.h>
10078 #include <X11/extensions/Xinerama.h>
10080 main ()
10082 static typeof(XineramaQueryScreens) * func; if (func) return 0;
10084 return 0;
10086 _ACEOF
10087 if ac_fn_c_try_compile "$LINENO"; then :
10088 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lXinerama" >&5
10089 $as_echo_n "checking for -lXinerama... " >&6; }
10090 if ${ac_cv_lib_soname_Xinerama+:} false; then :
10091 $as_echo_n "(cached) " >&6
10092 else
10093 ac_check_soname_save_LIBS=$LIBS
10094 LIBS="-lXinerama $X_LIBS $X_EXTRA_LIBS $LIBS"
10095 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10096 /* end confdefs.h. */
10098 /* Override any GCC internal prototype to avoid an error.
10099 Use char because int might match the return type of a GCC
10100 builtin and then its argument prototype would still apply. */
10101 #ifdef __cplusplus
10102 extern "C"
10103 #endif
10104 char XineramaQueryScreens ();
10106 main ()
10108 return XineramaQueryScreens ();
10110 return 0;
10112 _ACEOF
10113 if ac_fn_c_try_link "$LINENO"; then :
10114 case "$LIBEXT" in
10115 dll) ac_cv_lib_soname_Xinerama=`$ac_cv_path_LDD conftest.exe | grep "Xinerama" | sed -e "s/dll.*/dll/"';2,$d'` ;;
10116 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'` ;;
10117 *) ac_cv_lib_soname_Xinerama=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libXinerama\\.$LIBEXT" | sed -e "s/^.*\\[\\(libXinerama\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
10118 if ${ac_cv_lib_soname_Xinerama:+false} :; then :
10119 ac_cv_lib_soname_Xinerama=`$LDD conftest$ac_exeext | grep "libXinerama\\.$LIBEXT" | sed -e "s/^.*\(libXinerama\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
10120 fi ;;
10121 esac
10123 rm -f core conftest.err conftest.$ac_objext \
10124 conftest$ac_exeext conftest.$ac_ext
10125 LIBS=$ac_check_soname_save_LIBS
10127 if ${ac_cv_lib_soname_Xinerama:+false} :; then :
10128 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
10129 $as_echo "not found" >&6; }
10131 else
10132 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_Xinerama" >&5
10133 $as_echo "$ac_cv_lib_soname_Xinerama" >&6; }
10135 cat >>confdefs.h <<_ACEOF
10136 #define SONAME_LIBXINERAMA "$ac_cv_lib_soname_Xinerama"
10137 _ACEOF
10142 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
10144 if test "x$ac_cv_lib_soname_Xinerama" = "x"; then :
10145 case "x$with_xinerama" in
10146 x) as_fn_append wine_notices "|libxinerama ${notice_platform}development files not found, multi-monitor setups won't be supported." ;;
10147 xno) ;;
10148 *) as_fn_error $? "libxinerama ${notice_platform}development files not found, multi-monitor setups won't be supported.
10149 This is an error since --with-xinerama was requested." "$LINENO" 5 ;;
10150 esac
10153 if test "$ac_cv_header_X11_extensions_Xcomposite_h" = "yes"
10154 then
10155 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lXcomposite" >&5
10156 $as_echo_n "checking for -lXcomposite... " >&6; }
10157 if ${ac_cv_lib_soname_Xcomposite+:} false; then :
10158 $as_echo_n "(cached) " >&6
10159 else
10160 ac_check_soname_save_LIBS=$LIBS
10161 LIBS="-lXcomposite $X_LIBS $X_EXTRA_LIBS $LIBS"
10162 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10163 /* end confdefs.h. */
10165 /* Override any GCC internal prototype to avoid an error.
10166 Use char because int might match the return type of a GCC
10167 builtin and then its argument prototype would still apply. */
10168 #ifdef __cplusplus
10169 extern "C"
10170 #endif
10171 char XCompositeRedirectWindow ();
10173 main ()
10175 return XCompositeRedirectWindow ();
10177 return 0;
10179 _ACEOF
10180 if ac_fn_c_try_link "$LINENO"; then :
10181 case "$LIBEXT" in
10182 dll) ac_cv_lib_soname_Xcomposite=`$ac_cv_path_LDD conftest.exe | grep "Xcomposite" | sed -e "s/dll.*/dll/"';2,$d'` ;;
10183 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'` ;;
10184 *) ac_cv_lib_soname_Xcomposite=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libXcomposite\\.$LIBEXT" | sed -e "s/^.*\\[\\(libXcomposite\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
10185 if ${ac_cv_lib_soname_Xcomposite:+false} :; then :
10186 ac_cv_lib_soname_Xcomposite=`$LDD conftest$ac_exeext | grep "libXcomposite\\.$LIBEXT" | sed -e "s/^.*\(libXcomposite\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
10187 fi ;;
10188 esac
10190 rm -f core conftest.err conftest.$ac_objext \
10191 conftest$ac_exeext conftest.$ac_ext
10192 LIBS=$ac_check_soname_save_LIBS
10194 if ${ac_cv_lib_soname_Xcomposite:+false} :; then :
10195 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
10196 $as_echo "not found" >&6; }
10198 else
10199 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_Xcomposite" >&5
10200 $as_echo "$ac_cv_lib_soname_Xcomposite" >&6; }
10202 cat >>confdefs.h <<_ACEOF
10203 #define SONAME_LIBXCOMPOSITE "$ac_cv_lib_soname_Xcomposite"
10204 _ACEOF
10209 if test "x$ac_cv_lib_soname_Xcomposite" = "x"; then :
10210 case "x$with_xcomposite" in
10211 x) as_fn_append wine_notices "|libxcomposite ${notice_platform}development files not found, Xcomposite won't be supported." ;;
10212 xno) ;;
10213 *) as_fn_error $? "libxcomposite ${notice_platform}development files not found, Xcomposite won't be supported.
10214 This is an error since --with-xcomposite was requested." "$LINENO" 5 ;;
10215 esac
10218 ac_fn_c_check_member "$LINENO" "XICCallback" "callback" "ac_cv_member_XICCallback_callback" "#ifdef HAVE_X11_XLIB_H
10219 #include <X11/Xlib.h>
10220 #endif
10222 if test "x$ac_cv_member_XICCallback_callback" = xyes; then :
10224 cat >>confdefs.h <<_ACEOF
10225 #define HAVE_XICCALLBACK_CALLBACK 1
10226 _ACEOF
10230 ac_fn_c_check_member "$LINENO" "XEvent" "xcookie" "ac_cv_member_XEvent_xcookie" "#ifdef HAVE_X11_XLIB_H
10231 #include <X11/Xlib.h>
10232 #endif
10234 if test "x$ac_cv_member_XEvent_xcookie" = xyes; then :
10236 cat >>confdefs.h <<_ACEOF
10237 #define HAVE_XEVENT_XCOOKIE 1
10238 _ACEOF
10245 opengl_msg=""
10246 if test "x$with_opengl" != "xno"
10247 then
10248 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lGL" >&5
10249 $as_echo_n "checking for -lGL... " >&6; }
10250 if ${ac_cv_lib_soname_GL+:} false; then :
10251 $as_echo_n "(cached) " >&6
10252 else
10253 ac_check_soname_save_LIBS=$LIBS
10254 LIBS="-lGL $X_LIBS -lm $X_EXTRA_LIBS $LIBS"
10255 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10256 /* end confdefs.h. */
10258 /* Override any GCC internal prototype to avoid an error.
10259 Use char because int might match the return type of a GCC
10260 builtin and then its argument prototype would still apply. */
10261 #ifdef __cplusplus
10262 extern "C"
10263 #endif
10264 char glXCreateContext ();
10266 main ()
10268 return glXCreateContext ();
10270 return 0;
10272 _ACEOF
10273 if ac_fn_c_try_link "$LINENO"; then :
10274 case "$LIBEXT" in
10275 dll) ac_cv_lib_soname_GL=`$ac_cv_path_LDD conftest.exe | grep "GL" | sed -e "s/dll.*/dll/"';2,$d'` ;;
10276 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'` ;;
10277 *) ac_cv_lib_soname_GL=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libGL\\.$LIBEXT" | sed -e "s/^.*\\[\\(libGL\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
10278 if ${ac_cv_lib_soname_GL:+false} :; then :
10279 ac_cv_lib_soname_GL=`$LDD conftest$ac_exeext | grep "libGL\\.$LIBEXT" | sed -e "s/^.*\(libGL\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
10280 fi ;;
10281 esac
10283 rm -f core conftest.err conftest.$ac_objext \
10284 conftest$ac_exeext conftest.$ac_ext
10285 LIBS=$ac_check_soname_save_LIBS
10287 if ${ac_cv_lib_soname_GL:+false} :; then :
10288 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
10289 $as_echo "not found" >&6; }
10290 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lGL" >&5
10291 $as_echo_n "checking for -lGL... " >&6; }
10292 if ${ac_cv_lib_soname_GL+:} false; then :
10293 $as_echo_n "(cached) " >&6
10294 else
10295 ac_check_soname_save_LIBS=$LIBS
10296 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"
10297 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10298 /* end confdefs.h. */
10300 /* Override any GCC internal prototype to avoid an error.
10301 Use char because int might match the return type of a GCC
10302 builtin and then its argument prototype would still apply. */
10303 #ifdef __cplusplus
10304 extern "C"
10305 #endif
10306 char glXCreateContext ();
10308 main ()
10310 return glXCreateContext ();
10312 return 0;
10314 _ACEOF
10315 if ac_fn_c_try_link "$LINENO"; then :
10316 case "$LIBEXT" in
10317 dll) ac_cv_lib_soname_GL=`$ac_cv_path_LDD conftest.exe | grep "GL" | sed -e "s/dll.*/dll/"';2,$d'` ;;
10318 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'` ;;
10319 *) ac_cv_lib_soname_GL=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libGL\\.$LIBEXT" | sed -e "s/^.*\\[\\(libGL\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
10320 if ${ac_cv_lib_soname_GL:+false} :; then :
10321 ac_cv_lib_soname_GL=`$LDD conftest$ac_exeext | grep "libGL\\.$LIBEXT" | sed -e "s/^.*\(libGL\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
10322 fi ;;
10323 esac
10325 rm -f core conftest.err conftest.$ac_objext \
10326 conftest$ac_exeext conftest.$ac_ext
10327 LIBS=$ac_check_soname_save_LIBS
10329 if ${ac_cv_lib_soname_GL:+false} :; then :
10330 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
10331 $as_echo "not found" >&6; }
10332 if test -f /usr/X11R6/lib/libGL.a
10333 then
10334 opengl_msg="/usr/X11R6/lib/libGL.a is present on your system.
10335 This probably prevents linking to OpenGL. Try deleting the file and restarting configure."
10336 else
10337 opengl_msg="No OpenGL library found on this system."
10339 else
10340 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_GL" >&5
10341 $as_echo "$ac_cv_lib_soname_GL" >&6; }
10343 cat >>confdefs.h <<_ACEOF
10344 #define SONAME_LIBGL "$ac_cv_lib_soname_GL"
10345 _ACEOF
10347 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"
10349 else
10350 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_GL" >&5
10351 $as_echo "$ac_cv_lib_soname_GL" >&6; }
10353 cat >>confdefs.h <<_ACEOF
10354 #define SONAME_LIBGL "$ac_cv_lib_soname_GL"
10355 _ACEOF
10357 OPENGL_LIBS="-lGL"
10359 if test "x$with_glu" != "xno"
10360 then
10361 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for gluLookAt in -lGLU" >&5
10362 $as_echo_n "checking for gluLookAt in -lGLU... " >&6; }
10363 if ${ac_cv_lib_GLU_gluLookAt+:} false; then :
10364 $as_echo_n "(cached) " >&6
10365 else
10366 ac_check_lib_save_LIBS=$LIBS
10367 LIBS="-lGLU $OPENGL_LIBS $X_LIBS -lm $X_EXTRA_LIBS $LIBS"
10368 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10369 /* end confdefs.h. */
10371 /* Override any GCC internal prototype to avoid an error.
10372 Use char because int might match the return type of a GCC
10373 builtin and then its argument prototype would still apply. */
10374 #ifdef __cplusplus
10375 extern "C"
10376 #endif
10377 char gluLookAt ();
10379 main ()
10381 return gluLookAt ();
10383 return 0;
10385 _ACEOF
10386 if ac_fn_c_try_link "$LINENO"; then :
10387 ac_cv_lib_GLU_gluLookAt=yes
10388 else
10389 ac_cv_lib_GLU_gluLookAt=no
10391 rm -f core conftest.err conftest.$ac_objext \
10392 conftest$ac_exeext conftest.$ac_ext
10393 LIBS=$ac_check_lib_save_LIBS
10395 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_GLU_gluLookAt" >&5
10396 $as_echo "$ac_cv_lib_GLU_gluLookAt" >&6; }
10397 if test "x$ac_cv_lib_GLU_gluLookAt" = xyes; then :
10401 if test "x$ac_cv_lib_GLU_gluLookAt" != xyes; then :
10402 case "x$with_glu" in
10403 x) as_fn_append wine_notices "|libGLU ${notice_platform}development files not found, GLU won't be supported." ;;
10404 xno) ;;
10405 *) as_fn_error $? "libGLU ${notice_platform}development files not found, GLU won't be supported.
10406 This is an error since --with-glu was requested." "$LINENO" 5 ;;
10407 esac
10411 if test "x$with_osmesa" != "xno"
10412 then
10413 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lOSMesa" >&5
10414 $as_echo_n "checking for -lOSMesa... " >&6; }
10415 if ${ac_cv_lib_soname_OSMesa+:} false; then :
10416 $as_echo_n "(cached) " >&6
10417 else
10418 ac_check_soname_save_LIBS=$LIBS
10419 LIBS="-lOSMesa $X_LIBS -lm $X_EXTRA_LIBS $LIBS"
10420 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10421 /* end confdefs.h. */
10423 /* Override any GCC internal prototype to avoid an error.
10424 Use char because int might match the return type of a GCC
10425 builtin and then its argument prototype would still apply. */
10426 #ifdef __cplusplus
10427 extern "C"
10428 #endif
10429 char glAccum ();
10431 main ()
10433 return glAccum ();
10435 return 0;
10437 _ACEOF
10438 if ac_fn_c_try_link "$LINENO"; then :
10439 case "$LIBEXT" in
10440 dll) ac_cv_lib_soname_OSMesa=`$ac_cv_path_LDD conftest.exe | grep "OSMesa" | sed -e "s/dll.*/dll/"';2,$d'` ;;
10441 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'` ;;
10442 *) ac_cv_lib_soname_OSMesa=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libOSMesa\\.$LIBEXT" | sed -e "s/^.*\\[\\(libOSMesa\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
10443 if ${ac_cv_lib_soname_OSMesa:+false} :; then :
10444 ac_cv_lib_soname_OSMesa=`$LDD conftest$ac_exeext | grep "libOSMesa\\.$LIBEXT" | sed -e "s/^.*\(libOSMesa\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
10445 fi ;;
10446 esac
10448 rm -f core conftest.err conftest.$ac_objext \
10449 conftest$ac_exeext conftest.$ac_ext
10450 LIBS=$ac_check_soname_save_LIBS
10452 if ${ac_cv_lib_soname_OSMesa:+false} :; then :
10453 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
10454 $as_echo "not found" >&6; }
10456 else
10457 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_OSMesa" >&5
10458 $as_echo "$ac_cv_lib_soname_OSMesa" >&6; }
10460 cat >>confdefs.h <<_ACEOF
10461 #define SONAME_LIBOSMESA "$ac_cv_lib_soname_OSMesa"
10462 _ACEOF
10466 if test "x$ac_cv_lib_soname_OSMesa" = "x"; then :
10467 case "x$with_osmesa" in
10468 x) as_fn_append wine_notices "|libOSMesa ${notice_platform}development files not found (or too old), OpenGL rendering in bitmaps won't be supported." ;;
10469 xno) ;;
10470 *) as_fn_error $? "libOSMesa ${notice_platform}development files not found (or too old), OpenGL rendering in bitmaps won't be supported.
10471 This is an error since --with-osmesa was requested." "$LINENO" 5 ;;
10472 esac
10476 if test -n "$opengl_msg"; then :
10477 case "x$with_opengl" in
10478 x) as_fn_append wine_warnings "|$opengl_msg
10479 OpenGL and Direct3D won't be supported." ;;
10480 xno) ;;
10481 *) as_fn_error $? "$opengl_msg
10482 OpenGL and Direct3D won't be supported.
10483 This is an error since --with-opengl was requested." "$LINENO" 5 ;;
10484 esac
10487 CPPFLAGS="$ac_save_CPPFLAGS"
10488 else
10489 X_CFLAGS=""
10490 X_LIBS=""
10491 enable_winex11_drv=${enable_winex11_drv:-no}
10493 if test "x$X_LIBS" = "x"; then :
10494 case "x$with_x" in
10495 xno) ;;
10496 *) as_fn_error $? "X ${notice_platform}development files not found. Wine will be built
10497 without X support, which probably isn't what you want. You will need
10498 to install ${notice_platform}development packages of Xlib/Xfree86 at the very least.
10499 Use the --without-x option if you really want this." "$LINENO" 5 ;;
10500 esac
10503 test "x$ac_cv_lib_GLU_gluLookAt" != xyes && enable_glu32=${enable_glu32:-no}
10505 if test "$ac_cv_header_CL_cl_h" = "yes"
10506 then
10507 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for clGetPlatformInfo in -lOpenCL" >&5
10508 $as_echo_n "checking for clGetPlatformInfo in -lOpenCL... " >&6; }
10509 if ${ac_cv_lib_OpenCL_clGetPlatformInfo+:} false; then :
10510 $as_echo_n "(cached) " >&6
10511 else
10512 ac_check_lib_save_LIBS=$LIBS
10513 LIBS="-lOpenCL $LIBS"
10514 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10515 /* end confdefs.h. */
10517 /* Override any GCC internal prototype to avoid an error.
10518 Use char because int might match the return type of a GCC
10519 builtin and then its argument prototype would still apply. */
10520 #ifdef __cplusplus
10521 extern "C"
10522 #endif
10523 char clGetPlatformInfo ();
10525 main ()
10527 return clGetPlatformInfo ();
10529 return 0;
10531 _ACEOF
10532 if ac_fn_c_try_link "$LINENO"; then :
10533 ac_cv_lib_OpenCL_clGetPlatformInfo=yes
10534 else
10535 ac_cv_lib_OpenCL_clGetPlatformInfo=no
10537 rm -f core conftest.err conftest.$ac_objext \
10538 conftest$ac_exeext conftest.$ac_ext
10539 LIBS=$ac_check_lib_save_LIBS
10541 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_OpenCL_clGetPlatformInfo" >&5
10542 $as_echo "$ac_cv_lib_OpenCL_clGetPlatformInfo" >&6; }
10543 if test "x$ac_cv_lib_OpenCL_clGetPlatformInfo" = xyes; then :
10544 OPENCL_LIBS="-lOpenCL"
10549 if test "x$ac_cv_lib_OpenCL_clGetPlatformInfo" != xyes; then :
10550 case "x$with_opencl" in
10551 x) as_fn_append wine_notices "|OpenCL ${notice_platform}development files not found, OpenCL won't be supported." ;;
10552 xno) ;;
10553 *) as_fn_error $? "OpenCL ${notice_platform}development files not found, OpenCL won't be supported.
10554 This is an error since --with-opencl was requested." "$LINENO" 5 ;;
10555 esac
10557 test "x$ac_cv_lib_OpenCL_clGetPlatformInfo" != xyes && enable_opencl=${enable_opencl:-no}
10559 if test "$ac_cv_header_pcap_pcap_h" = "yes"
10560 then
10561 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for pcap_create in -lpcap" >&5
10562 $as_echo_n "checking for pcap_create in -lpcap... " >&6; }
10563 if ${ac_cv_lib_pcap_pcap_create+:} false; then :
10564 $as_echo_n "(cached) " >&6
10565 else
10566 ac_check_lib_save_LIBS=$LIBS
10567 LIBS="-lpcap $LIBS"
10568 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10569 /* end confdefs.h. */
10571 /* Override any GCC internal prototype to avoid an error.
10572 Use char because int might match the return type of a GCC
10573 builtin and then its argument prototype would still apply. */
10574 #ifdef __cplusplus
10575 extern "C"
10576 #endif
10577 char pcap_create ();
10579 main ()
10581 return pcap_create ();
10583 return 0;
10585 _ACEOF
10586 if ac_fn_c_try_link "$LINENO"; then :
10587 ac_cv_lib_pcap_pcap_create=yes
10588 else
10589 ac_cv_lib_pcap_pcap_create=no
10591 rm -f core conftest.err conftest.$ac_objext \
10592 conftest$ac_exeext conftest.$ac_ext
10593 LIBS=$ac_check_lib_save_LIBS
10595 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_pcap_pcap_create" >&5
10596 $as_echo "$ac_cv_lib_pcap_pcap_create" >&6; }
10597 if test "x$ac_cv_lib_pcap_pcap_create" = xyes; then :
10598 LIBPCAP="-lpcap"
10603 if test "x$ac_cv_lib_pcap_pcap_create" != xyes; then :
10604 case "x$with_pcap" in
10605 x) as_fn_append wine_notices "|pcap ${notice_platform}development files not found, wpcap won't be supported." ;;
10606 xno) ;;
10607 *) as_fn_error $? "pcap ${notice_platform}development files not found, wpcap won't be supported.
10608 This is an error since --with-pcap was requested." "$LINENO" 5 ;;
10609 esac
10611 test "x$ac_cv_lib_pcap_pcap_create" != xyes && enable_wpcap=${enable_wpcap:-no}
10614 if test "x$with_xml" != "xno"
10615 then
10616 if ${XML2_CFLAGS:+false} :; then :
10617 if ${PKG_CONFIG+:} false; then :
10618 XML2_CFLAGS=`$PKG_CONFIG --cflags libxml-2.0 2>/dev/null`
10621 test "$cross_compiling" = yes || XML2_CFLAGS=${XML2_CFLAGS:-`xml2-config --cflags 2>/dev/null`}
10622 if ${XML2_LIBS:+false} :; then :
10623 if ${PKG_CONFIG+:} false; then :
10624 XML2_LIBS=`$PKG_CONFIG --libs libxml-2.0 2>/dev/null`
10627 test "$cross_compiling" = yes || XML2_LIBS=${XML2_LIBS:-`xml2-config --libs 2>/dev/null`}
10628 XML2_LIBS=${XML2_LIBS:-"-lxml2"}
10629 $as_echo "$as_me:${as_lineno-$LINENO}: libxml-2.0 cflags: $XML2_CFLAGS" >&5
10630 $as_echo "$as_me:${as_lineno-$LINENO}: libxml-2.0 libs: $XML2_LIBS" >&5
10631 ac_save_CPPFLAGS=$CPPFLAGS
10632 CPPFLAGS="$CPPFLAGS $XML2_CFLAGS"
10633 for ac_header in libxml/parser.h libxml/xmlsave.h libxml/SAX2.h
10634 do :
10635 as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
10636 ac_fn_c_check_header_mongrel "$LINENO" "$ac_header" "$as_ac_Header" "$ac_includes_default"
10637 if eval test \"x\$"$as_ac_Header"\" = x"yes"; then :
10638 cat >>confdefs.h <<_ACEOF
10639 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
10640 _ACEOF
10644 done
10646 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"
10647 then
10648 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for xmlParseMemory in -lxml2" >&5
10649 $as_echo_n "checking for xmlParseMemory in -lxml2... " >&6; }
10650 if ${ac_cv_lib_xml2_xmlParseMemory+:} false; then :
10651 $as_echo_n "(cached) " >&6
10652 else
10653 ac_check_lib_save_LIBS=$LIBS
10654 LIBS="-lxml2 $XML2_LIBS $LIBS"
10655 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10656 /* end confdefs.h. */
10658 /* Override any GCC internal prototype to avoid an error.
10659 Use char because int might match the return type of a GCC
10660 builtin and then its argument prototype would still apply. */
10661 #ifdef __cplusplus
10662 extern "C"
10663 #endif
10664 char xmlParseMemory ();
10666 main ()
10668 return xmlParseMemory ();
10670 return 0;
10672 _ACEOF
10673 if ac_fn_c_try_link "$LINENO"; then :
10674 ac_cv_lib_xml2_xmlParseMemory=yes
10675 else
10676 ac_cv_lib_xml2_xmlParseMemory=no
10678 rm -f core conftest.err conftest.$ac_objext \
10679 conftest$ac_exeext conftest.$ac_ext
10680 LIBS=$ac_check_lib_save_LIBS
10682 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_xml2_xmlParseMemory" >&5
10683 $as_echo "$ac_cv_lib_xml2_xmlParseMemory" >&6; }
10684 if test "x$ac_cv_lib_xml2_xmlParseMemory" = xyes; then :
10686 $as_echo "#define HAVE_LIBXML2 1" >>confdefs.h
10688 else
10689 XML2_LIBS=""
10692 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for xmlReadMemory in -lxml2" >&5
10693 $as_echo_n "checking for xmlReadMemory in -lxml2... " >&6; }
10694 if ${ac_cv_lib_xml2_xmlReadMemory+:} false; then :
10695 $as_echo_n "(cached) " >&6
10696 else
10697 ac_check_lib_save_LIBS=$LIBS
10698 LIBS="-lxml2 $XML2_LIBS $LIBS"
10699 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10700 /* end confdefs.h. */
10702 /* Override any GCC internal prototype to avoid an error.
10703 Use char because int might match the return type of a GCC
10704 builtin and then its argument prototype would still apply. */
10705 #ifdef __cplusplus
10706 extern "C"
10707 #endif
10708 char xmlReadMemory ();
10710 main ()
10712 return xmlReadMemory ();
10714 return 0;
10716 _ACEOF
10717 if ac_fn_c_try_link "$LINENO"; then :
10718 ac_cv_lib_xml2_xmlReadMemory=yes
10719 else
10720 ac_cv_lib_xml2_xmlReadMemory=no
10722 rm -f core conftest.err conftest.$ac_objext \
10723 conftest$ac_exeext conftest.$ac_ext
10724 LIBS=$ac_check_lib_save_LIBS
10726 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_xml2_xmlReadMemory" >&5
10727 $as_echo "$ac_cv_lib_xml2_xmlReadMemory" >&6; }
10728 if test "x$ac_cv_lib_xml2_xmlReadMemory" = xyes; then :
10730 $as_echo "#define HAVE_XMLREADMEMORY 1" >>confdefs.h
10734 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for xmlNewDocPI in -lxml2" >&5
10735 $as_echo_n "checking for xmlNewDocPI in -lxml2... " >&6; }
10736 if ${ac_cv_lib_xml2_xmlNewDocPI+:} false; then :
10737 $as_echo_n "(cached) " >&6
10738 else
10739 ac_check_lib_save_LIBS=$LIBS
10740 LIBS="-lxml2 $XML2_LIBS $LIBS"
10741 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10742 /* end confdefs.h. */
10744 /* Override any GCC internal prototype to avoid an error.
10745 Use char because int might match the return type of a GCC
10746 builtin and then its argument prototype would still apply. */
10747 #ifdef __cplusplus
10748 extern "C"
10749 #endif
10750 char xmlNewDocPI ();
10752 main ()
10754 return xmlNewDocPI ();
10756 return 0;
10758 _ACEOF
10759 if ac_fn_c_try_link "$LINENO"; then :
10760 ac_cv_lib_xml2_xmlNewDocPI=yes
10761 else
10762 ac_cv_lib_xml2_xmlNewDocPI=no
10764 rm -f core conftest.err conftest.$ac_objext \
10765 conftest$ac_exeext conftest.$ac_ext
10766 LIBS=$ac_check_lib_save_LIBS
10768 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_xml2_xmlNewDocPI" >&5
10769 $as_echo "$ac_cv_lib_xml2_xmlNewDocPI" >&6; }
10770 if test "x$ac_cv_lib_xml2_xmlNewDocPI" = xyes; then :
10772 $as_echo "#define HAVE_XMLNEWDOCPI 1" >>confdefs.h
10776 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for xmlSchemaSetParserStructuredErrors in -lxml2" >&5
10777 $as_echo_n "checking for xmlSchemaSetParserStructuredErrors in -lxml2... " >&6; }
10778 if ${ac_cv_lib_xml2_xmlSchemaSetParserStructuredErrors+:} false; then :
10779 $as_echo_n "(cached) " >&6
10780 else
10781 ac_check_lib_save_LIBS=$LIBS
10782 LIBS="-lxml2 $XML2_LIBS $LIBS"
10783 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10784 /* end confdefs.h. */
10786 /* Override any GCC internal prototype to avoid an error.
10787 Use char because int might match the return type of a GCC
10788 builtin and then its argument prototype would still apply. */
10789 #ifdef __cplusplus
10790 extern "C"
10791 #endif
10792 char xmlSchemaSetParserStructuredErrors ();
10794 main ()
10796 return xmlSchemaSetParserStructuredErrors ();
10798 return 0;
10800 _ACEOF
10801 if ac_fn_c_try_link "$LINENO"; then :
10802 ac_cv_lib_xml2_xmlSchemaSetParserStructuredErrors=yes
10803 else
10804 ac_cv_lib_xml2_xmlSchemaSetParserStructuredErrors=no
10806 rm -f core conftest.err conftest.$ac_objext \
10807 conftest$ac_exeext conftest.$ac_ext
10808 LIBS=$ac_check_lib_save_LIBS
10810 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_xml2_xmlSchemaSetParserStructuredErrors" >&5
10811 $as_echo "$ac_cv_lib_xml2_xmlSchemaSetParserStructuredErrors" >&6; }
10812 if test "x$ac_cv_lib_xml2_xmlSchemaSetParserStructuredErrors" = xyes; then :
10814 $as_echo "#define HAVE_XMLSCHEMASSETPARSERSTRUCTUREDERRORS 1" >>confdefs.h
10818 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for xmlSchemaSetValidStructuredErrors in -lxml2" >&5
10819 $as_echo_n "checking for xmlSchemaSetValidStructuredErrors in -lxml2... " >&6; }
10820 if ${ac_cv_lib_xml2_xmlSchemaSetValidStructuredErrors+:} false; then :
10821 $as_echo_n "(cached) " >&6
10822 else
10823 ac_check_lib_save_LIBS=$LIBS
10824 LIBS="-lxml2 $XML2_LIBS $LIBS"
10825 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10826 /* end confdefs.h. */
10828 /* Override any GCC internal prototype to avoid an error.
10829 Use char because int might match the return type of a GCC
10830 builtin and then its argument prototype would still apply. */
10831 #ifdef __cplusplus
10832 extern "C"
10833 #endif
10834 char xmlSchemaSetValidStructuredErrors ();
10836 main ()
10838 return xmlSchemaSetValidStructuredErrors ();
10840 return 0;
10842 _ACEOF
10843 if ac_fn_c_try_link "$LINENO"; then :
10844 ac_cv_lib_xml2_xmlSchemaSetValidStructuredErrors=yes
10845 else
10846 ac_cv_lib_xml2_xmlSchemaSetValidStructuredErrors=no
10848 rm -f core conftest.err conftest.$ac_objext \
10849 conftest$ac_exeext conftest.$ac_ext
10850 LIBS=$ac_check_lib_save_LIBS
10852 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_xml2_xmlSchemaSetValidStructuredErrors" >&5
10853 $as_echo "$ac_cv_lib_xml2_xmlSchemaSetValidStructuredErrors" >&6; }
10854 if test "x$ac_cv_lib_xml2_xmlSchemaSetValidStructuredErrors" = xyes; then :
10856 $as_echo "#define HAVE_XMLSCHEMASSETVALIDSTRUCTUREDERRORS 1" >>confdefs.h
10860 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for xmlFirstElementChild in -lxml2" >&5
10861 $as_echo_n "checking for xmlFirstElementChild in -lxml2... " >&6; }
10862 if ${ac_cv_lib_xml2_xmlFirstElementChild+:} false; then :
10863 $as_echo_n "(cached) " >&6
10864 else
10865 ac_check_lib_save_LIBS=$LIBS
10866 LIBS="-lxml2 $XML2_LIBS $LIBS"
10867 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10868 /* end confdefs.h. */
10870 /* Override any GCC internal prototype to avoid an error.
10871 Use char because int might match the return type of a GCC
10872 builtin and then its argument prototype would still apply. */
10873 #ifdef __cplusplus
10874 extern "C"
10875 #endif
10876 char xmlFirstElementChild ();
10878 main ()
10880 return xmlFirstElementChild ();
10882 return 0;
10884 _ACEOF
10885 if ac_fn_c_try_link "$LINENO"; then :
10886 ac_cv_lib_xml2_xmlFirstElementChild=yes
10887 else
10888 ac_cv_lib_xml2_xmlFirstElementChild=no
10890 rm -f core conftest.err conftest.$ac_objext \
10891 conftest$ac_exeext conftest.$ac_ext
10892 LIBS=$ac_check_lib_save_LIBS
10894 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_xml2_xmlFirstElementChild" >&5
10895 $as_echo "$ac_cv_lib_xml2_xmlFirstElementChild" >&6; }
10896 if test "x$ac_cv_lib_xml2_xmlFirstElementChild" = xyes; then :
10898 $as_echo "#define HAVE_XMLFIRSTELEMENTCHILD 1" >>confdefs.h
10902 ac_fn_c_check_type "$LINENO" "xmlDocProperties" "ac_cv_type_xmlDocProperties" "#include <libxml/tree.h>
10904 if test "x$ac_cv_type_xmlDocProperties" = xyes; then :
10906 $as_echo "#define HAVE_XMLDOC_PROPERTIES 1" >>confdefs.h
10910 else
10911 XML2_CFLAGS=""
10912 XML2_LIBS=""
10914 CPPFLAGS=$ac_save_CPPFLAGS
10915 test -z "$XML2_CFLAGS" || XML2_CFLAGS=`echo " $XML2_CFLAGS" | sed 's/ -I\([^/]\)/ -I\$(top_builddir)\/\1/g'`
10916 test -z "$XML2_LIBS" || XML2_LIBS=`echo " $XML2_LIBS" | sed 's/ -L\([^/]\)/ -L\$(top_builddir)\/\1/g'`
10919 if test "$ac_cv_lib_xml2_xmlParseMemory" != "yes"; then :
10920 case "x$with_xml" in
10921 x) as_fn_append wine_warnings "|libxml2 ${notice_platform}development files not found (or too old), XML won't be supported." ;;
10922 xno) ;;
10923 *) as_fn_error $? "libxml2 ${notice_platform}development files not found (or too old), XML won't be supported.
10924 This is an error since --with-xml was requested." "$LINENO" 5 ;;
10925 esac
10928 if test "x$with_xslt" != "xno"
10929 then
10930 if ${XSLT_CFLAGS:+false} :; then :
10931 if ${PKG_CONFIG+:} false; then :
10932 XSLT_CFLAGS=`$PKG_CONFIG --cflags libxslt 2>/dev/null`
10935 test "$cross_compiling" = yes || XSLT_CFLAGS=${XSLT_CFLAGS:-`xslt-config --cflags 2>/dev/null`}
10936 if ${XSLT_LIBS:+false} :; then :
10937 if ${PKG_CONFIG+:} false; then :
10938 XSLT_LIBS=`$PKG_CONFIG --libs libxslt 2>/dev/null`
10941 test "$cross_compiling" = yes || XSLT_LIBS=${XSLT_LIBS:-`xslt-config --libs 2>/dev/null`}
10942 XSLT_LIBS=${XSLT_LIBS:-"-lxml2"}
10943 $as_echo "$as_me:${as_lineno-$LINENO}: libxslt cflags: $XSLT_CFLAGS" >&5
10944 $as_echo "$as_me:${as_lineno-$LINENO}: libxslt libs: $XSLT_LIBS" >&5
10945 ac_save_CPPFLAGS=$CPPFLAGS
10946 CPPFLAGS="$CPPFLAGS $XSLT_CFLAGS"
10947 for ac_header in libxslt/pattern.h libxslt/transform.h
10948 do :
10949 as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
10950 ac_fn_c_check_header_compile "$LINENO" "$ac_header" "$as_ac_Header" "#ifdef HAVE_LIBXSLT_PATTERN_H
10951 # include <libxslt/pattern.h>
10952 #endif
10954 if eval test \"x\$"$as_ac_Header"\" = x"yes"; then :
10955 cat >>confdefs.h <<_ACEOF
10956 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
10957 _ACEOF
10961 done
10963 if test "$ac_cv_header_libxslt_transform_h" = "yes"
10964 then
10965 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lxslt" >&5
10966 $as_echo_n "checking for -lxslt... " >&6; }
10967 if ${ac_cv_lib_soname_xslt+:} false; then :
10968 $as_echo_n "(cached) " >&6
10969 else
10970 ac_check_soname_save_LIBS=$LIBS
10971 LIBS="-lxslt $XSLT_LIBS $LIBS"
10972 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10973 /* end confdefs.h. */
10975 /* Override any GCC internal prototype to avoid an error.
10976 Use char because int might match the return type of a GCC
10977 builtin and then its argument prototype would still apply. */
10978 #ifdef __cplusplus
10979 extern "C"
10980 #endif
10981 char xsltCompilePattern ();
10983 main ()
10985 return xsltCompilePattern ();
10987 return 0;
10989 _ACEOF
10990 if ac_fn_c_try_link "$LINENO"; then :
10991 case "$LIBEXT" in
10992 dll) ac_cv_lib_soname_xslt=`$ac_cv_path_LDD conftest.exe | grep "xslt" | sed -e "s/dll.*/dll/"';2,$d'` ;;
10993 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'` ;;
10994 *) ac_cv_lib_soname_xslt=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libxslt\\.$LIBEXT" | sed -e "s/^.*\\[\\(libxslt\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
10995 if ${ac_cv_lib_soname_xslt:+false} :; then :
10996 ac_cv_lib_soname_xslt=`$LDD conftest$ac_exeext | grep "libxslt\\.$LIBEXT" | sed -e "s/^.*\(libxslt\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
10997 fi ;;
10998 esac
11000 rm -f core conftest.err conftest.$ac_objext \
11001 conftest$ac_exeext conftest.$ac_ext
11002 LIBS=$ac_check_soname_save_LIBS
11004 if ${ac_cv_lib_soname_xslt:+false} :; then :
11005 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
11006 $as_echo "not found" >&6; }
11008 else
11009 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_xslt" >&5
11010 $as_echo "$ac_cv_lib_soname_xslt" >&6; }
11012 cat >>confdefs.h <<_ACEOF
11013 #define SONAME_LIBXSLT "$ac_cv_lib_soname_xslt"
11014 _ACEOF
11018 else
11019 XSLT_CFLAGS=""
11021 CPPFLAGS=$ac_save_CPPFLAGS
11022 test -z "$XSLT_CFLAGS" || XSLT_CFLAGS=`echo " $XSLT_CFLAGS" | sed 's/ -I\([^/]\)/ -I\$(top_builddir)\/\1/g'`
11023 test -z "$XSLT_LIBS" || XSLT_LIBS=`echo " $XSLT_LIBS" | sed 's/ -L\([^/]\)/ -L\$(top_builddir)\/\1/g'`
11026 if test "x$ac_cv_lib_soname_xslt" = "x"; then :
11027 case "x$with_xslt" in
11028 x) as_fn_append wine_warnings "|libxslt ${notice_platform}development files not found, xslt won't be supported." ;;
11029 xno) ;;
11030 *) as_fn_error $? "libxslt ${notice_platform}development files not found, xslt won't be supported.
11031 This is an error since --with-xslt was requested." "$LINENO" 5 ;;
11032 esac
11035 if test "x$with_dbus" != "xno"
11036 then
11037 if ${DBUS_CFLAGS:+false} :; then :
11038 if ${PKG_CONFIG+:} false; then :
11039 DBUS_CFLAGS=`$PKG_CONFIG --cflags dbus-1 2>/dev/null`
11043 if ${DBUS_LIBS:+false} :; then :
11044 if ${PKG_CONFIG+:} false; then :
11045 DBUS_LIBS=`$PKG_CONFIG --libs dbus-1 2>/dev/null`
11050 $as_echo "$as_me:${as_lineno-$LINENO}: dbus-1 cflags: $DBUS_CFLAGS" >&5
11051 $as_echo "$as_me:${as_lineno-$LINENO}: dbus-1 libs: $DBUS_LIBS" >&5
11052 ac_save_CPPFLAGS=$CPPFLAGS
11053 CPPFLAGS="$CPPFLAGS $DBUS_CFLAGS"
11054 ac_fn_c_check_header_mongrel "$LINENO" "dbus/dbus.h" "ac_cv_header_dbus_dbus_h" "$ac_includes_default"
11055 if test "x$ac_cv_header_dbus_dbus_h" = xyes; then :
11056 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -ldbus-1" >&5
11057 $as_echo_n "checking for -ldbus-1... " >&6; }
11058 if ${ac_cv_lib_soname_dbus_1+:} false; then :
11059 $as_echo_n "(cached) " >&6
11060 else
11061 ac_check_soname_save_LIBS=$LIBS
11062 LIBS="-ldbus-1 $DBUS_LIBS $LIBS"
11063 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11064 /* end confdefs.h. */
11066 /* Override any GCC internal prototype to avoid an error.
11067 Use char because int might match the return type of a GCC
11068 builtin and then its argument prototype would still apply. */
11069 #ifdef __cplusplus
11070 extern "C"
11071 #endif
11072 char dbus_connection_close ();
11074 main ()
11076 return dbus_connection_close ();
11078 return 0;
11080 _ACEOF
11081 if ac_fn_c_try_link "$LINENO"; then :
11082 case "$LIBEXT" in
11083 dll) ac_cv_lib_soname_dbus_1=`$ac_cv_path_LDD conftest.exe | grep "dbus-1" | sed -e "s/dll.*/dll/"';2,$d'` ;;
11084 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'` ;;
11085 *) 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'`
11086 if ${ac_cv_lib_soname_dbus_1:+false} :; then :
11087 ac_cv_lib_soname_dbus_1=`$LDD conftest$ac_exeext | grep "libdbus-1\\.$LIBEXT" | sed -e "s/^.*\(libdbus-1\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
11088 fi ;;
11089 esac
11091 rm -f core conftest.err conftest.$ac_objext \
11092 conftest$ac_exeext conftest.$ac_ext
11093 LIBS=$ac_check_soname_save_LIBS
11095 if ${ac_cv_lib_soname_dbus_1:+false} :; then :
11096 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
11097 $as_echo "not found" >&6; }
11098 DBUS_CFLAGS=""
11099 else
11100 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_dbus_1" >&5
11101 $as_echo "$ac_cv_lib_soname_dbus_1" >&6; }
11103 cat >>confdefs.h <<_ACEOF
11104 #define SONAME_LIBDBUS_1 "$ac_cv_lib_soname_dbus_1"
11105 _ACEOF
11109 else
11110 DBUS_CFLAGS=""
11114 CPPFLAGS=$ac_save_CPPFLAGS
11115 test -z "$DBUS_CFLAGS" || DBUS_CFLAGS=`echo " $DBUS_CFLAGS" | sed 's/ -I\([^/]\)/ -I\$(top_builddir)\/\1/g'`
11116 test -z "$DBUS_LIBS" || DBUS_LIBS=`echo " $DBUS_LIBS" | sed 's/ -L\([^/]\)/ -L\$(top_builddir)\/\1/g'`
11119 if test "x$ac_cv_lib_soname_dbus_1" = "x" -a \
11120 "x$ac_cv_header_DiskArbitration_DiskArbitration_h" != "xyes"; then :
11121 case "x$with_dbus" in
11122 x) as_fn_append wine_notices "|libdbus ${notice_platform}development files not found, no dynamic device support." ;;
11123 xno) ;;
11124 *) as_fn_error $? "libdbus ${notice_platform}development files not found, no dynamic device support.
11125 This is an error since --with-dbus was requested." "$LINENO" 5 ;;
11126 esac
11129 if test "x$with_hal" != "xno" -a "x$ac_cv_lib_soname_dbus_1" != x
11130 then
11131 if ${HAL_CFLAGS:+false} :; then :
11132 if ${PKG_CONFIG+:} false; then :
11133 HAL_CFLAGS=`$PKG_CONFIG --cflags hal 2>/dev/null`
11137 if ${HAL_LIBS:+false} :; then :
11138 if ${PKG_CONFIG+:} false; then :
11139 HAL_LIBS=`$PKG_CONFIG --libs hal 2>/dev/null`
11143 HAL_LIBS=${HAL_LIBS:-"-ldbus-1"}
11144 $as_echo "$as_me:${as_lineno-$LINENO}: hal cflags: $HAL_CFLAGS" >&5
11145 $as_echo "$as_me:${as_lineno-$LINENO}: hal libs: $HAL_LIBS" >&5
11146 ac_save_CPPFLAGS=$CPPFLAGS
11147 CPPFLAGS="$CPPFLAGS $HAL_CFLAGS"
11148 ac_fn_c_check_header_mongrel "$LINENO" "hal/libhal.h" "ac_cv_header_hal_libhal_h" "$ac_includes_default"
11149 if test "x$ac_cv_header_hal_libhal_h" = xyes; then :
11150 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lhal" >&5
11151 $as_echo_n "checking for -lhal... " >&6; }
11152 if ${ac_cv_lib_soname_hal+:} false; then :
11153 $as_echo_n "(cached) " >&6
11154 else
11155 ac_check_soname_save_LIBS=$LIBS
11156 LIBS="-lhal $HAL_LIBS $LIBS"
11157 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11158 /* end confdefs.h. */
11160 /* Override any GCC internal prototype to avoid an error.
11161 Use char because int might match the return type of a GCC
11162 builtin and then its argument prototype would still apply. */
11163 #ifdef __cplusplus
11164 extern "C"
11165 #endif
11166 char libhal_ctx_new ();
11168 main ()
11170 return libhal_ctx_new ();
11172 return 0;
11174 _ACEOF
11175 if ac_fn_c_try_link "$LINENO"; then :
11176 case "$LIBEXT" in
11177 dll) ac_cv_lib_soname_hal=`$ac_cv_path_LDD conftest.exe | grep "hal" | sed -e "s/dll.*/dll/"';2,$d'` ;;
11178 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'` ;;
11179 *) ac_cv_lib_soname_hal=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libhal\\.$LIBEXT" | sed -e "s/^.*\\[\\(libhal\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
11180 if ${ac_cv_lib_soname_hal:+false} :; then :
11181 ac_cv_lib_soname_hal=`$LDD conftest$ac_exeext | grep "libhal\\.$LIBEXT" | sed -e "s/^.*\(libhal\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
11182 fi ;;
11183 esac
11185 rm -f core conftest.err conftest.$ac_objext \
11186 conftest$ac_exeext conftest.$ac_ext
11187 LIBS=$ac_check_soname_save_LIBS
11189 if ${ac_cv_lib_soname_hal:+false} :; then :
11190 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
11191 $as_echo "not found" >&6; }
11192 HAL_CFLAGS=""
11193 else
11194 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_hal" >&5
11195 $as_echo "$ac_cv_lib_soname_hal" >&6; }
11197 cat >>confdefs.h <<_ACEOF
11198 #define SONAME_LIBHAL "$ac_cv_lib_soname_hal"
11199 _ACEOF
11203 else
11204 HAL_CFLAGS=""
11208 CPPFLAGS=$ac_save_CPPFLAGS
11209 test -z "$HAL_CFLAGS" || HAL_CFLAGS=`echo " $HAL_CFLAGS" | sed 's/ -I\([^/]\)/ -I\$(top_builddir)\/\1/g'`
11210 test -z "$HAL_LIBS" || HAL_LIBS=`echo " $HAL_LIBS" | sed 's/ -L\([^/]\)/ -L\$(top_builddir)\/\1/g'`
11212 if test "x$ac_cv_lib_soname_hal" = "x" -a \
11213 "x$ac_cv_header_DiskArbitration_DiskArbitration_h" != "xyes"; then :
11214 case "x$with_hal" in
11215 x) as_fn_append wine_notices "|libhal ${notice_platform}development files not found, no legacy dynamic device support." ;;
11216 xno) ;;
11217 *) as_fn_error $? "libhal ${notice_platform}development files not found, no legacy dynamic device support.
11218 This is an error since --with-hal was requested." "$LINENO" 5 ;;
11219 esac
11223 if test "x$with_gnutls" != "xno"
11224 then
11225 if ${GNUTLS_CFLAGS:+false} :; then :
11226 if ${PKG_CONFIG+:} false; then :
11227 GNUTLS_CFLAGS=`$PKG_CONFIG --cflags gnutls 2>/dev/null`
11231 if ${GNUTLS_LIBS:+false} :; then :
11232 if ${PKG_CONFIG+:} false; then :
11233 GNUTLS_LIBS=`$PKG_CONFIG --libs gnutls 2>/dev/null`
11238 $as_echo "$as_me:${as_lineno-$LINENO}: gnutls cflags: $GNUTLS_CFLAGS" >&5
11239 $as_echo "$as_me:${as_lineno-$LINENO}: gnutls libs: $GNUTLS_LIBS" >&5
11240 ac_save_CPPFLAGS=$CPPFLAGS
11241 CPPFLAGS="$CPPFLAGS $GNUTLS_CFLAGS"
11242 ac_fn_c_check_header_mongrel "$LINENO" "gnutls/gnutls.h" "ac_cv_header_gnutls_gnutls_h" "$ac_includes_default"
11243 if test "x$ac_cv_header_gnutls_gnutls_h" = xyes; then :
11244 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11245 /* end confdefs.h. */
11246 #include <gnutls/gnutls.h>
11247 #include <gnutls/crypto.h>
11249 main ()
11251 static typeof(gnutls_mac_get_key_size) *func; if (func) return 0;
11253 return 0;
11255 _ACEOF
11256 if ac_fn_c_try_compile "$LINENO"; then :
11257 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lgnutls" >&5
11258 $as_echo_n "checking for -lgnutls... " >&6; }
11259 if ${ac_cv_lib_soname_gnutls+:} false; then :
11260 $as_echo_n "(cached) " >&6
11261 else
11262 ac_check_soname_save_LIBS=$LIBS
11263 LIBS="-lgnutls $GNUTLS_LIBS $LIBS"
11264 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11265 /* end confdefs.h. */
11267 /* Override any GCC internal prototype to avoid an error.
11268 Use char because int might match the return type of a GCC
11269 builtin and then its argument prototype would still apply. */
11270 #ifdef __cplusplus
11271 extern "C"
11272 #endif
11273 char gnutls_global_init ();
11275 main ()
11277 return gnutls_global_init ();
11279 return 0;
11281 _ACEOF
11282 if ac_fn_c_try_link "$LINENO"; then :
11283 case "$LIBEXT" in
11284 dll) ac_cv_lib_soname_gnutls=`$ac_cv_path_LDD conftest.exe | grep "gnutls" | sed -e "s/dll.*/dll/"';2,$d'` ;;
11285 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'` ;;
11286 *) 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'`
11287 if ${ac_cv_lib_soname_gnutls:+false} :; then :
11288 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'`
11289 fi ;;
11290 esac
11292 rm -f core conftest.err conftest.$ac_objext \
11293 conftest$ac_exeext conftest.$ac_ext
11294 LIBS=$ac_check_soname_save_LIBS
11296 if ${ac_cv_lib_soname_gnutls:+false} :; then :
11297 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
11298 $as_echo "not found" >&6; }
11299 GNUTLS_CFLAGS=""
11300 else
11301 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_gnutls" >&5
11302 $as_echo "$ac_cv_lib_soname_gnutls" >&6; }
11304 cat >>confdefs.h <<_ACEOF
11305 #define SONAME_LIBGNUTLS "$ac_cv_lib_soname_gnutls"
11306 _ACEOF
11311 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
11312 else
11313 GNUTLS_CFLAGS=""
11317 CPPFLAGS=$ac_save_CPPFLAGS
11318 test -z "$GNUTLS_CFLAGS" || GNUTLS_CFLAGS=`echo " $GNUTLS_CFLAGS" | sed 's/ -I\([^/]\)/ -I\$(top_builddir)\/\1/g'`
11319 test -z "$GNUTLS_LIBS" || GNUTLS_LIBS=`echo " $GNUTLS_LIBS" | sed 's/ -L\([^/]\)/ -L\$(top_builddir)\/\1/g'`
11322 if test "x$ac_cv_lib_soname_gnutls" = "x"; then :
11323 case "x$with_gnutls" in
11324 x) as_fn_append wine_warnings "|libgnutls ${notice_platform}development files not found, no schannel support." ;;
11325 xno) ;;
11326 *) as_fn_error $? "libgnutls ${notice_platform}development files not found, no schannel support.
11327 This is an error since --with-gnutls was requested." "$LINENO" 5 ;;
11328 esac
11331 CURSES_LIBS=""
11332 if test "$ac_cv_header_ncurses_h" = "yes"
11333 then
11334 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lncurses" >&5
11335 $as_echo_n "checking for -lncurses... " >&6; }
11336 if ${ac_cv_lib_soname_ncurses+:} false; then :
11337 $as_echo_n "(cached) " >&6
11338 else
11339 ac_check_soname_save_LIBS=$LIBS
11340 LIBS="-lncurses $LIBS"
11341 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11342 /* end confdefs.h. */
11344 /* Override any GCC internal prototype to avoid an error.
11345 Use char because int might match the return type of a GCC
11346 builtin and then its argument prototype would still apply. */
11347 #ifdef __cplusplus
11348 extern "C"
11349 #endif
11350 char waddch ();
11352 main ()
11354 return waddch ();
11356 return 0;
11358 _ACEOF
11359 if ac_fn_c_try_link "$LINENO"; then :
11360 case "$LIBEXT" in
11361 dll) ac_cv_lib_soname_ncurses=`$ac_cv_path_LDD conftest.exe | grep "ncurses" | sed -e "s/dll.*/dll/"';2,$d'` ;;
11362 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'` ;;
11363 *) 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'`
11364 if ${ac_cv_lib_soname_ncurses:+false} :; then :
11365 ac_cv_lib_soname_ncurses=`$LDD conftest$ac_exeext | grep "libncursesw\\{0,1\\}\\.$LIBEXT" | sed -e "s/^.*\(libncursesw\\{0,1\\}\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
11366 fi ;;
11367 esac
11369 rm -f core conftest.err conftest.$ac_objext \
11370 conftest$ac_exeext conftest.$ac_ext
11371 LIBS=$ac_check_soname_save_LIBS
11373 if ${ac_cv_lib_soname_ncurses:+false} :; then :
11374 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
11375 $as_echo "not found" >&6; }
11377 else
11378 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_ncurses" >&5
11379 $as_echo "$ac_cv_lib_soname_ncurses" >&6; }
11381 cat >>confdefs.h <<_ACEOF
11382 #define SONAME_LIBNCURSES "$ac_cv_lib_soname_ncurses"
11383 _ACEOF
11385 CURSES_LIBS="-lncurses"
11387 elif test "$ac_cv_header_curses_h" = "yes"
11388 then
11389 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lcurses" >&5
11390 $as_echo_n "checking for -lcurses... " >&6; }
11391 if ${ac_cv_lib_soname_curses+:} false; then :
11392 $as_echo_n "(cached) " >&6
11393 else
11394 ac_check_soname_save_LIBS=$LIBS
11395 LIBS="-lcurses $LIBS"
11396 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11397 /* end confdefs.h. */
11399 /* Override any GCC internal prototype to avoid an error.
11400 Use char because int might match the return type of a GCC
11401 builtin and then its argument prototype would still apply. */
11402 #ifdef __cplusplus
11403 extern "C"
11404 #endif
11405 char waddch ();
11407 main ()
11409 return waddch ();
11411 return 0;
11413 _ACEOF
11414 if ac_fn_c_try_link "$LINENO"; then :
11415 case "$LIBEXT" in
11416 dll) ac_cv_lib_soname_curses=`$ac_cv_path_LDD conftest.exe | grep "curses" | sed -e "s/dll.*/dll/"';2,$d'` ;;
11417 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'` ;;
11418 *) ac_cv_lib_soname_curses=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libcurses\\.$LIBEXT" | sed -e "s/^.*\\[\\(libcurses\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
11419 if ${ac_cv_lib_soname_curses:+false} :; then :
11420 ac_cv_lib_soname_curses=`$LDD conftest$ac_exeext | grep "libcurses\\.$LIBEXT" | sed -e "s/^.*\(libcurses\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
11421 fi ;;
11422 esac
11424 rm -f core conftest.err conftest.$ac_objext \
11425 conftest$ac_exeext conftest.$ac_ext
11426 LIBS=$ac_check_soname_save_LIBS
11428 if ${ac_cv_lib_soname_curses:+false} :; then :
11429 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
11430 $as_echo "not found" >&6; }
11432 else
11433 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_curses" >&5
11434 $as_echo "$ac_cv_lib_soname_curses" >&6; }
11436 cat >>confdefs.h <<_ACEOF
11437 #define SONAME_LIBCURSES "$ac_cv_lib_soname_curses"
11438 _ACEOF
11440 CURSES_LIBS="-lcurses"
11443 ac_save_LIBS="$LIBS"
11444 LIBS="$LIBS $CURSES_LIBS"
11445 for ac_func in mousemask
11446 do :
11447 ac_fn_c_check_func "$LINENO" "mousemask" "ac_cv_func_mousemask"
11448 if test "x$ac_cv_func_mousemask" = xyes; then :
11449 cat >>confdefs.h <<_ACEOF
11450 #define HAVE_MOUSEMASK 1
11451 _ACEOF
11454 done
11456 LIBS="$ac_save_LIBS"
11457 if test "x$ac_cv_lib_soname_curses$ac_cv_lib_soname_ncurses" = "x"; then :
11458 case "x$with_curses" in
11459 x) as_fn_append wine_notices "|lib(n)curses ${notice_platform}development files not found, curses won't be supported." ;;
11460 xno) ;;
11461 *) as_fn_error $? "lib(n)curses ${notice_platform}development files not found, curses won't be supported.
11462 This is an error since --with-curses was requested." "$LINENO" 5 ;;
11463 esac
11466 if test "x$with_sane" != "xno"
11467 then
11468 if ${SANE_CFLAGS:+false} :; then :
11469 if ${PKG_CONFIG+:} false; then :
11470 SANE_CFLAGS=`$PKG_CONFIG --cflags libsane 2>/dev/null`
11473 test "$cross_compiling" = yes || SANE_CFLAGS=${SANE_CFLAGS:-`sane-config --cflags 2>/dev/null`}
11474 if ${SANE_LIBS:+false} :; then :
11475 if ${PKG_CONFIG+:} false; then :
11476 SANE_LIBS=`$PKG_CONFIG --libs libsane 2>/dev/null`
11479 test "$cross_compiling" = yes || SANE_LIBS=${SANE_LIBS:-`sane-config --ldflags 2>/dev/null`}
11481 $as_echo "$as_me:${as_lineno-$LINENO}: libsane cflags: $SANE_CFLAGS" >&5
11482 $as_echo "$as_me:${as_lineno-$LINENO}: libsane libs: $SANE_LIBS" >&5
11483 ac_save_CPPFLAGS=$CPPFLAGS
11484 CPPFLAGS="$CPPFLAGS $SANE_CFLAGS"
11485 ac_fn_c_check_header_mongrel "$LINENO" "sane/sane.h" "ac_cv_header_sane_sane_h" "$ac_includes_default"
11486 if test "x$ac_cv_header_sane_sane_h" = xyes; then :
11487 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lsane" >&5
11488 $as_echo_n "checking for -lsane... " >&6; }
11489 if ${ac_cv_lib_soname_sane+:} false; then :
11490 $as_echo_n "(cached) " >&6
11491 else
11492 ac_check_soname_save_LIBS=$LIBS
11493 LIBS="-lsane $SANE_LIBS $LIBS"
11494 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11495 /* end confdefs.h. */
11497 /* Override any GCC internal prototype to avoid an error.
11498 Use char because int might match the return type of a GCC
11499 builtin and then its argument prototype would still apply. */
11500 #ifdef __cplusplus
11501 extern "C"
11502 #endif
11503 char sane_init ();
11505 main ()
11507 return sane_init ();
11509 return 0;
11511 _ACEOF
11512 if ac_fn_c_try_link "$LINENO"; then :
11513 case "$LIBEXT" in
11514 dll) ac_cv_lib_soname_sane=`$ac_cv_path_LDD conftest.exe | grep "sane" | sed -e "s/dll.*/dll/"';2,$d'` ;;
11515 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'` ;;
11516 *) ac_cv_lib_soname_sane=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libsane\\.$LIBEXT" | sed -e "s/^.*\\[\\(libsane\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
11517 if ${ac_cv_lib_soname_sane:+false} :; then :
11518 ac_cv_lib_soname_sane=`$LDD conftest$ac_exeext | grep "libsane\\.$LIBEXT" | sed -e "s/^.*\(libsane\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
11519 fi ;;
11520 esac
11522 rm -f core conftest.err conftest.$ac_objext \
11523 conftest$ac_exeext conftest.$ac_ext
11524 LIBS=$ac_check_soname_save_LIBS
11526 if ${ac_cv_lib_soname_sane:+false} :; then :
11527 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
11528 $as_echo "not found" >&6; }
11529 SANE_CFLAGS=""
11530 else
11531 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_sane" >&5
11532 $as_echo "$ac_cv_lib_soname_sane" >&6; }
11534 cat >>confdefs.h <<_ACEOF
11535 #define SONAME_LIBSANE "$ac_cv_lib_soname_sane"
11536 _ACEOF
11540 else
11541 SANE_CFLAGS=""
11545 CPPFLAGS=$ac_save_CPPFLAGS
11546 test -z "$SANE_CFLAGS" || SANE_CFLAGS=`echo " $SANE_CFLAGS" | sed 's/ -I\([^/]\)/ -I\$(top_builddir)\/\1/g'`
11547 test -z "$SANE_LIBS" || SANE_LIBS=`echo " $SANE_LIBS" | sed 's/ -L\([^/]\)/ -L\$(top_builddir)\/\1/g'`
11550 if test "x$ac_cv_lib_soname_sane" = "x"; then :
11551 case "x$with_sane" in
11552 x) as_fn_append wine_notices "|libsane ${notice_platform}development files not found, scanners won't be supported." ;;
11553 xno) ;;
11554 *) as_fn_error $? "libsane ${notice_platform}development files not found, scanners won't be supported.
11555 This is an error since --with-sane was requested." "$LINENO" 5 ;;
11556 esac
11559 if test "x$with_v4l" != "xno"
11560 then
11561 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lv4l1" >&5
11562 $as_echo_n "checking for -lv4l1... " >&6; }
11563 if ${ac_cv_lib_soname_v4l1+:} false; then :
11564 $as_echo_n "(cached) " >&6
11565 else
11566 ac_check_soname_save_LIBS=$LIBS
11567 LIBS="-lv4l1 $LIBS"
11568 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11569 /* end confdefs.h. */
11571 /* Override any GCC internal prototype to avoid an error.
11572 Use char because int might match the return type of a GCC
11573 builtin and then its argument prototype would still apply. */
11574 #ifdef __cplusplus
11575 extern "C"
11576 #endif
11577 char v4l1_open ();
11579 main ()
11581 return v4l1_open ();
11583 return 0;
11585 _ACEOF
11586 if ac_fn_c_try_link "$LINENO"; then :
11587 case "$LIBEXT" in
11588 dll) ac_cv_lib_soname_v4l1=`$ac_cv_path_LDD conftest.exe | grep "v4l1" | sed -e "s/dll.*/dll/"';2,$d'` ;;
11589 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'` ;;
11590 *) ac_cv_lib_soname_v4l1=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libv4l1\\.$LIBEXT" | sed -e "s/^.*\\[\\(libv4l1\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
11591 if ${ac_cv_lib_soname_v4l1:+false} :; then :
11592 ac_cv_lib_soname_v4l1=`$LDD conftest$ac_exeext | grep "libv4l1\\.$LIBEXT" | sed -e "s/^.*\(libv4l1\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
11593 fi ;;
11594 esac
11596 rm -f core conftest.err conftest.$ac_objext \
11597 conftest$ac_exeext conftest.$ac_ext
11598 LIBS=$ac_check_soname_save_LIBS
11600 if ${ac_cv_lib_soname_v4l1:+false} :; then :
11601 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
11602 $as_echo "not found" >&6; }
11604 else
11605 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_v4l1" >&5
11606 $as_echo "$ac_cv_lib_soname_v4l1" >&6; }
11608 cat >>confdefs.h <<_ACEOF
11609 #define SONAME_LIBV4L1 "$ac_cv_lib_soname_v4l1"
11610 _ACEOF
11615 if test "x$ac_cv_lib_soname_v4l1" = "x"; then :
11616 case "x$with_v4l" in
11617 x) as_fn_append wine_notices "|libv4l ${notice_platform}development files not found." ;;
11618 xno) ;;
11619 *) as_fn_error $? "libv4l ${notice_platform}development files not found.
11620 This is an error since --with-v4l was requested." "$LINENO" 5 ;;
11621 esac
11624 if test "x$with_gphoto" != "xno"
11625 then
11626 if ${GPHOTO2_CFLAGS:+false} :; then :
11627 if ${PKG_CONFIG+:} false; then :
11628 GPHOTO2_CFLAGS=`$PKG_CONFIG --cflags libgphoto2 2>/dev/null`
11631 test "$cross_compiling" = yes || GPHOTO2_CFLAGS=${GPHOTO2_CFLAGS:-`gphoto2-config --cflags 2>/dev/null`}
11632 if ${GPHOTO2_LIBS:+false} :; then :
11633 if ${PKG_CONFIG+:} false; then :
11634 GPHOTO2_LIBS=`$PKG_CONFIG --libs libgphoto2 2>/dev/null`
11637 test "$cross_compiling" = yes || GPHOTO2_LIBS=${GPHOTO2_LIBS:-`gphoto2-config --libs 2>/dev/null`}
11638 GPHOTO2_LIBS=${GPHOTO2_LIBS:-"-lgphoto2"}
11639 $as_echo "$as_me:${as_lineno-$LINENO}: libgphoto2 cflags: $GPHOTO2_CFLAGS" >&5
11640 $as_echo "$as_me:${as_lineno-$LINENO}: libgphoto2 libs: $GPHOTO2_LIBS" >&5
11641 ac_save_CPPFLAGS=$CPPFLAGS
11642 CPPFLAGS="$CPPFLAGS $GPHOTO2_CFLAGS"
11643 ac_fn_c_check_header_mongrel "$LINENO" "gphoto2-camera.h" "ac_cv_header_gphoto2_camera_h" "$ac_includes_default"
11644 if test "x$ac_cv_header_gphoto2_camera_h" = xyes; then :
11645 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for gp_camera_new in -lgphoto2" >&5
11646 $as_echo_n "checking for gp_camera_new in -lgphoto2... " >&6; }
11647 if ${ac_cv_lib_gphoto2_gp_camera_new+:} false; then :
11648 $as_echo_n "(cached) " >&6
11649 else
11650 ac_check_lib_save_LIBS=$LIBS
11651 LIBS="-lgphoto2 $GPHOTO2_LIBS $LIBS"
11652 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11653 /* end confdefs.h. */
11655 /* Override any GCC internal prototype to avoid an error.
11656 Use char because int might match the return type of a GCC
11657 builtin and then its argument prototype would still apply. */
11658 #ifdef __cplusplus
11659 extern "C"
11660 #endif
11661 char gp_camera_new ();
11663 main ()
11665 return gp_camera_new ();
11667 return 0;
11669 _ACEOF
11670 if ac_fn_c_try_link "$LINENO"; then :
11671 ac_cv_lib_gphoto2_gp_camera_new=yes
11672 else
11673 ac_cv_lib_gphoto2_gp_camera_new=no
11675 rm -f core conftest.err conftest.$ac_objext \
11676 conftest$ac_exeext conftest.$ac_ext
11677 LIBS=$ac_check_lib_save_LIBS
11679 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_gphoto2_gp_camera_new" >&5
11680 $as_echo "$ac_cv_lib_gphoto2_gp_camera_new" >&6; }
11681 if test "x$ac_cv_lib_gphoto2_gp_camera_new" = xyes; then :
11683 $as_echo "#define HAVE_GPHOTO2 1" >>confdefs.h
11685 else
11686 GPHOTO2_LIBS=""; GPHOTO2_CFLAGS=""
11689 else
11690 GPHOTO2_LIBS=""; GPHOTO2_CFLAGS=""
11694 CPPFLAGS=$ac_save_CPPFLAGS
11695 test -z "$GPHOTO2_CFLAGS" || GPHOTO2_CFLAGS=`echo " $GPHOTO2_CFLAGS" | sed 's/ -I\([^/]\)/ -I\$(top_builddir)\/\1/g'`
11696 test -z "$GPHOTO2_LIBS" || GPHOTO2_LIBS=`echo " $GPHOTO2_LIBS" | sed 's/ -L\([^/]\)/ -L\$(top_builddir)\/\1/g'`
11698 if ${GPHOTO2_PORT_CFLAGS:+false} :; then :
11699 if ${PKG_CONFIG+:} false; then :
11700 GPHOTO2_PORT_CFLAGS=`$PKG_CONFIG --cflags libgphoto2_port 2>/dev/null`
11703 test "$cross_compiling" = yes || GPHOTO2_PORT_CFLAGS=${GPHOTO2_PORT_CFLAGS:-`gphoto2-port-config --cflags 2>/dev/null`}
11704 if ${GPHOTO2_PORT_LIBS:+false} :; then :
11705 if ${PKG_CONFIG+:} false; then :
11706 GPHOTO2_PORT_LIBS=`$PKG_CONFIG --libs libgphoto2_port 2>/dev/null`
11709 test "$cross_compiling" = yes || GPHOTO2_PORT_LIBS=${GPHOTO2_PORT_LIBS:-`gphoto2-port-config --libs 2>/dev/null`}
11710 GPHOTO2_PORT_LIBS=${GPHOTO2_PORT_LIBS:-"-lgphoto2_port"}
11711 $as_echo "$as_me:${as_lineno-$LINENO}: libgphoto2_port cflags: $GPHOTO2_PORT_CFLAGS" >&5
11712 $as_echo "$as_me:${as_lineno-$LINENO}: libgphoto2_port libs: $GPHOTO2_PORT_LIBS" >&5
11713 ac_save_CPPFLAGS=$CPPFLAGS
11714 CPPFLAGS="$CPPFLAGS $GPHOTO2_PORT_CFLAGS"
11715 ac_fn_c_check_header_mongrel "$LINENO" "gphoto2-port.h" "ac_cv_header_gphoto2_port_h" "$ac_includes_default"
11716 if test "x$ac_cv_header_gphoto2_port_h" = xyes; then :
11717 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for gp_port_info_list_new in -lgphoto2_port" >&5
11718 $as_echo_n "checking for gp_port_info_list_new in -lgphoto2_port... " >&6; }
11719 if ${ac_cv_lib_gphoto2_port_gp_port_info_list_new+:} false; then :
11720 $as_echo_n "(cached) " >&6
11721 else
11722 ac_check_lib_save_LIBS=$LIBS
11723 LIBS="-lgphoto2_port $GPHOTO2_PORT_LIBS $LIBS"
11724 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11725 /* end confdefs.h. */
11727 /* Override any GCC internal prototype to avoid an error.
11728 Use char because int might match the return type of a GCC
11729 builtin and then its argument prototype would still apply. */
11730 #ifdef __cplusplus
11731 extern "C"
11732 #endif
11733 char gp_port_info_list_new ();
11735 main ()
11737 return gp_port_info_list_new ();
11739 return 0;
11741 _ACEOF
11742 if ac_fn_c_try_link "$LINENO"; then :
11743 ac_cv_lib_gphoto2_port_gp_port_info_list_new=yes
11744 else
11745 ac_cv_lib_gphoto2_port_gp_port_info_list_new=no
11747 rm -f core conftest.err conftest.$ac_objext \
11748 conftest$ac_exeext conftest.$ac_ext
11749 LIBS=$ac_check_lib_save_LIBS
11751 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_gphoto2_port_gp_port_info_list_new" >&5
11752 $as_echo "$ac_cv_lib_gphoto2_port_gp_port_info_list_new" >&6; }
11753 if test "x$ac_cv_lib_gphoto2_port_gp_port_info_list_new" = xyes; then :
11755 $as_echo "#define HAVE_GPHOTO2_PORT 1" >>confdefs.h
11757 else
11758 GPHOTO2_PORT_LIBS=""; GPHOTO2_PORT_CFLAGS=""
11761 else
11762 GPHOTO2_PORT_LIBS=""; GPHOTO2_PORT_CFLAGS=""
11766 CPPFLAGS=$ac_save_CPPFLAGS
11767 test -z "$GPHOTO2_PORT_CFLAGS" || GPHOTO2_PORT_CFLAGS=`echo " $GPHOTO2_PORT_CFLAGS" | sed 's/ -I\([^/]\)/ -I\$(top_builddir)\/\1/g'`
11768 test -z "$GPHOTO2_PORT_LIBS" || GPHOTO2_PORT_LIBS=`echo " $GPHOTO2_PORT_LIBS" | sed 's/ -L\([^/]\)/ -L\$(top_builddir)\/\1/g'`
11771 if test "$ac_cv_lib_gphoto2_gp_camera_new" != "yes"; then :
11772 case "x$with_gphoto" in
11773 x) as_fn_append wine_notices "|libgphoto2 ${notice_platform}development files not found, digital cameras won't be supported." ;;
11774 xno) ;;
11775 *) as_fn_error $? "libgphoto2 ${notice_platform}development files not found, digital cameras won't be supported.
11776 This is an error since --with-gphoto was requested." "$LINENO" 5 ;;
11777 esac
11779 if test "$ac_cv_lib_gphoto2_port_gp_port_info_list_new" != "yes"; then :
11780 case "x$with_gphoto" in
11781 x) as_fn_append wine_notices "|libgphoto2_port ${notice_platform}development files not found, digital cameras won't be auto-detected." ;;
11782 xno) ;;
11783 *) as_fn_error $? "libgphoto2_port ${notice_platform}development files not found, digital cameras won't be auto-detected.
11784 This is an error since --with-gphoto was requested." "$LINENO" 5 ;;
11785 esac
11789 if test "$ac_cv_header_resolv_h" = "yes"
11790 then
11791 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for resolver library" >&5
11792 $as_echo_n "checking for resolver library... " >&6; }
11793 if ${ac_cv_have_resolv+:} false; then :
11794 $as_echo_n "(cached) " >&6
11795 else
11796 ac_save_LIBS="$LIBS"
11797 for lib in '' -lresolv
11799 LIBS="$lib $ac_save_LIBS"
11800 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11801 /* end confdefs.h. */
11802 #ifdef HAVE_NETINET_IN_H
11803 #include <netinet/in.h>
11804 #endif
11805 #include <resolv.h>
11807 main ()
11809 if (!(_res.options & RES_INIT)) res_init(); res_query("foo",ns_c_in,0,0,0)
11811 return 0;
11813 _ACEOF
11814 if ac_fn_c_try_link "$LINENO"; then :
11815 ac_cv_have_resolv=${lib:-"none required"}
11816 else
11817 ac_cv_have_resolv="not found"
11819 rm -f core conftest.err conftest.$ac_objext \
11820 conftest$ac_exeext conftest.$ac_ext
11821 test "x$ac_cv_have_resolv" = "xnot found" || break
11822 done
11823 LIBS="$ac_save_LIBS"
11825 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_have_resolv" >&5
11826 $as_echo "$ac_cv_have_resolv" >&6; }
11828 case "$ac_cv_have_resolv" in
11829 "not found") ;;
11830 "none required")
11832 $as_echo "#define HAVE_RESOLV 1" >>confdefs.h
11835 $as_echo "#define HAVE_RESOLV 1" >>confdefs.h
11837 RESOLV_LIBS=$ac_cv_have_resolv
11839 esac
11842 if test "x$with_lcms2" != "xno"
11843 then
11844 if ${LCMS2_CFLAGS:+false} :; then :
11845 if ${PKG_CONFIG+:} false; then :
11846 LCMS2_CFLAGS=`$PKG_CONFIG --cflags lcms2 2>/dev/null`
11850 if ${LCMS2_LIBS:+false} :; then :
11851 if ${PKG_CONFIG+:} false; then :
11852 LCMS2_LIBS=`$PKG_CONFIG --libs lcms2 2>/dev/null`
11856 LCMS2_LIBS=${LCMS2_LIBS:-"-llcms2"}
11857 $as_echo "$as_me:${as_lineno-$LINENO}: lcms2 cflags: $LCMS2_CFLAGS" >&5
11858 $as_echo "$as_me:${as_lineno-$LINENO}: lcms2 libs: $LCMS2_LIBS" >&5
11859 ac_save_CPPFLAGS=$CPPFLAGS
11860 CPPFLAGS="$CPPFLAGS $LCMS2_CFLAGS"
11861 for ac_header in lcms2.h
11862 do :
11863 ac_fn_c_check_header_mongrel "$LINENO" "lcms2.h" "ac_cv_header_lcms2_h" "$ac_includes_default"
11864 if test "x$ac_cv_header_lcms2_h" = xyes; then :
11865 cat >>confdefs.h <<_ACEOF
11866 #define HAVE_LCMS2_H 1
11867 _ACEOF
11871 done
11873 if test "$ac_cv_header_lcms2_h" = "yes"
11874 then
11875 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for cmsOpenProfileFromFile in -llcms2" >&5
11876 $as_echo_n "checking for cmsOpenProfileFromFile in -llcms2... " >&6; }
11877 if ${ac_cv_lib_lcms2_cmsOpenProfileFromFile+:} false; then :
11878 $as_echo_n "(cached) " >&6
11879 else
11880 ac_check_lib_save_LIBS=$LIBS
11881 LIBS="-llcms2 $LCMS2_LIBS $LIBS"
11882 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11883 /* end confdefs.h. */
11885 /* Override any GCC internal prototype to avoid an error.
11886 Use char because int might match the return type of a GCC
11887 builtin and then its argument prototype would still apply. */
11888 #ifdef __cplusplus
11889 extern "C"
11890 #endif
11891 char cmsOpenProfileFromFile ();
11893 main ()
11895 return cmsOpenProfileFromFile ();
11897 return 0;
11899 _ACEOF
11900 if ac_fn_c_try_link "$LINENO"; then :
11901 ac_cv_lib_lcms2_cmsOpenProfileFromFile=yes
11902 else
11903 ac_cv_lib_lcms2_cmsOpenProfileFromFile=no
11905 rm -f core conftest.err conftest.$ac_objext \
11906 conftest$ac_exeext conftest.$ac_ext
11907 LIBS=$ac_check_lib_save_LIBS
11909 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_lcms2_cmsOpenProfileFromFile" >&5
11910 $as_echo "$ac_cv_lib_lcms2_cmsOpenProfileFromFile" >&6; }
11911 if test "x$ac_cv_lib_lcms2_cmsOpenProfileFromFile" = xyes; then :
11913 $as_echo "#define HAVE_LCMS2 1" >>confdefs.h
11915 else
11916 LCMS2_LIBS=""
11919 else
11920 LCMS2_CFLAGS=""
11921 LCMS2_LIBS=""
11923 CPPFLAGS=$ac_save_CPPFLAGS
11924 test -z "$LCMS2_CFLAGS" || LCMS2_CFLAGS=`echo " $LCMS2_CFLAGS" | sed 's/ -I\([^/]\)/ -I\$(top_builddir)\/\1/g'`
11925 test -z "$LCMS2_LIBS" || LCMS2_LIBS=`echo " $LCMS2_LIBS" | sed 's/ -L\([^/]\)/ -L\$(top_builddir)\/\1/g'`
11928 if test "$ac_cv_lib_lcms2_cmsOpenProfileFromFile" != "yes"; then :
11929 case "x$with_cms" in
11930 x) as_fn_append wine_notices "|liblcms2 ${notice_platform}development files not found, Color Management won't be supported." ;;
11931 xno) ;;
11932 *) as_fn_error $? "liblcms2 ${notice_platform}development files not found, Color Management won't be supported.
11933 This is an error since --with-cms was requested." "$LINENO" 5 ;;
11934 esac
11937 if test "x$with_freetype" != "xno"
11938 then
11939 if ${FREETYPE_CFLAGS:+false} :; then :
11940 if ${PKG_CONFIG+:} false; then :
11941 FREETYPE_CFLAGS=`$PKG_CONFIG --cflags freetype2 2>/dev/null`
11944 test "$cross_compiling" = yes || FREETYPE_CFLAGS=${FREETYPE_CFLAGS:-`(freetype-config --cflags || freetype2-config --cflags) 2>/dev/null`}
11945 if ${FREETYPE_LIBS:+false} :; then :
11946 if ${PKG_CONFIG+:} false; then :
11947 FREETYPE_LIBS=`$PKG_CONFIG --libs freetype2 2>/dev/null`
11950 test "$cross_compiling" = yes || FREETYPE_LIBS=${FREETYPE_LIBS:-`(freetype-config --libs || freetype2-config --libs) 2>/dev/null`}
11951 FREETYPE_LIBS=${FREETYPE_LIBS:-"-lfreetype"}
11952 $as_echo "$as_me:${as_lineno-$LINENO}: freetype2 cflags: $FREETYPE_CFLAGS" >&5
11953 $as_echo "$as_me:${as_lineno-$LINENO}: freetype2 libs: $FREETYPE_LIBS" >&5
11954 ac_save_CPPFLAGS=$CPPFLAGS
11955 CPPFLAGS="$CPPFLAGS $FREETYPE_CFLAGS"
11956 for ac_header in ft2build.h
11957 do :
11958 ac_fn_c_check_header_mongrel "$LINENO" "ft2build.h" "ac_cv_header_ft2build_h" "$ac_includes_default"
11959 if test "x$ac_cv_header_ft2build_h" = xyes; then :
11960 cat >>confdefs.h <<_ACEOF
11961 #define HAVE_FT2BUILD_H 1
11962 _ACEOF
11966 done
11968 if test "$ac_cv_header_ft2build_h" = "yes"
11969 then
11970 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lfreetype" >&5
11971 $as_echo_n "checking for -lfreetype... " >&6; }
11972 if ${ac_cv_lib_soname_freetype+:} false; then :
11973 $as_echo_n "(cached) " >&6
11974 else
11975 ac_check_soname_save_LIBS=$LIBS
11976 LIBS="-lfreetype $FREETYPE_LIBS $LIBS"
11977 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11978 /* end confdefs.h. */
11980 /* Override any GCC internal prototype to avoid an error.
11981 Use char because int might match the return type of a GCC
11982 builtin and then its argument prototype would still apply. */
11983 #ifdef __cplusplus
11984 extern "C"
11985 #endif
11986 char FT_Init_FreeType ();
11988 main ()
11990 return FT_Init_FreeType ();
11992 return 0;
11994 _ACEOF
11995 if ac_fn_c_try_link "$LINENO"; then :
11996 case "$LIBEXT" in
11997 dll) ac_cv_lib_soname_freetype=`$ac_cv_path_LDD conftest.exe | grep "freetype" | sed -e "s/dll.*/dll/"';2,$d'` ;;
11998 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'` ;;
11999 *) ac_cv_lib_soname_freetype=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libfreetype\\.$LIBEXT" | sed -e "s/^.*\\[\\(libfreetype\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
12000 if ${ac_cv_lib_soname_freetype:+false} :; then :
12001 ac_cv_lib_soname_freetype=`$LDD conftest$ac_exeext | grep "libfreetype\\.$LIBEXT" | sed -e "s/^.*\(libfreetype\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
12002 fi ;;
12003 esac
12005 rm -f core conftest.err conftest.$ac_objext \
12006 conftest$ac_exeext conftest.$ac_ext
12007 LIBS=$ac_check_soname_save_LIBS
12009 if ${ac_cv_lib_soname_freetype:+false} :; then :
12010 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
12011 $as_echo "not found" >&6; }
12012 FREETYPE_LIBS=""
12013 else
12014 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_freetype" >&5
12015 $as_echo "$ac_cv_lib_soname_freetype" >&6; }
12017 cat >>confdefs.h <<_ACEOF
12018 #define SONAME_LIBFREETYPE "$ac_cv_lib_soname_freetype"
12019 _ACEOF
12022 $as_echo "#define HAVE_FREETYPE 1" >>confdefs.h
12024 ac_fn_c_check_type "$LINENO" "FT_TrueTypeEngineType" "ac_cv_type_FT_TrueTypeEngineType" "#include <ft2build.h>
12025 #include FT_MODULE_H
12027 if test "x$ac_cv_type_FT_TrueTypeEngineType" = xyes; then :
12029 cat >>confdefs.h <<_ACEOF
12030 #define HAVE_FT_TRUETYPEENGINETYPE 1
12031 _ACEOF
12037 else
12038 FREETYPE_CFLAGS=""
12039 FREETYPE_LIBS=""
12041 CPPFLAGS=$ac_save_CPPFLAGS
12042 test -z "$FREETYPE_CFLAGS" || FREETYPE_CFLAGS=`echo " $FREETYPE_CFLAGS" | sed 's/ -I\([^/]\)/ -I\$(top_builddir)\/\1/g'`
12043 test -z "$FREETYPE_LIBS" || FREETYPE_LIBS=`echo " $FREETYPE_LIBS" | sed 's/ -L\([^/]\)/ -L\$(top_builddir)\/\1/g'`
12046 if test "x$ac_cv_lib_soname_freetype" = x; then :
12047 case "x$with_freetype" in
12048 xno) ;;
12049 *) as_fn_error $? "FreeType ${notice_platform}development files not found. Fonts will not be built.
12050 Use the --without-freetype option if you really want this." "$LINENO" 5 ;;
12051 esac
12053 test "x$ac_cv_lib_soname_freetype" = x && enable_fonts=${enable_fonts:-no}
12055 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for parport header/ppdev.h" >&5
12056 $as_echo_n "checking for parport header/ppdev.h... " >&6; }
12057 if ${ac_cv_c_ppdev+:} false; then :
12058 $as_echo_n "(cached) " >&6
12059 else
12060 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12061 /* end confdefs.h. */
12062 #ifdef HAVE_SYS_IOCTL_H
12063 # include <sys/ioctl.h>
12064 #endif
12065 #include <linux/ppdev.h>
12067 main ()
12069 ioctl (1,PPCLAIM,0)
12071 return 0;
12073 _ACEOF
12074 if ac_fn_c_try_compile "$LINENO"; then :
12075 ac_cv_c_ppdev="yes"
12076 else
12077 ac_cv_c_ppdev="no"
12079 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
12081 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_ppdev" >&5
12082 $as_echo "$ac_cv_c_ppdev" >&6; }
12083 if test "$ac_cv_c_ppdev" = "yes"
12084 then
12086 $as_echo "#define HAVE_PPDEV 1" >>confdefs.h
12090 ac_wine_check_funcs_save_LIBS="$LIBS"
12091 LIBS="$LIBS $PTHREAD_LIBS"
12092 for ac_func in \
12093 pthread_attr_get_np \
12094 pthread_getattr_np \
12095 pthread_getthreadid_np \
12096 pthread_get_stackaddr_np \
12097 pthread_get_stacksize_np
12098 do :
12099 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
12100 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
12101 if eval test \"x\$"$as_ac_var"\" = x"yes"; then :
12102 cat >>confdefs.h <<_ACEOF
12103 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
12104 _ACEOF
12107 done
12109 LIBS="$ac_wine_check_funcs_save_LIBS"
12111 if test "$ac_cv_header_zlib_h" = "yes"
12112 then
12113 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for inflate in -lz" >&5
12114 $as_echo_n "checking for inflate in -lz... " >&6; }
12115 if ${ac_cv_lib_z_inflate+:} false; then :
12116 $as_echo_n "(cached) " >&6
12117 else
12118 ac_check_lib_save_LIBS=$LIBS
12119 LIBS="-lz $LIBS"
12120 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12121 /* end confdefs.h. */
12123 /* Override any GCC internal prototype to avoid an error.
12124 Use char because int might match the return type of a GCC
12125 builtin and then its argument prototype would still apply. */
12126 #ifdef __cplusplus
12127 extern "C"
12128 #endif
12129 char inflate ();
12131 main ()
12133 return inflate ();
12135 return 0;
12137 _ACEOF
12138 if ac_fn_c_try_link "$LINENO"; then :
12139 ac_cv_lib_z_inflate=yes
12140 else
12141 ac_cv_lib_z_inflate=no
12143 rm -f core conftest.err conftest.$ac_objext \
12144 conftest$ac_exeext conftest.$ac_ext
12145 LIBS=$ac_check_lib_save_LIBS
12147 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_z_inflate" >&5
12148 $as_echo "$ac_cv_lib_z_inflate" >&6; }
12149 if test "x$ac_cv_lib_z_inflate" = xyes; then :
12151 $as_echo "#define HAVE_ZLIB 1" >>confdefs.h
12153 Z_LIBS="-lz"
12158 if test "x$Z_LIBS" = "x"; then :
12159 case "x$with_zlib" in
12160 x) as_fn_append wine_notices "|libz ${notice_platform}development files not found, data compression won't be supported." ;;
12161 xno) ;;
12162 *) as_fn_error $? "libz ${notice_platform}development files not found, data compression won't be supported.
12163 This is an error since --with-zlib was requested." "$LINENO" 5 ;;
12164 esac
12167 if test "x$enable_tools" != xno
12168 then
12169 if test "$ac_cv_header_gettext_po_h" = "yes"
12170 then
12171 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for po_message_msgctxt in -lgettextpo" >&5
12172 $as_echo_n "checking for po_message_msgctxt in -lgettextpo... " >&6; }
12173 if ${ac_cv_lib_gettextpo_po_message_msgctxt+:} false; then :
12174 $as_echo_n "(cached) " >&6
12175 else
12176 ac_check_lib_save_LIBS=$LIBS
12177 LIBS="-lgettextpo $LIBS"
12178 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12179 /* end confdefs.h. */
12181 /* Override any GCC internal prototype to avoid an error.
12182 Use char because int might match the return type of a GCC
12183 builtin and then its argument prototype would still apply. */
12184 #ifdef __cplusplus
12185 extern "C"
12186 #endif
12187 char po_message_msgctxt ();
12189 main ()
12191 return po_message_msgctxt ();
12193 return 0;
12195 _ACEOF
12196 if ac_fn_c_try_link "$LINENO"; then :
12197 ac_cv_lib_gettextpo_po_message_msgctxt=yes
12198 else
12199 ac_cv_lib_gettextpo_po_message_msgctxt=no
12201 rm -f core conftest.err conftest.$ac_objext \
12202 conftest$ac_exeext conftest.$ac_ext
12203 LIBS=$ac_check_lib_save_LIBS
12205 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_gettextpo_po_message_msgctxt" >&5
12206 $as_echo "$ac_cv_lib_gettextpo_po_message_msgctxt" >&6; }
12207 if test "x$ac_cv_lib_gettextpo_po_message_msgctxt" = xyes; then :
12209 $as_echo "#define HAVE_LIBGETTEXTPO 1" >>confdefs.h
12211 GETTEXTPO_LIBS="-lgettextpo"
12216 test "x$with_gettextpo" != xyes || if test "x$GETTEXTPO_LIBS" = "x"; then :
12217 case "x$with_gettextpo" in
12218 x) as_fn_append wine_notices "|GetText ${notice_platform}development files not found (or too old), po files can't be rebuilt." ;;
12219 xno) ;;
12220 *) as_fn_error $? "GetText ${notice_platform}development files not found (or too old), po files can't be rebuilt.
12221 This is an error since --with-gettextpo was requested." "$LINENO" 5 ;;
12222 esac
12226 if test "x$with_gstreamer" != "xno"
12227 then
12228 if ${GSTREAMER_CFLAGS:+false} :; then :
12229 if ${PKG_CONFIG+:} false; then :
12230 GSTREAMER_CFLAGS=`$PKG_CONFIG --cflags gstreamer-app-0.10 2>/dev/null`
12234 if ${GSTREAMER_LIBS:+false} :; then :
12235 if ${PKG_CONFIG+:} false; then :
12236 GSTREAMER_LIBS=`$PKG_CONFIG --libs gstreamer-app-0.10 2>/dev/null`
12241 $as_echo "$as_me:${as_lineno-$LINENO}: gstreamer-app-0.10 cflags: $GSTREAMER_CFLAGS" >&5
12242 $as_echo "$as_me:${as_lineno-$LINENO}: gstreamer-app-0.10 libs: $GSTREAMER_LIBS" >&5
12243 ac_save_CPPFLAGS=$CPPFLAGS
12244 CPPFLAGS="$CPPFLAGS $GSTREAMER_CFLAGS"
12245 ac_gst_incl=""
12246 for i in $GSTREAMER_CFLAGS
12248 case "$i" in
12249 -I*) ac_gst_incl="$ac_gst_incl $i";;
12250 esac
12251 done
12252 GSTREAMER_CFLAGS=$ac_gst_incl
12253 CPPFLAGS="$ac_save_CPPFLAGS $GSTREAMER_CFLAGS"
12254 ac_fn_c_check_header_mongrel "$LINENO" "gst/gstpad.h" "ac_cv_header_gst_gstpad_h" "$ac_includes_default"
12255 if test "x$ac_cv_header_gst_gstpad_h" = xyes; then :
12256 ac_fn_c_check_header_mongrel "$LINENO" "gst/app/gstappsink.h" "ac_cv_header_gst_app_gstappsink_h" "$ac_includes_default"
12257 if test "x$ac_cv_header_gst_app_gstappsink_h" = xyes; then :
12258 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether gint64 defined by gst/app/gstappsink.h is indeed 64-bit" >&5
12259 $as_echo_n "checking whether gint64 defined by gst/app/gstappsink.h is indeed 64-bit... " >&6; }
12260 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12261 /* end confdefs.h. */
12262 #include <gst/app/gstappsink.h>
12264 main ()
12266 static int a[sizeof(gint64) > 4 ? 1 : -1]; if (a[0]) return 0;
12268 return 0;
12270 _ACEOF
12271 if ac_fn_c_try_compile "$LINENO"; then :
12272 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
12273 $as_echo "yes" >&6; }
12274 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for gst_pad_get_caps_reffed in -lgstreamer-0.10" >&5
12275 $as_echo_n "checking for gst_pad_get_caps_reffed in -lgstreamer-0.10... " >&6; }
12276 if ${ac_cv_lib_gstreamer_0_10_gst_pad_get_caps_reffed+:} false; then :
12277 $as_echo_n "(cached) " >&6
12278 else
12279 ac_check_lib_save_LIBS=$LIBS
12280 LIBS="-lgstreamer-0.10 $LIBS"
12281 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12282 /* end confdefs.h. */
12284 /* Override any GCC internal prototype to avoid an error.
12285 Use char because int might match the return type of a GCC
12286 builtin and then its argument prototype would still apply. */
12287 #ifdef __cplusplus
12288 extern "C"
12289 #endif
12290 char gst_pad_get_caps_reffed ();
12292 main ()
12294 return gst_pad_get_caps_reffed ();
12296 return 0;
12298 _ACEOF
12299 if ac_fn_c_try_link "$LINENO"; then :
12300 ac_cv_lib_gstreamer_0_10_gst_pad_get_caps_reffed=yes
12301 else
12302 ac_cv_lib_gstreamer_0_10_gst_pad_get_caps_reffed=no
12304 rm -f core conftest.err conftest.$ac_objext \
12305 conftest$ac_exeext conftest.$ac_ext
12306 LIBS=$ac_check_lib_save_LIBS
12308 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_gstreamer_0_10_gst_pad_get_caps_reffed" >&5
12309 $as_echo "$ac_cv_lib_gstreamer_0_10_gst_pad_get_caps_reffed" >&6; }
12310 if test "x$ac_cv_lib_gstreamer_0_10_gst_pad_get_caps_reffed" = xyes; then :
12311 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for gst_app_buffer_new in -lgstapp-0.10" >&5
12312 $as_echo_n "checking for gst_app_buffer_new in -lgstapp-0.10... " >&6; }
12313 if ${ac_cv_lib_gstapp_0_10_gst_app_buffer_new+:} false; then :
12314 $as_echo_n "(cached) " >&6
12315 else
12316 ac_check_lib_save_LIBS=$LIBS
12317 LIBS="-lgstapp-0.10 $GSTREAMER_LIBS $LIBS"
12318 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12319 /* end confdefs.h. */
12321 /* Override any GCC internal prototype to avoid an error.
12322 Use char because int might match the return type of a GCC
12323 builtin and then its argument prototype would still apply. */
12324 #ifdef __cplusplus
12325 extern "C"
12326 #endif
12327 char gst_app_buffer_new ();
12329 main ()
12331 return gst_app_buffer_new ();
12333 return 0;
12335 _ACEOF
12336 if ac_fn_c_try_link "$LINENO"; then :
12337 ac_cv_lib_gstapp_0_10_gst_app_buffer_new=yes
12338 else
12339 ac_cv_lib_gstapp_0_10_gst_app_buffer_new=no
12341 rm -f core conftest.err conftest.$ac_objext \
12342 conftest$ac_exeext conftest.$ac_ext
12343 LIBS=$ac_check_lib_save_LIBS
12345 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_gstapp_0_10_gst_app_buffer_new" >&5
12346 $as_echo "$ac_cv_lib_gstapp_0_10_gst_app_buffer_new" >&6; }
12347 if test "x$ac_cv_lib_gstapp_0_10_gst_app_buffer_new" = xyes; then :
12353 else
12354 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
12355 $as_echo "no" >&6; }
12357 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
12361 else
12362 GSTREAMER_CFLAGS=""
12366 CPPFLAGS=$ac_save_CPPFLAGS
12367 test -z "$GSTREAMER_CFLAGS" || GSTREAMER_CFLAGS=`echo " $GSTREAMER_CFLAGS" | sed 's/ -I\([^/]\)/ -I\$(top_builddir)\/\1/g'`
12368 test -z "$GSTREAMER_LIBS" || GSTREAMER_LIBS=`echo " $GSTREAMER_LIBS" | sed 's/ -L\([^/]\)/ -L\$(top_builddir)\/\1/g'`
12371 if test "x$ac_cv_lib_gstapp_0_10_gst_app_buffer_new" != xyes -a "x$ac_cv_header_QuickTime_ImageCompression_h" != xyes; then :
12372 case "x$with_gstreamer" in
12373 x) as_fn_append wine_notices "|gstreamer-0.10 base plugins ${notice_platform}development files not found, gstreamer support disabled" ;;
12374 xno) ;;
12375 *) as_fn_error $? "gstreamer-0.10 base plugins ${notice_platform}development files not found, gstreamer support disabled
12376 This is an error since --with-gstreamer was requested." "$LINENO" 5 ;;
12377 esac
12379 test "x$ac_cv_lib_gstapp_0_10_gst_app_buffer_new" = xyes || enable_winegstreamer=${enable_winegstreamer:-no}
12381 ALSA_LIBS=""
12383 if test "$ac_cv_header_sys_asoundlib_h" = "yes" -o "$ac_cv_header_alsa_asoundlib_h" = "yes"
12384 then
12385 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for snd_pcm_hw_params_get_access_mask in -lasound" >&5
12386 $as_echo_n "checking for snd_pcm_hw_params_get_access_mask in -lasound... " >&6; }
12387 if ${ac_cv_lib_asound_snd_pcm_hw_params_get_access_mask+:} false; then :
12388 $as_echo_n "(cached) " >&6
12389 else
12390 ac_check_lib_save_LIBS=$LIBS
12391 LIBS="-lasound $LIBS"
12392 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12393 /* end confdefs.h. */
12395 /* Override any GCC internal prototype to avoid an error.
12396 Use char because int might match the return type of a GCC
12397 builtin and then its argument prototype would still apply. */
12398 #ifdef __cplusplus
12399 extern "C"
12400 #endif
12401 char snd_pcm_hw_params_get_access_mask ();
12403 main ()
12405 return snd_pcm_hw_params_get_access_mask ();
12407 return 0;
12409 _ACEOF
12410 if ac_fn_c_try_link "$LINENO"; then :
12411 ac_cv_lib_asound_snd_pcm_hw_params_get_access_mask=yes
12412 else
12413 ac_cv_lib_asound_snd_pcm_hw_params_get_access_mask=no
12415 rm -f core conftest.err conftest.$ac_objext \
12416 conftest$ac_exeext conftest.$ac_ext
12417 LIBS=$ac_check_lib_save_LIBS
12419 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_asound_snd_pcm_hw_params_get_access_mask" >&5
12420 $as_echo "$ac_cv_lib_asound_snd_pcm_hw_params_get_access_mask" >&6; }
12421 if test "x$ac_cv_lib_asound_snd_pcm_hw_params_get_access_mask" = xyes; then :
12422 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12423 /* end confdefs.h. */
12424 #ifdef HAVE_ALSA_ASOUNDLIB_H
12425 #include <alsa/asoundlib.h>
12426 #elif defined(HAVE_SYS_ASOUNDLIB_H)
12427 #include <sys/asoundlib.h>
12428 #endif
12430 main ()
12432 snd_pcm_hw_params_get_access_mask(NULL, NULL)
12434 return 0;
12436 _ACEOF
12437 if ac_fn_c_try_compile "$LINENO"; then :
12438 ALSA_LIBS="-lasound"
12440 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
12445 if test "x$with_oss" != xno
12446 then
12447 ac_save_CPPFLAGS="$CPPFLAGS"
12448 if test -f /etc/oss.conf
12449 then
12450 . /etc/oss.conf
12452 ac_oss_incl="-I${OSSLIBDIR:-/usr/lib/oss}/include"
12453 CPPFLAGS="$CPPFLAGS $ac_oss_incl"
12454 ac_fn_c_check_header_mongrel "$LINENO" "sys/soundcard.h" "ac_cv_header_sys_soundcard_h" "$ac_includes_default"
12455 if test "x$ac_cv_header_sys_soundcard_h" = xyes; then :
12456 ac_fn_c_check_member "$LINENO" "oss_sysinfo" "numaudioengines" "ac_cv_member_oss_sysinfo_numaudioengines" "#include <sys/soundcard.h>
12458 if test "x$ac_cv_member_oss_sysinfo_numaudioengines" = xyes; then :
12460 cat >>confdefs.h <<_ACEOF
12461 #define HAVE_OSS_SYSINFO_NUMAUDIOENGINES 1
12462 _ACEOF
12464 OSS4_CFLAGS="$ac_oss_incl"
12471 CPPFLAGS="$ac_save_CPPFLAGS"
12472 if test "x$ac_cv_member_oss_sysinfo_numaudioengines" != xyes
12473 then
12474 as_fn_append wine_notices "|OSS sound system found but too old (OSSv4 needed), OSS won't be supported."
12478 if test "x$with_capi" != "xno"
12479 then
12480 if ${CAPI20_CFLAGS:+false} :; then :
12481 if ${PKG_CONFIG+:} false; then :
12482 CAPI20_CFLAGS=`$PKG_CONFIG --cflags capi20 2>/dev/null`
12486 if ${CAPI20_LIBS:+false} :; then :
12487 if ${PKG_CONFIG+:} false; then :
12488 CAPI20_LIBS=`$PKG_CONFIG --libs capi20 2>/dev/null`
12493 $as_echo "$as_me:${as_lineno-$LINENO}: capi20 cflags: $CAPI20_CFLAGS" >&5
12494 $as_echo "$as_me:${as_lineno-$LINENO}: capi20 libs: $CAPI20_LIBS" >&5
12495 ac_save_CPPFLAGS=$CPPFLAGS
12496 CPPFLAGS="$CPPFLAGS $CAPI20_CFLAGS"
12497 for ac_header in capi20.h linux/capi.h
12498 do :
12499 as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
12500 ac_fn_c_check_header_compile "$LINENO" "$ac_header" "$as_ac_Header" "#define __user
12502 if eval test \"x\$"$as_ac_Header"\" = x"yes"; then :
12503 cat >>confdefs.h <<_ACEOF
12504 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
12505 _ACEOF
12509 done
12511 if test "$ac_cv_header_capi20_h" = "yes" -a "$ac_cv_header_linux_capi_h" = "yes"
12512 then
12513 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lcapi20" >&5
12514 $as_echo_n "checking for -lcapi20... " >&6; }
12515 if ${ac_cv_lib_soname_capi20+:} false; then :
12516 $as_echo_n "(cached) " >&6
12517 else
12518 ac_check_soname_save_LIBS=$LIBS
12519 LIBS="-lcapi20 $CAPI20_LIBS $LIBS"
12520 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12521 /* end confdefs.h. */
12523 /* Override any GCC internal prototype to avoid an error.
12524 Use char because int might match the return type of a GCC
12525 builtin and then its argument prototype would still apply. */
12526 #ifdef __cplusplus
12527 extern "C"
12528 #endif
12529 char capi20_register ();
12531 main ()
12533 return capi20_register ();
12535 return 0;
12537 _ACEOF
12538 if ac_fn_c_try_link "$LINENO"; then :
12539 case "$LIBEXT" in
12540 dll) ac_cv_lib_soname_capi20=`$ac_cv_path_LDD conftest.exe | grep "capi20" | sed -e "s/dll.*/dll/"';2,$d'` ;;
12541 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'` ;;
12542 *) ac_cv_lib_soname_capi20=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libcapi20\\.$LIBEXT" | sed -e "s/^.*\\[\\(libcapi20\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
12543 if ${ac_cv_lib_soname_capi20:+false} :; then :
12544 ac_cv_lib_soname_capi20=`$LDD conftest$ac_exeext | grep "libcapi20\\.$LIBEXT" | sed -e "s/^.*\(libcapi20\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
12545 fi ;;
12546 esac
12548 rm -f core conftest.err conftest.$ac_objext \
12549 conftest$ac_exeext conftest.$ac_ext
12550 LIBS=$ac_check_soname_save_LIBS
12552 if ${ac_cv_lib_soname_capi20:+false} :; then :
12553 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
12554 $as_echo "not found" >&6; }
12556 else
12557 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_capi20" >&5
12558 $as_echo "$ac_cv_lib_soname_capi20" >&6; }
12560 cat >>confdefs.h <<_ACEOF
12561 #define SONAME_LIBCAPI20 "$ac_cv_lib_soname_capi20"
12562 _ACEOF
12567 CPPFLAGS=$ac_save_CPPFLAGS
12568 test -z "$CAPI20_CFLAGS" || CAPI20_CFLAGS=`echo " $CAPI20_CFLAGS" | sed 's/ -I\([^/]\)/ -I\$(top_builddir)\/\1/g'`
12569 test -z "$CAPI20_LIBS" || CAPI20_LIBS=`echo " $CAPI20_LIBS" | sed 's/ -L\([^/]\)/ -L\$(top_builddir)\/\1/g'`
12572 if test "x$ac_cv_lib_soname_capi20" = "x"; then :
12573 case "x$with_capi" in
12574 x) as_fn_append wine_notices "|libcapi20 ${notice_platform}development files not found, ISDN won't be supported." ;;
12575 xno) ;;
12576 *) as_fn_error $? "libcapi20 ${notice_platform}development files not found, ISDN won't be supported.
12577 This is an error since --with-capi was requested." "$LINENO" 5 ;;
12578 esac
12581 CUPS_CFLAGS=""
12583 if test "x$with_cups" != "xno"
12584 then
12585 ac_save_CPPFLAGS="$CPPFLAGS"
12586 ac_cups_cflags=`cups-config --cflags 2>/dev/null`
12587 ac_cups_libs=`cups-config --ldflags 2>/dev/null`
12588 CPPFLAGS="$CPPFLAGS $ac_cups_cflags"
12589 for ac_header in cups/cups.h
12590 do :
12591 ac_fn_c_check_header_mongrel "$LINENO" "cups/cups.h" "ac_cv_header_cups_cups_h" "$ac_includes_default"
12592 if test "x$ac_cv_header_cups_cups_h" = xyes; then :
12593 cat >>confdefs.h <<_ACEOF
12594 #define HAVE_CUPS_CUPS_H 1
12595 _ACEOF
12596 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lcups" >&5
12597 $as_echo_n "checking for -lcups... " >&6; }
12598 if ${ac_cv_lib_soname_cups+:} false; then :
12599 $as_echo_n "(cached) " >&6
12600 else
12601 ac_check_soname_save_LIBS=$LIBS
12602 LIBS="-lcups $ac_cups_libs $LIBS"
12603 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12604 /* end confdefs.h. */
12606 /* Override any GCC internal prototype to avoid an error.
12607 Use char because int might match the return type of a GCC
12608 builtin and then its argument prototype would still apply. */
12609 #ifdef __cplusplus
12610 extern "C"
12611 #endif
12612 char cupsGetDefault ();
12614 main ()
12616 return cupsGetDefault ();
12618 return 0;
12620 _ACEOF
12621 if ac_fn_c_try_link "$LINENO"; then :
12622 case "$LIBEXT" in
12623 dll) ac_cv_lib_soname_cups=`$ac_cv_path_LDD conftest.exe | grep "cups" | sed -e "s/dll.*/dll/"';2,$d'` ;;
12624 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'` ;;
12625 *) ac_cv_lib_soname_cups=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libcups\\.$LIBEXT" | sed -e "s/^.*\\[\\(libcups\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
12626 if ${ac_cv_lib_soname_cups:+false} :; then :
12627 ac_cv_lib_soname_cups=`$LDD conftest$ac_exeext | grep "libcups\\.$LIBEXT" | sed -e "s/^.*\(libcups\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
12628 fi ;;
12629 esac
12631 rm -f core conftest.err conftest.$ac_objext \
12632 conftest$ac_exeext conftest.$ac_ext
12633 LIBS=$ac_check_soname_save_LIBS
12635 if ${ac_cv_lib_soname_cups:+false} :; then :
12636 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
12637 $as_echo "not found" >&6; }
12639 else
12640 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_cups" >&5
12641 $as_echo "$ac_cv_lib_soname_cups" >&6; }
12643 cat >>confdefs.h <<_ACEOF
12644 #define SONAME_LIBCUPS "$ac_cv_lib_soname_cups"
12645 _ACEOF
12647 CUPS_CFLAGS="$ac_cups_cflags"
12651 done
12653 CPPFLAGS="$ac_save_CPPFLAGS"
12655 if test "x$ac_cv_lib_soname_cups" = "x"; then :
12656 case "x$with_cups" in
12657 x) as_fn_append wine_notices "|libcups ${notice_platform}development files not found, CUPS won't be supported." ;;
12658 xno) ;;
12659 *) as_fn_error $? "libcups ${notice_platform}development files not found, CUPS won't be supported.
12660 This is an error since --with-cups was requested." "$LINENO" 5 ;;
12661 esac
12664 if test "x$with_fontconfig" != "xno"
12665 then
12666 if ${FONTCONFIG_CFLAGS:+false} :; then :
12667 if ${PKG_CONFIG+:} false; then :
12668 FONTCONFIG_CFLAGS=`$PKG_CONFIG --cflags fontconfig 2>/dev/null`
12671 test "$cross_compiling" = yes || FONTCONFIG_CFLAGS=${FONTCONFIG_CFLAGS:-$X_CFLAGS}
12672 if ${FONTCONFIG_LIBS:+false} :; then :
12673 if ${PKG_CONFIG+:} false; then :
12674 FONTCONFIG_LIBS=`$PKG_CONFIG --libs fontconfig 2>/dev/null`
12677 test "$cross_compiling" = yes || FONTCONFIG_LIBS=${FONTCONFIG_LIBS:-$X_LIBS}
12679 $as_echo "$as_me:${as_lineno-$LINENO}: fontconfig cflags: $FONTCONFIG_CFLAGS" >&5
12680 $as_echo "$as_me:${as_lineno-$LINENO}: fontconfig libs: $FONTCONFIG_LIBS" >&5
12681 ac_save_CPPFLAGS=$CPPFLAGS
12682 CPPFLAGS="$CPPFLAGS $FONTCONFIG_CFLAGS"
12683 for ac_header in fontconfig/fontconfig.h
12684 do :
12685 ac_fn_c_check_header_mongrel "$LINENO" "fontconfig/fontconfig.h" "ac_cv_header_fontconfig_fontconfig_h" "$ac_includes_default"
12686 if test "x$ac_cv_header_fontconfig_fontconfig_h" = xyes; then :
12687 cat >>confdefs.h <<_ACEOF
12688 #define HAVE_FONTCONFIG_FONTCONFIG_H 1
12689 _ACEOF
12693 done
12695 if test "$ac_cv_header_fontconfig_fontconfig_h" = "yes"
12696 then
12697 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lfontconfig" >&5
12698 $as_echo_n "checking for -lfontconfig... " >&6; }
12699 if ${ac_cv_lib_soname_fontconfig+:} false; then :
12700 $as_echo_n "(cached) " >&6
12701 else
12702 ac_check_soname_save_LIBS=$LIBS
12703 LIBS="-lfontconfig $FONTCONFIG_LIBS $LIBS"
12704 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12705 /* end confdefs.h. */
12707 /* Override any GCC internal prototype to avoid an error.
12708 Use char because int might match the return type of a GCC
12709 builtin and then its argument prototype would still apply. */
12710 #ifdef __cplusplus
12711 extern "C"
12712 #endif
12713 char FcInit ();
12715 main ()
12717 return FcInit ();
12719 return 0;
12721 _ACEOF
12722 if ac_fn_c_try_link "$LINENO"; then :
12723 case "$LIBEXT" in
12724 dll) ac_cv_lib_soname_fontconfig=`$ac_cv_path_LDD conftest.exe | grep "fontconfig" | sed -e "s/dll.*/dll/"';2,$d'` ;;
12725 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'` ;;
12726 *) ac_cv_lib_soname_fontconfig=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libfontconfig\\.$LIBEXT" | sed -e "s/^.*\\[\\(libfontconfig\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
12727 if ${ac_cv_lib_soname_fontconfig:+false} :; then :
12728 ac_cv_lib_soname_fontconfig=`$LDD conftest$ac_exeext | grep "libfontconfig\\.$LIBEXT" | sed -e "s/^.*\(libfontconfig\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
12729 fi ;;
12730 esac
12732 rm -f core conftest.err conftest.$ac_objext \
12733 conftest$ac_exeext conftest.$ac_ext
12734 LIBS=$ac_check_soname_save_LIBS
12736 if ${ac_cv_lib_soname_fontconfig:+false} :; then :
12737 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
12738 $as_echo "not found" >&6; }
12739 FONTCONFIG_CFLAGS=""
12740 else
12741 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_fontconfig" >&5
12742 $as_echo "$ac_cv_lib_soname_fontconfig" >&6; }
12744 cat >>confdefs.h <<_ACEOF
12745 #define SONAME_LIBFONTCONFIG "$ac_cv_lib_soname_fontconfig"
12746 _ACEOF
12750 else
12751 FONTCONFIG_CFLAGS=""
12753 CPPFLAGS=$ac_save_CPPFLAGS
12754 test -z "$FONTCONFIG_CFLAGS" || FONTCONFIG_CFLAGS=`echo " $FONTCONFIG_CFLAGS" | sed 's/ -I\([^/]\)/ -I\$(top_builddir)\/\1/g'`
12755 test -z "$FONTCONFIG_LIBS" || FONTCONFIG_LIBS=`echo " $FONTCONFIG_LIBS" | sed 's/ -L\([^/]\)/ -L\$(top_builddir)\/\1/g'`
12758 if test "x$ac_cv_lib_soname_fontconfig" = "x"; then :
12759 case "x$with_fontconfig" in
12760 x) as_fn_append wine_notices "|fontconfig ${notice_platform}development files not found, fontconfig won't be supported." ;;
12761 xno) ;;
12762 *) as_fn_error $? "fontconfig ${notice_platform}development files not found, fontconfig won't be supported.
12763 This is an error since --with-fontconfig was requested." "$LINENO" 5 ;;
12764 esac
12767 if test "$ac_cv_header_gsm_h" = "yes" -o "$ac_cv_header_gsm_gsm_h" = "yes"
12768 then
12769 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lgsm" >&5
12770 $as_echo_n "checking for -lgsm... " >&6; }
12771 if ${ac_cv_lib_soname_gsm+:} false; then :
12772 $as_echo_n "(cached) " >&6
12773 else
12774 ac_check_soname_save_LIBS=$LIBS
12775 LIBS="-lgsm $LIBS"
12776 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12777 /* end confdefs.h. */
12779 /* Override any GCC internal prototype to avoid an error.
12780 Use char because int might match the return type of a GCC
12781 builtin and then its argument prototype would still apply. */
12782 #ifdef __cplusplus
12783 extern "C"
12784 #endif
12785 char gsm_create ();
12787 main ()
12789 return gsm_create ();
12791 return 0;
12793 _ACEOF
12794 if ac_fn_c_try_link "$LINENO"; then :
12795 case "$LIBEXT" in
12796 dll) ac_cv_lib_soname_gsm=`$ac_cv_path_LDD conftest.exe | grep "gsm" | sed -e "s/dll.*/dll/"';2,$d'` ;;
12797 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'` ;;
12798 *) ac_cv_lib_soname_gsm=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libgsm\\.$LIBEXT" | sed -e "s/^.*\\[\\(libgsm\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
12799 if ${ac_cv_lib_soname_gsm:+false} :; then :
12800 ac_cv_lib_soname_gsm=`$LDD conftest$ac_exeext | grep "libgsm\\.$LIBEXT" | sed -e "s/^.*\(libgsm\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
12801 fi ;;
12802 esac
12804 rm -f core conftest.err conftest.$ac_objext \
12805 conftest$ac_exeext conftest.$ac_ext
12806 LIBS=$ac_check_soname_save_LIBS
12808 if ${ac_cv_lib_soname_gsm:+false} :; then :
12809 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
12810 $as_echo "not found" >&6; }
12812 else
12813 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_gsm" >&5
12814 $as_echo "$ac_cv_lib_soname_gsm" >&6; }
12816 cat >>confdefs.h <<_ACEOF
12817 #define SONAME_LIBGSM "$ac_cv_lib_soname_gsm"
12818 _ACEOF
12823 if test "x$ac_cv_lib_soname_gsm" = "x"; then :
12824 case "x$with_gsm" in
12825 x) as_fn_append wine_notices "|libgsm ${notice_platform}development files not found, gsm 06.10 codec won't be supported." ;;
12826 xno) ;;
12827 *) as_fn_error $? "libgsm ${notice_platform}development files not found, gsm 06.10 codec won't be supported.
12828 This is an error since --with-gsm was requested." "$LINENO" 5 ;;
12829 esac
12832 if test "x$with_jpeg" != "xno"
12833 then
12834 if ${JPEG_CFLAGS:+false} :; then :
12835 if ${PKG_CONFIG+:} false; then :
12836 JPEG_CFLAGS=`$PKG_CONFIG --cflags libjpeg 2>/dev/null`
12840 if ${JPEG_LIBS:+false} :; then :
12841 if ${PKG_CONFIG+:} false; then :
12842 JPEG_LIBS=`$PKG_CONFIG --libs libjpeg 2>/dev/null`
12847 $as_echo "$as_me:${as_lineno-$LINENO}: libjpeg cflags: $JPEG_CFLAGS" >&5
12848 $as_echo "$as_me:${as_lineno-$LINENO}: libjpeg libs: $JPEG_LIBS" >&5
12849 ac_save_CPPFLAGS=$CPPFLAGS
12850 CPPFLAGS="$CPPFLAGS $JPEG_CFLAGS"
12851 for ac_header in jpeglib.h
12852 do :
12853 ac_fn_c_check_header_mongrel "$LINENO" "jpeglib.h" "ac_cv_header_jpeglib_h" "$ac_includes_default"
12854 if test "x$ac_cv_header_jpeglib_h" = xyes; then :
12855 cat >>confdefs.h <<_ACEOF
12856 #define HAVE_JPEGLIB_H 1
12857 _ACEOF
12861 done
12863 if test "$ac_cv_header_jpeglib_h" = "yes"
12864 then
12865 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -ljpeg" >&5
12866 $as_echo_n "checking for -ljpeg... " >&6; }
12867 if ${ac_cv_lib_soname_jpeg+:} false; then :
12868 $as_echo_n "(cached) " >&6
12869 else
12870 ac_check_soname_save_LIBS=$LIBS
12871 LIBS="-ljpeg $JPEG_LIBS $LIBS"
12872 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12873 /* end confdefs.h. */
12875 /* Override any GCC internal prototype to avoid an error.
12876 Use char because int might match the return type of a GCC
12877 builtin and then its argument prototype would still apply. */
12878 #ifdef __cplusplus
12879 extern "C"
12880 #endif
12881 char jpeg_start_decompress ();
12883 main ()
12885 return jpeg_start_decompress ();
12887 return 0;
12889 _ACEOF
12890 if ac_fn_c_try_link "$LINENO"; then :
12891 case "$LIBEXT" in
12892 dll) ac_cv_lib_soname_jpeg=`$ac_cv_path_LDD conftest.exe | grep "jpeg" | sed -e "s/dll.*/dll/"';2,$d'` ;;
12893 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'` ;;
12894 *) ac_cv_lib_soname_jpeg=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libjpeg\\.$LIBEXT" | sed -e "s/^.*\\[\\(libjpeg\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
12895 if ${ac_cv_lib_soname_jpeg:+false} :; then :
12896 ac_cv_lib_soname_jpeg=`$LDD conftest$ac_exeext | grep "libjpeg\\.$LIBEXT" | sed -e "s/^.*\(libjpeg\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
12897 fi ;;
12898 esac
12900 rm -f core conftest.err conftest.$ac_objext \
12901 conftest$ac_exeext conftest.$ac_ext
12902 LIBS=$ac_check_soname_save_LIBS
12904 if ${ac_cv_lib_soname_jpeg:+false} :; then :
12905 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
12906 $as_echo "not found" >&6; }
12907 JPEG_CFLAGS=""
12908 else
12909 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_jpeg" >&5
12910 $as_echo "$ac_cv_lib_soname_jpeg" >&6; }
12912 cat >>confdefs.h <<_ACEOF
12913 #define SONAME_LIBJPEG "$ac_cv_lib_soname_jpeg"
12914 _ACEOF
12918 else
12919 JPEG_CFLAGS=""
12921 CPPFLAGS=$ac_save_CPPFLAGS
12922 test -z "$JPEG_CFLAGS" || JPEG_CFLAGS=`echo " $JPEG_CFLAGS" | sed 's/ -I\([^/]\)/ -I\$(top_builddir)\/\1/g'`
12923 test -z "$JPEG_LIBS" || JPEG_LIBS=`echo " $JPEG_LIBS" | sed 's/ -L\([^/]\)/ -L\$(top_builddir)\/\1/g'`
12926 if test "x$ac_cv_lib_soname_jpeg" = "x"; then :
12927 case "x$with_jpeg" in
12928 x) as_fn_append wine_warnings "|libjpeg ${notice_platform}development files not found, JPEG won't be supported." ;;
12929 xno) ;;
12930 *) as_fn_error $? "libjpeg ${notice_platform}development files not found, JPEG won't be supported.
12931 This is an error since --with-jpeg was requested." "$LINENO" 5 ;;
12932 esac
12935 if test "x$with_png" != "xno"
12936 then
12937 if ${PNG_CFLAGS:+false} :; then :
12938 if ${PKG_CONFIG+:} false; then :
12939 PNG_CFLAGS=`$PKG_CONFIG --cflags libpng 2>/dev/null`
12942 test "$cross_compiling" = yes || PNG_CFLAGS=${PNG_CFLAGS:-$X_CFLAGS}
12943 if ${PNG_LIBS:+false} :; then :
12944 if ${PKG_CONFIG+:} false; then :
12945 PNG_LIBS=`$PKG_CONFIG --libs libpng 2>/dev/null`
12948 test "$cross_compiling" = yes || PNG_LIBS=${PNG_LIBS:-$X_LIBS}
12950 $as_echo "$as_me:${as_lineno-$LINENO}: libpng cflags: $PNG_CFLAGS" >&5
12951 $as_echo "$as_me:${as_lineno-$LINENO}: libpng libs: $PNG_LIBS" >&5
12952 ac_save_CPPFLAGS=$CPPFLAGS
12953 CPPFLAGS="$CPPFLAGS $PNG_CFLAGS"
12954 for ac_header in png.h
12955 do :
12956 ac_fn_c_check_header_mongrel "$LINENO" "png.h" "ac_cv_header_png_h" "$ac_includes_default"
12957 if test "x$ac_cv_header_png_h" = xyes; then :
12958 cat >>confdefs.h <<_ACEOF
12959 #define HAVE_PNG_H 1
12960 _ACEOF
12964 done
12966 if test "$ac_cv_header_png_h" = "yes"
12967 then
12968 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lpng" >&5
12969 $as_echo_n "checking for -lpng... " >&6; }
12970 if ${ac_cv_lib_soname_png+:} false; then :
12971 $as_echo_n "(cached) " >&6
12972 else
12973 ac_check_soname_save_LIBS=$LIBS
12974 LIBS="-lpng $PNG_LIBS -lm -lz $LIBS"
12975 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12976 /* end confdefs.h. */
12978 /* Override any GCC internal prototype to avoid an error.
12979 Use char because int might match the return type of a GCC
12980 builtin and then its argument prototype would still apply. */
12981 #ifdef __cplusplus
12982 extern "C"
12983 #endif
12984 char png_create_read_struct ();
12986 main ()
12988 return png_create_read_struct ();
12990 return 0;
12992 _ACEOF
12993 if ac_fn_c_try_link "$LINENO"; then :
12994 case "$LIBEXT" in
12995 dll) ac_cv_lib_soname_png=`$ac_cv_path_LDD conftest.exe | grep "png" | sed -e "s/dll.*/dll/"';2,$d'` ;;
12996 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'` ;;
12997 *) 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'`
12998 if ${ac_cv_lib_soname_png:+false} :; then :
12999 ac_cv_lib_soname_png=`$LDD conftest$ac_exeext | grep "libpng[0-9]*\\.$LIBEXT" | sed -e "s/^.*\(libpng[0-9]*\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
13000 fi ;;
13001 esac
13003 rm -f core conftest.err conftest.$ac_objext \
13004 conftest$ac_exeext conftest.$ac_ext
13005 LIBS=$ac_check_soname_save_LIBS
13007 if ${ac_cv_lib_soname_png:+false} :; then :
13008 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
13009 $as_echo "not found" >&6; }
13010 PNG_CFLAGS=""
13011 else
13012 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_png" >&5
13013 $as_echo "$ac_cv_lib_soname_png" >&6; }
13015 cat >>confdefs.h <<_ACEOF
13016 #define SONAME_LIBPNG "$ac_cv_lib_soname_png"
13017 _ACEOF
13019 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13020 /* end confdefs.h. */
13021 #include <png.h>
13023 main ()
13025 typeof(png_set_expand_gray_1_2_4_to_8) *p
13027 return 0;
13029 _ACEOF
13030 if ac_fn_c_try_compile "$LINENO"; then :
13032 $as_echo "#define HAVE_PNG_SET_EXPAND_GRAY_1_2_4_TO_8 1" >>confdefs.h
13035 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
13037 else
13038 PNG_CFLAGS=""
13040 CPPFLAGS=$ac_save_CPPFLAGS
13041 test -z "$PNG_CFLAGS" || PNG_CFLAGS=`echo " $PNG_CFLAGS" | sed 's/ -I\([^/]\)/ -I\$(top_builddir)\/\1/g'`
13042 test -z "$PNG_LIBS" || PNG_LIBS=`echo " $PNG_LIBS" | sed 's/ -L\([^/]\)/ -L\$(top_builddir)\/\1/g'`
13045 if test "x$ac_cv_lib_soname_png" = "x"; then :
13046 case "x$with_png" in
13047 x) as_fn_append wine_warnings "|libpng ${notice_platform}development files not found, PNG won't be supported." ;;
13048 xno) ;;
13049 *) as_fn_error $? "libpng ${notice_platform}development files not found, PNG won't be supported.
13050 This is an error since --with-png was requested." "$LINENO" 5 ;;
13051 esac
13054 if test "x$with_tiff" != "xno"
13055 then
13056 if ${TIFF_CFLAGS:+false} :; then :
13057 if ${PKG_CONFIG+:} false; then :
13058 TIFF_CFLAGS=`$PKG_CONFIG --cflags libtiff 2>/dev/null`
13062 if ${TIFF_LIBS:+false} :; then :
13063 if ${PKG_CONFIG+:} false; then :
13064 TIFF_LIBS=`$PKG_CONFIG --libs libtiff 2>/dev/null`
13069 $as_echo "$as_me:${as_lineno-$LINENO}: libtiff cflags: $TIFF_CFLAGS" >&5
13070 $as_echo "$as_me:${as_lineno-$LINENO}: libtiff libs: $TIFF_LIBS" >&5
13071 ac_save_CPPFLAGS=$CPPFLAGS
13072 CPPFLAGS="$CPPFLAGS $TIFF_CFLAGS"
13073 for ac_header in tiffio.h
13074 do :
13075 ac_fn_c_check_header_mongrel "$LINENO" "tiffio.h" "ac_cv_header_tiffio_h" "$ac_includes_default"
13076 if test "x$ac_cv_header_tiffio_h" = xyes; then :
13077 cat >>confdefs.h <<_ACEOF
13078 #define HAVE_TIFFIO_H 1
13079 _ACEOF
13083 done
13085 if test "$ac_cv_header_tiffio_h" = "yes"
13086 then
13087 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -ltiff" >&5
13088 $as_echo_n "checking for -ltiff... " >&6; }
13089 if ${ac_cv_lib_soname_tiff+:} false; then :
13090 $as_echo_n "(cached) " >&6
13091 else
13092 ac_check_soname_save_LIBS=$LIBS
13093 LIBS="-ltiff $TIFF_LIBS $LIBS"
13094 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13095 /* end confdefs.h. */
13097 /* Override any GCC internal prototype to avoid an error.
13098 Use char because int might match the return type of a GCC
13099 builtin and then its argument prototype would still apply. */
13100 #ifdef __cplusplus
13101 extern "C"
13102 #endif
13103 char TIFFClientOpen ();
13105 main ()
13107 return TIFFClientOpen ();
13109 return 0;
13111 _ACEOF
13112 if ac_fn_c_try_link "$LINENO"; then :
13113 case "$LIBEXT" in
13114 dll) ac_cv_lib_soname_tiff=`$ac_cv_path_LDD conftest.exe | grep "tiff" | sed -e "s/dll.*/dll/"';2,$d'` ;;
13115 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'` ;;
13116 *) ac_cv_lib_soname_tiff=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libtiff\\.$LIBEXT" | sed -e "s/^.*\\[\\(libtiff\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
13117 if ${ac_cv_lib_soname_tiff:+false} :; then :
13118 ac_cv_lib_soname_tiff=`$LDD conftest$ac_exeext | grep "libtiff\\.$LIBEXT" | sed -e "s/^.*\(libtiff\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
13119 fi ;;
13120 esac
13122 rm -f core conftest.err conftest.$ac_objext \
13123 conftest$ac_exeext conftest.$ac_ext
13124 LIBS=$ac_check_soname_save_LIBS
13126 if ${ac_cv_lib_soname_tiff:+false} :; then :
13127 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
13128 $as_echo "not found" >&6; }
13130 else
13131 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_tiff" >&5
13132 $as_echo "$ac_cv_lib_soname_tiff" >&6; }
13134 cat >>confdefs.h <<_ACEOF
13135 #define SONAME_LIBTIFF "$ac_cv_lib_soname_tiff"
13136 _ACEOF
13141 CPPFLAGS=$ac_save_CPPFLAGS
13142 test -z "$TIFF_CFLAGS" || TIFF_CFLAGS=`echo " $TIFF_CFLAGS" | sed 's/ -I\([^/]\)/ -I\$(top_builddir)\/\1/g'`
13143 test -z "$TIFF_LIBS" || TIFF_LIBS=`echo " $TIFF_LIBS" | sed 's/ -L\([^/]\)/ -L\$(top_builddir)\/\1/g'`
13146 if test "x$ac_cv_lib_soname_tiff" = "x"; then :
13147 case "x$with_tiff" in
13148 x) as_fn_append wine_notices "|libtiff ${notice_platform}development files not found, TIFF won't be supported." ;;
13149 xno) ;;
13150 *) as_fn_error $? "libtiff ${notice_platform}development files not found, TIFF won't be supported.
13151 This is an error since --with-tiff was requested." "$LINENO" 5 ;;
13152 esac
13155 if test "x$with_mpg123" != "xno"
13156 then
13157 if ${MPG123_CFLAGS:+false} :; then :
13158 if ${PKG_CONFIG+:} false; then :
13159 MPG123_CFLAGS=`$PKG_CONFIG --cflags libmpg123 2>/dev/null`
13163 if ${MPG123_LIBS:+false} :; then :
13164 if ${PKG_CONFIG+:} false; then :
13165 MPG123_LIBS=`$PKG_CONFIG --libs libmpg123 2>/dev/null`
13169 MPG123_LIBS=${MPG123_LIBS:-"-lmpg123"}
13170 $as_echo "$as_me:${as_lineno-$LINENO}: libmpg123 cflags: $MPG123_CFLAGS" >&5
13171 $as_echo "$as_me:${as_lineno-$LINENO}: libmpg123 libs: $MPG123_LIBS" >&5
13172 ac_save_CPPFLAGS=$CPPFLAGS
13173 CPPFLAGS="$CPPFLAGS $MPG123_CFLAGS"
13174 for ac_header in mpg123.h
13175 do :
13176 ac_fn_c_check_header_mongrel "$LINENO" "mpg123.h" "ac_cv_header_mpg123_h" "$ac_includes_default"
13177 if test "x$ac_cv_header_mpg123_h" = xyes; then :
13178 cat >>confdefs.h <<_ACEOF
13179 #define HAVE_MPG123_H 1
13180 _ACEOF
13184 done
13186 if test "$ac_cv_header_mpg123_h" = "yes"
13187 then
13188 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for mpg123_feed in -lmpg123" >&5
13189 $as_echo_n "checking for mpg123_feed in -lmpg123... " >&6; }
13190 if ${ac_cv_lib_mpg123_mpg123_feed+:} false; then :
13191 $as_echo_n "(cached) " >&6
13192 else
13193 ac_check_lib_save_LIBS=$LIBS
13194 LIBS="-lmpg123 $MPG123_LIBS $LIBS"
13195 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13196 /* end confdefs.h. */
13198 /* Override any GCC internal prototype to avoid an error.
13199 Use char because int might match the return type of a GCC
13200 builtin and then its argument prototype would still apply. */
13201 #ifdef __cplusplus
13202 extern "C"
13203 #endif
13204 char mpg123_feed ();
13206 main ()
13208 return mpg123_feed ();
13210 return 0;
13212 _ACEOF
13213 if ac_fn_c_try_link "$LINENO"; then :
13214 ac_cv_lib_mpg123_mpg123_feed=yes
13215 else
13216 ac_cv_lib_mpg123_mpg123_feed=no
13218 rm -f core conftest.err conftest.$ac_objext \
13219 conftest$ac_exeext conftest.$ac_ext
13220 LIBS=$ac_check_lib_save_LIBS
13222 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_mpg123_mpg123_feed" >&5
13223 $as_echo "$ac_cv_lib_mpg123_mpg123_feed" >&6; }
13224 if test "x$ac_cv_lib_mpg123_mpg123_feed" = xyes; then :
13226 else
13227 MPG123_LIBS=""
13230 else
13231 MPG123_CFLAGS=""
13232 MPG123_LIBS=""
13234 CPPFLAGS=$ac_save_CPPFLAGS
13235 test -z "$MPG123_CFLAGS" || MPG123_CFLAGS=`echo " $MPG123_CFLAGS" | sed 's/ -I\([^/]\)/ -I\$(top_builddir)\/\1/g'`
13236 test -z "$MPG123_LIBS" || MPG123_LIBS=`echo " $MPG123_LIBS" | sed 's/ -L\([^/]\)/ -L\$(top_builddir)\/\1/g'`
13239 if test "x$ac_cv_lib_mpg123_mpg123_feed" != xyes -a x"$ac_cv_header_CoreAudio_CoreAudio_h" != xyes; then :
13240 case "x$with_mpg123" in
13241 x) as_fn_append wine_notices "|libmpg123 ${notice_platform}development files not found (or too old), mp3 codec won't be supported." ;;
13242 xno) ;;
13243 *) as_fn_error $? "libmpg123 ${notice_platform}development files not found (or too old), mp3 codec won't be supported.
13244 This is an error since --with-mpg123 was requested." "$LINENO" 5 ;;
13245 esac
13247 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}
13249 if test "$ac_cv_header_AL_al_h" = "yes"
13250 then
13251 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lopenal" >&5
13252 $as_echo_n "checking for -lopenal... " >&6; }
13253 if ${ac_cv_lib_soname_openal+:} false; then :
13254 $as_echo_n "(cached) " >&6
13255 else
13256 ac_check_soname_save_LIBS=$LIBS
13257 LIBS="-lopenal $LIBS"
13258 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13259 /* end confdefs.h. */
13261 /* Override any GCC internal prototype to avoid an error.
13262 Use char because int might match the return type of a GCC
13263 builtin and then its argument prototype would still apply. */
13264 #ifdef __cplusplus
13265 extern "C"
13266 #endif
13267 char alGetSource3i ();
13269 main ()
13271 return alGetSource3i ();
13273 return 0;
13275 _ACEOF
13276 if ac_fn_c_try_link "$LINENO"; then :
13277 case "$LIBEXT" in
13278 dll) ac_cv_lib_soname_openal=`$ac_cv_path_LDD conftest.exe | grep "openal" | sed -e "s/dll.*/dll/"';2,$d'` ;;
13279 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'` ;;
13280 *) ac_cv_lib_soname_openal=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libopenal\\.$LIBEXT" | sed -e "s/^.*\\[\\(libopenal\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
13281 if ${ac_cv_lib_soname_openal:+false} :; then :
13282 ac_cv_lib_soname_openal=`$LDD conftest$ac_exeext | grep "libopenal\\.$LIBEXT" | sed -e "s/^.*\(libopenal\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
13283 fi ;;
13284 esac
13286 rm -f core conftest.err conftest.$ac_objext \
13287 conftest$ac_exeext conftest.$ac_ext
13288 LIBS=$ac_check_soname_save_LIBS
13290 if ${ac_cv_lib_soname_openal:+false} :; then :
13291 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
13292 $as_echo "not found" >&6; }
13294 else
13295 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_openal" >&5
13296 $as_echo "$ac_cv_lib_soname_openal" >&6; }
13298 cat >>confdefs.h <<_ACEOF
13299 #define SONAME_LIBOPENAL "$ac_cv_lib_soname_openal"
13300 _ACEOF
13302 OPENAL_LIBS="-lopenal"
13304 ac_cv_lib_openal=yes
13306 cat >>confdefs.h <<_ACEOF
13307 #define HAVE_OPENAL 1
13308 _ACEOF
13312 if test "x$ac_cv_lib_openal" != xyes; then :
13313 case "x$with_openal" in
13314 x) as_fn_append wine_notices "|libopenal ${notice_platform}development files not found (or too old), OpenAL won't be supported." ;;
13315 xno) ;;
13316 *) as_fn_error $? "libopenal ${notice_platform}development files not found (or too old), OpenAL won't be supported.
13317 This is an error since --with-openal was requested." "$LINENO" 5 ;;
13318 esac
13320 test "x$ac_cv_lib_openal" = xyes || enable_openal32=${enable_openal32:-no}
13322 if test "$ac_cv_header_kstat_h" = "yes"
13323 then
13324 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for kstat_open in -lkstat" >&5
13325 $as_echo_n "checking for kstat_open in -lkstat... " >&6; }
13326 if ${ac_cv_lib_kstat_kstat_open+:} false; then :
13327 $as_echo_n "(cached) " >&6
13328 else
13329 ac_check_lib_save_LIBS=$LIBS
13330 LIBS="-lkstat $LIBS"
13331 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13332 /* end confdefs.h. */
13334 /* Override any GCC internal prototype to avoid an error.
13335 Use char because int might match the return type of a GCC
13336 builtin and then its argument prototype would still apply. */
13337 #ifdef __cplusplus
13338 extern "C"
13339 #endif
13340 char kstat_open ();
13342 main ()
13344 return kstat_open ();
13346 return 0;
13348 _ACEOF
13349 if ac_fn_c_try_link "$LINENO"; then :
13350 ac_cv_lib_kstat_kstat_open=yes
13351 else
13352 ac_cv_lib_kstat_kstat_open=no
13354 rm -f core conftest.err conftest.$ac_objext \
13355 conftest$ac_exeext conftest.$ac_ext
13356 LIBS=$ac_check_lib_save_LIBS
13358 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_kstat_kstat_open" >&5
13359 $as_echo "$ac_cv_lib_kstat_kstat_open" >&6; }
13360 if test "x$ac_cv_lib_kstat_kstat_open" = xyes; then :
13362 $as_echo "#define HAVE_LIBKSTAT 1" >>confdefs.h
13364 KSTAT_LIBS="-lkstat"
13370 if test "$ac_cv_header_libprocstat_h" = "yes"
13371 then
13372 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for procstat_open_sysctl in -lprocstat" >&5
13373 $as_echo_n "checking for procstat_open_sysctl in -lprocstat... " >&6; }
13374 if ${ac_cv_lib_procstat_procstat_open_sysctl+:} false; then :
13375 $as_echo_n "(cached) " >&6
13376 else
13377 ac_check_lib_save_LIBS=$LIBS
13378 LIBS="-lprocstat $LIBS"
13379 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13380 /* end confdefs.h. */
13382 /* Override any GCC internal prototype to avoid an error.
13383 Use char because int might match the return type of a GCC
13384 builtin and then its argument prototype would still apply. */
13385 #ifdef __cplusplus
13386 extern "C"
13387 #endif
13388 char procstat_open_sysctl ();
13390 main ()
13392 return procstat_open_sysctl ();
13394 return 0;
13396 _ACEOF
13397 if ac_fn_c_try_link "$LINENO"; then :
13398 ac_cv_lib_procstat_procstat_open_sysctl=yes
13399 else
13400 ac_cv_lib_procstat_procstat_open_sysctl=no
13402 rm -f core conftest.err conftest.$ac_objext \
13403 conftest$ac_exeext conftest.$ac_ext
13404 LIBS=$ac_check_lib_save_LIBS
13406 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_procstat_procstat_open_sysctl" >&5
13407 $as_echo "$ac_cv_lib_procstat_procstat_open_sysctl" >&6; }
13408 if test "x$ac_cv_lib_procstat_procstat_open_sysctl" = xyes; then :
13410 $as_echo "#define HAVE_LIBPROCSTAT 1" >>confdefs.h
13412 PROCSTAT_LIBS="-lprocstat"
13418 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lodbc" >&5
13419 $as_echo_n "checking for -lodbc... " >&6; }
13420 if ${ac_cv_lib_soname_odbc+:} false; then :
13421 $as_echo_n "(cached) " >&6
13422 else
13423 ac_check_soname_save_LIBS=$LIBS
13424 LIBS="-lodbc $LIBS"
13425 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13426 /* end confdefs.h. */
13428 /* Override any GCC internal prototype to avoid an error.
13429 Use char because int might match the return type of a GCC
13430 builtin and then its argument prototype would still apply. */
13431 #ifdef __cplusplus
13432 extern "C"
13433 #endif
13434 char SQLConnect ();
13436 main ()
13438 return SQLConnect ();
13440 return 0;
13442 _ACEOF
13443 if ac_fn_c_try_link "$LINENO"; then :
13444 case "$LIBEXT" in
13445 dll) ac_cv_lib_soname_odbc=`$ac_cv_path_LDD conftest.exe | grep "odbc" | sed -e "s/dll.*/dll/"';2,$d'` ;;
13446 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'` ;;
13447 *) ac_cv_lib_soname_odbc=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libodbc\\.$LIBEXT" | sed -e "s/^.*\\[\\(libodbc\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
13448 if ${ac_cv_lib_soname_odbc:+false} :; then :
13449 ac_cv_lib_soname_odbc=`$LDD conftest$ac_exeext | grep "libodbc\\.$LIBEXT" | sed -e "s/^.*\(libodbc\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
13450 fi ;;
13451 esac
13453 rm -f core conftest.err conftest.$ac_objext \
13454 conftest$ac_exeext conftest.$ac_ext
13455 LIBS=$ac_check_soname_save_LIBS
13457 if ${ac_cv_lib_soname_odbc:+false} :; then :
13458 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
13459 $as_echo "not found" >&6; }
13460 cat >>confdefs.h <<_ACEOF
13461 #define SONAME_LIBODBC "libodbc.$LIBEXT"
13462 _ACEOF
13464 else
13465 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_odbc" >&5
13466 $as_echo "$ac_cv_lib_soname_odbc" >&6; }
13468 cat >>confdefs.h <<_ACEOF
13469 #define SONAME_LIBODBC "$ac_cv_lib_soname_odbc"
13470 _ACEOF
13475 if test "x$with_netapi" != "xno"
13476 then
13477 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lnetapi" >&5
13478 $as_echo_n "checking for -lnetapi... " >&6; }
13479 if ${ac_cv_lib_soname_netapi+:} false; then :
13480 $as_echo_n "(cached) " >&6
13481 else
13482 ac_check_soname_save_LIBS=$LIBS
13483 LIBS="-lnetapi $LIBS"
13484 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13485 /* end confdefs.h. */
13487 /* Override any GCC internal prototype to avoid an error.
13488 Use char because int might match the return type of a GCC
13489 builtin and then its argument prototype would still apply. */
13490 #ifdef __cplusplus
13491 extern "C"
13492 #endif
13493 char libnetapi_init ();
13495 main ()
13497 return libnetapi_init ();
13499 return 0;
13501 _ACEOF
13502 if ac_fn_c_try_link "$LINENO"; then :
13503 case "$LIBEXT" in
13504 dll) ac_cv_lib_soname_netapi=`$ac_cv_path_LDD conftest.exe | grep "netapi" | sed -e "s/dll.*/dll/"';2,$d'` ;;
13505 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'` ;;
13506 *) ac_cv_lib_soname_netapi=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libnetapi\\.$LIBEXT" | sed -e "s/^.*\\[\\(libnetapi\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
13507 if ${ac_cv_lib_soname_netapi:+false} :; then :
13508 ac_cv_lib_soname_netapi=`$LDD conftest$ac_exeext | grep "libnetapi\\.$LIBEXT" | sed -e "s/^.*\(libnetapi\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
13509 fi ;;
13510 esac
13512 rm -f core conftest.err conftest.$ac_objext \
13513 conftest$ac_exeext conftest.$ac_ext
13514 LIBS=$ac_check_soname_save_LIBS
13516 if ${ac_cv_lib_soname_netapi:+false} :; then :
13517 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
13518 $as_echo "not found" >&6; }
13519 cat >>confdefs.h <<_ACEOF
13520 #define SONAME_LIBNETAPI "libnetapi.$LIBEXT"
13521 _ACEOF
13523 else
13524 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_netapi" >&5
13525 $as_echo "$ac_cv_lib_soname_netapi" >&6; }
13527 cat >>confdefs.h <<_ACEOF
13528 #define SONAME_LIBNETAPI "$ac_cv_lib_soname_netapi"
13529 _ACEOF
13535 test -n "$ALSA_LIBS" || enable_winealsa_drv=${enable_winealsa_drv:-no}
13536 test -n "$COREAUDIO_LIBS" || enable_winecoreaudio_drv=${enable_winecoreaudio_drv:-no}
13537 test "x$ac_cv_member_oss_sysinfo_numaudioengines" = xyes || enable_wineoss_drv=${enable_wineoss_drv:-no}
13538 test "$ac_cv_header_linux_joystick_h" = "yes" || enable_winejoystick_drv=${enable_winejoystick_drv:-no}
13540 if test "x$ALSA_LIBS$COREAUDIO_LIBS" = "x" -a \
13541 "x$ac_cv_member_oss_sysinfo_numaudioengines" != xyes -a \
13542 "x$with_alsa$with_coreaudio$with_oss" != xnonono
13543 then
13544 as_fn_append wine_warnings "|No sound system was found. Windows applications will be silent."
13548 EXTRACFLAGS=""
13550 if test "x${GCC}" = "xyes"
13551 then
13552 EXTRACFLAGS="-Wall -pipe"
13554 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for gcc strength-reduce bug" >&5
13555 $as_echo_n "checking for gcc strength-reduce bug... " >&6; }
13556 if ${ac_cv_c_gcc_strength_bug+:} false; then :
13557 $as_echo_n "(cached) " >&6
13558 else
13559 if test "$cross_compiling" = yes; then :
13560 ac_cv_c_gcc_strength_bug="yes"
13561 else
13562 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13563 /* end confdefs.h. */
13564 int L[4] = {0,1,2,3};
13566 main ()
13568 static int Array[3];
13569 unsigned int B = 3;
13570 int i;
13571 for(i=0; i<B; i++) Array[i] = i - 3;
13572 for(i=0; i<4 - 1; i++) L[i] = L[i + 1];
13573 L[i] = 4;
13574 return (Array[1] != -2 || L[2] != 3)
13576 return 0;
13578 _ACEOF
13579 if ac_fn_c_try_run "$LINENO"; then :
13580 ac_cv_c_gcc_strength_bug="no"
13581 else
13582 ac_cv_c_gcc_strength_bug="yes"
13584 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \
13585 conftest.$ac_objext conftest.beam conftest.$ac_ext
13589 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_gcc_strength_bug" >&5
13590 $as_echo "$ac_cv_c_gcc_strength_bug" >&6; }
13591 if test "$ac_cv_c_gcc_strength_bug" = "yes"
13592 then
13593 EXTRACFLAGS="$EXTRACFLAGS -fno-strength-reduce"
13596 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -fno-builtin" >&5
13597 $as_echo_n "checking whether the compiler supports -fno-builtin... " >&6; }
13598 if ${ac_cv_cflags__fno_builtin+:} false; then :
13599 $as_echo_n "(cached) " >&6
13600 else
13601 ac_wine_try_cflags_saved=$CFLAGS
13602 CFLAGS="$CFLAGS -fno-builtin"
13603 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13604 /* end confdefs.h. */
13605 int main(int argc, char **argv) { return 0; }
13606 _ACEOF
13607 if ac_fn_c_try_link "$LINENO"; then :
13608 ac_cv_cflags__fno_builtin=yes
13609 else
13610 ac_cv_cflags__fno_builtin=no
13612 rm -f core conftest.err conftest.$ac_objext \
13613 conftest$ac_exeext conftest.$ac_ext
13614 CFLAGS=$ac_wine_try_cflags_saved
13616 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__fno_builtin" >&5
13617 $as_echo "$ac_cv_cflags__fno_builtin" >&6; }
13618 if test "x$ac_cv_cflags__fno_builtin" = xyes; then :
13619 BUILTINFLAG="-fno-builtin"
13622 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -fno-strict-aliasing" >&5
13623 $as_echo_n "checking whether the compiler supports -fno-strict-aliasing... " >&6; }
13624 if ${ac_cv_cflags__fno_strict_aliasing+:} false; then :
13625 $as_echo_n "(cached) " >&6
13626 else
13627 ac_wine_try_cflags_saved=$CFLAGS
13628 CFLAGS="$CFLAGS -fno-strict-aliasing"
13629 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13630 /* end confdefs.h. */
13631 int main(int argc, char **argv) { return 0; }
13632 _ACEOF
13633 if ac_fn_c_try_link "$LINENO"; then :
13634 ac_cv_cflags__fno_strict_aliasing=yes
13635 else
13636 ac_cv_cflags__fno_strict_aliasing=no
13638 rm -f core conftest.err conftest.$ac_objext \
13639 conftest$ac_exeext conftest.$ac_ext
13640 CFLAGS=$ac_wine_try_cflags_saved
13642 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__fno_strict_aliasing" >&5
13643 $as_echo "$ac_cv_cflags__fno_strict_aliasing" >&6; }
13644 if test "x$ac_cv_cflags__fno_strict_aliasing" = xyes; then :
13645 EXTRACFLAGS="$EXTRACFLAGS -fno-strict-aliasing"
13647 saved_CFLAGS=$CFLAGS
13648 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Werror=unknown-warning-option" >&5
13649 $as_echo_n "checking whether the compiler supports -Werror=unknown-warning-option... " >&6; }
13650 if ${ac_cv_cflags__Werror_unknown_warning_option+:} false; then :
13651 $as_echo_n "(cached) " >&6
13652 else
13653 ac_wine_try_cflags_saved=$CFLAGS
13654 CFLAGS="$CFLAGS -Werror=unknown-warning-option"
13655 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13656 /* end confdefs.h. */
13657 int main(int argc, char **argv) { return 0; }
13658 _ACEOF
13659 if ac_fn_c_try_link "$LINENO"; then :
13660 ac_cv_cflags__Werror_unknown_warning_option=yes
13661 else
13662 ac_cv_cflags__Werror_unknown_warning_option=no
13664 rm -f core conftest.err conftest.$ac_objext \
13665 conftest$ac_exeext conftest.$ac_ext
13666 CFLAGS=$ac_wine_try_cflags_saved
13668 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Werror_unknown_warning_option" >&5
13669 $as_echo "$ac_cv_cflags__Werror_unknown_warning_option" >&6; }
13670 if test "x$ac_cv_cflags__Werror_unknown_warning_option" = xyes; then :
13671 CFLAGS="$CFLAGS -Werror=unknown-warning-option"
13673 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wdeclaration-after-statement" >&5
13674 $as_echo_n "checking whether the compiler supports -Wdeclaration-after-statement... " >&6; }
13675 if ${ac_cv_cflags__Wdeclaration_after_statement+:} false; then :
13676 $as_echo_n "(cached) " >&6
13677 else
13678 ac_wine_try_cflags_saved=$CFLAGS
13679 CFLAGS="$CFLAGS -Wdeclaration-after-statement"
13680 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13681 /* end confdefs.h. */
13682 int main(int argc, char **argv) { return 0; }
13683 _ACEOF
13684 if ac_fn_c_try_link "$LINENO"; then :
13685 ac_cv_cflags__Wdeclaration_after_statement=yes
13686 else
13687 ac_cv_cflags__Wdeclaration_after_statement=no
13689 rm -f core conftest.err conftest.$ac_objext \
13690 conftest$ac_exeext conftest.$ac_ext
13691 CFLAGS=$ac_wine_try_cflags_saved
13693 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wdeclaration_after_statement" >&5
13694 $as_echo "$ac_cv_cflags__Wdeclaration_after_statement" >&6; }
13695 if test "x$ac_cv_cflags__Wdeclaration_after_statement" = xyes; then :
13696 EXTRACFLAGS="$EXTRACFLAGS -Wdeclaration-after-statement"
13698 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wempty-body" >&5
13699 $as_echo_n "checking whether the compiler supports -Wempty-body... " >&6; }
13700 if ${ac_cv_cflags__Wempty_body+:} false; then :
13701 $as_echo_n "(cached) " >&6
13702 else
13703 ac_wine_try_cflags_saved=$CFLAGS
13704 CFLAGS="$CFLAGS -Wempty-body"
13705 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13706 /* end confdefs.h. */
13707 int main(int argc, char **argv) { return 0; }
13708 _ACEOF
13709 if ac_fn_c_try_link "$LINENO"; then :
13710 ac_cv_cflags__Wempty_body=yes
13711 else
13712 ac_cv_cflags__Wempty_body=no
13714 rm -f core conftest.err conftest.$ac_objext \
13715 conftest$ac_exeext conftest.$ac_ext
13716 CFLAGS=$ac_wine_try_cflags_saved
13718 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wempty_body" >&5
13719 $as_echo "$ac_cv_cflags__Wempty_body" >&6; }
13720 if test "x$ac_cv_cflags__Wempty_body" = xyes; then :
13721 EXTRACFLAGS="$EXTRACFLAGS -Wempty-body"
13723 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wignored-qualifiers" >&5
13724 $as_echo_n "checking whether the compiler supports -Wignored-qualifiers... " >&6; }
13725 if ${ac_cv_cflags__Wignored_qualifiers+:} false; then :
13726 $as_echo_n "(cached) " >&6
13727 else
13728 ac_wine_try_cflags_saved=$CFLAGS
13729 CFLAGS="$CFLAGS -Wignored-qualifiers"
13730 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13731 /* end confdefs.h. */
13732 int main(int argc, char **argv) { return 0; }
13733 _ACEOF
13734 if ac_fn_c_try_link "$LINENO"; then :
13735 ac_cv_cflags__Wignored_qualifiers=yes
13736 else
13737 ac_cv_cflags__Wignored_qualifiers=no
13739 rm -f core conftest.err conftest.$ac_objext \
13740 conftest$ac_exeext conftest.$ac_ext
13741 CFLAGS=$ac_wine_try_cflags_saved
13743 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wignored_qualifiers" >&5
13744 $as_echo "$ac_cv_cflags__Wignored_qualifiers" >&6; }
13745 if test "x$ac_cv_cflags__Wignored_qualifiers" = xyes; then :
13746 EXTRACFLAGS="$EXTRACFLAGS -Wignored-qualifiers"
13748 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wstrict-prototypes" >&5
13749 $as_echo_n "checking whether the compiler supports -Wstrict-prototypes... " >&6; }
13750 if ${ac_cv_cflags__Wstrict_prototypes+:} false; then :
13751 $as_echo_n "(cached) " >&6
13752 else
13753 ac_wine_try_cflags_saved=$CFLAGS
13754 CFLAGS="$CFLAGS -Wstrict-prototypes"
13755 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13756 /* end confdefs.h. */
13757 int main(int argc, char **argv) { return 0; }
13758 _ACEOF
13759 if ac_fn_c_try_link "$LINENO"; then :
13760 ac_cv_cflags__Wstrict_prototypes=yes
13761 else
13762 ac_cv_cflags__Wstrict_prototypes=no
13764 rm -f core conftest.err conftest.$ac_objext \
13765 conftest$ac_exeext conftest.$ac_ext
13766 CFLAGS=$ac_wine_try_cflags_saved
13768 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wstrict_prototypes" >&5
13769 $as_echo "$ac_cv_cflags__Wstrict_prototypes" >&6; }
13770 if test "x$ac_cv_cflags__Wstrict_prototypes" = xyes; then :
13771 EXTRACFLAGS="$EXTRACFLAGS -Wstrict-prototypes"
13773 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wtype-limits" >&5
13774 $as_echo_n "checking whether the compiler supports -Wtype-limits... " >&6; }
13775 if ${ac_cv_cflags__Wtype_limits+:} false; then :
13776 $as_echo_n "(cached) " >&6
13777 else
13778 ac_wine_try_cflags_saved=$CFLAGS
13779 CFLAGS="$CFLAGS -Wtype-limits"
13780 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13781 /* end confdefs.h. */
13782 int main(int argc, char **argv) { return 0; }
13783 _ACEOF
13784 if ac_fn_c_try_link "$LINENO"; then :
13785 ac_cv_cflags__Wtype_limits=yes
13786 else
13787 ac_cv_cflags__Wtype_limits=no
13789 rm -f core conftest.err conftest.$ac_objext \
13790 conftest$ac_exeext conftest.$ac_ext
13791 CFLAGS=$ac_wine_try_cflags_saved
13793 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wtype_limits" >&5
13794 $as_echo "$ac_cv_cflags__Wtype_limits" >&6; }
13795 if test "x$ac_cv_cflags__Wtype_limits" = xyes; then :
13796 EXTRACFLAGS="$EXTRACFLAGS -Wtype-limits"
13798 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wunused-but-set-parameter" >&5
13799 $as_echo_n "checking whether the compiler supports -Wunused-but-set-parameter... " >&6; }
13800 if ${ac_cv_cflags__Wunused_but_set_parameter+:} false; then :
13801 $as_echo_n "(cached) " >&6
13802 else
13803 ac_wine_try_cflags_saved=$CFLAGS
13804 CFLAGS="$CFLAGS -Wunused-but-set-parameter"
13805 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13806 /* end confdefs.h. */
13807 int main(int argc, char **argv) { return 0; }
13808 _ACEOF
13809 if ac_fn_c_try_link "$LINENO"; then :
13810 ac_cv_cflags__Wunused_but_set_parameter=yes
13811 else
13812 ac_cv_cflags__Wunused_but_set_parameter=no
13814 rm -f core conftest.err conftest.$ac_objext \
13815 conftest$ac_exeext conftest.$ac_ext
13816 CFLAGS=$ac_wine_try_cflags_saved
13818 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wunused_but_set_parameter" >&5
13819 $as_echo "$ac_cv_cflags__Wunused_but_set_parameter" >&6; }
13820 if test "x$ac_cv_cflags__Wunused_but_set_parameter" = xyes; then :
13821 EXTRACFLAGS="$EXTRACFLAGS -Wunused-but-set-parameter"
13823 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wvla" >&5
13824 $as_echo_n "checking whether the compiler supports -Wvla... " >&6; }
13825 if ${ac_cv_cflags__Wvla+:} false; then :
13826 $as_echo_n "(cached) " >&6
13827 else
13828 ac_wine_try_cflags_saved=$CFLAGS
13829 CFLAGS="$CFLAGS -Wvla"
13830 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13831 /* end confdefs.h. */
13832 int main(int argc, char **argv) { return 0; }
13833 _ACEOF
13834 if ac_fn_c_try_link "$LINENO"; then :
13835 ac_cv_cflags__Wvla=yes
13836 else
13837 ac_cv_cflags__Wvla=no
13839 rm -f core conftest.err conftest.$ac_objext \
13840 conftest$ac_exeext conftest.$ac_ext
13841 CFLAGS=$ac_wine_try_cflags_saved
13843 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wvla" >&5
13844 $as_echo "$ac_cv_cflags__Wvla" >&6; }
13845 if test "x$ac_cv_cflags__Wvla" = xyes; then :
13846 EXTRACFLAGS="$EXTRACFLAGS -Wvla"
13848 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wwrite-strings" >&5
13849 $as_echo_n "checking whether the compiler supports -Wwrite-strings... " >&6; }
13850 if ${ac_cv_cflags__Wwrite_strings+:} false; then :
13851 $as_echo_n "(cached) " >&6
13852 else
13853 ac_wine_try_cflags_saved=$CFLAGS
13854 CFLAGS="$CFLAGS -Wwrite-strings"
13855 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13856 /* end confdefs.h. */
13857 int main(int argc, char **argv) { return 0; }
13858 _ACEOF
13859 if ac_fn_c_try_link "$LINENO"; then :
13860 ac_cv_cflags__Wwrite_strings=yes
13861 else
13862 ac_cv_cflags__Wwrite_strings=no
13864 rm -f core conftest.err conftest.$ac_objext \
13865 conftest$ac_exeext conftest.$ac_ext
13866 CFLAGS=$ac_wine_try_cflags_saved
13868 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wwrite_strings" >&5
13869 $as_echo "$ac_cv_cflags__Wwrite_strings" >&6; }
13870 if test "x$ac_cv_cflags__Wwrite_strings" = xyes; then :
13871 EXTRACFLAGS="$EXTRACFLAGS -Wwrite-strings"
13874 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wpointer-arith" >&5
13875 $as_echo_n "checking whether the compiler supports -Wpointer-arith... " >&6; }
13876 if ${ac_cv_cflags__Wpointer_arith+:} false; then :
13877 $as_echo_n "(cached) " >&6
13878 else
13879 ac_wine_try_cflags_saved=$CFLAGS
13880 CFLAGS="$CFLAGS -Wpointer-arith"
13881 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13882 /* end confdefs.h. */
13883 int main(int argc, char **argv) { return 0; }
13884 _ACEOF
13885 if ac_fn_c_try_link "$LINENO"; then :
13886 ac_cv_cflags__Wpointer_arith=yes
13887 else
13888 ac_cv_cflags__Wpointer_arith=no
13890 rm -f core conftest.err conftest.$ac_objext \
13891 conftest$ac_exeext conftest.$ac_ext
13892 CFLAGS=$ac_wine_try_cflags_saved
13894 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wpointer_arith" >&5
13895 $as_echo "$ac_cv_cflags__Wpointer_arith" >&6; }
13896 if test "x$ac_cv_cflags__Wpointer_arith" = xyes; then :
13897 saved_string_h_CFLAGS=$CFLAGS
13898 CFLAGS="$CFLAGS -Wpointer-arith -Werror"
13899 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for broken string.h that generates warnings with -Wpointer-arith" >&5
13900 $as_echo_n "checking for broken string.h that generates warnings with -Wpointer-arith... " >&6; }
13901 if ${ac_cv_c_string_h_warnings+:} false; then :
13902 $as_echo_n "(cached) " >&6
13903 else
13904 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13905 /* end confdefs.h. */
13906 #include <string.h>
13908 main ()
13912 return 0;
13914 _ACEOF
13915 if ac_fn_c_try_compile "$LINENO"; then :
13916 ac_cv_c_string_h_warnings=no
13917 else
13918 ac_cv_c_string_h_warnings=yes
13920 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
13922 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_string_h_warnings" >&5
13923 $as_echo "$ac_cv_c_string_h_warnings" >&6; }
13924 test "$ac_cv_c_string_h_warnings" = yes || EXTRACFLAGS="$EXTRACFLAGS -Wpointer-arith"
13925 CFLAGS=$saved_string_h_CFLAGS
13928 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wlogical-op" >&5
13929 $as_echo_n "checking whether the compiler supports -Wlogical-op... " >&6; }
13930 if ${ac_cv_cflags__Wlogical_op+:} false; then :
13931 $as_echo_n "(cached) " >&6
13932 else
13933 ac_wine_try_cflags_saved=$CFLAGS
13934 CFLAGS="$CFLAGS -Wlogical-op"
13935 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13936 /* end confdefs.h. */
13937 int main(int argc, char **argv) { return 0; }
13938 _ACEOF
13939 if ac_fn_c_try_link "$LINENO"; then :
13940 ac_cv_cflags__Wlogical_op=yes
13941 else
13942 ac_cv_cflags__Wlogical_op=no
13944 rm -f core conftest.err conftest.$ac_objext \
13945 conftest$ac_exeext conftest.$ac_ext
13946 CFLAGS=$ac_wine_try_cflags_saved
13948 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wlogical_op" >&5
13949 $as_echo "$ac_cv_cflags__Wlogical_op" >&6; }
13950 if test "x$ac_cv_cflags__Wlogical_op" = xyes; then :
13951 saved_string_h_CFLAGS=$CFLAGS
13952 CFLAGS="$CFLAGS -Wlogical-op -Werror"
13953 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for broken string.h that generates warnings with -Wlogical-op" >&5
13954 $as_echo_n "checking for broken string.h that generates warnings with -Wlogical-op... " >&6; }
13955 if ${ac_cv_c_logicalop_noisy+:} false; then :
13956 $as_echo_n "(cached) " >&6
13957 else
13958 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13959 /* end confdefs.h. */
13960 #include <string.h>
13961 char*f(const char *h,char n) {return strchr(h,n);}
13963 main ()
13967 return 0;
13969 _ACEOF
13970 if ac_fn_c_try_compile "$LINENO"; then :
13971 ac_cv_c_logicalop_noisy=no
13972 else
13973 ac_cv_c_logicalop_noisy=yes
13975 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
13977 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_logicalop_noisy" >&5
13978 $as_echo "$ac_cv_c_logicalop_noisy" >&6; }
13979 CFLAGS=$saved_string_h_CFLAGS
13980 test "$ac_cv_c_logicalop_noisy" = yes || EXTRACFLAGS="$EXTRACFLAGS -Wlogical-op"
13983 CFLAGS=$saved_CFLAGS
13985 for ac_flag in $CFLAGS; do
13986 case $ac_flag in
13987 -g) case $host_os in
13988 darwin*) { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -gstabs+" >&5
13989 $as_echo_n "checking whether the compiler supports -gstabs+... " >&6; }
13990 if ${ac_cv_cflags__gstabsp+:} false; then :
13991 $as_echo_n "(cached) " >&6
13992 else
13993 ac_wine_try_cflags_saved=$CFLAGS
13994 CFLAGS="$CFLAGS -gstabs+"
13995 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13996 /* end confdefs.h. */
13997 int main(int argc, char **argv) { return 0; }
13998 _ACEOF
13999 if ac_fn_c_try_link "$LINENO"; then :
14000 ac_cv_cflags__gstabsp=yes
14001 else
14002 ac_cv_cflags__gstabsp=no
14004 rm -f core conftest.err conftest.$ac_objext \
14005 conftest$ac_exeext conftest.$ac_ext
14006 CFLAGS=$ac_wine_try_cflags_saved
14008 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__gstabsp" >&5
14009 $as_echo "$ac_cv_cflags__gstabsp" >&6; }
14010 if test "x$ac_cv_cflags__gstabsp" = xyes; then :
14011 EXTRACFLAGS="$EXTRACFLAGS -gstabs+"
14012 fi ;;
14013 *) { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -gdwarf-2" >&5
14014 $as_echo_n "checking whether the compiler supports -gdwarf-2... " >&6; }
14015 if ${ac_cv_cflags__gdwarf_2+:} false; then :
14016 $as_echo_n "(cached) " >&6
14017 else
14018 ac_wine_try_cflags_saved=$CFLAGS
14019 CFLAGS="$CFLAGS -gdwarf-2"
14020 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14021 /* end confdefs.h. */
14022 int main(int argc, char **argv) { return 0; }
14023 _ACEOF
14024 if ac_fn_c_try_link "$LINENO"; then :
14025 ac_cv_cflags__gdwarf_2=yes
14026 else
14027 ac_cv_cflags__gdwarf_2=no
14029 rm -f core conftest.err conftest.$ac_objext \
14030 conftest$ac_exeext conftest.$ac_ext
14031 CFLAGS=$ac_wine_try_cflags_saved
14033 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__gdwarf_2" >&5
14034 $as_echo "$ac_cv_cflags__gdwarf_2" >&6; }
14035 if test "x$ac_cv_cflags__gdwarf_2" = xyes; then :
14036 EXTRACFLAGS="$EXTRACFLAGS -gdwarf-2"
14038 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -gstrict-dwarf" >&5
14039 $as_echo_n "checking whether the compiler supports -gstrict-dwarf... " >&6; }
14040 if ${ac_cv_cflags__gstrict_dwarf+:} false; then :
14041 $as_echo_n "(cached) " >&6
14042 else
14043 ac_wine_try_cflags_saved=$CFLAGS
14044 CFLAGS="$CFLAGS -gstrict-dwarf"
14045 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14046 /* end confdefs.h. */
14047 int main(int argc, char **argv) { return 0; }
14048 _ACEOF
14049 if ac_fn_c_try_link "$LINENO"; then :
14050 ac_cv_cflags__gstrict_dwarf=yes
14051 else
14052 ac_cv_cflags__gstrict_dwarf=no
14054 rm -f core conftest.err conftest.$ac_objext \
14055 conftest$ac_exeext conftest.$ac_ext
14056 CFLAGS=$ac_wine_try_cflags_saved
14058 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__gstrict_dwarf" >&5
14059 $as_echo "$ac_cv_cflags__gstrict_dwarf" >&6; }
14060 if test "x$ac_cv_cflags__gstrict_dwarf" = xyes; then :
14061 EXTRACFLAGS="$EXTRACFLAGS -gstrict-dwarf"
14062 fi ;;
14063 esac ;;
14064 esac
14065 done
14067 case $host_cpu in
14068 *i[3456789]86*) { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -fno-omit-frame-pointer" >&5
14069 $as_echo_n "checking whether the compiler supports -fno-omit-frame-pointer... " >&6; }
14070 if ${ac_cv_cflags__fno_omit_frame_pointer+:} false; then :
14071 $as_echo_n "(cached) " >&6
14072 else
14073 ac_wine_try_cflags_saved=$CFLAGS
14074 CFLAGS="$CFLAGS -fno-omit-frame-pointer"
14075 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14076 /* end confdefs.h. */
14077 int main(int argc, char **argv) { return 0; }
14078 _ACEOF
14079 if ac_fn_c_try_link "$LINENO"; then :
14080 ac_cv_cflags__fno_omit_frame_pointer=yes
14081 else
14082 ac_cv_cflags__fno_omit_frame_pointer=no
14084 rm -f core conftest.err conftest.$ac_objext \
14085 conftest$ac_exeext conftest.$ac_ext
14086 CFLAGS=$ac_wine_try_cflags_saved
14088 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__fno_omit_frame_pointer" >&5
14089 $as_echo "$ac_cv_cflags__fno_omit_frame_pointer" >&6; }
14090 if test "x$ac_cv_cflags__fno_omit_frame_pointer" = xyes; then :
14091 EXTRACFLAGS="$EXTRACFLAGS -fno-omit-frame-pointer"
14092 fi ;;
14093 esac
14095 case $host in
14096 x86_64-*mingw32*|x86_64-*cygwin*) { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wno-format" >&5
14097 $as_echo_n "checking whether the compiler supports -Wno-format... " >&6; }
14098 if ${ac_cv_cflags__Wno_format+:} false; then :
14099 $as_echo_n "(cached) " >&6
14100 else
14101 ac_wine_try_cflags_saved=$CFLAGS
14102 CFLAGS="$CFLAGS -Wno-format"
14103 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14104 /* end confdefs.h. */
14105 int main(int argc, char **argv) { return 0; }
14106 _ACEOF
14107 if ac_fn_c_try_link "$LINENO"; then :
14108 ac_cv_cflags__Wno_format=yes
14109 else
14110 ac_cv_cflags__Wno_format=no
14112 rm -f core conftest.err conftest.$ac_objext \
14113 conftest$ac_exeext conftest.$ac_ext
14114 CFLAGS=$ac_wine_try_cflags_saved
14116 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wno_format" >&5
14117 $as_echo "$ac_cv_cflags__Wno_format" >&6; }
14118 if test "x$ac_cv_cflags__Wno_format" = xyes; then :
14119 EXTRACFLAGS="$EXTRACFLAGS -Wno-format"
14120 fi ;;
14121 esac
14123 if test "x$enable_maintainer_mode" = "xyes"
14124 then
14125 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Werror" >&5
14126 $as_echo_n "checking whether the compiler supports -Werror... " >&6; }
14127 if ${ac_cv_cflags__Werror+:} false; then :
14128 $as_echo_n "(cached) " >&6
14129 else
14130 ac_wine_try_cflags_saved=$CFLAGS
14131 CFLAGS="$CFLAGS -Werror"
14132 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14133 /* end confdefs.h. */
14134 int main(int argc, char **argv) { return 0; }
14135 _ACEOF
14136 if ac_fn_c_try_link "$LINENO"; then :
14137 ac_cv_cflags__Werror=yes
14138 else
14139 ac_cv_cflags__Werror=no
14141 rm -f core conftest.err conftest.$ac_objext \
14142 conftest$ac_exeext conftest.$ac_ext
14143 CFLAGS=$ac_wine_try_cflags_saved
14145 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Werror" >&5
14146 $as_echo "$ac_cv_cflags__Werror" >&6; }
14147 if test "x$ac_cv_cflags__Werror" = xyes; then :
14148 EXTRACFLAGS="$EXTRACFLAGS -Werror"
14152 saved_CFLAGS="$CFLAGS"
14153 CFLAGS="$CFLAGS -Werror"
14154 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ms_hook_prologue attribute" >&5
14155 $as_echo_n "checking for ms_hook_prologue attribute... " >&6; }
14156 if ${ac_cv_have_ms_hook_prologue+:} false; then :
14157 $as_echo_n "(cached) " >&6
14158 else
14159 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14160 /* end confdefs.h. */
14161 int __attribute__((__ms_hook_prologue__)) test(void) { return 0; }
14163 main ()
14167 return 0;
14169 _ACEOF
14170 if ac_fn_c_try_compile "$LINENO"; then :
14171 ac_cv_have_ms_hook_prologue="yes"
14172 else
14173 ac_cv_have_ms_hook_prologue="no"
14175 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
14177 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_have_ms_hook_prologue" >&5
14178 $as_echo "$ac_cv_have_ms_hook_prologue" >&6; }
14179 CFLAGS="$saved_CFLAGS"
14180 if test "$ac_cv_have_ms_hook_prologue" = "yes"
14181 then
14183 $as_echo "#define DECLSPEC_HOTPATCH __attribute__((__ms_hook_prologue__))" >>confdefs.h
14185 else
14186 $as_echo "#define DECLSPEC_HOTPATCH /* */" >>confdefs.h
14192 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for the need to disable Fortify" >&5
14193 $as_echo_n "checking for the need to disable Fortify... " >&6; }
14194 if ${ac_cv_c_fortify_enabled+:} false; then :
14195 $as_echo_n "(cached) " >&6
14196 else
14197 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14198 /* end confdefs.h. */
14199 #include <string.h>
14201 main ()
14203 #if defined(__USE_FORTIFY_LEVEL) && __USE_FORTIFY_LEVEL > 0
14204 #error Fortify enabled
14205 #endif
14207 return 0;
14209 _ACEOF
14210 if ac_fn_c_try_compile "$LINENO"; then :
14211 ac_cv_c_fortify_enabled=no
14212 else
14213 ac_cv_c_fortify_enabled=yes
14215 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
14217 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_fortify_enabled" >&5
14218 $as_echo "$ac_cv_c_fortify_enabled" >&6; }
14219 if test "$ac_cv_c_fortify_enabled" = yes
14220 then
14221 CFLAGS="$CFLAGS -U_FORTIFY_SOURCE -D_FORTIFY_SOURCE=0"
14225 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether external symbols need an underscore prefix" >&5
14226 $as_echo_n "checking whether external symbols need an underscore prefix... " >&6; }
14227 if ${ac_cv_c_extern_prefix+:} false; then :
14228 $as_echo_n "(cached) " >&6
14229 else
14230 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14231 /* end confdefs.h. */
14232 extern int ac_test;
14234 main ()
14236 asm(".globl _ac_test\n_ac_test:\t.long 0"); if (ac_test) return 1
14238 return 0;
14240 _ACEOF
14241 if ac_fn_c_try_link "$LINENO"; then :
14242 ac_cv_c_extern_prefix="yes"
14243 else
14244 ac_cv_c_extern_prefix="no"
14246 rm -f core conftest.err conftest.$ac_objext \
14247 conftest$ac_exeext conftest.$ac_ext
14249 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_extern_prefix" >&5
14250 $as_echo "$ac_cv_c_extern_prefix" >&6; }
14252 case $host_cpu in
14253 *i[3456789]86*)
14254 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether external symbols need stdcall decoration" >&5
14255 $as_echo_n "checking whether external symbols need stdcall decoration... " >&6; }
14256 if ${ac_cv_c_stdcall_suffix+:} false; then :
14257 $as_echo_n "(cached) " >&6
14258 else
14259 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14260 /* end confdefs.h. */
14261 #ifndef _MSC_VER
14262 #define __stdcall __attribute__((__stdcall__))
14263 #endif
14264 int __stdcall ac_test(int i) { return i; }
14266 main ()
14268 asm("jmp _ac_test@4"); if (ac_test(1)) return 1
14270 return 0;
14272 _ACEOF
14273 if ac_fn_c_try_link "$LINENO"; then :
14274 ac_cv_c_stdcall_suffix="yes"
14275 else
14276 ac_cv_c_stdcall_suffix="no"
14278 rm -f core conftest.err conftest.$ac_objext \
14279 conftest$ac_exeext conftest.$ac_ext
14281 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_stdcall_suffix" >&5
14282 $as_echo "$ac_cv_c_stdcall_suffix" >&6; } ;;
14283 *) ac_cv_c_stdcall_suffix="no" ;;
14284 esac
14287 if test "$ac_cv_c_extern_prefix" = "yes"
14288 then
14289 $as_echo "#define __ASM_NAME(name) \"_\" name" >>confdefs.h
14291 asm_name_prefix="_"
14292 else
14293 $as_echo "#define __ASM_NAME(name) name" >>confdefs.h
14295 asm_name_prefix=""
14299 if test "$ac_cv_c_stdcall_suffix" = "yes"
14300 then
14301 $as_echo "#define __ASM_STDCALL(args) \"@\" #args" >>confdefs.h
14303 else
14304 $as_echo "#define __ASM_STDCALL(args) \"\"" >>confdefs.h
14309 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to define a function in assembly code" >&5
14310 $as_echo_n "checking how to define a function in assembly code... " >&6; }
14311 if ${ac_cv_asm_func_def+:} false; then :
14312 $as_echo_n "(cached) " >&6
14313 else
14314 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14315 /* end confdefs.h. */
14318 main ()
14320 asm("\t.globl _ac_test\n\t.def _ac_test; .scl 2; .type 32; .endef\n_ac_test:\t.long 0");
14322 return 0;
14324 _ACEOF
14325 if ac_fn_c_try_link "$LINENO"; then :
14326 ac_cv_asm_func_def=".def"
14327 else
14328 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14329 /* end confdefs.h. */
14332 main ()
14334 asm("\t.globl _ac_test\n\t.type _ac_test,@function\n_ac_test:\t.long 0");
14336 return 0;
14338 _ACEOF
14339 if ac_fn_c_try_link "$LINENO"; then :
14340 ac_cv_asm_func_def=".type @function"
14341 else
14342 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14343 /* end confdefs.h. */
14346 main ()
14348 asm("\t.globl _ac_test\n\t.type _ac_test,2\n_ac_test:\t.long 0");
14350 return 0;
14352 _ACEOF
14353 if ac_fn_c_try_link "$LINENO"; then :
14354 ac_cv_asm_func_def=".type 2"
14355 else
14356 ac_cv_asm_func_def="unknown"
14358 rm -f core conftest.err conftest.$ac_objext \
14359 conftest$ac_exeext conftest.$ac_ext
14361 rm -f core conftest.err conftest.$ac_objext \
14362 conftest$ac_exeext conftest.$ac_ext
14364 rm -f core conftest.err conftest.$ac_objext \
14365 conftest$ac_exeext conftest.$ac_ext
14367 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_asm_func_def" >&5
14368 $as_echo "$ac_cv_asm_func_def" >&6; }
14371 case "$ac_cv_asm_func_def" in
14372 ".def")
14373 $as_echo "#define __ASM_FUNC(name) \".def \" __ASM_NAME(name) \"; .scl 2; .type 32; .endef\"" >>confdefs.h
14375 asm_func_header=".def $asm_name_prefix\" #name suffix \"; .scl 2; .type 32; .endef" ;;
14376 ".type @function")
14377 $as_echo "#define __ASM_FUNC(name) \".type \" __ASM_NAME(name) \",@function\"" >>confdefs.h
14379 asm_func_header=".type $asm_name_prefix\" #name suffix \",@function" ;;
14380 ".type 2")
14381 $as_echo "#define __ASM_FUNC(name) \".type \" __ASM_NAME(name) \",2\"" >>confdefs.h
14383 asm_func_header=".type $asm_name_prefix\" #name suffix \",2" ;;
14385 $as_echo "#define __ASM_FUNC(name) \"\"" >>confdefs.h
14387 asm_func_header="" ;;
14388 esac
14390 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether asm() works outside of functions" >&5
14391 $as_echo_n "checking whether asm() works outside of functions... " >&6; }
14392 if ${ac_cv_c_asm_outside_funcs+:} false; then :
14393 $as_echo_n "(cached) " >&6
14394 else
14395 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14396 /* end confdefs.h. */
14397 asm(".text\n\t.long 0");
14399 main ()
14403 return 0;
14405 _ACEOF
14406 if ac_fn_c_try_compile "$LINENO"; then :
14407 ac_cv_c_asm_outside_funcs="yes"
14408 else
14409 ac_cv_c_asm_outside_funcs="no"
14411 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
14413 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_asm_outside_funcs" >&5
14414 $as_echo "$ac_cv_c_asm_outside_funcs" >&6; }
14416 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether .previous is supported in assembly code" >&5
14417 $as_echo_n "checking whether .previous is supported in assembly code... " >&6; }
14418 if ${ac_cv_c_dot_previous+:} false; then :
14419 $as_echo_n "(cached) " >&6
14420 else
14421 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14422 /* end confdefs.h. */
14425 main ()
14427 asm(".text\nac_test:\t.long 0\n\t.previous");
14429 return 0;
14431 _ACEOF
14432 if ac_fn_c_try_link "$LINENO"; then :
14433 ac_cv_c_dot_previous="yes"
14434 else
14435 ac_cv_c_dot_previous="no"
14437 rm -f core conftest.err conftest.$ac_objext \
14438 conftest$ac_exeext conftest.$ac_ext
14440 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_dot_previous" >&5
14441 $as_echo "$ac_cv_c_dot_previous" >&6; }
14443 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether CFI directives are supported in assembly code" >&5
14444 $as_echo_n "checking whether CFI directives are supported in assembly code... " >&6; }
14445 if ${ac_cv_c_cfi_support+:} false; then :
14446 $as_echo_n "(cached) " >&6
14447 else
14448 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14449 /* end confdefs.h. */
14450 asm(".text\nac_test:\t.cfi_startproc\n\t.long 0\n\t.cfi_endproc");
14452 main ()
14456 return 0;
14458 _ACEOF
14459 if ac_fn_c_try_compile "$LINENO"; then :
14460 ac_cv_c_cfi_support="yes"
14461 else
14462 ac_cv_c_cfi_support="no"
14464 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
14466 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_cfi_support" >&5
14467 $as_echo "$ac_cv_c_cfi_support" >&6; }
14469 asm_func_header=".globl $asm_name_prefix\" #name suffix \"\\n\\t$asm_func_header\\n$asm_name_prefix\" #name suffix \":\\n\\t"
14470 asm_func_trailer=""
14471 if test "$ac_cv_c_dot_previous" = "yes"
14472 then
14473 asm_func_trailer="\\n\\t.previous"
14475 if test "$ac_cv_c_cfi_support" = "yes"
14476 then
14477 asm_func_header="$asm_func_header.cfi_startproc\\n\\t"
14478 asm_func_trailer="\\n\\t.cfi_endproc$asm_func_trailer"
14480 $as_echo "#define __ASM_CFI(str) str" >>confdefs.h
14482 UNWINDFLAGS=-fasynchronous-unwind-tables
14484 else
14485 $as_echo "#define __ASM_CFI(str) \"\"" >>confdefs.h
14489 asm_func_code="$asm_func_header\" code \"$asm_func_trailer"
14492 if test "$ac_cv_c_asm_outside_funcs" = "yes"
14493 then
14494 cat >>confdefs.h <<_ACEOF
14495 #define __ASM_DEFINE_FUNC(name,suffix,code) asm(".text\n\t.align 4\n\t$asm_func_code");
14496 _ACEOF
14498 else
14499 cat >>confdefs.h <<_ACEOF
14500 #define __ASM_DEFINE_FUNC(name,suffix,code) void __asm_dummy_##name(void) { asm(".text\n\t.align 4\n\t$asm_func_code"); }
14501 _ACEOF
14505 $as_echo "#define __ASM_GLOBAL_FUNC(name,code) __ASM_DEFINE_FUNC(name,\"\",code)" >>confdefs.h
14508 $as_echo "#define __ASM_STDCALL_FUNC(name,args,code) __ASM_DEFINE_FUNC(name,__ASM_STDCALL(args),code)" >>confdefs.h
14512 case $build_os in
14513 cygwin*|mingw32*) TOOLSEXT=".exe"
14515 esac
14517 case $host_os in
14518 linux*)
14519 case $host_cpu in
14520 *i[3456789]86*|x86_64*)
14521 test "$wine_binary" = wine || wine_fn_ignore_file "loader/wine-preloader"
14522 loader_programs="$loader_programs $wine_binary-preloader"
14523 as_fn_append LOADER_RULES "
14524 $wine_binary-preloader: preloader.o
14525 \$(CC) -o \$@ -static -nostartfiles -nodefaultlibs -Wl,-Ttext=0x7c400000 preloader.o \$(LIBPORT) \$(LDFLAGS)
14527 install install-lib:: $wine_binary-preloader
14528 \$(INSTALL_PROGRAM) $wine_binary-preloader \$(DESTDIR)\$(bindir)/$wine_binary-preloader
14530 uninstall::
14531 \$(RM) \$(DESTDIR)\$(bindir)/$wine_binary-preloader
14533 preloader_EXTRADEFS = $BUILTINFLAG
14534 " ;;
14535 esac
14537 esac
14538 as_fn_append LOADER_RULES "
14539 PROGRAMS = $loader_programs
14543 ac_save_CFLAGS="$CFLAGS"
14544 CFLAGS="$CFLAGS $BUILTINFLAG"
14545 for ac_func in \
14546 __res_get_state \
14547 __res_getservers \
14548 _finite \
14549 _isnan \
14550 _pclose \
14551 _popen \
14552 _snprintf \
14553 _spawnvp \
14554 _strdup \
14555 _stricmp \
14556 _strnicmp \
14557 _strtoi64 \
14558 _strtoui64 \
14559 _vsnprintf \
14560 asctime_r \
14561 chsize \
14562 dlopen \
14563 epoll_create \
14564 ffs \
14565 fnmatch \
14566 fork \
14567 fpclass \
14568 fstatfs \
14569 fstatvfs \
14570 ftruncate \
14571 futimens \
14572 futimes \
14573 futimesat \
14574 getattrlist \
14575 getdirentries \
14576 getopt_long_only \
14577 getpwuid \
14578 gettimeofday \
14579 getuid \
14580 if_nameindex \
14581 kqueue \
14582 lstat \
14583 memmove \
14584 mmap \
14585 pclose \
14586 pipe2 \
14587 poll \
14588 popen \
14589 port_create \
14590 prctl \
14591 pread \
14592 proc_pidinfo \
14593 pwrite \
14594 readdir \
14595 readlink \
14596 sched_yield \
14597 select \
14598 setproctitle \
14599 setrlimit \
14600 settimeofday \
14601 sigaltstack \
14602 sigprocmask \
14603 snprintf \
14604 statfs \
14605 statvfs \
14606 strcasecmp \
14607 strdup \
14608 strerror \
14609 strncasecmp \
14610 strtold \
14611 strtoll \
14612 strtoull \
14613 symlink \
14614 tcdrain \
14615 thr_kill2 \
14616 timegm \
14617 usleep \
14618 vsnprintf
14620 do :
14621 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
14622 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
14623 if eval test \"x\$"$as_ac_var"\" = x"yes"; then :
14624 cat >>confdefs.h <<_ACEOF
14625 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
14626 _ACEOF
14629 done
14631 CFLAGS="$ac_save_CFLAGS"
14633 if test "$ac_cv_func_dlopen" = no
14634 then
14635 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dlopen in -ldl" >&5
14636 $as_echo_n "checking for dlopen in -ldl... " >&6; }
14637 if ${ac_cv_lib_dl_dlopen+:} false; then :
14638 $as_echo_n "(cached) " >&6
14639 else
14640 ac_check_lib_save_LIBS=$LIBS
14641 LIBS="-ldl $LIBS"
14642 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14643 /* end confdefs.h. */
14645 /* Override any GCC internal prototype to avoid an error.
14646 Use char because int might match the return type of a GCC
14647 builtin and then its argument prototype would still apply. */
14648 #ifdef __cplusplus
14649 extern "C"
14650 #endif
14651 char dlopen ();
14653 main ()
14655 return dlopen ();
14657 return 0;
14659 _ACEOF
14660 if ac_fn_c_try_link "$LINENO"; then :
14661 ac_cv_lib_dl_dlopen=yes
14662 else
14663 ac_cv_lib_dl_dlopen=no
14665 rm -f core conftest.err conftest.$ac_objext \
14666 conftest$ac_exeext conftest.$ac_ext
14667 LIBS=$ac_check_lib_save_LIBS
14669 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dl_dlopen" >&5
14670 $as_echo "$ac_cv_lib_dl_dlopen" >&6; }
14671 if test "x$ac_cv_lib_dl_dlopen" = xyes; then :
14672 $as_echo "#define HAVE_DLOPEN 1" >>confdefs.h
14673 DL_LIBS="-ldl"
14678 ac_wine_check_funcs_save_LIBS="$LIBS"
14679 LIBS="$LIBS $DL_LIBS"
14680 for ac_func in dladdr
14681 do :
14682 ac_fn_c_check_func "$LINENO" "dladdr" "ac_cv_func_dladdr"
14683 if test "x$ac_cv_func_dladdr" = xyes; then :
14684 cat >>confdefs.h <<_ACEOF
14685 #define HAVE_DLADDR 1
14686 _ACEOF
14689 done
14691 LIBS="$ac_wine_check_funcs_save_LIBS"
14693 if test "$ac_cv_func_poll" = no
14694 then
14695 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for poll in -lpoll" >&5
14696 $as_echo_n "checking for poll in -lpoll... " >&6; }
14697 if ${ac_cv_lib_poll_poll+:} false; then :
14698 $as_echo_n "(cached) " >&6
14699 else
14700 ac_check_lib_save_LIBS=$LIBS
14701 LIBS="-lpoll $LIBS"
14702 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14703 /* end confdefs.h. */
14705 /* Override any GCC internal prototype to avoid an error.
14706 Use char because int might match the return type of a GCC
14707 builtin and then its argument prototype would still apply. */
14708 #ifdef __cplusplus
14709 extern "C"
14710 #endif
14711 char poll ();
14713 main ()
14715 return poll ();
14717 return 0;
14719 _ACEOF
14720 if ac_fn_c_try_link "$LINENO"; then :
14721 ac_cv_lib_poll_poll=yes
14722 else
14723 ac_cv_lib_poll_poll=no
14725 rm -f core conftest.err conftest.$ac_objext \
14726 conftest$ac_exeext conftest.$ac_ext
14727 LIBS=$ac_check_lib_save_LIBS
14729 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_poll_poll" >&5
14730 $as_echo "$ac_cv_lib_poll_poll" >&6; }
14731 if test "x$ac_cv_lib_poll_poll" = xyes; then :
14732 $as_echo "#define HAVE_POLL 1" >>confdefs.h
14733 POLL_LIBS="-lpoll"
14739 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for library containing gethostbyname" >&5
14740 $as_echo_n "checking for library containing gethostbyname... " >&6; }
14741 if ${ac_cv_search_gethostbyname+:} false; then :
14742 $as_echo_n "(cached) " >&6
14743 else
14744 ac_func_search_save_LIBS=$LIBS
14745 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14746 /* end confdefs.h. */
14748 /* Override any GCC internal prototype to avoid an error.
14749 Use char because int might match the return type of a GCC
14750 builtin and then its argument prototype would still apply. */
14751 #ifdef __cplusplus
14752 extern "C"
14753 #endif
14754 char gethostbyname ();
14756 main ()
14758 return gethostbyname ();
14760 return 0;
14762 _ACEOF
14763 for ac_lib in '' nsl; do
14764 if test -z "$ac_lib"; then
14765 ac_res="none required"
14766 else
14767 ac_res=-l$ac_lib
14768 LIBS="-l$ac_lib $ac_func_search_save_LIBS"
14770 if ac_fn_c_try_link "$LINENO"; then :
14771 ac_cv_search_gethostbyname=$ac_res
14773 rm -f core conftest.err conftest.$ac_objext \
14774 conftest$ac_exeext
14775 if ${ac_cv_search_gethostbyname+:} false; then :
14776 break
14778 done
14779 if ${ac_cv_search_gethostbyname+:} false; then :
14781 else
14782 ac_cv_search_gethostbyname=no
14784 rm conftest.$ac_ext
14785 LIBS=$ac_func_search_save_LIBS
14787 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_search_gethostbyname" >&5
14788 $as_echo "$ac_cv_search_gethostbyname" >&6; }
14789 ac_res=$ac_cv_search_gethostbyname
14790 if test "$ac_res" != no; then :
14791 test "$ac_res" = "none required" || LIBS="$ac_res $LIBS"
14796 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for library containing connect" >&5
14797 $as_echo_n "checking for library containing connect... " >&6; }
14798 if ${ac_cv_search_connect+:} false; then :
14799 $as_echo_n "(cached) " >&6
14800 else
14801 ac_func_search_save_LIBS=$LIBS
14802 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14803 /* end confdefs.h. */
14805 /* Override any GCC internal prototype to avoid an error.
14806 Use char because int might match the return type of a GCC
14807 builtin and then its argument prototype would still apply. */
14808 #ifdef __cplusplus
14809 extern "C"
14810 #endif
14811 char connect ();
14813 main ()
14815 return connect ();
14817 return 0;
14819 _ACEOF
14820 for ac_lib in '' socket; do
14821 if test -z "$ac_lib"; then
14822 ac_res="none required"
14823 else
14824 ac_res=-l$ac_lib
14825 LIBS="-l$ac_lib $ac_func_search_save_LIBS"
14827 if ac_fn_c_try_link "$LINENO"; then :
14828 ac_cv_search_connect=$ac_res
14830 rm -f core conftest.err conftest.$ac_objext \
14831 conftest$ac_exeext
14832 if ${ac_cv_search_connect+:} false; then :
14833 break
14835 done
14836 if ${ac_cv_search_connect+:} false; then :
14838 else
14839 ac_cv_search_connect=no
14841 rm conftest.$ac_ext
14842 LIBS=$ac_func_search_save_LIBS
14844 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_search_connect" >&5
14845 $as_echo "$ac_cv_search_connect" >&6; }
14846 ac_res=$ac_cv_search_connect
14847 if test "$ac_res" != no; then :
14848 test "$ac_res" = "none required" || LIBS="$ac_res $LIBS"
14853 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for library containing inet_aton" >&5
14854 $as_echo_n "checking for library containing inet_aton... " >&6; }
14855 if ${ac_cv_search_inet_aton+:} false; then :
14856 $as_echo_n "(cached) " >&6
14857 else
14858 ac_func_search_save_LIBS=$LIBS
14859 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14860 /* end confdefs.h. */
14862 /* Override any GCC internal prototype to avoid an error.
14863 Use char because int might match the return type of a GCC
14864 builtin and then its argument prototype would still apply. */
14865 #ifdef __cplusplus
14866 extern "C"
14867 #endif
14868 char inet_aton ();
14870 main ()
14872 return inet_aton ();
14874 return 0;
14876 _ACEOF
14877 for ac_lib in '' resolv; do
14878 if test -z "$ac_lib"; then
14879 ac_res="none required"
14880 else
14881 ac_res=-l$ac_lib
14882 LIBS="-l$ac_lib $ac_func_search_save_LIBS"
14884 if ac_fn_c_try_link "$LINENO"; then :
14885 ac_cv_search_inet_aton=$ac_res
14887 rm -f core conftest.err conftest.$ac_objext \
14888 conftest$ac_exeext
14889 if ${ac_cv_search_inet_aton+:} false; then :
14890 break
14892 done
14893 if ${ac_cv_search_inet_aton+:} false; then :
14895 else
14896 ac_cv_search_inet_aton=no
14898 rm conftest.$ac_ext
14899 LIBS=$ac_func_search_save_LIBS
14901 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_search_inet_aton" >&5
14902 $as_echo "$ac_cv_search_inet_aton" >&6; }
14903 ac_res=$ac_cv_search_inet_aton
14904 if test "$ac_res" != no; then :
14905 test "$ac_res" = "none required" || LIBS="$ac_res $LIBS"
14910 for ac_func in \
14911 getaddrinfo \
14912 getnameinfo \
14913 getnetbyname \
14914 getprotobyname \
14915 getprotobynumber \
14916 getservbyport \
14917 inet_addr \
14918 inet_network \
14919 inet_ntop \
14920 inet_pton \
14921 sendmsg \
14922 socketpair \
14924 do :
14925 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
14926 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
14927 if eval test \"x\$"$as_ac_var"\" = x"yes"; then :
14928 cat >>confdefs.h <<_ACEOF
14929 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
14930 _ACEOF
14933 done
14936 ac_save_LIBS=$LIBS
14937 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for library containing clock_gettime" >&5
14938 $as_echo_n "checking for library containing clock_gettime... " >&6; }
14939 if ${ac_cv_search_clock_gettime+:} false; then :
14940 $as_echo_n "(cached) " >&6
14941 else
14942 ac_func_search_save_LIBS=$LIBS
14943 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14944 /* end confdefs.h. */
14946 /* Override any GCC internal prototype to avoid an error.
14947 Use char because int might match the return type of a GCC
14948 builtin and then its argument prototype would still apply. */
14949 #ifdef __cplusplus
14950 extern "C"
14951 #endif
14952 char clock_gettime ();
14954 main ()
14956 return clock_gettime ();
14958 return 0;
14960 _ACEOF
14961 for ac_lib in '' rt; do
14962 if test -z "$ac_lib"; then
14963 ac_res="none required"
14964 else
14965 ac_res=-l$ac_lib
14966 LIBS="-l$ac_lib $ac_func_search_save_LIBS"
14968 if ac_fn_c_try_link "$LINENO"; then :
14969 ac_cv_search_clock_gettime=$ac_res
14971 rm -f core conftest.err conftest.$ac_objext \
14972 conftest$ac_exeext
14973 if ${ac_cv_search_clock_gettime+:} false; then :
14974 break
14976 done
14977 if ${ac_cv_search_clock_gettime+:} false; then :
14979 else
14980 ac_cv_search_clock_gettime=no
14982 rm conftest.$ac_ext
14983 LIBS=$ac_func_search_save_LIBS
14985 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_search_clock_gettime" >&5
14986 $as_echo "$ac_cv_search_clock_gettime" >&6; }
14987 ac_res=$ac_cv_search_clock_gettime
14988 if test "$ac_res" != no; then :
14989 test "$ac_res" = "none required" || LIBS="$ac_res $LIBS"
14991 $as_echo "#define HAVE_CLOCK_GETTIME 1" >>confdefs.h
14993 test "$ac_res" = "none required" || RT_LIBS="$ac_res"
14997 LIBS=$ac_save_LIBS
14999 LDAP_LIBS=""
15001 if test "$ac_cv_header_ldap_h" = "yes" -a "$ac_cv_header_lber_h" = "yes"
15002 then
15003 ac_fn_c_check_type "$LINENO" "LDAPSortKey" "ac_cv_type_LDAPSortKey" "#include <ldap.h>
15005 if test "x$ac_cv_type_LDAPSortKey" = xyes; then :
15006 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ldap_initialize in -lldap_r" >&5
15007 $as_echo_n "checking for ldap_initialize in -lldap_r... " >&6; }
15008 if ${ac_cv_lib_ldap_r_ldap_initialize+:} false; then :
15009 $as_echo_n "(cached) " >&6
15010 else
15011 ac_check_lib_save_LIBS=$LIBS
15012 LIBS="-lldap_r $PTHREAD_LIBS $LIBS"
15013 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15014 /* end confdefs.h. */
15016 /* Override any GCC internal prototype to avoid an error.
15017 Use char because int might match the return type of a GCC
15018 builtin and then its argument prototype would still apply. */
15019 #ifdef __cplusplus
15020 extern "C"
15021 #endif
15022 char ldap_initialize ();
15024 main ()
15026 return ldap_initialize ();
15028 return 0;
15030 _ACEOF
15031 if ac_fn_c_try_link "$LINENO"; then :
15032 ac_cv_lib_ldap_r_ldap_initialize=yes
15033 else
15034 ac_cv_lib_ldap_r_ldap_initialize=no
15036 rm -f core conftest.err conftest.$ac_objext \
15037 conftest$ac_exeext conftest.$ac_ext
15038 LIBS=$ac_check_lib_save_LIBS
15040 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_ldap_r_ldap_initialize" >&5
15041 $as_echo "$ac_cv_lib_ldap_r_ldap_initialize" >&6; }
15042 if test "x$ac_cv_lib_ldap_r_ldap_initialize" = xyes; then :
15043 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ber_init in -llber" >&5
15044 $as_echo_n "checking for ber_init in -llber... " >&6; }
15045 if ${ac_cv_lib_lber_ber_init+:} false; then :
15046 $as_echo_n "(cached) " >&6
15047 else
15048 ac_check_lib_save_LIBS=$LIBS
15049 LIBS="-llber $PTHREAD_LIBS $LIBS"
15050 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15051 /* end confdefs.h. */
15053 /* Override any GCC internal prototype to avoid an error.
15054 Use char because int might match the return type of a GCC
15055 builtin and then its argument prototype would still apply. */
15056 #ifdef __cplusplus
15057 extern "C"
15058 #endif
15059 char ber_init ();
15061 main ()
15063 return ber_init ();
15065 return 0;
15067 _ACEOF
15068 if ac_fn_c_try_link "$LINENO"; then :
15069 ac_cv_lib_lber_ber_init=yes
15070 else
15071 ac_cv_lib_lber_ber_init=no
15073 rm -f core conftest.err conftest.$ac_objext \
15074 conftest$ac_exeext conftest.$ac_ext
15075 LIBS=$ac_check_lib_save_LIBS
15077 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_lber_ber_init" >&5
15078 $as_echo "$ac_cv_lib_lber_ber_init" >&6; }
15079 if test "x$ac_cv_lib_lber_ber_init" = xyes; then :
15081 $as_echo "#define HAVE_LDAP 1" >>confdefs.h
15083 LDAP_LIBS="-lldap_r -llber"
15090 ac_wine_check_funcs_save_LIBS="$LIBS"
15091 LIBS="$LIBS $LDAP_LIBS $PTHREAD_LIBS"
15092 for ac_func in \
15093 ldap_count_references \
15094 ldap_first_reference \
15095 ldap_next_reference \
15096 ldap_parse_reference \
15097 ldap_parse_sort_control \
15098 ldap_parse_sortresponse_control \
15099 ldap_parse_vlv_control \
15100 ldap_parse_vlvresponse_control
15101 do :
15102 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
15103 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
15104 if eval test \"x\$"$as_ac_var"\" = x"yes"; then :
15105 cat >>confdefs.h <<_ACEOF
15106 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
15107 _ACEOF
15110 done
15112 LIBS="$ac_wine_check_funcs_save_LIBS"
15114 if test "x$LDAP_LIBS" = "x"; then :
15115 case "x$with_ldap" in
15116 x) as_fn_append wine_notices "|libldap (OpenLDAP) ${notice_platform}development files not found, LDAP won't be supported." ;;
15117 xno) ;;
15118 *) as_fn_error $? "libldap (OpenLDAP) ${notice_platform}development files not found, LDAP won't be supported.
15119 This is an error since --with-ldap was requested." "$LINENO" 5 ;;
15120 esac
15123 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether mkdir takes only one argument" >&5
15124 $as_echo_n "checking whether mkdir takes only one argument... " >&6; }
15125 if ${wine_cv_one_arg_mkdir+:} false; then :
15126 $as_echo_n "(cached) " >&6
15127 else
15128 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15129 /* end confdefs.h. */
15130 #include <sys/stat.h>
15132 main ()
15134 mkdir("foo");
15136 return 0;
15138 _ACEOF
15139 if ac_fn_c_try_compile "$LINENO"; then :
15140 wine_cv_one_arg_mkdir=yes
15141 else
15142 wine_cv_one_arg_mkdir=no
15144 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
15146 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $wine_cv_one_arg_mkdir" >&5
15147 $as_echo "$wine_cv_one_arg_mkdir" >&6; }
15148 if test "$wine_cv_one_arg_mkdir" = "yes"
15149 then
15151 $as_echo "#define HAVE_ONE_ARG_MKDIR 1" >>confdefs.h
15155 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sched_setaffinity" >&5
15156 $as_echo_n "checking for sched_setaffinity... " >&6; }
15157 if ${wine_cv_have_sched_setaffinity+:} false; then :
15158 $as_echo_n "(cached) " >&6
15159 else
15160 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15161 /* end confdefs.h. */
15162 #define _GNU_SOURCE
15163 #include <sched.h>
15165 main ()
15167 sched_setaffinity(0, 0, 0);
15169 return 0;
15171 _ACEOF
15172 if ac_fn_c_try_link "$LINENO"; then :
15173 wine_cv_have_sched_setaffinity=yes
15174 else
15175 wine_cv_have_sched_setaffinity=no
15177 rm -f core conftest.err conftest.$ac_objext \
15178 conftest$ac_exeext conftest.$ac_ext
15180 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $wine_cv_have_sched_setaffinity" >&5
15181 $as_echo "$wine_cv_have_sched_setaffinity" >&6; }
15182 if test "$wine_cv_have_sched_setaffinity" = "yes"
15183 then
15185 $as_echo "#define HAVE_SCHED_SETAFFINITY 1" >>confdefs.h
15189 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for fallocate" >&5
15190 $as_echo_n "checking for fallocate... " >&6; }
15191 if ${wine_cv_have_fallocate+:} false; then :
15192 $as_echo_n "(cached) " >&6
15193 else
15194 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15195 /* end confdefs.h. */
15196 #define _GNU_SOURCE
15197 #include <fcntl.h>
15199 main ()
15201 fallocate(-1, 0, 0, 0);
15203 return 0;
15205 _ACEOF
15206 if ac_fn_c_try_link "$LINENO"; then :
15207 wine_cv_have_fallocate=yes
15208 else
15209 wine_cv_have_fallocate=no
15211 rm -f core conftest.err conftest.$ac_objext \
15212 conftest$ac_exeext conftest.$ac_ext
15214 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $wine_cv_have_fallocate" >&5
15215 $as_echo "$wine_cv_have_fallocate" >&6; }
15216 if test "$wine_cv_have_fallocate" = "yes"
15217 then
15219 $as_echo "#define HAVE_FALLOCATE 1" >>confdefs.h
15224 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for inline" >&5
15225 $as_echo_n "checking for inline... " >&6; }
15226 if ${ac_cv_c_inline+:} false; then :
15227 $as_echo_n "(cached) " >&6
15228 else
15229 ac_cv_c_inline=no
15230 for ac_kw in inline __inline__ __inline; do
15231 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15232 /* end confdefs.h. */
15233 #ifndef __cplusplus
15234 typedef int foo_t;
15235 static $ac_kw foo_t static_foo () {return 0; }
15236 $ac_kw foo_t foo () {return 0; }
15237 #endif
15239 _ACEOF
15240 if ac_fn_c_try_compile "$LINENO"; then :
15241 ac_cv_c_inline=$ac_kw
15243 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
15244 test "$ac_cv_c_inline" != no && break
15245 done
15248 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_inline" >&5
15249 $as_echo "$ac_cv_c_inline" >&6; }
15251 case $ac_cv_c_inline in
15252 inline | yes) ;;
15254 case $ac_cv_c_inline in
15255 no) ac_val=;;
15256 *) ac_val=$ac_cv_c_inline;;
15257 esac
15258 cat >>confdefs.h <<_ACEOF
15259 #ifndef __cplusplus
15260 #define inline $ac_val
15261 #endif
15262 _ACEOF
15264 esac
15266 ac_fn_c_check_type "$LINENO" "mode_t" "ac_cv_type_mode_t" "$ac_includes_default"
15267 if test "x$ac_cv_type_mode_t" = xyes; then :
15269 cat >>confdefs.h <<_ACEOF
15270 #define HAVE_MODE_T 1
15271 _ACEOF
15275 ac_fn_c_check_type "$LINENO" "off_t" "ac_cv_type_off_t" "$ac_includes_default"
15276 if test "x$ac_cv_type_off_t" = xyes; then :
15278 cat >>confdefs.h <<_ACEOF
15279 #define HAVE_OFF_T 1
15280 _ACEOF
15284 ac_fn_c_check_type "$LINENO" "pid_t" "ac_cv_type_pid_t" "$ac_includes_default"
15285 if test "x$ac_cv_type_pid_t" = xyes; then :
15287 cat >>confdefs.h <<_ACEOF
15288 #define HAVE_PID_T 1
15289 _ACEOF
15293 ac_fn_c_check_type "$LINENO" "size_t" "ac_cv_type_size_t" "$ac_includes_default"
15294 if test "x$ac_cv_type_size_t" = xyes; then :
15296 cat >>confdefs.h <<_ACEOF
15297 #define HAVE_SIZE_T 1
15298 _ACEOF
15302 ac_fn_c_check_type "$LINENO" "ssize_t" "ac_cv_type_ssize_t" "$ac_includes_default"
15303 if test "x$ac_cv_type_ssize_t" = xyes; then :
15305 cat >>confdefs.h <<_ACEOF
15306 #define HAVE_SSIZE_T 1
15307 _ACEOF
15311 ac_fn_c_check_type "$LINENO" "long long" "ac_cv_type_long_long" "$ac_includes_default"
15312 if test "x$ac_cv_type_long_long" = xyes; then :
15314 cat >>confdefs.h <<_ACEOF
15315 #define HAVE_LONG_LONG 1
15316 _ACEOF
15320 ac_fn_c_check_type "$LINENO" "fsblkcnt_t" "ac_cv_type_fsblkcnt_t" "$ac_includes_default"
15321 if test "x$ac_cv_type_fsblkcnt_t" = xyes; then :
15323 cat >>confdefs.h <<_ACEOF
15324 #define HAVE_FSBLKCNT_T 1
15325 _ACEOF
15329 ac_fn_c_check_type "$LINENO" "fsfilcnt_t" "ac_cv_type_fsfilcnt_t" "$ac_includes_default"
15330 if test "x$ac_cv_type_fsfilcnt_t" = xyes; then :
15332 cat >>confdefs.h <<_ACEOF
15333 #define HAVE_FSFILCNT_T 1
15334 _ACEOF
15339 ac_fn_c_check_type "$LINENO" "sigset_t" "ac_cv_type_sigset_t" "#include <sys/types.h>
15340 #include <signal.h>
15342 if test "x$ac_cv_type_sigset_t" = xyes; then :
15344 cat >>confdefs.h <<_ACEOF
15345 #define HAVE_SIGSET_T 1
15346 _ACEOF
15351 ac_fn_c_check_type "$LINENO" "request_sense" "ac_cv_type_request_sense" "#include <linux/cdrom.h>
15353 if test "x$ac_cv_type_request_sense" = xyes; then :
15355 cat >>confdefs.h <<_ACEOF
15356 #define HAVE_REQUEST_SENSE 1
15357 _ACEOF
15363 ac_fn_c_check_type "$LINENO" "struct xinpgen" "ac_cv_type_struct_xinpgen" "#include <sys/types.h>
15364 #ifdef HAVE_SYS_SOCKET_H
15365 #include <sys/socket.h>
15366 #endif
15367 #ifdef HAVE_SYS_SOCKETVAR_H
15368 #include <sys/socketvar.h>
15369 #endif
15370 #ifdef HAVE_NET_ROUTE_H
15371 #include <net/route.h>
15372 #endif
15373 #ifdef HAVE_NETINET_IN_H
15374 #include <netinet/in.h>
15375 #endif
15376 #ifdef HAVE_NETINET_IN_SYSTM_H
15377 #include <netinet/in_systm.h>
15378 #endif
15379 #ifdef HAVE_NETINET_IP_H
15380 #include <netinet/ip.h>
15381 #endif
15382 #ifdef HAVE_NETINET_IN_PCB_H
15383 #include <netinet/in_pcb.h>
15384 #endif
15386 if test "x$ac_cv_type_struct_xinpgen" = xyes; then :
15388 cat >>confdefs.h <<_ACEOF
15389 #define HAVE_STRUCT_XINPGEN 1
15390 _ACEOF
15396 ac_fn_c_check_type "$LINENO" "struct r_debug" "ac_cv_type_struct_r_debug" "#ifdef HAVE_LINK_H
15397 #include <link.h>
15398 #endif
15399 #ifdef HAVE_SYS_LINK_H
15400 #include <sys/link.h>
15401 #endif
15403 if test "x$ac_cv_type_struct_r_debug" = xyes; then :
15405 cat >>confdefs.h <<_ACEOF
15406 #define HAVE_STRUCT_R_DEBUG 1
15407 _ACEOF
15411 ac_fn_c_check_type "$LINENO" "struct link_map" "ac_cv_type_struct_link_map" "#ifdef HAVE_LINK_H
15412 #include <link.h>
15413 #endif
15414 #ifdef HAVE_SYS_LINK_H
15415 #include <sys/link.h>
15416 #endif
15418 if test "x$ac_cv_type_struct_link_map" = xyes; then :
15420 cat >>confdefs.h <<_ACEOF
15421 #define HAVE_STRUCT_LINK_MAP 1
15422 _ACEOF
15428 ac_fn_c_check_member "$LINENO" "struct ff_effect" "direction" "ac_cv_member_struct_ff_effect_direction" "#ifdef HAVE_LINUX_INPUT_H
15429 #include <linux/input.h>
15430 #endif
15432 if test "x$ac_cv_member_struct_ff_effect_direction" = xyes; then :
15434 cat >>confdefs.h <<_ACEOF
15435 #define HAVE_STRUCT_FF_EFFECT_DIRECTION 1
15436 _ACEOF
15442 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sigaddset" >&5
15443 $as_echo_n "checking for sigaddset... " >&6; }
15444 if ${wine_cv_have_sigaddset+:} false; then :
15445 $as_echo_n "(cached) " >&6
15446 else
15447 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15448 /* end confdefs.h. */
15449 #include <signal.h>
15451 main ()
15453 sigset_t set; sigaddset(&set,SIGTERM);
15455 return 0;
15457 _ACEOF
15458 if ac_fn_c_try_link "$LINENO"; then :
15459 wine_cv_have_sigaddset=yes
15460 else
15461 wine_cv_have_sigaddset=no
15463 rm -f core conftest.err conftest.$ac_objext \
15464 conftest$ac_exeext conftest.$ac_ext
15466 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $wine_cv_have_sigaddset" >&5
15467 $as_echo "$wine_cv_have_sigaddset" >&6; }
15468 if test "$wine_cv_have_sigaddset" = "yes"
15469 then
15471 $as_echo "#define HAVE_SIGADDSET 1" >>confdefs.h
15476 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we can use re-entrant gethostbyname_r Linux style" >&5
15477 $as_echo_n "checking whether we can use re-entrant gethostbyname_r Linux style... " >&6; }
15478 if ${wine_cv_linux_gethostbyname_r_6+:} false; then :
15479 $as_echo_n "(cached) " >&6
15480 else
15481 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15482 /* end confdefs.h. */
15483 #include <netdb.h>
15485 main ()
15488 char *name=0;
15489 struct hostent he;
15490 struct hostent *result;
15491 char *buf=0;
15492 int bufsize=0;
15493 int errnr;
15494 char *addr=0;
15495 int addrlen=0;
15496 int addrtype=0;
15497 gethostbyname_r(name,&he,buf,bufsize,&result,&errnr);
15498 gethostbyaddr_r(addr, addrlen, addrtype,&he,buf,bufsize,&result,&errnr);
15501 return 0;
15503 _ACEOF
15504 if ac_fn_c_try_link "$LINENO"; then :
15505 wine_cv_linux_gethostbyname_r_6=yes
15506 else
15507 wine_cv_linux_gethostbyname_r_6=no
15510 rm -f core conftest.err conftest.$ac_objext \
15511 conftest$ac_exeext conftest.$ac_ext
15514 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $wine_cv_linux_gethostbyname_r_6" >&5
15515 $as_echo "$wine_cv_linux_gethostbyname_r_6" >&6; }
15516 if test "$wine_cv_linux_gethostbyname_r_6" = "yes"
15517 then
15519 $as_echo "#define HAVE_LINUX_GETHOSTBYNAME_R_6 1" >>confdefs.h
15523 if test "$ac_cv_header_linux_joystick_h" = "yes"
15524 then
15525 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether linux/joystick.h uses the Linux 2.2+ API" >&5
15526 $as_echo_n "checking whether linux/joystick.h uses the Linux 2.2+ API... " >&6; }
15527 if ${wine_cv_linux_joystick_22_api+:} false; then :
15528 $as_echo_n "(cached) " >&6
15529 else
15530 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15531 /* end confdefs.h. */
15533 #include <sys/ioctl.h>
15534 #include <sys/types.h>
15535 #include <linux/joystick.h>
15537 struct js_event blub;
15538 #if !defined(JS_EVENT_AXIS) || !defined(JS_EVENT_BUTTON)
15539 #error "no 2.2 header"
15540 #endif
15543 main ()
15545 /*empty*/
15547 return 0;
15549 _ACEOF
15550 if ac_fn_c_try_compile "$LINENO"; then :
15551 wine_cv_linux_joystick_22_api=yes
15552 else
15553 wine_cv_linux_joystick_22_api=no
15555 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
15558 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $wine_cv_linux_joystick_22_api" >&5
15559 $as_echo "$wine_cv_linux_joystick_22_api" >&6; }
15560 if test "$wine_cv_linux_joystick_22_api" = "yes"
15561 then
15563 $as_echo "#define HAVE_LINUX_22_JOYSTICK_API 1" >>confdefs.h
15569 ac_fn_c_check_member "$LINENO" "struct statfs" "f_bfree" "ac_cv_member_struct_statfs_f_bfree" "#include <sys/types.h>
15570 #ifdef HAVE_SYS_PARAM_H
15571 # include <sys/param.h>
15572 #endif
15573 #ifdef HAVE_SYS_MOUNT_H
15574 # include <sys/mount.h>
15575 #endif
15576 #ifdef HAVE_SYS_VFS_H
15577 # include <sys/vfs.h>
15578 #endif
15579 #ifdef HAVE_SYS_STATFS_H
15580 # include <sys/statfs.h>
15581 #endif
15583 if test "x$ac_cv_member_struct_statfs_f_bfree" = xyes; then :
15585 cat >>confdefs.h <<_ACEOF
15586 #define HAVE_STRUCT_STATFS_F_BFREE 1
15587 _ACEOF
15591 ac_fn_c_check_member "$LINENO" "struct statfs" "f_bavail" "ac_cv_member_struct_statfs_f_bavail" "#include <sys/types.h>
15592 #ifdef HAVE_SYS_PARAM_H
15593 # include <sys/param.h>
15594 #endif
15595 #ifdef HAVE_SYS_MOUNT_H
15596 # include <sys/mount.h>
15597 #endif
15598 #ifdef HAVE_SYS_VFS_H
15599 # include <sys/vfs.h>
15600 #endif
15601 #ifdef HAVE_SYS_STATFS_H
15602 # include <sys/statfs.h>
15603 #endif
15605 if test "x$ac_cv_member_struct_statfs_f_bavail" = xyes; then :
15607 cat >>confdefs.h <<_ACEOF
15608 #define HAVE_STRUCT_STATFS_F_BAVAIL 1
15609 _ACEOF
15613 ac_fn_c_check_member "$LINENO" "struct statfs" "f_frsize" "ac_cv_member_struct_statfs_f_frsize" "#include <sys/types.h>
15614 #ifdef HAVE_SYS_PARAM_H
15615 # include <sys/param.h>
15616 #endif
15617 #ifdef HAVE_SYS_MOUNT_H
15618 # include <sys/mount.h>
15619 #endif
15620 #ifdef HAVE_SYS_VFS_H
15621 # include <sys/vfs.h>
15622 #endif
15623 #ifdef HAVE_SYS_STATFS_H
15624 # include <sys/statfs.h>
15625 #endif
15627 if test "x$ac_cv_member_struct_statfs_f_frsize" = xyes; then :
15629 cat >>confdefs.h <<_ACEOF
15630 #define HAVE_STRUCT_STATFS_F_FRSIZE 1
15631 _ACEOF
15635 ac_fn_c_check_member "$LINENO" "struct statfs" "f_ffree" "ac_cv_member_struct_statfs_f_ffree" "#include <sys/types.h>
15636 #ifdef HAVE_SYS_PARAM_H
15637 # include <sys/param.h>
15638 #endif
15639 #ifdef HAVE_SYS_MOUNT_H
15640 # include <sys/mount.h>
15641 #endif
15642 #ifdef HAVE_SYS_VFS_H
15643 # include <sys/vfs.h>
15644 #endif
15645 #ifdef HAVE_SYS_STATFS_H
15646 # include <sys/statfs.h>
15647 #endif
15649 if test "x$ac_cv_member_struct_statfs_f_ffree" = xyes; then :
15651 cat >>confdefs.h <<_ACEOF
15652 #define HAVE_STRUCT_STATFS_F_FFREE 1
15653 _ACEOF
15657 ac_fn_c_check_member "$LINENO" "struct statfs" "f_favail" "ac_cv_member_struct_statfs_f_favail" "#include <sys/types.h>
15658 #ifdef HAVE_SYS_PARAM_H
15659 # include <sys/param.h>
15660 #endif
15661 #ifdef HAVE_SYS_MOUNT_H
15662 # include <sys/mount.h>
15663 #endif
15664 #ifdef HAVE_SYS_VFS_H
15665 # include <sys/vfs.h>
15666 #endif
15667 #ifdef HAVE_SYS_STATFS_H
15668 # include <sys/statfs.h>
15669 #endif
15671 if test "x$ac_cv_member_struct_statfs_f_favail" = xyes; then :
15673 cat >>confdefs.h <<_ACEOF
15674 #define HAVE_STRUCT_STATFS_F_FAVAIL 1
15675 _ACEOF
15679 ac_fn_c_check_member "$LINENO" "struct statfs" "f_namelen" "ac_cv_member_struct_statfs_f_namelen" "#include <sys/types.h>
15680 #ifdef HAVE_SYS_PARAM_H
15681 # include <sys/param.h>
15682 #endif
15683 #ifdef HAVE_SYS_MOUNT_H
15684 # include <sys/mount.h>
15685 #endif
15686 #ifdef HAVE_SYS_VFS_H
15687 # include <sys/vfs.h>
15688 #endif
15689 #ifdef HAVE_SYS_STATFS_H
15690 # include <sys/statfs.h>
15691 #endif
15693 if test "x$ac_cv_member_struct_statfs_f_namelen" = xyes; then :
15695 cat >>confdefs.h <<_ACEOF
15696 #define HAVE_STRUCT_STATFS_F_NAMELEN 1
15697 _ACEOF
15703 ac_fn_c_check_member "$LINENO" "struct statvfs" "f_blocks" "ac_cv_member_struct_statvfs_f_blocks" "#ifdef HAVE_SYS_STATVFS_H
15704 #include <sys/statvfs.h>
15705 #endif
15707 if test "x$ac_cv_member_struct_statvfs_f_blocks" = xyes; then :
15709 cat >>confdefs.h <<_ACEOF
15710 #define HAVE_STRUCT_STATVFS_F_BLOCKS 1
15711 _ACEOF
15717 ac_fn_c_check_member "$LINENO" "struct dirent" "d_reclen" "ac_cv_member_struct_dirent_d_reclen" "#ifdef HAVE_DIRENT_H
15718 #include <dirent.h>
15719 #endif
15721 if test "x$ac_cv_member_struct_dirent_d_reclen" = xyes; then :
15723 cat >>confdefs.h <<_ACEOF
15724 #define HAVE_STRUCT_DIRENT_D_RECLEN 1
15725 _ACEOF
15731 ac_fn_c_check_member "$LINENO" "struct msghdr" "msg_accrights" "ac_cv_member_struct_msghdr_msg_accrights" "#include <sys/types.h>
15732 #ifdef HAVE_SYS_SOCKET_H
15733 # include <sys/socket.h>
15734 #endif
15735 #ifdef HAVE_SYS_UN_H
15736 # include <sys/un.h>
15737 #endif
15739 if test "x$ac_cv_member_struct_msghdr_msg_accrights" = xyes; then :
15741 cat >>confdefs.h <<_ACEOF
15742 #define HAVE_STRUCT_MSGHDR_MSG_ACCRIGHTS 1
15743 _ACEOF
15747 ac_fn_c_check_member "$LINENO" "struct sockaddr" "sa_len" "ac_cv_member_struct_sockaddr_sa_len" "#include <sys/types.h>
15748 #ifdef HAVE_SYS_SOCKET_H
15749 # include <sys/socket.h>
15750 #endif
15751 #ifdef HAVE_SYS_UN_H
15752 # include <sys/un.h>
15753 #endif
15755 if test "x$ac_cv_member_struct_sockaddr_sa_len" = xyes; then :
15757 cat >>confdefs.h <<_ACEOF
15758 #define HAVE_STRUCT_SOCKADDR_SA_LEN 1
15759 _ACEOF
15763 ac_fn_c_check_member "$LINENO" "struct sockaddr_un" "sun_len" "ac_cv_member_struct_sockaddr_un_sun_len" "#include <sys/types.h>
15764 #ifdef HAVE_SYS_SOCKET_H
15765 # include <sys/socket.h>
15766 #endif
15767 #ifdef HAVE_SYS_UN_H
15768 # include <sys/un.h>
15769 #endif
15771 if test "x$ac_cv_member_struct_sockaddr_un_sun_len" = xyes; then :
15773 cat >>confdefs.h <<_ACEOF
15774 #define HAVE_STRUCT_SOCKADDR_UN_SUN_LEN 1
15775 _ACEOF
15781 ac_fn_c_check_member "$LINENO" "scsireq_t" "cmd" "ac_cv_member_scsireq_t_cmd" "#include <sys/types.h>
15782 #ifdef HAVE_SCSI_SG_H
15783 #include <scsi/sg.h>
15784 #endif
15786 if test "x$ac_cv_member_scsireq_t_cmd" = xyes; then :
15788 cat >>confdefs.h <<_ACEOF
15789 #define HAVE_SCSIREQ_T_CMD 1
15790 _ACEOF
15794 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>
15795 #ifdef HAVE_SCSI_SG_H
15796 #include <scsi/sg.h>
15797 #endif
15799 if test "x$ac_cv_member_sg_io_hdr_t_interface_id" = xyes; then :
15801 cat >>confdefs.h <<_ACEOF
15802 #define HAVE_SG_IO_HDR_T_INTERFACE_ID 1
15803 _ACEOF
15809 ac_fn_c_check_member "$LINENO" "siginfo_t" "si_fd" "ac_cv_member_siginfo_t_si_fd" "#include <signal.h>
15811 if test "x$ac_cv_member_siginfo_t_si_fd" = xyes; then :
15813 cat >>confdefs.h <<_ACEOF
15814 #define HAVE_SIGINFO_T_SI_FD 1
15815 _ACEOF
15821 ac_fn_c_check_member "$LINENO" "struct mtget" "mt_blksiz" "ac_cv_member_struct_mtget_mt_blksiz" "#include <sys/types.h>
15822 #ifdef HAVE_SYS_MTIO_H
15823 #include <sys/mtio.h>
15824 #endif
15826 if test "x$ac_cv_member_struct_mtget_mt_blksiz" = xyes; then :
15828 cat >>confdefs.h <<_ACEOF
15829 #define HAVE_STRUCT_MTGET_MT_BLKSIZ 1
15830 _ACEOF
15834 ac_fn_c_check_member "$LINENO" "struct mtget" "mt_gstat" "ac_cv_member_struct_mtget_mt_gstat" "#include <sys/types.h>
15835 #ifdef HAVE_SYS_MTIO_H
15836 #include <sys/mtio.h>
15837 #endif
15839 if test "x$ac_cv_member_struct_mtget_mt_gstat" = xyes; then :
15841 cat >>confdefs.h <<_ACEOF
15842 #define HAVE_STRUCT_MTGET_MT_GSTAT 1
15843 _ACEOF
15847 ac_fn_c_check_member "$LINENO" "struct mtget" "mt_blkno" "ac_cv_member_struct_mtget_mt_blkno" "#include <sys/types.h>
15848 #ifdef HAVE_SYS_MTIO_H
15849 #include <sys/mtio.h>
15850 #endif
15852 if test "x$ac_cv_member_struct_mtget_mt_blkno" = xyes; then :
15854 cat >>confdefs.h <<_ACEOF
15855 #define HAVE_STRUCT_MTGET_MT_BLKNO 1
15856 _ACEOF
15862 ac_fn_c_check_member "$LINENO" "struct option" "name" "ac_cv_member_struct_option_name" "#ifdef HAVE_GETOPT_H
15863 #include <getopt.h>
15864 #endif
15866 if test "x$ac_cv_member_struct_option_name" = xyes; then :
15868 cat >>confdefs.h <<_ACEOF
15869 #define HAVE_STRUCT_OPTION_NAME 1
15870 _ACEOF
15876 ac_fn_c_check_member "$LINENO" "struct stat" "st_blocks" "ac_cv_member_struct_stat_st_blocks" "$ac_includes_default"
15877 if test "x$ac_cv_member_struct_stat_st_blocks" = xyes; then :
15879 cat >>confdefs.h <<_ACEOF
15880 #define HAVE_STRUCT_STAT_ST_BLOCKS 1
15881 _ACEOF
15885 ac_fn_c_check_member "$LINENO" "struct stat" "st_mtim" "ac_cv_member_struct_stat_st_mtim" "$ac_includes_default"
15886 if test "x$ac_cv_member_struct_stat_st_mtim" = xyes; then :
15888 cat >>confdefs.h <<_ACEOF
15889 #define HAVE_STRUCT_STAT_ST_MTIM 1
15890 _ACEOF
15894 ac_fn_c_check_member "$LINENO" "struct stat" "st_mtimespec" "ac_cv_member_struct_stat_st_mtimespec" "$ac_includes_default"
15895 if test "x$ac_cv_member_struct_stat_st_mtimespec" = xyes; then :
15897 cat >>confdefs.h <<_ACEOF
15898 #define HAVE_STRUCT_STAT_ST_MTIMESPEC 1
15899 _ACEOF
15903 ac_fn_c_check_member "$LINENO" "struct stat" "st_ctim" "ac_cv_member_struct_stat_st_ctim" "$ac_includes_default"
15904 if test "x$ac_cv_member_struct_stat_st_ctim" = xyes; then :
15906 cat >>confdefs.h <<_ACEOF
15907 #define HAVE_STRUCT_STAT_ST_CTIM 1
15908 _ACEOF
15912 ac_fn_c_check_member "$LINENO" "struct stat" "st_ctimespec" "ac_cv_member_struct_stat_st_ctimespec" "$ac_includes_default"
15913 if test "x$ac_cv_member_struct_stat_st_ctimespec" = xyes; then :
15915 cat >>confdefs.h <<_ACEOF
15916 #define HAVE_STRUCT_STAT_ST_CTIMESPEC 1
15917 _ACEOF
15921 ac_fn_c_check_member "$LINENO" "struct stat" "st_atim" "ac_cv_member_struct_stat_st_atim" "$ac_includes_default"
15922 if test "x$ac_cv_member_struct_stat_st_atim" = xyes; then :
15924 cat >>confdefs.h <<_ACEOF
15925 #define HAVE_STRUCT_STAT_ST_ATIM 1
15926 _ACEOF
15930 ac_fn_c_check_member "$LINENO" "struct stat" "st_atimespec" "ac_cv_member_struct_stat_st_atimespec" "$ac_includes_default"
15931 if test "x$ac_cv_member_struct_stat_st_atimespec" = xyes; then :
15933 cat >>confdefs.h <<_ACEOF
15934 #define HAVE_STRUCT_STAT_ST_ATIMESPEC 1
15935 _ACEOF
15939 ac_fn_c_check_member "$LINENO" "struct stat" "st_birthtime" "ac_cv_member_struct_stat_st_birthtime" "$ac_includes_default"
15940 if test "x$ac_cv_member_struct_stat_st_birthtime" = xyes; then :
15942 cat >>confdefs.h <<_ACEOF
15943 #define HAVE_STRUCT_STAT_ST_BIRTHTIME 1
15944 _ACEOF
15948 ac_fn_c_check_member "$LINENO" "struct stat" "st_birthtim" "ac_cv_member_struct_stat_st_birthtim" "$ac_includes_default"
15949 if test "x$ac_cv_member_struct_stat_st_birthtim" = xyes; then :
15951 cat >>confdefs.h <<_ACEOF
15952 #define HAVE_STRUCT_STAT_ST_BIRTHTIM 1
15953 _ACEOF
15957 ac_fn_c_check_member "$LINENO" "struct stat" "st_birthtimespec" "ac_cv_member_struct_stat_st_birthtimespec" "$ac_includes_default"
15958 if test "x$ac_cv_member_struct_stat_st_birthtimespec" = xyes; then :
15960 cat >>confdefs.h <<_ACEOF
15961 #define HAVE_STRUCT_STAT_ST_BIRTHTIMESPEC 1
15962 _ACEOF
15966 ac_fn_c_check_member "$LINENO" "struct stat" "__st_birthtime" "ac_cv_member_struct_stat___st_birthtime" "$ac_includes_default"
15967 if test "x$ac_cv_member_struct_stat___st_birthtime" = xyes; then :
15969 cat >>confdefs.h <<_ACEOF
15970 #define HAVE_STRUCT_STAT___ST_BIRTHTIME 1
15971 _ACEOF
15975 ac_fn_c_check_member "$LINENO" "struct stat" "__st_birthtim" "ac_cv_member_struct_stat___st_birthtim" "$ac_includes_default"
15976 if test "x$ac_cv_member_struct_stat___st_birthtim" = xyes; then :
15978 cat >>confdefs.h <<_ACEOF
15979 #define HAVE_STRUCT_STAT___ST_BIRTHTIM 1
15980 _ACEOF
15986 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
15987 #include <sys/types.h>
15988 #endif
15989 #ifdef HAVE_NETINET_IN_H
15990 #include <netinet/in.h>
15991 #endif
15993 if test "x$ac_cv_member_struct_sockaddr_in6_sin6_scope_id" = xyes; then :
15995 cat >>confdefs.h <<_ACEOF
15996 #define HAVE_STRUCT_SOCKADDR_IN6_SIN6_SCOPE_ID 1
15997 _ACEOF
16003 ac_fn_c_check_type "$LINENO" "struct __res_state" "ac_cv_type_struct___res_state" "#ifdef HAVE_RESOLV_H
16004 #include <resolv.h>
16005 #endif
16007 if test "x$ac_cv_type_struct___res_state" = xyes; then :
16009 cat >>confdefs.h <<_ACEOF
16010 #define HAVE_STRUCT___RES_STATE 1
16011 _ACEOF
16017 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
16018 #include <resolv.h>
16019 #endif
16021 if test "x$ac_cv_member_struct___res_state__u__ext_nscount6" = xyes; then :
16023 cat >>confdefs.h <<_ACEOF
16024 #define HAVE_STRUCT___RES_STATE__U__EXT_NSCOUNT6 1
16025 _ACEOF
16031 ac_fn_c_check_member "$LINENO" "ns_msg" "_msg_ptr" "ac_cv_member_ns_msg__msg_ptr" "#ifdef HAVE_SYS_TYPES_H
16032 #include <sys/types.h>
16033 #endif
16034 #ifdef HAVE_NETINET_IN_H
16035 # include <netinet/in.h>
16036 #endif
16037 #ifdef HAVE_ARPA_NAMESER_H
16038 # include <arpa/nameser.h>
16039 #endif
16041 if test "x$ac_cv_member_ns_msg__msg_ptr" = xyes; then :
16043 cat >>confdefs.h <<_ACEOF
16044 #define HAVE_NS_MSG__MSG_PTR 1
16045 _ACEOF
16051 ac_fn_c_check_member "$LINENO" "struct icmpstat" "icps_inhist" "ac_cv_member_struct_icmpstat_icps_inhist" "#ifdef HAVE_SYS_TYPES_H
16052 #include <sys/types.h>
16053 #endif
16054 #ifdef HAVE_NETINET_IP_H
16055 #include <netinet/ip.h>
16056 #endif
16057 #ifdef HAVE_NETINET_IP_ICMP_H
16058 #include <netinet/ip_icmp.h>
16059 #endif
16060 #ifdef HAVE_NETINET_ICMP_VAR_H
16061 #include <netinet/icmp_var.h>
16062 #endif
16064 if test "x$ac_cv_member_struct_icmpstat_icps_inhist" = xyes; then :
16066 cat >>confdefs.h <<_ACEOF
16067 #define HAVE_STRUCT_ICMPSTAT_ICPS_INHIST 1
16068 _ACEOF
16074 ac_fn_c_check_member "$LINENO" "struct icmpstat" "icps_outhist" "ac_cv_member_struct_icmpstat_icps_outhist" "#ifdef HAVE_SYS_TYPES_H
16075 #include <sys/types.h>
16076 #endif
16077 #ifdef HAVE_ALIAS_H
16078 #include <alias.h>
16079 #endif
16080 #ifdef HAVE_SYS_SOCKET_H
16081 #include <sys/socket.h>
16082 #endif
16083 #ifdef HAVE_SYS_SOCKETVAR_H
16084 #include <sys/socketvar.h>
16085 #endif
16086 #ifdef HAVE_SYS_TIMEOUT_H
16087 #include <sys/timeout.h>
16088 #endif
16089 #ifdef HAVE_NETINET_IN_H
16090 #include <netinet/in.h>
16091 #endif
16092 #ifdef HAVE_NETINET_IN_SYSTM_H
16093 #include <netinet/in_systm.h>
16094 #endif
16095 #ifdef HAVE_NETINET_IP_H
16096 #include <netinet/ip.h>
16097 #endif
16098 #ifdef HAVE_NETINET_IP_VAR_H
16099 #include <netinet/ip_var.h>
16100 #endif
16101 #ifdef HAVE_NETINET_IP_ICMP_H
16102 #include <netinet/ip_icmp.h>
16103 #endif
16104 #ifdef HAVE_NETINET_ICMP_VAR_H
16105 #include <netinet/icmp_var.h>
16106 #endif
16108 if test "x$ac_cv_member_struct_icmpstat_icps_outhist" = xyes; then :
16110 cat >>confdefs.h <<_ACEOF
16111 #define HAVE_STRUCT_ICMPSTAT_ICPS_OUTHIST 1
16112 _ACEOF
16118 ac_fn_c_check_member "$LINENO" "struct ipstat" "ips_total" "ac_cv_member_struct_ipstat_ips_total" "#ifdef HAVE_SYS_TYPES_H
16119 #include <sys/types.h>
16120 #endif
16121 #ifdef HAVE_SYS_SOCKETVAR_H
16122 #include <sys/socketvar.h>
16123 #endif
16124 #ifdef HAVE_NETINET_IN_H
16125 #include <netinet/in.h>
16126 #endif
16127 #ifdef HAVE_NETINET_IP_VAR_H
16128 #include <netinet/ip_var.h>
16129 #endif
16131 if test "x$ac_cv_member_struct_ipstat_ips_total" = xyes; then :
16133 cat >>confdefs.h <<_ACEOF
16134 #define HAVE_STRUCT_IPSTAT_IPS_TOTAL 1
16135 _ACEOF
16141 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
16142 #include <netinet/ip_var.h>
16143 #endif
16145 if test "x$ac_cv_member_struct_ip_stats_ips_total" = xyes; then :
16147 cat >>confdefs.h <<_ACEOF
16148 #define HAVE_STRUCT_IP_STATS_IPS_TOTAL 1
16149 _ACEOF
16155 ac_fn_c_check_member "$LINENO" "struct tcpstat" "tcps_connattempt" "ac_cv_member_struct_tcpstat_tcps_connattempt" "#ifdef HAVE_SYS_TYPES_H
16156 #include <sys/types.h>
16157 #endif
16158 #ifdef HAVE_SYS_SOCKETVAR_H
16159 #include <sys/socketvar.h>
16160 #endif
16161 #ifdef HAVE_NETINET_IN_H
16162 #include <netinet/in.h>
16163 #endif
16164 #ifdef HAVE_NETINET_TCP_H
16165 #include <netinet/tcp.h>
16166 #endif
16167 #ifdef HAVE_NETINET_TCP_VAR_H
16168 #include <netinet/tcp_var.h>
16169 #endif
16171 if test "x$ac_cv_member_struct_tcpstat_tcps_connattempt" = xyes; then :
16173 cat >>confdefs.h <<_ACEOF
16174 #define HAVE_STRUCT_TCPSTAT_TCPS_CONNATTEMPT 1
16175 _ACEOF
16181 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
16182 #include <netinet/tcp_var.h>
16183 #endif
16185 if test "x$ac_cv_member_struct_tcp_stats_tcps_connattempt" = xyes; then :
16187 cat >>confdefs.h <<_ACEOF
16188 #define HAVE_STRUCT_TCP_STATS_TCPS_CONNATTEMPT 1
16189 _ACEOF
16195 ac_fn_c_check_member "$LINENO" "struct udpstat" "udps_ipackets" "ac_cv_member_struct_udpstat_udps_ipackets" "#ifdef HAVE_SYS_TYPES_H
16196 #include <sys/types.h>
16197 #endif
16198 #ifdef HAVE_NETINET_IN_H
16199 #include <netinet/in.h>
16200 #endif
16201 #ifdef HAVE_NETINET_IP_VAR_H
16202 #include <netinet/ip_var.h>
16203 #endif
16204 #ifdef HAVE_NETINET_UDP_H
16205 #include <netinet/udp.h>
16206 #endif
16207 #ifdef HAVE_NETINET_UDP_VAR_H
16208 #include <netinet/udp_var.h>
16209 #endif
16211 if test "x$ac_cv_member_struct_udpstat_udps_ipackets" = xyes; then :
16213 cat >>confdefs.h <<_ACEOF
16214 #define HAVE_STRUCT_UDPSTAT_UDPS_IPACKETS 1
16215 _ACEOF
16221 ac_fn_c_check_member "$LINENO" "struct ifreq" "ifr_hwaddr" "ac_cv_member_struct_ifreq_ifr_hwaddr" "#ifdef HAVE_SYS_TYPES_H
16222 #include <sys/types.h>
16223 #endif
16224 #ifdef HAVE_NET_IF_H
16225 # include <net/if.h>
16226 #endif
16228 if test "x$ac_cv_member_struct_ifreq_ifr_hwaddr" = xyes; then :
16230 cat >>confdefs.h <<_ACEOF
16231 #define HAVE_STRUCT_IFREQ_IFR_HWADDR 1
16232 _ACEOF
16238 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for timezone variable" >&5
16239 $as_echo_n "checking for timezone variable... " >&6; }
16240 if ${ac_cv_have_timezone+:} false; then :
16241 $as_echo_n "(cached) " >&6
16242 else
16243 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
16244 /* end confdefs.h. */
16245 #include <time.h>
16247 main ()
16249 timezone = 1
16251 return 0;
16253 _ACEOF
16254 if ac_fn_c_try_link "$LINENO"; then :
16255 ac_cv_have_timezone="yes"
16256 else
16257 ac_cv_have_timezone="no"
16259 rm -f core conftest.err conftest.$ac_objext \
16260 conftest$ac_exeext conftest.$ac_ext
16262 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_have_timezone" >&5
16263 $as_echo "$ac_cv_have_timezone" >&6; }
16264 if test "$ac_cv_have_timezone" = "yes"
16265 then
16267 $as_echo "#define HAVE_TIMEZONE 1" >>confdefs.h
16270 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for daylight variable" >&5
16271 $as_echo_n "checking for daylight variable... " >&6; }
16272 if ${ac_cv_have_daylight+:} false; then :
16273 $as_echo_n "(cached) " >&6
16274 else
16275 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
16276 /* end confdefs.h. */
16277 #include <time.h>
16279 main ()
16281 daylight = 1
16283 return 0;
16285 _ACEOF
16286 if ac_fn_c_try_link "$LINENO"; then :
16287 ac_cv_have_daylight="yes"
16288 else
16289 ac_cv_have_daylight="no"
16291 rm -f core conftest.err conftest.$ac_objext \
16292 conftest$ac_exeext conftest.$ac_ext
16294 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_have_daylight" >&5
16295 $as_echo "$ac_cv_have_daylight" >&6; }
16296 if test "$ac_cv_have_daylight" = "yes"
16297 then
16299 $as_echo "#define HAVE_DAYLIGHT 1" >>confdefs.h
16303 ac_save_LIBS="$LIBS"
16304 LIBS="$LIBS -lm"
16305 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for isfinite" >&5
16306 $as_echo_n "checking for isfinite... " >&6; }
16307 if ${ac_cv_have_isfinite+:} false; then :
16308 $as_echo_n "(cached) " >&6
16309 else
16310 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
16311 /* end confdefs.h. */
16312 #define _GNU_SOURCE
16313 #include <math.h>
16315 main ()
16317 float f = 0.0; return isfinite(f)
16319 return 0;
16321 _ACEOF
16322 if ac_fn_c_try_link "$LINENO"; then :
16323 ac_cv_have_isfinite="yes"
16324 else
16325 ac_cv_have_isfinite="no"
16327 rm -f core conftest.err conftest.$ac_objext \
16328 conftest$ac_exeext conftest.$ac_ext
16330 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_have_isfinite" >&5
16331 $as_echo "$ac_cv_have_isfinite" >&6; }
16332 if test "$ac_cv_have_isfinite" = "yes"
16333 then
16335 $as_echo "#define HAVE_ISFINITE 1" >>confdefs.h
16339 ac_save_LIBS="$LIBS"
16340 LIBS="$LIBS -lm"
16341 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for isinf" >&5
16342 $as_echo_n "checking for isinf... " >&6; }
16343 if ${ac_cv_have_isinf+:} false; then :
16344 $as_echo_n "(cached) " >&6
16345 else
16346 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
16347 /* end confdefs.h. */
16348 #include <math.h>
16350 main ()
16352 float f = 0.0; return isinf(f)
16354 return 0;
16356 _ACEOF
16357 if ac_fn_c_try_link "$LINENO"; then :
16358 ac_cv_have_isinf="yes"
16359 else
16360 ac_cv_have_isinf="no"
16362 rm -f core conftest.err conftest.$ac_objext \
16363 conftest$ac_exeext conftest.$ac_ext
16365 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_have_isinf" >&5
16366 $as_echo "$ac_cv_have_isinf" >&6; }
16367 if test "$ac_cv_have_isinf" = "yes"
16368 then
16370 $as_echo "#define HAVE_ISINF 1" >>confdefs.h
16374 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for isnan" >&5
16375 $as_echo_n "checking for isnan... " >&6; }
16376 if ${ac_cv_have_isnan+:} false; then :
16377 $as_echo_n "(cached) " >&6
16378 else
16379 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
16380 /* end confdefs.h. */
16381 #include <math.h>
16383 main ()
16385 float f = 0.0; return isnan(f)
16387 return 0;
16389 _ACEOF
16390 if ac_fn_c_try_link "$LINENO"; then :
16391 ac_cv_have_isnan="yes"
16392 else
16393 ac_cv_have_isnan="no"
16395 rm -f core conftest.err conftest.$ac_objext \
16396 conftest$ac_exeext conftest.$ac_ext
16398 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_have_isnan" >&5
16399 $as_echo "$ac_cv_have_isnan" >&6; }
16400 if test "$ac_cv_have_isnan" = "yes"
16401 then
16403 $as_echo "#define HAVE_ISNAN 1" >>confdefs.h
16406 LIBS="$ac_save_LIBS"
16409 case $host_cpu in
16410 *i[3456789]86*) { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we need to define __i386__" >&5
16411 $as_echo_n "checking whether we need to define __i386__... " >&6; }
16412 if ${ac_cv_cpp_def___i386__+:} false; then :
16413 $as_echo_n "(cached) " >&6
16414 else
16415 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
16416 /* end confdefs.h. */
16417 #ifndef __i386__
16419 #endif
16420 _ACEOF
16421 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
16422 $EGREP "yes" >/dev/null 2>&1; then :
16423 ac_cv_cpp_def___i386__=yes
16424 else
16425 ac_cv_cpp_def___i386__=no
16427 rm -f conftest*
16430 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cpp_def___i386__" >&5
16431 $as_echo "$ac_cv_cpp_def___i386__" >&6; }
16432 if test "x$ac_cv_cpp_def___i386__" = xyes; then :
16433 CFLAGS="$CFLAGS -D__i386__"
16434 LINTFLAGS="$LINTFLAGS -D__i386__"
16435 fi ;;
16436 *x86_64*) { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we need to define __x86_64__" >&5
16437 $as_echo_n "checking whether we need to define __x86_64__... " >&6; }
16438 if ${ac_cv_cpp_def___x86_64__+:} false; then :
16439 $as_echo_n "(cached) " >&6
16440 else
16441 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
16442 /* end confdefs.h. */
16443 #ifndef __x86_64__
16445 #endif
16446 _ACEOF
16447 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
16448 $EGREP "yes" >/dev/null 2>&1; then :
16449 ac_cv_cpp_def___x86_64__=yes
16450 else
16451 ac_cv_cpp_def___x86_64__=no
16453 rm -f conftest*
16456 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cpp_def___x86_64__" >&5
16457 $as_echo "$ac_cv_cpp_def___x86_64__" >&6; }
16458 if test "x$ac_cv_cpp_def___x86_64__" = xyes; then :
16459 CFLAGS="$CFLAGS -D__x86_64__"
16460 LINTFLAGS="$LINTFLAGS -D__x86_64__"
16461 fi ;;
16462 *sparc64*) { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we need to define __sparc64__" >&5
16463 $as_echo_n "checking whether we need to define __sparc64__... " >&6; }
16464 if ${ac_cv_cpp_def___sparc64__+:} false; then :
16465 $as_echo_n "(cached) " >&6
16466 else
16467 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
16468 /* end confdefs.h. */
16469 #ifndef __sparc64__
16471 #endif
16472 _ACEOF
16473 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
16474 $EGREP "yes" >/dev/null 2>&1; then :
16475 ac_cv_cpp_def___sparc64__=yes
16476 else
16477 ac_cv_cpp_def___sparc64__=no
16479 rm -f conftest*
16482 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cpp_def___sparc64__" >&5
16483 $as_echo "$ac_cv_cpp_def___sparc64__" >&6; }
16484 if test "x$ac_cv_cpp_def___sparc64__" = xyes; then :
16485 CFLAGS="$CFLAGS -D__sparc64__"
16486 LINTFLAGS="$LINTFLAGS -D__sparc64__"
16487 fi ;;
16488 *sparc*) { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we need to define __sparc__" >&5
16489 $as_echo_n "checking whether we need to define __sparc__... " >&6; }
16490 if ${ac_cv_cpp_def___sparc__+:} false; then :
16491 $as_echo_n "(cached) " >&6
16492 else
16493 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
16494 /* end confdefs.h. */
16495 #ifndef __sparc__
16497 #endif
16498 _ACEOF
16499 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
16500 $EGREP "yes" >/dev/null 2>&1; then :
16501 ac_cv_cpp_def___sparc__=yes
16502 else
16503 ac_cv_cpp_def___sparc__=no
16505 rm -f conftest*
16508 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cpp_def___sparc__" >&5
16509 $as_echo "$ac_cv_cpp_def___sparc__" >&6; }
16510 if test "x$ac_cv_cpp_def___sparc__" = xyes; then :
16511 CFLAGS="$CFLAGS -D__sparc__"
16512 LINTFLAGS="$LINTFLAGS -D__sparc__"
16513 fi ;;
16514 *powerpc64*) { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we need to define __powerpc64__" >&5
16515 $as_echo_n "checking whether we need to define __powerpc64__... " >&6; }
16516 if ${ac_cv_cpp_def___powerpc64__+:} false; then :
16517 $as_echo_n "(cached) " >&6
16518 else
16519 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
16520 /* end confdefs.h. */
16521 #ifndef __powerpc64__
16523 #endif
16524 _ACEOF
16525 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
16526 $EGREP "yes" >/dev/null 2>&1; then :
16527 ac_cv_cpp_def___powerpc64__=yes
16528 else
16529 ac_cv_cpp_def___powerpc64__=no
16531 rm -f conftest*
16534 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cpp_def___powerpc64__" >&5
16535 $as_echo "$ac_cv_cpp_def___powerpc64__" >&6; }
16536 if test "x$ac_cv_cpp_def___powerpc64__" = xyes; then :
16537 CFLAGS="$CFLAGS -D__powerpc64__"
16538 LINTFLAGS="$LINTFLAGS -D__powerpc64__"
16539 fi ;;
16540 *powerpc*) { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we need to define __powerpc__" >&5
16541 $as_echo_n "checking whether we need to define __powerpc__... " >&6; }
16542 if ${ac_cv_cpp_def___powerpc__+:} false; then :
16543 $as_echo_n "(cached) " >&6
16544 else
16545 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
16546 /* end confdefs.h. */
16547 #ifndef __powerpc__
16549 #endif
16550 _ACEOF
16551 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
16552 $EGREP "yes" >/dev/null 2>&1; then :
16553 ac_cv_cpp_def___powerpc__=yes
16554 else
16555 ac_cv_cpp_def___powerpc__=no
16557 rm -f conftest*
16560 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cpp_def___powerpc__" >&5
16561 $as_echo "$ac_cv_cpp_def___powerpc__" >&6; }
16562 if test "x$ac_cv_cpp_def___powerpc__" = xyes; then :
16563 CFLAGS="$CFLAGS -D__powerpc__"
16564 LINTFLAGS="$LINTFLAGS -D__powerpc__"
16565 fi ;;
16566 *aarch64*) { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we need to define __aarch64__" >&5
16567 $as_echo_n "checking whether we need to define __aarch64__... " >&6; }
16568 if ${ac_cv_cpp_def___aarch64__+:} false; then :
16569 $as_echo_n "(cached) " >&6
16570 else
16571 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
16572 /* end confdefs.h. */
16573 #ifndef __aarch64__
16575 #endif
16576 _ACEOF
16577 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
16578 $EGREP "yes" >/dev/null 2>&1; then :
16579 ac_cv_cpp_def___aarch64__=yes
16580 else
16581 ac_cv_cpp_def___aarch64__=no
16583 rm -f conftest*
16586 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cpp_def___aarch64__" >&5
16587 $as_echo "$ac_cv_cpp_def___aarch64__" >&6; }
16588 if test "x$ac_cv_cpp_def___aarch64__" = xyes; then :
16589 CFLAGS="$CFLAGS -D__aarch64__"
16590 LINTFLAGS="$LINTFLAGS -D__aarch64__"
16591 fi ;;
16592 *arm*) { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we need to define __arm__" >&5
16593 $as_echo_n "checking whether we need to define __arm__... " >&6; }
16594 if ${ac_cv_cpp_def___arm__+:} false; then :
16595 $as_echo_n "(cached) " >&6
16596 else
16597 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
16598 /* end confdefs.h. */
16599 #ifndef __arm__
16601 #endif
16602 _ACEOF
16603 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
16604 $EGREP "yes" >/dev/null 2>&1; then :
16605 ac_cv_cpp_def___arm__=yes
16606 else
16607 ac_cv_cpp_def___arm__=no
16609 rm -f conftest*
16612 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cpp_def___arm__" >&5
16613 $as_echo "$ac_cv_cpp_def___arm__" >&6; }
16614 if test "x$ac_cv_cpp_def___arm__" = xyes; then :
16615 CFLAGS="$CFLAGS -D__arm__"
16616 LINTFLAGS="$LINTFLAGS -D__arm__"
16617 fi ;;
16618 esac
16620 case $host_vendor in
16621 *sun*) { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we need to define __sun__" >&5
16622 $as_echo_n "checking whether we need to define __sun__... " >&6; }
16623 if ${ac_cv_cpp_def___sun__+:} false; then :
16624 $as_echo_n "(cached) " >&6
16625 else
16626 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
16627 /* end confdefs.h. */
16628 #ifndef __sun__
16630 #endif
16631 _ACEOF
16632 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
16633 $EGREP "yes" >/dev/null 2>&1; then :
16634 ac_cv_cpp_def___sun__=yes
16635 else
16636 ac_cv_cpp_def___sun__=no
16638 rm -f conftest*
16641 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cpp_def___sun__" >&5
16642 $as_echo "$ac_cv_cpp_def___sun__" >&6; }
16643 if test "x$ac_cv_cpp_def___sun__" = xyes; then :
16644 CFLAGS="$CFLAGS -D__sun__"
16645 LINTFLAGS="$LINTFLAGS -D__sun__"
16646 fi ;;
16647 esac
16653 ac_config_commands="$ac_config_commands include/stamp-h"
16655 $as_echo_n "creating Makefile rules..." >&6
16657 ALL_VARS_RULES="OPENGL_LIBS = $OPENGL_LIBS
16658 SOCKET_LIBS = $SOCKET_LIBS
16659 COREFOUNDATION_LIBS = $COREFOUNDATION_LIBS
16660 IOKIT_LIBS = $IOKIT_LIBS
16661 FORCEFEEDBACK_LIBS = $FORCEFEEDBACK_LIBS
16662 APPLICATIONSERVICES_LIBS = $APPLICATIONSERVICES_LIBS
16663 CORESERVICES_LIBS = $CORESERVICES_LIBS
16664 APPKIT_LIBS = $APPKIT_LIBS
16665 DISKARBITRATION_LIBS = $DISKARBITRATION_LIBS
16666 SECURITY_LIBS = $SECURITY_LIBS
16667 COREAUDIO_LIBS = $COREAUDIO_LIBS
16668 OPENAL_LIBS = $OPENAL_LIBS
16669 OPENCL_LIBS = $OPENCL_LIBS
16670 QUICKTIME_LIBS = $QUICKTIME_LIBS
16671 CARBON_LIBS = $CARBON_LIBS
16672 PTHREAD_LIBS = $PTHREAD_LIBS
16673 X_CFLAGS = $X_CFLAGS
16674 X_PRE_LIBS = $X_PRE_LIBS
16675 X_LIBS = $X_LIBS
16676 X_EXTRA_LIBS = $X_EXTRA_LIBS
16677 XML2_CFLAGS = $XML2_CFLAGS
16678 XML2_LIBS = $XML2_LIBS
16679 XSLT_CFLAGS = $XSLT_CFLAGS
16680 XSLT_LIBS = $XSLT_LIBS
16681 DBUS_CFLAGS = $DBUS_CFLAGS
16682 DBUS_LIBS = $DBUS_LIBS
16683 HAL_CFLAGS = $HAL_CFLAGS
16684 HAL_LIBS = $HAL_LIBS
16685 GNUTLS_CFLAGS = $GNUTLS_CFLAGS
16686 GNUTLS_LIBS = $GNUTLS_LIBS
16687 SANE_CFLAGS = $SANE_CFLAGS
16688 SANE_LIBS = $SANE_LIBS
16689 GPHOTO2_CFLAGS = $GPHOTO2_CFLAGS
16690 GPHOTO2_LIBS = $GPHOTO2_LIBS
16691 GPHOTO2_PORT_CFLAGS = $GPHOTO2_PORT_CFLAGS
16692 GPHOTO2_PORT_LIBS = $GPHOTO2_PORT_LIBS
16693 RESOLV_LIBS = $RESOLV_LIBS
16694 LCMS2_CFLAGS = $LCMS2_CFLAGS
16695 LCMS2_LIBS = $LCMS2_LIBS
16696 FREETYPE_CFLAGS = $FREETYPE_CFLAGS
16697 FREETYPE_LIBS = $FREETYPE_LIBS
16698 Z_LIBS = $Z_LIBS
16699 GETTEXTPO_LIBS = $GETTEXTPO_LIBS
16700 GSTREAMER_CFLAGS = $GSTREAMER_CFLAGS
16701 GSTREAMER_LIBS = $GSTREAMER_LIBS
16702 ALSA_LIBS = $ALSA_LIBS
16703 OSS4_CFLAGS = $OSS4_CFLAGS
16704 CAPI20_CFLAGS = $CAPI20_CFLAGS
16705 CAPI20_LIBS = $CAPI20_LIBS
16706 CUPS_CFLAGS = $CUPS_CFLAGS
16707 FONTCONFIG_CFLAGS = $FONTCONFIG_CFLAGS
16708 FONTCONFIG_LIBS = $FONTCONFIG_LIBS
16709 JPEG_CFLAGS = $JPEG_CFLAGS
16710 JPEG_LIBS = $JPEG_LIBS
16711 PNG_CFLAGS = $PNG_CFLAGS
16712 PNG_LIBS = $PNG_LIBS
16713 TIFF_CFLAGS = $TIFF_CFLAGS
16714 TIFF_LIBS = $TIFF_LIBS
16715 MPG123_CFLAGS = $MPG123_CFLAGS
16716 MPG123_LIBS = $MPG123_LIBS
16717 KSTAT_LIBS = $KSTAT_LIBS
16718 PROCSTAT_LIBS = $PROCSTAT_LIBS
16719 DL_LIBS = $DL_LIBS
16720 POLL_LIBS = $POLL_LIBS
16721 RT_LIBS = $RT_LIBS
16722 LDAP_LIBS = $LDAP_LIBS
16727 wine_fn_append_rule "
16728 # Rules automatically generated by configure
16730 CLEAN_FILES = *.o *.a *.so *.res *.fake *.ok *.tab.[ch] *.yy.c
16732 .INIT: Makefile
16733 .MAKEFILEDEPS:
16734 all: Makefile
16735 Makefile: $srcdir/Makefile.in $srcdir/Make.vars.in config.status \$(MAKEDEP)
16736 @./config.status Make.tmp Makefile"
16738 test "$srcdir" = . && wine_fn_append_rule "all: .gitignore
16739 .gitignore: config.status
16740 @./config.status .gitignore"
16742 test -n "$CROSSTARGET" || wine_fn_append_rule "crosstest:
16743 @echo \"crosstest is not supported (mingw not installed?)\" && false"
16745 if test "x$enable_fonts" != xno; then
16746 ac_config_links="$ac_config_links fonts/marlett.ttf:fonts/marlett.ttf"
16747 ac_config_links="$ac_config_links fonts/symbol.ttf:fonts/symbol.ttf"
16748 ac_config_links="$ac_config_links fonts/tahoma.ttf:fonts/tahoma.ttf"
16749 ac_config_links="$ac_config_links fonts/tahomabd.ttf:fonts/tahomabd.ttf"
16750 test "$srcdir" = "." || wine_fn_config_symlink fonts/marlett.ttf fonts/symbol.ttf fonts/tahoma.ttf fonts/tahomabd.ttf
16752 ac_config_links="$ac_config_links loader/l_intl.nls:loader/l_intl.nls"
16753 test "$srcdir" = "." || wine_fn_config_symlink loader/l_intl.nls
16754 ac_config_links="$ac_config_links po/LINGUAS:po/LINGUAS"
16755 test "$srcdir" = "." || wine_fn_config_symlink po/LINGUAS
16756 ac_config_links="$ac_config_links wine:tools/winewrapper"
16757 wine_fn_config_symlink wine
16758 if test "x$enable_win64" != xno; then
16759 ac_config_links="$ac_config_links wine64:tools/winewrapper"
16760 wine_fn_config_symlink wine64
16763 wine_fn_config_dll acledit enable_acledit
16764 wine_fn_config_dll aclui enable_aclui implib
16765 wine_fn_config_dll activeds enable_activeds implib
16766 wine_fn_config_dll actxprxy enable_actxprxy clean
16767 wine_fn_config_lib adsiid
16768 wine_fn_config_dll advapi32 enable_advapi32 clean,implib
16769 wine_fn_config_test dlls/advapi32/tests advapi32_test
16770 wine_fn_config_dll advpack enable_advpack implib
16771 wine_fn_config_test dlls/advpack/tests advpack_test
16772 wine_fn_config_dll amstream enable_amstream clean
16773 wine_fn_config_test dlls/amstream/tests amstream_test
16774 wine_fn_config_dll api-ms-win-core-com-l1-1-0 enable_api_ms_win_core_com_l1_1_0
16775 wine_fn_config_dll api-ms-win-core-console-l1-1-0 enable_api_ms_win_core_console_l1_1_0
16776 wine_fn_config_dll api-ms-win-core-debug-l1-1-1 enable_api_ms_win_core_debug_l1_1_1
16777 wine_fn_config_dll api-ms-win-core-errorhandling-l1-1-1 enable_api_ms_win_core_errorhandling_l1_1_1
16778 wine_fn_config_dll api-ms-win-core-file-l1-2-0 enable_api_ms_win_core_file_l1_2_0
16779 wine_fn_config_dll api-ms-win-core-file-l2-1-1 enable_api_ms_win_core_file_l2_1_1
16780 wine_fn_config_dll api-ms-win-core-handle-l1-1-0 enable_api_ms_win_core_handle_l1_1_0
16781 wine_fn_config_dll api-ms-win-core-heap-l1-2-0 enable_api_ms_win_core_heap_l1_2_0
16782 wine_fn_config_dll api-ms-win-core-heap-obsolete-l1-1-0 enable_api_ms_win_core_heap_obsolete_l1_1_0
16783 wine_fn_config_dll api-ms-win-core-interlocked-l1-2-0 enable_api_ms_win_core_interlocked_l1_2_0
16784 wine_fn_config_dll api-ms-win-core-io-l1-1-1 enable_api_ms_win_core_io_l1_1_1
16785 wine_fn_config_dll api-ms-win-core-kernel32-legacy-l1-1-0 enable_api_ms_win_core_kernel32_legacy_l1_1_0
16786 wine_fn_config_dll api-ms-win-core-libraryloader-l1-1-1 enable_api_ms_win_core_libraryloader_l1_1_1
16787 wine_fn_config_dll api-ms-win-core-localization-l1-2-0 enable_api_ms_win_core_localization_l1_2_0
16788 wine_fn_config_dll api-ms-win-core-localization-obsolete-l1-1-0 enable_api_ms_win_core_localization_obsolete_l1_1_0
16789 wine_fn_config_dll api-ms-win-core-localregistry-l1-1-0 enable_api_ms_win_core_localregistry_l1_1_0
16790 wine_fn_config_dll api-ms-win-core-memory-l1-1-1 enable_api_ms_win_core_memory_l1_1_1
16791 wine_fn_config_dll api-ms-win-core-namedpipe-l1-2-0 enable_api_ms_win_core_namedpipe_l1_2_0
16792 wine_fn_config_dll api-ms-win-core-processenvironment-l1-2-0 enable_api_ms_win_core_processenvironment_l1_2_0
16793 wine_fn_config_dll api-ms-win-core-processthreads-l1-1-0 enable_api_ms_win_core_processthreads_l1_1_0
16794 wine_fn_config_dll api-ms-win-core-processthreads-l1-1-1 enable_api_ms_win_core_processthreads_l1_1_1
16795 wine_fn_config_dll api-ms-win-core-processthreads-l1-1-2 enable_api_ms_win_core_processthreads_l1_1_2
16796 wine_fn_config_dll api-ms-win-core-profile-l1-1-0 enable_api_ms_win_core_profile_l1_1_0
16797 wine_fn_config_dll api-ms-win-core-psapi-l1-1-0 enable_api_ms_win_core_psapi_l1_1_0
16798 wine_fn_config_dll api-ms-win-core-registry-l1-1-0 enable_api_ms_win_core_registry_l1_1_0
16799 wine_fn_config_dll api-ms-win-core-rtlsupport-l1-2-0 enable_api_ms_win_core_rtlsupport_l1_2_0
16800 wine_fn_config_dll api-ms-win-core-shlwapi-legacy-l1-1-0 enable_api_ms_win_core_shlwapi_legacy_l1_1_0
16801 wine_fn_config_dll api-ms-win-core-string-l1-1-0 enable_api_ms_win_core_string_l1_1_0
16802 wine_fn_config_dll api-ms-win-core-synch-l1-2-0 enable_api_ms_win_core_synch_l1_2_0
16803 wine_fn_config_dll api-ms-win-core-sysinfo-l1-2-0 enable_api_ms_win_core_sysinfo_l1_2_0
16804 wine_fn_config_dll api-ms-win-core-sysinfo-l1-2-1 enable_api_ms_win_core_sysinfo_l1_2_1
16805 wine_fn_config_dll api-ms-win-core-threadpool-legacy-l1-1-0 enable_api_ms_win_core_threadpool_legacy_l1_1_0
16806 wine_fn_config_dll api-ms-win-core-timezone-l1-1-0 enable_api_ms_win_core_timezone_l1_1_0
16807 wine_fn_config_dll api-ms-win-core-url-l1-1-0 enable_api_ms_win_core_url_l1_1_0
16808 wine_fn_config_dll api-ms-win-core-util-l1-1-0 enable_api_ms_win_core_util_l1_1_0
16809 wine_fn_config_dll api-ms-win-core-winrt-error-l1-1-0 enable_api_ms_win_core_winrt_error_l1_1_0
16810 wine_fn_config_dll api-ms-win-core-winrt-l1-1-0 enable_api_ms_win_core_winrt_l1_1_0
16811 wine_fn_config_dll api-ms-win-core-winrt-string-l1-1-0 enable_api_ms_win_core_winrt_string_l1_1_0
16812 wine_fn_config_dll api-ms-win-downlevel-advapi32-l1-1-0 enable_api_ms_win_downlevel_advapi32_l1_1_0
16813 wine_fn_config_dll api-ms-win-downlevel-advapi32-l2-1-0 enable_api_ms_win_downlevel_advapi32_l2_1_0
16814 wine_fn_config_dll api-ms-win-downlevel-normaliz-l1-1-0 enable_api_ms_win_downlevel_normaliz_l1_1_0
16815 wine_fn_config_dll api-ms-win-downlevel-ole32-l1-1-0 enable_api_ms_win_downlevel_ole32_l1_1_0
16816 wine_fn_config_dll api-ms-win-downlevel-shell32-l1-1-0 enable_api_ms_win_downlevel_shell32_l1_1_0
16817 wine_fn_config_dll api-ms-win-downlevel-shlwapi-l1-1-0 enable_api_ms_win_downlevel_shlwapi_l1_1_0
16818 wine_fn_config_dll api-ms-win-downlevel-shlwapi-l2-1-0 enable_api_ms_win_downlevel_shlwapi_l2_1_0
16819 wine_fn_config_dll api-ms-win-downlevel-user32-l1-1-0 enable_api_ms_win_downlevel_user32_l1_1_0
16820 wine_fn_config_dll api-ms-win-downlevel-version-l1-1-0 enable_api_ms_win_downlevel_version_l1_1_0
16821 wine_fn_config_dll api-ms-win-eventing-provider-l1-1-0 enable_api_ms_win_eventing_provider_l1_1_0
16822 wine_fn_config_dll api-ms-win-ntuser-dc-access-l1-1-0 enable_api_ms_win_ntuser_dc_access_l1_1_0
16823 wine_fn_config_dll api-ms-win-security-base-l1-1-0 enable_api_ms_win_security_base_l1_1_0
16824 wine_fn_config_dll api-ms-win-security-base-l1-2-0 enable_api_ms_win_security_base_l1_2_0
16825 wine_fn_config_dll api-ms-win-security-sddl-l1-1-0 enable_api_ms_win_security_sddl_l1_1_0
16826 wine_fn_config_dll api-ms-win-service-core-l1-1-1 enable_api_ms_win_service_core_l1_1_1
16827 wine_fn_config_dll api-ms-win-service-management-l1-1-0 enable_api_ms_win_service_management_l1_1_0
16828 wine_fn_config_dll api-ms-win-service-winsvc-l1-2-0 enable_api_ms_win_service_winsvc_l1_2_0
16829 wine_fn_config_dll apphelp enable_apphelp
16830 wine_fn_config_test dlls/apphelp/tests apphelp_test
16831 wine_fn_config_dll appwiz.cpl enable_appwiz_cpl po
16832 wine_fn_config_dll atl enable_atl clean,implib
16833 wine_fn_config_test dlls/atl/tests atl_test
16834 wine_fn_config_dll atl100 enable_atl100 clean,implib
16835 wine_fn_config_test dlls/atl100/tests atl100_test
16836 wine_fn_config_dll atl110 enable_atl110 clean
16837 wine_fn_config_dll atl80 enable_atl80 clean,implib
16838 wine_fn_config_test dlls/atl80/tests atl80_test
16839 wine_fn_config_dll atl90 enable_atl90 clean
16840 wine_fn_config_dll authz enable_authz
16841 wine_fn_config_dll avicap32 enable_avicap32 implib
16842 wine_fn_config_dll avifil32 enable_avifil32 clean,implib,po
16843 wine_fn_config_test dlls/avifil32/tests avifil32_test
16844 wine_fn_config_dll avifile.dll16 enable_win16
16845 wine_fn_config_dll avrt enable_avrt implib
16846 wine_fn_config_dll bcrypt enable_bcrypt
16847 wine_fn_config_test dlls/bcrypt/tests bcrypt_test
16848 wine_fn_config_dll browseui enable_browseui clean,po
16849 wine_fn_config_test dlls/browseui/tests browseui_test
16850 wine_fn_config_dll cabinet enable_cabinet implib
16851 wine_fn_config_test dlls/cabinet/tests cabinet_test
16852 wine_fn_config_dll capi2032 enable_capi2032 implib
16853 wine_fn_config_dll cards enable_cards implib
16854 wine_fn_config_dll cfgmgr32 enable_cfgmgr32 implib
16855 wine_fn_config_dll clusapi enable_clusapi implib
16856 wine_fn_config_dll comcat enable_comcat
16857 wine_fn_config_test dlls/comcat/tests comcat_test
16858 wine_fn_config_dll comctl32 enable_comctl32 implib,po
16859 wine_fn_config_test dlls/comctl32/tests comctl32_test
16860 wine_fn_config_dll comdlg32 enable_comdlg32 clean,implib,po
16861 wine_fn_config_test dlls/comdlg32/tests comdlg32_test
16862 wine_fn_config_dll comm.drv16 enable_win16
16863 wine_fn_config_dll commdlg.dll16 enable_win16
16864 wine_fn_config_dll compobj.dll16 enable_win16
16865 wine_fn_config_dll compstui enable_compstui implib
16866 wine_fn_config_dll comsvcs enable_comsvcs implib
16867 wine_fn_config_dll credui enable_credui implib,po
16868 wine_fn_config_test dlls/credui/tests credui_test
16869 wine_fn_config_dll crtdll enable_crtdll implib
16870 wine_fn_config_dll crypt32 enable_crypt32 implib,po
16871 wine_fn_config_test dlls/crypt32/tests crypt32_test
16872 wine_fn_config_dll cryptdlg enable_cryptdlg po
16873 wine_fn_config_dll cryptdll enable_cryptdll implib
16874 wine_fn_config_dll cryptext enable_cryptext
16875 wine_fn_config_dll cryptnet enable_cryptnet implib
16876 wine_fn_config_test dlls/cryptnet/tests cryptnet_test
16877 wine_fn_config_dll cryptui enable_cryptui implib,po
16878 wine_fn_config_test dlls/cryptui/tests cryptui_test
16879 wine_fn_config_dll ctapi32 enable_ctapi32
16880 wine_fn_config_dll ctl3d.dll16 enable_win16
16881 wine_fn_config_dll ctl3d32 enable_ctl3d32 implib
16882 wine_fn_config_dll ctl3dv2.dll16 enable_win16
16883 wine_fn_config_dll d2d1 enable_d2d1 implib
16884 wine_fn_config_test dlls/d2d1/tests d2d1_test
16885 wine_fn_config_dll d3d10 enable_d3d10 implib
16886 wine_fn_config_test dlls/d3d10/tests d3d10_test
16887 wine_fn_config_dll d3d10_1 enable_d3d10_1 implib
16888 wine_fn_config_dll d3d10core enable_d3d10core implib
16889 wine_fn_config_test dlls/d3d10core/tests d3d10core_test
16890 wine_fn_config_dll d3d11 enable_d3d11
16891 wine_fn_config_dll d3d8 enable_d3d8 implib
16892 wine_fn_config_test dlls/d3d8/tests d3d8_test
16893 wine_fn_config_dll d3d9 enable_d3d9 implib
16894 wine_fn_config_test dlls/d3d9/tests d3d9_test
16895 wine_fn_config_dll d3dcompiler_33 enable_d3dcompiler_33
16896 wine_fn_config_dll d3dcompiler_34 enable_d3dcompiler_34
16897 wine_fn_config_dll d3dcompiler_35 enable_d3dcompiler_35
16898 wine_fn_config_dll d3dcompiler_36 enable_d3dcompiler_36
16899 wine_fn_config_dll d3dcompiler_37 enable_d3dcompiler_37
16900 wine_fn_config_dll d3dcompiler_38 enable_d3dcompiler_38
16901 wine_fn_config_dll d3dcompiler_39 enable_d3dcompiler_39
16902 wine_fn_config_dll d3dcompiler_40 enable_d3dcompiler_40
16903 wine_fn_config_dll d3dcompiler_41 enable_d3dcompiler_41
16904 wine_fn_config_dll d3dcompiler_42 enable_d3dcompiler_42
16905 wine_fn_config_dll d3dcompiler_43 enable_d3dcompiler_43 implib d3dcompiler
16906 wine_fn_config_test dlls/d3dcompiler_43/tests d3dcompiler_43_test
16907 wine_fn_config_dll d3dim enable_d3dim implib
16908 wine_fn_config_dll d3drm enable_d3drm implib
16909 wine_fn_config_test dlls/d3drm/tests d3drm_test
16910 wine_fn_config_dll d3dx10_33 enable_d3dx10_33
16911 wine_fn_config_dll d3dx10_34 enable_d3dx10_34
16912 wine_fn_config_dll d3dx10_35 enable_d3dx10_35
16913 wine_fn_config_dll d3dx10_36 enable_d3dx10_36
16914 wine_fn_config_dll d3dx10_37 enable_d3dx10_37
16915 wine_fn_config_dll d3dx10_38 enable_d3dx10_38
16916 wine_fn_config_dll d3dx10_39 enable_d3dx10_39
16917 wine_fn_config_dll d3dx10_40 enable_d3dx10_40
16918 wine_fn_config_dll d3dx10_41 enable_d3dx10_41
16919 wine_fn_config_dll d3dx10_42 enable_d3dx10_42
16920 wine_fn_config_dll d3dx10_43 enable_d3dx10_43
16921 wine_fn_config_dll d3dx11_42 enable_d3dx11_42
16922 wine_fn_config_dll d3dx11_43 enable_d3dx11_43
16923 wine_fn_config_dll d3dx9_24 enable_d3dx9_24
16924 wine_fn_config_dll d3dx9_25 enable_d3dx9_25
16925 wine_fn_config_dll d3dx9_26 enable_d3dx9_26
16926 wine_fn_config_dll d3dx9_27 enable_d3dx9_27
16927 wine_fn_config_dll d3dx9_28 enable_d3dx9_28
16928 wine_fn_config_dll d3dx9_29 enable_d3dx9_29
16929 wine_fn_config_dll d3dx9_30 enable_d3dx9_30
16930 wine_fn_config_dll d3dx9_31 enable_d3dx9_31
16931 wine_fn_config_dll d3dx9_32 enable_d3dx9_32
16932 wine_fn_config_dll d3dx9_33 enable_d3dx9_33
16933 wine_fn_config_dll d3dx9_34 enable_d3dx9_34
16934 wine_fn_config_dll d3dx9_35 enable_d3dx9_35
16935 wine_fn_config_dll d3dx9_36 enable_d3dx9_36 implib d3dx9
16936 wine_fn_config_test dlls/d3dx9_36/tests d3dx9_36_test
16937 wine_fn_config_dll d3dx9_37 enable_d3dx9_37
16938 wine_fn_config_dll d3dx9_38 enable_d3dx9_38
16939 wine_fn_config_dll d3dx9_39 enable_d3dx9_39
16940 wine_fn_config_dll d3dx9_40 enable_d3dx9_40
16941 wine_fn_config_dll d3dx9_41 enable_d3dx9_41
16942 wine_fn_config_dll d3dx9_42 enable_d3dx9_42
16943 wine_fn_config_dll d3dx9_43 enable_d3dx9_43
16944 wine_fn_config_dll d3dxof enable_d3dxof clean,implib
16945 wine_fn_config_test dlls/d3dxof/tests d3dxof_test
16946 wine_fn_config_dll dbgeng enable_dbgeng implib
16947 wine_fn_config_dll dbghelp enable_dbghelp implib
16948 wine_fn_config_dll dciman32 enable_dciman32 implib
16949 wine_fn_config_dll ddeml.dll16 enable_win16
16950 wine_fn_config_dll ddraw enable_ddraw clean,implib
16951 wine_fn_config_test dlls/ddraw/tests ddraw_test
16952 wine_fn_config_dll ddrawex enable_ddrawex clean
16953 wine_fn_config_test dlls/ddrawex/tests ddrawex_test
16954 wine_fn_config_dll devenum enable_devenum clean,po
16955 wine_fn_config_test dlls/devenum/tests devenum_test
16956 wine_fn_config_dll dhcpcsvc enable_dhcpcsvc
16957 wine_fn_config_dll difxapi enable_difxapi
16958 wine_fn_config_dll dinput enable_dinput clean,implib,po,staticimplib
16959 wine_fn_config_test dlls/dinput/tests dinput_test
16960 wine_fn_config_dll dinput8 enable_dinput8 clean,implib
16961 wine_fn_config_test dlls/dinput8/tests dinput8_test
16962 wine_fn_config_dll dispdib.dll16 enable_win16
16963 wine_fn_config_dll dispex enable_dispex clean
16964 wine_fn_config_test dlls/dispex/tests dispex_test
16965 wine_fn_config_dll display.drv16 enable_win16
16966 wine_fn_config_dll dmband enable_dmband clean
16967 wine_fn_config_test dlls/dmband/tests dmband_test
16968 wine_fn_config_dll dmcompos enable_dmcompos clean
16969 wine_fn_config_test dlls/dmcompos/tests dmcompos_test
16970 wine_fn_config_dll dmime enable_dmime clean
16971 wine_fn_config_test dlls/dmime/tests dmime_test
16972 wine_fn_config_dll dmloader enable_dmloader clean
16973 wine_fn_config_test dlls/dmloader/tests dmloader_test
16974 wine_fn_config_dll dmscript enable_dmscript clean
16975 wine_fn_config_test dlls/dmscript/tests dmscript_test
16976 wine_fn_config_dll dmstyle enable_dmstyle clean
16977 wine_fn_config_test dlls/dmstyle/tests dmstyle_test
16978 wine_fn_config_dll dmsynth enable_dmsynth clean
16979 wine_fn_config_test dlls/dmsynth/tests dmsynth_test
16980 wine_fn_config_dll dmusic enable_dmusic clean
16981 wine_fn_config_test dlls/dmusic/tests dmusic_test
16982 wine_fn_config_dll dmusic32 enable_dmusic32 implib
16983 wine_fn_config_dll dnsapi enable_dnsapi implib
16984 wine_fn_config_test dlls/dnsapi/tests dnsapi_test
16985 wine_fn_config_dll dplay enable_dplay implib
16986 wine_fn_config_dll dplayx enable_dplayx clean,implib
16987 wine_fn_config_test dlls/dplayx/tests dplayx_test
16988 wine_fn_config_dll dpnaddr enable_dpnaddr
16989 wine_fn_config_dll dpnet enable_dpnet clean,implib
16990 wine_fn_config_test dlls/dpnet/tests dpnet_test
16991 wine_fn_config_dll dpnhpast enable_dpnhpast
16992 wine_fn_config_dll dpnlobby enable_dpnlobby
16993 wine_fn_config_dll dpvoice enable_dpvoice clean
16994 wine_fn_config_test dlls/dpvoice/tests dpvoice_test
16995 wine_fn_config_dll dpwsockx enable_dpwsockx
16996 wine_fn_config_dll drmclien enable_drmclien
16997 wine_fn_config_dll dsound enable_dsound clean,implib
16998 wine_fn_config_test dlls/dsound/tests dsound_test
16999 wine_fn_config_dll dssenh enable_dssenh
17000 wine_fn_config_test dlls/dssenh/tests dssenh_test
17001 wine_fn_config_dll dswave enable_dswave clean
17002 wine_fn_config_test dlls/dswave/tests dswave_test
17003 wine_fn_config_dll dwmapi enable_dwmapi implib
17004 wine_fn_config_dll dwrite enable_dwrite implib
17005 wine_fn_config_test dlls/dwrite/tests dwrite_test
17006 wine_fn_config_dll dxdiagn enable_dxdiagn clean,po
17007 wine_fn_config_test dlls/dxdiagn/tests dxdiagn_test
17008 wine_fn_config_lib dxerr8
17009 wine_fn_config_lib dxerr9
17010 wine_fn_config_dll dxgi enable_dxgi implib
17011 wine_fn_config_test dlls/dxgi/tests dxgi_test
17012 wine_fn_config_lib dxguid
17013 wine_fn_config_dll dxva2 enable_dxva2
17014 wine_fn_config_dll explorerframe enable_explorerframe clean
17015 wine_fn_config_test dlls/explorerframe/tests explorerframe_test
17016 wine_fn_config_dll ext-ms-win-gdi-devcaps-l1-1-0 enable_ext_ms_win_gdi_devcaps_l1_1_0
17017 wine_fn_config_dll faultrep enable_faultrep implib
17018 wine_fn_config_test dlls/faultrep/tests faultrep_test
17019 wine_fn_config_dll fltlib enable_fltlib
17020 wine_fn_config_dll fntcache enable_fntcache
17021 wine_fn_config_dll fontsub enable_fontsub
17022 wine_fn_config_dll fusion enable_fusion
17023 wine_fn_config_test dlls/fusion/tests fusion_test
17024 wine_fn_config_dll fwpuclnt enable_fwpuclnt
17025 wine_fn_config_dll gameux enable_gameux clean
17026 wine_fn_config_test dlls/gameux/tests gameux_test
17027 wine_fn_config_dll gdi.exe16 enable_win16
17028 wine_fn_config_dll gdi32 enable_gdi32 clean,implib,po
17029 wine_fn_config_test dlls/gdi32/tests gdi32_test
17030 wine_fn_config_dll gdiplus enable_gdiplus implib
17031 wine_fn_config_test dlls/gdiplus/tests gdiplus_test
17032 wine_fn_config_dll glu32 enable_glu32 implib
17033 wine_fn_config_dll gphoto2.ds enable_gphoto2_ds po
17034 wine_fn_config_dll gpkcsp enable_gpkcsp
17035 wine_fn_config_dll hal enable_hal
17036 wine_fn_config_dll hhctrl.ocx enable_hhctrl_ocx clean,implib,po htmlhelp
17037 wine_fn_config_dll hid enable_hid implib
17038 wine_fn_config_dll hlink enable_hlink clean,implib
17039 wine_fn_config_test dlls/hlink/tests hlink_test
17040 wine_fn_config_dll hnetcfg enable_hnetcfg clean
17041 wine_fn_config_dll httpapi enable_httpapi
17042 wine_fn_config_dll iccvid enable_iccvid po
17043 wine_fn_config_dll icmp enable_icmp
17044 wine_fn_config_dll ieframe enable_ieframe clean,implib,po
17045 wine_fn_config_test dlls/ieframe/tests ieframe_test
17046 wine_fn_config_dll ifsmgr.vxd enable_win16
17047 wine_fn_config_dll imaadp32.acm enable_imaadp32_acm
17048 wine_fn_config_dll imagehlp enable_imagehlp implib
17049 wine_fn_config_test dlls/imagehlp/tests imagehlp_test
17050 wine_fn_config_dll imm.dll16 enable_win16
17051 wine_fn_config_dll imm32 enable_imm32 implib
17052 wine_fn_config_test dlls/imm32/tests imm32_test
17053 wine_fn_config_dll inetcomm enable_inetcomm clean,implib
17054 wine_fn_config_test dlls/inetcomm/tests inetcomm_test
17055 wine_fn_config_dll inetcpl.cpl enable_inetcpl_cpl po
17056 wine_fn_config_dll inetmib1 enable_inetmib1
17057 wine_fn_config_test dlls/inetmib1/tests inetmib1_test
17058 wine_fn_config_dll infosoft enable_infosoft clean
17059 wine_fn_config_test dlls/infosoft/tests infosoft_test
17060 wine_fn_config_dll initpki enable_initpki
17061 wine_fn_config_dll inkobj enable_inkobj
17062 wine_fn_config_dll inseng enable_inseng clean
17063 wine_fn_config_dll iphlpapi enable_iphlpapi implib
17064 wine_fn_config_test dlls/iphlpapi/tests iphlpapi_test
17065 wine_fn_config_dll itircl enable_itircl
17066 wine_fn_config_dll itss enable_itss clean
17067 wine_fn_config_test dlls/itss/tests itss_test
17068 wine_fn_config_dll joy.cpl enable_joy_cpl po
17069 wine_fn_config_dll jscript enable_jscript clean,po
17070 wine_fn_config_test dlls/jscript/tests jscript_test
17071 wine_fn_config_dll jsproxy enable_jsproxy implib
17072 wine_fn_config_dll kernel32 enable_kernel32 clean,implib,mc
17073 wine_fn_config_test dlls/kernel32/tests kernel32_test
17074 wine_fn_config_dll keyboard.drv16 enable_win16
17075 wine_fn_config_dll krnl386.exe16 enable_win16 implib kernel
17076 wine_fn_config_dll ksuser enable_ksuser
17077 wine_fn_config_dll ktmw32 enable_ktmw32
17078 wine_fn_config_dll loadperf enable_loadperf implib
17079 wine_fn_config_dll localspl enable_localspl po
17080 wine_fn_config_test dlls/localspl/tests localspl_test
17081 wine_fn_config_dll localui enable_localui po
17082 wine_fn_config_test dlls/localui/tests localui_test
17083 wine_fn_config_dll lz32 enable_lz32 implib
17084 wine_fn_config_test dlls/lz32/tests lz32_test
17085 wine_fn_config_dll lzexpand.dll16 enable_win16
17086 wine_fn_config_dll mapi32 enable_mapi32 implib,po
17087 wine_fn_config_test dlls/mapi32/tests mapi32_test
17088 wine_fn_config_dll mapistub enable_mapistub
17089 wine_fn_config_dll mciavi32 enable_mciavi32
17090 wine_fn_config_dll mcicda enable_mcicda
17091 wine_fn_config_dll mciqtz32 enable_mciqtz32
17092 wine_fn_config_dll mciseq enable_mciseq
17093 wine_fn_config_dll mciwave enable_mciwave
17094 wine_fn_config_dll mgmtapi enable_mgmtapi
17095 wine_fn_config_dll midimap enable_midimap
17096 wine_fn_config_dll mlang enable_mlang clean,implib
17097 wine_fn_config_test dlls/mlang/tests mlang_test
17098 wine_fn_config_dll mmcndmgr enable_mmcndmgr clean
17099 wine_fn_config_test dlls/mmcndmgr/tests mmcndmgr_test
17100 wine_fn_config_dll mmdevapi enable_mmdevapi clean
17101 wine_fn_config_test dlls/mmdevapi/tests mmdevapi_test
17102 wine_fn_config_dll mmdevldr.vxd enable_win16
17103 wine_fn_config_dll mmsystem.dll16 enable_win16
17104 wine_fn_config_dll monodebg.vxd enable_win16
17105 wine_fn_config_dll mountmgr.sys enable_mountmgr_sys
17106 wine_fn_config_dll mouse.drv16 enable_win16
17107 wine_fn_config_dll mpr enable_mpr implib,po
17108 wine_fn_config_test dlls/mpr/tests mpr_test
17109 wine_fn_config_dll mprapi enable_mprapi implib
17110 wine_fn_config_dll msacm.dll16 enable_win16
17111 wine_fn_config_dll msacm32.drv enable_msacm32_drv
17112 wine_fn_config_dll msacm32 enable_msacm32 implib,po
17113 wine_fn_config_test dlls/msacm32/tests msacm32_test
17114 wine_fn_config_dll msadp32.acm enable_msadp32_acm
17115 wine_fn_config_dll msasn1 enable_msasn1 implib
17116 wine_fn_config_dll mscat32 enable_mscat32
17117 wine_fn_config_dll mscms enable_mscms implib
17118 wine_fn_config_test dlls/mscms/tests mscms_test
17119 wine_fn_config_dll mscoree enable_mscoree clean
17120 wine_fn_config_test dlls/mscoree/tests mscoree_test
17121 wine_fn_config_dll msctf enable_msctf clean
17122 wine_fn_config_test dlls/msctf/tests msctf_test
17123 wine_fn_config_dll msdaps enable_msdaps clean
17124 wine_fn_config_dll msdmo enable_msdmo implib
17125 wine_fn_config_dll msftedit enable_msftedit
17126 wine_fn_config_dll msg711.acm enable_msg711_acm
17127 wine_fn_config_dll msgsm32.acm enable_msgsm32_acm
17128 wine_fn_config_dll mshtml.tlb enable_mshtml_tlb clean
17129 wine_fn_config_dll mshtml enable_mshtml clean,implib,po
17130 wine_fn_config_test dlls/mshtml/tests mshtml_test clean
17131 wine_fn_config_dll msi enable_msi clean,implib,po
17132 wine_fn_config_test dlls/msi/tests msi_test
17133 wine_fn_config_dll msident enable_msident clean
17134 wine_fn_config_dll msimg32 enable_msimg32 implib
17135 wine_fn_config_dll msimsg enable_msimsg
17136 wine_fn_config_dll msimtf enable_msimtf clean
17137 wine_fn_config_dll msisip enable_msisip
17138 wine_fn_config_dll msisys.ocx enable_msisys_ocx
17139 wine_fn_config_dll msls31 enable_msls31
17140 wine_fn_config_dll msnet32 enable_msnet32
17141 wine_fn_config_dll mspatcha enable_mspatcha
17142 wine_fn_config_dll msrle32 enable_msrle32 po
17143 wine_fn_config_test dlls/msrle32/tests msrle32_test
17144 wine_fn_config_dll mssign32 enable_mssign32
17145 wine_fn_config_dll mssip32 enable_mssip32
17146 wine_fn_config_dll mstask enable_mstask clean
17147 wine_fn_config_test dlls/mstask/tests mstask_test
17148 wine_fn_config_dll msvcirt enable_msvcirt
17149 wine_fn_config_dll msvcm80 enable_msvcm80
17150 wine_fn_config_dll msvcm90 enable_msvcm90
17151 wine_fn_config_dll msvcp100 enable_msvcp100
17152 wine_fn_config_test dlls/msvcp100/tests msvcp100_test
17153 wine_fn_config_dll msvcp110 enable_msvcp110
17154 wine_fn_config_dll msvcp120 enable_msvcp120
17155 wine_fn_config_dll msvcp60 enable_msvcp60
17156 wine_fn_config_test dlls/msvcp60/tests msvcp60_test
17157 wine_fn_config_dll msvcp70 enable_msvcp70
17158 wine_fn_config_dll msvcp71 enable_msvcp71
17159 wine_fn_config_dll msvcp80 enable_msvcp80
17160 wine_fn_config_dll msvcp90 enable_msvcp90
17161 wine_fn_config_test dlls/msvcp90/tests msvcp90_test
17162 wine_fn_config_dll msvcr100 enable_msvcr100 implib
17163 wine_fn_config_test dlls/msvcr100/tests msvcr100_test
17164 wine_fn_config_dll msvcr110 enable_msvcr110 implib
17165 wine_fn_config_dll msvcr120 enable_msvcr120 implib
17166 wine_fn_config_dll msvcr70 enable_msvcr70 implib
17167 wine_fn_config_dll msvcr71 enable_msvcr71 implib
17168 wine_fn_config_dll msvcr80 enable_msvcr80 implib
17169 wine_fn_config_dll msvcr90 enable_msvcr90 implib
17170 wine_fn_config_test dlls/msvcr90/tests msvcr90_test
17171 wine_fn_config_dll msvcrt enable_msvcrt implib
17172 wine_fn_config_test dlls/msvcrt/tests msvcrt_test
17173 wine_fn_config_dll msvcrt20 enable_msvcrt20 implib
17174 wine_fn_config_dll msvcrt40 enable_msvcrt40 implib
17175 wine_fn_config_dll msvcrtd enable_msvcrtd implib
17176 wine_fn_config_test dlls/msvcrtd/tests msvcrtd_test
17177 wine_fn_config_dll msvfw32 enable_msvfw32 implib,po
17178 wine_fn_config_test dlls/msvfw32/tests msvfw32_test
17179 wine_fn_config_dll msvidc32 enable_msvidc32 po
17180 wine_fn_config_dll msvideo.dll16 enable_win16
17181 wine_fn_config_dll mswsock enable_mswsock implib
17182 wine_fn_config_dll msxml enable_msxml clean
17183 wine_fn_config_dll msxml2 enable_msxml2 clean
17184 wine_fn_config_dll msxml3 enable_msxml3 clean
17185 wine_fn_config_test dlls/msxml3/tests msxml3_test clean
17186 wine_fn_config_dll msxml4 enable_msxml4 clean
17187 wine_fn_config_dll msxml6 enable_msxml6 clean
17188 wine_fn_config_dll nddeapi enable_nddeapi implib
17189 wine_fn_config_dll ndis.sys enable_ndis_sys
17190 wine_fn_config_dll netapi32 enable_netapi32 implib
17191 wine_fn_config_test dlls/netapi32/tests netapi32_test
17192 wine_fn_config_dll netcfgx enable_netcfgx clean
17193 wine_fn_config_test dlls/netcfgx/tests netcfgx_test
17194 wine_fn_config_dll netprofm enable_netprofm clean
17195 wine_fn_config_test dlls/netprofm/tests netprofm_test
17196 wine_fn_config_dll newdev enable_newdev implib
17197 wine_fn_config_dll normaliz enable_normaliz implib
17198 wine_fn_config_dll npmshtml enable_npmshtml
17199 wine_fn_config_dll npptools enable_npptools
17200 wine_fn_config_dll ntdll enable_ntdll implib
17201 wine_fn_config_test dlls/ntdll/tests ntdll_test
17202 wine_fn_config_dll ntdsapi enable_ntdsapi implib
17203 wine_fn_config_test dlls/ntdsapi/tests ntdsapi_test
17204 wine_fn_config_dll ntoskrnl.exe enable_ntoskrnl_exe implib
17205 wine_fn_config_dll ntprint enable_ntprint
17206 wine_fn_config_test dlls/ntprint/tests ntprint_test
17207 wine_fn_config_dll objsel enable_objsel clean
17208 wine_fn_config_dll odbc32 enable_odbc32 implib
17209 wine_fn_config_dll odbccp32 enable_odbccp32 implib
17210 wine_fn_config_test dlls/odbccp32/tests odbccp32_test
17211 wine_fn_config_dll odbccu32 enable_odbccu32
17212 wine_fn_config_dll ole2.dll16 enable_win16
17213 wine_fn_config_dll ole2conv.dll16 enable_win16
17214 wine_fn_config_dll ole2disp.dll16 enable_win16
17215 wine_fn_config_dll ole2nls.dll16 enable_win16
17216 wine_fn_config_dll ole2prox.dll16 enable_win16
17217 wine_fn_config_dll ole2thk.dll16 enable_win16
17218 wine_fn_config_dll ole32 enable_ole32 clean,implib
17219 wine_fn_config_test dlls/ole32/tests ole32_test
17220 wine_fn_config_dll oleacc enable_oleacc clean,implib,po
17221 wine_fn_config_test dlls/oleacc/tests oleacc_test
17222 wine_fn_config_dll oleaut32 enable_oleaut32 clean,implib,po
17223 wine_fn_config_test dlls/oleaut32/tests oleaut32_test clean
17224 wine_fn_config_dll olecli.dll16 enable_win16
17225 wine_fn_config_dll olecli32 enable_olecli32 implib
17226 wine_fn_config_dll oledb32 enable_oledb32 clean
17227 wine_fn_config_test dlls/oledb32/tests oledb32_test clean
17228 wine_fn_config_dll oledlg enable_oledlg implib,po
17229 wine_fn_config_dll olepro32 enable_olepro32 implib
17230 wine_fn_config_dll olesvr.dll16 enable_win16
17231 wine_fn_config_dll olesvr32 enable_olesvr32 implib
17232 wine_fn_config_dll olethk32 enable_olethk32
17233 wine_fn_config_dll openal32 enable_openal32
17234 wine_fn_config_dll opencl enable_opencl
17235 wine_fn_config_dll opengl32 enable_opengl32 implib
17236 wine_fn_config_test dlls/opengl32/tests opengl32_test
17237 wine_fn_config_dll packager enable_packager clean
17238 wine_fn_config_test dlls/packager/tests packager_test
17239 wine_fn_config_dll pdh enable_pdh implib
17240 wine_fn_config_test dlls/pdh/tests pdh_test
17241 wine_fn_config_dll photometadatahandler enable_photometadatahandler
17242 wine_fn_config_dll pidgen enable_pidgen
17243 wine_fn_config_dll powrprof enable_powrprof implib
17244 wine_fn_config_dll printui enable_printui
17245 wine_fn_config_dll prntvpt enable_prntvpt
17246 wine_fn_config_dll propsys enable_propsys clean,implib
17247 wine_fn_config_test dlls/propsys/tests propsys_test
17248 wine_fn_config_dll psapi enable_psapi implib
17249 wine_fn_config_test dlls/psapi/tests psapi_test
17250 wine_fn_config_dll pstorec enable_pstorec clean
17251 wine_fn_config_dll qcap enable_qcap
17252 wine_fn_config_test dlls/qcap/tests qcap_test
17253 wine_fn_config_dll qedit enable_qedit clean
17254 wine_fn_config_test dlls/qedit/tests qedit_test
17255 wine_fn_config_dll qmgr enable_qmgr clean
17256 wine_fn_config_test dlls/qmgr/tests qmgr_test
17257 wine_fn_config_dll qmgrprxy enable_qmgrprxy clean
17258 wine_fn_config_dll quartz enable_quartz clean,implib
17259 wine_fn_config_test dlls/quartz/tests quartz_test clean
17260 wine_fn_config_dll query enable_query
17261 wine_fn_config_dll rasapi16.dll16 enable_win16
17262 wine_fn_config_dll rasapi32 enable_rasapi32 implib
17263 wine_fn_config_test dlls/rasapi32/tests rasapi32_test
17264 wine_fn_config_dll rasdlg enable_rasdlg implib
17265 wine_fn_config_dll regapi enable_regapi
17266 wine_fn_config_dll resutils enable_resutils implib
17267 wine_fn_config_dll riched20 enable_riched20 implib
17268 wine_fn_config_test dlls/riched20/tests riched20_test
17269 wine_fn_config_dll riched32 enable_riched32
17270 wine_fn_config_test dlls/riched32/tests riched32_test
17271 wine_fn_config_dll rpcrt4 enable_rpcrt4 clean,implib
17272 wine_fn_config_test dlls/rpcrt4/tests rpcrt4_test clean
17273 wine_fn_config_dll rsabase enable_rsabase
17274 wine_fn_config_dll rsaenh enable_rsaenh implib
17275 wine_fn_config_test dlls/rsaenh/tests rsaenh_test
17276 wine_fn_config_dll rstrtmgr enable_rstrtmgr
17277 wine_fn_config_dll rtutils enable_rtutils implib
17278 wine_fn_config_dll samlib enable_samlib
17279 wine_fn_config_dll sane.ds enable_sane_ds po
17280 wine_fn_config_dll scarddlg enable_scarddlg
17281 wine_fn_config_dll sccbase enable_sccbase
17282 wine_fn_config_dll schannel enable_schannel
17283 wine_fn_config_test dlls/schannel/tests schannel_test
17284 wine_fn_config_dll schedsvc enable_schedsvc clean
17285 wine_fn_config_test dlls/schedsvc/tests schedsvc_test clean
17286 wine_fn_config_dll scrrun enable_scrrun clean
17287 wine_fn_config_test dlls/scrrun/tests scrrun_test clean
17288 wine_fn_config_dll scsiport.sys enable_scsiport_sys
17289 wine_fn_config_dll secur32 enable_secur32 implib
17290 wine_fn_config_test dlls/secur32/tests secur32_test
17291 wine_fn_config_dll security enable_security
17292 wine_fn_config_dll sensapi enable_sensapi implib
17293 wine_fn_config_dll serialui enable_serialui implib,po
17294 wine_fn_config_test dlls/serialui/tests serialui_test
17295 wine_fn_config_dll setupapi enable_setupapi implib,po
17296 wine_fn_config_test dlls/setupapi/tests setupapi_test
17297 wine_fn_config_dll setupx.dll16 enable_win16
17298 wine_fn_config_dll sfc enable_sfc implib
17299 wine_fn_config_dll sfc_os enable_sfc_os implib
17300 wine_fn_config_dll shdoclc enable_shdoclc po
17301 wine_fn_config_dll shdocvw enable_shdocvw clean,implib
17302 wine_fn_config_test dlls/shdocvw/tests shdocvw_test
17303 wine_fn_config_dll shell.dll16 enable_win16
17304 wine_fn_config_dll shell32 enable_shell32 clean,implib,po
17305 wine_fn_config_test dlls/shell32/tests shell32_test
17306 wine_fn_config_dll shfolder enable_shfolder implib
17307 wine_fn_config_dll shlwapi enable_shlwapi implib,po
17308 wine_fn_config_test dlls/shlwapi/tests shlwapi_test
17309 wine_fn_config_dll slbcsp enable_slbcsp
17310 wine_fn_config_dll slc enable_slc implib
17311 wine_fn_config_dll snmpapi enable_snmpapi implib
17312 wine_fn_config_test dlls/snmpapi/tests snmpapi_test
17313 wine_fn_config_dll softpub enable_softpub
17314 wine_fn_config_dll sound.drv16 enable_win16
17315 wine_fn_config_dll spoolss enable_spoolss implib
17316 wine_fn_config_test dlls/spoolss/tests spoolss_test
17317 wine_fn_config_dll stdole2.tlb enable_stdole2_tlb clean
17318 wine_fn_config_dll stdole32.tlb enable_stdole32_tlb clean
17319 wine_fn_config_dll sti enable_sti clean,implib
17320 wine_fn_config_test dlls/sti/tests sti_test
17321 wine_fn_config_dll storage.dll16 enable_win16
17322 wine_fn_config_dll stress.dll16 enable_win16
17323 wine_fn_config_lib strmbase
17324 wine_fn_config_lib strmiids
17325 wine_fn_config_dll svrapi enable_svrapi
17326 wine_fn_config_dll sxs enable_sxs implib
17327 wine_fn_config_test dlls/sxs/tests sxs_test
17328 wine_fn_config_dll system.drv16 enable_win16
17329 wine_fn_config_dll t2embed enable_t2embed
17330 wine_fn_config_dll tapi32 enable_tapi32 implib
17331 wine_fn_config_dll taskschd enable_taskschd clean
17332 wine_fn_config_test dlls/taskschd/tests taskschd_test
17333 wine_fn_config_dll toolhelp.dll16 enable_win16
17334 wine_fn_config_dll traffic enable_traffic
17335 wine_fn_config_dll twain.dll16 enable_win16
17336 wine_fn_config_dll twain_32 enable_twain_32
17337 wine_fn_config_test dlls/twain_32/tests twain_32_test
17338 wine_fn_config_dll typelib.dll16 enable_win16
17339 wine_fn_config_dll unicows enable_unicows implib
17340 wine_fn_config_dll updspapi enable_updspapi
17341 wine_fn_config_dll url enable_url implib
17342 wine_fn_config_dll urlmon enable_urlmon clean,implib,po
17343 wine_fn_config_test dlls/urlmon/tests urlmon_test
17344 wine_fn_config_dll usbd.sys enable_usbd_sys implib
17345 wine_fn_config_dll user.exe16 enable_win16
17346 wine_fn_config_dll user32 enable_user32 clean,implib,po
17347 wine_fn_config_test dlls/user32/tests user32_test
17348 wine_fn_config_dll userenv enable_userenv implib
17349 wine_fn_config_test dlls/userenv/tests userenv_test
17350 wine_fn_config_dll usp10 enable_usp10 implib
17351 wine_fn_config_test dlls/usp10/tests usp10_test
17352 wine_fn_config_lib uuid
17353 wine_fn_config_dll uxtheme enable_uxtheme implib
17354 wine_fn_config_test dlls/uxtheme/tests uxtheme_test
17355 wine_fn_config_dll vbscript enable_vbscript clean
17356 wine_fn_config_test dlls/vbscript/tests vbscript_test clean
17357 wine_fn_config_dll vcomp enable_vcomp
17358 wine_fn_config_dll vcomp100 enable_vcomp100
17359 wine_fn_config_dll vcomp90 enable_vcomp90
17360 wine_fn_config_dll vdhcp.vxd enable_win16
17361 wine_fn_config_dll vdmdbg enable_vdmdbg implib
17362 wine_fn_config_dll ver.dll16 enable_win16
17363 wine_fn_config_dll version enable_version implib
17364 wine_fn_config_test dlls/version/tests version_test
17365 wine_fn_config_dll vmm.vxd enable_win16
17366 wine_fn_config_dll vnbt.vxd enable_win16
17367 wine_fn_config_dll vnetbios.vxd enable_win16
17368 wine_fn_config_dll vssapi enable_vssapi
17369 wine_fn_config_dll vtdapi.vxd enable_win16
17370 wine_fn_config_dll vwin32.vxd enable_win16
17371 wine_fn_config_dll w32skrnl enable_win16
17372 wine_fn_config_dll w32sys.dll16 enable_win16
17373 wine_fn_config_dll wbemdisp enable_wbemdisp clean
17374 wine_fn_config_dll wbemprox enable_wbemprox clean
17375 wine_fn_config_test dlls/wbemprox/tests wbemprox_test
17376 wine_fn_config_dll webservices enable_webservices implib
17377 wine_fn_config_dll wer enable_wer implib
17378 wine_fn_config_test dlls/wer/tests wer_test
17379 wine_fn_config_dll wevtapi enable_wevtapi
17380 wine_fn_config_dll wiaservc enable_wiaservc clean
17381 wine_fn_config_dll win32s16.dll16 enable_win16
17382 wine_fn_config_dll win87em.dll16 enable_win16
17383 wine_fn_config_dll winaspi.dll16 enable_win16
17384 wine_fn_config_dll windebug.dll16 enable_win16
17385 wine_fn_config_dll windowscodecs enable_windowscodecs clean,implib
17386 wine_fn_config_test dlls/windowscodecs/tests windowscodecs_test
17387 wine_fn_config_dll windowscodecsext enable_windowscodecsext implib
17388 wine_fn_config_test dlls/windowscodecsext/tests windowscodecsext_test
17389 wine_fn_config_dll winealsa.drv enable_winealsa_drv
17390 wine_fn_config_dll winecoreaudio.drv enable_winecoreaudio_drv
17391 wine_fn_config_lib winecrt0
17392 wine_fn_config_dll wined3d enable_wined3d implib
17393 wine_fn_config_dll winegstreamer enable_winegstreamer
17394 wine_fn_config_dll winejoystick.drv enable_winejoystick_drv
17395 wine_fn_config_dll winemac.drv enable_winemac_drv
17396 wine_fn_config_dll winemapi enable_winemapi
17397 wine_fn_config_dll winemp3.acm enable_winemp3_acm
17398 wine_fn_config_dll wineoss.drv enable_wineoss_drv
17399 wine_fn_config_dll wineps.drv enable_wineps_drv clean,po
17400 wine_fn_config_dll wineps16.drv16 enable_win16
17401 wine_fn_config_dll wineqtdecoder enable_wineqtdecoder
17402 wine_fn_config_dll winex11.drv enable_winex11_drv
17403 wine_fn_config_dll wing.dll16 enable_win16
17404 wine_fn_config_dll wing32 enable_wing32
17405 wine_fn_config_dll winhttp enable_winhttp clean,implib
17406 wine_fn_config_test dlls/winhttp/tests winhttp_test
17407 wine_fn_config_dll wininet enable_wininet implib,po
17408 wine_fn_config_test dlls/wininet/tests wininet_test
17409 wine_fn_config_dll winmm enable_winmm implib,po
17410 wine_fn_config_test dlls/winmm/tests winmm_test
17411 wine_fn_config_dll winnls.dll16 enable_win16
17412 wine_fn_config_dll winnls32 enable_winnls32 implib
17413 wine_fn_config_dll winscard enable_winscard implib
17414 wine_fn_config_dll winsock.dll16 enable_win16
17415 wine_fn_config_dll winspool.drv enable_winspool_drv implib,po winspool
17416 wine_fn_config_test dlls/winspool.drv/tests winspool.drv_test
17417 wine_fn_config_dll winsta enable_winsta
17418 wine_fn_config_dll wintab.dll16 enable_win16
17419 wine_fn_config_dll wintab32 enable_wintab32 implib
17420 wine_fn_config_test dlls/wintab32/tests wintab32_test
17421 wine_fn_config_dll wintrust enable_wintrust implib
17422 wine_fn_config_test dlls/wintrust/tests wintrust_test
17423 wine_fn_config_dll wlanapi enable_wlanapi
17424 wine_fn_config_dll wldap32 enable_wldap32 implib,po
17425 wine_fn_config_test dlls/wldap32/tests wldap32_test
17426 wine_fn_config_dll wmi enable_wmi
17427 wine_fn_config_dll wmiutils enable_wmiutils clean
17428 wine_fn_config_test dlls/wmiutils/tests wmiutils_test
17429 wine_fn_config_dll wmp enable_wmp clean
17430 wine_fn_config_test dlls/wmp/tests wmp_test
17431 wine_fn_config_dll wmvcore enable_wmvcore
17432 wine_fn_config_dll wnaspi32 enable_wnaspi32 implib
17433 wine_fn_config_dll wow32 enable_win16 implib
17434 wine_fn_config_dll wpcap enable_wpcap
17435 wine_fn_config_dll ws2_32 enable_ws2_32 implib
17436 wine_fn_config_test dlls/ws2_32/tests ws2_32_test
17437 wine_fn_config_dll wshom.ocx enable_wshom_ocx clean
17438 wine_fn_config_test dlls/wshom.ocx/tests wshom.ocx_test clean
17439 wine_fn_config_dll wsnmp32 enable_wsnmp32 implib
17440 wine_fn_config_test dlls/wsnmp32/tests wsnmp32_test
17441 wine_fn_config_dll wsock32 enable_wsock32 implib
17442 wine_fn_config_dll wtsapi32 enable_wtsapi32 implib
17443 wine_fn_config_test dlls/wtsapi32/tests wtsapi32_test
17444 wine_fn_config_dll wuapi enable_wuapi clean
17445 wine_fn_config_dll wuaueng enable_wuaueng
17446 wine_fn_config_dll xapofx1_1 enable_xapofx1_1
17447 wine_fn_config_dll xinput1_1 enable_xinput1_1
17448 wine_fn_config_dll xinput1_2 enable_xinput1_2
17449 wine_fn_config_dll xinput1_3 enable_xinput1_3 implib xinput
17450 wine_fn_config_test dlls/xinput1_3/tests xinput1_3_test
17451 wine_fn_config_dll xinput1_4 enable_xinput1_4
17452 wine_fn_config_dll xinput9_1_0 enable_xinput9_1_0
17453 wine_fn_config_dll xmllite enable_xmllite implib
17454 wine_fn_config_test dlls/xmllite/tests xmllite_test
17455 wine_fn_config_dll xolehlp enable_xolehlp
17456 wine_fn_config_dll xpsprint enable_xpsprint
17457 wine_fn_config_dll xpssvcs enable_xpssvcs
17458 wine_fn_config_makefile documentation enable_documentation clean
17459 wine_fn_config_makefile fonts enable_fonts clean,install-lib
17460 wine_fn_config_makefile include enable_include clean,install-dev
17461 wine_fn_config_makefile libs/port enable_libs_port
17462 wine_fn_config_makefile libs/wine enable_libs_wine clean,install-dev,install-lib
17463 wine_fn_config_makefile libs/wpp enable_libs_wpp
17464 wine_fn_config_makefile loader enable_loader clean,install-lib,manpage
17465 wine_fn_config_program arp enable_arp install
17466 wine_fn_config_program aspnet_regiis enable_aspnet_regiis install
17467 wine_fn_config_program attrib enable_attrib install,po
17468 wine_fn_config_program cabarc enable_cabarc install
17469 wine_fn_config_program cacls enable_cacls install
17470 wine_fn_config_program clock enable_clock install,po
17471 wine_fn_config_program cmd enable_cmd install,po
17472 wine_fn_config_test programs/cmd/tests cmd.exe_test
17473 wine_fn_config_program conhost enable_conhost install
17474 wine_fn_config_program control enable_control install
17475 wine_fn_config_program cscript enable_cscript clean,install
17476 wine_fn_config_program dpnsvr enable_dpnsvr install
17477 wine_fn_config_program dxdiag enable_dxdiag install,po
17478 wine_fn_config_program eject enable_eject install
17479 wine_fn_config_program expand enable_expand install
17480 wine_fn_config_program explorer enable_explorer install,po
17481 wine_fn_config_program extrac32 enable_extrac32 install
17482 wine_fn_config_program findstr enable_findstr install
17483 wine_fn_config_program hh enable_hh install
17484 wine_fn_config_program hostname enable_hostname install,po
17485 wine_fn_config_program icinfo enable_icinfo install
17486 wine_fn_config_program iexplore enable_iexplore install
17487 wine_fn_config_program ipconfig enable_ipconfig install,po
17488 wine_fn_config_program lodctr enable_lodctr install
17489 wine_fn_config_program mofcomp enable_mofcomp install
17490 wine_fn_config_program mshta enable_mshta install
17491 wine_fn_config_program msiexec enable_msiexec install,installbin,manpage
17492 wine_fn_config_program net enable_net install,po
17493 wine_fn_config_program netsh enable_netsh install
17494 wine_fn_config_program netstat enable_netstat install,po
17495 wine_fn_config_program ngen enable_ngen install
17496 wine_fn_config_program notepad enable_notepad install,installbin,manpage,po
17497 wine_fn_config_program oleview enable_oleview install,po
17498 wine_fn_config_program ping enable_ping install
17499 wine_fn_config_program plugplay enable_plugplay install
17500 wine_fn_config_program presentationfontcache enable_presentationfontcache install
17501 wine_fn_config_program progman enable_progman install,po
17502 wine_fn_config_program reg enable_reg install,po
17503 wine_fn_config_test programs/reg/tests reg.exe_test
17504 wine_fn_config_program regasm enable_regasm install
17505 wine_fn_config_program regedit enable_regedit install,installbin,manpage,po
17506 wine_fn_config_test programs/regedit/tests regedit.exe_test
17507 wine_fn_config_program regsvcs enable_regsvcs install
17508 wine_fn_config_program regsvr32 enable_regsvr32 install,installbin,manpage,po
17509 wine_fn_config_program rpcss enable_rpcss clean,install
17510 wine_fn_config_program rundll.exe16 enable_win16 install
17511 wine_fn_config_program rundll32 enable_rundll32 install
17512 wine_fn_config_program sc enable_sc install
17513 wine_fn_config_program schtasks enable_schtasks install
17514 wine_fn_config_program sdbinst enable_sdbinst install
17515 wine_fn_config_program secedit enable_secedit install
17516 wine_fn_config_program servicemodelreg enable_servicemodelreg install
17517 wine_fn_config_program services enable_services clean,install
17518 wine_fn_config_test programs/services/tests services.exe_test
17519 wine_fn_config_program spoolsv enable_spoolsv install
17520 wine_fn_config_program start enable_start install,po
17521 wine_fn_config_program svchost enable_svchost install
17522 wine_fn_config_program systeminfo enable_systeminfo install
17523 wine_fn_config_program taskkill enable_taskkill install,po
17524 wine_fn_config_program tasklist enable_tasklist install
17525 wine_fn_config_program taskmgr enable_taskmgr install,po
17526 wine_fn_config_program termsv enable_termsv install
17527 wine_fn_config_program uninstaller enable_uninstaller install,po
17528 wine_fn_config_program unlodctr enable_unlodctr install
17529 wine_fn_config_program view enable_view install,po
17530 wine_fn_config_program wevtutil enable_wevtutil install
17531 wine_fn_config_program wineboot enable_wineboot install,installbin,manpage,po
17532 wine_fn_config_program winebrowser enable_winebrowser install
17533 wine_fn_config_program winecfg enable_winecfg install,installbin,manpage,po
17534 wine_fn_config_program wineconsole enable_wineconsole install,installbin,manpage,po
17535 wine_fn_config_program winedbg enable_winedbg install,installbin,manpage,po
17536 wine_fn_config_program winedevice enable_winedevice install
17537 wine_fn_config_program winefile enable_winefile install,installbin,manpage,po
17538 wine_fn_config_program winemenubuilder enable_winemenubuilder install
17539 wine_fn_config_program winemine enable_winemine install,installbin,manpage,po
17540 wine_fn_config_program winemsibuilder enable_winemsibuilder install
17541 wine_fn_config_program winepath enable_winepath install,installbin,manpage
17542 wine_fn_config_program winetest enable_winetest clean
17543 wine_fn_config_program winevdm enable_win16 install
17544 wine_fn_config_program winhelp.exe16 enable_win16 install
17545 wine_fn_config_program winhlp32 enable_winhlp32 install,po
17546 wine_fn_config_program winoldap.mod16 enable_win16 install
17547 wine_fn_config_program winver enable_winver install
17548 wine_fn_config_program wmic enable_wmic install,po
17549 wine_fn_config_program wordpad enable_wordpad install,po
17550 wine_fn_config_program write enable_write install,po
17551 wine_fn_config_program wscript enable_wscript clean,install
17552 wine_fn_config_test programs/wscript/tests wscript.exe_test
17553 wine_fn_config_program wusa enable_wusa install
17554 wine_fn_config_program xcopy enable_xcopy install,po
17555 wine_fn_config_test programs/xcopy/tests xcopy.exe_test
17556 wine_fn_config_makefile server enable_server clean,install-lib,manpage
17557 wine_fn_config_tool tools clean,install-dev,install-lib,manpage
17558 wine_fn_config_tool tools/sfnt2fon clean
17559 wine_fn_config_tool tools/widl clean,install-dev,manpage
17560 wine_fn_config_tool tools/winebuild clean,install-dev,manpage
17561 wine_fn_config_tool tools/winedump clean,install-dev,manpage
17562 wine_fn_config_tool tools/winegcc clean,install-dev,manpage
17563 wine_fn_config_tool tools/wmc clean,install-dev,manpage
17564 wine_fn_config_tool tools/wrc clean,install-dev,manpage
17566 LINGUAS="\
17567 ar \
17568 bg \
17569 ca \
17570 cs \
17571 da \
17572 de \
17573 el \
17574 en \
17575 en_US \
17576 eo \
17577 es \
17578 fa \
17579 fi \
17580 fr \
17581 he \
17582 hi \
17583 hr \
17584 hu \
17585 it \
17586 ja \
17587 ko \
17588 lt \
17589 ml \
17590 nb_NO \
17591 nl \
17592 or \
17593 pa \
17594 pl \
17595 pt_BR \
17596 pt_PT \
17597 rm \
17598 ro \
17599 ru \
17600 sk \
17601 sl \
17602 sr_RS@cyrillic \
17603 sr_RS@latin \
17604 sv \
17605 te \
17606 th \
17607 tr \
17608 uk \
17609 wa \
17610 zh_CN \
17611 zh_TW"
17616 wine_fn_ignore_file ".gitignore"
17617 wine_fn_ignore_file "Makefile"
17618 wine_fn_ignore_file "TAGS"
17619 wine_fn_ignore_file "tags"
17620 wine_fn_ignore_file "autom4te.cache"
17621 wine_fn_ignore_file "config.cache"
17622 wine_fn_ignore_file "config.log"
17623 wine_fn_ignore_file "config.status"
17624 wine_fn_ignore_file "configure.lineno"
17625 wine_fn_ignore_file "include/config.h"
17626 wine_fn_ignore_file "include/stamp-h"
17627 test "$wine_binary" = wine || wine_fn_ignore_file "loader/wine"
17629 if test "x$enable_tools" != xno
17630 then
17631 wine_fn_ignore_file "tools/makedep$ac_exeext"
17632 ac_config_commands="$ac_config_commands tools/makedep"
17636 ac_config_commands="$ac_config_commands Makefile"
17639 ac_config_files="$ac_config_files Make.tmp:Make.vars.in:Makefile.in"
17643 if test "x$enable_maintainer_mode" = xyes
17644 then
17645 wine_fn_append_rule "configure: configure.ac aclocal.m4
17646 autoconf --warnings=all
17647 include/config.h.in: include/stamp-h.in
17648 include/stamp-h.in: configure.ac aclocal.m4
17649 autoheader --warnings=all
17650 @echo timestamp > \$@"
17653 if test "x$with_gettextpo" = xyes
17654 then
17655 test "$srcdir" = . || as_fn_error $? "Rebuilding po files is not supported for out of tree builds." "$LINENO" 5
17656 wine_fn_append_rule "ALL_POT_FILES =$ALL_POT_FILES
17657 \$(LINGUAS:%=po/%.po): po/wine.pot
17658 msgmerge --previous -q \$@ po/wine.pot | msgattrib --no-obsolete -o \$@.new && mv \$@.new \$@
17659 po/wine.pot: \$(ALL_POT_FILES)
17660 msgcat -o \$@ \$(ALL_POT_FILES)"
17663 if test "$MSGFMT" != false
17664 then
17665 wine_fn_append_rule "__builddeps__: \$(LINGUAS:%=po/%.mo)
17666 clean::
17667 \$(RM) \$(LINGUAS:%=po/%.mo)"
17669 posrc="po"
17670 test "$srcdir" = . || posrc="$srcdir/po"
17671 for i in $LINGUAS
17673 wine_fn_ignore_file "po/$i.mo"
17674 wine_fn_append_rule "po/$i.mo: $posrc/$i.po
17675 \$(MSGFMT) -o \$@ $posrc/$i.po"
17676 done
17677 else
17678 LINGUAS=
17681 if test "x$enable_tools" != xno
17682 then
17683 wine_fn_append_rule "tools/makedep$ac_exeext: $srcdir/tools/makedep.c include/config.h config.status
17684 @./config.status tools/makedep
17685 Makefile: tools/makedep$ac_exeext
17686 distclean:: clean
17687 \$(RM) tools/makedep$ac_exeext"
17688 else
17689 wine_fn_append_rule "\$(MAKEDEP):
17690 @echo \"You need to run make in $TOOLSDIR first\" && false"
17693 if test -n "$with_wine64"
17694 then
17695 wine_fn_append_rule "all: fonts server tools $with_wine64/loader/wine $with_wine64/loader/wine-preloader
17696 fonts server tools:
17697 \$(RM) \$@ && \$(LN_S) $with_wine64/\$@ \$@
17698 $with_wine64/loader/wine:
17699 \$(RM) \$@ && \$(LN_S) $ac_pwd/loader/wine \$@
17700 $with_wine64/loader/wine-preloader:
17701 \$(RM) \$@ && \$(LN_S) $ac_pwd/loader/wine-preloader \$@
17702 clean::
17703 \$(RM) fonts server tools $with_wine64/loader/wine $with_wine64/loader/wine-preloader"
17704 else
17705 as_fn_append LOADER_RULES "
17706 install install-lib:: wine.inf install-man-pages
17707 \$(INSTALL_DATA) wine.inf \$(DESTDIR)\$(datadir)/wine/wine.inf
17708 \$(INSTALL_DATA) \$(srcdir)/l_intl.nls \$(DESTDIR)\$(datadir)/wine/l_intl.nls
17710 uninstall::
17711 \$(RM) \$(DESTDIR)\$(datadir)/wine/wine.inf \$(DESTDIR)\$(datadir)/wine/l_intl.nls
17715 if test "$srcdir" = .
17716 then
17717 ac_config_commands="$ac_config_commands .gitignore"
17721 $as_echo " done" >&6
17722 cat >confcache <<\_ACEOF
17723 # This file is a shell script that caches the results of configure
17724 # tests run on this system so they can be shared between configure
17725 # scripts and configure runs, see configure's option --config-cache.
17726 # It is not useful on other systems. If it contains results you don't
17727 # want to keep, you may remove or edit it.
17729 # config.status only pays attention to the cache file if you give it
17730 # the --recheck option to rerun configure.
17732 # `ac_cv_env_foo' variables (set or unset) will be overridden when
17733 # loading this file, other *unset* `ac_cv_foo' will be assigned the
17734 # following values.
17736 _ACEOF
17738 # The following way of writing the cache mishandles newlines in values,
17739 # but we know of no workaround that is simple, portable, and efficient.
17740 # So, we kill variables containing newlines.
17741 # Ultrix sh set writes to stderr and can't be redirected directly,
17742 # and sets the high bit in the cache file unless we assign to the vars.
17744 for ac_var in `(set) 2>&1 | sed -n 's/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'`; do
17745 eval ac_val=\$$ac_var
17746 case $ac_val in #(
17747 *${as_nl}*)
17748 case $ac_var in #(
17749 *_cv_*) { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: cache variable $ac_var contains a newline" >&5
17750 $as_echo "$as_me: WARNING: cache variable $ac_var contains a newline" >&2;} ;;
17751 esac
17752 case $ac_var in #(
17753 _ | IFS | as_nl) ;; #(
17754 BASH_ARGV | BASH_SOURCE) eval $ac_var= ;; #(
17755 *) { eval $ac_var=; unset $ac_var;} ;;
17756 esac ;;
17757 esac
17758 done
17760 (set) 2>&1 |
17761 case $as_nl`(ac_space=' '; set) 2>&1` in #(
17762 *${as_nl}ac_space=\ *)
17763 # `set' does not quote correctly, so add quotes: double-quote
17764 # substitution turns \\\\ into \\, and sed turns \\ into \.
17765 sed -n \
17766 "s/'/'\\\\''/g;
17767 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\\2'/p"
17768 ;; #(
17770 # `set' quotes correctly as required by POSIX, so do not add quotes.
17771 sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
17773 esac |
17774 sort
17776 sed '
17777 /^ac_cv_env_/b end
17778 t clear
17779 :clear
17780 s/^\([^=]*\)=\(.*[{}].*\)$/test "${\1+set}" = set || &/
17781 t end
17782 s/^\([^=]*\)=\(.*\)$/\1=${\1=\2}/
17783 :end' >>confcache
17784 if diff "$cache_file" confcache >/dev/null 2>&1; then :; else
17785 if test -w "$cache_file"; then
17786 if test "x$cache_file" != "x/dev/null"; then
17787 { $as_echo "$as_me:${as_lineno-$LINENO}: updating cache $cache_file" >&5
17788 $as_echo "$as_me: updating cache $cache_file" >&6;}
17789 if test ! -f "$cache_file" || test -h "$cache_file"; then
17790 cat confcache >"$cache_file"
17791 else
17792 case $cache_file in #(
17793 */* | ?:*)
17794 mv -f confcache "$cache_file"$$ &&
17795 mv -f "$cache_file"$$ "$cache_file" ;; #(
17797 mv -f confcache "$cache_file" ;;
17798 esac
17801 else
17802 { $as_echo "$as_me:${as_lineno-$LINENO}: not updating unwritable cache $cache_file" >&5
17803 $as_echo "$as_me: not updating unwritable cache $cache_file" >&6;}
17806 rm -f confcache
17808 test "x$prefix" = xNONE && prefix=$ac_default_prefix
17809 # Let make expand exec_prefix.
17810 test "x$exec_prefix" = xNONE && exec_prefix='${prefix}'
17812 DEFS=-DHAVE_CONFIG_H
17814 ac_libobjs=
17815 ac_ltlibobjs=
17817 for ac_i in : $LIBOBJS; do test "x$ac_i" = x: && continue
17818 # 1. Remove the extension, and $U if already installed.
17819 ac_script='s/\$U\././;s/\.o$//;s/\.obj$//'
17820 ac_i=`$as_echo "$ac_i" | sed "$ac_script"`
17821 # 2. Prepend LIBOBJDIR. When used with automake>=1.10 LIBOBJDIR
17822 # will be set to the directory where LIBOBJS objects are built.
17823 as_fn_append ac_libobjs " \${LIBOBJDIR}$ac_i\$U.$ac_objext"
17824 as_fn_append ac_ltlibobjs " \${LIBOBJDIR}$ac_i"'$U.lo'
17825 done
17826 LIBOBJS=$ac_libobjs
17828 LTLIBOBJS=$ac_ltlibobjs
17832 : "${CONFIG_STATUS=./config.status}"
17833 ac_write_fail=0
17834 ac_clean_files_save=$ac_clean_files
17835 ac_clean_files="$ac_clean_files $CONFIG_STATUS"
17836 { $as_echo "$as_me:${as_lineno-$LINENO}: creating $CONFIG_STATUS" >&5
17837 $as_echo "$as_me: creating $CONFIG_STATUS" >&6;}
17838 as_write_fail=0
17839 cat >$CONFIG_STATUS <<_ASEOF || as_write_fail=1
17840 #! $SHELL
17841 # Generated by $as_me.
17842 # Run this file to recreate the current configuration.
17843 # Compiler output produced by configure, useful for debugging
17844 # configure, is in config.log if it exists.
17846 debug=false
17847 ac_cs_recheck=false
17848 ac_cs_silent=false
17850 SHELL=\${CONFIG_SHELL-$SHELL}
17851 export SHELL
17852 _ASEOF
17853 cat >>$CONFIG_STATUS <<\_ASEOF || as_write_fail=1
17854 ## -------------------- ##
17855 ## M4sh Initialization. ##
17856 ## -------------------- ##
17858 # Be more Bourne compatible
17859 DUALCASE=1; export DUALCASE # for MKS sh
17860 if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then :
17861 emulate sh
17862 NULLCMD=:
17863 # Pre-4.2 versions of Zsh do word splitting on ${1+"$@"}, which
17864 # is contrary to our usage. Disable this feature.
17865 alias -g '${1+"$@"}'='"$@"'
17866 setopt NO_GLOB_SUBST
17867 else
17868 case `(set -o) 2>/dev/null` in #(
17869 *posix*) :
17870 set -o posix ;; #(
17871 *) :
17873 esac
17877 as_nl='
17879 export as_nl
17880 # Printing a long string crashes Solaris 7 /usr/bin/printf.
17881 as_echo='\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\'
17882 as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo
17883 as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo$as_echo
17884 # Prefer a ksh shell builtin over an external printf program on Solaris,
17885 # but without wasting forks for bash or zsh.
17886 if test -z "$BASH_VERSION$ZSH_VERSION" \
17887 && (test "X`print -r -- $as_echo`" = "X$as_echo") 2>/dev/null; then
17888 as_echo='print -r --'
17889 as_echo_n='print -rn --'
17890 elif (test "X`printf %s $as_echo`" = "X$as_echo") 2>/dev/null; then
17891 as_echo='printf %s\n'
17892 as_echo_n='printf %s'
17893 else
17894 if test "X`(/usr/ucb/echo -n -n $as_echo) 2>/dev/null`" = "X-n $as_echo"; then
17895 as_echo_body='eval /usr/ucb/echo -n "$1$as_nl"'
17896 as_echo_n='/usr/ucb/echo -n'
17897 else
17898 as_echo_body='eval expr "X$1" : "X\\(.*\\)"'
17899 as_echo_n_body='eval
17900 arg=$1;
17901 case $arg in #(
17902 *"$as_nl"*)
17903 expr "X$arg" : "X\\(.*\\)$as_nl";
17904 arg=`expr "X$arg" : ".*$as_nl\\(.*\\)"`;;
17905 esac;
17906 expr "X$arg" : "X\\(.*\\)" | tr -d "$as_nl"
17908 export as_echo_n_body
17909 as_echo_n='sh -c $as_echo_n_body as_echo'
17911 export as_echo_body
17912 as_echo='sh -c $as_echo_body as_echo'
17915 # The user is always right.
17916 if test "${PATH_SEPARATOR+set}" != set; then
17917 PATH_SEPARATOR=:
17918 (PATH='/bin;/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 && {
17919 (PATH='/bin:/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 ||
17920 PATH_SEPARATOR=';'
17925 # IFS
17926 # We need space, tab and new line, in precisely that order. Quoting is
17927 # there to prevent editors from complaining about space-tab.
17928 # (If _AS_PATH_WALK were called with IFS unset, it would disable word
17929 # splitting by setting IFS to empty value.)
17930 IFS=" "" $as_nl"
17932 # Find who we are. Look in the path if we contain no directory separator.
17933 as_myself=
17934 case $0 in #((
17935 *[\\/]* ) as_myself=$0 ;;
17936 *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
17937 for as_dir in $PATH
17939 IFS=$as_save_IFS
17940 test -z "$as_dir" && as_dir=.
17941 test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break
17942 done
17943 IFS=$as_save_IFS
17946 esac
17947 # We did not find ourselves, most probably we were run as `sh COMMAND'
17948 # in which case we are not to be found in the path.
17949 if test "x$as_myself" = x; then
17950 as_myself=$0
17952 if test ! -f "$as_myself"; then
17953 $as_echo "$as_myself: error: cannot find myself; rerun with an absolute file name" >&2
17954 exit 1
17957 # Unset variables that we do not need and which cause bugs (e.g. in
17958 # pre-3.0 UWIN ksh). But do not cause bugs in bash 2.01; the "|| exit 1"
17959 # suppresses any "Segmentation fault" message there. '((' could
17960 # trigger a bug in pdksh 5.2.14.
17961 for as_var in BASH_ENV ENV MAIL MAILPATH
17962 do eval test x\${$as_var+set} = xset \
17963 && ( (unset $as_var) || exit 1) >/dev/null 2>&1 && unset $as_var || :
17964 done
17965 PS1='$ '
17966 PS2='> '
17967 PS4='+ '
17969 # NLS nuisances.
17970 LC_ALL=C
17971 export LC_ALL
17972 LANGUAGE=C
17973 export LANGUAGE
17975 # CDPATH.
17976 (unset CDPATH) >/dev/null 2>&1 && unset CDPATH
17979 # as_fn_error STATUS ERROR [LINENO LOG_FD]
17980 # ----------------------------------------
17981 # Output "`basename $0`: error: ERROR" to stderr. If LINENO and LOG_FD are
17982 # provided, also output the error to LOG_FD, referencing LINENO. Then exit the
17983 # script with STATUS, using 1 if that was 0.
17984 as_fn_error ()
17986 as_status=$1; test $as_status -eq 0 && as_status=1
17987 if test "$4"; then
17988 as_lineno=${as_lineno-"$3"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
17989 $as_echo "$as_me:${as_lineno-$LINENO}: error: $2" >&$4
17991 $as_echo "$as_me: error: $2" >&2
17992 as_fn_exit $as_status
17993 } # as_fn_error
17996 # as_fn_set_status STATUS
17997 # -----------------------
17998 # Set $? to STATUS, without forking.
17999 as_fn_set_status ()
18001 return $1
18002 } # as_fn_set_status
18004 # as_fn_exit STATUS
18005 # -----------------
18006 # Exit the shell with STATUS, even in a "trap 0" or "set -e" context.
18007 as_fn_exit ()
18009 set +e
18010 as_fn_set_status $1
18011 exit $1
18012 } # as_fn_exit
18014 # as_fn_unset VAR
18015 # ---------------
18016 # Portably unset VAR.
18017 as_fn_unset ()
18019 { eval $1=; unset $1;}
18021 as_unset=as_fn_unset
18022 # as_fn_append VAR VALUE
18023 # ----------------------
18024 # Append the text in VALUE to the end of the definition contained in VAR. Take
18025 # advantage of any shell optimizations that allow amortized linear growth over
18026 # repeated appends, instead of the typical quadratic growth present in naive
18027 # implementations.
18028 if (eval "as_var=1; as_var+=2; test x\$as_var = x12") 2>/dev/null; then :
18029 eval 'as_fn_append ()
18031 eval $1+=\$2
18033 else
18034 as_fn_append ()
18036 eval $1=\$$1\$2
18038 fi # as_fn_append
18040 # as_fn_arith ARG...
18041 # ------------------
18042 # Perform arithmetic evaluation on the ARGs, and store the result in the
18043 # global $as_val. Take advantage of shells that can avoid forks. The arguments
18044 # must be portable across $(()) and expr.
18045 if (eval "test \$(( 1 + 1 )) = 2") 2>/dev/null; then :
18046 eval 'as_fn_arith ()
18048 as_val=$(( $* ))
18050 else
18051 as_fn_arith ()
18053 as_val=`expr "$@" || test $? -eq 1`
18055 fi # as_fn_arith
18058 if expr a : '\(a\)' >/dev/null 2>&1 &&
18059 test "X`expr 00001 : '.*\(...\)'`" = X001; then
18060 as_expr=expr
18061 else
18062 as_expr=false
18065 if (basename -- /) >/dev/null 2>&1 && test "X`basename -- / 2>&1`" = "X/"; then
18066 as_basename=basename
18067 else
18068 as_basename=false
18071 if (as_dir=`dirname -- /` && test "X$as_dir" = X/) >/dev/null 2>&1; then
18072 as_dirname=dirname
18073 else
18074 as_dirname=false
18077 as_me=`$as_basename -- "$0" ||
18078 $as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
18079 X"$0" : 'X\(//\)$' \| \
18080 X"$0" : 'X\(/\)' \| . 2>/dev/null ||
18081 $as_echo X/"$0" |
18082 sed '/^.*\/\([^/][^/]*\)\/*$/{
18083 s//\1/
18086 /^X\/\(\/\/\)$/{
18087 s//\1/
18090 /^X\/\(\/\).*/{
18091 s//\1/
18094 s/.*/./; q'`
18096 # Avoid depending upon Character Ranges.
18097 as_cr_letters='abcdefghijklmnopqrstuvwxyz'
18098 as_cr_LETTERS='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
18099 as_cr_Letters=$as_cr_letters$as_cr_LETTERS
18100 as_cr_digits='0123456789'
18101 as_cr_alnum=$as_cr_Letters$as_cr_digits
18103 ECHO_C= ECHO_N= ECHO_T=
18104 case `echo -n x` in #(((((
18105 -n*)
18106 case `echo 'xy\c'` in
18107 *c*) ECHO_T=' ';; # ECHO_T is single tab character.
18108 xy) ECHO_C='\c';;
18109 *) echo `echo ksh88 bug on AIX 6.1` > /dev/null
18110 ECHO_T=' ';;
18111 esac;;
18113 ECHO_N='-n';;
18114 esac
18116 rm -f conf$$ conf$$.exe conf$$.file
18117 if test -d conf$$.dir; then
18118 rm -f conf$$.dir/conf$$.file
18119 else
18120 rm -f conf$$.dir
18121 mkdir conf$$.dir 2>/dev/null
18123 if (echo >conf$$.file) 2>/dev/null; then
18124 if ln -s conf$$.file conf$$ 2>/dev/null; then
18125 as_ln_s='ln -s'
18126 # ... but there are two gotchas:
18127 # 1) On MSYS, both `ln -s file dir' and `ln file dir' fail.
18128 # 2) DJGPP < 2.04 has no symlinks; `ln -s' creates a wrapper executable.
18129 # In both cases, we have to default to `cp -pR'.
18130 ln -s conf$$.file conf$$.dir 2>/dev/null && test ! -f conf$$.exe ||
18131 as_ln_s='cp -pR'
18132 elif ln conf$$.file conf$$ 2>/dev/null; then
18133 as_ln_s=ln
18134 else
18135 as_ln_s='cp -pR'
18137 else
18138 as_ln_s='cp -pR'
18140 rm -f conf$$ conf$$.exe conf$$.dir/conf$$.file conf$$.file
18141 rmdir conf$$.dir 2>/dev/null
18144 # as_fn_mkdir_p
18145 # -------------
18146 # Create "$as_dir" as a directory, including parents if necessary.
18147 as_fn_mkdir_p ()
18150 case $as_dir in #(
18151 -*) as_dir=./$as_dir;;
18152 esac
18153 test -d "$as_dir" || eval $as_mkdir_p || {
18154 as_dirs=
18155 while :; do
18156 case $as_dir in #(
18157 *\'*) as_qdir=`$as_echo "$as_dir" | sed "s/'/'\\\\\\\\''/g"`;; #'(
18158 *) as_qdir=$as_dir;;
18159 esac
18160 as_dirs="'$as_qdir' $as_dirs"
18161 as_dir=`$as_dirname -- "$as_dir" ||
18162 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
18163 X"$as_dir" : 'X\(//\)[^/]' \| \
18164 X"$as_dir" : 'X\(//\)$' \| \
18165 X"$as_dir" : 'X\(/\)' \| . 2>/dev/null ||
18166 $as_echo X"$as_dir" |
18167 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
18168 s//\1/
18171 /^X\(\/\/\)[^/].*/{
18172 s//\1/
18175 /^X\(\/\/\)$/{
18176 s//\1/
18179 /^X\(\/\).*/{
18180 s//\1/
18183 s/.*/./; q'`
18184 test -d "$as_dir" && break
18185 done
18186 test -z "$as_dirs" || eval "mkdir $as_dirs"
18187 } || test -d "$as_dir" || as_fn_error $? "cannot create directory $as_dir"
18190 } # as_fn_mkdir_p
18191 if mkdir -p . 2>/dev/null; then
18192 as_mkdir_p='mkdir -p "$as_dir"'
18193 else
18194 test -d ./-p && rmdir ./-p
18195 as_mkdir_p=false
18199 # as_fn_executable_p FILE
18200 # -----------------------
18201 # Test if FILE is an executable regular file.
18202 as_fn_executable_p ()
18204 test -f "$1" && test -x "$1"
18205 } # as_fn_executable_p
18206 as_test_x='test -x'
18207 as_executable_p=as_fn_executable_p
18209 # Sed expression to map a string onto a valid CPP name.
18210 as_tr_cpp="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'"
18212 # Sed expression to map a string onto a valid variable name.
18213 as_tr_sh="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'"
18216 exec 6>&1
18217 ## ----------------------------------- ##
18218 ## Main body of $CONFIG_STATUS script. ##
18219 ## ----------------------------------- ##
18220 _ASEOF
18221 test $as_write_fail = 0 && chmod +x $CONFIG_STATUS || ac_write_fail=1
18223 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
18224 # Save the log message, to keep $0 and so on meaningful, and to
18225 # report actual input values of CONFIG_FILES etc. instead of their
18226 # values after options handling.
18227 ac_log="
18228 This file was extended by Wine $as_me 1.7.32, which was
18229 generated by GNU Autoconf 2.69. Invocation command line was
18231 CONFIG_FILES = $CONFIG_FILES
18232 CONFIG_HEADERS = $CONFIG_HEADERS
18233 CONFIG_LINKS = $CONFIG_LINKS
18234 CONFIG_COMMANDS = $CONFIG_COMMANDS
18235 $ $0 $@
18237 on `(hostname || uname -n) 2>/dev/null | sed 1q`
18240 _ACEOF
18242 case $ac_config_files in *"
18243 "*) set x $ac_config_files; shift; ac_config_files=$*;;
18244 esac
18246 case $ac_config_headers in *"
18247 "*) set x $ac_config_headers; shift; ac_config_headers=$*;;
18248 esac
18251 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
18252 # Files that config.status was made for.
18253 config_files="$ac_config_files"
18254 config_headers="$ac_config_headers"
18255 config_links="$ac_config_links"
18256 config_commands="$ac_config_commands"
18258 _ACEOF
18260 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
18261 ac_cs_usage="\
18262 \`$as_me' instantiates files and other configuration actions
18263 from templates according to the current configuration. Unless the files
18264 and actions are specified as TAGs, all are instantiated by default.
18266 Usage: $0 [OPTION]... [TAG]...
18268 -h, --help print this help, then exit
18269 -V, --version print version number and configuration settings, then exit
18270 --config print configuration, then exit
18271 -q, --quiet, --silent
18272 do not print progress messages
18273 -d, --debug don't remove temporary files
18274 --recheck update $as_me by reconfiguring in the same conditions
18275 --file=FILE[:TEMPLATE]
18276 instantiate the configuration file FILE
18277 --header=FILE[:TEMPLATE]
18278 instantiate the configuration header FILE
18280 Configuration files:
18281 $config_files
18283 Configuration headers:
18284 $config_headers
18286 Configuration links:
18287 $config_links
18289 Configuration commands:
18290 $config_commands
18292 Report bugs to <wine-devel@winehq.org>.
18293 Wine home page: <http://www.winehq.org>."
18295 _ACEOF
18296 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
18297 ac_cs_config="`$as_echo "$ac_configure_args" | sed 's/^ //; s/[\\""\`\$]/\\\\&/g'`"
18298 ac_cs_version="\\
18299 Wine config.status 1.7.32
18300 configured by $0, generated by GNU Autoconf 2.69,
18301 with options \\"\$ac_cs_config\\"
18303 Copyright (C) 2012 Free Software Foundation, Inc.
18304 This config.status script is free software; the Free Software Foundation
18305 gives unlimited permission to copy, distribute and modify it."
18307 ac_pwd='$ac_pwd'
18308 srcdir='$srcdir'
18309 test -n "\$AWK" || AWK=awk
18310 _ACEOF
18312 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
18313 # The default lists apply if the user does not specify any file.
18314 ac_need_defaults=:
18315 while test $# != 0
18317 case $1 in
18318 --*=?*)
18319 ac_option=`expr "X$1" : 'X\([^=]*\)='`
18320 ac_optarg=`expr "X$1" : 'X[^=]*=\(.*\)'`
18321 ac_shift=:
18323 --*=)
18324 ac_option=`expr "X$1" : 'X\([^=]*\)='`
18325 ac_optarg=
18326 ac_shift=:
18329 ac_option=$1
18330 ac_optarg=$2
18331 ac_shift=shift
18333 esac
18335 case $ac_option in
18336 # Handling of the options.
18337 -recheck | --recheck | --rechec | --reche | --rech | --rec | --re | --r)
18338 ac_cs_recheck=: ;;
18339 --version | --versio | --versi | --vers | --ver | --ve | --v | -V )
18340 $as_echo "$ac_cs_version"; exit ;;
18341 --config | --confi | --conf | --con | --co | --c )
18342 $as_echo "$ac_cs_config"; exit ;;
18343 --debug | --debu | --deb | --de | --d | -d )
18344 debug=: ;;
18345 --file | --fil | --fi | --f )
18346 $ac_shift
18347 case $ac_optarg in
18348 *\'*) ac_optarg=`$as_echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"` ;;
18349 '') as_fn_error $? "missing file argument" ;;
18350 esac
18351 as_fn_append CONFIG_FILES " '$ac_optarg'"
18352 ac_need_defaults=false;;
18353 --header | --heade | --head | --hea )
18354 $ac_shift
18355 case $ac_optarg in
18356 *\'*) ac_optarg=`$as_echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"` ;;
18357 esac
18358 as_fn_append CONFIG_HEADERS " '$ac_optarg'"
18359 ac_need_defaults=false;;
18360 --he | --h)
18361 # Conflict between --help and --header
18362 as_fn_error $? "ambiguous option: \`$1'
18363 Try \`$0 --help' for more information.";;
18364 --help | --hel | -h )
18365 $as_echo "$ac_cs_usage"; exit ;;
18366 -q | -quiet | --quiet | --quie | --qui | --qu | --q \
18367 | -silent | --silent | --silen | --sile | --sil | --si | --s)
18368 ac_cs_silent=: ;;
18370 # This is an error.
18371 -*) as_fn_error $? "unrecognized option: \`$1'
18372 Try \`$0 --help' for more information." ;;
18374 *) as_fn_append ac_config_targets " $1"
18375 ac_need_defaults=false ;;
18377 esac
18378 shift
18379 done
18381 ac_configure_extra_args=
18383 if $ac_cs_silent; then
18384 exec 6>/dev/null
18385 ac_configure_extra_args="$ac_configure_extra_args --silent"
18388 _ACEOF
18389 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
18390 if \$ac_cs_recheck; then
18391 set X $SHELL '$0' $ac_configure_args \$ac_configure_extra_args --no-create --no-recursion
18392 shift
18393 \$as_echo "running CONFIG_SHELL=$SHELL \$*" >&6
18394 CONFIG_SHELL='$SHELL'
18395 export CONFIG_SHELL
18396 exec "\$@"
18399 _ACEOF
18400 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
18401 exec 5>>config.log
18403 echo
18404 sed 'h;s/./-/g;s/^.../## /;s/...$/ ##/;p;x;p;x' <<_ASBOX
18405 ## Running $as_me. ##
18406 _ASBOX
18407 $as_echo "$ac_log"
18408 } >&5
18410 _ACEOF
18411 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
18413 # INIT-COMMANDS
18415 wine_fn_output_makedep ()
18417 as_dir=tools; as_fn_mkdir_p
18418 $CC -Iinclude -I$srcdir/include -D__WINESRC__ $EXTRACFLAGS $CPPFLAGS $CFLAGS -o tools/makedep$ac_exeext $srcdir/tools/makedep.c $LDFLAGS
18420 wine_fn_output_makefile ()
18422 cat Make.tmp - <<\_WINE_EOF >\$tmp/makefile && mv -f \$tmp/makefile \$1 && rm -f Make.tmp && "$wine_makedep" . && return
18423 `cat $wine_rules_file`
18424 _WINE_EOF
18425 as_fn_error $? "could not create Makefile" "$LINENO" 5
18427 wine_fn_output_gitignore ()
18429 sort <<\_WINE_EOF >\$tmp/gitignore && mv -f \$tmp/gitignore \$1 && return
18430 $GITIGNORE
18431 _WINE_EOF
18432 as_fn_error $? "could not create .gitignore" "$LINENO" 5
18435 _ACEOF
18437 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
18439 # Handling of arguments.
18440 for ac_config_target in $ac_config_targets
18442 case $ac_config_target in
18443 "include/config.h") CONFIG_HEADERS="$CONFIG_HEADERS include/config.h" ;;
18444 "include/stamp-h") CONFIG_COMMANDS="$CONFIG_COMMANDS include/stamp-h" ;;
18445 "fonts/marlett.ttf") CONFIG_LINKS="$CONFIG_LINKS fonts/marlett.ttf:fonts/marlett.ttf" ;;
18446 "fonts/symbol.ttf") CONFIG_LINKS="$CONFIG_LINKS fonts/symbol.ttf:fonts/symbol.ttf" ;;
18447 "fonts/tahoma.ttf") CONFIG_LINKS="$CONFIG_LINKS fonts/tahoma.ttf:fonts/tahoma.ttf" ;;
18448 "fonts/tahomabd.ttf") CONFIG_LINKS="$CONFIG_LINKS fonts/tahomabd.ttf:fonts/tahomabd.ttf" ;;
18449 "loader/l_intl.nls") CONFIG_LINKS="$CONFIG_LINKS loader/l_intl.nls:loader/l_intl.nls" ;;
18450 "po/LINGUAS") CONFIG_LINKS="$CONFIG_LINKS po/LINGUAS:po/LINGUAS" ;;
18451 "wine") CONFIG_LINKS="$CONFIG_LINKS wine:tools/winewrapper" ;;
18452 "wine64") CONFIG_LINKS="$CONFIG_LINKS wine64:tools/winewrapper" ;;
18453 "tools/makedep") CONFIG_COMMANDS="$CONFIG_COMMANDS tools/makedep" ;;
18454 "Makefile") CONFIG_COMMANDS="$CONFIG_COMMANDS Makefile" ;;
18455 "Make.tmp") CONFIG_FILES="$CONFIG_FILES Make.tmp:Make.vars.in:Makefile.in" ;;
18456 ".gitignore") CONFIG_COMMANDS="$CONFIG_COMMANDS .gitignore" ;;
18458 *) as_fn_error $? "invalid argument: \`$ac_config_target'" "$LINENO" 5;;
18459 esac
18460 done
18463 # If the user did not use the arguments to specify the items to instantiate,
18464 # then the envvar interface is used. Set only those that are not.
18465 # We use the long form for the default assignment because of an extremely
18466 # bizarre bug on SunOS 4.1.3.
18467 if $ac_need_defaults; then
18468 test "${CONFIG_FILES+set}" = set || CONFIG_FILES=$config_files
18469 test "${CONFIG_HEADERS+set}" = set || CONFIG_HEADERS=$config_headers
18470 test "${CONFIG_LINKS+set}" = set || CONFIG_LINKS=$config_links
18471 test "${CONFIG_COMMANDS+set}" = set || CONFIG_COMMANDS=$config_commands
18474 # Have a temporary directory for convenience. Make it in the build tree
18475 # simply because there is no reason against having it here, and in addition,
18476 # creating and moving files from /tmp can sometimes cause problems.
18477 # Hook for its removal unless debugging.
18478 # Note that there is a small window in which the directory will not be cleaned:
18479 # after its creation but before its name has been assigned to `$tmp'.
18480 $debug ||
18482 tmp= ac_tmp=
18483 trap 'exit_status=$?
18484 : "${ac_tmp:=$tmp}"
18485 { test ! -d "$ac_tmp" || rm -fr "$ac_tmp"; } && exit $exit_status
18487 trap 'as_fn_exit 1' 1 2 13 15
18489 # Create a (secure) tmp directory for tmp files.
18492 tmp=`(umask 077 && mktemp -d "./confXXXXXX") 2>/dev/null` &&
18493 test -d "$tmp"
18494 } ||
18496 tmp=./conf$$-$RANDOM
18497 (umask 077 && mkdir "$tmp")
18498 } || as_fn_error $? "cannot create a temporary directory in ." "$LINENO" 5
18499 ac_tmp=$tmp
18501 # Set up the scripts for CONFIG_FILES section.
18502 # No need to generate them if there are no CONFIG_FILES.
18503 # This happens for instance with `./config.status config.h'.
18504 if test -n "$CONFIG_FILES"; then
18507 ac_cr=`echo X | tr X '\015'`
18508 # On cygwin, bash can eat \r inside `` if the user requested igncr.
18509 # But we know of no other shell where ac_cr would be empty at this
18510 # point, so we can use a bashism as a fallback.
18511 if test "x$ac_cr" = x; then
18512 eval ac_cr=\$\'\\r\'
18514 ac_cs_awk_cr=`$AWK 'BEGIN { print "a\rb" }' </dev/null 2>/dev/null`
18515 if test "$ac_cs_awk_cr" = "a${ac_cr}b"; then
18516 ac_cs_awk_cr='\\r'
18517 else
18518 ac_cs_awk_cr=$ac_cr
18521 echo 'BEGIN {' >"$ac_tmp/subs1.awk" &&
18522 _ACEOF
18526 echo "cat >conf$$subs.awk <<_ACEOF" &&
18527 echo "$ac_subst_vars" | sed 's/.*/&!$&$ac_delim/' &&
18528 echo "_ACEOF"
18529 } >conf$$subs.sh ||
18530 as_fn_error $? "could not make $CONFIG_STATUS" "$LINENO" 5
18531 ac_delim_num=`echo "$ac_subst_vars" | grep -c '^'`
18532 ac_delim='%!_!# '
18533 for ac_last_try in false false false false false :; do
18534 . ./conf$$subs.sh ||
18535 as_fn_error $? "could not make $CONFIG_STATUS" "$LINENO" 5
18537 ac_delim_n=`sed -n "s/.*$ac_delim\$/X/p" conf$$subs.awk | grep -c X`
18538 if test $ac_delim_n = $ac_delim_num; then
18539 break
18540 elif $ac_last_try; then
18541 as_fn_error $? "could not make $CONFIG_STATUS" "$LINENO" 5
18542 else
18543 ac_delim="$ac_delim!$ac_delim _$ac_delim!! "
18545 done
18546 rm -f conf$$subs.sh
18548 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
18549 cat >>"\$ac_tmp/subs1.awk" <<\\_ACAWK &&
18550 _ACEOF
18551 sed -n '
18553 s/^/S["/; s/!.*/"]=/
18556 s/^[^!]*!//
18557 :repl
18558 t repl
18559 s/'"$ac_delim"'$//
18560 t delim
18563 s/\(.\{148\}\)..*/\1/
18564 t more1
18565 s/["\\]/\\&/g; s/^/"/; s/$/\\n"\\/
18568 b repl
18569 :more1
18570 s/["\\]/\\&/g; s/^/"/; s/$/"\\/
18573 s/.\{148\}//
18574 t nl
18575 :delim
18577 s/\(.\{148\}\)..*/\1/
18578 t more2
18579 s/["\\]/\\&/g; s/^/"/; s/$/"/
18582 :more2
18583 s/["\\]/\\&/g; s/^/"/; s/$/"\\/
18586 s/.\{148\}//
18587 t delim
18588 ' <conf$$subs.awk | sed '
18589 /^[^""]/{
18591 s/\n//
18593 ' >>$CONFIG_STATUS || ac_write_fail=1
18594 rm -f conf$$subs.awk
18595 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
18596 _ACAWK
18597 cat >>"\$ac_tmp/subs1.awk" <<_ACAWK &&
18598 for (key in S) S_is_set[key] = 1
18599 FS = "\a"
18603 line = $ 0
18604 nfields = split(line, field, "@")
18605 substed = 0
18606 len = length(field[1])
18607 for (i = 2; i < nfields; i++) {
18608 key = field[i]
18609 keylen = length(key)
18610 if (S_is_set[key]) {
18611 value = S[key]
18612 line = substr(line, 1, len) "" value "" substr(line, len + keylen + 3)
18613 len += length(value) + length(field[++i])
18614 substed = 1
18615 } else
18616 len += 1 + keylen
18619 print line
18622 _ACAWK
18623 _ACEOF
18624 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
18625 if sed "s/$ac_cr//" < /dev/null > /dev/null 2>&1; then
18626 sed "s/$ac_cr\$//; s/$ac_cr/$ac_cs_awk_cr/g"
18627 else
18629 fi < "$ac_tmp/subs1.awk" > "$ac_tmp/subs.awk" \
18630 || as_fn_error $? "could not setup config files machinery" "$LINENO" 5
18631 _ACEOF
18633 # VPATH may cause trouble with some makes, so we remove sole $(srcdir),
18634 # ${srcdir} and @srcdir@ entries from VPATH if srcdir is ".", strip leading and
18635 # trailing colons and then remove the whole line if VPATH becomes empty
18636 # (actually we leave an empty line to preserve line numbers).
18637 if test "x$srcdir" = x.; then
18638 ac_vpsub='/^[ ]*VPATH[ ]*=[ ]*/{
18640 s///
18641 s/^/:/
18642 s/[ ]*$/:/
18643 s/:\$(srcdir):/:/g
18644 s/:\${srcdir}:/:/g
18645 s/:@srcdir@:/:/g
18646 s/^:*//
18647 s/:*$//
18649 s/\(=[ ]*\).*/\1/
18651 s/\n//
18652 s/^[^=]*=[ ]*$//
18656 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
18657 fi # test -n "$CONFIG_FILES"
18659 # Set up the scripts for CONFIG_HEADERS section.
18660 # No need to generate them if there are no CONFIG_HEADERS.
18661 # This happens for instance with `./config.status Makefile'.
18662 if test -n "$CONFIG_HEADERS"; then
18663 cat >"$ac_tmp/defines.awk" <<\_ACAWK ||
18664 BEGIN {
18665 _ACEOF
18667 # Transform confdefs.h into an awk script `defines.awk', embedded as
18668 # here-document in config.status, that substitutes the proper values into
18669 # config.h.in to produce config.h.
18671 # Create a delimiter string that does not exist in confdefs.h, to ease
18672 # handling of long lines.
18673 ac_delim='%!_!# '
18674 for ac_last_try in false false :; do
18675 ac_tt=`sed -n "/$ac_delim/p" confdefs.h`
18676 if test -z "$ac_tt"; then
18677 break
18678 elif $ac_last_try; then
18679 as_fn_error $? "could not make $CONFIG_HEADERS" "$LINENO" 5
18680 else
18681 ac_delim="$ac_delim!$ac_delim _$ac_delim!! "
18683 done
18685 # For the awk script, D is an array of macro values keyed by name,
18686 # likewise P contains macro parameters if any. Preserve backslash
18687 # newline sequences.
18689 ac_word_re=[_$as_cr_Letters][_$as_cr_alnum]*
18690 sed -n '
18691 s/.\{148\}/&'"$ac_delim"'/g
18692 t rset
18693 :rset
18694 s/^[ ]*#[ ]*define[ ][ ]*/ /
18695 t def
18697 :def
18698 s/\\$//
18699 t bsnl
18700 s/["\\]/\\&/g
18701 s/^ \('"$ac_word_re"'\)\(([^()]*)\)[ ]*\(.*\)/P["\1"]="\2"\
18702 D["\1"]=" \3"/p
18703 s/^ \('"$ac_word_re"'\)[ ]*\(.*\)/D["\1"]=" \2"/p
18705 :bsnl
18706 s/["\\]/\\&/g
18707 s/^ \('"$ac_word_re"'\)\(([^()]*)\)[ ]*\(.*\)/P["\1"]="\2"\
18708 D["\1"]=" \3\\\\\\n"\\/p
18709 t cont
18710 s/^ \('"$ac_word_re"'\)[ ]*\(.*\)/D["\1"]=" \2\\\\\\n"\\/p
18711 t cont
18713 :cont
18715 s/.\{148\}/&'"$ac_delim"'/g
18716 t clear
18717 :clear
18718 s/\\$//
18719 t bsnlc
18720 s/["\\]/\\&/g; s/^/"/; s/$/"/p
18722 :bsnlc
18723 s/["\\]/\\&/g; s/^/"/; s/$/\\\\\\n"\\/p
18724 b cont
18725 ' <confdefs.h | sed '
18726 s/'"$ac_delim"'/"\\\
18727 "/g' >>$CONFIG_STATUS || ac_write_fail=1
18729 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
18730 for (key in D) D_is_set[key] = 1
18731 FS = "\a"
18733 /^[\t ]*#[\t ]*(define|undef)[\t ]+$ac_word_re([\t (]|\$)/ {
18734 line = \$ 0
18735 split(line, arg, " ")
18736 if (arg[1] == "#") {
18737 defundef = arg[2]
18738 mac1 = arg[3]
18739 } else {
18740 defundef = substr(arg[1], 2)
18741 mac1 = arg[2]
18743 split(mac1, mac2, "(") #)
18744 macro = mac2[1]
18745 prefix = substr(line, 1, index(line, defundef) - 1)
18746 if (D_is_set[macro]) {
18747 # Preserve the white space surrounding the "#".
18748 print prefix "define", macro P[macro] D[macro]
18749 next
18750 } else {
18751 # Replace #undef with comments. This is necessary, for example,
18752 # in the case of _POSIX_SOURCE, which is predefined and required
18753 # on some systems where configure will not decide to define it.
18754 if (defundef == "undef") {
18755 print "/*", prefix defundef, macro, "*/"
18756 next
18760 { print }
18761 _ACAWK
18762 _ACEOF
18763 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
18764 as_fn_error $? "could not setup config headers machinery" "$LINENO" 5
18765 fi # test -n "$CONFIG_HEADERS"
18768 eval set X " :F $CONFIG_FILES :H $CONFIG_HEADERS :L $CONFIG_LINKS :C $CONFIG_COMMANDS"
18769 shift
18770 for ac_tag
18772 case $ac_tag in
18773 :[FHLC]) ac_mode=$ac_tag; continue;;
18774 esac
18775 case $ac_mode$ac_tag in
18776 :[FHL]*:*);;
18777 :L* | :C*:*) as_fn_error $? "invalid tag \`$ac_tag'" "$LINENO" 5;;
18778 :[FH]-) ac_tag=-:-;;
18779 :[FH]*) ac_tag=$ac_tag:$ac_tag.in;;
18780 esac
18781 ac_save_IFS=$IFS
18782 IFS=:
18783 set x $ac_tag
18784 IFS=$ac_save_IFS
18785 shift
18786 ac_file=$1
18787 shift
18789 case $ac_mode in
18790 :L) ac_source=$1;;
18791 :[FH])
18792 ac_file_inputs=
18793 for ac_f
18795 case $ac_f in
18796 -) ac_f="$ac_tmp/stdin";;
18797 *) # Look for the file first in the build tree, then in the source tree
18798 # (if the path is not absolute). The absolute path cannot be DOS-style,
18799 # because $ac_f cannot contain `:'.
18800 test -f "$ac_f" ||
18801 case $ac_f in
18802 [\\/$]*) false;;
18803 *) test -f "$srcdir/$ac_f" && ac_f="$srcdir/$ac_f";;
18804 esac ||
18805 as_fn_error 1 "cannot find input file: \`$ac_f'" "$LINENO" 5;;
18806 esac
18807 case $ac_f in *\'*) ac_f=`$as_echo "$ac_f" | sed "s/'/'\\\\\\\\''/g"`;; esac
18808 as_fn_append ac_file_inputs " '$ac_f'"
18809 done
18811 # Let's still pretend it is `configure' which instantiates (i.e., don't
18812 # use $as_me), people would be surprised to read:
18813 # /* config.h. Generated by config.status. */
18814 configure_input='Generated from '`
18815 $as_echo "$*" | sed 's|^[^:]*/||;s|:[^:]*/|, |g'
18816 `' by configure.'
18817 if test x"$ac_file" != x-; then
18818 configure_input="$ac_file. $configure_input"
18819 { $as_echo "$as_me:${as_lineno-$LINENO}: creating $ac_file" >&5
18820 $as_echo "$as_me: creating $ac_file" >&6;}
18822 # Neutralize special characters interpreted by sed in replacement strings.
18823 case $configure_input in #(
18824 *\&* | *\|* | *\\* )
18825 ac_sed_conf_input=`$as_echo "$configure_input" |
18826 sed 's/[\\\\&|]/\\\\&/g'`;; #(
18827 *) ac_sed_conf_input=$configure_input;;
18828 esac
18830 case $ac_tag in
18831 *:-:* | *:-) cat >"$ac_tmp/stdin" \
18832 || as_fn_error $? "could not create $ac_file" "$LINENO" 5 ;;
18833 esac
18835 esac
18837 ac_dir=`$as_dirname -- "$ac_file" ||
18838 $as_expr X"$ac_file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
18839 X"$ac_file" : 'X\(//\)[^/]' \| \
18840 X"$ac_file" : 'X\(//\)$' \| \
18841 X"$ac_file" : 'X\(/\)' \| . 2>/dev/null ||
18842 $as_echo X"$ac_file" |
18843 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
18844 s//\1/
18847 /^X\(\/\/\)[^/].*/{
18848 s//\1/
18851 /^X\(\/\/\)$/{
18852 s//\1/
18855 /^X\(\/\).*/{
18856 s//\1/
18859 s/.*/./; q'`
18860 as_dir="$ac_dir"; as_fn_mkdir_p
18861 ac_builddir=.
18863 case "$ac_dir" in
18864 .) ac_dir_suffix= ac_top_builddir_sub=. ac_top_build_prefix= ;;
18866 ac_dir_suffix=/`$as_echo "$ac_dir" | sed 's|^\.[\\/]||'`
18867 # A ".." for each directory in $ac_dir_suffix.
18868 ac_top_builddir_sub=`$as_echo "$ac_dir_suffix" | sed 's|/[^\\/]*|/..|g;s|/||'`
18869 case $ac_top_builddir_sub in
18870 "") ac_top_builddir_sub=. ac_top_build_prefix= ;;
18871 *) ac_top_build_prefix=$ac_top_builddir_sub/ ;;
18872 esac ;;
18873 esac
18874 ac_abs_top_builddir=$ac_pwd
18875 ac_abs_builddir=$ac_pwd$ac_dir_suffix
18876 # for backward compatibility:
18877 ac_top_builddir=$ac_top_build_prefix
18879 case $srcdir in
18880 .) # We are building in place.
18881 ac_srcdir=.
18882 ac_top_srcdir=$ac_top_builddir_sub
18883 ac_abs_top_srcdir=$ac_pwd ;;
18884 [\\/]* | ?:[\\/]* ) # Absolute name.
18885 ac_srcdir=$srcdir$ac_dir_suffix;
18886 ac_top_srcdir=$srcdir
18887 ac_abs_top_srcdir=$srcdir ;;
18888 *) # Relative name.
18889 ac_srcdir=$ac_top_build_prefix$srcdir$ac_dir_suffix
18890 ac_top_srcdir=$ac_top_build_prefix$srcdir
18891 ac_abs_top_srcdir=$ac_pwd/$srcdir ;;
18892 esac
18893 ac_abs_srcdir=$ac_abs_top_srcdir$ac_dir_suffix
18896 case $ac_mode in
18899 # CONFIG_FILE
18902 _ACEOF
18904 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
18905 # If the template does not know about datarootdir, expand it.
18906 # FIXME: This hack should be removed a few years after 2.60.
18907 ac_datarootdir_hack=; ac_datarootdir_seen=
18908 ac_sed_dataroot='
18909 /datarootdir/ {
18913 /@datadir@/p
18914 /@docdir@/p
18915 /@infodir@/p
18916 /@localedir@/p
18917 /@mandir@/p'
18918 case `eval "sed -n \"\$ac_sed_dataroot\" $ac_file_inputs"` in
18919 *datarootdir*) ac_datarootdir_seen=yes;;
18920 *@datadir@*|*@docdir@*|*@infodir@*|*@localedir@*|*@mandir@*)
18921 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&5
18922 $as_echo "$as_me: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&2;}
18923 _ACEOF
18924 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
18925 ac_datarootdir_hack='
18926 s&@datadir@&$datadir&g
18927 s&@docdir@&$docdir&g
18928 s&@infodir@&$infodir&g
18929 s&@localedir@&$localedir&g
18930 s&@mandir@&$mandir&g
18931 s&\\\${datarootdir}&$datarootdir&g' ;;
18932 esac
18933 _ACEOF
18935 # Neutralize VPATH when `$srcdir' = `.'.
18936 # Shell code in configure.ac might set extrasub.
18937 # FIXME: do we really want to maintain this feature?
18938 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
18939 ac_sed_extra="$ac_vpsub
18940 $extrasub
18941 _ACEOF
18942 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
18944 /@[a-zA-Z_][a-zA-Z_0-9]*@/!b
18945 s|@configure_input@|$ac_sed_conf_input|;t t
18946 s&@top_builddir@&$ac_top_builddir_sub&;t t
18947 s&@top_build_prefix@&$ac_top_build_prefix&;t t
18948 s&@srcdir@&$ac_srcdir&;t t
18949 s&@abs_srcdir@&$ac_abs_srcdir&;t t
18950 s&@top_srcdir@&$ac_top_srcdir&;t t
18951 s&@abs_top_srcdir@&$ac_abs_top_srcdir&;t t
18952 s&@builddir@&$ac_builddir&;t t
18953 s&@abs_builddir@&$ac_abs_builddir&;t t
18954 s&@abs_top_builddir@&$ac_abs_top_builddir&;t t
18955 $ac_datarootdir_hack
18957 eval sed \"\$ac_sed_extra\" "$ac_file_inputs" | $AWK -f "$ac_tmp/subs.awk" \
18958 >$ac_tmp/out || as_fn_error $? "could not create $ac_file" "$LINENO" 5
18960 test -z "$ac_datarootdir_hack$ac_datarootdir_seen" &&
18961 { ac_out=`sed -n '/\${datarootdir}/p' "$ac_tmp/out"`; test -n "$ac_out"; } &&
18962 { ac_out=`sed -n '/^[ ]*datarootdir[ ]*:*=/p' \
18963 "$ac_tmp/out"`; test -z "$ac_out"; } &&
18964 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $ac_file contains a reference to the variable \`datarootdir'
18965 which seems to be undefined. Please make sure it is defined" >&5
18966 $as_echo "$as_me: WARNING: $ac_file contains a reference to the variable \`datarootdir'
18967 which seems to be undefined. Please make sure it is defined" >&2;}
18969 rm -f "$ac_tmp/stdin"
18970 case $ac_file in
18971 -) cat "$ac_tmp/out" && rm -f "$ac_tmp/out";;
18972 *) rm -f "$ac_file" && mv "$ac_tmp/out" "$ac_file";;
18973 esac \
18974 || as_fn_error $? "could not create $ac_file" "$LINENO" 5
18978 # CONFIG_HEADER
18980 if test x"$ac_file" != x-; then
18982 $as_echo "/* $configure_input */" \
18983 && eval '$AWK -f "$ac_tmp/defines.awk"' "$ac_file_inputs"
18984 } >"$ac_tmp/config.h" \
18985 || as_fn_error $? "could not create $ac_file" "$LINENO" 5
18986 if diff "$ac_file" "$ac_tmp/config.h" >/dev/null 2>&1; then
18987 { $as_echo "$as_me:${as_lineno-$LINENO}: $ac_file is unchanged" >&5
18988 $as_echo "$as_me: $ac_file is unchanged" >&6;}
18989 else
18990 rm -f "$ac_file"
18991 mv "$ac_tmp/config.h" "$ac_file" \
18992 || as_fn_error $? "could not create $ac_file" "$LINENO" 5
18994 else
18995 $as_echo "/* $configure_input */" \
18996 && eval '$AWK -f "$ac_tmp/defines.awk"' "$ac_file_inputs" \
18997 || as_fn_error $? "could not create -" "$LINENO" 5
19002 # CONFIG_LINK
19005 if test "$ac_source" = "$ac_file" && test "$srcdir" = '.'; then
19007 else
19008 # Prefer the file from the source tree if names are identical.
19009 if test "$ac_source" = "$ac_file" || test ! -r "$ac_source"; then
19010 ac_source=$srcdir/$ac_source
19013 { $as_echo "$as_me:${as_lineno-$LINENO}: linking $ac_source to $ac_file" >&5
19014 $as_echo "$as_me: linking $ac_source to $ac_file" >&6;}
19016 if test ! -r "$ac_source"; then
19017 as_fn_error $? "$ac_source: file not found" "$LINENO" 5
19019 rm -f "$ac_file"
19021 # Try a relative symlink, then a hard link, then a copy.
19022 case $ac_source in
19023 [\\/$]* | ?:[\\/]* ) ac_rel_source=$ac_source ;;
19024 *) ac_rel_source=$ac_top_build_prefix$ac_source ;;
19025 esac
19026 ln -s "$ac_rel_source" "$ac_file" 2>/dev/null ||
19027 ln "$ac_source" "$ac_file" 2>/dev/null ||
19028 cp -p "$ac_source" "$ac_file" ||
19029 as_fn_error $? "cannot link or copy $ac_source to $ac_file" "$LINENO" 5
19032 :C) { $as_echo "$as_me:${as_lineno-$LINENO}: executing $ac_file commands" >&5
19033 $as_echo "$as_me: executing $ac_file commands" >&6;}
19035 esac
19038 case $ac_file$ac_mode in
19039 "include/stamp-h":C) echo timestamp > include/stamp-h ;;
19040 "tools/makedep":C) wine_fn_output_makedep || as_fn_exit $? ;;
19041 "Makefile":C) wine_fn_output_makefile Makefile ;;
19042 ".gitignore":C) wine_fn_output_gitignore .gitignore ;;
19044 esac
19045 done # for ac_tag
19048 as_fn_exit 0
19049 _ACEOF
19050 ac_clean_files=$ac_clean_files_save
19052 test $ac_write_fail = 0 ||
19053 as_fn_error $? "write failure creating $CONFIG_STATUS" "$LINENO" 5
19056 # configure is writing to config.log, and then calls config.status.
19057 # config.status does its own redirection, appending to config.log.
19058 # Unfortunately, on DOS this fails, as config.log is still kept open
19059 # by configure, so config.status won't be able to write to it; its
19060 # output is simply discarded. So we exec the FD to /dev/null,
19061 # effectively closing config.log, so it can be properly (re)opened and
19062 # appended to by config.status. When coming back to configure, we
19063 # need to make the FD available again.
19064 if test "$no_create" != yes; then
19065 ac_cs_success=:
19066 ac_config_status_args=
19067 test "$silent" = yes &&
19068 ac_config_status_args="$ac_config_status_args --quiet"
19069 exec 5>/dev/null
19070 $SHELL $CONFIG_STATUS $ac_config_status_args || ac_cs_success=false
19071 exec 5>>config.log
19072 # Use ||, not &&, to avoid exiting from the if with $? = 1, which
19073 # would make configure fail if this is the last instruction.
19074 $ac_cs_success || as_fn_exit 1
19076 if test -n "$ac_unrecognized_opts" && test "$enable_option_checking" != no; then
19077 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: unrecognized options: $ac_unrecognized_opts" >&5
19078 $as_echo "$as_me: WARNING: unrecognized options: $ac_unrecognized_opts" >&2;}
19082 if test "$no_create" = "yes"
19083 then
19084 exit 0
19087 ac_save_IFS="$IFS"
19088 if test "x$wine_notices != "x; then
19089 echo >&6
19090 IFS="|"
19091 for msg in $wine_notices; do
19092 IFS="$ac_save_IFS"
19093 if ${msg:+false} :; then :
19095 else
19096 { $as_echo "$as_me:${as_lineno-$LINENO}: $msg" >&5
19097 $as_echo "$as_me: $msg" >&6;}
19099 done
19101 IFS="|"
19102 for msg in $wine_warnings; do
19103 IFS="$ac_save_IFS"
19104 if ${msg:+false} :; then :
19106 else
19107 echo >&2
19108 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $msg" >&5
19109 $as_echo "$as_me: WARNING: $msg" >&2;}
19111 done
19112 IFS="$ac_save_IFS"
19114 $as_echo "
19115 $as_me: Finished. Do '${ac_make}' to compile Wine.
19116 " >&6