api-ms-win-core-com-l1-1-0: Add stub dll.
[wine.git] / configure
blob34eb49f51eb5603e85c86b37404a098b90b9cf84
1 #! /bin/sh
2 # Guess values for system-dependent variables and create Makefiles.
3 # Generated by GNU Autoconf 2.69 for Wine 1.7.11.
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.11'
584 PACKAGE_STRING='Wine 1.7.11'
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 X_EXTRA_LIBS
680 X_LIBS
681 X_PRE_LIBS
682 X_CFLAGS
683 XMKMF
684 PTHREAD_LIBS
685 CROSSCC
686 CROSSTARGET
687 PRELINK
688 CARBON_LIBS
689 QUICKTIME_LIBS
690 OPENCL_LIBS
691 OPENAL_LIBS
692 COREAUDIO_LIBS
693 SECURITY_LIBS
694 DISKARBITRATION_LIBS
695 APPKIT_LIBS
696 CORESERVICES_LIBS
697 APPLICATIONSERVICES_LIBS
698 FORCEFEEDBACK_LIBS
699 IOKIT_LIBS
700 COREFOUNDATION_LIBS
701 LIBWINE_RULES
702 SOCKET_LIBS
703 DLLTOOL
704 LOADER_RULES
705 ALL_TEST_RESOURCES
706 READELF
708 LDRPATH_LOCAL
709 LDRPATH_INSTALL
710 DLLFLAGS
711 DLLPREFIX
712 dlldir
714 OPENGL_LIBS
715 ICOTOOL
716 CONVERT
717 RSVG
718 FONTFORGE
719 PKG_CONFIG
720 MSGFMT
721 LDCONFIG
722 EGREP
723 GREP
724 LN_S
725 RANLIB
726 ARFLAGS
727 STRIP
728 ac_ct_AR
730 BISON
731 FLEX
732 TOOLSDIR
733 TARGETFLAGS
734 CPPBIN
735 ac_ct_CXX
736 CXXFLAGS
738 OBJEXT
739 EXEEXT
740 ac_ct_CC
741 CPPFLAGS
742 LDFLAGS
743 CFLAGS
745 SET_MAKE
746 host_os
747 host_vendor
748 host_cpu
749 host
750 build_os
751 build_vendor
752 build_cpu
753 build
754 target_alias
755 host_alias
756 build_alias
757 LIBS
758 ECHO_T
759 ECHO_N
760 ECHO_C
761 DEFS
762 mandir
763 localedir
764 libdir
765 psdir
766 pdfdir
767 dvidir
768 htmldir
769 infodir
770 docdir
771 oldincludedir
772 includedir
773 localstatedir
774 sharedstatedir
775 sysconfdir
776 datadir
777 datarootdir
778 libexecdir
779 sbindir
780 bindir
781 program_transform_name
782 prefix
783 exec_prefix
784 PACKAGE_URL
785 PACKAGE_BUGREPORT
786 PACKAGE_STRING
787 PACKAGE_VERSION
788 PACKAGE_TARNAME
789 PACKAGE_NAME
790 PATH_SEPARATOR
791 SHELL'
792 ac_subst_files=''
793 ac_user_opts='
794 enable_option_checking
795 enable_win16
796 enable_win64
797 enable_tests
798 enable_maintainer_mode
799 with_alsa
800 with_capi
801 with_cms
802 with_coreaudio
803 with_cups
804 with_curses
805 with_dbus
806 with_fontconfig
807 with_freetype
808 with_gettext
809 with_gettextpo
810 with_gphoto
811 with_glu
812 with_gnutls
813 with_gsm
814 with_gstreamer
815 with_hal
816 with_jpeg
817 with_ldap
818 with_mpg123
819 with_netapi
820 with_openal
821 with_opencl
822 with_opengl
823 with_osmesa
824 with_oss
825 with_png
826 with_pthread
827 with_sane
828 with_tiff
829 with_v4l
830 with_xcomposite
831 with_xcursor
832 with_xinerama
833 with_xinput
834 with_xinput2
835 with_xml
836 with_xrandr
837 with_xrender
838 with_xshape
839 with_xshm
840 with_xslt
841 with_xxf86vm
842 with_zlib
843 with_wine_tools
844 with_wine64
845 enable_largefile
846 with_x
847 enable_acledit
848 enable_aclui
849 enable_activeds
850 enable_actxprxy
851 enable_advapi32
852 enable_advpack
853 enable_amstream
854 enable_api_ms_win_core_com_l1_1_0
855 enable_api_ms_win_core_debug_l1_1_1
856 enable_api_ms_win_core_errorhandling_l1_1_1
857 enable_api_ms_win_core_interlocked_l1_2_0
858 enable_api_ms_win_core_localregistry_l1_1_0
859 enable_api_ms_win_core_processthreads_l1_1_0
860 enable_api_ms_win_core_processthreads_l1_1_1
861 enable_api_ms_win_core_profile_l1_1_0
862 enable_api_ms_win_core_string_l1_1_0
863 enable_api_ms_win_core_synch_l1_2_0
864 enable_api_ms_win_core_sysinfo_l1_2_0
865 enable_api_ms_win_core_util_l1_1_0
866 enable_api_ms_win_core_winrt_error_l1_1_0
867 enable_api_ms_win_core_winrt_string_l1_1_0
868 enable_api_ms_win_downlevel_advapi32_l1_1_0
869 enable_api_ms_win_downlevel_advapi32_l2_1_0
870 enable_api_ms_win_downlevel_normaliz_l1_1_0
871 enable_api_ms_win_downlevel_ole32_l1_1_0
872 enable_api_ms_win_downlevel_shell32_l1_1_0
873 enable_api_ms_win_downlevel_shlwapi_l1_1_0
874 enable_api_ms_win_downlevel_shlwapi_l2_1_0
875 enable_api_ms_win_downlevel_user32_l1_1_0
876 enable_api_ms_win_downlevel_version_l1_1_0
877 enable_api_ms_win_ntuser_dc_access_l1_1_0
878 enable_api_ms_win_security_base_l1_1_0
879 enable_apphelp
880 enable_appwiz_cpl
881 enable_atl
882 enable_atl100
883 enable_atl110
884 enable_atl80
885 enable_atl90
886 enable_authz
887 enable_avicap32
888 enable_avifil32
889 enable_avrt
890 enable_bcrypt
891 enable_browseui
892 enable_cabinet
893 enable_capi2032
894 enable_cards
895 enable_cfgmgr32
896 enable_clusapi
897 enable_comcat
898 enable_comctl32
899 enable_comdlg32
900 enable_compstui
901 enable_comsvcs
902 enable_credui
903 enable_crtdll
904 enable_crypt32
905 enable_cryptdlg
906 enable_cryptdll
907 enable_cryptnet
908 enable_cryptui
909 enable_ctapi32
910 enable_ctl3d32
911 enable_d3d10
912 enable_d3d10core
913 enable_d3d11
914 enable_d3d8
915 enable_d3d9
916 enable_d3dcompiler_33
917 enable_d3dcompiler_34
918 enable_d3dcompiler_35
919 enable_d3dcompiler_36
920 enable_d3dcompiler_37
921 enable_d3dcompiler_38
922 enable_d3dcompiler_39
923 enable_d3dcompiler_40
924 enable_d3dcompiler_41
925 enable_d3dcompiler_42
926 enable_d3dcompiler_43
927 enable_d3dim
928 enable_d3drm
929 enable_d3dx10_33
930 enable_d3dx10_34
931 enable_d3dx10_35
932 enable_d3dx10_36
933 enable_d3dx10_37
934 enable_d3dx10_38
935 enable_d3dx10_39
936 enable_d3dx10_40
937 enable_d3dx10_41
938 enable_d3dx10_42
939 enable_d3dx10_43
940 enable_d3dx11_42
941 enable_d3dx11_43
942 enable_d3dx9_24
943 enable_d3dx9_25
944 enable_d3dx9_26
945 enable_d3dx9_27
946 enable_d3dx9_28
947 enable_d3dx9_29
948 enable_d3dx9_30
949 enable_d3dx9_31
950 enable_d3dx9_32
951 enable_d3dx9_33
952 enable_d3dx9_34
953 enable_d3dx9_35
954 enable_d3dx9_36
955 enable_d3dx9_37
956 enable_d3dx9_38
957 enable_d3dx9_39
958 enable_d3dx9_40
959 enable_d3dx9_41
960 enable_d3dx9_42
961 enable_d3dx9_43
962 enable_d3dxof
963 enable_dbgeng
964 enable_dbghelp
965 enable_dciman32
966 enable_ddraw
967 enable_ddrawex
968 enable_devenum
969 enable_dhcpcsvc
970 enable_difxapi
971 enable_dinput
972 enable_dinput8
973 enable_dispex
974 enable_dmband
975 enable_dmcompos
976 enable_dmime
977 enable_dmloader
978 enable_dmscript
979 enable_dmstyle
980 enable_dmsynth
981 enable_dmusic
982 enable_dmusic32
983 enable_dnsapi
984 enable_dplay
985 enable_dplayx
986 enable_dpnaddr
987 enable_dpnet
988 enable_dpnhpast
989 enable_dpnlobby
990 enable_dpwsockx
991 enable_drmclien
992 enable_dsound
993 enable_dssenh
994 enable_dswave
995 enable_dwmapi
996 enable_dwrite
997 enable_dxdiagn
998 enable_dxgi
999 enable_explorerframe
1000 enable_ext_ms_win_gdi_devcaps_l1_1_0
1001 enable_faultrep
1002 enable_fltlib
1003 enable_fusion
1004 enable_fwpuclnt
1005 enable_gameux
1006 enable_gdi32
1007 enable_gdiplus
1008 enable_glu32
1009 enable_gphoto2_ds
1010 enable_gpkcsp
1011 enable_hal
1012 enable_hhctrl_ocx
1013 enable_hid
1014 enable_hlink
1015 enable_hnetcfg
1016 enable_httpapi
1017 enable_iccvid
1018 enable_icmp
1019 enable_ieframe
1020 enable_imaadp32_acm
1021 enable_imagehlp
1022 enable_imm32
1023 enable_inetcomm
1024 enable_inetcpl_cpl
1025 enable_inetmib1
1026 enable_infosoft
1027 enable_initpki
1028 enable_inkobj
1029 enable_inseng
1030 enable_iphlpapi
1031 enable_itircl
1032 enable_itss
1033 enable_joy_cpl
1034 enable_jscript
1035 enable_kernel32
1036 enable_ktmw32
1037 enable_loadperf
1038 enable_localspl
1039 enable_localui
1040 enable_lz32
1041 enable_mapi32
1042 enable_mapistub
1043 enable_mciavi32
1044 enable_mcicda
1045 enable_mciqtz32
1046 enable_mciseq
1047 enable_mciwave
1048 enable_mgmtapi
1049 enable_midimap
1050 enable_mlang
1051 enable_mmcndmgr
1052 enable_mmdevapi
1053 enable_mountmgr_sys
1054 enable_mpr
1055 enable_mprapi
1056 enable_msacm32_drv
1057 enable_msacm32
1058 enable_msadp32_acm
1059 enable_mscat32
1060 enable_mscms
1061 enable_mscoree
1062 enable_msctf
1063 enable_msdaps
1064 enable_msdmo
1065 enable_msftedit
1066 enable_msg711_acm
1067 enable_msgsm32_acm
1068 enable_mshtml_tlb
1069 enable_mshtml
1070 enable_msi
1071 enable_msident
1072 enable_msimg32
1073 enable_msimsg
1074 enable_msimtf
1075 enable_msisip
1076 enable_msisys_ocx
1077 enable_msls31
1078 enable_msnet32
1079 enable_mspatcha
1080 enable_msrle32
1081 enable_mssign32
1082 enable_mssip32
1083 enable_mstask
1084 enable_msvcirt
1085 enable_msvcm80
1086 enable_msvcm90
1087 enable_msvcp100
1088 enable_msvcp110
1089 enable_msvcp60
1090 enable_msvcp70
1091 enable_msvcp71
1092 enable_msvcp80
1093 enable_msvcp90
1094 enable_msvcr100
1095 enable_msvcr110
1096 enable_msvcr70
1097 enable_msvcr71
1098 enable_msvcr80
1099 enable_msvcr90
1100 enable_msvcrt
1101 enable_msvcrt20
1102 enable_msvcrt40
1103 enable_msvcrtd
1104 enable_msvfw32
1105 enable_msvidc32
1106 enable_mswsock
1107 enable_msxml
1108 enable_msxml2
1109 enable_msxml3
1110 enable_msxml4
1111 enable_msxml6
1112 enable_nddeapi
1113 enable_netapi32
1114 enable_netcfgx
1115 enable_newdev
1116 enable_normaliz
1117 enable_npmshtml
1118 enable_ntdll
1119 enable_ntdsapi
1120 enable_ntoskrnl_exe
1121 enable_ntprint
1122 enable_objsel
1123 enable_odbc32
1124 enable_odbccp32
1125 enable_odbccu32
1126 enable_ole32
1127 enable_oleacc
1128 enable_oleaut32
1129 enable_olecli32
1130 enable_oledb32
1131 enable_oledlg
1132 enable_olepro32
1133 enable_olesvr32
1134 enable_olethk32
1135 enable_openal32
1136 enable_opencl
1137 enable_opengl32
1138 enable_pdh
1139 enable_photometadatahandler
1140 enable_pidgen
1141 enable_powrprof
1142 enable_printui
1143 enable_propsys
1144 enable_psapi
1145 enable_pstorec
1146 enable_qcap
1147 enable_qedit
1148 enable_qmgr
1149 enable_qmgrprxy
1150 enable_quartz
1151 enable_query
1152 enable_rasapi32
1153 enable_rasdlg
1154 enable_regapi
1155 enable_resutils
1156 enable_riched20
1157 enable_riched32
1158 enable_rpcrt4
1159 enable_rsabase
1160 enable_rsaenh
1161 enable_rstrtmgr
1162 enable_rtutils
1163 enable_samlib
1164 enable_sane_ds
1165 enable_scarddlg
1166 enable_sccbase
1167 enable_schannel
1168 enable_scrrun
1169 enable_scsiport_sys
1170 enable_secur32
1171 enable_security
1172 enable_sensapi
1173 enable_serialui
1174 enable_setupapi
1175 enable_sfc
1176 enable_sfc_os
1177 enable_shdoclc
1178 enable_shdocvw
1179 enable_shell32
1180 enable_shfolder
1181 enable_shlwapi
1182 enable_slbcsp
1183 enable_slc
1184 enable_snmpapi
1185 enable_softpub
1186 enable_spoolss
1187 enable_stdole2_tlb
1188 enable_stdole32_tlb
1189 enable_sti
1190 enable_svrapi
1191 enable_sxs
1192 enable_t2embed
1193 enable_tapi32
1194 enable_taskschd
1195 enable_traffic
1196 enable_twain_32
1197 enable_unicows
1198 enable_updspapi
1199 enable_url
1200 enable_urlmon
1201 enable_usbd_sys
1202 enable_user32
1203 enable_userenv
1204 enable_usp10
1205 enable_uxtheme
1206 enable_vbscript
1207 enable_vcomp
1208 enable_vcomp100
1209 enable_vcomp90
1210 enable_vdmdbg
1211 enable_version
1212 enable_wbemdisp
1213 enable_wbemprox
1214 enable_webservices
1215 enable_wer
1216 enable_wevtapi
1217 enable_wiaservc
1218 enable_windowscodecs
1219 enable_windowscodecsext
1220 enable_winealsa_drv
1221 enable_winecoreaudio_drv
1222 enable_wined3d
1223 enable_winegstreamer
1224 enable_winejoystick_drv
1225 enable_winemac_drv
1226 enable_winemapi
1227 enable_winemp3_acm
1228 enable_wineoss_drv
1229 enable_wineps_drv
1230 enable_wineqtdecoder
1231 enable_winex11_drv
1232 enable_wing32
1233 enable_winhttp
1234 enable_wininet
1235 enable_winmm
1236 enable_winnls32
1237 enable_winscard
1238 enable_winspool_drv
1239 enable_winsta
1240 enable_wintab32
1241 enable_wintrust
1242 enable_wlanapi
1243 enable_wldap32
1244 enable_wmi
1245 enable_wmiutils
1246 enable_wmp
1247 enable_wmvcore
1248 enable_wnaspi32
1249 enable_ws2_32
1250 enable_wshom_ocx
1251 enable_wsnmp32
1252 enable_wsock32
1253 enable_wtsapi32
1254 enable_wuapi
1255 enable_wuaueng
1256 enable_xapofx1_1
1257 enable_xinput1_1
1258 enable_xinput1_2
1259 enable_xinput1_3
1260 enable_xinput1_4
1261 enable_xinput9_1_0
1262 enable_xmllite
1263 enable_xolehlp
1264 enable_xpsprint
1265 enable_xpssvcs
1266 enable_documentation
1267 enable_fonts
1268 enable_include
1269 enable_libs_port
1270 enable_libs_wine
1271 enable_libs_wpp
1272 enable_loader
1273 enable_arp
1274 enable_aspnet_regiis
1275 enable_attrib
1276 enable_cabarc
1277 enable_cacls
1278 enable_clock
1279 enable_cmd
1280 enable_conhost
1281 enable_control
1282 enable_cscript
1283 enable_dxdiag
1284 enable_eject
1285 enable_expand
1286 enable_explorer
1287 enable_extrac32
1288 enable_findstr
1289 enable_hh
1290 enable_hostname
1291 enable_icinfo
1292 enable_iexplore
1293 enable_ipconfig
1294 enable_lodctr
1295 enable_mofcomp
1296 enable_mshta
1297 enable_msiexec
1298 enable_net
1299 enable_netsh
1300 enable_netstat
1301 enable_ngen
1302 enable_notepad
1303 enable_oleview
1304 enable_ping
1305 enable_plugplay
1306 enable_presentationfontcache
1307 enable_progman
1308 enable_reg
1309 enable_regasm
1310 enable_regedit
1311 enable_regsvcs
1312 enable_regsvr32
1313 enable_rpcss
1314 enable_rundll32
1315 enable_sc
1316 enable_schtasks
1317 enable_secedit
1318 enable_servicemodelreg
1319 enable_services
1320 enable_spoolsv
1321 enable_start
1322 enable_svchost
1323 enable_taskkill
1324 enable_tasklist
1325 enable_taskmgr
1326 enable_termsv
1327 enable_uninstaller
1328 enable_unlodctr
1329 enable_view
1330 enable_wineboot
1331 enable_winebrowser
1332 enable_winecfg
1333 enable_wineconsole
1334 enable_winedbg
1335 enable_winedevice
1336 enable_winefile
1337 enable_winemenubuilder
1338 enable_winemine
1339 enable_winemsibuilder
1340 enable_winepath
1341 enable_winetest
1342 enable_winhlp32
1343 enable_winver
1344 enable_wmic
1345 enable_wordpad
1346 enable_write
1347 enable_wscript
1348 enable_wusa
1349 enable_xcopy
1350 enable_server
1351 enable_tools
1353 ac_precious_vars='build_alias
1354 host_alias
1355 target_alias
1357 CFLAGS
1358 LDFLAGS
1359 LIBS
1360 CPPFLAGS
1362 CXXFLAGS
1365 XMKMF
1366 XML2_CFLAGS
1367 XML2_LIBS
1368 XSLT_CFLAGS
1369 XSLT_LIBS
1370 DBUS_CFLAGS
1371 DBUS_LIBS
1372 HAL_CFLAGS
1373 HAL_LIBS
1374 GNUTLS_CFLAGS
1375 GNUTLS_LIBS
1376 SANE_CFLAGS
1377 SANE_LIBS
1378 GPHOTO2_CFLAGS
1379 GPHOTO2_LIBS
1380 GPHOTO2_PORT_CFLAGS
1381 GPHOTO2_PORT_LIBS
1382 LCMS2_CFLAGS
1383 LCMS2_LIBS
1384 FREETYPE_CFLAGS
1385 FREETYPE_LIBS
1386 GSTREAMER_CFLAGS
1387 GSTREAMER_LIBS
1388 CAPI20_CFLAGS
1389 CAPI20_LIBS
1390 FONTCONFIG_CFLAGS
1391 FONTCONFIG_LIBS
1392 JPEG_CFLAGS
1393 JPEG_LIBS
1394 PNG_CFLAGS
1395 PNG_LIBS
1396 TIFF_CFLAGS
1397 TIFF_LIBS
1398 MPG123_CFLAGS
1399 MPG123_LIBS'
1402 # Initialize some variables set by options.
1403 ac_init_help=
1404 ac_init_version=false
1405 ac_unrecognized_opts=
1406 ac_unrecognized_sep=
1407 # The variables have the same names as the options, with
1408 # dashes changed to underlines.
1409 cache_file=/dev/null
1410 exec_prefix=NONE
1411 no_create=
1412 no_recursion=
1413 prefix=NONE
1414 program_prefix=NONE
1415 program_suffix=NONE
1416 program_transform_name=s,x,x,
1417 silent=
1418 site=
1419 srcdir=
1420 verbose=
1421 x_includes=NONE
1422 x_libraries=NONE
1424 # Installation directory options.
1425 # These are left unexpanded so users can "make install exec_prefix=/foo"
1426 # and all the variables that are supposed to be based on exec_prefix
1427 # by default will actually change.
1428 # Use braces instead of parens because sh, perl, etc. also accept them.
1429 # (The list follows the same order as the GNU Coding Standards.)
1430 bindir='${exec_prefix}/bin'
1431 sbindir='${exec_prefix}/sbin'
1432 libexecdir='${exec_prefix}/libexec'
1433 datarootdir='${prefix}/share'
1434 datadir='${datarootdir}'
1435 sysconfdir='${prefix}/etc'
1436 sharedstatedir='${prefix}/com'
1437 localstatedir='${prefix}/var'
1438 includedir='${prefix}/include'
1439 oldincludedir='/usr/include'
1440 docdir='${datarootdir}/doc/${PACKAGE_TARNAME}'
1441 infodir='${datarootdir}/info'
1442 htmldir='${docdir}'
1443 dvidir='${docdir}'
1444 pdfdir='${docdir}'
1445 psdir='${docdir}'
1446 libdir='${exec_prefix}/lib'
1447 localedir='${datarootdir}/locale'
1448 mandir='${datarootdir}/man'
1450 ac_prev=
1451 ac_dashdash=
1452 for ac_option
1454 # If the previous option needs an argument, assign it.
1455 if test -n "$ac_prev"; then
1456 eval $ac_prev=\$ac_option
1457 ac_prev=
1458 continue
1461 case $ac_option in
1462 *=?*) ac_optarg=`expr "X$ac_option" : '[^=]*=\(.*\)'` ;;
1463 *=) ac_optarg= ;;
1464 *) ac_optarg=yes ;;
1465 esac
1467 # Accept the important Cygnus configure options, so we can diagnose typos.
1469 case $ac_dashdash$ac_option in
1471 ac_dashdash=yes ;;
1473 -bindir | --bindir | --bindi | --bind | --bin | --bi)
1474 ac_prev=bindir ;;
1475 -bindir=* | --bindir=* | --bindi=* | --bind=* | --bin=* | --bi=*)
1476 bindir=$ac_optarg ;;
1478 -build | --build | --buil | --bui | --bu)
1479 ac_prev=build_alias ;;
1480 -build=* | --build=* | --buil=* | --bui=* | --bu=*)
1481 build_alias=$ac_optarg ;;
1483 -cache-file | --cache-file | --cache-fil | --cache-fi \
1484 | --cache-f | --cache- | --cache | --cach | --cac | --ca | --c)
1485 ac_prev=cache_file ;;
1486 -cache-file=* | --cache-file=* | --cache-fil=* | --cache-fi=* \
1487 | --cache-f=* | --cache-=* | --cache=* | --cach=* | --cac=* | --ca=* | --c=*)
1488 cache_file=$ac_optarg ;;
1490 --config-cache | -C)
1491 cache_file=config.cache ;;
1493 -datadir | --datadir | --datadi | --datad)
1494 ac_prev=datadir ;;
1495 -datadir=* | --datadir=* | --datadi=* | --datad=*)
1496 datadir=$ac_optarg ;;
1498 -datarootdir | --datarootdir | --datarootdi | --datarootd | --dataroot \
1499 | --dataroo | --dataro | --datar)
1500 ac_prev=datarootdir ;;
1501 -datarootdir=* | --datarootdir=* | --datarootdi=* | --datarootd=* \
1502 | --dataroot=* | --dataroo=* | --dataro=* | --datar=*)
1503 datarootdir=$ac_optarg ;;
1505 -disable-* | --disable-*)
1506 ac_useropt=`expr "x$ac_option" : 'x-*disable-\(.*\)'`
1507 # Reject names that are not valid shell variable names.
1508 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
1509 as_fn_error $? "invalid feature name: $ac_useropt"
1510 ac_useropt_orig=$ac_useropt
1511 ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
1512 case $ac_user_opts in
1514 "enable_$ac_useropt"
1515 "*) ;;
1516 *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--disable-$ac_useropt_orig"
1517 ac_unrecognized_sep=', ';;
1518 esac
1519 eval enable_$ac_useropt=no ;;
1521 -docdir | --docdir | --docdi | --doc | --do)
1522 ac_prev=docdir ;;
1523 -docdir=* | --docdir=* | --docdi=* | --doc=* | --do=*)
1524 docdir=$ac_optarg ;;
1526 -dvidir | --dvidir | --dvidi | --dvid | --dvi | --dv)
1527 ac_prev=dvidir ;;
1528 -dvidir=* | --dvidir=* | --dvidi=* | --dvid=* | --dvi=* | --dv=*)
1529 dvidir=$ac_optarg ;;
1531 -enable-* | --enable-*)
1532 ac_useropt=`expr "x$ac_option" : 'x-*enable-\([^=]*\)'`
1533 # Reject names that are not valid shell variable names.
1534 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
1535 as_fn_error $? "invalid feature name: $ac_useropt"
1536 ac_useropt_orig=$ac_useropt
1537 ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
1538 case $ac_user_opts in
1540 "enable_$ac_useropt"
1541 "*) ;;
1542 *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--enable-$ac_useropt_orig"
1543 ac_unrecognized_sep=', ';;
1544 esac
1545 eval enable_$ac_useropt=\$ac_optarg ;;
1547 -exec-prefix | --exec_prefix | --exec-prefix | --exec-prefi \
1548 | --exec-pref | --exec-pre | --exec-pr | --exec-p | --exec- \
1549 | --exec | --exe | --ex)
1550 ac_prev=exec_prefix ;;
1551 -exec-prefix=* | --exec_prefix=* | --exec-prefix=* | --exec-prefi=* \
1552 | --exec-pref=* | --exec-pre=* | --exec-pr=* | --exec-p=* | --exec-=* \
1553 | --exec=* | --exe=* | --ex=*)
1554 exec_prefix=$ac_optarg ;;
1556 -gas | --gas | --ga | --g)
1557 # Obsolete; use --with-gas.
1558 with_gas=yes ;;
1560 -help | --help | --hel | --he | -h)
1561 ac_init_help=long ;;
1562 -help=r* | --help=r* | --hel=r* | --he=r* | -hr*)
1563 ac_init_help=recursive ;;
1564 -help=s* | --help=s* | --hel=s* | --he=s* | -hs*)
1565 ac_init_help=short ;;
1567 -host | --host | --hos | --ho)
1568 ac_prev=host_alias ;;
1569 -host=* | --host=* | --hos=* | --ho=*)
1570 host_alias=$ac_optarg ;;
1572 -htmldir | --htmldir | --htmldi | --htmld | --html | --htm | --ht)
1573 ac_prev=htmldir ;;
1574 -htmldir=* | --htmldir=* | --htmldi=* | --htmld=* | --html=* | --htm=* \
1575 | --ht=*)
1576 htmldir=$ac_optarg ;;
1578 -includedir | --includedir | --includedi | --included | --include \
1579 | --includ | --inclu | --incl | --inc)
1580 ac_prev=includedir ;;
1581 -includedir=* | --includedir=* | --includedi=* | --included=* | --include=* \
1582 | --includ=* | --inclu=* | --incl=* | --inc=*)
1583 includedir=$ac_optarg ;;
1585 -infodir | --infodir | --infodi | --infod | --info | --inf)
1586 ac_prev=infodir ;;
1587 -infodir=* | --infodir=* | --infodi=* | --infod=* | --info=* | --inf=*)
1588 infodir=$ac_optarg ;;
1590 -libdir | --libdir | --libdi | --libd)
1591 ac_prev=libdir ;;
1592 -libdir=* | --libdir=* | --libdi=* | --libd=*)
1593 libdir=$ac_optarg ;;
1595 -libexecdir | --libexecdir | --libexecdi | --libexecd | --libexec \
1596 | --libexe | --libex | --libe)
1597 ac_prev=libexecdir ;;
1598 -libexecdir=* | --libexecdir=* | --libexecdi=* | --libexecd=* | --libexec=* \
1599 | --libexe=* | --libex=* | --libe=*)
1600 libexecdir=$ac_optarg ;;
1602 -localedir | --localedir | --localedi | --localed | --locale)
1603 ac_prev=localedir ;;
1604 -localedir=* | --localedir=* | --localedi=* | --localed=* | --locale=*)
1605 localedir=$ac_optarg ;;
1607 -localstatedir | --localstatedir | --localstatedi | --localstated \
1608 | --localstate | --localstat | --localsta | --localst | --locals)
1609 ac_prev=localstatedir ;;
1610 -localstatedir=* | --localstatedir=* | --localstatedi=* | --localstated=* \
1611 | --localstate=* | --localstat=* | --localsta=* | --localst=* | --locals=*)
1612 localstatedir=$ac_optarg ;;
1614 -mandir | --mandir | --mandi | --mand | --man | --ma | --m)
1615 ac_prev=mandir ;;
1616 -mandir=* | --mandir=* | --mandi=* | --mand=* | --man=* | --ma=* | --m=*)
1617 mandir=$ac_optarg ;;
1619 -nfp | --nfp | --nf)
1620 # Obsolete; use --without-fp.
1621 with_fp=no ;;
1623 -no-create | --no-create | --no-creat | --no-crea | --no-cre \
1624 | --no-cr | --no-c | -n)
1625 no_create=yes ;;
1627 -no-recursion | --no-recursion | --no-recursio | --no-recursi \
1628 | --no-recurs | --no-recur | --no-recu | --no-rec | --no-re | --no-r)
1629 no_recursion=yes ;;
1631 -oldincludedir | --oldincludedir | --oldincludedi | --oldincluded \
1632 | --oldinclude | --oldinclud | --oldinclu | --oldincl | --oldinc \
1633 | --oldin | --oldi | --old | --ol | --o)
1634 ac_prev=oldincludedir ;;
1635 -oldincludedir=* | --oldincludedir=* | --oldincludedi=* | --oldincluded=* \
1636 | --oldinclude=* | --oldinclud=* | --oldinclu=* | --oldincl=* | --oldinc=* \
1637 | --oldin=* | --oldi=* | --old=* | --ol=* | --o=*)
1638 oldincludedir=$ac_optarg ;;
1640 -prefix | --prefix | --prefi | --pref | --pre | --pr | --p)
1641 ac_prev=prefix ;;
1642 -prefix=* | --prefix=* | --prefi=* | --pref=* | --pre=* | --pr=* | --p=*)
1643 prefix=$ac_optarg ;;
1645 -program-prefix | --program-prefix | --program-prefi | --program-pref \
1646 | --program-pre | --program-pr | --program-p)
1647 ac_prev=program_prefix ;;
1648 -program-prefix=* | --program-prefix=* | --program-prefi=* \
1649 | --program-pref=* | --program-pre=* | --program-pr=* | --program-p=*)
1650 program_prefix=$ac_optarg ;;
1652 -program-suffix | --program-suffix | --program-suffi | --program-suff \
1653 | --program-suf | --program-su | --program-s)
1654 ac_prev=program_suffix ;;
1655 -program-suffix=* | --program-suffix=* | --program-suffi=* \
1656 | --program-suff=* | --program-suf=* | --program-su=* | --program-s=*)
1657 program_suffix=$ac_optarg ;;
1659 -program-transform-name | --program-transform-name \
1660 | --program-transform-nam | --program-transform-na \
1661 | --program-transform-n | --program-transform- \
1662 | --program-transform | --program-transfor \
1663 | --program-transfo | --program-transf \
1664 | --program-trans | --program-tran \
1665 | --progr-tra | --program-tr | --program-t)
1666 ac_prev=program_transform_name ;;
1667 -program-transform-name=* | --program-transform-name=* \
1668 | --program-transform-nam=* | --program-transform-na=* \
1669 | --program-transform-n=* | --program-transform-=* \
1670 | --program-transform=* | --program-transfor=* \
1671 | --program-transfo=* | --program-transf=* \
1672 | --program-trans=* | --program-tran=* \
1673 | --progr-tra=* | --program-tr=* | --program-t=*)
1674 program_transform_name=$ac_optarg ;;
1676 -pdfdir | --pdfdir | --pdfdi | --pdfd | --pdf | --pd)
1677 ac_prev=pdfdir ;;
1678 -pdfdir=* | --pdfdir=* | --pdfdi=* | --pdfd=* | --pdf=* | --pd=*)
1679 pdfdir=$ac_optarg ;;
1681 -psdir | --psdir | --psdi | --psd | --ps)
1682 ac_prev=psdir ;;
1683 -psdir=* | --psdir=* | --psdi=* | --psd=* | --ps=*)
1684 psdir=$ac_optarg ;;
1686 -q | -quiet | --quiet | --quie | --qui | --qu | --q \
1687 | -silent | --silent | --silen | --sile | --sil)
1688 silent=yes ;;
1690 -sbindir | --sbindir | --sbindi | --sbind | --sbin | --sbi | --sb)
1691 ac_prev=sbindir ;;
1692 -sbindir=* | --sbindir=* | --sbindi=* | --sbind=* | --sbin=* \
1693 | --sbi=* | --sb=*)
1694 sbindir=$ac_optarg ;;
1696 -sharedstatedir | --sharedstatedir | --sharedstatedi \
1697 | --sharedstated | --sharedstate | --sharedstat | --sharedsta \
1698 | --sharedst | --shareds | --shared | --share | --shar \
1699 | --sha | --sh)
1700 ac_prev=sharedstatedir ;;
1701 -sharedstatedir=* | --sharedstatedir=* | --sharedstatedi=* \
1702 | --sharedstated=* | --sharedstate=* | --sharedstat=* | --sharedsta=* \
1703 | --sharedst=* | --shareds=* | --shared=* | --share=* | --shar=* \
1704 | --sha=* | --sh=*)
1705 sharedstatedir=$ac_optarg ;;
1707 -site | --site | --sit)
1708 ac_prev=site ;;
1709 -site=* | --site=* | --sit=*)
1710 site=$ac_optarg ;;
1712 -srcdir | --srcdir | --srcdi | --srcd | --src | --sr)
1713 ac_prev=srcdir ;;
1714 -srcdir=* | --srcdir=* | --srcdi=* | --srcd=* | --src=* | --sr=*)
1715 srcdir=$ac_optarg ;;
1717 -sysconfdir | --sysconfdir | --sysconfdi | --sysconfd | --sysconf \
1718 | --syscon | --sysco | --sysc | --sys | --sy)
1719 ac_prev=sysconfdir ;;
1720 -sysconfdir=* | --sysconfdir=* | --sysconfdi=* | --sysconfd=* | --sysconf=* \
1721 | --syscon=* | --sysco=* | --sysc=* | --sys=* | --sy=*)
1722 sysconfdir=$ac_optarg ;;
1724 -target | --target | --targe | --targ | --tar | --ta | --t)
1725 ac_prev=target_alias ;;
1726 -target=* | --target=* | --targe=* | --targ=* | --tar=* | --ta=* | --t=*)
1727 target_alias=$ac_optarg ;;
1729 -v | -verbose | --verbose | --verbos | --verbo | --verb)
1730 verbose=yes ;;
1732 -version | --version | --versio | --versi | --vers | -V)
1733 ac_init_version=: ;;
1735 -with-* | --with-*)
1736 ac_useropt=`expr "x$ac_option" : 'x-*with-\([^=]*\)'`
1737 # Reject names that are not valid shell variable names.
1738 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
1739 as_fn_error $? "invalid package name: $ac_useropt"
1740 ac_useropt_orig=$ac_useropt
1741 ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
1742 case $ac_user_opts in
1744 "with_$ac_useropt"
1745 "*) ;;
1746 *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--with-$ac_useropt_orig"
1747 ac_unrecognized_sep=', ';;
1748 esac
1749 eval with_$ac_useropt=\$ac_optarg ;;
1751 -without-* | --without-*)
1752 ac_useropt=`expr "x$ac_option" : 'x-*without-\(.*\)'`
1753 # Reject names that are not valid shell variable names.
1754 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
1755 as_fn_error $? "invalid package name: $ac_useropt"
1756 ac_useropt_orig=$ac_useropt
1757 ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
1758 case $ac_user_opts in
1760 "with_$ac_useropt"
1761 "*) ;;
1762 *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--without-$ac_useropt_orig"
1763 ac_unrecognized_sep=', ';;
1764 esac
1765 eval with_$ac_useropt=no ;;
1767 --x)
1768 # Obsolete; use --with-x.
1769 with_x=yes ;;
1771 -x-includes | --x-includes | --x-include | --x-includ | --x-inclu \
1772 | --x-incl | --x-inc | --x-in | --x-i)
1773 ac_prev=x_includes ;;
1774 -x-includes=* | --x-includes=* | --x-include=* | --x-includ=* | --x-inclu=* \
1775 | --x-incl=* | --x-inc=* | --x-in=* | --x-i=*)
1776 x_includes=$ac_optarg ;;
1778 -x-libraries | --x-libraries | --x-librarie | --x-librari \
1779 | --x-librar | --x-libra | --x-libr | --x-lib | --x-li | --x-l)
1780 ac_prev=x_libraries ;;
1781 -x-libraries=* | --x-libraries=* | --x-librarie=* | --x-librari=* \
1782 | --x-librar=* | --x-libra=* | --x-libr=* | --x-lib=* | --x-li=* | --x-l=*)
1783 x_libraries=$ac_optarg ;;
1785 -*) as_fn_error $? "unrecognized option: \`$ac_option'
1786 Try \`$0 --help' for more information"
1789 *=*)
1790 ac_envvar=`expr "x$ac_option" : 'x\([^=]*\)='`
1791 # Reject names that are not valid shell variable names.
1792 case $ac_envvar in #(
1793 '' | [0-9]* | *[!_$as_cr_alnum]* )
1794 as_fn_error $? "invalid variable name: \`$ac_envvar'" ;;
1795 esac
1796 eval $ac_envvar=\$ac_optarg
1797 export $ac_envvar ;;
1800 # FIXME: should be removed in autoconf 3.0.
1801 $as_echo "$as_me: WARNING: you should use --build, --host, --target" >&2
1802 expr "x$ac_option" : ".*[^-._$as_cr_alnum]" >/dev/null &&
1803 $as_echo "$as_me: WARNING: invalid host type: $ac_option" >&2
1804 : "${build_alias=$ac_option} ${host_alias=$ac_option} ${target_alias=$ac_option}"
1807 esac
1808 done
1810 if test -n "$ac_prev"; then
1811 ac_option=--`echo $ac_prev | sed 's/_/-/g'`
1812 as_fn_error $? "missing argument to $ac_option"
1815 if test -n "$ac_unrecognized_opts"; then
1816 case $enable_option_checking in
1817 no) ;;
1818 fatal) as_fn_error $? "unrecognized options: $ac_unrecognized_opts" ;;
1819 *) $as_echo "$as_me: WARNING: unrecognized options: $ac_unrecognized_opts" >&2 ;;
1820 esac
1823 # Check all directory arguments for consistency.
1824 for ac_var in exec_prefix prefix bindir sbindir libexecdir datarootdir \
1825 datadir sysconfdir sharedstatedir localstatedir includedir \
1826 oldincludedir docdir infodir htmldir dvidir pdfdir psdir \
1827 libdir localedir mandir
1829 eval ac_val=\$$ac_var
1830 # Remove trailing slashes.
1831 case $ac_val in
1832 */ )
1833 ac_val=`expr "X$ac_val" : 'X\(.*[^/]\)' \| "X$ac_val" : 'X\(.*\)'`
1834 eval $ac_var=\$ac_val;;
1835 esac
1836 # Be sure to have absolute directory names.
1837 case $ac_val in
1838 [\\/$]* | ?:[\\/]* ) continue;;
1839 NONE | '' ) case $ac_var in *prefix ) continue;; esac;;
1840 esac
1841 as_fn_error $? "expected an absolute directory name for --$ac_var: $ac_val"
1842 done
1844 # There might be people who depend on the old broken behavior: `$host'
1845 # used to hold the argument of --host etc.
1846 # FIXME: To remove some day.
1847 build=$build_alias
1848 host=$host_alias
1849 target=$target_alias
1851 # FIXME: To remove some day.
1852 if test "x$host_alias" != x; then
1853 if test "x$build_alias" = x; then
1854 cross_compiling=maybe
1855 elif test "x$build_alias" != "x$host_alias"; then
1856 cross_compiling=yes
1860 ac_tool_prefix=
1861 test -n "$host_alias" && ac_tool_prefix=$host_alias-
1863 test "$silent" = yes && exec 6>/dev/null
1866 ac_pwd=`pwd` && test -n "$ac_pwd" &&
1867 ac_ls_di=`ls -di .` &&
1868 ac_pwd_ls_di=`cd "$ac_pwd" && ls -di .` ||
1869 as_fn_error $? "working directory cannot be determined"
1870 test "X$ac_ls_di" = "X$ac_pwd_ls_di" ||
1871 as_fn_error $? "pwd does not report name of working directory"
1874 # Find the source files, if location was not specified.
1875 if test -z "$srcdir"; then
1876 ac_srcdir_defaulted=yes
1877 # Try the directory containing this script, then the parent directory.
1878 ac_confdir=`$as_dirname -- "$as_myself" ||
1879 $as_expr X"$as_myself" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
1880 X"$as_myself" : 'X\(//\)[^/]' \| \
1881 X"$as_myself" : 'X\(//\)$' \| \
1882 X"$as_myself" : 'X\(/\)' \| . 2>/dev/null ||
1883 $as_echo X"$as_myself" |
1884 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
1885 s//\1/
1888 /^X\(\/\/\)[^/].*/{
1889 s//\1/
1892 /^X\(\/\/\)$/{
1893 s//\1/
1896 /^X\(\/\).*/{
1897 s//\1/
1900 s/.*/./; q'`
1901 srcdir=$ac_confdir
1902 if test ! -r "$srcdir/$ac_unique_file"; then
1903 srcdir=..
1905 else
1906 ac_srcdir_defaulted=no
1908 if test ! -r "$srcdir/$ac_unique_file"; then
1909 test "$ac_srcdir_defaulted" = yes && srcdir="$ac_confdir or .."
1910 as_fn_error $? "cannot find sources ($ac_unique_file) in $srcdir"
1912 ac_msg="sources are in $srcdir, but \`cd $srcdir' does not work"
1913 ac_abs_confdir=`(
1914 cd "$srcdir" && test -r "./$ac_unique_file" || as_fn_error $? "$ac_msg"
1915 pwd)`
1916 # When building in place, set srcdir=.
1917 if test "$ac_abs_confdir" = "$ac_pwd"; then
1918 srcdir=.
1920 # Remove unnecessary trailing slashes from srcdir.
1921 # Double slashes in file names in object file debugging info
1922 # mess up M-x gdb in Emacs.
1923 case $srcdir in
1924 */) srcdir=`expr "X$srcdir" : 'X\(.*[^/]\)' \| "X$srcdir" : 'X\(.*\)'`;;
1925 esac
1926 for ac_var in $ac_precious_vars; do
1927 eval ac_env_${ac_var}_set=\${${ac_var}+set}
1928 eval ac_env_${ac_var}_value=\$${ac_var}
1929 eval ac_cv_env_${ac_var}_set=\${${ac_var}+set}
1930 eval ac_cv_env_${ac_var}_value=\$${ac_var}
1931 done
1934 # Report the --help message.
1936 if test "$ac_init_help" = "long"; then
1937 # Omit some internal or obsolete options to make the list less imposing.
1938 # This message is too long to be a string in the A/UX 3.1 sh.
1939 cat <<_ACEOF
1940 \`configure' configures Wine 1.7.11 to adapt to many kinds of systems.
1942 Usage: $0 [OPTION]... [VAR=VALUE]...
1944 To assign environment variables (e.g., CC, CFLAGS...), specify them as
1945 VAR=VALUE. See below for descriptions of some of the useful variables.
1947 Defaults for the options are specified in brackets.
1949 Configuration:
1950 -h, --help display this help and exit
1951 --help=short display options specific to this package
1952 --help=recursive display the short help of all the included packages
1953 -V, --version display version information and exit
1954 -q, --quiet, --silent do not print \`checking ...' messages
1955 --cache-file=FILE cache test results in FILE [disabled]
1956 -C, --config-cache alias for \`--cache-file=config.cache'
1957 -n, --no-create do not create output files
1958 --srcdir=DIR find the sources in DIR [configure dir or \`..']
1960 Installation directories:
1961 --prefix=PREFIX install architecture-independent files in PREFIX
1962 [$ac_default_prefix]
1963 --exec-prefix=EPREFIX install architecture-dependent files in EPREFIX
1964 [PREFIX]
1966 By default, \`make install' will install all the files in
1967 \`$ac_default_prefix/bin', \`$ac_default_prefix/lib' etc. You can specify
1968 an installation prefix other than \`$ac_default_prefix' using \`--prefix',
1969 for instance \`--prefix=\$HOME'.
1971 For better control, use the options below.
1973 Fine tuning of the installation directories:
1974 --bindir=DIR user executables [EPREFIX/bin]
1975 --sbindir=DIR system admin executables [EPREFIX/sbin]
1976 --libexecdir=DIR program executables [EPREFIX/libexec]
1977 --sysconfdir=DIR read-only single-machine data [PREFIX/etc]
1978 --sharedstatedir=DIR modifiable architecture-independent data [PREFIX/com]
1979 --localstatedir=DIR modifiable single-machine data [PREFIX/var]
1980 --libdir=DIR object code libraries [EPREFIX/lib]
1981 --includedir=DIR C header files [PREFIX/include]
1982 --oldincludedir=DIR C header files for non-gcc [/usr/include]
1983 --datarootdir=DIR read-only arch.-independent data root [PREFIX/share]
1984 --datadir=DIR read-only architecture-independent data [DATAROOTDIR]
1985 --infodir=DIR info documentation [DATAROOTDIR/info]
1986 --localedir=DIR locale-dependent data [DATAROOTDIR/locale]
1987 --mandir=DIR man documentation [DATAROOTDIR/man]
1988 --docdir=DIR documentation root [DATAROOTDIR/doc/wine]
1989 --htmldir=DIR html documentation [DOCDIR]
1990 --dvidir=DIR dvi documentation [DOCDIR]
1991 --pdfdir=DIR pdf documentation [DOCDIR]
1992 --psdir=DIR ps documentation [DOCDIR]
1993 _ACEOF
1995 cat <<\_ACEOF
1997 X features:
1998 --x-includes=DIR X include files are in DIR
1999 --x-libraries=DIR X library files are in DIR
2001 System types:
2002 --build=BUILD configure for building on BUILD [guessed]
2003 --host=HOST cross-compile to build programs to run on HOST [BUILD]
2004 _ACEOF
2007 if test -n "$ac_init_help"; then
2008 case $ac_init_help in
2009 short | recursive ) echo "Configuration of Wine 1.7.11:";;
2010 esac
2011 cat <<\_ACEOF
2013 Optional Features:
2014 --disable-option-checking ignore unrecognized --enable/--with options
2015 --disable-FEATURE do not include FEATURE (same as --enable-FEATURE=no)
2016 --enable-FEATURE[=ARG] include FEATURE [ARG=yes]
2017 --disable-win16 do not include Win16 support
2018 --enable-win64 build a Win64 emulator on AMD64 (won't run Win32
2019 binaries)
2020 --disable-tests do not build the regression tests
2021 --enable-maintainer-mode
2022 enable maintainer-specific build rules
2023 --disable-largefile omit support for large files
2025 Optional Packages:
2026 --with-PACKAGE[=ARG] use PACKAGE [ARG=yes]
2027 --without-PACKAGE do not use PACKAGE (same as --with-PACKAGE=no)
2028 --without-alsa do not use the Alsa sound support
2029 --without-capi do not use CAPI (ISDN support)
2030 --without-cms do not use CMS (color management support)
2031 --without-coreaudio do not use the CoreAudio sound support
2032 --without-cups do not use CUPS
2033 --without-curses do not use (n)curses
2034 --without-dbus do not use DBus (dynamic device support)
2035 --without-fontconfig do not use fontconfig
2036 --without-freetype do not use the FreeType library
2037 --without-gettext do not use gettext
2038 --with-gettextpo use the GetTextPO library to rebuild po files
2039 --without-gphoto do not use gphoto (Digital Camera support)
2040 --without-glu do not use the GLU library
2041 --without-gnutls do not use GnuTLS (schannel support)
2042 --without-gsm do not use libgsm (GSM 06.10 codec support)
2043 --without-gstreamer do not use GStreamer (codecs support)
2044 --without-hal do not use HAL (dynamic device support)
2045 --without-jpeg do not use JPEG
2046 --without-ldap do not use LDAP
2047 --without-mpg123 do not use the mpg123 library
2048 --without-netapi do not use the Samba NetAPI library
2049 --without-openal do not use OpenAL
2050 --without-opencl do not use OpenCL
2051 --without-opengl do not use OpenGL
2052 --without-osmesa do not use the OSMesa library
2053 --without-oss do not use the OSS sound support
2054 --without-png do not use PNG
2055 --without-pthread do not use the pthread library
2056 --without-sane do not use SANE (scanner support)
2057 --without-tiff do not use TIFF
2058 --without-v4l do not use v4l1 (v4l support)
2059 --without-xcomposite do not use the Xcomposite extension
2060 --without-xcursor do not use the Xcursor extension
2061 --without-xinerama do not use Xinerama (multi-monitor support)
2062 --without-xinput do not use the Xinput extension
2063 --without-xinput2 do not use the Xinput 2 extension
2064 --without-xml do not use XML
2065 --without-xrandr do not use Xrandr (resolution changes)
2066 --without-xrender do not use the Xrender extension
2067 --without-xshape do not use the Xshape extension
2068 --without-xshm do not use XShm (shared memory extension)
2069 --without-xslt do not use XSLT
2070 --without-xxf86vm do not use XFree video mode extension
2071 --without-zlib do not use Zlib (data compression)
2072 --with-wine-tools=DIR use Wine tools from directory DIR
2073 --with-wine64=DIR use the 64-bit Wine in DIR for a Wow64 build
2074 --with-x use the X Window System
2076 Some influential environment variables:
2077 CC C compiler command
2078 CFLAGS C compiler flags
2079 LDFLAGS linker flags, e.g. -L<lib dir> if you have libraries in a
2080 nonstandard directory <lib dir>
2081 LIBS libraries to pass to the linker, e.g. -l<library>
2082 CPPFLAGS (Objective) C/C++ preprocessor flags, e.g. -I<include dir> if
2083 you have headers in a nonstandard directory <include dir>
2084 CXX C++ compiler command
2085 CXXFLAGS C++ compiler flags
2086 CPP C preprocessor
2087 XMKMF Path to xmkmf, Makefile generator for X Window System
2088 XML2_CFLAGS C compiler flags for libxml-2.0, overriding pkg-config
2089 XML2_LIBS Linker flags for libxml-2.0, overriding pkg-config
2090 XSLT_CFLAGS C compiler flags for libxslt, overriding pkg-config
2091 XSLT_LIBS Linker flags for libxslt, overriding pkg-config
2092 DBUS_CFLAGS C compiler flags for dbus-1, overriding pkg-config
2093 DBUS_LIBS Linker flags for dbus-1, overriding pkg-config
2094 HAL_CFLAGS C compiler flags for hal, overriding pkg-config
2095 HAL_LIBS Linker flags for hal, overriding pkg-config
2096 GNUTLS_CFLAGS
2097 C compiler flags for gnutls, overriding pkg-config
2098 GNUTLS_LIBS Linker flags for gnutls, overriding pkg-config
2099 SANE_CFLAGS C compiler flags for libsane, overriding pkg-config
2100 SANE_LIBS Linker flags for libsane, overriding pkg-config
2101 GPHOTO2_CFLAGS
2102 C compiler flags for libgphoto2, overriding pkg-config
2103 GPHOTO2_LIBS
2104 Linker flags for libgphoto2, overriding pkg-config
2105 GPHOTO2_PORT_CFLAGS
2106 C compiler flags for libgphoto2_port, overriding pkg-config
2107 GPHOTO2_PORT_LIBS
2108 Linker flags for libgphoto2_port, overriding pkg-config
2109 LCMS2_CFLAGS
2110 C compiler flags for lcms2, overriding pkg-config
2111 LCMS2_LIBS Linker flags for lcms2, overriding pkg-config
2112 FREETYPE_CFLAGS
2113 C compiler flags for freetype2, overriding pkg-config
2114 FREETYPE_LIBS
2115 Linker flags for freetype2, overriding pkg-config
2116 GSTREAMER_CFLAGS
2117 C compiler flags for gstreamer-app-0.10, overriding pkg-config
2118 GSTREAMER_LIBS
2119 Linker flags for gstreamer-app-0.10, overriding pkg-config
2120 CAPI20_CFLAGS
2121 C compiler flags for capi20, overriding pkg-config
2122 CAPI20_LIBS Linker flags for capi20, overriding pkg-config
2123 FONTCONFIG_CFLAGS
2124 C compiler flags for fontconfig, overriding pkg-config
2125 FONTCONFIG_LIBS
2126 Linker flags for fontconfig, overriding pkg-config
2127 JPEG_CFLAGS C compiler flags for libjpeg, overriding pkg-config
2128 JPEG_LIBS Linker flags for libjpeg, overriding pkg-config
2129 PNG_CFLAGS C compiler flags for libpng, overriding pkg-config
2130 PNG_LIBS Linker flags for libpng, overriding pkg-config
2131 TIFF_CFLAGS C compiler flags for libtiff, overriding pkg-config
2132 TIFF_LIBS Linker flags for libtiff, overriding pkg-config
2133 MPG123_CFLAGS
2134 C compiler flags for libmpg123, overriding pkg-config
2135 MPG123_LIBS Linker flags for libmpg123, overriding pkg-config
2137 Use these variables to override the choices made by `configure' or to help
2138 it to find libraries and programs with nonstandard names/locations.
2140 Report bugs to <wine-devel@winehq.org>.
2141 Wine home page: <http://www.winehq.org>.
2142 _ACEOF
2143 ac_status=$?
2146 if test "$ac_init_help" = "recursive"; then
2147 # If there are subdirs, report their specific --help.
2148 for ac_dir in : $ac_subdirs_all; do test "x$ac_dir" = x: && continue
2149 test -d "$ac_dir" ||
2150 { cd "$srcdir" && ac_pwd=`pwd` && srcdir=. && test -d "$ac_dir"; } ||
2151 continue
2152 ac_builddir=.
2154 case "$ac_dir" in
2155 .) ac_dir_suffix= ac_top_builddir_sub=. ac_top_build_prefix= ;;
2157 ac_dir_suffix=/`$as_echo "$ac_dir" | sed 's|^\.[\\/]||'`
2158 # A ".." for each directory in $ac_dir_suffix.
2159 ac_top_builddir_sub=`$as_echo "$ac_dir_suffix" | sed 's|/[^\\/]*|/..|g;s|/||'`
2160 case $ac_top_builddir_sub in
2161 "") ac_top_builddir_sub=. ac_top_build_prefix= ;;
2162 *) ac_top_build_prefix=$ac_top_builddir_sub/ ;;
2163 esac ;;
2164 esac
2165 ac_abs_top_builddir=$ac_pwd
2166 ac_abs_builddir=$ac_pwd$ac_dir_suffix
2167 # for backward compatibility:
2168 ac_top_builddir=$ac_top_build_prefix
2170 case $srcdir in
2171 .) # We are building in place.
2172 ac_srcdir=.
2173 ac_top_srcdir=$ac_top_builddir_sub
2174 ac_abs_top_srcdir=$ac_pwd ;;
2175 [\\/]* | ?:[\\/]* ) # Absolute name.
2176 ac_srcdir=$srcdir$ac_dir_suffix;
2177 ac_top_srcdir=$srcdir
2178 ac_abs_top_srcdir=$srcdir ;;
2179 *) # Relative name.
2180 ac_srcdir=$ac_top_build_prefix$srcdir$ac_dir_suffix
2181 ac_top_srcdir=$ac_top_build_prefix$srcdir
2182 ac_abs_top_srcdir=$ac_pwd/$srcdir ;;
2183 esac
2184 ac_abs_srcdir=$ac_abs_top_srcdir$ac_dir_suffix
2186 cd "$ac_dir" || { ac_status=$?; continue; }
2187 # Check for guested configure.
2188 if test -f "$ac_srcdir/configure.gnu"; then
2189 echo &&
2190 $SHELL "$ac_srcdir/configure.gnu" --help=recursive
2191 elif test -f "$ac_srcdir/configure"; then
2192 echo &&
2193 $SHELL "$ac_srcdir/configure" --help=recursive
2194 else
2195 $as_echo "$as_me: WARNING: no configuration information is in $ac_dir" >&2
2196 fi || ac_status=$?
2197 cd "$ac_pwd" || { ac_status=$?; break; }
2198 done
2201 test -n "$ac_init_help" && exit $ac_status
2202 if $ac_init_version; then
2203 cat <<\_ACEOF
2204 Wine configure 1.7.11
2205 generated by GNU Autoconf 2.69
2207 Copyright (C) 2012 Free Software Foundation, Inc.
2208 This configure script is free software; the Free Software Foundation
2209 gives unlimited permission to copy, distribute and modify it.
2210 _ACEOF
2211 exit
2214 ## ------------------------ ##
2215 ## Autoconf initialization. ##
2216 ## ------------------------ ##
2218 # ac_fn_c_try_compile LINENO
2219 # --------------------------
2220 # Try to compile conftest.$ac_ext, and return whether this succeeded.
2221 ac_fn_c_try_compile ()
2223 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
2224 rm -f conftest.$ac_objext
2225 if { { ac_try="$ac_compile"
2226 case "(($ac_try" in
2227 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2228 *) ac_try_echo=$ac_try;;
2229 esac
2230 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
2231 $as_echo "$ac_try_echo"; } >&5
2232 (eval "$ac_compile") 2>conftest.err
2233 ac_status=$?
2234 if test -s conftest.err; then
2235 grep -v '^ *+' conftest.err >conftest.er1
2236 cat conftest.er1 >&5
2237 mv -f conftest.er1 conftest.err
2239 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
2240 test $ac_status = 0; } && {
2241 test -z "$ac_c_werror_flag" ||
2242 test ! -s conftest.err
2243 } && test -s conftest.$ac_objext; then :
2244 ac_retval=0
2245 else
2246 $as_echo "$as_me: failed program was:" >&5
2247 sed 's/^/| /' conftest.$ac_ext >&5
2249 ac_retval=1
2251 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
2252 as_fn_set_status $ac_retval
2254 } # ac_fn_c_try_compile
2256 # ac_fn_cxx_try_compile LINENO
2257 # ----------------------------
2258 # Try to compile conftest.$ac_ext, and return whether this succeeded.
2259 ac_fn_cxx_try_compile ()
2261 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
2262 rm -f conftest.$ac_objext
2263 if { { ac_try="$ac_compile"
2264 case "(($ac_try" in
2265 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2266 *) ac_try_echo=$ac_try;;
2267 esac
2268 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
2269 $as_echo "$ac_try_echo"; } >&5
2270 (eval "$ac_compile") 2>conftest.err
2271 ac_status=$?
2272 if test -s conftest.err; then
2273 grep -v '^ *+' conftest.err >conftest.er1
2274 cat conftest.er1 >&5
2275 mv -f conftest.er1 conftest.err
2277 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
2278 test $ac_status = 0; } && {
2279 test -z "$ac_cxx_werror_flag" ||
2280 test ! -s conftest.err
2281 } && test -s conftest.$ac_objext; then :
2282 ac_retval=0
2283 else
2284 $as_echo "$as_me: failed program was:" >&5
2285 sed 's/^/| /' conftest.$ac_ext >&5
2287 ac_retval=1
2289 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
2290 as_fn_set_status $ac_retval
2292 } # ac_fn_cxx_try_compile
2294 # ac_fn_c_try_link LINENO
2295 # -----------------------
2296 # Try to link conftest.$ac_ext, and return whether this succeeded.
2297 ac_fn_c_try_link ()
2299 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
2300 rm -f conftest.$ac_objext conftest$ac_exeext
2301 if { { ac_try="$ac_link"
2302 case "(($ac_try" in
2303 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2304 *) ac_try_echo=$ac_try;;
2305 esac
2306 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
2307 $as_echo "$ac_try_echo"; } >&5
2308 (eval "$ac_link") 2>conftest.err
2309 ac_status=$?
2310 if test -s conftest.err; then
2311 grep -v '^ *+' conftest.err >conftest.er1
2312 cat conftest.er1 >&5
2313 mv -f conftest.er1 conftest.err
2315 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
2316 test $ac_status = 0; } && {
2317 test -z "$ac_c_werror_flag" ||
2318 test ! -s conftest.err
2319 } && test -s conftest$ac_exeext && {
2320 test "$cross_compiling" = yes ||
2321 test -x conftest$ac_exeext
2322 }; then :
2323 ac_retval=0
2324 else
2325 $as_echo "$as_me: failed program was:" >&5
2326 sed 's/^/| /' conftest.$ac_ext >&5
2328 ac_retval=1
2330 # Delete the IPA/IPO (Inter Procedural Analysis/Optimization) information
2331 # created by the PGI compiler (conftest_ipa8_conftest.oo), as it would
2332 # interfere with the next link command; also delete a directory that is
2333 # left behind by Apple's compiler. We do this before executing the actions.
2334 rm -rf conftest.dSYM conftest_ipa8_conftest.oo
2335 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
2336 as_fn_set_status $ac_retval
2338 } # ac_fn_c_try_link
2340 # ac_fn_c_try_cpp LINENO
2341 # ----------------------
2342 # Try to preprocess conftest.$ac_ext, and return whether this succeeded.
2343 ac_fn_c_try_cpp ()
2345 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
2346 if { { ac_try="$ac_cpp conftest.$ac_ext"
2347 case "(($ac_try" in
2348 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2349 *) ac_try_echo=$ac_try;;
2350 esac
2351 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
2352 $as_echo "$ac_try_echo"; } >&5
2353 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.err
2354 ac_status=$?
2355 if test -s conftest.err; then
2356 grep -v '^ *+' conftest.err >conftest.er1
2357 cat conftest.er1 >&5
2358 mv -f conftest.er1 conftest.err
2360 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
2361 test $ac_status = 0; } > conftest.i && {
2362 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
2363 test ! -s conftest.err
2364 }; then :
2365 ac_retval=0
2366 else
2367 $as_echo "$as_me: failed program was:" >&5
2368 sed 's/^/| /' conftest.$ac_ext >&5
2370 ac_retval=1
2372 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
2373 as_fn_set_status $ac_retval
2375 } # ac_fn_c_try_cpp
2377 # ac_fn_c_check_header_mongrel LINENO HEADER VAR INCLUDES
2378 # -------------------------------------------------------
2379 # Tests whether HEADER exists, giving a warning if it cannot be compiled using
2380 # the include files in INCLUDES and setting the cache variable VAR
2381 # accordingly.
2382 ac_fn_c_check_header_mongrel ()
2384 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
2385 if eval \${$3+:} false; then :
2386 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
2387 $as_echo_n "checking for $2... " >&6; }
2388 if eval \${$3+:} false; then :
2389 $as_echo_n "(cached) " >&6
2391 eval ac_res=\$$3
2392 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
2393 $as_echo "$ac_res" >&6; }
2394 else
2395 # Is the header compilable?
2396 { $as_echo "$as_me:${as_lineno-$LINENO}: checking $2 usability" >&5
2397 $as_echo_n "checking $2 usability... " >&6; }
2398 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2399 /* end confdefs.h. */
2401 #include <$2>
2402 _ACEOF
2403 if ac_fn_c_try_compile "$LINENO"; then :
2404 ac_header_compiler=yes
2405 else
2406 ac_header_compiler=no
2408 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
2409 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_header_compiler" >&5
2410 $as_echo "$ac_header_compiler" >&6; }
2412 # Is the header present?
2413 { $as_echo "$as_me:${as_lineno-$LINENO}: checking $2 presence" >&5
2414 $as_echo_n "checking $2 presence... " >&6; }
2415 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2416 /* end confdefs.h. */
2417 #include <$2>
2418 _ACEOF
2419 if ac_fn_c_try_cpp "$LINENO"; then :
2420 ac_header_preproc=yes
2421 else
2422 ac_header_preproc=no
2424 rm -f conftest.err conftest.i conftest.$ac_ext
2425 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_header_preproc" >&5
2426 $as_echo "$ac_header_preproc" >&6; }
2428 # So? What about this header?
2429 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in #((
2430 yes:no: )
2431 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: accepted by the compiler, rejected by the preprocessor!" >&5
2432 $as_echo "$as_me: WARNING: $2: accepted by the compiler, rejected by the preprocessor!" >&2;}
2433 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: proceeding with the compiler's result" >&5
2434 $as_echo "$as_me: WARNING: $2: proceeding with the compiler's result" >&2;}
2436 no:yes:* )
2437 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: present but cannot be compiled" >&5
2438 $as_echo "$as_me: WARNING: $2: present but cannot be compiled" >&2;}
2439 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: check for missing prerequisite headers?" >&5
2440 $as_echo "$as_me: WARNING: $2: check for missing prerequisite headers?" >&2;}
2441 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: see the Autoconf documentation" >&5
2442 $as_echo "$as_me: WARNING: $2: see the Autoconf documentation" >&2;}
2443 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: section \"Present But Cannot Be Compiled\"" >&5
2444 $as_echo "$as_me: WARNING: $2: section \"Present But Cannot Be Compiled\"" >&2;}
2445 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: proceeding with the compiler's result" >&5
2446 $as_echo "$as_me: WARNING: $2: proceeding with the compiler's result" >&2;}
2447 ( $as_echo "## ------------------------------------ ##
2448 ## Report this to wine-devel@winehq.org ##
2449 ## ------------------------------------ ##"
2450 ) | sed "s/^/$as_me: WARNING: /" >&2
2452 esac
2453 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
2454 $as_echo_n "checking for $2... " >&6; }
2455 if eval \${$3+:} false; then :
2456 $as_echo_n "(cached) " >&6
2457 else
2458 eval "$3=\$ac_header_compiler"
2460 eval ac_res=\$$3
2461 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
2462 $as_echo "$ac_res" >&6; }
2464 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
2466 } # ac_fn_c_check_header_mongrel
2468 # ac_fn_c_try_run LINENO
2469 # ----------------------
2470 # Try to link conftest.$ac_ext, and return whether this succeeded. Assumes
2471 # that executables *can* be run.
2472 ac_fn_c_try_run ()
2474 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
2475 if { { ac_try="$ac_link"
2476 case "(($ac_try" in
2477 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2478 *) ac_try_echo=$ac_try;;
2479 esac
2480 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
2481 $as_echo "$ac_try_echo"; } >&5
2482 (eval "$ac_link") 2>&5
2483 ac_status=$?
2484 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
2485 test $ac_status = 0; } && { ac_try='./conftest$ac_exeext'
2486 { { case "(($ac_try" in
2487 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2488 *) ac_try_echo=$ac_try;;
2489 esac
2490 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
2491 $as_echo "$ac_try_echo"; } >&5
2492 (eval "$ac_try") 2>&5
2493 ac_status=$?
2494 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
2495 test $ac_status = 0; }; }; then :
2496 ac_retval=0
2497 else
2498 $as_echo "$as_me: program exited with status $ac_status" >&5
2499 $as_echo "$as_me: failed program was:" >&5
2500 sed 's/^/| /' conftest.$ac_ext >&5
2502 ac_retval=$ac_status
2504 rm -rf conftest.dSYM conftest_ipa8_conftest.oo
2505 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
2506 as_fn_set_status $ac_retval
2508 } # ac_fn_c_try_run
2510 # ac_fn_c_check_header_compile LINENO HEADER VAR INCLUDES
2511 # -------------------------------------------------------
2512 # Tests whether HEADER exists and can be compiled using the include files in
2513 # INCLUDES, setting the cache variable VAR accordingly.
2514 ac_fn_c_check_header_compile ()
2516 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
2517 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
2518 $as_echo_n "checking for $2... " >&6; }
2519 if eval \${$3+:} false; then :
2520 $as_echo_n "(cached) " >&6
2521 else
2522 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2523 /* end confdefs.h. */
2525 #include <$2>
2526 _ACEOF
2527 if ac_fn_c_try_compile "$LINENO"; then :
2528 eval "$3=yes"
2529 else
2530 eval "$3=no"
2532 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
2534 eval ac_res=\$$3
2535 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
2536 $as_echo "$ac_res" >&6; }
2537 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
2539 } # ac_fn_c_check_header_compile
2541 # ac_fn_c_check_func LINENO FUNC VAR
2542 # ----------------------------------
2543 # Tests whether FUNC exists, setting the cache variable VAR accordingly
2544 ac_fn_c_check_func ()
2546 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
2547 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
2548 $as_echo_n "checking for $2... " >&6; }
2549 if eval \${$3+:} false; then :
2550 $as_echo_n "(cached) " >&6
2551 else
2552 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2553 /* end confdefs.h. */
2554 /* Define $2 to an innocuous variant, in case <limits.h> declares $2.
2555 For example, HP-UX 11i <limits.h> declares gettimeofday. */
2556 #define $2 innocuous_$2
2558 /* System header to define __stub macros and hopefully few prototypes,
2559 which can conflict with char $2 (); below.
2560 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
2561 <limits.h> exists even on freestanding compilers. */
2563 #ifdef __STDC__
2564 # include <limits.h>
2565 #else
2566 # include <assert.h>
2567 #endif
2569 #undef $2
2571 /* Override any GCC internal prototype to avoid an error.
2572 Use char because int might match the return type of a GCC
2573 builtin and then its argument prototype would still apply. */
2574 #ifdef __cplusplus
2575 extern "C"
2576 #endif
2577 char $2 ();
2578 /* The GNU C library defines this for functions which it implements
2579 to always fail with ENOSYS. Some functions are actually named
2580 something starting with __ and the normal name is an alias. */
2581 #if defined __stub_$2 || defined __stub___$2
2582 choke me
2583 #endif
2586 main ()
2588 return $2 ();
2590 return 0;
2592 _ACEOF
2593 if ac_fn_c_try_link "$LINENO"; then :
2594 eval "$3=yes"
2595 else
2596 eval "$3=no"
2598 rm -f core conftest.err conftest.$ac_objext \
2599 conftest$ac_exeext conftest.$ac_ext
2601 eval ac_res=\$$3
2602 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
2603 $as_echo "$ac_res" >&6; }
2604 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
2606 } # ac_fn_c_check_func
2608 # ac_fn_c_check_member LINENO AGGR MEMBER VAR INCLUDES
2609 # ----------------------------------------------------
2610 # Tries to find if the field MEMBER exists in type AGGR, after including
2611 # INCLUDES, setting cache variable VAR accordingly.
2612 ac_fn_c_check_member ()
2614 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
2615 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2.$3" >&5
2616 $as_echo_n "checking for $2.$3... " >&6; }
2617 if eval \${$4+:} false; then :
2618 $as_echo_n "(cached) " >&6
2619 else
2620 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2621 /* end confdefs.h. */
2624 main ()
2626 static $2 ac_aggr;
2627 if (ac_aggr.$3)
2628 return 0;
2630 return 0;
2632 _ACEOF
2633 if ac_fn_c_try_compile "$LINENO"; then :
2634 eval "$4=yes"
2635 else
2636 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2637 /* end confdefs.h. */
2640 main ()
2642 static $2 ac_aggr;
2643 if (sizeof ac_aggr.$3)
2644 return 0;
2646 return 0;
2648 _ACEOF
2649 if ac_fn_c_try_compile "$LINENO"; then :
2650 eval "$4=yes"
2651 else
2652 eval "$4=no"
2654 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
2656 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
2658 eval ac_res=\$$4
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_member
2665 # ac_fn_c_check_type LINENO TYPE VAR INCLUDES
2666 # -------------------------------------------
2667 # Tests whether TYPE exists after having included INCLUDES, setting cache
2668 # variable VAR accordingly.
2669 ac_fn_c_check_type ()
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" >&5
2673 $as_echo_n "checking for $2... " >&6; }
2674 if eval \${$3+:} false; then :
2675 $as_echo_n "(cached) " >&6
2676 else
2677 eval "$3=no"
2678 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2679 /* end confdefs.h. */
2682 main ()
2684 if (sizeof ($2))
2685 return 0;
2687 return 0;
2689 _ACEOF
2690 if ac_fn_c_try_compile "$LINENO"; then :
2691 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2692 /* end confdefs.h. */
2695 main ()
2697 if (sizeof (($2)))
2698 return 0;
2700 return 0;
2702 _ACEOF
2703 if ac_fn_c_try_compile "$LINENO"; then :
2705 else
2706 eval "$3=yes"
2708 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
2710 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
2712 eval ac_res=\$$3
2713 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
2714 $as_echo "$ac_res" >&6; }
2715 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
2717 } # ac_fn_c_check_type
2718 cat >config.log <<_ACEOF
2719 This file contains any messages produced by compilers while
2720 running configure, to aid debugging if configure makes a mistake.
2722 It was created by Wine $as_me 1.7.11, which was
2723 generated by GNU Autoconf 2.69. Invocation command line was
2725 $ $0 $@
2727 _ACEOF
2728 exec 5>>config.log
2730 cat <<_ASUNAME
2731 ## --------- ##
2732 ## Platform. ##
2733 ## --------- ##
2735 hostname = `(hostname || uname -n) 2>/dev/null | sed 1q`
2736 uname -m = `(uname -m) 2>/dev/null || echo unknown`
2737 uname -r = `(uname -r) 2>/dev/null || echo unknown`
2738 uname -s = `(uname -s) 2>/dev/null || echo unknown`
2739 uname -v = `(uname -v) 2>/dev/null || echo unknown`
2741 /usr/bin/uname -p = `(/usr/bin/uname -p) 2>/dev/null || echo unknown`
2742 /bin/uname -X = `(/bin/uname -X) 2>/dev/null || echo unknown`
2744 /bin/arch = `(/bin/arch) 2>/dev/null || echo unknown`
2745 /usr/bin/arch -k = `(/usr/bin/arch -k) 2>/dev/null || echo unknown`
2746 /usr/convex/getsysinfo = `(/usr/convex/getsysinfo) 2>/dev/null || echo unknown`
2747 /usr/bin/hostinfo = `(/usr/bin/hostinfo) 2>/dev/null || echo unknown`
2748 /bin/machine = `(/bin/machine) 2>/dev/null || echo unknown`
2749 /usr/bin/oslevel = `(/usr/bin/oslevel) 2>/dev/null || echo unknown`
2750 /bin/universe = `(/bin/universe) 2>/dev/null || echo unknown`
2752 _ASUNAME
2754 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2755 for as_dir in $PATH
2757 IFS=$as_save_IFS
2758 test -z "$as_dir" && as_dir=.
2759 $as_echo "PATH: $as_dir"
2760 done
2761 IFS=$as_save_IFS
2763 } >&5
2765 cat >&5 <<_ACEOF
2768 ## ----------- ##
2769 ## Core tests. ##
2770 ## ----------- ##
2772 _ACEOF
2775 # Keep a trace of the command line.
2776 # Strip out --no-create and --no-recursion so they do not pile up.
2777 # Strip out --silent because we don't want to record it for future runs.
2778 # Also quote any args containing shell meta-characters.
2779 # Make two passes to allow for proper duplicate-argument suppression.
2780 ac_configure_args=
2781 ac_configure_args0=
2782 ac_configure_args1=
2783 ac_must_keep_next=false
2784 for ac_pass in 1 2
2786 for ac_arg
2788 case $ac_arg in
2789 -no-create | --no-c* | -n | -no-recursion | --no-r*) continue ;;
2790 -q | -quiet | --quiet | --quie | --qui | --qu | --q \
2791 | -silent | --silent | --silen | --sile | --sil)
2792 continue ;;
2793 *\'*)
2794 ac_arg=`$as_echo "$ac_arg" | sed "s/'/'\\\\\\\\''/g"` ;;
2795 esac
2796 case $ac_pass in
2797 1) as_fn_append ac_configure_args0 " '$ac_arg'" ;;
2799 as_fn_append ac_configure_args1 " '$ac_arg'"
2800 if test $ac_must_keep_next = true; then
2801 ac_must_keep_next=false # Got value, back to normal.
2802 else
2803 case $ac_arg in
2804 *=* | --config-cache | -C | -disable-* | --disable-* \
2805 | -enable-* | --enable-* | -gas | --g* | -nfp | --nf* \
2806 | -q | -quiet | --q* | -silent | --sil* | -v | -verb* \
2807 | -with-* | --with-* | -without-* | --without-* | --x)
2808 case "$ac_configure_args0 " in
2809 "$ac_configure_args1"*" '$ac_arg' "* ) continue ;;
2810 esac
2812 -* ) ac_must_keep_next=true ;;
2813 esac
2815 as_fn_append ac_configure_args " '$ac_arg'"
2817 esac
2818 done
2819 done
2820 { ac_configure_args0=; unset ac_configure_args0;}
2821 { ac_configure_args1=; unset ac_configure_args1;}
2823 # When interrupted or exit'd, cleanup temporary files, and complete
2824 # config.log. We remove comments because anyway the quotes in there
2825 # would cause problems or look ugly.
2826 # WARNING: Use '\'' to represent an apostrophe within the trap.
2827 # WARNING: Do not start the trap code with a newline, due to a FreeBSD 4.0 bug.
2828 trap 'exit_status=$?
2829 # Save into config.log some information that might help in debugging.
2831 echo
2833 $as_echo "## ---------------- ##
2834 ## Cache variables. ##
2835 ## ---------------- ##"
2836 echo
2837 # The following way of writing the cache mishandles newlines in values,
2839 for ac_var in `(set) 2>&1 | sed -n '\''s/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'\''`; do
2840 eval ac_val=\$$ac_var
2841 case $ac_val in #(
2842 *${as_nl}*)
2843 case $ac_var in #(
2844 *_cv_*) { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: cache variable $ac_var contains a newline" >&5
2845 $as_echo "$as_me: WARNING: cache variable $ac_var contains a newline" >&2;} ;;
2846 esac
2847 case $ac_var in #(
2848 _ | IFS | as_nl) ;; #(
2849 BASH_ARGV | BASH_SOURCE) eval $ac_var= ;; #(
2850 *) { eval $ac_var=; unset $ac_var;} ;;
2851 esac ;;
2852 esac
2853 done
2854 (set) 2>&1 |
2855 case $as_nl`(ac_space='\'' '\''; set) 2>&1` in #(
2856 *${as_nl}ac_space=\ *)
2857 sed -n \
2858 "s/'\''/'\''\\\\'\'''\''/g;
2859 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\''\\2'\''/p"
2860 ;; #(
2862 sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
2864 esac |
2865 sort
2867 echo
2869 $as_echo "## ----------------- ##
2870 ## Output variables. ##
2871 ## ----------------- ##"
2872 echo
2873 for ac_var in $ac_subst_vars
2875 eval ac_val=\$$ac_var
2876 case $ac_val in
2877 *\'\''*) ac_val=`$as_echo "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;;
2878 esac
2879 $as_echo "$ac_var='\''$ac_val'\''"
2880 done | sort
2881 echo
2883 if test -n "$ac_subst_files"; then
2884 $as_echo "## ------------------- ##
2885 ## File substitutions. ##
2886 ## ------------------- ##"
2887 echo
2888 for ac_var in $ac_subst_files
2890 eval ac_val=\$$ac_var
2891 case $ac_val in
2892 *\'\''*) ac_val=`$as_echo "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;;
2893 esac
2894 $as_echo "$ac_var='\''$ac_val'\''"
2895 done | sort
2896 echo
2899 if test -s confdefs.h; then
2900 $as_echo "## ----------- ##
2901 ## confdefs.h. ##
2902 ## ----------- ##"
2903 echo
2904 cat confdefs.h
2905 echo
2907 test "$ac_signal" != 0 &&
2908 $as_echo "$as_me: caught signal $ac_signal"
2909 $as_echo "$as_me: exit $exit_status"
2910 } >&5
2911 rm -f core *.core core.conftest.* &&
2912 rm -f -r conftest* confdefs* conf$$* $ac_clean_files &&
2913 exit $exit_status
2915 for ac_signal in 1 2 13 15; do
2916 trap 'ac_signal='$ac_signal'; as_fn_exit 1' $ac_signal
2917 done
2918 ac_signal=0
2920 # confdefs.h avoids OS command line length limits that DEFS can exceed.
2921 rm -f -r conftest* confdefs.h
2923 $as_echo "/* confdefs.h */" > confdefs.h
2925 # Predefined preprocessor variables.
2927 cat >>confdefs.h <<_ACEOF
2928 #define PACKAGE_NAME "$PACKAGE_NAME"
2929 _ACEOF
2931 cat >>confdefs.h <<_ACEOF
2932 #define PACKAGE_TARNAME "$PACKAGE_TARNAME"
2933 _ACEOF
2935 cat >>confdefs.h <<_ACEOF
2936 #define PACKAGE_VERSION "$PACKAGE_VERSION"
2937 _ACEOF
2939 cat >>confdefs.h <<_ACEOF
2940 #define PACKAGE_STRING "$PACKAGE_STRING"
2941 _ACEOF
2943 cat >>confdefs.h <<_ACEOF
2944 #define PACKAGE_BUGREPORT "$PACKAGE_BUGREPORT"
2945 _ACEOF
2947 cat >>confdefs.h <<_ACEOF
2948 #define PACKAGE_URL "$PACKAGE_URL"
2949 _ACEOF
2952 # Let the site file select an alternate cache file if it wants to.
2953 # Prefer an explicitly selected file to automatically selected ones.
2954 ac_site_file1=NONE
2955 ac_site_file2=NONE
2956 if test -n "$CONFIG_SITE"; then
2957 # We do not want a PATH search for config.site.
2958 case $CONFIG_SITE in #((
2959 -*) ac_site_file1=./$CONFIG_SITE;;
2960 */*) ac_site_file1=$CONFIG_SITE;;
2961 *) ac_site_file1=./$CONFIG_SITE;;
2962 esac
2963 elif test "x$prefix" != xNONE; then
2964 ac_site_file1=$prefix/share/config.site
2965 ac_site_file2=$prefix/etc/config.site
2966 else
2967 ac_site_file1=$ac_default_prefix/share/config.site
2968 ac_site_file2=$ac_default_prefix/etc/config.site
2970 for ac_site_file in "$ac_site_file1" "$ac_site_file2"
2972 test "x$ac_site_file" = xNONE && continue
2973 if test /dev/null != "$ac_site_file" && test -r "$ac_site_file"; then
2974 { $as_echo "$as_me:${as_lineno-$LINENO}: loading site script $ac_site_file" >&5
2975 $as_echo "$as_me: loading site script $ac_site_file" >&6;}
2976 sed 's/^/| /' "$ac_site_file" >&5
2977 . "$ac_site_file" \
2978 || { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
2979 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
2980 as_fn_error $? "failed to load site script $ac_site_file
2981 See \`config.log' for more details" "$LINENO" 5; }
2983 done
2985 if test -r "$cache_file"; then
2986 # Some versions of bash will fail to source /dev/null (special files
2987 # actually), so we avoid doing that. DJGPP emulates it as a regular file.
2988 if test /dev/null != "$cache_file" && test -f "$cache_file"; then
2989 { $as_echo "$as_me:${as_lineno-$LINENO}: loading cache $cache_file" >&5
2990 $as_echo "$as_me: loading cache $cache_file" >&6;}
2991 case $cache_file in
2992 [\\/]* | ?:[\\/]* ) . "$cache_file";;
2993 *) . "./$cache_file";;
2994 esac
2996 else
2997 { $as_echo "$as_me:${as_lineno-$LINENO}: creating cache $cache_file" >&5
2998 $as_echo "$as_me: creating cache $cache_file" >&6;}
2999 >$cache_file
3002 # Check that the precious variables saved in the cache have kept the same
3003 # value.
3004 ac_cache_corrupted=false
3005 for ac_var in $ac_precious_vars; do
3006 eval ac_old_set=\$ac_cv_env_${ac_var}_set
3007 eval ac_new_set=\$ac_env_${ac_var}_set
3008 eval ac_old_val=\$ac_cv_env_${ac_var}_value
3009 eval ac_new_val=\$ac_env_${ac_var}_value
3010 case $ac_old_set,$ac_new_set in
3011 set,)
3012 { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&5
3013 $as_echo "$as_me: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&2;}
3014 ac_cache_corrupted=: ;;
3015 ,set)
3016 { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' was not set in the previous run" >&5
3017 $as_echo "$as_me: error: \`$ac_var' was not set in the previous run" >&2;}
3018 ac_cache_corrupted=: ;;
3019 ,);;
3021 if test "x$ac_old_val" != "x$ac_new_val"; then
3022 # differences in whitespace do not lead to failure.
3023 ac_old_val_w=`echo x $ac_old_val`
3024 ac_new_val_w=`echo x $ac_new_val`
3025 if test "$ac_old_val_w" != "$ac_new_val_w"; then
3026 { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' has changed since the previous run:" >&5
3027 $as_echo "$as_me: error: \`$ac_var' has changed since the previous run:" >&2;}
3028 ac_cache_corrupted=:
3029 else
3030 { $as_echo "$as_me:${as_lineno-$LINENO}: warning: ignoring whitespace changes in \`$ac_var' since the previous run:" >&5
3031 $as_echo "$as_me: warning: ignoring whitespace changes in \`$ac_var' since the previous run:" >&2;}
3032 eval $ac_var=\$ac_old_val
3034 { $as_echo "$as_me:${as_lineno-$LINENO}: former value: \`$ac_old_val'" >&5
3035 $as_echo "$as_me: former value: \`$ac_old_val'" >&2;}
3036 { $as_echo "$as_me:${as_lineno-$LINENO}: current value: \`$ac_new_val'" >&5
3037 $as_echo "$as_me: current value: \`$ac_new_val'" >&2;}
3038 fi;;
3039 esac
3040 # Pass precious variables to config.status.
3041 if test "$ac_new_set" = set; then
3042 case $ac_new_val in
3043 *\'*) ac_arg=$ac_var=`$as_echo "$ac_new_val" | sed "s/'/'\\\\\\\\''/g"` ;;
3044 *) ac_arg=$ac_var=$ac_new_val ;;
3045 esac
3046 case " $ac_configure_args " in
3047 *" '$ac_arg' "*) ;; # Avoid dups. Use of quotes ensures accuracy.
3048 *) as_fn_append ac_configure_args " '$ac_arg'" ;;
3049 esac
3051 done
3052 if $ac_cache_corrupted; then
3053 { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
3054 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
3055 { $as_echo "$as_me:${as_lineno-$LINENO}: error: changes in the environment can compromise the build" >&5
3056 $as_echo "$as_me: error: changes in the environment can compromise the build" >&2;}
3057 as_fn_error $? "run \`make distclean' and/or \`rm $cache_file' and start over" "$LINENO" 5
3059 ## -------------------- ##
3060 ## Main body of script. ##
3061 ## -------------------- ##
3063 ac_ext=c
3064 ac_cpp='$CPP $CPPFLAGS'
3065 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
3066 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
3067 ac_compiler_gnu=$ac_cv_c_compiler_gnu
3071 ac_config_headers="$ac_config_headers include/config.h"
3073 ac_aux_dir=
3074 for ac_dir in tools "$srcdir"/tools; do
3075 if test -f "$ac_dir/install-sh"; then
3076 ac_aux_dir=$ac_dir
3077 ac_install_sh="$ac_aux_dir/install-sh -c"
3078 break
3079 elif test -f "$ac_dir/install.sh"; then
3080 ac_aux_dir=$ac_dir
3081 ac_install_sh="$ac_aux_dir/install.sh -c"
3082 break
3083 elif test -f "$ac_dir/shtool"; then
3084 ac_aux_dir=$ac_dir
3085 ac_install_sh="$ac_aux_dir/shtool install -c"
3086 break
3088 done
3089 if test -z "$ac_aux_dir"; then
3090 as_fn_error $? "cannot find install-sh, install.sh, or shtool in tools \"$srcdir\"/tools" "$LINENO" 5
3093 # These three variables are undocumented and unsupported,
3094 # and are intended to be withdrawn in a future Autoconf release.
3095 # They can cause serious problems if a builder's source tree is in a directory
3096 # whose full name contains unusual characters.
3097 ac_config_guess="$SHELL $ac_aux_dir/config.guess" # Please don't use this var.
3098 ac_config_sub="$SHELL $ac_aux_dir/config.sub" # Please don't use this var.
3099 ac_configure="$SHELL $ac_aux_dir/configure" # Please don't use this var.
3103 libwine_version="1.0"
3107 # Check whether --enable-win16 was given.
3108 if test "${enable_win16+set}" = set; then :
3109 enableval=$enable_win16;
3112 # Check whether --enable-win64 was given.
3113 if test "${enable_win64+set}" = set; then :
3114 enableval=$enable_win64;
3117 # Check whether --enable-tests was given.
3118 if test "${enable_tests+set}" = set; then :
3119 enableval=$enable_tests;
3122 # Check whether --enable-maintainer-mode was given.
3123 if test "${enable_maintainer_mode+set}" = set; then :
3124 enableval=$enable_maintainer_mode;
3129 # Check whether --with-alsa was given.
3130 if test "${with_alsa+set}" = set; then :
3131 withval=$with_alsa; if test "x$withval" = "xno"; then ac_cv_header_sys_asoundlib_h=no; ac_cv_header_alsa_asoundlib_h=no; fi
3135 # Check whether --with-capi was given.
3136 if test "${with_capi+set}" = set; then :
3137 withval=$with_capi;
3141 # Check whether --with-cms was given.
3142 if test "${with_cms+set}" = set; then :
3143 withval=$with_cms;
3147 # Check whether --with-coreaudio was given.
3148 if test "${with_coreaudio+set}" = set; then :
3149 withval=$with_coreaudio; if test "x$withval" = "xno"; then ac_cv_header_CoreAudio_CoreAudio_h=no; fi
3153 # Check whether --with-cups was given.
3154 if test "${with_cups+set}" = set; then :
3155 withval=$with_cups;
3159 # Check whether --with-curses was given.
3160 if test "${with_curses+set}" = set; then :
3161 withval=$with_curses; if test "x$withval" = "xno"; then ac_cv_header_ncurses_h=no; ac_cv_header_curses_h=no; fi
3165 # Check whether --with-dbus was given.
3166 if test "${with_dbus+set}" = set; then :
3167 withval=$with_dbus;
3171 # Check whether --with-fontconfig was given.
3172 if test "${with_fontconfig+set}" = set; then :
3173 withval=$with_fontconfig;
3177 # Check whether --with-freetype was given.
3178 if test "${with_freetype+set}" = set; then :
3179 withval=$with_freetype;
3183 # Check whether --with-gettext was given.
3184 if test "${with_gettext+set}" = set; then :
3185 withval=$with_gettext;
3189 # Check whether --with-gettextpo was given.
3190 if test "${with_gettextpo+set}" = set; then :
3191 withval=$with_gettextpo; if test "x$withval" = "xno"; then ac_cv_header_gettext_po_h=no; fi
3195 # Check whether --with-gphoto was given.
3196 if test "${with_gphoto+set}" = set; then :
3197 withval=$with_gphoto;
3201 # Check whether --with-glu was given.
3202 if test "${with_glu+set}" = set; then :
3203 withval=$with_glu;
3207 # Check whether --with-gnutls was given.
3208 if test "${with_gnutls+set}" = set; then :
3209 withval=$with_gnutls;
3213 # Check whether --with-gsm was given.
3214 if test "${with_gsm+set}" = set; then :
3215 withval=$with_gsm; if test "x$withval" = "xno"; then ac_cv_header_gsm_h=no; ac_cv_header_gsm_gsm_h=no; fi
3219 # Check whether --with-gstreamer was given.
3220 if test "${with_gstreamer+set}" = set; then :
3221 withval=$with_gstreamer;
3225 # Check whether --with-hal was given.
3226 if test "${with_hal+set}" = set; then :
3227 withval=$with_hal;
3231 # Check whether --with-jpeg was given.
3232 if test "${with_jpeg+set}" = set; then :
3233 withval=$with_jpeg;
3237 # Check whether --with-ldap was given.
3238 if test "${with_ldap+set}" = set; then :
3239 withval=$with_ldap; if test "x$withval" = "xno"; then ac_cv_header_ldap_h=no; ac_cv_header_lber_h=no; fi
3243 # Check whether --with-mpg123 was given.
3244 if test "${with_mpg123+set}" = set; then :
3245 withval=$with_mpg123;
3249 # Check whether --with-netapi was given.
3250 if test "${with_netapi+set}" = set; then :
3251 withval=$with_netapi;
3255 # Check whether --with-openal was given.
3256 if test "${with_openal+set}" = set; then :
3257 withval=$with_openal; if test "x$withval" = "xno"; then ac_cv_header_AL_al_h=no; ac_cv_header_OpenAL_al_h=no; fi
3261 # Check whether --with-opencl was given.
3262 if test "${with_opencl+set}" = set; then :
3263 withval=$with_opencl; if test "x$withval" = "xno"; then ac_cv_header_CL_cl_h=no; ac_cv_header_OpenCL_opencl_h=no; fi
3267 # Check whether --with-opengl was given.
3268 if test "${with_opengl+set}" = set; then :
3269 withval=$with_opengl;
3273 # Check whether --with-osmesa was given.
3274 if test "${with_osmesa+set}" = set; then :
3275 withval=$with_osmesa;
3279 # Check whether --with-oss was given.
3280 if test "${with_oss+set}" = set; then :
3281 withval=$with_oss;
3285 # Check whether --with-png was given.
3286 if test "${with_png+set}" = set; then :
3287 withval=$with_png;
3291 # Check whether --with-pthread was given.
3292 if test "${with_pthread+set}" = set; then :
3293 withval=$with_pthread; if test "x$withval" = "xno"; then ac_cv_header_pthread_h=no; fi
3297 # Check whether --with-sane was given.
3298 if test "${with_sane+set}" = set; then :
3299 withval=$with_sane;
3303 # Check whether --with-tiff was given.
3304 if test "${with_tiff+set}" = set; then :
3305 withval=$with_tiff;
3309 # Check whether --with-v4l was given.
3310 if test "${with_v4l+set}" = set; then :
3311 withval=$with_v4l;
3315 # Check whether --with-xcomposite was given.
3316 if test "${with_xcomposite+set}" = set; then :
3317 withval=$with_xcomposite; if test "x$withval" = "xno"; then ac_cv_header_X11_extensions_Xcomposite_h=no; fi
3321 # Check whether --with-xcursor was given.
3322 if test "${with_xcursor+set}" = set; then :
3323 withval=$with_xcursor; if test "x$withval" = "xno"; then ac_cv_header_X11_Xcursor_Xcursor_h=no; fi
3327 # Check whether --with-xinerama was given.
3328 if test "${with_xinerama+set}" = set; then :
3329 withval=$with_xinerama; if test "x$withval" = "xno"; then ac_cv_header_X11_extensions_Xinerama_h=no; fi
3333 # Check whether --with-xinput was given.
3334 if test "${with_xinput+set}" = set; then :
3335 withval=$with_xinput; if test "x$withval" = "xno"; then ac_cv_header_X11_extensions_XInput_h=no; fi
3339 # Check whether --with-xinput2 was given.
3340 if test "${with_xinput2+set}" = set; then :
3341 withval=$with_xinput2; if test "x$withval" = "xno"; then ac_cv_header_X11_extensions_XInput2_h=no; fi
3345 # Check whether --with-xml was given.
3346 if test "${with_xml+set}" = set; then :
3347 withval=$with_xml;
3351 # Check whether --with-xrandr was given.
3352 if test "${with_xrandr+set}" = set; then :
3353 withval=$with_xrandr; if test "x$withval" = "xno"; then ac_cv_header_X11_extensions_Xrandr_h=no; fi
3357 # Check whether --with-xrender was given.
3358 if test "${with_xrender+set}" = set; then :
3359 withval=$with_xrender; if test "x$withval" = "xno"; then ac_cv_header_X11_extensions_Xrender_h=no; fi
3363 # Check whether --with-xshape was given.
3364 if test "${with_xshape+set}" = set; then :
3365 withval=$with_xshape; if test "x$withval" = "xno"; then ac_cv_header_X11_extensions_shape_h=no; fi
3369 # Check whether --with-xshm was given.
3370 if test "${with_xshm+set}" = set; then :
3371 withval=$with_xshm; if test "x$withval" = "xno"; then ac_cv_header_X11_extensions_XShm_h=no; fi
3375 # Check whether --with-xslt was given.
3376 if test "${with_xslt+set}" = set; then :
3377 withval=$with_xslt;
3381 # Check whether --with-xxf86vm was given.
3382 if test "${with_xxf86vm+set}" = set; then :
3383 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
3387 # Check whether --with-zlib was given.
3388 if test "${with_zlib+set}" = set; then :
3389 withval=$with_zlib; if test "x$withval" = "xno"; then ac_cv_header_zlib_h=no; fi
3394 # Check whether --with-wine-tools was given.
3395 if test "${with_wine_tools+set}" = set; then :
3396 withval=$with_wine_tools;
3400 # Check whether --with-wine64 was given.
3401 if test "${with_wine64+set}" = set; then :
3402 withval=$with_wine64;
3406 # Make sure we can run config.sub.
3407 $SHELL "$ac_aux_dir/config.sub" sun4 >/dev/null 2>&1 ||
3408 as_fn_error $? "cannot run $SHELL $ac_aux_dir/config.sub" "$LINENO" 5
3410 { $as_echo "$as_me:${as_lineno-$LINENO}: checking build system type" >&5
3411 $as_echo_n "checking build system type... " >&6; }
3412 if ${ac_cv_build+:} false; then :
3413 $as_echo_n "(cached) " >&6
3414 else
3415 ac_build_alias=$build_alias
3416 test "x$ac_build_alias" = x &&
3417 ac_build_alias=`$SHELL "$ac_aux_dir/config.guess"`
3418 test "x$ac_build_alias" = x &&
3419 as_fn_error $? "cannot guess build type; you must specify one" "$LINENO" 5
3420 ac_cv_build=`$SHELL "$ac_aux_dir/config.sub" $ac_build_alias` ||
3421 as_fn_error $? "$SHELL $ac_aux_dir/config.sub $ac_build_alias failed" "$LINENO" 5
3424 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_build" >&5
3425 $as_echo "$ac_cv_build" >&6; }
3426 case $ac_cv_build in
3427 *-*-*) ;;
3428 *) as_fn_error $? "invalid value of canonical build" "$LINENO" 5;;
3429 esac
3430 build=$ac_cv_build
3431 ac_save_IFS=$IFS; IFS='-'
3432 set x $ac_cv_build
3433 shift
3434 build_cpu=$1
3435 build_vendor=$2
3436 shift; shift
3437 # Remember, the first character of IFS is used to create $*,
3438 # except with old shells:
3439 build_os=$*
3440 IFS=$ac_save_IFS
3441 case $build_os in *\ *) build_os=`echo "$build_os" | sed 's/ /-/g'`;; esac
3444 { $as_echo "$as_me:${as_lineno-$LINENO}: checking host system type" >&5
3445 $as_echo_n "checking host system type... " >&6; }
3446 if ${ac_cv_host+:} false; then :
3447 $as_echo_n "(cached) " >&6
3448 else
3449 if test "x$host_alias" = x; then
3450 ac_cv_host=$ac_cv_build
3451 else
3452 ac_cv_host=`$SHELL "$ac_aux_dir/config.sub" $host_alias` ||
3453 as_fn_error $? "$SHELL $ac_aux_dir/config.sub $host_alias failed" "$LINENO" 5
3457 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_host" >&5
3458 $as_echo "$ac_cv_host" >&6; }
3459 case $ac_cv_host in
3460 *-*-*) ;;
3461 *) as_fn_error $? "invalid value of canonical host" "$LINENO" 5;;
3462 esac
3463 host=$ac_cv_host
3464 ac_save_IFS=$IFS; IFS='-'
3465 set x $ac_cv_host
3466 shift
3467 host_cpu=$1
3468 host_vendor=$2
3469 shift; shift
3470 # Remember, the first character of IFS is used to create $*,
3471 # except with old shells:
3472 host_os=$*
3473 IFS=$ac_save_IFS
3474 case $host_os in *\ *) host_os=`echo "$host_os" | sed 's/ /-/g'`;; esac
3478 case "$srcdir" in
3479 .) ;;
3480 *) if test -f "$srcdir/Makefile" -o -f "$srcdir/include/config.h"; then
3481 as_fn_error $? "you are building out of the source tree, but the source tree contains object files.
3482 You need to run 'make distclean' in the source tree first." "$LINENO" 5
3483 fi ;;
3484 esac
3487 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ${MAKE-make} sets \$(MAKE)" >&5
3488 $as_echo_n "checking whether ${MAKE-make} sets \$(MAKE)... " >&6; }
3489 set x ${MAKE-make}
3490 ac_make=`$as_echo "$2" | sed 's/+/p/g; s/[^a-zA-Z0-9_]/_/g'`
3491 if eval \${ac_cv_prog_make_${ac_make}_set+:} false; then :
3492 $as_echo_n "(cached) " >&6
3493 else
3494 cat >conftest.make <<\_ACEOF
3495 SHELL = /bin/sh
3496 all:
3497 @echo '@@@%%%=$(MAKE)=@@@%%%'
3498 _ACEOF
3499 # GNU make sometimes prints "make[1]: Entering ...", which would confuse us.
3500 case `${MAKE-make} -f conftest.make 2>/dev/null` in
3501 *@@@%%%=?*=@@@%%%*)
3502 eval ac_cv_prog_make_${ac_make}_set=yes;;
3504 eval ac_cv_prog_make_${ac_make}_set=no;;
3505 esac
3506 rm -f conftest.make
3508 if eval test \$ac_cv_prog_make_${ac_make}_set = yes; then
3509 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
3510 $as_echo "yes" >&6; }
3511 SET_MAKE=
3512 else
3513 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3514 $as_echo "no" >&6; }
3515 SET_MAKE="MAKE=${MAKE-make}"
3518 ac_ext=c
3519 ac_cpp='$CPP $CPPFLAGS'
3520 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
3521 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
3522 ac_compiler_gnu=$ac_cv_c_compiler_gnu
3523 if test -n "$ac_tool_prefix"; then
3524 # Extract the first word of "${ac_tool_prefix}gcc", so it can be a program name with args.
3525 set dummy ${ac_tool_prefix}gcc; ac_word=$2
3526 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3527 $as_echo_n "checking for $ac_word... " >&6; }
3528 if ${ac_cv_prog_CC+:} false; then :
3529 $as_echo_n "(cached) " >&6
3530 else
3531 if test -n "$CC"; then
3532 ac_cv_prog_CC="$CC" # Let the user override the test.
3533 else
3534 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3535 for as_dir in $PATH
3537 IFS=$as_save_IFS
3538 test -z "$as_dir" && as_dir=.
3539 for ac_exec_ext in '' $ac_executable_extensions; do
3540 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
3541 ac_cv_prog_CC="${ac_tool_prefix}gcc"
3542 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3543 break 2
3545 done
3546 done
3547 IFS=$as_save_IFS
3551 CC=$ac_cv_prog_CC
3552 if test -n "$CC"; then
3553 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
3554 $as_echo "$CC" >&6; }
3555 else
3556 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3557 $as_echo "no" >&6; }
3562 if test -z "$ac_cv_prog_CC"; then
3563 ac_ct_CC=$CC
3564 # Extract the first word of "gcc", so it can be a program name with args.
3565 set dummy gcc; ac_word=$2
3566 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3567 $as_echo_n "checking for $ac_word... " >&6; }
3568 if ${ac_cv_prog_ac_ct_CC+:} false; then :
3569 $as_echo_n "(cached) " >&6
3570 else
3571 if test -n "$ac_ct_CC"; then
3572 ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
3573 else
3574 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3575 for as_dir in $PATH
3577 IFS=$as_save_IFS
3578 test -z "$as_dir" && as_dir=.
3579 for ac_exec_ext in '' $ac_executable_extensions; do
3580 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
3581 ac_cv_prog_ac_ct_CC="gcc"
3582 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3583 break 2
3585 done
3586 done
3587 IFS=$as_save_IFS
3591 ac_ct_CC=$ac_cv_prog_ac_ct_CC
3592 if test -n "$ac_ct_CC"; then
3593 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CC" >&5
3594 $as_echo "$ac_ct_CC" >&6; }
3595 else
3596 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3597 $as_echo "no" >&6; }
3600 if test "x$ac_ct_CC" = x; then
3601 CC=""
3602 else
3603 case $cross_compiling:$ac_tool_warned in
3604 yes:)
3605 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
3606 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
3607 ac_tool_warned=yes ;;
3608 esac
3609 CC=$ac_ct_CC
3611 else
3612 CC="$ac_cv_prog_CC"
3615 if test -z "$CC"; then
3616 if test -n "$ac_tool_prefix"; then
3617 # Extract the first word of "${ac_tool_prefix}cc", so it can be a program name with args.
3618 set dummy ${ac_tool_prefix}cc; ac_word=$2
3619 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3620 $as_echo_n "checking for $ac_word... " >&6; }
3621 if ${ac_cv_prog_CC+:} false; then :
3622 $as_echo_n "(cached) " >&6
3623 else
3624 if test -n "$CC"; then
3625 ac_cv_prog_CC="$CC" # Let the user override the test.
3626 else
3627 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3628 for as_dir in $PATH
3630 IFS=$as_save_IFS
3631 test -z "$as_dir" && as_dir=.
3632 for ac_exec_ext in '' $ac_executable_extensions; do
3633 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
3634 ac_cv_prog_CC="${ac_tool_prefix}cc"
3635 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3636 break 2
3638 done
3639 done
3640 IFS=$as_save_IFS
3644 CC=$ac_cv_prog_CC
3645 if test -n "$CC"; then
3646 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
3647 $as_echo "$CC" >&6; }
3648 else
3649 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3650 $as_echo "no" >&6; }
3656 if test -z "$CC"; then
3657 # Extract the first word of "cc", so it can be a program name with args.
3658 set dummy cc; ac_word=$2
3659 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3660 $as_echo_n "checking for $ac_word... " >&6; }
3661 if ${ac_cv_prog_CC+:} false; then :
3662 $as_echo_n "(cached) " >&6
3663 else
3664 if test -n "$CC"; then
3665 ac_cv_prog_CC="$CC" # Let the user override the test.
3666 else
3667 ac_prog_rejected=no
3668 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3669 for as_dir in $PATH
3671 IFS=$as_save_IFS
3672 test -z "$as_dir" && as_dir=.
3673 for ac_exec_ext in '' $ac_executable_extensions; do
3674 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
3675 if test "$as_dir/$ac_word$ac_exec_ext" = "/usr/ucb/cc"; then
3676 ac_prog_rejected=yes
3677 continue
3679 ac_cv_prog_CC="cc"
3680 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3681 break 2
3683 done
3684 done
3685 IFS=$as_save_IFS
3687 if test $ac_prog_rejected = yes; then
3688 # We found a bogon in the path, so make sure we never use it.
3689 set dummy $ac_cv_prog_CC
3690 shift
3691 if test $# != 0; then
3692 # We chose a different compiler from the bogus one.
3693 # However, it has the same basename, so the bogon will be chosen
3694 # first if we set CC to just the basename; use the full file name.
3695 shift
3696 ac_cv_prog_CC="$as_dir/$ac_word${1+' '}$@"
3701 CC=$ac_cv_prog_CC
3702 if test -n "$CC"; then
3703 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
3704 $as_echo "$CC" >&6; }
3705 else
3706 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3707 $as_echo "no" >&6; }
3712 if test -z "$CC"; then
3713 if test -n "$ac_tool_prefix"; then
3714 for ac_prog in cl.exe
3716 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
3717 set dummy $ac_tool_prefix$ac_prog; ac_word=$2
3718 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3719 $as_echo_n "checking for $ac_word... " >&6; }
3720 if ${ac_cv_prog_CC+:} false; then :
3721 $as_echo_n "(cached) " >&6
3722 else
3723 if test -n "$CC"; then
3724 ac_cv_prog_CC="$CC" # Let the user override the test.
3725 else
3726 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3727 for as_dir in $PATH
3729 IFS=$as_save_IFS
3730 test -z "$as_dir" && as_dir=.
3731 for ac_exec_ext in '' $ac_executable_extensions; do
3732 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
3733 ac_cv_prog_CC="$ac_tool_prefix$ac_prog"
3734 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3735 break 2
3737 done
3738 done
3739 IFS=$as_save_IFS
3743 CC=$ac_cv_prog_CC
3744 if test -n "$CC"; then
3745 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
3746 $as_echo "$CC" >&6; }
3747 else
3748 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3749 $as_echo "no" >&6; }
3753 test -n "$CC" && break
3754 done
3756 if test -z "$CC"; then
3757 ac_ct_CC=$CC
3758 for ac_prog in cl.exe
3760 # Extract the first word of "$ac_prog", so it can be a program name with args.
3761 set dummy $ac_prog; ac_word=$2
3762 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3763 $as_echo_n "checking for $ac_word... " >&6; }
3764 if ${ac_cv_prog_ac_ct_CC+:} false; then :
3765 $as_echo_n "(cached) " >&6
3766 else
3767 if test -n "$ac_ct_CC"; then
3768 ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
3769 else
3770 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3771 for as_dir in $PATH
3773 IFS=$as_save_IFS
3774 test -z "$as_dir" && as_dir=.
3775 for ac_exec_ext in '' $ac_executable_extensions; do
3776 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
3777 ac_cv_prog_ac_ct_CC="$ac_prog"
3778 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3779 break 2
3781 done
3782 done
3783 IFS=$as_save_IFS
3787 ac_ct_CC=$ac_cv_prog_ac_ct_CC
3788 if test -n "$ac_ct_CC"; then
3789 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CC" >&5
3790 $as_echo "$ac_ct_CC" >&6; }
3791 else
3792 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3793 $as_echo "no" >&6; }
3797 test -n "$ac_ct_CC" && break
3798 done
3800 if test "x$ac_ct_CC" = x; then
3801 CC=""
3802 else
3803 case $cross_compiling:$ac_tool_warned in
3804 yes:)
3805 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
3806 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
3807 ac_tool_warned=yes ;;
3808 esac
3809 CC=$ac_ct_CC
3816 test -z "$CC" && { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
3817 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
3818 as_fn_error $? "no acceptable C compiler found in \$PATH
3819 See \`config.log' for more details" "$LINENO" 5; }
3821 # Provide some information about the compiler.
3822 $as_echo "$as_me:${as_lineno-$LINENO}: checking for C compiler version" >&5
3823 set X $ac_compile
3824 ac_compiler=$2
3825 for ac_option in --version -v -V -qversion; do
3826 { { ac_try="$ac_compiler $ac_option >&5"
3827 case "(($ac_try" in
3828 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3829 *) ac_try_echo=$ac_try;;
3830 esac
3831 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
3832 $as_echo "$ac_try_echo"; } >&5
3833 (eval "$ac_compiler $ac_option >&5") 2>conftest.err
3834 ac_status=$?
3835 if test -s conftest.err; then
3836 sed '10a\
3837 ... rest of stderr output deleted ...
3838 10q' conftest.err >conftest.er1
3839 cat conftest.er1 >&5
3841 rm -f conftest.er1 conftest.err
3842 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
3843 test $ac_status = 0; }
3844 done
3846 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3847 /* end confdefs.h. */
3850 main ()
3854 return 0;
3856 _ACEOF
3857 ac_clean_files_save=$ac_clean_files
3858 ac_clean_files="$ac_clean_files a.out a.out.dSYM a.exe b.out"
3859 # Try to create an executable without -o first, disregard a.out.
3860 # It will help us diagnose broken compilers, and finding out an intuition
3861 # of exeext.
3862 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the C compiler works" >&5
3863 $as_echo_n "checking whether the C compiler works... " >&6; }
3864 ac_link_default=`$as_echo "$ac_link" | sed 's/ -o *conftest[^ ]*//'`
3866 # The possible output files:
3867 ac_files="a.out conftest.exe conftest a.exe a_out.exe b.out conftest.*"
3869 ac_rmfiles=
3870 for ac_file in $ac_files
3872 case $ac_file in
3873 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj ) ;;
3874 * ) ac_rmfiles="$ac_rmfiles $ac_file";;
3875 esac
3876 done
3877 rm -f $ac_rmfiles
3879 if { { ac_try="$ac_link_default"
3880 case "(($ac_try" in
3881 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3882 *) ac_try_echo=$ac_try;;
3883 esac
3884 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
3885 $as_echo "$ac_try_echo"; } >&5
3886 (eval "$ac_link_default") 2>&5
3887 ac_status=$?
3888 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
3889 test $ac_status = 0; }; then :
3890 # Autoconf-2.13 could set the ac_cv_exeext variable to `no'.
3891 # So ignore a value of `no', otherwise this would lead to `EXEEXT = no'
3892 # in a Makefile. We should not override ac_cv_exeext if it was cached,
3893 # so that the user can short-circuit this test for compilers unknown to
3894 # Autoconf.
3895 for ac_file in $ac_files ''
3897 test -f "$ac_file" || continue
3898 case $ac_file in
3899 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj )
3901 [ab].out )
3902 # We found the default executable, but exeext='' is most
3903 # certainly right.
3904 break;;
3905 *.* )
3906 if test "${ac_cv_exeext+set}" = set && test "$ac_cv_exeext" != no;
3907 then :; else
3908 ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'`
3910 # We set ac_cv_exeext here because the later test for it is not
3911 # safe: cross compilers may not add the suffix if given an `-o'
3912 # argument, so we may need to know it at that point already.
3913 # Even if this section looks crufty: it has the advantage of
3914 # actually working.
3915 break;;
3917 break;;
3918 esac
3919 done
3920 test "$ac_cv_exeext" = no && ac_cv_exeext=
3922 else
3923 ac_file=''
3925 if test -z "$ac_file"; then :
3926 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3927 $as_echo "no" >&6; }
3928 $as_echo "$as_me: failed program was:" >&5
3929 sed 's/^/| /' conftest.$ac_ext >&5
3931 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
3932 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
3933 as_fn_error 77 "C compiler cannot create executables
3934 See \`config.log' for more details" "$LINENO" 5; }
3935 else
3936 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
3937 $as_echo "yes" >&6; }
3939 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for C compiler default output file name" >&5
3940 $as_echo_n "checking for C compiler default output file name... " >&6; }
3941 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_file" >&5
3942 $as_echo "$ac_file" >&6; }
3943 ac_exeext=$ac_cv_exeext
3945 rm -f -r a.out a.out.dSYM a.exe conftest$ac_cv_exeext b.out
3946 ac_clean_files=$ac_clean_files_save
3947 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for suffix of executables" >&5
3948 $as_echo_n "checking for suffix of executables... " >&6; }
3949 if { { ac_try="$ac_link"
3950 case "(($ac_try" in
3951 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3952 *) ac_try_echo=$ac_try;;
3953 esac
3954 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
3955 $as_echo "$ac_try_echo"; } >&5
3956 (eval "$ac_link") 2>&5
3957 ac_status=$?
3958 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
3959 test $ac_status = 0; }; then :
3960 # If both `conftest.exe' and `conftest' are `present' (well, observable)
3961 # catch `conftest.exe'. For instance with Cygwin, `ls conftest' will
3962 # work properly (i.e., refer to `conftest.exe'), while it won't with
3963 # `rm'.
3964 for ac_file in conftest.exe conftest conftest.*; do
3965 test -f "$ac_file" || continue
3966 case $ac_file in
3967 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj ) ;;
3968 *.* ) ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'`
3969 break;;
3970 * ) break;;
3971 esac
3972 done
3973 else
3974 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
3975 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
3976 as_fn_error $? "cannot compute suffix of executables: cannot compile and link
3977 See \`config.log' for more details" "$LINENO" 5; }
3979 rm -f conftest conftest$ac_cv_exeext
3980 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_exeext" >&5
3981 $as_echo "$ac_cv_exeext" >&6; }
3983 rm -f conftest.$ac_ext
3984 EXEEXT=$ac_cv_exeext
3985 ac_exeext=$EXEEXT
3986 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3987 /* end confdefs.h. */
3988 #include <stdio.h>
3990 main ()
3992 FILE *f = fopen ("conftest.out", "w");
3993 return ferror (f) || fclose (f) != 0;
3996 return 0;
3998 _ACEOF
3999 ac_clean_files="$ac_clean_files conftest.out"
4000 # Check that the compiler produces executables we can run. If not, either
4001 # the compiler is broken, or we cross compile.
4002 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are cross compiling" >&5
4003 $as_echo_n "checking whether we are cross compiling... " >&6; }
4004 if test "$cross_compiling" != yes; then
4005 { { ac_try="$ac_link"
4006 case "(($ac_try" in
4007 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
4008 *) ac_try_echo=$ac_try;;
4009 esac
4010 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
4011 $as_echo "$ac_try_echo"; } >&5
4012 (eval "$ac_link") 2>&5
4013 ac_status=$?
4014 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
4015 test $ac_status = 0; }
4016 if { ac_try='./conftest$ac_cv_exeext'
4017 { { case "(($ac_try" in
4018 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
4019 *) ac_try_echo=$ac_try;;
4020 esac
4021 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
4022 $as_echo "$ac_try_echo"; } >&5
4023 (eval "$ac_try") 2>&5
4024 ac_status=$?
4025 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
4026 test $ac_status = 0; }; }; then
4027 cross_compiling=no
4028 else
4029 if test "$cross_compiling" = maybe; then
4030 cross_compiling=yes
4031 else
4032 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
4033 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
4034 as_fn_error $? "cannot run C compiled programs.
4035 If you meant to cross compile, use \`--host'.
4036 See \`config.log' for more details" "$LINENO" 5; }
4040 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $cross_compiling" >&5
4041 $as_echo "$cross_compiling" >&6; }
4043 rm -f conftest.$ac_ext conftest$ac_cv_exeext conftest.out
4044 ac_clean_files=$ac_clean_files_save
4045 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for suffix of object files" >&5
4046 $as_echo_n "checking for suffix of object files... " >&6; }
4047 if ${ac_cv_objext+:} false; then :
4048 $as_echo_n "(cached) " >&6
4049 else
4050 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4051 /* end confdefs.h. */
4054 main ()
4058 return 0;
4060 _ACEOF
4061 rm -f conftest.o conftest.obj
4062 if { { ac_try="$ac_compile"
4063 case "(($ac_try" in
4064 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
4065 *) ac_try_echo=$ac_try;;
4066 esac
4067 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
4068 $as_echo "$ac_try_echo"; } >&5
4069 (eval "$ac_compile") 2>&5
4070 ac_status=$?
4071 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
4072 test $ac_status = 0; }; then :
4073 for ac_file in conftest.o conftest.obj conftest.*; do
4074 test -f "$ac_file" || continue;
4075 case $ac_file in
4076 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM ) ;;
4077 *) ac_cv_objext=`expr "$ac_file" : '.*\.\(.*\)'`
4078 break;;
4079 esac
4080 done
4081 else
4082 $as_echo "$as_me: failed program was:" >&5
4083 sed 's/^/| /' conftest.$ac_ext >&5
4085 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
4086 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
4087 as_fn_error $? "cannot compute suffix of object files: cannot compile
4088 See \`config.log' for more details" "$LINENO" 5; }
4090 rm -f conftest.$ac_cv_objext conftest.$ac_ext
4092 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_objext" >&5
4093 $as_echo "$ac_cv_objext" >&6; }
4094 OBJEXT=$ac_cv_objext
4095 ac_objext=$OBJEXT
4096 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are using the GNU C compiler" >&5
4097 $as_echo_n "checking whether we are using the GNU C compiler... " >&6; }
4098 if ${ac_cv_c_compiler_gnu+:} false; then :
4099 $as_echo_n "(cached) " >&6
4100 else
4101 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4102 /* end confdefs.h. */
4105 main ()
4107 #ifndef __GNUC__
4108 choke me
4109 #endif
4112 return 0;
4114 _ACEOF
4115 if ac_fn_c_try_compile "$LINENO"; then :
4116 ac_compiler_gnu=yes
4117 else
4118 ac_compiler_gnu=no
4120 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4121 ac_cv_c_compiler_gnu=$ac_compiler_gnu
4124 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_compiler_gnu" >&5
4125 $as_echo "$ac_cv_c_compiler_gnu" >&6; }
4126 if test $ac_compiler_gnu = yes; then
4127 GCC=yes
4128 else
4129 GCC=
4131 ac_test_CFLAGS=${CFLAGS+set}
4132 ac_save_CFLAGS=$CFLAGS
4133 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CC accepts -g" >&5
4134 $as_echo_n "checking whether $CC accepts -g... " >&6; }
4135 if ${ac_cv_prog_cc_g+:} false; then :
4136 $as_echo_n "(cached) " >&6
4137 else
4138 ac_save_c_werror_flag=$ac_c_werror_flag
4139 ac_c_werror_flag=yes
4140 ac_cv_prog_cc_g=no
4141 CFLAGS="-g"
4142 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4143 /* end confdefs.h. */
4146 main ()
4150 return 0;
4152 _ACEOF
4153 if ac_fn_c_try_compile "$LINENO"; then :
4154 ac_cv_prog_cc_g=yes
4155 else
4156 CFLAGS=""
4157 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4158 /* end confdefs.h. */
4161 main ()
4165 return 0;
4167 _ACEOF
4168 if ac_fn_c_try_compile "$LINENO"; then :
4170 else
4171 ac_c_werror_flag=$ac_save_c_werror_flag
4172 CFLAGS="-g"
4173 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4174 /* end confdefs.h. */
4177 main ()
4181 return 0;
4183 _ACEOF
4184 if ac_fn_c_try_compile "$LINENO"; then :
4185 ac_cv_prog_cc_g=yes
4187 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4189 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4191 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4192 ac_c_werror_flag=$ac_save_c_werror_flag
4194 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_g" >&5
4195 $as_echo "$ac_cv_prog_cc_g" >&6; }
4196 if test "$ac_test_CFLAGS" = set; then
4197 CFLAGS=$ac_save_CFLAGS
4198 elif test $ac_cv_prog_cc_g = yes; then
4199 if test "$GCC" = yes; then
4200 CFLAGS="-g -O2"
4201 else
4202 CFLAGS="-g"
4204 else
4205 if test "$GCC" = yes; then
4206 CFLAGS="-O2"
4207 else
4208 CFLAGS=
4211 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $CC option to accept ISO C89" >&5
4212 $as_echo_n "checking for $CC option to accept ISO C89... " >&6; }
4213 if ${ac_cv_prog_cc_c89+:} false; then :
4214 $as_echo_n "(cached) " >&6
4215 else
4216 ac_cv_prog_cc_c89=no
4217 ac_save_CC=$CC
4218 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4219 /* end confdefs.h. */
4220 #include <stdarg.h>
4221 #include <stdio.h>
4222 struct stat;
4223 /* Most of the following tests are stolen from RCS 5.7's src/conf.sh. */
4224 struct buf { int x; };
4225 FILE * (*rcsopen) (struct buf *, struct stat *, int);
4226 static char *e (p, i)
4227 char **p;
4228 int i;
4230 return p[i];
4232 static char *f (char * (*g) (char **, int), char **p, ...)
4234 char *s;
4235 va_list v;
4236 va_start (v,p);
4237 s = g (p, va_arg (v,int));
4238 va_end (v);
4239 return s;
4242 /* OSF 4.0 Compaq cc is some sort of almost-ANSI by default. It has
4243 function prototypes and stuff, but not '\xHH' hex character constants.
4244 These don't provoke an error unfortunately, instead are silently treated
4245 as 'x'. The following induces an error, until -std is added to get
4246 proper ANSI mode. Curiously '\x00'!='x' always comes out true, for an
4247 array size at least. It's necessary to write '\x00'==0 to get something
4248 that's true only with -std. */
4249 int osf4_cc_array ['\x00' == 0 ? 1 : -1];
4251 /* IBM C 6 for AIX is almost-ANSI by default, but it replaces macro parameters
4252 inside strings and character constants. */
4253 #define FOO(x) 'x'
4254 int xlc6_cc_array[FOO(a) == 'x' ? 1 : -1];
4256 int test (int i, double x);
4257 struct s1 {int (*f) (int a);};
4258 struct s2 {int (*f) (double a);};
4259 int pairnames (int, char **, FILE *(*)(struct buf *, struct stat *, int), int, int);
4260 int argc;
4261 char **argv;
4263 main ()
4265 return f (e, argv, 0) != argv[0] || f (e, argv, 1) != argv[1];
4267 return 0;
4269 _ACEOF
4270 for ac_arg in '' -qlanglvl=extc89 -qlanglvl=ansi -std \
4271 -Ae "-Aa -D_HPUX_SOURCE" "-Xc -D__EXTENSIONS__"
4273 CC="$ac_save_CC $ac_arg"
4274 if ac_fn_c_try_compile "$LINENO"; then :
4275 ac_cv_prog_cc_c89=$ac_arg
4277 rm -f core conftest.err conftest.$ac_objext
4278 test "x$ac_cv_prog_cc_c89" != "xno" && break
4279 done
4280 rm -f conftest.$ac_ext
4281 CC=$ac_save_CC
4284 # AC_CACHE_VAL
4285 case "x$ac_cv_prog_cc_c89" in
4287 { $as_echo "$as_me:${as_lineno-$LINENO}: result: none needed" >&5
4288 $as_echo "none needed" >&6; } ;;
4289 xno)
4290 { $as_echo "$as_me:${as_lineno-$LINENO}: result: unsupported" >&5
4291 $as_echo "unsupported" >&6; } ;;
4293 CC="$CC $ac_cv_prog_cc_c89"
4294 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_c89" >&5
4295 $as_echo "$ac_cv_prog_cc_c89" >&6; } ;;
4296 esac
4297 if test "x$ac_cv_prog_cc_c89" != xno; then :
4301 ac_ext=c
4302 ac_cpp='$CPP $CPPFLAGS'
4303 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
4304 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
4305 ac_compiler_gnu=$ac_cv_c_compiler_gnu
4307 ac_ext=cpp
4308 ac_cpp='$CXXCPP $CPPFLAGS'
4309 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
4310 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
4311 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
4312 if test -z "$CXX"; then
4313 if test -n "$CCC"; then
4314 CXX=$CCC
4315 else
4316 if test -n "$ac_tool_prefix"; then
4317 for ac_prog in g++ c++ gpp aCC CC cxx cc++ cl.exe FCC KCC RCC xlC_r xlC
4319 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
4320 set dummy $ac_tool_prefix$ac_prog; ac_word=$2
4321 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4322 $as_echo_n "checking for $ac_word... " >&6; }
4323 if ${ac_cv_prog_CXX+:} false; then :
4324 $as_echo_n "(cached) " >&6
4325 else
4326 if test -n "$CXX"; then
4327 ac_cv_prog_CXX="$CXX" # Let the user override the test.
4328 else
4329 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4330 for as_dir in $PATH
4332 IFS=$as_save_IFS
4333 test -z "$as_dir" && as_dir=.
4334 for ac_exec_ext in '' $ac_executable_extensions; do
4335 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
4336 ac_cv_prog_CXX="$ac_tool_prefix$ac_prog"
4337 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4338 break 2
4340 done
4341 done
4342 IFS=$as_save_IFS
4346 CXX=$ac_cv_prog_CXX
4347 if test -n "$CXX"; then
4348 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CXX" >&5
4349 $as_echo "$CXX" >&6; }
4350 else
4351 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4352 $as_echo "no" >&6; }
4356 test -n "$CXX" && break
4357 done
4359 if test -z "$CXX"; then
4360 ac_ct_CXX=$CXX
4361 for ac_prog in g++ c++ gpp aCC CC cxx cc++ cl.exe FCC KCC RCC xlC_r xlC
4363 # Extract the first word of "$ac_prog", so it can be a program name with args.
4364 set dummy $ac_prog; ac_word=$2
4365 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4366 $as_echo_n "checking for $ac_word... " >&6; }
4367 if ${ac_cv_prog_ac_ct_CXX+:} false; then :
4368 $as_echo_n "(cached) " >&6
4369 else
4370 if test -n "$ac_ct_CXX"; then
4371 ac_cv_prog_ac_ct_CXX="$ac_ct_CXX" # Let the user override the test.
4372 else
4373 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4374 for as_dir in $PATH
4376 IFS=$as_save_IFS
4377 test -z "$as_dir" && as_dir=.
4378 for ac_exec_ext in '' $ac_executable_extensions; do
4379 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
4380 ac_cv_prog_ac_ct_CXX="$ac_prog"
4381 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4382 break 2
4384 done
4385 done
4386 IFS=$as_save_IFS
4390 ac_ct_CXX=$ac_cv_prog_ac_ct_CXX
4391 if test -n "$ac_ct_CXX"; then
4392 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CXX" >&5
4393 $as_echo "$ac_ct_CXX" >&6; }
4394 else
4395 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4396 $as_echo "no" >&6; }
4400 test -n "$ac_ct_CXX" && break
4401 done
4403 if test "x$ac_ct_CXX" = x; then
4404 CXX="g++"
4405 else
4406 case $cross_compiling:$ac_tool_warned in
4407 yes:)
4408 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
4409 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
4410 ac_tool_warned=yes ;;
4411 esac
4412 CXX=$ac_ct_CXX
4418 # Provide some information about the compiler.
4419 $as_echo "$as_me:${as_lineno-$LINENO}: checking for C++ compiler version" >&5
4420 set X $ac_compile
4421 ac_compiler=$2
4422 for ac_option in --version -v -V -qversion; do
4423 { { ac_try="$ac_compiler $ac_option >&5"
4424 case "(($ac_try" in
4425 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
4426 *) ac_try_echo=$ac_try;;
4427 esac
4428 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
4429 $as_echo "$ac_try_echo"; } >&5
4430 (eval "$ac_compiler $ac_option >&5") 2>conftest.err
4431 ac_status=$?
4432 if test -s conftest.err; then
4433 sed '10a\
4434 ... rest of stderr output deleted ...
4435 10q' conftest.err >conftest.er1
4436 cat conftest.er1 >&5
4438 rm -f conftest.er1 conftest.err
4439 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
4440 test $ac_status = 0; }
4441 done
4443 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are using the GNU C++ compiler" >&5
4444 $as_echo_n "checking whether we are using the GNU C++ compiler... " >&6; }
4445 if ${ac_cv_cxx_compiler_gnu+:} false; then :
4446 $as_echo_n "(cached) " >&6
4447 else
4448 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4449 /* end confdefs.h. */
4452 main ()
4454 #ifndef __GNUC__
4455 choke me
4456 #endif
4459 return 0;
4461 _ACEOF
4462 if ac_fn_cxx_try_compile "$LINENO"; then :
4463 ac_compiler_gnu=yes
4464 else
4465 ac_compiler_gnu=no
4467 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4468 ac_cv_cxx_compiler_gnu=$ac_compiler_gnu
4471 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cxx_compiler_gnu" >&5
4472 $as_echo "$ac_cv_cxx_compiler_gnu" >&6; }
4473 if test $ac_compiler_gnu = yes; then
4474 GXX=yes
4475 else
4476 GXX=
4478 ac_test_CXXFLAGS=${CXXFLAGS+set}
4479 ac_save_CXXFLAGS=$CXXFLAGS
4480 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CXX accepts -g" >&5
4481 $as_echo_n "checking whether $CXX accepts -g... " >&6; }
4482 if ${ac_cv_prog_cxx_g+:} false; then :
4483 $as_echo_n "(cached) " >&6
4484 else
4485 ac_save_cxx_werror_flag=$ac_cxx_werror_flag
4486 ac_cxx_werror_flag=yes
4487 ac_cv_prog_cxx_g=no
4488 CXXFLAGS="-g"
4489 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4490 /* end confdefs.h. */
4493 main ()
4497 return 0;
4499 _ACEOF
4500 if ac_fn_cxx_try_compile "$LINENO"; then :
4501 ac_cv_prog_cxx_g=yes
4502 else
4503 CXXFLAGS=""
4504 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4505 /* end confdefs.h. */
4508 main ()
4512 return 0;
4514 _ACEOF
4515 if ac_fn_cxx_try_compile "$LINENO"; then :
4517 else
4518 ac_cxx_werror_flag=$ac_save_cxx_werror_flag
4519 CXXFLAGS="-g"
4520 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4521 /* end confdefs.h. */
4524 main ()
4528 return 0;
4530 _ACEOF
4531 if ac_fn_cxx_try_compile "$LINENO"; then :
4532 ac_cv_prog_cxx_g=yes
4534 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4536 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4538 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4539 ac_cxx_werror_flag=$ac_save_cxx_werror_flag
4541 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cxx_g" >&5
4542 $as_echo "$ac_cv_prog_cxx_g" >&6; }
4543 if test "$ac_test_CXXFLAGS" = set; then
4544 CXXFLAGS=$ac_save_CXXFLAGS
4545 elif test $ac_cv_prog_cxx_g = yes; then
4546 if test "$GXX" = yes; then
4547 CXXFLAGS="-g -O2"
4548 else
4549 CXXFLAGS="-g"
4551 else
4552 if test "$GXX" = yes; then
4553 CXXFLAGS="-O2"
4554 else
4555 CXXFLAGS=
4558 ac_ext=c
4559 ac_cpp='$CPP $CPPFLAGS'
4560 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
4561 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
4562 ac_compiler_gnu=$ac_cv_c_compiler_gnu
4564 if test -n "$ac_tool_prefix"; then
4565 # Extract the first word of "${ac_tool_prefix}cpp", so it can be a program name with args.
4566 set dummy ${ac_tool_prefix}cpp; ac_word=$2
4567 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4568 $as_echo_n "checking for $ac_word... " >&6; }
4569 if ${ac_cv_prog_CPPBIN+:} false; then :
4570 $as_echo_n "(cached) " >&6
4571 else
4572 if test -n "$CPPBIN"; then
4573 ac_cv_prog_CPPBIN="$CPPBIN" # Let the user override the test.
4574 else
4575 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4576 for as_dir in $PATH
4578 IFS=$as_save_IFS
4579 test -z "$as_dir" && as_dir=.
4580 for ac_exec_ext in '' $ac_executable_extensions; do
4581 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
4582 ac_cv_prog_CPPBIN="${ac_tool_prefix}cpp"
4583 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4584 break 2
4586 done
4587 done
4588 IFS=$as_save_IFS
4592 CPPBIN=$ac_cv_prog_CPPBIN
4593 if test -n "$CPPBIN"; then
4594 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CPPBIN" >&5
4595 $as_echo "$CPPBIN" >&6; }
4596 else
4597 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4598 $as_echo "no" >&6; }
4603 if test -z "$ac_cv_prog_CPPBIN"; then
4604 ac_ct_CPPBIN=$CPPBIN
4605 # Extract the first word of "cpp", so it can be a program name with args.
4606 set dummy cpp; ac_word=$2
4607 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4608 $as_echo_n "checking for $ac_word... " >&6; }
4609 if ${ac_cv_prog_ac_ct_CPPBIN+:} false; then :
4610 $as_echo_n "(cached) " >&6
4611 else
4612 if test -n "$ac_ct_CPPBIN"; then
4613 ac_cv_prog_ac_ct_CPPBIN="$ac_ct_CPPBIN" # Let the user override the test.
4614 else
4615 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4616 for as_dir in $PATH
4618 IFS=$as_save_IFS
4619 test -z "$as_dir" && as_dir=.
4620 for ac_exec_ext in '' $ac_executable_extensions; do
4621 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
4622 ac_cv_prog_ac_ct_CPPBIN="cpp"
4623 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4624 break 2
4626 done
4627 done
4628 IFS=$as_save_IFS
4632 ac_ct_CPPBIN=$ac_cv_prog_ac_ct_CPPBIN
4633 if test -n "$ac_ct_CPPBIN"; then
4634 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CPPBIN" >&5
4635 $as_echo "$ac_ct_CPPBIN" >&6; }
4636 else
4637 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4638 $as_echo "no" >&6; }
4641 if test "x$ac_ct_CPPBIN" = x; then
4642 CPPBIN="cpp"
4643 else
4644 case $cross_compiling:$ac_tool_warned in
4645 yes:)
4646 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
4647 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
4648 ac_tool_warned=yes ;;
4649 esac
4650 CPPBIN=$ac_ct_CPPBIN
4652 else
4653 CPPBIN="$ac_cv_prog_CPPBIN"
4657 cat >>confdefs.h <<_ACEOF
4658 #define EXEEXT "$ac_exeext"
4659 _ACEOF
4662 case $host in
4663 *-darwin*)
4664 if test "x$enable_win64" = "xyes"
4665 then
4666 CC="$CC -m64"
4667 CXX="$CXX -m64"
4668 host_cpu="x86_64"
4669 notice_platform="64-bit "
4670 TARGETFLAGS="-m64"
4672 else
4673 CC="$CC -m32"
4674 CXX="$CXX -m32"
4675 host_cpu="i386"
4676 notice_platform="32-bit "
4677 TARGETFLAGS="-m32"
4679 enable_win16=${enable_win16:-yes}
4681 with_fontconfig=${with_fontconfig:-no}
4683 x86_64*)
4684 if test "x$enable_win64" != "xyes" -a "$cross_compiling" != "yes"
4685 then
4686 CC="$CC -m32"
4687 CXX="$CXX -m32"
4688 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CC works" >&5
4689 $as_echo_n "checking whether $CC works... " >&6; }
4691 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4692 /* end confdefs.h. */
4695 main ()
4699 return 0;
4701 _ACEOF
4702 if ac_fn_c_try_link "$LINENO"; then :
4703 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
4704 $as_echo "yes" >&6; }
4705 else
4706 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4707 $as_echo "no" >&6; }
4708 as_fn_error $? "Cannot build a 32-bit program, you need to install 32-bit development libraries." "$LINENO" 5
4710 rm -f core conftest.err conftest.$ac_objext \
4711 conftest$ac_exeext conftest.$ac_ext
4712 host_cpu="i386"
4713 notice_platform="32-bit "
4714 TARGETFLAGS="-m32"
4716 enable_win16=${enable_win16:-yes}
4717 else
4718 if test "x${GCC}" = "xyes"
4719 then
4720 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CC supports __builtin_ms_va_list" >&5
4721 $as_echo_n "checking whether $CC supports __builtin_ms_va_list... " >&6; }
4722 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4723 /* end confdefs.h. */
4724 #include <stdarg.h>
4726 main ()
4728 void func(__builtin_ms_va_list *args);
4730 return 0;
4732 _ACEOF
4733 if ac_fn_c_try_compile "$LINENO"; then :
4734 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
4735 $as_echo "yes" >&6; }
4736 else
4737 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4738 $as_echo "no" >&6; }
4739 as_fn_error $? "You need gcc >= 4.4 to build Wine as 64-bit." "$LINENO" 5
4741 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4743 TARGETFLAGS="-m64"
4747 arm*)
4748 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CC supports Thumb" >&5
4749 $as_echo_n "checking whether $CC supports Thumb... " >&6; }
4750 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4751 /* end confdefs.h. */
4752 int ac_test(int i) { return i; }
4754 main ()
4756 asm(".thumb\nblx ac_test\n.arm"); if (ac_test(1)) return 1
4758 return 0;
4760 _ACEOF
4761 if ac_fn_c_try_link "$LINENO"; then :
4762 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
4763 $as_echo "yes" >&6; }
4764 else
4765 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4766 $as_echo "no" >&6; }
4767 as_fn_error $? "You need a target with Thumb support to build Wine for ARM." "$LINENO" 5
4769 rm -f core conftest.err conftest.$ac_objext \
4770 conftest$ac_exeext conftest.$ac_ext
4771 CFLAGS="$CFLAGS -marm"
4773 *-mingw32*|*-cygwin*)
4774 enable_win16=${enable_win16:-no}
4775 CFLAGS="$CFLAGS -D_WIN32"
4777 i[3456789]86*)
4778 enable_win16=${enable_win16:-yes}
4780 esac
4782 enable_win16=${enable_win16:-no}
4783 enable_win64=${enable_win64:-no}
4785 enable_winetest=${enable_winetest:-$enable_tests}
4787 if test -n "$with_wine64"
4788 then
4789 if test "x$enable_win64" = "xyes"
4790 then
4791 as_fn_error $? "--enable-win64 and --with-wine64 are mutually exclusive.
4792 --enable-win64 should be used in the 64-bit build tree, --with-wine64 in the 32-bit Wow64 build tree." "$LINENO" 5
4794 enable_fonts=${enable_fonts:-no}
4795 enable_server=${enable_server:-no}
4796 elif test "x$enable_win64" = "xyes"
4797 then
4798 test "x$libdir" != "x\${exec_prefix}/lib" || libdir="\${exec_prefix}/lib64"
4801 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for the directory containing the Wine tools" >&5
4802 $as_echo_n "checking for the directory containing the Wine tools... " >&6; }
4803 if ${wine_cv_toolsdir+:} false; then :
4804 $as_echo_n "(cached) " >&6
4805 else
4806 wine_cv_toolsdir="$with_wine_tools"
4807 if test -z "$with_wine_tools"; then
4808 if test "$cross_compiling" = "yes"; then
4809 as_fn_error $? "you must use the --with-wine-tools option when cross-compiling." "$LINENO" 5
4810 elif test -n "$with_wine64"; then
4811 wine_cv_toolsdir="$with_wine64"
4814 if test -z "$wine_cv_toolsdir"; then
4815 wine_cv_toolsdir="\$(top_builddir)"
4816 elif test -d "$wine_cv_toolsdir/tools/winebuild"; then
4817 case "$wine_cv_toolsdir" in
4818 /*) ;;
4819 *) wine_cv_toolsdir="\$(top_builddir)/$wine_cv_toolsdir" ;;
4820 esac
4821 enable_tools=${enable_tools:-no}
4822 else
4823 as_fn_error $? "could not find Wine tools in $wine_cv_toolsdir" "$LINENO" 5
4826 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $wine_cv_toolsdir" >&5
4827 $as_echo "$wine_cv_toolsdir" >&6; }
4828 TOOLSDIR=$wine_cv_toolsdir
4830 if test -n "$host_alias" -a "$host_alias" != "$build_alias"
4831 then
4832 TARGETFLAGS="-b $host_alias $TARGETFLAGS"
4836 for ac_prog in flex
4838 # Extract the first word of "$ac_prog", so it can be a program name with args.
4839 set dummy $ac_prog; ac_word=$2
4840 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4841 $as_echo_n "checking for $ac_word... " >&6; }
4842 if ${ac_cv_prog_FLEX+:} false; then :
4843 $as_echo_n "(cached) " >&6
4844 else
4845 if test -n "$FLEX"; then
4846 ac_cv_prog_FLEX="$FLEX" # Let the user override the test.
4847 else
4848 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4849 for as_dir in $PATH
4851 IFS=$as_save_IFS
4852 test -z "$as_dir" && as_dir=.
4853 for ac_exec_ext in '' $ac_executable_extensions; do
4854 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
4855 ac_cv_prog_FLEX="$ac_prog"
4856 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4857 break 2
4859 done
4860 done
4861 IFS=$as_save_IFS
4865 FLEX=$ac_cv_prog_FLEX
4866 if test -n "$FLEX"; then
4867 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $FLEX" >&5
4868 $as_echo "$FLEX" >&6; }
4869 else
4870 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4871 $as_echo "no" >&6; }
4875 test -n "$FLEX" && break
4876 done
4877 test -n "$FLEX" || FLEX="none"
4879 if test "$FLEX" = "none"
4880 then
4881 as_fn_error $? "no suitable flex found. Please install the 'flex' package." "$LINENO" 5
4883 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether flex is recent enough" >&5
4884 $as_echo_n "checking whether flex is recent enough... " >&6; }
4885 cat >conftest.l <<EOF
4886 %top{
4887 #include "prediluvian.h"
4891 if $FLEX -t conftest.l >/dev/null 2>&5
4892 then
4893 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
4894 $as_echo "yes" >&6; }
4895 else
4896 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4897 $as_echo "no" >&6; }
4898 as_fn_error $? "Your flex version is too old. Please install flex version 2.5.33 or newer." "$LINENO" 5
4901 for ac_prog in bison
4903 # Extract the first word of "$ac_prog", so it can be a program name with args.
4904 set dummy $ac_prog; ac_word=$2
4905 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4906 $as_echo_n "checking for $ac_word... " >&6; }
4907 if ${ac_cv_prog_BISON+:} false; then :
4908 $as_echo_n "(cached) " >&6
4909 else
4910 if test -n "$BISON"; then
4911 ac_cv_prog_BISON="$BISON" # Let the user override the test.
4912 else
4913 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4914 for as_dir in $PATH
4916 IFS=$as_save_IFS
4917 test -z "$as_dir" && as_dir=.
4918 for ac_exec_ext in '' $ac_executable_extensions; do
4919 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
4920 ac_cv_prog_BISON="$ac_prog"
4921 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4922 break 2
4924 done
4925 done
4926 IFS=$as_save_IFS
4930 BISON=$ac_cv_prog_BISON
4931 if test -n "$BISON"; then
4932 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $BISON" >&5
4933 $as_echo "$BISON" >&6; }
4934 else
4935 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4936 $as_echo "no" >&6; }
4940 test -n "$BISON" && break
4941 done
4942 test -n "$BISON" || BISON="none"
4944 if test "$BISON" = "none"
4945 then
4946 as_fn_error $? "no suitable bison found. Please install the 'bison' package." "$LINENO" 5
4949 if test -n "$ac_tool_prefix"; then
4950 for ac_prog in ar gar
4952 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
4953 set dummy $ac_tool_prefix$ac_prog; ac_word=$2
4954 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4955 $as_echo_n "checking for $ac_word... " >&6; }
4956 if ${ac_cv_prog_AR+:} false; then :
4957 $as_echo_n "(cached) " >&6
4958 else
4959 if test -n "$AR"; then
4960 ac_cv_prog_AR="$AR" # Let the user override the test.
4961 else
4962 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4963 for as_dir in $PATH
4965 IFS=$as_save_IFS
4966 test -z "$as_dir" && as_dir=.
4967 for ac_exec_ext in '' $ac_executable_extensions; do
4968 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
4969 ac_cv_prog_AR="$ac_tool_prefix$ac_prog"
4970 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4971 break 2
4973 done
4974 done
4975 IFS=$as_save_IFS
4979 AR=$ac_cv_prog_AR
4980 if test -n "$AR"; then
4981 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $AR" >&5
4982 $as_echo "$AR" >&6; }
4983 else
4984 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4985 $as_echo "no" >&6; }
4989 test -n "$AR" && break
4990 done
4992 if test -z "$AR"; then
4993 ac_ct_AR=$AR
4994 for ac_prog in ar gar
4996 # Extract the first word of "$ac_prog", so it can be a program name with args.
4997 set dummy $ac_prog; ac_word=$2
4998 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4999 $as_echo_n "checking for $ac_word... " >&6; }
5000 if ${ac_cv_prog_ac_ct_AR+:} false; then :
5001 $as_echo_n "(cached) " >&6
5002 else
5003 if test -n "$ac_ct_AR"; then
5004 ac_cv_prog_ac_ct_AR="$ac_ct_AR" # Let the user override the test.
5005 else
5006 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5007 for as_dir in $PATH
5009 IFS=$as_save_IFS
5010 test -z "$as_dir" && as_dir=.
5011 for ac_exec_ext in '' $ac_executable_extensions; do
5012 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
5013 ac_cv_prog_ac_ct_AR="$ac_prog"
5014 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5015 break 2
5017 done
5018 done
5019 IFS=$as_save_IFS
5023 ac_ct_AR=$ac_cv_prog_ac_ct_AR
5024 if test -n "$ac_ct_AR"; then
5025 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_AR" >&5
5026 $as_echo "$ac_ct_AR" >&6; }
5027 else
5028 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5029 $as_echo "no" >&6; }
5033 test -n "$ac_ct_AR" && break
5034 done
5036 if test "x$ac_ct_AR" = x; then
5037 AR="ar"
5038 else
5039 case $cross_compiling:$ac_tool_warned in
5040 yes:)
5041 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
5042 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
5043 ac_tool_warned=yes ;;
5044 esac
5045 AR=$ac_ct_AR
5049 if test -n "$ac_tool_prefix"; then
5050 # Extract the first word of "${ac_tool_prefix}strip", so it can be a program name with args.
5051 set dummy ${ac_tool_prefix}strip; ac_word=$2
5052 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5053 $as_echo_n "checking for $ac_word... " >&6; }
5054 if ${ac_cv_prog_STRIP+:} false; then :
5055 $as_echo_n "(cached) " >&6
5056 else
5057 if test -n "$STRIP"; then
5058 ac_cv_prog_STRIP="$STRIP" # Let the user override the test.
5059 else
5060 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5061 for as_dir in $PATH
5063 IFS=$as_save_IFS
5064 test -z "$as_dir" && as_dir=.
5065 for ac_exec_ext in '' $ac_executable_extensions; do
5066 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
5067 ac_cv_prog_STRIP="${ac_tool_prefix}strip"
5068 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5069 break 2
5071 done
5072 done
5073 IFS=$as_save_IFS
5077 STRIP=$ac_cv_prog_STRIP
5078 if test -n "$STRIP"; then
5079 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $STRIP" >&5
5080 $as_echo "$STRIP" >&6; }
5081 else
5082 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5083 $as_echo "no" >&6; }
5088 if test -z "$ac_cv_prog_STRIP"; then
5089 ac_ct_STRIP=$STRIP
5090 # Extract the first word of "strip", so it can be a program name with args.
5091 set dummy strip; ac_word=$2
5092 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5093 $as_echo_n "checking for $ac_word... " >&6; }
5094 if ${ac_cv_prog_ac_ct_STRIP+:} false; then :
5095 $as_echo_n "(cached) " >&6
5096 else
5097 if test -n "$ac_ct_STRIP"; then
5098 ac_cv_prog_ac_ct_STRIP="$ac_ct_STRIP" # Let the user override the test.
5099 else
5100 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5101 for as_dir in $PATH
5103 IFS=$as_save_IFS
5104 test -z "$as_dir" && as_dir=.
5105 for ac_exec_ext in '' $ac_executable_extensions; do
5106 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
5107 ac_cv_prog_ac_ct_STRIP="strip"
5108 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5109 break 2
5111 done
5112 done
5113 IFS=$as_save_IFS
5117 ac_ct_STRIP=$ac_cv_prog_ac_ct_STRIP
5118 if test -n "$ac_ct_STRIP"; then
5119 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_STRIP" >&5
5120 $as_echo "$ac_ct_STRIP" >&6; }
5121 else
5122 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5123 $as_echo "no" >&6; }
5126 if test "x$ac_ct_STRIP" = x; then
5127 STRIP="strip"
5128 else
5129 case $cross_compiling:$ac_tool_warned in
5130 yes:)
5131 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
5132 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
5133 ac_tool_warned=yes ;;
5134 esac
5135 STRIP=$ac_ct_STRIP
5137 else
5138 STRIP="$ac_cv_prog_STRIP"
5141 ARFLAGS=rc
5143 if test -n "$ac_tool_prefix"; then
5144 # Extract the first word of "${ac_tool_prefix}ranlib", so it can be a program name with args.
5145 set dummy ${ac_tool_prefix}ranlib; ac_word=$2
5146 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5147 $as_echo_n "checking for $ac_word... " >&6; }
5148 if ${ac_cv_prog_RANLIB+:} false; then :
5149 $as_echo_n "(cached) " >&6
5150 else
5151 if test -n "$RANLIB"; then
5152 ac_cv_prog_RANLIB="$RANLIB" # Let the user override the test.
5153 else
5154 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5155 for as_dir in $PATH
5157 IFS=$as_save_IFS
5158 test -z "$as_dir" && as_dir=.
5159 for ac_exec_ext in '' $ac_executable_extensions; do
5160 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
5161 ac_cv_prog_RANLIB="${ac_tool_prefix}ranlib"
5162 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5163 break 2
5165 done
5166 done
5167 IFS=$as_save_IFS
5171 RANLIB=$ac_cv_prog_RANLIB
5172 if test -n "$RANLIB"; then
5173 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $RANLIB" >&5
5174 $as_echo "$RANLIB" >&6; }
5175 else
5176 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5177 $as_echo "no" >&6; }
5182 if test -z "$ac_cv_prog_RANLIB"; then
5183 ac_ct_RANLIB=$RANLIB
5184 # Extract the first word of "ranlib", so it can be a program name with args.
5185 set dummy ranlib; ac_word=$2
5186 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5187 $as_echo_n "checking for $ac_word... " >&6; }
5188 if ${ac_cv_prog_ac_ct_RANLIB+:} false; then :
5189 $as_echo_n "(cached) " >&6
5190 else
5191 if test -n "$ac_ct_RANLIB"; then
5192 ac_cv_prog_ac_ct_RANLIB="$ac_ct_RANLIB" # Let the user override the test.
5193 else
5194 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5195 for as_dir in $PATH
5197 IFS=$as_save_IFS
5198 test -z "$as_dir" && as_dir=.
5199 for ac_exec_ext in '' $ac_executable_extensions; do
5200 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
5201 ac_cv_prog_ac_ct_RANLIB="ranlib"
5202 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5203 break 2
5205 done
5206 done
5207 IFS=$as_save_IFS
5211 ac_ct_RANLIB=$ac_cv_prog_ac_ct_RANLIB
5212 if test -n "$ac_ct_RANLIB"; then
5213 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_RANLIB" >&5
5214 $as_echo "$ac_ct_RANLIB" >&6; }
5215 else
5216 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5217 $as_echo "no" >&6; }
5220 if test "x$ac_ct_RANLIB" = x; then
5221 RANLIB=":"
5222 else
5223 case $cross_compiling:$ac_tool_warned in
5224 yes:)
5225 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
5226 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
5227 ac_tool_warned=yes ;;
5228 esac
5229 RANLIB=$ac_ct_RANLIB
5231 else
5232 RANLIB="$ac_cv_prog_RANLIB"
5235 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ln -s works" >&5
5236 $as_echo_n "checking whether ln -s works... " >&6; }
5237 LN_S=$as_ln_s
5238 if test "$LN_S" = "ln -s"; then
5239 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
5240 $as_echo "yes" >&6; }
5241 else
5242 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no, using $LN_S" >&5
5243 $as_echo "no, using $LN_S" >&6; }
5246 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for grep that handles long lines and -e" >&5
5247 $as_echo_n "checking for grep that handles long lines and -e... " >&6; }
5248 if ${ac_cv_path_GREP+:} false; then :
5249 $as_echo_n "(cached) " >&6
5250 else
5251 if test -z "$GREP"; then
5252 ac_path_GREP_found=false
5253 # Loop through the user's path and test for each of PROGNAME-LIST
5254 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5255 for as_dir in $PATH$PATH_SEPARATOR/usr/xpg4/bin
5257 IFS=$as_save_IFS
5258 test -z "$as_dir" && as_dir=.
5259 for ac_prog in grep ggrep; do
5260 for ac_exec_ext in '' $ac_executable_extensions; do
5261 ac_path_GREP="$as_dir/$ac_prog$ac_exec_ext"
5262 as_fn_executable_p "$ac_path_GREP" || continue
5263 # Check for GNU ac_path_GREP and select it if it is found.
5264 # Check for GNU $ac_path_GREP
5265 case `"$ac_path_GREP" --version 2>&1` in
5266 *GNU*)
5267 ac_cv_path_GREP="$ac_path_GREP" ac_path_GREP_found=:;;
5269 ac_count=0
5270 $as_echo_n 0123456789 >"conftest.in"
5271 while :
5273 cat "conftest.in" "conftest.in" >"conftest.tmp"
5274 mv "conftest.tmp" "conftest.in"
5275 cp "conftest.in" "conftest.nl"
5276 $as_echo 'GREP' >> "conftest.nl"
5277 "$ac_path_GREP" -e 'GREP$' -e '-(cannot match)-' < "conftest.nl" >"conftest.out" 2>/dev/null || break
5278 diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break
5279 as_fn_arith $ac_count + 1 && ac_count=$as_val
5280 if test $ac_count -gt ${ac_path_GREP_max-0}; then
5281 # Best one so far, save it but keep looking for a better one
5282 ac_cv_path_GREP="$ac_path_GREP"
5283 ac_path_GREP_max=$ac_count
5285 # 10*(2^10) chars as input seems more than enough
5286 test $ac_count -gt 10 && break
5287 done
5288 rm -f conftest.in conftest.tmp conftest.nl conftest.out;;
5289 esac
5291 $ac_path_GREP_found && break 3
5292 done
5293 done
5294 done
5295 IFS=$as_save_IFS
5296 if test -z "$ac_cv_path_GREP"; then
5297 as_fn_error $? "no acceptable grep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" "$LINENO" 5
5299 else
5300 ac_cv_path_GREP=$GREP
5304 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_GREP" >&5
5305 $as_echo "$ac_cv_path_GREP" >&6; }
5306 GREP="$ac_cv_path_GREP"
5309 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for egrep" >&5
5310 $as_echo_n "checking for egrep... " >&6; }
5311 if ${ac_cv_path_EGREP+:} false; then :
5312 $as_echo_n "(cached) " >&6
5313 else
5314 if echo a | $GREP -E '(a|b)' >/dev/null 2>&1
5315 then ac_cv_path_EGREP="$GREP -E"
5316 else
5317 if test -z "$EGREP"; then
5318 ac_path_EGREP_found=false
5319 # Loop through the user's path and test for each of PROGNAME-LIST
5320 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5321 for as_dir in $PATH$PATH_SEPARATOR/usr/xpg4/bin
5323 IFS=$as_save_IFS
5324 test -z "$as_dir" && as_dir=.
5325 for ac_prog in egrep; do
5326 for ac_exec_ext in '' $ac_executable_extensions; do
5327 ac_path_EGREP="$as_dir/$ac_prog$ac_exec_ext"
5328 as_fn_executable_p "$ac_path_EGREP" || continue
5329 # Check for GNU ac_path_EGREP and select it if it is found.
5330 # Check for GNU $ac_path_EGREP
5331 case `"$ac_path_EGREP" --version 2>&1` in
5332 *GNU*)
5333 ac_cv_path_EGREP="$ac_path_EGREP" ac_path_EGREP_found=:;;
5335 ac_count=0
5336 $as_echo_n 0123456789 >"conftest.in"
5337 while :
5339 cat "conftest.in" "conftest.in" >"conftest.tmp"
5340 mv "conftest.tmp" "conftest.in"
5341 cp "conftest.in" "conftest.nl"
5342 $as_echo 'EGREP' >> "conftest.nl"
5343 "$ac_path_EGREP" 'EGREP$' < "conftest.nl" >"conftest.out" 2>/dev/null || break
5344 diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break
5345 as_fn_arith $ac_count + 1 && ac_count=$as_val
5346 if test $ac_count -gt ${ac_path_EGREP_max-0}; then
5347 # Best one so far, save it but keep looking for a better one
5348 ac_cv_path_EGREP="$ac_path_EGREP"
5349 ac_path_EGREP_max=$ac_count
5351 # 10*(2^10) chars as input seems more than enough
5352 test $ac_count -gt 10 && break
5353 done
5354 rm -f conftest.in conftest.tmp conftest.nl conftest.out;;
5355 esac
5357 $ac_path_EGREP_found && break 3
5358 done
5359 done
5360 done
5361 IFS=$as_save_IFS
5362 if test -z "$ac_cv_path_EGREP"; then
5363 as_fn_error $? "no acceptable egrep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" "$LINENO" 5
5365 else
5366 ac_cv_path_EGREP=$EGREP
5371 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_EGREP" >&5
5372 $as_echo "$ac_cv_path_EGREP" >&6; }
5373 EGREP="$ac_cv_path_EGREP"
5376 # Extract the first word of "ldconfig", so it can be a program name with args.
5377 set dummy ldconfig; ac_word=$2
5378 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5379 $as_echo_n "checking for $ac_word... " >&6; }
5380 if ${ac_cv_path_LDCONFIG+:} false; then :
5381 $as_echo_n "(cached) " >&6
5382 else
5383 case $LDCONFIG in
5384 [\\/]* | ?:[\\/]*)
5385 ac_cv_path_LDCONFIG="$LDCONFIG" # Let the user override the test with a path.
5388 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5389 for as_dir in /sbin /usr/sbin $PATH
5391 IFS=$as_save_IFS
5392 test -z "$as_dir" && as_dir=.
5393 for ac_exec_ext in '' $ac_executable_extensions; do
5394 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
5395 ac_cv_path_LDCONFIG="$as_dir/$ac_word$ac_exec_ext"
5396 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5397 break 2
5399 done
5400 done
5401 IFS=$as_save_IFS
5403 test -z "$ac_cv_path_LDCONFIG" && ac_cv_path_LDCONFIG="true"
5405 esac
5407 LDCONFIG=$ac_cv_path_LDCONFIG
5408 if test -n "$LDCONFIG"; then
5409 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $LDCONFIG" >&5
5410 $as_echo "$LDCONFIG" >&6; }
5411 else
5412 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5413 $as_echo "no" >&6; }
5417 for ac_prog in msgfmt
5419 # Extract the first word of "$ac_prog", so it can be a program name with args.
5420 set dummy $ac_prog; ac_word=$2
5421 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5422 $as_echo_n "checking for $ac_word... " >&6; }
5423 if ${ac_cv_prog_MSGFMT+:} false; then :
5424 $as_echo_n "(cached) " >&6
5425 else
5426 if test -n "$MSGFMT"; then
5427 ac_cv_prog_MSGFMT="$MSGFMT" # Let the user override the test.
5428 else
5429 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5430 for as_dir in $PATH
5432 IFS=$as_save_IFS
5433 test -z "$as_dir" && as_dir=.
5434 for ac_exec_ext in '' $ac_executable_extensions; do
5435 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
5436 ac_cv_prog_MSGFMT="$ac_prog"
5437 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5438 break 2
5440 done
5441 done
5442 IFS=$as_save_IFS
5446 MSGFMT=$ac_cv_prog_MSGFMT
5447 if test -n "$MSGFMT"; then
5448 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $MSGFMT" >&5
5449 $as_echo "$MSGFMT" >&6; }
5450 else
5451 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5452 $as_echo "no" >&6; }
5456 test -n "$MSGFMT" && break
5457 done
5458 test -n "$MSGFMT" || MSGFMT="false"
5460 if ${ac_tool_prefix+:} false; then :
5461 # Extract the first word of "${ac_tool_prefix}pkg-config", so it can be a program name with args.
5462 set dummy ${ac_tool_prefix}pkg-config; ac_word=$2
5463 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5464 $as_echo_n "checking for $ac_word... " >&6; }
5465 if ${ac_cv_prog_PKG_CONFIG+:} false; then :
5466 $as_echo_n "(cached) " >&6
5467 else
5468 if test -n "$PKG_CONFIG"; then
5469 ac_cv_prog_PKG_CONFIG="$PKG_CONFIG" # Let the user override the test.
5470 else
5471 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5472 for as_dir in $PATH
5474 IFS=$as_save_IFS
5475 test -z "$as_dir" && as_dir=.
5476 for ac_exec_ext in '' $ac_executable_extensions; do
5477 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
5478 ac_cv_prog_PKG_CONFIG="${ac_tool_prefix}pkg-config"
5479 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5480 break 2
5482 done
5483 done
5484 IFS=$as_save_IFS
5488 PKG_CONFIG=$ac_cv_prog_PKG_CONFIG
5489 if test -n "$PKG_CONFIG"; then
5490 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $PKG_CONFIG" >&5
5491 $as_echo "$PKG_CONFIG" >&6; }
5492 else
5493 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5494 $as_echo "no" >&6; }
5499 if ${ac_cv_prog_PKG_CONFIG:+false} :; then :
5500 if test "x$cross_compiling" = xyes; then :
5502 else
5503 { ac_cv_prog_PKG_CONFIG=; unset ac_cv_prog_PKG_CONFIG;}
5504 # Extract the first word of "pkg-config", so it can be a program name with args.
5505 set dummy pkg-config; ac_word=$2
5506 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5507 $as_echo_n "checking for $ac_word... " >&6; }
5508 if ${ac_cv_prog_PKG_CONFIG+:} false; then :
5509 $as_echo_n "(cached) " >&6
5510 else
5511 if test -n "$PKG_CONFIG"; then
5512 ac_cv_prog_PKG_CONFIG="$PKG_CONFIG" # Let the user override the test.
5513 else
5514 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5515 for as_dir in $PATH
5517 IFS=$as_save_IFS
5518 test -z "$as_dir" && as_dir=.
5519 for ac_exec_ext in '' $ac_executable_extensions; do
5520 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
5521 ac_cv_prog_PKG_CONFIG="pkg-config"
5522 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5523 break 2
5525 done
5526 done
5527 IFS=$as_save_IFS
5531 PKG_CONFIG=$ac_cv_prog_PKG_CONFIG
5532 if test -n "$PKG_CONFIG"; then
5533 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $PKG_CONFIG" >&5
5534 $as_echo "$PKG_CONFIG" >&6; }
5535 else
5536 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5537 $as_echo "no" >&6; }
5542 else
5543 PKG_CONFIG=$ac_cv_prog_PKG_CONFIG
5546 if test "x$enable_maintainer_mode" != "xyes"
5547 then
5548 FONTFORGE=""
5549 RSVG=""
5550 CONVERT=""
5551 ICOTOOL=""
5552 else
5553 test "$srcdir" = . || as_fn_error $? "Maintainer mode cannot work out of tree." "$LINENO" 5
5554 for ac_prog in fontforge
5556 # Extract the first word of "$ac_prog", so it can be a program name with args.
5557 set dummy $ac_prog; ac_word=$2
5558 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5559 $as_echo_n "checking for $ac_word... " >&6; }
5560 if ${ac_cv_prog_FONTFORGE+:} false; then :
5561 $as_echo_n "(cached) " >&6
5562 else
5563 if test -n "$FONTFORGE"; then
5564 ac_cv_prog_FONTFORGE="$FONTFORGE" # Let the user override the test.
5565 else
5566 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5567 for as_dir in $PATH
5569 IFS=$as_save_IFS
5570 test -z "$as_dir" && as_dir=.
5571 for ac_exec_ext in '' $ac_executable_extensions; do
5572 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
5573 ac_cv_prog_FONTFORGE="$ac_prog"
5574 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5575 break 2
5577 done
5578 done
5579 IFS=$as_save_IFS
5583 FONTFORGE=$ac_cv_prog_FONTFORGE
5584 if test -n "$FONTFORGE"; then
5585 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $FONTFORGE" >&5
5586 $as_echo "$FONTFORGE" >&6; }
5587 else
5588 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5589 $as_echo "no" >&6; }
5593 test -n "$FONTFORGE" && break
5594 done
5595 test -n "$FONTFORGE" || FONTFORGE="false"
5597 for ac_prog in rsvg
5599 # Extract the first word of "$ac_prog", so it can be a program name with args.
5600 set dummy $ac_prog; ac_word=$2
5601 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5602 $as_echo_n "checking for $ac_word... " >&6; }
5603 if ${ac_cv_prog_RSVG+:} false; then :
5604 $as_echo_n "(cached) " >&6
5605 else
5606 if test -n "$RSVG"; then
5607 ac_cv_prog_RSVG="$RSVG" # Let the user override the test.
5608 else
5609 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5610 for as_dir in $PATH
5612 IFS=$as_save_IFS
5613 test -z "$as_dir" && as_dir=.
5614 for ac_exec_ext in '' $ac_executable_extensions; do
5615 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
5616 ac_cv_prog_RSVG="$ac_prog"
5617 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5618 break 2
5620 done
5621 done
5622 IFS=$as_save_IFS
5626 RSVG=$ac_cv_prog_RSVG
5627 if test -n "$RSVG"; then
5628 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $RSVG" >&5
5629 $as_echo "$RSVG" >&6; }
5630 else
5631 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5632 $as_echo "no" >&6; }
5636 test -n "$RSVG" && break
5637 done
5638 test -n "$RSVG" || RSVG="false"
5640 for ac_prog in convert
5642 # Extract the first word of "$ac_prog", so it can be a program name with args.
5643 set dummy $ac_prog; ac_word=$2
5644 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5645 $as_echo_n "checking for $ac_word... " >&6; }
5646 if ${ac_cv_prog_CONVERT+:} false; then :
5647 $as_echo_n "(cached) " >&6
5648 else
5649 if test -n "$CONVERT"; then
5650 ac_cv_prog_CONVERT="$CONVERT" # Let the user override the test.
5651 else
5652 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5653 for as_dir in $PATH
5655 IFS=$as_save_IFS
5656 test -z "$as_dir" && as_dir=.
5657 for ac_exec_ext in '' $ac_executable_extensions; do
5658 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
5659 ac_cv_prog_CONVERT="$ac_prog"
5660 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5661 break 2
5663 done
5664 done
5665 IFS=$as_save_IFS
5669 CONVERT=$ac_cv_prog_CONVERT
5670 if test -n "$CONVERT"; then
5671 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CONVERT" >&5
5672 $as_echo "$CONVERT" >&6; }
5673 else
5674 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5675 $as_echo "no" >&6; }
5679 test -n "$CONVERT" && break
5680 done
5681 test -n "$CONVERT" || CONVERT="false"
5683 for ac_prog in icotool
5685 # Extract the first word of "$ac_prog", so it can be a program name with args.
5686 set dummy $ac_prog; ac_word=$2
5687 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5688 $as_echo_n "checking for $ac_word... " >&6; }
5689 if ${ac_cv_prog_ICOTOOL+:} false; then :
5690 $as_echo_n "(cached) " >&6
5691 else
5692 if test -n "$ICOTOOL"; then
5693 ac_cv_prog_ICOTOOL="$ICOTOOL" # Let the user override the test.
5694 else
5695 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5696 for as_dir in $PATH
5698 IFS=$as_save_IFS
5699 test -z "$as_dir" && as_dir=.
5700 for ac_exec_ext in '' $ac_executable_extensions; do
5701 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
5702 ac_cv_prog_ICOTOOL="$ac_prog"
5703 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5704 break 2
5706 done
5707 done
5708 IFS=$as_save_IFS
5712 ICOTOOL=$ac_cv_prog_ICOTOOL
5713 if test -n "$ICOTOOL"; then
5714 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ICOTOOL" >&5
5715 $as_echo "$ICOTOOL" >&6; }
5716 else
5717 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5718 $as_echo "no" >&6; }
5722 test -n "$ICOTOOL" && break
5723 done
5724 test -n "$ICOTOOL" || ICOTOOL="false"
5726 test "$FONTFORGE" != "false" || as_fn_error $? "You need fontforge to rebuild fonts in maintainer mode." "$LINENO" 5
5727 test "$RSVG" != "false" || as_fn_error $? "You need rsvg to rebuild icons in maintainer mode." "$LINENO" 5
5729 if test "$CONVERT" = false
5730 then
5731 as_fn_error $? "You need imagemagick to rebuild icons in maintainer mode." "$LINENO" 5
5732 else
5733 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for recent enough imagemagick" >&5
5734 $as_echo_n "checking for recent enough imagemagick... " >&6; }
5735 convert_version=`convert --version | head -n1`
5736 if test "x$convert_version" != "x"
5737 then
5738 convert_version_major=`expr "$convert_version" : '.* \([0-9]*\)\.[0-9]*'`
5739 convert_version_minor=`expr "$convert_version" : '.* [0-9]*\.\([0-9]*\)'`
5740 if test "$convert_version_major" -eq 6 -a "$convert_version_minor" -lt 6
5741 then
5742 CONVERT=false
5745 if test "$CONVERT" = false
5746 then
5747 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no ($convert_version_major.$convert_version_minor)" >&5
5748 $as_echo "no ($convert_version_major.$convert_version_minor)" >&6; }
5749 as_fn_error $? "You need imagemagick version 6.6 or newer to rebuild icons in maintainer mode." "$LINENO" 5
5750 else
5751 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes ($convert_version_major.$convert_version_minor)" >&5
5752 $as_echo "yes ($convert_version_major.$convert_version_minor)" >&6; }
5756 if test "$ICOTOOL" = false
5757 then
5758 as_fn_error $? "You need icotool to rebuild icons in maintainer mode." "$LINENO" 5
5759 else
5760 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for recent enough icotool" >&5
5761 $as_echo_n "checking for recent enough icotool... " >&6; }
5762 icotool_version=`icotool --version | head -n1`
5763 if test "x$icotool_version" != "x"
5764 then
5765 icotool_version_major=`expr "$icotool_version" : '.* \([0-9]*\)\.[0-9]*'`
5766 icotool_version_minor=`expr "$icotool_version" : '.* [0-9]*\.\([0-9]*\)'`
5767 if test "$icotool_version_major" -eq 0 -a "$icotool_version_minor" -lt 29
5768 then
5769 ICOTOOL=false
5770 as_fn_append wine_warnings "|icotool version 0.29.0 or newer is needed to rebuild icons."
5773 if test "$ICOTOOL" = false
5774 then
5775 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no ($icotool_version_major.$icotool_version_minor)" >&5
5776 $as_echo "no ($icotool_version_major.$icotool_version_minor)" >&6; }
5777 as_fn_error $? "You need icotool version 0.29.0 or newer to rebuild icons in maintainer mode." "$LINENO" 5
5778 else
5779 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes ($icotool_version_major.$icotool_version_minor)" >&5
5780 $as_echo "yes ($icotool_version_major.$icotool_version_minor)" >&6; }
5784 with_gettext=yes
5785 with_gettextpo=yes
5786 { ac_cv_header_gettext_po_h=; unset ac_cv_header_gettext_po_h;}
5789 test "x$with_gettext" != xno || MSGFMT=false
5790 if test "$MSGFMT" != "false"
5791 then
5792 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether msgfmt supports contexts" >&5
5793 $as_echo_n "checking whether msgfmt supports contexts... " >&6; }
5794 cat >conftest.po <<EOF
5795 # comment
5796 msgctxt "ctxt"
5797 msgid "id"
5798 msgstr "str"
5800 if $MSGFMT -o /dev/null conftest.po 2>&5
5801 then
5802 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
5803 $as_echo "yes" >&6; }
5804 else
5805 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5806 $as_echo "no" >&6; }
5807 MSGFMT=false
5810 if test "$MSGFMT" = false; then :
5811 case "x$with_gettext" in
5812 x) as_fn_append wine_warnings "|gettext tools not found (or too old), translations won't be built." ;;
5813 xno) ;;
5814 *) as_fn_error $? "gettext tools not found (or too old), translations won't be built.
5815 This is an error since --with-gettext was requested." "$LINENO" 5 ;;
5816 esac
5820 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for i386_set_ldt in -li386" >&5
5821 $as_echo_n "checking for i386_set_ldt in -li386... " >&6; }
5822 if ${ac_cv_lib_i386_i386_set_ldt+:} false; then :
5823 $as_echo_n "(cached) " >&6
5824 else
5825 ac_check_lib_save_LIBS=$LIBS
5826 LIBS="-li386 $LIBS"
5827 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
5828 /* end confdefs.h. */
5830 /* Override any GCC internal prototype to avoid an error.
5831 Use char because int might match the return type of a GCC
5832 builtin and then its argument prototype would still apply. */
5833 #ifdef __cplusplus
5834 extern "C"
5835 #endif
5836 char i386_set_ldt ();
5838 main ()
5840 return i386_set_ldt ();
5842 return 0;
5844 _ACEOF
5845 if ac_fn_c_try_link "$LINENO"; then :
5846 ac_cv_lib_i386_i386_set_ldt=yes
5847 else
5848 ac_cv_lib_i386_i386_set_ldt=no
5850 rm -f core conftest.err conftest.$ac_objext \
5851 conftest$ac_exeext conftest.$ac_ext
5852 LIBS=$ac_check_lib_save_LIBS
5854 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_i386_i386_set_ldt" >&5
5855 $as_echo "$ac_cv_lib_i386_i386_set_ldt" >&6; }
5856 if test "x$ac_cv_lib_i386_i386_set_ldt" = xyes; then :
5857 cat >>confdefs.h <<_ACEOF
5858 #define HAVE_LIBI386 1
5859 _ACEOF
5861 LIBS="-li386 $LIBS"
5865 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _oss_ioctl in -lossaudio" >&5
5866 $as_echo_n "checking for _oss_ioctl in -lossaudio... " >&6; }
5867 if ${ac_cv_lib_ossaudio__oss_ioctl+:} false; then :
5868 $as_echo_n "(cached) " >&6
5869 else
5870 ac_check_lib_save_LIBS=$LIBS
5871 LIBS="-lossaudio $LIBS"
5872 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
5873 /* end confdefs.h. */
5875 /* Override any GCC internal prototype to avoid an error.
5876 Use char because int might match the return type of a GCC
5877 builtin and then its argument prototype would still apply. */
5878 #ifdef __cplusplus
5879 extern "C"
5880 #endif
5881 char _oss_ioctl ();
5883 main ()
5885 return _oss_ioctl ();
5887 return 0;
5889 _ACEOF
5890 if ac_fn_c_try_link "$LINENO"; then :
5891 ac_cv_lib_ossaudio__oss_ioctl=yes
5892 else
5893 ac_cv_lib_ossaudio__oss_ioctl=no
5895 rm -f core conftest.err conftest.$ac_objext \
5896 conftest$ac_exeext conftest.$ac_ext
5897 LIBS=$ac_check_lib_save_LIBS
5899 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_ossaudio__oss_ioctl" >&5
5900 $as_echo "$ac_cv_lib_ossaudio__oss_ioctl" >&6; }
5901 if test "x$ac_cv_lib_ossaudio__oss_ioctl" = xyes; then :
5902 cat >>confdefs.h <<_ACEOF
5903 #define HAVE_LIBOSSAUDIO 1
5904 _ACEOF
5906 LIBS="-lossaudio $LIBS"
5911 OPENGL_LIBS=""
5915 # Check whether --enable-largefile was given.
5916 if test "${enable_largefile+set}" = set; then :
5917 enableval=$enable_largefile;
5920 if test "$enable_largefile" != no; then
5922 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for special C compiler options needed for large files" >&5
5923 $as_echo_n "checking for special C compiler options needed for large files... " >&6; }
5924 if ${ac_cv_sys_largefile_CC+:} false; then :
5925 $as_echo_n "(cached) " >&6
5926 else
5927 ac_cv_sys_largefile_CC=no
5928 if test "$GCC" != yes; then
5929 ac_save_CC=$CC
5930 while :; do
5931 # IRIX 6.2 and later do not support large files by default,
5932 # so use the C compiler's -n32 option if that helps.
5933 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
5934 /* end confdefs.h. */
5935 #include <sys/types.h>
5936 /* Check that off_t can represent 2**63 - 1 correctly.
5937 We can't simply define LARGE_OFF_T to be 9223372036854775807,
5938 since some C++ compilers masquerading as C compilers
5939 incorrectly reject 9223372036854775807. */
5940 #define LARGE_OFF_T (((off_t) 1 << 62) - 1 + ((off_t) 1 << 62))
5941 int off_t_is_large[(LARGE_OFF_T % 2147483629 == 721
5942 && LARGE_OFF_T % 2147483647 == 1)
5943 ? 1 : -1];
5945 main ()
5949 return 0;
5951 _ACEOF
5952 if ac_fn_c_try_compile "$LINENO"; then :
5953 break
5955 rm -f core conftest.err conftest.$ac_objext
5956 CC="$CC -n32"
5957 if ac_fn_c_try_compile "$LINENO"; then :
5958 ac_cv_sys_largefile_CC=' -n32'; break
5960 rm -f core conftest.err conftest.$ac_objext
5961 break
5962 done
5963 CC=$ac_save_CC
5964 rm -f conftest.$ac_ext
5967 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_sys_largefile_CC" >&5
5968 $as_echo "$ac_cv_sys_largefile_CC" >&6; }
5969 if test "$ac_cv_sys_largefile_CC" != no; then
5970 CC=$CC$ac_cv_sys_largefile_CC
5973 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _FILE_OFFSET_BITS value needed for large files" >&5
5974 $as_echo_n "checking for _FILE_OFFSET_BITS value needed for large files... " >&6; }
5975 if ${ac_cv_sys_file_offset_bits+:} false; then :
5976 $as_echo_n "(cached) " >&6
5977 else
5978 while :; do
5979 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
5980 /* end confdefs.h. */
5981 #include <sys/types.h>
5982 /* Check that off_t can represent 2**63 - 1 correctly.
5983 We can't simply define LARGE_OFF_T to be 9223372036854775807,
5984 since some C++ compilers masquerading as C compilers
5985 incorrectly reject 9223372036854775807. */
5986 #define LARGE_OFF_T (((off_t) 1 << 62) - 1 + ((off_t) 1 << 62))
5987 int off_t_is_large[(LARGE_OFF_T % 2147483629 == 721
5988 && LARGE_OFF_T % 2147483647 == 1)
5989 ? 1 : -1];
5991 main ()
5995 return 0;
5997 _ACEOF
5998 if ac_fn_c_try_compile "$LINENO"; then :
5999 ac_cv_sys_file_offset_bits=no; break
6001 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
6002 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
6003 /* end confdefs.h. */
6004 #define _FILE_OFFSET_BITS 64
6005 #include <sys/types.h>
6006 /* Check that off_t can represent 2**63 - 1 correctly.
6007 We can't simply define LARGE_OFF_T to be 9223372036854775807,
6008 since some C++ compilers masquerading as C compilers
6009 incorrectly reject 9223372036854775807. */
6010 #define LARGE_OFF_T (((off_t) 1 << 62) - 1 + ((off_t) 1 << 62))
6011 int off_t_is_large[(LARGE_OFF_T % 2147483629 == 721
6012 && LARGE_OFF_T % 2147483647 == 1)
6013 ? 1 : -1];
6015 main ()
6019 return 0;
6021 _ACEOF
6022 if ac_fn_c_try_compile "$LINENO"; then :
6023 ac_cv_sys_file_offset_bits=64; break
6025 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
6026 ac_cv_sys_file_offset_bits=unknown
6027 break
6028 done
6030 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_sys_file_offset_bits" >&5
6031 $as_echo "$ac_cv_sys_file_offset_bits" >&6; }
6032 case $ac_cv_sys_file_offset_bits in #(
6033 no | unknown) ;;
6035 cat >>confdefs.h <<_ACEOF
6036 #define _FILE_OFFSET_BITS $ac_cv_sys_file_offset_bits
6037 _ACEOF
6039 esac
6040 rm -rf conftest*
6041 if test $ac_cv_sys_file_offset_bits = unknown; then
6042 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _LARGE_FILES value needed for large files" >&5
6043 $as_echo_n "checking for _LARGE_FILES value needed for large files... " >&6; }
6044 if ${ac_cv_sys_large_files+:} false; then :
6045 $as_echo_n "(cached) " >&6
6046 else
6047 while :; do
6048 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
6049 /* end confdefs.h. */
6050 #include <sys/types.h>
6051 /* Check that off_t can represent 2**63 - 1 correctly.
6052 We can't simply define LARGE_OFF_T to be 9223372036854775807,
6053 since some C++ compilers masquerading as C compilers
6054 incorrectly reject 9223372036854775807. */
6055 #define LARGE_OFF_T (((off_t) 1 << 62) - 1 + ((off_t) 1 << 62))
6056 int off_t_is_large[(LARGE_OFF_T % 2147483629 == 721
6057 && LARGE_OFF_T % 2147483647 == 1)
6058 ? 1 : -1];
6060 main ()
6064 return 0;
6066 _ACEOF
6067 if ac_fn_c_try_compile "$LINENO"; then :
6068 ac_cv_sys_large_files=no; break
6070 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
6071 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
6072 /* end confdefs.h. */
6073 #define _LARGE_FILES 1
6074 #include <sys/types.h>
6075 /* Check that off_t can represent 2**63 - 1 correctly.
6076 We can't simply define LARGE_OFF_T to be 9223372036854775807,
6077 since some C++ compilers masquerading as C compilers
6078 incorrectly reject 9223372036854775807. */
6079 #define LARGE_OFF_T (((off_t) 1 << 62) - 1 + ((off_t) 1 << 62))
6080 int off_t_is_large[(LARGE_OFF_T % 2147483629 == 721
6081 && LARGE_OFF_T % 2147483647 == 1)
6082 ? 1 : -1];
6084 main ()
6088 return 0;
6090 _ACEOF
6091 if ac_fn_c_try_compile "$LINENO"; then :
6092 ac_cv_sys_large_files=1; break
6094 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
6095 ac_cv_sys_large_files=unknown
6096 break
6097 done
6099 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_sys_large_files" >&5
6100 $as_echo "$ac_cv_sys_large_files" >&6; }
6101 case $ac_cv_sys_large_files in #(
6102 no | unknown) ;;
6104 cat >>confdefs.h <<_ACEOF
6105 #define _LARGE_FILES $ac_cv_sys_large_files
6106 _ACEOF
6108 esac
6109 rm -rf conftest*
6116 ac_ext=c
6117 ac_cpp='$CPP $CPPFLAGS'
6118 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
6119 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
6120 ac_compiler_gnu=$ac_cv_c_compiler_gnu
6121 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to run the C preprocessor" >&5
6122 $as_echo_n "checking how to run the C preprocessor... " >&6; }
6123 # On Suns, sometimes $CPP names a directory.
6124 if test -n "$CPP" && test -d "$CPP"; then
6125 CPP=
6127 if test -z "$CPP"; then
6128 if ${ac_cv_prog_CPP+:} false; then :
6129 $as_echo_n "(cached) " >&6
6130 else
6131 # Double quotes because CPP needs to be expanded
6132 for CPP in "$CC -E" "$CC -E -traditional-cpp" "/lib/cpp"
6134 ac_preproc_ok=false
6135 for ac_c_preproc_warn_flag in '' yes
6137 # Use a header file that comes with gcc, so configuring glibc
6138 # with a fresh cross-compiler works.
6139 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
6140 # <limits.h> exists even on freestanding compilers.
6141 # On the NeXT, cc -E runs the code through the compiler's parser,
6142 # not just through cpp. "Syntax error" is here to catch this case.
6143 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
6144 /* end confdefs.h. */
6145 #ifdef __STDC__
6146 # include <limits.h>
6147 #else
6148 # include <assert.h>
6149 #endif
6150 Syntax error
6151 _ACEOF
6152 if ac_fn_c_try_cpp "$LINENO"; then :
6154 else
6155 # Broken: fails on valid input.
6156 continue
6158 rm -f conftest.err conftest.i conftest.$ac_ext
6160 # OK, works on sane cases. Now check whether nonexistent headers
6161 # can be detected and how.
6162 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
6163 /* end confdefs.h. */
6164 #include <ac_nonexistent.h>
6165 _ACEOF
6166 if ac_fn_c_try_cpp "$LINENO"; then :
6167 # Broken: success on invalid input.
6168 continue
6169 else
6170 # Passes both tests.
6171 ac_preproc_ok=:
6172 break
6174 rm -f conftest.err conftest.i conftest.$ac_ext
6176 done
6177 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
6178 rm -f conftest.i conftest.err conftest.$ac_ext
6179 if $ac_preproc_ok; then :
6180 break
6183 done
6184 ac_cv_prog_CPP=$CPP
6187 CPP=$ac_cv_prog_CPP
6188 else
6189 ac_cv_prog_CPP=$CPP
6191 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CPP" >&5
6192 $as_echo "$CPP" >&6; }
6193 ac_preproc_ok=false
6194 for ac_c_preproc_warn_flag in '' yes
6196 # Use a header file that comes with gcc, so configuring glibc
6197 # with a fresh cross-compiler works.
6198 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
6199 # <limits.h> exists even on freestanding compilers.
6200 # On the NeXT, cc -E runs the code through the compiler's parser,
6201 # not just through cpp. "Syntax error" is here to catch this case.
6202 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
6203 /* end confdefs.h. */
6204 #ifdef __STDC__
6205 # include <limits.h>
6206 #else
6207 # include <assert.h>
6208 #endif
6209 Syntax error
6210 _ACEOF
6211 if ac_fn_c_try_cpp "$LINENO"; then :
6213 else
6214 # Broken: fails on valid input.
6215 continue
6217 rm -f conftest.err conftest.i conftest.$ac_ext
6219 # OK, works on sane cases. Now check whether nonexistent headers
6220 # can be detected and how.
6221 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
6222 /* end confdefs.h. */
6223 #include <ac_nonexistent.h>
6224 _ACEOF
6225 if ac_fn_c_try_cpp "$LINENO"; then :
6226 # Broken: success on invalid input.
6227 continue
6228 else
6229 # Passes both tests.
6230 ac_preproc_ok=:
6231 break
6233 rm -f conftest.err conftest.i conftest.$ac_ext
6235 done
6236 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
6237 rm -f conftest.i conftest.err conftest.$ac_ext
6238 if $ac_preproc_ok; then :
6240 else
6241 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
6242 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
6243 as_fn_error $? "C preprocessor \"$CPP\" fails sanity check
6244 See \`config.log' for more details" "$LINENO" 5; }
6247 ac_ext=c
6248 ac_cpp='$CPP $CPPFLAGS'
6249 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
6250 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
6251 ac_compiler_gnu=$ac_cv_c_compiler_gnu
6254 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ANSI C header files" >&5
6255 $as_echo_n "checking for ANSI C header files... " >&6; }
6256 if ${ac_cv_header_stdc+:} false; then :
6257 $as_echo_n "(cached) " >&6
6258 else
6259 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
6260 /* end confdefs.h. */
6261 #include <stdlib.h>
6262 #include <stdarg.h>
6263 #include <string.h>
6264 #include <float.h>
6267 main ()
6271 return 0;
6273 _ACEOF
6274 if ac_fn_c_try_compile "$LINENO"; then :
6275 ac_cv_header_stdc=yes
6276 else
6277 ac_cv_header_stdc=no
6279 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
6281 if test $ac_cv_header_stdc = yes; then
6282 # SunOS 4.x string.h does not declare mem*, contrary to ANSI.
6283 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
6284 /* end confdefs.h. */
6285 #include <string.h>
6287 _ACEOF
6288 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
6289 $EGREP "memchr" >/dev/null 2>&1; then :
6291 else
6292 ac_cv_header_stdc=no
6294 rm -f conftest*
6298 if test $ac_cv_header_stdc = yes; then
6299 # ISC 2.0.2 stdlib.h does not declare free, contrary to ANSI.
6300 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
6301 /* end confdefs.h. */
6302 #include <stdlib.h>
6304 _ACEOF
6305 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
6306 $EGREP "free" >/dev/null 2>&1; then :
6308 else
6309 ac_cv_header_stdc=no
6311 rm -f conftest*
6315 if test $ac_cv_header_stdc = yes; then
6316 # /bin/cc in Irix-4.0.5 gets non-ANSI ctype macros unless using -ansi.
6317 if test "$cross_compiling" = yes; then :
6319 else
6320 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
6321 /* end confdefs.h. */
6322 #include <ctype.h>
6323 #include <stdlib.h>
6324 #if ((' ' & 0x0FF) == 0x020)
6325 # define ISLOWER(c) ('a' <= (c) && (c) <= 'z')
6326 # define TOUPPER(c) (ISLOWER(c) ? 'A' + ((c) - 'a') : (c))
6327 #else
6328 # define ISLOWER(c) \
6329 (('a' <= (c) && (c) <= 'i') \
6330 || ('j' <= (c) && (c) <= 'r') \
6331 || ('s' <= (c) && (c) <= 'z'))
6332 # define TOUPPER(c) (ISLOWER(c) ? ((c) | 0x40) : (c))
6333 #endif
6335 #define XOR(e, f) (((e) && !(f)) || (!(e) && (f)))
6337 main ()
6339 int i;
6340 for (i = 0; i < 256; i++)
6341 if (XOR (islower (i), ISLOWER (i))
6342 || toupper (i) != TOUPPER (i))
6343 return 2;
6344 return 0;
6346 _ACEOF
6347 if ac_fn_c_try_run "$LINENO"; then :
6349 else
6350 ac_cv_header_stdc=no
6352 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \
6353 conftest.$ac_objext conftest.beam conftest.$ac_ext
6358 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_header_stdc" >&5
6359 $as_echo "$ac_cv_header_stdc" >&6; }
6360 if test $ac_cv_header_stdc = yes; then
6362 $as_echo "#define STDC_HEADERS 1" >>confdefs.h
6366 # On IRIX 5.3, sys/types and inttypes.h are conflicting.
6367 for ac_header in sys/types.h sys/stat.h stdlib.h string.h memory.h strings.h \
6368 inttypes.h stdint.h unistd.h
6369 do :
6370 as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
6371 ac_fn_c_check_header_compile "$LINENO" "$ac_header" "$as_ac_Header" "$ac_includes_default
6373 if eval test \"x\$"$as_ac_Header"\" = x"yes"; then :
6374 cat >>confdefs.h <<_ACEOF
6375 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
6376 _ACEOF
6380 done
6383 for ac_header in \
6384 AL/al.h \
6385 ApplicationServices/ApplicationServices.h \
6386 AudioToolbox/AudioConverter.h \
6387 AudioUnit/AudioUnit.h \
6388 AudioUnit/AudioComponent.h \
6389 CL/cl.h \
6390 Carbon/Carbon.h \
6391 CoreAudio/CoreAudio.h \
6392 CoreServices/CoreServices.h \
6393 DiskArbitration/DiskArbitration.h \
6394 IOKit/IOKitLib.h \
6395 IOKit/hid/IOHIDLib.h \
6396 OpenAL/al.h \
6397 OpenCL/opencl.h \
6398 QuickTime/ImageCompression.h \
6399 Security/Security.h \
6400 alias.h \
6401 alsa/asoundlib.h \
6402 arpa/inet.h \
6403 arpa/nameser.h \
6404 asm/types.h \
6405 asm/user.h \
6406 curses.h \
6407 direct.h \
6408 dirent.h \
6409 dlfcn.h \
6410 elf.h \
6411 float.h \
6412 fnmatch.h \
6413 getopt.h \
6414 gettext-po.h \
6415 grp.h \
6416 gsm.h \
6417 gsm/gsm.h \
6418 ieeefp.h \
6419 inet/mib2.h \
6420 io.h \
6421 kstat.h \
6422 lber.h \
6423 ldap.h \
6424 libproc.h \
6425 link.h \
6426 linux/cdrom.h \
6427 linux/compiler.h \
6428 linux/filter.h \
6429 linux/hdreg.h \
6430 linux/input.h \
6431 linux/ioctl.h \
6432 linux/joystick.h \
6433 linux/major.h \
6434 linux/param.h \
6435 linux/serial.h \
6436 linux/types.h \
6437 linux/ucdrom.h \
6438 lwp.h \
6439 mach-o/nlist.h \
6440 mach-o/loader.h \
6441 mach/mach.h \
6442 mach/machine.h \
6443 machine/cpu.h \
6444 machine/limits.h \
6445 machine/sysarch.h \
6446 mntent.h \
6447 ncurses.h \
6448 netdb.h \
6449 netinet/in.h \
6450 netinet/in_systm.h \
6451 netinet/tcp.h \
6452 netinet/tcp_fsm.h \
6453 poll.h \
6454 port.h \
6455 process.h \
6456 pthread.h \
6457 pwd.h \
6458 sched.h \
6459 scsi/scsi.h \
6460 scsi/scsi_ioctl.h \
6461 scsi/sg.h \
6462 stdbool.h \
6463 stdint.h \
6464 stropts.h \
6465 sys/asoundlib.h \
6466 sys/attr.h \
6467 sys/cdio.h \
6468 sys/elf32.h \
6469 sys/epoll.h \
6470 sys/event.h \
6471 sys/exec_elf.h \
6472 sys/filio.h \
6473 sys/inotify.h \
6474 sys/ioctl.h \
6475 sys/ipc.h \
6476 sys/limits.h \
6477 sys/link.h \
6478 sys/mman.h \
6479 sys/modem.h \
6480 sys/msg.h \
6481 sys/mtio.h \
6482 sys/param.h \
6483 sys/poll.h \
6484 sys/prctl.h \
6485 sys/protosw.h \
6486 sys/ptrace.h \
6487 sys/queue.h \
6488 sys/resource.h \
6489 sys/scsiio.h \
6490 sys/shm.h \
6491 sys/signal.h \
6492 sys/socket.h \
6493 sys/socketvar.h \
6494 sys/sockio.h \
6495 sys/statvfs.h \
6496 sys/strtio.h \
6497 sys/syscall.h \
6498 sys/tihdr.h \
6499 sys/time.h \
6500 sys/timeout.h \
6501 sys/times.h \
6502 sys/uio.h \
6503 sys/user.h \
6504 sys/utsname.h \
6505 sys/vm86.h \
6506 sys/wait.h \
6507 syscall.h \
6508 termios.h \
6509 unistd.h \
6510 utime.h \
6511 valgrind/memcheck.h \
6512 valgrind/valgrind.h \
6513 zlib.h
6515 do :
6516 as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
6517 ac_fn_c_check_header_mongrel "$LINENO" "$ac_header" "$as_ac_Header" "$ac_includes_default"
6518 if eval test \"x\$"$as_ac_Header"\" = x"yes"; then :
6519 cat >>confdefs.h <<_ACEOF
6520 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
6521 _ACEOF
6525 done
6527 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether stat file-mode macros are broken" >&5
6528 $as_echo_n "checking whether stat file-mode macros are broken... " >&6; }
6529 if ${ac_cv_header_stat_broken+:} false; then :
6530 $as_echo_n "(cached) " >&6
6531 else
6532 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
6533 /* end confdefs.h. */
6534 #include <sys/types.h>
6535 #include <sys/stat.h>
6537 #if defined S_ISBLK && defined S_IFDIR
6538 extern char c1[S_ISBLK (S_IFDIR) ? -1 : 1];
6539 #endif
6541 #if defined S_ISBLK && defined S_IFCHR
6542 extern char c2[S_ISBLK (S_IFCHR) ? -1 : 1];
6543 #endif
6545 #if defined S_ISLNK && defined S_IFREG
6546 extern char c3[S_ISLNK (S_IFREG) ? -1 : 1];
6547 #endif
6549 #if defined S_ISSOCK && defined S_IFREG
6550 extern char c4[S_ISSOCK (S_IFREG) ? -1 : 1];
6551 #endif
6553 _ACEOF
6554 if ac_fn_c_try_compile "$LINENO"; then :
6555 ac_cv_header_stat_broken=no
6556 else
6557 ac_cv_header_stat_broken=yes
6559 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
6561 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_header_stat_broken" >&5
6562 $as_echo "$ac_cv_header_stat_broken" >&6; }
6563 if test $ac_cv_header_stat_broken = yes; then
6565 $as_echo "#define STAT_MACROS_BROKEN 1" >>confdefs.h
6571 for ac_header in sys/mount.h sys/statfs.h sys/sysctl.h sys/user.h sys/vfs.h
6572 do :
6573 as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
6574 ac_fn_c_check_header_compile "$LINENO" "$ac_header" "$as_ac_Header" "#include <sys/types.h>
6575 #ifdef HAVE_SYS_PARAM_H
6576 # include <sys/param.h>
6577 #endif
6579 if eval test \"x\$"$as_ac_Header"\" = x"yes"; then :
6580 cat >>confdefs.h <<_ACEOF
6581 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
6582 _ACEOF
6586 done
6589 for ac_header in \
6590 netinet/ip.h \
6591 net/if.h \
6592 net/if_arp.h \
6593 net/if_dl.h \
6594 net/if_types.h \
6595 net/route.h \
6596 netinet/if_ether.h \
6597 netinet/if_inarp.h \
6598 netinet/in_pcb.h \
6599 netinet/ip_icmp.h \
6600 netinet/ip_var.h \
6601 netinet/udp.h \
6602 netipx/ipx.h \
6603 sys/un.h \
6605 do :
6606 as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
6607 ac_fn_c_check_header_compile "$LINENO" "$ac_header" "$as_ac_Header" "#include <sys/types.h>
6608 #ifdef HAVE_SYS_SOCKET_H
6609 # include <sys/socket.h>
6610 #endif
6611 #ifdef HAVE_SYS_SOCKETVAR_H
6612 # include <sys/socketvar.h>
6613 #endif
6614 #ifdef HAVE_NET_ROUTE_H
6615 # include <net/route.h>
6616 #endif
6617 #ifdef HAVE_NETINET_IN_H
6618 # include <netinet/in.h>
6619 #endif
6620 #ifdef HAVE_NETINET_IN_SYSTM_H
6621 # include <netinet/in_systm.h>
6622 #endif
6623 #ifdef HAVE_NET_IF_H
6624 # include <net/if.h>
6625 #endif
6626 #ifdef HAVE_NETINET_IP_H
6627 # include <netinet/ip.h>
6628 #endif
6630 if eval test \"x\$"$as_ac_Header"\" = x"yes"; then :
6631 cat >>confdefs.h <<_ACEOF
6632 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
6633 _ACEOF
6637 done
6640 for ac_header in netinet/tcp_timer.h netinet/udp_var.h netinet/icmp_var.h netinet/tcp_var.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_ALIAS_H
6645 # include <alias.h>
6646 #endif
6647 #ifdef HAVE_SYS_SOCKET_H
6648 # include <sys/socket.h>
6649 #endif
6650 #ifdef HAVE_SYS_SOCKETVAR_H
6651 # include <sys/socketvar.h>
6652 #endif
6653 #ifdef HAVE_SYS_TIMEOUT_H
6654 # include <sys/timeout.h>
6655 #endif
6656 #ifdef HAVE_NETINET_IN_H
6657 # include <netinet/in.h>
6658 #endif
6659 #ifdef HAVE_NETINET_IN_SYSTM_H
6660 # include <netinet/in_systm.h>
6661 #endif
6662 #ifdef HAVE_NETINET_IP_H
6663 # include <netinet/ip.h>
6664 #endif
6665 #ifdef HAVE_NETINET_IP_VAR_H
6666 # include <netinet/ip_var.h>
6667 #endif
6668 #ifdef HAVE_NETINET_IP_ICMP_H
6669 # include <netinet/ip_icmp.h>
6670 #endif
6671 #ifdef HAVE_NETINET_UDP_H
6672 # include <netinet/udp.h>
6673 #endif
6674 #ifdef HAVE_NETINET_TCP_H
6675 # include <netinet/tcp.h>
6676 #endif
6677 #ifdef HAVE_NETINET_TCP_TIMER_H
6678 #include <netinet/tcp_timer.h>
6679 #endif
6681 if eval test \"x\$"$as_ac_Header"\" = x"yes"; then :
6682 cat >>confdefs.h <<_ACEOF
6683 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
6684 _ACEOF
6688 done
6691 for ac_header in linux/ipx.h linux/irda.h linux/rtnetlink.h
6692 do :
6693 as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
6694 ac_fn_c_check_header_compile "$LINENO" "$ac_header" "$as_ac_Header" "#include <sys/types.h>
6695 #ifdef HAVE_ASM_TYPES_H
6696 # include <asm/types.h>
6697 #endif
6698 #ifdef HAVE_SYS_SOCKET_H
6699 # include <sys/socket.h>
6700 #endif
6701 #ifdef HAVE_LINUX_TYPES_H
6702 # include <linux/types.h>
6703 #endif
6705 if eval test \"x\$"$as_ac_Header"\" = x"yes"; then :
6706 cat >>confdefs.h <<_ACEOF
6707 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
6708 _ACEOF
6712 done
6715 for ac_header in mach-o/dyld_images.h
6716 do :
6717 ac_fn_c_check_header_compile "$LINENO" "mach-o/dyld_images.h" "ac_cv_header_mach_o_dyld_images_h" "#ifdef HAVE_STDBOOL_H
6718 # include <stdbool.h>
6719 #endif
6720 #ifdef HAVE_STDINT_H
6721 # include <stdint.h>
6722 #endif
6724 if test "x$ac_cv_header_mach_o_dyld_images_h" = xyes; then :
6725 cat >>confdefs.h <<_ACEOF
6726 #define HAVE_MACH_O_DYLD_IMAGES_H 1
6727 _ACEOF
6731 done
6734 for ac_header in resolv.h
6735 do :
6736 ac_fn_c_check_header_compile "$LINENO" "resolv.h" "ac_cv_header_resolv_h" "#include <sys/types.h>
6737 #ifdef HAVE_SYS_SOCKET_H
6738 # include <sys/socket.h>
6739 #endif
6740 #ifdef HAVE_NETINET_IN_H
6741 # include <netinet/in.h>
6742 #endif
6743 #ifdef HAVE_ARPA_NAMESER_H
6744 # include <arpa/nameser.h>
6745 #endif
6747 if test "x$ac_cv_header_resolv_h" = xyes; then :
6748 cat >>confdefs.h <<_ACEOF
6749 #define HAVE_RESOLV_H 1
6750 _ACEOF
6754 done
6757 for ac_header in ifaddrs.h
6758 do :
6759 ac_fn_c_check_header_compile "$LINENO" "ifaddrs.h" "ac_cv_header_ifaddrs_h" "#include <sys/types.h>
6761 if test "x$ac_cv_header_ifaddrs_h" = xyes; then :
6762 cat >>confdefs.h <<_ACEOF
6763 #define HAVE_IFADDRS_H 1
6764 _ACEOF
6768 done
6771 for ac_header in ucontext.h
6772 do :
6773 ac_fn_c_check_header_compile "$LINENO" "ucontext.h" "ac_cv_header_ucontext_h" "#include <signal.h>
6775 if test "x$ac_cv_header_ucontext_h" = xyes; then :
6776 cat >>confdefs.h <<_ACEOF
6777 #define HAVE_UCONTEXT_H 1
6778 _ACEOF
6782 done
6785 for ac_header in sys/thr.h
6786 do :
6787 ac_fn_c_check_header_compile "$LINENO" "sys/thr.h" "ac_cv_header_sys_thr_h" "#include <sys/types.h>
6788 #ifdef HAVE_UCONTEXT_H
6789 #include <ucontext.h>
6790 #endif
6792 if test "x$ac_cv_header_sys_thr_h" = xyes; then :
6793 cat >>confdefs.h <<_ACEOF
6794 #define HAVE_SYS_THR_H 1
6795 _ACEOF
6799 done
6802 for ac_header in pthread_np.h
6803 do :
6804 ac_fn_c_check_header_compile "$LINENO" "pthread_np.h" "ac_cv_header_pthread_np_h" "#ifdef HAVE_PTHREAD_H
6805 #include <pthread.h>
6806 #endif
6808 if test "x$ac_cv_header_pthread_np_h" = xyes; then :
6809 cat >>confdefs.h <<_ACEOF
6810 #define HAVE_PTHREAD_NP_H 1
6811 _ACEOF
6815 done
6818 for ac_header in linux/videodev.h linux/videodev2.h libv4l1.h
6819 do :
6820 as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
6821 ac_fn_c_check_header_compile "$LINENO" "$ac_header" "$as_ac_Header" "#ifdef HAVE_SYS_TIME_H
6822 #include <sys/time.h>
6823 #endif
6824 #include <sys/types.h>
6825 #ifdef HAVE_ASM_TYPES_H
6826 #include <asm/types.h>
6827 #endif
6829 if eval test \"x\$"$as_ac_Header"\" = x"yes"; then :
6830 cat >>confdefs.h <<_ACEOF
6831 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
6832 _ACEOF
6836 done
6839 for ac_header in libprocstat.h
6840 do :
6841 ac_fn_c_check_header_compile "$LINENO" "libprocstat.h" "ac_cv_header_libprocstat_h" "#ifdef HAVE_SYS_PARAM_H
6842 #include <sys/param.h>
6843 #endif
6844 #ifdef HAVE_SYS_QUEUE_H
6845 #include <sys/queue.h>
6846 #endif
6847 #ifdef HAVE_SYS_SOCKET_H
6848 #include <sys/socket.h>
6849 #endif
6851 if test "x$ac_cv_header_libprocstat_h" = xyes; then :
6852 cat >>confdefs.h <<_ACEOF
6853 #define HAVE_LIBPROCSTAT_H 1
6854 _ACEOF
6858 done
6862 dlldir="\${libdir}/wine"
6864 DLLPREFIX=""
6866 DLLFLAGS="-D_REENTRANT"
6868 LDRPATH_INSTALL=""
6870 LDRPATH_LOCAL=""
6872 LIBEXT="so"
6873 DLLEXT=".so"
6874 IMPLIBEXT="def"
6875 STATIC_IMPLIBEXT="def.a"
6876 # Extract the first word of "ldd", so it can be a program name with args.
6877 set dummy ldd; ac_word=$2
6878 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6879 $as_echo_n "checking for $ac_word... " >&6; }
6880 if ${ac_cv_path_LDD+:} false; then :
6881 $as_echo_n "(cached) " >&6
6882 else
6883 case $LDD in
6884 [\\/]* | ?:[\\/]*)
6885 ac_cv_path_LDD="$LDD" # Let the user override the test with a path.
6888 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6889 as_dummy="/sbin:/usr/sbin:$PATH"
6890 for as_dir in $as_dummy
6892 IFS=$as_save_IFS
6893 test -z "$as_dir" && as_dir=.
6894 for ac_exec_ext in '' $ac_executable_extensions; do
6895 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
6896 ac_cv_path_LDD="$as_dir/$ac_word$ac_exec_ext"
6897 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6898 break 2
6900 done
6901 done
6902 IFS=$as_save_IFS
6904 test -z "$ac_cv_path_LDD" && ac_cv_path_LDD="true"
6906 esac
6908 LDD=$ac_cv_path_LDD
6909 if test -n "$LDD"; then
6910 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $LDD" >&5
6911 $as_echo "$LDD" >&6; }
6912 else
6913 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6914 $as_echo "no" >&6; }
6918 if test -n "$ac_tool_prefix"; then
6919 # Extract the first word of "${ac_tool_prefix}readelf", so it can be a program name with args.
6920 set dummy ${ac_tool_prefix}readelf; ac_word=$2
6921 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6922 $as_echo_n "checking for $ac_word... " >&6; }
6923 if ${ac_cv_prog_READELF+:} false; then :
6924 $as_echo_n "(cached) " >&6
6925 else
6926 if test -n "$READELF"; then
6927 ac_cv_prog_READELF="$READELF" # Let the user override the test.
6928 else
6929 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6930 for as_dir in $PATH
6932 IFS=$as_save_IFS
6933 test -z "$as_dir" && as_dir=.
6934 for ac_exec_ext in '' $ac_executable_extensions; do
6935 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
6936 ac_cv_prog_READELF="${ac_tool_prefix}readelf"
6937 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6938 break 2
6940 done
6941 done
6942 IFS=$as_save_IFS
6946 READELF=$ac_cv_prog_READELF
6947 if test -n "$READELF"; then
6948 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $READELF" >&5
6949 $as_echo "$READELF" >&6; }
6950 else
6951 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6952 $as_echo "no" >&6; }
6957 if test -z "$ac_cv_prog_READELF"; then
6958 ac_ct_READELF=$READELF
6959 # Extract the first word of "readelf", so it can be a program name with args.
6960 set dummy readelf; ac_word=$2
6961 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6962 $as_echo_n "checking for $ac_word... " >&6; }
6963 if ${ac_cv_prog_ac_ct_READELF+:} false; then :
6964 $as_echo_n "(cached) " >&6
6965 else
6966 if test -n "$ac_ct_READELF"; then
6967 ac_cv_prog_ac_ct_READELF="$ac_ct_READELF" # Let the user override the test.
6968 else
6969 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6970 for as_dir in $PATH
6972 IFS=$as_save_IFS
6973 test -z "$as_dir" && as_dir=.
6974 for ac_exec_ext in '' $ac_executable_extensions; do
6975 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
6976 ac_cv_prog_ac_ct_READELF="readelf"
6977 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6978 break 2
6980 done
6981 done
6982 IFS=$as_save_IFS
6986 ac_ct_READELF=$ac_cv_prog_ac_ct_READELF
6987 if test -n "$ac_ct_READELF"; then
6988 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_READELF" >&5
6989 $as_echo "$ac_ct_READELF" >&6; }
6990 else
6991 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6992 $as_echo "no" >&6; }
6995 if test "x$ac_ct_READELF" = x; then
6996 READELF="true"
6997 else
6998 case $cross_compiling:$ac_tool_warned in
6999 yes:)
7000 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
7001 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
7002 ac_tool_warned=yes ;;
7003 esac
7004 READELF=$ac_ct_READELF
7006 else
7007 READELF="$ac_cv_prog_READELF"
7010 wine_rules_file=conf$$rules.make
7011 rm -f $wine_rules_file
7012 ALL_POT_FILES=""
7013 GITIGNORE="# Automatically generated by configure; DO NOT EDIT!!"
7014 ALL_TEST_RESOURCES=""
7017 wine_fn_append_file ()
7019 as_fn_append $1 " \\$as_nl $2"
7022 wine_fn_ignore_file ()
7024 case "$1" in
7025 */*) as_fn_append GITIGNORE "$as_nl$1" ;;
7026 \**) as_fn_append GITIGNORE "$as_nl$1" ;;
7027 *) as_fn_append GITIGNORE "$as_nl/$1" ;;
7028 esac
7031 wine_fn_append_rule ()
7033 $as_echo "$1" >>$wine_rules_file
7036 wine_fn_has_flag ()
7038 expr ",$ac_flags," : ".*,$1,.*" >/dev/null
7041 wine_fn_depend_rules ()
7043 wine_fn_append_rule \
7044 "$ac_dir/Makefile: $srcdir/$ac_dir/Makefile.in $srcdir/Make.vars.in config.status \$(MAKEDEP)
7045 @./config.status --file $ac_dir/Makefile:Make.vars.in:$ac_dir/Makefile.in && \$(MAKEDEP) $ac_dir
7046 depend: $ac_dir/depend
7047 .PHONY: $ac_dir/depend
7048 $ac_dir/depend: \$(MAKEDEP) dummy
7049 @./config.status --file $ac_dir/Makefile:Make.vars.in:$ac_dir/Makefile.in && \$(MAKEDEP) $ac_dir"
7052 wine_fn_pot_rules ()
7054 test "x$with_gettextpo" = xyes || return
7056 if wine_fn_has_flag mc
7057 then
7058 wine_fn_append_file ALL_POT_FILES $ac_dir/msg.pot
7059 wine_fn_append_rule \
7060 "$ac_dir/msg.pot: $ac_dir/Makefile dummy
7061 @cd $ac_dir && \$(MAKE) msg.pot
7062 $ac_dir/msg.pot: tools/wmc include"
7064 if wine_fn_has_flag po
7065 then
7066 wine_fn_append_file ALL_POT_FILES $ac_dir/rsrc.pot
7067 wine_fn_append_rule \
7068 "$ac_dir/rsrc.pot: $ac_dir/Makefile dummy
7069 @cd $ac_dir && \$(MAKE) rsrc.pot
7070 $ac_dir/rsrc.pot: tools/wrc include"
7074 wine_fn_all_rules ()
7076 wine_fn_depend_rules
7077 wine_fn_append_rule \
7078 "all: $ac_dir
7079 .PHONY: $ac_dir
7080 $ac_dir: $ac_dir/Makefile dummy
7081 @cd $ac_dir && \$(MAKE)"
7084 wine_fn_install_rules ()
7086 wine_fn_has_flag install-lib || wine_fn_has_flag install-dev || return
7088 wine_fn_append_rule \
7089 ".PHONY: $ac_dir/install $ac_dir/uninstall
7090 $ac_dir/install:: $ac_dir
7091 @cd $ac_dir && \$(MAKE) install
7092 $ac_dir/uninstall:: $ac_dir/Makefile
7093 @cd $ac_dir && \$(MAKE) uninstall
7094 install:: $ac_dir/install
7095 __uninstall__: $ac_dir/uninstall"
7097 if wine_fn_has_flag install-lib
7098 then
7099 wine_fn_append_rule \
7100 ".PHONY: $ac_dir/install-lib
7101 $ac_dir/install-lib:: $ac_dir
7102 @cd $ac_dir && \$(MAKE) install-lib
7103 install-lib:: $ac_dir/install-lib"
7106 if wine_fn_has_flag install-dev
7107 then
7108 wine_fn_append_rule \
7109 ".PHONY: $ac_dir/install-dev
7110 $ac_dir/install-dev:: $ac_dir
7111 @cd $ac_dir && \$(MAKE) install-dev
7112 install-dev:: $ac_dir/install-dev"
7116 wine_fn_clean_rules ()
7118 ac_clean=$@
7119 ac_extraclean="$ac_dir/Makefile"
7120 test "$srcdir" = . && ac_extraclean="$ac_extraclean $ac_dir/.gitignore"
7122 if wine_fn_has_flag clean
7123 then
7124 wine_fn_append_rule \
7125 "__clean__: $ac_dir/clean
7126 .PHONY: $ac_dir/clean
7127 $ac_dir/clean: $ac_dir/Makefile
7128 @cd $ac_dir && \$(MAKE) clean
7129 \$(RM) $ac_extraclean"
7130 else
7131 wine_fn_append_rule \
7132 "__clean__: $ac_dir/clean
7133 .PHONY: $ac_dir/clean
7134 $ac_dir/clean: dummy
7135 \$(RM) \$(CLEAN_FILES:%=$ac_dir/%) $ac_clean $ac_extraclean"
7139 wine_fn_disabled_rules ()
7141 ac_clean=$@
7142 ac_extraclean="$ac_dir/Makefile"
7143 test "$srcdir" = . && ac_extraclean="$ac_extraclean $ac_dir/.gitignore"
7145 wine_fn_append_rule \
7146 "__clean__: $ac_dir/clean
7147 .PHONY: $ac_dir/clean
7148 $ac_dir/clean: dummy
7149 \$(RM) \$(CLEAN_FILES:%=$ac_dir/%) $ac_clean $ac_extraclean"
7152 wine_fn_config_makefile ()
7154 ac_dir=$1
7155 ac_enable=$2
7156 ac_flags=$3
7158 if eval test \"x\$"$ac_enable"\" = x"no"; then :
7159 wine_fn_disabled_rules; return
7161 wine_fn_all_rules
7162 wine_fn_install_rules
7163 wine_fn_clean_rules
7166 wine_fn_config_lib ()
7168 ac_name=$1
7169 ac_flags=$2
7170 ac_dir=dlls/$ac_name
7171 ac_deps="include"
7173 if test "x$enable_tools" = xno; then :
7175 else
7176 ac_deps="tools/widl tools/winebuild tools/winegcc $ac_deps"
7178 wine_fn_all_rules
7179 wine_fn_clean_rules
7181 wine_fn_append_rule \
7182 ".PHONY: $ac_dir/install $ac_dir/uninstall
7183 $ac_dir/install:: $ac_dir
7184 \$(INSTALL_DATA) $ac_dir/lib$ac_name.a \$(DESTDIR)\$(dlldir)/lib$ac_name.a
7185 $ac_dir/uninstall::
7186 \$(RM) \$(DESTDIR)\$(dlldir)/lib$ac_name.a
7187 install install-dev:: $ac_dir/install
7188 __uninstall__: $ac_dir/uninstall
7189 __builddeps__: $ac_dir
7190 $ac_dir: $ac_deps"
7193 wine_fn_config_dll ()
7195 ac_name=$1
7196 ac_dir=dlls/$ac_name
7197 ac_enable=$2
7198 ac_flags=$3
7199 ac_implib=${4:-$ac_name}
7200 ac_file=$ac_dir/lib$ac_implib
7201 ac_dll=$ac_name
7202 ac_deps="include"
7203 ac_implibflags=""
7205 if test "x$enable_tools" = xno; then :
7207 else
7208 ac_deps="tools/widl tools/winebuild tools/winegcc $ac_deps"
7210 case $ac_name in
7211 *16) ac_implibflags=" -m16" ;;
7212 *.*) ;;
7213 *) ac_dll=$ac_dll.dll ;;
7214 esac
7216 ac_clean=
7217 wine_fn_has_flag implib && ac_clean="$ac_clean $ac_file.$IMPLIBEXT"
7218 wine_fn_has_flag mc && ac_clean="$ac_clean $ac_dir/msg.pot"
7219 wine_fn_has_flag po && ac_clean="$ac_clean $ac_dir/rsrc.pot"
7220 test -n "$DLLEXT" || ac_clean="$ac_clean $ac_dir/$ac_dll"
7222 if eval test \"x\$"$ac_enable"\" = x"no"; then :
7223 if wine_fn_has_flag implib && test "$ac_enable" != enable_win16
7224 then
7225 wine_fn_depend_rules
7226 wine_fn_clean_rules $ac_clean
7227 else
7228 wine_fn_disabled_rules $ac_clean
7229 return
7231 else
7232 wine_fn_all_rules
7233 wine_fn_clean_rules $ac_clean
7234 wine_fn_append_rule \
7235 "$ac_dir: __builddeps__
7236 manpages htmlpages sgmlpages xmlpages:: $ac_dir/Makefile
7237 @cd $ac_dir && \$(MAKE) \$@
7238 .PHONY: $ac_dir/install-lib $ac_dir/uninstall
7239 install install-lib:: $ac_dir/install-lib
7240 __uninstall__: $ac_dir/uninstall"
7241 if test -n "$DLLEXT"
7242 then
7243 wine_fn_append_rule \
7244 "$ac_dir/install-lib:: $ac_dir
7245 \$(INSTALL_PROGRAM) $ac_dir/$ac_dll$DLLEXT \$(DESTDIR)\$(dlldir)/$DLLPREFIX$ac_dll$DLLEXT
7246 \$(INSTALL_DATA) $ac_dir/$ac_dll.fake \$(DESTDIR)\$(fakedlldir)/$ac_dll
7247 $ac_dir/uninstall::
7248 \$(RM) \$(DESTDIR)\$(dlldir)/$DLLPREFIX$ac_dll$DLLEXT \$(DESTDIR)\$(fakedlldir)/$ac_dll"
7249 else
7250 wine_fn_append_rule \
7251 "$ac_dir/install-lib:: $ac_dir
7252 \$(INSTALL_PROGRAM) $ac_dir/$ac_dll \$(DESTDIR)\$(dlldir)/$ac_dll
7253 $ac_dir/uninstall::
7254 \$(RM) \$(DESTDIR)\$(dlldir)/$ac_dll"
7257 wine_fn_pot_rules
7260 if wine_fn_has_flag staticimplib
7261 then
7262 wine_fn_append_rule \
7263 "__builddeps__: $ac_file.$IMPLIBEXT $ac_file.$STATIC_IMPLIBEXT
7264 $ac_file.$IMPLIBEXT $ac_file.$STATIC_IMPLIBEXT $ac_file.cross.a: $ac_deps
7265 $ac_file.def: $srcdir/$ac_dir/$ac_name.spec $ac_dir/Makefile \$(WINEBUILD)
7266 \$(WINEBUILD) \$(TARGETFLAGS)$ac_implibflags -w --def -o \$@ --export $srcdir/$ac_dir/$ac_name.spec
7267 $ac_file.$STATIC_IMPLIBEXT: $ac_dir/Makefile dummy
7268 @cd $ac_dir && \$(MAKE) lib$ac_implib.$STATIC_IMPLIBEXT
7269 .PHONY: $ac_dir/install-dev $ac_dir/uninstall
7270 $ac_dir/install-dev:: $ac_file.$IMPLIBEXT
7271 \$(INSTALL_DATA) $ac_file.$IMPLIBEXT \$(DESTDIR)\$(dlldir)/lib$ac_implib.$IMPLIBEXT
7272 $ac_dir/uninstall::
7273 \$(RM) \$(DESTDIR)\$(dlldir)/lib$ac_implib.$IMPLIBEXT
7274 install install-dev:: $ac_dir/install-dev
7275 __uninstall__: $ac_dir/uninstall"
7277 if test "$IMPLIBEXT" != "$STATIC_IMPLIBEXT"
7278 then
7279 wine_fn_append_rule \
7280 "$ac_dir/install-dev:: $ac_file.$STATIC_IMPLIBEXT __builddeps__
7281 \$(INSTALL_DATA) $ac_file.$STATIC_IMPLIBEXT \$(DESTDIR)\$(dlldir)/lib$ac_implib.$STATIC_IMPLIBEXT
7282 $ac_dir/uninstall::
7283 \$(RM) \$(DESTDIR)\$(dlldir)/lib$ac_implib.$STATIC_IMPLIBEXT"
7286 if test -n "$CROSSTARGET" -a -z "$ac_implibflags"
7287 then
7288 wine_fn_append_rule \
7289 "__builddeps__: $ac_file.cross.a
7290 $ac_file.cross.a: $ac_dir/Makefile dummy
7291 @cd $ac_dir && \$(MAKE) lib$ac_implib.cross.a"
7294 elif wine_fn_has_flag implib
7295 then
7296 wine_fn_append_rule \
7297 "__builddeps__: $ac_file.$IMPLIBEXT
7298 $ac_file.def: $srcdir/$ac_dir/$ac_name.spec $ac_dir/Makefile \$(WINEBUILD)
7299 \$(WINEBUILD) \$(TARGETFLAGS)$ac_implibflags -w --def -o \$@ --export $srcdir/$ac_dir/$ac_name.spec
7300 $ac_file.a: $srcdir/$ac_dir/$ac_name.spec $ac_dir/Makefile \$(WINEBUILD)
7301 \$(WINEBUILD) \$(TARGETFLAGS)$ac_implibflags -w --implib -o \$@ --export $srcdir/$ac_dir/$ac_name.spec
7302 .PHONY: $ac_dir/install-dev $ac_dir/uninstall
7303 $ac_dir/install-dev:: $ac_file.$IMPLIBEXT
7304 \$(INSTALL_DATA) $ac_file.$IMPLIBEXT \$(DESTDIR)\$(dlldir)/lib$ac_implib.$IMPLIBEXT
7305 $ac_dir/uninstall::
7306 \$(RM) \$(DESTDIR)\$(dlldir)/lib$ac_implib.$IMPLIBEXT
7307 install install-dev:: $ac_dir/install-dev
7308 __uninstall__: $ac_dir/uninstall"
7309 if test -n "$CROSSTARGET" -a -z "$ac_implibflags"
7310 then
7311 wine_fn_append_rule \
7312 "__builddeps__: $ac_file.cross.a
7313 $ac_file.cross.a: $srcdir/$ac_dir/$ac_name.spec $ac_dir/Makefile \$(WINEBUILD)
7314 \$(WINEBUILD) \$(CROSSTARGET:%=-b %)$ac_implibflags -w --implib -o \$@ --export $srcdir/$ac_dir/$ac_name.spec"
7317 if test "$ac_name" != "$ac_implib"
7318 then
7319 wine_fn_append_rule \
7320 "__builddeps__: dlls/lib$ac_implib.$IMPLIBEXT
7321 dlls/lib$ac_implib.$IMPLIBEXT: $ac_file.$IMPLIBEXT
7322 \$(RM) \$@ && \$(LN_S) $ac_name/lib$ac_implib.$IMPLIBEXT \$@
7323 clean::
7324 \$(RM) dlls/lib$ac_implib.$IMPLIBEXT"
7325 wine_fn_ignore_file "dlls/lib$ac_implib.$IMPLIBEXT"
7326 if test -n "$CROSSTARGET" -a -z "$ac_implibflags"
7327 then
7328 wine_fn_append_rule \
7329 "__builddeps__: dlls/lib$ac_implib.cross.a
7330 dlls/lib$ac_implib.cross.a: $ac_file.cross.a
7331 \$(RM) \$@ && \$(LN_S) $ac_name/lib$ac_implib.cross.a \$@
7332 clean::
7333 \$(RM) dlls/lib$ac_implib.cross.a"
7334 wine_fn_ignore_file "dlls/lib$ac_implib.cross.a"
7340 wine_fn_config_program ()
7342 ac_name=$1
7343 ac_dir=programs/$ac_name
7344 ac_enable=$2
7345 ac_flags=$3
7346 ac_program=$ac_name
7348 case $ac_name in
7349 *.*) ;;
7350 *) ac_program=$ac_program.exe ;;
7351 esac
7353 ac_clean=
7354 wine_fn_has_flag mc && ac_clean="$ac_clean $ac_dir/msg.pot"
7355 wine_fn_has_flag po && ac_clean="$ac_clean $ac_dir/rsrc.pot"
7356 wine_fn_has_flag manpage && ac_clean="$ac_clean $ac_dir/$ac_name.man"
7357 test -n "$DLLEXT" || ac_clean="$ac_clean $ac_dir/$ac_program"
7359 if eval test \"x\$"$ac_enable"\" = x"no"; then :
7360 wine_fn_disabled_rules $ac_clean; return
7363 wine_fn_all_rules
7364 wine_fn_clean_rules $ac_clean
7365 wine_fn_append_rule "$ac_dir: __builddeps__"
7366 wine_fn_pot_rules
7368 wine_fn_has_flag install || return
7369 wine_fn_append_rule \
7370 ".PHONY: $ac_dir/install $ac_dir/uninstall
7371 install install-lib:: $ac_dir/install
7372 __uninstall__: $ac_dir/uninstall"
7374 if test -n "$DLLEXT"
7375 then
7376 wine_fn_append_rule \
7377 "$ac_dir/install:: $ac_dir
7378 \$(INSTALL_PROGRAM) $ac_dir/$ac_program$DLLEXT \$(DESTDIR)\$(dlldir)/$DLLPREFIX$ac_program$DLLEXT
7379 \$(INSTALL_DATA) $ac_dir/$ac_program.fake \$(DESTDIR)\$(fakedlldir)/$ac_program
7380 $ac_dir/uninstall::
7381 \$(RM) \$(DESTDIR)\$(dlldir)/$DLLPREFIX$ac_program$DLLEXT \$(DESTDIR)\$(fakedlldir)/$ac_program"
7383 if test -z "$with_wine64" && wine_fn_has_flag installbin
7384 then
7385 wine_fn_append_rule \
7386 "$ac_dir/install:: __tooldeps__
7387 \$(INSTALL_SCRIPT) \$(TOOLSDIR)/tools/wineapploader \$(DESTDIR)\$(bindir)/$ac_name
7388 $ac_dir/uninstall::
7389 \$(RM) \$(DESTDIR)\$(bindir)/$ac_name"
7391 else
7392 wine_fn_append_rule \
7393 "$ac_dir/install:: $ac_dir
7394 \$(INSTALL_PROGRAM) $ac_dir/$ac_program \$(DESTDIR)\$(bindir)/$ac_program
7395 $ac_dir/uninstall::
7396 \$(RM) \$(DESTDIR)\$(bindir)/$ac_program"
7399 if test -z "$with_wine64" && wine_fn_has_flag manpage
7400 then
7401 wine_fn_append_rule \
7402 "$ac_dir/install:: $ac_dir
7403 \$(INSTALL_DATA) $ac_dir/$ac_name.man \$(DESTDIR)\$(mandir)/man\$(prog_manext)/$ac_name.\$(prog_manext)
7404 $ac_dir/uninstall::
7405 \$(RM) \$(DESTDIR)\$(mandir)/man\$(prog_manext)/$ac_name.\$(prog_manext)"
7409 wine_fn_config_test ()
7411 ac_dir=$1
7412 ac_name=$2
7413 ac_flags=$3
7415 ac_clean=
7416 test -n "$CROSSTARGET" && ac_clean=`expr $ac_dir/${ac_name} : "\\(.*\\)_test"`_crosstest.exe
7417 test -n "$DLLEXT" || ac_clean="$ac_dir/${ac_name}.exe $ac_dir/${ac_name}-stripped.exe"
7418 ac_clean="$ac_clean $ac_dir/testlist.c"
7420 if test "x$enable_tests" = xno; then :
7421 wine_fn_disabled_rules $ac_clean; return
7424 wine_fn_append_file ALL_TEST_RESOURCES $ac_name.res
7425 wine_fn_all_rules
7426 wine_fn_clean_rules $ac_clean
7428 wine_fn_append_rule \
7429 "$ac_dir: programs/winetest/Makefile __builddeps__
7430 programs/winetest: $ac_dir
7431 check test: $ac_dir/test
7432 .PHONY: $ac_dir/test
7433 $ac_dir/test: dummy
7434 @cd $ac_dir && \$(MAKE) test
7435 testclean::
7436 \$(RM) $ac_dir/*.ok"
7438 if test -n "$CROSSTARGET"
7439 then
7440 wine_fn_append_rule \
7441 "crosstest: $ac_dir/crosstest
7442 .PHONY: $ac_dir/crosstest
7443 $ac_dir/crosstest: $ac_dir/Makefile __builddeps__ dummy
7444 @cd $ac_dir && \$(MAKE) crosstest"
7448 wine_fn_config_tool ()
7450 ac_dir=$1
7451 ac_flags=$2
7452 if test "x$enable_tools" = xno; then :
7453 return
7456 wine_fn_all_rules
7457 wine_fn_install_rules
7458 wine_fn_clean_rules
7460 wine_fn_append_rule "__tooldeps__: $ac_dir"
7461 wine_fn_append_rule "$ac_dir: libs/port"
7462 case $ac_dir in
7463 tools/winebuild) wine_fn_append_rule "\$(WINEBUILD): $ac_dir" ;;
7464 esac
7467 wine_fn_config_symlink ()
7469 ac_linkdir=
7470 if test "x$1" = "x-d"
7471 then
7472 ac_linkdir=$2
7473 shift; shift
7475 ac_links=$@
7476 wine_fn_append_rule \
7477 "$ac_links:
7478 @./config.status \$@
7479 distclean::
7480 \$(RM) $ac_links"
7481 for f in $ac_links; do wine_fn_ignore_file $f; done
7482 test -n "$ac_linkdir" || return
7483 wine_fn_append_rule "$ac_linkdir/Makefile $ac_linkdir/depend: $ac_links"
7486 wine_binary="wine"
7487 test "x$enable_win64" != "xyes" || wine_binary="wine64"
7488 loader_programs="$wine_binary wine-installed"
7489 libwine_soversion=`expr $libwine_version : '\([0-9]*\)\..*'`
7491 LOADER_RULES="
7492 install install-lib:: wine-installed
7493 \$(INSTALL_PROGRAM) wine-installed \$(DESTDIR)\$(bindir)/$wine_binary
7495 uninstall::
7496 \$(RM) \$(DESTDIR)\$(bindir)/$wine_binary
7500 case $host_os in
7501 cygwin*|mingw32*)
7502 if test -n "$ac_tool_prefix"; then
7503 # Extract the first word of "${ac_tool_prefix}dlltool", so it can be a program name with args.
7504 set dummy ${ac_tool_prefix}dlltool; ac_word=$2
7505 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7506 $as_echo_n "checking for $ac_word... " >&6; }
7507 if ${ac_cv_prog_DLLTOOL+:} false; then :
7508 $as_echo_n "(cached) " >&6
7509 else
7510 if test -n "$DLLTOOL"; then
7511 ac_cv_prog_DLLTOOL="$DLLTOOL" # Let the user override the test.
7512 else
7513 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7514 for as_dir in $PATH
7516 IFS=$as_save_IFS
7517 test -z "$as_dir" && as_dir=.
7518 for ac_exec_ext in '' $ac_executable_extensions; do
7519 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
7520 ac_cv_prog_DLLTOOL="${ac_tool_prefix}dlltool"
7521 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
7522 break 2
7524 done
7525 done
7526 IFS=$as_save_IFS
7530 DLLTOOL=$ac_cv_prog_DLLTOOL
7531 if test -n "$DLLTOOL"; then
7532 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $DLLTOOL" >&5
7533 $as_echo "$DLLTOOL" >&6; }
7534 else
7535 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7536 $as_echo "no" >&6; }
7541 if test -z "$ac_cv_prog_DLLTOOL"; then
7542 ac_ct_DLLTOOL=$DLLTOOL
7543 # Extract the first word of "dlltool", so it can be a program name with args.
7544 set dummy dlltool; ac_word=$2
7545 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7546 $as_echo_n "checking for $ac_word... " >&6; }
7547 if ${ac_cv_prog_ac_ct_DLLTOOL+:} false; then :
7548 $as_echo_n "(cached) " >&6
7549 else
7550 if test -n "$ac_ct_DLLTOOL"; then
7551 ac_cv_prog_ac_ct_DLLTOOL="$ac_ct_DLLTOOL" # Let the user override the test.
7552 else
7553 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7554 for as_dir in $PATH
7556 IFS=$as_save_IFS
7557 test -z "$as_dir" && as_dir=.
7558 for ac_exec_ext in '' $ac_executable_extensions; do
7559 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
7560 ac_cv_prog_ac_ct_DLLTOOL="dlltool"
7561 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
7562 break 2
7564 done
7565 done
7566 IFS=$as_save_IFS
7570 ac_ct_DLLTOOL=$ac_cv_prog_ac_ct_DLLTOOL
7571 if test -n "$ac_ct_DLLTOOL"; then
7572 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_DLLTOOL" >&5
7573 $as_echo "$ac_ct_DLLTOOL" >&6; }
7574 else
7575 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7576 $as_echo "no" >&6; }
7579 if test "x$ac_ct_DLLTOOL" = x; then
7580 DLLTOOL="false"
7581 else
7582 case $cross_compiling:$ac_tool_warned in
7583 yes:)
7584 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
7585 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
7586 ac_tool_warned=yes ;;
7587 esac
7588 DLLTOOL=$ac_ct_DLLTOOL
7590 else
7591 DLLTOOL="$ac_cv_prog_DLLTOOL"
7594 LIBEXT="dll"
7595 DLLEXT=""
7596 IMPLIBEXT="a"
7597 STATIC_IMPLIBEXT="a"
7598 enable_iphlpapi=${enable_iphlpapi:-no}
7599 enable_kernel32=${enable_kernel32:-no}
7600 enable_msvcrt=${enable_msvcrt:-no}
7601 enable_ntdll=${enable_ntdll:-no}
7602 enable_ws2_32=${enable_ws2_32:-no}
7603 enable_loader=${enable_loader:-no}
7604 enable_server=${enable_server:-no}
7605 with_x=${with_x:-no}
7606 with_pthread=${with_pthread:-no}
7608 crtlibs=""
7609 case $host_os in
7610 mingw32*)
7611 crtlibs="-lmsvcrt"
7612 SOCKET_LIBS="-L\$(top_builddir)/dlls/ws2_32 -lws2_32"
7614 esac
7616 libwine_targets="libwine.dll libwine.a"
7617 LIBWINE_RULES="
7618 OBJS = \$(C_SRCS:.c=.o) \$(EXTRA_OBJS)
7620 all: libwine.dll libwine.a
7622 libwine.a: \$(srcdir)/wine.def
7623 \$(DLLTOOL) -l \$@ -d \$(srcdir)/wine.def
7625 libwine.dll: \$(OBJS) \$(srcdir)/wine.def
7626 \$(CC) -shared \$(srcdir)/wine.def -o \$@ \$(OBJS) $crtlibs \$(EXTRALIBS)
7628 install install-lib:: libwine.dll
7629 \$(INSTALL_DATA) libwine.dll \$(DESTDIR)\$(libdir)/libwine.dll
7631 install install-dev:: libwine.a
7632 \$(INSTALL_DATA) libwine.a \$(DESTDIR)\$(libdir)/libwine.a
7634 uninstall::
7635 -cd \$(DESTDIR)\$(libdir) && \$(RM) libwine.a libwine.dll
7640 darwin*|macosx*)
7641 LIBEXT="dylib"
7642 DLLFLAGS="$DLLFLAGS -fPIC"
7643 LIBWINE_LDFLAGS="-multiply_defined suppress"
7644 LDRPATH_INSTALL="-Wl,-rpath,@loader_path/\`\$(MAKEDEP) -R \$(bindir) \$(libdir)\`"
7645 LDRPATH_LOCAL="-Wl,-rpath,@loader_path/\$(top_builddir)/libs/wine"
7646 COREFOUNDATION_LIBS="-framework CoreFoundation"
7648 IOKIT_LIBS="-framework IOKit -framework CoreFoundation"
7650 FORCEFEEDBACK_LIBS="-framework ForceFeedback -framework CoreFoundation"
7652 APPLICATIONSERVICES_LIBS="-framework ApplicationServices"
7654 CORESERVICES_LIBS="-framework CoreServices"
7656 APPKIT_LIBS="-framework AppKit"
7658 LDEXECFLAGS="-image_base 0x7bf00000 -Wl,-segaddr,WINE_DOS,0x00001000,-segaddr,WINE_SHAREDHEAP,0x7f000000,-sectcreate,__TEXT,__info_plist,wine_info.plist"
7659 case $host_os in
7660 darwin11*) LDEXECFLAGS="-Wl,-macosx_version_min,10.6 $LDEXECFLAGS" ;;
7661 esac
7662 if test "$ac_cv_header_DiskArbitration_DiskArbitration_h" = "yes"
7663 then
7664 DISKARBITRATION_LIBS="-framework DiskArbitration -framework CoreFoundation"
7667 if test "$ac_cv_header_Security_Security_h" = "yes"
7668 then
7669 SECURITY_LIBS="-framework Security -framework CoreFoundation"
7671 ac_save_LIBS="$LIBS"
7672 LIBS="$LIBS $SECURITY_LIBS"
7673 for ac_func in SSLCopyPeerCertificates
7674 do :
7675 ac_fn_c_check_func "$LINENO" "SSLCopyPeerCertificates" "ac_cv_func_SSLCopyPeerCertificates"
7676 if test "x$ac_cv_func_SSLCopyPeerCertificates" = xyes; then :
7677 cat >>confdefs.h <<_ACEOF
7678 #define HAVE_SSLCOPYPEERCERTIFICATES 1
7679 _ACEOF
7682 done
7684 LIBS="$ac_save_LIBS"
7685 with_gnutls=${with_gnutls:-no}
7687 if test "$ac_cv_header_CoreAudio_CoreAudio_h" = "yes" -a "$ac_cv_header_AudioUnit_AudioUnit_h" = "yes"
7688 then
7689 if test "$ac_cv_header_AudioUnit_AudioComponent_h" = "yes"
7690 then
7691 COREAUDIO_LIBS="-framework CoreFoundation -framework CoreAudio -framework AudioUnit -framework AudioToolbox -framework CoreMIDI"
7693 else
7694 COREAUDIO_LIBS="-framework CoreAudio -framework AudioUnit -framework CoreServices -framework AudioToolbox -framework CoreMIDI"
7697 ac_save_LIBS="$LIBS"
7698 LIBS="$LIBS $COREAUDIO_LIBS"
7699 for ac_func in AUGraphAddNode
7700 do :
7701 ac_fn_c_check_func "$LINENO" "AUGraphAddNode" "ac_cv_func_AUGraphAddNode"
7702 if test "x$ac_cv_func_AUGraphAddNode" = xyes; then :
7703 cat >>confdefs.h <<_ACEOF
7704 #define HAVE_AUGRAPHADDNODE 1
7705 _ACEOF
7708 done
7710 LIBS="$ac_save_LIBS"
7712 if test "$ac_cv_header_OpenAL_al_h" = "yes"
7713 then
7714 OPENAL_LIBS="-framework OpenAL"
7717 cat >>confdefs.h <<_ACEOF
7718 #define HAVE_OPENAL 1
7719 _ACEOF
7721 ac_cv_lib_openal=yes
7723 if test "$ac_cv_header_OpenCL_opencl_h" = "yes"
7724 then
7725 OPENCL_LIBS="-framework OpenCL"
7727 ac_cv_lib_OpenCL_clGetPlatformInfo=yes
7729 if test "$ac_cv_header_IOKit_hid_IOHIDLib_h" = "yes"
7730 then
7731 ac_save_LIBS="$LIBS"
7732 LIBS="$LIBS $IOKIT_LIBS"
7733 for ac_func in IOHIDManagerCreate
7734 do :
7735 ac_fn_c_check_func "$LINENO" "IOHIDManagerCreate" "ac_cv_func_IOHIDManagerCreate"
7736 if test "x$ac_cv_func_IOHIDManagerCreate" = xyes; then :
7737 cat >>confdefs.h <<_ACEOF
7738 #define HAVE_IOHIDMANAGERCREATE 1
7739 _ACEOF
7742 done
7744 LIBS="$ac_save_LIBS"
7746 if test "$ac_cv_header_QuickTime_ImageCompression_h" = "yes"
7747 then
7748 QUICKTIME_LIBS="-framework QuickTime -framework ApplicationServices -framework CoreVideo"
7750 enable_wineqtdecoder=${enable_wineqtdecoder:-yes}
7751 else
7752 as_fn_append wine_notices "|QuickTime ${notice_platform}development files not found, video decoding won't be supported."
7754 if test "$ac_cv_header_Carbon_Carbon_h" = "yes"
7755 then
7756 CARBON_LIBS="-framework Carbon"
7760 if test "$ac_cv_header_ApplicationServices_ApplicationServices_h" = "yes"
7761 then
7762 ac_save_LIBS="$LIBS"
7763 LIBS="$LIBS $APPLICATIONSERVICES_LIBS"
7764 ac_fn_c_check_func "$LINENO" "CGDisplayModeGetWidth" "ac_cv_func_CGDisplayModeGetWidth"
7765 if test "x$ac_cv_func_CGDisplayModeGetWidth" = xyes; then :
7766 enable_winemac_drv=${enable_winemac_drv:-yes}
7769 LIBS="$ac_save_LIBS"
7772 if test "x$enable_win16" = "xyes"
7773 then
7774 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether 16-bit code can be built correctly" >&5
7775 $as_echo_n "checking whether 16-bit code can be built correctly... " >&6; }
7776 if test "$cross_compiling" = yes; then :
7777 { $as_echo "$as_me:${as_lineno-$LINENO}: result: cross-compiling, assuming yes" >&5
7778 $as_echo "cross-compiling, assuming yes" >&6; }
7779 else
7780 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
7781 /* end confdefs.h. */
7782 asm(".text\n"
7783 "bad:\tnop;nop\n"
7784 "good:\tnop;nop\n\t"
7785 ".globl _testfunc\n"
7786 "_testfunc:\tcallw good");
7787 extern void testfunc();
7789 main ()
7791 unsigned short *p = (unsigned short *)testfunc;
7792 return p[0] != 0xe866 || p[1] != 0xfffa
7794 return 0;
7796 _ACEOF
7797 if ac_fn_c_try_run "$LINENO"; then :
7798 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
7799 $as_echo "yes" >&6; }
7800 else
7801 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7802 $as_echo "no" >&6; }
7803 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
7805 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \
7806 conftest.$ac_objext conftest.beam conftest.$ac_ext
7811 libwine_targets="libwine.dylib libwine.$libwine_soversion.dylib libwine.$libwine_version.dylib"
7812 LIBWINE_RULES="
7813 OBJS = \$(C_SRCS:.c=.o) \$(EXTRA_OBJS)
7815 all: libwine.dylib
7817 libwine.$libwine_version.dylib: \$(OBJS)
7818 \$(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 \$@
7820 libwine.$libwine_soversion.dylib: libwine.$libwine_version.dylib
7821 \$(RM) \$@ && \$(LN_S) libwine.$libwine_version.dylib \$@
7823 libwine.dylib: libwine.$libwine_soversion.dylib
7824 \$(RM) \$@ && \$(LN_S) libwine.$libwine_soversion.dylib \$@
7826 install install-lib:: libwine.$libwine_version.dylib
7827 \$(INSTALL_PROGRAM) libwine.$libwine_version.dylib \$(DESTDIR)\$(libdir)/libwine.$libwine_version.dylib
7828 cd \$(DESTDIR)\$(libdir) && \$(RM) libwine.$libwine_soversion.dylib && \$(LN_S) libwine.$libwine_version.dylib libwine.$libwine_soversion.dylib
7830 install install-dev::
7831 cd \$(DESTDIR)\$(libdir) && \$(RM) libwine.dylib && \$(LN_S) libwine.$libwine_version.dylib libwine.dylib
7833 uninstall::
7834 -cd \$(DESTDIR)\$(libdir) && \$(RM) libwine.dylib libwine.$libwine_soversion.dylib libwine.$libwine_version.dylib
7838 as_fn_append LOADER_RULES "
7839 $wine_binary: main.o wine_info.plist
7840 \$(CC) -o \$@ $LDEXECFLAGS main.o \$(LIBWINE) \$(LIBPORT) \$(EXTRALIBS) \$(LDFLAGS) \$(LDRPATH_LOCAL)
7842 wine-installed: main.o wine_info.plist
7843 \$(CC) -o \$@ $LDEXECFLAGS main.o \$(LIBWINE) \$(LIBPORT) \$(EXTRALIBS) \$(LDFLAGS) \$(LDRPATH_INSTALL)
7847 linux-android*)
7848 DLLFLAGS="$DLLFLAGS -fPIC"
7849 DLLPREFIX="lib"
7850 LDEXECFLAGS=""
7851 dlldir="\${libdir}"
7852 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -fPIC -Wl,--export-dynamic" >&5
7853 $as_echo_n "checking whether the compiler supports -fPIC -Wl,--export-dynamic... " >&6; }
7854 if ${ac_cv_cflags__fPIC__Wl___export_dynamic+:} false; then :
7855 $as_echo_n "(cached) " >&6
7856 else
7857 ac_wine_try_cflags_saved=$CFLAGS
7858 CFLAGS="$CFLAGS -fPIC -Wl,--export-dynamic"
7859 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
7860 /* end confdefs.h. */
7861 int main(int argc, char **argv) { return 0; }
7862 _ACEOF
7863 if ac_fn_c_try_link "$LINENO"; then :
7864 ac_cv_cflags__fPIC__Wl___export_dynamic=yes
7865 else
7866 ac_cv_cflags__fPIC__Wl___export_dynamic=no
7868 rm -f core conftest.err conftest.$ac_objext \
7869 conftest$ac_exeext conftest.$ac_ext
7870 CFLAGS=$ac_wine_try_cflags_saved
7872 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__fPIC__Wl___export_dynamic" >&5
7873 $as_echo "$ac_cv_cflags__fPIC__Wl___export_dynamic" >&6; }
7874 if test "x$ac_cv_cflags__fPIC__Wl___export_dynamic" = xyes; then :
7875 LDEXECFLAGS="-Wl,--export-dynamic"
7877 as_ac_var=`$as_echo "ac_cv_cflags_-fPIC -Wl,--rpath,\\$ORIGIN/../lib" | $as_tr_sh`
7878 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -fPIC -Wl,--rpath,\$ORIGIN/../lib" >&5
7879 $as_echo_n "checking whether the compiler supports -fPIC -Wl,--rpath,\$ORIGIN/../lib... " >&6; }
7880 if eval \${$as_ac_var+:} false; then :
7881 $as_echo_n "(cached) " >&6
7882 else
7883 ac_wine_try_cflags_saved=$CFLAGS
7884 CFLAGS="$CFLAGS -fPIC -Wl,--rpath,\$ORIGIN/../lib"
7885 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
7886 /* end confdefs.h. */
7887 int main(int argc, char **argv) { return 0; }
7888 _ACEOF
7889 if ac_fn_c_try_link "$LINENO"; then :
7890 eval "$as_ac_var=yes"
7891 else
7892 eval "$as_ac_var=no"
7894 rm -f core conftest.err conftest.$ac_objext \
7895 conftest$ac_exeext conftest.$ac_ext
7896 CFLAGS=$ac_wine_try_cflags_saved
7898 eval ac_res=\$$as_ac_var
7899 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
7900 $as_echo "$ac_res" >&6; }
7901 if eval test \"x\$"$as_ac_var"\" = x"yes"; then :
7902 LDRPATH_INSTALL="-Wl,--rpath,\\\$\$ORIGIN/\`\$(MAKEDEP) -R \$(bindir) \$(libdir)\`"
7903 LDRPATH_LOCAL="-Wl,--rpath,\\\$\$ORIGIN/\$(top_builddir)/libs/wine"
7904 else
7905 as_ac_var=`$as_echo "ac_cv_cflags_-fPIC -Wl,-R,\\$ORIGIN/../lib" | $as_tr_sh`
7906 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -fPIC -Wl,-R,\$ORIGIN/../lib" >&5
7907 $as_echo_n "checking whether the compiler supports -fPIC -Wl,-R,\$ORIGIN/../lib... " >&6; }
7908 if eval \${$as_ac_var+:} false; then :
7909 $as_echo_n "(cached) " >&6
7910 else
7911 ac_wine_try_cflags_saved=$CFLAGS
7912 CFLAGS="$CFLAGS -fPIC -Wl,-R,\$ORIGIN/../lib"
7913 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
7914 /* end confdefs.h. */
7915 int main(int argc, char **argv) { return 0; }
7916 _ACEOF
7917 if ac_fn_c_try_link "$LINENO"; then :
7918 eval "$as_ac_var=yes"
7919 else
7920 eval "$as_ac_var=no"
7922 rm -f core conftest.err conftest.$ac_objext \
7923 conftest$ac_exeext conftest.$ac_ext
7924 CFLAGS=$ac_wine_try_cflags_saved
7926 eval ac_res=\$$as_ac_var
7927 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
7928 $as_echo "$ac_res" >&6; }
7929 if eval test \"x\$"$as_ac_var"\" = x"yes"; then :
7930 LDRPATH_INSTALL="-Wl,-R,\\\$\$ORIGIN/\`\$(MAKEDEP) -R \$(bindir) \$(libdir)\`"
7931 LDRPATH_LOCAL="-Wl,-R,\\\$\$ORIGIN/\$(top_builddir)/libs/wine"
7935 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wl,--enable-new-dtags" >&5
7936 $as_echo_n "checking whether the compiler supports -Wl,--enable-new-dtags... " >&6; }
7937 if ${ac_cv_cflags__Wl___enable_new_dtags+:} false; then :
7938 $as_echo_n "(cached) " >&6
7939 else
7940 ac_wine_try_cflags_saved=$CFLAGS
7941 CFLAGS="$CFLAGS -Wl,--enable-new-dtags"
7942 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
7943 /* end confdefs.h. */
7944 int main(int argc, char **argv) { return 0; }
7945 _ACEOF
7946 if ac_fn_c_try_link "$LINENO"; then :
7947 ac_cv_cflags__Wl___enable_new_dtags=yes
7948 else
7949 ac_cv_cflags__Wl___enable_new_dtags=no
7951 rm -f core conftest.err conftest.$ac_objext \
7952 conftest$ac_exeext conftest.$ac_ext
7953 CFLAGS=$ac_wine_try_cflags_saved
7955 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wl___enable_new_dtags" >&5
7956 $as_echo "$ac_cv_cflags__Wl___enable_new_dtags" >&6; }
7957 if test "x$ac_cv_cflags__Wl___enable_new_dtags" = xyes; then :
7958 LDRPATH_INSTALL="$LDRPATH_INSTALL -Wl,--enable-new-dtags"
7961 case $host_cpu in
7962 *i[3456789]86* | x86_64)
7963 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wl,--section-start,.interp=0x7bf00400" >&5
7964 $as_echo_n "checking whether the compiler supports -Wl,--section-start,.interp=0x7bf00400... " >&6; }
7965 if ${ac_cv_cflags__Wl___section_start__interp_0x7bf00400+:} false; then :
7966 $as_echo_n "(cached) " >&6
7967 else
7968 ac_wine_try_cflags_saved=$CFLAGS
7969 CFLAGS="$CFLAGS -Wl,--section-start,.interp=0x7bf00400"
7970 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
7971 /* end confdefs.h. */
7972 int main(int argc, char **argv) { return 0; }
7973 _ACEOF
7974 if ac_fn_c_try_link "$LINENO"; then :
7975 ac_cv_cflags__Wl___section_start__interp_0x7bf00400=yes
7976 else
7977 ac_cv_cflags__Wl___section_start__interp_0x7bf00400=no
7979 rm -f core conftest.err conftest.$ac_objext \
7980 conftest$ac_exeext conftest.$ac_ext
7981 CFLAGS=$ac_wine_try_cflags_saved
7983 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wl___section_start__interp_0x7bf00400" >&5
7984 $as_echo "$ac_cv_cflags__Wl___section_start__interp_0x7bf00400" >&6; }
7985 if test "x$ac_cv_cflags__Wl___section_start__interp_0x7bf00400" = xyes; then :
7986 LDEXECFLAGS="$LDEXECFLAGS -Wl,--section-start,.interp=0x7bf00400"
7989 esac
7991 libwine_targets="libwine.so"
7992 LIBWINE_RULES="
7993 OBJS = \$(C_SRCS:.c=.o) \$(EXTRA_OBJS)
7995 all: libwine.so
7997 libwine.so: \$(OBJS)
7998 \$(CC) -shared \$(OBJS) \$(EXTRALIBS) \$(LDFLAGS) \$(LIBS) -o \$@
8000 install install-lib:: libwine.so
8001 \$(INSTALL_PROGRAM) libwine.so \$(DESTDIR)\$(libdir)/libwine.so
8003 uninstall::
8004 \$(RM) \$(DESTDIR)\$(libdir)/libwine.so
8008 as_fn_append LOADER_RULES "
8009 $wine_binary: main.o
8010 \$(CC) -o \$@ $LDEXECFLAGS main.o \$(LIBWINE) \$(LIBPORT) \$(EXTRALIBS) \$(LDFLAGS) \$(LDRPATH_LOCAL)
8012 wine-installed: main.o
8013 \$(CC) -o \$@ $LDEXECFLAGS main.o \$(LIBWINE) \$(LIBPORT) \$(EXTRALIBS) \$(LDFLAGS) \$(LDRPATH_INSTALL)
8018 DLLFLAGS="$DLLFLAGS -fPIC"
8019 LDEXECFLAGS=""
8020 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we can build a GNU style ELF dll" >&5
8021 $as_echo_n "checking whether we can build a GNU style ELF dll... " >&6; }
8022 if ${ac_cv_c_dll_gnuelf+:} false; then :
8023 $as_echo_n "(cached) " >&6
8024 else
8025 ac_wine_try_cflags_saved=$CFLAGS
8026 CFLAGS="$CFLAGS -fPIC -shared -Wl,-Bsymbolic"
8027 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
8028 /* end confdefs.h. */
8029 void myfunc() {}
8030 _ACEOF
8031 if ac_fn_c_try_link "$LINENO"; then :
8032 ac_cv_c_dll_gnuelf="yes"
8033 else
8034 ac_cv_c_dll_gnuelf="no"
8036 rm -f core conftest.err conftest.$ac_objext \
8037 conftest$ac_exeext conftest.$ac_ext
8038 CFLAGS=$ac_wine_try_cflags_saved
8040 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_dll_gnuelf" >&5
8041 $as_echo "$ac_cv_c_dll_gnuelf" >&6; }
8042 if test "$ac_cv_c_dll_gnuelf" = "yes"
8043 then
8044 LDSHARED="\$(CC) -shared"
8045 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -fPIC -shared -Wl,-soname,confest.so.1" >&5
8046 $as_echo_n "checking whether the compiler supports -fPIC -shared -Wl,-soname,confest.so.1... " >&6; }
8047 if ${ac_cv_cflags__fPIC__shared__Wl__soname_confest_so_1+:} false; then :
8048 $as_echo_n "(cached) " >&6
8049 else
8050 ac_wine_try_cflags_saved=$CFLAGS
8051 CFLAGS="$CFLAGS -fPIC -shared -Wl,-soname,confest.so.1"
8052 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
8053 /* end confdefs.h. */
8054 int main(int argc, char **argv) { return 0; }
8055 _ACEOF
8056 if ac_fn_c_try_link "$LINENO"; then :
8057 ac_cv_cflags__fPIC__shared__Wl__soname_confest_so_1=yes
8058 else
8059 ac_cv_cflags__fPIC__shared__Wl__soname_confest_so_1=no
8061 rm -f core conftest.err conftest.$ac_objext \
8062 conftest$ac_exeext conftest.$ac_ext
8063 CFLAGS=$ac_wine_try_cflags_saved
8065 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__fPIC__shared__Wl__soname_confest_so_1" >&5
8066 $as_echo "$ac_cv_cflags__fPIC__shared__Wl__soname_confest_so_1" >&6; }
8067 if test "x$ac_cv_cflags__fPIC__shared__Wl__soname_confest_so_1" = xyes; then :
8068 LDSHARED="\$(CC) -shared -Wl,-soname,libwine.so.$libwine_soversion"
8069 else
8070 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -fPIC -shared -Wl,-h,confest.so.1" >&5
8071 $as_echo_n "checking whether the compiler supports -fPIC -shared -Wl,-h,confest.so.1... " >&6; }
8072 if ${ac_cv_cflags__fPIC__shared__Wl__h_confest_so_1+:} false; then :
8073 $as_echo_n "(cached) " >&6
8074 else
8075 ac_wine_try_cflags_saved=$CFLAGS
8076 CFLAGS="$CFLAGS -fPIC -shared -Wl,-h,confest.so.1"
8077 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
8078 /* end confdefs.h. */
8079 int main(int argc, char **argv) { return 0; }
8080 _ACEOF
8081 if ac_fn_c_try_link "$LINENO"; then :
8082 ac_cv_cflags__fPIC__shared__Wl__h_confest_so_1=yes
8083 else
8084 ac_cv_cflags__fPIC__shared__Wl__h_confest_so_1=no
8086 rm -f core conftest.err conftest.$ac_objext \
8087 conftest$ac_exeext conftest.$ac_ext
8088 CFLAGS=$ac_wine_try_cflags_saved
8090 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__fPIC__shared__Wl__h_confest_so_1" >&5
8091 $as_echo "$ac_cv_cflags__fPIC__shared__Wl__h_confest_so_1" >&6; }
8092 if test "x$ac_cv_cflags__fPIC__shared__Wl__h_confest_so_1" = xyes; then :
8093 LDSHARED="\$(CC) -shared -Wl,-h,libwine.so.$libwine_soversion"
8097 echo '{ global: *; };' >conftest.map
8098 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -fPIC -shared -Wl,--version-script=conftest.map" >&5
8099 $as_echo_n "checking whether the compiler supports -fPIC -shared -Wl,--version-script=conftest.map... " >&6; }
8100 if ${ac_cv_cflags__fPIC__shared__Wl___version_script_conftest_map+:} false; then :
8101 $as_echo_n "(cached) " >&6
8102 else
8103 ac_wine_try_cflags_saved=$CFLAGS
8104 CFLAGS="$CFLAGS -fPIC -shared -Wl,--version-script=conftest.map"
8105 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
8106 /* end confdefs.h. */
8107 int main(int argc, char **argv) { return 0; }
8108 _ACEOF
8109 if ac_fn_c_try_link "$LINENO"; then :
8110 ac_cv_cflags__fPIC__shared__Wl___version_script_conftest_map=yes
8111 else
8112 ac_cv_cflags__fPIC__shared__Wl___version_script_conftest_map=no
8114 rm -f core conftest.err conftest.$ac_objext \
8115 conftest$ac_exeext conftest.$ac_ext
8116 CFLAGS=$ac_wine_try_cflags_saved
8118 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__fPIC__shared__Wl___version_script_conftest_map" >&5
8119 $as_echo "$ac_cv_cflags__fPIC__shared__Wl___version_script_conftest_map" >&6; }
8120 if test "x$ac_cv_cflags__fPIC__shared__Wl___version_script_conftest_map" = xyes; then :
8121 LDSHARED="$LDSHARED -Wl,--version-script=\$(srcdir)/wine.map"
8123 rm -f conftest.map
8125 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -fPIC -Wl,--export-dynamic" >&5
8126 $as_echo_n "checking whether the compiler supports -fPIC -Wl,--export-dynamic... " >&6; }
8127 if ${ac_cv_cflags__fPIC__Wl___export_dynamic+:} false; then :
8128 $as_echo_n "(cached) " >&6
8129 else
8130 ac_wine_try_cflags_saved=$CFLAGS
8131 CFLAGS="$CFLAGS -fPIC -Wl,--export-dynamic"
8132 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
8133 /* end confdefs.h. */
8134 int main(int argc, char **argv) { return 0; }
8135 _ACEOF
8136 if ac_fn_c_try_link "$LINENO"; then :
8137 ac_cv_cflags__fPIC__Wl___export_dynamic=yes
8138 else
8139 ac_cv_cflags__fPIC__Wl___export_dynamic=no
8141 rm -f core conftest.err conftest.$ac_objext \
8142 conftest$ac_exeext conftest.$ac_ext
8143 CFLAGS=$ac_wine_try_cflags_saved
8145 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__fPIC__Wl___export_dynamic" >&5
8146 $as_echo "$ac_cv_cflags__fPIC__Wl___export_dynamic" >&6; }
8147 if test "x$ac_cv_cflags__fPIC__Wl___export_dynamic" = xyes; then :
8148 LDEXECFLAGS="-Wl,--export-dynamic"
8151 as_ac_var=`$as_echo "ac_cv_cflags_-fPIC -Wl,--rpath,\\$ORIGIN/../lib" | $as_tr_sh`
8152 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -fPIC -Wl,--rpath,\$ORIGIN/../lib" >&5
8153 $as_echo_n "checking whether the compiler supports -fPIC -Wl,--rpath,\$ORIGIN/../lib... " >&6; }
8154 if eval \${$as_ac_var+:} false; then :
8155 $as_echo_n "(cached) " >&6
8156 else
8157 ac_wine_try_cflags_saved=$CFLAGS
8158 CFLAGS="$CFLAGS -fPIC -Wl,--rpath,\$ORIGIN/../lib"
8159 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
8160 /* end confdefs.h. */
8161 int main(int argc, char **argv) { return 0; }
8162 _ACEOF
8163 if ac_fn_c_try_link "$LINENO"; then :
8164 eval "$as_ac_var=yes"
8165 else
8166 eval "$as_ac_var=no"
8168 rm -f core conftest.err conftest.$ac_objext \
8169 conftest$ac_exeext conftest.$ac_ext
8170 CFLAGS=$ac_wine_try_cflags_saved
8172 eval ac_res=\$$as_ac_var
8173 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
8174 $as_echo "$ac_res" >&6; }
8175 if eval test \"x\$"$as_ac_var"\" = x"yes"; then :
8176 LDRPATH_INSTALL="-Wl,--rpath,\\\$\$ORIGIN/\`\$(MAKEDEP) -R \$(bindir) \$(libdir)\`"
8177 LDRPATH_LOCAL="-Wl,--rpath,\\\$\$ORIGIN/\$(top_builddir)/libs/wine"
8178 else
8179 as_ac_var=`$as_echo "ac_cv_cflags_-fPIC -Wl,-R,\\$ORIGIN/../lib" | $as_tr_sh`
8180 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -fPIC -Wl,-R,\$ORIGIN/../lib" >&5
8181 $as_echo_n "checking whether the compiler supports -fPIC -Wl,-R,\$ORIGIN/../lib... " >&6; }
8182 if eval \${$as_ac_var+:} false; then :
8183 $as_echo_n "(cached) " >&6
8184 else
8185 ac_wine_try_cflags_saved=$CFLAGS
8186 CFLAGS="$CFLAGS -fPIC -Wl,-R,\$ORIGIN/../lib"
8187 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
8188 /* end confdefs.h. */
8189 int main(int argc, char **argv) { return 0; }
8190 _ACEOF
8191 if ac_fn_c_try_link "$LINENO"; then :
8192 eval "$as_ac_var=yes"
8193 else
8194 eval "$as_ac_var=no"
8196 rm -f core conftest.err conftest.$ac_objext \
8197 conftest$ac_exeext conftest.$ac_ext
8198 CFLAGS=$ac_wine_try_cflags_saved
8200 eval ac_res=\$$as_ac_var
8201 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
8202 $as_echo "$ac_res" >&6; }
8203 if eval test \"x\$"$as_ac_var"\" = x"yes"; then :
8204 LDRPATH_INSTALL="-Wl,-R,\\\$\$ORIGIN/\`\$(MAKEDEP) -R \$(bindir) \$(libdir)\`"
8205 LDRPATH_LOCAL="-Wl,-R,\\\$\$ORIGIN/\$(top_builddir)/libs/wine"
8209 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wl,--enable-new-dtags" >&5
8210 $as_echo_n "checking whether the compiler supports -Wl,--enable-new-dtags... " >&6; }
8211 if ${ac_cv_cflags__Wl___enable_new_dtags+:} false; then :
8212 $as_echo_n "(cached) " >&6
8213 else
8214 ac_wine_try_cflags_saved=$CFLAGS
8215 CFLAGS="$CFLAGS -Wl,--enable-new-dtags"
8216 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
8217 /* end confdefs.h. */
8218 int main(int argc, char **argv) { return 0; }
8219 _ACEOF
8220 if ac_fn_c_try_link "$LINENO"; then :
8221 ac_cv_cflags__Wl___enable_new_dtags=yes
8222 else
8223 ac_cv_cflags__Wl___enable_new_dtags=no
8225 rm -f core conftest.err conftest.$ac_objext \
8226 conftest$ac_exeext conftest.$ac_ext
8227 CFLAGS=$ac_wine_try_cflags_saved
8229 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wl___enable_new_dtags" >&5
8230 $as_echo "$ac_cv_cflags__Wl___enable_new_dtags" >&6; }
8231 if test "x$ac_cv_cflags__Wl___enable_new_dtags" = xyes; then :
8232 LDRPATH_INSTALL="$LDRPATH_INSTALL -Wl,--enable-new-dtags"
8235 case $host_cpu in
8236 *i[3456789]86* | x86_64)
8237 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wl,--section-start,.interp=0x7bf00400" >&5
8238 $as_echo_n "checking whether the compiler supports -Wl,--section-start,.interp=0x7bf00400... " >&6; }
8239 if ${ac_cv_cflags__Wl___section_start__interp_0x7bf00400+:} false; then :
8240 $as_echo_n "(cached) " >&6
8241 else
8242 ac_wine_try_cflags_saved=$CFLAGS
8243 CFLAGS="$CFLAGS -Wl,--section-start,.interp=0x7bf00400"
8244 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
8245 /* end confdefs.h. */
8246 int main(int argc, char **argv) { return 0; }
8247 _ACEOF
8248 if ac_fn_c_try_link "$LINENO"; then :
8249 ac_cv_cflags__Wl___section_start__interp_0x7bf00400=yes
8250 else
8251 ac_cv_cflags__Wl___section_start__interp_0x7bf00400=no
8253 rm -f core conftest.err conftest.$ac_objext \
8254 conftest$ac_exeext conftest.$ac_ext
8255 CFLAGS=$ac_wine_try_cflags_saved
8257 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wl___section_start__interp_0x7bf00400" >&5
8258 $as_echo "$ac_cv_cflags__Wl___section_start__interp_0x7bf00400" >&6; }
8259 if test "x$ac_cv_cflags__Wl___section_start__interp_0x7bf00400" = xyes; then :
8260 case $host_os in
8261 freebsd* | kfreebsd*-gnu) LDEXECFLAGS="$LDEXECFLAGS -Wl,--section-start,.interp=0x60000400" ;;
8262 *) LDEXECFLAGS="$LDEXECFLAGS -Wl,--section-start,.interp=0x7bf00400" ;;
8263 esac
8266 # Extract the first word of "prelink", so it can be a program name with args.
8267 set dummy prelink; ac_word=$2
8268 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
8269 $as_echo_n "checking for $ac_word... " >&6; }
8270 if ${ac_cv_path_PRELINK+:} false; then :
8271 $as_echo_n "(cached) " >&6
8272 else
8273 case $PRELINK in
8274 [\\/]* | ?:[\\/]*)
8275 ac_cv_path_PRELINK="$PRELINK" # Let the user override the test with a path.
8278 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
8279 for as_dir in /sbin /usr/sbin $PATH
8281 IFS=$as_save_IFS
8282 test -z "$as_dir" && as_dir=.
8283 for ac_exec_ext in '' $ac_executable_extensions; do
8284 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
8285 ac_cv_path_PRELINK="$as_dir/$ac_word$ac_exec_ext"
8286 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
8287 break 2
8289 done
8290 done
8291 IFS=$as_save_IFS
8293 test -z "$ac_cv_path_PRELINK" && ac_cv_path_PRELINK="false"
8295 esac
8297 PRELINK=$ac_cv_path_PRELINK
8298 if test -n "$PRELINK"; then
8299 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $PRELINK" >&5
8300 $as_echo "$PRELINK" >&6; }
8301 else
8302 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
8303 $as_echo "no" >&6; }
8307 if test "x$PRELINK" = xfalse
8308 then
8309 as_fn_append wine_warnings "|prelink not found, base address of core dlls won't be set correctly."
8312 esac
8314 else
8315 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we can build a UnixWare (Solaris) dll" >&5
8316 $as_echo_n "checking whether we can build a UnixWare (Solaris) dll... " >&6; }
8317 if ${ac_cv_c_dll_unixware+:} false; then :
8318 $as_echo_n "(cached) " >&6
8319 else
8320 ac_wine_try_cflags_saved=$CFLAGS
8321 CFLAGS="$CFLAGS -fPIC -Wl,-G,-h,conftest.so.1.0,-B,symbolic"
8322 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
8323 /* end confdefs.h. */
8324 void myfunc() {}
8325 _ACEOF
8326 if ac_fn_c_try_link "$LINENO"; then :
8327 ac_cv_c_dll_unixware="yes"
8328 else
8329 ac_cv_c_dll_unixware="no"
8331 rm -f core conftest.err conftest.$ac_objext \
8332 conftest$ac_exeext conftest.$ac_ext
8333 CFLAGS=$ac_wine_try_cflags_saved
8335 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_dll_unixware" >&5
8336 $as_echo "$ac_cv_c_dll_unixware" >&6; }
8337 if test "$ac_cv_c_dll_unixware" = "yes"
8338 then
8339 LDSHARED="\$(CC) -Wl,-G,-h,libwine.so.$libwine_soversion"
8342 libwine_targets="libwine.so libwine.so.$libwine_soversion libwine.so.$libwine_version"
8343 LIBWINE_RULES="
8344 OBJS = \$(C_SRCS:.c=.o) \$(EXTRA_OBJS)
8346 all: libwine.so
8348 libwine.so.$libwine_version: \$(OBJS) \$(srcdir)/wine.map
8349 $LDSHARED \$(OBJS) \$(EXTRALIBS) \$(LDFLAGS) \$(LIBS) -o \$@
8351 libwine.so.$libwine_soversion: libwine.so.$libwine_version
8352 \$(RM) \$@ && \$(LN_S) libwine.so.$libwine_version \$@
8354 libwine.so: libwine.so.$libwine_soversion
8355 \$(RM) \$@ && \$(LN_S) libwine.so.$libwine_soversion \$@
8357 install install-lib:: libwine.so.$libwine_version
8358 \$(INSTALL_PROGRAM) libwine.so.$libwine_version \$(DESTDIR)\$(libdir)/libwine.so.$libwine_version
8359 cd \$(DESTDIR)\$(libdir) && \$(RM) libwine.so.$libwine_soversion && \$(LN_S) libwine.so.$libwine_version libwine.so.$libwine_soversion
8361 install install-dev::
8362 cd \$(DESTDIR)\$(libdir) && \$(RM) libwine.so && \$(LN_S) libwine.so.$libwine_version libwine.so
8364 uninstall::
8365 -cd \$(DESTDIR)\$(libdir) && \$(RM) libwine.so libwine.so.$libwine_soversion libwine.so.$libwine_version
8369 as_fn_append LOADER_RULES "
8370 $wine_binary: main.o
8371 \$(CC) -o \$@ $LDEXECFLAGS main.o \$(LIBWINE) \$(LIBPORT) \$(EXTRALIBS) \$(LDFLAGS) \$(LDRPATH_LOCAL)
8373 wine-installed: main.o
8374 \$(CC) -o \$@ $LDEXECFLAGS main.o \$(LIBWINE) \$(LIBPORT) \$(EXTRALIBS) \$(LDFLAGS) \$(LDRPATH_INSTALL)
8377 esac
8379 as_fn_append LIBWINE_RULES "
8380 EXTRA_TARGETS = $libwine_targets
8383 enable_wineqtdecoder=${enable_wineqtdecoder:-no}
8384 enable_winemac_drv=${enable_winemac_drv:-no}
8386 CROSSTARGET=""
8388 if test "$cross_compiling" = "no" -a "x$enable_tests" != xno -a "$LIBEXT" != "dll"
8389 then
8390 case "$host_cpu" in
8391 i[3456789]86*)
8392 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
8393 mingw32-gcc" ;;
8394 x86_64)
8395 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 " ;;
8397 ac_prefix_list="" ;;
8398 esac
8399 for ac_prog in $ac_prefix_list
8401 # Extract the first word of "$ac_prog", so it can be a program name with args.
8402 set dummy $ac_prog; ac_word=$2
8403 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
8404 $as_echo_n "checking for $ac_word... " >&6; }
8405 if ${ac_cv_prog_CROSSCC+:} false; then :
8406 $as_echo_n "(cached) " >&6
8407 else
8408 if test -n "$CROSSCC"; then
8409 ac_cv_prog_CROSSCC="$CROSSCC" # Let the user override the test.
8410 else
8411 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
8412 for as_dir in $PATH
8414 IFS=$as_save_IFS
8415 test -z "$as_dir" && as_dir=.
8416 for ac_exec_ext in '' $ac_executable_extensions; do
8417 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
8418 ac_cv_prog_CROSSCC="$ac_prog"
8419 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
8420 break 2
8422 done
8423 done
8424 IFS=$as_save_IFS
8428 CROSSCC=$ac_cv_prog_CROSSCC
8429 if test -n "$CROSSCC"; then
8430 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CROSSCC" >&5
8431 $as_echo "$CROSSCC" >&6; }
8432 else
8433 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
8434 $as_echo "no" >&6; }
8438 test -n "$CROSSCC" && break
8439 done
8440 test -n "$CROSSCC" || CROSSCC="false"
8442 if test "$CROSSCC" != "false"
8443 then
8444 ac_save_CC="$CC"
8445 CC="$CROSSCC"
8446 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CROSSCC works" >&5
8447 $as_echo_n "checking whether $CROSSCC works... " >&6; }
8448 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
8449 /* end confdefs.h. */
8452 main ()
8456 return 0;
8458 _ACEOF
8459 if ac_fn_c_try_compile "$LINENO"; then :
8460 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
8461 $as_echo "yes" >&6; }
8462 set x $CROSSCC
8463 shift
8464 while test $# -ge 1
8466 case "$1" in
8467 *-gcc) CROSSTARGET=`expr "$1" : '\(.*\)-gcc'` ;;
8468 esac
8469 shift
8470 done
8471 else
8472 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
8473 $as_echo "no" >&6; }
8475 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
8476 CC="$ac_save_CC"
8481 if test "$ac_cv_header_pthread_h" = "yes"
8482 then
8483 ac_fn_c_check_func "$LINENO" "pthread_create" "ac_cv_func_pthread_create"
8484 if test "x$ac_cv_func_pthread_create" = xyes; then :
8486 else
8487 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for pthread_create in -lpthread" >&5
8488 $as_echo_n "checking for pthread_create in -lpthread... " >&6; }
8489 if ${ac_cv_lib_pthread_pthread_create+:} false; then :
8490 $as_echo_n "(cached) " >&6
8491 else
8492 ac_check_lib_save_LIBS=$LIBS
8493 LIBS="-lpthread $LIBS"
8494 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
8495 /* end confdefs.h. */
8497 /* Override any GCC internal prototype to avoid an error.
8498 Use char because int might match the return type of a GCC
8499 builtin and then its argument prototype would still apply. */
8500 #ifdef __cplusplus
8501 extern "C"
8502 #endif
8503 char pthread_create ();
8505 main ()
8507 return pthread_create ();
8509 return 0;
8511 _ACEOF
8512 if ac_fn_c_try_link "$LINENO"; then :
8513 ac_cv_lib_pthread_pthread_create=yes
8514 else
8515 ac_cv_lib_pthread_pthread_create=no
8517 rm -f core conftest.err conftest.$ac_objext \
8518 conftest$ac_exeext conftest.$ac_ext
8519 LIBS=$ac_check_lib_save_LIBS
8521 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_pthread_pthread_create" >&5
8522 $as_echo "$ac_cv_lib_pthread_pthread_create" >&6; }
8523 if test "x$ac_cv_lib_pthread_pthread_create" = xyes; then :
8524 PTHREAD_LIBS="-lpthread"
8531 if test "x$ac_cv_func_pthread_create" != xyes -a "x$PTHREAD_LIBS" = x; then :
8532 case "x$with_pthread" in
8533 xno) ;;
8534 *) as_fn_error $? "pthread ${notice_platform}development files not found.
8535 Wine cannot support threads without libpthread.
8536 Use the --without-pthread option if you really want this." "$LINENO" 5 ;;
8537 esac
8541 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for X" >&5
8542 $as_echo_n "checking for X... " >&6; }
8545 # Check whether --with-x was given.
8546 if test "${with_x+set}" = set; then :
8547 withval=$with_x;
8550 # $have_x is `yes', `no', `disabled', or empty when we do not yet know.
8551 if test "x$with_x" = xno; then
8552 # The user explicitly disabled X.
8553 have_x=disabled
8554 else
8555 case $x_includes,$x_libraries in #(
8556 *\'*) as_fn_error $? "cannot use X directory names containing '" "$LINENO" 5;; #(
8557 *,NONE | NONE,*) if ${ac_cv_have_x+:} false; then :
8558 $as_echo_n "(cached) " >&6
8559 else
8560 # One or both of the vars are not set, and there is no cached value.
8561 ac_x_includes=no ac_x_libraries=no
8562 rm -f -r conftest.dir
8563 if mkdir conftest.dir; then
8564 cd conftest.dir
8565 cat >Imakefile <<'_ACEOF'
8566 incroot:
8567 @echo incroot='${INCROOT}'
8568 usrlibdir:
8569 @echo usrlibdir='${USRLIBDIR}'
8570 libdir:
8571 @echo libdir='${LIBDIR}'
8572 _ACEOF
8573 if (export CC; ${XMKMF-xmkmf}) >/dev/null 2>/dev/null && test -f Makefile; then
8574 # GNU make sometimes prints "make[1]: Entering ...", which would confuse us.
8575 for ac_var in incroot usrlibdir libdir; do
8576 eval "ac_im_$ac_var=\`\${MAKE-make} $ac_var 2>/dev/null | sed -n 's/^$ac_var=//p'\`"
8577 done
8578 # Open Windows xmkmf reportedly sets LIBDIR instead of USRLIBDIR.
8579 for ac_extension in a so sl dylib la dll; do
8580 if test ! -f "$ac_im_usrlibdir/libX11.$ac_extension" &&
8581 test -f "$ac_im_libdir/libX11.$ac_extension"; then
8582 ac_im_usrlibdir=$ac_im_libdir; break
8584 done
8585 # Screen out bogus values from the imake configuration. They are
8586 # bogus both because they are the default anyway, and because
8587 # using them would break gcc on systems where it needs fixed includes.
8588 case $ac_im_incroot in
8589 /usr/include) ac_x_includes= ;;
8590 *) test -f "$ac_im_incroot/X11/Xos.h" && ac_x_includes=$ac_im_incroot;;
8591 esac
8592 case $ac_im_usrlibdir in
8593 /usr/lib | /usr/lib64 | /lib | /lib64) ;;
8594 *) test -d "$ac_im_usrlibdir" && ac_x_libraries=$ac_im_usrlibdir ;;
8595 esac
8597 cd ..
8598 rm -f -r conftest.dir
8601 # Standard set of common directories for X headers.
8602 # Check X11 before X11Rn because it is often a symlink to the current release.
8603 ac_x_header_dirs='
8604 /usr/X11/include
8605 /usr/X11R7/include
8606 /usr/X11R6/include
8607 /usr/X11R5/include
8608 /usr/X11R4/include
8610 /usr/include/X11
8611 /usr/include/X11R7
8612 /usr/include/X11R6
8613 /usr/include/X11R5
8614 /usr/include/X11R4
8616 /usr/local/X11/include
8617 /usr/local/X11R7/include
8618 /usr/local/X11R6/include
8619 /usr/local/X11R5/include
8620 /usr/local/X11R4/include
8622 /usr/local/include/X11
8623 /usr/local/include/X11R7
8624 /usr/local/include/X11R6
8625 /usr/local/include/X11R5
8626 /usr/local/include/X11R4
8628 /usr/X386/include
8629 /usr/x386/include
8630 /usr/XFree86/include/X11
8632 /usr/include
8633 /usr/local/include
8634 /usr/unsupported/include
8635 /usr/athena/include
8636 /usr/local/x11r5/include
8637 /usr/lpp/Xamples/include
8639 /usr/openwin/include
8640 /usr/openwin/share/include'
8642 if test "$ac_x_includes" = no; then
8643 # Guess where to find include files, by looking for Xlib.h.
8644 # First, try using that file with no special directory specified.
8645 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
8646 /* end confdefs.h. */
8647 #include <X11/Xlib.h>
8648 _ACEOF
8649 if ac_fn_c_try_cpp "$LINENO"; then :
8650 # We can compile using X headers with no special include directory.
8651 ac_x_includes=
8652 else
8653 for ac_dir in $ac_x_header_dirs; do
8654 if test -r "$ac_dir/X11/Xlib.h"; then
8655 ac_x_includes=$ac_dir
8656 break
8658 done
8660 rm -f conftest.err conftest.i conftest.$ac_ext
8661 fi # $ac_x_includes = no
8663 if test "$ac_x_libraries" = no; then
8664 # Check for the libraries.
8665 # See if we find them without any special options.
8666 # Don't add to $LIBS permanently.
8667 ac_save_LIBS=$LIBS
8668 LIBS="-lX11 $LIBS"
8669 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
8670 /* end confdefs.h. */
8671 #include <X11/Xlib.h>
8673 main ()
8675 XrmInitialize ()
8677 return 0;
8679 _ACEOF
8680 if ac_fn_c_try_link "$LINENO"; then :
8681 LIBS=$ac_save_LIBS
8682 # We can link X programs with no special library path.
8683 ac_x_libraries=
8684 else
8685 LIBS=$ac_save_LIBS
8686 for ac_dir in `$as_echo "$ac_x_includes $ac_x_header_dirs" | sed s/include/lib/g`
8688 # Don't even attempt the hair of trying to link an X program!
8689 for ac_extension in a so sl dylib la dll; do
8690 if test -r "$ac_dir/libX11.$ac_extension"; then
8691 ac_x_libraries=$ac_dir
8692 break 2
8694 done
8695 done
8697 rm -f core conftest.err conftest.$ac_objext \
8698 conftest$ac_exeext conftest.$ac_ext
8699 fi # $ac_x_libraries = no
8701 case $ac_x_includes,$ac_x_libraries in #(
8702 no,* | *,no | *\'*)
8703 # Didn't find X, or a directory has "'" in its name.
8704 ac_cv_have_x="have_x=no";; #(
8706 # Record where we found X for the cache.
8707 ac_cv_have_x="have_x=yes\
8708 ac_x_includes='$ac_x_includes'\
8709 ac_x_libraries='$ac_x_libraries'"
8710 esac
8712 ;; #(
8713 *) have_x=yes;;
8714 esac
8715 eval "$ac_cv_have_x"
8716 fi # $with_x != no
8718 if test "$have_x" != yes; then
8719 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $have_x" >&5
8720 $as_echo "$have_x" >&6; }
8721 no_x=yes
8722 else
8723 # If each of the values was on the command line, it overrides each guess.
8724 test "x$x_includes" = xNONE && x_includes=$ac_x_includes
8725 test "x$x_libraries" = xNONE && x_libraries=$ac_x_libraries
8726 # Update the cache value to reflect the command line values.
8727 ac_cv_have_x="have_x=yes\
8728 ac_x_includes='$x_includes'\
8729 ac_x_libraries='$x_libraries'"
8730 { $as_echo "$as_me:${as_lineno-$LINENO}: result: libraries $x_libraries, headers $x_includes" >&5
8731 $as_echo "libraries $x_libraries, headers $x_includes" >&6; }
8734 if test "$no_x" = yes; then
8735 # Not all programs may use this symbol, but it does not hurt to define it.
8737 $as_echo "#define X_DISPLAY_MISSING 1" >>confdefs.h
8739 X_CFLAGS= X_PRE_LIBS= X_LIBS= X_EXTRA_LIBS=
8740 else
8741 if test -n "$x_includes"; then
8742 X_CFLAGS="$X_CFLAGS -I$x_includes"
8745 # It would also be nice to do this for all -L options, not just this one.
8746 if test -n "$x_libraries"; then
8747 X_LIBS="$X_LIBS -L$x_libraries"
8748 # For Solaris; some versions of Sun CC require a space after -R and
8749 # others require no space. Words are not sufficient . . . .
8750 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether -R must be followed by a space" >&5
8751 $as_echo_n "checking whether -R must be followed by a space... " >&6; }
8752 ac_xsave_LIBS=$LIBS; LIBS="$LIBS -R$x_libraries"
8753 ac_xsave_c_werror_flag=$ac_c_werror_flag
8754 ac_c_werror_flag=yes
8755 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
8756 /* end confdefs.h. */
8759 main ()
8763 return 0;
8765 _ACEOF
8766 if ac_fn_c_try_link "$LINENO"; then :
8767 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
8768 $as_echo "no" >&6; }
8769 X_LIBS="$X_LIBS -R$x_libraries"
8770 else
8771 LIBS="$ac_xsave_LIBS -R $x_libraries"
8772 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
8773 /* end confdefs.h. */
8776 main ()
8780 return 0;
8782 _ACEOF
8783 if ac_fn_c_try_link "$LINENO"; then :
8784 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
8785 $as_echo "yes" >&6; }
8786 X_LIBS="$X_LIBS -R $x_libraries"
8787 else
8788 { $as_echo "$as_me:${as_lineno-$LINENO}: result: neither works" >&5
8789 $as_echo "neither works" >&6; }
8791 rm -f core conftest.err conftest.$ac_objext \
8792 conftest$ac_exeext conftest.$ac_ext
8794 rm -f core conftest.err conftest.$ac_objext \
8795 conftest$ac_exeext conftest.$ac_ext
8796 ac_c_werror_flag=$ac_xsave_c_werror_flag
8797 LIBS=$ac_xsave_LIBS
8800 # Check for system-dependent libraries X programs must link with.
8801 # Do this before checking for the system-independent R6 libraries
8802 # (-lICE), since we may need -lsocket or whatever for X linking.
8804 if test "$ISC" = yes; then
8805 X_EXTRA_LIBS="$X_EXTRA_LIBS -lnsl_s -linet"
8806 else
8807 # Martyn Johnson says this is needed for Ultrix, if the X
8808 # libraries were built with DECnet support. And Karl Berry says
8809 # the Alpha needs dnet_stub (dnet does not exist).
8810 ac_xsave_LIBS="$LIBS"; LIBS="$LIBS $X_LIBS -lX11"
8811 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
8812 /* end confdefs.h. */
8814 /* Override any GCC internal prototype to avoid an error.
8815 Use char because int might match the return type of a GCC
8816 builtin and then its argument prototype would still apply. */
8817 #ifdef __cplusplus
8818 extern "C"
8819 #endif
8820 char XOpenDisplay ();
8822 main ()
8824 return XOpenDisplay ();
8826 return 0;
8828 _ACEOF
8829 if ac_fn_c_try_link "$LINENO"; then :
8831 else
8832 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dnet_ntoa in -ldnet" >&5
8833 $as_echo_n "checking for dnet_ntoa in -ldnet... " >&6; }
8834 if ${ac_cv_lib_dnet_dnet_ntoa+:} false; then :
8835 $as_echo_n "(cached) " >&6
8836 else
8837 ac_check_lib_save_LIBS=$LIBS
8838 LIBS="-ldnet $LIBS"
8839 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
8840 /* end confdefs.h. */
8842 /* Override any GCC internal prototype to avoid an error.
8843 Use char because int might match the return type of a GCC
8844 builtin and then its argument prototype would still apply. */
8845 #ifdef __cplusplus
8846 extern "C"
8847 #endif
8848 char dnet_ntoa ();
8850 main ()
8852 return dnet_ntoa ();
8854 return 0;
8856 _ACEOF
8857 if ac_fn_c_try_link "$LINENO"; then :
8858 ac_cv_lib_dnet_dnet_ntoa=yes
8859 else
8860 ac_cv_lib_dnet_dnet_ntoa=no
8862 rm -f core conftest.err conftest.$ac_objext \
8863 conftest$ac_exeext conftest.$ac_ext
8864 LIBS=$ac_check_lib_save_LIBS
8866 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dnet_dnet_ntoa" >&5
8867 $as_echo "$ac_cv_lib_dnet_dnet_ntoa" >&6; }
8868 if test "x$ac_cv_lib_dnet_dnet_ntoa" = xyes; then :
8869 X_EXTRA_LIBS="$X_EXTRA_LIBS -ldnet"
8872 if test $ac_cv_lib_dnet_dnet_ntoa = no; then
8873 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dnet_ntoa in -ldnet_stub" >&5
8874 $as_echo_n "checking for dnet_ntoa in -ldnet_stub... " >&6; }
8875 if ${ac_cv_lib_dnet_stub_dnet_ntoa+:} false; then :
8876 $as_echo_n "(cached) " >&6
8877 else
8878 ac_check_lib_save_LIBS=$LIBS
8879 LIBS="-ldnet_stub $LIBS"
8880 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
8881 /* end confdefs.h. */
8883 /* Override any GCC internal prototype to avoid an error.
8884 Use char because int might match the return type of a GCC
8885 builtin and then its argument prototype would still apply. */
8886 #ifdef __cplusplus
8887 extern "C"
8888 #endif
8889 char dnet_ntoa ();
8891 main ()
8893 return dnet_ntoa ();
8895 return 0;
8897 _ACEOF
8898 if ac_fn_c_try_link "$LINENO"; then :
8899 ac_cv_lib_dnet_stub_dnet_ntoa=yes
8900 else
8901 ac_cv_lib_dnet_stub_dnet_ntoa=no
8903 rm -f core conftest.err conftest.$ac_objext \
8904 conftest$ac_exeext conftest.$ac_ext
8905 LIBS=$ac_check_lib_save_LIBS
8907 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dnet_stub_dnet_ntoa" >&5
8908 $as_echo "$ac_cv_lib_dnet_stub_dnet_ntoa" >&6; }
8909 if test "x$ac_cv_lib_dnet_stub_dnet_ntoa" = xyes; then :
8910 X_EXTRA_LIBS="$X_EXTRA_LIBS -ldnet_stub"
8915 rm -f core conftest.err conftest.$ac_objext \
8916 conftest$ac_exeext conftest.$ac_ext
8917 LIBS="$ac_xsave_LIBS"
8919 # msh@cis.ufl.edu says -lnsl (and -lsocket) are needed for his 386/AT,
8920 # to get the SysV transport functions.
8921 # Chad R. Larson says the Pyramis MIS-ES running DC/OSx (SVR4)
8922 # needs -lnsl.
8923 # The nsl library prevents programs from opening the X display
8924 # on Irix 5.2, according to T.E. Dickey.
8925 # The functions gethostbyname, getservbyname, and inet_addr are
8926 # in -lbsd on LynxOS 3.0.1/i386, according to Lars Hecking.
8927 ac_fn_c_check_func "$LINENO" "gethostbyname" "ac_cv_func_gethostbyname"
8928 if test "x$ac_cv_func_gethostbyname" = xyes; then :
8932 if test $ac_cv_func_gethostbyname = no; then
8933 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for gethostbyname in -lnsl" >&5
8934 $as_echo_n "checking for gethostbyname in -lnsl... " >&6; }
8935 if ${ac_cv_lib_nsl_gethostbyname+:} false; then :
8936 $as_echo_n "(cached) " >&6
8937 else
8938 ac_check_lib_save_LIBS=$LIBS
8939 LIBS="-lnsl $LIBS"
8940 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
8941 /* end confdefs.h. */
8943 /* Override any GCC internal prototype to avoid an error.
8944 Use char because int might match the return type of a GCC
8945 builtin and then its argument prototype would still apply. */
8946 #ifdef __cplusplus
8947 extern "C"
8948 #endif
8949 char gethostbyname ();
8951 main ()
8953 return gethostbyname ();
8955 return 0;
8957 _ACEOF
8958 if ac_fn_c_try_link "$LINENO"; then :
8959 ac_cv_lib_nsl_gethostbyname=yes
8960 else
8961 ac_cv_lib_nsl_gethostbyname=no
8963 rm -f core conftest.err conftest.$ac_objext \
8964 conftest$ac_exeext conftest.$ac_ext
8965 LIBS=$ac_check_lib_save_LIBS
8967 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_nsl_gethostbyname" >&5
8968 $as_echo "$ac_cv_lib_nsl_gethostbyname" >&6; }
8969 if test "x$ac_cv_lib_nsl_gethostbyname" = xyes; then :
8970 X_EXTRA_LIBS="$X_EXTRA_LIBS -lnsl"
8973 if test $ac_cv_lib_nsl_gethostbyname = no; then
8974 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for gethostbyname in -lbsd" >&5
8975 $as_echo_n "checking for gethostbyname in -lbsd... " >&6; }
8976 if ${ac_cv_lib_bsd_gethostbyname+:} false; then :
8977 $as_echo_n "(cached) " >&6
8978 else
8979 ac_check_lib_save_LIBS=$LIBS
8980 LIBS="-lbsd $LIBS"
8981 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
8982 /* end confdefs.h. */
8984 /* Override any GCC internal prototype to avoid an error.
8985 Use char because int might match the return type of a GCC
8986 builtin and then its argument prototype would still apply. */
8987 #ifdef __cplusplus
8988 extern "C"
8989 #endif
8990 char gethostbyname ();
8992 main ()
8994 return gethostbyname ();
8996 return 0;
8998 _ACEOF
8999 if ac_fn_c_try_link "$LINENO"; then :
9000 ac_cv_lib_bsd_gethostbyname=yes
9001 else
9002 ac_cv_lib_bsd_gethostbyname=no
9004 rm -f core conftest.err conftest.$ac_objext \
9005 conftest$ac_exeext conftest.$ac_ext
9006 LIBS=$ac_check_lib_save_LIBS
9008 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_bsd_gethostbyname" >&5
9009 $as_echo "$ac_cv_lib_bsd_gethostbyname" >&6; }
9010 if test "x$ac_cv_lib_bsd_gethostbyname" = xyes; then :
9011 X_EXTRA_LIBS="$X_EXTRA_LIBS -lbsd"
9017 # lieder@skyler.mavd.honeywell.com says without -lsocket,
9018 # socket/setsockopt and other routines are undefined under SCO ODT
9019 # 2.0. But -lsocket is broken on IRIX 5.2 (and is not necessary
9020 # on later versions), says Simon Leinen: it contains gethostby*
9021 # variants that don't use the name server (or something). -lsocket
9022 # must be given before -lnsl if both are needed. We assume that
9023 # if connect needs -lnsl, so does gethostbyname.
9024 ac_fn_c_check_func "$LINENO" "connect" "ac_cv_func_connect"
9025 if test "x$ac_cv_func_connect" = xyes; then :
9029 if test $ac_cv_func_connect = no; then
9030 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for connect in -lsocket" >&5
9031 $as_echo_n "checking for connect in -lsocket... " >&6; }
9032 if ${ac_cv_lib_socket_connect+:} false; then :
9033 $as_echo_n "(cached) " >&6
9034 else
9035 ac_check_lib_save_LIBS=$LIBS
9036 LIBS="-lsocket $X_EXTRA_LIBS $LIBS"
9037 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9038 /* end confdefs.h. */
9040 /* Override any GCC internal prototype to avoid an error.
9041 Use char because int might match the return type of a GCC
9042 builtin and then its argument prototype would still apply. */
9043 #ifdef __cplusplus
9044 extern "C"
9045 #endif
9046 char connect ();
9048 main ()
9050 return connect ();
9052 return 0;
9054 _ACEOF
9055 if ac_fn_c_try_link "$LINENO"; then :
9056 ac_cv_lib_socket_connect=yes
9057 else
9058 ac_cv_lib_socket_connect=no
9060 rm -f core conftest.err conftest.$ac_objext \
9061 conftest$ac_exeext conftest.$ac_ext
9062 LIBS=$ac_check_lib_save_LIBS
9064 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_socket_connect" >&5
9065 $as_echo "$ac_cv_lib_socket_connect" >&6; }
9066 if test "x$ac_cv_lib_socket_connect" = xyes; then :
9067 X_EXTRA_LIBS="-lsocket $X_EXTRA_LIBS"
9072 # Guillermo Gomez says -lposix is necessary on A/UX.
9073 ac_fn_c_check_func "$LINENO" "remove" "ac_cv_func_remove"
9074 if test "x$ac_cv_func_remove" = xyes; then :
9078 if test $ac_cv_func_remove = no; then
9079 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for remove in -lposix" >&5
9080 $as_echo_n "checking for remove in -lposix... " >&6; }
9081 if ${ac_cv_lib_posix_remove+:} false; then :
9082 $as_echo_n "(cached) " >&6
9083 else
9084 ac_check_lib_save_LIBS=$LIBS
9085 LIBS="-lposix $LIBS"
9086 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9087 /* end confdefs.h. */
9089 /* Override any GCC internal prototype to avoid an error.
9090 Use char because int might match the return type of a GCC
9091 builtin and then its argument prototype would still apply. */
9092 #ifdef __cplusplus
9093 extern "C"
9094 #endif
9095 char remove ();
9097 main ()
9099 return remove ();
9101 return 0;
9103 _ACEOF
9104 if ac_fn_c_try_link "$LINENO"; then :
9105 ac_cv_lib_posix_remove=yes
9106 else
9107 ac_cv_lib_posix_remove=no
9109 rm -f core conftest.err conftest.$ac_objext \
9110 conftest$ac_exeext conftest.$ac_ext
9111 LIBS=$ac_check_lib_save_LIBS
9113 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_posix_remove" >&5
9114 $as_echo "$ac_cv_lib_posix_remove" >&6; }
9115 if test "x$ac_cv_lib_posix_remove" = xyes; then :
9116 X_EXTRA_LIBS="$X_EXTRA_LIBS -lposix"
9121 # BSDI BSD/OS 2.1 needs -lipc for XOpenDisplay.
9122 ac_fn_c_check_func "$LINENO" "shmat" "ac_cv_func_shmat"
9123 if test "x$ac_cv_func_shmat" = xyes; then :
9127 if test $ac_cv_func_shmat = no; then
9128 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for shmat in -lipc" >&5
9129 $as_echo_n "checking for shmat in -lipc... " >&6; }
9130 if ${ac_cv_lib_ipc_shmat+:} false; then :
9131 $as_echo_n "(cached) " >&6
9132 else
9133 ac_check_lib_save_LIBS=$LIBS
9134 LIBS="-lipc $LIBS"
9135 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9136 /* end confdefs.h. */
9138 /* Override any GCC internal prototype to avoid an error.
9139 Use char because int might match the return type of a GCC
9140 builtin and then its argument prototype would still apply. */
9141 #ifdef __cplusplus
9142 extern "C"
9143 #endif
9144 char shmat ();
9146 main ()
9148 return shmat ();
9150 return 0;
9152 _ACEOF
9153 if ac_fn_c_try_link "$LINENO"; then :
9154 ac_cv_lib_ipc_shmat=yes
9155 else
9156 ac_cv_lib_ipc_shmat=no
9158 rm -f core conftest.err conftest.$ac_objext \
9159 conftest$ac_exeext conftest.$ac_ext
9160 LIBS=$ac_check_lib_save_LIBS
9162 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_ipc_shmat" >&5
9163 $as_echo "$ac_cv_lib_ipc_shmat" >&6; }
9164 if test "x$ac_cv_lib_ipc_shmat" = xyes; then :
9165 X_EXTRA_LIBS="$X_EXTRA_LIBS -lipc"
9171 # Check for libraries that X11R6 Xt/Xaw programs need.
9172 ac_save_LDFLAGS=$LDFLAGS
9173 test -n "$x_libraries" && LDFLAGS="$LDFLAGS -L$x_libraries"
9174 # SM needs ICE to (dynamically) link under SunOS 4.x (so we have to
9175 # check for ICE first), but we must link in the order -lSM -lICE or
9176 # we get undefined symbols. So assume we have SM if we have ICE.
9177 # These have to be linked with before -lX11, unlike the other
9178 # libraries we check for below, so use a different variable.
9179 # John Interrante, Karl Berry
9180 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for IceConnectionNumber in -lICE" >&5
9181 $as_echo_n "checking for IceConnectionNumber in -lICE... " >&6; }
9182 if ${ac_cv_lib_ICE_IceConnectionNumber+:} false; then :
9183 $as_echo_n "(cached) " >&6
9184 else
9185 ac_check_lib_save_LIBS=$LIBS
9186 LIBS="-lICE $X_EXTRA_LIBS $LIBS"
9187 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9188 /* end confdefs.h. */
9190 /* Override any GCC internal prototype to avoid an error.
9191 Use char because int might match the return type of a GCC
9192 builtin and then its argument prototype would still apply. */
9193 #ifdef __cplusplus
9194 extern "C"
9195 #endif
9196 char IceConnectionNumber ();
9198 main ()
9200 return IceConnectionNumber ();
9202 return 0;
9204 _ACEOF
9205 if ac_fn_c_try_link "$LINENO"; then :
9206 ac_cv_lib_ICE_IceConnectionNumber=yes
9207 else
9208 ac_cv_lib_ICE_IceConnectionNumber=no
9210 rm -f core conftest.err conftest.$ac_objext \
9211 conftest$ac_exeext conftest.$ac_ext
9212 LIBS=$ac_check_lib_save_LIBS
9214 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_ICE_IceConnectionNumber" >&5
9215 $as_echo "$ac_cv_lib_ICE_IceConnectionNumber" >&6; }
9216 if test "x$ac_cv_lib_ICE_IceConnectionNumber" = xyes; then :
9217 X_PRE_LIBS="$X_PRE_LIBS -lSM -lICE"
9220 LDFLAGS=$ac_save_LDFLAGS
9225 if test "$have_x" = "yes"
9226 then
9227 ac_save_CPPFLAGS="$CPPFLAGS"
9228 CPPFLAGS="$CPPFLAGS $X_CFLAGS"
9230 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lX11" >&5
9231 $as_echo_n "checking for -lX11... " >&6; }
9232 if ${ac_cv_lib_soname_X11+:} false; then :
9233 $as_echo_n "(cached) " >&6
9234 else
9235 ac_check_soname_save_LIBS=$LIBS
9236 LIBS="-lX11 $X_LIBS $X_EXTRA_LIBS $LIBS"
9237 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9238 /* end confdefs.h. */
9240 /* Override any GCC internal prototype to avoid an error.
9241 Use char because int might match the return type of a GCC
9242 builtin and then its argument prototype would still apply. */
9243 #ifdef __cplusplus
9244 extern "C"
9245 #endif
9246 char XCreateWindow ();
9248 main ()
9250 return XCreateWindow ();
9252 return 0;
9254 _ACEOF
9255 if ac_fn_c_try_link "$LINENO"; then :
9256 case "$LIBEXT" in
9257 dll) ac_cv_lib_soname_X11=`$ac_cv_path_LDD conftest.exe | grep "X11" | sed -e "s/dll.*/dll/"';2,$d'` ;;
9258 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'` ;;
9259 *) ac_cv_lib_soname_X11=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libX11\\.$LIBEXT" | sed -e "s/^.*\\[\\(libX11\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
9260 if ${ac_cv_lib_soname_X11:+false} :; then :
9261 ac_cv_lib_soname_X11=`$LDD conftest$ac_exeext | grep "libX11\\.$LIBEXT" | sed -e "s/^.*\(libX11\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
9262 fi ;;
9263 esac
9265 rm -f core conftest.err conftest.$ac_objext \
9266 conftest$ac_exeext conftest.$ac_ext
9267 LIBS=$ac_check_soname_save_LIBS
9269 if ${ac_cv_lib_soname_X11:+false} :; then :
9270 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
9271 $as_echo "not found" >&6; }
9273 else
9274 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_X11" >&5
9275 $as_echo "$ac_cv_lib_soname_X11" >&6; }
9277 cat >>confdefs.h <<_ACEOF
9278 #define SONAME_LIBX11 "$ac_cv_lib_soname_X11"
9279 _ACEOF
9283 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lXext" >&5
9284 $as_echo_n "checking for -lXext... " >&6; }
9285 if ${ac_cv_lib_soname_Xext+:} false; then :
9286 $as_echo_n "(cached) " >&6
9287 else
9288 ac_check_soname_save_LIBS=$LIBS
9289 LIBS="-lXext $X_LIBS -lX11 $X_EXTRA_LIBS $LIBS"
9290 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9291 /* end confdefs.h. */
9293 /* Override any GCC internal prototype to avoid an error.
9294 Use char because int might match the return type of a GCC
9295 builtin and then its argument prototype would still apply. */
9296 #ifdef __cplusplus
9297 extern "C"
9298 #endif
9299 char XextCreateExtension ();
9301 main ()
9303 return XextCreateExtension ();
9305 return 0;
9307 _ACEOF
9308 if ac_fn_c_try_link "$LINENO"; then :
9309 case "$LIBEXT" in
9310 dll) ac_cv_lib_soname_Xext=`$ac_cv_path_LDD conftest.exe | grep "Xext" | sed -e "s/dll.*/dll/"';2,$d'` ;;
9311 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'` ;;
9312 *) ac_cv_lib_soname_Xext=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libXext\\.$LIBEXT" | sed -e "s/^.*\\[\\(libXext\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
9313 if ${ac_cv_lib_soname_Xext:+false} :; then :
9314 ac_cv_lib_soname_Xext=`$LDD conftest$ac_exeext | grep "libXext\\.$LIBEXT" | sed -e "s/^.*\(libXext\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
9315 fi ;;
9316 esac
9318 rm -f core conftest.err conftest.$ac_objext \
9319 conftest$ac_exeext conftest.$ac_ext
9320 LIBS=$ac_check_soname_save_LIBS
9322 if ${ac_cv_lib_soname_Xext:+false} :; then :
9323 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
9324 $as_echo "not found" >&6; }
9326 else
9327 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_Xext" >&5
9328 $as_echo "$ac_cv_lib_soname_Xext" >&6; }
9330 cat >>confdefs.h <<_ACEOF
9331 #define SONAME_LIBXEXT "$ac_cv_lib_soname_Xext"
9332 _ACEOF
9334 X_LIBS="$X_LIBS -lXext"
9336 X_LIBS="$X_LIBS -lX11"
9338 for ac_header in X11/Xlib.h \
9339 X11/XKBlib.h \
9340 X11/Xutil.h \
9341 X11/Xcursor/Xcursor.h \
9342 X11/extensions/shape.h \
9343 X11/extensions/XInput.h \
9344 X11/extensions/XInput2.h \
9345 X11/extensions/XShm.h \
9346 X11/extensions/Xcomposite.h \
9347 X11/extensions/Xinerama.h \
9348 X11/extensions/Xrandr.h \
9349 X11/extensions/Xrender.h \
9350 X11/extensions/xf86vmode.h \
9351 X11/extensions/xf86vmproto.h
9352 do :
9353 as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
9354 ac_fn_c_check_header_compile "$LINENO" "$ac_header" "$as_ac_Header" "#ifdef HAVE_X11_XLIB_H
9355 # include <X11/Xlib.h>
9356 #endif
9357 #ifdef HAVE_X11_XUTIL_H
9358 # include <X11/Xutil.h>
9359 #endif
9361 if eval test \"x\$"$as_ac_Header"\" = x"yes"; then :
9362 cat >>confdefs.h <<_ACEOF
9363 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
9364 _ACEOF
9368 done
9371 if test "$ac_cv_header_X11_XKBlib_h" = "yes"
9372 then
9373 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for XkbQueryExtension in -lX11" >&5
9374 $as_echo_n "checking for XkbQueryExtension in -lX11... " >&6; }
9375 if ${ac_cv_lib_X11_XkbQueryExtension+:} false; then :
9376 $as_echo_n "(cached) " >&6
9377 else
9378 ac_check_lib_save_LIBS=$LIBS
9379 LIBS="-lX11 $X_LIBS $X_EXTRA_LIBS $LIBS"
9380 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9381 /* end confdefs.h. */
9383 /* Override any GCC internal prototype to avoid an error.
9384 Use char because int might match the return type of a GCC
9385 builtin and then its argument prototype would still apply. */
9386 #ifdef __cplusplus
9387 extern "C"
9388 #endif
9389 char XkbQueryExtension ();
9391 main ()
9393 return XkbQueryExtension ();
9395 return 0;
9397 _ACEOF
9398 if ac_fn_c_try_link "$LINENO"; then :
9399 ac_cv_lib_X11_XkbQueryExtension=yes
9400 else
9401 ac_cv_lib_X11_XkbQueryExtension=no
9403 rm -f core conftest.err conftest.$ac_objext \
9404 conftest$ac_exeext conftest.$ac_ext
9405 LIBS=$ac_check_lib_save_LIBS
9407 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_X11_XkbQueryExtension" >&5
9408 $as_echo "$ac_cv_lib_X11_XkbQueryExtension" >&6; }
9409 if test "x$ac_cv_lib_X11_XkbQueryExtension" = xyes; then :
9411 $as_echo "#define HAVE_XKB 1" >>confdefs.h
9417 if test "$ac_cv_header_X11_Xcursor_Xcursor_h" = "yes"
9418 then
9419 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lXcursor" >&5
9420 $as_echo_n "checking for -lXcursor... " >&6; }
9421 if ${ac_cv_lib_soname_Xcursor+:} false; then :
9422 $as_echo_n "(cached) " >&6
9423 else
9424 ac_check_soname_save_LIBS=$LIBS
9425 LIBS="-lXcursor $X_LIBS $X_EXTRA_LIBS $LIBS"
9426 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9427 /* end confdefs.h. */
9429 /* Override any GCC internal prototype to avoid an error.
9430 Use char because int might match the return type of a GCC
9431 builtin and then its argument prototype would still apply. */
9432 #ifdef __cplusplus
9433 extern "C"
9434 #endif
9435 char XcursorImageLoadCursor ();
9437 main ()
9439 return XcursorImageLoadCursor ();
9441 return 0;
9443 _ACEOF
9444 if ac_fn_c_try_link "$LINENO"; then :
9445 case "$LIBEXT" in
9446 dll) ac_cv_lib_soname_Xcursor=`$ac_cv_path_LDD conftest.exe | grep "Xcursor" | sed -e "s/dll.*/dll/"';2,$d'` ;;
9447 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'` ;;
9448 *) ac_cv_lib_soname_Xcursor=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libXcursor\\.$LIBEXT" | sed -e "s/^.*\\[\\(libXcursor\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
9449 if ${ac_cv_lib_soname_Xcursor:+false} :; then :
9450 ac_cv_lib_soname_Xcursor=`$LDD conftest$ac_exeext | grep "libXcursor\\.$LIBEXT" | sed -e "s/^.*\(libXcursor\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
9451 fi ;;
9452 esac
9454 rm -f core conftest.err conftest.$ac_objext \
9455 conftest$ac_exeext conftest.$ac_ext
9456 LIBS=$ac_check_soname_save_LIBS
9458 if ${ac_cv_lib_soname_Xcursor:+false} :; then :
9459 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
9460 $as_echo "not found" >&6; }
9462 else
9463 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_Xcursor" >&5
9464 $as_echo "$ac_cv_lib_soname_Xcursor" >&6; }
9466 cat >>confdefs.h <<_ACEOF
9467 #define SONAME_LIBXCURSOR "$ac_cv_lib_soname_Xcursor"
9468 _ACEOF
9473 if test "x$ac_cv_lib_soname_Xcursor" = "x"; then :
9474 case "x$with_xcursor" in
9475 x) as_fn_append wine_notices "|libxcursor ${notice_platform}development files not found, the Xcursor extension won't be supported." ;;
9476 xno) ;;
9477 *) as_fn_error $? "libxcursor ${notice_platform}development files not found, the Xcursor extension won't be supported.
9478 This is an error since --with-xcursor was requested." "$LINENO" 5 ;;
9479 esac
9482 if test "$ac_cv_header_X11_extensions_XInput_h" = "yes"
9483 then
9484 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lXi" >&5
9485 $as_echo_n "checking for -lXi... " >&6; }
9486 if ${ac_cv_lib_soname_Xi+:} false; then :
9487 $as_echo_n "(cached) " >&6
9488 else
9489 ac_check_soname_save_LIBS=$LIBS
9490 LIBS="-lXi $X_LIBS $X_EXTRA_LIBS $LIBS"
9491 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9492 /* end confdefs.h. */
9494 /* Override any GCC internal prototype to avoid an error.
9495 Use char because int might match the return type of a GCC
9496 builtin and then its argument prototype would still apply. */
9497 #ifdef __cplusplus
9498 extern "C"
9499 #endif
9500 char XOpenDevice ();
9502 main ()
9504 return XOpenDevice ();
9506 return 0;
9508 _ACEOF
9509 if ac_fn_c_try_link "$LINENO"; then :
9510 case "$LIBEXT" in
9511 dll) ac_cv_lib_soname_Xi=`$ac_cv_path_LDD conftest.exe | grep "Xi" | sed -e "s/dll.*/dll/"';2,$d'` ;;
9512 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'` ;;
9513 *) ac_cv_lib_soname_Xi=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libXi\\.$LIBEXT" | sed -e "s/^.*\\[\\(libXi\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
9514 if ${ac_cv_lib_soname_Xi:+false} :; then :
9515 ac_cv_lib_soname_Xi=`$LDD conftest$ac_exeext | grep "libXi\\.$LIBEXT" | sed -e "s/^.*\(libXi\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
9516 fi ;;
9517 esac
9519 rm -f core conftest.err conftest.$ac_objext \
9520 conftest$ac_exeext conftest.$ac_ext
9521 LIBS=$ac_check_soname_save_LIBS
9523 if ${ac_cv_lib_soname_Xi:+false} :; then :
9524 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
9525 $as_echo "not found" >&6; }
9527 else
9528 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_Xi" >&5
9529 $as_echo "$ac_cv_lib_soname_Xi" >&6; }
9531 cat >>confdefs.h <<_ACEOF
9532 #define SONAME_LIBXI "$ac_cv_lib_soname_Xi"
9533 _ACEOF
9538 if test "x$ac_cv_lib_soname_Xi" = "x"; then :
9539 case "x$with_xinput" in
9540 x) as_fn_append wine_notices "|libxi ${notice_platform}development files not found, the Xinput extension won't be supported." ;;
9541 xno) ;;
9542 *) as_fn_error $? "libxi ${notice_platform}development files not found, the Xinput extension won't be supported.
9543 This is an error since --with-xinput was requested." "$LINENO" 5 ;;
9544 esac
9547 if test "x$ac_cv_lib_soname_Xi" != x
9548 then
9549 if test "$ac_cv_header_X11_extensions_XInput2_h" != "yes"; then :
9550 case "x$with_xinput2" in
9551 x) as_fn_append wine_notices "|XInput2 headers not found, the XInput 2 extension won't be supported." ;;
9552 xno) ;;
9553 *) as_fn_error $? "XInput2 headers not found, the XInput 2 extension won't be supported.
9554 This is an error since --with-xinput2 was requested." "$LINENO" 5 ;;
9555 esac
9559 if test "$ac_cv_header_X11_extensions_XShm_h" = "yes"
9560 then
9561 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for XShmQueryExtension in -lXext" >&5
9562 $as_echo_n "checking for XShmQueryExtension in -lXext... " >&6; }
9563 if ${ac_cv_lib_Xext_XShmQueryExtension+:} false; then :
9564 $as_echo_n "(cached) " >&6
9565 else
9566 ac_check_lib_save_LIBS=$LIBS
9567 LIBS="-lXext $X_LIBS $X_EXTRA_LIBS $LIBS"
9568 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9569 /* end confdefs.h. */
9571 /* Override any GCC internal prototype to avoid an error.
9572 Use char because int might match the return type of a GCC
9573 builtin and then its argument prototype would still apply. */
9574 #ifdef __cplusplus
9575 extern "C"
9576 #endif
9577 char XShmQueryExtension ();
9579 main ()
9581 return XShmQueryExtension ();
9583 return 0;
9585 _ACEOF
9586 if ac_fn_c_try_link "$LINENO"; then :
9587 ac_cv_lib_Xext_XShmQueryExtension=yes
9588 else
9589 ac_cv_lib_Xext_XShmQueryExtension=no
9591 rm -f core conftest.err conftest.$ac_objext \
9592 conftest$ac_exeext conftest.$ac_ext
9593 LIBS=$ac_check_lib_save_LIBS
9595 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_Xext_XShmQueryExtension" >&5
9596 $as_echo "$ac_cv_lib_Xext_XShmQueryExtension" >&6; }
9597 if test "x$ac_cv_lib_Xext_XShmQueryExtension" = xyes; then :
9599 $as_echo "#define HAVE_LIBXXSHM 1" >>confdefs.h
9604 if test "$ac_cv_lib_Xext_XShmQueryExtension" != "yes"; then :
9605 case "x$with_xshm" in
9606 x) as_fn_append wine_notices "|XShm ${notice_platform}development files not found, X Shared Memory won't be supported." ;;
9607 xno) ;;
9608 *) as_fn_error $? "XShm ${notice_platform}development files not found, X Shared Memory won't be supported.
9609 This is an error since --with-xshm was requested." "$LINENO" 5 ;;
9610 esac
9613 if test "$ac_cv_header_X11_extensions_shape_h" = "yes"
9614 then
9615 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for XShapeQueryExtension in -lXext" >&5
9616 $as_echo_n "checking for XShapeQueryExtension in -lXext... " >&6; }
9617 if ${ac_cv_lib_Xext_XShapeQueryExtension+:} false; then :
9618 $as_echo_n "(cached) " >&6
9619 else
9620 ac_check_lib_save_LIBS=$LIBS
9621 LIBS="-lXext $X_LIBS $X_EXTRA_LIBS $LIBS"
9622 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9623 /* end confdefs.h. */
9625 /* Override any GCC internal prototype to avoid an error.
9626 Use char because int might match the return type of a GCC
9627 builtin and then its argument prototype would still apply. */
9628 #ifdef __cplusplus
9629 extern "C"
9630 #endif
9631 char XShapeQueryExtension ();
9633 main ()
9635 return XShapeQueryExtension ();
9637 return 0;
9639 _ACEOF
9640 if ac_fn_c_try_link "$LINENO"; then :
9641 ac_cv_lib_Xext_XShapeQueryExtension=yes
9642 else
9643 ac_cv_lib_Xext_XShapeQueryExtension=no
9645 rm -f core conftest.err conftest.$ac_objext \
9646 conftest$ac_exeext conftest.$ac_ext
9647 LIBS=$ac_check_lib_save_LIBS
9649 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_Xext_XShapeQueryExtension" >&5
9650 $as_echo "$ac_cv_lib_Xext_XShapeQueryExtension" >&6; }
9651 if test "x$ac_cv_lib_Xext_XShapeQueryExtension" = xyes; then :
9653 $as_echo "#define HAVE_LIBXSHAPE 1" >>confdefs.h
9658 if test "$ac_cv_lib_Xext_XShapeQueryExtension" != "yes"; then :
9659 case "x$with_xshape" in
9660 x) as_fn_append wine_notices "|XShape ${notice_platform}development files not found, XShape won't be supported." ;;
9661 xno) ;;
9662 *) as_fn_error $? "XShape ${notice_platform}development files not found, XShape won't be supported.
9663 This is an error since --with-xshape was requested." "$LINENO" 5 ;;
9664 esac
9667 if test "$ac_cv_header_X11_extensions_xf86vmode_h" = "yes" -o "$ac_cv_header_X11_extensions_xf86vmproto_h" = "yes"
9668 then
9669 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lXxf86vm" >&5
9670 $as_echo_n "checking for -lXxf86vm... " >&6; }
9671 if ${ac_cv_lib_soname_Xxf86vm+:} false; then :
9672 $as_echo_n "(cached) " >&6
9673 else
9674 ac_check_soname_save_LIBS=$LIBS
9675 LIBS="-lXxf86vm $X_LIBS $X_EXTRA_LIBS $LIBS"
9676 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9677 /* end confdefs.h. */
9679 /* Override any GCC internal prototype to avoid an error.
9680 Use char because int might match the return type of a GCC
9681 builtin and then its argument prototype would still apply. */
9682 #ifdef __cplusplus
9683 extern "C"
9684 #endif
9685 char XF86VidModeQueryExtension ();
9687 main ()
9689 return XF86VidModeQueryExtension ();
9691 return 0;
9693 _ACEOF
9694 if ac_fn_c_try_link "$LINENO"; then :
9695 case "$LIBEXT" in
9696 dll) ac_cv_lib_soname_Xxf86vm=`$ac_cv_path_LDD conftest.exe | grep "Xxf86vm" | sed -e "s/dll.*/dll/"';2,$d'` ;;
9697 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'` ;;
9698 *) ac_cv_lib_soname_Xxf86vm=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libXxf86vm\\.$LIBEXT" | sed -e "s/^.*\\[\\(libXxf86vm\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
9699 if ${ac_cv_lib_soname_Xxf86vm:+false} :; then :
9700 ac_cv_lib_soname_Xxf86vm=`$LDD conftest$ac_exeext | grep "libXxf86vm\\.$LIBEXT" | sed -e "s/^.*\(libXxf86vm\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
9701 fi ;;
9702 esac
9704 rm -f core conftest.err conftest.$ac_objext \
9705 conftest$ac_exeext conftest.$ac_ext
9706 LIBS=$ac_check_soname_save_LIBS
9708 if ${ac_cv_lib_soname_Xxf86vm:+false} :; then :
9709 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
9710 $as_echo "not found" >&6; }
9712 else
9713 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_Xxf86vm" >&5
9714 $as_echo "$ac_cv_lib_soname_Xxf86vm" >&6; }
9716 cat >>confdefs.h <<_ACEOF
9717 #define SONAME_LIBXXF86VM "$ac_cv_lib_soname_Xxf86vm"
9718 _ACEOF
9723 if test "x$ac_cv_lib_soname_Xxf86vm" = "x"; then :
9724 case "x$with_xxf86vm" in
9725 x) as_fn_append wine_notices "|libXxf86vm ${notice_platform}development files not found, XFree86 Vidmode won't be supported." ;;
9726 xno) ;;
9727 *) as_fn_error $? "libXxf86vm ${notice_platform}development files not found, XFree86 Vidmode won't be supported.
9728 This is an error since --with-xxf86vm was requested." "$LINENO" 5 ;;
9729 esac
9732 if test "$ac_cv_header_X11_extensions_Xrender_h" = "yes" -a "x$ac_cv_lib_soname_X11" != "x" -a "x$ac_cv_lib_soname_Xext" != "x"
9733 then
9734 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lXrender" >&5
9735 $as_echo_n "checking for -lXrender... " >&6; }
9736 if ${ac_cv_lib_soname_Xrender+:} false; then :
9737 $as_echo_n "(cached) " >&6
9738 else
9739 ac_check_soname_save_LIBS=$LIBS
9740 LIBS="-lXrender $X_LIBS $X_EXTRA_LIBS $LIBS"
9741 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9742 /* end confdefs.h. */
9744 /* Override any GCC internal prototype to avoid an error.
9745 Use char because int might match the return type of a GCC
9746 builtin and then its argument prototype would still apply. */
9747 #ifdef __cplusplus
9748 extern "C"
9749 #endif
9750 char XRenderQueryExtension ();
9752 main ()
9754 return XRenderQueryExtension ();
9756 return 0;
9758 _ACEOF
9759 if ac_fn_c_try_link "$LINENO"; then :
9760 case "$LIBEXT" in
9761 dll) ac_cv_lib_soname_Xrender=`$ac_cv_path_LDD conftest.exe | grep "Xrender" | sed -e "s/dll.*/dll/"';2,$d'` ;;
9762 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'` ;;
9763 *) ac_cv_lib_soname_Xrender=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libXrender\\.$LIBEXT" | sed -e "s/^.*\\[\\(libXrender\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
9764 if ${ac_cv_lib_soname_Xrender:+false} :; then :
9765 ac_cv_lib_soname_Xrender=`$LDD conftest$ac_exeext | grep "libXrender\\.$LIBEXT" | sed -e "s/^.*\(libXrender\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
9766 fi ;;
9767 esac
9769 rm -f core conftest.err conftest.$ac_objext \
9770 conftest$ac_exeext conftest.$ac_ext
9771 LIBS=$ac_check_soname_save_LIBS
9773 if ${ac_cv_lib_soname_Xrender:+false} :; then :
9774 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
9775 $as_echo "not found" >&6; }
9777 else
9778 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_Xrender" >&5
9779 $as_echo "$ac_cv_lib_soname_Xrender" >&6; }
9781 cat >>confdefs.h <<_ACEOF
9782 #define SONAME_LIBXRENDER "$ac_cv_lib_soname_Xrender"
9783 _ACEOF
9785 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for XRenderSetPictureTransform in -lXrender" >&5
9786 $as_echo_n "checking for XRenderSetPictureTransform in -lXrender... " >&6; }
9787 if ${ac_cv_lib_Xrender_XRenderSetPictureTransform+:} false; then :
9788 $as_echo_n "(cached) " >&6
9789 else
9790 ac_check_lib_save_LIBS=$LIBS
9791 LIBS="-lXrender $X_LIBS $X_EXTRA_LIBS $LIBS"
9792 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9793 /* end confdefs.h. */
9795 /* Override any GCC internal prototype to avoid an error.
9796 Use char because int might match the return type of a GCC
9797 builtin and then its argument prototype would still apply. */
9798 #ifdef __cplusplus
9799 extern "C"
9800 #endif
9801 char XRenderSetPictureTransform ();
9803 main ()
9805 return XRenderSetPictureTransform ();
9807 return 0;
9809 _ACEOF
9810 if ac_fn_c_try_link "$LINENO"; then :
9811 ac_cv_lib_Xrender_XRenderSetPictureTransform=yes
9812 else
9813 ac_cv_lib_Xrender_XRenderSetPictureTransform=no
9815 rm -f core conftest.err conftest.$ac_objext \
9816 conftest$ac_exeext conftest.$ac_ext
9817 LIBS=$ac_check_lib_save_LIBS
9819 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_Xrender_XRenderSetPictureTransform" >&5
9820 $as_echo "$ac_cv_lib_Xrender_XRenderSetPictureTransform" >&6; }
9821 if test "x$ac_cv_lib_Xrender_XRenderSetPictureTransform" = xyes; then :
9823 $as_echo "#define HAVE_XRENDERSETPICTURETRANSFORM 1" >>confdefs.h
9827 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for XRenderCreateLinearGradient in -lXrender" >&5
9828 $as_echo_n "checking for XRenderCreateLinearGradient in -lXrender... " >&6; }
9829 if ${ac_cv_lib_Xrender_XRenderCreateLinearGradient+:} false; then :
9830 $as_echo_n "(cached) " >&6
9831 else
9832 ac_check_lib_save_LIBS=$LIBS
9833 LIBS="-lXrender $X_LIBS $X_EXTRA_LIBS $LIBS"
9834 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9835 /* end confdefs.h. */
9837 /* Override any GCC internal prototype to avoid an error.
9838 Use char because int might match the return type of a GCC
9839 builtin and then its argument prototype would still apply. */
9840 #ifdef __cplusplus
9841 extern "C"
9842 #endif
9843 char XRenderCreateLinearGradient ();
9845 main ()
9847 return XRenderCreateLinearGradient ();
9849 return 0;
9851 _ACEOF
9852 if ac_fn_c_try_link "$LINENO"; then :
9853 ac_cv_lib_Xrender_XRenderCreateLinearGradient=yes
9854 else
9855 ac_cv_lib_Xrender_XRenderCreateLinearGradient=no
9857 rm -f core conftest.err conftest.$ac_objext \
9858 conftest$ac_exeext conftest.$ac_ext
9859 LIBS=$ac_check_lib_save_LIBS
9861 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_Xrender_XRenderCreateLinearGradient" >&5
9862 $as_echo "$ac_cv_lib_Xrender_XRenderCreateLinearGradient" >&6; }
9863 if test "x$ac_cv_lib_Xrender_XRenderCreateLinearGradient" = xyes; then :
9865 $as_echo "#define HAVE_XRENDERCREATELINEARGRADIENT 1" >>confdefs.h
9872 if test "x$ac_cv_lib_soname_Xrender" = "x"; then :
9873 case "x$with_xrender" in
9874 x) as_fn_append wine_warnings "|libxrender ${notice_platform}development files not found, XRender won't be supported." ;;
9875 xno) ;;
9876 *) as_fn_error $? "libxrender ${notice_platform}development files not found, XRender won't be supported.
9877 This is an error since --with-xrender was requested." "$LINENO" 5 ;;
9878 esac
9881 if test "$ac_cv_header_X11_extensions_Xrandr_h" = "yes" -a "x$ac_cv_lib_soname_Xrender" != "x"
9882 then
9883 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9884 /* end confdefs.h. */
9885 #include <X11/Xlib.h>
9886 #include <X11/extensions/Xrandr.h>
9888 main ()
9890 static typeof(XRRSetScreenConfigAndRate) * func; if (func) return 0;
9892 return 0;
9894 _ACEOF
9895 if ac_fn_c_try_compile "$LINENO"; then :
9896 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lXrandr" >&5
9897 $as_echo_n "checking for -lXrandr... " >&6; }
9898 if ${ac_cv_lib_soname_Xrandr+:} false; then :
9899 $as_echo_n "(cached) " >&6
9900 else
9901 ac_check_soname_save_LIBS=$LIBS
9902 LIBS="-lXrandr $X_LIBS $X_EXTRA_LIBS $LIBS"
9903 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9904 /* end confdefs.h. */
9906 /* Override any GCC internal prototype to avoid an error.
9907 Use char because int might match the return type of a GCC
9908 builtin and then its argument prototype would still apply. */
9909 #ifdef __cplusplus
9910 extern "C"
9911 #endif
9912 char XRRQueryExtension ();
9914 main ()
9916 return XRRQueryExtension ();
9918 return 0;
9920 _ACEOF
9921 if ac_fn_c_try_link "$LINENO"; then :
9922 case "$LIBEXT" in
9923 dll) ac_cv_lib_soname_Xrandr=`$ac_cv_path_LDD conftest.exe | grep "Xrandr" | sed -e "s/dll.*/dll/"';2,$d'` ;;
9924 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'` ;;
9925 *) ac_cv_lib_soname_Xrandr=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libXrandr\\.$LIBEXT" | sed -e "s/^.*\\[\\(libXrandr\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
9926 if ${ac_cv_lib_soname_Xrandr:+false} :; then :
9927 ac_cv_lib_soname_Xrandr=`$LDD conftest$ac_exeext | grep "libXrandr\\.$LIBEXT" | sed -e "s/^.*\(libXrandr\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
9928 fi ;;
9929 esac
9931 rm -f core conftest.err conftest.$ac_objext \
9932 conftest$ac_exeext conftest.$ac_ext
9933 LIBS=$ac_check_soname_save_LIBS
9935 if ${ac_cv_lib_soname_Xrandr:+false} :; then :
9936 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
9937 $as_echo "not found" >&6; }
9939 else
9940 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_Xrandr" >&5
9941 $as_echo "$ac_cv_lib_soname_Xrandr" >&6; }
9943 cat >>confdefs.h <<_ACEOF
9944 #define SONAME_LIBXRANDR "$ac_cv_lib_soname_Xrandr"
9945 _ACEOF
9947 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9948 /* end confdefs.h. */
9949 #include <X11/Xlib.h>
9950 #include <X11/extensions/Xrandr.h>
9952 main ()
9954 static typeof(XRRGetScreenResources) *f; if (f) return 0;
9956 return 0;
9958 _ACEOF
9959 if ac_fn_c_try_compile "$LINENO"; then :
9961 $as_echo "#define HAVE_XRRGETSCREENRESOURCES 1" >>confdefs.h
9964 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
9967 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
9969 if test "x$ac_cv_lib_soname_Xrandr" = "x"; then :
9970 case "x$with_xrandr" in
9971 x) as_fn_append wine_notices "|libxrandr ${notice_platform}development files not found, XRandr won't be supported." ;;
9972 xno) ;;
9973 *) as_fn_error $? "libxrandr ${notice_platform}development files not found, XRandr won't be supported.
9974 This is an error since --with-xrandr was requested." "$LINENO" 5 ;;
9975 esac
9978 if test "$ac_cv_header_X11_extensions_Xinerama_h" = "yes"
9979 then
9980 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9981 /* end confdefs.h. */
9982 #include <X11/Xlib.h>
9983 #include <X11/extensions/Xinerama.h>
9985 main ()
9987 static typeof(XineramaQueryScreens) * func; if (func) return 0;
9989 return 0;
9991 _ACEOF
9992 if ac_fn_c_try_compile "$LINENO"; then :
9993 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lXinerama" >&5
9994 $as_echo_n "checking for -lXinerama... " >&6; }
9995 if ${ac_cv_lib_soname_Xinerama+:} false; then :
9996 $as_echo_n "(cached) " >&6
9997 else
9998 ac_check_soname_save_LIBS=$LIBS
9999 LIBS="-lXinerama $X_LIBS $X_EXTRA_LIBS $LIBS"
10000 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10001 /* end confdefs.h. */
10003 /* Override any GCC internal prototype to avoid an error.
10004 Use char because int might match the return type of a GCC
10005 builtin and then its argument prototype would still apply. */
10006 #ifdef __cplusplus
10007 extern "C"
10008 #endif
10009 char XineramaQueryScreens ();
10011 main ()
10013 return XineramaQueryScreens ();
10015 return 0;
10017 _ACEOF
10018 if ac_fn_c_try_link "$LINENO"; then :
10019 case "$LIBEXT" in
10020 dll) ac_cv_lib_soname_Xinerama=`$ac_cv_path_LDD conftest.exe | grep "Xinerama" | sed -e "s/dll.*/dll/"';2,$d'` ;;
10021 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'` ;;
10022 *) ac_cv_lib_soname_Xinerama=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libXinerama\\.$LIBEXT" | sed -e "s/^.*\\[\\(libXinerama\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
10023 if ${ac_cv_lib_soname_Xinerama:+false} :; then :
10024 ac_cv_lib_soname_Xinerama=`$LDD conftest$ac_exeext | grep "libXinerama\\.$LIBEXT" | sed -e "s/^.*\(libXinerama\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
10025 fi ;;
10026 esac
10028 rm -f core conftest.err conftest.$ac_objext \
10029 conftest$ac_exeext conftest.$ac_ext
10030 LIBS=$ac_check_soname_save_LIBS
10032 if ${ac_cv_lib_soname_Xinerama:+false} :; then :
10033 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
10034 $as_echo "not found" >&6; }
10036 else
10037 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_Xinerama" >&5
10038 $as_echo "$ac_cv_lib_soname_Xinerama" >&6; }
10040 cat >>confdefs.h <<_ACEOF
10041 #define SONAME_LIBXINERAMA "$ac_cv_lib_soname_Xinerama"
10042 _ACEOF
10047 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
10049 if test "x$ac_cv_lib_soname_Xinerama" = "x"; then :
10050 case "x$with_xinerama" in
10051 x) as_fn_append wine_notices "|libxinerama ${notice_platform}development files not found, multi-monitor setups won't be supported." ;;
10052 xno) ;;
10053 *) as_fn_error $? "libxinerama ${notice_platform}development files not found, multi-monitor setups won't be supported.
10054 This is an error since --with-xinerama was requested." "$LINENO" 5 ;;
10055 esac
10058 if test "$ac_cv_header_X11_extensions_Xcomposite_h" = "yes"
10059 then
10060 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lXcomposite" >&5
10061 $as_echo_n "checking for -lXcomposite... " >&6; }
10062 if ${ac_cv_lib_soname_Xcomposite+:} false; then :
10063 $as_echo_n "(cached) " >&6
10064 else
10065 ac_check_soname_save_LIBS=$LIBS
10066 LIBS="-lXcomposite $X_LIBS $X_EXTRA_LIBS $LIBS"
10067 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10068 /* end confdefs.h. */
10070 /* Override any GCC internal prototype to avoid an error.
10071 Use char because int might match the return type of a GCC
10072 builtin and then its argument prototype would still apply. */
10073 #ifdef __cplusplus
10074 extern "C"
10075 #endif
10076 char XCompositeRedirectWindow ();
10078 main ()
10080 return XCompositeRedirectWindow ();
10082 return 0;
10084 _ACEOF
10085 if ac_fn_c_try_link "$LINENO"; then :
10086 case "$LIBEXT" in
10087 dll) ac_cv_lib_soname_Xcomposite=`$ac_cv_path_LDD conftest.exe | grep "Xcomposite" | sed -e "s/dll.*/dll/"';2,$d'` ;;
10088 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'` ;;
10089 *) ac_cv_lib_soname_Xcomposite=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libXcomposite\\.$LIBEXT" | sed -e "s/^.*\\[\\(libXcomposite\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
10090 if ${ac_cv_lib_soname_Xcomposite:+false} :; then :
10091 ac_cv_lib_soname_Xcomposite=`$LDD conftest$ac_exeext | grep "libXcomposite\\.$LIBEXT" | sed -e "s/^.*\(libXcomposite\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
10092 fi ;;
10093 esac
10095 rm -f core conftest.err conftest.$ac_objext \
10096 conftest$ac_exeext conftest.$ac_ext
10097 LIBS=$ac_check_soname_save_LIBS
10099 if ${ac_cv_lib_soname_Xcomposite:+false} :; then :
10100 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
10101 $as_echo "not found" >&6; }
10103 else
10104 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_Xcomposite" >&5
10105 $as_echo "$ac_cv_lib_soname_Xcomposite" >&6; }
10107 cat >>confdefs.h <<_ACEOF
10108 #define SONAME_LIBXCOMPOSITE "$ac_cv_lib_soname_Xcomposite"
10109 _ACEOF
10114 if test "x$ac_cv_lib_soname_Xcomposite" = "x"; then :
10115 case "x$with_xcomposite" in
10116 x) as_fn_append wine_notices "|libxcomposite ${notice_platform}development files not found, Xcomposite won't be supported." ;;
10117 xno) ;;
10118 *) as_fn_error $? "libxcomposite ${notice_platform}development files not found, Xcomposite won't be supported.
10119 This is an error since --with-xcomposite was requested." "$LINENO" 5 ;;
10120 esac
10123 ac_fn_c_check_member "$LINENO" "XICCallback" "callback" "ac_cv_member_XICCallback_callback" "#ifdef HAVE_X11_XLIB_H
10124 #include <X11/Xlib.h>
10125 #endif
10127 if test "x$ac_cv_member_XICCallback_callback" = xyes; then :
10129 cat >>confdefs.h <<_ACEOF
10130 #define HAVE_XICCALLBACK_CALLBACK 1
10131 _ACEOF
10135 ac_fn_c_check_member "$LINENO" "XEvent" "xcookie" "ac_cv_member_XEvent_xcookie" "#ifdef HAVE_X11_XLIB_H
10136 #include <X11/Xlib.h>
10137 #endif
10139 if test "x$ac_cv_member_XEvent_xcookie" = xyes; then :
10141 cat >>confdefs.h <<_ACEOF
10142 #define HAVE_XEVENT_XCOOKIE 1
10143 _ACEOF
10150 opengl_msg=""
10151 if test "x$with_opengl" != "xno"
10152 then
10153 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lGL" >&5
10154 $as_echo_n "checking for -lGL... " >&6; }
10155 if ${ac_cv_lib_soname_GL+:} false; then :
10156 $as_echo_n "(cached) " >&6
10157 else
10158 ac_check_soname_save_LIBS=$LIBS
10159 LIBS="-lGL $X_LIBS -lm $X_EXTRA_LIBS $LIBS"
10160 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10161 /* end confdefs.h. */
10163 /* Override any GCC internal prototype to avoid an error.
10164 Use char because int might match the return type of a GCC
10165 builtin and then its argument prototype would still apply. */
10166 #ifdef __cplusplus
10167 extern "C"
10168 #endif
10169 char glXCreateContext ();
10171 main ()
10173 return glXCreateContext ();
10175 return 0;
10177 _ACEOF
10178 if ac_fn_c_try_link "$LINENO"; then :
10179 case "$LIBEXT" in
10180 dll) ac_cv_lib_soname_GL=`$ac_cv_path_LDD conftest.exe | grep "GL" | sed -e "s/dll.*/dll/"';2,$d'` ;;
10181 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'` ;;
10182 *) ac_cv_lib_soname_GL=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libGL\\.$LIBEXT" | sed -e "s/^.*\\[\\(libGL\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
10183 if ${ac_cv_lib_soname_GL:+false} :; then :
10184 ac_cv_lib_soname_GL=`$LDD conftest$ac_exeext | grep "libGL\\.$LIBEXT" | sed -e "s/^.*\(libGL\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
10185 fi ;;
10186 esac
10188 rm -f core conftest.err conftest.$ac_objext \
10189 conftest$ac_exeext conftest.$ac_ext
10190 LIBS=$ac_check_soname_save_LIBS
10192 if ${ac_cv_lib_soname_GL:+false} :; then :
10193 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
10194 $as_echo "not found" >&6; }
10195 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lGL" >&5
10196 $as_echo_n "checking for -lGL... " >&6; }
10197 if ${ac_cv_lib_soname_GL+:} false; then :
10198 $as_echo_n "(cached) " >&6
10199 else
10200 ac_check_soname_save_LIBS=$LIBS
10201 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"
10202 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10203 /* end confdefs.h. */
10205 /* Override any GCC internal prototype to avoid an error.
10206 Use char because int might match the return type of a GCC
10207 builtin and then its argument prototype would still apply. */
10208 #ifdef __cplusplus
10209 extern "C"
10210 #endif
10211 char glXCreateContext ();
10213 main ()
10215 return glXCreateContext ();
10217 return 0;
10219 _ACEOF
10220 if ac_fn_c_try_link "$LINENO"; then :
10221 case "$LIBEXT" in
10222 dll) ac_cv_lib_soname_GL=`$ac_cv_path_LDD conftest.exe | grep "GL" | sed -e "s/dll.*/dll/"';2,$d'` ;;
10223 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'` ;;
10224 *) ac_cv_lib_soname_GL=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libGL\\.$LIBEXT" | sed -e "s/^.*\\[\\(libGL\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
10225 if ${ac_cv_lib_soname_GL:+false} :; then :
10226 ac_cv_lib_soname_GL=`$LDD conftest$ac_exeext | grep "libGL\\.$LIBEXT" | sed -e "s/^.*\(libGL\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
10227 fi ;;
10228 esac
10230 rm -f core conftest.err conftest.$ac_objext \
10231 conftest$ac_exeext conftest.$ac_ext
10232 LIBS=$ac_check_soname_save_LIBS
10234 if ${ac_cv_lib_soname_GL:+false} :; then :
10235 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
10236 $as_echo "not found" >&6; }
10237 if test -f /usr/X11R6/lib/libGL.a
10238 then
10239 opengl_msg="/usr/X11R6/lib/libGL.a is present on your system.
10240 This probably prevents linking to OpenGL. Try deleting the file and restarting configure."
10241 else
10242 opengl_msg="No OpenGL library found on this system."
10244 else
10245 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_GL" >&5
10246 $as_echo "$ac_cv_lib_soname_GL" >&6; }
10248 cat >>confdefs.h <<_ACEOF
10249 #define SONAME_LIBGL "$ac_cv_lib_soname_GL"
10250 _ACEOF
10252 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"
10254 else
10255 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_GL" >&5
10256 $as_echo "$ac_cv_lib_soname_GL" >&6; }
10258 cat >>confdefs.h <<_ACEOF
10259 #define SONAME_LIBGL "$ac_cv_lib_soname_GL"
10260 _ACEOF
10262 OPENGL_LIBS="-lGL"
10264 if test "x$with_glu" != "xno"
10265 then
10266 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for gluLookAt in -lGLU" >&5
10267 $as_echo_n "checking for gluLookAt in -lGLU... " >&6; }
10268 if ${ac_cv_lib_GLU_gluLookAt+:} false; then :
10269 $as_echo_n "(cached) " >&6
10270 else
10271 ac_check_lib_save_LIBS=$LIBS
10272 LIBS="-lGLU $OPENGL_LIBS $X_LIBS -lm $X_EXTRA_LIBS $LIBS"
10273 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10274 /* end confdefs.h. */
10276 /* Override any GCC internal prototype to avoid an error.
10277 Use char because int might match the return type of a GCC
10278 builtin and then its argument prototype would still apply. */
10279 #ifdef __cplusplus
10280 extern "C"
10281 #endif
10282 char gluLookAt ();
10284 main ()
10286 return gluLookAt ();
10288 return 0;
10290 _ACEOF
10291 if ac_fn_c_try_link "$LINENO"; then :
10292 ac_cv_lib_GLU_gluLookAt=yes
10293 else
10294 ac_cv_lib_GLU_gluLookAt=no
10296 rm -f core conftest.err conftest.$ac_objext \
10297 conftest$ac_exeext conftest.$ac_ext
10298 LIBS=$ac_check_lib_save_LIBS
10300 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_GLU_gluLookAt" >&5
10301 $as_echo "$ac_cv_lib_GLU_gluLookAt" >&6; }
10302 if test "x$ac_cv_lib_GLU_gluLookAt" = xyes; then :
10306 if test "x$ac_cv_lib_GLU_gluLookAt" != xyes; then :
10307 case "x$with_glu" in
10308 x) as_fn_append wine_notices "|libGLU ${notice_platform}development files not found, GLU won't be supported." ;;
10309 xno) ;;
10310 *) as_fn_error $? "libGLU ${notice_platform}development files not found, GLU won't be supported.
10311 This is an error since --with-glu was requested." "$LINENO" 5 ;;
10312 esac
10316 if test "x$with_osmesa" != "xno"
10317 then
10318 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lOSMesa" >&5
10319 $as_echo_n "checking for -lOSMesa... " >&6; }
10320 if ${ac_cv_lib_soname_OSMesa+:} false; then :
10321 $as_echo_n "(cached) " >&6
10322 else
10323 ac_check_soname_save_LIBS=$LIBS
10324 LIBS="-lOSMesa $X_LIBS -lm $X_EXTRA_LIBS $LIBS"
10325 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10326 /* end confdefs.h. */
10328 /* Override any GCC internal prototype to avoid an error.
10329 Use char because int might match the return type of a GCC
10330 builtin and then its argument prototype would still apply. */
10331 #ifdef __cplusplus
10332 extern "C"
10333 #endif
10334 char glAccum ();
10336 main ()
10338 return glAccum ();
10340 return 0;
10342 _ACEOF
10343 if ac_fn_c_try_link "$LINENO"; then :
10344 case "$LIBEXT" in
10345 dll) ac_cv_lib_soname_OSMesa=`$ac_cv_path_LDD conftest.exe | grep "OSMesa" | sed -e "s/dll.*/dll/"';2,$d'` ;;
10346 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'` ;;
10347 *) ac_cv_lib_soname_OSMesa=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libOSMesa\\.$LIBEXT" | sed -e "s/^.*\\[\\(libOSMesa\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
10348 if ${ac_cv_lib_soname_OSMesa:+false} :; then :
10349 ac_cv_lib_soname_OSMesa=`$LDD conftest$ac_exeext | grep "libOSMesa\\.$LIBEXT" | sed -e "s/^.*\(libOSMesa\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
10350 fi ;;
10351 esac
10353 rm -f core conftest.err conftest.$ac_objext \
10354 conftest$ac_exeext conftest.$ac_ext
10355 LIBS=$ac_check_soname_save_LIBS
10357 if ${ac_cv_lib_soname_OSMesa:+false} :; then :
10358 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
10359 $as_echo "not found" >&6; }
10361 else
10362 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_OSMesa" >&5
10363 $as_echo "$ac_cv_lib_soname_OSMesa" >&6; }
10365 cat >>confdefs.h <<_ACEOF
10366 #define SONAME_LIBOSMESA "$ac_cv_lib_soname_OSMesa"
10367 _ACEOF
10371 if test "x$ac_cv_lib_soname_OSMesa" = "x"; then :
10372 case "x$with_osmesa" in
10373 x) as_fn_append wine_notices "|libOSMesa ${notice_platform}development files not found (or too old), OpenGL rendering in bitmaps won't be supported." ;;
10374 xno) ;;
10375 *) as_fn_error $? "libOSMesa ${notice_platform}development files not found (or too old), OpenGL rendering in bitmaps won't be supported.
10376 This is an error since --with-osmesa was requested." "$LINENO" 5 ;;
10377 esac
10381 if test -n "$opengl_msg"; then :
10382 case "x$with_opengl" in
10383 x) as_fn_append wine_warnings "|$opengl_msg
10384 OpenGL and Direct3D won't be supported." ;;
10385 xno) ;;
10386 *) as_fn_error $? "$opengl_msg
10387 OpenGL and Direct3D won't be supported.
10388 This is an error since --with-opengl was requested." "$LINENO" 5 ;;
10389 esac
10392 CPPFLAGS="$ac_save_CPPFLAGS"
10393 else
10394 X_CFLAGS=""
10395 X_LIBS=""
10396 enable_winex11_drv=${enable_winex11_drv:-no}
10398 if test "x$X_LIBS" = "x"; then :
10399 case "x$with_x" in
10400 xno) ;;
10401 *) as_fn_error $? "X ${notice_platform}development files not found. Wine will be built
10402 without X support, which probably isn't what you want. You will need
10403 to install ${notice_platform}development packages of Xlib/Xfree86 at the very least.
10404 Use the --without-x option if you really want this." "$LINENO" 5 ;;
10405 esac
10408 test "x$ac_cv_lib_GLU_gluLookAt" != xyes && enable_glu32=${enable_glu32:-no}
10410 if test "$ac_cv_header_CL_cl_h" = "yes"
10411 then
10412 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for clGetPlatformInfo in -lOpenCL" >&5
10413 $as_echo_n "checking for clGetPlatformInfo in -lOpenCL... " >&6; }
10414 if ${ac_cv_lib_OpenCL_clGetPlatformInfo+:} false; then :
10415 $as_echo_n "(cached) " >&6
10416 else
10417 ac_check_lib_save_LIBS=$LIBS
10418 LIBS="-lOpenCL $LIBS"
10419 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10420 /* end confdefs.h. */
10422 /* Override any GCC internal prototype to avoid an error.
10423 Use char because int might match the return type of a GCC
10424 builtin and then its argument prototype would still apply. */
10425 #ifdef __cplusplus
10426 extern "C"
10427 #endif
10428 char clGetPlatformInfo ();
10430 main ()
10432 return clGetPlatformInfo ();
10434 return 0;
10436 _ACEOF
10437 if ac_fn_c_try_link "$LINENO"; then :
10438 ac_cv_lib_OpenCL_clGetPlatformInfo=yes
10439 else
10440 ac_cv_lib_OpenCL_clGetPlatformInfo=no
10442 rm -f core conftest.err conftest.$ac_objext \
10443 conftest$ac_exeext conftest.$ac_ext
10444 LIBS=$ac_check_lib_save_LIBS
10446 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_OpenCL_clGetPlatformInfo" >&5
10447 $as_echo "$ac_cv_lib_OpenCL_clGetPlatformInfo" >&6; }
10448 if test "x$ac_cv_lib_OpenCL_clGetPlatformInfo" = xyes; then :
10449 OPENCL_LIBS="-lOpenCL"
10454 if test "x$ac_cv_lib_OpenCL_clGetPlatformInfo" != xyes; then :
10455 case "x$with_opencl" in
10456 x) as_fn_append wine_notices "|OpenCL ${notice_platform}development files not found, OpenCL won't be supported." ;;
10457 xno) ;;
10458 *) as_fn_error $? "OpenCL ${notice_platform}development files not found, OpenCL won't be supported.
10459 This is an error since --with-opencl was requested." "$LINENO" 5 ;;
10460 esac
10462 test "x$ac_cv_lib_OpenCL_clGetPlatformInfo" != xyes && enable_opencl=${enable_opencl:-no}
10465 if test "x$with_xml" != "xno"
10466 then
10467 if ${XML2_CFLAGS:+false} :; then :
10468 if ${PKG_CONFIG+:} false; then :
10469 XML2_CFLAGS=`$PKG_CONFIG --cflags libxml-2.0 2>/dev/null`
10472 test "$cross_compiling" = yes || XML2_CFLAGS=${XML2_CFLAGS:-`xml2-config --cflags 2>/dev/null`}
10473 if ${XML2_LIBS:+false} :; then :
10474 if ${PKG_CONFIG+:} false; then :
10475 XML2_LIBS=`$PKG_CONFIG --libs libxml-2.0 2>/dev/null`
10478 test "$cross_compiling" = yes || XML2_LIBS=${XML2_LIBS:-`xml2-config --libs 2>/dev/null`}
10479 XML2_LIBS=${XML2_LIBS:-"-lxml2"}
10480 $as_echo "$as_me:${as_lineno-$LINENO}: libxml-2.0 cflags: $XML2_CFLAGS" >&5
10481 $as_echo "$as_me:${as_lineno-$LINENO}: libxml-2.0 libs: $XML2_LIBS" >&5
10482 ac_save_CPPFLAGS=$CPPFLAGS
10483 CPPFLAGS="$CPPFLAGS $XML2_CFLAGS"
10484 for ac_header in libxml/parser.h libxml/xmlsave.h libxml/SAX2.h
10485 do :
10486 as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
10487 ac_fn_c_check_header_mongrel "$LINENO" "$ac_header" "$as_ac_Header" "$ac_includes_default"
10488 if eval test \"x\$"$as_ac_Header"\" = x"yes"; then :
10489 cat >>confdefs.h <<_ACEOF
10490 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
10491 _ACEOF
10495 done
10497 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"
10498 then
10499 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for xmlParseMemory in -lxml2" >&5
10500 $as_echo_n "checking for xmlParseMemory in -lxml2... " >&6; }
10501 if ${ac_cv_lib_xml2_xmlParseMemory+:} false; then :
10502 $as_echo_n "(cached) " >&6
10503 else
10504 ac_check_lib_save_LIBS=$LIBS
10505 LIBS="-lxml2 $XML2_LIBS $LIBS"
10506 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10507 /* end confdefs.h. */
10509 /* Override any GCC internal prototype to avoid an error.
10510 Use char because int might match the return type of a GCC
10511 builtin and then its argument prototype would still apply. */
10512 #ifdef __cplusplus
10513 extern "C"
10514 #endif
10515 char xmlParseMemory ();
10517 main ()
10519 return xmlParseMemory ();
10521 return 0;
10523 _ACEOF
10524 if ac_fn_c_try_link "$LINENO"; then :
10525 ac_cv_lib_xml2_xmlParseMemory=yes
10526 else
10527 ac_cv_lib_xml2_xmlParseMemory=no
10529 rm -f core conftest.err conftest.$ac_objext \
10530 conftest$ac_exeext conftest.$ac_ext
10531 LIBS=$ac_check_lib_save_LIBS
10533 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_xml2_xmlParseMemory" >&5
10534 $as_echo "$ac_cv_lib_xml2_xmlParseMemory" >&6; }
10535 if test "x$ac_cv_lib_xml2_xmlParseMemory" = xyes; then :
10537 $as_echo "#define HAVE_LIBXML2 1" >>confdefs.h
10539 else
10540 XML2_LIBS=""
10543 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for xmlReadMemory in -lxml2" >&5
10544 $as_echo_n "checking for xmlReadMemory in -lxml2... " >&6; }
10545 if ${ac_cv_lib_xml2_xmlReadMemory+:} false; then :
10546 $as_echo_n "(cached) " >&6
10547 else
10548 ac_check_lib_save_LIBS=$LIBS
10549 LIBS="-lxml2 $XML2_LIBS $LIBS"
10550 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10551 /* end confdefs.h. */
10553 /* Override any GCC internal prototype to avoid an error.
10554 Use char because int might match the return type of a GCC
10555 builtin and then its argument prototype would still apply. */
10556 #ifdef __cplusplus
10557 extern "C"
10558 #endif
10559 char xmlReadMemory ();
10561 main ()
10563 return xmlReadMemory ();
10565 return 0;
10567 _ACEOF
10568 if ac_fn_c_try_link "$LINENO"; then :
10569 ac_cv_lib_xml2_xmlReadMemory=yes
10570 else
10571 ac_cv_lib_xml2_xmlReadMemory=no
10573 rm -f core conftest.err conftest.$ac_objext \
10574 conftest$ac_exeext conftest.$ac_ext
10575 LIBS=$ac_check_lib_save_LIBS
10577 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_xml2_xmlReadMemory" >&5
10578 $as_echo "$ac_cv_lib_xml2_xmlReadMemory" >&6; }
10579 if test "x$ac_cv_lib_xml2_xmlReadMemory" = xyes; then :
10581 $as_echo "#define HAVE_XMLREADMEMORY 1" >>confdefs.h
10585 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for xmlNewDocPI in -lxml2" >&5
10586 $as_echo_n "checking for xmlNewDocPI in -lxml2... " >&6; }
10587 if ${ac_cv_lib_xml2_xmlNewDocPI+:} false; then :
10588 $as_echo_n "(cached) " >&6
10589 else
10590 ac_check_lib_save_LIBS=$LIBS
10591 LIBS="-lxml2 $XML2_LIBS $LIBS"
10592 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10593 /* end confdefs.h. */
10595 /* Override any GCC internal prototype to avoid an error.
10596 Use char because int might match the return type of a GCC
10597 builtin and then its argument prototype would still apply. */
10598 #ifdef __cplusplus
10599 extern "C"
10600 #endif
10601 char xmlNewDocPI ();
10603 main ()
10605 return xmlNewDocPI ();
10607 return 0;
10609 _ACEOF
10610 if ac_fn_c_try_link "$LINENO"; then :
10611 ac_cv_lib_xml2_xmlNewDocPI=yes
10612 else
10613 ac_cv_lib_xml2_xmlNewDocPI=no
10615 rm -f core conftest.err conftest.$ac_objext \
10616 conftest$ac_exeext conftest.$ac_ext
10617 LIBS=$ac_check_lib_save_LIBS
10619 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_xml2_xmlNewDocPI" >&5
10620 $as_echo "$ac_cv_lib_xml2_xmlNewDocPI" >&6; }
10621 if test "x$ac_cv_lib_xml2_xmlNewDocPI" = xyes; then :
10623 $as_echo "#define HAVE_XMLNEWDOCPI 1" >>confdefs.h
10627 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for xmlSchemaSetParserStructuredErrors in -lxml2" >&5
10628 $as_echo_n "checking for xmlSchemaSetParserStructuredErrors in -lxml2... " >&6; }
10629 if ${ac_cv_lib_xml2_xmlSchemaSetParserStructuredErrors+:} false; then :
10630 $as_echo_n "(cached) " >&6
10631 else
10632 ac_check_lib_save_LIBS=$LIBS
10633 LIBS="-lxml2 $XML2_LIBS $LIBS"
10634 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10635 /* end confdefs.h. */
10637 /* Override any GCC internal prototype to avoid an error.
10638 Use char because int might match the return type of a GCC
10639 builtin and then its argument prototype would still apply. */
10640 #ifdef __cplusplus
10641 extern "C"
10642 #endif
10643 char xmlSchemaSetParserStructuredErrors ();
10645 main ()
10647 return xmlSchemaSetParserStructuredErrors ();
10649 return 0;
10651 _ACEOF
10652 if ac_fn_c_try_link "$LINENO"; then :
10653 ac_cv_lib_xml2_xmlSchemaSetParserStructuredErrors=yes
10654 else
10655 ac_cv_lib_xml2_xmlSchemaSetParserStructuredErrors=no
10657 rm -f core conftest.err conftest.$ac_objext \
10658 conftest$ac_exeext conftest.$ac_ext
10659 LIBS=$ac_check_lib_save_LIBS
10661 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_xml2_xmlSchemaSetParserStructuredErrors" >&5
10662 $as_echo "$ac_cv_lib_xml2_xmlSchemaSetParserStructuredErrors" >&6; }
10663 if test "x$ac_cv_lib_xml2_xmlSchemaSetParserStructuredErrors" = xyes; then :
10665 $as_echo "#define HAVE_XMLSCHEMASSETPARSERSTRUCTUREDERRORS 1" >>confdefs.h
10669 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for xmlSchemaSetValidStructuredErrors in -lxml2" >&5
10670 $as_echo_n "checking for xmlSchemaSetValidStructuredErrors in -lxml2... " >&6; }
10671 if ${ac_cv_lib_xml2_xmlSchemaSetValidStructuredErrors+:} false; then :
10672 $as_echo_n "(cached) " >&6
10673 else
10674 ac_check_lib_save_LIBS=$LIBS
10675 LIBS="-lxml2 $XML2_LIBS $LIBS"
10676 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10677 /* end confdefs.h. */
10679 /* Override any GCC internal prototype to avoid an error.
10680 Use char because int might match the return type of a GCC
10681 builtin and then its argument prototype would still apply. */
10682 #ifdef __cplusplus
10683 extern "C"
10684 #endif
10685 char xmlSchemaSetValidStructuredErrors ();
10687 main ()
10689 return xmlSchemaSetValidStructuredErrors ();
10691 return 0;
10693 _ACEOF
10694 if ac_fn_c_try_link "$LINENO"; then :
10695 ac_cv_lib_xml2_xmlSchemaSetValidStructuredErrors=yes
10696 else
10697 ac_cv_lib_xml2_xmlSchemaSetValidStructuredErrors=no
10699 rm -f core conftest.err conftest.$ac_objext \
10700 conftest$ac_exeext conftest.$ac_ext
10701 LIBS=$ac_check_lib_save_LIBS
10703 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_xml2_xmlSchemaSetValidStructuredErrors" >&5
10704 $as_echo "$ac_cv_lib_xml2_xmlSchemaSetValidStructuredErrors" >&6; }
10705 if test "x$ac_cv_lib_xml2_xmlSchemaSetValidStructuredErrors" = xyes; then :
10707 $as_echo "#define HAVE_XMLSCHEMASSETVALIDSTRUCTUREDERRORS 1" >>confdefs.h
10711 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for xmlFirstElementChild in -lxml2" >&5
10712 $as_echo_n "checking for xmlFirstElementChild in -lxml2... " >&6; }
10713 if ${ac_cv_lib_xml2_xmlFirstElementChild+:} false; then :
10714 $as_echo_n "(cached) " >&6
10715 else
10716 ac_check_lib_save_LIBS=$LIBS
10717 LIBS="-lxml2 $XML2_LIBS $LIBS"
10718 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10719 /* end confdefs.h. */
10721 /* Override any GCC internal prototype to avoid an error.
10722 Use char because int might match the return type of a GCC
10723 builtin and then its argument prototype would still apply. */
10724 #ifdef __cplusplus
10725 extern "C"
10726 #endif
10727 char xmlFirstElementChild ();
10729 main ()
10731 return xmlFirstElementChild ();
10733 return 0;
10735 _ACEOF
10736 if ac_fn_c_try_link "$LINENO"; then :
10737 ac_cv_lib_xml2_xmlFirstElementChild=yes
10738 else
10739 ac_cv_lib_xml2_xmlFirstElementChild=no
10741 rm -f core conftest.err conftest.$ac_objext \
10742 conftest$ac_exeext conftest.$ac_ext
10743 LIBS=$ac_check_lib_save_LIBS
10745 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_xml2_xmlFirstElementChild" >&5
10746 $as_echo "$ac_cv_lib_xml2_xmlFirstElementChild" >&6; }
10747 if test "x$ac_cv_lib_xml2_xmlFirstElementChild" = xyes; then :
10749 $as_echo "#define HAVE_XMLFIRSTELEMENTCHILD 1" >>confdefs.h
10753 ac_fn_c_check_type "$LINENO" "xmlDocProperties" "ac_cv_type_xmlDocProperties" "#include <libxml/tree.h>
10755 if test "x$ac_cv_type_xmlDocProperties" = xyes; then :
10757 $as_echo "#define HAVE_XMLDOC_PROPERTIES 1" >>confdefs.h
10761 else
10762 XML2_CFLAGS=""
10763 XML2_LIBS=""
10765 CPPFLAGS=$ac_save_CPPFLAGS
10766 test -z "$XML2_CFLAGS" || XML2_CFLAGS=`echo " $XML2_CFLAGS" | sed 's/ -I\([^/]\)/ -I\$(top_builddir)\/\1/g'`
10767 test -z "$XML2_LIBS" || XML2_LIBS=`echo " $XML2_LIBS" | sed 's/ -L\([^/]\)/ -L\$(top_builddir)\/\1/g'`
10770 if test "$ac_cv_lib_xml2_xmlParseMemory" != "yes"; then :
10771 case "x$with_xml" in
10772 x) as_fn_append wine_warnings "|libxml2 ${notice_platform}development files not found (or too old), XML won't be supported." ;;
10773 xno) ;;
10774 *) as_fn_error $? "libxml2 ${notice_platform}development files not found (or too old), XML won't be supported.
10775 This is an error since --with-xml was requested." "$LINENO" 5 ;;
10776 esac
10779 if test "x$with_xslt" != "xno"
10780 then
10781 if ${XSLT_CFLAGS:+false} :; then :
10782 if ${PKG_CONFIG+:} false; then :
10783 XSLT_CFLAGS=`$PKG_CONFIG --cflags libxslt 2>/dev/null`
10786 test "$cross_compiling" = yes || XSLT_CFLAGS=${XSLT_CFLAGS:-`xslt-config --cflags 2>/dev/null`}
10787 if ${XSLT_LIBS:+false} :; then :
10788 if ${PKG_CONFIG+:} false; then :
10789 XSLT_LIBS=`$PKG_CONFIG --libs libxslt 2>/dev/null`
10792 test "$cross_compiling" = yes || XSLT_LIBS=${XSLT_LIBS:-`xslt-config --libs 2>/dev/null`}
10793 XSLT_LIBS=${XSLT_LIBS:-"-lxml2"}
10794 $as_echo "$as_me:${as_lineno-$LINENO}: libxslt cflags: $XSLT_CFLAGS" >&5
10795 $as_echo "$as_me:${as_lineno-$LINENO}: libxslt libs: $XSLT_LIBS" >&5
10796 ac_save_CPPFLAGS=$CPPFLAGS
10797 CPPFLAGS="$CPPFLAGS $XSLT_CFLAGS"
10798 for ac_header in libxslt/pattern.h libxslt/transform.h
10799 do :
10800 as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
10801 ac_fn_c_check_header_compile "$LINENO" "$ac_header" "$as_ac_Header" "#ifdef HAVE_LIBXSLT_PATTERN_H
10802 # include <libxslt/pattern.h>
10803 #endif
10805 if eval test \"x\$"$as_ac_Header"\" = x"yes"; then :
10806 cat >>confdefs.h <<_ACEOF
10807 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
10808 _ACEOF
10812 done
10814 if test "$ac_cv_header_libxslt_transform_h" = "yes"
10815 then
10816 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lxslt" >&5
10817 $as_echo_n "checking for -lxslt... " >&6; }
10818 if ${ac_cv_lib_soname_xslt+:} false; then :
10819 $as_echo_n "(cached) " >&6
10820 else
10821 ac_check_soname_save_LIBS=$LIBS
10822 LIBS="-lxslt $XSLT_LIBS $LIBS"
10823 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10824 /* end confdefs.h. */
10826 /* Override any GCC internal prototype to avoid an error.
10827 Use char because int might match the return type of a GCC
10828 builtin and then its argument prototype would still apply. */
10829 #ifdef __cplusplus
10830 extern "C"
10831 #endif
10832 char xsltCompilePattern ();
10834 main ()
10836 return xsltCompilePattern ();
10838 return 0;
10840 _ACEOF
10841 if ac_fn_c_try_link "$LINENO"; then :
10842 case "$LIBEXT" in
10843 dll) ac_cv_lib_soname_xslt=`$ac_cv_path_LDD conftest.exe | grep "xslt" | sed -e "s/dll.*/dll/"';2,$d'` ;;
10844 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'` ;;
10845 *) ac_cv_lib_soname_xslt=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libxslt\\.$LIBEXT" | sed -e "s/^.*\\[\\(libxslt\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
10846 if ${ac_cv_lib_soname_xslt:+false} :; then :
10847 ac_cv_lib_soname_xslt=`$LDD conftest$ac_exeext | grep "libxslt\\.$LIBEXT" | sed -e "s/^.*\(libxslt\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
10848 fi ;;
10849 esac
10851 rm -f core conftest.err conftest.$ac_objext \
10852 conftest$ac_exeext conftest.$ac_ext
10853 LIBS=$ac_check_soname_save_LIBS
10855 if ${ac_cv_lib_soname_xslt:+false} :; then :
10856 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
10857 $as_echo "not found" >&6; }
10859 else
10860 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_xslt" >&5
10861 $as_echo "$ac_cv_lib_soname_xslt" >&6; }
10863 cat >>confdefs.h <<_ACEOF
10864 #define SONAME_LIBXSLT "$ac_cv_lib_soname_xslt"
10865 _ACEOF
10869 else
10870 XSLT_CFLAGS=""
10872 CPPFLAGS=$ac_save_CPPFLAGS
10873 test -z "$XSLT_CFLAGS" || XSLT_CFLAGS=`echo " $XSLT_CFLAGS" | sed 's/ -I\([^/]\)/ -I\$(top_builddir)\/\1/g'`
10874 test -z "$XSLT_LIBS" || XSLT_LIBS=`echo " $XSLT_LIBS" | sed 's/ -L\([^/]\)/ -L\$(top_builddir)\/\1/g'`
10877 if test "x$ac_cv_lib_soname_xslt" = "x"; then :
10878 case "x$with_xslt" in
10879 x) as_fn_append wine_warnings "|libxslt ${notice_platform}development files not found, xslt won't be supported." ;;
10880 xno) ;;
10881 *) as_fn_error $? "libxslt ${notice_platform}development files not found, xslt won't be supported.
10882 This is an error since --with-xslt was requested." "$LINENO" 5 ;;
10883 esac
10886 if test "x$with_dbus" != "xno"
10887 then
10888 if ${DBUS_CFLAGS:+false} :; then :
10889 if ${PKG_CONFIG+:} false; then :
10890 DBUS_CFLAGS=`$PKG_CONFIG --cflags dbus-1 2>/dev/null`
10894 if ${DBUS_LIBS:+false} :; then :
10895 if ${PKG_CONFIG+:} false; then :
10896 DBUS_LIBS=`$PKG_CONFIG --libs dbus-1 2>/dev/null`
10901 $as_echo "$as_me:${as_lineno-$LINENO}: dbus-1 cflags: $DBUS_CFLAGS" >&5
10902 $as_echo "$as_me:${as_lineno-$LINENO}: dbus-1 libs: $DBUS_LIBS" >&5
10903 ac_save_CPPFLAGS=$CPPFLAGS
10904 CPPFLAGS="$CPPFLAGS $DBUS_CFLAGS"
10905 ac_fn_c_check_header_mongrel "$LINENO" "dbus/dbus.h" "ac_cv_header_dbus_dbus_h" "$ac_includes_default"
10906 if test "x$ac_cv_header_dbus_dbus_h" = xyes; then :
10907 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -ldbus-1" >&5
10908 $as_echo_n "checking for -ldbus-1... " >&6; }
10909 if ${ac_cv_lib_soname_dbus_1+:} false; then :
10910 $as_echo_n "(cached) " >&6
10911 else
10912 ac_check_soname_save_LIBS=$LIBS
10913 LIBS="-ldbus-1 $DBUS_LIBS $LIBS"
10914 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10915 /* end confdefs.h. */
10917 /* Override any GCC internal prototype to avoid an error.
10918 Use char because int might match the return type of a GCC
10919 builtin and then its argument prototype would still apply. */
10920 #ifdef __cplusplus
10921 extern "C"
10922 #endif
10923 char dbus_connection_close ();
10925 main ()
10927 return dbus_connection_close ();
10929 return 0;
10931 _ACEOF
10932 if ac_fn_c_try_link "$LINENO"; then :
10933 case "$LIBEXT" in
10934 dll) ac_cv_lib_soname_dbus_1=`$ac_cv_path_LDD conftest.exe | grep "dbus-1" | sed -e "s/dll.*/dll/"';2,$d'` ;;
10935 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'` ;;
10936 *) 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'`
10937 if ${ac_cv_lib_soname_dbus_1:+false} :; then :
10938 ac_cv_lib_soname_dbus_1=`$LDD conftest$ac_exeext | grep "libdbus-1\\.$LIBEXT" | sed -e "s/^.*\(libdbus-1\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
10939 fi ;;
10940 esac
10942 rm -f core conftest.err conftest.$ac_objext \
10943 conftest$ac_exeext conftest.$ac_ext
10944 LIBS=$ac_check_soname_save_LIBS
10946 if ${ac_cv_lib_soname_dbus_1:+false} :; then :
10947 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
10948 $as_echo "not found" >&6; }
10949 DBUS_CFLAGS=""
10950 else
10951 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_dbus_1" >&5
10952 $as_echo "$ac_cv_lib_soname_dbus_1" >&6; }
10954 cat >>confdefs.h <<_ACEOF
10955 #define SONAME_LIBDBUS_1 "$ac_cv_lib_soname_dbus_1"
10956 _ACEOF
10960 else
10961 DBUS_CFLAGS=""
10965 CPPFLAGS=$ac_save_CPPFLAGS
10966 test -z "$DBUS_CFLAGS" || DBUS_CFLAGS=`echo " $DBUS_CFLAGS" | sed 's/ -I\([^/]\)/ -I\$(top_builddir)\/\1/g'`
10967 test -z "$DBUS_LIBS" || DBUS_LIBS=`echo " $DBUS_LIBS" | sed 's/ -L\([^/]\)/ -L\$(top_builddir)\/\1/g'`
10970 if test "x$ac_cv_lib_soname_dbus_1" = "x" -a \
10971 "x$ac_cv_header_DiskArbitration_DiskArbitration_h" != "xyes"; then :
10972 case "x$with_dbus" in
10973 x) as_fn_append wine_notices "|libdbus ${notice_platform}development files not found, no dynamic device support." ;;
10974 xno) ;;
10975 *) as_fn_error $? "libdbus ${notice_platform}development files not found, no dynamic device support.
10976 This is an error since --with-dbus was requested." "$LINENO" 5 ;;
10977 esac
10980 if test "x$with_hal" != "xno" -a "x$ac_cv_lib_soname_dbus_1" != x
10981 then
10982 if ${HAL_CFLAGS:+false} :; then :
10983 if ${PKG_CONFIG+:} false; then :
10984 HAL_CFLAGS=`$PKG_CONFIG --cflags hal 2>/dev/null`
10988 if ${HAL_LIBS:+false} :; then :
10989 if ${PKG_CONFIG+:} false; then :
10990 HAL_LIBS=`$PKG_CONFIG --libs hal 2>/dev/null`
10994 HAL_LIBS=${HAL_LIBS:-"-ldbus-1"}
10995 $as_echo "$as_me:${as_lineno-$LINENO}: hal cflags: $HAL_CFLAGS" >&5
10996 $as_echo "$as_me:${as_lineno-$LINENO}: hal libs: $HAL_LIBS" >&5
10997 ac_save_CPPFLAGS=$CPPFLAGS
10998 CPPFLAGS="$CPPFLAGS $HAL_CFLAGS"
10999 ac_fn_c_check_header_mongrel "$LINENO" "hal/libhal.h" "ac_cv_header_hal_libhal_h" "$ac_includes_default"
11000 if test "x$ac_cv_header_hal_libhal_h" = xyes; then :
11001 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lhal" >&5
11002 $as_echo_n "checking for -lhal... " >&6; }
11003 if ${ac_cv_lib_soname_hal+:} false; then :
11004 $as_echo_n "(cached) " >&6
11005 else
11006 ac_check_soname_save_LIBS=$LIBS
11007 LIBS="-lhal $HAL_LIBS $LIBS"
11008 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11009 /* end confdefs.h. */
11011 /* Override any GCC internal prototype to avoid an error.
11012 Use char because int might match the return type of a GCC
11013 builtin and then its argument prototype would still apply. */
11014 #ifdef __cplusplus
11015 extern "C"
11016 #endif
11017 char libhal_ctx_new ();
11019 main ()
11021 return libhal_ctx_new ();
11023 return 0;
11025 _ACEOF
11026 if ac_fn_c_try_link "$LINENO"; then :
11027 case "$LIBEXT" in
11028 dll) ac_cv_lib_soname_hal=`$ac_cv_path_LDD conftest.exe | grep "hal" | sed -e "s/dll.*/dll/"';2,$d'` ;;
11029 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'` ;;
11030 *) ac_cv_lib_soname_hal=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libhal\\.$LIBEXT" | sed -e "s/^.*\\[\\(libhal\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
11031 if ${ac_cv_lib_soname_hal:+false} :; then :
11032 ac_cv_lib_soname_hal=`$LDD conftest$ac_exeext | grep "libhal\\.$LIBEXT" | sed -e "s/^.*\(libhal\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
11033 fi ;;
11034 esac
11036 rm -f core conftest.err conftest.$ac_objext \
11037 conftest$ac_exeext conftest.$ac_ext
11038 LIBS=$ac_check_soname_save_LIBS
11040 if ${ac_cv_lib_soname_hal:+false} :; then :
11041 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
11042 $as_echo "not found" >&6; }
11043 HAL_CFLAGS=""
11044 else
11045 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_hal" >&5
11046 $as_echo "$ac_cv_lib_soname_hal" >&6; }
11048 cat >>confdefs.h <<_ACEOF
11049 #define SONAME_LIBHAL "$ac_cv_lib_soname_hal"
11050 _ACEOF
11054 else
11055 HAL_CFLAGS=""
11059 CPPFLAGS=$ac_save_CPPFLAGS
11060 test -z "$HAL_CFLAGS" || HAL_CFLAGS=`echo " $HAL_CFLAGS" | sed 's/ -I\([^/]\)/ -I\$(top_builddir)\/\1/g'`
11061 test -z "$HAL_LIBS" || HAL_LIBS=`echo " $HAL_LIBS" | sed 's/ -L\([^/]\)/ -L\$(top_builddir)\/\1/g'`
11063 if test "x$ac_cv_lib_soname_hal" = "x" -a \
11064 "x$ac_cv_header_DiskArbitration_DiskArbitration_h" != "xyes"; then :
11065 case "x$with_hal" in
11066 x) as_fn_append wine_notices "|libhal ${notice_platform}development files not found, no legacy dynamic device support." ;;
11067 xno) ;;
11068 *) as_fn_error $? "libhal ${notice_platform}development files not found, no legacy dynamic device support.
11069 This is an error since --with-hal was requested." "$LINENO" 5 ;;
11070 esac
11074 if test "x$with_gnutls" != "xno"
11075 then
11076 if ${GNUTLS_CFLAGS:+false} :; then :
11077 if ${PKG_CONFIG+:} false; then :
11078 GNUTLS_CFLAGS=`$PKG_CONFIG --cflags gnutls 2>/dev/null`
11082 if ${GNUTLS_LIBS:+false} :; then :
11083 if ${PKG_CONFIG+:} false; then :
11084 GNUTLS_LIBS=`$PKG_CONFIG --libs gnutls 2>/dev/null`
11089 $as_echo "$as_me:${as_lineno-$LINENO}: gnutls cflags: $GNUTLS_CFLAGS" >&5
11090 $as_echo "$as_me:${as_lineno-$LINENO}: gnutls libs: $GNUTLS_LIBS" >&5
11091 ac_save_CPPFLAGS=$CPPFLAGS
11092 CPPFLAGS="$CPPFLAGS $GNUTLS_CFLAGS"
11093 ac_fn_c_check_header_mongrel "$LINENO" "gnutls/gnutls.h" "ac_cv_header_gnutls_gnutls_h" "$ac_includes_default"
11094 if test "x$ac_cv_header_gnutls_gnutls_h" = xyes; then :
11095 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11096 /* end confdefs.h. */
11097 #include <gnutls/gnutls.h>
11098 #include <gnutls/crypto.h>
11100 main ()
11102 static typeof(gnutls_mac_get_key_size) *func; if (func) return 0;
11104 return 0;
11106 _ACEOF
11107 if ac_fn_c_try_compile "$LINENO"; then :
11108 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lgnutls" >&5
11109 $as_echo_n "checking for -lgnutls... " >&6; }
11110 if ${ac_cv_lib_soname_gnutls+:} false; then :
11111 $as_echo_n "(cached) " >&6
11112 else
11113 ac_check_soname_save_LIBS=$LIBS
11114 LIBS="-lgnutls $GNUTLS_LIBS $LIBS"
11115 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11116 /* end confdefs.h. */
11118 /* Override any GCC internal prototype to avoid an error.
11119 Use char because int might match the return type of a GCC
11120 builtin and then its argument prototype would still apply. */
11121 #ifdef __cplusplus
11122 extern "C"
11123 #endif
11124 char gnutls_global_init ();
11126 main ()
11128 return gnutls_global_init ();
11130 return 0;
11132 _ACEOF
11133 if ac_fn_c_try_link "$LINENO"; then :
11134 case "$LIBEXT" in
11135 dll) ac_cv_lib_soname_gnutls=`$ac_cv_path_LDD conftest.exe | grep "gnutls" | sed -e "s/dll.*/dll/"';2,$d'` ;;
11136 dylib) ac_cv_lib_soname_gnutls=`otool -L conftest$ac_exeext | grep "libgnutls\\.[0-9A-Za-z.]*dylib" | sed -e "s/^.*\/\(libgnutls\.[0-9A-Za-z.]*dylib\).*$/\1/"';2,$d'` ;;
11137 *) ac_cv_lib_soname_gnutls=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libgnutls\\.$LIBEXT" | sed -e "s/^.*\\[\\(libgnutls\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
11138 if ${ac_cv_lib_soname_gnutls:+false} :; then :
11139 ac_cv_lib_soname_gnutls=`$LDD conftest$ac_exeext | grep "libgnutls\\.$LIBEXT" | sed -e "s/^.*\(libgnutls\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
11140 fi ;;
11141 esac
11143 rm -f core conftest.err conftest.$ac_objext \
11144 conftest$ac_exeext conftest.$ac_ext
11145 LIBS=$ac_check_soname_save_LIBS
11147 if ${ac_cv_lib_soname_gnutls:+false} :; then :
11148 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
11149 $as_echo "not found" >&6; }
11150 GNUTLS_CFLAGS=""
11151 else
11152 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_gnutls" >&5
11153 $as_echo "$ac_cv_lib_soname_gnutls" >&6; }
11155 cat >>confdefs.h <<_ACEOF
11156 #define SONAME_LIBGNUTLS "$ac_cv_lib_soname_gnutls"
11157 _ACEOF
11162 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
11163 else
11164 GNUTLS_CFLAGS=""
11168 CPPFLAGS=$ac_save_CPPFLAGS
11169 test -z "$GNUTLS_CFLAGS" || GNUTLS_CFLAGS=`echo " $GNUTLS_CFLAGS" | sed 's/ -I\([^/]\)/ -I\$(top_builddir)\/\1/g'`
11170 test -z "$GNUTLS_LIBS" || GNUTLS_LIBS=`echo " $GNUTLS_LIBS" | sed 's/ -L\([^/]\)/ -L\$(top_builddir)\/\1/g'`
11173 if test "x$ac_cv_lib_soname_gnutls" = "x"; then :
11174 case "x$with_gnutls" in
11175 x) as_fn_append wine_notices "|libgnutls ${notice_platform}development files not found, no schannel support." ;;
11176 xno) ;;
11177 *) as_fn_error $? "libgnutls ${notice_platform}development files not found, no schannel support.
11178 This is an error since --with-gnutls was requested." "$LINENO" 5 ;;
11179 esac
11182 CURSES_LIBS=""
11183 if test "$ac_cv_header_ncurses_h" = "yes"
11184 then
11185 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lncurses" >&5
11186 $as_echo_n "checking for -lncurses... " >&6; }
11187 if ${ac_cv_lib_soname_ncurses+:} false; then :
11188 $as_echo_n "(cached) " >&6
11189 else
11190 ac_check_soname_save_LIBS=$LIBS
11191 LIBS="-lncurses $LIBS"
11192 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11193 /* end confdefs.h. */
11195 /* Override any GCC internal prototype to avoid an error.
11196 Use char because int might match the return type of a GCC
11197 builtin and then its argument prototype would still apply. */
11198 #ifdef __cplusplus
11199 extern "C"
11200 #endif
11201 char waddch ();
11203 main ()
11205 return waddch ();
11207 return 0;
11209 _ACEOF
11210 if ac_fn_c_try_link "$LINENO"; then :
11211 case "$LIBEXT" in
11212 dll) ac_cv_lib_soname_ncurses=`$ac_cv_path_LDD conftest.exe | grep "ncurses" | sed -e "s/dll.*/dll/"';2,$d'` ;;
11213 dylib) ac_cv_lib_soname_ncurses=`otool -L conftest$ac_exeext | grep "libncurses\\.[0-9A-Za-z.]*dylib" | sed -e "s/^.*\/\(libncurses\.[0-9A-Za-z.]*dylib\).*$/\1/"';2,$d'` ;;
11214 *) ac_cv_lib_soname_ncurses=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libncurses\\.$LIBEXT" | sed -e "s/^.*\\[\\(libncurses\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
11215 if ${ac_cv_lib_soname_ncurses:+false} :; then :
11216 ac_cv_lib_soname_ncurses=`$LDD conftest$ac_exeext | grep "libncurses\\.$LIBEXT" | sed -e "s/^.*\(libncurses\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
11217 fi ;;
11218 esac
11220 rm -f core conftest.err conftest.$ac_objext \
11221 conftest$ac_exeext conftest.$ac_ext
11222 LIBS=$ac_check_soname_save_LIBS
11224 if ${ac_cv_lib_soname_ncurses:+false} :; then :
11225 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
11226 $as_echo "not found" >&6; }
11228 else
11229 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_ncurses" >&5
11230 $as_echo "$ac_cv_lib_soname_ncurses" >&6; }
11232 cat >>confdefs.h <<_ACEOF
11233 #define SONAME_LIBNCURSES "$ac_cv_lib_soname_ncurses"
11234 _ACEOF
11236 CURSES_LIBS="-lncurses"
11238 elif test "$ac_cv_header_curses_h" = "yes"
11239 then
11240 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lcurses" >&5
11241 $as_echo_n "checking for -lcurses... " >&6; }
11242 if ${ac_cv_lib_soname_curses+:} false; then :
11243 $as_echo_n "(cached) " >&6
11244 else
11245 ac_check_soname_save_LIBS=$LIBS
11246 LIBS="-lcurses $LIBS"
11247 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11248 /* end confdefs.h. */
11250 /* Override any GCC internal prototype to avoid an error.
11251 Use char because int might match the return type of a GCC
11252 builtin and then its argument prototype would still apply. */
11253 #ifdef __cplusplus
11254 extern "C"
11255 #endif
11256 char waddch ();
11258 main ()
11260 return waddch ();
11262 return 0;
11264 _ACEOF
11265 if ac_fn_c_try_link "$LINENO"; then :
11266 case "$LIBEXT" in
11267 dll) ac_cv_lib_soname_curses=`$ac_cv_path_LDD conftest.exe | grep "curses" | sed -e "s/dll.*/dll/"';2,$d'` ;;
11268 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'` ;;
11269 *) ac_cv_lib_soname_curses=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libcurses\\.$LIBEXT" | sed -e "s/^.*\\[\\(libcurses\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
11270 if ${ac_cv_lib_soname_curses:+false} :; then :
11271 ac_cv_lib_soname_curses=`$LDD conftest$ac_exeext | grep "libcurses\\.$LIBEXT" | sed -e "s/^.*\(libcurses\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
11272 fi ;;
11273 esac
11275 rm -f core conftest.err conftest.$ac_objext \
11276 conftest$ac_exeext conftest.$ac_ext
11277 LIBS=$ac_check_soname_save_LIBS
11279 if ${ac_cv_lib_soname_curses:+false} :; then :
11280 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
11281 $as_echo "not found" >&6; }
11283 else
11284 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_curses" >&5
11285 $as_echo "$ac_cv_lib_soname_curses" >&6; }
11287 cat >>confdefs.h <<_ACEOF
11288 #define SONAME_LIBCURSES "$ac_cv_lib_soname_curses"
11289 _ACEOF
11291 CURSES_LIBS="-lcurses"
11294 ac_save_LIBS="$LIBS"
11295 LIBS="$LIBS $CURSES_LIBS"
11296 for ac_func in mousemask
11297 do :
11298 ac_fn_c_check_func "$LINENO" "mousemask" "ac_cv_func_mousemask"
11299 if test "x$ac_cv_func_mousemask" = xyes; then :
11300 cat >>confdefs.h <<_ACEOF
11301 #define HAVE_MOUSEMASK 1
11302 _ACEOF
11305 done
11307 LIBS="$ac_save_LIBS"
11308 if test "x$ac_cv_lib_soname_curses$ac_cv_lib_soname_ncurses" = "x"; then :
11309 case "x$with_curses" in
11310 x) as_fn_append wine_notices "|lib(n)curses ${notice_platform}development files not found, curses won't be supported." ;;
11311 xno) ;;
11312 *) as_fn_error $? "lib(n)curses ${notice_platform}development files not found, curses won't be supported.
11313 This is an error since --with-curses was requested." "$LINENO" 5 ;;
11314 esac
11317 if test "x$with_sane" != "xno"
11318 then
11319 if ${SANE_CFLAGS:+false} :; then :
11320 if ${PKG_CONFIG+:} false; then :
11321 SANE_CFLAGS=`$PKG_CONFIG --cflags libsane 2>/dev/null`
11324 test "$cross_compiling" = yes || SANE_CFLAGS=${SANE_CFLAGS:-`sane-config --cflags 2>/dev/null`}
11325 if ${SANE_LIBS:+false} :; then :
11326 if ${PKG_CONFIG+:} false; then :
11327 SANE_LIBS=`$PKG_CONFIG --libs libsane 2>/dev/null`
11330 test "$cross_compiling" = yes || SANE_LIBS=${SANE_LIBS:-`sane-config --ldflags 2>/dev/null`}
11332 $as_echo "$as_me:${as_lineno-$LINENO}: libsane cflags: $SANE_CFLAGS" >&5
11333 $as_echo "$as_me:${as_lineno-$LINENO}: libsane libs: $SANE_LIBS" >&5
11334 ac_save_CPPFLAGS=$CPPFLAGS
11335 CPPFLAGS="$CPPFLAGS $SANE_CFLAGS"
11336 ac_fn_c_check_header_mongrel "$LINENO" "sane/sane.h" "ac_cv_header_sane_sane_h" "$ac_includes_default"
11337 if test "x$ac_cv_header_sane_sane_h" = xyes; then :
11338 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lsane" >&5
11339 $as_echo_n "checking for -lsane... " >&6; }
11340 if ${ac_cv_lib_soname_sane+:} false; then :
11341 $as_echo_n "(cached) " >&6
11342 else
11343 ac_check_soname_save_LIBS=$LIBS
11344 LIBS="-lsane $SANE_LIBS $LIBS"
11345 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11346 /* end confdefs.h. */
11348 /* Override any GCC internal prototype to avoid an error.
11349 Use char because int might match the return type of a GCC
11350 builtin and then its argument prototype would still apply. */
11351 #ifdef __cplusplus
11352 extern "C"
11353 #endif
11354 char sane_init ();
11356 main ()
11358 return sane_init ();
11360 return 0;
11362 _ACEOF
11363 if ac_fn_c_try_link "$LINENO"; then :
11364 case "$LIBEXT" in
11365 dll) ac_cv_lib_soname_sane=`$ac_cv_path_LDD conftest.exe | grep "sane" | sed -e "s/dll.*/dll/"';2,$d'` ;;
11366 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'` ;;
11367 *) ac_cv_lib_soname_sane=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libsane\\.$LIBEXT" | sed -e "s/^.*\\[\\(libsane\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
11368 if ${ac_cv_lib_soname_sane:+false} :; then :
11369 ac_cv_lib_soname_sane=`$LDD conftest$ac_exeext | grep "libsane\\.$LIBEXT" | sed -e "s/^.*\(libsane\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
11370 fi ;;
11371 esac
11373 rm -f core conftest.err conftest.$ac_objext \
11374 conftest$ac_exeext conftest.$ac_ext
11375 LIBS=$ac_check_soname_save_LIBS
11377 if ${ac_cv_lib_soname_sane:+false} :; then :
11378 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
11379 $as_echo "not found" >&6; }
11380 SANE_CFLAGS=""
11381 else
11382 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_sane" >&5
11383 $as_echo "$ac_cv_lib_soname_sane" >&6; }
11385 cat >>confdefs.h <<_ACEOF
11386 #define SONAME_LIBSANE "$ac_cv_lib_soname_sane"
11387 _ACEOF
11391 else
11392 SANE_CFLAGS=""
11396 CPPFLAGS=$ac_save_CPPFLAGS
11397 test -z "$SANE_CFLAGS" || SANE_CFLAGS=`echo " $SANE_CFLAGS" | sed 's/ -I\([^/]\)/ -I\$(top_builddir)\/\1/g'`
11398 test -z "$SANE_LIBS" || SANE_LIBS=`echo " $SANE_LIBS" | sed 's/ -L\([^/]\)/ -L\$(top_builddir)\/\1/g'`
11401 if test "x$ac_cv_lib_soname_sane" = "x"; then :
11402 case "x$with_sane" in
11403 x) as_fn_append wine_notices "|libsane ${notice_platform}development files not found, scanners won't be supported." ;;
11404 xno) ;;
11405 *) as_fn_error $? "libsane ${notice_platform}development files not found, scanners won't be supported.
11406 This is an error since --with-sane was requested." "$LINENO" 5 ;;
11407 esac
11410 if test "x$with_v4l" != "xno"
11411 then
11412 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lv4l1" >&5
11413 $as_echo_n "checking for -lv4l1... " >&6; }
11414 if ${ac_cv_lib_soname_v4l1+:} false; then :
11415 $as_echo_n "(cached) " >&6
11416 else
11417 ac_check_soname_save_LIBS=$LIBS
11418 LIBS="-lv4l1 $LIBS"
11419 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11420 /* end confdefs.h. */
11422 /* Override any GCC internal prototype to avoid an error.
11423 Use char because int might match the return type of a GCC
11424 builtin and then its argument prototype would still apply. */
11425 #ifdef __cplusplus
11426 extern "C"
11427 #endif
11428 char v4l1_open ();
11430 main ()
11432 return v4l1_open ();
11434 return 0;
11436 _ACEOF
11437 if ac_fn_c_try_link "$LINENO"; then :
11438 case "$LIBEXT" in
11439 dll) ac_cv_lib_soname_v4l1=`$ac_cv_path_LDD conftest.exe | grep "v4l1" | sed -e "s/dll.*/dll/"';2,$d'` ;;
11440 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'` ;;
11441 *) ac_cv_lib_soname_v4l1=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libv4l1\\.$LIBEXT" | sed -e "s/^.*\\[\\(libv4l1\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
11442 if ${ac_cv_lib_soname_v4l1:+false} :; then :
11443 ac_cv_lib_soname_v4l1=`$LDD conftest$ac_exeext | grep "libv4l1\\.$LIBEXT" | sed -e "s/^.*\(libv4l1\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
11444 fi ;;
11445 esac
11447 rm -f core conftest.err conftest.$ac_objext \
11448 conftest$ac_exeext conftest.$ac_ext
11449 LIBS=$ac_check_soname_save_LIBS
11451 if ${ac_cv_lib_soname_v4l1:+false} :; then :
11452 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
11453 $as_echo "not found" >&6; }
11455 else
11456 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_v4l1" >&5
11457 $as_echo "$ac_cv_lib_soname_v4l1" >&6; }
11459 cat >>confdefs.h <<_ACEOF
11460 #define SONAME_LIBV4L1 "$ac_cv_lib_soname_v4l1"
11461 _ACEOF
11466 if test "x$ac_cv_lib_soname_v4l1" = "x"; then :
11467 case "x$with_v4l" in
11468 x) as_fn_append wine_notices "|libv4l ${notice_platform}development files not found." ;;
11469 xno) ;;
11470 *) as_fn_error $? "libv4l ${notice_platform}development files not found.
11471 This is an error since --with-v4l was requested." "$LINENO" 5 ;;
11472 esac
11475 if test "x$with_gphoto" != "xno"
11476 then
11477 if ${GPHOTO2_CFLAGS:+false} :; then :
11478 if ${PKG_CONFIG+:} false; then :
11479 GPHOTO2_CFLAGS=`$PKG_CONFIG --cflags libgphoto2 2>/dev/null`
11482 test "$cross_compiling" = yes || GPHOTO2_CFLAGS=${GPHOTO2_CFLAGS:-`gphoto2-config --cflags 2>/dev/null`}
11483 if ${GPHOTO2_LIBS:+false} :; then :
11484 if ${PKG_CONFIG+:} false; then :
11485 GPHOTO2_LIBS=`$PKG_CONFIG --libs libgphoto2 2>/dev/null`
11488 test "$cross_compiling" = yes || GPHOTO2_LIBS=${GPHOTO2_LIBS:-`gphoto2-config --libs 2>/dev/null`}
11489 GPHOTO2_LIBS=${GPHOTO2_LIBS:-"-lgphoto2"}
11490 $as_echo "$as_me:${as_lineno-$LINENO}: libgphoto2 cflags: $GPHOTO2_CFLAGS" >&5
11491 $as_echo "$as_me:${as_lineno-$LINENO}: libgphoto2 libs: $GPHOTO2_LIBS" >&5
11492 ac_save_CPPFLAGS=$CPPFLAGS
11493 CPPFLAGS="$CPPFLAGS $GPHOTO2_CFLAGS"
11494 ac_fn_c_check_header_mongrel "$LINENO" "gphoto2-camera.h" "ac_cv_header_gphoto2_camera_h" "$ac_includes_default"
11495 if test "x$ac_cv_header_gphoto2_camera_h" = xyes; then :
11496 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for gp_camera_new in -lgphoto2" >&5
11497 $as_echo_n "checking for gp_camera_new in -lgphoto2... " >&6; }
11498 if ${ac_cv_lib_gphoto2_gp_camera_new+:} false; then :
11499 $as_echo_n "(cached) " >&6
11500 else
11501 ac_check_lib_save_LIBS=$LIBS
11502 LIBS="-lgphoto2 $GPHOTO2_LIBS $LIBS"
11503 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11504 /* end confdefs.h. */
11506 /* Override any GCC internal prototype to avoid an error.
11507 Use char because int might match the return type of a GCC
11508 builtin and then its argument prototype would still apply. */
11509 #ifdef __cplusplus
11510 extern "C"
11511 #endif
11512 char gp_camera_new ();
11514 main ()
11516 return gp_camera_new ();
11518 return 0;
11520 _ACEOF
11521 if ac_fn_c_try_link "$LINENO"; then :
11522 ac_cv_lib_gphoto2_gp_camera_new=yes
11523 else
11524 ac_cv_lib_gphoto2_gp_camera_new=no
11526 rm -f core conftest.err conftest.$ac_objext \
11527 conftest$ac_exeext conftest.$ac_ext
11528 LIBS=$ac_check_lib_save_LIBS
11530 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_gphoto2_gp_camera_new" >&5
11531 $as_echo "$ac_cv_lib_gphoto2_gp_camera_new" >&6; }
11532 if test "x$ac_cv_lib_gphoto2_gp_camera_new" = xyes; then :
11534 $as_echo "#define HAVE_GPHOTO2 1" >>confdefs.h
11536 else
11537 GPHOTO2_LIBS=""; GPHOTO2_CFLAGS=""
11540 else
11541 GPHOTO2_LIBS=""; GPHOTO2_CFLAGS=""
11545 CPPFLAGS=$ac_save_CPPFLAGS
11546 test -z "$GPHOTO2_CFLAGS" || GPHOTO2_CFLAGS=`echo " $GPHOTO2_CFLAGS" | sed 's/ -I\([^/]\)/ -I\$(top_builddir)\/\1/g'`
11547 test -z "$GPHOTO2_LIBS" || GPHOTO2_LIBS=`echo " $GPHOTO2_LIBS" | sed 's/ -L\([^/]\)/ -L\$(top_builddir)\/\1/g'`
11549 if ${GPHOTO2_PORT_CFLAGS:+false} :; then :
11550 if ${PKG_CONFIG+:} false; then :
11551 GPHOTO2_PORT_CFLAGS=`$PKG_CONFIG --cflags libgphoto2_port 2>/dev/null`
11554 test "$cross_compiling" = yes || GPHOTO2_PORT_CFLAGS=${GPHOTO2_PORT_CFLAGS:-`gphoto2-port-config --cflags 2>/dev/null`}
11555 if ${GPHOTO2_PORT_LIBS:+false} :; then :
11556 if ${PKG_CONFIG+:} false; then :
11557 GPHOTO2_PORT_LIBS=`$PKG_CONFIG --libs libgphoto2_port 2>/dev/null`
11560 test "$cross_compiling" = yes || GPHOTO2_PORT_LIBS=${GPHOTO2_PORT_LIBS:-`gphoto2-port-config --libs 2>/dev/null`}
11561 GPHOTO2_PORT_LIBS=${GPHOTO2_PORT_LIBS:-"-lgphoto2_port"}
11562 $as_echo "$as_me:${as_lineno-$LINENO}: libgphoto2_port cflags: $GPHOTO2_PORT_CFLAGS" >&5
11563 $as_echo "$as_me:${as_lineno-$LINENO}: libgphoto2_port libs: $GPHOTO2_PORT_LIBS" >&5
11564 ac_save_CPPFLAGS=$CPPFLAGS
11565 CPPFLAGS="$CPPFLAGS $GPHOTO2_PORT_CFLAGS"
11566 ac_fn_c_check_header_mongrel "$LINENO" "gphoto2-port.h" "ac_cv_header_gphoto2_port_h" "$ac_includes_default"
11567 if test "x$ac_cv_header_gphoto2_port_h" = xyes; then :
11568 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for gp_port_info_list_new in -lgphoto2_port" >&5
11569 $as_echo_n "checking for gp_port_info_list_new in -lgphoto2_port... " >&6; }
11570 if ${ac_cv_lib_gphoto2_port_gp_port_info_list_new+:} false; then :
11571 $as_echo_n "(cached) " >&6
11572 else
11573 ac_check_lib_save_LIBS=$LIBS
11574 LIBS="-lgphoto2_port $GPHOTO2_PORT_LIBS $LIBS"
11575 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11576 /* end confdefs.h. */
11578 /* Override any GCC internal prototype to avoid an error.
11579 Use char because int might match the return type of a GCC
11580 builtin and then its argument prototype would still apply. */
11581 #ifdef __cplusplus
11582 extern "C"
11583 #endif
11584 char gp_port_info_list_new ();
11586 main ()
11588 return gp_port_info_list_new ();
11590 return 0;
11592 _ACEOF
11593 if ac_fn_c_try_link "$LINENO"; then :
11594 ac_cv_lib_gphoto2_port_gp_port_info_list_new=yes
11595 else
11596 ac_cv_lib_gphoto2_port_gp_port_info_list_new=no
11598 rm -f core conftest.err conftest.$ac_objext \
11599 conftest$ac_exeext conftest.$ac_ext
11600 LIBS=$ac_check_lib_save_LIBS
11602 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_gphoto2_port_gp_port_info_list_new" >&5
11603 $as_echo "$ac_cv_lib_gphoto2_port_gp_port_info_list_new" >&6; }
11604 if test "x$ac_cv_lib_gphoto2_port_gp_port_info_list_new" = xyes; then :
11606 $as_echo "#define HAVE_GPHOTO2_PORT 1" >>confdefs.h
11608 else
11609 GPHOTO2_PORT_LIBS=""; GPHOTO2_PORT_CFLAGS=""
11612 else
11613 GPHOTO2_PORT_LIBS=""; GPHOTO2_PORT_CFLAGS=""
11617 CPPFLAGS=$ac_save_CPPFLAGS
11618 test -z "$GPHOTO2_PORT_CFLAGS" || GPHOTO2_PORT_CFLAGS=`echo " $GPHOTO2_PORT_CFLAGS" | sed 's/ -I\([^/]\)/ -I\$(top_builddir)\/\1/g'`
11619 test -z "$GPHOTO2_PORT_LIBS" || GPHOTO2_PORT_LIBS=`echo " $GPHOTO2_PORT_LIBS" | sed 's/ -L\([^/]\)/ -L\$(top_builddir)\/\1/g'`
11622 if test "$ac_cv_lib_gphoto2_gp_camera_new" != "yes"; then :
11623 case "x$with_gphoto" in
11624 x) as_fn_append wine_notices "|libgphoto2 ${notice_platform}development files not found, digital cameras won't be supported." ;;
11625 xno) ;;
11626 *) as_fn_error $? "libgphoto2 ${notice_platform}development files not found, digital cameras won't be supported.
11627 This is an error since --with-gphoto was requested." "$LINENO" 5 ;;
11628 esac
11630 if test "$ac_cv_lib_gphoto2_port_gp_port_info_list_new" != "yes"; then :
11631 case "x$with_gphoto" in
11632 x) as_fn_append wine_notices "|libgphoto2_port ${notice_platform}development files not found, digital cameras won't be auto-detected." ;;
11633 xno) ;;
11634 *) as_fn_error $? "libgphoto2_port ${notice_platform}development files not found, digital cameras won't be auto-detected.
11635 This is an error since --with-gphoto was requested." "$LINENO" 5 ;;
11636 esac
11640 if test "$ac_cv_header_resolv_h" = "yes"
11641 then
11642 ac_save_LIBS="$LIBS"
11643 for lib in '' -lresolv
11645 LIBS="$lib $ac_save_LIBS"
11646 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11647 /* end confdefs.h. */
11648 #ifdef HAVE_NETINET_IN_H
11649 #include <netinet/in.h>
11650 #endif
11651 #include <resolv.h>
11653 main ()
11655 res_query("foo",ns_c_in,0,0,0);
11657 return 0;
11659 _ACEOF
11660 if ac_fn_c_try_link "$LINENO"; then :
11662 $as_echo "#define HAVE_RESOLV 1" >>confdefs.h
11664 RESOLV_LIBS="$lib"
11667 rm -f core conftest.err conftest.$ac_objext \
11668 conftest$ac_exeext conftest.$ac_ext
11669 if test "${RESOLV_LIBS+set}" = set; then
11670 break
11672 done
11673 LIBS="$ac_save_LIBS"
11676 if test "x$with_lcms2" != "xno"
11677 then
11678 if ${LCMS2_CFLAGS:+false} :; then :
11679 if ${PKG_CONFIG+:} false; then :
11680 LCMS2_CFLAGS=`$PKG_CONFIG --cflags lcms2 2>/dev/null`
11684 if ${LCMS2_LIBS:+false} :; then :
11685 if ${PKG_CONFIG+:} false; then :
11686 LCMS2_LIBS=`$PKG_CONFIG --libs lcms2 2>/dev/null`
11690 LCMS2_LIBS=${LCMS2_LIBS:-"-llcms2"}
11691 $as_echo "$as_me:${as_lineno-$LINENO}: lcms2 cflags: $LCMS2_CFLAGS" >&5
11692 $as_echo "$as_me:${as_lineno-$LINENO}: lcms2 libs: $LCMS2_LIBS" >&5
11693 ac_save_CPPFLAGS=$CPPFLAGS
11694 CPPFLAGS="$CPPFLAGS $LCMS2_CFLAGS"
11695 for ac_header in lcms2.h
11696 do :
11697 ac_fn_c_check_header_mongrel "$LINENO" "lcms2.h" "ac_cv_header_lcms2_h" "$ac_includes_default"
11698 if test "x$ac_cv_header_lcms2_h" = xyes; then :
11699 cat >>confdefs.h <<_ACEOF
11700 #define HAVE_LCMS2_H 1
11701 _ACEOF
11705 done
11707 if test "$ac_cv_header_lcms2_h" = "yes"
11708 then
11709 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for cmsOpenProfileFromFile in -llcms2" >&5
11710 $as_echo_n "checking for cmsOpenProfileFromFile in -llcms2... " >&6; }
11711 if ${ac_cv_lib_lcms2_cmsOpenProfileFromFile+:} false; then :
11712 $as_echo_n "(cached) " >&6
11713 else
11714 ac_check_lib_save_LIBS=$LIBS
11715 LIBS="-llcms2 $LIBS"
11716 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11717 /* end confdefs.h. */
11719 /* Override any GCC internal prototype to avoid an error.
11720 Use char because int might match the return type of a GCC
11721 builtin and then its argument prototype would still apply. */
11722 #ifdef __cplusplus
11723 extern "C"
11724 #endif
11725 char cmsOpenProfileFromFile ();
11727 main ()
11729 return cmsOpenProfileFromFile ();
11731 return 0;
11733 _ACEOF
11734 if ac_fn_c_try_link "$LINENO"; then :
11735 ac_cv_lib_lcms2_cmsOpenProfileFromFile=yes
11736 else
11737 ac_cv_lib_lcms2_cmsOpenProfileFromFile=no
11739 rm -f core conftest.err conftest.$ac_objext \
11740 conftest$ac_exeext conftest.$ac_ext
11741 LIBS=$ac_check_lib_save_LIBS
11743 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_lcms2_cmsOpenProfileFromFile" >&5
11744 $as_echo "$ac_cv_lib_lcms2_cmsOpenProfileFromFile" >&6; }
11745 if test "x$ac_cv_lib_lcms2_cmsOpenProfileFromFile" = xyes; then :
11747 $as_echo "#define HAVE_LCMS2 1" >>confdefs.h
11749 else
11750 LCMS2_LIBS=""
11753 else
11754 LCMS2_CFLAGS=""
11755 LCMS2_LIBS=""
11757 CPPFLAGS=$ac_save_CPPFLAGS
11758 test -z "$LCMS2_CFLAGS" || LCMS2_CFLAGS=`echo " $LCMS2_CFLAGS" | sed 's/ -I\([^/]\)/ -I\$(top_builddir)\/\1/g'`
11759 test -z "$LCMS2_LIBS" || LCMS2_LIBS=`echo " $LCMS2_LIBS" | sed 's/ -L\([^/]\)/ -L\$(top_builddir)\/\1/g'`
11762 if test "$ac_cv_lib_lcms2_cmsOpenProfileFromFile" != "yes"; then :
11763 case "x$with_cms" in
11764 x) as_fn_append wine_notices "|liblcms2 ${notice_platform}development files not found, Color Management won't be supported." ;;
11765 xno) ;;
11766 *) as_fn_error $? "liblcms2 ${notice_platform}development files not found, Color Management won't be supported.
11767 This is an error since --with-cms was requested." "$LINENO" 5 ;;
11768 esac
11771 if test "x$with_freetype" != "xno"
11772 then
11773 if ${FREETYPE_CFLAGS:+false} :; then :
11774 if ${PKG_CONFIG+:} false; then :
11775 FREETYPE_CFLAGS=`$PKG_CONFIG --cflags freetype2 2>/dev/null`
11778 test "$cross_compiling" = yes || FREETYPE_CFLAGS=${FREETYPE_CFLAGS:-`(freetype-config --cflags || freetype2-config --cflags) 2>/dev/null`}
11779 if ${FREETYPE_LIBS:+false} :; then :
11780 if ${PKG_CONFIG+:} false; then :
11781 FREETYPE_LIBS=`$PKG_CONFIG --libs freetype2 2>/dev/null`
11784 test "$cross_compiling" = yes || FREETYPE_LIBS=${FREETYPE_LIBS:-`(freetype-config --libs || freetype2-config --libs) 2>/dev/null`}
11785 FREETYPE_LIBS=${FREETYPE_LIBS:-"-lfreetype"}
11786 $as_echo "$as_me:${as_lineno-$LINENO}: freetype2 cflags: $FREETYPE_CFLAGS" >&5
11787 $as_echo "$as_me:${as_lineno-$LINENO}: freetype2 libs: $FREETYPE_LIBS" >&5
11788 ac_save_CPPFLAGS=$CPPFLAGS
11789 CPPFLAGS="$CPPFLAGS $FREETYPE_CFLAGS"
11790 for ac_header in ft2build.h
11791 do :
11792 ac_fn_c_check_header_mongrel "$LINENO" "ft2build.h" "ac_cv_header_ft2build_h" "$ac_includes_default"
11793 if test "x$ac_cv_header_ft2build_h" = xyes; then :
11794 cat >>confdefs.h <<_ACEOF
11795 #define HAVE_FT2BUILD_H 1
11796 _ACEOF
11800 done
11802 if test "$ac_cv_header_ft2build_h" = "yes"
11803 then
11804 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lfreetype" >&5
11805 $as_echo_n "checking for -lfreetype... " >&6; }
11806 if ${ac_cv_lib_soname_freetype+:} false; then :
11807 $as_echo_n "(cached) " >&6
11808 else
11809 ac_check_soname_save_LIBS=$LIBS
11810 LIBS="-lfreetype $FREETYPE_LIBS $LIBS"
11811 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11812 /* end confdefs.h. */
11814 /* Override any GCC internal prototype to avoid an error.
11815 Use char because int might match the return type of a GCC
11816 builtin and then its argument prototype would still apply. */
11817 #ifdef __cplusplus
11818 extern "C"
11819 #endif
11820 char FT_Init_FreeType ();
11822 main ()
11824 return FT_Init_FreeType ();
11826 return 0;
11828 _ACEOF
11829 if ac_fn_c_try_link "$LINENO"; then :
11830 case "$LIBEXT" in
11831 dll) ac_cv_lib_soname_freetype=`$ac_cv_path_LDD conftest.exe | grep "freetype" | sed -e "s/dll.*/dll/"';2,$d'` ;;
11832 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'` ;;
11833 *) ac_cv_lib_soname_freetype=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libfreetype\\.$LIBEXT" | sed -e "s/^.*\\[\\(libfreetype\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
11834 if ${ac_cv_lib_soname_freetype:+false} :; then :
11835 ac_cv_lib_soname_freetype=`$LDD conftest$ac_exeext | grep "libfreetype\\.$LIBEXT" | sed -e "s/^.*\(libfreetype\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
11836 fi ;;
11837 esac
11839 rm -f core conftest.err conftest.$ac_objext \
11840 conftest$ac_exeext conftest.$ac_ext
11841 LIBS=$ac_check_soname_save_LIBS
11843 if ${ac_cv_lib_soname_freetype:+false} :; then :
11844 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
11845 $as_echo "not found" >&6; }
11846 FREETYPE_LIBS=""
11847 else
11848 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_freetype" >&5
11849 $as_echo "$ac_cv_lib_soname_freetype" >&6; }
11851 cat >>confdefs.h <<_ACEOF
11852 #define SONAME_LIBFREETYPE "$ac_cv_lib_soname_freetype"
11853 _ACEOF
11856 $as_echo "#define HAVE_FREETYPE 1" >>confdefs.h
11858 ac_fn_c_check_type "$LINENO" "FT_TrueTypeEngineType" "ac_cv_type_FT_TrueTypeEngineType" "#include <ft2build.h>
11859 #include FT_MODULE_H
11861 if test "x$ac_cv_type_FT_TrueTypeEngineType" = xyes; then :
11863 cat >>confdefs.h <<_ACEOF
11864 #define HAVE_FT_TRUETYPEENGINETYPE 1
11865 _ACEOF
11871 else
11872 FREETYPE_CFLAGS=""
11873 FREETYPE_LIBS=""
11875 CPPFLAGS=$ac_save_CPPFLAGS
11876 test -z "$FREETYPE_CFLAGS" || FREETYPE_CFLAGS=`echo " $FREETYPE_CFLAGS" | sed 's/ -I\([^/]\)/ -I\$(top_builddir)\/\1/g'`
11877 test -z "$FREETYPE_LIBS" || FREETYPE_LIBS=`echo " $FREETYPE_LIBS" | sed 's/ -L\([^/]\)/ -L\$(top_builddir)\/\1/g'`
11880 if test "x$ac_cv_lib_soname_freetype" = x; then :
11881 case "x$with_freetype" in
11882 xno) ;;
11883 *) as_fn_error $? "FreeType ${notice_platform}development files not found. Fonts will not be built.
11884 Use the --without-freetype option if you really want this." "$LINENO" 5 ;;
11885 esac
11887 test "x$ac_cv_lib_soname_freetype" = x && enable_fonts=${enable_fonts:-no}
11889 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for parport header/ppdev.h" >&5
11890 $as_echo_n "checking for parport header/ppdev.h... " >&6; }
11891 if ${ac_cv_c_ppdev+:} false; then :
11892 $as_echo_n "(cached) " >&6
11893 else
11894 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11895 /* end confdefs.h. */
11896 #ifdef HAVE_SYS_IOCTL_H
11897 # include <sys/ioctl.h>
11898 #endif
11899 #include <linux/ppdev.h>
11901 main ()
11903 ioctl (1,PPCLAIM,0)
11905 return 0;
11907 _ACEOF
11908 if ac_fn_c_try_compile "$LINENO"; then :
11909 ac_cv_c_ppdev="yes"
11910 else
11911 ac_cv_c_ppdev="no"
11913 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
11915 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_ppdev" >&5
11916 $as_echo "$ac_cv_c_ppdev" >&6; }
11917 if test "$ac_cv_c_ppdev" = "yes"
11918 then
11920 $as_echo "#define HAVE_PPDEV 1" >>confdefs.h
11924 ac_wine_check_funcs_save_LIBS="$LIBS"
11925 LIBS="$LIBS $PTHREAD_LIBS"
11926 for ac_func in \
11927 pthread_attr_get_np \
11928 pthread_getattr_np \
11929 pthread_getthreadid_np \
11930 pthread_get_stackaddr_np \
11931 pthread_get_stacksize_np
11932 do :
11933 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
11934 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
11935 if eval test \"x\$"$as_ac_var"\" = x"yes"; then :
11936 cat >>confdefs.h <<_ACEOF
11937 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
11938 _ACEOF
11941 done
11943 LIBS="$ac_wine_check_funcs_save_LIBS"
11945 if test "$ac_cv_header_zlib_h" = "yes"
11946 then
11947 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for inflate in -lz" >&5
11948 $as_echo_n "checking for inflate in -lz... " >&6; }
11949 if ${ac_cv_lib_z_inflate+:} false; then :
11950 $as_echo_n "(cached) " >&6
11951 else
11952 ac_check_lib_save_LIBS=$LIBS
11953 LIBS="-lz $LIBS"
11954 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11955 /* end confdefs.h. */
11957 /* Override any GCC internal prototype to avoid an error.
11958 Use char because int might match the return type of a GCC
11959 builtin and then its argument prototype would still apply. */
11960 #ifdef __cplusplus
11961 extern "C"
11962 #endif
11963 char inflate ();
11965 main ()
11967 return inflate ();
11969 return 0;
11971 _ACEOF
11972 if ac_fn_c_try_link "$LINENO"; then :
11973 ac_cv_lib_z_inflate=yes
11974 else
11975 ac_cv_lib_z_inflate=no
11977 rm -f core conftest.err conftest.$ac_objext \
11978 conftest$ac_exeext conftest.$ac_ext
11979 LIBS=$ac_check_lib_save_LIBS
11981 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_z_inflate" >&5
11982 $as_echo "$ac_cv_lib_z_inflate" >&6; }
11983 if test "x$ac_cv_lib_z_inflate" = xyes; then :
11985 $as_echo "#define HAVE_ZLIB 1" >>confdefs.h
11987 Z_LIBS="-lz"
11992 if test "x$Z_LIBS" = "x"; then :
11993 case "x$with_zlib" in
11994 x) as_fn_append wine_notices "|libz ${notice_platform}development files not found, data compression won't be supported." ;;
11995 xno) ;;
11996 *) as_fn_error $? "libz ${notice_platform}development files not found, data compression won't be supported.
11997 This is an error since --with-zlib was requested." "$LINENO" 5 ;;
11998 esac
12001 if test "x$enable_tools" != xno
12002 then
12003 if test "$ac_cv_header_gettext_po_h" = "yes"
12004 then
12005 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for po_message_msgctxt in -lgettextpo" >&5
12006 $as_echo_n "checking for po_message_msgctxt in -lgettextpo... " >&6; }
12007 if ${ac_cv_lib_gettextpo_po_message_msgctxt+:} false; then :
12008 $as_echo_n "(cached) " >&6
12009 else
12010 ac_check_lib_save_LIBS=$LIBS
12011 LIBS="-lgettextpo $LIBS"
12012 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12013 /* end confdefs.h. */
12015 /* Override any GCC internal prototype to avoid an error.
12016 Use char because int might match the return type of a GCC
12017 builtin and then its argument prototype would still apply. */
12018 #ifdef __cplusplus
12019 extern "C"
12020 #endif
12021 char po_message_msgctxt ();
12023 main ()
12025 return po_message_msgctxt ();
12027 return 0;
12029 _ACEOF
12030 if ac_fn_c_try_link "$LINENO"; then :
12031 ac_cv_lib_gettextpo_po_message_msgctxt=yes
12032 else
12033 ac_cv_lib_gettextpo_po_message_msgctxt=no
12035 rm -f core conftest.err conftest.$ac_objext \
12036 conftest$ac_exeext conftest.$ac_ext
12037 LIBS=$ac_check_lib_save_LIBS
12039 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_gettextpo_po_message_msgctxt" >&5
12040 $as_echo "$ac_cv_lib_gettextpo_po_message_msgctxt" >&6; }
12041 if test "x$ac_cv_lib_gettextpo_po_message_msgctxt" = xyes; then :
12043 $as_echo "#define HAVE_LIBGETTEXTPO 1" >>confdefs.h
12045 GETTEXTPO_LIBS="-lgettextpo"
12050 test "x$with_gettextpo" != xyes || if test "x$GETTEXTPO_LIBS" = "x"; then :
12051 case "x$with_gettextpo" in
12052 x) as_fn_append wine_notices "|GetText ${notice_platform}development files not found (or too old), po files can't be rebuilt." ;;
12053 xno) ;;
12054 *) as_fn_error $? "GetText ${notice_platform}development files not found (or too old), po files can't be rebuilt.
12055 This is an error since --with-gettextpo was requested." "$LINENO" 5 ;;
12056 esac
12060 if test "x$with_gstreamer" != "xno"
12061 then
12062 if ${GSTREAMER_CFLAGS:+false} :; then :
12063 if ${PKG_CONFIG+:} false; then :
12064 GSTREAMER_CFLAGS=`$PKG_CONFIG --cflags gstreamer-app-0.10 2>/dev/null`
12068 if ${GSTREAMER_LIBS:+false} :; then :
12069 if ${PKG_CONFIG+:} false; then :
12070 GSTREAMER_LIBS=`$PKG_CONFIG --libs gstreamer-app-0.10 2>/dev/null`
12075 $as_echo "$as_me:${as_lineno-$LINENO}: gstreamer-app-0.10 cflags: $GSTREAMER_CFLAGS" >&5
12076 $as_echo "$as_me:${as_lineno-$LINENO}: gstreamer-app-0.10 libs: $GSTREAMER_LIBS" >&5
12077 ac_save_CPPFLAGS=$CPPFLAGS
12078 CPPFLAGS="$CPPFLAGS $GSTREAMER_CFLAGS"
12079 ac_gst_incl=""
12080 for i in $GSTREAMER_CFLAGS
12082 case "$i" in
12083 -I*) ac_gst_incl="$ac_gst_incl $i";;
12084 esac
12085 done
12086 GSTREAMER_CFLAGS=$ac_gst_incl
12087 CPPFLAGS="$ac_save_CPPFLAGS $GSTREAMER_CFLAGS"
12088 ac_fn_c_check_header_mongrel "$LINENO" "gst/gstpad.h" "ac_cv_header_gst_gstpad_h" "$ac_includes_default"
12089 if test "x$ac_cv_header_gst_gstpad_h" = xyes; then :
12090 ac_fn_c_check_header_mongrel "$LINENO" "gst/app/gstappsink.h" "ac_cv_header_gst_app_gstappsink_h" "$ac_includes_default"
12091 if test "x$ac_cv_header_gst_app_gstappsink_h" = xyes; then :
12092 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether gint64 defined by gst/app/gstappsink.h is indeed 64-bit" >&5
12093 $as_echo_n "checking whether gint64 defined by gst/app/gstappsink.h is indeed 64-bit... " >&6; }
12094 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12095 /* end confdefs.h. */
12096 #include <gst/app/gstappsink.h>
12098 main ()
12100 static int a[sizeof(gint64) > 4 ? 1 : -1]; if (a[0]) return 0;
12102 return 0;
12104 _ACEOF
12105 if ac_fn_c_try_compile "$LINENO"; then :
12106 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
12107 $as_echo "yes" >&6; }
12108 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for gst_pad_get_caps_reffed in -lgstreamer-0.10" >&5
12109 $as_echo_n "checking for gst_pad_get_caps_reffed in -lgstreamer-0.10... " >&6; }
12110 if ${ac_cv_lib_gstreamer_0_10_gst_pad_get_caps_reffed+:} false; then :
12111 $as_echo_n "(cached) " >&6
12112 else
12113 ac_check_lib_save_LIBS=$LIBS
12114 LIBS="-lgstreamer-0.10 $LIBS"
12115 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12116 /* end confdefs.h. */
12118 /* Override any GCC internal prototype to avoid an error.
12119 Use char because int might match the return type of a GCC
12120 builtin and then its argument prototype would still apply. */
12121 #ifdef __cplusplus
12122 extern "C"
12123 #endif
12124 char gst_pad_get_caps_reffed ();
12126 main ()
12128 return gst_pad_get_caps_reffed ();
12130 return 0;
12132 _ACEOF
12133 if ac_fn_c_try_link "$LINENO"; then :
12134 ac_cv_lib_gstreamer_0_10_gst_pad_get_caps_reffed=yes
12135 else
12136 ac_cv_lib_gstreamer_0_10_gst_pad_get_caps_reffed=no
12138 rm -f core conftest.err conftest.$ac_objext \
12139 conftest$ac_exeext conftest.$ac_ext
12140 LIBS=$ac_check_lib_save_LIBS
12142 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_gstreamer_0_10_gst_pad_get_caps_reffed" >&5
12143 $as_echo "$ac_cv_lib_gstreamer_0_10_gst_pad_get_caps_reffed" >&6; }
12144 if test "x$ac_cv_lib_gstreamer_0_10_gst_pad_get_caps_reffed" = xyes; then :
12145 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for gst_app_buffer_new in -lgstapp-0.10" >&5
12146 $as_echo_n "checking for gst_app_buffer_new in -lgstapp-0.10... " >&6; }
12147 if ${ac_cv_lib_gstapp_0_10_gst_app_buffer_new+:} false; then :
12148 $as_echo_n "(cached) " >&6
12149 else
12150 ac_check_lib_save_LIBS=$LIBS
12151 LIBS="-lgstapp-0.10 $GSTREAMER_LIBS $LIBS"
12152 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12153 /* end confdefs.h. */
12155 /* Override any GCC internal prototype to avoid an error.
12156 Use char because int might match the return type of a GCC
12157 builtin and then its argument prototype would still apply. */
12158 #ifdef __cplusplus
12159 extern "C"
12160 #endif
12161 char gst_app_buffer_new ();
12163 main ()
12165 return gst_app_buffer_new ();
12167 return 0;
12169 _ACEOF
12170 if ac_fn_c_try_link "$LINENO"; then :
12171 ac_cv_lib_gstapp_0_10_gst_app_buffer_new=yes
12172 else
12173 ac_cv_lib_gstapp_0_10_gst_app_buffer_new=no
12175 rm -f core conftest.err conftest.$ac_objext \
12176 conftest$ac_exeext conftest.$ac_ext
12177 LIBS=$ac_check_lib_save_LIBS
12179 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_gstapp_0_10_gst_app_buffer_new" >&5
12180 $as_echo "$ac_cv_lib_gstapp_0_10_gst_app_buffer_new" >&6; }
12181 if test "x$ac_cv_lib_gstapp_0_10_gst_app_buffer_new" = xyes; then :
12187 else
12188 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
12189 $as_echo "no" >&6; }
12191 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
12195 else
12196 GSTREAMER_CFLAGS=""
12200 CPPFLAGS=$ac_save_CPPFLAGS
12201 test -z "$GSTREAMER_CFLAGS" || GSTREAMER_CFLAGS=`echo " $GSTREAMER_CFLAGS" | sed 's/ -I\([^/]\)/ -I\$(top_builddir)\/\1/g'`
12202 test -z "$GSTREAMER_LIBS" || GSTREAMER_LIBS=`echo " $GSTREAMER_LIBS" | sed 's/ -L\([^/]\)/ -L\$(top_builddir)\/\1/g'`
12205 if test "x$ac_cv_lib_gstapp_0_10_gst_app_buffer_new" != xyes -a "x$ac_cv_header_QuickTime_ImageCompression_h" != xyes; then :
12206 case "x$with_gstreamer" in
12207 x) as_fn_append wine_notices "|gstreamer-0.10 base plugins ${notice_platform}development files not found, gstreamer support disabled" ;;
12208 xno) ;;
12209 *) as_fn_error $? "gstreamer-0.10 base plugins ${notice_platform}development files not found, gstreamer support disabled
12210 This is an error since --with-gstreamer was requested." "$LINENO" 5 ;;
12211 esac
12213 test "x$ac_cv_lib_gstapp_0_10_gst_app_buffer_new" = xyes || enable_winegstreamer=${enable_winegstreamer:-no}
12215 ALSA_LIBS=""
12217 if test "$ac_cv_header_sys_asoundlib_h" = "yes" -o "$ac_cv_header_alsa_asoundlib_h" = "yes"
12218 then
12219 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for snd_pcm_hw_params_get_access_mask in -lasound" >&5
12220 $as_echo_n "checking for snd_pcm_hw_params_get_access_mask in -lasound... " >&6; }
12221 if ${ac_cv_lib_asound_snd_pcm_hw_params_get_access_mask+:} false; then :
12222 $as_echo_n "(cached) " >&6
12223 else
12224 ac_check_lib_save_LIBS=$LIBS
12225 LIBS="-lasound $LIBS"
12226 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12227 /* end confdefs.h. */
12229 /* Override any GCC internal prototype to avoid an error.
12230 Use char because int might match the return type of a GCC
12231 builtin and then its argument prototype would still apply. */
12232 #ifdef __cplusplus
12233 extern "C"
12234 #endif
12235 char snd_pcm_hw_params_get_access_mask ();
12237 main ()
12239 return snd_pcm_hw_params_get_access_mask ();
12241 return 0;
12243 _ACEOF
12244 if ac_fn_c_try_link "$LINENO"; then :
12245 ac_cv_lib_asound_snd_pcm_hw_params_get_access_mask=yes
12246 else
12247 ac_cv_lib_asound_snd_pcm_hw_params_get_access_mask=no
12249 rm -f core conftest.err conftest.$ac_objext \
12250 conftest$ac_exeext conftest.$ac_ext
12251 LIBS=$ac_check_lib_save_LIBS
12253 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_asound_snd_pcm_hw_params_get_access_mask" >&5
12254 $as_echo "$ac_cv_lib_asound_snd_pcm_hw_params_get_access_mask" >&6; }
12255 if test "x$ac_cv_lib_asound_snd_pcm_hw_params_get_access_mask" = xyes; then :
12256 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12257 /* end confdefs.h. */
12258 #ifdef HAVE_ALSA_ASOUNDLIB_H
12259 #include <alsa/asoundlib.h>
12260 #elif defined(HAVE_SYS_ASOUNDLIB_H)
12261 #include <sys/asoundlib.h>
12262 #endif
12264 main ()
12266 snd_pcm_hw_params_get_access_mask(NULL, NULL)
12268 return 0;
12270 _ACEOF
12271 if ac_fn_c_try_compile "$LINENO"; then :
12272 ALSA_LIBS="-lasound"
12274 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
12279 if test "x$with_oss" != xno
12280 then
12281 ac_save_CPPFLAGS="$CPPFLAGS"
12282 if test -f /etc/oss.conf
12283 then
12284 . /etc/oss.conf
12286 ac_oss_incl="-I${OSSLIBDIR:-/usr/lib/oss}/include"
12287 CPPFLAGS="$CPPFLAGS $ac_oss_incl"
12288 ac_fn_c_check_header_mongrel "$LINENO" "sys/soundcard.h" "ac_cv_header_sys_soundcard_h" "$ac_includes_default"
12289 if test "x$ac_cv_header_sys_soundcard_h" = xyes; then :
12290 ac_fn_c_check_member "$LINENO" "oss_sysinfo" "numaudioengines" "ac_cv_member_oss_sysinfo_numaudioengines" "#include <sys/soundcard.h>
12292 if test "x$ac_cv_member_oss_sysinfo_numaudioengines" = xyes; then :
12294 cat >>confdefs.h <<_ACEOF
12295 #define HAVE_OSS_SYSINFO_NUMAUDIOENGINES 1
12296 _ACEOF
12298 OSS4_CFLAGS="$ac_oss_incl"
12305 CPPFLAGS="$ac_save_CPPFLAGS"
12306 if test "x$ac_cv_member_oss_sysinfo_numaudioengines" != xyes
12307 then
12308 as_fn_append wine_notices "|OSS sound system found but too old (OSSv4 needed), OSS won't be supported."
12312 if test "x$with_capi" != "xno"
12313 then
12314 if ${CAPI20_CFLAGS:+false} :; then :
12315 if ${PKG_CONFIG+:} false; then :
12316 CAPI20_CFLAGS=`$PKG_CONFIG --cflags capi20 2>/dev/null`
12320 if ${CAPI20_LIBS:+false} :; then :
12321 if ${PKG_CONFIG+:} false; then :
12322 CAPI20_LIBS=`$PKG_CONFIG --libs capi20 2>/dev/null`
12327 $as_echo "$as_me:${as_lineno-$LINENO}: capi20 cflags: $CAPI20_CFLAGS" >&5
12328 $as_echo "$as_me:${as_lineno-$LINENO}: capi20 libs: $CAPI20_LIBS" >&5
12329 ac_save_CPPFLAGS=$CPPFLAGS
12330 CPPFLAGS="$CPPFLAGS $CAPI20_CFLAGS"
12331 for ac_header in capi20.h linux/capi.h
12332 do :
12333 as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
12334 ac_fn_c_check_header_compile "$LINENO" "$ac_header" "$as_ac_Header" "#define __user
12336 if eval test \"x\$"$as_ac_Header"\" = x"yes"; then :
12337 cat >>confdefs.h <<_ACEOF
12338 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
12339 _ACEOF
12343 done
12345 if test "$ac_cv_header_capi20_h" = "yes" -a "$ac_cv_header_linux_capi_h" = "yes"
12346 then
12347 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lcapi20" >&5
12348 $as_echo_n "checking for -lcapi20... " >&6; }
12349 if ${ac_cv_lib_soname_capi20+:} false; then :
12350 $as_echo_n "(cached) " >&6
12351 else
12352 ac_check_soname_save_LIBS=$LIBS
12353 LIBS="-lcapi20 $CAPI20_LIBS $LIBS"
12354 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12355 /* end confdefs.h. */
12357 /* Override any GCC internal prototype to avoid an error.
12358 Use char because int might match the return type of a GCC
12359 builtin and then its argument prototype would still apply. */
12360 #ifdef __cplusplus
12361 extern "C"
12362 #endif
12363 char capi20_register ();
12365 main ()
12367 return capi20_register ();
12369 return 0;
12371 _ACEOF
12372 if ac_fn_c_try_link "$LINENO"; then :
12373 case "$LIBEXT" in
12374 dll) ac_cv_lib_soname_capi20=`$ac_cv_path_LDD conftest.exe | grep "capi20" | sed -e "s/dll.*/dll/"';2,$d'` ;;
12375 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'` ;;
12376 *) ac_cv_lib_soname_capi20=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libcapi20\\.$LIBEXT" | sed -e "s/^.*\\[\\(libcapi20\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
12377 if ${ac_cv_lib_soname_capi20:+false} :; then :
12378 ac_cv_lib_soname_capi20=`$LDD conftest$ac_exeext | grep "libcapi20\\.$LIBEXT" | sed -e "s/^.*\(libcapi20\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
12379 fi ;;
12380 esac
12382 rm -f core conftest.err conftest.$ac_objext \
12383 conftest$ac_exeext conftest.$ac_ext
12384 LIBS=$ac_check_soname_save_LIBS
12386 if ${ac_cv_lib_soname_capi20:+false} :; then :
12387 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
12388 $as_echo "not found" >&6; }
12390 else
12391 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_capi20" >&5
12392 $as_echo "$ac_cv_lib_soname_capi20" >&6; }
12394 cat >>confdefs.h <<_ACEOF
12395 #define SONAME_LIBCAPI20 "$ac_cv_lib_soname_capi20"
12396 _ACEOF
12401 CPPFLAGS=$ac_save_CPPFLAGS
12402 test -z "$CAPI20_CFLAGS" || CAPI20_CFLAGS=`echo " $CAPI20_CFLAGS" | sed 's/ -I\([^/]\)/ -I\$(top_builddir)\/\1/g'`
12403 test -z "$CAPI20_LIBS" || CAPI20_LIBS=`echo " $CAPI20_LIBS" | sed 's/ -L\([^/]\)/ -L\$(top_builddir)\/\1/g'`
12406 if test "x$ac_cv_lib_soname_capi20" = "x"; then :
12407 case "x$with_capi" in
12408 x) as_fn_append wine_notices "|libcapi20 ${notice_platform}development files not found, ISDN won't be supported." ;;
12409 xno) ;;
12410 *) as_fn_error $? "libcapi20 ${notice_platform}development files not found, ISDN won't be supported.
12411 This is an error since --with-capi was requested." "$LINENO" 5 ;;
12412 esac
12415 CUPS_CFLAGS=""
12417 if test "x$with_cups" != "xno"
12418 then
12419 ac_save_CPPFLAGS="$CPPFLAGS"
12420 ac_cups_cflags=`cups-config --cflags 2>/dev/null`
12421 ac_cups_libs=`cups-config --ldflags 2>/dev/null`
12422 CPPFLAGS="$CPPFLAGS $ac_cups_cflags"
12423 for ac_header in cups/cups.h
12424 do :
12425 ac_fn_c_check_header_mongrel "$LINENO" "cups/cups.h" "ac_cv_header_cups_cups_h" "$ac_includes_default"
12426 if test "x$ac_cv_header_cups_cups_h" = xyes; then :
12427 cat >>confdefs.h <<_ACEOF
12428 #define HAVE_CUPS_CUPS_H 1
12429 _ACEOF
12430 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lcups" >&5
12431 $as_echo_n "checking for -lcups... " >&6; }
12432 if ${ac_cv_lib_soname_cups+:} false; then :
12433 $as_echo_n "(cached) " >&6
12434 else
12435 ac_check_soname_save_LIBS=$LIBS
12436 LIBS="-lcups $ac_cups_libs $LIBS"
12437 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12438 /* end confdefs.h. */
12440 /* Override any GCC internal prototype to avoid an error.
12441 Use char because int might match the return type of a GCC
12442 builtin and then its argument prototype would still apply. */
12443 #ifdef __cplusplus
12444 extern "C"
12445 #endif
12446 char cupsGetDefault ();
12448 main ()
12450 return cupsGetDefault ();
12452 return 0;
12454 _ACEOF
12455 if ac_fn_c_try_link "$LINENO"; then :
12456 case "$LIBEXT" in
12457 dll) ac_cv_lib_soname_cups=`$ac_cv_path_LDD conftest.exe | grep "cups" | sed -e "s/dll.*/dll/"';2,$d'` ;;
12458 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'` ;;
12459 *) ac_cv_lib_soname_cups=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libcups\\.$LIBEXT" | sed -e "s/^.*\\[\\(libcups\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
12460 if ${ac_cv_lib_soname_cups:+false} :; then :
12461 ac_cv_lib_soname_cups=`$LDD conftest$ac_exeext | grep "libcups\\.$LIBEXT" | sed -e "s/^.*\(libcups\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
12462 fi ;;
12463 esac
12465 rm -f core conftest.err conftest.$ac_objext \
12466 conftest$ac_exeext conftest.$ac_ext
12467 LIBS=$ac_check_soname_save_LIBS
12469 if ${ac_cv_lib_soname_cups:+false} :; then :
12470 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
12471 $as_echo "not found" >&6; }
12473 else
12474 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_cups" >&5
12475 $as_echo "$ac_cv_lib_soname_cups" >&6; }
12477 cat >>confdefs.h <<_ACEOF
12478 #define SONAME_LIBCUPS "$ac_cv_lib_soname_cups"
12479 _ACEOF
12481 CUPS_CFLAGS="$ac_cups_cflags"
12485 done
12487 CPPFLAGS="$ac_save_CPPFLAGS"
12489 if test "x$ac_cv_lib_soname_cups" = "x"; then :
12490 case "x$with_cups" in
12491 x) as_fn_append wine_notices "|libcups ${notice_platform}development files not found, CUPS won't be supported." ;;
12492 xno) ;;
12493 *) as_fn_error $? "libcups ${notice_platform}development files not found, CUPS won't be supported.
12494 This is an error since --with-cups was requested." "$LINENO" 5 ;;
12495 esac
12498 if test "x$with_fontconfig" != "xno"
12499 then
12500 if ${FONTCONFIG_CFLAGS:+false} :; then :
12501 if ${PKG_CONFIG+:} false; then :
12502 FONTCONFIG_CFLAGS=`$PKG_CONFIG --cflags fontconfig 2>/dev/null`
12505 test "$cross_compiling" = yes || FONTCONFIG_CFLAGS=${FONTCONFIG_CFLAGS:-$X_CFLAGS}
12506 if ${FONTCONFIG_LIBS:+false} :; then :
12507 if ${PKG_CONFIG+:} false; then :
12508 FONTCONFIG_LIBS=`$PKG_CONFIG --libs fontconfig 2>/dev/null`
12511 test "$cross_compiling" = yes || FONTCONFIG_LIBS=${FONTCONFIG_LIBS:-$X_LIBS}
12513 $as_echo "$as_me:${as_lineno-$LINENO}: fontconfig cflags: $FONTCONFIG_CFLAGS" >&5
12514 $as_echo "$as_me:${as_lineno-$LINENO}: fontconfig libs: $FONTCONFIG_LIBS" >&5
12515 ac_save_CPPFLAGS=$CPPFLAGS
12516 CPPFLAGS="$CPPFLAGS $FONTCONFIG_CFLAGS"
12517 for ac_header in fontconfig/fontconfig.h
12518 do :
12519 ac_fn_c_check_header_mongrel "$LINENO" "fontconfig/fontconfig.h" "ac_cv_header_fontconfig_fontconfig_h" "$ac_includes_default"
12520 if test "x$ac_cv_header_fontconfig_fontconfig_h" = xyes; then :
12521 cat >>confdefs.h <<_ACEOF
12522 #define HAVE_FONTCONFIG_FONTCONFIG_H 1
12523 _ACEOF
12527 done
12529 if test "$ac_cv_header_fontconfig_fontconfig_h" = "yes"
12530 then
12531 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lfontconfig" >&5
12532 $as_echo_n "checking for -lfontconfig... " >&6; }
12533 if ${ac_cv_lib_soname_fontconfig+:} false; then :
12534 $as_echo_n "(cached) " >&6
12535 else
12536 ac_check_soname_save_LIBS=$LIBS
12537 LIBS="-lfontconfig $FONTCONFIG_LIBS $LIBS"
12538 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12539 /* end confdefs.h. */
12541 /* Override any GCC internal prototype to avoid an error.
12542 Use char because int might match the return type of a GCC
12543 builtin and then its argument prototype would still apply. */
12544 #ifdef __cplusplus
12545 extern "C"
12546 #endif
12547 char FcInit ();
12549 main ()
12551 return FcInit ();
12553 return 0;
12555 _ACEOF
12556 if ac_fn_c_try_link "$LINENO"; then :
12557 case "$LIBEXT" in
12558 dll) ac_cv_lib_soname_fontconfig=`$ac_cv_path_LDD conftest.exe | grep "fontconfig" | sed -e "s/dll.*/dll/"';2,$d'` ;;
12559 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'` ;;
12560 *) ac_cv_lib_soname_fontconfig=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libfontconfig\\.$LIBEXT" | sed -e "s/^.*\\[\\(libfontconfig\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
12561 if ${ac_cv_lib_soname_fontconfig:+false} :; then :
12562 ac_cv_lib_soname_fontconfig=`$LDD conftest$ac_exeext | grep "libfontconfig\\.$LIBEXT" | sed -e "s/^.*\(libfontconfig\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
12563 fi ;;
12564 esac
12566 rm -f core conftest.err conftest.$ac_objext \
12567 conftest$ac_exeext conftest.$ac_ext
12568 LIBS=$ac_check_soname_save_LIBS
12570 if ${ac_cv_lib_soname_fontconfig:+false} :; then :
12571 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
12572 $as_echo "not found" >&6; }
12573 FONTCONFIG_CFLAGS=""
12574 else
12575 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_fontconfig" >&5
12576 $as_echo "$ac_cv_lib_soname_fontconfig" >&6; }
12578 cat >>confdefs.h <<_ACEOF
12579 #define SONAME_LIBFONTCONFIG "$ac_cv_lib_soname_fontconfig"
12580 _ACEOF
12584 else
12585 FONTCONFIG_CFLAGS=""
12587 CPPFLAGS=$ac_save_CPPFLAGS
12588 test -z "$FONTCONFIG_CFLAGS" || FONTCONFIG_CFLAGS=`echo " $FONTCONFIG_CFLAGS" | sed 's/ -I\([^/]\)/ -I\$(top_builddir)\/\1/g'`
12589 test -z "$FONTCONFIG_LIBS" || FONTCONFIG_LIBS=`echo " $FONTCONFIG_LIBS" | sed 's/ -L\([^/]\)/ -L\$(top_builddir)\/\1/g'`
12592 if test "x$ac_cv_lib_soname_fontconfig" = "x"; then :
12593 case "x$with_fontconfig" in
12594 x) as_fn_append wine_notices "|fontconfig ${notice_platform}development files not found, fontconfig won't be supported." ;;
12595 xno) ;;
12596 *) as_fn_error $? "fontconfig ${notice_platform}development files not found, fontconfig won't be supported.
12597 This is an error since --with-fontconfig was requested." "$LINENO" 5 ;;
12598 esac
12601 if test "$ac_cv_header_gsm_h" = "yes" -o "$ac_cv_header_gsm_gsm_h" = "yes"
12602 then
12603 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lgsm" >&5
12604 $as_echo_n "checking for -lgsm... " >&6; }
12605 if ${ac_cv_lib_soname_gsm+:} false; then :
12606 $as_echo_n "(cached) " >&6
12607 else
12608 ac_check_soname_save_LIBS=$LIBS
12609 LIBS="-lgsm $LIBS"
12610 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12611 /* end confdefs.h. */
12613 /* Override any GCC internal prototype to avoid an error.
12614 Use char because int might match the return type of a GCC
12615 builtin and then its argument prototype would still apply. */
12616 #ifdef __cplusplus
12617 extern "C"
12618 #endif
12619 char gsm_create ();
12621 main ()
12623 return gsm_create ();
12625 return 0;
12627 _ACEOF
12628 if ac_fn_c_try_link "$LINENO"; then :
12629 case "$LIBEXT" in
12630 dll) ac_cv_lib_soname_gsm=`$ac_cv_path_LDD conftest.exe | grep "gsm" | sed -e "s/dll.*/dll/"';2,$d'` ;;
12631 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'` ;;
12632 *) ac_cv_lib_soname_gsm=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libgsm\\.$LIBEXT" | sed -e "s/^.*\\[\\(libgsm\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
12633 if ${ac_cv_lib_soname_gsm:+false} :; then :
12634 ac_cv_lib_soname_gsm=`$LDD conftest$ac_exeext | grep "libgsm\\.$LIBEXT" | sed -e "s/^.*\(libgsm\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
12635 fi ;;
12636 esac
12638 rm -f core conftest.err conftest.$ac_objext \
12639 conftest$ac_exeext conftest.$ac_ext
12640 LIBS=$ac_check_soname_save_LIBS
12642 if ${ac_cv_lib_soname_gsm:+false} :; then :
12643 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
12644 $as_echo "not found" >&6; }
12646 else
12647 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_gsm" >&5
12648 $as_echo "$ac_cv_lib_soname_gsm" >&6; }
12650 cat >>confdefs.h <<_ACEOF
12651 #define SONAME_LIBGSM "$ac_cv_lib_soname_gsm"
12652 _ACEOF
12657 if test "x$ac_cv_lib_soname_gsm" = "x"; then :
12658 case "x$with_gsm" in
12659 x) as_fn_append wine_notices "|libgsm ${notice_platform}development files not found, gsm 06.10 codec won't be supported." ;;
12660 xno) ;;
12661 *) as_fn_error $? "libgsm ${notice_platform}development files not found, gsm 06.10 codec won't be supported.
12662 This is an error since --with-gsm was requested." "$LINENO" 5 ;;
12663 esac
12666 if test "x$with_jpeg" != "xno"
12667 then
12668 if ${JPEG_CFLAGS:+false} :; then :
12669 if ${PKG_CONFIG+:} false; then :
12670 JPEG_CFLAGS=`$PKG_CONFIG --cflags libjpeg 2>/dev/null`
12674 if ${JPEG_LIBS:+false} :; then :
12675 if ${PKG_CONFIG+:} false; then :
12676 JPEG_LIBS=`$PKG_CONFIG --libs libjpeg 2>/dev/null`
12681 $as_echo "$as_me:${as_lineno-$LINENO}: libjpeg cflags: $JPEG_CFLAGS" >&5
12682 $as_echo "$as_me:${as_lineno-$LINENO}: libjpeg libs: $JPEG_LIBS" >&5
12683 ac_save_CPPFLAGS=$CPPFLAGS
12684 CPPFLAGS="$CPPFLAGS $JPEG_CFLAGS"
12685 for ac_header in jpeglib.h
12686 do :
12687 ac_fn_c_check_header_mongrel "$LINENO" "jpeglib.h" "ac_cv_header_jpeglib_h" "$ac_includes_default"
12688 if test "x$ac_cv_header_jpeglib_h" = xyes; then :
12689 cat >>confdefs.h <<_ACEOF
12690 #define HAVE_JPEGLIB_H 1
12691 _ACEOF
12695 done
12697 if test "$ac_cv_header_jpeglib_h" = "yes"
12698 then
12699 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -ljpeg" >&5
12700 $as_echo_n "checking for -ljpeg... " >&6; }
12701 if ${ac_cv_lib_soname_jpeg+:} false; then :
12702 $as_echo_n "(cached) " >&6
12703 else
12704 ac_check_soname_save_LIBS=$LIBS
12705 LIBS="-ljpeg $JPEG_LIBS $LIBS"
12706 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12707 /* end confdefs.h. */
12709 /* Override any GCC internal prototype to avoid an error.
12710 Use char because int might match the return type of a GCC
12711 builtin and then its argument prototype would still apply. */
12712 #ifdef __cplusplus
12713 extern "C"
12714 #endif
12715 char jpeg_start_decompress ();
12717 main ()
12719 return jpeg_start_decompress ();
12721 return 0;
12723 _ACEOF
12724 if ac_fn_c_try_link "$LINENO"; then :
12725 case "$LIBEXT" in
12726 dll) ac_cv_lib_soname_jpeg=`$ac_cv_path_LDD conftest.exe | grep "jpeg" | sed -e "s/dll.*/dll/"';2,$d'` ;;
12727 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'` ;;
12728 *) ac_cv_lib_soname_jpeg=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libjpeg\\.$LIBEXT" | sed -e "s/^.*\\[\\(libjpeg\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
12729 if ${ac_cv_lib_soname_jpeg:+false} :; then :
12730 ac_cv_lib_soname_jpeg=`$LDD conftest$ac_exeext | grep "libjpeg\\.$LIBEXT" | sed -e "s/^.*\(libjpeg\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
12731 fi ;;
12732 esac
12734 rm -f core conftest.err conftest.$ac_objext \
12735 conftest$ac_exeext conftest.$ac_ext
12736 LIBS=$ac_check_soname_save_LIBS
12738 if ${ac_cv_lib_soname_jpeg:+false} :; then :
12739 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
12740 $as_echo "not found" >&6; }
12741 JPEG_CFLAGS=""
12742 else
12743 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_jpeg" >&5
12744 $as_echo "$ac_cv_lib_soname_jpeg" >&6; }
12746 cat >>confdefs.h <<_ACEOF
12747 #define SONAME_LIBJPEG "$ac_cv_lib_soname_jpeg"
12748 _ACEOF
12752 else
12753 JPEG_CFLAGS=""
12755 CPPFLAGS=$ac_save_CPPFLAGS
12756 test -z "$JPEG_CFLAGS" || JPEG_CFLAGS=`echo " $JPEG_CFLAGS" | sed 's/ -I\([^/]\)/ -I\$(top_builddir)\/\1/g'`
12757 test -z "$JPEG_LIBS" || JPEG_LIBS=`echo " $JPEG_LIBS" | sed 's/ -L\([^/]\)/ -L\$(top_builddir)\/\1/g'`
12760 if test "x$ac_cv_lib_soname_jpeg" = "x"; then :
12761 case "x$with_jpeg" in
12762 x) as_fn_append wine_warnings "|libjpeg ${notice_platform}development files not found, JPEG won't be supported." ;;
12763 xno) ;;
12764 *) as_fn_error $? "libjpeg ${notice_platform}development files not found, JPEG won't be supported.
12765 This is an error since --with-jpeg was requested." "$LINENO" 5 ;;
12766 esac
12769 if test "x$with_png" != "xno"
12770 then
12771 if ${PNG_CFLAGS:+false} :; then :
12772 if ${PKG_CONFIG+:} false; then :
12773 PNG_CFLAGS=`$PKG_CONFIG --cflags libpng 2>/dev/null`
12776 test "$cross_compiling" = yes || PNG_CFLAGS=${PNG_CFLAGS:-$X_CFLAGS}
12777 if ${PNG_LIBS:+false} :; then :
12778 if ${PKG_CONFIG+:} false; then :
12779 PNG_LIBS=`$PKG_CONFIG --libs libpng 2>/dev/null`
12782 test "$cross_compiling" = yes || PNG_LIBS=${PNG_LIBS:-$X_LIBS}
12784 $as_echo "$as_me:${as_lineno-$LINENO}: libpng cflags: $PNG_CFLAGS" >&5
12785 $as_echo "$as_me:${as_lineno-$LINENO}: libpng libs: $PNG_LIBS" >&5
12786 ac_save_CPPFLAGS=$CPPFLAGS
12787 CPPFLAGS="$CPPFLAGS $PNG_CFLAGS"
12788 for ac_header in png.h
12789 do :
12790 ac_fn_c_check_header_mongrel "$LINENO" "png.h" "ac_cv_header_png_h" "$ac_includes_default"
12791 if test "x$ac_cv_header_png_h" = xyes; then :
12792 cat >>confdefs.h <<_ACEOF
12793 #define HAVE_PNG_H 1
12794 _ACEOF
12798 done
12800 if test "$ac_cv_header_png_h" = "yes"
12801 then
12802 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lpng" >&5
12803 $as_echo_n "checking for -lpng... " >&6; }
12804 if ${ac_cv_lib_soname_png+:} false; then :
12805 $as_echo_n "(cached) " >&6
12806 else
12807 ac_check_soname_save_LIBS=$LIBS
12808 LIBS="-lpng $PNG_LIBS -lm -lz $LIBS"
12809 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12810 /* end confdefs.h. */
12812 /* Override any GCC internal prototype to avoid an error.
12813 Use char because int might match the return type of a GCC
12814 builtin and then its argument prototype would still apply. */
12815 #ifdef __cplusplus
12816 extern "C"
12817 #endif
12818 char png_create_read_struct ();
12820 main ()
12822 return png_create_read_struct ();
12824 return 0;
12826 _ACEOF
12827 if ac_fn_c_try_link "$LINENO"; then :
12828 case "$LIBEXT" in
12829 dll) ac_cv_lib_soname_png=`$ac_cv_path_LDD conftest.exe | grep "png" | sed -e "s/dll.*/dll/"';2,$d'` ;;
12830 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'` ;;
12831 *) 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'`
12832 if ${ac_cv_lib_soname_png:+false} :; then :
12833 ac_cv_lib_soname_png=`$LDD conftest$ac_exeext | grep "libpng[0-9]*\\.$LIBEXT" | sed -e "s/^.*\(libpng[0-9]*\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
12834 fi ;;
12835 esac
12837 rm -f core conftest.err conftest.$ac_objext \
12838 conftest$ac_exeext conftest.$ac_ext
12839 LIBS=$ac_check_soname_save_LIBS
12841 if ${ac_cv_lib_soname_png:+false} :; then :
12842 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
12843 $as_echo "not found" >&6; }
12844 PNG_CFLAGS=""
12845 else
12846 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_png" >&5
12847 $as_echo "$ac_cv_lib_soname_png" >&6; }
12849 cat >>confdefs.h <<_ACEOF
12850 #define SONAME_LIBPNG "$ac_cv_lib_soname_png"
12851 _ACEOF
12853 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12854 /* end confdefs.h. */
12855 #include <png.h>
12857 main ()
12859 typeof(png_set_expand_gray_1_2_4_to_8) *p
12861 return 0;
12863 _ACEOF
12864 if ac_fn_c_try_compile "$LINENO"; then :
12866 $as_echo "#define HAVE_PNG_SET_EXPAND_GRAY_1_2_4_TO_8 1" >>confdefs.h
12869 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
12871 else
12872 PNG_CFLAGS=""
12874 CPPFLAGS=$ac_save_CPPFLAGS
12875 test -z "$PNG_CFLAGS" || PNG_CFLAGS=`echo " $PNG_CFLAGS" | sed 's/ -I\([^/]\)/ -I\$(top_builddir)\/\1/g'`
12876 test -z "$PNG_LIBS" || PNG_LIBS=`echo " $PNG_LIBS" | sed 's/ -L\([^/]\)/ -L\$(top_builddir)\/\1/g'`
12879 if test "x$ac_cv_lib_soname_png" = "x"; then :
12880 case "x$with_png" in
12881 x) as_fn_append wine_warnings "|libpng ${notice_platform}development files not found, PNG won't be supported." ;;
12882 xno) ;;
12883 *) as_fn_error $? "libpng ${notice_platform}development files not found, PNG won't be supported.
12884 This is an error since --with-png was requested." "$LINENO" 5 ;;
12885 esac
12888 if test "x$with_tiff" != "xno"
12889 then
12890 if ${TIFF_CFLAGS:+false} :; then :
12891 if ${PKG_CONFIG+:} false; then :
12892 TIFF_CFLAGS=`$PKG_CONFIG --cflags libtiff 2>/dev/null`
12896 if ${TIFF_LIBS:+false} :; then :
12897 if ${PKG_CONFIG+:} false; then :
12898 TIFF_LIBS=`$PKG_CONFIG --libs libtiff 2>/dev/null`
12903 $as_echo "$as_me:${as_lineno-$LINENO}: libtiff cflags: $TIFF_CFLAGS" >&5
12904 $as_echo "$as_me:${as_lineno-$LINENO}: libtiff libs: $TIFF_LIBS" >&5
12905 ac_save_CPPFLAGS=$CPPFLAGS
12906 CPPFLAGS="$CPPFLAGS $TIFF_CFLAGS"
12907 for ac_header in tiffio.h
12908 do :
12909 ac_fn_c_check_header_mongrel "$LINENO" "tiffio.h" "ac_cv_header_tiffio_h" "$ac_includes_default"
12910 if test "x$ac_cv_header_tiffio_h" = xyes; then :
12911 cat >>confdefs.h <<_ACEOF
12912 #define HAVE_TIFFIO_H 1
12913 _ACEOF
12917 done
12919 if test "$ac_cv_header_tiffio_h" = "yes"
12920 then
12921 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -ltiff" >&5
12922 $as_echo_n "checking for -ltiff... " >&6; }
12923 if ${ac_cv_lib_soname_tiff+:} false; then :
12924 $as_echo_n "(cached) " >&6
12925 else
12926 ac_check_soname_save_LIBS=$LIBS
12927 LIBS="-ltiff $TIFF_LIBS $LIBS"
12928 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12929 /* end confdefs.h. */
12931 /* Override any GCC internal prototype to avoid an error.
12932 Use char because int might match the return type of a GCC
12933 builtin and then its argument prototype would still apply. */
12934 #ifdef __cplusplus
12935 extern "C"
12936 #endif
12937 char TIFFClientOpen ();
12939 main ()
12941 return TIFFClientOpen ();
12943 return 0;
12945 _ACEOF
12946 if ac_fn_c_try_link "$LINENO"; then :
12947 case "$LIBEXT" in
12948 dll) ac_cv_lib_soname_tiff=`$ac_cv_path_LDD conftest.exe | grep "tiff" | sed -e "s/dll.*/dll/"';2,$d'` ;;
12949 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'` ;;
12950 *) ac_cv_lib_soname_tiff=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libtiff\\.$LIBEXT" | sed -e "s/^.*\\[\\(libtiff\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
12951 if ${ac_cv_lib_soname_tiff:+false} :; then :
12952 ac_cv_lib_soname_tiff=`$LDD conftest$ac_exeext | grep "libtiff\\.$LIBEXT" | sed -e "s/^.*\(libtiff\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
12953 fi ;;
12954 esac
12956 rm -f core conftest.err conftest.$ac_objext \
12957 conftest$ac_exeext conftest.$ac_ext
12958 LIBS=$ac_check_soname_save_LIBS
12960 if ${ac_cv_lib_soname_tiff:+false} :; then :
12961 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
12962 $as_echo "not found" >&6; }
12964 else
12965 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_tiff" >&5
12966 $as_echo "$ac_cv_lib_soname_tiff" >&6; }
12968 cat >>confdefs.h <<_ACEOF
12969 #define SONAME_LIBTIFF "$ac_cv_lib_soname_tiff"
12970 _ACEOF
12975 CPPFLAGS=$ac_save_CPPFLAGS
12976 test -z "$TIFF_CFLAGS" || TIFF_CFLAGS=`echo " $TIFF_CFLAGS" | sed 's/ -I\([^/]\)/ -I\$(top_builddir)\/\1/g'`
12977 test -z "$TIFF_LIBS" || TIFF_LIBS=`echo " $TIFF_LIBS" | sed 's/ -L\([^/]\)/ -L\$(top_builddir)\/\1/g'`
12980 if test "x$ac_cv_lib_soname_tiff" = "x"; then :
12981 case "x$with_tiff" in
12982 x) as_fn_append wine_notices "|libtiff ${notice_platform}development files not found, TIFF won't be supported." ;;
12983 xno) ;;
12984 *) as_fn_error $? "libtiff ${notice_platform}development files not found, TIFF won't be supported.
12985 This is an error since --with-tiff was requested." "$LINENO" 5 ;;
12986 esac
12989 if test "x$with_mpg123" != "xno"
12990 then
12991 if ${MPG123_CFLAGS:+false} :; then :
12992 if ${PKG_CONFIG+:} false; then :
12993 MPG123_CFLAGS=`$PKG_CONFIG --cflags libmpg123 2>/dev/null`
12997 if ${MPG123_LIBS:+false} :; then :
12998 if ${PKG_CONFIG+:} false; then :
12999 MPG123_LIBS=`$PKG_CONFIG --libs libmpg123 2>/dev/null`
13003 MPG123_LIBS=${MPG123_LIBS:-"-lmpg123"}
13004 $as_echo "$as_me:${as_lineno-$LINENO}: libmpg123 cflags: $MPG123_CFLAGS" >&5
13005 $as_echo "$as_me:${as_lineno-$LINENO}: libmpg123 libs: $MPG123_LIBS" >&5
13006 ac_save_CPPFLAGS=$CPPFLAGS
13007 CPPFLAGS="$CPPFLAGS $MPG123_CFLAGS"
13008 for ac_header in mpg123.h
13009 do :
13010 ac_fn_c_check_header_mongrel "$LINENO" "mpg123.h" "ac_cv_header_mpg123_h" "$ac_includes_default"
13011 if test "x$ac_cv_header_mpg123_h" = xyes; then :
13012 cat >>confdefs.h <<_ACEOF
13013 #define HAVE_MPG123_H 1
13014 _ACEOF
13018 done
13020 if test "$ac_cv_header_mpg123_h" = "yes"
13021 then
13022 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for mpg123_feed in -lmpg123" >&5
13023 $as_echo_n "checking for mpg123_feed in -lmpg123... " >&6; }
13024 if ${ac_cv_lib_mpg123_mpg123_feed+:} false; then :
13025 $as_echo_n "(cached) " >&6
13026 else
13027 ac_check_lib_save_LIBS=$LIBS
13028 LIBS="-lmpg123 $MPG123_LIBS $LIBS"
13029 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13030 /* end confdefs.h. */
13032 /* Override any GCC internal prototype to avoid an error.
13033 Use char because int might match the return type of a GCC
13034 builtin and then its argument prototype would still apply. */
13035 #ifdef __cplusplus
13036 extern "C"
13037 #endif
13038 char mpg123_feed ();
13040 main ()
13042 return mpg123_feed ();
13044 return 0;
13046 _ACEOF
13047 if ac_fn_c_try_link "$LINENO"; then :
13048 ac_cv_lib_mpg123_mpg123_feed=yes
13049 else
13050 ac_cv_lib_mpg123_mpg123_feed=no
13052 rm -f core conftest.err conftest.$ac_objext \
13053 conftest$ac_exeext conftest.$ac_ext
13054 LIBS=$ac_check_lib_save_LIBS
13056 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_mpg123_mpg123_feed" >&5
13057 $as_echo "$ac_cv_lib_mpg123_mpg123_feed" >&6; }
13058 if test "x$ac_cv_lib_mpg123_mpg123_feed" = xyes; then :
13060 else
13061 MPG123_LIBS=""
13064 else
13065 MPG123_CFLAGS=""
13066 MPG123_LIBS=""
13068 CPPFLAGS=$ac_save_CPPFLAGS
13069 test -z "$MPG123_CFLAGS" || MPG123_CFLAGS=`echo " $MPG123_CFLAGS" | sed 's/ -I\([^/]\)/ -I\$(top_builddir)\/\1/g'`
13070 test -z "$MPG123_LIBS" || MPG123_LIBS=`echo " $MPG123_LIBS" | sed 's/ -L\([^/]\)/ -L\$(top_builddir)\/\1/g'`
13073 if test "x$ac_cv_lib_mpg123_mpg123_feed" != xyes -a x"$ac_cv_header_CoreAudio_CoreAudio_h" != xyes; then :
13074 case "x$with_mpg123" in
13075 x) as_fn_append wine_notices "|libmpg123 ${notice_platform}development files not found (or too old), mp3 codec won't be supported." ;;
13076 xno) ;;
13077 *) as_fn_error $? "libmpg123 ${notice_platform}development files not found (or too old), mp3 codec won't be supported.
13078 This is an error since --with-mpg123 was requested." "$LINENO" 5 ;;
13079 esac
13081 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}
13083 if test "$ac_cv_header_AL_al_h" = "yes"
13084 then
13085 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lopenal" >&5
13086 $as_echo_n "checking for -lopenal... " >&6; }
13087 if ${ac_cv_lib_soname_openal+:} false; then :
13088 $as_echo_n "(cached) " >&6
13089 else
13090 ac_check_soname_save_LIBS=$LIBS
13091 LIBS="-lopenal $LIBS"
13092 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13093 /* end confdefs.h. */
13095 /* Override any GCC internal prototype to avoid an error.
13096 Use char because int might match the return type of a GCC
13097 builtin and then its argument prototype would still apply. */
13098 #ifdef __cplusplus
13099 extern "C"
13100 #endif
13101 char alGetSource3i ();
13103 main ()
13105 return alGetSource3i ();
13107 return 0;
13109 _ACEOF
13110 if ac_fn_c_try_link "$LINENO"; then :
13111 case "$LIBEXT" in
13112 dll) ac_cv_lib_soname_openal=`$ac_cv_path_LDD conftest.exe | grep "openal" | sed -e "s/dll.*/dll/"';2,$d'` ;;
13113 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'` ;;
13114 *) ac_cv_lib_soname_openal=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libopenal\\.$LIBEXT" | sed -e "s/^.*\\[\\(libopenal\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
13115 if ${ac_cv_lib_soname_openal:+false} :; then :
13116 ac_cv_lib_soname_openal=`$LDD conftest$ac_exeext | grep "libopenal\\.$LIBEXT" | sed -e "s/^.*\(libopenal\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
13117 fi ;;
13118 esac
13120 rm -f core conftest.err conftest.$ac_objext \
13121 conftest$ac_exeext conftest.$ac_ext
13122 LIBS=$ac_check_soname_save_LIBS
13124 if ${ac_cv_lib_soname_openal:+false} :; then :
13125 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
13126 $as_echo "not found" >&6; }
13128 else
13129 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_openal" >&5
13130 $as_echo "$ac_cv_lib_soname_openal" >&6; }
13132 cat >>confdefs.h <<_ACEOF
13133 #define SONAME_LIBOPENAL "$ac_cv_lib_soname_openal"
13134 _ACEOF
13136 OPENAL_LIBS="-lopenal"
13138 ac_cv_lib_openal=yes
13140 cat >>confdefs.h <<_ACEOF
13141 #define HAVE_OPENAL 1
13142 _ACEOF
13146 if test "x$ac_cv_lib_openal" != xyes; then :
13147 case "x$with_openal" in
13148 x) as_fn_append wine_notices "|libopenal ${notice_platform}development files not found (or too old), OpenAL won't be supported." ;;
13149 xno) ;;
13150 *) as_fn_error $? "libopenal ${notice_platform}development files not found (or too old), OpenAL won't be supported.
13151 This is an error since --with-openal was requested." "$LINENO" 5 ;;
13152 esac
13154 test "x$ac_cv_lib_openal" = xyes || enable_openal32=${enable_openal32:-no}
13156 if test "$ac_cv_header_kstat_h" = "yes"
13157 then
13158 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for kstat_open in -lkstat" >&5
13159 $as_echo_n "checking for kstat_open in -lkstat... " >&6; }
13160 if ${ac_cv_lib_kstat_kstat_open+:} false; then :
13161 $as_echo_n "(cached) " >&6
13162 else
13163 ac_check_lib_save_LIBS=$LIBS
13164 LIBS="-lkstat $LIBS"
13165 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13166 /* end confdefs.h. */
13168 /* Override any GCC internal prototype to avoid an error.
13169 Use char because int might match the return type of a GCC
13170 builtin and then its argument prototype would still apply. */
13171 #ifdef __cplusplus
13172 extern "C"
13173 #endif
13174 char kstat_open ();
13176 main ()
13178 return kstat_open ();
13180 return 0;
13182 _ACEOF
13183 if ac_fn_c_try_link "$LINENO"; then :
13184 ac_cv_lib_kstat_kstat_open=yes
13185 else
13186 ac_cv_lib_kstat_kstat_open=no
13188 rm -f core conftest.err conftest.$ac_objext \
13189 conftest$ac_exeext conftest.$ac_ext
13190 LIBS=$ac_check_lib_save_LIBS
13192 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_kstat_kstat_open" >&5
13193 $as_echo "$ac_cv_lib_kstat_kstat_open" >&6; }
13194 if test "x$ac_cv_lib_kstat_kstat_open" = xyes; then :
13196 $as_echo "#define HAVE_LIBKSTAT 1" >>confdefs.h
13198 KSTAT_LIBS="-lkstat"
13204 if test "$ac_cv_header_libprocstat_h" = "yes"
13205 then
13206 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for procstat_open_sysctl in -lprocstat" >&5
13207 $as_echo_n "checking for procstat_open_sysctl in -lprocstat... " >&6; }
13208 if ${ac_cv_lib_procstat_procstat_open_sysctl+:} false; then :
13209 $as_echo_n "(cached) " >&6
13210 else
13211 ac_check_lib_save_LIBS=$LIBS
13212 LIBS="-lprocstat $LIBS"
13213 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13214 /* end confdefs.h. */
13216 /* Override any GCC internal prototype to avoid an error.
13217 Use char because int might match the return type of a GCC
13218 builtin and then its argument prototype would still apply. */
13219 #ifdef __cplusplus
13220 extern "C"
13221 #endif
13222 char procstat_open_sysctl ();
13224 main ()
13226 return procstat_open_sysctl ();
13228 return 0;
13230 _ACEOF
13231 if ac_fn_c_try_link "$LINENO"; then :
13232 ac_cv_lib_procstat_procstat_open_sysctl=yes
13233 else
13234 ac_cv_lib_procstat_procstat_open_sysctl=no
13236 rm -f core conftest.err conftest.$ac_objext \
13237 conftest$ac_exeext conftest.$ac_ext
13238 LIBS=$ac_check_lib_save_LIBS
13240 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_procstat_procstat_open_sysctl" >&5
13241 $as_echo "$ac_cv_lib_procstat_procstat_open_sysctl" >&6; }
13242 if test "x$ac_cv_lib_procstat_procstat_open_sysctl" = xyes; then :
13244 $as_echo "#define HAVE_LIBPROCSTAT 1" >>confdefs.h
13246 PROCSTAT_LIBS="-lprocstat"
13252 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lodbc" >&5
13253 $as_echo_n "checking for -lodbc... " >&6; }
13254 if ${ac_cv_lib_soname_odbc+:} false; then :
13255 $as_echo_n "(cached) " >&6
13256 else
13257 ac_check_soname_save_LIBS=$LIBS
13258 LIBS="-lodbc $LIBS"
13259 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13260 /* end confdefs.h. */
13262 /* Override any GCC internal prototype to avoid an error.
13263 Use char because int might match the return type of a GCC
13264 builtin and then its argument prototype would still apply. */
13265 #ifdef __cplusplus
13266 extern "C"
13267 #endif
13268 char SQLConnect ();
13270 main ()
13272 return SQLConnect ();
13274 return 0;
13276 _ACEOF
13277 if ac_fn_c_try_link "$LINENO"; then :
13278 case "$LIBEXT" in
13279 dll) ac_cv_lib_soname_odbc=`$ac_cv_path_LDD conftest.exe | grep "odbc" | sed -e "s/dll.*/dll/"';2,$d'` ;;
13280 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'` ;;
13281 *) ac_cv_lib_soname_odbc=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libodbc\\.$LIBEXT" | sed -e "s/^.*\\[\\(libodbc\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
13282 if ${ac_cv_lib_soname_odbc:+false} :; then :
13283 ac_cv_lib_soname_odbc=`$LDD conftest$ac_exeext | grep "libodbc\\.$LIBEXT" | sed -e "s/^.*\(libodbc\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
13284 fi ;;
13285 esac
13287 rm -f core conftest.err conftest.$ac_objext \
13288 conftest$ac_exeext conftest.$ac_ext
13289 LIBS=$ac_check_soname_save_LIBS
13291 if ${ac_cv_lib_soname_odbc:+false} :; then :
13292 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
13293 $as_echo "not found" >&6; }
13294 cat >>confdefs.h <<_ACEOF
13295 #define SONAME_LIBODBC "libodbc.$LIBEXT"
13296 _ACEOF
13298 else
13299 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_odbc" >&5
13300 $as_echo "$ac_cv_lib_soname_odbc" >&6; }
13302 cat >>confdefs.h <<_ACEOF
13303 #define SONAME_LIBODBC "$ac_cv_lib_soname_odbc"
13304 _ACEOF
13309 if test "x$with_netapi" != "xno"
13310 then
13311 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lnetapi" >&5
13312 $as_echo_n "checking for -lnetapi... " >&6; }
13313 if ${ac_cv_lib_soname_netapi+:} false; then :
13314 $as_echo_n "(cached) " >&6
13315 else
13316 ac_check_soname_save_LIBS=$LIBS
13317 LIBS="-lnetapi $LIBS"
13318 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13319 /* end confdefs.h. */
13321 /* Override any GCC internal prototype to avoid an error.
13322 Use char because int might match the return type of a GCC
13323 builtin and then its argument prototype would still apply. */
13324 #ifdef __cplusplus
13325 extern "C"
13326 #endif
13327 char libnetapi_init ();
13329 main ()
13331 return libnetapi_init ();
13333 return 0;
13335 _ACEOF
13336 if ac_fn_c_try_link "$LINENO"; then :
13337 case "$LIBEXT" in
13338 dll) ac_cv_lib_soname_netapi=`$ac_cv_path_LDD conftest.exe | grep "netapi" | sed -e "s/dll.*/dll/"';2,$d'` ;;
13339 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'` ;;
13340 *) ac_cv_lib_soname_netapi=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libnetapi\\.$LIBEXT" | sed -e "s/^.*\\[\\(libnetapi\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
13341 if ${ac_cv_lib_soname_netapi:+false} :; then :
13342 ac_cv_lib_soname_netapi=`$LDD conftest$ac_exeext | grep "libnetapi\\.$LIBEXT" | sed -e "s/^.*\(libnetapi\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
13343 fi ;;
13344 esac
13346 rm -f core conftest.err conftest.$ac_objext \
13347 conftest$ac_exeext conftest.$ac_ext
13348 LIBS=$ac_check_soname_save_LIBS
13350 if ${ac_cv_lib_soname_netapi:+false} :; then :
13351 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
13352 $as_echo "not found" >&6; }
13353 cat >>confdefs.h <<_ACEOF
13354 #define SONAME_LIBNETAPI "libnetapi.$LIBEXT"
13355 _ACEOF
13357 else
13358 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_netapi" >&5
13359 $as_echo "$ac_cv_lib_soname_netapi" >&6; }
13361 cat >>confdefs.h <<_ACEOF
13362 #define SONAME_LIBNETAPI "$ac_cv_lib_soname_netapi"
13363 _ACEOF
13369 test -n "$ALSA_LIBS" || enable_winealsa_drv=${enable_winealsa_drv:-no}
13370 test -n "$COREAUDIO_LIBS" || enable_winecoreaudio_drv=${enable_winecoreaudio_drv:-no}
13371 test "x$ac_cv_member_oss_sysinfo_numaudioengines" = xyes || enable_wineoss_drv=${enable_wineoss_drv:-no}
13372 test "$ac_cv_header_linux_joystick_h" = "yes" || enable_winejoystick_drv=${enable_winejoystick_drv:-no}
13374 if test "x$ALSA_LIBS$COREAUDIO_LIBS" = "x" -a \
13375 "x$ac_cv_member_oss_sysinfo_numaudioengines" != xyes -a \
13376 "x$with_alsa$with_coreaudio$with_oss" != xnonono
13377 then
13378 as_fn_append wine_warnings "|No sound system was found. Windows applications will be silent."
13382 EXTRACFLAGS=""
13384 if test "x${GCC}" = "xyes"
13385 then
13386 EXTRACFLAGS="-Wall -pipe"
13388 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for gcc strength-reduce bug" >&5
13389 $as_echo_n "checking for gcc strength-reduce bug... " >&6; }
13390 if ${ac_cv_c_gcc_strength_bug+:} false; then :
13391 $as_echo_n "(cached) " >&6
13392 else
13393 if test "$cross_compiling" = yes; then :
13394 ac_cv_c_gcc_strength_bug="yes"
13395 else
13396 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13397 /* end confdefs.h. */
13398 int L[4] = {0,1,2,3};
13400 main ()
13402 static int Array[3];
13403 unsigned int B = 3;
13404 int i;
13405 for(i=0; i<B; i++) Array[i] = i - 3;
13406 for(i=0; i<4 - 1; i++) L[i] = L[i + 1];
13407 L[i] = 4;
13408 return (Array[1] != -2 || L[2] != 3)
13410 return 0;
13412 _ACEOF
13413 if ac_fn_c_try_run "$LINENO"; then :
13414 ac_cv_c_gcc_strength_bug="no"
13415 else
13416 ac_cv_c_gcc_strength_bug="yes"
13418 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \
13419 conftest.$ac_objext conftest.beam conftest.$ac_ext
13423 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_gcc_strength_bug" >&5
13424 $as_echo "$ac_cv_c_gcc_strength_bug" >&6; }
13425 if test "$ac_cv_c_gcc_strength_bug" = "yes"
13426 then
13427 EXTRACFLAGS="$EXTRACFLAGS -fno-strength-reduce"
13430 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -fno-builtin" >&5
13431 $as_echo_n "checking whether the compiler supports -fno-builtin... " >&6; }
13432 if ${ac_cv_cflags__fno_builtin+:} false; then :
13433 $as_echo_n "(cached) " >&6
13434 else
13435 ac_wine_try_cflags_saved=$CFLAGS
13436 CFLAGS="$CFLAGS -fno-builtin"
13437 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13438 /* end confdefs.h. */
13439 int main(int argc, char **argv) { return 0; }
13440 _ACEOF
13441 if ac_fn_c_try_link "$LINENO"; then :
13442 ac_cv_cflags__fno_builtin=yes
13443 else
13444 ac_cv_cflags__fno_builtin=no
13446 rm -f core conftest.err conftest.$ac_objext \
13447 conftest$ac_exeext conftest.$ac_ext
13448 CFLAGS=$ac_wine_try_cflags_saved
13450 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__fno_builtin" >&5
13451 $as_echo "$ac_cv_cflags__fno_builtin" >&6; }
13452 if test "x$ac_cv_cflags__fno_builtin" = xyes; then :
13453 BUILTINFLAG="-fno-builtin"
13456 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -fno-strict-aliasing" >&5
13457 $as_echo_n "checking whether the compiler supports -fno-strict-aliasing... " >&6; }
13458 if ${ac_cv_cflags__fno_strict_aliasing+:} false; then :
13459 $as_echo_n "(cached) " >&6
13460 else
13461 ac_wine_try_cflags_saved=$CFLAGS
13462 CFLAGS="$CFLAGS -fno-strict-aliasing"
13463 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13464 /* end confdefs.h. */
13465 int main(int argc, char **argv) { return 0; }
13466 _ACEOF
13467 if ac_fn_c_try_link "$LINENO"; then :
13468 ac_cv_cflags__fno_strict_aliasing=yes
13469 else
13470 ac_cv_cflags__fno_strict_aliasing=no
13472 rm -f core conftest.err conftest.$ac_objext \
13473 conftest$ac_exeext conftest.$ac_ext
13474 CFLAGS=$ac_wine_try_cflags_saved
13476 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__fno_strict_aliasing" >&5
13477 $as_echo "$ac_cv_cflags__fno_strict_aliasing" >&6; }
13478 if test "x$ac_cv_cflags__fno_strict_aliasing" = xyes; then :
13479 EXTRACFLAGS="$EXTRACFLAGS -fno-strict-aliasing"
13481 saved_CFLAGS=$CFLAGS
13482 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Werror=unknown-warning-option" >&5
13483 $as_echo_n "checking whether the compiler supports -Werror=unknown-warning-option... " >&6; }
13484 if ${ac_cv_cflags__Werror_unknown_warning_option+:} false; then :
13485 $as_echo_n "(cached) " >&6
13486 else
13487 ac_wine_try_cflags_saved=$CFLAGS
13488 CFLAGS="$CFLAGS -Werror=unknown-warning-option"
13489 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13490 /* end confdefs.h. */
13491 int main(int argc, char **argv) { return 0; }
13492 _ACEOF
13493 if ac_fn_c_try_link "$LINENO"; then :
13494 ac_cv_cflags__Werror_unknown_warning_option=yes
13495 else
13496 ac_cv_cflags__Werror_unknown_warning_option=no
13498 rm -f core conftest.err conftest.$ac_objext \
13499 conftest$ac_exeext conftest.$ac_ext
13500 CFLAGS=$ac_wine_try_cflags_saved
13502 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Werror_unknown_warning_option" >&5
13503 $as_echo "$ac_cv_cflags__Werror_unknown_warning_option" >&6; }
13504 if test "x$ac_cv_cflags__Werror_unknown_warning_option" = xyes; then :
13505 CFLAGS="$CFLAGS -Werror=unknown-warning-option"
13507 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wdeclaration-after-statement" >&5
13508 $as_echo_n "checking whether the compiler supports -Wdeclaration-after-statement... " >&6; }
13509 if ${ac_cv_cflags__Wdeclaration_after_statement+:} false; then :
13510 $as_echo_n "(cached) " >&6
13511 else
13512 ac_wine_try_cflags_saved=$CFLAGS
13513 CFLAGS="$CFLAGS -Wdeclaration-after-statement"
13514 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13515 /* end confdefs.h. */
13516 int main(int argc, char **argv) { return 0; }
13517 _ACEOF
13518 if ac_fn_c_try_link "$LINENO"; then :
13519 ac_cv_cflags__Wdeclaration_after_statement=yes
13520 else
13521 ac_cv_cflags__Wdeclaration_after_statement=no
13523 rm -f core conftest.err conftest.$ac_objext \
13524 conftest$ac_exeext conftest.$ac_ext
13525 CFLAGS=$ac_wine_try_cflags_saved
13527 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wdeclaration_after_statement" >&5
13528 $as_echo "$ac_cv_cflags__Wdeclaration_after_statement" >&6; }
13529 if test "x$ac_cv_cflags__Wdeclaration_after_statement" = xyes; then :
13530 EXTRACFLAGS="$EXTRACFLAGS -Wdeclaration-after-statement"
13532 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wempty-body" >&5
13533 $as_echo_n "checking whether the compiler supports -Wempty-body... " >&6; }
13534 if ${ac_cv_cflags__Wempty_body+:} false; then :
13535 $as_echo_n "(cached) " >&6
13536 else
13537 ac_wine_try_cflags_saved=$CFLAGS
13538 CFLAGS="$CFLAGS -Wempty-body"
13539 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13540 /* end confdefs.h. */
13541 int main(int argc, char **argv) { return 0; }
13542 _ACEOF
13543 if ac_fn_c_try_link "$LINENO"; then :
13544 ac_cv_cflags__Wempty_body=yes
13545 else
13546 ac_cv_cflags__Wempty_body=no
13548 rm -f core conftest.err conftest.$ac_objext \
13549 conftest$ac_exeext conftest.$ac_ext
13550 CFLAGS=$ac_wine_try_cflags_saved
13552 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wempty_body" >&5
13553 $as_echo "$ac_cv_cflags__Wempty_body" >&6; }
13554 if test "x$ac_cv_cflags__Wempty_body" = xyes; then :
13555 EXTRACFLAGS="$EXTRACFLAGS -Wempty-body"
13557 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wignored-qualifiers" >&5
13558 $as_echo_n "checking whether the compiler supports -Wignored-qualifiers... " >&6; }
13559 if ${ac_cv_cflags__Wignored_qualifiers+:} false; then :
13560 $as_echo_n "(cached) " >&6
13561 else
13562 ac_wine_try_cflags_saved=$CFLAGS
13563 CFLAGS="$CFLAGS -Wignored-qualifiers"
13564 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13565 /* end confdefs.h. */
13566 int main(int argc, char **argv) { return 0; }
13567 _ACEOF
13568 if ac_fn_c_try_link "$LINENO"; then :
13569 ac_cv_cflags__Wignored_qualifiers=yes
13570 else
13571 ac_cv_cflags__Wignored_qualifiers=no
13573 rm -f core conftest.err conftest.$ac_objext \
13574 conftest$ac_exeext conftest.$ac_ext
13575 CFLAGS=$ac_wine_try_cflags_saved
13577 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wignored_qualifiers" >&5
13578 $as_echo "$ac_cv_cflags__Wignored_qualifiers" >&6; }
13579 if test "x$ac_cv_cflags__Wignored_qualifiers" = xyes; then :
13580 EXTRACFLAGS="$EXTRACFLAGS -Wignored-qualifiers"
13582 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wstrict-prototypes" >&5
13583 $as_echo_n "checking whether the compiler supports -Wstrict-prototypes... " >&6; }
13584 if ${ac_cv_cflags__Wstrict_prototypes+:} false; then :
13585 $as_echo_n "(cached) " >&6
13586 else
13587 ac_wine_try_cflags_saved=$CFLAGS
13588 CFLAGS="$CFLAGS -Wstrict-prototypes"
13589 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13590 /* end confdefs.h. */
13591 int main(int argc, char **argv) { return 0; }
13592 _ACEOF
13593 if ac_fn_c_try_link "$LINENO"; then :
13594 ac_cv_cflags__Wstrict_prototypes=yes
13595 else
13596 ac_cv_cflags__Wstrict_prototypes=no
13598 rm -f core conftest.err conftest.$ac_objext \
13599 conftest$ac_exeext conftest.$ac_ext
13600 CFLAGS=$ac_wine_try_cflags_saved
13602 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wstrict_prototypes" >&5
13603 $as_echo "$ac_cv_cflags__Wstrict_prototypes" >&6; }
13604 if test "x$ac_cv_cflags__Wstrict_prototypes" = xyes; then :
13605 EXTRACFLAGS="$EXTRACFLAGS -Wstrict-prototypes"
13607 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wtype-limits" >&5
13608 $as_echo_n "checking whether the compiler supports -Wtype-limits... " >&6; }
13609 if ${ac_cv_cflags__Wtype_limits+:} false; then :
13610 $as_echo_n "(cached) " >&6
13611 else
13612 ac_wine_try_cflags_saved=$CFLAGS
13613 CFLAGS="$CFLAGS -Wtype-limits"
13614 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13615 /* end confdefs.h. */
13616 int main(int argc, char **argv) { return 0; }
13617 _ACEOF
13618 if ac_fn_c_try_link "$LINENO"; then :
13619 ac_cv_cflags__Wtype_limits=yes
13620 else
13621 ac_cv_cflags__Wtype_limits=no
13623 rm -f core conftest.err conftest.$ac_objext \
13624 conftest$ac_exeext conftest.$ac_ext
13625 CFLAGS=$ac_wine_try_cflags_saved
13627 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wtype_limits" >&5
13628 $as_echo "$ac_cv_cflags__Wtype_limits" >&6; }
13629 if test "x$ac_cv_cflags__Wtype_limits" = xyes; then :
13630 EXTRACFLAGS="$EXTRACFLAGS -Wtype-limits"
13632 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wunused-but-set-parameter" >&5
13633 $as_echo_n "checking whether the compiler supports -Wunused-but-set-parameter... " >&6; }
13634 if ${ac_cv_cflags__Wunused_but_set_parameter+:} false; then :
13635 $as_echo_n "(cached) " >&6
13636 else
13637 ac_wine_try_cflags_saved=$CFLAGS
13638 CFLAGS="$CFLAGS -Wunused-but-set-parameter"
13639 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13640 /* end confdefs.h. */
13641 int main(int argc, char **argv) { return 0; }
13642 _ACEOF
13643 if ac_fn_c_try_link "$LINENO"; then :
13644 ac_cv_cflags__Wunused_but_set_parameter=yes
13645 else
13646 ac_cv_cflags__Wunused_but_set_parameter=no
13648 rm -f core conftest.err conftest.$ac_objext \
13649 conftest$ac_exeext conftest.$ac_ext
13650 CFLAGS=$ac_wine_try_cflags_saved
13652 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wunused_but_set_parameter" >&5
13653 $as_echo "$ac_cv_cflags__Wunused_but_set_parameter" >&6; }
13654 if test "x$ac_cv_cflags__Wunused_but_set_parameter" = xyes; then :
13655 EXTRACFLAGS="$EXTRACFLAGS -Wunused-but-set-parameter"
13657 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wwrite-strings" >&5
13658 $as_echo_n "checking whether the compiler supports -Wwrite-strings... " >&6; }
13659 if ${ac_cv_cflags__Wwrite_strings+:} false; then :
13660 $as_echo_n "(cached) " >&6
13661 else
13662 ac_wine_try_cflags_saved=$CFLAGS
13663 CFLAGS="$CFLAGS -Wwrite-strings"
13664 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13665 /* end confdefs.h. */
13666 int main(int argc, char **argv) { return 0; }
13667 _ACEOF
13668 if ac_fn_c_try_link "$LINENO"; then :
13669 ac_cv_cflags__Wwrite_strings=yes
13670 else
13671 ac_cv_cflags__Wwrite_strings=no
13673 rm -f core conftest.err conftest.$ac_objext \
13674 conftest$ac_exeext conftest.$ac_ext
13675 CFLAGS=$ac_wine_try_cflags_saved
13677 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wwrite_strings" >&5
13678 $as_echo "$ac_cv_cflags__Wwrite_strings" >&6; }
13679 if test "x$ac_cv_cflags__Wwrite_strings" = xyes; then :
13680 EXTRACFLAGS="$EXTRACFLAGS -Wwrite-strings"
13683 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wpointer-arith" >&5
13684 $as_echo_n "checking whether the compiler supports -Wpointer-arith... " >&6; }
13685 if ${ac_cv_cflags__Wpointer_arith+:} false; then :
13686 $as_echo_n "(cached) " >&6
13687 else
13688 ac_wine_try_cflags_saved=$CFLAGS
13689 CFLAGS="$CFLAGS -Wpointer-arith"
13690 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13691 /* end confdefs.h. */
13692 int main(int argc, char **argv) { return 0; }
13693 _ACEOF
13694 if ac_fn_c_try_link "$LINENO"; then :
13695 ac_cv_cflags__Wpointer_arith=yes
13696 else
13697 ac_cv_cflags__Wpointer_arith=no
13699 rm -f core conftest.err conftest.$ac_objext \
13700 conftest$ac_exeext conftest.$ac_ext
13701 CFLAGS=$ac_wine_try_cflags_saved
13703 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wpointer_arith" >&5
13704 $as_echo "$ac_cv_cflags__Wpointer_arith" >&6; }
13705 if test "x$ac_cv_cflags__Wpointer_arith" = xyes; then :
13706 saved_string_h_CFLAGS=$CFLAGS
13707 CFLAGS="$CFLAGS -Wpointer-arith -Werror"
13708 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for broken string.h that generates warnings with -Wpointer-arith" >&5
13709 $as_echo_n "checking for broken string.h that generates warnings with -Wpointer-arith... " >&6; }
13710 if ${ac_cv_c_string_h_warnings+:} false; then :
13711 $as_echo_n "(cached) " >&6
13712 else
13713 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13714 /* end confdefs.h. */
13715 #include <string.h>
13717 main ()
13721 return 0;
13723 _ACEOF
13724 if ac_fn_c_try_compile "$LINENO"; then :
13725 ac_cv_c_string_h_warnings=no
13726 else
13727 ac_cv_c_string_h_warnings=yes
13729 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
13731 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_string_h_warnings" >&5
13732 $as_echo "$ac_cv_c_string_h_warnings" >&6; }
13733 test "$ac_cv_c_string_h_warnings" = yes || EXTRACFLAGS="$EXTRACFLAGS -Wpointer-arith"
13734 CFLAGS=$saved_string_h_CFLAGS
13737 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wlogical-op" >&5
13738 $as_echo_n "checking whether the compiler supports -Wlogical-op... " >&6; }
13739 if ${ac_cv_cflags__Wlogical_op+:} false; then :
13740 $as_echo_n "(cached) " >&6
13741 else
13742 ac_wine_try_cflags_saved=$CFLAGS
13743 CFLAGS="$CFLAGS -Wlogical-op"
13744 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13745 /* end confdefs.h. */
13746 int main(int argc, char **argv) { return 0; }
13747 _ACEOF
13748 if ac_fn_c_try_link "$LINENO"; then :
13749 ac_cv_cflags__Wlogical_op=yes
13750 else
13751 ac_cv_cflags__Wlogical_op=no
13753 rm -f core conftest.err conftest.$ac_objext \
13754 conftest$ac_exeext conftest.$ac_ext
13755 CFLAGS=$ac_wine_try_cflags_saved
13757 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wlogical_op" >&5
13758 $as_echo "$ac_cv_cflags__Wlogical_op" >&6; }
13759 if test "x$ac_cv_cflags__Wlogical_op" = xyes; then :
13760 saved_string_h_CFLAGS=$CFLAGS
13761 CFLAGS="$CFLAGS -Wlogical-op -Werror"
13762 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for broken string.h that generates warnings with -Wlogical-op" >&5
13763 $as_echo_n "checking for broken string.h that generates warnings with -Wlogical-op... " >&6; }
13764 if ${ac_cv_c_logicalop_noisy+:} false; then :
13765 $as_echo_n "(cached) " >&6
13766 else
13767 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13768 /* end confdefs.h. */
13769 #include <string.h>
13770 char*f(const char *h,char n) {return strchr(h,n);}
13772 main ()
13776 return 0;
13778 _ACEOF
13779 if ac_fn_c_try_compile "$LINENO"; then :
13780 ac_cv_c_logicalop_noisy=no
13781 else
13782 ac_cv_c_logicalop_noisy=yes
13784 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
13786 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_logicalop_noisy" >&5
13787 $as_echo "$ac_cv_c_logicalop_noisy" >&6; }
13788 CFLAGS=$saved_string_h_CFLAGS
13789 test "$ac_cv_c_logicalop_noisy" = yes || EXTRACFLAGS="$EXTRACFLAGS -Wlogical-op"
13792 CFLAGS=$saved_CFLAGS
13794 for ac_flag in $CFLAGS; do
13795 case $ac_flag in
13796 -g) case $host_os in
13797 darwin*) { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -gstabs+" >&5
13798 $as_echo_n "checking whether the compiler supports -gstabs+... " >&6; }
13799 if ${ac_cv_cflags__gstabsp+:} false; then :
13800 $as_echo_n "(cached) " >&6
13801 else
13802 ac_wine_try_cflags_saved=$CFLAGS
13803 CFLAGS="$CFLAGS -gstabs+"
13804 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13805 /* end confdefs.h. */
13806 int main(int argc, char **argv) { return 0; }
13807 _ACEOF
13808 if ac_fn_c_try_link "$LINENO"; then :
13809 ac_cv_cflags__gstabsp=yes
13810 else
13811 ac_cv_cflags__gstabsp=no
13813 rm -f core conftest.err conftest.$ac_objext \
13814 conftest$ac_exeext conftest.$ac_ext
13815 CFLAGS=$ac_wine_try_cflags_saved
13817 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__gstabsp" >&5
13818 $as_echo "$ac_cv_cflags__gstabsp" >&6; }
13819 if test "x$ac_cv_cflags__gstabsp" = xyes; then :
13820 EXTRACFLAGS="$EXTRACFLAGS -gstabs+"
13821 fi ;;
13822 *) { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -gdwarf-2" >&5
13823 $as_echo_n "checking whether the compiler supports -gdwarf-2... " >&6; }
13824 if ${ac_cv_cflags__gdwarf_2+:} false; then :
13825 $as_echo_n "(cached) " >&6
13826 else
13827 ac_wine_try_cflags_saved=$CFLAGS
13828 CFLAGS="$CFLAGS -gdwarf-2"
13829 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13830 /* end confdefs.h. */
13831 int main(int argc, char **argv) { return 0; }
13832 _ACEOF
13833 if ac_fn_c_try_link "$LINENO"; then :
13834 ac_cv_cflags__gdwarf_2=yes
13835 else
13836 ac_cv_cflags__gdwarf_2=no
13838 rm -f core conftest.err conftest.$ac_objext \
13839 conftest$ac_exeext conftest.$ac_ext
13840 CFLAGS=$ac_wine_try_cflags_saved
13842 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__gdwarf_2" >&5
13843 $as_echo "$ac_cv_cflags__gdwarf_2" >&6; }
13844 if test "x$ac_cv_cflags__gdwarf_2" = xyes; then :
13845 EXTRACFLAGS="$EXTRACFLAGS -gdwarf-2"
13847 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -gstrict-dwarf" >&5
13848 $as_echo_n "checking whether the compiler supports -gstrict-dwarf... " >&6; }
13849 if ${ac_cv_cflags__gstrict_dwarf+:} false; then :
13850 $as_echo_n "(cached) " >&6
13851 else
13852 ac_wine_try_cflags_saved=$CFLAGS
13853 CFLAGS="$CFLAGS -gstrict-dwarf"
13854 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13855 /* end confdefs.h. */
13856 int main(int argc, char **argv) { return 0; }
13857 _ACEOF
13858 if ac_fn_c_try_link "$LINENO"; then :
13859 ac_cv_cflags__gstrict_dwarf=yes
13860 else
13861 ac_cv_cflags__gstrict_dwarf=no
13863 rm -f core conftest.err conftest.$ac_objext \
13864 conftest$ac_exeext conftest.$ac_ext
13865 CFLAGS=$ac_wine_try_cflags_saved
13867 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__gstrict_dwarf" >&5
13868 $as_echo "$ac_cv_cflags__gstrict_dwarf" >&6; }
13869 if test "x$ac_cv_cflags__gstrict_dwarf" = xyes; then :
13870 EXTRACFLAGS="$EXTRACFLAGS -gstrict-dwarf"
13871 fi ;;
13872 esac ;;
13873 esac
13874 done
13876 case $host_cpu in
13877 *i[3456789]86*) { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -fno-omit-frame-pointer" >&5
13878 $as_echo_n "checking whether the compiler supports -fno-omit-frame-pointer... " >&6; }
13879 if ${ac_cv_cflags__fno_omit_frame_pointer+:} false; then :
13880 $as_echo_n "(cached) " >&6
13881 else
13882 ac_wine_try_cflags_saved=$CFLAGS
13883 CFLAGS="$CFLAGS -fno-omit-frame-pointer"
13884 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13885 /* end confdefs.h. */
13886 int main(int argc, char **argv) { return 0; }
13887 _ACEOF
13888 if ac_fn_c_try_link "$LINENO"; then :
13889 ac_cv_cflags__fno_omit_frame_pointer=yes
13890 else
13891 ac_cv_cflags__fno_omit_frame_pointer=no
13893 rm -f core conftest.err conftest.$ac_objext \
13894 conftest$ac_exeext conftest.$ac_ext
13895 CFLAGS=$ac_wine_try_cflags_saved
13897 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__fno_omit_frame_pointer" >&5
13898 $as_echo "$ac_cv_cflags__fno_omit_frame_pointer" >&6; }
13899 if test "x$ac_cv_cflags__fno_omit_frame_pointer" = xyes; then :
13900 EXTRACFLAGS="$EXTRACFLAGS -fno-omit-frame-pointer"
13901 fi ;;
13902 esac
13904 case $host in
13905 x86_64-*mingw32*|x86_64-*cygwin*) { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wno-format" >&5
13906 $as_echo_n "checking whether the compiler supports -Wno-format... " >&6; }
13907 if ${ac_cv_cflags__Wno_format+:} false; then :
13908 $as_echo_n "(cached) " >&6
13909 else
13910 ac_wine_try_cflags_saved=$CFLAGS
13911 CFLAGS="$CFLAGS -Wno-format"
13912 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13913 /* end confdefs.h. */
13914 int main(int argc, char **argv) { return 0; }
13915 _ACEOF
13916 if ac_fn_c_try_link "$LINENO"; then :
13917 ac_cv_cflags__Wno_format=yes
13918 else
13919 ac_cv_cflags__Wno_format=no
13921 rm -f core conftest.err conftest.$ac_objext \
13922 conftest$ac_exeext conftest.$ac_ext
13923 CFLAGS=$ac_wine_try_cflags_saved
13925 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wno_format" >&5
13926 $as_echo "$ac_cv_cflags__Wno_format" >&6; }
13927 if test "x$ac_cv_cflags__Wno_format" = xyes; then :
13928 EXTRACFLAGS="$EXTRACFLAGS -Wno-format"
13929 fi ;;
13930 esac
13932 if test "x$enable_maintainer_mode" = "xyes"
13933 then
13934 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Werror" >&5
13935 $as_echo_n "checking whether the compiler supports -Werror... " >&6; }
13936 if ${ac_cv_cflags__Werror+:} false; then :
13937 $as_echo_n "(cached) " >&6
13938 else
13939 ac_wine_try_cflags_saved=$CFLAGS
13940 CFLAGS="$CFLAGS -Werror"
13941 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13942 /* end confdefs.h. */
13943 int main(int argc, char **argv) { return 0; }
13944 _ACEOF
13945 if ac_fn_c_try_link "$LINENO"; then :
13946 ac_cv_cflags__Werror=yes
13947 else
13948 ac_cv_cflags__Werror=no
13950 rm -f core conftest.err conftest.$ac_objext \
13951 conftest$ac_exeext conftest.$ac_ext
13952 CFLAGS=$ac_wine_try_cflags_saved
13954 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Werror" >&5
13955 $as_echo "$ac_cv_cflags__Werror" >&6; }
13956 if test "x$ac_cv_cflags__Werror" = xyes; then :
13957 EXTRACFLAGS="$EXTRACFLAGS -Werror"
13961 saved_CFLAGS="$CFLAGS"
13962 CFLAGS="$CFLAGS -Werror"
13963 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ms_hook_prologue attribute" >&5
13964 $as_echo_n "checking for ms_hook_prologue attribute... " >&6; }
13965 if ${ac_cv_have_ms_hook_prologue+:} false; then :
13966 $as_echo_n "(cached) " >&6
13967 else
13968 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13969 /* end confdefs.h. */
13970 int __attribute__((__ms_hook_prologue__)) test(void) { return 0; }
13972 main ()
13976 return 0;
13978 _ACEOF
13979 if ac_fn_c_try_compile "$LINENO"; then :
13980 ac_cv_have_ms_hook_prologue="yes"
13981 else
13982 ac_cv_have_ms_hook_prologue="no"
13984 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
13986 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_have_ms_hook_prologue" >&5
13987 $as_echo "$ac_cv_have_ms_hook_prologue" >&6; }
13988 CFLAGS="$saved_CFLAGS"
13989 if test "$ac_cv_have_ms_hook_prologue" = "yes"
13990 then
13992 $as_echo "#define DECLSPEC_HOTPATCH __attribute__((__ms_hook_prologue__))" >>confdefs.h
13994 else
13995 $as_echo "#define DECLSPEC_HOTPATCH /* */" >>confdefs.h
14001 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for the need to disable Fortify" >&5
14002 $as_echo_n "checking for the need to disable Fortify... " >&6; }
14003 if ${ac_cv_c_fortify_enabled+:} false; then :
14004 $as_echo_n "(cached) " >&6
14005 else
14006 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14007 /* end confdefs.h. */
14008 #include <string.h>
14010 main ()
14012 #if defined(__USE_FORTIFY_LEVEL) && __USE_FORTIFY_LEVEL > 0
14013 #error Fortify enabled
14014 #endif
14016 return 0;
14018 _ACEOF
14019 if ac_fn_c_try_compile "$LINENO"; then :
14020 ac_cv_c_fortify_enabled=no
14021 else
14022 ac_cv_c_fortify_enabled=yes
14024 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
14026 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_fortify_enabled" >&5
14027 $as_echo "$ac_cv_c_fortify_enabled" >&6; }
14028 if test "$ac_cv_c_fortify_enabled" = yes
14029 then
14030 CFLAGS="$CFLAGS -U_FORTIFY_SOURCE -D_FORTIFY_SOURCE=0"
14034 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether external symbols need an underscore prefix" >&5
14035 $as_echo_n "checking whether external symbols need an underscore prefix... " >&6; }
14036 if ${ac_cv_c_extern_prefix+:} false; then :
14037 $as_echo_n "(cached) " >&6
14038 else
14039 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14040 /* end confdefs.h. */
14041 extern int ac_test;
14043 main ()
14045 asm(".globl _ac_test\n_ac_test:\t.long 0"); if (ac_test) return 1
14047 return 0;
14049 _ACEOF
14050 if ac_fn_c_try_link "$LINENO"; then :
14051 ac_cv_c_extern_prefix="yes"
14052 else
14053 ac_cv_c_extern_prefix="no"
14055 rm -f core conftest.err conftest.$ac_objext \
14056 conftest$ac_exeext conftest.$ac_ext
14058 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_extern_prefix" >&5
14059 $as_echo "$ac_cv_c_extern_prefix" >&6; }
14061 case $host_cpu in
14062 *i[3456789]86*)
14063 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether external symbols need stdcall decoration" >&5
14064 $as_echo_n "checking whether external symbols need stdcall decoration... " >&6; }
14065 if ${ac_cv_c_stdcall_suffix+:} false; then :
14066 $as_echo_n "(cached) " >&6
14067 else
14068 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14069 /* end confdefs.h. */
14070 #ifndef _MSC_VER
14071 #define __stdcall __attribute__((__stdcall__))
14072 #endif
14073 int __stdcall ac_test(int i) { return i; }
14075 main ()
14077 asm("jmp _ac_test@4"); if (ac_test(1)) return 1
14079 return 0;
14081 _ACEOF
14082 if ac_fn_c_try_link "$LINENO"; then :
14083 ac_cv_c_stdcall_suffix="yes"
14084 else
14085 ac_cv_c_stdcall_suffix="no"
14087 rm -f core conftest.err conftest.$ac_objext \
14088 conftest$ac_exeext conftest.$ac_ext
14090 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_stdcall_suffix" >&5
14091 $as_echo "$ac_cv_c_stdcall_suffix" >&6; } ;;
14092 *) ac_cv_c_stdcall_suffix="no" ;;
14093 esac
14096 if test "$ac_cv_c_extern_prefix" = "yes"
14097 then
14098 $as_echo "#define __ASM_NAME(name) \"_\" name" >>confdefs.h
14100 asm_name_prefix="_"
14101 else
14102 $as_echo "#define __ASM_NAME(name) name" >>confdefs.h
14104 asm_name_prefix=""
14108 if test "$ac_cv_c_stdcall_suffix" = "yes"
14109 then
14110 $as_echo "#define __ASM_STDCALL(args) \"@\" #args" >>confdefs.h
14112 else
14113 $as_echo "#define __ASM_STDCALL(args) \"\"" >>confdefs.h
14118 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to define a function in assembly code" >&5
14119 $as_echo_n "checking how to define a function in assembly code... " >&6; }
14120 if ${ac_cv_asm_func_def+:} false; then :
14121 $as_echo_n "(cached) " >&6
14122 else
14123 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14124 /* end confdefs.h. */
14127 main ()
14129 asm("\t.globl _ac_test\n\t.def _ac_test; .scl 2; .type 32; .endef\n_ac_test:\t.long 0");
14131 return 0;
14133 _ACEOF
14134 if ac_fn_c_try_link "$LINENO"; then :
14135 ac_cv_asm_func_def=".def"
14136 else
14137 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14138 /* end confdefs.h. */
14141 main ()
14143 asm("\t.globl _ac_test\n\t.type _ac_test,@function\n_ac_test:\t.long 0");
14145 return 0;
14147 _ACEOF
14148 if ac_fn_c_try_link "$LINENO"; then :
14149 ac_cv_asm_func_def=".type @function"
14150 else
14151 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14152 /* end confdefs.h. */
14155 main ()
14157 asm("\t.globl _ac_test\n\t.type _ac_test,2\n_ac_test:\t.long 0");
14159 return 0;
14161 _ACEOF
14162 if ac_fn_c_try_link "$LINENO"; then :
14163 ac_cv_asm_func_def=".type 2"
14164 else
14165 ac_cv_asm_func_def="unknown"
14167 rm -f core conftest.err conftest.$ac_objext \
14168 conftest$ac_exeext conftest.$ac_ext
14170 rm -f core conftest.err conftest.$ac_objext \
14171 conftest$ac_exeext conftest.$ac_ext
14173 rm -f core conftest.err conftest.$ac_objext \
14174 conftest$ac_exeext conftest.$ac_ext
14176 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_asm_func_def" >&5
14177 $as_echo "$ac_cv_asm_func_def" >&6; }
14180 case "$ac_cv_asm_func_def" in
14181 ".def")
14182 $as_echo "#define __ASM_FUNC(name) \".def \" __ASM_NAME(name) \"; .scl 2; .type 32; .endef\"" >>confdefs.h
14184 asm_func_header=".def $asm_name_prefix\" #name suffix \"; .scl 2; .type 32; .endef" ;;
14185 ".type @function")
14186 $as_echo "#define __ASM_FUNC(name) \".type \" __ASM_NAME(name) \",@function\"" >>confdefs.h
14188 asm_func_header=".type $asm_name_prefix\" #name suffix \",@function" ;;
14189 ".type 2")
14190 $as_echo "#define __ASM_FUNC(name) \".type \" __ASM_NAME(name) \",2\"" >>confdefs.h
14192 asm_func_header=".type $asm_name_prefix\" #name suffix \",2" ;;
14194 $as_echo "#define __ASM_FUNC(name) \"\"" >>confdefs.h
14196 asm_func_header="" ;;
14197 esac
14199 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether asm() works outside of functions" >&5
14200 $as_echo_n "checking whether asm() works outside of functions... " >&6; }
14201 if ${ac_cv_c_asm_outside_funcs+:} false; then :
14202 $as_echo_n "(cached) " >&6
14203 else
14204 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14205 /* end confdefs.h. */
14206 asm(".text\n\t.long 0");
14208 main ()
14212 return 0;
14214 _ACEOF
14215 if ac_fn_c_try_compile "$LINENO"; then :
14216 ac_cv_c_asm_outside_funcs="yes"
14217 else
14218 ac_cv_c_asm_outside_funcs="no"
14220 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
14222 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_asm_outside_funcs" >&5
14223 $as_echo "$ac_cv_c_asm_outside_funcs" >&6; }
14225 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether .previous is supported in assembly code" >&5
14226 $as_echo_n "checking whether .previous is supported in assembly code... " >&6; }
14227 if ${ac_cv_c_dot_previous+:} false; then :
14228 $as_echo_n "(cached) " >&6
14229 else
14230 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14231 /* end confdefs.h. */
14234 main ()
14236 asm(".text\nac_test:\t.long 0\n\t.previous");
14238 return 0;
14240 _ACEOF
14241 if ac_fn_c_try_link "$LINENO"; then :
14242 ac_cv_c_dot_previous="yes"
14243 else
14244 ac_cv_c_dot_previous="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_dot_previous" >&5
14250 $as_echo "$ac_cv_c_dot_previous" >&6; }
14252 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether CFI directives are supported in assembly code" >&5
14253 $as_echo_n "checking whether CFI directives are supported in assembly code... " >&6; }
14254 if ${ac_cv_c_cfi_support+:} false; then :
14255 $as_echo_n "(cached) " >&6
14256 else
14257 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14258 /* end confdefs.h. */
14259 asm(".text\nac_test:\t.cfi_startproc\n\t.long 0\n\t.cfi_endproc");
14261 main ()
14265 return 0;
14267 _ACEOF
14268 if ac_fn_c_try_compile "$LINENO"; then :
14269 ac_cv_c_cfi_support="yes"
14270 else
14271 ac_cv_c_cfi_support="no"
14273 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
14275 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_cfi_support" >&5
14276 $as_echo "$ac_cv_c_cfi_support" >&6; }
14278 asm_func_header=".globl $asm_name_prefix\" #name suffix \"\\n\\t$asm_func_header\\n$asm_name_prefix\" #name suffix \":\\n\\t"
14279 asm_func_trailer=""
14280 if test "$ac_cv_c_dot_previous" = "yes"
14281 then
14282 asm_func_trailer="\\n\\t.previous"
14284 if test "$ac_cv_c_cfi_support" = "yes"
14285 then
14286 asm_func_header="$asm_func_header.cfi_startproc\\n\\t"
14287 asm_func_trailer="\\n\\t.cfi_endproc$asm_func_trailer"
14289 $as_echo "#define __ASM_CFI(str) str" >>confdefs.h
14291 UNWINDFLAGS=-fasynchronous-unwind-tables
14293 else
14294 $as_echo "#define __ASM_CFI(str) \"\"" >>confdefs.h
14298 asm_func_code="$asm_func_header\" code \"$asm_func_trailer"
14301 if test "$ac_cv_c_asm_outside_funcs" = "yes"
14302 then
14303 cat >>confdefs.h <<_ACEOF
14304 #define __ASM_DEFINE_FUNC(name,suffix,code) asm(".text\n\t.align 4\n\t$asm_func_code");
14305 _ACEOF
14307 else
14308 cat >>confdefs.h <<_ACEOF
14309 #define __ASM_DEFINE_FUNC(name,suffix,code) void __asm_dummy_##name(void) { asm(".text\n\t.align 4\n\t$asm_func_code"); }
14310 _ACEOF
14314 $as_echo "#define __ASM_GLOBAL_FUNC(name,code) __ASM_DEFINE_FUNC(name,\"\",code)" >>confdefs.h
14317 $as_echo "#define __ASM_STDCALL_FUNC(name,args,code) __ASM_DEFINE_FUNC(name,__ASM_STDCALL(args),code)" >>confdefs.h
14321 case $build_os in
14322 cygwin*|mingw32*) TOOLSEXT=".exe"
14324 esac
14326 case $host_os in
14327 linux*)
14328 case $host_cpu in
14329 *i[3456789]86*|x86_64*)
14330 test "$wine_binary" = wine || wine_fn_ignore_file "loader/wine-preloader"
14331 loader_programs="$loader_programs $wine_binary-preloader"
14332 as_fn_append LOADER_RULES "
14333 $wine_binary-preloader: preloader.o
14334 \$(CC) -o \$@ -static -nostartfiles -nodefaultlibs -Wl,-Ttext=0x7c400000 preloader.o \$(LIBPORT) \$(LDFLAGS)
14336 install install-lib:: $wine_binary-preloader
14337 \$(INSTALL_PROGRAM) $wine_binary-preloader \$(DESTDIR)\$(bindir)/$wine_binary-preloader
14339 uninstall::
14340 \$(RM) \$(DESTDIR)\$(bindir)/$wine_binary-preloader
14342 preloader_EXTRADEFS = $BUILTINFLAG
14343 " ;;
14344 esac
14346 esac
14347 as_fn_append LOADER_RULES "
14348 PROGRAMS = $loader_programs
14352 ac_save_CFLAGS="$CFLAGS"
14353 CFLAGS="$CFLAGS $BUILTINFLAG"
14354 for ac_func in \
14355 __res_get_state \
14356 __res_getservers \
14357 _finite \
14358 _isnan \
14359 _pclose \
14360 _popen \
14361 _snprintf \
14362 _spawnvp \
14363 _strdup \
14364 _stricmp \
14365 _strnicmp \
14366 _strtoi64 \
14367 _strtoui64 \
14368 _vsnprintf \
14369 asctime_r \
14370 chsize \
14371 dlopen \
14372 epoll_create \
14373 ffs \
14374 fnmatch \
14375 fork \
14376 fpclass \
14377 fstatfs \
14378 fstatvfs \
14379 ftruncate \
14380 futimens \
14381 futimes \
14382 futimesat \
14383 getattrlist \
14384 getdirentries \
14385 getopt_long_only \
14386 getpwuid \
14387 gettimeofday \
14388 getuid \
14389 if_nameindex \
14390 kqueue \
14391 lstat \
14392 memmove \
14393 mmap \
14394 pclose \
14395 pipe2 \
14396 poll \
14397 popen \
14398 port_create \
14399 prctl \
14400 pread \
14401 proc_pidinfo \
14402 pwrite \
14403 readdir \
14404 readlink \
14405 sched_yield \
14406 select \
14407 setproctitle \
14408 setrlimit \
14409 settimeofday \
14410 sigaltstack \
14411 sigprocmask \
14412 snprintf \
14413 statfs \
14414 statvfs \
14415 strcasecmp \
14416 strdup \
14417 strerror \
14418 strncasecmp \
14419 strtold \
14420 strtoll \
14421 strtoull \
14422 symlink \
14423 tcdrain \
14424 thr_kill2 \
14425 timegm \
14426 usleep \
14427 vsnprintf
14429 do :
14430 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
14431 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
14432 if eval test \"x\$"$as_ac_var"\" = x"yes"; then :
14433 cat >>confdefs.h <<_ACEOF
14434 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
14435 _ACEOF
14438 done
14440 CFLAGS="$ac_save_CFLAGS"
14442 if test "$ac_cv_func_dlopen" = no
14443 then
14444 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dlopen in -ldl" >&5
14445 $as_echo_n "checking for dlopen in -ldl... " >&6; }
14446 if ${ac_cv_lib_dl_dlopen+:} false; then :
14447 $as_echo_n "(cached) " >&6
14448 else
14449 ac_check_lib_save_LIBS=$LIBS
14450 LIBS="-ldl $LIBS"
14451 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14452 /* end confdefs.h. */
14454 /* Override any GCC internal prototype to avoid an error.
14455 Use char because int might match the return type of a GCC
14456 builtin and then its argument prototype would still apply. */
14457 #ifdef __cplusplus
14458 extern "C"
14459 #endif
14460 char dlopen ();
14462 main ()
14464 return dlopen ();
14466 return 0;
14468 _ACEOF
14469 if ac_fn_c_try_link "$LINENO"; then :
14470 ac_cv_lib_dl_dlopen=yes
14471 else
14472 ac_cv_lib_dl_dlopen=no
14474 rm -f core conftest.err conftest.$ac_objext \
14475 conftest$ac_exeext conftest.$ac_ext
14476 LIBS=$ac_check_lib_save_LIBS
14478 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dl_dlopen" >&5
14479 $as_echo "$ac_cv_lib_dl_dlopen" >&6; }
14480 if test "x$ac_cv_lib_dl_dlopen" = xyes; then :
14481 $as_echo "#define HAVE_DLOPEN 1" >>confdefs.h
14482 DL_LIBS="-ldl"
14487 ac_wine_check_funcs_save_LIBS="$LIBS"
14488 LIBS="$LIBS $DL_LIBS"
14489 for ac_func in dladdr
14490 do :
14491 ac_fn_c_check_func "$LINENO" "dladdr" "ac_cv_func_dladdr"
14492 if test "x$ac_cv_func_dladdr" = xyes; then :
14493 cat >>confdefs.h <<_ACEOF
14494 #define HAVE_DLADDR 1
14495 _ACEOF
14498 done
14500 LIBS="$ac_wine_check_funcs_save_LIBS"
14502 if test "$ac_cv_func_poll" = no
14503 then
14504 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for poll in -lpoll" >&5
14505 $as_echo_n "checking for poll in -lpoll... " >&6; }
14506 if ${ac_cv_lib_poll_poll+:} false; then :
14507 $as_echo_n "(cached) " >&6
14508 else
14509 ac_check_lib_save_LIBS=$LIBS
14510 LIBS="-lpoll $LIBS"
14511 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14512 /* end confdefs.h. */
14514 /* Override any GCC internal prototype to avoid an error.
14515 Use char because int might match the return type of a GCC
14516 builtin and then its argument prototype would still apply. */
14517 #ifdef __cplusplus
14518 extern "C"
14519 #endif
14520 char poll ();
14522 main ()
14524 return poll ();
14526 return 0;
14528 _ACEOF
14529 if ac_fn_c_try_link "$LINENO"; then :
14530 ac_cv_lib_poll_poll=yes
14531 else
14532 ac_cv_lib_poll_poll=no
14534 rm -f core conftest.err conftest.$ac_objext \
14535 conftest$ac_exeext conftest.$ac_ext
14536 LIBS=$ac_check_lib_save_LIBS
14538 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_poll_poll" >&5
14539 $as_echo "$ac_cv_lib_poll_poll" >&6; }
14540 if test "x$ac_cv_lib_poll_poll" = xyes; then :
14541 $as_echo "#define HAVE_POLL 1" >>confdefs.h
14542 POLL_LIBS="-lpoll"
14548 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for library containing gethostbyname" >&5
14549 $as_echo_n "checking for library containing gethostbyname... " >&6; }
14550 if ${ac_cv_search_gethostbyname+:} false; then :
14551 $as_echo_n "(cached) " >&6
14552 else
14553 ac_func_search_save_LIBS=$LIBS
14554 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14555 /* end confdefs.h. */
14557 /* Override any GCC internal prototype to avoid an error.
14558 Use char because int might match the return type of a GCC
14559 builtin and then its argument prototype would still apply. */
14560 #ifdef __cplusplus
14561 extern "C"
14562 #endif
14563 char gethostbyname ();
14565 main ()
14567 return gethostbyname ();
14569 return 0;
14571 _ACEOF
14572 for ac_lib in '' nsl; do
14573 if test -z "$ac_lib"; then
14574 ac_res="none required"
14575 else
14576 ac_res=-l$ac_lib
14577 LIBS="-l$ac_lib $ac_func_search_save_LIBS"
14579 if ac_fn_c_try_link "$LINENO"; then :
14580 ac_cv_search_gethostbyname=$ac_res
14582 rm -f core conftest.err conftest.$ac_objext \
14583 conftest$ac_exeext
14584 if ${ac_cv_search_gethostbyname+:} false; then :
14585 break
14587 done
14588 if ${ac_cv_search_gethostbyname+:} false; then :
14590 else
14591 ac_cv_search_gethostbyname=no
14593 rm conftest.$ac_ext
14594 LIBS=$ac_func_search_save_LIBS
14596 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_search_gethostbyname" >&5
14597 $as_echo "$ac_cv_search_gethostbyname" >&6; }
14598 ac_res=$ac_cv_search_gethostbyname
14599 if test "$ac_res" != no; then :
14600 test "$ac_res" = "none required" || LIBS="$ac_res $LIBS"
14605 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for library containing connect" >&5
14606 $as_echo_n "checking for library containing connect... " >&6; }
14607 if ${ac_cv_search_connect+:} false; then :
14608 $as_echo_n "(cached) " >&6
14609 else
14610 ac_func_search_save_LIBS=$LIBS
14611 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14612 /* end confdefs.h. */
14614 /* Override any GCC internal prototype to avoid an error.
14615 Use char because int might match the return type of a GCC
14616 builtin and then its argument prototype would still apply. */
14617 #ifdef __cplusplus
14618 extern "C"
14619 #endif
14620 char connect ();
14622 main ()
14624 return connect ();
14626 return 0;
14628 _ACEOF
14629 for ac_lib in '' socket; do
14630 if test -z "$ac_lib"; then
14631 ac_res="none required"
14632 else
14633 ac_res=-l$ac_lib
14634 LIBS="-l$ac_lib $ac_func_search_save_LIBS"
14636 if ac_fn_c_try_link "$LINENO"; then :
14637 ac_cv_search_connect=$ac_res
14639 rm -f core conftest.err conftest.$ac_objext \
14640 conftest$ac_exeext
14641 if ${ac_cv_search_connect+:} false; then :
14642 break
14644 done
14645 if ${ac_cv_search_connect+:} false; then :
14647 else
14648 ac_cv_search_connect=no
14650 rm conftest.$ac_ext
14651 LIBS=$ac_func_search_save_LIBS
14653 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_search_connect" >&5
14654 $as_echo "$ac_cv_search_connect" >&6; }
14655 ac_res=$ac_cv_search_connect
14656 if test "$ac_res" != no; then :
14657 test "$ac_res" = "none required" || LIBS="$ac_res $LIBS"
14662 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for library containing inet_aton" >&5
14663 $as_echo_n "checking for library containing inet_aton... " >&6; }
14664 if ${ac_cv_search_inet_aton+:} false; then :
14665 $as_echo_n "(cached) " >&6
14666 else
14667 ac_func_search_save_LIBS=$LIBS
14668 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14669 /* end confdefs.h. */
14671 /* Override any GCC internal prototype to avoid an error.
14672 Use char because int might match the return type of a GCC
14673 builtin and then its argument prototype would still apply. */
14674 #ifdef __cplusplus
14675 extern "C"
14676 #endif
14677 char inet_aton ();
14679 main ()
14681 return inet_aton ();
14683 return 0;
14685 _ACEOF
14686 for ac_lib in '' resolv; do
14687 if test -z "$ac_lib"; then
14688 ac_res="none required"
14689 else
14690 ac_res=-l$ac_lib
14691 LIBS="-l$ac_lib $ac_func_search_save_LIBS"
14693 if ac_fn_c_try_link "$LINENO"; then :
14694 ac_cv_search_inet_aton=$ac_res
14696 rm -f core conftest.err conftest.$ac_objext \
14697 conftest$ac_exeext
14698 if ${ac_cv_search_inet_aton+:} false; then :
14699 break
14701 done
14702 if ${ac_cv_search_inet_aton+:} false; then :
14704 else
14705 ac_cv_search_inet_aton=no
14707 rm conftest.$ac_ext
14708 LIBS=$ac_func_search_save_LIBS
14710 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_search_inet_aton" >&5
14711 $as_echo "$ac_cv_search_inet_aton" >&6; }
14712 ac_res=$ac_cv_search_inet_aton
14713 if test "$ac_res" != no; then :
14714 test "$ac_res" = "none required" || LIBS="$ac_res $LIBS"
14719 for ac_func in \
14720 getaddrinfo \
14721 getnameinfo \
14722 getnetbyname \
14723 getprotobyname \
14724 getprotobynumber \
14725 getservbyport \
14726 inet_addr \
14727 inet_network \
14728 inet_ntop \
14729 inet_pton \
14730 sendmsg \
14731 socketpair \
14733 do :
14734 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
14735 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
14736 if eval test \"x\$"$as_ac_var"\" = x"yes"; then :
14737 cat >>confdefs.h <<_ACEOF
14738 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
14739 _ACEOF
14742 done
14745 ac_save_LIBS=$LIBS
14746 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for library containing clock_gettime" >&5
14747 $as_echo_n "checking for library containing clock_gettime... " >&6; }
14748 if ${ac_cv_search_clock_gettime+:} false; then :
14749 $as_echo_n "(cached) " >&6
14750 else
14751 ac_func_search_save_LIBS=$LIBS
14752 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14753 /* end confdefs.h. */
14755 /* Override any GCC internal prototype to avoid an error.
14756 Use char because int might match the return type of a GCC
14757 builtin and then its argument prototype would still apply. */
14758 #ifdef __cplusplus
14759 extern "C"
14760 #endif
14761 char clock_gettime ();
14763 main ()
14765 return clock_gettime ();
14767 return 0;
14769 _ACEOF
14770 for ac_lib in '' rt; do
14771 if test -z "$ac_lib"; then
14772 ac_res="none required"
14773 else
14774 ac_res=-l$ac_lib
14775 LIBS="-l$ac_lib $ac_func_search_save_LIBS"
14777 if ac_fn_c_try_link "$LINENO"; then :
14778 ac_cv_search_clock_gettime=$ac_res
14780 rm -f core conftest.err conftest.$ac_objext \
14781 conftest$ac_exeext
14782 if ${ac_cv_search_clock_gettime+:} false; then :
14783 break
14785 done
14786 if ${ac_cv_search_clock_gettime+:} false; then :
14788 else
14789 ac_cv_search_clock_gettime=no
14791 rm conftest.$ac_ext
14792 LIBS=$ac_func_search_save_LIBS
14794 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_search_clock_gettime" >&5
14795 $as_echo "$ac_cv_search_clock_gettime" >&6; }
14796 ac_res=$ac_cv_search_clock_gettime
14797 if test "$ac_res" != no; then :
14798 test "$ac_res" = "none required" || LIBS="$ac_res $LIBS"
14800 $as_echo "#define HAVE_CLOCK_GETTIME 1" >>confdefs.h
14802 test "$ac_res" = "none required" || RT_LIBS="$ac_res"
14806 LIBS=$ac_save_LIBS
14808 LDAP_LIBS=""
14810 if test "$ac_cv_header_ldap_h" = "yes" -a "$ac_cv_header_lber_h" = "yes"
14811 then
14812 ac_fn_c_check_type "$LINENO" "LDAPSortKey" "ac_cv_type_LDAPSortKey" "#include <ldap.h>
14814 if test "x$ac_cv_type_LDAPSortKey" = xyes; then :
14815 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ldap_initialize in -lldap_r" >&5
14816 $as_echo_n "checking for ldap_initialize in -lldap_r... " >&6; }
14817 if ${ac_cv_lib_ldap_r_ldap_initialize+:} false; then :
14818 $as_echo_n "(cached) " >&6
14819 else
14820 ac_check_lib_save_LIBS=$LIBS
14821 LIBS="-lldap_r $PTHREAD_LIBS $LIBS"
14822 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14823 /* end confdefs.h. */
14825 /* Override any GCC internal prototype to avoid an error.
14826 Use char because int might match the return type of a GCC
14827 builtin and then its argument prototype would still apply. */
14828 #ifdef __cplusplus
14829 extern "C"
14830 #endif
14831 char ldap_initialize ();
14833 main ()
14835 return ldap_initialize ();
14837 return 0;
14839 _ACEOF
14840 if ac_fn_c_try_link "$LINENO"; then :
14841 ac_cv_lib_ldap_r_ldap_initialize=yes
14842 else
14843 ac_cv_lib_ldap_r_ldap_initialize=no
14845 rm -f core conftest.err conftest.$ac_objext \
14846 conftest$ac_exeext conftest.$ac_ext
14847 LIBS=$ac_check_lib_save_LIBS
14849 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_ldap_r_ldap_initialize" >&5
14850 $as_echo "$ac_cv_lib_ldap_r_ldap_initialize" >&6; }
14851 if test "x$ac_cv_lib_ldap_r_ldap_initialize" = xyes; then :
14852 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ber_init in -llber" >&5
14853 $as_echo_n "checking for ber_init in -llber... " >&6; }
14854 if ${ac_cv_lib_lber_ber_init+:} false; then :
14855 $as_echo_n "(cached) " >&6
14856 else
14857 ac_check_lib_save_LIBS=$LIBS
14858 LIBS="-llber $PTHREAD_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 ber_init ();
14870 main ()
14872 return ber_init ();
14874 return 0;
14876 _ACEOF
14877 if ac_fn_c_try_link "$LINENO"; then :
14878 ac_cv_lib_lber_ber_init=yes
14879 else
14880 ac_cv_lib_lber_ber_init=no
14882 rm -f core conftest.err conftest.$ac_objext \
14883 conftest$ac_exeext conftest.$ac_ext
14884 LIBS=$ac_check_lib_save_LIBS
14886 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_lber_ber_init" >&5
14887 $as_echo "$ac_cv_lib_lber_ber_init" >&6; }
14888 if test "x$ac_cv_lib_lber_ber_init" = xyes; then :
14890 $as_echo "#define HAVE_LDAP 1" >>confdefs.h
14892 LDAP_LIBS="-lldap_r -llber"
14899 ac_wine_check_funcs_save_LIBS="$LIBS"
14900 LIBS="$LIBS $LDAP_LIBS $PTHREAD_LIBS"
14901 for ac_func in \
14902 ldap_count_references \
14903 ldap_first_reference \
14904 ldap_next_reference \
14905 ldap_parse_reference \
14906 ldap_parse_sort_control \
14907 ldap_parse_sortresponse_control \
14908 ldap_parse_vlv_control \
14909 ldap_parse_vlvresponse_control
14910 do :
14911 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
14912 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
14913 if eval test \"x\$"$as_ac_var"\" = x"yes"; then :
14914 cat >>confdefs.h <<_ACEOF
14915 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
14916 _ACEOF
14919 done
14921 LIBS="$ac_wine_check_funcs_save_LIBS"
14923 if test "x$LDAP_LIBS" = "x"; then :
14924 case "x$with_ldap" in
14925 x) as_fn_append wine_notices "|libldap (OpenLDAP) ${notice_platform}development files not found, LDAP won't be supported." ;;
14926 xno) ;;
14927 *) as_fn_error $? "libldap (OpenLDAP) ${notice_platform}development files not found, LDAP won't be supported.
14928 This is an error since --with-ldap was requested." "$LINENO" 5 ;;
14929 esac
14932 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether mkdir takes only one argument" >&5
14933 $as_echo_n "checking whether mkdir takes only one argument... " >&6; }
14934 if ${wine_cv_one_arg_mkdir+:} false; then :
14935 $as_echo_n "(cached) " >&6
14936 else
14937 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14938 /* end confdefs.h. */
14939 #include <sys/stat.h>
14941 main ()
14943 mkdir("foo");
14945 return 0;
14947 _ACEOF
14948 if ac_fn_c_try_compile "$LINENO"; then :
14949 wine_cv_one_arg_mkdir=yes
14950 else
14951 wine_cv_one_arg_mkdir=no
14953 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
14955 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $wine_cv_one_arg_mkdir" >&5
14956 $as_echo "$wine_cv_one_arg_mkdir" >&6; }
14957 if test "$wine_cv_one_arg_mkdir" = "yes"
14958 then
14960 $as_echo "#define HAVE_ONE_ARG_MKDIR 1" >>confdefs.h
14964 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sched_setaffinity" >&5
14965 $as_echo_n "checking for sched_setaffinity... " >&6; }
14966 if ${wine_cv_have_sched_setaffinity+:} false; then :
14967 $as_echo_n "(cached) " >&6
14968 else
14969 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14970 /* end confdefs.h. */
14971 #define _GNU_SOURCE
14972 #include <sched.h>
14974 main ()
14976 sched_setaffinity(0, 0, 0);
14978 return 0;
14980 _ACEOF
14981 if ac_fn_c_try_link "$LINENO"; then :
14982 wine_cv_have_sched_setaffinity=yes
14983 else
14984 wine_cv_have_sched_setaffinity=no
14986 rm -f core conftest.err conftest.$ac_objext \
14987 conftest$ac_exeext conftest.$ac_ext
14989 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $wine_cv_have_sched_setaffinity" >&5
14990 $as_echo "$wine_cv_have_sched_setaffinity" >&6; }
14991 if test "$wine_cv_have_sched_setaffinity" = "yes"
14992 then
14994 $as_echo "#define HAVE_SCHED_SETAFFINITY 1" >>confdefs.h
14998 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for fallocate" >&5
14999 $as_echo_n "checking for fallocate... " >&6; }
15000 if ${wine_cv_have_fallocate+:} false; then :
15001 $as_echo_n "(cached) " >&6
15002 else
15003 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15004 /* end confdefs.h. */
15005 #define _GNU_SOURCE
15006 #include <fcntl.h>
15008 main ()
15010 fallocate(-1, 0, 0, 0);
15012 return 0;
15014 _ACEOF
15015 if ac_fn_c_try_link "$LINENO"; then :
15016 wine_cv_have_fallocate=yes
15017 else
15018 wine_cv_have_fallocate=no
15020 rm -f core conftest.err conftest.$ac_objext \
15021 conftest$ac_exeext conftest.$ac_ext
15023 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $wine_cv_have_fallocate" >&5
15024 $as_echo "$wine_cv_have_fallocate" >&6; }
15025 if test "$wine_cv_have_fallocate" = "yes"
15026 then
15028 $as_echo "#define HAVE_FALLOCATE 1" >>confdefs.h
15033 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for inline" >&5
15034 $as_echo_n "checking for inline... " >&6; }
15035 if ${ac_cv_c_inline+:} false; then :
15036 $as_echo_n "(cached) " >&6
15037 else
15038 ac_cv_c_inline=no
15039 for ac_kw in inline __inline__ __inline; do
15040 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15041 /* end confdefs.h. */
15042 #ifndef __cplusplus
15043 typedef int foo_t;
15044 static $ac_kw foo_t static_foo () {return 0; }
15045 $ac_kw foo_t foo () {return 0; }
15046 #endif
15048 _ACEOF
15049 if ac_fn_c_try_compile "$LINENO"; then :
15050 ac_cv_c_inline=$ac_kw
15052 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
15053 test "$ac_cv_c_inline" != no && break
15054 done
15057 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_inline" >&5
15058 $as_echo "$ac_cv_c_inline" >&6; }
15060 case $ac_cv_c_inline in
15061 inline | yes) ;;
15063 case $ac_cv_c_inline in
15064 no) ac_val=;;
15065 *) ac_val=$ac_cv_c_inline;;
15066 esac
15067 cat >>confdefs.h <<_ACEOF
15068 #ifndef __cplusplus
15069 #define inline $ac_val
15070 #endif
15071 _ACEOF
15073 esac
15075 ac_fn_c_check_type "$LINENO" "mode_t" "ac_cv_type_mode_t" "$ac_includes_default"
15076 if test "x$ac_cv_type_mode_t" = xyes; then :
15078 cat >>confdefs.h <<_ACEOF
15079 #define HAVE_MODE_T 1
15080 _ACEOF
15084 ac_fn_c_check_type "$LINENO" "off_t" "ac_cv_type_off_t" "$ac_includes_default"
15085 if test "x$ac_cv_type_off_t" = xyes; then :
15087 cat >>confdefs.h <<_ACEOF
15088 #define HAVE_OFF_T 1
15089 _ACEOF
15093 ac_fn_c_check_type "$LINENO" "pid_t" "ac_cv_type_pid_t" "$ac_includes_default"
15094 if test "x$ac_cv_type_pid_t" = xyes; then :
15096 cat >>confdefs.h <<_ACEOF
15097 #define HAVE_PID_T 1
15098 _ACEOF
15102 ac_fn_c_check_type "$LINENO" "size_t" "ac_cv_type_size_t" "$ac_includes_default"
15103 if test "x$ac_cv_type_size_t" = xyes; then :
15105 cat >>confdefs.h <<_ACEOF
15106 #define HAVE_SIZE_T 1
15107 _ACEOF
15111 ac_fn_c_check_type "$LINENO" "ssize_t" "ac_cv_type_ssize_t" "$ac_includes_default"
15112 if test "x$ac_cv_type_ssize_t" = xyes; then :
15114 cat >>confdefs.h <<_ACEOF
15115 #define HAVE_SSIZE_T 1
15116 _ACEOF
15120 ac_fn_c_check_type "$LINENO" "long long" "ac_cv_type_long_long" "$ac_includes_default"
15121 if test "x$ac_cv_type_long_long" = xyes; then :
15123 cat >>confdefs.h <<_ACEOF
15124 #define HAVE_LONG_LONG 1
15125 _ACEOF
15129 ac_fn_c_check_type "$LINENO" "fsblkcnt_t" "ac_cv_type_fsblkcnt_t" "$ac_includes_default"
15130 if test "x$ac_cv_type_fsblkcnt_t" = xyes; then :
15132 cat >>confdefs.h <<_ACEOF
15133 #define HAVE_FSBLKCNT_T 1
15134 _ACEOF
15138 ac_fn_c_check_type "$LINENO" "fsfilcnt_t" "ac_cv_type_fsfilcnt_t" "$ac_includes_default"
15139 if test "x$ac_cv_type_fsfilcnt_t" = xyes; then :
15141 cat >>confdefs.h <<_ACEOF
15142 #define HAVE_FSFILCNT_T 1
15143 _ACEOF
15148 ac_fn_c_check_type "$LINENO" "sigset_t" "ac_cv_type_sigset_t" "#include <sys/types.h>
15149 #include <signal.h>
15151 if test "x$ac_cv_type_sigset_t" = xyes; then :
15153 cat >>confdefs.h <<_ACEOF
15154 #define HAVE_SIGSET_T 1
15155 _ACEOF
15160 ac_fn_c_check_type "$LINENO" "request_sense" "ac_cv_type_request_sense" "#include <linux/cdrom.h>
15162 if test "x$ac_cv_type_request_sense" = xyes; then :
15164 cat >>confdefs.h <<_ACEOF
15165 #define HAVE_REQUEST_SENSE 1
15166 _ACEOF
15172 ac_fn_c_check_type "$LINENO" "struct xinpgen" "ac_cv_type_struct_xinpgen" "#include <sys/types.h>
15173 #ifdef HAVE_SYS_SOCKET_H
15174 #include <sys/socket.h>
15175 #endif
15176 #ifdef HAVE_SYS_SOCKETVAR_H
15177 #include <sys/socketvar.h>
15178 #endif
15179 #ifdef HAVE_NET_ROUTE_H
15180 #include <net/route.h>
15181 #endif
15182 #ifdef HAVE_NETINET_IN_H
15183 #include <netinet/in.h>
15184 #endif
15185 #ifdef HAVE_NETINET_IN_SYSTM_H
15186 #include <netinet/in_systm.h>
15187 #endif
15188 #ifdef HAVE_NETINET_IP_H
15189 #include <netinet/ip.h>
15190 #endif
15191 #ifdef HAVE_NETINET_IN_PCB_H
15192 #include <netinet/in_pcb.h>
15193 #endif
15195 if test "x$ac_cv_type_struct_xinpgen" = xyes; then :
15197 cat >>confdefs.h <<_ACEOF
15198 #define HAVE_STRUCT_XINPGEN 1
15199 _ACEOF
15205 ac_fn_c_check_type "$LINENO" "struct r_debug" "ac_cv_type_struct_r_debug" "#ifdef HAVE_LINK_H
15206 #include <link.h>
15207 #endif
15208 #ifdef HAVE_SYS_LINK_H
15209 #include <sys/link.h>
15210 #endif
15212 if test "x$ac_cv_type_struct_r_debug" = xyes; then :
15214 cat >>confdefs.h <<_ACEOF
15215 #define HAVE_STRUCT_R_DEBUG 1
15216 _ACEOF
15220 ac_fn_c_check_type "$LINENO" "struct link_map" "ac_cv_type_struct_link_map" "#ifdef HAVE_LINK_H
15221 #include <link.h>
15222 #endif
15223 #ifdef HAVE_SYS_LINK_H
15224 #include <sys/link.h>
15225 #endif
15227 if test "x$ac_cv_type_struct_link_map" = xyes; then :
15229 cat >>confdefs.h <<_ACEOF
15230 #define HAVE_STRUCT_LINK_MAP 1
15231 _ACEOF
15237 ac_fn_c_check_member "$LINENO" "struct ff_effect" "direction" "ac_cv_member_struct_ff_effect_direction" "#ifdef HAVE_LINUX_INPUT_H
15238 #include <linux/input.h>
15239 #endif
15241 if test "x$ac_cv_member_struct_ff_effect_direction" = xyes; then :
15243 cat >>confdefs.h <<_ACEOF
15244 #define HAVE_STRUCT_FF_EFFECT_DIRECTION 1
15245 _ACEOF
15251 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sigaddset" >&5
15252 $as_echo_n "checking for sigaddset... " >&6; }
15253 if ${wine_cv_have_sigaddset+:} false; then :
15254 $as_echo_n "(cached) " >&6
15255 else
15256 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15257 /* end confdefs.h. */
15258 #include <signal.h>
15260 main ()
15262 sigset_t set; sigaddset(&set,SIGTERM);
15264 return 0;
15266 _ACEOF
15267 if ac_fn_c_try_link "$LINENO"; then :
15268 wine_cv_have_sigaddset=yes
15269 else
15270 wine_cv_have_sigaddset=no
15272 rm -f core conftest.err conftest.$ac_objext \
15273 conftest$ac_exeext conftest.$ac_ext
15275 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $wine_cv_have_sigaddset" >&5
15276 $as_echo "$wine_cv_have_sigaddset" >&6; }
15277 if test "$wine_cv_have_sigaddset" = "yes"
15278 then
15280 $as_echo "#define HAVE_SIGADDSET 1" >>confdefs.h
15285 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we can use re-entrant gethostbyname_r Linux style" >&5
15286 $as_echo_n "checking whether we can use re-entrant gethostbyname_r Linux style... " >&6; }
15287 if ${wine_cv_linux_gethostbyname_r_6+:} false; then :
15288 $as_echo_n "(cached) " >&6
15289 else
15290 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15291 /* end confdefs.h. */
15292 #include <netdb.h>
15294 main ()
15297 char *name=0;
15298 struct hostent he;
15299 struct hostent *result;
15300 char *buf=0;
15301 int bufsize=0;
15302 int errnr;
15303 char *addr=0;
15304 int addrlen=0;
15305 int addrtype=0;
15306 gethostbyname_r(name,&he,buf,bufsize,&result,&errnr);
15307 gethostbyaddr_r(addr, addrlen, addrtype,&he,buf,bufsize,&result,&errnr);
15310 return 0;
15312 _ACEOF
15313 if ac_fn_c_try_link "$LINENO"; then :
15314 wine_cv_linux_gethostbyname_r_6=yes
15315 else
15316 wine_cv_linux_gethostbyname_r_6=no
15319 rm -f core conftest.err conftest.$ac_objext \
15320 conftest$ac_exeext conftest.$ac_ext
15323 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $wine_cv_linux_gethostbyname_r_6" >&5
15324 $as_echo "$wine_cv_linux_gethostbyname_r_6" >&6; }
15325 if test "$wine_cv_linux_gethostbyname_r_6" = "yes"
15326 then
15328 $as_echo "#define HAVE_LINUX_GETHOSTBYNAME_R_6 1" >>confdefs.h
15332 if test "$ac_cv_header_linux_joystick_h" = "yes"
15333 then
15334 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether linux/joystick.h uses the Linux 2.2+ API" >&5
15335 $as_echo_n "checking whether linux/joystick.h uses the Linux 2.2+ API... " >&6; }
15336 if ${wine_cv_linux_joystick_22_api+:} false; then :
15337 $as_echo_n "(cached) " >&6
15338 else
15339 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15340 /* end confdefs.h. */
15342 #include <sys/ioctl.h>
15343 #include <sys/types.h>
15344 #include <linux/joystick.h>
15346 struct js_event blub;
15347 #if !defined(JS_EVENT_AXIS) || !defined(JS_EVENT_BUTTON)
15348 #error "no 2.2 header"
15349 #endif
15352 main ()
15354 /*empty*/
15356 return 0;
15358 _ACEOF
15359 if ac_fn_c_try_compile "$LINENO"; then :
15360 wine_cv_linux_joystick_22_api=yes
15361 else
15362 wine_cv_linux_joystick_22_api=no
15364 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
15367 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $wine_cv_linux_joystick_22_api" >&5
15368 $as_echo "$wine_cv_linux_joystick_22_api" >&6; }
15369 if test "$wine_cv_linux_joystick_22_api" = "yes"
15370 then
15372 $as_echo "#define HAVE_LINUX_22_JOYSTICK_API 1" >>confdefs.h
15378 ac_fn_c_check_member "$LINENO" "struct statfs" "f_bfree" "ac_cv_member_struct_statfs_f_bfree" "#include <sys/types.h>
15379 #ifdef HAVE_SYS_PARAM_H
15380 # include <sys/param.h>
15381 #endif
15382 #ifdef HAVE_SYS_MOUNT_H
15383 # include <sys/mount.h>
15384 #endif
15385 #ifdef HAVE_SYS_VFS_H
15386 # include <sys/vfs.h>
15387 #endif
15388 #ifdef HAVE_SYS_STATFS_H
15389 # include <sys/statfs.h>
15390 #endif
15392 if test "x$ac_cv_member_struct_statfs_f_bfree" = xyes; then :
15394 cat >>confdefs.h <<_ACEOF
15395 #define HAVE_STRUCT_STATFS_F_BFREE 1
15396 _ACEOF
15400 ac_fn_c_check_member "$LINENO" "struct statfs" "f_bavail" "ac_cv_member_struct_statfs_f_bavail" "#include <sys/types.h>
15401 #ifdef HAVE_SYS_PARAM_H
15402 # include <sys/param.h>
15403 #endif
15404 #ifdef HAVE_SYS_MOUNT_H
15405 # include <sys/mount.h>
15406 #endif
15407 #ifdef HAVE_SYS_VFS_H
15408 # include <sys/vfs.h>
15409 #endif
15410 #ifdef HAVE_SYS_STATFS_H
15411 # include <sys/statfs.h>
15412 #endif
15414 if test "x$ac_cv_member_struct_statfs_f_bavail" = xyes; then :
15416 cat >>confdefs.h <<_ACEOF
15417 #define HAVE_STRUCT_STATFS_F_BAVAIL 1
15418 _ACEOF
15422 ac_fn_c_check_member "$LINENO" "struct statfs" "f_frsize" "ac_cv_member_struct_statfs_f_frsize" "#include <sys/types.h>
15423 #ifdef HAVE_SYS_PARAM_H
15424 # include <sys/param.h>
15425 #endif
15426 #ifdef HAVE_SYS_MOUNT_H
15427 # include <sys/mount.h>
15428 #endif
15429 #ifdef HAVE_SYS_VFS_H
15430 # include <sys/vfs.h>
15431 #endif
15432 #ifdef HAVE_SYS_STATFS_H
15433 # include <sys/statfs.h>
15434 #endif
15436 if test "x$ac_cv_member_struct_statfs_f_frsize" = xyes; then :
15438 cat >>confdefs.h <<_ACEOF
15439 #define HAVE_STRUCT_STATFS_F_FRSIZE 1
15440 _ACEOF
15444 ac_fn_c_check_member "$LINENO" "struct statfs" "f_ffree" "ac_cv_member_struct_statfs_f_ffree" "#include <sys/types.h>
15445 #ifdef HAVE_SYS_PARAM_H
15446 # include <sys/param.h>
15447 #endif
15448 #ifdef HAVE_SYS_MOUNT_H
15449 # include <sys/mount.h>
15450 #endif
15451 #ifdef HAVE_SYS_VFS_H
15452 # include <sys/vfs.h>
15453 #endif
15454 #ifdef HAVE_SYS_STATFS_H
15455 # include <sys/statfs.h>
15456 #endif
15458 if test "x$ac_cv_member_struct_statfs_f_ffree" = xyes; then :
15460 cat >>confdefs.h <<_ACEOF
15461 #define HAVE_STRUCT_STATFS_F_FFREE 1
15462 _ACEOF
15466 ac_fn_c_check_member "$LINENO" "struct statfs" "f_favail" "ac_cv_member_struct_statfs_f_favail" "#include <sys/types.h>
15467 #ifdef HAVE_SYS_PARAM_H
15468 # include <sys/param.h>
15469 #endif
15470 #ifdef HAVE_SYS_MOUNT_H
15471 # include <sys/mount.h>
15472 #endif
15473 #ifdef HAVE_SYS_VFS_H
15474 # include <sys/vfs.h>
15475 #endif
15476 #ifdef HAVE_SYS_STATFS_H
15477 # include <sys/statfs.h>
15478 #endif
15480 if test "x$ac_cv_member_struct_statfs_f_favail" = xyes; then :
15482 cat >>confdefs.h <<_ACEOF
15483 #define HAVE_STRUCT_STATFS_F_FAVAIL 1
15484 _ACEOF
15488 ac_fn_c_check_member "$LINENO" "struct statfs" "f_namelen" "ac_cv_member_struct_statfs_f_namelen" "#include <sys/types.h>
15489 #ifdef HAVE_SYS_PARAM_H
15490 # include <sys/param.h>
15491 #endif
15492 #ifdef HAVE_SYS_MOUNT_H
15493 # include <sys/mount.h>
15494 #endif
15495 #ifdef HAVE_SYS_VFS_H
15496 # include <sys/vfs.h>
15497 #endif
15498 #ifdef HAVE_SYS_STATFS_H
15499 # include <sys/statfs.h>
15500 #endif
15502 if test "x$ac_cv_member_struct_statfs_f_namelen" = xyes; then :
15504 cat >>confdefs.h <<_ACEOF
15505 #define HAVE_STRUCT_STATFS_F_NAMELEN 1
15506 _ACEOF
15512 ac_fn_c_check_member "$LINENO" "struct statvfs" "f_blocks" "ac_cv_member_struct_statvfs_f_blocks" "#ifdef HAVE_SYS_STATVFS_H
15513 #include <sys/statvfs.h>
15514 #endif
15516 if test "x$ac_cv_member_struct_statvfs_f_blocks" = xyes; then :
15518 cat >>confdefs.h <<_ACEOF
15519 #define HAVE_STRUCT_STATVFS_F_BLOCKS 1
15520 _ACEOF
15526 ac_fn_c_check_member "$LINENO" "struct dirent" "d_reclen" "ac_cv_member_struct_dirent_d_reclen" "#ifdef HAVE_DIRENT_H
15527 #include <dirent.h>
15528 #endif
15530 if test "x$ac_cv_member_struct_dirent_d_reclen" = xyes; then :
15532 cat >>confdefs.h <<_ACEOF
15533 #define HAVE_STRUCT_DIRENT_D_RECLEN 1
15534 _ACEOF
15540 ac_fn_c_check_member "$LINENO" "struct msghdr" "msg_accrights" "ac_cv_member_struct_msghdr_msg_accrights" "#include <sys/types.h>
15541 #ifdef HAVE_SYS_SOCKET_H
15542 # include <sys/socket.h>
15543 #endif
15544 #ifdef HAVE_SYS_UN_H
15545 # include <sys/un.h>
15546 #endif
15548 if test "x$ac_cv_member_struct_msghdr_msg_accrights" = xyes; then :
15550 cat >>confdefs.h <<_ACEOF
15551 #define HAVE_STRUCT_MSGHDR_MSG_ACCRIGHTS 1
15552 _ACEOF
15556 ac_fn_c_check_member "$LINENO" "struct sockaddr" "sa_len" "ac_cv_member_struct_sockaddr_sa_len" "#include <sys/types.h>
15557 #ifdef HAVE_SYS_SOCKET_H
15558 # include <sys/socket.h>
15559 #endif
15560 #ifdef HAVE_SYS_UN_H
15561 # include <sys/un.h>
15562 #endif
15564 if test "x$ac_cv_member_struct_sockaddr_sa_len" = xyes; then :
15566 cat >>confdefs.h <<_ACEOF
15567 #define HAVE_STRUCT_SOCKADDR_SA_LEN 1
15568 _ACEOF
15572 ac_fn_c_check_member "$LINENO" "struct sockaddr_un" "sun_len" "ac_cv_member_struct_sockaddr_un_sun_len" "#include <sys/types.h>
15573 #ifdef HAVE_SYS_SOCKET_H
15574 # include <sys/socket.h>
15575 #endif
15576 #ifdef HAVE_SYS_UN_H
15577 # include <sys/un.h>
15578 #endif
15580 if test "x$ac_cv_member_struct_sockaddr_un_sun_len" = xyes; then :
15582 cat >>confdefs.h <<_ACEOF
15583 #define HAVE_STRUCT_SOCKADDR_UN_SUN_LEN 1
15584 _ACEOF
15590 ac_fn_c_check_member "$LINENO" "scsireq_t" "cmd" "ac_cv_member_scsireq_t_cmd" "#include <sys/types.h>
15591 #ifdef HAVE_SCSI_SG_H
15592 #include <scsi/sg.h>
15593 #endif
15595 if test "x$ac_cv_member_scsireq_t_cmd" = xyes; then :
15597 cat >>confdefs.h <<_ACEOF
15598 #define HAVE_SCSIREQ_T_CMD 1
15599 _ACEOF
15603 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>
15604 #ifdef HAVE_SCSI_SG_H
15605 #include <scsi/sg.h>
15606 #endif
15608 if test "x$ac_cv_member_sg_io_hdr_t_interface_id" = xyes; then :
15610 cat >>confdefs.h <<_ACEOF
15611 #define HAVE_SG_IO_HDR_T_INTERFACE_ID 1
15612 _ACEOF
15618 ac_fn_c_check_member "$LINENO" "siginfo_t" "si_fd" "ac_cv_member_siginfo_t_si_fd" "#include <signal.h>
15620 if test "x$ac_cv_member_siginfo_t_si_fd" = xyes; then :
15622 cat >>confdefs.h <<_ACEOF
15623 #define HAVE_SIGINFO_T_SI_FD 1
15624 _ACEOF
15630 ac_fn_c_check_member "$LINENO" "struct mtget" "mt_blksiz" "ac_cv_member_struct_mtget_mt_blksiz" "#include <sys/types.h>
15631 #ifdef HAVE_SYS_MTIO_H
15632 #include <sys/mtio.h>
15633 #endif
15635 if test "x$ac_cv_member_struct_mtget_mt_blksiz" = xyes; then :
15637 cat >>confdefs.h <<_ACEOF
15638 #define HAVE_STRUCT_MTGET_MT_BLKSIZ 1
15639 _ACEOF
15643 ac_fn_c_check_member "$LINENO" "struct mtget" "mt_gstat" "ac_cv_member_struct_mtget_mt_gstat" "#include <sys/types.h>
15644 #ifdef HAVE_SYS_MTIO_H
15645 #include <sys/mtio.h>
15646 #endif
15648 if test "x$ac_cv_member_struct_mtget_mt_gstat" = xyes; then :
15650 cat >>confdefs.h <<_ACEOF
15651 #define HAVE_STRUCT_MTGET_MT_GSTAT 1
15652 _ACEOF
15656 ac_fn_c_check_member "$LINENO" "struct mtget" "mt_blkno" "ac_cv_member_struct_mtget_mt_blkno" "#include <sys/types.h>
15657 #ifdef HAVE_SYS_MTIO_H
15658 #include <sys/mtio.h>
15659 #endif
15661 if test "x$ac_cv_member_struct_mtget_mt_blkno" = xyes; then :
15663 cat >>confdefs.h <<_ACEOF
15664 #define HAVE_STRUCT_MTGET_MT_BLKNO 1
15665 _ACEOF
15671 ac_fn_c_check_member "$LINENO" "struct option" "name" "ac_cv_member_struct_option_name" "#ifdef HAVE_GETOPT_H
15672 #include <getopt.h>
15673 #endif
15675 if test "x$ac_cv_member_struct_option_name" = xyes; then :
15677 cat >>confdefs.h <<_ACEOF
15678 #define HAVE_STRUCT_OPTION_NAME 1
15679 _ACEOF
15685 ac_fn_c_check_member "$LINENO" "struct stat" "st_blocks" "ac_cv_member_struct_stat_st_blocks" "$ac_includes_default"
15686 if test "x$ac_cv_member_struct_stat_st_blocks" = xyes; then :
15688 cat >>confdefs.h <<_ACEOF
15689 #define HAVE_STRUCT_STAT_ST_BLOCKS 1
15690 _ACEOF
15694 ac_fn_c_check_member "$LINENO" "struct stat" "st_mtim" "ac_cv_member_struct_stat_st_mtim" "$ac_includes_default"
15695 if test "x$ac_cv_member_struct_stat_st_mtim" = xyes; then :
15697 cat >>confdefs.h <<_ACEOF
15698 #define HAVE_STRUCT_STAT_ST_MTIM 1
15699 _ACEOF
15703 ac_fn_c_check_member "$LINENO" "struct stat" "st_mtimespec" "ac_cv_member_struct_stat_st_mtimespec" "$ac_includes_default"
15704 if test "x$ac_cv_member_struct_stat_st_mtimespec" = xyes; then :
15706 cat >>confdefs.h <<_ACEOF
15707 #define HAVE_STRUCT_STAT_ST_MTIMESPEC 1
15708 _ACEOF
15712 ac_fn_c_check_member "$LINENO" "struct stat" "st_ctim" "ac_cv_member_struct_stat_st_ctim" "$ac_includes_default"
15713 if test "x$ac_cv_member_struct_stat_st_ctim" = xyes; then :
15715 cat >>confdefs.h <<_ACEOF
15716 #define HAVE_STRUCT_STAT_ST_CTIM 1
15717 _ACEOF
15721 ac_fn_c_check_member "$LINENO" "struct stat" "st_ctimespec" "ac_cv_member_struct_stat_st_ctimespec" "$ac_includes_default"
15722 if test "x$ac_cv_member_struct_stat_st_ctimespec" = xyes; then :
15724 cat >>confdefs.h <<_ACEOF
15725 #define HAVE_STRUCT_STAT_ST_CTIMESPEC 1
15726 _ACEOF
15730 ac_fn_c_check_member "$LINENO" "struct stat" "st_atim" "ac_cv_member_struct_stat_st_atim" "$ac_includes_default"
15731 if test "x$ac_cv_member_struct_stat_st_atim" = xyes; then :
15733 cat >>confdefs.h <<_ACEOF
15734 #define HAVE_STRUCT_STAT_ST_ATIM 1
15735 _ACEOF
15739 ac_fn_c_check_member "$LINENO" "struct stat" "st_atimespec" "ac_cv_member_struct_stat_st_atimespec" "$ac_includes_default"
15740 if test "x$ac_cv_member_struct_stat_st_atimespec" = xyes; then :
15742 cat >>confdefs.h <<_ACEOF
15743 #define HAVE_STRUCT_STAT_ST_ATIMESPEC 1
15744 _ACEOF
15748 ac_fn_c_check_member "$LINENO" "struct stat" "st_birthtime" "ac_cv_member_struct_stat_st_birthtime" "$ac_includes_default"
15749 if test "x$ac_cv_member_struct_stat_st_birthtime" = xyes; then :
15751 cat >>confdefs.h <<_ACEOF
15752 #define HAVE_STRUCT_STAT_ST_BIRTHTIME 1
15753 _ACEOF
15757 ac_fn_c_check_member "$LINENO" "struct stat" "st_birthtim" "ac_cv_member_struct_stat_st_birthtim" "$ac_includes_default"
15758 if test "x$ac_cv_member_struct_stat_st_birthtim" = xyes; then :
15760 cat >>confdefs.h <<_ACEOF
15761 #define HAVE_STRUCT_STAT_ST_BIRTHTIM 1
15762 _ACEOF
15766 ac_fn_c_check_member "$LINENO" "struct stat" "st_birthtimespec" "ac_cv_member_struct_stat_st_birthtimespec" "$ac_includes_default"
15767 if test "x$ac_cv_member_struct_stat_st_birthtimespec" = xyes; then :
15769 cat >>confdefs.h <<_ACEOF
15770 #define HAVE_STRUCT_STAT_ST_BIRTHTIMESPEC 1
15771 _ACEOF
15775 ac_fn_c_check_member "$LINENO" "struct stat" "__st_birthtime" "ac_cv_member_struct_stat___st_birthtime" "$ac_includes_default"
15776 if test "x$ac_cv_member_struct_stat___st_birthtime" = xyes; then :
15778 cat >>confdefs.h <<_ACEOF
15779 #define HAVE_STRUCT_STAT___ST_BIRTHTIME 1
15780 _ACEOF
15784 ac_fn_c_check_member "$LINENO" "struct stat" "__st_birthtim" "ac_cv_member_struct_stat___st_birthtim" "$ac_includes_default"
15785 if test "x$ac_cv_member_struct_stat___st_birthtim" = xyes; then :
15787 cat >>confdefs.h <<_ACEOF
15788 #define HAVE_STRUCT_STAT___ST_BIRTHTIM 1
15789 _ACEOF
15795 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
15796 #include <sys/types.h>
15797 #endif
15798 #ifdef HAVE_NETINET_IN_H
15799 #include <netinet/in.h>
15800 #endif
15802 if test "x$ac_cv_member_struct_sockaddr_in6_sin6_scope_id" = xyes; then :
15804 cat >>confdefs.h <<_ACEOF
15805 #define HAVE_STRUCT_SOCKADDR_IN6_SIN6_SCOPE_ID 1
15806 _ACEOF
15812 ac_fn_c_check_type "$LINENO" "struct __res_state" "ac_cv_type_struct___res_state" "#ifdef HAVE_RESOLV_H
15813 #include <resolv.h>
15814 #endif
15816 if test "x$ac_cv_type_struct___res_state" = xyes; then :
15818 cat >>confdefs.h <<_ACEOF
15819 #define HAVE_STRUCT___RES_STATE 1
15820 _ACEOF
15826 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
15827 #include <resolv.h>
15828 #endif
15830 if test "x$ac_cv_member_struct___res_state__u__ext_nscount6" = xyes; then :
15832 cat >>confdefs.h <<_ACEOF
15833 #define HAVE_STRUCT___RES_STATE__U__EXT_NSCOUNT6 1
15834 _ACEOF
15840 ac_fn_c_check_member "$LINENO" "ns_msg" "_msg_ptr" "ac_cv_member_ns_msg__msg_ptr" "#ifdef HAVE_SYS_TYPES_H
15841 #include <sys/types.h>
15842 #endif
15843 #ifdef HAVE_NETINET_IN_H
15844 # include <netinet/in.h>
15845 #endif
15846 #ifdef HAVE_ARPA_NAMESER_H
15847 # include <arpa/nameser.h>
15848 #endif
15850 if test "x$ac_cv_member_ns_msg__msg_ptr" = xyes; then :
15852 cat >>confdefs.h <<_ACEOF
15853 #define HAVE_NS_MSG__MSG_PTR 1
15854 _ACEOF
15860 ac_fn_c_check_member "$LINENO" "struct icmpstat" "icps_inhist" "ac_cv_member_struct_icmpstat_icps_inhist" "#ifdef HAVE_SYS_TYPES_H
15861 #include <sys/types.h>
15862 #endif
15863 #ifdef HAVE_NETINET_IP_H
15864 #include <netinet/ip.h>
15865 #endif
15866 #ifdef HAVE_NETINET_IP_ICMP_H
15867 #include <netinet/ip_icmp.h>
15868 #endif
15869 #ifdef HAVE_NETINET_ICMP_VAR_H
15870 #include <netinet/icmp_var.h>
15871 #endif
15873 if test "x$ac_cv_member_struct_icmpstat_icps_inhist" = xyes; then :
15875 cat >>confdefs.h <<_ACEOF
15876 #define HAVE_STRUCT_ICMPSTAT_ICPS_INHIST 1
15877 _ACEOF
15883 ac_fn_c_check_member "$LINENO" "struct icmpstat" "icps_outhist" "ac_cv_member_struct_icmpstat_icps_outhist" "#ifdef HAVE_SYS_TYPES_H
15884 #include <sys/types.h>
15885 #endif
15886 #ifdef HAVE_ALIAS_H
15887 #include <alias.h>
15888 #endif
15889 #ifdef HAVE_SYS_SOCKET_H
15890 #include <sys/socket.h>
15891 #endif
15892 #ifdef HAVE_SYS_SOCKETVAR_H
15893 #include <sys/socketvar.h>
15894 #endif
15895 #ifdef HAVE_SYS_TIMEOUT_H
15896 #include <sys/timeout.h>
15897 #endif
15898 #ifdef HAVE_NETINET_IN_H
15899 #include <netinet/in.h>
15900 #endif
15901 #ifdef HAVE_NETINET_IN_SYSTM_H
15902 #include <netinet/in_systm.h>
15903 #endif
15904 #ifdef HAVE_NETINET_IP_H
15905 #include <netinet/ip.h>
15906 #endif
15907 #ifdef HAVE_NETINET_IP_VAR_H
15908 #include <netinet/ip_var.h>
15909 #endif
15910 #ifdef HAVE_NETINET_IP_ICMP_H
15911 #include <netinet/ip_icmp.h>
15912 #endif
15913 #ifdef HAVE_NETINET_ICMP_VAR_H
15914 #include <netinet/icmp_var.h>
15915 #endif
15917 if test "x$ac_cv_member_struct_icmpstat_icps_outhist" = xyes; then :
15919 cat >>confdefs.h <<_ACEOF
15920 #define HAVE_STRUCT_ICMPSTAT_ICPS_OUTHIST 1
15921 _ACEOF
15927 ac_fn_c_check_member "$LINENO" "struct ipstat" "ips_total" "ac_cv_member_struct_ipstat_ips_total" "#ifdef HAVE_SYS_TYPES_H
15928 #include <sys/types.h>
15929 #endif
15930 #ifdef HAVE_SYS_SOCKETVAR_H
15931 #include <sys/socketvar.h>
15932 #endif
15933 #ifdef HAVE_NETINET_IN_H
15934 #include <netinet/in.h>
15935 #endif
15936 #ifdef HAVE_NETINET_IP_VAR_H
15937 #include <netinet/ip_var.h>
15938 #endif
15940 if test "x$ac_cv_member_struct_ipstat_ips_total" = xyes; then :
15942 cat >>confdefs.h <<_ACEOF
15943 #define HAVE_STRUCT_IPSTAT_IPS_TOTAL 1
15944 _ACEOF
15950 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
15951 #include <netinet/ip_var.h>
15952 #endif
15954 if test "x$ac_cv_member_struct_ip_stats_ips_total" = xyes; then :
15956 cat >>confdefs.h <<_ACEOF
15957 #define HAVE_STRUCT_IP_STATS_IPS_TOTAL 1
15958 _ACEOF
15964 ac_fn_c_check_member "$LINENO" "struct tcpstat" "tcps_connattempt" "ac_cv_member_struct_tcpstat_tcps_connattempt" "#ifdef HAVE_SYS_TYPES_H
15965 #include <sys/types.h>
15966 #endif
15967 #ifdef HAVE_SYS_SOCKETVAR_H
15968 #include <sys/socketvar.h>
15969 #endif
15970 #ifdef HAVE_NETINET_IN_H
15971 #include <netinet/in.h>
15972 #endif
15973 #ifdef HAVE_NETINET_TCP_H
15974 #include <netinet/tcp.h>
15975 #endif
15976 #ifdef HAVE_NETINET_TCP_VAR_H
15977 #include <netinet/tcp_var.h>
15978 #endif
15980 if test "x$ac_cv_member_struct_tcpstat_tcps_connattempt" = xyes; then :
15982 cat >>confdefs.h <<_ACEOF
15983 #define HAVE_STRUCT_TCPSTAT_TCPS_CONNATTEMPT 1
15984 _ACEOF
15990 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
15991 #include <netinet/tcp_var.h>
15992 #endif
15994 if test "x$ac_cv_member_struct_tcp_stats_tcps_connattempt" = xyes; then :
15996 cat >>confdefs.h <<_ACEOF
15997 #define HAVE_STRUCT_TCP_STATS_TCPS_CONNATTEMPT 1
15998 _ACEOF
16004 ac_fn_c_check_member "$LINENO" "struct udpstat" "udps_ipackets" "ac_cv_member_struct_udpstat_udps_ipackets" "#ifdef HAVE_SYS_TYPES_H
16005 #include <sys/types.h>
16006 #endif
16007 #ifdef HAVE_NETINET_IN_H
16008 #include <netinet/in.h>
16009 #endif
16010 #ifdef HAVE_NETINET_IP_VAR_H
16011 #include <netinet/ip_var.h>
16012 #endif
16013 #ifdef HAVE_NETINET_UDP_H
16014 #include <netinet/udp.h>
16015 #endif
16016 #ifdef HAVE_NETINET_UDP_VAR_H
16017 #include <netinet/udp_var.h>
16018 #endif
16020 if test "x$ac_cv_member_struct_udpstat_udps_ipackets" = xyes; then :
16022 cat >>confdefs.h <<_ACEOF
16023 #define HAVE_STRUCT_UDPSTAT_UDPS_IPACKETS 1
16024 _ACEOF
16030 ac_fn_c_check_member "$LINENO" "struct ifreq" "ifr_hwaddr" "ac_cv_member_struct_ifreq_ifr_hwaddr" "#ifdef HAVE_SYS_TYPES_H
16031 #include <sys/types.h>
16032 #endif
16033 #ifdef HAVE_NET_IF_H
16034 # include <net/if.h>
16035 #endif
16037 if test "x$ac_cv_member_struct_ifreq_ifr_hwaddr" = xyes; then :
16039 cat >>confdefs.h <<_ACEOF
16040 #define HAVE_STRUCT_IFREQ_IFR_HWADDR 1
16041 _ACEOF
16047 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for timezone variable" >&5
16048 $as_echo_n "checking for timezone variable... " >&6; }
16049 if ${ac_cv_have_timezone+:} false; then :
16050 $as_echo_n "(cached) " >&6
16051 else
16052 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
16053 /* end confdefs.h. */
16054 #include <time.h>
16056 main ()
16058 timezone = 1
16060 return 0;
16062 _ACEOF
16063 if ac_fn_c_try_link "$LINENO"; then :
16064 ac_cv_have_timezone="yes"
16065 else
16066 ac_cv_have_timezone="no"
16068 rm -f core conftest.err conftest.$ac_objext \
16069 conftest$ac_exeext conftest.$ac_ext
16071 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_have_timezone" >&5
16072 $as_echo "$ac_cv_have_timezone" >&6; }
16073 if test "$ac_cv_have_timezone" = "yes"
16074 then
16076 $as_echo "#define HAVE_TIMEZONE 1" >>confdefs.h
16079 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for daylight variable" >&5
16080 $as_echo_n "checking for daylight variable... " >&6; }
16081 if ${ac_cv_have_daylight+:} false; then :
16082 $as_echo_n "(cached) " >&6
16083 else
16084 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
16085 /* end confdefs.h. */
16086 #include <time.h>
16088 main ()
16090 daylight = 1
16092 return 0;
16094 _ACEOF
16095 if ac_fn_c_try_link "$LINENO"; then :
16096 ac_cv_have_daylight="yes"
16097 else
16098 ac_cv_have_daylight="no"
16100 rm -f core conftest.err conftest.$ac_objext \
16101 conftest$ac_exeext conftest.$ac_ext
16103 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_have_daylight" >&5
16104 $as_echo "$ac_cv_have_daylight" >&6; }
16105 if test "$ac_cv_have_daylight" = "yes"
16106 then
16108 $as_echo "#define HAVE_DAYLIGHT 1" >>confdefs.h
16112 ac_save_LIBS="$LIBS"
16113 LIBS="$LIBS -lm"
16114 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for isfinite" >&5
16115 $as_echo_n "checking for isfinite... " >&6; }
16116 if ${ac_cv_have_isfinite+:} false; then :
16117 $as_echo_n "(cached) " >&6
16118 else
16119 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
16120 /* end confdefs.h. */
16121 #define _GNU_SOURCE
16122 #include <math.h>
16124 main ()
16126 float f = 0.0; return isfinite(f)
16128 return 0;
16130 _ACEOF
16131 if ac_fn_c_try_link "$LINENO"; then :
16132 ac_cv_have_isfinite="yes"
16133 else
16134 ac_cv_have_isfinite="no"
16136 rm -f core conftest.err conftest.$ac_objext \
16137 conftest$ac_exeext conftest.$ac_ext
16139 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_have_isfinite" >&5
16140 $as_echo "$ac_cv_have_isfinite" >&6; }
16141 if test "$ac_cv_have_isfinite" = "yes"
16142 then
16144 $as_echo "#define HAVE_ISFINITE 1" >>confdefs.h
16148 ac_save_LIBS="$LIBS"
16149 LIBS="$LIBS -lm"
16150 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for isinf" >&5
16151 $as_echo_n "checking for isinf... " >&6; }
16152 if ${ac_cv_have_isinf+:} false; then :
16153 $as_echo_n "(cached) " >&6
16154 else
16155 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
16156 /* end confdefs.h. */
16157 #include <math.h>
16159 main ()
16161 float f = 0.0; return isinf(f)
16163 return 0;
16165 _ACEOF
16166 if ac_fn_c_try_link "$LINENO"; then :
16167 ac_cv_have_isinf="yes"
16168 else
16169 ac_cv_have_isinf="no"
16171 rm -f core conftest.err conftest.$ac_objext \
16172 conftest$ac_exeext conftest.$ac_ext
16174 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_have_isinf" >&5
16175 $as_echo "$ac_cv_have_isinf" >&6; }
16176 if test "$ac_cv_have_isinf" = "yes"
16177 then
16179 $as_echo "#define HAVE_ISINF 1" >>confdefs.h
16183 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for isnan" >&5
16184 $as_echo_n "checking for isnan... " >&6; }
16185 if ${ac_cv_have_isnan+:} false; then :
16186 $as_echo_n "(cached) " >&6
16187 else
16188 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
16189 /* end confdefs.h. */
16190 #include <math.h>
16192 main ()
16194 float f = 0.0; return isnan(f)
16196 return 0;
16198 _ACEOF
16199 if ac_fn_c_try_link "$LINENO"; then :
16200 ac_cv_have_isnan="yes"
16201 else
16202 ac_cv_have_isnan="no"
16204 rm -f core conftest.err conftest.$ac_objext \
16205 conftest$ac_exeext conftest.$ac_ext
16207 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_have_isnan" >&5
16208 $as_echo "$ac_cv_have_isnan" >&6; }
16209 if test "$ac_cv_have_isnan" = "yes"
16210 then
16212 $as_echo "#define HAVE_ISNAN 1" >>confdefs.h
16215 LIBS="$ac_save_LIBS"
16218 case $host_cpu in
16219 *i[3456789]86*) { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we need to define __i386__" >&5
16220 $as_echo_n "checking whether we need to define __i386__... " >&6; }
16221 if ${ac_cv_cpp_def___i386__+:} false; then :
16222 $as_echo_n "(cached) " >&6
16223 else
16224 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
16225 /* end confdefs.h. */
16226 #ifndef __i386__
16228 #endif
16229 _ACEOF
16230 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
16231 $EGREP "yes" >/dev/null 2>&1; then :
16232 ac_cv_cpp_def___i386__=yes
16233 else
16234 ac_cv_cpp_def___i386__=no
16236 rm -f conftest*
16239 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cpp_def___i386__" >&5
16240 $as_echo "$ac_cv_cpp_def___i386__" >&6; }
16241 if test "x$ac_cv_cpp_def___i386__" = xyes; then :
16242 CFLAGS="$CFLAGS -D__i386__"
16243 LINTFLAGS="$LINTFLAGS -D__i386__"
16244 fi ;;
16245 *x86_64*) { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we need to define __x86_64__" >&5
16246 $as_echo_n "checking whether we need to define __x86_64__... " >&6; }
16247 if ${ac_cv_cpp_def___x86_64__+:} false; then :
16248 $as_echo_n "(cached) " >&6
16249 else
16250 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
16251 /* end confdefs.h. */
16252 #ifndef __x86_64__
16254 #endif
16255 _ACEOF
16256 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
16257 $EGREP "yes" >/dev/null 2>&1; then :
16258 ac_cv_cpp_def___x86_64__=yes
16259 else
16260 ac_cv_cpp_def___x86_64__=no
16262 rm -f conftest*
16265 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cpp_def___x86_64__" >&5
16266 $as_echo "$ac_cv_cpp_def___x86_64__" >&6; }
16267 if test "x$ac_cv_cpp_def___x86_64__" = xyes; then :
16268 CFLAGS="$CFLAGS -D__x86_64__"
16269 LINTFLAGS="$LINTFLAGS -D__x86_64__"
16270 fi ;;
16271 *sparc64*) { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we need to define __sparc64__" >&5
16272 $as_echo_n "checking whether we need to define __sparc64__... " >&6; }
16273 if ${ac_cv_cpp_def___sparc64__+:} false; then :
16274 $as_echo_n "(cached) " >&6
16275 else
16276 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
16277 /* end confdefs.h. */
16278 #ifndef __sparc64__
16280 #endif
16281 _ACEOF
16282 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
16283 $EGREP "yes" >/dev/null 2>&1; then :
16284 ac_cv_cpp_def___sparc64__=yes
16285 else
16286 ac_cv_cpp_def___sparc64__=no
16288 rm -f conftest*
16291 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cpp_def___sparc64__" >&5
16292 $as_echo "$ac_cv_cpp_def___sparc64__" >&6; }
16293 if test "x$ac_cv_cpp_def___sparc64__" = xyes; then :
16294 CFLAGS="$CFLAGS -D__sparc64__"
16295 LINTFLAGS="$LINTFLAGS -D__sparc64__"
16296 fi ;;
16297 *sparc*) { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we need to define __sparc__" >&5
16298 $as_echo_n "checking whether we need to define __sparc__... " >&6; }
16299 if ${ac_cv_cpp_def___sparc__+:} false; then :
16300 $as_echo_n "(cached) " >&6
16301 else
16302 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
16303 /* end confdefs.h. */
16304 #ifndef __sparc__
16306 #endif
16307 _ACEOF
16308 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
16309 $EGREP "yes" >/dev/null 2>&1; then :
16310 ac_cv_cpp_def___sparc__=yes
16311 else
16312 ac_cv_cpp_def___sparc__=no
16314 rm -f conftest*
16317 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cpp_def___sparc__" >&5
16318 $as_echo "$ac_cv_cpp_def___sparc__" >&6; }
16319 if test "x$ac_cv_cpp_def___sparc__" = xyes; then :
16320 CFLAGS="$CFLAGS -D__sparc__"
16321 LINTFLAGS="$LINTFLAGS -D__sparc__"
16322 fi ;;
16323 *powerpc64*) { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we need to define __powerpc64__" >&5
16324 $as_echo_n "checking whether we need to define __powerpc64__... " >&6; }
16325 if ${ac_cv_cpp_def___powerpc64__+:} false; then :
16326 $as_echo_n "(cached) " >&6
16327 else
16328 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
16329 /* end confdefs.h. */
16330 #ifndef __powerpc64__
16332 #endif
16333 _ACEOF
16334 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
16335 $EGREP "yes" >/dev/null 2>&1; then :
16336 ac_cv_cpp_def___powerpc64__=yes
16337 else
16338 ac_cv_cpp_def___powerpc64__=no
16340 rm -f conftest*
16343 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cpp_def___powerpc64__" >&5
16344 $as_echo "$ac_cv_cpp_def___powerpc64__" >&6; }
16345 if test "x$ac_cv_cpp_def___powerpc64__" = xyes; then :
16346 CFLAGS="$CFLAGS -D__powerpc64__"
16347 LINTFLAGS="$LINTFLAGS -D__powerpc64__"
16348 fi ;;
16349 *powerpc*) { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we need to define __powerpc__" >&5
16350 $as_echo_n "checking whether we need to define __powerpc__... " >&6; }
16351 if ${ac_cv_cpp_def___powerpc__+:} false; then :
16352 $as_echo_n "(cached) " >&6
16353 else
16354 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
16355 /* end confdefs.h. */
16356 #ifndef __powerpc__
16358 #endif
16359 _ACEOF
16360 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
16361 $EGREP "yes" >/dev/null 2>&1; then :
16362 ac_cv_cpp_def___powerpc__=yes
16363 else
16364 ac_cv_cpp_def___powerpc__=no
16366 rm -f conftest*
16369 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cpp_def___powerpc__" >&5
16370 $as_echo "$ac_cv_cpp_def___powerpc__" >&6; }
16371 if test "x$ac_cv_cpp_def___powerpc__" = xyes; then :
16372 CFLAGS="$CFLAGS -D__powerpc__"
16373 LINTFLAGS="$LINTFLAGS -D__powerpc__"
16374 fi ;;
16375 *aarch64*) { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we need to define __aarch64__" >&5
16376 $as_echo_n "checking whether we need to define __aarch64__... " >&6; }
16377 if ${ac_cv_cpp_def___aarch64__+:} false; then :
16378 $as_echo_n "(cached) " >&6
16379 else
16380 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
16381 /* end confdefs.h. */
16382 #ifndef __aarch64__
16384 #endif
16385 _ACEOF
16386 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
16387 $EGREP "yes" >/dev/null 2>&1; then :
16388 ac_cv_cpp_def___aarch64__=yes
16389 else
16390 ac_cv_cpp_def___aarch64__=no
16392 rm -f conftest*
16395 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cpp_def___aarch64__" >&5
16396 $as_echo "$ac_cv_cpp_def___aarch64__" >&6; }
16397 if test "x$ac_cv_cpp_def___aarch64__" = xyes; then :
16398 CFLAGS="$CFLAGS -D__aarch64__"
16399 LINTFLAGS="$LINTFLAGS -D__aarch64__"
16400 fi ;;
16401 *arm*) { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we need to define __arm__" >&5
16402 $as_echo_n "checking whether we need to define __arm__... " >&6; }
16403 if ${ac_cv_cpp_def___arm__+:} false; then :
16404 $as_echo_n "(cached) " >&6
16405 else
16406 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
16407 /* end confdefs.h. */
16408 #ifndef __arm__
16410 #endif
16411 _ACEOF
16412 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
16413 $EGREP "yes" >/dev/null 2>&1; then :
16414 ac_cv_cpp_def___arm__=yes
16415 else
16416 ac_cv_cpp_def___arm__=no
16418 rm -f conftest*
16421 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cpp_def___arm__" >&5
16422 $as_echo "$ac_cv_cpp_def___arm__" >&6; }
16423 if test "x$ac_cv_cpp_def___arm__" = xyes; then :
16424 CFLAGS="$CFLAGS -D__arm__"
16425 LINTFLAGS="$LINTFLAGS -D__arm__"
16426 fi ;;
16427 esac
16429 case $host_vendor in
16430 *sun*) { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we need to define __sun__" >&5
16431 $as_echo_n "checking whether we need to define __sun__... " >&6; }
16432 if ${ac_cv_cpp_def___sun__+:} false; then :
16433 $as_echo_n "(cached) " >&6
16434 else
16435 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
16436 /* end confdefs.h. */
16437 #ifndef __sun__
16439 #endif
16440 _ACEOF
16441 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
16442 $EGREP "yes" >/dev/null 2>&1; then :
16443 ac_cv_cpp_def___sun__=yes
16444 else
16445 ac_cv_cpp_def___sun__=no
16447 rm -f conftest*
16450 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cpp_def___sun__" >&5
16451 $as_echo "$ac_cv_cpp_def___sun__" >&6; }
16452 if test "x$ac_cv_cpp_def___sun__" = xyes; then :
16453 CFLAGS="$CFLAGS -D__sun__"
16454 LINTFLAGS="$LINTFLAGS -D__sun__"
16455 fi ;;
16456 esac
16462 ac_config_commands="$ac_config_commands include/stamp-h"
16464 $as_echo_n "creating Makefile rules..." >&6
16466 ALL_VARS_RULES="OPENGL_LIBS = $OPENGL_LIBS
16467 SOCKET_LIBS = $SOCKET_LIBS
16468 COREFOUNDATION_LIBS = $COREFOUNDATION_LIBS
16469 IOKIT_LIBS = $IOKIT_LIBS
16470 FORCEFEEDBACK_LIBS = $FORCEFEEDBACK_LIBS
16471 APPLICATIONSERVICES_LIBS = $APPLICATIONSERVICES_LIBS
16472 CORESERVICES_LIBS = $CORESERVICES_LIBS
16473 APPKIT_LIBS = $APPKIT_LIBS
16474 DISKARBITRATION_LIBS = $DISKARBITRATION_LIBS
16475 SECURITY_LIBS = $SECURITY_LIBS
16476 COREAUDIO_LIBS = $COREAUDIO_LIBS
16477 OPENAL_LIBS = $OPENAL_LIBS
16478 OPENCL_LIBS = $OPENCL_LIBS
16479 QUICKTIME_LIBS = $QUICKTIME_LIBS
16480 CARBON_LIBS = $CARBON_LIBS
16481 PTHREAD_LIBS = $PTHREAD_LIBS
16482 X_CFLAGS = $X_CFLAGS
16483 X_PRE_LIBS = $X_PRE_LIBS
16484 X_LIBS = $X_LIBS
16485 X_EXTRA_LIBS = $X_EXTRA_LIBS
16486 XML2_CFLAGS = $XML2_CFLAGS
16487 XML2_LIBS = $XML2_LIBS
16488 XSLT_CFLAGS = $XSLT_CFLAGS
16489 XSLT_LIBS = $XSLT_LIBS
16490 DBUS_CFLAGS = $DBUS_CFLAGS
16491 DBUS_LIBS = $DBUS_LIBS
16492 HAL_CFLAGS = $HAL_CFLAGS
16493 HAL_LIBS = $HAL_LIBS
16494 GNUTLS_CFLAGS = $GNUTLS_CFLAGS
16495 GNUTLS_LIBS = $GNUTLS_LIBS
16496 SANE_CFLAGS = $SANE_CFLAGS
16497 SANE_LIBS = $SANE_LIBS
16498 GPHOTO2_CFLAGS = $GPHOTO2_CFLAGS
16499 GPHOTO2_LIBS = $GPHOTO2_LIBS
16500 GPHOTO2_PORT_CFLAGS = $GPHOTO2_PORT_CFLAGS
16501 GPHOTO2_PORT_LIBS = $GPHOTO2_PORT_LIBS
16502 RESOLV_LIBS = $RESOLV_LIBS
16503 LCMS2_CFLAGS = $LCMS2_CFLAGS
16504 LCMS2_LIBS = $LCMS2_LIBS
16505 FREETYPE_CFLAGS = $FREETYPE_CFLAGS
16506 FREETYPE_LIBS = $FREETYPE_LIBS
16507 Z_LIBS = $Z_LIBS
16508 GETTEXTPO_LIBS = $GETTEXTPO_LIBS
16509 GSTREAMER_CFLAGS = $GSTREAMER_CFLAGS
16510 GSTREAMER_LIBS = $GSTREAMER_LIBS
16511 ALSA_LIBS = $ALSA_LIBS
16512 OSS4_CFLAGS = $OSS4_CFLAGS
16513 CAPI20_CFLAGS = $CAPI20_CFLAGS
16514 CAPI20_LIBS = $CAPI20_LIBS
16515 CUPS_CFLAGS = $CUPS_CFLAGS
16516 FONTCONFIG_CFLAGS = $FONTCONFIG_CFLAGS
16517 FONTCONFIG_LIBS = $FONTCONFIG_LIBS
16518 JPEG_CFLAGS = $JPEG_CFLAGS
16519 JPEG_LIBS = $JPEG_LIBS
16520 PNG_CFLAGS = $PNG_CFLAGS
16521 PNG_LIBS = $PNG_LIBS
16522 TIFF_CFLAGS = $TIFF_CFLAGS
16523 TIFF_LIBS = $TIFF_LIBS
16524 MPG123_CFLAGS = $MPG123_CFLAGS
16525 MPG123_LIBS = $MPG123_LIBS
16526 KSTAT_LIBS = $KSTAT_LIBS
16527 PROCSTAT_LIBS = $PROCSTAT_LIBS
16528 DL_LIBS = $DL_LIBS
16529 POLL_LIBS = $POLL_LIBS
16530 RT_LIBS = $RT_LIBS
16531 LDAP_LIBS = $LDAP_LIBS
16536 wine_fn_append_rule "
16537 # Rules automatically generated by configure
16539 CLEAN_FILES = *.o *.a *.so *.res *.fake *.ok *.tab.[ch] *.yy.c
16541 .INIT: Makefile
16542 .MAKEFILEDEPS:
16543 all: Makefile
16544 Makefile: $srcdir/Makefile.in $srcdir/Make.vars.in config.status \$(MAKEDEP)
16545 @./config.status Make.tmp Makefile && \$(MAKEDEP) ."
16547 test "$srcdir" = . && wine_fn_append_rule "all: .gitignore
16548 .gitignore: config.status
16549 @./config.status .gitignore"
16551 test -n "$CROSSTARGET" || wine_fn_append_rule "crosstest:
16552 @echo \"crosstest is not supported (mingw not installed?)\" && false"
16554 if test "x$enable_fonts" != xno; then
16555 ac_config_links="$ac_config_links fonts/marlett.ttf:fonts/marlett.ttf"
16556 ac_config_links="$ac_config_links fonts/symbol.ttf:fonts/symbol.ttf"
16557 ac_config_links="$ac_config_links fonts/tahoma.ttf:fonts/tahoma.ttf"
16558 ac_config_links="$ac_config_links fonts/tahomabd.ttf:fonts/tahomabd.ttf"
16559 test "$srcdir" = "." || wine_fn_config_symlink fonts/marlett.ttf fonts/symbol.ttf fonts/tahoma.ttf fonts/tahomabd.ttf
16561 ac_config_links="$ac_config_links loader/l_intl.nls:loader/l_intl.nls"
16562 test "$srcdir" = "." || wine_fn_config_symlink loader/l_intl.nls
16563 ac_config_links="$ac_config_links po/LINGUAS:po/LINGUAS"
16564 test "$srcdir" = "." || wine_fn_config_symlink po/LINGUAS
16565 ac_config_links="$ac_config_links wine:tools/winewrapper"
16566 wine_fn_config_symlink wine
16567 if test "x$enable_win64" != xno; then
16568 ac_config_links="$ac_config_links wine64:tools/winewrapper"
16569 wine_fn_config_symlink wine64
16572 wine_fn_config_dll acledit enable_acledit
16573 wine_fn_config_dll aclui enable_aclui implib
16574 wine_fn_config_dll activeds enable_activeds implib
16575 wine_fn_config_dll actxprxy enable_actxprxy clean
16576 wine_fn_config_lib adsiid
16577 wine_fn_config_dll advapi32 enable_advapi32 clean,implib
16578 wine_fn_config_test dlls/advapi32/tests advapi32_test
16579 wine_fn_config_dll advpack enable_advpack implib
16580 wine_fn_config_test dlls/advpack/tests advpack_test
16581 wine_fn_config_dll amstream enable_amstream clean
16582 wine_fn_config_test dlls/amstream/tests amstream_test
16583 wine_fn_config_dll api-ms-win-core-com-l1-1-0 enable_api_ms_win_core_com_l1_1_0
16584 wine_fn_config_dll api-ms-win-core-debug-l1-1-1 enable_api_ms_win_core_debug_l1_1_1
16585 wine_fn_config_dll api-ms-win-core-errorhandling-l1-1-1 enable_api_ms_win_core_errorhandling_l1_1_1
16586 wine_fn_config_dll api-ms-win-core-interlocked-l1-2-0 enable_api_ms_win_core_interlocked_l1_2_0
16587 wine_fn_config_dll api-ms-win-core-localregistry-l1-1-0 enable_api_ms_win_core_localregistry_l1_1_0
16588 wine_fn_config_dll api-ms-win-core-processthreads-l1-1-0 enable_api_ms_win_core_processthreads_l1_1_0
16589 wine_fn_config_dll api-ms-win-core-processthreads-l1-1-1 enable_api_ms_win_core_processthreads_l1_1_1
16590 wine_fn_config_dll api-ms-win-core-profile-l1-1-0 enable_api_ms_win_core_profile_l1_1_0
16591 wine_fn_config_dll api-ms-win-core-string-l1-1-0 enable_api_ms_win_core_string_l1_1_0
16592 wine_fn_config_dll api-ms-win-core-synch-l1-2-0 enable_api_ms_win_core_synch_l1_2_0
16593 wine_fn_config_dll api-ms-win-core-sysinfo-l1-2-0 enable_api_ms_win_core_sysinfo_l1_2_0
16594 wine_fn_config_dll api-ms-win-core-util-l1-1-0 enable_api_ms_win_core_util_l1_1_0
16595 wine_fn_config_dll api-ms-win-core-winrt-error-l1-1-0 enable_api_ms_win_core_winrt_error_l1_1_0
16596 wine_fn_config_dll api-ms-win-core-winrt-string-l1-1-0 enable_api_ms_win_core_winrt_string_l1_1_0
16597 wine_fn_config_dll api-ms-win-downlevel-advapi32-l1-1-0 enable_api_ms_win_downlevel_advapi32_l1_1_0
16598 wine_fn_config_dll api-ms-win-downlevel-advapi32-l2-1-0 enable_api_ms_win_downlevel_advapi32_l2_1_0
16599 wine_fn_config_dll api-ms-win-downlevel-normaliz-l1-1-0 enable_api_ms_win_downlevel_normaliz_l1_1_0
16600 wine_fn_config_dll api-ms-win-downlevel-ole32-l1-1-0 enable_api_ms_win_downlevel_ole32_l1_1_0
16601 wine_fn_config_dll api-ms-win-downlevel-shell32-l1-1-0 enable_api_ms_win_downlevel_shell32_l1_1_0
16602 wine_fn_config_dll api-ms-win-downlevel-shlwapi-l1-1-0 enable_api_ms_win_downlevel_shlwapi_l1_1_0
16603 wine_fn_config_dll api-ms-win-downlevel-shlwapi-l2-1-0 enable_api_ms_win_downlevel_shlwapi_l2_1_0
16604 wine_fn_config_dll api-ms-win-downlevel-user32-l1-1-0 enable_api_ms_win_downlevel_user32_l1_1_0
16605 wine_fn_config_dll api-ms-win-downlevel-version-l1-1-0 enable_api_ms_win_downlevel_version_l1_1_0
16606 wine_fn_config_dll api-ms-win-ntuser-dc-access-l1-1-0 enable_api_ms_win_ntuser_dc_access_l1_1_0
16607 wine_fn_config_dll api-ms-win-security-base-l1-1-0 enable_api_ms_win_security_base_l1_1_0
16608 wine_fn_config_dll apphelp enable_apphelp
16609 wine_fn_config_test dlls/apphelp/tests apphelp_test
16610 wine_fn_config_dll appwiz.cpl enable_appwiz_cpl po
16611 wine_fn_config_dll atl enable_atl clean,implib
16612 wine_fn_config_test dlls/atl/tests atl_test
16613 wine_fn_config_dll atl100 enable_atl100 implib
16614 wine_fn_config_test dlls/atl100/tests atl100_test
16615 wine_fn_config_dll atl110 enable_atl110
16616 wine_fn_config_dll atl80 enable_atl80 implib
16617 wine_fn_config_test dlls/atl80/tests atl80_test
16618 wine_fn_config_dll atl90 enable_atl90
16619 wine_fn_config_dll authz enable_authz
16620 wine_fn_config_dll avicap32 enable_avicap32 implib
16621 wine_fn_config_dll avifil32 enable_avifil32 clean,implib,po
16622 wine_fn_config_test dlls/avifil32/tests avifil32_test
16623 wine_fn_config_dll avifile.dll16 enable_win16
16624 wine_fn_config_dll avrt enable_avrt implib
16625 wine_fn_config_dll bcrypt enable_bcrypt
16626 wine_fn_config_dll browseui enable_browseui clean,po
16627 wine_fn_config_test dlls/browseui/tests browseui_test
16628 wine_fn_config_dll cabinet enable_cabinet implib
16629 wine_fn_config_test dlls/cabinet/tests cabinet_test
16630 wine_fn_config_dll capi2032 enable_capi2032 implib
16631 wine_fn_config_dll cards enable_cards implib
16632 wine_fn_config_dll cfgmgr32 enable_cfgmgr32 implib
16633 wine_fn_config_dll clusapi enable_clusapi implib
16634 wine_fn_config_dll comcat enable_comcat
16635 wine_fn_config_test dlls/comcat/tests comcat_test
16636 wine_fn_config_dll comctl32 enable_comctl32 implib,po
16637 wine_fn_config_test dlls/comctl32/tests comctl32_test
16638 wine_fn_config_dll comdlg32 enable_comdlg32 clean,implib,po
16639 wine_fn_config_test dlls/comdlg32/tests comdlg32_test
16640 wine_fn_config_dll comm.drv16 enable_win16
16641 wine_fn_config_dll commdlg.dll16 enable_win16
16642 wine_fn_config_dll compobj.dll16 enable_win16
16643 wine_fn_config_dll compstui enable_compstui implib
16644 wine_fn_config_dll comsvcs enable_comsvcs implib
16645 wine_fn_config_dll credui enable_credui implib,po
16646 wine_fn_config_test dlls/credui/tests credui_test
16647 wine_fn_config_dll crtdll enable_crtdll implib
16648 wine_fn_config_dll crypt32 enable_crypt32 implib,po
16649 wine_fn_config_test dlls/crypt32/tests crypt32_test
16650 wine_fn_config_dll cryptdlg enable_cryptdlg po
16651 wine_fn_config_dll cryptdll enable_cryptdll implib
16652 wine_fn_config_dll cryptnet enable_cryptnet implib
16653 wine_fn_config_test dlls/cryptnet/tests cryptnet_test
16654 wine_fn_config_dll cryptui enable_cryptui implib,po
16655 wine_fn_config_test dlls/cryptui/tests cryptui_test
16656 wine_fn_config_dll ctapi32 enable_ctapi32
16657 wine_fn_config_dll ctl3d.dll16 enable_win16
16658 wine_fn_config_dll ctl3d32 enable_ctl3d32 implib
16659 wine_fn_config_dll ctl3dv2.dll16 enable_win16
16660 wine_fn_config_dll d3d10 enable_d3d10 implib
16661 wine_fn_config_test dlls/d3d10/tests d3d10_test
16662 wine_fn_config_dll d3d10core enable_d3d10core implib
16663 wine_fn_config_test dlls/d3d10core/tests d3d10core_test
16664 wine_fn_config_dll d3d11 enable_d3d11
16665 wine_fn_config_dll d3d8 enable_d3d8 implib
16666 wine_fn_config_test dlls/d3d8/tests d3d8_test
16667 wine_fn_config_dll d3d9 enable_d3d9 implib
16668 wine_fn_config_test dlls/d3d9/tests d3d9_test
16669 wine_fn_config_dll d3dcompiler_33 enable_d3dcompiler_33
16670 wine_fn_config_dll d3dcompiler_34 enable_d3dcompiler_34
16671 wine_fn_config_dll d3dcompiler_35 enable_d3dcompiler_35
16672 wine_fn_config_dll d3dcompiler_36 enable_d3dcompiler_36
16673 wine_fn_config_dll d3dcompiler_37 enable_d3dcompiler_37
16674 wine_fn_config_dll d3dcompiler_38 enable_d3dcompiler_38
16675 wine_fn_config_dll d3dcompiler_39 enable_d3dcompiler_39
16676 wine_fn_config_dll d3dcompiler_40 enable_d3dcompiler_40
16677 wine_fn_config_dll d3dcompiler_41 enable_d3dcompiler_41
16678 wine_fn_config_dll d3dcompiler_42 enable_d3dcompiler_42
16679 wine_fn_config_dll d3dcompiler_43 enable_d3dcompiler_43 implib d3dcompiler
16680 wine_fn_config_test dlls/d3dcompiler_43/tests d3dcompiler_43_test
16681 wine_fn_config_dll d3dim enable_d3dim implib
16682 wine_fn_config_dll d3drm enable_d3drm implib
16683 wine_fn_config_test dlls/d3drm/tests d3drm_test
16684 wine_fn_config_dll d3dx10_33 enable_d3dx10_33
16685 wine_fn_config_dll d3dx10_34 enable_d3dx10_34
16686 wine_fn_config_dll d3dx10_35 enable_d3dx10_35
16687 wine_fn_config_dll d3dx10_36 enable_d3dx10_36
16688 wine_fn_config_dll d3dx10_37 enable_d3dx10_37
16689 wine_fn_config_dll d3dx10_38 enable_d3dx10_38
16690 wine_fn_config_dll d3dx10_39 enable_d3dx10_39
16691 wine_fn_config_dll d3dx10_40 enable_d3dx10_40
16692 wine_fn_config_dll d3dx10_41 enable_d3dx10_41
16693 wine_fn_config_dll d3dx10_42 enable_d3dx10_42
16694 wine_fn_config_dll d3dx10_43 enable_d3dx10_43
16695 wine_fn_config_dll d3dx11_42 enable_d3dx11_42
16696 wine_fn_config_dll d3dx11_43 enable_d3dx11_43
16697 wine_fn_config_dll d3dx9_24 enable_d3dx9_24
16698 wine_fn_config_dll d3dx9_25 enable_d3dx9_25
16699 wine_fn_config_dll d3dx9_26 enable_d3dx9_26
16700 wine_fn_config_dll d3dx9_27 enable_d3dx9_27
16701 wine_fn_config_dll d3dx9_28 enable_d3dx9_28
16702 wine_fn_config_dll d3dx9_29 enable_d3dx9_29
16703 wine_fn_config_dll d3dx9_30 enable_d3dx9_30
16704 wine_fn_config_dll d3dx9_31 enable_d3dx9_31
16705 wine_fn_config_dll d3dx9_32 enable_d3dx9_32
16706 wine_fn_config_dll d3dx9_33 enable_d3dx9_33
16707 wine_fn_config_dll d3dx9_34 enable_d3dx9_34
16708 wine_fn_config_dll d3dx9_35 enable_d3dx9_35
16709 wine_fn_config_dll d3dx9_36 enable_d3dx9_36 implib d3dx9
16710 wine_fn_config_test dlls/d3dx9_36/tests d3dx9_36_test
16711 wine_fn_config_dll d3dx9_37 enable_d3dx9_37
16712 wine_fn_config_dll d3dx9_38 enable_d3dx9_38
16713 wine_fn_config_dll d3dx9_39 enable_d3dx9_39
16714 wine_fn_config_dll d3dx9_40 enable_d3dx9_40
16715 wine_fn_config_dll d3dx9_41 enable_d3dx9_41
16716 wine_fn_config_dll d3dx9_42 enable_d3dx9_42
16717 wine_fn_config_dll d3dx9_43 enable_d3dx9_43
16718 wine_fn_config_dll d3dxof enable_d3dxof clean,implib
16719 wine_fn_config_test dlls/d3dxof/tests d3dxof_test
16720 wine_fn_config_dll dbgeng enable_dbgeng implib
16721 wine_fn_config_dll dbghelp enable_dbghelp implib
16722 wine_fn_config_dll dciman32 enable_dciman32 implib
16723 wine_fn_config_dll ddeml.dll16 enable_win16
16724 wine_fn_config_dll ddraw enable_ddraw clean,implib
16725 wine_fn_config_test dlls/ddraw/tests ddraw_test
16726 wine_fn_config_dll ddrawex enable_ddrawex clean
16727 wine_fn_config_test dlls/ddrawex/tests ddrawex_test
16728 wine_fn_config_dll devenum enable_devenum clean,po
16729 wine_fn_config_test dlls/devenum/tests devenum_test
16730 wine_fn_config_dll dhcpcsvc enable_dhcpcsvc
16731 wine_fn_config_dll difxapi enable_difxapi
16732 wine_fn_config_dll dinput enable_dinput clean,implib,po,staticimplib
16733 wine_fn_config_test dlls/dinput/tests dinput_test
16734 wine_fn_config_dll dinput8 enable_dinput8 clean,implib
16735 wine_fn_config_test dlls/dinput8/tests dinput8_test
16736 wine_fn_config_dll dispdib.dll16 enable_win16
16737 wine_fn_config_dll dispex enable_dispex clean
16738 wine_fn_config_test dlls/dispex/tests dispex_test
16739 wine_fn_config_dll display.drv16 enable_win16
16740 wine_fn_config_dll dmband enable_dmband clean
16741 wine_fn_config_test dlls/dmband/tests dmband_test
16742 wine_fn_config_dll dmcompos enable_dmcompos clean
16743 wine_fn_config_test dlls/dmcompos/tests dmcompos_test
16744 wine_fn_config_dll dmime enable_dmime clean
16745 wine_fn_config_test dlls/dmime/tests dmime_test
16746 wine_fn_config_dll dmloader enable_dmloader clean
16747 wine_fn_config_test dlls/dmloader/tests dmloader_test
16748 wine_fn_config_dll dmscript enable_dmscript clean
16749 wine_fn_config_test dlls/dmscript/tests dmscript_test
16750 wine_fn_config_dll dmstyle enable_dmstyle clean
16751 wine_fn_config_test dlls/dmstyle/tests dmstyle_test
16752 wine_fn_config_dll dmsynth enable_dmsynth clean
16753 wine_fn_config_test dlls/dmsynth/tests dmsynth_test
16754 wine_fn_config_dll dmusic enable_dmusic clean
16755 wine_fn_config_test dlls/dmusic/tests dmusic_test
16756 wine_fn_config_dll dmusic32 enable_dmusic32 implib
16757 wine_fn_config_dll dnsapi enable_dnsapi implib
16758 wine_fn_config_test dlls/dnsapi/tests dnsapi_test
16759 wine_fn_config_dll dplay enable_dplay implib
16760 wine_fn_config_dll dplayx enable_dplayx clean,implib
16761 wine_fn_config_test dlls/dplayx/tests dplayx_test
16762 wine_fn_config_dll dpnaddr enable_dpnaddr
16763 wine_fn_config_dll dpnet enable_dpnet clean,implib
16764 wine_fn_config_test dlls/dpnet/tests dpnet_test
16765 wine_fn_config_dll dpnhpast enable_dpnhpast
16766 wine_fn_config_dll dpnlobby enable_dpnlobby
16767 wine_fn_config_dll dpwsockx enable_dpwsockx
16768 wine_fn_config_dll drmclien enable_drmclien
16769 wine_fn_config_dll dsound enable_dsound clean,implib
16770 wine_fn_config_test dlls/dsound/tests dsound_test
16771 wine_fn_config_dll dssenh enable_dssenh
16772 wine_fn_config_test dlls/dssenh/tests dssenh_test
16773 wine_fn_config_dll dswave enable_dswave clean
16774 wine_fn_config_dll dwmapi enable_dwmapi implib
16775 wine_fn_config_dll dwrite enable_dwrite implib
16776 wine_fn_config_test dlls/dwrite/tests dwrite_test
16777 wine_fn_config_dll dxdiagn enable_dxdiagn clean,po
16778 wine_fn_config_test dlls/dxdiagn/tests dxdiagn_test
16779 wine_fn_config_lib dxerr8
16780 wine_fn_config_lib dxerr9
16781 wine_fn_config_dll dxgi enable_dxgi implib
16782 wine_fn_config_test dlls/dxgi/tests dxgi_test
16783 wine_fn_config_lib dxguid
16784 wine_fn_config_dll explorerframe enable_explorerframe clean
16785 wine_fn_config_test dlls/explorerframe/tests explorerframe_test
16786 wine_fn_config_dll ext-ms-win-gdi-devcaps-l1-1-0 enable_ext_ms_win_gdi_devcaps_l1_1_0
16787 wine_fn_config_dll faultrep enable_faultrep implib
16788 wine_fn_config_test dlls/faultrep/tests faultrep_test
16789 wine_fn_config_dll fltlib enable_fltlib
16790 wine_fn_config_dll fusion enable_fusion
16791 wine_fn_config_test dlls/fusion/tests fusion_test
16792 wine_fn_config_dll fwpuclnt enable_fwpuclnt
16793 wine_fn_config_dll gameux enable_gameux clean
16794 wine_fn_config_test dlls/gameux/tests gameux_test
16795 wine_fn_config_dll gdi.exe16 enable_win16
16796 wine_fn_config_dll gdi32 enable_gdi32 clean,implib,po
16797 wine_fn_config_test dlls/gdi32/tests gdi32_test
16798 wine_fn_config_dll gdiplus enable_gdiplus implib
16799 wine_fn_config_test dlls/gdiplus/tests gdiplus_test
16800 wine_fn_config_dll glu32 enable_glu32 implib
16801 wine_fn_config_dll gphoto2.ds enable_gphoto2_ds po
16802 wine_fn_config_dll gpkcsp enable_gpkcsp
16803 wine_fn_config_dll hal enable_hal
16804 wine_fn_config_dll hhctrl.ocx enable_hhctrl_ocx clean,implib,po htmlhelp
16805 wine_fn_config_dll hid enable_hid implib
16806 wine_fn_config_dll hlink enable_hlink clean,implib
16807 wine_fn_config_test dlls/hlink/tests hlink_test
16808 wine_fn_config_dll hnetcfg enable_hnetcfg clean
16809 wine_fn_config_dll httpapi enable_httpapi
16810 wine_fn_config_dll iccvid enable_iccvid po
16811 wine_fn_config_dll icmp enable_icmp
16812 wine_fn_config_dll ieframe enable_ieframe clean,implib,po
16813 wine_fn_config_test dlls/ieframe/tests ieframe_test
16814 wine_fn_config_dll ifsmgr.vxd enable_win16
16815 wine_fn_config_dll imaadp32.acm enable_imaadp32_acm
16816 wine_fn_config_dll imagehlp enable_imagehlp implib
16817 wine_fn_config_test dlls/imagehlp/tests imagehlp_test
16818 wine_fn_config_dll imm.dll16 enable_win16
16819 wine_fn_config_dll imm32 enable_imm32 implib
16820 wine_fn_config_test dlls/imm32/tests imm32_test
16821 wine_fn_config_dll inetcomm enable_inetcomm clean,implib
16822 wine_fn_config_test dlls/inetcomm/tests inetcomm_test
16823 wine_fn_config_dll inetcpl.cpl enable_inetcpl_cpl po
16824 wine_fn_config_dll inetmib1 enable_inetmib1
16825 wine_fn_config_test dlls/inetmib1/tests inetmib1_test
16826 wine_fn_config_dll infosoft enable_infosoft clean
16827 wine_fn_config_test dlls/infosoft/tests infosoft_test
16828 wine_fn_config_dll initpki enable_initpki
16829 wine_fn_config_dll inkobj enable_inkobj
16830 wine_fn_config_dll inseng enable_inseng clean
16831 wine_fn_config_dll iphlpapi enable_iphlpapi implib
16832 wine_fn_config_test dlls/iphlpapi/tests iphlpapi_test
16833 wine_fn_config_dll itircl enable_itircl
16834 wine_fn_config_dll itss enable_itss clean
16835 wine_fn_config_test dlls/itss/tests itss_test
16836 wine_fn_config_dll joy.cpl enable_joy_cpl po
16837 wine_fn_config_dll jscript enable_jscript clean,po
16838 wine_fn_config_test dlls/jscript/tests jscript_test
16839 wine_fn_config_dll kernel32 enable_kernel32 clean,implib,mc
16840 wine_fn_config_test dlls/kernel32/tests kernel32_test
16841 wine_fn_config_dll keyboard.drv16 enable_win16
16842 wine_fn_config_dll krnl386.exe16 enable_win16 implib kernel
16843 wine_fn_config_dll ktmw32 enable_ktmw32
16844 wine_fn_config_dll loadperf enable_loadperf implib
16845 wine_fn_config_dll localspl enable_localspl po
16846 wine_fn_config_test dlls/localspl/tests localspl_test
16847 wine_fn_config_dll localui enable_localui po
16848 wine_fn_config_test dlls/localui/tests localui_test
16849 wine_fn_config_dll lz32 enable_lz32 implib
16850 wine_fn_config_test dlls/lz32/tests lz32_test
16851 wine_fn_config_dll lzexpand.dll16 enable_win16
16852 wine_fn_config_dll mapi32 enable_mapi32 implib,po
16853 wine_fn_config_test dlls/mapi32/tests mapi32_test
16854 wine_fn_config_dll mapistub enable_mapistub
16855 wine_fn_config_dll mciavi32 enable_mciavi32
16856 wine_fn_config_dll mcicda enable_mcicda
16857 wine_fn_config_dll mciqtz32 enable_mciqtz32
16858 wine_fn_config_dll mciseq enable_mciseq
16859 wine_fn_config_dll mciwave enable_mciwave
16860 wine_fn_config_dll mgmtapi enable_mgmtapi
16861 wine_fn_config_dll midimap enable_midimap
16862 wine_fn_config_dll mlang enable_mlang clean,implib
16863 wine_fn_config_test dlls/mlang/tests mlang_test
16864 wine_fn_config_dll mmcndmgr enable_mmcndmgr clean
16865 wine_fn_config_test dlls/mmcndmgr/tests mmcndmgr_test
16866 wine_fn_config_dll mmdevapi enable_mmdevapi clean
16867 wine_fn_config_test dlls/mmdevapi/tests mmdevapi_test
16868 wine_fn_config_dll mmdevldr.vxd enable_win16
16869 wine_fn_config_dll mmsystem.dll16 enable_win16
16870 wine_fn_config_dll monodebg.vxd enable_win16
16871 wine_fn_config_dll mountmgr.sys enable_mountmgr_sys
16872 wine_fn_config_dll mouse.drv16 enable_win16
16873 wine_fn_config_dll mpr enable_mpr implib,po
16874 wine_fn_config_test dlls/mpr/tests mpr_test
16875 wine_fn_config_dll mprapi enable_mprapi implib
16876 wine_fn_config_dll msacm.dll16 enable_win16
16877 wine_fn_config_dll msacm32.drv enable_msacm32_drv
16878 wine_fn_config_dll msacm32 enable_msacm32 implib,po
16879 wine_fn_config_test dlls/msacm32/tests msacm32_test
16880 wine_fn_config_dll msadp32.acm enable_msadp32_acm
16881 wine_fn_config_dll mscat32 enable_mscat32
16882 wine_fn_config_dll mscms enable_mscms implib
16883 wine_fn_config_test dlls/mscms/tests mscms_test
16884 wine_fn_config_dll mscoree enable_mscoree clean
16885 wine_fn_config_test dlls/mscoree/tests mscoree_test
16886 wine_fn_config_dll msctf enable_msctf clean
16887 wine_fn_config_test dlls/msctf/tests msctf_test
16888 wine_fn_config_dll msdaps enable_msdaps clean
16889 wine_fn_config_dll msdmo enable_msdmo implib
16890 wine_fn_config_dll msftedit enable_msftedit
16891 wine_fn_config_dll msg711.acm enable_msg711_acm
16892 wine_fn_config_dll msgsm32.acm enable_msgsm32_acm
16893 wine_fn_config_dll mshtml.tlb enable_mshtml_tlb clean
16894 wine_fn_config_dll mshtml enable_mshtml clean,implib,po
16895 wine_fn_config_test dlls/mshtml/tests mshtml_test clean
16896 wine_fn_config_dll msi enable_msi clean,implib,po
16897 wine_fn_config_test dlls/msi/tests msi_test
16898 wine_fn_config_dll msident enable_msident clean
16899 wine_fn_config_dll msimg32 enable_msimg32 implib
16900 wine_fn_config_dll msimsg enable_msimsg
16901 wine_fn_config_dll msimtf enable_msimtf clean
16902 wine_fn_config_dll msisip enable_msisip
16903 wine_fn_config_dll msisys.ocx enable_msisys_ocx
16904 wine_fn_config_dll msls31 enable_msls31
16905 wine_fn_config_dll msnet32 enable_msnet32
16906 wine_fn_config_dll mspatcha enable_mspatcha
16907 wine_fn_config_dll msrle32 enable_msrle32 po
16908 wine_fn_config_test dlls/msrle32/tests msrle32_test
16909 wine_fn_config_dll mssign32 enable_mssign32
16910 wine_fn_config_dll mssip32 enable_mssip32
16911 wine_fn_config_dll mstask enable_mstask clean
16912 wine_fn_config_test dlls/mstask/tests mstask_test
16913 wine_fn_config_dll msvcirt enable_msvcirt
16914 wine_fn_config_dll msvcm80 enable_msvcm80
16915 wine_fn_config_dll msvcm90 enable_msvcm90
16916 wine_fn_config_dll msvcp100 enable_msvcp100
16917 wine_fn_config_test dlls/msvcp100/tests msvcp100_test
16918 wine_fn_config_dll msvcp110 enable_msvcp110
16919 wine_fn_config_dll msvcp60 enable_msvcp60
16920 wine_fn_config_test dlls/msvcp60/tests msvcp60_test
16921 wine_fn_config_dll msvcp70 enable_msvcp70
16922 wine_fn_config_dll msvcp71 enable_msvcp71
16923 wine_fn_config_dll msvcp80 enable_msvcp80
16924 wine_fn_config_dll msvcp90 enable_msvcp90
16925 wine_fn_config_test dlls/msvcp90/tests msvcp90_test
16926 wine_fn_config_dll msvcr100 enable_msvcr100 implib
16927 wine_fn_config_test dlls/msvcr100/tests msvcr100_test
16928 wine_fn_config_dll msvcr110 enable_msvcr110 implib
16929 wine_fn_config_dll msvcr70 enable_msvcr70 implib
16930 wine_fn_config_dll msvcr71 enable_msvcr71 implib
16931 wine_fn_config_dll msvcr80 enable_msvcr80 implib
16932 wine_fn_config_dll msvcr90 enable_msvcr90 implib
16933 wine_fn_config_test dlls/msvcr90/tests msvcr90_test
16934 wine_fn_config_dll msvcrt enable_msvcrt implib
16935 wine_fn_config_test dlls/msvcrt/tests msvcrt_test
16936 wine_fn_config_dll msvcrt20 enable_msvcrt20 implib
16937 wine_fn_config_dll msvcrt40 enable_msvcrt40 implib
16938 wine_fn_config_dll msvcrtd enable_msvcrtd implib
16939 wine_fn_config_test dlls/msvcrtd/tests msvcrtd_test
16940 wine_fn_config_dll msvfw32 enable_msvfw32 implib,po
16941 wine_fn_config_test dlls/msvfw32/tests msvfw32_test
16942 wine_fn_config_dll msvidc32 enable_msvidc32 po
16943 wine_fn_config_dll msvideo.dll16 enable_win16
16944 wine_fn_config_dll mswsock enable_mswsock implib
16945 wine_fn_config_dll msxml enable_msxml clean
16946 wine_fn_config_dll msxml2 enable_msxml2 clean
16947 wine_fn_config_dll msxml3 enable_msxml3 clean
16948 wine_fn_config_test dlls/msxml3/tests msxml3_test clean
16949 wine_fn_config_dll msxml4 enable_msxml4 clean
16950 wine_fn_config_dll msxml6 enable_msxml6 clean
16951 wine_fn_config_dll nddeapi enable_nddeapi implib
16952 wine_fn_config_dll netapi32 enable_netapi32 implib
16953 wine_fn_config_test dlls/netapi32/tests netapi32_test
16954 wine_fn_config_dll netcfgx enable_netcfgx
16955 wine_fn_config_dll newdev enable_newdev implib
16956 wine_fn_config_dll normaliz enable_normaliz implib
16957 wine_fn_config_dll npmshtml enable_npmshtml
16958 wine_fn_config_dll ntdll enable_ntdll implib
16959 wine_fn_config_test dlls/ntdll/tests ntdll_test
16960 wine_fn_config_dll ntdsapi enable_ntdsapi implib
16961 wine_fn_config_test dlls/ntdsapi/tests ntdsapi_test
16962 wine_fn_config_dll ntoskrnl.exe enable_ntoskrnl_exe implib
16963 wine_fn_config_dll ntprint enable_ntprint
16964 wine_fn_config_test dlls/ntprint/tests ntprint_test
16965 wine_fn_config_dll objsel enable_objsel clean
16966 wine_fn_config_dll odbc32 enable_odbc32 implib
16967 wine_fn_config_dll odbccp32 enable_odbccp32 implib
16968 wine_fn_config_test dlls/odbccp32/tests odbccp32_test
16969 wine_fn_config_dll odbccu32 enable_odbccu32
16970 wine_fn_config_dll ole2.dll16 enable_win16
16971 wine_fn_config_dll ole2conv.dll16 enable_win16
16972 wine_fn_config_dll ole2disp.dll16 enable_win16
16973 wine_fn_config_dll ole2nls.dll16 enable_win16
16974 wine_fn_config_dll ole2prox.dll16 enable_win16
16975 wine_fn_config_dll ole2thk.dll16 enable_win16
16976 wine_fn_config_dll ole32 enable_ole32 clean,implib
16977 wine_fn_config_test dlls/ole32/tests ole32_test
16978 wine_fn_config_dll oleacc enable_oleacc clean,implib,po
16979 wine_fn_config_test dlls/oleacc/tests oleacc_test
16980 wine_fn_config_dll oleaut32 enable_oleaut32 clean,implib,po
16981 wine_fn_config_test dlls/oleaut32/tests oleaut32_test clean
16982 wine_fn_config_dll olecli.dll16 enable_win16
16983 wine_fn_config_dll olecli32 enable_olecli32 implib
16984 wine_fn_config_dll oledb32 enable_oledb32 clean
16985 wine_fn_config_test dlls/oledb32/tests oledb32_test clean
16986 wine_fn_config_dll oledlg enable_oledlg implib,po
16987 wine_fn_config_dll olepro32 enable_olepro32 implib
16988 wine_fn_config_dll olesvr.dll16 enable_win16
16989 wine_fn_config_dll olesvr32 enable_olesvr32 implib
16990 wine_fn_config_dll olethk32 enable_olethk32
16991 wine_fn_config_dll openal32 enable_openal32
16992 wine_fn_config_dll opencl enable_opencl
16993 wine_fn_config_dll opengl32 enable_opengl32 implib
16994 wine_fn_config_test dlls/opengl32/tests opengl32_test
16995 wine_fn_config_dll pdh enable_pdh implib
16996 wine_fn_config_test dlls/pdh/tests pdh_test
16997 wine_fn_config_dll photometadatahandler enable_photometadatahandler
16998 wine_fn_config_dll pidgen enable_pidgen
16999 wine_fn_config_dll powrprof enable_powrprof implib
17000 wine_fn_config_dll printui enable_printui
17001 wine_fn_config_dll propsys enable_propsys clean,implib
17002 wine_fn_config_test dlls/propsys/tests propsys_test
17003 wine_fn_config_dll psapi enable_psapi implib
17004 wine_fn_config_test dlls/psapi/tests psapi_test
17005 wine_fn_config_dll pstorec enable_pstorec clean
17006 wine_fn_config_dll qcap enable_qcap
17007 wine_fn_config_test dlls/qcap/tests qcap_test
17008 wine_fn_config_dll qedit enable_qedit clean
17009 wine_fn_config_test dlls/qedit/tests qedit_test
17010 wine_fn_config_dll qmgr enable_qmgr clean
17011 wine_fn_config_test dlls/qmgr/tests qmgr_test
17012 wine_fn_config_dll qmgrprxy enable_qmgrprxy clean
17013 wine_fn_config_dll quartz enable_quartz clean,implib
17014 wine_fn_config_test dlls/quartz/tests quartz_test clean
17015 wine_fn_config_dll query enable_query
17016 wine_fn_config_dll rasapi16.dll16 enable_win16
17017 wine_fn_config_dll rasapi32 enable_rasapi32 implib
17018 wine_fn_config_test dlls/rasapi32/tests rasapi32_test
17019 wine_fn_config_dll rasdlg enable_rasdlg implib
17020 wine_fn_config_dll regapi enable_regapi
17021 wine_fn_config_dll resutils enable_resutils implib
17022 wine_fn_config_dll riched20 enable_riched20 implib
17023 wine_fn_config_test dlls/riched20/tests riched20_test
17024 wine_fn_config_dll riched32 enable_riched32
17025 wine_fn_config_test dlls/riched32/tests riched32_test
17026 wine_fn_config_dll rpcrt4 enable_rpcrt4 clean,implib
17027 wine_fn_config_test dlls/rpcrt4/tests rpcrt4_test clean
17028 wine_fn_config_dll rsabase enable_rsabase
17029 wine_fn_config_dll rsaenh enable_rsaenh implib
17030 wine_fn_config_test dlls/rsaenh/tests rsaenh_test
17031 wine_fn_config_dll rstrtmgr enable_rstrtmgr
17032 wine_fn_config_dll rtutils enable_rtutils implib
17033 wine_fn_config_dll samlib enable_samlib
17034 wine_fn_config_dll sane.ds enable_sane_ds po
17035 wine_fn_config_dll scarddlg enable_scarddlg
17036 wine_fn_config_dll sccbase enable_sccbase
17037 wine_fn_config_dll schannel enable_schannel
17038 wine_fn_config_test dlls/schannel/tests schannel_test
17039 wine_fn_config_dll scrrun enable_scrrun clean
17040 wine_fn_config_test dlls/scrrun/tests scrrun_test clean
17041 wine_fn_config_dll scsiport.sys enable_scsiport_sys
17042 wine_fn_config_dll secur32 enable_secur32 implib
17043 wine_fn_config_test dlls/secur32/tests secur32_test
17044 wine_fn_config_dll security enable_security
17045 wine_fn_config_dll sensapi enable_sensapi implib
17046 wine_fn_config_dll serialui enable_serialui implib,po
17047 wine_fn_config_test dlls/serialui/tests serialui_test
17048 wine_fn_config_dll setupapi enable_setupapi implib,po
17049 wine_fn_config_test dlls/setupapi/tests setupapi_test
17050 wine_fn_config_dll setupx.dll16 enable_win16
17051 wine_fn_config_dll sfc enable_sfc implib
17052 wine_fn_config_dll sfc_os enable_sfc_os implib
17053 wine_fn_config_dll shdoclc enable_shdoclc po
17054 wine_fn_config_dll shdocvw enable_shdocvw clean,implib
17055 wine_fn_config_test dlls/shdocvw/tests shdocvw_test
17056 wine_fn_config_dll shell.dll16 enable_win16
17057 wine_fn_config_dll shell32 enable_shell32 clean,implib,po
17058 wine_fn_config_test dlls/shell32/tests shell32_test
17059 wine_fn_config_dll shfolder enable_shfolder implib
17060 wine_fn_config_dll shlwapi enable_shlwapi implib,po
17061 wine_fn_config_test dlls/shlwapi/tests shlwapi_test
17062 wine_fn_config_dll slbcsp enable_slbcsp
17063 wine_fn_config_dll slc enable_slc implib
17064 wine_fn_config_dll snmpapi enable_snmpapi implib
17065 wine_fn_config_test dlls/snmpapi/tests snmpapi_test
17066 wine_fn_config_dll softpub enable_softpub
17067 wine_fn_config_dll sound.drv16 enable_win16
17068 wine_fn_config_dll spoolss enable_spoolss implib
17069 wine_fn_config_test dlls/spoolss/tests spoolss_test
17070 wine_fn_config_dll stdole2.tlb enable_stdole2_tlb clean
17071 wine_fn_config_dll stdole32.tlb enable_stdole32_tlb clean
17072 wine_fn_config_dll sti enable_sti clean,implib
17073 wine_fn_config_test dlls/sti/tests sti_test
17074 wine_fn_config_dll storage.dll16 enable_win16
17075 wine_fn_config_dll stress.dll16 enable_win16
17076 wine_fn_config_lib strmbase
17077 wine_fn_config_lib strmiids
17078 wine_fn_config_dll svrapi enable_svrapi
17079 wine_fn_config_dll sxs enable_sxs implib
17080 wine_fn_config_test dlls/sxs/tests sxs_test
17081 wine_fn_config_dll system.drv16 enable_win16
17082 wine_fn_config_dll t2embed enable_t2embed
17083 wine_fn_config_dll tapi32 enable_tapi32 implib
17084 wine_fn_config_dll taskschd enable_taskschd clean
17085 wine_fn_config_test dlls/taskschd/tests taskschd_test
17086 wine_fn_config_dll toolhelp.dll16 enable_win16
17087 wine_fn_config_dll traffic enable_traffic
17088 wine_fn_config_dll twain.dll16 enable_win16
17089 wine_fn_config_dll twain_32 enable_twain_32
17090 wine_fn_config_test dlls/twain_32/tests twain_32_test
17091 wine_fn_config_dll typelib.dll16 enable_win16
17092 wine_fn_config_dll unicows enable_unicows implib
17093 wine_fn_config_dll updspapi enable_updspapi
17094 wine_fn_config_dll url enable_url implib
17095 wine_fn_config_dll urlmon enable_urlmon clean,implib,po
17096 wine_fn_config_test dlls/urlmon/tests urlmon_test
17097 wine_fn_config_dll usbd.sys enable_usbd_sys implib
17098 wine_fn_config_dll user.exe16 enable_win16
17099 wine_fn_config_dll user32 enable_user32 clean,implib,po
17100 wine_fn_config_test dlls/user32/tests user32_test
17101 wine_fn_config_dll userenv enable_userenv implib
17102 wine_fn_config_test dlls/userenv/tests userenv_test
17103 wine_fn_config_dll usp10 enable_usp10 implib
17104 wine_fn_config_test dlls/usp10/tests usp10_test
17105 wine_fn_config_lib uuid
17106 wine_fn_config_dll uxtheme enable_uxtheme implib
17107 wine_fn_config_test dlls/uxtheme/tests uxtheme_test
17108 wine_fn_config_dll vbscript enable_vbscript clean
17109 wine_fn_config_test dlls/vbscript/tests vbscript_test clean
17110 wine_fn_config_dll vcomp enable_vcomp
17111 wine_fn_config_dll vcomp100 enable_vcomp100
17112 wine_fn_config_dll vcomp90 enable_vcomp90
17113 wine_fn_config_dll vdhcp.vxd enable_win16
17114 wine_fn_config_dll vdmdbg enable_vdmdbg implib
17115 wine_fn_config_dll ver.dll16 enable_win16
17116 wine_fn_config_dll version enable_version implib
17117 wine_fn_config_test dlls/version/tests version_test
17118 wine_fn_config_dll vmm.vxd enable_win16
17119 wine_fn_config_dll vnbt.vxd enable_win16
17120 wine_fn_config_dll vnetbios.vxd enable_win16
17121 wine_fn_config_dll vtdapi.vxd enable_win16
17122 wine_fn_config_dll vwin32.vxd enable_win16
17123 wine_fn_config_dll w32skrnl enable_win16
17124 wine_fn_config_dll w32sys.dll16 enable_win16
17125 wine_fn_config_dll wbemdisp enable_wbemdisp clean
17126 wine_fn_config_dll wbemprox enable_wbemprox clean
17127 wine_fn_config_test dlls/wbemprox/tests wbemprox_test
17128 wine_fn_config_dll webservices enable_webservices implib
17129 wine_fn_config_dll wer enable_wer implib
17130 wine_fn_config_test dlls/wer/tests wer_test
17131 wine_fn_config_dll wevtapi enable_wevtapi
17132 wine_fn_config_dll wiaservc enable_wiaservc clean
17133 wine_fn_config_dll win32s16.dll16 enable_win16
17134 wine_fn_config_dll win87em.dll16 enable_win16
17135 wine_fn_config_dll winaspi.dll16 enable_win16
17136 wine_fn_config_dll windebug.dll16 enable_win16
17137 wine_fn_config_dll windowscodecs enable_windowscodecs clean,implib
17138 wine_fn_config_test dlls/windowscodecs/tests windowscodecs_test
17139 wine_fn_config_dll windowscodecsext enable_windowscodecsext implib
17140 wine_fn_config_test dlls/windowscodecsext/tests windowscodecsext_test
17141 wine_fn_config_dll winealsa.drv enable_winealsa_drv
17142 wine_fn_config_dll winecoreaudio.drv enable_winecoreaudio_drv
17143 wine_fn_config_lib winecrt0
17144 wine_fn_config_dll wined3d enable_wined3d implib
17145 wine_fn_config_dll winegstreamer enable_winegstreamer
17146 wine_fn_config_dll winejoystick.drv enable_winejoystick_drv
17147 wine_fn_config_dll winemac.drv enable_winemac_drv
17148 wine_fn_config_dll winemapi enable_winemapi
17149 wine_fn_config_dll winemp3.acm enable_winemp3_acm
17150 wine_fn_config_dll wineoss.drv enable_wineoss_drv
17151 wine_fn_config_dll wineps.drv enable_wineps_drv clean,po
17152 wine_fn_config_dll wineps16.drv16 enable_win16
17153 wine_fn_config_dll wineqtdecoder enable_wineqtdecoder
17154 wine_fn_config_dll winex11.drv enable_winex11_drv
17155 wine_fn_config_dll wing.dll16 enable_win16
17156 wine_fn_config_dll wing32 enable_wing32
17157 wine_fn_config_dll winhttp enable_winhttp clean,implib
17158 wine_fn_config_test dlls/winhttp/tests winhttp_test
17159 wine_fn_config_dll wininet enable_wininet implib,po
17160 wine_fn_config_test dlls/wininet/tests wininet_test
17161 wine_fn_config_dll winmm enable_winmm implib,po
17162 wine_fn_config_test dlls/winmm/tests winmm_test
17163 wine_fn_config_dll winnls.dll16 enable_win16
17164 wine_fn_config_dll winnls32 enable_winnls32 implib
17165 wine_fn_config_dll winscard enable_winscard implib
17166 wine_fn_config_dll winsock.dll16 enable_win16
17167 wine_fn_config_dll winspool.drv enable_winspool_drv implib,po winspool
17168 wine_fn_config_test dlls/winspool.drv/tests winspool.drv_test
17169 wine_fn_config_dll winsta enable_winsta
17170 wine_fn_config_dll wintab.dll16 enable_win16
17171 wine_fn_config_dll wintab32 enable_wintab32 implib
17172 wine_fn_config_test dlls/wintab32/tests wintab32_test
17173 wine_fn_config_dll wintrust enable_wintrust implib
17174 wine_fn_config_test dlls/wintrust/tests wintrust_test
17175 wine_fn_config_dll wlanapi enable_wlanapi
17176 wine_fn_config_dll wldap32 enable_wldap32 implib,po
17177 wine_fn_config_test dlls/wldap32/tests wldap32_test
17178 wine_fn_config_dll wmi enable_wmi
17179 wine_fn_config_dll wmiutils enable_wmiutils clean
17180 wine_fn_config_test dlls/wmiutils/tests wmiutils_test
17181 wine_fn_config_dll wmp enable_wmp clean
17182 wine_fn_config_test dlls/wmp/tests wmp_test
17183 wine_fn_config_dll wmvcore enable_wmvcore
17184 wine_fn_config_dll wnaspi32 enable_wnaspi32 implib
17185 wine_fn_config_dll wow32 enable_win16 implib
17186 wine_fn_config_dll ws2_32 enable_ws2_32 implib
17187 wine_fn_config_test dlls/ws2_32/tests ws2_32_test
17188 wine_fn_config_dll wshom.ocx enable_wshom_ocx clean
17189 wine_fn_config_test dlls/wshom.ocx/tests wshom.ocx_test clean
17190 wine_fn_config_dll wsnmp32 enable_wsnmp32 implib
17191 wine_fn_config_test dlls/wsnmp32/tests wsnmp32_test
17192 wine_fn_config_dll wsock32 enable_wsock32 implib
17193 wine_fn_config_dll wtsapi32 enable_wtsapi32 implib
17194 wine_fn_config_dll wuapi enable_wuapi clean
17195 wine_fn_config_dll wuaueng enable_wuaueng
17196 wine_fn_config_dll xapofx1_1 enable_xapofx1_1
17197 wine_fn_config_dll xinput1_1 enable_xinput1_1
17198 wine_fn_config_dll xinput1_2 enable_xinput1_2
17199 wine_fn_config_dll xinput1_3 enable_xinput1_3 implib xinput
17200 wine_fn_config_test dlls/xinput1_3/tests xinput1_3_test
17201 wine_fn_config_dll xinput1_4 enable_xinput1_4
17202 wine_fn_config_dll xinput9_1_0 enable_xinput9_1_0
17203 wine_fn_config_dll xmllite enable_xmllite
17204 wine_fn_config_test dlls/xmllite/tests xmllite_test
17205 wine_fn_config_dll xolehlp enable_xolehlp
17206 wine_fn_config_dll xpsprint enable_xpsprint
17207 wine_fn_config_dll xpssvcs enable_xpssvcs
17208 wine_fn_config_makefile documentation enable_documentation clean
17209 wine_fn_config_makefile fonts enable_fonts clean,install-lib
17210 wine_fn_config_makefile include enable_include clean,install-dev
17211 wine_fn_config_makefile libs/port enable_libs_port
17212 wine_fn_config_makefile libs/wine enable_libs_wine clean,install-dev,install-lib
17213 wine_fn_config_makefile libs/wpp enable_libs_wpp
17214 wine_fn_config_makefile loader enable_loader clean,install-lib,manpage
17215 wine_fn_config_program arp enable_arp install
17216 wine_fn_config_program aspnet_regiis enable_aspnet_regiis install
17217 wine_fn_config_program attrib enable_attrib install,po
17218 wine_fn_config_program cabarc enable_cabarc install
17219 wine_fn_config_program cacls enable_cacls install
17220 wine_fn_config_program clock enable_clock install,po
17221 wine_fn_config_program cmd enable_cmd install,po
17222 wine_fn_config_test programs/cmd/tests cmd.exe_test
17223 wine_fn_config_program conhost enable_conhost install
17224 wine_fn_config_program control enable_control install
17225 wine_fn_config_program cscript enable_cscript install
17226 wine_fn_config_program dxdiag enable_dxdiag install,po
17227 wine_fn_config_program eject enable_eject install
17228 wine_fn_config_program expand enable_expand install
17229 wine_fn_config_program explorer enable_explorer install,po
17230 wine_fn_config_program extrac32 enable_extrac32 install
17231 wine_fn_config_program findstr enable_findstr install
17232 wine_fn_config_program hh enable_hh install
17233 wine_fn_config_program hostname enable_hostname install,po
17234 wine_fn_config_program icinfo enable_icinfo install
17235 wine_fn_config_program iexplore enable_iexplore install
17236 wine_fn_config_program ipconfig enable_ipconfig install,po
17237 wine_fn_config_program lodctr enable_lodctr install
17238 wine_fn_config_program mofcomp enable_mofcomp install
17239 wine_fn_config_program mshta enable_mshta install
17240 wine_fn_config_program msiexec enable_msiexec install,installbin,manpage
17241 wine_fn_config_program net enable_net install,po
17242 wine_fn_config_program netsh enable_netsh install
17243 wine_fn_config_program netstat enable_netstat install,po
17244 wine_fn_config_program ngen enable_ngen install
17245 wine_fn_config_program notepad enable_notepad install,installbin,manpage,po
17246 wine_fn_config_program oleview enable_oleview install,po
17247 wine_fn_config_program ping enable_ping install
17248 wine_fn_config_program plugplay enable_plugplay install
17249 wine_fn_config_program presentationfontcache enable_presentationfontcache install
17250 wine_fn_config_program progman enable_progman install,po
17251 wine_fn_config_program reg enable_reg install,po
17252 wine_fn_config_program regasm enable_regasm install
17253 wine_fn_config_program regedit enable_regedit install,installbin,manpage,po
17254 wine_fn_config_test programs/regedit/tests regedit.exe_test
17255 wine_fn_config_program regsvcs enable_regsvcs install
17256 wine_fn_config_program regsvr32 enable_regsvr32 install,installbin,manpage
17257 wine_fn_config_program rpcss enable_rpcss clean,install
17258 wine_fn_config_program rundll.exe16 enable_win16 install
17259 wine_fn_config_program rundll32 enable_rundll32 install
17260 wine_fn_config_program sc enable_sc install
17261 wine_fn_config_program schtasks enable_schtasks install
17262 wine_fn_config_program secedit enable_secedit install
17263 wine_fn_config_program servicemodelreg enable_servicemodelreg install
17264 wine_fn_config_program services enable_services clean,install
17265 wine_fn_config_test programs/services/tests services.exe_test
17266 wine_fn_config_program spoolsv enable_spoolsv install
17267 wine_fn_config_program start enable_start install,po
17268 wine_fn_config_program svchost enable_svchost install
17269 wine_fn_config_program taskkill enable_taskkill install,po
17270 wine_fn_config_program tasklist enable_tasklist install
17271 wine_fn_config_program taskmgr enable_taskmgr install,po
17272 wine_fn_config_program termsv enable_termsv install
17273 wine_fn_config_program uninstaller enable_uninstaller install,po
17274 wine_fn_config_program unlodctr enable_unlodctr install
17275 wine_fn_config_program view enable_view install,po
17276 wine_fn_config_program wineboot enable_wineboot install,installbin,manpage,po
17277 wine_fn_config_program winebrowser enable_winebrowser install
17278 wine_fn_config_program winecfg enable_winecfg install,installbin,manpage,po
17279 wine_fn_config_program wineconsole enable_wineconsole install,installbin,manpage,po
17280 wine_fn_config_program winedbg enable_winedbg install,installbin,manpage,po
17281 wine_fn_config_program winedevice enable_winedevice install
17282 wine_fn_config_program winefile enable_winefile install,installbin,manpage,po
17283 wine_fn_config_program winemenubuilder enable_winemenubuilder install
17284 wine_fn_config_program winemine enable_winemine install,installbin,manpage,po
17285 wine_fn_config_program winemsibuilder enable_winemsibuilder install
17286 wine_fn_config_program winepath enable_winepath install,installbin,manpage
17287 wine_fn_config_program winetest enable_winetest clean
17288 wine_fn_config_program winevdm enable_win16 install
17289 wine_fn_config_program winhelp.exe16 enable_win16 install
17290 wine_fn_config_program winhlp32 enable_winhlp32 install,po
17291 wine_fn_config_program winoldap.mod16 enable_win16 install
17292 wine_fn_config_program winver enable_winver install
17293 wine_fn_config_program wmic enable_wmic install,po
17294 wine_fn_config_program wordpad enable_wordpad install,po
17295 wine_fn_config_program write enable_write install,po
17296 wine_fn_config_program wscript enable_wscript clean,install
17297 wine_fn_config_test programs/wscript/tests wscript.exe_test
17298 wine_fn_config_program wusa enable_wusa install
17299 wine_fn_config_program xcopy enable_xcopy install,po
17300 wine_fn_config_test programs/xcopy/tests xcopy.exe_test
17301 wine_fn_config_makefile server enable_server clean,install-lib,manpage
17302 wine_fn_config_tool tools clean,install-dev,install-lib,manpage
17303 wine_fn_config_tool tools/widl clean,install-dev,manpage
17304 wine_fn_config_tool tools/winebuild clean,install-dev,manpage
17305 wine_fn_config_tool tools/winedump clean,install-dev,manpage
17306 wine_fn_config_tool tools/winegcc clean,install-dev,manpage
17307 wine_fn_config_tool tools/wmc clean,install-dev,manpage
17308 wine_fn_config_tool tools/wrc clean,install-dev,manpage
17310 LINGUAS="\
17311 ar \
17312 bg \
17313 ca \
17314 cs \
17315 da \
17316 de \
17317 el \
17318 en \
17319 en_US \
17320 eo \
17321 es \
17322 fa \
17323 fi \
17324 fr \
17325 he \
17326 hi \
17327 hr \
17328 hu \
17329 it \
17330 ja \
17331 ko \
17332 lt \
17333 ml \
17334 nb_NO \
17335 nl \
17336 or \
17337 pa \
17338 pl \
17339 pt_BR \
17340 pt_PT \
17341 rm \
17342 ro \
17343 ru \
17344 sk \
17345 sl \
17346 sr_RS@cyrillic \
17347 sr_RS@latin \
17348 sv \
17349 te \
17350 th \
17351 tr \
17352 uk \
17353 wa \
17354 zh_CN \
17355 zh_TW"
17360 wine_fn_ignore_file ".gitignore"
17361 wine_fn_ignore_file "Makefile"
17362 wine_fn_ignore_file "TAGS"
17363 wine_fn_ignore_file "tags"
17364 wine_fn_ignore_file "autom4te.cache"
17365 wine_fn_ignore_file "config.cache"
17366 wine_fn_ignore_file "config.log"
17367 wine_fn_ignore_file "config.status"
17368 wine_fn_ignore_file "configure.lineno"
17369 wine_fn_ignore_file "include/config.h"
17370 wine_fn_ignore_file "include/stamp-h"
17371 test "$wine_binary" = wine || wine_fn_ignore_file "loader/wine"
17373 if test "x$enable_tools" != xno
17374 then
17375 wine_fn_ignore_file "tools/makedep$ac_exeext"
17376 ac_config_commands="$ac_config_commands tools/makedep"
17380 ac_config_commands="$ac_config_commands Makefile"
17383 ac_config_files="$ac_config_files Make.tmp:Make.vars.in:Makefile.in"
17387 if test "x$enable_maintainer_mode" = xyes
17388 then
17389 wine_fn_append_rule "configure: configure.ac aclocal.m4
17390 autoconf --warnings=all
17391 include/config.h.in: include/stamp-h.in
17392 include/stamp-h.in: configure.ac aclocal.m4
17393 autoheader --warnings=all
17394 @echo timestamp > \$@"
17397 if test "x$with_gettextpo" = xyes
17398 then
17399 test "$srcdir" = . || as_fn_error $? "Rebuilding po files is not supported for out of tree builds." "$LINENO" 5
17400 wine_fn_append_rule "ALL_POT_FILES =$ALL_POT_FILES
17401 \$(LINGUAS:%=po/%.po): po/wine.pot
17402 msgmerge --previous -q \$@ po/wine.pot | msgattrib --no-obsolete -o \$@.new && mv \$@.new \$@
17403 po/wine.pot: \$(ALL_POT_FILES)
17404 msgcat -o \$@ \$(ALL_POT_FILES)"
17407 if test "$MSGFMT" != false
17408 then
17409 wine_fn_append_rule "__builddeps__: \$(LINGUAS:%=po/%.mo)
17410 clean::
17411 \$(RM) \$(LINGUAS:%=po/%.mo)"
17413 posrc="po"
17414 test "$srcdir" = . || posrc="$srcdir/po"
17415 for i in $LINGUAS
17417 wine_fn_ignore_file "po/$i.mo"
17418 wine_fn_append_rule "po/$i.mo: $posrc/$i.po
17419 \$(MSGFMT) -o \$@ $posrc/$i.po"
17420 done
17421 else
17422 LINGUAS=
17425 if test "x$enable_tools" != xno
17426 then
17427 wine_fn_append_rule "tools/makedep$ac_exeext: $srcdir/tools/makedep.c include/config.h config.status
17428 @./config.status tools/makedep
17429 Makefile: tools/makedep$ac_exeext
17430 distclean:: clean
17431 \$(RM) tools/makedep$ac_exeext"
17432 else
17433 wine_fn_append_rule "\$(MAKEDEP):
17434 @echo \"You need to run make in $TOOLSDIR first\" && false"
17437 if test -n "$with_wine64"
17438 then
17439 wine_fn_append_rule "all: fonts server tools $with_wine64/loader/wine $with_wine64/loader/wine-preloader
17440 fonts server tools:
17441 \$(RM) \$@ && \$(LN_S) $with_wine64/\$@ \$@
17442 $with_wine64/loader/wine:
17443 \$(RM) \$@ && \$(LN_S) $ac_pwd/loader/wine \$@
17444 $with_wine64/loader/wine-preloader:
17445 \$(RM) \$@ && \$(LN_S) $ac_pwd/loader/wine-preloader \$@
17446 clean::
17447 \$(RM) fonts server tools $with_wine64/loader/wine $with_wine64/loader/wine-preloader"
17448 else
17449 as_fn_append LOADER_RULES "
17450 all: wine.inf
17452 install install-lib:: wine.inf install-man-pages
17453 \$(INSTALL_DATA) wine.inf \$(DESTDIR)\$(datadir)/wine/wine.inf
17454 \$(INSTALL_DATA) \$(srcdir)/l_intl.nls \$(DESTDIR)\$(datadir)/wine/l_intl.nls
17456 uninstall::
17457 \$(RM) \$(DESTDIR)\$(datadir)/wine/wine.inf \$(DESTDIR)\$(datadir)/wine/l_intl.nls
17461 if test "$srcdir" = .
17462 then
17463 ac_config_commands="$ac_config_commands .gitignore"
17467 $as_echo " done" >&6
17468 cat >confcache <<\_ACEOF
17469 # This file is a shell script that caches the results of configure
17470 # tests run on this system so they can be shared between configure
17471 # scripts and configure runs, see configure's option --config-cache.
17472 # It is not useful on other systems. If it contains results you don't
17473 # want to keep, you may remove or edit it.
17475 # config.status only pays attention to the cache file if you give it
17476 # the --recheck option to rerun configure.
17478 # `ac_cv_env_foo' variables (set or unset) will be overridden when
17479 # loading this file, other *unset* `ac_cv_foo' will be assigned the
17480 # following values.
17482 _ACEOF
17484 # The following way of writing the cache mishandles newlines in values,
17485 # but we know of no workaround that is simple, portable, and efficient.
17486 # So, we kill variables containing newlines.
17487 # Ultrix sh set writes to stderr and can't be redirected directly,
17488 # and sets the high bit in the cache file unless we assign to the vars.
17490 for ac_var in `(set) 2>&1 | sed -n 's/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'`; do
17491 eval ac_val=\$$ac_var
17492 case $ac_val in #(
17493 *${as_nl}*)
17494 case $ac_var in #(
17495 *_cv_*) { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: cache variable $ac_var contains a newline" >&5
17496 $as_echo "$as_me: WARNING: cache variable $ac_var contains a newline" >&2;} ;;
17497 esac
17498 case $ac_var in #(
17499 _ | IFS | as_nl) ;; #(
17500 BASH_ARGV | BASH_SOURCE) eval $ac_var= ;; #(
17501 *) { eval $ac_var=; unset $ac_var;} ;;
17502 esac ;;
17503 esac
17504 done
17506 (set) 2>&1 |
17507 case $as_nl`(ac_space=' '; set) 2>&1` in #(
17508 *${as_nl}ac_space=\ *)
17509 # `set' does not quote correctly, so add quotes: double-quote
17510 # substitution turns \\\\ into \\, and sed turns \\ into \.
17511 sed -n \
17512 "s/'/'\\\\''/g;
17513 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\\2'/p"
17514 ;; #(
17516 # `set' quotes correctly as required by POSIX, so do not add quotes.
17517 sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
17519 esac |
17520 sort
17522 sed '
17523 /^ac_cv_env_/b end
17524 t clear
17525 :clear
17526 s/^\([^=]*\)=\(.*[{}].*\)$/test "${\1+set}" = set || &/
17527 t end
17528 s/^\([^=]*\)=\(.*\)$/\1=${\1=\2}/
17529 :end' >>confcache
17530 if diff "$cache_file" confcache >/dev/null 2>&1; then :; else
17531 if test -w "$cache_file"; then
17532 if test "x$cache_file" != "x/dev/null"; then
17533 { $as_echo "$as_me:${as_lineno-$LINENO}: updating cache $cache_file" >&5
17534 $as_echo "$as_me: updating cache $cache_file" >&6;}
17535 if test ! -f "$cache_file" || test -h "$cache_file"; then
17536 cat confcache >"$cache_file"
17537 else
17538 case $cache_file in #(
17539 */* | ?:*)
17540 mv -f confcache "$cache_file"$$ &&
17541 mv -f "$cache_file"$$ "$cache_file" ;; #(
17543 mv -f confcache "$cache_file" ;;
17544 esac
17547 else
17548 { $as_echo "$as_me:${as_lineno-$LINENO}: not updating unwritable cache $cache_file" >&5
17549 $as_echo "$as_me: not updating unwritable cache $cache_file" >&6;}
17552 rm -f confcache
17554 test "x$prefix" = xNONE && prefix=$ac_default_prefix
17555 # Let make expand exec_prefix.
17556 test "x$exec_prefix" = xNONE && exec_prefix='${prefix}'
17558 DEFS=-DHAVE_CONFIG_H
17560 ac_libobjs=
17561 ac_ltlibobjs=
17563 for ac_i in : $LIBOBJS; do test "x$ac_i" = x: && continue
17564 # 1. Remove the extension, and $U if already installed.
17565 ac_script='s/\$U\././;s/\.o$//;s/\.obj$//'
17566 ac_i=`$as_echo "$ac_i" | sed "$ac_script"`
17567 # 2. Prepend LIBOBJDIR. When used with automake>=1.10 LIBOBJDIR
17568 # will be set to the directory where LIBOBJS objects are built.
17569 as_fn_append ac_libobjs " \${LIBOBJDIR}$ac_i\$U.$ac_objext"
17570 as_fn_append ac_ltlibobjs " \${LIBOBJDIR}$ac_i"'$U.lo'
17571 done
17572 LIBOBJS=$ac_libobjs
17574 LTLIBOBJS=$ac_ltlibobjs
17578 : "${CONFIG_STATUS=./config.status}"
17579 ac_write_fail=0
17580 ac_clean_files_save=$ac_clean_files
17581 ac_clean_files="$ac_clean_files $CONFIG_STATUS"
17582 { $as_echo "$as_me:${as_lineno-$LINENO}: creating $CONFIG_STATUS" >&5
17583 $as_echo "$as_me: creating $CONFIG_STATUS" >&6;}
17584 as_write_fail=0
17585 cat >$CONFIG_STATUS <<_ASEOF || as_write_fail=1
17586 #! $SHELL
17587 # Generated by $as_me.
17588 # Run this file to recreate the current configuration.
17589 # Compiler output produced by configure, useful for debugging
17590 # configure, is in config.log if it exists.
17592 debug=false
17593 ac_cs_recheck=false
17594 ac_cs_silent=false
17596 SHELL=\${CONFIG_SHELL-$SHELL}
17597 export SHELL
17598 _ASEOF
17599 cat >>$CONFIG_STATUS <<\_ASEOF || as_write_fail=1
17600 ## -------------------- ##
17601 ## M4sh Initialization. ##
17602 ## -------------------- ##
17604 # Be more Bourne compatible
17605 DUALCASE=1; export DUALCASE # for MKS sh
17606 if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then :
17607 emulate sh
17608 NULLCMD=:
17609 # Pre-4.2 versions of Zsh do word splitting on ${1+"$@"}, which
17610 # is contrary to our usage. Disable this feature.
17611 alias -g '${1+"$@"}'='"$@"'
17612 setopt NO_GLOB_SUBST
17613 else
17614 case `(set -o) 2>/dev/null` in #(
17615 *posix*) :
17616 set -o posix ;; #(
17617 *) :
17619 esac
17623 as_nl='
17625 export as_nl
17626 # Printing a long string crashes Solaris 7 /usr/bin/printf.
17627 as_echo='\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\'
17628 as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo
17629 as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo$as_echo
17630 # Prefer a ksh shell builtin over an external printf program on Solaris,
17631 # but without wasting forks for bash or zsh.
17632 if test -z "$BASH_VERSION$ZSH_VERSION" \
17633 && (test "X`print -r -- $as_echo`" = "X$as_echo") 2>/dev/null; then
17634 as_echo='print -r --'
17635 as_echo_n='print -rn --'
17636 elif (test "X`printf %s $as_echo`" = "X$as_echo") 2>/dev/null; then
17637 as_echo='printf %s\n'
17638 as_echo_n='printf %s'
17639 else
17640 if test "X`(/usr/ucb/echo -n -n $as_echo) 2>/dev/null`" = "X-n $as_echo"; then
17641 as_echo_body='eval /usr/ucb/echo -n "$1$as_nl"'
17642 as_echo_n='/usr/ucb/echo -n'
17643 else
17644 as_echo_body='eval expr "X$1" : "X\\(.*\\)"'
17645 as_echo_n_body='eval
17646 arg=$1;
17647 case $arg in #(
17648 *"$as_nl"*)
17649 expr "X$arg" : "X\\(.*\\)$as_nl";
17650 arg=`expr "X$arg" : ".*$as_nl\\(.*\\)"`;;
17651 esac;
17652 expr "X$arg" : "X\\(.*\\)" | tr -d "$as_nl"
17654 export as_echo_n_body
17655 as_echo_n='sh -c $as_echo_n_body as_echo'
17657 export as_echo_body
17658 as_echo='sh -c $as_echo_body as_echo'
17661 # The user is always right.
17662 if test "${PATH_SEPARATOR+set}" != set; then
17663 PATH_SEPARATOR=:
17664 (PATH='/bin;/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 && {
17665 (PATH='/bin:/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 ||
17666 PATH_SEPARATOR=';'
17671 # IFS
17672 # We need space, tab and new line, in precisely that order. Quoting is
17673 # there to prevent editors from complaining about space-tab.
17674 # (If _AS_PATH_WALK were called with IFS unset, it would disable word
17675 # splitting by setting IFS to empty value.)
17676 IFS=" "" $as_nl"
17678 # Find who we are. Look in the path if we contain no directory separator.
17679 as_myself=
17680 case $0 in #((
17681 *[\\/]* ) as_myself=$0 ;;
17682 *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
17683 for as_dir in $PATH
17685 IFS=$as_save_IFS
17686 test -z "$as_dir" && as_dir=.
17687 test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break
17688 done
17689 IFS=$as_save_IFS
17692 esac
17693 # We did not find ourselves, most probably we were run as `sh COMMAND'
17694 # in which case we are not to be found in the path.
17695 if test "x$as_myself" = x; then
17696 as_myself=$0
17698 if test ! -f "$as_myself"; then
17699 $as_echo "$as_myself: error: cannot find myself; rerun with an absolute file name" >&2
17700 exit 1
17703 # Unset variables that we do not need and which cause bugs (e.g. in
17704 # pre-3.0 UWIN ksh). But do not cause bugs in bash 2.01; the "|| exit 1"
17705 # suppresses any "Segmentation fault" message there. '((' could
17706 # trigger a bug in pdksh 5.2.14.
17707 for as_var in BASH_ENV ENV MAIL MAILPATH
17708 do eval test x\${$as_var+set} = xset \
17709 && ( (unset $as_var) || exit 1) >/dev/null 2>&1 && unset $as_var || :
17710 done
17711 PS1='$ '
17712 PS2='> '
17713 PS4='+ '
17715 # NLS nuisances.
17716 LC_ALL=C
17717 export LC_ALL
17718 LANGUAGE=C
17719 export LANGUAGE
17721 # CDPATH.
17722 (unset CDPATH) >/dev/null 2>&1 && unset CDPATH
17725 # as_fn_error STATUS ERROR [LINENO LOG_FD]
17726 # ----------------------------------------
17727 # Output "`basename $0`: error: ERROR" to stderr. If LINENO and LOG_FD are
17728 # provided, also output the error to LOG_FD, referencing LINENO. Then exit the
17729 # script with STATUS, using 1 if that was 0.
17730 as_fn_error ()
17732 as_status=$1; test $as_status -eq 0 && as_status=1
17733 if test "$4"; then
17734 as_lineno=${as_lineno-"$3"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
17735 $as_echo "$as_me:${as_lineno-$LINENO}: error: $2" >&$4
17737 $as_echo "$as_me: error: $2" >&2
17738 as_fn_exit $as_status
17739 } # as_fn_error
17742 # as_fn_set_status STATUS
17743 # -----------------------
17744 # Set $? to STATUS, without forking.
17745 as_fn_set_status ()
17747 return $1
17748 } # as_fn_set_status
17750 # as_fn_exit STATUS
17751 # -----------------
17752 # Exit the shell with STATUS, even in a "trap 0" or "set -e" context.
17753 as_fn_exit ()
17755 set +e
17756 as_fn_set_status $1
17757 exit $1
17758 } # as_fn_exit
17760 # as_fn_unset VAR
17761 # ---------------
17762 # Portably unset VAR.
17763 as_fn_unset ()
17765 { eval $1=; unset $1;}
17767 as_unset=as_fn_unset
17768 # as_fn_append VAR VALUE
17769 # ----------------------
17770 # Append the text in VALUE to the end of the definition contained in VAR. Take
17771 # advantage of any shell optimizations that allow amortized linear growth over
17772 # repeated appends, instead of the typical quadratic growth present in naive
17773 # implementations.
17774 if (eval "as_var=1; as_var+=2; test x\$as_var = x12") 2>/dev/null; then :
17775 eval 'as_fn_append ()
17777 eval $1+=\$2
17779 else
17780 as_fn_append ()
17782 eval $1=\$$1\$2
17784 fi # as_fn_append
17786 # as_fn_arith ARG...
17787 # ------------------
17788 # Perform arithmetic evaluation on the ARGs, and store the result in the
17789 # global $as_val. Take advantage of shells that can avoid forks. The arguments
17790 # must be portable across $(()) and expr.
17791 if (eval "test \$(( 1 + 1 )) = 2") 2>/dev/null; then :
17792 eval 'as_fn_arith ()
17794 as_val=$(( $* ))
17796 else
17797 as_fn_arith ()
17799 as_val=`expr "$@" || test $? -eq 1`
17801 fi # as_fn_arith
17804 if expr a : '\(a\)' >/dev/null 2>&1 &&
17805 test "X`expr 00001 : '.*\(...\)'`" = X001; then
17806 as_expr=expr
17807 else
17808 as_expr=false
17811 if (basename -- /) >/dev/null 2>&1 && test "X`basename -- / 2>&1`" = "X/"; then
17812 as_basename=basename
17813 else
17814 as_basename=false
17817 if (as_dir=`dirname -- /` && test "X$as_dir" = X/) >/dev/null 2>&1; then
17818 as_dirname=dirname
17819 else
17820 as_dirname=false
17823 as_me=`$as_basename -- "$0" ||
17824 $as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
17825 X"$0" : 'X\(//\)$' \| \
17826 X"$0" : 'X\(/\)' \| . 2>/dev/null ||
17827 $as_echo X/"$0" |
17828 sed '/^.*\/\([^/][^/]*\)\/*$/{
17829 s//\1/
17832 /^X\/\(\/\/\)$/{
17833 s//\1/
17836 /^X\/\(\/\).*/{
17837 s//\1/
17840 s/.*/./; q'`
17842 # Avoid depending upon Character Ranges.
17843 as_cr_letters='abcdefghijklmnopqrstuvwxyz'
17844 as_cr_LETTERS='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
17845 as_cr_Letters=$as_cr_letters$as_cr_LETTERS
17846 as_cr_digits='0123456789'
17847 as_cr_alnum=$as_cr_Letters$as_cr_digits
17849 ECHO_C= ECHO_N= ECHO_T=
17850 case `echo -n x` in #(((((
17851 -n*)
17852 case `echo 'xy\c'` in
17853 *c*) ECHO_T=' ';; # ECHO_T is single tab character.
17854 xy) ECHO_C='\c';;
17855 *) echo `echo ksh88 bug on AIX 6.1` > /dev/null
17856 ECHO_T=' ';;
17857 esac;;
17859 ECHO_N='-n';;
17860 esac
17862 rm -f conf$$ conf$$.exe conf$$.file
17863 if test -d conf$$.dir; then
17864 rm -f conf$$.dir/conf$$.file
17865 else
17866 rm -f conf$$.dir
17867 mkdir conf$$.dir 2>/dev/null
17869 if (echo >conf$$.file) 2>/dev/null; then
17870 if ln -s conf$$.file conf$$ 2>/dev/null; then
17871 as_ln_s='ln -s'
17872 # ... but there are two gotchas:
17873 # 1) On MSYS, both `ln -s file dir' and `ln file dir' fail.
17874 # 2) DJGPP < 2.04 has no symlinks; `ln -s' creates a wrapper executable.
17875 # In both cases, we have to default to `cp -pR'.
17876 ln -s conf$$.file conf$$.dir 2>/dev/null && test ! -f conf$$.exe ||
17877 as_ln_s='cp -pR'
17878 elif ln conf$$.file conf$$ 2>/dev/null; then
17879 as_ln_s=ln
17880 else
17881 as_ln_s='cp -pR'
17883 else
17884 as_ln_s='cp -pR'
17886 rm -f conf$$ conf$$.exe conf$$.dir/conf$$.file conf$$.file
17887 rmdir conf$$.dir 2>/dev/null
17890 # as_fn_mkdir_p
17891 # -------------
17892 # Create "$as_dir" as a directory, including parents if necessary.
17893 as_fn_mkdir_p ()
17896 case $as_dir in #(
17897 -*) as_dir=./$as_dir;;
17898 esac
17899 test -d "$as_dir" || eval $as_mkdir_p || {
17900 as_dirs=
17901 while :; do
17902 case $as_dir in #(
17903 *\'*) as_qdir=`$as_echo "$as_dir" | sed "s/'/'\\\\\\\\''/g"`;; #'(
17904 *) as_qdir=$as_dir;;
17905 esac
17906 as_dirs="'$as_qdir' $as_dirs"
17907 as_dir=`$as_dirname -- "$as_dir" ||
17908 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
17909 X"$as_dir" : 'X\(//\)[^/]' \| \
17910 X"$as_dir" : 'X\(//\)$' \| \
17911 X"$as_dir" : 'X\(/\)' \| . 2>/dev/null ||
17912 $as_echo X"$as_dir" |
17913 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
17914 s//\1/
17917 /^X\(\/\/\)[^/].*/{
17918 s//\1/
17921 /^X\(\/\/\)$/{
17922 s//\1/
17925 /^X\(\/\).*/{
17926 s//\1/
17929 s/.*/./; q'`
17930 test -d "$as_dir" && break
17931 done
17932 test -z "$as_dirs" || eval "mkdir $as_dirs"
17933 } || test -d "$as_dir" || as_fn_error $? "cannot create directory $as_dir"
17936 } # as_fn_mkdir_p
17937 if mkdir -p . 2>/dev/null; then
17938 as_mkdir_p='mkdir -p "$as_dir"'
17939 else
17940 test -d ./-p && rmdir ./-p
17941 as_mkdir_p=false
17945 # as_fn_executable_p FILE
17946 # -----------------------
17947 # Test if FILE is an executable regular file.
17948 as_fn_executable_p ()
17950 test -f "$1" && test -x "$1"
17951 } # as_fn_executable_p
17952 as_test_x='test -x'
17953 as_executable_p=as_fn_executable_p
17955 # Sed expression to map a string onto a valid CPP name.
17956 as_tr_cpp="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'"
17958 # Sed expression to map a string onto a valid variable name.
17959 as_tr_sh="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'"
17962 exec 6>&1
17963 ## ----------------------------------- ##
17964 ## Main body of $CONFIG_STATUS script. ##
17965 ## ----------------------------------- ##
17966 _ASEOF
17967 test $as_write_fail = 0 && chmod +x $CONFIG_STATUS || ac_write_fail=1
17969 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
17970 # Save the log message, to keep $0 and so on meaningful, and to
17971 # report actual input values of CONFIG_FILES etc. instead of their
17972 # values after options handling.
17973 ac_log="
17974 This file was extended by Wine $as_me 1.7.11, which was
17975 generated by GNU Autoconf 2.69. Invocation command line was
17977 CONFIG_FILES = $CONFIG_FILES
17978 CONFIG_HEADERS = $CONFIG_HEADERS
17979 CONFIG_LINKS = $CONFIG_LINKS
17980 CONFIG_COMMANDS = $CONFIG_COMMANDS
17981 $ $0 $@
17983 on `(hostname || uname -n) 2>/dev/null | sed 1q`
17986 _ACEOF
17988 case $ac_config_files in *"
17989 "*) set x $ac_config_files; shift; ac_config_files=$*;;
17990 esac
17992 case $ac_config_headers in *"
17993 "*) set x $ac_config_headers; shift; ac_config_headers=$*;;
17994 esac
17997 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
17998 # Files that config.status was made for.
17999 config_files="$ac_config_files"
18000 config_headers="$ac_config_headers"
18001 config_links="$ac_config_links"
18002 config_commands="$ac_config_commands"
18004 _ACEOF
18006 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
18007 ac_cs_usage="\
18008 \`$as_me' instantiates files and other configuration actions
18009 from templates according to the current configuration. Unless the files
18010 and actions are specified as TAGs, all are instantiated by default.
18012 Usage: $0 [OPTION]... [TAG]...
18014 -h, --help print this help, then exit
18015 -V, --version print version number and configuration settings, then exit
18016 --config print configuration, then exit
18017 -q, --quiet, --silent
18018 do not print progress messages
18019 -d, --debug don't remove temporary files
18020 --recheck update $as_me by reconfiguring in the same conditions
18021 --file=FILE[:TEMPLATE]
18022 instantiate the configuration file FILE
18023 --header=FILE[:TEMPLATE]
18024 instantiate the configuration header FILE
18026 Configuration files:
18027 $config_files
18029 Configuration headers:
18030 $config_headers
18032 Configuration links:
18033 $config_links
18035 Configuration commands:
18036 $config_commands
18038 Report bugs to <wine-devel@winehq.org>.
18039 Wine home page: <http://www.winehq.org>."
18041 _ACEOF
18042 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
18043 ac_cs_config="`$as_echo "$ac_configure_args" | sed 's/^ //; s/[\\""\`\$]/\\\\&/g'`"
18044 ac_cs_version="\\
18045 Wine config.status 1.7.11
18046 configured by $0, generated by GNU Autoconf 2.69,
18047 with options \\"\$ac_cs_config\\"
18049 Copyright (C) 2012 Free Software Foundation, Inc.
18050 This config.status script is free software; the Free Software Foundation
18051 gives unlimited permission to copy, distribute and modify it."
18053 ac_pwd='$ac_pwd'
18054 srcdir='$srcdir'
18055 test -n "\$AWK" || AWK=awk
18056 _ACEOF
18058 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
18059 # The default lists apply if the user does not specify any file.
18060 ac_need_defaults=:
18061 while test $# != 0
18063 case $1 in
18064 --*=?*)
18065 ac_option=`expr "X$1" : 'X\([^=]*\)='`
18066 ac_optarg=`expr "X$1" : 'X[^=]*=\(.*\)'`
18067 ac_shift=:
18069 --*=)
18070 ac_option=`expr "X$1" : 'X\([^=]*\)='`
18071 ac_optarg=
18072 ac_shift=:
18075 ac_option=$1
18076 ac_optarg=$2
18077 ac_shift=shift
18079 esac
18081 case $ac_option in
18082 # Handling of the options.
18083 -recheck | --recheck | --rechec | --reche | --rech | --rec | --re | --r)
18084 ac_cs_recheck=: ;;
18085 --version | --versio | --versi | --vers | --ver | --ve | --v | -V )
18086 $as_echo "$ac_cs_version"; exit ;;
18087 --config | --confi | --conf | --con | --co | --c )
18088 $as_echo "$ac_cs_config"; exit ;;
18089 --debug | --debu | --deb | --de | --d | -d )
18090 debug=: ;;
18091 --file | --fil | --fi | --f )
18092 $ac_shift
18093 case $ac_optarg in
18094 *\'*) ac_optarg=`$as_echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"` ;;
18095 '') as_fn_error $? "missing file argument" ;;
18096 esac
18097 as_fn_append CONFIG_FILES " '$ac_optarg'"
18098 ac_need_defaults=false;;
18099 --header | --heade | --head | --hea )
18100 $ac_shift
18101 case $ac_optarg in
18102 *\'*) ac_optarg=`$as_echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"` ;;
18103 esac
18104 as_fn_append CONFIG_HEADERS " '$ac_optarg'"
18105 ac_need_defaults=false;;
18106 --he | --h)
18107 # Conflict between --help and --header
18108 as_fn_error $? "ambiguous option: \`$1'
18109 Try \`$0 --help' for more information.";;
18110 --help | --hel | -h )
18111 $as_echo "$ac_cs_usage"; exit ;;
18112 -q | -quiet | --quiet | --quie | --qui | --qu | --q \
18113 | -silent | --silent | --silen | --sile | --sil | --si | --s)
18114 ac_cs_silent=: ;;
18116 # This is an error.
18117 -*) as_fn_error $? "unrecognized option: \`$1'
18118 Try \`$0 --help' for more information." ;;
18120 *) as_fn_append ac_config_targets " $1"
18121 ac_need_defaults=false ;;
18123 esac
18124 shift
18125 done
18127 ac_configure_extra_args=
18129 if $ac_cs_silent; then
18130 exec 6>/dev/null
18131 ac_configure_extra_args="$ac_configure_extra_args --silent"
18134 _ACEOF
18135 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
18136 if \$ac_cs_recheck; then
18137 set X $SHELL '$0' $ac_configure_args \$ac_configure_extra_args --no-create --no-recursion
18138 shift
18139 \$as_echo "running CONFIG_SHELL=$SHELL \$*" >&6
18140 CONFIG_SHELL='$SHELL'
18141 export CONFIG_SHELL
18142 exec "\$@"
18145 _ACEOF
18146 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
18147 exec 5>>config.log
18149 echo
18150 sed 'h;s/./-/g;s/^.../## /;s/...$/ ##/;p;x;p;x' <<_ASBOX
18151 ## Running $as_me. ##
18152 _ASBOX
18153 $as_echo "$ac_log"
18154 } >&5
18156 _ACEOF
18157 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
18159 # INIT-COMMANDS
18161 wine_fn_output_makedep ()
18163 as_dir=tools; as_fn_mkdir_p
18164 $CC -Iinclude -I$srcdir/include -D__WINESRC__ $EXTRACFLAGS $CPPFLAGS $CFLAGS -o tools/makedep$ac_exeext $srcdir/tools/makedep.c $LDFLAGS
18166 wine_fn_output_makefile ()
18168 cat Make.tmp - <<\_WINE_EOF >\$tmp/makefile && mv -f \$tmp/makefile \$1 && rm -f Make.tmp && return
18169 `cat $wine_rules_file`
18170 _WINE_EOF
18171 as_fn_error $? "could not create Makefile" "$LINENO" 5
18173 wine_fn_output_gitignore ()
18175 sort <<\_WINE_EOF >\$tmp/gitignore && mv -f \$tmp/gitignore \$1 && return
18176 $GITIGNORE
18177 _WINE_EOF
18178 as_fn_error $? "could not create .gitignore" "$LINENO" 5
18181 _ACEOF
18183 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
18185 # Handling of arguments.
18186 for ac_config_target in $ac_config_targets
18188 case $ac_config_target in
18189 "include/config.h") CONFIG_HEADERS="$CONFIG_HEADERS include/config.h" ;;
18190 "include/stamp-h") CONFIG_COMMANDS="$CONFIG_COMMANDS include/stamp-h" ;;
18191 "fonts/marlett.ttf") CONFIG_LINKS="$CONFIG_LINKS fonts/marlett.ttf:fonts/marlett.ttf" ;;
18192 "fonts/symbol.ttf") CONFIG_LINKS="$CONFIG_LINKS fonts/symbol.ttf:fonts/symbol.ttf" ;;
18193 "fonts/tahoma.ttf") CONFIG_LINKS="$CONFIG_LINKS fonts/tahoma.ttf:fonts/tahoma.ttf" ;;
18194 "fonts/tahomabd.ttf") CONFIG_LINKS="$CONFIG_LINKS fonts/tahomabd.ttf:fonts/tahomabd.ttf" ;;
18195 "loader/l_intl.nls") CONFIG_LINKS="$CONFIG_LINKS loader/l_intl.nls:loader/l_intl.nls" ;;
18196 "po/LINGUAS") CONFIG_LINKS="$CONFIG_LINKS po/LINGUAS:po/LINGUAS" ;;
18197 "wine") CONFIG_LINKS="$CONFIG_LINKS wine:tools/winewrapper" ;;
18198 "wine64") CONFIG_LINKS="$CONFIG_LINKS wine64:tools/winewrapper" ;;
18199 "tools/makedep") CONFIG_COMMANDS="$CONFIG_COMMANDS tools/makedep" ;;
18200 "Makefile") CONFIG_COMMANDS="$CONFIG_COMMANDS Makefile" ;;
18201 "Make.tmp") CONFIG_FILES="$CONFIG_FILES Make.tmp:Make.vars.in:Makefile.in" ;;
18202 ".gitignore") CONFIG_COMMANDS="$CONFIG_COMMANDS .gitignore" ;;
18204 *) as_fn_error $? "invalid argument: \`$ac_config_target'" "$LINENO" 5;;
18205 esac
18206 done
18209 # If the user did not use the arguments to specify the items to instantiate,
18210 # then the envvar interface is used. Set only those that are not.
18211 # We use the long form for the default assignment because of an extremely
18212 # bizarre bug on SunOS 4.1.3.
18213 if $ac_need_defaults; then
18214 test "${CONFIG_FILES+set}" = set || CONFIG_FILES=$config_files
18215 test "${CONFIG_HEADERS+set}" = set || CONFIG_HEADERS=$config_headers
18216 test "${CONFIG_LINKS+set}" = set || CONFIG_LINKS=$config_links
18217 test "${CONFIG_COMMANDS+set}" = set || CONFIG_COMMANDS=$config_commands
18220 # Have a temporary directory for convenience. Make it in the build tree
18221 # simply because there is no reason against having it here, and in addition,
18222 # creating and moving files from /tmp can sometimes cause problems.
18223 # Hook for its removal unless debugging.
18224 # Note that there is a small window in which the directory will not be cleaned:
18225 # after its creation but before its name has been assigned to `$tmp'.
18226 $debug ||
18228 tmp= ac_tmp=
18229 trap 'exit_status=$?
18230 : "${ac_tmp:=$tmp}"
18231 { test ! -d "$ac_tmp" || rm -fr "$ac_tmp"; } && exit $exit_status
18233 trap 'as_fn_exit 1' 1 2 13 15
18235 # Create a (secure) tmp directory for tmp files.
18238 tmp=`(umask 077 && mktemp -d "./confXXXXXX") 2>/dev/null` &&
18239 test -d "$tmp"
18240 } ||
18242 tmp=./conf$$-$RANDOM
18243 (umask 077 && mkdir "$tmp")
18244 } || as_fn_error $? "cannot create a temporary directory in ." "$LINENO" 5
18245 ac_tmp=$tmp
18247 # Set up the scripts for CONFIG_FILES section.
18248 # No need to generate them if there are no CONFIG_FILES.
18249 # This happens for instance with `./config.status config.h'.
18250 if test -n "$CONFIG_FILES"; then
18253 ac_cr=`echo X | tr X '\015'`
18254 # On cygwin, bash can eat \r inside `` if the user requested igncr.
18255 # But we know of no other shell where ac_cr would be empty at this
18256 # point, so we can use a bashism as a fallback.
18257 if test "x$ac_cr" = x; then
18258 eval ac_cr=\$\'\\r\'
18260 ac_cs_awk_cr=`$AWK 'BEGIN { print "a\rb" }' </dev/null 2>/dev/null`
18261 if test "$ac_cs_awk_cr" = "a${ac_cr}b"; then
18262 ac_cs_awk_cr='\\r'
18263 else
18264 ac_cs_awk_cr=$ac_cr
18267 echo 'BEGIN {' >"$ac_tmp/subs1.awk" &&
18268 _ACEOF
18272 echo "cat >conf$$subs.awk <<_ACEOF" &&
18273 echo "$ac_subst_vars" | sed 's/.*/&!$&$ac_delim/' &&
18274 echo "_ACEOF"
18275 } >conf$$subs.sh ||
18276 as_fn_error $? "could not make $CONFIG_STATUS" "$LINENO" 5
18277 ac_delim_num=`echo "$ac_subst_vars" | grep -c '^'`
18278 ac_delim='%!_!# '
18279 for ac_last_try in false false false false false :; do
18280 . ./conf$$subs.sh ||
18281 as_fn_error $? "could not make $CONFIG_STATUS" "$LINENO" 5
18283 ac_delim_n=`sed -n "s/.*$ac_delim\$/X/p" conf$$subs.awk | grep -c X`
18284 if test $ac_delim_n = $ac_delim_num; then
18285 break
18286 elif $ac_last_try; then
18287 as_fn_error $? "could not make $CONFIG_STATUS" "$LINENO" 5
18288 else
18289 ac_delim="$ac_delim!$ac_delim _$ac_delim!! "
18291 done
18292 rm -f conf$$subs.sh
18294 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
18295 cat >>"\$ac_tmp/subs1.awk" <<\\_ACAWK &&
18296 _ACEOF
18297 sed -n '
18299 s/^/S["/; s/!.*/"]=/
18302 s/^[^!]*!//
18303 :repl
18304 t repl
18305 s/'"$ac_delim"'$//
18306 t delim
18309 s/\(.\{148\}\)..*/\1/
18310 t more1
18311 s/["\\]/\\&/g; s/^/"/; s/$/\\n"\\/
18314 b repl
18315 :more1
18316 s/["\\]/\\&/g; s/^/"/; s/$/"\\/
18319 s/.\{148\}//
18320 t nl
18321 :delim
18323 s/\(.\{148\}\)..*/\1/
18324 t more2
18325 s/["\\]/\\&/g; s/^/"/; s/$/"/
18328 :more2
18329 s/["\\]/\\&/g; s/^/"/; s/$/"\\/
18332 s/.\{148\}//
18333 t delim
18334 ' <conf$$subs.awk | sed '
18335 /^[^""]/{
18337 s/\n//
18339 ' >>$CONFIG_STATUS || ac_write_fail=1
18340 rm -f conf$$subs.awk
18341 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
18342 _ACAWK
18343 cat >>"\$ac_tmp/subs1.awk" <<_ACAWK &&
18344 for (key in S) S_is_set[key] = 1
18345 FS = "\a"
18349 line = $ 0
18350 nfields = split(line, field, "@")
18351 substed = 0
18352 len = length(field[1])
18353 for (i = 2; i < nfields; i++) {
18354 key = field[i]
18355 keylen = length(key)
18356 if (S_is_set[key]) {
18357 value = S[key]
18358 line = substr(line, 1, len) "" value "" substr(line, len + keylen + 3)
18359 len += length(value) + length(field[++i])
18360 substed = 1
18361 } else
18362 len += 1 + keylen
18365 print line
18368 _ACAWK
18369 _ACEOF
18370 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
18371 if sed "s/$ac_cr//" < /dev/null > /dev/null 2>&1; then
18372 sed "s/$ac_cr\$//; s/$ac_cr/$ac_cs_awk_cr/g"
18373 else
18375 fi < "$ac_tmp/subs1.awk" > "$ac_tmp/subs.awk" \
18376 || as_fn_error $? "could not setup config files machinery" "$LINENO" 5
18377 _ACEOF
18379 # VPATH may cause trouble with some makes, so we remove sole $(srcdir),
18380 # ${srcdir} and @srcdir@ entries from VPATH if srcdir is ".", strip leading and
18381 # trailing colons and then remove the whole line if VPATH becomes empty
18382 # (actually we leave an empty line to preserve line numbers).
18383 if test "x$srcdir" = x.; then
18384 ac_vpsub='/^[ ]*VPATH[ ]*=[ ]*/{
18386 s///
18387 s/^/:/
18388 s/[ ]*$/:/
18389 s/:\$(srcdir):/:/g
18390 s/:\${srcdir}:/:/g
18391 s/:@srcdir@:/:/g
18392 s/^:*//
18393 s/:*$//
18395 s/\(=[ ]*\).*/\1/
18397 s/\n//
18398 s/^[^=]*=[ ]*$//
18402 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
18403 fi # test -n "$CONFIG_FILES"
18405 # Set up the scripts for CONFIG_HEADERS section.
18406 # No need to generate them if there are no CONFIG_HEADERS.
18407 # This happens for instance with `./config.status Makefile'.
18408 if test -n "$CONFIG_HEADERS"; then
18409 cat >"$ac_tmp/defines.awk" <<\_ACAWK ||
18410 BEGIN {
18411 _ACEOF
18413 # Transform confdefs.h into an awk script `defines.awk', embedded as
18414 # here-document in config.status, that substitutes the proper values into
18415 # config.h.in to produce config.h.
18417 # Create a delimiter string that does not exist in confdefs.h, to ease
18418 # handling of long lines.
18419 ac_delim='%!_!# '
18420 for ac_last_try in false false :; do
18421 ac_tt=`sed -n "/$ac_delim/p" confdefs.h`
18422 if test -z "$ac_tt"; then
18423 break
18424 elif $ac_last_try; then
18425 as_fn_error $? "could not make $CONFIG_HEADERS" "$LINENO" 5
18426 else
18427 ac_delim="$ac_delim!$ac_delim _$ac_delim!! "
18429 done
18431 # For the awk script, D is an array of macro values keyed by name,
18432 # likewise P contains macro parameters if any. Preserve backslash
18433 # newline sequences.
18435 ac_word_re=[_$as_cr_Letters][_$as_cr_alnum]*
18436 sed -n '
18437 s/.\{148\}/&'"$ac_delim"'/g
18438 t rset
18439 :rset
18440 s/^[ ]*#[ ]*define[ ][ ]*/ /
18441 t def
18443 :def
18444 s/\\$//
18445 t bsnl
18446 s/["\\]/\\&/g
18447 s/^ \('"$ac_word_re"'\)\(([^()]*)\)[ ]*\(.*\)/P["\1"]="\2"\
18448 D["\1"]=" \3"/p
18449 s/^ \('"$ac_word_re"'\)[ ]*\(.*\)/D["\1"]=" \2"/p
18451 :bsnl
18452 s/["\\]/\\&/g
18453 s/^ \('"$ac_word_re"'\)\(([^()]*)\)[ ]*\(.*\)/P["\1"]="\2"\
18454 D["\1"]=" \3\\\\\\n"\\/p
18455 t cont
18456 s/^ \('"$ac_word_re"'\)[ ]*\(.*\)/D["\1"]=" \2\\\\\\n"\\/p
18457 t cont
18459 :cont
18461 s/.\{148\}/&'"$ac_delim"'/g
18462 t clear
18463 :clear
18464 s/\\$//
18465 t bsnlc
18466 s/["\\]/\\&/g; s/^/"/; s/$/"/p
18468 :bsnlc
18469 s/["\\]/\\&/g; s/^/"/; s/$/\\\\\\n"\\/p
18470 b cont
18471 ' <confdefs.h | sed '
18472 s/'"$ac_delim"'/"\\\
18473 "/g' >>$CONFIG_STATUS || ac_write_fail=1
18475 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
18476 for (key in D) D_is_set[key] = 1
18477 FS = "\a"
18479 /^[\t ]*#[\t ]*(define|undef)[\t ]+$ac_word_re([\t (]|\$)/ {
18480 line = \$ 0
18481 split(line, arg, " ")
18482 if (arg[1] == "#") {
18483 defundef = arg[2]
18484 mac1 = arg[3]
18485 } else {
18486 defundef = substr(arg[1], 2)
18487 mac1 = arg[2]
18489 split(mac1, mac2, "(") #)
18490 macro = mac2[1]
18491 prefix = substr(line, 1, index(line, defundef) - 1)
18492 if (D_is_set[macro]) {
18493 # Preserve the white space surrounding the "#".
18494 print prefix "define", macro P[macro] D[macro]
18495 next
18496 } else {
18497 # Replace #undef with comments. This is necessary, for example,
18498 # in the case of _POSIX_SOURCE, which is predefined and required
18499 # on some systems where configure will not decide to define it.
18500 if (defundef == "undef") {
18501 print "/*", prefix defundef, macro, "*/"
18502 next
18506 { print }
18507 _ACAWK
18508 _ACEOF
18509 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
18510 as_fn_error $? "could not setup config headers machinery" "$LINENO" 5
18511 fi # test -n "$CONFIG_HEADERS"
18514 eval set X " :F $CONFIG_FILES :H $CONFIG_HEADERS :L $CONFIG_LINKS :C $CONFIG_COMMANDS"
18515 shift
18516 for ac_tag
18518 case $ac_tag in
18519 :[FHLC]) ac_mode=$ac_tag; continue;;
18520 esac
18521 case $ac_mode$ac_tag in
18522 :[FHL]*:*);;
18523 :L* | :C*:*) as_fn_error $? "invalid tag \`$ac_tag'" "$LINENO" 5;;
18524 :[FH]-) ac_tag=-:-;;
18525 :[FH]*) ac_tag=$ac_tag:$ac_tag.in;;
18526 esac
18527 ac_save_IFS=$IFS
18528 IFS=:
18529 set x $ac_tag
18530 IFS=$ac_save_IFS
18531 shift
18532 ac_file=$1
18533 shift
18535 case $ac_mode in
18536 :L) ac_source=$1;;
18537 :[FH])
18538 ac_file_inputs=
18539 for ac_f
18541 case $ac_f in
18542 -) ac_f="$ac_tmp/stdin";;
18543 *) # Look for the file first in the build tree, then in the source tree
18544 # (if the path is not absolute). The absolute path cannot be DOS-style,
18545 # because $ac_f cannot contain `:'.
18546 test -f "$ac_f" ||
18547 case $ac_f in
18548 [\\/$]*) false;;
18549 *) test -f "$srcdir/$ac_f" && ac_f="$srcdir/$ac_f";;
18550 esac ||
18551 as_fn_error 1 "cannot find input file: \`$ac_f'" "$LINENO" 5;;
18552 esac
18553 case $ac_f in *\'*) ac_f=`$as_echo "$ac_f" | sed "s/'/'\\\\\\\\''/g"`;; esac
18554 as_fn_append ac_file_inputs " '$ac_f'"
18555 done
18557 # Let's still pretend it is `configure' which instantiates (i.e., don't
18558 # use $as_me), people would be surprised to read:
18559 # /* config.h. Generated by config.status. */
18560 configure_input='Generated from '`
18561 $as_echo "$*" | sed 's|^[^:]*/||;s|:[^:]*/|, |g'
18562 `' by configure.'
18563 if test x"$ac_file" != x-; then
18564 configure_input="$ac_file. $configure_input"
18565 { $as_echo "$as_me:${as_lineno-$LINENO}: creating $ac_file" >&5
18566 $as_echo "$as_me: creating $ac_file" >&6;}
18568 # Neutralize special characters interpreted by sed in replacement strings.
18569 case $configure_input in #(
18570 *\&* | *\|* | *\\* )
18571 ac_sed_conf_input=`$as_echo "$configure_input" |
18572 sed 's/[\\\\&|]/\\\\&/g'`;; #(
18573 *) ac_sed_conf_input=$configure_input;;
18574 esac
18576 case $ac_tag in
18577 *:-:* | *:-) cat >"$ac_tmp/stdin" \
18578 || as_fn_error $? "could not create $ac_file" "$LINENO" 5 ;;
18579 esac
18581 esac
18583 ac_dir=`$as_dirname -- "$ac_file" ||
18584 $as_expr X"$ac_file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
18585 X"$ac_file" : 'X\(//\)[^/]' \| \
18586 X"$ac_file" : 'X\(//\)$' \| \
18587 X"$ac_file" : 'X\(/\)' \| . 2>/dev/null ||
18588 $as_echo X"$ac_file" |
18589 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
18590 s//\1/
18593 /^X\(\/\/\)[^/].*/{
18594 s//\1/
18597 /^X\(\/\/\)$/{
18598 s//\1/
18601 /^X\(\/\).*/{
18602 s//\1/
18605 s/.*/./; q'`
18606 as_dir="$ac_dir"; as_fn_mkdir_p
18607 ac_builddir=.
18609 case "$ac_dir" in
18610 .) ac_dir_suffix= ac_top_builddir_sub=. ac_top_build_prefix= ;;
18612 ac_dir_suffix=/`$as_echo "$ac_dir" | sed 's|^\.[\\/]||'`
18613 # A ".." for each directory in $ac_dir_suffix.
18614 ac_top_builddir_sub=`$as_echo "$ac_dir_suffix" | sed 's|/[^\\/]*|/..|g;s|/||'`
18615 case $ac_top_builddir_sub in
18616 "") ac_top_builddir_sub=. ac_top_build_prefix= ;;
18617 *) ac_top_build_prefix=$ac_top_builddir_sub/ ;;
18618 esac ;;
18619 esac
18620 ac_abs_top_builddir=$ac_pwd
18621 ac_abs_builddir=$ac_pwd$ac_dir_suffix
18622 # for backward compatibility:
18623 ac_top_builddir=$ac_top_build_prefix
18625 case $srcdir in
18626 .) # We are building in place.
18627 ac_srcdir=.
18628 ac_top_srcdir=$ac_top_builddir_sub
18629 ac_abs_top_srcdir=$ac_pwd ;;
18630 [\\/]* | ?:[\\/]* ) # Absolute name.
18631 ac_srcdir=$srcdir$ac_dir_suffix;
18632 ac_top_srcdir=$srcdir
18633 ac_abs_top_srcdir=$srcdir ;;
18634 *) # Relative name.
18635 ac_srcdir=$ac_top_build_prefix$srcdir$ac_dir_suffix
18636 ac_top_srcdir=$ac_top_build_prefix$srcdir
18637 ac_abs_top_srcdir=$ac_pwd/$srcdir ;;
18638 esac
18639 ac_abs_srcdir=$ac_abs_top_srcdir$ac_dir_suffix
18642 case $ac_mode in
18645 # CONFIG_FILE
18648 _ACEOF
18650 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
18651 # If the template does not know about datarootdir, expand it.
18652 # FIXME: This hack should be removed a few years after 2.60.
18653 ac_datarootdir_hack=; ac_datarootdir_seen=
18654 ac_sed_dataroot='
18655 /datarootdir/ {
18659 /@datadir@/p
18660 /@docdir@/p
18661 /@infodir@/p
18662 /@localedir@/p
18663 /@mandir@/p'
18664 case `eval "sed -n \"\$ac_sed_dataroot\" $ac_file_inputs"` in
18665 *datarootdir*) ac_datarootdir_seen=yes;;
18666 *@datadir@*|*@docdir@*|*@infodir@*|*@localedir@*|*@mandir@*)
18667 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&5
18668 $as_echo "$as_me: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&2;}
18669 _ACEOF
18670 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
18671 ac_datarootdir_hack='
18672 s&@datadir@&$datadir&g
18673 s&@docdir@&$docdir&g
18674 s&@infodir@&$infodir&g
18675 s&@localedir@&$localedir&g
18676 s&@mandir@&$mandir&g
18677 s&\\\${datarootdir}&$datarootdir&g' ;;
18678 esac
18679 _ACEOF
18681 # Neutralize VPATH when `$srcdir' = `.'.
18682 # Shell code in configure.ac might set extrasub.
18683 # FIXME: do we really want to maintain this feature?
18684 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
18685 ac_sed_extra="$ac_vpsub
18686 $extrasub
18687 _ACEOF
18688 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
18690 /@[a-zA-Z_][a-zA-Z_0-9]*@/!b
18691 s|@configure_input@|$ac_sed_conf_input|;t t
18692 s&@top_builddir@&$ac_top_builddir_sub&;t t
18693 s&@top_build_prefix@&$ac_top_build_prefix&;t t
18694 s&@srcdir@&$ac_srcdir&;t t
18695 s&@abs_srcdir@&$ac_abs_srcdir&;t t
18696 s&@top_srcdir@&$ac_top_srcdir&;t t
18697 s&@abs_top_srcdir@&$ac_abs_top_srcdir&;t t
18698 s&@builddir@&$ac_builddir&;t t
18699 s&@abs_builddir@&$ac_abs_builddir&;t t
18700 s&@abs_top_builddir@&$ac_abs_top_builddir&;t t
18701 $ac_datarootdir_hack
18703 eval sed \"\$ac_sed_extra\" "$ac_file_inputs" | $AWK -f "$ac_tmp/subs.awk" \
18704 >$ac_tmp/out || as_fn_error $? "could not create $ac_file" "$LINENO" 5
18706 test -z "$ac_datarootdir_hack$ac_datarootdir_seen" &&
18707 { ac_out=`sed -n '/\${datarootdir}/p' "$ac_tmp/out"`; test -n "$ac_out"; } &&
18708 { ac_out=`sed -n '/^[ ]*datarootdir[ ]*:*=/p' \
18709 "$ac_tmp/out"`; test -z "$ac_out"; } &&
18710 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $ac_file contains a reference to the variable \`datarootdir'
18711 which seems to be undefined. Please make sure it is defined" >&5
18712 $as_echo "$as_me: WARNING: $ac_file contains a reference to the variable \`datarootdir'
18713 which seems to be undefined. Please make sure it is defined" >&2;}
18715 rm -f "$ac_tmp/stdin"
18716 case $ac_file in
18717 -) cat "$ac_tmp/out" && rm -f "$ac_tmp/out";;
18718 *) rm -f "$ac_file" && mv "$ac_tmp/out" "$ac_file";;
18719 esac \
18720 || as_fn_error $? "could not create $ac_file" "$LINENO" 5
18724 # CONFIG_HEADER
18726 if test x"$ac_file" != x-; then
18728 $as_echo "/* $configure_input */" \
18729 && eval '$AWK -f "$ac_tmp/defines.awk"' "$ac_file_inputs"
18730 } >"$ac_tmp/config.h" \
18731 || as_fn_error $? "could not create $ac_file" "$LINENO" 5
18732 if diff "$ac_file" "$ac_tmp/config.h" >/dev/null 2>&1; then
18733 { $as_echo "$as_me:${as_lineno-$LINENO}: $ac_file is unchanged" >&5
18734 $as_echo "$as_me: $ac_file is unchanged" >&6;}
18735 else
18736 rm -f "$ac_file"
18737 mv "$ac_tmp/config.h" "$ac_file" \
18738 || as_fn_error $? "could not create $ac_file" "$LINENO" 5
18740 else
18741 $as_echo "/* $configure_input */" \
18742 && eval '$AWK -f "$ac_tmp/defines.awk"' "$ac_file_inputs" \
18743 || as_fn_error $? "could not create -" "$LINENO" 5
18748 # CONFIG_LINK
18751 if test "$ac_source" = "$ac_file" && test "$srcdir" = '.'; then
18753 else
18754 # Prefer the file from the source tree if names are identical.
18755 if test "$ac_source" = "$ac_file" || test ! -r "$ac_source"; then
18756 ac_source=$srcdir/$ac_source
18759 { $as_echo "$as_me:${as_lineno-$LINENO}: linking $ac_source to $ac_file" >&5
18760 $as_echo "$as_me: linking $ac_source to $ac_file" >&6;}
18762 if test ! -r "$ac_source"; then
18763 as_fn_error $? "$ac_source: file not found" "$LINENO" 5
18765 rm -f "$ac_file"
18767 # Try a relative symlink, then a hard link, then a copy.
18768 case $ac_source in
18769 [\\/$]* | ?:[\\/]* ) ac_rel_source=$ac_source ;;
18770 *) ac_rel_source=$ac_top_build_prefix$ac_source ;;
18771 esac
18772 ln -s "$ac_rel_source" "$ac_file" 2>/dev/null ||
18773 ln "$ac_source" "$ac_file" 2>/dev/null ||
18774 cp -p "$ac_source" "$ac_file" ||
18775 as_fn_error $? "cannot link or copy $ac_source to $ac_file" "$LINENO" 5
18778 :C) { $as_echo "$as_me:${as_lineno-$LINENO}: executing $ac_file commands" >&5
18779 $as_echo "$as_me: executing $ac_file commands" >&6;}
18781 esac
18784 case $ac_file$ac_mode in
18785 "include/stamp-h":C) echo timestamp > include/stamp-h ;;
18786 "tools/makedep":C) wine_fn_output_makedep || as_fn_exit $? ;;
18787 "Makefile":C) wine_fn_output_makefile Makefile ;;
18788 ".gitignore":C) wine_fn_output_gitignore .gitignore ;;
18790 esac
18791 done # for ac_tag
18794 as_fn_exit 0
18795 _ACEOF
18796 ac_clean_files=$ac_clean_files_save
18798 test $ac_write_fail = 0 ||
18799 as_fn_error $? "write failure creating $CONFIG_STATUS" "$LINENO" 5
18802 # configure is writing to config.log, and then calls config.status.
18803 # config.status does its own redirection, appending to config.log.
18804 # Unfortunately, on DOS this fails, as config.log is still kept open
18805 # by configure, so config.status won't be able to write to it; its
18806 # output is simply discarded. So we exec the FD to /dev/null,
18807 # effectively closing config.log, so it can be properly (re)opened and
18808 # appended to by config.status. When coming back to configure, we
18809 # need to make the FD available again.
18810 if test "$no_create" != yes; then
18811 ac_cs_success=:
18812 ac_config_status_args=
18813 test "$silent" = yes &&
18814 ac_config_status_args="$ac_config_status_args --quiet"
18815 exec 5>/dev/null
18816 $SHELL $CONFIG_STATUS $ac_config_status_args || ac_cs_success=false
18817 exec 5>>config.log
18818 # Use ||, not &&, to avoid exiting from the if with $? = 1, which
18819 # would make configure fail if this is the last instruction.
18820 $ac_cs_success || as_fn_exit 1
18822 if test -n "$ac_unrecognized_opts" && test "$enable_option_checking" != no; then
18823 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: unrecognized options: $ac_unrecognized_opts" >&5
18824 $as_echo "$as_me: WARNING: unrecognized options: $ac_unrecognized_opts" >&2;}
18828 if test "$no_create" = "yes"
18829 then
18830 exit 0
18833 ac_save_IFS="$IFS"
18834 if test "x$wine_notices != "x; then
18835 echo >&6
18836 IFS="|"
18837 for msg in $wine_notices; do
18838 IFS="$ac_save_IFS"
18839 if ${msg+:} false; then :
18840 { $as_echo "$as_me:${as_lineno-$LINENO}: $msg" >&5
18841 $as_echo "$as_me: $msg" >&6;}
18843 done
18845 IFS="|"
18846 for msg in $wine_warnings; do
18847 IFS="$ac_save_IFS"
18848 if ${msg+:} false; then :
18849 echo >&2
18850 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $msg" >&5
18851 $as_echo "$as_me: WARNING: $msg" >&2;}
18853 done
18854 IFS="$ac_save_IFS"
18856 $as_echo "
18857 $as_me: Finished. Do '${ac_make}' to compile Wine.
18858 " >&6