xmllite/writer: Implement WriteFullEndElement().
[wine/multimedia.git] / configure
blobedc03ea072de0c7684426c7f495cc4fb9804d6dd
1 #! /bin/sh
2 # Guess values for system-dependent variables and create Makefiles.
3 # Generated by GNU Autoconf 2.69 for Wine 1.7.20.
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.20'
584 PACKAGE_STRING='Wine 1.7.20'
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_console_l1_1_0
856 enable_api_ms_win_core_debug_l1_1_1
857 enable_api_ms_win_core_errorhandling_l1_1_1
858 enable_api_ms_win_core_file_l1_2_0
859 enable_api_ms_win_core_handle_l1_1_0
860 enable_api_ms_win_core_heap_l1_2_0
861 enable_api_ms_win_core_heap_obsolete_l1_1_0
862 enable_api_ms_win_core_interlocked_l1_2_0
863 enable_api_ms_win_core_io_l1_1_1
864 enable_api_ms_win_core_kernel32_legacy_l1_1_0
865 enable_api_ms_win_core_libraryloader_l1_1_1
866 enable_api_ms_win_core_localization_l1_2_0
867 enable_api_ms_win_core_localization_obsolete_l1_1_0
868 enable_api_ms_win_core_localregistry_l1_1_0
869 enable_api_ms_win_core_memory_l1_1_1
870 enable_api_ms_win_core_namedpipe_l1_2_0
871 enable_api_ms_win_core_processenvironment_l1_2_0
872 enable_api_ms_win_core_processthreads_l1_1_0
873 enable_api_ms_win_core_processthreads_l1_1_1
874 enable_api_ms_win_core_profile_l1_1_0
875 enable_api_ms_win_core_psapi_l1_1_0
876 enable_api_ms_win_core_registry_l1_1_0
877 enable_api_ms_win_core_rtlsupport_l1_2_0
878 enable_api_ms_win_core_shlwapi_legacy_l1_1_0
879 enable_api_ms_win_core_string_l1_1_0
880 enable_api_ms_win_core_synch_l1_2_0
881 enable_api_ms_win_core_sysinfo_l1_2_0
882 enable_api_ms_win_core_threadpool_legacy_l1_1_0
883 enable_api_ms_win_core_timezone_l1_1_0
884 enable_api_ms_win_core_url_l1_1_0
885 enable_api_ms_win_core_util_l1_1_0
886 enable_api_ms_win_core_winrt_error_l1_1_0
887 enable_api_ms_win_core_winrt_string_l1_1_0
888 enable_api_ms_win_downlevel_advapi32_l1_1_0
889 enable_api_ms_win_downlevel_advapi32_l2_1_0
890 enable_api_ms_win_downlevel_normaliz_l1_1_0
891 enable_api_ms_win_downlevel_ole32_l1_1_0
892 enable_api_ms_win_downlevel_shell32_l1_1_0
893 enable_api_ms_win_downlevel_shlwapi_l1_1_0
894 enable_api_ms_win_downlevel_shlwapi_l2_1_0
895 enable_api_ms_win_downlevel_user32_l1_1_0
896 enable_api_ms_win_downlevel_version_l1_1_0
897 enable_api_ms_win_eventing_provider_l1_1_0
898 enable_api_ms_win_ntuser_dc_access_l1_1_0
899 enable_api_ms_win_security_base_l1_1_0
900 enable_api_ms_win_security_base_l1_2_0
901 enable_api_ms_win_security_sddl_l1_1_0
902 enable_api_ms_win_service_core_l1_1_1
903 enable_api_ms_win_service_management_l1_1_0
904 enable_api_ms_win_service_winsvc_l1_2_0
905 enable_apphelp
906 enable_appwiz_cpl
907 enable_atl
908 enable_atl100
909 enable_atl110
910 enable_atl80
911 enable_atl90
912 enable_authz
913 enable_avicap32
914 enable_avifil32
915 enable_avrt
916 enable_bcrypt
917 enable_browseui
918 enable_cabinet
919 enable_capi2032
920 enable_cards
921 enable_cfgmgr32
922 enable_clusapi
923 enable_comcat
924 enable_comctl32
925 enable_comdlg32
926 enable_compstui
927 enable_comsvcs
928 enable_credui
929 enable_crtdll
930 enable_crypt32
931 enable_cryptdlg
932 enable_cryptdll
933 enable_cryptnet
934 enable_cryptui
935 enable_ctapi32
936 enable_ctl3d32
937 enable_d2d1
938 enable_d3d10
939 enable_d3d10_1
940 enable_d3d10core
941 enable_d3d11
942 enable_d3d8
943 enable_d3d9
944 enable_d3dcompiler_33
945 enable_d3dcompiler_34
946 enable_d3dcompiler_35
947 enable_d3dcompiler_36
948 enable_d3dcompiler_37
949 enable_d3dcompiler_38
950 enable_d3dcompiler_39
951 enable_d3dcompiler_40
952 enable_d3dcompiler_41
953 enable_d3dcompiler_42
954 enable_d3dcompiler_43
955 enable_d3dim
956 enable_d3drm
957 enable_d3dx10_33
958 enable_d3dx10_34
959 enable_d3dx10_35
960 enable_d3dx10_36
961 enable_d3dx10_37
962 enable_d3dx10_38
963 enable_d3dx10_39
964 enable_d3dx10_40
965 enable_d3dx10_41
966 enable_d3dx10_42
967 enable_d3dx10_43
968 enable_d3dx11_42
969 enable_d3dx11_43
970 enable_d3dx9_24
971 enable_d3dx9_25
972 enable_d3dx9_26
973 enable_d3dx9_27
974 enable_d3dx9_28
975 enable_d3dx9_29
976 enable_d3dx9_30
977 enable_d3dx9_31
978 enable_d3dx9_32
979 enable_d3dx9_33
980 enable_d3dx9_34
981 enable_d3dx9_35
982 enable_d3dx9_36
983 enable_d3dx9_37
984 enable_d3dx9_38
985 enable_d3dx9_39
986 enable_d3dx9_40
987 enable_d3dx9_41
988 enable_d3dx9_42
989 enable_d3dx9_43
990 enable_d3dxof
991 enable_dbgeng
992 enable_dbghelp
993 enable_dciman32
994 enable_ddraw
995 enable_ddrawex
996 enable_devenum
997 enable_dhcpcsvc
998 enable_difxapi
999 enable_dinput
1000 enable_dinput8
1001 enable_dispex
1002 enable_dmband
1003 enable_dmcompos
1004 enable_dmime
1005 enable_dmloader
1006 enable_dmscript
1007 enable_dmstyle
1008 enable_dmsynth
1009 enable_dmusic
1010 enable_dmusic32
1011 enable_dnsapi
1012 enable_dplay
1013 enable_dplayx
1014 enable_dpnaddr
1015 enable_dpnet
1016 enable_dpnhpast
1017 enable_dpnlobby
1018 enable_dpwsockx
1019 enable_drmclien
1020 enable_dsound
1021 enable_dssenh
1022 enable_dswave
1023 enable_dwmapi
1024 enable_dwrite
1025 enable_dxdiagn
1026 enable_dxgi
1027 enable_dxva2
1028 enable_explorerframe
1029 enable_ext_ms_win_gdi_devcaps_l1_1_0
1030 enable_faultrep
1031 enable_fltlib
1032 enable_fntcache
1033 enable_fontsub
1034 enable_fusion
1035 enable_fwpuclnt
1036 enable_gameux
1037 enable_gdi32
1038 enable_gdiplus
1039 enable_glu32
1040 enable_gphoto2_ds
1041 enable_gpkcsp
1042 enable_hal
1043 enable_hhctrl_ocx
1044 enable_hid
1045 enable_hlink
1046 enable_hnetcfg
1047 enable_httpapi
1048 enable_iccvid
1049 enable_icmp
1050 enable_ieframe
1051 enable_imaadp32_acm
1052 enable_imagehlp
1053 enable_imm32
1054 enable_inetcomm
1055 enable_inetcpl_cpl
1056 enable_inetmib1
1057 enable_infosoft
1058 enable_initpki
1059 enable_inkobj
1060 enable_inseng
1061 enable_iphlpapi
1062 enable_itircl
1063 enable_itss
1064 enable_joy_cpl
1065 enable_jscript
1066 enable_jsproxy
1067 enable_kernel32
1068 enable_ktmw32
1069 enable_loadperf
1070 enable_localspl
1071 enable_localui
1072 enable_lz32
1073 enable_mapi32
1074 enable_mapistub
1075 enable_mciavi32
1076 enable_mcicda
1077 enable_mciqtz32
1078 enable_mciseq
1079 enable_mciwave
1080 enable_mgmtapi
1081 enable_midimap
1082 enable_mlang
1083 enable_mmcndmgr
1084 enable_mmdevapi
1085 enable_mountmgr_sys
1086 enable_mpr
1087 enable_mprapi
1088 enable_msacm32_drv
1089 enable_msacm32
1090 enable_msadp32_acm
1091 enable_msasn1
1092 enable_mscat32
1093 enable_mscms
1094 enable_mscoree
1095 enable_msctf
1096 enable_msdaps
1097 enable_msdmo
1098 enable_msftedit
1099 enable_msg711_acm
1100 enable_msgsm32_acm
1101 enable_mshtml_tlb
1102 enable_mshtml
1103 enable_msi
1104 enable_msident
1105 enable_msimg32
1106 enable_msimsg
1107 enable_msimtf
1108 enable_msisip
1109 enable_msisys_ocx
1110 enable_msls31
1111 enable_msnet32
1112 enable_mspatcha
1113 enable_msrle32
1114 enable_mssign32
1115 enable_mssip32
1116 enable_mstask
1117 enable_msvcirt
1118 enable_msvcm80
1119 enable_msvcm90
1120 enable_msvcp100
1121 enable_msvcp110
1122 enable_msvcp60
1123 enable_msvcp70
1124 enable_msvcp71
1125 enable_msvcp80
1126 enable_msvcp90
1127 enable_msvcr100
1128 enable_msvcr110
1129 enable_msvcr70
1130 enable_msvcr71
1131 enable_msvcr80
1132 enable_msvcr90
1133 enable_msvcrt
1134 enable_msvcrt20
1135 enable_msvcrt40
1136 enable_msvcrtd
1137 enable_msvfw32
1138 enable_msvidc32
1139 enable_mswsock
1140 enable_msxml
1141 enable_msxml2
1142 enable_msxml3
1143 enable_msxml4
1144 enable_msxml6
1145 enable_nddeapi
1146 enable_netapi32
1147 enable_netcfgx
1148 enable_netprofm
1149 enable_newdev
1150 enable_normaliz
1151 enable_npmshtml
1152 enable_ntdll
1153 enable_ntdsapi
1154 enable_ntoskrnl_exe
1155 enable_ntprint
1156 enable_objsel
1157 enable_odbc32
1158 enable_odbccp32
1159 enable_odbccu32
1160 enable_ole32
1161 enable_oleacc
1162 enable_oleaut32
1163 enable_olecli32
1164 enable_oledb32
1165 enable_oledlg
1166 enable_olepro32
1167 enable_olesvr32
1168 enable_olethk32
1169 enable_openal32
1170 enable_opencl
1171 enable_opengl32
1172 enable_pdh
1173 enable_photometadatahandler
1174 enable_pidgen
1175 enable_powrprof
1176 enable_printui
1177 enable_propsys
1178 enable_psapi
1179 enable_pstorec
1180 enable_qcap
1181 enable_qedit
1182 enable_qmgr
1183 enable_qmgrprxy
1184 enable_quartz
1185 enable_query
1186 enable_rasapi32
1187 enable_rasdlg
1188 enable_regapi
1189 enable_resutils
1190 enable_riched20
1191 enable_riched32
1192 enable_rpcrt4
1193 enable_rsabase
1194 enable_rsaenh
1195 enable_rstrtmgr
1196 enable_rtutils
1197 enable_samlib
1198 enable_sane_ds
1199 enable_scarddlg
1200 enable_sccbase
1201 enable_schannel
1202 enable_schedsvc
1203 enable_scrrun
1204 enable_scsiport_sys
1205 enable_secur32
1206 enable_security
1207 enable_sensapi
1208 enable_serialui
1209 enable_setupapi
1210 enable_sfc
1211 enable_sfc_os
1212 enable_shdoclc
1213 enable_shdocvw
1214 enable_shell32
1215 enable_shfolder
1216 enable_shlwapi
1217 enable_slbcsp
1218 enable_slc
1219 enable_snmpapi
1220 enable_softpub
1221 enable_spoolss
1222 enable_stdole2_tlb
1223 enable_stdole32_tlb
1224 enable_sti
1225 enable_svrapi
1226 enable_sxs
1227 enable_t2embed
1228 enable_tapi32
1229 enable_taskschd
1230 enable_traffic
1231 enable_twain_32
1232 enable_unicows
1233 enable_updspapi
1234 enable_url
1235 enable_urlmon
1236 enable_usbd_sys
1237 enable_user32
1238 enable_userenv
1239 enable_usp10
1240 enable_uxtheme
1241 enable_vbscript
1242 enable_vcomp
1243 enable_vcomp100
1244 enable_vcomp90
1245 enable_vdmdbg
1246 enable_version
1247 enable_wbemdisp
1248 enable_wbemprox
1249 enable_webservices
1250 enable_wer
1251 enable_wevtapi
1252 enable_wiaservc
1253 enable_windowscodecs
1254 enable_windowscodecsext
1255 enable_winealsa_drv
1256 enable_winecoreaudio_drv
1257 enable_wined3d
1258 enable_winegstreamer
1259 enable_winejoystick_drv
1260 enable_winemac_drv
1261 enable_winemapi
1262 enable_winemp3_acm
1263 enable_wineoss_drv
1264 enable_wineps_drv
1265 enable_wineqtdecoder
1266 enable_winex11_drv
1267 enable_wing32
1268 enable_winhttp
1269 enable_wininet
1270 enable_winmm
1271 enable_winnls32
1272 enable_winscard
1273 enable_winspool_drv
1274 enable_winsta
1275 enable_wintab32
1276 enable_wintrust
1277 enable_wlanapi
1278 enable_wldap32
1279 enable_wmi
1280 enable_wmiutils
1281 enable_wmp
1282 enable_wmvcore
1283 enable_wnaspi32
1284 enable_ws2_32
1285 enable_wshom_ocx
1286 enable_wsnmp32
1287 enable_wsock32
1288 enable_wtsapi32
1289 enable_wuapi
1290 enable_wuaueng
1291 enable_xapofx1_1
1292 enable_xinput1_1
1293 enable_xinput1_2
1294 enable_xinput1_3
1295 enable_xinput1_4
1296 enable_xinput9_1_0
1297 enable_xmllite
1298 enable_xolehlp
1299 enable_xpsprint
1300 enable_xpssvcs
1301 enable_documentation
1302 enable_fonts
1303 enable_include
1304 enable_libs_port
1305 enable_libs_wine
1306 enable_libs_wpp
1307 enable_loader
1308 enable_arp
1309 enable_aspnet_regiis
1310 enable_attrib
1311 enable_cabarc
1312 enable_cacls
1313 enable_clock
1314 enable_cmd
1315 enable_conhost
1316 enable_control
1317 enable_cscript
1318 enable_dpnsvr
1319 enable_dxdiag
1320 enable_eject
1321 enable_expand
1322 enable_explorer
1323 enable_extrac32
1324 enable_findstr
1325 enable_hh
1326 enable_hostname
1327 enable_icinfo
1328 enable_iexplore
1329 enable_ipconfig
1330 enable_lodctr
1331 enable_mofcomp
1332 enable_mshta
1333 enable_msiexec
1334 enable_net
1335 enable_netsh
1336 enable_netstat
1337 enable_ngen
1338 enable_notepad
1339 enable_oleview
1340 enable_ping
1341 enable_plugplay
1342 enable_presentationfontcache
1343 enable_progman
1344 enable_reg
1345 enable_regasm
1346 enable_regedit
1347 enable_regsvcs
1348 enable_regsvr32
1349 enable_rpcss
1350 enable_rundll32
1351 enable_sc
1352 enable_schtasks
1353 enable_sdbinst
1354 enable_secedit
1355 enable_servicemodelreg
1356 enable_services
1357 enable_spoolsv
1358 enable_start
1359 enable_svchost
1360 enable_taskkill
1361 enable_tasklist
1362 enable_taskmgr
1363 enable_termsv
1364 enable_uninstaller
1365 enable_unlodctr
1366 enable_view
1367 enable_wevtutil
1368 enable_wineboot
1369 enable_winebrowser
1370 enable_winecfg
1371 enable_wineconsole
1372 enable_winedbg
1373 enable_winedevice
1374 enable_winefile
1375 enable_winemenubuilder
1376 enable_winemine
1377 enable_winemsibuilder
1378 enable_winepath
1379 enable_winetest
1380 enable_winhlp32
1381 enable_winver
1382 enable_wmic
1383 enable_wordpad
1384 enable_write
1385 enable_wscript
1386 enable_wusa
1387 enable_xcopy
1388 enable_server
1389 enable_tools
1391 ac_precious_vars='build_alias
1392 host_alias
1393 target_alias
1395 CFLAGS
1396 LDFLAGS
1397 LIBS
1398 CPPFLAGS
1400 CXXFLAGS
1403 XMKMF
1404 XML2_CFLAGS
1405 XML2_LIBS
1406 XSLT_CFLAGS
1407 XSLT_LIBS
1408 DBUS_CFLAGS
1409 DBUS_LIBS
1410 HAL_CFLAGS
1411 HAL_LIBS
1412 GNUTLS_CFLAGS
1413 GNUTLS_LIBS
1414 SANE_CFLAGS
1415 SANE_LIBS
1416 GPHOTO2_CFLAGS
1417 GPHOTO2_LIBS
1418 GPHOTO2_PORT_CFLAGS
1419 GPHOTO2_PORT_LIBS
1420 LCMS2_CFLAGS
1421 LCMS2_LIBS
1422 FREETYPE_CFLAGS
1423 FREETYPE_LIBS
1424 GSTREAMER_CFLAGS
1425 GSTREAMER_LIBS
1426 CAPI20_CFLAGS
1427 CAPI20_LIBS
1428 FONTCONFIG_CFLAGS
1429 FONTCONFIG_LIBS
1430 JPEG_CFLAGS
1431 JPEG_LIBS
1432 PNG_CFLAGS
1433 PNG_LIBS
1434 TIFF_CFLAGS
1435 TIFF_LIBS
1436 MPG123_CFLAGS
1437 MPG123_LIBS'
1440 # Initialize some variables set by options.
1441 ac_init_help=
1442 ac_init_version=false
1443 ac_unrecognized_opts=
1444 ac_unrecognized_sep=
1445 # The variables have the same names as the options, with
1446 # dashes changed to underlines.
1447 cache_file=/dev/null
1448 exec_prefix=NONE
1449 no_create=
1450 no_recursion=
1451 prefix=NONE
1452 program_prefix=NONE
1453 program_suffix=NONE
1454 program_transform_name=s,x,x,
1455 silent=
1456 site=
1457 srcdir=
1458 verbose=
1459 x_includes=NONE
1460 x_libraries=NONE
1462 # Installation directory options.
1463 # These are left unexpanded so users can "make install exec_prefix=/foo"
1464 # and all the variables that are supposed to be based on exec_prefix
1465 # by default will actually change.
1466 # Use braces instead of parens because sh, perl, etc. also accept them.
1467 # (The list follows the same order as the GNU Coding Standards.)
1468 bindir='${exec_prefix}/bin'
1469 sbindir='${exec_prefix}/sbin'
1470 libexecdir='${exec_prefix}/libexec'
1471 datarootdir='${prefix}/share'
1472 datadir='${datarootdir}'
1473 sysconfdir='${prefix}/etc'
1474 sharedstatedir='${prefix}/com'
1475 localstatedir='${prefix}/var'
1476 includedir='${prefix}/include'
1477 oldincludedir='/usr/include'
1478 docdir='${datarootdir}/doc/${PACKAGE_TARNAME}'
1479 infodir='${datarootdir}/info'
1480 htmldir='${docdir}'
1481 dvidir='${docdir}'
1482 pdfdir='${docdir}'
1483 psdir='${docdir}'
1484 libdir='${exec_prefix}/lib'
1485 localedir='${datarootdir}/locale'
1486 mandir='${datarootdir}/man'
1488 ac_prev=
1489 ac_dashdash=
1490 for ac_option
1492 # If the previous option needs an argument, assign it.
1493 if test -n "$ac_prev"; then
1494 eval $ac_prev=\$ac_option
1495 ac_prev=
1496 continue
1499 case $ac_option in
1500 *=?*) ac_optarg=`expr "X$ac_option" : '[^=]*=\(.*\)'` ;;
1501 *=) ac_optarg= ;;
1502 *) ac_optarg=yes ;;
1503 esac
1505 # Accept the important Cygnus configure options, so we can diagnose typos.
1507 case $ac_dashdash$ac_option in
1509 ac_dashdash=yes ;;
1511 -bindir | --bindir | --bindi | --bind | --bin | --bi)
1512 ac_prev=bindir ;;
1513 -bindir=* | --bindir=* | --bindi=* | --bind=* | --bin=* | --bi=*)
1514 bindir=$ac_optarg ;;
1516 -build | --build | --buil | --bui | --bu)
1517 ac_prev=build_alias ;;
1518 -build=* | --build=* | --buil=* | --bui=* | --bu=*)
1519 build_alias=$ac_optarg ;;
1521 -cache-file | --cache-file | --cache-fil | --cache-fi \
1522 | --cache-f | --cache- | --cache | --cach | --cac | --ca | --c)
1523 ac_prev=cache_file ;;
1524 -cache-file=* | --cache-file=* | --cache-fil=* | --cache-fi=* \
1525 | --cache-f=* | --cache-=* | --cache=* | --cach=* | --cac=* | --ca=* | --c=*)
1526 cache_file=$ac_optarg ;;
1528 --config-cache | -C)
1529 cache_file=config.cache ;;
1531 -datadir | --datadir | --datadi | --datad)
1532 ac_prev=datadir ;;
1533 -datadir=* | --datadir=* | --datadi=* | --datad=*)
1534 datadir=$ac_optarg ;;
1536 -datarootdir | --datarootdir | --datarootdi | --datarootd | --dataroot \
1537 | --dataroo | --dataro | --datar)
1538 ac_prev=datarootdir ;;
1539 -datarootdir=* | --datarootdir=* | --datarootdi=* | --datarootd=* \
1540 | --dataroot=* | --dataroo=* | --dataro=* | --datar=*)
1541 datarootdir=$ac_optarg ;;
1543 -disable-* | --disable-*)
1544 ac_useropt=`expr "x$ac_option" : 'x-*disable-\(.*\)'`
1545 # Reject names that are not valid shell variable names.
1546 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
1547 as_fn_error $? "invalid feature name: $ac_useropt"
1548 ac_useropt_orig=$ac_useropt
1549 ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
1550 case $ac_user_opts in
1552 "enable_$ac_useropt"
1553 "*) ;;
1554 *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--disable-$ac_useropt_orig"
1555 ac_unrecognized_sep=', ';;
1556 esac
1557 eval enable_$ac_useropt=no ;;
1559 -docdir | --docdir | --docdi | --doc | --do)
1560 ac_prev=docdir ;;
1561 -docdir=* | --docdir=* | --docdi=* | --doc=* | --do=*)
1562 docdir=$ac_optarg ;;
1564 -dvidir | --dvidir | --dvidi | --dvid | --dvi | --dv)
1565 ac_prev=dvidir ;;
1566 -dvidir=* | --dvidir=* | --dvidi=* | --dvid=* | --dvi=* | --dv=*)
1567 dvidir=$ac_optarg ;;
1569 -enable-* | --enable-*)
1570 ac_useropt=`expr "x$ac_option" : 'x-*enable-\([^=]*\)'`
1571 # Reject names that are not valid shell variable names.
1572 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
1573 as_fn_error $? "invalid feature name: $ac_useropt"
1574 ac_useropt_orig=$ac_useropt
1575 ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
1576 case $ac_user_opts in
1578 "enable_$ac_useropt"
1579 "*) ;;
1580 *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--enable-$ac_useropt_orig"
1581 ac_unrecognized_sep=', ';;
1582 esac
1583 eval enable_$ac_useropt=\$ac_optarg ;;
1585 -exec-prefix | --exec_prefix | --exec-prefix | --exec-prefi \
1586 | --exec-pref | --exec-pre | --exec-pr | --exec-p | --exec- \
1587 | --exec | --exe | --ex)
1588 ac_prev=exec_prefix ;;
1589 -exec-prefix=* | --exec_prefix=* | --exec-prefix=* | --exec-prefi=* \
1590 | --exec-pref=* | --exec-pre=* | --exec-pr=* | --exec-p=* | --exec-=* \
1591 | --exec=* | --exe=* | --ex=*)
1592 exec_prefix=$ac_optarg ;;
1594 -gas | --gas | --ga | --g)
1595 # Obsolete; use --with-gas.
1596 with_gas=yes ;;
1598 -help | --help | --hel | --he | -h)
1599 ac_init_help=long ;;
1600 -help=r* | --help=r* | --hel=r* | --he=r* | -hr*)
1601 ac_init_help=recursive ;;
1602 -help=s* | --help=s* | --hel=s* | --he=s* | -hs*)
1603 ac_init_help=short ;;
1605 -host | --host | --hos | --ho)
1606 ac_prev=host_alias ;;
1607 -host=* | --host=* | --hos=* | --ho=*)
1608 host_alias=$ac_optarg ;;
1610 -htmldir | --htmldir | --htmldi | --htmld | --html | --htm | --ht)
1611 ac_prev=htmldir ;;
1612 -htmldir=* | --htmldir=* | --htmldi=* | --htmld=* | --html=* | --htm=* \
1613 | --ht=*)
1614 htmldir=$ac_optarg ;;
1616 -includedir | --includedir | --includedi | --included | --include \
1617 | --includ | --inclu | --incl | --inc)
1618 ac_prev=includedir ;;
1619 -includedir=* | --includedir=* | --includedi=* | --included=* | --include=* \
1620 | --includ=* | --inclu=* | --incl=* | --inc=*)
1621 includedir=$ac_optarg ;;
1623 -infodir | --infodir | --infodi | --infod | --info | --inf)
1624 ac_prev=infodir ;;
1625 -infodir=* | --infodir=* | --infodi=* | --infod=* | --info=* | --inf=*)
1626 infodir=$ac_optarg ;;
1628 -libdir | --libdir | --libdi | --libd)
1629 ac_prev=libdir ;;
1630 -libdir=* | --libdir=* | --libdi=* | --libd=*)
1631 libdir=$ac_optarg ;;
1633 -libexecdir | --libexecdir | --libexecdi | --libexecd | --libexec \
1634 | --libexe | --libex | --libe)
1635 ac_prev=libexecdir ;;
1636 -libexecdir=* | --libexecdir=* | --libexecdi=* | --libexecd=* | --libexec=* \
1637 | --libexe=* | --libex=* | --libe=*)
1638 libexecdir=$ac_optarg ;;
1640 -localedir | --localedir | --localedi | --localed | --locale)
1641 ac_prev=localedir ;;
1642 -localedir=* | --localedir=* | --localedi=* | --localed=* | --locale=*)
1643 localedir=$ac_optarg ;;
1645 -localstatedir | --localstatedir | --localstatedi | --localstated \
1646 | --localstate | --localstat | --localsta | --localst | --locals)
1647 ac_prev=localstatedir ;;
1648 -localstatedir=* | --localstatedir=* | --localstatedi=* | --localstated=* \
1649 | --localstate=* | --localstat=* | --localsta=* | --localst=* | --locals=*)
1650 localstatedir=$ac_optarg ;;
1652 -mandir | --mandir | --mandi | --mand | --man | --ma | --m)
1653 ac_prev=mandir ;;
1654 -mandir=* | --mandir=* | --mandi=* | --mand=* | --man=* | --ma=* | --m=*)
1655 mandir=$ac_optarg ;;
1657 -nfp | --nfp | --nf)
1658 # Obsolete; use --without-fp.
1659 with_fp=no ;;
1661 -no-create | --no-create | --no-creat | --no-crea | --no-cre \
1662 | --no-cr | --no-c | -n)
1663 no_create=yes ;;
1665 -no-recursion | --no-recursion | --no-recursio | --no-recursi \
1666 | --no-recurs | --no-recur | --no-recu | --no-rec | --no-re | --no-r)
1667 no_recursion=yes ;;
1669 -oldincludedir | --oldincludedir | --oldincludedi | --oldincluded \
1670 | --oldinclude | --oldinclud | --oldinclu | --oldincl | --oldinc \
1671 | --oldin | --oldi | --old | --ol | --o)
1672 ac_prev=oldincludedir ;;
1673 -oldincludedir=* | --oldincludedir=* | --oldincludedi=* | --oldincluded=* \
1674 | --oldinclude=* | --oldinclud=* | --oldinclu=* | --oldincl=* | --oldinc=* \
1675 | --oldin=* | --oldi=* | --old=* | --ol=* | --o=*)
1676 oldincludedir=$ac_optarg ;;
1678 -prefix | --prefix | --prefi | --pref | --pre | --pr | --p)
1679 ac_prev=prefix ;;
1680 -prefix=* | --prefix=* | --prefi=* | --pref=* | --pre=* | --pr=* | --p=*)
1681 prefix=$ac_optarg ;;
1683 -program-prefix | --program-prefix | --program-prefi | --program-pref \
1684 | --program-pre | --program-pr | --program-p)
1685 ac_prev=program_prefix ;;
1686 -program-prefix=* | --program-prefix=* | --program-prefi=* \
1687 | --program-pref=* | --program-pre=* | --program-pr=* | --program-p=*)
1688 program_prefix=$ac_optarg ;;
1690 -program-suffix | --program-suffix | --program-suffi | --program-suff \
1691 | --program-suf | --program-su | --program-s)
1692 ac_prev=program_suffix ;;
1693 -program-suffix=* | --program-suffix=* | --program-suffi=* \
1694 | --program-suff=* | --program-suf=* | --program-su=* | --program-s=*)
1695 program_suffix=$ac_optarg ;;
1697 -program-transform-name | --program-transform-name \
1698 | --program-transform-nam | --program-transform-na \
1699 | --program-transform-n | --program-transform- \
1700 | --program-transform | --program-transfor \
1701 | --program-transfo | --program-transf \
1702 | --program-trans | --program-tran \
1703 | --progr-tra | --program-tr | --program-t)
1704 ac_prev=program_transform_name ;;
1705 -program-transform-name=* | --program-transform-name=* \
1706 | --program-transform-nam=* | --program-transform-na=* \
1707 | --program-transform-n=* | --program-transform-=* \
1708 | --program-transform=* | --program-transfor=* \
1709 | --program-transfo=* | --program-transf=* \
1710 | --program-trans=* | --program-tran=* \
1711 | --progr-tra=* | --program-tr=* | --program-t=*)
1712 program_transform_name=$ac_optarg ;;
1714 -pdfdir | --pdfdir | --pdfdi | --pdfd | --pdf | --pd)
1715 ac_prev=pdfdir ;;
1716 -pdfdir=* | --pdfdir=* | --pdfdi=* | --pdfd=* | --pdf=* | --pd=*)
1717 pdfdir=$ac_optarg ;;
1719 -psdir | --psdir | --psdi | --psd | --ps)
1720 ac_prev=psdir ;;
1721 -psdir=* | --psdir=* | --psdi=* | --psd=* | --ps=*)
1722 psdir=$ac_optarg ;;
1724 -q | -quiet | --quiet | --quie | --qui | --qu | --q \
1725 | -silent | --silent | --silen | --sile | --sil)
1726 silent=yes ;;
1728 -sbindir | --sbindir | --sbindi | --sbind | --sbin | --sbi | --sb)
1729 ac_prev=sbindir ;;
1730 -sbindir=* | --sbindir=* | --sbindi=* | --sbind=* | --sbin=* \
1731 | --sbi=* | --sb=*)
1732 sbindir=$ac_optarg ;;
1734 -sharedstatedir | --sharedstatedir | --sharedstatedi \
1735 | --sharedstated | --sharedstate | --sharedstat | --sharedsta \
1736 | --sharedst | --shareds | --shared | --share | --shar \
1737 | --sha | --sh)
1738 ac_prev=sharedstatedir ;;
1739 -sharedstatedir=* | --sharedstatedir=* | --sharedstatedi=* \
1740 | --sharedstated=* | --sharedstate=* | --sharedstat=* | --sharedsta=* \
1741 | --sharedst=* | --shareds=* | --shared=* | --share=* | --shar=* \
1742 | --sha=* | --sh=*)
1743 sharedstatedir=$ac_optarg ;;
1745 -site | --site | --sit)
1746 ac_prev=site ;;
1747 -site=* | --site=* | --sit=*)
1748 site=$ac_optarg ;;
1750 -srcdir | --srcdir | --srcdi | --srcd | --src | --sr)
1751 ac_prev=srcdir ;;
1752 -srcdir=* | --srcdir=* | --srcdi=* | --srcd=* | --src=* | --sr=*)
1753 srcdir=$ac_optarg ;;
1755 -sysconfdir | --sysconfdir | --sysconfdi | --sysconfd | --sysconf \
1756 | --syscon | --sysco | --sysc | --sys | --sy)
1757 ac_prev=sysconfdir ;;
1758 -sysconfdir=* | --sysconfdir=* | --sysconfdi=* | --sysconfd=* | --sysconf=* \
1759 | --syscon=* | --sysco=* | --sysc=* | --sys=* | --sy=*)
1760 sysconfdir=$ac_optarg ;;
1762 -target | --target | --targe | --targ | --tar | --ta | --t)
1763 ac_prev=target_alias ;;
1764 -target=* | --target=* | --targe=* | --targ=* | --tar=* | --ta=* | --t=*)
1765 target_alias=$ac_optarg ;;
1767 -v | -verbose | --verbose | --verbos | --verbo | --verb)
1768 verbose=yes ;;
1770 -version | --version | --versio | --versi | --vers | -V)
1771 ac_init_version=: ;;
1773 -with-* | --with-*)
1774 ac_useropt=`expr "x$ac_option" : 'x-*with-\([^=]*\)'`
1775 # Reject names that are not valid shell variable names.
1776 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
1777 as_fn_error $? "invalid package name: $ac_useropt"
1778 ac_useropt_orig=$ac_useropt
1779 ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
1780 case $ac_user_opts in
1782 "with_$ac_useropt"
1783 "*) ;;
1784 *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--with-$ac_useropt_orig"
1785 ac_unrecognized_sep=', ';;
1786 esac
1787 eval with_$ac_useropt=\$ac_optarg ;;
1789 -without-* | --without-*)
1790 ac_useropt=`expr "x$ac_option" : 'x-*without-\(.*\)'`
1791 # Reject names that are not valid shell variable names.
1792 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
1793 as_fn_error $? "invalid package name: $ac_useropt"
1794 ac_useropt_orig=$ac_useropt
1795 ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
1796 case $ac_user_opts in
1798 "with_$ac_useropt"
1799 "*) ;;
1800 *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--without-$ac_useropt_orig"
1801 ac_unrecognized_sep=', ';;
1802 esac
1803 eval with_$ac_useropt=no ;;
1805 --x)
1806 # Obsolete; use --with-x.
1807 with_x=yes ;;
1809 -x-includes | --x-includes | --x-include | --x-includ | --x-inclu \
1810 | --x-incl | --x-inc | --x-in | --x-i)
1811 ac_prev=x_includes ;;
1812 -x-includes=* | --x-includes=* | --x-include=* | --x-includ=* | --x-inclu=* \
1813 | --x-incl=* | --x-inc=* | --x-in=* | --x-i=*)
1814 x_includes=$ac_optarg ;;
1816 -x-libraries | --x-libraries | --x-librarie | --x-librari \
1817 | --x-librar | --x-libra | --x-libr | --x-lib | --x-li | --x-l)
1818 ac_prev=x_libraries ;;
1819 -x-libraries=* | --x-libraries=* | --x-librarie=* | --x-librari=* \
1820 | --x-librar=* | --x-libra=* | --x-libr=* | --x-lib=* | --x-li=* | --x-l=*)
1821 x_libraries=$ac_optarg ;;
1823 -*) as_fn_error $? "unrecognized option: \`$ac_option'
1824 Try \`$0 --help' for more information"
1827 *=*)
1828 ac_envvar=`expr "x$ac_option" : 'x\([^=]*\)='`
1829 # Reject names that are not valid shell variable names.
1830 case $ac_envvar in #(
1831 '' | [0-9]* | *[!_$as_cr_alnum]* )
1832 as_fn_error $? "invalid variable name: \`$ac_envvar'" ;;
1833 esac
1834 eval $ac_envvar=\$ac_optarg
1835 export $ac_envvar ;;
1838 # FIXME: should be removed in autoconf 3.0.
1839 $as_echo "$as_me: WARNING: you should use --build, --host, --target" >&2
1840 expr "x$ac_option" : ".*[^-._$as_cr_alnum]" >/dev/null &&
1841 $as_echo "$as_me: WARNING: invalid host type: $ac_option" >&2
1842 : "${build_alias=$ac_option} ${host_alias=$ac_option} ${target_alias=$ac_option}"
1845 esac
1846 done
1848 if test -n "$ac_prev"; then
1849 ac_option=--`echo $ac_prev | sed 's/_/-/g'`
1850 as_fn_error $? "missing argument to $ac_option"
1853 if test -n "$ac_unrecognized_opts"; then
1854 case $enable_option_checking in
1855 no) ;;
1856 fatal) as_fn_error $? "unrecognized options: $ac_unrecognized_opts" ;;
1857 *) $as_echo "$as_me: WARNING: unrecognized options: $ac_unrecognized_opts" >&2 ;;
1858 esac
1861 # Check all directory arguments for consistency.
1862 for ac_var in exec_prefix prefix bindir sbindir libexecdir datarootdir \
1863 datadir sysconfdir sharedstatedir localstatedir includedir \
1864 oldincludedir docdir infodir htmldir dvidir pdfdir psdir \
1865 libdir localedir mandir
1867 eval ac_val=\$$ac_var
1868 # Remove trailing slashes.
1869 case $ac_val in
1870 */ )
1871 ac_val=`expr "X$ac_val" : 'X\(.*[^/]\)' \| "X$ac_val" : 'X\(.*\)'`
1872 eval $ac_var=\$ac_val;;
1873 esac
1874 # Be sure to have absolute directory names.
1875 case $ac_val in
1876 [\\/$]* | ?:[\\/]* ) continue;;
1877 NONE | '' ) case $ac_var in *prefix ) continue;; esac;;
1878 esac
1879 as_fn_error $? "expected an absolute directory name for --$ac_var: $ac_val"
1880 done
1882 # There might be people who depend on the old broken behavior: `$host'
1883 # used to hold the argument of --host etc.
1884 # FIXME: To remove some day.
1885 build=$build_alias
1886 host=$host_alias
1887 target=$target_alias
1889 # FIXME: To remove some day.
1890 if test "x$host_alias" != x; then
1891 if test "x$build_alias" = x; then
1892 cross_compiling=maybe
1893 elif test "x$build_alias" != "x$host_alias"; then
1894 cross_compiling=yes
1898 ac_tool_prefix=
1899 test -n "$host_alias" && ac_tool_prefix=$host_alias-
1901 test "$silent" = yes && exec 6>/dev/null
1904 ac_pwd=`pwd` && test -n "$ac_pwd" &&
1905 ac_ls_di=`ls -di .` &&
1906 ac_pwd_ls_di=`cd "$ac_pwd" && ls -di .` ||
1907 as_fn_error $? "working directory cannot be determined"
1908 test "X$ac_ls_di" = "X$ac_pwd_ls_di" ||
1909 as_fn_error $? "pwd does not report name of working directory"
1912 # Find the source files, if location was not specified.
1913 if test -z "$srcdir"; then
1914 ac_srcdir_defaulted=yes
1915 # Try the directory containing this script, then the parent directory.
1916 ac_confdir=`$as_dirname -- "$as_myself" ||
1917 $as_expr X"$as_myself" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
1918 X"$as_myself" : 'X\(//\)[^/]' \| \
1919 X"$as_myself" : 'X\(//\)$' \| \
1920 X"$as_myself" : 'X\(/\)' \| . 2>/dev/null ||
1921 $as_echo X"$as_myself" |
1922 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
1923 s//\1/
1926 /^X\(\/\/\)[^/].*/{
1927 s//\1/
1930 /^X\(\/\/\)$/{
1931 s//\1/
1934 /^X\(\/\).*/{
1935 s//\1/
1938 s/.*/./; q'`
1939 srcdir=$ac_confdir
1940 if test ! -r "$srcdir/$ac_unique_file"; then
1941 srcdir=..
1943 else
1944 ac_srcdir_defaulted=no
1946 if test ! -r "$srcdir/$ac_unique_file"; then
1947 test "$ac_srcdir_defaulted" = yes && srcdir="$ac_confdir or .."
1948 as_fn_error $? "cannot find sources ($ac_unique_file) in $srcdir"
1950 ac_msg="sources are in $srcdir, but \`cd $srcdir' does not work"
1951 ac_abs_confdir=`(
1952 cd "$srcdir" && test -r "./$ac_unique_file" || as_fn_error $? "$ac_msg"
1953 pwd)`
1954 # When building in place, set srcdir=.
1955 if test "$ac_abs_confdir" = "$ac_pwd"; then
1956 srcdir=.
1958 # Remove unnecessary trailing slashes from srcdir.
1959 # Double slashes in file names in object file debugging info
1960 # mess up M-x gdb in Emacs.
1961 case $srcdir in
1962 */) srcdir=`expr "X$srcdir" : 'X\(.*[^/]\)' \| "X$srcdir" : 'X\(.*\)'`;;
1963 esac
1964 for ac_var in $ac_precious_vars; do
1965 eval ac_env_${ac_var}_set=\${${ac_var}+set}
1966 eval ac_env_${ac_var}_value=\$${ac_var}
1967 eval ac_cv_env_${ac_var}_set=\${${ac_var}+set}
1968 eval ac_cv_env_${ac_var}_value=\$${ac_var}
1969 done
1972 # Report the --help message.
1974 if test "$ac_init_help" = "long"; then
1975 # Omit some internal or obsolete options to make the list less imposing.
1976 # This message is too long to be a string in the A/UX 3.1 sh.
1977 cat <<_ACEOF
1978 \`configure' configures Wine 1.7.20 to adapt to many kinds of systems.
1980 Usage: $0 [OPTION]... [VAR=VALUE]...
1982 To assign environment variables (e.g., CC, CFLAGS...), specify them as
1983 VAR=VALUE. See below for descriptions of some of the useful variables.
1985 Defaults for the options are specified in brackets.
1987 Configuration:
1988 -h, --help display this help and exit
1989 --help=short display options specific to this package
1990 --help=recursive display the short help of all the included packages
1991 -V, --version display version information and exit
1992 -q, --quiet, --silent do not print \`checking ...' messages
1993 --cache-file=FILE cache test results in FILE [disabled]
1994 -C, --config-cache alias for \`--cache-file=config.cache'
1995 -n, --no-create do not create output files
1996 --srcdir=DIR find the sources in DIR [configure dir or \`..']
1998 Installation directories:
1999 --prefix=PREFIX install architecture-independent files in PREFIX
2000 [$ac_default_prefix]
2001 --exec-prefix=EPREFIX install architecture-dependent files in EPREFIX
2002 [PREFIX]
2004 By default, \`make install' will install all the files in
2005 \`$ac_default_prefix/bin', \`$ac_default_prefix/lib' etc. You can specify
2006 an installation prefix other than \`$ac_default_prefix' using \`--prefix',
2007 for instance \`--prefix=\$HOME'.
2009 For better control, use the options below.
2011 Fine tuning of the installation directories:
2012 --bindir=DIR user executables [EPREFIX/bin]
2013 --sbindir=DIR system admin executables [EPREFIX/sbin]
2014 --libexecdir=DIR program executables [EPREFIX/libexec]
2015 --sysconfdir=DIR read-only single-machine data [PREFIX/etc]
2016 --sharedstatedir=DIR modifiable architecture-independent data [PREFIX/com]
2017 --localstatedir=DIR modifiable single-machine data [PREFIX/var]
2018 --libdir=DIR object code libraries [EPREFIX/lib]
2019 --includedir=DIR C header files [PREFIX/include]
2020 --oldincludedir=DIR C header files for non-gcc [/usr/include]
2021 --datarootdir=DIR read-only arch.-independent data root [PREFIX/share]
2022 --datadir=DIR read-only architecture-independent data [DATAROOTDIR]
2023 --infodir=DIR info documentation [DATAROOTDIR/info]
2024 --localedir=DIR locale-dependent data [DATAROOTDIR/locale]
2025 --mandir=DIR man documentation [DATAROOTDIR/man]
2026 --docdir=DIR documentation root [DATAROOTDIR/doc/wine]
2027 --htmldir=DIR html documentation [DOCDIR]
2028 --dvidir=DIR dvi documentation [DOCDIR]
2029 --pdfdir=DIR pdf documentation [DOCDIR]
2030 --psdir=DIR ps documentation [DOCDIR]
2031 _ACEOF
2033 cat <<\_ACEOF
2035 X features:
2036 --x-includes=DIR X include files are in DIR
2037 --x-libraries=DIR X library files are in DIR
2039 System types:
2040 --build=BUILD configure for building on BUILD [guessed]
2041 --host=HOST cross-compile to build programs to run on HOST [BUILD]
2042 _ACEOF
2045 if test -n "$ac_init_help"; then
2046 case $ac_init_help in
2047 short | recursive ) echo "Configuration of Wine 1.7.20:";;
2048 esac
2049 cat <<\_ACEOF
2051 Optional Features:
2052 --disable-option-checking ignore unrecognized --enable/--with options
2053 --disable-FEATURE do not include FEATURE (same as --enable-FEATURE=no)
2054 --enable-FEATURE[=ARG] include FEATURE [ARG=yes]
2055 --disable-win16 do not include Win16 support
2056 --enable-win64 build a Win64 emulator on AMD64 (won't run Win32
2057 binaries)
2058 --disable-tests do not build the regression tests
2059 --enable-maintainer-mode
2060 enable maintainer-specific build rules
2061 --disable-largefile omit support for large files
2063 Optional Packages:
2064 --with-PACKAGE[=ARG] use PACKAGE [ARG=yes]
2065 --without-PACKAGE do not use PACKAGE (same as --with-PACKAGE=no)
2066 --without-alsa do not use the Alsa sound support
2067 --without-capi do not use CAPI (ISDN support)
2068 --without-cms do not use CMS (color management support)
2069 --without-coreaudio do not use the CoreAudio sound support
2070 --without-cups do not use CUPS
2071 --without-curses do not use (n)curses
2072 --without-dbus do not use DBus (dynamic device support)
2073 --without-fontconfig do not use fontconfig
2074 --without-freetype do not use the FreeType library
2075 --without-gettext do not use gettext
2076 --with-gettextpo use the GetTextPO library to rebuild po files
2077 --without-gphoto do not use gphoto (Digital Camera support)
2078 --without-glu do not use the GLU library
2079 --without-gnutls do not use GnuTLS (schannel support)
2080 --without-gsm do not use libgsm (GSM 06.10 codec support)
2081 --without-gstreamer do not use GStreamer (codecs support)
2082 --without-hal do not use HAL (dynamic device support)
2083 --without-jpeg do not use JPEG
2084 --without-ldap do not use LDAP
2085 --without-mpg123 do not use the mpg123 library
2086 --without-netapi do not use the Samba NetAPI library
2087 --without-openal do not use OpenAL
2088 --without-opencl do not use OpenCL
2089 --without-opengl do not use OpenGL
2090 --without-osmesa do not use the OSMesa library
2091 --without-oss do not use the OSS sound support
2092 --without-png do not use PNG
2093 --without-pthread do not use the pthread library
2094 --without-sane do not use SANE (scanner support)
2095 --without-tiff do not use TIFF
2096 --without-v4l do not use v4l1 (v4l support)
2097 --without-xcomposite do not use the Xcomposite extension
2098 --without-xcursor do not use the Xcursor extension
2099 --without-xinerama do not use Xinerama (multi-monitor support)
2100 --without-xinput do not use the Xinput extension
2101 --without-xinput2 do not use the Xinput 2 extension
2102 --without-xml do not use XML
2103 --without-xrandr do not use Xrandr (resolution changes)
2104 --without-xrender do not use the Xrender extension
2105 --without-xshape do not use the Xshape extension
2106 --without-xshm do not use XShm (shared memory extension)
2107 --without-xslt do not use XSLT
2108 --without-xxf86vm do not use XFree video mode extension
2109 --without-zlib do not use Zlib (data compression)
2110 --with-wine-tools=DIR use Wine tools from directory DIR
2111 --with-wine64=DIR use the 64-bit Wine in DIR for a Wow64 build
2112 --with-x use the X Window System
2114 Some influential environment variables:
2115 CC C compiler command
2116 CFLAGS C compiler flags
2117 LDFLAGS linker flags, e.g. -L<lib dir> if you have libraries in a
2118 nonstandard directory <lib dir>
2119 LIBS libraries to pass to the linker, e.g. -l<library>
2120 CPPFLAGS (Objective) C/C++ preprocessor flags, e.g. -I<include dir> if
2121 you have headers in a nonstandard directory <include dir>
2122 CXX C++ compiler command
2123 CXXFLAGS C++ compiler flags
2124 CPP C preprocessor
2125 XMKMF Path to xmkmf, Makefile generator for X Window System
2126 XML2_CFLAGS C compiler flags for libxml-2.0, overriding pkg-config
2127 XML2_LIBS Linker flags for libxml-2.0, overriding pkg-config
2128 XSLT_CFLAGS C compiler flags for libxslt, overriding pkg-config
2129 XSLT_LIBS Linker flags for libxslt, overriding pkg-config
2130 DBUS_CFLAGS C compiler flags for dbus-1, overriding pkg-config
2131 DBUS_LIBS Linker flags for dbus-1, overriding pkg-config
2132 HAL_CFLAGS C compiler flags for hal, overriding pkg-config
2133 HAL_LIBS Linker flags for hal, overriding pkg-config
2134 GNUTLS_CFLAGS
2135 C compiler flags for gnutls, overriding pkg-config
2136 GNUTLS_LIBS Linker flags for gnutls, overriding pkg-config
2137 SANE_CFLAGS C compiler flags for libsane, overriding pkg-config
2138 SANE_LIBS Linker flags for libsane, overriding pkg-config
2139 GPHOTO2_CFLAGS
2140 C compiler flags for libgphoto2, overriding pkg-config
2141 GPHOTO2_LIBS
2142 Linker flags for libgphoto2, overriding pkg-config
2143 GPHOTO2_PORT_CFLAGS
2144 C compiler flags for libgphoto2_port, overriding pkg-config
2145 GPHOTO2_PORT_LIBS
2146 Linker flags for libgphoto2_port, overriding pkg-config
2147 LCMS2_CFLAGS
2148 C compiler flags for lcms2, overriding pkg-config
2149 LCMS2_LIBS Linker flags for lcms2, overriding pkg-config
2150 FREETYPE_CFLAGS
2151 C compiler flags for freetype2, overriding pkg-config
2152 FREETYPE_LIBS
2153 Linker flags for freetype2, overriding pkg-config
2154 GSTREAMER_CFLAGS
2155 C compiler flags for gstreamer-app-0.10, overriding pkg-config
2156 GSTREAMER_LIBS
2157 Linker flags for gstreamer-app-0.10, overriding pkg-config
2158 CAPI20_CFLAGS
2159 C compiler flags for capi20, overriding pkg-config
2160 CAPI20_LIBS Linker flags for capi20, overriding pkg-config
2161 FONTCONFIG_CFLAGS
2162 C compiler flags for fontconfig, overriding pkg-config
2163 FONTCONFIG_LIBS
2164 Linker flags for fontconfig, overriding pkg-config
2165 JPEG_CFLAGS C compiler flags for libjpeg, overriding pkg-config
2166 JPEG_LIBS Linker flags for libjpeg, overriding pkg-config
2167 PNG_CFLAGS C compiler flags for libpng, overriding pkg-config
2168 PNG_LIBS Linker flags for libpng, overriding pkg-config
2169 TIFF_CFLAGS C compiler flags for libtiff, overriding pkg-config
2170 TIFF_LIBS Linker flags for libtiff, overriding pkg-config
2171 MPG123_CFLAGS
2172 C compiler flags for libmpg123, overriding pkg-config
2173 MPG123_LIBS Linker flags for libmpg123, overriding pkg-config
2175 Use these variables to override the choices made by `configure' or to help
2176 it to find libraries and programs with nonstandard names/locations.
2178 Report bugs to <wine-devel@winehq.org>.
2179 Wine home page: <http://www.winehq.org>.
2180 _ACEOF
2181 ac_status=$?
2184 if test "$ac_init_help" = "recursive"; then
2185 # If there are subdirs, report their specific --help.
2186 for ac_dir in : $ac_subdirs_all; do test "x$ac_dir" = x: && continue
2187 test -d "$ac_dir" ||
2188 { cd "$srcdir" && ac_pwd=`pwd` && srcdir=. && test -d "$ac_dir"; } ||
2189 continue
2190 ac_builddir=.
2192 case "$ac_dir" in
2193 .) ac_dir_suffix= ac_top_builddir_sub=. ac_top_build_prefix= ;;
2195 ac_dir_suffix=/`$as_echo "$ac_dir" | sed 's|^\.[\\/]||'`
2196 # A ".." for each directory in $ac_dir_suffix.
2197 ac_top_builddir_sub=`$as_echo "$ac_dir_suffix" | sed 's|/[^\\/]*|/..|g;s|/||'`
2198 case $ac_top_builddir_sub in
2199 "") ac_top_builddir_sub=. ac_top_build_prefix= ;;
2200 *) ac_top_build_prefix=$ac_top_builddir_sub/ ;;
2201 esac ;;
2202 esac
2203 ac_abs_top_builddir=$ac_pwd
2204 ac_abs_builddir=$ac_pwd$ac_dir_suffix
2205 # for backward compatibility:
2206 ac_top_builddir=$ac_top_build_prefix
2208 case $srcdir in
2209 .) # We are building in place.
2210 ac_srcdir=.
2211 ac_top_srcdir=$ac_top_builddir_sub
2212 ac_abs_top_srcdir=$ac_pwd ;;
2213 [\\/]* | ?:[\\/]* ) # Absolute name.
2214 ac_srcdir=$srcdir$ac_dir_suffix;
2215 ac_top_srcdir=$srcdir
2216 ac_abs_top_srcdir=$srcdir ;;
2217 *) # Relative name.
2218 ac_srcdir=$ac_top_build_prefix$srcdir$ac_dir_suffix
2219 ac_top_srcdir=$ac_top_build_prefix$srcdir
2220 ac_abs_top_srcdir=$ac_pwd/$srcdir ;;
2221 esac
2222 ac_abs_srcdir=$ac_abs_top_srcdir$ac_dir_suffix
2224 cd "$ac_dir" || { ac_status=$?; continue; }
2225 # Check for guested configure.
2226 if test -f "$ac_srcdir/configure.gnu"; then
2227 echo &&
2228 $SHELL "$ac_srcdir/configure.gnu" --help=recursive
2229 elif test -f "$ac_srcdir/configure"; then
2230 echo &&
2231 $SHELL "$ac_srcdir/configure" --help=recursive
2232 else
2233 $as_echo "$as_me: WARNING: no configuration information is in $ac_dir" >&2
2234 fi || ac_status=$?
2235 cd "$ac_pwd" || { ac_status=$?; break; }
2236 done
2239 test -n "$ac_init_help" && exit $ac_status
2240 if $ac_init_version; then
2241 cat <<\_ACEOF
2242 Wine configure 1.7.20
2243 generated by GNU Autoconf 2.69
2245 Copyright (C) 2012 Free Software Foundation, Inc.
2246 This configure script is free software; the Free Software Foundation
2247 gives unlimited permission to copy, distribute and modify it.
2248 _ACEOF
2249 exit
2252 ## ------------------------ ##
2253 ## Autoconf initialization. ##
2254 ## ------------------------ ##
2256 # ac_fn_c_try_compile LINENO
2257 # --------------------------
2258 # Try to compile conftest.$ac_ext, and return whether this succeeded.
2259 ac_fn_c_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_c_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_c_try_compile
2294 # ac_fn_cxx_try_compile LINENO
2295 # ----------------------------
2296 # Try to compile conftest.$ac_ext, and return whether this succeeded.
2297 ac_fn_cxx_try_compile ()
2299 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
2300 rm -f conftest.$ac_objext
2301 if { { ac_try="$ac_compile"
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_compile") 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_cxx_werror_flag" ||
2318 test ! -s conftest.err
2319 } && test -s conftest.$ac_objext; then :
2320 ac_retval=0
2321 else
2322 $as_echo "$as_me: failed program was:" >&5
2323 sed 's/^/| /' conftest.$ac_ext >&5
2325 ac_retval=1
2327 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
2328 as_fn_set_status $ac_retval
2330 } # ac_fn_cxx_try_compile
2332 # ac_fn_c_try_link LINENO
2333 # -----------------------
2334 # Try to link conftest.$ac_ext, and return whether this succeeded.
2335 ac_fn_c_try_link ()
2337 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
2338 rm -f conftest.$ac_objext conftest$ac_exeext
2339 if { { ac_try="$ac_link"
2340 case "(($ac_try" in
2341 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2342 *) ac_try_echo=$ac_try;;
2343 esac
2344 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
2345 $as_echo "$ac_try_echo"; } >&5
2346 (eval "$ac_link") 2>conftest.err
2347 ac_status=$?
2348 if test -s conftest.err; then
2349 grep -v '^ *+' conftest.err >conftest.er1
2350 cat conftest.er1 >&5
2351 mv -f conftest.er1 conftest.err
2353 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
2354 test $ac_status = 0; } && {
2355 test -z "$ac_c_werror_flag" ||
2356 test ! -s conftest.err
2357 } && test -s conftest$ac_exeext && {
2358 test "$cross_compiling" = yes ||
2359 test -x conftest$ac_exeext
2360 }; then :
2361 ac_retval=0
2362 else
2363 $as_echo "$as_me: failed program was:" >&5
2364 sed 's/^/| /' conftest.$ac_ext >&5
2366 ac_retval=1
2368 # Delete the IPA/IPO (Inter Procedural Analysis/Optimization) information
2369 # created by the PGI compiler (conftest_ipa8_conftest.oo), as it would
2370 # interfere with the next link command; also delete a directory that is
2371 # left behind by Apple's compiler. We do this before executing the actions.
2372 rm -rf conftest.dSYM conftest_ipa8_conftest.oo
2373 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
2374 as_fn_set_status $ac_retval
2376 } # ac_fn_c_try_link
2378 # ac_fn_c_try_cpp LINENO
2379 # ----------------------
2380 # Try to preprocess conftest.$ac_ext, and return whether this succeeded.
2381 ac_fn_c_try_cpp ()
2383 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
2384 if { { ac_try="$ac_cpp conftest.$ac_ext"
2385 case "(($ac_try" in
2386 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2387 *) ac_try_echo=$ac_try;;
2388 esac
2389 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
2390 $as_echo "$ac_try_echo"; } >&5
2391 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.err
2392 ac_status=$?
2393 if test -s conftest.err; then
2394 grep -v '^ *+' conftest.err >conftest.er1
2395 cat conftest.er1 >&5
2396 mv -f conftest.er1 conftest.err
2398 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
2399 test $ac_status = 0; } > conftest.i && {
2400 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
2401 test ! -s conftest.err
2402 }; then :
2403 ac_retval=0
2404 else
2405 $as_echo "$as_me: failed program was:" >&5
2406 sed 's/^/| /' conftest.$ac_ext >&5
2408 ac_retval=1
2410 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
2411 as_fn_set_status $ac_retval
2413 } # ac_fn_c_try_cpp
2415 # ac_fn_c_check_header_mongrel LINENO HEADER VAR INCLUDES
2416 # -------------------------------------------------------
2417 # Tests whether HEADER exists, giving a warning if it cannot be compiled using
2418 # the include files in INCLUDES and setting the cache variable VAR
2419 # accordingly.
2420 ac_fn_c_check_header_mongrel ()
2422 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
2423 if eval \${$3+:} false; then :
2424 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
2425 $as_echo_n "checking for $2... " >&6; }
2426 if eval \${$3+:} false; then :
2427 $as_echo_n "(cached) " >&6
2429 eval ac_res=\$$3
2430 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
2431 $as_echo "$ac_res" >&6; }
2432 else
2433 # Is the header compilable?
2434 { $as_echo "$as_me:${as_lineno-$LINENO}: checking $2 usability" >&5
2435 $as_echo_n "checking $2 usability... " >&6; }
2436 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2437 /* end confdefs.h. */
2439 #include <$2>
2440 _ACEOF
2441 if ac_fn_c_try_compile "$LINENO"; then :
2442 ac_header_compiler=yes
2443 else
2444 ac_header_compiler=no
2446 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
2447 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_header_compiler" >&5
2448 $as_echo "$ac_header_compiler" >&6; }
2450 # Is the header present?
2451 { $as_echo "$as_me:${as_lineno-$LINENO}: checking $2 presence" >&5
2452 $as_echo_n "checking $2 presence... " >&6; }
2453 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2454 /* end confdefs.h. */
2455 #include <$2>
2456 _ACEOF
2457 if ac_fn_c_try_cpp "$LINENO"; then :
2458 ac_header_preproc=yes
2459 else
2460 ac_header_preproc=no
2462 rm -f conftest.err conftest.i conftest.$ac_ext
2463 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_header_preproc" >&5
2464 $as_echo "$ac_header_preproc" >&6; }
2466 # So? What about this header?
2467 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in #((
2468 yes:no: )
2469 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: accepted by the compiler, rejected by the preprocessor!" >&5
2470 $as_echo "$as_me: WARNING: $2: accepted by the compiler, rejected by the preprocessor!" >&2;}
2471 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: proceeding with the compiler's result" >&5
2472 $as_echo "$as_me: WARNING: $2: proceeding with the compiler's result" >&2;}
2474 no:yes:* )
2475 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: present but cannot be compiled" >&5
2476 $as_echo "$as_me: WARNING: $2: present but cannot be compiled" >&2;}
2477 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: check for missing prerequisite headers?" >&5
2478 $as_echo "$as_me: WARNING: $2: check for missing prerequisite headers?" >&2;}
2479 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: see the Autoconf documentation" >&5
2480 $as_echo "$as_me: WARNING: $2: see the Autoconf documentation" >&2;}
2481 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: section \"Present But Cannot Be Compiled\"" >&5
2482 $as_echo "$as_me: WARNING: $2: section \"Present But Cannot Be Compiled\"" >&2;}
2483 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: proceeding with the compiler's result" >&5
2484 $as_echo "$as_me: WARNING: $2: proceeding with the compiler's result" >&2;}
2485 ( $as_echo "## ------------------------------------ ##
2486 ## Report this to wine-devel@winehq.org ##
2487 ## ------------------------------------ ##"
2488 ) | sed "s/^/$as_me: WARNING: /" >&2
2490 esac
2491 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
2492 $as_echo_n "checking for $2... " >&6; }
2493 if eval \${$3+:} false; then :
2494 $as_echo_n "(cached) " >&6
2495 else
2496 eval "$3=\$ac_header_compiler"
2498 eval ac_res=\$$3
2499 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
2500 $as_echo "$ac_res" >&6; }
2502 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
2504 } # ac_fn_c_check_header_mongrel
2506 # ac_fn_c_try_run LINENO
2507 # ----------------------
2508 # Try to link conftest.$ac_ext, and return whether this succeeded. Assumes
2509 # that executables *can* be run.
2510 ac_fn_c_try_run ()
2512 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
2513 if { { ac_try="$ac_link"
2514 case "(($ac_try" in
2515 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2516 *) ac_try_echo=$ac_try;;
2517 esac
2518 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
2519 $as_echo "$ac_try_echo"; } >&5
2520 (eval "$ac_link") 2>&5
2521 ac_status=$?
2522 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
2523 test $ac_status = 0; } && { ac_try='./conftest$ac_exeext'
2524 { { case "(($ac_try" in
2525 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2526 *) ac_try_echo=$ac_try;;
2527 esac
2528 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
2529 $as_echo "$ac_try_echo"; } >&5
2530 (eval "$ac_try") 2>&5
2531 ac_status=$?
2532 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
2533 test $ac_status = 0; }; }; then :
2534 ac_retval=0
2535 else
2536 $as_echo "$as_me: program exited with status $ac_status" >&5
2537 $as_echo "$as_me: failed program was:" >&5
2538 sed 's/^/| /' conftest.$ac_ext >&5
2540 ac_retval=$ac_status
2542 rm -rf conftest.dSYM conftest_ipa8_conftest.oo
2543 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
2544 as_fn_set_status $ac_retval
2546 } # ac_fn_c_try_run
2548 # ac_fn_c_check_header_compile LINENO HEADER VAR INCLUDES
2549 # -------------------------------------------------------
2550 # Tests whether HEADER exists and can be compiled using the include files in
2551 # INCLUDES, setting the cache variable VAR accordingly.
2552 ac_fn_c_check_header_compile ()
2554 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
2555 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
2556 $as_echo_n "checking for $2... " >&6; }
2557 if eval \${$3+:} false; then :
2558 $as_echo_n "(cached) " >&6
2559 else
2560 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2561 /* end confdefs.h. */
2563 #include <$2>
2564 _ACEOF
2565 if ac_fn_c_try_compile "$LINENO"; then :
2566 eval "$3=yes"
2567 else
2568 eval "$3=no"
2570 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
2572 eval ac_res=\$$3
2573 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
2574 $as_echo "$ac_res" >&6; }
2575 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
2577 } # ac_fn_c_check_header_compile
2579 # ac_fn_c_check_func LINENO FUNC VAR
2580 # ----------------------------------
2581 # Tests whether FUNC exists, setting the cache variable VAR accordingly
2582 ac_fn_c_check_func ()
2584 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
2585 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
2586 $as_echo_n "checking for $2... " >&6; }
2587 if eval \${$3+:} false; then :
2588 $as_echo_n "(cached) " >&6
2589 else
2590 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2591 /* end confdefs.h. */
2592 /* Define $2 to an innocuous variant, in case <limits.h> declares $2.
2593 For example, HP-UX 11i <limits.h> declares gettimeofday. */
2594 #define $2 innocuous_$2
2596 /* System header to define __stub macros and hopefully few prototypes,
2597 which can conflict with char $2 (); below.
2598 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
2599 <limits.h> exists even on freestanding compilers. */
2601 #ifdef __STDC__
2602 # include <limits.h>
2603 #else
2604 # include <assert.h>
2605 #endif
2607 #undef $2
2609 /* Override any GCC internal prototype to avoid an error.
2610 Use char because int might match the return type of a GCC
2611 builtin and then its argument prototype would still apply. */
2612 #ifdef __cplusplus
2613 extern "C"
2614 #endif
2615 char $2 ();
2616 /* The GNU C library defines this for functions which it implements
2617 to always fail with ENOSYS. Some functions are actually named
2618 something starting with __ and the normal name is an alias. */
2619 #if defined __stub_$2 || defined __stub___$2
2620 choke me
2621 #endif
2624 main ()
2626 return $2 ();
2628 return 0;
2630 _ACEOF
2631 if ac_fn_c_try_link "$LINENO"; then :
2632 eval "$3=yes"
2633 else
2634 eval "$3=no"
2636 rm -f core conftest.err conftest.$ac_objext \
2637 conftest$ac_exeext conftest.$ac_ext
2639 eval ac_res=\$$3
2640 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
2641 $as_echo "$ac_res" >&6; }
2642 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
2644 } # ac_fn_c_check_func
2646 # ac_fn_c_check_member LINENO AGGR MEMBER VAR INCLUDES
2647 # ----------------------------------------------------
2648 # Tries to find if the field MEMBER exists in type AGGR, after including
2649 # INCLUDES, setting cache variable VAR accordingly.
2650 ac_fn_c_check_member ()
2652 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
2653 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2.$3" >&5
2654 $as_echo_n "checking for $2.$3... " >&6; }
2655 if eval \${$4+:} false; then :
2656 $as_echo_n "(cached) " >&6
2657 else
2658 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2659 /* end confdefs.h. */
2662 main ()
2664 static $2 ac_aggr;
2665 if (ac_aggr.$3)
2666 return 0;
2668 return 0;
2670 _ACEOF
2671 if ac_fn_c_try_compile "$LINENO"; then :
2672 eval "$4=yes"
2673 else
2674 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2675 /* end confdefs.h. */
2678 main ()
2680 static $2 ac_aggr;
2681 if (sizeof ac_aggr.$3)
2682 return 0;
2684 return 0;
2686 _ACEOF
2687 if ac_fn_c_try_compile "$LINENO"; then :
2688 eval "$4=yes"
2689 else
2690 eval "$4=no"
2692 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
2694 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
2696 eval ac_res=\$$4
2697 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
2698 $as_echo "$ac_res" >&6; }
2699 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
2701 } # ac_fn_c_check_member
2703 # ac_fn_c_check_type LINENO TYPE VAR INCLUDES
2704 # -------------------------------------------
2705 # Tests whether TYPE exists after having included INCLUDES, setting cache
2706 # variable VAR accordingly.
2707 ac_fn_c_check_type ()
2709 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
2710 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
2711 $as_echo_n "checking for $2... " >&6; }
2712 if eval \${$3+:} false; then :
2713 $as_echo_n "(cached) " >&6
2714 else
2715 eval "$3=no"
2716 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2717 /* end confdefs.h. */
2720 main ()
2722 if (sizeof ($2))
2723 return 0;
2725 return 0;
2727 _ACEOF
2728 if ac_fn_c_try_compile "$LINENO"; then :
2729 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2730 /* end confdefs.h. */
2733 main ()
2735 if (sizeof (($2)))
2736 return 0;
2738 return 0;
2740 _ACEOF
2741 if ac_fn_c_try_compile "$LINENO"; then :
2743 else
2744 eval "$3=yes"
2746 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
2748 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
2750 eval ac_res=\$$3
2751 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
2752 $as_echo "$ac_res" >&6; }
2753 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
2755 } # ac_fn_c_check_type
2756 cat >config.log <<_ACEOF
2757 This file contains any messages produced by compilers while
2758 running configure, to aid debugging if configure makes a mistake.
2760 It was created by Wine $as_me 1.7.20, which was
2761 generated by GNU Autoconf 2.69. Invocation command line was
2763 $ $0 $@
2765 _ACEOF
2766 exec 5>>config.log
2768 cat <<_ASUNAME
2769 ## --------- ##
2770 ## Platform. ##
2771 ## --------- ##
2773 hostname = `(hostname || uname -n) 2>/dev/null | sed 1q`
2774 uname -m = `(uname -m) 2>/dev/null || echo unknown`
2775 uname -r = `(uname -r) 2>/dev/null || echo unknown`
2776 uname -s = `(uname -s) 2>/dev/null || echo unknown`
2777 uname -v = `(uname -v) 2>/dev/null || echo unknown`
2779 /usr/bin/uname -p = `(/usr/bin/uname -p) 2>/dev/null || echo unknown`
2780 /bin/uname -X = `(/bin/uname -X) 2>/dev/null || echo unknown`
2782 /bin/arch = `(/bin/arch) 2>/dev/null || echo unknown`
2783 /usr/bin/arch -k = `(/usr/bin/arch -k) 2>/dev/null || echo unknown`
2784 /usr/convex/getsysinfo = `(/usr/convex/getsysinfo) 2>/dev/null || echo unknown`
2785 /usr/bin/hostinfo = `(/usr/bin/hostinfo) 2>/dev/null || echo unknown`
2786 /bin/machine = `(/bin/machine) 2>/dev/null || echo unknown`
2787 /usr/bin/oslevel = `(/usr/bin/oslevel) 2>/dev/null || echo unknown`
2788 /bin/universe = `(/bin/universe) 2>/dev/null || echo unknown`
2790 _ASUNAME
2792 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2793 for as_dir in $PATH
2795 IFS=$as_save_IFS
2796 test -z "$as_dir" && as_dir=.
2797 $as_echo "PATH: $as_dir"
2798 done
2799 IFS=$as_save_IFS
2801 } >&5
2803 cat >&5 <<_ACEOF
2806 ## ----------- ##
2807 ## Core tests. ##
2808 ## ----------- ##
2810 _ACEOF
2813 # Keep a trace of the command line.
2814 # Strip out --no-create and --no-recursion so they do not pile up.
2815 # Strip out --silent because we don't want to record it for future runs.
2816 # Also quote any args containing shell meta-characters.
2817 # Make two passes to allow for proper duplicate-argument suppression.
2818 ac_configure_args=
2819 ac_configure_args0=
2820 ac_configure_args1=
2821 ac_must_keep_next=false
2822 for ac_pass in 1 2
2824 for ac_arg
2826 case $ac_arg in
2827 -no-create | --no-c* | -n | -no-recursion | --no-r*) continue ;;
2828 -q | -quiet | --quiet | --quie | --qui | --qu | --q \
2829 | -silent | --silent | --silen | --sile | --sil)
2830 continue ;;
2831 *\'*)
2832 ac_arg=`$as_echo "$ac_arg" | sed "s/'/'\\\\\\\\''/g"` ;;
2833 esac
2834 case $ac_pass in
2835 1) as_fn_append ac_configure_args0 " '$ac_arg'" ;;
2837 as_fn_append ac_configure_args1 " '$ac_arg'"
2838 if test $ac_must_keep_next = true; then
2839 ac_must_keep_next=false # Got value, back to normal.
2840 else
2841 case $ac_arg in
2842 *=* | --config-cache | -C | -disable-* | --disable-* \
2843 | -enable-* | --enable-* | -gas | --g* | -nfp | --nf* \
2844 | -q | -quiet | --q* | -silent | --sil* | -v | -verb* \
2845 | -with-* | --with-* | -without-* | --without-* | --x)
2846 case "$ac_configure_args0 " in
2847 "$ac_configure_args1"*" '$ac_arg' "* ) continue ;;
2848 esac
2850 -* ) ac_must_keep_next=true ;;
2851 esac
2853 as_fn_append ac_configure_args " '$ac_arg'"
2855 esac
2856 done
2857 done
2858 { ac_configure_args0=; unset ac_configure_args0;}
2859 { ac_configure_args1=; unset ac_configure_args1;}
2861 # When interrupted or exit'd, cleanup temporary files, and complete
2862 # config.log. We remove comments because anyway the quotes in there
2863 # would cause problems or look ugly.
2864 # WARNING: Use '\'' to represent an apostrophe within the trap.
2865 # WARNING: Do not start the trap code with a newline, due to a FreeBSD 4.0 bug.
2866 trap 'exit_status=$?
2867 # Save into config.log some information that might help in debugging.
2869 echo
2871 $as_echo "## ---------------- ##
2872 ## Cache variables. ##
2873 ## ---------------- ##"
2874 echo
2875 # The following way of writing the cache mishandles newlines in values,
2877 for ac_var in `(set) 2>&1 | sed -n '\''s/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'\''`; do
2878 eval ac_val=\$$ac_var
2879 case $ac_val in #(
2880 *${as_nl}*)
2881 case $ac_var in #(
2882 *_cv_*) { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: cache variable $ac_var contains a newline" >&5
2883 $as_echo "$as_me: WARNING: cache variable $ac_var contains a newline" >&2;} ;;
2884 esac
2885 case $ac_var in #(
2886 _ | IFS | as_nl) ;; #(
2887 BASH_ARGV | BASH_SOURCE) eval $ac_var= ;; #(
2888 *) { eval $ac_var=; unset $ac_var;} ;;
2889 esac ;;
2890 esac
2891 done
2892 (set) 2>&1 |
2893 case $as_nl`(ac_space='\'' '\''; set) 2>&1` in #(
2894 *${as_nl}ac_space=\ *)
2895 sed -n \
2896 "s/'\''/'\''\\\\'\'''\''/g;
2897 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\''\\2'\''/p"
2898 ;; #(
2900 sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
2902 esac |
2903 sort
2905 echo
2907 $as_echo "## ----------------- ##
2908 ## Output variables. ##
2909 ## ----------------- ##"
2910 echo
2911 for ac_var in $ac_subst_vars
2913 eval ac_val=\$$ac_var
2914 case $ac_val in
2915 *\'\''*) ac_val=`$as_echo "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;;
2916 esac
2917 $as_echo "$ac_var='\''$ac_val'\''"
2918 done | sort
2919 echo
2921 if test -n "$ac_subst_files"; then
2922 $as_echo "## ------------------- ##
2923 ## File substitutions. ##
2924 ## ------------------- ##"
2925 echo
2926 for ac_var in $ac_subst_files
2928 eval ac_val=\$$ac_var
2929 case $ac_val in
2930 *\'\''*) ac_val=`$as_echo "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;;
2931 esac
2932 $as_echo "$ac_var='\''$ac_val'\''"
2933 done | sort
2934 echo
2937 if test -s confdefs.h; then
2938 $as_echo "## ----------- ##
2939 ## confdefs.h. ##
2940 ## ----------- ##"
2941 echo
2942 cat confdefs.h
2943 echo
2945 test "$ac_signal" != 0 &&
2946 $as_echo "$as_me: caught signal $ac_signal"
2947 $as_echo "$as_me: exit $exit_status"
2948 } >&5
2949 rm -f core *.core core.conftest.* &&
2950 rm -f -r conftest* confdefs* conf$$* $ac_clean_files &&
2951 exit $exit_status
2953 for ac_signal in 1 2 13 15; do
2954 trap 'ac_signal='$ac_signal'; as_fn_exit 1' $ac_signal
2955 done
2956 ac_signal=0
2958 # confdefs.h avoids OS command line length limits that DEFS can exceed.
2959 rm -f -r conftest* confdefs.h
2961 $as_echo "/* confdefs.h */" > confdefs.h
2963 # Predefined preprocessor variables.
2965 cat >>confdefs.h <<_ACEOF
2966 #define PACKAGE_NAME "$PACKAGE_NAME"
2967 _ACEOF
2969 cat >>confdefs.h <<_ACEOF
2970 #define PACKAGE_TARNAME "$PACKAGE_TARNAME"
2971 _ACEOF
2973 cat >>confdefs.h <<_ACEOF
2974 #define PACKAGE_VERSION "$PACKAGE_VERSION"
2975 _ACEOF
2977 cat >>confdefs.h <<_ACEOF
2978 #define PACKAGE_STRING "$PACKAGE_STRING"
2979 _ACEOF
2981 cat >>confdefs.h <<_ACEOF
2982 #define PACKAGE_BUGREPORT "$PACKAGE_BUGREPORT"
2983 _ACEOF
2985 cat >>confdefs.h <<_ACEOF
2986 #define PACKAGE_URL "$PACKAGE_URL"
2987 _ACEOF
2990 # Let the site file select an alternate cache file if it wants to.
2991 # Prefer an explicitly selected file to automatically selected ones.
2992 ac_site_file1=NONE
2993 ac_site_file2=NONE
2994 if test -n "$CONFIG_SITE"; then
2995 # We do not want a PATH search for config.site.
2996 case $CONFIG_SITE in #((
2997 -*) ac_site_file1=./$CONFIG_SITE;;
2998 */*) ac_site_file1=$CONFIG_SITE;;
2999 *) ac_site_file1=./$CONFIG_SITE;;
3000 esac
3001 elif test "x$prefix" != xNONE; then
3002 ac_site_file1=$prefix/share/config.site
3003 ac_site_file2=$prefix/etc/config.site
3004 else
3005 ac_site_file1=$ac_default_prefix/share/config.site
3006 ac_site_file2=$ac_default_prefix/etc/config.site
3008 for ac_site_file in "$ac_site_file1" "$ac_site_file2"
3010 test "x$ac_site_file" = xNONE && continue
3011 if test /dev/null != "$ac_site_file" && test -r "$ac_site_file"; then
3012 { $as_echo "$as_me:${as_lineno-$LINENO}: loading site script $ac_site_file" >&5
3013 $as_echo "$as_me: loading site script $ac_site_file" >&6;}
3014 sed 's/^/| /' "$ac_site_file" >&5
3015 . "$ac_site_file" \
3016 || { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
3017 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
3018 as_fn_error $? "failed to load site script $ac_site_file
3019 See \`config.log' for more details" "$LINENO" 5; }
3021 done
3023 if test -r "$cache_file"; then
3024 # Some versions of bash will fail to source /dev/null (special files
3025 # actually), so we avoid doing that. DJGPP emulates it as a regular file.
3026 if test /dev/null != "$cache_file" && test -f "$cache_file"; then
3027 { $as_echo "$as_me:${as_lineno-$LINENO}: loading cache $cache_file" >&5
3028 $as_echo "$as_me: loading cache $cache_file" >&6;}
3029 case $cache_file in
3030 [\\/]* | ?:[\\/]* ) . "$cache_file";;
3031 *) . "./$cache_file";;
3032 esac
3034 else
3035 { $as_echo "$as_me:${as_lineno-$LINENO}: creating cache $cache_file" >&5
3036 $as_echo "$as_me: creating cache $cache_file" >&6;}
3037 >$cache_file
3040 # Check that the precious variables saved in the cache have kept the same
3041 # value.
3042 ac_cache_corrupted=false
3043 for ac_var in $ac_precious_vars; do
3044 eval ac_old_set=\$ac_cv_env_${ac_var}_set
3045 eval ac_new_set=\$ac_env_${ac_var}_set
3046 eval ac_old_val=\$ac_cv_env_${ac_var}_value
3047 eval ac_new_val=\$ac_env_${ac_var}_value
3048 case $ac_old_set,$ac_new_set in
3049 set,)
3050 { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&5
3051 $as_echo "$as_me: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&2;}
3052 ac_cache_corrupted=: ;;
3053 ,set)
3054 { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' was not set in the previous run" >&5
3055 $as_echo "$as_me: error: \`$ac_var' was not set in the previous run" >&2;}
3056 ac_cache_corrupted=: ;;
3057 ,);;
3059 if test "x$ac_old_val" != "x$ac_new_val"; then
3060 # differences in whitespace do not lead to failure.
3061 ac_old_val_w=`echo x $ac_old_val`
3062 ac_new_val_w=`echo x $ac_new_val`
3063 if test "$ac_old_val_w" != "$ac_new_val_w"; then
3064 { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' has changed since the previous run:" >&5
3065 $as_echo "$as_me: error: \`$ac_var' has changed since the previous run:" >&2;}
3066 ac_cache_corrupted=:
3067 else
3068 { $as_echo "$as_me:${as_lineno-$LINENO}: warning: ignoring whitespace changes in \`$ac_var' since the previous run:" >&5
3069 $as_echo "$as_me: warning: ignoring whitespace changes in \`$ac_var' since the previous run:" >&2;}
3070 eval $ac_var=\$ac_old_val
3072 { $as_echo "$as_me:${as_lineno-$LINENO}: former value: \`$ac_old_val'" >&5
3073 $as_echo "$as_me: former value: \`$ac_old_val'" >&2;}
3074 { $as_echo "$as_me:${as_lineno-$LINENO}: current value: \`$ac_new_val'" >&5
3075 $as_echo "$as_me: current value: \`$ac_new_val'" >&2;}
3076 fi;;
3077 esac
3078 # Pass precious variables to config.status.
3079 if test "$ac_new_set" = set; then
3080 case $ac_new_val in
3081 *\'*) ac_arg=$ac_var=`$as_echo "$ac_new_val" | sed "s/'/'\\\\\\\\''/g"` ;;
3082 *) ac_arg=$ac_var=$ac_new_val ;;
3083 esac
3084 case " $ac_configure_args " in
3085 *" '$ac_arg' "*) ;; # Avoid dups. Use of quotes ensures accuracy.
3086 *) as_fn_append ac_configure_args " '$ac_arg'" ;;
3087 esac
3089 done
3090 if $ac_cache_corrupted; then
3091 { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
3092 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
3093 { $as_echo "$as_me:${as_lineno-$LINENO}: error: changes in the environment can compromise the build" >&5
3094 $as_echo "$as_me: error: changes in the environment can compromise the build" >&2;}
3095 as_fn_error $? "run \`make distclean' and/or \`rm $cache_file' and start over" "$LINENO" 5
3097 ## -------------------- ##
3098 ## Main body of script. ##
3099 ## -------------------- ##
3101 ac_ext=c
3102 ac_cpp='$CPP $CPPFLAGS'
3103 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
3104 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
3105 ac_compiler_gnu=$ac_cv_c_compiler_gnu
3109 ac_config_headers="$ac_config_headers include/config.h"
3111 ac_aux_dir=
3112 for ac_dir in tools "$srcdir"/tools; do
3113 if test -f "$ac_dir/install-sh"; then
3114 ac_aux_dir=$ac_dir
3115 ac_install_sh="$ac_aux_dir/install-sh -c"
3116 break
3117 elif test -f "$ac_dir/install.sh"; then
3118 ac_aux_dir=$ac_dir
3119 ac_install_sh="$ac_aux_dir/install.sh -c"
3120 break
3121 elif test -f "$ac_dir/shtool"; then
3122 ac_aux_dir=$ac_dir
3123 ac_install_sh="$ac_aux_dir/shtool install -c"
3124 break
3126 done
3127 if test -z "$ac_aux_dir"; then
3128 as_fn_error $? "cannot find install-sh, install.sh, or shtool in tools \"$srcdir\"/tools" "$LINENO" 5
3131 # These three variables are undocumented and unsupported,
3132 # and are intended to be withdrawn in a future Autoconf release.
3133 # They can cause serious problems if a builder's source tree is in a directory
3134 # whose full name contains unusual characters.
3135 ac_config_guess="$SHELL $ac_aux_dir/config.guess" # Please don't use this var.
3136 ac_config_sub="$SHELL $ac_aux_dir/config.sub" # Please don't use this var.
3137 ac_configure="$SHELL $ac_aux_dir/configure" # Please don't use this var.
3141 libwine_version="1.0"
3145 # Check whether --enable-win16 was given.
3146 if test "${enable_win16+set}" = set; then :
3147 enableval=$enable_win16;
3150 # Check whether --enable-win64 was given.
3151 if test "${enable_win64+set}" = set; then :
3152 enableval=$enable_win64;
3155 # Check whether --enable-tests was given.
3156 if test "${enable_tests+set}" = set; then :
3157 enableval=$enable_tests;
3160 # Check whether --enable-maintainer-mode was given.
3161 if test "${enable_maintainer_mode+set}" = set; then :
3162 enableval=$enable_maintainer_mode;
3167 # Check whether --with-alsa was given.
3168 if test "${with_alsa+set}" = set; then :
3169 withval=$with_alsa; if test "x$withval" = "xno"; then ac_cv_header_sys_asoundlib_h=no; ac_cv_header_alsa_asoundlib_h=no; fi
3173 # Check whether --with-capi was given.
3174 if test "${with_capi+set}" = set; then :
3175 withval=$with_capi;
3179 # Check whether --with-cms was given.
3180 if test "${with_cms+set}" = set; then :
3181 withval=$with_cms;
3185 # Check whether --with-coreaudio was given.
3186 if test "${with_coreaudio+set}" = set; then :
3187 withval=$with_coreaudio; if test "x$withval" = "xno"; then ac_cv_header_CoreAudio_CoreAudio_h=no; fi
3191 # Check whether --with-cups was given.
3192 if test "${with_cups+set}" = set; then :
3193 withval=$with_cups;
3197 # Check whether --with-curses was given.
3198 if test "${with_curses+set}" = set; then :
3199 withval=$with_curses; if test "x$withval" = "xno"; then ac_cv_header_ncurses_h=no; ac_cv_header_curses_h=no; fi
3203 # Check whether --with-dbus was given.
3204 if test "${with_dbus+set}" = set; then :
3205 withval=$with_dbus;
3209 # Check whether --with-fontconfig was given.
3210 if test "${with_fontconfig+set}" = set; then :
3211 withval=$with_fontconfig;
3215 # Check whether --with-freetype was given.
3216 if test "${with_freetype+set}" = set; then :
3217 withval=$with_freetype;
3221 # Check whether --with-gettext was given.
3222 if test "${with_gettext+set}" = set; then :
3223 withval=$with_gettext;
3227 # Check whether --with-gettextpo was given.
3228 if test "${with_gettextpo+set}" = set; then :
3229 withval=$with_gettextpo; if test "x$withval" = "xno"; then ac_cv_header_gettext_po_h=no; fi
3233 # Check whether --with-gphoto was given.
3234 if test "${with_gphoto+set}" = set; then :
3235 withval=$with_gphoto;
3239 # Check whether --with-glu was given.
3240 if test "${with_glu+set}" = set; then :
3241 withval=$with_glu;
3245 # Check whether --with-gnutls was given.
3246 if test "${with_gnutls+set}" = set; then :
3247 withval=$with_gnutls;
3251 # Check whether --with-gsm was given.
3252 if test "${with_gsm+set}" = set; then :
3253 withval=$with_gsm; if test "x$withval" = "xno"; then ac_cv_header_gsm_h=no; ac_cv_header_gsm_gsm_h=no; fi
3257 # Check whether --with-gstreamer was given.
3258 if test "${with_gstreamer+set}" = set; then :
3259 withval=$with_gstreamer;
3263 # Check whether --with-hal was given.
3264 if test "${with_hal+set}" = set; then :
3265 withval=$with_hal;
3269 # Check whether --with-jpeg was given.
3270 if test "${with_jpeg+set}" = set; then :
3271 withval=$with_jpeg;
3275 # Check whether --with-ldap was given.
3276 if test "${with_ldap+set}" = set; then :
3277 withval=$with_ldap; if test "x$withval" = "xno"; then ac_cv_header_ldap_h=no; ac_cv_header_lber_h=no; fi
3281 # Check whether --with-mpg123 was given.
3282 if test "${with_mpg123+set}" = set; then :
3283 withval=$with_mpg123;
3287 # Check whether --with-netapi was given.
3288 if test "${with_netapi+set}" = set; then :
3289 withval=$with_netapi;
3293 # Check whether --with-openal was given.
3294 if test "${with_openal+set}" = set; then :
3295 withval=$with_openal; if test "x$withval" = "xno"; then ac_cv_header_AL_al_h=no; ac_cv_header_OpenAL_al_h=no; fi
3299 # Check whether --with-opencl was given.
3300 if test "${with_opencl+set}" = set; then :
3301 withval=$with_opencl; if test "x$withval" = "xno"; then ac_cv_header_CL_cl_h=no; ac_cv_header_OpenCL_opencl_h=no; fi
3305 # Check whether --with-opengl was given.
3306 if test "${with_opengl+set}" = set; then :
3307 withval=$with_opengl;
3311 # Check whether --with-osmesa was given.
3312 if test "${with_osmesa+set}" = set; then :
3313 withval=$with_osmesa;
3317 # Check whether --with-oss was given.
3318 if test "${with_oss+set}" = set; then :
3319 withval=$with_oss;
3323 # Check whether --with-png was given.
3324 if test "${with_png+set}" = set; then :
3325 withval=$with_png;
3329 # Check whether --with-pthread was given.
3330 if test "${with_pthread+set}" = set; then :
3331 withval=$with_pthread; if test "x$withval" = "xno"; then ac_cv_header_pthread_h=no; fi
3335 # Check whether --with-sane was given.
3336 if test "${with_sane+set}" = set; then :
3337 withval=$with_sane;
3341 # Check whether --with-tiff was given.
3342 if test "${with_tiff+set}" = set; then :
3343 withval=$with_tiff;
3347 # Check whether --with-v4l was given.
3348 if test "${with_v4l+set}" = set; then :
3349 withval=$with_v4l;
3353 # Check whether --with-xcomposite was given.
3354 if test "${with_xcomposite+set}" = set; then :
3355 withval=$with_xcomposite; if test "x$withval" = "xno"; then ac_cv_header_X11_extensions_Xcomposite_h=no; fi
3359 # Check whether --with-xcursor was given.
3360 if test "${with_xcursor+set}" = set; then :
3361 withval=$with_xcursor; if test "x$withval" = "xno"; then ac_cv_header_X11_Xcursor_Xcursor_h=no; fi
3365 # Check whether --with-xinerama was given.
3366 if test "${with_xinerama+set}" = set; then :
3367 withval=$with_xinerama; if test "x$withval" = "xno"; then ac_cv_header_X11_extensions_Xinerama_h=no; fi
3371 # Check whether --with-xinput was given.
3372 if test "${with_xinput+set}" = set; then :
3373 withval=$with_xinput; if test "x$withval" = "xno"; then ac_cv_header_X11_extensions_XInput_h=no; fi
3377 # Check whether --with-xinput2 was given.
3378 if test "${with_xinput2+set}" = set; then :
3379 withval=$with_xinput2; if test "x$withval" = "xno"; then ac_cv_header_X11_extensions_XInput2_h=no; fi
3383 # Check whether --with-xml was given.
3384 if test "${with_xml+set}" = set; then :
3385 withval=$with_xml;
3389 # Check whether --with-xrandr was given.
3390 if test "${with_xrandr+set}" = set; then :
3391 withval=$with_xrandr; if test "x$withval" = "xno"; then ac_cv_header_X11_extensions_Xrandr_h=no; fi
3395 # Check whether --with-xrender was given.
3396 if test "${with_xrender+set}" = set; then :
3397 withval=$with_xrender; if test "x$withval" = "xno"; then ac_cv_header_X11_extensions_Xrender_h=no; fi
3401 # Check whether --with-xshape was given.
3402 if test "${with_xshape+set}" = set; then :
3403 withval=$with_xshape; if test "x$withval" = "xno"; then ac_cv_header_X11_extensions_shape_h=no; fi
3407 # Check whether --with-xshm was given.
3408 if test "${with_xshm+set}" = set; then :
3409 withval=$with_xshm; if test "x$withval" = "xno"; then ac_cv_header_X11_extensions_XShm_h=no; fi
3413 # Check whether --with-xslt was given.
3414 if test "${with_xslt+set}" = set; then :
3415 withval=$with_xslt;
3419 # Check whether --with-xxf86vm was given.
3420 if test "${with_xxf86vm+set}" = set; then :
3421 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
3425 # Check whether --with-zlib was given.
3426 if test "${with_zlib+set}" = set; then :
3427 withval=$with_zlib; if test "x$withval" = "xno"; then ac_cv_header_zlib_h=no; fi
3432 # Check whether --with-wine-tools was given.
3433 if test "${with_wine_tools+set}" = set; then :
3434 withval=$with_wine_tools;
3438 # Check whether --with-wine64 was given.
3439 if test "${with_wine64+set}" = set; then :
3440 withval=$with_wine64;
3444 # Make sure we can run config.sub.
3445 $SHELL "$ac_aux_dir/config.sub" sun4 >/dev/null 2>&1 ||
3446 as_fn_error $? "cannot run $SHELL $ac_aux_dir/config.sub" "$LINENO" 5
3448 { $as_echo "$as_me:${as_lineno-$LINENO}: checking build system type" >&5
3449 $as_echo_n "checking build system type... " >&6; }
3450 if ${ac_cv_build+:} false; then :
3451 $as_echo_n "(cached) " >&6
3452 else
3453 ac_build_alias=$build_alias
3454 test "x$ac_build_alias" = x &&
3455 ac_build_alias=`$SHELL "$ac_aux_dir/config.guess"`
3456 test "x$ac_build_alias" = x &&
3457 as_fn_error $? "cannot guess build type; you must specify one" "$LINENO" 5
3458 ac_cv_build=`$SHELL "$ac_aux_dir/config.sub" $ac_build_alias` ||
3459 as_fn_error $? "$SHELL $ac_aux_dir/config.sub $ac_build_alias failed" "$LINENO" 5
3462 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_build" >&5
3463 $as_echo "$ac_cv_build" >&6; }
3464 case $ac_cv_build in
3465 *-*-*) ;;
3466 *) as_fn_error $? "invalid value of canonical build" "$LINENO" 5;;
3467 esac
3468 build=$ac_cv_build
3469 ac_save_IFS=$IFS; IFS='-'
3470 set x $ac_cv_build
3471 shift
3472 build_cpu=$1
3473 build_vendor=$2
3474 shift; shift
3475 # Remember, the first character of IFS is used to create $*,
3476 # except with old shells:
3477 build_os=$*
3478 IFS=$ac_save_IFS
3479 case $build_os in *\ *) build_os=`echo "$build_os" | sed 's/ /-/g'`;; esac
3482 { $as_echo "$as_me:${as_lineno-$LINENO}: checking host system type" >&5
3483 $as_echo_n "checking host system type... " >&6; }
3484 if ${ac_cv_host+:} false; then :
3485 $as_echo_n "(cached) " >&6
3486 else
3487 if test "x$host_alias" = x; then
3488 ac_cv_host=$ac_cv_build
3489 else
3490 ac_cv_host=`$SHELL "$ac_aux_dir/config.sub" $host_alias` ||
3491 as_fn_error $? "$SHELL $ac_aux_dir/config.sub $host_alias failed" "$LINENO" 5
3495 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_host" >&5
3496 $as_echo "$ac_cv_host" >&6; }
3497 case $ac_cv_host in
3498 *-*-*) ;;
3499 *) as_fn_error $? "invalid value of canonical host" "$LINENO" 5;;
3500 esac
3501 host=$ac_cv_host
3502 ac_save_IFS=$IFS; IFS='-'
3503 set x $ac_cv_host
3504 shift
3505 host_cpu=$1
3506 host_vendor=$2
3507 shift; shift
3508 # Remember, the first character of IFS is used to create $*,
3509 # except with old shells:
3510 host_os=$*
3511 IFS=$ac_save_IFS
3512 case $host_os in *\ *) host_os=`echo "$host_os" | sed 's/ /-/g'`;; esac
3516 case "$srcdir" in
3517 .) ;;
3518 *) if test -f "$srcdir/Makefile" -o -f "$srcdir/include/config.h"; then
3519 as_fn_error $? "you are building out of the source tree, but the source tree contains object files.
3520 You need to run 'make distclean' in the source tree first." "$LINENO" 5
3521 fi ;;
3522 esac
3525 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ${MAKE-make} sets \$(MAKE)" >&5
3526 $as_echo_n "checking whether ${MAKE-make} sets \$(MAKE)... " >&6; }
3527 set x ${MAKE-make}
3528 ac_make=`$as_echo "$2" | sed 's/+/p/g; s/[^a-zA-Z0-9_]/_/g'`
3529 if eval \${ac_cv_prog_make_${ac_make}_set+:} false; then :
3530 $as_echo_n "(cached) " >&6
3531 else
3532 cat >conftest.make <<\_ACEOF
3533 SHELL = /bin/sh
3534 all:
3535 @echo '@@@%%%=$(MAKE)=@@@%%%'
3536 _ACEOF
3537 # GNU make sometimes prints "make[1]: Entering ...", which would confuse us.
3538 case `${MAKE-make} -f conftest.make 2>/dev/null` in
3539 *@@@%%%=?*=@@@%%%*)
3540 eval ac_cv_prog_make_${ac_make}_set=yes;;
3542 eval ac_cv_prog_make_${ac_make}_set=no;;
3543 esac
3544 rm -f conftest.make
3546 if eval test \$ac_cv_prog_make_${ac_make}_set = yes; then
3547 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
3548 $as_echo "yes" >&6; }
3549 SET_MAKE=
3550 else
3551 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3552 $as_echo "no" >&6; }
3553 SET_MAKE="MAKE=${MAKE-make}"
3556 ac_ext=c
3557 ac_cpp='$CPP $CPPFLAGS'
3558 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
3559 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
3560 ac_compiler_gnu=$ac_cv_c_compiler_gnu
3561 if test -n "$ac_tool_prefix"; then
3562 # Extract the first word of "${ac_tool_prefix}gcc", so it can be a program name with args.
3563 set dummy ${ac_tool_prefix}gcc; ac_word=$2
3564 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3565 $as_echo_n "checking for $ac_word... " >&6; }
3566 if ${ac_cv_prog_CC+:} false; then :
3567 $as_echo_n "(cached) " >&6
3568 else
3569 if test -n "$CC"; then
3570 ac_cv_prog_CC="$CC" # Let the user override the test.
3571 else
3572 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3573 for as_dir in $PATH
3575 IFS=$as_save_IFS
3576 test -z "$as_dir" && as_dir=.
3577 for ac_exec_ext in '' $ac_executable_extensions; do
3578 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
3579 ac_cv_prog_CC="${ac_tool_prefix}gcc"
3580 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3581 break 2
3583 done
3584 done
3585 IFS=$as_save_IFS
3589 CC=$ac_cv_prog_CC
3590 if test -n "$CC"; then
3591 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
3592 $as_echo "$CC" >&6; }
3593 else
3594 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3595 $as_echo "no" >&6; }
3600 if test -z "$ac_cv_prog_CC"; then
3601 ac_ct_CC=$CC
3602 # Extract the first word of "gcc", so it can be a program name with args.
3603 set dummy gcc; ac_word=$2
3604 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3605 $as_echo_n "checking for $ac_word... " >&6; }
3606 if ${ac_cv_prog_ac_ct_CC+:} false; then :
3607 $as_echo_n "(cached) " >&6
3608 else
3609 if test -n "$ac_ct_CC"; then
3610 ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
3611 else
3612 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3613 for as_dir in $PATH
3615 IFS=$as_save_IFS
3616 test -z "$as_dir" && as_dir=.
3617 for ac_exec_ext in '' $ac_executable_extensions; do
3618 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
3619 ac_cv_prog_ac_ct_CC="gcc"
3620 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3621 break 2
3623 done
3624 done
3625 IFS=$as_save_IFS
3629 ac_ct_CC=$ac_cv_prog_ac_ct_CC
3630 if test -n "$ac_ct_CC"; then
3631 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CC" >&5
3632 $as_echo "$ac_ct_CC" >&6; }
3633 else
3634 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3635 $as_echo "no" >&6; }
3638 if test "x$ac_ct_CC" = x; then
3639 CC=""
3640 else
3641 case $cross_compiling:$ac_tool_warned in
3642 yes:)
3643 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
3644 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
3645 ac_tool_warned=yes ;;
3646 esac
3647 CC=$ac_ct_CC
3649 else
3650 CC="$ac_cv_prog_CC"
3653 if test -z "$CC"; then
3654 if test -n "$ac_tool_prefix"; then
3655 # Extract the first word of "${ac_tool_prefix}cc", so it can be a program name with args.
3656 set dummy ${ac_tool_prefix}cc; ac_word=$2
3657 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3658 $as_echo_n "checking for $ac_word... " >&6; }
3659 if ${ac_cv_prog_CC+:} false; then :
3660 $as_echo_n "(cached) " >&6
3661 else
3662 if test -n "$CC"; then
3663 ac_cv_prog_CC="$CC" # Let the user override the test.
3664 else
3665 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3666 for as_dir in $PATH
3668 IFS=$as_save_IFS
3669 test -z "$as_dir" && as_dir=.
3670 for ac_exec_ext in '' $ac_executable_extensions; do
3671 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
3672 ac_cv_prog_CC="${ac_tool_prefix}cc"
3673 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3674 break 2
3676 done
3677 done
3678 IFS=$as_save_IFS
3682 CC=$ac_cv_prog_CC
3683 if test -n "$CC"; then
3684 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
3685 $as_echo "$CC" >&6; }
3686 else
3687 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3688 $as_echo "no" >&6; }
3694 if test -z "$CC"; then
3695 # Extract the first word of "cc", so it can be a program name with args.
3696 set dummy cc; ac_word=$2
3697 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3698 $as_echo_n "checking for $ac_word... " >&6; }
3699 if ${ac_cv_prog_CC+:} false; then :
3700 $as_echo_n "(cached) " >&6
3701 else
3702 if test -n "$CC"; then
3703 ac_cv_prog_CC="$CC" # Let the user override the test.
3704 else
3705 ac_prog_rejected=no
3706 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3707 for as_dir in $PATH
3709 IFS=$as_save_IFS
3710 test -z "$as_dir" && as_dir=.
3711 for ac_exec_ext in '' $ac_executable_extensions; do
3712 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
3713 if test "$as_dir/$ac_word$ac_exec_ext" = "/usr/ucb/cc"; then
3714 ac_prog_rejected=yes
3715 continue
3717 ac_cv_prog_CC="cc"
3718 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3719 break 2
3721 done
3722 done
3723 IFS=$as_save_IFS
3725 if test $ac_prog_rejected = yes; then
3726 # We found a bogon in the path, so make sure we never use it.
3727 set dummy $ac_cv_prog_CC
3728 shift
3729 if test $# != 0; then
3730 # We chose a different compiler from the bogus one.
3731 # However, it has the same basename, so the bogon will be chosen
3732 # first if we set CC to just the basename; use the full file name.
3733 shift
3734 ac_cv_prog_CC="$as_dir/$ac_word${1+' '}$@"
3739 CC=$ac_cv_prog_CC
3740 if test -n "$CC"; then
3741 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
3742 $as_echo "$CC" >&6; }
3743 else
3744 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3745 $as_echo "no" >&6; }
3750 if test -z "$CC"; then
3751 if test -n "$ac_tool_prefix"; then
3752 for ac_prog in cl.exe
3754 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
3755 set dummy $ac_tool_prefix$ac_prog; ac_word=$2
3756 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3757 $as_echo_n "checking for $ac_word... " >&6; }
3758 if ${ac_cv_prog_CC+:} false; then :
3759 $as_echo_n "(cached) " >&6
3760 else
3761 if test -n "$CC"; then
3762 ac_cv_prog_CC="$CC" # Let the user override the test.
3763 else
3764 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3765 for as_dir in $PATH
3767 IFS=$as_save_IFS
3768 test -z "$as_dir" && as_dir=.
3769 for ac_exec_ext in '' $ac_executable_extensions; do
3770 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
3771 ac_cv_prog_CC="$ac_tool_prefix$ac_prog"
3772 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3773 break 2
3775 done
3776 done
3777 IFS=$as_save_IFS
3781 CC=$ac_cv_prog_CC
3782 if test -n "$CC"; then
3783 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
3784 $as_echo "$CC" >&6; }
3785 else
3786 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3787 $as_echo "no" >&6; }
3791 test -n "$CC" && break
3792 done
3794 if test -z "$CC"; then
3795 ac_ct_CC=$CC
3796 for ac_prog in cl.exe
3798 # Extract the first word of "$ac_prog", so it can be a program name with args.
3799 set dummy $ac_prog; ac_word=$2
3800 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3801 $as_echo_n "checking for $ac_word... " >&6; }
3802 if ${ac_cv_prog_ac_ct_CC+:} false; then :
3803 $as_echo_n "(cached) " >&6
3804 else
3805 if test -n "$ac_ct_CC"; then
3806 ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
3807 else
3808 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3809 for as_dir in $PATH
3811 IFS=$as_save_IFS
3812 test -z "$as_dir" && as_dir=.
3813 for ac_exec_ext in '' $ac_executable_extensions; do
3814 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
3815 ac_cv_prog_ac_ct_CC="$ac_prog"
3816 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3817 break 2
3819 done
3820 done
3821 IFS=$as_save_IFS
3825 ac_ct_CC=$ac_cv_prog_ac_ct_CC
3826 if test -n "$ac_ct_CC"; then
3827 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CC" >&5
3828 $as_echo "$ac_ct_CC" >&6; }
3829 else
3830 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3831 $as_echo "no" >&6; }
3835 test -n "$ac_ct_CC" && break
3836 done
3838 if test "x$ac_ct_CC" = x; then
3839 CC=""
3840 else
3841 case $cross_compiling:$ac_tool_warned in
3842 yes:)
3843 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
3844 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
3845 ac_tool_warned=yes ;;
3846 esac
3847 CC=$ac_ct_CC
3854 test -z "$CC" && { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
3855 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
3856 as_fn_error $? "no acceptable C compiler found in \$PATH
3857 See \`config.log' for more details" "$LINENO" 5; }
3859 # Provide some information about the compiler.
3860 $as_echo "$as_me:${as_lineno-$LINENO}: checking for C compiler version" >&5
3861 set X $ac_compile
3862 ac_compiler=$2
3863 for ac_option in --version -v -V -qversion; do
3864 { { ac_try="$ac_compiler $ac_option >&5"
3865 case "(($ac_try" in
3866 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3867 *) ac_try_echo=$ac_try;;
3868 esac
3869 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
3870 $as_echo "$ac_try_echo"; } >&5
3871 (eval "$ac_compiler $ac_option >&5") 2>conftest.err
3872 ac_status=$?
3873 if test -s conftest.err; then
3874 sed '10a\
3875 ... rest of stderr output deleted ...
3876 10q' conftest.err >conftest.er1
3877 cat conftest.er1 >&5
3879 rm -f conftest.er1 conftest.err
3880 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
3881 test $ac_status = 0; }
3882 done
3884 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3885 /* end confdefs.h. */
3888 main ()
3892 return 0;
3894 _ACEOF
3895 ac_clean_files_save=$ac_clean_files
3896 ac_clean_files="$ac_clean_files a.out a.out.dSYM a.exe b.out"
3897 # Try to create an executable without -o first, disregard a.out.
3898 # It will help us diagnose broken compilers, and finding out an intuition
3899 # of exeext.
3900 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the C compiler works" >&5
3901 $as_echo_n "checking whether the C compiler works... " >&6; }
3902 ac_link_default=`$as_echo "$ac_link" | sed 's/ -o *conftest[^ ]*//'`
3904 # The possible output files:
3905 ac_files="a.out conftest.exe conftest a.exe a_out.exe b.out conftest.*"
3907 ac_rmfiles=
3908 for ac_file in $ac_files
3910 case $ac_file in
3911 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj ) ;;
3912 * ) ac_rmfiles="$ac_rmfiles $ac_file";;
3913 esac
3914 done
3915 rm -f $ac_rmfiles
3917 if { { ac_try="$ac_link_default"
3918 case "(($ac_try" in
3919 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3920 *) ac_try_echo=$ac_try;;
3921 esac
3922 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
3923 $as_echo "$ac_try_echo"; } >&5
3924 (eval "$ac_link_default") 2>&5
3925 ac_status=$?
3926 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
3927 test $ac_status = 0; }; then :
3928 # Autoconf-2.13 could set the ac_cv_exeext variable to `no'.
3929 # So ignore a value of `no', otherwise this would lead to `EXEEXT = no'
3930 # in a Makefile. We should not override ac_cv_exeext if it was cached,
3931 # so that the user can short-circuit this test for compilers unknown to
3932 # Autoconf.
3933 for ac_file in $ac_files ''
3935 test -f "$ac_file" || continue
3936 case $ac_file in
3937 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj )
3939 [ab].out )
3940 # We found the default executable, but exeext='' is most
3941 # certainly right.
3942 break;;
3943 *.* )
3944 if test "${ac_cv_exeext+set}" = set && test "$ac_cv_exeext" != no;
3945 then :; else
3946 ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'`
3948 # We set ac_cv_exeext here because the later test for it is not
3949 # safe: cross compilers may not add the suffix if given an `-o'
3950 # argument, so we may need to know it at that point already.
3951 # Even if this section looks crufty: it has the advantage of
3952 # actually working.
3953 break;;
3955 break;;
3956 esac
3957 done
3958 test "$ac_cv_exeext" = no && ac_cv_exeext=
3960 else
3961 ac_file=''
3963 if test -z "$ac_file"; then :
3964 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3965 $as_echo "no" >&6; }
3966 $as_echo "$as_me: failed program was:" >&5
3967 sed 's/^/| /' conftest.$ac_ext >&5
3969 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
3970 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
3971 as_fn_error 77 "C compiler cannot create executables
3972 See \`config.log' for more details" "$LINENO" 5; }
3973 else
3974 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
3975 $as_echo "yes" >&6; }
3977 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for C compiler default output file name" >&5
3978 $as_echo_n "checking for C compiler default output file name... " >&6; }
3979 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_file" >&5
3980 $as_echo "$ac_file" >&6; }
3981 ac_exeext=$ac_cv_exeext
3983 rm -f -r a.out a.out.dSYM a.exe conftest$ac_cv_exeext b.out
3984 ac_clean_files=$ac_clean_files_save
3985 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for suffix of executables" >&5
3986 $as_echo_n "checking for suffix of executables... " >&6; }
3987 if { { ac_try="$ac_link"
3988 case "(($ac_try" in
3989 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3990 *) ac_try_echo=$ac_try;;
3991 esac
3992 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
3993 $as_echo "$ac_try_echo"; } >&5
3994 (eval "$ac_link") 2>&5
3995 ac_status=$?
3996 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
3997 test $ac_status = 0; }; then :
3998 # If both `conftest.exe' and `conftest' are `present' (well, observable)
3999 # catch `conftest.exe'. For instance with Cygwin, `ls conftest' will
4000 # work properly (i.e., refer to `conftest.exe'), while it won't with
4001 # `rm'.
4002 for ac_file in conftest.exe conftest conftest.*; do
4003 test -f "$ac_file" || continue
4004 case $ac_file in
4005 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj ) ;;
4006 *.* ) ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'`
4007 break;;
4008 * ) break;;
4009 esac
4010 done
4011 else
4012 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
4013 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
4014 as_fn_error $? "cannot compute suffix of executables: cannot compile and link
4015 See \`config.log' for more details" "$LINENO" 5; }
4017 rm -f conftest conftest$ac_cv_exeext
4018 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_exeext" >&5
4019 $as_echo "$ac_cv_exeext" >&6; }
4021 rm -f conftest.$ac_ext
4022 EXEEXT=$ac_cv_exeext
4023 ac_exeext=$EXEEXT
4024 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4025 /* end confdefs.h. */
4026 #include <stdio.h>
4028 main ()
4030 FILE *f = fopen ("conftest.out", "w");
4031 return ferror (f) || fclose (f) != 0;
4034 return 0;
4036 _ACEOF
4037 ac_clean_files="$ac_clean_files conftest.out"
4038 # Check that the compiler produces executables we can run. If not, either
4039 # the compiler is broken, or we cross compile.
4040 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are cross compiling" >&5
4041 $as_echo_n "checking whether we are cross compiling... " >&6; }
4042 if test "$cross_compiling" != yes; then
4043 { { ac_try="$ac_link"
4044 case "(($ac_try" in
4045 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
4046 *) ac_try_echo=$ac_try;;
4047 esac
4048 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
4049 $as_echo "$ac_try_echo"; } >&5
4050 (eval "$ac_link") 2>&5
4051 ac_status=$?
4052 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
4053 test $ac_status = 0; }
4054 if { ac_try='./conftest$ac_cv_exeext'
4055 { { case "(($ac_try" in
4056 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
4057 *) ac_try_echo=$ac_try;;
4058 esac
4059 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
4060 $as_echo "$ac_try_echo"; } >&5
4061 (eval "$ac_try") 2>&5
4062 ac_status=$?
4063 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
4064 test $ac_status = 0; }; }; then
4065 cross_compiling=no
4066 else
4067 if test "$cross_compiling" = maybe; then
4068 cross_compiling=yes
4069 else
4070 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
4071 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
4072 as_fn_error $? "cannot run C compiled programs.
4073 If you meant to cross compile, use \`--host'.
4074 See \`config.log' for more details" "$LINENO" 5; }
4078 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $cross_compiling" >&5
4079 $as_echo "$cross_compiling" >&6; }
4081 rm -f conftest.$ac_ext conftest$ac_cv_exeext conftest.out
4082 ac_clean_files=$ac_clean_files_save
4083 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for suffix of object files" >&5
4084 $as_echo_n "checking for suffix of object files... " >&6; }
4085 if ${ac_cv_objext+:} false; then :
4086 $as_echo_n "(cached) " >&6
4087 else
4088 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4089 /* end confdefs.h. */
4092 main ()
4096 return 0;
4098 _ACEOF
4099 rm -f conftest.o conftest.obj
4100 if { { ac_try="$ac_compile"
4101 case "(($ac_try" in
4102 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
4103 *) ac_try_echo=$ac_try;;
4104 esac
4105 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
4106 $as_echo "$ac_try_echo"; } >&5
4107 (eval "$ac_compile") 2>&5
4108 ac_status=$?
4109 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
4110 test $ac_status = 0; }; then :
4111 for ac_file in conftest.o conftest.obj conftest.*; do
4112 test -f "$ac_file" || continue;
4113 case $ac_file in
4114 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM ) ;;
4115 *) ac_cv_objext=`expr "$ac_file" : '.*\.\(.*\)'`
4116 break;;
4117 esac
4118 done
4119 else
4120 $as_echo "$as_me: failed program was:" >&5
4121 sed 's/^/| /' conftest.$ac_ext >&5
4123 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
4124 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
4125 as_fn_error $? "cannot compute suffix of object files: cannot compile
4126 See \`config.log' for more details" "$LINENO" 5; }
4128 rm -f conftest.$ac_cv_objext conftest.$ac_ext
4130 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_objext" >&5
4131 $as_echo "$ac_cv_objext" >&6; }
4132 OBJEXT=$ac_cv_objext
4133 ac_objext=$OBJEXT
4134 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are using the GNU C compiler" >&5
4135 $as_echo_n "checking whether we are using the GNU C compiler... " >&6; }
4136 if ${ac_cv_c_compiler_gnu+:} false; then :
4137 $as_echo_n "(cached) " >&6
4138 else
4139 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4140 /* end confdefs.h. */
4143 main ()
4145 #ifndef __GNUC__
4146 choke me
4147 #endif
4150 return 0;
4152 _ACEOF
4153 if ac_fn_c_try_compile "$LINENO"; then :
4154 ac_compiler_gnu=yes
4155 else
4156 ac_compiler_gnu=no
4158 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4159 ac_cv_c_compiler_gnu=$ac_compiler_gnu
4162 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_compiler_gnu" >&5
4163 $as_echo "$ac_cv_c_compiler_gnu" >&6; }
4164 if test $ac_compiler_gnu = yes; then
4165 GCC=yes
4166 else
4167 GCC=
4169 ac_test_CFLAGS=${CFLAGS+set}
4170 ac_save_CFLAGS=$CFLAGS
4171 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CC accepts -g" >&5
4172 $as_echo_n "checking whether $CC accepts -g... " >&6; }
4173 if ${ac_cv_prog_cc_g+:} false; then :
4174 $as_echo_n "(cached) " >&6
4175 else
4176 ac_save_c_werror_flag=$ac_c_werror_flag
4177 ac_c_werror_flag=yes
4178 ac_cv_prog_cc_g=no
4179 CFLAGS="-g"
4180 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4181 /* end confdefs.h. */
4184 main ()
4188 return 0;
4190 _ACEOF
4191 if ac_fn_c_try_compile "$LINENO"; then :
4192 ac_cv_prog_cc_g=yes
4193 else
4194 CFLAGS=""
4195 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4196 /* end confdefs.h. */
4199 main ()
4203 return 0;
4205 _ACEOF
4206 if ac_fn_c_try_compile "$LINENO"; then :
4208 else
4209 ac_c_werror_flag=$ac_save_c_werror_flag
4210 CFLAGS="-g"
4211 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4212 /* end confdefs.h. */
4215 main ()
4219 return 0;
4221 _ACEOF
4222 if ac_fn_c_try_compile "$LINENO"; then :
4223 ac_cv_prog_cc_g=yes
4225 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4227 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4229 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4230 ac_c_werror_flag=$ac_save_c_werror_flag
4232 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_g" >&5
4233 $as_echo "$ac_cv_prog_cc_g" >&6; }
4234 if test "$ac_test_CFLAGS" = set; then
4235 CFLAGS=$ac_save_CFLAGS
4236 elif test $ac_cv_prog_cc_g = yes; then
4237 if test "$GCC" = yes; then
4238 CFLAGS="-g -O2"
4239 else
4240 CFLAGS="-g"
4242 else
4243 if test "$GCC" = yes; then
4244 CFLAGS="-O2"
4245 else
4246 CFLAGS=
4249 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $CC option to accept ISO C89" >&5
4250 $as_echo_n "checking for $CC option to accept ISO C89... " >&6; }
4251 if ${ac_cv_prog_cc_c89+:} false; then :
4252 $as_echo_n "(cached) " >&6
4253 else
4254 ac_cv_prog_cc_c89=no
4255 ac_save_CC=$CC
4256 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4257 /* end confdefs.h. */
4258 #include <stdarg.h>
4259 #include <stdio.h>
4260 struct stat;
4261 /* Most of the following tests are stolen from RCS 5.7's src/conf.sh. */
4262 struct buf { int x; };
4263 FILE * (*rcsopen) (struct buf *, struct stat *, int);
4264 static char *e (p, i)
4265 char **p;
4266 int i;
4268 return p[i];
4270 static char *f (char * (*g) (char **, int), char **p, ...)
4272 char *s;
4273 va_list v;
4274 va_start (v,p);
4275 s = g (p, va_arg (v,int));
4276 va_end (v);
4277 return s;
4280 /* OSF 4.0 Compaq cc is some sort of almost-ANSI by default. It has
4281 function prototypes and stuff, but not '\xHH' hex character constants.
4282 These don't provoke an error unfortunately, instead are silently treated
4283 as 'x'. The following induces an error, until -std is added to get
4284 proper ANSI mode. Curiously '\x00'!='x' always comes out true, for an
4285 array size at least. It's necessary to write '\x00'==0 to get something
4286 that's true only with -std. */
4287 int osf4_cc_array ['\x00' == 0 ? 1 : -1];
4289 /* IBM C 6 for AIX is almost-ANSI by default, but it replaces macro parameters
4290 inside strings and character constants. */
4291 #define FOO(x) 'x'
4292 int xlc6_cc_array[FOO(a) == 'x' ? 1 : -1];
4294 int test (int i, double x);
4295 struct s1 {int (*f) (int a);};
4296 struct s2 {int (*f) (double a);};
4297 int pairnames (int, char **, FILE *(*)(struct buf *, struct stat *, int), int, int);
4298 int argc;
4299 char **argv;
4301 main ()
4303 return f (e, argv, 0) != argv[0] || f (e, argv, 1) != argv[1];
4305 return 0;
4307 _ACEOF
4308 for ac_arg in '' -qlanglvl=extc89 -qlanglvl=ansi -std \
4309 -Ae "-Aa -D_HPUX_SOURCE" "-Xc -D__EXTENSIONS__"
4311 CC="$ac_save_CC $ac_arg"
4312 if ac_fn_c_try_compile "$LINENO"; then :
4313 ac_cv_prog_cc_c89=$ac_arg
4315 rm -f core conftest.err conftest.$ac_objext
4316 test "x$ac_cv_prog_cc_c89" != "xno" && break
4317 done
4318 rm -f conftest.$ac_ext
4319 CC=$ac_save_CC
4322 # AC_CACHE_VAL
4323 case "x$ac_cv_prog_cc_c89" in
4325 { $as_echo "$as_me:${as_lineno-$LINENO}: result: none needed" >&5
4326 $as_echo "none needed" >&6; } ;;
4327 xno)
4328 { $as_echo "$as_me:${as_lineno-$LINENO}: result: unsupported" >&5
4329 $as_echo "unsupported" >&6; } ;;
4331 CC="$CC $ac_cv_prog_cc_c89"
4332 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_c89" >&5
4333 $as_echo "$ac_cv_prog_cc_c89" >&6; } ;;
4334 esac
4335 if test "x$ac_cv_prog_cc_c89" != xno; then :
4339 ac_ext=c
4340 ac_cpp='$CPP $CPPFLAGS'
4341 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
4342 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
4343 ac_compiler_gnu=$ac_cv_c_compiler_gnu
4345 ac_ext=cpp
4346 ac_cpp='$CXXCPP $CPPFLAGS'
4347 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
4348 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
4349 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
4350 if test -z "$CXX"; then
4351 if test -n "$CCC"; then
4352 CXX=$CCC
4353 else
4354 if test -n "$ac_tool_prefix"; then
4355 for ac_prog in g++ c++ gpp aCC CC cxx cc++ cl.exe FCC KCC RCC xlC_r xlC
4357 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
4358 set dummy $ac_tool_prefix$ac_prog; ac_word=$2
4359 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4360 $as_echo_n "checking for $ac_word... " >&6; }
4361 if ${ac_cv_prog_CXX+:} false; then :
4362 $as_echo_n "(cached) " >&6
4363 else
4364 if test -n "$CXX"; then
4365 ac_cv_prog_CXX="$CXX" # Let the user override the test.
4366 else
4367 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4368 for as_dir in $PATH
4370 IFS=$as_save_IFS
4371 test -z "$as_dir" && as_dir=.
4372 for ac_exec_ext in '' $ac_executable_extensions; do
4373 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
4374 ac_cv_prog_CXX="$ac_tool_prefix$ac_prog"
4375 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4376 break 2
4378 done
4379 done
4380 IFS=$as_save_IFS
4384 CXX=$ac_cv_prog_CXX
4385 if test -n "$CXX"; then
4386 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CXX" >&5
4387 $as_echo "$CXX" >&6; }
4388 else
4389 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4390 $as_echo "no" >&6; }
4394 test -n "$CXX" && break
4395 done
4397 if test -z "$CXX"; then
4398 ac_ct_CXX=$CXX
4399 for ac_prog in g++ c++ gpp aCC CC cxx cc++ cl.exe FCC KCC RCC xlC_r xlC
4401 # Extract the first word of "$ac_prog", so it can be a program name with args.
4402 set dummy $ac_prog; ac_word=$2
4403 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4404 $as_echo_n "checking for $ac_word... " >&6; }
4405 if ${ac_cv_prog_ac_ct_CXX+:} false; then :
4406 $as_echo_n "(cached) " >&6
4407 else
4408 if test -n "$ac_ct_CXX"; then
4409 ac_cv_prog_ac_ct_CXX="$ac_ct_CXX" # Let the user override the test.
4410 else
4411 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4412 for as_dir in $PATH
4414 IFS=$as_save_IFS
4415 test -z "$as_dir" && as_dir=.
4416 for ac_exec_ext in '' $ac_executable_extensions; do
4417 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
4418 ac_cv_prog_ac_ct_CXX="$ac_prog"
4419 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4420 break 2
4422 done
4423 done
4424 IFS=$as_save_IFS
4428 ac_ct_CXX=$ac_cv_prog_ac_ct_CXX
4429 if test -n "$ac_ct_CXX"; then
4430 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CXX" >&5
4431 $as_echo "$ac_ct_CXX" >&6; }
4432 else
4433 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4434 $as_echo "no" >&6; }
4438 test -n "$ac_ct_CXX" && break
4439 done
4441 if test "x$ac_ct_CXX" = x; then
4442 CXX="g++"
4443 else
4444 case $cross_compiling:$ac_tool_warned in
4445 yes:)
4446 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
4447 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
4448 ac_tool_warned=yes ;;
4449 esac
4450 CXX=$ac_ct_CXX
4456 # Provide some information about the compiler.
4457 $as_echo "$as_me:${as_lineno-$LINENO}: checking for C++ compiler version" >&5
4458 set X $ac_compile
4459 ac_compiler=$2
4460 for ac_option in --version -v -V -qversion; do
4461 { { ac_try="$ac_compiler $ac_option >&5"
4462 case "(($ac_try" in
4463 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
4464 *) ac_try_echo=$ac_try;;
4465 esac
4466 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
4467 $as_echo "$ac_try_echo"; } >&5
4468 (eval "$ac_compiler $ac_option >&5") 2>conftest.err
4469 ac_status=$?
4470 if test -s conftest.err; then
4471 sed '10a\
4472 ... rest of stderr output deleted ...
4473 10q' conftest.err >conftest.er1
4474 cat conftest.er1 >&5
4476 rm -f conftest.er1 conftest.err
4477 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
4478 test $ac_status = 0; }
4479 done
4481 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are using the GNU C++ compiler" >&5
4482 $as_echo_n "checking whether we are using the GNU C++ compiler... " >&6; }
4483 if ${ac_cv_cxx_compiler_gnu+:} false; then :
4484 $as_echo_n "(cached) " >&6
4485 else
4486 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4487 /* end confdefs.h. */
4490 main ()
4492 #ifndef __GNUC__
4493 choke me
4494 #endif
4497 return 0;
4499 _ACEOF
4500 if ac_fn_cxx_try_compile "$LINENO"; then :
4501 ac_compiler_gnu=yes
4502 else
4503 ac_compiler_gnu=no
4505 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4506 ac_cv_cxx_compiler_gnu=$ac_compiler_gnu
4509 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cxx_compiler_gnu" >&5
4510 $as_echo "$ac_cv_cxx_compiler_gnu" >&6; }
4511 if test $ac_compiler_gnu = yes; then
4512 GXX=yes
4513 else
4514 GXX=
4516 ac_test_CXXFLAGS=${CXXFLAGS+set}
4517 ac_save_CXXFLAGS=$CXXFLAGS
4518 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CXX accepts -g" >&5
4519 $as_echo_n "checking whether $CXX accepts -g... " >&6; }
4520 if ${ac_cv_prog_cxx_g+:} false; then :
4521 $as_echo_n "(cached) " >&6
4522 else
4523 ac_save_cxx_werror_flag=$ac_cxx_werror_flag
4524 ac_cxx_werror_flag=yes
4525 ac_cv_prog_cxx_g=no
4526 CXXFLAGS="-g"
4527 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4528 /* end confdefs.h. */
4531 main ()
4535 return 0;
4537 _ACEOF
4538 if ac_fn_cxx_try_compile "$LINENO"; then :
4539 ac_cv_prog_cxx_g=yes
4540 else
4541 CXXFLAGS=""
4542 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4543 /* end confdefs.h. */
4546 main ()
4550 return 0;
4552 _ACEOF
4553 if ac_fn_cxx_try_compile "$LINENO"; then :
4555 else
4556 ac_cxx_werror_flag=$ac_save_cxx_werror_flag
4557 CXXFLAGS="-g"
4558 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4559 /* end confdefs.h. */
4562 main ()
4566 return 0;
4568 _ACEOF
4569 if ac_fn_cxx_try_compile "$LINENO"; then :
4570 ac_cv_prog_cxx_g=yes
4572 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4574 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4576 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4577 ac_cxx_werror_flag=$ac_save_cxx_werror_flag
4579 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cxx_g" >&5
4580 $as_echo "$ac_cv_prog_cxx_g" >&6; }
4581 if test "$ac_test_CXXFLAGS" = set; then
4582 CXXFLAGS=$ac_save_CXXFLAGS
4583 elif test $ac_cv_prog_cxx_g = yes; then
4584 if test "$GXX" = yes; then
4585 CXXFLAGS="-g -O2"
4586 else
4587 CXXFLAGS="-g"
4589 else
4590 if test "$GXX" = yes; then
4591 CXXFLAGS="-O2"
4592 else
4593 CXXFLAGS=
4596 ac_ext=c
4597 ac_cpp='$CPP $CPPFLAGS'
4598 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
4599 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
4600 ac_compiler_gnu=$ac_cv_c_compiler_gnu
4602 if test -n "$ac_tool_prefix"; then
4603 # Extract the first word of "${ac_tool_prefix}cpp", so it can be a program name with args.
4604 set dummy ${ac_tool_prefix}cpp; ac_word=$2
4605 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4606 $as_echo_n "checking for $ac_word... " >&6; }
4607 if ${ac_cv_prog_CPPBIN+:} false; then :
4608 $as_echo_n "(cached) " >&6
4609 else
4610 if test -n "$CPPBIN"; then
4611 ac_cv_prog_CPPBIN="$CPPBIN" # Let the user override the test.
4612 else
4613 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4614 for as_dir in $PATH
4616 IFS=$as_save_IFS
4617 test -z "$as_dir" && as_dir=.
4618 for ac_exec_ext in '' $ac_executable_extensions; do
4619 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
4620 ac_cv_prog_CPPBIN="${ac_tool_prefix}cpp"
4621 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4622 break 2
4624 done
4625 done
4626 IFS=$as_save_IFS
4630 CPPBIN=$ac_cv_prog_CPPBIN
4631 if test -n "$CPPBIN"; then
4632 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CPPBIN" >&5
4633 $as_echo "$CPPBIN" >&6; }
4634 else
4635 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4636 $as_echo "no" >&6; }
4641 if test -z "$ac_cv_prog_CPPBIN"; then
4642 ac_ct_CPPBIN=$CPPBIN
4643 # Extract the first word of "cpp", so it can be a program name with args.
4644 set dummy cpp; ac_word=$2
4645 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4646 $as_echo_n "checking for $ac_word... " >&6; }
4647 if ${ac_cv_prog_ac_ct_CPPBIN+:} false; then :
4648 $as_echo_n "(cached) " >&6
4649 else
4650 if test -n "$ac_ct_CPPBIN"; then
4651 ac_cv_prog_ac_ct_CPPBIN="$ac_ct_CPPBIN" # Let the user override the test.
4652 else
4653 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4654 for as_dir in $PATH
4656 IFS=$as_save_IFS
4657 test -z "$as_dir" && as_dir=.
4658 for ac_exec_ext in '' $ac_executable_extensions; do
4659 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
4660 ac_cv_prog_ac_ct_CPPBIN="cpp"
4661 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4662 break 2
4664 done
4665 done
4666 IFS=$as_save_IFS
4670 ac_ct_CPPBIN=$ac_cv_prog_ac_ct_CPPBIN
4671 if test -n "$ac_ct_CPPBIN"; then
4672 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CPPBIN" >&5
4673 $as_echo "$ac_ct_CPPBIN" >&6; }
4674 else
4675 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4676 $as_echo "no" >&6; }
4679 if test "x$ac_ct_CPPBIN" = x; then
4680 CPPBIN="cpp"
4681 else
4682 case $cross_compiling:$ac_tool_warned in
4683 yes:)
4684 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
4685 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
4686 ac_tool_warned=yes ;;
4687 esac
4688 CPPBIN=$ac_ct_CPPBIN
4690 else
4691 CPPBIN="$ac_cv_prog_CPPBIN"
4695 cat >>confdefs.h <<_ACEOF
4696 #define EXEEXT "$ac_exeext"
4697 _ACEOF
4700 case $host in
4701 *-darwin*)
4702 if test "x$enable_win64" = "xyes"
4703 then
4704 CC="$CC -m64"
4705 CXX="$CXX -m64"
4706 host_cpu="x86_64"
4707 notice_platform="64-bit "
4708 TARGETFLAGS="-m64"
4710 else
4711 CC="$CC -m32"
4712 CXX="$CXX -m32"
4713 host_cpu="i386"
4714 notice_platform="32-bit "
4715 TARGETFLAGS="-m32"
4717 enable_win16=${enable_win16:-yes}
4719 with_fontconfig=${with_fontconfig:-no}
4721 x86_64*)
4722 if test "x$enable_win64" != "xyes" -a "$cross_compiling" != "yes"
4723 then
4724 CC="$CC -m32"
4725 CXX="$CXX -m32"
4726 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CC works" >&5
4727 $as_echo_n "checking whether $CC works... " >&6; }
4729 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4730 /* end confdefs.h. */
4733 main ()
4737 return 0;
4739 _ACEOF
4740 if ac_fn_c_try_link "$LINENO"; then :
4741 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
4742 $as_echo "yes" >&6; }
4743 else
4744 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4745 $as_echo "no" >&6; }
4746 as_fn_error $? "Cannot build a 32-bit program, you need to install 32-bit development libraries." "$LINENO" 5
4748 rm -f core conftest.err conftest.$ac_objext \
4749 conftest$ac_exeext conftest.$ac_ext
4750 host_cpu="i386"
4751 notice_platform="32-bit "
4752 TARGETFLAGS="-m32"
4754 enable_win16=${enable_win16:-yes}
4755 else
4756 if test "x${GCC}" = "xyes"
4757 then
4758 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CC supports __builtin_ms_va_list" >&5
4759 $as_echo_n "checking whether $CC supports __builtin_ms_va_list... " >&6; }
4760 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4761 /* end confdefs.h. */
4762 #include <stdarg.h>
4764 main ()
4766 void func(__builtin_ms_va_list *args);
4768 return 0;
4770 _ACEOF
4771 if ac_fn_c_try_compile "$LINENO"; then :
4772 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
4773 $as_echo "yes" >&6; }
4774 else
4775 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4776 $as_echo "no" >&6; }
4777 as_fn_error $? "You need gcc >= 4.4 to build Wine as 64-bit." "$LINENO" 5
4779 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4781 TARGETFLAGS="-m64"
4785 arm*)
4786 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CC supports Thumb" >&5
4787 $as_echo_n "checking whether $CC supports Thumb... " >&6; }
4788 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4789 /* end confdefs.h. */
4790 int ac_test(int i) { return i; }
4792 main ()
4794 asm(".thumb\nblx ac_test\n.arm"); if (ac_test(1)) return 1
4796 return 0;
4798 _ACEOF
4799 if ac_fn_c_try_link "$LINENO"; then :
4800 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
4801 $as_echo "yes" >&6; }
4802 else
4803 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4804 $as_echo "no" >&6; }
4805 as_fn_error $? "You need a target with Thumb support to build Wine for ARM." "$LINENO" 5
4807 rm -f core conftest.err conftest.$ac_objext \
4808 conftest$ac_exeext conftest.$ac_ext
4809 CFLAGS="$CFLAGS -marm"
4810 TARGETFLAGS="-marm"
4813 *-mingw32*|*-cygwin*)
4814 enable_win16=${enable_win16:-no}
4815 CFLAGS="$CFLAGS -D_WIN32"
4817 i[3456789]86*)
4818 enable_win16=${enable_win16:-yes}
4820 esac
4822 enable_win16=${enable_win16:-no}
4823 enable_win64=${enable_win64:-no}
4825 enable_winetest=${enable_winetest:-$enable_tests}
4827 if test -n "$with_wine64"
4828 then
4829 if test "x$enable_win64" = "xyes"
4830 then
4831 as_fn_error $? "--enable-win64 and --with-wine64 are mutually exclusive.
4832 --enable-win64 should be used in the 64-bit build tree, --with-wine64 in the 32-bit Wow64 build tree." "$LINENO" 5
4834 enable_fonts=${enable_fonts:-no}
4835 enable_server=${enable_server:-no}
4836 elif test "x$enable_win64" = "xyes"
4837 then
4838 test "x$libdir" != "x\${exec_prefix}/lib" || libdir="\${exec_prefix}/lib64"
4841 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for the directory containing the Wine tools" >&5
4842 $as_echo_n "checking for the directory containing the Wine tools... " >&6; }
4843 if ${wine_cv_toolsdir+:} false; then :
4844 $as_echo_n "(cached) " >&6
4845 else
4846 wine_cv_toolsdir="$with_wine_tools"
4847 if test -z "$with_wine_tools"; then
4848 if test "$cross_compiling" = "yes"; then
4849 as_fn_error $? "you must use the --with-wine-tools option when cross-compiling." "$LINENO" 5
4850 elif test -n "$with_wine64"; then
4851 wine_cv_toolsdir="$with_wine64"
4854 if test -z "$wine_cv_toolsdir"; then
4855 wine_makedep=tools/makedep
4856 wine_cv_toolsdir="\$(top_builddir)"
4857 elif test -d "$wine_cv_toolsdir/tools/winebuild"; then
4858 wine_makedep=$wine_cv_toolsdir/tools/makedep
4859 case "$wine_cv_toolsdir" in
4860 /*) ;;
4861 *) wine_cv_toolsdir="\$(top_builddir)/$wine_cv_toolsdir" ;;
4862 esac
4863 enable_tools=${enable_tools:-no}
4864 test -f "$wine_makedep" || as_fn_error $? "the Wine tools have not yet been built in $wine_cv_toolsdir" "$LINENO" 5
4865 else
4866 as_fn_error $? "could not find Wine tools in $wine_cv_toolsdir" "$LINENO" 5
4869 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $wine_cv_toolsdir" >&5
4870 $as_echo "$wine_cv_toolsdir" >&6; }
4871 TOOLSDIR=$wine_cv_toolsdir
4873 if test -n "$host_alias" -a "$host_alias" != "$build_alias"
4874 then
4875 TARGETFLAGS="-b $host_alias $TARGETFLAGS"
4879 for ac_prog in flex
4881 # Extract the first word of "$ac_prog", so it can be a program name with args.
4882 set dummy $ac_prog; ac_word=$2
4883 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4884 $as_echo_n "checking for $ac_word... " >&6; }
4885 if ${ac_cv_prog_FLEX+:} false; then :
4886 $as_echo_n "(cached) " >&6
4887 else
4888 if test -n "$FLEX"; then
4889 ac_cv_prog_FLEX="$FLEX" # Let the user override the test.
4890 else
4891 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4892 for as_dir in $PATH
4894 IFS=$as_save_IFS
4895 test -z "$as_dir" && as_dir=.
4896 for ac_exec_ext in '' $ac_executable_extensions; do
4897 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
4898 ac_cv_prog_FLEX="$ac_prog"
4899 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4900 break 2
4902 done
4903 done
4904 IFS=$as_save_IFS
4908 FLEX=$ac_cv_prog_FLEX
4909 if test -n "$FLEX"; then
4910 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $FLEX" >&5
4911 $as_echo "$FLEX" >&6; }
4912 else
4913 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4914 $as_echo "no" >&6; }
4918 test -n "$FLEX" && break
4919 done
4920 test -n "$FLEX" || FLEX="none"
4922 if test "$FLEX" = "none"
4923 then
4924 as_fn_error $? "no suitable flex found. Please install the 'flex' package." "$LINENO" 5
4926 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether flex is recent enough" >&5
4927 $as_echo_n "checking whether flex is recent enough... " >&6; }
4928 cat >conftest.l <<EOF
4929 %top{
4930 #include "prediluvian.h"
4934 if $FLEX -t conftest.l >/dev/null 2>&5
4935 then
4936 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
4937 $as_echo "yes" >&6; }
4938 else
4939 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4940 $as_echo "no" >&6; }
4941 as_fn_error $? "Your flex version is too old. Please install flex version 2.5.33 or newer." "$LINENO" 5
4944 for ac_prog in bison
4946 # Extract the first word of "$ac_prog", so it can be a program name with args.
4947 set dummy $ac_prog; ac_word=$2
4948 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4949 $as_echo_n "checking for $ac_word... " >&6; }
4950 if ${ac_cv_prog_BISON+:} false; then :
4951 $as_echo_n "(cached) " >&6
4952 else
4953 if test -n "$BISON"; then
4954 ac_cv_prog_BISON="$BISON" # Let the user override the test.
4955 else
4956 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4957 for as_dir in $PATH
4959 IFS=$as_save_IFS
4960 test -z "$as_dir" && as_dir=.
4961 for ac_exec_ext in '' $ac_executable_extensions; do
4962 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
4963 ac_cv_prog_BISON="$ac_prog"
4964 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4965 break 2
4967 done
4968 done
4969 IFS=$as_save_IFS
4973 BISON=$ac_cv_prog_BISON
4974 if test -n "$BISON"; then
4975 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $BISON" >&5
4976 $as_echo "$BISON" >&6; }
4977 else
4978 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4979 $as_echo "no" >&6; }
4983 test -n "$BISON" && break
4984 done
4985 test -n "$BISON" || BISON="none"
4987 if test "$BISON" = "none"
4988 then
4989 as_fn_error $? "no suitable bison found. Please install the 'bison' package." "$LINENO" 5
4992 if test -n "$ac_tool_prefix"; then
4993 for ac_prog in ar gar
4995 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
4996 set dummy $ac_tool_prefix$ac_prog; ac_word=$2
4997 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4998 $as_echo_n "checking for $ac_word... " >&6; }
4999 if ${ac_cv_prog_AR+:} false; then :
5000 $as_echo_n "(cached) " >&6
5001 else
5002 if test -n "$AR"; then
5003 ac_cv_prog_AR="$AR" # Let the user override the test.
5004 else
5005 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5006 for as_dir in $PATH
5008 IFS=$as_save_IFS
5009 test -z "$as_dir" && as_dir=.
5010 for ac_exec_ext in '' $ac_executable_extensions; do
5011 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
5012 ac_cv_prog_AR="$ac_tool_prefix$ac_prog"
5013 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5014 break 2
5016 done
5017 done
5018 IFS=$as_save_IFS
5022 AR=$ac_cv_prog_AR
5023 if test -n "$AR"; then
5024 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $AR" >&5
5025 $as_echo "$AR" >&6; }
5026 else
5027 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5028 $as_echo "no" >&6; }
5032 test -n "$AR" && break
5033 done
5035 if test -z "$AR"; then
5036 ac_ct_AR=$AR
5037 for ac_prog in ar gar
5039 # Extract the first word of "$ac_prog", so it can be a program name with args.
5040 set dummy $ac_prog; ac_word=$2
5041 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5042 $as_echo_n "checking for $ac_word... " >&6; }
5043 if ${ac_cv_prog_ac_ct_AR+:} false; then :
5044 $as_echo_n "(cached) " >&6
5045 else
5046 if test -n "$ac_ct_AR"; then
5047 ac_cv_prog_ac_ct_AR="$ac_ct_AR" # Let the user override the test.
5048 else
5049 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5050 for as_dir in $PATH
5052 IFS=$as_save_IFS
5053 test -z "$as_dir" && as_dir=.
5054 for ac_exec_ext in '' $ac_executable_extensions; do
5055 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
5056 ac_cv_prog_ac_ct_AR="$ac_prog"
5057 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5058 break 2
5060 done
5061 done
5062 IFS=$as_save_IFS
5066 ac_ct_AR=$ac_cv_prog_ac_ct_AR
5067 if test -n "$ac_ct_AR"; then
5068 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_AR" >&5
5069 $as_echo "$ac_ct_AR" >&6; }
5070 else
5071 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5072 $as_echo "no" >&6; }
5076 test -n "$ac_ct_AR" && break
5077 done
5079 if test "x$ac_ct_AR" = x; then
5080 AR="ar"
5081 else
5082 case $cross_compiling:$ac_tool_warned in
5083 yes:)
5084 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
5085 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
5086 ac_tool_warned=yes ;;
5087 esac
5088 AR=$ac_ct_AR
5092 if test -n "$ac_tool_prefix"; then
5093 # Extract the first word of "${ac_tool_prefix}strip", so it can be a program name with args.
5094 set dummy ${ac_tool_prefix}strip; ac_word=$2
5095 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5096 $as_echo_n "checking for $ac_word... " >&6; }
5097 if ${ac_cv_prog_STRIP+:} false; then :
5098 $as_echo_n "(cached) " >&6
5099 else
5100 if test -n "$STRIP"; then
5101 ac_cv_prog_STRIP="$STRIP" # Let the user override the test.
5102 else
5103 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5104 for as_dir in $PATH
5106 IFS=$as_save_IFS
5107 test -z "$as_dir" && as_dir=.
5108 for ac_exec_ext in '' $ac_executable_extensions; do
5109 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
5110 ac_cv_prog_STRIP="${ac_tool_prefix}strip"
5111 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5112 break 2
5114 done
5115 done
5116 IFS=$as_save_IFS
5120 STRIP=$ac_cv_prog_STRIP
5121 if test -n "$STRIP"; then
5122 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $STRIP" >&5
5123 $as_echo "$STRIP" >&6; }
5124 else
5125 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5126 $as_echo "no" >&6; }
5131 if test -z "$ac_cv_prog_STRIP"; then
5132 ac_ct_STRIP=$STRIP
5133 # Extract the first word of "strip", so it can be a program name with args.
5134 set dummy strip; ac_word=$2
5135 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5136 $as_echo_n "checking for $ac_word... " >&6; }
5137 if ${ac_cv_prog_ac_ct_STRIP+:} false; then :
5138 $as_echo_n "(cached) " >&6
5139 else
5140 if test -n "$ac_ct_STRIP"; then
5141 ac_cv_prog_ac_ct_STRIP="$ac_ct_STRIP" # Let the user override the test.
5142 else
5143 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5144 for as_dir in $PATH
5146 IFS=$as_save_IFS
5147 test -z "$as_dir" && as_dir=.
5148 for ac_exec_ext in '' $ac_executable_extensions; do
5149 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
5150 ac_cv_prog_ac_ct_STRIP="strip"
5151 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5152 break 2
5154 done
5155 done
5156 IFS=$as_save_IFS
5160 ac_ct_STRIP=$ac_cv_prog_ac_ct_STRIP
5161 if test -n "$ac_ct_STRIP"; then
5162 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_STRIP" >&5
5163 $as_echo "$ac_ct_STRIP" >&6; }
5164 else
5165 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5166 $as_echo "no" >&6; }
5169 if test "x$ac_ct_STRIP" = x; then
5170 STRIP="strip"
5171 else
5172 case $cross_compiling:$ac_tool_warned in
5173 yes:)
5174 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
5175 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
5176 ac_tool_warned=yes ;;
5177 esac
5178 STRIP=$ac_ct_STRIP
5180 else
5181 STRIP="$ac_cv_prog_STRIP"
5184 ARFLAGS=rc
5186 if test -n "$ac_tool_prefix"; then
5187 # Extract the first word of "${ac_tool_prefix}ranlib", so it can be a program name with args.
5188 set dummy ${ac_tool_prefix}ranlib; ac_word=$2
5189 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5190 $as_echo_n "checking for $ac_word... " >&6; }
5191 if ${ac_cv_prog_RANLIB+:} false; then :
5192 $as_echo_n "(cached) " >&6
5193 else
5194 if test -n "$RANLIB"; then
5195 ac_cv_prog_RANLIB="$RANLIB" # Let the user override the test.
5196 else
5197 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5198 for as_dir in $PATH
5200 IFS=$as_save_IFS
5201 test -z "$as_dir" && as_dir=.
5202 for ac_exec_ext in '' $ac_executable_extensions; do
5203 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
5204 ac_cv_prog_RANLIB="${ac_tool_prefix}ranlib"
5205 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5206 break 2
5208 done
5209 done
5210 IFS=$as_save_IFS
5214 RANLIB=$ac_cv_prog_RANLIB
5215 if test -n "$RANLIB"; then
5216 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $RANLIB" >&5
5217 $as_echo "$RANLIB" >&6; }
5218 else
5219 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5220 $as_echo "no" >&6; }
5225 if test -z "$ac_cv_prog_RANLIB"; then
5226 ac_ct_RANLIB=$RANLIB
5227 # Extract the first word of "ranlib", so it can be a program name with args.
5228 set dummy ranlib; ac_word=$2
5229 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5230 $as_echo_n "checking for $ac_word... " >&6; }
5231 if ${ac_cv_prog_ac_ct_RANLIB+:} false; then :
5232 $as_echo_n "(cached) " >&6
5233 else
5234 if test -n "$ac_ct_RANLIB"; then
5235 ac_cv_prog_ac_ct_RANLIB="$ac_ct_RANLIB" # Let the user override the test.
5236 else
5237 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5238 for as_dir in $PATH
5240 IFS=$as_save_IFS
5241 test -z "$as_dir" && as_dir=.
5242 for ac_exec_ext in '' $ac_executable_extensions; do
5243 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
5244 ac_cv_prog_ac_ct_RANLIB="ranlib"
5245 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5246 break 2
5248 done
5249 done
5250 IFS=$as_save_IFS
5254 ac_ct_RANLIB=$ac_cv_prog_ac_ct_RANLIB
5255 if test -n "$ac_ct_RANLIB"; then
5256 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_RANLIB" >&5
5257 $as_echo "$ac_ct_RANLIB" >&6; }
5258 else
5259 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5260 $as_echo "no" >&6; }
5263 if test "x$ac_ct_RANLIB" = x; then
5264 RANLIB=":"
5265 else
5266 case $cross_compiling:$ac_tool_warned in
5267 yes:)
5268 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
5269 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
5270 ac_tool_warned=yes ;;
5271 esac
5272 RANLIB=$ac_ct_RANLIB
5274 else
5275 RANLIB="$ac_cv_prog_RANLIB"
5278 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ln -s works" >&5
5279 $as_echo_n "checking whether ln -s works... " >&6; }
5280 LN_S=$as_ln_s
5281 if test "$LN_S" = "ln -s"; then
5282 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
5283 $as_echo "yes" >&6; }
5284 else
5285 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no, using $LN_S" >&5
5286 $as_echo "no, using $LN_S" >&6; }
5289 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for grep that handles long lines and -e" >&5
5290 $as_echo_n "checking for grep that handles long lines and -e... " >&6; }
5291 if ${ac_cv_path_GREP+:} false; then :
5292 $as_echo_n "(cached) " >&6
5293 else
5294 if test -z "$GREP"; then
5295 ac_path_GREP_found=false
5296 # Loop through the user's path and test for each of PROGNAME-LIST
5297 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5298 for as_dir in $PATH$PATH_SEPARATOR/usr/xpg4/bin
5300 IFS=$as_save_IFS
5301 test -z "$as_dir" && as_dir=.
5302 for ac_prog in grep ggrep; do
5303 for ac_exec_ext in '' $ac_executable_extensions; do
5304 ac_path_GREP="$as_dir/$ac_prog$ac_exec_ext"
5305 as_fn_executable_p "$ac_path_GREP" || continue
5306 # Check for GNU ac_path_GREP and select it if it is found.
5307 # Check for GNU $ac_path_GREP
5308 case `"$ac_path_GREP" --version 2>&1` in
5309 *GNU*)
5310 ac_cv_path_GREP="$ac_path_GREP" ac_path_GREP_found=:;;
5312 ac_count=0
5313 $as_echo_n 0123456789 >"conftest.in"
5314 while :
5316 cat "conftest.in" "conftest.in" >"conftest.tmp"
5317 mv "conftest.tmp" "conftest.in"
5318 cp "conftest.in" "conftest.nl"
5319 $as_echo 'GREP' >> "conftest.nl"
5320 "$ac_path_GREP" -e 'GREP$' -e '-(cannot match)-' < "conftest.nl" >"conftest.out" 2>/dev/null || break
5321 diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break
5322 as_fn_arith $ac_count + 1 && ac_count=$as_val
5323 if test $ac_count -gt ${ac_path_GREP_max-0}; then
5324 # Best one so far, save it but keep looking for a better one
5325 ac_cv_path_GREP="$ac_path_GREP"
5326 ac_path_GREP_max=$ac_count
5328 # 10*(2^10) chars as input seems more than enough
5329 test $ac_count -gt 10 && break
5330 done
5331 rm -f conftest.in conftest.tmp conftest.nl conftest.out;;
5332 esac
5334 $ac_path_GREP_found && break 3
5335 done
5336 done
5337 done
5338 IFS=$as_save_IFS
5339 if test -z "$ac_cv_path_GREP"; then
5340 as_fn_error $? "no acceptable grep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" "$LINENO" 5
5342 else
5343 ac_cv_path_GREP=$GREP
5347 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_GREP" >&5
5348 $as_echo "$ac_cv_path_GREP" >&6; }
5349 GREP="$ac_cv_path_GREP"
5352 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for egrep" >&5
5353 $as_echo_n "checking for egrep... " >&6; }
5354 if ${ac_cv_path_EGREP+:} false; then :
5355 $as_echo_n "(cached) " >&6
5356 else
5357 if echo a | $GREP -E '(a|b)' >/dev/null 2>&1
5358 then ac_cv_path_EGREP="$GREP -E"
5359 else
5360 if test -z "$EGREP"; then
5361 ac_path_EGREP_found=false
5362 # Loop through the user's path and test for each of PROGNAME-LIST
5363 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5364 for as_dir in $PATH$PATH_SEPARATOR/usr/xpg4/bin
5366 IFS=$as_save_IFS
5367 test -z "$as_dir" && as_dir=.
5368 for ac_prog in egrep; do
5369 for ac_exec_ext in '' $ac_executable_extensions; do
5370 ac_path_EGREP="$as_dir/$ac_prog$ac_exec_ext"
5371 as_fn_executable_p "$ac_path_EGREP" || continue
5372 # Check for GNU ac_path_EGREP and select it if it is found.
5373 # Check for GNU $ac_path_EGREP
5374 case `"$ac_path_EGREP" --version 2>&1` in
5375 *GNU*)
5376 ac_cv_path_EGREP="$ac_path_EGREP" ac_path_EGREP_found=:;;
5378 ac_count=0
5379 $as_echo_n 0123456789 >"conftest.in"
5380 while :
5382 cat "conftest.in" "conftest.in" >"conftest.tmp"
5383 mv "conftest.tmp" "conftest.in"
5384 cp "conftest.in" "conftest.nl"
5385 $as_echo 'EGREP' >> "conftest.nl"
5386 "$ac_path_EGREP" 'EGREP$' < "conftest.nl" >"conftest.out" 2>/dev/null || break
5387 diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break
5388 as_fn_arith $ac_count + 1 && ac_count=$as_val
5389 if test $ac_count -gt ${ac_path_EGREP_max-0}; then
5390 # Best one so far, save it but keep looking for a better one
5391 ac_cv_path_EGREP="$ac_path_EGREP"
5392 ac_path_EGREP_max=$ac_count
5394 # 10*(2^10) chars as input seems more than enough
5395 test $ac_count -gt 10 && break
5396 done
5397 rm -f conftest.in conftest.tmp conftest.nl conftest.out;;
5398 esac
5400 $ac_path_EGREP_found && break 3
5401 done
5402 done
5403 done
5404 IFS=$as_save_IFS
5405 if test -z "$ac_cv_path_EGREP"; then
5406 as_fn_error $? "no acceptable egrep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" "$LINENO" 5
5408 else
5409 ac_cv_path_EGREP=$EGREP
5414 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_EGREP" >&5
5415 $as_echo "$ac_cv_path_EGREP" >&6; }
5416 EGREP="$ac_cv_path_EGREP"
5419 # Extract the first word of "ldconfig", so it can be a program name with args.
5420 set dummy ldconfig; 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_path_LDCONFIG+:} false; then :
5424 $as_echo_n "(cached) " >&6
5425 else
5426 case $LDCONFIG in
5427 [\\/]* | ?:[\\/]*)
5428 ac_cv_path_LDCONFIG="$LDCONFIG" # Let the user override the test with a path.
5431 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5432 for as_dir in /sbin /usr/sbin $PATH
5434 IFS=$as_save_IFS
5435 test -z "$as_dir" && as_dir=.
5436 for ac_exec_ext in '' $ac_executable_extensions; do
5437 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
5438 ac_cv_path_LDCONFIG="$as_dir/$ac_word$ac_exec_ext"
5439 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5440 break 2
5442 done
5443 done
5444 IFS=$as_save_IFS
5446 test -z "$ac_cv_path_LDCONFIG" && ac_cv_path_LDCONFIG="true"
5448 esac
5450 LDCONFIG=$ac_cv_path_LDCONFIG
5451 if test -n "$LDCONFIG"; then
5452 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $LDCONFIG" >&5
5453 $as_echo "$LDCONFIG" >&6; }
5454 else
5455 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5456 $as_echo "no" >&6; }
5460 for ac_prog in msgfmt
5462 # Extract the first word of "$ac_prog", so it can be a program name with args.
5463 set dummy $ac_prog; ac_word=$2
5464 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5465 $as_echo_n "checking for $ac_word... " >&6; }
5466 if ${ac_cv_prog_MSGFMT+:} false; then :
5467 $as_echo_n "(cached) " >&6
5468 else
5469 if test -n "$MSGFMT"; then
5470 ac_cv_prog_MSGFMT="$MSGFMT" # Let the user override the test.
5471 else
5472 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5473 for as_dir in $PATH
5475 IFS=$as_save_IFS
5476 test -z "$as_dir" && as_dir=.
5477 for ac_exec_ext in '' $ac_executable_extensions; do
5478 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
5479 ac_cv_prog_MSGFMT="$ac_prog"
5480 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5481 break 2
5483 done
5484 done
5485 IFS=$as_save_IFS
5489 MSGFMT=$ac_cv_prog_MSGFMT
5490 if test -n "$MSGFMT"; then
5491 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $MSGFMT" >&5
5492 $as_echo "$MSGFMT" >&6; }
5493 else
5494 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5495 $as_echo "no" >&6; }
5499 test -n "$MSGFMT" && break
5500 done
5501 test -n "$MSGFMT" || MSGFMT="false"
5503 if ${ac_tool_prefix+:} false; then :
5504 # Extract the first word of "${ac_tool_prefix}pkg-config", so it can be a program name with args.
5505 set dummy ${ac_tool_prefix}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="${ac_tool_prefix}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 if ${ac_cv_prog_PKG_CONFIG:+false} :; then :
5543 if test "x$cross_compiling" = xyes; then :
5545 else
5546 { ac_cv_prog_PKG_CONFIG=; unset ac_cv_prog_PKG_CONFIG;}
5547 # Extract the first word of "pkg-config", so it can be a program name with args.
5548 set dummy pkg-config; ac_word=$2
5549 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5550 $as_echo_n "checking for $ac_word... " >&6; }
5551 if ${ac_cv_prog_PKG_CONFIG+:} false; then :
5552 $as_echo_n "(cached) " >&6
5553 else
5554 if test -n "$PKG_CONFIG"; then
5555 ac_cv_prog_PKG_CONFIG="$PKG_CONFIG" # Let the user override the test.
5556 else
5557 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5558 for as_dir in $PATH
5560 IFS=$as_save_IFS
5561 test -z "$as_dir" && as_dir=.
5562 for ac_exec_ext in '' $ac_executable_extensions; do
5563 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
5564 ac_cv_prog_PKG_CONFIG="pkg-config"
5565 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5566 break 2
5568 done
5569 done
5570 IFS=$as_save_IFS
5574 PKG_CONFIG=$ac_cv_prog_PKG_CONFIG
5575 if test -n "$PKG_CONFIG"; then
5576 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $PKG_CONFIG" >&5
5577 $as_echo "$PKG_CONFIG" >&6; }
5578 else
5579 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5580 $as_echo "no" >&6; }
5585 else
5586 PKG_CONFIG=$ac_cv_prog_PKG_CONFIG
5589 if test "x$enable_maintainer_mode" != "xyes"
5590 then
5591 FONTFORGE=""
5592 RSVG=""
5593 CONVERT=""
5594 ICOTOOL=""
5595 else
5596 test "$srcdir" = . || as_fn_error $? "Maintainer mode cannot work out of tree." "$LINENO" 5
5597 for ac_prog in fontforge
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_FONTFORGE+:} false; then :
5604 $as_echo_n "(cached) " >&6
5605 else
5606 if test -n "$FONTFORGE"; then
5607 ac_cv_prog_FONTFORGE="$FONTFORGE" # 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_FONTFORGE="$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 FONTFORGE=$ac_cv_prog_FONTFORGE
5627 if test -n "$FONTFORGE"; then
5628 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $FONTFORGE" >&5
5629 $as_echo "$FONTFORGE" >&6; }
5630 else
5631 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5632 $as_echo "no" >&6; }
5636 test -n "$FONTFORGE" && break
5637 done
5638 test -n "$FONTFORGE" || FONTFORGE="false"
5640 for ac_prog in rsvg
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_RSVG+:} false; then :
5647 $as_echo_n "(cached) " >&6
5648 else
5649 if test -n "$RSVG"; then
5650 ac_cv_prog_RSVG="$RSVG" # 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_RSVG="$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 RSVG=$ac_cv_prog_RSVG
5670 if test -n "$RSVG"; then
5671 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $RSVG" >&5
5672 $as_echo "$RSVG" >&6; }
5673 else
5674 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5675 $as_echo "no" >&6; }
5679 test -n "$RSVG" && break
5680 done
5681 test -n "$RSVG" || RSVG="false"
5683 for ac_prog in convert
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_CONVERT+:} false; then :
5690 $as_echo_n "(cached) " >&6
5691 else
5692 if test -n "$CONVERT"; then
5693 ac_cv_prog_CONVERT="$CONVERT" # 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_CONVERT="$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 CONVERT=$ac_cv_prog_CONVERT
5713 if test -n "$CONVERT"; then
5714 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CONVERT" >&5
5715 $as_echo "$CONVERT" >&6; }
5716 else
5717 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5718 $as_echo "no" >&6; }
5722 test -n "$CONVERT" && break
5723 done
5724 test -n "$CONVERT" || CONVERT="false"
5726 for ac_prog in icotool
5728 # Extract the first word of "$ac_prog", so it can be a program name with args.
5729 set dummy $ac_prog; ac_word=$2
5730 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5731 $as_echo_n "checking for $ac_word... " >&6; }
5732 if ${ac_cv_prog_ICOTOOL+:} false; then :
5733 $as_echo_n "(cached) " >&6
5734 else
5735 if test -n "$ICOTOOL"; then
5736 ac_cv_prog_ICOTOOL="$ICOTOOL" # Let the user override the test.
5737 else
5738 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5739 for as_dir in $PATH
5741 IFS=$as_save_IFS
5742 test -z "$as_dir" && as_dir=.
5743 for ac_exec_ext in '' $ac_executable_extensions; do
5744 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
5745 ac_cv_prog_ICOTOOL="$ac_prog"
5746 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5747 break 2
5749 done
5750 done
5751 IFS=$as_save_IFS
5755 ICOTOOL=$ac_cv_prog_ICOTOOL
5756 if test -n "$ICOTOOL"; then
5757 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ICOTOOL" >&5
5758 $as_echo "$ICOTOOL" >&6; }
5759 else
5760 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5761 $as_echo "no" >&6; }
5765 test -n "$ICOTOOL" && break
5766 done
5767 test -n "$ICOTOOL" || ICOTOOL="false"
5769 test "$FONTFORGE" != "false" || as_fn_error $? "You need fontforge to rebuild fonts in maintainer mode." "$LINENO" 5
5770 test "$RSVG" != "false" || as_fn_error $? "You need rsvg to rebuild icons in maintainer mode." "$LINENO" 5
5772 if test "$CONVERT" = false
5773 then
5774 as_fn_error $? "You need imagemagick to rebuild icons in maintainer mode." "$LINENO" 5
5775 else
5776 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for recent enough imagemagick" >&5
5777 $as_echo_n "checking for recent enough imagemagick... " >&6; }
5778 convert_version=`convert --version | head -n1`
5779 if test "x$convert_version" != "x"
5780 then
5781 convert_version_major=`expr "$convert_version" : '.* \([0-9]*\)\.[0-9]*'`
5782 convert_version_minor=`expr "$convert_version" : '.* [0-9]*\.\([0-9]*\)'`
5783 if test "$convert_version_major" -eq 6 -a "$convert_version_minor" -lt 6
5784 then
5785 CONVERT=false
5788 if test "$CONVERT" = false
5789 then
5790 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no ($convert_version_major.$convert_version_minor)" >&5
5791 $as_echo "no ($convert_version_major.$convert_version_minor)" >&6; }
5792 as_fn_error $? "You need imagemagick version 6.6 or newer to rebuild icons in maintainer mode." "$LINENO" 5
5793 else
5794 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes ($convert_version_major.$convert_version_minor)" >&5
5795 $as_echo "yes ($convert_version_major.$convert_version_minor)" >&6; }
5799 if test "$ICOTOOL" = false
5800 then
5801 as_fn_error $? "You need icotool to rebuild icons in maintainer mode." "$LINENO" 5
5802 else
5803 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for recent enough icotool" >&5
5804 $as_echo_n "checking for recent enough icotool... " >&6; }
5805 icotool_version=`icotool --version | head -n1`
5806 if test "x$icotool_version" != "x"
5807 then
5808 icotool_version_major=`expr "$icotool_version" : '.* \([0-9]*\)\.[0-9]*'`
5809 icotool_version_minor=`expr "$icotool_version" : '.* [0-9]*\.\([0-9]*\)'`
5810 if test "$icotool_version_major" -eq 0 -a "$icotool_version_minor" -lt 29
5811 then
5812 ICOTOOL=false
5813 as_fn_append wine_warnings "|icotool version 0.29.0 or newer is needed to rebuild icons."
5816 if test "$ICOTOOL" = false
5817 then
5818 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no ($icotool_version_major.$icotool_version_minor)" >&5
5819 $as_echo "no ($icotool_version_major.$icotool_version_minor)" >&6; }
5820 as_fn_error $? "You need icotool version 0.29.0 or newer to rebuild icons in maintainer mode." "$LINENO" 5
5821 else
5822 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes ($icotool_version_major.$icotool_version_minor)" >&5
5823 $as_echo "yes ($icotool_version_major.$icotool_version_minor)" >&6; }
5827 with_gettext=yes
5828 with_gettextpo=yes
5829 { ac_cv_header_gettext_po_h=; unset ac_cv_header_gettext_po_h;}
5832 test "x$with_gettext" != xno || MSGFMT=false
5833 if test "$MSGFMT" != "false"
5834 then
5835 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether msgfmt supports contexts" >&5
5836 $as_echo_n "checking whether msgfmt supports contexts... " >&6; }
5837 cat >conftest.po <<EOF
5838 # comment
5839 msgctxt "ctxt"
5840 msgid "id"
5841 msgstr "str"
5843 if $MSGFMT -o /dev/null conftest.po 2>&5
5844 then
5845 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
5846 $as_echo "yes" >&6; }
5847 else
5848 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5849 $as_echo "no" >&6; }
5850 MSGFMT=false
5853 if test "$MSGFMT" = false; then :
5854 case "x$with_gettext" in
5855 x) as_fn_append wine_warnings "|gettext tools not found (or too old), translations won't be built." ;;
5856 xno) ;;
5857 *) as_fn_error $? "gettext tools not found (or too old), translations won't be built.
5858 This is an error since --with-gettext was requested." "$LINENO" 5 ;;
5859 esac
5863 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for i386_set_ldt in -li386" >&5
5864 $as_echo_n "checking for i386_set_ldt in -li386... " >&6; }
5865 if ${ac_cv_lib_i386_i386_set_ldt+:} false; then :
5866 $as_echo_n "(cached) " >&6
5867 else
5868 ac_check_lib_save_LIBS=$LIBS
5869 LIBS="-li386 $LIBS"
5870 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
5871 /* end confdefs.h. */
5873 /* Override any GCC internal prototype to avoid an error.
5874 Use char because int might match the return type of a GCC
5875 builtin and then its argument prototype would still apply. */
5876 #ifdef __cplusplus
5877 extern "C"
5878 #endif
5879 char i386_set_ldt ();
5881 main ()
5883 return i386_set_ldt ();
5885 return 0;
5887 _ACEOF
5888 if ac_fn_c_try_link "$LINENO"; then :
5889 ac_cv_lib_i386_i386_set_ldt=yes
5890 else
5891 ac_cv_lib_i386_i386_set_ldt=no
5893 rm -f core conftest.err conftest.$ac_objext \
5894 conftest$ac_exeext conftest.$ac_ext
5895 LIBS=$ac_check_lib_save_LIBS
5897 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_i386_i386_set_ldt" >&5
5898 $as_echo "$ac_cv_lib_i386_i386_set_ldt" >&6; }
5899 if test "x$ac_cv_lib_i386_i386_set_ldt" = xyes; then :
5900 cat >>confdefs.h <<_ACEOF
5901 #define HAVE_LIBI386 1
5902 _ACEOF
5904 LIBS="-li386 $LIBS"
5908 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _oss_ioctl in -lossaudio" >&5
5909 $as_echo_n "checking for _oss_ioctl in -lossaudio... " >&6; }
5910 if ${ac_cv_lib_ossaudio__oss_ioctl+:} false; then :
5911 $as_echo_n "(cached) " >&6
5912 else
5913 ac_check_lib_save_LIBS=$LIBS
5914 LIBS="-lossaudio $LIBS"
5915 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
5916 /* end confdefs.h. */
5918 /* Override any GCC internal prototype to avoid an error.
5919 Use char because int might match the return type of a GCC
5920 builtin and then its argument prototype would still apply. */
5921 #ifdef __cplusplus
5922 extern "C"
5923 #endif
5924 char _oss_ioctl ();
5926 main ()
5928 return _oss_ioctl ();
5930 return 0;
5932 _ACEOF
5933 if ac_fn_c_try_link "$LINENO"; then :
5934 ac_cv_lib_ossaudio__oss_ioctl=yes
5935 else
5936 ac_cv_lib_ossaudio__oss_ioctl=no
5938 rm -f core conftest.err conftest.$ac_objext \
5939 conftest$ac_exeext conftest.$ac_ext
5940 LIBS=$ac_check_lib_save_LIBS
5942 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_ossaudio__oss_ioctl" >&5
5943 $as_echo "$ac_cv_lib_ossaudio__oss_ioctl" >&6; }
5944 if test "x$ac_cv_lib_ossaudio__oss_ioctl" = xyes; then :
5945 cat >>confdefs.h <<_ACEOF
5946 #define HAVE_LIBOSSAUDIO 1
5947 _ACEOF
5949 LIBS="-lossaudio $LIBS"
5954 OPENGL_LIBS=""
5958 # Check whether --enable-largefile was given.
5959 if test "${enable_largefile+set}" = set; then :
5960 enableval=$enable_largefile;
5963 if test "$enable_largefile" != no; then
5965 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for special C compiler options needed for large files" >&5
5966 $as_echo_n "checking for special C compiler options needed for large files... " >&6; }
5967 if ${ac_cv_sys_largefile_CC+:} false; then :
5968 $as_echo_n "(cached) " >&6
5969 else
5970 ac_cv_sys_largefile_CC=no
5971 if test "$GCC" != yes; then
5972 ac_save_CC=$CC
5973 while :; do
5974 # IRIX 6.2 and later do not support large files by default,
5975 # so use the C compiler's -n32 option if that helps.
5976 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
5977 /* end confdefs.h. */
5978 #include <sys/types.h>
5979 /* Check that off_t can represent 2**63 - 1 correctly.
5980 We can't simply define LARGE_OFF_T to be 9223372036854775807,
5981 since some C++ compilers masquerading as C compilers
5982 incorrectly reject 9223372036854775807. */
5983 #define LARGE_OFF_T (((off_t) 1 << 62) - 1 + ((off_t) 1 << 62))
5984 int off_t_is_large[(LARGE_OFF_T % 2147483629 == 721
5985 && LARGE_OFF_T % 2147483647 == 1)
5986 ? 1 : -1];
5988 main ()
5992 return 0;
5994 _ACEOF
5995 if ac_fn_c_try_compile "$LINENO"; then :
5996 break
5998 rm -f core conftest.err conftest.$ac_objext
5999 CC="$CC -n32"
6000 if ac_fn_c_try_compile "$LINENO"; then :
6001 ac_cv_sys_largefile_CC=' -n32'; break
6003 rm -f core conftest.err conftest.$ac_objext
6004 break
6005 done
6006 CC=$ac_save_CC
6007 rm -f conftest.$ac_ext
6010 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_sys_largefile_CC" >&5
6011 $as_echo "$ac_cv_sys_largefile_CC" >&6; }
6012 if test "$ac_cv_sys_largefile_CC" != no; then
6013 CC=$CC$ac_cv_sys_largefile_CC
6016 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _FILE_OFFSET_BITS value needed for large files" >&5
6017 $as_echo_n "checking for _FILE_OFFSET_BITS value needed for large files... " >&6; }
6018 if ${ac_cv_sys_file_offset_bits+:} false; then :
6019 $as_echo_n "(cached) " >&6
6020 else
6021 while :; do
6022 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
6023 /* end confdefs.h. */
6024 #include <sys/types.h>
6025 /* Check that off_t can represent 2**63 - 1 correctly.
6026 We can't simply define LARGE_OFF_T to be 9223372036854775807,
6027 since some C++ compilers masquerading as C compilers
6028 incorrectly reject 9223372036854775807. */
6029 #define LARGE_OFF_T (((off_t) 1 << 62) - 1 + ((off_t) 1 << 62))
6030 int off_t_is_large[(LARGE_OFF_T % 2147483629 == 721
6031 && LARGE_OFF_T % 2147483647 == 1)
6032 ? 1 : -1];
6034 main ()
6038 return 0;
6040 _ACEOF
6041 if ac_fn_c_try_compile "$LINENO"; then :
6042 ac_cv_sys_file_offset_bits=no; break
6044 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
6045 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
6046 /* end confdefs.h. */
6047 #define _FILE_OFFSET_BITS 64
6048 #include <sys/types.h>
6049 /* Check that off_t can represent 2**63 - 1 correctly.
6050 We can't simply define LARGE_OFF_T to be 9223372036854775807,
6051 since some C++ compilers masquerading as C compilers
6052 incorrectly reject 9223372036854775807. */
6053 #define LARGE_OFF_T (((off_t) 1 << 62) - 1 + ((off_t) 1 << 62))
6054 int off_t_is_large[(LARGE_OFF_T % 2147483629 == 721
6055 && LARGE_OFF_T % 2147483647 == 1)
6056 ? 1 : -1];
6058 main ()
6062 return 0;
6064 _ACEOF
6065 if ac_fn_c_try_compile "$LINENO"; then :
6066 ac_cv_sys_file_offset_bits=64; break
6068 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
6069 ac_cv_sys_file_offset_bits=unknown
6070 break
6071 done
6073 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_sys_file_offset_bits" >&5
6074 $as_echo "$ac_cv_sys_file_offset_bits" >&6; }
6075 case $ac_cv_sys_file_offset_bits in #(
6076 no | unknown) ;;
6078 cat >>confdefs.h <<_ACEOF
6079 #define _FILE_OFFSET_BITS $ac_cv_sys_file_offset_bits
6080 _ACEOF
6082 esac
6083 rm -rf conftest*
6084 if test $ac_cv_sys_file_offset_bits = unknown; then
6085 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _LARGE_FILES value needed for large files" >&5
6086 $as_echo_n "checking for _LARGE_FILES value needed for large files... " >&6; }
6087 if ${ac_cv_sys_large_files+:} false; then :
6088 $as_echo_n "(cached) " >&6
6089 else
6090 while :; do
6091 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
6092 /* end confdefs.h. */
6093 #include <sys/types.h>
6094 /* Check that off_t can represent 2**63 - 1 correctly.
6095 We can't simply define LARGE_OFF_T to be 9223372036854775807,
6096 since some C++ compilers masquerading as C compilers
6097 incorrectly reject 9223372036854775807. */
6098 #define LARGE_OFF_T (((off_t) 1 << 62) - 1 + ((off_t) 1 << 62))
6099 int off_t_is_large[(LARGE_OFF_T % 2147483629 == 721
6100 && LARGE_OFF_T % 2147483647 == 1)
6101 ? 1 : -1];
6103 main ()
6107 return 0;
6109 _ACEOF
6110 if ac_fn_c_try_compile "$LINENO"; then :
6111 ac_cv_sys_large_files=no; break
6113 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
6114 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
6115 /* end confdefs.h. */
6116 #define _LARGE_FILES 1
6117 #include <sys/types.h>
6118 /* Check that off_t can represent 2**63 - 1 correctly.
6119 We can't simply define LARGE_OFF_T to be 9223372036854775807,
6120 since some C++ compilers masquerading as C compilers
6121 incorrectly reject 9223372036854775807. */
6122 #define LARGE_OFF_T (((off_t) 1 << 62) - 1 + ((off_t) 1 << 62))
6123 int off_t_is_large[(LARGE_OFF_T % 2147483629 == 721
6124 && LARGE_OFF_T % 2147483647 == 1)
6125 ? 1 : -1];
6127 main ()
6131 return 0;
6133 _ACEOF
6134 if ac_fn_c_try_compile "$LINENO"; then :
6135 ac_cv_sys_large_files=1; break
6137 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
6138 ac_cv_sys_large_files=unknown
6139 break
6140 done
6142 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_sys_large_files" >&5
6143 $as_echo "$ac_cv_sys_large_files" >&6; }
6144 case $ac_cv_sys_large_files in #(
6145 no | unknown) ;;
6147 cat >>confdefs.h <<_ACEOF
6148 #define _LARGE_FILES $ac_cv_sys_large_files
6149 _ACEOF
6151 esac
6152 rm -rf conftest*
6159 ac_ext=c
6160 ac_cpp='$CPP $CPPFLAGS'
6161 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
6162 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
6163 ac_compiler_gnu=$ac_cv_c_compiler_gnu
6164 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to run the C preprocessor" >&5
6165 $as_echo_n "checking how to run the C preprocessor... " >&6; }
6166 # On Suns, sometimes $CPP names a directory.
6167 if test -n "$CPP" && test -d "$CPP"; then
6168 CPP=
6170 if test -z "$CPP"; then
6171 if ${ac_cv_prog_CPP+:} false; then :
6172 $as_echo_n "(cached) " >&6
6173 else
6174 # Double quotes because CPP needs to be expanded
6175 for CPP in "$CC -E" "$CC -E -traditional-cpp" "/lib/cpp"
6177 ac_preproc_ok=false
6178 for ac_c_preproc_warn_flag in '' yes
6180 # Use a header file that comes with gcc, so configuring glibc
6181 # with a fresh cross-compiler works.
6182 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
6183 # <limits.h> exists even on freestanding compilers.
6184 # On the NeXT, cc -E runs the code through the compiler's parser,
6185 # not just through cpp. "Syntax error" is here to catch this case.
6186 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
6187 /* end confdefs.h. */
6188 #ifdef __STDC__
6189 # include <limits.h>
6190 #else
6191 # include <assert.h>
6192 #endif
6193 Syntax error
6194 _ACEOF
6195 if ac_fn_c_try_cpp "$LINENO"; then :
6197 else
6198 # Broken: fails on valid input.
6199 continue
6201 rm -f conftest.err conftest.i conftest.$ac_ext
6203 # OK, works on sane cases. Now check whether nonexistent headers
6204 # can be detected and how.
6205 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
6206 /* end confdefs.h. */
6207 #include <ac_nonexistent.h>
6208 _ACEOF
6209 if ac_fn_c_try_cpp "$LINENO"; then :
6210 # Broken: success on invalid input.
6211 continue
6212 else
6213 # Passes both tests.
6214 ac_preproc_ok=:
6215 break
6217 rm -f conftest.err conftest.i conftest.$ac_ext
6219 done
6220 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
6221 rm -f conftest.i conftest.err conftest.$ac_ext
6222 if $ac_preproc_ok; then :
6223 break
6226 done
6227 ac_cv_prog_CPP=$CPP
6230 CPP=$ac_cv_prog_CPP
6231 else
6232 ac_cv_prog_CPP=$CPP
6234 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CPP" >&5
6235 $as_echo "$CPP" >&6; }
6236 ac_preproc_ok=false
6237 for ac_c_preproc_warn_flag in '' yes
6239 # Use a header file that comes with gcc, so configuring glibc
6240 # with a fresh cross-compiler works.
6241 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
6242 # <limits.h> exists even on freestanding compilers.
6243 # On the NeXT, cc -E runs the code through the compiler's parser,
6244 # not just through cpp. "Syntax error" is here to catch this case.
6245 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
6246 /* end confdefs.h. */
6247 #ifdef __STDC__
6248 # include <limits.h>
6249 #else
6250 # include <assert.h>
6251 #endif
6252 Syntax error
6253 _ACEOF
6254 if ac_fn_c_try_cpp "$LINENO"; then :
6256 else
6257 # Broken: fails on valid input.
6258 continue
6260 rm -f conftest.err conftest.i conftest.$ac_ext
6262 # OK, works on sane cases. Now check whether nonexistent headers
6263 # can be detected and how.
6264 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
6265 /* end confdefs.h. */
6266 #include <ac_nonexistent.h>
6267 _ACEOF
6268 if ac_fn_c_try_cpp "$LINENO"; then :
6269 # Broken: success on invalid input.
6270 continue
6271 else
6272 # Passes both tests.
6273 ac_preproc_ok=:
6274 break
6276 rm -f conftest.err conftest.i conftest.$ac_ext
6278 done
6279 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
6280 rm -f conftest.i conftest.err conftest.$ac_ext
6281 if $ac_preproc_ok; then :
6283 else
6284 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
6285 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
6286 as_fn_error $? "C preprocessor \"$CPP\" fails sanity check
6287 See \`config.log' for more details" "$LINENO" 5; }
6290 ac_ext=c
6291 ac_cpp='$CPP $CPPFLAGS'
6292 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
6293 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
6294 ac_compiler_gnu=$ac_cv_c_compiler_gnu
6297 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ANSI C header files" >&5
6298 $as_echo_n "checking for ANSI C header files... " >&6; }
6299 if ${ac_cv_header_stdc+:} false; then :
6300 $as_echo_n "(cached) " >&6
6301 else
6302 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
6303 /* end confdefs.h. */
6304 #include <stdlib.h>
6305 #include <stdarg.h>
6306 #include <string.h>
6307 #include <float.h>
6310 main ()
6314 return 0;
6316 _ACEOF
6317 if ac_fn_c_try_compile "$LINENO"; then :
6318 ac_cv_header_stdc=yes
6319 else
6320 ac_cv_header_stdc=no
6322 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
6324 if test $ac_cv_header_stdc = yes; then
6325 # SunOS 4.x string.h does not declare mem*, contrary to ANSI.
6326 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
6327 /* end confdefs.h. */
6328 #include <string.h>
6330 _ACEOF
6331 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
6332 $EGREP "memchr" >/dev/null 2>&1; then :
6334 else
6335 ac_cv_header_stdc=no
6337 rm -f conftest*
6341 if test $ac_cv_header_stdc = yes; then
6342 # ISC 2.0.2 stdlib.h does not declare free, contrary to ANSI.
6343 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
6344 /* end confdefs.h. */
6345 #include <stdlib.h>
6347 _ACEOF
6348 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
6349 $EGREP "free" >/dev/null 2>&1; then :
6351 else
6352 ac_cv_header_stdc=no
6354 rm -f conftest*
6358 if test $ac_cv_header_stdc = yes; then
6359 # /bin/cc in Irix-4.0.5 gets non-ANSI ctype macros unless using -ansi.
6360 if test "$cross_compiling" = yes; then :
6362 else
6363 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
6364 /* end confdefs.h. */
6365 #include <ctype.h>
6366 #include <stdlib.h>
6367 #if ((' ' & 0x0FF) == 0x020)
6368 # define ISLOWER(c) ('a' <= (c) && (c) <= 'z')
6369 # define TOUPPER(c) (ISLOWER(c) ? 'A' + ((c) - 'a') : (c))
6370 #else
6371 # define ISLOWER(c) \
6372 (('a' <= (c) && (c) <= 'i') \
6373 || ('j' <= (c) && (c) <= 'r') \
6374 || ('s' <= (c) && (c) <= 'z'))
6375 # define TOUPPER(c) (ISLOWER(c) ? ((c) | 0x40) : (c))
6376 #endif
6378 #define XOR(e, f) (((e) && !(f)) || (!(e) && (f)))
6380 main ()
6382 int i;
6383 for (i = 0; i < 256; i++)
6384 if (XOR (islower (i), ISLOWER (i))
6385 || toupper (i) != TOUPPER (i))
6386 return 2;
6387 return 0;
6389 _ACEOF
6390 if ac_fn_c_try_run "$LINENO"; then :
6392 else
6393 ac_cv_header_stdc=no
6395 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \
6396 conftest.$ac_objext conftest.beam conftest.$ac_ext
6401 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_header_stdc" >&5
6402 $as_echo "$ac_cv_header_stdc" >&6; }
6403 if test $ac_cv_header_stdc = yes; then
6405 $as_echo "#define STDC_HEADERS 1" >>confdefs.h
6409 # On IRIX 5.3, sys/types and inttypes.h are conflicting.
6410 for ac_header in sys/types.h sys/stat.h stdlib.h string.h memory.h strings.h \
6411 inttypes.h stdint.h unistd.h
6412 do :
6413 as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
6414 ac_fn_c_check_header_compile "$LINENO" "$ac_header" "$as_ac_Header" "$ac_includes_default
6416 if eval test \"x\$"$as_ac_Header"\" = x"yes"; then :
6417 cat >>confdefs.h <<_ACEOF
6418 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
6419 _ACEOF
6423 done
6426 for ac_header in \
6427 AL/al.h \
6428 ApplicationServices/ApplicationServices.h \
6429 AudioToolbox/AudioConverter.h \
6430 AudioUnit/AudioUnit.h \
6431 AudioUnit/AudioComponent.h \
6432 CL/cl.h \
6433 Carbon/Carbon.h \
6434 CoreAudio/CoreAudio.h \
6435 CoreServices/CoreServices.h \
6436 DiskArbitration/DiskArbitration.h \
6437 IOKit/IOKitLib.h \
6438 IOKit/hid/IOHIDLib.h \
6439 OpenAL/al.h \
6440 OpenCL/opencl.h \
6441 QuickTime/ImageCompression.h \
6442 Security/Security.h \
6443 alias.h \
6444 alsa/asoundlib.h \
6445 arpa/inet.h \
6446 arpa/nameser.h \
6447 asm/types.h \
6448 asm/user.h \
6449 curses.h \
6450 direct.h \
6451 dirent.h \
6452 dlfcn.h \
6453 elf.h \
6454 float.h \
6455 fnmatch.h \
6456 getopt.h \
6457 gettext-po.h \
6458 grp.h \
6459 gsm.h \
6460 gsm/gsm.h \
6461 ieeefp.h \
6462 inet/mib2.h \
6463 io.h \
6464 kstat.h \
6465 lber.h \
6466 ldap.h \
6467 libproc.h \
6468 link.h \
6469 linux/cdrom.h \
6470 linux/compiler.h \
6471 linux/filter.h \
6472 linux/hdreg.h \
6473 linux/input.h \
6474 linux/ioctl.h \
6475 linux/joystick.h \
6476 linux/major.h \
6477 linux/param.h \
6478 linux/serial.h \
6479 linux/types.h \
6480 linux/ucdrom.h \
6481 lwp.h \
6482 mach-o/nlist.h \
6483 mach-o/loader.h \
6484 mach/mach.h \
6485 mach/machine.h \
6486 machine/cpu.h \
6487 machine/limits.h \
6488 machine/sysarch.h \
6489 mntent.h \
6490 ncurses.h \
6491 netdb.h \
6492 netinet/in.h \
6493 netinet/in_systm.h \
6494 netinet/tcp.h \
6495 netinet/tcp_fsm.h \
6496 poll.h \
6497 port.h \
6498 process.h \
6499 pthread.h \
6500 pwd.h \
6501 sched.h \
6502 scsi/scsi.h \
6503 scsi/scsi_ioctl.h \
6504 scsi/sg.h \
6505 stdbool.h \
6506 stdint.h \
6507 stropts.h \
6508 sys/asoundlib.h \
6509 sys/attr.h \
6510 sys/cdio.h \
6511 sys/elf32.h \
6512 sys/epoll.h \
6513 sys/event.h \
6514 sys/exec_elf.h \
6515 sys/filio.h \
6516 sys/inotify.h \
6517 sys/ioctl.h \
6518 sys/ipc.h \
6519 sys/limits.h \
6520 sys/link.h \
6521 sys/mman.h \
6522 sys/modem.h \
6523 sys/msg.h \
6524 sys/mtio.h \
6525 sys/param.h \
6526 sys/poll.h \
6527 sys/prctl.h \
6528 sys/protosw.h \
6529 sys/ptrace.h \
6530 sys/queue.h \
6531 sys/resource.h \
6532 sys/scsiio.h \
6533 sys/shm.h \
6534 sys/signal.h \
6535 sys/socket.h \
6536 sys/socketvar.h \
6537 sys/sockio.h \
6538 sys/statvfs.h \
6539 sys/strtio.h \
6540 sys/syscall.h \
6541 sys/tihdr.h \
6542 sys/time.h \
6543 sys/timeout.h \
6544 sys/times.h \
6545 sys/uio.h \
6546 sys/user.h \
6547 sys/utsname.h \
6548 sys/vm86.h \
6549 sys/wait.h \
6550 syscall.h \
6551 termios.h \
6552 unistd.h \
6553 utime.h \
6554 valgrind/memcheck.h \
6555 valgrind/valgrind.h \
6556 zlib.h
6558 do :
6559 as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
6560 ac_fn_c_check_header_mongrel "$LINENO" "$ac_header" "$as_ac_Header" "$ac_includes_default"
6561 if eval test \"x\$"$as_ac_Header"\" = x"yes"; then :
6562 cat >>confdefs.h <<_ACEOF
6563 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
6564 _ACEOF
6568 done
6570 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether stat file-mode macros are broken" >&5
6571 $as_echo_n "checking whether stat file-mode macros are broken... " >&6; }
6572 if ${ac_cv_header_stat_broken+:} false; then :
6573 $as_echo_n "(cached) " >&6
6574 else
6575 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
6576 /* end confdefs.h. */
6577 #include <sys/types.h>
6578 #include <sys/stat.h>
6580 #if defined S_ISBLK && defined S_IFDIR
6581 extern char c1[S_ISBLK (S_IFDIR) ? -1 : 1];
6582 #endif
6584 #if defined S_ISBLK && defined S_IFCHR
6585 extern char c2[S_ISBLK (S_IFCHR) ? -1 : 1];
6586 #endif
6588 #if defined S_ISLNK && defined S_IFREG
6589 extern char c3[S_ISLNK (S_IFREG) ? -1 : 1];
6590 #endif
6592 #if defined S_ISSOCK && defined S_IFREG
6593 extern char c4[S_ISSOCK (S_IFREG) ? -1 : 1];
6594 #endif
6596 _ACEOF
6597 if ac_fn_c_try_compile "$LINENO"; then :
6598 ac_cv_header_stat_broken=no
6599 else
6600 ac_cv_header_stat_broken=yes
6602 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
6604 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_header_stat_broken" >&5
6605 $as_echo "$ac_cv_header_stat_broken" >&6; }
6606 if test $ac_cv_header_stat_broken = yes; then
6608 $as_echo "#define STAT_MACROS_BROKEN 1" >>confdefs.h
6614 for ac_header in sys/mount.h sys/statfs.h sys/sysctl.h sys/user.h sys/vfs.h
6615 do :
6616 as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
6617 ac_fn_c_check_header_compile "$LINENO" "$ac_header" "$as_ac_Header" "#include <sys/types.h>
6618 #ifdef HAVE_SYS_PARAM_H
6619 # include <sys/param.h>
6620 #endif
6622 if eval test \"x\$"$as_ac_Header"\" = x"yes"; then :
6623 cat >>confdefs.h <<_ACEOF
6624 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
6625 _ACEOF
6629 done
6632 for ac_header in \
6633 netinet/ip.h \
6634 net/if.h \
6635 net/if_arp.h \
6636 net/if_dl.h \
6637 net/if_types.h \
6638 net/route.h \
6639 netinet/if_ether.h \
6640 netinet/if_inarp.h \
6641 netinet/in_pcb.h \
6642 netinet/ip_icmp.h \
6643 netinet/ip_var.h \
6644 netinet/udp.h \
6645 netipx/ipx.h \
6646 sys/un.h \
6648 do :
6649 as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
6650 ac_fn_c_check_header_compile "$LINENO" "$ac_header" "$as_ac_Header" "#include <sys/types.h>
6651 #ifdef HAVE_SYS_SOCKET_H
6652 # include <sys/socket.h>
6653 #endif
6654 #ifdef HAVE_SYS_SOCKETVAR_H
6655 # include <sys/socketvar.h>
6656 #endif
6657 #ifdef HAVE_NET_ROUTE_H
6658 # include <net/route.h>
6659 #endif
6660 #ifdef HAVE_NETINET_IN_H
6661 # include <netinet/in.h>
6662 #endif
6663 #ifdef HAVE_NETINET_IN_SYSTM_H
6664 # include <netinet/in_systm.h>
6665 #endif
6666 #ifdef HAVE_NET_IF_H
6667 # include <net/if.h>
6668 #endif
6669 #ifdef HAVE_NETINET_IP_H
6670 # include <netinet/ip.h>
6671 #endif
6673 if eval test \"x\$"$as_ac_Header"\" = x"yes"; then :
6674 cat >>confdefs.h <<_ACEOF
6675 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
6676 _ACEOF
6680 done
6683 for ac_header in netinet/tcp_timer.h netinet/udp_var.h netinet/icmp_var.h netinet/tcp_var.h
6684 do :
6685 as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
6686 ac_fn_c_check_header_compile "$LINENO" "$ac_header" "$as_ac_Header" "#include <sys/types.h>
6687 #ifdef HAVE_ALIAS_H
6688 # include <alias.h>
6689 #endif
6690 #ifdef HAVE_SYS_SOCKET_H
6691 # include <sys/socket.h>
6692 #endif
6693 #ifdef HAVE_SYS_SOCKETVAR_H
6694 # include <sys/socketvar.h>
6695 #endif
6696 #ifdef HAVE_SYS_TIMEOUT_H
6697 # include <sys/timeout.h>
6698 #endif
6699 #ifdef HAVE_NETINET_IN_H
6700 # include <netinet/in.h>
6701 #endif
6702 #ifdef HAVE_NETINET_IN_SYSTM_H
6703 # include <netinet/in_systm.h>
6704 #endif
6705 #ifdef HAVE_NETINET_IP_H
6706 # include <netinet/ip.h>
6707 #endif
6708 #ifdef HAVE_NETINET_IP_VAR_H
6709 # include <netinet/ip_var.h>
6710 #endif
6711 #ifdef HAVE_NETINET_IP_ICMP_H
6712 # include <netinet/ip_icmp.h>
6713 #endif
6714 #ifdef HAVE_NETINET_UDP_H
6715 # include <netinet/udp.h>
6716 #endif
6717 #ifdef HAVE_NETINET_TCP_H
6718 # include <netinet/tcp.h>
6719 #endif
6720 #ifdef HAVE_NETINET_TCP_TIMER_H
6721 #include <netinet/tcp_timer.h>
6722 #endif
6724 if eval test \"x\$"$as_ac_Header"\" = x"yes"; then :
6725 cat >>confdefs.h <<_ACEOF
6726 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
6727 _ACEOF
6731 done
6734 for ac_header in linux/ipx.h linux/irda.h linux/rtnetlink.h
6735 do :
6736 as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
6737 ac_fn_c_check_header_compile "$LINENO" "$ac_header" "$as_ac_Header" "#include <sys/types.h>
6738 #ifdef HAVE_ASM_TYPES_H
6739 # include <asm/types.h>
6740 #endif
6741 #ifdef HAVE_SYS_SOCKET_H
6742 # include <sys/socket.h>
6743 #endif
6744 #ifdef HAVE_LINUX_TYPES_H
6745 # include <linux/types.h>
6746 #endif
6748 if eval test \"x\$"$as_ac_Header"\" = x"yes"; then :
6749 cat >>confdefs.h <<_ACEOF
6750 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
6751 _ACEOF
6755 done
6758 for ac_header in mach-o/dyld_images.h
6759 do :
6760 ac_fn_c_check_header_compile "$LINENO" "mach-o/dyld_images.h" "ac_cv_header_mach_o_dyld_images_h" "#ifdef HAVE_STDBOOL_H
6761 # include <stdbool.h>
6762 #endif
6763 #ifdef HAVE_STDINT_H
6764 # include <stdint.h>
6765 #endif
6767 if test "x$ac_cv_header_mach_o_dyld_images_h" = xyes; then :
6768 cat >>confdefs.h <<_ACEOF
6769 #define HAVE_MACH_O_DYLD_IMAGES_H 1
6770 _ACEOF
6774 done
6777 for ac_header in resolv.h
6778 do :
6779 ac_fn_c_check_header_compile "$LINENO" "resolv.h" "ac_cv_header_resolv_h" "#include <sys/types.h>
6780 #ifdef HAVE_SYS_SOCKET_H
6781 # include <sys/socket.h>
6782 #endif
6783 #ifdef HAVE_NETINET_IN_H
6784 # include <netinet/in.h>
6785 #endif
6786 #ifdef HAVE_ARPA_NAMESER_H
6787 # include <arpa/nameser.h>
6788 #endif
6790 if test "x$ac_cv_header_resolv_h" = xyes; then :
6791 cat >>confdefs.h <<_ACEOF
6792 #define HAVE_RESOLV_H 1
6793 _ACEOF
6797 done
6800 for ac_header in ifaddrs.h
6801 do :
6802 ac_fn_c_check_header_compile "$LINENO" "ifaddrs.h" "ac_cv_header_ifaddrs_h" "#include <sys/types.h>
6804 if test "x$ac_cv_header_ifaddrs_h" = xyes; then :
6805 cat >>confdefs.h <<_ACEOF
6806 #define HAVE_IFADDRS_H 1
6807 _ACEOF
6811 done
6814 for ac_header in ucontext.h
6815 do :
6816 ac_fn_c_check_header_compile "$LINENO" "ucontext.h" "ac_cv_header_ucontext_h" "#include <signal.h>
6818 if test "x$ac_cv_header_ucontext_h" = xyes; then :
6819 cat >>confdefs.h <<_ACEOF
6820 #define HAVE_UCONTEXT_H 1
6821 _ACEOF
6825 done
6828 for ac_header in sys/thr.h
6829 do :
6830 ac_fn_c_check_header_compile "$LINENO" "sys/thr.h" "ac_cv_header_sys_thr_h" "#include <sys/types.h>
6831 #ifdef HAVE_UCONTEXT_H
6832 #include <ucontext.h>
6833 #endif
6835 if test "x$ac_cv_header_sys_thr_h" = xyes; then :
6836 cat >>confdefs.h <<_ACEOF
6837 #define HAVE_SYS_THR_H 1
6838 _ACEOF
6842 done
6845 for ac_header in pthread_np.h
6846 do :
6847 ac_fn_c_check_header_compile "$LINENO" "pthread_np.h" "ac_cv_header_pthread_np_h" "#ifdef HAVE_PTHREAD_H
6848 #include <pthread.h>
6849 #endif
6851 if test "x$ac_cv_header_pthread_np_h" = xyes; then :
6852 cat >>confdefs.h <<_ACEOF
6853 #define HAVE_PTHREAD_NP_H 1
6854 _ACEOF
6858 done
6861 for ac_header in linux/videodev.h linux/videodev2.h libv4l1.h
6862 do :
6863 as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
6864 ac_fn_c_check_header_compile "$LINENO" "$ac_header" "$as_ac_Header" "#ifdef HAVE_SYS_TIME_H
6865 #include <sys/time.h>
6866 #endif
6867 #include <sys/types.h>
6868 #ifdef HAVE_ASM_TYPES_H
6869 #include <asm/types.h>
6870 #endif
6872 if eval test \"x\$"$as_ac_Header"\" = x"yes"; then :
6873 cat >>confdefs.h <<_ACEOF
6874 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
6875 _ACEOF
6879 done
6882 for ac_header in libprocstat.h
6883 do :
6884 ac_fn_c_check_header_compile "$LINENO" "libprocstat.h" "ac_cv_header_libprocstat_h" "#ifdef HAVE_SYS_PARAM_H
6885 #include <sys/param.h>
6886 #endif
6887 #ifdef HAVE_SYS_QUEUE_H
6888 #include <sys/queue.h>
6889 #endif
6890 #ifdef HAVE_SYS_SOCKET_H
6891 #include <sys/socket.h>
6892 #endif
6894 if test "x$ac_cv_header_libprocstat_h" = xyes; then :
6895 cat >>confdefs.h <<_ACEOF
6896 #define HAVE_LIBPROCSTAT_H 1
6897 _ACEOF
6901 done
6905 dlldir="\${libdir}/wine"
6907 DLLPREFIX=""
6909 DLLFLAGS="-D_REENTRANT"
6911 LDRPATH_INSTALL=""
6913 LDRPATH_LOCAL=""
6915 LIBEXT="so"
6916 DLLEXT=".so"
6917 IMPLIBEXT="def"
6918 STATIC_IMPLIBEXT="def.a"
6919 # Extract the first word of "ldd", so it can be a program name with args.
6920 set dummy ldd; 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_path_LDD+:} false; then :
6924 $as_echo_n "(cached) " >&6
6925 else
6926 case $LDD in
6927 [\\/]* | ?:[\\/]*)
6928 ac_cv_path_LDD="$LDD" # Let the user override the test with a path.
6931 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6932 as_dummy="/sbin:/usr/sbin:$PATH"
6933 for as_dir in $as_dummy
6935 IFS=$as_save_IFS
6936 test -z "$as_dir" && as_dir=.
6937 for ac_exec_ext in '' $ac_executable_extensions; do
6938 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
6939 ac_cv_path_LDD="$as_dir/$ac_word$ac_exec_ext"
6940 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6941 break 2
6943 done
6944 done
6945 IFS=$as_save_IFS
6947 test -z "$ac_cv_path_LDD" && ac_cv_path_LDD="true"
6949 esac
6951 LDD=$ac_cv_path_LDD
6952 if test -n "$LDD"; then
6953 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $LDD" >&5
6954 $as_echo "$LDD" >&6; }
6955 else
6956 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6957 $as_echo "no" >&6; }
6961 if test -n "$ac_tool_prefix"; then
6962 # Extract the first word of "${ac_tool_prefix}readelf", so it can be a program name with args.
6963 set dummy ${ac_tool_prefix}readelf; ac_word=$2
6964 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6965 $as_echo_n "checking for $ac_word... " >&6; }
6966 if ${ac_cv_prog_READELF+:} false; then :
6967 $as_echo_n "(cached) " >&6
6968 else
6969 if test -n "$READELF"; then
6970 ac_cv_prog_READELF="$READELF" # Let the user override the test.
6971 else
6972 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6973 for as_dir in $PATH
6975 IFS=$as_save_IFS
6976 test -z "$as_dir" && as_dir=.
6977 for ac_exec_ext in '' $ac_executable_extensions; do
6978 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
6979 ac_cv_prog_READELF="${ac_tool_prefix}readelf"
6980 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6981 break 2
6983 done
6984 done
6985 IFS=$as_save_IFS
6989 READELF=$ac_cv_prog_READELF
6990 if test -n "$READELF"; then
6991 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $READELF" >&5
6992 $as_echo "$READELF" >&6; }
6993 else
6994 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6995 $as_echo "no" >&6; }
7000 if test -z "$ac_cv_prog_READELF"; then
7001 ac_ct_READELF=$READELF
7002 # Extract the first word of "readelf", so it can be a program name with args.
7003 set dummy readelf; ac_word=$2
7004 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7005 $as_echo_n "checking for $ac_word... " >&6; }
7006 if ${ac_cv_prog_ac_ct_READELF+:} false; then :
7007 $as_echo_n "(cached) " >&6
7008 else
7009 if test -n "$ac_ct_READELF"; then
7010 ac_cv_prog_ac_ct_READELF="$ac_ct_READELF" # Let the user override the test.
7011 else
7012 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7013 for as_dir in $PATH
7015 IFS=$as_save_IFS
7016 test -z "$as_dir" && as_dir=.
7017 for ac_exec_ext in '' $ac_executable_extensions; do
7018 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
7019 ac_cv_prog_ac_ct_READELF="readelf"
7020 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
7021 break 2
7023 done
7024 done
7025 IFS=$as_save_IFS
7029 ac_ct_READELF=$ac_cv_prog_ac_ct_READELF
7030 if test -n "$ac_ct_READELF"; then
7031 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_READELF" >&5
7032 $as_echo "$ac_ct_READELF" >&6; }
7033 else
7034 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7035 $as_echo "no" >&6; }
7038 if test "x$ac_ct_READELF" = x; then
7039 READELF="true"
7040 else
7041 case $cross_compiling:$ac_tool_warned in
7042 yes:)
7043 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
7044 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
7045 ac_tool_warned=yes ;;
7046 esac
7047 READELF=$ac_ct_READELF
7049 else
7050 READELF="$ac_cv_prog_READELF"
7053 wine_rules_file=conf$$rules.make
7054 rm -f $wine_rules_file
7055 ALL_POT_FILES=""
7056 GITIGNORE="# Automatically generated by configure; DO NOT EDIT!!"
7057 ALL_TEST_RESOURCES=""
7060 wine_fn_append_file ()
7062 as_fn_append $1 " \\$as_nl $2"
7065 wine_fn_ignore_file ()
7067 case "$1" in
7068 */*) as_fn_append GITIGNORE "$as_nl$1" ;;
7069 \**) as_fn_append GITIGNORE "$as_nl$1" ;;
7070 *) as_fn_append GITIGNORE "$as_nl/$1" ;;
7071 esac
7074 wine_fn_append_rule ()
7076 $as_echo "$1" >>$wine_rules_file
7079 wine_fn_has_flag ()
7081 expr ",$ac_flags," : ".*,$1,.*" >/dev/null
7084 wine_fn_depend_rules ()
7086 wine_fn_append_rule \
7087 "$ac_dir/Makefile: $srcdir/$ac_dir/Makefile.in $srcdir/Make.vars.in config.status \$(MAKEDEP)
7088 @./config.status --file $ac_dir/Makefile:Make.vars.in:$ac_dir/Makefile.in && \$(MAKEDEP) $ac_dir
7089 depend: $ac_dir/depend
7090 .PHONY: $ac_dir/depend
7091 $ac_dir/depend: \$(MAKEDEP) dummy
7092 @./config.status --file $ac_dir/Makefile:Make.vars.in:$ac_dir/Makefile.in && \$(MAKEDEP) $ac_dir"
7095 wine_fn_pot_rules ()
7097 test "x$with_gettextpo" = xyes || return
7099 if wine_fn_has_flag mc
7100 then
7101 wine_fn_append_file ALL_POT_FILES $ac_dir/msg.pot
7102 wine_fn_append_rule \
7103 "$ac_dir/msg.pot: $ac_dir/Makefile dummy
7104 @cd $ac_dir && \$(MAKE) msg.pot
7105 $ac_dir/msg.pot: tools/wmc include"
7107 if wine_fn_has_flag po
7108 then
7109 wine_fn_append_file ALL_POT_FILES $ac_dir/rsrc.pot
7110 wine_fn_append_rule \
7111 "$ac_dir/rsrc.pot: $ac_dir/Makefile dummy
7112 @cd $ac_dir && \$(MAKE) rsrc.pot
7113 $ac_dir/rsrc.pot: tools/wrc include"
7117 wine_fn_all_rules ()
7119 wine_fn_depend_rules
7120 wine_fn_append_rule \
7121 "all: $ac_dir
7122 .PHONY: $ac_dir
7123 $ac_dir: $ac_dir/Makefile dummy
7124 @cd $ac_dir && \$(MAKE)"
7127 wine_fn_install_rules ()
7129 wine_fn_has_flag install-lib || wine_fn_has_flag install-dev || return
7131 wine_fn_append_rule \
7132 ".PHONY: $ac_dir/install $ac_dir/uninstall
7133 $ac_dir/install:: $ac_dir
7134 @cd $ac_dir && \$(MAKE) install
7135 $ac_dir/uninstall:: $ac_dir/Makefile
7136 @cd $ac_dir && \$(MAKE) uninstall
7137 install:: $ac_dir/install
7138 __uninstall__: $ac_dir/uninstall"
7140 if wine_fn_has_flag install-lib
7141 then
7142 wine_fn_append_rule \
7143 ".PHONY: $ac_dir/install-lib
7144 $ac_dir/install-lib:: $ac_dir
7145 @cd $ac_dir && \$(MAKE) install-lib
7146 install-lib:: $ac_dir/install-lib"
7149 if wine_fn_has_flag install-dev
7150 then
7151 wine_fn_append_rule \
7152 ".PHONY: $ac_dir/install-dev
7153 $ac_dir/install-dev:: $ac_dir
7154 @cd $ac_dir && \$(MAKE) install-dev
7155 install-dev:: $ac_dir/install-dev"
7159 wine_fn_clean_rules ()
7161 ac_clean=$@
7162 ac_extraclean="$ac_dir/Makefile"
7163 test "$srcdir" = . && ac_extraclean="$ac_extraclean $ac_dir/.gitignore"
7164 case $ac_dir in
7165 */tests) ac_extraclean="$ac_extraclean $ac_dir/testlist.c" ;;
7166 esac
7168 if wine_fn_has_flag clean
7169 then
7170 wine_fn_append_rule \
7171 "__clean__: $ac_dir/clean
7172 .PHONY: $ac_dir/clean
7173 $ac_dir/clean: $ac_dir/Makefile
7174 @cd $ac_dir && \$(MAKE) clean
7175 \$(RM) $ac_extraclean"
7176 else
7177 wine_fn_append_rule \
7178 "__clean__: $ac_dir/clean
7179 .PHONY: $ac_dir/clean
7180 $ac_dir/clean: dummy
7181 \$(RM) \$(CLEAN_FILES:%=$ac_dir/%) $ac_clean $ac_extraclean"
7185 wine_fn_disabled_rules ()
7187 ac_clean=$@
7188 ac_extraclean="$ac_dir/Makefile"
7189 test "$srcdir" = . && ac_extraclean="$ac_extraclean $ac_dir/.gitignore"
7191 wine_fn_append_rule \
7192 "__clean__: $ac_dir/clean
7193 .PHONY: $ac_dir/clean
7194 $ac_dir/clean: dummy
7195 \$(RM) \$(CLEAN_FILES:%=$ac_dir/%) $ac_clean $ac_extraclean"
7198 wine_fn_config_makefile ()
7200 ac_dir=$1
7201 ac_enable=$2
7202 ac_flags=$3
7204 if eval test \"x\$"$ac_enable"\" = x"no"; then :
7205 wine_fn_disabled_rules; return
7207 wine_fn_all_rules
7208 wine_fn_install_rules
7209 wine_fn_clean_rules
7212 wine_fn_config_lib ()
7214 ac_name=$1
7215 ac_flags=$2
7216 ac_dir=dlls/$ac_name
7217 ac_deps="include"
7219 if test "x$enable_tools" = xno; then :
7221 else
7222 ac_deps="tools/widl tools/winebuild tools/winegcc $ac_deps"
7224 wine_fn_all_rules
7225 wine_fn_clean_rules
7227 wine_fn_append_rule \
7228 ".PHONY: $ac_dir/install $ac_dir/uninstall
7229 $ac_dir/install:: $ac_dir
7230 \$(INSTALL_DATA) $ac_dir/lib$ac_name.a \$(DESTDIR)\$(dlldir)/lib$ac_name.a
7231 $ac_dir/uninstall::
7232 \$(RM) \$(DESTDIR)\$(dlldir)/lib$ac_name.a
7233 install install-dev:: $ac_dir/install
7234 __uninstall__: $ac_dir/uninstall
7235 __builddeps__: $ac_dir
7236 $ac_dir: $ac_deps"
7239 wine_fn_config_dll ()
7241 ac_name=$1
7242 ac_dir=dlls/$ac_name
7243 ac_enable=$2
7244 ac_flags=$3
7245 ac_implib=${4:-$ac_name}
7246 ac_file=$ac_dir/lib$ac_implib
7247 ac_dll=$ac_name
7248 ac_deps="include"
7249 ac_implibflags=""
7251 if test "x$enable_tools" = xno; then :
7253 else
7254 ac_deps="tools/widl tools/winebuild tools/winegcc $ac_deps"
7256 case $ac_name in
7257 *16) ac_implibflags=" -m16" ;;
7258 *.*) ;;
7259 *) ac_dll=$ac_dll.dll ;;
7260 esac
7262 ac_clean=
7263 wine_fn_has_flag implib && ac_clean="$ac_clean $ac_file.$IMPLIBEXT"
7264 wine_fn_has_flag mc && ac_clean="$ac_clean $ac_dir/msg.pot"
7265 wine_fn_has_flag po && ac_clean="$ac_clean $ac_dir/rsrc.pot"
7266 test -n "$DLLEXT" || ac_clean="$ac_clean $ac_dir/$ac_dll"
7268 if eval test \"x\$"$ac_enable"\" = x"no"; then :
7269 if wine_fn_has_flag implib && test "$ac_enable" != enable_win16
7270 then
7271 wine_fn_depend_rules
7272 wine_fn_clean_rules $ac_clean
7273 else
7274 wine_fn_disabled_rules $ac_clean
7275 return
7277 else
7278 wine_fn_all_rules
7279 wine_fn_clean_rules $ac_clean
7280 wine_fn_append_rule \
7281 "$ac_dir: __builddeps__
7282 manpages htmlpages sgmlpages xmlpages:: $ac_dir/Makefile
7283 @cd $ac_dir && \$(MAKE) \$@
7284 .PHONY: $ac_dir/install-lib $ac_dir/uninstall
7285 install install-lib:: $ac_dir/install-lib
7286 __uninstall__: $ac_dir/uninstall"
7287 if test -n "$DLLEXT"
7288 then
7289 wine_fn_append_rule \
7290 "$ac_dir/install-lib:: $ac_dir
7291 \$(INSTALL_PROGRAM) $ac_dir/$ac_dll$DLLEXT \$(DESTDIR)\$(dlldir)/$DLLPREFIX$ac_dll$DLLEXT
7292 \$(INSTALL_DATA) $ac_dir/$ac_dll.fake \$(DESTDIR)\$(fakedlldir)/$ac_dll
7293 $ac_dir/uninstall::
7294 \$(RM) \$(DESTDIR)\$(dlldir)/$DLLPREFIX$ac_dll$DLLEXT \$(DESTDIR)\$(fakedlldir)/$ac_dll"
7295 else
7296 wine_fn_append_rule \
7297 "$ac_dir/install-lib:: $ac_dir
7298 \$(INSTALL_PROGRAM) $ac_dir/$ac_dll \$(DESTDIR)\$(dlldir)/$ac_dll
7299 $ac_dir/uninstall::
7300 \$(RM) \$(DESTDIR)\$(dlldir)/$ac_dll"
7303 wine_fn_pot_rules
7306 if wine_fn_has_flag staticimplib
7307 then
7308 wine_fn_append_rule \
7309 "__builddeps__: $ac_file.$IMPLIBEXT $ac_file.$STATIC_IMPLIBEXT
7310 $ac_file.$IMPLIBEXT $ac_file.$STATIC_IMPLIBEXT $ac_file.cross.a: $ac_deps
7311 $ac_file.def: $srcdir/$ac_dir/$ac_name.spec $ac_dir/Makefile \$(WINEBUILD)
7312 \$(WINEBUILD) \$(TARGETFLAGS)$ac_implibflags -w --def -o \$@ --export $srcdir/$ac_dir/$ac_name.spec
7313 $ac_file.$STATIC_IMPLIBEXT: $ac_dir/Makefile dummy
7314 @cd $ac_dir && \$(MAKE) lib$ac_implib.$STATIC_IMPLIBEXT
7315 .PHONY: $ac_dir/install-dev $ac_dir/uninstall
7316 $ac_dir/install-dev:: $ac_file.$IMPLIBEXT
7317 \$(INSTALL_DATA) $ac_file.$IMPLIBEXT \$(DESTDIR)\$(dlldir)/lib$ac_implib.$IMPLIBEXT
7318 $ac_dir/uninstall::
7319 \$(RM) \$(DESTDIR)\$(dlldir)/lib$ac_implib.$IMPLIBEXT
7320 install install-dev:: $ac_dir/install-dev
7321 __uninstall__: $ac_dir/uninstall"
7323 if test "$IMPLIBEXT" != "$STATIC_IMPLIBEXT"
7324 then
7325 wine_fn_append_rule \
7326 "$ac_dir/install-dev:: $ac_file.$STATIC_IMPLIBEXT __builddeps__
7327 \$(INSTALL_DATA) $ac_file.$STATIC_IMPLIBEXT \$(DESTDIR)\$(dlldir)/lib$ac_implib.$STATIC_IMPLIBEXT
7328 $ac_dir/uninstall::
7329 \$(RM) \$(DESTDIR)\$(dlldir)/lib$ac_implib.$STATIC_IMPLIBEXT"
7332 if test -n "$CROSSTARGET" -a -z "$ac_implibflags"
7333 then
7334 wine_fn_append_rule \
7335 "__builddeps__: $ac_file.cross.a
7336 $ac_file.cross.a: $ac_dir/Makefile dummy
7337 @cd $ac_dir && \$(MAKE) lib$ac_implib.cross.a"
7340 elif wine_fn_has_flag implib
7341 then
7342 wine_fn_append_rule \
7343 "__builddeps__: $ac_file.$IMPLIBEXT
7344 $ac_file.def: $srcdir/$ac_dir/$ac_name.spec $ac_dir/Makefile \$(WINEBUILD)
7345 \$(WINEBUILD) \$(TARGETFLAGS)$ac_implibflags -w --def -o \$@ --export $srcdir/$ac_dir/$ac_name.spec
7346 $ac_file.a: $srcdir/$ac_dir/$ac_name.spec $ac_dir/Makefile \$(WINEBUILD)
7347 \$(WINEBUILD) \$(TARGETFLAGS)$ac_implibflags -w --implib -o \$@ --export $srcdir/$ac_dir/$ac_name.spec
7348 .PHONY: $ac_dir/install-dev $ac_dir/uninstall
7349 $ac_dir/install-dev:: $ac_file.$IMPLIBEXT
7350 \$(INSTALL_DATA) $ac_file.$IMPLIBEXT \$(DESTDIR)\$(dlldir)/lib$ac_implib.$IMPLIBEXT
7351 $ac_dir/uninstall::
7352 \$(RM) \$(DESTDIR)\$(dlldir)/lib$ac_implib.$IMPLIBEXT
7353 install install-dev:: $ac_dir/install-dev
7354 __uninstall__: $ac_dir/uninstall"
7355 if test -n "$CROSSTARGET" -a -z "$ac_implibflags"
7356 then
7357 wine_fn_append_rule \
7358 "__builddeps__: $ac_file.cross.a
7359 $ac_file.cross.a: $srcdir/$ac_dir/$ac_name.spec $ac_dir/Makefile \$(WINEBUILD)
7360 \$(WINEBUILD) \$(CROSSTARGET:%=-b %)$ac_implibflags -w --implib -o \$@ --export $srcdir/$ac_dir/$ac_name.spec"
7363 if test "$ac_name" != "$ac_implib"
7364 then
7365 wine_fn_append_rule \
7366 "__builddeps__: dlls/lib$ac_implib.$IMPLIBEXT
7367 dlls/lib$ac_implib.$IMPLIBEXT: $ac_file.$IMPLIBEXT
7368 \$(RM) \$@ && \$(LN_S) $ac_name/lib$ac_implib.$IMPLIBEXT \$@
7369 clean::
7370 \$(RM) dlls/lib$ac_implib.$IMPLIBEXT"
7371 wine_fn_ignore_file "dlls/lib$ac_implib.$IMPLIBEXT"
7372 if test -n "$CROSSTARGET" -a -z "$ac_implibflags"
7373 then
7374 wine_fn_append_rule \
7375 "__builddeps__: dlls/lib$ac_implib.cross.a
7376 dlls/lib$ac_implib.cross.a: $ac_file.cross.a
7377 \$(RM) \$@ && \$(LN_S) $ac_name/lib$ac_implib.cross.a \$@
7378 clean::
7379 \$(RM) dlls/lib$ac_implib.cross.a"
7380 wine_fn_ignore_file "dlls/lib$ac_implib.cross.a"
7386 wine_fn_config_program ()
7388 ac_name=$1
7389 ac_dir=programs/$ac_name
7390 ac_enable=$2
7391 ac_flags=$3
7392 ac_program=$ac_name
7394 case $ac_name in
7395 *.*) ;;
7396 *) ac_program=$ac_program.exe ;;
7397 esac
7399 ac_clean=
7400 wine_fn_has_flag mc && ac_clean="$ac_clean $ac_dir/msg.pot"
7401 wine_fn_has_flag po && ac_clean="$ac_clean $ac_dir/rsrc.pot"
7402 wine_fn_has_flag manpage && ac_clean="$ac_clean $ac_dir/$ac_name.man"
7403 test -n "$DLLEXT" || ac_clean="$ac_clean $ac_dir/$ac_program"
7405 if eval test \"x\$"$ac_enable"\" = x"no"; then :
7406 wine_fn_disabled_rules $ac_clean; return
7409 wine_fn_all_rules
7410 wine_fn_clean_rules $ac_clean
7411 wine_fn_append_rule "$ac_dir: __builddeps__"
7412 wine_fn_pot_rules
7414 wine_fn_has_flag install || return
7415 wine_fn_append_rule \
7416 ".PHONY: $ac_dir/install $ac_dir/uninstall
7417 install install-lib:: $ac_dir/install
7418 __uninstall__: $ac_dir/uninstall"
7420 if test -n "$DLLEXT"
7421 then
7422 wine_fn_append_rule \
7423 "$ac_dir/install:: $ac_dir
7424 \$(INSTALL_PROGRAM) $ac_dir/$ac_program$DLLEXT \$(DESTDIR)\$(dlldir)/$DLLPREFIX$ac_program$DLLEXT
7425 \$(INSTALL_DATA) $ac_dir/$ac_program.fake \$(DESTDIR)\$(fakedlldir)/$ac_program
7426 $ac_dir/uninstall::
7427 \$(RM) \$(DESTDIR)\$(dlldir)/$DLLPREFIX$ac_program$DLLEXT \$(DESTDIR)\$(fakedlldir)/$ac_program"
7429 if test -z "$with_wine64" && wine_fn_has_flag installbin
7430 then
7431 wine_fn_append_rule \
7432 "$ac_dir/install:: __tooldeps__
7433 \$(INSTALL_SCRIPT) \$(TOOLSDIR)/tools/wineapploader \$(DESTDIR)\$(bindir)/$ac_name
7434 $ac_dir/uninstall::
7435 \$(RM) \$(DESTDIR)\$(bindir)/$ac_name"
7437 else
7438 wine_fn_append_rule \
7439 "$ac_dir/install:: $ac_dir
7440 \$(INSTALL_PROGRAM) $ac_dir/$ac_program \$(DESTDIR)\$(bindir)/$ac_program
7441 $ac_dir/uninstall::
7442 \$(RM) \$(DESTDIR)\$(bindir)/$ac_program"
7445 if test -z "$with_wine64" && wine_fn_has_flag manpage
7446 then
7447 wine_fn_append_rule \
7448 "$ac_dir/install:: $ac_dir
7449 \$(INSTALL_DATA) $ac_dir/$ac_name.man \$(DESTDIR)\$(mandir)/man\$(prog_manext)/$ac_name.\$(prog_manext)
7450 $ac_dir/uninstall::
7451 \$(RM) \$(DESTDIR)\$(mandir)/man\$(prog_manext)/$ac_name.\$(prog_manext)"
7455 wine_fn_config_test ()
7457 ac_dir=$1
7458 ac_name=$2
7459 ac_flags=$3
7461 ac_clean=
7462 test -n "$CROSSTARGET" && ac_clean=`expr $ac_dir/${ac_name} : "\\(.*\\)_test"`_crosstest.exe
7463 test -n "$DLLEXT" || ac_clean="$ac_dir/${ac_name}.exe $ac_dir/${ac_name}-stripped.exe"
7465 if test "x$enable_tests" = xno; then :
7466 wine_fn_disabled_rules $ac_clean; return
7469 wine_fn_append_file ALL_TEST_RESOURCES $ac_name.res
7470 wine_fn_all_rules
7471 wine_fn_clean_rules $ac_clean
7473 wine_fn_append_rule \
7474 "$ac_dir: programs/winetest/Makefile __builddeps__
7475 programs/winetest: $ac_dir
7476 check test: $ac_dir/test
7477 .PHONY: $ac_dir/test
7478 $ac_dir/test: dummy
7479 @cd $ac_dir && \$(MAKE) test
7480 testclean::
7481 \$(RM) $ac_dir/*.ok"
7483 if test -n "$CROSSTARGET"
7484 then
7485 wine_fn_append_rule \
7486 "crosstest: $ac_dir/crosstest
7487 .PHONY: $ac_dir/crosstest
7488 $ac_dir/crosstest: $ac_dir/Makefile __builddeps__ dummy
7489 @cd $ac_dir && \$(MAKE) crosstest"
7493 wine_fn_config_tool ()
7495 ac_dir=$1
7496 ac_flags=$2
7497 if test "x$enable_tools" = xno; then :
7498 return
7501 wine_fn_all_rules
7502 wine_fn_install_rules
7503 wine_fn_clean_rules
7505 wine_fn_append_rule "__tooldeps__: $ac_dir"
7506 wine_fn_append_rule "$ac_dir: libs/port"
7507 case $ac_dir in
7508 tools/winebuild) wine_fn_append_rule "\$(WINEBUILD): $ac_dir" ;;
7509 esac
7512 wine_fn_config_symlink ()
7514 ac_linkdir=
7515 if test "x$1" = "x-d"
7516 then
7517 ac_linkdir=$2
7518 shift; shift
7520 ac_links=$@
7521 wine_fn_append_rule \
7522 "$ac_links:
7523 @./config.status \$@
7524 distclean::
7525 \$(RM) $ac_links"
7526 for f in $ac_links; do wine_fn_ignore_file $f; done
7527 test -n "$ac_linkdir" || return
7528 wine_fn_append_rule "$ac_linkdir/Makefile $ac_linkdir/depend: $ac_links"
7531 wine_binary="wine"
7532 test "x$enable_win64" != "xyes" || wine_binary="wine64"
7533 loader_programs="$wine_binary wine-installed"
7534 libwine_soversion=`expr $libwine_version : '\([0-9]*\)\..*'`
7536 LOADER_RULES="
7537 install install-lib:: wine-installed
7538 \$(INSTALL_PROGRAM) wine-installed \$(DESTDIR)\$(bindir)/$wine_binary
7540 uninstall::
7541 \$(RM) \$(DESTDIR)\$(bindir)/$wine_binary
7545 case $host_os in
7546 cygwin*|mingw32*)
7547 if test -n "$ac_tool_prefix"; then
7548 # Extract the first word of "${ac_tool_prefix}dlltool", so it can be a program name with args.
7549 set dummy ${ac_tool_prefix}dlltool; ac_word=$2
7550 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7551 $as_echo_n "checking for $ac_word... " >&6; }
7552 if ${ac_cv_prog_DLLTOOL+:} false; then :
7553 $as_echo_n "(cached) " >&6
7554 else
7555 if test -n "$DLLTOOL"; then
7556 ac_cv_prog_DLLTOOL="$DLLTOOL" # Let the user override the test.
7557 else
7558 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7559 for as_dir in $PATH
7561 IFS=$as_save_IFS
7562 test -z "$as_dir" && as_dir=.
7563 for ac_exec_ext in '' $ac_executable_extensions; do
7564 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
7565 ac_cv_prog_DLLTOOL="${ac_tool_prefix}dlltool"
7566 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
7567 break 2
7569 done
7570 done
7571 IFS=$as_save_IFS
7575 DLLTOOL=$ac_cv_prog_DLLTOOL
7576 if test -n "$DLLTOOL"; then
7577 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $DLLTOOL" >&5
7578 $as_echo "$DLLTOOL" >&6; }
7579 else
7580 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7581 $as_echo "no" >&6; }
7586 if test -z "$ac_cv_prog_DLLTOOL"; then
7587 ac_ct_DLLTOOL=$DLLTOOL
7588 # Extract the first word of "dlltool", so it can be a program name with args.
7589 set dummy dlltool; ac_word=$2
7590 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7591 $as_echo_n "checking for $ac_word... " >&6; }
7592 if ${ac_cv_prog_ac_ct_DLLTOOL+:} false; then :
7593 $as_echo_n "(cached) " >&6
7594 else
7595 if test -n "$ac_ct_DLLTOOL"; then
7596 ac_cv_prog_ac_ct_DLLTOOL="$ac_ct_DLLTOOL" # Let the user override the test.
7597 else
7598 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7599 for as_dir in $PATH
7601 IFS=$as_save_IFS
7602 test -z "$as_dir" && as_dir=.
7603 for ac_exec_ext in '' $ac_executable_extensions; do
7604 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
7605 ac_cv_prog_ac_ct_DLLTOOL="dlltool"
7606 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
7607 break 2
7609 done
7610 done
7611 IFS=$as_save_IFS
7615 ac_ct_DLLTOOL=$ac_cv_prog_ac_ct_DLLTOOL
7616 if test -n "$ac_ct_DLLTOOL"; then
7617 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_DLLTOOL" >&5
7618 $as_echo "$ac_ct_DLLTOOL" >&6; }
7619 else
7620 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7621 $as_echo "no" >&6; }
7624 if test "x$ac_ct_DLLTOOL" = x; then
7625 DLLTOOL="false"
7626 else
7627 case $cross_compiling:$ac_tool_warned in
7628 yes:)
7629 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
7630 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
7631 ac_tool_warned=yes ;;
7632 esac
7633 DLLTOOL=$ac_ct_DLLTOOL
7635 else
7636 DLLTOOL="$ac_cv_prog_DLLTOOL"
7639 LIBEXT="dll"
7640 DLLEXT=""
7641 IMPLIBEXT="a"
7642 STATIC_IMPLIBEXT="a"
7643 enable_iphlpapi=${enable_iphlpapi:-no}
7644 enable_kernel32=${enable_kernel32:-no}
7645 enable_msvcrt=${enable_msvcrt:-no}
7646 enable_ntdll=${enable_ntdll:-no}
7647 enable_ws2_32=${enable_ws2_32:-no}
7648 enable_loader=${enable_loader:-no}
7649 enable_server=${enable_server:-no}
7650 with_x=${with_x:-no}
7651 with_pthread=${with_pthread:-no}
7653 crtlibs=""
7654 case $host_os in
7655 mingw32*)
7656 crtlibs="-lmsvcrt"
7657 SOCKET_LIBS="-L\$(top_builddir)/dlls/ws2_32 -lws2_32"
7659 esac
7661 libwine_targets="libwine.dll libwine.a"
7662 LIBWINE_RULES="
7663 OBJS = \$(C_SRCS:.c=.o) \$(EXTRA_OBJS)
7665 all: libwine.dll libwine.a
7667 libwine.a: \$(srcdir)/wine.def
7668 \$(DLLTOOL) -l \$@ -d \$(srcdir)/wine.def
7670 libwine.dll: \$(OBJS) \$(srcdir)/wine.def
7671 \$(CC) -shared \$(srcdir)/wine.def -o \$@ \$(OBJS) $crtlibs \$(EXTRALIBS)
7673 install install-lib:: libwine.dll
7674 \$(INSTALL_DATA) libwine.dll \$(DESTDIR)\$(libdir)/libwine.dll
7676 install install-dev:: libwine.a
7677 \$(INSTALL_DATA) libwine.a \$(DESTDIR)\$(libdir)/libwine.a
7679 uninstall::
7680 -cd \$(DESTDIR)\$(libdir) && \$(RM) libwine.a libwine.dll
7685 darwin*|macosx*)
7686 LIBEXT="dylib"
7687 DLLFLAGS="$DLLFLAGS -fPIC"
7688 LIBWINE_LDFLAGS="-multiply_defined suppress"
7689 LDRPATH_INSTALL="-Wl,-rpath,@loader_path/\`\$(MAKEDEP) -R \$(bindir) \$(libdir)\`"
7690 LDRPATH_LOCAL="-Wl,-rpath,@loader_path/\$(top_builddir)/libs/wine"
7691 COREFOUNDATION_LIBS="-framework CoreFoundation"
7693 IOKIT_LIBS="-framework IOKit -framework CoreFoundation"
7695 FORCEFEEDBACK_LIBS="-framework ForceFeedback -framework CoreFoundation"
7697 APPLICATIONSERVICES_LIBS="-framework ApplicationServices"
7699 CORESERVICES_LIBS="-framework CoreServices"
7701 APPKIT_LIBS="-framework AppKit"
7703 LDEXECFLAGS="-image_base 0x7bf00000 -Wl,-segaddr,WINE_DOS,0x00001000,-segaddr,WINE_SHAREDHEAP,0x7f000000,-sectcreate,__TEXT,__info_plist,wine_info.plist"
7704 case $host_os in
7705 darwin11*) LDEXECFLAGS="-Wl,-macosx_version_min,10.6 $LDEXECFLAGS" ;;
7706 esac
7707 if test "$ac_cv_header_DiskArbitration_DiskArbitration_h" = "yes"
7708 then
7709 DISKARBITRATION_LIBS="-framework DiskArbitration -framework CoreFoundation"
7712 if test "$ac_cv_header_Security_Security_h" = "yes"
7713 then
7714 SECURITY_LIBS="-framework Security -framework CoreFoundation"
7716 ac_save_LIBS="$LIBS"
7717 LIBS="$LIBS $SECURITY_LIBS"
7718 for ac_func in SSLCopyPeerCertificates
7719 do :
7720 ac_fn_c_check_func "$LINENO" "SSLCopyPeerCertificates" "ac_cv_func_SSLCopyPeerCertificates"
7721 if test "x$ac_cv_func_SSLCopyPeerCertificates" = xyes; then :
7722 cat >>confdefs.h <<_ACEOF
7723 #define HAVE_SSLCOPYPEERCERTIFICATES 1
7724 _ACEOF
7727 done
7729 LIBS="$ac_save_LIBS"
7730 with_gnutls=${with_gnutls:-no}
7732 if test "$ac_cv_header_CoreAudio_CoreAudio_h" = "yes" -a "$ac_cv_header_AudioUnit_AudioUnit_h" = "yes"
7733 then
7734 if test "$ac_cv_header_AudioUnit_AudioComponent_h" = "yes"
7735 then
7736 COREAUDIO_LIBS="-framework CoreFoundation -framework CoreAudio -framework AudioUnit -framework AudioToolbox -framework CoreMIDI"
7738 else
7739 COREAUDIO_LIBS="-framework CoreAudio -framework AudioUnit -framework CoreServices -framework AudioToolbox -framework CoreMIDI"
7742 ac_save_LIBS="$LIBS"
7743 LIBS="$LIBS $COREAUDIO_LIBS"
7744 for ac_func in AUGraphAddNode
7745 do :
7746 ac_fn_c_check_func "$LINENO" "AUGraphAddNode" "ac_cv_func_AUGraphAddNode"
7747 if test "x$ac_cv_func_AUGraphAddNode" = xyes; then :
7748 cat >>confdefs.h <<_ACEOF
7749 #define HAVE_AUGRAPHADDNODE 1
7750 _ACEOF
7753 done
7755 LIBS="$ac_save_LIBS"
7757 if test "$ac_cv_header_OpenAL_al_h" = "yes"
7758 then
7759 OPENAL_LIBS="-framework OpenAL"
7762 cat >>confdefs.h <<_ACEOF
7763 #define HAVE_OPENAL 1
7764 _ACEOF
7766 ac_cv_lib_openal=yes
7768 if test "$ac_cv_header_OpenCL_opencl_h" = "yes"
7769 then
7770 OPENCL_LIBS="-framework OpenCL"
7772 ac_cv_lib_OpenCL_clGetPlatformInfo=yes
7774 if test "$ac_cv_header_IOKit_hid_IOHIDLib_h" = "yes"
7775 then
7776 ac_save_LIBS="$LIBS"
7777 LIBS="$LIBS $IOKIT_LIBS"
7778 for ac_func in IOHIDManagerCreate
7779 do :
7780 ac_fn_c_check_func "$LINENO" "IOHIDManagerCreate" "ac_cv_func_IOHIDManagerCreate"
7781 if test "x$ac_cv_func_IOHIDManagerCreate" = xyes; then :
7782 cat >>confdefs.h <<_ACEOF
7783 #define HAVE_IOHIDMANAGERCREATE 1
7784 _ACEOF
7787 done
7789 LIBS="$ac_save_LIBS"
7791 if test "$ac_cv_header_QuickTime_ImageCompression_h" = "yes"
7792 then
7793 QUICKTIME_LIBS="-framework QuickTime -framework ApplicationServices -framework CoreVideo"
7795 enable_wineqtdecoder=${enable_wineqtdecoder:-yes}
7796 else
7797 as_fn_append wine_notices "|QuickTime ${notice_platform}development files not found, video decoding won't be supported."
7799 if test "$ac_cv_header_Carbon_Carbon_h" = "yes"
7800 then
7801 CARBON_LIBS="-framework Carbon"
7805 if test "$ac_cv_header_ApplicationServices_ApplicationServices_h" = "yes"
7806 then
7807 ac_save_LIBS="$LIBS"
7808 LIBS="$LIBS $APPLICATIONSERVICES_LIBS"
7809 ac_fn_c_check_func "$LINENO" "CGDisplayModeGetWidth" "ac_cv_func_CGDisplayModeGetWidth"
7810 if test "x$ac_cv_func_CGDisplayModeGetWidth" = xyes; then :
7811 enable_winemac_drv=${enable_winemac_drv:-yes}
7814 LIBS="$ac_save_LIBS"
7817 if test "x$enable_win16" = "xyes"
7818 then
7819 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether 16-bit code can be built correctly" >&5
7820 $as_echo_n "checking whether 16-bit code can be built correctly... " >&6; }
7821 if test "$cross_compiling" = yes; then :
7822 { $as_echo "$as_me:${as_lineno-$LINENO}: result: cross-compiling, assuming yes" >&5
7823 $as_echo "cross-compiling, assuming yes" >&6; }
7824 else
7825 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
7826 /* end confdefs.h. */
7827 asm(".text\n"
7828 "bad:\tnop;nop\n"
7829 "good:\tnop;nop\n\t"
7830 ".globl _testfunc\n"
7831 "_testfunc:\tcallw good");
7832 extern void testfunc();
7834 main ()
7836 unsigned short *p = (unsigned short *)testfunc;
7837 return p[0] != 0xe866 || p[1] != 0xfffa
7839 return 0;
7841 _ACEOF
7842 if ac_fn_c_try_run "$LINENO"; then :
7843 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
7844 $as_echo "yes" >&6; }
7845 else
7846 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7847 $as_echo "no" >&6; }
7848 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
7850 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \
7851 conftest.$ac_objext conftest.beam conftest.$ac_ext
7856 libwine_targets="libwine.dylib libwine.$libwine_soversion.dylib libwine.$libwine_version.dylib"
7857 LIBWINE_RULES="
7858 OBJS = \$(C_SRCS:.c=.o) \$(EXTRA_OBJS)
7860 all: libwine.dylib
7862 libwine.$libwine_version.dylib: \$(OBJS)
7863 \$(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 \$@
7865 libwine.$libwine_soversion.dylib: libwine.$libwine_version.dylib
7866 \$(RM) \$@ && \$(LN_S) libwine.$libwine_version.dylib \$@
7868 libwine.dylib: libwine.$libwine_soversion.dylib
7869 \$(RM) \$@ && \$(LN_S) libwine.$libwine_soversion.dylib \$@
7871 install install-lib:: libwine.$libwine_version.dylib
7872 \$(INSTALL_PROGRAM) libwine.$libwine_version.dylib \$(DESTDIR)\$(libdir)/libwine.$libwine_version.dylib
7873 cd \$(DESTDIR)\$(libdir) && \$(RM) libwine.$libwine_soversion.dylib && \$(LN_S) libwine.$libwine_version.dylib libwine.$libwine_soversion.dylib
7875 install install-dev::
7876 cd \$(DESTDIR)\$(libdir) && \$(RM) libwine.dylib && \$(LN_S) libwine.$libwine_version.dylib libwine.dylib
7878 uninstall::
7879 -cd \$(DESTDIR)\$(libdir) && \$(RM) libwine.dylib libwine.$libwine_soversion.dylib libwine.$libwine_version.dylib
7883 as_fn_append LOADER_RULES "
7884 $wine_binary: main.o wine_info.plist
7885 \$(CC) -o \$@ $LDEXECFLAGS main.o \$(LIBWINE) \$(LIBPORT) \$(EXTRALIBS) \$(LDFLAGS) \$(LDRPATH_LOCAL)
7887 wine-installed: main.o wine_info.plist
7888 \$(CC) -o \$@ $LDEXECFLAGS main.o \$(LIBWINE) \$(LIBPORT) \$(EXTRALIBS) \$(LDFLAGS) \$(LDRPATH_INSTALL)
7892 linux-android*)
7893 DLLFLAGS="$DLLFLAGS -fPIC"
7894 DLLPREFIX="lib"
7895 LDEXECFLAGS=""
7896 dlldir="\${libdir}"
7897 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -fPIC -Wl,--export-dynamic" >&5
7898 $as_echo_n "checking whether the compiler supports -fPIC -Wl,--export-dynamic... " >&6; }
7899 if ${ac_cv_cflags__fPIC__Wl___export_dynamic+:} false; then :
7900 $as_echo_n "(cached) " >&6
7901 else
7902 ac_wine_try_cflags_saved=$CFLAGS
7903 CFLAGS="$CFLAGS -fPIC -Wl,--export-dynamic"
7904 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
7905 /* end confdefs.h. */
7906 int main(int argc, char **argv) { return 0; }
7907 _ACEOF
7908 if ac_fn_c_try_link "$LINENO"; then :
7909 ac_cv_cflags__fPIC__Wl___export_dynamic=yes
7910 else
7911 ac_cv_cflags__fPIC__Wl___export_dynamic=no
7913 rm -f core conftest.err conftest.$ac_objext \
7914 conftest$ac_exeext conftest.$ac_ext
7915 CFLAGS=$ac_wine_try_cflags_saved
7917 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__fPIC__Wl___export_dynamic" >&5
7918 $as_echo "$ac_cv_cflags__fPIC__Wl___export_dynamic" >&6; }
7919 if test "x$ac_cv_cflags__fPIC__Wl___export_dynamic" = xyes; then :
7920 LDEXECFLAGS="-Wl,--export-dynamic"
7922 as_ac_var=`$as_echo "ac_cv_cflags_-fPIC -Wl,--rpath,\\$ORIGIN/../lib" | $as_tr_sh`
7923 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -fPIC -Wl,--rpath,\$ORIGIN/../lib" >&5
7924 $as_echo_n "checking whether the compiler supports -fPIC -Wl,--rpath,\$ORIGIN/../lib... " >&6; }
7925 if eval \${$as_ac_var+:} false; then :
7926 $as_echo_n "(cached) " >&6
7927 else
7928 ac_wine_try_cflags_saved=$CFLAGS
7929 CFLAGS="$CFLAGS -fPIC -Wl,--rpath,\$ORIGIN/../lib"
7930 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
7931 /* end confdefs.h. */
7932 int main(int argc, char **argv) { return 0; }
7933 _ACEOF
7934 if ac_fn_c_try_link "$LINENO"; then :
7935 eval "$as_ac_var=yes"
7936 else
7937 eval "$as_ac_var=no"
7939 rm -f core conftest.err conftest.$ac_objext \
7940 conftest$ac_exeext conftest.$ac_ext
7941 CFLAGS=$ac_wine_try_cflags_saved
7943 eval ac_res=\$$as_ac_var
7944 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
7945 $as_echo "$ac_res" >&6; }
7946 if eval test \"x\$"$as_ac_var"\" = x"yes"; then :
7947 LDRPATH_INSTALL="-Wl,--rpath,\\\$\$ORIGIN/\`\$(MAKEDEP) -R \$(bindir) \$(libdir)\`"
7948 LDRPATH_LOCAL="-Wl,--rpath,\\\$\$ORIGIN/\$(top_builddir)/libs/wine"
7949 else
7950 as_ac_var=`$as_echo "ac_cv_cflags_-fPIC -Wl,-R,\\$ORIGIN/../lib" | $as_tr_sh`
7951 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -fPIC -Wl,-R,\$ORIGIN/../lib" >&5
7952 $as_echo_n "checking whether the compiler supports -fPIC -Wl,-R,\$ORIGIN/../lib... " >&6; }
7953 if eval \${$as_ac_var+:} false; then :
7954 $as_echo_n "(cached) " >&6
7955 else
7956 ac_wine_try_cflags_saved=$CFLAGS
7957 CFLAGS="$CFLAGS -fPIC -Wl,-R,\$ORIGIN/../lib"
7958 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
7959 /* end confdefs.h. */
7960 int main(int argc, char **argv) { return 0; }
7961 _ACEOF
7962 if ac_fn_c_try_link "$LINENO"; then :
7963 eval "$as_ac_var=yes"
7964 else
7965 eval "$as_ac_var=no"
7967 rm -f core conftest.err conftest.$ac_objext \
7968 conftest$ac_exeext conftest.$ac_ext
7969 CFLAGS=$ac_wine_try_cflags_saved
7971 eval ac_res=\$$as_ac_var
7972 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
7973 $as_echo "$ac_res" >&6; }
7974 if eval test \"x\$"$as_ac_var"\" = x"yes"; then :
7975 LDRPATH_INSTALL="-Wl,-R,\\\$\$ORIGIN/\`\$(MAKEDEP) -R \$(bindir) \$(libdir)\`"
7976 LDRPATH_LOCAL="-Wl,-R,\\\$\$ORIGIN/\$(top_builddir)/libs/wine"
7980 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wl,--enable-new-dtags" >&5
7981 $as_echo_n "checking whether the compiler supports -Wl,--enable-new-dtags... " >&6; }
7982 if ${ac_cv_cflags__Wl___enable_new_dtags+:} false; then :
7983 $as_echo_n "(cached) " >&6
7984 else
7985 ac_wine_try_cflags_saved=$CFLAGS
7986 CFLAGS="$CFLAGS -Wl,--enable-new-dtags"
7987 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
7988 /* end confdefs.h. */
7989 int main(int argc, char **argv) { return 0; }
7990 _ACEOF
7991 if ac_fn_c_try_link "$LINENO"; then :
7992 ac_cv_cflags__Wl___enable_new_dtags=yes
7993 else
7994 ac_cv_cflags__Wl___enable_new_dtags=no
7996 rm -f core conftest.err conftest.$ac_objext \
7997 conftest$ac_exeext conftest.$ac_ext
7998 CFLAGS=$ac_wine_try_cflags_saved
8000 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wl___enable_new_dtags" >&5
8001 $as_echo "$ac_cv_cflags__Wl___enable_new_dtags" >&6; }
8002 if test "x$ac_cv_cflags__Wl___enable_new_dtags" = xyes; then :
8003 LDRPATH_INSTALL="$LDRPATH_INSTALL -Wl,--enable-new-dtags"
8006 case $host_cpu in
8007 *i[3456789]86* | x86_64)
8008 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wl,--section-start,.interp=0x7bf00400" >&5
8009 $as_echo_n "checking whether the compiler supports -Wl,--section-start,.interp=0x7bf00400... " >&6; }
8010 if ${ac_cv_cflags__Wl___section_start__interp_0x7bf00400+:} false; then :
8011 $as_echo_n "(cached) " >&6
8012 else
8013 ac_wine_try_cflags_saved=$CFLAGS
8014 CFLAGS="$CFLAGS -Wl,--section-start,.interp=0x7bf00400"
8015 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
8016 /* end confdefs.h. */
8017 int main(int argc, char **argv) { return 0; }
8018 _ACEOF
8019 if ac_fn_c_try_link "$LINENO"; then :
8020 ac_cv_cflags__Wl___section_start__interp_0x7bf00400=yes
8021 else
8022 ac_cv_cflags__Wl___section_start__interp_0x7bf00400=no
8024 rm -f core conftest.err conftest.$ac_objext \
8025 conftest$ac_exeext conftest.$ac_ext
8026 CFLAGS=$ac_wine_try_cflags_saved
8028 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wl___section_start__interp_0x7bf00400" >&5
8029 $as_echo "$ac_cv_cflags__Wl___section_start__interp_0x7bf00400" >&6; }
8030 if test "x$ac_cv_cflags__Wl___section_start__interp_0x7bf00400" = xyes; then :
8031 LDEXECFLAGS="$LDEXECFLAGS -Wl,--section-start,.interp=0x7bf00400"
8034 esac
8036 libwine_targets="libwine.so"
8037 LIBWINE_RULES="
8038 OBJS = \$(C_SRCS:.c=.o) \$(EXTRA_OBJS)
8040 all: libwine.so
8042 libwine.so: \$(OBJS)
8043 \$(CC) -shared \$(OBJS) \$(EXTRALIBS) \$(LDFLAGS) \$(LIBS) -o \$@
8045 install install-lib:: libwine.so
8046 \$(INSTALL_PROGRAM) libwine.so \$(DESTDIR)\$(libdir)/libwine.so
8048 uninstall::
8049 \$(RM) \$(DESTDIR)\$(libdir)/libwine.so
8053 as_fn_append LOADER_RULES "
8054 $wine_binary: main.o
8055 \$(CC) -o \$@ $LDEXECFLAGS main.o \$(LIBWINE) \$(LIBPORT) \$(EXTRALIBS) \$(LDFLAGS) \$(LDRPATH_LOCAL)
8057 wine-installed: main.o
8058 \$(CC) -o \$@ $LDEXECFLAGS main.o \$(LIBWINE) \$(LIBPORT) \$(EXTRALIBS) \$(LDFLAGS) \$(LDRPATH_INSTALL)
8063 DLLFLAGS="$DLLFLAGS -fPIC"
8064 LDEXECFLAGS=""
8065 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we can build a GNU style ELF dll" >&5
8066 $as_echo_n "checking whether we can build a GNU style ELF dll... " >&6; }
8067 if ${ac_cv_c_dll_gnuelf+:} false; then :
8068 $as_echo_n "(cached) " >&6
8069 else
8070 ac_wine_try_cflags_saved=$CFLAGS
8071 CFLAGS="$CFLAGS -fPIC -shared -Wl,-Bsymbolic"
8072 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
8073 /* end confdefs.h. */
8074 void myfunc() {}
8075 _ACEOF
8076 if ac_fn_c_try_link "$LINENO"; then :
8077 ac_cv_c_dll_gnuelf="yes"
8078 else
8079 ac_cv_c_dll_gnuelf="no"
8081 rm -f core conftest.err conftest.$ac_objext \
8082 conftest$ac_exeext conftest.$ac_ext
8083 CFLAGS=$ac_wine_try_cflags_saved
8085 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_dll_gnuelf" >&5
8086 $as_echo "$ac_cv_c_dll_gnuelf" >&6; }
8087 if test "$ac_cv_c_dll_gnuelf" = "yes"
8088 then
8089 LDSHARED="\$(CC) -shared"
8090 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -fPIC -shared -Wl,-soname,confest.so.1" >&5
8091 $as_echo_n "checking whether the compiler supports -fPIC -shared -Wl,-soname,confest.so.1... " >&6; }
8092 if ${ac_cv_cflags__fPIC__shared__Wl__soname_confest_so_1+:} false; then :
8093 $as_echo_n "(cached) " >&6
8094 else
8095 ac_wine_try_cflags_saved=$CFLAGS
8096 CFLAGS="$CFLAGS -fPIC -shared -Wl,-soname,confest.so.1"
8097 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
8098 /* end confdefs.h. */
8099 int main(int argc, char **argv) { return 0; }
8100 _ACEOF
8101 if ac_fn_c_try_link "$LINENO"; then :
8102 ac_cv_cflags__fPIC__shared__Wl__soname_confest_so_1=yes
8103 else
8104 ac_cv_cflags__fPIC__shared__Wl__soname_confest_so_1=no
8106 rm -f core conftest.err conftest.$ac_objext \
8107 conftest$ac_exeext conftest.$ac_ext
8108 CFLAGS=$ac_wine_try_cflags_saved
8110 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__fPIC__shared__Wl__soname_confest_so_1" >&5
8111 $as_echo "$ac_cv_cflags__fPIC__shared__Wl__soname_confest_so_1" >&6; }
8112 if test "x$ac_cv_cflags__fPIC__shared__Wl__soname_confest_so_1" = xyes; then :
8113 LDSHARED="\$(CC) -shared -Wl,-soname,libwine.so.$libwine_soversion"
8114 else
8115 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -fPIC -shared -Wl,-h,confest.so.1" >&5
8116 $as_echo_n "checking whether the compiler supports -fPIC -shared -Wl,-h,confest.so.1... " >&6; }
8117 if ${ac_cv_cflags__fPIC__shared__Wl__h_confest_so_1+:} false; then :
8118 $as_echo_n "(cached) " >&6
8119 else
8120 ac_wine_try_cflags_saved=$CFLAGS
8121 CFLAGS="$CFLAGS -fPIC -shared -Wl,-h,confest.so.1"
8122 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
8123 /* end confdefs.h. */
8124 int main(int argc, char **argv) { return 0; }
8125 _ACEOF
8126 if ac_fn_c_try_link "$LINENO"; then :
8127 ac_cv_cflags__fPIC__shared__Wl__h_confest_so_1=yes
8128 else
8129 ac_cv_cflags__fPIC__shared__Wl__h_confest_so_1=no
8131 rm -f core conftest.err conftest.$ac_objext \
8132 conftest$ac_exeext conftest.$ac_ext
8133 CFLAGS=$ac_wine_try_cflags_saved
8135 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__fPIC__shared__Wl__h_confest_so_1" >&5
8136 $as_echo "$ac_cv_cflags__fPIC__shared__Wl__h_confest_so_1" >&6; }
8137 if test "x$ac_cv_cflags__fPIC__shared__Wl__h_confest_so_1" = xyes; then :
8138 LDSHARED="\$(CC) -shared -Wl,-h,libwine.so.$libwine_soversion"
8142 echo '{ global: *; };' >conftest.map
8143 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -fPIC -shared -Wl,--version-script=conftest.map" >&5
8144 $as_echo_n "checking whether the compiler supports -fPIC -shared -Wl,--version-script=conftest.map... " >&6; }
8145 if ${ac_cv_cflags__fPIC__shared__Wl___version_script_conftest_map+:} false; then :
8146 $as_echo_n "(cached) " >&6
8147 else
8148 ac_wine_try_cflags_saved=$CFLAGS
8149 CFLAGS="$CFLAGS -fPIC -shared -Wl,--version-script=conftest.map"
8150 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
8151 /* end confdefs.h. */
8152 int main(int argc, char **argv) { return 0; }
8153 _ACEOF
8154 if ac_fn_c_try_link "$LINENO"; then :
8155 ac_cv_cflags__fPIC__shared__Wl___version_script_conftest_map=yes
8156 else
8157 ac_cv_cflags__fPIC__shared__Wl___version_script_conftest_map=no
8159 rm -f core conftest.err conftest.$ac_objext \
8160 conftest$ac_exeext conftest.$ac_ext
8161 CFLAGS=$ac_wine_try_cflags_saved
8163 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__fPIC__shared__Wl___version_script_conftest_map" >&5
8164 $as_echo "$ac_cv_cflags__fPIC__shared__Wl___version_script_conftest_map" >&6; }
8165 if test "x$ac_cv_cflags__fPIC__shared__Wl___version_script_conftest_map" = xyes; then :
8166 LDSHARED="$LDSHARED -Wl,--version-script=\$(srcdir)/wine.map"
8168 rm -f conftest.map
8170 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -fPIC -Wl,--export-dynamic" >&5
8171 $as_echo_n "checking whether the compiler supports -fPIC -Wl,--export-dynamic... " >&6; }
8172 if ${ac_cv_cflags__fPIC__Wl___export_dynamic+:} false; then :
8173 $as_echo_n "(cached) " >&6
8174 else
8175 ac_wine_try_cflags_saved=$CFLAGS
8176 CFLAGS="$CFLAGS -fPIC -Wl,--export-dynamic"
8177 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
8178 /* end confdefs.h. */
8179 int main(int argc, char **argv) { return 0; }
8180 _ACEOF
8181 if ac_fn_c_try_link "$LINENO"; then :
8182 ac_cv_cflags__fPIC__Wl___export_dynamic=yes
8183 else
8184 ac_cv_cflags__fPIC__Wl___export_dynamic=no
8186 rm -f core conftest.err conftest.$ac_objext \
8187 conftest$ac_exeext conftest.$ac_ext
8188 CFLAGS=$ac_wine_try_cflags_saved
8190 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__fPIC__Wl___export_dynamic" >&5
8191 $as_echo "$ac_cv_cflags__fPIC__Wl___export_dynamic" >&6; }
8192 if test "x$ac_cv_cflags__fPIC__Wl___export_dynamic" = xyes; then :
8193 LDEXECFLAGS="-Wl,--export-dynamic"
8196 as_ac_var=`$as_echo "ac_cv_cflags_-fPIC -Wl,--rpath,\\$ORIGIN/../lib" | $as_tr_sh`
8197 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -fPIC -Wl,--rpath,\$ORIGIN/../lib" >&5
8198 $as_echo_n "checking whether the compiler supports -fPIC -Wl,--rpath,\$ORIGIN/../lib... " >&6; }
8199 if eval \${$as_ac_var+:} false; then :
8200 $as_echo_n "(cached) " >&6
8201 else
8202 ac_wine_try_cflags_saved=$CFLAGS
8203 CFLAGS="$CFLAGS -fPIC -Wl,--rpath,\$ORIGIN/../lib"
8204 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
8205 /* end confdefs.h. */
8206 int main(int argc, char **argv) { return 0; }
8207 _ACEOF
8208 if ac_fn_c_try_link "$LINENO"; then :
8209 eval "$as_ac_var=yes"
8210 else
8211 eval "$as_ac_var=no"
8213 rm -f core conftest.err conftest.$ac_objext \
8214 conftest$ac_exeext conftest.$ac_ext
8215 CFLAGS=$ac_wine_try_cflags_saved
8217 eval ac_res=\$$as_ac_var
8218 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
8219 $as_echo "$ac_res" >&6; }
8220 if eval test \"x\$"$as_ac_var"\" = x"yes"; then :
8221 LDRPATH_INSTALL="-Wl,--rpath,\\\$\$ORIGIN/\`\$(MAKEDEP) -R \$(bindir) \$(libdir)\`"
8222 LDRPATH_LOCAL="-Wl,--rpath,\\\$\$ORIGIN/\$(top_builddir)/libs/wine"
8223 else
8224 as_ac_var=`$as_echo "ac_cv_cflags_-fPIC -Wl,-R,\\$ORIGIN/../lib" | $as_tr_sh`
8225 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -fPIC -Wl,-R,\$ORIGIN/../lib" >&5
8226 $as_echo_n "checking whether the compiler supports -fPIC -Wl,-R,\$ORIGIN/../lib... " >&6; }
8227 if eval \${$as_ac_var+:} false; then :
8228 $as_echo_n "(cached) " >&6
8229 else
8230 ac_wine_try_cflags_saved=$CFLAGS
8231 CFLAGS="$CFLAGS -fPIC -Wl,-R,\$ORIGIN/../lib"
8232 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
8233 /* end confdefs.h. */
8234 int main(int argc, char **argv) { return 0; }
8235 _ACEOF
8236 if ac_fn_c_try_link "$LINENO"; then :
8237 eval "$as_ac_var=yes"
8238 else
8239 eval "$as_ac_var=no"
8241 rm -f core conftest.err conftest.$ac_objext \
8242 conftest$ac_exeext conftest.$ac_ext
8243 CFLAGS=$ac_wine_try_cflags_saved
8245 eval ac_res=\$$as_ac_var
8246 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
8247 $as_echo "$ac_res" >&6; }
8248 if eval test \"x\$"$as_ac_var"\" = x"yes"; then :
8249 LDRPATH_INSTALL="-Wl,-R,\\\$\$ORIGIN/\`\$(MAKEDEP) -R \$(bindir) \$(libdir)\`"
8250 LDRPATH_LOCAL="-Wl,-R,\\\$\$ORIGIN/\$(top_builddir)/libs/wine"
8254 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wl,--enable-new-dtags" >&5
8255 $as_echo_n "checking whether the compiler supports -Wl,--enable-new-dtags... " >&6; }
8256 if ${ac_cv_cflags__Wl___enable_new_dtags+:} false; then :
8257 $as_echo_n "(cached) " >&6
8258 else
8259 ac_wine_try_cflags_saved=$CFLAGS
8260 CFLAGS="$CFLAGS -Wl,--enable-new-dtags"
8261 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
8262 /* end confdefs.h. */
8263 int main(int argc, char **argv) { return 0; }
8264 _ACEOF
8265 if ac_fn_c_try_link "$LINENO"; then :
8266 ac_cv_cflags__Wl___enable_new_dtags=yes
8267 else
8268 ac_cv_cflags__Wl___enable_new_dtags=no
8270 rm -f core conftest.err conftest.$ac_objext \
8271 conftest$ac_exeext conftest.$ac_ext
8272 CFLAGS=$ac_wine_try_cflags_saved
8274 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wl___enable_new_dtags" >&5
8275 $as_echo "$ac_cv_cflags__Wl___enable_new_dtags" >&6; }
8276 if test "x$ac_cv_cflags__Wl___enable_new_dtags" = xyes; then :
8277 LDRPATH_INSTALL="$LDRPATH_INSTALL -Wl,--enable-new-dtags"
8280 case $host_cpu in
8281 *i[3456789]86* | x86_64)
8282 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wl,--section-start,.interp=0x7bf00400" >&5
8283 $as_echo_n "checking whether the compiler supports -Wl,--section-start,.interp=0x7bf00400... " >&6; }
8284 if ${ac_cv_cflags__Wl___section_start__interp_0x7bf00400+:} false; then :
8285 $as_echo_n "(cached) " >&6
8286 else
8287 ac_wine_try_cflags_saved=$CFLAGS
8288 CFLAGS="$CFLAGS -Wl,--section-start,.interp=0x7bf00400"
8289 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
8290 /* end confdefs.h. */
8291 int main(int argc, char **argv) { return 0; }
8292 _ACEOF
8293 if ac_fn_c_try_link "$LINENO"; then :
8294 ac_cv_cflags__Wl___section_start__interp_0x7bf00400=yes
8295 else
8296 ac_cv_cflags__Wl___section_start__interp_0x7bf00400=no
8298 rm -f core conftest.err conftest.$ac_objext \
8299 conftest$ac_exeext conftest.$ac_ext
8300 CFLAGS=$ac_wine_try_cflags_saved
8302 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wl___section_start__interp_0x7bf00400" >&5
8303 $as_echo "$ac_cv_cflags__Wl___section_start__interp_0x7bf00400" >&6; }
8304 if test "x$ac_cv_cflags__Wl___section_start__interp_0x7bf00400" = xyes; then :
8305 case $host_os in
8306 freebsd* | kfreebsd*-gnu) LDEXECFLAGS="$LDEXECFLAGS -Wl,--section-start,.interp=0x60000400" ;;
8307 *) LDEXECFLAGS="$LDEXECFLAGS -Wl,--section-start,.interp=0x7bf00400" ;;
8308 esac
8311 # Extract the first word of "prelink", so it can be a program name with args.
8312 set dummy prelink; ac_word=$2
8313 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
8314 $as_echo_n "checking for $ac_word... " >&6; }
8315 if ${ac_cv_path_PRELINK+:} false; then :
8316 $as_echo_n "(cached) " >&6
8317 else
8318 case $PRELINK in
8319 [\\/]* | ?:[\\/]*)
8320 ac_cv_path_PRELINK="$PRELINK" # Let the user override the test with a path.
8323 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
8324 for as_dir in /sbin /usr/sbin $PATH
8326 IFS=$as_save_IFS
8327 test -z "$as_dir" && as_dir=.
8328 for ac_exec_ext in '' $ac_executable_extensions; do
8329 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
8330 ac_cv_path_PRELINK="$as_dir/$ac_word$ac_exec_ext"
8331 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
8332 break 2
8334 done
8335 done
8336 IFS=$as_save_IFS
8338 test -z "$ac_cv_path_PRELINK" && ac_cv_path_PRELINK="false"
8340 esac
8342 PRELINK=$ac_cv_path_PRELINK
8343 if test -n "$PRELINK"; then
8344 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $PRELINK" >&5
8345 $as_echo "$PRELINK" >&6; }
8346 else
8347 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
8348 $as_echo "no" >&6; }
8352 if test "x$PRELINK" = xfalse
8353 then
8354 as_fn_append wine_warnings "|prelink not found, base address of core dlls won't be set correctly."
8357 esac
8359 else
8360 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we can build a UnixWare (Solaris) dll" >&5
8361 $as_echo_n "checking whether we can build a UnixWare (Solaris) dll... " >&6; }
8362 if ${ac_cv_c_dll_unixware+:} false; then :
8363 $as_echo_n "(cached) " >&6
8364 else
8365 ac_wine_try_cflags_saved=$CFLAGS
8366 CFLAGS="$CFLAGS -fPIC -Wl,-G,-h,conftest.so.1.0,-B,symbolic"
8367 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
8368 /* end confdefs.h. */
8369 void myfunc() {}
8370 _ACEOF
8371 if ac_fn_c_try_link "$LINENO"; then :
8372 ac_cv_c_dll_unixware="yes"
8373 else
8374 ac_cv_c_dll_unixware="no"
8376 rm -f core conftest.err conftest.$ac_objext \
8377 conftest$ac_exeext conftest.$ac_ext
8378 CFLAGS=$ac_wine_try_cflags_saved
8380 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_dll_unixware" >&5
8381 $as_echo "$ac_cv_c_dll_unixware" >&6; }
8382 if test "$ac_cv_c_dll_unixware" = "yes"
8383 then
8384 LDSHARED="\$(CC) -Wl,-G,-h,libwine.so.$libwine_soversion"
8387 libwine_targets="libwine.so libwine.so.$libwine_soversion libwine.so.$libwine_version"
8388 LIBWINE_RULES="
8389 OBJS = \$(C_SRCS:.c=.o) \$(EXTRA_OBJS)
8391 all: libwine.so
8393 libwine.so.$libwine_version: \$(OBJS) \$(srcdir)/wine.map
8394 $LDSHARED \$(OBJS) \$(EXTRALIBS) \$(LDFLAGS) \$(LIBS) -o \$@
8396 libwine.so.$libwine_soversion: libwine.so.$libwine_version
8397 \$(RM) \$@ && \$(LN_S) libwine.so.$libwine_version \$@
8399 libwine.so: libwine.so.$libwine_soversion
8400 \$(RM) \$@ && \$(LN_S) libwine.so.$libwine_soversion \$@
8402 install install-lib:: libwine.so.$libwine_version
8403 \$(INSTALL_PROGRAM) libwine.so.$libwine_version \$(DESTDIR)\$(libdir)/libwine.so.$libwine_version
8404 cd \$(DESTDIR)\$(libdir) && \$(RM) libwine.so.$libwine_soversion && \$(LN_S) libwine.so.$libwine_version libwine.so.$libwine_soversion
8406 install install-dev::
8407 cd \$(DESTDIR)\$(libdir) && \$(RM) libwine.so && \$(LN_S) libwine.so.$libwine_version libwine.so
8409 uninstall::
8410 -cd \$(DESTDIR)\$(libdir) && \$(RM) libwine.so libwine.so.$libwine_soversion libwine.so.$libwine_version
8414 as_fn_append LOADER_RULES "
8415 $wine_binary: main.o
8416 \$(CC) -o \$@ $LDEXECFLAGS main.o \$(LIBWINE) \$(LIBPORT) \$(EXTRALIBS) \$(LDFLAGS) \$(LDRPATH_LOCAL)
8418 wine-installed: main.o
8419 \$(CC) -o \$@ $LDEXECFLAGS main.o \$(LIBWINE) \$(LIBPORT) \$(EXTRALIBS) \$(LDFLAGS) \$(LDRPATH_INSTALL)
8422 esac
8424 as_fn_append LIBWINE_RULES "
8425 EXTRA_TARGETS = $libwine_targets
8428 enable_wineqtdecoder=${enable_wineqtdecoder:-no}
8429 enable_winemac_drv=${enable_winemac_drv:-no}
8431 CROSSTARGET=""
8433 if test "$cross_compiling" = "no" -a "x$enable_tests" != xno -a "$LIBEXT" != "dll"
8434 then
8435 case "$host_cpu" in
8436 i[3456789]86*)
8437 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
8438 mingw32-gcc" ;;
8439 x86_64)
8440 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 " ;;
8442 ac_prefix_list="" ;;
8443 esac
8444 for ac_prog in $ac_prefix_list
8446 # Extract the first word of "$ac_prog", so it can be a program name with args.
8447 set dummy $ac_prog; ac_word=$2
8448 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
8449 $as_echo_n "checking for $ac_word... " >&6; }
8450 if ${ac_cv_prog_CROSSCC+:} false; then :
8451 $as_echo_n "(cached) " >&6
8452 else
8453 if test -n "$CROSSCC"; then
8454 ac_cv_prog_CROSSCC="$CROSSCC" # Let the user override the test.
8455 else
8456 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
8457 for as_dir in $PATH
8459 IFS=$as_save_IFS
8460 test -z "$as_dir" && as_dir=.
8461 for ac_exec_ext in '' $ac_executable_extensions; do
8462 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
8463 ac_cv_prog_CROSSCC="$ac_prog"
8464 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
8465 break 2
8467 done
8468 done
8469 IFS=$as_save_IFS
8473 CROSSCC=$ac_cv_prog_CROSSCC
8474 if test -n "$CROSSCC"; then
8475 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CROSSCC" >&5
8476 $as_echo "$CROSSCC" >&6; }
8477 else
8478 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
8479 $as_echo "no" >&6; }
8483 test -n "$CROSSCC" && break
8484 done
8485 test -n "$CROSSCC" || CROSSCC="false"
8487 if test "$CROSSCC" != "false"
8488 then
8489 ac_save_CC="$CC"
8490 CC="$CROSSCC"
8491 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CROSSCC works" >&5
8492 $as_echo_n "checking whether $CROSSCC works... " >&6; }
8493 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
8494 /* end confdefs.h. */
8497 main ()
8501 return 0;
8503 _ACEOF
8504 if ac_fn_c_try_compile "$LINENO"; then :
8505 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
8506 $as_echo "yes" >&6; }
8507 set x $CROSSCC
8508 shift
8509 while test $# -ge 1
8511 case "$1" in
8512 *-gcc) CROSSTARGET=`expr "$1" : '\(.*\)-gcc'` ;;
8513 esac
8514 shift
8515 done
8516 else
8517 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
8518 $as_echo "no" >&6; }
8520 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
8521 CC="$ac_save_CC"
8526 if test "$ac_cv_header_pthread_h" = "yes"
8527 then
8528 ac_fn_c_check_func "$LINENO" "pthread_create" "ac_cv_func_pthread_create"
8529 if test "x$ac_cv_func_pthread_create" = xyes; then :
8531 else
8532 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for pthread_create in -lpthread" >&5
8533 $as_echo_n "checking for pthread_create in -lpthread... " >&6; }
8534 if ${ac_cv_lib_pthread_pthread_create+:} false; then :
8535 $as_echo_n "(cached) " >&6
8536 else
8537 ac_check_lib_save_LIBS=$LIBS
8538 LIBS="-lpthread $LIBS"
8539 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
8540 /* end confdefs.h. */
8542 /* Override any GCC internal prototype to avoid an error.
8543 Use char because int might match the return type of a GCC
8544 builtin and then its argument prototype would still apply. */
8545 #ifdef __cplusplus
8546 extern "C"
8547 #endif
8548 char pthread_create ();
8550 main ()
8552 return pthread_create ();
8554 return 0;
8556 _ACEOF
8557 if ac_fn_c_try_link "$LINENO"; then :
8558 ac_cv_lib_pthread_pthread_create=yes
8559 else
8560 ac_cv_lib_pthread_pthread_create=no
8562 rm -f core conftest.err conftest.$ac_objext \
8563 conftest$ac_exeext conftest.$ac_ext
8564 LIBS=$ac_check_lib_save_LIBS
8566 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_pthread_pthread_create" >&5
8567 $as_echo "$ac_cv_lib_pthread_pthread_create" >&6; }
8568 if test "x$ac_cv_lib_pthread_pthread_create" = xyes; then :
8569 PTHREAD_LIBS="-lpthread"
8576 if test "x$ac_cv_func_pthread_create" != xyes -a "x$PTHREAD_LIBS" = x; then :
8577 case "x$with_pthread" in
8578 xno) ;;
8579 *) as_fn_error $? "pthread ${notice_platform}development files not found.
8580 Wine cannot support threads without libpthread.
8581 Use the --without-pthread option if you really want this." "$LINENO" 5 ;;
8582 esac
8586 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for X" >&5
8587 $as_echo_n "checking for X... " >&6; }
8590 # Check whether --with-x was given.
8591 if test "${with_x+set}" = set; then :
8592 withval=$with_x;
8595 # $have_x is `yes', `no', `disabled', or empty when we do not yet know.
8596 if test "x$with_x" = xno; then
8597 # The user explicitly disabled X.
8598 have_x=disabled
8599 else
8600 case $x_includes,$x_libraries in #(
8601 *\'*) as_fn_error $? "cannot use X directory names containing '" "$LINENO" 5;; #(
8602 *,NONE | NONE,*) if ${ac_cv_have_x+:} false; then :
8603 $as_echo_n "(cached) " >&6
8604 else
8605 # One or both of the vars are not set, and there is no cached value.
8606 ac_x_includes=no ac_x_libraries=no
8607 rm -f -r conftest.dir
8608 if mkdir conftest.dir; then
8609 cd conftest.dir
8610 cat >Imakefile <<'_ACEOF'
8611 incroot:
8612 @echo incroot='${INCROOT}'
8613 usrlibdir:
8614 @echo usrlibdir='${USRLIBDIR}'
8615 libdir:
8616 @echo libdir='${LIBDIR}'
8617 _ACEOF
8618 if (export CC; ${XMKMF-xmkmf}) >/dev/null 2>/dev/null && test -f Makefile; then
8619 # GNU make sometimes prints "make[1]: Entering ...", which would confuse us.
8620 for ac_var in incroot usrlibdir libdir; do
8621 eval "ac_im_$ac_var=\`\${MAKE-make} $ac_var 2>/dev/null | sed -n 's/^$ac_var=//p'\`"
8622 done
8623 # Open Windows xmkmf reportedly sets LIBDIR instead of USRLIBDIR.
8624 for ac_extension in a so sl dylib la dll; do
8625 if test ! -f "$ac_im_usrlibdir/libX11.$ac_extension" &&
8626 test -f "$ac_im_libdir/libX11.$ac_extension"; then
8627 ac_im_usrlibdir=$ac_im_libdir; break
8629 done
8630 # Screen out bogus values from the imake configuration. They are
8631 # bogus both because they are the default anyway, and because
8632 # using them would break gcc on systems where it needs fixed includes.
8633 case $ac_im_incroot in
8634 /usr/include) ac_x_includes= ;;
8635 *) test -f "$ac_im_incroot/X11/Xos.h" && ac_x_includes=$ac_im_incroot;;
8636 esac
8637 case $ac_im_usrlibdir in
8638 /usr/lib | /usr/lib64 | /lib | /lib64) ;;
8639 *) test -d "$ac_im_usrlibdir" && ac_x_libraries=$ac_im_usrlibdir ;;
8640 esac
8642 cd ..
8643 rm -f -r conftest.dir
8646 # Standard set of common directories for X headers.
8647 # Check X11 before X11Rn because it is often a symlink to the current release.
8648 ac_x_header_dirs='
8649 /usr/X11/include
8650 /usr/X11R7/include
8651 /usr/X11R6/include
8652 /usr/X11R5/include
8653 /usr/X11R4/include
8655 /usr/include/X11
8656 /usr/include/X11R7
8657 /usr/include/X11R6
8658 /usr/include/X11R5
8659 /usr/include/X11R4
8661 /usr/local/X11/include
8662 /usr/local/X11R7/include
8663 /usr/local/X11R6/include
8664 /usr/local/X11R5/include
8665 /usr/local/X11R4/include
8667 /usr/local/include/X11
8668 /usr/local/include/X11R7
8669 /usr/local/include/X11R6
8670 /usr/local/include/X11R5
8671 /usr/local/include/X11R4
8673 /usr/X386/include
8674 /usr/x386/include
8675 /usr/XFree86/include/X11
8677 /usr/include
8678 /usr/local/include
8679 /usr/unsupported/include
8680 /usr/athena/include
8681 /usr/local/x11r5/include
8682 /usr/lpp/Xamples/include
8684 /usr/openwin/include
8685 /usr/openwin/share/include'
8687 if test "$ac_x_includes" = no; then
8688 # Guess where to find include files, by looking for Xlib.h.
8689 # First, try using that file with no special directory specified.
8690 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
8691 /* end confdefs.h. */
8692 #include <X11/Xlib.h>
8693 _ACEOF
8694 if ac_fn_c_try_cpp "$LINENO"; then :
8695 # We can compile using X headers with no special include directory.
8696 ac_x_includes=
8697 else
8698 for ac_dir in $ac_x_header_dirs; do
8699 if test -r "$ac_dir/X11/Xlib.h"; then
8700 ac_x_includes=$ac_dir
8701 break
8703 done
8705 rm -f conftest.err conftest.i conftest.$ac_ext
8706 fi # $ac_x_includes = no
8708 if test "$ac_x_libraries" = no; then
8709 # Check for the libraries.
8710 # See if we find them without any special options.
8711 # Don't add to $LIBS permanently.
8712 ac_save_LIBS=$LIBS
8713 LIBS="-lX11 $LIBS"
8714 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
8715 /* end confdefs.h. */
8716 #include <X11/Xlib.h>
8718 main ()
8720 XrmInitialize ()
8722 return 0;
8724 _ACEOF
8725 if ac_fn_c_try_link "$LINENO"; then :
8726 LIBS=$ac_save_LIBS
8727 # We can link X programs with no special library path.
8728 ac_x_libraries=
8729 else
8730 LIBS=$ac_save_LIBS
8731 for ac_dir in `$as_echo "$ac_x_includes $ac_x_header_dirs" | sed s/include/lib/g`
8733 # Don't even attempt the hair of trying to link an X program!
8734 for ac_extension in a so sl dylib la dll; do
8735 if test -r "$ac_dir/libX11.$ac_extension"; then
8736 ac_x_libraries=$ac_dir
8737 break 2
8739 done
8740 done
8742 rm -f core conftest.err conftest.$ac_objext \
8743 conftest$ac_exeext conftest.$ac_ext
8744 fi # $ac_x_libraries = no
8746 case $ac_x_includes,$ac_x_libraries in #(
8747 no,* | *,no | *\'*)
8748 # Didn't find X, or a directory has "'" in its name.
8749 ac_cv_have_x="have_x=no";; #(
8751 # Record where we found X for the cache.
8752 ac_cv_have_x="have_x=yes\
8753 ac_x_includes='$ac_x_includes'\
8754 ac_x_libraries='$ac_x_libraries'"
8755 esac
8757 ;; #(
8758 *) have_x=yes;;
8759 esac
8760 eval "$ac_cv_have_x"
8761 fi # $with_x != no
8763 if test "$have_x" != yes; then
8764 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $have_x" >&5
8765 $as_echo "$have_x" >&6; }
8766 no_x=yes
8767 else
8768 # If each of the values was on the command line, it overrides each guess.
8769 test "x$x_includes" = xNONE && x_includes=$ac_x_includes
8770 test "x$x_libraries" = xNONE && x_libraries=$ac_x_libraries
8771 # Update the cache value to reflect the command line values.
8772 ac_cv_have_x="have_x=yes\
8773 ac_x_includes='$x_includes'\
8774 ac_x_libraries='$x_libraries'"
8775 { $as_echo "$as_me:${as_lineno-$LINENO}: result: libraries $x_libraries, headers $x_includes" >&5
8776 $as_echo "libraries $x_libraries, headers $x_includes" >&6; }
8779 if test "$no_x" = yes; then
8780 # Not all programs may use this symbol, but it does not hurt to define it.
8782 $as_echo "#define X_DISPLAY_MISSING 1" >>confdefs.h
8784 X_CFLAGS= X_PRE_LIBS= X_LIBS= X_EXTRA_LIBS=
8785 else
8786 if test -n "$x_includes"; then
8787 X_CFLAGS="$X_CFLAGS -I$x_includes"
8790 # It would also be nice to do this for all -L options, not just this one.
8791 if test -n "$x_libraries"; then
8792 X_LIBS="$X_LIBS -L$x_libraries"
8793 # For Solaris; some versions of Sun CC require a space after -R and
8794 # others require no space. Words are not sufficient . . . .
8795 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether -R must be followed by a space" >&5
8796 $as_echo_n "checking whether -R must be followed by a space... " >&6; }
8797 ac_xsave_LIBS=$LIBS; LIBS="$LIBS -R$x_libraries"
8798 ac_xsave_c_werror_flag=$ac_c_werror_flag
8799 ac_c_werror_flag=yes
8800 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
8801 /* end confdefs.h. */
8804 main ()
8808 return 0;
8810 _ACEOF
8811 if ac_fn_c_try_link "$LINENO"; then :
8812 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
8813 $as_echo "no" >&6; }
8814 X_LIBS="$X_LIBS -R$x_libraries"
8815 else
8816 LIBS="$ac_xsave_LIBS -R $x_libraries"
8817 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
8818 /* end confdefs.h. */
8821 main ()
8825 return 0;
8827 _ACEOF
8828 if ac_fn_c_try_link "$LINENO"; then :
8829 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
8830 $as_echo "yes" >&6; }
8831 X_LIBS="$X_LIBS -R $x_libraries"
8832 else
8833 { $as_echo "$as_me:${as_lineno-$LINENO}: result: neither works" >&5
8834 $as_echo "neither works" >&6; }
8836 rm -f core conftest.err conftest.$ac_objext \
8837 conftest$ac_exeext conftest.$ac_ext
8839 rm -f core conftest.err conftest.$ac_objext \
8840 conftest$ac_exeext conftest.$ac_ext
8841 ac_c_werror_flag=$ac_xsave_c_werror_flag
8842 LIBS=$ac_xsave_LIBS
8845 # Check for system-dependent libraries X programs must link with.
8846 # Do this before checking for the system-independent R6 libraries
8847 # (-lICE), since we may need -lsocket or whatever for X linking.
8849 if test "$ISC" = yes; then
8850 X_EXTRA_LIBS="$X_EXTRA_LIBS -lnsl_s -linet"
8851 else
8852 # Martyn Johnson says this is needed for Ultrix, if the X
8853 # libraries were built with DECnet support. And Karl Berry says
8854 # the Alpha needs dnet_stub (dnet does not exist).
8855 ac_xsave_LIBS="$LIBS"; LIBS="$LIBS $X_LIBS -lX11"
8856 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
8857 /* end confdefs.h. */
8859 /* Override any GCC internal prototype to avoid an error.
8860 Use char because int might match the return type of a GCC
8861 builtin and then its argument prototype would still apply. */
8862 #ifdef __cplusplus
8863 extern "C"
8864 #endif
8865 char XOpenDisplay ();
8867 main ()
8869 return XOpenDisplay ();
8871 return 0;
8873 _ACEOF
8874 if ac_fn_c_try_link "$LINENO"; then :
8876 else
8877 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dnet_ntoa in -ldnet" >&5
8878 $as_echo_n "checking for dnet_ntoa in -ldnet... " >&6; }
8879 if ${ac_cv_lib_dnet_dnet_ntoa+:} false; then :
8880 $as_echo_n "(cached) " >&6
8881 else
8882 ac_check_lib_save_LIBS=$LIBS
8883 LIBS="-ldnet $LIBS"
8884 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
8885 /* end confdefs.h. */
8887 /* Override any GCC internal prototype to avoid an error.
8888 Use char because int might match the return type of a GCC
8889 builtin and then its argument prototype would still apply. */
8890 #ifdef __cplusplus
8891 extern "C"
8892 #endif
8893 char dnet_ntoa ();
8895 main ()
8897 return dnet_ntoa ();
8899 return 0;
8901 _ACEOF
8902 if ac_fn_c_try_link "$LINENO"; then :
8903 ac_cv_lib_dnet_dnet_ntoa=yes
8904 else
8905 ac_cv_lib_dnet_dnet_ntoa=no
8907 rm -f core conftest.err conftest.$ac_objext \
8908 conftest$ac_exeext conftest.$ac_ext
8909 LIBS=$ac_check_lib_save_LIBS
8911 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dnet_dnet_ntoa" >&5
8912 $as_echo "$ac_cv_lib_dnet_dnet_ntoa" >&6; }
8913 if test "x$ac_cv_lib_dnet_dnet_ntoa" = xyes; then :
8914 X_EXTRA_LIBS="$X_EXTRA_LIBS -ldnet"
8917 if test $ac_cv_lib_dnet_dnet_ntoa = no; then
8918 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dnet_ntoa in -ldnet_stub" >&5
8919 $as_echo_n "checking for dnet_ntoa in -ldnet_stub... " >&6; }
8920 if ${ac_cv_lib_dnet_stub_dnet_ntoa+:} false; then :
8921 $as_echo_n "(cached) " >&6
8922 else
8923 ac_check_lib_save_LIBS=$LIBS
8924 LIBS="-ldnet_stub $LIBS"
8925 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
8926 /* end confdefs.h. */
8928 /* Override any GCC internal prototype to avoid an error.
8929 Use char because int might match the return type of a GCC
8930 builtin and then its argument prototype would still apply. */
8931 #ifdef __cplusplus
8932 extern "C"
8933 #endif
8934 char dnet_ntoa ();
8936 main ()
8938 return dnet_ntoa ();
8940 return 0;
8942 _ACEOF
8943 if ac_fn_c_try_link "$LINENO"; then :
8944 ac_cv_lib_dnet_stub_dnet_ntoa=yes
8945 else
8946 ac_cv_lib_dnet_stub_dnet_ntoa=no
8948 rm -f core conftest.err conftest.$ac_objext \
8949 conftest$ac_exeext conftest.$ac_ext
8950 LIBS=$ac_check_lib_save_LIBS
8952 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dnet_stub_dnet_ntoa" >&5
8953 $as_echo "$ac_cv_lib_dnet_stub_dnet_ntoa" >&6; }
8954 if test "x$ac_cv_lib_dnet_stub_dnet_ntoa" = xyes; then :
8955 X_EXTRA_LIBS="$X_EXTRA_LIBS -ldnet_stub"
8960 rm -f core conftest.err conftest.$ac_objext \
8961 conftest$ac_exeext conftest.$ac_ext
8962 LIBS="$ac_xsave_LIBS"
8964 # msh@cis.ufl.edu says -lnsl (and -lsocket) are needed for his 386/AT,
8965 # to get the SysV transport functions.
8966 # Chad R. Larson says the Pyramis MIS-ES running DC/OSx (SVR4)
8967 # needs -lnsl.
8968 # The nsl library prevents programs from opening the X display
8969 # on Irix 5.2, according to T.E. Dickey.
8970 # The functions gethostbyname, getservbyname, and inet_addr are
8971 # in -lbsd on LynxOS 3.0.1/i386, according to Lars Hecking.
8972 ac_fn_c_check_func "$LINENO" "gethostbyname" "ac_cv_func_gethostbyname"
8973 if test "x$ac_cv_func_gethostbyname" = xyes; then :
8977 if test $ac_cv_func_gethostbyname = no; then
8978 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for gethostbyname in -lnsl" >&5
8979 $as_echo_n "checking for gethostbyname in -lnsl... " >&6; }
8980 if ${ac_cv_lib_nsl_gethostbyname+:} false; then :
8981 $as_echo_n "(cached) " >&6
8982 else
8983 ac_check_lib_save_LIBS=$LIBS
8984 LIBS="-lnsl $LIBS"
8985 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
8986 /* end confdefs.h. */
8988 /* Override any GCC internal prototype to avoid an error.
8989 Use char because int might match the return type of a GCC
8990 builtin and then its argument prototype would still apply. */
8991 #ifdef __cplusplus
8992 extern "C"
8993 #endif
8994 char gethostbyname ();
8996 main ()
8998 return gethostbyname ();
9000 return 0;
9002 _ACEOF
9003 if ac_fn_c_try_link "$LINENO"; then :
9004 ac_cv_lib_nsl_gethostbyname=yes
9005 else
9006 ac_cv_lib_nsl_gethostbyname=no
9008 rm -f core conftest.err conftest.$ac_objext \
9009 conftest$ac_exeext conftest.$ac_ext
9010 LIBS=$ac_check_lib_save_LIBS
9012 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_nsl_gethostbyname" >&5
9013 $as_echo "$ac_cv_lib_nsl_gethostbyname" >&6; }
9014 if test "x$ac_cv_lib_nsl_gethostbyname" = xyes; then :
9015 X_EXTRA_LIBS="$X_EXTRA_LIBS -lnsl"
9018 if test $ac_cv_lib_nsl_gethostbyname = no; then
9019 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for gethostbyname in -lbsd" >&5
9020 $as_echo_n "checking for gethostbyname in -lbsd... " >&6; }
9021 if ${ac_cv_lib_bsd_gethostbyname+:} false; then :
9022 $as_echo_n "(cached) " >&6
9023 else
9024 ac_check_lib_save_LIBS=$LIBS
9025 LIBS="-lbsd $LIBS"
9026 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9027 /* end confdefs.h. */
9029 /* Override any GCC internal prototype to avoid an error.
9030 Use char because int might match the return type of a GCC
9031 builtin and then its argument prototype would still apply. */
9032 #ifdef __cplusplus
9033 extern "C"
9034 #endif
9035 char gethostbyname ();
9037 main ()
9039 return gethostbyname ();
9041 return 0;
9043 _ACEOF
9044 if ac_fn_c_try_link "$LINENO"; then :
9045 ac_cv_lib_bsd_gethostbyname=yes
9046 else
9047 ac_cv_lib_bsd_gethostbyname=no
9049 rm -f core conftest.err conftest.$ac_objext \
9050 conftest$ac_exeext conftest.$ac_ext
9051 LIBS=$ac_check_lib_save_LIBS
9053 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_bsd_gethostbyname" >&5
9054 $as_echo "$ac_cv_lib_bsd_gethostbyname" >&6; }
9055 if test "x$ac_cv_lib_bsd_gethostbyname" = xyes; then :
9056 X_EXTRA_LIBS="$X_EXTRA_LIBS -lbsd"
9062 # lieder@skyler.mavd.honeywell.com says without -lsocket,
9063 # socket/setsockopt and other routines are undefined under SCO ODT
9064 # 2.0. But -lsocket is broken on IRIX 5.2 (and is not necessary
9065 # on later versions), says Simon Leinen: it contains gethostby*
9066 # variants that don't use the name server (or something). -lsocket
9067 # must be given before -lnsl if both are needed. We assume that
9068 # if connect needs -lnsl, so does gethostbyname.
9069 ac_fn_c_check_func "$LINENO" "connect" "ac_cv_func_connect"
9070 if test "x$ac_cv_func_connect" = xyes; then :
9074 if test $ac_cv_func_connect = no; then
9075 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for connect in -lsocket" >&5
9076 $as_echo_n "checking for connect in -lsocket... " >&6; }
9077 if ${ac_cv_lib_socket_connect+:} false; then :
9078 $as_echo_n "(cached) " >&6
9079 else
9080 ac_check_lib_save_LIBS=$LIBS
9081 LIBS="-lsocket $X_EXTRA_LIBS $LIBS"
9082 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9083 /* end confdefs.h. */
9085 /* Override any GCC internal prototype to avoid an error.
9086 Use char because int might match the return type of a GCC
9087 builtin and then its argument prototype would still apply. */
9088 #ifdef __cplusplus
9089 extern "C"
9090 #endif
9091 char connect ();
9093 main ()
9095 return connect ();
9097 return 0;
9099 _ACEOF
9100 if ac_fn_c_try_link "$LINENO"; then :
9101 ac_cv_lib_socket_connect=yes
9102 else
9103 ac_cv_lib_socket_connect=no
9105 rm -f core conftest.err conftest.$ac_objext \
9106 conftest$ac_exeext conftest.$ac_ext
9107 LIBS=$ac_check_lib_save_LIBS
9109 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_socket_connect" >&5
9110 $as_echo "$ac_cv_lib_socket_connect" >&6; }
9111 if test "x$ac_cv_lib_socket_connect" = xyes; then :
9112 X_EXTRA_LIBS="-lsocket $X_EXTRA_LIBS"
9117 # Guillermo Gomez says -lposix is necessary on A/UX.
9118 ac_fn_c_check_func "$LINENO" "remove" "ac_cv_func_remove"
9119 if test "x$ac_cv_func_remove" = xyes; then :
9123 if test $ac_cv_func_remove = no; then
9124 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for remove in -lposix" >&5
9125 $as_echo_n "checking for remove in -lposix... " >&6; }
9126 if ${ac_cv_lib_posix_remove+:} false; then :
9127 $as_echo_n "(cached) " >&6
9128 else
9129 ac_check_lib_save_LIBS=$LIBS
9130 LIBS="-lposix $LIBS"
9131 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9132 /* end confdefs.h. */
9134 /* Override any GCC internal prototype to avoid an error.
9135 Use char because int might match the return type of a GCC
9136 builtin and then its argument prototype would still apply. */
9137 #ifdef __cplusplus
9138 extern "C"
9139 #endif
9140 char remove ();
9142 main ()
9144 return remove ();
9146 return 0;
9148 _ACEOF
9149 if ac_fn_c_try_link "$LINENO"; then :
9150 ac_cv_lib_posix_remove=yes
9151 else
9152 ac_cv_lib_posix_remove=no
9154 rm -f core conftest.err conftest.$ac_objext \
9155 conftest$ac_exeext conftest.$ac_ext
9156 LIBS=$ac_check_lib_save_LIBS
9158 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_posix_remove" >&5
9159 $as_echo "$ac_cv_lib_posix_remove" >&6; }
9160 if test "x$ac_cv_lib_posix_remove" = xyes; then :
9161 X_EXTRA_LIBS="$X_EXTRA_LIBS -lposix"
9166 # BSDI BSD/OS 2.1 needs -lipc for XOpenDisplay.
9167 ac_fn_c_check_func "$LINENO" "shmat" "ac_cv_func_shmat"
9168 if test "x$ac_cv_func_shmat" = xyes; then :
9172 if test $ac_cv_func_shmat = no; then
9173 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for shmat in -lipc" >&5
9174 $as_echo_n "checking for shmat in -lipc... " >&6; }
9175 if ${ac_cv_lib_ipc_shmat+:} false; then :
9176 $as_echo_n "(cached) " >&6
9177 else
9178 ac_check_lib_save_LIBS=$LIBS
9179 LIBS="-lipc $LIBS"
9180 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9181 /* end confdefs.h. */
9183 /* Override any GCC internal prototype to avoid an error.
9184 Use char because int might match the return type of a GCC
9185 builtin and then its argument prototype would still apply. */
9186 #ifdef __cplusplus
9187 extern "C"
9188 #endif
9189 char shmat ();
9191 main ()
9193 return shmat ();
9195 return 0;
9197 _ACEOF
9198 if ac_fn_c_try_link "$LINENO"; then :
9199 ac_cv_lib_ipc_shmat=yes
9200 else
9201 ac_cv_lib_ipc_shmat=no
9203 rm -f core conftest.err conftest.$ac_objext \
9204 conftest$ac_exeext conftest.$ac_ext
9205 LIBS=$ac_check_lib_save_LIBS
9207 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_ipc_shmat" >&5
9208 $as_echo "$ac_cv_lib_ipc_shmat" >&6; }
9209 if test "x$ac_cv_lib_ipc_shmat" = xyes; then :
9210 X_EXTRA_LIBS="$X_EXTRA_LIBS -lipc"
9216 # Check for libraries that X11R6 Xt/Xaw programs need.
9217 ac_save_LDFLAGS=$LDFLAGS
9218 test -n "$x_libraries" && LDFLAGS="$LDFLAGS -L$x_libraries"
9219 # SM needs ICE to (dynamically) link under SunOS 4.x (so we have to
9220 # check for ICE first), but we must link in the order -lSM -lICE or
9221 # we get undefined symbols. So assume we have SM if we have ICE.
9222 # These have to be linked with before -lX11, unlike the other
9223 # libraries we check for below, so use a different variable.
9224 # John Interrante, Karl Berry
9225 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for IceConnectionNumber in -lICE" >&5
9226 $as_echo_n "checking for IceConnectionNumber in -lICE... " >&6; }
9227 if ${ac_cv_lib_ICE_IceConnectionNumber+:} false; then :
9228 $as_echo_n "(cached) " >&6
9229 else
9230 ac_check_lib_save_LIBS=$LIBS
9231 LIBS="-lICE $X_EXTRA_LIBS $LIBS"
9232 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9233 /* end confdefs.h. */
9235 /* Override any GCC internal prototype to avoid an error.
9236 Use char because int might match the return type of a GCC
9237 builtin and then its argument prototype would still apply. */
9238 #ifdef __cplusplus
9239 extern "C"
9240 #endif
9241 char IceConnectionNumber ();
9243 main ()
9245 return IceConnectionNumber ();
9247 return 0;
9249 _ACEOF
9250 if ac_fn_c_try_link "$LINENO"; then :
9251 ac_cv_lib_ICE_IceConnectionNumber=yes
9252 else
9253 ac_cv_lib_ICE_IceConnectionNumber=no
9255 rm -f core conftest.err conftest.$ac_objext \
9256 conftest$ac_exeext conftest.$ac_ext
9257 LIBS=$ac_check_lib_save_LIBS
9259 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_ICE_IceConnectionNumber" >&5
9260 $as_echo "$ac_cv_lib_ICE_IceConnectionNumber" >&6; }
9261 if test "x$ac_cv_lib_ICE_IceConnectionNumber" = xyes; then :
9262 X_PRE_LIBS="$X_PRE_LIBS -lSM -lICE"
9265 LDFLAGS=$ac_save_LDFLAGS
9270 if test "$have_x" = "yes"
9271 then
9272 ac_save_CPPFLAGS="$CPPFLAGS"
9273 CPPFLAGS="$CPPFLAGS $X_CFLAGS"
9275 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lX11" >&5
9276 $as_echo_n "checking for -lX11... " >&6; }
9277 if ${ac_cv_lib_soname_X11+:} false; then :
9278 $as_echo_n "(cached) " >&6
9279 else
9280 ac_check_soname_save_LIBS=$LIBS
9281 LIBS="-lX11 $X_LIBS $X_EXTRA_LIBS $LIBS"
9282 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9283 /* end confdefs.h. */
9285 /* Override any GCC internal prototype to avoid an error.
9286 Use char because int might match the return type of a GCC
9287 builtin and then its argument prototype would still apply. */
9288 #ifdef __cplusplus
9289 extern "C"
9290 #endif
9291 char XCreateWindow ();
9293 main ()
9295 return XCreateWindow ();
9297 return 0;
9299 _ACEOF
9300 if ac_fn_c_try_link "$LINENO"; then :
9301 case "$LIBEXT" in
9302 dll) ac_cv_lib_soname_X11=`$ac_cv_path_LDD conftest.exe | grep "X11" | sed -e "s/dll.*/dll/"';2,$d'` ;;
9303 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'` ;;
9304 *) ac_cv_lib_soname_X11=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libX11\\.$LIBEXT" | sed -e "s/^.*\\[\\(libX11\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
9305 if ${ac_cv_lib_soname_X11:+false} :; then :
9306 ac_cv_lib_soname_X11=`$LDD conftest$ac_exeext | grep "libX11\\.$LIBEXT" | sed -e "s/^.*\(libX11\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
9307 fi ;;
9308 esac
9310 rm -f core conftest.err conftest.$ac_objext \
9311 conftest$ac_exeext conftest.$ac_ext
9312 LIBS=$ac_check_soname_save_LIBS
9314 if ${ac_cv_lib_soname_X11:+false} :; then :
9315 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
9316 $as_echo "not found" >&6; }
9318 else
9319 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_X11" >&5
9320 $as_echo "$ac_cv_lib_soname_X11" >&6; }
9322 cat >>confdefs.h <<_ACEOF
9323 #define SONAME_LIBX11 "$ac_cv_lib_soname_X11"
9324 _ACEOF
9328 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lXext" >&5
9329 $as_echo_n "checking for -lXext... " >&6; }
9330 if ${ac_cv_lib_soname_Xext+:} false; then :
9331 $as_echo_n "(cached) " >&6
9332 else
9333 ac_check_soname_save_LIBS=$LIBS
9334 LIBS="-lXext $X_LIBS -lX11 $X_EXTRA_LIBS $LIBS"
9335 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9336 /* end confdefs.h. */
9338 /* Override any GCC internal prototype to avoid an error.
9339 Use char because int might match the return type of a GCC
9340 builtin and then its argument prototype would still apply. */
9341 #ifdef __cplusplus
9342 extern "C"
9343 #endif
9344 char XextCreateExtension ();
9346 main ()
9348 return XextCreateExtension ();
9350 return 0;
9352 _ACEOF
9353 if ac_fn_c_try_link "$LINENO"; then :
9354 case "$LIBEXT" in
9355 dll) ac_cv_lib_soname_Xext=`$ac_cv_path_LDD conftest.exe | grep "Xext" | sed -e "s/dll.*/dll/"';2,$d'` ;;
9356 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'` ;;
9357 *) ac_cv_lib_soname_Xext=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libXext\\.$LIBEXT" | sed -e "s/^.*\\[\\(libXext\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
9358 if ${ac_cv_lib_soname_Xext:+false} :; then :
9359 ac_cv_lib_soname_Xext=`$LDD conftest$ac_exeext | grep "libXext\\.$LIBEXT" | sed -e "s/^.*\(libXext\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
9360 fi ;;
9361 esac
9363 rm -f core conftest.err conftest.$ac_objext \
9364 conftest$ac_exeext conftest.$ac_ext
9365 LIBS=$ac_check_soname_save_LIBS
9367 if ${ac_cv_lib_soname_Xext:+false} :; then :
9368 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
9369 $as_echo "not found" >&6; }
9371 else
9372 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_Xext" >&5
9373 $as_echo "$ac_cv_lib_soname_Xext" >&6; }
9375 cat >>confdefs.h <<_ACEOF
9376 #define SONAME_LIBXEXT "$ac_cv_lib_soname_Xext"
9377 _ACEOF
9379 X_LIBS="$X_LIBS -lXext"
9381 X_LIBS="$X_LIBS -lX11"
9383 for ac_header in X11/Xlib.h \
9384 X11/XKBlib.h \
9385 X11/Xutil.h \
9386 X11/Xcursor/Xcursor.h \
9387 X11/extensions/shape.h \
9388 X11/extensions/XInput.h \
9389 X11/extensions/XInput2.h \
9390 X11/extensions/XShm.h \
9391 X11/extensions/Xcomposite.h \
9392 X11/extensions/Xinerama.h \
9393 X11/extensions/Xrandr.h \
9394 X11/extensions/Xrender.h \
9395 X11/extensions/xf86vmode.h \
9396 X11/extensions/xf86vmproto.h
9397 do :
9398 as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
9399 ac_fn_c_check_header_compile "$LINENO" "$ac_header" "$as_ac_Header" "#ifdef HAVE_X11_XLIB_H
9400 # include <X11/Xlib.h>
9401 #endif
9402 #ifdef HAVE_X11_XUTIL_H
9403 # include <X11/Xutil.h>
9404 #endif
9406 if eval test \"x\$"$as_ac_Header"\" = x"yes"; then :
9407 cat >>confdefs.h <<_ACEOF
9408 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
9409 _ACEOF
9413 done
9416 if test "$ac_cv_header_X11_XKBlib_h" = "yes"
9417 then
9418 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for XkbQueryExtension in -lX11" >&5
9419 $as_echo_n "checking for XkbQueryExtension in -lX11... " >&6; }
9420 if ${ac_cv_lib_X11_XkbQueryExtension+:} false; then :
9421 $as_echo_n "(cached) " >&6
9422 else
9423 ac_check_lib_save_LIBS=$LIBS
9424 LIBS="-lX11 $X_LIBS $X_EXTRA_LIBS $LIBS"
9425 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9426 /* end confdefs.h. */
9428 /* Override any GCC internal prototype to avoid an error.
9429 Use char because int might match the return type of a GCC
9430 builtin and then its argument prototype would still apply. */
9431 #ifdef __cplusplus
9432 extern "C"
9433 #endif
9434 char XkbQueryExtension ();
9436 main ()
9438 return XkbQueryExtension ();
9440 return 0;
9442 _ACEOF
9443 if ac_fn_c_try_link "$LINENO"; then :
9444 ac_cv_lib_X11_XkbQueryExtension=yes
9445 else
9446 ac_cv_lib_X11_XkbQueryExtension=no
9448 rm -f core conftest.err conftest.$ac_objext \
9449 conftest$ac_exeext conftest.$ac_ext
9450 LIBS=$ac_check_lib_save_LIBS
9452 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_X11_XkbQueryExtension" >&5
9453 $as_echo "$ac_cv_lib_X11_XkbQueryExtension" >&6; }
9454 if test "x$ac_cv_lib_X11_XkbQueryExtension" = xyes; then :
9456 $as_echo "#define HAVE_XKB 1" >>confdefs.h
9462 if test "$ac_cv_header_X11_Xcursor_Xcursor_h" = "yes"
9463 then
9464 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lXcursor" >&5
9465 $as_echo_n "checking for -lXcursor... " >&6; }
9466 if ${ac_cv_lib_soname_Xcursor+:} false; then :
9467 $as_echo_n "(cached) " >&6
9468 else
9469 ac_check_soname_save_LIBS=$LIBS
9470 LIBS="-lXcursor $X_LIBS $X_EXTRA_LIBS $LIBS"
9471 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9472 /* end confdefs.h. */
9474 /* Override any GCC internal prototype to avoid an error.
9475 Use char because int might match the return type of a GCC
9476 builtin and then its argument prototype would still apply. */
9477 #ifdef __cplusplus
9478 extern "C"
9479 #endif
9480 char XcursorImageLoadCursor ();
9482 main ()
9484 return XcursorImageLoadCursor ();
9486 return 0;
9488 _ACEOF
9489 if ac_fn_c_try_link "$LINENO"; then :
9490 case "$LIBEXT" in
9491 dll) ac_cv_lib_soname_Xcursor=`$ac_cv_path_LDD conftest.exe | grep "Xcursor" | sed -e "s/dll.*/dll/"';2,$d'` ;;
9492 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'` ;;
9493 *) ac_cv_lib_soname_Xcursor=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libXcursor\\.$LIBEXT" | sed -e "s/^.*\\[\\(libXcursor\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
9494 if ${ac_cv_lib_soname_Xcursor:+false} :; then :
9495 ac_cv_lib_soname_Xcursor=`$LDD conftest$ac_exeext | grep "libXcursor\\.$LIBEXT" | sed -e "s/^.*\(libXcursor\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
9496 fi ;;
9497 esac
9499 rm -f core conftest.err conftest.$ac_objext \
9500 conftest$ac_exeext conftest.$ac_ext
9501 LIBS=$ac_check_soname_save_LIBS
9503 if ${ac_cv_lib_soname_Xcursor:+false} :; then :
9504 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
9505 $as_echo "not found" >&6; }
9507 else
9508 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_Xcursor" >&5
9509 $as_echo "$ac_cv_lib_soname_Xcursor" >&6; }
9511 cat >>confdefs.h <<_ACEOF
9512 #define SONAME_LIBXCURSOR "$ac_cv_lib_soname_Xcursor"
9513 _ACEOF
9518 if test "x$ac_cv_lib_soname_Xcursor" = "x"; then :
9519 case "x$with_xcursor" in
9520 x) as_fn_append wine_notices "|libxcursor ${notice_platform}development files not found, the Xcursor extension won't be supported." ;;
9521 xno) ;;
9522 *) as_fn_error $? "libxcursor ${notice_platform}development files not found, the Xcursor extension won't be supported.
9523 This is an error since --with-xcursor was requested." "$LINENO" 5 ;;
9524 esac
9527 if test "$ac_cv_header_X11_extensions_XInput_h" = "yes"
9528 then
9529 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lXi" >&5
9530 $as_echo_n "checking for -lXi... " >&6; }
9531 if ${ac_cv_lib_soname_Xi+:} false; then :
9532 $as_echo_n "(cached) " >&6
9533 else
9534 ac_check_soname_save_LIBS=$LIBS
9535 LIBS="-lXi $X_LIBS $X_EXTRA_LIBS $LIBS"
9536 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9537 /* end confdefs.h. */
9539 /* Override any GCC internal prototype to avoid an error.
9540 Use char because int might match the return type of a GCC
9541 builtin and then its argument prototype would still apply. */
9542 #ifdef __cplusplus
9543 extern "C"
9544 #endif
9545 char XOpenDevice ();
9547 main ()
9549 return XOpenDevice ();
9551 return 0;
9553 _ACEOF
9554 if ac_fn_c_try_link "$LINENO"; then :
9555 case "$LIBEXT" in
9556 dll) ac_cv_lib_soname_Xi=`$ac_cv_path_LDD conftest.exe | grep "Xi" | sed -e "s/dll.*/dll/"';2,$d'` ;;
9557 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'` ;;
9558 *) ac_cv_lib_soname_Xi=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libXi\\.$LIBEXT" | sed -e "s/^.*\\[\\(libXi\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
9559 if ${ac_cv_lib_soname_Xi:+false} :; then :
9560 ac_cv_lib_soname_Xi=`$LDD conftest$ac_exeext | grep "libXi\\.$LIBEXT" | sed -e "s/^.*\(libXi\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
9561 fi ;;
9562 esac
9564 rm -f core conftest.err conftest.$ac_objext \
9565 conftest$ac_exeext conftest.$ac_ext
9566 LIBS=$ac_check_soname_save_LIBS
9568 if ${ac_cv_lib_soname_Xi:+false} :; then :
9569 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
9570 $as_echo "not found" >&6; }
9572 else
9573 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_Xi" >&5
9574 $as_echo "$ac_cv_lib_soname_Xi" >&6; }
9576 cat >>confdefs.h <<_ACEOF
9577 #define SONAME_LIBXI "$ac_cv_lib_soname_Xi"
9578 _ACEOF
9583 if test "x$ac_cv_lib_soname_Xi" = "x"; then :
9584 case "x$with_xinput" in
9585 x) as_fn_append wine_notices "|libxi ${notice_platform}development files not found, the Xinput extension won't be supported." ;;
9586 xno) ;;
9587 *) as_fn_error $? "libxi ${notice_platform}development files not found, the Xinput extension won't be supported.
9588 This is an error since --with-xinput was requested." "$LINENO" 5 ;;
9589 esac
9592 if test "x$ac_cv_lib_soname_Xi" != x
9593 then
9594 if test "$ac_cv_header_X11_extensions_XInput2_h" != "yes"; then :
9595 case "x$with_xinput2" in
9596 x) as_fn_append wine_notices "|XInput2 headers not found, the XInput 2 extension won't be supported." ;;
9597 xno) ;;
9598 *) as_fn_error $? "XInput2 headers not found, the XInput 2 extension won't be supported.
9599 This is an error since --with-xinput2 was requested." "$LINENO" 5 ;;
9600 esac
9604 if test "$ac_cv_header_X11_extensions_XShm_h" = "yes"
9605 then
9606 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for XShmQueryExtension in -lXext" >&5
9607 $as_echo_n "checking for XShmQueryExtension in -lXext... " >&6; }
9608 if ${ac_cv_lib_Xext_XShmQueryExtension+:} false; then :
9609 $as_echo_n "(cached) " >&6
9610 else
9611 ac_check_lib_save_LIBS=$LIBS
9612 LIBS="-lXext $X_LIBS $X_EXTRA_LIBS $LIBS"
9613 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9614 /* end confdefs.h. */
9616 /* Override any GCC internal prototype to avoid an error.
9617 Use char because int might match the return type of a GCC
9618 builtin and then its argument prototype would still apply. */
9619 #ifdef __cplusplus
9620 extern "C"
9621 #endif
9622 char XShmQueryExtension ();
9624 main ()
9626 return XShmQueryExtension ();
9628 return 0;
9630 _ACEOF
9631 if ac_fn_c_try_link "$LINENO"; then :
9632 ac_cv_lib_Xext_XShmQueryExtension=yes
9633 else
9634 ac_cv_lib_Xext_XShmQueryExtension=no
9636 rm -f core conftest.err conftest.$ac_objext \
9637 conftest$ac_exeext conftest.$ac_ext
9638 LIBS=$ac_check_lib_save_LIBS
9640 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_Xext_XShmQueryExtension" >&5
9641 $as_echo "$ac_cv_lib_Xext_XShmQueryExtension" >&6; }
9642 if test "x$ac_cv_lib_Xext_XShmQueryExtension" = xyes; then :
9644 $as_echo "#define HAVE_LIBXXSHM 1" >>confdefs.h
9649 if test "$ac_cv_lib_Xext_XShmQueryExtension" != "yes"; then :
9650 case "x$with_xshm" in
9651 x) as_fn_append wine_notices "|XShm ${notice_platform}development files not found, X Shared Memory won't be supported." ;;
9652 xno) ;;
9653 *) as_fn_error $? "XShm ${notice_platform}development files not found, X Shared Memory won't be supported.
9654 This is an error since --with-xshm was requested." "$LINENO" 5 ;;
9655 esac
9658 if test "$ac_cv_header_X11_extensions_shape_h" = "yes"
9659 then
9660 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for XShapeQueryExtension in -lXext" >&5
9661 $as_echo_n "checking for XShapeQueryExtension in -lXext... " >&6; }
9662 if ${ac_cv_lib_Xext_XShapeQueryExtension+:} false; then :
9663 $as_echo_n "(cached) " >&6
9664 else
9665 ac_check_lib_save_LIBS=$LIBS
9666 LIBS="-lXext $X_LIBS $X_EXTRA_LIBS $LIBS"
9667 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9668 /* end confdefs.h. */
9670 /* Override any GCC internal prototype to avoid an error.
9671 Use char because int might match the return type of a GCC
9672 builtin and then its argument prototype would still apply. */
9673 #ifdef __cplusplus
9674 extern "C"
9675 #endif
9676 char XShapeQueryExtension ();
9678 main ()
9680 return XShapeQueryExtension ();
9682 return 0;
9684 _ACEOF
9685 if ac_fn_c_try_link "$LINENO"; then :
9686 ac_cv_lib_Xext_XShapeQueryExtension=yes
9687 else
9688 ac_cv_lib_Xext_XShapeQueryExtension=no
9690 rm -f core conftest.err conftest.$ac_objext \
9691 conftest$ac_exeext conftest.$ac_ext
9692 LIBS=$ac_check_lib_save_LIBS
9694 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_Xext_XShapeQueryExtension" >&5
9695 $as_echo "$ac_cv_lib_Xext_XShapeQueryExtension" >&6; }
9696 if test "x$ac_cv_lib_Xext_XShapeQueryExtension" = xyes; then :
9698 $as_echo "#define HAVE_LIBXSHAPE 1" >>confdefs.h
9703 if test "$ac_cv_lib_Xext_XShapeQueryExtension" != "yes"; then :
9704 case "x$with_xshape" in
9705 x) as_fn_append wine_notices "|XShape ${notice_platform}development files not found, XShape won't be supported." ;;
9706 xno) ;;
9707 *) as_fn_error $? "XShape ${notice_platform}development files not found, XShape won't be supported.
9708 This is an error since --with-xshape was requested." "$LINENO" 5 ;;
9709 esac
9712 if test "$ac_cv_header_X11_extensions_xf86vmode_h" = "yes" -o "$ac_cv_header_X11_extensions_xf86vmproto_h" = "yes"
9713 then
9714 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lXxf86vm" >&5
9715 $as_echo_n "checking for -lXxf86vm... " >&6; }
9716 if ${ac_cv_lib_soname_Xxf86vm+:} false; then :
9717 $as_echo_n "(cached) " >&6
9718 else
9719 ac_check_soname_save_LIBS=$LIBS
9720 LIBS="-lXxf86vm $X_LIBS $X_EXTRA_LIBS $LIBS"
9721 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9722 /* end confdefs.h. */
9724 /* Override any GCC internal prototype to avoid an error.
9725 Use char because int might match the return type of a GCC
9726 builtin and then its argument prototype would still apply. */
9727 #ifdef __cplusplus
9728 extern "C"
9729 #endif
9730 char XF86VidModeQueryExtension ();
9732 main ()
9734 return XF86VidModeQueryExtension ();
9736 return 0;
9738 _ACEOF
9739 if ac_fn_c_try_link "$LINENO"; then :
9740 case "$LIBEXT" in
9741 dll) ac_cv_lib_soname_Xxf86vm=`$ac_cv_path_LDD conftest.exe | grep "Xxf86vm" | sed -e "s/dll.*/dll/"';2,$d'` ;;
9742 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'` ;;
9743 *) ac_cv_lib_soname_Xxf86vm=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libXxf86vm\\.$LIBEXT" | sed -e "s/^.*\\[\\(libXxf86vm\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
9744 if ${ac_cv_lib_soname_Xxf86vm:+false} :; then :
9745 ac_cv_lib_soname_Xxf86vm=`$LDD conftest$ac_exeext | grep "libXxf86vm\\.$LIBEXT" | sed -e "s/^.*\(libXxf86vm\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
9746 fi ;;
9747 esac
9749 rm -f core conftest.err conftest.$ac_objext \
9750 conftest$ac_exeext conftest.$ac_ext
9751 LIBS=$ac_check_soname_save_LIBS
9753 if ${ac_cv_lib_soname_Xxf86vm:+false} :; then :
9754 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
9755 $as_echo "not found" >&6; }
9757 else
9758 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_Xxf86vm" >&5
9759 $as_echo "$ac_cv_lib_soname_Xxf86vm" >&6; }
9761 cat >>confdefs.h <<_ACEOF
9762 #define SONAME_LIBXXF86VM "$ac_cv_lib_soname_Xxf86vm"
9763 _ACEOF
9768 if test "x$ac_cv_lib_soname_Xxf86vm" = "x"; then :
9769 case "x$with_xxf86vm" in
9770 x) as_fn_append wine_notices "|libXxf86vm ${notice_platform}development files not found, XFree86 Vidmode won't be supported." ;;
9771 xno) ;;
9772 *) as_fn_error $? "libXxf86vm ${notice_platform}development files not found, XFree86 Vidmode won't be supported.
9773 This is an error since --with-xxf86vm was requested." "$LINENO" 5 ;;
9774 esac
9777 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"
9778 then
9779 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lXrender" >&5
9780 $as_echo_n "checking for -lXrender... " >&6; }
9781 if ${ac_cv_lib_soname_Xrender+:} false; then :
9782 $as_echo_n "(cached) " >&6
9783 else
9784 ac_check_soname_save_LIBS=$LIBS
9785 LIBS="-lXrender $X_LIBS $X_EXTRA_LIBS $LIBS"
9786 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9787 /* end confdefs.h. */
9789 /* Override any GCC internal prototype to avoid an error.
9790 Use char because int might match the return type of a GCC
9791 builtin and then its argument prototype would still apply. */
9792 #ifdef __cplusplus
9793 extern "C"
9794 #endif
9795 char XRenderQueryExtension ();
9797 main ()
9799 return XRenderQueryExtension ();
9801 return 0;
9803 _ACEOF
9804 if ac_fn_c_try_link "$LINENO"; then :
9805 case "$LIBEXT" in
9806 dll) ac_cv_lib_soname_Xrender=`$ac_cv_path_LDD conftest.exe | grep "Xrender" | sed -e "s/dll.*/dll/"';2,$d'` ;;
9807 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'` ;;
9808 *) ac_cv_lib_soname_Xrender=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libXrender\\.$LIBEXT" | sed -e "s/^.*\\[\\(libXrender\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
9809 if ${ac_cv_lib_soname_Xrender:+false} :; then :
9810 ac_cv_lib_soname_Xrender=`$LDD conftest$ac_exeext | grep "libXrender\\.$LIBEXT" | sed -e "s/^.*\(libXrender\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
9811 fi ;;
9812 esac
9814 rm -f core conftest.err conftest.$ac_objext \
9815 conftest$ac_exeext conftest.$ac_ext
9816 LIBS=$ac_check_soname_save_LIBS
9818 if ${ac_cv_lib_soname_Xrender:+false} :; then :
9819 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
9820 $as_echo "not found" >&6; }
9822 else
9823 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_Xrender" >&5
9824 $as_echo "$ac_cv_lib_soname_Xrender" >&6; }
9826 cat >>confdefs.h <<_ACEOF
9827 #define SONAME_LIBXRENDER "$ac_cv_lib_soname_Xrender"
9828 _ACEOF
9830 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for XRenderSetPictureTransform in -lXrender" >&5
9831 $as_echo_n "checking for XRenderSetPictureTransform in -lXrender... " >&6; }
9832 if ${ac_cv_lib_Xrender_XRenderSetPictureTransform+:} false; then :
9833 $as_echo_n "(cached) " >&6
9834 else
9835 ac_check_lib_save_LIBS=$LIBS
9836 LIBS="-lXrender $X_LIBS $X_EXTRA_LIBS $LIBS"
9837 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9838 /* end confdefs.h. */
9840 /* Override any GCC internal prototype to avoid an error.
9841 Use char because int might match the return type of a GCC
9842 builtin and then its argument prototype would still apply. */
9843 #ifdef __cplusplus
9844 extern "C"
9845 #endif
9846 char XRenderSetPictureTransform ();
9848 main ()
9850 return XRenderSetPictureTransform ();
9852 return 0;
9854 _ACEOF
9855 if ac_fn_c_try_link "$LINENO"; then :
9856 ac_cv_lib_Xrender_XRenderSetPictureTransform=yes
9857 else
9858 ac_cv_lib_Xrender_XRenderSetPictureTransform=no
9860 rm -f core conftest.err conftest.$ac_objext \
9861 conftest$ac_exeext conftest.$ac_ext
9862 LIBS=$ac_check_lib_save_LIBS
9864 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_Xrender_XRenderSetPictureTransform" >&5
9865 $as_echo "$ac_cv_lib_Xrender_XRenderSetPictureTransform" >&6; }
9866 if test "x$ac_cv_lib_Xrender_XRenderSetPictureTransform" = xyes; then :
9868 $as_echo "#define HAVE_XRENDERSETPICTURETRANSFORM 1" >>confdefs.h
9872 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for XRenderCreateLinearGradient in -lXrender" >&5
9873 $as_echo_n "checking for XRenderCreateLinearGradient in -lXrender... " >&6; }
9874 if ${ac_cv_lib_Xrender_XRenderCreateLinearGradient+:} false; then :
9875 $as_echo_n "(cached) " >&6
9876 else
9877 ac_check_lib_save_LIBS=$LIBS
9878 LIBS="-lXrender $X_LIBS $X_EXTRA_LIBS $LIBS"
9879 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9880 /* end confdefs.h. */
9882 /* Override any GCC internal prototype to avoid an error.
9883 Use char because int might match the return type of a GCC
9884 builtin and then its argument prototype would still apply. */
9885 #ifdef __cplusplus
9886 extern "C"
9887 #endif
9888 char XRenderCreateLinearGradient ();
9890 main ()
9892 return XRenderCreateLinearGradient ();
9894 return 0;
9896 _ACEOF
9897 if ac_fn_c_try_link "$LINENO"; then :
9898 ac_cv_lib_Xrender_XRenderCreateLinearGradient=yes
9899 else
9900 ac_cv_lib_Xrender_XRenderCreateLinearGradient=no
9902 rm -f core conftest.err conftest.$ac_objext \
9903 conftest$ac_exeext conftest.$ac_ext
9904 LIBS=$ac_check_lib_save_LIBS
9906 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_Xrender_XRenderCreateLinearGradient" >&5
9907 $as_echo "$ac_cv_lib_Xrender_XRenderCreateLinearGradient" >&6; }
9908 if test "x$ac_cv_lib_Xrender_XRenderCreateLinearGradient" = xyes; then :
9910 $as_echo "#define HAVE_XRENDERCREATELINEARGRADIENT 1" >>confdefs.h
9917 if test "x$ac_cv_lib_soname_Xrender" = "x"; then :
9918 case "x$with_xrender" in
9919 x) as_fn_append wine_warnings "|libxrender ${notice_platform}development files not found, XRender won't be supported." ;;
9920 xno) ;;
9921 *) as_fn_error $? "libxrender ${notice_platform}development files not found, XRender won't be supported.
9922 This is an error since --with-xrender was requested." "$LINENO" 5 ;;
9923 esac
9926 if test "$ac_cv_header_X11_extensions_Xrandr_h" = "yes" -a "x$ac_cv_lib_soname_Xrender" != "x"
9927 then
9928 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9929 /* end confdefs.h. */
9930 #include <X11/Xlib.h>
9931 #include <X11/extensions/Xrandr.h>
9933 main ()
9935 static typeof(XRRSetScreenConfigAndRate) * func; if (func) return 0;
9937 return 0;
9939 _ACEOF
9940 if ac_fn_c_try_compile "$LINENO"; then :
9941 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lXrandr" >&5
9942 $as_echo_n "checking for -lXrandr... " >&6; }
9943 if ${ac_cv_lib_soname_Xrandr+:} false; then :
9944 $as_echo_n "(cached) " >&6
9945 else
9946 ac_check_soname_save_LIBS=$LIBS
9947 LIBS="-lXrandr $X_LIBS $X_EXTRA_LIBS $LIBS"
9948 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9949 /* end confdefs.h. */
9951 /* Override any GCC internal prototype to avoid an error.
9952 Use char because int might match the return type of a GCC
9953 builtin and then its argument prototype would still apply. */
9954 #ifdef __cplusplus
9955 extern "C"
9956 #endif
9957 char XRRQueryExtension ();
9959 main ()
9961 return XRRQueryExtension ();
9963 return 0;
9965 _ACEOF
9966 if ac_fn_c_try_link "$LINENO"; then :
9967 case "$LIBEXT" in
9968 dll) ac_cv_lib_soname_Xrandr=`$ac_cv_path_LDD conftest.exe | grep "Xrandr" | sed -e "s/dll.*/dll/"';2,$d'` ;;
9969 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'` ;;
9970 *) ac_cv_lib_soname_Xrandr=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libXrandr\\.$LIBEXT" | sed -e "s/^.*\\[\\(libXrandr\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
9971 if ${ac_cv_lib_soname_Xrandr:+false} :; then :
9972 ac_cv_lib_soname_Xrandr=`$LDD conftest$ac_exeext | grep "libXrandr\\.$LIBEXT" | sed -e "s/^.*\(libXrandr\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
9973 fi ;;
9974 esac
9976 rm -f core conftest.err conftest.$ac_objext \
9977 conftest$ac_exeext conftest.$ac_ext
9978 LIBS=$ac_check_soname_save_LIBS
9980 if ${ac_cv_lib_soname_Xrandr:+false} :; then :
9981 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
9982 $as_echo "not found" >&6; }
9984 else
9985 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_Xrandr" >&5
9986 $as_echo "$ac_cv_lib_soname_Xrandr" >&6; }
9988 cat >>confdefs.h <<_ACEOF
9989 #define SONAME_LIBXRANDR "$ac_cv_lib_soname_Xrandr"
9990 _ACEOF
9992 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9993 /* end confdefs.h. */
9994 #include <X11/Xlib.h>
9995 #include <X11/extensions/Xrandr.h>
9997 main ()
9999 static typeof(XRRGetScreenResources) *f; if (f) return 0;
10001 return 0;
10003 _ACEOF
10004 if ac_fn_c_try_compile "$LINENO"; then :
10006 $as_echo "#define HAVE_XRRGETSCREENRESOURCES 1" >>confdefs.h
10009 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
10012 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
10014 if test "x$ac_cv_lib_soname_Xrandr" = "x"; then :
10015 case "x$with_xrandr" in
10016 x) as_fn_append wine_notices "|libxrandr ${notice_platform}development files not found, XRandr won't be supported." ;;
10017 xno) ;;
10018 *) as_fn_error $? "libxrandr ${notice_platform}development files not found, XRandr won't be supported.
10019 This is an error since --with-xrandr was requested." "$LINENO" 5 ;;
10020 esac
10023 if test "$ac_cv_header_X11_extensions_Xinerama_h" = "yes"
10024 then
10025 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10026 /* end confdefs.h. */
10027 #include <X11/Xlib.h>
10028 #include <X11/extensions/Xinerama.h>
10030 main ()
10032 static typeof(XineramaQueryScreens) * func; if (func) return 0;
10034 return 0;
10036 _ACEOF
10037 if ac_fn_c_try_compile "$LINENO"; then :
10038 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lXinerama" >&5
10039 $as_echo_n "checking for -lXinerama... " >&6; }
10040 if ${ac_cv_lib_soname_Xinerama+:} false; then :
10041 $as_echo_n "(cached) " >&6
10042 else
10043 ac_check_soname_save_LIBS=$LIBS
10044 LIBS="-lXinerama $X_LIBS $X_EXTRA_LIBS $LIBS"
10045 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10046 /* end confdefs.h. */
10048 /* Override any GCC internal prototype to avoid an error.
10049 Use char because int might match the return type of a GCC
10050 builtin and then its argument prototype would still apply. */
10051 #ifdef __cplusplus
10052 extern "C"
10053 #endif
10054 char XineramaQueryScreens ();
10056 main ()
10058 return XineramaQueryScreens ();
10060 return 0;
10062 _ACEOF
10063 if ac_fn_c_try_link "$LINENO"; then :
10064 case "$LIBEXT" in
10065 dll) ac_cv_lib_soname_Xinerama=`$ac_cv_path_LDD conftest.exe | grep "Xinerama" | sed -e "s/dll.*/dll/"';2,$d'` ;;
10066 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'` ;;
10067 *) ac_cv_lib_soname_Xinerama=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libXinerama\\.$LIBEXT" | sed -e "s/^.*\\[\\(libXinerama\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
10068 if ${ac_cv_lib_soname_Xinerama:+false} :; then :
10069 ac_cv_lib_soname_Xinerama=`$LDD conftest$ac_exeext | grep "libXinerama\\.$LIBEXT" | sed -e "s/^.*\(libXinerama\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
10070 fi ;;
10071 esac
10073 rm -f core conftest.err conftest.$ac_objext \
10074 conftest$ac_exeext conftest.$ac_ext
10075 LIBS=$ac_check_soname_save_LIBS
10077 if ${ac_cv_lib_soname_Xinerama:+false} :; then :
10078 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
10079 $as_echo "not found" >&6; }
10081 else
10082 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_Xinerama" >&5
10083 $as_echo "$ac_cv_lib_soname_Xinerama" >&6; }
10085 cat >>confdefs.h <<_ACEOF
10086 #define SONAME_LIBXINERAMA "$ac_cv_lib_soname_Xinerama"
10087 _ACEOF
10092 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
10094 if test "x$ac_cv_lib_soname_Xinerama" = "x"; then :
10095 case "x$with_xinerama" in
10096 x) as_fn_append wine_notices "|libxinerama ${notice_platform}development files not found, multi-monitor setups won't be supported." ;;
10097 xno) ;;
10098 *) as_fn_error $? "libxinerama ${notice_platform}development files not found, multi-monitor setups won't be supported.
10099 This is an error since --with-xinerama was requested." "$LINENO" 5 ;;
10100 esac
10103 if test "$ac_cv_header_X11_extensions_Xcomposite_h" = "yes"
10104 then
10105 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lXcomposite" >&5
10106 $as_echo_n "checking for -lXcomposite... " >&6; }
10107 if ${ac_cv_lib_soname_Xcomposite+:} false; then :
10108 $as_echo_n "(cached) " >&6
10109 else
10110 ac_check_soname_save_LIBS=$LIBS
10111 LIBS="-lXcomposite $X_LIBS $X_EXTRA_LIBS $LIBS"
10112 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10113 /* end confdefs.h. */
10115 /* Override any GCC internal prototype to avoid an error.
10116 Use char because int might match the return type of a GCC
10117 builtin and then its argument prototype would still apply. */
10118 #ifdef __cplusplus
10119 extern "C"
10120 #endif
10121 char XCompositeRedirectWindow ();
10123 main ()
10125 return XCompositeRedirectWindow ();
10127 return 0;
10129 _ACEOF
10130 if ac_fn_c_try_link "$LINENO"; then :
10131 case "$LIBEXT" in
10132 dll) ac_cv_lib_soname_Xcomposite=`$ac_cv_path_LDD conftest.exe | grep "Xcomposite" | sed -e "s/dll.*/dll/"';2,$d'` ;;
10133 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'` ;;
10134 *) ac_cv_lib_soname_Xcomposite=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libXcomposite\\.$LIBEXT" | sed -e "s/^.*\\[\\(libXcomposite\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
10135 if ${ac_cv_lib_soname_Xcomposite:+false} :; then :
10136 ac_cv_lib_soname_Xcomposite=`$LDD conftest$ac_exeext | grep "libXcomposite\\.$LIBEXT" | sed -e "s/^.*\(libXcomposite\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
10137 fi ;;
10138 esac
10140 rm -f core conftest.err conftest.$ac_objext \
10141 conftest$ac_exeext conftest.$ac_ext
10142 LIBS=$ac_check_soname_save_LIBS
10144 if ${ac_cv_lib_soname_Xcomposite:+false} :; then :
10145 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
10146 $as_echo "not found" >&6; }
10148 else
10149 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_Xcomposite" >&5
10150 $as_echo "$ac_cv_lib_soname_Xcomposite" >&6; }
10152 cat >>confdefs.h <<_ACEOF
10153 #define SONAME_LIBXCOMPOSITE "$ac_cv_lib_soname_Xcomposite"
10154 _ACEOF
10159 if test "x$ac_cv_lib_soname_Xcomposite" = "x"; then :
10160 case "x$with_xcomposite" in
10161 x) as_fn_append wine_notices "|libxcomposite ${notice_platform}development files not found, Xcomposite won't be supported." ;;
10162 xno) ;;
10163 *) as_fn_error $? "libxcomposite ${notice_platform}development files not found, Xcomposite won't be supported.
10164 This is an error since --with-xcomposite was requested." "$LINENO" 5 ;;
10165 esac
10168 ac_fn_c_check_member "$LINENO" "XICCallback" "callback" "ac_cv_member_XICCallback_callback" "#ifdef HAVE_X11_XLIB_H
10169 #include <X11/Xlib.h>
10170 #endif
10172 if test "x$ac_cv_member_XICCallback_callback" = xyes; then :
10174 cat >>confdefs.h <<_ACEOF
10175 #define HAVE_XICCALLBACK_CALLBACK 1
10176 _ACEOF
10180 ac_fn_c_check_member "$LINENO" "XEvent" "xcookie" "ac_cv_member_XEvent_xcookie" "#ifdef HAVE_X11_XLIB_H
10181 #include <X11/Xlib.h>
10182 #endif
10184 if test "x$ac_cv_member_XEvent_xcookie" = xyes; then :
10186 cat >>confdefs.h <<_ACEOF
10187 #define HAVE_XEVENT_XCOOKIE 1
10188 _ACEOF
10195 opengl_msg=""
10196 if test "x$with_opengl" != "xno"
10197 then
10198 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lGL" >&5
10199 $as_echo_n "checking for -lGL... " >&6; }
10200 if ${ac_cv_lib_soname_GL+:} false; then :
10201 $as_echo_n "(cached) " >&6
10202 else
10203 ac_check_soname_save_LIBS=$LIBS
10204 LIBS="-lGL $X_LIBS -lm $X_EXTRA_LIBS $LIBS"
10205 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10206 /* end confdefs.h. */
10208 /* Override any GCC internal prototype to avoid an error.
10209 Use char because int might match the return type of a GCC
10210 builtin and then its argument prototype would still apply. */
10211 #ifdef __cplusplus
10212 extern "C"
10213 #endif
10214 char glXCreateContext ();
10216 main ()
10218 return glXCreateContext ();
10220 return 0;
10222 _ACEOF
10223 if ac_fn_c_try_link "$LINENO"; then :
10224 case "$LIBEXT" in
10225 dll) ac_cv_lib_soname_GL=`$ac_cv_path_LDD conftest.exe | grep "GL" | sed -e "s/dll.*/dll/"';2,$d'` ;;
10226 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'` ;;
10227 *) ac_cv_lib_soname_GL=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libGL\\.$LIBEXT" | sed -e "s/^.*\\[\\(libGL\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
10228 if ${ac_cv_lib_soname_GL:+false} :; then :
10229 ac_cv_lib_soname_GL=`$LDD conftest$ac_exeext | grep "libGL\\.$LIBEXT" | sed -e "s/^.*\(libGL\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
10230 fi ;;
10231 esac
10233 rm -f core conftest.err conftest.$ac_objext \
10234 conftest$ac_exeext conftest.$ac_ext
10235 LIBS=$ac_check_soname_save_LIBS
10237 if ${ac_cv_lib_soname_GL:+false} :; then :
10238 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
10239 $as_echo "not found" >&6; }
10240 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lGL" >&5
10241 $as_echo_n "checking for -lGL... " >&6; }
10242 if ${ac_cv_lib_soname_GL+:} false; then :
10243 $as_echo_n "(cached) " >&6
10244 else
10245 ac_check_soname_save_LIBS=$LIBS
10246 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"
10247 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10248 /* end confdefs.h. */
10250 /* Override any GCC internal prototype to avoid an error.
10251 Use char because int might match the return type of a GCC
10252 builtin and then its argument prototype would still apply. */
10253 #ifdef __cplusplus
10254 extern "C"
10255 #endif
10256 char glXCreateContext ();
10258 main ()
10260 return glXCreateContext ();
10262 return 0;
10264 _ACEOF
10265 if ac_fn_c_try_link "$LINENO"; then :
10266 case "$LIBEXT" in
10267 dll) ac_cv_lib_soname_GL=`$ac_cv_path_LDD conftest.exe | grep "GL" | sed -e "s/dll.*/dll/"';2,$d'` ;;
10268 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'` ;;
10269 *) ac_cv_lib_soname_GL=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libGL\\.$LIBEXT" | sed -e "s/^.*\\[\\(libGL\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
10270 if ${ac_cv_lib_soname_GL:+false} :; then :
10271 ac_cv_lib_soname_GL=`$LDD conftest$ac_exeext | grep "libGL\\.$LIBEXT" | sed -e "s/^.*\(libGL\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
10272 fi ;;
10273 esac
10275 rm -f core conftest.err conftest.$ac_objext \
10276 conftest$ac_exeext conftest.$ac_ext
10277 LIBS=$ac_check_soname_save_LIBS
10279 if ${ac_cv_lib_soname_GL:+false} :; then :
10280 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
10281 $as_echo "not found" >&6; }
10282 if test -f /usr/X11R6/lib/libGL.a
10283 then
10284 opengl_msg="/usr/X11R6/lib/libGL.a is present on your system.
10285 This probably prevents linking to OpenGL. Try deleting the file and restarting configure."
10286 else
10287 opengl_msg="No OpenGL library found on this system."
10289 else
10290 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_GL" >&5
10291 $as_echo "$ac_cv_lib_soname_GL" >&6; }
10293 cat >>confdefs.h <<_ACEOF
10294 #define SONAME_LIBGL "$ac_cv_lib_soname_GL"
10295 _ACEOF
10297 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"
10299 else
10300 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_GL" >&5
10301 $as_echo "$ac_cv_lib_soname_GL" >&6; }
10303 cat >>confdefs.h <<_ACEOF
10304 #define SONAME_LIBGL "$ac_cv_lib_soname_GL"
10305 _ACEOF
10307 OPENGL_LIBS="-lGL"
10309 if test "x$with_glu" != "xno"
10310 then
10311 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for gluLookAt in -lGLU" >&5
10312 $as_echo_n "checking for gluLookAt in -lGLU... " >&6; }
10313 if ${ac_cv_lib_GLU_gluLookAt+:} false; then :
10314 $as_echo_n "(cached) " >&6
10315 else
10316 ac_check_lib_save_LIBS=$LIBS
10317 LIBS="-lGLU $OPENGL_LIBS $X_LIBS -lm $X_EXTRA_LIBS $LIBS"
10318 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10319 /* end confdefs.h. */
10321 /* Override any GCC internal prototype to avoid an error.
10322 Use char because int might match the return type of a GCC
10323 builtin and then its argument prototype would still apply. */
10324 #ifdef __cplusplus
10325 extern "C"
10326 #endif
10327 char gluLookAt ();
10329 main ()
10331 return gluLookAt ();
10333 return 0;
10335 _ACEOF
10336 if ac_fn_c_try_link "$LINENO"; then :
10337 ac_cv_lib_GLU_gluLookAt=yes
10338 else
10339 ac_cv_lib_GLU_gluLookAt=no
10341 rm -f core conftest.err conftest.$ac_objext \
10342 conftest$ac_exeext conftest.$ac_ext
10343 LIBS=$ac_check_lib_save_LIBS
10345 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_GLU_gluLookAt" >&5
10346 $as_echo "$ac_cv_lib_GLU_gluLookAt" >&6; }
10347 if test "x$ac_cv_lib_GLU_gluLookAt" = xyes; then :
10351 if test "x$ac_cv_lib_GLU_gluLookAt" != xyes; then :
10352 case "x$with_glu" in
10353 x) as_fn_append wine_notices "|libGLU ${notice_platform}development files not found, GLU won't be supported." ;;
10354 xno) ;;
10355 *) as_fn_error $? "libGLU ${notice_platform}development files not found, GLU won't be supported.
10356 This is an error since --with-glu was requested." "$LINENO" 5 ;;
10357 esac
10361 if test "x$with_osmesa" != "xno"
10362 then
10363 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lOSMesa" >&5
10364 $as_echo_n "checking for -lOSMesa... " >&6; }
10365 if ${ac_cv_lib_soname_OSMesa+:} false; then :
10366 $as_echo_n "(cached) " >&6
10367 else
10368 ac_check_soname_save_LIBS=$LIBS
10369 LIBS="-lOSMesa $X_LIBS -lm $X_EXTRA_LIBS $LIBS"
10370 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10371 /* end confdefs.h. */
10373 /* Override any GCC internal prototype to avoid an error.
10374 Use char because int might match the return type of a GCC
10375 builtin and then its argument prototype would still apply. */
10376 #ifdef __cplusplus
10377 extern "C"
10378 #endif
10379 char glAccum ();
10381 main ()
10383 return glAccum ();
10385 return 0;
10387 _ACEOF
10388 if ac_fn_c_try_link "$LINENO"; then :
10389 case "$LIBEXT" in
10390 dll) ac_cv_lib_soname_OSMesa=`$ac_cv_path_LDD conftest.exe | grep "OSMesa" | sed -e "s/dll.*/dll/"';2,$d'` ;;
10391 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'` ;;
10392 *) ac_cv_lib_soname_OSMesa=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libOSMesa\\.$LIBEXT" | sed -e "s/^.*\\[\\(libOSMesa\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
10393 if ${ac_cv_lib_soname_OSMesa:+false} :; then :
10394 ac_cv_lib_soname_OSMesa=`$LDD conftest$ac_exeext | grep "libOSMesa\\.$LIBEXT" | sed -e "s/^.*\(libOSMesa\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
10395 fi ;;
10396 esac
10398 rm -f core conftest.err conftest.$ac_objext \
10399 conftest$ac_exeext conftest.$ac_ext
10400 LIBS=$ac_check_soname_save_LIBS
10402 if ${ac_cv_lib_soname_OSMesa:+false} :; then :
10403 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
10404 $as_echo "not found" >&6; }
10406 else
10407 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_OSMesa" >&5
10408 $as_echo "$ac_cv_lib_soname_OSMesa" >&6; }
10410 cat >>confdefs.h <<_ACEOF
10411 #define SONAME_LIBOSMESA "$ac_cv_lib_soname_OSMesa"
10412 _ACEOF
10416 if test "x$ac_cv_lib_soname_OSMesa" = "x"; then :
10417 case "x$with_osmesa" in
10418 x) as_fn_append wine_notices "|libOSMesa ${notice_platform}development files not found (or too old), OpenGL rendering in bitmaps won't be supported." ;;
10419 xno) ;;
10420 *) as_fn_error $? "libOSMesa ${notice_platform}development files not found (or too old), OpenGL rendering in bitmaps won't be supported.
10421 This is an error since --with-osmesa was requested." "$LINENO" 5 ;;
10422 esac
10426 if test -n "$opengl_msg"; then :
10427 case "x$with_opengl" in
10428 x) as_fn_append wine_warnings "|$opengl_msg
10429 OpenGL and Direct3D won't be supported." ;;
10430 xno) ;;
10431 *) as_fn_error $? "$opengl_msg
10432 OpenGL and Direct3D won't be supported.
10433 This is an error since --with-opengl was requested." "$LINENO" 5 ;;
10434 esac
10437 CPPFLAGS="$ac_save_CPPFLAGS"
10438 else
10439 X_CFLAGS=""
10440 X_LIBS=""
10441 enable_winex11_drv=${enable_winex11_drv:-no}
10443 if test "x$X_LIBS" = "x"; then :
10444 case "x$with_x" in
10445 xno) ;;
10446 *) as_fn_error $? "X ${notice_platform}development files not found. Wine will be built
10447 without X support, which probably isn't what you want. You will need
10448 to install ${notice_platform}development packages of Xlib/Xfree86 at the very least.
10449 Use the --without-x option if you really want this." "$LINENO" 5 ;;
10450 esac
10453 test "x$ac_cv_lib_GLU_gluLookAt" != xyes && enable_glu32=${enable_glu32:-no}
10455 if test "$ac_cv_header_CL_cl_h" = "yes"
10456 then
10457 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for clGetPlatformInfo in -lOpenCL" >&5
10458 $as_echo_n "checking for clGetPlatformInfo in -lOpenCL... " >&6; }
10459 if ${ac_cv_lib_OpenCL_clGetPlatformInfo+:} false; then :
10460 $as_echo_n "(cached) " >&6
10461 else
10462 ac_check_lib_save_LIBS=$LIBS
10463 LIBS="-lOpenCL $LIBS"
10464 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10465 /* end confdefs.h. */
10467 /* Override any GCC internal prototype to avoid an error.
10468 Use char because int might match the return type of a GCC
10469 builtin and then its argument prototype would still apply. */
10470 #ifdef __cplusplus
10471 extern "C"
10472 #endif
10473 char clGetPlatformInfo ();
10475 main ()
10477 return clGetPlatformInfo ();
10479 return 0;
10481 _ACEOF
10482 if ac_fn_c_try_link "$LINENO"; then :
10483 ac_cv_lib_OpenCL_clGetPlatformInfo=yes
10484 else
10485 ac_cv_lib_OpenCL_clGetPlatformInfo=no
10487 rm -f core conftest.err conftest.$ac_objext \
10488 conftest$ac_exeext conftest.$ac_ext
10489 LIBS=$ac_check_lib_save_LIBS
10491 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_OpenCL_clGetPlatformInfo" >&5
10492 $as_echo "$ac_cv_lib_OpenCL_clGetPlatformInfo" >&6; }
10493 if test "x$ac_cv_lib_OpenCL_clGetPlatformInfo" = xyes; then :
10494 OPENCL_LIBS="-lOpenCL"
10499 if test "x$ac_cv_lib_OpenCL_clGetPlatformInfo" != xyes; then :
10500 case "x$with_opencl" in
10501 x) as_fn_append wine_notices "|OpenCL ${notice_platform}development files not found, OpenCL won't be supported." ;;
10502 xno) ;;
10503 *) as_fn_error $? "OpenCL ${notice_platform}development files not found, OpenCL won't be supported.
10504 This is an error since --with-opencl was requested." "$LINENO" 5 ;;
10505 esac
10507 test "x$ac_cv_lib_OpenCL_clGetPlatformInfo" != xyes && enable_opencl=${enable_opencl:-no}
10510 if test "x$with_xml" != "xno"
10511 then
10512 if ${XML2_CFLAGS:+false} :; then :
10513 if ${PKG_CONFIG+:} false; then :
10514 XML2_CFLAGS=`$PKG_CONFIG --cflags libxml-2.0 2>/dev/null`
10517 test "$cross_compiling" = yes || XML2_CFLAGS=${XML2_CFLAGS:-`xml2-config --cflags 2>/dev/null`}
10518 if ${XML2_LIBS:+false} :; then :
10519 if ${PKG_CONFIG+:} false; then :
10520 XML2_LIBS=`$PKG_CONFIG --libs libxml-2.0 2>/dev/null`
10523 test "$cross_compiling" = yes || XML2_LIBS=${XML2_LIBS:-`xml2-config --libs 2>/dev/null`}
10524 XML2_LIBS=${XML2_LIBS:-"-lxml2"}
10525 $as_echo "$as_me:${as_lineno-$LINENO}: libxml-2.0 cflags: $XML2_CFLAGS" >&5
10526 $as_echo "$as_me:${as_lineno-$LINENO}: libxml-2.0 libs: $XML2_LIBS" >&5
10527 ac_save_CPPFLAGS=$CPPFLAGS
10528 CPPFLAGS="$CPPFLAGS $XML2_CFLAGS"
10529 for ac_header in libxml/parser.h libxml/xmlsave.h libxml/SAX2.h
10530 do :
10531 as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
10532 ac_fn_c_check_header_mongrel "$LINENO" "$ac_header" "$as_ac_Header" "$ac_includes_default"
10533 if eval test \"x\$"$as_ac_Header"\" = x"yes"; then :
10534 cat >>confdefs.h <<_ACEOF
10535 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
10536 _ACEOF
10540 done
10542 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"
10543 then
10544 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for xmlParseMemory in -lxml2" >&5
10545 $as_echo_n "checking for xmlParseMemory in -lxml2... " >&6; }
10546 if ${ac_cv_lib_xml2_xmlParseMemory+:} false; then :
10547 $as_echo_n "(cached) " >&6
10548 else
10549 ac_check_lib_save_LIBS=$LIBS
10550 LIBS="-lxml2 $XML2_LIBS $LIBS"
10551 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10552 /* end confdefs.h. */
10554 /* Override any GCC internal prototype to avoid an error.
10555 Use char because int might match the return type of a GCC
10556 builtin and then its argument prototype would still apply. */
10557 #ifdef __cplusplus
10558 extern "C"
10559 #endif
10560 char xmlParseMemory ();
10562 main ()
10564 return xmlParseMemory ();
10566 return 0;
10568 _ACEOF
10569 if ac_fn_c_try_link "$LINENO"; then :
10570 ac_cv_lib_xml2_xmlParseMemory=yes
10571 else
10572 ac_cv_lib_xml2_xmlParseMemory=no
10574 rm -f core conftest.err conftest.$ac_objext \
10575 conftest$ac_exeext conftest.$ac_ext
10576 LIBS=$ac_check_lib_save_LIBS
10578 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_xml2_xmlParseMemory" >&5
10579 $as_echo "$ac_cv_lib_xml2_xmlParseMemory" >&6; }
10580 if test "x$ac_cv_lib_xml2_xmlParseMemory" = xyes; then :
10582 $as_echo "#define HAVE_LIBXML2 1" >>confdefs.h
10584 else
10585 XML2_LIBS=""
10588 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for xmlReadMemory in -lxml2" >&5
10589 $as_echo_n "checking for xmlReadMemory in -lxml2... " >&6; }
10590 if ${ac_cv_lib_xml2_xmlReadMemory+:} false; then :
10591 $as_echo_n "(cached) " >&6
10592 else
10593 ac_check_lib_save_LIBS=$LIBS
10594 LIBS="-lxml2 $XML2_LIBS $LIBS"
10595 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10596 /* end confdefs.h. */
10598 /* Override any GCC internal prototype to avoid an error.
10599 Use char because int might match the return type of a GCC
10600 builtin and then its argument prototype would still apply. */
10601 #ifdef __cplusplus
10602 extern "C"
10603 #endif
10604 char xmlReadMemory ();
10606 main ()
10608 return xmlReadMemory ();
10610 return 0;
10612 _ACEOF
10613 if ac_fn_c_try_link "$LINENO"; then :
10614 ac_cv_lib_xml2_xmlReadMemory=yes
10615 else
10616 ac_cv_lib_xml2_xmlReadMemory=no
10618 rm -f core conftest.err conftest.$ac_objext \
10619 conftest$ac_exeext conftest.$ac_ext
10620 LIBS=$ac_check_lib_save_LIBS
10622 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_xml2_xmlReadMemory" >&5
10623 $as_echo "$ac_cv_lib_xml2_xmlReadMemory" >&6; }
10624 if test "x$ac_cv_lib_xml2_xmlReadMemory" = xyes; then :
10626 $as_echo "#define HAVE_XMLREADMEMORY 1" >>confdefs.h
10630 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for xmlNewDocPI in -lxml2" >&5
10631 $as_echo_n "checking for xmlNewDocPI in -lxml2... " >&6; }
10632 if ${ac_cv_lib_xml2_xmlNewDocPI+:} false; then :
10633 $as_echo_n "(cached) " >&6
10634 else
10635 ac_check_lib_save_LIBS=$LIBS
10636 LIBS="-lxml2 $XML2_LIBS $LIBS"
10637 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10638 /* end confdefs.h. */
10640 /* Override any GCC internal prototype to avoid an error.
10641 Use char because int might match the return type of a GCC
10642 builtin and then its argument prototype would still apply. */
10643 #ifdef __cplusplus
10644 extern "C"
10645 #endif
10646 char xmlNewDocPI ();
10648 main ()
10650 return xmlNewDocPI ();
10652 return 0;
10654 _ACEOF
10655 if ac_fn_c_try_link "$LINENO"; then :
10656 ac_cv_lib_xml2_xmlNewDocPI=yes
10657 else
10658 ac_cv_lib_xml2_xmlNewDocPI=no
10660 rm -f core conftest.err conftest.$ac_objext \
10661 conftest$ac_exeext conftest.$ac_ext
10662 LIBS=$ac_check_lib_save_LIBS
10664 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_xml2_xmlNewDocPI" >&5
10665 $as_echo "$ac_cv_lib_xml2_xmlNewDocPI" >&6; }
10666 if test "x$ac_cv_lib_xml2_xmlNewDocPI" = xyes; then :
10668 $as_echo "#define HAVE_XMLNEWDOCPI 1" >>confdefs.h
10672 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for xmlSchemaSetParserStructuredErrors in -lxml2" >&5
10673 $as_echo_n "checking for xmlSchemaSetParserStructuredErrors in -lxml2... " >&6; }
10674 if ${ac_cv_lib_xml2_xmlSchemaSetParserStructuredErrors+:} false; then :
10675 $as_echo_n "(cached) " >&6
10676 else
10677 ac_check_lib_save_LIBS=$LIBS
10678 LIBS="-lxml2 $XML2_LIBS $LIBS"
10679 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10680 /* end confdefs.h. */
10682 /* Override any GCC internal prototype to avoid an error.
10683 Use char because int might match the return type of a GCC
10684 builtin and then its argument prototype would still apply. */
10685 #ifdef __cplusplus
10686 extern "C"
10687 #endif
10688 char xmlSchemaSetParserStructuredErrors ();
10690 main ()
10692 return xmlSchemaSetParserStructuredErrors ();
10694 return 0;
10696 _ACEOF
10697 if ac_fn_c_try_link "$LINENO"; then :
10698 ac_cv_lib_xml2_xmlSchemaSetParserStructuredErrors=yes
10699 else
10700 ac_cv_lib_xml2_xmlSchemaSetParserStructuredErrors=no
10702 rm -f core conftest.err conftest.$ac_objext \
10703 conftest$ac_exeext conftest.$ac_ext
10704 LIBS=$ac_check_lib_save_LIBS
10706 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_xml2_xmlSchemaSetParserStructuredErrors" >&5
10707 $as_echo "$ac_cv_lib_xml2_xmlSchemaSetParserStructuredErrors" >&6; }
10708 if test "x$ac_cv_lib_xml2_xmlSchemaSetParserStructuredErrors" = xyes; then :
10710 $as_echo "#define HAVE_XMLSCHEMASSETPARSERSTRUCTUREDERRORS 1" >>confdefs.h
10714 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for xmlSchemaSetValidStructuredErrors in -lxml2" >&5
10715 $as_echo_n "checking for xmlSchemaSetValidStructuredErrors in -lxml2... " >&6; }
10716 if ${ac_cv_lib_xml2_xmlSchemaSetValidStructuredErrors+:} false; then :
10717 $as_echo_n "(cached) " >&6
10718 else
10719 ac_check_lib_save_LIBS=$LIBS
10720 LIBS="-lxml2 $XML2_LIBS $LIBS"
10721 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10722 /* end confdefs.h. */
10724 /* Override any GCC internal prototype to avoid an error.
10725 Use char because int might match the return type of a GCC
10726 builtin and then its argument prototype would still apply. */
10727 #ifdef __cplusplus
10728 extern "C"
10729 #endif
10730 char xmlSchemaSetValidStructuredErrors ();
10732 main ()
10734 return xmlSchemaSetValidStructuredErrors ();
10736 return 0;
10738 _ACEOF
10739 if ac_fn_c_try_link "$LINENO"; then :
10740 ac_cv_lib_xml2_xmlSchemaSetValidStructuredErrors=yes
10741 else
10742 ac_cv_lib_xml2_xmlSchemaSetValidStructuredErrors=no
10744 rm -f core conftest.err conftest.$ac_objext \
10745 conftest$ac_exeext conftest.$ac_ext
10746 LIBS=$ac_check_lib_save_LIBS
10748 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_xml2_xmlSchemaSetValidStructuredErrors" >&5
10749 $as_echo "$ac_cv_lib_xml2_xmlSchemaSetValidStructuredErrors" >&6; }
10750 if test "x$ac_cv_lib_xml2_xmlSchemaSetValidStructuredErrors" = xyes; then :
10752 $as_echo "#define HAVE_XMLSCHEMASSETVALIDSTRUCTUREDERRORS 1" >>confdefs.h
10756 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for xmlFirstElementChild in -lxml2" >&5
10757 $as_echo_n "checking for xmlFirstElementChild in -lxml2... " >&6; }
10758 if ${ac_cv_lib_xml2_xmlFirstElementChild+:} false; then :
10759 $as_echo_n "(cached) " >&6
10760 else
10761 ac_check_lib_save_LIBS=$LIBS
10762 LIBS="-lxml2 $XML2_LIBS $LIBS"
10763 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10764 /* end confdefs.h. */
10766 /* Override any GCC internal prototype to avoid an error.
10767 Use char because int might match the return type of a GCC
10768 builtin and then its argument prototype would still apply. */
10769 #ifdef __cplusplus
10770 extern "C"
10771 #endif
10772 char xmlFirstElementChild ();
10774 main ()
10776 return xmlFirstElementChild ();
10778 return 0;
10780 _ACEOF
10781 if ac_fn_c_try_link "$LINENO"; then :
10782 ac_cv_lib_xml2_xmlFirstElementChild=yes
10783 else
10784 ac_cv_lib_xml2_xmlFirstElementChild=no
10786 rm -f core conftest.err conftest.$ac_objext \
10787 conftest$ac_exeext conftest.$ac_ext
10788 LIBS=$ac_check_lib_save_LIBS
10790 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_xml2_xmlFirstElementChild" >&5
10791 $as_echo "$ac_cv_lib_xml2_xmlFirstElementChild" >&6; }
10792 if test "x$ac_cv_lib_xml2_xmlFirstElementChild" = xyes; then :
10794 $as_echo "#define HAVE_XMLFIRSTELEMENTCHILD 1" >>confdefs.h
10798 ac_fn_c_check_type "$LINENO" "xmlDocProperties" "ac_cv_type_xmlDocProperties" "#include <libxml/tree.h>
10800 if test "x$ac_cv_type_xmlDocProperties" = xyes; then :
10802 $as_echo "#define HAVE_XMLDOC_PROPERTIES 1" >>confdefs.h
10806 else
10807 XML2_CFLAGS=""
10808 XML2_LIBS=""
10810 CPPFLAGS=$ac_save_CPPFLAGS
10811 test -z "$XML2_CFLAGS" || XML2_CFLAGS=`echo " $XML2_CFLAGS" | sed 's/ -I\([^/]\)/ -I\$(top_builddir)\/\1/g'`
10812 test -z "$XML2_LIBS" || XML2_LIBS=`echo " $XML2_LIBS" | sed 's/ -L\([^/]\)/ -L\$(top_builddir)\/\1/g'`
10815 if test "$ac_cv_lib_xml2_xmlParseMemory" != "yes"; then :
10816 case "x$with_xml" in
10817 x) as_fn_append wine_warnings "|libxml2 ${notice_platform}development files not found (or too old), XML won't be supported." ;;
10818 xno) ;;
10819 *) as_fn_error $? "libxml2 ${notice_platform}development files not found (or too old), XML won't be supported.
10820 This is an error since --with-xml was requested." "$LINENO" 5 ;;
10821 esac
10824 if test "x$with_xslt" != "xno"
10825 then
10826 if ${XSLT_CFLAGS:+false} :; then :
10827 if ${PKG_CONFIG+:} false; then :
10828 XSLT_CFLAGS=`$PKG_CONFIG --cflags libxslt 2>/dev/null`
10831 test "$cross_compiling" = yes || XSLT_CFLAGS=${XSLT_CFLAGS:-`xslt-config --cflags 2>/dev/null`}
10832 if ${XSLT_LIBS:+false} :; then :
10833 if ${PKG_CONFIG+:} false; then :
10834 XSLT_LIBS=`$PKG_CONFIG --libs libxslt 2>/dev/null`
10837 test "$cross_compiling" = yes || XSLT_LIBS=${XSLT_LIBS:-`xslt-config --libs 2>/dev/null`}
10838 XSLT_LIBS=${XSLT_LIBS:-"-lxml2"}
10839 $as_echo "$as_me:${as_lineno-$LINENO}: libxslt cflags: $XSLT_CFLAGS" >&5
10840 $as_echo "$as_me:${as_lineno-$LINENO}: libxslt libs: $XSLT_LIBS" >&5
10841 ac_save_CPPFLAGS=$CPPFLAGS
10842 CPPFLAGS="$CPPFLAGS $XSLT_CFLAGS"
10843 for ac_header in libxslt/pattern.h libxslt/transform.h
10844 do :
10845 as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
10846 ac_fn_c_check_header_compile "$LINENO" "$ac_header" "$as_ac_Header" "#ifdef HAVE_LIBXSLT_PATTERN_H
10847 # include <libxslt/pattern.h>
10848 #endif
10850 if eval test \"x\$"$as_ac_Header"\" = x"yes"; then :
10851 cat >>confdefs.h <<_ACEOF
10852 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
10853 _ACEOF
10857 done
10859 if test "$ac_cv_header_libxslt_transform_h" = "yes"
10860 then
10861 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lxslt" >&5
10862 $as_echo_n "checking for -lxslt... " >&6; }
10863 if ${ac_cv_lib_soname_xslt+:} false; then :
10864 $as_echo_n "(cached) " >&6
10865 else
10866 ac_check_soname_save_LIBS=$LIBS
10867 LIBS="-lxslt $XSLT_LIBS $LIBS"
10868 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10869 /* end confdefs.h. */
10871 /* Override any GCC internal prototype to avoid an error.
10872 Use char because int might match the return type of a GCC
10873 builtin and then its argument prototype would still apply. */
10874 #ifdef __cplusplus
10875 extern "C"
10876 #endif
10877 char xsltCompilePattern ();
10879 main ()
10881 return xsltCompilePattern ();
10883 return 0;
10885 _ACEOF
10886 if ac_fn_c_try_link "$LINENO"; then :
10887 case "$LIBEXT" in
10888 dll) ac_cv_lib_soname_xslt=`$ac_cv_path_LDD conftest.exe | grep "xslt" | sed -e "s/dll.*/dll/"';2,$d'` ;;
10889 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'` ;;
10890 *) ac_cv_lib_soname_xslt=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libxslt\\.$LIBEXT" | sed -e "s/^.*\\[\\(libxslt\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
10891 if ${ac_cv_lib_soname_xslt:+false} :; then :
10892 ac_cv_lib_soname_xslt=`$LDD conftest$ac_exeext | grep "libxslt\\.$LIBEXT" | sed -e "s/^.*\(libxslt\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
10893 fi ;;
10894 esac
10896 rm -f core conftest.err conftest.$ac_objext \
10897 conftest$ac_exeext conftest.$ac_ext
10898 LIBS=$ac_check_soname_save_LIBS
10900 if ${ac_cv_lib_soname_xslt:+false} :; then :
10901 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
10902 $as_echo "not found" >&6; }
10904 else
10905 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_xslt" >&5
10906 $as_echo "$ac_cv_lib_soname_xslt" >&6; }
10908 cat >>confdefs.h <<_ACEOF
10909 #define SONAME_LIBXSLT "$ac_cv_lib_soname_xslt"
10910 _ACEOF
10914 else
10915 XSLT_CFLAGS=""
10917 CPPFLAGS=$ac_save_CPPFLAGS
10918 test -z "$XSLT_CFLAGS" || XSLT_CFLAGS=`echo " $XSLT_CFLAGS" | sed 's/ -I\([^/]\)/ -I\$(top_builddir)\/\1/g'`
10919 test -z "$XSLT_LIBS" || XSLT_LIBS=`echo " $XSLT_LIBS" | sed 's/ -L\([^/]\)/ -L\$(top_builddir)\/\1/g'`
10922 if test "x$ac_cv_lib_soname_xslt" = "x"; then :
10923 case "x$with_xslt" in
10924 x) as_fn_append wine_warnings "|libxslt ${notice_platform}development files not found, xslt won't be supported." ;;
10925 xno) ;;
10926 *) as_fn_error $? "libxslt ${notice_platform}development files not found, xslt won't be supported.
10927 This is an error since --with-xslt was requested." "$LINENO" 5 ;;
10928 esac
10931 if test "x$with_dbus" != "xno"
10932 then
10933 if ${DBUS_CFLAGS:+false} :; then :
10934 if ${PKG_CONFIG+:} false; then :
10935 DBUS_CFLAGS=`$PKG_CONFIG --cflags dbus-1 2>/dev/null`
10939 if ${DBUS_LIBS:+false} :; then :
10940 if ${PKG_CONFIG+:} false; then :
10941 DBUS_LIBS=`$PKG_CONFIG --libs dbus-1 2>/dev/null`
10946 $as_echo "$as_me:${as_lineno-$LINENO}: dbus-1 cflags: $DBUS_CFLAGS" >&5
10947 $as_echo "$as_me:${as_lineno-$LINENO}: dbus-1 libs: $DBUS_LIBS" >&5
10948 ac_save_CPPFLAGS=$CPPFLAGS
10949 CPPFLAGS="$CPPFLAGS $DBUS_CFLAGS"
10950 ac_fn_c_check_header_mongrel "$LINENO" "dbus/dbus.h" "ac_cv_header_dbus_dbus_h" "$ac_includes_default"
10951 if test "x$ac_cv_header_dbus_dbus_h" = xyes; then :
10952 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -ldbus-1" >&5
10953 $as_echo_n "checking for -ldbus-1... " >&6; }
10954 if ${ac_cv_lib_soname_dbus_1+:} false; then :
10955 $as_echo_n "(cached) " >&6
10956 else
10957 ac_check_soname_save_LIBS=$LIBS
10958 LIBS="-ldbus-1 $DBUS_LIBS $LIBS"
10959 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10960 /* end confdefs.h. */
10962 /* Override any GCC internal prototype to avoid an error.
10963 Use char because int might match the return type of a GCC
10964 builtin and then its argument prototype would still apply. */
10965 #ifdef __cplusplus
10966 extern "C"
10967 #endif
10968 char dbus_connection_close ();
10970 main ()
10972 return dbus_connection_close ();
10974 return 0;
10976 _ACEOF
10977 if ac_fn_c_try_link "$LINENO"; then :
10978 case "$LIBEXT" in
10979 dll) ac_cv_lib_soname_dbus_1=`$ac_cv_path_LDD conftest.exe | grep "dbus-1" | sed -e "s/dll.*/dll/"';2,$d'` ;;
10980 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'` ;;
10981 *) 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'`
10982 if ${ac_cv_lib_soname_dbus_1:+false} :; then :
10983 ac_cv_lib_soname_dbus_1=`$LDD conftest$ac_exeext | grep "libdbus-1\\.$LIBEXT" | sed -e "s/^.*\(libdbus-1\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
10984 fi ;;
10985 esac
10987 rm -f core conftest.err conftest.$ac_objext \
10988 conftest$ac_exeext conftest.$ac_ext
10989 LIBS=$ac_check_soname_save_LIBS
10991 if ${ac_cv_lib_soname_dbus_1:+false} :; then :
10992 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
10993 $as_echo "not found" >&6; }
10994 DBUS_CFLAGS=""
10995 else
10996 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_dbus_1" >&5
10997 $as_echo "$ac_cv_lib_soname_dbus_1" >&6; }
10999 cat >>confdefs.h <<_ACEOF
11000 #define SONAME_LIBDBUS_1 "$ac_cv_lib_soname_dbus_1"
11001 _ACEOF
11005 else
11006 DBUS_CFLAGS=""
11010 CPPFLAGS=$ac_save_CPPFLAGS
11011 test -z "$DBUS_CFLAGS" || DBUS_CFLAGS=`echo " $DBUS_CFLAGS" | sed 's/ -I\([^/]\)/ -I\$(top_builddir)\/\1/g'`
11012 test -z "$DBUS_LIBS" || DBUS_LIBS=`echo " $DBUS_LIBS" | sed 's/ -L\([^/]\)/ -L\$(top_builddir)\/\1/g'`
11015 if test "x$ac_cv_lib_soname_dbus_1" = "x" -a \
11016 "x$ac_cv_header_DiskArbitration_DiskArbitration_h" != "xyes"; then :
11017 case "x$with_dbus" in
11018 x) as_fn_append wine_notices "|libdbus ${notice_platform}development files not found, no dynamic device support." ;;
11019 xno) ;;
11020 *) as_fn_error $? "libdbus ${notice_platform}development files not found, no dynamic device support.
11021 This is an error since --with-dbus was requested." "$LINENO" 5 ;;
11022 esac
11025 if test "x$with_hal" != "xno" -a "x$ac_cv_lib_soname_dbus_1" != x
11026 then
11027 if ${HAL_CFLAGS:+false} :; then :
11028 if ${PKG_CONFIG+:} false; then :
11029 HAL_CFLAGS=`$PKG_CONFIG --cflags hal 2>/dev/null`
11033 if ${HAL_LIBS:+false} :; then :
11034 if ${PKG_CONFIG+:} false; then :
11035 HAL_LIBS=`$PKG_CONFIG --libs hal 2>/dev/null`
11039 HAL_LIBS=${HAL_LIBS:-"-ldbus-1"}
11040 $as_echo "$as_me:${as_lineno-$LINENO}: hal cflags: $HAL_CFLAGS" >&5
11041 $as_echo "$as_me:${as_lineno-$LINENO}: hal libs: $HAL_LIBS" >&5
11042 ac_save_CPPFLAGS=$CPPFLAGS
11043 CPPFLAGS="$CPPFLAGS $HAL_CFLAGS"
11044 ac_fn_c_check_header_mongrel "$LINENO" "hal/libhal.h" "ac_cv_header_hal_libhal_h" "$ac_includes_default"
11045 if test "x$ac_cv_header_hal_libhal_h" = xyes; then :
11046 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lhal" >&5
11047 $as_echo_n "checking for -lhal... " >&6; }
11048 if ${ac_cv_lib_soname_hal+:} false; then :
11049 $as_echo_n "(cached) " >&6
11050 else
11051 ac_check_soname_save_LIBS=$LIBS
11052 LIBS="-lhal $HAL_LIBS $LIBS"
11053 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11054 /* end confdefs.h. */
11056 /* Override any GCC internal prototype to avoid an error.
11057 Use char because int might match the return type of a GCC
11058 builtin and then its argument prototype would still apply. */
11059 #ifdef __cplusplus
11060 extern "C"
11061 #endif
11062 char libhal_ctx_new ();
11064 main ()
11066 return libhal_ctx_new ();
11068 return 0;
11070 _ACEOF
11071 if ac_fn_c_try_link "$LINENO"; then :
11072 case "$LIBEXT" in
11073 dll) ac_cv_lib_soname_hal=`$ac_cv_path_LDD conftest.exe | grep "hal" | sed -e "s/dll.*/dll/"';2,$d'` ;;
11074 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'` ;;
11075 *) ac_cv_lib_soname_hal=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libhal\\.$LIBEXT" | sed -e "s/^.*\\[\\(libhal\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
11076 if ${ac_cv_lib_soname_hal:+false} :; then :
11077 ac_cv_lib_soname_hal=`$LDD conftest$ac_exeext | grep "libhal\\.$LIBEXT" | sed -e "s/^.*\(libhal\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
11078 fi ;;
11079 esac
11081 rm -f core conftest.err conftest.$ac_objext \
11082 conftest$ac_exeext conftest.$ac_ext
11083 LIBS=$ac_check_soname_save_LIBS
11085 if ${ac_cv_lib_soname_hal:+false} :; then :
11086 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
11087 $as_echo "not found" >&6; }
11088 HAL_CFLAGS=""
11089 else
11090 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_hal" >&5
11091 $as_echo "$ac_cv_lib_soname_hal" >&6; }
11093 cat >>confdefs.h <<_ACEOF
11094 #define SONAME_LIBHAL "$ac_cv_lib_soname_hal"
11095 _ACEOF
11099 else
11100 HAL_CFLAGS=""
11104 CPPFLAGS=$ac_save_CPPFLAGS
11105 test -z "$HAL_CFLAGS" || HAL_CFLAGS=`echo " $HAL_CFLAGS" | sed 's/ -I\([^/]\)/ -I\$(top_builddir)\/\1/g'`
11106 test -z "$HAL_LIBS" || HAL_LIBS=`echo " $HAL_LIBS" | sed 's/ -L\([^/]\)/ -L\$(top_builddir)\/\1/g'`
11108 if test "x$ac_cv_lib_soname_hal" = "x" -a \
11109 "x$ac_cv_header_DiskArbitration_DiskArbitration_h" != "xyes"; then :
11110 case "x$with_hal" in
11111 x) as_fn_append wine_notices "|libhal ${notice_platform}development files not found, no legacy dynamic device support." ;;
11112 xno) ;;
11113 *) as_fn_error $? "libhal ${notice_platform}development files not found, no legacy dynamic device support.
11114 This is an error since --with-hal was requested." "$LINENO" 5 ;;
11115 esac
11119 if test "x$with_gnutls" != "xno"
11120 then
11121 if ${GNUTLS_CFLAGS:+false} :; then :
11122 if ${PKG_CONFIG+:} false; then :
11123 GNUTLS_CFLAGS=`$PKG_CONFIG --cflags gnutls 2>/dev/null`
11127 if ${GNUTLS_LIBS:+false} :; then :
11128 if ${PKG_CONFIG+:} false; then :
11129 GNUTLS_LIBS=`$PKG_CONFIG --libs gnutls 2>/dev/null`
11134 $as_echo "$as_me:${as_lineno-$LINENO}: gnutls cflags: $GNUTLS_CFLAGS" >&5
11135 $as_echo "$as_me:${as_lineno-$LINENO}: gnutls libs: $GNUTLS_LIBS" >&5
11136 ac_save_CPPFLAGS=$CPPFLAGS
11137 CPPFLAGS="$CPPFLAGS $GNUTLS_CFLAGS"
11138 ac_fn_c_check_header_mongrel "$LINENO" "gnutls/gnutls.h" "ac_cv_header_gnutls_gnutls_h" "$ac_includes_default"
11139 if test "x$ac_cv_header_gnutls_gnutls_h" = xyes; then :
11140 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11141 /* end confdefs.h. */
11142 #include <gnutls/gnutls.h>
11143 #include <gnutls/crypto.h>
11145 main ()
11147 static typeof(gnutls_mac_get_key_size) *func; if (func) return 0;
11149 return 0;
11151 _ACEOF
11152 if ac_fn_c_try_compile "$LINENO"; then :
11153 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lgnutls" >&5
11154 $as_echo_n "checking for -lgnutls... " >&6; }
11155 if ${ac_cv_lib_soname_gnutls+:} false; then :
11156 $as_echo_n "(cached) " >&6
11157 else
11158 ac_check_soname_save_LIBS=$LIBS
11159 LIBS="-lgnutls $GNUTLS_LIBS $LIBS"
11160 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11161 /* end confdefs.h. */
11163 /* Override any GCC internal prototype to avoid an error.
11164 Use char because int might match the return type of a GCC
11165 builtin and then its argument prototype would still apply. */
11166 #ifdef __cplusplus
11167 extern "C"
11168 #endif
11169 char gnutls_global_init ();
11171 main ()
11173 return gnutls_global_init ();
11175 return 0;
11177 _ACEOF
11178 if ac_fn_c_try_link "$LINENO"; then :
11179 case "$LIBEXT" in
11180 dll) ac_cv_lib_soname_gnutls=`$ac_cv_path_LDD conftest.exe | grep "gnutls" | sed -e "s/dll.*/dll/"';2,$d'` ;;
11181 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'` ;;
11182 *) ac_cv_lib_soname_gnutls=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libgnutls\\.$LIBEXT" | sed -e "s/^.*\\[\\(libgnutls\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
11183 if ${ac_cv_lib_soname_gnutls:+false} :; then :
11184 ac_cv_lib_soname_gnutls=`$LDD conftest$ac_exeext | grep "libgnutls\\.$LIBEXT" | sed -e "s/^.*\(libgnutls\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
11185 fi ;;
11186 esac
11188 rm -f core conftest.err conftest.$ac_objext \
11189 conftest$ac_exeext conftest.$ac_ext
11190 LIBS=$ac_check_soname_save_LIBS
11192 if ${ac_cv_lib_soname_gnutls:+false} :; then :
11193 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
11194 $as_echo "not found" >&6; }
11195 GNUTLS_CFLAGS=""
11196 else
11197 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_gnutls" >&5
11198 $as_echo "$ac_cv_lib_soname_gnutls" >&6; }
11200 cat >>confdefs.h <<_ACEOF
11201 #define SONAME_LIBGNUTLS "$ac_cv_lib_soname_gnutls"
11202 _ACEOF
11207 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
11208 else
11209 GNUTLS_CFLAGS=""
11213 CPPFLAGS=$ac_save_CPPFLAGS
11214 test -z "$GNUTLS_CFLAGS" || GNUTLS_CFLAGS=`echo " $GNUTLS_CFLAGS" | sed 's/ -I\([^/]\)/ -I\$(top_builddir)\/\1/g'`
11215 test -z "$GNUTLS_LIBS" || GNUTLS_LIBS=`echo " $GNUTLS_LIBS" | sed 's/ -L\([^/]\)/ -L\$(top_builddir)\/\1/g'`
11218 if test "x$ac_cv_lib_soname_gnutls" = "x"; then :
11219 case "x$with_gnutls" in
11220 x) as_fn_append wine_warnings "|libgnutls ${notice_platform}development files not found, no schannel support." ;;
11221 xno) ;;
11222 *) as_fn_error $? "libgnutls ${notice_platform}development files not found, no schannel support.
11223 This is an error since --with-gnutls was requested." "$LINENO" 5 ;;
11224 esac
11227 CURSES_LIBS=""
11228 if test "$ac_cv_header_ncurses_h" = "yes"
11229 then
11230 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lncurses" >&5
11231 $as_echo_n "checking for -lncurses... " >&6; }
11232 if ${ac_cv_lib_soname_ncurses+:} false; then :
11233 $as_echo_n "(cached) " >&6
11234 else
11235 ac_check_soname_save_LIBS=$LIBS
11236 LIBS="-lncurses $LIBS"
11237 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11238 /* end confdefs.h. */
11240 /* Override any GCC internal prototype to avoid an error.
11241 Use char because int might match the return type of a GCC
11242 builtin and then its argument prototype would still apply. */
11243 #ifdef __cplusplus
11244 extern "C"
11245 #endif
11246 char waddch ();
11248 main ()
11250 return waddch ();
11252 return 0;
11254 _ACEOF
11255 if ac_fn_c_try_link "$LINENO"; then :
11256 case "$LIBEXT" in
11257 dll) ac_cv_lib_soname_ncurses=`$ac_cv_path_LDD conftest.exe | grep "ncurses" | sed -e "s/dll.*/dll/"';2,$d'` ;;
11258 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'` ;;
11259 *) ac_cv_lib_soname_ncurses=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libncurses\\.$LIBEXT" | sed -e "s/^.*\\[\\(libncurses\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
11260 if ${ac_cv_lib_soname_ncurses:+false} :; then :
11261 ac_cv_lib_soname_ncurses=`$LDD conftest$ac_exeext | grep "libncurses\\.$LIBEXT" | sed -e "s/^.*\(libncurses\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
11262 fi ;;
11263 esac
11265 rm -f core conftest.err conftest.$ac_objext \
11266 conftest$ac_exeext conftest.$ac_ext
11267 LIBS=$ac_check_soname_save_LIBS
11269 if ${ac_cv_lib_soname_ncurses:+false} :; then :
11270 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
11271 $as_echo "not found" >&6; }
11273 else
11274 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_ncurses" >&5
11275 $as_echo "$ac_cv_lib_soname_ncurses" >&6; }
11277 cat >>confdefs.h <<_ACEOF
11278 #define SONAME_LIBNCURSES "$ac_cv_lib_soname_ncurses"
11279 _ACEOF
11281 CURSES_LIBS="-lncurses"
11283 elif test "$ac_cv_header_curses_h" = "yes"
11284 then
11285 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lcurses" >&5
11286 $as_echo_n "checking for -lcurses... " >&6; }
11287 if ${ac_cv_lib_soname_curses+:} false; then :
11288 $as_echo_n "(cached) " >&6
11289 else
11290 ac_check_soname_save_LIBS=$LIBS
11291 LIBS="-lcurses $LIBS"
11292 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11293 /* end confdefs.h. */
11295 /* Override any GCC internal prototype to avoid an error.
11296 Use char because int might match the return type of a GCC
11297 builtin and then its argument prototype would still apply. */
11298 #ifdef __cplusplus
11299 extern "C"
11300 #endif
11301 char waddch ();
11303 main ()
11305 return waddch ();
11307 return 0;
11309 _ACEOF
11310 if ac_fn_c_try_link "$LINENO"; then :
11311 case "$LIBEXT" in
11312 dll) ac_cv_lib_soname_curses=`$ac_cv_path_LDD conftest.exe | grep "curses" | sed -e "s/dll.*/dll/"';2,$d'` ;;
11313 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'` ;;
11314 *) ac_cv_lib_soname_curses=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libcurses\\.$LIBEXT" | sed -e "s/^.*\\[\\(libcurses\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
11315 if ${ac_cv_lib_soname_curses:+false} :; then :
11316 ac_cv_lib_soname_curses=`$LDD conftest$ac_exeext | grep "libcurses\\.$LIBEXT" | sed -e "s/^.*\(libcurses\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
11317 fi ;;
11318 esac
11320 rm -f core conftest.err conftest.$ac_objext \
11321 conftest$ac_exeext conftest.$ac_ext
11322 LIBS=$ac_check_soname_save_LIBS
11324 if ${ac_cv_lib_soname_curses:+false} :; then :
11325 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
11326 $as_echo "not found" >&6; }
11328 else
11329 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_curses" >&5
11330 $as_echo "$ac_cv_lib_soname_curses" >&6; }
11332 cat >>confdefs.h <<_ACEOF
11333 #define SONAME_LIBCURSES "$ac_cv_lib_soname_curses"
11334 _ACEOF
11336 CURSES_LIBS="-lcurses"
11339 ac_save_LIBS="$LIBS"
11340 LIBS="$LIBS $CURSES_LIBS"
11341 for ac_func in mousemask
11342 do :
11343 ac_fn_c_check_func "$LINENO" "mousemask" "ac_cv_func_mousemask"
11344 if test "x$ac_cv_func_mousemask" = xyes; then :
11345 cat >>confdefs.h <<_ACEOF
11346 #define HAVE_MOUSEMASK 1
11347 _ACEOF
11350 done
11352 LIBS="$ac_save_LIBS"
11353 if test "x$ac_cv_lib_soname_curses$ac_cv_lib_soname_ncurses" = "x"; then :
11354 case "x$with_curses" in
11355 x) as_fn_append wine_notices "|lib(n)curses ${notice_platform}development files not found, curses won't be supported." ;;
11356 xno) ;;
11357 *) as_fn_error $? "lib(n)curses ${notice_platform}development files not found, curses won't be supported.
11358 This is an error since --with-curses was requested." "$LINENO" 5 ;;
11359 esac
11362 if test "x$with_sane" != "xno"
11363 then
11364 if ${SANE_CFLAGS:+false} :; then :
11365 if ${PKG_CONFIG+:} false; then :
11366 SANE_CFLAGS=`$PKG_CONFIG --cflags libsane 2>/dev/null`
11369 test "$cross_compiling" = yes || SANE_CFLAGS=${SANE_CFLAGS:-`sane-config --cflags 2>/dev/null`}
11370 if ${SANE_LIBS:+false} :; then :
11371 if ${PKG_CONFIG+:} false; then :
11372 SANE_LIBS=`$PKG_CONFIG --libs libsane 2>/dev/null`
11375 test "$cross_compiling" = yes || SANE_LIBS=${SANE_LIBS:-`sane-config --ldflags 2>/dev/null`}
11377 $as_echo "$as_me:${as_lineno-$LINENO}: libsane cflags: $SANE_CFLAGS" >&5
11378 $as_echo "$as_me:${as_lineno-$LINENO}: libsane libs: $SANE_LIBS" >&5
11379 ac_save_CPPFLAGS=$CPPFLAGS
11380 CPPFLAGS="$CPPFLAGS $SANE_CFLAGS"
11381 ac_fn_c_check_header_mongrel "$LINENO" "sane/sane.h" "ac_cv_header_sane_sane_h" "$ac_includes_default"
11382 if test "x$ac_cv_header_sane_sane_h" = xyes; then :
11383 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lsane" >&5
11384 $as_echo_n "checking for -lsane... " >&6; }
11385 if ${ac_cv_lib_soname_sane+:} false; then :
11386 $as_echo_n "(cached) " >&6
11387 else
11388 ac_check_soname_save_LIBS=$LIBS
11389 LIBS="-lsane $SANE_LIBS $LIBS"
11390 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11391 /* end confdefs.h. */
11393 /* Override any GCC internal prototype to avoid an error.
11394 Use char because int might match the return type of a GCC
11395 builtin and then its argument prototype would still apply. */
11396 #ifdef __cplusplus
11397 extern "C"
11398 #endif
11399 char sane_init ();
11401 main ()
11403 return sane_init ();
11405 return 0;
11407 _ACEOF
11408 if ac_fn_c_try_link "$LINENO"; then :
11409 case "$LIBEXT" in
11410 dll) ac_cv_lib_soname_sane=`$ac_cv_path_LDD conftest.exe | grep "sane" | sed -e "s/dll.*/dll/"';2,$d'` ;;
11411 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'` ;;
11412 *) ac_cv_lib_soname_sane=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libsane\\.$LIBEXT" | sed -e "s/^.*\\[\\(libsane\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
11413 if ${ac_cv_lib_soname_sane:+false} :; then :
11414 ac_cv_lib_soname_sane=`$LDD conftest$ac_exeext | grep "libsane\\.$LIBEXT" | sed -e "s/^.*\(libsane\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
11415 fi ;;
11416 esac
11418 rm -f core conftest.err conftest.$ac_objext \
11419 conftest$ac_exeext conftest.$ac_ext
11420 LIBS=$ac_check_soname_save_LIBS
11422 if ${ac_cv_lib_soname_sane:+false} :; then :
11423 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
11424 $as_echo "not found" >&6; }
11425 SANE_CFLAGS=""
11426 else
11427 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_sane" >&5
11428 $as_echo "$ac_cv_lib_soname_sane" >&6; }
11430 cat >>confdefs.h <<_ACEOF
11431 #define SONAME_LIBSANE "$ac_cv_lib_soname_sane"
11432 _ACEOF
11436 else
11437 SANE_CFLAGS=""
11441 CPPFLAGS=$ac_save_CPPFLAGS
11442 test -z "$SANE_CFLAGS" || SANE_CFLAGS=`echo " $SANE_CFLAGS" | sed 's/ -I\([^/]\)/ -I\$(top_builddir)\/\1/g'`
11443 test -z "$SANE_LIBS" || SANE_LIBS=`echo " $SANE_LIBS" | sed 's/ -L\([^/]\)/ -L\$(top_builddir)\/\1/g'`
11446 if test "x$ac_cv_lib_soname_sane" = "x"; then :
11447 case "x$with_sane" in
11448 x) as_fn_append wine_notices "|libsane ${notice_platform}development files not found, scanners won't be supported." ;;
11449 xno) ;;
11450 *) as_fn_error $? "libsane ${notice_platform}development files not found, scanners won't be supported.
11451 This is an error since --with-sane was requested." "$LINENO" 5 ;;
11452 esac
11455 if test "x$with_v4l" != "xno"
11456 then
11457 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lv4l1" >&5
11458 $as_echo_n "checking for -lv4l1... " >&6; }
11459 if ${ac_cv_lib_soname_v4l1+:} false; then :
11460 $as_echo_n "(cached) " >&6
11461 else
11462 ac_check_soname_save_LIBS=$LIBS
11463 LIBS="-lv4l1 $LIBS"
11464 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11465 /* end confdefs.h. */
11467 /* Override any GCC internal prototype to avoid an error.
11468 Use char because int might match the return type of a GCC
11469 builtin and then its argument prototype would still apply. */
11470 #ifdef __cplusplus
11471 extern "C"
11472 #endif
11473 char v4l1_open ();
11475 main ()
11477 return v4l1_open ();
11479 return 0;
11481 _ACEOF
11482 if ac_fn_c_try_link "$LINENO"; then :
11483 case "$LIBEXT" in
11484 dll) ac_cv_lib_soname_v4l1=`$ac_cv_path_LDD conftest.exe | grep "v4l1" | sed -e "s/dll.*/dll/"';2,$d'` ;;
11485 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'` ;;
11486 *) ac_cv_lib_soname_v4l1=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libv4l1\\.$LIBEXT" | sed -e "s/^.*\\[\\(libv4l1\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
11487 if ${ac_cv_lib_soname_v4l1:+false} :; then :
11488 ac_cv_lib_soname_v4l1=`$LDD conftest$ac_exeext | grep "libv4l1\\.$LIBEXT" | sed -e "s/^.*\(libv4l1\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
11489 fi ;;
11490 esac
11492 rm -f core conftest.err conftest.$ac_objext \
11493 conftest$ac_exeext conftest.$ac_ext
11494 LIBS=$ac_check_soname_save_LIBS
11496 if ${ac_cv_lib_soname_v4l1:+false} :; then :
11497 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
11498 $as_echo "not found" >&6; }
11500 else
11501 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_v4l1" >&5
11502 $as_echo "$ac_cv_lib_soname_v4l1" >&6; }
11504 cat >>confdefs.h <<_ACEOF
11505 #define SONAME_LIBV4L1 "$ac_cv_lib_soname_v4l1"
11506 _ACEOF
11511 if test "x$ac_cv_lib_soname_v4l1" = "x"; then :
11512 case "x$with_v4l" in
11513 x) as_fn_append wine_notices "|libv4l ${notice_platform}development files not found." ;;
11514 xno) ;;
11515 *) as_fn_error $? "libv4l ${notice_platform}development files not found.
11516 This is an error since --with-v4l was requested." "$LINENO" 5 ;;
11517 esac
11520 if test "x$with_gphoto" != "xno"
11521 then
11522 if ${GPHOTO2_CFLAGS:+false} :; then :
11523 if ${PKG_CONFIG+:} false; then :
11524 GPHOTO2_CFLAGS=`$PKG_CONFIG --cflags libgphoto2 2>/dev/null`
11527 test "$cross_compiling" = yes || GPHOTO2_CFLAGS=${GPHOTO2_CFLAGS:-`gphoto2-config --cflags 2>/dev/null`}
11528 if ${GPHOTO2_LIBS:+false} :; then :
11529 if ${PKG_CONFIG+:} false; then :
11530 GPHOTO2_LIBS=`$PKG_CONFIG --libs libgphoto2 2>/dev/null`
11533 test "$cross_compiling" = yes || GPHOTO2_LIBS=${GPHOTO2_LIBS:-`gphoto2-config --libs 2>/dev/null`}
11534 GPHOTO2_LIBS=${GPHOTO2_LIBS:-"-lgphoto2"}
11535 $as_echo "$as_me:${as_lineno-$LINENO}: libgphoto2 cflags: $GPHOTO2_CFLAGS" >&5
11536 $as_echo "$as_me:${as_lineno-$LINENO}: libgphoto2 libs: $GPHOTO2_LIBS" >&5
11537 ac_save_CPPFLAGS=$CPPFLAGS
11538 CPPFLAGS="$CPPFLAGS $GPHOTO2_CFLAGS"
11539 ac_fn_c_check_header_mongrel "$LINENO" "gphoto2-camera.h" "ac_cv_header_gphoto2_camera_h" "$ac_includes_default"
11540 if test "x$ac_cv_header_gphoto2_camera_h" = xyes; then :
11541 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for gp_camera_new in -lgphoto2" >&5
11542 $as_echo_n "checking for gp_camera_new in -lgphoto2... " >&6; }
11543 if ${ac_cv_lib_gphoto2_gp_camera_new+:} false; then :
11544 $as_echo_n "(cached) " >&6
11545 else
11546 ac_check_lib_save_LIBS=$LIBS
11547 LIBS="-lgphoto2 $GPHOTO2_LIBS $LIBS"
11548 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11549 /* end confdefs.h. */
11551 /* Override any GCC internal prototype to avoid an error.
11552 Use char because int might match the return type of a GCC
11553 builtin and then its argument prototype would still apply. */
11554 #ifdef __cplusplus
11555 extern "C"
11556 #endif
11557 char gp_camera_new ();
11559 main ()
11561 return gp_camera_new ();
11563 return 0;
11565 _ACEOF
11566 if ac_fn_c_try_link "$LINENO"; then :
11567 ac_cv_lib_gphoto2_gp_camera_new=yes
11568 else
11569 ac_cv_lib_gphoto2_gp_camera_new=no
11571 rm -f core conftest.err conftest.$ac_objext \
11572 conftest$ac_exeext conftest.$ac_ext
11573 LIBS=$ac_check_lib_save_LIBS
11575 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_gphoto2_gp_camera_new" >&5
11576 $as_echo "$ac_cv_lib_gphoto2_gp_camera_new" >&6; }
11577 if test "x$ac_cv_lib_gphoto2_gp_camera_new" = xyes; then :
11579 $as_echo "#define HAVE_GPHOTO2 1" >>confdefs.h
11581 else
11582 GPHOTO2_LIBS=""; GPHOTO2_CFLAGS=""
11585 else
11586 GPHOTO2_LIBS=""; GPHOTO2_CFLAGS=""
11590 CPPFLAGS=$ac_save_CPPFLAGS
11591 test -z "$GPHOTO2_CFLAGS" || GPHOTO2_CFLAGS=`echo " $GPHOTO2_CFLAGS" | sed 's/ -I\([^/]\)/ -I\$(top_builddir)\/\1/g'`
11592 test -z "$GPHOTO2_LIBS" || GPHOTO2_LIBS=`echo " $GPHOTO2_LIBS" | sed 's/ -L\([^/]\)/ -L\$(top_builddir)\/\1/g'`
11594 if ${GPHOTO2_PORT_CFLAGS:+false} :; then :
11595 if ${PKG_CONFIG+:} false; then :
11596 GPHOTO2_PORT_CFLAGS=`$PKG_CONFIG --cflags libgphoto2_port 2>/dev/null`
11599 test "$cross_compiling" = yes || GPHOTO2_PORT_CFLAGS=${GPHOTO2_PORT_CFLAGS:-`gphoto2-port-config --cflags 2>/dev/null`}
11600 if ${GPHOTO2_PORT_LIBS:+false} :; then :
11601 if ${PKG_CONFIG+:} false; then :
11602 GPHOTO2_PORT_LIBS=`$PKG_CONFIG --libs libgphoto2_port 2>/dev/null`
11605 test "$cross_compiling" = yes || GPHOTO2_PORT_LIBS=${GPHOTO2_PORT_LIBS:-`gphoto2-port-config --libs 2>/dev/null`}
11606 GPHOTO2_PORT_LIBS=${GPHOTO2_PORT_LIBS:-"-lgphoto2_port"}
11607 $as_echo "$as_me:${as_lineno-$LINENO}: libgphoto2_port cflags: $GPHOTO2_PORT_CFLAGS" >&5
11608 $as_echo "$as_me:${as_lineno-$LINENO}: libgphoto2_port libs: $GPHOTO2_PORT_LIBS" >&5
11609 ac_save_CPPFLAGS=$CPPFLAGS
11610 CPPFLAGS="$CPPFLAGS $GPHOTO2_PORT_CFLAGS"
11611 ac_fn_c_check_header_mongrel "$LINENO" "gphoto2-port.h" "ac_cv_header_gphoto2_port_h" "$ac_includes_default"
11612 if test "x$ac_cv_header_gphoto2_port_h" = xyes; then :
11613 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for gp_port_info_list_new in -lgphoto2_port" >&5
11614 $as_echo_n "checking for gp_port_info_list_new in -lgphoto2_port... " >&6; }
11615 if ${ac_cv_lib_gphoto2_port_gp_port_info_list_new+:} false; then :
11616 $as_echo_n "(cached) " >&6
11617 else
11618 ac_check_lib_save_LIBS=$LIBS
11619 LIBS="-lgphoto2_port $GPHOTO2_PORT_LIBS $LIBS"
11620 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11621 /* end confdefs.h. */
11623 /* Override any GCC internal prototype to avoid an error.
11624 Use char because int might match the return type of a GCC
11625 builtin and then its argument prototype would still apply. */
11626 #ifdef __cplusplus
11627 extern "C"
11628 #endif
11629 char gp_port_info_list_new ();
11631 main ()
11633 return gp_port_info_list_new ();
11635 return 0;
11637 _ACEOF
11638 if ac_fn_c_try_link "$LINENO"; then :
11639 ac_cv_lib_gphoto2_port_gp_port_info_list_new=yes
11640 else
11641 ac_cv_lib_gphoto2_port_gp_port_info_list_new=no
11643 rm -f core conftest.err conftest.$ac_objext \
11644 conftest$ac_exeext conftest.$ac_ext
11645 LIBS=$ac_check_lib_save_LIBS
11647 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_gphoto2_port_gp_port_info_list_new" >&5
11648 $as_echo "$ac_cv_lib_gphoto2_port_gp_port_info_list_new" >&6; }
11649 if test "x$ac_cv_lib_gphoto2_port_gp_port_info_list_new" = xyes; then :
11651 $as_echo "#define HAVE_GPHOTO2_PORT 1" >>confdefs.h
11653 else
11654 GPHOTO2_PORT_LIBS=""; GPHOTO2_PORT_CFLAGS=""
11657 else
11658 GPHOTO2_PORT_LIBS=""; GPHOTO2_PORT_CFLAGS=""
11662 CPPFLAGS=$ac_save_CPPFLAGS
11663 test -z "$GPHOTO2_PORT_CFLAGS" || GPHOTO2_PORT_CFLAGS=`echo " $GPHOTO2_PORT_CFLAGS" | sed 's/ -I\([^/]\)/ -I\$(top_builddir)\/\1/g'`
11664 test -z "$GPHOTO2_PORT_LIBS" || GPHOTO2_PORT_LIBS=`echo " $GPHOTO2_PORT_LIBS" | sed 's/ -L\([^/]\)/ -L\$(top_builddir)\/\1/g'`
11667 if test "$ac_cv_lib_gphoto2_gp_camera_new" != "yes"; then :
11668 case "x$with_gphoto" in
11669 x) as_fn_append wine_notices "|libgphoto2 ${notice_platform}development files not found, digital cameras won't be supported." ;;
11670 xno) ;;
11671 *) as_fn_error $? "libgphoto2 ${notice_platform}development files not found, digital cameras won't be supported.
11672 This is an error since --with-gphoto was requested." "$LINENO" 5 ;;
11673 esac
11675 if test "$ac_cv_lib_gphoto2_port_gp_port_info_list_new" != "yes"; then :
11676 case "x$with_gphoto" in
11677 x) as_fn_append wine_notices "|libgphoto2_port ${notice_platform}development files not found, digital cameras won't be auto-detected." ;;
11678 xno) ;;
11679 *) as_fn_error $? "libgphoto2_port ${notice_platform}development files not found, digital cameras won't be auto-detected.
11680 This is an error since --with-gphoto was requested." "$LINENO" 5 ;;
11681 esac
11685 if test "$ac_cv_header_resolv_h" = "yes"
11686 then
11687 ac_save_LIBS="$LIBS"
11688 for lib in '' -lresolv
11690 LIBS="$lib $ac_save_LIBS"
11691 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11692 /* end confdefs.h. */
11693 #ifdef HAVE_NETINET_IN_H
11694 #include <netinet/in.h>
11695 #endif
11696 #include <resolv.h>
11698 main ()
11700 res_query("foo",ns_c_in,0,0,0);
11702 return 0;
11704 _ACEOF
11705 if ac_fn_c_try_link "$LINENO"; then :
11707 $as_echo "#define HAVE_RESOLV 1" >>confdefs.h
11709 RESOLV_LIBS="$lib"
11712 rm -f core conftest.err conftest.$ac_objext \
11713 conftest$ac_exeext conftest.$ac_ext
11714 if test "${RESOLV_LIBS+set}" = set; then
11715 break
11717 done
11718 LIBS="$ac_save_LIBS"
11721 if test "x$with_lcms2" != "xno"
11722 then
11723 if ${LCMS2_CFLAGS:+false} :; then :
11724 if ${PKG_CONFIG+:} false; then :
11725 LCMS2_CFLAGS=`$PKG_CONFIG --cflags lcms2 2>/dev/null`
11729 if ${LCMS2_LIBS:+false} :; then :
11730 if ${PKG_CONFIG+:} false; then :
11731 LCMS2_LIBS=`$PKG_CONFIG --libs lcms2 2>/dev/null`
11735 LCMS2_LIBS=${LCMS2_LIBS:-"-llcms2"}
11736 $as_echo "$as_me:${as_lineno-$LINENO}: lcms2 cflags: $LCMS2_CFLAGS" >&5
11737 $as_echo "$as_me:${as_lineno-$LINENO}: lcms2 libs: $LCMS2_LIBS" >&5
11738 ac_save_CPPFLAGS=$CPPFLAGS
11739 CPPFLAGS="$CPPFLAGS $LCMS2_CFLAGS"
11740 for ac_header in lcms2.h
11741 do :
11742 ac_fn_c_check_header_mongrel "$LINENO" "lcms2.h" "ac_cv_header_lcms2_h" "$ac_includes_default"
11743 if test "x$ac_cv_header_lcms2_h" = xyes; then :
11744 cat >>confdefs.h <<_ACEOF
11745 #define HAVE_LCMS2_H 1
11746 _ACEOF
11750 done
11752 if test "$ac_cv_header_lcms2_h" = "yes"
11753 then
11754 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for cmsOpenProfileFromFile in -llcms2" >&5
11755 $as_echo_n "checking for cmsOpenProfileFromFile in -llcms2... " >&6; }
11756 if ${ac_cv_lib_lcms2_cmsOpenProfileFromFile+:} false; then :
11757 $as_echo_n "(cached) " >&6
11758 else
11759 ac_check_lib_save_LIBS=$LIBS
11760 LIBS="-llcms2 $LCMS2_LIBS $LIBS"
11761 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11762 /* end confdefs.h. */
11764 /* Override any GCC internal prototype to avoid an error.
11765 Use char because int might match the return type of a GCC
11766 builtin and then its argument prototype would still apply. */
11767 #ifdef __cplusplus
11768 extern "C"
11769 #endif
11770 char cmsOpenProfileFromFile ();
11772 main ()
11774 return cmsOpenProfileFromFile ();
11776 return 0;
11778 _ACEOF
11779 if ac_fn_c_try_link "$LINENO"; then :
11780 ac_cv_lib_lcms2_cmsOpenProfileFromFile=yes
11781 else
11782 ac_cv_lib_lcms2_cmsOpenProfileFromFile=no
11784 rm -f core conftest.err conftest.$ac_objext \
11785 conftest$ac_exeext conftest.$ac_ext
11786 LIBS=$ac_check_lib_save_LIBS
11788 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_lcms2_cmsOpenProfileFromFile" >&5
11789 $as_echo "$ac_cv_lib_lcms2_cmsOpenProfileFromFile" >&6; }
11790 if test "x$ac_cv_lib_lcms2_cmsOpenProfileFromFile" = xyes; then :
11792 $as_echo "#define HAVE_LCMS2 1" >>confdefs.h
11794 else
11795 LCMS2_LIBS=""
11798 else
11799 LCMS2_CFLAGS=""
11800 LCMS2_LIBS=""
11802 CPPFLAGS=$ac_save_CPPFLAGS
11803 test -z "$LCMS2_CFLAGS" || LCMS2_CFLAGS=`echo " $LCMS2_CFLAGS" | sed 's/ -I\([^/]\)/ -I\$(top_builddir)\/\1/g'`
11804 test -z "$LCMS2_LIBS" || LCMS2_LIBS=`echo " $LCMS2_LIBS" | sed 's/ -L\([^/]\)/ -L\$(top_builddir)\/\1/g'`
11807 if test "$ac_cv_lib_lcms2_cmsOpenProfileFromFile" != "yes"; then :
11808 case "x$with_cms" in
11809 x) as_fn_append wine_notices "|liblcms2 ${notice_platform}development files not found, Color Management won't be supported." ;;
11810 xno) ;;
11811 *) as_fn_error $? "liblcms2 ${notice_platform}development files not found, Color Management won't be supported.
11812 This is an error since --with-cms was requested." "$LINENO" 5 ;;
11813 esac
11816 if test "x$with_freetype" != "xno"
11817 then
11818 if ${FREETYPE_CFLAGS:+false} :; then :
11819 if ${PKG_CONFIG+:} false; then :
11820 FREETYPE_CFLAGS=`$PKG_CONFIG --cflags freetype2 2>/dev/null`
11823 test "$cross_compiling" = yes || FREETYPE_CFLAGS=${FREETYPE_CFLAGS:-`(freetype-config --cflags || freetype2-config --cflags) 2>/dev/null`}
11824 if ${FREETYPE_LIBS:+false} :; then :
11825 if ${PKG_CONFIG+:} false; then :
11826 FREETYPE_LIBS=`$PKG_CONFIG --libs freetype2 2>/dev/null`
11829 test "$cross_compiling" = yes || FREETYPE_LIBS=${FREETYPE_LIBS:-`(freetype-config --libs || freetype2-config --libs) 2>/dev/null`}
11830 FREETYPE_LIBS=${FREETYPE_LIBS:-"-lfreetype"}
11831 $as_echo "$as_me:${as_lineno-$LINENO}: freetype2 cflags: $FREETYPE_CFLAGS" >&5
11832 $as_echo "$as_me:${as_lineno-$LINENO}: freetype2 libs: $FREETYPE_LIBS" >&5
11833 ac_save_CPPFLAGS=$CPPFLAGS
11834 CPPFLAGS="$CPPFLAGS $FREETYPE_CFLAGS"
11835 for ac_header in ft2build.h
11836 do :
11837 ac_fn_c_check_header_mongrel "$LINENO" "ft2build.h" "ac_cv_header_ft2build_h" "$ac_includes_default"
11838 if test "x$ac_cv_header_ft2build_h" = xyes; then :
11839 cat >>confdefs.h <<_ACEOF
11840 #define HAVE_FT2BUILD_H 1
11841 _ACEOF
11845 done
11847 if test "$ac_cv_header_ft2build_h" = "yes"
11848 then
11849 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lfreetype" >&5
11850 $as_echo_n "checking for -lfreetype... " >&6; }
11851 if ${ac_cv_lib_soname_freetype+:} false; then :
11852 $as_echo_n "(cached) " >&6
11853 else
11854 ac_check_soname_save_LIBS=$LIBS
11855 LIBS="-lfreetype $FREETYPE_LIBS $LIBS"
11856 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11857 /* end confdefs.h. */
11859 /* Override any GCC internal prototype to avoid an error.
11860 Use char because int might match the return type of a GCC
11861 builtin and then its argument prototype would still apply. */
11862 #ifdef __cplusplus
11863 extern "C"
11864 #endif
11865 char FT_Init_FreeType ();
11867 main ()
11869 return FT_Init_FreeType ();
11871 return 0;
11873 _ACEOF
11874 if ac_fn_c_try_link "$LINENO"; then :
11875 case "$LIBEXT" in
11876 dll) ac_cv_lib_soname_freetype=`$ac_cv_path_LDD conftest.exe | grep "freetype" | sed -e "s/dll.*/dll/"';2,$d'` ;;
11877 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'` ;;
11878 *) ac_cv_lib_soname_freetype=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libfreetype\\.$LIBEXT" | sed -e "s/^.*\\[\\(libfreetype\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
11879 if ${ac_cv_lib_soname_freetype:+false} :; then :
11880 ac_cv_lib_soname_freetype=`$LDD conftest$ac_exeext | grep "libfreetype\\.$LIBEXT" | sed -e "s/^.*\(libfreetype\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
11881 fi ;;
11882 esac
11884 rm -f core conftest.err conftest.$ac_objext \
11885 conftest$ac_exeext conftest.$ac_ext
11886 LIBS=$ac_check_soname_save_LIBS
11888 if ${ac_cv_lib_soname_freetype:+false} :; then :
11889 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
11890 $as_echo "not found" >&6; }
11891 FREETYPE_LIBS=""
11892 else
11893 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_freetype" >&5
11894 $as_echo "$ac_cv_lib_soname_freetype" >&6; }
11896 cat >>confdefs.h <<_ACEOF
11897 #define SONAME_LIBFREETYPE "$ac_cv_lib_soname_freetype"
11898 _ACEOF
11901 $as_echo "#define HAVE_FREETYPE 1" >>confdefs.h
11903 ac_fn_c_check_type "$LINENO" "FT_TrueTypeEngineType" "ac_cv_type_FT_TrueTypeEngineType" "#include <ft2build.h>
11904 #include FT_MODULE_H
11906 if test "x$ac_cv_type_FT_TrueTypeEngineType" = xyes; then :
11908 cat >>confdefs.h <<_ACEOF
11909 #define HAVE_FT_TRUETYPEENGINETYPE 1
11910 _ACEOF
11916 else
11917 FREETYPE_CFLAGS=""
11918 FREETYPE_LIBS=""
11920 CPPFLAGS=$ac_save_CPPFLAGS
11921 test -z "$FREETYPE_CFLAGS" || FREETYPE_CFLAGS=`echo " $FREETYPE_CFLAGS" | sed 's/ -I\([^/]\)/ -I\$(top_builddir)\/\1/g'`
11922 test -z "$FREETYPE_LIBS" || FREETYPE_LIBS=`echo " $FREETYPE_LIBS" | sed 's/ -L\([^/]\)/ -L\$(top_builddir)\/\1/g'`
11925 if test "x$ac_cv_lib_soname_freetype" = x; then :
11926 case "x$with_freetype" in
11927 xno) ;;
11928 *) as_fn_error $? "FreeType ${notice_platform}development files not found. Fonts will not be built.
11929 Use the --without-freetype option if you really want this." "$LINENO" 5 ;;
11930 esac
11932 test "x$ac_cv_lib_soname_freetype" = x && enable_fonts=${enable_fonts:-no}
11934 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for parport header/ppdev.h" >&5
11935 $as_echo_n "checking for parport header/ppdev.h... " >&6; }
11936 if ${ac_cv_c_ppdev+:} false; then :
11937 $as_echo_n "(cached) " >&6
11938 else
11939 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11940 /* end confdefs.h. */
11941 #ifdef HAVE_SYS_IOCTL_H
11942 # include <sys/ioctl.h>
11943 #endif
11944 #include <linux/ppdev.h>
11946 main ()
11948 ioctl (1,PPCLAIM,0)
11950 return 0;
11952 _ACEOF
11953 if ac_fn_c_try_compile "$LINENO"; then :
11954 ac_cv_c_ppdev="yes"
11955 else
11956 ac_cv_c_ppdev="no"
11958 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
11960 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_ppdev" >&5
11961 $as_echo "$ac_cv_c_ppdev" >&6; }
11962 if test "$ac_cv_c_ppdev" = "yes"
11963 then
11965 $as_echo "#define HAVE_PPDEV 1" >>confdefs.h
11969 ac_wine_check_funcs_save_LIBS="$LIBS"
11970 LIBS="$LIBS $PTHREAD_LIBS"
11971 for ac_func in \
11972 pthread_attr_get_np \
11973 pthread_getattr_np \
11974 pthread_getthreadid_np \
11975 pthread_get_stackaddr_np \
11976 pthread_get_stacksize_np
11977 do :
11978 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
11979 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
11980 if eval test \"x\$"$as_ac_var"\" = x"yes"; then :
11981 cat >>confdefs.h <<_ACEOF
11982 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
11983 _ACEOF
11986 done
11988 LIBS="$ac_wine_check_funcs_save_LIBS"
11990 if test "$ac_cv_header_zlib_h" = "yes"
11991 then
11992 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for inflate in -lz" >&5
11993 $as_echo_n "checking for inflate in -lz... " >&6; }
11994 if ${ac_cv_lib_z_inflate+:} false; then :
11995 $as_echo_n "(cached) " >&6
11996 else
11997 ac_check_lib_save_LIBS=$LIBS
11998 LIBS="-lz $LIBS"
11999 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12000 /* end confdefs.h. */
12002 /* Override any GCC internal prototype to avoid an error.
12003 Use char because int might match the return type of a GCC
12004 builtin and then its argument prototype would still apply. */
12005 #ifdef __cplusplus
12006 extern "C"
12007 #endif
12008 char inflate ();
12010 main ()
12012 return inflate ();
12014 return 0;
12016 _ACEOF
12017 if ac_fn_c_try_link "$LINENO"; then :
12018 ac_cv_lib_z_inflate=yes
12019 else
12020 ac_cv_lib_z_inflate=no
12022 rm -f core conftest.err conftest.$ac_objext \
12023 conftest$ac_exeext conftest.$ac_ext
12024 LIBS=$ac_check_lib_save_LIBS
12026 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_z_inflate" >&5
12027 $as_echo "$ac_cv_lib_z_inflate" >&6; }
12028 if test "x$ac_cv_lib_z_inflate" = xyes; then :
12030 $as_echo "#define HAVE_ZLIB 1" >>confdefs.h
12032 Z_LIBS="-lz"
12037 if test "x$Z_LIBS" = "x"; then :
12038 case "x$with_zlib" in
12039 x) as_fn_append wine_notices "|libz ${notice_platform}development files not found, data compression won't be supported." ;;
12040 xno) ;;
12041 *) as_fn_error $? "libz ${notice_platform}development files not found, data compression won't be supported.
12042 This is an error since --with-zlib was requested." "$LINENO" 5 ;;
12043 esac
12046 if test "x$enable_tools" != xno
12047 then
12048 if test "$ac_cv_header_gettext_po_h" = "yes"
12049 then
12050 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for po_message_msgctxt in -lgettextpo" >&5
12051 $as_echo_n "checking for po_message_msgctxt in -lgettextpo... " >&6; }
12052 if ${ac_cv_lib_gettextpo_po_message_msgctxt+:} false; then :
12053 $as_echo_n "(cached) " >&6
12054 else
12055 ac_check_lib_save_LIBS=$LIBS
12056 LIBS="-lgettextpo $LIBS"
12057 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12058 /* end confdefs.h. */
12060 /* Override any GCC internal prototype to avoid an error.
12061 Use char because int might match the return type of a GCC
12062 builtin and then its argument prototype would still apply. */
12063 #ifdef __cplusplus
12064 extern "C"
12065 #endif
12066 char po_message_msgctxt ();
12068 main ()
12070 return po_message_msgctxt ();
12072 return 0;
12074 _ACEOF
12075 if ac_fn_c_try_link "$LINENO"; then :
12076 ac_cv_lib_gettextpo_po_message_msgctxt=yes
12077 else
12078 ac_cv_lib_gettextpo_po_message_msgctxt=no
12080 rm -f core conftest.err conftest.$ac_objext \
12081 conftest$ac_exeext conftest.$ac_ext
12082 LIBS=$ac_check_lib_save_LIBS
12084 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_gettextpo_po_message_msgctxt" >&5
12085 $as_echo "$ac_cv_lib_gettextpo_po_message_msgctxt" >&6; }
12086 if test "x$ac_cv_lib_gettextpo_po_message_msgctxt" = xyes; then :
12088 $as_echo "#define HAVE_LIBGETTEXTPO 1" >>confdefs.h
12090 GETTEXTPO_LIBS="-lgettextpo"
12095 test "x$with_gettextpo" != xyes || if test "x$GETTEXTPO_LIBS" = "x"; then :
12096 case "x$with_gettextpo" in
12097 x) as_fn_append wine_notices "|GetText ${notice_platform}development files not found (or too old), po files can't be rebuilt." ;;
12098 xno) ;;
12099 *) as_fn_error $? "GetText ${notice_platform}development files not found (or too old), po files can't be rebuilt.
12100 This is an error since --with-gettextpo was requested." "$LINENO" 5 ;;
12101 esac
12105 if test "x$with_gstreamer" != "xno"
12106 then
12107 if ${GSTREAMER_CFLAGS:+false} :; then :
12108 if ${PKG_CONFIG+:} false; then :
12109 GSTREAMER_CFLAGS=`$PKG_CONFIG --cflags gstreamer-app-0.10 2>/dev/null`
12113 if ${GSTREAMER_LIBS:+false} :; then :
12114 if ${PKG_CONFIG+:} false; then :
12115 GSTREAMER_LIBS=`$PKG_CONFIG --libs gstreamer-app-0.10 2>/dev/null`
12120 $as_echo "$as_me:${as_lineno-$LINENO}: gstreamer-app-0.10 cflags: $GSTREAMER_CFLAGS" >&5
12121 $as_echo "$as_me:${as_lineno-$LINENO}: gstreamer-app-0.10 libs: $GSTREAMER_LIBS" >&5
12122 ac_save_CPPFLAGS=$CPPFLAGS
12123 CPPFLAGS="$CPPFLAGS $GSTREAMER_CFLAGS"
12124 ac_gst_incl=""
12125 for i in $GSTREAMER_CFLAGS
12127 case "$i" in
12128 -I*) ac_gst_incl="$ac_gst_incl $i";;
12129 esac
12130 done
12131 GSTREAMER_CFLAGS=$ac_gst_incl
12132 CPPFLAGS="$ac_save_CPPFLAGS $GSTREAMER_CFLAGS"
12133 ac_fn_c_check_header_mongrel "$LINENO" "gst/gstpad.h" "ac_cv_header_gst_gstpad_h" "$ac_includes_default"
12134 if test "x$ac_cv_header_gst_gstpad_h" = xyes; then :
12135 ac_fn_c_check_header_mongrel "$LINENO" "gst/app/gstappsink.h" "ac_cv_header_gst_app_gstappsink_h" "$ac_includes_default"
12136 if test "x$ac_cv_header_gst_app_gstappsink_h" = xyes; then :
12137 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether gint64 defined by gst/app/gstappsink.h is indeed 64-bit" >&5
12138 $as_echo_n "checking whether gint64 defined by gst/app/gstappsink.h is indeed 64-bit... " >&6; }
12139 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12140 /* end confdefs.h. */
12141 #include <gst/app/gstappsink.h>
12143 main ()
12145 static int a[sizeof(gint64) > 4 ? 1 : -1]; if (a[0]) return 0;
12147 return 0;
12149 _ACEOF
12150 if ac_fn_c_try_compile "$LINENO"; then :
12151 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
12152 $as_echo "yes" >&6; }
12153 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for gst_pad_get_caps_reffed in -lgstreamer-0.10" >&5
12154 $as_echo_n "checking for gst_pad_get_caps_reffed in -lgstreamer-0.10... " >&6; }
12155 if ${ac_cv_lib_gstreamer_0_10_gst_pad_get_caps_reffed+:} false; then :
12156 $as_echo_n "(cached) " >&6
12157 else
12158 ac_check_lib_save_LIBS=$LIBS
12159 LIBS="-lgstreamer-0.10 $LIBS"
12160 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12161 /* end confdefs.h. */
12163 /* Override any GCC internal prototype to avoid an error.
12164 Use char because int might match the return type of a GCC
12165 builtin and then its argument prototype would still apply. */
12166 #ifdef __cplusplus
12167 extern "C"
12168 #endif
12169 char gst_pad_get_caps_reffed ();
12171 main ()
12173 return gst_pad_get_caps_reffed ();
12175 return 0;
12177 _ACEOF
12178 if ac_fn_c_try_link "$LINENO"; then :
12179 ac_cv_lib_gstreamer_0_10_gst_pad_get_caps_reffed=yes
12180 else
12181 ac_cv_lib_gstreamer_0_10_gst_pad_get_caps_reffed=no
12183 rm -f core conftest.err conftest.$ac_objext \
12184 conftest$ac_exeext conftest.$ac_ext
12185 LIBS=$ac_check_lib_save_LIBS
12187 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_gstreamer_0_10_gst_pad_get_caps_reffed" >&5
12188 $as_echo "$ac_cv_lib_gstreamer_0_10_gst_pad_get_caps_reffed" >&6; }
12189 if test "x$ac_cv_lib_gstreamer_0_10_gst_pad_get_caps_reffed" = xyes; then :
12190 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for gst_app_buffer_new in -lgstapp-0.10" >&5
12191 $as_echo_n "checking for gst_app_buffer_new in -lgstapp-0.10... " >&6; }
12192 if ${ac_cv_lib_gstapp_0_10_gst_app_buffer_new+:} false; then :
12193 $as_echo_n "(cached) " >&6
12194 else
12195 ac_check_lib_save_LIBS=$LIBS
12196 LIBS="-lgstapp-0.10 $GSTREAMER_LIBS $LIBS"
12197 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12198 /* end confdefs.h. */
12200 /* Override any GCC internal prototype to avoid an error.
12201 Use char because int might match the return type of a GCC
12202 builtin and then its argument prototype would still apply. */
12203 #ifdef __cplusplus
12204 extern "C"
12205 #endif
12206 char gst_app_buffer_new ();
12208 main ()
12210 return gst_app_buffer_new ();
12212 return 0;
12214 _ACEOF
12215 if ac_fn_c_try_link "$LINENO"; then :
12216 ac_cv_lib_gstapp_0_10_gst_app_buffer_new=yes
12217 else
12218 ac_cv_lib_gstapp_0_10_gst_app_buffer_new=no
12220 rm -f core conftest.err conftest.$ac_objext \
12221 conftest$ac_exeext conftest.$ac_ext
12222 LIBS=$ac_check_lib_save_LIBS
12224 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_gstapp_0_10_gst_app_buffer_new" >&5
12225 $as_echo "$ac_cv_lib_gstapp_0_10_gst_app_buffer_new" >&6; }
12226 if test "x$ac_cv_lib_gstapp_0_10_gst_app_buffer_new" = xyes; then :
12232 else
12233 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
12234 $as_echo "no" >&6; }
12236 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
12240 else
12241 GSTREAMER_CFLAGS=""
12245 CPPFLAGS=$ac_save_CPPFLAGS
12246 test -z "$GSTREAMER_CFLAGS" || GSTREAMER_CFLAGS=`echo " $GSTREAMER_CFLAGS" | sed 's/ -I\([^/]\)/ -I\$(top_builddir)\/\1/g'`
12247 test -z "$GSTREAMER_LIBS" || GSTREAMER_LIBS=`echo " $GSTREAMER_LIBS" | sed 's/ -L\([^/]\)/ -L\$(top_builddir)\/\1/g'`
12250 if test "x$ac_cv_lib_gstapp_0_10_gst_app_buffer_new" != xyes -a "x$ac_cv_header_QuickTime_ImageCompression_h" != xyes; then :
12251 case "x$with_gstreamer" in
12252 x) as_fn_append wine_notices "|gstreamer-0.10 base plugins ${notice_platform}development files not found, gstreamer support disabled" ;;
12253 xno) ;;
12254 *) as_fn_error $? "gstreamer-0.10 base plugins ${notice_platform}development files not found, gstreamer support disabled
12255 This is an error since --with-gstreamer was requested." "$LINENO" 5 ;;
12256 esac
12258 test "x$ac_cv_lib_gstapp_0_10_gst_app_buffer_new" = xyes || enable_winegstreamer=${enable_winegstreamer:-no}
12260 ALSA_LIBS=""
12262 if test "$ac_cv_header_sys_asoundlib_h" = "yes" -o "$ac_cv_header_alsa_asoundlib_h" = "yes"
12263 then
12264 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for snd_pcm_hw_params_get_access_mask in -lasound" >&5
12265 $as_echo_n "checking for snd_pcm_hw_params_get_access_mask in -lasound... " >&6; }
12266 if ${ac_cv_lib_asound_snd_pcm_hw_params_get_access_mask+:} false; then :
12267 $as_echo_n "(cached) " >&6
12268 else
12269 ac_check_lib_save_LIBS=$LIBS
12270 LIBS="-lasound $LIBS"
12271 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12272 /* end confdefs.h. */
12274 /* Override any GCC internal prototype to avoid an error.
12275 Use char because int might match the return type of a GCC
12276 builtin and then its argument prototype would still apply. */
12277 #ifdef __cplusplus
12278 extern "C"
12279 #endif
12280 char snd_pcm_hw_params_get_access_mask ();
12282 main ()
12284 return snd_pcm_hw_params_get_access_mask ();
12286 return 0;
12288 _ACEOF
12289 if ac_fn_c_try_link "$LINENO"; then :
12290 ac_cv_lib_asound_snd_pcm_hw_params_get_access_mask=yes
12291 else
12292 ac_cv_lib_asound_snd_pcm_hw_params_get_access_mask=no
12294 rm -f core conftest.err conftest.$ac_objext \
12295 conftest$ac_exeext conftest.$ac_ext
12296 LIBS=$ac_check_lib_save_LIBS
12298 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_asound_snd_pcm_hw_params_get_access_mask" >&5
12299 $as_echo "$ac_cv_lib_asound_snd_pcm_hw_params_get_access_mask" >&6; }
12300 if test "x$ac_cv_lib_asound_snd_pcm_hw_params_get_access_mask" = xyes; then :
12301 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12302 /* end confdefs.h. */
12303 #ifdef HAVE_ALSA_ASOUNDLIB_H
12304 #include <alsa/asoundlib.h>
12305 #elif defined(HAVE_SYS_ASOUNDLIB_H)
12306 #include <sys/asoundlib.h>
12307 #endif
12309 main ()
12311 snd_pcm_hw_params_get_access_mask(NULL, NULL)
12313 return 0;
12315 _ACEOF
12316 if ac_fn_c_try_compile "$LINENO"; then :
12317 ALSA_LIBS="-lasound"
12319 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
12324 if test "x$with_oss" != xno
12325 then
12326 ac_save_CPPFLAGS="$CPPFLAGS"
12327 if test -f /etc/oss.conf
12328 then
12329 . /etc/oss.conf
12331 ac_oss_incl="-I${OSSLIBDIR:-/usr/lib/oss}/include"
12332 CPPFLAGS="$CPPFLAGS $ac_oss_incl"
12333 ac_fn_c_check_header_mongrel "$LINENO" "sys/soundcard.h" "ac_cv_header_sys_soundcard_h" "$ac_includes_default"
12334 if test "x$ac_cv_header_sys_soundcard_h" = xyes; then :
12335 ac_fn_c_check_member "$LINENO" "oss_sysinfo" "numaudioengines" "ac_cv_member_oss_sysinfo_numaudioengines" "#include <sys/soundcard.h>
12337 if test "x$ac_cv_member_oss_sysinfo_numaudioengines" = xyes; then :
12339 cat >>confdefs.h <<_ACEOF
12340 #define HAVE_OSS_SYSINFO_NUMAUDIOENGINES 1
12341 _ACEOF
12343 OSS4_CFLAGS="$ac_oss_incl"
12350 CPPFLAGS="$ac_save_CPPFLAGS"
12351 if test "x$ac_cv_member_oss_sysinfo_numaudioengines" != xyes
12352 then
12353 as_fn_append wine_notices "|OSS sound system found but too old (OSSv4 needed), OSS won't be supported."
12357 if test "x$with_capi" != "xno"
12358 then
12359 if ${CAPI20_CFLAGS:+false} :; then :
12360 if ${PKG_CONFIG+:} false; then :
12361 CAPI20_CFLAGS=`$PKG_CONFIG --cflags capi20 2>/dev/null`
12365 if ${CAPI20_LIBS:+false} :; then :
12366 if ${PKG_CONFIG+:} false; then :
12367 CAPI20_LIBS=`$PKG_CONFIG --libs capi20 2>/dev/null`
12372 $as_echo "$as_me:${as_lineno-$LINENO}: capi20 cflags: $CAPI20_CFLAGS" >&5
12373 $as_echo "$as_me:${as_lineno-$LINENO}: capi20 libs: $CAPI20_LIBS" >&5
12374 ac_save_CPPFLAGS=$CPPFLAGS
12375 CPPFLAGS="$CPPFLAGS $CAPI20_CFLAGS"
12376 for ac_header in capi20.h linux/capi.h
12377 do :
12378 as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
12379 ac_fn_c_check_header_compile "$LINENO" "$ac_header" "$as_ac_Header" "#define __user
12381 if eval test \"x\$"$as_ac_Header"\" = x"yes"; then :
12382 cat >>confdefs.h <<_ACEOF
12383 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
12384 _ACEOF
12388 done
12390 if test "$ac_cv_header_capi20_h" = "yes" -a "$ac_cv_header_linux_capi_h" = "yes"
12391 then
12392 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lcapi20" >&5
12393 $as_echo_n "checking for -lcapi20... " >&6; }
12394 if ${ac_cv_lib_soname_capi20+:} false; then :
12395 $as_echo_n "(cached) " >&6
12396 else
12397 ac_check_soname_save_LIBS=$LIBS
12398 LIBS="-lcapi20 $CAPI20_LIBS $LIBS"
12399 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12400 /* end confdefs.h. */
12402 /* Override any GCC internal prototype to avoid an error.
12403 Use char because int might match the return type of a GCC
12404 builtin and then its argument prototype would still apply. */
12405 #ifdef __cplusplus
12406 extern "C"
12407 #endif
12408 char capi20_register ();
12410 main ()
12412 return capi20_register ();
12414 return 0;
12416 _ACEOF
12417 if ac_fn_c_try_link "$LINENO"; then :
12418 case "$LIBEXT" in
12419 dll) ac_cv_lib_soname_capi20=`$ac_cv_path_LDD conftest.exe | grep "capi20" | sed -e "s/dll.*/dll/"';2,$d'` ;;
12420 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'` ;;
12421 *) ac_cv_lib_soname_capi20=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libcapi20\\.$LIBEXT" | sed -e "s/^.*\\[\\(libcapi20\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
12422 if ${ac_cv_lib_soname_capi20:+false} :; then :
12423 ac_cv_lib_soname_capi20=`$LDD conftest$ac_exeext | grep "libcapi20\\.$LIBEXT" | sed -e "s/^.*\(libcapi20\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
12424 fi ;;
12425 esac
12427 rm -f core conftest.err conftest.$ac_objext \
12428 conftest$ac_exeext conftest.$ac_ext
12429 LIBS=$ac_check_soname_save_LIBS
12431 if ${ac_cv_lib_soname_capi20:+false} :; then :
12432 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
12433 $as_echo "not found" >&6; }
12435 else
12436 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_capi20" >&5
12437 $as_echo "$ac_cv_lib_soname_capi20" >&6; }
12439 cat >>confdefs.h <<_ACEOF
12440 #define SONAME_LIBCAPI20 "$ac_cv_lib_soname_capi20"
12441 _ACEOF
12446 CPPFLAGS=$ac_save_CPPFLAGS
12447 test -z "$CAPI20_CFLAGS" || CAPI20_CFLAGS=`echo " $CAPI20_CFLAGS" | sed 's/ -I\([^/]\)/ -I\$(top_builddir)\/\1/g'`
12448 test -z "$CAPI20_LIBS" || CAPI20_LIBS=`echo " $CAPI20_LIBS" | sed 's/ -L\([^/]\)/ -L\$(top_builddir)\/\1/g'`
12451 if test "x$ac_cv_lib_soname_capi20" = "x"; then :
12452 case "x$with_capi" in
12453 x) as_fn_append wine_notices "|libcapi20 ${notice_platform}development files not found, ISDN won't be supported." ;;
12454 xno) ;;
12455 *) as_fn_error $? "libcapi20 ${notice_platform}development files not found, ISDN won't be supported.
12456 This is an error since --with-capi was requested." "$LINENO" 5 ;;
12457 esac
12460 CUPS_CFLAGS=""
12462 if test "x$with_cups" != "xno"
12463 then
12464 ac_save_CPPFLAGS="$CPPFLAGS"
12465 ac_cups_cflags=`cups-config --cflags 2>/dev/null`
12466 ac_cups_libs=`cups-config --ldflags 2>/dev/null`
12467 CPPFLAGS="$CPPFLAGS $ac_cups_cflags"
12468 for ac_header in cups/cups.h
12469 do :
12470 ac_fn_c_check_header_mongrel "$LINENO" "cups/cups.h" "ac_cv_header_cups_cups_h" "$ac_includes_default"
12471 if test "x$ac_cv_header_cups_cups_h" = xyes; then :
12472 cat >>confdefs.h <<_ACEOF
12473 #define HAVE_CUPS_CUPS_H 1
12474 _ACEOF
12475 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lcups" >&5
12476 $as_echo_n "checking for -lcups... " >&6; }
12477 if ${ac_cv_lib_soname_cups+:} false; then :
12478 $as_echo_n "(cached) " >&6
12479 else
12480 ac_check_soname_save_LIBS=$LIBS
12481 LIBS="-lcups $ac_cups_libs $LIBS"
12482 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12483 /* end confdefs.h. */
12485 /* Override any GCC internal prototype to avoid an error.
12486 Use char because int might match the return type of a GCC
12487 builtin and then its argument prototype would still apply. */
12488 #ifdef __cplusplus
12489 extern "C"
12490 #endif
12491 char cupsGetDefault ();
12493 main ()
12495 return cupsGetDefault ();
12497 return 0;
12499 _ACEOF
12500 if ac_fn_c_try_link "$LINENO"; then :
12501 case "$LIBEXT" in
12502 dll) ac_cv_lib_soname_cups=`$ac_cv_path_LDD conftest.exe | grep "cups" | sed -e "s/dll.*/dll/"';2,$d'` ;;
12503 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'` ;;
12504 *) ac_cv_lib_soname_cups=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libcups\\.$LIBEXT" | sed -e "s/^.*\\[\\(libcups\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
12505 if ${ac_cv_lib_soname_cups:+false} :; then :
12506 ac_cv_lib_soname_cups=`$LDD conftest$ac_exeext | grep "libcups\\.$LIBEXT" | sed -e "s/^.*\(libcups\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
12507 fi ;;
12508 esac
12510 rm -f core conftest.err conftest.$ac_objext \
12511 conftest$ac_exeext conftest.$ac_ext
12512 LIBS=$ac_check_soname_save_LIBS
12514 if ${ac_cv_lib_soname_cups:+false} :; then :
12515 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
12516 $as_echo "not found" >&6; }
12518 else
12519 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_cups" >&5
12520 $as_echo "$ac_cv_lib_soname_cups" >&6; }
12522 cat >>confdefs.h <<_ACEOF
12523 #define SONAME_LIBCUPS "$ac_cv_lib_soname_cups"
12524 _ACEOF
12526 CUPS_CFLAGS="$ac_cups_cflags"
12530 done
12532 CPPFLAGS="$ac_save_CPPFLAGS"
12534 if test "x$ac_cv_lib_soname_cups" = "x"; then :
12535 case "x$with_cups" in
12536 x) as_fn_append wine_notices "|libcups ${notice_platform}development files not found, CUPS won't be supported." ;;
12537 xno) ;;
12538 *) as_fn_error $? "libcups ${notice_platform}development files not found, CUPS won't be supported.
12539 This is an error since --with-cups was requested." "$LINENO" 5 ;;
12540 esac
12543 if test "x$with_fontconfig" != "xno"
12544 then
12545 if ${FONTCONFIG_CFLAGS:+false} :; then :
12546 if ${PKG_CONFIG+:} false; then :
12547 FONTCONFIG_CFLAGS=`$PKG_CONFIG --cflags fontconfig 2>/dev/null`
12550 test "$cross_compiling" = yes || FONTCONFIG_CFLAGS=${FONTCONFIG_CFLAGS:-$X_CFLAGS}
12551 if ${FONTCONFIG_LIBS:+false} :; then :
12552 if ${PKG_CONFIG+:} false; then :
12553 FONTCONFIG_LIBS=`$PKG_CONFIG --libs fontconfig 2>/dev/null`
12556 test "$cross_compiling" = yes || FONTCONFIG_LIBS=${FONTCONFIG_LIBS:-$X_LIBS}
12558 $as_echo "$as_me:${as_lineno-$LINENO}: fontconfig cflags: $FONTCONFIG_CFLAGS" >&5
12559 $as_echo "$as_me:${as_lineno-$LINENO}: fontconfig libs: $FONTCONFIG_LIBS" >&5
12560 ac_save_CPPFLAGS=$CPPFLAGS
12561 CPPFLAGS="$CPPFLAGS $FONTCONFIG_CFLAGS"
12562 for ac_header in fontconfig/fontconfig.h
12563 do :
12564 ac_fn_c_check_header_mongrel "$LINENO" "fontconfig/fontconfig.h" "ac_cv_header_fontconfig_fontconfig_h" "$ac_includes_default"
12565 if test "x$ac_cv_header_fontconfig_fontconfig_h" = xyes; then :
12566 cat >>confdefs.h <<_ACEOF
12567 #define HAVE_FONTCONFIG_FONTCONFIG_H 1
12568 _ACEOF
12572 done
12574 if test "$ac_cv_header_fontconfig_fontconfig_h" = "yes"
12575 then
12576 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lfontconfig" >&5
12577 $as_echo_n "checking for -lfontconfig... " >&6; }
12578 if ${ac_cv_lib_soname_fontconfig+:} false; then :
12579 $as_echo_n "(cached) " >&6
12580 else
12581 ac_check_soname_save_LIBS=$LIBS
12582 LIBS="-lfontconfig $FONTCONFIG_LIBS $LIBS"
12583 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12584 /* end confdefs.h. */
12586 /* Override any GCC internal prototype to avoid an error.
12587 Use char because int might match the return type of a GCC
12588 builtin and then its argument prototype would still apply. */
12589 #ifdef __cplusplus
12590 extern "C"
12591 #endif
12592 char FcInit ();
12594 main ()
12596 return FcInit ();
12598 return 0;
12600 _ACEOF
12601 if ac_fn_c_try_link "$LINENO"; then :
12602 case "$LIBEXT" in
12603 dll) ac_cv_lib_soname_fontconfig=`$ac_cv_path_LDD conftest.exe | grep "fontconfig" | sed -e "s/dll.*/dll/"';2,$d'` ;;
12604 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'` ;;
12605 *) ac_cv_lib_soname_fontconfig=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libfontconfig\\.$LIBEXT" | sed -e "s/^.*\\[\\(libfontconfig\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
12606 if ${ac_cv_lib_soname_fontconfig:+false} :; then :
12607 ac_cv_lib_soname_fontconfig=`$LDD conftest$ac_exeext | grep "libfontconfig\\.$LIBEXT" | sed -e "s/^.*\(libfontconfig\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
12608 fi ;;
12609 esac
12611 rm -f core conftest.err conftest.$ac_objext \
12612 conftest$ac_exeext conftest.$ac_ext
12613 LIBS=$ac_check_soname_save_LIBS
12615 if ${ac_cv_lib_soname_fontconfig:+false} :; then :
12616 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
12617 $as_echo "not found" >&6; }
12618 FONTCONFIG_CFLAGS=""
12619 else
12620 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_fontconfig" >&5
12621 $as_echo "$ac_cv_lib_soname_fontconfig" >&6; }
12623 cat >>confdefs.h <<_ACEOF
12624 #define SONAME_LIBFONTCONFIG "$ac_cv_lib_soname_fontconfig"
12625 _ACEOF
12629 else
12630 FONTCONFIG_CFLAGS=""
12632 CPPFLAGS=$ac_save_CPPFLAGS
12633 test -z "$FONTCONFIG_CFLAGS" || FONTCONFIG_CFLAGS=`echo " $FONTCONFIG_CFLAGS" | sed 's/ -I\([^/]\)/ -I\$(top_builddir)\/\1/g'`
12634 test -z "$FONTCONFIG_LIBS" || FONTCONFIG_LIBS=`echo " $FONTCONFIG_LIBS" | sed 's/ -L\([^/]\)/ -L\$(top_builddir)\/\1/g'`
12637 if test "x$ac_cv_lib_soname_fontconfig" = "x"; then :
12638 case "x$with_fontconfig" in
12639 x) as_fn_append wine_notices "|fontconfig ${notice_platform}development files not found, fontconfig won't be supported." ;;
12640 xno) ;;
12641 *) as_fn_error $? "fontconfig ${notice_platform}development files not found, fontconfig won't be supported.
12642 This is an error since --with-fontconfig was requested." "$LINENO" 5 ;;
12643 esac
12646 if test "$ac_cv_header_gsm_h" = "yes" -o "$ac_cv_header_gsm_gsm_h" = "yes"
12647 then
12648 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lgsm" >&5
12649 $as_echo_n "checking for -lgsm... " >&6; }
12650 if ${ac_cv_lib_soname_gsm+:} false; then :
12651 $as_echo_n "(cached) " >&6
12652 else
12653 ac_check_soname_save_LIBS=$LIBS
12654 LIBS="-lgsm $LIBS"
12655 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12656 /* end confdefs.h. */
12658 /* Override any GCC internal prototype to avoid an error.
12659 Use char because int might match the return type of a GCC
12660 builtin and then its argument prototype would still apply. */
12661 #ifdef __cplusplus
12662 extern "C"
12663 #endif
12664 char gsm_create ();
12666 main ()
12668 return gsm_create ();
12670 return 0;
12672 _ACEOF
12673 if ac_fn_c_try_link "$LINENO"; then :
12674 case "$LIBEXT" in
12675 dll) ac_cv_lib_soname_gsm=`$ac_cv_path_LDD conftest.exe | grep "gsm" | sed -e "s/dll.*/dll/"';2,$d'` ;;
12676 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'` ;;
12677 *) ac_cv_lib_soname_gsm=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libgsm\\.$LIBEXT" | sed -e "s/^.*\\[\\(libgsm\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
12678 if ${ac_cv_lib_soname_gsm:+false} :; then :
12679 ac_cv_lib_soname_gsm=`$LDD conftest$ac_exeext | grep "libgsm\\.$LIBEXT" | sed -e "s/^.*\(libgsm\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
12680 fi ;;
12681 esac
12683 rm -f core conftest.err conftest.$ac_objext \
12684 conftest$ac_exeext conftest.$ac_ext
12685 LIBS=$ac_check_soname_save_LIBS
12687 if ${ac_cv_lib_soname_gsm:+false} :; then :
12688 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
12689 $as_echo "not found" >&6; }
12691 else
12692 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_gsm" >&5
12693 $as_echo "$ac_cv_lib_soname_gsm" >&6; }
12695 cat >>confdefs.h <<_ACEOF
12696 #define SONAME_LIBGSM "$ac_cv_lib_soname_gsm"
12697 _ACEOF
12702 if test "x$ac_cv_lib_soname_gsm" = "x"; then :
12703 case "x$with_gsm" in
12704 x) as_fn_append wine_notices "|libgsm ${notice_platform}development files not found, gsm 06.10 codec won't be supported." ;;
12705 xno) ;;
12706 *) as_fn_error $? "libgsm ${notice_platform}development files not found, gsm 06.10 codec won't be supported.
12707 This is an error since --with-gsm was requested." "$LINENO" 5 ;;
12708 esac
12711 if test "x$with_jpeg" != "xno"
12712 then
12713 if ${JPEG_CFLAGS:+false} :; then :
12714 if ${PKG_CONFIG+:} false; then :
12715 JPEG_CFLAGS=`$PKG_CONFIG --cflags libjpeg 2>/dev/null`
12719 if ${JPEG_LIBS:+false} :; then :
12720 if ${PKG_CONFIG+:} false; then :
12721 JPEG_LIBS=`$PKG_CONFIG --libs libjpeg 2>/dev/null`
12726 $as_echo "$as_me:${as_lineno-$LINENO}: libjpeg cflags: $JPEG_CFLAGS" >&5
12727 $as_echo "$as_me:${as_lineno-$LINENO}: libjpeg libs: $JPEG_LIBS" >&5
12728 ac_save_CPPFLAGS=$CPPFLAGS
12729 CPPFLAGS="$CPPFLAGS $JPEG_CFLAGS"
12730 for ac_header in jpeglib.h
12731 do :
12732 ac_fn_c_check_header_mongrel "$LINENO" "jpeglib.h" "ac_cv_header_jpeglib_h" "$ac_includes_default"
12733 if test "x$ac_cv_header_jpeglib_h" = xyes; then :
12734 cat >>confdefs.h <<_ACEOF
12735 #define HAVE_JPEGLIB_H 1
12736 _ACEOF
12740 done
12742 if test "$ac_cv_header_jpeglib_h" = "yes"
12743 then
12744 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -ljpeg" >&5
12745 $as_echo_n "checking for -ljpeg... " >&6; }
12746 if ${ac_cv_lib_soname_jpeg+:} false; then :
12747 $as_echo_n "(cached) " >&6
12748 else
12749 ac_check_soname_save_LIBS=$LIBS
12750 LIBS="-ljpeg $JPEG_LIBS $LIBS"
12751 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12752 /* end confdefs.h. */
12754 /* Override any GCC internal prototype to avoid an error.
12755 Use char because int might match the return type of a GCC
12756 builtin and then its argument prototype would still apply. */
12757 #ifdef __cplusplus
12758 extern "C"
12759 #endif
12760 char jpeg_start_decompress ();
12762 main ()
12764 return jpeg_start_decompress ();
12766 return 0;
12768 _ACEOF
12769 if ac_fn_c_try_link "$LINENO"; then :
12770 case "$LIBEXT" in
12771 dll) ac_cv_lib_soname_jpeg=`$ac_cv_path_LDD conftest.exe | grep "jpeg" | sed -e "s/dll.*/dll/"';2,$d'` ;;
12772 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'` ;;
12773 *) ac_cv_lib_soname_jpeg=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libjpeg\\.$LIBEXT" | sed -e "s/^.*\\[\\(libjpeg\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
12774 if ${ac_cv_lib_soname_jpeg:+false} :; then :
12775 ac_cv_lib_soname_jpeg=`$LDD conftest$ac_exeext | grep "libjpeg\\.$LIBEXT" | sed -e "s/^.*\(libjpeg\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
12776 fi ;;
12777 esac
12779 rm -f core conftest.err conftest.$ac_objext \
12780 conftest$ac_exeext conftest.$ac_ext
12781 LIBS=$ac_check_soname_save_LIBS
12783 if ${ac_cv_lib_soname_jpeg:+false} :; then :
12784 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
12785 $as_echo "not found" >&6; }
12786 JPEG_CFLAGS=""
12787 else
12788 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_jpeg" >&5
12789 $as_echo "$ac_cv_lib_soname_jpeg" >&6; }
12791 cat >>confdefs.h <<_ACEOF
12792 #define SONAME_LIBJPEG "$ac_cv_lib_soname_jpeg"
12793 _ACEOF
12797 else
12798 JPEG_CFLAGS=""
12800 CPPFLAGS=$ac_save_CPPFLAGS
12801 test -z "$JPEG_CFLAGS" || JPEG_CFLAGS=`echo " $JPEG_CFLAGS" | sed 's/ -I\([^/]\)/ -I\$(top_builddir)\/\1/g'`
12802 test -z "$JPEG_LIBS" || JPEG_LIBS=`echo " $JPEG_LIBS" | sed 's/ -L\([^/]\)/ -L\$(top_builddir)\/\1/g'`
12805 if test "x$ac_cv_lib_soname_jpeg" = "x"; then :
12806 case "x$with_jpeg" in
12807 x) as_fn_append wine_warnings "|libjpeg ${notice_platform}development files not found, JPEG won't be supported." ;;
12808 xno) ;;
12809 *) as_fn_error $? "libjpeg ${notice_platform}development files not found, JPEG won't be supported.
12810 This is an error since --with-jpeg was requested." "$LINENO" 5 ;;
12811 esac
12814 if test "x$with_png" != "xno"
12815 then
12816 if ${PNG_CFLAGS:+false} :; then :
12817 if ${PKG_CONFIG+:} false; then :
12818 PNG_CFLAGS=`$PKG_CONFIG --cflags libpng 2>/dev/null`
12821 test "$cross_compiling" = yes || PNG_CFLAGS=${PNG_CFLAGS:-$X_CFLAGS}
12822 if ${PNG_LIBS:+false} :; then :
12823 if ${PKG_CONFIG+:} false; then :
12824 PNG_LIBS=`$PKG_CONFIG --libs libpng 2>/dev/null`
12827 test "$cross_compiling" = yes || PNG_LIBS=${PNG_LIBS:-$X_LIBS}
12829 $as_echo "$as_me:${as_lineno-$LINENO}: libpng cflags: $PNG_CFLAGS" >&5
12830 $as_echo "$as_me:${as_lineno-$LINENO}: libpng libs: $PNG_LIBS" >&5
12831 ac_save_CPPFLAGS=$CPPFLAGS
12832 CPPFLAGS="$CPPFLAGS $PNG_CFLAGS"
12833 for ac_header in png.h
12834 do :
12835 ac_fn_c_check_header_mongrel "$LINENO" "png.h" "ac_cv_header_png_h" "$ac_includes_default"
12836 if test "x$ac_cv_header_png_h" = xyes; then :
12837 cat >>confdefs.h <<_ACEOF
12838 #define HAVE_PNG_H 1
12839 _ACEOF
12843 done
12845 if test "$ac_cv_header_png_h" = "yes"
12846 then
12847 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lpng" >&5
12848 $as_echo_n "checking for -lpng... " >&6; }
12849 if ${ac_cv_lib_soname_png+:} false; then :
12850 $as_echo_n "(cached) " >&6
12851 else
12852 ac_check_soname_save_LIBS=$LIBS
12853 LIBS="-lpng $PNG_LIBS -lm -lz $LIBS"
12854 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12855 /* end confdefs.h. */
12857 /* Override any GCC internal prototype to avoid an error.
12858 Use char because int might match the return type of a GCC
12859 builtin and then its argument prototype would still apply. */
12860 #ifdef __cplusplus
12861 extern "C"
12862 #endif
12863 char png_create_read_struct ();
12865 main ()
12867 return png_create_read_struct ();
12869 return 0;
12871 _ACEOF
12872 if ac_fn_c_try_link "$LINENO"; then :
12873 case "$LIBEXT" in
12874 dll) ac_cv_lib_soname_png=`$ac_cv_path_LDD conftest.exe | grep "png" | sed -e "s/dll.*/dll/"';2,$d'` ;;
12875 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'` ;;
12876 *) 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'`
12877 if ${ac_cv_lib_soname_png:+false} :; then :
12878 ac_cv_lib_soname_png=`$LDD conftest$ac_exeext | grep "libpng[0-9]*\\.$LIBEXT" | sed -e "s/^.*\(libpng[0-9]*\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
12879 fi ;;
12880 esac
12882 rm -f core conftest.err conftest.$ac_objext \
12883 conftest$ac_exeext conftest.$ac_ext
12884 LIBS=$ac_check_soname_save_LIBS
12886 if ${ac_cv_lib_soname_png:+false} :; then :
12887 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
12888 $as_echo "not found" >&6; }
12889 PNG_CFLAGS=""
12890 else
12891 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_png" >&5
12892 $as_echo "$ac_cv_lib_soname_png" >&6; }
12894 cat >>confdefs.h <<_ACEOF
12895 #define SONAME_LIBPNG "$ac_cv_lib_soname_png"
12896 _ACEOF
12898 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12899 /* end confdefs.h. */
12900 #include <png.h>
12902 main ()
12904 typeof(png_set_expand_gray_1_2_4_to_8) *p
12906 return 0;
12908 _ACEOF
12909 if ac_fn_c_try_compile "$LINENO"; then :
12911 $as_echo "#define HAVE_PNG_SET_EXPAND_GRAY_1_2_4_TO_8 1" >>confdefs.h
12914 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
12916 else
12917 PNG_CFLAGS=""
12919 CPPFLAGS=$ac_save_CPPFLAGS
12920 test -z "$PNG_CFLAGS" || PNG_CFLAGS=`echo " $PNG_CFLAGS" | sed 's/ -I\([^/]\)/ -I\$(top_builddir)\/\1/g'`
12921 test -z "$PNG_LIBS" || PNG_LIBS=`echo " $PNG_LIBS" | sed 's/ -L\([^/]\)/ -L\$(top_builddir)\/\1/g'`
12924 if test "x$ac_cv_lib_soname_png" = "x"; then :
12925 case "x$with_png" in
12926 x) as_fn_append wine_warnings "|libpng ${notice_platform}development files not found, PNG won't be supported." ;;
12927 xno) ;;
12928 *) as_fn_error $? "libpng ${notice_platform}development files not found, PNG won't be supported.
12929 This is an error since --with-png was requested." "$LINENO" 5 ;;
12930 esac
12933 if test "x$with_tiff" != "xno"
12934 then
12935 if ${TIFF_CFLAGS:+false} :; then :
12936 if ${PKG_CONFIG+:} false; then :
12937 TIFF_CFLAGS=`$PKG_CONFIG --cflags libtiff 2>/dev/null`
12941 if ${TIFF_LIBS:+false} :; then :
12942 if ${PKG_CONFIG+:} false; then :
12943 TIFF_LIBS=`$PKG_CONFIG --libs libtiff 2>/dev/null`
12948 $as_echo "$as_me:${as_lineno-$LINENO}: libtiff cflags: $TIFF_CFLAGS" >&5
12949 $as_echo "$as_me:${as_lineno-$LINENO}: libtiff libs: $TIFF_LIBS" >&5
12950 ac_save_CPPFLAGS=$CPPFLAGS
12951 CPPFLAGS="$CPPFLAGS $TIFF_CFLAGS"
12952 for ac_header in tiffio.h
12953 do :
12954 ac_fn_c_check_header_mongrel "$LINENO" "tiffio.h" "ac_cv_header_tiffio_h" "$ac_includes_default"
12955 if test "x$ac_cv_header_tiffio_h" = xyes; then :
12956 cat >>confdefs.h <<_ACEOF
12957 #define HAVE_TIFFIO_H 1
12958 _ACEOF
12962 done
12964 if test "$ac_cv_header_tiffio_h" = "yes"
12965 then
12966 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -ltiff" >&5
12967 $as_echo_n "checking for -ltiff... " >&6; }
12968 if ${ac_cv_lib_soname_tiff+:} false; then :
12969 $as_echo_n "(cached) " >&6
12970 else
12971 ac_check_soname_save_LIBS=$LIBS
12972 LIBS="-ltiff $TIFF_LIBS $LIBS"
12973 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12974 /* end confdefs.h. */
12976 /* Override any GCC internal prototype to avoid an error.
12977 Use char because int might match the return type of a GCC
12978 builtin and then its argument prototype would still apply. */
12979 #ifdef __cplusplus
12980 extern "C"
12981 #endif
12982 char TIFFClientOpen ();
12984 main ()
12986 return TIFFClientOpen ();
12988 return 0;
12990 _ACEOF
12991 if ac_fn_c_try_link "$LINENO"; then :
12992 case "$LIBEXT" in
12993 dll) ac_cv_lib_soname_tiff=`$ac_cv_path_LDD conftest.exe | grep "tiff" | sed -e "s/dll.*/dll/"';2,$d'` ;;
12994 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'` ;;
12995 *) ac_cv_lib_soname_tiff=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libtiff\\.$LIBEXT" | sed -e "s/^.*\\[\\(libtiff\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
12996 if ${ac_cv_lib_soname_tiff:+false} :; then :
12997 ac_cv_lib_soname_tiff=`$LDD conftest$ac_exeext | grep "libtiff\\.$LIBEXT" | sed -e "s/^.*\(libtiff\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
12998 fi ;;
12999 esac
13001 rm -f core conftest.err conftest.$ac_objext \
13002 conftest$ac_exeext conftest.$ac_ext
13003 LIBS=$ac_check_soname_save_LIBS
13005 if ${ac_cv_lib_soname_tiff:+false} :; then :
13006 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
13007 $as_echo "not found" >&6; }
13009 else
13010 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_tiff" >&5
13011 $as_echo "$ac_cv_lib_soname_tiff" >&6; }
13013 cat >>confdefs.h <<_ACEOF
13014 #define SONAME_LIBTIFF "$ac_cv_lib_soname_tiff"
13015 _ACEOF
13020 CPPFLAGS=$ac_save_CPPFLAGS
13021 test -z "$TIFF_CFLAGS" || TIFF_CFLAGS=`echo " $TIFF_CFLAGS" | sed 's/ -I\([^/]\)/ -I\$(top_builddir)\/\1/g'`
13022 test -z "$TIFF_LIBS" || TIFF_LIBS=`echo " $TIFF_LIBS" | sed 's/ -L\([^/]\)/ -L\$(top_builddir)\/\1/g'`
13025 if test "x$ac_cv_lib_soname_tiff" = "x"; then :
13026 case "x$with_tiff" in
13027 x) as_fn_append wine_notices "|libtiff ${notice_platform}development files not found, TIFF won't be supported." ;;
13028 xno) ;;
13029 *) as_fn_error $? "libtiff ${notice_platform}development files not found, TIFF won't be supported.
13030 This is an error since --with-tiff was requested." "$LINENO" 5 ;;
13031 esac
13034 if test "x$with_mpg123" != "xno"
13035 then
13036 if ${MPG123_CFLAGS:+false} :; then :
13037 if ${PKG_CONFIG+:} false; then :
13038 MPG123_CFLAGS=`$PKG_CONFIG --cflags libmpg123 2>/dev/null`
13042 if ${MPG123_LIBS:+false} :; then :
13043 if ${PKG_CONFIG+:} false; then :
13044 MPG123_LIBS=`$PKG_CONFIG --libs libmpg123 2>/dev/null`
13048 MPG123_LIBS=${MPG123_LIBS:-"-lmpg123"}
13049 $as_echo "$as_me:${as_lineno-$LINENO}: libmpg123 cflags: $MPG123_CFLAGS" >&5
13050 $as_echo "$as_me:${as_lineno-$LINENO}: libmpg123 libs: $MPG123_LIBS" >&5
13051 ac_save_CPPFLAGS=$CPPFLAGS
13052 CPPFLAGS="$CPPFLAGS $MPG123_CFLAGS"
13053 for ac_header in mpg123.h
13054 do :
13055 ac_fn_c_check_header_mongrel "$LINENO" "mpg123.h" "ac_cv_header_mpg123_h" "$ac_includes_default"
13056 if test "x$ac_cv_header_mpg123_h" = xyes; then :
13057 cat >>confdefs.h <<_ACEOF
13058 #define HAVE_MPG123_H 1
13059 _ACEOF
13063 done
13065 if test "$ac_cv_header_mpg123_h" = "yes"
13066 then
13067 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for mpg123_feed in -lmpg123" >&5
13068 $as_echo_n "checking for mpg123_feed in -lmpg123... " >&6; }
13069 if ${ac_cv_lib_mpg123_mpg123_feed+:} false; then :
13070 $as_echo_n "(cached) " >&6
13071 else
13072 ac_check_lib_save_LIBS=$LIBS
13073 LIBS="-lmpg123 $MPG123_LIBS $LIBS"
13074 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13075 /* end confdefs.h. */
13077 /* Override any GCC internal prototype to avoid an error.
13078 Use char because int might match the return type of a GCC
13079 builtin and then its argument prototype would still apply. */
13080 #ifdef __cplusplus
13081 extern "C"
13082 #endif
13083 char mpg123_feed ();
13085 main ()
13087 return mpg123_feed ();
13089 return 0;
13091 _ACEOF
13092 if ac_fn_c_try_link "$LINENO"; then :
13093 ac_cv_lib_mpg123_mpg123_feed=yes
13094 else
13095 ac_cv_lib_mpg123_mpg123_feed=no
13097 rm -f core conftest.err conftest.$ac_objext \
13098 conftest$ac_exeext conftest.$ac_ext
13099 LIBS=$ac_check_lib_save_LIBS
13101 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_mpg123_mpg123_feed" >&5
13102 $as_echo "$ac_cv_lib_mpg123_mpg123_feed" >&6; }
13103 if test "x$ac_cv_lib_mpg123_mpg123_feed" = xyes; then :
13105 else
13106 MPG123_LIBS=""
13109 else
13110 MPG123_CFLAGS=""
13111 MPG123_LIBS=""
13113 CPPFLAGS=$ac_save_CPPFLAGS
13114 test -z "$MPG123_CFLAGS" || MPG123_CFLAGS=`echo " $MPG123_CFLAGS" | sed 's/ -I\([^/]\)/ -I\$(top_builddir)\/\1/g'`
13115 test -z "$MPG123_LIBS" || MPG123_LIBS=`echo " $MPG123_LIBS" | sed 's/ -L\([^/]\)/ -L\$(top_builddir)\/\1/g'`
13118 if test "x$ac_cv_lib_mpg123_mpg123_feed" != xyes -a x"$ac_cv_header_CoreAudio_CoreAudio_h" != xyes; then :
13119 case "x$with_mpg123" in
13120 x) as_fn_append wine_notices "|libmpg123 ${notice_platform}development files not found (or too old), mp3 codec won't be supported." ;;
13121 xno) ;;
13122 *) as_fn_error $? "libmpg123 ${notice_platform}development files not found (or too old), mp3 codec won't be supported.
13123 This is an error since --with-mpg123 was requested." "$LINENO" 5 ;;
13124 esac
13126 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}
13128 if test "$ac_cv_header_AL_al_h" = "yes"
13129 then
13130 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lopenal" >&5
13131 $as_echo_n "checking for -lopenal... " >&6; }
13132 if ${ac_cv_lib_soname_openal+:} false; then :
13133 $as_echo_n "(cached) " >&6
13134 else
13135 ac_check_soname_save_LIBS=$LIBS
13136 LIBS="-lopenal $LIBS"
13137 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13138 /* end confdefs.h. */
13140 /* Override any GCC internal prototype to avoid an error.
13141 Use char because int might match the return type of a GCC
13142 builtin and then its argument prototype would still apply. */
13143 #ifdef __cplusplus
13144 extern "C"
13145 #endif
13146 char alGetSource3i ();
13148 main ()
13150 return alGetSource3i ();
13152 return 0;
13154 _ACEOF
13155 if ac_fn_c_try_link "$LINENO"; then :
13156 case "$LIBEXT" in
13157 dll) ac_cv_lib_soname_openal=`$ac_cv_path_LDD conftest.exe | grep "openal" | sed -e "s/dll.*/dll/"';2,$d'` ;;
13158 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'` ;;
13159 *) ac_cv_lib_soname_openal=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libopenal\\.$LIBEXT" | sed -e "s/^.*\\[\\(libopenal\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
13160 if ${ac_cv_lib_soname_openal:+false} :; then :
13161 ac_cv_lib_soname_openal=`$LDD conftest$ac_exeext | grep "libopenal\\.$LIBEXT" | sed -e "s/^.*\(libopenal\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
13162 fi ;;
13163 esac
13165 rm -f core conftest.err conftest.$ac_objext \
13166 conftest$ac_exeext conftest.$ac_ext
13167 LIBS=$ac_check_soname_save_LIBS
13169 if ${ac_cv_lib_soname_openal:+false} :; then :
13170 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
13171 $as_echo "not found" >&6; }
13173 else
13174 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_openal" >&5
13175 $as_echo "$ac_cv_lib_soname_openal" >&6; }
13177 cat >>confdefs.h <<_ACEOF
13178 #define SONAME_LIBOPENAL "$ac_cv_lib_soname_openal"
13179 _ACEOF
13181 OPENAL_LIBS="-lopenal"
13183 ac_cv_lib_openal=yes
13185 cat >>confdefs.h <<_ACEOF
13186 #define HAVE_OPENAL 1
13187 _ACEOF
13191 if test "x$ac_cv_lib_openal" != xyes; then :
13192 case "x$with_openal" in
13193 x) as_fn_append wine_notices "|libopenal ${notice_platform}development files not found (or too old), OpenAL won't be supported." ;;
13194 xno) ;;
13195 *) as_fn_error $? "libopenal ${notice_platform}development files not found (or too old), OpenAL won't be supported.
13196 This is an error since --with-openal was requested." "$LINENO" 5 ;;
13197 esac
13199 test "x$ac_cv_lib_openal" = xyes || enable_openal32=${enable_openal32:-no}
13201 if test "$ac_cv_header_kstat_h" = "yes"
13202 then
13203 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for kstat_open in -lkstat" >&5
13204 $as_echo_n "checking for kstat_open in -lkstat... " >&6; }
13205 if ${ac_cv_lib_kstat_kstat_open+:} false; then :
13206 $as_echo_n "(cached) " >&6
13207 else
13208 ac_check_lib_save_LIBS=$LIBS
13209 LIBS="-lkstat $LIBS"
13210 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13211 /* end confdefs.h. */
13213 /* Override any GCC internal prototype to avoid an error.
13214 Use char because int might match the return type of a GCC
13215 builtin and then its argument prototype would still apply. */
13216 #ifdef __cplusplus
13217 extern "C"
13218 #endif
13219 char kstat_open ();
13221 main ()
13223 return kstat_open ();
13225 return 0;
13227 _ACEOF
13228 if ac_fn_c_try_link "$LINENO"; then :
13229 ac_cv_lib_kstat_kstat_open=yes
13230 else
13231 ac_cv_lib_kstat_kstat_open=no
13233 rm -f core conftest.err conftest.$ac_objext \
13234 conftest$ac_exeext conftest.$ac_ext
13235 LIBS=$ac_check_lib_save_LIBS
13237 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_kstat_kstat_open" >&5
13238 $as_echo "$ac_cv_lib_kstat_kstat_open" >&6; }
13239 if test "x$ac_cv_lib_kstat_kstat_open" = xyes; then :
13241 $as_echo "#define HAVE_LIBKSTAT 1" >>confdefs.h
13243 KSTAT_LIBS="-lkstat"
13249 if test "$ac_cv_header_libprocstat_h" = "yes"
13250 then
13251 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for procstat_open_sysctl in -lprocstat" >&5
13252 $as_echo_n "checking for procstat_open_sysctl in -lprocstat... " >&6; }
13253 if ${ac_cv_lib_procstat_procstat_open_sysctl+:} false; then :
13254 $as_echo_n "(cached) " >&6
13255 else
13256 ac_check_lib_save_LIBS=$LIBS
13257 LIBS="-lprocstat $LIBS"
13258 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13259 /* end confdefs.h. */
13261 /* Override any GCC internal prototype to avoid an error.
13262 Use char because int might match the return type of a GCC
13263 builtin and then its argument prototype would still apply. */
13264 #ifdef __cplusplus
13265 extern "C"
13266 #endif
13267 char procstat_open_sysctl ();
13269 main ()
13271 return procstat_open_sysctl ();
13273 return 0;
13275 _ACEOF
13276 if ac_fn_c_try_link "$LINENO"; then :
13277 ac_cv_lib_procstat_procstat_open_sysctl=yes
13278 else
13279 ac_cv_lib_procstat_procstat_open_sysctl=no
13281 rm -f core conftest.err conftest.$ac_objext \
13282 conftest$ac_exeext conftest.$ac_ext
13283 LIBS=$ac_check_lib_save_LIBS
13285 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_procstat_procstat_open_sysctl" >&5
13286 $as_echo "$ac_cv_lib_procstat_procstat_open_sysctl" >&6; }
13287 if test "x$ac_cv_lib_procstat_procstat_open_sysctl" = xyes; then :
13289 $as_echo "#define HAVE_LIBPROCSTAT 1" >>confdefs.h
13291 PROCSTAT_LIBS="-lprocstat"
13297 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lodbc" >&5
13298 $as_echo_n "checking for -lodbc... " >&6; }
13299 if ${ac_cv_lib_soname_odbc+:} false; then :
13300 $as_echo_n "(cached) " >&6
13301 else
13302 ac_check_soname_save_LIBS=$LIBS
13303 LIBS="-lodbc $LIBS"
13304 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13305 /* end confdefs.h. */
13307 /* Override any GCC internal prototype to avoid an error.
13308 Use char because int might match the return type of a GCC
13309 builtin and then its argument prototype would still apply. */
13310 #ifdef __cplusplus
13311 extern "C"
13312 #endif
13313 char SQLConnect ();
13315 main ()
13317 return SQLConnect ();
13319 return 0;
13321 _ACEOF
13322 if ac_fn_c_try_link "$LINENO"; then :
13323 case "$LIBEXT" in
13324 dll) ac_cv_lib_soname_odbc=`$ac_cv_path_LDD conftest.exe | grep "odbc" | sed -e "s/dll.*/dll/"';2,$d'` ;;
13325 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'` ;;
13326 *) ac_cv_lib_soname_odbc=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libodbc\\.$LIBEXT" | sed -e "s/^.*\\[\\(libodbc\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
13327 if ${ac_cv_lib_soname_odbc:+false} :; then :
13328 ac_cv_lib_soname_odbc=`$LDD conftest$ac_exeext | grep "libodbc\\.$LIBEXT" | sed -e "s/^.*\(libodbc\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
13329 fi ;;
13330 esac
13332 rm -f core conftest.err conftest.$ac_objext \
13333 conftest$ac_exeext conftest.$ac_ext
13334 LIBS=$ac_check_soname_save_LIBS
13336 if ${ac_cv_lib_soname_odbc:+false} :; then :
13337 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
13338 $as_echo "not found" >&6; }
13339 cat >>confdefs.h <<_ACEOF
13340 #define SONAME_LIBODBC "libodbc.$LIBEXT"
13341 _ACEOF
13343 else
13344 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_odbc" >&5
13345 $as_echo "$ac_cv_lib_soname_odbc" >&6; }
13347 cat >>confdefs.h <<_ACEOF
13348 #define SONAME_LIBODBC "$ac_cv_lib_soname_odbc"
13349 _ACEOF
13354 if test "x$with_netapi" != "xno"
13355 then
13356 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lnetapi" >&5
13357 $as_echo_n "checking for -lnetapi... " >&6; }
13358 if ${ac_cv_lib_soname_netapi+:} false; then :
13359 $as_echo_n "(cached) " >&6
13360 else
13361 ac_check_soname_save_LIBS=$LIBS
13362 LIBS="-lnetapi $LIBS"
13363 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13364 /* end confdefs.h. */
13366 /* Override any GCC internal prototype to avoid an error.
13367 Use char because int might match the return type of a GCC
13368 builtin and then its argument prototype would still apply. */
13369 #ifdef __cplusplus
13370 extern "C"
13371 #endif
13372 char libnetapi_init ();
13374 main ()
13376 return libnetapi_init ();
13378 return 0;
13380 _ACEOF
13381 if ac_fn_c_try_link "$LINENO"; then :
13382 case "$LIBEXT" in
13383 dll) ac_cv_lib_soname_netapi=`$ac_cv_path_LDD conftest.exe | grep "netapi" | sed -e "s/dll.*/dll/"';2,$d'` ;;
13384 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'` ;;
13385 *) ac_cv_lib_soname_netapi=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libnetapi\\.$LIBEXT" | sed -e "s/^.*\\[\\(libnetapi\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
13386 if ${ac_cv_lib_soname_netapi:+false} :; then :
13387 ac_cv_lib_soname_netapi=`$LDD conftest$ac_exeext | grep "libnetapi\\.$LIBEXT" | sed -e "s/^.*\(libnetapi\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
13388 fi ;;
13389 esac
13391 rm -f core conftest.err conftest.$ac_objext \
13392 conftest$ac_exeext conftest.$ac_ext
13393 LIBS=$ac_check_soname_save_LIBS
13395 if ${ac_cv_lib_soname_netapi:+false} :; then :
13396 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
13397 $as_echo "not found" >&6; }
13398 cat >>confdefs.h <<_ACEOF
13399 #define SONAME_LIBNETAPI "libnetapi.$LIBEXT"
13400 _ACEOF
13402 else
13403 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_netapi" >&5
13404 $as_echo "$ac_cv_lib_soname_netapi" >&6; }
13406 cat >>confdefs.h <<_ACEOF
13407 #define SONAME_LIBNETAPI "$ac_cv_lib_soname_netapi"
13408 _ACEOF
13414 test -n "$ALSA_LIBS" || enable_winealsa_drv=${enable_winealsa_drv:-no}
13415 test -n "$COREAUDIO_LIBS" || enable_winecoreaudio_drv=${enable_winecoreaudio_drv:-no}
13416 test "x$ac_cv_member_oss_sysinfo_numaudioengines" = xyes || enable_wineoss_drv=${enable_wineoss_drv:-no}
13417 test "$ac_cv_header_linux_joystick_h" = "yes" || enable_winejoystick_drv=${enable_winejoystick_drv:-no}
13419 if test "x$ALSA_LIBS$COREAUDIO_LIBS" = "x" -a \
13420 "x$ac_cv_member_oss_sysinfo_numaudioengines" != xyes -a \
13421 "x$with_alsa$with_coreaudio$with_oss" != xnonono
13422 then
13423 as_fn_append wine_warnings "|No sound system was found. Windows applications will be silent."
13427 EXTRACFLAGS=""
13429 if test "x${GCC}" = "xyes"
13430 then
13431 EXTRACFLAGS="-Wall -pipe"
13433 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for gcc strength-reduce bug" >&5
13434 $as_echo_n "checking for gcc strength-reduce bug... " >&6; }
13435 if ${ac_cv_c_gcc_strength_bug+:} false; then :
13436 $as_echo_n "(cached) " >&6
13437 else
13438 if test "$cross_compiling" = yes; then :
13439 ac_cv_c_gcc_strength_bug="yes"
13440 else
13441 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13442 /* end confdefs.h. */
13443 int L[4] = {0,1,2,3};
13445 main ()
13447 static int Array[3];
13448 unsigned int B = 3;
13449 int i;
13450 for(i=0; i<B; i++) Array[i] = i - 3;
13451 for(i=0; i<4 - 1; i++) L[i] = L[i + 1];
13452 L[i] = 4;
13453 return (Array[1] != -2 || L[2] != 3)
13455 return 0;
13457 _ACEOF
13458 if ac_fn_c_try_run "$LINENO"; then :
13459 ac_cv_c_gcc_strength_bug="no"
13460 else
13461 ac_cv_c_gcc_strength_bug="yes"
13463 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \
13464 conftest.$ac_objext conftest.beam conftest.$ac_ext
13468 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_gcc_strength_bug" >&5
13469 $as_echo "$ac_cv_c_gcc_strength_bug" >&6; }
13470 if test "$ac_cv_c_gcc_strength_bug" = "yes"
13471 then
13472 EXTRACFLAGS="$EXTRACFLAGS -fno-strength-reduce"
13475 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -fno-builtin" >&5
13476 $as_echo_n "checking whether the compiler supports -fno-builtin... " >&6; }
13477 if ${ac_cv_cflags__fno_builtin+:} false; then :
13478 $as_echo_n "(cached) " >&6
13479 else
13480 ac_wine_try_cflags_saved=$CFLAGS
13481 CFLAGS="$CFLAGS -fno-builtin"
13482 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13483 /* end confdefs.h. */
13484 int main(int argc, char **argv) { return 0; }
13485 _ACEOF
13486 if ac_fn_c_try_link "$LINENO"; then :
13487 ac_cv_cflags__fno_builtin=yes
13488 else
13489 ac_cv_cflags__fno_builtin=no
13491 rm -f core conftest.err conftest.$ac_objext \
13492 conftest$ac_exeext conftest.$ac_ext
13493 CFLAGS=$ac_wine_try_cflags_saved
13495 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__fno_builtin" >&5
13496 $as_echo "$ac_cv_cflags__fno_builtin" >&6; }
13497 if test "x$ac_cv_cflags__fno_builtin" = xyes; then :
13498 BUILTINFLAG="-fno-builtin"
13501 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -fno-strict-aliasing" >&5
13502 $as_echo_n "checking whether the compiler supports -fno-strict-aliasing... " >&6; }
13503 if ${ac_cv_cflags__fno_strict_aliasing+:} false; then :
13504 $as_echo_n "(cached) " >&6
13505 else
13506 ac_wine_try_cflags_saved=$CFLAGS
13507 CFLAGS="$CFLAGS -fno-strict-aliasing"
13508 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13509 /* end confdefs.h. */
13510 int main(int argc, char **argv) { return 0; }
13511 _ACEOF
13512 if ac_fn_c_try_link "$LINENO"; then :
13513 ac_cv_cflags__fno_strict_aliasing=yes
13514 else
13515 ac_cv_cflags__fno_strict_aliasing=no
13517 rm -f core conftest.err conftest.$ac_objext \
13518 conftest$ac_exeext conftest.$ac_ext
13519 CFLAGS=$ac_wine_try_cflags_saved
13521 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__fno_strict_aliasing" >&5
13522 $as_echo "$ac_cv_cflags__fno_strict_aliasing" >&6; }
13523 if test "x$ac_cv_cflags__fno_strict_aliasing" = xyes; then :
13524 EXTRACFLAGS="$EXTRACFLAGS -fno-strict-aliasing"
13526 saved_CFLAGS=$CFLAGS
13527 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Werror=unknown-warning-option" >&5
13528 $as_echo_n "checking whether the compiler supports -Werror=unknown-warning-option... " >&6; }
13529 if ${ac_cv_cflags__Werror_unknown_warning_option+:} false; then :
13530 $as_echo_n "(cached) " >&6
13531 else
13532 ac_wine_try_cflags_saved=$CFLAGS
13533 CFLAGS="$CFLAGS -Werror=unknown-warning-option"
13534 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13535 /* end confdefs.h. */
13536 int main(int argc, char **argv) { return 0; }
13537 _ACEOF
13538 if ac_fn_c_try_link "$LINENO"; then :
13539 ac_cv_cflags__Werror_unknown_warning_option=yes
13540 else
13541 ac_cv_cflags__Werror_unknown_warning_option=no
13543 rm -f core conftest.err conftest.$ac_objext \
13544 conftest$ac_exeext conftest.$ac_ext
13545 CFLAGS=$ac_wine_try_cflags_saved
13547 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Werror_unknown_warning_option" >&5
13548 $as_echo "$ac_cv_cflags__Werror_unknown_warning_option" >&6; }
13549 if test "x$ac_cv_cflags__Werror_unknown_warning_option" = xyes; then :
13550 CFLAGS="$CFLAGS -Werror=unknown-warning-option"
13552 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wdeclaration-after-statement" >&5
13553 $as_echo_n "checking whether the compiler supports -Wdeclaration-after-statement... " >&6; }
13554 if ${ac_cv_cflags__Wdeclaration_after_statement+:} false; then :
13555 $as_echo_n "(cached) " >&6
13556 else
13557 ac_wine_try_cflags_saved=$CFLAGS
13558 CFLAGS="$CFLAGS -Wdeclaration-after-statement"
13559 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13560 /* end confdefs.h. */
13561 int main(int argc, char **argv) { return 0; }
13562 _ACEOF
13563 if ac_fn_c_try_link "$LINENO"; then :
13564 ac_cv_cflags__Wdeclaration_after_statement=yes
13565 else
13566 ac_cv_cflags__Wdeclaration_after_statement=no
13568 rm -f core conftest.err conftest.$ac_objext \
13569 conftest$ac_exeext conftest.$ac_ext
13570 CFLAGS=$ac_wine_try_cflags_saved
13572 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wdeclaration_after_statement" >&5
13573 $as_echo "$ac_cv_cflags__Wdeclaration_after_statement" >&6; }
13574 if test "x$ac_cv_cflags__Wdeclaration_after_statement" = xyes; then :
13575 EXTRACFLAGS="$EXTRACFLAGS -Wdeclaration-after-statement"
13577 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wempty-body" >&5
13578 $as_echo_n "checking whether the compiler supports -Wempty-body... " >&6; }
13579 if ${ac_cv_cflags__Wempty_body+:} false; then :
13580 $as_echo_n "(cached) " >&6
13581 else
13582 ac_wine_try_cflags_saved=$CFLAGS
13583 CFLAGS="$CFLAGS -Wempty-body"
13584 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13585 /* end confdefs.h. */
13586 int main(int argc, char **argv) { return 0; }
13587 _ACEOF
13588 if ac_fn_c_try_link "$LINENO"; then :
13589 ac_cv_cflags__Wempty_body=yes
13590 else
13591 ac_cv_cflags__Wempty_body=no
13593 rm -f core conftest.err conftest.$ac_objext \
13594 conftest$ac_exeext conftest.$ac_ext
13595 CFLAGS=$ac_wine_try_cflags_saved
13597 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wempty_body" >&5
13598 $as_echo "$ac_cv_cflags__Wempty_body" >&6; }
13599 if test "x$ac_cv_cflags__Wempty_body" = xyes; then :
13600 EXTRACFLAGS="$EXTRACFLAGS -Wempty-body"
13602 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wignored-qualifiers" >&5
13603 $as_echo_n "checking whether the compiler supports -Wignored-qualifiers... " >&6; }
13604 if ${ac_cv_cflags__Wignored_qualifiers+:} false; then :
13605 $as_echo_n "(cached) " >&6
13606 else
13607 ac_wine_try_cflags_saved=$CFLAGS
13608 CFLAGS="$CFLAGS -Wignored-qualifiers"
13609 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13610 /* end confdefs.h. */
13611 int main(int argc, char **argv) { return 0; }
13612 _ACEOF
13613 if ac_fn_c_try_link "$LINENO"; then :
13614 ac_cv_cflags__Wignored_qualifiers=yes
13615 else
13616 ac_cv_cflags__Wignored_qualifiers=no
13618 rm -f core conftest.err conftest.$ac_objext \
13619 conftest$ac_exeext conftest.$ac_ext
13620 CFLAGS=$ac_wine_try_cflags_saved
13622 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wignored_qualifiers" >&5
13623 $as_echo "$ac_cv_cflags__Wignored_qualifiers" >&6; }
13624 if test "x$ac_cv_cflags__Wignored_qualifiers" = xyes; then :
13625 EXTRACFLAGS="$EXTRACFLAGS -Wignored-qualifiers"
13627 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wstrict-prototypes" >&5
13628 $as_echo_n "checking whether the compiler supports -Wstrict-prototypes... " >&6; }
13629 if ${ac_cv_cflags__Wstrict_prototypes+:} false; then :
13630 $as_echo_n "(cached) " >&6
13631 else
13632 ac_wine_try_cflags_saved=$CFLAGS
13633 CFLAGS="$CFLAGS -Wstrict-prototypes"
13634 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13635 /* end confdefs.h. */
13636 int main(int argc, char **argv) { return 0; }
13637 _ACEOF
13638 if ac_fn_c_try_link "$LINENO"; then :
13639 ac_cv_cflags__Wstrict_prototypes=yes
13640 else
13641 ac_cv_cflags__Wstrict_prototypes=no
13643 rm -f core conftest.err conftest.$ac_objext \
13644 conftest$ac_exeext conftest.$ac_ext
13645 CFLAGS=$ac_wine_try_cflags_saved
13647 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wstrict_prototypes" >&5
13648 $as_echo "$ac_cv_cflags__Wstrict_prototypes" >&6; }
13649 if test "x$ac_cv_cflags__Wstrict_prototypes" = xyes; then :
13650 EXTRACFLAGS="$EXTRACFLAGS -Wstrict-prototypes"
13652 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wtype-limits" >&5
13653 $as_echo_n "checking whether the compiler supports -Wtype-limits... " >&6; }
13654 if ${ac_cv_cflags__Wtype_limits+:} false; then :
13655 $as_echo_n "(cached) " >&6
13656 else
13657 ac_wine_try_cflags_saved=$CFLAGS
13658 CFLAGS="$CFLAGS -Wtype-limits"
13659 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13660 /* end confdefs.h. */
13661 int main(int argc, char **argv) { return 0; }
13662 _ACEOF
13663 if ac_fn_c_try_link "$LINENO"; then :
13664 ac_cv_cflags__Wtype_limits=yes
13665 else
13666 ac_cv_cflags__Wtype_limits=no
13668 rm -f core conftest.err conftest.$ac_objext \
13669 conftest$ac_exeext conftest.$ac_ext
13670 CFLAGS=$ac_wine_try_cflags_saved
13672 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wtype_limits" >&5
13673 $as_echo "$ac_cv_cflags__Wtype_limits" >&6; }
13674 if test "x$ac_cv_cflags__Wtype_limits" = xyes; then :
13675 EXTRACFLAGS="$EXTRACFLAGS -Wtype-limits"
13677 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wunused-but-set-parameter" >&5
13678 $as_echo_n "checking whether the compiler supports -Wunused-but-set-parameter... " >&6; }
13679 if ${ac_cv_cflags__Wunused_but_set_parameter+:} false; then :
13680 $as_echo_n "(cached) " >&6
13681 else
13682 ac_wine_try_cflags_saved=$CFLAGS
13683 CFLAGS="$CFLAGS -Wunused-but-set-parameter"
13684 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13685 /* end confdefs.h. */
13686 int main(int argc, char **argv) { return 0; }
13687 _ACEOF
13688 if ac_fn_c_try_link "$LINENO"; then :
13689 ac_cv_cflags__Wunused_but_set_parameter=yes
13690 else
13691 ac_cv_cflags__Wunused_but_set_parameter=no
13693 rm -f core conftest.err conftest.$ac_objext \
13694 conftest$ac_exeext conftest.$ac_ext
13695 CFLAGS=$ac_wine_try_cflags_saved
13697 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wunused_but_set_parameter" >&5
13698 $as_echo "$ac_cv_cflags__Wunused_but_set_parameter" >&6; }
13699 if test "x$ac_cv_cflags__Wunused_but_set_parameter" = xyes; then :
13700 EXTRACFLAGS="$EXTRACFLAGS -Wunused-but-set-parameter"
13702 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wvla" >&5
13703 $as_echo_n "checking whether the compiler supports -Wvla... " >&6; }
13704 if ${ac_cv_cflags__Wvla+:} false; then :
13705 $as_echo_n "(cached) " >&6
13706 else
13707 ac_wine_try_cflags_saved=$CFLAGS
13708 CFLAGS="$CFLAGS -Wvla"
13709 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13710 /* end confdefs.h. */
13711 int main(int argc, char **argv) { return 0; }
13712 _ACEOF
13713 if ac_fn_c_try_link "$LINENO"; then :
13714 ac_cv_cflags__Wvla=yes
13715 else
13716 ac_cv_cflags__Wvla=no
13718 rm -f core conftest.err conftest.$ac_objext \
13719 conftest$ac_exeext conftest.$ac_ext
13720 CFLAGS=$ac_wine_try_cflags_saved
13722 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wvla" >&5
13723 $as_echo "$ac_cv_cflags__Wvla" >&6; }
13724 if test "x$ac_cv_cflags__Wvla" = xyes; then :
13725 EXTRACFLAGS="$EXTRACFLAGS -Wvla"
13727 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wwrite-strings" >&5
13728 $as_echo_n "checking whether the compiler supports -Wwrite-strings... " >&6; }
13729 if ${ac_cv_cflags__Wwrite_strings+:} false; then :
13730 $as_echo_n "(cached) " >&6
13731 else
13732 ac_wine_try_cflags_saved=$CFLAGS
13733 CFLAGS="$CFLAGS -Wwrite-strings"
13734 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13735 /* end confdefs.h. */
13736 int main(int argc, char **argv) { return 0; }
13737 _ACEOF
13738 if ac_fn_c_try_link "$LINENO"; then :
13739 ac_cv_cflags__Wwrite_strings=yes
13740 else
13741 ac_cv_cflags__Wwrite_strings=no
13743 rm -f core conftest.err conftest.$ac_objext \
13744 conftest$ac_exeext conftest.$ac_ext
13745 CFLAGS=$ac_wine_try_cflags_saved
13747 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wwrite_strings" >&5
13748 $as_echo "$ac_cv_cflags__Wwrite_strings" >&6; }
13749 if test "x$ac_cv_cflags__Wwrite_strings" = xyes; then :
13750 EXTRACFLAGS="$EXTRACFLAGS -Wwrite-strings"
13753 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wpointer-arith" >&5
13754 $as_echo_n "checking whether the compiler supports -Wpointer-arith... " >&6; }
13755 if ${ac_cv_cflags__Wpointer_arith+:} false; then :
13756 $as_echo_n "(cached) " >&6
13757 else
13758 ac_wine_try_cflags_saved=$CFLAGS
13759 CFLAGS="$CFLAGS -Wpointer-arith"
13760 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13761 /* end confdefs.h. */
13762 int main(int argc, char **argv) { return 0; }
13763 _ACEOF
13764 if ac_fn_c_try_link "$LINENO"; then :
13765 ac_cv_cflags__Wpointer_arith=yes
13766 else
13767 ac_cv_cflags__Wpointer_arith=no
13769 rm -f core conftest.err conftest.$ac_objext \
13770 conftest$ac_exeext conftest.$ac_ext
13771 CFLAGS=$ac_wine_try_cflags_saved
13773 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wpointer_arith" >&5
13774 $as_echo "$ac_cv_cflags__Wpointer_arith" >&6; }
13775 if test "x$ac_cv_cflags__Wpointer_arith" = xyes; then :
13776 saved_string_h_CFLAGS=$CFLAGS
13777 CFLAGS="$CFLAGS -Wpointer-arith -Werror"
13778 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for broken string.h that generates warnings with -Wpointer-arith" >&5
13779 $as_echo_n "checking for broken string.h that generates warnings with -Wpointer-arith... " >&6; }
13780 if ${ac_cv_c_string_h_warnings+:} false; then :
13781 $as_echo_n "(cached) " >&6
13782 else
13783 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13784 /* end confdefs.h. */
13785 #include <string.h>
13787 main ()
13791 return 0;
13793 _ACEOF
13794 if ac_fn_c_try_compile "$LINENO"; then :
13795 ac_cv_c_string_h_warnings=no
13796 else
13797 ac_cv_c_string_h_warnings=yes
13799 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
13801 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_string_h_warnings" >&5
13802 $as_echo "$ac_cv_c_string_h_warnings" >&6; }
13803 test "$ac_cv_c_string_h_warnings" = yes || EXTRACFLAGS="$EXTRACFLAGS -Wpointer-arith"
13804 CFLAGS=$saved_string_h_CFLAGS
13807 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wlogical-op" >&5
13808 $as_echo_n "checking whether the compiler supports -Wlogical-op... " >&6; }
13809 if ${ac_cv_cflags__Wlogical_op+:} false; then :
13810 $as_echo_n "(cached) " >&6
13811 else
13812 ac_wine_try_cflags_saved=$CFLAGS
13813 CFLAGS="$CFLAGS -Wlogical-op"
13814 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13815 /* end confdefs.h. */
13816 int main(int argc, char **argv) { return 0; }
13817 _ACEOF
13818 if ac_fn_c_try_link "$LINENO"; then :
13819 ac_cv_cflags__Wlogical_op=yes
13820 else
13821 ac_cv_cflags__Wlogical_op=no
13823 rm -f core conftest.err conftest.$ac_objext \
13824 conftest$ac_exeext conftest.$ac_ext
13825 CFLAGS=$ac_wine_try_cflags_saved
13827 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wlogical_op" >&5
13828 $as_echo "$ac_cv_cflags__Wlogical_op" >&6; }
13829 if test "x$ac_cv_cflags__Wlogical_op" = xyes; then :
13830 saved_string_h_CFLAGS=$CFLAGS
13831 CFLAGS="$CFLAGS -Wlogical-op -Werror"
13832 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for broken string.h that generates warnings with -Wlogical-op" >&5
13833 $as_echo_n "checking for broken string.h that generates warnings with -Wlogical-op... " >&6; }
13834 if ${ac_cv_c_logicalop_noisy+:} false; then :
13835 $as_echo_n "(cached) " >&6
13836 else
13837 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13838 /* end confdefs.h. */
13839 #include <string.h>
13840 char*f(const char *h,char n) {return strchr(h,n);}
13842 main ()
13846 return 0;
13848 _ACEOF
13849 if ac_fn_c_try_compile "$LINENO"; then :
13850 ac_cv_c_logicalop_noisy=no
13851 else
13852 ac_cv_c_logicalop_noisy=yes
13854 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
13856 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_logicalop_noisy" >&5
13857 $as_echo "$ac_cv_c_logicalop_noisy" >&6; }
13858 CFLAGS=$saved_string_h_CFLAGS
13859 test "$ac_cv_c_logicalop_noisy" = yes || EXTRACFLAGS="$EXTRACFLAGS -Wlogical-op"
13862 CFLAGS=$saved_CFLAGS
13864 for ac_flag in $CFLAGS; do
13865 case $ac_flag in
13866 -g) case $host_os in
13867 darwin*) { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -gstabs+" >&5
13868 $as_echo_n "checking whether the compiler supports -gstabs+... " >&6; }
13869 if ${ac_cv_cflags__gstabsp+:} false; then :
13870 $as_echo_n "(cached) " >&6
13871 else
13872 ac_wine_try_cflags_saved=$CFLAGS
13873 CFLAGS="$CFLAGS -gstabs+"
13874 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13875 /* end confdefs.h. */
13876 int main(int argc, char **argv) { return 0; }
13877 _ACEOF
13878 if ac_fn_c_try_link "$LINENO"; then :
13879 ac_cv_cflags__gstabsp=yes
13880 else
13881 ac_cv_cflags__gstabsp=no
13883 rm -f core conftest.err conftest.$ac_objext \
13884 conftest$ac_exeext conftest.$ac_ext
13885 CFLAGS=$ac_wine_try_cflags_saved
13887 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__gstabsp" >&5
13888 $as_echo "$ac_cv_cflags__gstabsp" >&6; }
13889 if test "x$ac_cv_cflags__gstabsp" = xyes; then :
13890 EXTRACFLAGS="$EXTRACFLAGS -gstabs+"
13891 fi ;;
13892 *) { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -gdwarf-2" >&5
13893 $as_echo_n "checking whether the compiler supports -gdwarf-2... " >&6; }
13894 if ${ac_cv_cflags__gdwarf_2+:} false; then :
13895 $as_echo_n "(cached) " >&6
13896 else
13897 ac_wine_try_cflags_saved=$CFLAGS
13898 CFLAGS="$CFLAGS -gdwarf-2"
13899 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13900 /* end confdefs.h. */
13901 int main(int argc, char **argv) { return 0; }
13902 _ACEOF
13903 if ac_fn_c_try_link "$LINENO"; then :
13904 ac_cv_cflags__gdwarf_2=yes
13905 else
13906 ac_cv_cflags__gdwarf_2=no
13908 rm -f core conftest.err conftest.$ac_objext \
13909 conftest$ac_exeext conftest.$ac_ext
13910 CFLAGS=$ac_wine_try_cflags_saved
13912 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__gdwarf_2" >&5
13913 $as_echo "$ac_cv_cflags__gdwarf_2" >&6; }
13914 if test "x$ac_cv_cflags__gdwarf_2" = xyes; then :
13915 EXTRACFLAGS="$EXTRACFLAGS -gdwarf-2"
13917 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -gstrict-dwarf" >&5
13918 $as_echo_n "checking whether the compiler supports -gstrict-dwarf... " >&6; }
13919 if ${ac_cv_cflags__gstrict_dwarf+:} false; then :
13920 $as_echo_n "(cached) " >&6
13921 else
13922 ac_wine_try_cflags_saved=$CFLAGS
13923 CFLAGS="$CFLAGS -gstrict-dwarf"
13924 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13925 /* end confdefs.h. */
13926 int main(int argc, char **argv) { return 0; }
13927 _ACEOF
13928 if ac_fn_c_try_link "$LINENO"; then :
13929 ac_cv_cflags__gstrict_dwarf=yes
13930 else
13931 ac_cv_cflags__gstrict_dwarf=no
13933 rm -f core conftest.err conftest.$ac_objext \
13934 conftest$ac_exeext conftest.$ac_ext
13935 CFLAGS=$ac_wine_try_cflags_saved
13937 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__gstrict_dwarf" >&5
13938 $as_echo "$ac_cv_cflags__gstrict_dwarf" >&6; }
13939 if test "x$ac_cv_cflags__gstrict_dwarf" = xyes; then :
13940 EXTRACFLAGS="$EXTRACFLAGS -gstrict-dwarf"
13941 fi ;;
13942 esac ;;
13943 esac
13944 done
13946 case $host_cpu in
13947 *i[3456789]86*) { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -fno-omit-frame-pointer" >&5
13948 $as_echo_n "checking whether the compiler supports -fno-omit-frame-pointer... " >&6; }
13949 if ${ac_cv_cflags__fno_omit_frame_pointer+:} false; then :
13950 $as_echo_n "(cached) " >&6
13951 else
13952 ac_wine_try_cflags_saved=$CFLAGS
13953 CFLAGS="$CFLAGS -fno-omit-frame-pointer"
13954 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13955 /* end confdefs.h. */
13956 int main(int argc, char **argv) { return 0; }
13957 _ACEOF
13958 if ac_fn_c_try_link "$LINENO"; then :
13959 ac_cv_cflags__fno_omit_frame_pointer=yes
13960 else
13961 ac_cv_cflags__fno_omit_frame_pointer=no
13963 rm -f core conftest.err conftest.$ac_objext \
13964 conftest$ac_exeext conftest.$ac_ext
13965 CFLAGS=$ac_wine_try_cflags_saved
13967 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__fno_omit_frame_pointer" >&5
13968 $as_echo "$ac_cv_cflags__fno_omit_frame_pointer" >&6; }
13969 if test "x$ac_cv_cflags__fno_omit_frame_pointer" = xyes; then :
13970 EXTRACFLAGS="$EXTRACFLAGS -fno-omit-frame-pointer"
13971 fi ;;
13972 esac
13974 case $host in
13975 x86_64-*mingw32*|x86_64-*cygwin*) { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wno-format" >&5
13976 $as_echo_n "checking whether the compiler supports -Wno-format... " >&6; }
13977 if ${ac_cv_cflags__Wno_format+:} false; then :
13978 $as_echo_n "(cached) " >&6
13979 else
13980 ac_wine_try_cflags_saved=$CFLAGS
13981 CFLAGS="$CFLAGS -Wno-format"
13982 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13983 /* end confdefs.h. */
13984 int main(int argc, char **argv) { return 0; }
13985 _ACEOF
13986 if ac_fn_c_try_link "$LINENO"; then :
13987 ac_cv_cflags__Wno_format=yes
13988 else
13989 ac_cv_cflags__Wno_format=no
13991 rm -f core conftest.err conftest.$ac_objext \
13992 conftest$ac_exeext conftest.$ac_ext
13993 CFLAGS=$ac_wine_try_cflags_saved
13995 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wno_format" >&5
13996 $as_echo "$ac_cv_cflags__Wno_format" >&6; }
13997 if test "x$ac_cv_cflags__Wno_format" = xyes; then :
13998 EXTRACFLAGS="$EXTRACFLAGS -Wno-format"
13999 fi ;;
14000 esac
14002 if test "x$enable_maintainer_mode" = "xyes"
14003 then
14004 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Werror" >&5
14005 $as_echo_n "checking whether the compiler supports -Werror... " >&6; }
14006 if ${ac_cv_cflags__Werror+:} false; then :
14007 $as_echo_n "(cached) " >&6
14008 else
14009 ac_wine_try_cflags_saved=$CFLAGS
14010 CFLAGS="$CFLAGS -Werror"
14011 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14012 /* end confdefs.h. */
14013 int main(int argc, char **argv) { return 0; }
14014 _ACEOF
14015 if ac_fn_c_try_link "$LINENO"; then :
14016 ac_cv_cflags__Werror=yes
14017 else
14018 ac_cv_cflags__Werror=no
14020 rm -f core conftest.err conftest.$ac_objext \
14021 conftest$ac_exeext conftest.$ac_ext
14022 CFLAGS=$ac_wine_try_cflags_saved
14024 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Werror" >&5
14025 $as_echo "$ac_cv_cflags__Werror" >&6; }
14026 if test "x$ac_cv_cflags__Werror" = xyes; then :
14027 EXTRACFLAGS="$EXTRACFLAGS -Werror"
14031 saved_CFLAGS="$CFLAGS"
14032 CFLAGS="$CFLAGS -Werror"
14033 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ms_hook_prologue attribute" >&5
14034 $as_echo_n "checking for ms_hook_prologue attribute... " >&6; }
14035 if ${ac_cv_have_ms_hook_prologue+:} false; then :
14036 $as_echo_n "(cached) " >&6
14037 else
14038 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14039 /* end confdefs.h. */
14040 int __attribute__((__ms_hook_prologue__)) test(void) { return 0; }
14042 main ()
14046 return 0;
14048 _ACEOF
14049 if ac_fn_c_try_compile "$LINENO"; then :
14050 ac_cv_have_ms_hook_prologue="yes"
14051 else
14052 ac_cv_have_ms_hook_prologue="no"
14054 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
14056 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_have_ms_hook_prologue" >&5
14057 $as_echo "$ac_cv_have_ms_hook_prologue" >&6; }
14058 CFLAGS="$saved_CFLAGS"
14059 if test "$ac_cv_have_ms_hook_prologue" = "yes"
14060 then
14062 $as_echo "#define DECLSPEC_HOTPATCH __attribute__((__ms_hook_prologue__))" >>confdefs.h
14064 else
14065 $as_echo "#define DECLSPEC_HOTPATCH /* */" >>confdefs.h
14071 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for the need to disable Fortify" >&5
14072 $as_echo_n "checking for the need to disable Fortify... " >&6; }
14073 if ${ac_cv_c_fortify_enabled+:} false; then :
14074 $as_echo_n "(cached) " >&6
14075 else
14076 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14077 /* end confdefs.h. */
14078 #include <string.h>
14080 main ()
14082 #if defined(__USE_FORTIFY_LEVEL) && __USE_FORTIFY_LEVEL > 0
14083 #error Fortify enabled
14084 #endif
14086 return 0;
14088 _ACEOF
14089 if ac_fn_c_try_compile "$LINENO"; then :
14090 ac_cv_c_fortify_enabled=no
14091 else
14092 ac_cv_c_fortify_enabled=yes
14094 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
14096 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_fortify_enabled" >&5
14097 $as_echo "$ac_cv_c_fortify_enabled" >&6; }
14098 if test "$ac_cv_c_fortify_enabled" = yes
14099 then
14100 CFLAGS="$CFLAGS -U_FORTIFY_SOURCE -D_FORTIFY_SOURCE=0"
14104 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether external symbols need an underscore prefix" >&5
14105 $as_echo_n "checking whether external symbols need an underscore prefix... " >&6; }
14106 if ${ac_cv_c_extern_prefix+:} false; then :
14107 $as_echo_n "(cached) " >&6
14108 else
14109 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14110 /* end confdefs.h. */
14111 extern int ac_test;
14113 main ()
14115 asm(".globl _ac_test\n_ac_test:\t.long 0"); if (ac_test) return 1
14117 return 0;
14119 _ACEOF
14120 if ac_fn_c_try_link "$LINENO"; then :
14121 ac_cv_c_extern_prefix="yes"
14122 else
14123 ac_cv_c_extern_prefix="no"
14125 rm -f core conftest.err conftest.$ac_objext \
14126 conftest$ac_exeext conftest.$ac_ext
14128 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_extern_prefix" >&5
14129 $as_echo "$ac_cv_c_extern_prefix" >&6; }
14131 case $host_cpu in
14132 *i[3456789]86*)
14133 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether external symbols need stdcall decoration" >&5
14134 $as_echo_n "checking whether external symbols need stdcall decoration... " >&6; }
14135 if ${ac_cv_c_stdcall_suffix+:} false; then :
14136 $as_echo_n "(cached) " >&6
14137 else
14138 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14139 /* end confdefs.h. */
14140 #ifndef _MSC_VER
14141 #define __stdcall __attribute__((__stdcall__))
14142 #endif
14143 int __stdcall ac_test(int i) { return i; }
14145 main ()
14147 asm("jmp _ac_test@4"); if (ac_test(1)) return 1
14149 return 0;
14151 _ACEOF
14152 if ac_fn_c_try_link "$LINENO"; then :
14153 ac_cv_c_stdcall_suffix="yes"
14154 else
14155 ac_cv_c_stdcall_suffix="no"
14157 rm -f core conftest.err conftest.$ac_objext \
14158 conftest$ac_exeext conftest.$ac_ext
14160 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_stdcall_suffix" >&5
14161 $as_echo "$ac_cv_c_stdcall_suffix" >&6; } ;;
14162 *) ac_cv_c_stdcall_suffix="no" ;;
14163 esac
14166 if test "$ac_cv_c_extern_prefix" = "yes"
14167 then
14168 $as_echo "#define __ASM_NAME(name) \"_\" name" >>confdefs.h
14170 asm_name_prefix="_"
14171 else
14172 $as_echo "#define __ASM_NAME(name) name" >>confdefs.h
14174 asm_name_prefix=""
14178 if test "$ac_cv_c_stdcall_suffix" = "yes"
14179 then
14180 $as_echo "#define __ASM_STDCALL(args) \"@\" #args" >>confdefs.h
14182 else
14183 $as_echo "#define __ASM_STDCALL(args) \"\"" >>confdefs.h
14188 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to define a function in assembly code" >&5
14189 $as_echo_n "checking how to define a function in assembly code... " >&6; }
14190 if ${ac_cv_asm_func_def+:} false; then :
14191 $as_echo_n "(cached) " >&6
14192 else
14193 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14194 /* end confdefs.h. */
14197 main ()
14199 asm("\t.globl _ac_test\n\t.def _ac_test; .scl 2; .type 32; .endef\n_ac_test:\t.long 0");
14201 return 0;
14203 _ACEOF
14204 if ac_fn_c_try_link "$LINENO"; then :
14205 ac_cv_asm_func_def=".def"
14206 else
14207 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14208 /* end confdefs.h. */
14211 main ()
14213 asm("\t.globl _ac_test\n\t.type _ac_test,@function\n_ac_test:\t.long 0");
14215 return 0;
14217 _ACEOF
14218 if ac_fn_c_try_link "$LINENO"; then :
14219 ac_cv_asm_func_def=".type @function"
14220 else
14221 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14222 /* end confdefs.h. */
14225 main ()
14227 asm("\t.globl _ac_test\n\t.type _ac_test,2\n_ac_test:\t.long 0");
14229 return 0;
14231 _ACEOF
14232 if ac_fn_c_try_link "$LINENO"; then :
14233 ac_cv_asm_func_def=".type 2"
14234 else
14235 ac_cv_asm_func_def="unknown"
14237 rm -f core conftest.err conftest.$ac_objext \
14238 conftest$ac_exeext conftest.$ac_ext
14240 rm -f core conftest.err conftest.$ac_objext \
14241 conftest$ac_exeext conftest.$ac_ext
14243 rm -f core conftest.err conftest.$ac_objext \
14244 conftest$ac_exeext conftest.$ac_ext
14246 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_asm_func_def" >&5
14247 $as_echo "$ac_cv_asm_func_def" >&6; }
14250 case "$ac_cv_asm_func_def" in
14251 ".def")
14252 $as_echo "#define __ASM_FUNC(name) \".def \" __ASM_NAME(name) \"; .scl 2; .type 32; .endef\"" >>confdefs.h
14254 asm_func_header=".def $asm_name_prefix\" #name suffix \"; .scl 2; .type 32; .endef" ;;
14255 ".type @function")
14256 $as_echo "#define __ASM_FUNC(name) \".type \" __ASM_NAME(name) \",@function\"" >>confdefs.h
14258 asm_func_header=".type $asm_name_prefix\" #name suffix \",@function" ;;
14259 ".type 2")
14260 $as_echo "#define __ASM_FUNC(name) \".type \" __ASM_NAME(name) \",2\"" >>confdefs.h
14262 asm_func_header=".type $asm_name_prefix\" #name suffix \",2" ;;
14264 $as_echo "#define __ASM_FUNC(name) \"\"" >>confdefs.h
14266 asm_func_header="" ;;
14267 esac
14269 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether asm() works outside of functions" >&5
14270 $as_echo_n "checking whether asm() works outside of functions... " >&6; }
14271 if ${ac_cv_c_asm_outside_funcs+:} false; then :
14272 $as_echo_n "(cached) " >&6
14273 else
14274 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14275 /* end confdefs.h. */
14276 asm(".text\n\t.long 0");
14278 main ()
14282 return 0;
14284 _ACEOF
14285 if ac_fn_c_try_compile "$LINENO"; then :
14286 ac_cv_c_asm_outside_funcs="yes"
14287 else
14288 ac_cv_c_asm_outside_funcs="no"
14290 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
14292 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_asm_outside_funcs" >&5
14293 $as_echo "$ac_cv_c_asm_outside_funcs" >&6; }
14295 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether .previous is supported in assembly code" >&5
14296 $as_echo_n "checking whether .previous is supported in assembly code... " >&6; }
14297 if ${ac_cv_c_dot_previous+:} false; then :
14298 $as_echo_n "(cached) " >&6
14299 else
14300 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14301 /* end confdefs.h. */
14304 main ()
14306 asm(".text\nac_test:\t.long 0\n\t.previous");
14308 return 0;
14310 _ACEOF
14311 if ac_fn_c_try_link "$LINENO"; then :
14312 ac_cv_c_dot_previous="yes"
14313 else
14314 ac_cv_c_dot_previous="no"
14316 rm -f core conftest.err conftest.$ac_objext \
14317 conftest$ac_exeext conftest.$ac_ext
14319 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_dot_previous" >&5
14320 $as_echo "$ac_cv_c_dot_previous" >&6; }
14322 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether CFI directives are supported in assembly code" >&5
14323 $as_echo_n "checking whether CFI directives are supported in assembly code... " >&6; }
14324 if ${ac_cv_c_cfi_support+:} false; then :
14325 $as_echo_n "(cached) " >&6
14326 else
14327 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14328 /* end confdefs.h. */
14329 asm(".text\nac_test:\t.cfi_startproc\n\t.long 0\n\t.cfi_endproc");
14331 main ()
14335 return 0;
14337 _ACEOF
14338 if ac_fn_c_try_compile "$LINENO"; then :
14339 ac_cv_c_cfi_support="yes"
14340 else
14341 ac_cv_c_cfi_support="no"
14343 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
14345 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_cfi_support" >&5
14346 $as_echo "$ac_cv_c_cfi_support" >&6; }
14348 asm_func_header=".globl $asm_name_prefix\" #name suffix \"\\n\\t$asm_func_header\\n$asm_name_prefix\" #name suffix \":\\n\\t"
14349 asm_func_trailer=""
14350 if test "$ac_cv_c_dot_previous" = "yes"
14351 then
14352 asm_func_trailer="\\n\\t.previous"
14354 if test "$ac_cv_c_cfi_support" = "yes"
14355 then
14356 asm_func_header="$asm_func_header.cfi_startproc\\n\\t"
14357 asm_func_trailer="\\n\\t.cfi_endproc$asm_func_trailer"
14359 $as_echo "#define __ASM_CFI(str) str" >>confdefs.h
14361 UNWINDFLAGS=-fasynchronous-unwind-tables
14363 else
14364 $as_echo "#define __ASM_CFI(str) \"\"" >>confdefs.h
14368 asm_func_code="$asm_func_header\" code \"$asm_func_trailer"
14371 if test "$ac_cv_c_asm_outside_funcs" = "yes"
14372 then
14373 cat >>confdefs.h <<_ACEOF
14374 #define __ASM_DEFINE_FUNC(name,suffix,code) asm(".text\n\t.align 4\n\t$asm_func_code");
14375 _ACEOF
14377 else
14378 cat >>confdefs.h <<_ACEOF
14379 #define __ASM_DEFINE_FUNC(name,suffix,code) void __asm_dummy_##name(void) { asm(".text\n\t.align 4\n\t$asm_func_code"); }
14380 _ACEOF
14384 $as_echo "#define __ASM_GLOBAL_FUNC(name,code) __ASM_DEFINE_FUNC(name,\"\",code)" >>confdefs.h
14387 $as_echo "#define __ASM_STDCALL_FUNC(name,args,code) __ASM_DEFINE_FUNC(name,__ASM_STDCALL(args),code)" >>confdefs.h
14391 case $build_os in
14392 cygwin*|mingw32*) TOOLSEXT=".exe"
14394 esac
14396 case $host_os in
14397 linux*)
14398 case $host_cpu in
14399 *i[3456789]86*|x86_64*)
14400 test "$wine_binary" = wine || wine_fn_ignore_file "loader/wine-preloader"
14401 loader_programs="$loader_programs $wine_binary-preloader"
14402 as_fn_append LOADER_RULES "
14403 $wine_binary-preloader: preloader.o
14404 \$(CC) -o \$@ -static -nostartfiles -nodefaultlibs -Wl,-Ttext=0x7c400000 preloader.o \$(LIBPORT) \$(LDFLAGS)
14406 install install-lib:: $wine_binary-preloader
14407 \$(INSTALL_PROGRAM) $wine_binary-preloader \$(DESTDIR)\$(bindir)/$wine_binary-preloader
14409 uninstall::
14410 \$(RM) \$(DESTDIR)\$(bindir)/$wine_binary-preloader
14412 preloader_EXTRADEFS = $BUILTINFLAG
14413 " ;;
14414 esac
14416 esac
14417 as_fn_append LOADER_RULES "
14418 PROGRAMS = $loader_programs
14422 ac_save_CFLAGS="$CFLAGS"
14423 CFLAGS="$CFLAGS $BUILTINFLAG"
14424 for ac_func in \
14425 __res_get_state \
14426 __res_getservers \
14427 _finite \
14428 _isnan \
14429 _pclose \
14430 _popen \
14431 _snprintf \
14432 _spawnvp \
14433 _strdup \
14434 _stricmp \
14435 _strnicmp \
14436 _strtoi64 \
14437 _strtoui64 \
14438 _vsnprintf \
14439 asctime_r \
14440 chsize \
14441 dlopen \
14442 epoll_create \
14443 ffs \
14444 fnmatch \
14445 fork \
14446 fpclass \
14447 fstatfs \
14448 fstatvfs \
14449 ftruncate \
14450 futimens \
14451 futimes \
14452 futimesat \
14453 getattrlist \
14454 getdirentries \
14455 getopt_long_only \
14456 getpwuid \
14457 gettimeofday \
14458 getuid \
14459 if_nameindex \
14460 kqueue \
14461 lstat \
14462 memmove \
14463 mmap \
14464 pclose \
14465 pipe2 \
14466 poll \
14467 popen \
14468 port_create \
14469 prctl \
14470 pread \
14471 proc_pidinfo \
14472 pwrite \
14473 readdir \
14474 readlink \
14475 sched_yield \
14476 select \
14477 setproctitle \
14478 setrlimit \
14479 settimeofday \
14480 sigaltstack \
14481 sigprocmask \
14482 snprintf \
14483 statfs \
14484 statvfs \
14485 strcasecmp \
14486 strdup \
14487 strerror \
14488 strncasecmp \
14489 strtold \
14490 strtoll \
14491 strtoull \
14492 symlink \
14493 tcdrain \
14494 thr_kill2 \
14495 timegm \
14496 usleep \
14497 vsnprintf
14499 do :
14500 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
14501 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
14502 if eval test \"x\$"$as_ac_var"\" = x"yes"; then :
14503 cat >>confdefs.h <<_ACEOF
14504 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
14505 _ACEOF
14508 done
14510 CFLAGS="$ac_save_CFLAGS"
14512 if test "$ac_cv_func_dlopen" = no
14513 then
14514 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dlopen in -ldl" >&5
14515 $as_echo_n "checking for dlopen in -ldl... " >&6; }
14516 if ${ac_cv_lib_dl_dlopen+:} false; then :
14517 $as_echo_n "(cached) " >&6
14518 else
14519 ac_check_lib_save_LIBS=$LIBS
14520 LIBS="-ldl $LIBS"
14521 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14522 /* end confdefs.h. */
14524 /* Override any GCC internal prototype to avoid an error.
14525 Use char because int might match the return type of a GCC
14526 builtin and then its argument prototype would still apply. */
14527 #ifdef __cplusplus
14528 extern "C"
14529 #endif
14530 char dlopen ();
14532 main ()
14534 return dlopen ();
14536 return 0;
14538 _ACEOF
14539 if ac_fn_c_try_link "$LINENO"; then :
14540 ac_cv_lib_dl_dlopen=yes
14541 else
14542 ac_cv_lib_dl_dlopen=no
14544 rm -f core conftest.err conftest.$ac_objext \
14545 conftest$ac_exeext conftest.$ac_ext
14546 LIBS=$ac_check_lib_save_LIBS
14548 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dl_dlopen" >&5
14549 $as_echo "$ac_cv_lib_dl_dlopen" >&6; }
14550 if test "x$ac_cv_lib_dl_dlopen" = xyes; then :
14551 $as_echo "#define HAVE_DLOPEN 1" >>confdefs.h
14552 DL_LIBS="-ldl"
14557 ac_wine_check_funcs_save_LIBS="$LIBS"
14558 LIBS="$LIBS $DL_LIBS"
14559 for ac_func in dladdr
14560 do :
14561 ac_fn_c_check_func "$LINENO" "dladdr" "ac_cv_func_dladdr"
14562 if test "x$ac_cv_func_dladdr" = xyes; then :
14563 cat >>confdefs.h <<_ACEOF
14564 #define HAVE_DLADDR 1
14565 _ACEOF
14568 done
14570 LIBS="$ac_wine_check_funcs_save_LIBS"
14572 if test "$ac_cv_func_poll" = no
14573 then
14574 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for poll in -lpoll" >&5
14575 $as_echo_n "checking for poll in -lpoll... " >&6; }
14576 if ${ac_cv_lib_poll_poll+:} false; then :
14577 $as_echo_n "(cached) " >&6
14578 else
14579 ac_check_lib_save_LIBS=$LIBS
14580 LIBS="-lpoll $LIBS"
14581 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14582 /* end confdefs.h. */
14584 /* Override any GCC internal prototype to avoid an error.
14585 Use char because int might match the return type of a GCC
14586 builtin and then its argument prototype would still apply. */
14587 #ifdef __cplusplus
14588 extern "C"
14589 #endif
14590 char poll ();
14592 main ()
14594 return poll ();
14596 return 0;
14598 _ACEOF
14599 if ac_fn_c_try_link "$LINENO"; then :
14600 ac_cv_lib_poll_poll=yes
14601 else
14602 ac_cv_lib_poll_poll=no
14604 rm -f core conftest.err conftest.$ac_objext \
14605 conftest$ac_exeext conftest.$ac_ext
14606 LIBS=$ac_check_lib_save_LIBS
14608 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_poll_poll" >&5
14609 $as_echo "$ac_cv_lib_poll_poll" >&6; }
14610 if test "x$ac_cv_lib_poll_poll" = xyes; then :
14611 $as_echo "#define HAVE_POLL 1" >>confdefs.h
14612 POLL_LIBS="-lpoll"
14618 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for library containing gethostbyname" >&5
14619 $as_echo_n "checking for library containing gethostbyname... " >&6; }
14620 if ${ac_cv_search_gethostbyname+:} false; then :
14621 $as_echo_n "(cached) " >&6
14622 else
14623 ac_func_search_save_LIBS=$LIBS
14624 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14625 /* end confdefs.h. */
14627 /* Override any GCC internal prototype to avoid an error.
14628 Use char because int might match the return type of a GCC
14629 builtin and then its argument prototype would still apply. */
14630 #ifdef __cplusplus
14631 extern "C"
14632 #endif
14633 char gethostbyname ();
14635 main ()
14637 return gethostbyname ();
14639 return 0;
14641 _ACEOF
14642 for ac_lib in '' nsl; do
14643 if test -z "$ac_lib"; then
14644 ac_res="none required"
14645 else
14646 ac_res=-l$ac_lib
14647 LIBS="-l$ac_lib $ac_func_search_save_LIBS"
14649 if ac_fn_c_try_link "$LINENO"; then :
14650 ac_cv_search_gethostbyname=$ac_res
14652 rm -f core conftest.err conftest.$ac_objext \
14653 conftest$ac_exeext
14654 if ${ac_cv_search_gethostbyname+:} false; then :
14655 break
14657 done
14658 if ${ac_cv_search_gethostbyname+:} false; then :
14660 else
14661 ac_cv_search_gethostbyname=no
14663 rm conftest.$ac_ext
14664 LIBS=$ac_func_search_save_LIBS
14666 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_search_gethostbyname" >&5
14667 $as_echo "$ac_cv_search_gethostbyname" >&6; }
14668 ac_res=$ac_cv_search_gethostbyname
14669 if test "$ac_res" != no; then :
14670 test "$ac_res" = "none required" || LIBS="$ac_res $LIBS"
14675 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for library containing connect" >&5
14676 $as_echo_n "checking for library containing connect... " >&6; }
14677 if ${ac_cv_search_connect+:} false; then :
14678 $as_echo_n "(cached) " >&6
14679 else
14680 ac_func_search_save_LIBS=$LIBS
14681 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14682 /* end confdefs.h. */
14684 /* Override any GCC internal prototype to avoid an error.
14685 Use char because int might match the return type of a GCC
14686 builtin and then its argument prototype would still apply. */
14687 #ifdef __cplusplus
14688 extern "C"
14689 #endif
14690 char connect ();
14692 main ()
14694 return connect ();
14696 return 0;
14698 _ACEOF
14699 for ac_lib in '' socket; do
14700 if test -z "$ac_lib"; then
14701 ac_res="none required"
14702 else
14703 ac_res=-l$ac_lib
14704 LIBS="-l$ac_lib $ac_func_search_save_LIBS"
14706 if ac_fn_c_try_link "$LINENO"; then :
14707 ac_cv_search_connect=$ac_res
14709 rm -f core conftest.err conftest.$ac_objext \
14710 conftest$ac_exeext
14711 if ${ac_cv_search_connect+:} false; then :
14712 break
14714 done
14715 if ${ac_cv_search_connect+:} false; then :
14717 else
14718 ac_cv_search_connect=no
14720 rm conftest.$ac_ext
14721 LIBS=$ac_func_search_save_LIBS
14723 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_search_connect" >&5
14724 $as_echo "$ac_cv_search_connect" >&6; }
14725 ac_res=$ac_cv_search_connect
14726 if test "$ac_res" != no; then :
14727 test "$ac_res" = "none required" || LIBS="$ac_res $LIBS"
14732 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for library containing inet_aton" >&5
14733 $as_echo_n "checking for library containing inet_aton... " >&6; }
14734 if ${ac_cv_search_inet_aton+:} false; then :
14735 $as_echo_n "(cached) " >&6
14736 else
14737 ac_func_search_save_LIBS=$LIBS
14738 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14739 /* end confdefs.h. */
14741 /* Override any GCC internal prototype to avoid an error.
14742 Use char because int might match the return type of a GCC
14743 builtin and then its argument prototype would still apply. */
14744 #ifdef __cplusplus
14745 extern "C"
14746 #endif
14747 char inet_aton ();
14749 main ()
14751 return inet_aton ();
14753 return 0;
14755 _ACEOF
14756 for ac_lib in '' resolv; do
14757 if test -z "$ac_lib"; then
14758 ac_res="none required"
14759 else
14760 ac_res=-l$ac_lib
14761 LIBS="-l$ac_lib $ac_func_search_save_LIBS"
14763 if ac_fn_c_try_link "$LINENO"; then :
14764 ac_cv_search_inet_aton=$ac_res
14766 rm -f core conftest.err conftest.$ac_objext \
14767 conftest$ac_exeext
14768 if ${ac_cv_search_inet_aton+:} false; then :
14769 break
14771 done
14772 if ${ac_cv_search_inet_aton+:} false; then :
14774 else
14775 ac_cv_search_inet_aton=no
14777 rm conftest.$ac_ext
14778 LIBS=$ac_func_search_save_LIBS
14780 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_search_inet_aton" >&5
14781 $as_echo "$ac_cv_search_inet_aton" >&6; }
14782 ac_res=$ac_cv_search_inet_aton
14783 if test "$ac_res" != no; then :
14784 test "$ac_res" = "none required" || LIBS="$ac_res $LIBS"
14789 for ac_func in \
14790 getaddrinfo \
14791 getnameinfo \
14792 getnetbyname \
14793 getprotobyname \
14794 getprotobynumber \
14795 getservbyport \
14796 inet_addr \
14797 inet_network \
14798 inet_ntop \
14799 inet_pton \
14800 sendmsg \
14801 socketpair \
14803 do :
14804 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
14805 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
14806 if eval test \"x\$"$as_ac_var"\" = x"yes"; then :
14807 cat >>confdefs.h <<_ACEOF
14808 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
14809 _ACEOF
14812 done
14815 ac_save_LIBS=$LIBS
14816 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for library containing clock_gettime" >&5
14817 $as_echo_n "checking for library containing clock_gettime... " >&6; }
14818 if ${ac_cv_search_clock_gettime+:} false; then :
14819 $as_echo_n "(cached) " >&6
14820 else
14821 ac_func_search_save_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 clock_gettime ();
14833 main ()
14835 return clock_gettime ();
14837 return 0;
14839 _ACEOF
14840 for ac_lib in '' rt; do
14841 if test -z "$ac_lib"; then
14842 ac_res="none required"
14843 else
14844 ac_res=-l$ac_lib
14845 LIBS="-l$ac_lib $ac_func_search_save_LIBS"
14847 if ac_fn_c_try_link "$LINENO"; then :
14848 ac_cv_search_clock_gettime=$ac_res
14850 rm -f core conftest.err conftest.$ac_objext \
14851 conftest$ac_exeext
14852 if ${ac_cv_search_clock_gettime+:} false; then :
14853 break
14855 done
14856 if ${ac_cv_search_clock_gettime+:} false; then :
14858 else
14859 ac_cv_search_clock_gettime=no
14861 rm conftest.$ac_ext
14862 LIBS=$ac_func_search_save_LIBS
14864 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_search_clock_gettime" >&5
14865 $as_echo "$ac_cv_search_clock_gettime" >&6; }
14866 ac_res=$ac_cv_search_clock_gettime
14867 if test "$ac_res" != no; then :
14868 test "$ac_res" = "none required" || LIBS="$ac_res $LIBS"
14870 $as_echo "#define HAVE_CLOCK_GETTIME 1" >>confdefs.h
14872 test "$ac_res" = "none required" || RT_LIBS="$ac_res"
14876 LIBS=$ac_save_LIBS
14878 LDAP_LIBS=""
14880 if test "$ac_cv_header_ldap_h" = "yes" -a "$ac_cv_header_lber_h" = "yes"
14881 then
14882 ac_fn_c_check_type "$LINENO" "LDAPSortKey" "ac_cv_type_LDAPSortKey" "#include <ldap.h>
14884 if test "x$ac_cv_type_LDAPSortKey" = xyes; then :
14885 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ldap_initialize in -lldap_r" >&5
14886 $as_echo_n "checking for ldap_initialize in -lldap_r... " >&6; }
14887 if ${ac_cv_lib_ldap_r_ldap_initialize+:} false; then :
14888 $as_echo_n "(cached) " >&6
14889 else
14890 ac_check_lib_save_LIBS=$LIBS
14891 LIBS="-lldap_r $PTHREAD_LIBS $LIBS"
14892 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14893 /* end confdefs.h. */
14895 /* Override any GCC internal prototype to avoid an error.
14896 Use char because int might match the return type of a GCC
14897 builtin and then its argument prototype would still apply. */
14898 #ifdef __cplusplus
14899 extern "C"
14900 #endif
14901 char ldap_initialize ();
14903 main ()
14905 return ldap_initialize ();
14907 return 0;
14909 _ACEOF
14910 if ac_fn_c_try_link "$LINENO"; then :
14911 ac_cv_lib_ldap_r_ldap_initialize=yes
14912 else
14913 ac_cv_lib_ldap_r_ldap_initialize=no
14915 rm -f core conftest.err conftest.$ac_objext \
14916 conftest$ac_exeext conftest.$ac_ext
14917 LIBS=$ac_check_lib_save_LIBS
14919 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_ldap_r_ldap_initialize" >&5
14920 $as_echo "$ac_cv_lib_ldap_r_ldap_initialize" >&6; }
14921 if test "x$ac_cv_lib_ldap_r_ldap_initialize" = xyes; then :
14922 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ber_init in -llber" >&5
14923 $as_echo_n "checking for ber_init in -llber... " >&6; }
14924 if ${ac_cv_lib_lber_ber_init+:} false; then :
14925 $as_echo_n "(cached) " >&6
14926 else
14927 ac_check_lib_save_LIBS=$LIBS
14928 LIBS="-llber $PTHREAD_LIBS $LIBS"
14929 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14930 /* end confdefs.h. */
14932 /* Override any GCC internal prototype to avoid an error.
14933 Use char because int might match the return type of a GCC
14934 builtin and then its argument prototype would still apply. */
14935 #ifdef __cplusplus
14936 extern "C"
14937 #endif
14938 char ber_init ();
14940 main ()
14942 return ber_init ();
14944 return 0;
14946 _ACEOF
14947 if ac_fn_c_try_link "$LINENO"; then :
14948 ac_cv_lib_lber_ber_init=yes
14949 else
14950 ac_cv_lib_lber_ber_init=no
14952 rm -f core conftest.err conftest.$ac_objext \
14953 conftest$ac_exeext conftest.$ac_ext
14954 LIBS=$ac_check_lib_save_LIBS
14956 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_lber_ber_init" >&5
14957 $as_echo "$ac_cv_lib_lber_ber_init" >&6; }
14958 if test "x$ac_cv_lib_lber_ber_init" = xyes; then :
14960 $as_echo "#define HAVE_LDAP 1" >>confdefs.h
14962 LDAP_LIBS="-lldap_r -llber"
14969 ac_wine_check_funcs_save_LIBS="$LIBS"
14970 LIBS="$LIBS $LDAP_LIBS $PTHREAD_LIBS"
14971 for ac_func in \
14972 ldap_count_references \
14973 ldap_first_reference \
14974 ldap_next_reference \
14975 ldap_parse_reference \
14976 ldap_parse_sort_control \
14977 ldap_parse_sortresponse_control \
14978 ldap_parse_vlv_control \
14979 ldap_parse_vlvresponse_control
14980 do :
14981 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
14982 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
14983 if eval test \"x\$"$as_ac_var"\" = x"yes"; then :
14984 cat >>confdefs.h <<_ACEOF
14985 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
14986 _ACEOF
14989 done
14991 LIBS="$ac_wine_check_funcs_save_LIBS"
14993 if test "x$LDAP_LIBS" = "x"; then :
14994 case "x$with_ldap" in
14995 x) as_fn_append wine_notices "|libldap (OpenLDAP) ${notice_platform}development files not found, LDAP won't be supported." ;;
14996 xno) ;;
14997 *) as_fn_error $? "libldap (OpenLDAP) ${notice_platform}development files not found, LDAP won't be supported.
14998 This is an error since --with-ldap was requested." "$LINENO" 5 ;;
14999 esac
15002 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether mkdir takes only one argument" >&5
15003 $as_echo_n "checking whether mkdir takes only one argument... " >&6; }
15004 if ${wine_cv_one_arg_mkdir+:} false; then :
15005 $as_echo_n "(cached) " >&6
15006 else
15007 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15008 /* end confdefs.h. */
15009 #include <sys/stat.h>
15011 main ()
15013 mkdir("foo");
15015 return 0;
15017 _ACEOF
15018 if ac_fn_c_try_compile "$LINENO"; then :
15019 wine_cv_one_arg_mkdir=yes
15020 else
15021 wine_cv_one_arg_mkdir=no
15023 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
15025 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $wine_cv_one_arg_mkdir" >&5
15026 $as_echo "$wine_cv_one_arg_mkdir" >&6; }
15027 if test "$wine_cv_one_arg_mkdir" = "yes"
15028 then
15030 $as_echo "#define HAVE_ONE_ARG_MKDIR 1" >>confdefs.h
15034 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sched_setaffinity" >&5
15035 $as_echo_n "checking for sched_setaffinity... " >&6; }
15036 if ${wine_cv_have_sched_setaffinity+:} false; then :
15037 $as_echo_n "(cached) " >&6
15038 else
15039 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15040 /* end confdefs.h. */
15041 #define _GNU_SOURCE
15042 #include <sched.h>
15044 main ()
15046 sched_setaffinity(0, 0, 0);
15048 return 0;
15050 _ACEOF
15051 if ac_fn_c_try_link "$LINENO"; then :
15052 wine_cv_have_sched_setaffinity=yes
15053 else
15054 wine_cv_have_sched_setaffinity=no
15056 rm -f core conftest.err conftest.$ac_objext \
15057 conftest$ac_exeext conftest.$ac_ext
15059 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $wine_cv_have_sched_setaffinity" >&5
15060 $as_echo "$wine_cv_have_sched_setaffinity" >&6; }
15061 if test "$wine_cv_have_sched_setaffinity" = "yes"
15062 then
15064 $as_echo "#define HAVE_SCHED_SETAFFINITY 1" >>confdefs.h
15068 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for fallocate" >&5
15069 $as_echo_n "checking for fallocate... " >&6; }
15070 if ${wine_cv_have_fallocate+:} false; then :
15071 $as_echo_n "(cached) " >&6
15072 else
15073 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15074 /* end confdefs.h. */
15075 #define _GNU_SOURCE
15076 #include <fcntl.h>
15078 main ()
15080 fallocate(-1, 0, 0, 0);
15082 return 0;
15084 _ACEOF
15085 if ac_fn_c_try_link "$LINENO"; then :
15086 wine_cv_have_fallocate=yes
15087 else
15088 wine_cv_have_fallocate=no
15090 rm -f core conftest.err conftest.$ac_objext \
15091 conftest$ac_exeext conftest.$ac_ext
15093 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $wine_cv_have_fallocate" >&5
15094 $as_echo "$wine_cv_have_fallocate" >&6; }
15095 if test "$wine_cv_have_fallocate" = "yes"
15096 then
15098 $as_echo "#define HAVE_FALLOCATE 1" >>confdefs.h
15103 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for inline" >&5
15104 $as_echo_n "checking for inline... " >&6; }
15105 if ${ac_cv_c_inline+:} false; then :
15106 $as_echo_n "(cached) " >&6
15107 else
15108 ac_cv_c_inline=no
15109 for ac_kw in inline __inline__ __inline; do
15110 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15111 /* end confdefs.h. */
15112 #ifndef __cplusplus
15113 typedef int foo_t;
15114 static $ac_kw foo_t static_foo () {return 0; }
15115 $ac_kw foo_t foo () {return 0; }
15116 #endif
15118 _ACEOF
15119 if ac_fn_c_try_compile "$LINENO"; then :
15120 ac_cv_c_inline=$ac_kw
15122 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
15123 test "$ac_cv_c_inline" != no && break
15124 done
15127 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_inline" >&5
15128 $as_echo "$ac_cv_c_inline" >&6; }
15130 case $ac_cv_c_inline in
15131 inline | yes) ;;
15133 case $ac_cv_c_inline in
15134 no) ac_val=;;
15135 *) ac_val=$ac_cv_c_inline;;
15136 esac
15137 cat >>confdefs.h <<_ACEOF
15138 #ifndef __cplusplus
15139 #define inline $ac_val
15140 #endif
15141 _ACEOF
15143 esac
15145 ac_fn_c_check_type "$LINENO" "mode_t" "ac_cv_type_mode_t" "$ac_includes_default"
15146 if test "x$ac_cv_type_mode_t" = xyes; then :
15148 cat >>confdefs.h <<_ACEOF
15149 #define HAVE_MODE_T 1
15150 _ACEOF
15154 ac_fn_c_check_type "$LINENO" "off_t" "ac_cv_type_off_t" "$ac_includes_default"
15155 if test "x$ac_cv_type_off_t" = xyes; then :
15157 cat >>confdefs.h <<_ACEOF
15158 #define HAVE_OFF_T 1
15159 _ACEOF
15163 ac_fn_c_check_type "$LINENO" "pid_t" "ac_cv_type_pid_t" "$ac_includes_default"
15164 if test "x$ac_cv_type_pid_t" = xyes; then :
15166 cat >>confdefs.h <<_ACEOF
15167 #define HAVE_PID_T 1
15168 _ACEOF
15172 ac_fn_c_check_type "$LINENO" "size_t" "ac_cv_type_size_t" "$ac_includes_default"
15173 if test "x$ac_cv_type_size_t" = xyes; then :
15175 cat >>confdefs.h <<_ACEOF
15176 #define HAVE_SIZE_T 1
15177 _ACEOF
15181 ac_fn_c_check_type "$LINENO" "ssize_t" "ac_cv_type_ssize_t" "$ac_includes_default"
15182 if test "x$ac_cv_type_ssize_t" = xyes; then :
15184 cat >>confdefs.h <<_ACEOF
15185 #define HAVE_SSIZE_T 1
15186 _ACEOF
15190 ac_fn_c_check_type "$LINENO" "long long" "ac_cv_type_long_long" "$ac_includes_default"
15191 if test "x$ac_cv_type_long_long" = xyes; then :
15193 cat >>confdefs.h <<_ACEOF
15194 #define HAVE_LONG_LONG 1
15195 _ACEOF
15199 ac_fn_c_check_type "$LINENO" "fsblkcnt_t" "ac_cv_type_fsblkcnt_t" "$ac_includes_default"
15200 if test "x$ac_cv_type_fsblkcnt_t" = xyes; then :
15202 cat >>confdefs.h <<_ACEOF
15203 #define HAVE_FSBLKCNT_T 1
15204 _ACEOF
15208 ac_fn_c_check_type "$LINENO" "fsfilcnt_t" "ac_cv_type_fsfilcnt_t" "$ac_includes_default"
15209 if test "x$ac_cv_type_fsfilcnt_t" = xyes; then :
15211 cat >>confdefs.h <<_ACEOF
15212 #define HAVE_FSFILCNT_T 1
15213 _ACEOF
15218 ac_fn_c_check_type "$LINENO" "sigset_t" "ac_cv_type_sigset_t" "#include <sys/types.h>
15219 #include <signal.h>
15221 if test "x$ac_cv_type_sigset_t" = xyes; then :
15223 cat >>confdefs.h <<_ACEOF
15224 #define HAVE_SIGSET_T 1
15225 _ACEOF
15230 ac_fn_c_check_type "$LINENO" "request_sense" "ac_cv_type_request_sense" "#include <linux/cdrom.h>
15232 if test "x$ac_cv_type_request_sense" = xyes; then :
15234 cat >>confdefs.h <<_ACEOF
15235 #define HAVE_REQUEST_SENSE 1
15236 _ACEOF
15242 ac_fn_c_check_type "$LINENO" "struct xinpgen" "ac_cv_type_struct_xinpgen" "#include <sys/types.h>
15243 #ifdef HAVE_SYS_SOCKET_H
15244 #include <sys/socket.h>
15245 #endif
15246 #ifdef HAVE_SYS_SOCKETVAR_H
15247 #include <sys/socketvar.h>
15248 #endif
15249 #ifdef HAVE_NET_ROUTE_H
15250 #include <net/route.h>
15251 #endif
15252 #ifdef HAVE_NETINET_IN_H
15253 #include <netinet/in.h>
15254 #endif
15255 #ifdef HAVE_NETINET_IN_SYSTM_H
15256 #include <netinet/in_systm.h>
15257 #endif
15258 #ifdef HAVE_NETINET_IP_H
15259 #include <netinet/ip.h>
15260 #endif
15261 #ifdef HAVE_NETINET_IN_PCB_H
15262 #include <netinet/in_pcb.h>
15263 #endif
15265 if test "x$ac_cv_type_struct_xinpgen" = xyes; then :
15267 cat >>confdefs.h <<_ACEOF
15268 #define HAVE_STRUCT_XINPGEN 1
15269 _ACEOF
15275 ac_fn_c_check_type "$LINENO" "struct r_debug" "ac_cv_type_struct_r_debug" "#ifdef HAVE_LINK_H
15276 #include <link.h>
15277 #endif
15278 #ifdef HAVE_SYS_LINK_H
15279 #include <sys/link.h>
15280 #endif
15282 if test "x$ac_cv_type_struct_r_debug" = xyes; then :
15284 cat >>confdefs.h <<_ACEOF
15285 #define HAVE_STRUCT_R_DEBUG 1
15286 _ACEOF
15290 ac_fn_c_check_type "$LINENO" "struct link_map" "ac_cv_type_struct_link_map" "#ifdef HAVE_LINK_H
15291 #include <link.h>
15292 #endif
15293 #ifdef HAVE_SYS_LINK_H
15294 #include <sys/link.h>
15295 #endif
15297 if test "x$ac_cv_type_struct_link_map" = xyes; then :
15299 cat >>confdefs.h <<_ACEOF
15300 #define HAVE_STRUCT_LINK_MAP 1
15301 _ACEOF
15307 ac_fn_c_check_member "$LINENO" "struct ff_effect" "direction" "ac_cv_member_struct_ff_effect_direction" "#ifdef HAVE_LINUX_INPUT_H
15308 #include <linux/input.h>
15309 #endif
15311 if test "x$ac_cv_member_struct_ff_effect_direction" = xyes; then :
15313 cat >>confdefs.h <<_ACEOF
15314 #define HAVE_STRUCT_FF_EFFECT_DIRECTION 1
15315 _ACEOF
15321 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sigaddset" >&5
15322 $as_echo_n "checking for sigaddset... " >&6; }
15323 if ${wine_cv_have_sigaddset+:} false; then :
15324 $as_echo_n "(cached) " >&6
15325 else
15326 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15327 /* end confdefs.h. */
15328 #include <signal.h>
15330 main ()
15332 sigset_t set; sigaddset(&set,SIGTERM);
15334 return 0;
15336 _ACEOF
15337 if ac_fn_c_try_link "$LINENO"; then :
15338 wine_cv_have_sigaddset=yes
15339 else
15340 wine_cv_have_sigaddset=no
15342 rm -f core conftest.err conftest.$ac_objext \
15343 conftest$ac_exeext conftest.$ac_ext
15345 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $wine_cv_have_sigaddset" >&5
15346 $as_echo "$wine_cv_have_sigaddset" >&6; }
15347 if test "$wine_cv_have_sigaddset" = "yes"
15348 then
15350 $as_echo "#define HAVE_SIGADDSET 1" >>confdefs.h
15355 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we can use re-entrant gethostbyname_r Linux style" >&5
15356 $as_echo_n "checking whether we can use re-entrant gethostbyname_r Linux style... " >&6; }
15357 if ${wine_cv_linux_gethostbyname_r_6+:} false; then :
15358 $as_echo_n "(cached) " >&6
15359 else
15360 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15361 /* end confdefs.h. */
15362 #include <netdb.h>
15364 main ()
15367 char *name=0;
15368 struct hostent he;
15369 struct hostent *result;
15370 char *buf=0;
15371 int bufsize=0;
15372 int errnr;
15373 char *addr=0;
15374 int addrlen=0;
15375 int addrtype=0;
15376 gethostbyname_r(name,&he,buf,bufsize,&result,&errnr);
15377 gethostbyaddr_r(addr, addrlen, addrtype,&he,buf,bufsize,&result,&errnr);
15380 return 0;
15382 _ACEOF
15383 if ac_fn_c_try_link "$LINENO"; then :
15384 wine_cv_linux_gethostbyname_r_6=yes
15385 else
15386 wine_cv_linux_gethostbyname_r_6=no
15389 rm -f core conftest.err conftest.$ac_objext \
15390 conftest$ac_exeext conftest.$ac_ext
15393 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $wine_cv_linux_gethostbyname_r_6" >&5
15394 $as_echo "$wine_cv_linux_gethostbyname_r_6" >&6; }
15395 if test "$wine_cv_linux_gethostbyname_r_6" = "yes"
15396 then
15398 $as_echo "#define HAVE_LINUX_GETHOSTBYNAME_R_6 1" >>confdefs.h
15402 if test "$ac_cv_header_linux_joystick_h" = "yes"
15403 then
15404 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether linux/joystick.h uses the Linux 2.2+ API" >&5
15405 $as_echo_n "checking whether linux/joystick.h uses the Linux 2.2+ API... " >&6; }
15406 if ${wine_cv_linux_joystick_22_api+:} false; then :
15407 $as_echo_n "(cached) " >&6
15408 else
15409 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15410 /* end confdefs.h. */
15412 #include <sys/ioctl.h>
15413 #include <sys/types.h>
15414 #include <linux/joystick.h>
15416 struct js_event blub;
15417 #if !defined(JS_EVENT_AXIS) || !defined(JS_EVENT_BUTTON)
15418 #error "no 2.2 header"
15419 #endif
15422 main ()
15424 /*empty*/
15426 return 0;
15428 _ACEOF
15429 if ac_fn_c_try_compile "$LINENO"; then :
15430 wine_cv_linux_joystick_22_api=yes
15431 else
15432 wine_cv_linux_joystick_22_api=no
15434 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
15437 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $wine_cv_linux_joystick_22_api" >&5
15438 $as_echo "$wine_cv_linux_joystick_22_api" >&6; }
15439 if test "$wine_cv_linux_joystick_22_api" = "yes"
15440 then
15442 $as_echo "#define HAVE_LINUX_22_JOYSTICK_API 1" >>confdefs.h
15448 ac_fn_c_check_member "$LINENO" "struct statfs" "f_bfree" "ac_cv_member_struct_statfs_f_bfree" "#include <sys/types.h>
15449 #ifdef HAVE_SYS_PARAM_H
15450 # include <sys/param.h>
15451 #endif
15452 #ifdef HAVE_SYS_MOUNT_H
15453 # include <sys/mount.h>
15454 #endif
15455 #ifdef HAVE_SYS_VFS_H
15456 # include <sys/vfs.h>
15457 #endif
15458 #ifdef HAVE_SYS_STATFS_H
15459 # include <sys/statfs.h>
15460 #endif
15462 if test "x$ac_cv_member_struct_statfs_f_bfree" = xyes; then :
15464 cat >>confdefs.h <<_ACEOF
15465 #define HAVE_STRUCT_STATFS_F_BFREE 1
15466 _ACEOF
15470 ac_fn_c_check_member "$LINENO" "struct statfs" "f_bavail" "ac_cv_member_struct_statfs_f_bavail" "#include <sys/types.h>
15471 #ifdef HAVE_SYS_PARAM_H
15472 # include <sys/param.h>
15473 #endif
15474 #ifdef HAVE_SYS_MOUNT_H
15475 # include <sys/mount.h>
15476 #endif
15477 #ifdef HAVE_SYS_VFS_H
15478 # include <sys/vfs.h>
15479 #endif
15480 #ifdef HAVE_SYS_STATFS_H
15481 # include <sys/statfs.h>
15482 #endif
15484 if test "x$ac_cv_member_struct_statfs_f_bavail" = xyes; then :
15486 cat >>confdefs.h <<_ACEOF
15487 #define HAVE_STRUCT_STATFS_F_BAVAIL 1
15488 _ACEOF
15492 ac_fn_c_check_member "$LINENO" "struct statfs" "f_frsize" "ac_cv_member_struct_statfs_f_frsize" "#include <sys/types.h>
15493 #ifdef HAVE_SYS_PARAM_H
15494 # include <sys/param.h>
15495 #endif
15496 #ifdef HAVE_SYS_MOUNT_H
15497 # include <sys/mount.h>
15498 #endif
15499 #ifdef HAVE_SYS_VFS_H
15500 # include <sys/vfs.h>
15501 #endif
15502 #ifdef HAVE_SYS_STATFS_H
15503 # include <sys/statfs.h>
15504 #endif
15506 if test "x$ac_cv_member_struct_statfs_f_frsize" = xyes; then :
15508 cat >>confdefs.h <<_ACEOF
15509 #define HAVE_STRUCT_STATFS_F_FRSIZE 1
15510 _ACEOF
15514 ac_fn_c_check_member "$LINENO" "struct statfs" "f_ffree" "ac_cv_member_struct_statfs_f_ffree" "#include <sys/types.h>
15515 #ifdef HAVE_SYS_PARAM_H
15516 # include <sys/param.h>
15517 #endif
15518 #ifdef HAVE_SYS_MOUNT_H
15519 # include <sys/mount.h>
15520 #endif
15521 #ifdef HAVE_SYS_VFS_H
15522 # include <sys/vfs.h>
15523 #endif
15524 #ifdef HAVE_SYS_STATFS_H
15525 # include <sys/statfs.h>
15526 #endif
15528 if test "x$ac_cv_member_struct_statfs_f_ffree" = xyes; then :
15530 cat >>confdefs.h <<_ACEOF
15531 #define HAVE_STRUCT_STATFS_F_FFREE 1
15532 _ACEOF
15536 ac_fn_c_check_member "$LINENO" "struct statfs" "f_favail" "ac_cv_member_struct_statfs_f_favail" "#include <sys/types.h>
15537 #ifdef HAVE_SYS_PARAM_H
15538 # include <sys/param.h>
15539 #endif
15540 #ifdef HAVE_SYS_MOUNT_H
15541 # include <sys/mount.h>
15542 #endif
15543 #ifdef HAVE_SYS_VFS_H
15544 # include <sys/vfs.h>
15545 #endif
15546 #ifdef HAVE_SYS_STATFS_H
15547 # include <sys/statfs.h>
15548 #endif
15550 if test "x$ac_cv_member_struct_statfs_f_favail" = xyes; then :
15552 cat >>confdefs.h <<_ACEOF
15553 #define HAVE_STRUCT_STATFS_F_FAVAIL 1
15554 _ACEOF
15558 ac_fn_c_check_member "$LINENO" "struct statfs" "f_namelen" "ac_cv_member_struct_statfs_f_namelen" "#include <sys/types.h>
15559 #ifdef HAVE_SYS_PARAM_H
15560 # include <sys/param.h>
15561 #endif
15562 #ifdef HAVE_SYS_MOUNT_H
15563 # include <sys/mount.h>
15564 #endif
15565 #ifdef HAVE_SYS_VFS_H
15566 # include <sys/vfs.h>
15567 #endif
15568 #ifdef HAVE_SYS_STATFS_H
15569 # include <sys/statfs.h>
15570 #endif
15572 if test "x$ac_cv_member_struct_statfs_f_namelen" = xyes; then :
15574 cat >>confdefs.h <<_ACEOF
15575 #define HAVE_STRUCT_STATFS_F_NAMELEN 1
15576 _ACEOF
15582 ac_fn_c_check_member "$LINENO" "struct statvfs" "f_blocks" "ac_cv_member_struct_statvfs_f_blocks" "#ifdef HAVE_SYS_STATVFS_H
15583 #include <sys/statvfs.h>
15584 #endif
15586 if test "x$ac_cv_member_struct_statvfs_f_blocks" = xyes; then :
15588 cat >>confdefs.h <<_ACEOF
15589 #define HAVE_STRUCT_STATVFS_F_BLOCKS 1
15590 _ACEOF
15596 ac_fn_c_check_member "$LINENO" "struct dirent" "d_reclen" "ac_cv_member_struct_dirent_d_reclen" "#ifdef HAVE_DIRENT_H
15597 #include <dirent.h>
15598 #endif
15600 if test "x$ac_cv_member_struct_dirent_d_reclen" = xyes; then :
15602 cat >>confdefs.h <<_ACEOF
15603 #define HAVE_STRUCT_DIRENT_D_RECLEN 1
15604 _ACEOF
15610 ac_fn_c_check_member "$LINENO" "struct msghdr" "msg_accrights" "ac_cv_member_struct_msghdr_msg_accrights" "#include <sys/types.h>
15611 #ifdef HAVE_SYS_SOCKET_H
15612 # include <sys/socket.h>
15613 #endif
15614 #ifdef HAVE_SYS_UN_H
15615 # include <sys/un.h>
15616 #endif
15618 if test "x$ac_cv_member_struct_msghdr_msg_accrights" = xyes; then :
15620 cat >>confdefs.h <<_ACEOF
15621 #define HAVE_STRUCT_MSGHDR_MSG_ACCRIGHTS 1
15622 _ACEOF
15626 ac_fn_c_check_member "$LINENO" "struct sockaddr" "sa_len" "ac_cv_member_struct_sockaddr_sa_len" "#include <sys/types.h>
15627 #ifdef HAVE_SYS_SOCKET_H
15628 # include <sys/socket.h>
15629 #endif
15630 #ifdef HAVE_SYS_UN_H
15631 # include <sys/un.h>
15632 #endif
15634 if test "x$ac_cv_member_struct_sockaddr_sa_len" = xyes; then :
15636 cat >>confdefs.h <<_ACEOF
15637 #define HAVE_STRUCT_SOCKADDR_SA_LEN 1
15638 _ACEOF
15642 ac_fn_c_check_member "$LINENO" "struct sockaddr_un" "sun_len" "ac_cv_member_struct_sockaddr_un_sun_len" "#include <sys/types.h>
15643 #ifdef HAVE_SYS_SOCKET_H
15644 # include <sys/socket.h>
15645 #endif
15646 #ifdef HAVE_SYS_UN_H
15647 # include <sys/un.h>
15648 #endif
15650 if test "x$ac_cv_member_struct_sockaddr_un_sun_len" = xyes; then :
15652 cat >>confdefs.h <<_ACEOF
15653 #define HAVE_STRUCT_SOCKADDR_UN_SUN_LEN 1
15654 _ACEOF
15660 ac_fn_c_check_member "$LINENO" "scsireq_t" "cmd" "ac_cv_member_scsireq_t_cmd" "#include <sys/types.h>
15661 #ifdef HAVE_SCSI_SG_H
15662 #include <scsi/sg.h>
15663 #endif
15665 if test "x$ac_cv_member_scsireq_t_cmd" = xyes; then :
15667 cat >>confdefs.h <<_ACEOF
15668 #define HAVE_SCSIREQ_T_CMD 1
15669 _ACEOF
15673 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>
15674 #ifdef HAVE_SCSI_SG_H
15675 #include <scsi/sg.h>
15676 #endif
15678 if test "x$ac_cv_member_sg_io_hdr_t_interface_id" = xyes; then :
15680 cat >>confdefs.h <<_ACEOF
15681 #define HAVE_SG_IO_HDR_T_INTERFACE_ID 1
15682 _ACEOF
15688 ac_fn_c_check_member "$LINENO" "siginfo_t" "si_fd" "ac_cv_member_siginfo_t_si_fd" "#include <signal.h>
15690 if test "x$ac_cv_member_siginfo_t_si_fd" = xyes; then :
15692 cat >>confdefs.h <<_ACEOF
15693 #define HAVE_SIGINFO_T_SI_FD 1
15694 _ACEOF
15700 ac_fn_c_check_member "$LINENO" "struct mtget" "mt_blksiz" "ac_cv_member_struct_mtget_mt_blksiz" "#include <sys/types.h>
15701 #ifdef HAVE_SYS_MTIO_H
15702 #include <sys/mtio.h>
15703 #endif
15705 if test "x$ac_cv_member_struct_mtget_mt_blksiz" = xyes; then :
15707 cat >>confdefs.h <<_ACEOF
15708 #define HAVE_STRUCT_MTGET_MT_BLKSIZ 1
15709 _ACEOF
15713 ac_fn_c_check_member "$LINENO" "struct mtget" "mt_gstat" "ac_cv_member_struct_mtget_mt_gstat" "#include <sys/types.h>
15714 #ifdef HAVE_SYS_MTIO_H
15715 #include <sys/mtio.h>
15716 #endif
15718 if test "x$ac_cv_member_struct_mtget_mt_gstat" = xyes; then :
15720 cat >>confdefs.h <<_ACEOF
15721 #define HAVE_STRUCT_MTGET_MT_GSTAT 1
15722 _ACEOF
15726 ac_fn_c_check_member "$LINENO" "struct mtget" "mt_blkno" "ac_cv_member_struct_mtget_mt_blkno" "#include <sys/types.h>
15727 #ifdef HAVE_SYS_MTIO_H
15728 #include <sys/mtio.h>
15729 #endif
15731 if test "x$ac_cv_member_struct_mtget_mt_blkno" = xyes; then :
15733 cat >>confdefs.h <<_ACEOF
15734 #define HAVE_STRUCT_MTGET_MT_BLKNO 1
15735 _ACEOF
15741 ac_fn_c_check_member "$LINENO" "struct option" "name" "ac_cv_member_struct_option_name" "#ifdef HAVE_GETOPT_H
15742 #include <getopt.h>
15743 #endif
15745 if test "x$ac_cv_member_struct_option_name" = xyes; then :
15747 cat >>confdefs.h <<_ACEOF
15748 #define HAVE_STRUCT_OPTION_NAME 1
15749 _ACEOF
15755 ac_fn_c_check_member "$LINENO" "struct stat" "st_blocks" "ac_cv_member_struct_stat_st_blocks" "$ac_includes_default"
15756 if test "x$ac_cv_member_struct_stat_st_blocks" = xyes; then :
15758 cat >>confdefs.h <<_ACEOF
15759 #define HAVE_STRUCT_STAT_ST_BLOCKS 1
15760 _ACEOF
15764 ac_fn_c_check_member "$LINENO" "struct stat" "st_mtim" "ac_cv_member_struct_stat_st_mtim" "$ac_includes_default"
15765 if test "x$ac_cv_member_struct_stat_st_mtim" = xyes; then :
15767 cat >>confdefs.h <<_ACEOF
15768 #define HAVE_STRUCT_STAT_ST_MTIM 1
15769 _ACEOF
15773 ac_fn_c_check_member "$LINENO" "struct stat" "st_mtimespec" "ac_cv_member_struct_stat_st_mtimespec" "$ac_includes_default"
15774 if test "x$ac_cv_member_struct_stat_st_mtimespec" = xyes; then :
15776 cat >>confdefs.h <<_ACEOF
15777 #define HAVE_STRUCT_STAT_ST_MTIMESPEC 1
15778 _ACEOF
15782 ac_fn_c_check_member "$LINENO" "struct stat" "st_ctim" "ac_cv_member_struct_stat_st_ctim" "$ac_includes_default"
15783 if test "x$ac_cv_member_struct_stat_st_ctim" = xyes; then :
15785 cat >>confdefs.h <<_ACEOF
15786 #define HAVE_STRUCT_STAT_ST_CTIM 1
15787 _ACEOF
15791 ac_fn_c_check_member "$LINENO" "struct stat" "st_ctimespec" "ac_cv_member_struct_stat_st_ctimespec" "$ac_includes_default"
15792 if test "x$ac_cv_member_struct_stat_st_ctimespec" = xyes; then :
15794 cat >>confdefs.h <<_ACEOF
15795 #define HAVE_STRUCT_STAT_ST_CTIMESPEC 1
15796 _ACEOF
15800 ac_fn_c_check_member "$LINENO" "struct stat" "st_atim" "ac_cv_member_struct_stat_st_atim" "$ac_includes_default"
15801 if test "x$ac_cv_member_struct_stat_st_atim" = xyes; then :
15803 cat >>confdefs.h <<_ACEOF
15804 #define HAVE_STRUCT_STAT_ST_ATIM 1
15805 _ACEOF
15809 ac_fn_c_check_member "$LINENO" "struct stat" "st_atimespec" "ac_cv_member_struct_stat_st_atimespec" "$ac_includes_default"
15810 if test "x$ac_cv_member_struct_stat_st_atimespec" = xyes; then :
15812 cat >>confdefs.h <<_ACEOF
15813 #define HAVE_STRUCT_STAT_ST_ATIMESPEC 1
15814 _ACEOF
15818 ac_fn_c_check_member "$LINENO" "struct stat" "st_birthtime" "ac_cv_member_struct_stat_st_birthtime" "$ac_includes_default"
15819 if test "x$ac_cv_member_struct_stat_st_birthtime" = xyes; then :
15821 cat >>confdefs.h <<_ACEOF
15822 #define HAVE_STRUCT_STAT_ST_BIRTHTIME 1
15823 _ACEOF
15827 ac_fn_c_check_member "$LINENO" "struct stat" "st_birthtim" "ac_cv_member_struct_stat_st_birthtim" "$ac_includes_default"
15828 if test "x$ac_cv_member_struct_stat_st_birthtim" = xyes; then :
15830 cat >>confdefs.h <<_ACEOF
15831 #define HAVE_STRUCT_STAT_ST_BIRTHTIM 1
15832 _ACEOF
15836 ac_fn_c_check_member "$LINENO" "struct stat" "st_birthtimespec" "ac_cv_member_struct_stat_st_birthtimespec" "$ac_includes_default"
15837 if test "x$ac_cv_member_struct_stat_st_birthtimespec" = xyes; then :
15839 cat >>confdefs.h <<_ACEOF
15840 #define HAVE_STRUCT_STAT_ST_BIRTHTIMESPEC 1
15841 _ACEOF
15845 ac_fn_c_check_member "$LINENO" "struct stat" "__st_birthtime" "ac_cv_member_struct_stat___st_birthtime" "$ac_includes_default"
15846 if test "x$ac_cv_member_struct_stat___st_birthtime" = xyes; then :
15848 cat >>confdefs.h <<_ACEOF
15849 #define HAVE_STRUCT_STAT___ST_BIRTHTIME 1
15850 _ACEOF
15854 ac_fn_c_check_member "$LINENO" "struct stat" "__st_birthtim" "ac_cv_member_struct_stat___st_birthtim" "$ac_includes_default"
15855 if test "x$ac_cv_member_struct_stat___st_birthtim" = xyes; then :
15857 cat >>confdefs.h <<_ACEOF
15858 #define HAVE_STRUCT_STAT___ST_BIRTHTIM 1
15859 _ACEOF
15865 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
15866 #include <sys/types.h>
15867 #endif
15868 #ifdef HAVE_NETINET_IN_H
15869 #include <netinet/in.h>
15870 #endif
15872 if test "x$ac_cv_member_struct_sockaddr_in6_sin6_scope_id" = xyes; then :
15874 cat >>confdefs.h <<_ACEOF
15875 #define HAVE_STRUCT_SOCKADDR_IN6_SIN6_SCOPE_ID 1
15876 _ACEOF
15882 ac_fn_c_check_type "$LINENO" "struct __res_state" "ac_cv_type_struct___res_state" "#ifdef HAVE_RESOLV_H
15883 #include <resolv.h>
15884 #endif
15886 if test "x$ac_cv_type_struct___res_state" = xyes; then :
15888 cat >>confdefs.h <<_ACEOF
15889 #define HAVE_STRUCT___RES_STATE 1
15890 _ACEOF
15896 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
15897 #include <resolv.h>
15898 #endif
15900 if test "x$ac_cv_member_struct___res_state__u__ext_nscount6" = xyes; then :
15902 cat >>confdefs.h <<_ACEOF
15903 #define HAVE_STRUCT___RES_STATE__U__EXT_NSCOUNT6 1
15904 _ACEOF
15910 ac_fn_c_check_member "$LINENO" "ns_msg" "_msg_ptr" "ac_cv_member_ns_msg__msg_ptr" "#ifdef HAVE_SYS_TYPES_H
15911 #include <sys/types.h>
15912 #endif
15913 #ifdef HAVE_NETINET_IN_H
15914 # include <netinet/in.h>
15915 #endif
15916 #ifdef HAVE_ARPA_NAMESER_H
15917 # include <arpa/nameser.h>
15918 #endif
15920 if test "x$ac_cv_member_ns_msg__msg_ptr" = xyes; then :
15922 cat >>confdefs.h <<_ACEOF
15923 #define HAVE_NS_MSG__MSG_PTR 1
15924 _ACEOF
15930 ac_fn_c_check_member "$LINENO" "struct icmpstat" "icps_inhist" "ac_cv_member_struct_icmpstat_icps_inhist" "#ifdef HAVE_SYS_TYPES_H
15931 #include <sys/types.h>
15932 #endif
15933 #ifdef HAVE_NETINET_IP_H
15934 #include <netinet/ip.h>
15935 #endif
15936 #ifdef HAVE_NETINET_IP_ICMP_H
15937 #include <netinet/ip_icmp.h>
15938 #endif
15939 #ifdef HAVE_NETINET_ICMP_VAR_H
15940 #include <netinet/icmp_var.h>
15941 #endif
15943 if test "x$ac_cv_member_struct_icmpstat_icps_inhist" = xyes; then :
15945 cat >>confdefs.h <<_ACEOF
15946 #define HAVE_STRUCT_ICMPSTAT_ICPS_INHIST 1
15947 _ACEOF
15953 ac_fn_c_check_member "$LINENO" "struct icmpstat" "icps_outhist" "ac_cv_member_struct_icmpstat_icps_outhist" "#ifdef HAVE_SYS_TYPES_H
15954 #include <sys/types.h>
15955 #endif
15956 #ifdef HAVE_ALIAS_H
15957 #include <alias.h>
15958 #endif
15959 #ifdef HAVE_SYS_SOCKET_H
15960 #include <sys/socket.h>
15961 #endif
15962 #ifdef HAVE_SYS_SOCKETVAR_H
15963 #include <sys/socketvar.h>
15964 #endif
15965 #ifdef HAVE_SYS_TIMEOUT_H
15966 #include <sys/timeout.h>
15967 #endif
15968 #ifdef HAVE_NETINET_IN_H
15969 #include <netinet/in.h>
15970 #endif
15971 #ifdef HAVE_NETINET_IN_SYSTM_H
15972 #include <netinet/in_systm.h>
15973 #endif
15974 #ifdef HAVE_NETINET_IP_H
15975 #include <netinet/ip.h>
15976 #endif
15977 #ifdef HAVE_NETINET_IP_VAR_H
15978 #include <netinet/ip_var.h>
15979 #endif
15980 #ifdef HAVE_NETINET_IP_ICMP_H
15981 #include <netinet/ip_icmp.h>
15982 #endif
15983 #ifdef HAVE_NETINET_ICMP_VAR_H
15984 #include <netinet/icmp_var.h>
15985 #endif
15987 if test "x$ac_cv_member_struct_icmpstat_icps_outhist" = xyes; then :
15989 cat >>confdefs.h <<_ACEOF
15990 #define HAVE_STRUCT_ICMPSTAT_ICPS_OUTHIST 1
15991 _ACEOF
15997 ac_fn_c_check_member "$LINENO" "struct ipstat" "ips_total" "ac_cv_member_struct_ipstat_ips_total" "#ifdef HAVE_SYS_TYPES_H
15998 #include <sys/types.h>
15999 #endif
16000 #ifdef HAVE_SYS_SOCKETVAR_H
16001 #include <sys/socketvar.h>
16002 #endif
16003 #ifdef HAVE_NETINET_IN_H
16004 #include <netinet/in.h>
16005 #endif
16006 #ifdef HAVE_NETINET_IP_VAR_H
16007 #include <netinet/ip_var.h>
16008 #endif
16010 if test "x$ac_cv_member_struct_ipstat_ips_total" = xyes; then :
16012 cat >>confdefs.h <<_ACEOF
16013 #define HAVE_STRUCT_IPSTAT_IPS_TOTAL 1
16014 _ACEOF
16020 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
16021 #include <netinet/ip_var.h>
16022 #endif
16024 if test "x$ac_cv_member_struct_ip_stats_ips_total" = xyes; then :
16026 cat >>confdefs.h <<_ACEOF
16027 #define HAVE_STRUCT_IP_STATS_IPS_TOTAL 1
16028 _ACEOF
16034 ac_fn_c_check_member "$LINENO" "struct tcpstat" "tcps_connattempt" "ac_cv_member_struct_tcpstat_tcps_connattempt" "#ifdef HAVE_SYS_TYPES_H
16035 #include <sys/types.h>
16036 #endif
16037 #ifdef HAVE_SYS_SOCKETVAR_H
16038 #include <sys/socketvar.h>
16039 #endif
16040 #ifdef HAVE_NETINET_IN_H
16041 #include <netinet/in.h>
16042 #endif
16043 #ifdef HAVE_NETINET_TCP_H
16044 #include <netinet/tcp.h>
16045 #endif
16046 #ifdef HAVE_NETINET_TCP_VAR_H
16047 #include <netinet/tcp_var.h>
16048 #endif
16050 if test "x$ac_cv_member_struct_tcpstat_tcps_connattempt" = xyes; then :
16052 cat >>confdefs.h <<_ACEOF
16053 #define HAVE_STRUCT_TCPSTAT_TCPS_CONNATTEMPT 1
16054 _ACEOF
16060 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
16061 #include <netinet/tcp_var.h>
16062 #endif
16064 if test "x$ac_cv_member_struct_tcp_stats_tcps_connattempt" = xyes; then :
16066 cat >>confdefs.h <<_ACEOF
16067 #define HAVE_STRUCT_TCP_STATS_TCPS_CONNATTEMPT 1
16068 _ACEOF
16074 ac_fn_c_check_member "$LINENO" "struct udpstat" "udps_ipackets" "ac_cv_member_struct_udpstat_udps_ipackets" "#ifdef HAVE_SYS_TYPES_H
16075 #include <sys/types.h>
16076 #endif
16077 #ifdef HAVE_NETINET_IN_H
16078 #include <netinet/in.h>
16079 #endif
16080 #ifdef HAVE_NETINET_IP_VAR_H
16081 #include <netinet/ip_var.h>
16082 #endif
16083 #ifdef HAVE_NETINET_UDP_H
16084 #include <netinet/udp.h>
16085 #endif
16086 #ifdef HAVE_NETINET_UDP_VAR_H
16087 #include <netinet/udp_var.h>
16088 #endif
16090 if test "x$ac_cv_member_struct_udpstat_udps_ipackets" = xyes; then :
16092 cat >>confdefs.h <<_ACEOF
16093 #define HAVE_STRUCT_UDPSTAT_UDPS_IPACKETS 1
16094 _ACEOF
16100 ac_fn_c_check_member "$LINENO" "struct ifreq" "ifr_hwaddr" "ac_cv_member_struct_ifreq_ifr_hwaddr" "#ifdef HAVE_SYS_TYPES_H
16101 #include <sys/types.h>
16102 #endif
16103 #ifdef HAVE_NET_IF_H
16104 # include <net/if.h>
16105 #endif
16107 if test "x$ac_cv_member_struct_ifreq_ifr_hwaddr" = xyes; then :
16109 cat >>confdefs.h <<_ACEOF
16110 #define HAVE_STRUCT_IFREQ_IFR_HWADDR 1
16111 _ACEOF
16117 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for timezone variable" >&5
16118 $as_echo_n "checking for timezone variable... " >&6; }
16119 if ${ac_cv_have_timezone+:} false; then :
16120 $as_echo_n "(cached) " >&6
16121 else
16122 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
16123 /* end confdefs.h. */
16124 #include <time.h>
16126 main ()
16128 timezone = 1
16130 return 0;
16132 _ACEOF
16133 if ac_fn_c_try_link "$LINENO"; then :
16134 ac_cv_have_timezone="yes"
16135 else
16136 ac_cv_have_timezone="no"
16138 rm -f core conftest.err conftest.$ac_objext \
16139 conftest$ac_exeext conftest.$ac_ext
16141 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_have_timezone" >&5
16142 $as_echo "$ac_cv_have_timezone" >&6; }
16143 if test "$ac_cv_have_timezone" = "yes"
16144 then
16146 $as_echo "#define HAVE_TIMEZONE 1" >>confdefs.h
16149 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for daylight variable" >&5
16150 $as_echo_n "checking for daylight variable... " >&6; }
16151 if ${ac_cv_have_daylight+:} false; then :
16152 $as_echo_n "(cached) " >&6
16153 else
16154 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
16155 /* end confdefs.h. */
16156 #include <time.h>
16158 main ()
16160 daylight = 1
16162 return 0;
16164 _ACEOF
16165 if ac_fn_c_try_link "$LINENO"; then :
16166 ac_cv_have_daylight="yes"
16167 else
16168 ac_cv_have_daylight="no"
16170 rm -f core conftest.err conftest.$ac_objext \
16171 conftest$ac_exeext conftest.$ac_ext
16173 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_have_daylight" >&5
16174 $as_echo "$ac_cv_have_daylight" >&6; }
16175 if test "$ac_cv_have_daylight" = "yes"
16176 then
16178 $as_echo "#define HAVE_DAYLIGHT 1" >>confdefs.h
16182 ac_save_LIBS="$LIBS"
16183 LIBS="$LIBS -lm"
16184 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for isfinite" >&5
16185 $as_echo_n "checking for isfinite... " >&6; }
16186 if ${ac_cv_have_isfinite+:} false; then :
16187 $as_echo_n "(cached) " >&6
16188 else
16189 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
16190 /* end confdefs.h. */
16191 #define _GNU_SOURCE
16192 #include <math.h>
16194 main ()
16196 float f = 0.0; return isfinite(f)
16198 return 0;
16200 _ACEOF
16201 if ac_fn_c_try_link "$LINENO"; then :
16202 ac_cv_have_isfinite="yes"
16203 else
16204 ac_cv_have_isfinite="no"
16206 rm -f core conftest.err conftest.$ac_objext \
16207 conftest$ac_exeext conftest.$ac_ext
16209 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_have_isfinite" >&5
16210 $as_echo "$ac_cv_have_isfinite" >&6; }
16211 if test "$ac_cv_have_isfinite" = "yes"
16212 then
16214 $as_echo "#define HAVE_ISFINITE 1" >>confdefs.h
16218 ac_save_LIBS="$LIBS"
16219 LIBS="$LIBS -lm"
16220 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for isinf" >&5
16221 $as_echo_n "checking for isinf... " >&6; }
16222 if ${ac_cv_have_isinf+:} false; then :
16223 $as_echo_n "(cached) " >&6
16224 else
16225 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
16226 /* end confdefs.h. */
16227 #include <math.h>
16229 main ()
16231 float f = 0.0; return isinf(f)
16233 return 0;
16235 _ACEOF
16236 if ac_fn_c_try_link "$LINENO"; then :
16237 ac_cv_have_isinf="yes"
16238 else
16239 ac_cv_have_isinf="no"
16241 rm -f core conftest.err conftest.$ac_objext \
16242 conftest$ac_exeext conftest.$ac_ext
16244 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_have_isinf" >&5
16245 $as_echo "$ac_cv_have_isinf" >&6; }
16246 if test "$ac_cv_have_isinf" = "yes"
16247 then
16249 $as_echo "#define HAVE_ISINF 1" >>confdefs.h
16253 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for isnan" >&5
16254 $as_echo_n "checking for isnan... " >&6; }
16255 if ${ac_cv_have_isnan+:} false; then :
16256 $as_echo_n "(cached) " >&6
16257 else
16258 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
16259 /* end confdefs.h. */
16260 #include <math.h>
16262 main ()
16264 float f = 0.0; return isnan(f)
16266 return 0;
16268 _ACEOF
16269 if ac_fn_c_try_link "$LINENO"; then :
16270 ac_cv_have_isnan="yes"
16271 else
16272 ac_cv_have_isnan="no"
16274 rm -f core conftest.err conftest.$ac_objext \
16275 conftest$ac_exeext conftest.$ac_ext
16277 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_have_isnan" >&5
16278 $as_echo "$ac_cv_have_isnan" >&6; }
16279 if test "$ac_cv_have_isnan" = "yes"
16280 then
16282 $as_echo "#define HAVE_ISNAN 1" >>confdefs.h
16285 LIBS="$ac_save_LIBS"
16288 case $host_cpu in
16289 *i[3456789]86*) { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we need to define __i386__" >&5
16290 $as_echo_n "checking whether we need to define __i386__... " >&6; }
16291 if ${ac_cv_cpp_def___i386__+:} false; then :
16292 $as_echo_n "(cached) " >&6
16293 else
16294 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
16295 /* end confdefs.h. */
16296 #ifndef __i386__
16298 #endif
16299 _ACEOF
16300 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
16301 $EGREP "yes" >/dev/null 2>&1; then :
16302 ac_cv_cpp_def___i386__=yes
16303 else
16304 ac_cv_cpp_def___i386__=no
16306 rm -f conftest*
16309 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cpp_def___i386__" >&5
16310 $as_echo "$ac_cv_cpp_def___i386__" >&6; }
16311 if test "x$ac_cv_cpp_def___i386__" = xyes; then :
16312 CFLAGS="$CFLAGS -D__i386__"
16313 LINTFLAGS="$LINTFLAGS -D__i386__"
16314 fi ;;
16315 *x86_64*) { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we need to define __x86_64__" >&5
16316 $as_echo_n "checking whether we need to define __x86_64__... " >&6; }
16317 if ${ac_cv_cpp_def___x86_64__+:} false; then :
16318 $as_echo_n "(cached) " >&6
16319 else
16320 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
16321 /* end confdefs.h. */
16322 #ifndef __x86_64__
16324 #endif
16325 _ACEOF
16326 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
16327 $EGREP "yes" >/dev/null 2>&1; then :
16328 ac_cv_cpp_def___x86_64__=yes
16329 else
16330 ac_cv_cpp_def___x86_64__=no
16332 rm -f conftest*
16335 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cpp_def___x86_64__" >&5
16336 $as_echo "$ac_cv_cpp_def___x86_64__" >&6; }
16337 if test "x$ac_cv_cpp_def___x86_64__" = xyes; then :
16338 CFLAGS="$CFLAGS -D__x86_64__"
16339 LINTFLAGS="$LINTFLAGS -D__x86_64__"
16340 fi ;;
16341 *sparc64*) { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we need to define __sparc64__" >&5
16342 $as_echo_n "checking whether we need to define __sparc64__... " >&6; }
16343 if ${ac_cv_cpp_def___sparc64__+:} false; then :
16344 $as_echo_n "(cached) " >&6
16345 else
16346 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
16347 /* end confdefs.h. */
16348 #ifndef __sparc64__
16350 #endif
16351 _ACEOF
16352 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
16353 $EGREP "yes" >/dev/null 2>&1; then :
16354 ac_cv_cpp_def___sparc64__=yes
16355 else
16356 ac_cv_cpp_def___sparc64__=no
16358 rm -f conftest*
16361 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cpp_def___sparc64__" >&5
16362 $as_echo "$ac_cv_cpp_def___sparc64__" >&6; }
16363 if test "x$ac_cv_cpp_def___sparc64__" = xyes; then :
16364 CFLAGS="$CFLAGS -D__sparc64__"
16365 LINTFLAGS="$LINTFLAGS -D__sparc64__"
16366 fi ;;
16367 *sparc*) { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we need to define __sparc__" >&5
16368 $as_echo_n "checking whether we need to define __sparc__... " >&6; }
16369 if ${ac_cv_cpp_def___sparc__+:} false; then :
16370 $as_echo_n "(cached) " >&6
16371 else
16372 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
16373 /* end confdefs.h. */
16374 #ifndef __sparc__
16376 #endif
16377 _ACEOF
16378 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
16379 $EGREP "yes" >/dev/null 2>&1; then :
16380 ac_cv_cpp_def___sparc__=yes
16381 else
16382 ac_cv_cpp_def___sparc__=no
16384 rm -f conftest*
16387 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cpp_def___sparc__" >&5
16388 $as_echo "$ac_cv_cpp_def___sparc__" >&6; }
16389 if test "x$ac_cv_cpp_def___sparc__" = xyes; then :
16390 CFLAGS="$CFLAGS -D__sparc__"
16391 LINTFLAGS="$LINTFLAGS -D__sparc__"
16392 fi ;;
16393 *powerpc64*) { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we need to define __powerpc64__" >&5
16394 $as_echo_n "checking whether we need to define __powerpc64__... " >&6; }
16395 if ${ac_cv_cpp_def___powerpc64__+:} false; then :
16396 $as_echo_n "(cached) " >&6
16397 else
16398 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
16399 /* end confdefs.h. */
16400 #ifndef __powerpc64__
16402 #endif
16403 _ACEOF
16404 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
16405 $EGREP "yes" >/dev/null 2>&1; then :
16406 ac_cv_cpp_def___powerpc64__=yes
16407 else
16408 ac_cv_cpp_def___powerpc64__=no
16410 rm -f conftest*
16413 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cpp_def___powerpc64__" >&5
16414 $as_echo "$ac_cv_cpp_def___powerpc64__" >&6; }
16415 if test "x$ac_cv_cpp_def___powerpc64__" = xyes; then :
16416 CFLAGS="$CFLAGS -D__powerpc64__"
16417 LINTFLAGS="$LINTFLAGS -D__powerpc64__"
16418 fi ;;
16419 *powerpc*) { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we need to define __powerpc__" >&5
16420 $as_echo_n "checking whether we need to define __powerpc__... " >&6; }
16421 if ${ac_cv_cpp_def___powerpc__+:} false; then :
16422 $as_echo_n "(cached) " >&6
16423 else
16424 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
16425 /* end confdefs.h. */
16426 #ifndef __powerpc__
16428 #endif
16429 _ACEOF
16430 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
16431 $EGREP "yes" >/dev/null 2>&1; then :
16432 ac_cv_cpp_def___powerpc__=yes
16433 else
16434 ac_cv_cpp_def___powerpc__=no
16436 rm -f conftest*
16439 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cpp_def___powerpc__" >&5
16440 $as_echo "$ac_cv_cpp_def___powerpc__" >&6; }
16441 if test "x$ac_cv_cpp_def___powerpc__" = xyes; then :
16442 CFLAGS="$CFLAGS -D__powerpc__"
16443 LINTFLAGS="$LINTFLAGS -D__powerpc__"
16444 fi ;;
16445 *aarch64*) { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we need to define __aarch64__" >&5
16446 $as_echo_n "checking whether we need to define __aarch64__... " >&6; }
16447 if ${ac_cv_cpp_def___aarch64__+:} false; then :
16448 $as_echo_n "(cached) " >&6
16449 else
16450 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
16451 /* end confdefs.h. */
16452 #ifndef __aarch64__
16454 #endif
16455 _ACEOF
16456 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
16457 $EGREP "yes" >/dev/null 2>&1; then :
16458 ac_cv_cpp_def___aarch64__=yes
16459 else
16460 ac_cv_cpp_def___aarch64__=no
16462 rm -f conftest*
16465 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cpp_def___aarch64__" >&5
16466 $as_echo "$ac_cv_cpp_def___aarch64__" >&6; }
16467 if test "x$ac_cv_cpp_def___aarch64__" = xyes; then :
16468 CFLAGS="$CFLAGS -D__aarch64__"
16469 LINTFLAGS="$LINTFLAGS -D__aarch64__"
16470 fi ;;
16471 *arm*) { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we need to define __arm__" >&5
16472 $as_echo_n "checking whether we need to define __arm__... " >&6; }
16473 if ${ac_cv_cpp_def___arm__+:} false; then :
16474 $as_echo_n "(cached) " >&6
16475 else
16476 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
16477 /* end confdefs.h. */
16478 #ifndef __arm__
16480 #endif
16481 _ACEOF
16482 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
16483 $EGREP "yes" >/dev/null 2>&1; then :
16484 ac_cv_cpp_def___arm__=yes
16485 else
16486 ac_cv_cpp_def___arm__=no
16488 rm -f conftest*
16491 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cpp_def___arm__" >&5
16492 $as_echo "$ac_cv_cpp_def___arm__" >&6; }
16493 if test "x$ac_cv_cpp_def___arm__" = xyes; then :
16494 CFLAGS="$CFLAGS -D__arm__"
16495 LINTFLAGS="$LINTFLAGS -D__arm__"
16496 fi ;;
16497 esac
16499 case $host_vendor in
16500 *sun*) { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we need to define __sun__" >&5
16501 $as_echo_n "checking whether we need to define __sun__... " >&6; }
16502 if ${ac_cv_cpp_def___sun__+:} false; then :
16503 $as_echo_n "(cached) " >&6
16504 else
16505 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
16506 /* end confdefs.h. */
16507 #ifndef __sun__
16509 #endif
16510 _ACEOF
16511 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
16512 $EGREP "yes" >/dev/null 2>&1; then :
16513 ac_cv_cpp_def___sun__=yes
16514 else
16515 ac_cv_cpp_def___sun__=no
16517 rm -f conftest*
16520 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cpp_def___sun__" >&5
16521 $as_echo "$ac_cv_cpp_def___sun__" >&6; }
16522 if test "x$ac_cv_cpp_def___sun__" = xyes; then :
16523 CFLAGS="$CFLAGS -D__sun__"
16524 LINTFLAGS="$LINTFLAGS -D__sun__"
16525 fi ;;
16526 esac
16532 ac_config_commands="$ac_config_commands include/stamp-h"
16534 $as_echo_n "creating Makefile rules..." >&6
16536 ALL_VARS_RULES="OPENGL_LIBS = $OPENGL_LIBS
16537 SOCKET_LIBS = $SOCKET_LIBS
16538 COREFOUNDATION_LIBS = $COREFOUNDATION_LIBS
16539 IOKIT_LIBS = $IOKIT_LIBS
16540 FORCEFEEDBACK_LIBS = $FORCEFEEDBACK_LIBS
16541 APPLICATIONSERVICES_LIBS = $APPLICATIONSERVICES_LIBS
16542 CORESERVICES_LIBS = $CORESERVICES_LIBS
16543 APPKIT_LIBS = $APPKIT_LIBS
16544 DISKARBITRATION_LIBS = $DISKARBITRATION_LIBS
16545 SECURITY_LIBS = $SECURITY_LIBS
16546 COREAUDIO_LIBS = $COREAUDIO_LIBS
16547 OPENAL_LIBS = $OPENAL_LIBS
16548 OPENCL_LIBS = $OPENCL_LIBS
16549 QUICKTIME_LIBS = $QUICKTIME_LIBS
16550 CARBON_LIBS = $CARBON_LIBS
16551 PTHREAD_LIBS = $PTHREAD_LIBS
16552 X_CFLAGS = $X_CFLAGS
16553 X_PRE_LIBS = $X_PRE_LIBS
16554 X_LIBS = $X_LIBS
16555 X_EXTRA_LIBS = $X_EXTRA_LIBS
16556 XML2_CFLAGS = $XML2_CFLAGS
16557 XML2_LIBS = $XML2_LIBS
16558 XSLT_CFLAGS = $XSLT_CFLAGS
16559 XSLT_LIBS = $XSLT_LIBS
16560 DBUS_CFLAGS = $DBUS_CFLAGS
16561 DBUS_LIBS = $DBUS_LIBS
16562 HAL_CFLAGS = $HAL_CFLAGS
16563 HAL_LIBS = $HAL_LIBS
16564 GNUTLS_CFLAGS = $GNUTLS_CFLAGS
16565 GNUTLS_LIBS = $GNUTLS_LIBS
16566 SANE_CFLAGS = $SANE_CFLAGS
16567 SANE_LIBS = $SANE_LIBS
16568 GPHOTO2_CFLAGS = $GPHOTO2_CFLAGS
16569 GPHOTO2_LIBS = $GPHOTO2_LIBS
16570 GPHOTO2_PORT_CFLAGS = $GPHOTO2_PORT_CFLAGS
16571 GPHOTO2_PORT_LIBS = $GPHOTO2_PORT_LIBS
16572 RESOLV_LIBS = $RESOLV_LIBS
16573 LCMS2_CFLAGS = $LCMS2_CFLAGS
16574 LCMS2_LIBS = $LCMS2_LIBS
16575 FREETYPE_CFLAGS = $FREETYPE_CFLAGS
16576 FREETYPE_LIBS = $FREETYPE_LIBS
16577 Z_LIBS = $Z_LIBS
16578 GETTEXTPO_LIBS = $GETTEXTPO_LIBS
16579 GSTREAMER_CFLAGS = $GSTREAMER_CFLAGS
16580 GSTREAMER_LIBS = $GSTREAMER_LIBS
16581 ALSA_LIBS = $ALSA_LIBS
16582 OSS4_CFLAGS = $OSS4_CFLAGS
16583 CAPI20_CFLAGS = $CAPI20_CFLAGS
16584 CAPI20_LIBS = $CAPI20_LIBS
16585 CUPS_CFLAGS = $CUPS_CFLAGS
16586 FONTCONFIG_CFLAGS = $FONTCONFIG_CFLAGS
16587 FONTCONFIG_LIBS = $FONTCONFIG_LIBS
16588 JPEG_CFLAGS = $JPEG_CFLAGS
16589 JPEG_LIBS = $JPEG_LIBS
16590 PNG_CFLAGS = $PNG_CFLAGS
16591 PNG_LIBS = $PNG_LIBS
16592 TIFF_CFLAGS = $TIFF_CFLAGS
16593 TIFF_LIBS = $TIFF_LIBS
16594 MPG123_CFLAGS = $MPG123_CFLAGS
16595 MPG123_LIBS = $MPG123_LIBS
16596 KSTAT_LIBS = $KSTAT_LIBS
16597 PROCSTAT_LIBS = $PROCSTAT_LIBS
16598 DL_LIBS = $DL_LIBS
16599 POLL_LIBS = $POLL_LIBS
16600 RT_LIBS = $RT_LIBS
16601 LDAP_LIBS = $LDAP_LIBS
16606 wine_fn_append_rule "
16607 # Rules automatically generated by configure
16609 CLEAN_FILES = *.o *.a *.so *.res *.fake *.ok *.tab.[ch] *.yy.c
16611 .INIT: Makefile
16612 .MAKEFILEDEPS:
16613 all: Makefile
16614 Makefile: $srcdir/Makefile.in $srcdir/Make.vars.in config.status \$(MAKEDEP)
16615 @./config.status Make.tmp Makefile"
16617 test "$srcdir" = . && wine_fn_append_rule "all: .gitignore
16618 .gitignore: config.status
16619 @./config.status .gitignore"
16621 test -n "$CROSSTARGET" || wine_fn_append_rule "crosstest:
16622 @echo \"crosstest is not supported (mingw not installed?)\" && false"
16624 if test "x$enable_fonts" != xno; then
16625 ac_config_links="$ac_config_links fonts/marlett.ttf:fonts/marlett.ttf"
16626 ac_config_links="$ac_config_links fonts/symbol.ttf:fonts/symbol.ttf"
16627 ac_config_links="$ac_config_links fonts/tahoma.ttf:fonts/tahoma.ttf"
16628 ac_config_links="$ac_config_links fonts/tahomabd.ttf:fonts/tahomabd.ttf"
16629 test "$srcdir" = "." || wine_fn_config_symlink fonts/marlett.ttf fonts/symbol.ttf fonts/tahoma.ttf fonts/tahomabd.ttf
16631 ac_config_links="$ac_config_links loader/l_intl.nls:loader/l_intl.nls"
16632 test "$srcdir" = "." || wine_fn_config_symlink loader/l_intl.nls
16633 ac_config_links="$ac_config_links po/LINGUAS:po/LINGUAS"
16634 test "$srcdir" = "." || wine_fn_config_symlink po/LINGUAS
16635 ac_config_links="$ac_config_links wine:tools/winewrapper"
16636 wine_fn_config_symlink wine
16637 if test "x$enable_win64" != xno; then
16638 ac_config_links="$ac_config_links wine64:tools/winewrapper"
16639 wine_fn_config_symlink wine64
16642 wine_fn_config_dll acledit enable_acledit
16643 wine_fn_config_dll aclui enable_aclui implib
16644 wine_fn_config_dll activeds enable_activeds implib
16645 wine_fn_config_dll actxprxy enable_actxprxy clean
16646 wine_fn_config_lib adsiid
16647 wine_fn_config_dll advapi32 enable_advapi32 clean,implib
16648 wine_fn_config_test dlls/advapi32/tests advapi32_test
16649 wine_fn_config_dll advpack enable_advpack implib
16650 wine_fn_config_test dlls/advpack/tests advpack_test
16651 wine_fn_config_dll amstream enable_amstream clean
16652 wine_fn_config_test dlls/amstream/tests amstream_test
16653 wine_fn_config_dll api-ms-win-core-com-l1-1-0 enable_api_ms_win_core_com_l1_1_0
16654 wine_fn_config_dll api-ms-win-core-console-l1-1-0 enable_api_ms_win_core_console_l1_1_0
16655 wine_fn_config_dll api-ms-win-core-debug-l1-1-1 enable_api_ms_win_core_debug_l1_1_1
16656 wine_fn_config_dll api-ms-win-core-errorhandling-l1-1-1 enable_api_ms_win_core_errorhandling_l1_1_1
16657 wine_fn_config_dll api-ms-win-core-file-l1-2-0 enable_api_ms_win_core_file_l1_2_0
16658 wine_fn_config_dll api-ms-win-core-handle-l1-1-0 enable_api_ms_win_core_handle_l1_1_0
16659 wine_fn_config_dll api-ms-win-core-heap-l1-2-0 enable_api_ms_win_core_heap_l1_2_0
16660 wine_fn_config_dll api-ms-win-core-heap-obsolete-l1-1-0 enable_api_ms_win_core_heap_obsolete_l1_1_0
16661 wine_fn_config_dll api-ms-win-core-interlocked-l1-2-0 enable_api_ms_win_core_interlocked_l1_2_0
16662 wine_fn_config_dll api-ms-win-core-io-l1-1-1 enable_api_ms_win_core_io_l1_1_1
16663 wine_fn_config_dll api-ms-win-core-kernel32-legacy-l1-1-0 enable_api_ms_win_core_kernel32_legacy_l1_1_0
16664 wine_fn_config_dll api-ms-win-core-libraryloader-l1-1-1 enable_api_ms_win_core_libraryloader_l1_1_1
16665 wine_fn_config_dll api-ms-win-core-localization-l1-2-0 enable_api_ms_win_core_localization_l1_2_0
16666 wine_fn_config_dll api-ms-win-core-localization-obsolete-l1-1-0 enable_api_ms_win_core_localization_obsolete_l1_1_0
16667 wine_fn_config_dll api-ms-win-core-localregistry-l1-1-0 enable_api_ms_win_core_localregistry_l1_1_0
16668 wine_fn_config_dll api-ms-win-core-memory-l1-1-1 enable_api_ms_win_core_memory_l1_1_1
16669 wine_fn_config_dll api-ms-win-core-namedpipe-l1-2-0 enable_api_ms_win_core_namedpipe_l1_2_0
16670 wine_fn_config_dll api-ms-win-core-processenvironment-l1-2-0 enable_api_ms_win_core_processenvironment_l1_2_0
16671 wine_fn_config_dll api-ms-win-core-processthreads-l1-1-0 enable_api_ms_win_core_processthreads_l1_1_0
16672 wine_fn_config_dll api-ms-win-core-processthreads-l1-1-1 enable_api_ms_win_core_processthreads_l1_1_1
16673 wine_fn_config_dll api-ms-win-core-profile-l1-1-0 enable_api_ms_win_core_profile_l1_1_0
16674 wine_fn_config_dll api-ms-win-core-psapi-l1-1-0 enable_api_ms_win_core_psapi_l1_1_0
16675 wine_fn_config_dll api-ms-win-core-registry-l1-1-0 enable_api_ms_win_core_registry_l1_1_0
16676 wine_fn_config_dll api-ms-win-core-rtlsupport-l1-2-0 enable_api_ms_win_core_rtlsupport_l1_2_0
16677 wine_fn_config_dll api-ms-win-core-shlwapi-legacy-l1-1-0 enable_api_ms_win_core_shlwapi_legacy_l1_1_0
16678 wine_fn_config_dll api-ms-win-core-string-l1-1-0 enable_api_ms_win_core_string_l1_1_0
16679 wine_fn_config_dll api-ms-win-core-synch-l1-2-0 enable_api_ms_win_core_synch_l1_2_0
16680 wine_fn_config_dll api-ms-win-core-sysinfo-l1-2-0 enable_api_ms_win_core_sysinfo_l1_2_0
16681 wine_fn_config_dll api-ms-win-core-threadpool-legacy-l1-1-0 enable_api_ms_win_core_threadpool_legacy_l1_1_0
16682 wine_fn_config_dll api-ms-win-core-timezone-l1-1-0 enable_api_ms_win_core_timezone_l1_1_0
16683 wine_fn_config_dll api-ms-win-core-url-l1-1-0 enable_api_ms_win_core_url_l1_1_0
16684 wine_fn_config_dll api-ms-win-core-util-l1-1-0 enable_api_ms_win_core_util_l1_1_0
16685 wine_fn_config_dll api-ms-win-core-winrt-error-l1-1-0 enable_api_ms_win_core_winrt_error_l1_1_0
16686 wine_fn_config_dll api-ms-win-core-winrt-string-l1-1-0 enable_api_ms_win_core_winrt_string_l1_1_0
16687 wine_fn_config_dll api-ms-win-downlevel-advapi32-l1-1-0 enable_api_ms_win_downlevel_advapi32_l1_1_0
16688 wine_fn_config_dll api-ms-win-downlevel-advapi32-l2-1-0 enable_api_ms_win_downlevel_advapi32_l2_1_0
16689 wine_fn_config_dll api-ms-win-downlevel-normaliz-l1-1-0 enable_api_ms_win_downlevel_normaliz_l1_1_0
16690 wine_fn_config_dll api-ms-win-downlevel-ole32-l1-1-0 enable_api_ms_win_downlevel_ole32_l1_1_0
16691 wine_fn_config_dll api-ms-win-downlevel-shell32-l1-1-0 enable_api_ms_win_downlevel_shell32_l1_1_0
16692 wine_fn_config_dll api-ms-win-downlevel-shlwapi-l1-1-0 enable_api_ms_win_downlevel_shlwapi_l1_1_0
16693 wine_fn_config_dll api-ms-win-downlevel-shlwapi-l2-1-0 enable_api_ms_win_downlevel_shlwapi_l2_1_0
16694 wine_fn_config_dll api-ms-win-downlevel-user32-l1-1-0 enable_api_ms_win_downlevel_user32_l1_1_0
16695 wine_fn_config_dll api-ms-win-downlevel-version-l1-1-0 enable_api_ms_win_downlevel_version_l1_1_0
16696 wine_fn_config_dll api-ms-win-eventing-provider-l1-1-0 enable_api_ms_win_eventing_provider_l1_1_0
16697 wine_fn_config_dll api-ms-win-ntuser-dc-access-l1-1-0 enable_api_ms_win_ntuser_dc_access_l1_1_0
16698 wine_fn_config_dll api-ms-win-security-base-l1-1-0 enable_api_ms_win_security_base_l1_1_0
16699 wine_fn_config_dll api-ms-win-security-base-l1-2-0 enable_api_ms_win_security_base_l1_2_0
16700 wine_fn_config_dll api-ms-win-security-sddl-l1-1-0 enable_api_ms_win_security_sddl_l1_1_0
16701 wine_fn_config_dll api-ms-win-service-core-l1-1-1 enable_api_ms_win_service_core_l1_1_1
16702 wine_fn_config_dll api-ms-win-service-management-l1-1-0 enable_api_ms_win_service_management_l1_1_0
16703 wine_fn_config_dll api-ms-win-service-winsvc-l1-2-0 enable_api_ms_win_service_winsvc_l1_2_0
16704 wine_fn_config_dll apphelp enable_apphelp
16705 wine_fn_config_test dlls/apphelp/tests apphelp_test
16706 wine_fn_config_dll appwiz.cpl enable_appwiz_cpl po
16707 wine_fn_config_dll atl enable_atl clean,implib
16708 wine_fn_config_test dlls/atl/tests atl_test
16709 wine_fn_config_dll atl100 enable_atl100 implib
16710 wine_fn_config_test dlls/atl100/tests atl100_test
16711 wine_fn_config_dll atl110 enable_atl110
16712 wine_fn_config_dll atl80 enable_atl80 implib
16713 wine_fn_config_test dlls/atl80/tests atl80_test
16714 wine_fn_config_dll atl90 enable_atl90
16715 wine_fn_config_dll authz enable_authz
16716 wine_fn_config_dll avicap32 enable_avicap32 implib
16717 wine_fn_config_dll avifil32 enable_avifil32 clean,implib,po
16718 wine_fn_config_test dlls/avifil32/tests avifil32_test
16719 wine_fn_config_dll avifile.dll16 enable_win16
16720 wine_fn_config_dll avrt enable_avrt implib
16721 wine_fn_config_dll bcrypt enable_bcrypt
16722 wine_fn_config_test dlls/bcrypt/tests bcrypt_test
16723 wine_fn_config_dll browseui enable_browseui clean,po
16724 wine_fn_config_test dlls/browseui/tests browseui_test
16725 wine_fn_config_dll cabinet enable_cabinet implib
16726 wine_fn_config_test dlls/cabinet/tests cabinet_test
16727 wine_fn_config_dll capi2032 enable_capi2032 implib
16728 wine_fn_config_dll cards enable_cards implib
16729 wine_fn_config_dll cfgmgr32 enable_cfgmgr32 implib
16730 wine_fn_config_dll clusapi enable_clusapi implib
16731 wine_fn_config_dll comcat enable_comcat
16732 wine_fn_config_test dlls/comcat/tests comcat_test
16733 wine_fn_config_dll comctl32 enable_comctl32 implib,po
16734 wine_fn_config_test dlls/comctl32/tests comctl32_test
16735 wine_fn_config_dll comdlg32 enable_comdlg32 clean,implib,po
16736 wine_fn_config_test dlls/comdlg32/tests comdlg32_test
16737 wine_fn_config_dll comm.drv16 enable_win16
16738 wine_fn_config_dll commdlg.dll16 enable_win16
16739 wine_fn_config_dll compobj.dll16 enable_win16
16740 wine_fn_config_dll compstui enable_compstui implib
16741 wine_fn_config_dll comsvcs enable_comsvcs implib
16742 wine_fn_config_dll credui enable_credui implib,po
16743 wine_fn_config_test dlls/credui/tests credui_test
16744 wine_fn_config_dll crtdll enable_crtdll implib
16745 wine_fn_config_dll crypt32 enable_crypt32 implib,po
16746 wine_fn_config_test dlls/crypt32/tests crypt32_test
16747 wine_fn_config_dll cryptdlg enable_cryptdlg po
16748 wine_fn_config_dll cryptdll enable_cryptdll implib
16749 wine_fn_config_dll cryptnet enable_cryptnet implib
16750 wine_fn_config_test dlls/cryptnet/tests cryptnet_test
16751 wine_fn_config_dll cryptui enable_cryptui implib,po
16752 wine_fn_config_test dlls/cryptui/tests cryptui_test
16753 wine_fn_config_dll ctapi32 enable_ctapi32
16754 wine_fn_config_dll ctl3d.dll16 enable_win16
16755 wine_fn_config_dll ctl3d32 enable_ctl3d32 implib
16756 wine_fn_config_dll ctl3dv2.dll16 enable_win16
16757 wine_fn_config_dll d2d1 enable_d2d1 implib
16758 wine_fn_config_dll d3d10 enable_d3d10 implib
16759 wine_fn_config_test dlls/d3d10/tests d3d10_test
16760 wine_fn_config_dll d3d10_1 enable_d3d10_1 implib
16761 wine_fn_config_dll d3d10core enable_d3d10core implib
16762 wine_fn_config_test dlls/d3d10core/tests d3d10core_test
16763 wine_fn_config_dll d3d11 enable_d3d11
16764 wine_fn_config_dll d3d8 enable_d3d8 implib
16765 wine_fn_config_test dlls/d3d8/tests d3d8_test
16766 wine_fn_config_dll d3d9 enable_d3d9 implib
16767 wine_fn_config_test dlls/d3d9/tests d3d9_test
16768 wine_fn_config_dll d3dcompiler_33 enable_d3dcompiler_33
16769 wine_fn_config_dll d3dcompiler_34 enable_d3dcompiler_34
16770 wine_fn_config_dll d3dcompiler_35 enable_d3dcompiler_35
16771 wine_fn_config_dll d3dcompiler_36 enable_d3dcompiler_36
16772 wine_fn_config_dll d3dcompiler_37 enable_d3dcompiler_37
16773 wine_fn_config_dll d3dcompiler_38 enable_d3dcompiler_38
16774 wine_fn_config_dll d3dcompiler_39 enable_d3dcompiler_39
16775 wine_fn_config_dll d3dcompiler_40 enable_d3dcompiler_40
16776 wine_fn_config_dll d3dcompiler_41 enable_d3dcompiler_41
16777 wine_fn_config_dll d3dcompiler_42 enable_d3dcompiler_42
16778 wine_fn_config_dll d3dcompiler_43 enable_d3dcompiler_43 implib d3dcompiler
16779 wine_fn_config_test dlls/d3dcompiler_43/tests d3dcompiler_43_test
16780 wine_fn_config_dll d3dim enable_d3dim implib
16781 wine_fn_config_dll d3drm enable_d3drm implib
16782 wine_fn_config_test dlls/d3drm/tests d3drm_test
16783 wine_fn_config_dll d3dx10_33 enable_d3dx10_33
16784 wine_fn_config_dll d3dx10_34 enable_d3dx10_34
16785 wine_fn_config_dll d3dx10_35 enable_d3dx10_35
16786 wine_fn_config_dll d3dx10_36 enable_d3dx10_36
16787 wine_fn_config_dll d3dx10_37 enable_d3dx10_37
16788 wine_fn_config_dll d3dx10_38 enable_d3dx10_38
16789 wine_fn_config_dll d3dx10_39 enable_d3dx10_39
16790 wine_fn_config_dll d3dx10_40 enable_d3dx10_40
16791 wine_fn_config_dll d3dx10_41 enable_d3dx10_41
16792 wine_fn_config_dll d3dx10_42 enable_d3dx10_42
16793 wine_fn_config_dll d3dx10_43 enable_d3dx10_43
16794 wine_fn_config_dll d3dx11_42 enable_d3dx11_42
16795 wine_fn_config_dll d3dx11_43 enable_d3dx11_43
16796 wine_fn_config_dll d3dx9_24 enable_d3dx9_24
16797 wine_fn_config_dll d3dx9_25 enable_d3dx9_25
16798 wine_fn_config_dll d3dx9_26 enable_d3dx9_26
16799 wine_fn_config_dll d3dx9_27 enable_d3dx9_27
16800 wine_fn_config_dll d3dx9_28 enable_d3dx9_28
16801 wine_fn_config_dll d3dx9_29 enable_d3dx9_29
16802 wine_fn_config_dll d3dx9_30 enable_d3dx9_30
16803 wine_fn_config_dll d3dx9_31 enable_d3dx9_31
16804 wine_fn_config_dll d3dx9_32 enable_d3dx9_32
16805 wine_fn_config_dll d3dx9_33 enable_d3dx9_33
16806 wine_fn_config_dll d3dx9_34 enable_d3dx9_34
16807 wine_fn_config_dll d3dx9_35 enable_d3dx9_35
16808 wine_fn_config_dll d3dx9_36 enable_d3dx9_36 implib d3dx9
16809 wine_fn_config_test dlls/d3dx9_36/tests d3dx9_36_test
16810 wine_fn_config_dll d3dx9_37 enable_d3dx9_37
16811 wine_fn_config_dll d3dx9_38 enable_d3dx9_38
16812 wine_fn_config_dll d3dx9_39 enable_d3dx9_39
16813 wine_fn_config_dll d3dx9_40 enable_d3dx9_40
16814 wine_fn_config_dll d3dx9_41 enable_d3dx9_41
16815 wine_fn_config_dll d3dx9_42 enable_d3dx9_42
16816 wine_fn_config_dll d3dx9_43 enable_d3dx9_43
16817 wine_fn_config_dll d3dxof enable_d3dxof clean,implib
16818 wine_fn_config_test dlls/d3dxof/tests d3dxof_test
16819 wine_fn_config_dll dbgeng enable_dbgeng implib
16820 wine_fn_config_dll dbghelp enable_dbghelp implib
16821 wine_fn_config_dll dciman32 enable_dciman32 implib
16822 wine_fn_config_dll ddeml.dll16 enable_win16
16823 wine_fn_config_dll ddraw enable_ddraw clean,implib
16824 wine_fn_config_test dlls/ddraw/tests ddraw_test
16825 wine_fn_config_dll ddrawex enable_ddrawex clean
16826 wine_fn_config_test dlls/ddrawex/tests ddrawex_test
16827 wine_fn_config_dll devenum enable_devenum clean,po
16828 wine_fn_config_test dlls/devenum/tests devenum_test
16829 wine_fn_config_dll dhcpcsvc enable_dhcpcsvc
16830 wine_fn_config_dll difxapi enable_difxapi
16831 wine_fn_config_dll dinput enable_dinput clean,implib,po,staticimplib
16832 wine_fn_config_test dlls/dinput/tests dinput_test
16833 wine_fn_config_dll dinput8 enable_dinput8 clean,implib
16834 wine_fn_config_test dlls/dinput8/tests dinput8_test
16835 wine_fn_config_dll dispdib.dll16 enable_win16
16836 wine_fn_config_dll dispex enable_dispex clean
16837 wine_fn_config_test dlls/dispex/tests dispex_test
16838 wine_fn_config_dll display.drv16 enable_win16
16839 wine_fn_config_dll dmband enable_dmband clean
16840 wine_fn_config_test dlls/dmband/tests dmband_test
16841 wine_fn_config_dll dmcompos enable_dmcompos clean
16842 wine_fn_config_test dlls/dmcompos/tests dmcompos_test
16843 wine_fn_config_dll dmime enable_dmime clean
16844 wine_fn_config_test dlls/dmime/tests dmime_test
16845 wine_fn_config_dll dmloader enable_dmloader clean
16846 wine_fn_config_test dlls/dmloader/tests dmloader_test
16847 wine_fn_config_dll dmscript enable_dmscript clean
16848 wine_fn_config_test dlls/dmscript/tests dmscript_test
16849 wine_fn_config_dll dmstyle enable_dmstyle clean
16850 wine_fn_config_test dlls/dmstyle/tests dmstyle_test
16851 wine_fn_config_dll dmsynth enable_dmsynth clean
16852 wine_fn_config_test dlls/dmsynth/tests dmsynth_test
16853 wine_fn_config_dll dmusic enable_dmusic clean
16854 wine_fn_config_test dlls/dmusic/tests dmusic_test
16855 wine_fn_config_dll dmusic32 enable_dmusic32 implib
16856 wine_fn_config_dll dnsapi enable_dnsapi implib
16857 wine_fn_config_test dlls/dnsapi/tests dnsapi_test
16858 wine_fn_config_dll dplay enable_dplay implib
16859 wine_fn_config_dll dplayx enable_dplayx clean,implib
16860 wine_fn_config_test dlls/dplayx/tests dplayx_test
16861 wine_fn_config_dll dpnaddr enable_dpnaddr
16862 wine_fn_config_dll dpnet enable_dpnet clean,implib
16863 wine_fn_config_test dlls/dpnet/tests dpnet_test
16864 wine_fn_config_dll dpnhpast enable_dpnhpast
16865 wine_fn_config_dll dpnlobby enable_dpnlobby
16866 wine_fn_config_dll dpwsockx enable_dpwsockx
16867 wine_fn_config_dll drmclien enable_drmclien
16868 wine_fn_config_dll dsound enable_dsound clean,implib
16869 wine_fn_config_test dlls/dsound/tests dsound_test
16870 wine_fn_config_dll dssenh enable_dssenh
16871 wine_fn_config_test dlls/dssenh/tests dssenh_test
16872 wine_fn_config_dll dswave enable_dswave clean
16873 wine_fn_config_test dlls/dswave/tests dswave_test
16874 wine_fn_config_dll dwmapi enable_dwmapi implib
16875 wine_fn_config_dll dwrite enable_dwrite implib
16876 wine_fn_config_test dlls/dwrite/tests dwrite_test
16877 wine_fn_config_dll dxdiagn enable_dxdiagn clean,po
16878 wine_fn_config_test dlls/dxdiagn/tests dxdiagn_test
16879 wine_fn_config_lib dxerr8
16880 wine_fn_config_lib dxerr9
16881 wine_fn_config_dll dxgi enable_dxgi implib
16882 wine_fn_config_test dlls/dxgi/tests dxgi_test
16883 wine_fn_config_lib dxguid
16884 wine_fn_config_dll dxva2 enable_dxva2
16885 wine_fn_config_dll explorerframe enable_explorerframe clean
16886 wine_fn_config_test dlls/explorerframe/tests explorerframe_test
16887 wine_fn_config_dll ext-ms-win-gdi-devcaps-l1-1-0 enable_ext_ms_win_gdi_devcaps_l1_1_0
16888 wine_fn_config_dll faultrep enable_faultrep implib
16889 wine_fn_config_test dlls/faultrep/tests faultrep_test
16890 wine_fn_config_dll fltlib enable_fltlib
16891 wine_fn_config_dll fntcache enable_fntcache
16892 wine_fn_config_dll fontsub enable_fontsub
16893 wine_fn_config_dll fusion enable_fusion
16894 wine_fn_config_test dlls/fusion/tests fusion_test
16895 wine_fn_config_dll fwpuclnt enable_fwpuclnt
16896 wine_fn_config_dll gameux enable_gameux clean
16897 wine_fn_config_test dlls/gameux/tests gameux_test
16898 wine_fn_config_dll gdi.exe16 enable_win16
16899 wine_fn_config_dll gdi32 enable_gdi32 clean,implib,po
16900 wine_fn_config_test dlls/gdi32/tests gdi32_test
16901 wine_fn_config_dll gdiplus enable_gdiplus implib
16902 wine_fn_config_test dlls/gdiplus/tests gdiplus_test
16903 wine_fn_config_dll glu32 enable_glu32 implib
16904 wine_fn_config_dll gphoto2.ds enable_gphoto2_ds po
16905 wine_fn_config_dll gpkcsp enable_gpkcsp
16906 wine_fn_config_dll hal enable_hal
16907 wine_fn_config_dll hhctrl.ocx enable_hhctrl_ocx clean,implib,po htmlhelp
16908 wine_fn_config_dll hid enable_hid implib
16909 wine_fn_config_dll hlink enable_hlink clean,implib
16910 wine_fn_config_test dlls/hlink/tests hlink_test
16911 wine_fn_config_dll hnetcfg enable_hnetcfg clean
16912 wine_fn_config_dll httpapi enable_httpapi
16913 wine_fn_config_dll iccvid enable_iccvid po
16914 wine_fn_config_dll icmp enable_icmp
16915 wine_fn_config_dll ieframe enable_ieframe clean,implib,po
16916 wine_fn_config_test dlls/ieframe/tests ieframe_test
16917 wine_fn_config_dll ifsmgr.vxd enable_win16
16918 wine_fn_config_dll imaadp32.acm enable_imaadp32_acm
16919 wine_fn_config_dll imagehlp enable_imagehlp implib
16920 wine_fn_config_test dlls/imagehlp/tests imagehlp_test
16921 wine_fn_config_dll imm.dll16 enable_win16
16922 wine_fn_config_dll imm32 enable_imm32 implib
16923 wine_fn_config_test dlls/imm32/tests imm32_test
16924 wine_fn_config_dll inetcomm enable_inetcomm clean,implib
16925 wine_fn_config_test dlls/inetcomm/tests inetcomm_test
16926 wine_fn_config_dll inetcpl.cpl enable_inetcpl_cpl po
16927 wine_fn_config_dll inetmib1 enable_inetmib1
16928 wine_fn_config_test dlls/inetmib1/tests inetmib1_test
16929 wine_fn_config_dll infosoft enable_infosoft clean
16930 wine_fn_config_test dlls/infosoft/tests infosoft_test
16931 wine_fn_config_dll initpki enable_initpki
16932 wine_fn_config_dll inkobj enable_inkobj
16933 wine_fn_config_dll inseng enable_inseng clean
16934 wine_fn_config_dll iphlpapi enable_iphlpapi implib
16935 wine_fn_config_test dlls/iphlpapi/tests iphlpapi_test
16936 wine_fn_config_dll itircl enable_itircl
16937 wine_fn_config_dll itss enable_itss clean
16938 wine_fn_config_test dlls/itss/tests itss_test
16939 wine_fn_config_dll joy.cpl enable_joy_cpl po
16940 wine_fn_config_dll jscript enable_jscript clean,po
16941 wine_fn_config_test dlls/jscript/tests jscript_test
16942 wine_fn_config_dll jsproxy enable_jsproxy implib
16943 wine_fn_config_dll kernel32 enable_kernel32 clean,implib,mc
16944 wine_fn_config_test dlls/kernel32/tests kernel32_test
16945 wine_fn_config_dll keyboard.drv16 enable_win16
16946 wine_fn_config_dll krnl386.exe16 enable_win16 implib kernel
16947 wine_fn_config_dll ktmw32 enable_ktmw32
16948 wine_fn_config_dll loadperf enable_loadperf implib
16949 wine_fn_config_dll localspl enable_localspl po
16950 wine_fn_config_test dlls/localspl/tests localspl_test
16951 wine_fn_config_dll localui enable_localui po
16952 wine_fn_config_test dlls/localui/tests localui_test
16953 wine_fn_config_dll lz32 enable_lz32 implib
16954 wine_fn_config_test dlls/lz32/tests lz32_test
16955 wine_fn_config_dll lzexpand.dll16 enable_win16
16956 wine_fn_config_dll mapi32 enable_mapi32 implib,po
16957 wine_fn_config_test dlls/mapi32/tests mapi32_test
16958 wine_fn_config_dll mapistub enable_mapistub
16959 wine_fn_config_dll mciavi32 enable_mciavi32
16960 wine_fn_config_dll mcicda enable_mcicda
16961 wine_fn_config_dll mciqtz32 enable_mciqtz32
16962 wine_fn_config_dll mciseq enable_mciseq
16963 wine_fn_config_dll mciwave enable_mciwave
16964 wine_fn_config_dll mgmtapi enable_mgmtapi
16965 wine_fn_config_dll midimap enable_midimap
16966 wine_fn_config_dll mlang enable_mlang clean,implib
16967 wine_fn_config_test dlls/mlang/tests mlang_test
16968 wine_fn_config_dll mmcndmgr enable_mmcndmgr clean
16969 wine_fn_config_test dlls/mmcndmgr/tests mmcndmgr_test
16970 wine_fn_config_dll mmdevapi enable_mmdevapi clean
16971 wine_fn_config_test dlls/mmdevapi/tests mmdevapi_test
16972 wine_fn_config_dll mmdevldr.vxd enable_win16
16973 wine_fn_config_dll mmsystem.dll16 enable_win16
16974 wine_fn_config_dll monodebg.vxd enable_win16
16975 wine_fn_config_dll mountmgr.sys enable_mountmgr_sys
16976 wine_fn_config_dll mouse.drv16 enable_win16
16977 wine_fn_config_dll mpr enable_mpr implib,po
16978 wine_fn_config_test dlls/mpr/tests mpr_test
16979 wine_fn_config_dll mprapi enable_mprapi implib
16980 wine_fn_config_dll msacm.dll16 enable_win16
16981 wine_fn_config_dll msacm32.drv enable_msacm32_drv
16982 wine_fn_config_dll msacm32 enable_msacm32 implib,po
16983 wine_fn_config_test dlls/msacm32/tests msacm32_test
16984 wine_fn_config_dll msadp32.acm enable_msadp32_acm
16985 wine_fn_config_dll msasn1 enable_msasn1 implib
16986 wine_fn_config_dll mscat32 enable_mscat32
16987 wine_fn_config_dll mscms enable_mscms implib
16988 wine_fn_config_test dlls/mscms/tests mscms_test
16989 wine_fn_config_dll mscoree enable_mscoree clean
16990 wine_fn_config_test dlls/mscoree/tests mscoree_test
16991 wine_fn_config_dll msctf enable_msctf clean
16992 wine_fn_config_test dlls/msctf/tests msctf_test
16993 wine_fn_config_dll msdaps enable_msdaps clean
16994 wine_fn_config_dll msdmo enable_msdmo implib
16995 wine_fn_config_dll msftedit enable_msftedit
16996 wine_fn_config_dll msg711.acm enable_msg711_acm
16997 wine_fn_config_dll msgsm32.acm enable_msgsm32_acm
16998 wine_fn_config_dll mshtml.tlb enable_mshtml_tlb clean
16999 wine_fn_config_dll mshtml enable_mshtml clean,implib,po
17000 wine_fn_config_test dlls/mshtml/tests mshtml_test clean
17001 wine_fn_config_dll msi enable_msi clean,implib,po
17002 wine_fn_config_test dlls/msi/tests msi_test
17003 wine_fn_config_dll msident enable_msident clean
17004 wine_fn_config_dll msimg32 enable_msimg32 implib
17005 wine_fn_config_dll msimsg enable_msimsg
17006 wine_fn_config_dll msimtf enable_msimtf clean
17007 wine_fn_config_dll msisip enable_msisip
17008 wine_fn_config_dll msisys.ocx enable_msisys_ocx
17009 wine_fn_config_dll msls31 enable_msls31
17010 wine_fn_config_dll msnet32 enable_msnet32
17011 wine_fn_config_dll mspatcha enable_mspatcha
17012 wine_fn_config_dll msrle32 enable_msrle32 po
17013 wine_fn_config_test dlls/msrle32/tests msrle32_test
17014 wine_fn_config_dll mssign32 enable_mssign32
17015 wine_fn_config_dll mssip32 enable_mssip32
17016 wine_fn_config_dll mstask enable_mstask clean
17017 wine_fn_config_test dlls/mstask/tests mstask_test
17018 wine_fn_config_dll msvcirt enable_msvcirt
17019 wine_fn_config_dll msvcm80 enable_msvcm80
17020 wine_fn_config_dll msvcm90 enable_msvcm90
17021 wine_fn_config_dll msvcp100 enable_msvcp100
17022 wine_fn_config_test dlls/msvcp100/tests msvcp100_test
17023 wine_fn_config_dll msvcp110 enable_msvcp110
17024 wine_fn_config_dll msvcp60 enable_msvcp60
17025 wine_fn_config_test dlls/msvcp60/tests msvcp60_test
17026 wine_fn_config_dll msvcp70 enable_msvcp70
17027 wine_fn_config_dll msvcp71 enable_msvcp71
17028 wine_fn_config_dll msvcp80 enable_msvcp80
17029 wine_fn_config_dll msvcp90 enable_msvcp90
17030 wine_fn_config_test dlls/msvcp90/tests msvcp90_test
17031 wine_fn_config_dll msvcr100 enable_msvcr100 implib
17032 wine_fn_config_test dlls/msvcr100/tests msvcr100_test
17033 wine_fn_config_dll msvcr110 enable_msvcr110 implib
17034 wine_fn_config_dll msvcr70 enable_msvcr70 implib
17035 wine_fn_config_dll msvcr71 enable_msvcr71 implib
17036 wine_fn_config_dll msvcr80 enable_msvcr80 implib
17037 wine_fn_config_dll msvcr90 enable_msvcr90 implib
17038 wine_fn_config_test dlls/msvcr90/tests msvcr90_test
17039 wine_fn_config_dll msvcrt enable_msvcrt implib
17040 wine_fn_config_test dlls/msvcrt/tests msvcrt_test
17041 wine_fn_config_dll msvcrt20 enable_msvcrt20 implib
17042 wine_fn_config_dll msvcrt40 enable_msvcrt40 implib
17043 wine_fn_config_dll msvcrtd enable_msvcrtd implib
17044 wine_fn_config_test dlls/msvcrtd/tests msvcrtd_test
17045 wine_fn_config_dll msvfw32 enable_msvfw32 implib,po
17046 wine_fn_config_test dlls/msvfw32/tests msvfw32_test
17047 wine_fn_config_dll msvidc32 enable_msvidc32 po
17048 wine_fn_config_dll msvideo.dll16 enable_win16
17049 wine_fn_config_dll mswsock enable_mswsock implib
17050 wine_fn_config_dll msxml enable_msxml clean
17051 wine_fn_config_dll msxml2 enable_msxml2 clean
17052 wine_fn_config_dll msxml3 enable_msxml3 clean
17053 wine_fn_config_test dlls/msxml3/tests msxml3_test clean
17054 wine_fn_config_dll msxml4 enable_msxml4 clean
17055 wine_fn_config_dll msxml6 enable_msxml6 clean
17056 wine_fn_config_dll nddeapi enable_nddeapi implib
17057 wine_fn_config_dll netapi32 enable_netapi32 implib
17058 wine_fn_config_test dlls/netapi32/tests netapi32_test
17059 wine_fn_config_dll netcfgx enable_netcfgx clean
17060 wine_fn_config_test dlls/netcfgx/tests netcfgx_test
17061 wine_fn_config_dll netprofm enable_netprofm clean
17062 wine_fn_config_test dlls/netprofm/tests netprofm_test
17063 wine_fn_config_dll newdev enable_newdev implib
17064 wine_fn_config_dll normaliz enable_normaliz implib
17065 wine_fn_config_dll npmshtml enable_npmshtml
17066 wine_fn_config_dll ntdll enable_ntdll implib
17067 wine_fn_config_test dlls/ntdll/tests ntdll_test
17068 wine_fn_config_dll ntdsapi enable_ntdsapi implib
17069 wine_fn_config_test dlls/ntdsapi/tests ntdsapi_test
17070 wine_fn_config_dll ntoskrnl.exe enable_ntoskrnl_exe implib
17071 wine_fn_config_dll ntprint enable_ntprint
17072 wine_fn_config_test dlls/ntprint/tests ntprint_test
17073 wine_fn_config_dll objsel enable_objsel clean
17074 wine_fn_config_dll odbc32 enable_odbc32 implib
17075 wine_fn_config_dll odbccp32 enable_odbccp32 implib
17076 wine_fn_config_test dlls/odbccp32/tests odbccp32_test
17077 wine_fn_config_dll odbccu32 enable_odbccu32
17078 wine_fn_config_dll ole2.dll16 enable_win16
17079 wine_fn_config_dll ole2conv.dll16 enable_win16
17080 wine_fn_config_dll ole2disp.dll16 enable_win16
17081 wine_fn_config_dll ole2nls.dll16 enable_win16
17082 wine_fn_config_dll ole2prox.dll16 enable_win16
17083 wine_fn_config_dll ole2thk.dll16 enable_win16
17084 wine_fn_config_dll ole32 enable_ole32 clean,implib
17085 wine_fn_config_test dlls/ole32/tests ole32_test
17086 wine_fn_config_dll oleacc enable_oleacc clean,implib,po
17087 wine_fn_config_test dlls/oleacc/tests oleacc_test
17088 wine_fn_config_dll oleaut32 enable_oleaut32 clean,implib,po
17089 wine_fn_config_test dlls/oleaut32/tests oleaut32_test clean
17090 wine_fn_config_dll olecli.dll16 enable_win16
17091 wine_fn_config_dll olecli32 enable_olecli32 implib
17092 wine_fn_config_dll oledb32 enable_oledb32 clean
17093 wine_fn_config_test dlls/oledb32/tests oledb32_test clean
17094 wine_fn_config_dll oledlg enable_oledlg implib,po
17095 wine_fn_config_dll olepro32 enable_olepro32 implib
17096 wine_fn_config_dll olesvr.dll16 enable_win16
17097 wine_fn_config_dll olesvr32 enable_olesvr32 implib
17098 wine_fn_config_dll olethk32 enable_olethk32
17099 wine_fn_config_dll openal32 enable_openal32
17100 wine_fn_config_dll opencl enable_opencl
17101 wine_fn_config_dll opengl32 enable_opengl32 implib
17102 wine_fn_config_test dlls/opengl32/tests opengl32_test
17103 wine_fn_config_dll pdh enable_pdh implib
17104 wine_fn_config_test dlls/pdh/tests pdh_test
17105 wine_fn_config_dll photometadatahandler enable_photometadatahandler
17106 wine_fn_config_dll pidgen enable_pidgen
17107 wine_fn_config_dll powrprof enable_powrprof implib
17108 wine_fn_config_dll printui enable_printui
17109 wine_fn_config_dll propsys enable_propsys clean,implib
17110 wine_fn_config_test dlls/propsys/tests propsys_test
17111 wine_fn_config_dll psapi enable_psapi implib
17112 wine_fn_config_test dlls/psapi/tests psapi_test
17113 wine_fn_config_dll pstorec enable_pstorec clean
17114 wine_fn_config_dll qcap enable_qcap
17115 wine_fn_config_test dlls/qcap/tests qcap_test
17116 wine_fn_config_dll qedit enable_qedit clean
17117 wine_fn_config_test dlls/qedit/tests qedit_test
17118 wine_fn_config_dll qmgr enable_qmgr clean
17119 wine_fn_config_test dlls/qmgr/tests qmgr_test
17120 wine_fn_config_dll qmgrprxy enable_qmgrprxy clean
17121 wine_fn_config_dll quartz enable_quartz clean,implib
17122 wine_fn_config_test dlls/quartz/tests quartz_test clean
17123 wine_fn_config_dll query enable_query
17124 wine_fn_config_dll rasapi16.dll16 enable_win16
17125 wine_fn_config_dll rasapi32 enable_rasapi32 implib
17126 wine_fn_config_test dlls/rasapi32/tests rasapi32_test
17127 wine_fn_config_dll rasdlg enable_rasdlg implib
17128 wine_fn_config_dll regapi enable_regapi
17129 wine_fn_config_dll resutils enable_resutils implib
17130 wine_fn_config_dll riched20 enable_riched20 implib
17131 wine_fn_config_test dlls/riched20/tests riched20_test
17132 wine_fn_config_dll riched32 enable_riched32
17133 wine_fn_config_test dlls/riched32/tests riched32_test
17134 wine_fn_config_dll rpcrt4 enable_rpcrt4 clean,implib
17135 wine_fn_config_test dlls/rpcrt4/tests rpcrt4_test clean
17136 wine_fn_config_dll rsabase enable_rsabase
17137 wine_fn_config_dll rsaenh enable_rsaenh implib
17138 wine_fn_config_test dlls/rsaenh/tests rsaenh_test
17139 wine_fn_config_dll rstrtmgr enable_rstrtmgr
17140 wine_fn_config_dll rtutils enable_rtutils implib
17141 wine_fn_config_dll samlib enable_samlib
17142 wine_fn_config_dll sane.ds enable_sane_ds po
17143 wine_fn_config_dll scarddlg enable_scarddlg
17144 wine_fn_config_dll sccbase enable_sccbase
17145 wine_fn_config_dll schannel enable_schannel
17146 wine_fn_config_test dlls/schannel/tests schannel_test
17147 wine_fn_config_dll schedsvc enable_schedsvc clean
17148 wine_fn_config_test dlls/schedsvc/tests schedsvc_test clean
17149 wine_fn_config_dll scrrun enable_scrrun clean
17150 wine_fn_config_test dlls/scrrun/tests scrrun_test clean
17151 wine_fn_config_dll scsiport.sys enable_scsiport_sys
17152 wine_fn_config_dll secur32 enable_secur32 implib
17153 wine_fn_config_test dlls/secur32/tests secur32_test
17154 wine_fn_config_dll security enable_security
17155 wine_fn_config_dll sensapi enable_sensapi implib
17156 wine_fn_config_dll serialui enable_serialui implib,po
17157 wine_fn_config_test dlls/serialui/tests serialui_test
17158 wine_fn_config_dll setupapi enable_setupapi implib,po
17159 wine_fn_config_test dlls/setupapi/tests setupapi_test
17160 wine_fn_config_dll setupx.dll16 enable_win16
17161 wine_fn_config_dll sfc enable_sfc implib
17162 wine_fn_config_dll sfc_os enable_sfc_os implib
17163 wine_fn_config_dll shdoclc enable_shdoclc po
17164 wine_fn_config_dll shdocvw enable_shdocvw clean,implib
17165 wine_fn_config_test dlls/shdocvw/tests shdocvw_test
17166 wine_fn_config_dll shell.dll16 enable_win16
17167 wine_fn_config_dll shell32 enable_shell32 clean,implib,po
17168 wine_fn_config_test dlls/shell32/tests shell32_test
17169 wine_fn_config_dll shfolder enable_shfolder implib
17170 wine_fn_config_dll shlwapi enable_shlwapi implib,po
17171 wine_fn_config_test dlls/shlwapi/tests shlwapi_test
17172 wine_fn_config_dll slbcsp enable_slbcsp
17173 wine_fn_config_dll slc enable_slc implib
17174 wine_fn_config_dll snmpapi enable_snmpapi implib
17175 wine_fn_config_test dlls/snmpapi/tests snmpapi_test
17176 wine_fn_config_dll softpub enable_softpub
17177 wine_fn_config_dll sound.drv16 enable_win16
17178 wine_fn_config_dll spoolss enable_spoolss implib
17179 wine_fn_config_test dlls/spoolss/tests spoolss_test
17180 wine_fn_config_dll stdole2.tlb enable_stdole2_tlb clean
17181 wine_fn_config_dll stdole32.tlb enable_stdole32_tlb clean
17182 wine_fn_config_dll sti enable_sti clean,implib
17183 wine_fn_config_test dlls/sti/tests sti_test
17184 wine_fn_config_dll storage.dll16 enable_win16
17185 wine_fn_config_dll stress.dll16 enable_win16
17186 wine_fn_config_lib strmbase
17187 wine_fn_config_lib strmiids
17188 wine_fn_config_dll svrapi enable_svrapi
17189 wine_fn_config_dll sxs enable_sxs implib
17190 wine_fn_config_test dlls/sxs/tests sxs_test
17191 wine_fn_config_dll system.drv16 enable_win16
17192 wine_fn_config_dll t2embed enable_t2embed
17193 wine_fn_config_dll tapi32 enable_tapi32 implib
17194 wine_fn_config_dll taskschd enable_taskschd clean
17195 wine_fn_config_test dlls/taskschd/tests taskschd_test
17196 wine_fn_config_dll toolhelp.dll16 enable_win16
17197 wine_fn_config_dll traffic enable_traffic
17198 wine_fn_config_dll twain.dll16 enable_win16
17199 wine_fn_config_dll twain_32 enable_twain_32
17200 wine_fn_config_test dlls/twain_32/tests twain_32_test
17201 wine_fn_config_dll typelib.dll16 enable_win16
17202 wine_fn_config_dll unicows enable_unicows implib
17203 wine_fn_config_dll updspapi enable_updspapi
17204 wine_fn_config_dll url enable_url implib
17205 wine_fn_config_dll urlmon enable_urlmon clean,implib,po
17206 wine_fn_config_test dlls/urlmon/tests urlmon_test
17207 wine_fn_config_dll usbd.sys enable_usbd_sys implib
17208 wine_fn_config_dll user.exe16 enable_win16
17209 wine_fn_config_dll user32 enable_user32 clean,implib,po
17210 wine_fn_config_test dlls/user32/tests user32_test
17211 wine_fn_config_dll userenv enable_userenv implib
17212 wine_fn_config_test dlls/userenv/tests userenv_test
17213 wine_fn_config_dll usp10 enable_usp10 implib
17214 wine_fn_config_test dlls/usp10/tests usp10_test
17215 wine_fn_config_lib uuid
17216 wine_fn_config_dll uxtheme enable_uxtheme implib
17217 wine_fn_config_test dlls/uxtheme/tests uxtheme_test
17218 wine_fn_config_dll vbscript enable_vbscript clean
17219 wine_fn_config_test dlls/vbscript/tests vbscript_test clean
17220 wine_fn_config_dll vcomp enable_vcomp
17221 wine_fn_config_dll vcomp100 enable_vcomp100
17222 wine_fn_config_dll vcomp90 enable_vcomp90
17223 wine_fn_config_dll vdhcp.vxd enable_win16
17224 wine_fn_config_dll vdmdbg enable_vdmdbg implib
17225 wine_fn_config_dll ver.dll16 enable_win16
17226 wine_fn_config_dll version enable_version implib
17227 wine_fn_config_test dlls/version/tests version_test
17228 wine_fn_config_dll vmm.vxd enable_win16
17229 wine_fn_config_dll vnbt.vxd enable_win16
17230 wine_fn_config_dll vnetbios.vxd enable_win16
17231 wine_fn_config_dll vtdapi.vxd enable_win16
17232 wine_fn_config_dll vwin32.vxd enable_win16
17233 wine_fn_config_dll w32skrnl enable_win16
17234 wine_fn_config_dll w32sys.dll16 enable_win16
17235 wine_fn_config_dll wbemdisp enable_wbemdisp clean
17236 wine_fn_config_dll wbemprox enable_wbemprox clean
17237 wine_fn_config_test dlls/wbemprox/tests wbemprox_test
17238 wine_fn_config_dll webservices enable_webservices implib
17239 wine_fn_config_dll wer enable_wer implib
17240 wine_fn_config_test dlls/wer/tests wer_test
17241 wine_fn_config_dll wevtapi enable_wevtapi
17242 wine_fn_config_dll wiaservc enable_wiaservc clean
17243 wine_fn_config_dll win32s16.dll16 enable_win16
17244 wine_fn_config_dll win87em.dll16 enable_win16
17245 wine_fn_config_dll winaspi.dll16 enable_win16
17246 wine_fn_config_dll windebug.dll16 enable_win16
17247 wine_fn_config_dll windowscodecs enable_windowscodecs clean,implib
17248 wine_fn_config_test dlls/windowscodecs/tests windowscodecs_test
17249 wine_fn_config_dll windowscodecsext enable_windowscodecsext implib
17250 wine_fn_config_test dlls/windowscodecsext/tests windowscodecsext_test
17251 wine_fn_config_dll winealsa.drv enable_winealsa_drv
17252 wine_fn_config_dll winecoreaudio.drv enable_winecoreaudio_drv
17253 wine_fn_config_lib winecrt0
17254 wine_fn_config_dll wined3d enable_wined3d implib
17255 wine_fn_config_dll winegstreamer enable_winegstreamer
17256 wine_fn_config_dll winejoystick.drv enable_winejoystick_drv
17257 wine_fn_config_dll winemac.drv enable_winemac_drv
17258 wine_fn_config_dll winemapi enable_winemapi
17259 wine_fn_config_dll winemp3.acm enable_winemp3_acm
17260 wine_fn_config_dll wineoss.drv enable_wineoss_drv
17261 wine_fn_config_dll wineps.drv enable_wineps_drv clean,po
17262 wine_fn_config_dll wineps16.drv16 enable_win16
17263 wine_fn_config_dll wineqtdecoder enable_wineqtdecoder
17264 wine_fn_config_dll winex11.drv enable_winex11_drv
17265 wine_fn_config_dll wing.dll16 enable_win16
17266 wine_fn_config_dll wing32 enable_wing32
17267 wine_fn_config_dll winhttp enable_winhttp clean,implib
17268 wine_fn_config_test dlls/winhttp/tests winhttp_test
17269 wine_fn_config_dll wininet enable_wininet implib,po
17270 wine_fn_config_test dlls/wininet/tests wininet_test
17271 wine_fn_config_dll winmm enable_winmm implib,po
17272 wine_fn_config_test dlls/winmm/tests winmm_test
17273 wine_fn_config_dll winnls.dll16 enable_win16
17274 wine_fn_config_dll winnls32 enable_winnls32 implib
17275 wine_fn_config_dll winscard enable_winscard implib
17276 wine_fn_config_dll winsock.dll16 enable_win16
17277 wine_fn_config_dll winspool.drv enable_winspool_drv implib,po winspool
17278 wine_fn_config_test dlls/winspool.drv/tests winspool.drv_test
17279 wine_fn_config_dll winsta enable_winsta
17280 wine_fn_config_dll wintab.dll16 enable_win16
17281 wine_fn_config_dll wintab32 enable_wintab32 implib
17282 wine_fn_config_test dlls/wintab32/tests wintab32_test
17283 wine_fn_config_dll wintrust enable_wintrust implib
17284 wine_fn_config_test dlls/wintrust/tests wintrust_test
17285 wine_fn_config_dll wlanapi enable_wlanapi
17286 wine_fn_config_dll wldap32 enable_wldap32 implib,po
17287 wine_fn_config_test dlls/wldap32/tests wldap32_test
17288 wine_fn_config_dll wmi enable_wmi
17289 wine_fn_config_dll wmiutils enable_wmiutils clean
17290 wine_fn_config_test dlls/wmiutils/tests wmiutils_test
17291 wine_fn_config_dll wmp enable_wmp clean
17292 wine_fn_config_test dlls/wmp/tests wmp_test
17293 wine_fn_config_dll wmvcore enable_wmvcore
17294 wine_fn_config_dll wnaspi32 enable_wnaspi32 implib
17295 wine_fn_config_dll wow32 enable_win16 implib
17296 wine_fn_config_dll ws2_32 enable_ws2_32 implib
17297 wine_fn_config_test dlls/ws2_32/tests ws2_32_test
17298 wine_fn_config_dll wshom.ocx enable_wshom_ocx clean
17299 wine_fn_config_test dlls/wshom.ocx/tests wshom.ocx_test clean
17300 wine_fn_config_dll wsnmp32 enable_wsnmp32 implib
17301 wine_fn_config_test dlls/wsnmp32/tests wsnmp32_test
17302 wine_fn_config_dll wsock32 enable_wsock32 implib
17303 wine_fn_config_dll wtsapi32 enable_wtsapi32 implib
17304 wine_fn_config_test dlls/wtsapi32/tests wtsapi32_test
17305 wine_fn_config_dll wuapi enable_wuapi clean
17306 wine_fn_config_dll wuaueng enable_wuaueng
17307 wine_fn_config_dll xapofx1_1 enable_xapofx1_1
17308 wine_fn_config_dll xinput1_1 enable_xinput1_1
17309 wine_fn_config_dll xinput1_2 enable_xinput1_2
17310 wine_fn_config_dll xinput1_3 enable_xinput1_3 implib xinput
17311 wine_fn_config_test dlls/xinput1_3/tests xinput1_3_test
17312 wine_fn_config_dll xinput1_4 enable_xinput1_4
17313 wine_fn_config_dll xinput9_1_0 enable_xinput9_1_0
17314 wine_fn_config_dll xmllite enable_xmllite implib
17315 wine_fn_config_test dlls/xmllite/tests xmllite_test
17316 wine_fn_config_dll xolehlp enable_xolehlp
17317 wine_fn_config_dll xpsprint enable_xpsprint
17318 wine_fn_config_dll xpssvcs enable_xpssvcs
17319 wine_fn_config_makefile documentation enable_documentation clean
17320 wine_fn_config_makefile fonts enable_fonts clean,install-lib
17321 wine_fn_config_makefile include enable_include clean,install-dev
17322 wine_fn_config_makefile libs/port enable_libs_port
17323 wine_fn_config_makefile libs/wine enable_libs_wine clean,install-dev,install-lib
17324 wine_fn_config_makefile libs/wpp enable_libs_wpp
17325 wine_fn_config_makefile loader enable_loader clean,install-lib,manpage
17326 wine_fn_config_program arp enable_arp install
17327 wine_fn_config_program aspnet_regiis enable_aspnet_regiis install
17328 wine_fn_config_program attrib enable_attrib install,po
17329 wine_fn_config_program cabarc enable_cabarc install
17330 wine_fn_config_program cacls enable_cacls install
17331 wine_fn_config_program clock enable_clock install,po
17332 wine_fn_config_program cmd enable_cmd install,po
17333 wine_fn_config_test programs/cmd/tests cmd.exe_test
17334 wine_fn_config_program conhost enable_conhost install
17335 wine_fn_config_program control enable_control install
17336 wine_fn_config_program cscript enable_cscript install
17337 wine_fn_config_program dpnsvr enable_dpnsvr install
17338 wine_fn_config_program dxdiag enable_dxdiag install,po
17339 wine_fn_config_program eject enable_eject install
17340 wine_fn_config_program expand enable_expand install
17341 wine_fn_config_program explorer enable_explorer install,po
17342 wine_fn_config_program extrac32 enable_extrac32 install
17343 wine_fn_config_program findstr enable_findstr install
17344 wine_fn_config_program hh enable_hh install
17345 wine_fn_config_program hostname enable_hostname install,po
17346 wine_fn_config_program icinfo enable_icinfo install
17347 wine_fn_config_program iexplore enable_iexplore install
17348 wine_fn_config_program ipconfig enable_ipconfig install,po
17349 wine_fn_config_program lodctr enable_lodctr install
17350 wine_fn_config_program mofcomp enable_mofcomp install
17351 wine_fn_config_program mshta enable_mshta install
17352 wine_fn_config_program msiexec enable_msiexec install,installbin,manpage
17353 wine_fn_config_program net enable_net install,po
17354 wine_fn_config_program netsh enable_netsh install
17355 wine_fn_config_program netstat enable_netstat install,po
17356 wine_fn_config_program ngen enable_ngen install
17357 wine_fn_config_program notepad enable_notepad install,installbin,manpage,po
17358 wine_fn_config_program oleview enable_oleview install,po
17359 wine_fn_config_program ping enable_ping install
17360 wine_fn_config_program plugplay enable_plugplay install
17361 wine_fn_config_program presentationfontcache enable_presentationfontcache install
17362 wine_fn_config_program progman enable_progman install,po
17363 wine_fn_config_program reg enable_reg install,po
17364 wine_fn_config_program regasm enable_regasm install
17365 wine_fn_config_program regedit enable_regedit install,installbin,manpage,po
17366 wine_fn_config_test programs/regedit/tests regedit.exe_test
17367 wine_fn_config_program regsvcs enable_regsvcs install
17368 wine_fn_config_program regsvr32 enable_regsvr32 install,installbin,manpage,po
17369 wine_fn_config_program rpcss enable_rpcss clean,install
17370 wine_fn_config_program rundll.exe16 enable_win16 install
17371 wine_fn_config_program rundll32 enable_rundll32 install
17372 wine_fn_config_program sc enable_sc install
17373 wine_fn_config_program schtasks enable_schtasks install
17374 wine_fn_config_program sdbinst enable_sdbinst install
17375 wine_fn_config_program secedit enable_secedit install
17376 wine_fn_config_program servicemodelreg enable_servicemodelreg install
17377 wine_fn_config_program services enable_services clean,install
17378 wine_fn_config_test programs/services/tests services.exe_test
17379 wine_fn_config_program spoolsv enable_spoolsv install
17380 wine_fn_config_program start enable_start install,po
17381 wine_fn_config_program svchost enable_svchost install
17382 wine_fn_config_program taskkill enable_taskkill install,po
17383 wine_fn_config_program tasklist enable_tasklist install
17384 wine_fn_config_program taskmgr enable_taskmgr install,po
17385 wine_fn_config_program termsv enable_termsv install
17386 wine_fn_config_program uninstaller enable_uninstaller install,po
17387 wine_fn_config_program unlodctr enable_unlodctr install
17388 wine_fn_config_program view enable_view install,po
17389 wine_fn_config_program wevtutil enable_wevtutil install
17390 wine_fn_config_program wineboot enable_wineboot install,installbin,manpage,po
17391 wine_fn_config_program winebrowser enable_winebrowser install
17392 wine_fn_config_program winecfg enable_winecfg install,installbin,manpage,po
17393 wine_fn_config_program wineconsole enable_wineconsole install,installbin,manpage,po
17394 wine_fn_config_program winedbg enable_winedbg install,installbin,manpage,po
17395 wine_fn_config_program winedevice enable_winedevice install
17396 wine_fn_config_program winefile enable_winefile install,installbin,manpage,po
17397 wine_fn_config_program winemenubuilder enable_winemenubuilder install
17398 wine_fn_config_program winemine enable_winemine install,installbin,manpage,po
17399 wine_fn_config_program winemsibuilder enable_winemsibuilder install
17400 wine_fn_config_program winepath enable_winepath install,installbin,manpage
17401 wine_fn_config_program winetest enable_winetest clean
17402 wine_fn_config_program winevdm enable_win16 install
17403 wine_fn_config_program winhelp.exe16 enable_win16 install
17404 wine_fn_config_program winhlp32 enable_winhlp32 install,po
17405 wine_fn_config_program winoldap.mod16 enable_win16 install
17406 wine_fn_config_program winver enable_winver install
17407 wine_fn_config_program wmic enable_wmic install,po
17408 wine_fn_config_program wordpad enable_wordpad install,po
17409 wine_fn_config_program write enable_write install,po
17410 wine_fn_config_program wscript enable_wscript clean,install
17411 wine_fn_config_test programs/wscript/tests wscript.exe_test
17412 wine_fn_config_program wusa enable_wusa install
17413 wine_fn_config_program xcopy enable_xcopy install,po
17414 wine_fn_config_test programs/xcopy/tests xcopy.exe_test
17415 wine_fn_config_makefile server enable_server clean,install-lib,manpage
17416 wine_fn_config_tool tools clean,install-dev,install-lib,manpage
17417 wine_fn_config_tool tools/sfnt2fon clean
17418 wine_fn_config_tool tools/widl clean,install-dev,manpage
17419 wine_fn_config_tool tools/winebuild clean,install-dev,manpage
17420 wine_fn_config_tool tools/winedump clean,install-dev,manpage
17421 wine_fn_config_tool tools/winegcc clean,install-dev,manpage
17422 wine_fn_config_tool tools/wmc clean,install-dev,manpage
17423 wine_fn_config_tool tools/wrc clean,install-dev,manpage
17425 LINGUAS="\
17426 ar \
17427 bg \
17428 ca \
17429 cs \
17430 da \
17431 de \
17432 el \
17433 en \
17434 en_US \
17435 eo \
17436 es \
17437 fa \
17438 fi \
17439 fr \
17440 he \
17441 hi \
17442 hr \
17443 hu \
17444 it \
17445 ja \
17446 ko \
17447 lt \
17448 ml \
17449 nb_NO \
17450 nl \
17451 or \
17452 pa \
17453 pl \
17454 pt_BR \
17455 pt_PT \
17456 rm \
17457 ro \
17458 ru \
17459 sk \
17460 sl \
17461 sr_RS@cyrillic \
17462 sr_RS@latin \
17463 sv \
17464 te \
17465 th \
17466 tr \
17467 uk \
17468 wa \
17469 zh_CN \
17470 zh_TW"
17475 wine_fn_ignore_file ".gitignore"
17476 wine_fn_ignore_file "Makefile"
17477 wine_fn_ignore_file "TAGS"
17478 wine_fn_ignore_file "tags"
17479 wine_fn_ignore_file "autom4te.cache"
17480 wine_fn_ignore_file "config.cache"
17481 wine_fn_ignore_file "config.log"
17482 wine_fn_ignore_file "config.status"
17483 wine_fn_ignore_file "configure.lineno"
17484 wine_fn_ignore_file "include/config.h"
17485 wine_fn_ignore_file "include/stamp-h"
17486 test "$wine_binary" = wine || wine_fn_ignore_file "loader/wine"
17488 if test "x$enable_tools" != xno
17489 then
17490 wine_fn_ignore_file "tools/makedep$ac_exeext"
17491 ac_config_commands="$ac_config_commands tools/makedep"
17495 ac_config_commands="$ac_config_commands Makefile"
17498 ac_config_files="$ac_config_files Make.tmp:Make.vars.in:Makefile.in"
17502 if test "x$enable_maintainer_mode" = xyes
17503 then
17504 wine_fn_append_rule "configure: configure.ac aclocal.m4
17505 autoconf --warnings=all
17506 include/config.h.in: include/stamp-h.in
17507 include/stamp-h.in: configure.ac aclocal.m4
17508 autoheader --warnings=all
17509 @echo timestamp > \$@"
17512 if test "x$with_gettextpo" = xyes
17513 then
17514 test "$srcdir" = . || as_fn_error $? "Rebuilding po files is not supported for out of tree builds." "$LINENO" 5
17515 wine_fn_append_rule "ALL_POT_FILES =$ALL_POT_FILES
17516 \$(LINGUAS:%=po/%.po): po/wine.pot
17517 msgmerge --previous -q \$@ po/wine.pot | msgattrib --no-obsolete -o \$@.new && mv \$@.new \$@
17518 po/wine.pot: \$(ALL_POT_FILES)
17519 msgcat -o \$@ \$(ALL_POT_FILES)"
17522 if test "$MSGFMT" != false
17523 then
17524 wine_fn_append_rule "__builddeps__: \$(LINGUAS:%=po/%.mo)
17525 clean::
17526 \$(RM) \$(LINGUAS:%=po/%.mo)"
17528 posrc="po"
17529 test "$srcdir" = . || posrc="$srcdir/po"
17530 for i in $LINGUAS
17532 wine_fn_ignore_file "po/$i.mo"
17533 wine_fn_append_rule "po/$i.mo: $posrc/$i.po
17534 \$(MSGFMT) -o \$@ $posrc/$i.po"
17535 done
17536 else
17537 LINGUAS=
17540 if test "x$enable_tools" != xno
17541 then
17542 wine_fn_append_rule "tools/makedep$ac_exeext: $srcdir/tools/makedep.c include/config.h config.status
17543 @./config.status tools/makedep
17544 Makefile: tools/makedep$ac_exeext
17545 distclean:: clean
17546 \$(RM) tools/makedep$ac_exeext"
17547 else
17548 wine_fn_append_rule "\$(MAKEDEP):
17549 @echo \"You need to run make in $TOOLSDIR first\" && false"
17552 if test -n "$with_wine64"
17553 then
17554 wine_fn_append_rule "all: fonts server tools $with_wine64/loader/wine $with_wine64/loader/wine-preloader
17555 fonts server tools:
17556 \$(RM) \$@ && \$(LN_S) $with_wine64/\$@ \$@
17557 $with_wine64/loader/wine:
17558 \$(RM) \$@ && \$(LN_S) $ac_pwd/loader/wine \$@
17559 $with_wine64/loader/wine-preloader:
17560 \$(RM) \$@ && \$(LN_S) $ac_pwd/loader/wine-preloader \$@
17561 clean::
17562 \$(RM) fonts server tools $with_wine64/loader/wine $with_wine64/loader/wine-preloader"
17563 else
17564 as_fn_append LOADER_RULES "
17565 all: wine.inf
17567 install install-lib:: wine.inf install-man-pages
17568 \$(INSTALL_DATA) wine.inf \$(DESTDIR)\$(datadir)/wine/wine.inf
17569 \$(INSTALL_DATA) \$(srcdir)/l_intl.nls \$(DESTDIR)\$(datadir)/wine/l_intl.nls
17571 uninstall::
17572 \$(RM) \$(DESTDIR)\$(datadir)/wine/wine.inf \$(DESTDIR)\$(datadir)/wine/l_intl.nls
17576 if test "$srcdir" = .
17577 then
17578 ac_config_commands="$ac_config_commands .gitignore"
17582 $as_echo " done" >&6
17583 cat >confcache <<\_ACEOF
17584 # This file is a shell script that caches the results of configure
17585 # tests run on this system so they can be shared between configure
17586 # scripts and configure runs, see configure's option --config-cache.
17587 # It is not useful on other systems. If it contains results you don't
17588 # want to keep, you may remove or edit it.
17590 # config.status only pays attention to the cache file if you give it
17591 # the --recheck option to rerun configure.
17593 # `ac_cv_env_foo' variables (set or unset) will be overridden when
17594 # loading this file, other *unset* `ac_cv_foo' will be assigned the
17595 # following values.
17597 _ACEOF
17599 # The following way of writing the cache mishandles newlines in values,
17600 # but we know of no workaround that is simple, portable, and efficient.
17601 # So, we kill variables containing newlines.
17602 # Ultrix sh set writes to stderr and can't be redirected directly,
17603 # and sets the high bit in the cache file unless we assign to the vars.
17605 for ac_var in `(set) 2>&1 | sed -n 's/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'`; do
17606 eval ac_val=\$$ac_var
17607 case $ac_val in #(
17608 *${as_nl}*)
17609 case $ac_var in #(
17610 *_cv_*) { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: cache variable $ac_var contains a newline" >&5
17611 $as_echo "$as_me: WARNING: cache variable $ac_var contains a newline" >&2;} ;;
17612 esac
17613 case $ac_var in #(
17614 _ | IFS | as_nl) ;; #(
17615 BASH_ARGV | BASH_SOURCE) eval $ac_var= ;; #(
17616 *) { eval $ac_var=; unset $ac_var;} ;;
17617 esac ;;
17618 esac
17619 done
17621 (set) 2>&1 |
17622 case $as_nl`(ac_space=' '; set) 2>&1` in #(
17623 *${as_nl}ac_space=\ *)
17624 # `set' does not quote correctly, so add quotes: double-quote
17625 # substitution turns \\\\ into \\, and sed turns \\ into \.
17626 sed -n \
17627 "s/'/'\\\\''/g;
17628 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\\2'/p"
17629 ;; #(
17631 # `set' quotes correctly as required by POSIX, so do not add quotes.
17632 sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
17634 esac |
17635 sort
17637 sed '
17638 /^ac_cv_env_/b end
17639 t clear
17640 :clear
17641 s/^\([^=]*\)=\(.*[{}].*\)$/test "${\1+set}" = set || &/
17642 t end
17643 s/^\([^=]*\)=\(.*\)$/\1=${\1=\2}/
17644 :end' >>confcache
17645 if diff "$cache_file" confcache >/dev/null 2>&1; then :; else
17646 if test -w "$cache_file"; then
17647 if test "x$cache_file" != "x/dev/null"; then
17648 { $as_echo "$as_me:${as_lineno-$LINENO}: updating cache $cache_file" >&5
17649 $as_echo "$as_me: updating cache $cache_file" >&6;}
17650 if test ! -f "$cache_file" || test -h "$cache_file"; then
17651 cat confcache >"$cache_file"
17652 else
17653 case $cache_file in #(
17654 */* | ?:*)
17655 mv -f confcache "$cache_file"$$ &&
17656 mv -f "$cache_file"$$ "$cache_file" ;; #(
17658 mv -f confcache "$cache_file" ;;
17659 esac
17662 else
17663 { $as_echo "$as_me:${as_lineno-$LINENO}: not updating unwritable cache $cache_file" >&5
17664 $as_echo "$as_me: not updating unwritable cache $cache_file" >&6;}
17667 rm -f confcache
17669 test "x$prefix" = xNONE && prefix=$ac_default_prefix
17670 # Let make expand exec_prefix.
17671 test "x$exec_prefix" = xNONE && exec_prefix='${prefix}'
17673 DEFS=-DHAVE_CONFIG_H
17675 ac_libobjs=
17676 ac_ltlibobjs=
17678 for ac_i in : $LIBOBJS; do test "x$ac_i" = x: && continue
17679 # 1. Remove the extension, and $U if already installed.
17680 ac_script='s/\$U\././;s/\.o$//;s/\.obj$//'
17681 ac_i=`$as_echo "$ac_i" | sed "$ac_script"`
17682 # 2. Prepend LIBOBJDIR. When used with automake>=1.10 LIBOBJDIR
17683 # will be set to the directory where LIBOBJS objects are built.
17684 as_fn_append ac_libobjs " \${LIBOBJDIR}$ac_i\$U.$ac_objext"
17685 as_fn_append ac_ltlibobjs " \${LIBOBJDIR}$ac_i"'$U.lo'
17686 done
17687 LIBOBJS=$ac_libobjs
17689 LTLIBOBJS=$ac_ltlibobjs
17693 : "${CONFIG_STATUS=./config.status}"
17694 ac_write_fail=0
17695 ac_clean_files_save=$ac_clean_files
17696 ac_clean_files="$ac_clean_files $CONFIG_STATUS"
17697 { $as_echo "$as_me:${as_lineno-$LINENO}: creating $CONFIG_STATUS" >&5
17698 $as_echo "$as_me: creating $CONFIG_STATUS" >&6;}
17699 as_write_fail=0
17700 cat >$CONFIG_STATUS <<_ASEOF || as_write_fail=1
17701 #! $SHELL
17702 # Generated by $as_me.
17703 # Run this file to recreate the current configuration.
17704 # Compiler output produced by configure, useful for debugging
17705 # configure, is in config.log if it exists.
17707 debug=false
17708 ac_cs_recheck=false
17709 ac_cs_silent=false
17711 SHELL=\${CONFIG_SHELL-$SHELL}
17712 export SHELL
17713 _ASEOF
17714 cat >>$CONFIG_STATUS <<\_ASEOF || as_write_fail=1
17715 ## -------------------- ##
17716 ## M4sh Initialization. ##
17717 ## -------------------- ##
17719 # Be more Bourne compatible
17720 DUALCASE=1; export DUALCASE # for MKS sh
17721 if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then :
17722 emulate sh
17723 NULLCMD=:
17724 # Pre-4.2 versions of Zsh do word splitting on ${1+"$@"}, which
17725 # is contrary to our usage. Disable this feature.
17726 alias -g '${1+"$@"}'='"$@"'
17727 setopt NO_GLOB_SUBST
17728 else
17729 case `(set -o) 2>/dev/null` in #(
17730 *posix*) :
17731 set -o posix ;; #(
17732 *) :
17734 esac
17738 as_nl='
17740 export as_nl
17741 # Printing a long string crashes Solaris 7 /usr/bin/printf.
17742 as_echo='\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\'
17743 as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo
17744 as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo$as_echo
17745 # Prefer a ksh shell builtin over an external printf program on Solaris,
17746 # but without wasting forks for bash or zsh.
17747 if test -z "$BASH_VERSION$ZSH_VERSION" \
17748 && (test "X`print -r -- $as_echo`" = "X$as_echo") 2>/dev/null; then
17749 as_echo='print -r --'
17750 as_echo_n='print -rn --'
17751 elif (test "X`printf %s $as_echo`" = "X$as_echo") 2>/dev/null; then
17752 as_echo='printf %s\n'
17753 as_echo_n='printf %s'
17754 else
17755 if test "X`(/usr/ucb/echo -n -n $as_echo) 2>/dev/null`" = "X-n $as_echo"; then
17756 as_echo_body='eval /usr/ucb/echo -n "$1$as_nl"'
17757 as_echo_n='/usr/ucb/echo -n'
17758 else
17759 as_echo_body='eval expr "X$1" : "X\\(.*\\)"'
17760 as_echo_n_body='eval
17761 arg=$1;
17762 case $arg in #(
17763 *"$as_nl"*)
17764 expr "X$arg" : "X\\(.*\\)$as_nl";
17765 arg=`expr "X$arg" : ".*$as_nl\\(.*\\)"`;;
17766 esac;
17767 expr "X$arg" : "X\\(.*\\)" | tr -d "$as_nl"
17769 export as_echo_n_body
17770 as_echo_n='sh -c $as_echo_n_body as_echo'
17772 export as_echo_body
17773 as_echo='sh -c $as_echo_body as_echo'
17776 # The user is always right.
17777 if test "${PATH_SEPARATOR+set}" != set; then
17778 PATH_SEPARATOR=:
17779 (PATH='/bin;/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 && {
17780 (PATH='/bin:/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 ||
17781 PATH_SEPARATOR=';'
17786 # IFS
17787 # We need space, tab and new line, in precisely that order. Quoting is
17788 # there to prevent editors from complaining about space-tab.
17789 # (If _AS_PATH_WALK were called with IFS unset, it would disable word
17790 # splitting by setting IFS to empty value.)
17791 IFS=" "" $as_nl"
17793 # Find who we are. Look in the path if we contain no directory separator.
17794 as_myself=
17795 case $0 in #((
17796 *[\\/]* ) as_myself=$0 ;;
17797 *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
17798 for as_dir in $PATH
17800 IFS=$as_save_IFS
17801 test -z "$as_dir" && as_dir=.
17802 test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break
17803 done
17804 IFS=$as_save_IFS
17807 esac
17808 # We did not find ourselves, most probably we were run as `sh COMMAND'
17809 # in which case we are not to be found in the path.
17810 if test "x$as_myself" = x; then
17811 as_myself=$0
17813 if test ! -f "$as_myself"; then
17814 $as_echo "$as_myself: error: cannot find myself; rerun with an absolute file name" >&2
17815 exit 1
17818 # Unset variables that we do not need and which cause bugs (e.g. in
17819 # pre-3.0 UWIN ksh). But do not cause bugs in bash 2.01; the "|| exit 1"
17820 # suppresses any "Segmentation fault" message there. '((' could
17821 # trigger a bug in pdksh 5.2.14.
17822 for as_var in BASH_ENV ENV MAIL MAILPATH
17823 do eval test x\${$as_var+set} = xset \
17824 && ( (unset $as_var) || exit 1) >/dev/null 2>&1 && unset $as_var || :
17825 done
17826 PS1='$ '
17827 PS2='> '
17828 PS4='+ '
17830 # NLS nuisances.
17831 LC_ALL=C
17832 export LC_ALL
17833 LANGUAGE=C
17834 export LANGUAGE
17836 # CDPATH.
17837 (unset CDPATH) >/dev/null 2>&1 && unset CDPATH
17840 # as_fn_error STATUS ERROR [LINENO LOG_FD]
17841 # ----------------------------------------
17842 # Output "`basename $0`: error: ERROR" to stderr. If LINENO and LOG_FD are
17843 # provided, also output the error to LOG_FD, referencing LINENO. Then exit the
17844 # script with STATUS, using 1 if that was 0.
17845 as_fn_error ()
17847 as_status=$1; test $as_status -eq 0 && as_status=1
17848 if test "$4"; then
17849 as_lineno=${as_lineno-"$3"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
17850 $as_echo "$as_me:${as_lineno-$LINENO}: error: $2" >&$4
17852 $as_echo "$as_me: error: $2" >&2
17853 as_fn_exit $as_status
17854 } # as_fn_error
17857 # as_fn_set_status STATUS
17858 # -----------------------
17859 # Set $? to STATUS, without forking.
17860 as_fn_set_status ()
17862 return $1
17863 } # as_fn_set_status
17865 # as_fn_exit STATUS
17866 # -----------------
17867 # Exit the shell with STATUS, even in a "trap 0" or "set -e" context.
17868 as_fn_exit ()
17870 set +e
17871 as_fn_set_status $1
17872 exit $1
17873 } # as_fn_exit
17875 # as_fn_unset VAR
17876 # ---------------
17877 # Portably unset VAR.
17878 as_fn_unset ()
17880 { eval $1=; unset $1;}
17882 as_unset=as_fn_unset
17883 # as_fn_append VAR VALUE
17884 # ----------------------
17885 # Append the text in VALUE to the end of the definition contained in VAR. Take
17886 # advantage of any shell optimizations that allow amortized linear growth over
17887 # repeated appends, instead of the typical quadratic growth present in naive
17888 # implementations.
17889 if (eval "as_var=1; as_var+=2; test x\$as_var = x12") 2>/dev/null; then :
17890 eval 'as_fn_append ()
17892 eval $1+=\$2
17894 else
17895 as_fn_append ()
17897 eval $1=\$$1\$2
17899 fi # as_fn_append
17901 # as_fn_arith ARG...
17902 # ------------------
17903 # Perform arithmetic evaluation on the ARGs, and store the result in the
17904 # global $as_val. Take advantage of shells that can avoid forks. The arguments
17905 # must be portable across $(()) and expr.
17906 if (eval "test \$(( 1 + 1 )) = 2") 2>/dev/null; then :
17907 eval 'as_fn_arith ()
17909 as_val=$(( $* ))
17911 else
17912 as_fn_arith ()
17914 as_val=`expr "$@" || test $? -eq 1`
17916 fi # as_fn_arith
17919 if expr a : '\(a\)' >/dev/null 2>&1 &&
17920 test "X`expr 00001 : '.*\(...\)'`" = X001; then
17921 as_expr=expr
17922 else
17923 as_expr=false
17926 if (basename -- /) >/dev/null 2>&1 && test "X`basename -- / 2>&1`" = "X/"; then
17927 as_basename=basename
17928 else
17929 as_basename=false
17932 if (as_dir=`dirname -- /` && test "X$as_dir" = X/) >/dev/null 2>&1; then
17933 as_dirname=dirname
17934 else
17935 as_dirname=false
17938 as_me=`$as_basename -- "$0" ||
17939 $as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
17940 X"$0" : 'X\(//\)$' \| \
17941 X"$0" : 'X\(/\)' \| . 2>/dev/null ||
17942 $as_echo X/"$0" |
17943 sed '/^.*\/\([^/][^/]*\)\/*$/{
17944 s//\1/
17947 /^X\/\(\/\/\)$/{
17948 s//\1/
17951 /^X\/\(\/\).*/{
17952 s//\1/
17955 s/.*/./; q'`
17957 # Avoid depending upon Character Ranges.
17958 as_cr_letters='abcdefghijklmnopqrstuvwxyz'
17959 as_cr_LETTERS='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
17960 as_cr_Letters=$as_cr_letters$as_cr_LETTERS
17961 as_cr_digits='0123456789'
17962 as_cr_alnum=$as_cr_Letters$as_cr_digits
17964 ECHO_C= ECHO_N= ECHO_T=
17965 case `echo -n x` in #(((((
17966 -n*)
17967 case `echo 'xy\c'` in
17968 *c*) ECHO_T=' ';; # ECHO_T is single tab character.
17969 xy) ECHO_C='\c';;
17970 *) echo `echo ksh88 bug on AIX 6.1` > /dev/null
17971 ECHO_T=' ';;
17972 esac;;
17974 ECHO_N='-n';;
17975 esac
17977 rm -f conf$$ conf$$.exe conf$$.file
17978 if test -d conf$$.dir; then
17979 rm -f conf$$.dir/conf$$.file
17980 else
17981 rm -f conf$$.dir
17982 mkdir conf$$.dir 2>/dev/null
17984 if (echo >conf$$.file) 2>/dev/null; then
17985 if ln -s conf$$.file conf$$ 2>/dev/null; then
17986 as_ln_s='ln -s'
17987 # ... but there are two gotchas:
17988 # 1) On MSYS, both `ln -s file dir' and `ln file dir' fail.
17989 # 2) DJGPP < 2.04 has no symlinks; `ln -s' creates a wrapper executable.
17990 # In both cases, we have to default to `cp -pR'.
17991 ln -s conf$$.file conf$$.dir 2>/dev/null && test ! -f conf$$.exe ||
17992 as_ln_s='cp -pR'
17993 elif ln conf$$.file conf$$ 2>/dev/null; then
17994 as_ln_s=ln
17995 else
17996 as_ln_s='cp -pR'
17998 else
17999 as_ln_s='cp -pR'
18001 rm -f conf$$ conf$$.exe conf$$.dir/conf$$.file conf$$.file
18002 rmdir conf$$.dir 2>/dev/null
18005 # as_fn_mkdir_p
18006 # -------------
18007 # Create "$as_dir" as a directory, including parents if necessary.
18008 as_fn_mkdir_p ()
18011 case $as_dir in #(
18012 -*) as_dir=./$as_dir;;
18013 esac
18014 test -d "$as_dir" || eval $as_mkdir_p || {
18015 as_dirs=
18016 while :; do
18017 case $as_dir in #(
18018 *\'*) as_qdir=`$as_echo "$as_dir" | sed "s/'/'\\\\\\\\''/g"`;; #'(
18019 *) as_qdir=$as_dir;;
18020 esac
18021 as_dirs="'$as_qdir' $as_dirs"
18022 as_dir=`$as_dirname -- "$as_dir" ||
18023 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
18024 X"$as_dir" : 'X\(//\)[^/]' \| \
18025 X"$as_dir" : 'X\(//\)$' \| \
18026 X"$as_dir" : 'X\(/\)' \| . 2>/dev/null ||
18027 $as_echo X"$as_dir" |
18028 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
18029 s//\1/
18032 /^X\(\/\/\)[^/].*/{
18033 s//\1/
18036 /^X\(\/\/\)$/{
18037 s//\1/
18040 /^X\(\/\).*/{
18041 s//\1/
18044 s/.*/./; q'`
18045 test -d "$as_dir" && break
18046 done
18047 test -z "$as_dirs" || eval "mkdir $as_dirs"
18048 } || test -d "$as_dir" || as_fn_error $? "cannot create directory $as_dir"
18051 } # as_fn_mkdir_p
18052 if mkdir -p . 2>/dev/null; then
18053 as_mkdir_p='mkdir -p "$as_dir"'
18054 else
18055 test -d ./-p && rmdir ./-p
18056 as_mkdir_p=false
18060 # as_fn_executable_p FILE
18061 # -----------------------
18062 # Test if FILE is an executable regular file.
18063 as_fn_executable_p ()
18065 test -f "$1" && test -x "$1"
18066 } # as_fn_executable_p
18067 as_test_x='test -x'
18068 as_executable_p=as_fn_executable_p
18070 # Sed expression to map a string onto a valid CPP name.
18071 as_tr_cpp="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'"
18073 # Sed expression to map a string onto a valid variable name.
18074 as_tr_sh="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'"
18077 exec 6>&1
18078 ## ----------------------------------- ##
18079 ## Main body of $CONFIG_STATUS script. ##
18080 ## ----------------------------------- ##
18081 _ASEOF
18082 test $as_write_fail = 0 && chmod +x $CONFIG_STATUS || ac_write_fail=1
18084 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
18085 # Save the log message, to keep $0 and so on meaningful, and to
18086 # report actual input values of CONFIG_FILES etc. instead of their
18087 # values after options handling.
18088 ac_log="
18089 This file was extended by Wine $as_me 1.7.20, which was
18090 generated by GNU Autoconf 2.69. Invocation command line was
18092 CONFIG_FILES = $CONFIG_FILES
18093 CONFIG_HEADERS = $CONFIG_HEADERS
18094 CONFIG_LINKS = $CONFIG_LINKS
18095 CONFIG_COMMANDS = $CONFIG_COMMANDS
18096 $ $0 $@
18098 on `(hostname || uname -n) 2>/dev/null | sed 1q`
18101 _ACEOF
18103 case $ac_config_files in *"
18104 "*) set x $ac_config_files; shift; ac_config_files=$*;;
18105 esac
18107 case $ac_config_headers in *"
18108 "*) set x $ac_config_headers; shift; ac_config_headers=$*;;
18109 esac
18112 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
18113 # Files that config.status was made for.
18114 config_files="$ac_config_files"
18115 config_headers="$ac_config_headers"
18116 config_links="$ac_config_links"
18117 config_commands="$ac_config_commands"
18119 _ACEOF
18121 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
18122 ac_cs_usage="\
18123 \`$as_me' instantiates files and other configuration actions
18124 from templates according to the current configuration. Unless the files
18125 and actions are specified as TAGs, all are instantiated by default.
18127 Usage: $0 [OPTION]... [TAG]...
18129 -h, --help print this help, then exit
18130 -V, --version print version number and configuration settings, then exit
18131 --config print configuration, then exit
18132 -q, --quiet, --silent
18133 do not print progress messages
18134 -d, --debug don't remove temporary files
18135 --recheck update $as_me by reconfiguring in the same conditions
18136 --file=FILE[:TEMPLATE]
18137 instantiate the configuration file FILE
18138 --header=FILE[:TEMPLATE]
18139 instantiate the configuration header FILE
18141 Configuration files:
18142 $config_files
18144 Configuration headers:
18145 $config_headers
18147 Configuration links:
18148 $config_links
18150 Configuration commands:
18151 $config_commands
18153 Report bugs to <wine-devel@winehq.org>.
18154 Wine home page: <http://www.winehq.org>."
18156 _ACEOF
18157 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
18158 ac_cs_config="`$as_echo "$ac_configure_args" | sed 's/^ //; s/[\\""\`\$]/\\\\&/g'`"
18159 ac_cs_version="\\
18160 Wine config.status 1.7.20
18161 configured by $0, generated by GNU Autoconf 2.69,
18162 with options \\"\$ac_cs_config\\"
18164 Copyright (C) 2012 Free Software Foundation, Inc.
18165 This config.status script is free software; the Free Software Foundation
18166 gives unlimited permission to copy, distribute and modify it."
18168 ac_pwd='$ac_pwd'
18169 srcdir='$srcdir'
18170 test -n "\$AWK" || AWK=awk
18171 _ACEOF
18173 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
18174 # The default lists apply if the user does not specify any file.
18175 ac_need_defaults=:
18176 while test $# != 0
18178 case $1 in
18179 --*=?*)
18180 ac_option=`expr "X$1" : 'X\([^=]*\)='`
18181 ac_optarg=`expr "X$1" : 'X[^=]*=\(.*\)'`
18182 ac_shift=:
18184 --*=)
18185 ac_option=`expr "X$1" : 'X\([^=]*\)='`
18186 ac_optarg=
18187 ac_shift=:
18190 ac_option=$1
18191 ac_optarg=$2
18192 ac_shift=shift
18194 esac
18196 case $ac_option in
18197 # Handling of the options.
18198 -recheck | --recheck | --rechec | --reche | --rech | --rec | --re | --r)
18199 ac_cs_recheck=: ;;
18200 --version | --versio | --versi | --vers | --ver | --ve | --v | -V )
18201 $as_echo "$ac_cs_version"; exit ;;
18202 --config | --confi | --conf | --con | --co | --c )
18203 $as_echo "$ac_cs_config"; exit ;;
18204 --debug | --debu | --deb | --de | --d | -d )
18205 debug=: ;;
18206 --file | --fil | --fi | --f )
18207 $ac_shift
18208 case $ac_optarg in
18209 *\'*) ac_optarg=`$as_echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"` ;;
18210 '') as_fn_error $? "missing file argument" ;;
18211 esac
18212 as_fn_append CONFIG_FILES " '$ac_optarg'"
18213 ac_need_defaults=false;;
18214 --header | --heade | --head | --hea )
18215 $ac_shift
18216 case $ac_optarg in
18217 *\'*) ac_optarg=`$as_echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"` ;;
18218 esac
18219 as_fn_append CONFIG_HEADERS " '$ac_optarg'"
18220 ac_need_defaults=false;;
18221 --he | --h)
18222 # Conflict between --help and --header
18223 as_fn_error $? "ambiguous option: \`$1'
18224 Try \`$0 --help' for more information.";;
18225 --help | --hel | -h )
18226 $as_echo "$ac_cs_usage"; exit ;;
18227 -q | -quiet | --quiet | --quie | --qui | --qu | --q \
18228 | -silent | --silent | --silen | --sile | --sil | --si | --s)
18229 ac_cs_silent=: ;;
18231 # This is an error.
18232 -*) as_fn_error $? "unrecognized option: \`$1'
18233 Try \`$0 --help' for more information." ;;
18235 *) as_fn_append ac_config_targets " $1"
18236 ac_need_defaults=false ;;
18238 esac
18239 shift
18240 done
18242 ac_configure_extra_args=
18244 if $ac_cs_silent; then
18245 exec 6>/dev/null
18246 ac_configure_extra_args="$ac_configure_extra_args --silent"
18249 _ACEOF
18250 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
18251 if \$ac_cs_recheck; then
18252 set X $SHELL '$0' $ac_configure_args \$ac_configure_extra_args --no-create --no-recursion
18253 shift
18254 \$as_echo "running CONFIG_SHELL=$SHELL \$*" >&6
18255 CONFIG_SHELL='$SHELL'
18256 export CONFIG_SHELL
18257 exec "\$@"
18260 _ACEOF
18261 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
18262 exec 5>>config.log
18264 echo
18265 sed 'h;s/./-/g;s/^.../## /;s/...$/ ##/;p;x;p;x' <<_ASBOX
18266 ## Running $as_me. ##
18267 _ASBOX
18268 $as_echo "$ac_log"
18269 } >&5
18271 _ACEOF
18272 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
18274 # INIT-COMMANDS
18276 wine_fn_output_makedep ()
18278 as_dir=tools; as_fn_mkdir_p
18279 $CC -Iinclude -I$srcdir/include -D__WINESRC__ $EXTRACFLAGS $CPPFLAGS $CFLAGS -o tools/makedep$ac_exeext $srcdir/tools/makedep.c $LDFLAGS
18281 wine_fn_output_makefile ()
18283 cat Make.tmp - <<\_WINE_EOF >\$tmp/makefile && mv -f \$tmp/makefile \$1 && rm -f Make.tmp && "$wine_makedep" . && return
18284 `cat $wine_rules_file`
18285 _WINE_EOF
18286 as_fn_error $? "could not create Makefile" "$LINENO" 5
18288 wine_fn_output_gitignore ()
18290 sort <<\_WINE_EOF >\$tmp/gitignore && mv -f \$tmp/gitignore \$1 && return
18291 $GITIGNORE
18292 _WINE_EOF
18293 as_fn_error $? "could not create .gitignore" "$LINENO" 5
18296 _ACEOF
18298 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
18300 # Handling of arguments.
18301 for ac_config_target in $ac_config_targets
18303 case $ac_config_target in
18304 "include/config.h") CONFIG_HEADERS="$CONFIG_HEADERS include/config.h" ;;
18305 "include/stamp-h") CONFIG_COMMANDS="$CONFIG_COMMANDS include/stamp-h" ;;
18306 "fonts/marlett.ttf") CONFIG_LINKS="$CONFIG_LINKS fonts/marlett.ttf:fonts/marlett.ttf" ;;
18307 "fonts/symbol.ttf") CONFIG_LINKS="$CONFIG_LINKS fonts/symbol.ttf:fonts/symbol.ttf" ;;
18308 "fonts/tahoma.ttf") CONFIG_LINKS="$CONFIG_LINKS fonts/tahoma.ttf:fonts/tahoma.ttf" ;;
18309 "fonts/tahomabd.ttf") CONFIG_LINKS="$CONFIG_LINKS fonts/tahomabd.ttf:fonts/tahomabd.ttf" ;;
18310 "loader/l_intl.nls") CONFIG_LINKS="$CONFIG_LINKS loader/l_intl.nls:loader/l_intl.nls" ;;
18311 "po/LINGUAS") CONFIG_LINKS="$CONFIG_LINKS po/LINGUAS:po/LINGUAS" ;;
18312 "wine") CONFIG_LINKS="$CONFIG_LINKS wine:tools/winewrapper" ;;
18313 "wine64") CONFIG_LINKS="$CONFIG_LINKS wine64:tools/winewrapper" ;;
18314 "tools/makedep") CONFIG_COMMANDS="$CONFIG_COMMANDS tools/makedep" ;;
18315 "Makefile") CONFIG_COMMANDS="$CONFIG_COMMANDS Makefile" ;;
18316 "Make.tmp") CONFIG_FILES="$CONFIG_FILES Make.tmp:Make.vars.in:Makefile.in" ;;
18317 ".gitignore") CONFIG_COMMANDS="$CONFIG_COMMANDS .gitignore" ;;
18319 *) as_fn_error $? "invalid argument: \`$ac_config_target'" "$LINENO" 5;;
18320 esac
18321 done
18324 # If the user did not use the arguments to specify the items to instantiate,
18325 # then the envvar interface is used. Set only those that are not.
18326 # We use the long form for the default assignment because of an extremely
18327 # bizarre bug on SunOS 4.1.3.
18328 if $ac_need_defaults; then
18329 test "${CONFIG_FILES+set}" = set || CONFIG_FILES=$config_files
18330 test "${CONFIG_HEADERS+set}" = set || CONFIG_HEADERS=$config_headers
18331 test "${CONFIG_LINKS+set}" = set || CONFIG_LINKS=$config_links
18332 test "${CONFIG_COMMANDS+set}" = set || CONFIG_COMMANDS=$config_commands
18335 # Have a temporary directory for convenience. Make it in the build tree
18336 # simply because there is no reason against having it here, and in addition,
18337 # creating and moving files from /tmp can sometimes cause problems.
18338 # Hook for its removal unless debugging.
18339 # Note that there is a small window in which the directory will not be cleaned:
18340 # after its creation but before its name has been assigned to `$tmp'.
18341 $debug ||
18343 tmp= ac_tmp=
18344 trap 'exit_status=$?
18345 : "${ac_tmp:=$tmp}"
18346 { test ! -d "$ac_tmp" || rm -fr "$ac_tmp"; } && exit $exit_status
18348 trap 'as_fn_exit 1' 1 2 13 15
18350 # Create a (secure) tmp directory for tmp files.
18353 tmp=`(umask 077 && mktemp -d "./confXXXXXX") 2>/dev/null` &&
18354 test -d "$tmp"
18355 } ||
18357 tmp=./conf$$-$RANDOM
18358 (umask 077 && mkdir "$tmp")
18359 } || as_fn_error $? "cannot create a temporary directory in ." "$LINENO" 5
18360 ac_tmp=$tmp
18362 # Set up the scripts for CONFIG_FILES section.
18363 # No need to generate them if there are no CONFIG_FILES.
18364 # This happens for instance with `./config.status config.h'.
18365 if test -n "$CONFIG_FILES"; then
18368 ac_cr=`echo X | tr X '\015'`
18369 # On cygwin, bash can eat \r inside `` if the user requested igncr.
18370 # But we know of no other shell where ac_cr would be empty at this
18371 # point, so we can use a bashism as a fallback.
18372 if test "x$ac_cr" = x; then
18373 eval ac_cr=\$\'\\r\'
18375 ac_cs_awk_cr=`$AWK 'BEGIN { print "a\rb" }' </dev/null 2>/dev/null`
18376 if test "$ac_cs_awk_cr" = "a${ac_cr}b"; then
18377 ac_cs_awk_cr='\\r'
18378 else
18379 ac_cs_awk_cr=$ac_cr
18382 echo 'BEGIN {' >"$ac_tmp/subs1.awk" &&
18383 _ACEOF
18387 echo "cat >conf$$subs.awk <<_ACEOF" &&
18388 echo "$ac_subst_vars" | sed 's/.*/&!$&$ac_delim/' &&
18389 echo "_ACEOF"
18390 } >conf$$subs.sh ||
18391 as_fn_error $? "could not make $CONFIG_STATUS" "$LINENO" 5
18392 ac_delim_num=`echo "$ac_subst_vars" | grep -c '^'`
18393 ac_delim='%!_!# '
18394 for ac_last_try in false false false false false :; do
18395 . ./conf$$subs.sh ||
18396 as_fn_error $? "could not make $CONFIG_STATUS" "$LINENO" 5
18398 ac_delim_n=`sed -n "s/.*$ac_delim\$/X/p" conf$$subs.awk | grep -c X`
18399 if test $ac_delim_n = $ac_delim_num; then
18400 break
18401 elif $ac_last_try; then
18402 as_fn_error $? "could not make $CONFIG_STATUS" "$LINENO" 5
18403 else
18404 ac_delim="$ac_delim!$ac_delim _$ac_delim!! "
18406 done
18407 rm -f conf$$subs.sh
18409 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
18410 cat >>"\$ac_tmp/subs1.awk" <<\\_ACAWK &&
18411 _ACEOF
18412 sed -n '
18414 s/^/S["/; s/!.*/"]=/
18417 s/^[^!]*!//
18418 :repl
18419 t repl
18420 s/'"$ac_delim"'$//
18421 t delim
18424 s/\(.\{148\}\)..*/\1/
18425 t more1
18426 s/["\\]/\\&/g; s/^/"/; s/$/\\n"\\/
18429 b repl
18430 :more1
18431 s/["\\]/\\&/g; s/^/"/; s/$/"\\/
18434 s/.\{148\}//
18435 t nl
18436 :delim
18438 s/\(.\{148\}\)..*/\1/
18439 t more2
18440 s/["\\]/\\&/g; s/^/"/; s/$/"/
18443 :more2
18444 s/["\\]/\\&/g; s/^/"/; s/$/"\\/
18447 s/.\{148\}//
18448 t delim
18449 ' <conf$$subs.awk | sed '
18450 /^[^""]/{
18452 s/\n//
18454 ' >>$CONFIG_STATUS || ac_write_fail=1
18455 rm -f conf$$subs.awk
18456 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
18457 _ACAWK
18458 cat >>"\$ac_tmp/subs1.awk" <<_ACAWK &&
18459 for (key in S) S_is_set[key] = 1
18460 FS = "\a"
18464 line = $ 0
18465 nfields = split(line, field, "@")
18466 substed = 0
18467 len = length(field[1])
18468 for (i = 2; i < nfields; i++) {
18469 key = field[i]
18470 keylen = length(key)
18471 if (S_is_set[key]) {
18472 value = S[key]
18473 line = substr(line, 1, len) "" value "" substr(line, len + keylen + 3)
18474 len += length(value) + length(field[++i])
18475 substed = 1
18476 } else
18477 len += 1 + keylen
18480 print line
18483 _ACAWK
18484 _ACEOF
18485 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
18486 if sed "s/$ac_cr//" < /dev/null > /dev/null 2>&1; then
18487 sed "s/$ac_cr\$//; s/$ac_cr/$ac_cs_awk_cr/g"
18488 else
18490 fi < "$ac_tmp/subs1.awk" > "$ac_tmp/subs.awk" \
18491 || as_fn_error $? "could not setup config files machinery" "$LINENO" 5
18492 _ACEOF
18494 # VPATH may cause trouble with some makes, so we remove sole $(srcdir),
18495 # ${srcdir} and @srcdir@ entries from VPATH if srcdir is ".", strip leading and
18496 # trailing colons and then remove the whole line if VPATH becomes empty
18497 # (actually we leave an empty line to preserve line numbers).
18498 if test "x$srcdir" = x.; then
18499 ac_vpsub='/^[ ]*VPATH[ ]*=[ ]*/{
18501 s///
18502 s/^/:/
18503 s/[ ]*$/:/
18504 s/:\$(srcdir):/:/g
18505 s/:\${srcdir}:/:/g
18506 s/:@srcdir@:/:/g
18507 s/^:*//
18508 s/:*$//
18510 s/\(=[ ]*\).*/\1/
18512 s/\n//
18513 s/^[^=]*=[ ]*$//
18517 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
18518 fi # test -n "$CONFIG_FILES"
18520 # Set up the scripts for CONFIG_HEADERS section.
18521 # No need to generate them if there are no CONFIG_HEADERS.
18522 # This happens for instance with `./config.status Makefile'.
18523 if test -n "$CONFIG_HEADERS"; then
18524 cat >"$ac_tmp/defines.awk" <<\_ACAWK ||
18525 BEGIN {
18526 _ACEOF
18528 # Transform confdefs.h into an awk script `defines.awk', embedded as
18529 # here-document in config.status, that substitutes the proper values into
18530 # config.h.in to produce config.h.
18532 # Create a delimiter string that does not exist in confdefs.h, to ease
18533 # handling of long lines.
18534 ac_delim='%!_!# '
18535 for ac_last_try in false false :; do
18536 ac_tt=`sed -n "/$ac_delim/p" confdefs.h`
18537 if test -z "$ac_tt"; then
18538 break
18539 elif $ac_last_try; then
18540 as_fn_error $? "could not make $CONFIG_HEADERS" "$LINENO" 5
18541 else
18542 ac_delim="$ac_delim!$ac_delim _$ac_delim!! "
18544 done
18546 # For the awk script, D is an array of macro values keyed by name,
18547 # likewise P contains macro parameters if any. Preserve backslash
18548 # newline sequences.
18550 ac_word_re=[_$as_cr_Letters][_$as_cr_alnum]*
18551 sed -n '
18552 s/.\{148\}/&'"$ac_delim"'/g
18553 t rset
18554 :rset
18555 s/^[ ]*#[ ]*define[ ][ ]*/ /
18556 t def
18558 :def
18559 s/\\$//
18560 t bsnl
18561 s/["\\]/\\&/g
18562 s/^ \('"$ac_word_re"'\)\(([^()]*)\)[ ]*\(.*\)/P["\1"]="\2"\
18563 D["\1"]=" \3"/p
18564 s/^ \('"$ac_word_re"'\)[ ]*\(.*\)/D["\1"]=" \2"/p
18566 :bsnl
18567 s/["\\]/\\&/g
18568 s/^ \('"$ac_word_re"'\)\(([^()]*)\)[ ]*\(.*\)/P["\1"]="\2"\
18569 D["\1"]=" \3\\\\\\n"\\/p
18570 t cont
18571 s/^ \('"$ac_word_re"'\)[ ]*\(.*\)/D["\1"]=" \2\\\\\\n"\\/p
18572 t cont
18574 :cont
18576 s/.\{148\}/&'"$ac_delim"'/g
18577 t clear
18578 :clear
18579 s/\\$//
18580 t bsnlc
18581 s/["\\]/\\&/g; s/^/"/; s/$/"/p
18583 :bsnlc
18584 s/["\\]/\\&/g; s/^/"/; s/$/\\\\\\n"\\/p
18585 b cont
18586 ' <confdefs.h | sed '
18587 s/'"$ac_delim"'/"\\\
18588 "/g' >>$CONFIG_STATUS || ac_write_fail=1
18590 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
18591 for (key in D) D_is_set[key] = 1
18592 FS = "\a"
18594 /^[\t ]*#[\t ]*(define|undef)[\t ]+$ac_word_re([\t (]|\$)/ {
18595 line = \$ 0
18596 split(line, arg, " ")
18597 if (arg[1] == "#") {
18598 defundef = arg[2]
18599 mac1 = arg[3]
18600 } else {
18601 defundef = substr(arg[1], 2)
18602 mac1 = arg[2]
18604 split(mac1, mac2, "(") #)
18605 macro = mac2[1]
18606 prefix = substr(line, 1, index(line, defundef) - 1)
18607 if (D_is_set[macro]) {
18608 # Preserve the white space surrounding the "#".
18609 print prefix "define", macro P[macro] D[macro]
18610 next
18611 } else {
18612 # Replace #undef with comments. This is necessary, for example,
18613 # in the case of _POSIX_SOURCE, which is predefined and required
18614 # on some systems where configure will not decide to define it.
18615 if (defundef == "undef") {
18616 print "/*", prefix defundef, macro, "*/"
18617 next
18621 { print }
18622 _ACAWK
18623 _ACEOF
18624 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
18625 as_fn_error $? "could not setup config headers machinery" "$LINENO" 5
18626 fi # test -n "$CONFIG_HEADERS"
18629 eval set X " :F $CONFIG_FILES :H $CONFIG_HEADERS :L $CONFIG_LINKS :C $CONFIG_COMMANDS"
18630 shift
18631 for ac_tag
18633 case $ac_tag in
18634 :[FHLC]) ac_mode=$ac_tag; continue;;
18635 esac
18636 case $ac_mode$ac_tag in
18637 :[FHL]*:*);;
18638 :L* | :C*:*) as_fn_error $? "invalid tag \`$ac_tag'" "$LINENO" 5;;
18639 :[FH]-) ac_tag=-:-;;
18640 :[FH]*) ac_tag=$ac_tag:$ac_tag.in;;
18641 esac
18642 ac_save_IFS=$IFS
18643 IFS=:
18644 set x $ac_tag
18645 IFS=$ac_save_IFS
18646 shift
18647 ac_file=$1
18648 shift
18650 case $ac_mode in
18651 :L) ac_source=$1;;
18652 :[FH])
18653 ac_file_inputs=
18654 for ac_f
18656 case $ac_f in
18657 -) ac_f="$ac_tmp/stdin";;
18658 *) # Look for the file first in the build tree, then in the source tree
18659 # (if the path is not absolute). The absolute path cannot be DOS-style,
18660 # because $ac_f cannot contain `:'.
18661 test -f "$ac_f" ||
18662 case $ac_f in
18663 [\\/$]*) false;;
18664 *) test -f "$srcdir/$ac_f" && ac_f="$srcdir/$ac_f";;
18665 esac ||
18666 as_fn_error 1 "cannot find input file: \`$ac_f'" "$LINENO" 5;;
18667 esac
18668 case $ac_f in *\'*) ac_f=`$as_echo "$ac_f" | sed "s/'/'\\\\\\\\''/g"`;; esac
18669 as_fn_append ac_file_inputs " '$ac_f'"
18670 done
18672 # Let's still pretend it is `configure' which instantiates (i.e., don't
18673 # use $as_me), people would be surprised to read:
18674 # /* config.h. Generated by config.status. */
18675 configure_input='Generated from '`
18676 $as_echo "$*" | sed 's|^[^:]*/||;s|:[^:]*/|, |g'
18677 `' by configure.'
18678 if test x"$ac_file" != x-; then
18679 configure_input="$ac_file. $configure_input"
18680 { $as_echo "$as_me:${as_lineno-$LINENO}: creating $ac_file" >&5
18681 $as_echo "$as_me: creating $ac_file" >&6;}
18683 # Neutralize special characters interpreted by sed in replacement strings.
18684 case $configure_input in #(
18685 *\&* | *\|* | *\\* )
18686 ac_sed_conf_input=`$as_echo "$configure_input" |
18687 sed 's/[\\\\&|]/\\\\&/g'`;; #(
18688 *) ac_sed_conf_input=$configure_input;;
18689 esac
18691 case $ac_tag in
18692 *:-:* | *:-) cat >"$ac_tmp/stdin" \
18693 || as_fn_error $? "could not create $ac_file" "$LINENO" 5 ;;
18694 esac
18696 esac
18698 ac_dir=`$as_dirname -- "$ac_file" ||
18699 $as_expr X"$ac_file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
18700 X"$ac_file" : 'X\(//\)[^/]' \| \
18701 X"$ac_file" : 'X\(//\)$' \| \
18702 X"$ac_file" : 'X\(/\)' \| . 2>/dev/null ||
18703 $as_echo X"$ac_file" |
18704 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
18705 s//\1/
18708 /^X\(\/\/\)[^/].*/{
18709 s//\1/
18712 /^X\(\/\/\)$/{
18713 s//\1/
18716 /^X\(\/\).*/{
18717 s//\1/
18720 s/.*/./; q'`
18721 as_dir="$ac_dir"; as_fn_mkdir_p
18722 ac_builddir=.
18724 case "$ac_dir" in
18725 .) ac_dir_suffix= ac_top_builddir_sub=. ac_top_build_prefix= ;;
18727 ac_dir_suffix=/`$as_echo "$ac_dir" | sed 's|^\.[\\/]||'`
18728 # A ".." for each directory in $ac_dir_suffix.
18729 ac_top_builddir_sub=`$as_echo "$ac_dir_suffix" | sed 's|/[^\\/]*|/..|g;s|/||'`
18730 case $ac_top_builddir_sub in
18731 "") ac_top_builddir_sub=. ac_top_build_prefix= ;;
18732 *) ac_top_build_prefix=$ac_top_builddir_sub/ ;;
18733 esac ;;
18734 esac
18735 ac_abs_top_builddir=$ac_pwd
18736 ac_abs_builddir=$ac_pwd$ac_dir_suffix
18737 # for backward compatibility:
18738 ac_top_builddir=$ac_top_build_prefix
18740 case $srcdir in
18741 .) # We are building in place.
18742 ac_srcdir=.
18743 ac_top_srcdir=$ac_top_builddir_sub
18744 ac_abs_top_srcdir=$ac_pwd ;;
18745 [\\/]* | ?:[\\/]* ) # Absolute name.
18746 ac_srcdir=$srcdir$ac_dir_suffix;
18747 ac_top_srcdir=$srcdir
18748 ac_abs_top_srcdir=$srcdir ;;
18749 *) # Relative name.
18750 ac_srcdir=$ac_top_build_prefix$srcdir$ac_dir_suffix
18751 ac_top_srcdir=$ac_top_build_prefix$srcdir
18752 ac_abs_top_srcdir=$ac_pwd/$srcdir ;;
18753 esac
18754 ac_abs_srcdir=$ac_abs_top_srcdir$ac_dir_suffix
18757 case $ac_mode in
18760 # CONFIG_FILE
18763 _ACEOF
18765 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
18766 # If the template does not know about datarootdir, expand it.
18767 # FIXME: This hack should be removed a few years after 2.60.
18768 ac_datarootdir_hack=; ac_datarootdir_seen=
18769 ac_sed_dataroot='
18770 /datarootdir/ {
18774 /@datadir@/p
18775 /@docdir@/p
18776 /@infodir@/p
18777 /@localedir@/p
18778 /@mandir@/p'
18779 case `eval "sed -n \"\$ac_sed_dataroot\" $ac_file_inputs"` in
18780 *datarootdir*) ac_datarootdir_seen=yes;;
18781 *@datadir@*|*@docdir@*|*@infodir@*|*@localedir@*|*@mandir@*)
18782 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&5
18783 $as_echo "$as_me: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&2;}
18784 _ACEOF
18785 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
18786 ac_datarootdir_hack='
18787 s&@datadir@&$datadir&g
18788 s&@docdir@&$docdir&g
18789 s&@infodir@&$infodir&g
18790 s&@localedir@&$localedir&g
18791 s&@mandir@&$mandir&g
18792 s&\\\${datarootdir}&$datarootdir&g' ;;
18793 esac
18794 _ACEOF
18796 # Neutralize VPATH when `$srcdir' = `.'.
18797 # Shell code in configure.ac might set extrasub.
18798 # FIXME: do we really want to maintain this feature?
18799 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
18800 ac_sed_extra="$ac_vpsub
18801 $extrasub
18802 _ACEOF
18803 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
18805 /@[a-zA-Z_][a-zA-Z_0-9]*@/!b
18806 s|@configure_input@|$ac_sed_conf_input|;t t
18807 s&@top_builddir@&$ac_top_builddir_sub&;t t
18808 s&@top_build_prefix@&$ac_top_build_prefix&;t t
18809 s&@srcdir@&$ac_srcdir&;t t
18810 s&@abs_srcdir@&$ac_abs_srcdir&;t t
18811 s&@top_srcdir@&$ac_top_srcdir&;t t
18812 s&@abs_top_srcdir@&$ac_abs_top_srcdir&;t t
18813 s&@builddir@&$ac_builddir&;t t
18814 s&@abs_builddir@&$ac_abs_builddir&;t t
18815 s&@abs_top_builddir@&$ac_abs_top_builddir&;t t
18816 $ac_datarootdir_hack
18818 eval sed \"\$ac_sed_extra\" "$ac_file_inputs" | $AWK -f "$ac_tmp/subs.awk" \
18819 >$ac_tmp/out || as_fn_error $? "could not create $ac_file" "$LINENO" 5
18821 test -z "$ac_datarootdir_hack$ac_datarootdir_seen" &&
18822 { ac_out=`sed -n '/\${datarootdir}/p' "$ac_tmp/out"`; test -n "$ac_out"; } &&
18823 { ac_out=`sed -n '/^[ ]*datarootdir[ ]*:*=/p' \
18824 "$ac_tmp/out"`; test -z "$ac_out"; } &&
18825 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $ac_file contains a reference to the variable \`datarootdir'
18826 which seems to be undefined. Please make sure it is defined" >&5
18827 $as_echo "$as_me: WARNING: $ac_file contains a reference to the variable \`datarootdir'
18828 which seems to be undefined. Please make sure it is defined" >&2;}
18830 rm -f "$ac_tmp/stdin"
18831 case $ac_file in
18832 -) cat "$ac_tmp/out" && rm -f "$ac_tmp/out";;
18833 *) rm -f "$ac_file" && mv "$ac_tmp/out" "$ac_file";;
18834 esac \
18835 || as_fn_error $? "could not create $ac_file" "$LINENO" 5
18839 # CONFIG_HEADER
18841 if test x"$ac_file" != x-; then
18843 $as_echo "/* $configure_input */" \
18844 && eval '$AWK -f "$ac_tmp/defines.awk"' "$ac_file_inputs"
18845 } >"$ac_tmp/config.h" \
18846 || as_fn_error $? "could not create $ac_file" "$LINENO" 5
18847 if diff "$ac_file" "$ac_tmp/config.h" >/dev/null 2>&1; then
18848 { $as_echo "$as_me:${as_lineno-$LINENO}: $ac_file is unchanged" >&5
18849 $as_echo "$as_me: $ac_file is unchanged" >&6;}
18850 else
18851 rm -f "$ac_file"
18852 mv "$ac_tmp/config.h" "$ac_file" \
18853 || as_fn_error $? "could not create $ac_file" "$LINENO" 5
18855 else
18856 $as_echo "/* $configure_input */" \
18857 && eval '$AWK -f "$ac_tmp/defines.awk"' "$ac_file_inputs" \
18858 || as_fn_error $? "could not create -" "$LINENO" 5
18863 # CONFIG_LINK
18866 if test "$ac_source" = "$ac_file" && test "$srcdir" = '.'; then
18868 else
18869 # Prefer the file from the source tree if names are identical.
18870 if test "$ac_source" = "$ac_file" || test ! -r "$ac_source"; then
18871 ac_source=$srcdir/$ac_source
18874 { $as_echo "$as_me:${as_lineno-$LINENO}: linking $ac_source to $ac_file" >&5
18875 $as_echo "$as_me: linking $ac_source to $ac_file" >&6;}
18877 if test ! -r "$ac_source"; then
18878 as_fn_error $? "$ac_source: file not found" "$LINENO" 5
18880 rm -f "$ac_file"
18882 # Try a relative symlink, then a hard link, then a copy.
18883 case $ac_source in
18884 [\\/$]* | ?:[\\/]* ) ac_rel_source=$ac_source ;;
18885 *) ac_rel_source=$ac_top_build_prefix$ac_source ;;
18886 esac
18887 ln -s "$ac_rel_source" "$ac_file" 2>/dev/null ||
18888 ln "$ac_source" "$ac_file" 2>/dev/null ||
18889 cp -p "$ac_source" "$ac_file" ||
18890 as_fn_error $? "cannot link or copy $ac_source to $ac_file" "$LINENO" 5
18893 :C) { $as_echo "$as_me:${as_lineno-$LINENO}: executing $ac_file commands" >&5
18894 $as_echo "$as_me: executing $ac_file commands" >&6;}
18896 esac
18899 case $ac_file$ac_mode in
18900 "include/stamp-h":C) echo timestamp > include/stamp-h ;;
18901 "tools/makedep":C) wine_fn_output_makedep || as_fn_exit $? ;;
18902 "Makefile":C) wine_fn_output_makefile Makefile ;;
18903 ".gitignore":C) wine_fn_output_gitignore .gitignore ;;
18905 esac
18906 done # for ac_tag
18909 as_fn_exit 0
18910 _ACEOF
18911 ac_clean_files=$ac_clean_files_save
18913 test $ac_write_fail = 0 ||
18914 as_fn_error $? "write failure creating $CONFIG_STATUS" "$LINENO" 5
18917 # configure is writing to config.log, and then calls config.status.
18918 # config.status does its own redirection, appending to config.log.
18919 # Unfortunately, on DOS this fails, as config.log is still kept open
18920 # by configure, so config.status won't be able to write to it; its
18921 # output is simply discarded. So we exec the FD to /dev/null,
18922 # effectively closing config.log, so it can be properly (re)opened and
18923 # appended to by config.status. When coming back to configure, we
18924 # need to make the FD available again.
18925 if test "$no_create" != yes; then
18926 ac_cs_success=:
18927 ac_config_status_args=
18928 test "$silent" = yes &&
18929 ac_config_status_args="$ac_config_status_args --quiet"
18930 exec 5>/dev/null
18931 $SHELL $CONFIG_STATUS $ac_config_status_args || ac_cs_success=false
18932 exec 5>>config.log
18933 # Use ||, not &&, to avoid exiting from the if with $? = 1, which
18934 # would make configure fail if this is the last instruction.
18935 $ac_cs_success || as_fn_exit 1
18937 if test -n "$ac_unrecognized_opts" && test "$enable_option_checking" != no; then
18938 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: unrecognized options: $ac_unrecognized_opts" >&5
18939 $as_echo "$as_me: WARNING: unrecognized options: $ac_unrecognized_opts" >&2;}
18943 if test "$no_create" = "yes"
18944 then
18945 exit 0
18948 ac_save_IFS="$IFS"
18949 if test "x$wine_notices != "x; then
18950 echo >&6
18951 IFS="|"
18952 for msg in $wine_notices; do
18953 IFS="$ac_save_IFS"
18954 if ${msg:+false} :; then :
18956 else
18957 { $as_echo "$as_me:${as_lineno-$LINENO}: $msg" >&5
18958 $as_echo "$as_me: $msg" >&6;}
18960 done
18962 IFS="|"
18963 for msg in $wine_warnings; do
18964 IFS="$ac_save_IFS"
18965 if ${msg:+false} :; then :
18967 else
18968 echo >&2
18969 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $msg" >&5
18970 $as_echo "$as_me: WARNING: $msg" >&2;}
18972 done
18973 IFS="$ac_save_IFS"
18975 $as_echo "
18976 $as_me: Finished. Do '${ac_make}' to compile Wine.
18977 " >&6