mshtml: Added IHTMLTableRow::align property implementation.
[wine.git] / configure
blobb802bc2eff010cef7782e62a4acd519cd6d7280a
1 #! /bin/sh
2 # Guess values for system-dependent variables and create Makefiles.
3 # Generated by GNU Autoconf 2.69 for Wine 1.7.14.
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.14'
584 PACKAGE_STRING='Wine 1.7.14'
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_explorerframe
1028 enable_ext_ms_win_gdi_devcaps_l1_1_0
1029 enable_faultrep
1030 enable_fltlib
1031 enable_fntcache
1032 enable_fontsub
1033 enable_fusion
1034 enable_fwpuclnt
1035 enable_gameux
1036 enable_gdi32
1037 enable_gdiplus
1038 enable_glu32
1039 enable_gphoto2_ds
1040 enable_gpkcsp
1041 enable_hal
1042 enable_hhctrl_ocx
1043 enable_hid
1044 enable_hlink
1045 enable_hnetcfg
1046 enable_httpapi
1047 enable_iccvid
1048 enable_icmp
1049 enable_ieframe
1050 enable_imaadp32_acm
1051 enable_imagehlp
1052 enable_imm32
1053 enable_inetcomm
1054 enable_inetcpl_cpl
1055 enable_inetmib1
1056 enable_infosoft
1057 enable_initpki
1058 enable_inkobj
1059 enable_inseng
1060 enable_iphlpapi
1061 enable_itircl
1062 enable_itss
1063 enable_joy_cpl
1064 enable_jscript
1065 enable_kernel32
1066 enable_ktmw32
1067 enable_loadperf
1068 enable_localspl
1069 enable_localui
1070 enable_lz32
1071 enable_mapi32
1072 enable_mapistub
1073 enable_mciavi32
1074 enable_mcicda
1075 enable_mciqtz32
1076 enable_mciseq
1077 enable_mciwave
1078 enable_mgmtapi
1079 enable_midimap
1080 enable_mlang
1081 enable_mmcndmgr
1082 enable_mmdevapi
1083 enable_mountmgr_sys
1084 enable_mpr
1085 enable_mprapi
1086 enable_msacm32_drv
1087 enable_msacm32
1088 enable_msadp32_acm
1089 enable_mscat32
1090 enable_mscms
1091 enable_mscoree
1092 enable_msctf
1093 enable_msdaps
1094 enable_msdmo
1095 enable_msftedit
1096 enable_msg711_acm
1097 enable_msgsm32_acm
1098 enable_mshtml_tlb
1099 enable_mshtml
1100 enable_msi
1101 enable_msident
1102 enable_msimg32
1103 enable_msimsg
1104 enable_msimtf
1105 enable_msisip
1106 enable_msisys_ocx
1107 enable_msls31
1108 enable_msnet32
1109 enable_mspatcha
1110 enable_msrle32
1111 enable_mssign32
1112 enable_mssip32
1113 enable_mstask
1114 enable_msvcirt
1115 enable_msvcm80
1116 enable_msvcm90
1117 enable_msvcp100
1118 enable_msvcp110
1119 enable_msvcp60
1120 enable_msvcp70
1121 enable_msvcp71
1122 enable_msvcp80
1123 enable_msvcp90
1124 enable_msvcr100
1125 enable_msvcr110
1126 enable_msvcr70
1127 enable_msvcr71
1128 enable_msvcr80
1129 enable_msvcr90
1130 enable_msvcrt
1131 enable_msvcrt20
1132 enable_msvcrt40
1133 enable_msvcrtd
1134 enable_msvfw32
1135 enable_msvidc32
1136 enable_mswsock
1137 enable_msxml
1138 enable_msxml2
1139 enable_msxml3
1140 enable_msxml4
1141 enable_msxml6
1142 enable_nddeapi
1143 enable_netapi32
1144 enable_netcfgx
1145 enable_newdev
1146 enable_normaliz
1147 enable_npmshtml
1148 enable_ntdll
1149 enable_ntdsapi
1150 enable_ntoskrnl_exe
1151 enable_ntprint
1152 enable_objsel
1153 enable_odbc32
1154 enable_odbccp32
1155 enable_odbccu32
1156 enable_ole32
1157 enable_oleacc
1158 enable_oleaut32
1159 enable_olecli32
1160 enable_oledb32
1161 enable_oledlg
1162 enable_olepro32
1163 enable_olesvr32
1164 enable_olethk32
1165 enable_openal32
1166 enable_opencl
1167 enable_opengl32
1168 enable_pdh
1169 enable_photometadatahandler
1170 enable_pidgen
1171 enable_powrprof
1172 enable_printui
1173 enable_propsys
1174 enable_psapi
1175 enable_pstorec
1176 enable_qcap
1177 enable_qedit
1178 enable_qmgr
1179 enable_qmgrprxy
1180 enable_quartz
1181 enable_query
1182 enable_rasapi32
1183 enable_rasdlg
1184 enable_regapi
1185 enable_resutils
1186 enable_riched20
1187 enable_riched32
1188 enable_rpcrt4
1189 enable_rsabase
1190 enable_rsaenh
1191 enable_rstrtmgr
1192 enable_rtutils
1193 enable_samlib
1194 enable_sane_ds
1195 enable_scarddlg
1196 enable_sccbase
1197 enable_schannel
1198 enable_scrrun
1199 enable_scsiport_sys
1200 enable_secur32
1201 enable_security
1202 enable_sensapi
1203 enable_serialui
1204 enable_setupapi
1205 enable_sfc
1206 enable_sfc_os
1207 enable_shdoclc
1208 enable_shdocvw
1209 enable_shell32
1210 enable_shfolder
1211 enable_shlwapi
1212 enable_slbcsp
1213 enable_slc
1214 enable_snmpapi
1215 enable_softpub
1216 enable_spoolss
1217 enable_stdole2_tlb
1218 enable_stdole32_tlb
1219 enable_sti
1220 enable_svrapi
1221 enable_sxs
1222 enable_t2embed
1223 enable_tapi32
1224 enable_taskschd
1225 enable_traffic
1226 enable_twain_32
1227 enable_unicows
1228 enable_updspapi
1229 enable_url
1230 enable_urlmon
1231 enable_usbd_sys
1232 enable_user32
1233 enable_userenv
1234 enable_usp10
1235 enable_uxtheme
1236 enable_vbscript
1237 enable_vcomp
1238 enable_vcomp100
1239 enable_vcomp90
1240 enable_vdmdbg
1241 enable_version
1242 enable_wbemdisp
1243 enable_wbemprox
1244 enable_webservices
1245 enable_wer
1246 enable_wevtapi
1247 enable_wiaservc
1248 enable_windowscodecs
1249 enable_windowscodecsext
1250 enable_winealsa_drv
1251 enable_winecoreaudio_drv
1252 enable_wined3d
1253 enable_winegstreamer
1254 enable_winejoystick_drv
1255 enable_winemac_drv
1256 enable_winemapi
1257 enable_winemp3_acm
1258 enable_wineoss_drv
1259 enable_wineps_drv
1260 enable_wineqtdecoder
1261 enable_winex11_drv
1262 enable_wing32
1263 enable_winhttp
1264 enable_wininet
1265 enable_winmm
1266 enable_winnls32
1267 enable_winscard
1268 enable_winspool_drv
1269 enable_winsta
1270 enable_wintab32
1271 enable_wintrust
1272 enable_wlanapi
1273 enable_wldap32
1274 enable_wmi
1275 enable_wmiutils
1276 enable_wmp
1277 enable_wmvcore
1278 enable_wnaspi32
1279 enable_ws2_32
1280 enable_wshom_ocx
1281 enable_wsnmp32
1282 enable_wsock32
1283 enable_wtsapi32
1284 enable_wuapi
1285 enable_wuaueng
1286 enable_xapofx1_1
1287 enable_xinput1_1
1288 enable_xinput1_2
1289 enable_xinput1_3
1290 enable_xinput1_4
1291 enable_xinput9_1_0
1292 enable_xmllite
1293 enable_xolehlp
1294 enable_xpsprint
1295 enable_xpssvcs
1296 enable_documentation
1297 enable_fonts
1298 enable_include
1299 enable_libs_port
1300 enable_libs_wine
1301 enable_libs_wpp
1302 enable_loader
1303 enable_arp
1304 enable_aspnet_regiis
1305 enable_attrib
1306 enable_cabarc
1307 enable_cacls
1308 enable_clock
1309 enable_cmd
1310 enable_conhost
1311 enable_control
1312 enable_cscript
1313 enable_dpnsvr
1314 enable_dxdiag
1315 enable_eject
1316 enable_expand
1317 enable_explorer
1318 enable_extrac32
1319 enable_findstr
1320 enable_hh
1321 enable_hostname
1322 enable_icinfo
1323 enable_iexplore
1324 enable_ipconfig
1325 enable_lodctr
1326 enable_mofcomp
1327 enable_mshta
1328 enable_msiexec
1329 enable_net
1330 enable_netsh
1331 enable_netstat
1332 enable_ngen
1333 enable_notepad
1334 enable_oleview
1335 enable_ping
1336 enable_plugplay
1337 enable_presentationfontcache
1338 enable_progman
1339 enable_reg
1340 enable_regasm
1341 enable_regedit
1342 enable_regsvcs
1343 enable_regsvr32
1344 enable_rpcss
1345 enable_rundll32
1346 enable_sc
1347 enable_schtasks
1348 enable_secedit
1349 enable_servicemodelreg
1350 enable_services
1351 enable_spoolsv
1352 enable_start
1353 enable_svchost
1354 enable_taskkill
1355 enable_tasklist
1356 enable_taskmgr
1357 enable_termsv
1358 enable_uninstaller
1359 enable_unlodctr
1360 enable_view
1361 enable_wevtutil
1362 enable_wineboot
1363 enable_winebrowser
1364 enable_winecfg
1365 enable_wineconsole
1366 enable_winedbg
1367 enable_winedevice
1368 enable_winefile
1369 enable_winemenubuilder
1370 enable_winemine
1371 enable_winemsibuilder
1372 enable_winepath
1373 enable_winetest
1374 enable_winhlp32
1375 enable_winver
1376 enable_wmic
1377 enable_wordpad
1378 enable_write
1379 enable_wscript
1380 enable_wusa
1381 enable_xcopy
1382 enable_server
1383 enable_tools
1385 ac_precious_vars='build_alias
1386 host_alias
1387 target_alias
1389 CFLAGS
1390 LDFLAGS
1391 LIBS
1392 CPPFLAGS
1394 CXXFLAGS
1397 XMKMF
1398 XML2_CFLAGS
1399 XML2_LIBS
1400 XSLT_CFLAGS
1401 XSLT_LIBS
1402 DBUS_CFLAGS
1403 DBUS_LIBS
1404 HAL_CFLAGS
1405 HAL_LIBS
1406 GNUTLS_CFLAGS
1407 GNUTLS_LIBS
1408 SANE_CFLAGS
1409 SANE_LIBS
1410 GPHOTO2_CFLAGS
1411 GPHOTO2_LIBS
1412 GPHOTO2_PORT_CFLAGS
1413 GPHOTO2_PORT_LIBS
1414 LCMS2_CFLAGS
1415 LCMS2_LIBS
1416 FREETYPE_CFLAGS
1417 FREETYPE_LIBS
1418 GSTREAMER_CFLAGS
1419 GSTREAMER_LIBS
1420 CAPI20_CFLAGS
1421 CAPI20_LIBS
1422 FONTCONFIG_CFLAGS
1423 FONTCONFIG_LIBS
1424 JPEG_CFLAGS
1425 JPEG_LIBS
1426 PNG_CFLAGS
1427 PNG_LIBS
1428 TIFF_CFLAGS
1429 TIFF_LIBS
1430 MPG123_CFLAGS
1431 MPG123_LIBS'
1434 # Initialize some variables set by options.
1435 ac_init_help=
1436 ac_init_version=false
1437 ac_unrecognized_opts=
1438 ac_unrecognized_sep=
1439 # The variables have the same names as the options, with
1440 # dashes changed to underlines.
1441 cache_file=/dev/null
1442 exec_prefix=NONE
1443 no_create=
1444 no_recursion=
1445 prefix=NONE
1446 program_prefix=NONE
1447 program_suffix=NONE
1448 program_transform_name=s,x,x,
1449 silent=
1450 site=
1451 srcdir=
1452 verbose=
1453 x_includes=NONE
1454 x_libraries=NONE
1456 # Installation directory options.
1457 # These are left unexpanded so users can "make install exec_prefix=/foo"
1458 # and all the variables that are supposed to be based on exec_prefix
1459 # by default will actually change.
1460 # Use braces instead of parens because sh, perl, etc. also accept them.
1461 # (The list follows the same order as the GNU Coding Standards.)
1462 bindir='${exec_prefix}/bin'
1463 sbindir='${exec_prefix}/sbin'
1464 libexecdir='${exec_prefix}/libexec'
1465 datarootdir='${prefix}/share'
1466 datadir='${datarootdir}'
1467 sysconfdir='${prefix}/etc'
1468 sharedstatedir='${prefix}/com'
1469 localstatedir='${prefix}/var'
1470 includedir='${prefix}/include'
1471 oldincludedir='/usr/include'
1472 docdir='${datarootdir}/doc/${PACKAGE_TARNAME}'
1473 infodir='${datarootdir}/info'
1474 htmldir='${docdir}'
1475 dvidir='${docdir}'
1476 pdfdir='${docdir}'
1477 psdir='${docdir}'
1478 libdir='${exec_prefix}/lib'
1479 localedir='${datarootdir}/locale'
1480 mandir='${datarootdir}/man'
1482 ac_prev=
1483 ac_dashdash=
1484 for ac_option
1486 # If the previous option needs an argument, assign it.
1487 if test -n "$ac_prev"; then
1488 eval $ac_prev=\$ac_option
1489 ac_prev=
1490 continue
1493 case $ac_option in
1494 *=?*) ac_optarg=`expr "X$ac_option" : '[^=]*=\(.*\)'` ;;
1495 *=) ac_optarg= ;;
1496 *) ac_optarg=yes ;;
1497 esac
1499 # Accept the important Cygnus configure options, so we can diagnose typos.
1501 case $ac_dashdash$ac_option in
1503 ac_dashdash=yes ;;
1505 -bindir | --bindir | --bindi | --bind | --bin | --bi)
1506 ac_prev=bindir ;;
1507 -bindir=* | --bindir=* | --bindi=* | --bind=* | --bin=* | --bi=*)
1508 bindir=$ac_optarg ;;
1510 -build | --build | --buil | --bui | --bu)
1511 ac_prev=build_alias ;;
1512 -build=* | --build=* | --buil=* | --bui=* | --bu=*)
1513 build_alias=$ac_optarg ;;
1515 -cache-file | --cache-file | --cache-fil | --cache-fi \
1516 | --cache-f | --cache- | --cache | --cach | --cac | --ca | --c)
1517 ac_prev=cache_file ;;
1518 -cache-file=* | --cache-file=* | --cache-fil=* | --cache-fi=* \
1519 | --cache-f=* | --cache-=* | --cache=* | --cach=* | --cac=* | --ca=* | --c=*)
1520 cache_file=$ac_optarg ;;
1522 --config-cache | -C)
1523 cache_file=config.cache ;;
1525 -datadir | --datadir | --datadi | --datad)
1526 ac_prev=datadir ;;
1527 -datadir=* | --datadir=* | --datadi=* | --datad=*)
1528 datadir=$ac_optarg ;;
1530 -datarootdir | --datarootdir | --datarootdi | --datarootd | --dataroot \
1531 | --dataroo | --dataro | --datar)
1532 ac_prev=datarootdir ;;
1533 -datarootdir=* | --datarootdir=* | --datarootdi=* | --datarootd=* \
1534 | --dataroot=* | --dataroo=* | --dataro=* | --datar=*)
1535 datarootdir=$ac_optarg ;;
1537 -disable-* | --disable-*)
1538 ac_useropt=`expr "x$ac_option" : 'x-*disable-\(.*\)'`
1539 # Reject names that are not valid shell variable names.
1540 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
1541 as_fn_error $? "invalid feature name: $ac_useropt"
1542 ac_useropt_orig=$ac_useropt
1543 ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
1544 case $ac_user_opts in
1546 "enable_$ac_useropt"
1547 "*) ;;
1548 *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--disable-$ac_useropt_orig"
1549 ac_unrecognized_sep=', ';;
1550 esac
1551 eval enable_$ac_useropt=no ;;
1553 -docdir | --docdir | --docdi | --doc | --do)
1554 ac_prev=docdir ;;
1555 -docdir=* | --docdir=* | --docdi=* | --doc=* | --do=*)
1556 docdir=$ac_optarg ;;
1558 -dvidir | --dvidir | --dvidi | --dvid | --dvi | --dv)
1559 ac_prev=dvidir ;;
1560 -dvidir=* | --dvidir=* | --dvidi=* | --dvid=* | --dvi=* | --dv=*)
1561 dvidir=$ac_optarg ;;
1563 -enable-* | --enable-*)
1564 ac_useropt=`expr "x$ac_option" : 'x-*enable-\([^=]*\)'`
1565 # Reject names that are not valid shell variable names.
1566 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
1567 as_fn_error $? "invalid feature name: $ac_useropt"
1568 ac_useropt_orig=$ac_useropt
1569 ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
1570 case $ac_user_opts in
1572 "enable_$ac_useropt"
1573 "*) ;;
1574 *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--enable-$ac_useropt_orig"
1575 ac_unrecognized_sep=', ';;
1576 esac
1577 eval enable_$ac_useropt=\$ac_optarg ;;
1579 -exec-prefix | --exec_prefix | --exec-prefix | --exec-prefi \
1580 | --exec-pref | --exec-pre | --exec-pr | --exec-p | --exec- \
1581 | --exec | --exe | --ex)
1582 ac_prev=exec_prefix ;;
1583 -exec-prefix=* | --exec_prefix=* | --exec-prefix=* | --exec-prefi=* \
1584 | --exec-pref=* | --exec-pre=* | --exec-pr=* | --exec-p=* | --exec-=* \
1585 | --exec=* | --exe=* | --ex=*)
1586 exec_prefix=$ac_optarg ;;
1588 -gas | --gas | --ga | --g)
1589 # Obsolete; use --with-gas.
1590 with_gas=yes ;;
1592 -help | --help | --hel | --he | -h)
1593 ac_init_help=long ;;
1594 -help=r* | --help=r* | --hel=r* | --he=r* | -hr*)
1595 ac_init_help=recursive ;;
1596 -help=s* | --help=s* | --hel=s* | --he=s* | -hs*)
1597 ac_init_help=short ;;
1599 -host | --host | --hos | --ho)
1600 ac_prev=host_alias ;;
1601 -host=* | --host=* | --hos=* | --ho=*)
1602 host_alias=$ac_optarg ;;
1604 -htmldir | --htmldir | --htmldi | --htmld | --html | --htm | --ht)
1605 ac_prev=htmldir ;;
1606 -htmldir=* | --htmldir=* | --htmldi=* | --htmld=* | --html=* | --htm=* \
1607 | --ht=*)
1608 htmldir=$ac_optarg ;;
1610 -includedir | --includedir | --includedi | --included | --include \
1611 | --includ | --inclu | --incl | --inc)
1612 ac_prev=includedir ;;
1613 -includedir=* | --includedir=* | --includedi=* | --included=* | --include=* \
1614 | --includ=* | --inclu=* | --incl=* | --inc=*)
1615 includedir=$ac_optarg ;;
1617 -infodir | --infodir | --infodi | --infod | --info | --inf)
1618 ac_prev=infodir ;;
1619 -infodir=* | --infodir=* | --infodi=* | --infod=* | --info=* | --inf=*)
1620 infodir=$ac_optarg ;;
1622 -libdir | --libdir | --libdi | --libd)
1623 ac_prev=libdir ;;
1624 -libdir=* | --libdir=* | --libdi=* | --libd=*)
1625 libdir=$ac_optarg ;;
1627 -libexecdir | --libexecdir | --libexecdi | --libexecd | --libexec \
1628 | --libexe | --libex | --libe)
1629 ac_prev=libexecdir ;;
1630 -libexecdir=* | --libexecdir=* | --libexecdi=* | --libexecd=* | --libexec=* \
1631 | --libexe=* | --libex=* | --libe=*)
1632 libexecdir=$ac_optarg ;;
1634 -localedir | --localedir | --localedi | --localed | --locale)
1635 ac_prev=localedir ;;
1636 -localedir=* | --localedir=* | --localedi=* | --localed=* | --locale=*)
1637 localedir=$ac_optarg ;;
1639 -localstatedir | --localstatedir | --localstatedi | --localstated \
1640 | --localstate | --localstat | --localsta | --localst | --locals)
1641 ac_prev=localstatedir ;;
1642 -localstatedir=* | --localstatedir=* | --localstatedi=* | --localstated=* \
1643 | --localstate=* | --localstat=* | --localsta=* | --localst=* | --locals=*)
1644 localstatedir=$ac_optarg ;;
1646 -mandir | --mandir | --mandi | --mand | --man | --ma | --m)
1647 ac_prev=mandir ;;
1648 -mandir=* | --mandir=* | --mandi=* | --mand=* | --man=* | --ma=* | --m=*)
1649 mandir=$ac_optarg ;;
1651 -nfp | --nfp | --nf)
1652 # Obsolete; use --without-fp.
1653 with_fp=no ;;
1655 -no-create | --no-create | --no-creat | --no-crea | --no-cre \
1656 | --no-cr | --no-c | -n)
1657 no_create=yes ;;
1659 -no-recursion | --no-recursion | --no-recursio | --no-recursi \
1660 | --no-recurs | --no-recur | --no-recu | --no-rec | --no-re | --no-r)
1661 no_recursion=yes ;;
1663 -oldincludedir | --oldincludedir | --oldincludedi | --oldincluded \
1664 | --oldinclude | --oldinclud | --oldinclu | --oldincl | --oldinc \
1665 | --oldin | --oldi | --old | --ol | --o)
1666 ac_prev=oldincludedir ;;
1667 -oldincludedir=* | --oldincludedir=* | --oldincludedi=* | --oldincluded=* \
1668 | --oldinclude=* | --oldinclud=* | --oldinclu=* | --oldincl=* | --oldinc=* \
1669 | --oldin=* | --oldi=* | --old=* | --ol=* | --o=*)
1670 oldincludedir=$ac_optarg ;;
1672 -prefix | --prefix | --prefi | --pref | --pre | --pr | --p)
1673 ac_prev=prefix ;;
1674 -prefix=* | --prefix=* | --prefi=* | --pref=* | --pre=* | --pr=* | --p=*)
1675 prefix=$ac_optarg ;;
1677 -program-prefix | --program-prefix | --program-prefi | --program-pref \
1678 | --program-pre | --program-pr | --program-p)
1679 ac_prev=program_prefix ;;
1680 -program-prefix=* | --program-prefix=* | --program-prefi=* \
1681 | --program-pref=* | --program-pre=* | --program-pr=* | --program-p=*)
1682 program_prefix=$ac_optarg ;;
1684 -program-suffix | --program-suffix | --program-suffi | --program-suff \
1685 | --program-suf | --program-su | --program-s)
1686 ac_prev=program_suffix ;;
1687 -program-suffix=* | --program-suffix=* | --program-suffi=* \
1688 | --program-suff=* | --program-suf=* | --program-su=* | --program-s=*)
1689 program_suffix=$ac_optarg ;;
1691 -program-transform-name | --program-transform-name \
1692 | --program-transform-nam | --program-transform-na \
1693 | --program-transform-n | --program-transform- \
1694 | --program-transform | --program-transfor \
1695 | --program-transfo | --program-transf \
1696 | --program-trans | --program-tran \
1697 | --progr-tra | --program-tr | --program-t)
1698 ac_prev=program_transform_name ;;
1699 -program-transform-name=* | --program-transform-name=* \
1700 | --program-transform-nam=* | --program-transform-na=* \
1701 | --program-transform-n=* | --program-transform-=* \
1702 | --program-transform=* | --program-transfor=* \
1703 | --program-transfo=* | --program-transf=* \
1704 | --program-trans=* | --program-tran=* \
1705 | --progr-tra=* | --program-tr=* | --program-t=*)
1706 program_transform_name=$ac_optarg ;;
1708 -pdfdir | --pdfdir | --pdfdi | --pdfd | --pdf | --pd)
1709 ac_prev=pdfdir ;;
1710 -pdfdir=* | --pdfdir=* | --pdfdi=* | --pdfd=* | --pdf=* | --pd=*)
1711 pdfdir=$ac_optarg ;;
1713 -psdir | --psdir | --psdi | --psd | --ps)
1714 ac_prev=psdir ;;
1715 -psdir=* | --psdir=* | --psdi=* | --psd=* | --ps=*)
1716 psdir=$ac_optarg ;;
1718 -q | -quiet | --quiet | --quie | --qui | --qu | --q \
1719 | -silent | --silent | --silen | --sile | --sil)
1720 silent=yes ;;
1722 -sbindir | --sbindir | --sbindi | --sbind | --sbin | --sbi | --sb)
1723 ac_prev=sbindir ;;
1724 -sbindir=* | --sbindir=* | --sbindi=* | --sbind=* | --sbin=* \
1725 | --sbi=* | --sb=*)
1726 sbindir=$ac_optarg ;;
1728 -sharedstatedir | --sharedstatedir | --sharedstatedi \
1729 | --sharedstated | --sharedstate | --sharedstat | --sharedsta \
1730 | --sharedst | --shareds | --shared | --share | --shar \
1731 | --sha | --sh)
1732 ac_prev=sharedstatedir ;;
1733 -sharedstatedir=* | --sharedstatedir=* | --sharedstatedi=* \
1734 | --sharedstated=* | --sharedstate=* | --sharedstat=* | --sharedsta=* \
1735 | --sharedst=* | --shareds=* | --shared=* | --share=* | --shar=* \
1736 | --sha=* | --sh=*)
1737 sharedstatedir=$ac_optarg ;;
1739 -site | --site | --sit)
1740 ac_prev=site ;;
1741 -site=* | --site=* | --sit=*)
1742 site=$ac_optarg ;;
1744 -srcdir | --srcdir | --srcdi | --srcd | --src | --sr)
1745 ac_prev=srcdir ;;
1746 -srcdir=* | --srcdir=* | --srcdi=* | --srcd=* | --src=* | --sr=*)
1747 srcdir=$ac_optarg ;;
1749 -sysconfdir | --sysconfdir | --sysconfdi | --sysconfd | --sysconf \
1750 | --syscon | --sysco | --sysc | --sys | --sy)
1751 ac_prev=sysconfdir ;;
1752 -sysconfdir=* | --sysconfdir=* | --sysconfdi=* | --sysconfd=* | --sysconf=* \
1753 | --syscon=* | --sysco=* | --sysc=* | --sys=* | --sy=*)
1754 sysconfdir=$ac_optarg ;;
1756 -target | --target | --targe | --targ | --tar | --ta | --t)
1757 ac_prev=target_alias ;;
1758 -target=* | --target=* | --targe=* | --targ=* | --tar=* | --ta=* | --t=*)
1759 target_alias=$ac_optarg ;;
1761 -v | -verbose | --verbose | --verbos | --verbo | --verb)
1762 verbose=yes ;;
1764 -version | --version | --versio | --versi | --vers | -V)
1765 ac_init_version=: ;;
1767 -with-* | --with-*)
1768 ac_useropt=`expr "x$ac_option" : 'x-*with-\([^=]*\)'`
1769 # Reject names that are not valid shell variable names.
1770 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
1771 as_fn_error $? "invalid package name: $ac_useropt"
1772 ac_useropt_orig=$ac_useropt
1773 ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
1774 case $ac_user_opts in
1776 "with_$ac_useropt"
1777 "*) ;;
1778 *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--with-$ac_useropt_orig"
1779 ac_unrecognized_sep=', ';;
1780 esac
1781 eval with_$ac_useropt=\$ac_optarg ;;
1783 -without-* | --without-*)
1784 ac_useropt=`expr "x$ac_option" : 'x-*without-\(.*\)'`
1785 # Reject names that are not valid shell variable names.
1786 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
1787 as_fn_error $? "invalid package name: $ac_useropt"
1788 ac_useropt_orig=$ac_useropt
1789 ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
1790 case $ac_user_opts in
1792 "with_$ac_useropt"
1793 "*) ;;
1794 *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--without-$ac_useropt_orig"
1795 ac_unrecognized_sep=', ';;
1796 esac
1797 eval with_$ac_useropt=no ;;
1799 --x)
1800 # Obsolete; use --with-x.
1801 with_x=yes ;;
1803 -x-includes | --x-includes | --x-include | --x-includ | --x-inclu \
1804 | --x-incl | --x-inc | --x-in | --x-i)
1805 ac_prev=x_includes ;;
1806 -x-includes=* | --x-includes=* | --x-include=* | --x-includ=* | --x-inclu=* \
1807 | --x-incl=* | --x-inc=* | --x-in=* | --x-i=*)
1808 x_includes=$ac_optarg ;;
1810 -x-libraries | --x-libraries | --x-librarie | --x-librari \
1811 | --x-librar | --x-libra | --x-libr | --x-lib | --x-li | --x-l)
1812 ac_prev=x_libraries ;;
1813 -x-libraries=* | --x-libraries=* | --x-librarie=* | --x-librari=* \
1814 | --x-librar=* | --x-libra=* | --x-libr=* | --x-lib=* | --x-li=* | --x-l=*)
1815 x_libraries=$ac_optarg ;;
1817 -*) as_fn_error $? "unrecognized option: \`$ac_option'
1818 Try \`$0 --help' for more information"
1821 *=*)
1822 ac_envvar=`expr "x$ac_option" : 'x\([^=]*\)='`
1823 # Reject names that are not valid shell variable names.
1824 case $ac_envvar in #(
1825 '' | [0-9]* | *[!_$as_cr_alnum]* )
1826 as_fn_error $? "invalid variable name: \`$ac_envvar'" ;;
1827 esac
1828 eval $ac_envvar=\$ac_optarg
1829 export $ac_envvar ;;
1832 # FIXME: should be removed in autoconf 3.0.
1833 $as_echo "$as_me: WARNING: you should use --build, --host, --target" >&2
1834 expr "x$ac_option" : ".*[^-._$as_cr_alnum]" >/dev/null &&
1835 $as_echo "$as_me: WARNING: invalid host type: $ac_option" >&2
1836 : "${build_alias=$ac_option} ${host_alias=$ac_option} ${target_alias=$ac_option}"
1839 esac
1840 done
1842 if test -n "$ac_prev"; then
1843 ac_option=--`echo $ac_prev | sed 's/_/-/g'`
1844 as_fn_error $? "missing argument to $ac_option"
1847 if test -n "$ac_unrecognized_opts"; then
1848 case $enable_option_checking in
1849 no) ;;
1850 fatal) as_fn_error $? "unrecognized options: $ac_unrecognized_opts" ;;
1851 *) $as_echo "$as_me: WARNING: unrecognized options: $ac_unrecognized_opts" >&2 ;;
1852 esac
1855 # Check all directory arguments for consistency.
1856 for ac_var in exec_prefix prefix bindir sbindir libexecdir datarootdir \
1857 datadir sysconfdir sharedstatedir localstatedir includedir \
1858 oldincludedir docdir infodir htmldir dvidir pdfdir psdir \
1859 libdir localedir mandir
1861 eval ac_val=\$$ac_var
1862 # Remove trailing slashes.
1863 case $ac_val in
1864 */ )
1865 ac_val=`expr "X$ac_val" : 'X\(.*[^/]\)' \| "X$ac_val" : 'X\(.*\)'`
1866 eval $ac_var=\$ac_val;;
1867 esac
1868 # Be sure to have absolute directory names.
1869 case $ac_val in
1870 [\\/$]* | ?:[\\/]* ) continue;;
1871 NONE | '' ) case $ac_var in *prefix ) continue;; esac;;
1872 esac
1873 as_fn_error $? "expected an absolute directory name for --$ac_var: $ac_val"
1874 done
1876 # There might be people who depend on the old broken behavior: `$host'
1877 # used to hold the argument of --host etc.
1878 # FIXME: To remove some day.
1879 build=$build_alias
1880 host=$host_alias
1881 target=$target_alias
1883 # FIXME: To remove some day.
1884 if test "x$host_alias" != x; then
1885 if test "x$build_alias" = x; then
1886 cross_compiling=maybe
1887 elif test "x$build_alias" != "x$host_alias"; then
1888 cross_compiling=yes
1892 ac_tool_prefix=
1893 test -n "$host_alias" && ac_tool_prefix=$host_alias-
1895 test "$silent" = yes && exec 6>/dev/null
1898 ac_pwd=`pwd` && test -n "$ac_pwd" &&
1899 ac_ls_di=`ls -di .` &&
1900 ac_pwd_ls_di=`cd "$ac_pwd" && ls -di .` ||
1901 as_fn_error $? "working directory cannot be determined"
1902 test "X$ac_ls_di" = "X$ac_pwd_ls_di" ||
1903 as_fn_error $? "pwd does not report name of working directory"
1906 # Find the source files, if location was not specified.
1907 if test -z "$srcdir"; then
1908 ac_srcdir_defaulted=yes
1909 # Try the directory containing this script, then the parent directory.
1910 ac_confdir=`$as_dirname -- "$as_myself" ||
1911 $as_expr X"$as_myself" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
1912 X"$as_myself" : 'X\(//\)[^/]' \| \
1913 X"$as_myself" : 'X\(//\)$' \| \
1914 X"$as_myself" : 'X\(/\)' \| . 2>/dev/null ||
1915 $as_echo X"$as_myself" |
1916 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
1917 s//\1/
1920 /^X\(\/\/\)[^/].*/{
1921 s//\1/
1924 /^X\(\/\/\)$/{
1925 s//\1/
1928 /^X\(\/\).*/{
1929 s//\1/
1932 s/.*/./; q'`
1933 srcdir=$ac_confdir
1934 if test ! -r "$srcdir/$ac_unique_file"; then
1935 srcdir=..
1937 else
1938 ac_srcdir_defaulted=no
1940 if test ! -r "$srcdir/$ac_unique_file"; then
1941 test "$ac_srcdir_defaulted" = yes && srcdir="$ac_confdir or .."
1942 as_fn_error $? "cannot find sources ($ac_unique_file) in $srcdir"
1944 ac_msg="sources are in $srcdir, but \`cd $srcdir' does not work"
1945 ac_abs_confdir=`(
1946 cd "$srcdir" && test -r "./$ac_unique_file" || as_fn_error $? "$ac_msg"
1947 pwd)`
1948 # When building in place, set srcdir=.
1949 if test "$ac_abs_confdir" = "$ac_pwd"; then
1950 srcdir=.
1952 # Remove unnecessary trailing slashes from srcdir.
1953 # Double slashes in file names in object file debugging info
1954 # mess up M-x gdb in Emacs.
1955 case $srcdir in
1956 */) srcdir=`expr "X$srcdir" : 'X\(.*[^/]\)' \| "X$srcdir" : 'X\(.*\)'`;;
1957 esac
1958 for ac_var in $ac_precious_vars; do
1959 eval ac_env_${ac_var}_set=\${${ac_var}+set}
1960 eval ac_env_${ac_var}_value=\$${ac_var}
1961 eval ac_cv_env_${ac_var}_set=\${${ac_var}+set}
1962 eval ac_cv_env_${ac_var}_value=\$${ac_var}
1963 done
1966 # Report the --help message.
1968 if test "$ac_init_help" = "long"; then
1969 # Omit some internal or obsolete options to make the list less imposing.
1970 # This message is too long to be a string in the A/UX 3.1 sh.
1971 cat <<_ACEOF
1972 \`configure' configures Wine 1.7.14 to adapt to many kinds of systems.
1974 Usage: $0 [OPTION]... [VAR=VALUE]...
1976 To assign environment variables (e.g., CC, CFLAGS...), specify them as
1977 VAR=VALUE. See below for descriptions of some of the useful variables.
1979 Defaults for the options are specified in brackets.
1981 Configuration:
1982 -h, --help display this help and exit
1983 --help=short display options specific to this package
1984 --help=recursive display the short help of all the included packages
1985 -V, --version display version information and exit
1986 -q, --quiet, --silent do not print \`checking ...' messages
1987 --cache-file=FILE cache test results in FILE [disabled]
1988 -C, --config-cache alias for \`--cache-file=config.cache'
1989 -n, --no-create do not create output files
1990 --srcdir=DIR find the sources in DIR [configure dir or \`..']
1992 Installation directories:
1993 --prefix=PREFIX install architecture-independent files in PREFIX
1994 [$ac_default_prefix]
1995 --exec-prefix=EPREFIX install architecture-dependent files in EPREFIX
1996 [PREFIX]
1998 By default, \`make install' will install all the files in
1999 \`$ac_default_prefix/bin', \`$ac_default_prefix/lib' etc. You can specify
2000 an installation prefix other than \`$ac_default_prefix' using \`--prefix',
2001 for instance \`--prefix=\$HOME'.
2003 For better control, use the options below.
2005 Fine tuning of the installation directories:
2006 --bindir=DIR user executables [EPREFIX/bin]
2007 --sbindir=DIR system admin executables [EPREFIX/sbin]
2008 --libexecdir=DIR program executables [EPREFIX/libexec]
2009 --sysconfdir=DIR read-only single-machine data [PREFIX/etc]
2010 --sharedstatedir=DIR modifiable architecture-independent data [PREFIX/com]
2011 --localstatedir=DIR modifiable single-machine data [PREFIX/var]
2012 --libdir=DIR object code libraries [EPREFIX/lib]
2013 --includedir=DIR C header files [PREFIX/include]
2014 --oldincludedir=DIR C header files for non-gcc [/usr/include]
2015 --datarootdir=DIR read-only arch.-independent data root [PREFIX/share]
2016 --datadir=DIR read-only architecture-independent data [DATAROOTDIR]
2017 --infodir=DIR info documentation [DATAROOTDIR/info]
2018 --localedir=DIR locale-dependent data [DATAROOTDIR/locale]
2019 --mandir=DIR man documentation [DATAROOTDIR/man]
2020 --docdir=DIR documentation root [DATAROOTDIR/doc/wine]
2021 --htmldir=DIR html documentation [DOCDIR]
2022 --dvidir=DIR dvi documentation [DOCDIR]
2023 --pdfdir=DIR pdf documentation [DOCDIR]
2024 --psdir=DIR ps documentation [DOCDIR]
2025 _ACEOF
2027 cat <<\_ACEOF
2029 X features:
2030 --x-includes=DIR X include files are in DIR
2031 --x-libraries=DIR X library files are in DIR
2033 System types:
2034 --build=BUILD configure for building on BUILD [guessed]
2035 --host=HOST cross-compile to build programs to run on HOST [BUILD]
2036 _ACEOF
2039 if test -n "$ac_init_help"; then
2040 case $ac_init_help in
2041 short | recursive ) echo "Configuration of Wine 1.7.14:";;
2042 esac
2043 cat <<\_ACEOF
2045 Optional Features:
2046 --disable-option-checking ignore unrecognized --enable/--with options
2047 --disable-FEATURE do not include FEATURE (same as --enable-FEATURE=no)
2048 --enable-FEATURE[=ARG] include FEATURE [ARG=yes]
2049 --disable-win16 do not include Win16 support
2050 --enable-win64 build a Win64 emulator on AMD64 (won't run Win32
2051 binaries)
2052 --disable-tests do not build the regression tests
2053 --enable-maintainer-mode
2054 enable maintainer-specific build rules
2055 --disable-largefile omit support for large files
2057 Optional Packages:
2058 --with-PACKAGE[=ARG] use PACKAGE [ARG=yes]
2059 --without-PACKAGE do not use PACKAGE (same as --with-PACKAGE=no)
2060 --without-alsa do not use the Alsa sound support
2061 --without-capi do not use CAPI (ISDN support)
2062 --without-cms do not use CMS (color management support)
2063 --without-coreaudio do not use the CoreAudio sound support
2064 --without-cups do not use CUPS
2065 --without-curses do not use (n)curses
2066 --without-dbus do not use DBus (dynamic device support)
2067 --without-fontconfig do not use fontconfig
2068 --without-freetype do not use the FreeType library
2069 --without-gettext do not use gettext
2070 --with-gettextpo use the GetTextPO library to rebuild po files
2071 --without-gphoto do not use gphoto (Digital Camera support)
2072 --without-glu do not use the GLU library
2073 --without-gnutls do not use GnuTLS (schannel support)
2074 --without-gsm do not use libgsm (GSM 06.10 codec support)
2075 --without-gstreamer do not use GStreamer (codecs support)
2076 --without-hal do not use HAL (dynamic device support)
2077 --without-jpeg do not use JPEG
2078 --without-ldap do not use LDAP
2079 --without-mpg123 do not use the mpg123 library
2080 --without-netapi do not use the Samba NetAPI library
2081 --without-openal do not use OpenAL
2082 --without-opencl do not use OpenCL
2083 --without-opengl do not use OpenGL
2084 --without-osmesa do not use the OSMesa library
2085 --without-oss do not use the OSS sound support
2086 --without-png do not use PNG
2087 --without-pthread do not use the pthread library
2088 --without-sane do not use SANE (scanner support)
2089 --without-tiff do not use TIFF
2090 --without-v4l do not use v4l1 (v4l support)
2091 --without-xcomposite do not use the Xcomposite extension
2092 --without-xcursor do not use the Xcursor extension
2093 --without-xinerama do not use Xinerama (multi-monitor support)
2094 --without-xinput do not use the Xinput extension
2095 --without-xinput2 do not use the Xinput 2 extension
2096 --without-xml do not use XML
2097 --without-xrandr do not use Xrandr (resolution changes)
2098 --without-xrender do not use the Xrender extension
2099 --without-xshape do not use the Xshape extension
2100 --without-xshm do not use XShm (shared memory extension)
2101 --without-xslt do not use XSLT
2102 --without-xxf86vm do not use XFree video mode extension
2103 --without-zlib do not use Zlib (data compression)
2104 --with-wine-tools=DIR use Wine tools from directory DIR
2105 --with-wine64=DIR use the 64-bit Wine in DIR for a Wow64 build
2106 --with-x use the X Window System
2108 Some influential environment variables:
2109 CC C compiler command
2110 CFLAGS C compiler flags
2111 LDFLAGS linker flags, e.g. -L<lib dir> if you have libraries in a
2112 nonstandard directory <lib dir>
2113 LIBS libraries to pass to the linker, e.g. -l<library>
2114 CPPFLAGS (Objective) C/C++ preprocessor flags, e.g. -I<include dir> if
2115 you have headers in a nonstandard directory <include dir>
2116 CXX C++ compiler command
2117 CXXFLAGS C++ compiler flags
2118 CPP C preprocessor
2119 XMKMF Path to xmkmf, Makefile generator for X Window System
2120 XML2_CFLAGS C compiler flags for libxml-2.0, overriding pkg-config
2121 XML2_LIBS Linker flags for libxml-2.0, overriding pkg-config
2122 XSLT_CFLAGS C compiler flags for libxslt, overriding pkg-config
2123 XSLT_LIBS Linker flags for libxslt, overriding pkg-config
2124 DBUS_CFLAGS C compiler flags for dbus-1, overriding pkg-config
2125 DBUS_LIBS Linker flags for dbus-1, overriding pkg-config
2126 HAL_CFLAGS C compiler flags for hal, overriding pkg-config
2127 HAL_LIBS Linker flags for hal, overriding pkg-config
2128 GNUTLS_CFLAGS
2129 C compiler flags for gnutls, overriding pkg-config
2130 GNUTLS_LIBS Linker flags for gnutls, overriding pkg-config
2131 SANE_CFLAGS C compiler flags for libsane, overriding pkg-config
2132 SANE_LIBS Linker flags for libsane, overriding pkg-config
2133 GPHOTO2_CFLAGS
2134 C compiler flags for libgphoto2, overriding pkg-config
2135 GPHOTO2_LIBS
2136 Linker flags for libgphoto2, overriding pkg-config
2137 GPHOTO2_PORT_CFLAGS
2138 C compiler flags for libgphoto2_port, overriding pkg-config
2139 GPHOTO2_PORT_LIBS
2140 Linker flags for libgphoto2_port, overriding pkg-config
2141 LCMS2_CFLAGS
2142 C compiler flags for lcms2, overriding pkg-config
2143 LCMS2_LIBS Linker flags for lcms2, overriding pkg-config
2144 FREETYPE_CFLAGS
2145 C compiler flags for freetype2, overriding pkg-config
2146 FREETYPE_LIBS
2147 Linker flags for freetype2, overriding pkg-config
2148 GSTREAMER_CFLAGS
2149 C compiler flags for gstreamer-app-0.10, overriding pkg-config
2150 GSTREAMER_LIBS
2151 Linker flags for gstreamer-app-0.10, overriding pkg-config
2152 CAPI20_CFLAGS
2153 C compiler flags for capi20, overriding pkg-config
2154 CAPI20_LIBS Linker flags for capi20, overriding pkg-config
2155 FONTCONFIG_CFLAGS
2156 C compiler flags for fontconfig, overriding pkg-config
2157 FONTCONFIG_LIBS
2158 Linker flags for fontconfig, overriding pkg-config
2159 JPEG_CFLAGS C compiler flags for libjpeg, overriding pkg-config
2160 JPEG_LIBS Linker flags for libjpeg, overriding pkg-config
2161 PNG_CFLAGS C compiler flags for libpng, overriding pkg-config
2162 PNG_LIBS Linker flags for libpng, overriding pkg-config
2163 TIFF_CFLAGS C compiler flags for libtiff, overriding pkg-config
2164 TIFF_LIBS Linker flags for libtiff, overriding pkg-config
2165 MPG123_CFLAGS
2166 C compiler flags for libmpg123, overriding pkg-config
2167 MPG123_LIBS Linker flags for libmpg123, overriding pkg-config
2169 Use these variables to override the choices made by `configure' or to help
2170 it to find libraries and programs with nonstandard names/locations.
2172 Report bugs to <wine-devel@winehq.org>.
2173 Wine home page: <http://www.winehq.org>.
2174 _ACEOF
2175 ac_status=$?
2178 if test "$ac_init_help" = "recursive"; then
2179 # If there are subdirs, report their specific --help.
2180 for ac_dir in : $ac_subdirs_all; do test "x$ac_dir" = x: && continue
2181 test -d "$ac_dir" ||
2182 { cd "$srcdir" && ac_pwd=`pwd` && srcdir=. && test -d "$ac_dir"; } ||
2183 continue
2184 ac_builddir=.
2186 case "$ac_dir" in
2187 .) ac_dir_suffix= ac_top_builddir_sub=. ac_top_build_prefix= ;;
2189 ac_dir_suffix=/`$as_echo "$ac_dir" | sed 's|^\.[\\/]||'`
2190 # A ".." for each directory in $ac_dir_suffix.
2191 ac_top_builddir_sub=`$as_echo "$ac_dir_suffix" | sed 's|/[^\\/]*|/..|g;s|/||'`
2192 case $ac_top_builddir_sub in
2193 "") ac_top_builddir_sub=. ac_top_build_prefix= ;;
2194 *) ac_top_build_prefix=$ac_top_builddir_sub/ ;;
2195 esac ;;
2196 esac
2197 ac_abs_top_builddir=$ac_pwd
2198 ac_abs_builddir=$ac_pwd$ac_dir_suffix
2199 # for backward compatibility:
2200 ac_top_builddir=$ac_top_build_prefix
2202 case $srcdir in
2203 .) # We are building in place.
2204 ac_srcdir=.
2205 ac_top_srcdir=$ac_top_builddir_sub
2206 ac_abs_top_srcdir=$ac_pwd ;;
2207 [\\/]* | ?:[\\/]* ) # Absolute name.
2208 ac_srcdir=$srcdir$ac_dir_suffix;
2209 ac_top_srcdir=$srcdir
2210 ac_abs_top_srcdir=$srcdir ;;
2211 *) # Relative name.
2212 ac_srcdir=$ac_top_build_prefix$srcdir$ac_dir_suffix
2213 ac_top_srcdir=$ac_top_build_prefix$srcdir
2214 ac_abs_top_srcdir=$ac_pwd/$srcdir ;;
2215 esac
2216 ac_abs_srcdir=$ac_abs_top_srcdir$ac_dir_suffix
2218 cd "$ac_dir" || { ac_status=$?; continue; }
2219 # Check for guested configure.
2220 if test -f "$ac_srcdir/configure.gnu"; then
2221 echo &&
2222 $SHELL "$ac_srcdir/configure.gnu" --help=recursive
2223 elif test -f "$ac_srcdir/configure"; then
2224 echo &&
2225 $SHELL "$ac_srcdir/configure" --help=recursive
2226 else
2227 $as_echo "$as_me: WARNING: no configuration information is in $ac_dir" >&2
2228 fi || ac_status=$?
2229 cd "$ac_pwd" || { ac_status=$?; break; }
2230 done
2233 test -n "$ac_init_help" && exit $ac_status
2234 if $ac_init_version; then
2235 cat <<\_ACEOF
2236 Wine configure 1.7.14
2237 generated by GNU Autoconf 2.69
2239 Copyright (C) 2012 Free Software Foundation, Inc.
2240 This configure script is free software; the Free Software Foundation
2241 gives unlimited permission to copy, distribute and modify it.
2242 _ACEOF
2243 exit
2246 ## ------------------------ ##
2247 ## Autoconf initialization. ##
2248 ## ------------------------ ##
2250 # ac_fn_c_try_compile LINENO
2251 # --------------------------
2252 # Try to compile conftest.$ac_ext, and return whether this succeeded.
2253 ac_fn_c_try_compile ()
2255 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
2256 rm -f conftest.$ac_objext
2257 if { { ac_try="$ac_compile"
2258 case "(($ac_try" in
2259 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2260 *) ac_try_echo=$ac_try;;
2261 esac
2262 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
2263 $as_echo "$ac_try_echo"; } >&5
2264 (eval "$ac_compile") 2>conftest.err
2265 ac_status=$?
2266 if test -s conftest.err; then
2267 grep -v '^ *+' conftest.err >conftest.er1
2268 cat conftest.er1 >&5
2269 mv -f conftest.er1 conftest.err
2271 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
2272 test $ac_status = 0; } && {
2273 test -z "$ac_c_werror_flag" ||
2274 test ! -s conftest.err
2275 } && test -s conftest.$ac_objext; then :
2276 ac_retval=0
2277 else
2278 $as_echo "$as_me: failed program was:" >&5
2279 sed 's/^/| /' conftest.$ac_ext >&5
2281 ac_retval=1
2283 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
2284 as_fn_set_status $ac_retval
2286 } # ac_fn_c_try_compile
2288 # ac_fn_cxx_try_compile LINENO
2289 # ----------------------------
2290 # Try to compile conftest.$ac_ext, and return whether this succeeded.
2291 ac_fn_cxx_try_compile ()
2293 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
2294 rm -f conftest.$ac_objext
2295 if { { ac_try="$ac_compile"
2296 case "(($ac_try" in
2297 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2298 *) ac_try_echo=$ac_try;;
2299 esac
2300 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
2301 $as_echo "$ac_try_echo"; } >&5
2302 (eval "$ac_compile") 2>conftest.err
2303 ac_status=$?
2304 if test -s conftest.err; then
2305 grep -v '^ *+' conftest.err >conftest.er1
2306 cat conftest.er1 >&5
2307 mv -f conftest.er1 conftest.err
2309 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
2310 test $ac_status = 0; } && {
2311 test -z "$ac_cxx_werror_flag" ||
2312 test ! -s conftest.err
2313 } && test -s conftest.$ac_objext; then :
2314 ac_retval=0
2315 else
2316 $as_echo "$as_me: failed program was:" >&5
2317 sed 's/^/| /' conftest.$ac_ext >&5
2319 ac_retval=1
2321 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
2322 as_fn_set_status $ac_retval
2324 } # ac_fn_cxx_try_compile
2326 # ac_fn_c_try_link LINENO
2327 # -----------------------
2328 # Try to link conftest.$ac_ext, and return whether this succeeded.
2329 ac_fn_c_try_link ()
2331 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
2332 rm -f conftest.$ac_objext conftest$ac_exeext
2333 if { { ac_try="$ac_link"
2334 case "(($ac_try" in
2335 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2336 *) ac_try_echo=$ac_try;;
2337 esac
2338 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
2339 $as_echo "$ac_try_echo"; } >&5
2340 (eval "$ac_link") 2>conftest.err
2341 ac_status=$?
2342 if test -s conftest.err; then
2343 grep -v '^ *+' conftest.err >conftest.er1
2344 cat conftest.er1 >&5
2345 mv -f conftest.er1 conftest.err
2347 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
2348 test $ac_status = 0; } && {
2349 test -z "$ac_c_werror_flag" ||
2350 test ! -s conftest.err
2351 } && test -s conftest$ac_exeext && {
2352 test "$cross_compiling" = yes ||
2353 test -x conftest$ac_exeext
2354 }; then :
2355 ac_retval=0
2356 else
2357 $as_echo "$as_me: failed program was:" >&5
2358 sed 's/^/| /' conftest.$ac_ext >&5
2360 ac_retval=1
2362 # Delete the IPA/IPO (Inter Procedural Analysis/Optimization) information
2363 # created by the PGI compiler (conftest_ipa8_conftest.oo), as it would
2364 # interfere with the next link command; also delete a directory that is
2365 # left behind by Apple's compiler. We do this before executing the actions.
2366 rm -rf conftest.dSYM conftest_ipa8_conftest.oo
2367 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
2368 as_fn_set_status $ac_retval
2370 } # ac_fn_c_try_link
2372 # ac_fn_c_try_cpp LINENO
2373 # ----------------------
2374 # Try to preprocess conftest.$ac_ext, and return whether this succeeded.
2375 ac_fn_c_try_cpp ()
2377 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
2378 if { { ac_try="$ac_cpp conftest.$ac_ext"
2379 case "(($ac_try" in
2380 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2381 *) ac_try_echo=$ac_try;;
2382 esac
2383 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
2384 $as_echo "$ac_try_echo"; } >&5
2385 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.err
2386 ac_status=$?
2387 if test -s conftest.err; then
2388 grep -v '^ *+' conftest.err >conftest.er1
2389 cat conftest.er1 >&5
2390 mv -f conftest.er1 conftest.err
2392 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
2393 test $ac_status = 0; } > conftest.i && {
2394 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
2395 test ! -s conftest.err
2396 }; then :
2397 ac_retval=0
2398 else
2399 $as_echo "$as_me: failed program was:" >&5
2400 sed 's/^/| /' conftest.$ac_ext >&5
2402 ac_retval=1
2404 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
2405 as_fn_set_status $ac_retval
2407 } # ac_fn_c_try_cpp
2409 # ac_fn_c_check_header_mongrel LINENO HEADER VAR INCLUDES
2410 # -------------------------------------------------------
2411 # Tests whether HEADER exists, giving a warning if it cannot be compiled using
2412 # the include files in INCLUDES and setting the cache variable VAR
2413 # accordingly.
2414 ac_fn_c_check_header_mongrel ()
2416 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
2417 if eval \${$3+:} false; then :
2418 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
2419 $as_echo_n "checking for $2... " >&6; }
2420 if eval \${$3+:} false; then :
2421 $as_echo_n "(cached) " >&6
2423 eval ac_res=\$$3
2424 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
2425 $as_echo "$ac_res" >&6; }
2426 else
2427 # Is the header compilable?
2428 { $as_echo "$as_me:${as_lineno-$LINENO}: checking $2 usability" >&5
2429 $as_echo_n "checking $2 usability... " >&6; }
2430 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2431 /* end confdefs.h. */
2433 #include <$2>
2434 _ACEOF
2435 if ac_fn_c_try_compile "$LINENO"; then :
2436 ac_header_compiler=yes
2437 else
2438 ac_header_compiler=no
2440 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
2441 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_header_compiler" >&5
2442 $as_echo "$ac_header_compiler" >&6; }
2444 # Is the header present?
2445 { $as_echo "$as_me:${as_lineno-$LINENO}: checking $2 presence" >&5
2446 $as_echo_n "checking $2 presence... " >&6; }
2447 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2448 /* end confdefs.h. */
2449 #include <$2>
2450 _ACEOF
2451 if ac_fn_c_try_cpp "$LINENO"; then :
2452 ac_header_preproc=yes
2453 else
2454 ac_header_preproc=no
2456 rm -f conftest.err conftest.i conftest.$ac_ext
2457 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_header_preproc" >&5
2458 $as_echo "$ac_header_preproc" >&6; }
2460 # So? What about this header?
2461 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in #((
2462 yes:no: )
2463 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: accepted by the compiler, rejected by the preprocessor!" >&5
2464 $as_echo "$as_me: WARNING: $2: accepted by the compiler, rejected by the preprocessor!" >&2;}
2465 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: proceeding with the compiler's result" >&5
2466 $as_echo "$as_me: WARNING: $2: proceeding with the compiler's result" >&2;}
2468 no:yes:* )
2469 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: present but cannot be compiled" >&5
2470 $as_echo "$as_me: WARNING: $2: present but cannot be compiled" >&2;}
2471 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: check for missing prerequisite headers?" >&5
2472 $as_echo "$as_me: WARNING: $2: check for missing prerequisite headers?" >&2;}
2473 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: see the Autoconf documentation" >&5
2474 $as_echo "$as_me: WARNING: $2: see the Autoconf documentation" >&2;}
2475 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: section \"Present But Cannot Be Compiled\"" >&5
2476 $as_echo "$as_me: WARNING: $2: section \"Present But Cannot Be Compiled\"" >&2;}
2477 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: proceeding with the compiler's result" >&5
2478 $as_echo "$as_me: WARNING: $2: proceeding with the compiler's result" >&2;}
2479 ( $as_echo "## ------------------------------------ ##
2480 ## Report this to wine-devel@winehq.org ##
2481 ## ------------------------------------ ##"
2482 ) | sed "s/^/$as_me: WARNING: /" >&2
2484 esac
2485 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
2486 $as_echo_n "checking for $2... " >&6; }
2487 if eval \${$3+:} false; then :
2488 $as_echo_n "(cached) " >&6
2489 else
2490 eval "$3=\$ac_header_compiler"
2492 eval ac_res=\$$3
2493 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
2494 $as_echo "$ac_res" >&6; }
2496 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
2498 } # ac_fn_c_check_header_mongrel
2500 # ac_fn_c_try_run LINENO
2501 # ----------------------
2502 # Try to link conftest.$ac_ext, and return whether this succeeded. Assumes
2503 # that executables *can* be run.
2504 ac_fn_c_try_run ()
2506 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
2507 if { { ac_try="$ac_link"
2508 case "(($ac_try" in
2509 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2510 *) ac_try_echo=$ac_try;;
2511 esac
2512 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
2513 $as_echo "$ac_try_echo"; } >&5
2514 (eval "$ac_link") 2>&5
2515 ac_status=$?
2516 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
2517 test $ac_status = 0; } && { ac_try='./conftest$ac_exeext'
2518 { { case "(($ac_try" in
2519 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2520 *) ac_try_echo=$ac_try;;
2521 esac
2522 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
2523 $as_echo "$ac_try_echo"; } >&5
2524 (eval "$ac_try") 2>&5
2525 ac_status=$?
2526 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
2527 test $ac_status = 0; }; }; then :
2528 ac_retval=0
2529 else
2530 $as_echo "$as_me: program exited with status $ac_status" >&5
2531 $as_echo "$as_me: failed program was:" >&5
2532 sed 's/^/| /' conftest.$ac_ext >&5
2534 ac_retval=$ac_status
2536 rm -rf conftest.dSYM conftest_ipa8_conftest.oo
2537 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
2538 as_fn_set_status $ac_retval
2540 } # ac_fn_c_try_run
2542 # ac_fn_c_check_header_compile LINENO HEADER VAR INCLUDES
2543 # -------------------------------------------------------
2544 # Tests whether HEADER exists and can be compiled using the include files in
2545 # INCLUDES, setting the cache variable VAR accordingly.
2546 ac_fn_c_check_header_compile ()
2548 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
2549 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
2550 $as_echo_n "checking for $2... " >&6; }
2551 if eval \${$3+:} false; then :
2552 $as_echo_n "(cached) " >&6
2553 else
2554 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2555 /* end confdefs.h. */
2557 #include <$2>
2558 _ACEOF
2559 if ac_fn_c_try_compile "$LINENO"; then :
2560 eval "$3=yes"
2561 else
2562 eval "$3=no"
2564 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
2566 eval ac_res=\$$3
2567 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
2568 $as_echo "$ac_res" >&6; }
2569 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
2571 } # ac_fn_c_check_header_compile
2573 # ac_fn_c_check_func LINENO FUNC VAR
2574 # ----------------------------------
2575 # Tests whether FUNC exists, setting the cache variable VAR accordingly
2576 ac_fn_c_check_func ()
2578 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
2579 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
2580 $as_echo_n "checking for $2... " >&6; }
2581 if eval \${$3+:} false; then :
2582 $as_echo_n "(cached) " >&6
2583 else
2584 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2585 /* end confdefs.h. */
2586 /* Define $2 to an innocuous variant, in case <limits.h> declares $2.
2587 For example, HP-UX 11i <limits.h> declares gettimeofday. */
2588 #define $2 innocuous_$2
2590 /* System header to define __stub macros and hopefully few prototypes,
2591 which can conflict with char $2 (); below.
2592 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
2593 <limits.h> exists even on freestanding compilers. */
2595 #ifdef __STDC__
2596 # include <limits.h>
2597 #else
2598 # include <assert.h>
2599 #endif
2601 #undef $2
2603 /* Override any GCC internal prototype to avoid an error.
2604 Use char because int might match the return type of a GCC
2605 builtin and then its argument prototype would still apply. */
2606 #ifdef __cplusplus
2607 extern "C"
2608 #endif
2609 char $2 ();
2610 /* The GNU C library defines this for functions which it implements
2611 to always fail with ENOSYS. Some functions are actually named
2612 something starting with __ and the normal name is an alias. */
2613 #if defined __stub_$2 || defined __stub___$2
2614 choke me
2615 #endif
2618 main ()
2620 return $2 ();
2622 return 0;
2624 _ACEOF
2625 if ac_fn_c_try_link "$LINENO"; then :
2626 eval "$3=yes"
2627 else
2628 eval "$3=no"
2630 rm -f core conftest.err conftest.$ac_objext \
2631 conftest$ac_exeext conftest.$ac_ext
2633 eval ac_res=\$$3
2634 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
2635 $as_echo "$ac_res" >&6; }
2636 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
2638 } # ac_fn_c_check_func
2640 # ac_fn_c_check_member LINENO AGGR MEMBER VAR INCLUDES
2641 # ----------------------------------------------------
2642 # Tries to find if the field MEMBER exists in type AGGR, after including
2643 # INCLUDES, setting cache variable VAR accordingly.
2644 ac_fn_c_check_member ()
2646 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
2647 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2.$3" >&5
2648 $as_echo_n "checking for $2.$3... " >&6; }
2649 if eval \${$4+:} false; then :
2650 $as_echo_n "(cached) " >&6
2651 else
2652 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2653 /* end confdefs.h. */
2656 main ()
2658 static $2 ac_aggr;
2659 if (ac_aggr.$3)
2660 return 0;
2662 return 0;
2664 _ACEOF
2665 if ac_fn_c_try_compile "$LINENO"; then :
2666 eval "$4=yes"
2667 else
2668 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2669 /* end confdefs.h. */
2672 main ()
2674 static $2 ac_aggr;
2675 if (sizeof ac_aggr.$3)
2676 return 0;
2678 return 0;
2680 _ACEOF
2681 if ac_fn_c_try_compile "$LINENO"; then :
2682 eval "$4=yes"
2683 else
2684 eval "$4=no"
2686 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
2688 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
2690 eval ac_res=\$$4
2691 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
2692 $as_echo "$ac_res" >&6; }
2693 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
2695 } # ac_fn_c_check_member
2697 # ac_fn_c_check_type LINENO TYPE VAR INCLUDES
2698 # -------------------------------------------
2699 # Tests whether TYPE exists after having included INCLUDES, setting cache
2700 # variable VAR accordingly.
2701 ac_fn_c_check_type ()
2703 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
2704 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
2705 $as_echo_n "checking for $2... " >&6; }
2706 if eval \${$3+:} false; then :
2707 $as_echo_n "(cached) " >&6
2708 else
2709 eval "$3=no"
2710 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2711 /* end confdefs.h. */
2714 main ()
2716 if (sizeof ($2))
2717 return 0;
2719 return 0;
2721 _ACEOF
2722 if ac_fn_c_try_compile "$LINENO"; then :
2723 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2724 /* end confdefs.h. */
2727 main ()
2729 if (sizeof (($2)))
2730 return 0;
2732 return 0;
2734 _ACEOF
2735 if ac_fn_c_try_compile "$LINENO"; then :
2737 else
2738 eval "$3=yes"
2740 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
2742 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
2744 eval ac_res=\$$3
2745 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
2746 $as_echo "$ac_res" >&6; }
2747 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
2749 } # ac_fn_c_check_type
2750 cat >config.log <<_ACEOF
2751 This file contains any messages produced by compilers while
2752 running configure, to aid debugging if configure makes a mistake.
2754 It was created by Wine $as_me 1.7.14, which was
2755 generated by GNU Autoconf 2.69. Invocation command line was
2757 $ $0 $@
2759 _ACEOF
2760 exec 5>>config.log
2762 cat <<_ASUNAME
2763 ## --------- ##
2764 ## Platform. ##
2765 ## --------- ##
2767 hostname = `(hostname || uname -n) 2>/dev/null | sed 1q`
2768 uname -m = `(uname -m) 2>/dev/null || echo unknown`
2769 uname -r = `(uname -r) 2>/dev/null || echo unknown`
2770 uname -s = `(uname -s) 2>/dev/null || echo unknown`
2771 uname -v = `(uname -v) 2>/dev/null || echo unknown`
2773 /usr/bin/uname -p = `(/usr/bin/uname -p) 2>/dev/null || echo unknown`
2774 /bin/uname -X = `(/bin/uname -X) 2>/dev/null || echo unknown`
2776 /bin/arch = `(/bin/arch) 2>/dev/null || echo unknown`
2777 /usr/bin/arch -k = `(/usr/bin/arch -k) 2>/dev/null || echo unknown`
2778 /usr/convex/getsysinfo = `(/usr/convex/getsysinfo) 2>/dev/null || echo unknown`
2779 /usr/bin/hostinfo = `(/usr/bin/hostinfo) 2>/dev/null || echo unknown`
2780 /bin/machine = `(/bin/machine) 2>/dev/null || echo unknown`
2781 /usr/bin/oslevel = `(/usr/bin/oslevel) 2>/dev/null || echo unknown`
2782 /bin/universe = `(/bin/universe) 2>/dev/null || echo unknown`
2784 _ASUNAME
2786 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2787 for as_dir in $PATH
2789 IFS=$as_save_IFS
2790 test -z "$as_dir" && as_dir=.
2791 $as_echo "PATH: $as_dir"
2792 done
2793 IFS=$as_save_IFS
2795 } >&5
2797 cat >&5 <<_ACEOF
2800 ## ----------- ##
2801 ## Core tests. ##
2802 ## ----------- ##
2804 _ACEOF
2807 # Keep a trace of the command line.
2808 # Strip out --no-create and --no-recursion so they do not pile up.
2809 # Strip out --silent because we don't want to record it for future runs.
2810 # Also quote any args containing shell meta-characters.
2811 # Make two passes to allow for proper duplicate-argument suppression.
2812 ac_configure_args=
2813 ac_configure_args0=
2814 ac_configure_args1=
2815 ac_must_keep_next=false
2816 for ac_pass in 1 2
2818 for ac_arg
2820 case $ac_arg in
2821 -no-create | --no-c* | -n | -no-recursion | --no-r*) continue ;;
2822 -q | -quiet | --quiet | --quie | --qui | --qu | --q \
2823 | -silent | --silent | --silen | --sile | --sil)
2824 continue ;;
2825 *\'*)
2826 ac_arg=`$as_echo "$ac_arg" | sed "s/'/'\\\\\\\\''/g"` ;;
2827 esac
2828 case $ac_pass in
2829 1) as_fn_append ac_configure_args0 " '$ac_arg'" ;;
2831 as_fn_append ac_configure_args1 " '$ac_arg'"
2832 if test $ac_must_keep_next = true; then
2833 ac_must_keep_next=false # Got value, back to normal.
2834 else
2835 case $ac_arg in
2836 *=* | --config-cache | -C | -disable-* | --disable-* \
2837 | -enable-* | --enable-* | -gas | --g* | -nfp | --nf* \
2838 | -q | -quiet | --q* | -silent | --sil* | -v | -verb* \
2839 | -with-* | --with-* | -without-* | --without-* | --x)
2840 case "$ac_configure_args0 " in
2841 "$ac_configure_args1"*" '$ac_arg' "* ) continue ;;
2842 esac
2844 -* ) ac_must_keep_next=true ;;
2845 esac
2847 as_fn_append ac_configure_args " '$ac_arg'"
2849 esac
2850 done
2851 done
2852 { ac_configure_args0=; unset ac_configure_args0;}
2853 { ac_configure_args1=; unset ac_configure_args1;}
2855 # When interrupted or exit'd, cleanup temporary files, and complete
2856 # config.log. We remove comments because anyway the quotes in there
2857 # would cause problems or look ugly.
2858 # WARNING: Use '\'' to represent an apostrophe within the trap.
2859 # WARNING: Do not start the trap code with a newline, due to a FreeBSD 4.0 bug.
2860 trap 'exit_status=$?
2861 # Save into config.log some information that might help in debugging.
2863 echo
2865 $as_echo "## ---------------- ##
2866 ## Cache variables. ##
2867 ## ---------------- ##"
2868 echo
2869 # The following way of writing the cache mishandles newlines in values,
2871 for ac_var in `(set) 2>&1 | sed -n '\''s/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'\''`; do
2872 eval ac_val=\$$ac_var
2873 case $ac_val in #(
2874 *${as_nl}*)
2875 case $ac_var in #(
2876 *_cv_*) { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: cache variable $ac_var contains a newline" >&5
2877 $as_echo "$as_me: WARNING: cache variable $ac_var contains a newline" >&2;} ;;
2878 esac
2879 case $ac_var in #(
2880 _ | IFS | as_nl) ;; #(
2881 BASH_ARGV | BASH_SOURCE) eval $ac_var= ;; #(
2882 *) { eval $ac_var=; unset $ac_var;} ;;
2883 esac ;;
2884 esac
2885 done
2886 (set) 2>&1 |
2887 case $as_nl`(ac_space='\'' '\''; set) 2>&1` in #(
2888 *${as_nl}ac_space=\ *)
2889 sed -n \
2890 "s/'\''/'\''\\\\'\'''\''/g;
2891 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\''\\2'\''/p"
2892 ;; #(
2894 sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
2896 esac |
2897 sort
2899 echo
2901 $as_echo "## ----------------- ##
2902 ## Output variables. ##
2903 ## ----------------- ##"
2904 echo
2905 for ac_var in $ac_subst_vars
2907 eval ac_val=\$$ac_var
2908 case $ac_val in
2909 *\'\''*) ac_val=`$as_echo "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;;
2910 esac
2911 $as_echo "$ac_var='\''$ac_val'\''"
2912 done | sort
2913 echo
2915 if test -n "$ac_subst_files"; then
2916 $as_echo "## ------------------- ##
2917 ## File substitutions. ##
2918 ## ------------------- ##"
2919 echo
2920 for ac_var in $ac_subst_files
2922 eval ac_val=\$$ac_var
2923 case $ac_val in
2924 *\'\''*) ac_val=`$as_echo "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;;
2925 esac
2926 $as_echo "$ac_var='\''$ac_val'\''"
2927 done | sort
2928 echo
2931 if test -s confdefs.h; then
2932 $as_echo "## ----------- ##
2933 ## confdefs.h. ##
2934 ## ----------- ##"
2935 echo
2936 cat confdefs.h
2937 echo
2939 test "$ac_signal" != 0 &&
2940 $as_echo "$as_me: caught signal $ac_signal"
2941 $as_echo "$as_me: exit $exit_status"
2942 } >&5
2943 rm -f core *.core core.conftest.* &&
2944 rm -f -r conftest* confdefs* conf$$* $ac_clean_files &&
2945 exit $exit_status
2947 for ac_signal in 1 2 13 15; do
2948 trap 'ac_signal='$ac_signal'; as_fn_exit 1' $ac_signal
2949 done
2950 ac_signal=0
2952 # confdefs.h avoids OS command line length limits that DEFS can exceed.
2953 rm -f -r conftest* confdefs.h
2955 $as_echo "/* confdefs.h */" > confdefs.h
2957 # Predefined preprocessor variables.
2959 cat >>confdefs.h <<_ACEOF
2960 #define PACKAGE_NAME "$PACKAGE_NAME"
2961 _ACEOF
2963 cat >>confdefs.h <<_ACEOF
2964 #define PACKAGE_TARNAME "$PACKAGE_TARNAME"
2965 _ACEOF
2967 cat >>confdefs.h <<_ACEOF
2968 #define PACKAGE_VERSION "$PACKAGE_VERSION"
2969 _ACEOF
2971 cat >>confdefs.h <<_ACEOF
2972 #define PACKAGE_STRING "$PACKAGE_STRING"
2973 _ACEOF
2975 cat >>confdefs.h <<_ACEOF
2976 #define PACKAGE_BUGREPORT "$PACKAGE_BUGREPORT"
2977 _ACEOF
2979 cat >>confdefs.h <<_ACEOF
2980 #define PACKAGE_URL "$PACKAGE_URL"
2981 _ACEOF
2984 # Let the site file select an alternate cache file if it wants to.
2985 # Prefer an explicitly selected file to automatically selected ones.
2986 ac_site_file1=NONE
2987 ac_site_file2=NONE
2988 if test -n "$CONFIG_SITE"; then
2989 # We do not want a PATH search for config.site.
2990 case $CONFIG_SITE in #((
2991 -*) ac_site_file1=./$CONFIG_SITE;;
2992 */*) ac_site_file1=$CONFIG_SITE;;
2993 *) ac_site_file1=./$CONFIG_SITE;;
2994 esac
2995 elif test "x$prefix" != xNONE; then
2996 ac_site_file1=$prefix/share/config.site
2997 ac_site_file2=$prefix/etc/config.site
2998 else
2999 ac_site_file1=$ac_default_prefix/share/config.site
3000 ac_site_file2=$ac_default_prefix/etc/config.site
3002 for ac_site_file in "$ac_site_file1" "$ac_site_file2"
3004 test "x$ac_site_file" = xNONE && continue
3005 if test /dev/null != "$ac_site_file" && test -r "$ac_site_file"; then
3006 { $as_echo "$as_me:${as_lineno-$LINENO}: loading site script $ac_site_file" >&5
3007 $as_echo "$as_me: loading site script $ac_site_file" >&6;}
3008 sed 's/^/| /' "$ac_site_file" >&5
3009 . "$ac_site_file" \
3010 || { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
3011 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
3012 as_fn_error $? "failed to load site script $ac_site_file
3013 See \`config.log' for more details" "$LINENO" 5; }
3015 done
3017 if test -r "$cache_file"; then
3018 # Some versions of bash will fail to source /dev/null (special files
3019 # actually), so we avoid doing that. DJGPP emulates it as a regular file.
3020 if test /dev/null != "$cache_file" && test -f "$cache_file"; then
3021 { $as_echo "$as_me:${as_lineno-$LINENO}: loading cache $cache_file" >&5
3022 $as_echo "$as_me: loading cache $cache_file" >&6;}
3023 case $cache_file in
3024 [\\/]* | ?:[\\/]* ) . "$cache_file";;
3025 *) . "./$cache_file";;
3026 esac
3028 else
3029 { $as_echo "$as_me:${as_lineno-$LINENO}: creating cache $cache_file" >&5
3030 $as_echo "$as_me: creating cache $cache_file" >&6;}
3031 >$cache_file
3034 # Check that the precious variables saved in the cache have kept the same
3035 # value.
3036 ac_cache_corrupted=false
3037 for ac_var in $ac_precious_vars; do
3038 eval ac_old_set=\$ac_cv_env_${ac_var}_set
3039 eval ac_new_set=\$ac_env_${ac_var}_set
3040 eval ac_old_val=\$ac_cv_env_${ac_var}_value
3041 eval ac_new_val=\$ac_env_${ac_var}_value
3042 case $ac_old_set,$ac_new_set in
3043 set,)
3044 { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&5
3045 $as_echo "$as_me: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&2;}
3046 ac_cache_corrupted=: ;;
3047 ,set)
3048 { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' was not set in the previous run" >&5
3049 $as_echo "$as_me: error: \`$ac_var' was not set in the previous run" >&2;}
3050 ac_cache_corrupted=: ;;
3051 ,);;
3053 if test "x$ac_old_val" != "x$ac_new_val"; then
3054 # differences in whitespace do not lead to failure.
3055 ac_old_val_w=`echo x $ac_old_val`
3056 ac_new_val_w=`echo x $ac_new_val`
3057 if test "$ac_old_val_w" != "$ac_new_val_w"; then
3058 { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' has changed since the previous run:" >&5
3059 $as_echo "$as_me: error: \`$ac_var' has changed since the previous run:" >&2;}
3060 ac_cache_corrupted=:
3061 else
3062 { $as_echo "$as_me:${as_lineno-$LINENO}: warning: ignoring whitespace changes in \`$ac_var' since the previous run:" >&5
3063 $as_echo "$as_me: warning: ignoring whitespace changes in \`$ac_var' since the previous run:" >&2;}
3064 eval $ac_var=\$ac_old_val
3066 { $as_echo "$as_me:${as_lineno-$LINENO}: former value: \`$ac_old_val'" >&5
3067 $as_echo "$as_me: former value: \`$ac_old_val'" >&2;}
3068 { $as_echo "$as_me:${as_lineno-$LINENO}: current value: \`$ac_new_val'" >&5
3069 $as_echo "$as_me: current value: \`$ac_new_val'" >&2;}
3070 fi;;
3071 esac
3072 # Pass precious variables to config.status.
3073 if test "$ac_new_set" = set; then
3074 case $ac_new_val in
3075 *\'*) ac_arg=$ac_var=`$as_echo "$ac_new_val" | sed "s/'/'\\\\\\\\''/g"` ;;
3076 *) ac_arg=$ac_var=$ac_new_val ;;
3077 esac
3078 case " $ac_configure_args " in
3079 *" '$ac_arg' "*) ;; # Avoid dups. Use of quotes ensures accuracy.
3080 *) as_fn_append ac_configure_args " '$ac_arg'" ;;
3081 esac
3083 done
3084 if $ac_cache_corrupted; then
3085 { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
3086 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
3087 { $as_echo "$as_me:${as_lineno-$LINENO}: error: changes in the environment can compromise the build" >&5
3088 $as_echo "$as_me: error: changes in the environment can compromise the build" >&2;}
3089 as_fn_error $? "run \`make distclean' and/or \`rm $cache_file' and start over" "$LINENO" 5
3091 ## -------------------- ##
3092 ## Main body of script. ##
3093 ## -------------------- ##
3095 ac_ext=c
3096 ac_cpp='$CPP $CPPFLAGS'
3097 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
3098 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
3099 ac_compiler_gnu=$ac_cv_c_compiler_gnu
3103 ac_config_headers="$ac_config_headers include/config.h"
3105 ac_aux_dir=
3106 for ac_dir in tools "$srcdir"/tools; do
3107 if test -f "$ac_dir/install-sh"; then
3108 ac_aux_dir=$ac_dir
3109 ac_install_sh="$ac_aux_dir/install-sh -c"
3110 break
3111 elif test -f "$ac_dir/install.sh"; then
3112 ac_aux_dir=$ac_dir
3113 ac_install_sh="$ac_aux_dir/install.sh -c"
3114 break
3115 elif test -f "$ac_dir/shtool"; then
3116 ac_aux_dir=$ac_dir
3117 ac_install_sh="$ac_aux_dir/shtool install -c"
3118 break
3120 done
3121 if test -z "$ac_aux_dir"; then
3122 as_fn_error $? "cannot find install-sh, install.sh, or shtool in tools \"$srcdir\"/tools" "$LINENO" 5
3125 # These three variables are undocumented and unsupported,
3126 # and are intended to be withdrawn in a future Autoconf release.
3127 # They can cause serious problems if a builder's source tree is in a directory
3128 # whose full name contains unusual characters.
3129 ac_config_guess="$SHELL $ac_aux_dir/config.guess" # Please don't use this var.
3130 ac_config_sub="$SHELL $ac_aux_dir/config.sub" # Please don't use this var.
3131 ac_configure="$SHELL $ac_aux_dir/configure" # Please don't use this var.
3135 libwine_version="1.0"
3139 # Check whether --enable-win16 was given.
3140 if test "${enable_win16+set}" = set; then :
3141 enableval=$enable_win16;
3144 # Check whether --enable-win64 was given.
3145 if test "${enable_win64+set}" = set; then :
3146 enableval=$enable_win64;
3149 # Check whether --enable-tests was given.
3150 if test "${enable_tests+set}" = set; then :
3151 enableval=$enable_tests;
3154 # Check whether --enable-maintainer-mode was given.
3155 if test "${enable_maintainer_mode+set}" = set; then :
3156 enableval=$enable_maintainer_mode;
3161 # Check whether --with-alsa was given.
3162 if test "${with_alsa+set}" = set; then :
3163 withval=$with_alsa; if test "x$withval" = "xno"; then ac_cv_header_sys_asoundlib_h=no; ac_cv_header_alsa_asoundlib_h=no; fi
3167 # Check whether --with-capi was given.
3168 if test "${with_capi+set}" = set; then :
3169 withval=$with_capi;
3173 # Check whether --with-cms was given.
3174 if test "${with_cms+set}" = set; then :
3175 withval=$with_cms;
3179 # Check whether --with-coreaudio was given.
3180 if test "${with_coreaudio+set}" = set; then :
3181 withval=$with_coreaudio; if test "x$withval" = "xno"; then ac_cv_header_CoreAudio_CoreAudio_h=no; fi
3185 # Check whether --with-cups was given.
3186 if test "${with_cups+set}" = set; then :
3187 withval=$with_cups;
3191 # Check whether --with-curses was given.
3192 if test "${with_curses+set}" = set; then :
3193 withval=$with_curses; if test "x$withval" = "xno"; then ac_cv_header_ncurses_h=no; ac_cv_header_curses_h=no; fi
3197 # Check whether --with-dbus was given.
3198 if test "${with_dbus+set}" = set; then :
3199 withval=$with_dbus;
3203 # Check whether --with-fontconfig was given.
3204 if test "${with_fontconfig+set}" = set; then :
3205 withval=$with_fontconfig;
3209 # Check whether --with-freetype was given.
3210 if test "${with_freetype+set}" = set; then :
3211 withval=$with_freetype;
3215 # Check whether --with-gettext was given.
3216 if test "${with_gettext+set}" = set; then :
3217 withval=$with_gettext;
3221 # Check whether --with-gettextpo was given.
3222 if test "${with_gettextpo+set}" = set; then :
3223 withval=$with_gettextpo; if test "x$withval" = "xno"; then ac_cv_header_gettext_po_h=no; fi
3227 # Check whether --with-gphoto was given.
3228 if test "${with_gphoto+set}" = set; then :
3229 withval=$with_gphoto;
3233 # Check whether --with-glu was given.
3234 if test "${with_glu+set}" = set; then :
3235 withval=$with_glu;
3239 # Check whether --with-gnutls was given.
3240 if test "${with_gnutls+set}" = set; then :
3241 withval=$with_gnutls;
3245 # Check whether --with-gsm was given.
3246 if test "${with_gsm+set}" = set; then :
3247 withval=$with_gsm; if test "x$withval" = "xno"; then ac_cv_header_gsm_h=no; ac_cv_header_gsm_gsm_h=no; fi
3251 # Check whether --with-gstreamer was given.
3252 if test "${with_gstreamer+set}" = set; then :
3253 withval=$with_gstreamer;
3257 # Check whether --with-hal was given.
3258 if test "${with_hal+set}" = set; then :
3259 withval=$with_hal;
3263 # Check whether --with-jpeg was given.
3264 if test "${with_jpeg+set}" = set; then :
3265 withval=$with_jpeg;
3269 # Check whether --with-ldap was given.
3270 if test "${with_ldap+set}" = set; then :
3271 withval=$with_ldap; if test "x$withval" = "xno"; then ac_cv_header_ldap_h=no; ac_cv_header_lber_h=no; fi
3275 # Check whether --with-mpg123 was given.
3276 if test "${with_mpg123+set}" = set; then :
3277 withval=$with_mpg123;
3281 # Check whether --with-netapi was given.
3282 if test "${with_netapi+set}" = set; then :
3283 withval=$with_netapi;
3287 # Check whether --with-openal was given.
3288 if test "${with_openal+set}" = set; then :
3289 withval=$with_openal; if test "x$withval" = "xno"; then ac_cv_header_AL_al_h=no; ac_cv_header_OpenAL_al_h=no; fi
3293 # Check whether --with-opencl was given.
3294 if test "${with_opencl+set}" = set; then :
3295 withval=$with_opencl; if test "x$withval" = "xno"; then ac_cv_header_CL_cl_h=no; ac_cv_header_OpenCL_opencl_h=no; fi
3299 # Check whether --with-opengl was given.
3300 if test "${with_opengl+set}" = set; then :
3301 withval=$with_opengl;
3305 # Check whether --with-osmesa was given.
3306 if test "${with_osmesa+set}" = set; then :
3307 withval=$with_osmesa;
3311 # Check whether --with-oss was given.
3312 if test "${with_oss+set}" = set; then :
3313 withval=$with_oss;
3317 # Check whether --with-png was given.
3318 if test "${with_png+set}" = set; then :
3319 withval=$with_png;
3323 # Check whether --with-pthread was given.
3324 if test "${with_pthread+set}" = set; then :
3325 withval=$with_pthread; if test "x$withval" = "xno"; then ac_cv_header_pthread_h=no; fi
3329 # Check whether --with-sane was given.
3330 if test "${with_sane+set}" = set; then :
3331 withval=$with_sane;
3335 # Check whether --with-tiff was given.
3336 if test "${with_tiff+set}" = set; then :
3337 withval=$with_tiff;
3341 # Check whether --with-v4l was given.
3342 if test "${with_v4l+set}" = set; then :
3343 withval=$with_v4l;
3347 # Check whether --with-xcomposite was given.
3348 if test "${with_xcomposite+set}" = set; then :
3349 withval=$with_xcomposite; if test "x$withval" = "xno"; then ac_cv_header_X11_extensions_Xcomposite_h=no; fi
3353 # Check whether --with-xcursor was given.
3354 if test "${with_xcursor+set}" = set; then :
3355 withval=$with_xcursor; if test "x$withval" = "xno"; then ac_cv_header_X11_Xcursor_Xcursor_h=no; fi
3359 # Check whether --with-xinerama was given.
3360 if test "${with_xinerama+set}" = set; then :
3361 withval=$with_xinerama; if test "x$withval" = "xno"; then ac_cv_header_X11_extensions_Xinerama_h=no; fi
3365 # Check whether --with-xinput was given.
3366 if test "${with_xinput+set}" = set; then :
3367 withval=$with_xinput; if test "x$withval" = "xno"; then ac_cv_header_X11_extensions_XInput_h=no; fi
3371 # Check whether --with-xinput2 was given.
3372 if test "${with_xinput2+set}" = set; then :
3373 withval=$with_xinput2; if test "x$withval" = "xno"; then ac_cv_header_X11_extensions_XInput2_h=no; fi
3377 # Check whether --with-xml was given.
3378 if test "${with_xml+set}" = set; then :
3379 withval=$with_xml;
3383 # Check whether --with-xrandr was given.
3384 if test "${with_xrandr+set}" = set; then :
3385 withval=$with_xrandr; if test "x$withval" = "xno"; then ac_cv_header_X11_extensions_Xrandr_h=no; fi
3389 # Check whether --with-xrender was given.
3390 if test "${with_xrender+set}" = set; then :
3391 withval=$with_xrender; if test "x$withval" = "xno"; then ac_cv_header_X11_extensions_Xrender_h=no; fi
3395 # Check whether --with-xshape was given.
3396 if test "${with_xshape+set}" = set; then :
3397 withval=$with_xshape; if test "x$withval" = "xno"; then ac_cv_header_X11_extensions_shape_h=no; fi
3401 # Check whether --with-xshm was given.
3402 if test "${with_xshm+set}" = set; then :
3403 withval=$with_xshm; if test "x$withval" = "xno"; then ac_cv_header_X11_extensions_XShm_h=no; fi
3407 # Check whether --with-xslt was given.
3408 if test "${with_xslt+set}" = set; then :
3409 withval=$with_xslt;
3413 # Check whether --with-xxf86vm was given.
3414 if test "${with_xxf86vm+set}" = set; then :
3415 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
3419 # Check whether --with-zlib was given.
3420 if test "${with_zlib+set}" = set; then :
3421 withval=$with_zlib; if test "x$withval" = "xno"; then ac_cv_header_zlib_h=no; fi
3426 # Check whether --with-wine-tools was given.
3427 if test "${with_wine_tools+set}" = set; then :
3428 withval=$with_wine_tools;
3432 # Check whether --with-wine64 was given.
3433 if test "${with_wine64+set}" = set; then :
3434 withval=$with_wine64;
3438 # Make sure we can run config.sub.
3439 $SHELL "$ac_aux_dir/config.sub" sun4 >/dev/null 2>&1 ||
3440 as_fn_error $? "cannot run $SHELL $ac_aux_dir/config.sub" "$LINENO" 5
3442 { $as_echo "$as_me:${as_lineno-$LINENO}: checking build system type" >&5
3443 $as_echo_n "checking build system type... " >&6; }
3444 if ${ac_cv_build+:} false; then :
3445 $as_echo_n "(cached) " >&6
3446 else
3447 ac_build_alias=$build_alias
3448 test "x$ac_build_alias" = x &&
3449 ac_build_alias=`$SHELL "$ac_aux_dir/config.guess"`
3450 test "x$ac_build_alias" = x &&
3451 as_fn_error $? "cannot guess build type; you must specify one" "$LINENO" 5
3452 ac_cv_build=`$SHELL "$ac_aux_dir/config.sub" $ac_build_alias` ||
3453 as_fn_error $? "$SHELL $ac_aux_dir/config.sub $ac_build_alias failed" "$LINENO" 5
3456 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_build" >&5
3457 $as_echo "$ac_cv_build" >&6; }
3458 case $ac_cv_build in
3459 *-*-*) ;;
3460 *) as_fn_error $? "invalid value of canonical build" "$LINENO" 5;;
3461 esac
3462 build=$ac_cv_build
3463 ac_save_IFS=$IFS; IFS='-'
3464 set x $ac_cv_build
3465 shift
3466 build_cpu=$1
3467 build_vendor=$2
3468 shift; shift
3469 # Remember, the first character of IFS is used to create $*,
3470 # except with old shells:
3471 build_os=$*
3472 IFS=$ac_save_IFS
3473 case $build_os in *\ *) build_os=`echo "$build_os" | sed 's/ /-/g'`;; esac
3476 { $as_echo "$as_me:${as_lineno-$LINENO}: checking host system type" >&5
3477 $as_echo_n "checking host system type... " >&6; }
3478 if ${ac_cv_host+:} false; then :
3479 $as_echo_n "(cached) " >&6
3480 else
3481 if test "x$host_alias" = x; then
3482 ac_cv_host=$ac_cv_build
3483 else
3484 ac_cv_host=`$SHELL "$ac_aux_dir/config.sub" $host_alias` ||
3485 as_fn_error $? "$SHELL $ac_aux_dir/config.sub $host_alias failed" "$LINENO" 5
3489 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_host" >&5
3490 $as_echo "$ac_cv_host" >&6; }
3491 case $ac_cv_host in
3492 *-*-*) ;;
3493 *) as_fn_error $? "invalid value of canonical host" "$LINENO" 5;;
3494 esac
3495 host=$ac_cv_host
3496 ac_save_IFS=$IFS; IFS='-'
3497 set x $ac_cv_host
3498 shift
3499 host_cpu=$1
3500 host_vendor=$2
3501 shift; shift
3502 # Remember, the first character of IFS is used to create $*,
3503 # except with old shells:
3504 host_os=$*
3505 IFS=$ac_save_IFS
3506 case $host_os in *\ *) host_os=`echo "$host_os" | sed 's/ /-/g'`;; esac
3510 case "$srcdir" in
3511 .) ;;
3512 *) if test -f "$srcdir/Makefile" -o -f "$srcdir/include/config.h"; then
3513 as_fn_error $? "you are building out of the source tree, but the source tree contains object files.
3514 You need to run 'make distclean' in the source tree first." "$LINENO" 5
3515 fi ;;
3516 esac
3519 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ${MAKE-make} sets \$(MAKE)" >&5
3520 $as_echo_n "checking whether ${MAKE-make} sets \$(MAKE)... " >&6; }
3521 set x ${MAKE-make}
3522 ac_make=`$as_echo "$2" | sed 's/+/p/g; s/[^a-zA-Z0-9_]/_/g'`
3523 if eval \${ac_cv_prog_make_${ac_make}_set+:} false; then :
3524 $as_echo_n "(cached) " >&6
3525 else
3526 cat >conftest.make <<\_ACEOF
3527 SHELL = /bin/sh
3528 all:
3529 @echo '@@@%%%=$(MAKE)=@@@%%%'
3530 _ACEOF
3531 # GNU make sometimes prints "make[1]: Entering ...", which would confuse us.
3532 case `${MAKE-make} -f conftest.make 2>/dev/null` in
3533 *@@@%%%=?*=@@@%%%*)
3534 eval ac_cv_prog_make_${ac_make}_set=yes;;
3536 eval ac_cv_prog_make_${ac_make}_set=no;;
3537 esac
3538 rm -f conftest.make
3540 if eval test \$ac_cv_prog_make_${ac_make}_set = yes; then
3541 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
3542 $as_echo "yes" >&6; }
3543 SET_MAKE=
3544 else
3545 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3546 $as_echo "no" >&6; }
3547 SET_MAKE="MAKE=${MAKE-make}"
3550 ac_ext=c
3551 ac_cpp='$CPP $CPPFLAGS'
3552 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
3553 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
3554 ac_compiler_gnu=$ac_cv_c_compiler_gnu
3555 if test -n "$ac_tool_prefix"; then
3556 # Extract the first word of "${ac_tool_prefix}gcc", so it can be a program name with args.
3557 set dummy ${ac_tool_prefix}gcc; ac_word=$2
3558 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3559 $as_echo_n "checking for $ac_word... " >&6; }
3560 if ${ac_cv_prog_CC+:} false; then :
3561 $as_echo_n "(cached) " >&6
3562 else
3563 if test -n "$CC"; then
3564 ac_cv_prog_CC="$CC" # Let the user override the test.
3565 else
3566 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3567 for as_dir in $PATH
3569 IFS=$as_save_IFS
3570 test -z "$as_dir" && as_dir=.
3571 for ac_exec_ext in '' $ac_executable_extensions; do
3572 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
3573 ac_cv_prog_CC="${ac_tool_prefix}gcc"
3574 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3575 break 2
3577 done
3578 done
3579 IFS=$as_save_IFS
3583 CC=$ac_cv_prog_CC
3584 if test -n "$CC"; then
3585 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
3586 $as_echo "$CC" >&6; }
3587 else
3588 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3589 $as_echo "no" >&6; }
3594 if test -z "$ac_cv_prog_CC"; then
3595 ac_ct_CC=$CC
3596 # Extract the first word of "gcc", so it can be a program name with args.
3597 set dummy gcc; ac_word=$2
3598 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3599 $as_echo_n "checking for $ac_word... " >&6; }
3600 if ${ac_cv_prog_ac_ct_CC+:} false; then :
3601 $as_echo_n "(cached) " >&6
3602 else
3603 if test -n "$ac_ct_CC"; then
3604 ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
3605 else
3606 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3607 for as_dir in $PATH
3609 IFS=$as_save_IFS
3610 test -z "$as_dir" && as_dir=.
3611 for ac_exec_ext in '' $ac_executable_extensions; do
3612 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
3613 ac_cv_prog_ac_ct_CC="gcc"
3614 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3615 break 2
3617 done
3618 done
3619 IFS=$as_save_IFS
3623 ac_ct_CC=$ac_cv_prog_ac_ct_CC
3624 if test -n "$ac_ct_CC"; then
3625 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CC" >&5
3626 $as_echo "$ac_ct_CC" >&6; }
3627 else
3628 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3629 $as_echo "no" >&6; }
3632 if test "x$ac_ct_CC" = x; then
3633 CC=""
3634 else
3635 case $cross_compiling:$ac_tool_warned in
3636 yes:)
3637 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
3638 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
3639 ac_tool_warned=yes ;;
3640 esac
3641 CC=$ac_ct_CC
3643 else
3644 CC="$ac_cv_prog_CC"
3647 if test -z "$CC"; then
3648 if test -n "$ac_tool_prefix"; then
3649 # Extract the first word of "${ac_tool_prefix}cc", so it can be a program name with args.
3650 set dummy ${ac_tool_prefix}cc; ac_word=$2
3651 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3652 $as_echo_n "checking for $ac_word... " >&6; }
3653 if ${ac_cv_prog_CC+:} false; then :
3654 $as_echo_n "(cached) " >&6
3655 else
3656 if test -n "$CC"; then
3657 ac_cv_prog_CC="$CC" # Let the user override the test.
3658 else
3659 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3660 for as_dir in $PATH
3662 IFS=$as_save_IFS
3663 test -z "$as_dir" && as_dir=.
3664 for ac_exec_ext in '' $ac_executable_extensions; do
3665 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
3666 ac_cv_prog_CC="${ac_tool_prefix}cc"
3667 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3668 break 2
3670 done
3671 done
3672 IFS=$as_save_IFS
3676 CC=$ac_cv_prog_CC
3677 if test -n "$CC"; then
3678 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
3679 $as_echo "$CC" >&6; }
3680 else
3681 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3682 $as_echo "no" >&6; }
3688 if test -z "$CC"; then
3689 # Extract the first word of "cc", so it can be a program name with args.
3690 set dummy cc; ac_word=$2
3691 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3692 $as_echo_n "checking for $ac_word... " >&6; }
3693 if ${ac_cv_prog_CC+:} false; then :
3694 $as_echo_n "(cached) " >&6
3695 else
3696 if test -n "$CC"; then
3697 ac_cv_prog_CC="$CC" # Let the user override the test.
3698 else
3699 ac_prog_rejected=no
3700 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3701 for as_dir in $PATH
3703 IFS=$as_save_IFS
3704 test -z "$as_dir" && as_dir=.
3705 for ac_exec_ext in '' $ac_executable_extensions; do
3706 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
3707 if test "$as_dir/$ac_word$ac_exec_ext" = "/usr/ucb/cc"; then
3708 ac_prog_rejected=yes
3709 continue
3711 ac_cv_prog_CC="cc"
3712 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3713 break 2
3715 done
3716 done
3717 IFS=$as_save_IFS
3719 if test $ac_prog_rejected = yes; then
3720 # We found a bogon in the path, so make sure we never use it.
3721 set dummy $ac_cv_prog_CC
3722 shift
3723 if test $# != 0; then
3724 # We chose a different compiler from the bogus one.
3725 # However, it has the same basename, so the bogon will be chosen
3726 # first if we set CC to just the basename; use the full file name.
3727 shift
3728 ac_cv_prog_CC="$as_dir/$ac_word${1+' '}$@"
3733 CC=$ac_cv_prog_CC
3734 if test -n "$CC"; then
3735 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
3736 $as_echo "$CC" >&6; }
3737 else
3738 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3739 $as_echo "no" >&6; }
3744 if test -z "$CC"; then
3745 if test -n "$ac_tool_prefix"; then
3746 for ac_prog in cl.exe
3748 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
3749 set dummy $ac_tool_prefix$ac_prog; ac_word=$2
3750 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3751 $as_echo_n "checking for $ac_word... " >&6; }
3752 if ${ac_cv_prog_CC+:} false; then :
3753 $as_echo_n "(cached) " >&6
3754 else
3755 if test -n "$CC"; then
3756 ac_cv_prog_CC="$CC" # Let the user override the test.
3757 else
3758 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3759 for as_dir in $PATH
3761 IFS=$as_save_IFS
3762 test -z "$as_dir" && as_dir=.
3763 for ac_exec_ext in '' $ac_executable_extensions; do
3764 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
3765 ac_cv_prog_CC="$ac_tool_prefix$ac_prog"
3766 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3767 break 2
3769 done
3770 done
3771 IFS=$as_save_IFS
3775 CC=$ac_cv_prog_CC
3776 if test -n "$CC"; then
3777 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
3778 $as_echo "$CC" >&6; }
3779 else
3780 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3781 $as_echo "no" >&6; }
3785 test -n "$CC" && break
3786 done
3788 if test -z "$CC"; then
3789 ac_ct_CC=$CC
3790 for ac_prog in cl.exe
3792 # Extract the first word of "$ac_prog", so it can be a program name with args.
3793 set dummy $ac_prog; ac_word=$2
3794 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3795 $as_echo_n "checking for $ac_word... " >&6; }
3796 if ${ac_cv_prog_ac_ct_CC+:} false; then :
3797 $as_echo_n "(cached) " >&6
3798 else
3799 if test -n "$ac_ct_CC"; then
3800 ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
3801 else
3802 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3803 for as_dir in $PATH
3805 IFS=$as_save_IFS
3806 test -z "$as_dir" && as_dir=.
3807 for ac_exec_ext in '' $ac_executable_extensions; do
3808 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
3809 ac_cv_prog_ac_ct_CC="$ac_prog"
3810 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3811 break 2
3813 done
3814 done
3815 IFS=$as_save_IFS
3819 ac_ct_CC=$ac_cv_prog_ac_ct_CC
3820 if test -n "$ac_ct_CC"; then
3821 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CC" >&5
3822 $as_echo "$ac_ct_CC" >&6; }
3823 else
3824 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3825 $as_echo "no" >&6; }
3829 test -n "$ac_ct_CC" && break
3830 done
3832 if test "x$ac_ct_CC" = x; then
3833 CC=""
3834 else
3835 case $cross_compiling:$ac_tool_warned in
3836 yes:)
3837 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
3838 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
3839 ac_tool_warned=yes ;;
3840 esac
3841 CC=$ac_ct_CC
3848 test -z "$CC" && { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
3849 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
3850 as_fn_error $? "no acceptable C compiler found in \$PATH
3851 See \`config.log' for more details" "$LINENO" 5; }
3853 # Provide some information about the compiler.
3854 $as_echo "$as_me:${as_lineno-$LINENO}: checking for C compiler version" >&5
3855 set X $ac_compile
3856 ac_compiler=$2
3857 for ac_option in --version -v -V -qversion; do
3858 { { ac_try="$ac_compiler $ac_option >&5"
3859 case "(($ac_try" in
3860 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3861 *) ac_try_echo=$ac_try;;
3862 esac
3863 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
3864 $as_echo "$ac_try_echo"; } >&5
3865 (eval "$ac_compiler $ac_option >&5") 2>conftest.err
3866 ac_status=$?
3867 if test -s conftest.err; then
3868 sed '10a\
3869 ... rest of stderr output deleted ...
3870 10q' conftest.err >conftest.er1
3871 cat conftest.er1 >&5
3873 rm -f conftest.er1 conftest.err
3874 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
3875 test $ac_status = 0; }
3876 done
3878 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3879 /* end confdefs.h. */
3882 main ()
3886 return 0;
3888 _ACEOF
3889 ac_clean_files_save=$ac_clean_files
3890 ac_clean_files="$ac_clean_files a.out a.out.dSYM a.exe b.out"
3891 # Try to create an executable without -o first, disregard a.out.
3892 # It will help us diagnose broken compilers, and finding out an intuition
3893 # of exeext.
3894 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the C compiler works" >&5
3895 $as_echo_n "checking whether the C compiler works... " >&6; }
3896 ac_link_default=`$as_echo "$ac_link" | sed 's/ -o *conftest[^ ]*//'`
3898 # The possible output files:
3899 ac_files="a.out conftest.exe conftest a.exe a_out.exe b.out conftest.*"
3901 ac_rmfiles=
3902 for ac_file in $ac_files
3904 case $ac_file in
3905 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj ) ;;
3906 * ) ac_rmfiles="$ac_rmfiles $ac_file";;
3907 esac
3908 done
3909 rm -f $ac_rmfiles
3911 if { { ac_try="$ac_link_default"
3912 case "(($ac_try" in
3913 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3914 *) ac_try_echo=$ac_try;;
3915 esac
3916 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
3917 $as_echo "$ac_try_echo"; } >&5
3918 (eval "$ac_link_default") 2>&5
3919 ac_status=$?
3920 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
3921 test $ac_status = 0; }; then :
3922 # Autoconf-2.13 could set the ac_cv_exeext variable to `no'.
3923 # So ignore a value of `no', otherwise this would lead to `EXEEXT = no'
3924 # in a Makefile. We should not override ac_cv_exeext if it was cached,
3925 # so that the user can short-circuit this test for compilers unknown to
3926 # Autoconf.
3927 for ac_file in $ac_files ''
3929 test -f "$ac_file" || continue
3930 case $ac_file in
3931 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj )
3933 [ab].out )
3934 # We found the default executable, but exeext='' is most
3935 # certainly right.
3936 break;;
3937 *.* )
3938 if test "${ac_cv_exeext+set}" = set && test "$ac_cv_exeext" != no;
3939 then :; else
3940 ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'`
3942 # We set ac_cv_exeext here because the later test for it is not
3943 # safe: cross compilers may not add the suffix if given an `-o'
3944 # argument, so we may need to know it at that point already.
3945 # Even if this section looks crufty: it has the advantage of
3946 # actually working.
3947 break;;
3949 break;;
3950 esac
3951 done
3952 test "$ac_cv_exeext" = no && ac_cv_exeext=
3954 else
3955 ac_file=''
3957 if test -z "$ac_file"; then :
3958 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3959 $as_echo "no" >&6; }
3960 $as_echo "$as_me: failed program was:" >&5
3961 sed 's/^/| /' conftest.$ac_ext >&5
3963 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
3964 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
3965 as_fn_error 77 "C compiler cannot create executables
3966 See \`config.log' for more details" "$LINENO" 5; }
3967 else
3968 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
3969 $as_echo "yes" >&6; }
3971 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for C compiler default output file name" >&5
3972 $as_echo_n "checking for C compiler default output file name... " >&6; }
3973 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_file" >&5
3974 $as_echo "$ac_file" >&6; }
3975 ac_exeext=$ac_cv_exeext
3977 rm -f -r a.out a.out.dSYM a.exe conftest$ac_cv_exeext b.out
3978 ac_clean_files=$ac_clean_files_save
3979 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for suffix of executables" >&5
3980 $as_echo_n "checking for suffix of executables... " >&6; }
3981 if { { ac_try="$ac_link"
3982 case "(($ac_try" in
3983 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3984 *) ac_try_echo=$ac_try;;
3985 esac
3986 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
3987 $as_echo "$ac_try_echo"; } >&5
3988 (eval "$ac_link") 2>&5
3989 ac_status=$?
3990 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
3991 test $ac_status = 0; }; then :
3992 # If both `conftest.exe' and `conftest' are `present' (well, observable)
3993 # catch `conftest.exe'. For instance with Cygwin, `ls conftest' will
3994 # work properly (i.e., refer to `conftest.exe'), while it won't with
3995 # `rm'.
3996 for ac_file in conftest.exe conftest conftest.*; do
3997 test -f "$ac_file" || continue
3998 case $ac_file in
3999 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj ) ;;
4000 *.* ) ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'`
4001 break;;
4002 * ) break;;
4003 esac
4004 done
4005 else
4006 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
4007 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
4008 as_fn_error $? "cannot compute suffix of executables: cannot compile and link
4009 See \`config.log' for more details" "$LINENO" 5; }
4011 rm -f conftest conftest$ac_cv_exeext
4012 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_exeext" >&5
4013 $as_echo "$ac_cv_exeext" >&6; }
4015 rm -f conftest.$ac_ext
4016 EXEEXT=$ac_cv_exeext
4017 ac_exeext=$EXEEXT
4018 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4019 /* end confdefs.h. */
4020 #include <stdio.h>
4022 main ()
4024 FILE *f = fopen ("conftest.out", "w");
4025 return ferror (f) || fclose (f) != 0;
4028 return 0;
4030 _ACEOF
4031 ac_clean_files="$ac_clean_files conftest.out"
4032 # Check that the compiler produces executables we can run. If not, either
4033 # the compiler is broken, or we cross compile.
4034 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are cross compiling" >&5
4035 $as_echo_n "checking whether we are cross compiling... " >&6; }
4036 if test "$cross_compiling" != yes; then
4037 { { ac_try="$ac_link"
4038 case "(($ac_try" in
4039 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
4040 *) ac_try_echo=$ac_try;;
4041 esac
4042 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
4043 $as_echo "$ac_try_echo"; } >&5
4044 (eval "$ac_link") 2>&5
4045 ac_status=$?
4046 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
4047 test $ac_status = 0; }
4048 if { ac_try='./conftest$ac_cv_exeext'
4049 { { case "(($ac_try" in
4050 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
4051 *) ac_try_echo=$ac_try;;
4052 esac
4053 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
4054 $as_echo "$ac_try_echo"; } >&5
4055 (eval "$ac_try") 2>&5
4056 ac_status=$?
4057 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
4058 test $ac_status = 0; }; }; then
4059 cross_compiling=no
4060 else
4061 if test "$cross_compiling" = maybe; then
4062 cross_compiling=yes
4063 else
4064 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
4065 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
4066 as_fn_error $? "cannot run C compiled programs.
4067 If you meant to cross compile, use \`--host'.
4068 See \`config.log' for more details" "$LINENO" 5; }
4072 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $cross_compiling" >&5
4073 $as_echo "$cross_compiling" >&6; }
4075 rm -f conftest.$ac_ext conftest$ac_cv_exeext conftest.out
4076 ac_clean_files=$ac_clean_files_save
4077 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for suffix of object files" >&5
4078 $as_echo_n "checking for suffix of object files... " >&6; }
4079 if ${ac_cv_objext+:} false; then :
4080 $as_echo_n "(cached) " >&6
4081 else
4082 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4083 /* end confdefs.h. */
4086 main ()
4090 return 0;
4092 _ACEOF
4093 rm -f conftest.o conftest.obj
4094 if { { ac_try="$ac_compile"
4095 case "(($ac_try" in
4096 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
4097 *) ac_try_echo=$ac_try;;
4098 esac
4099 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
4100 $as_echo "$ac_try_echo"; } >&5
4101 (eval "$ac_compile") 2>&5
4102 ac_status=$?
4103 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
4104 test $ac_status = 0; }; then :
4105 for ac_file in conftest.o conftest.obj conftest.*; do
4106 test -f "$ac_file" || continue;
4107 case $ac_file in
4108 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM ) ;;
4109 *) ac_cv_objext=`expr "$ac_file" : '.*\.\(.*\)'`
4110 break;;
4111 esac
4112 done
4113 else
4114 $as_echo "$as_me: failed program was:" >&5
4115 sed 's/^/| /' conftest.$ac_ext >&5
4117 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
4118 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
4119 as_fn_error $? "cannot compute suffix of object files: cannot compile
4120 See \`config.log' for more details" "$LINENO" 5; }
4122 rm -f conftest.$ac_cv_objext conftest.$ac_ext
4124 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_objext" >&5
4125 $as_echo "$ac_cv_objext" >&6; }
4126 OBJEXT=$ac_cv_objext
4127 ac_objext=$OBJEXT
4128 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are using the GNU C compiler" >&5
4129 $as_echo_n "checking whether we are using the GNU C compiler... " >&6; }
4130 if ${ac_cv_c_compiler_gnu+:} false; then :
4131 $as_echo_n "(cached) " >&6
4132 else
4133 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4134 /* end confdefs.h. */
4137 main ()
4139 #ifndef __GNUC__
4140 choke me
4141 #endif
4144 return 0;
4146 _ACEOF
4147 if ac_fn_c_try_compile "$LINENO"; then :
4148 ac_compiler_gnu=yes
4149 else
4150 ac_compiler_gnu=no
4152 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4153 ac_cv_c_compiler_gnu=$ac_compiler_gnu
4156 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_compiler_gnu" >&5
4157 $as_echo "$ac_cv_c_compiler_gnu" >&6; }
4158 if test $ac_compiler_gnu = yes; then
4159 GCC=yes
4160 else
4161 GCC=
4163 ac_test_CFLAGS=${CFLAGS+set}
4164 ac_save_CFLAGS=$CFLAGS
4165 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CC accepts -g" >&5
4166 $as_echo_n "checking whether $CC accepts -g... " >&6; }
4167 if ${ac_cv_prog_cc_g+:} false; then :
4168 $as_echo_n "(cached) " >&6
4169 else
4170 ac_save_c_werror_flag=$ac_c_werror_flag
4171 ac_c_werror_flag=yes
4172 ac_cv_prog_cc_g=no
4173 CFLAGS="-g"
4174 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4175 /* end confdefs.h. */
4178 main ()
4182 return 0;
4184 _ACEOF
4185 if ac_fn_c_try_compile "$LINENO"; then :
4186 ac_cv_prog_cc_g=yes
4187 else
4188 CFLAGS=""
4189 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4190 /* end confdefs.h. */
4193 main ()
4197 return 0;
4199 _ACEOF
4200 if ac_fn_c_try_compile "$LINENO"; then :
4202 else
4203 ac_c_werror_flag=$ac_save_c_werror_flag
4204 CFLAGS="-g"
4205 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4206 /* end confdefs.h. */
4209 main ()
4213 return 0;
4215 _ACEOF
4216 if ac_fn_c_try_compile "$LINENO"; then :
4217 ac_cv_prog_cc_g=yes
4219 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4221 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4223 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4224 ac_c_werror_flag=$ac_save_c_werror_flag
4226 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_g" >&5
4227 $as_echo "$ac_cv_prog_cc_g" >&6; }
4228 if test "$ac_test_CFLAGS" = set; then
4229 CFLAGS=$ac_save_CFLAGS
4230 elif test $ac_cv_prog_cc_g = yes; then
4231 if test "$GCC" = yes; then
4232 CFLAGS="-g -O2"
4233 else
4234 CFLAGS="-g"
4236 else
4237 if test "$GCC" = yes; then
4238 CFLAGS="-O2"
4239 else
4240 CFLAGS=
4243 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $CC option to accept ISO C89" >&5
4244 $as_echo_n "checking for $CC option to accept ISO C89... " >&6; }
4245 if ${ac_cv_prog_cc_c89+:} false; then :
4246 $as_echo_n "(cached) " >&6
4247 else
4248 ac_cv_prog_cc_c89=no
4249 ac_save_CC=$CC
4250 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4251 /* end confdefs.h. */
4252 #include <stdarg.h>
4253 #include <stdio.h>
4254 struct stat;
4255 /* Most of the following tests are stolen from RCS 5.7's src/conf.sh. */
4256 struct buf { int x; };
4257 FILE * (*rcsopen) (struct buf *, struct stat *, int);
4258 static char *e (p, i)
4259 char **p;
4260 int i;
4262 return p[i];
4264 static char *f (char * (*g) (char **, int), char **p, ...)
4266 char *s;
4267 va_list v;
4268 va_start (v,p);
4269 s = g (p, va_arg (v,int));
4270 va_end (v);
4271 return s;
4274 /* OSF 4.0 Compaq cc is some sort of almost-ANSI by default. It has
4275 function prototypes and stuff, but not '\xHH' hex character constants.
4276 These don't provoke an error unfortunately, instead are silently treated
4277 as 'x'. The following induces an error, until -std is added to get
4278 proper ANSI mode. Curiously '\x00'!='x' always comes out true, for an
4279 array size at least. It's necessary to write '\x00'==0 to get something
4280 that's true only with -std. */
4281 int osf4_cc_array ['\x00' == 0 ? 1 : -1];
4283 /* IBM C 6 for AIX is almost-ANSI by default, but it replaces macro parameters
4284 inside strings and character constants. */
4285 #define FOO(x) 'x'
4286 int xlc6_cc_array[FOO(a) == 'x' ? 1 : -1];
4288 int test (int i, double x);
4289 struct s1 {int (*f) (int a);};
4290 struct s2 {int (*f) (double a);};
4291 int pairnames (int, char **, FILE *(*)(struct buf *, struct stat *, int), int, int);
4292 int argc;
4293 char **argv;
4295 main ()
4297 return f (e, argv, 0) != argv[0] || f (e, argv, 1) != argv[1];
4299 return 0;
4301 _ACEOF
4302 for ac_arg in '' -qlanglvl=extc89 -qlanglvl=ansi -std \
4303 -Ae "-Aa -D_HPUX_SOURCE" "-Xc -D__EXTENSIONS__"
4305 CC="$ac_save_CC $ac_arg"
4306 if ac_fn_c_try_compile "$LINENO"; then :
4307 ac_cv_prog_cc_c89=$ac_arg
4309 rm -f core conftest.err conftest.$ac_objext
4310 test "x$ac_cv_prog_cc_c89" != "xno" && break
4311 done
4312 rm -f conftest.$ac_ext
4313 CC=$ac_save_CC
4316 # AC_CACHE_VAL
4317 case "x$ac_cv_prog_cc_c89" in
4319 { $as_echo "$as_me:${as_lineno-$LINENO}: result: none needed" >&5
4320 $as_echo "none needed" >&6; } ;;
4321 xno)
4322 { $as_echo "$as_me:${as_lineno-$LINENO}: result: unsupported" >&5
4323 $as_echo "unsupported" >&6; } ;;
4325 CC="$CC $ac_cv_prog_cc_c89"
4326 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_c89" >&5
4327 $as_echo "$ac_cv_prog_cc_c89" >&6; } ;;
4328 esac
4329 if test "x$ac_cv_prog_cc_c89" != xno; then :
4333 ac_ext=c
4334 ac_cpp='$CPP $CPPFLAGS'
4335 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
4336 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
4337 ac_compiler_gnu=$ac_cv_c_compiler_gnu
4339 ac_ext=cpp
4340 ac_cpp='$CXXCPP $CPPFLAGS'
4341 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
4342 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
4343 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
4344 if test -z "$CXX"; then
4345 if test -n "$CCC"; then
4346 CXX=$CCC
4347 else
4348 if test -n "$ac_tool_prefix"; then
4349 for ac_prog in g++ c++ gpp aCC CC cxx cc++ cl.exe FCC KCC RCC xlC_r xlC
4351 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
4352 set dummy $ac_tool_prefix$ac_prog; ac_word=$2
4353 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4354 $as_echo_n "checking for $ac_word... " >&6; }
4355 if ${ac_cv_prog_CXX+:} false; then :
4356 $as_echo_n "(cached) " >&6
4357 else
4358 if test -n "$CXX"; then
4359 ac_cv_prog_CXX="$CXX" # Let the user override the test.
4360 else
4361 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4362 for as_dir in $PATH
4364 IFS=$as_save_IFS
4365 test -z "$as_dir" && as_dir=.
4366 for ac_exec_ext in '' $ac_executable_extensions; do
4367 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
4368 ac_cv_prog_CXX="$ac_tool_prefix$ac_prog"
4369 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4370 break 2
4372 done
4373 done
4374 IFS=$as_save_IFS
4378 CXX=$ac_cv_prog_CXX
4379 if test -n "$CXX"; then
4380 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CXX" >&5
4381 $as_echo "$CXX" >&6; }
4382 else
4383 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4384 $as_echo "no" >&6; }
4388 test -n "$CXX" && break
4389 done
4391 if test -z "$CXX"; then
4392 ac_ct_CXX=$CXX
4393 for ac_prog in g++ c++ gpp aCC CC cxx cc++ cl.exe FCC KCC RCC xlC_r xlC
4395 # Extract the first word of "$ac_prog", so it can be a program name with args.
4396 set dummy $ac_prog; ac_word=$2
4397 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4398 $as_echo_n "checking for $ac_word... " >&6; }
4399 if ${ac_cv_prog_ac_ct_CXX+:} false; then :
4400 $as_echo_n "(cached) " >&6
4401 else
4402 if test -n "$ac_ct_CXX"; then
4403 ac_cv_prog_ac_ct_CXX="$ac_ct_CXX" # Let the user override the test.
4404 else
4405 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4406 for as_dir in $PATH
4408 IFS=$as_save_IFS
4409 test -z "$as_dir" && as_dir=.
4410 for ac_exec_ext in '' $ac_executable_extensions; do
4411 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
4412 ac_cv_prog_ac_ct_CXX="$ac_prog"
4413 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4414 break 2
4416 done
4417 done
4418 IFS=$as_save_IFS
4422 ac_ct_CXX=$ac_cv_prog_ac_ct_CXX
4423 if test -n "$ac_ct_CXX"; then
4424 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CXX" >&5
4425 $as_echo "$ac_ct_CXX" >&6; }
4426 else
4427 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4428 $as_echo "no" >&6; }
4432 test -n "$ac_ct_CXX" && break
4433 done
4435 if test "x$ac_ct_CXX" = x; then
4436 CXX="g++"
4437 else
4438 case $cross_compiling:$ac_tool_warned in
4439 yes:)
4440 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
4441 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
4442 ac_tool_warned=yes ;;
4443 esac
4444 CXX=$ac_ct_CXX
4450 # Provide some information about the compiler.
4451 $as_echo "$as_me:${as_lineno-$LINENO}: checking for C++ compiler version" >&5
4452 set X $ac_compile
4453 ac_compiler=$2
4454 for ac_option in --version -v -V -qversion; do
4455 { { ac_try="$ac_compiler $ac_option >&5"
4456 case "(($ac_try" in
4457 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
4458 *) ac_try_echo=$ac_try;;
4459 esac
4460 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
4461 $as_echo "$ac_try_echo"; } >&5
4462 (eval "$ac_compiler $ac_option >&5") 2>conftest.err
4463 ac_status=$?
4464 if test -s conftest.err; then
4465 sed '10a\
4466 ... rest of stderr output deleted ...
4467 10q' conftest.err >conftest.er1
4468 cat conftest.er1 >&5
4470 rm -f conftest.er1 conftest.err
4471 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
4472 test $ac_status = 0; }
4473 done
4475 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are using the GNU C++ compiler" >&5
4476 $as_echo_n "checking whether we are using the GNU C++ compiler... " >&6; }
4477 if ${ac_cv_cxx_compiler_gnu+:} false; then :
4478 $as_echo_n "(cached) " >&6
4479 else
4480 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4481 /* end confdefs.h. */
4484 main ()
4486 #ifndef __GNUC__
4487 choke me
4488 #endif
4491 return 0;
4493 _ACEOF
4494 if ac_fn_cxx_try_compile "$LINENO"; then :
4495 ac_compiler_gnu=yes
4496 else
4497 ac_compiler_gnu=no
4499 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4500 ac_cv_cxx_compiler_gnu=$ac_compiler_gnu
4503 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cxx_compiler_gnu" >&5
4504 $as_echo "$ac_cv_cxx_compiler_gnu" >&6; }
4505 if test $ac_compiler_gnu = yes; then
4506 GXX=yes
4507 else
4508 GXX=
4510 ac_test_CXXFLAGS=${CXXFLAGS+set}
4511 ac_save_CXXFLAGS=$CXXFLAGS
4512 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CXX accepts -g" >&5
4513 $as_echo_n "checking whether $CXX accepts -g... " >&6; }
4514 if ${ac_cv_prog_cxx_g+:} false; then :
4515 $as_echo_n "(cached) " >&6
4516 else
4517 ac_save_cxx_werror_flag=$ac_cxx_werror_flag
4518 ac_cxx_werror_flag=yes
4519 ac_cv_prog_cxx_g=no
4520 CXXFLAGS="-g"
4521 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4522 /* end confdefs.h. */
4525 main ()
4529 return 0;
4531 _ACEOF
4532 if ac_fn_cxx_try_compile "$LINENO"; then :
4533 ac_cv_prog_cxx_g=yes
4534 else
4535 CXXFLAGS=""
4536 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4537 /* end confdefs.h. */
4540 main ()
4544 return 0;
4546 _ACEOF
4547 if ac_fn_cxx_try_compile "$LINENO"; then :
4549 else
4550 ac_cxx_werror_flag=$ac_save_cxx_werror_flag
4551 CXXFLAGS="-g"
4552 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4553 /* end confdefs.h. */
4556 main ()
4560 return 0;
4562 _ACEOF
4563 if ac_fn_cxx_try_compile "$LINENO"; then :
4564 ac_cv_prog_cxx_g=yes
4566 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4568 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4570 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4571 ac_cxx_werror_flag=$ac_save_cxx_werror_flag
4573 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cxx_g" >&5
4574 $as_echo "$ac_cv_prog_cxx_g" >&6; }
4575 if test "$ac_test_CXXFLAGS" = set; then
4576 CXXFLAGS=$ac_save_CXXFLAGS
4577 elif test $ac_cv_prog_cxx_g = yes; then
4578 if test "$GXX" = yes; then
4579 CXXFLAGS="-g -O2"
4580 else
4581 CXXFLAGS="-g"
4583 else
4584 if test "$GXX" = yes; then
4585 CXXFLAGS="-O2"
4586 else
4587 CXXFLAGS=
4590 ac_ext=c
4591 ac_cpp='$CPP $CPPFLAGS'
4592 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
4593 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
4594 ac_compiler_gnu=$ac_cv_c_compiler_gnu
4596 if test -n "$ac_tool_prefix"; then
4597 # Extract the first word of "${ac_tool_prefix}cpp", so it can be a program name with args.
4598 set dummy ${ac_tool_prefix}cpp; ac_word=$2
4599 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4600 $as_echo_n "checking for $ac_word... " >&6; }
4601 if ${ac_cv_prog_CPPBIN+:} false; then :
4602 $as_echo_n "(cached) " >&6
4603 else
4604 if test -n "$CPPBIN"; then
4605 ac_cv_prog_CPPBIN="$CPPBIN" # Let the user override the test.
4606 else
4607 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4608 for as_dir in $PATH
4610 IFS=$as_save_IFS
4611 test -z "$as_dir" && as_dir=.
4612 for ac_exec_ext in '' $ac_executable_extensions; do
4613 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
4614 ac_cv_prog_CPPBIN="${ac_tool_prefix}cpp"
4615 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4616 break 2
4618 done
4619 done
4620 IFS=$as_save_IFS
4624 CPPBIN=$ac_cv_prog_CPPBIN
4625 if test -n "$CPPBIN"; then
4626 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CPPBIN" >&5
4627 $as_echo "$CPPBIN" >&6; }
4628 else
4629 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4630 $as_echo "no" >&6; }
4635 if test -z "$ac_cv_prog_CPPBIN"; then
4636 ac_ct_CPPBIN=$CPPBIN
4637 # Extract the first word of "cpp", so it can be a program name with args.
4638 set dummy cpp; ac_word=$2
4639 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4640 $as_echo_n "checking for $ac_word... " >&6; }
4641 if ${ac_cv_prog_ac_ct_CPPBIN+:} false; then :
4642 $as_echo_n "(cached) " >&6
4643 else
4644 if test -n "$ac_ct_CPPBIN"; then
4645 ac_cv_prog_ac_ct_CPPBIN="$ac_ct_CPPBIN" # Let the user override the test.
4646 else
4647 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4648 for as_dir in $PATH
4650 IFS=$as_save_IFS
4651 test -z "$as_dir" && as_dir=.
4652 for ac_exec_ext in '' $ac_executable_extensions; do
4653 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
4654 ac_cv_prog_ac_ct_CPPBIN="cpp"
4655 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4656 break 2
4658 done
4659 done
4660 IFS=$as_save_IFS
4664 ac_ct_CPPBIN=$ac_cv_prog_ac_ct_CPPBIN
4665 if test -n "$ac_ct_CPPBIN"; then
4666 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CPPBIN" >&5
4667 $as_echo "$ac_ct_CPPBIN" >&6; }
4668 else
4669 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4670 $as_echo "no" >&6; }
4673 if test "x$ac_ct_CPPBIN" = x; then
4674 CPPBIN="cpp"
4675 else
4676 case $cross_compiling:$ac_tool_warned in
4677 yes:)
4678 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
4679 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
4680 ac_tool_warned=yes ;;
4681 esac
4682 CPPBIN=$ac_ct_CPPBIN
4684 else
4685 CPPBIN="$ac_cv_prog_CPPBIN"
4689 cat >>confdefs.h <<_ACEOF
4690 #define EXEEXT "$ac_exeext"
4691 _ACEOF
4694 case $host in
4695 *-darwin*)
4696 if test "x$enable_win64" = "xyes"
4697 then
4698 CC="$CC -m64"
4699 CXX="$CXX -m64"
4700 host_cpu="x86_64"
4701 notice_platform="64-bit "
4702 TARGETFLAGS="-m64"
4704 else
4705 CC="$CC -m32"
4706 CXX="$CXX -m32"
4707 host_cpu="i386"
4708 notice_platform="32-bit "
4709 TARGETFLAGS="-m32"
4711 enable_win16=${enable_win16:-yes}
4713 with_fontconfig=${with_fontconfig:-no}
4715 x86_64*)
4716 if test "x$enable_win64" != "xyes" -a "$cross_compiling" != "yes"
4717 then
4718 CC="$CC -m32"
4719 CXX="$CXX -m32"
4720 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CC works" >&5
4721 $as_echo_n "checking whether $CC works... " >&6; }
4723 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4724 /* end confdefs.h. */
4727 main ()
4731 return 0;
4733 _ACEOF
4734 if ac_fn_c_try_link "$LINENO"; then :
4735 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
4736 $as_echo "yes" >&6; }
4737 else
4738 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4739 $as_echo "no" >&6; }
4740 as_fn_error $? "Cannot build a 32-bit program, you need to install 32-bit development libraries." "$LINENO" 5
4742 rm -f core conftest.err conftest.$ac_objext \
4743 conftest$ac_exeext conftest.$ac_ext
4744 host_cpu="i386"
4745 notice_platform="32-bit "
4746 TARGETFLAGS="-m32"
4748 enable_win16=${enable_win16:-yes}
4749 else
4750 if test "x${GCC}" = "xyes"
4751 then
4752 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CC supports __builtin_ms_va_list" >&5
4753 $as_echo_n "checking whether $CC supports __builtin_ms_va_list... " >&6; }
4754 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4755 /* end confdefs.h. */
4756 #include <stdarg.h>
4758 main ()
4760 void func(__builtin_ms_va_list *args);
4762 return 0;
4764 _ACEOF
4765 if ac_fn_c_try_compile "$LINENO"; then :
4766 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
4767 $as_echo "yes" >&6; }
4768 else
4769 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4770 $as_echo "no" >&6; }
4771 as_fn_error $? "You need gcc >= 4.4 to build Wine as 64-bit." "$LINENO" 5
4773 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4775 TARGETFLAGS="-m64"
4779 arm*)
4780 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CC supports Thumb" >&5
4781 $as_echo_n "checking whether $CC supports Thumb... " >&6; }
4782 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4783 /* end confdefs.h. */
4784 int ac_test(int i) { return i; }
4786 main ()
4788 asm(".thumb\nblx ac_test\n.arm"); if (ac_test(1)) return 1
4790 return 0;
4792 _ACEOF
4793 if ac_fn_c_try_link "$LINENO"; then :
4794 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
4795 $as_echo "yes" >&6; }
4796 else
4797 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4798 $as_echo "no" >&6; }
4799 as_fn_error $? "You need a target with Thumb support to build Wine for ARM." "$LINENO" 5
4801 rm -f core conftest.err conftest.$ac_objext \
4802 conftest$ac_exeext conftest.$ac_ext
4803 CFLAGS="$CFLAGS -marm"
4804 TARGETFLAGS="-marm"
4807 *-mingw32*|*-cygwin*)
4808 enable_win16=${enable_win16:-no}
4809 CFLAGS="$CFLAGS -D_WIN32"
4811 i[3456789]86*)
4812 enable_win16=${enable_win16:-yes}
4814 esac
4816 enable_win16=${enable_win16:-no}
4817 enable_win64=${enable_win64:-no}
4819 enable_winetest=${enable_winetest:-$enable_tests}
4821 if test -n "$with_wine64"
4822 then
4823 if test "x$enable_win64" = "xyes"
4824 then
4825 as_fn_error $? "--enable-win64 and --with-wine64 are mutually exclusive.
4826 --enable-win64 should be used in the 64-bit build tree, --with-wine64 in the 32-bit Wow64 build tree." "$LINENO" 5
4828 enable_fonts=${enable_fonts:-no}
4829 enable_server=${enable_server:-no}
4830 elif test "x$enable_win64" = "xyes"
4831 then
4832 test "x$libdir" != "x\${exec_prefix}/lib" || libdir="\${exec_prefix}/lib64"
4835 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for the directory containing the Wine tools" >&5
4836 $as_echo_n "checking for the directory containing the Wine tools... " >&6; }
4837 if ${wine_cv_toolsdir+:} false; then :
4838 $as_echo_n "(cached) " >&6
4839 else
4840 wine_cv_toolsdir="$with_wine_tools"
4841 if test -z "$with_wine_tools"; then
4842 if test "$cross_compiling" = "yes"; then
4843 as_fn_error $? "you must use the --with-wine-tools option when cross-compiling." "$LINENO" 5
4844 elif test -n "$with_wine64"; then
4845 wine_cv_toolsdir="$with_wine64"
4848 if test -z "$wine_cv_toolsdir"; then
4849 wine_makedep=tools/makedep
4850 wine_cv_toolsdir="\$(top_builddir)"
4851 elif test -d "$wine_cv_toolsdir/tools/winebuild"; then
4852 wine_makedep=$wine_cv_toolsdir/tools/makedep
4853 case "$wine_cv_toolsdir" in
4854 /*) ;;
4855 *) wine_cv_toolsdir="\$(top_builddir)/$wine_cv_toolsdir" ;;
4856 esac
4857 enable_tools=${enable_tools:-no}
4858 test -f "$wine_makedep" || as_fn_error $? "the Wine tools have not yet been built in $wine_cv_toolsdir" "$LINENO" 5
4859 else
4860 as_fn_error $? "could not find Wine tools in $wine_cv_toolsdir" "$LINENO" 5
4863 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $wine_cv_toolsdir" >&5
4864 $as_echo "$wine_cv_toolsdir" >&6; }
4865 TOOLSDIR=$wine_cv_toolsdir
4867 if test -n "$host_alias" -a "$host_alias" != "$build_alias"
4868 then
4869 TARGETFLAGS="-b $host_alias $TARGETFLAGS"
4873 for ac_prog in flex
4875 # Extract the first word of "$ac_prog", so it can be a program name with args.
4876 set dummy $ac_prog; ac_word=$2
4877 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4878 $as_echo_n "checking for $ac_word... " >&6; }
4879 if ${ac_cv_prog_FLEX+:} false; then :
4880 $as_echo_n "(cached) " >&6
4881 else
4882 if test -n "$FLEX"; then
4883 ac_cv_prog_FLEX="$FLEX" # Let the user override the test.
4884 else
4885 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4886 for as_dir in $PATH
4888 IFS=$as_save_IFS
4889 test -z "$as_dir" && as_dir=.
4890 for ac_exec_ext in '' $ac_executable_extensions; do
4891 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
4892 ac_cv_prog_FLEX="$ac_prog"
4893 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4894 break 2
4896 done
4897 done
4898 IFS=$as_save_IFS
4902 FLEX=$ac_cv_prog_FLEX
4903 if test -n "$FLEX"; then
4904 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $FLEX" >&5
4905 $as_echo "$FLEX" >&6; }
4906 else
4907 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4908 $as_echo "no" >&6; }
4912 test -n "$FLEX" && break
4913 done
4914 test -n "$FLEX" || FLEX="none"
4916 if test "$FLEX" = "none"
4917 then
4918 as_fn_error $? "no suitable flex found. Please install the 'flex' package." "$LINENO" 5
4920 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether flex is recent enough" >&5
4921 $as_echo_n "checking whether flex is recent enough... " >&6; }
4922 cat >conftest.l <<EOF
4923 %top{
4924 #include "prediluvian.h"
4928 if $FLEX -t conftest.l >/dev/null 2>&5
4929 then
4930 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
4931 $as_echo "yes" >&6; }
4932 else
4933 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4934 $as_echo "no" >&6; }
4935 as_fn_error $? "Your flex version is too old. Please install flex version 2.5.33 or newer." "$LINENO" 5
4938 for ac_prog in bison
4940 # Extract the first word of "$ac_prog", so it can be a program name with args.
4941 set dummy $ac_prog; ac_word=$2
4942 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4943 $as_echo_n "checking for $ac_word... " >&6; }
4944 if ${ac_cv_prog_BISON+:} false; then :
4945 $as_echo_n "(cached) " >&6
4946 else
4947 if test -n "$BISON"; then
4948 ac_cv_prog_BISON="$BISON" # Let the user override the test.
4949 else
4950 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4951 for as_dir in $PATH
4953 IFS=$as_save_IFS
4954 test -z "$as_dir" && as_dir=.
4955 for ac_exec_ext in '' $ac_executable_extensions; do
4956 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
4957 ac_cv_prog_BISON="$ac_prog"
4958 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4959 break 2
4961 done
4962 done
4963 IFS=$as_save_IFS
4967 BISON=$ac_cv_prog_BISON
4968 if test -n "$BISON"; then
4969 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $BISON" >&5
4970 $as_echo "$BISON" >&6; }
4971 else
4972 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4973 $as_echo "no" >&6; }
4977 test -n "$BISON" && break
4978 done
4979 test -n "$BISON" || BISON="none"
4981 if test "$BISON" = "none"
4982 then
4983 as_fn_error $? "no suitable bison found. Please install the 'bison' package." "$LINENO" 5
4986 if test -n "$ac_tool_prefix"; then
4987 for ac_prog in ar gar
4989 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
4990 set dummy $ac_tool_prefix$ac_prog; ac_word=$2
4991 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4992 $as_echo_n "checking for $ac_word... " >&6; }
4993 if ${ac_cv_prog_AR+:} false; then :
4994 $as_echo_n "(cached) " >&6
4995 else
4996 if test -n "$AR"; then
4997 ac_cv_prog_AR="$AR" # Let the user override the test.
4998 else
4999 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5000 for as_dir in $PATH
5002 IFS=$as_save_IFS
5003 test -z "$as_dir" && as_dir=.
5004 for ac_exec_ext in '' $ac_executable_extensions; do
5005 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
5006 ac_cv_prog_AR="$ac_tool_prefix$ac_prog"
5007 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5008 break 2
5010 done
5011 done
5012 IFS=$as_save_IFS
5016 AR=$ac_cv_prog_AR
5017 if test -n "$AR"; then
5018 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $AR" >&5
5019 $as_echo "$AR" >&6; }
5020 else
5021 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5022 $as_echo "no" >&6; }
5026 test -n "$AR" && break
5027 done
5029 if test -z "$AR"; then
5030 ac_ct_AR=$AR
5031 for ac_prog in ar gar
5033 # Extract the first word of "$ac_prog", so it can be a program name with args.
5034 set dummy $ac_prog; ac_word=$2
5035 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5036 $as_echo_n "checking for $ac_word... " >&6; }
5037 if ${ac_cv_prog_ac_ct_AR+:} false; then :
5038 $as_echo_n "(cached) " >&6
5039 else
5040 if test -n "$ac_ct_AR"; then
5041 ac_cv_prog_ac_ct_AR="$ac_ct_AR" # Let the user override the test.
5042 else
5043 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5044 for as_dir in $PATH
5046 IFS=$as_save_IFS
5047 test -z "$as_dir" && as_dir=.
5048 for ac_exec_ext in '' $ac_executable_extensions; do
5049 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
5050 ac_cv_prog_ac_ct_AR="$ac_prog"
5051 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5052 break 2
5054 done
5055 done
5056 IFS=$as_save_IFS
5060 ac_ct_AR=$ac_cv_prog_ac_ct_AR
5061 if test -n "$ac_ct_AR"; then
5062 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_AR" >&5
5063 $as_echo "$ac_ct_AR" >&6; }
5064 else
5065 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5066 $as_echo "no" >&6; }
5070 test -n "$ac_ct_AR" && break
5071 done
5073 if test "x$ac_ct_AR" = x; then
5074 AR="ar"
5075 else
5076 case $cross_compiling:$ac_tool_warned in
5077 yes:)
5078 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
5079 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
5080 ac_tool_warned=yes ;;
5081 esac
5082 AR=$ac_ct_AR
5086 if test -n "$ac_tool_prefix"; then
5087 # Extract the first word of "${ac_tool_prefix}strip", so it can be a program name with args.
5088 set dummy ${ac_tool_prefix}strip; ac_word=$2
5089 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5090 $as_echo_n "checking for $ac_word... " >&6; }
5091 if ${ac_cv_prog_STRIP+:} false; then :
5092 $as_echo_n "(cached) " >&6
5093 else
5094 if test -n "$STRIP"; then
5095 ac_cv_prog_STRIP="$STRIP" # Let the user override the test.
5096 else
5097 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5098 for as_dir in $PATH
5100 IFS=$as_save_IFS
5101 test -z "$as_dir" && as_dir=.
5102 for ac_exec_ext in '' $ac_executable_extensions; do
5103 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
5104 ac_cv_prog_STRIP="${ac_tool_prefix}strip"
5105 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5106 break 2
5108 done
5109 done
5110 IFS=$as_save_IFS
5114 STRIP=$ac_cv_prog_STRIP
5115 if test -n "$STRIP"; then
5116 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $STRIP" >&5
5117 $as_echo "$STRIP" >&6; }
5118 else
5119 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5120 $as_echo "no" >&6; }
5125 if test -z "$ac_cv_prog_STRIP"; then
5126 ac_ct_STRIP=$STRIP
5127 # Extract the first word of "strip", so it can be a program name with args.
5128 set dummy strip; ac_word=$2
5129 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5130 $as_echo_n "checking for $ac_word... " >&6; }
5131 if ${ac_cv_prog_ac_ct_STRIP+:} false; then :
5132 $as_echo_n "(cached) " >&6
5133 else
5134 if test -n "$ac_ct_STRIP"; then
5135 ac_cv_prog_ac_ct_STRIP="$ac_ct_STRIP" # Let the user override the test.
5136 else
5137 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5138 for as_dir in $PATH
5140 IFS=$as_save_IFS
5141 test -z "$as_dir" && as_dir=.
5142 for ac_exec_ext in '' $ac_executable_extensions; do
5143 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
5144 ac_cv_prog_ac_ct_STRIP="strip"
5145 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5146 break 2
5148 done
5149 done
5150 IFS=$as_save_IFS
5154 ac_ct_STRIP=$ac_cv_prog_ac_ct_STRIP
5155 if test -n "$ac_ct_STRIP"; then
5156 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_STRIP" >&5
5157 $as_echo "$ac_ct_STRIP" >&6; }
5158 else
5159 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5160 $as_echo "no" >&6; }
5163 if test "x$ac_ct_STRIP" = x; then
5164 STRIP="strip"
5165 else
5166 case $cross_compiling:$ac_tool_warned in
5167 yes:)
5168 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
5169 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
5170 ac_tool_warned=yes ;;
5171 esac
5172 STRIP=$ac_ct_STRIP
5174 else
5175 STRIP="$ac_cv_prog_STRIP"
5178 ARFLAGS=rc
5180 if test -n "$ac_tool_prefix"; then
5181 # Extract the first word of "${ac_tool_prefix}ranlib", so it can be a program name with args.
5182 set dummy ${ac_tool_prefix}ranlib; ac_word=$2
5183 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5184 $as_echo_n "checking for $ac_word... " >&6; }
5185 if ${ac_cv_prog_RANLIB+:} false; then :
5186 $as_echo_n "(cached) " >&6
5187 else
5188 if test -n "$RANLIB"; then
5189 ac_cv_prog_RANLIB="$RANLIB" # Let the user override the test.
5190 else
5191 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5192 for as_dir in $PATH
5194 IFS=$as_save_IFS
5195 test -z "$as_dir" && as_dir=.
5196 for ac_exec_ext in '' $ac_executable_extensions; do
5197 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
5198 ac_cv_prog_RANLIB="${ac_tool_prefix}ranlib"
5199 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5200 break 2
5202 done
5203 done
5204 IFS=$as_save_IFS
5208 RANLIB=$ac_cv_prog_RANLIB
5209 if test -n "$RANLIB"; then
5210 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $RANLIB" >&5
5211 $as_echo "$RANLIB" >&6; }
5212 else
5213 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5214 $as_echo "no" >&6; }
5219 if test -z "$ac_cv_prog_RANLIB"; then
5220 ac_ct_RANLIB=$RANLIB
5221 # Extract the first word of "ranlib", so it can be a program name with args.
5222 set dummy ranlib; ac_word=$2
5223 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5224 $as_echo_n "checking for $ac_word... " >&6; }
5225 if ${ac_cv_prog_ac_ct_RANLIB+:} false; then :
5226 $as_echo_n "(cached) " >&6
5227 else
5228 if test -n "$ac_ct_RANLIB"; then
5229 ac_cv_prog_ac_ct_RANLIB="$ac_ct_RANLIB" # Let the user override the test.
5230 else
5231 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5232 for as_dir in $PATH
5234 IFS=$as_save_IFS
5235 test -z "$as_dir" && as_dir=.
5236 for ac_exec_ext in '' $ac_executable_extensions; do
5237 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
5238 ac_cv_prog_ac_ct_RANLIB="ranlib"
5239 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5240 break 2
5242 done
5243 done
5244 IFS=$as_save_IFS
5248 ac_ct_RANLIB=$ac_cv_prog_ac_ct_RANLIB
5249 if test -n "$ac_ct_RANLIB"; then
5250 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_RANLIB" >&5
5251 $as_echo "$ac_ct_RANLIB" >&6; }
5252 else
5253 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5254 $as_echo "no" >&6; }
5257 if test "x$ac_ct_RANLIB" = x; then
5258 RANLIB=":"
5259 else
5260 case $cross_compiling:$ac_tool_warned in
5261 yes:)
5262 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
5263 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
5264 ac_tool_warned=yes ;;
5265 esac
5266 RANLIB=$ac_ct_RANLIB
5268 else
5269 RANLIB="$ac_cv_prog_RANLIB"
5272 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ln -s works" >&5
5273 $as_echo_n "checking whether ln -s works... " >&6; }
5274 LN_S=$as_ln_s
5275 if test "$LN_S" = "ln -s"; then
5276 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
5277 $as_echo "yes" >&6; }
5278 else
5279 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no, using $LN_S" >&5
5280 $as_echo "no, using $LN_S" >&6; }
5283 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for grep that handles long lines and -e" >&5
5284 $as_echo_n "checking for grep that handles long lines and -e... " >&6; }
5285 if ${ac_cv_path_GREP+:} false; then :
5286 $as_echo_n "(cached) " >&6
5287 else
5288 if test -z "$GREP"; then
5289 ac_path_GREP_found=false
5290 # Loop through the user's path and test for each of PROGNAME-LIST
5291 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5292 for as_dir in $PATH$PATH_SEPARATOR/usr/xpg4/bin
5294 IFS=$as_save_IFS
5295 test -z "$as_dir" && as_dir=.
5296 for ac_prog in grep ggrep; do
5297 for ac_exec_ext in '' $ac_executable_extensions; do
5298 ac_path_GREP="$as_dir/$ac_prog$ac_exec_ext"
5299 as_fn_executable_p "$ac_path_GREP" || continue
5300 # Check for GNU ac_path_GREP and select it if it is found.
5301 # Check for GNU $ac_path_GREP
5302 case `"$ac_path_GREP" --version 2>&1` in
5303 *GNU*)
5304 ac_cv_path_GREP="$ac_path_GREP" ac_path_GREP_found=:;;
5306 ac_count=0
5307 $as_echo_n 0123456789 >"conftest.in"
5308 while :
5310 cat "conftest.in" "conftest.in" >"conftest.tmp"
5311 mv "conftest.tmp" "conftest.in"
5312 cp "conftest.in" "conftest.nl"
5313 $as_echo 'GREP' >> "conftest.nl"
5314 "$ac_path_GREP" -e 'GREP$' -e '-(cannot match)-' < "conftest.nl" >"conftest.out" 2>/dev/null || break
5315 diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break
5316 as_fn_arith $ac_count + 1 && ac_count=$as_val
5317 if test $ac_count -gt ${ac_path_GREP_max-0}; then
5318 # Best one so far, save it but keep looking for a better one
5319 ac_cv_path_GREP="$ac_path_GREP"
5320 ac_path_GREP_max=$ac_count
5322 # 10*(2^10) chars as input seems more than enough
5323 test $ac_count -gt 10 && break
5324 done
5325 rm -f conftest.in conftest.tmp conftest.nl conftest.out;;
5326 esac
5328 $ac_path_GREP_found && break 3
5329 done
5330 done
5331 done
5332 IFS=$as_save_IFS
5333 if test -z "$ac_cv_path_GREP"; then
5334 as_fn_error $? "no acceptable grep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" "$LINENO" 5
5336 else
5337 ac_cv_path_GREP=$GREP
5341 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_GREP" >&5
5342 $as_echo "$ac_cv_path_GREP" >&6; }
5343 GREP="$ac_cv_path_GREP"
5346 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for egrep" >&5
5347 $as_echo_n "checking for egrep... " >&6; }
5348 if ${ac_cv_path_EGREP+:} false; then :
5349 $as_echo_n "(cached) " >&6
5350 else
5351 if echo a | $GREP -E '(a|b)' >/dev/null 2>&1
5352 then ac_cv_path_EGREP="$GREP -E"
5353 else
5354 if test -z "$EGREP"; then
5355 ac_path_EGREP_found=false
5356 # Loop through the user's path and test for each of PROGNAME-LIST
5357 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5358 for as_dir in $PATH$PATH_SEPARATOR/usr/xpg4/bin
5360 IFS=$as_save_IFS
5361 test -z "$as_dir" && as_dir=.
5362 for ac_prog in egrep; do
5363 for ac_exec_ext in '' $ac_executable_extensions; do
5364 ac_path_EGREP="$as_dir/$ac_prog$ac_exec_ext"
5365 as_fn_executable_p "$ac_path_EGREP" || continue
5366 # Check for GNU ac_path_EGREP and select it if it is found.
5367 # Check for GNU $ac_path_EGREP
5368 case `"$ac_path_EGREP" --version 2>&1` in
5369 *GNU*)
5370 ac_cv_path_EGREP="$ac_path_EGREP" ac_path_EGREP_found=:;;
5372 ac_count=0
5373 $as_echo_n 0123456789 >"conftest.in"
5374 while :
5376 cat "conftest.in" "conftest.in" >"conftest.tmp"
5377 mv "conftest.tmp" "conftest.in"
5378 cp "conftest.in" "conftest.nl"
5379 $as_echo 'EGREP' >> "conftest.nl"
5380 "$ac_path_EGREP" 'EGREP$' < "conftest.nl" >"conftest.out" 2>/dev/null || break
5381 diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break
5382 as_fn_arith $ac_count + 1 && ac_count=$as_val
5383 if test $ac_count -gt ${ac_path_EGREP_max-0}; then
5384 # Best one so far, save it but keep looking for a better one
5385 ac_cv_path_EGREP="$ac_path_EGREP"
5386 ac_path_EGREP_max=$ac_count
5388 # 10*(2^10) chars as input seems more than enough
5389 test $ac_count -gt 10 && break
5390 done
5391 rm -f conftest.in conftest.tmp conftest.nl conftest.out;;
5392 esac
5394 $ac_path_EGREP_found && break 3
5395 done
5396 done
5397 done
5398 IFS=$as_save_IFS
5399 if test -z "$ac_cv_path_EGREP"; then
5400 as_fn_error $? "no acceptable egrep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" "$LINENO" 5
5402 else
5403 ac_cv_path_EGREP=$EGREP
5408 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_EGREP" >&5
5409 $as_echo "$ac_cv_path_EGREP" >&6; }
5410 EGREP="$ac_cv_path_EGREP"
5413 # Extract the first word of "ldconfig", so it can be a program name with args.
5414 set dummy ldconfig; ac_word=$2
5415 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5416 $as_echo_n "checking for $ac_word... " >&6; }
5417 if ${ac_cv_path_LDCONFIG+:} false; then :
5418 $as_echo_n "(cached) " >&6
5419 else
5420 case $LDCONFIG in
5421 [\\/]* | ?:[\\/]*)
5422 ac_cv_path_LDCONFIG="$LDCONFIG" # Let the user override the test with a path.
5425 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5426 for as_dir in /sbin /usr/sbin $PATH
5428 IFS=$as_save_IFS
5429 test -z "$as_dir" && as_dir=.
5430 for ac_exec_ext in '' $ac_executable_extensions; do
5431 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
5432 ac_cv_path_LDCONFIG="$as_dir/$ac_word$ac_exec_ext"
5433 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5434 break 2
5436 done
5437 done
5438 IFS=$as_save_IFS
5440 test -z "$ac_cv_path_LDCONFIG" && ac_cv_path_LDCONFIG="true"
5442 esac
5444 LDCONFIG=$ac_cv_path_LDCONFIG
5445 if test -n "$LDCONFIG"; then
5446 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $LDCONFIG" >&5
5447 $as_echo "$LDCONFIG" >&6; }
5448 else
5449 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5450 $as_echo "no" >&6; }
5454 for ac_prog in msgfmt
5456 # Extract the first word of "$ac_prog", so it can be a program name with args.
5457 set dummy $ac_prog; ac_word=$2
5458 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5459 $as_echo_n "checking for $ac_word... " >&6; }
5460 if ${ac_cv_prog_MSGFMT+:} false; then :
5461 $as_echo_n "(cached) " >&6
5462 else
5463 if test -n "$MSGFMT"; then
5464 ac_cv_prog_MSGFMT="$MSGFMT" # Let the user override the test.
5465 else
5466 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5467 for as_dir in $PATH
5469 IFS=$as_save_IFS
5470 test -z "$as_dir" && as_dir=.
5471 for ac_exec_ext in '' $ac_executable_extensions; do
5472 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
5473 ac_cv_prog_MSGFMT="$ac_prog"
5474 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5475 break 2
5477 done
5478 done
5479 IFS=$as_save_IFS
5483 MSGFMT=$ac_cv_prog_MSGFMT
5484 if test -n "$MSGFMT"; then
5485 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $MSGFMT" >&5
5486 $as_echo "$MSGFMT" >&6; }
5487 else
5488 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5489 $as_echo "no" >&6; }
5493 test -n "$MSGFMT" && break
5494 done
5495 test -n "$MSGFMT" || MSGFMT="false"
5497 if ${ac_tool_prefix+:} false; then :
5498 # Extract the first word of "${ac_tool_prefix}pkg-config", so it can be a program name with args.
5499 set dummy ${ac_tool_prefix}pkg-config; ac_word=$2
5500 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5501 $as_echo_n "checking for $ac_word... " >&6; }
5502 if ${ac_cv_prog_PKG_CONFIG+:} false; then :
5503 $as_echo_n "(cached) " >&6
5504 else
5505 if test -n "$PKG_CONFIG"; then
5506 ac_cv_prog_PKG_CONFIG="$PKG_CONFIG" # Let the user override the test.
5507 else
5508 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5509 for as_dir in $PATH
5511 IFS=$as_save_IFS
5512 test -z "$as_dir" && as_dir=.
5513 for ac_exec_ext in '' $ac_executable_extensions; do
5514 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
5515 ac_cv_prog_PKG_CONFIG="${ac_tool_prefix}pkg-config"
5516 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5517 break 2
5519 done
5520 done
5521 IFS=$as_save_IFS
5525 PKG_CONFIG=$ac_cv_prog_PKG_CONFIG
5526 if test -n "$PKG_CONFIG"; then
5527 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $PKG_CONFIG" >&5
5528 $as_echo "$PKG_CONFIG" >&6; }
5529 else
5530 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5531 $as_echo "no" >&6; }
5536 if ${ac_cv_prog_PKG_CONFIG:+false} :; then :
5537 if test "x$cross_compiling" = xyes; then :
5539 else
5540 { ac_cv_prog_PKG_CONFIG=; unset ac_cv_prog_PKG_CONFIG;}
5541 # Extract the first word of "pkg-config", so it can be a program name with args.
5542 set dummy pkg-config; ac_word=$2
5543 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5544 $as_echo_n "checking for $ac_word... " >&6; }
5545 if ${ac_cv_prog_PKG_CONFIG+:} false; then :
5546 $as_echo_n "(cached) " >&6
5547 else
5548 if test -n "$PKG_CONFIG"; then
5549 ac_cv_prog_PKG_CONFIG="$PKG_CONFIG" # Let the user override the test.
5550 else
5551 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5552 for as_dir in $PATH
5554 IFS=$as_save_IFS
5555 test -z "$as_dir" && as_dir=.
5556 for ac_exec_ext in '' $ac_executable_extensions; do
5557 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
5558 ac_cv_prog_PKG_CONFIG="pkg-config"
5559 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5560 break 2
5562 done
5563 done
5564 IFS=$as_save_IFS
5568 PKG_CONFIG=$ac_cv_prog_PKG_CONFIG
5569 if test -n "$PKG_CONFIG"; then
5570 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $PKG_CONFIG" >&5
5571 $as_echo "$PKG_CONFIG" >&6; }
5572 else
5573 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5574 $as_echo "no" >&6; }
5579 else
5580 PKG_CONFIG=$ac_cv_prog_PKG_CONFIG
5583 if test "x$enable_maintainer_mode" != "xyes"
5584 then
5585 FONTFORGE=""
5586 RSVG=""
5587 CONVERT=""
5588 ICOTOOL=""
5589 else
5590 test "$srcdir" = . || as_fn_error $? "Maintainer mode cannot work out of tree." "$LINENO" 5
5591 for ac_prog in fontforge
5593 # Extract the first word of "$ac_prog", so it can be a program name with args.
5594 set dummy $ac_prog; ac_word=$2
5595 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5596 $as_echo_n "checking for $ac_word... " >&6; }
5597 if ${ac_cv_prog_FONTFORGE+:} false; then :
5598 $as_echo_n "(cached) " >&6
5599 else
5600 if test -n "$FONTFORGE"; then
5601 ac_cv_prog_FONTFORGE="$FONTFORGE" # Let the user override the test.
5602 else
5603 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5604 for as_dir in $PATH
5606 IFS=$as_save_IFS
5607 test -z "$as_dir" && as_dir=.
5608 for ac_exec_ext in '' $ac_executable_extensions; do
5609 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
5610 ac_cv_prog_FONTFORGE="$ac_prog"
5611 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5612 break 2
5614 done
5615 done
5616 IFS=$as_save_IFS
5620 FONTFORGE=$ac_cv_prog_FONTFORGE
5621 if test -n "$FONTFORGE"; then
5622 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $FONTFORGE" >&5
5623 $as_echo "$FONTFORGE" >&6; }
5624 else
5625 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5626 $as_echo "no" >&6; }
5630 test -n "$FONTFORGE" && break
5631 done
5632 test -n "$FONTFORGE" || FONTFORGE="false"
5634 for ac_prog in rsvg
5636 # Extract the first word of "$ac_prog", so it can be a program name with args.
5637 set dummy $ac_prog; ac_word=$2
5638 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5639 $as_echo_n "checking for $ac_word... " >&6; }
5640 if ${ac_cv_prog_RSVG+:} false; then :
5641 $as_echo_n "(cached) " >&6
5642 else
5643 if test -n "$RSVG"; then
5644 ac_cv_prog_RSVG="$RSVG" # Let the user override the test.
5645 else
5646 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5647 for as_dir in $PATH
5649 IFS=$as_save_IFS
5650 test -z "$as_dir" && as_dir=.
5651 for ac_exec_ext in '' $ac_executable_extensions; do
5652 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
5653 ac_cv_prog_RSVG="$ac_prog"
5654 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5655 break 2
5657 done
5658 done
5659 IFS=$as_save_IFS
5663 RSVG=$ac_cv_prog_RSVG
5664 if test -n "$RSVG"; then
5665 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $RSVG" >&5
5666 $as_echo "$RSVG" >&6; }
5667 else
5668 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5669 $as_echo "no" >&6; }
5673 test -n "$RSVG" && break
5674 done
5675 test -n "$RSVG" || RSVG="false"
5677 for ac_prog in convert
5679 # Extract the first word of "$ac_prog", so it can be a program name with args.
5680 set dummy $ac_prog; ac_word=$2
5681 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5682 $as_echo_n "checking for $ac_word... " >&6; }
5683 if ${ac_cv_prog_CONVERT+:} false; then :
5684 $as_echo_n "(cached) " >&6
5685 else
5686 if test -n "$CONVERT"; then
5687 ac_cv_prog_CONVERT="$CONVERT" # Let the user override the test.
5688 else
5689 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5690 for as_dir in $PATH
5692 IFS=$as_save_IFS
5693 test -z "$as_dir" && as_dir=.
5694 for ac_exec_ext in '' $ac_executable_extensions; do
5695 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
5696 ac_cv_prog_CONVERT="$ac_prog"
5697 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5698 break 2
5700 done
5701 done
5702 IFS=$as_save_IFS
5706 CONVERT=$ac_cv_prog_CONVERT
5707 if test -n "$CONVERT"; then
5708 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CONVERT" >&5
5709 $as_echo "$CONVERT" >&6; }
5710 else
5711 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5712 $as_echo "no" >&6; }
5716 test -n "$CONVERT" && break
5717 done
5718 test -n "$CONVERT" || CONVERT="false"
5720 for ac_prog in icotool
5722 # Extract the first word of "$ac_prog", so it can be a program name with args.
5723 set dummy $ac_prog; ac_word=$2
5724 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5725 $as_echo_n "checking for $ac_word... " >&6; }
5726 if ${ac_cv_prog_ICOTOOL+:} false; then :
5727 $as_echo_n "(cached) " >&6
5728 else
5729 if test -n "$ICOTOOL"; then
5730 ac_cv_prog_ICOTOOL="$ICOTOOL" # Let the user override the test.
5731 else
5732 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5733 for as_dir in $PATH
5735 IFS=$as_save_IFS
5736 test -z "$as_dir" && as_dir=.
5737 for ac_exec_ext in '' $ac_executable_extensions; do
5738 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
5739 ac_cv_prog_ICOTOOL="$ac_prog"
5740 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5741 break 2
5743 done
5744 done
5745 IFS=$as_save_IFS
5749 ICOTOOL=$ac_cv_prog_ICOTOOL
5750 if test -n "$ICOTOOL"; then
5751 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ICOTOOL" >&5
5752 $as_echo "$ICOTOOL" >&6; }
5753 else
5754 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5755 $as_echo "no" >&6; }
5759 test -n "$ICOTOOL" && break
5760 done
5761 test -n "$ICOTOOL" || ICOTOOL="false"
5763 test "$FONTFORGE" != "false" || as_fn_error $? "You need fontforge to rebuild fonts in maintainer mode." "$LINENO" 5
5764 test "$RSVG" != "false" || as_fn_error $? "You need rsvg to rebuild icons in maintainer mode." "$LINENO" 5
5766 if test "$CONVERT" = false
5767 then
5768 as_fn_error $? "You need imagemagick to rebuild icons in maintainer mode." "$LINENO" 5
5769 else
5770 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for recent enough imagemagick" >&5
5771 $as_echo_n "checking for recent enough imagemagick... " >&6; }
5772 convert_version=`convert --version | head -n1`
5773 if test "x$convert_version" != "x"
5774 then
5775 convert_version_major=`expr "$convert_version" : '.* \([0-9]*\)\.[0-9]*'`
5776 convert_version_minor=`expr "$convert_version" : '.* [0-9]*\.\([0-9]*\)'`
5777 if test "$convert_version_major" -eq 6 -a "$convert_version_minor" -lt 6
5778 then
5779 CONVERT=false
5782 if test "$CONVERT" = false
5783 then
5784 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no ($convert_version_major.$convert_version_minor)" >&5
5785 $as_echo "no ($convert_version_major.$convert_version_minor)" >&6; }
5786 as_fn_error $? "You need imagemagick version 6.6 or newer to rebuild icons in maintainer mode." "$LINENO" 5
5787 else
5788 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes ($convert_version_major.$convert_version_minor)" >&5
5789 $as_echo "yes ($convert_version_major.$convert_version_minor)" >&6; }
5793 if test "$ICOTOOL" = false
5794 then
5795 as_fn_error $? "You need icotool to rebuild icons in maintainer mode." "$LINENO" 5
5796 else
5797 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for recent enough icotool" >&5
5798 $as_echo_n "checking for recent enough icotool... " >&6; }
5799 icotool_version=`icotool --version | head -n1`
5800 if test "x$icotool_version" != "x"
5801 then
5802 icotool_version_major=`expr "$icotool_version" : '.* \([0-9]*\)\.[0-9]*'`
5803 icotool_version_minor=`expr "$icotool_version" : '.* [0-9]*\.\([0-9]*\)'`
5804 if test "$icotool_version_major" -eq 0 -a "$icotool_version_minor" -lt 29
5805 then
5806 ICOTOOL=false
5807 as_fn_append wine_warnings "|icotool version 0.29.0 or newer is needed to rebuild icons."
5810 if test "$ICOTOOL" = false
5811 then
5812 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no ($icotool_version_major.$icotool_version_minor)" >&5
5813 $as_echo "no ($icotool_version_major.$icotool_version_minor)" >&6; }
5814 as_fn_error $? "You need icotool version 0.29.0 or newer to rebuild icons in maintainer mode." "$LINENO" 5
5815 else
5816 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes ($icotool_version_major.$icotool_version_minor)" >&5
5817 $as_echo "yes ($icotool_version_major.$icotool_version_minor)" >&6; }
5821 with_gettext=yes
5822 with_gettextpo=yes
5823 { ac_cv_header_gettext_po_h=; unset ac_cv_header_gettext_po_h;}
5826 test "x$with_gettext" != xno || MSGFMT=false
5827 if test "$MSGFMT" != "false"
5828 then
5829 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether msgfmt supports contexts" >&5
5830 $as_echo_n "checking whether msgfmt supports contexts... " >&6; }
5831 cat >conftest.po <<EOF
5832 # comment
5833 msgctxt "ctxt"
5834 msgid "id"
5835 msgstr "str"
5837 if $MSGFMT -o /dev/null conftest.po 2>&5
5838 then
5839 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
5840 $as_echo "yes" >&6; }
5841 else
5842 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5843 $as_echo "no" >&6; }
5844 MSGFMT=false
5847 if test "$MSGFMT" = false; then :
5848 case "x$with_gettext" in
5849 x) as_fn_append wine_warnings "|gettext tools not found (or too old), translations won't be built." ;;
5850 xno) ;;
5851 *) as_fn_error $? "gettext tools not found (or too old), translations won't be built.
5852 This is an error since --with-gettext was requested." "$LINENO" 5 ;;
5853 esac
5857 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for i386_set_ldt in -li386" >&5
5858 $as_echo_n "checking for i386_set_ldt in -li386... " >&6; }
5859 if ${ac_cv_lib_i386_i386_set_ldt+:} false; then :
5860 $as_echo_n "(cached) " >&6
5861 else
5862 ac_check_lib_save_LIBS=$LIBS
5863 LIBS="-li386 $LIBS"
5864 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
5865 /* end confdefs.h. */
5867 /* Override any GCC internal prototype to avoid an error.
5868 Use char because int might match the return type of a GCC
5869 builtin and then its argument prototype would still apply. */
5870 #ifdef __cplusplus
5871 extern "C"
5872 #endif
5873 char i386_set_ldt ();
5875 main ()
5877 return i386_set_ldt ();
5879 return 0;
5881 _ACEOF
5882 if ac_fn_c_try_link "$LINENO"; then :
5883 ac_cv_lib_i386_i386_set_ldt=yes
5884 else
5885 ac_cv_lib_i386_i386_set_ldt=no
5887 rm -f core conftest.err conftest.$ac_objext \
5888 conftest$ac_exeext conftest.$ac_ext
5889 LIBS=$ac_check_lib_save_LIBS
5891 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_i386_i386_set_ldt" >&5
5892 $as_echo "$ac_cv_lib_i386_i386_set_ldt" >&6; }
5893 if test "x$ac_cv_lib_i386_i386_set_ldt" = xyes; then :
5894 cat >>confdefs.h <<_ACEOF
5895 #define HAVE_LIBI386 1
5896 _ACEOF
5898 LIBS="-li386 $LIBS"
5902 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _oss_ioctl in -lossaudio" >&5
5903 $as_echo_n "checking for _oss_ioctl in -lossaudio... " >&6; }
5904 if ${ac_cv_lib_ossaudio__oss_ioctl+:} false; then :
5905 $as_echo_n "(cached) " >&6
5906 else
5907 ac_check_lib_save_LIBS=$LIBS
5908 LIBS="-lossaudio $LIBS"
5909 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
5910 /* end confdefs.h. */
5912 /* Override any GCC internal prototype to avoid an error.
5913 Use char because int might match the return type of a GCC
5914 builtin and then its argument prototype would still apply. */
5915 #ifdef __cplusplus
5916 extern "C"
5917 #endif
5918 char _oss_ioctl ();
5920 main ()
5922 return _oss_ioctl ();
5924 return 0;
5926 _ACEOF
5927 if ac_fn_c_try_link "$LINENO"; then :
5928 ac_cv_lib_ossaudio__oss_ioctl=yes
5929 else
5930 ac_cv_lib_ossaudio__oss_ioctl=no
5932 rm -f core conftest.err conftest.$ac_objext \
5933 conftest$ac_exeext conftest.$ac_ext
5934 LIBS=$ac_check_lib_save_LIBS
5936 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_ossaudio__oss_ioctl" >&5
5937 $as_echo "$ac_cv_lib_ossaudio__oss_ioctl" >&6; }
5938 if test "x$ac_cv_lib_ossaudio__oss_ioctl" = xyes; then :
5939 cat >>confdefs.h <<_ACEOF
5940 #define HAVE_LIBOSSAUDIO 1
5941 _ACEOF
5943 LIBS="-lossaudio $LIBS"
5948 OPENGL_LIBS=""
5952 # Check whether --enable-largefile was given.
5953 if test "${enable_largefile+set}" = set; then :
5954 enableval=$enable_largefile;
5957 if test "$enable_largefile" != no; then
5959 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for special C compiler options needed for large files" >&5
5960 $as_echo_n "checking for special C compiler options needed for large files... " >&6; }
5961 if ${ac_cv_sys_largefile_CC+:} false; then :
5962 $as_echo_n "(cached) " >&6
5963 else
5964 ac_cv_sys_largefile_CC=no
5965 if test "$GCC" != yes; then
5966 ac_save_CC=$CC
5967 while :; do
5968 # IRIX 6.2 and later do not support large files by default,
5969 # so use the C compiler's -n32 option if that helps.
5970 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
5971 /* end confdefs.h. */
5972 #include <sys/types.h>
5973 /* Check that off_t can represent 2**63 - 1 correctly.
5974 We can't simply define LARGE_OFF_T to be 9223372036854775807,
5975 since some C++ compilers masquerading as C compilers
5976 incorrectly reject 9223372036854775807. */
5977 #define LARGE_OFF_T (((off_t) 1 << 62) - 1 + ((off_t) 1 << 62))
5978 int off_t_is_large[(LARGE_OFF_T % 2147483629 == 721
5979 && LARGE_OFF_T % 2147483647 == 1)
5980 ? 1 : -1];
5982 main ()
5986 return 0;
5988 _ACEOF
5989 if ac_fn_c_try_compile "$LINENO"; then :
5990 break
5992 rm -f core conftest.err conftest.$ac_objext
5993 CC="$CC -n32"
5994 if ac_fn_c_try_compile "$LINENO"; then :
5995 ac_cv_sys_largefile_CC=' -n32'; break
5997 rm -f core conftest.err conftest.$ac_objext
5998 break
5999 done
6000 CC=$ac_save_CC
6001 rm -f conftest.$ac_ext
6004 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_sys_largefile_CC" >&5
6005 $as_echo "$ac_cv_sys_largefile_CC" >&6; }
6006 if test "$ac_cv_sys_largefile_CC" != no; then
6007 CC=$CC$ac_cv_sys_largefile_CC
6010 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _FILE_OFFSET_BITS value needed for large files" >&5
6011 $as_echo_n "checking for _FILE_OFFSET_BITS value needed for large files... " >&6; }
6012 if ${ac_cv_sys_file_offset_bits+:} false; then :
6013 $as_echo_n "(cached) " >&6
6014 else
6015 while :; do
6016 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
6017 /* end confdefs.h. */
6018 #include <sys/types.h>
6019 /* Check that off_t can represent 2**63 - 1 correctly.
6020 We can't simply define LARGE_OFF_T to be 9223372036854775807,
6021 since some C++ compilers masquerading as C compilers
6022 incorrectly reject 9223372036854775807. */
6023 #define LARGE_OFF_T (((off_t) 1 << 62) - 1 + ((off_t) 1 << 62))
6024 int off_t_is_large[(LARGE_OFF_T % 2147483629 == 721
6025 && LARGE_OFF_T % 2147483647 == 1)
6026 ? 1 : -1];
6028 main ()
6032 return 0;
6034 _ACEOF
6035 if ac_fn_c_try_compile "$LINENO"; then :
6036 ac_cv_sys_file_offset_bits=no; break
6038 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
6039 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
6040 /* end confdefs.h. */
6041 #define _FILE_OFFSET_BITS 64
6042 #include <sys/types.h>
6043 /* Check that off_t can represent 2**63 - 1 correctly.
6044 We can't simply define LARGE_OFF_T to be 9223372036854775807,
6045 since some C++ compilers masquerading as C compilers
6046 incorrectly reject 9223372036854775807. */
6047 #define LARGE_OFF_T (((off_t) 1 << 62) - 1 + ((off_t) 1 << 62))
6048 int off_t_is_large[(LARGE_OFF_T % 2147483629 == 721
6049 && LARGE_OFF_T % 2147483647 == 1)
6050 ? 1 : -1];
6052 main ()
6056 return 0;
6058 _ACEOF
6059 if ac_fn_c_try_compile "$LINENO"; then :
6060 ac_cv_sys_file_offset_bits=64; break
6062 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
6063 ac_cv_sys_file_offset_bits=unknown
6064 break
6065 done
6067 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_sys_file_offset_bits" >&5
6068 $as_echo "$ac_cv_sys_file_offset_bits" >&6; }
6069 case $ac_cv_sys_file_offset_bits in #(
6070 no | unknown) ;;
6072 cat >>confdefs.h <<_ACEOF
6073 #define _FILE_OFFSET_BITS $ac_cv_sys_file_offset_bits
6074 _ACEOF
6076 esac
6077 rm -rf conftest*
6078 if test $ac_cv_sys_file_offset_bits = unknown; then
6079 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _LARGE_FILES value needed for large files" >&5
6080 $as_echo_n "checking for _LARGE_FILES value needed for large files... " >&6; }
6081 if ${ac_cv_sys_large_files+:} false; then :
6082 $as_echo_n "(cached) " >&6
6083 else
6084 while :; do
6085 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
6086 /* end confdefs.h. */
6087 #include <sys/types.h>
6088 /* Check that off_t can represent 2**63 - 1 correctly.
6089 We can't simply define LARGE_OFF_T to be 9223372036854775807,
6090 since some C++ compilers masquerading as C compilers
6091 incorrectly reject 9223372036854775807. */
6092 #define LARGE_OFF_T (((off_t) 1 << 62) - 1 + ((off_t) 1 << 62))
6093 int off_t_is_large[(LARGE_OFF_T % 2147483629 == 721
6094 && LARGE_OFF_T % 2147483647 == 1)
6095 ? 1 : -1];
6097 main ()
6101 return 0;
6103 _ACEOF
6104 if ac_fn_c_try_compile "$LINENO"; then :
6105 ac_cv_sys_large_files=no; break
6107 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
6108 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
6109 /* end confdefs.h. */
6110 #define _LARGE_FILES 1
6111 #include <sys/types.h>
6112 /* Check that off_t can represent 2**63 - 1 correctly.
6113 We can't simply define LARGE_OFF_T to be 9223372036854775807,
6114 since some C++ compilers masquerading as C compilers
6115 incorrectly reject 9223372036854775807. */
6116 #define LARGE_OFF_T (((off_t) 1 << 62) - 1 + ((off_t) 1 << 62))
6117 int off_t_is_large[(LARGE_OFF_T % 2147483629 == 721
6118 && LARGE_OFF_T % 2147483647 == 1)
6119 ? 1 : -1];
6121 main ()
6125 return 0;
6127 _ACEOF
6128 if ac_fn_c_try_compile "$LINENO"; then :
6129 ac_cv_sys_large_files=1; break
6131 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
6132 ac_cv_sys_large_files=unknown
6133 break
6134 done
6136 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_sys_large_files" >&5
6137 $as_echo "$ac_cv_sys_large_files" >&6; }
6138 case $ac_cv_sys_large_files in #(
6139 no | unknown) ;;
6141 cat >>confdefs.h <<_ACEOF
6142 #define _LARGE_FILES $ac_cv_sys_large_files
6143 _ACEOF
6145 esac
6146 rm -rf conftest*
6153 ac_ext=c
6154 ac_cpp='$CPP $CPPFLAGS'
6155 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
6156 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
6157 ac_compiler_gnu=$ac_cv_c_compiler_gnu
6158 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to run the C preprocessor" >&5
6159 $as_echo_n "checking how to run the C preprocessor... " >&6; }
6160 # On Suns, sometimes $CPP names a directory.
6161 if test -n "$CPP" && test -d "$CPP"; then
6162 CPP=
6164 if test -z "$CPP"; then
6165 if ${ac_cv_prog_CPP+:} false; then :
6166 $as_echo_n "(cached) " >&6
6167 else
6168 # Double quotes because CPP needs to be expanded
6169 for CPP in "$CC -E" "$CC -E -traditional-cpp" "/lib/cpp"
6171 ac_preproc_ok=false
6172 for ac_c_preproc_warn_flag in '' yes
6174 # Use a header file that comes with gcc, so configuring glibc
6175 # with a fresh cross-compiler works.
6176 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
6177 # <limits.h> exists even on freestanding compilers.
6178 # On the NeXT, cc -E runs the code through the compiler's parser,
6179 # not just through cpp. "Syntax error" is here to catch this case.
6180 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
6181 /* end confdefs.h. */
6182 #ifdef __STDC__
6183 # include <limits.h>
6184 #else
6185 # include <assert.h>
6186 #endif
6187 Syntax error
6188 _ACEOF
6189 if ac_fn_c_try_cpp "$LINENO"; then :
6191 else
6192 # Broken: fails on valid input.
6193 continue
6195 rm -f conftest.err conftest.i conftest.$ac_ext
6197 # OK, works on sane cases. Now check whether nonexistent headers
6198 # can be detected and how.
6199 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
6200 /* end confdefs.h. */
6201 #include <ac_nonexistent.h>
6202 _ACEOF
6203 if ac_fn_c_try_cpp "$LINENO"; then :
6204 # Broken: success on invalid input.
6205 continue
6206 else
6207 # Passes both tests.
6208 ac_preproc_ok=:
6209 break
6211 rm -f conftest.err conftest.i conftest.$ac_ext
6213 done
6214 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
6215 rm -f conftest.i conftest.err conftest.$ac_ext
6216 if $ac_preproc_ok; then :
6217 break
6220 done
6221 ac_cv_prog_CPP=$CPP
6224 CPP=$ac_cv_prog_CPP
6225 else
6226 ac_cv_prog_CPP=$CPP
6228 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CPP" >&5
6229 $as_echo "$CPP" >&6; }
6230 ac_preproc_ok=false
6231 for ac_c_preproc_warn_flag in '' yes
6233 # Use a header file that comes with gcc, so configuring glibc
6234 # with a fresh cross-compiler works.
6235 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
6236 # <limits.h> exists even on freestanding compilers.
6237 # On the NeXT, cc -E runs the code through the compiler's parser,
6238 # not just through cpp. "Syntax error" is here to catch this case.
6239 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
6240 /* end confdefs.h. */
6241 #ifdef __STDC__
6242 # include <limits.h>
6243 #else
6244 # include <assert.h>
6245 #endif
6246 Syntax error
6247 _ACEOF
6248 if ac_fn_c_try_cpp "$LINENO"; then :
6250 else
6251 # Broken: fails on valid input.
6252 continue
6254 rm -f conftest.err conftest.i conftest.$ac_ext
6256 # OK, works on sane cases. Now check whether nonexistent headers
6257 # can be detected and how.
6258 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
6259 /* end confdefs.h. */
6260 #include <ac_nonexistent.h>
6261 _ACEOF
6262 if ac_fn_c_try_cpp "$LINENO"; then :
6263 # Broken: success on invalid input.
6264 continue
6265 else
6266 # Passes both tests.
6267 ac_preproc_ok=:
6268 break
6270 rm -f conftest.err conftest.i conftest.$ac_ext
6272 done
6273 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
6274 rm -f conftest.i conftest.err conftest.$ac_ext
6275 if $ac_preproc_ok; then :
6277 else
6278 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
6279 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
6280 as_fn_error $? "C preprocessor \"$CPP\" fails sanity check
6281 See \`config.log' for more details" "$LINENO" 5; }
6284 ac_ext=c
6285 ac_cpp='$CPP $CPPFLAGS'
6286 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
6287 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
6288 ac_compiler_gnu=$ac_cv_c_compiler_gnu
6291 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ANSI C header files" >&5
6292 $as_echo_n "checking for ANSI C header files... " >&6; }
6293 if ${ac_cv_header_stdc+:} false; then :
6294 $as_echo_n "(cached) " >&6
6295 else
6296 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
6297 /* end confdefs.h. */
6298 #include <stdlib.h>
6299 #include <stdarg.h>
6300 #include <string.h>
6301 #include <float.h>
6304 main ()
6308 return 0;
6310 _ACEOF
6311 if ac_fn_c_try_compile "$LINENO"; then :
6312 ac_cv_header_stdc=yes
6313 else
6314 ac_cv_header_stdc=no
6316 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
6318 if test $ac_cv_header_stdc = yes; then
6319 # SunOS 4.x string.h does not declare mem*, contrary to ANSI.
6320 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
6321 /* end confdefs.h. */
6322 #include <string.h>
6324 _ACEOF
6325 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
6326 $EGREP "memchr" >/dev/null 2>&1; then :
6328 else
6329 ac_cv_header_stdc=no
6331 rm -f conftest*
6335 if test $ac_cv_header_stdc = yes; then
6336 # ISC 2.0.2 stdlib.h does not declare free, contrary to ANSI.
6337 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
6338 /* end confdefs.h. */
6339 #include <stdlib.h>
6341 _ACEOF
6342 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
6343 $EGREP "free" >/dev/null 2>&1; then :
6345 else
6346 ac_cv_header_stdc=no
6348 rm -f conftest*
6352 if test $ac_cv_header_stdc = yes; then
6353 # /bin/cc in Irix-4.0.5 gets non-ANSI ctype macros unless using -ansi.
6354 if test "$cross_compiling" = yes; then :
6356 else
6357 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
6358 /* end confdefs.h. */
6359 #include <ctype.h>
6360 #include <stdlib.h>
6361 #if ((' ' & 0x0FF) == 0x020)
6362 # define ISLOWER(c) ('a' <= (c) && (c) <= 'z')
6363 # define TOUPPER(c) (ISLOWER(c) ? 'A' + ((c) - 'a') : (c))
6364 #else
6365 # define ISLOWER(c) \
6366 (('a' <= (c) && (c) <= 'i') \
6367 || ('j' <= (c) && (c) <= 'r') \
6368 || ('s' <= (c) && (c) <= 'z'))
6369 # define TOUPPER(c) (ISLOWER(c) ? ((c) | 0x40) : (c))
6370 #endif
6372 #define XOR(e, f) (((e) && !(f)) || (!(e) && (f)))
6374 main ()
6376 int i;
6377 for (i = 0; i < 256; i++)
6378 if (XOR (islower (i), ISLOWER (i))
6379 || toupper (i) != TOUPPER (i))
6380 return 2;
6381 return 0;
6383 _ACEOF
6384 if ac_fn_c_try_run "$LINENO"; then :
6386 else
6387 ac_cv_header_stdc=no
6389 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \
6390 conftest.$ac_objext conftest.beam conftest.$ac_ext
6395 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_header_stdc" >&5
6396 $as_echo "$ac_cv_header_stdc" >&6; }
6397 if test $ac_cv_header_stdc = yes; then
6399 $as_echo "#define STDC_HEADERS 1" >>confdefs.h
6403 # On IRIX 5.3, sys/types and inttypes.h are conflicting.
6404 for ac_header in sys/types.h sys/stat.h stdlib.h string.h memory.h strings.h \
6405 inttypes.h stdint.h unistd.h
6406 do :
6407 as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
6408 ac_fn_c_check_header_compile "$LINENO" "$ac_header" "$as_ac_Header" "$ac_includes_default
6410 if eval test \"x\$"$as_ac_Header"\" = x"yes"; then :
6411 cat >>confdefs.h <<_ACEOF
6412 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
6413 _ACEOF
6417 done
6420 for ac_header in \
6421 AL/al.h \
6422 ApplicationServices/ApplicationServices.h \
6423 AudioToolbox/AudioConverter.h \
6424 AudioUnit/AudioUnit.h \
6425 AudioUnit/AudioComponent.h \
6426 CL/cl.h \
6427 Carbon/Carbon.h \
6428 CoreAudio/CoreAudio.h \
6429 CoreServices/CoreServices.h \
6430 DiskArbitration/DiskArbitration.h \
6431 IOKit/IOKitLib.h \
6432 IOKit/hid/IOHIDLib.h \
6433 OpenAL/al.h \
6434 OpenCL/opencl.h \
6435 QuickTime/ImageCompression.h \
6436 Security/Security.h \
6437 alias.h \
6438 alsa/asoundlib.h \
6439 arpa/inet.h \
6440 arpa/nameser.h \
6441 asm/types.h \
6442 asm/user.h \
6443 curses.h \
6444 direct.h \
6445 dirent.h \
6446 dlfcn.h \
6447 elf.h \
6448 float.h \
6449 fnmatch.h \
6450 getopt.h \
6451 gettext-po.h \
6452 grp.h \
6453 gsm.h \
6454 gsm/gsm.h \
6455 ieeefp.h \
6456 inet/mib2.h \
6457 io.h \
6458 kstat.h \
6459 lber.h \
6460 ldap.h \
6461 libproc.h \
6462 link.h \
6463 linux/cdrom.h \
6464 linux/compiler.h \
6465 linux/filter.h \
6466 linux/hdreg.h \
6467 linux/input.h \
6468 linux/ioctl.h \
6469 linux/joystick.h \
6470 linux/major.h \
6471 linux/param.h \
6472 linux/serial.h \
6473 linux/types.h \
6474 linux/ucdrom.h \
6475 lwp.h \
6476 mach-o/nlist.h \
6477 mach-o/loader.h \
6478 mach/mach.h \
6479 mach/machine.h \
6480 machine/cpu.h \
6481 machine/limits.h \
6482 machine/sysarch.h \
6483 mntent.h \
6484 ncurses.h \
6485 netdb.h \
6486 netinet/in.h \
6487 netinet/in_systm.h \
6488 netinet/tcp.h \
6489 netinet/tcp_fsm.h \
6490 poll.h \
6491 port.h \
6492 process.h \
6493 pthread.h \
6494 pwd.h \
6495 sched.h \
6496 scsi/scsi.h \
6497 scsi/scsi_ioctl.h \
6498 scsi/sg.h \
6499 stdbool.h \
6500 stdint.h \
6501 stropts.h \
6502 sys/asoundlib.h \
6503 sys/attr.h \
6504 sys/cdio.h \
6505 sys/elf32.h \
6506 sys/epoll.h \
6507 sys/event.h \
6508 sys/exec_elf.h \
6509 sys/filio.h \
6510 sys/inotify.h \
6511 sys/ioctl.h \
6512 sys/ipc.h \
6513 sys/limits.h \
6514 sys/link.h \
6515 sys/mman.h \
6516 sys/modem.h \
6517 sys/msg.h \
6518 sys/mtio.h \
6519 sys/param.h \
6520 sys/poll.h \
6521 sys/prctl.h \
6522 sys/protosw.h \
6523 sys/ptrace.h \
6524 sys/queue.h \
6525 sys/resource.h \
6526 sys/scsiio.h \
6527 sys/shm.h \
6528 sys/signal.h \
6529 sys/socket.h \
6530 sys/socketvar.h \
6531 sys/sockio.h \
6532 sys/statvfs.h \
6533 sys/strtio.h \
6534 sys/syscall.h \
6535 sys/tihdr.h \
6536 sys/time.h \
6537 sys/timeout.h \
6538 sys/times.h \
6539 sys/uio.h \
6540 sys/user.h \
6541 sys/utsname.h \
6542 sys/vm86.h \
6543 sys/wait.h \
6544 syscall.h \
6545 termios.h \
6546 unistd.h \
6547 utime.h \
6548 valgrind/memcheck.h \
6549 valgrind/valgrind.h \
6550 zlib.h
6552 do :
6553 as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
6554 ac_fn_c_check_header_mongrel "$LINENO" "$ac_header" "$as_ac_Header" "$ac_includes_default"
6555 if eval test \"x\$"$as_ac_Header"\" = x"yes"; then :
6556 cat >>confdefs.h <<_ACEOF
6557 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
6558 _ACEOF
6562 done
6564 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether stat file-mode macros are broken" >&5
6565 $as_echo_n "checking whether stat file-mode macros are broken... " >&6; }
6566 if ${ac_cv_header_stat_broken+:} false; then :
6567 $as_echo_n "(cached) " >&6
6568 else
6569 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
6570 /* end confdefs.h. */
6571 #include <sys/types.h>
6572 #include <sys/stat.h>
6574 #if defined S_ISBLK && defined S_IFDIR
6575 extern char c1[S_ISBLK (S_IFDIR) ? -1 : 1];
6576 #endif
6578 #if defined S_ISBLK && defined S_IFCHR
6579 extern char c2[S_ISBLK (S_IFCHR) ? -1 : 1];
6580 #endif
6582 #if defined S_ISLNK && defined S_IFREG
6583 extern char c3[S_ISLNK (S_IFREG) ? -1 : 1];
6584 #endif
6586 #if defined S_ISSOCK && defined S_IFREG
6587 extern char c4[S_ISSOCK (S_IFREG) ? -1 : 1];
6588 #endif
6590 _ACEOF
6591 if ac_fn_c_try_compile "$LINENO"; then :
6592 ac_cv_header_stat_broken=no
6593 else
6594 ac_cv_header_stat_broken=yes
6596 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
6598 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_header_stat_broken" >&5
6599 $as_echo "$ac_cv_header_stat_broken" >&6; }
6600 if test $ac_cv_header_stat_broken = yes; then
6602 $as_echo "#define STAT_MACROS_BROKEN 1" >>confdefs.h
6608 for ac_header in sys/mount.h sys/statfs.h sys/sysctl.h sys/user.h sys/vfs.h
6609 do :
6610 as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
6611 ac_fn_c_check_header_compile "$LINENO" "$ac_header" "$as_ac_Header" "#include <sys/types.h>
6612 #ifdef HAVE_SYS_PARAM_H
6613 # include <sys/param.h>
6614 #endif
6616 if eval test \"x\$"$as_ac_Header"\" = x"yes"; then :
6617 cat >>confdefs.h <<_ACEOF
6618 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
6619 _ACEOF
6623 done
6626 for ac_header in \
6627 netinet/ip.h \
6628 net/if.h \
6629 net/if_arp.h \
6630 net/if_dl.h \
6631 net/if_types.h \
6632 net/route.h \
6633 netinet/if_ether.h \
6634 netinet/if_inarp.h \
6635 netinet/in_pcb.h \
6636 netinet/ip_icmp.h \
6637 netinet/ip_var.h \
6638 netinet/udp.h \
6639 netipx/ipx.h \
6640 sys/un.h \
6642 do :
6643 as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
6644 ac_fn_c_check_header_compile "$LINENO" "$ac_header" "$as_ac_Header" "#include <sys/types.h>
6645 #ifdef HAVE_SYS_SOCKET_H
6646 # include <sys/socket.h>
6647 #endif
6648 #ifdef HAVE_SYS_SOCKETVAR_H
6649 # include <sys/socketvar.h>
6650 #endif
6651 #ifdef HAVE_NET_ROUTE_H
6652 # include <net/route.h>
6653 #endif
6654 #ifdef HAVE_NETINET_IN_H
6655 # include <netinet/in.h>
6656 #endif
6657 #ifdef HAVE_NETINET_IN_SYSTM_H
6658 # include <netinet/in_systm.h>
6659 #endif
6660 #ifdef HAVE_NET_IF_H
6661 # include <net/if.h>
6662 #endif
6663 #ifdef HAVE_NETINET_IP_H
6664 # include <netinet/ip.h>
6665 #endif
6667 if eval test \"x\$"$as_ac_Header"\" = x"yes"; then :
6668 cat >>confdefs.h <<_ACEOF
6669 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
6670 _ACEOF
6674 done
6677 for ac_header in netinet/tcp_timer.h netinet/udp_var.h netinet/icmp_var.h netinet/tcp_var.h
6678 do :
6679 as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
6680 ac_fn_c_check_header_compile "$LINENO" "$ac_header" "$as_ac_Header" "#include <sys/types.h>
6681 #ifdef HAVE_ALIAS_H
6682 # include <alias.h>
6683 #endif
6684 #ifdef HAVE_SYS_SOCKET_H
6685 # include <sys/socket.h>
6686 #endif
6687 #ifdef HAVE_SYS_SOCKETVAR_H
6688 # include <sys/socketvar.h>
6689 #endif
6690 #ifdef HAVE_SYS_TIMEOUT_H
6691 # include <sys/timeout.h>
6692 #endif
6693 #ifdef HAVE_NETINET_IN_H
6694 # include <netinet/in.h>
6695 #endif
6696 #ifdef HAVE_NETINET_IN_SYSTM_H
6697 # include <netinet/in_systm.h>
6698 #endif
6699 #ifdef HAVE_NETINET_IP_H
6700 # include <netinet/ip.h>
6701 #endif
6702 #ifdef HAVE_NETINET_IP_VAR_H
6703 # include <netinet/ip_var.h>
6704 #endif
6705 #ifdef HAVE_NETINET_IP_ICMP_H
6706 # include <netinet/ip_icmp.h>
6707 #endif
6708 #ifdef HAVE_NETINET_UDP_H
6709 # include <netinet/udp.h>
6710 #endif
6711 #ifdef HAVE_NETINET_TCP_H
6712 # include <netinet/tcp.h>
6713 #endif
6714 #ifdef HAVE_NETINET_TCP_TIMER_H
6715 #include <netinet/tcp_timer.h>
6716 #endif
6718 if eval test \"x\$"$as_ac_Header"\" = x"yes"; then :
6719 cat >>confdefs.h <<_ACEOF
6720 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
6721 _ACEOF
6725 done
6728 for ac_header in linux/ipx.h linux/irda.h linux/rtnetlink.h
6729 do :
6730 as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
6731 ac_fn_c_check_header_compile "$LINENO" "$ac_header" "$as_ac_Header" "#include <sys/types.h>
6732 #ifdef HAVE_ASM_TYPES_H
6733 # include <asm/types.h>
6734 #endif
6735 #ifdef HAVE_SYS_SOCKET_H
6736 # include <sys/socket.h>
6737 #endif
6738 #ifdef HAVE_LINUX_TYPES_H
6739 # include <linux/types.h>
6740 #endif
6742 if eval test \"x\$"$as_ac_Header"\" = x"yes"; then :
6743 cat >>confdefs.h <<_ACEOF
6744 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
6745 _ACEOF
6749 done
6752 for ac_header in mach-o/dyld_images.h
6753 do :
6754 ac_fn_c_check_header_compile "$LINENO" "mach-o/dyld_images.h" "ac_cv_header_mach_o_dyld_images_h" "#ifdef HAVE_STDBOOL_H
6755 # include <stdbool.h>
6756 #endif
6757 #ifdef HAVE_STDINT_H
6758 # include <stdint.h>
6759 #endif
6761 if test "x$ac_cv_header_mach_o_dyld_images_h" = xyes; then :
6762 cat >>confdefs.h <<_ACEOF
6763 #define HAVE_MACH_O_DYLD_IMAGES_H 1
6764 _ACEOF
6768 done
6771 for ac_header in resolv.h
6772 do :
6773 ac_fn_c_check_header_compile "$LINENO" "resolv.h" "ac_cv_header_resolv_h" "#include <sys/types.h>
6774 #ifdef HAVE_SYS_SOCKET_H
6775 # include <sys/socket.h>
6776 #endif
6777 #ifdef HAVE_NETINET_IN_H
6778 # include <netinet/in.h>
6779 #endif
6780 #ifdef HAVE_ARPA_NAMESER_H
6781 # include <arpa/nameser.h>
6782 #endif
6784 if test "x$ac_cv_header_resolv_h" = xyes; then :
6785 cat >>confdefs.h <<_ACEOF
6786 #define HAVE_RESOLV_H 1
6787 _ACEOF
6791 done
6794 for ac_header in ifaddrs.h
6795 do :
6796 ac_fn_c_check_header_compile "$LINENO" "ifaddrs.h" "ac_cv_header_ifaddrs_h" "#include <sys/types.h>
6798 if test "x$ac_cv_header_ifaddrs_h" = xyes; then :
6799 cat >>confdefs.h <<_ACEOF
6800 #define HAVE_IFADDRS_H 1
6801 _ACEOF
6805 done
6808 for ac_header in ucontext.h
6809 do :
6810 ac_fn_c_check_header_compile "$LINENO" "ucontext.h" "ac_cv_header_ucontext_h" "#include <signal.h>
6812 if test "x$ac_cv_header_ucontext_h" = xyes; then :
6813 cat >>confdefs.h <<_ACEOF
6814 #define HAVE_UCONTEXT_H 1
6815 _ACEOF
6819 done
6822 for ac_header in sys/thr.h
6823 do :
6824 ac_fn_c_check_header_compile "$LINENO" "sys/thr.h" "ac_cv_header_sys_thr_h" "#include <sys/types.h>
6825 #ifdef HAVE_UCONTEXT_H
6826 #include <ucontext.h>
6827 #endif
6829 if test "x$ac_cv_header_sys_thr_h" = xyes; then :
6830 cat >>confdefs.h <<_ACEOF
6831 #define HAVE_SYS_THR_H 1
6832 _ACEOF
6836 done
6839 for ac_header in pthread_np.h
6840 do :
6841 ac_fn_c_check_header_compile "$LINENO" "pthread_np.h" "ac_cv_header_pthread_np_h" "#ifdef HAVE_PTHREAD_H
6842 #include <pthread.h>
6843 #endif
6845 if test "x$ac_cv_header_pthread_np_h" = xyes; then :
6846 cat >>confdefs.h <<_ACEOF
6847 #define HAVE_PTHREAD_NP_H 1
6848 _ACEOF
6852 done
6855 for ac_header in linux/videodev.h linux/videodev2.h libv4l1.h
6856 do :
6857 as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
6858 ac_fn_c_check_header_compile "$LINENO" "$ac_header" "$as_ac_Header" "#ifdef HAVE_SYS_TIME_H
6859 #include <sys/time.h>
6860 #endif
6861 #include <sys/types.h>
6862 #ifdef HAVE_ASM_TYPES_H
6863 #include <asm/types.h>
6864 #endif
6866 if eval test \"x\$"$as_ac_Header"\" = x"yes"; then :
6867 cat >>confdefs.h <<_ACEOF
6868 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
6869 _ACEOF
6873 done
6876 for ac_header in libprocstat.h
6877 do :
6878 ac_fn_c_check_header_compile "$LINENO" "libprocstat.h" "ac_cv_header_libprocstat_h" "#ifdef HAVE_SYS_PARAM_H
6879 #include <sys/param.h>
6880 #endif
6881 #ifdef HAVE_SYS_QUEUE_H
6882 #include <sys/queue.h>
6883 #endif
6884 #ifdef HAVE_SYS_SOCKET_H
6885 #include <sys/socket.h>
6886 #endif
6888 if test "x$ac_cv_header_libprocstat_h" = xyes; then :
6889 cat >>confdefs.h <<_ACEOF
6890 #define HAVE_LIBPROCSTAT_H 1
6891 _ACEOF
6895 done
6899 dlldir="\${libdir}/wine"
6901 DLLPREFIX=""
6903 DLLFLAGS="-D_REENTRANT"
6905 LDRPATH_INSTALL=""
6907 LDRPATH_LOCAL=""
6909 LIBEXT="so"
6910 DLLEXT=".so"
6911 IMPLIBEXT="def"
6912 STATIC_IMPLIBEXT="def.a"
6913 # Extract the first word of "ldd", so it can be a program name with args.
6914 set dummy ldd; ac_word=$2
6915 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6916 $as_echo_n "checking for $ac_word... " >&6; }
6917 if ${ac_cv_path_LDD+:} false; then :
6918 $as_echo_n "(cached) " >&6
6919 else
6920 case $LDD in
6921 [\\/]* | ?:[\\/]*)
6922 ac_cv_path_LDD="$LDD" # Let the user override the test with a path.
6925 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6926 as_dummy="/sbin:/usr/sbin:$PATH"
6927 for as_dir in $as_dummy
6929 IFS=$as_save_IFS
6930 test -z "$as_dir" && as_dir=.
6931 for ac_exec_ext in '' $ac_executable_extensions; do
6932 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
6933 ac_cv_path_LDD="$as_dir/$ac_word$ac_exec_ext"
6934 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6935 break 2
6937 done
6938 done
6939 IFS=$as_save_IFS
6941 test -z "$ac_cv_path_LDD" && ac_cv_path_LDD="true"
6943 esac
6945 LDD=$ac_cv_path_LDD
6946 if test -n "$LDD"; then
6947 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $LDD" >&5
6948 $as_echo "$LDD" >&6; }
6949 else
6950 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6951 $as_echo "no" >&6; }
6955 if test -n "$ac_tool_prefix"; then
6956 # Extract the first word of "${ac_tool_prefix}readelf", so it can be a program name with args.
6957 set dummy ${ac_tool_prefix}readelf; ac_word=$2
6958 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6959 $as_echo_n "checking for $ac_word... " >&6; }
6960 if ${ac_cv_prog_READELF+:} false; then :
6961 $as_echo_n "(cached) " >&6
6962 else
6963 if test -n "$READELF"; then
6964 ac_cv_prog_READELF="$READELF" # Let the user override the test.
6965 else
6966 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6967 for as_dir in $PATH
6969 IFS=$as_save_IFS
6970 test -z "$as_dir" && as_dir=.
6971 for ac_exec_ext in '' $ac_executable_extensions; do
6972 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
6973 ac_cv_prog_READELF="${ac_tool_prefix}readelf"
6974 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6975 break 2
6977 done
6978 done
6979 IFS=$as_save_IFS
6983 READELF=$ac_cv_prog_READELF
6984 if test -n "$READELF"; then
6985 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $READELF" >&5
6986 $as_echo "$READELF" >&6; }
6987 else
6988 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6989 $as_echo "no" >&6; }
6994 if test -z "$ac_cv_prog_READELF"; then
6995 ac_ct_READELF=$READELF
6996 # Extract the first word of "readelf", so it can be a program name with args.
6997 set dummy readelf; ac_word=$2
6998 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6999 $as_echo_n "checking for $ac_word... " >&6; }
7000 if ${ac_cv_prog_ac_ct_READELF+:} false; then :
7001 $as_echo_n "(cached) " >&6
7002 else
7003 if test -n "$ac_ct_READELF"; then
7004 ac_cv_prog_ac_ct_READELF="$ac_ct_READELF" # Let the user override the test.
7005 else
7006 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7007 for as_dir in $PATH
7009 IFS=$as_save_IFS
7010 test -z "$as_dir" && as_dir=.
7011 for ac_exec_ext in '' $ac_executable_extensions; do
7012 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
7013 ac_cv_prog_ac_ct_READELF="readelf"
7014 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
7015 break 2
7017 done
7018 done
7019 IFS=$as_save_IFS
7023 ac_ct_READELF=$ac_cv_prog_ac_ct_READELF
7024 if test -n "$ac_ct_READELF"; then
7025 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_READELF" >&5
7026 $as_echo "$ac_ct_READELF" >&6; }
7027 else
7028 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7029 $as_echo "no" >&6; }
7032 if test "x$ac_ct_READELF" = x; then
7033 READELF="true"
7034 else
7035 case $cross_compiling:$ac_tool_warned in
7036 yes:)
7037 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
7038 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
7039 ac_tool_warned=yes ;;
7040 esac
7041 READELF=$ac_ct_READELF
7043 else
7044 READELF="$ac_cv_prog_READELF"
7047 wine_rules_file=conf$$rules.make
7048 rm -f $wine_rules_file
7049 ALL_POT_FILES=""
7050 GITIGNORE="# Automatically generated by configure; DO NOT EDIT!!"
7051 ALL_TEST_RESOURCES=""
7054 wine_fn_append_file ()
7056 as_fn_append $1 " \\$as_nl $2"
7059 wine_fn_ignore_file ()
7061 case "$1" in
7062 */*) as_fn_append GITIGNORE "$as_nl$1" ;;
7063 \**) as_fn_append GITIGNORE "$as_nl$1" ;;
7064 *) as_fn_append GITIGNORE "$as_nl/$1" ;;
7065 esac
7068 wine_fn_append_rule ()
7070 $as_echo "$1" >>$wine_rules_file
7073 wine_fn_has_flag ()
7075 expr ",$ac_flags," : ".*,$1,.*" >/dev/null
7078 wine_fn_depend_rules ()
7080 wine_fn_append_rule \
7081 "$ac_dir/Makefile: $srcdir/$ac_dir/Makefile.in $srcdir/Make.vars.in config.status \$(MAKEDEP)
7082 @./config.status --file $ac_dir/Makefile:Make.vars.in:$ac_dir/Makefile.in && \$(MAKEDEP) $ac_dir
7083 depend: $ac_dir/depend
7084 .PHONY: $ac_dir/depend
7085 $ac_dir/depend: \$(MAKEDEP) dummy
7086 @./config.status --file $ac_dir/Makefile:Make.vars.in:$ac_dir/Makefile.in && \$(MAKEDEP) $ac_dir"
7089 wine_fn_pot_rules ()
7091 test "x$with_gettextpo" = xyes || return
7093 if wine_fn_has_flag mc
7094 then
7095 wine_fn_append_file ALL_POT_FILES $ac_dir/msg.pot
7096 wine_fn_append_rule \
7097 "$ac_dir/msg.pot: $ac_dir/Makefile dummy
7098 @cd $ac_dir && \$(MAKE) msg.pot
7099 $ac_dir/msg.pot: tools/wmc include"
7101 if wine_fn_has_flag po
7102 then
7103 wine_fn_append_file ALL_POT_FILES $ac_dir/rsrc.pot
7104 wine_fn_append_rule \
7105 "$ac_dir/rsrc.pot: $ac_dir/Makefile dummy
7106 @cd $ac_dir && \$(MAKE) rsrc.pot
7107 $ac_dir/rsrc.pot: tools/wrc include"
7111 wine_fn_all_rules ()
7113 wine_fn_depend_rules
7114 wine_fn_append_rule \
7115 "all: $ac_dir
7116 .PHONY: $ac_dir
7117 $ac_dir: $ac_dir/Makefile dummy
7118 @cd $ac_dir && \$(MAKE)"
7121 wine_fn_install_rules ()
7123 wine_fn_has_flag install-lib || wine_fn_has_flag install-dev || return
7125 wine_fn_append_rule \
7126 ".PHONY: $ac_dir/install $ac_dir/uninstall
7127 $ac_dir/install:: $ac_dir
7128 @cd $ac_dir && \$(MAKE) install
7129 $ac_dir/uninstall:: $ac_dir/Makefile
7130 @cd $ac_dir && \$(MAKE) uninstall
7131 install:: $ac_dir/install
7132 __uninstall__: $ac_dir/uninstall"
7134 if wine_fn_has_flag install-lib
7135 then
7136 wine_fn_append_rule \
7137 ".PHONY: $ac_dir/install-lib
7138 $ac_dir/install-lib:: $ac_dir
7139 @cd $ac_dir && \$(MAKE) install-lib
7140 install-lib:: $ac_dir/install-lib"
7143 if wine_fn_has_flag install-dev
7144 then
7145 wine_fn_append_rule \
7146 ".PHONY: $ac_dir/install-dev
7147 $ac_dir/install-dev:: $ac_dir
7148 @cd $ac_dir && \$(MAKE) install-dev
7149 install-dev:: $ac_dir/install-dev"
7153 wine_fn_clean_rules ()
7155 ac_clean=$@
7156 ac_extraclean="$ac_dir/Makefile"
7157 test "$srcdir" = . && ac_extraclean="$ac_extraclean $ac_dir/.gitignore"
7158 case $ac_dir in
7159 */tests) ac_extraclean="$ac_extraclean $ac_dir/testlist.c" ;;
7160 esac
7162 if wine_fn_has_flag clean
7163 then
7164 wine_fn_append_rule \
7165 "__clean__: $ac_dir/clean
7166 .PHONY: $ac_dir/clean
7167 $ac_dir/clean: $ac_dir/Makefile
7168 @cd $ac_dir && \$(MAKE) clean
7169 \$(RM) $ac_extraclean"
7170 else
7171 wine_fn_append_rule \
7172 "__clean__: $ac_dir/clean
7173 .PHONY: $ac_dir/clean
7174 $ac_dir/clean: dummy
7175 \$(RM) \$(CLEAN_FILES:%=$ac_dir/%) $ac_clean $ac_extraclean"
7179 wine_fn_disabled_rules ()
7181 ac_clean=$@
7182 ac_extraclean="$ac_dir/Makefile"
7183 test "$srcdir" = . && ac_extraclean="$ac_extraclean $ac_dir/.gitignore"
7185 wine_fn_append_rule \
7186 "__clean__: $ac_dir/clean
7187 .PHONY: $ac_dir/clean
7188 $ac_dir/clean: dummy
7189 \$(RM) \$(CLEAN_FILES:%=$ac_dir/%) $ac_clean $ac_extraclean"
7192 wine_fn_config_makefile ()
7194 ac_dir=$1
7195 ac_enable=$2
7196 ac_flags=$3
7198 if eval test \"x\$"$ac_enable"\" = x"no"; then :
7199 wine_fn_disabled_rules; return
7201 wine_fn_all_rules
7202 wine_fn_install_rules
7203 wine_fn_clean_rules
7206 wine_fn_config_lib ()
7208 ac_name=$1
7209 ac_flags=$2
7210 ac_dir=dlls/$ac_name
7211 ac_deps="include"
7213 if test "x$enable_tools" = xno; then :
7215 else
7216 ac_deps="tools/widl tools/winebuild tools/winegcc $ac_deps"
7218 wine_fn_all_rules
7219 wine_fn_clean_rules
7221 wine_fn_append_rule \
7222 ".PHONY: $ac_dir/install $ac_dir/uninstall
7223 $ac_dir/install:: $ac_dir
7224 \$(INSTALL_DATA) $ac_dir/lib$ac_name.a \$(DESTDIR)\$(dlldir)/lib$ac_name.a
7225 $ac_dir/uninstall::
7226 \$(RM) \$(DESTDIR)\$(dlldir)/lib$ac_name.a
7227 install install-dev:: $ac_dir/install
7228 __uninstall__: $ac_dir/uninstall
7229 __builddeps__: $ac_dir
7230 $ac_dir: $ac_deps"
7233 wine_fn_config_dll ()
7235 ac_name=$1
7236 ac_dir=dlls/$ac_name
7237 ac_enable=$2
7238 ac_flags=$3
7239 ac_implib=${4:-$ac_name}
7240 ac_file=$ac_dir/lib$ac_implib
7241 ac_dll=$ac_name
7242 ac_deps="include"
7243 ac_implibflags=""
7245 if test "x$enable_tools" = xno; then :
7247 else
7248 ac_deps="tools/widl tools/winebuild tools/winegcc $ac_deps"
7250 case $ac_name in
7251 *16) ac_implibflags=" -m16" ;;
7252 *.*) ;;
7253 *) ac_dll=$ac_dll.dll ;;
7254 esac
7256 ac_clean=
7257 wine_fn_has_flag implib && ac_clean="$ac_clean $ac_file.$IMPLIBEXT"
7258 wine_fn_has_flag mc && ac_clean="$ac_clean $ac_dir/msg.pot"
7259 wine_fn_has_flag po && ac_clean="$ac_clean $ac_dir/rsrc.pot"
7260 test -n "$DLLEXT" || ac_clean="$ac_clean $ac_dir/$ac_dll"
7262 if eval test \"x\$"$ac_enable"\" = x"no"; then :
7263 if wine_fn_has_flag implib && test "$ac_enable" != enable_win16
7264 then
7265 wine_fn_depend_rules
7266 wine_fn_clean_rules $ac_clean
7267 else
7268 wine_fn_disabled_rules $ac_clean
7269 return
7271 else
7272 wine_fn_all_rules
7273 wine_fn_clean_rules $ac_clean
7274 wine_fn_append_rule \
7275 "$ac_dir: __builddeps__
7276 manpages htmlpages sgmlpages xmlpages:: $ac_dir/Makefile
7277 @cd $ac_dir && \$(MAKE) \$@
7278 .PHONY: $ac_dir/install-lib $ac_dir/uninstall
7279 install install-lib:: $ac_dir/install-lib
7280 __uninstall__: $ac_dir/uninstall"
7281 if test -n "$DLLEXT"
7282 then
7283 wine_fn_append_rule \
7284 "$ac_dir/install-lib:: $ac_dir
7285 \$(INSTALL_PROGRAM) $ac_dir/$ac_dll$DLLEXT \$(DESTDIR)\$(dlldir)/$DLLPREFIX$ac_dll$DLLEXT
7286 \$(INSTALL_DATA) $ac_dir/$ac_dll.fake \$(DESTDIR)\$(fakedlldir)/$ac_dll
7287 $ac_dir/uninstall::
7288 \$(RM) \$(DESTDIR)\$(dlldir)/$DLLPREFIX$ac_dll$DLLEXT \$(DESTDIR)\$(fakedlldir)/$ac_dll"
7289 else
7290 wine_fn_append_rule \
7291 "$ac_dir/install-lib:: $ac_dir
7292 \$(INSTALL_PROGRAM) $ac_dir/$ac_dll \$(DESTDIR)\$(dlldir)/$ac_dll
7293 $ac_dir/uninstall::
7294 \$(RM) \$(DESTDIR)\$(dlldir)/$ac_dll"
7297 wine_fn_pot_rules
7300 if wine_fn_has_flag staticimplib
7301 then
7302 wine_fn_append_rule \
7303 "__builddeps__: $ac_file.$IMPLIBEXT $ac_file.$STATIC_IMPLIBEXT
7304 $ac_file.$IMPLIBEXT $ac_file.$STATIC_IMPLIBEXT $ac_file.cross.a: $ac_deps
7305 $ac_file.def: $srcdir/$ac_dir/$ac_name.spec $ac_dir/Makefile \$(WINEBUILD)
7306 \$(WINEBUILD) \$(TARGETFLAGS)$ac_implibflags -w --def -o \$@ --export $srcdir/$ac_dir/$ac_name.spec
7307 $ac_file.$STATIC_IMPLIBEXT: $ac_dir/Makefile dummy
7308 @cd $ac_dir && \$(MAKE) lib$ac_implib.$STATIC_IMPLIBEXT
7309 .PHONY: $ac_dir/install-dev $ac_dir/uninstall
7310 $ac_dir/install-dev:: $ac_file.$IMPLIBEXT
7311 \$(INSTALL_DATA) $ac_file.$IMPLIBEXT \$(DESTDIR)\$(dlldir)/lib$ac_implib.$IMPLIBEXT
7312 $ac_dir/uninstall::
7313 \$(RM) \$(DESTDIR)\$(dlldir)/lib$ac_implib.$IMPLIBEXT
7314 install install-dev:: $ac_dir/install-dev
7315 __uninstall__: $ac_dir/uninstall"
7317 if test "$IMPLIBEXT" != "$STATIC_IMPLIBEXT"
7318 then
7319 wine_fn_append_rule \
7320 "$ac_dir/install-dev:: $ac_file.$STATIC_IMPLIBEXT __builddeps__
7321 \$(INSTALL_DATA) $ac_file.$STATIC_IMPLIBEXT \$(DESTDIR)\$(dlldir)/lib$ac_implib.$STATIC_IMPLIBEXT
7322 $ac_dir/uninstall::
7323 \$(RM) \$(DESTDIR)\$(dlldir)/lib$ac_implib.$STATIC_IMPLIBEXT"
7326 if test -n "$CROSSTARGET" -a -z "$ac_implibflags"
7327 then
7328 wine_fn_append_rule \
7329 "__builddeps__: $ac_file.cross.a
7330 $ac_file.cross.a: $ac_dir/Makefile dummy
7331 @cd $ac_dir && \$(MAKE) lib$ac_implib.cross.a"
7334 elif wine_fn_has_flag implib
7335 then
7336 wine_fn_append_rule \
7337 "__builddeps__: $ac_file.$IMPLIBEXT
7338 $ac_file.def: $srcdir/$ac_dir/$ac_name.spec $ac_dir/Makefile \$(WINEBUILD)
7339 \$(WINEBUILD) \$(TARGETFLAGS)$ac_implibflags -w --def -o \$@ --export $srcdir/$ac_dir/$ac_name.spec
7340 $ac_file.a: $srcdir/$ac_dir/$ac_name.spec $ac_dir/Makefile \$(WINEBUILD)
7341 \$(WINEBUILD) \$(TARGETFLAGS)$ac_implibflags -w --implib -o \$@ --export $srcdir/$ac_dir/$ac_name.spec
7342 .PHONY: $ac_dir/install-dev $ac_dir/uninstall
7343 $ac_dir/install-dev:: $ac_file.$IMPLIBEXT
7344 \$(INSTALL_DATA) $ac_file.$IMPLIBEXT \$(DESTDIR)\$(dlldir)/lib$ac_implib.$IMPLIBEXT
7345 $ac_dir/uninstall::
7346 \$(RM) \$(DESTDIR)\$(dlldir)/lib$ac_implib.$IMPLIBEXT
7347 install install-dev:: $ac_dir/install-dev
7348 __uninstall__: $ac_dir/uninstall"
7349 if test -n "$CROSSTARGET" -a -z "$ac_implibflags"
7350 then
7351 wine_fn_append_rule \
7352 "__builddeps__: $ac_file.cross.a
7353 $ac_file.cross.a: $srcdir/$ac_dir/$ac_name.spec $ac_dir/Makefile \$(WINEBUILD)
7354 \$(WINEBUILD) \$(CROSSTARGET:%=-b %)$ac_implibflags -w --implib -o \$@ --export $srcdir/$ac_dir/$ac_name.spec"
7357 if test "$ac_name" != "$ac_implib"
7358 then
7359 wine_fn_append_rule \
7360 "__builddeps__: dlls/lib$ac_implib.$IMPLIBEXT
7361 dlls/lib$ac_implib.$IMPLIBEXT: $ac_file.$IMPLIBEXT
7362 \$(RM) \$@ && \$(LN_S) $ac_name/lib$ac_implib.$IMPLIBEXT \$@
7363 clean::
7364 \$(RM) dlls/lib$ac_implib.$IMPLIBEXT"
7365 wine_fn_ignore_file "dlls/lib$ac_implib.$IMPLIBEXT"
7366 if test -n "$CROSSTARGET" -a -z "$ac_implibflags"
7367 then
7368 wine_fn_append_rule \
7369 "__builddeps__: dlls/lib$ac_implib.cross.a
7370 dlls/lib$ac_implib.cross.a: $ac_file.cross.a
7371 \$(RM) \$@ && \$(LN_S) $ac_name/lib$ac_implib.cross.a \$@
7372 clean::
7373 \$(RM) dlls/lib$ac_implib.cross.a"
7374 wine_fn_ignore_file "dlls/lib$ac_implib.cross.a"
7380 wine_fn_config_program ()
7382 ac_name=$1
7383 ac_dir=programs/$ac_name
7384 ac_enable=$2
7385 ac_flags=$3
7386 ac_program=$ac_name
7388 case $ac_name in
7389 *.*) ;;
7390 *) ac_program=$ac_program.exe ;;
7391 esac
7393 ac_clean=
7394 wine_fn_has_flag mc && ac_clean="$ac_clean $ac_dir/msg.pot"
7395 wine_fn_has_flag po && ac_clean="$ac_clean $ac_dir/rsrc.pot"
7396 wine_fn_has_flag manpage && ac_clean="$ac_clean $ac_dir/$ac_name.man"
7397 test -n "$DLLEXT" || ac_clean="$ac_clean $ac_dir/$ac_program"
7399 if eval test \"x\$"$ac_enable"\" = x"no"; then :
7400 wine_fn_disabled_rules $ac_clean; return
7403 wine_fn_all_rules
7404 wine_fn_clean_rules $ac_clean
7405 wine_fn_append_rule "$ac_dir: __builddeps__"
7406 wine_fn_pot_rules
7408 wine_fn_has_flag install || return
7409 wine_fn_append_rule \
7410 ".PHONY: $ac_dir/install $ac_dir/uninstall
7411 install install-lib:: $ac_dir/install
7412 __uninstall__: $ac_dir/uninstall"
7414 if test -n "$DLLEXT"
7415 then
7416 wine_fn_append_rule \
7417 "$ac_dir/install:: $ac_dir
7418 \$(INSTALL_PROGRAM) $ac_dir/$ac_program$DLLEXT \$(DESTDIR)\$(dlldir)/$DLLPREFIX$ac_program$DLLEXT
7419 \$(INSTALL_DATA) $ac_dir/$ac_program.fake \$(DESTDIR)\$(fakedlldir)/$ac_program
7420 $ac_dir/uninstall::
7421 \$(RM) \$(DESTDIR)\$(dlldir)/$DLLPREFIX$ac_program$DLLEXT \$(DESTDIR)\$(fakedlldir)/$ac_program"
7423 if test -z "$with_wine64" && wine_fn_has_flag installbin
7424 then
7425 wine_fn_append_rule \
7426 "$ac_dir/install:: __tooldeps__
7427 \$(INSTALL_SCRIPT) \$(TOOLSDIR)/tools/wineapploader \$(DESTDIR)\$(bindir)/$ac_name
7428 $ac_dir/uninstall::
7429 \$(RM) \$(DESTDIR)\$(bindir)/$ac_name"
7431 else
7432 wine_fn_append_rule \
7433 "$ac_dir/install:: $ac_dir
7434 \$(INSTALL_PROGRAM) $ac_dir/$ac_program \$(DESTDIR)\$(bindir)/$ac_program
7435 $ac_dir/uninstall::
7436 \$(RM) \$(DESTDIR)\$(bindir)/$ac_program"
7439 if test -z "$with_wine64" && wine_fn_has_flag manpage
7440 then
7441 wine_fn_append_rule \
7442 "$ac_dir/install:: $ac_dir
7443 \$(INSTALL_DATA) $ac_dir/$ac_name.man \$(DESTDIR)\$(mandir)/man\$(prog_manext)/$ac_name.\$(prog_manext)
7444 $ac_dir/uninstall::
7445 \$(RM) \$(DESTDIR)\$(mandir)/man\$(prog_manext)/$ac_name.\$(prog_manext)"
7449 wine_fn_config_test ()
7451 ac_dir=$1
7452 ac_name=$2
7453 ac_flags=$3
7455 ac_clean=
7456 test -n "$CROSSTARGET" && ac_clean=`expr $ac_dir/${ac_name} : "\\(.*\\)_test"`_crosstest.exe
7457 test -n "$DLLEXT" || ac_clean="$ac_dir/${ac_name}.exe $ac_dir/${ac_name}-stripped.exe"
7459 if test "x$enable_tests" = xno; then :
7460 wine_fn_disabled_rules $ac_clean; return
7463 wine_fn_append_file ALL_TEST_RESOURCES $ac_name.res
7464 wine_fn_all_rules
7465 wine_fn_clean_rules $ac_clean
7467 wine_fn_append_rule \
7468 "$ac_dir: programs/winetest/Makefile __builddeps__
7469 programs/winetest: $ac_dir
7470 check test: $ac_dir/test
7471 .PHONY: $ac_dir/test
7472 $ac_dir/test: dummy
7473 @cd $ac_dir && \$(MAKE) test
7474 testclean::
7475 \$(RM) $ac_dir/*.ok"
7477 if test -n "$CROSSTARGET"
7478 then
7479 wine_fn_append_rule \
7480 "crosstest: $ac_dir/crosstest
7481 .PHONY: $ac_dir/crosstest
7482 $ac_dir/crosstest: $ac_dir/Makefile __builddeps__ dummy
7483 @cd $ac_dir && \$(MAKE) crosstest"
7487 wine_fn_config_tool ()
7489 ac_dir=$1
7490 ac_flags=$2
7491 if test "x$enable_tools" = xno; then :
7492 return
7495 wine_fn_all_rules
7496 wine_fn_install_rules
7497 wine_fn_clean_rules
7499 wine_fn_append_rule "__tooldeps__: $ac_dir"
7500 wine_fn_append_rule "$ac_dir: libs/port"
7501 case $ac_dir in
7502 tools/winebuild) wine_fn_append_rule "\$(WINEBUILD): $ac_dir" ;;
7503 esac
7506 wine_fn_config_symlink ()
7508 ac_linkdir=
7509 if test "x$1" = "x-d"
7510 then
7511 ac_linkdir=$2
7512 shift; shift
7514 ac_links=$@
7515 wine_fn_append_rule \
7516 "$ac_links:
7517 @./config.status \$@
7518 distclean::
7519 \$(RM) $ac_links"
7520 for f in $ac_links; do wine_fn_ignore_file $f; done
7521 test -n "$ac_linkdir" || return
7522 wine_fn_append_rule "$ac_linkdir/Makefile $ac_linkdir/depend: $ac_links"
7525 wine_binary="wine"
7526 test "x$enable_win64" != "xyes" || wine_binary="wine64"
7527 loader_programs="$wine_binary wine-installed"
7528 libwine_soversion=`expr $libwine_version : '\([0-9]*\)\..*'`
7530 LOADER_RULES="
7531 install install-lib:: wine-installed
7532 \$(INSTALL_PROGRAM) wine-installed \$(DESTDIR)\$(bindir)/$wine_binary
7534 uninstall::
7535 \$(RM) \$(DESTDIR)\$(bindir)/$wine_binary
7539 case $host_os in
7540 cygwin*|mingw32*)
7541 if test -n "$ac_tool_prefix"; then
7542 # Extract the first word of "${ac_tool_prefix}dlltool", so it can be a program name with args.
7543 set dummy ${ac_tool_prefix}dlltool; ac_word=$2
7544 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7545 $as_echo_n "checking for $ac_word... " >&6; }
7546 if ${ac_cv_prog_DLLTOOL+:} false; then :
7547 $as_echo_n "(cached) " >&6
7548 else
7549 if test -n "$DLLTOOL"; then
7550 ac_cv_prog_DLLTOOL="$DLLTOOL" # Let the user override the test.
7551 else
7552 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7553 for as_dir in $PATH
7555 IFS=$as_save_IFS
7556 test -z "$as_dir" && as_dir=.
7557 for ac_exec_ext in '' $ac_executable_extensions; do
7558 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
7559 ac_cv_prog_DLLTOOL="${ac_tool_prefix}dlltool"
7560 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
7561 break 2
7563 done
7564 done
7565 IFS=$as_save_IFS
7569 DLLTOOL=$ac_cv_prog_DLLTOOL
7570 if test -n "$DLLTOOL"; then
7571 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $DLLTOOL" >&5
7572 $as_echo "$DLLTOOL" >&6; }
7573 else
7574 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7575 $as_echo "no" >&6; }
7580 if test -z "$ac_cv_prog_DLLTOOL"; then
7581 ac_ct_DLLTOOL=$DLLTOOL
7582 # Extract the first word of "dlltool", so it can be a program name with args.
7583 set dummy dlltool; ac_word=$2
7584 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7585 $as_echo_n "checking for $ac_word... " >&6; }
7586 if ${ac_cv_prog_ac_ct_DLLTOOL+:} false; then :
7587 $as_echo_n "(cached) " >&6
7588 else
7589 if test -n "$ac_ct_DLLTOOL"; then
7590 ac_cv_prog_ac_ct_DLLTOOL="$ac_ct_DLLTOOL" # Let the user override the test.
7591 else
7592 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7593 for as_dir in $PATH
7595 IFS=$as_save_IFS
7596 test -z "$as_dir" && as_dir=.
7597 for ac_exec_ext in '' $ac_executable_extensions; do
7598 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
7599 ac_cv_prog_ac_ct_DLLTOOL="dlltool"
7600 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
7601 break 2
7603 done
7604 done
7605 IFS=$as_save_IFS
7609 ac_ct_DLLTOOL=$ac_cv_prog_ac_ct_DLLTOOL
7610 if test -n "$ac_ct_DLLTOOL"; then
7611 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_DLLTOOL" >&5
7612 $as_echo "$ac_ct_DLLTOOL" >&6; }
7613 else
7614 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7615 $as_echo "no" >&6; }
7618 if test "x$ac_ct_DLLTOOL" = x; then
7619 DLLTOOL="false"
7620 else
7621 case $cross_compiling:$ac_tool_warned in
7622 yes:)
7623 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
7624 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
7625 ac_tool_warned=yes ;;
7626 esac
7627 DLLTOOL=$ac_ct_DLLTOOL
7629 else
7630 DLLTOOL="$ac_cv_prog_DLLTOOL"
7633 LIBEXT="dll"
7634 DLLEXT=""
7635 IMPLIBEXT="a"
7636 STATIC_IMPLIBEXT="a"
7637 enable_iphlpapi=${enable_iphlpapi:-no}
7638 enable_kernel32=${enable_kernel32:-no}
7639 enable_msvcrt=${enable_msvcrt:-no}
7640 enable_ntdll=${enable_ntdll:-no}
7641 enable_ws2_32=${enable_ws2_32:-no}
7642 enable_loader=${enable_loader:-no}
7643 enable_server=${enable_server:-no}
7644 with_x=${with_x:-no}
7645 with_pthread=${with_pthread:-no}
7647 crtlibs=""
7648 case $host_os in
7649 mingw32*)
7650 crtlibs="-lmsvcrt"
7651 SOCKET_LIBS="-L\$(top_builddir)/dlls/ws2_32 -lws2_32"
7653 esac
7655 libwine_targets="libwine.dll libwine.a"
7656 LIBWINE_RULES="
7657 OBJS = \$(C_SRCS:.c=.o) \$(EXTRA_OBJS)
7659 all: libwine.dll libwine.a
7661 libwine.a: \$(srcdir)/wine.def
7662 \$(DLLTOOL) -l \$@ -d \$(srcdir)/wine.def
7664 libwine.dll: \$(OBJS) \$(srcdir)/wine.def
7665 \$(CC) -shared \$(srcdir)/wine.def -o \$@ \$(OBJS) $crtlibs \$(EXTRALIBS)
7667 install install-lib:: libwine.dll
7668 \$(INSTALL_DATA) libwine.dll \$(DESTDIR)\$(libdir)/libwine.dll
7670 install install-dev:: libwine.a
7671 \$(INSTALL_DATA) libwine.a \$(DESTDIR)\$(libdir)/libwine.a
7673 uninstall::
7674 -cd \$(DESTDIR)\$(libdir) && \$(RM) libwine.a libwine.dll
7679 darwin*|macosx*)
7680 LIBEXT="dylib"
7681 DLLFLAGS="$DLLFLAGS -fPIC"
7682 LIBWINE_LDFLAGS="-multiply_defined suppress"
7683 LDRPATH_INSTALL="-Wl,-rpath,@loader_path/\`\$(MAKEDEP) -R \$(bindir) \$(libdir)\`"
7684 LDRPATH_LOCAL="-Wl,-rpath,@loader_path/\$(top_builddir)/libs/wine"
7685 COREFOUNDATION_LIBS="-framework CoreFoundation"
7687 IOKIT_LIBS="-framework IOKit -framework CoreFoundation"
7689 FORCEFEEDBACK_LIBS="-framework ForceFeedback -framework CoreFoundation"
7691 APPLICATIONSERVICES_LIBS="-framework ApplicationServices"
7693 CORESERVICES_LIBS="-framework CoreServices"
7695 APPKIT_LIBS="-framework AppKit"
7697 LDEXECFLAGS="-image_base 0x7bf00000 -Wl,-segaddr,WINE_DOS,0x00001000,-segaddr,WINE_SHAREDHEAP,0x7f000000,-sectcreate,__TEXT,__info_plist,wine_info.plist"
7698 case $host_os in
7699 darwin11*) LDEXECFLAGS="-Wl,-macosx_version_min,10.6 $LDEXECFLAGS" ;;
7700 esac
7701 if test "$ac_cv_header_DiskArbitration_DiskArbitration_h" = "yes"
7702 then
7703 DISKARBITRATION_LIBS="-framework DiskArbitration -framework CoreFoundation"
7706 if test "$ac_cv_header_Security_Security_h" = "yes"
7707 then
7708 SECURITY_LIBS="-framework Security -framework CoreFoundation"
7710 ac_save_LIBS="$LIBS"
7711 LIBS="$LIBS $SECURITY_LIBS"
7712 for ac_func in SSLCopyPeerCertificates
7713 do :
7714 ac_fn_c_check_func "$LINENO" "SSLCopyPeerCertificates" "ac_cv_func_SSLCopyPeerCertificates"
7715 if test "x$ac_cv_func_SSLCopyPeerCertificates" = xyes; then :
7716 cat >>confdefs.h <<_ACEOF
7717 #define HAVE_SSLCOPYPEERCERTIFICATES 1
7718 _ACEOF
7721 done
7723 LIBS="$ac_save_LIBS"
7724 with_gnutls=${with_gnutls:-no}
7726 if test "$ac_cv_header_CoreAudio_CoreAudio_h" = "yes" -a "$ac_cv_header_AudioUnit_AudioUnit_h" = "yes"
7727 then
7728 if test "$ac_cv_header_AudioUnit_AudioComponent_h" = "yes"
7729 then
7730 COREAUDIO_LIBS="-framework CoreFoundation -framework CoreAudio -framework AudioUnit -framework AudioToolbox -framework CoreMIDI"
7732 else
7733 COREAUDIO_LIBS="-framework CoreAudio -framework AudioUnit -framework CoreServices -framework AudioToolbox -framework CoreMIDI"
7736 ac_save_LIBS="$LIBS"
7737 LIBS="$LIBS $COREAUDIO_LIBS"
7738 for ac_func in AUGraphAddNode
7739 do :
7740 ac_fn_c_check_func "$LINENO" "AUGraphAddNode" "ac_cv_func_AUGraphAddNode"
7741 if test "x$ac_cv_func_AUGraphAddNode" = xyes; then :
7742 cat >>confdefs.h <<_ACEOF
7743 #define HAVE_AUGRAPHADDNODE 1
7744 _ACEOF
7747 done
7749 LIBS="$ac_save_LIBS"
7751 if test "$ac_cv_header_OpenAL_al_h" = "yes"
7752 then
7753 OPENAL_LIBS="-framework OpenAL"
7756 cat >>confdefs.h <<_ACEOF
7757 #define HAVE_OPENAL 1
7758 _ACEOF
7760 ac_cv_lib_openal=yes
7762 if test "$ac_cv_header_OpenCL_opencl_h" = "yes"
7763 then
7764 OPENCL_LIBS="-framework OpenCL"
7766 ac_cv_lib_OpenCL_clGetPlatformInfo=yes
7768 if test "$ac_cv_header_IOKit_hid_IOHIDLib_h" = "yes"
7769 then
7770 ac_save_LIBS="$LIBS"
7771 LIBS="$LIBS $IOKIT_LIBS"
7772 for ac_func in IOHIDManagerCreate
7773 do :
7774 ac_fn_c_check_func "$LINENO" "IOHIDManagerCreate" "ac_cv_func_IOHIDManagerCreate"
7775 if test "x$ac_cv_func_IOHIDManagerCreate" = xyes; then :
7776 cat >>confdefs.h <<_ACEOF
7777 #define HAVE_IOHIDMANAGERCREATE 1
7778 _ACEOF
7781 done
7783 LIBS="$ac_save_LIBS"
7785 if test "$ac_cv_header_QuickTime_ImageCompression_h" = "yes"
7786 then
7787 QUICKTIME_LIBS="-framework QuickTime -framework ApplicationServices -framework CoreVideo"
7789 enable_wineqtdecoder=${enable_wineqtdecoder:-yes}
7790 else
7791 as_fn_append wine_notices "|QuickTime ${notice_platform}development files not found, video decoding won't be supported."
7793 if test "$ac_cv_header_Carbon_Carbon_h" = "yes"
7794 then
7795 CARBON_LIBS="-framework Carbon"
7799 if test "$ac_cv_header_ApplicationServices_ApplicationServices_h" = "yes"
7800 then
7801 ac_save_LIBS="$LIBS"
7802 LIBS="$LIBS $APPLICATIONSERVICES_LIBS"
7803 ac_fn_c_check_func "$LINENO" "CGDisplayModeGetWidth" "ac_cv_func_CGDisplayModeGetWidth"
7804 if test "x$ac_cv_func_CGDisplayModeGetWidth" = xyes; then :
7805 enable_winemac_drv=${enable_winemac_drv:-yes}
7808 LIBS="$ac_save_LIBS"
7811 if test "x$enable_win16" = "xyes"
7812 then
7813 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether 16-bit code can be built correctly" >&5
7814 $as_echo_n "checking whether 16-bit code can be built correctly... " >&6; }
7815 if test "$cross_compiling" = yes; then :
7816 { $as_echo "$as_me:${as_lineno-$LINENO}: result: cross-compiling, assuming yes" >&5
7817 $as_echo "cross-compiling, assuming yes" >&6; }
7818 else
7819 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
7820 /* end confdefs.h. */
7821 asm(".text\n"
7822 "bad:\tnop;nop\n"
7823 "good:\tnop;nop\n\t"
7824 ".globl _testfunc\n"
7825 "_testfunc:\tcallw good");
7826 extern void testfunc();
7828 main ()
7830 unsigned short *p = (unsigned short *)testfunc;
7831 return p[0] != 0xe866 || p[1] != 0xfffa
7833 return 0;
7835 _ACEOF
7836 if ac_fn_c_try_run "$LINENO"; then :
7837 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
7838 $as_echo "yes" >&6; }
7839 else
7840 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7841 $as_echo "no" >&6; }
7842 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
7844 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \
7845 conftest.$ac_objext conftest.beam conftest.$ac_ext
7850 libwine_targets="libwine.dylib libwine.$libwine_soversion.dylib libwine.$libwine_version.dylib"
7851 LIBWINE_RULES="
7852 OBJS = \$(C_SRCS:.c=.o) \$(EXTRA_OBJS)
7854 all: libwine.dylib
7856 libwine.$libwine_version.dylib: \$(OBJS)
7857 \$(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 \$@
7859 libwine.$libwine_soversion.dylib: libwine.$libwine_version.dylib
7860 \$(RM) \$@ && \$(LN_S) libwine.$libwine_version.dylib \$@
7862 libwine.dylib: libwine.$libwine_soversion.dylib
7863 \$(RM) \$@ && \$(LN_S) libwine.$libwine_soversion.dylib \$@
7865 install install-lib:: libwine.$libwine_version.dylib
7866 \$(INSTALL_PROGRAM) libwine.$libwine_version.dylib \$(DESTDIR)\$(libdir)/libwine.$libwine_version.dylib
7867 cd \$(DESTDIR)\$(libdir) && \$(RM) libwine.$libwine_soversion.dylib && \$(LN_S) libwine.$libwine_version.dylib libwine.$libwine_soversion.dylib
7869 install install-dev::
7870 cd \$(DESTDIR)\$(libdir) && \$(RM) libwine.dylib && \$(LN_S) libwine.$libwine_version.dylib libwine.dylib
7872 uninstall::
7873 -cd \$(DESTDIR)\$(libdir) && \$(RM) libwine.dylib libwine.$libwine_soversion.dylib libwine.$libwine_version.dylib
7877 as_fn_append LOADER_RULES "
7878 $wine_binary: main.o wine_info.plist
7879 \$(CC) -o \$@ $LDEXECFLAGS main.o \$(LIBWINE) \$(LIBPORT) \$(EXTRALIBS) \$(LDFLAGS) \$(LDRPATH_LOCAL)
7881 wine-installed: main.o wine_info.plist
7882 \$(CC) -o \$@ $LDEXECFLAGS main.o \$(LIBWINE) \$(LIBPORT) \$(EXTRALIBS) \$(LDFLAGS) \$(LDRPATH_INSTALL)
7886 linux-android*)
7887 DLLFLAGS="$DLLFLAGS -fPIC"
7888 DLLPREFIX="lib"
7889 LDEXECFLAGS=""
7890 dlldir="\${libdir}"
7891 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -fPIC -Wl,--export-dynamic" >&5
7892 $as_echo_n "checking whether the compiler supports -fPIC -Wl,--export-dynamic... " >&6; }
7893 if ${ac_cv_cflags__fPIC__Wl___export_dynamic+:} false; then :
7894 $as_echo_n "(cached) " >&6
7895 else
7896 ac_wine_try_cflags_saved=$CFLAGS
7897 CFLAGS="$CFLAGS -fPIC -Wl,--export-dynamic"
7898 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
7899 /* end confdefs.h. */
7900 int main(int argc, char **argv) { return 0; }
7901 _ACEOF
7902 if ac_fn_c_try_link "$LINENO"; then :
7903 ac_cv_cflags__fPIC__Wl___export_dynamic=yes
7904 else
7905 ac_cv_cflags__fPIC__Wl___export_dynamic=no
7907 rm -f core conftest.err conftest.$ac_objext \
7908 conftest$ac_exeext conftest.$ac_ext
7909 CFLAGS=$ac_wine_try_cflags_saved
7911 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__fPIC__Wl___export_dynamic" >&5
7912 $as_echo "$ac_cv_cflags__fPIC__Wl___export_dynamic" >&6; }
7913 if test "x$ac_cv_cflags__fPIC__Wl___export_dynamic" = xyes; then :
7914 LDEXECFLAGS="-Wl,--export-dynamic"
7916 as_ac_var=`$as_echo "ac_cv_cflags_-fPIC -Wl,--rpath,\\$ORIGIN/../lib" | $as_tr_sh`
7917 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -fPIC -Wl,--rpath,\$ORIGIN/../lib" >&5
7918 $as_echo_n "checking whether the compiler supports -fPIC -Wl,--rpath,\$ORIGIN/../lib... " >&6; }
7919 if eval \${$as_ac_var+:} false; then :
7920 $as_echo_n "(cached) " >&6
7921 else
7922 ac_wine_try_cflags_saved=$CFLAGS
7923 CFLAGS="$CFLAGS -fPIC -Wl,--rpath,\$ORIGIN/../lib"
7924 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
7925 /* end confdefs.h. */
7926 int main(int argc, char **argv) { return 0; }
7927 _ACEOF
7928 if ac_fn_c_try_link "$LINENO"; then :
7929 eval "$as_ac_var=yes"
7930 else
7931 eval "$as_ac_var=no"
7933 rm -f core conftest.err conftest.$ac_objext \
7934 conftest$ac_exeext conftest.$ac_ext
7935 CFLAGS=$ac_wine_try_cflags_saved
7937 eval ac_res=\$$as_ac_var
7938 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
7939 $as_echo "$ac_res" >&6; }
7940 if eval test \"x\$"$as_ac_var"\" = x"yes"; then :
7941 LDRPATH_INSTALL="-Wl,--rpath,\\\$\$ORIGIN/\`\$(MAKEDEP) -R \$(bindir) \$(libdir)\`"
7942 LDRPATH_LOCAL="-Wl,--rpath,\\\$\$ORIGIN/\$(top_builddir)/libs/wine"
7943 else
7944 as_ac_var=`$as_echo "ac_cv_cflags_-fPIC -Wl,-R,\\$ORIGIN/../lib" | $as_tr_sh`
7945 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -fPIC -Wl,-R,\$ORIGIN/../lib" >&5
7946 $as_echo_n "checking whether the compiler supports -fPIC -Wl,-R,\$ORIGIN/../lib... " >&6; }
7947 if eval \${$as_ac_var+:} false; then :
7948 $as_echo_n "(cached) " >&6
7949 else
7950 ac_wine_try_cflags_saved=$CFLAGS
7951 CFLAGS="$CFLAGS -fPIC -Wl,-R,\$ORIGIN/../lib"
7952 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
7953 /* end confdefs.h. */
7954 int main(int argc, char **argv) { return 0; }
7955 _ACEOF
7956 if ac_fn_c_try_link "$LINENO"; then :
7957 eval "$as_ac_var=yes"
7958 else
7959 eval "$as_ac_var=no"
7961 rm -f core conftest.err conftest.$ac_objext \
7962 conftest$ac_exeext conftest.$ac_ext
7963 CFLAGS=$ac_wine_try_cflags_saved
7965 eval ac_res=\$$as_ac_var
7966 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
7967 $as_echo "$ac_res" >&6; }
7968 if eval test \"x\$"$as_ac_var"\" = x"yes"; then :
7969 LDRPATH_INSTALL="-Wl,-R,\\\$\$ORIGIN/\`\$(MAKEDEP) -R \$(bindir) \$(libdir)\`"
7970 LDRPATH_LOCAL="-Wl,-R,\\\$\$ORIGIN/\$(top_builddir)/libs/wine"
7974 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wl,--enable-new-dtags" >&5
7975 $as_echo_n "checking whether the compiler supports -Wl,--enable-new-dtags... " >&6; }
7976 if ${ac_cv_cflags__Wl___enable_new_dtags+:} false; then :
7977 $as_echo_n "(cached) " >&6
7978 else
7979 ac_wine_try_cflags_saved=$CFLAGS
7980 CFLAGS="$CFLAGS -Wl,--enable-new-dtags"
7981 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
7982 /* end confdefs.h. */
7983 int main(int argc, char **argv) { return 0; }
7984 _ACEOF
7985 if ac_fn_c_try_link "$LINENO"; then :
7986 ac_cv_cflags__Wl___enable_new_dtags=yes
7987 else
7988 ac_cv_cflags__Wl___enable_new_dtags=no
7990 rm -f core conftest.err conftest.$ac_objext \
7991 conftest$ac_exeext conftest.$ac_ext
7992 CFLAGS=$ac_wine_try_cflags_saved
7994 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wl___enable_new_dtags" >&5
7995 $as_echo "$ac_cv_cflags__Wl___enable_new_dtags" >&6; }
7996 if test "x$ac_cv_cflags__Wl___enable_new_dtags" = xyes; then :
7997 LDRPATH_INSTALL="$LDRPATH_INSTALL -Wl,--enable-new-dtags"
8000 case $host_cpu in
8001 *i[3456789]86* | x86_64)
8002 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wl,--section-start,.interp=0x7bf00400" >&5
8003 $as_echo_n "checking whether the compiler supports -Wl,--section-start,.interp=0x7bf00400... " >&6; }
8004 if ${ac_cv_cflags__Wl___section_start__interp_0x7bf00400+:} false; then :
8005 $as_echo_n "(cached) " >&6
8006 else
8007 ac_wine_try_cflags_saved=$CFLAGS
8008 CFLAGS="$CFLAGS -Wl,--section-start,.interp=0x7bf00400"
8009 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
8010 /* end confdefs.h. */
8011 int main(int argc, char **argv) { return 0; }
8012 _ACEOF
8013 if ac_fn_c_try_link "$LINENO"; then :
8014 ac_cv_cflags__Wl___section_start__interp_0x7bf00400=yes
8015 else
8016 ac_cv_cflags__Wl___section_start__interp_0x7bf00400=no
8018 rm -f core conftest.err conftest.$ac_objext \
8019 conftest$ac_exeext conftest.$ac_ext
8020 CFLAGS=$ac_wine_try_cflags_saved
8022 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wl___section_start__interp_0x7bf00400" >&5
8023 $as_echo "$ac_cv_cflags__Wl___section_start__interp_0x7bf00400" >&6; }
8024 if test "x$ac_cv_cflags__Wl___section_start__interp_0x7bf00400" = xyes; then :
8025 LDEXECFLAGS="$LDEXECFLAGS -Wl,--section-start,.interp=0x7bf00400"
8028 esac
8030 libwine_targets="libwine.so"
8031 LIBWINE_RULES="
8032 OBJS = \$(C_SRCS:.c=.o) \$(EXTRA_OBJS)
8034 all: libwine.so
8036 libwine.so: \$(OBJS)
8037 \$(CC) -shared \$(OBJS) \$(EXTRALIBS) \$(LDFLAGS) \$(LIBS) -o \$@
8039 install install-lib:: libwine.so
8040 \$(INSTALL_PROGRAM) libwine.so \$(DESTDIR)\$(libdir)/libwine.so
8042 uninstall::
8043 \$(RM) \$(DESTDIR)\$(libdir)/libwine.so
8047 as_fn_append LOADER_RULES "
8048 $wine_binary: main.o
8049 \$(CC) -o \$@ $LDEXECFLAGS main.o \$(LIBWINE) \$(LIBPORT) \$(EXTRALIBS) \$(LDFLAGS) \$(LDRPATH_LOCAL)
8051 wine-installed: main.o
8052 \$(CC) -o \$@ $LDEXECFLAGS main.o \$(LIBWINE) \$(LIBPORT) \$(EXTRALIBS) \$(LDFLAGS) \$(LDRPATH_INSTALL)
8057 DLLFLAGS="$DLLFLAGS -fPIC"
8058 LDEXECFLAGS=""
8059 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we can build a GNU style ELF dll" >&5
8060 $as_echo_n "checking whether we can build a GNU style ELF dll... " >&6; }
8061 if ${ac_cv_c_dll_gnuelf+:} false; then :
8062 $as_echo_n "(cached) " >&6
8063 else
8064 ac_wine_try_cflags_saved=$CFLAGS
8065 CFLAGS="$CFLAGS -fPIC -shared -Wl,-Bsymbolic"
8066 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
8067 /* end confdefs.h. */
8068 void myfunc() {}
8069 _ACEOF
8070 if ac_fn_c_try_link "$LINENO"; then :
8071 ac_cv_c_dll_gnuelf="yes"
8072 else
8073 ac_cv_c_dll_gnuelf="no"
8075 rm -f core conftest.err conftest.$ac_objext \
8076 conftest$ac_exeext conftest.$ac_ext
8077 CFLAGS=$ac_wine_try_cflags_saved
8079 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_dll_gnuelf" >&5
8080 $as_echo "$ac_cv_c_dll_gnuelf" >&6; }
8081 if test "$ac_cv_c_dll_gnuelf" = "yes"
8082 then
8083 LDSHARED="\$(CC) -shared"
8084 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -fPIC -shared -Wl,-soname,confest.so.1" >&5
8085 $as_echo_n "checking whether the compiler supports -fPIC -shared -Wl,-soname,confest.so.1... " >&6; }
8086 if ${ac_cv_cflags__fPIC__shared__Wl__soname_confest_so_1+:} false; then :
8087 $as_echo_n "(cached) " >&6
8088 else
8089 ac_wine_try_cflags_saved=$CFLAGS
8090 CFLAGS="$CFLAGS -fPIC -shared -Wl,-soname,confest.so.1"
8091 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
8092 /* end confdefs.h. */
8093 int main(int argc, char **argv) { return 0; }
8094 _ACEOF
8095 if ac_fn_c_try_link "$LINENO"; then :
8096 ac_cv_cflags__fPIC__shared__Wl__soname_confest_so_1=yes
8097 else
8098 ac_cv_cflags__fPIC__shared__Wl__soname_confest_so_1=no
8100 rm -f core conftest.err conftest.$ac_objext \
8101 conftest$ac_exeext conftest.$ac_ext
8102 CFLAGS=$ac_wine_try_cflags_saved
8104 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__fPIC__shared__Wl__soname_confest_so_1" >&5
8105 $as_echo "$ac_cv_cflags__fPIC__shared__Wl__soname_confest_so_1" >&6; }
8106 if test "x$ac_cv_cflags__fPIC__shared__Wl__soname_confest_so_1" = xyes; then :
8107 LDSHARED="\$(CC) -shared -Wl,-soname,libwine.so.$libwine_soversion"
8108 else
8109 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -fPIC -shared -Wl,-h,confest.so.1" >&5
8110 $as_echo_n "checking whether the compiler supports -fPIC -shared -Wl,-h,confest.so.1... " >&6; }
8111 if ${ac_cv_cflags__fPIC__shared__Wl__h_confest_so_1+:} false; then :
8112 $as_echo_n "(cached) " >&6
8113 else
8114 ac_wine_try_cflags_saved=$CFLAGS
8115 CFLAGS="$CFLAGS -fPIC -shared -Wl,-h,confest.so.1"
8116 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
8117 /* end confdefs.h. */
8118 int main(int argc, char **argv) { return 0; }
8119 _ACEOF
8120 if ac_fn_c_try_link "$LINENO"; then :
8121 ac_cv_cflags__fPIC__shared__Wl__h_confest_so_1=yes
8122 else
8123 ac_cv_cflags__fPIC__shared__Wl__h_confest_so_1=no
8125 rm -f core conftest.err conftest.$ac_objext \
8126 conftest$ac_exeext conftest.$ac_ext
8127 CFLAGS=$ac_wine_try_cflags_saved
8129 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__fPIC__shared__Wl__h_confest_so_1" >&5
8130 $as_echo "$ac_cv_cflags__fPIC__shared__Wl__h_confest_so_1" >&6; }
8131 if test "x$ac_cv_cflags__fPIC__shared__Wl__h_confest_so_1" = xyes; then :
8132 LDSHARED="\$(CC) -shared -Wl,-h,libwine.so.$libwine_soversion"
8136 echo '{ global: *; };' >conftest.map
8137 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -fPIC -shared -Wl,--version-script=conftest.map" >&5
8138 $as_echo_n "checking whether the compiler supports -fPIC -shared -Wl,--version-script=conftest.map... " >&6; }
8139 if ${ac_cv_cflags__fPIC__shared__Wl___version_script_conftest_map+:} false; then :
8140 $as_echo_n "(cached) " >&6
8141 else
8142 ac_wine_try_cflags_saved=$CFLAGS
8143 CFLAGS="$CFLAGS -fPIC -shared -Wl,--version-script=conftest.map"
8144 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
8145 /* end confdefs.h. */
8146 int main(int argc, char **argv) { return 0; }
8147 _ACEOF
8148 if ac_fn_c_try_link "$LINENO"; then :
8149 ac_cv_cflags__fPIC__shared__Wl___version_script_conftest_map=yes
8150 else
8151 ac_cv_cflags__fPIC__shared__Wl___version_script_conftest_map=no
8153 rm -f core conftest.err conftest.$ac_objext \
8154 conftest$ac_exeext conftest.$ac_ext
8155 CFLAGS=$ac_wine_try_cflags_saved
8157 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__fPIC__shared__Wl___version_script_conftest_map" >&5
8158 $as_echo "$ac_cv_cflags__fPIC__shared__Wl___version_script_conftest_map" >&6; }
8159 if test "x$ac_cv_cflags__fPIC__shared__Wl___version_script_conftest_map" = xyes; then :
8160 LDSHARED="$LDSHARED -Wl,--version-script=\$(srcdir)/wine.map"
8162 rm -f conftest.map
8164 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -fPIC -Wl,--export-dynamic" >&5
8165 $as_echo_n "checking whether the compiler supports -fPIC -Wl,--export-dynamic... " >&6; }
8166 if ${ac_cv_cflags__fPIC__Wl___export_dynamic+:} false; then :
8167 $as_echo_n "(cached) " >&6
8168 else
8169 ac_wine_try_cflags_saved=$CFLAGS
8170 CFLAGS="$CFLAGS -fPIC -Wl,--export-dynamic"
8171 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
8172 /* end confdefs.h. */
8173 int main(int argc, char **argv) { return 0; }
8174 _ACEOF
8175 if ac_fn_c_try_link "$LINENO"; then :
8176 ac_cv_cflags__fPIC__Wl___export_dynamic=yes
8177 else
8178 ac_cv_cflags__fPIC__Wl___export_dynamic=no
8180 rm -f core conftest.err conftest.$ac_objext \
8181 conftest$ac_exeext conftest.$ac_ext
8182 CFLAGS=$ac_wine_try_cflags_saved
8184 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__fPIC__Wl___export_dynamic" >&5
8185 $as_echo "$ac_cv_cflags__fPIC__Wl___export_dynamic" >&6; }
8186 if test "x$ac_cv_cflags__fPIC__Wl___export_dynamic" = xyes; then :
8187 LDEXECFLAGS="-Wl,--export-dynamic"
8190 as_ac_var=`$as_echo "ac_cv_cflags_-fPIC -Wl,--rpath,\\$ORIGIN/../lib" | $as_tr_sh`
8191 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -fPIC -Wl,--rpath,\$ORIGIN/../lib" >&5
8192 $as_echo_n "checking whether the compiler supports -fPIC -Wl,--rpath,\$ORIGIN/../lib... " >&6; }
8193 if eval \${$as_ac_var+:} false; then :
8194 $as_echo_n "(cached) " >&6
8195 else
8196 ac_wine_try_cflags_saved=$CFLAGS
8197 CFLAGS="$CFLAGS -fPIC -Wl,--rpath,\$ORIGIN/../lib"
8198 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
8199 /* end confdefs.h. */
8200 int main(int argc, char **argv) { return 0; }
8201 _ACEOF
8202 if ac_fn_c_try_link "$LINENO"; then :
8203 eval "$as_ac_var=yes"
8204 else
8205 eval "$as_ac_var=no"
8207 rm -f core conftest.err conftest.$ac_objext \
8208 conftest$ac_exeext conftest.$ac_ext
8209 CFLAGS=$ac_wine_try_cflags_saved
8211 eval ac_res=\$$as_ac_var
8212 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
8213 $as_echo "$ac_res" >&6; }
8214 if eval test \"x\$"$as_ac_var"\" = x"yes"; then :
8215 LDRPATH_INSTALL="-Wl,--rpath,\\\$\$ORIGIN/\`\$(MAKEDEP) -R \$(bindir) \$(libdir)\`"
8216 LDRPATH_LOCAL="-Wl,--rpath,\\\$\$ORIGIN/\$(top_builddir)/libs/wine"
8217 else
8218 as_ac_var=`$as_echo "ac_cv_cflags_-fPIC -Wl,-R,\\$ORIGIN/../lib" | $as_tr_sh`
8219 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -fPIC -Wl,-R,\$ORIGIN/../lib" >&5
8220 $as_echo_n "checking whether the compiler supports -fPIC -Wl,-R,\$ORIGIN/../lib... " >&6; }
8221 if eval \${$as_ac_var+:} false; then :
8222 $as_echo_n "(cached) " >&6
8223 else
8224 ac_wine_try_cflags_saved=$CFLAGS
8225 CFLAGS="$CFLAGS -fPIC -Wl,-R,\$ORIGIN/../lib"
8226 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
8227 /* end confdefs.h. */
8228 int main(int argc, char **argv) { return 0; }
8229 _ACEOF
8230 if ac_fn_c_try_link "$LINENO"; then :
8231 eval "$as_ac_var=yes"
8232 else
8233 eval "$as_ac_var=no"
8235 rm -f core conftest.err conftest.$ac_objext \
8236 conftest$ac_exeext conftest.$ac_ext
8237 CFLAGS=$ac_wine_try_cflags_saved
8239 eval ac_res=\$$as_ac_var
8240 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
8241 $as_echo "$ac_res" >&6; }
8242 if eval test \"x\$"$as_ac_var"\" = x"yes"; then :
8243 LDRPATH_INSTALL="-Wl,-R,\\\$\$ORIGIN/\`\$(MAKEDEP) -R \$(bindir) \$(libdir)\`"
8244 LDRPATH_LOCAL="-Wl,-R,\\\$\$ORIGIN/\$(top_builddir)/libs/wine"
8248 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wl,--enable-new-dtags" >&5
8249 $as_echo_n "checking whether the compiler supports -Wl,--enable-new-dtags... " >&6; }
8250 if ${ac_cv_cflags__Wl___enable_new_dtags+:} false; then :
8251 $as_echo_n "(cached) " >&6
8252 else
8253 ac_wine_try_cflags_saved=$CFLAGS
8254 CFLAGS="$CFLAGS -Wl,--enable-new-dtags"
8255 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
8256 /* end confdefs.h. */
8257 int main(int argc, char **argv) { return 0; }
8258 _ACEOF
8259 if ac_fn_c_try_link "$LINENO"; then :
8260 ac_cv_cflags__Wl___enable_new_dtags=yes
8261 else
8262 ac_cv_cflags__Wl___enable_new_dtags=no
8264 rm -f core conftest.err conftest.$ac_objext \
8265 conftest$ac_exeext conftest.$ac_ext
8266 CFLAGS=$ac_wine_try_cflags_saved
8268 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wl___enable_new_dtags" >&5
8269 $as_echo "$ac_cv_cflags__Wl___enable_new_dtags" >&6; }
8270 if test "x$ac_cv_cflags__Wl___enable_new_dtags" = xyes; then :
8271 LDRPATH_INSTALL="$LDRPATH_INSTALL -Wl,--enable-new-dtags"
8274 case $host_cpu in
8275 *i[3456789]86* | x86_64)
8276 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wl,--section-start,.interp=0x7bf00400" >&5
8277 $as_echo_n "checking whether the compiler supports -Wl,--section-start,.interp=0x7bf00400... " >&6; }
8278 if ${ac_cv_cflags__Wl___section_start__interp_0x7bf00400+:} false; then :
8279 $as_echo_n "(cached) " >&6
8280 else
8281 ac_wine_try_cflags_saved=$CFLAGS
8282 CFLAGS="$CFLAGS -Wl,--section-start,.interp=0x7bf00400"
8283 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
8284 /* end confdefs.h. */
8285 int main(int argc, char **argv) { return 0; }
8286 _ACEOF
8287 if ac_fn_c_try_link "$LINENO"; then :
8288 ac_cv_cflags__Wl___section_start__interp_0x7bf00400=yes
8289 else
8290 ac_cv_cflags__Wl___section_start__interp_0x7bf00400=no
8292 rm -f core conftest.err conftest.$ac_objext \
8293 conftest$ac_exeext conftest.$ac_ext
8294 CFLAGS=$ac_wine_try_cflags_saved
8296 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wl___section_start__interp_0x7bf00400" >&5
8297 $as_echo "$ac_cv_cflags__Wl___section_start__interp_0x7bf00400" >&6; }
8298 if test "x$ac_cv_cflags__Wl___section_start__interp_0x7bf00400" = xyes; then :
8299 case $host_os in
8300 freebsd* | kfreebsd*-gnu) LDEXECFLAGS="$LDEXECFLAGS -Wl,--section-start,.interp=0x60000400" ;;
8301 *) LDEXECFLAGS="$LDEXECFLAGS -Wl,--section-start,.interp=0x7bf00400" ;;
8302 esac
8305 # Extract the first word of "prelink", so it can be a program name with args.
8306 set dummy prelink; ac_word=$2
8307 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
8308 $as_echo_n "checking for $ac_word... " >&6; }
8309 if ${ac_cv_path_PRELINK+:} false; then :
8310 $as_echo_n "(cached) " >&6
8311 else
8312 case $PRELINK in
8313 [\\/]* | ?:[\\/]*)
8314 ac_cv_path_PRELINK="$PRELINK" # Let the user override the test with a path.
8317 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
8318 for as_dir in /sbin /usr/sbin $PATH
8320 IFS=$as_save_IFS
8321 test -z "$as_dir" && as_dir=.
8322 for ac_exec_ext in '' $ac_executable_extensions; do
8323 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
8324 ac_cv_path_PRELINK="$as_dir/$ac_word$ac_exec_ext"
8325 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
8326 break 2
8328 done
8329 done
8330 IFS=$as_save_IFS
8332 test -z "$ac_cv_path_PRELINK" && ac_cv_path_PRELINK="false"
8334 esac
8336 PRELINK=$ac_cv_path_PRELINK
8337 if test -n "$PRELINK"; then
8338 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $PRELINK" >&5
8339 $as_echo "$PRELINK" >&6; }
8340 else
8341 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
8342 $as_echo "no" >&6; }
8346 if test "x$PRELINK" = xfalse
8347 then
8348 as_fn_append wine_warnings "|prelink not found, base address of core dlls won't be set correctly."
8351 esac
8353 else
8354 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we can build a UnixWare (Solaris) dll" >&5
8355 $as_echo_n "checking whether we can build a UnixWare (Solaris) dll... " >&6; }
8356 if ${ac_cv_c_dll_unixware+:} false; then :
8357 $as_echo_n "(cached) " >&6
8358 else
8359 ac_wine_try_cflags_saved=$CFLAGS
8360 CFLAGS="$CFLAGS -fPIC -Wl,-G,-h,conftest.so.1.0,-B,symbolic"
8361 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
8362 /* end confdefs.h. */
8363 void myfunc() {}
8364 _ACEOF
8365 if ac_fn_c_try_link "$LINENO"; then :
8366 ac_cv_c_dll_unixware="yes"
8367 else
8368 ac_cv_c_dll_unixware="no"
8370 rm -f core conftest.err conftest.$ac_objext \
8371 conftest$ac_exeext conftest.$ac_ext
8372 CFLAGS=$ac_wine_try_cflags_saved
8374 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_dll_unixware" >&5
8375 $as_echo "$ac_cv_c_dll_unixware" >&6; }
8376 if test "$ac_cv_c_dll_unixware" = "yes"
8377 then
8378 LDSHARED="\$(CC) -Wl,-G,-h,libwine.so.$libwine_soversion"
8381 libwine_targets="libwine.so libwine.so.$libwine_soversion libwine.so.$libwine_version"
8382 LIBWINE_RULES="
8383 OBJS = \$(C_SRCS:.c=.o) \$(EXTRA_OBJS)
8385 all: libwine.so
8387 libwine.so.$libwine_version: \$(OBJS) \$(srcdir)/wine.map
8388 $LDSHARED \$(OBJS) \$(EXTRALIBS) \$(LDFLAGS) \$(LIBS) -o \$@
8390 libwine.so.$libwine_soversion: libwine.so.$libwine_version
8391 \$(RM) \$@ && \$(LN_S) libwine.so.$libwine_version \$@
8393 libwine.so: libwine.so.$libwine_soversion
8394 \$(RM) \$@ && \$(LN_S) libwine.so.$libwine_soversion \$@
8396 install install-lib:: libwine.so.$libwine_version
8397 \$(INSTALL_PROGRAM) libwine.so.$libwine_version \$(DESTDIR)\$(libdir)/libwine.so.$libwine_version
8398 cd \$(DESTDIR)\$(libdir) && \$(RM) libwine.so.$libwine_soversion && \$(LN_S) libwine.so.$libwine_version libwine.so.$libwine_soversion
8400 install install-dev::
8401 cd \$(DESTDIR)\$(libdir) && \$(RM) libwine.so && \$(LN_S) libwine.so.$libwine_version libwine.so
8403 uninstall::
8404 -cd \$(DESTDIR)\$(libdir) && \$(RM) libwine.so libwine.so.$libwine_soversion libwine.so.$libwine_version
8408 as_fn_append LOADER_RULES "
8409 $wine_binary: main.o
8410 \$(CC) -o \$@ $LDEXECFLAGS main.o \$(LIBWINE) \$(LIBPORT) \$(EXTRALIBS) \$(LDFLAGS) \$(LDRPATH_LOCAL)
8412 wine-installed: main.o
8413 \$(CC) -o \$@ $LDEXECFLAGS main.o \$(LIBWINE) \$(LIBPORT) \$(EXTRALIBS) \$(LDFLAGS) \$(LDRPATH_INSTALL)
8416 esac
8418 as_fn_append LIBWINE_RULES "
8419 EXTRA_TARGETS = $libwine_targets
8422 enable_wineqtdecoder=${enable_wineqtdecoder:-no}
8423 enable_winemac_drv=${enable_winemac_drv:-no}
8425 CROSSTARGET=""
8427 if test "$cross_compiling" = "no" -a "x$enable_tests" != xno -a "$LIBEXT" != "dll"
8428 then
8429 case "$host_cpu" in
8430 i[3456789]86*)
8431 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
8432 mingw32-gcc" ;;
8433 x86_64)
8434 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 " ;;
8436 ac_prefix_list="" ;;
8437 esac
8438 for ac_prog in $ac_prefix_list
8440 # Extract the first word of "$ac_prog", so it can be a program name with args.
8441 set dummy $ac_prog; ac_word=$2
8442 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
8443 $as_echo_n "checking for $ac_word... " >&6; }
8444 if ${ac_cv_prog_CROSSCC+:} false; then :
8445 $as_echo_n "(cached) " >&6
8446 else
8447 if test -n "$CROSSCC"; then
8448 ac_cv_prog_CROSSCC="$CROSSCC" # Let the user override the test.
8449 else
8450 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
8451 for as_dir in $PATH
8453 IFS=$as_save_IFS
8454 test -z "$as_dir" && as_dir=.
8455 for ac_exec_ext in '' $ac_executable_extensions; do
8456 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
8457 ac_cv_prog_CROSSCC="$ac_prog"
8458 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
8459 break 2
8461 done
8462 done
8463 IFS=$as_save_IFS
8467 CROSSCC=$ac_cv_prog_CROSSCC
8468 if test -n "$CROSSCC"; then
8469 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CROSSCC" >&5
8470 $as_echo "$CROSSCC" >&6; }
8471 else
8472 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
8473 $as_echo "no" >&6; }
8477 test -n "$CROSSCC" && break
8478 done
8479 test -n "$CROSSCC" || CROSSCC="false"
8481 if test "$CROSSCC" != "false"
8482 then
8483 ac_save_CC="$CC"
8484 CC="$CROSSCC"
8485 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CROSSCC works" >&5
8486 $as_echo_n "checking whether $CROSSCC works... " >&6; }
8487 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
8488 /* end confdefs.h. */
8491 main ()
8495 return 0;
8497 _ACEOF
8498 if ac_fn_c_try_compile "$LINENO"; then :
8499 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
8500 $as_echo "yes" >&6; }
8501 set x $CROSSCC
8502 shift
8503 while test $# -ge 1
8505 case "$1" in
8506 *-gcc) CROSSTARGET=`expr "$1" : '\(.*\)-gcc'` ;;
8507 esac
8508 shift
8509 done
8510 else
8511 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
8512 $as_echo "no" >&6; }
8514 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
8515 CC="$ac_save_CC"
8520 if test "$ac_cv_header_pthread_h" = "yes"
8521 then
8522 ac_fn_c_check_func "$LINENO" "pthread_create" "ac_cv_func_pthread_create"
8523 if test "x$ac_cv_func_pthread_create" = xyes; then :
8525 else
8526 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for pthread_create in -lpthread" >&5
8527 $as_echo_n "checking for pthread_create in -lpthread... " >&6; }
8528 if ${ac_cv_lib_pthread_pthread_create+:} false; then :
8529 $as_echo_n "(cached) " >&6
8530 else
8531 ac_check_lib_save_LIBS=$LIBS
8532 LIBS="-lpthread $LIBS"
8533 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
8534 /* end confdefs.h. */
8536 /* Override any GCC internal prototype to avoid an error.
8537 Use char because int might match the return type of a GCC
8538 builtin and then its argument prototype would still apply. */
8539 #ifdef __cplusplus
8540 extern "C"
8541 #endif
8542 char pthread_create ();
8544 main ()
8546 return pthread_create ();
8548 return 0;
8550 _ACEOF
8551 if ac_fn_c_try_link "$LINENO"; then :
8552 ac_cv_lib_pthread_pthread_create=yes
8553 else
8554 ac_cv_lib_pthread_pthread_create=no
8556 rm -f core conftest.err conftest.$ac_objext \
8557 conftest$ac_exeext conftest.$ac_ext
8558 LIBS=$ac_check_lib_save_LIBS
8560 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_pthread_pthread_create" >&5
8561 $as_echo "$ac_cv_lib_pthread_pthread_create" >&6; }
8562 if test "x$ac_cv_lib_pthread_pthread_create" = xyes; then :
8563 PTHREAD_LIBS="-lpthread"
8570 if test "x$ac_cv_func_pthread_create" != xyes -a "x$PTHREAD_LIBS" = x; then :
8571 case "x$with_pthread" in
8572 xno) ;;
8573 *) as_fn_error $? "pthread ${notice_platform}development files not found.
8574 Wine cannot support threads without libpthread.
8575 Use the --without-pthread option if you really want this." "$LINENO" 5 ;;
8576 esac
8580 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for X" >&5
8581 $as_echo_n "checking for X... " >&6; }
8584 # Check whether --with-x was given.
8585 if test "${with_x+set}" = set; then :
8586 withval=$with_x;
8589 # $have_x is `yes', `no', `disabled', or empty when we do not yet know.
8590 if test "x$with_x" = xno; then
8591 # The user explicitly disabled X.
8592 have_x=disabled
8593 else
8594 case $x_includes,$x_libraries in #(
8595 *\'*) as_fn_error $? "cannot use X directory names containing '" "$LINENO" 5;; #(
8596 *,NONE | NONE,*) if ${ac_cv_have_x+:} false; then :
8597 $as_echo_n "(cached) " >&6
8598 else
8599 # One or both of the vars are not set, and there is no cached value.
8600 ac_x_includes=no ac_x_libraries=no
8601 rm -f -r conftest.dir
8602 if mkdir conftest.dir; then
8603 cd conftest.dir
8604 cat >Imakefile <<'_ACEOF'
8605 incroot:
8606 @echo incroot='${INCROOT}'
8607 usrlibdir:
8608 @echo usrlibdir='${USRLIBDIR}'
8609 libdir:
8610 @echo libdir='${LIBDIR}'
8611 _ACEOF
8612 if (export CC; ${XMKMF-xmkmf}) >/dev/null 2>/dev/null && test -f Makefile; then
8613 # GNU make sometimes prints "make[1]: Entering ...", which would confuse us.
8614 for ac_var in incroot usrlibdir libdir; do
8615 eval "ac_im_$ac_var=\`\${MAKE-make} $ac_var 2>/dev/null | sed -n 's/^$ac_var=//p'\`"
8616 done
8617 # Open Windows xmkmf reportedly sets LIBDIR instead of USRLIBDIR.
8618 for ac_extension in a so sl dylib la dll; do
8619 if test ! -f "$ac_im_usrlibdir/libX11.$ac_extension" &&
8620 test -f "$ac_im_libdir/libX11.$ac_extension"; then
8621 ac_im_usrlibdir=$ac_im_libdir; break
8623 done
8624 # Screen out bogus values from the imake configuration. They are
8625 # bogus both because they are the default anyway, and because
8626 # using them would break gcc on systems where it needs fixed includes.
8627 case $ac_im_incroot in
8628 /usr/include) ac_x_includes= ;;
8629 *) test -f "$ac_im_incroot/X11/Xos.h" && ac_x_includes=$ac_im_incroot;;
8630 esac
8631 case $ac_im_usrlibdir in
8632 /usr/lib | /usr/lib64 | /lib | /lib64) ;;
8633 *) test -d "$ac_im_usrlibdir" && ac_x_libraries=$ac_im_usrlibdir ;;
8634 esac
8636 cd ..
8637 rm -f -r conftest.dir
8640 # Standard set of common directories for X headers.
8641 # Check X11 before X11Rn because it is often a symlink to the current release.
8642 ac_x_header_dirs='
8643 /usr/X11/include
8644 /usr/X11R7/include
8645 /usr/X11R6/include
8646 /usr/X11R5/include
8647 /usr/X11R4/include
8649 /usr/include/X11
8650 /usr/include/X11R7
8651 /usr/include/X11R6
8652 /usr/include/X11R5
8653 /usr/include/X11R4
8655 /usr/local/X11/include
8656 /usr/local/X11R7/include
8657 /usr/local/X11R6/include
8658 /usr/local/X11R5/include
8659 /usr/local/X11R4/include
8661 /usr/local/include/X11
8662 /usr/local/include/X11R7
8663 /usr/local/include/X11R6
8664 /usr/local/include/X11R5
8665 /usr/local/include/X11R4
8667 /usr/X386/include
8668 /usr/x386/include
8669 /usr/XFree86/include/X11
8671 /usr/include
8672 /usr/local/include
8673 /usr/unsupported/include
8674 /usr/athena/include
8675 /usr/local/x11r5/include
8676 /usr/lpp/Xamples/include
8678 /usr/openwin/include
8679 /usr/openwin/share/include'
8681 if test "$ac_x_includes" = no; then
8682 # Guess where to find include files, by looking for Xlib.h.
8683 # First, try using that file with no special directory specified.
8684 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
8685 /* end confdefs.h. */
8686 #include <X11/Xlib.h>
8687 _ACEOF
8688 if ac_fn_c_try_cpp "$LINENO"; then :
8689 # We can compile using X headers with no special include directory.
8690 ac_x_includes=
8691 else
8692 for ac_dir in $ac_x_header_dirs; do
8693 if test -r "$ac_dir/X11/Xlib.h"; then
8694 ac_x_includes=$ac_dir
8695 break
8697 done
8699 rm -f conftest.err conftest.i conftest.$ac_ext
8700 fi # $ac_x_includes = no
8702 if test "$ac_x_libraries" = no; then
8703 # Check for the libraries.
8704 # See if we find them without any special options.
8705 # Don't add to $LIBS permanently.
8706 ac_save_LIBS=$LIBS
8707 LIBS="-lX11 $LIBS"
8708 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
8709 /* end confdefs.h. */
8710 #include <X11/Xlib.h>
8712 main ()
8714 XrmInitialize ()
8716 return 0;
8718 _ACEOF
8719 if ac_fn_c_try_link "$LINENO"; then :
8720 LIBS=$ac_save_LIBS
8721 # We can link X programs with no special library path.
8722 ac_x_libraries=
8723 else
8724 LIBS=$ac_save_LIBS
8725 for ac_dir in `$as_echo "$ac_x_includes $ac_x_header_dirs" | sed s/include/lib/g`
8727 # Don't even attempt the hair of trying to link an X program!
8728 for ac_extension in a so sl dylib la dll; do
8729 if test -r "$ac_dir/libX11.$ac_extension"; then
8730 ac_x_libraries=$ac_dir
8731 break 2
8733 done
8734 done
8736 rm -f core conftest.err conftest.$ac_objext \
8737 conftest$ac_exeext conftest.$ac_ext
8738 fi # $ac_x_libraries = no
8740 case $ac_x_includes,$ac_x_libraries in #(
8741 no,* | *,no | *\'*)
8742 # Didn't find X, or a directory has "'" in its name.
8743 ac_cv_have_x="have_x=no";; #(
8745 # Record where we found X for the cache.
8746 ac_cv_have_x="have_x=yes\
8747 ac_x_includes='$ac_x_includes'\
8748 ac_x_libraries='$ac_x_libraries'"
8749 esac
8751 ;; #(
8752 *) have_x=yes;;
8753 esac
8754 eval "$ac_cv_have_x"
8755 fi # $with_x != no
8757 if test "$have_x" != yes; then
8758 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $have_x" >&5
8759 $as_echo "$have_x" >&6; }
8760 no_x=yes
8761 else
8762 # If each of the values was on the command line, it overrides each guess.
8763 test "x$x_includes" = xNONE && x_includes=$ac_x_includes
8764 test "x$x_libraries" = xNONE && x_libraries=$ac_x_libraries
8765 # Update the cache value to reflect the command line values.
8766 ac_cv_have_x="have_x=yes\
8767 ac_x_includes='$x_includes'\
8768 ac_x_libraries='$x_libraries'"
8769 { $as_echo "$as_me:${as_lineno-$LINENO}: result: libraries $x_libraries, headers $x_includes" >&5
8770 $as_echo "libraries $x_libraries, headers $x_includes" >&6; }
8773 if test "$no_x" = yes; then
8774 # Not all programs may use this symbol, but it does not hurt to define it.
8776 $as_echo "#define X_DISPLAY_MISSING 1" >>confdefs.h
8778 X_CFLAGS= X_PRE_LIBS= X_LIBS= X_EXTRA_LIBS=
8779 else
8780 if test -n "$x_includes"; then
8781 X_CFLAGS="$X_CFLAGS -I$x_includes"
8784 # It would also be nice to do this for all -L options, not just this one.
8785 if test -n "$x_libraries"; then
8786 X_LIBS="$X_LIBS -L$x_libraries"
8787 # For Solaris; some versions of Sun CC require a space after -R and
8788 # others require no space. Words are not sufficient . . . .
8789 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether -R must be followed by a space" >&5
8790 $as_echo_n "checking whether -R must be followed by a space... " >&6; }
8791 ac_xsave_LIBS=$LIBS; LIBS="$LIBS -R$x_libraries"
8792 ac_xsave_c_werror_flag=$ac_c_werror_flag
8793 ac_c_werror_flag=yes
8794 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
8795 /* end confdefs.h. */
8798 main ()
8802 return 0;
8804 _ACEOF
8805 if ac_fn_c_try_link "$LINENO"; then :
8806 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
8807 $as_echo "no" >&6; }
8808 X_LIBS="$X_LIBS -R$x_libraries"
8809 else
8810 LIBS="$ac_xsave_LIBS -R $x_libraries"
8811 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
8812 /* end confdefs.h. */
8815 main ()
8819 return 0;
8821 _ACEOF
8822 if ac_fn_c_try_link "$LINENO"; then :
8823 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
8824 $as_echo "yes" >&6; }
8825 X_LIBS="$X_LIBS -R $x_libraries"
8826 else
8827 { $as_echo "$as_me:${as_lineno-$LINENO}: result: neither works" >&5
8828 $as_echo "neither works" >&6; }
8830 rm -f core conftest.err conftest.$ac_objext \
8831 conftest$ac_exeext conftest.$ac_ext
8833 rm -f core conftest.err conftest.$ac_objext \
8834 conftest$ac_exeext conftest.$ac_ext
8835 ac_c_werror_flag=$ac_xsave_c_werror_flag
8836 LIBS=$ac_xsave_LIBS
8839 # Check for system-dependent libraries X programs must link with.
8840 # Do this before checking for the system-independent R6 libraries
8841 # (-lICE), since we may need -lsocket or whatever for X linking.
8843 if test "$ISC" = yes; then
8844 X_EXTRA_LIBS="$X_EXTRA_LIBS -lnsl_s -linet"
8845 else
8846 # Martyn Johnson says this is needed for Ultrix, if the X
8847 # libraries were built with DECnet support. And Karl Berry says
8848 # the Alpha needs dnet_stub (dnet does not exist).
8849 ac_xsave_LIBS="$LIBS"; LIBS="$LIBS $X_LIBS -lX11"
8850 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
8851 /* end confdefs.h. */
8853 /* Override any GCC internal prototype to avoid an error.
8854 Use char because int might match the return type of a GCC
8855 builtin and then its argument prototype would still apply. */
8856 #ifdef __cplusplus
8857 extern "C"
8858 #endif
8859 char XOpenDisplay ();
8861 main ()
8863 return XOpenDisplay ();
8865 return 0;
8867 _ACEOF
8868 if ac_fn_c_try_link "$LINENO"; then :
8870 else
8871 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dnet_ntoa in -ldnet" >&5
8872 $as_echo_n "checking for dnet_ntoa in -ldnet... " >&6; }
8873 if ${ac_cv_lib_dnet_dnet_ntoa+:} false; then :
8874 $as_echo_n "(cached) " >&6
8875 else
8876 ac_check_lib_save_LIBS=$LIBS
8877 LIBS="-ldnet $LIBS"
8878 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
8879 /* end confdefs.h. */
8881 /* Override any GCC internal prototype to avoid an error.
8882 Use char because int might match the return type of a GCC
8883 builtin and then its argument prototype would still apply. */
8884 #ifdef __cplusplus
8885 extern "C"
8886 #endif
8887 char dnet_ntoa ();
8889 main ()
8891 return dnet_ntoa ();
8893 return 0;
8895 _ACEOF
8896 if ac_fn_c_try_link "$LINENO"; then :
8897 ac_cv_lib_dnet_dnet_ntoa=yes
8898 else
8899 ac_cv_lib_dnet_dnet_ntoa=no
8901 rm -f core conftest.err conftest.$ac_objext \
8902 conftest$ac_exeext conftest.$ac_ext
8903 LIBS=$ac_check_lib_save_LIBS
8905 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dnet_dnet_ntoa" >&5
8906 $as_echo "$ac_cv_lib_dnet_dnet_ntoa" >&6; }
8907 if test "x$ac_cv_lib_dnet_dnet_ntoa" = xyes; then :
8908 X_EXTRA_LIBS="$X_EXTRA_LIBS -ldnet"
8911 if test $ac_cv_lib_dnet_dnet_ntoa = no; then
8912 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dnet_ntoa in -ldnet_stub" >&5
8913 $as_echo_n "checking for dnet_ntoa in -ldnet_stub... " >&6; }
8914 if ${ac_cv_lib_dnet_stub_dnet_ntoa+:} false; then :
8915 $as_echo_n "(cached) " >&6
8916 else
8917 ac_check_lib_save_LIBS=$LIBS
8918 LIBS="-ldnet_stub $LIBS"
8919 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
8920 /* end confdefs.h. */
8922 /* Override any GCC internal prototype to avoid an error.
8923 Use char because int might match the return type of a GCC
8924 builtin and then its argument prototype would still apply. */
8925 #ifdef __cplusplus
8926 extern "C"
8927 #endif
8928 char dnet_ntoa ();
8930 main ()
8932 return dnet_ntoa ();
8934 return 0;
8936 _ACEOF
8937 if ac_fn_c_try_link "$LINENO"; then :
8938 ac_cv_lib_dnet_stub_dnet_ntoa=yes
8939 else
8940 ac_cv_lib_dnet_stub_dnet_ntoa=no
8942 rm -f core conftest.err conftest.$ac_objext \
8943 conftest$ac_exeext conftest.$ac_ext
8944 LIBS=$ac_check_lib_save_LIBS
8946 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dnet_stub_dnet_ntoa" >&5
8947 $as_echo "$ac_cv_lib_dnet_stub_dnet_ntoa" >&6; }
8948 if test "x$ac_cv_lib_dnet_stub_dnet_ntoa" = xyes; then :
8949 X_EXTRA_LIBS="$X_EXTRA_LIBS -ldnet_stub"
8954 rm -f core conftest.err conftest.$ac_objext \
8955 conftest$ac_exeext conftest.$ac_ext
8956 LIBS="$ac_xsave_LIBS"
8958 # msh@cis.ufl.edu says -lnsl (and -lsocket) are needed for his 386/AT,
8959 # to get the SysV transport functions.
8960 # Chad R. Larson says the Pyramis MIS-ES running DC/OSx (SVR4)
8961 # needs -lnsl.
8962 # The nsl library prevents programs from opening the X display
8963 # on Irix 5.2, according to T.E. Dickey.
8964 # The functions gethostbyname, getservbyname, and inet_addr are
8965 # in -lbsd on LynxOS 3.0.1/i386, according to Lars Hecking.
8966 ac_fn_c_check_func "$LINENO" "gethostbyname" "ac_cv_func_gethostbyname"
8967 if test "x$ac_cv_func_gethostbyname" = xyes; then :
8971 if test $ac_cv_func_gethostbyname = no; then
8972 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for gethostbyname in -lnsl" >&5
8973 $as_echo_n "checking for gethostbyname in -lnsl... " >&6; }
8974 if ${ac_cv_lib_nsl_gethostbyname+:} false; then :
8975 $as_echo_n "(cached) " >&6
8976 else
8977 ac_check_lib_save_LIBS=$LIBS
8978 LIBS="-lnsl $LIBS"
8979 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
8980 /* end confdefs.h. */
8982 /* Override any GCC internal prototype to avoid an error.
8983 Use char because int might match the return type of a GCC
8984 builtin and then its argument prototype would still apply. */
8985 #ifdef __cplusplus
8986 extern "C"
8987 #endif
8988 char gethostbyname ();
8990 main ()
8992 return gethostbyname ();
8994 return 0;
8996 _ACEOF
8997 if ac_fn_c_try_link "$LINENO"; then :
8998 ac_cv_lib_nsl_gethostbyname=yes
8999 else
9000 ac_cv_lib_nsl_gethostbyname=no
9002 rm -f core conftest.err conftest.$ac_objext \
9003 conftest$ac_exeext conftest.$ac_ext
9004 LIBS=$ac_check_lib_save_LIBS
9006 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_nsl_gethostbyname" >&5
9007 $as_echo "$ac_cv_lib_nsl_gethostbyname" >&6; }
9008 if test "x$ac_cv_lib_nsl_gethostbyname" = xyes; then :
9009 X_EXTRA_LIBS="$X_EXTRA_LIBS -lnsl"
9012 if test $ac_cv_lib_nsl_gethostbyname = no; then
9013 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for gethostbyname in -lbsd" >&5
9014 $as_echo_n "checking for gethostbyname in -lbsd... " >&6; }
9015 if ${ac_cv_lib_bsd_gethostbyname+:} false; then :
9016 $as_echo_n "(cached) " >&6
9017 else
9018 ac_check_lib_save_LIBS=$LIBS
9019 LIBS="-lbsd $LIBS"
9020 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9021 /* end confdefs.h. */
9023 /* Override any GCC internal prototype to avoid an error.
9024 Use char because int might match the return type of a GCC
9025 builtin and then its argument prototype would still apply. */
9026 #ifdef __cplusplus
9027 extern "C"
9028 #endif
9029 char gethostbyname ();
9031 main ()
9033 return gethostbyname ();
9035 return 0;
9037 _ACEOF
9038 if ac_fn_c_try_link "$LINENO"; then :
9039 ac_cv_lib_bsd_gethostbyname=yes
9040 else
9041 ac_cv_lib_bsd_gethostbyname=no
9043 rm -f core conftest.err conftest.$ac_objext \
9044 conftest$ac_exeext conftest.$ac_ext
9045 LIBS=$ac_check_lib_save_LIBS
9047 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_bsd_gethostbyname" >&5
9048 $as_echo "$ac_cv_lib_bsd_gethostbyname" >&6; }
9049 if test "x$ac_cv_lib_bsd_gethostbyname" = xyes; then :
9050 X_EXTRA_LIBS="$X_EXTRA_LIBS -lbsd"
9056 # lieder@skyler.mavd.honeywell.com says without -lsocket,
9057 # socket/setsockopt and other routines are undefined under SCO ODT
9058 # 2.0. But -lsocket is broken on IRIX 5.2 (and is not necessary
9059 # on later versions), says Simon Leinen: it contains gethostby*
9060 # variants that don't use the name server (or something). -lsocket
9061 # must be given before -lnsl if both are needed. We assume that
9062 # if connect needs -lnsl, so does gethostbyname.
9063 ac_fn_c_check_func "$LINENO" "connect" "ac_cv_func_connect"
9064 if test "x$ac_cv_func_connect" = xyes; then :
9068 if test $ac_cv_func_connect = no; then
9069 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for connect in -lsocket" >&5
9070 $as_echo_n "checking for connect in -lsocket... " >&6; }
9071 if ${ac_cv_lib_socket_connect+:} false; then :
9072 $as_echo_n "(cached) " >&6
9073 else
9074 ac_check_lib_save_LIBS=$LIBS
9075 LIBS="-lsocket $X_EXTRA_LIBS $LIBS"
9076 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9077 /* end confdefs.h. */
9079 /* Override any GCC internal prototype to avoid an error.
9080 Use char because int might match the return type of a GCC
9081 builtin and then its argument prototype would still apply. */
9082 #ifdef __cplusplus
9083 extern "C"
9084 #endif
9085 char connect ();
9087 main ()
9089 return connect ();
9091 return 0;
9093 _ACEOF
9094 if ac_fn_c_try_link "$LINENO"; then :
9095 ac_cv_lib_socket_connect=yes
9096 else
9097 ac_cv_lib_socket_connect=no
9099 rm -f core conftest.err conftest.$ac_objext \
9100 conftest$ac_exeext conftest.$ac_ext
9101 LIBS=$ac_check_lib_save_LIBS
9103 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_socket_connect" >&5
9104 $as_echo "$ac_cv_lib_socket_connect" >&6; }
9105 if test "x$ac_cv_lib_socket_connect" = xyes; then :
9106 X_EXTRA_LIBS="-lsocket $X_EXTRA_LIBS"
9111 # Guillermo Gomez says -lposix is necessary on A/UX.
9112 ac_fn_c_check_func "$LINENO" "remove" "ac_cv_func_remove"
9113 if test "x$ac_cv_func_remove" = xyes; then :
9117 if test $ac_cv_func_remove = no; then
9118 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for remove in -lposix" >&5
9119 $as_echo_n "checking for remove in -lposix... " >&6; }
9120 if ${ac_cv_lib_posix_remove+:} false; then :
9121 $as_echo_n "(cached) " >&6
9122 else
9123 ac_check_lib_save_LIBS=$LIBS
9124 LIBS="-lposix $LIBS"
9125 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9126 /* end confdefs.h. */
9128 /* Override any GCC internal prototype to avoid an error.
9129 Use char because int might match the return type of a GCC
9130 builtin and then its argument prototype would still apply. */
9131 #ifdef __cplusplus
9132 extern "C"
9133 #endif
9134 char remove ();
9136 main ()
9138 return remove ();
9140 return 0;
9142 _ACEOF
9143 if ac_fn_c_try_link "$LINENO"; then :
9144 ac_cv_lib_posix_remove=yes
9145 else
9146 ac_cv_lib_posix_remove=no
9148 rm -f core conftest.err conftest.$ac_objext \
9149 conftest$ac_exeext conftest.$ac_ext
9150 LIBS=$ac_check_lib_save_LIBS
9152 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_posix_remove" >&5
9153 $as_echo "$ac_cv_lib_posix_remove" >&6; }
9154 if test "x$ac_cv_lib_posix_remove" = xyes; then :
9155 X_EXTRA_LIBS="$X_EXTRA_LIBS -lposix"
9160 # BSDI BSD/OS 2.1 needs -lipc for XOpenDisplay.
9161 ac_fn_c_check_func "$LINENO" "shmat" "ac_cv_func_shmat"
9162 if test "x$ac_cv_func_shmat" = xyes; then :
9166 if test $ac_cv_func_shmat = no; then
9167 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for shmat in -lipc" >&5
9168 $as_echo_n "checking for shmat in -lipc... " >&6; }
9169 if ${ac_cv_lib_ipc_shmat+:} false; then :
9170 $as_echo_n "(cached) " >&6
9171 else
9172 ac_check_lib_save_LIBS=$LIBS
9173 LIBS="-lipc $LIBS"
9174 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9175 /* end confdefs.h. */
9177 /* Override any GCC internal prototype to avoid an error.
9178 Use char because int might match the return type of a GCC
9179 builtin and then its argument prototype would still apply. */
9180 #ifdef __cplusplus
9181 extern "C"
9182 #endif
9183 char shmat ();
9185 main ()
9187 return shmat ();
9189 return 0;
9191 _ACEOF
9192 if ac_fn_c_try_link "$LINENO"; then :
9193 ac_cv_lib_ipc_shmat=yes
9194 else
9195 ac_cv_lib_ipc_shmat=no
9197 rm -f core conftest.err conftest.$ac_objext \
9198 conftest$ac_exeext conftest.$ac_ext
9199 LIBS=$ac_check_lib_save_LIBS
9201 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_ipc_shmat" >&5
9202 $as_echo "$ac_cv_lib_ipc_shmat" >&6; }
9203 if test "x$ac_cv_lib_ipc_shmat" = xyes; then :
9204 X_EXTRA_LIBS="$X_EXTRA_LIBS -lipc"
9210 # Check for libraries that X11R6 Xt/Xaw programs need.
9211 ac_save_LDFLAGS=$LDFLAGS
9212 test -n "$x_libraries" && LDFLAGS="$LDFLAGS -L$x_libraries"
9213 # SM needs ICE to (dynamically) link under SunOS 4.x (so we have to
9214 # check for ICE first), but we must link in the order -lSM -lICE or
9215 # we get undefined symbols. So assume we have SM if we have ICE.
9216 # These have to be linked with before -lX11, unlike the other
9217 # libraries we check for below, so use a different variable.
9218 # John Interrante, Karl Berry
9219 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for IceConnectionNumber in -lICE" >&5
9220 $as_echo_n "checking for IceConnectionNumber in -lICE... " >&6; }
9221 if ${ac_cv_lib_ICE_IceConnectionNumber+:} false; then :
9222 $as_echo_n "(cached) " >&6
9223 else
9224 ac_check_lib_save_LIBS=$LIBS
9225 LIBS="-lICE $X_EXTRA_LIBS $LIBS"
9226 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9227 /* end confdefs.h. */
9229 /* Override any GCC internal prototype to avoid an error.
9230 Use char because int might match the return type of a GCC
9231 builtin and then its argument prototype would still apply. */
9232 #ifdef __cplusplus
9233 extern "C"
9234 #endif
9235 char IceConnectionNumber ();
9237 main ()
9239 return IceConnectionNumber ();
9241 return 0;
9243 _ACEOF
9244 if ac_fn_c_try_link "$LINENO"; then :
9245 ac_cv_lib_ICE_IceConnectionNumber=yes
9246 else
9247 ac_cv_lib_ICE_IceConnectionNumber=no
9249 rm -f core conftest.err conftest.$ac_objext \
9250 conftest$ac_exeext conftest.$ac_ext
9251 LIBS=$ac_check_lib_save_LIBS
9253 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_ICE_IceConnectionNumber" >&5
9254 $as_echo "$ac_cv_lib_ICE_IceConnectionNumber" >&6; }
9255 if test "x$ac_cv_lib_ICE_IceConnectionNumber" = xyes; then :
9256 X_PRE_LIBS="$X_PRE_LIBS -lSM -lICE"
9259 LDFLAGS=$ac_save_LDFLAGS
9264 if test "$have_x" = "yes"
9265 then
9266 ac_save_CPPFLAGS="$CPPFLAGS"
9267 CPPFLAGS="$CPPFLAGS $X_CFLAGS"
9269 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lX11" >&5
9270 $as_echo_n "checking for -lX11... " >&6; }
9271 if ${ac_cv_lib_soname_X11+:} false; then :
9272 $as_echo_n "(cached) " >&6
9273 else
9274 ac_check_soname_save_LIBS=$LIBS
9275 LIBS="-lX11 $X_LIBS $X_EXTRA_LIBS $LIBS"
9276 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9277 /* end confdefs.h. */
9279 /* Override any GCC internal prototype to avoid an error.
9280 Use char because int might match the return type of a GCC
9281 builtin and then its argument prototype would still apply. */
9282 #ifdef __cplusplus
9283 extern "C"
9284 #endif
9285 char XCreateWindow ();
9287 main ()
9289 return XCreateWindow ();
9291 return 0;
9293 _ACEOF
9294 if ac_fn_c_try_link "$LINENO"; then :
9295 case "$LIBEXT" in
9296 dll) ac_cv_lib_soname_X11=`$ac_cv_path_LDD conftest.exe | grep "X11" | sed -e "s/dll.*/dll/"';2,$d'` ;;
9297 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'` ;;
9298 *) ac_cv_lib_soname_X11=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libX11\\.$LIBEXT" | sed -e "s/^.*\\[\\(libX11\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
9299 if ${ac_cv_lib_soname_X11:+false} :; then :
9300 ac_cv_lib_soname_X11=`$LDD conftest$ac_exeext | grep "libX11\\.$LIBEXT" | sed -e "s/^.*\(libX11\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
9301 fi ;;
9302 esac
9304 rm -f core conftest.err conftest.$ac_objext \
9305 conftest$ac_exeext conftest.$ac_ext
9306 LIBS=$ac_check_soname_save_LIBS
9308 if ${ac_cv_lib_soname_X11:+false} :; then :
9309 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
9310 $as_echo "not found" >&6; }
9312 else
9313 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_X11" >&5
9314 $as_echo "$ac_cv_lib_soname_X11" >&6; }
9316 cat >>confdefs.h <<_ACEOF
9317 #define SONAME_LIBX11 "$ac_cv_lib_soname_X11"
9318 _ACEOF
9322 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lXext" >&5
9323 $as_echo_n "checking for -lXext... " >&6; }
9324 if ${ac_cv_lib_soname_Xext+:} false; then :
9325 $as_echo_n "(cached) " >&6
9326 else
9327 ac_check_soname_save_LIBS=$LIBS
9328 LIBS="-lXext $X_LIBS -lX11 $X_EXTRA_LIBS $LIBS"
9329 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9330 /* end confdefs.h. */
9332 /* Override any GCC internal prototype to avoid an error.
9333 Use char because int might match the return type of a GCC
9334 builtin and then its argument prototype would still apply. */
9335 #ifdef __cplusplus
9336 extern "C"
9337 #endif
9338 char XextCreateExtension ();
9340 main ()
9342 return XextCreateExtension ();
9344 return 0;
9346 _ACEOF
9347 if ac_fn_c_try_link "$LINENO"; then :
9348 case "$LIBEXT" in
9349 dll) ac_cv_lib_soname_Xext=`$ac_cv_path_LDD conftest.exe | grep "Xext" | sed -e "s/dll.*/dll/"';2,$d'` ;;
9350 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'` ;;
9351 *) ac_cv_lib_soname_Xext=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libXext\\.$LIBEXT" | sed -e "s/^.*\\[\\(libXext\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
9352 if ${ac_cv_lib_soname_Xext:+false} :; then :
9353 ac_cv_lib_soname_Xext=`$LDD conftest$ac_exeext | grep "libXext\\.$LIBEXT" | sed -e "s/^.*\(libXext\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
9354 fi ;;
9355 esac
9357 rm -f core conftest.err conftest.$ac_objext \
9358 conftest$ac_exeext conftest.$ac_ext
9359 LIBS=$ac_check_soname_save_LIBS
9361 if ${ac_cv_lib_soname_Xext:+false} :; then :
9362 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
9363 $as_echo "not found" >&6; }
9365 else
9366 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_Xext" >&5
9367 $as_echo "$ac_cv_lib_soname_Xext" >&6; }
9369 cat >>confdefs.h <<_ACEOF
9370 #define SONAME_LIBXEXT "$ac_cv_lib_soname_Xext"
9371 _ACEOF
9373 X_LIBS="$X_LIBS -lXext"
9375 X_LIBS="$X_LIBS -lX11"
9377 for ac_header in X11/Xlib.h \
9378 X11/XKBlib.h \
9379 X11/Xutil.h \
9380 X11/Xcursor/Xcursor.h \
9381 X11/extensions/shape.h \
9382 X11/extensions/XInput.h \
9383 X11/extensions/XInput2.h \
9384 X11/extensions/XShm.h \
9385 X11/extensions/Xcomposite.h \
9386 X11/extensions/Xinerama.h \
9387 X11/extensions/Xrandr.h \
9388 X11/extensions/Xrender.h \
9389 X11/extensions/xf86vmode.h \
9390 X11/extensions/xf86vmproto.h
9391 do :
9392 as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
9393 ac_fn_c_check_header_compile "$LINENO" "$ac_header" "$as_ac_Header" "#ifdef HAVE_X11_XLIB_H
9394 # include <X11/Xlib.h>
9395 #endif
9396 #ifdef HAVE_X11_XUTIL_H
9397 # include <X11/Xutil.h>
9398 #endif
9400 if eval test \"x\$"$as_ac_Header"\" = x"yes"; then :
9401 cat >>confdefs.h <<_ACEOF
9402 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
9403 _ACEOF
9407 done
9410 if test "$ac_cv_header_X11_XKBlib_h" = "yes"
9411 then
9412 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for XkbQueryExtension in -lX11" >&5
9413 $as_echo_n "checking for XkbQueryExtension in -lX11... " >&6; }
9414 if ${ac_cv_lib_X11_XkbQueryExtension+:} false; then :
9415 $as_echo_n "(cached) " >&6
9416 else
9417 ac_check_lib_save_LIBS=$LIBS
9418 LIBS="-lX11 $X_LIBS $X_EXTRA_LIBS $LIBS"
9419 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9420 /* end confdefs.h. */
9422 /* Override any GCC internal prototype to avoid an error.
9423 Use char because int might match the return type of a GCC
9424 builtin and then its argument prototype would still apply. */
9425 #ifdef __cplusplus
9426 extern "C"
9427 #endif
9428 char XkbQueryExtension ();
9430 main ()
9432 return XkbQueryExtension ();
9434 return 0;
9436 _ACEOF
9437 if ac_fn_c_try_link "$LINENO"; then :
9438 ac_cv_lib_X11_XkbQueryExtension=yes
9439 else
9440 ac_cv_lib_X11_XkbQueryExtension=no
9442 rm -f core conftest.err conftest.$ac_objext \
9443 conftest$ac_exeext conftest.$ac_ext
9444 LIBS=$ac_check_lib_save_LIBS
9446 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_X11_XkbQueryExtension" >&5
9447 $as_echo "$ac_cv_lib_X11_XkbQueryExtension" >&6; }
9448 if test "x$ac_cv_lib_X11_XkbQueryExtension" = xyes; then :
9450 $as_echo "#define HAVE_XKB 1" >>confdefs.h
9456 if test "$ac_cv_header_X11_Xcursor_Xcursor_h" = "yes"
9457 then
9458 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lXcursor" >&5
9459 $as_echo_n "checking for -lXcursor... " >&6; }
9460 if ${ac_cv_lib_soname_Xcursor+:} false; then :
9461 $as_echo_n "(cached) " >&6
9462 else
9463 ac_check_soname_save_LIBS=$LIBS
9464 LIBS="-lXcursor $X_LIBS $X_EXTRA_LIBS $LIBS"
9465 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9466 /* end confdefs.h. */
9468 /* Override any GCC internal prototype to avoid an error.
9469 Use char because int might match the return type of a GCC
9470 builtin and then its argument prototype would still apply. */
9471 #ifdef __cplusplus
9472 extern "C"
9473 #endif
9474 char XcursorImageLoadCursor ();
9476 main ()
9478 return XcursorImageLoadCursor ();
9480 return 0;
9482 _ACEOF
9483 if ac_fn_c_try_link "$LINENO"; then :
9484 case "$LIBEXT" in
9485 dll) ac_cv_lib_soname_Xcursor=`$ac_cv_path_LDD conftest.exe | grep "Xcursor" | sed -e "s/dll.*/dll/"';2,$d'` ;;
9486 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'` ;;
9487 *) ac_cv_lib_soname_Xcursor=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libXcursor\\.$LIBEXT" | sed -e "s/^.*\\[\\(libXcursor\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
9488 if ${ac_cv_lib_soname_Xcursor:+false} :; then :
9489 ac_cv_lib_soname_Xcursor=`$LDD conftest$ac_exeext | grep "libXcursor\\.$LIBEXT" | sed -e "s/^.*\(libXcursor\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
9490 fi ;;
9491 esac
9493 rm -f core conftest.err conftest.$ac_objext \
9494 conftest$ac_exeext conftest.$ac_ext
9495 LIBS=$ac_check_soname_save_LIBS
9497 if ${ac_cv_lib_soname_Xcursor:+false} :; then :
9498 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
9499 $as_echo "not found" >&6; }
9501 else
9502 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_Xcursor" >&5
9503 $as_echo "$ac_cv_lib_soname_Xcursor" >&6; }
9505 cat >>confdefs.h <<_ACEOF
9506 #define SONAME_LIBXCURSOR "$ac_cv_lib_soname_Xcursor"
9507 _ACEOF
9512 if test "x$ac_cv_lib_soname_Xcursor" = "x"; then :
9513 case "x$with_xcursor" in
9514 x) as_fn_append wine_notices "|libxcursor ${notice_platform}development files not found, the Xcursor extension won't be supported." ;;
9515 xno) ;;
9516 *) as_fn_error $? "libxcursor ${notice_platform}development files not found, the Xcursor extension won't be supported.
9517 This is an error since --with-xcursor was requested." "$LINENO" 5 ;;
9518 esac
9521 if test "$ac_cv_header_X11_extensions_XInput_h" = "yes"
9522 then
9523 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lXi" >&5
9524 $as_echo_n "checking for -lXi... " >&6; }
9525 if ${ac_cv_lib_soname_Xi+:} false; then :
9526 $as_echo_n "(cached) " >&6
9527 else
9528 ac_check_soname_save_LIBS=$LIBS
9529 LIBS="-lXi $X_LIBS $X_EXTRA_LIBS $LIBS"
9530 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9531 /* end confdefs.h. */
9533 /* Override any GCC internal prototype to avoid an error.
9534 Use char because int might match the return type of a GCC
9535 builtin and then its argument prototype would still apply. */
9536 #ifdef __cplusplus
9537 extern "C"
9538 #endif
9539 char XOpenDevice ();
9541 main ()
9543 return XOpenDevice ();
9545 return 0;
9547 _ACEOF
9548 if ac_fn_c_try_link "$LINENO"; then :
9549 case "$LIBEXT" in
9550 dll) ac_cv_lib_soname_Xi=`$ac_cv_path_LDD conftest.exe | grep "Xi" | sed -e "s/dll.*/dll/"';2,$d'` ;;
9551 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'` ;;
9552 *) ac_cv_lib_soname_Xi=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libXi\\.$LIBEXT" | sed -e "s/^.*\\[\\(libXi\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
9553 if ${ac_cv_lib_soname_Xi:+false} :; then :
9554 ac_cv_lib_soname_Xi=`$LDD conftest$ac_exeext | grep "libXi\\.$LIBEXT" | sed -e "s/^.*\(libXi\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
9555 fi ;;
9556 esac
9558 rm -f core conftest.err conftest.$ac_objext \
9559 conftest$ac_exeext conftest.$ac_ext
9560 LIBS=$ac_check_soname_save_LIBS
9562 if ${ac_cv_lib_soname_Xi:+false} :; then :
9563 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
9564 $as_echo "not found" >&6; }
9566 else
9567 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_Xi" >&5
9568 $as_echo "$ac_cv_lib_soname_Xi" >&6; }
9570 cat >>confdefs.h <<_ACEOF
9571 #define SONAME_LIBXI "$ac_cv_lib_soname_Xi"
9572 _ACEOF
9577 if test "x$ac_cv_lib_soname_Xi" = "x"; then :
9578 case "x$with_xinput" in
9579 x) as_fn_append wine_notices "|libxi ${notice_platform}development files not found, the Xinput extension won't be supported." ;;
9580 xno) ;;
9581 *) as_fn_error $? "libxi ${notice_platform}development files not found, the Xinput extension won't be supported.
9582 This is an error since --with-xinput was requested." "$LINENO" 5 ;;
9583 esac
9586 if test "x$ac_cv_lib_soname_Xi" != x
9587 then
9588 if test "$ac_cv_header_X11_extensions_XInput2_h" != "yes"; then :
9589 case "x$with_xinput2" in
9590 x) as_fn_append wine_notices "|XInput2 headers not found, the XInput 2 extension won't be supported." ;;
9591 xno) ;;
9592 *) as_fn_error $? "XInput2 headers not found, the XInput 2 extension won't be supported.
9593 This is an error since --with-xinput2 was requested." "$LINENO" 5 ;;
9594 esac
9598 if test "$ac_cv_header_X11_extensions_XShm_h" = "yes"
9599 then
9600 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for XShmQueryExtension in -lXext" >&5
9601 $as_echo_n "checking for XShmQueryExtension in -lXext... " >&6; }
9602 if ${ac_cv_lib_Xext_XShmQueryExtension+:} false; then :
9603 $as_echo_n "(cached) " >&6
9604 else
9605 ac_check_lib_save_LIBS=$LIBS
9606 LIBS="-lXext $X_LIBS $X_EXTRA_LIBS $LIBS"
9607 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9608 /* end confdefs.h. */
9610 /* Override any GCC internal prototype to avoid an error.
9611 Use char because int might match the return type of a GCC
9612 builtin and then its argument prototype would still apply. */
9613 #ifdef __cplusplus
9614 extern "C"
9615 #endif
9616 char XShmQueryExtension ();
9618 main ()
9620 return XShmQueryExtension ();
9622 return 0;
9624 _ACEOF
9625 if ac_fn_c_try_link "$LINENO"; then :
9626 ac_cv_lib_Xext_XShmQueryExtension=yes
9627 else
9628 ac_cv_lib_Xext_XShmQueryExtension=no
9630 rm -f core conftest.err conftest.$ac_objext \
9631 conftest$ac_exeext conftest.$ac_ext
9632 LIBS=$ac_check_lib_save_LIBS
9634 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_Xext_XShmQueryExtension" >&5
9635 $as_echo "$ac_cv_lib_Xext_XShmQueryExtension" >&6; }
9636 if test "x$ac_cv_lib_Xext_XShmQueryExtension" = xyes; then :
9638 $as_echo "#define HAVE_LIBXXSHM 1" >>confdefs.h
9643 if test "$ac_cv_lib_Xext_XShmQueryExtension" != "yes"; then :
9644 case "x$with_xshm" in
9645 x) as_fn_append wine_notices "|XShm ${notice_platform}development files not found, X Shared Memory won't be supported." ;;
9646 xno) ;;
9647 *) as_fn_error $? "XShm ${notice_platform}development files not found, X Shared Memory won't be supported.
9648 This is an error since --with-xshm was requested." "$LINENO" 5 ;;
9649 esac
9652 if test "$ac_cv_header_X11_extensions_shape_h" = "yes"
9653 then
9654 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for XShapeQueryExtension in -lXext" >&5
9655 $as_echo_n "checking for XShapeQueryExtension in -lXext... " >&6; }
9656 if ${ac_cv_lib_Xext_XShapeQueryExtension+:} false; then :
9657 $as_echo_n "(cached) " >&6
9658 else
9659 ac_check_lib_save_LIBS=$LIBS
9660 LIBS="-lXext $X_LIBS $X_EXTRA_LIBS $LIBS"
9661 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9662 /* end confdefs.h. */
9664 /* Override any GCC internal prototype to avoid an error.
9665 Use char because int might match the return type of a GCC
9666 builtin and then its argument prototype would still apply. */
9667 #ifdef __cplusplus
9668 extern "C"
9669 #endif
9670 char XShapeQueryExtension ();
9672 main ()
9674 return XShapeQueryExtension ();
9676 return 0;
9678 _ACEOF
9679 if ac_fn_c_try_link "$LINENO"; then :
9680 ac_cv_lib_Xext_XShapeQueryExtension=yes
9681 else
9682 ac_cv_lib_Xext_XShapeQueryExtension=no
9684 rm -f core conftest.err conftest.$ac_objext \
9685 conftest$ac_exeext conftest.$ac_ext
9686 LIBS=$ac_check_lib_save_LIBS
9688 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_Xext_XShapeQueryExtension" >&5
9689 $as_echo "$ac_cv_lib_Xext_XShapeQueryExtension" >&6; }
9690 if test "x$ac_cv_lib_Xext_XShapeQueryExtension" = xyes; then :
9692 $as_echo "#define HAVE_LIBXSHAPE 1" >>confdefs.h
9697 if test "$ac_cv_lib_Xext_XShapeQueryExtension" != "yes"; then :
9698 case "x$with_xshape" in
9699 x) as_fn_append wine_notices "|XShape ${notice_platform}development files not found, XShape won't be supported." ;;
9700 xno) ;;
9701 *) as_fn_error $? "XShape ${notice_platform}development files not found, XShape won't be supported.
9702 This is an error since --with-xshape was requested." "$LINENO" 5 ;;
9703 esac
9706 if test "$ac_cv_header_X11_extensions_xf86vmode_h" = "yes" -o "$ac_cv_header_X11_extensions_xf86vmproto_h" = "yes"
9707 then
9708 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lXxf86vm" >&5
9709 $as_echo_n "checking for -lXxf86vm... " >&6; }
9710 if ${ac_cv_lib_soname_Xxf86vm+:} false; then :
9711 $as_echo_n "(cached) " >&6
9712 else
9713 ac_check_soname_save_LIBS=$LIBS
9714 LIBS="-lXxf86vm $X_LIBS $X_EXTRA_LIBS $LIBS"
9715 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9716 /* end confdefs.h. */
9718 /* Override any GCC internal prototype to avoid an error.
9719 Use char because int might match the return type of a GCC
9720 builtin and then its argument prototype would still apply. */
9721 #ifdef __cplusplus
9722 extern "C"
9723 #endif
9724 char XF86VidModeQueryExtension ();
9726 main ()
9728 return XF86VidModeQueryExtension ();
9730 return 0;
9732 _ACEOF
9733 if ac_fn_c_try_link "$LINENO"; then :
9734 case "$LIBEXT" in
9735 dll) ac_cv_lib_soname_Xxf86vm=`$ac_cv_path_LDD conftest.exe | grep "Xxf86vm" | sed -e "s/dll.*/dll/"';2,$d'` ;;
9736 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'` ;;
9737 *) ac_cv_lib_soname_Xxf86vm=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libXxf86vm\\.$LIBEXT" | sed -e "s/^.*\\[\\(libXxf86vm\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
9738 if ${ac_cv_lib_soname_Xxf86vm:+false} :; then :
9739 ac_cv_lib_soname_Xxf86vm=`$LDD conftest$ac_exeext | grep "libXxf86vm\\.$LIBEXT" | sed -e "s/^.*\(libXxf86vm\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
9740 fi ;;
9741 esac
9743 rm -f core conftest.err conftest.$ac_objext \
9744 conftest$ac_exeext conftest.$ac_ext
9745 LIBS=$ac_check_soname_save_LIBS
9747 if ${ac_cv_lib_soname_Xxf86vm:+false} :; then :
9748 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
9749 $as_echo "not found" >&6; }
9751 else
9752 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_Xxf86vm" >&5
9753 $as_echo "$ac_cv_lib_soname_Xxf86vm" >&6; }
9755 cat >>confdefs.h <<_ACEOF
9756 #define SONAME_LIBXXF86VM "$ac_cv_lib_soname_Xxf86vm"
9757 _ACEOF
9762 if test "x$ac_cv_lib_soname_Xxf86vm" = "x"; then :
9763 case "x$with_xxf86vm" in
9764 x) as_fn_append wine_notices "|libXxf86vm ${notice_platform}development files not found, XFree86 Vidmode won't be supported." ;;
9765 xno) ;;
9766 *) as_fn_error $? "libXxf86vm ${notice_platform}development files not found, XFree86 Vidmode won't be supported.
9767 This is an error since --with-xxf86vm was requested." "$LINENO" 5 ;;
9768 esac
9771 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"
9772 then
9773 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lXrender" >&5
9774 $as_echo_n "checking for -lXrender... " >&6; }
9775 if ${ac_cv_lib_soname_Xrender+:} false; then :
9776 $as_echo_n "(cached) " >&6
9777 else
9778 ac_check_soname_save_LIBS=$LIBS
9779 LIBS="-lXrender $X_LIBS $X_EXTRA_LIBS $LIBS"
9780 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9781 /* end confdefs.h. */
9783 /* Override any GCC internal prototype to avoid an error.
9784 Use char because int might match the return type of a GCC
9785 builtin and then its argument prototype would still apply. */
9786 #ifdef __cplusplus
9787 extern "C"
9788 #endif
9789 char XRenderQueryExtension ();
9791 main ()
9793 return XRenderQueryExtension ();
9795 return 0;
9797 _ACEOF
9798 if ac_fn_c_try_link "$LINENO"; then :
9799 case "$LIBEXT" in
9800 dll) ac_cv_lib_soname_Xrender=`$ac_cv_path_LDD conftest.exe | grep "Xrender" | sed -e "s/dll.*/dll/"';2,$d'` ;;
9801 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'` ;;
9802 *) ac_cv_lib_soname_Xrender=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libXrender\\.$LIBEXT" | sed -e "s/^.*\\[\\(libXrender\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
9803 if ${ac_cv_lib_soname_Xrender:+false} :; then :
9804 ac_cv_lib_soname_Xrender=`$LDD conftest$ac_exeext | grep "libXrender\\.$LIBEXT" | sed -e "s/^.*\(libXrender\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
9805 fi ;;
9806 esac
9808 rm -f core conftest.err conftest.$ac_objext \
9809 conftest$ac_exeext conftest.$ac_ext
9810 LIBS=$ac_check_soname_save_LIBS
9812 if ${ac_cv_lib_soname_Xrender:+false} :; then :
9813 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
9814 $as_echo "not found" >&6; }
9816 else
9817 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_Xrender" >&5
9818 $as_echo "$ac_cv_lib_soname_Xrender" >&6; }
9820 cat >>confdefs.h <<_ACEOF
9821 #define SONAME_LIBXRENDER "$ac_cv_lib_soname_Xrender"
9822 _ACEOF
9824 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for XRenderSetPictureTransform in -lXrender" >&5
9825 $as_echo_n "checking for XRenderSetPictureTransform in -lXrender... " >&6; }
9826 if ${ac_cv_lib_Xrender_XRenderSetPictureTransform+:} false; then :
9827 $as_echo_n "(cached) " >&6
9828 else
9829 ac_check_lib_save_LIBS=$LIBS
9830 LIBS="-lXrender $X_LIBS $X_EXTRA_LIBS $LIBS"
9831 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9832 /* end confdefs.h. */
9834 /* Override any GCC internal prototype to avoid an error.
9835 Use char because int might match the return type of a GCC
9836 builtin and then its argument prototype would still apply. */
9837 #ifdef __cplusplus
9838 extern "C"
9839 #endif
9840 char XRenderSetPictureTransform ();
9842 main ()
9844 return XRenderSetPictureTransform ();
9846 return 0;
9848 _ACEOF
9849 if ac_fn_c_try_link "$LINENO"; then :
9850 ac_cv_lib_Xrender_XRenderSetPictureTransform=yes
9851 else
9852 ac_cv_lib_Xrender_XRenderSetPictureTransform=no
9854 rm -f core conftest.err conftest.$ac_objext \
9855 conftest$ac_exeext conftest.$ac_ext
9856 LIBS=$ac_check_lib_save_LIBS
9858 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_Xrender_XRenderSetPictureTransform" >&5
9859 $as_echo "$ac_cv_lib_Xrender_XRenderSetPictureTransform" >&6; }
9860 if test "x$ac_cv_lib_Xrender_XRenderSetPictureTransform" = xyes; then :
9862 $as_echo "#define HAVE_XRENDERSETPICTURETRANSFORM 1" >>confdefs.h
9866 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for XRenderCreateLinearGradient in -lXrender" >&5
9867 $as_echo_n "checking for XRenderCreateLinearGradient in -lXrender... " >&6; }
9868 if ${ac_cv_lib_Xrender_XRenderCreateLinearGradient+:} false; then :
9869 $as_echo_n "(cached) " >&6
9870 else
9871 ac_check_lib_save_LIBS=$LIBS
9872 LIBS="-lXrender $X_LIBS $X_EXTRA_LIBS $LIBS"
9873 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9874 /* end confdefs.h. */
9876 /* Override any GCC internal prototype to avoid an error.
9877 Use char because int might match the return type of a GCC
9878 builtin and then its argument prototype would still apply. */
9879 #ifdef __cplusplus
9880 extern "C"
9881 #endif
9882 char XRenderCreateLinearGradient ();
9884 main ()
9886 return XRenderCreateLinearGradient ();
9888 return 0;
9890 _ACEOF
9891 if ac_fn_c_try_link "$LINENO"; then :
9892 ac_cv_lib_Xrender_XRenderCreateLinearGradient=yes
9893 else
9894 ac_cv_lib_Xrender_XRenderCreateLinearGradient=no
9896 rm -f core conftest.err conftest.$ac_objext \
9897 conftest$ac_exeext conftest.$ac_ext
9898 LIBS=$ac_check_lib_save_LIBS
9900 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_Xrender_XRenderCreateLinearGradient" >&5
9901 $as_echo "$ac_cv_lib_Xrender_XRenderCreateLinearGradient" >&6; }
9902 if test "x$ac_cv_lib_Xrender_XRenderCreateLinearGradient" = xyes; then :
9904 $as_echo "#define HAVE_XRENDERCREATELINEARGRADIENT 1" >>confdefs.h
9911 if test "x$ac_cv_lib_soname_Xrender" = "x"; then :
9912 case "x$with_xrender" in
9913 x) as_fn_append wine_warnings "|libxrender ${notice_platform}development files not found, XRender won't be supported." ;;
9914 xno) ;;
9915 *) as_fn_error $? "libxrender ${notice_platform}development files not found, XRender won't be supported.
9916 This is an error since --with-xrender was requested." "$LINENO" 5 ;;
9917 esac
9920 if test "$ac_cv_header_X11_extensions_Xrandr_h" = "yes" -a "x$ac_cv_lib_soname_Xrender" != "x"
9921 then
9922 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9923 /* end confdefs.h. */
9924 #include <X11/Xlib.h>
9925 #include <X11/extensions/Xrandr.h>
9927 main ()
9929 static typeof(XRRSetScreenConfigAndRate) * func; if (func) return 0;
9931 return 0;
9933 _ACEOF
9934 if ac_fn_c_try_compile "$LINENO"; then :
9935 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lXrandr" >&5
9936 $as_echo_n "checking for -lXrandr... " >&6; }
9937 if ${ac_cv_lib_soname_Xrandr+:} false; then :
9938 $as_echo_n "(cached) " >&6
9939 else
9940 ac_check_soname_save_LIBS=$LIBS
9941 LIBS="-lXrandr $X_LIBS $X_EXTRA_LIBS $LIBS"
9942 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9943 /* end confdefs.h. */
9945 /* Override any GCC internal prototype to avoid an error.
9946 Use char because int might match the return type of a GCC
9947 builtin and then its argument prototype would still apply. */
9948 #ifdef __cplusplus
9949 extern "C"
9950 #endif
9951 char XRRQueryExtension ();
9953 main ()
9955 return XRRQueryExtension ();
9957 return 0;
9959 _ACEOF
9960 if ac_fn_c_try_link "$LINENO"; then :
9961 case "$LIBEXT" in
9962 dll) ac_cv_lib_soname_Xrandr=`$ac_cv_path_LDD conftest.exe | grep "Xrandr" | sed -e "s/dll.*/dll/"';2,$d'` ;;
9963 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'` ;;
9964 *) ac_cv_lib_soname_Xrandr=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libXrandr\\.$LIBEXT" | sed -e "s/^.*\\[\\(libXrandr\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
9965 if ${ac_cv_lib_soname_Xrandr:+false} :; then :
9966 ac_cv_lib_soname_Xrandr=`$LDD conftest$ac_exeext | grep "libXrandr\\.$LIBEXT" | sed -e "s/^.*\(libXrandr\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
9967 fi ;;
9968 esac
9970 rm -f core conftest.err conftest.$ac_objext \
9971 conftest$ac_exeext conftest.$ac_ext
9972 LIBS=$ac_check_soname_save_LIBS
9974 if ${ac_cv_lib_soname_Xrandr:+false} :; then :
9975 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
9976 $as_echo "not found" >&6; }
9978 else
9979 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_Xrandr" >&5
9980 $as_echo "$ac_cv_lib_soname_Xrandr" >&6; }
9982 cat >>confdefs.h <<_ACEOF
9983 #define SONAME_LIBXRANDR "$ac_cv_lib_soname_Xrandr"
9984 _ACEOF
9986 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9987 /* end confdefs.h. */
9988 #include <X11/Xlib.h>
9989 #include <X11/extensions/Xrandr.h>
9991 main ()
9993 static typeof(XRRGetScreenResources) *f; if (f) return 0;
9995 return 0;
9997 _ACEOF
9998 if ac_fn_c_try_compile "$LINENO"; then :
10000 $as_echo "#define HAVE_XRRGETSCREENRESOURCES 1" >>confdefs.h
10003 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
10006 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
10008 if test "x$ac_cv_lib_soname_Xrandr" = "x"; then :
10009 case "x$with_xrandr" in
10010 x) as_fn_append wine_notices "|libxrandr ${notice_platform}development files not found, XRandr won't be supported." ;;
10011 xno) ;;
10012 *) as_fn_error $? "libxrandr ${notice_platform}development files not found, XRandr won't be supported.
10013 This is an error since --with-xrandr was requested." "$LINENO" 5 ;;
10014 esac
10017 if test "$ac_cv_header_X11_extensions_Xinerama_h" = "yes"
10018 then
10019 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10020 /* end confdefs.h. */
10021 #include <X11/Xlib.h>
10022 #include <X11/extensions/Xinerama.h>
10024 main ()
10026 static typeof(XineramaQueryScreens) * func; if (func) return 0;
10028 return 0;
10030 _ACEOF
10031 if ac_fn_c_try_compile "$LINENO"; then :
10032 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lXinerama" >&5
10033 $as_echo_n "checking for -lXinerama... " >&6; }
10034 if ${ac_cv_lib_soname_Xinerama+:} false; then :
10035 $as_echo_n "(cached) " >&6
10036 else
10037 ac_check_soname_save_LIBS=$LIBS
10038 LIBS="-lXinerama $X_LIBS $X_EXTRA_LIBS $LIBS"
10039 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10040 /* end confdefs.h. */
10042 /* Override any GCC internal prototype to avoid an error.
10043 Use char because int might match the return type of a GCC
10044 builtin and then its argument prototype would still apply. */
10045 #ifdef __cplusplus
10046 extern "C"
10047 #endif
10048 char XineramaQueryScreens ();
10050 main ()
10052 return XineramaQueryScreens ();
10054 return 0;
10056 _ACEOF
10057 if ac_fn_c_try_link "$LINENO"; then :
10058 case "$LIBEXT" in
10059 dll) ac_cv_lib_soname_Xinerama=`$ac_cv_path_LDD conftest.exe | grep "Xinerama" | sed -e "s/dll.*/dll/"';2,$d'` ;;
10060 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'` ;;
10061 *) ac_cv_lib_soname_Xinerama=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libXinerama\\.$LIBEXT" | sed -e "s/^.*\\[\\(libXinerama\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
10062 if ${ac_cv_lib_soname_Xinerama:+false} :; then :
10063 ac_cv_lib_soname_Xinerama=`$LDD conftest$ac_exeext | grep "libXinerama\\.$LIBEXT" | sed -e "s/^.*\(libXinerama\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
10064 fi ;;
10065 esac
10067 rm -f core conftest.err conftest.$ac_objext \
10068 conftest$ac_exeext conftest.$ac_ext
10069 LIBS=$ac_check_soname_save_LIBS
10071 if ${ac_cv_lib_soname_Xinerama:+false} :; then :
10072 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
10073 $as_echo "not found" >&6; }
10075 else
10076 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_Xinerama" >&5
10077 $as_echo "$ac_cv_lib_soname_Xinerama" >&6; }
10079 cat >>confdefs.h <<_ACEOF
10080 #define SONAME_LIBXINERAMA "$ac_cv_lib_soname_Xinerama"
10081 _ACEOF
10086 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
10088 if test "x$ac_cv_lib_soname_Xinerama" = "x"; then :
10089 case "x$with_xinerama" in
10090 x) as_fn_append wine_notices "|libxinerama ${notice_platform}development files not found, multi-monitor setups won't be supported." ;;
10091 xno) ;;
10092 *) as_fn_error $? "libxinerama ${notice_platform}development files not found, multi-monitor setups won't be supported.
10093 This is an error since --with-xinerama was requested." "$LINENO" 5 ;;
10094 esac
10097 if test "$ac_cv_header_X11_extensions_Xcomposite_h" = "yes"
10098 then
10099 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lXcomposite" >&5
10100 $as_echo_n "checking for -lXcomposite... " >&6; }
10101 if ${ac_cv_lib_soname_Xcomposite+:} false; then :
10102 $as_echo_n "(cached) " >&6
10103 else
10104 ac_check_soname_save_LIBS=$LIBS
10105 LIBS="-lXcomposite $X_LIBS $X_EXTRA_LIBS $LIBS"
10106 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10107 /* end confdefs.h. */
10109 /* Override any GCC internal prototype to avoid an error.
10110 Use char because int might match the return type of a GCC
10111 builtin and then its argument prototype would still apply. */
10112 #ifdef __cplusplus
10113 extern "C"
10114 #endif
10115 char XCompositeRedirectWindow ();
10117 main ()
10119 return XCompositeRedirectWindow ();
10121 return 0;
10123 _ACEOF
10124 if ac_fn_c_try_link "$LINENO"; then :
10125 case "$LIBEXT" in
10126 dll) ac_cv_lib_soname_Xcomposite=`$ac_cv_path_LDD conftest.exe | grep "Xcomposite" | sed -e "s/dll.*/dll/"';2,$d'` ;;
10127 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'` ;;
10128 *) ac_cv_lib_soname_Xcomposite=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libXcomposite\\.$LIBEXT" | sed -e "s/^.*\\[\\(libXcomposite\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
10129 if ${ac_cv_lib_soname_Xcomposite:+false} :; then :
10130 ac_cv_lib_soname_Xcomposite=`$LDD conftest$ac_exeext | grep "libXcomposite\\.$LIBEXT" | sed -e "s/^.*\(libXcomposite\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
10131 fi ;;
10132 esac
10134 rm -f core conftest.err conftest.$ac_objext \
10135 conftest$ac_exeext conftest.$ac_ext
10136 LIBS=$ac_check_soname_save_LIBS
10138 if ${ac_cv_lib_soname_Xcomposite:+false} :; then :
10139 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
10140 $as_echo "not found" >&6; }
10142 else
10143 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_Xcomposite" >&5
10144 $as_echo "$ac_cv_lib_soname_Xcomposite" >&6; }
10146 cat >>confdefs.h <<_ACEOF
10147 #define SONAME_LIBXCOMPOSITE "$ac_cv_lib_soname_Xcomposite"
10148 _ACEOF
10153 if test "x$ac_cv_lib_soname_Xcomposite" = "x"; then :
10154 case "x$with_xcomposite" in
10155 x) as_fn_append wine_notices "|libxcomposite ${notice_platform}development files not found, Xcomposite won't be supported." ;;
10156 xno) ;;
10157 *) as_fn_error $? "libxcomposite ${notice_platform}development files not found, Xcomposite won't be supported.
10158 This is an error since --with-xcomposite was requested." "$LINENO" 5 ;;
10159 esac
10162 ac_fn_c_check_member "$LINENO" "XICCallback" "callback" "ac_cv_member_XICCallback_callback" "#ifdef HAVE_X11_XLIB_H
10163 #include <X11/Xlib.h>
10164 #endif
10166 if test "x$ac_cv_member_XICCallback_callback" = xyes; then :
10168 cat >>confdefs.h <<_ACEOF
10169 #define HAVE_XICCALLBACK_CALLBACK 1
10170 _ACEOF
10174 ac_fn_c_check_member "$LINENO" "XEvent" "xcookie" "ac_cv_member_XEvent_xcookie" "#ifdef HAVE_X11_XLIB_H
10175 #include <X11/Xlib.h>
10176 #endif
10178 if test "x$ac_cv_member_XEvent_xcookie" = xyes; then :
10180 cat >>confdefs.h <<_ACEOF
10181 #define HAVE_XEVENT_XCOOKIE 1
10182 _ACEOF
10189 opengl_msg=""
10190 if test "x$with_opengl" != "xno"
10191 then
10192 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lGL" >&5
10193 $as_echo_n "checking for -lGL... " >&6; }
10194 if ${ac_cv_lib_soname_GL+:} false; then :
10195 $as_echo_n "(cached) " >&6
10196 else
10197 ac_check_soname_save_LIBS=$LIBS
10198 LIBS="-lGL $X_LIBS -lm $X_EXTRA_LIBS $LIBS"
10199 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10200 /* end confdefs.h. */
10202 /* Override any GCC internal prototype to avoid an error.
10203 Use char because int might match the return type of a GCC
10204 builtin and then its argument prototype would still apply. */
10205 #ifdef __cplusplus
10206 extern "C"
10207 #endif
10208 char glXCreateContext ();
10210 main ()
10212 return glXCreateContext ();
10214 return 0;
10216 _ACEOF
10217 if ac_fn_c_try_link "$LINENO"; then :
10218 case "$LIBEXT" in
10219 dll) ac_cv_lib_soname_GL=`$ac_cv_path_LDD conftest.exe | grep "GL" | sed -e "s/dll.*/dll/"';2,$d'` ;;
10220 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'` ;;
10221 *) ac_cv_lib_soname_GL=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libGL\\.$LIBEXT" | sed -e "s/^.*\\[\\(libGL\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
10222 if ${ac_cv_lib_soname_GL:+false} :; then :
10223 ac_cv_lib_soname_GL=`$LDD conftest$ac_exeext | grep "libGL\\.$LIBEXT" | sed -e "s/^.*\(libGL\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
10224 fi ;;
10225 esac
10227 rm -f core conftest.err conftest.$ac_objext \
10228 conftest$ac_exeext conftest.$ac_ext
10229 LIBS=$ac_check_soname_save_LIBS
10231 if ${ac_cv_lib_soname_GL:+false} :; then :
10232 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
10233 $as_echo "not found" >&6; }
10234 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lGL" >&5
10235 $as_echo_n "checking for -lGL... " >&6; }
10236 if ${ac_cv_lib_soname_GL+:} false; then :
10237 $as_echo_n "(cached) " >&6
10238 else
10239 ac_check_soname_save_LIBS=$LIBS
10240 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"
10241 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10242 /* end confdefs.h. */
10244 /* Override any GCC internal prototype to avoid an error.
10245 Use char because int might match the return type of a GCC
10246 builtin and then its argument prototype would still apply. */
10247 #ifdef __cplusplus
10248 extern "C"
10249 #endif
10250 char glXCreateContext ();
10252 main ()
10254 return glXCreateContext ();
10256 return 0;
10258 _ACEOF
10259 if ac_fn_c_try_link "$LINENO"; then :
10260 case "$LIBEXT" in
10261 dll) ac_cv_lib_soname_GL=`$ac_cv_path_LDD conftest.exe | grep "GL" | sed -e "s/dll.*/dll/"';2,$d'` ;;
10262 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'` ;;
10263 *) ac_cv_lib_soname_GL=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libGL\\.$LIBEXT" | sed -e "s/^.*\\[\\(libGL\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
10264 if ${ac_cv_lib_soname_GL:+false} :; then :
10265 ac_cv_lib_soname_GL=`$LDD conftest$ac_exeext | grep "libGL\\.$LIBEXT" | sed -e "s/^.*\(libGL\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
10266 fi ;;
10267 esac
10269 rm -f core conftest.err conftest.$ac_objext \
10270 conftest$ac_exeext conftest.$ac_ext
10271 LIBS=$ac_check_soname_save_LIBS
10273 if ${ac_cv_lib_soname_GL:+false} :; then :
10274 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
10275 $as_echo "not found" >&6; }
10276 if test -f /usr/X11R6/lib/libGL.a
10277 then
10278 opengl_msg="/usr/X11R6/lib/libGL.a is present on your system.
10279 This probably prevents linking to OpenGL. Try deleting the file and restarting configure."
10280 else
10281 opengl_msg="No OpenGL library found on this system."
10283 else
10284 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_GL" >&5
10285 $as_echo "$ac_cv_lib_soname_GL" >&6; }
10287 cat >>confdefs.h <<_ACEOF
10288 #define SONAME_LIBGL "$ac_cv_lib_soname_GL"
10289 _ACEOF
10291 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"
10293 else
10294 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_GL" >&5
10295 $as_echo "$ac_cv_lib_soname_GL" >&6; }
10297 cat >>confdefs.h <<_ACEOF
10298 #define SONAME_LIBGL "$ac_cv_lib_soname_GL"
10299 _ACEOF
10301 OPENGL_LIBS="-lGL"
10303 if test "x$with_glu" != "xno"
10304 then
10305 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for gluLookAt in -lGLU" >&5
10306 $as_echo_n "checking for gluLookAt in -lGLU... " >&6; }
10307 if ${ac_cv_lib_GLU_gluLookAt+:} false; then :
10308 $as_echo_n "(cached) " >&6
10309 else
10310 ac_check_lib_save_LIBS=$LIBS
10311 LIBS="-lGLU $OPENGL_LIBS $X_LIBS -lm $X_EXTRA_LIBS $LIBS"
10312 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10313 /* end confdefs.h. */
10315 /* Override any GCC internal prototype to avoid an error.
10316 Use char because int might match the return type of a GCC
10317 builtin and then its argument prototype would still apply. */
10318 #ifdef __cplusplus
10319 extern "C"
10320 #endif
10321 char gluLookAt ();
10323 main ()
10325 return gluLookAt ();
10327 return 0;
10329 _ACEOF
10330 if ac_fn_c_try_link "$LINENO"; then :
10331 ac_cv_lib_GLU_gluLookAt=yes
10332 else
10333 ac_cv_lib_GLU_gluLookAt=no
10335 rm -f core conftest.err conftest.$ac_objext \
10336 conftest$ac_exeext conftest.$ac_ext
10337 LIBS=$ac_check_lib_save_LIBS
10339 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_GLU_gluLookAt" >&5
10340 $as_echo "$ac_cv_lib_GLU_gluLookAt" >&6; }
10341 if test "x$ac_cv_lib_GLU_gluLookAt" = xyes; then :
10345 if test "x$ac_cv_lib_GLU_gluLookAt" != xyes; then :
10346 case "x$with_glu" in
10347 x) as_fn_append wine_notices "|libGLU ${notice_platform}development files not found, GLU won't be supported." ;;
10348 xno) ;;
10349 *) as_fn_error $? "libGLU ${notice_platform}development files not found, GLU won't be supported.
10350 This is an error since --with-glu was requested." "$LINENO" 5 ;;
10351 esac
10355 if test "x$with_osmesa" != "xno"
10356 then
10357 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lOSMesa" >&5
10358 $as_echo_n "checking for -lOSMesa... " >&6; }
10359 if ${ac_cv_lib_soname_OSMesa+:} false; then :
10360 $as_echo_n "(cached) " >&6
10361 else
10362 ac_check_soname_save_LIBS=$LIBS
10363 LIBS="-lOSMesa $X_LIBS -lm $X_EXTRA_LIBS $LIBS"
10364 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10365 /* end confdefs.h. */
10367 /* Override any GCC internal prototype to avoid an error.
10368 Use char because int might match the return type of a GCC
10369 builtin and then its argument prototype would still apply. */
10370 #ifdef __cplusplus
10371 extern "C"
10372 #endif
10373 char glAccum ();
10375 main ()
10377 return glAccum ();
10379 return 0;
10381 _ACEOF
10382 if ac_fn_c_try_link "$LINENO"; then :
10383 case "$LIBEXT" in
10384 dll) ac_cv_lib_soname_OSMesa=`$ac_cv_path_LDD conftest.exe | grep "OSMesa" | sed -e "s/dll.*/dll/"';2,$d'` ;;
10385 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'` ;;
10386 *) ac_cv_lib_soname_OSMesa=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libOSMesa\\.$LIBEXT" | sed -e "s/^.*\\[\\(libOSMesa\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
10387 if ${ac_cv_lib_soname_OSMesa:+false} :; then :
10388 ac_cv_lib_soname_OSMesa=`$LDD conftest$ac_exeext | grep "libOSMesa\\.$LIBEXT" | sed -e "s/^.*\(libOSMesa\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
10389 fi ;;
10390 esac
10392 rm -f core conftest.err conftest.$ac_objext \
10393 conftest$ac_exeext conftest.$ac_ext
10394 LIBS=$ac_check_soname_save_LIBS
10396 if ${ac_cv_lib_soname_OSMesa:+false} :; then :
10397 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
10398 $as_echo "not found" >&6; }
10400 else
10401 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_OSMesa" >&5
10402 $as_echo "$ac_cv_lib_soname_OSMesa" >&6; }
10404 cat >>confdefs.h <<_ACEOF
10405 #define SONAME_LIBOSMESA "$ac_cv_lib_soname_OSMesa"
10406 _ACEOF
10410 if test "x$ac_cv_lib_soname_OSMesa" = "x"; then :
10411 case "x$with_osmesa" in
10412 x) as_fn_append wine_notices "|libOSMesa ${notice_platform}development files not found (or too old), OpenGL rendering in bitmaps won't be supported." ;;
10413 xno) ;;
10414 *) as_fn_error $? "libOSMesa ${notice_platform}development files not found (or too old), OpenGL rendering in bitmaps won't be supported.
10415 This is an error since --with-osmesa was requested." "$LINENO" 5 ;;
10416 esac
10420 if test -n "$opengl_msg"; then :
10421 case "x$with_opengl" in
10422 x) as_fn_append wine_warnings "|$opengl_msg
10423 OpenGL and Direct3D won't be supported." ;;
10424 xno) ;;
10425 *) as_fn_error $? "$opengl_msg
10426 OpenGL and Direct3D won't be supported.
10427 This is an error since --with-opengl was requested." "$LINENO" 5 ;;
10428 esac
10431 CPPFLAGS="$ac_save_CPPFLAGS"
10432 else
10433 X_CFLAGS=""
10434 X_LIBS=""
10435 enable_winex11_drv=${enable_winex11_drv:-no}
10437 if test "x$X_LIBS" = "x"; then :
10438 case "x$with_x" in
10439 xno) ;;
10440 *) as_fn_error $? "X ${notice_platform}development files not found. Wine will be built
10441 without X support, which probably isn't what you want. You will need
10442 to install ${notice_platform}development packages of Xlib/Xfree86 at the very least.
10443 Use the --without-x option if you really want this." "$LINENO" 5 ;;
10444 esac
10447 test "x$ac_cv_lib_GLU_gluLookAt" != xyes && enable_glu32=${enable_glu32:-no}
10449 if test "$ac_cv_header_CL_cl_h" = "yes"
10450 then
10451 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for clGetPlatformInfo in -lOpenCL" >&5
10452 $as_echo_n "checking for clGetPlatformInfo in -lOpenCL... " >&6; }
10453 if ${ac_cv_lib_OpenCL_clGetPlatformInfo+:} false; then :
10454 $as_echo_n "(cached) " >&6
10455 else
10456 ac_check_lib_save_LIBS=$LIBS
10457 LIBS="-lOpenCL $LIBS"
10458 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10459 /* end confdefs.h. */
10461 /* Override any GCC internal prototype to avoid an error.
10462 Use char because int might match the return type of a GCC
10463 builtin and then its argument prototype would still apply. */
10464 #ifdef __cplusplus
10465 extern "C"
10466 #endif
10467 char clGetPlatformInfo ();
10469 main ()
10471 return clGetPlatformInfo ();
10473 return 0;
10475 _ACEOF
10476 if ac_fn_c_try_link "$LINENO"; then :
10477 ac_cv_lib_OpenCL_clGetPlatformInfo=yes
10478 else
10479 ac_cv_lib_OpenCL_clGetPlatformInfo=no
10481 rm -f core conftest.err conftest.$ac_objext \
10482 conftest$ac_exeext conftest.$ac_ext
10483 LIBS=$ac_check_lib_save_LIBS
10485 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_OpenCL_clGetPlatformInfo" >&5
10486 $as_echo "$ac_cv_lib_OpenCL_clGetPlatformInfo" >&6; }
10487 if test "x$ac_cv_lib_OpenCL_clGetPlatformInfo" = xyes; then :
10488 OPENCL_LIBS="-lOpenCL"
10493 if test "x$ac_cv_lib_OpenCL_clGetPlatformInfo" != xyes; then :
10494 case "x$with_opencl" in
10495 x) as_fn_append wine_notices "|OpenCL ${notice_platform}development files not found, OpenCL won't be supported." ;;
10496 xno) ;;
10497 *) as_fn_error $? "OpenCL ${notice_platform}development files not found, OpenCL won't be supported.
10498 This is an error since --with-opencl was requested." "$LINENO" 5 ;;
10499 esac
10501 test "x$ac_cv_lib_OpenCL_clGetPlatformInfo" != xyes && enable_opencl=${enable_opencl:-no}
10504 if test "x$with_xml" != "xno"
10505 then
10506 if ${XML2_CFLAGS:+false} :; then :
10507 if ${PKG_CONFIG+:} false; then :
10508 XML2_CFLAGS=`$PKG_CONFIG --cflags libxml-2.0 2>/dev/null`
10511 test "$cross_compiling" = yes || XML2_CFLAGS=${XML2_CFLAGS:-`xml2-config --cflags 2>/dev/null`}
10512 if ${XML2_LIBS:+false} :; then :
10513 if ${PKG_CONFIG+:} false; then :
10514 XML2_LIBS=`$PKG_CONFIG --libs libxml-2.0 2>/dev/null`
10517 test "$cross_compiling" = yes || XML2_LIBS=${XML2_LIBS:-`xml2-config --libs 2>/dev/null`}
10518 XML2_LIBS=${XML2_LIBS:-"-lxml2"}
10519 $as_echo "$as_me:${as_lineno-$LINENO}: libxml-2.0 cflags: $XML2_CFLAGS" >&5
10520 $as_echo "$as_me:${as_lineno-$LINENO}: libxml-2.0 libs: $XML2_LIBS" >&5
10521 ac_save_CPPFLAGS=$CPPFLAGS
10522 CPPFLAGS="$CPPFLAGS $XML2_CFLAGS"
10523 for ac_header in libxml/parser.h libxml/xmlsave.h libxml/SAX2.h
10524 do :
10525 as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
10526 ac_fn_c_check_header_mongrel "$LINENO" "$ac_header" "$as_ac_Header" "$ac_includes_default"
10527 if eval test \"x\$"$as_ac_Header"\" = x"yes"; then :
10528 cat >>confdefs.h <<_ACEOF
10529 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
10530 _ACEOF
10534 done
10536 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"
10537 then
10538 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for xmlParseMemory in -lxml2" >&5
10539 $as_echo_n "checking for xmlParseMemory in -lxml2... " >&6; }
10540 if ${ac_cv_lib_xml2_xmlParseMemory+:} false; then :
10541 $as_echo_n "(cached) " >&6
10542 else
10543 ac_check_lib_save_LIBS=$LIBS
10544 LIBS="-lxml2 $XML2_LIBS $LIBS"
10545 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10546 /* end confdefs.h. */
10548 /* Override any GCC internal prototype to avoid an error.
10549 Use char because int might match the return type of a GCC
10550 builtin and then its argument prototype would still apply. */
10551 #ifdef __cplusplus
10552 extern "C"
10553 #endif
10554 char xmlParseMemory ();
10556 main ()
10558 return xmlParseMemory ();
10560 return 0;
10562 _ACEOF
10563 if ac_fn_c_try_link "$LINENO"; then :
10564 ac_cv_lib_xml2_xmlParseMemory=yes
10565 else
10566 ac_cv_lib_xml2_xmlParseMemory=no
10568 rm -f core conftest.err conftest.$ac_objext \
10569 conftest$ac_exeext conftest.$ac_ext
10570 LIBS=$ac_check_lib_save_LIBS
10572 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_xml2_xmlParseMemory" >&5
10573 $as_echo "$ac_cv_lib_xml2_xmlParseMemory" >&6; }
10574 if test "x$ac_cv_lib_xml2_xmlParseMemory" = xyes; then :
10576 $as_echo "#define HAVE_LIBXML2 1" >>confdefs.h
10578 else
10579 XML2_LIBS=""
10582 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for xmlReadMemory in -lxml2" >&5
10583 $as_echo_n "checking for xmlReadMemory in -lxml2... " >&6; }
10584 if ${ac_cv_lib_xml2_xmlReadMemory+:} false; then :
10585 $as_echo_n "(cached) " >&6
10586 else
10587 ac_check_lib_save_LIBS=$LIBS
10588 LIBS="-lxml2 $XML2_LIBS $LIBS"
10589 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10590 /* end confdefs.h. */
10592 /* Override any GCC internal prototype to avoid an error.
10593 Use char because int might match the return type of a GCC
10594 builtin and then its argument prototype would still apply. */
10595 #ifdef __cplusplus
10596 extern "C"
10597 #endif
10598 char xmlReadMemory ();
10600 main ()
10602 return xmlReadMemory ();
10604 return 0;
10606 _ACEOF
10607 if ac_fn_c_try_link "$LINENO"; then :
10608 ac_cv_lib_xml2_xmlReadMemory=yes
10609 else
10610 ac_cv_lib_xml2_xmlReadMemory=no
10612 rm -f core conftest.err conftest.$ac_objext \
10613 conftest$ac_exeext conftest.$ac_ext
10614 LIBS=$ac_check_lib_save_LIBS
10616 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_xml2_xmlReadMemory" >&5
10617 $as_echo "$ac_cv_lib_xml2_xmlReadMemory" >&6; }
10618 if test "x$ac_cv_lib_xml2_xmlReadMemory" = xyes; then :
10620 $as_echo "#define HAVE_XMLREADMEMORY 1" >>confdefs.h
10624 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for xmlNewDocPI in -lxml2" >&5
10625 $as_echo_n "checking for xmlNewDocPI in -lxml2... " >&6; }
10626 if ${ac_cv_lib_xml2_xmlNewDocPI+:} false; then :
10627 $as_echo_n "(cached) " >&6
10628 else
10629 ac_check_lib_save_LIBS=$LIBS
10630 LIBS="-lxml2 $XML2_LIBS $LIBS"
10631 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10632 /* end confdefs.h. */
10634 /* Override any GCC internal prototype to avoid an error.
10635 Use char because int might match the return type of a GCC
10636 builtin and then its argument prototype would still apply. */
10637 #ifdef __cplusplus
10638 extern "C"
10639 #endif
10640 char xmlNewDocPI ();
10642 main ()
10644 return xmlNewDocPI ();
10646 return 0;
10648 _ACEOF
10649 if ac_fn_c_try_link "$LINENO"; then :
10650 ac_cv_lib_xml2_xmlNewDocPI=yes
10651 else
10652 ac_cv_lib_xml2_xmlNewDocPI=no
10654 rm -f core conftest.err conftest.$ac_objext \
10655 conftest$ac_exeext conftest.$ac_ext
10656 LIBS=$ac_check_lib_save_LIBS
10658 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_xml2_xmlNewDocPI" >&5
10659 $as_echo "$ac_cv_lib_xml2_xmlNewDocPI" >&6; }
10660 if test "x$ac_cv_lib_xml2_xmlNewDocPI" = xyes; then :
10662 $as_echo "#define HAVE_XMLNEWDOCPI 1" >>confdefs.h
10666 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for xmlSchemaSetParserStructuredErrors in -lxml2" >&5
10667 $as_echo_n "checking for xmlSchemaSetParserStructuredErrors in -lxml2... " >&6; }
10668 if ${ac_cv_lib_xml2_xmlSchemaSetParserStructuredErrors+:} false; then :
10669 $as_echo_n "(cached) " >&6
10670 else
10671 ac_check_lib_save_LIBS=$LIBS
10672 LIBS="-lxml2 $XML2_LIBS $LIBS"
10673 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10674 /* end confdefs.h. */
10676 /* Override any GCC internal prototype to avoid an error.
10677 Use char because int might match the return type of a GCC
10678 builtin and then its argument prototype would still apply. */
10679 #ifdef __cplusplus
10680 extern "C"
10681 #endif
10682 char xmlSchemaSetParserStructuredErrors ();
10684 main ()
10686 return xmlSchemaSetParserStructuredErrors ();
10688 return 0;
10690 _ACEOF
10691 if ac_fn_c_try_link "$LINENO"; then :
10692 ac_cv_lib_xml2_xmlSchemaSetParserStructuredErrors=yes
10693 else
10694 ac_cv_lib_xml2_xmlSchemaSetParserStructuredErrors=no
10696 rm -f core conftest.err conftest.$ac_objext \
10697 conftest$ac_exeext conftest.$ac_ext
10698 LIBS=$ac_check_lib_save_LIBS
10700 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_xml2_xmlSchemaSetParserStructuredErrors" >&5
10701 $as_echo "$ac_cv_lib_xml2_xmlSchemaSetParserStructuredErrors" >&6; }
10702 if test "x$ac_cv_lib_xml2_xmlSchemaSetParserStructuredErrors" = xyes; then :
10704 $as_echo "#define HAVE_XMLSCHEMASSETPARSERSTRUCTUREDERRORS 1" >>confdefs.h
10708 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for xmlSchemaSetValidStructuredErrors in -lxml2" >&5
10709 $as_echo_n "checking for xmlSchemaSetValidStructuredErrors in -lxml2... " >&6; }
10710 if ${ac_cv_lib_xml2_xmlSchemaSetValidStructuredErrors+:} false; then :
10711 $as_echo_n "(cached) " >&6
10712 else
10713 ac_check_lib_save_LIBS=$LIBS
10714 LIBS="-lxml2 $XML2_LIBS $LIBS"
10715 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10716 /* end confdefs.h. */
10718 /* Override any GCC internal prototype to avoid an error.
10719 Use char because int might match the return type of a GCC
10720 builtin and then its argument prototype would still apply. */
10721 #ifdef __cplusplus
10722 extern "C"
10723 #endif
10724 char xmlSchemaSetValidStructuredErrors ();
10726 main ()
10728 return xmlSchemaSetValidStructuredErrors ();
10730 return 0;
10732 _ACEOF
10733 if ac_fn_c_try_link "$LINENO"; then :
10734 ac_cv_lib_xml2_xmlSchemaSetValidStructuredErrors=yes
10735 else
10736 ac_cv_lib_xml2_xmlSchemaSetValidStructuredErrors=no
10738 rm -f core conftest.err conftest.$ac_objext \
10739 conftest$ac_exeext conftest.$ac_ext
10740 LIBS=$ac_check_lib_save_LIBS
10742 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_xml2_xmlSchemaSetValidStructuredErrors" >&5
10743 $as_echo "$ac_cv_lib_xml2_xmlSchemaSetValidStructuredErrors" >&6; }
10744 if test "x$ac_cv_lib_xml2_xmlSchemaSetValidStructuredErrors" = xyes; then :
10746 $as_echo "#define HAVE_XMLSCHEMASSETVALIDSTRUCTUREDERRORS 1" >>confdefs.h
10750 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for xmlFirstElementChild in -lxml2" >&5
10751 $as_echo_n "checking for xmlFirstElementChild in -lxml2... " >&6; }
10752 if ${ac_cv_lib_xml2_xmlFirstElementChild+:} false; then :
10753 $as_echo_n "(cached) " >&6
10754 else
10755 ac_check_lib_save_LIBS=$LIBS
10756 LIBS="-lxml2 $XML2_LIBS $LIBS"
10757 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10758 /* end confdefs.h. */
10760 /* Override any GCC internal prototype to avoid an error.
10761 Use char because int might match the return type of a GCC
10762 builtin and then its argument prototype would still apply. */
10763 #ifdef __cplusplus
10764 extern "C"
10765 #endif
10766 char xmlFirstElementChild ();
10768 main ()
10770 return xmlFirstElementChild ();
10772 return 0;
10774 _ACEOF
10775 if ac_fn_c_try_link "$LINENO"; then :
10776 ac_cv_lib_xml2_xmlFirstElementChild=yes
10777 else
10778 ac_cv_lib_xml2_xmlFirstElementChild=no
10780 rm -f core conftest.err conftest.$ac_objext \
10781 conftest$ac_exeext conftest.$ac_ext
10782 LIBS=$ac_check_lib_save_LIBS
10784 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_xml2_xmlFirstElementChild" >&5
10785 $as_echo "$ac_cv_lib_xml2_xmlFirstElementChild" >&6; }
10786 if test "x$ac_cv_lib_xml2_xmlFirstElementChild" = xyes; then :
10788 $as_echo "#define HAVE_XMLFIRSTELEMENTCHILD 1" >>confdefs.h
10792 ac_fn_c_check_type "$LINENO" "xmlDocProperties" "ac_cv_type_xmlDocProperties" "#include <libxml/tree.h>
10794 if test "x$ac_cv_type_xmlDocProperties" = xyes; then :
10796 $as_echo "#define HAVE_XMLDOC_PROPERTIES 1" >>confdefs.h
10800 else
10801 XML2_CFLAGS=""
10802 XML2_LIBS=""
10804 CPPFLAGS=$ac_save_CPPFLAGS
10805 test -z "$XML2_CFLAGS" || XML2_CFLAGS=`echo " $XML2_CFLAGS" | sed 's/ -I\([^/]\)/ -I\$(top_builddir)\/\1/g'`
10806 test -z "$XML2_LIBS" || XML2_LIBS=`echo " $XML2_LIBS" | sed 's/ -L\([^/]\)/ -L\$(top_builddir)\/\1/g'`
10809 if test "$ac_cv_lib_xml2_xmlParseMemory" != "yes"; then :
10810 case "x$with_xml" in
10811 x) as_fn_append wine_warnings "|libxml2 ${notice_platform}development files not found (or too old), XML won't be supported." ;;
10812 xno) ;;
10813 *) as_fn_error $? "libxml2 ${notice_platform}development files not found (or too old), XML won't be supported.
10814 This is an error since --with-xml was requested." "$LINENO" 5 ;;
10815 esac
10818 if test "x$with_xslt" != "xno"
10819 then
10820 if ${XSLT_CFLAGS:+false} :; then :
10821 if ${PKG_CONFIG+:} false; then :
10822 XSLT_CFLAGS=`$PKG_CONFIG --cflags libxslt 2>/dev/null`
10825 test "$cross_compiling" = yes || XSLT_CFLAGS=${XSLT_CFLAGS:-`xslt-config --cflags 2>/dev/null`}
10826 if ${XSLT_LIBS:+false} :; then :
10827 if ${PKG_CONFIG+:} false; then :
10828 XSLT_LIBS=`$PKG_CONFIG --libs libxslt 2>/dev/null`
10831 test "$cross_compiling" = yes || XSLT_LIBS=${XSLT_LIBS:-`xslt-config --libs 2>/dev/null`}
10832 XSLT_LIBS=${XSLT_LIBS:-"-lxml2"}
10833 $as_echo "$as_me:${as_lineno-$LINENO}: libxslt cflags: $XSLT_CFLAGS" >&5
10834 $as_echo "$as_me:${as_lineno-$LINENO}: libxslt libs: $XSLT_LIBS" >&5
10835 ac_save_CPPFLAGS=$CPPFLAGS
10836 CPPFLAGS="$CPPFLAGS $XSLT_CFLAGS"
10837 for ac_header in libxslt/pattern.h libxslt/transform.h
10838 do :
10839 as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
10840 ac_fn_c_check_header_compile "$LINENO" "$ac_header" "$as_ac_Header" "#ifdef HAVE_LIBXSLT_PATTERN_H
10841 # include <libxslt/pattern.h>
10842 #endif
10844 if eval test \"x\$"$as_ac_Header"\" = x"yes"; then :
10845 cat >>confdefs.h <<_ACEOF
10846 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
10847 _ACEOF
10851 done
10853 if test "$ac_cv_header_libxslt_transform_h" = "yes"
10854 then
10855 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lxslt" >&5
10856 $as_echo_n "checking for -lxslt... " >&6; }
10857 if ${ac_cv_lib_soname_xslt+:} false; then :
10858 $as_echo_n "(cached) " >&6
10859 else
10860 ac_check_soname_save_LIBS=$LIBS
10861 LIBS="-lxslt $XSLT_LIBS $LIBS"
10862 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10863 /* end confdefs.h. */
10865 /* Override any GCC internal prototype to avoid an error.
10866 Use char because int might match the return type of a GCC
10867 builtin and then its argument prototype would still apply. */
10868 #ifdef __cplusplus
10869 extern "C"
10870 #endif
10871 char xsltCompilePattern ();
10873 main ()
10875 return xsltCompilePattern ();
10877 return 0;
10879 _ACEOF
10880 if ac_fn_c_try_link "$LINENO"; then :
10881 case "$LIBEXT" in
10882 dll) ac_cv_lib_soname_xslt=`$ac_cv_path_LDD conftest.exe | grep "xslt" | sed -e "s/dll.*/dll/"';2,$d'` ;;
10883 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'` ;;
10884 *) ac_cv_lib_soname_xslt=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libxslt\\.$LIBEXT" | sed -e "s/^.*\\[\\(libxslt\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
10885 if ${ac_cv_lib_soname_xslt:+false} :; then :
10886 ac_cv_lib_soname_xslt=`$LDD conftest$ac_exeext | grep "libxslt\\.$LIBEXT" | sed -e "s/^.*\(libxslt\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
10887 fi ;;
10888 esac
10890 rm -f core conftest.err conftest.$ac_objext \
10891 conftest$ac_exeext conftest.$ac_ext
10892 LIBS=$ac_check_soname_save_LIBS
10894 if ${ac_cv_lib_soname_xslt:+false} :; then :
10895 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
10896 $as_echo "not found" >&6; }
10898 else
10899 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_xslt" >&5
10900 $as_echo "$ac_cv_lib_soname_xslt" >&6; }
10902 cat >>confdefs.h <<_ACEOF
10903 #define SONAME_LIBXSLT "$ac_cv_lib_soname_xslt"
10904 _ACEOF
10908 else
10909 XSLT_CFLAGS=""
10911 CPPFLAGS=$ac_save_CPPFLAGS
10912 test -z "$XSLT_CFLAGS" || XSLT_CFLAGS=`echo " $XSLT_CFLAGS" | sed 's/ -I\([^/]\)/ -I\$(top_builddir)\/\1/g'`
10913 test -z "$XSLT_LIBS" || XSLT_LIBS=`echo " $XSLT_LIBS" | sed 's/ -L\([^/]\)/ -L\$(top_builddir)\/\1/g'`
10916 if test "x$ac_cv_lib_soname_xslt" = "x"; then :
10917 case "x$with_xslt" in
10918 x) as_fn_append wine_warnings "|libxslt ${notice_platform}development files not found, xslt won't be supported." ;;
10919 xno) ;;
10920 *) as_fn_error $? "libxslt ${notice_platform}development files not found, xslt won't be supported.
10921 This is an error since --with-xslt was requested." "$LINENO" 5 ;;
10922 esac
10925 if test "x$with_dbus" != "xno"
10926 then
10927 if ${DBUS_CFLAGS:+false} :; then :
10928 if ${PKG_CONFIG+:} false; then :
10929 DBUS_CFLAGS=`$PKG_CONFIG --cflags dbus-1 2>/dev/null`
10933 if ${DBUS_LIBS:+false} :; then :
10934 if ${PKG_CONFIG+:} false; then :
10935 DBUS_LIBS=`$PKG_CONFIG --libs dbus-1 2>/dev/null`
10940 $as_echo "$as_me:${as_lineno-$LINENO}: dbus-1 cflags: $DBUS_CFLAGS" >&5
10941 $as_echo "$as_me:${as_lineno-$LINENO}: dbus-1 libs: $DBUS_LIBS" >&5
10942 ac_save_CPPFLAGS=$CPPFLAGS
10943 CPPFLAGS="$CPPFLAGS $DBUS_CFLAGS"
10944 ac_fn_c_check_header_mongrel "$LINENO" "dbus/dbus.h" "ac_cv_header_dbus_dbus_h" "$ac_includes_default"
10945 if test "x$ac_cv_header_dbus_dbus_h" = xyes; then :
10946 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -ldbus-1" >&5
10947 $as_echo_n "checking for -ldbus-1... " >&6; }
10948 if ${ac_cv_lib_soname_dbus_1+:} false; then :
10949 $as_echo_n "(cached) " >&6
10950 else
10951 ac_check_soname_save_LIBS=$LIBS
10952 LIBS="-ldbus-1 $DBUS_LIBS $LIBS"
10953 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10954 /* end confdefs.h. */
10956 /* Override any GCC internal prototype to avoid an error.
10957 Use char because int might match the return type of a GCC
10958 builtin and then its argument prototype would still apply. */
10959 #ifdef __cplusplus
10960 extern "C"
10961 #endif
10962 char dbus_connection_close ();
10964 main ()
10966 return dbus_connection_close ();
10968 return 0;
10970 _ACEOF
10971 if ac_fn_c_try_link "$LINENO"; then :
10972 case "$LIBEXT" in
10973 dll) ac_cv_lib_soname_dbus_1=`$ac_cv_path_LDD conftest.exe | grep "dbus-1" | sed -e "s/dll.*/dll/"';2,$d'` ;;
10974 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'` ;;
10975 *) 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'`
10976 if ${ac_cv_lib_soname_dbus_1:+false} :; then :
10977 ac_cv_lib_soname_dbus_1=`$LDD conftest$ac_exeext | grep "libdbus-1\\.$LIBEXT" | sed -e "s/^.*\(libdbus-1\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
10978 fi ;;
10979 esac
10981 rm -f core conftest.err conftest.$ac_objext \
10982 conftest$ac_exeext conftest.$ac_ext
10983 LIBS=$ac_check_soname_save_LIBS
10985 if ${ac_cv_lib_soname_dbus_1:+false} :; then :
10986 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
10987 $as_echo "not found" >&6; }
10988 DBUS_CFLAGS=""
10989 else
10990 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_dbus_1" >&5
10991 $as_echo "$ac_cv_lib_soname_dbus_1" >&6; }
10993 cat >>confdefs.h <<_ACEOF
10994 #define SONAME_LIBDBUS_1 "$ac_cv_lib_soname_dbus_1"
10995 _ACEOF
10999 else
11000 DBUS_CFLAGS=""
11004 CPPFLAGS=$ac_save_CPPFLAGS
11005 test -z "$DBUS_CFLAGS" || DBUS_CFLAGS=`echo " $DBUS_CFLAGS" | sed 's/ -I\([^/]\)/ -I\$(top_builddir)\/\1/g'`
11006 test -z "$DBUS_LIBS" || DBUS_LIBS=`echo " $DBUS_LIBS" | sed 's/ -L\([^/]\)/ -L\$(top_builddir)\/\1/g'`
11009 if test "x$ac_cv_lib_soname_dbus_1" = "x" -a \
11010 "x$ac_cv_header_DiskArbitration_DiskArbitration_h" != "xyes"; then :
11011 case "x$with_dbus" in
11012 x) as_fn_append wine_notices "|libdbus ${notice_platform}development files not found, no dynamic device support." ;;
11013 xno) ;;
11014 *) as_fn_error $? "libdbus ${notice_platform}development files not found, no dynamic device support.
11015 This is an error since --with-dbus was requested." "$LINENO" 5 ;;
11016 esac
11019 if test "x$with_hal" != "xno" -a "x$ac_cv_lib_soname_dbus_1" != x
11020 then
11021 if ${HAL_CFLAGS:+false} :; then :
11022 if ${PKG_CONFIG+:} false; then :
11023 HAL_CFLAGS=`$PKG_CONFIG --cflags hal 2>/dev/null`
11027 if ${HAL_LIBS:+false} :; then :
11028 if ${PKG_CONFIG+:} false; then :
11029 HAL_LIBS=`$PKG_CONFIG --libs hal 2>/dev/null`
11033 HAL_LIBS=${HAL_LIBS:-"-ldbus-1"}
11034 $as_echo "$as_me:${as_lineno-$LINENO}: hal cflags: $HAL_CFLAGS" >&5
11035 $as_echo "$as_me:${as_lineno-$LINENO}: hal libs: $HAL_LIBS" >&5
11036 ac_save_CPPFLAGS=$CPPFLAGS
11037 CPPFLAGS="$CPPFLAGS $HAL_CFLAGS"
11038 ac_fn_c_check_header_mongrel "$LINENO" "hal/libhal.h" "ac_cv_header_hal_libhal_h" "$ac_includes_default"
11039 if test "x$ac_cv_header_hal_libhal_h" = xyes; then :
11040 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lhal" >&5
11041 $as_echo_n "checking for -lhal... " >&6; }
11042 if ${ac_cv_lib_soname_hal+:} false; then :
11043 $as_echo_n "(cached) " >&6
11044 else
11045 ac_check_soname_save_LIBS=$LIBS
11046 LIBS="-lhal $HAL_LIBS $LIBS"
11047 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11048 /* end confdefs.h. */
11050 /* Override any GCC internal prototype to avoid an error.
11051 Use char because int might match the return type of a GCC
11052 builtin and then its argument prototype would still apply. */
11053 #ifdef __cplusplus
11054 extern "C"
11055 #endif
11056 char libhal_ctx_new ();
11058 main ()
11060 return libhal_ctx_new ();
11062 return 0;
11064 _ACEOF
11065 if ac_fn_c_try_link "$LINENO"; then :
11066 case "$LIBEXT" in
11067 dll) ac_cv_lib_soname_hal=`$ac_cv_path_LDD conftest.exe | grep "hal" | sed -e "s/dll.*/dll/"';2,$d'` ;;
11068 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'` ;;
11069 *) ac_cv_lib_soname_hal=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libhal\\.$LIBEXT" | sed -e "s/^.*\\[\\(libhal\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
11070 if ${ac_cv_lib_soname_hal:+false} :; then :
11071 ac_cv_lib_soname_hal=`$LDD conftest$ac_exeext | grep "libhal\\.$LIBEXT" | sed -e "s/^.*\(libhal\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
11072 fi ;;
11073 esac
11075 rm -f core conftest.err conftest.$ac_objext \
11076 conftest$ac_exeext conftest.$ac_ext
11077 LIBS=$ac_check_soname_save_LIBS
11079 if ${ac_cv_lib_soname_hal:+false} :; then :
11080 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
11081 $as_echo "not found" >&6; }
11082 HAL_CFLAGS=""
11083 else
11084 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_hal" >&5
11085 $as_echo "$ac_cv_lib_soname_hal" >&6; }
11087 cat >>confdefs.h <<_ACEOF
11088 #define SONAME_LIBHAL "$ac_cv_lib_soname_hal"
11089 _ACEOF
11093 else
11094 HAL_CFLAGS=""
11098 CPPFLAGS=$ac_save_CPPFLAGS
11099 test -z "$HAL_CFLAGS" || HAL_CFLAGS=`echo " $HAL_CFLAGS" | sed 's/ -I\([^/]\)/ -I\$(top_builddir)\/\1/g'`
11100 test -z "$HAL_LIBS" || HAL_LIBS=`echo " $HAL_LIBS" | sed 's/ -L\([^/]\)/ -L\$(top_builddir)\/\1/g'`
11102 if test "x$ac_cv_lib_soname_hal" = "x" -a \
11103 "x$ac_cv_header_DiskArbitration_DiskArbitration_h" != "xyes"; then :
11104 case "x$with_hal" in
11105 x) as_fn_append wine_notices "|libhal ${notice_platform}development files not found, no legacy dynamic device support." ;;
11106 xno) ;;
11107 *) as_fn_error $? "libhal ${notice_platform}development files not found, no legacy dynamic device support.
11108 This is an error since --with-hal was requested." "$LINENO" 5 ;;
11109 esac
11113 if test "x$with_gnutls" != "xno"
11114 then
11115 if ${GNUTLS_CFLAGS:+false} :; then :
11116 if ${PKG_CONFIG+:} false; then :
11117 GNUTLS_CFLAGS=`$PKG_CONFIG --cflags gnutls 2>/dev/null`
11121 if ${GNUTLS_LIBS:+false} :; then :
11122 if ${PKG_CONFIG+:} false; then :
11123 GNUTLS_LIBS=`$PKG_CONFIG --libs gnutls 2>/dev/null`
11128 $as_echo "$as_me:${as_lineno-$LINENO}: gnutls cflags: $GNUTLS_CFLAGS" >&5
11129 $as_echo "$as_me:${as_lineno-$LINENO}: gnutls libs: $GNUTLS_LIBS" >&5
11130 ac_save_CPPFLAGS=$CPPFLAGS
11131 CPPFLAGS="$CPPFLAGS $GNUTLS_CFLAGS"
11132 ac_fn_c_check_header_mongrel "$LINENO" "gnutls/gnutls.h" "ac_cv_header_gnutls_gnutls_h" "$ac_includes_default"
11133 if test "x$ac_cv_header_gnutls_gnutls_h" = xyes; then :
11134 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11135 /* end confdefs.h. */
11136 #include <gnutls/gnutls.h>
11137 #include <gnutls/crypto.h>
11139 main ()
11141 static typeof(gnutls_mac_get_key_size) *func; if (func) return 0;
11143 return 0;
11145 _ACEOF
11146 if ac_fn_c_try_compile "$LINENO"; then :
11147 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lgnutls" >&5
11148 $as_echo_n "checking for -lgnutls... " >&6; }
11149 if ${ac_cv_lib_soname_gnutls+:} false; then :
11150 $as_echo_n "(cached) " >&6
11151 else
11152 ac_check_soname_save_LIBS=$LIBS
11153 LIBS="-lgnutls $GNUTLS_LIBS $LIBS"
11154 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11155 /* end confdefs.h. */
11157 /* Override any GCC internal prototype to avoid an error.
11158 Use char because int might match the return type of a GCC
11159 builtin and then its argument prototype would still apply. */
11160 #ifdef __cplusplus
11161 extern "C"
11162 #endif
11163 char gnutls_global_init ();
11165 main ()
11167 return gnutls_global_init ();
11169 return 0;
11171 _ACEOF
11172 if ac_fn_c_try_link "$LINENO"; then :
11173 case "$LIBEXT" in
11174 dll) ac_cv_lib_soname_gnutls=`$ac_cv_path_LDD conftest.exe | grep "gnutls" | sed -e "s/dll.*/dll/"';2,$d'` ;;
11175 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'` ;;
11176 *) ac_cv_lib_soname_gnutls=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libgnutls\\.$LIBEXT" | sed -e "s/^.*\\[\\(libgnutls\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
11177 if ${ac_cv_lib_soname_gnutls:+false} :; then :
11178 ac_cv_lib_soname_gnutls=`$LDD conftest$ac_exeext | grep "libgnutls\\.$LIBEXT" | sed -e "s/^.*\(libgnutls\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
11179 fi ;;
11180 esac
11182 rm -f core conftest.err conftest.$ac_objext \
11183 conftest$ac_exeext conftest.$ac_ext
11184 LIBS=$ac_check_soname_save_LIBS
11186 if ${ac_cv_lib_soname_gnutls:+false} :; then :
11187 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
11188 $as_echo "not found" >&6; }
11189 GNUTLS_CFLAGS=""
11190 else
11191 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_gnutls" >&5
11192 $as_echo "$ac_cv_lib_soname_gnutls" >&6; }
11194 cat >>confdefs.h <<_ACEOF
11195 #define SONAME_LIBGNUTLS "$ac_cv_lib_soname_gnutls"
11196 _ACEOF
11201 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
11202 else
11203 GNUTLS_CFLAGS=""
11207 CPPFLAGS=$ac_save_CPPFLAGS
11208 test -z "$GNUTLS_CFLAGS" || GNUTLS_CFLAGS=`echo " $GNUTLS_CFLAGS" | sed 's/ -I\([^/]\)/ -I\$(top_builddir)\/\1/g'`
11209 test -z "$GNUTLS_LIBS" || GNUTLS_LIBS=`echo " $GNUTLS_LIBS" | sed 's/ -L\([^/]\)/ -L\$(top_builddir)\/\1/g'`
11212 if test "x$ac_cv_lib_soname_gnutls" = "x"; then :
11213 case "x$with_gnutls" in
11214 x) as_fn_append wine_warnings "|libgnutls ${notice_platform}development files not found, no schannel support." ;;
11215 xno) ;;
11216 *) as_fn_error $? "libgnutls ${notice_platform}development files not found, no schannel support.
11217 This is an error since --with-gnutls was requested." "$LINENO" 5 ;;
11218 esac
11221 CURSES_LIBS=""
11222 if test "$ac_cv_header_ncurses_h" = "yes"
11223 then
11224 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lncurses" >&5
11225 $as_echo_n "checking for -lncurses... " >&6; }
11226 if ${ac_cv_lib_soname_ncurses+:} false; then :
11227 $as_echo_n "(cached) " >&6
11228 else
11229 ac_check_soname_save_LIBS=$LIBS
11230 LIBS="-lncurses $LIBS"
11231 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11232 /* end confdefs.h. */
11234 /* Override any GCC internal prototype to avoid an error.
11235 Use char because int might match the return type of a GCC
11236 builtin and then its argument prototype would still apply. */
11237 #ifdef __cplusplus
11238 extern "C"
11239 #endif
11240 char waddch ();
11242 main ()
11244 return waddch ();
11246 return 0;
11248 _ACEOF
11249 if ac_fn_c_try_link "$LINENO"; then :
11250 case "$LIBEXT" in
11251 dll) ac_cv_lib_soname_ncurses=`$ac_cv_path_LDD conftest.exe | grep "ncurses" | sed -e "s/dll.*/dll/"';2,$d'` ;;
11252 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'` ;;
11253 *) ac_cv_lib_soname_ncurses=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libncurses\\.$LIBEXT" | sed -e "s/^.*\\[\\(libncurses\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
11254 if ${ac_cv_lib_soname_ncurses:+false} :; then :
11255 ac_cv_lib_soname_ncurses=`$LDD conftest$ac_exeext | grep "libncurses\\.$LIBEXT" | sed -e "s/^.*\(libncurses\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
11256 fi ;;
11257 esac
11259 rm -f core conftest.err conftest.$ac_objext \
11260 conftest$ac_exeext conftest.$ac_ext
11261 LIBS=$ac_check_soname_save_LIBS
11263 if ${ac_cv_lib_soname_ncurses:+false} :; then :
11264 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
11265 $as_echo "not found" >&6; }
11267 else
11268 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_ncurses" >&5
11269 $as_echo "$ac_cv_lib_soname_ncurses" >&6; }
11271 cat >>confdefs.h <<_ACEOF
11272 #define SONAME_LIBNCURSES "$ac_cv_lib_soname_ncurses"
11273 _ACEOF
11275 CURSES_LIBS="-lncurses"
11277 elif test "$ac_cv_header_curses_h" = "yes"
11278 then
11279 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lcurses" >&5
11280 $as_echo_n "checking for -lcurses... " >&6; }
11281 if ${ac_cv_lib_soname_curses+:} false; then :
11282 $as_echo_n "(cached) " >&6
11283 else
11284 ac_check_soname_save_LIBS=$LIBS
11285 LIBS="-lcurses $LIBS"
11286 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11287 /* end confdefs.h. */
11289 /* Override any GCC internal prototype to avoid an error.
11290 Use char because int might match the return type of a GCC
11291 builtin and then its argument prototype would still apply. */
11292 #ifdef __cplusplus
11293 extern "C"
11294 #endif
11295 char waddch ();
11297 main ()
11299 return waddch ();
11301 return 0;
11303 _ACEOF
11304 if ac_fn_c_try_link "$LINENO"; then :
11305 case "$LIBEXT" in
11306 dll) ac_cv_lib_soname_curses=`$ac_cv_path_LDD conftest.exe | grep "curses" | sed -e "s/dll.*/dll/"';2,$d'` ;;
11307 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'` ;;
11308 *) ac_cv_lib_soname_curses=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libcurses\\.$LIBEXT" | sed -e "s/^.*\\[\\(libcurses\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
11309 if ${ac_cv_lib_soname_curses:+false} :; then :
11310 ac_cv_lib_soname_curses=`$LDD conftest$ac_exeext | grep "libcurses\\.$LIBEXT" | sed -e "s/^.*\(libcurses\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
11311 fi ;;
11312 esac
11314 rm -f core conftest.err conftest.$ac_objext \
11315 conftest$ac_exeext conftest.$ac_ext
11316 LIBS=$ac_check_soname_save_LIBS
11318 if ${ac_cv_lib_soname_curses:+false} :; then :
11319 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
11320 $as_echo "not found" >&6; }
11322 else
11323 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_curses" >&5
11324 $as_echo "$ac_cv_lib_soname_curses" >&6; }
11326 cat >>confdefs.h <<_ACEOF
11327 #define SONAME_LIBCURSES "$ac_cv_lib_soname_curses"
11328 _ACEOF
11330 CURSES_LIBS="-lcurses"
11333 ac_save_LIBS="$LIBS"
11334 LIBS="$LIBS $CURSES_LIBS"
11335 for ac_func in mousemask
11336 do :
11337 ac_fn_c_check_func "$LINENO" "mousemask" "ac_cv_func_mousemask"
11338 if test "x$ac_cv_func_mousemask" = xyes; then :
11339 cat >>confdefs.h <<_ACEOF
11340 #define HAVE_MOUSEMASK 1
11341 _ACEOF
11344 done
11346 LIBS="$ac_save_LIBS"
11347 if test "x$ac_cv_lib_soname_curses$ac_cv_lib_soname_ncurses" = "x"; then :
11348 case "x$with_curses" in
11349 x) as_fn_append wine_notices "|lib(n)curses ${notice_platform}development files not found, curses won't be supported." ;;
11350 xno) ;;
11351 *) as_fn_error $? "lib(n)curses ${notice_platform}development files not found, curses won't be supported.
11352 This is an error since --with-curses was requested." "$LINENO" 5 ;;
11353 esac
11356 if test "x$with_sane" != "xno"
11357 then
11358 if ${SANE_CFLAGS:+false} :; then :
11359 if ${PKG_CONFIG+:} false; then :
11360 SANE_CFLAGS=`$PKG_CONFIG --cflags libsane 2>/dev/null`
11363 test "$cross_compiling" = yes || SANE_CFLAGS=${SANE_CFLAGS:-`sane-config --cflags 2>/dev/null`}
11364 if ${SANE_LIBS:+false} :; then :
11365 if ${PKG_CONFIG+:} false; then :
11366 SANE_LIBS=`$PKG_CONFIG --libs libsane 2>/dev/null`
11369 test "$cross_compiling" = yes || SANE_LIBS=${SANE_LIBS:-`sane-config --ldflags 2>/dev/null`}
11371 $as_echo "$as_me:${as_lineno-$LINENO}: libsane cflags: $SANE_CFLAGS" >&5
11372 $as_echo "$as_me:${as_lineno-$LINENO}: libsane libs: $SANE_LIBS" >&5
11373 ac_save_CPPFLAGS=$CPPFLAGS
11374 CPPFLAGS="$CPPFLAGS $SANE_CFLAGS"
11375 ac_fn_c_check_header_mongrel "$LINENO" "sane/sane.h" "ac_cv_header_sane_sane_h" "$ac_includes_default"
11376 if test "x$ac_cv_header_sane_sane_h" = xyes; then :
11377 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lsane" >&5
11378 $as_echo_n "checking for -lsane... " >&6; }
11379 if ${ac_cv_lib_soname_sane+:} false; then :
11380 $as_echo_n "(cached) " >&6
11381 else
11382 ac_check_soname_save_LIBS=$LIBS
11383 LIBS="-lsane $SANE_LIBS $LIBS"
11384 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11385 /* end confdefs.h. */
11387 /* Override any GCC internal prototype to avoid an error.
11388 Use char because int might match the return type of a GCC
11389 builtin and then its argument prototype would still apply. */
11390 #ifdef __cplusplus
11391 extern "C"
11392 #endif
11393 char sane_init ();
11395 main ()
11397 return sane_init ();
11399 return 0;
11401 _ACEOF
11402 if ac_fn_c_try_link "$LINENO"; then :
11403 case "$LIBEXT" in
11404 dll) ac_cv_lib_soname_sane=`$ac_cv_path_LDD conftest.exe | grep "sane" | sed -e "s/dll.*/dll/"';2,$d'` ;;
11405 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'` ;;
11406 *) ac_cv_lib_soname_sane=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libsane\\.$LIBEXT" | sed -e "s/^.*\\[\\(libsane\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
11407 if ${ac_cv_lib_soname_sane:+false} :; then :
11408 ac_cv_lib_soname_sane=`$LDD conftest$ac_exeext | grep "libsane\\.$LIBEXT" | sed -e "s/^.*\(libsane\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
11409 fi ;;
11410 esac
11412 rm -f core conftest.err conftest.$ac_objext \
11413 conftest$ac_exeext conftest.$ac_ext
11414 LIBS=$ac_check_soname_save_LIBS
11416 if ${ac_cv_lib_soname_sane:+false} :; then :
11417 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
11418 $as_echo "not found" >&6; }
11419 SANE_CFLAGS=""
11420 else
11421 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_sane" >&5
11422 $as_echo "$ac_cv_lib_soname_sane" >&6; }
11424 cat >>confdefs.h <<_ACEOF
11425 #define SONAME_LIBSANE "$ac_cv_lib_soname_sane"
11426 _ACEOF
11430 else
11431 SANE_CFLAGS=""
11435 CPPFLAGS=$ac_save_CPPFLAGS
11436 test -z "$SANE_CFLAGS" || SANE_CFLAGS=`echo " $SANE_CFLAGS" | sed 's/ -I\([^/]\)/ -I\$(top_builddir)\/\1/g'`
11437 test -z "$SANE_LIBS" || SANE_LIBS=`echo " $SANE_LIBS" | sed 's/ -L\([^/]\)/ -L\$(top_builddir)\/\1/g'`
11440 if test "x$ac_cv_lib_soname_sane" = "x"; then :
11441 case "x$with_sane" in
11442 x) as_fn_append wine_notices "|libsane ${notice_platform}development files not found, scanners won't be supported." ;;
11443 xno) ;;
11444 *) as_fn_error $? "libsane ${notice_platform}development files not found, scanners won't be supported.
11445 This is an error since --with-sane was requested." "$LINENO" 5 ;;
11446 esac
11449 if test "x$with_v4l" != "xno"
11450 then
11451 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lv4l1" >&5
11452 $as_echo_n "checking for -lv4l1... " >&6; }
11453 if ${ac_cv_lib_soname_v4l1+:} false; then :
11454 $as_echo_n "(cached) " >&6
11455 else
11456 ac_check_soname_save_LIBS=$LIBS
11457 LIBS="-lv4l1 $LIBS"
11458 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11459 /* end confdefs.h. */
11461 /* Override any GCC internal prototype to avoid an error.
11462 Use char because int might match the return type of a GCC
11463 builtin and then its argument prototype would still apply. */
11464 #ifdef __cplusplus
11465 extern "C"
11466 #endif
11467 char v4l1_open ();
11469 main ()
11471 return v4l1_open ();
11473 return 0;
11475 _ACEOF
11476 if ac_fn_c_try_link "$LINENO"; then :
11477 case "$LIBEXT" in
11478 dll) ac_cv_lib_soname_v4l1=`$ac_cv_path_LDD conftest.exe | grep "v4l1" | sed -e "s/dll.*/dll/"';2,$d'` ;;
11479 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'` ;;
11480 *) ac_cv_lib_soname_v4l1=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libv4l1\\.$LIBEXT" | sed -e "s/^.*\\[\\(libv4l1\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
11481 if ${ac_cv_lib_soname_v4l1:+false} :; then :
11482 ac_cv_lib_soname_v4l1=`$LDD conftest$ac_exeext | grep "libv4l1\\.$LIBEXT" | sed -e "s/^.*\(libv4l1\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
11483 fi ;;
11484 esac
11486 rm -f core conftest.err conftest.$ac_objext \
11487 conftest$ac_exeext conftest.$ac_ext
11488 LIBS=$ac_check_soname_save_LIBS
11490 if ${ac_cv_lib_soname_v4l1:+false} :; then :
11491 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
11492 $as_echo "not found" >&6; }
11494 else
11495 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_v4l1" >&5
11496 $as_echo "$ac_cv_lib_soname_v4l1" >&6; }
11498 cat >>confdefs.h <<_ACEOF
11499 #define SONAME_LIBV4L1 "$ac_cv_lib_soname_v4l1"
11500 _ACEOF
11505 if test "x$ac_cv_lib_soname_v4l1" = "x"; then :
11506 case "x$with_v4l" in
11507 x) as_fn_append wine_notices "|libv4l ${notice_platform}development files not found." ;;
11508 xno) ;;
11509 *) as_fn_error $? "libv4l ${notice_platform}development files not found.
11510 This is an error since --with-v4l was requested." "$LINENO" 5 ;;
11511 esac
11514 if test "x$with_gphoto" != "xno"
11515 then
11516 if ${GPHOTO2_CFLAGS:+false} :; then :
11517 if ${PKG_CONFIG+:} false; then :
11518 GPHOTO2_CFLAGS=`$PKG_CONFIG --cflags libgphoto2 2>/dev/null`
11521 test "$cross_compiling" = yes || GPHOTO2_CFLAGS=${GPHOTO2_CFLAGS:-`gphoto2-config --cflags 2>/dev/null`}
11522 if ${GPHOTO2_LIBS:+false} :; then :
11523 if ${PKG_CONFIG+:} false; then :
11524 GPHOTO2_LIBS=`$PKG_CONFIG --libs libgphoto2 2>/dev/null`
11527 test "$cross_compiling" = yes || GPHOTO2_LIBS=${GPHOTO2_LIBS:-`gphoto2-config --libs 2>/dev/null`}
11528 GPHOTO2_LIBS=${GPHOTO2_LIBS:-"-lgphoto2"}
11529 $as_echo "$as_me:${as_lineno-$LINENO}: libgphoto2 cflags: $GPHOTO2_CFLAGS" >&5
11530 $as_echo "$as_me:${as_lineno-$LINENO}: libgphoto2 libs: $GPHOTO2_LIBS" >&5
11531 ac_save_CPPFLAGS=$CPPFLAGS
11532 CPPFLAGS="$CPPFLAGS $GPHOTO2_CFLAGS"
11533 ac_fn_c_check_header_mongrel "$LINENO" "gphoto2-camera.h" "ac_cv_header_gphoto2_camera_h" "$ac_includes_default"
11534 if test "x$ac_cv_header_gphoto2_camera_h" = xyes; then :
11535 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for gp_camera_new in -lgphoto2" >&5
11536 $as_echo_n "checking for gp_camera_new in -lgphoto2... " >&6; }
11537 if ${ac_cv_lib_gphoto2_gp_camera_new+:} false; then :
11538 $as_echo_n "(cached) " >&6
11539 else
11540 ac_check_lib_save_LIBS=$LIBS
11541 LIBS="-lgphoto2 $GPHOTO2_LIBS $LIBS"
11542 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11543 /* end confdefs.h. */
11545 /* Override any GCC internal prototype to avoid an error.
11546 Use char because int might match the return type of a GCC
11547 builtin and then its argument prototype would still apply. */
11548 #ifdef __cplusplus
11549 extern "C"
11550 #endif
11551 char gp_camera_new ();
11553 main ()
11555 return gp_camera_new ();
11557 return 0;
11559 _ACEOF
11560 if ac_fn_c_try_link "$LINENO"; then :
11561 ac_cv_lib_gphoto2_gp_camera_new=yes
11562 else
11563 ac_cv_lib_gphoto2_gp_camera_new=no
11565 rm -f core conftest.err conftest.$ac_objext \
11566 conftest$ac_exeext conftest.$ac_ext
11567 LIBS=$ac_check_lib_save_LIBS
11569 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_gphoto2_gp_camera_new" >&5
11570 $as_echo "$ac_cv_lib_gphoto2_gp_camera_new" >&6; }
11571 if test "x$ac_cv_lib_gphoto2_gp_camera_new" = xyes; then :
11573 $as_echo "#define HAVE_GPHOTO2 1" >>confdefs.h
11575 else
11576 GPHOTO2_LIBS=""; GPHOTO2_CFLAGS=""
11579 else
11580 GPHOTO2_LIBS=""; GPHOTO2_CFLAGS=""
11584 CPPFLAGS=$ac_save_CPPFLAGS
11585 test -z "$GPHOTO2_CFLAGS" || GPHOTO2_CFLAGS=`echo " $GPHOTO2_CFLAGS" | sed 's/ -I\([^/]\)/ -I\$(top_builddir)\/\1/g'`
11586 test -z "$GPHOTO2_LIBS" || GPHOTO2_LIBS=`echo " $GPHOTO2_LIBS" | sed 's/ -L\([^/]\)/ -L\$(top_builddir)\/\1/g'`
11588 if ${GPHOTO2_PORT_CFLAGS:+false} :; then :
11589 if ${PKG_CONFIG+:} false; then :
11590 GPHOTO2_PORT_CFLAGS=`$PKG_CONFIG --cflags libgphoto2_port 2>/dev/null`
11593 test "$cross_compiling" = yes || GPHOTO2_PORT_CFLAGS=${GPHOTO2_PORT_CFLAGS:-`gphoto2-port-config --cflags 2>/dev/null`}
11594 if ${GPHOTO2_PORT_LIBS:+false} :; then :
11595 if ${PKG_CONFIG+:} false; then :
11596 GPHOTO2_PORT_LIBS=`$PKG_CONFIG --libs libgphoto2_port 2>/dev/null`
11599 test "$cross_compiling" = yes || GPHOTO2_PORT_LIBS=${GPHOTO2_PORT_LIBS:-`gphoto2-port-config --libs 2>/dev/null`}
11600 GPHOTO2_PORT_LIBS=${GPHOTO2_PORT_LIBS:-"-lgphoto2_port"}
11601 $as_echo "$as_me:${as_lineno-$LINENO}: libgphoto2_port cflags: $GPHOTO2_PORT_CFLAGS" >&5
11602 $as_echo "$as_me:${as_lineno-$LINENO}: libgphoto2_port libs: $GPHOTO2_PORT_LIBS" >&5
11603 ac_save_CPPFLAGS=$CPPFLAGS
11604 CPPFLAGS="$CPPFLAGS $GPHOTO2_PORT_CFLAGS"
11605 ac_fn_c_check_header_mongrel "$LINENO" "gphoto2-port.h" "ac_cv_header_gphoto2_port_h" "$ac_includes_default"
11606 if test "x$ac_cv_header_gphoto2_port_h" = xyes; then :
11607 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for gp_port_info_list_new in -lgphoto2_port" >&5
11608 $as_echo_n "checking for gp_port_info_list_new in -lgphoto2_port... " >&6; }
11609 if ${ac_cv_lib_gphoto2_port_gp_port_info_list_new+:} false; then :
11610 $as_echo_n "(cached) " >&6
11611 else
11612 ac_check_lib_save_LIBS=$LIBS
11613 LIBS="-lgphoto2_port $GPHOTO2_PORT_LIBS $LIBS"
11614 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11615 /* end confdefs.h. */
11617 /* Override any GCC internal prototype to avoid an error.
11618 Use char because int might match the return type of a GCC
11619 builtin and then its argument prototype would still apply. */
11620 #ifdef __cplusplus
11621 extern "C"
11622 #endif
11623 char gp_port_info_list_new ();
11625 main ()
11627 return gp_port_info_list_new ();
11629 return 0;
11631 _ACEOF
11632 if ac_fn_c_try_link "$LINENO"; then :
11633 ac_cv_lib_gphoto2_port_gp_port_info_list_new=yes
11634 else
11635 ac_cv_lib_gphoto2_port_gp_port_info_list_new=no
11637 rm -f core conftest.err conftest.$ac_objext \
11638 conftest$ac_exeext conftest.$ac_ext
11639 LIBS=$ac_check_lib_save_LIBS
11641 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_gphoto2_port_gp_port_info_list_new" >&5
11642 $as_echo "$ac_cv_lib_gphoto2_port_gp_port_info_list_new" >&6; }
11643 if test "x$ac_cv_lib_gphoto2_port_gp_port_info_list_new" = xyes; then :
11645 $as_echo "#define HAVE_GPHOTO2_PORT 1" >>confdefs.h
11647 else
11648 GPHOTO2_PORT_LIBS=""; GPHOTO2_PORT_CFLAGS=""
11651 else
11652 GPHOTO2_PORT_LIBS=""; GPHOTO2_PORT_CFLAGS=""
11656 CPPFLAGS=$ac_save_CPPFLAGS
11657 test -z "$GPHOTO2_PORT_CFLAGS" || GPHOTO2_PORT_CFLAGS=`echo " $GPHOTO2_PORT_CFLAGS" | sed 's/ -I\([^/]\)/ -I\$(top_builddir)\/\1/g'`
11658 test -z "$GPHOTO2_PORT_LIBS" || GPHOTO2_PORT_LIBS=`echo " $GPHOTO2_PORT_LIBS" | sed 's/ -L\([^/]\)/ -L\$(top_builddir)\/\1/g'`
11661 if test "$ac_cv_lib_gphoto2_gp_camera_new" != "yes"; then :
11662 case "x$with_gphoto" in
11663 x) as_fn_append wine_notices "|libgphoto2 ${notice_platform}development files not found, digital cameras won't be supported." ;;
11664 xno) ;;
11665 *) as_fn_error $? "libgphoto2 ${notice_platform}development files not found, digital cameras won't be supported.
11666 This is an error since --with-gphoto was requested." "$LINENO" 5 ;;
11667 esac
11669 if test "$ac_cv_lib_gphoto2_port_gp_port_info_list_new" != "yes"; then :
11670 case "x$with_gphoto" in
11671 x) as_fn_append wine_notices "|libgphoto2_port ${notice_platform}development files not found, digital cameras won't be auto-detected." ;;
11672 xno) ;;
11673 *) as_fn_error $? "libgphoto2_port ${notice_platform}development files not found, digital cameras won't be auto-detected.
11674 This is an error since --with-gphoto was requested." "$LINENO" 5 ;;
11675 esac
11679 if test "$ac_cv_header_resolv_h" = "yes"
11680 then
11681 ac_save_LIBS="$LIBS"
11682 for lib in '' -lresolv
11684 LIBS="$lib $ac_save_LIBS"
11685 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11686 /* end confdefs.h. */
11687 #ifdef HAVE_NETINET_IN_H
11688 #include <netinet/in.h>
11689 #endif
11690 #include <resolv.h>
11692 main ()
11694 res_query("foo",ns_c_in,0,0,0);
11696 return 0;
11698 _ACEOF
11699 if ac_fn_c_try_link "$LINENO"; then :
11701 $as_echo "#define HAVE_RESOLV 1" >>confdefs.h
11703 RESOLV_LIBS="$lib"
11706 rm -f core conftest.err conftest.$ac_objext \
11707 conftest$ac_exeext conftest.$ac_ext
11708 if test "${RESOLV_LIBS+set}" = set; then
11709 break
11711 done
11712 LIBS="$ac_save_LIBS"
11715 if test "x$with_lcms2" != "xno"
11716 then
11717 if ${LCMS2_CFLAGS:+false} :; then :
11718 if ${PKG_CONFIG+:} false; then :
11719 LCMS2_CFLAGS=`$PKG_CONFIG --cflags lcms2 2>/dev/null`
11723 if ${LCMS2_LIBS:+false} :; then :
11724 if ${PKG_CONFIG+:} false; then :
11725 LCMS2_LIBS=`$PKG_CONFIG --libs lcms2 2>/dev/null`
11729 LCMS2_LIBS=${LCMS2_LIBS:-"-llcms2"}
11730 $as_echo "$as_me:${as_lineno-$LINENO}: lcms2 cflags: $LCMS2_CFLAGS" >&5
11731 $as_echo "$as_me:${as_lineno-$LINENO}: lcms2 libs: $LCMS2_LIBS" >&5
11732 ac_save_CPPFLAGS=$CPPFLAGS
11733 CPPFLAGS="$CPPFLAGS $LCMS2_CFLAGS"
11734 for ac_header in lcms2.h
11735 do :
11736 ac_fn_c_check_header_mongrel "$LINENO" "lcms2.h" "ac_cv_header_lcms2_h" "$ac_includes_default"
11737 if test "x$ac_cv_header_lcms2_h" = xyes; then :
11738 cat >>confdefs.h <<_ACEOF
11739 #define HAVE_LCMS2_H 1
11740 _ACEOF
11744 done
11746 if test "$ac_cv_header_lcms2_h" = "yes"
11747 then
11748 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for cmsOpenProfileFromFile in -llcms2" >&5
11749 $as_echo_n "checking for cmsOpenProfileFromFile in -llcms2... " >&6; }
11750 if ${ac_cv_lib_lcms2_cmsOpenProfileFromFile+:} false; then :
11751 $as_echo_n "(cached) " >&6
11752 else
11753 ac_check_lib_save_LIBS=$LIBS
11754 LIBS="-llcms2 $LIBS"
11755 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11756 /* end confdefs.h. */
11758 /* Override any GCC internal prototype to avoid an error.
11759 Use char because int might match the return type of a GCC
11760 builtin and then its argument prototype would still apply. */
11761 #ifdef __cplusplus
11762 extern "C"
11763 #endif
11764 char cmsOpenProfileFromFile ();
11766 main ()
11768 return cmsOpenProfileFromFile ();
11770 return 0;
11772 _ACEOF
11773 if ac_fn_c_try_link "$LINENO"; then :
11774 ac_cv_lib_lcms2_cmsOpenProfileFromFile=yes
11775 else
11776 ac_cv_lib_lcms2_cmsOpenProfileFromFile=no
11778 rm -f core conftest.err conftest.$ac_objext \
11779 conftest$ac_exeext conftest.$ac_ext
11780 LIBS=$ac_check_lib_save_LIBS
11782 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_lcms2_cmsOpenProfileFromFile" >&5
11783 $as_echo "$ac_cv_lib_lcms2_cmsOpenProfileFromFile" >&6; }
11784 if test "x$ac_cv_lib_lcms2_cmsOpenProfileFromFile" = xyes; then :
11786 $as_echo "#define HAVE_LCMS2 1" >>confdefs.h
11788 else
11789 LCMS2_LIBS=""
11792 else
11793 LCMS2_CFLAGS=""
11794 LCMS2_LIBS=""
11796 CPPFLAGS=$ac_save_CPPFLAGS
11797 test -z "$LCMS2_CFLAGS" || LCMS2_CFLAGS=`echo " $LCMS2_CFLAGS" | sed 's/ -I\([^/]\)/ -I\$(top_builddir)\/\1/g'`
11798 test -z "$LCMS2_LIBS" || LCMS2_LIBS=`echo " $LCMS2_LIBS" | sed 's/ -L\([^/]\)/ -L\$(top_builddir)\/\1/g'`
11801 if test "$ac_cv_lib_lcms2_cmsOpenProfileFromFile" != "yes"; then :
11802 case "x$with_cms" in
11803 x) as_fn_append wine_notices "|liblcms2 ${notice_platform}development files not found, Color Management won't be supported." ;;
11804 xno) ;;
11805 *) as_fn_error $? "liblcms2 ${notice_platform}development files not found, Color Management won't be supported.
11806 This is an error since --with-cms was requested." "$LINENO" 5 ;;
11807 esac
11810 if test "x$with_freetype" != "xno"
11811 then
11812 if ${FREETYPE_CFLAGS:+false} :; then :
11813 if ${PKG_CONFIG+:} false; then :
11814 FREETYPE_CFLAGS=`$PKG_CONFIG --cflags freetype2 2>/dev/null`
11817 test "$cross_compiling" = yes || FREETYPE_CFLAGS=${FREETYPE_CFLAGS:-`(freetype-config --cflags || freetype2-config --cflags) 2>/dev/null`}
11818 if ${FREETYPE_LIBS:+false} :; then :
11819 if ${PKG_CONFIG+:} false; then :
11820 FREETYPE_LIBS=`$PKG_CONFIG --libs freetype2 2>/dev/null`
11823 test "$cross_compiling" = yes || FREETYPE_LIBS=${FREETYPE_LIBS:-`(freetype-config --libs || freetype2-config --libs) 2>/dev/null`}
11824 FREETYPE_LIBS=${FREETYPE_LIBS:-"-lfreetype"}
11825 $as_echo "$as_me:${as_lineno-$LINENO}: freetype2 cflags: $FREETYPE_CFLAGS" >&5
11826 $as_echo "$as_me:${as_lineno-$LINENO}: freetype2 libs: $FREETYPE_LIBS" >&5
11827 ac_save_CPPFLAGS=$CPPFLAGS
11828 CPPFLAGS="$CPPFLAGS $FREETYPE_CFLAGS"
11829 for ac_header in ft2build.h
11830 do :
11831 ac_fn_c_check_header_mongrel "$LINENO" "ft2build.h" "ac_cv_header_ft2build_h" "$ac_includes_default"
11832 if test "x$ac_cv_header_ft2build_h" = xyes; then :
11833 cat >>confdefs.h <<_ACEOF
11834 #define HAVE_FT2BUILD_H 1
11835 _ACEOF
11839 done
11841 if test "$ac_cv_header_ft2build_h" = "yes"
11842 then
11843 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lfreetype" >&5
11844 $as_echo_n "checking for -lfreetype... " >&6; }
11845 if ${ac_cv_lib_soname_freetype+:} false; then :
11846 $as_echo_n "(cached) " >&6
11847 else
11848 ac_check_soname_save_LIBS=$LIBS
11849 LIBS="-lfreetype $FREETYPE_LIBS $LIBS"
11850 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11851 /* end confdefs.h. */
11853 /* Override any GCC internal prototype to avoid an error.
11854 Use char because int might match the return type of a GCC
11855 builtin and then its argument prototype would still apply. */
11856 #ifdef __cplusplus
11857 extern "C"
11858 #endif
11859 char FT_Init_FreeType ();
11861 main ()
11863 return FT_Init_FreeType ();
11865 return 0;
11867 _ACEOF
11868 if ac_fn_c_try_link "$LINENO"; then :
11869 case "$LIBEXT" in
11870 dll) ac_cv_lib_soname_freetype=`$ac_cv_path_LDD conftest.exe | grep "freetype" | sed -e "s/dll.*/dll/"';2,$d'` ;;
11871 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'` ;;
11872 *) ac_cv_lib_soname_freetype=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libfreetype\\.$LIBEXT" | sed -e "s/^.*\\[\\(libfreetype\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
11873 if ${ac_cv_lib_soname_freetype:+false} :; then :
11874 ac_cv_lib_soname_freetype=`$LDD conftest$ac_exeext | grep "libfreetype\\.$LIBEXT" | sed -e "s/^.*\(libfreetype\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
11875 fi ;;
11876 esac
11878 rm -f core conftest.err conftest.$ac_objext \
11879 conftest$ac_exeext conftest.$ac_ext
11880 LIBS=$ac_check_soname_save_LIBS
11882 if ${ac_cv_lib_soname_freetype:+false} :; then :
11883 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
11884 $as_echo "not found" >&6; }
11885 FREETYPE_LIBS=""
11886 else
11887 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_freetype" >&5
11888 $as_echo "$ac_cv_lib_soname_freetype" >&6; }
11890 cat >>confdefs.h <<_ACEOF
11891 #define SONAME_LIBFREETYPE "$ac_cv_lib_soname_freetype"
11892 _ACEOF
11895 $as_echo "#define HAVE_FREETYPE 1" >>confdefs.h
11897 ac_fn_c_check_type "$LINENO" "FT_TrueTypeEngineType" "ac_cv_type_FT_TrueTypeEngineType" "#include <ft2build.h>
11898 #include FT_MODULE_H
11900 if test "x$ac_cv_type_FT_TrueTypeEngineType" = xyes; then :
11902 cat >>confdefs.h <<_ACEOF
11903 #define HAVE_FT_TRUETYPEENGINETYPE 1
11904 _ACEOF
11910 else
11911 FREETYPE_CFLAGS=""
11912 FREETYPE_LIBS=""
11914 CPPFLAGS=$ac_save_CPPFLAGS
11915 test -z "$FREETYPE_CFLAGS" || FREETYPE_CFLAGS=`echo " $FREETYPE_CFLAGS" | sed 's/ -I\([^/]\)/ -I\$(top_builddir)\/\1/g'`
11916 test -z "$FREETYPE_LIBS" || FREETYPE_LIBS=`echo " $FREETYPE_LIBS" | sed 's/ -L\([^/]\)/ -L\$(top_builddir)\/\1/g'`
11919 if test "x$ac_cv_lib_soname_freetype" = x; then :
11920 case "x$with_freetype" in
11921 xno) ;;
11922 *) as_fn_error $? "FreeType ${notice_platform}development files not found. Fonts will not be built.
11923 Use the --without-freetype option if you really want this." "$LINENO" 5 ;;
11924 esac
11926 test "x$ac_cv_lib_soname_freetype" = x && enable_fonts=${enable_fonts:-no}
11928 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for parport header/ppdev.h" >&5
11929 $as_echo_n "checking for parport header/ppdev.h... " >&6; }
11930 if ${ac_cv_c_ppdev+:} false; then :
11931 $as_echo_n "(cached) " >&6
11932 else
11933 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11934 /* end confdefs.h. */
11935 #ifdef HAVE_SYS_IOCTL_H
11936 # include <sys/ioctl.h>
11937 #endif
11938 #include <linux/ppdev.h>
11940 main ()
11942 ioctl (1,PPCLAIM,0)
11944 return 0;
11946 _ACEOF
11947 if ac_fn_c_try_compile "$LINENO"; then :
11948 ac_cv_c_ppdev="yes"
11949 else
11950 ac_cv_c_ppdev="no"
11952 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
11954 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_ppdev" >&5
11955 $as_echo "$ac_cv_c_ppdev" >&6; }
11956 if test "$ac_cv_c_ppdev" = "yes"
11957 then
11959 $as_echo "#define HAVE_PPDEV 1" >>confdefs.h
11963 ac_wine_check_funcs_save_LIBS="$LIBS"
11964 LIBS="$LIBS $PTHREAD_LIBS"
11965 for ac_func in \
11966 pthread_attr_get_np \
11967 pthread_getattr_np \
11968 pthread_getthreadid_np \
11969 pthread_get_stackaddr_np \
11970 pthread_get_stacksize_np
11971 do :
11972 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
11973 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
11974 if eval test \"x\$"$as_ac_var"\" = x"yes"; then :
11975 cat >>confdefs.h <<_ACEOF
11976 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
11977 _ACEOF
11980 done
11982 LIBS="$ac_wine_check_funcs_save_LIBS"
11984 if test "$ac_cv_header_zlib_h" = "yes"
11985 then
11986 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for inflate in -lz" >&5
11987 $as_echo_n "checking for inflate in -lz... " >&6; }
11988 if ${ac_cv_lib_z_inflate+:} false; then :
11989 $as_echo_n "(cached) " >&6
11990 else
11991 ac_check_lib_save_LIBS=$LIBS
11992 LIBS="-lz $LIBS"
11993 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11994 /* end confdefs.h. */
11996 /* Override any GCC internal prototype to avoid an error.
11997 Use char because int might match the return type of a GCC
11998 builtin and then its argument prototype would still apply. */
11999 #ifdef __cplusplus
12000 extern "C"
12001 #endif
12002 char inflate ();
12004 main ()
12006 return inflate ();
12008 return 0;
12010 _ACEOF
12011 if ac_fn_c_try_link "$LINENO"; then :
12012 ac_cv_lib_z_inflate=yes
12013 else
12014 ac_cv_lib_z_inflate=no
12016 rm -f core conftest.err conftest.$ac_objext \
12017 conftest$ac_exeext conftest.$ac_ext
12018 LIBS=$ac_check_lib_save_LIBS
12020 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_z_inflate" >&5
12021 $as_echo "$ac_cv_lib_z_inflate" >&6; }
12022 if test "x$ac_cv_lib_z_inflate" = xyes; then :
12024 $as_echo "#define HAVE_ZLIB 1" >>confdefs.h
12026 Z_LIBS="-lz"
12031 if test "x$Z_LIBS" = "x"; then :
12032 case "x$with_zlib" in
12033 x) as_fn_append wine_notices "|libz ${notice_platform}development files not found, data compression won't be supported." ;;
12034 xno) ;;
12035 *) as_fn_error $? "libz ${notice_platform}development files not found, data compression won't be supported.
12036 This is an error since --with-zlib was requested." "$LINENO" 5 ;;
12037 esac
12040 if test "x$enable_tools" != xno
12041 then
12042 if test "$ac_cv_header_gettext_po_h" = "yes"
12043 then
12044 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for po_message_msgctxt in -lgettextpo" >&5
12045 $as_echo_n "checking for po_message_msgctxt in -lgettextpo... " >&6; }
12046 if ${ac_cv_lib_gettextpo_po_message_msgctxt+:} false; then :
12047 $as_echo_n "(cached) " >&6
12048 else
12049 ac_check_lib_save_LIBS=$LIBS
12050 LIBS="-lgettextpo $LIBS"
12051 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12052 /* end confdefs.h. */
12054 /* Override any GCC internal prototype to avoid an error.
12055 Use char because int might match the return type of a GCC
12056 builtin and then its argument prototype would still apply. */
12057 #ifdef __cplusplus
12058 extern "C"
12059 #endif
12060 char po_message_msgctxt ();
12062 main ()
12064 return po_message_msgctxt ();
12066 return 0;
12068 _ACEOF
12069 if ac_fn_c_try_link "$LINENO"; then :
12070 ac_cv_lib_gettextpo_po_message_msgctxt=yes
12071 else
12072 ac_cv_lib_gettextpo_po_message_msgctxt=no
12074 rm -f core conftest.err conftest.$ac_objext \
12075 conftest$ac_exeext conftest.$ac_ext
12076 LIBS=$ac_check_lib_save_LIBS
12078 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_gettextpo_po_message_msgctxt" >&5
12079 $as_echo "$ac_cv_lib_gettextpo_po_message_msgctxt" >&6; }
12080 if test "x$ac_cv_lib_gettextpo_po_message_msgctxt" = xyes; then :
12082 $as_echo "#define HAVE_LIBGETTEXTPO 1" >>confdefs.h
12084 GETTEXTPO_LIBS="-lgettextpo"
12089 test "x$with_gettextpo" != xyes || if test "x$GETTEXTPO_LIBS" = "x"; then :
12090 case "x$with_gettextpo" in
12091 x) as_fn_append wine_notices "|GetText ${notice_platform}development files not found (or too old), po files can't be rebuilt." ;;
12092 xno) ;;
12093 *) as_fn_error $? "GetText ${notice_platform}development files not found (or too old), po files can't be rebuilt.
12094 This is an error since --with-gettextpo was requested." "$LINENO" 5 ;;
12095 esac
12099 if test "x$with_gstreamer" != "xno"
12100 then
12101 if ${GSTREAMER_CFLAGS:+false} :; then :
12102 if ${PKG_CONFIG+:} false; then :
12103 GSTREAMER_CFLAGS=`$PKG_CONFIG --cflags gstreamer-app-0.10 2>/dev/null`
12107 if ${GSTREAMER_LIBS:+false} :; then :
12108 if ${PKG_CONFIG+:} false; then :
12109 GSTREAMER_LIBS=`$PKG_CONFIG --libs gstreamer-app-0.10 2>/dev/null`
12114 $as_echo "$as_me:${as_lineno-$LINENO}: gstreamer-app-0.10 cflags: $GSTREAMER_CFLAGS" >&5
12115 $as_echo "$as_me:${as_lineno-$LINENO}: gstreamer-app-0.10 libs: $GSTREAMER_LIBS" >&5
12116 ac_save_CPPFLAGS=$CPPFLAGS
12117 CPPFLAGS="$CPPFLAGS $GSTREAMER_CFLAGS"
12118 ac_gst_incl=""
12119 for i in $GSTREAMER_CFLAGS
12121 case "$i" in
12122 -I*) ac_gst_incl="$ac_gst_incl $i";;
12123 esac
12124 done
12125 GSTREAMER_CFLAGS=$ac_gst_incl
12126 CPPFLAGS="$ac_save_CPPFLAGS $GSTREAMER_CFLAGS"
12127 ac_fn_c_check_header_mongrel "$LINENO" "gst/gstpad.h" "ac_cv_header_gst_gstpad_h" "$ac_includes_default"
12128 if test "x$ac_cv_header_gst_gstpad_h" = xyes; then :
12129 ac_fn_c_check_header_mongrel "$LINENO" "gst/app/gstappsink.h" "ac_cv_header_gst_app_gstappsink_h" "$ac_includes_default"
12130 if test "x$ac_cv_header_gst_app_gstappsink_h" = xyes; then :
12131 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether gint64 defined by gst/app/gstappsink.h is indeed 64-bit" >&5
12132 $as_echo_n "checking whether gint64 defined by gst/app/gstappsink.h is indeed 64-bit... " >&6; }
12133 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12134 /* end confdefs.h. */
12135 #include <gst/app/gstappsink.h>
12137 main ()
12139 static int a[sizeof(gint64) > 4 ? 1 : -1]; if (a[0]) return 0;
12141 return 0;
12143 _ACEOF
12144 if ac_fn_c_try_compile "$LINENO"; then :
12145 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
12146 $as_echo "yes" >&6; }
12147 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for gst_pad_get_caps_reffed in -lgstreamer-0.10" >&5
12148 $as_echo_n "checking for gst_pad_get_caps_reffed in -lgstreamer-0.10... " >&6; }
12149 if ${ac_cv_lib_gstreamer_0_10_gst_pad_get_caps_reffed+:} false; then :
12150 $as_echo_n "(cached) " >&6
12151 else
12152 ac_check_lib_save_LIBS=$LIBS
12153 LIBS="-lgstreamer-0.10 $LIBS"
12154 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12155 /* end confdefs.h. */
12157 /* Override any GCC internal prototype to avoid an error.
12158 Use char because int might match the return type of a GCC
12159 builtin and then its argument prototype would still apply. */
12160 #ifdef __cplusplus
12161 extern "C"
12162 #endif
12163 char gst_pad_get_caps_reffed ();
12165 main ()
12167 return gst_pad_get_caps_reffed ();
12169 return 0;
12171 _ACEOF
12172 if ac_fn_c_try_link "$LINENO"; then :
12173 ac_cv_lib_gstreamer_0_10_gst_pad_get_caps_reffed=yes
12174 else
12175 ac_cv_lib_gstreamer_0_10_gst_pad_get_caps_reffed=no
12177 rm -f core conftest.err conftest.$ac_objext \
12178 conftest$ac_exeext conftest.$ac_ext
12179 LIBS=$ac_check_lib_save_LIBS
12181 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_gstreamer_0_10_gst_pad_get_caps_reffed" >&5
12182 $as_echo "$ac_cv_lib_gstreamer_0_10_gst_pad_get_caps_reffed" >&6; }
12183 if test "x$ac_cv_lib_gstreamer_0_10_gst_pad_get_caps_reffed" = xyes; then :
12184 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for gst_app_buffer_new in -lgstapp-0.10" >&5
12185 $as_echo_n "checking for gst_app_buffer_new in -lgstapp-0.10... " >&6; }
12186 if ${ac_cv_lib_gstapp_0_10_gst_app_buffer_new+:} false; then :
12187 $as_echo_n "(cached) " >&6
12188 else
12189 ac_check_lib_save_LIBS=$LIBS
12190 LIBS="-lgstapp-0.10 $GSTREAMER_LIBS $LIBS"
12191 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12192 /* end confdefs.h. */
12194 /* Override any GCC internal prototype to avoid an error.
12195 Use char because int might match the return type of a GCC
12196 builtin and then its argument prototype would still apply. */
12197 #ifdef __cplusplus
12198 extern "C"
12199 #endif
12200 char gst_app_buffer_new ();
12202 main ()
12204 return gst_app_buffer_new ();
12206 return 0;
12208 _ACEOF
12209 if ac_fn_c_try_link "$LINENO"; then :
12210 ac_cv_lib_gstapp_0_10_gst_app_buffer_new=yes
12211 else
12212 ac_cv_lib_gstapp_0_10_gst_app_buffer_new=no
12214 rm -f core conftest.err conftest.$ac_objext \
12215 conftest$ac_exeext conftest.$ac_ext
12216 LIBS=$ac_check_lib_save_LIBS
12218 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_gstapp_0_10_gst_app_buffer_new" >&5
12219 $as_echo "$ac_cv_lib_gstapp_0_10_gst_app_buffer_new" >&6; }
12220 if test "x$ac_cv_lib_gstapp_0_10_gst_app_buffer_new" = xyes; then :
12226 else
12227 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
12228 $as_echo "no" >&6; }
12230 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
12234 else
12235 GSTREAMER_CFLAGS=""
12239 CPPFLAGS=$ac_save_CPPFLAGS
12240 test -z "$GSTREAMER_CFLAGS" || GSTREAMER_CFLAGS=`echo " $GSTREAMER_CFLAGS" | sed 's/ -I\([^/]\)/ -I\$(top_builddir)\/\1/g'`
12241 test -z "$GSTREAMER_LIBS" || GSTREAMER_LIBS=`echo " $GSTREAMER_LIBS" | sed 's/ -L\([^/]\)/ -L\$(top_builddir)\/\1/g'`
12244 if test "x$ac_cv_lib_gstapp_0_10_gst_app_buffer_new" != xyes -a "x$ac_cv_header_QuickTime_ImageCompression_h" != xyes; then :
12245 case "x$with_gstreamer" in
12246 x) as_fn_append wine_notices "|gstreamer-0.10 base plugins ${notice_platform}development files not found, gstreamer support disabled" ;;
12247 xno) ;;
12248 *) as_fn_error $? "gstreamer-0.10 base plugins ${notice_platform}development files not found, gstreamer support disabled
12249 This is an error since --with-gstreamer was requested." "$LINENO" 5 ;;
12250 esac
12252 test "x$ac_cv_lib_gstapp_0_10_gst_app_buffer_new" = xyes || enable_winegstreamer=${enable_winegstreamer:-no}
12254 ALSA_LIBS=""
12256 if test "$ac_cv_header_sys_asoundlib_h" = "yes" -o "$ac_cv_header_alsa_asoundlib_h" = "yes"
12257 then
12258 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for snd_pcm_hw_params_get_access_mask in -lasound" >&5
12259 $as_echo_n "checking for snd_pcm_hw_params_get_access_mask in -lasound... " >&6; }
12260 if ${ac_cv_lib_asound_snd_pcm_hw_params_get_access_mask+:} false; then :
12261 $as_echo_n "(cached) " >&6
12262 else
12263 ac_check_lib_save_LIBS=$LIBS
12264 LIBS="-lasound $LIBS"
12265 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12266 /* end confdefs.h. */
12268 /* Override any GCC internal prototype to avoid an error.
12269 Use char because int might match the return type of a GCC
12270 builtin and then its argument prototype would still apply. */
12271 #ifdef __cplusplus
12272 extern "C"
12273 #endif
12274 char snd_pcm_hw_params_get_access_mask ();
12276 main ()
12278 return snd_pcm_hw_params_get_access_mask ();
12280 return 0;
12282 _ACEOF
12283 if ac_fn_c_try_link "$LINENO"; then :
12284 ac_cv_lib_asound_snd_pcm_hw_params_get_access_mask=yes
12285 else
12286 ac_cv_lib_asound_snd_pcm_hw_params_get_access_mask=no
12288 rm -f core conftest.err conftest.$ac_objext \
12289 conftest$ac_exeext conftest.$ac_ext
12290 LIBS=$ac_check_lib_save_LIBS
12292 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_asound_snd_pcm_hw_params_get_access_mask" >&5
12293 $as_echo "$ac_cv_lib_asound_snd_pcm_hw_params_get_access_mask" >&6; }
12294 if test "x$ac_cv_lib_asound_snd_pcm_hw_params_get_access_mask" = xyes; then :
12295 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12296 /* end confdefs.h. */
12297 #ifdef HAVE_ALSA_ASOUNDLIB_H
12298 #include <alsa/asoundlib.h>
12299 #elif defined(HAVE_SYS_ASOUNDLIB_H)
12300 #include <sys/asoundlib.h>
12301 #endif
12303 main ()
12305 snd_pcm_hw_params_get_access_mask(NULL, NULL)
12307 return 0;
12309 _ACEOF
12310 if ac_fn_c_try_compile "$LINENO"; then :
12311 ALSA_LIBS="-lasound"
12313 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
12318 if test "x$with_oss" != xno
12319 then
12320 ac_save_CPPFLAGS="$CPPFLAGS"
12321 if test -f /etc/oss.conf
12322 then
12323 . /etc/oss.conf
12325 ac_oss_incl="-I${OSSLIBDIR:-/usr/lib/oss}/include"
12326 CPPFLAGS="$CPPFLAGS $ac_oss_incl"
12327 ac_fn_c_check_header_mongrel "$LINENO" "sys/soundcard.h" "ac_cv_header_sys_soundcard_h" "$ac_includes_default"
12328 if test "x$ac_cv_header_sys_soundcard_h" = xyes; then :
12329 ac_fn_c_check_member "$LINENO" "oss_sysinfo" "numaudioengines" "ac_cv_member_oss_sysinfo_numaudioengines" "#include <sys/soundcard.h>
12331 if test "x$ac_cv_member_oss_sysinfo_numaudioengines" = xyes; then :
12333 cat >>confdefs.h <<_ACEOF
12334 #define HAVE_OSS_SYSINFO_NUMAUDIOENGINES 1
12335 _ACEOF
12337 OSS4_CFLAGS="$ac_oss_incl"
12344 CPPFLAGS="$ac_save_CPPFLAGS"
12345 if test "x$ac_cv_member_oss_sysinfo_numaudioengines" != xyes
12346 then
12347 as_fn_append wine_notices "|OSS sound system found but too old (OSSv4 needed), OSS won't be supported."
12351 if test "x$with_capi" != "xno"
12352 then
12353 if ${CAPI20_CFLAGS:+false} :; then :
12354 if ${PKG_CONFIG+:} false; then :
12355 CAPI20_CFLAGS=`$PKG_CONFIG --cflags capi20 2>/dev/null`
12359 if ${CAPI20_LIBS:+false} :; then :
12360 if ${PKG_CONFIG+:} false; then :
12361 CAPI20_LIBS=`$PKG_CONFIG --libs capi20 2>/dev/null`
12366 $as_echo "$as_me:${as_lineno-$LINENO}: capi20 cflags: $CAPI20_CFLAGS" >&5
12367 $as_echo "$as_me:${as_lineno-$LINENO}: capi20 libs: $CAPI20_LIBS" >&5
12368 ac_save_CPPFLAGS=$CPPFLAGS
12369 CPPFLAGS="$CPPFLAGS $CAPI20_CFLAGS"
12370 for ac_header in capi20.h linux/capi.h
12371 do :
12372 as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
12373 ac_fn_c_check_header_compile "$LINENO" "$ac_header" "$as_ac_Header" "#define __user
12375 if eval test \"x\$"$as_ac_Header"\" = x"yes"; then :
12376 cat >>confdefs.h <<_ACEOF
12377 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
12378 _ACEOF
12382 done
12384 if test "$ac_cv_header_capi20_h" = "yes" -a "$ac_cv_header_linux_capi_h" = "yes"
12385 then
12386 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lcapi20" >&5
12387 $as_echo_n "checking for -lcapi20... " >&6; }
12388 if ${ac_cv_lib_soname_capi20+:} false; then :
12389 $as_echo_n "(cached) " >&6
12390 else
12391 ac_check_soname_save_LIBS=$LIBS
12392 LIBS="-lcapi20 $CAPI20_LIBS $LIBS"
12393 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12394 /* end confdefs.h. */
12396 /* Override any GCC internal prototype to avoid an error.
12397 Use char because int might match the return type of a GCC
12398 builtin and then its argument prototype would still apply. */
12399 #ifdef __cplusplus
12400 extern "C"
12401 #endif
12402 char capi20_register ();
12404 main ()
12406 return capi20_register ();
12408 return 0;
12410 _ACEOF
12411 if ac_fn_c_try_link "$LINENO"; then :
12412 case "$LIBEXT" in
12413 dll) ac_cv_lib_soname_capi20=`$ac_cv_path_LDD conftest.exe | grep "capi20" | sed -e "s/dll.*/dll/"';2,$d'` ;;
12414 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'` ;;
12415 *) ac_cv_lib_soname_capi20=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libcapi20\\.$LIBEXT" | sed -e "s/^.*\\[\\(libcapi20\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
12416 if ${ac_cv_lib_soname_capi20:+false} :; then :
12417 ac_cv_lib_soname_capi20=`$LDD conftest$ac_exeext | grep "libcapi20\\.$LIBEXT" | sed -e "s/^.*\(libcapi20\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
12418 fi ;;
12419 esac
12421 rm -f core conftest.err conftest.$ac_objext \
12422 conftest$ac_exeext conftest.$ac_ext
12423 LIBS=$ac_check_soname_save_LIBS
12425 if ${ac_cv_lib_soname_capi20:+false} :; then :
12426 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
12427 $as_echo "not found" >&6; }
12429 else
12430 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_capi20" >&5
12431 $as_echo "$ac_cv_lib_soname_capi20" >&6; }
12433 cat >>confdefs.h <<_ACEOF
12434 #define SONAME_LIBCAPI20 "$ac_cv_lib_soname_capi20"
12435 _ACEOF
12440 CPPFLAGS=$ac_save_CPPFLAGS
12441 test -z "$CAPI20_CFLAGS" || CAPI20_CFLAGS=`echo " $CAPI20_CFLAGS" | sed 's/ -I\([^/]\)/ -I\$(top_builddir)\/\1/g'`
12442 test -z "$CAPI20_LIBS" || CAPI20_LIBS=`echo " $CAPI20_LIBS" | sed 's/ -L\([^/]\)/ -L\$(top_builddir)\/\1/g'`
12445 if test "x$ac_cv_lib_soname_capi20" = "x"; then :
12446 case "x$with_capi" in
12447 x) as_fn_append wine_notices "|libcapi20 ${notice_platform}development files not found, ISDN won't be supported." ;;
12448 xno) ;;
12449 *) as_fn_error $? "libcapi20 ${notice_platform}development files not found, ISDN won't be supported.
12450 This is an error since --with-capi was requested." "$LINENO" 5 ;;
12451 esac
12454 CUPS_CFLAGS=""
12456 if test "x$with_cups" != "xno"
12457 then
12458 ac_save_CPPFLAGS="$CPPFLAGS"
12459 ac_cups_cflags=`cups-config --cflags 2>/dev/null`
12460 ac_cups_libs=`cups-config --ldflags 2>/dev/null`
12461 CPPFLAGS="$CPPFLAGS $ac_cups_cflags"
12462 for ac_header in cups/cups.h
12463 do :
12464 ac_fn_c_check_header_mongrel "$LINENO" "cups/cups.h" "ac_cv_header_cups_cups_h" "$ac_includes_default"
12465 if test "x$ac_cv_header_cups_cups_h" = xyes; then :
12466 cat >>confdefs.h <<_ACEOF
12467 #define HAVE_CUPS_CUPS_H 1
12468 _ACEOF
12469 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lcups" >&5
12470 $as_echo_n "checking for -lcups... " >&6; }
12471 if ${ac_cv_lib_soname_cups+:} false; then :
12472 $as_echo_n "(cached) " >&6
12473 else
12474 ac_check_soname_save_LIBS=$LIBS
12475 LIBS="-lcups $ac_cups_libs $LIBS"
12476 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12477 /* end confdefs.h. */
12479 /* Override any GCC internal prototype to avoid an error.
12480 Use char because int might match the return type of a GCC
12481 builtin and then its argument prototype would still apply. */
12482 #ifdef __cplusplus
12483 extern "C"
12484 #endif
12485 char cupsGetDefault ();
12487 main ()
12489 return cupsGetDefault ();
12491 return 0;
12493 _ACEOF
12494 if ac_fn_c_try_link "$LINENO"; then :
12495 case "$LIBEXT" in
12496 dll) ac_cv_lib_soname_cups=`$ac_cv_path_LDD conftest.exe | grep "cups" | sed -e "s/dll.*/dll/"';2,$d'` ;;
12497 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'` ;;
12498 *) ac_cv_lib_soname_cups=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libcups\\.$LIBEXT" | sed -e "s/^.*\\[\\(libcups\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
12499 if ${ac_cv_lib_soname_cups:+false} :; then :
12500 ac_cv_lib_soname_cups=`$LDD conftest$ac_exeext | grep "libcups\\.$LIBEXT" | sed -e "s/^.*\(libcups\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
12501 fi ;;
12502 esac
12504 rm -f core conftest.err conftest.$ac_objext \
12505 conftest$ac_exeext conftest.$ac_ext
12506 LIBS=$ac_check_soname_save_LIBS
12508 if ${ac_cv_lib_soname_cups:+false} :; then :
12509 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
12510 $as_echo "not found" >&6; }
12512 else
12513 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_cups" >&5
12514 $as_echo "$ac_cv_lib_soname_cups" >&6; }
12516 cat >>confdefs.h <<_ACEOF
12517 #define SONAME_LIBCUPS "$ac_cv_lib_soname_cups"
12518 _ACEOF
12520 CUPS_CFLAGS="$ac_cups_cflags"
12524 done
12526 CPPFLAGS="$ac_save_CPPFLAGS"
12528 if test "x$ac_cv_lib_soname_cups" = "x"; then :
12529 case "x$with_cups" in
12530 x) as_fn_append wine_notices "|libcups ${notice_platform}development files not found, CUPS won't be supported." ;;
12531 xno) ;;
12532 *) as_fn_error $? "libcups ${notice_platform}development files not found, CUPS won't be supported.
12533 This is an error since --with-cups was requested." "$LINENO" 5 ;;
12534 esac
12537 if test "x$with_fontconfig" != "xno"
12538 then
12539 if ${FONTCONFIG_CFLAGS:+false} :; then :
12540 if ${PKG_CONFIG+:} false; then :
12541 FONTCONFIG_CFLAGS=`$PKG_CONFIG --cflags fontconfig 2>/dev/null`
12544 test "$cross_compiling" = yes || FONTCONFIG_CFLAGS=${FONTCONFIG_CFLAGS:-$X_CFLAGS}
12545 if ${FONTCONFIG_LIBS:+false} :; then :
12546 if ${PKG_CONFIG+:} false; then :
12547 FONTCONFIG_LIBS=`$PKG_CONFIG --libs fontconfig 2>/dev/null`
12550 test "$cross_compiling" = yes || FONTCONFIG_LIBS=${FONTCONFIG_LIBS:-$X_LIBS}
12552 $as_echo "$as_me:${as_lineno-$LINENO}: fontconfig cflags: $FONTCONFIG_CFLAGS" >&5
12553 $as_echo "$as_me:${as_lineno-$LINENO}: fontconfig libs: $FONTCONFIG_LIBS" >&5
12554 ac_save_CPPFLAGS=$CPPFLAGS
12555 CPPFLAGS="$CPPFLAGS $FONTCONFIG_CFLAGS"
12556 for ac_header in fontconfig/fontconfig.h
12557 do :
12558 ac_fn_c_check_header_mongrel "$LINENO" "fontconfig/fontconfig.h" "ac_cv_header_fontconfig_fontconfig_h" "$ac_includes_default"
12559 if test "x$ac_cv_header_fontconfig_fontconfig_h" = xyes; then :
12560 cat >>confdefs.h <<_ACEOF
12561 #define HAVE_FONTCONFIG_FONTCONFIG_H 1
12562 _ACEOF
12566 done
12568 if test "$ac_cv_header_fontconfig_fontconfig_h" = "yes"
12569 then
12570 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lfontconfig" >&5
12571 $as_echo_n "checking for -lfontconfig... " >&6; }
12572 if ${ac_cv_lib_soname_fontconfig+:} false; then :
12573 $as_echo_n "(cached) " >&6
12574 else
12575 ac_check_soname_save_LIBS=$LIBS
12576 LIBS="-lfontconfig $FONTCONFIG_LIBS $LIBS"
12577 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12578 /* end confdefs.h. */
12580 /* Override any GCC internal prototype to avoid an error.
12581 Use char because int might match the return type of a GCC
12582 builtin and then its argument prototype would still apply. */
12583 #ifdef __cplusplus
12584 extern "C"
12585 #endif
12586 char FcInit ();
12588 main ()
12590 return FcInit ();
12592 return 0;
12594 _ACEOF
12595 if ac_fn_c_try_link "$LINENO"; then :
12596 case "$LIBEXT" in
12597 dll) ac_cv_lib_soname_fontconfig=`$ac_cv_path_LDD conftest.exe | grep "fontconfig" | sed -e "s/dll.*/dll/"';2,$d'` ;;
12598 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'` ;;
12599 *) ac_cv_lib_soname_fontconfig=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libfontconfig\\.$LIBEXT" | sed -e "s/^.*\\[\\(libfontconfig\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
12600 if ${ac_cv_lib_soname_fontconfig:+false} :; then :
12601 ac_cv_lib_soname_fontconfig=`$LDD conftest$ac_exeext | grep "libfontconfig\\.$LIBEXT" | sed -e "s/^.*\(libfontconfig\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
12602 fi ;;
12603 esac
12605 rm -f core conftest.err conftest.$ac_objext \
12606 conftest$ac_exeext conftest.$ac_ext
12607 LIBS=$ac_check_soname_save_LIBS
12609 if ${ac_cv_lib_soname_fontconfig:+false} :; then :
12610 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
12611 $as_echo "not found" >&6; }
12612 FONTCONFIG_CFLAGS=""
12613 else
12614 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_fontconfig" >&5
12615 $as_echo "$ac_cv_lib_soname_fontconfig" >&6; }
12617 cat >>confdefs.h <<_ACEOF
12618 #define SONAME_LIBFONTCONFIG "$ac_cv_lib_soname_fontconfig"
12619 _ACEOF
12623 else
12624 FONTCONFIG_CFLAGS=""
12626 CPPFLAGS=$ac_save_CPPFLAGS
12627 test -z "$FONTCONFIG_CFLAGS" || FONTCONFIG_CFLAGS=`echo " $FONTCONFIG_CFLAGS" | sed 's/ -I\([^/]\)/ -I\$(top_builddir)\/\1/g'`
12628 test -z "$FONTCONFIG_LIBS" || FONTCONFIG_LIBS=`echo " $FONTCONFIG_LIBS" | sed 's/ -L\([^/]\)/ -L\$(top_builddir)\/\1/g'`
12631 if test "x$ac_cv_lib_soname_fontconfig" = "x"; then :
12632 case "x$with_fontconfig" in
12633 x) as_fn_append wine_notices "|fontconfig ${notice_platform}development files not found, fontconfig won't be supported." ;;
12634 xno) ;;
12635 *) as_fn_error $? "fontconfig ${notice_platform}development files not found, fontconfig won't be supported.
12636 This is an error since --with-fontconfig was requested." "$LINENO" 5 ;;
12637 esac
12640 if test "$ac_cv_header_gsm_h" = "yes" -o "$ac_cv_header_gsm_gsm_h" = "yes"
12641 then
12642 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lgsm" >&5
12643 $as_echo_n "checking for -lgsm... " >&6; }
12644 if ${ac_cv_lib_soname_gsm+:} false; then :
12645 $as_echo_n "(cached) " >&6
12646 else
12647 ac_check_soname_save_LIBS=$LIBS
12648 LIBS="-lgsm $LIBS"
12649 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12650 /* end confdefs.h. */
12652 /* Override any GCC internal prototype to avoid an error.
12653 Use char because int might match the return type of a GCC
12654 builtin and then its argument prototype would still apply. */
12655 #ifdef __cplusplus
12656 extern "C"
12657 #endif
12658 char gsm_create ();
12660 main ()
12662 return gsm_create ();
12664 return 0;
12666 _ACEOF
12667 if ac_fn_c_try_link "$LINENO"; then :
12668 case "$LIBEXT" in
12669 dll) ac_cv_lib_soname_gsm=`$ac_cv_path_LDD conftest.exe | grep "gsm" | sed -e "s/dll.*/dll/"';2,$d'` ;;
12670 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'` ;;
12671 *) ac_cv_lib_soname_gsm=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libgsm\\.$LIBEXT" | sed -e "s/^.*\\[\\(libgsm\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
12672 if ${ac_cv_lib_soname_gsm:+false} :; then :
12673 ac_cv_lib_soname_gsm=`$LDD conftest$ac_exeext | grep "libgsm\\.$LIBEXT" | sed -e "s/^.*\(libgsm\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
12674 fi ;;
12675 esac
12677 rm -f core conftest.err conftest.$ac_objext \
12678 conftest$ac_exeext conftest.$ac_ext
12679 LIBS=$ac_check_soname_save_LIBS
12681 if ${ac_cv_lib_soname_gsm:+false} :; then :
12682 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
12683 $as_echo "not found" >&6; }
12685 else
12686 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_gsm" >&5
12687 $as_echo "$ac_cv_lib_soname_gsm" >&6; }
12689 cat >>confdefs.h <<_ACEOF
12690 #define SONAME_LIBGSM "$ac_cv_lib_soname_gsm"
12691 _ACEOF
12696 if test "x$ac_cv_lib_soname_gsm" = "x"; then :
12697 case "x$with_gsm" in
12698 x) as_fn_append wine_notices "|libgsm ${notice_platform}development files not found, gsm 06.10 codec won't be supported." ;;
12699 xno) ;;
12700 *) as_fn_error $? "libgsm ${notice_platform}development files not found, gsm 06.10 codec won't be supported.
12701 This is an error since --with-gsm was requested." "$LINENO" 5 ;;
12702 esac
12705 if test "x$with_jpeg" != "xno"
12706 then
12707 if ${JPEG_CFLAGS:+false} :; then :
12708 if ${PKG_CONFIG+:} false; then :
12709 JPEG_CFLAGS=`$PKG_CONFIG --cflags libjpeg 2>/dev/null`
12713 if ${JPEG_LIBS:+false} :; then :
12714 if ${PKG_CONFIG+:} false; then :
12715 JPEG_LIBS=`$PKG_CONFIG --libs libjpeg 2>/dev/null`
12720 $as_echo "$as_me:${as_lineno-$LINENO}: libjpeg cflags: $JPEG_CFLAGS" >&5
12721 $as_echo "$as_me:${as_lineno-$LINENO}: libjpeg libs: $JPEG_LIBS" >&5
12722 ac_save_CPPFLAGS=$CPPFLAGS
12723 CPPFLAGS="$CPPFLAGS $JPEG_CFLAGS"
12724 for ac_header in jpeglib.h
12725 do :
12726 ac_fn_c_check_header_mongrel "$LINENO" "jpeglib.h" "ac_cv_header_jpeglib_h" "$ac_includes_default"
12727 if test "x$ac_cv_header_jpeglib_h" = xyes; then :
12728 cat >>confdefs.h <<_ACEOF
12729 #define HAVE_JPEGLIB_H 1
12730 _ACEOF
12734 done
12736 if test "$ac_cv_header_jpeglib_h" = "yes"
12737 then
12738 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -ljpeg" >&5
12739 $as_echo_n "checking for -ljpeg... " >&6; }
12740 if ${ac_cv_lib_soname_jpeg+:} false; then :
12741 $as_echo_n "(cached) " >&6
12742 else
12743 ac_check_soname_save_LIBS=$LIBS
12744 LIBS="-ljpeg $JPEG_LIBS $LIBS"
12745 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12746 /* end confdefs.h. */
12748 /* Override any GCC internal prototype to avoid an error.
12749 Use char because int might match the return type of a GCC
12750 builtin and then its argument prototype would still apply. */
12751 #ifdef __cplusplus
12752 extern "C"
12753 #endif
12754 char jpeg_start_decompress ();
12756 main ()
12758 return jpeg_start_decompress ();
12760 return 0;
12762 _ACEOF
12763 if ac_fn_c_try_link "$LINENO"; then :
12764 case "$LIBEXT" in
12765 dll) ac_cv_lib_soname_jpeg=`$ac_cv_path_LDD conftest.exe | grep "jpeg" | sed -e "s/dll.*/dll/"';2,$d'` ;;
12766 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'` ;;
12767 *) ac_cv_lib_soname_jpeg=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libjpeg\\.$LIBEXT" | sed -e "s/^.*\\[\\(libjpeg\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
12768 if ${ac_cv_lib_soname_jpeg:+false} :; then :
12769 ac_cv_lib_soname_jpeg=`$LDD conftest$ac_exeext | grep "libjpeg\\.$LIBEXT" | sed -e "s/^.*\(libjpeg\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
12770 fi ;;
12771 esac
12773 rm -f core conftest.err conftest.$ac_objext \
12774 conftest$ac_exeext conftest.$ac_ext
12775 LIBS=$ac_check_soname_save_LIBS
12777 if ${ac_cv_lib_soname_jpeg:+false} :; then :
12778 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
12779 $as_echo "not found" >&6; }
12780 JPEG_CFLAGS=""
12781 else
12782 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_jpeg" >&5
12783 $as_echo "$ac_cv_lib_soname_jpeg" >&6; }
12785 cat >>confdefs.h <<_ACEOF
12786 #define SONAME_LIBJPEG "$ac_cv_lib_soname_jpeg"
12787 _ACEOF
12791 else
12792 JPEG_CFLAGS=""
12794 CPPFLAGS=$ac_save_CPPFLAGS
12795 test -z "$JPEG_CFLAGS" || JPEG_CFLAGS=`echo " $JPEG_CFLAGS" | sed 's/ -I\([^/]\)/ -I\$(top_builddir)\/\1/g'`
12796 test -z "$JPEG_LIBS" || JPEG_LIBS=`echo " $JPEG_LIBS" | sed 's/ -L\([^/]\)/ -L\$(top_builddir)\/\1/g'`
12799 if test "x$ac_cv_lib_soname_jpeg" = "x"; then :
12800 case "x$with_jpeg" in
12801 x) as_fn_append wine_warnings "|libjpeg ${notice_platform}development files not found, JPEG won't be supported." ;;
12802 xno) ;;
12803 *) as_fn_error $? "libjpeg ${notice_platform}development files not found, JPEG won't be supported.
12804 This is an error since --with-jpeg was requested." "$LINENO" 5 ;;
12805 esac
12808 if test "x$with_png" != "xno"
12809 then
12810 if ${PNG_CFLAGS:+false} :; then :
12811 if ${PKG_CONFIG+:} false; then :
12812 PNG_CFLAGS=`$PKG_CONFIG --cflags libpng 2>/dev/null`
12815 test "$cross_compiling" = yes || PNG_CFLAGS=${PNG_CFLAGS:-$X_CFLAGS}
12816 if ${PNG_LIBS:+false} :; then :
12817 if ${PKG_CONFIG+:} false; then :
12818 PNG_LIBS=`$PKG_CONFIG --libs libpng 2>/dev/null`
12821 test "$cross_compiling" = yes || PNG_LIBS=${PNG_LIBS:-$X_LIBS}
12823 $as_echo "$as_me:${as_lineno-$LINENO}: libpng cflags: $PNG_CFLAGS" >&5
12824 $as_echo "$as_me:${as_lineno-$LINENO}: libpng libs: $PNG_LIBS" >&5
12825 ac_save_CPPFLAGS=$CPPFLAGS
12826 CPPFLAGS="$CPPFLAGS $PNG_CFLAGS"
12827 for ac_header in png.h
12828 do :
12829 ac_fn_c_check_header_mongrel "$LINENO" "png.h" "ac_cv_header_png_h" "$ac_includes_default"
12830 if test "x$ac_cv_header_png_h" = xyes; then :
12831 cat >>confdefs.h <<_ACEOF
12832 #define HAVE_PNG_H 1
12833 _ACEOF
12837 done
12839 if test "$ac_cv_header_png_h" = "yes"
12840 then
12841 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lpng" >&5
12842 $as_echo_n "checking for -lpng... " >&6; }
12843 if ${ac_cv_lib_soname_png+:} false; then :
12844 $as_echo_n "(cached) " >&6
12845 else
12846 ac_check_soname_save_LIBS=$LIBS
12847 LIBS="-lpng $PNG_LIBS -lm -lz $LIBS"
12848 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12849 /* end confdefs.h. */
12851 /* Override any GCC internal prototype to avoid an error.
12852 Use char because int might match the return type of a GCC
12853 builtin and then its argument prototype would still apply. */
12854 #ifdef __cplusplus
12855 extern "C"
12856 #endif
12857 char png_create_read_struct ();
12859 main ()
12861 return png_create_read_struct ();
12863 return 0;
12865 _ACEOF
12866 if ac_fn_c_try_link "$LINENO"; then :
12867 case "$LIBEXT" in
12868 dll) ac_cv_lib_soname_png=`$ac_cv_path_LDD conftest.exe | grep "png" | sed -e "s/dll.*/dll/"';2,$d'` ;;
12869 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'` ;;
12870 *) 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'`
12871 if ${ac_cv_lib_soname_png:+false} :; then :
12872 ac_cv_lib_soname_png=`$LDD conftest$ac_exeext | grep "libpng[0-9]*\\.$LIBEXT" | sed -e "s/^.*\(libpng[0-9]*\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
12873 fi ;;
12874 esac
12876 rm -f core conftest.err conftest.$ac_objext \
12877 conftest$ac_exeext conftest.$ac_ext
12878 LIBS=$ac_check_soname_save_LIBS
12880 if ${ac_cv_lib_soname_png:+false} :; then :
12881 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
12882 $as_echo "not found" >&6; }
12883 PNG_CFLAGS=""
12884 else
12885 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_png" >&5
12886 $as_echo "$ac_cv_lib_soname_png" >&6; }
12888 cat >>confdefs.h <<_ACEOF
12889 #define SONAME_LIBPNG "$ac_cv_lib_soname_png"
12890 _ACEOF
12892 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12893 /* end confdefs.h. */
12894 #include <png.h>
12896 main ()
12898 typeof(png_set_expand_gray_1_2_4_to_8) *p
12900 return 0;
12902 _ACEOF
12903 if ac_fn_c_try_compile "$LINENO"; then :
12905 $as_echo "#define HAVE_PNG_SET_EXPAND_GRAY_1_2_4_TO_8 1" >>confdefs.h
12908 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
12910 else
12911 PNG_CFLAGS=""
12913 CPPFLAGS=$ac_save_CPPFLAGS
12914 test -z "$PNG_CFLAGS" || PNG_CFLAGS=`echo " $PNG_CFLAGS" | sed 's/ -I\([^/]\)/ -I\$(top_builddir)\/\1/g'`
12915 test -z "$PNG_LIBS" || PNG_LIBS=`echo " $PNG_LIBS" | sed 's/ -L\([^/]\)/ -L\$(top_builddir)\/\1/g'`
12918 if test "x$ac_cv_lib_soname_png" = "x"; then :
12919 case "x$with_png" in
12920 x) as_fn_append wine_warnings "|libpng ${notice_platform}development files not found, PNG won't be supported." ;;
12921 xno) ;;
12922 *) as_fn_error $? "libpng ${notice_platform}development files not found, PNG won't be supported.
12923 This is an error since --with-png was requested." "$LINENO" 5 ;;
12924 esac
12927 if test "x$with_tiff" != "xno"
12928 then
12929 if ${TIFF_CFLAGS:+false} :; then :
12930 if ${PKG_CONFIG+:} false; then :
12931 TIFF_CFLAGS=`$PKG_CONFIG --cflags libtiff 2>/dev/null`
12935 if ${TIFF_LIBS:+false} :; then :
12936 if ${PKG_CONFIG+:} false; then :
12937 TIFF_LIBS=`$PKG_CONFIG --libs libtiff 2>/dev/null`
12942 $as_echo "$as_me:${as_lineno-$LINENO}: libtiff cflags: $TIFF_CFLAGS" >&5
12943 $as_echo "$as_me:${as_lineno-$LINENO}: libtiff libs: $TIFF_LIBS" >&5
12944 ac_save_CPPFLAGS=$CPPFLAGS
12945 CPPFLAGS="$CPPFLAGS $TIFF_CFLAGS"
12946 for ac_header in tiffio.h
12947 do :
12948 ac_fn_c_check_header_mongrel "$LINENO" "tiffio.h" "ac_cv_header_tiffio_h" "$ac_includes_default"
12949 if test "x$ac_cv_header_tiffio_h" = xyes; then :
12950 cat >>confdefs.h <<_ACEOF
12951 #define HAVE_TIFFIO_H 1
12952 _ACEOF
12956 done
12958 if test "$ac_cv_header_tiffio_h" = "yes"
12959 then
12960 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -ltiff" >&5
12961 $as_echo_n "checking for -ltiff... " >&6; }
12962 if ${ac_cv_lib_soname_tiff+:} false; then :
12963 $as_echo_n "(cached) " >&6
12964 else
12965 ac_check_soname_save_LIBS=$LIBS
12966 LIBS="-ltiff $TIFF_LIBS $LIBS"
12967 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12968 /* end confdefs.h. */
12970 /* Override any GCC internal prototype to avoid an error.
12971 Use char because int might match the return type of a GCC
12972 builtin and then its argument prototype would still apply. */
12973 #ifdef __cplusplus
12974 extern "C"
12975 #endif
12976 char TIFFClientOpen ();
12978 main ()
12980 return TIFFClientOpen ();
12982 return 0;
12984 _ACEOF
12985 if ac_fn_c_try_link "$LINENO"; then :
12986 case "$LIBEXT" in
12987 dll) ac_cv_lib_soname_tiff=`$ac_cv_path_LDD conftest.exe | grep "tiff" | sed -e "s/dll.*/dll/"';2,$d'` ;;
12988 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'` ;;
12989 *) ac_cv_lib_soname_tiff=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libtiff\\.$LIBEXT" | sed -e "s/^.*\\[\\(libtiff\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
12990 if ${ac_cv_lib_soname_tiff:+false} :; then :
12991 ac_cv_lib_soname_tiff=`$LDD conftest$ac_exeext | grep "libtiff\\.$LIBEXT" | sed -e "s/^.*\(libtiff\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
12992 fi ;;
12993 esac
12995 rm -f core conftest.err conftest.$ac_objext \
12996 conftest$ac_exeext conftest.$ac_ext
12997 LIBS=$ac_check_soname_save_LIBS
12999 if ${ac_cv_lib_soname_tiff:+false} :; then :
13000 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
13001 $as_echo "not found" >&6; }
13003 else
13004 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_tiff" >&5
13005 $as_echo "$ac_cv_lib_soname_tiff" >&6; }
13007 cat >>confdefs.h <<_ACEOF
13008 #define SONAME_LIBTIFF "$ac_cv_lib_soname_tiff"
13009 _ACEOF
13014 CPPFLAGS=$ac_save_CPPFLAGS
13015 test -z "$TIFF_CFLAGS" || TIFF_CFLAGS=`echo " $TIFF_CFLAGS" | sed 's/ -I\([^/]\)/ -I\$(top_builddir)\/\1/g'`
13016 test -z "$TIFF_LIBS" || TIFF_LIBS=`echo " $TIFF_LIBS" | sed 's/ -L\([^/]\)/ -L\$(top_builddir)\/\1/g'`
13019 if test "x$ac_cv_lib_soname_tiff" = "x"; then :
13020 case "x$with_tiff" in
13021 x) as_fn_append wine_notices "|libtiff ${notice_platform}development files not found, TIFF won't be supported." ;;
13022 xno) ;;
13023 *) as_fn_error $? "libtiff ${notice_platform}development files not found, TIFF won't be supported.
13024 This is an error since --with-tiff was requested." "$LINENO" 5 ;;
13025 esac
13028 if test "x$with_mpg123" != "xno"
13029 then
13030 if ${MPG123_CFLAGS:+false} :; then :
13031 if ${PKG_CONFIG+:} false; then :
13032 MPG123_CFLAGS=`$PKG_CONFIG --cflags libmpg123 2>/dev/null`
13036 if ${MPG123_LIBS:+false} :; then :
13037 if ${PKG_CONFIG+:} false; then :
13038 MPG123_LIBS=`$PKG_CONFIG --libs libmpg123 2>/dev/null`
13042 MPG123_LIBS=${MPG123_LIBS:-"-lmpg123"}
13043 $as_echo "$as_me:${as_lineno-$LINENO}: libmpg123 cflags: $MPG123_CFLAGS" >&5
13044 $as_echo "$as_me:${as_lineno-$LINENO}: libmpg123 libs: $MPG123_LIBS" >&5
13045 ac_save_CPPFLAGS=$CPPFLAGS
13046 CPPFLAGS="$CPPFLAGS $MPG123_CFLAGS"
13047 for ac_header in mpg123.h
13048 do :
13049 ac_fn_c_check_header_mongrel "$LINENO" "mpg123.h" "ac_cv_header_mpg123_h" "$ac_includes_default"
13050 if test "x$ac_cv_header_mpg123_h" = xyes; then :
13051 cat >>confdefs.h <<_ACEOF
13052 #define HAVE_MPG123_H 1
13053 _ACEOF
13057 done
13059 if test "$ac_cv_header_mpg123_h" = "yes"
13060 then
13061 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for mpg123_feed in -lmpg123" >&5
13062 $as_echo_n "checking for mpg123_feed in -lmpg123... " >&6; }
13063 if ${ac_cv_lib_mpg123_mpg123_feed+:} false; then :
13064 $as_echo_n "(cached) " >&6
13065 else
13066 ac_check_lib_save_LIBS=$LIBS
13067 LIBS="-lmpg123 $MPG123_LIBS $LIBS"
13068 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13069 /* end confdefs.h. */
13071 /* Override any GCC internal prototype to avoid an error.
13072 Use char because int might match the return type of a GCC
13073 builtin and then its argument prototype would still apply. */
13074 #ifdef __cplusplus
13075 extern "C"
13076 #endif
13077 char mpg123_feed ();
13079 main ()
13081 return mpg123_feed ();
13083 return 0;
13085 _ACEOF
13086 if ac_fn_c_try_link "$LINENO"; then :
13087 ac_cv_lib_mpg123_mpg123_feed=yes
13088 else
13089 ac_cv_lib_mpg123_mpg123_feed=no
13091 rm -f core conftest.err conftest.$ac_objext \
13092 conftest$ac_exeext conftest.$ac_ext
13093 LIBS=$ac_check_lib_save_LIBS
13095 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_mpg123_mpg123_feed" >&5
13096 $as_echo "$ac_cv_lib_mpg123_mpg123_feed" >&6; }
13097 if test "x$ac_cv_lib_mpg123_mpg123_feed" = xyes; then :
13099 else
13100 MPG123_LIBS=""
13103 else
13104 MPG123_CFLAGS=""
13105 MPG123_LIBS=""
13107 CPPFLAGS=$ac_save_CPPFLAGS
13108 test -z "$MPG123_CFLAGS" || MPG123_CFLAGS=`echo " $MPG123_CFLAGS" | sed 's/ -I\([^/]\)/ -I\$(top_builddir)\/\1/g'`
13109 test -z "$MPG123_LIBS" || MPG123_LIBS=`echo " $MPG123_LIBS" | sed 's/ -L\([^/]\)/ -L\$(top_builddir)\/\1/g'`
13112 if test "x$ac_cv_lib_mpg123_mpg123_feed" != xyes -a x"$ac_cv_header_CoreAudio_CoreAudio_h" != xyes; then :
13113 case "x$with_mpg123" in
13114 x) as_fn_append wine_notices "|libmpg123 ${notice_platform}development files not found (or too old), mp3 codec won't be supported." ;;
13115 xno) ;;
13116 *) as_fn_error $? "libmpg123 ${notice_platform}development files not found (or too old), mp3 codec won't be supported.
13117 This is an error since --with-mpg123 was requested." "$LINENO" 5 ;;
13118 esac
13120 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}
13122 if test "$ac_cv_header_AL_al_h" = "yes"
13123 then
13124 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lopenal" >&5
13125 $as_echo_n "checking for -lopenal... " >&6; }
13126 if ${ac_cv_lib_soname_openal+:} false; then :
13127 $as_echo_n "(cached) " >&6
13128 else
13129 ac_check_soname_save_LIBS=$LIBS
13130 LIBS="-lopenal $LIBS"
13131 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13132 /* end confdefs.h. */
13134 /* Override any GCC internal prototype to avoid an error.
13135 Use char because int might match the return type of a GCC
13136 builtin and then its argument prototype would still apply. */
13137 #ifdef __cplusplus
13138 extern "C"
13139 #endif
13140 char alGetSource3i ();
13142 main ()
13144 return alGetSource3i ();
13146 return 0;
13148 _ACEOF
13149 if ac_fn_c_try_link "$LINENO"; then :
13150 case "$LIBEXT" in
13151 dll) ac_cv_lib_soname_openal=`$ac_cv_path_LDD conftest.exe | grep "openal" | sed -e "s/dll.*/dll/"';2,$d'` ;;
13152 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'` ;;
13153 *) ac_cv_lib_soname_openal=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libopenal\\.$LIBEXT" | sed -e "s/^.*\\[\\(libopenal\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
13154 if ${ac_cv_lib_soname_openal:+false} :; then :
13155 ac_cv_lib_soname_openal=`$LDD conftest$ac_exeext | grep "libopenal\\.$LIBEXT" | sed -e "s/^.*\(libopenal\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
13156 fi ;;
13157 esac
13159 rm -f core conftest.err conftest.$ac_objext \
13160 conftest$ac_exeext conftest.$ac_ext
13161 LIBS=$ac_check_soname_save_LIBS
13163 if ${ac_cv_lib_soname_openal:+false} :; then :
13164 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
13165 $as_echo "not found" >&6; }
13167 else
13168 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_openal" >&5
13169 $as_echo "$ac_cv_lib_soname_openal" >&6; }
13171 cat >>confdefs.h <<_ACEOF
13172 #define SONAME_LIBOPENAL "$ac_cv_lib_soname_openal"
13173 _ACEOF
13175 OPENAL_LIBS="-lopenal"
13177 ac_cv_lib_openal=yes
13179 cat >>confdefs.h <<_ACEOF
13180 #define HAVE_OPENAL 1
13181 _ACEOF
13185 if test "x$ac_cv_lib_openal" != xyes; then :
13186 case "x$with_openal" in
13187 x) as_fn_append wine_notices "|libopenal ${notice_platform}development files not found (or too old), OpenAL won't be supported." ;;
13188 xno) ;;
13189 *) as_fn_error $? "libopenal ${notice_platform}development files not found (or too old), OpenAL won't be supported.
13190 This is an error since --with-openal was requested." "$LINENO" 5 ;;
13191 esac
13193 test "x$ac_cv_lib_openal" = xyes || enable_openal32=${enable_openal32:-no}
13195 if test "$ac_cv_header_kstat_h" = "yes"
13196 then
13197 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for kstat_open in -lkstat" >&5
13198 $as_echo_n "checking for kstat_open in -lkstat... " >&6; }
13199 if ${ac_cv_lib_kstat_kstat_open+:} false; then :
13200 $as_echo_n "(cached) " >&6
13201 else
13202 ac_check_lib_save_LIBS=$LIBS
13203 LIBS="-lkstat $LIBS"
13204 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13205 /* end confdefs.h. */
13207 /* Override any GCC internal prototype to avoid an error.
13208 Use char because int might match the return type of a GCC
13209 builtin and then its argument prototype would still apply. */
13210 #ifdef __cplusplus
13211 extern "C"
13212 #endif
13213 char kstat_open ();
13215 main ()
13217 return kstat_open ();
13219 return 0;
13221 _ACEOF
13222 if ac_fn_c_try_link "$LINENO"; then :
13223 ac_cv_lib_kstat_kstat_open=yes
13224 else
13225 ac_cv_lib_kstat_kstat_open=no
13227 rm -f core conftest.err conftest.$ac_objext \
13228 conftest$ac_exeext conftest.$ac_ext
13229 LIBS=$ac_check_lib_save_LIBS
13231 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_kstat_kstat_open" >&5
13232 $as_echo "$ac_cv_lib_kstat_kstat_open" >&6; }
13233 if test "x$ac_cv_lib_kstat_kstat_open" = xyes; then :
13235 $as_echo "#define HAVE_LIBKSTAT 1" >>confdefs.h
13237 KSTAT_LIBS="-lkstat"
13243 if test "$ac_cv_header_libprocstat_h" = "yes"
13244 then
13245 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for procstat_open_sysctl in -lprocstat" >&5
13246 $as_echo_n "checking for procstat_open_sysctl in -lprocstat... " >&6; }
13247 if ${ac_cv_lib_procstat_procstat_open_sysctl+:} false; then :
13248 $as_echo_n "(cached) " >&6
13249 else
13250 ac_check_lib_save_LIBS=$LIBS
13251 LIBS="-lprocstat $LIBS"
13252 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13253 /* end confdefs.h. */
13255 /* Override any GCC internal prototype to avoid an error.
13256 Use char because int might match the return type of a GCC
13257 builtin and then its argument prototype would still apply. */
13258 #ifdef __cplusplus
13259 extern "C"
13260 #endif
13261 char procstat_open_sysctl ();
13263 main ()
13265 return procstat_open_sysctl ();
13267 return 0;
13269 _ACEOF
13270 if ac_fn_c_try_link "$LINENO"; then :
13271 ac_cv_lib_procstat_procstat_open_sysctl=yes
13272 else
13273 ac_cv_lib_procstat_procstat_open_sysctl=no
13275 rm -f core conftest.err conftest.$ac_objext \
13276 conftest$ac_exeext conftest.$ac_ext
13277 LIBS=$ac_check_lib_save_LIBS
13279 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_procstat_procstat_open_sysctl" >&5
13280 $as_echo "$ac_cv_lib_procstat_procstat_open_sysctl" >&6; }
13281 if test "x$ac_cv_lib_procstat_procstat_open_sysctl" = xyes; then :
13283 $as_echo "#define HAVE_LIBPROCSTAT 1" >>confdefs.h
13285 PROCSTAT_LIBS="-lprocstat"
13291 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lodbc" >&5
13292 $as_echo_n "checking for -lodbc... " >&6; }
13293 if ${ac_cv_lib_soname_odbc+:} false; then :
13294 $as_echo_n "(cached) " >&6
13295 else
13296 ac_check_soname_save_LIBS=$LIBS
13297 LIBS="-lodbc $LIBS"
13298 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13299 /* end confdefs.h. */
13301 /* Override any GCC internal prototype to avoid an error.
13302 Use char because int might match the return type of a GCC
13303 builtin and then its argument prototype would still apply. */
13304 #ifdef __cplusplus
13305 extern "C"
13306 #endif
13307 char SQLConnect ();
13309 main ()
13311 return SQLConnect ();
13313 return 0;
13315 _ACEOF
13316 if ac_fn_c_try_link "$LINENO"; then :
13317 case "$LIBEXT" in
13318 dll) ac_cv_lib_soname_odbc=`$ac_cv_path_LDD conftest.exe | grep "odbc" | sed -e "s/dll.*/dll/"';2,$d'` ;;
13319 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'` ;;
13320 *) ac_cv_lib_soname_odbc=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libodbc\\.$LIBEXT" | sed -e "s/^.*\\[\\(libodbc\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
13321 if ${ac_cv_lib_soname_odbc:+false} :; then :
13322 ac_cv_lib_soname_odbc=`$LDD conftest$ac_exeext | grep "libodbc\\.$LIBEXT" | sed -e "s/^.*\(libodbc\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
13323 fi ;;
13324 esac
13326 rm -f core conftest.err conftest.$ac_objext \
13327 conftest$ac_exeext conftest.$ac_ext
13328 LIBS=$ac_check_soname_save_LIBS
13330 if ${ac_cv_lib_soname_odbc:+false} :; then :
13331 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
13332 $as_echo "not found" >&6; }
13333 cat >>confdefs.h <<_ACEOF
13334 #define SONAME_LIBODBC "libodbc.$LIBEXT"
13335 _ACEOF
13337 else
13338 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_odbc" >&5
13339 $as_echo "$ac_cv_lib_soname_odbc" >&6; }
13341 cat >>confdefs.h <<_ACEOF
13342 #define SONAME_LIBODBC "$ac_cv_lib_soname_odbc"
13343 _ACEOF
13348 if test "x$with_netapi" != "xno"
13349 then
13350 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lnetapi" >&5
13351 $as_echo_n "checking for -lnetapi... " >&6; }
13352 if ${ac_cv_lib_soname_netapi+:} false; then :
13353 $as_echo_n "(cached) " >&6
13354 else
13355 ac_check_soname_save_LIBS=$LIBS
13356 LIBS="-lnetapi $LIBS"
13357 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13358 /* end confdefs.h. */
13360 /* Override any GCC internal prototype to avoid an error.
13361 Use char because int might match the return type of a GCC
13362 builtin and then its argument prototype would still apply. */
13363 #ifdef __cplusplus
13364 extern "C"
13365 #endif
13366 char libnetapi_init ();
13368 main ()
13370 return libnetapi_init ();
13372 return 0;
13374 _ACEOF
13375 if ac_fn_c_try_link "$LINENO"; then :
13376 case "$LIBEXT" in
13377 dll) ac_cv_lib_soname_netapi=`$ac_cv_path_LDD conftest.exe | grep "netapi" | sed -e "s/dll.*/dll/"';2,$d'` ;;
13378 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'` ;;
13379 *) ac_cv_lib_soname_netapi=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libnetapi\\.$LIBEXT" | sed -e "s/^.*\\[\\(libnetapi\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
13380 if ${ac_cv_lib_soname_netapi:+false} :; then :
13381 ac_cv_lib_soname_netapi=`$LDD conftest$ac_exeext | grep "libnetapi\\.$LIBEXT" | sed -e "s/^.*\(libnetapi\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
13382 fi ;;
13383 esac
13385 rm -f core conftest.err conftest.$ac_objext \
13386 conftest$ac_exeext conftest.$ac_ext
13387 LIBS=$ac_check_soname_save_LIBS
13389 if ${ac_cv_lib_soname_netapi:+false} :; then :
13390 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
13391 $as_echo "not found" >&6; }
13392 cat >>confdefs.h <<_ACEOF
13393 #define SONAME_LIBNETAPI "libnetapi.$LIBEXT"
13394 _ACEOF
13396 else
13397 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_netapi" >&5
13398 $as_echo "$ac_cv_lib_soname_netapi" >&6; }
13400 cat >>confdefs.h <<_ACEOF
13401 #define SONAME_LIBNETAPI "$ac_cv_lib_soname_netapi"
13402 _ACEOF
13408 test -n "$ALSA_LIBS" || enable_winealsa_drv=${enable_winealsa_drv:-no}
13409 test -n "$COREAUDIO_LIBS" || enable_winecoreaudio_drv=${enable_winecoreaudio_drv:-no}
13410 test "x$ac_cv_member_oss_sysinfo_numaudioengines" = xyes || enable_wineoss_drv=${enable_wineoss_drv:-no}
13411 test "$ac_cv_header_linux_joystick_h" = "yes" || enable_winejoystick_drv=${enable_winejoystick_drv:-no}
13413 if test "x$ALSA_LIBS$COREAUDIO_LIBS" = "x" -a \
13414 "x$ac_cv_member_oss_sysinfo_numaudioengines" != xyes -a \
13415 "x$with_alsa$with_coreaudio$with_oss" != xnonono
13416 then
13417 as_fn_append wine_warnings "|No sound system was found. Windows applications will be silent."
13421 EXTRACFLAGS=""
13423 if test "x${GCC}" = "xyes"
13424 then
13425 EXTRACFLAGS="-Wall -pipe"
13427 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for gcc strength-reduce bug" >&5
13428 $as_echo_n "checking for gcc strength-reduce bug... " >&6; }
13429 if ${ac_cv_c_gcc_strength_bug+:} false; then :
13430 $as_echo_n "(cached) " >&6
13431 else
13432 if test "$cross_compiling" = yes; then :
13433 ac_cv_c_gcc_strength_bug="yes"
13434 else
13435 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13436 /* end confdefs.h. */
13437 int L[4] = {0,1,2,3};
13439 main ()
13441 static int Array[3];
13442 unsigned int B = 3;
13443 int i;
13444 for(i=0; i<B; i++) Array[i] = i - 3;
13445 for(i=0; i<4 - 1; i++) L[i] = L[i + 1];
13446 L[i] = 4;
13447 return (Array[1] != -2 || L[2] != 3)
13449 return 0;
13451 _ACEOF
13452 if ac_fn_c_try_run "$LINENO"; then :
13453 ac_cv_c_gcc_strength_bug="no"
13454 else
13455 ac_cv_c_gcc_strength_bug="yes"
13457 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \
13458 conftest.$ac_objext conftest.beam conftest.$ac_ext
13462 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_gcc_strength_bug" >&5
13463 $as_echo "$ac_cv_c_gcc_strength_bug" >&6; }
13464 if test "$ac_cv_c_gcc_strength_bug" = "yes"
13465 then
13466 EXTRACFLAGS="$EXTRACFLAGS -fno-strength-reduce"
13469 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -fno-builtin" >&5
13470 $as_echo_n "checking whether the compiler supports -fno-builtin... " >&6; }
13471 if ${ac_cv_cflags__fno_builtin+:} false; then :
13472 $as_echo_n "(cached) " >&6
13473 else
13474 ac_wine_try_cflags_saved=$CFLAGS
13475 CFLAGS="$CFLAGS -fno-builtin"
13476 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13477 /* end confdefs.h. */
13478 int main(int argc, char **argv) { return 0; }
13479 _ACEOF
13480 if ac_fn_c_try_link "$LINENO"; then :
13481 ac_cv_cflags__fno_builtin=yes
13482 else
13483 ac_cv_cflags__fno_builtin=no
13485 rm -f core conftest.err conftest.$ac_objext \
13486 conftest$ac_exeext conftest.$ac_ext
13487 CFLAGS=$ac_wine_try_cflags_saved
13489 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__fno_builtin" >&5
13490 $as_echo "$ac_cv_cflags__fno_builtin" >&6; }
13491 if test "x$ac_cv_cflags__fno_builtin" = xyes; then :
13492 BUILTINFLAG="-fno-builtin"
13495 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -fno-strict-aliasing" >&5
13496 $as_echo_n "checking whether the compiler supports -fno-strict-aliasing... " >&6; }
13497 if ${ac_cv_cflags__fno_strict_aliasing+:} false; then :
13498 $as_echo_n "(cached) " >&6
13499 else
13500 ac_wine_try_cflags_saved=$CFLAGS
13501 CFLAGS="$CFLAGS -fno-strict-aliasing"
13502 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13503 /* end confdefs.h. */
13504 int main(int argc, char **argv) { return 0; }
13505 _ACEOF
13506 if ac_fn_c_try_link "$LINENO"; then :
13507 ac_cv_cflags__fno_strict_aliasing=yes
13508 else
13509 ac_cv_cflags__fno_strict_aliasing=no
13511 rm -f core conftest.err conftest.$ac_objext \
13512 conftest$ac_exeext conftest.$ac_ext
13513 CFLAGS=$ac_wine_try_cflags_saved
13515 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__fno_strict_aliasing" >&5
13516 $as_echo "$ac_cv_cflags__fno_strict_aliasing" >&6; }
13517 if test "x$ac_cv_cflags__fno_strict_aliasing" = xyes; then :
13518 EXTRACFLAGS="$EXTRACFLAGS -fno-strict-aliasing"
13520 saved_CFLAGS=$CFLAGS
13521 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Werror=unknown-warning-option" >&5
13522 $as_echo_n "checking whether the compiler supports -Werror=unknown-warning-option... " >&6; }
13523 if ${ac_cv_cflags__Werror_unknown_warning_option+:} false; then :
13524 $as_echo_n "(cached) " >&6
13525 else
13526 ac_wine_try_cflags_saved=$CFLAGS
13527 CFLAGS="$CFLAGS -Werror=unknown-warning-option"
13528 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13529 /* end confdefs.h. */
13530 int main(int argc, char **argv) { return 0; }
13531 _ACEOF
13532 if ac_fn_c_try_link "$LINENO"; then :
13533 ac_cv_cflags__Werror_unknown_warning_option=yes
13534 else
13535 ac_cv_cflags__Werror_unknown_warning_option=no
13537 rm -f core conftest.err conftest.$ac_objext \
13538 conftest$ac_exeext conftest.$ac_ext
13539 CFLAGS=$ac_wine_try_cflags_saved
13541 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Werror_unknown_warning_option" >&5
13542 $as_echo "$ac_cv_cflags__Werror_unknown_warning_option" >&6; }
13543 if test "x$ac_cv_cflags__Werror_unknown_warning_option" = xyes; then :
13544 CFLAGS="$CFLAGS -Werror=unknown-warning-option"
13546 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wdeclaration-after-statement" >&5
13547 $as_echo_n "checking whether the compiler supports -Wdeclaration-after-statement... " >&6; }
13548 if ${ac_cv_cflags__Wdeclaration_after_statement+:} false; then :
13549 $as_echo_n "(cached) " >&6
13550 else
13551 ac_wine_try_cflags_saved=$CFLAGS
13552 CFLAGS="$CFLAGS -Wdeclaration-after-statement"
13553 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13554 /* end confdefs.h. */
13555 int main(int argc, char **argv) { return 0; }
13556 _ACEOF
13557 if ac_fn_c_try_link "$LINENO"; then :
13558 ac_cv_cflags__Wdeclaration_after_statement=yes
13559 else
13560 ac_cv_cflags__Wdeclaration_after_statement=no
13562 rm -f core conftest.err conftest.$ac_objext \
13563 conftest$ac_exeext conftest.$ac_ext
13564 CFLAGS=$ac_wine_try_cflags_saved
13566 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wdeclaration_after_statement" >&5
13567 $as_echo "$ac_cv_cflags__Wdeclaration_after_statement" >&6; }
13568 if test "x$ac_cv_cflags__Wdeclaration_after_statement" = xyes; then :
13569 EXTRACFLAGS="$EXTRACFLAGS -Wdeclaration-after-statement"
13571 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wempty-body" >&5
13572 $as_echo_n "checking whether the compiler supports -Wempty-body... " >&6; }
13573 if ${ac_cv_cflags__Wempty_body+:} false; then :
13574 $as_echo_n "(cached) " >&6
13575 else
13576 ac_wine_try_cflags_saved=$CFLAGS
13577 CFLAGS="$CFLAGS -Wempty-body"
13578 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13579 /* end confdefs.h. */
13580 int main(int argc, char **argv) { return 0; }
13581 _ACEOF
13582 if ac_fn_c_try_link "$LINENO"; then :
13583 ac_cv_cflags__Wempty_body=yes
13584 else
13585 ac_cv_cflags__Wempty_body=no
13587 rm -f core conftest.err conftest.$ac_objext \
13588 conftest$ac_exeext conftest.$ac_ext
13589 CFLAGS=$ac_wine_try_cflags_saved
13591 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wempty_body" >&5
13592 $as_echo "$ac_cv_cflags__Wempty_body" >&6; }
13593 if test "x$ac_cv_cflags__Wempty_body" = xyes; then :
13594 EXTRACFLAGS="$EXTRACFLAGS -Wempty-body"
13596 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wignored-qualifiers" >&5
13597 $as_echo_n "checking whether the compiler supports -Wignored-qualifiers... " >&6; }
13598 if ${ac_cv_cflags__Wignored_qualifiers+:} false; then :
13599 $as_echo_n "(cached) " >&6
13600 else
13601 ac_wine_try_cflags_saved=$CFLAGS
13602 CFLAGS="$CFLAGS -Wignored-qualifiers"
13603 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13604 /* end confdefs.h. */
13605 int main(int argc, char **argv) { return 0; }
13606 _ACEOF
13607 if ac_fn_c_try_link "$LINENO"; then :
13608 ac_cv_cflags__Wignored_qualifiers=yes
13609 else
13610 ac_cv_cflags__Wignored_qualifiers=no
13612 rm -f core conftest.err conftest.$ac_objext \
13613 conftest$ac_exeext conftest.$ac_ext
13614 CFLAGS=$ac_wine_try_cflags_saved
13616 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wignored_qualifiers" >&5
13617 $as_echo "$ac_cv_cflags__Wignored_qualifiers" >&6; }
13618 if test "x$ac_cv_cflags__Wignored_qualifiers" = xyes; then :
13619 EXTRACFLAGS="$EXTRACFLAGS -Wignored-qualifiers"
13621 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wstrict-prototypes" >&5
13622 $as_echo_n "checking whether the compiler supports -Wstrict-prototypes... " >&6; }
13623 if ${ac_cv_cflags__Wstrict_prototypes+:} false; then :
13624 $as_echo_n "(cached) " >&6
13625 else
13626 ac_wine_try_cflags_saved=$CFLAGS
13627 CFLAGS="$CFLAGS -Wstrict-prototypes"
13628 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13629 /* end confdefs.h. */
13630 int main(int argc, char **argv) { return 0; }
13631 _ACEOF
13632 if ac_fn_c_try_link "$LINENO"; then :
13633 ac_cv_cflags__Wstrict_prototypes=yes
13634 else
13635 ac_cv_cflags__Wstrict_prototypes=no
13637 rm -f core conftest.err conftest.$ac_objext \
13638 conftest$ac_exeext conftest.$ac_ext
13639 CFLAGS=$ac_wine_try_cflags_saved
13641 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wstrict_prototypes" >&5
13642 $as_echo "$ac_cv_cflags__Wstrict_prototypes" >&6; }
13643 if test "x$ac_cv_cflags__Wstrict_prototypes" = xyes; then :
13644 EXTRACFLAGS="$EXTRACFLAGS -Wstrict-prototypes"
13646 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wtype-limits" >&5
13647 $as_echo_n "checking whether the compiler supports -Wtype-limits... " >&6; }
13648 if ${ac_cv_cflags__Wtype_limits+:} false; then :
13649 $as_echo_n "(cached) " >&6
13650 else
13651 ac_wine_try_cflags_saved=$CFLAGS
13652 CFLAGS="$CFLAGS -Wtype-limits"
13653 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13654 /* end confdefs.h. */
13655 int main(int argc, char **argv) { return 0; }
13656 _ACEOF
13657 if ac_fn_c_try_link "$LINENO"; then :
13658 ac_cv_cflags__Wtype_limits=yes
13659 else
13660 ac_cv_cflags__Wtype_limits=no
13662 rm -f core conftest.err conftest.$ac_objext \
13663 conftest$ac_exeext conftest.$ac_ext
13664 CFLAGS=$ac_wine_try_cflags_saved
13666 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wtype_limits" >&5
13667 $as_echo "$ac_cv_cflags__Wtype_limits" >&6; }
13668 if test "x$ac_cv_cflags__Wtype_limits" = xyes; then :
13669 EXTRACFLAGS="$EXTRACFLAGS -Wtype-limits"
13671 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wunused-but-set-parameter" >&5
13672 $as_echo_n "checking whether the compiler supports -Wunused-but-set-parameter... " >&6; }
13673 if ${ac_cv_cflags__Wunused_but_set_parameter+:} false; then :
13674 $as_echo_n "(cached) " >&6
13675 else
13676 ac_wine_try_cflags_saved=$CFLAGS
13677 CFLAGS="$CFLAGS -Wunused-but-set-parameter"
13678 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13679 /* end confdefs.h. */
13680 int main(int argc, char **argv) { return 0; }
13681 _ACEOF
13682 if ac_fn_c_try_link "$LINENO"; then :
13683 ac_cv_cflags__Wunused_but_set_parameter=yes
13684 else
13685 ac_cv_cflags__Wunused_but_set_parameter=no
13687 rm -f core conftest.err conftest.$ac_objext \
13688 conftest$ac_exeext conftest.$ac_ext
13689 CFLAGS=$ac_wine_try_cflags_saved
13691 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wunused_but_set_parameter" >&5
13692 $as_echo "$ac_cv_cflags__Wunused_but_set_parameter" >&6; }
13693 if test "x$ac_cv_cflags__Wunused_but_set_parameter" = xyes; then :
13694 EXTRACFLAGS="$EXTRACFLAGS -Wunused-but-set-parameter"
13696 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wwrite-strings" >&5
13697 $as_echo_n "checking whether the compiler supports -Wwrite-strings... " >&6; }
13698 if ${ac_cv_cflags__Wwrite_strings+:} false; then :
13699 $as_echo_n "(cached) " >&6
13700 else
13701 ac_wine_try_cflags_saved=$CFLAGS
13702 CFLAGS="$CFLAGS -Wwrite-strings"
13703 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13704 /* end confdefs.h. */
13705 int main(int argc, char **argv) { return 0; }
13706 _ACEOF
13707 if ac_fn_c_try_link "$LINENO"; then :
13708 ac_cv_cflags__Wwrite_strings=yes
13709 else
13710 ac_cv_cflags__Wwrite_strings=no
13712 rm -f core conftest.err conftest.$ac_objext \
13713 conftest$ac_exeext conftest.$ac_ext
13714 CFLAGS=$ac_wine_try_cflags_saved
13716 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wwrite_strings" >&5
13717 $as_echo "$ac_cv_cflags__Wwrite_strings" >&6; }
13718 if test "x$ac_cv_cflags__Wwrite_strings" = xyes; then :
13719 EXTRACFLAGS="$EXTRACFLAGS -Wwrite-strings"
13722 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wpointer-arith" >&5
13723 $as_echo_n "checking whether the compiler supports -Wpointer-arith... " >&6; }
13724 if ${ac_cv_cflags__Wpointer_arith+:} false; then :
13725 $as_echo_n "(cached) " >&6
13726 else
13727 ac_wine_try_cflags_saved=$CFLAGS
13728 CFLAGS="$CFLAGS -Wpointer-arith"
13729 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13730 /* end confdefs.h. */
13731 int main(int argc, char **argv) { return 0; }
13732 _ACEOF
13733 if ac_fn_c_try_link "$LINENO"; then :
13734 ac_cv_cflags__Wpointer_arith=yes
13735 else
13736 ac_cv_cflags__Wpointer_arith=no
13738 rm -f core conftest.err conftest.$ac_objext \
13739 conftest$ac_exeext conftest.$ac_ext
13740 CFLAGS=$ac_wine_try_cflags_saved
13742 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wpointer_arith" >&5
13743 $as_echo "$ac_cv_cflags__Wpointer_arith" >&6; }
13744 if test "x$ac_cv_cflags__Wpointer_arith" = xyes; then :
13745 saved_string_h_CFLAGS=$CFLAGS
13746 CFLAGS="$CFLAGS -Wpointer-arith -Werror"
13747 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for broken string.h that generates warnings with -Wpointer-arith" >&5
13748 $as_echo_n "checking for broken string.h that generates warnings with -Wpointer-arith... " >&6; }
13749 if ${ac_cv_c_string_h_warnings+:} false; then :
13750 $as_echo_n "(cached) " >&6
13751 else
13752 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13753 /* end confdefs.h. */
13754 #include <string.h>
13756 main ()
13760 return 0;
13762 _ACEOF
13763 if ac_fn_c_try_compile "$LINENO"; then :
13764 ac_cv_c_string_h_warnings=no
13765 else
13766 ac_cv_c_string_h_warnings=yes
13768 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
13770 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_string_h_warnings" >&5
13771 $as_echo "$ac_cv_c_string_h_warnings" >&6; }
13772 test "$ac_cv_c_string_h_warnings" = yes || EXTRACFLAGS="$EXTRACFLAGS -Wpointer-arith"
13773 CFLAGS=$saved_string_h_CFLAGS
13776 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wlogical-op" >&5
13777 $as_echo_n "checking whether the compiler supports -Wlogical-op... " >&6; }
13778 if ${ac_cv_cflags__Wlogical_op+:} false; then :
13779 $as_echo_n "(cached) " >&6
13780 else
13781 ac_wine_try_cflags_saved=$CFLAGS
13782 CFLAGS="$CFLAGS -Wlogical-op"
13783 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13784 /* end confdefs.h. */
13785 int main(int argc, char **argv) { return 0; }
13786 _ACEOF
13787 if ac_fn_c_try_link "$LINENO"; then :
13788 ac_cv_cflags__Wlogical_op=yes
13789 else
13790 ac_cv_cflags__Wlogical_op=no
13792 rm -f core conftest.err conftest.$ac_objext \
13793 conftest$ac_exeext conftest.$ac_ext
13794 CFLAGS=$ac_wine_try_cflags_saved
13796 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wlogical_op" >&5
13797 $as_echo "$ac_cv_cflags__Wlogical_op" >&6; }
13798 if test "x$ac_cv_cflags__Wlogical_op" = xyes; then :
13799 saved_string_h_CFLAGS=$CFLAGS
13800 CFLAGS="$CFLAGS -Wlogical-op -Werror"
13801 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for broken string.h that generates warnings with -Wlogical-op" >&5
13802 $as_echo_n "checking for broken string.h that generates warnings with -Wlogical-op... " >&6; }
13803 if ${ac_cv_c_logicalop_noisy+:} false; then :
13804 $as_echo_n "(cached) " >&6
13805 else
13806 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13807 /* end confdefs.h. */
13808 #include <string.h>
13809 char*f(const char *h,char n) {return strchr(h,n);}
13811 main ()
13815 return 0;
13817 _ACEOF
13818 if ac_fn_c_try_compile "$LINENO"; then :
13819 ac_cv_c_logicalop_noisy=no
13820 else
13821 ac_cv_c_logicalop_noisy=yes
13823 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
13825 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_logicalop_noisy" >&5
13826 $as_echo "$ac_cv_c_logicalop_noisy" >&6; }
13827 CFLAGS=$saved_string_h_CFLAGS
13828 test "$ac_cv_c_logicalop_noisy" = yes || EXTRACFLAGS="$EXTRACFLAGS -Wlogical-op"
13831 CFLAGS=$saved_CFLAGS
13833 for ac_flag in $CFLAGS; do
13834 case $ac_flag in
13835 -g) case $host_os in
13836 darwin*) { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -gstabs+" >&5
13837 $as_echo_n "checking whether the compiler supports -gstabs+... " >&6; }
13838 if ${ac_cv_cflags__gstabsp+:} false; then :
13839 $as_echo_n "(cached) " >&6
13840 else
13841 ac_wine_try_cflags_saved=$CFLAGS
13842 CFLAGS="$CFLAGS -gstabs+"
13843 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13844 /* end confdefs.h. */
13845 int main(int argc, char **argv) { return 0; }
13846 _ACEOF
13847 if ac_fn_c_try_link "$LINENO"; then :
13848 ac_cv_cflags__gstabsp=yes
13849 else
13850 ac_cv_cflags__gstabsp=no
13852 rm -f core conftest.err conftest.$ac_objext \
13853 conftest$ac_exeext conftest.$ac_ext
13854 CFLAGS=$ac_wine_try_cflags_saved
13856 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__gstabsp" >&5
13857 $as_echo "$ac_cv_cflags__gstabsp" >&6; }
13858 if test "x$ac_cv_cflags__gstabsp" = xyes; then :
13859 EXTRACFLAGS="$EXTRACFLAGS -gstabs+"
13860 fi ;;
13861 *) { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -gdwarf-2" >&5
13862 $as_echo_n "checking whether the compiler supports -gdwarf-2... " >&6; }
13863 if ${ac_cv_cflags__gdwarf_2+:} false; then :
13864 $as_echo_n "(cached) " >&6
13865 else
13866 ac_wine_try_cflags_saved=$CFLAGS
13867 CFLAGS="$CFLAGS -gdwarf-2"
13868 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13869 /* end confdefs.h. */
13870 int main(int argc, char **argv) { return 0; }
13871 _ACEOF
13872 if ac_fn_c_try_link "$LINENO"; then :
13873 ac_cv_cflags__gdwarf_2=yes
13874 else
13875 ac_cv_cflags__gdwarf_2=no
13877 rm -f core conftest.err conftest.$ac_objext \
13878 conftest$ac_exeext conftest.$ac_ext
13879 CFLAGS=$ac_wine_try_cflags_saved
13881 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__gdwarf_2" >&5
13882 $as_echo "$ac_cv_cflags__gdwarf_2" >&6; }
13883 if test "x$ac_cv_cflags__gdwarf_2" = xyes; then :
13884 EXTRACFLAGS="$EXTRACFLAGS -gdwarf-2"
13886 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -gstrict-dwarf" >&5
13887 $as_echo_n "checking whether the compiler supports -gstrict-dwarf... " >&6; }
13888 if ${ac_cv_cflags__gstrict_dwarf+:} false; then :
13889 $as_echo_n "(cached) " >&6
13890 else
13891 ac_wine_try_cflags_saved=$CFLAGS
13892 CFLAGS="$CFLAGS -gstrict-dwarf"
13893 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13894 /* end confdefs.h. */
13895 int main(int argc, char **argv) { return 0; }
13896 _ACEOF
13897 if ac_fn_c_try_link "$LINENO"; then :
13898 ac_cv_cflags__gstrict_dwarf=yes
13899 else
13900 ac_cv_cflags__gstrict_dwarf=no
13902 rm -f core conftest.err conftest.$ac_objext \
13903 conftest$ac_exeext conftest.$ac_ext
13904 CFLAGS=$ac_wine_try_cflags_saved
13906 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__gstrict_dwarf" >&5
13907 $as_echo "$ac_cv_cflags__gstrict_dwarf" >&6; }
13908 if test "x$ac_cv_cflags__gstrict_dwarf" = xyes; then :
13909 EXTRACFLAGS="$EXTRACFLAGS -gstrict-dwarf"
13910 fi ;;
13911 esac ;;
13912 esac
13913 done
13915 case $host_cpu in
13916 *i[3456789]86*) { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -fno-omit-frame-pointer" >&5
13917 $as_echo_n "checking whether the compiler supports -fno-omit-frame-pointer... " >&6; }
13918 if ${ac_cv_cflags__fno_omit_frame_pointer+:} false; then :
13919 $as_echo_n "(cached) " >&6
13920 else
13921 ac_wine_try_cflags_saved=$CFLAGS
13922 CFLAGS="$CFLAGS -fno-omit-frame-pointer"
13923 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13924 /* end confdefs.h. */
13925 int main(int argc, char **argv) { return 0; }
13926 _ACEOF
13927 if ac_fn_c_try_link "$LINENO"; then :
13928 ac_cv_cflags__fno_omit_frame_pointer=yes
13929 else
13930 ac_cv_cflags__fno_omit_frame_pointer=no
13932 rm -f core conftest.err conftest.$ac_objext \
13933 conftest$ac_exeext conftest.$ac_ext
13934 CFLAGS=$ac_wine_try_cflags_saved
13936 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__fno_omit_frame_pointer" >&5
13937 $as_echo "$ac_cv_cflags__fno_omit_frame_pointer" >&6; }
13938 if test "x$ac_cv_cflags__fno_omit_frame_pointer" = xyes; then :
13939 EXTRACFLAGS="$EXTRACFLAGS -fno-omit-frame-pointer"
13940 fi ;;
13941 esac
13943 case $host in
13944 x86_64-*mingw32*|x86_64-*cygwin*) { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wno-format" >&5
13945 $as_echo_n "checking whether the compiler supports -Wno-format... " >&6; }
13946 if ${ac_cv_cflags__Wno_format+:} false; then :
13947 $as_echo_n "(cached) " >&6
13948 else
13949 ac_wine_try_cflags_saved=$CFLAGS
13950 CFLAGS="$CFLAGS -Wno-format"
13951 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13952 /* end confdefs.h. */
13953 int main(int argc, char **argv) { return 0; }
13954 _ACEOF
13955 if ac_fn_c_try_link "$LINENO"; then :
13956 ac_cv_cflags__Wno_format=yes
13957 else
13958 ac_cv_cflags__Wno_format=no
13960 rm -f core conftest.err conftest.$ac_objext \
13961 conftest$ac_exeext conftest.$ac_ext
13962 CFLAGS=$ac_wine_try_cflags_saved
13964 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wno_format" >&5
13965 $as_echo "$ac_cv_cflags__Wno_format" >&6; }
13966 if test "x$ac_cv_cflags__Wno_format" = xyes; then :
13967 EXTRACFLAGS="$EXTRACFLAGS -Wno-format"
13968 fi ;;
13969 esac
13971 if test "x$enable_maintainer_mode" = "xyes"
13972 then
13973 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Werror" >&5
13974 $as_echo_n "checking whether the compiler supports -Werror... " >&6; }
13975 if ${ac_cv_cflags__Werror+:} false; then :
13976 $as_echo_n "(cached) " >&6
13977 else
13978 ac_wine_try_cflags_saved=$CFLAGS
13979 CFLAGS="$CFLAGS -Werror"
13980 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13981 /* end confdefs.h. */
13982 int main(int argc, char **argv) { return 0; }
13983 _ACEOF
13984 if ac_fn_c_try_link "$LINENO"; then :
13985 ac_cv_cflags__Werror=yes
13986 else
13987 ac_cv_cflags__Werror=no
13989 rm -f core conftest.err conftest.$ac_objext \
13990 conftest$ac_exeext conftest.$ac_ext
13991 CFLAGS=$ac_wine_try_cflags_saved
13993 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Werror" >&5
13994 $as_echo "$ac_cv_cflags__Werror" >&6; }
13995 if test "x$ac_cv_cflags__Werror" = xyes; then :
13996 EXTRACFLAGS="$EXTRACFLAGS -Werror"
14000 saved_CFLAGS="$CFLAGS"
14001 CFLAGS="$CFLAGS -Werror"
14002 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ms_hook_prologue attribute" >&5
14003 $as_echo_n "checking for ms_hook_prologue attribute... " >&6; }
14004 if ${ac_cv_have_ms_hook_prologue+:} false; then :
14005 $as_echo_n "(cached) " >&6
14006 else
14007 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14008 /* end confdefs.h. */
14009 int __attribute__((__ms_hook_prologue__)) test(void) { return 0; }
14011 main ()
14015 return 0;
14017 _ACEOF
14018 if ac_fn_c_try_compile "$LINENO"; then :
14019 ac_cv_have_ms_hook_prologue="yes"
14020 else
14021 ac_cv_have_ms_hook_prologue="no"
14023 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
14025 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_have_ms_hook_prologue" >&5
14026 $as_echo "$ac_cv_have_ms_hook_prologue" >&6; }
14027 CFLAGS="$saved_CFLAGS"
14028 if test "$ac_cv_have_ms_hook_prologue" = "yes"
14029 then
14031 $as_echo "#define DECLSPEC_HOTPATCH __attribute__((__ms_hook_prologue__))" >>confdefs.h
14033 else
14034 $as_echo "#define DECLSPEC_HOTPATCH /* */" >>confdefs.h
14040 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for the need to disable Fortify" >&5
14041 $as_echo_n "checking for the need to disable Fortify... " >&6; }
14042 if ${ac_cv_c_fortify_enabled+:} false; then :
14043 $as_echo_n "(cached) " >&6
14044 else
14045 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14046 /* end confdefs.h. */
14047 #include <string.h>
14049 main ()
14051 #if defined(__USE_FORTIFY_LEVEL) && __USE_FORTIFY_LEVEL > 0
14052 #error Fortify enabled
14053 #endif
14055 return 0;
14057 _ACEOF
14058 if ac_fn_c_try_compile "$LINENO"; then :
14059 ac_cv_c_fortify_enabled=no
14060 else
14061 ac_cv_c_fortify_enabled=yes
14063 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
14065 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_fortify_enabled" >&5
14066 $as_echo "$ac_cv_c_fortify_enabled" >&6; }
14067 if test "$ac_cv_c_fortify_enabled" = yes
14068 then
14069 CFLAGS="$CFLAGS -U_FORTIFY_SOURCE -D_FORTIFY_SOURCE=0"
14073 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether external symbols need an underscore prefix" >&5
14074 $as_echo_n "checking whether external symbols need an underscore prefix... " >&6; }
14075 if ${ac_cv_c_extern_prefix+:} false; then :
14076 $as_echo_n "(cached) " >&6
14077 else
14078 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14079 /* end confdefs.h. */
14080 extern int ac_test;
14082 main ()
14084 asm(".globl _ac_test\n_ac_test:\t.long 0"); if (ac_test) return 1
14086 return 0;
14088 _ACEOF
14089 if ac_fn_c_try_link "$LINENO"; then :
14090 ac_cv_c_extern_prefix="yes"
14091 else
14092 ac_cv_c_extern_prefix="no"
14094 rm -f core conftest.err conftest.$ac_objext \
14095 conftest$ac_exeext conftest.$ac_ext
14097 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_extern_prefix" >&5
14098 $as_echo "$ac_cv_c_extern_prefix" >&6; }
14100 case $host_cpu in
14101 *i[3456789]86*)
14102 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether external symbols need stdcall decoration" >&5
14103 $as_echo_n "checking whether external symbols need stdcall decoration... " >&6; }
14104 if ${ac_cv_c_stdcall_suffix+:} false; then :
14105 $as_echo_n "(cached) " >&6
14106 else
14107 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14108 /* end confdefs.h. */
14109 #ifndef _MSC_VER
14110 #define __stdcall __attribute__((__stdcall__))
14111 #endif
14112 int __stdcall ac_test(int i) { return i; }
14114 main ()
14116 asm("jmp _ac_test@4"); if (ac_test(1)) return 1
14118 return 0;
14120 _ACEOF
14121 if ac_fn_c_try_link "$LINENO"; then :
14122 ac_cv_c_stdcall_suffix="yes"
14123 else
14124 ac_cv_c_stdcall_suffix="no"
14126 rm -f core conftest.err conftest.$ac_objext \
14127 conftest$ac_exeext conftest.$ac_ext
14129 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_stdcall_suffix" >&5
14130 $as_echo "$ac_cv_c_stdcall_suffix" >&6; } ;;
14131 *) ac_cv_c_stdcall_suffix="no" ;;
14132 esac
14135 if test "$ac_cv_c_extern_prefix" = "yes"
14136 then
14137 $as_echo "#define __ASM_NAME(name) \"_\" name" >>confdefs.h
14139 asm_name_prefix="_"
14140 else
14141 $as_echo "#define __ASM_NAME(name) name" >>confdefs.h
14143 asm_name_prefix=""
14147 if test "$ac_cv_c_stdcall_suffix" = "yes"
14148 then
14149 $as_echo "#define __ASM_STDCALL(args) \"@\" #args" >>confdefs.h
14151 else
14152 $as_echo "#define __ASM_STDCALL(args) \"\"" >>confdefs.h
14157 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to define a function in assembly code" >&5
14158 $as_echo_n "checking how to define a function in assembly code... " >&6; }
14159 if ${ac_cv_asm_func_def+:} false; then :
14160 $as_echo_n "(cached) " >&6
14161 else
14162 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14163 /* end confdefs.h. */
14166 main ()
14168 asm("\t.globl _ac_test\n\t.def _ac_test; .scl 2; .type 32; .endef\n_ac_test:\t.long 0");
14170 return 0;
14172 _ACEOF
14173 if ac_fn_c_try_link "$LINENO"; then :
14174 ac_cv_asm_func_def=".def"
14175 else
14176 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14177 /* end confdefs.h. */
14180 main ()
14182 asm("\t.globl _ac_test\n\t.type _ac_test,@function\n_ac_test:\t.long 0");
14184 return 0;
14186 _ACEOF
14187 if ac_fn_c_try_link "$LINENO"; then :
14188 ac_cv_asm_func_def=".type @function"
14189 else
14190 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14191 /* end confdefs.h. */
14194 main ()
14196 asm("\t.globl _ac_test\n\t.type _ac_test,2\n_ac_test:\t.long 0");
14198 return 0;
14200 _ACEOF
14201 if ac_fn_c_try_link "$LINENO"; then :
14202 ac_cv_asm_func_def=".type 2"
14203 else
14204 ac_cv_asm_func_def="unknown"
14206 rm -f core conftest.err conftest.$ac_objext \
14207 conftest$ac_exeext conftest.$ac_ext
14209 rm -f core conftest.err conftest.$ac_objext \
14210 conftest$ac_exeext conftest.$ac_ext
14212 rm -f core conftest.err conftest.$ac_objext \
14213 conftest$ac_exeext conftest.$ac_ext
14215 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_asm_func_def" >&5
14216 $as_echo "$ac_cv_asm_func_def" >&6; }
14219 case "$ac_cv_asm_func_def" in
14220 ".def")
14221 $as_echo "#define __ASM_FUNC(name) \".def \" __ASM_NAME(name) \"; .scl 2; .type 32; .endef\"" >>confdefs.h
14223 asm_func_header=".def $asm_name_prefix\" #name suffix \"; .scl 2; .type 32; .endef" ;;
14224 ".type @function")
14225 $as_echo "#define __ASM_FUNC(name) \".type \" __ASM_NAME(name) \",@function\"" >>confdefs.h
14227 asm_func_header=".type $asm_name_prefix\" #name suffix \",@function" ;;
14228 ".type 2")
14229 $as_echo "#define __ASM_FUNC(name) \".type \" __ASM_NAME(name) \",2\"" >>confdefs.h
14231 asm_func_header=".type $asm_name_prefix\" #name suffix \",2" ;;
14233 $as_echo "#define __ASM_FUNC(name) \"\"" >>confdefs.h
14235 asm_func_header="" ;;
14236 esac
14238 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether asm() works outside of functions" >&5
14239 $as_echo_n "checking whether asm() works outside of functions... " >&6; }
14240 if ${ac_cv_c_asm_outside_funcs+:} false; then :
14241 $as_echo_n "(cached) " >&6
14242 else
14243 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14244 /* end confdefs.h. */
14245 asm(".text\n\t.long 0");
14247 main ()
14251 return 0;
14253 _ACEOF
14254 if ac_fn_c_try_compile "$LINENO"; then :
14255 ac_cv_c_asm_outside_funcs="yes"
14256 else
14257 ac_cv_c_asm_outside_funcs="no"
14259 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
14261 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_asm_outside_funcs" >&5
14262 $as_echo "$ac_cv_c_asm_outside_funcs" >&6; }
14264 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether .previous is supported in assembly code" >&5
14265 $as_echo_n "checking whether .previous is supported in assembly code... " >&6; }
14266 if ${ac_cv_c_dot_previous+:} false; then :
14267 $as_echo_n "(cached) " >&6
14268 else
14269 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14270 /* end confdefs.h. */
14273 main ()
14275 asm(".text\nac_test:\t.long 0\n\t.previous");
14277 return 0;
14279 _ACEOF
14280 if ac_fn_c_try_link "$LINENO"; then :
14281 ac_cv_c_dot_previous="yes"
14282 else
14283 ac_cv_c_dot_previous="no"
14285 rm -f core conftest.err conftest.$ac_objext \
14286 conftest$ac_exeext conftest.$ac_ext
14288 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_dot_previous" >&5
14289 $as_echo "$ac_cv_c_dot_previous" >&6; }
14291 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether CFI directives are supported in assembly code" >&5
14292 $as_echo_n "checking whether CFI directives are supported in assembly code... " >&6; }
14293 if ${ac_cv_c_cfi_support+:} false; then :
14294 $as_echo_n "(cached) " >&6
14295 else
14296 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14297 /* end confdefs.h. */
14298 asm(".text\nac_test:\t.cfi_startproc\n\t.long 0\n\t.cfi_endproc");
14300 main ()
14304 return 0;
14306 _ACEOF
14307 if ac_fn_c_try_compile "$LINENO"; then :
14308 ac_cv_c_cfi_support="yes"
14309 else
14310 ac_cv_c_cfi_support="no"
14312 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
14314 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_cfi_support" >&5
14315 $as_echo "$ac_cv_c_cfi_support" >&6; }
14317 asm_func_header=".globl $asm_name_prefix\" #name suffix \"\\n\\t$asm_func_header\\n$asm_name_prefix\" #name suffix \":\\n\\t"
14318 asm_func_trailer=""
14319 if test "$ac_cv_c_dot_previous" = "yes"
14320 then
14321 asm_func_trailer="\\n\\t.previous"
14323 if test "$ac_cv_c_cfi_support" = "yes"
14324 then
14325 asm_func_header="$asm_func_header.cfi_startproc\\n\\t"
14326 asm_func_trailer="\\n\\t.cfi_endproc$asm_func_trailer"
14328 $as_echo "#define __ASM_CFI(str) str" >>confdefs.h
14330 UNWINDFLAGS=-fasynchronous-unwind-tables
14332 else
14333 $as_echo "#define __ASM_CFI(str) \"\"" >>confdefs.h
14337 asm_func_code="$asm_func_header\" code \"$asm_func_trailer"
14340 if test "$ac_cv_c_asm_outside_funcs" = "yes"
14341 then
14342 cat >>confdefs.h <<_ACEOF
14343 #define __ASM_DEFINE_FUNC(name,suffix,code) asm(".text\n\t.align 4\n\t$asm_func_code");
14344 _ACEOF
14346 else
14347 cat >>confdefs.h <<_ACEOF
14348 #define __ASM_DEFINE_FUNC(name,suffix,code) void __asm_dummy_##name(void) { asm(".text\n\t.align 4\n\t$asm_func_code"); }
14349 _ACEOF
14353 $as_echo "#define __ASM_GLOBAL_FUNC(name,code) __ASM_DEFINE_FUNC(name,\"\",code)" >>confdefs.h
14356 $as_echo "#define __ASM_STDCALL_FUNC(name,args,code) __ASM_DEFINE_FUNC(name,__ASM_STDCALL(args),code)" >>confdefs.h
14360 case $build_os in
14361 cygwin*|mingw32*) TOOLSEXT=".exe"
14363 esac
14365 case $host_os in
14366 linux*)
14367 case $host_cpu in
14368 *i[3456789]86*|x86_64*)
14369 test "$wine_binary" = wine || wine_fn_ignore_file "loader/wine-preloader"
14370 loader_programs="$loader_programs $wine_binary-preloader"
14371 as_fn_append LOADER_RULES "
14372 $wine_binary-preloader: preloader.o
14373 \$(CC) -o \$@ -static -nostartfiles -nodefaultlibs -Wl,-Ttext=0x7c400000 preloader.o \$(LIBPORT) \$(LDFLAGS)
14375 install install-lib:: $wine_binary-preloader
14376 \$(INSTALL_PROGRAM) $wine_binary-preloader \$(DESTDIR)\$(bindir)/$wine_binary-preloader
14378 uninstall::
14379 \$(RM) \$(DESTDIR)\$(bindir)/$wine_binary-preloader
14381 preloader_EXTRADEFS = $BUILTINFLAG
14382 " ;;
14383 esac
14385 esac
14386 as_fn_append LOADER_RULES "
14387 PROGRAMS = $loader_programs
14391 ac_save_CFLAGS="$CFLAGS"
14392 CFLAGS="$CFLAGS $BUILTINFLAG"
14393 for ac_func in \
14394 __res_get_state \
14395 __res_getservers \
14396 _finite \
14397 _isnan \
14398 _pclose \
14399 _popen \
14400 _snprintf \
14401 _spawnvp \
14402 _strdup \
14403 _stricmp \
14404 _strnicmp \
14405 _strtoi64 \
14406 _strtoui64 \
14407 _vsnprintf \
14408 asctime_r \
14409 chsize \
14410 dlopen \
14411 epoll_create \
14412 ffs \
14413 fnmatch \
14414 fork \
14415 fpclass \
14416 fstatfs \
14417 fstatvfs \
14418 ftruncate \
14419 futimens \
14420 futimes \
14421 futimesat \
14422 getattrlist \
14423 getdirentries \
14424 getopt_long_only \
14425 getpwuid \
14426 gettimeofday \
14427 getuid \
14428 if_nameindex \
14429 kqueue \
14430 lstat \
14431 memmove \
14432 mmap \
14433 pclose \
14434 pipe2 \
14435 poll \
14436 popen \
14437 port_create \
14438 prctl \
14439 pread \
14440 proc_pidinfo \
14441 pwrite \
14442 readdir \
14443 readlink \
14444 sched_yield \
14445 select \
14446 setproctitle \
14447 setrlimit \
14448 settimeofday \
14449 sigaltstack \
14450 sigprocmask \
14451 snprintf \
14452 statfs \
14453 statvfs \
14454 strcasecmp \
14455 strdup \
14456 strerror \
14457 strncasecmp \
14458 strtold \
14459 strtoll \
14460 strtoull \
14461 symlink \
14462 tcdrain \
14463 thr_kill2 \
14464 timegm \
14465 usleep \
14466 vsnprintf
14468 do :
14469 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
14470 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
14471 if eval test \"x\$"$as_ac_var"\" = x"yes"; then :
14472 cat >>confdefs.h <<_ACEOF
14473 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
14474 _ACEOF
14477 done
14479 CFLAGS="$ac_save_CFLAGS"
14481 if test "$ac_cv_func_dlopen" = no
14482 then
14483 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dlopen in -ldl" >&5
14484 $as_echo_n "checking for dlopen in -ldl... " >&6; }
14485 if ${ac_cv_lib_dl_dlopen+:} false; then :
14486 $as_echo_n "(cached) " >&6
14487 else
14488 ac_check_lib_save_LIBS=$LIBS
14489 LIBS="-ldl $LIBS"
14490 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14491 /* end confdefs.h. */
14493 /* Override any GCC internal prototype to avoid an error.
14494 Use char because int might match the return type of a GCC
14495 builtin and then its argument prototype would still apply. */
14496 #ifdef __cplusplus
14497 extern "C"
14498 #endif
14499 char dlopen ();
14501 main ()
14503 return dlopen ();
14505 return 0;
14507 _ACEOF
14508 if ac_fn_c_try_link "$LINENO"; then :
14509 ac_cv_lib_dl_dlopen=yes
14510 else
14511 ac_cv_lib_dl_dlopen=no
14513 rm -f core conftest.err conftest.$ac_objext \
14514 conftest$ac_exeext conftest.$ac_ext
14515 LIBS=$ac_check_lib_save_LIBS
14517 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dl_dlopen" >&5
14518 $as_echo "$ac_cv_lib_dl_dlopen" >&6; }
14519 if test "x$ac_cv_lib_dl_dlopen" = xyes; then :
14520 $as_echo "#define HAVE_DLOPEN 1" >>confdefs.h
14521 DL_LIBS="-ldl"
14526 ac_wine_check_funcs_save_LIBS="$LIBS"
14527 LIBS="$LIBS $DL_LIBS"
14528 for ac_func in dladdr
14529 do :
14530 ac_fn_c_check_func "$LINENO" "dladdr" "ac_cv_func_dladdr"
14531 if test "x$ac_cv_func_dladdr" = xyes; then :
14532 cat >>confdefs.h <<_ACEOF
14533 #define HAVE_DLADDR 1
14534 _ACEOF
14537 done
14539 LIBS="$ac_wine_check_funcs_save_LIBS"
14541 if test "$ac_cv_func_poll" = no
14542 then
14543 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for poll in -lpoll" >&5
14544 $as_echo_n "checking for poll in -lpoll... " >&6; }
14545 if ${ac_cv_lib_poll_poll+:} false; then :
14546 $as_echo_n "(cached) " >&6
14547 else
14548 ac_check_lib_save_LIBS=$LIBS
14549 LIBS="-lpoll $LIBS"
14550 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14551 /* end confdefs.h. */
14553 /* Override any GCC internal prototype to avoid an error.
14554 Use char because int might match the return type of a GCC
14555 builtin and then its argument prototype would still apply. */
14556 #ifdef __cplusplus
14557 extern "C"
14558 #endif
14559 char poll ();
14561 main ()
14563 return poll ();
14565 return 0;
14567 _ACEOF
14568 if ac_fn_c_try_link "$LINENO"; then :
14569 ac_cv_lib_poll_poll=yes
14570 else
14571 ac_cv_lib_poll_poll=no
14573 rm -f core conftest.err conftest.$ac_objext \
14574 conftest$ac_exeext conftest.$ac_ext
14575 LIBS=$ac_check_lib_save_LIBS
14577 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_poll_poll" >&5
14578 $as_echo "$ac_cv_lib_poll_poll" >&6; }
14579 if test "x$ac_cv_lib_poll_poll" = xyes; then :
14580 $as_echo "#define HAVE_POLL 1" >>confdefs.h
14581 POLL_LIBS="-lpoll"
14587 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for library containing gethostbyname" >&5
14588 $as_echo_n "checking for library containing gethostbyname... " >&6; }
14589 if ${ac_cv_search_gethostbyname+:} false; then :
14590 $as_echo_n "(cached) " >&6
14591 else
14592 ac_func_search_save_LIBS=$LIBS
14593 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14594 /* end confdefs.h. */
14596 /* Override any GCC internal prototype to avoid an error.
14597 Use char because int might match the return type of a GCC
14598 builtin and then its argument prototype would still apply. */
14599 #ifdef __cplusplus
14600 extern "C"
14601 #endif
14602 char gethostbyname ();
14604 main ()
14606 return gethostbyname ();
14608 return 0;
14610 _ACEOF
14611 for ac_lib in '' nsl; do
14612 if test -z "$ac_lib"; then
14613 ac_res="none required"
14614 else
14615 ac_res=-l$ac_lib
14616 LIBS="-l$ac_lib $ac_func_search_save_LIBS"
14618 if ac_fn_c_try_link "$LINENO"; then :
14619 ac_cv_search_gethostbyname=$ac_res
14621 rm -f core conftest.err conftest.$ac_objext \
14622 conftest$ac_exeext
14623 if ${ac_cv_search_gethostbyname+:} false; then :
14624 break
14626 done
14627 if ${ac_cv_search_gethostbyname+:} false; then :
14629 else
14630 ac_cv_search_gethostbyname=no
14632 rm conftest.$ac_ext
14633 LIBS=$ac_func_search_save_LIBS
14635 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_search_gethostbyname" >&5
14636 $as_echo "$ac_cv_search_gethostbyname" >&6; }
14637 ac_res=$ac_cv_search_gethostbyname
14638 if test "$ac_res" != no; then :
14639 test "$ac_res" = "none required" || LIBS="$ac_res $LIBS"
14644 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for library containing connect" >&5
14645 $as_echo_n "checking for library containing connect... " >&6; }
14646 if ${ac_cv_search_connect+:} false; then :
14647 $as_echo_n "(cached) " >&6
14648 else
14649 ac_func_search_save_LIBS=$LIBS
14650 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14651 /* end confdefs.h. */
14653 /* Override any GCC internal prototype to avoid an error.
14654 Use char because int might match the return type of a GCC
14655 builtin and then its argument prototype would still apply. */
14656 #ifdef __cplusplus
14657 extern "C"
14658 #endif
14659 char connect ();
14661 main ()
14663 return connect ();
14665 return 0;
14667 _ACEOF
14668 for ac_lib in '' socket; do
14669 if test -z "$ac_lib"; then
14670 ac_res="none required"
14671 else
14672 ac_res=-l$ac_lib
14673 LIBS="-l$ac_lib $ac_func_search_save_LIBS"
14675 if ac_fn_c_try_link "$LINENO"; then :
14676 ac_cv_search_connect=$ac_res
14678 rm -f core conftest.err conftest.$ac_objext \
14679 conftest$ac_exeext
14680 if ${ac_cv_search_connect+:} false; then :
14681 break
14683 done
14684 if ${ac_cv_search_connect+:} false; then :
14686 else
14687 ac_cv_search_connect=no
14689 rm conftest.$ac_ext
14690 LIBS=$ac_func_search_save_LIBS
14692 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_search_connect" >&5
14693 $as_echo "$ac_cv_search_connect" >&6; }
14694 ac_res=$ac_cv_search_connect
14695 if test "$ac_res" != no; then :
14696 test "$ac_res" = "none required" || LIBS="$ac_res $LIBS"
14701 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for library containing inet_aton" >&5
14702 $as_echo_n "checking for library containing inet_aton... " >&6; }
14703 if ${ac_cv_search_inet_aton+:} false; then :
14704 $as_echo_n "(cached) " >&6
14705 else
14706 ac_func_search_save_LIBS=$LIBS
14707 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14708 /* end confdefs.h. */
14710 /* Override any GCC internal prototype to avoid an error.
14711 Use char because int might match the return type of a GCC
14712 builtin and then its argument prototype would still apply. */
14713 #ifdef __cplusplus
14714 extern "C"
14715 #endif
14716 char inet_aton ();
14718 main ()
14720 return inet_aton ();
14722 return 0;
14724 _ACEOF
14725 for ac_lib in '' resolv; do
14726 if test -z "$ac_lib"; then
14727 ac_res="none required"
14728 else
14729 ac_res=-l$ac_lib
14730 LIBS="-l$ac_lib $ac_func_search_save_LIBS"
14732 if ac_fn_c_try_link "$LINENO"; then :
14733 ac_cv_search_inet_aton=$ac_res
14735 rm -f core conftest.err conftest.$ac_objext \
14736 conftest$ac_exeext
14737 if ${ac_cv_search_inet_aton+:} false; then :
14738 break
14740 done
14741 if ${ac_cv_search_inet_aton+:} false; then :
14743 else
14744 ac_cv_search_inet_aton=no
14746 rm conftest.$ac_ext
14747 LIBS=$ac_func_search_save_LIBS
14749 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_search_inet_aton" >&5
14750 $as_echo "$ac_cv_search_inet_aton" >&6; }
14751 ac_res=$ac_cv_search_inet_aton
14752 if test "$ac_res" != no; then :
14753 test "$ac_res" = "none required" || LIBS="$ac_res $LIBS"
14758 for ac_func in \
14759 getaddrinfo \
14760 getnameinfo \
14761 getnetbyname \
14762 getprotobyname \
14763 getprotobynumber \
14764 getservbyport \
14765 inet_addr \
14766 inet_network \
14767 inet_ntop \
14768 inet_pton \
14769 sendmsg \
14770 socketpair \
14772 do :
14773 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
14774 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
14775 if eval test \"x\$"$as_ac_var"\" = x"yes"; then :
14776 cat >>confdefs.h <<_ACEOF
14777 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
14778 _ACEOF
14781 done
14784 ac_save_LIBS=$LIBS
14785 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for library containing clock_gettime" >&5
14786 $as_echo_n "checking for library containing clock_gettime... " >&6; }
14787 if ${ac_cv_search_clock_gettime+:} false; then :
14788 $as_echo_n "(cached) " >&6
14789 else
14790 ac_func_search_save_LIBS=$LIBS
14791 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14792 /* end confdefs.h. */
14794 /* Override any GCC internal prototype to avoid an error.
14795 Use char because int might match the return type of a GCC
14796 builtin and then its argument prototype would still apply. */
14797 #ifdef __cplusplus
14798 extern "C"
14799 #endif
14800 char clock_gettime ();
14802 main ()
14804 return clock_gettime ();
14806 return 0;
14808 _ACEOF
14809 for ac_lib in '' rt; do
14810 if test -z "$ac_lib"; then
14811 ac_res="none required"
14812 else
14813 ac_res=-l$ac_lib
14814 LIBS="-l$ac_lib $ac_func_search_save_LIBS"
14816 if ac_fn_c_try_link "$LINENO"; then :
14817 ac_cv_search_clock_gettime=$ac_res
14819 rm -f core conftest.err conftest.$ac_objext \
14820 conftest$ac_exeext
14821 if ${ac_cv_search_clock_gettime+:} false; then :
14822 break
14824 done
14825 if ${ac_cv_search_clock_gettime+:} false; then :
14827 else
14828 ac_cv_search_clock_gettime=no
14830 rm conftest.$ac_ext
14831 LIBS=$ac_func_search_save_LIBS
14833 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_search_clock_gettime" >&5
14834 $as_echo "$ac_cv_search_clock_gettime" >&6; }
14835 ac_res=$ac_cv_search_clock_gettime
14836 if test "$ac_res" != no; then :
14837 test "$ac_res" = "none required" || LIBS="$ac_res $LIBS"
14839 $as_echo "#define HAVE_CLOCK_GETTIME 1" >>confdefs.h
14841 test "$ac_res" = "none required" || RT_LIBS="$ac_res"
14845 LIBS=$ac_save_LIBS
14847 LDAP_LIBS=""
14849 if test "$ac_cv_header_ldap_h" = "yes" -a "$ac_cv_header_lber_h" = "yes"
14850 then
14851 ac_fn_c_check_type "$LINENO" "LDAPSortKey" "ac_cv_type_LDAPSortKey" "#include <ldap.h>
14853 if test "x$ac_cv_type_LDAPSortKey" = xyes; then :
14854 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ldap_initialize in -lldap_r" >&5
14855 $as_echo_n "checking for ldap_initialize in -lldap_r... " >&6; }
14856 if ${ac_cv_lib_ldap_r_ldap_initialize+:} false; then :
14857 $as_echo_n "(cached) " >&6
14858 else
14859 ac_check_lib_save_LIBS=$LIBS
14860 LIBS="-lldap_r $PTHREAD_LIBS $LIBS"
14861 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14862 /* end confdefs.h. */
14864 /* Override any GCC internal prototype to avoid an error.
14865 Use char because int might match the return type of a GCC
14866 builtin and then its argument prototype would still apply. */
14867 #ifdef __cplusplus
14868 extern "C"
14869 #endif
14870 char ldap_initialize ();
14872 main ()
14874 return ldap_initialize ();
14876 return 0;
14878 _ACEOF
14879 if ac_fn_c_try_link "$LINENO"; then :
14880 ac_cv_lib_ldap_r_ldap_initialize=yes
14881 else
14882 ac_cv_lib_ldap_r_ldap_initialize=no
14884 rm -f core conftest.err conftest.$ac_objext \
14885 conftest$ac_exeext conftest.$ac_ext
14886 LIBS=$ac_check_lib_save_LIBS
14888 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_ldap_r_ldap_initialize" >&5
14889 $as_echo "$ac_cv_lib_ldap_r_ldap_initialize" >&6; }
14890 if test "x$ac_cv_lib_ldap_r_ldap_initialize" = xyes; then :
14891 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ber_init in -llber" >&5
14892 $as_echo_n "checking for ber_init in -llber... " >&6; }
14893 if ${ac_cv_lib_lber_ber_init+:} false; then :
14894 $as_echo_n "(cached) " >&6
14895 else
14896 ac_check_lib_save_LIBS=$LIBS
14897 LIBS="-llber $PTHREAD_LIBS $LIBS"
14898 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14899 /* end confdefs.h. */
14901 /* Override any GCC internal prototype to avoid an error.
14902 Use char because int might match the return type of a GCC
14903 builtin and then its argument prototype would still apply. */
14904 #ifdef __cplusplus
14905 extern "C"
14906 #endif
14907 char ber_init ();
14909 main ()
14911 return ber_init ();
14913 return 0;
14915 _ACEOF
14916 if ac_fn_c_try_link "$LINENO"; then :
14917 ac_cv_lib_lber_ber_init=yes
14918 else
14919 ac_cv_lib_lber_ber_init=no
14921 rm -f core conftest.err conftest.$ac_objext \
14922 conftest$ac_exeext conftest.$ac_ext
14923 LIBS=$ac_check_lib_save_LIBS
14925 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_lber_ber_init" >&5
14926 $as_echo "$ac_cv_lib_lber_ber_init" >&6; }
14927 if test "x$ac_cv_lib_lber_ber_init" = xyes; then :
14929 $as_echo "#define HAVE_LDAP 1" >>confdefs.h
14931 LDAP_LIBS="-lldap_r -llber"
14938 ac_wine_check_funcs_save_LIBS="$LIBS"
14939 LIBS="$LIBS $LDAP_LIBS $PTHREAD_LIBS"
14940 for ac_func in \
14941 ldap_count_references \
14942 ldap_first_reference \
14943 ldap_next_reference \
14944 ldap_parse_reference \
14945 ldap_parse_sort_control \
14946 ldap_parse_sortresponse_control \
14947 ldap_parse_vlv_control \
14948 ldap_parse_vlvresponse_control
14949 do :
14950 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
14951 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
14952 if eval test \"x\$"$as_ac_var"\" = x"yes"; then :
14953 cat >>confdefs.h <<_ACEOF
14954 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
14955 _ACEOF
14958 done
14960 LIBS="$ac_wine_check_funcs_save_LIBS"
14962 if test "x$LDAP_LIBS" = "x"; then :
14963 case "x$with_ldap" in
14964 x) as_fn_append wine_notices "|libldap (OpenLDAP) ${notice_platform}development files not found, LDAP won't be supported." ;;
14965 xno) ;;
14966 *) as_fn_error $? "libldap (OpenLDAP) ${notice_platform}development files not found, LDAP won't be supported.
14967 This is an error since --with-ldap was requested." "$LINENO" 5 ;;
14968 esac
14971 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether mkdir takes only one argument" >&5
14972 $as_echo_n "checking whether mkdir takes only one argument... " >&6; }
14973 if ${wine_cv_one_arg_mkdir+:} false; then :
14974 $as_echo_n "(cached) " >&6
14975 else
14976 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14977 /* end confdefs.h. */
14978 #include <sys/stat.h>
14980 main ()
14982 mkdir("foo");
14984 return 0;
14986 _ACEOF
14987 if ac_fn_c_try_compile "$LINENO"; then :
14988 wine_cv_one_arg_mkdir=yes
14989 else
14990 wine_cv_one_arg_mkdir=no
14992 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
14994 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $wine_cv_one_arg_mkdir" >&5
14995 $as_echo "$wine_cv_one_arg_mkdir" >&6; }
14996 if test "$wine_cv_one_arg_mkdir" = "yes"
14997 then
14999 $as_echo "#define HAVE_ONE_ARG_MKDIR 1" >>confdefs.h
15003 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sched_setaffinity" >&5
15004 $as_echo_n "checking for sched_setaffinity... " >&6; }
15005 if ${wine_cv_have_sched_setaffinity+:} false; then :
15006 $as_echo_n "(cached) " >&6
15007 else
15008 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15009 /* end confdefs.h. */
15010 #define _GNU_SOURCE
15011 #include <sched.h>
15013 main ()
15015 sched_setaffinity(0, 0, 0);
15017 return 0;
15019 _ACEOF
15020 if ac_fn_c_try_link "$LINENO"; then :
15021 wine_cv_have_sched_setaffinity=yes
15022 else
15023 wine_cv_have_sched_setaffinity=no
15025 rm -f core conftest.err conftest.$ac_objext \
15026 conftest$ac_exeext conftest.$ac_ext
15028 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $wine_cv_have_sched_setaffinity" >&5
15029 $as_echo "$wine_cv_have_sched_setaffinity" >&6; }
15030 if test "$wine_cv_have_sched_setaffinity" = "yes"
15031 then
15033 $as_echo "#define HAVE_SCHED_SETAFFINITY 1" >>confdefs.h
15037 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for fallocate" >&5
15038 $as_echo_n "checking for fallocate... " >&6; }
15039 if ${wine_cv_have_fallocate+:} false; then :
15040 $as_echo_n "(cached) " >&6
15041 else
15042 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15043 /* end confdefs.h. */
15044 #define _GNU_SOURCE
15045 #include <fcntl.h>
15047 main ()
15049 fallocate(-1, 0, 0, 0);
15051 return 0;
15053 _ACEOF
15054 if ac_fn_c_try_link "$LINENO"; then :
15055 wine_cv_have_fallocate=yes
15056 else
15057 wine_cv_have_fallocate=no
15059 rm -f core conftest.err conftest.$ac_objext \
15060 conftest$ac_exeext conftest.$ac_ext
15062 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $wine_cv_have_fallocate" >&5
15063 $as_echo "$wine_cv_have_fallocate" >&6; }
15064 if test "$wine_cv_have_fallocate" = "yes"
15065 then
15067 $as_echo "#define HAVE_FALLOCATE 1" >>confdefs.h
15072 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for inline" >&5
15073 $as_echo_n "checking for inline... " >&6; }
15074 if ${ac_cv_c_inline+:} false; then :
15075 $as_echo_n "(cached) " >&6
15076 else
15077 ac_cv_c_inline=no
15078 for ac_kw in inline __inline__ __inline; do
15079 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15080 /* end confdefs.h. */
15081 #ifndef __cplusplus
15082 typedef int foo_t;
15083 static $ac_kw foo_t static_foo () {return 0; }
15084 $ac_kw foo_t foo () {return 0; }
15085 #endif
15087 _ACEOF
15088 if ac_fn_c_try_compile "$LINENO"; then :
15089 ac_cv_c_inline=$ac_kw
15091 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
15092 test "$ac_cv_c_inline" != no && break
15093 done
15096 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_inline" >&5
15097 $as_echo "$ac_cv_c_inline" >&6; }
15099 case $ac_cv_c_inline in
15100 inline | yes) ;;
15102 case $ac_cv_c_inline in
15103 no) ac_val=;;
15104 *) ac_val=$ac_cv_c_inline;;
15105 esac
15106 cat >>confdefs.h <<_ACEOF
15107 #ifndef __cplusplus
15108 #define inline $ac_val
15109 #endif
15110 _ACEOF
15112 esac
15114 ac_fn_c_check_type "$LINENO" "mode_t" "ac_cv_type_mode_t" "$ac_includes_default"
15115 if test "x$ac_cv_type_mode_t" = xyes; then :
15117 cat >>confdefs.h <<_ACEOF
15118 #define HAVE_MODE_T 1
15119 _ACEOF
15123 ac_fn_c_check_type "$LINENO" "off_t" "ac_cv_type_off_t" "$ac_includes_default"
15124 if test "x$ac_cv_type_off_t" = xyes; then :
15126 cat >>confdefs.h <<_ACEOF
15127 #define HAVE_OFF_T 1
15128 _ACEOF
15132 ac_fn_c_check_type "$LINENO" "pid_t" "ac_cv_type_pid_t" "$ac_includes_default"
15133 if test "x$ac_cv_type_pid_t" = xyes; then :
15135 cat >>confdefs.h <<_ACEOF
15136 #define HAVE_PID_T 1
15137 _ACEOF
15141 ac_fn_c_check_type "$LINENO" "size_t" "ac_cv_type_size_t" "$ac_includes_default"
15142 if test "x$ac_cv_type_size_t" = xyes; then :
15144 cat >>confdefs.h <<_ACEOF
15145 #define HAVE_SIZE_T 1
15146 _ACEOF
15150 ac_fn_c_check_type "$LINENO" "ssize_t" "ac_cv_type_ssize_t" "$ac_includes_default"
15151 if test "x$ac_cv_type_ssize_t" = xyes; then :
15153 cat >>confdefs.h <<_ACEOF
15154 #define HAVE_SSIZE_T 1
15155 _ACEOF
15159 ac_fn_c_check_type "$LINENO" "long long" "ac_cv_type_long_long" "$ac_includes_default"
15160 if test "x$ac_cv_type_long_long" = xyes; then :
15162 cat >>confdefs.h <<_ACEOF
15163 #define HAVE_LONG_LONG 1
15164 _ACEOF
15168 ac_fn_c_check_type "$LINENO" "fsblkcnt_t" "ac_cv_type_fsblkcnt_t" "$ac_includes_default"
15169 if test "x$ac_cv_type_fsblkcnt_t" = xyes; then :
15171 cat >>confdefs.h <<_ACEOF
15172 #define HAVE_FSBLKCNT_T 1
15173 _ACEOF
15177 ac_fn_c_check_type "$LINENO" "fsfilcnt_t" "ac_cv_type_fsfilcnt_t" "$ac_includes_default"
15178 if test "x$ac_cv_type_fsfilcnt_t" = xyes; then :
15180 cat >>confdefs.h <<_ACEOF
15181 #define HAVE_FSFILCNT_T 1
15182 _ACEOF
15187 ac_fn_c_check_type "$LINENO" "sigset_t" "ac_cv_type_sigset_t" "#include <sys/types.h>
15188 #include <signal.h>
15190 if test "x$ac_cv_type_sigset_t" = xyes; then :
15192 cat >>confdefs.h <<_ACEOF
15193 #define HAVE_SIGSET_T 1
15194 _ACEOF
15199 ac_fn_c_check_type "$LINENO" "request_sense" "ac_cv_type_request_sense" "#include <linux/cdrom.h>
15201 if test "x$ac_cv_type_request_sense" = xyes; then :
15203 cat >>confdefs.h <<_ACEOF
15204 #define HAVE_REQUEST_SENSE 1
15205 _ACEOF
15211 ac_fn_c_check_type "$LINENO" "struct xinpgen" "ac_cv_type_struct_xinpgen" "#include <sys/types.h>
15212 #ifdef HAVE_SYS_SOCKET_H
15213 #include <sys/socket.h>
15214 #endif
15215 #ifdef HAVE_SYS_SOCKETVAR_H
15216 #include <sys/socketvar.h>
15217 #endif
15218 #ifdef HAVE_NET_ROUTE_H
15219 #include <net/route.h>
15220 #endif
15221 #ifdef HAVE_NETINET_IN_H
15222 #include <netinet/in.h>
15223 #endif
15224 #ifdef HAVE_NETINET_IN_SYSTM_H
15225 #include <netinet/in_systm.h>
15226 #endif
15227 #ifdef HAVE_NETINET_IP_H
15228 #include <netinet/ip.h>
15229 #endif
15230 #ifdef HAVE_NETINET_IN_PCB_H
15231 #include <netinet/in_pcb.h>
15232 #endif
15234 if test "x$ac_cv_type_struct_xinpgen" = xyes; then :
15236 cat >>confdefs.h <<_ACEOF
15237 #define HAVE_STRUCT_XINPGEN 1
15238 _ACEOF
15244 ac_fn_c_check_type "$LINENO" "struct r_debug" "ac_cv_type_struct_r_debug" "#ifdef HAVE_LINK_H
15245 #include <link.h>
15246 #endif
15247 #ifdef HAVE_SYS_LINK_H
15248 #include <sys/link.h>
15249 #endif
15251 if test "x$ac_cv_type_struct_r_debug" = xyes; then :
15253 cat >>confdefs.h <<_ACEOF
15254 #define HAVE_STRUCT_R_DEBUG 1
15255 _ACEOF
15259 ac_fn_c_check_type "$LINENO" "struct link_map" "ac_cv_type_struct_link_map" "#ifdef HAVE_LINK_H
15260 #include <link.h>
15261 #endif
15262 #ifdef HAVE_SYS_LINK_H
15263 #include <sys/link.h>
15264 #endif
15266 if test "x$ac_cv_type_struct_link_map" = xyes; then :
15268 cat >>confdefs.h <<_ACEOF
15269 #define HAVE_STRUCT_LINK_MAP 1
15270 _ACEOF
15276 ac_fn_c_check_member "$LINENO" "struct ff_effect" "direction" "ac_cv_member_struct_ff_effect_direction" "#ifdef HAVE_LINUX_INPUT_H
15277 #include <linux/input.h>
15278 #endif
15280 if test "x$ac_cv_member_struct_ff_effect_direction" = xyes; then :
15282 cat >>confdefs.h <<_ACEOF
15283 #define HAVE_STRUCT_FF_EFFECT_DIRECTION 1
15284 _ACEOF
15290 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sigaddset" >&5
15291 $as_echo_n "checking for sigaddset... " >&6; }
15292 if ${wine_cv_have_sigaddset+:} false; then :
15293 $as_echo_n "(cached) " >&6
15294 else
15295 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15296 /* end confdefs.h. */
15297 #include <signal.h>
15299 main ()
15301 sigset_t set; sigaddset(&set,SIGTERM);
15303 return 0;
15305 _ACEOF
15306 if ac_fn_c_try_link "$LINENO"; then :
15307 wine_cv_have_sigaddset=yes
15308 else
15309 wine_cv_have_sigaddset=no
15311 rm -f core conftest.err conftest.$ac_objext \
15312 conftest$ac_exeext conftest.$ac_ext
15314 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $wine_cv_have_sigaddset" >&5
15315 $as_echo "$wine_cv_have_sigaddset" >&6; }
15316 if test "$wine_cv_have_sigaddset" = "yes"
15317 then
15319 $as_echo "#define HAVE_SIGADDSET 1" >>confdefs.h
15324 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we can use re-entrant gethostbyname_r Linux style" >&5
15325 $as_echo_n "checking whether we can use re-entrant gethostbyname_r Linux style... " >&6; }
15326 if ${wine_cv_linux_gethostbyname_r_6+:} false; then :
15327 $as_echo_n "(cached) " >&6
15328 else
15329 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15330 /* end confdefs.h. */
15331 #include <netdb.h>
15333 main ()
15336 char *name=0;
15337 struct hostent he;
15338 struct hostent *result;
15339 char *buf=0;
15340 int bufsize=0;
15341 int errnr;
15342 char *addr=0;
15343 int addrlen=0;
15344 int addrtype=0;
15345 gethostbyname_r(name,&he,buf,bufsize,&result,&errnr);
15346 gethostbyaddr_r(addr, addrlen, addrtype,&he,buf,bufsize,&result,&errnr);
15349 return 0;
15351 _ACEOF
15352 if ac_fn_c_try_link "$LINENO"; then :
15353 wine_cv_linux_gethostbyname_r_6=yes
15354 else
15355 wine_cv_linux_gethostbyname_r_6=no
15358 rm -f core conftest.err conftest.$ac_objext \
15359 conftest$ac_exeext conftest.$ac_ext
15362 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $wine_cv_linux_gethostbyname_r_6" >&5
15363 $as_echo "$wine_cv_linux_gethostbyname_r_6" >&6; }
15364 if test "$wine_cv_linux_gethostbyname_r_6" = "yes"
15365 then
15367 $as_echo "#define HAVE_LINUX_GETHOSTBYNAME_R_6 1" >>confdefs.h
15371 if test "$ac_cv_header_linux_joystick_h" = "yes"
15372 then
15373 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether linux/joystick.h uses the Linux 2.2+ API" >&5
15374 $as_echo_n "checking whether linux/joystick.h uses the Linux 2.2+ API... " >&6; }
15375 if ${wine_cv_linux_joystick_22_api+:} false; then :
15376 $as_echo_n "(cached) " >&6
15377 else
15378 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15379 /* end confdefs.h. */
15381 #include <sys/ioctl.h>
15382 #include <sys/types.h>
15383 #include <linux/joystick.h>
15385 struct js_event blub;
15386 #if !defined(JS_EVENT_AXIS) || !defined(JS_EVENT_BUTTON)
15387 #error "no 2.2 header"
15388 #endif
15391 main ()
15393 /*empty*/
15395 return 0;
15397 _ACEOF
15398 if ac_fn_c_try_compile "$LINENO"; then :
15399 wine_cv_linux_joystick_22_api=yes
15400 else
15401 wine_cv_linux_joystick_22_api=no
15403 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
15406 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $wine_cv_linux_joystick_22_api" >&5
15407 $as_echo "$wine_cv_linux_joystick_22_api" >&6; }
15408 if test "$wine_cv_linux_joystick_22_api" = "yes"
15409 then
15411 $as_echo "#define HAVE_LINUX_22_JOYSTICK_API 1" >>confdefs.h
15417 ac_fn_c_check_member "$LINENO" "struct statfs" "f_bfree" "ac_cv_member_struct_statfs_f_bfree" "#include <sys/types.h>
15418 #ifdef HAVE_SYS_PARAM_H
15419 # include <sys/param.h>
15420 #endif
15421 #ifdef HAVE_SYS_MOUNT_H
15422 # include <sys/mount.h>
15423 #endif
15424 #ifdef HAVE_SYS_VFS_H
15425 # include <sys/vfs.h>
15426 #endif
15427 #ifdef HAVE_SYS_STATFS_H
15428 # include <sys/statfs.h>
15429 #endif
15431 if test "x$ac_cv_member_struct_statfs_f_bfree" = xyes; then :
15433 cat >>confdefs.h <<_ACEOF
15434 #define HAVE_STRUCT_STATFS_F_BFREE 1
15435 _ACEOF
15439 ac_fn_c_check_member "$LINENO" "struct statfs" "f_bavail" "ac_cv_member_struct_statfs_f_bavail" "#include <sys/types.h>
15440 #ifdef HAVE_SYS_PARAM_H
15441 # include <sys/param.h>
15442 #endif
15443 #ifdef HAVE_SYS_MOUNT_H
15444 # include <sys/mount.h>
15445 #endif
15446 #ifdef HAVE_SYS_VFS_H
15447 # include <sys/vfs.h>
15448 #endif
15449 #ifdef HAVE_SYS_STATFS_H
15450 # include <sys/statfs.h>
15451 #endif
15453 if test "x$ac_cv_member_struct_statfs_f_bavail" = xyes; then :
15455 cat >>confdefs.h <<_ACEOF
15456 #define HAVE_STRUCT_STATFS_F_BAVAIL 1
15457 _ACEOF
15461 ac_fn_c_check_member "$LINENO" "struct statfs" "f_frsize" "ac_cv_member_struct_statfs_f_frsize" "#include <sys/types.h>
15462 #ifdef HAVE_SYS_PARAM_H
15463 # include <sys/param.h>
15464 #endif
15465 #ifdef HAVE_SYS_MOUNT_H
15466 # include <sys/mount.h>
15467 #endif
15468 #ifdef HAVE_SYS_VFS_H
15469 # include <sys/vfs.h>
15470 #endif
15471 #ifdef HAVE_SYS_STATFS_H
15472 # include <sys/statfs.h>
15473 #endif
15475 if test "x$ac_cv_member_struct_statfs_f_frsize" = xyes; then :
15477 cat >>confdefs.h <<_ACEOF
15478 #define HAVE_STRUCT_STATFS_F_FRSIZE 1
15479 _ACEOF
15483 ac_fn_c_check_member "$LINENO" "struct statfs" "f_ffree" "ac_cv_member_struct_statfs_f_ffree" "#include <sys/types.h>
15484 #ifdef HAVE_SYS_PARAM_H
15485 # include <sys/param.h>
15486 #endif
15487 #ifdef HAVE_SYS_MOUNT_H
15488 # include <sys/mount.h>
15489 #endif
15490 #ifdef HAVE_SYS_VFS_H
15491 # include <sys/vfs.h>
15492 #endif
15493 #ifdef HAVE_SYS_STATFS_H
15494 # include <sys/statfs.h>
15495 #endif
15497 if test "x$ac_cv_member_struct_statfs_f_ffree" = xyes; then :
15499 cat >>confdefs.h <<_ACEOF
15500 #define HAVE_STRUCT_STATFS_F_FFREE 1
15501 _ACEOF
15505 ac_fn_c_check_member "$LINENO" "struct statfs" "f_favail" "ac_cv_member_struct_statfs_f_favail" "#include <sys/types.h>
15506 #ifdef HAVE_SYS_PARAM_H
15507 # include <sys/param.h>
15508 #endif
15509 #ifdef HAVE_SYS_MOUNT_H
15510 # include <sys/mount.h>
15511 #endif
15512 #ifdef HAVE_SYS_VFS_H
15513 # include <sys/vfs.h>
15514 #endif
15515 #ifdef HAVE_SYS_STATFS_H
15516 # include <sys/statfs.h>
15517 #endif
15519 if test "x$ac_cv_member_struct_statfs_f_favail" = xyes; then :
15521 cat >>confdefs.h <<_ACEOF
15522 #define HAVE_STRUCT_STATFS_F_FAVAIL 1
15523 _ACEOF
15527 ac_fn_c_check_member "$LINENO" "struct statfs" "f_namelen" "ac_cv_member_struct_statfs_f_namelen" "#include <sys/types.h>
15528 #ifdef HAVE_SYS_PARAM_H
15529 # include <sys/param.h>
15530 #endif
15531 #ifdef HAVE_SYS_MOUNT_H
15532 # include <sys/mount.h>
15533 #endif
15534 #ifdef HAVE_SYS_VFS_H
15535 # include <sys/vfs.h>
15536 #endif
15537 #ifdef HAVE_SYS_STATFS_H
15538 # include <sys/statfs.h>
15539 #endif
15541 if test "x$ac_cv_member_struct_statfs_f_namelen" = xyes; then :
15543 cat >>confdefs.h <<_ACEOF
15544 #define HAVE_STRUCT_STATFS_F_NAMELEN 1
15545 _ACEOF
15551 ac_fn_c_check_member "$LINENO" "struct statvfs" "f_blocks" "ac_cv_member_struct_statvfs_f_blocks" "#ifdef HAVE_SYS_STATVFS_H
15552 #include <sys/statvfs.h>
15553 #endif
15555 if test "x$ac_cv_member_struct_statvfs_f_blocks" = xyes; then :
15557 cat >>confdefs.h <<_ACEOF
15558 #define HAVE_STRUCT_STATVFS_F_BLOCKS 1
15559 _ACEOF
15565 ac_fn_c_check_member "$LINENO" "struct dirent" "d_reclen" "ac_cv_member_struct_dirent_d_reclen" "#ifdef HAVE_DIRENT_H
15566 #include <dirent.h>
15567 #endif
15569 if test "x$ac_cv_member_struct_dirent_d_reclen" = xyes; then :
15571 cat >>confdefs.h <<_ACEOF
15572 #define HAVE_STRUCT_DIRENT_D_RECLEN 1
15573 _ACEOF
15579 ac_fn_c_check_member "$LINENO" "struct msghdr" "msg_accrights" "ac_cv_member_struct_msghdr_msg_accrights" "#include <sys/types.h>
15580 #ifdef HAVE_SYS_SOCKET_H
15581 # include <sys/socket.h>
15582 #endif
15583 #ifdef HAVE_SYS_UN_H
15584 # include <sys/un.h>
15585 #endif
15587 if test "x$ac_cv_member_struct_msghdr_msg_accrights" = xyes; then :
15589 cat >>confdefs.h <<_ACEOF
15590 #define HAVE_STRUCT_MSGHDR_MSG_ACCRIGHTS 1
15591 _ACEOF
15595 ac_fn_c_check_member "$LINENO" "struct sockaddr" "sa_len" "ac_cv_member_struct_sockaddr_sa_len" "#include <sys/types.h>
15596 #ifdef HAVE_SYS_SOCKET_H
15597 # include <sys/socket.h>
15598 #endif
15599 #ifdef HAVE_SYS_UN_H
15600 # include <sys/un.h>
15601 #endif
15603 if test "x$ac_cv_member_struct_sockaddr_sa_len" = xyes; then :
15605 cat >>confdefs.h <<_ACEOF
15606 #define HAVE_STRUCT_SOCKADDR_SA_LEN 1
15607 _ACEOF
15611 ac_fn_c_check_member "$LINENO" "struct sockaddr_un" "sun_len" "ac_cv_member_struct_sockaddr_un_sun_len" "#include <sys/types.h>
15612 #ifdef HAVE_SYS_SOCKET_H
15613 # include <sys/socket.h>
15614 #endif
15615 #ifdef HAVE_SYS_UN_H
15616 # include <sys/un.h>
15617 #endif
15619 if test "x$ac_cv_member_struct_sockaddr_un_sun_len" = xyes; then :
15621 cat >>confdefs.h <<_ACEOF
15622 #define HAVE_STRUCT_SOCKADDR_UN_SUN_LEN 1
15623 _ACEOF
15629 ac_fn_c_check_member "$LINENO" "scsireq_t" "cmd" "ac_cv_member_scsireq_t_cmd" "#include <sys/types.h>
15630 #ifdef HAVE_SCSI_SG_H
15631 #include <scsi/sg.h>
15632 #endif
15634 if test "x$ac_cv_member_scsireq_t_cmd" = xyes; then :
15636 cat >>confdefs.h <<_ACEOF
15637 #define HAVE_SCSIREQ_T_CMD 1
15638 _ACEOF
15642 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>
15643 #ifdef HAVE_SCSI_SG_H
15644 #include <scsi/sg.h>
15645 #endif
15647 if test "x$ac_cv_member_sg_io_hdr_t_interface_id" = xyes; then :
15649 cat >>confdefs.h <<_ACEOF
15650 #define HAVE_SG_IO_HDR_T_INTERFACE_ID 1
15651 _ACEOF
15657 ac_fn_c_check_member "$LINENO" "siginfo_t" "si_fd" "ac_cv_member_siginfo_t_si_fd" "#include <signal.h>
15659 if test "x$ac_cv_member_siginfo_t_si_fd" = xyes; then :
15661 cat >>confdefs.h <<_ACEOF
15662 #define HAVE_SIGINFO_T_SI_FD 1
15663 _ACEOF
15669 ac_fn_c_check_member "$LINENO" "struct mtget" "mt_blksiz" "ac_cv_member_struct_mtget_mt_blksiz" "#include <sys/types.h>
15670 #ifdef HAVE_SYS_MTIO_H
15671 #include <sys/mtio.h>
15672 #endif
15674 if test "x$ac_cv_member_struct_mtget_mt_blksiz" = xyes; then :
15676 cat >>confdefs.h <<_ACEOF
15677 #define HAVE_STRUCT_MTGET_MT_BLKSIZ 1
15678 _ACEOF
15682 ac_fn_c_check_member "$LINENO" "struct mtget" "mt_gstat" "ac_cv_member_struct_mtget_mt_gstat" "#include <sys/types.h>
15683 #ifdef HAVE_SYS_MTIO_H
15684 #include <sys/mtio.h>
15685 #endif
15687 if test "x$ac_cv_member_struct_mtget_mt_gstat" = xyes; then :
15689 cat >>confdefs.h <<_ACEOF
15690 #define HAVE_STRUCT_MTGET_MT_GSTAT 1
15691 _ACEOF
15695 ac_fn_c_check_member "$LINENO" "struct mtget" "mt_blkno" "ac_cv_member_struct_mtget_mt_blkno" "#include <sys/types.h>
15696 #ifdef HAVE_SYS_MTIO_H
15697 #include <sys/mtio.h>
15698 #endif
15700 if test "x$ac_cv_member_struct_mtget_mt_blkno" = xyes; then :
15702 cat >>confdefs.h <<_ACEOF
15703 #define HAVE_STRUCT_MTGET_MT_BLKNO 1
15704 _ACEOF
15710 ac_fn_c_check_member "$LINENO" "struct option" "name" "ac_cv_member_struct_option_name" "#ifdef HAVE_GETOPT_H
15711 #include <getopt.h>
15712 #endif
15714 if test "x$ac_cv_member_struct_option_name" = xyes; then :
15716 cat >>confdefs.h <<_ACEOF
15717 #define HAVE_STRUCT_OPTION_NAME 1
15718 _ACEOF
15724 ac_fn_c_check_member "$LINENO" "struct stat" "st_blocks" "ac_cv_member_struct_stat_st_blocks" "$ac_includes_default"
15725 if test "x$ac_cv_member_struct_stat_st_blocks" = xyes; then :
15727 cat >>confdefs.h <<_ACEOF
15728 #define HAVE_STRUCT_STAT_ST_BLOCKS 1
15729 _ACEOF
15733 ac_fn_c_check_member "$LINENO" "struct stat" "st_mtim" "ac_cv_member_struct_stat_st_mtim" "$ac_includes_default"
15734 if test "x$ac_cv_member_struct_stat_st_mtim" = xyes; then :
15736 cat >>confdefs.h <<_ACEOF
15737 #define HAVE_STRUCT_STAT_ST_MTIM 1
15738 _ACEOF
15742 ac_fn_c_check_member "$LINENO" "struct stat" "st_mtimespec" "ac_cv_member_struct_stat_st_mtimespec" "$ac_includes_default"
15743 if test "x$ac_cv_member_struct_stat_st_mtimespec" = xyes; then :
15745 cat >>confdefs.h <<_ACEOF
15746 #define HAVE_STRUCT_STAT_ST_MTIMESPEC 1
15747 _ACEOF
15751 ac_fn_c_check_member "$LINENO" "struct stat" "st_ctim" "ac_cv_member_struct_stat_st_ctim" "$ac_includes_default"
15752 if test "x$ac_cv_member_struct_stat_st_ctim" = xyes; then :
15754 cat >>confdefs.h <<_ACEOF
15755 #define HAVE_STRUCT_STAT_ST_CTIM 1
15756 _ACEOF
15760 ac_fn_c_check_member "$LINENO" "struct stat" "st_ctimespec" "ac_cv_member_struct_stat_st_ctimespec" "$ac_includes_default"
15761 if test "x$ac_cv_member_struct_stat_st_ctimespec" = xyes; then :
15763 cat >>confdefs.h <<_ACEOF
15764 #define HAVE_STRUCT_STAT_ST_CTIMESPEC 1
15765 _ACEOF
15769 ac_fn_c_check_member "$LINENO" "struct stat" "st_atim" "ac_cv_member_struct_stat_st_atim" "$ac_includes_default"
15770 if test "x$ac_cv_member_struct_stat_st_atim" = xyes; then :
15772 cat >>confdefs.h <<_ACEOF
15773 #define HAVE_STRUCT_STAT_ST_ATIM 1
15774 _ACEOF
15778 ac_fn_c_check_member "$LINENO" "struct stat" "st_atimespec" "ac_cv_member_struct_stat_st_atimespec" "$ac_includes_default"
15779 if test "x$ac_cv_member_struct_stat_st_atimespec" = xyes; then :
15781 cat >>confdefs.h <<_ACEOF
15782 #define HAVE_STRUCT_STAT_ST_ATIMESPEC 1
15783 _ACEOF
15787 ac_fn_c_check_member "$LINENO" "struct stat" "st_birthtime" "ac_cv_member_struct_stat_st_birthtime" "$ac_includes_default"
15788 if test "x$ac_cv_member_struct_stat_st_birthtime" = xyes; then :
15790 cat >>confdefs.h <<_ACEOF
15791 #define HAVE_STRUCT_STAT_ST_BIRTHTIME 1
15792 _ACEOF
15796 ac_fn_c_check_member "$LINENO" "struct stat" "st_birthtim" "ac_cv_member_struct_stat_st_birthtim" "$ac_includes_default"
15797 if test "x$ac_cv_member_struct_stat_st_birthtim" = xyes; then :
15799 cat >>confdefs.h <<_ACEOF
15800 #define HAVE_STRUCT_STAT_ST_BIRTHTIM 1
15801 _ACEOF
15805 ac_fn_c_check_member "$LINENO" "struct stat" "st_birthtimespec" "ac_cv_member_struct_stat_st_birthtimespec" "$ac_includes_default"
15806 if test "x$ac_cv_member_struct_stat_st_birthtimespec" = xyes; then :
15808 cat >>confdefs.h <<_ACEOF
15809 #define HAVE_STRUCT_STAT_ST_BIRTHTIMESPEC 1
15810 _ACEOF
15814 ac_fn_c_check_member "$LINENO" "struct stat" "__st_birthtime" "ac_cv_member_struct_stat___st_birthtime" "$ac_includes_default"
15815 if test "x$ac_cv_member_struct_stat___st_birthtime" = xyes; then :
15817 cat >>confdefs.h <<_ACEOF
15818 #define HAVE_STRUCT_STAT___ST_BIRTHTIME 1
15819 _ACEOF
15823 ac_fn_c_check_member "$LINENO" "struct stat" "__st_birthtim" "ac_cv_member_struct_stat___st_birthtim" "$ac_includes_default"
15824 if test "x$ac_cv_member_struct_stat___st_birthtim" = xyes; then :
15826 cat >>confdefs.h <<_ACEOF
15827 #define HAVE_STRUCT_STAT___ST_BIRTHTIM 1
15828 _ACEOF
15834 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
15835 #include <sys/types.h>
15836 #endif
15837 #ifdef HAVE_NETINET_IN_H
15838 #include <netinet/in.h>
15839 #endif
15841 if test "x$ac_cv_member_struct_sockaddr_in6_sin6_scope_id" = xyes; then :
15843 cat >>confdefs.h <<_ACEOF
15844 #define HAVE_STRUCT_SOCKADDR_IN6_SIN6_SCOPE_ID 1
15845 _ACEOF
15851 ac_fn_c_check_type "$LINENO" "struct __res_state" "ac_cv_type_struct___res_state" "#ifdef HAVE_RESOLV_H
15852 #include <resolv.h>
15853 #endif
15855 if test "x$ac_cv_type_struct___res_state" = xyes; then :
15857 cat >>confdefs.h <<_ACEOF
15858 #define HAVE_STRUCT___RES_STATE 1
15859 _ACEOF
15865 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
15866 #include <resolv.h>
15867 #endif
15869 if test "x$ac_cv_member_struct___res_state__u__ext_nscount6" = xyes; then :
15871 cat >>confdefs.h <<_ACEOF
15872 #define HAVE_STRUCT___RES_STATE__U__EXT_NSCOUNT6 1
15873 _ACEOF
15879 ac_fn_c_check_member "$LINENO" "ns_msg" "_msg_ptr" "ac_cv_member_ns_msg__msg_ptr" "#ifdef HAVE_SYS_TYPES_H
15880 #include <sys/types.h>
15881 #endif
15882 #ifdef HAVE_NETINET_IN_H
15883 # include <netinet/in.h>
15884 #endif
15885 #ifdef HAVE_ARPA_NAMESER_H
15886 # include <arpa/nameser.h>
15887 #endif
15889 if test "x$ac_cv_member_ns_msg__msg_ptr" = xyes; then :
15891 cat >>confdefs.h <<_ACEOF
15892 #define HAVE_NS_MSG__MSG_PTR 1
15893 _ACEOF
15899 ac_fn_c_check_member "$LINENO" "struct icmpstat" "icps_inhist" "ac_cv_member_struct_icmpstat_icps_inhist" "#ifdef HAVE_SYS_TYPES_H
15900 #include <sys/types.h>
15901 #endif
15902 #ifdef HAVE_NETINET_IP_H
15903 #include <netinet/ip.h>
15904 #endif
15905 #ifdef HAVE_NETINET_IP_ICMP_H
15906 #include <netinet/ip_icmp.h>
15907 #endif
15908 #ifdef HAVE_NETINET_ICMP_VAR_H
15909 #include <netinet/icmp_var.h>
15910 #endif
15912 if test "x$ac_cv_member_struct_icmpstat_icps_inhist" = xyes; then :
15914 cat >>confdefs.h <<_ACEOF
15915 #define HAVE_STRUCT_ICMPSTAT_ICPS_INHIST 1
15916 _ACEOF
15922 ac_fn_c_check_member "$LINENO" "struct icmpstat" "icps_outhist" "ac_cv_member_struct_icmpstat_icps_outhist" "#ifdef HAVE_SYS_TYPES_H
15923 #include <sys/types.h>
15924 #endif
15925 #ifdef HAVE_ALIAS_H
15926 #include <alias.h>
15927 #endif
15928 #ifdef HAVE_SYS_SOCKET_H
15929 #include <sys/socket.h>
15930 #endif
15931 #ifdef HAVE_SYS_SOCKETVAR_H
15932 #include <sys/socketvar.h>
15933 #endif
15934 #ifdef HAVE_SYS_TIMEOUT_H
15935 #include <sys/timeout.h>
15936 #endif
15937 #ifdef HAVE_NETINET_IN_H
15938 #include <netinet/in.h>
15939 #endif
15940 #ifdef HAVE_NETINET_IN_SYSTM_H
15941 #include <netinet/in_systm.h>
15942 #endif
15943 #ifdef HAVE_NETINET_IP_H
15944 #include <netinet/ip.h>
15945 #endif
15946 #ifdef HAVE_NETINET_IP_VAR_H
15947 #include <netinet/ip_var.h>
15948 #endif
15949 #ifdef HAVE_NETINET_IP_ICMP_H
15950 #include <netinet/ip_icmp.h>
15951 #endif
15952 #ifdef HAVE_NETINET_ICMP_VAR_H
15953 #include <netinet/icmp_var.h>
15954 #endif
15956 if test "x$ac_cv_member_struct_icmpstat_icps_outhist" = xyes; then :
15958 cat >>confdefs.h <<_ACEOF
15959 #define HAVE_STRUCT_ICMPSTAT_ICPS_OUTHIST 1
15960 _ACEOF
15966 ac_fn_c_check_member "$LINENO" "struct ipstat" "ips_total" "ac_cv_member_struct_ipstat_ips_total" "#ifdef HAVE_SYS_TYPES_H
15967 #include <sys/types.h>
15968 #endif
15969 #ifdef HAVE_SYS_SOCKETVAR_H
15970 #include <sys/socketvar.h>
15971 #endif
15972 #ifdef HAVE_NETINET_IN_H
15973 #include <netinet/in.h>
15974 #endif
15975 #ifdef HAVE_NETINET_IP_VAR_H
15976 #include <netinet/ip_var.h>
15977 #endif
15979 if test "x$ac_cv_member_struct_ipstat_ips_total" = xyes; then :
15981 cat >>confdefs.h <<_ACEOF
15982 #define HAVE_STRUCT_IPSTAT_IPS_TOTAL 1
15983 _ACEOF
15989 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
15990 #include <netinet/ip_var.h>
15991 #endif
15993 if test "x$ac_cv_member_struct_ip_stats_ips_total" = xyes; then :
15995 cat >>confdefs.h <<_ACEOF
15996 #define HAVE_STRUCT_IP_STATS_IPS_TOTAL 1
15997 _ACEOF
16003 ac_fn_c_check_member "$LINENO" "struct tcpstat" "tcps_connattempt" "ac_cv_member_struct_tcpstat_tcps_connattempt" "#ifdef HAVE_SYS_TYPES_H
16004 #include <sys/types.h>
16005 #endif
16006 #ifdef HAVE_SYS_SOCKETVAR_H
16007 #include <sys/socketvar.h>
16008 #endif
16009 #ifdef HAVE_NETINET_IN_H
16010 #include <netinet/in.h>
16011 #endif
16012 #ifdef HAVE_NETINET_TCP_H
16013 #include <netinet/tcp.h>
16014 #endif
16015 #ifdef HAVE_NETINET_TCP_VAR_H
16016 #include <netinet/tcp_var.h>
16017 #endif
16019 if test "x$ac_cv_member_struct_tcpstat_tcps_connattempt" = xyes; then :
16021 cat >>confdefs.h <<_ACEOF
16022 #define HAVE_STRUCT_TCPSTAT_TCPS_CONNATTEMPT 1
16023 _ACEOF
16029 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
16030 #include <netinet/tcp_var.h>
16031 #endif
16033 if test "x$ac_cv_member_struct_tcp_stats_tcps_connattempt" = xyes; then :
16035 cat >>confdefs.h <<_ACEOF
16036 #define HAVE_STRUCT_TCP_STATS_TCPS_CONNATTEMPT 1
16037 _ACEOF
16043 ac_fn_c_check_member "$LINENO" "struct udpstat" "udps_ipackets" "ac_cv_member_struct_udpstat_udps_ipackets" "#ifdef HAVE_SYS_TYPES_H
16044 #include <sys/types.h>
16045 #endif
16046 #ifdef HAVE_NETINET_IN_H
16047 #include <netinet/in.h>
16048 #endif
16049 #ifdef HAVE_NETINET_IP_VAR_H
16050 #include <netinet/ip_var.h>
16051 #endif
16052 #ifdef HAVE_NETINET_UDP_H
16053 #include <netinet/udp.h>
16054 #endif
16055 #ifdef HAVE_NETINET_UDP_VAR_H
16056 #include <netinet/udp_var.h>
16057 #endif
16059 if test "x$ac_cv_member_struct_udpstat_udps_ipackets" = xyes; then :
16061 cat >>confdefs.h <<_ACEOF
16062 #define HAVE_STRUCT_UDPSTAT_UDPS_IPACKETS 1
16063 _ACEOF
16069 ac_fn_c_check_member "$LINENO" "struct ifreq" "ifr_hwaddr" "ac_cv_member_struct_ifreq_ifr_hwaddr" "#ifdef HAVE_SYS_TYPES_H
16070 #include <sys/types.h>
16071 #endif
16072 #ifdef HAVE_NET_IF_H
16073 # include <net/if.h>
16074 #endif
16076 if test "x$ac_cv_member_struct_ifreq_ifr_hwaddr" = xyes; then :
16078 cat >>confdefs.h <<_ACEOF
16079 #define HAVE_STRUCT_IFREQ_IFR_HWADDR 1
16080 _ACEOF
16086 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for timezone variable" >&5
16087 $as_echo_n "checking for timezone variable... " >&6; }
16088 if ${ac_cv_have_timezone+:} false; then :
16089 $as_echo_n "(cached) " >&6
16090 else
16091 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
16092 /* end confdefs.h. */
16093 #include <time.h>
16095 main ()
16097 timezone = 1
16099 return 0;
16101 _ACEOF
16102 if ac_fn_c_try_link "$LINENO"; then :
16103 ac_cv_have_timezone="yes"
16104 else
16105 ac_cv_have_timezone="no"
16107 rm -f core conftest.err conftest.$ac_objext \
16108 conftest$ac_exeext conftest.$ac_ext
16110 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_have_timezone" >&5
16111 $as_echo "$ac_cv_have_timezone" >&6; }
16112 if test "$ac_cv_have_timezone" = "yes"
16113 then
16115 $as_echo "#define HAVE_TIMEZONE 1" >>confdefs.h
16118 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for daylight variable" >&5
16119 $as_echo_n "checking for daylight variable... " >&6; }
16120 if ${ac_cv_have_daylight+:} false; then :
16121 $as_echo_n "(cached) " >&6
16122 else
16123 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
16124 /* end confdefs.h. */
16125 #include <time.h>
16127 main ()
16129 daylight = 1
16131 return 0;
16133 _ACEOF
16134 if ac_fn_c_try_link "$LINENO"; then :
16135 ac_cv_have_daylight="yes"
16136 else
16137 ac_cv_have_daylight="no"
16139 rm -f core conftest.err conftest.$ac_objext \
16140 conftest$ac_exeext conftest.$ac_ext
16142 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_have_daylight" >&5
16143 $as_echo "$ac_cv_have_daylight" >&6; }
16144 if test "$ac_cv_have_daylight" = "yes"
16145 then
16147 $as_echo "#define HAVE_DAYLIGHT 1" >>confdefs.h
16151 ac_save_LIBS="$LIBS"
16152 LIBS="$LIBS -lm"
16153 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for isfinite" >&5
16154 $as_echo_n "checking for isfinite... " >&6; }
16155 if ${ac_cv_have_isfinite+:} false; then :
16156 $as_echo_n "(cached) " >&6
16157 else
16158 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
16159 /* end confdefs.h. */
16160 #define _GNU_SOURCE
16161 #include <math.h>
16163 main ()
16165 float f = 0.0; return isfinite(f)
16167 return 0;
16169 _ACEOF
16170 if ac_fn_c_try_link "$LINENO"; then :
16171 ac_cv_have_isfinite="yes"
16172 else
16173 ac_cv_have_isfinite="no"
16175 rm -f core conftest.err conftest.$ac_objext \
16176 conftest$ac_exeext conftest.$ac_ext
16178 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_have_isfinite" >&5
16179 $as_echo "$ac_cv_have_isfinite" >&6; }
16180 if test "$ac_cv_have_isfinite" = "yes"
16181 then
16183 $as_echo "#define HAVE_ISFINITE 1" >>confdefs.h
16187 ac_save_LIBS="$LIBS"
16188 LIBS="$LIBS -lm"
16189 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for isinf" >&5
16190 $as_echo_n "checking for isinf... " >&6; }
16191 if ${ac_cv_have_isinf+:} false; then :
16192 $as_echo_n "(cached) " >&6
16193 else
16194 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
16195 /* end confdefs.h. */
16196 #include <math.h>
16198 main ()
16200 float f = 0.0; return isinf(f)
16202 return 0;
16204 _ACEOF
16205 if ac_fn_c_try_link "$LINENO"; then :
16206 ac_cv_have_isinf="yes"
16207 else
16208 ac_cv_have_isinf="no"
16210 rm -f core conftest.err conftest.$ac_objext \
16211 conftest$ac_exeext conftest.$ac_ext
16213 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_have_isinf" >&5
16214 $as_echo "$ac_cv_have_isinf" >&6; }
16215 if test "$ac_cv_have_isinf" = "yes"
16216 then
16218 $as_echo "#define HAVE_ISINF 1" >>confdefs.h
16222 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for isnan" >&5
16223 $as_echo_n "checking for isnan... " >&6; }
16224 if ${ac_cv_have_isnan+:} false; then :
16225 $as_echo_n "(cached) " >&6
16226 else
16227 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
16228 /* end confdefs.h. */
16229 #include <math.h>
16231 main ()
16233 float f = 0.0; return isnan(f)
16235 return 0;
16237 _ACEOF
16238 if ac_fn_c_try_link "$LINENO"; then :
16239 ac_cv_have_isnan="yes"
16240 else
16241 ac_cv_have_isnan="no"
16243 rm -f core conftest.err conftest.$ac_objext \
16244 conftest$ac_exeext conftest.$ac_ext
16246 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_have_isnan" >&5
16247 $as_echo "$ac_cv_have_isnan" >&6; }
16248 if test "$ac_cv_have_isnan" = "yes"
16249 then
16251 $as_echo "#define HAVE_ISNAN 1" >>confdefs.h
16254 LIBS="$ac_save_LIBS"
16257 case $host_cpu in
16258 *i[3456789]86*) { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we need to define __i386__" >&5
16259 $as_echo_n "checking whether we need to define __i386__... " >&6; }
16260 if ${ac_cv_cpp_def___i386__+:} false; then :
16261 $as_echo_n "(cached) " >&6
16262 else
16263 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
16264 /* end confdefs.h. */
16265 #ifndef __i386__
16267 #endif
16268 _ACEOF
16269 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
16270 $EGREP "yes" >/dev/null 2>&1; then :
16271 ac_cv_cpp_def___i386__=yes
16272 else
16273 ac_cv_cpp_def___i386__=no
16275 rm -f conftest*
16278 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cpp_def___i386__" >&5
16279 $as_echo "$ac_cv_cpp_def___i386__" >&6; }
16280 if test "x$ac_cv_cpp_def___i386__" = xyes; then :
16281 CFLAGS="$CFLAGS -D__i386__"
16282 LINTFLAGS="$LINTFLAGS -D__i386__"
16283 fi ;;
16284 *x86_64*) { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we need to define __x86_64__" >&5
16285 $as_echo_n "checking whether we need to define __x86_64__... " >&6; }
16286 if ${ac_cv_cpp_def___x86_64__+:} false; then :
16287 $as_echo_n "(cached) " >&6
16288 else
16289 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
16290 /* end confdefs.h. */
16291 #ifndef __x86_64__
16293 #endif
16294 _ACEOF
16295 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
16296 $EGREP "yes" >/dev/null 2>&1; then :
16297 ac_cv_cpp_def___x86_64__=yes
16298 else
16299 ac_cv_cpp_def___x86_64__=no
16301 rm -f conftest*
16304 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cpp_def___x86_64__" >&5
16305 $as_echo "$ac_cv_cpp_def___x86_64__" >&6; }
16306 if test "x$ac_cv_cpp_def___x86_64__" = xyes; then :
16307 CFLAGS="$CFLAGS -D__x86_64__"
16308 LINTFLAGS="$LINTFLAGS -D__x86_64__"
16309 fi ;;
16310 *sparc64*) { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we need to define __sparc64__" >&5
16311 $as_echo_n "checking whether we need to define __sparc64__... " >&6; }
16312 if ${ac_cv_cpp_def___sparc64__+:} false; then :
16313 $as_echo_n "(cached) " >&6
16314 else
16315 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
16316 /* end confdefs.h. */
16317 #ifndef __sparc64__
16319 #endif
16320 _ACEOF
16321 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
16322 $EGREP "yes" >/dev/null 2>&1; then :
16323 ac_cv_cpp_def___sparc64__=yes
16324 else
16325 ac_cv_cpp_def___sparc64__=no
16327 rm -f conftest*
16330 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cpp_def___sparc64__" >&5
16331 $as_echo "$ac_cv_cpp_def___sparc64__" >&6; }
16332 if test "x$ac_cv_cpp_def___sparc64__" = xyes; then :
16333 CFLAGS="$CFLAGS -D__sparc64__"
16334 LINTFLAGS="$LINTFLAGS -D__sparc64__"
16335 fi ;;
16336 *sparc*) { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we need to define __sparc__" >&5
16337 $as_echo_n "checking whether we need to define __sparc__... " >&6; }
16338 if ${ac_cv_cpp_def___sparc__+:} false; then :
16339 $as_echo_n "(cached) " >&6
16340 else
16341 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
16342 /* end confdefs.h. */
16343 #ifndef __sparc__
16345 #endif
16346 _ACEOF
16347 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
16348 $EGREP "yes" >/dev/null 2>&1; then :
16349 ac_cv_cpp_def___sparc__=yes
16350 else
16351 ac_cv_cpp_def___sparc__=no
16353 rm -f conftest*
16356 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cpp_def___sparc__" >&5
16357 $as_echo "$ac_cv_cpp_def___sparc__" >&6; }
16358 if test "x$ac_cv_cpp_def___sparc__" = xyes; then :
16359 CFLAGS="$CFLAGS -D__sparc__"
16360 LINTFLAGS="$LINTFLAGS -D__sparc__"
16361 fi ;;
16362 *powerpc64*) { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we need to define __powerpc64__" >&5
16363 $as_echo_n "checking whether we need to define __powerpc64__... " >&6; }
16364 if ${ac_cv_cpp_def___powerpc64__+:} false; then :
16365 $as_echo_n "(cached) " >&6
16366 else
16367 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
16368 /* end confdefs.h. */
16369 #ifndef __powerpc64__
16371 #endif
16372 _ACEOF
16373 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
16374 $EGREP "yes" >/dev/null 2>&1; then :
16375 ac_cv_cpp_def___powerpc64__=yes
16376 else
16377 ac_cv_cpp_def___powerpc64__=no
16379 rm -f conftest*
16382 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cpp_def___powerpc64__" >&5
16383 $as_echo "$ac_cv_cpp_def___powerpc64__" >&6; }
16384 if test "x$ac_cv_cpp_def___powerpc64__" = xyes; then :
16385 CFLAGS="$CFLAGS -D__powerpc64__"
16386 LINTFLAGS="$LINTFLAGS -D__powerpc64__"
16387 fi ;;
16388 *powerpc*) { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we need to define __powerpc__" >&5
16389 $as_echo_n "checking whether we need to define __powerpc__... " >&6; }
16390 if ${ac_cv_cpp_def___powerpc__+:} false; then :
16391 $as_echo_n "(cached) " >&6
16392 else
16393 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
16394 /* end confdefs.h. */
16395 #ifndef __powerpc__
16397 #endif
16398 _ACEOF
16399 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
16400 $EGREP "yes" >/dev/null 2>&1; then :
16401 ac_cv_cpp_def___powerpc__=yes
16402 else
16403 ac_cv_cpp_def___powerpc__=no
16405 rm -f conftest*
16408 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cpp_def___powerpc__" >&5
16409 $as_echo "$ac_cv_cpp_def___powerpc__" >&6; }
16410 if test "x$ac_cv_cpp_def___powerpc__" = xyes; then :
16411 CFLAGS="$CFLAGS -D__powerpc__"
16412 LINTFLAGS="$LINTFLAGS -D__powerpc__"
16413 fi ;;
16414 *aarch64*) { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we need to define __aarch64__" >&5
16415 $as_echo_n "checking whether we need to define __aarch64__... " >&6; }
16416 if ${ac_cv_cpp_def___aarch64__+:} false; then :
16417 $as_echo_n "(cached) " >&6
16418 else
16419 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
16420 /* end confdefs.h. */
16421 #ifndef __aarch64__
16423 #endif
16424 _ACEOF
16425 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
16426 $EGREP "yes" >/dev/null 2>&1; then :
16427 ac_cv_cpp_def___aarch64__=yes
16428 else
16429 ac_cv_cpp_def___aarch64__=no
16431 rm -f conftest*
16434 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cpp_def___aarch64__" >&5
16435 $as_echo "$ac_cv_cpp_def___aarch64__" >&6; }
16436 if test "x$ac_cv_cpp_def___aarch64__" = xyes; then :
16437 CFLAGS="$CFLAGS -D__aarch64__"
16438 LINTFLAGS="$LINTFLAGS -D__aarch64__"
16439 fi ;;
16440 *arm*) { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we need to define __arm__" >&5
16441 $as_echo_n "checking whether we need to define __arm__... " >&6; }
16442 if ${ac_cv_cpp_def___arm__+:} false; then :
16443 $as_echo_n "(cached) " >&6
16444 else
16445 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
16446 /* end confdefs.h. */
16447 #ifndef __arm__
16449 #endif
16450 _ACEOF
16451 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
16452 $EGREP "yes" >/dev/null 2>&1; then :
16453 ac_cv_cpp_def___arm__=yes
16454 else
16455 ac_cv_cpp_def___arm__=no
16457 rm -f conftest*
16460 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cpp_def___arm__" >&5
16461 $as_echo "$ac_cv_cpp_def___arm__" >&6; }
16462 if test "x$ac_cv_cpp_def___arm__" = xyes; then :
16463 CFLAGS="$CFLAGS -D__arm__"
16464 LINTFLAGS="$LINTFLAGS -D__arm__"
16465 fi ;;
16466 esac
16468 case $host_vendor in
16469 *sun*) { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we need to define __sun__" >&5
16470 $as_echo_n "checking whether we need to define __sun__... " >&6; }
16471 if ${ac_cv_cpp_def___sun__+:} false; then :
16472 $as_echo_n "(cached) " >&6
16473 else
16474 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
16475 /* end confdefs.h. */
16476 #ifndef __sun__
16478 #endif
16479 _ACEOF
16480 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
16481 $EGREP "yes" >/dev/null 2>&1; then :
16482 ac_cv_cpp_def___sun__=yes
16483 else
16484 ac_cv_cpp_def___sun__=no
16486 rm -f conftest*
16489 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cpp_def___sun__" >&5
16490 $as_echo "$ac_cv_cpp_def___sun__" >&6; }
16491 if test "x$ac_cv_cpp_def___sun__" = xyes; then :
16492 CFLAGS="$CFLAGS -D__sun__"
16493 LINTFLAGS="$LINTFLAGS -D__sun__"
16494 fi ;;
16495 esac
16501 ac_config_commands="$ac_config_commands include/stamp-h"
16503 $as_echo_n "creating Makefile rules..." >&6
16505 ALL_VARS_RULES="OPENGL_LIBS = $OPENGL_LIBS
16506 SOCKET_LIBS = $SOCKET_LIBS
16507 COREFOUNDATION_LIBS = $COREFOUNDATION_LIBS
16508 IOKIT_LIBS = $IOKIT_LIBS
16509 FORCEFEEDBACK_LIBS = $FORCEFEEDBACK_LIBS
16510 APPLICATIONSERVICES_LIBS = $APPLICATIONSERVICES_LIBS
16511 CORESERVICES_LIBS = $CORESERVICES_LIBS
16512 APPKIT_LIBS = $APPKIT_LIBS
16513 DISKARBITRATION_LIBS = $DISKARBITRATION_LIBS
16514 SECURITY_LIBS = $SECURITY_LIBS
16515 COREAUDIO_LIBS = $COREAUDIO_LIBS
16516 OPENAL_LIBS = $OPENAL_LIBS
16517 OPENCL_LIBS = $OPENCL_LIBS
16518 QUICKTIME_LIBS = $QUICKTIME_LIBS
16519 CARBON_LIBS = $CARBON_LIBS
16520 PTHREAD_LIBS = $PTHREAD_LIBS
16521 X_CFLAGS = $X_CFLAGS
16522 X_PRE_LIBS = $X_PRE_LIBS
16523 X_LIBS = $X_LIBS
16524 X_EXTRA_LIBS = $X_EXTRA_LIBS
16525 XML2_CFLAGS = $XML2_CFLAGS
16526 XML2_LIBS = $XML2_LIBS
16527 XSLT_CFLAGS = $XSLT_CFLAGS
16528 XSLT_LIBS = $XSLT_LIBS
16529 DBUS_CFLAGS = $DBUS_CFLAGS
16530 DBUS_LIBS = $DBUS_LIBS
16531 HAL_CFLAGS = $HAL_CFLAGS
16532 HAL_LIBS = $HAL_LIBS
16533 GNUTLS_CFLAGS = $GNUTLS_CFLAGS
16534 GNUTLS_LIBS = $GNUTLS_LIBS
16535 SANE_CFLAGS = $SANE_CFLAGS
16536 SANE_LIBS = $SANE_LIBS
16537 GPHOTO2_CFLAGS = $GPHOTO2_CFLAGS
16538 GPHOTO2_LIBS = $GPHOTO2_LIBS
16539 GPHOTO2_PORT_CFLAGS = $GPHOTO2_PORT_CFLAGS
16540 GPHOTO2_PORT_LIBS = $GPHOTO2_PORT_LIBS
16541 RESOLV_LIBS = $RESOLV_LIBS
16542 LCMS2_CFLAGS = $LCMS2_CFLAGS
16543 LCMS2_LIBS = $LCMS2_LIBS
16544 FREETYPE_CFLAGS = $FREETYPE_CFLAGS
16545 FREETYPE_LIBS = $FREETYPE_LIBS
16546 Z_LIBS = $Z_LIBS
16547 GETTEXTPO_LIBS = $GETTEXTPO_LIBS
16548 GSTREAMER_CFLAGS = $GSTREAMER_CFLAGS
16549 GSTREAMER_LIBS = $GSTREAMER_LIBS
16550 ALSA_LIBS = $ALSA_LIBS
16551 OSS4_CFLAGS = $OSS4_CFLAGS
16552 CAPI20_CFLAGS = $CAPI20_CFLAGS
16553 CAPI20_LIBS = $CAPI20_LIBS
16554 CUPS_CFLAGS = $CUPS_CFLAGS
16555 FONTCONFIG_CFLAGS = $FONTCONFIG_CFLAGS
16556 FONTCONFIG_LIBS = $FONTCONFIG_LIBS
16557 JPEG_CFLAGS = $JPEG_CFLAGS
16558 JPEG_LIBS = $JPEG_LIBS
16559 PNG_CFLAGS = $PNG_CFLAGS
16560 PNG_LIBS = $PNG_LIBS
16561 TIFF_CFLAGS = $TIFF_CFLAGS
16562 TIFF_LIBS = $TIFF_LIBS
16563 MPG123_CFLAGS = $MPG123_CFLAGS
16564 MPG123_LIBS = $MPG123_LIBS
16565 KSTAT_LIBS = $KSTAT_LIBS
16566 PROCSTAT_LIBS = $PROCSTAT_LIBS
16567 DL_LIBS = $DL_LIBS
16568 POLL_LIBS = $POLL_LIBS
16569 RT_LIBS = $RT_LIBS
16570 LDAP_LIBS = $LDAP_LIBS
16575 wine_fn_append_rule "
16576 # Rules automatically generated by configure
16578 CLEAN_FILES = *.o *.a *.so *.res *.fake *.ok *.tab.[ch] *.yy.c
16580 .INIT: Makefile
16581 .MAKEFILEDEPS:
16582 all: Makefile
16583 Makefile: $srcdir/Makefile.in $srcdir/Make.vars.in config.status \$(MAKEDEP)
16584 @./config.status Make.tmp Makefile"
16586 test "$srcdir" = . && wine_fn_append_rule "all: .gitignore
16587 .gitignore: config.status
16588 @./config.status .gitignore"
16590 test -n "$CROSSTARGET" || wine_fn_append_rule "crosstest:
16591 @echo \"crosstest is not supported (mingw not installed?)\" && false"
16593 if test "x$enable_fonts" != xno; then
16594 ac_config_links="$ac_config_links fonts/marlett.ttf:fonts/marlett.ttf"
16595 ac_config_links="$ac_config_links fonts/symbol.ttf:fonts/symbol.ttf"
16596 ac_config_links="$ac_config_links fonts/tahoma.ttf:fonts/tahoma.ttf"
16597 ac_config_links="$ac_config_links fonts/tahomabd.ttf:fonts/tahomabd.ttf"
16598 test "$srcdir" = "." || wine_fn_config_symlink fonts/marlett.ttf fonts/symbol.ttf fonts/tahoma.ttf fonts/tahomabd.ttf
16600 ac_config_links="$ac_config_links loader/l_intl.nls:loader/l_intl.nls"
16601 test "$srcdir" = "." || wine_fn_config_symlink loader/l_intl.nls
16602 ac_config_links="$ac_config_links po/LINGUAS:po/LINGUAS"
16603 test "$srcdir" = "." || wine_fn_config_symlink po/LINGUAS
16604 ac_config_links="$ac_config_links wine:tools/winewrapper"
16605 wine_fn_config_symlink wine
16606 if test "x$enable_win64" != xno; then
16607 ac_config_links="$ac_config_links wine64:tools/winewrapper"
16608 wine_fn_config_symlink wine64
16611 wine_fn_config_dll acledit enable_acledit
16612 wine_fn_config_dll aclui enable_aclui implib
16613 wine_fn_config_dll activeds enable_activeds implib
16614 wine_fn_config_dll actxprxy enable_actxprxy clean
16615 wine_fn_config_lib adsiid
16616 wine_fn_config_dll advapi32 enable_advapi32 clean,implib
16617 wine_fn_config_test dlls/advapi32/tests advapi32_test
16618 wine_fn_config_dll advpack enable_advpack implib
16619 wine_fn_config_test dlls/advpack/tests advpack_test
16620 wine_fn_config_dll amstream enable_amstream clean
16621 wine_fn_config_test dlls/amstream/tests amstream_test
16622 wine_fn_config_dll api-ms-win-core-com-l1-1-0 enable_api_ms_win_core_com_l1_1_0
16623 wine_fn_config_dll api-ms-win-core-console-l1-1-0 enable_api_ms_win_core_console_l1_1_0
16624 wine_fn_config_dll api-ms-win-core-debug-l1-1-1 enable_api_ms_win_core_debug_l1_1_1
16625 wine_fn_config_dll api-ms-win-core-errorhandling-l1-1-1 enable_api_ms_win_core_errorhandling_l1_1_1
16626 wine_fn_config_dll api-ms-win-core-file-l1-2-0 enable_api_ms_win_core_file_l1_2_0
16627 wine_fn_config_dll api-ms-win-core-handle-l1-1-0 enable_api_ms_win_core_handle_l1_1_0
16628 wine_fn_config_dll api-ms-win-core-heap-l1-2-0 enable_api_ms_win_core_heap_l1_2_0
16629 wine_fn_config_dll api-ms-win-core-heap-obsolete-l1-1-0 enable_api_ms_win_core_heap_obsolete_l1_1_0
16630 wine_fn_config_dll api-ms-win-core-interlocked-l1-2-0 enable_api_ms_win_core_interlocked_l1_2_0
16631 wine_fn_config_dll api-ms-win-core-io-l1-1-1 enable_api_ms_win_core_io_l1_1_1
16632 wine_fn_config_dll api-ms-win-core-kernel32-legacy-l1-1-0 enable_api_ms_win_core_kernel32_legacy_l1_1_0
16633 wine_fn_config_dll api-ms-win-core-libraryloader-l1-1-1 enable_api_ms_win_core_libraryloader_l1_1_1
16634 wine_fn_config_dll api-ms-win-core-localization-l1-2-0 enable_api_ms_win_core_localization_l1_2_0
16635 wine_fn_config_dll api-ms-win-core-localization-obsolete-l1-1-0 enable_api_ms_win_core_localization_obsolete_l1_1_0
16636 wine_fn_config_dll api-ms-win-core-localregistry-l1-1-0 enable_api_ms_win_core_localregistry_l1_1_0
16637 wine_fn_config_dll api-ms-win-core-memory-l1-1-1 enable_api_ms_win_core_memory_l1_1_1
16638 wine_fn_config_dll api-ms-win-core-namedpipe-l1-2-0 enable_api_ms_win_core_namedpipe_l1_2_0
16639 wine_fn_config_dll api-ms-win-core-processenvironment-l1-2-0 enable_api_ms_win_core_processenvironment_l1_2_0
16640 wine_fn_config_dll api-ms-win-core-processthreads-l1-1-0 enable_api_ms_win_core_processthreads_l1_1_0
16641 wine_fn_config_dll api-ms-win-core-processthreads-l1-1-1 enable_api_ms_win_core_processthreads_l1_1_1
16642 wine_fn_config_dll api-ms-win-core-profile-l1-1-0 enable_api_ms_win_core_profile_l1_1_0
16643 wine_fn_config_dll api-ms-win-core-psapi-l1-1-0 enable_api_ms_win_core_psapi_l1_1_0
16644 wine_fn_config_dll api-ms-win-core-registry-l1-1-0 enable_api_ms_win_core_registry_l1_1_0
16645 wine_fn_config_dll api-ms-win-core-rtlsupport-l1-2-0 enable_api_ms_win_core_rtlsupport_l1_2_0
16646 wine_fn_config_dll api-ms-win-core-shlwapi-legacy-l1-1-0 enable_api_ms_win_core_shlwapi_legacy_l1_1_0
16647 wine_fn_config_dll api-ms-win-core-string-l1-1-0 enable_api_ms_win_core_string_l1_1_0
16648 wine_fn_config_dll api-ms-win-core-synch-l1-2-0 enable_api_ms_win_core_synch_l1_2_0
16649 wine_fn_config_dll api-ms-win-core-sysinfo-l1-2-0 enable_api_ms_win_core_sysinfo_l1_2_0
16650 wine_fn_config_dll api-ms-win-core-threadpool-legacy-l1-1-0 enable_api_ms_win_core_threadpool_legacy_l1_1_0
16651 wine_fn_config_dll api-ms-win-core-timezone-l1-1-0 enable_api_ms_win_core_timezone_l1_1_0
16652 wine_fn_config_dll api-ms-win-core-url-l1-1-0 enable_api_ms_win_core_url_l1_1_0
16653 wine_fn_config_dll api-ms-win-core-util-l1-1-0 enable_api_ms_win_core_util_l1_1_0
16654 wine_fn_config_dll api-ms-win-core-winrt-error-l1-1-0 enable_api_ms_win_core_winrt_error_l1_1_0
16655 wine_fn_config_dll api-ms-win-core-winrt-string-l1-1-0 enable_api_ms_win_core_winrt_string_l1_1_0
16656 wine_fn_config_dll api-ms-win-downlevel-advapi32-l1-1-0 enable_api_ms_win_downlevel_advapi32_l1_1_0
16657 wine_fn_config_dll api-ms-win-downlevel-advapi32-l2-1-0 enable_api_ms_win_downlevel_advapi32_l2_1_0
16658 wine_fn_config_dll api-ms-win-downlevel-normaliz-l1-1-0 enable_api_ms_win_downlevel_normaliz_l1_1_0
16659 wine_fn_config_dll api-ms-win-downlevel-ole32-l1-1-0 enable_api_ms_win_downlevel_ole32_l1_1_0
16660 wine_fn_config_dll api-ms-win-downlevel-shell32-l1-1-0 enable_api_ms_win_downlevel_shell32_l1_1_0
16661 wine_fn_config_dll api-ms-win-downlevel-shlwapi-l1-1-0 enable_api_ms_win_downlevel_shlwapi_l1_1_0
16662 wine_fn_config_dll api-ms-win-downlevel-shlwapi-l2-1-0 enable_api_ms_win_downlevel_shlwapi_l2_1_0
16663 wine_fn_config_dll api-ms-win-downlevel-user32-l1-1-0 enable_api_ms_win_downlevel_user32_l1_1_0
16664 wine_fn_config_dll api-ms-win-downlevel-version-l1-1-0 enable_api_ms_win_downlevel_version_l1_1_0
16665 wine_fn_config_dll api-ms-win-eventing-provider-l1-1-0 enable_api_ms_win_eventing_provider_l1_1_0
16666 wine_fn_config_dll api-ms-win-ntuser-dc-access-l1-1-0 enable_api_ms_win_ntuser_dc_access_l1_1_0
16667 wine_fn_config_dll api-ms-win-security-base-l1-1-0 enable_api_ms_win_security_base_l1_1_0
16668 wine_fn_config_dll api-ms-win-security-base-l1-2-0 enable_api_ms_win_security_base_l1_2_0
16669 wine_fn_config_dll api-ms-win-security-sddl-l1-1-0 enable_api_ms_win_security_sddl_l1_1_0
16670 wine_fn_config_dll api-ms-win-service-core-l1-1-1 enable_api_ms_win_service_core_l1_1_1
16671 wine_fn_config_dll api-ms-win-service-management-l1-1-0 enable_api_ms_win_service_management_l1_1_0
16672 wine_fn_config_dll api-ms-win-service-winsvc-l1-2-0 enable_api_ms_win_service_winsvc_l1_2_0
16673 wine_fn_config_dll apphelp enable_apphelp
16674 wine_fn_config_test dlls/apphelp/tests apphelp_test
16675 wine_fn_config_dll appwiz.cpl enable_appwiz_cpl po
16676 wine_fn_config_dll atl enable_atl clean,implib
16677 wine_fn_config_test dlls/atl/tests atl_test
16678 wine_fn_config_dll atl100 enable_atl100 implib
16679 wine_fn_config_test dlls/atl100/tests atl100_test
16680 wine_fn_config_dll atl110 enable_atl110
16681 wine_fn_config_dll atl80 enable_atl80 implib
16682 wine_fn_config_test dlls/atl80/tests atl80_test
16683 wine_fn_config_dll atl90 enable_atl90
16684 wine_fn_config_dll authz enable_authz
16685 wine_fn_config_dll avicap32 enable_avicap32 implib
16686 wine_fn_config_dll avifil32 enable_avifil32 clean,implib,po
16687 wine_fn_config_test dlls/avifil32/tests avifil32_test
16688 wine_fn_config_dll avifile.dll16 enable_win16
16689 wine_fn_config_dll avrt enable_avrt implib
16690 wine_fn_config_dll bcrypt enable_bcrypt
16691 wine_fn_config_test dlls/bcrypt/tests bcrypt_test
16692 wine_fn_config_dll browseui enable_browseui clean,po
16693 wine_fn_config_test dlls/browseui/tests browseui_test
16694 wine_fn_config_dll cabinet enable_cabinet implib
16695 wine_fn_config_test dlls/cabinet/tests cabinet_test
16696 wine_fn_config_dll capi2032 enable_capi2032 implib
16697 wine_fn_config_dll cards enable_cards implib
16698 wine_fn_config_dll cfgmgr32 enable_cfgmgr32 implib
16699 wine_fn_config_dll clusapi enable_clusapi implib
16700 wine_fn_config_dll comcat enable_comcat
16701 wine_fn_config_test dlls/comcat/tests comcat_test
16702 wine_fn_config_dll comctl32 enable_comctl32 implib,po
16703 wine_fn_config_test dlls/comctl32/tests comctl32_test
16704 wine_fn_config_dll comdlg32 enable_comdlg32 clean,implib,po
16705 wine_fn_config_test dlls/comdlg32/tests comdlg32_test
16706 wine_fn_config_dll comm.drv16 enable_win16
16707 wine_fn_config_dll commdlg.dll16 enable_win16
16708 wine_fn_config_dll compobj.dll16 enable_win16
16709 wine_fn_config_dll compstui enable_compstui implib
16710 wine_fn_config_dll comsvcs enable_comsvcs implib
16711 wine_fn_config_dll credui enable_credui implib,po
16712 wine_fn_config_test dlls/credui/tests credui_test
16713 wine_fn_config_dll crtdll enable_crtdll implib
16714 wine_fn_config_dll crypt32 enable_crypt32 implib,po
16715 wine_fn_config_test dlls/crypt32/tests crypt32_test
16716 wine_fn_config_dll cryptdlg enable_cryptdlg po
16717 wine_fn_config_dll cryptdll enable_cryptdll implib
16718 wine_fn_config_dll cryptnet enable_cryptnet implib
16719 wine_fn_config_test dlls/cryptnet/tests cryptnet_test
16720 wine_fn_config_dll cryptui enable_cryptui implib,po
16721 wine_fn_config_test dlls/cryptui/tests cryptui_test
16722 wine_fn_config_dll ctapi32 enable_ctapi32
16723 wine_fn_config_dll ctl3d.dll16 enable_win16
16724 wine_fn_config_dll ctl3d32 enable_ctl3d32 implib
16725 wine_fn_config_dll ctl3dv2.dll16 enable_win16
16726 wine_fn_config_dll d2d1 enable_d2d1 implib
16727 wine_fn_config_dll d3d10 enable_d3d10 implib
16728 wine_fn_config_test dlls/d3d10/tests d3d10_test
16729 wine_fn_config_dll d3d10_1 enable_d3d10_1 implib
16730 wine_fn_config_dll d3d10core enable_d3d10core implib
16731 wine_fn_config_test dlls/d3d10core/tests d3d10core_test
16732 wine_fn_config_dll d3d11 enable_d3d11
16733 wine_fn_config_dll d3d8 enable_d3d8 implib
16734 wine_fn_config_test dlls/d3d8/tests d3d8_test
16735 wine_fn_config_dll d3d9 enable_d3d9 implib
16736 wine_fn_config_test dlls/d3d9/tests d3d9_test
16737 wine_fn_config_dll d3dcompiler_33 enable_d3dcompiler_33
16738 wine_fn_config_dll d3dcompiler_34 enable_d3dcompiler_34
16739 wine_fn_config_dll d3dcompiler_35 enable_d3dcompiler_35
16740 wine_fn_config_dll d3dcompiler_36 enable_d3dcompiler_36
16741 wine_fn_config_dll d3dcompiler_37 enable_d3dcompiler_37
16742 wine_fn_config_dll d3dcompiler_38 enable_d3dcompiler_38
16743 wine_fn_config_dll d3dcompiler_39 enable_d3dcompiler_39
16744 wine_fn_config_dll d3dcompiler_40 enable_d3dcompiler_40
16745 wine_fn_config_dll d3dcompiler_41 enable_d3dcompiler_41
16746 wine_fn_config_dll d3dcompiler_42 enable_d3dcompiler_42
16747 wine_fn_config_dll d3dcompiler_43 enable_d3dcompiler_43 implib d3dcompiler
16748 wine_fn_config_test dlls/d3dcompiler_43/tests d3dcompiler_43_test
16749 wine_fn_config_dll d3dim enable_d3dim implib
16750 wine_fn_config_dll d3drm enable_d3drm implib
16751 wine_fn_config_test dlls/d3drm/tests d3drm_test
16752 wine_fn_config_dll d3dx10_33 enable_d3dx10_33
16753 wine_fn_config_dll d3dx10_34 enable_d3dx10_34
16754 wine_fn_config_dll d3dx10_35 enable_d3dx10_35
16755 wine_fn_config_dll d3dx10_36 enable_d3dx10_36
16756 wine_fn_config_dll d3dx10_37 enable_d3dx10_37
16757 wine_fn_config_dll d3dx10_38 enable_d3dx10_38
16758 wine_fn_config_dll d3dx10_39 enable_d3dx10_39
16759 wine_fn_config_dll d3dx10_40 enable_d3dx10_40
16760 wine_fn_config_dll d3dx10_41 enable_d3dx10_41
16761 wine_fn_config_dll d3dx10_42 enable_d3dx10_42
16762 wine_fn_config_dll d3dx10_43 enable_d3dx10_43
16763 wine_fn_config_dll d3dx11_42 enable_d3dx11_42
16764 wine_fn_config_dll d3dx11_43 enable_d3dx11_43
16765 wine_fn_config_dll d3dx9_24 enable_d3dx9_24
16766 wine_fn_config_dll d3dx9_25 enable_d3dx9_25
16767 wine_fn_config_dll d3dx9_26 enable_d3dx9_26
16768 wine_fn_config_dll d3dx9_27 enable_d3dx9_27
16769 wine_fn_config_dll d3dx9_28 enable_d3dx9_28
16770 wine_fn_config_dll d3dx9_29 enable_d3dx9_29
16771 wine_fn_config_dll d3dx9_30 enable_d3dx9_30
16772 wine_fn_config_dll d3dx9_31 enable_d3dx9_31
16773 wine_fn_config_dll d3dx9_32 enable_d3dx9_32
16774 wine_fn_config_dll d3dx9_33 enable_d3dx9_33
16775 wine_fn_config_dll d3dx9_34 enable_d3dx9_34
16776 wine_fn_config_dll d3dx9_35 enable_d3dx9_35
16777 wine_fn_config_dll d3dx9_36 enable_d3dx9_36 implib d3dx9
16778 wine_fn_config_test dlls/d3dx9_36/tests d3dx9_36_test
16779 wine_fn_config_dll d3dx9_37 enable_d3dx9_37
16780 wine_fn_config_dll d3dx9_38 enable_d3dx9_38
16781 wine_fn_config_dll d3dx9_39 enable_d3dx9_39
16782 wine_fn_config_dll d3dx9_40 enable_d3dx9_40
16783 wine_fn_config_dll d3dx9_41 enable_d3dx9_41
16784 wine_fn_config_dll d3dx9_42 enable_d3dx9_42
16785 wine_fn_config_dll d3dx9_43 enable_d3dx9_43
16786 wine_fn_config_dll d3dxof enable_d3dxof clean,implib
16787 wine_fn_config_test dlls/d3dxof/tests d3dxof_test
16788 wine_fn_config_dll dbgeng enable_dbgeng implib
16789 wine_fn_config_dll dbghelp enable_dbghelp implib
16790 wine_fn_config_dll dciman32 enable_dciman32 implib
16791 wine_fn_config_dll ddeml.dll16 enable_win16
16792 wine_fn_config_dll ddraw enable_ddraw clean,implib
16793 wine_fn_config_test dlls/ddraw/tests ddraw_test
16794 wine_fn_config_dll ddrawex enable_ddrawex clean
16795 wine_fn_config_test dlls/ddrawex/tests ddrawex_test
16796 wine_fn_config_dll devenum enable_devenum clean,po
16797 wine_fn_config_test dlls/devenum/tests devenum_test
16798 wine_fn_config_dll dhcpcsvc enable_dhcpcsvc
16799 wine_fn_config_dll difxapi enable_difxapi
16800 wine_fn_config_dll dinput enable_dinput clean,implib,po,staticimplib
16801 wine_fn_config_test dlls/dinput/tests dinput_test
16802 wine_fn_config_dll dinput8 enable_dinput8 clean,implib
16803 wine_fn_config_test dlls/dinput8/tests dinput8_test
16804 wine_fn_config_dll dispdib.dll16 enable_win16
16805 wine_fn_config_dll dispex enable_dispex clean
16806 wine_fn_config_test dlls/dispex/tests dispex_test
16807 wine_fn_config_dll display.drv16 enable_win16
16808 wine_fn_config_dll dmband enable_dmband clean
16809 wine_fn_config_test dlls/dmband/tests dmband_test
16810 wine_fn_config_dll dmcompos enable_dmcompos clean
16811 wine_fn_config_test dlls/dmcompos/tests dmcompos_test
16812 wine_fn_config_dll dmime enable_dmime clean
16813 wine_fn_config_test dlls/dmime/tests dmime_test
16814 wine_fn_config_dll dmloader enable_dmloader clean
16815 wine_fn_config_test dlls/dmloader/tests dmloader_test
16816 wine_fn_config_dll dmscript enable_dmscript clean
16817 wine_fn_config_test dlls/dmscript/tests dmscript_test
16818 wine_fn_config_dll dmstyle enable_dmstyle clean
16819 wine_fn_config_test dlls/dmstyle/tests dmstyle_test
16820 wine_fn_config_dll dmsynth enable_dmsynth clean
16821 wine_fn_config_test dlls/dmsynth/tests dmsynth_test
16822 wine_fn_config_dll dmusic enable_dmusic clean
16823 wine_fn_config_test dlls/dmusic/tests dmusic_test
16824 wine_fn_config_dll dmusic32 enable_dmusic32 implib
16825 wine_fn_config_dll dnsapi enable_dnsapi implib
16826 wine_fn_config_test dlls/dnsapi/tests dnsapi_test
16827 wine_fn_config_dll dplay enable_dplay implib
16828 wine_fn_config_dll dplayx enable_dplayx clean,implib
16829 wine_fn_config_test dlls/dplayx/tests dplayx_test
16830 wine_fn_config_dll dpnaddr enable_dpnaddr
16831 wine_fn_config_dll dpnet enable_dpnet clean,implib
16832 wine_fn_config_test dlls/dpnet/tests dpnet_test
16833 wine_fn_config_dll dpnhpast enable_dpnhpast
16834 wine_fn_config_dll dpnlobby enable_dpnlobby
16835 wine_fn_config_dll dpwsockx enable_dpwsockx
16836 wine_fn_config_dll drmclien enable_drmclien
16837 wine_fn_config_dll dsound enable_dsound clean,implib
16838 wine_fn_config_test dlls/dsound/tests dsound_test
16839 wine_fn_config_dll dssenh enable_dssenh
16840 wine_fn_config_test dlls/dssenh/tests dssenh_test
16841 wine_fn_config_dll dswave enable_dswave clean
16842 wine_fn_config_dll dwmapi enable_dwmapi implib
16843 wine_fn_config_dll dwrite enable_dwrite implib
16844 wine_fn_config_test dlls/dwrite/tests dwrite_test
16845 wine_fn_config_dll dxdiagn enable_dxdiagn clean,po
16846 wine_fn_config_test dlls/dxdiagn/tests dxdiagn_test
16847 wine_fn_config_lib dxerr8
16848 wine_fn_config_lib dxerr9
16849 wine_fn_config_dll dxgi enable_dxgi implib
16850 wine_fn_config_test dlls/dxgi/tests dxgi_test
16851 wine_fn_config_lib dxguid
16852 wine_fn_config_dll explorerframe enable_explorerframe clean
16853 wine_fn_config_test dlls/explorerframe/tests explorerframe_test
16854 wine_fn_config_dll ext-ms-win-gdi-devcaps-l1-1-0 enable_ext_ms_win_gdi_devcaps_l1_1_0
16855 wine_fn_config_dll faultrep enable_faultrep implib
16856 wine_fn_config_test dlls/faultrep/tests faultrep_test
16857 wine_fn_config_dll fltlib enable_fltlib
16858 wine_fn_config_dll fntcache enable_fntcache
16859 wine_fn_config_dll fontsub enable_fontsub
16860 wine_fn_config_dll fusion enable_fusion
16861 wine_fn_config_test dlls/fusion/tests fusion_test
16862 wine_fn_config_dll fwpuclnt enable_fwpuclnt
16863 wine_fn_config_dll gameux enable_gameux clean
16864 wine_fn_config_test dlls/gameux/tests gameux_test
16865 wine_fn_config_dll gdi.exe16 enable_win16
16866 wine_fn_config_dll gdi32 enable_gdi32 clean,implib,po
16867 wine_fn_config_test dlls/gdi32/tests gdi32_test
16868 wine_fn_config_dll gdiplus enable_gdiplus implib
16869 wine_fn_config_test dlls/gdiplus/tests gdiplus_test
16870 wine_fn_config_dll glu32 enable_glu32 implib
16871 wine_fn_config_dll gphoto2.ds enable_gphoto2_ds po
16872 wine_fn_config_dll gpkcsp enable_gpkcsp
16873 wine_fn_config_dll hal enable_hal
16874 wine_fn_config_dll hhctrl.ocx enable_hhctrl_ocx clean,implib,po htmlhelp
16875 wine_fn_config_dll hid enable_hid implib
16876 wine_fn_config_dll hlink enable_hlink clean,implib
16877 wine_fn_config_test dlls/hlink/tests hlink_test
16878 wine_fn_config_dll hnetcfg enable_hnetcfg clean
16879 wine_fn_config_dll httpapi enable_httpapi
16880 wine_fn_config_dll iccvid enable_iccvid po
16881 wine_fn_config_dll icmp enable_icmp
16882 wine_fn_config_dll ieframe enable_ieframe clean,implib,po
16883 wine_fn_config_test dlls/ieframe/tests ieframe_test
16884 wine_fn_config_dll ifsmgr.vxd enable_win16
16885 wine_fn_config_dll imaadp32.acm enable_imaadp32_acm
16886 wine_fn_config_dll imagehlp enable_imagehlp implib
16887 wine_fn_config_test dlls/imagehlp/tests imagehlp_test
16888 wine_fn_config_dll imm.dll16 enable_win16
16889 wine_fn_config_dll imm32 enable_imm32 implib
16890 wine_fn_config_test dlls/imm32/tests imm32_test
16891 wine_fn_config_dll inetcomm enable_inetcomm clean,implib
16892 wine_fn_config_test dlls/inetcomm/tests inetcomm_test
16893 wine_fn_config_dll inetcpl.cpl enable_inetcpl_cpl po
16894 wine_fn_config_dll inetmib1 enable_inetmib1
16895 wine_fn_config_test dlls/inetmib1/tests inetmib1_test
16896 wine_fn_config_dll infosoft enable_infosoft clean
16897 wine_fn_config_test dlls/infosoft/tests infosoft_test
16898 wine_fn_config_dll initpki enable_initpki
16899 wine_fn_config_dll inkobj enable_inkobj
16900 wine_fn_config_dll inseng enable_inseng clean
16901 wine_fn_config_dll iphlpapi enable_iphlpapi implib
16902 wine_fn_config_test dlls/iphlpapi/tests iphlpapi_test
16903 wine_fn_config_dll itircl enable_itircl
16904 wine_fn_config_dll itss enable_itss clean
16905 wine_fn_config_test dlls/itss/tests itss_test
16906 wine_fn_config_dll joy.cpl enable_joy_cpl po
16907 wine_fn_config_dll jscript enable_jscript clean,po
16908 wine_fn_config_test dlls/jscript/tests jscript_test
16909 wine_fn_config_dll kernel32 enable_kernel32 clean,implib,mc
16910 wine_fn_config_test dlls/kernel32/tests kernel32_test
16911 wine_fn_config_dll keyboard.drv16 enable_win16
16912 wine_fn_config_dll krnl386.exe16 enable_win16 implib kernel
16913 wine_fn_config_dll ktmw32 enable_ktmw32
16914 wine_fn_config_dll loadperf enable_loadperf implib
16915 wine_fn_config_dll localspl enable_localspl po
16916 wine_fn_config_test dlls/localspl/tests localspl_test
16917 wine_fn_config_dll localui enable_localui po
16918 wine_fn_config_test dlls/localui/tests localui_test
16919 wine_fn_config_dll lz32 enable_lz32 implib
16920 wine_fn_config_test dlls/lz32/tests lz32_test
16921 wine_fn_config_dll lzexpand.dll16 enable_win16
16922 wine_fn_config_dll mapi32 enable_mapi32 implib,po
16923 wine_fn_config_test dlls/mapi32/tests mapi32_test
16924 wine_fn_config_dll mapistub enable_mapistub
16925 wine_fn_config_dll mciavi32 enable_mciavi32
16926 wine_fn_config_dll mcicda enable_mcicda
16927 wine_fn_config_dll mciqtz32 enable_mciqtz32
16928 wine_fn_config_dll mciseq enable_mciseq
16929 wine_fn_config_dll mciwave enable_mciwave
16930 wine_fn_config_dll mgmtapi enable_mgmtapi
16931 wine_fn_config_dll midimap enable_midimap
16932 wine_fn_config_dll mlang enable_mlang clean,implib
16933 wine_fn_config_test dlls/mlang/tests mlang_test
16934 wine_fn_config_dll mmcndmgr enable_mmcndmgr clean
16935 wine_fn_config_test dlls/mmcndmgr/tests mmcndmgr_test
16936 wine_fn_config_dll mmdevapi enable_mmdevapi clean
16937 wine_fn_config_test dlls/mmdevapi/tests mmdevapi_test
16938 wine_fn_config_dll mmdevldr.vxd enable_win16
16939 wine_fn_config_dll mmsystem.dll16 enable_win16
16940 wine_fn_config_dll monodebg.vxd enable_win16
16941 wine_fn_config_dll mountmgr.sys enable_mountmgr_sys
16942 wine_fn_config_dll mouse.drv16 enable_win16
16943 wine_fn_config_dll mpr enable_mpr implib,po
16944 wine_fn_config_test dlls/mpr/tests mpr_test
16945 wine_fn_config_dll mprapi enable_mprapi implib
16946 wine_fn_config_dll msacm.dll16 enable_win16
16947 wine_fn_config_dll msacm32.drv enable_msacm32_drv
16948 wine_fn_config_dll msacm32 enable_msacm32 implib,po
16949 wine_fn_config_test dlls/msacm32/tests msacm32_test
16950 wine_fn_config_dll msadp32.acm enable_msadp32_acm
16951 wine_fn_config_dll mscat32 enable_mscat32
16952 wine_fn_config_dll mscms enable_mscms implib
16953 wine_fn_config_test dlls/mscms/tests mscms_test
16954 wine_fn_config_dll mscoree enable_mscoree clean
16955 wine_fn_config_test dlls/mscoree/tests mscoree_test
16956 wine_fn_config_dll msctf enable_msctf clean
16957 wine_fn_config_test dlls/msctf/tests msctf_test
16958 wine_fn_config_dll msdaps enable_msdaps clean
16959 wine_fn_config_dll msdmo enable_msdmo implib
16960 wine_fn_config_dll msftedit enable_msftedit
16961 wine_fn_config_dll msg711.acm enable_msg711_acm
16962 wine_fn_config_dll msgsm32.acm enable_msgsm32_acm
16963 wine_fn_config_dll mshtml.tlb enable_mshtml_tlb clean
16964 wine_fn_config_dll mshtml enable_mshtml clean,implib,po
16965 wine_fn_config_test dlls/mshtml/tests mshtml_test clean
16966 wine_fn_config_dll msi enable_msi clean,implib,po
16967 wine_fn_config_test dlls/msi/tests msi_test
16968 wine_fn_config_dll msident enable_msident clean
16969 wine_fn_config_dll msimg32 enable_msimg32 implib
16970 wine_fn_config_dll msimsg enable_msimsg
16971 wine_fn_config_dll msimtf enable_msimtf clean
16972 wine_fn_config_dll msisip enable_msisip
16973 wine_fn_config_dll msisys.ocx enable_msisys_ocx
16974 wine_fn_config_dll msls31 enable_msls31
16975 wine_fn_config_dll msnet32 enable_msnet32
16976 wine_fn_config_dll mspatcha enable_mspatcha
16977 wine_fn_config_dll msrle32 enable_msrle32 po
16978 wine_fn_config_test dlls/msrle32/tests msrle32_test
16979 wine_fn_config_dll mssign32 enable_mssign32
16980 wine_fn_config_dll mssip32 enable_mssip32
16981 wine_fn_config_dll mstask enable_mstask clean
16982 wine_fn_config_test dlls/mstask/tests mstask_test
16983 wine_fn_config_dll msvcirt enable_msvcirt
16984 wine_fn_config_dll msvcm80 enable_msvcm80
16985 wine_fn_config_dll msvcm90 enable_msvcm90
16986 wine_fn_config_dll msvcp100 enable_msvcp100
16987 wine_fn_config_test dlls/msvcp100/tests msvcp100_test
16988 wine_fn_config_dll msvcp110 enable_msvcp110
16989 wine_fn_config_dll msvcp60 enable_msvcp60
16990 wine_fn_config_test dlls/msvcp60/tests msvcp60_test
16991 wine_fn_config_dll msvcp70 enable_msvcp70
16992 wine_fn_config_dll msvcp71 enable_msvcp71
16993 wine_fn_config_dll msvcp80 enable_msvcp80
16994 wine_fn_config_dll msvcp90 enable_msvcp90
16995 wine_fn_config_test dlls/msvcp90/tests msvcp90_test
16996 wine_fn_config_dll msvcr100 enable_msvcr100 implib
16997 wine_fn_config_test dlls/msvcr100/tests msvcr100_test
16998 wine_fn_config_dll msvcr110 enable_msvcr110 implib
16999 wine_fn_config_dll msvcr70 enable_msvcr70 implib
17000 wine_fn_config_dll msvcr71 enable_msvcr71 implib
17001 wine_fn_config_dll msvcr80 enable_msvcr80 implib
17002 wine_fn_config_dll msvcr90 enable_msvcr90 implib
17003 wine_fn_config_test dlls/msvcr90/tests msvcr90_test
17004 wine_fn_config_dll msvcrt enable_msvcrt implib
17005 wine_fn_config_test dlls/msvcrt/tests msvcrt_test
17006 wine_fn_config_dll msvcrt20 enable_msvcrt20 implib
17007 wine_fn_config_dll msvcrt40 enable_msvcrt40 implib
17008 wine_fn_config_dll msvcrtd enable_msvcrtd implib
17009 wine_fn_config_test dlls/msvcrtd/tests msvcrtd_test
17010 wine_fn_config_dll msvfw32 enable_msvfw32 implib,po
17011 wine_fn_config_test dlls/msvfw32/tests msvfw32_test
17012 wine_fn_config_dll msvidc32 enable_msvidc32 po
17013 wine_fn_config_dll msvideo.dll16 enable_win16
17014 wine_fn_config_dll mswsock enable_mswsock implib
17015 wine_fn_config_dll msxml enable_msxml clean
17016 wine_fn_config_dll msxml2 enable_msxml2 clean
17017 wine_fn_config_dll msxml3 enable_msxml3 clean
17018 wine_fn_config_test dlls/msxml3/tests msxml3_test clean
17019 wine_fn_config_dll msxml4 enable_msxml4 clean
17020 wine_fn_config_dll msxml6 enable_msxml6 clean
17021 wine_fn_config_dll nddeapi enable_nddeapi implib
17022 wine_fn_config_dll netapi32 enable_netapi32 implib
17023 wine_fn_config_test dlls/netapi32/tests netapi32_test
17024 wine_fn_config_dll netcfgx enable_netcfgx
17025 wine_fn_config_dll newdev enable_newdev implib
17026 wine_fn_config_dll normaliz enable_normaliz implib
17027 wine_fn_config_dll npmshtml enable_npmshtml
17028 wine_fn_config_dll ntdll enable_ntdll implib
17029 wine_fn_config_test dlls/ntdll/tests ntdll_test
17030 wine_fn_config_dll ntdsapi enable_ntdsapi implib
17031 wine_fn_config_test dlls/ntdsapi/tests ntdsapi_test
17032 wine_fn_config_dll ntoskrnl.exe enable_ntoskrnl_exe implib
17033 wine_fn_config_dll ntprint enable_ntprint
17034 wine_fn_config_test dlls/ntprint/tests ntprint_test
17035 wine_fn_config_dll objsel enable_objsel clean
17036 wine_fn_config_dll odbc32 enable_odbc32 implib
17037 wine_fn_config_dll odbccp32 enable_odbccp32 implib
17038 wine_fn_config_test dlls/odbccp32/tests odbccp32_test
17039 wine_fn_config_dll odbccu32 enable_odbccu32
17040 wine_fn_config_dll ole2.dll16 enable_win16
17041 wine_fn_config_dll ole2conv.dll16 enable_win16
17042 wine_fn_config_dll ole2disp.dll16 enable_win16
17043 wine_fn_config_dll ole2nls.dll16 enable_win16
17044 wine_fn_config_dll ole2prox.dll16 enable_win16
17045 wine_fn_config_dll ole2thk.dll16 enable_win16
17046 wine_fn_config_dll ole32 enable_ole32 clean,implib
17047 wine_fn_config_test dlls/ole32/tests ole32_test
17048 wine_fn_config_dll oleacc enable_oleacc clean,implib,po
17049 wine_fn_config_test dlls/oleacc/tests oleacc_test
17050 wine_fn_config_dll oleaut32 enable_oleaut32 clean,implib,po
17051 wine_fn_config_test dlls/oleaut32/tests oleaut32_test clean
17052 wine_fn_config_dll olecli.dll16 enable_win16
17053 wine_fn_config_dll olecli32 enable_olecli32 implib
17054 wine_fn_config_dll oledb32 enable_oledb32 clean
17055 wine_fn_config_test dlls/oledb32/tests oledb32_test clean
17056 wine_fn_config_dll oledlg enable_oledlg implib,po
17057 wine_fn_config_dll olepro32 enable_olepro32 implib
17058 wine_fn_config_dll olesvr.dll16 enable_win16
17059 wine_fn_config_dll olesvr32 enable_olesvr32 implib
17060 wine_fn_config_dll olethk32 enable_olethk32
17061 wine_fn_config_dll openal32 enable_openal32
17062 wine_fn_config_dll opencl enable_opencl
17063 wine_fn_config_dll opengl32 enable_opengl32 implib
17064 wine_fn_config_test dlls/opengl32/tests opengl32_test
17065 wine_fn_config_dll pdh enable_pdh implib
17066 wine_fn_config_test dlls/pdh/tests pdh_test
17067 wine_fn_config_dll photometadatahandler enable_photometadatahandler
17068 wine_fn_config_dll pidgen enable_pidgen
17069 wine_fn_config_dll powrprof enable_powrprof implib
17070 wine_fn_config_dll printui enable_printui
17071 wine_fn_config_dll propsys enable_propsys clean,implib
17072 wine_fn_config_test dlls/propsys/tests propsys_test
17073 wine_fn_config_dll psapi enable_psapi implib
17074 wine_fn_config_test dlls/psapi/tests psapi_test
17075 wine_fn_config_dll pstorec enable_pstorec clean
17076 wine_fn_config_dll qcap enable_qcap
17077 wine_fn_config_test dlls/qcap/tests qcap_test
17078 wine_fn_config_dll qedit enable_qedit clean
17079 wine_fn_config_test dlls/qedit/tests qedit_test
17080 wine_fn_config_dll qmgr enable_qmgr clean
17081 wine_fn_config_test dlls/qmgr/tests qmgr_test
17082 wine_fn_config_dll qmgrprxy enable_qmgrprxy clean
17083 wine_fn_config_dll quartz enable_quartz clean,implib
17084 wine_fn_config_test dlls/quartz/tests quartz_test clean
17085 wine_fn_config_dll query enable_query
17086 wine_fn_config_dll rasapi16.dll16 enable_win16
17087 wine_fn_config_dll rasapi32 enable_rasapi32 implib
17088 wine_fn_config_test dlls/rasapi32/tests rasapi32_test
17089 wine_fn_config_dll rasdlg enable_rasdlg implib
17090 wine_fn_config_dll regapi enable_regapi
17091 wine_fn_config_dll resutils enable_resutils implib
17092 wine_fn_config_dll riched20 enable_riched20 implib
17093 wine_fn_config_test dlls/riched20/tests riched20_test
17094 wine_fn_config_dll riched32 enable_riched32
17095 wine_fn_config_test dlls/riched32/tests riched32_test
17096 wine_fn_config_dll rpcrt4 enable_rpcrt4 clean,implib
17097 wine_fn_config_test dlls/rpcrt4/tests rpcrt4_test clean
17098 wine_fn_config_dll rsabase enable_rsabase
17099 wine_fn_config_dll rsaenh enable_rsaenh implib
17100 wine_fn_config_test dlls/rsaenh/tests rsaenh_test
17101 wine_fn_config_dll rstrtmgr enable_rstrtmgr
17102 wine_fn_config_dll rtutils enable_rtutils implib
17103 wine_fn_config_dll samlib enable_samlib
17104 wine_fn_config_dll sane.ds enable_sane_ds po
17105 wine_fn_config_dll scarddlg enable_scarddlg
17106 wine_fn_config_dll sccbase enable_sccbase
17107 wine_fn_config_dll schannel enable_schannel
17108 wine_fn_config_test dlls/schannel/tests schannel_test
17109 wine_fn_config_dll scrrun enable_scrrun clean
17110 wine_fn_config_test dlls/scrrun/tests scrrun_test clean
17111 wine_fn_config_dll scsiport.sys enable_scsiport_sys
17112 wine_fn_config_dll secur32 enable_secur32 implib
17113 wine_fn_config_test dlls/secur32/tests secur32_test
17114 wine_fn_config_dll security enable_security
17115 wine_fn_config_dll sensapi enable_sensapi implib
17116 wine_fn_config_dll serialui enable_serialui implib,po
17117 wine_fn_config_test dlls/serialui/tests serialui_test
17118 wine_fn_config_dll setupapi enable_setupapi implib,po
17119 wine_fn_config_test dlls/setupapi/tests setupapi_test
17120 wine_fn_config_dll setupx.dll16 enable_win16
17121 wine_fn_config_dll sfc enable_sfc implib
17122 wine_fn_config_dll sfc_os enable_sfc_os implib
17123 wine_fn_config_dll shdoclc enable_shdoclc po
17124 wine_fn_config_dll shdocvw enable_shdocvw clean,implib
17125 wine_fn_config_test dlls/shdocvw/tests shdocvw_test
17126 wine_fn_config_dll shell.dll16 enable_win16
17127 wine_fn_config_dll shell32 enable_shell32 clean,implib,po
17128 wine_fn_config_test dlls/shell32/tests shell32_test
17129 wine_fn_config_dll shfolder enable_shfolder implib
17130 wine_fn_config_dll shlwapi enable_shlwapi implib,po
17131 wine_fn_config_test dlls/shlwapi/tests shlwapi_test
17132 wine_fn_config_dll slbcsp enable_slbcsp
17133 wine_fn_config_dll slc enable_slc implib
17134 wine_fn_config_dll snmpapi enable_snmpapi implib
17135 wine_fn_config_test dlls/snmpapi/tests snmpapi_test
17136 wine_fn_config_dll softpub enable_softpub
17137 wine_fn_config_dll sound.drv16 enable_win16
17138 wine_fn_config_dll spoolss enable_spoolss implib
17139 wine_fn_config_test dlls/spoolss/tests spoolss_test
17140 wine_fn_config_dll stdole2.tlb enable_stdole2_tlb clean
17141 wine_fn_config_dll stdole32.tlb enable_stdole32_tlb clean
17142 wine_fn_config_dll sti enable_sti clean,implib
17143 wine_fn_config_test dlls/sti/tests sti_test
17144 wine_fn_config_dll storage.dll16 enable_win16
17145 wine_fn_config_dll stress.dll16 enable_win16
17146 wine_fn_config_lib strmbase
17147 wine_fn_config_lib strmiids
17148 wine_fn_config_dll svrapi enable_svrapi
17149 wine_fn_config_dll sxs enable_sxs implib
17150 wine_fn_config_test dlls/sxs/tests sxs_test
17151 wine_fn_config_dll system.drv16 enable_win16
17152 wine_fn_config_dll t2embed enable_t2embed
17153 wine_fn_config_dll tapi32 enable_tapi32 implib
17154 wine_fn_config_dll taskschd enable_taskschd clean
17155 wine_fn_config_test dlls/taskschd/tests taskschd_test
17156 wine_fn_config_dll toolhelp.dll16 enable_win16
17157 wine_fn_config_dll traffic enable_traffic
17158 wine_fn_config_dll twain.dll16 enable_win16
17159 wine_fn_config_dll twain_32 enable_twain_32
17160 wine_fn_config_test dlls/twain_32/tests twain_32_test
17161 wine_fn_config_dll typelib.dll16 enable_win16
17162 wine_fn_config_dll unicows enable_unicows implib
17163 wine_fn_config_dll updspapi enable_updspapi
17164 wine_fn_config_dll url enable_url implib
17165 wine_fn_config_dll urlmon enable_urlmon clean,implib,po
17166 wine_fn_config_test dlls/urlmon/tests urlmon_test
17167 wine_fn_config_dll usbd.sys enable_usbd_sys implib
17168 wine_fn_config_dll user.exe16 enable_win16
17169 wine_fn_config_dll user32 enable_user32 clean,implib,po
17170 wine_fn_config_test dlls/user32/tests user32_test
17171 wine_fn_config_dll userenv enable_userenv implib
17172 wine_fn_config_test dlls/userenv/tests userenv_test
17173 wine_fn_config_dll usp10 enable_usp10 implib
17174 wine_fn_config_test dlls/usp10/tests usp10_test
17175 wine_fn_config_lib uuid
17176 wine_fn_config_dll uxtheme enable_uxtheme implib
17177 wine_fn_config_test dlls/uxtheme/tests uxtheme_test
17178 wine_fn_config_dll vbscript enable_vbscript clean
17179 wine_fn_config_test dlls/vbscript/tests vbscript_test clean
17180 wine_fn_config_dll vcomp enable_vcomp
17181 wine_fn_config_dll vcomp100 enable_vcomp100
17182 wine_fn_config_dll vcomp90 enable_vcomp90
17183 wine_fn_config_dll vdhcp.vxd enable_win16
17184 wine_fn_config_dll vdmdbg enable_vdmdbg implib
17185 wine_fn_config_dll ver.dll16 enable_win16
17186 wine_fn_config_dll version enable_version implib
17187 wine_fn_config_test dlls/version/tests version_test
17188 wine_fn_config_dll vmm.vxd enable_win16
17189 wine_fn_config_dll vnbt.vxd enable_win16
17190 wine_fn_config_dll vnetbios.vxd enable_win16
17191 wine_fn_config_dll vtdapi.vxd enable_win16
17192 wine_fn_config_dll vwin32.vxd enable_win16
17193 wine_fn_config_dll w32skrnl enable_win16
17194 wine_fn_config_dll w32sys.dll16 enable_win16
17195 wine_fn_config_dll wbemdisp enable_wbemdisp clean
17196 wine_fn_config_dll wbemprox enable_wbemprox clean
17197 wine_fn_config_test dlls/wbemprox/tests wbemprox_test
17198 wine_fn_config_dll webservices enable_webservices implib
17199 wine_fn_config_dll wer enable_wer implib
17200 wine_fn_config_test dlls/wer/tests wer_test
17201 wine_fn_config_dll wevtapi enable_wevtapi
17202 wine_fn_config_dll wiaservc enable_wiaservc clean
17203 wine_fn_config_dll win32s16.dll16 enable_win16
17204 wine_fn_config_dll win87em.dll16 enable_win16
17205 wine_fn_config_dll winaspi.dll16 enable_win16
17206 wine_fn_config_dll windebug.dll16 enable_win16
17207 wine_fn_config_dll windowscodecs enable_windowscodecs clean,implib
17208 wine_fn_config_test dlls/windowscodecs/tests windowscodecs_test
17209 wine_fn_config_dll windowscodecsext enable_windowscodecsext implib
17210 wine_fn_config_test dlls/windowscodecsext/tests windowscodecsext_test
17211 wine_fn_config_dll winealsa.drv enable_winealsa_drv
17212 wine_fn_config_dll winecoreaudio.drv enable_winecoreaudio_drv
17213 wine_fn_config_lib winecrt0
17214 wine_fn_config_dll wined3d enable_wined3d implib
17215 wine_fn_config_dll winegstreamer enable_winegstreamer
17216 wine_fn_config_dll winejoystick.drv enable_winejoystick_drv
17217 wine_fn_config_dll winemac.drv enable_winemac_drv
17218 wine_fn_config_dll winemapi enable_winemapi
17219 wine_fn_config_dll winemp3.acm enable_winemp3_acm
17220 wine_fn_config_dll wineoss.drv enable_wineoss_drv
17221 wine_fn_config_dll wineps.drv enable_wineps_drv clean,po
17222 wine_fn_config_dll wineps16.drv16 enable_win16
17223 wine_fn_config_dll wineqtdecoder enable_wineqtdecoder
17224 wine_fn_config_dll winex11.drv enable_winex11_drv
17225 wine_fn_config_dll wing.dll16 enable_win16
17226 wine_fn_config_dll wing32 enable_wing32
17227 wine_fn_config_dll winhttp enable_winhttp clean,implib
17228 wine_fn_config_test dlls/winhttp/tests winhttp_test
17229 wine_fn_config_dll wininet enable_wininet implib,po
17230 wine_fn_config_test dlls/wininet/tests wininet_test
17231 wine_fn_config_dll winmm enable_winmm implib,po
17232 wine_fn_config_test dlls/winmm/tests winmm_test
17233 wine_fn_config_dll winnls.dll16 enable_win16
17234 wine_fn_config_dll winnls32 enable_winnls32 implib
17235 wine_fn_config_dll winscard enable_winscard implib
17236 wine_fn_config_dll winsock.dll16 enable_win16
17237 wine_fn_config_dll winspool.drv enable_winspool_drv implib,po winspool
17238 wine_fn_config_test dlls/winspool.drv/tests winspool.drv_test
17239 wine_fn_config_dll winsta enable_winsta
17240 wine_fn_config_dll wintab.dll16 enable_win16
17241 wine_fn_config_dll wintab32 enable_wintab32 implib
17242 wine_fn_config_test dlls/wintab32/tests wintab32_test
17243 wine_fn_config_dll wintrust enable_wintrust implib
17244 wine_fn_config_test dlls/wintrust/tests wintrust_test
17245 wine_fn_config_dll wlanapi enable_wlanapi
17246 wine_fn_config_dll wldap32 enable_wldap32 implib,po
17247 wine_fn_config_test dlls/wldap32/tests wldap32_test
17248 wine_fn_config_dll wmi enable_wmi
17249 wine_fn_config_dll wmiutils enable_wmiutils clean
17250 wine_fn_config_test dlls/wmiutils/tests wmiutils_test
17251 wine_fn_config_dll wmp enable_wmp clean
17252 wine_fn_config_test dlls/wmp/tests wmp_test
17253 wine_fn_config_dll wmvcore enable_wmvcore
17254 wine_fn_config_dll wnaspi32 enable_wnaspi32 implib
17255 wine_fn_config_dll wow32 enable_win16 implib
17256 wine_fn_config_dll ws2_32 enable_ws2_32 implib
17257 wine_fn_config_test dlls/ws2_32/tests ws2_32_test
17258 wine_fn_config_dll wshom.ocx enable_wshom_ocx clean
17259 wine_fn_config_test dlls/wshom.ocx/tests wshom.ocx_test clean
17260 wine_fn_config_dll wsnmp32 enable_wsnmp32 implib
17261 wine_fn_config_test dlls/wsnmp32/tests wsnmp32_test
17262 wine_fn_config_dll wsock32 enable_wsock32 implib
17263 wine_fn_config_dll wtsapi32 enable_wtsapi32 implib
17264 wine_fn_config_test dlls/wtsapi32/tests wtsapi32_test
17265 wine_fn_config_dll wuapi enable_wuapi clean
17266 wine_fn_config_dll wuaueng enable_wuaueng
17267 wine_fn_config_dll xapofx1_1 enable_xapofx1_1
17268 wine_fn_config_dll xinput1_1 enable_xinput1_1
17269 wine_fn_config_dll xinput1_2 enable_xinput1_2
17270 wine_fn_config_dll xinput1_3 enable_xinput1_3 implib xinput
17271 wine_fn_config_test dlls/xinput1_3/tests xinput1_3_test
17272 wine_fn_config_dll xinput1_4 enable_xinput1_4
17273 wine_fn_config_dll xinput9_1_0 enable_xinput9_1_0
17274 wine_fn_config_dll xmllite enable_xmllite implib
17275 wine_fn_config_test dlls/xmllite/tests xmllite_test
17276 wine_fn_config_dll xolehlp enable_xolehlp
17277 wine_fn_config_dll xpsprint enable_xpsprint
17278 wine_fn_config_dll xpssvcs enable_xpssvcs
17279 wine_fn_config_makefile documentation enable_documentation clean
17280 wine_fn_config_makefile fonts enable_fonts clean,install-lib
17281 wine_fn_config_makefile include enable_include clean,install-dev
17282 wine_fn_config_makefile libs/port enable_libs_port
17283 wine_fn_config_makefile libs/wine enable_libs_wine clean,install-dev,install-lib
17284 wine_fn_config_makefile libs/wpp enable_libs_wpp
17285 wine_fn_config_makefile loader enable_loader clean,install-lib,manpage
17286 wine_fn_config_program arp enable_arp install
17287 wine_fn_config_program aspnet_regiis enable_aspnet_regiis install
17288 wine_fn_config_program attrib enable_attrib install,po
17289 wine_fn_config_program cabarc enable_cabarc install
17290 wine_fn_config_program cacls enable_cacls install
17291 wine_fn_config_program clock enable_clock install,po
17292 wine_fn_config_program cmd enable_cmd install,po
17293 wine_fn_config_test programs/cmd/tests cmd.exe_test
17294 wine_fn_config_program conhost enable_conhost install
17295 wine_fn_config_program control enable_control install
17296 wine_fn_config_program cscript enable_cscript install
17297 wine_fn_config_program dpnsvr enable_dpnsvr install
17298 wine_fn_config_program dxdiag enable_dxdiag install,po
17299 wine_fn_config_program eject enable_eject install
17300 wine_fn_config_program expand enable_expand install
17301 wine_fn_config_program explorer enable_explorer install,po
17302 wine_fn_config_program extrac32 enable_extrac32 install
17303 wine_fn_config_program findstr enable_findstr install
17304 wine_fn_config_program hh enable_hh install
17305 wine_fn_config_program hostname enable_hostname install,po
17306 wine_fn_config_program icinfo enable_icinfo install
17307 wine_fn_config_program iexplore enable_iexplore install
17308 wine_fn_config_program ipconfig enable_ipconfig install,po
17309 wine_fn_config_program lodctr enable_lodctr install
17310 wine_fn_config_program mofcomp enable_mofcomp install
17311 wine_fn_config_program mshta enable_mshta install
17312 wine_fn_config_program msiexec enable_msiexec install,installbin,manpage
17313 wine_fn_config_program net enable_net install,po
17314 wine_fn_config_program netsh enable_netsh install
17315 wine_fn_config_program netstat enable_netstat install,po
17316 wine_fn_config_program ngen enable_ngen install
17317 wine_fn_config_program notepad enable_notepad install,installbin,manpage,po
17318 wine_fn_config_program oleview enable_oleview install,po
17319 wine_fn_config_program ping enable_ping install
17320 wine_fn_config_program plugplay enable_plugplay install
17321 wine_fn_config_program presentationfontcache enable_presentationfontcache install
17322 wine_fn_config_program progman enable_progman install,po
17323 wine_fn_config_program reg enable_reg install,po
17324 wine_fn_config_program regasm enable_regasm install
17325 wine_fn_config_program regedit enable_regedit install,installbin,manpage,po
17326 wine_fn_config_test programs/regedit/tests regedit.exe_test
17327 wine_fn_config_program regsvcs enable_regsvcs install
17328 wine_fn_config_program regsvr32 enable_regsvr32 install,installbin,manpage
17329 wine_fn_config_program rpcss enable_rpcss clean,install
17330 wine_fn_config_program rundll.exe16 enable_win16 install
17331 wine_fn_config_program rundll32 enable_rundll32 install
17332 wine_fn_config_program sc enable_sc install
17333 wine_fn_config_program schtasks enable_schtasks install
17334 wine_fn_config_program secedit enable_secedit install
17335 wine_fn_config_program servicemodelreg enable_servicemodelreg install
17336 wine_fn_config_program services enable_services clean,install
17337 wine_fn_config_test programs/services/tests services.exe_test
17338 wine_fn_config_program spoolsv enable_spoolsv install
17339 wine_fn_config_program start enable_start install,po
17340 wine_fn_config_program svchost enable_svchost install
17341 wine_fn_config_program taskkill enable_taskkill install,po
17342 wine_fn_config_program tasklist enable_tasklist install
17343 wine_fn_config_program taskmgr enable_taskmgr install,po
17344 wine_fn_config_program termsv enable_termsv install
17345 wine_fn_config_program uninstaller enable_uninstaller install,po
17346 wine_fn_config_program unlodctr enable_unlodctr install
17347 wine_fn_config_program view enable_view install,po
17348 wine_fn_config_program wevtutil enable_wevtutil install
17349 wine_fn_config_program wineboot enable_wineboot install,installbin,manpage,po
17350 wine_fn_config_program winebrowser enable_winebrowser install
17351 wine_fn_config_program winecfg enable_winecfg install,installbin,manpage,po
17352 wine_fn_config_program wineconsole enable_wineconsole install,installbin,manpage,po
17353 wine_fn_config_program winedbg enable_winedbg install,installbin,manpage,po
17354 wine_fn_config_program winedevice enable_winedevice install
17355 wine_fn_config_program winefile enable_winefile install,installbin,manpage,po
17356 wine_fn_config_program winemenubuilder enable_winemenubuilder install
17357 wine_fn_config_program winemine enable_winemine install,installbin,manpage,po
17358 wine_fn_config_program winemsibuilder enable_winemsibuilder install
17359 wine_fn_config_program winepath enable_winepath install,installbin,manpage
17360 wine_fn_config_program winetest enable_winetest clean
17361 wine_fn_config_program winevdm enable_win16 install
17362 wine_fn_config_program winhelp.exe16 enable_win16 install
17363 wine_fn_config_program winhlp32 enable_winhlp32 install,po
17364 wine_fn_config_program winoldap.mod16 enable_win16 install
17365 wine_fn_config_program winver enable_winver install
17366 wine_fn_config_program wmic enable_wmic install,po
17367 wine_fn_config_program wordpad enable_wordpad install,po
17368 wine_fn_config_program write enable_write install,po
17369 wine_fn_config_program wscript enable_wscript clean,install
17370 wine_fn_config_test programs/wscript/tests wscript.exe_test
17371 wine_fn_config_program wusa enable_wusa install
17372 wine_fn_config_program xcopy enable_xcopy install,po
17373 wine_fn_config_test programs/xcopy/tests xcopy.exe_test
17374 wine_fn_config_makefile server enable_server clean,install-lib,manpage
17375 wine_fn_config_tool tools clean,install-dev,install-lib,manpage
17376 wine_fn_config_tool tools/sfnt2fon clean
17377 wine_fn_config_tool tools/widl clean,install-dev,manpage
17378 wine_fn_config_tool tools/winebuild clean,install-dev,manpage
17379 wine_fn_config_tool tools/winedump clean,install-dev,manpage
17380 wine_fn_config_tool tools/winegcc clean,install-dev,manpage
17381 wine_fn_config_tool tools/wmc clean,install-dev,manpage
17382 wine_fn_config_tool tools/wrc clean,install-dev,manpage
17384 LINGUAS="\
17385 ar \
17386 bg \
17387 ca \
17388 cs \
17389 da \
17390 de \
17391 el \
17392 en \
17393 en_US \
17394 eo \
17395 es \
17396 fa \
17397 fi \
17398 fr \
17399 he \
17400 hi \
17401 hr \
17402 hu \
17403 it \
17404 ja \
17405 ko \
17406 lt \
17407 ml \
17408 nb_NO \
17409 nl \
17410 or \
17411 pa \
17412 pl \
17413 pt_BR \
17414 pt_PT \
17415 rm \
17416 ro \
17417 ru \
17418 sk \
17419 sl \
17420 sr_RS@cyrillic \
17421 sr_RS@latin \
17422 sv \
17423 te \
17424 th \
17425 tr \
17426 uk \
17427 wa \
17428 zh_CN \
17429 zh_TW"
17434 wine_fn_ignore_file ".gitignore"
17435 wine_fn_ignore_file "Makefile"
17436 wine_fn_ignore_file "TAGS"
17437 wine_fn_ignore_file "tags"
17438 wine_fn_ignore_file "autom4te.cache"
17439 wine_fn_ignore_file "config.cache"
17440 wine_fn_ignore_file "config.log"
17441 wine_fn_ignore_file "config.status"
17442 wine_fn_ignore_file "configure.lineno"
17443 wine_fn_ignore_file "include/config.h"
17444 wine_fn_ignore_file "include/stamp-h"
17445 test "$wine_binary" = wine || wine_fn_ignore_file "loader/wine"
17447 if test "x$enable_tools" != xno
17448 then
17449 wine_fn_ignore_file "tools/makedep$ac_exeext"
17450 ac_config_commands="$ac_config_commands tools/makedep"
17454 ac_config_commands="$ac_config_commands Makefile"
17457 ac_config_files="$ac_config_files Make.tmp:Make.vars.in:Makefile.in"
17461 if test "x$enable_maintainer_mode" = xyes
17462 then
17463 wine_fn_append_rule "configure: configure.ac aclocal.m4
17464 autoconf --warnings=all
17465 include/config.h.in: include/stamp-h.in
17466 include/stamp-h.in: configure.ac aclocal.m4
17467 autoheader --warnings=all
17468 @echo timestamp > \$@"
17471 if test "x$with_gettextpo" = xyes
17472 then
17473 test "$srcdir" = . || as_fn_error $? "Rebuilding po files is not supported for out of tree builds." "$LINENO" 5
17474 wine_fn_append_rule "ALL_POT_FILES =$ALL_POT_FILES
17475 \$(LINGUAS:%=po/%.po): po/wine.pot
17476 msgmerge --previous -q \$@ po/wine.pot | msgattrib --no-obsolete -o \$@.new && mv \$@.new \$@
17477 po/wine.pot: \$(ALL_POT_FILES)
17478 msgcat -o \$@ \$(ALL_POT_FILES)"
17481 if test "$MSGFMT" != false
17482 then
17483 wine_fn_append_rule "__builddeps__: \$(LINGUAS:%=po/%.mo)
17484 clean::
17485 \$(RM) \$(LINGUAS:%=po/%.mo)"
17487 posrc="po"
17488 test "$srcdir" = . || posrc="$srcdir/po"
17489 for i in $LINGUAS
17491 wine_fn_ignore_file "po/$i.mo"
17492 wine_fn_append_rule "po/$i.mo: $posrc/$i.po
17493 \$(MSGFMT) -o \$@ $posrc/$i.po"
17494 done
17495 else
17496 LINGUAS=
17499 if test "x$enable_tools" != xno
17500 then
17501 wine_fn_append_rule "tools/makedep$ac_exeext: $srcdir/tools/makedep.c include/config.h config.status
17502 @./config.status tools/makedep
17503 Makefile: tools/makedep$ac_exeext
17504 distclean:: clean
17505 \$(RM) tools/makedep$ac_exeext"
17506 else
17507 wine_fn_append_rule "\$(MAKEDEP):
17508 @echo \"You need to run make in $TOOLSDIR first\" && false"
17511 if test -n "$with_wine64"
17512 then
17513 wine_fn_append_rule "all: fonts server tools $with_wine64/loader/wine $with_wine64/loader/wine-preloader
17514 fonts server tools:
17515 \$(RM) \$@ && \$(LN_S) $with_wine64/\$@ \$@
17516 $with_wine64/loader/wine:
17517 \$(RM) \$@ && \$(LN_S) $ac_pwd/loader/wine \$@
17518 $with_wine64/loader/wine-preloader:
17519 \$(RM) \$@ && \$(LN_S) $ac_pwd/loader/wine-preloader \$@
17520 clean::
17521 \$(RM) fonts server tools $with_wine64/loader/wine $with_wine64/loader/wine-preloader"
17522 else
17523 as_fn_append LOADER_RULES "
17524 all: wine.inf
17526 install install-lib:: wine.inf install-man-pages
17527 \$(INSTALL_DATA) wine.inf \$(DESTDIR)\$(datadir)/wine/wine.inf
17528 \$(INSTALL_DATA) \$(srcdir)/l_intl.nls \$(DESTDIR)\$(datadir)/wine/l_intl.nls
17530 uninstall::
17531 \$(RM) \$(DESTDIR)\$(datadir)/wine/wine.inf \$(DESTDIR)\$(datadir)/wine/l_intl.nls
17535 if test "$srcdir" = .
17536 then
17537 ac_config_commands="$ac_config_commands .gitignore"
17541 $as_echo " done" >&6
17542 cat >confcache <<\_ACEOF
17543 # This file is a shell script that caches the results of configure
17544 # tests run on this system so they can be shared between configure
17545 # scripts and configure runs, see configure's option --config-cache.
17546 # It is not useful on other systems. If it contains results you don't
17547 # want to keep, you may remove or edit it.
17549 # config.status only pays attention to the cache file if you give it
17550 # the --recheck option to rerun configure.
17552 # `ac_cv_env_foo' variables (set or unset) will be overridden when
17553 # loading this file, other *unset* `ac_cv_foo' will be assigned the
17554 # following values.
17556 _ACEOF
17558 # The following way of writing the cache mishandles newlines in values,
17559 # but we know of no workaround that is simple, portable, and efficient.
17560 # So, we kill variables containing newlines.
17561 # Ultrix sh set writes to stderr and can't be redirected directly,
17562 # and sets the high bit in the cache file unless we assign to the vars.
17564 for ac_var in `(set) 2>&1 | sed -n 's/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'`; do
17565 eval ac_val=\$$ac_var
17566 case $ac_val in #(
17567 *${as_nl}*)
17568 case $ac_var in #(
17569 *_cv_*) { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: cache variable $ac_var contains a newline" >&5
17570 $as_echo "$as_me: WARNING: cache variable $ac_var contains a newline" >&2;} ;;
17571 esac
17572 case $ac_var in #(
17573 _ | IFS | as_nl) ;; #(
17574 BASH_ARGV | BASH_SOURCE) eval $ac_var= ;; #(
17575 *) { eval $ac_var=; unset $ac_var;} ;;
17576 esac ;;
17577 esac
17578 done
17580 (set) 2>&1 |
17581 case $as_nl`(ac_space=' '; set) 2>&1` in #(
17582 *${as_nl}ac_space=\ *)
17583 # `set' does not quote correctly, so add quotes: double-quote
17584 # substitution turns \\\\ into \\, and sed turns \\ into \.
17585 sed -n \
17586 "s/'/'\\\\''/g;
17587 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\\2'/p"
17588 ;; #(
17590 # `set' quotes correctly as required by POSIX, so do not add quotes.
17591 sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
17593 esac |
17594 sort
17596 sed '
17597 /^ac_cv_env_/b end
17598 t clear
17599 :clear
17600 s/^\([^=]*\)=\(.*[{}].*\)$/test "${\1+set}" = set || &/
17601 t end
17602 s/^\([^=]*\)=\(.*\)$/\1=${\1=\2}/
17603 :end' >>confcache
17604 if diff "$cache_file" confcache >/dev/null 2>&1; then :; else
17605 if test -w "$cache_file"; then
17606 if test "x$cache_file" != "x/dev/null"; then
17607 { $as_echo "$as_me:${as_lineno-$LINENO}: updating cache $cache_file" >&5
17608 $as_echo "$as_me: updating cache $cache_file" >&6;}
17609 if test ! -f "$cache_file" || test -h "$cache_file"; then
17610 cat confcache >"$cache_file"
17611 else
17612 case $cache_file in #(
17613 */* | ?:*)
17614 mv -f confcache "$cache_file"$$ &&
17615 mv -f "$cache_file"$$ "$cache_file" ;; #(
17617 mv -f confcache "$cache_file" ;;
17618 esac
17621 else
17622 { $as_echo "$as_me:${as_lineno-$LINENO}: not updating unwritable cache $cache_file" >&5
17623 $as_echo "$as_me: not updating unwritable cache $cache_file" >&6;}
17626 rm -f confcache
17628 test "x$prefix" = xNONE && prefix=$ac_default_prefix
17629 # Let make expand exec_prefix.
17630 test "x$exec_prefix" = xNONE && exec_prefix='${prefix}'
17632 DEFS=-DHAVE_CONFIG_H
17634 ac_libobjs=
17635 ac_ltlibobjs=
17637 for ac_i in : $LIBOBJS; do test "x$ac_i" = x: && continue
17638 # 1. Remove the extension, and $U if already installed.
17639 ac_script='s/\$U\././;s/\.o$//;s/\.obj$//'
17640 ac_i=`$as_echo "$ac_i" | sed "$ac_script"`
17641 # 2. Prepend LIBOBJDIR. When used with automake>=1.10 LIBOBJDIR
17642 # will be set to the directory where LIBOBJS objects are built.
17643 as_fn_append ac_libobjs " \${LIBOBJDIR}$ac_i\$U.$ac_objext"
17644 as_fn_append ac_ltlibobjs " \${LIBOBJDIR}$ac_i"'$U.lo'
17645 done
17646 LIBOBJS=$ac_libobjs
17648 LTLIBOBJS=$ac_ltlibobjs
17652 : "${CONFIG_STATUS=./config.status}"
17653 ac_write_fail=0
17654 ac_clean_files_save=$ac_clean_files
17655 ac_clean_files="$ac_clean_files $CONFIG_STATUS"
17656 { $as_echo "$as_me:${as_lineno-$LINENO}: creating $CONFIG_STATUS" >&5
17657 $as_echo "$as_me: creating $CONFIG_STATUS" >&6;}
17658 as_write_fail=0
17659 cat >$CONFIG_STATUS <<_ASEOF || as_write_fail=1
17660 #! $SHELL
17661 # Generated by $as_me.
17662 # Run this file to recreate the current configuration.
17663 # Compiler output produced by configure, useful for debugging
17664 # configure, is in config.log if it exists.
17666 debug=false
17667 ac_cs_recheck=false
17668 ac_cs_silent=false
17670 SHELL=\${CONFIG_SHELL-$SHELL}
17671 export SHELL
17672 _ASEOF
17673 cat >>$CONFIG_STATUS <<\_ASEOF || as_write_fail=1
17674 ## -------------------- ##
17675 ## M4sh Initialization. ##
17676 ## -------------------- ##
17678 # Be more Bourne compatible
17679 DUALCASE=1; export DUALCASE # for MKS sh
17680 if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then :
17681 emulate sh
17682 NULLCMD=:
17683 # Pre-4.2 versions of Zsh do word splitting on ${1+"$@"}, which
17684 # is contrary to our usage. Disable this feature.
17685 alias -g '${1+"$@"}'='"$@"'
17686 setopt NO_GLOB_SUBST
17687 else
17688 case `(set -o) 2>/dev/null` in #(
17689 *posix*) :
17690 set -o posix ;; #(
17691 *) :
17693 esac
17697 as_nl='
17699 export as_nl
17700 # Printing a long string crashes Solaris 7 /usr/bin/printf.
17701 as_echo='\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\'
17702 as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo
17703 as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo$as_echo
17704 # Prefer a ksh shell builtin over an external printf program on Solaris,
17705 # but without wasting forks for bash or zsh.
17706 if test -z "$BASH_VERSION$ZSH_VERSION" \
17707 && (test "X`print -r -- $as_echo`" = "X$as_echo") 2>/dev/null; then
17708 as_echo='print -r --'
17709 as_echo_n='print -rn --'
17710 elif (test "X`printf %s $as_echo`" = "X$as_echo") 2>/dev/null; then
17711 as_echo='printf %s\n'
17712 as_echo_n='printf %s'
17713 else
17714 if test "X`(/usr/ucb/echo -n -n $as_echo) 2>/dev/null`" = "X-n $as_echo"; then
17715 as_echo_body='eval /usr/ucb/echo -n "$1$as_nl"'
17716 as_echo_n='/usr/ucb/echo -n'
17717 else
17718 as_echo_body='eval expr "X$1" : "X\\(.*\\)"'
17719 as_echo_n_body='eval
17720 arg=$1;
17721 case $arg in #(
17722 *"$as_nl"*)
17723 expr "X$arg" : "X\\(.*\\)$as_nl";
17724 arg=`expr "X$arg" : ".*$as_nl\\(.*\\)"`;;
17725 esac;
17726 expr "X$arg" : "X\\(.*\\)" | tr -d "$as_nl"
17728 export as_echo_n_body
17729 as_echo_n='sh -c $as_echo_n_body as_echo'
17731 export as_echo_body
17732 as_echo='sh -c $as_echo_body as_echo'
17735 # The user is always right.
17736 if test "${PATH_SEPARATOR+set}" != set; then
17737 PATH_SEPARATOR=:
17738 (PATH='/bin;/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 && {
17739 (PATH='/bin:/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 ||
17740 PATH_SEPARATOR=';'
17745 # IFS
17746 # We need space, tab and new line, in precisely that order. Quoting is
17747 # there to prevent editors from complaining about space-tab.
17748 # (If _AS_PATH_WALK were called with IFS unset, it would disable word
17749 # splitting by setting IFS to empty value.)
17750 IFS=" "" $as_nl"
17752 # Find who we are. Look in the path if we contain no directory separator.
17753 as_myself=
17754 case $0 in #((
17755 *[\\/]* ) as_myself=$0 ;;
17756 *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
17757 for as_dir in $PATH
17759 IFS=$as_save_IFS
17760 test -z "$as_dir" && as_dir=.
17761 test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break
17762 done
17763 IFS=$as_save_IFS
17766 esac
17767 # We did not find ourselves, most probably we were run as `sh COMMAND'
17768 # in which case we are not to be found in the path.
17769 if test "x$as_myself" = x; then
17770 as_myself=$0
17772 if test ! -f "$as_myself"; then
17773 $as_echo "$as_myself: error: cannot find myself; rerun with an absolute file name" >&2
17774 exit 1
17777 # Unset variables that we do not need and which cause bugs (e.g. in
17778 # pre-3.0 UWIN ksh). But do not cause bugs in bash 2.01; the "|| exit 1"
17779 # suppresses any "Segmentation fault" message there. '((' could
17780 # trigger a bug in pdksh 5.2.14.
17781 for as_var in BASH_ENV ENV MAIL MAILPATH
17782 do eval test x\${$as_var+set} = xset \
17783 && ( (unset $as_var) || exit 1) >/dev/null 2>&1 && unset $as_var || :
17784 done
17785 PS1='$ '
17786 PS2='> '
17787 PS4='+ '
17789 # NLS nuisances.
17790 LC_ALL=C
17791 export LC_ALL
17792 LANGUAGE=C
17793 export LANGUAGE
17795 # CDPATH.
17796 (unset CDPATH) >/dev/null 2>&1 && unset CDPATH
17799 # as_fn_error STATUS ERROR [LINENO LOG_FD]
17800 # ----------------------------------------
17801 # Output "`basename $0`: error: ERROR" to stderr. If LINENO and LOG_FD are
17802 # provided, also output the error to LOG_FD, referencing LINENO. Then exit the
17803 # script with STATUS, using 1 if that was 0.
17804 as_fn_error ()
17806 as_status=$1; test $as_status -eq 0 && as_status=1
17807 if test "$4"; then
17808 as_lineno=${as_lineno-"$3"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
17809 $as_echo "$as_me:${as_lineno-$LINENO}: error: $2" >&$4
17811 $as_echo "$as_me: error: $2" >&2
17812 as_fn_exit $as_status
17813 } # as_fn_error
17816 # as_fn_set_status STATUS
17817 # -----------------------
17818 # Set $? to STATUS, without forking.
17819 as_fn_set_status ()
17821 return $1
17822 } # as_fn_set_status
17824 # as_fn_exit STATUS
17825 # -----------------
17826 # Exit the shell with STATUS, even in a "trap 0" or "set -e" context.
17827 as_fn_exit ()
17829 set +e
17830 as_fn_set_status $1
17831 exit $1
17832 } # as_fn_exit
17834 # as_fn_unset VAR
17835 # ---------------
17836 # Portably unset VAR.
17837 as_fn_unset ()
17839 { eval $1=; unset $1;}
17841 as_unset=as_fn_unset
17842 # as_fn_append VAR VALUE
17843 # ----------------------
17844 # Append the text in VALUE to the end of the definition contained in VAR. Take
17845 # advantage of any shell optimizations that allow amortized linear growth over
17846 # repeated appends, instead of the typical quadratic growth present in naive
17847 # implementations.
17848 if (eval "as_var=1; as_var+=2; test x\$as_var = x12") 2>/dev/null; then :
17849 eval 'as_fn_append ()
17851 eval $1+=\$2
17853 else
17854 as_fn_append ()
17856 eval $1=\$$1\$2
17858 fi # as_fn_append
17860 # as_fn_arith ARG...
17861 # ------------------
17862 # Perform arithmetic evaluation on the ARGs, and store the result in the
17863 # global $as_val. Take advantage of shells that can avoid forks. The arguments
17864 # must be portable across $(()) and expr.
17865 if (eval "test \$(( 1 + 1 )) = 2") 2>/dev/null; then :
17866 eval 'as_fn_arith ()
17868 as_val=$(( $* ))
17870 else
17871 as_fn_arith ()
17873 as_val=`expr "$@" || test $? -eq 1`
17875 fi # as_fn_arith
17878 if expr a : '\(a\)' >/dev/null 2>&1 &&
17879 test "X`expr 00001 : '.*\(...\)'`" = X001; then
17880 as_expr=expr
17881 else
17882 as_expr=false
17885 if (basename -- /) >/dev/null 2>&1 && test "X`basename -- / 2>&1`" = "X/"; then
17886 as_basename=basename
17887 else
17888 as_basename=false
17891 if (as_dir=`dirname -- /` && test "X$as_dir" = X/) >/dev/null 2>&1; then
17892 as_dirname=dirname
17893 else
17894 as_dirname=false
17897 as_me=`$as_basename -- "$0" ||
17898 $as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
17899 X"$0" : 'X\(//\)$' \| \
17900 X"$0" : 'X\(/\)' \| . 2>/dev/null ||
17901 $as_echo X/"$0" |
17902 sed '/^.*\/\([^/][^/]*\)\/*$/{
17903 s//\1/
17906 /^X\/\(\/\/\)$/{
17907 s//\1/
17910 /^X\/\(\/\).*/{
17911 s//\1/
17914 s/.*/./; q'`
17916 # Avoid depending upon Character Ranges.
17917 as_cr_letters='abcdefghijklmnopqrstuvwxyz'
17918 as_cr_LETTERS='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
17919 as_cr_Letters=$as_cr_letters$as_cr_LETTERS
17920 as_cr_digits='0123456789'
17921 as_cr_alnum=$as_cr_Letters$as_cr_digits
17923 ECHO_C= ECHO_N= ECHO_T=
17924 case `echo -n x` in #(((((
17925 -n*)
17926 case `echo 'xy\c'` in
17927 *c*) ECHO_T=' ';; # ECHO_T is single tab character.
17928 xy) ECHO_C='\c';;
17929 *) echo `echo ksh88 bug on AIX 6.1` > /dev/null
17930 ECHO_T=' ';;
17931 esac;;
17933 ECHO_N='-n';;
17934 esac
17936 rm -f conf$$ conf$$.exe conf$$.file
17937 if test -d conf$$.dir; then
17938 rm -f conf$$.dir/conf$$.file
17939 else
17940 rm -f conf$$.dir
17941 mkdir conf$$.dir 2>/dev/null
17943 if (echo >conf$$.file) 2>/dev/null; then
17944 if ln -s conf$$.file conf$$ 2>/dev/null; then
17945 as_ln_s='ln -s'
17946 # ... but there are two gotchas:
17947 # 1) On MSYS, both `ln -s file dir' and `ln file dir' fail.
17948 # 2) DJGPP < 2.04 has no symlinks; `ln -s' creates a wrapper executable.
17949 # In both cases, we have to default to `cp -pR'.
17950 ln -s conf$$.file conf$$.dir 2>/dev/null && test ! -f conf$$.exe ||
17951 as_ln_s='cp -pR'
17952 elif ln conf$$.file conf$$ 2>/dev/null; then
17953 as_ln_s=ln
17954 else
17955 as_ln_s='cp -pR'
17957 else
17958 as_ln_s='cp -pR'
17960 rm -f conf$$ conf$$.exe conf$$.dir/conf$$.file conf$$.file
17961 rmdir conf$$.dir 2>/dev/null
17964 # as_fn_mkdir_p
17965 # -------------
17966 # Create "$as_dir" as a directory, including parents if necessary.
17967 as_fn_mkdir_p ()
17970 case $as_dir in #(
17971 -*) as_dir=./$as_dir;;
17972 esac
17973 test -d "$as_dir" || eval $as_mkdir_p || {
17974 as_dirs=
17975 while :; do
17976 case $as_dir in #(
17977 *\'*) as_qdir=`$as_echo "$as_dir" | sed "s/'/'\\\\\\\\''/g"`;; #'(
17978 *) as_qdir=$as_dir;;
17979 esac
17980 as_dirs="'$as_qdir' $as_dirs"
17981 as_dir=`$as_dirname -- "$as_dir" ||
17982 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
17983 X"$as_dir" : 'X\(//\)[^/]' \| \
17984 X"$as_dir" : 'X\(//\)$' \| \
17985 X"$as_dir" : 'X\(/\)' \| . 2>/dev/null ||
17986 $as_echo X"$as_dir" |
17987 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
17988 s//\1/
17991 /^X\(\/\/\)[^/].*/{
17992 s//\1/
17995 /^X\(\/\/\)$/{
17996 s//\1/
17999 /^X\(\/\).*/{
18000 s//\1/
18003 s/.*/./; q'`
18004 test -d "$as_dir" && break
18005 done
18006 test -z "$as_dirs" || eval "mkdir $as_dirs"
18007 } || test -d "$as_dir" || as_fn_error $? "cannot create directory $as_dir"
18010 } # as_fn_mkdir_p
18011 if mkdir -p . 2>/dev/null; then
18012 as_mkdir_p='mkdir -p "$as_dir"'
18013 else
18014 test -d ./-p && rmdir ./-p
18015 as_mkdir_p=false
18019 # as_fn_executable_p FILE
18020 # -----------------------
18021 # Test if FILE is an executable regular file.
18022 as_fn_executable_p ()
18024 test -f "$1" && test -x "$1"
18025 } # as_fn_executable_p
18026 as_test_x='test -x'
18027 as_executable_p=as_fn_executable_p
18029 # Sed expression to map a string onto a valid CPP name.
18030 as_tr_cpp="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'"
18032 # Sed expression to map a string onto a valid variable name.
18033 as_tr_sh="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'"
18036 exec 6>&1
18037 ## ----------------------------------- ##
18038 ## Main body of $CONFIG_STATUS script. ##
18039 ## ----------------------------------- ##
18040 _ASEOF
18041 test $as_write_fail = 0 && chmod +x $CONFIG_STATUS || ac_write_fail=1
18043 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
18044 # Save the log message, to keep $0 and so on meaningful, and to
18045 # report actual input values of CONFIG_FILES etc. instead of their
18046 # values after options handling.
18047 ac_log="
18048 This file was extended by Wine $as_me 1.7.14, which was
18049 generated by GNU Autoconf 2.69. Invocation command line was
18051 CONFIG_FILES = $CONFIG_FILES
18052 CONFIG_HEADERS = $CONFIG_HEADERS
18053 CONFIG_LINKS = $CONFIG_LINKS
18054 CONFIG_COMMANDS = $CONFIG_COMMANDS
18055 $ $0 $@
18057 on `(hostname || uname -n) 2>/dev/null | sed 1q`
18060 _ACEOF
18062 case $ac_config_files in *"
18063 "*) set x $ac_config_files; shift; ac_config_files=$*;;
18064 esac
18066 case $ac_config_headers in *"
18067 "*) set x $ac_config_headers; shift; ac_config_headers=$*;;
18068 esac
18071 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
18072 # Files that config.status was made for.
18073 config_files="$ac_config_files"
18074 config_headers="$ac_config_headers"
18075 config_links="$ac_config_links"
18076 config_commands="$ac_config_commands"
18078 _ACEOF
18080 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
18081 ac_cs_usage="\
18082 \`$as_me' instantiates files and other configuration actions
18083 from templates according to the current configuration. Unless the files
18084 and actions are specified as TAGs, all are instantiated by default.
18086 Usage: $0 [OPTION]... [TAG]...
18088 -h, --help print this help, then exit
18089 -V, --version print version number and configuration settings, then exit
18090 --config print configuration, then exit
18091 -q, --quiet, --silent
18092 do not print progress messages
18093 -d, --debug don't remove temporary files
18094 --recheck update $as_me by reconfiguring in the same conditions
18095 --file=FILE[:TEMPLATE]
18096 instantiate the configuration file FILE
18097 --header=FILE[:TEMPLATE]
18098 instantiate the configuration header FILE
18100 Configuration files:
18101 $config_files
18103 Configuration headers:
18104 $config_headers
18106 Configuration links:
18107 $config_links
18109 Configuration commands:
18110 $config_commands
18112 Report bugs to <wine-devel@winehq.org>.
18113 Wine home page: <http://www.winehq.org>."
18115 _ACEOF
18116 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
18117 ac_cs_config="`$as_echo "$ac_configure_args" | sed 's/^ //; s/[\\""\`\$]/\\\\&/g'`"
18118 ac_cs_version="\\
18119 Wine config.status 1.7.14
18120 configured by $0, generated by GNU Autoconf 2.69,
18121 with options \\"\$ac_cs_config\\"
18123 Copyright (C) 2012 Free Software Foundation, Inc.
18124 This config.status script is free software; the Free Software Foundation
18125 gives unlimited permission to copy, distribute and modify it."
18127 ac_pwd='$ac_pwd'
18128 srcdir='$srcdir'
18129 test -n "\$AWK" || AWK=awk
18130 _ACEOF
18132 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
18133 # The default lists apply if the user does not specify any file.
18134 ac_need_defaults=:
18135 while test $# != 0
18137 case $1 in
18138 --*=?*)
18139 ac_option=`expr "X$1" : 'X\([^=]*\)='`
18140 ac_optarg=`expr "X$1" : 'X[^=]*=\(.*\)'`
18141 ac_shift=:
18143 --*=)
18144 ac_option=`expr "X$1" : 'X\([^=]*\)='`
18145 ac_optarg=
18146 ac_shift=:
18149 ac_option=$1
18150 ac_optarg=$2
18151 ac_shift=shift
18153 esac
18155 case $ac_option in
18156 # Handling of the options.
18157 -recheck | --recheck | --rechec | --reche | --rech | --rec | --re | --r)
18158 ac_cs_recheck=: ;;
18159 --version | --versio | --versi | --vers | --ver | --ve | --v | -V )
18160 $as_echo "$ac_cs_version"; exit ;;
18161 --config | --confi | --conf | --con | --co | --c )
18162 $as_echo "$ac_cs_config"; exit ;;
18163 --debug | --debu | --deb | --de | --d | -d )
18164 debug=: ;;
18165 --file | --fil | --fi | --f )
18166 $ac_shift
18167 case $ac_optarg in
18168 *\'*) ac_optarg=`$as_echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"` ;;
18169 '') as_fn_error $? "missing file argument" ;;
18170 esac
18171 as_fn_append CONFIG_FILES " '$ac_optarg'"
18172 ac_need_defaults=false;;
18173 --header | --heade | --head | --hea )
18174 $ac_shift
18175 case $ac_optarg in
18176 *\'*) ac_optarg=`$as_echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"` ;;
18177 esac
18178 as_fn_append CONFIG_HEADERS " '$ac_optarg'"
18179 ac_need_defaults=false;;
18180 --he | --h)
18181 # Conflict between --help and --header
18182 as_fn_error $? "ambiguous option: \`$1'
18183 Try \`$0 --help' for more information.";;
18184 --help | --hel | -h )
18185 $as_echo "$ac_cs_usage"; exit ;;
18186 -q | -quiet | --quiet | --quie | --qui | --qu | --q \
18187 | -silent | --silent | --silen | --sile | --sil | --si | --s)
18188 ac_cs_silent=: ;;
18190 # This is an error.
18191 -*) as_fn_error $? "unrecognized option: \`$1'
18192 Try \`$0 --help' for more information." ;;
18194 *) as_fn_append ac_config_targets " $1"
18195 ac_need_defaults=false ;;
18197 esac
18198 shift
18199 done
18201 ac_configure_extra_args=
18203 if $ac_cs_silent; then
18204 exec 6>/dev/null
18205 ac_configure_extra_args="$ac_configure_extra_args --silent"
18208 _ACEOF
18209 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
18210 if \$ac_cs_recheck; then
18211 set X $SHELL '$0' $ac_configure_args \$ac_configure_extra_args --no-create --no-recursion
18212 shift
18213 \$as_echo "running CONFIG_SHELL=$SHELL \$*" >&6
18214 CONFIG_SHELL='$SHELL'
18215 export CONFIG_SHELL
18216 exec "\$@"
18219 _ACEOF
18220 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
18221 exec 5>>config.log
18223 echo
18224 sed 'h;s/./-/g;s/^.../## /;s/...$/ ##/;p;x;p;x' <<_ASBOX
18225 ## Running $as_me. ##
18226 _ASBOX
18227 $as_echo "$ac_log"
18228 } >&5
18230 _ACEOF
18231 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
18233 # INIT-COMMANDS
18235 wine_fn_output_makedep ()
18237 as_dir=tools; as_fn_mkdir_p
18238 $CC -Iinclude -I$srcdir/include -D__WINESRC__ $EXTRACFLAGS $CPPFLAGS $CFLAGS -o tools/makedep$ac_exeext $srcdir/tools/makedep.c $LDFLAGS
18240 wine_fn_output_makefile ()
18242 cat Make.tmp - <<\_WINE_EOF >\$tmp/makefile && mv -f \$tmp/makefile \$1 && rm -f Make.tmp && "$wine_makedep" . && return
18243 `cat $wine_rules_file`
18244 _WINE_EOF
18245 as_fn_error $? "could not create Makefile" "$LINENO" 5
18247 wine_fn_output_gitignore ()
18249 sort <<\_WINE_EOF >\$tmp/gitignore && mv -f \$tmp/gitignore \$1 && return
18250 $GITIGNORE
18251 _WINE_EOF
18252 as_fn_error $? "could not create .gitignore" "$LINENO" 5
18255 _ACEOF
18257 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
18259 # Handling of arguments.
18260 for ac_config_target in $ac_config_targets
18262 case $ac_config_target in
18263 "include/config.h") CONFIG_HEADERS="$CONFIG_HEADERS include/config.h" ;;
18264 "include/stamp-h") CONFIG_COMMANDS="$CONFIG_COMMANDS include/stamp-h" ;;
18265 "fonts/marlett.ttf") CONFIG_LINKS="$CONFIG_LINKS fonts/marlett.ttf:fonts/marlett.ttf" ;;
18266 "fonts/symbol.ttf") CONFIG_LINKS="$CONFIG_LINKS fonts/symbol.ttf:fonts/symbol.ttf" ;;
18267 "fonts/tahoma.ttf") CONFIG_LINKS="$CONFIG_LINKS fonts/tahoma.ttf:fonts/tahoma.ttf" ;;
18268 "fonts/tahomabd.ttf") CONFIG_LINKS="$CONFIG_LINKS fonts/tahomabd.ttf:fonts/tahomabd.ttf" ;;
18269 "loader/l_intl.nls") CONFIG_LINKS="$CONFIG_LINKS loader/l_intl.nls:loader/l_intl.nls" ;;
18270 "po/LINGUAS") CONFIG_LINKS="$CONFIG_LINKS po/LINGUAS:po/LINGUAS" ;;
18271 "wine") CONFIG_LINKS="$CONFIG_LINKS wine:tools/winewrapper" ;;
18272 "wine64") CONFIG_LINKS="$CONFIG_LINKS wine64:tools/winewrapper" ;;
18273 "tools/makedep") CONFIG_COMMANDS="$CONFIG_COMMANDS tools/makedep" ;;
18274 "Makefile") CONFIG_COMMANDS="$CONFIG_COMMANDS Makefile" ;;
18275 "Make.tmp") CONFIG_FILES="$CONFIG_FILES Make.tmp:Make.vars.in:Makefile.in" ;;
18276 ".gitignore") CONFIG_COMMANDS="$CONFIG_COMMANDS .gitignore" ;;
18278 *) as_fn_error $? "invalid argument: \`$ac_config_target'" "$LINENO" 5;;
18279 esac
18280 done
18283 # If the user did not use the arguments to specify the items to instantiate,
18284 # then the envvar interface is used. Set only those that are not.
18285 # We use the long form for the default assignment because of an extremely
18286 # bizarre bug on SunOS 4.1.3.
18287 if $ac_need_defaults; then
18288 test "${CONFIG_FILES+set}" = set || CONFIG_FILES=$config_files
18289 test "${CONFIG_HEADERS+set}" = set || CONFIG_HEADERS=$config_headers
18290 test "${CONFIG_LINKS+set}" = set || CONFIG_LINKS=$config_links
18291 test "${CONFIG_COMMANDS+set}" = set || CONFIG_COMMANDS=$config_commands
18294 # Have a temporary directory for convenience. Make it in the build tree
18295 # simply because there is no reason against having it here, and in addition,
18296 # creating and moving files from /tmp can sometimes cause problems.
18297 # Hook for its removal unless debugging.
18298 # Note that there is a small window in which the directory will not be cleaned:
18299 # after its creation but before its name has been assigned to `$tmp'.
18300 $debug ||
18302 tmp= ac_tmp=
18303 trap 'exit_status=$?
18304 : "${ac_tmp:=$tmp}"
18305 { test ! -d "$ac_tmp" || rm -fr "$ac_tmp"; } && exit $exit_status
18307 trap 'as_fn_exit 1' 1 2 13 15
18309 # Create a (secure) tmp directory for tmp files.
18312 tmp=`(umask 077 && mktemp -d "./confXXXXXX") 2>/dev/null` &&
18313 test -d "$tmp"
18314 } ||
18316 tmp=./conf$$-$RANDOM
18317 (umask 077 && mkdir "$tmp")
18318 } || as_fn_error $? "cannot create a temporary directory in ." "$LINENO" 5
18319 ac_tmp=$tmp
18321 # Set up the scripts for CONFIG_FILES section.
18322 # No need to generate them if there are no CONFIG_FILES.
18323 # This happens for instance with `./config.status config.h'.
18324 if test -n "$CONFIG_FILES"; then
18327 ac_cr=`echo X | tr X '\015'`
18328 # On cygwin, bash can eat \r inside `` if the user requested igncr.
18329 # But we know of no other shell where ac_cr would be empty at this
18330 # point, so we can use a bashism as a fallback.
18331 if test "x$ac_cr" = x; then
18332 eval ac_cr=\$\'\\r\'
18334 ac_cs_awk_cr=`$AWK 'BEGIN { print "a\rb" }' </dev/null 2>/dev/null`
18335 if test "$ac_cs_awk_cr" = "a${ac_cr}b"; then
18336 ac_cs_awk_cr='\\r'
18337 else
18338 ac_cs_awk_cr=$ac_cr
18341 echo 'BEGIN {' >"$ac_tmp/subs1.awk" &&
18342 _ACEOF
18346 echo "cat >conf$$subs.awk <<_ACEOF" &&
18347 echo "$ac_subst_vars" | sed 's/.*/&!$&$ac_delim/' &&
18348 echo "_ACEOF"
18349 } >conf$$subs.sh ||
18350 as_fn_error $? "could not make $CONFIG_STATUS" "$LINENO" 5
18351 ac_delim_num=`echo "$ac_subst_vars" | grep -c '^'`
18352 ac_delim='%!_!# '
18353 for ac_last_try in false false false false false :; do
18354 . ./conf$$subs.sh ||
18355 as_fn_error $? "could not make $CONFIG_STATUS" "$LINENO" 5
18357 ac_delim_n=`sed -n "s/.*$ac_delim\$/X/p" conf$$subs.awk | grep -c X`
18358 if test $ac_delim_n = $ac_delim_num; then
18359 break
18360 elif $ac_last_try; then
18361 as_fn_error $? "could not make $CONFIG_STATUS" "$LINENO" 5
18362 else
18363 ac_delim="$ac_delim!$ac_delim _$ac_delim!! "
18365 done
18366 rm -f conf$$subs.sh
18368 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
18369 cat >>"\$ac_tmp/subs1.awk" <<\\_ACAWK &&
18370 _ACEOF
18371 sed -n '
18373 s/^/S["/; s/!.*/"]=/
18376 s/^[^!]*!//
18377 :repl
18378 t repl
18379 s/'"$ac_delim"'$//
18380 t delim
18383 s/\(.\{148\}\)..*/\1/
18384 t more1
18385 s/["\\]/\\&/g; s/^/"/; s/$/\\n"\\/
18388 b repl
18389 :more1
18390 s/["\\]/\\&/g; s/^/"/; s/$/"\\/
18393 s/.\{148\}//
18394 t nl
18395 :delim
18397 s/\(.\{148\}\)..*/\1/
18398 t more2
18399 s/["\\]/\\&/g; s/^/"/; s/$/"/
18402 :more2
18403 s/["\\]/\\&/g; s/^/"/; s/$/"\\/
18406 s/.\{148\}//
18407 t delim
18408 ' <conf$$subs.awk | sed '
18409 /^[^""]/{
18411 s/\n//
18413 ' >>$CONFIG_STATUS || ac_write_fail=1
18414 rm -f conf$$subs.awk
18415 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
18416 _ACAWK
18417 cat >>"\$ac_tmp/subs1.awk" <<_ACAWK &&
18418 for (key in S) S_is_set[key] = 1
18419 FS = "\a"
18423 line = $ 0
18424 nfields = split(line, field, "@")
18425 substed = 0
18426 len = length(field[1])
18427 for (i = 2; i < nfields; i++) {
18428 key = field[i]
18429 keylen = length(key)
18430 if (S_is_set[key]) {
18431 value = S[key]
18432 line = substr(line, 1, len) "" value "" substr(line, len + keylen + 3)
18433 len += length(value) + length(field[++i])
18434 substed = 1
18435 } else
18436 len += 1 + keylen
18439 print line
18442 _ACAWK
18443 _ACEOF
18444 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
18445 if sed "s/$ac_cr//" < /dev/null > /dev/null 2>&1; then
18446 sed "s/$ac_cr\$//; s/$ac_cr/$ac_cs_awk_cr/g"
18447 else
18449 fi < "$ac_tmp/subs1.awk" > "$ac_tmp/subs.awk" \
18450 || as_fn_error $? "could not setup config files machinery" "$LINENO" 5
18451 _ACEOF
18453 # VPATH may cause trouble with some makes, so we remove sole $(srcdir),
18454 # ${srcdir} and @srcdir@ entries from VPATH if srcdir is ".", strip leading and
18455 # trailing colons and then remove the whole line if VPATH becomes empty
18456 # (actually we leave an empty line to preserve line numbers).
18457 if test "x$srcdir" = x.; then
18458 ac_vpsub='/^[ ]*VPATH[ ]*=[ ]*/{
18460 s///
18461 s/^/:/
18462 s/[ ]*$/:/
18463 s/:\$(srcdir):/:/g
18464 s/:\${srcdir}:/:/g
18465 s/:@srcdir@:/:/g
18466 s/^:*//
18467 s/:*$//
18469 s/\(=[ ]*\).*/\1/
18471 s/\n//
18472 s/^[^=]*=[ ]*$//
18476 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
18477 fi # test -n "$CONFIG_FILES"
18479 # Set up the scripts for CONFIG_HEADERS section.
18480 # No need to generate them if there are no CONFIG_HEADERS.
18481 # This happens for instance with `./config.status Makefile'.
18482 if test -n "$CONFIG_HEADERS"; then
18483 cat >"$ac_tmp/defines.awk" <<\_ACAWK ||
18484 BEGIN {
18485 _ACEOF
18487 # Transform confdefs.h into an awk script `defines.awk', embedded as
18488 # here-document in config.status, that substitutes the proper values into
18489 # config.h.in to produce config.h.
18491 # Create a delimiter string that does not exist in confdefs.h, to ease
18492 # handling of long lines.
18493 ac_delim='%!_!# '
18494 for ac_last_try in false false :; do
18495 ac_tt=`sed -n "/$ac_delim/p" confdefs.h`
18496 if test -z "$ac_tt"; then
18497 break
18498 elif $ac_last_try; then
18499 as_fn_error $? "could not make $CONFIG_HEADERS" "$LINENO" 5
18500 else
18501 ac_delim="$ac_delim!$ac_delim _$ac_delim!! "
18503 done
18505 # For the awk script, D is an array of macro values keyed by name,
18506 # likewise P contains macro parameters if any. Preserve backslash
18507 # newline sequences.
18509 ac_word_re=[_$as_cr_Letters][_$as_cr_alnum]*
18510 sed -n '
18511 s/.\{148\}/&'"$ac_delim"'/g
18512 t rset
18513 :rset
18514 s/^[ ]*#[ ]*define[ ][ ]*/ /
18515 t def
18517 :def
18518 s/\\$//
18519 t bsnl
18520 s/["\\]/\\&/g
18521 s/^ \('"$ac_word_re"'\)\(([^()]*)\)[ ]*\(.*\)/P["\1"]="\2"\
18522 D["\1"]=" \3"/p
18523 s/^ \('"$ac_word_re"'\)[ ]*\(.*\)/D["\1"]=" \2"/p
18525 :bsnl
18526 s/["\\]/\\&/g
18527 s/^ \('"$ac_word_re"'\)\(([^()]*)\)[ ]*\(.*\)/P["\1"]="\2"\
18528 D["\1"]=" \3\\\\\\n"\\/p
18529 t cont
18530 s/^ \('"$ac_word_re"'\)[ ]*\(.*\)/D["\1"]=" \2\\\\\\n"\\/p
18531 t cont
18533 :cont
18535 s/.\{148\}/&'"$ac_delim"'/g
18536 t clear
18537 :clear
18538 s/\\$//
18539 t bsnlc
18540 s/["\\]/\\&/g; s/^/"/; s/$/"/p
18542 :bsnlc
18543 s/["\\]/\\&/g; s/^/"/; s/$/\\\\\\n"\\/p
18544 b cont
18545 ' <confdefs.h | sed '
18546 s/'"$ac_delim"'/"\\\
18547 "/g' >>$CONFIG_STATUS || ac_write_fail=1
18549 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
18550 for (key in D) D_is_set[key] = 1
18551 FS = "\a"
18553 /^[\t ]*#[\t ]*(define|undef)[\t ]+$ac_word_re([\t (]|\$)/ {
18554 line = \$ 0
18555 split(line, arg, " ")
18556 if (arg[1] == "#") {
18557 defundef = arg[2]
18558 mac1 = arg[3]
18559 } else {
18560 defundef = substr(arg[1], 2)
18561 mac1 = arg[2]
18563 split(mac1, mac2, "(") #)
18564 macro = mac2[1]
18565 prefix = substr(line, 1, index(line, defundef) - 1)
18566 if (D_is_set[macro]) {
18567 # Preserve the white space surrounding the "#".
18568 print prefix "define", macro P[macro] D[macro]
18569 next
18570 } else {
18571 # Replace #undef with comments. This is necessary, for example,
18572 # in the case of _POSIX_SOURCE, which is predefined and required
18573 # on some systems where configure will not decide to define it.
18574 if (defundef == "undef") {
18575 print "/*", prefix defundef, macro, "*/"
18576 next
18580 { print }
18581 _ACAWK
18582 _ACEOF
18583 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
18584 as_fn_error $? "could not setup config headers machinery" "$LINENO" 5
18585 fi # test -n "$CONFIG_HEADERS"
18588 eval set X " :F $CONFIG_FILES :H $CONFIG_HEADERS :L $CONFIG_LINKS :C $CONFIG_COMMANDS"
18589 shift
18590 for ac_tag
18592 case $ac_tag in
18593 :[FHLC]) ac_mode=$ac_tag; continue;;
18594 esac
18595 case $ac_mode$ac_tag in
18596 :[FHL]*:*);;
18597 :L* | :C*:*) as_fn_error $? "invalid tag \`$ac_tag'" "$LINENO" 5;;
18598 :[FH]-) ac_tag=-:-;;
18599 :[FH]*) ac_tag=$ac_tag:$ac_tag.in;;
18600 esac
18601 ac_save_IFS=$IFS
18602 IFS=:
18603 set x $ac_tag
18604 IFS=$ac_save_IFS
18605 shift
18606 ac_file=$1
18607 shift
18609 case $ac_mode in
18610 :L) ac_source=$1;;
18611 :[FH])
18612 ac_file_inputs=
18613 for ac_f
18615 case $ac_f in
18616 -) ac_f="$ac_tmp/stdin";;
18617 *) # Look for the file first in the build tree, then in the source tree
18618 # (if the path is not absolute). The absolute path cannot be DOS-style,
18619 # because $ac_f cannot contain `:'.
18620 test -f "$ac_f" ||
18621 case $ac_f in
18622 [\\/$]*) false;;
18623 *) test -f "$srcdir/$ac_f" && ac_f="$srcdir/$ac_f";;
18624 esac ||
18625 as_fn_error 1 "cannot find input file: \`$ac_f'" "$LINENO" 5;;
18626 esac
18627 case $ac_f in *\'*) ac_f=`$as_echo "$ac_f" | sed "s/'/'\\\\\\\\''/g"`;; esac
18628 as_fn_append ac_file_inputs " '$ac_f'"
18629 done
18631 # Let's still pretend it is `configure' which instantiates (i.e., don't
18632 # use $as_me), people would be surprised to read:
18633 # /* config.h. Generated by config.status. */
18634 configure_input='Generated from '`
18635 $as_echo "$*" | sed 's|^[^:]*/||;s|:[^:]*/|, |g'
18636 `' by configure.'
18637 if test x"$ac_file" != x-; then
18638 configure_input="$ac_file. $configure_input"
18639 { $as_echo "$as_me:${as_lineno-$LINENO}: creating $ac_file" >&5
18640 $as_echo "$as_me: creating $ac_file" >&6;}
18642 # Neutralize special characters interpreted by sed in replacement strings.
18643 case $configure_input in #(
18644 *\&* | *\|* | *\\* )
18645 ac_sed_conf_input=`$as_echo "$configure_input" |
18646 sed 's/[\\\\&|]/\\\\&/g'`;; #(
18647 *) ac_sed_conf_input=$configure_input;;
18648 esac
18650 case $ac_tag in
18651 *:-:* | *:-) cat >"$ac_tmp/stdin" \
18652 || as_fn_error $? "could not create $ac_file" "$LINENO" 5 ;;
18653 esac
18655 esac
18657 ac_dir=`$as_dirname -- "$ac_file" ||
18658 $as_expr X"$ac_file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
18659 X"$ac_file" : 'X\(//\)[^/]' \| \
18660 X"$ac_file" : 'X\(//\)$' \| \
18661 X"$ac_file" : 'X\(/\)' \| . 2>/dev/null ||
18662 $as_echo X"$ac_file" |
18663 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
18664 s//\1/
18667 /^X\(\/\/\)[^/].*/{
18668 s//\1/
18671 /^X\(\/\/\)$/{
18672 s//\1/
18675 /^X\(\/\).*/{
18676 s//\1/
18679 s/.*/./; q'`
18680 as_dir="$ac_dir"; as_fn_mkdir_p
18681 ac_builddir=.
18683 case "$ac_dir" in
18684 .) ac_dir_suffix= ac_top_builddir_sub=. ac_top_build_prefix= ;;
18686 ac_dir_suffix=/`$as_echo "$ac_dir" | sed 's|^\.[\\/]||'`
18687 # A ".." for each directory in $ac_dir_suffix.
18688 ac_top_builddir_sub=`$as_echo "$ac_dir_suffix" | sed 's|/[^\\/]*|/..|g;s|/||'`
18689 case $ac_top_builddir_sub in
18690 "") ac_top_builddir_sub=. ac_top_build_prefix= ;;
18691 *) ac_top_build_prefix=$ac_top_builddir_sub/ ;;
18692 esac ;;
18693 esac
18694 ac_abs_top_builddir=$ac_pwd
18695 ac_abs_builddir=$ac_pwd$ac_dir_suffix
18696 # for backward compatibility:
18697 ac_top_builddir=$ac_top_build_prefix
18699 case $srcdir in
18700 .) # We are building in place.
18701 ac_srcdir=.
18702 ac_top_srcdir=$ac_top_builddir_sub
18703 ac_abs_top_srcdir=$ac_pwd ;;
18704 [\\/]* | ?:[\\/]* ) # Absolute name.
18705 ac_srcdir=$srcdir$ac_dir_suffix;
18706 ac_top_srcdir=$srcdir
18707 ac_abs_top_srcdir=$srcdir ;;
18708 *) # Relative name.
18709 ac_srcdir=$ac_top_build_prefix$srcdir$ac_dir_suffix
18710 ac_top_srcdir=$ac_top_build_prefix$srcdir
18711 ac_abs_top_srcdir=$ac_pwd/$srcdir ;;
18712 esac
18713 ac_abs_srcdir=$ac_abs_top_srcdir$ac_dir_suffix
18716 case $ac_mode in
18719 # CONFIG_FILE
18722 _ACEOF
18724 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
18725 # If the template does not know about datarootdir, expand it.
18726 # FIXME: This hack should be removed a few years after 2.60.
18727 ac_datarootdir_hack=; ac_datarootdir_seen=
18728 ac_sed_dataroot='
18729 /datarootdir/ {
18733 /@datadir@/p
18734 /@docdir@/p
18735 /@infodir@/p
18736 /@localedir@/p
18737 /@mandir@/p'
18738 case `eval "sed -n \"\$ac_sed_dataroot\" $ac_file_inputs"` in
18739 *datarootdir*) ac_datarootdir_seen=yes;;
18740 *@datadir@*|*@docdir@*|*@infodir@*|*@localedir@*|*@mandir@*)
18741 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&5
18742 $as_echo "$as_me: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&2;}
18743 _ACEOF
18744 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
18745 ac_datarootdir_hack='
18746 s&@datadir@&$datadir&g
18747 s&@docdir@&$docdir&g
18748 s&@infodir@&$infodir&g
18749 s&@localedir@&$localedir&g
18750 s&@mandir@&$mandir&g
18751 s&\\\${datarootdir}&$datarootdir&g' ;;
18752 esac
18753 _ACEOF
18755 # Neutralize VPATH when `$srcdir' = `.'.
18756 # Shell code in configure.ac might set extrasub.
18757 # FIXME: do we really want to maintain this feature?
18758 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
18759 ac_sed_extra="$ac_vpsub
18760 $extrasub
18761 _ACEOF
18762 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
18764 /@[a-zA-Z_][a-zA-Z_0-9]*@/!b
18765 s|@configure_input@|$ac_sed_conf_input|;t t
18766 s&@top_builddir@&$ac_top_builddir_sub&;t t
18767 s&@top_build_prefix@&$ac_top_build_prefix&;t t
18768 s&@srcdir@&$ac_srcdir&;t t
18769 s&@abs_srcdir@&$ac_abs_srcdir&;t t
18770 s&@top_srcdir@&$ac_top_srcdir&;t t
18771 s&@abs_top_srcdir@&$ac_abs_top_srcdir&;t t
18772 s&@builddir@&$ac_builddir&;t t
18773 s&@abs_builddir@&$ac_abs_builddir&;t t
18774 s&@abs_top_builddir@&$ac_abs_top_builddir&;t t
18775 $ac_datarootdir_hack
18777 eval sed \"\$ac_sed_extra\" "$ac_file_inputs" | $AWK -f "$ac_tmp/subs.awk" \
18778 >$ac_tmp/out || as_fn_error $? "could not create $ac_file" "$LINENO" 5
18780 test -z "$ac_datarootdir_hack$ac_datarootdir_seen" &&
18781 { ac_out=`sed -n '/\${datarootdir}/p' "$ac_tmp/out"`; test -n "$ac_out"; } &&
18782 { ac_out=`sed -n '/^[ ]*datarootdir[ ]*:*=/p' \
18783 "$ac_tmp/out"`; test -z "$ac_out"; } &&
18784 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $ac_file contains a reference to the variable \`datarootdir'
18785 which seems to be undefined. Please make sure it is defined" >&5
18786 $as_echo "$as_me: WARNING: $ac_file contains a reference to the variable \`datarootdir'
18787 which seems to be undefined. Please make sure it is defined" >&2;}
18789 rm -f "$ac_tmp/stdin"
18790 case $ac_file in
18791 -) cat "$ac_tmp/out" && rm -f "$ac_tmp/out";;
18792 *) rm -f "$ac_file" && mv "$ac_tmp/out" "$ac_file";;
18793 esac \
18794 || as_fn_error $? "could not create $ac_file" "$LINENO" 5
18798 # CONFIG_HEADER
18800 if test x"$ac_file" != x-; then
18802 $as_echo "/* $configure_input */" \
18803 && eval '$AWK -f "$ac_tmp/defines.awk"' "$ac_file_inputs"
18804 } >"$ac_tmp/config.h" \
18805 || as_fn_error $? "could not create $ac_file" "$LINENO" 5
18806 if diff "$ac_file" "$ac_tmp/config.h" >/dev/null 2>&1; then
18807 { $as_echo "$as_me:${as_lineno-$LINENO}: $ac_file is unchanged" >&5
18808 $as_echo "$as_me: $ac_file is unchanged" >&6;}
18809 else
18810 rm -f "$ac_file"
18811 mv "$ac_tmp/config.h" "$ac_file" \
18812 || as_fn_error $? "could not create $ac_file" "$LINENO" 5
18814 else
18815 $as_echo "/* $configure_input */" \
18816 && eval '$AWK -f "$ac_tmp/defines.awk"' "$ac_file_inputs" \
18817 || as_fn_error $? "could not create -" "$LINENO" 5
18822 # CONFIG_LINK
18825 if test "$ac_source" = "$ac_file" && test "$srcdir" = '.'; then
18827 else
18828 # Prefer the file from the source tree if names are identical.
18829 if test "$ac_source" = "$ac_file" || test ! -r "$ac_source"; then
18830 ac_source=$srcdir/$ac_source
18833 { $as_echo "$as_me:${as_lineno-$LINENO}: linking $ac_source to $ac_file" >&5
18834 $as_echo "$as_me: linking $ac_source to $ac_file" >&6;}
18836 if test ! -r "$ac_source"; then
18837 as_fn_error $? "$ac_source: file not found" "$LINENO" 5
18839 rm -f "$ac_file"
18841 # Try a relative symlink, then a hard link, then a copy.
18842 case $ac_source in
18843 [\\/$]* | ?:[\\/]* ) ac_rel_source=$ac_source ;;
18844 *) ac_rel_source=$ac_top_build_prefix$ac_source ;;
18845 esac
18846 ln -s "$ac_rel_source" "$ac_file" 2>/dev/null ||
18847 ln "$ac_source" "$ac_file" 2>/dev/null ||
18848 cp -p "$ac_source" "$ac_file" ||
18849 as_fn_error $? "cannot link or copy $ac_source to $ac_file" "$LINENO" 5
18852 :C) { $as_echo "$as_me:${as_lineno-$LINENO}: executing $ac_file commands" >&5
18853 $as_echo "$as_me: executing $ac_file commands" >&6;}
18855 esac
18858 case $ac_file$ac_mode in
18859 "include/stamp-h":C) echo timestamp > include/stamp-h ;;
18860 "tools/makedep":C) wine_fn_output_makedep || as_fn_exit $? ;;
18861 "Makefile":C) wine_fn_output_makefile Makefile ;;
18862 ".gitignore":C) wine_fn_output_gitignore .gitignore ;;
18864 esac
18865 done # for ac_tag
18868 as_fn_exit 0
18869 _ACEOF
18870 ac_clean_files=$ac_clean_files_save
18872 test $ac_write_fail = 0 ||
18873 as_fn_error $? "write failure creating $CONFIG_STATUS" "$LINENO" 5
18876 # configure is writing to config.log, and then calls config.status.
18877 # config.status does its own redirection, appending to config.log.
18878 # Unfortunately, on DOS this fails, as config.log is still kept open
18879 # by configure, so config.status won't be able to write to it; its
18880 # output is simply discarded. So we exec the FD to /dev/null,
18881 # effectively closing config.log, so it can be properly (re)opened and
18882 # appended to by config.status. When coming back to configure, we
18883 # need to make the FD available again.
18884 if test "$no_create" != yes; then
18885 ac_cs_success=:
18886 ac_config_status_args=
18887 test "$silent" = yes &&
18888 ac_config_status_args="$ac_config_status_args --quiet"
18889 exec 5>/dev/null
18890 $SHELL $CONFIG_STATUS $ac_config_status_args || ac_cs_success=false
18891 exec 5>>config.log
18892 # Use ||, not &&, to avoid exiting from the if with $? = 1, which
18893 # would make configure fail if this is the last instruction.
18894 $ac_cs_success || as_fn_exit 1
18896 if test -n "$ac_unrecognized_opts" && test "$enable_option_checking" != no; then
18897 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: unrecognized options: $ac_unrecognized_opts" >&5
18898 $as_echo "$as_me: WARNING: unrecognized options: $ac_unrecognized_opts" >&2;}
18902 if test "$no_create" = "yes"
18903 then
18904 exit 0
18907 ac_save_IFS="$IFS"
18908 if test "x$wine_notices != "x; then
18909 echo >&6
18910 IFS="|"
18911 for msg in $wine_notices; do
18912 IFS="$ac_save_IFS"
18913 if ${msg:+false} :; then :
18915 else
18916 { $as_echo "$as_me:${as_lineno-$LINENO}: $msg" >&5
18917 $as_echo "$as_me: $msg" >&6;}
18919 done
18921 IFS="|"
18922 for msg in $wine_warnings; do
18923 IFS="$ac_save_IFS"
18924 if ${msg:+false} :; then :
18926 else
18927 echo >&2
18928 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $msg" >&5
18929 $as_echo "$as_me: WARNING: $msg" >&2;}
18931 done
18932 IFS="$ac_save_IFS"
18934 $as_echo "
18935 $as_me: Finished. Do '${ac_make}' to compile Wine.
18936 " >&6