usp10: Rewrite resolveNeutral and resolveImplicit for Unicode 6.3.
[wine/multimedia.git] / configure
blob8277d3c67f4372f7bb726590cf7d44ceb38741e7
1 #! /bin/sh
2 # Guess values for system-dependent variables and create Makefiles.
3 # Generated by GNU Autoconf 2.69 for Wine 1.7.5.
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.5'
584 PACKAGE_STRING='Wine 1.7.5'
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 PORCFLAGS
628 LINGUAS
629 ALL_TEST_RESOURCES
630 MAKE_TEST_RULES
631 MAKE_PROG_RULES
632 MAKE_DLL_RULES
633 MAKE_IMPLIB_RULES
634 LDAPLIBS
635 LIBRT
636 LIBPOLL
637 LIBDL
638 TOOLSEXT
639 UNWINDFLAGS
640 BUILTINFLAG
641 EXTRACFLAGS
642 LIBPROCSTAT
643 LIBKSTAT
644 LIBOPENAL
645 MPG123_LIBS
646 MPG123_CFLAGS
647 TIFF_LIBS
648 TIFF_CFLAGS
649 PNG_LIBS
650 PNG_CFLAGS
651 JPEG_LIBS
652 JPEG_CFLAGS
653 FONTCONFIGINCL
654 CUPSINCL
655 CAPI20_LIBS
656 CAPI20_CFLAGS
657 OSS4INCL
658 ALSALIBS
659 GSTREAMER_LIBS
660 GSTREAMER_CFLAGS
661 LIBGETTEXTPO
662 ZLIB
663 FREETYPE_LIBS
664 FREETYPE_CFLAGS
665 LCMS2_LIBS
666 LCMS2_CFLAGS
667 RESOLVLIBS
668 GPHOTO2_PORT_LIBS
669 GPHOTO2_PORT_CFLAGS
670 GPHOTO2_LIBS
671 GPHOTO2_CFLAGS
672 SANE_LIBS
673 SANE_CFLAGS
674 GNUTLS_LIBS
675 GNUTLS_CFLAGS
676 HAL_LIBS
677 HAL_CFLAGS
678 DBUS_LIBS
679 DBUS_CFLAGS
680 XSLT_LIBS
681 XSLT_CFLAGS
682 XML2_LIBS
683 XML2_CFLAGS
684 X_EXTRA_LIBS
685 X_LIBS
686 X_PRE_LIBS
687 X_CFLAGS
688 XMKMF
689 LIBPTHREAD
690 CROSSCC
691 CROSSTARGET
692 PRELINK
693 CARBONLIB
694 QUICKTIMELIB
695 LIBOPENCL
696 FRAMEWORK_OPENAL
697 COREAUDIO
698 SECURITYLIB
699 DISKARBITRATIONLIB
700 APPKITLIB
701 CORESERVICESLIB
702 APPLICATIONSERVICESLIB
703 FORCEFEEDBACKLIB
704 IOKITLIB
705 COREFOUNDATIONLIB
706 LIBWINE_RULES
707 SOCKETLIBS
708 DLLTOOL
709 LOADER_RULES
710 READELF
712 LDRPATH_LOCAL
713 LDRPATH_INSTALL
714 IMPLIBEXT
715 DLLFLAGS
716 DLLPREFIX
717 dlldir
719 OPENGL_LIBS
720 XLIB
721 MAINTAINER_MODE
722 PKG_CONFIG
723 MSGFMT
724 ICOTOOL
725 CONVERT
726 RSVG
727 FONTFORGE
728 INSTALL_DATA
729 INSTALL_SCRIPT
730 INSTALL_PROGRAM
731 LDCONFIG
732 MKDIR_P
733 EGREP
734 GREP
735 LN_S
736 RANLIB
737 ARFLAGS
738 STRIP
739 ac_ct_AR
741 BISON
742 FLEX
743 TOOLSDIR
744 TARGETFLAGS
745 CPPBIN
746 ac_ct_CXX
747 CXXFLAGS
749 OBJEXT
750 EXEEXT
751 ac_ct_CC
752 CPPFLAGS
753 LDFLAGS
754 CFLAGS
756 SET_MAKE
757 host_os
758 host_vendor
759 host_cpu
760 host
761 build_os
762 build_vendor
763 build_cpu
764 build
765 target_alias
766 host_alias
767 build_alias
768 LIBS
769 ECHO_T
770 ECHO_N
771 ECHO_C
772 DEFS
773 mandir
774 localedir
775 libdir
776 psdir
777 pdfdir
778 dvidir
779 htmldir
780 infodir
781 docdir
782 oldincludedir
783 includedir
784 localstatedir
785 sharedstatedir
786 sysconfdir
787 datadir
788 datarootdir
789 libexecdir
790 sbindir
791 bindir
792 program_transform_name
793 prefix
794 exec_prefix
795 PACKAGE_URL
796 PACKAGE_BUGREPORT
797 PACKAGE_STRING
798 PACKAGE_VERSION
799 PACKAGE_TARNAME
800 PACKAGE_NAME
801 PATH_SEPARATOR
802 SHELL'
803 ac_subst_files='MAKE_RULES'
804 ac_user_opts='
805 enable_option_checking
806 enable_win16
807 enable_win64
808 enable_tests
809 enable_maintainer_mode
810 with_alsa
811 with_capi
812 with_cms
813 with_coreaudio
814 with_cups
815 with_curses
816 with_dbus
817 with_fontconfig
818 with_freetype
819 with_gettext
820 with_gettextpo
821 with_gphoto
822 with_glu
823 with_gnutls
824 with_gsm
825 with_gstreamer
826 with_hal
827 with_jpeg
828 with_ldap
829 with_mpg123
830 with_openal
831 with_opencl
832 with_opengl
833 with_osmesa
834 with_oss
835 with_png
836 with_pthread
837 with_sane
838 with_tiff
839 with_v4l
840 with_xcomposite
841 with_xcursor
842 with_xinerama
843 with_xinput
844 with_xinput2
845 with_xml
846 with_xrandr
847 with_xrender
848 with_xshape
849 with_xshm
850 with_xslt
851 with_xxf86vm
852 with_zlib
853 with_wine_tools
854 with_wine64
855 enable_largefile
856 with_x
857 enable_acledit
858 enable_aclui
859 enable_activeds
860 enable_actxprxy
861 enable_advapi32
862 enable_advpack
863 enable_amstream
864 enable_api_ms_win_core_localregistry_l1_1_0
865 enable_api_ms_win_core_processthreads_l1_1_0
866 enable_api_ms_win_core_winrt_error_l1_1_0
867 enable_api_ms_win_core_winrt_string_l1_1_0
868 enable_api_ms_win_downlevel_advapi32_l1_1_0
869 enable_api_ms_win_downlevel_advapi32_l2_1_0
870 enable_api_ms_win_downlevel_normaliz_l1_1_0
871 enable_api_ms_win_downlevel_ole32_l1_1_0
872 enable_api_ms_win_downlevel_shell32_l1_1_0
873 enable_api_ms_win_downlevel_shlwapi_l1_1_0
874 enable_api_ms_win_downlevel_shlwapi_l2_1_0
875 enable_api_ms_win_downlevel_user32_l1_1_0
876 enable_api_ms_win_downlevel_version_l1_1_0
877 enable_api_ms_win_security_base_l1_1_0
878 enable_apphelp
879 enable_appwiz_cpl
880 enable_atl
881 enable_atl100
882 enable_atl110
883 enable_atl80
884 enable_atl90
885 enable_authz
886 enable_avicap32
887 enable_avifil32
888 enable_avrt
889 enable_bcrypt
890 enable_browseui
891 enable_cabinet
892 enable_capi2032
893 enable_cards
894 enable_cfgmgr32
895 enable_clusapi
896 enable_comcat
897 enable_comctl32
898 enable_comdlg32
899 enable_compstui
900 enable_comsvcs
901 enable_credui
902 enable_crtdll
903 enable_crypt32
904 enable_cryptdlg
905 enable_cryptdll
906 enable_cryptnet
907 enable_cryptui
908 enable_ctapi32
909 enable_ctl3d32
910 enable_d3d10
911 enable_d3d10core
912 enable_d3d11
913 enable_d3d8
914 enable_d3d9
915 enable_d3dcompiler_33
916 enable_d3dcompiler_34
917 enable_d3dcompiler_35
918 enable_d3dcompiler_36
919 enable_d3dcompiler_37
920 enable_d3dcompiler_38
921 enable_d3dcompiler_39
922 enable_d3dcompiler_40
923 enable_d3dcompiler_41
924 enable_d3dcompiler_42
925 enable_d3dcompiler_43
926 enable_d3dim
927 enable_d3drm
928 enable_d3dx10_33
929 enable_d3dx10_34
930 enable_d3dx10_35
931 enable_d3dx10_36
932 enable_d3dx10_37
933 enable_d3dx10_38
934 enable_d3dx10_39
935 enable_d3dx10_40
936 enable_d3dx10_41
937 enable_d3dx10_42
938 enable_d3dx10_43
939 enable_d3dx11_42
940 enable_d3dx11_43
941 enable_d3dx9_24
942 enable_d3dx9_25
943 enable_d3dx9_26
944 enable_d3dx9_27
945 enable_d3dx9_28
946 enable_d3dx9_29
947 enable_d3dx9_30
948 enable_d3dx9_31
949 enable_d3dx9_32
950 enable_d3dx9_33
951 enable_d3dx9_34
952 enable_d3dx9_35
953 enable_d3dx9_36
954 enable_d3dx9_37
955 enable_d3dx9_38
956 enable_d3dx9_39
957 enable_d3dx9_40
958 enable_d3dx9_41
959 enable_d3dx9_42
960 enable_d3dx9_43
961 enable_d3dxof
962 enable_dbgeng
963 enable_dbghelp
964 enable_dciman32
965 enable_ddraw
966 enable_ddrawex
967 enable_devenum
968 enable_dhcpcsvc
969 enable_difxapi
970 enable_dinput
971 enable_dinput8
972 enable_dispex
973 enable_dmband
974 enable_dmcompos
975 enable_dmime
976 enable_dmloader
977 enable_dmscript
978 enable_dmstyle
979 enable_dmsynth
980 enable_dmusic
981 enable_dmusic32
982 enable_dnsapi
983 enable_dplay
984 enable_dplayx
985 enable_dpnaddr
986 enable_dpnet
987 enable_dpnhpast
988 enable_dpnlobby
989 enable_dpwsockx
990 enable_drmclien
991 enable_dsound
992 enable_dssenh
993 enable_dswave
994 enable_dwmapi
995 enable_dwrite
996 enable_dxdiagn
997 enable_dxgi
998 enable_explorerframe
999 enable_faultrep
1000 enable_fltlib
1001 enable_fusion
1002 enable_fwpuclnt
1003 enable_gameux
1004 enable_gdi32
1005 enable_gdiplus
1006 enable_glu32
1007 enable_gphoto2_ds
1008 enable_gpkcsp
1009 enable_hal
1010 enable_hhctrl_ocx
1011 enable_hid
1012 enable_hlink
1013 enable_hnetcfg
1014 enable_httpapi
1015 enable_iccvid
1016 enable_icmp
1017 enable_ieframe
1018 enable_imaadp32_acm
1019 enable_imagehlp
1020 enable_imm32
1021 enable_inetcomm
1022 enable_inetcpl_cpl
1023 enable_inetmib1
1024 enable_infosoft
1025 enable_initpki
1026 enable_inkobj
1027 enable_inseng
1028 enable_iphlpapi
1029 enable_itircl
1030 enable_itss
1031 enable_joy_cpl
1032 enable_jscript
1033 enable_kernel32
1034 enable_ktmw32
1035 enable_loadperf
1036 enable_localspl
1037 enable_localui
1038 enable_lz32
1039 enable_mapi32
1040 enable_mapistub
1041 enable_mciavi32
1042 enable_mcicda
1043 enable_mciqtz32
1044 enable_mciseq
1045 enable_mciwave
1046 enable_mgmtapi
1047 enable_midimap
1048 enable_mlang
1049 enable_mmcndmgr
1050 enable_mmdevapi
1051 enable_mountmgr_sys
1052 enable_mpr
1053 enable_mprapi
1054 enable_msacm32_drv
1055 enable_msacm32
1056 enable_msadp32_acm
1057 enable_mscat32
1058 enable_mscms
1059 enable_mscoree
1060 enable_msctf
1061 enable_msdaps
1062 enable_msdmo
1063 enable_msftedit
1064 enable_msg711_acm
1065 enable_msgsm32_acm
1066 enable_mshtml_tlb
1067 enable_mshtml
1068 enable_msi
1069 enable_msident
1070 enable_msimg32
1071 enable_msimsg
1072 enable_msimtf
1073 enable_msisip
1074 enable_msisys_ocx
1075 enable_msls31
1076 enable_msnet32
1077 enable_mspatcha
1078 enable_msrle32
1079 enable_mssign32
1080 enable_mssip32
1081 enable_mstask
1082 enable_msvcirt
1083 enable_msvcm80
1084 enable_msvcm90
1085 enable_msvcp100
1086 enable_msvcp110
1087 enable_msvcp60
1088 enable_msvcp70
1089 enable_msvcp71
1090 enable_msvcp80
1091 enable_msvcp90
1092 enable_msvcr100
1093 enable_msvcr110
1094 enable_msvcr70
1095 enable_msvcr71
1096 enable_msvcr80
1097 enable_msvcr90
1098 enable_msvcrt
1099 enable_msvcrt20
1100 enable_msvcrt40
1101 enable_msvcrtd
1102 enable_msvfw32
1103 enable_msvidc32
1104 enable_mswsock
1105 enable_msxml
1106 enable_msxml2
1107 enable_msxml3
1108 enable_msxml4
1109 enable_msxml6
1110 enable_nddeapi
1111 enable_netapi32
1112 enable_netcfgx
1113 enable_newdev
1114 enable_normaliz
1115 enable_npmshtml
1116 enable_ntdll
1117 enable_ntdsapi
1118 enable_ntoskrnl_exe
1119 enable_ntprint
1120 enable_objsel
1121 enable_odbc32
1122 enable_odbccp32
1123 enable_odbccu32
1124 enable_ole32
1125 enable_oleacc
1126 enable_oleaut32
1127 enable_olecli32
1128 enable_oledb32
1129 enable_oledlg
1130 enable_olepro32
1131 enable_olesvr32
1132 enable_olethk32
1133 enable_openal32
1134 enable_opencl
1135 enable_opengl32
1136 enable_pdh
1137 enable_photometadatahandler
1138 enable_pidgen
1139 enable_powrprof
1140 enable_printui
1141 enable_propsys
1142 enable_psapi
1143 enable_pstorec
1144 enable_qcap
1145 enable_qedit
1146 enable_qmgr
1147 enable_qmgrprxy
1148 enable_quartz
1149 enable_query
1150 enable_rasapi32
1151 enable_rasdlg
1152 enable_regapi
1153 enable_resutils
1154 enable_riched20
1155 enable_riched32
1156 enable_rpcrt4
1157 enable_rsabase
1158 enable_rsaenh
1159 enable_rstrtmgr
1160 enable_rtutils
1161 enable_samlib
1162 enable_sane_ds
1163 enable_scarddlg
1164 enable_sccbase
1165 enable_schannel
1166 enable_scrrun
1167 enable_scsiport_sys
1168 enable_secur32
1169 enable_security
1170 enable_sensapi
1171 enable_serialui
1172 enable_setupapi
1173 enable_sfc
1174 enable_sfc_os
1175 enable_shdoclc
1176 enable_shdocvw
1177 enable_shell32
1178 enable_shfolder
1179 enable_shlwapi
1180 enable_slbcsp
1181 enable_slc
1182 enable_snmpapi
1183 enable_softpub
1184 enable_spoolss
1185 enable_stdole2_tlb
1186 enable_stdole32_tlb
1187 enable_sti
1188 enable_svrapi
1189 enable_sxs
1190 enable_t2embed
1191 enable_tapi32
1192 enable_traffic
1193 enable_twain_32
1194 enable_unicows
1195 enable_updspapi
1196 enable_url
1197 enable_urlmon
1198 enable_usbd_sys
1199 enable_user32
1200 enable_userenv
1201 enable_usp10
1202 enable_uxtheme
1203 enable_vbscript
1204 enable_vcomp
1205 enable_vcomp100
1206 enable_vcomp90
1207 enable_vdmdbg
1208 enable_version
1209 enable_wbemdisp
1210 enable_wbemprox
1211 enable_webservices
1212 enable_wer
1213 enable_wevtapi
1214 enable_wiaservc
1215 enable_windowscodecs
1216 enable_windowscodecsext
1217 enable_winealsa_drv
1218 enable_winecoreaudio_drv
1219 enable_wined3d
1220 enable_winegstreamer
1221 enable_winejoystick_drv
1222 enable_winemac_drv
1223 enable_winemapi
1224 enable_winemp3_acm
1225 enable_wineoss_drv
1226 enable_wineps_drv
1227 enable_wineqtdecoder
1228 enable_winex11_drv
1229 enable_wing32
1230 enable_winhttp
1231 enable_wininet
1232 enable_winmm
1233 enable_winnls32
1234 enable_winscard
1235 enable_winspool_drv
1236 enable_winsta
1237 enable_wintab32
1238 enable_wintrust
1239 enable_wlanapi
1240 enable_wldap32
1241 enable_wmi
1242 enable_wmiutils
1243 enable_wmvcore
1244 enable_wnaspi32
1245 enable_ws2_32
1246 enable_wshom_ocx
1247 enable_wsnmp32
1248 enable_wsock32
1249 enable_wtsapi32
1250 enable_wuapi
1251 enable_wuaueng
1252 enable_xapofx1_1
1253 enable_xinput1_1
1254 enable_xinput1_2
1255 enable_xinput1_3
1256 enable_xinput1_4
1257 enable_xinput9_1_0
1258 enable_xmllite
1259 enable_xolehlp
1260 enable_xpsprint
1261 enable_xpssvcs
1262 enable_documentation
1263 enable_fonts
1264 enable_include
1265 enable_libs_port
1266 enable_libs_wine
1267 enable_libs_wpp
1268 enable_loader
1269 enable_aspnet_regiis
1270 enable_attrib
1271 enable_cabarc
1272 enable_cacls
1273 enable_clock
1274 enable_cmd
1275 enable_conhost
1276 enable_control
1277 enable_cscript
1278 enable_dxdiag
1279 enable_eject
1280 enable_expand
1281 enable_explorer
1282 enable_extrac32
1283 enable_findstr
1284 enable_hh
1285 enable_hostname
1286 enable_icinfo
1287 enable_iexplore
1288 enable_ipconfig
1289 enable_lodctr
1290 enable_mofcomp
1291 enable_mshta
1292 enable_msiexec
1293 enable_net
1294 enable_netsh
1295 enable_netstat
1296 enable_ngen
1297 enable_notepad
1298 enable_oleview
1299 enable_ping
1300 enable_plugplay
1301 enable_presentationfontcache
1302 enable_progman
1303 enable_reg
1304 enable_regasm
1305 enable_regedit
1306 enable_regsvcs
1307 enable_regsvr32
1308 enable_rpcss
1309 enable_rundll32
1310 enable_sc
1311 enable_schtasks
1312 enable_secedit
1313 enable_servicemodelreg
1314 enable_services
1315 enable_spoolsv
1316 enable_start
1317 enable_svchost
1318 enable_taskkill
1319 enable_tasklist
1320 enable_taskmgr
1321 enable_termsv
1322 enable_uninstaller
1323 enable_unlodctr
1324 enable_view
1325 enable_wineboot
1326 enable_winebrowser
1327 enable_winecfg
1328 enable_wineconsole
1329 enable_winedbg
1330 enable_winedevice
1331 enable_winefile
1332 enable_winemenubuilder
1333 enable_winemine
1334 enable_winemsibuilder
1335 enable_winepath
1336 enable_winetest
1337 enable_winhlp32
1338 enable_winver
1339 enable_wmic
1340 enable_wordpad
1341 enable_write
1342 enable_wscript
1343 enable_wusa
1344 enable_xcopy
1345 enable_server
1346 enable_tools
1348 ac_precious_vars='build_alias
1349 host_alias
1350 target_alias
1352 CFLAGS
1353 LDFLAGS
1354 LIBS
1355 CPPFLAGS
1357 CXXFLAGS
1360 XMKMF
1361 XML2_CFLAGS
1362 XML2_LIBS
1363 XSLT_CFLAGS
1364 XSLT_LIBS
1365 DBUS_CFLAGS
1366 DBUS_LIBS
1367 HAL_CFLAGS
1368 HAL_LIBS
1369 GNUTLS_CFLAGS
1370 GNUTLS_LIBS
1371 SANE_CFLAGS
1372 SANE_LIBS
1373 GPHOTO2_CFLAGS
1374 GPHOTO2_LIBS
1375 GPHOTO2_PORT_CFLAGS
1376 GPHOTO2_PORT_LIBS
1377 LCMS2_CFLAGS
1378 LCMS2_LIBS
1379 FREETYPE_CFLAGS
1380 FREETYPE_LIBS
1381 GSTREAMER_CFLAGS
1382 GSTREAMER_LIBS
1383 CAPI20_CFLAGS
1384 CAPI20_LIBS
1385 JPEG_CFLAGS
1386 JPEG_LIBS
1387 PNG_CFLAGS
1388 PNG_LIBS
1389 TIFF_CFLAGS
1390 TIFF_LIBS
1391 MPG123_CFLAGS
1392 MPG123_LIBS'
1395 # Initialize some variables set by options.
1396 ac_init_help=
1397 ac_init_version=false
1398 ac_unrecognized_opts=
1399 ac_unrecognized_sep=
1400 # The variables have the same names as the options, with
1401 # dashes changed to underlines.
1402 cache_file=/dev/null
1403 exec_prefix=NONE
1404 no_create=
1405 no_recursion=
1406 prefix=NONE
1407 program_prefix=NONE
1408 program_suffix=NONE
1409 program_transform_name=s,x,x,
1410 silent=
1411 site=
1412 srcdir=
1413 verbose=
1414 x_includes=NONE
1415 x_libraries=NONE
1417 # Installation directory options.
1418 # These are left unexpanded so users can "make install exec_prefix=/foo"
1419 # and all the variables that are supposed to be based on exec_prefix
1420 # by default will actually change.
1421 # Use braces instead of parens because sh, perl, etc. also accept them.
1422 # (The list follows the same order as the GNU Coding Standards.)
1423 bindir='${exec_prefix}/bin'
1424 sbindir='${exec_prefix}/sbin'
1425 libexecdir='${exec_prefix}/libexec'
1426 datarootdir='${prefix}/share'
1427 datadir='${datarootdir}'
1428 sysconfdir='${prefix}/etc'
1429 sharedstatedir='${prefix}/com'
1430 localstatedir='${prefix}/var'
1431 includedir='${prefix}/include'
1432 oldincludedir='/usr/include'
1433 docdir='${datarootdir}/doc/${PACKAGE_TARNAME}'
1434 infodir='${datarootdir}/info'
1435 htmldir='${docdir}'
1436 dvidir='${docdir}'
1437 pdfdir='${docdir}'
1438 psdir='${docdir}'
1439 libdir='${exec_prefix}/lib'
1440 localedir='${datarootdir}/locale'
1441 mandir='${datarootdir}/man'
1443 ac_prev=
1444 ac_dashdash=
1445 for ac_option
1447 # If the previous option needs an argument, assign it.
1448 if test -n "$ac_prev"; then
1449 eval $ac_prev=\$ac_option
1450 ac_prev=
1451 continue
1454 case $ac_option in
1455 *=?*) ac_optarg=`expr "X$ac_option" : '[^=]*=\(.*\)'` ;;
1456 *=) ac_optarg= ;;
1457 *) ac_optarg=yes ;;
1458 esac
1460 # Accept the important Cygnus configure options, so we can diagnose typos.
1462 case $ac_dashdash$ac_option in
1464 ac_dashdash=yes ;;
1466 -bindir | --bindir | --bindi | --bind | --bin | --bi)
1467 ac_prev=bindir ;;
1468 -bindir=* | --bindir=* | --bindi=* | --bind=* | --bin=* | --bi=*)
1469 bindir=$ac_optarg ;;
1471 -build | --build | --buil | --bui | --bu)
1472 ac_prev=build_alias ;;
1473 -build=* | --build=* | --buil=* | --bui=* | --bu=*)
1474 build_alias=$ac_optarg ;;
1476 -cache-file | --cache-file | --cache-fil | --cache-fi \
1477 | --cache-f | --cache- | --cache | --cach | --cac | --ca | --c)
1478 ac_prev=cache_file ;;
1479 -cache-file=* | --cache-file=* | --cache-fil=* | --cache-fi=* \
1480 | --cache-f=* | --cache-=* | --cache=* | --cach=* | --cac=* | --ca=* | --c=*)
1481 cache_file=$ac_optarg ;;
1483 --config-cache | -C)
1484 cache_file=config.cache ;;
1486 -datadir | --datadir | --datadi | --datad)
1487 ac_prev=datadir ;;
1488 -datadir=* | --datadir=* | --datadi=* | --datad=*)
1489 datadir=$ac_optarg ;;
1491 -datarootdir | --datarootdir | --datarootdi | --datarootd | --dataroot \
1492 | --dataroo | --dataro | --datar)
1493 ac_prev=datarootdir ;;
1494 -datarootdir=* | --datarootdir=* | --datarootdi=* | --datarootd=* \
1495 | --dataroot=* | --dataroo=* | --dataro=* | --datar=*)
1496 datarootdir=$ac_optarg ;;
1498 -disable-* | --disable-*)
1499 ac_useropt=`expr "x$ac_option" : 'x-*disable-\(.*\)'`
1500 # Reject names that are not valid shell variable names.
1501 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
1502 as_fn_error $? "invalid feature name: $ac_useropt"
1503 ac_useropt_orig=$ac_useropt
1504 ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
1505 case $ac_user_opts in
1507 "enable_$ac_useropt"
1508 "*) ;;
1509 *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--disable-$ac_useropt_orig"
1510 ac_unrecognized_sep=', ';;
1511 esac
1512 eval enable_$ac_useropt=no ;;
1514 -docdir | --docdir | --docdi | --doc | --do)
1515 ac_prev=docdir ;;
1516 -docdir=* | --docdir=* | --docdi=* | --doc=* | --do=*)
1517 docdir=$ac_optarg ;;
1519 -dvidir | --dvidir | --dvidi | --dvid | --dvi | --dv)
1520 ac_prev=dvidir ;;
1521 -dvidir=* | --dvidir=* | --dvidi=* | --dvid=* | --dvi=* | --dv=*)
1522 dvidir=$ac_optarg ;;
1524 -enable-* | --enable-*)
1525 ac_useropt=`expr "x$ac_option" : 'x-*enable-\([^=]*\)'`
1526 # Reject names that are not valid shell variable names.
1527 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
1528 as_fn_error $? "invalid feature name: $ac_useropt"
1529 ac_useropt_orig=$ac_useropt
1530 ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
1531 case $ac_user_opts in
1533 "enable_$ac_useropt"
1534 "*) ;;
1535 *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--enable-$ac_useropt_orig"
1536 ac_unrecognized_sep=', ';;
1537 esac
1538 eval enable_$ac_useropt=\$ac_optarg ;;
1540 -exec-prefix | --exec_prefix | --exec-prefix | --exec-prefi \
1541 | --exec-pref | --exec-pre | --exec-pr | --exec-p | --exec- \
1542 | --exec | --exe | --ex)
1543 ac_prev=exec_prefix ;;
1544 -exec-prefix=* | --exec_prefix=* | --exec-prefix=* | --exec-prefi=* \
1545 | --exec-pref=* | --exec-pre=* | --exec-pr=* | --exec-p=* | --exec-=* \
1546 | --exec=* | --exe=* | --ex=*)
1547 exec_prefix=$ac_optarg ;;
1549 -gas | --gas | --ga | --g)
1550 # Obsolete; use --with-gas.
1551 with_gas=yes ;;
1553 -help | --help | --hel | --he | -h)
1554 ac_init_help=long ;;
1555 -help=r* | --help=r* | --hel=r* | --he=r* | -hr*)
1556 ac_init_help=recursive ;;
1557 -help=s* | --help=s* | --hel=s* | --he=s* | -hs*)
1558 ac_init_help=short ;;
1560 -host | --host | --hos | --ho)
1561 ac_prev=host_alias ;;
1562 -host=* | --host=* | --hos=* | --ho=*)
1563 host_alias=$ac_optarg ;;
1565 -htmldir | --htmldir | --htmldi | --htmld | --html | --htm | --ht)
1566 ac_prev=htmldir ;;
1567 -htmldir=* | --htmldir=* | --htmldi=* | --htmld=* | --html=* | --htm=* \
1568 | --ht=*)
1569 htmldir=$ac_optarg ;;
1571 -includedir | --includedir | --includedi | --included | --include \
1572 | --includ | --inclu | --incl | --inc)
1573 ac_prev=includedir ;;
1574 -includedir=* | --includedir=* | --includedi=* | --included=* | --include=* \
1575 | --includ=* | --inclu=* | --incl=* | --inc=*)
1576 includedir=$ac_optarg ;;
1578 -infodir | --infodir | --infodi | --infod | --info | --inf)
1579 ac_prev=infodir ;;
1580 -infodir=* | --infodir=* | --infodi=* | --infod=* | --info=* | --inf=*)
1581 infodir=$ac_optarg ;;
1583 -libdir | --libdir | --libdi | --libd)
1584 ac_prev=libdir ;;
1585 -libdir=* | --libdir=* | --libdi=* | --libd=*)
1586 libdir=$ac_optarg ;;
1588 -libexecdir | --libexecdir | --libexecdi | --libexecd | --libexec \
1589 | --libexe | --libex | --libe)
1590 ac_prev=libexecdir ;;
1591 -libexecdir=* | --libexecdir=* | --libexecdi=* | --libexecd=* | --libexec=* \
1592 | --libexe=* | --libex=* | --libe=*)
1593 libexecdir=$ac_optarg ;;
1595 -localedir | --localedir | --localedi | --localed | --locale)
1596 ac_prev=localedir ;;
1597 -localedir=* | --localedir=* | --localedi=* | --localed=* | --locale=*)
1598 localedir=$ac_optarg ;;
1600 -localstatedir | --localstatedir | --localstatedi | --localstated \
1601 | --localstate | --localstat | --localsta | --localst | --locals)
1602 ac_prev=localstatedir ;;
1603 -localstatedir=* | --localstatedir=* | --localstatedi=* | --localstated=* \
1604 | --localstate=* | --localstat=* | --localsta=* | --localst=* | --locals=*)
1605 localstatedir=$ac_optarg ;;
1607 -mandir | --mandir | --mandi | --mand | --man | --ma | --m)
1608 ac_prev=mandir ;;
1609 -mandir=* | --mandir=* | --mandi=* | --mand=* | --man=* | --ma=* | --m=*)
1610 mandir=$ac_optarg ;;
1612 -nfp | --nfp | --nf)
1613 # Obsolete; use --without-fp.
1614 with_fp=no ;;
1616 -no-create | --no-create | --no-creat | --no-crea | --no-cre \
1617 | --no-cr | --no-c | -n)
1618 no_create=yes ;;
1620 -no-recursion | --no-recursion | --no-recursio | --no-recursi \
1621 | --no-recurs | --no-recur | --no-recu | --no-rec | --no-re | --no-r)
1622 no_recursion=yes ;;
1624 -oldincludedir | --oldincludedir | --oldincludedi | --oldincluded \
1625 | --oldinclude | --oldinclud | --oldinclu | --oldincl | --oldinc \
1626 | --oldin | --oldi | --old | --ol | --o)
1627 ac_prev=oldincludedir ;;
1628 -oldincludedir=* | --oldincludedir=* | --oldincludedi=* | --oldincluded=* \
1629 | --oldinclude=* | --oldinclud=* | --oldinclu=* | --oldincl=* | --oldinc=* \
1630 | --oldin=* | --oldi=* | --old=* | --ol=* | --o=*)
1631 oldincludedir=$ac_optarg ;;
1633 -prefix | --prefix | --prefi | --pref | --pre | --pr | --p)
1634 ac_prev=prefix ;;
1635 -prefix=* | --prefix=* | --prefi=* | --pref=* | --pre=* | --pr=* | --p=*)
1636 prefix=$ac_optarg ;;
1638 -program-prefix | --program-prefix | --program-prefi | --program-pref \
1639 | --program-pre | --program-pr | --program-p)
1640 ac_prev=program_prefix ;;
1641 -program-prefix=* | --program-prefix=* | --program-prefi=* \
1642 | --program-pref=* | --program-pre=* | --program-pr=* | --program-p=*)
1643 program_prefix=$ac_optarg ;;
1645 -program-suffix | --program-suffix | --program-suffi | --program-suff \
1646 | --program-suf | --program-su | --program-s)
1647 ac_prev=program_suffix ;;
1648 -program-suffix=* | --program-suffix=* | --program-suffi=* \
1649 | --program-suff=* | --program-suf=* | --program-su=* | --program-s=*)
1650 program_suffix=$ac_optarg ;;
1652 -program-transform-name | --program-transform-name \
1653 | --program-transform-nam | --program-transform-na \
1654 | --program-transform-n | --program-transform- \
1655 | --program-transform | --program-transfor \
1656 | --program-transfo | --program-transf \
1657 | --program-trans | --program-tran \
1658 | --progr-tra | --program-tr | --program-t)
1659 ac_prev=program_transform_name ;;
1660 -program-transform-name=* | --program-transform-name=* \
1661 | --program-transform-nam=* | --program-transform-na=* \
1662 | --program-transform-n=* | --program-transform-=* \
1663 | --program-transform=* | --program-transfor=* \
1664 | --program-transfo=* | --program-transf=* \
1665 | --program-trans=* | --program-tran=* \
1666 | --progr-tra=* | --program-tr=* | --program-t=*)
1667 program_transform_name=$ac_optarg ;;
1669 -pdfdir | --pdfdir | --pdfdi | --pdfd | --pdf | --pd)
1670 ac_prev=pdfdir ;;
1671 -pdfdir=* | --pdfdir=* | --pdfdi=* | --pdfd=* | --pdf=* | --pd=*)
1672 pdfdir=$ac_optarg ;;
1674 -psdir | --psdir | --psdi | --psd | --ps)
1675 ac_prev=psdir ;;
1676 -psdir=* | --psdir=* | --psdi=* | --psd=* | --ps=*)
1677 psdir=$ac_optarg ;;
1679 -q | -quiet | --quiet | --quie | --qui | --qu | --q \
1680 | -silent | --silent | --silen | --sile | --sil)
1681 silent=yes ;;
1683 -sbindir | --sbindir | --sbindi | --sbind | --sbin | --sbi | --sb)
1684 ac_prev=sbindir ;;
1685 -sbindir=* | --sbindir=* | --sbindi=* | --sbind=* | --sbin=* \
1686 | --sbi=* | --sb=*)
1687 sbindir=$ac_optarg ;;
1689 -sharedstatedir | --sharedstatedir | --sharedstatedi \
1690 | --sharedstated | --sharedstate | --sharedstat | --sharedsta \
1691 | --sharedst | --shareds | --shared | --share | --shar \
1692 | --sha | --sh)
1693 ac_prev=sharedstatedir ;;
1694 -sharedstatedir=* | --sharedstatedir=* | --sharedstatedi=* \
1695 | --sharedstated=* | --sharedstate=* | --sharedstat=* | --sharedsta=* \
1696 | --sharedst=* | --shareds=* | --shared=* | --share=* | --shar=* \
1697 | --sha=* | --sh=*)
1698 sharedstatedir=$ac_optarg ;;
1700 -site | --site | --sit)
1701 ac_prev=site ;;
1702 -site=* | --site=* | --sit=*)
1703 site=$ac_optarg ;;
1705 -srcdir | --srcdir | --srcdi | --srcd | --src | --sr)
1706 ac_prev=srcdir ;;
1707 -srcdir=* | --srcdir=* | --srcdi=* | --srcd=* | --src=* | --sr=*)
1708 srcdir=$ac_optarg ;;
1710 -sysconfdir | --sysconfdir | --sysconfdi | --sysconfd | --sysconf \
1711 | --syscon | --sysco | --sysc | --sys | --sy)
1712 ac_prev=sysconfdir ;;
1713 -sysconfdir=* | --sysconfdir=* | --sysconfdi=* | --sysconfd=* | --sysconf=* \
1714 | --syscon=* | --sysco=* | --sysc=* | --sys=* | --sy=*)
1715 sysconfdir=$ac_optarg ;;
1717 -target | --target | --targe | --targ | --tar | --ta | --t)
1718 ac_prev=target_alias ;;
1719 -target=* | --target=* | --targe=* | --targ=* | --tar=* | --ta=* | --t=*)
1720 target_alias=$ac_optarg ;;
1722 -v | -verbose | --verbose | --verbos | --verbo | --verb)
1723 verbose=yes ;;
1725 -version | --version | --versio | --versi | --vers | -V)
1726 ac_init_version=: ;;
1728 -with-* | --with-*)
1729 ac_useropt=`expr "x$ac_option" : 'x-*with-\([^=]*\)'`
1730 # Reject names that are not valid shell variable names.
1731 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
1732 as_fn_error $? "invalid package name: $ac_useropt"
1733 ac_useropt_orig=$ac_useropt
1734 ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
1735 case $ac_user_opts in
1737 "with_$ac_useropt"
1738 "*) ;;
1739 *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--with-$ac_useropt_orig"
1740 ac_unrecognized_sep=', ';;
1741 esac
1742 eval with_$ac_useropt=\$ac_optarg ;;
1744 -without-* | --without-*)
1745 ac_useropt=`expr "x$ac_option" : 'x-*without-\(.*\)'`
1746 # Reject names that are not valid shell variable names.
1747 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
1748 as_fn_error $? "invalid package name: $ac_useropt"
1749 ac_useropt_orig=$ac_useropt
1750 ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
1751 case $ac_user_opts in
1753 "with_$ac_useropt"
1754 "*) ;;
1755 *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--without-$ac_useropt_orig"
1756 ac_unrecognized_sep=', ';;
1757 esac
1758 eval with_$ac_useropt=no ;;
1760 --x)
1761 # Obsolete; use --with-x.
1762 with_x=yes ;;
1764 -x-includes | --x-includes | --x-include | --x-includ | --x-inclu \
1765 | --x-incl | --x-inc | --x-in | --x-i)
1766 ac_prev=x_includes ;;
1767 -x-includes=* | --x-includes=* | --x-include=* | --x-includ=* | --x-inclu=* \
1768 | --x-incl=* | --x-inc=* | --x-in=* | --x-i=*)
1769 x_includes=$ac_optarg ;;
1771 -x-libraries | --x-libraries | --x-librarie | --x-librari \
1772 | --x-librar | --x-libra | --x-libr | --x-lib | --x-li | --x-l)
1773 ac_prev=x_libraries ;;
1774 -x-libraries=* | --x-libraries=* | --x-librarie=* | --x-librari=* \
1775 | --x-librar=* | --x-libra=* | --x-libr=* | --x-lib=* | --x-li=* | --x-l=*)
1776 x_libraries=$ac_optarg ;;
1778 -*) as_fn_error $? "unrecognized option: \`$ac_option'
1779 Try \`$0 --help' for more information"
1782 *=*)
1783 ac_envvar=`expr "x$ac_option" : 'x\([^=]*\)='`
1784 # Reject names that are not valid shell variable names.
1785 case $ac_envvar in #(
1786 '' | [0-9]* | *[!_$as_cr_alnum]* )
1787 as_fn_error $? "invalid variable name: \`$ac_envvar'" ;;
1788 esac
1789 eval $ac_envvar=\$ac_optarg
1790 export $ac_envvar ;;
1793 # FIXME: should be removed in autoconf 3.0.
1794 $as_echo "$as_me: WARNING: you should use --build, --host, --target" >&2
1795 expr "x$ac_option" : ".*[^-._$as_cr_alnum]" >/dev/null &&
1796 $as_echo "$as_me: WARNING: invalid host type: $ac_option" >&2
1797 : "${build_alias=$ac_option} ${host_alias=$ac_option} ${target_alias=$ac_option}"
1800 esac
1801 done
1803 if test -n "$ac_prev"; then
1804 ac_option=--`echo $ac_prev | sed 's/_/-/g'`
1805 as_fn_error $? "missing argument to $ac_option"
1808 if test -n "$ac_unrecognized_opts"; then
1809 case $enable_option_checking in
1810 no) ;;
1811 fatal) as_fn_error $? "unrecognized options: $ac_unrecognized_opts" ;;
1812 *) $as_echo "$as_me: WARNING: unrecognized options: $ac_unrecognized_opts" >&2 ;;
1813 esac
1816 # Check all directory arguments for consistency.
1817 for ac_var in exec_prefix prefix bindir sbindir libexecdir datarootdir \
1818 datadir sysconfdir sharedstatedir localstatedir includedir \
1819 oldincludedir docdir infodir htmldir dvidir pdfdir psdir \
1820 libdir localedir mandir
1822 eval ac_val=\$$ac_var
1823 # Remove trailing slashes.
1824 case $ac_val in
1825 */ )
1826 ac_val=`expr "X$ac_val" : 'X\(.*[^/]\)' \| "X$ac_val" : 'X\(.*\)'`
1827 eval $ac_var=\$ac_val;;
1828 esac
1829 # Be sure to have absolute directory names.
1830 case $ac_val in
1831 [\\/$]* | ?:[\\/]* ) continue;;
1832 NONE | '' ) case $ac_var in *prefix ) continue;; esac;;
1833 esac
1834 as_fn_error $? "expected an absolute directory name for --$ac_var: $ac_val"
1835 done
1837 # There might be people who depend on the old broken behavior: `$host'
1838 # used to hold the argument of --host etc.
1839 # FIXME: To remove some day.
1840 build=$build_alias
1841 host=$host_alias
1842 target=$target_alias
1844 # FIXME: To remove some day.
1845 if test "x$host_alias" != x; then
1846 if test "x$build_alias" = x; then
1847 cross_compiling=maybe
1848 elif test "x$build_alias" != "x$host_alias"; then
1849 cross_compiling=yes
1853 ac_tool_prefix=
1854 test -n "$host_alias" && ac_tool_prefix=$host_alias-
1856 test "$silent" = yes && exec 6>/dev/null
1859 ac_pwd=`pwd` && test -n "$ac_pwd" &&
1860 ac_ls_di=`ls -di .` &&
1861 ac_pwd_ls_di=`cd "$ac_pwd" && ls -di .` ||
1862 as_fn_error $? "working directory cannot be determined"
1863 test "X$ac_ls_di" = "X$ac_pwd_ls_di" ||
1864 as_fn_error $? "pwd does not report name of working directory"
1867 # Find the source files, if location was not specified.
1868 if test -z "$srcdir"; then
1869 ac_srcdir_defaulted=yes
1870 # Try the directory containing this script, then the parent directory.
1871 ac_confdir=`$as_dirname -- "$as_myself" ||
1872 $as_expr X"$as_myself" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
1873 X"$as_myself" : 'X\(//\)[^/]' \| \
1874 X"$as_myself" : 'X\(//\)$' \| \
1875 X"$as_myself" : 'X\(/\)' \| . 2>/dev/null ||
1876 $as_echo X"$as_myself" |
1877 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
1878 s//\1/
1881 /^X\(\/\/\)[^/].*/{
1882 s//\1/
1885 /^X\(\/\/\)$/{
1886 s//\1/
1889 /^X\(\/\).*/{
1890 s//\1/
1893 s/.*/./; q'`
1894 srcdir=$ac_confdir
1895 if test ! -r "$srcdir/$ac_unique_file"; then
1896 srcdir=..
1898 else
1899 ac_srcdir_defaulted=no
1901 if test ! -r "$srcdir/$ac_unique_file"; then
1902 test "$ac_srcdir_defaulted" = yes && srcdir="$ac_confdir or .."
1903 as_fn_error $? "cannot find sources ($ac_unique_file) in $srcdir"
1905 ac_msg="sources are in $srcdir, but \`cd $srcdir' does not work"
1906 ac_abs_confdir=`(
1907 cd "$srcdir" && test -r "./$ac_unique_file" || as_fn_error $? "$ac_msg"
1908 pwd)`
1909 # When building in place, set srcdir=.
1910 if test "$ac_abs_confdir" = "$ac_pwd"; then
1911 srcdir=.
1913 # Remove unnecessary trailing slashes from srcdir.
1914 # Double slashes in file names in object file debugging info
1915 # mess up M-x gdb in Emacs.
1916 case $srcdir in
1917 */) srcdir=`expr "X$srcdir" : 'X\(.*[^/]\)' \| "X$srcdir" : 'X\(.*\)'`;;
1918 esac
1919 for ac_var in $ac_precious_vars; do
1920 eval ac_env_${ac_var}_set=\${${ac_var}+set}
1921 eval ac_env_${ac_var}_value=\$${ac_var}
1922 eval ac_cv_env_${ac_var}_set=\${${ac_var}+set}
1923 eval ac_cv_env_${ac_var}_value=\$${ac_var}
1924 done
1927 # Report the --help message.
1929 if test "$ac_init_help" = "long"; then
1930 # Omit some internal or obsolete options to make the list less imposing.
1931 # This message is too long to be a string in the A/UX 3.1 sh.
1932 cat <<_ACEOF
1933 \`configure' configures Wine 1.7.5 to adapt to many kinds of systems.
1935 Usage: $0 [OPTION]... [VAR=VALUE]...
1937 To assign environment variables (e.g., CC, CFLAGS...), specify them as
1938 VAR=VALUE. See below for descriptions of some of the useful variables.
1940 Defaults for the options are specified in brackets.
1942 Configuration:
1943 -h, --help display this help and exit
1944 --help=short display options specific to this package
1945 --help=recursive display the short help of all the included packages
1946 -V, --version display version information and exit
1947 -q, --quiet, --silent do not print \`checking ...' messages
1948 --cache-file=FILE cache test results in FILE [disabled]
1949 -C, --config-cache alias for \`--cache-file=config.cache'
1950 -n, --no-create do not create output files
1951 --srcdir=DIR find the sources in DIR [configure dir or \`..']
1953 Installation directories:
1954 --prefix=PREFIX install architecture-independent files in PREFIX
1955 [$ac_default_prefix]
1956 --exec-prefix=EPREFIX install architecture-dependent files in EPREFIX
1957 [PREFIX]
1959 By default, \`make install' will install all the files in
1960 \`$ac_default_prefix/bin', \`$ac_default_prefix/lib' etc. You can specify
1961 an installation prefix other than \`$ac_default_prefix' using \`--prefix',
1962 for instance \`--prefix=\$HOME'.
1964 For better control, use the options below.
1966 Fine tuning of the installation directories:
1967 --bindir=DIR user executables [EPREFIX/bin]
1968 --sbindir=DIR system admin executables [EPREFIX/sbin]
1969 --libexecdir=DIR program executables [EPREFIX/libexec]
1970 --sysconfdir=DIR read-only single-machine data [PREFIX/etc]
1971 --sharedstatedir=DIR modifiable architecture-independent data [PREFIX/com]
1972 --localstatedir=DIR modifiable single-machine data [PREFIX/var]
1973 --libdir=DIR object code libraries [EPREFIX/lib]
1974 --includedir=DIR C header files [PREFIX/include]
1975 --oldincludedir=DIR C header files for non-gcc [/usr/include]
1976 --datarootdir=DIR read-only arch.-independent data root [PREFIX/share]
1977 --datadir=DIR read-only architecture-independent data [DATAROOTDIR]
1978 --infodir=DIR info documentation [DATAROOTDIR/info]
1979 --localedir=DIR locale-dependent data [DATAROOTDIR/locale]
1980 --mandir=DIR man documentation [DATAROOTDIR/man]
1981 --docdir=DIR documentation root [DATAROOTDIR/doc/wine]
1982 --htmldir=DIR html documentation [DOCDIR]
1983 --dvidir=DIR dvi documentation [DOCDIR]
1984 --pdfdir=DIR pdf documentation [DOCDIR]
1985 --psdir=DIR ps documentation [DOCDIR]
1986 _ACEOF
1988 cat <<\_ACEOF
1990 X features:
1991 --x-includes=DIR X include files are in DIR
1992 --x-libraries=DIR X library files are in DIR
1994 System types:
1995 --build=BUILD configure for building on BUILD [guessed]
1996 --host=HOST cross-compile to build programs to run on HOST [BUILD]
1997 _ACEOF
2000 if test -n "$ac_init_help"; then
2001 case $ac_init_help in
2002 short | recursive ) echo "Configuration of Wine 1.7.5:";;
2003 esac
2004 cat <<\_ACEOF
2006 Optional Features:
2007 --disable-option-checking ignore unrecognized --enable/--with options
2008 --disable-FEATURE do not include FEATURE (same as --enable-FEATURE=no)
2009 --enable-FEATURE[=ARG] include FEATURE [ARG=yes]
2010 --disable-win16 do not include Win16 support
2011 --enable-win64 build a Win64 emulator on AMD64 (won't run Win32
2012 binaries)
2013 --disable-tests do not build the regression tests
2014 --enable-maintainer-mode
2015 enable maintainer-specific build rules
2016 --disable-largefile omit support for large files
2018 Optional Packages:
2019 --with-PACKAGE[=ARG] use PACKAGE [ARG=yes]
2020 --without-PACKAGE do not use PACKAGE (same as --with-PACKAGE=no)
2021 --without-alsa do not use the Alsa sound support
2022 --without-capi do not use CAPI (ISDN support)
2023 --without-cms do not use CMS (color management support)
2024 --without-coreaudio do not use the CoreAudio sound support
2025 --without-cups do not use CUPS
2026 --without-curses do not use (n)curses
2027 --without-dbus do not use DBus (dynamic device support)
2028 --without-fontconfig do not use fontconfig
2029 --without-freetype do not use the FreeType library
2030 --without-gettext do not use gettext
2031 --with-gettextpo use the GetTextPO library to rebuild po files
2032 --without-gphoto do not use gphoto (Digital Camera support)
2033 --without-glu do not use the GLU library
2034 --without-gnutls do not use GnuTLS (schannel support)
2035 --without-gsm do not use libgsm (GSM 06.10 codec support)
2036 --without-gstreamer do not use GStreamer (codecs support)
2037 --without-hal do not use HAL (dynamic device support)
2038 --without-jpeg do not use JPEG
2039 --without-ldap do not use LDAP
2040 --without-mpg123 do not use the mpg123 library
2041 --without-openal do not use OpenAL
2042 --without-opencl do not use OpenCL
2043 --without-opengl do not use OpenGL
2044 --without-osmesa do not use the OSMesa library
2045 --without-oss do not use the OSS sound support
2046 --without-png do not use PNG
2047 --without-pthread do not use the pthread library
2048 --without-sane do not use SANE (scanner support)
2049 --without-tiff do not use TIFF
2050 --without-v4l do not use v4l1 (v4l support)
2051 --without-xcomposite do not use the Xcomposite extension
2052 --without-xcursor do not use the Xcursor extension
2053 --without-xinerama do not use Xinerama (multi-monitor support)
2054 --without-xinput do not use the Xinput extension
2055 --without-xinput2 do not use the Xinput 2 extension
2056 --without-xml do not use XML
2057 --without-xrandr do not use Xrandr (resolution changes)
2058 --without-xrender do not use the Xrender extension
2059 --without-xshape do not use the Xshape extension
2060 --without-xshm do not use XShm (shared memory extension)
2061 --without-xslt do not use XSLT
2062 --without-xxf86vm do not use XFree video mode extension
2063 --without-zlib do not use Zlib (data compression)
2064 --with-wine-tools=DIR use Wine tools from directory DIR
2065 --with-wine64=DIR use the 64-bit Wine in DIR for a Wow64 build
2066 --with-x use the X Window System
2068 Some influential environment variables:
2069 CC C compiler command
2070 CFLAGS C compiler flags
2071 LDFLAGS linker flags, e.g. -L<lib dir> if you have libraries in a
2072 nonstandard directory <lib dir>
2073 LIBS libraries to pass to the linker, e.g. -l<library>
2074 CPPFLAGS (Objective) C/C++ preprocessor flags, e.g. -I<include dir> if
2075 you have headers in a nonstandard directory <include dir>
2076 CXX C++ compiler command
2077 CXXFLAGS C++ compiler flags
2078 CPP C preprocessor
2079 XMKMF Path to xmkmf, Makefile generator for X Window System
2080 XML2_CFLAGS C compiler flags for libxml-2.0, overriding pkg-config
2081 XML2_LIBS Linker flags for libxml-2.0, overriding pkg-config
2082 XSLT_CFLAGS C compiler flags for libxslt, overriding pkg-config
2083 XSLT_LIBS Linker flags for libxslt, overriding pkg-config
2084 DBUS_CFLAGS C compiler flags for dbus-1, overriding pkg-config
2085 DBUS_LIBS Linker flags for dbus-1, overriding pkg-config
2086 HAL_CFLAGS C compiler flags for hal, overriding pkg-config
2087 HAL_LIBS Linker flags for hal, overriding pkg-config
2088 GNUTLS_CFLAGS
2089 C compiler flags for gnutls, overriding pkg-config
2090 GNUTLS_LIBS Linker flags for gnutls, overriding pkg-config
2091 SANE_CFLAGS C compiler flags for libsane, overriding pkg-config
2092 SANE_LIBS Linker flags for libsane, overriding pkg-config
2093 GPHOTO2_CFLAGS
2094 C compiler flags for libgphoto2, overriding pkg-config
2095 GPHOTO2_LIBS
2096 Linker flags for libgphoto2, overriding pkg-config
2097 GPHOTO2_PORT_CFLAGS
2098 C compiler flags for libgphoto2_port, overriding pkg-config
2099 GPHOTO2_PORT_LIBS
2100 Linker flags for libgphoto2_port, overriding pkg-config
2101 LCMS2_CFLAGS
2102 C compiler flags for lcms2, overriding pkg-config
2103 LCMS2_LIBS Linker flags for lcms2, overriding pkg-config
2104 FREETYPE_CFLAGS
2105 C compiler flags for freetype2, overriding pkg-config
2106 FREETYPE_LIBS
2107 Linker flags for freetype2, overriding pkg-config
2108 GSTREAMER_CFLAGS
2109 C compiler flags for gstreamer-app-0.10, overriding pkg-config
2110 GSTREAMER_LIBS
2111 Linker flags for gstreamer-app-0.10, overriding pkg-config
2112 CAPI20_CFLAGS
2113 C compiler flags for capi20, overriding pkg-config
2114 CAPI20_LIBS Linker flags for capi20, overriding pkg-config
2115 JPEG_CFLAGS C compiler flags for libjpeg, overriding pkg-config
2116 JPEG_LIBS Linker flags for libjpeg, overriding pkg-config
2117 PNG_CFLAGS C compiler flags for libpng, overriding pkg-config
2118 PNG_LIBS Linker flags for libpng, overriding pkg-config
2119 TIFF_CFLAGS C compiler flags for libtiff, overriding pkg-config
2120 TIFF_LIBS Linker flags for libtiff, overriding pkg-config
2121 MPG123_CFLAGS
2122 C compiler flags for libmpg123, overriding pkg-config
2123 MPG123_LIBS Linker flags for libmpg123, overriding pkg-config
2125 Use these variables to override the choices made by `configure' or to help
2126 it to find libraries and programs with nonstandard names/locations.
2128 Report bugs to <wine-devel@winehq.org>.
2129 Wine home page: <http://www.winehq.org>.
2130 _ACEOF
2131 ac_status=$?
2134 if test "$ac_init_help" = "recursive"; then
2135 # If there are subdirs, report their specific --help.
2136 for ac_dir in : $ac_subdirs_all; do test "x$ac_dir" = x: && continue
2137 test -d "$ac_dir" ||
2138 { cd "$srcdir" && ac_pwd=`pwd` && srcdir=. && test -d "$ac_dir"; } ||
2139 continue
2140 ac_builddir=.
2142 case "$ac_dir" in
2143 .) ac_dir_suffix= ac_top_builddir_sub=. ac_top_build_prefix= ;;
2145 ac_dir_suffix=/`$as_echo "$ac_dir" | sed 's|^\.[\\/]||'`
2146 # A ".." for each directory in $ac_dir_suffix.
2147 ac_top_builddir_sub=`$as_echo "$ac_dir_suffix" | sed 's|/[^\\/]*|/..|g;s|/||'`
2148 case $ac_top_builddir_sub in
2149 "") ac_top_builddir_sub=. ac_top_build_prefix= ;;
2150 *) ac_top_build_prefix=$ac_top_builddir_sub/ ;;
2151 esac ;;
2152 esac
2153 ac_abs_top_builddir=$ac_pwd
2154 ac_abs_builddir=$ac_pwd$ac_dir_suffix
2155 # for backward compatibility:
2156 ac_top_builddir=$ac_top_build_prefix
2158 case $srcdir in
2159 .) # We are building in place.
2160 ac_srcdir=.
2161 ac_top_srcdir=$ac_top_builddir_sub
2162 ac_abs_top_srcdir=$ac_pwd ;;
2163 [\\/]* | ?:[\\/]* ) # Absolute name.
2164 ac_srcdir=$srcdir$ac_dir_suffix;
2165 ac_top_srcdir=$srcdir
2166 ac_abs_top_srcdir=$srcdir ;;
2167 *) # Relative name.
2168 ac_srcdir=$ac_top_build_prefix$srcdir$ac_dir_suffix
2169 ac_top_srcdir=$ac_top_build_prefix$srcdir
2170 ac_abs_top_srcdir=$ac_pwd/$srcdir ;;
2171 esac
2172 ac_abs_srcdir=$ac_abs_top_srcdir$ac_dir_suffix
2174 cd "$ac_dir" || { ac_status=$?; continue; }
2175 # Check for guested configure.
2176 if test -f "$ac_srcdir/configure.gnu"; then
2177 echo &&
2178 $SHELL "$ac_srcdir/configure.gnu" --help=recursive
2179 elif test -f "$ac_srcdir/configure"; then
2180 echo &&
2181 $SHELL "$ac_srcdir/configure" --help=recursive
2182 else
2183 $as_echo "$as_me: WARNING: no configuration information is in $ac_dir" >&2
2184 fi || ac_status=$?
2185 cd "$ac_pwd" || { ac_status=$?; break; }
2186 done
2189 test -n "$ac_init_help" && exit $ac_status
2190 if $ac_init_version; then
2191 cat <<\_ACEOF
2192 Wine configure 1.7.5
2193 generated by GNU Autoconf 2.69
2195 Copyright (C) 2012 Free Software Foundation, Inc.
2196 This configure script is free software; the Free Software Foundation
2197 gives unlimited permission to copy, distribute and modify it.
2198 _ACEOF
2199 exit
2202 ## ------------------------ ##
2203 ## Autoconf initialization. ##
2204 ## ------------------------ ##
2206 # ac_fn_c_try_compile LINENO
2207 # --------------------------
2208 # Try to compile conftest.$ac_ext, and return whether this succeeded.
2209 ac_fn_c_try_compile ()
2211 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
2212 rm -f conftest.$ac_objext
2213 if { { ac_try="$ac_compile"
2214 case "(($ac_try" in
2215 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2216 *) ac_try_echo=$ac_try;;
2217 esac
2218 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
2219 $as_echo "$ac_try_echo"; } >&5
2220 (eval "$ac_compile") 2>conftest.err
2221 ac_status=$?
2222 if test -s conftest.err; then
2223 grep -v '^ *+' conftest.err >conftest.er1
2224 cat conftest.er1 >&5
2225 mv -f conftest.er1 conftest.err
2227 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
2228 test $ac_status = 0; } && {
2229 test -z "$ac_c_werror_flag" ||
2230 test ! -s conftest.err
2231 } && test -s conftest.$ac_objext; then :
2232 ac_retval=0
2233 else
2234 $as_echo "$as_me: failed program was:" >&5
2235 sed 's/^/| /' conftest.$ac_ext >&5
2237 ac_retval=1
2239 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
2240 as_fn_set_status $ac_retval
2242 } # ac_fn_c_try_compile
2244 # ac_fn_cxx_try_compile LINENO
2245 # ----------------------------
2246 # Try to compile conftest.$ac_ext, and return whether this succeeded.
2247 ac_fn_cxx_try_compile ()
2249 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
2250 rm -f conftest.$ac_objext
2251 if { { ac_try="$ac_compile"
2252 case "(($ac_try" in
2253 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2254 *) ac_try_echo=$ac_try;;
2255 esac
2256 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
2257 $as_echo "$ac_try_echo"; } >&5
2258 (eval "$ac_compile") 2>conftest.err
2259 ac_status=$?
2260 if test -s conftest.err; then
2261 grep -v '^ *+' conftest.err >conftest.er1
2262 cat conftest.er1 >&5
2263 mv -f conftest.er1 conftest.err
2265 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
2266 test $ac_status = 0; } && {
2267 test -z "$ac_cxx_werror_flag" ||
2268 test ! -s conftest.err
2269 } && test -s conftest.$ac_objext; then :
2270 ac_retval=0
2271 else
2272 $as_echo "$as_me: failed program was:" >&5
2273 sed 's/^/| /' conftest.$ac_ext >&5
2275 ac_retval=1
2277 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
2278 as_fn_set_status $ac_retval
2280 } # ac_fn_cxx_try_compile
2282 # ac_fn_c_try_link LINENO
2283 # -----------------------
2284 # Try to link conftest.$ac_ext, and return whether this succeeded.
2285 ac_fn_c_try_link ()
2287 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
2288 rm -f conftest.$ac_objext conftest$ac_exeext
2289 if { { ac_try="$ac_link"
2290 case "(($ac_try" in
2291 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2292 *) ac_try_echo=$ac_try;;
2293 esac
2294 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
2295 $as_echo "$ac_try_echo"; } >&5
2296 (eval "$ac_link") 2>conftest.err
2297 ac_status=$?
2298 if test -s conftest.err; then
2299 grep -v '^ *+' conftest.err >conftest.er1
2300 cat conftest.er1 >&5
2301 mv -f conftest.er1 conftest.err
2303 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
2304 test $ac_status = 0; } && {
2305 test -z "$ac_c_werror_flag" ||
2306 test ! -s conftest.err
2307 } && test -s conftest$ac_exeext && {
2308 test "$cross_compiling" = yes ||
2309 test -x conftest$ac_exeext
2310 }; then :
2311 ac_retval=0
2312 else
2313 $as_echo "$as_me: failed program was:" >&5
2314 sed 's/^/| /' conftest.$ac_ext >&5
2316 ac_retval=1
2318 # Delete the IPA/IPO (Inter Procedural Analysis/Optimization) information
2319 # created by the PGI compiler (conftest_ipa8_conftest.oo), as it would
2320 # interfere with the next link command; also delete a directory that is
2321 # left behind by Apple's compiler. We do this before executing the actions.
2322 rm -rf conftest.dSYM conftest_ipa8_conftest.oo
2323 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
2324 as_fn_set_status $ac_retval
2326 } # ac_fn_c_try_link
2328 # ac_fn_c_try_cpp LINENO
2329 # ----------------------
2330 # Try to preprocess conftest.$ac_ext, and return whether this succeeded.
2331 ac_fn_c_try_cpp ()
2333 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
2334 if { { ac_try="$ac_cpp conftest.$ac_ext"
2335 case "(($ac_try" in
2336 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2337 *) ac_try_echo=$ac_try;;
2338 esac
2339 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
2340 $as_echo "$ac_try_echo"; } >&5
2341 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.err
2342 ac_status=$?
2343 if test -s conftest.err; then
2344 grep -v '^ *+' conftest.err >conftest.er1
2345 cat conftest.er1 >&5
2346 mv -f conftest.er1 conftest.err
2348 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
2349 test $ac_status = 0; } > conftest.i && {
2350 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
2351 test ! -s conftest.err
2352 }; then :
2353 ac_retval=0
2354 else
2355 $as_echo "$as_me: failed program was:" >&5
2356 sed 's/^/| /' conftest.$ac_ext >&5
2358 ac_retval=1
2360 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
2361 as_fn_set_status $ac_retval
2363 } # ac_fn_c_try_cpp
2365 # ac_fn_c_check_header_mongrel LINENO HEADER VAR INCLUDES
2366 # -------------------------------------------------------
2367 # Tests whether HEADER exists, giving a warning if it cannot be compiled using
2368 # the include files in INCLUDES and setting the cache variable VAR
2369 # accordingly.
2370 ac_fn_c_check_header_mongrel ()
2372 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
2373 if eval \${$3+:} false; then :
2374 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
2375 $as_echo_n "checking for $2... " >&6; }
2376 if eval \${$3+:} false; then :
2377 $as_echo_n "(cached) " >&6
2379 eval ac_res=\$$3
2380 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
2381 $as_echo "$ac_res" >&6; }
2382 else
2383 # Is the header compilable?
2384 { $as_echo "$as_me:${as_lineno-$LINENO}: checking $2 usability" >&5
2385 $as_echo_n "checking $2 usability... " >&6; }
2386 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2387 /* end confdefs.h. */
2389 #include <$2>
2390 _ACEOF
2391 if ac_fn_c_try_compile "$LINENO"; then :
2392 ac_header_compiler=yes
2393 else
2394 ac_header_compiler=no
2396 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
2397 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_header_compiler" >&5
2398 $as_echo "$ac_header_compiler" >&6; }
2400 # Is the header present?
2401 { $as_echo "$as_me:${as_lineno-$LINENO}: checking $2 presence" >&5
2402 $as_echo_n "checking $2 presence... " >&6; }
2403 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2404 /* end confdefs.h. */
2405 #include <$2>
2406 _ACEOF
2407 if ac_fn_c_try_cpp "$LINENO"; then :
2408 ac_header_preproc=yes
2409 else
2410 ac_header_preproc=no
2412 rm -f conftest.err conftest.i conftest.$ac_ext
2413 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_header_preproc" >&5
2414 $as_echo "$ac_header_preproc" >&6; }
2416 # So? What about this header?
2417 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in #((
2418 yes:no: )
2419 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: accepted by the compiler, rejected by the preprocessor!" >&5
2420 $as_echo "$as_me: WARNING: $2: accepted by the compiler, rejected by the preprocessor!" >&2;}
2421 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: proceeding with the compiler's result" >&5
2422 $as_echo "$as_me: WARNING: $2: proceeding with the compiler's result" >&2;}
2424 no:yes:* )
2425 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: present but cannot be compiled" >&5
2426 $as_echo "$as_me: WARNING: $2: present but cannot be compiled" >&2;}
2427 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: check for missing prerequisite headers?" >&5
2428 $as_echo "$as_me: WARNING: $2: check for missing prerequisite headers?" >&2;}
2429 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: see the Autoconf documentation" >&5
2430 $as_echo "$as_me: WARNING: $2: see the Autoconf documentation" >&2;}
2431 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: section \"Present But Cannot Be Compiled\"" >&5
2432 $as_echo "$as_me: WARNING: $2: section \"Present But Cannot Be Compiled\"" >&2;}
2433 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: proceeding with the compiler's result" >&5
2434 $as_echo "$as_me: WARNING: $2: proceeding with the compiler's result" >&2;}
2435 ( $as_echo "## ------------------------------------ ##
2436 ## Report this to wine-devel@winehq.org ##
2437 ## ------------------------------------ ##"
2438 ) | sed "s/^/$as_me: WARNING: /" >&2
2440 esac
2441 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
2442 $as_echo_n "checking for $2... " >&6; }
2443 if eval \${$3+:} false; then :
2444 $as_echo_n "(cached) " >&6
2445 else
2446 eval "$3=\$ac_header_compiler"
2448 eval ac_res=\$$3
2449 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
2450 $as_echo "$ac_res" >&6; }
2452 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
2454 } # ac_fn_c_check_header_mongrel
2456 # ac_fn_c_try_run LINENO
2457 # ----------------------
2458 # Try to link conftest.$ac_ext, and return whether this succeeded. Assumes
2459 # that executables *can* be run.
2460 ac_fn_c_try_run ()
2462 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
2463 if { { ac_try="$ac_link"
2464 case "(($ac_try" in
2465 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2466 *) ac_try_echo=$ac_try;;
2467 esac
2468 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
2469 $as_echo "$ac_try_echo"; } >&5
2470 (eval "$ac_link") 2>&5
2471 ac_status=$?
2472 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
2473 test $ac_status = 0; } && { ac_try='./conftest$ac_exeext'
2474 { { case "(($ac_try" in
2475 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2476 *) ac_try_echo=$ac_try;;
2477 esac
2478 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
2479 $as_echo "$ac_try_echo"; } >&5
2480 (eval "$ac_try") 2>&5
2481 ac_status=$?
2482 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
2483 test $ac_status = 0; }; }; then :
2484 ac_retval=0
2485 else
2486 $as_echo "$as_me: program exited with status $ac_status" >&5
2487 $as_echo "$as_me: failed program was:" >&5
2488 sed 's/^/| /' conftest.$ac_ext >&5
2490 ac_retval=$ac_status
2492 rm -rf conftest.dSYM conftest_ipa8_conftest.oo
2493 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
2494 as_fn_set_status $ac_retval
2496 } # ac_fn_c_try_run
2498 # ac_fn_c_check_header_compile LINENO HEADER VAR INCLUDES
2499 # -------------------------------------------------------
2500 # Tests whether HEADER exists and can be compiled using the include files in
2501 # INCLUDES, setting the cache variable VAR accordingly.
2502 ac_fn_c_check_header_compile ()
2504 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
2505 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
2506 $as_echo_n "checking for $2... " >&6; }
2507 if eval \${$3+:} false; then :
2508 $as_echo_n "(cached) " >&6
2509 else
2510 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2511 /* end confdefs.h. */
2513 #include <$2>
2514 _ACEOF
2515 if ac_fn_c_try_compile "$LINENO"; then :
2516 eval "$3=yes"
2517 else
2518 eval "$3=no"
2520 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
2522 eval ac_res=\$$3
2523 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
2524 $as_echo "$ac_res" >&6; }
2525 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
2527 } # ac_fn_c_check_header_compile
2529 # ac_fn_c_check_func LINENO FUNC VAR
2530 # ----------------------------------
2531 # Tests whether FUNC exists, setting the cache variable VAR accordingly
2532 ac_fn_c_check_func ()
2534 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
2535 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
2536 $as_echo_n "checking for $2... " >&6; }
2537 if eval \${$3+:} false; then :
2538 $as_echo_n "(cached) " >&6
2539 else
2540 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2541 /* end confdefs.h. */
2542 /* Define $2 to an innocuous variant, in case <limits.h> declares $2.
2543 For example, HP-UX 11i <limits.h> declares gettimeofday. */
2544 #define $2 innocuous_$2
2546 /* System header to define __stub macros and hopefully few prototypes,
2547 which can conflict with char $2 (); below.
2548 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
2549 <limits.h> exists even on freestanding compilers. */
2551 #ifdef __STDC__
2552 # include <limits.h>
2553 #else
2554 # include <assert.h>
2555 #endif
2557 #undef $2
2559 /* Override any GCC internal prototype to avoid an error.
2560 Use char because int might match the return type of a GCC
2561 builtin and then its argument prototype would still apply. */
2562 #ifdef __cplusplus
2563 extern "C"
2564 #endif
2565 char $2 ();
2566 /* The GNU C library defines this for functions which it implements
2567 to always fail with ENOSYS. Some functions are actually named
2568 something starting with __ and the normal name is an alias. */
2569 #if defined __stub_$2 || defined __stub___$2
2570 choke me
2571 #endif
2574 main ()
2576 return $2 ();
2578 return 0;
2580 _ACEOF
2581 if ac_fn_c_try_link "$LINENO"; then :
2582 eval "$3=yes"
2583 else
2584 eval "$3=no"
2586 rm -f core conftest.err conftest.$ac_objext \
2587 conftest$ac_exeext conftest.$ac_ext
2589 eval ac_res=\$$3
2590 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
2591 $as_echo "$ac_res" >&6; }
2592 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
2594 } # ac_fn_c_check_func
2596 # ac_fn_c_check_member LINENO AGGR MEMBER VAR INCLUDES
2597 # ----------------------------------------------------
2598 # Tries to find if the field MEMBER exists in type AGGR, after including
2599 # INCLUDES, setting cache variable VAR accordingly.
2600 ac_fn_c_check_member ()
2602 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
2603 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2.$3" >&5
2604 $as_echo_n "checking for $2.$3... " >&6; }
2605 if eval \${$4+:} false; then :
2606 $as_echo_n "(cached) " >&6
2607 else
2608 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2609 /* end confdefs.h. */
2612 main ()
2614 static $2 ac_aggr;
2615 if (ac_aggr.$3)
2616 return 0;
2618 return 0;
2620 _ACEOF
2621 if ac_fn_c_try_compile "$LINENO"; then :
2622 eval "$4=yes"
2623 else
2624 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2625 /* end confdefs.h. */
2628 main ()
2630 static $2 ac_aggr;
2631 if (sizeof ac_aggr.$3)
2632 return 0;
2634 return 0;
2636 _ACEOF
2637 if ac_fn_c_try_compile "$LINENO"; then :
2638 eval "$4=yes"
2639 else
2640 eval "$4=no"
2642 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
2644 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
2646 eval ac_res=\$$4
2647 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
2648 $as_echo "$ac_res" >&6; }
2649 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
2651 } # ac_fn_c_check_member
2653 # ac_fn_c_check_type LINENO TYPE VAR INCLUDES
2654 # -------------------------------------------
2655 # Tests whether TYPE exists after having included INCLUDES, setting cache
2656 # variable VAR accordingly.
2657 ac_fn_c_check_type ()
2659 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
2660 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
2661 $as_echo_n "checking for $2... " >&6; }
2662 if eval \${$3+:} false; then :
2663 $as_echo_n "(cached) " >&6
2664 else
2665 eval "$3=no"
2666 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2667 /* end confdefs.h. */
2670 main ()
2672 if (sizeof ($2))
2673 return 0;
2675 return 0;
2677 _ACEOF
2678 if ac_fn_c_try_compile "$LINENO"; then :
2679 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2680 /* end confdefs.h. */
2683 main ()
2685 if (sizeof (($2)))
2686 return 0;
2688 return 0;
2690 _ACEOF
2691 if ac_fn_c_try_compile "$LINENO"; then :
2693 else
2694 eval "$3=yes"
2696 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
2698 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
2700 eval ac_res=\$$3
2701 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
2702 $as_echo "$ac_res" >&6; }
2703 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
2705 } # ac_fn_c_check_type
2706 cat >config.log <<_ACEOF
2707 This file contains any messages produced by compilers while
2708 running configure, to aid debugging if configure makes a mistake.
2710 It was created by Wine $as_me 1.7.5, which was
2711 generated by GNU Autoconf 2.69. Invocation command line was
2713 $ $0 $@
2715 _ACEOF
2716 exec 5>>config.log
2718 cat <<_ASUNAME
2719 ## --------- ##
2720 ## Platform. ##
2721 ## --------- ##
2723 hostname = `(hostname || uname -n) 2>/dev/null | sed 1q`
2724 uname -m = `(uname -m) 2>/dev/null || echo unknown`
2725 uname -r = `(uname -r) 2>/dev/null || echo unknown`
2726 uname -s = `(uname -s) 2>/dev/null || echo unknown`
2727 uname -v = `(uname -v) 2>/dev/null || echo unknown`
2729 /usr/bin/uname -p = `(/usr/bin/uname -p) 2>/dev/null || echo unknown`
2730 /bin/uname -X = `(/bin/uname -X) 2>/dev/null || echo unknown`
2732 /bin/arch = `(/bin/arch) 2>/dev/null || echo unknown`
2733 /usr/bin/arch -k = `(/usr/bin/arch -k) 2>/dev/null || echo unknown`
2734 /usr/convex/getsysinfo = `(/usr/convex/getsysinfo) 2>/dev/null || echo unknown`
2735 /usr/bin/hostinfo = `(/usr/bin/hostinfo) 2>/dev/null || echo unknown`
2736 /bin/machine = `(/bin/machine) 2>/dev/null || echo unknown`
2737 /usr/bin/oslevel = `(/usr/bin/oslevel) 2>/dev/null || echo unknown`
2738 /bin/universe = `(/bin/universe) 2>/dev/null || echo unknown`
2740 _ASUNAME
2742 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2743 for as_dir in $PATH
2745 IFS=$as_save_IFS
2746 test -z "$as_dir" && as_dir=.
2747 $as_echo "PATH: $as_dir"
2748 done
2749 IFS=$as_save_IFS
2751 } >&5
2753 cat >&5 <<_ACEOF
2756 ## ----------- ##
2757 ## Core tests. ##
2758 ## ----------- ##
2760 _ACEOF
2763 # Keep a trace of the command line.
2764 # Strip out --no-create and --no-recursion so they do not pile up.
2765 # Strip out --silent because we don't want to record it for future runs.
2766 # Also quote any args containing shell meta-characters.
2767 # Make two passes to allow for proper duplicate-argument suppression.
2768 ac_configure_args=
2769 ac_configure_args0=
2770 ac_configure_args1=
2771 ac_must_keep_next=false
2772 for ac_pass in 1 2
2774 for ac_arg
2776 case $ac_arg in
2777 -no-create | --no-c* | -n | -no-recursion | --no-r*) continue ;;
2778 -q | -quiet | --quiet | --quie | --qui | --qu | --q \
2779 | -silent | --silent | --silen | --sile | --sil)
2780 continue ;;
2781 *\'*)
2782 ac_arg=`$as_echo "$ac_arg" | sed "s/'/'\\\\\\\\''/g"` ;;
2783 esac
2784 case $ac_pass in
2785 1) as_fn_append ac_configure_args0 " '$ac_arg'" ;;
2787 as_fn_append ac_configure_args1 " '$ac_arg'"
2788 if test $ac_must_keep_next = true; then
2789 ac_must_keep_next=false # Got value, back to normal.
2790 else
2791 case $ac_arg in
2792 *=* | --config-cache | -C | -disable-* | --disable-* \
2793 | -enable-* | --enable-* | -gas | --g* | -nfp | --nf* \
2794 | -q | -quiet | --q* | -silent | --sil* | -v | -verb* \
2795 | -with-* | --with-* | -without-* | --without-* | --x)
2796 case "$ac_configure_args0 " in
2797 "$ac_configure_args1"*" '$ac_arg' "* ) continue ;;
2798 esac
2800 -* ) ac_must_keep_next=true ;;
2801 esac
2803 as_fn_append ac_configure_args " '$ac_arg'"
2805 esac
2806 done
2807 done
2808 { ac_configure_args0=; unset ac_configure_args0;}
2809 { ac_configure_args1=; unset ac_configure_args1;}
2811 # When interrupted or exit'd, cleanup temporary files, and complete
2812 # config.log. We remove comments because anyway the quotes in there
2813 # would cause problems or look ugly.
2814 # WARNING: Use '\'' to represent an apostrophe within the trap.
2815 # WARNING: Do not start the trap code with a newline, due to a FreeBSD 4.0 bug.
2816 trap 'exit_status=$?
2817 # Save into config.log some information that might help in debugging.
2819 echo
2821 $as_echo "## ---------------- ##
2822 ## Cache variables. ##
2823 ## ---------------- ##"
2824 echo
2825 # The following way of writing the cache mishandles newlines in values,
2827 for ac_var in `(set) 2>&1 | sed -n '\''s/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'\''`; do
2828 eval ac_val=\$$ac_var
2829 case $ac_val in #(
2830 *${as_nl}*)
2831 case $ac_var in #(
2832 *_cv_*) { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: cache variable $ac_var contains a newline" >&5
2833 $as_echo "$as_me: WARNING: cache variable $ac_var contains a newline" >&2;} ;;
2834 esac
2835 case $ac_var in #(
2836 _ | IFS | as_nl) ;; #(
2837 BASH_ARGV | BASH_SOURCE) eval $ac_var= ;; #(
2838 *) { eval $ac_var=; unset $ac_var;} ;;
2839 esac ;;
2840 esac
2841 done
2842 (set) 2>&1 |
2843 case $as_nl`(ac_space='\'' '\''; set) 2>&1` in #(
2844 *${as_nl}ac_space=\ *)
2845 sed -n \
2846 "s/'\''/'\''\\\\'\'''\''/g;
2847 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\''\\2'\''/p"
2848 ;; #(
2850 sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
2852 esac |
2853 sort
2855 echo
2857 $as_echo "## ----------------- ##
2858 ## Output variables. ##
2859 ## ----------------- ##"
2860 echo
2861 for ac_var in $ac_subst_vars
2863 eval ac_val=\$$ac_var
2864 case $ac_val in
2865 *\'\''*) ac_val=`$as_echo "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;;
2866 esac
2867 $as_echo "$ac_var='\''$ac_val'\''"
2868 done | sort
2869 echo
2871 if test -n "$ac_subst_files"; then
2872 $as_echo "## ------------------- ##
2873 ## File substitutions. ##
2874 ## ------------------- ##"
2875 echo
2876 for ac_var in $ac_subst_files
2878 eval ac_val=\$$ac_var
2879 case $ac_val in
2880 *\'\''*) ac_val=`$as_echo "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;;
2881 esac
2882 $as_echo "$ac_var='\''$ac_val'\''"
2883 done | sort
2884 echo
2887 if test -s confdefs.h; then
2888 $as_echo "## ----------- ##
2889 ## confdefs.h. ##
2890 ## ----------- ##"
2891 echo
2892 cat confdefs.h
2893 echo
2895 test "$ac_signal" != 0 &&
2896 $as_echo "$as_me: caught signal $ac_signal"
2897 $as_echo "$as_me: exit $exit_status"
2898 } >&5
2899 rm -f core *.core core.conftest.* &&
2900 rm -f -r conftest* confdefs* conf$$* $ac_clean_files &&
2901 exit $exit_status
2903 for ac_signal in 1 2 13 15; do
2904 trap 'ac_signal='$ac_signal'; as_fn_exit 1' $ac_signal
2905 done
2906 ac_signal=0
2908 # confdefs.h avoids OS command line length limits that DEFS can exceed.
2909 rm -f -r conftest* confdefs.h
2911 $as_echo "/* confdefs.h */" > confdefs.h
2913 # Predefined preprocessor variables.
2915 cat >>confdefs.h <<_ACEOF
2916 #define PACKAGE_NAME "$PACKAGE_NAME"
2917 _ACEOF
2919 cat >>confdefs.h <<_ACEOF
2920 #define PACKAGE_TARNAME "$PACKAGE_TARNAME"
2921 _ACEOF
2923 cat >>confdefs.h <<_ACEOF
2924 #define PACKAGE_VERSION "$PACKAGE_VERSION"
2925 _ACEOF
2927 cat >>confdefs.h <<_ACEOF
2928 #define PACKAGE_STRING "$PACKAGE_STRING"
2929 _ACEOF
2931 cat >>confdefs.h <<_ACEOF
2932 #define PACKAGE_BUGREPORT "$PACKAGE_BUGREPORT"
2933 _ACEOF
2935 cat >>confdefs.h <<_ACEOF
2936 #define PACKAGE_URL "$PACKAGE_URL"
2937 _ACEOF
2940 # Let the site file select an alternate cache file if it wants to.
2941 # Prefer an explicitly selected file to automatically selected ones.
2942 ac_site_file1=NONE
2943 ac_site_file2=NONE
2944 if test -n "$CONFIG_SITE"; then
2945 # We do not want a PATH search for config.site.
2946 case $CONFIG_SITE in #((
2947 -*) ac_site_file1=./$CONFIG_SITE;;
2948 */*) ac_site_file1=$CONFIG_SITE;;
2949 *) ac_site_file1=./$CONFIG_SITE;;
2950 esac
2951 elif test "x$prefix" != xNONE; then
2952 ac_site_file1=$prefix/share/config.site
2953 ac_site_file2=$prefix/etc/config.site
2954 else
2955 ac_site_file1=$ac_default_prefix/share/config.site
2956 ac_site_file2=$ac_default_prefix/etc/config.site
2958 for ac_site_file in "$ac_site_file1" "$ac_site_file2"
2960 test "x$ac_site_file" = xNONE && continue
2961 if test /dev/null != "$ac_site_file" && test -r "$ac_site_file"; then
2962 { $as_echo "$as_me:${as_lineno-$LINENO}: loading site script $ac_site_file" >&5
2963 $as_echo "$as_me: loading site script $ac_site_file" >&6;}
2964 sed 's/^/| /' "$ac_site_file" >&5
2965 . "$ac_site_file" \
2966 || { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
2967 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
2968 as_fn_error $? "failed to load site script $ac_site_file
2969 See \`config.log' for more details" "$LINENO" 5; }
2971 done
2973 if test -r "$cache_file"; then
2974 # Some versions of bash will fail to source /dev/null (special files
2975 # actually), so we avoid doing that. DJGPP emulates it as a regular file.
2976 if test /dev/null != "$cache_file" && test -f "$cache_file"; then
2977 { $as_echo "$as_me:${as_lineno-$LINENO}: loading cache $cache_file" >&5
2978 $as_echo "$as_me: loading cache $cache_file" >&6;}
2979 case $cache_file in
2980 [\\/]* | ?:[\\/]* ) . "$cache_file";;
2981 *) . "./$cache_file";;
2982 esac
2984 else
2985 { $as_echo "$as_me:${as_lineno-$LINENO}: creating cache $cache_file" >&5
2986 $as_echo "$as_me: creating cache $cache_file" >&6;}
2987 >$cache_file
2990 # Check that the precious variables saved in the cache have kept the same
2991 # value.
2992 ac_cache_corrupted=false
2993 for ac_var in $ac_precious_vars; do
2994 eval ac_old_set=\$ac_cv_env_${ac_var}_set
2995 eval ac_new_set=\$ac_env_${ac_var}_set
2996 eval ac_old_val=\$ac_cv_env_${ac_var}_value
2997 eval ac_new_val=\$ac_env_${ac_var}_value
2998 case $ac_old_set,$ac_new_set in
2999 set,)
3000 { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&5
3001 $as_echo "$as_me: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&2;}
3002 ac_cache_corrupted=: ;;
3003 ,set)
3004 { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' was not set in the previous run" >&5
3005 $as_echo "$as_me: error: \`$ac_var' was not set in the previous run" >&2;}
3006 ac_cache_corrupted=: ;;
3007 ,);;
3009 if test "x$ac_old_val" != "x$ac_new_val"; then
3010 # differences in whitespace do not lead to failure.
3011 ac_old_val_w=`echo x $ac_old_val`
3012 ac_new_val_w=`echo x $ac_new_val`
3013 if test "$ac_old_val_w" != "$ac_new_val_w"; then
3014 { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' has changed since the previous run:" >&5
3015 $as_echo "$as_me: error: \`$ac_var' has changed since the previous run:" >&2;}
3016 ac_cache_corrupted=:
3017 else
3018 { $as_echo "$as_me:${as_lineno-$LINENO}: warning: ignoring whitespace changes in \`$ac_var' since the previous run:" >&5
3019 $as_echo "$as_me: warning: ignoring whitespace changes in \`$ac_var' since the previous run:" >&2;}
3020 eval $ac_var=\$ac_old_val
3022 { $as_echo "$as_me:${as_lineno-$LINENO}: former value: \`$ac_old_val'" >&5
3023 $as_echo "$as_me: former value: \`$ac_old_val'" >&2;}
3024 { $as_echo "$as_me:${as_lineno-$LINENO}: current value: \`$ac_new_val'" >&5
3025 $as_echo "$as_me: current value: \`$ac_new_val'" >&2;}
3026 fi;;
3027 esac
3028 # Pass precious variables to config.status.
3029 if test "$ac_new_set" = set; then
3030 case $ac_new_val in
3031 *\'*) ac_arg=$ac_var=`$as_echo "$ac_new_val" | sed "s/'/'\\\\\\\\''/g"` ;;
3032 *) ac_arg=$ac_var=$ac_new_val ;;
3033 esac
3034 case " $ac_configure_args " in
3035 *" '$ac_arg' "*) ;; # Avoid dups. Use of quotes ensures accuracy.
3036 *) as_fn_append ac_configure_args " '$ac_arg'" ;;
3037 esac
3039 done
3040 if $ac_cache_corrupted; then
3041 { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
3042 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
3043 { $as_echo "$as_me:${as_lineno-$LINENO}: error: changes in the environment can compromise the build" >&5
3044 $as_echo "$as_me: error: changes in the environment can compromise the build" >&2;}
3045 as_fn_error $? "run \`make distclean' and/or \`rm $cache_file' and start over" "$LINENO" 5
3047 ## -------------------- ##
3048 ## Main body of script. ##
3049 ## -------------------- ##
3051 ac_ext=c
3052 ac_cpp='$CPP $CPPFLAGS'
3053 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
3054 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
3055 ac_compiler_gnu=$ac_cv_c_compiler_gnu
3059 ac_config_headers="$ac_config_headers include/config.h"
3061 ac_aux_dir=
3062 for ac_dir in tools "$srcdir"/tools; do
3063 if test -f "$ac_dir/install-sh"; then
3064 ac_aux_dir=$ac_dir
3065 ac_install_sh="$ac_aux_dir/install-sh -c"
3066 break
3067 elif test -f "$ac_dir/install.sh"; then
3068 ac_aux_dir=$ac_dir
3069 ac_install_sh="$ac_aux_dir/install.sh -c"
3070 break
3071 elif test -f "$ac_dir/shtool"; then
3072 ac_aux_dir=$ac_dir
3073 ac_install_sh="$ac_aux_dir/shtool install -c"
3074 break
3076 done
3077 if test -z "$ac_aux_dir"; then
3078 as_fn_error $? "cannot find install-sh, install.sh, or shtool in tools \"$srcdir\"/tools" "$LINENO" 5
3081 # These three variables are undocumented and unsupported,
3082 # and are intended to be withdrawn in a future Autoconf release.
3083 # They can cause serious problems if a builder's source tree is in a directory
3084 # whose full name contains unusual characters.
3085 ac_config_guess="$SHELL $ac_aux_dir/config.guess" # Please don't use this var.
3086 ac_config_sub="$SHELL $ac_aux_dir/config.sub" # Please don't use this var.
3087 ac_configure="$SHELL $ac_aux_dir/configure" # Please don't use this var.
3093 # Check whether --enable-win16 was given.
3094 if test "${enable_win16+set}" = set; then :
3095 enableval=$enable_win16;
3098 # Check whether --enable-win64 was given.
3099 if test "${enable_win64+set}" = set; then :
3100 enableval=$enable_win64;
3103 # Check whether --enable-tests was given.
3104 if test "${enable_tests+set}" = set; then :
3105 enableval=$enable_tests;
3108 # Check whether --enable-maintainer-mode was given.
3109 if test "${enable_maintainer_mode+set}" = set; then :
3110 enableval=$enable_maintainer_mode;
3115 # Check whether --with-alsa was given.
3116 if test "${with_alsa+set}" = set; then :
3117 withval=$with_alsa; if test "x$withval" = "xno"; then ac_cv_header_sys_asoundlib_h=no; ac_cv_header_alsa_asoundlib_h=no; fi
3121 # Check whether --with-capi was given.
3122 if test "${with_capi+set}" = set; then :
3123 withval=$with_capi;
3127 # Check whether --with-cms was given.
3128 if test "${with_cms+set}" = set; then :
3129 withval=$with_cms;
3133 # Check whether --with-coreaudio was given.
3134 if test "${with_coreaudio+set}" = set; then :
3135 withval=$with_coreaudio; if test "x$withval" = "xno"; then ac_cv_header_CoreAudio_CoreAudio_h=no; fi
3139 # Check whether --with-cups was given.
3140 if test "${with_cups+set}" = set; then :
3141 withval=$with_cups;
3145 # Check whether --with-curses was given.
3146 if test "${with_curses+set}" = set; then :
3147 withval=$with_curses; if test "x$withval" = "xno"; then ac_cv_header_ncurses_h=no; ac_cv_header_curses_h=no; fi
3151 # Check whether --with-dbus was given.
3152 if test "${with_dbus+set}" = set; then :
3153 withval=$with_dbus;
3157 # Check whether --with-fontconfig was given.
3158 if test "${with_fontconfig+set}" = set; then :
3159 withval=$with_fontconfig;
3163 # Check whether --with-freetype was given.
3164 if test "${with_freetype+set}" = set; then :
3165 withval=$with_freetype;
3169 # Check whether --with-gettext was given.
3170 if test "${with_gettext+set}" = set; then :
3171 withval=$with_gettext;
3175 # Check whether --with-gettextpo was given.
3176 if test "${with_gettextpo+set}" = set; then :
3177 withval=$with_gettextpo; if test "x$withval" = "xno"; then ac_cv_header_gettext_po_h=no; fi
3181 # Check whether --with-gphoto was given.
3182 if test "${with_gphoto+set}" = set; then :
3183 withval=$with_gphoto;
3187 # Check whether --with-glu was given.
3188 if test "${with_glu+set}" = set; then :
3189 withval=$with_glu;
3193 # Check whether --with-gnutls was given.
3194 if test "${with_gnutls+set}" = set; then :
3195 withval=$with_gnutls;
3199 # Check whether --with-gsm was given.
3200 if test "${with_gsm+set}" = set; then :
3201 withval=$with_gsm; if test "x$withval" = "xno"; then ac_cv_header_gsm_h=no; ac_cv_header_gsm_gsm_h=no; fi
3205 # Check whether --with-gstreamer was given.
3206 if test "${with_gstreamer+set}" = set; then :
3207 withval=$with_gstreamer;
3211 # Check whether --with-hal was given.
3212 if test "${with_hal+set}" = set; then :
3213 withval=$with_hal;
3217 # Check whether --with-jpeg was given.
3218 if test "${with_jpeg+set}" = set; then :
3219 withval=$with_jpeg;
3223 # Check whether --with-ldap was given.
3224 if test "${with_ldap+set}" = set; then :
3225 withval=$with_ldap; if test "x$withval" = "xno"; then ac_cv_header_ldap_h=no; ac_cv_header_lber_h=no; fi
3229 # Check whether --with-mpg123 was given.
3230 if test "${with_mpg123+set}" = set; then :
3231 withval=$with_mpg123;
3235 # Check whether --with-openal was given.
3236 if test "${with_openal+set}" = set; then :
3237 withval=$with_openal; if test "x$withval" = "xno"; then ac_cv_header_AL_al_h=no; ac_cv_header_OpenAL_al_h=no; fi
3241 # Check whether --with-opencl was given.
3242 if test "${with_opencl+set}" = set; then :
3243 withval=$with_opencl; if test "x$withval" = "xno"; then ac_cv_header_CL_cl_h=no; ac_cv_header_OpenCL_opencl_h=no; fi
3247 # Check whether --with-opengl was given.
3248 if test "${with_opengl+set}" = set; then :
3249 withval=$with_opengl;
3253 # Check whether --with-osmesa was given.
3254 if test "${with_osmesa+set}" = set; then :
3255 withval=$with_osmesa;
3259 # Check whether --with-oss was given.
3260 if test "${with_oss+set}" = set; then :
3261 withval=$with_oss;
3265 # Check whether --with-png was given.
3266 if test "${with_png+set}" = set; then :
3267 withval=$with_png;
3271 # Check whether --with-pthread was given.
3272 if test "${with_pthread+set}" = set; then :
3273 withval=$with_pthread; if test "x$withval" = "xno"; then ac_cv_header_pthread_h=no; fi
3277 # Check whether --with-sane was given.
3278 if test "${with_sane+set}" = set; then :
3279 withval=$with_sane;
3283 # Check whether --with-tiff was given.
3284 if test "${with_tiff+set}" = set; then :
3285 withval=$with_tiff;
3289 # Check whether --with-v4l was given.
3290 if test "${with_v4l+set}" = set; then :
3291 withval=$with_v4l;
3295 # Check whether --with-xcomposite was given.
3296 if test "${with_xcomposite+set}" = set; then :
3297 withval=$with_xcomposite; if test "x$withval" = "xno"; then ac_cv_header_X11_extensions_Xcomposite_h=no; fi
3301 # Check whether --with-xcursor was given.
3302 if test "${with_xcursor+set}" = set; then :
3303 withval=$with_xcursor; if test "x$withval" = "xno"; then ac_cv_header_X11_Xcursor_Xcursor_h=no; fi
3307 # Check whether --with-xinerama was given.
3308 if test "${with_xinerama+set}" = set; then :
3309 withval=$with_xinerama; if test "x$withval" = "xno"; then ac_cv_header_X11_extensions_Xinerama_h=no; fi
3313 # Check whether --with-xinput was given.
3314 if test "${with_xinput+set}" = set; then :
3315 withval=$with_xinput; if test "x$withval" = "xno"; then ac_cv_header_X11_extensions_XInput_h=no; fi
3319 # Check whether --with-xinput2 was given.
3320 if test "${with_xinput2+set}" = set; then :
3321 withval=$with_xinput2; if test "x$withval" = "xno"; then ac_cv_header_X11_extensions_XInput2_h=no; fi
3325 # Check whether --with-xml was given.
3326 if test "${with_xml+set}" = set; then :
3327 withval=$with_xml;
3331 # Check whether --with-xrandr was given.
3332 if test "${with_xrandr+set}" = set; then :
3333 withval=$with_xrandr; if test "x$withval" = "xno"; then ac_cv_header_X11_extensions_Xrandr_h=no; fi
3337 # Check whether --with-xrender was given.
3338 if test "${with_xrender+set}" = set; then :
3339 withval=$with_xrender; if test "x$withval" = "xno"; then ac_cv_header_X11_extensions_Xrender_h=no; fi
3343 # Check whether --with-xshape was given.
3344 if test "${with_xshape+set}" = set; then :
3345 withval=$with_xshape; if test "x$withval" = "xno"; then ac_cv_header_X11_extensions_shape_h=no; fi
3349 # Check whether --with-xshm was given.
3350 if test "${with_xshm+set}" = set; then :
3351 withval=$with_xshm; if test "x$withval" = "xno"; then ac_cv_header_X11_extensions_XShm_h=no; fi
3355 # Check whether --with-xslt was given.
3356 if test "${with_xslt+set}" = set; then :
3357 withval=$with_xslt;
3361 # Check whether --with-xxf86vm was given.
3362 if test "${with_xxf86vm+set}" = set; then :
3363 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
3367 # Check whether --with-zlib was given.
3368 if test "${with_zlib+set}" = set; then :
3369 withval=$with_zlib; if test "x$withval" = "xno"; then ac_cv_header_zlib_h=no; fi
3374 # Check whether --with-wine-tools was given.
3375 if test "${with_wine_tools+set}" = set; then :
3376 withval=$with_wine_tools;
3380 # Check whether --with-wine64 was given.
3381 if test "${with_wine64+set}" = set; then :
3382 withval=$with_wine64;
3386 # Make sure we can run config.sub.
3387 $SHELL "$ac_aux_dir/config.sub" sun4 >/dev/null 2>&1 ||
3388 as_fn_error $? "cannot run $SHELL $ac_aux_dir/config.sub" "$LINENO" 5
3390 { $as_echo "$as_me:${as_lineno-$LINENO}: checking build system type" >&5
3391 $as_echo_n "checking build system type... " >&6; }
3392 if ${ac_cv_build+:} false; then :
3393 $as_echo_n "(cached) " >&6
3394 else
3395 ac_build_alias=$build_alias
3396 test "x$ac_build_alias" = x &&
3397 ac_build_alias=`$SHELL "$ac_aux_dir/config.guess"`
3398 test "x$ac_build_alias" = x &&
3399 as_fn_error $? "cannot guess build type; you must specify one" "$LINENO" 5
3400 ac_cv_build=`$SHELL "$ac_aux_dir/config.sub" $ac_build_alias` ||
3401 as_fn_error $? "$SHELL $ac_aux_dir/config.sub $ac_build_alias failed" "$LINENO" 5
3404 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_build" >&5
3405 $as_echo "$ac_cv_build" >&6; }
3406 case $ac_cv_build in
3407 *-*-*) ;;
3408 *) as_fn_error $? "invalid value of canonical build" "$LINENO" 5;;
3409 esac
3410 build=$ac_cv_build
3411 ac_save_IFS=$IFS; IFS='-'
3412 set x $ac_cv_build
3413 shift
3414 build_cpu=$1
3415 build_vendor=$2
3416 shift; shift
3417 # Remember, the first character of IFS is used to create $*,
3418 # except with old shells:
3419 build_os=$*
3420 IFS=$ac_save_IFS
3421 case $build_os in *\ *) build_os=`echo "$build_os" | sed 's/ /-/g'`;; esac
3424 { $as_echo "$as_me:${as_lineno-$LINENO}: checking host system type" >&5
3425 $as_echo_n "checking host system type... " >&6; }
3426 if ${ac_cv_host+:} false; then :
3427 $as_echo_n "(cached) " >&6
3428 else
3429 if test "x$host_alias" = x; then
3430 ac_cv_host=$ac_cv_build
3431 else
3432 ac_cv_host=`$SHELL "$ac_aux_dir/config.sub" $host_alias` ||
3433 as_fn_error $? "$SHELL $ac_aux_dir/config.sub $host_alias failed" "$LINENO" 5
3437 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_host" >&5
3438 $as_echo "$ac_cv_host" >&6; }
3439 case $ac_cv_host in
3440 *-*-*) ;;
3441 *) as_fn_error $? "invalid value of canonical host" "$LINENO" 5;;
3442 esac
3443 host=$ac_cv_host
3444 ac_save_IFS=$IFS; IFS='-'
3445 set x $ac_cv_host
3446 shift
3447 host_cpu=$1
3448 host_vendor=$2
3449 shift; shift
3450 # Remember, the first character of IFS is used to create $*,
3451 # except with old shells:
3452 host_os=$*
3453 IFS=$ac_save_IFS
3454 case $host_os in *\ *) host_os=`echo "$host_os" | sed 's/ /-/g'`;; esac
3458 case "$srcdir" in
3459 .) ;;
3460 *) if test -f "$srcdir/Makefile" -o -f "$srcdir/include/config.h"; then
3461 as_fn_error $? "you are building out of the source tree, but the source tree contains object files.
3462 You need to run 'make distclean' in the source tree first." "$LINENO" 5
3463 fi ;;
3464 esac
3467 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ${MAKE-make} sets \$(MAKE)" >&5
3468 $as_echo_n "checking whether ${MAKE-make} sets \$(MAKE)... " >&6; }
3469 set x ${MAKE-make}
3470 ac_make=`$as_echo "$2" | sed 's/+/p/g; s/[^a-zA-Z0-9_]/_/g'`
3471 if eval \${ac_cv_prog_make_${ac_make}_set+:} false; then :
3472 $as_echo_n "(cached) " >&6
3473 else
3474 cat >conftest.make <<\_ACEOF
3475 SHELL = /bin/sh
3476 all:
3477 @echo '@@@%%%=$(MAKE)=@@@%%%'
3478 _ACEOF
3479 # GNU make sometimes prints "make[1]: Entering ...", which would confuse us.
3480 case `${MAKE-make} -f conftest.make 2>/dev/null` in
3481 *@@@%%%=?*=@@@%%%*)
3482 eval ac_cv_prog_make_${ac_make}_set=yes;;
3484 eval ac_cv_prog_make_${ac_make}_set=no;;
3485 esac
3486 rm -f conftest.make
3488 if eval test \$ac_cv_prog_make_${ac_make}_set = yes; then
3489 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
3490 $as_echo "yes" >&6; }
3491 SET_MAKE=
3492 else
3493 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3494 $as_echo "no" >&6; }
3495 SET_MAKE="MAKE=${MAKE-make}"
3498 ac_ext=c
3499 ac_cpp='$CPP $CPPFLAGS'
3500 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
3501 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
3502 ac_compiler_gnu=$ac_cv_c_compiler_gnu
3503 if test -n "$ac_tool_prefix"; then
3504 # Extract the first word of "${ac_tool_prefix}gcc", so it can be a program name with args.
3505 set dummy ${ac_tool_prefix}gcc; ac_word=$2
3506 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3507 $as_echo_n "checking for $ac_word... " >&6; }
3508 if ${ac_cv_prog_CC+:} false; then :
3509 $as_echo_n "(cached) " >&6
3510 else
3511 if test -n "$CC"; then
3512 ac_cv_prog_CC="$CC" # Let the user override the test.
3513 else
3514 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3515 for as_dir in $PATH
3517 IFS=$as_save_IFS
3518 test -z "$as_dir" && as_dir=.
3519 for ac_exec_ext in '' $ac_executable_extensions; do
3520 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
3521 ac_cv_prog_CC="${ac_tool_prefix}gcc"
3522 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3523 break 2
3525 done
3526 done
3527 IFS=$as_save_IFS
3531 CC=$ac_cv_prog_CC
3532 if test -n "$CC"; then
3533 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
3534 $as_echo "$CC" >&6; }
3535 else
3536 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3537 $as_echo "no" >&6; }
3542 if test -z "$ac_cv_prog_CC"; then
3543 ac_ct_CC=$CC
3544 # Extract the first word of "gcc", so it can be a program name with args.
3545 set dummy gcc; ac_word=$2
3546 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3547 $as_echo_n "checking for $ac_word... " >&6; }
3548 if ${ac_cv_prog_ac_ct_CC+:} false; then :
3549 $as_echo_n "(cached) " >&6
3550 else
3551 if test -n "$ac_ct_CC"; then
3552 ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
3553 else
3554 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3555 for as_dir in $PATH
3557 IFS=$as_save_IFS
3558 test -z "$as_dir" && as_dir=.
3559 for ac_exec_ext in '' $ac_executable_extensions; do
3560 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
3561 ac_cv_prog_ac_ct_CC="gcc"
3562 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3563 break 2
3565 done
3566 done
3567 IFS=$as_save_IFS
3571 ac_ct_CC=$ac_cv_prog_ac_ct_CC
3572 if test -n "$ac_ct_CC"; then
3573 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CC" >&5
3574 $as_echo "$ac_ct_CC" >&6; }
3575 else
3576 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3577 $as_echo "no" >&6; }
3580 if test "x$ac_ct_CC" = x; then
3581 CC=""
3582 else
3583 case $cross_compiling:$ac_tool_warned in
3584 yes:)
3585 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
3586 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
3587 ac_tool_warned=yes ;;
3588 esac
3589 CC=$ac_ct_CC
3591 else
3592 CC="$ac_cv_prog_CC"
3595 if test -z "$CC"; then
3596 if test -n "$ac_tool_prefix"; then
3597 # Extract the first word of "${ac_tool_prefix}cc", so it can be a program name with args.
3598 set dummy ${ac_tool_prefix}cc; ac_word=$2
3599 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3600 $as_echo_n "checking for $ac_word... " >&6; }
3601 if ${ac_cv_prog_CC+:} false; then :
3602 $as_echo_n "(cached) " >&6
3603 else
3604 if test -n "$CC"; then
3605 ac_cv_prog_CC="$CC" # Let the user override the test.
3606 else
3607 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3608 for as_dir in $PATH
3610 IFS=$as_save_IFS
3611 test -z "$as_dir" && as_dir=.
3612 for ac_exec_ext in '' $ac_executable_extensions; do
3613 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
3614 ac_cv_prog_CC="${ac_tool_prefix}cc"
3615 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3616 break 2
3618 done
3619 done
3620 IFS=$as_save_IFS
3624 CC=$ac_cv_prog_CC
3625 if test -n "$CC"; then
3626 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
3627 $as_echo "$CC" >&6; }
3628 else
3629 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3630 $as_echo "no" >&6; }
3636 if test -z "$CC"; then
3637 # Extract the first word of "cc", so it can be a program name with args.
3638 set dummy cc; ac_word=$2
3639 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3640 $as_echo_n "checking for $ac_word... " >&6; }
3641 if ${ac_cv_prog_CC+:} false; then :
3642 $as_echo_n "(cached) " >&6
3643 else
3644 if test -n "$CC"; then
3645 ac_cv_prog_CC="$CC" # Let the user override the test.
3646 else
3647 ac_prog_rejected=no
3648 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3649 for as_dir in $PATH
3651 IFS=$as_save_IFS
3652 test -z "$as_dir" && as_dir=.
3653 for ac_exec_ext in '' $ac_executable_extensions; do
3654 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
3655 if test "$as_dir/$ac_word$ac_exec_ext" = "/usr/ucb/cc"; then
3656 ac_prog_rejected=yes
3657 continue
3659 ac_cv_prog_CC="cc"
3660 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3661 break 2
3663 done
3664 done
3665 IFS=$as_save_IFS
3667 if test $ac_prog_rejected = yes; then
3668 # We found a bogon in the path, so make sure we never use it.
3669 set dummy $ac_cv_prog_CC
3670 shift
3671 if test $# != 0; then
3672 # We chose a different compiler from the bogus one.
3673 # However, it has the same basename, so the bogon will be chosen
3674 # first if we set CC to just the basename; use the full file name.
3675 shift
3676 ac_cv_prog_CC="$as_dir/$ac_word${1+' '}$@"
3681 CC=$ac_cv_prog_CC
3682 if test -n "$CC"; then
3683 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
3684 $as_echo "$CC" >&6; }
3685 else
3686 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3687 $as_echo "no" >&6; }
3692 if test -z "$CC"; then
3693 if test -n "$ac_tool_prefix"; then
3694 for ac_prog in cl.exe
3696 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
3697 set dummy $ac_tool_prefix$ac_prog; ac_word=$2
3698 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3699 $as_echo_n "checking for $ac_word... " >&6; }
3700 if ${ac_cv_prog_CC+:} false; then :
3701 $as_echo_n "(cached) " >&6
3702 else
3703 if test -n "$CC"; then
3704 ac_cv_prog_CC="$CC" # Let the user override the test.
3705 else
3706 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3707 for as_dir in $PATH
3709 IFS=$as_save_IFS
3710 test -z "$as_dir" && as_dir=.
3711 for ac_exec_ext in '' $ac_executable_extensions; do
3712 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
3713 ac_cv_prog_CC="$ac_tool_prefix$ac_prog"
3714 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3715 break 2
3717 done
3718 done
3719 IFS=$as_save_IFS
3723 CC=$ac_cv_prog_CC
3724 if test -n "$CC"; then
3725 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
3726 $as_echo "$CC" >&6; }
3727 else
3728 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3729 $as_echo "no" >&6; }
3733 test -n "$CC" && break
3734 done
3736 if test -z "$CC"; then
3737 ac_ct_CC=$CC
3738 for ac_prog in cl.exe
3740 # Extract the first word of "$ac_prog", so it can be a program name with args.
3741 set dummy $ac_prog; ac_word=$2
3742 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3743 $as_echo_n "checking for $ac_word... " >&6; }
3744 if ${ac_cv_prog_ac_ct_CC+:} false; then :
3745 $as_echo_n "(cached) " >&6
3746 else
3747 if test -n "$ac_ct_CC"; then
3748 ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
3749 else
3750 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3751 for as_dir in $PATH
3753 IFS=$as_save_IFS
3754 test -z "$as_dir" && as_dir=.
3755 for ac_exec_ext in '' $ac_executable_extensions; do
3756 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
3757 ac_cv_prog_ac_ct_CC="$ac_prog"
3758 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3759 break 2
3761 done
3762 done
3763 IFS=$as_save_IFS
3767 ac_ct_CC=$ac_cv_prog_ac_ct_CC
3768 if test -n "$ac_ct_CC"; then
3769 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CC" >&5
3770 $as_echo "$ac_ct_CC" >&6; }
3771 else
3772 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3773 $as_echo "no" >&6; }
3777 test -n "$ac_ct_CC" && break
3778 done
3780 if test "x$ac_ct_CC" = x; then
3781 CC=""
3782 else
3783 case $cross_compiling:$ac_tool_warned in
3784 yes:)
3785 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
3786 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
3787 ac_tool_warned=yes ;;
3788 esac
3789 CC=$ac_ct_CC
3796 test -z "$CC" && { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
3797 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
3798 as_fn_error $? "no acceptable C compiler found in \$PATH
3799 See \`config.log' for more details" "$LINENO" 5; }
3801 # Provide some information about the compiler.
3802 $as_echo "$as_me:${as_lineno-$LINENO}: checking for C compiler version" >&5
3803 set X $ac_compile
3804 ac_compiler=$2
3805 for ac_option in --version -v -V -qversion; do
3806 { { ac_try="$ac_compiler $ac_option >&5"
3807 case "(($ac_try" in
3808 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3809 *) ac_try_echo=$ac_try;;
3810 esac
3811 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
3812 $as_echo "$ac_try_echo"; } >&5
3813 (eval "$ac_compiler $ac_option >&5") 2>conftest.err
3814 ac_status=$?
3815 if test -s conftest.err; then
3816 sed '10a\
3817 ... rest of stderr output deleted ...
3818 10q' conftest.err >conftest.er1
3819 cat conftest.er1 >&5
3821 rm -f conftest.er1 conftest.err
3822 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
3823 test $ac_status = 0; }
3824 done
3826 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3827 /* end confdefs.h. */
3830 main ()
3834 return 0;
3836 _ACEOF
3837 ac_clean_files_save=$ac_clean_files
3838 ac_clean_files="$ac_clean_files a.out a.out.dSYM a.exe b.out"
3839 # Try to create an executable without -o first, disregard a.out.
3840 # It will help us diagnose broken compilers, and finding out an intuition
3841 # of exeext.
3842 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the C compiler works" >&5
3843 $as_echo_n "checking whether the C compiler works... " >&6; }
3844 ac_link_default=`$as_echo "$ac_link" | sed 's/ -o *conftest[^ ]*//'`
3846 # The possible output files:
3847 ac_files="a.out conftest.exe conftest a.exe a_out.exe b.out conftest.*"
3849 ac_rmfiles=
3850 for ac_file in $ac_files
3852 case $ac_file in
3853 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj ) ;;
3854 * ) ac_rmfiles="$ac_rmfiles $ac_file";;
3855 esac
3856 done
3857 rm -f $ac_rmfiles
3859 if { { ac_try="$ac_link_default"
3860 case "(($ac_try" in
3861 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3862 *) ac_try_echo=$ac_try;;
3863 esac
3864 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
3865 $as_echo "$ac_try_echo"; } >&5
3866 (eval "$ac_link_default") 2>&5
3867 ac_status=$?
3868 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
3869 test $ac_status = 0; }; then :
3870 # Autoconf-2.13 could set the ac_cv_exeext variable to `no'.
3871 # So ignore a value of `no', otherwise this would lead to `EXEEXT = no'
3872 # in a Makefile. We should not override ac_cv_exeext if it was cached,
3873 # so that the user can short-circuit this test for compilers unknown to
3874 # Autoconf.
3875 for ac_file in $ac_files ''
3877 test -f "$ac_file" || continue
3878 case $ac_file in
3879 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj )
3881 [ab].out )
3882 # We found the default executable, but exeext='' is most
3883 # certainly right.
3884 break;;
3885 *.* )
3886 if test "${ac_cv_exeext+set}" = set && test "$ac_cv_exeext" != no;
3887 then :; else
3888 ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'`
3890 # We set ac_cv_exeext here because the later test for it is not
3891 # safe: cross compilers may not add the suffix if given an `-o'
3892 # argument, so we may need to know it at that point already.
3893 # Even if this section looks crufty: it has the advantage of
3894 # actually working.
3895 break;;
3897 break;;
3898 esac
3899 done
3900 test "$ac_cv_exeext" = no && ac_cv_exeext=
3902 else
3903 ac_file=''
3905 if test -z "$ac_file"; then :
3906 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3907 $as_echo "no" >&6; }
3908 $as_echo "$as_me: failed program was:" >&5
3909 sed 's/^/| /' conftest.$ac_ext >&5
3911 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
3912 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
3913 as_fn_error 77 "C compiler cannot create executables
3914 See \`config.log' for more details" "$LINENO" 5; }
3915 else
3916 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
3917 $as_echo "yes" >&6; }
3919 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for C compiler default output file name" >&5
3920 $as_echo_n "checking for C compiler default output file name... " >&6; }
3921 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_file" >&5
3922 $as_echo "$ac_file" >&6; }
3923 ac_exeext=$ac_cv_exeext
3925 rm -f -r a.out a.out.dSYM a.exe conftest$ac_cv_exeext b.out
3926 ac_clean_files=$ac_clean_files_save
3927 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for suffix of executables" >&5
3928 $as_echo_n "checking for suffix of executables... " >&6; }
3929 if { { ac_try="$ac_link"
3930 case "(($ac_try" in
3931 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3932 *) ac_try_echo=$ac_try;;
3933 esac
3934 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
3935 $as_echo "$ac_try_echo"; } >&5
3936 (eval "$ac_link") 2>&5
3937 ac_status=$?
3938 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
3939 test $ac_status = 0; }; then :
3940 # If both `conftest.exe' and `conftest' are `present' (well, observable)
3941 # catch `conftest.exe'. For instance with Cygwin, `ls conftest' will
3942 # work properly (i.e., refer to `conftest.exe'), while it won't with
3943 # `rm'.
3944 for ac_file in conftest.exe conftest conftest.*; do
3945 test -f "$ac_file" || continue
3946 case $ac_file in
3947 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj ) ;;
3948 *.* ) ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'`
3949 break;;
3950 * ) break;;
3951 esac
3952 done
3953 else
3954 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
3955 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
3956 as_fn_error $? "cannot compute suffix of executables: cannot compile and link
3957 See \`config.log' for more details" "$LINENO" 5; }
3959 rm -f conftest conftest$ac_cv_exeext
3960 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_exeext" >&5
3961 $as_echo "$ac_cv_exeext" >&6; }
3963 rm -f conftest.$ac_ext
3964 EXEEXT=$ac_cv_exeext
3965 ac_exeext=$EXEEXT
3966 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3967 /* end confdefs.h. */
3968 #include <stdio.h>
3970 main ()
3972 FILE *f = fopen ("conftest.out", "w");
3973 return ferror (f) || fclose (f) != 0;
3976 return 0;
3978 _ACEOF
3979 ac_clean_files="$ac_clean_files conftest.out"
3980 # Check that the compiler produces executables we can run. If not, either
3981 # the compiler is broken, or we cross compile.
3982 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are cross compiling" >&5
3983 $as_echo_n "checking whether we are cross compiling... " >&6; }
3984 if test "$cross_compiling" != yes; then
3985 { { ac_try="$ac_link"
3986 case "(($ac_try" in
3987 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3988 *) ac_try_echo=$ac_try;;
3989 esac
3990 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
3991 $as_echo "$ac_try_echo"; } >&5
3992 (eval "$ac_link") 2>&5
3993 ac_status=$?
3994 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
3995 test $ac_status = 0; }
3996 if { ac_try='./conftest$ac_cv_exeext'
3997 { { case "(($ac_try" in
3998 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3999 *) ac_try_echo=$ac_try;;
4000 esac
4001 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
4002 $as_echo "$ac_try_echo"; } >&5
4003 (eval "$ac_try") 2>&5
4004 ac_status=$?
4005 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
4006 test $ac_status = 0; }; }; then
4007 cross_compiling=no
4008 else
4009 if test "$cross_compiling" = maybe; then
4010 cross_compiling=yes
4011 else
4012 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
4013 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
4014 as_fn_error $? "cannot run C compiled programs.
4015 If you meant to cross compile, use \`--host'.
4016 See \`config.log' for more details" "$LINENO" 5; }
4020 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $cross_compiling" >&5
4021 $as_echo "$cross_compiling" >&6; }
4023 rm -f conftest.$ac_ext conftest$ac_cv_exeext conftest.out
4024 ac_clean_files=$ac_clean_files_save
4025 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for suffix of object files" >&5
4026 $as_echo_n "checking for suffix of object files... " >&6; }
4027 if ${ac_cv_objext+:} false; then :
4028 $as_echo_n "(cached) " >&6
4029 else
4030 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4031 /* end confdefs.h. */
4034 main ()
4038 return 0;
4040 _ACEOF
4041 rm -f conftest.o conftest.obj
4042 if { { ac_try="$ac_compile"
4043 case "(($ac_try" in
4044 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
4045 *) ac_try_echo=$ac_try;;
4046 esac
4047 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
4048 $as_echo "$ac_try_echo"; } >&5
4049 (eval "$ac_compile") 2>&5
4050 ac_status=$?
4051 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
4052 test $ac_status = 0; }; then :
4053 for ac_file in conftest.o conftest.obj conftest.*; do
4054 test -f "$ac_file" || continue;
4055 case $ac_file in
4056 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM ) ;;
4057 *) ac_cv_objext=`expr "$ac_file" : '.*\.\(.*\)'`
4058 break;;
4059 esac
4060 done
4061 else
4062 $as_echo "$as_me: failed program was:" >&5
4063 sed 's/^/| /' conftest.$ac_ext >&5
4065 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
4066 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
4067 as_fn_error $? "cannot compute suffix of object files: cannot compile
4068 See \`config.log' for more details" "$LINENO" 5; }
4070 rm -f conftest.$ac_cv_objext conftest.$ac_ext
4072 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_objext" >&5
4073 $as_echo "$ac_cv_objext" >&6; }
4074 OBJEXT=$ac_cv_objext
4075 ac_objext=$OBJEXT
4076 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are using the GNU C compiler" >&5
4077 $as_echo_n "checking whether we are using the GNU C compiler... " >&6; }
4078 if ${ac_cv_c_compiler_gnu+:} false; then :
4079 $as_echo_n "(cached) " >&6
4080 else
4081 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4082 /* end confdefs.h. */
4085 main ()
4087 #ifndef __GNUC__
4088 choke me
4089 #endif
4092 return 0;
4094 _ACEOF
4095 if ac_fn_c_try_compile "$LINENO"; then :
4096 ac_compiler_gnu=yes
4097 else
4098 ac_compiler_gnu=no
4100 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4101 ac_cv_c_compiler_gnu=$ac_compiler_gnu
4104 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_compiler_gnu" >&5
4105 $as_echo "$ac_cv_c_compiler_gnu" >&6; }
4106 if test $ac_compiler_gnu = yes; then
4107 GCC=yes
4108 else
4109 GCC=
4111 ac_test_CFLAGS=${CFLAGS+set}
4112 ac_save_CFLAGS=$CFLAGS
4113 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CC accepts -g" >&5
4114 $as_echo_n "checking whether $CC accepts -g... " >&6; }
4115 if ${ac_cv_prog_cc_g+:} false; then :
4116 $as_echo_n "(cached) " >&6
4117 else
4118 ac_save_c_werror_flag=$ac_c_werror_flag
4119 ac_c_werror_flag=yes
4120 ac_cv_prog_cc_g=no
4121 CFLAGS="-g"
4122 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4123 /* end confdefs.h. */
4126 main ()
4130 return 0;
4132 _ACEOF
4133 if ac_fn_c_try_compile "$LINENO"; then :
4134 ac_cv_prog_cc_g=yes
4135 else
4136 CFLAGS=""
4137 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4138 /* end confdefs.h. */
4141 main ()
4145 return 0;
4147 _ACEOF
4148 if ac_fn_c_try_compile "$LINENO"; then :
4150 else
4151 ac_c_werror_flag=$ac_save_c_werror_flag
4152 CFLAGS="-g"
4153 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4154 /* end confdefs.h. */
4157 main ()
4161 return 0;
4163 _ACEOF
4164 if ac_fn_c_try_compile "$LINENO"; then :
4165 ac_cv_prog_cc_g=yes
4167 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4169 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4171 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4172 ac_c_werror_flag=$ac_save_c_werror_flag
4174 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_g" >&5
4175 $as_echo "$ac_cv_prog_cc_g" >&6; }
4176 if test "$ac_test_CFLAGS" = set; then
4177 CFLAGS=$ac_save_CFLAGS
4178 elif test $ac_cv_prog_cc_g = yes; then
4179 if test "$GCC" = yes; then
4180 CFLAGS="-g -O2"
4181 else
4182 CFLAGS="-g"
4184 else
4185 if test "$GCC" = yes; then
4186 CFLAGS="-O2"
4187 else
4188 CFLAGS=
4191 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $CC option to accept ISO C89" >&5
4192 $as_echo_n "checking for $CC option to accept ISO C89... " >&6; }
4193 if ${ac_cv_prog_cc_c89+:} false; then :
4194 $as_echo_n "(cached) " >&6
4195 else
4196 ac_cv_prog_cc_c89=no
4197 ac_save_CC=$CC
4198 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4199 /* end confdefs.h. */
4200 #include <stdarg.h>
4201 #include <stdio.h>
4202 struct stat;
4203 /* Most of the following tests are stolen from RCS 5.7's src/conf.sh. */
4204 struct buf { int x; };
4205 FILE * (*rcsopen) (struct buf *, struct stat *, int);
4206 static char *e (p, i)
4207 char **p;
4208 int i;
4210 return p[i];
4212 static char *f (char * (*g) (char **, int), char **p, ...)
4214 char *s;
4215 va_list v;
4216 va_start (v,p);
4217 s = g (p, va_arg (v,int));
4218 va_end (v);
4219 return s;
4222 /* OSF 4.0 Compaq cc is some sort of almost-ANSI by default. It has
4223 function prototypes and stuff, but not '\xHH' hex character constants.
4224 These don't provoke an error unfortunately, instead are silently treated
4225 as 'x'. The following induces an error, until -std is added to get
4226 proper ANSI mode. Curiously '\x00'!='x' always comes out true, for an
4227 array size at least. It's necessary to write '\x00'==0 to get something
4228 that's true only with -std. */
4229 int osf4_cc_array ['\x00' == 0 ? 1 : -1];
4231 /* IBM C 6 for AIX is almost-ANSI by default, but it replaces macro parameters
4232 inside strings and character constants. */
4233 #define FOO(x) 'x'
4234 int xlc6_cc_array[FOO(a) == 'x' ? 1 : -1];
4236 int test (int i, double x);
4237 struct s1 {int (*f) (int a);};
4238 struct s2 {int (*f) (double a);};
4239 int pairnames (int, char **, FILE *(*)(struct buf *, struct stat *, int), int, int);
4240 int argc;
4241 char **argv;
4243 main ()
4245 return f (e, argv, 0) != argv[0] || f (e, argv, 1) != argv[1];
4247 return 0;
4249 _ACEOF
4250 for ac_arg in '' -qlanglvl=extc89 -qlanglvl=ansi -std \
4251 -Ae "-Aa -D_HPUX_SOURCE" "-Xc -D__EXTENSIONS__"
4253 CC="$ac_save_CC $ac_arg"
4254 if ac_fn_c_try_compile "$LINENO"; then :
4255 ac_cv_prog_cc_c89=$ac_arg
4257 rm -f core conftest.err conftest.$ac_objext
4258 test "x$ac_cv_prog_cc_c89" != "xno" && break
4259 done
4260 rm -f conftest.$ac_ext
4261 CC=$ac_save_CC
4264 # AC_CACHE_VAL
4265 case "x$ac_cv_prog_cc_c89" in
4267 { $as_echo "$as_me:${as_lineno-$LINENO}: result: none needed" >&5
4268 $as_echo "none needed" >&6; } ;;
4269 xno)
4270 { $as_echo "$as_me:${as_lineno-$LINENO}: result: unsupported" >&5
4271 $as_echo "unsupported" >&6; } ;;
4273 CC="$CC $ac_cv_prog_cc_c89"
4274 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_c89" >&5
4275 $as_echo "$ac_cv_prog_cc_c89" >&6; } ;;
4276 esac
4277 if test "x$ac_cv_prog_cc_c89" != xno; then :
4281 ac_ext=c
4282 ac_cpp='$CPP $CPPFLAGS'
4283 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
4284 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
4285 ac_compiler_gnu=$ac_cv_c_compiler_gnu
4287 ac_ext=cpp
4288 ac_cpp='$CXXCPP $CPPFLAGS'
4289 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
4290 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
4291 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
4292 if test -z "$CXX"; then
4293 if test -n "$CCC"; then
4294 CXX=$CCC
4295 else
4296 if test -n "$ac_tool_prefix"; then
4297 for ac_prog in g++ c++ gpp aCC CC cxx cc++ cl.exe FCC KCC RCC xlC_r xlC
4299 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
4300 set dummy $ac_tool_prefix$ac_prog; ac_word=$2
4301 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4302 $as_echo_n "checking for $ac_word... " >&6; }
4303 if ${ac_cv_prog_CXX+:} false; then :
4304 $as_echo_n "(cached) " >&6
4305 else
4306 if test -n "$CXX"; then
4307 ac_cv_prog_CXX="$CXX" # Let the user override the test.
4308 else
4309 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4310 for as_dir in $PATH
4312 IFS=$as_save_IFS
4313 test -z "$as_dir" && as_dir=.
4314 for ac_exec_ext in '' $ac_executable_extensions; do
4315 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
4316 ac_cv_prog_CXX="$ac_tool_prefix$ac_prog"
4317 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4318 break 2
4320 done
4321 done
4322 IFS=$as_save_IFS
4326 CXX=$ac_cv_prog_CXX
4327 if test -n "$CXX"; then
4328 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CXX" >&5
4329 $as_echo "$CXX" >&6; }
4330 else
4331 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4332 $as_echo "no" >&6; }
4336 test -n "$CXX" && break
4337 done
4339 if test -z "$CXX"; then
4340 ac_ct_CXX=$CXX
4341 for ac_prog in g++ c++ gpp aCC CC cxx cc++ cl.exe FCC KCC RCC xlC_r xlC
4343 # Extract the first word of "$ac_prog", so it can be a program name with args.
4344 set dummy $ac_prog; ac_word=$2
4345 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4346 $as_echo_n "checking for $ac_word... " >&6; }
4347 if ${ac_cv_prog_ac_ct_CXX+:} false; then :
4348 $as_echo_n "(cached) " >&6
4349 else
4350 if test -n "$ac_ct_CXX"; then
4351 ac_cv_prog_ac_ct_CXX="$ac_ct_CXX" # Let the user override the test.
4352 else
4353 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4354 for as_dir in $PATH
4356 IFS=$as_save_IFS
4357 test -z "$as_dir" && as_dir=.
4358 for ac_exec_ext in '' $ac_executable_extensions; do
4359 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
4360 ac_cv_prog_ac_ct_CXX="$ac_prog"
4361 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4362 break 2
4364 done
4365 done
4366 IFS=$as_save_IFS
4370 ac_ct_CXX=$ac_cv_prog_ac_ct_CXX
4371 if test -n "$ac_ct_CXX"; then
4372 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CXX" >&5
4373 $as_echo "$ac_ct_CXX" >&6; }
4374 else
4375 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4376 $as_echo "no" >&6; }
4380 test -n "$ac_ct_CXX" && break
4381 done
4383 if test "x$ac_ct_CXX" = x; then
4384 CXX="g++"
4385 else
4386 case $cross_compiling:$ac_tool_warned in
4387 yes:)
4388 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
4389 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
4390 ac_tool_warned=yes ;;
4391 esac
4392 CXX=$ac_ct_CXX
4398 # Provide some information about the compiler.
4399 $as_echo "$as_me:${as_lineno-$LINENO}: checking for C++ compiler version" >&5
4400 set X $ac_compile
4401 ac_compiler=$2
4402 for ac_option in --version -v -V -qversion; do
4403 { { ac_try="$ac_compiler $ac_option >&5"
4404 case "(($ac_try" in
4405 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
4406 *) ac_try_echo=$ac_try;;
4407 esac
4408 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
4409 $as_echo "$ac_try_echo"; } >&5
4410 (eval "$ac_compiler $ac_option >&5") 2>conftest.err
4411 ac_status=$?
4412 if test -s conftest.err; then
4413 sed '10a\
4414 ... rest of stderr output deleted ...
4415 10q' conftest.err >conftest.er1
4416 cat conftest.er1 >&5
4418 rm -f conftest.er1 conftest.err
4419 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
4420 test $ac_status = 0; }
4421 done
4423 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are using the GNU C++ compiler" >&5
4424 $as_echo_n "checking whether we are using the GNU C++ compiler... " >&6; }
4425 if ${ac_cv_cxx_compiler_gnu+:} false; then :
4426 $as_echo_n "(cached) " >&6
4427 else
4428 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4429 /* end confdefs.h. */
4432 main ()
4434 #ifndef __GNUC__
4435 choke me
4436 #endif
4439 return 0;
4441 _ACEOF
4442 if ac_fn_cxx_try_compile "$LINENO"; then :
4443 ac_compiler_gnu=yes
4444 else
4445 ac_compiler_gnu=no
4447 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4448 ac_cv_cxx_compiler_gnu=$ac_compiler_gnu
4451 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cxx_compiler_gnu" >&5
4452 $as_echo "$ac_cv_cxx_compiler_gnu" >&6; }
4453 if test $ac_compiler_gnu = yes; then
4454 GXX=yes
4455 else
4456 GXX=
4458 ac_test_CXXFLAGS=${CXXFLAGS+set}
4459 ac_save_CXXFLAGS=$CXXFLAGS
4460 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CXX accepts -g" >&5
4461 $as_echo_n "checking whether $CXX accepts -g... " >&6; }
4462 if ${ac_cv_prog_cxx_g+:} false; then :
4463 $as_echo_n "(cached) " >&6
4464 else
4465 ac_save_cxx_werror_flag=$ac_cxx_werror_flag
4466 ac_cxx_werror_flag=yes
4467 ac_cv_prog_cxx_g=no
4468 CXXFLAGS="-g"
4469 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4470 /* end confdefs.h. */
4473 main ()
4477 return 0;
4479 _ACEOF
4480 if ac_fn_cxx_try_compile "$LINENO"; then :
4481 ac_cv_prog_cxx_g=yes
4482 else
4483 CXXFLAGS=""
4484 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4485 /* end confdefs.h. */
4488 main ()
4492 return 0;
4494 _ACEOF
4495 if ac_fn_cxx_try_compile "$LINENO"; then :
4497 else
4498 ac_cxx_werror_flag=$ac_save_cxx_werror_flag
4499 CXXFLAGS="-g"
4500 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4501 /* end confdefs.h. */
4504 main ()
4508 return 0;
4510 _ACEOF
4511 if ac_fn_cxx_try_compile "$LINENO"; then :
4512 ac_cv_prog_cxx_g=yes
4514 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4516 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4518 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4519 ac_cxx_werror_flag=$ac_save_cxx_werror_flag
4521 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cxx_g" >&5
4522 $as_echo "$ac_cv_prog_cxx_g" >&6; }
4523 if test "$ac_test_CXXFLAGS" = set; then
4524 CXXFLAGS=$ac_save_CXXFLAGS
4525 elif test $ac_cv_prog_cxx_g = yes; then
4526 if test "$GXX" = yes; then
4527 CXXFLAGS="-g -O2"
4528 else
4529 CXXFLAGS="-g"
4531 else
4532 if test "$GXX" = yes; then
4533 CXXFLAGS="-O2"
4534 else
4535 CXXFLAGS=
4538 ac_ext=c
4539 ac_cpp='$CPP $CPPFLAGS'
4540 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
4541 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
4542 ac_compiler_gnu=$ac_cv_c_compiler_gnu
4544 if test -n "$ac_tool_prefix"; then
4545 # Extract the first word of "${ac_tool_prefix}cpp", so it can be a program name with args.
4546 set dummy ${ac_tool_prefix}cpp; ac_word=$2
4547 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4548 $as_echo_n "checking for $ac_word... " >&6; }
4549 if ${ac_cv_prog_CPPBIN+:} false; then :
4550 $as_echo_n "(cached) " >&6
4551 else
4552 if test -n "$CPPBIN"; then
4553 ac_cv_prog_CPPBIN="$CPPBIN" # Let the user override the test.
4554 else
4555 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4556 for as_dir in $PATH
4558 IFS=$as_save_IFS
4559 test -z "$as_dir" && as_dir=.
4560 for ac_exec_ext in '' $ac_executable_extensions; do
4561 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
4562 ac_cv_prog_CPPBIN="${ac_tool_prefix}cpp"
4563 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4564 break 2
4566 done
4567 done
4568 IFS=$as_save_IFS
4572 CPPBIN=$ac_cv_prog_CPPBIN
4573 if test -n "$CPPBIN"; then
4574 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CPPBIN" >&5
4575 $as_echo "$CPPBIN" >&6; }
4576 else
4577 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4578 $as_echo "no" >&6; }
4583 if test -z "$ac_cv_prog_CPPBIN"; then
4584 ac_ct_CPPBIN=$CPPBIN
4585 # Extract the first word of "cpp", so it can be a program name with args.
4586 set dummy cpp; ac_word=$2
4587 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4588 $as_echo_n "checking for $ac_word... " >&6; }
4589 if ${ac_cv_prog_ac_ct_CPPBIN+:} false; then :
4590 $as_echo_n "(cached) " >&6
4591 else
4592 if test -n "$ac_ct_CPPBIN"; then
4593 ac_cv_prog_ac_ct_CPPBIN="$ac_ct_CPPBIN" # Let the user override the test.
4594 else
4595 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4596 for as_dir in $PATH
4598 IFS=$as_save_IFS
4599 test -z "$as_dir" && as_dir=.
4600 for ac_exec_ext in '' $ac_executable_extensions; do
4601 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
4602 ac_cv_prog_ac_ct_CPPBIN="cpp"
4603 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4604 break 2
4606 done
4607 done
4608 IFS=$as_save_IFS
4612 ac_ct_CPPBIN=$ac_cv_prog_ac_ct_CPPBIN
4613 if test -n "$ac_ct_CPPBIN"; then
4614 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CPPBIN" >&5
4615 $as_echo "$ac_ct_CPPBIN" >&6; }
4616 else
4617 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4618 $as_echo "no" >&6; }
4621 if test "x$ac_ct_CPPBIN" = x; then
4622 CPPBIN="cpp"
4623 else
4624 case $cross_compiling:$ac_tool_warned in
4625 yes:)
4626 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
4627 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
4628 ac_tool_warned=yes ;;
4629 esac
4630 CPPBIN=$ac_ct_CPPBIN
4632 else
4633 CPPBIN="$ac_cv_prog_CPPBIN"
4637 cat >>confdefs.h <<_ACEOF
4638 #define EXEEXT "$ac_exeext"
4639 _ACEOF
4642 case $host in
4643 *-darwin*)
4644 if test "x$enable_win64" = "xyes"
4645 then
4646 CC="$CC -m64"
4647 CXX="$CXX -m64"
4648 host_cpu="x86_64"
4649 notice_platform="64-bit "
4650 TARGETFLAGS="-m64"
4652 else
4653 CC="$CC -m32"
4654 CXX="$CXX -m32"
4655 host_cpu="i386"
4656 notice_platform="32-bit "
4657 TARGETFLAGS="-m32"
4659 enable_win16=${enable_win16:-yes}
4661 with_fontconfig=${with_fontconfig:-no}
4663 x86_64*)
4664 if test "x$enable_win64" != "xyes" -a "$cross_compiling" != "yes"
4665 then
4666 CC="$CC -m32"
4667 CXX="$CXX -m32"
4668 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CC works" >&5
4669 $as_echo_n "checking whether $CC works... " >&6; }
4671 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4672 /* end confdefs.h. */
4675 main ()
4679 return 0;
4681 _ACEOF
4682 if ac_fn_c_try_link "$LINENO"; then :
4683 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
4684 $as_echo "yes" >&6; }
4685 else
4686 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4687 $as_echo "no" >&6; }
4688 as_fn_error $? "Cannot build a 32-bit program, you need to install 32-bit development libraries." "$LINENO" 5
4690 rm -f core conftest.err conftest.$ac_objext \
4691 conftest$ac_exeext conftest.$ac_ext
4692 host_cpu="i386"
4693 notice_platform="32-bit "
4694 TARGETFLAGS="-m32"
4696 enable_win16=${enable_win16:-yes}
4697 else
4698 if test "x${GCC}" = "xyes"
4699 then
4700 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CC supports __builtin_ms_va_list" >&5
4701 $as_echo_n "checking whether $CC supports __builtin_ms_va_list... " >&6; }
4702 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4703 /* end confdefs.h. */
4704 #include <stdarg.h>
4706 main ()
4708 void func(__builtin_ms_va_list *args);
4710 return 0;
4712 _ACEOF
4713 if ac_fn_c_try_compile "$LINENO"; then :
4714 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
4715 $as_echo "yes" >&6; }
4716 else
4717 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4718 $as_echo "no" >&6; }
4719 as_fn_error $? "You need gcc >= 4.4 to build Wine as 64-bit." "$LINENO" 5
4721 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4723 TARGETFLAGS="-m64"
4727 arm*)
4728 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CC supports Thumb" >&5
4729 $as_echo_n "checking whether $CC supports Thumb... " >&6; }
4730 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4731 /* end confdefs.h. */
4732 int ac_test(int i) { return i; }
4734 main ()
4736 asm(".thumb\nblx ac_test\n.arm"); if (ac_test(1)) return 1
4738 return 0;
4740 _ACEOF
4741 if ac_fn_c_try_link "$LINENO"; then :
4742 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
4743 $as_echo "yes" >&6; }
4744 else
4745 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4746 $as_echo "no" >&6; }
4747 as_fn_error $? "You need a target with Thumb support to build Wine for ARM." "$LINENO" 5
4749 rm -f core conftest.err conftest.$ac_objext \
4750 conftest$ac_exeext conftest.$ac_ext
4751 CFLAGS="$CFLAGS -marm"
4753 *-mingw32*|*-cygwin*)
4754 enable_win16=${enable_win16:-no}
4755 CFLAGS="$CFLAGS -D_WIN32"
4757 i[3456789]86*)
4758 enable_win16=${enable_win16:-yes}
4760 esac
4762 enable_win16=${enable_win16:-no}
4763 enable_win64=${enable_win64:-no}
4765 enable_winetest=${enable_winetest:-$enable_tests}
4767 if test -n "$with_wine64"
4768 then
4769 if test "x$enable_win64" = "xyes"
4770 then
4771 as_fn_error $? "--enable-win64 and --with-wine64 are mutually exclusive.
4772 --enable-win64 should be used in the 64-bit build tree, --with-wine64 in the 32-bit Wow64 build tree." "$LINENO" 5
4774 enable_fonts=${enable_fonts:-no}
4775 enable_server=${enable_server:-no}
4776 elif test "x$enable_win64" = "xyes"
4777 then
4778 test "x$libdir" != "x\${exec_prefix}/lib" || libdir="\${exec_prefix}/lib64"
4781 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for the directory containing the Wine tools" >&5
4782 $as_echo_n "checking for the directory containing the Wine tools... " >&6; }
4783 if ${wine_cv_toolsdir+:} false; then :
4784 $as_echo_n "(cached) " >&6
4785 else
4786 wine_cv_toolsdir="$with_wine_tools"
4787 if test -z "$with_wine_tools"; then
4788 if test "$cross_compiling" = "yes"; then
4789 as_fn_error $? "you must use the --with-wine-tools option when cross-compiling." "$LINENO" 5
4790 elif test -n "$with_wine64"; then
4791 wine_cv_toolsdir="$with_wine64"
4794 if test -z "$wine_cv_toolsdir"; then
4795 wine_cv_toolsdir="\$(top_builddir)"
4796 elif test -d "$wine_cv_toolsdir/tools/winebuild"; then
4797 case "$wine_cv_toolsdir" in
4798 /*) ;;
4799 *) wine_cv_toolsdir="\$(top_builddir)/$wine_cv_toolsdir" ;;
4800 esac
4801 enable_tools=${enable_tools:-no}
4802 else
4803 as_fn_error $? "could not find Wine tools in $wine_cv_toolsdir" "$LINENO" 5
4806 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $wine_cv_toolsdir" >&5
4807 $as_echo "$wine_cv_toolsdir" >&6; }
4808 TOOLSDIR=$wine_cv_toolsdir
4810 if test -n "$host_alias" -a "$host_alias" != "$build_alias"
4811 then
4812 TARGETFLAGS="-b $host_alias $TARGETFLAGS"
4816 for ac_prog in flex
4818 # Extract the first word of "$ac_prog", so it can be a program name with args.
4819 set dummy $ac_prog; ac_word=$2
4820 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4821 $as_echo_n "checking for $ac_word... " >&6; }
4822 if ${ac_cv_prog_FLEX+:} false; then :
4823 $as_echo_n "(cached) " >&6
4824 else
4825 if test -n "$FLEX"; then
4826 ac_cv_prog_FLEX="$FLEX" # Let the user override the test.
4827 else
4828 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4829 for as_dir in $PATH
4831 IFS=$as_save_IFS
4832 test -z "$as_dir" && as_dir=.
4833 for ac_exec_ext in '' $ac_executable_extensions; do
4834 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
4835 ac_cv_prog_FLEX="$ac_prog"
4836 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4837 break 2
4839 done
4840 done
4841 IFS=$as_save_IFS
4845 FLEX=$ac_cv_prog_FLEX
4846 if test -n "$FLEX"; then
4847 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $FLEX" >&5
4848 $as_echo "$FLEX" >&6; }
4849 else
4850 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4851 $as_echo "no" >&6; }
4855 test -n "$FLEX" && break
4856 done
4857 test -n "$FLEX" || FLEX="none"
4859 if test "$FLEX" = "none"
4860 then
4861 as_fn_error $? "no suitable flex found. Please install the 'flex' package." "$LINENO" 5
4863 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether flex is recent enough" >&5
4864 $as_echo_n "checking whether flex is recent enough... " >&6; }
4865 cat >conftest.l <<EOF
4866 %top{
4867 #include "prediluvian.h"
4871 if $FLEX -t conftest.l >/dev/null 2>&5
4872 then
4873 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
4874 $as_echo "yes" >&6; }
4875 else
4876 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4877 $as_echo "no" >&6; }
4878 as_fn_error $? "Your flex version is too old. Please install flex version 2.5.33 or newer." "$LINENO" 5
4881 for ac_prog in bison
4883 # Extract the first word of "$ac_prog", so it can be a program name with args.
4884 set dummy $ac_prog; ac_word=$2
4885 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4886 $as_echo_n "checking for $ac_word... " >&6; }
4887 if ${ac_cv_prog_BISON+:} false; then :
4888 $as_echo_n "(cached) " >&6
4889 else
4890 if test -n "$BISON"; then
4891 ac_cv_prog_BISON="$BISON" # Let the user override the test.
4892 else
4893 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4894 for as_dir in $PATH
4896 IFS=$as_save_IFS
4897 test -z "$as_dir" && as_dir=.
4898 for ac_exec_ext in '' $ac_executable_extensions; do
4899 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
4900 ac_cv_prog_BISON="$ac_prog"
4901 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4902 break 2
4904 done
4905 done
4906 IFS=$as_save_IFS
4910 BISON=$ac_cv_prog_BISON
4911 if test -n "$BISON"; then
4912 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $BISON" >&5
4913 $as_echo "$BISON" >&6; }
4914 else
4915 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4916 $as_echo "no" >&6; }
4920 test -n "$BISON" && break
4921 done
4922 test -n "$BISON" || BISON="none"
4924 if test "$BISON" = "none"
4925 then
4926 as_fn_error $? "no suitable bison found. Please install the 'bison' package." "$LINENO" 5
4929 if test -n "$ac_tool_prefix"; then
4930 for ac_prog in ar gar
4932 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
4933 set dummy $ac_tool_prefix$ac_prog; ac_word=$2
4934 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4935 $as_echo_n "checking for $ac_word... " >&6; }
4936 if ${ac_cv_prog_AR+:} false; then :
4937 $as_echo_n "(cached) " >&6
4938 else
4939 if test -n "$AR"; then
4940 ac_cv_prog_AR="$AR" # Let the user override the test.
4941 else
4942 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4943 for as_dir in $PATH
4945 IFS=$as_save_IFS
4946 test -z "$as_dir" && as_dir=.
4947 for ac_exec_ext in '' $ac_executable_extensions; do
4948 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
4949 ac_cv_prog_AR="$ac_tool_prefix$ac_prog"
4950 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4951 break 2
4953 done
4954 done
4955 IFS=$as_save_IFS
4959 AR=$ac_cv_prog_AR
4960 if test -n "$AR"; then
4961 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $AR" >&5
4962 $as_echo "$AR" >&6; }
4963 else
4964 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4965 $as_echo "no" >&6; }
4969 test -n "$AR" && break
4970 done
4972 if test -z "$AR"; then
4973 ac_ct_AR=$AR
4974 for ac_prog in ar gar
4976 # Extract the first word of "$ac_prog", so it can be a program name with args.
4977 set dummy $ac_prog; ac_word=$2
4978 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4979 $as_echo_n "checking for $ac_word... " >&6; }
4980 if ${ac_cv_prog_ac_ct_AR+:} false; then :
4981 $as_echo_n "(cached) " >&6
4982 else
4983 if test -n "$ac_ct_AR"; then
4984 ac_cv_prog_ac_ct_AR="$ac_ct_AR" # Let the user override the test.
4985 else
4986 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4987 for as_dir in $PATH
4989 IFS=$as_save_IFS
4990 test -z "$as_dir" && as_dir=.
4991 for ac_exec_ext in '' $ac_executable_extensions; do
4992 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
4993 ac_cv_prog_ac_ct_AR="$ac_prog"
4994 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4995 break 2
4997 done
4998 done
4999 IFS=$as_save_IFS
5003 ac_ct_AR=$ac_cv_prog_ac_ct_AR
5004 if test -n "$ac_ct_AR"; then
5005 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_AR" >&5
5006 $as_echo "$ac_ct_AR" >&6; }
5007 else
5008 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5009 $as_echo "no" >&6; }
5013 test -n "$ac_ct_AR" && break
5014 done
5016 if test "x$ac_ct_AR" = x; then
5017 AR="ar"
5018 else
5019 case $cross_compiling:$ac_tool_warned in
5020 yes:)
5021 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
5022 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
5023 ac_tool_warned=yes ;;
5024 esac
5025 AR=$ac_ct_AR
5029 if test -n "$ac_tool_prefix"; then
5030 # Extract the first word of "${ac_tool_prefix}strip", so it can be a program name with args.
5031 set dummy ${ac_tool_prefix}strip; ac_word=$2
5032 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5033 $as_echo_n "checking for $ac_word... " >&6; }
5034 if ${ac_cv_prog_STRIP+:} false; then :
5035 $as_echo_n "(cached) " >&6
5036 else
5037 if test -n "$STRIP"; then
5038 ac_cv_prog_STRIP="$STRIP" # Let the user override the test.
5039 else
5040 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5041 for as_dir in $PATH
5043 IFS=$as_save_IFS
5044 test -z "$as_dir" && as_dir=.
5045 for ac_exec_ext in '' $ac_executable_extensions; do
5046 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
5047 ac_cv_prog_STRIP="${ac_tool_prefix}strip"
5048 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5049 break 2
5051 done
5052 done
5053 IFS=$as_save_IFS
5057 STRIP=$ac_cv_prog_STRIP
5058 if test -n "$STRIP"; then
5059 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $STRIP" >&5
5060 $as_echo "$STRIP" >&6; }
5061 else
5062 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5063 $as_echo "no" >&6; }
5068 if test -z "$ac_cv_prog_STRIP"; then
5069 ac_ct_STRIP=$STRIP
5070 # Extract the first word of "strip", so it can be a program name with args.
5071 set dummy strip; ac_word=$2
5072 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5073 $as_echo_n "checking for $ac_word... " >&6; }
5074 if ${ac_cv_prog_ac_ct_STRIP+:} false; then :
5075 $as_echo_n "(cached) " >&6
5076 else
5077 if test -n "$ac_ct_STRIP"; then
5078 ac_cv_prog_ac_ct_STRIP="$ac_ct_STRIP" # Let the user override the test.
5079 else
5080 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5081 for as_dir in $PATH
5083 IFS=$as_save_IFS
5084 test -z "$as_dir" && as_dir=.
5085 for ac_exec_ext in '' $ac_executable_extensions; do
5086 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
5087 ac_cv_prog_ac_ct_STRIP="strip"
5088 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5089 break 2
5091 done
5092 done
5093 IFS=$as_save_IFS
5097 ac_ct_STRIP=$ac_cv_prog_ac_ct_STRIP
5098 if test -n "$ac_ct_STRIP"; then
5099 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_STRIP" >&5
5100 $as_echo "$ac_ct_STRIP" >&6; }
5101 else
5102 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5103 $as_echo "no" >&6; }
5106 if test "x$ac_ct_STRIP" = x; then
5107 STRIP="strip"
5108 else
5109 case $cross_compiling:$ac_tool_warned in
5110 yes:)
5111 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
5112 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
5113 ac_tool_warned=yes ;;
5114 esac
5115 STRIP=$ac_ct_STRIP
5117 else
5118 STRIP="$ac_cv_prog_STRIP"
5121 ARFLAGS=rc
5123 if test -n "$ac_tool_prefix"; then
5124 # Extract the first word of "${ac_tool_prefix}ranlib", so it can be a program name with args.
5125 set dummy ${ac_tool_prefix}ranlib; ac_word=$2
5126 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5127 $as_echo_n "checking for $ac_word... " >&6; }
5128 if ${ac_cv_prog_RANLIB+:} false; then :
5129 $as_echo_n "(cached) " >&6
5130 else
5131 if test -n "$RANLIB"; then
5132 ac_cv_prog_RANLIB="$RANLIB" # Let the user override the test.
5133 else
5134 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5135 for as_dir in $PATH
5137 IFS=$as_save_IFS
5138 test -z "$as_dir" && as_dir=.
5139 for ac_exec_ext in '' $ac_executable_extensions; do
5140 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
5141 ac_cv_prog_RANLIB="${ac_tool_prefix}ranlib"
5142 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5143 break 2
5145 done
5146 done
5147 IFS=$as_save_IFS
5151 RANLIB=$ac_cv_prog_RANLIB
5152 if test -n "$RANLIB"; then
5153 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $RANLIB" >&5
5154 $as_echo "$RANLIB" >&6; }
5155 else
5156 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5157 $as_echo "no" >&6; }
5162 if test -z "$ac_cv_prog_RANLIB"; then
5163 ac_ct_RANLIB=$RANLIB
5164 # Extract the first word of "ranlib", so it can be a program name with args.
5165 set dummy ranlib; ac_word=$2
5166 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5167 $as_echo_n "checking for $ac_word... " >&6; }
5168 if ${ac_cv_prog_ac_ct_RANLIB+:} false; then :
5169 $as_echo_n "(cached) " >&6
5170 else
5171 if test -n "$ac_ct_RANLIB"; then
5172 ac_cv_prog_ac_ct_RANLIB="$ac_ct_RANLIB" # Let the user override the test.
5173 else
5174 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5175 for as_dir in $PATH
5177 IFS=$as_save_IFS
5178 test -z "$as_dir" && as_dir=.
5179 for ac_exec_ext in '' $ac_executable_extensions; do
5180 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
5181 ac_cv_prog_ac_ct_RANLIB="ranlib"
5182 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5183 break 2
5185 done
5186 done
5187 IFS=$as_save_IFS
5191 ac_ct_RANLIB=$ac_cv_prog_ac_ct_RANLIB
5192 if test -n "$ac_ct_RANLIB"; then
5193 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_RANLIB" >&5
5194 $as_echo "$ac_ct_RANLIB" >&6; }
5195 else
5196 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5197 $as_echo "no" >&6; }
5200 if test "x$ac_ct_RANLIB" = x; then
5201 RANLIB=":"
5202 else
5203 case $cross_compiling:$ac_tool_warned in
5204 yes:)
5205 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
5206 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
5207 ac_tool_warned=yes ;;
5208 esac
5209 RANLIB=$ac_ct_RANLIB
5211 else
5212 RANLIB="$ac_cv_prog_RANLIB"
5215 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ln -s works" >&5
5216 $as_echo_n "checking whether ln -s works... " >&6; }
5217 LN_S=$as_ln_s
5218 if test "$LN_S" = "ln -s"; then
5219 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
5220 $as_echo "yes" >&6; }
5221 else
5222 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no, using $LN_S" >&5
5223 $as_echo "no, using $LN_S" >&6; }
5226 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for grep that handles long lines and -e" >&5
5227 $as_echo_n "checking for grep that handles long lines and -e... " >&6; }
5228 if ${ac_cv_path_GREP+:} false; then :
5229 $as_echo_n "(cached) " >&6
5230 else
5231 if test -z "$GREP"; then
5232 ac_path_GREP_found=false
5233 # Loop through the user's path and test for each of PROGNAME-LIST
5234 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5235 for as_dir in $PATH$PATH_SEPARATOR/usr/xpg4/bin
5237 IFS=$as_save_IFS
5238 test -z "$as_dir" && as_dir=.
5239 for ac_prog in grep ggrep; do
5240 for ac_exec_ext in '' $ac_executable_extensions; do
5241 ac_path_GREP="$as_dir/$ac_prog$ac_exec_ext"
5242 as_fn_executable_p "$ac_path_GREP" || continue
5243 # Check for GNU ac_path_GREP and select it if it is found.
5244 # Check for GNU $ac_path_GREP
5245 case `"$ac_path_GREP" --version 2>&1` in
5246 *GNU*)
5247 ac_cv_path_GREP="$ac_path_GREP" ac_path_GREP_found=:;;
5249 ac_count=0
5250 $as_echo_n 0123456789 >"conftest.in"
5251 while :
5253 cat "conftest.in" "conftest.in" >"conftest.tmp"
5254 mv "conftest.tmp" "conftest.in"
5255 cp "conftest.in" "conftest.nl"
5256 $as_echo 'GREP' >> "conftest.nl"
5257 "$ac_path_GREP" -e 'GREP$' -e '-(cannot match)-' < "conftest.nl" >"conftest.out" 2>/dev/null || break
5258 diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break
5259 as_fn_arith $ac_count + 1 && ac_count=$as_val
5260 if test $ac_count -gt ${ac_path_GREP_max-0}; then
5261 # Best one so far, save it but keep looking for a better one
5262 ac_cv_path_GREP="$ac_path_GREP"
5263 ac_path_GREP_max=$ac_count
5265 # 10*(2^10) chars as input seems more than enough
5266 test $ac_count -gt 10 && break
5267 done
5268 rm -f conftest.in conftest.tmp conftest.nl conftest.out;;
5269 esac
5271 $ac_path_GREP_found && break 3
5272 done
5273 done
5274 done
5275 IFS=$as_save_IFS
5276 if test -z "$ac_cv_path_GREP"; then
5277 as_fn_error $? "no acceptable grep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" "$LINENO" 5
5279 else
5280 ac_cv_path_GREP=$GREP
5284 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_GREP" >&5
5285 $as_echo "$ac_cv_path_GREP" >&6; }
5286 GREP="$ac_cv_path_GREP"
5289 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for egrep" >&5
5290 $as_echo_n "checking for egrep... " >&6; }
5291 if ${ac_cv_path_EGREP+:} false; then :
5292 $as_echo_n "(cached) " >&6
5293 else
5294 if echo a | $GREP -E '(a|b)' >/dev/null 2>&1
5295 then ac_cv_path_EGREP="$GREP -E"
5296 else
5297 if test -z "$EGREP"; then
5298 ac_path_EGREP_found=false
5299 # Loop through the user's path and test for each of PROGNAME-LIST
5300 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5301 for as_dir in $PATH$PATH_SEPARATOR/usr/xpg4/bin
5303 IFS=$as_save_IFS
5304 test -z "$as_dir" && as_dir=.
5305 for ac_prog in egrep; do
5306 for ac_exec_ext in '' $ac_executable_extensions; do
5307 ac_path_EGREP="$as_dir/$ac_prog$ac_exec_ext"
5308 as_fn_executable_p "$ac_path_EGREP" || continue
5309 # Check for GNU ac_path_EGREP and select it if it is found.
5310 # Check for GNU $ac_path_EGREP
5311 case `"$ac_path_EGREP" --version 2>&1` in
5312 *GNU*)
5313 ac_cv_path_EGREP="$ac_path_EGREP" ac_path_EGREP_found=:;;
5315 ac_count=0
5316 $as_echo_n 0123456789 >"conftest.in"
5317 while :
5319 cat "conftest.in" "conftest.in" >"conftest.tmp"
5320 mv "conftest.tmp" "conftest.in"
5321 cp "conftest.in" "conftest.nl"
5322 $as_echo 'EGREP' >> "conftest.nl"
5323 "$ac_path_EGREP" 'EGREP$' < "conftest.nl" >"conftest.out" 2>/dev/null || break
5324 diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break
5325 as_fn_arith $ac_count + 1 && ac_count=$as_val
5326 if test $ac_count -gt ${ac_path_EGREP_max-0}; then
5327 # Best one so far, save it but keep looking for a better one
5328 ac_cv_path_EGREP="$ac_path_EGREP"
5329 ac_path_EGREP_max=$ac_count
5331 # 10*(2^10) chars as input seems more than enough
5332 test $ac_count -gt 10 && break
5333 done
5334 rm -f conftest.in conftest.tmp conftest.nl conftest.out;;
5335 esac
5337 $ac_path_EGREP_found && break 3
5338 done
5339 done
5340 done
5341 IFS=$as_save_IFS
5342 if test -z "$ac_cv_path_EGREP"; then
5343 as_fn_error $? "no acceptable egrep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" "$LINENO" 5
5345 else
5346 ac_cv_path_EGREP=$EGREP
5351 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_EGREP" >&5
5352 $as_echo "$ac_cv_path_EGREP" >&6; }
5353 EGREP="$ac_cv_path_EGREP"
5356 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for a thread-safe mkdir -p" >&5
5357 $as_echo_n "checking for a thread-safe mkdir -p... " >&6; }
5358 if test -z "$MKDIR_P"; then
5359 if ${ac_cv_path_mkdir+:} false; then :
5360 $as_echo_n "(cached) " >&6
5361 else
5362 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5363 for as_dir in $PATH$PATH_SEPARATOR/opt/sfw/bin
5365 IFS=$as_save_IFS
5366 test -z "$as_dir" && as_dir=.
5367 for ac_prog in mkdir gmkdir; do
5368 for ac_exec_ext in '' $ac_executable_extensions; do
5369 as_fn_executable_p "$as_dir/$ac_prog$ac_exec_ext" || continue
5370 case `"$as_dir/$ac_prog$ac_exec_ext" --version 2>&1` in #(
5371 'mkdir (GNU coreutils) '* | \
5372 'mkdir (coreutils) '* | \
5373 'mkdir (fileutils) '4.1*)
5374 ac_cv_path_mkdir=$as_dir/$ac_prog$ac_exec_ext
5375 break 3;;
5376 esac
5377 done
5378 done
5379 done
5380 IFS=$as_save_IFS
5384 test -d ./--version && rmdir ./--version
5385 if test "${ac_cv_path_mkdir+set}" = set; then
5386 MKDIR_P="$ac_cv_path_mkdir -p"
5387 else
5388 # As a last resort, use the slow shell script. Don't cache a
5389 # value for MKDIR_P within a source directory, because that will
5390 # break other packages using the cache if that directory is
5391 # removed, or if the value is a relative name.
5392 MKDIR_P="$ac_install_sh -d"
5395 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $MKDIR_P" >&5
5396 $as_echo "$MKDIR_P" >&6; }
5398 # Extract the first word of "ldconfig", so it can be a program name with args.
5399 set dummy ldconfig; ac_word=$2
5400 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5401 $as_echo_n "checking for $ac_word... " >&6; }
5402 if ${ac_cv_path_LDCONFIG+:} false; then :
5403 $as_echo_n "(cached) " >&6
5404 else
5405 case $LDCONFIG in
5406 [\\/]* | ?:[\\/]*)
5407 ac_cv_path_LDCONFIG="$LDCONFIG" # Let the user override the test with a path.
5410 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5411 for as_dir in /sbin /usr/sbin $PATH
5413 IFS=$as_save_IFS
5414 test -z "$as_dir" && as_dir=.
5415 for ac_exec_ext in '' $ac_executable_extensions; do
5416 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
5417 ac_cv_path_LDCONFIG="$as_dir/$ac_word$ac_exec_ext"
5418 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5419 break 2
5421 done
5422 done
5423 IFS=$as_save_IFS
5425 test -z "$ac_cv_path_LDCONFIG" && ac_cv_path_LDCONFIG="true"
5427 esac
5429 LDCONFIG=$ac_cv_path_LDCONFIG
5430 if test -n "$LDCONFIG"; then
5431 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $LDCONFIG" >&5
5432 $as_echo "$LDCONFIG" >&6; }
5433 else
5434 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5435 $as_echo "no" >&6; }
5440 test -z "$INSTALL_PROGRAM" && INSTALL_PROGRAM="STRIPPROG=\"\$(STRIP)\" \$(top_srcdir)/tools/install-sh"
5441 # Find a good install program. We prefer a C program (faster),
5442 # so one script is as good as another. But avoid the broken or
5443 # incompatible versions:
5444 # SysV /etc/install, /usr/sbin/install
5445 # SunOS /usr/etc/install
5446 # IRIX /sbin/install
5447 # AIX /bin/install
5448 # AmigaOS /C/install, which installs bootblocks on floppy discs
5449 # AIX 4 /usr/bin/installbsd, which doesn't work without a -g flag
5450 # AFS /usr/afsws/bin/install, which mishandles nonexistent args
5451 # SVR4 /usr/ucb/install, which tries to use the nonexistent group "staff"
5452 # OS/2's system install, which has a completely different semantic
5453 # ./install, which can be erroneously created by make from ./install.sh.
5454 # Reject install programs that cannot install multiple files.
5455 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for a BSD-compatible install" >&5
5456 $as_echo_n "checking for a BSD-compatible install... " >&6; }
5457 if test -z "$INSTALL"; then
5458 if ${ac_cv_path_install+:} false; then :
5459 $as_echo_n "(cached) " >&6
5460 else
5461 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5462 for as_dir in $PATH
5464 IFS=$as_save_IFS
5465 test -z "$as_dir" && as_dir=.
5466 # Account for people who put trailing slashes in PATH elements.
5467 case $as_dir/ in #((
5468 ./ | .// | /[cC]/* | \
5469 /etc/* | /usr/sbin/* | /usr/etc/* | /sbin/* | /usr/afsws/bin/* | \
5470 ?:[\\/]os2[\\/]install[\\/]* | ?:[\\/]OS2[\\/]INSTALL[\\/]* | \
5471 /usr/ucb/* ) ;;
5473 # OSF1 and SCO ODT 3.0 have their own names for install.
5474 # Don't use installbsd from OSF since it installs stuff as root
5475 # by default.
5476 for ac_prog in ginstall scoinst install; do
5477 for ac_exec_ext in '' $ac_executable_extensions; do
5478 if as_fn_executable_p "$as_dir/$ac_prog$ac_exec_ext"; then
5479 if test $ac_prog = install &&
5480 grep dspmsg "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then
5481 # AIX install. It has an incompatible calling convention.
5483 elif test $ac_prog = install &&
5484 grep pwplus "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then
5485 # program-specific install script used by HP pwplus--don't use.
5487 else
5488 rm -rf conftest.one conftest.two conftest.dir
5489 echo one > conftest.one
5490 echo two > conftest.two
5491 mkdir conftest.dir
5492 if "$as_dir/$ac_prog$ac_exec_ext" -c conftest.one conftest.two "`pwd`/conftest.dir" &&
5493 test -s conftest.one && test -s conftest.two &&
5494 test -s conftest.dir/conftest.one &&
5495 test -s conftest.dir/conftest.two
5496 then
5497 ac_cv_path_install="$as_dir/$ac_prog$ac_exec_ext -c"
5498 break 3
5502 done
5503 done
5505 esac
5507 done
5508 IFS=$as_save_IFS
5510 rm -rf conftest.one conftest.two conftest.dir
5513 if test "${ac_cv_path_install+set}" = set; then
5514 INSTALL=$ac_cv_path_install
5515 else
5516 # As a last resort, use the slow shell script. Don't cache a
5517 # value for INSTALL within a source directory, because that will
5518 # break other packages using the cache if that directory is
5519 # removed, or if the value is a relative name.
5520 INSTALL=$ac_install_sh
5523 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $INSTALL" >&5
5524 $as_echo "$INSTALL" >&6; }
5526 # Use test -z because SunOS4 sh mishandles braces in ${var-val}.
5527 # It thinks the first close brace ends the variable substitution.
5528 test -z "$INSTALL_PROGRAM" && INSTALL_PROGRAM='${INSTALL}'
5530 test -z "$INSTALL_SCRIPT" && INSTALL_SCRIPT='${INSTALL}'
5532 test -z "$INSTALL_DATA" && INSTALL_DATA='${INSTALL} -m 644'
5535 for ac_prog in fontforge
5537 # Extract the first word of "$ac_prog", so it can be a program name with args.
5538 set dummy $ac_prog; ac_word=$2
5539 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5540 $as_echo_n "checking for $ac_word... " >&6; }
5541 if ${ac_cv_prog_FONTFORGE+:} false; then :
5542 $as_echo_n "(cached) " >&6
5543 else
5544 if test -n "$FONTFORGE"; then
5545 ac_cv_prog_FONTFORGE="$FONTFORGE" # Let the user override the test.
5546 else
5547 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5548 for as_dir in $PATH
5550 IFS=$as_save_IFS
5551 test -z "$as_dir" && as_dir=.
5552 for ac_exec_ext in '' $ac_executable_extensions; do
5553 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
5554 ac_cv_prog_FONTFORGE="$ac_prog"
5555 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5556 break 2
5558 done
5559 done
5560 IFS=$as_save_IFS
5564 FONTFORGE=$ac_cv_prog_FONTFORGE
5565 if test -n "$FONTFORGE"; then
5566 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $FONTFORGE" >&5
5567 $as_echo "$FONTFORGE" >&6; }
5568 else
5569 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5570 $as_echo "no" >&6; }
5574 test -n "$FONTFORGE" && break
5575 done
5576 test -n "$FONTFORGE" || FONTFORGE="false"
5578 for ac_prog in rsvg
5580 # Extract the first word of "$ac_prog", so it can be a program name with args.
5581 set dummy $ac_prog; ac_word=$2
5582 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5583 $as_echo_n "checking for $ac_word... " >&6; }
5584 if ${ac_cv_prog_RSVG+:} false; then :
5585 $as_echo_n "(cached) " >&6
5586 else
5587 if test -n "$RSVG"; then
5588 ac_cv_prog_RSVG="$RSVG" # Let the user override the test.
5589 else
5590 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5591 for as_dir in $PATH
5593 IFS=$as_save_IFS
5594 test -z "$as_dir" && as_dir=.
5595 for ac_exec_ext in '' $ac_executable_extensions; do
5596 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
5597 ac_cv_prog_RSVG="$ac_prog"
5598 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5599 break 2
5601 done
5602 done
5603 IFS=$as_save_IFS
5607 RSVG=$ac_cv_prog_RSVG
5608 if test -n "$RSVG"; then
5609 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $RSVG" >&5
5610 $as_echo "$RSVG" >&6; }
5611 else
5612 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5613 $as_echo "no" >&6; }
5617 test -n "$RSVG" && break
5618 done
5619 test -n "$RSVG" || RSVG="false"
5621 for ac_prog in convert
5623 # Extract the first word of "$ac_prog", so it can be a program name with args.
5624 set dummy $ac_prog; ac_word=$2
5625 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5626 $as_echo_n "checking for $ac_word... " >&6; }
5627 if ${ac_cv_prog_CONVERT+:} false; then :
5628 $as_echo_n "(cached) " >&6
5629 else
5630 if test -n "$CONVERT"; then
5631 ac_cv_prog_CONVERT="$CONVERT" # Let the user override the test.
5632 else
5633 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5634 for as_dir in $PATH
5636 IFS=$as_save_IFS
5637 test -z "$as_dir" && as_dir=.
5638 for ac_exec_ext in '' $ac_executable_extensions; do
5639 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
5640 ac_cv_prog_CONVERT="$ac_prog"
5641 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5642 break 2
5644 done
5645 done
5646 IFS=$as_save_IFS
5650 CONVERT=$ac_cv_prog_CONVERT
5651 if test -n "$CONVERT"; then
5652 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CONVERT" >&5
5653 $as_echo "$CONVERT" >&6; }
5654 else
5655 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5656 $as_echo "no" >&6; }
5660 test -n "$CONVERT" && break
5661 done
5662 test -n "$CONVERT" || CONVERT="false"
5664 for ac_prog in icotool
5666 # Extract the first word of "$ac_prog", so it can be a program name with args.
5667 set dummy $ac_prog; ac_word=$2
5668 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5669 $as_echo_n "checking for $ac_word... " >&6; }
5670 if ${ac_cv_prog_ICOTOOL+:} false; then :
5671 $as_echo_n "(cached) " >&6
5672 else
5673 if test -n "$ICOTOOL"; then
5674 ac_cv_prog_ICOTOOL="$ICOTOOL" # Let the user override the test.
5675 else
5676 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5677 for as_dir in $PATH
5679 IFS=$as_save_IFS
5680 test -z "$as_dir" && as_dir=.
5681 for ac_exec_ext in '' $ac_executable_extensions; do
5682 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
5683 ac_cv_prog_ICOTOOL="$ac_prog"
5684 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5685 break 2
5687 done
5688 done
5689 IFS=$as_save_IFS
5693 ICOTOOL=$ac_cv_prog_ICOTOOL
5694 if test -n "$ICOTOOL"; then
5695 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ICOTOOL" >&5
5696 $as_echo "$ICOTOOL" >&6; }
5697 else
5698 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5699 $as_echo "no" >&6; }
5703 test -n "$ICOTOOL" && break
5704 done
5705 test -n "$ICOTOOL" || ICOTOOL="false"
5707 for ac_prog in msgfmt
5709 # Extract the first word of "$ac_prog", so it can be a program name with args.
5710 set dummy $ac_prog; ac_word=$2
5711 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5712 $as_echo_n "checking for $ac_word... " >&6; }
5713 if ${ac_cv_prog_MSGFMT+:} false; then :
5714 $as_echo_n "(cached) " >&6
5715 else
5716 if test -n "$MSGFMT"; then
5717 ac_cv_prog_MSGFMT="$MSGFMT" # Let the user override the test.
5718 else
5719 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5720 for as_dir in $PATH
5722 IFS=$as_save_IFS
5723 test -z "$as_dir" && as_dir=.
5724 for ac_exec_ext in '' $ac_executable_extensions; do
5725 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
5726 ac_cv_prog_MSGFMT="$ac_prog"
5727 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5728 break 2
5730 done
5731 done
5732 IFS=$as_save_IFS
5736 MSGFMT=$ac_cv_prog_MSGFMT
5737 if test -n "$MSGFMT"; then
5738 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $MSGFMT" >&5
5739 $as_echo "$MSGFMT" >&6; }
5740 else
5741 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5742 $as_echo "no" >&6; }
5746 test -n "$MSGFMT" && break
5747 done
5748 test -n "$MSGFMT" || MSGFMT="false"
5750 if test -n "$ac_tool_prefix"; then
5751 # Extract the first word of "${ac_tool_prefix}pkg-config", so it can be a program name with args.
5752 set dummy ${ac_tool_prefix}pkg-config; ac_word=$2
5753 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5754 $as_echo_n "checking for $ac_word... " >&6; }
5755 if ${ac_cv_prog_PKG_CONFIG+:} false; then :
5756 $as_echo_n "(cached) " >&6
5757 else
5758 if test -n "$PKG_CONFIG"; then
5759 ac_cv_prog_PKG_CONFIG="$PKG_CONFIG" # Let the user override the test.
5760 else
5761 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5762 for as_dir in $PATH
5764 IFS=$as_save_IFS
5765 test -z "$as_dir" && as_dir=.
5766 for ac_exec_ext in '' $ac_executable_extensions; do
5767 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
5768 ac_cv_prog_PKG_CONFIG="${ac_tool_prefix}pkg-config"
5769 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5770 break 2
5772 done
5773 done
5774 IFS=$as_save_IFS
5778 PKG_CONFIG=$ac_cv_prog_PKG_CONFIG
5779 if test -n "$PKG_CONFIG"; then
5780 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $PKG_CONFIG" >&5
5781 $as_echo "$PKG_CONFIG" >&6; }
5782 else
5783 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5784 $as_echo "no" >&6; }
5789 if test -n "$ac_cv_prog_PKG_CONFIG"; then
5790 PKG_CONFIG="$ac_cv_prog_PKG_CONFIG"
5791 elif test "$cross_compiling" != yes; then
5792 unset ac_cv_prog_PKG_CONFIG
5793 # Extract the first word of "pkg-config", so it can be a program name with args.
5794 set dummy pkg-config; ac_word=$2
5795 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5796 $as_echo_n "checking for $ac_word... " >&6; }
5797 if ${ac_cv_prog_PKG_CONFIG+:} false; then :
5798 $as_echo_n "(cached) " >&6
5799 else
5800 if test -n "$PKG_CONFIG"; then
5801 ac_cv_prog_PKG_CONFIG="$PKG_CONFIG" # Let the user override the test.
5802 else
5803 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5804 for as_dir in $PATH
5806 IFS=$as_save_IFS
5807 test -z "$as_dir" && as_dir=.
5808 for ac_exec_ext in '' $ac_executable_extensions; do
5809 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
5810 ac_cv_prog_PKG_CONFIG="pkg-config"
5811 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5812 break 2
5814 done
5815 done
5816 IFS=$as_save_IFS
5820 PKG_CONFIG=$ac_cv_prog_PKG_CONFIG
5821 if test -n "$PKG_CONFIG"; then
5822 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $PKG_CONFIG" >&5
5823 $as_echo "$PKG_CONFIG" >&6; }
5824 else
5825 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5826 $as_echo "no" >&6; }
5832 if test "x$enable_maintainer_mode" != "xyes"
5833 then
5834 MAINTAINER_MODE=\#
5836 else
5837 test "$srcdir" = . || as_fn_error $? "Maintainer mode cannot work out of tree." "$LINENO" 5
5838 if test "$FONTFORGE" = "false"; then as_fn_error $? "You need fontforge to rebuild fonts in maintainer mode." "$LINENO" 5; fi
5839 if test "$RSVG" = "false"; then as_fn_error $? "You need rsvg to rebuild icons in maintainer mode." "$LINENO" 5; fi
5841 if test "$CONVERT" = false
5842 then
5843 as_fn_error $? "You need imagemagick to rebuild icons in maintainer mode." "$LINENO" 5
5844 else
5845 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for recent enough imagemagick" >&5
5846 $as_echo_n "checking for recent enough imagemagick... " >&6; }
5847 convert_version=`convert --version | head -n1`
5848 if test "x$convert_version" != "x"
5849 then
5850 convert_version_major=`expr "$convert_version" : '.* \([0-9]*\)\.[0-9]*'`
5851 convert_version_minor=`expr "$convert_version" : '.* [0-9]*\.\([0-9]*\)'`
5852 if test "$convert_version_major" -eq 6 -a "$convert_version_minor" -lt 6
5853 then
5854 CONVERT=false
5857 if test "$CONVERT" = false
5858 then
5859 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no ($convert_version_major.$convert_version_minor)" >&5
5860 $as_echo "no ($convert_version_major.$convert_version_minor)" >&6; }
5861 as_fn_error $? "You need imagemagick version 6.6 or newer to rebuild icons in maintainer mode." "$LINENO" 5
5862 else
5863 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes ($convert_version_major.$convert_version_minor)" >&5
5864 $as_echo "yes ($convert_version_major.$convert_version_minor)" >&6; }
5868 if test "$ICOTOOL" = false
5869 then
5870 as_fn_error $? "You need icotool to rebuild icons in maintainer mode." "$LINENO" 5
5871 else
5872 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for recent enough icotool" >&5
5873 $as_echo_n "checking for recent enough icotool... " >&6; }
5874 icotool_version=`icotool --version | head -n1`
5875 if test "x$icotool_version" != "x"
5876 then
5877 icotool_version_major=`expr "$icotool_version" : '.* \([0-9]*\)\.[0-9]*'`
5878 icotool_version_minor=`expr "$icotool_version" : '.* [0-9]*\.\([0-9]*\)'`
5879 if test "$icotool_version_major" -eq 0 -a "$icotool_version_minor" -lt 29
5880 then
5881 ICOTOOL=false
5882 as_fn_append wine_warnings "|icotool version 0.29.0 or newer is needed to rebuild icons."
5885 if test "$ICOTOOL" = false
5886 then
5887 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no ($icotool_version_major.$icotool_version_minor)" >&5
5888 $as_echo "no ($icotool_version_major.$icotool_version_minor)" >&6; }
5889 as_fn_error $? "You need icotool version 0.29.0 or newer to rebuild icons in maintainer mode." "$LINENO" 5
5890 else
5891 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes ($icotool_version_major.$icotool_version_minor)" >&5
5892 $as_echo "yes ($icotool_version_major.$icotool_version_minor)" >&6; }
5896 with_gettext=yes
5897 with_gettextpo=yes
5898 { ac_cv_header_gettext_po_h=; unset ac_cv_header_gettext_po_h;}
5901 test "x$with_gettext" != xno || MSGFMT=false
5902 if test "$MSGFMT" != "false"
5903 then
5904 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether msgfmt supports contexts" >&5
5905 $as_echo_n "checking whether msgfmt supports contexts... " >&6; }
5906 cat >conftest.po <<EOF
5907 # comment
5908 msgctxt "ctxt"
5909 msgid "id"
5910 msgstr "str"
5912 if $MSGFMT -o /dev/null conftest.po 2>&5
5913 then
5914 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
5915 $as_echo "yes" >&6; }
5916 else
5917 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5918 $as_echo "no" >&6; }
5919 MSGFMT=false
5922 if test "$MSGFMT" = false; then :
5923 case "x$with_gettext" in
5924 x) as_fn_append wine_warnings "|gettext tools not found (or too old), translations won't be built." ;;
5925 xno) ;;
5926 *) as_fn_error $? "gettext tools not found (or too old), translations won't be built.
5927 This is an error since --with-gettext was requested." "$LINENO" 5 ;;
5928 esac
5932 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for i386_set_ldt in -li386" >&5
5933 $as_echo_n "checking for i386_set_ldt in -li386... " >&6; }
5934 if ${ac_cv_lib_i386_i386_set_ldt+:} false; then :
5935 $as_echo_n "(cached) " >&6
5936 else
5937 ac_check_lib_save_LIBS=$LIBS
5938 LIBS="-li386 $LIBS"
5939 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
5940 /* end confdefs.h. */
5942 /* Override any GCC internal prototype to avoid an error.
5943 Use char because int might match the return type of a GCC
5944 builtin and then its argument prototype would still apply. */
5945 #ifdef __cplusplus
5946 extern "C"
5947 #endif
5948 char i386_set_ldt ();
5950 main ()
5952 return i386_set_ldt ();
5954 return 0;
5956 _ACEOF
5957 if ac_fn_c_try_link "$LINENO"; then :
5958 ac_cv_lib_i386_i386_set_ldt=yes
5959 else
5960 ac_cv_lib_i386_i386_set_ldt=no
5962 rm -f core conftest.err conftest.$ac_objext \
5963 conftest$ac_exeext conftest.$ac_ext
5964 LIBS=$ac_check_lib_save_LIBS
5966 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_i386_i386_set_ldt" >&5
5967 $as_echo "$ac_cv_lib_i386_i386_set_ldt" >&6; }
5968 if test "x$ac_cv_lib_i386_i386_set_ldt" = xyes; then :
5969 cat >>confdefs.h <<_ACEOF
5970 #define HAVE_LIBI386 1
5971 _ACEOF
5973 LIBS="-li386 $LIBS"
5977 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _oss_ioctl in -lossaudio" >&5
5978 $as_echo_n "checking for _oss_ioctl in -lossaudio... " >&6; }
5979 if ${ac_cv_lib_ossaudio__oss_ioctl+:} false; then :
5980 $as_echo_n "(cached) " >&6
5981 else
5982 ac_check_lib_save_LIBS=$LIBS
5983 LIBS="-lossaudio $LIBS"
5984 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
5985 /* end confdefs.h. */
5987 /* Override any GCC internal prototype to avoid an error.
5988 Use char because int might match the return type of a GCC
5989 builtin and then its argument prototype would still apply. */
5990 #ifdef __cplusplus
5991 extern "C"
5992 #endif
5993 char _oss_ioctl ();
5995 main ()
5997 return _oss_ioctl ();
5999 return 0;
6001 _ACEOF
6002 if ac_fn_c_try_link "$LINENO"; then :
6003 ac_cv_lib_ossaudio__oss_ioctl=yes
6004 else
6005 ac_cv_lib_ossaudio__oss_ioctl=no
6007 rm -f core conftest.err conftest.$ac_objext \
6008 conftest$ac_exeext conftest.$ac_ext
6009 LIBS=$ac_check_lib_save_LIBS
6011 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_ossaudio__oss_ioctl" >&5
6012 $as_echo "$ac_cv_lib_ossaudio__oss_ioctl" >&6; }
6013 if test "x$ac_cv_lib_ossaudio__oss_ioctl" = xyes; then :
6014 cat >>confdefs.h <<_ACEOF
6015 #define HAVE_LIBOSSAUDIO 1
6016 _ACEOF
6018 LIBS="-lossaudio $LIBS"
6023 XLIB=""
6025 OPENGL_LIBS=""
6029 test "x$with_fontconfig" != "xno" || ac_cv_header_fontconfig_fontconfig_h=no
6031 # Check whether --enable-largefile was given.
6032 if test "${enable_largefile+set}" = set; then :
6033 enableval=$enable_largefile;
6036 if test "$enable_largefile" != no; then
6038 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for special C compiler options needed for large files" >&5
6039 $as_echo_n "checking for special C compiler options needed for large files... " >&6; }
6040 if ${ac_cv_sys_largefile_CC+:} false; then :
6041 $as_echo_n "(cached) " >&6
6042 else
6043 ac_cv_sys_largefile_CC=no
6044 if test "$GCC" != yes; then
6045 ac_save_CC=$CC
6046 while :; do
6047 # IRIX 6.2 and later do not support large files by default,
6048 # so use the C compiler's -n32 option if that helps.
6049 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
6050 /* end confdefs.h. */
6051 #include <sys/types.h>
6052 /* Check that off_t can represent 2**63 - 1 correctly.
6053 We can't simply define LARGE_OFF_T to be 9223372036854775807,
6054 since some C++ compilers masquerading as C compilers
6055 incorrectly reject 9223372036854775807. */
6056 #define LARGE_OFF_T (((off_t) 1 << 62) - 1 + ((off_t) 1 << 62))
6057 int off_t_is_large[(LARGE_OFF_T % 2147483629 == 721
6058 && LARGE_OFF_T % 2147483647 == 1)
6059 ? 1 : -1];
6061 main ()
6065 return 0;
6067 _ACEOF
6068 if ac_fn_c_try_compile "$LINENO"; then :
6069 break
6071 rm -f core conftest.err conftest.$ac_objext
6072 CC="$CC -n32"
6073 if ac_fn_c_try_compile "$LINENO"; then :
6074 ac_cv_sys_largefile_CC=' -n32'; break
6076 rm -f core conftest.err conftest.$ac_objext
6077 break
6078 done
6079 CC=$ac_save_CC
6080 rm -f conftest.$ac_ext
6083 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_sys_largefile_CC" >&5
6084 $as_echo "$ac_cv_sys_largefile_CC" >&6; }
6085 if test "$ac_cv_sys_largefile_CC" != no; then
6086 CC=$CC$ac_cv_sys_largefile_CC
6089 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _FILE_OFFSET_BITS value needed for large files" >&5
6090 $as_echo_n "checking for _FILE_OFFSET_BITS value needed for large files... " >&6; }
6091 if ${ac_cv_sys_file_offset_bits+:} false; then :
6092 $as_echo_n "(cached) " >&6
6093 else
6094 while :; do
6095 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
6096 /* end confdefs.h. */
6097 #include <sys/types.h>
6098 /* Check that off_t can represent 2**63 - 1 correctly.
6099 We can't simply define LARGE_OFF_T to be 9223372036854775807,
6100 since some C++ compilers masquerading as C compilers
6101 incorrectly reject 9223372036854775807. */
6102 #define LARGE_OFF_T (((off_t) 1 << 62) - 1 + ((off_t) 1 << 62))
6103 int off_t_is_large[(LARGE_OFF_T % 2147483629 == 721
6104 && LARGE_OFF_T % 2147483647 == 1)
6105 ? 1 : -1];
6107 main ()
6111 return 0;
6113 _ACEOF
6114 if ac_fn_c_try_compile "$LINENO"; then :
6115 ac_cv_sys_file_offset_bits=no; break
6117 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
6118 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
6119 /* end confdefs.h. */
6120 #define _FILE_OFFSET_BITS 64
6121 #include <sys/types.h>
6122 /* Check that off_t can represent 2**63 - 1 correctly.
6123 We can't simply define LARGE_OFF_T to be 9223372036854775807,
6124 since some C++ compilers masquerading as C compilers
6125 incorrectly reject 9223372036854775807. */
6126 #define LARGE_OFF_T (((off_t) 1 << 62) - 1 + ((off_t) 1 << 62))
6127 int off_t_is_large[(LARGE_OFF_T % 2147483629 == 721
6128 && LARGE_OFF_T % 2147483647 == 1)
6129 ? 1 : -1];
6131 main ()
6135 return 0;
6137 _ACEOF
6138 if ac_fn_c_try_compile "$LINENO"; then :
6139 ac_cv_sys_file_offset_bits=64; break
6141 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
6142 ac_cv_sys_file_offset_bits=unknown
6143 break
6144 done
6146 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_sys_file_offset_bits" >&5
6147 $as_echo "$ac_cv_sys_file_offset_bits" >&6; }
6148 case $ac_cv_sys_file_offset_bits in #(
6149 no | unknown) ;;
6151 cat >>confdefs.h <<_ACEOF
6152 #define _FILE_OFFSET_BITS $ac_cv_sys_file_offset_bits
6153 _ACEOF
6155 esac
6156 rm -rf conftest*
6157 if test $ac_cv_sys_file_offset_bits = unknown; then
6158 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _LARGE_FILES value needed for large files" >&5
6159 $as_echo_n "checking for _LARGE_FILES value needed for large files... " >&6; }
6160 if ${ac_cv_sys_large_files+:} false; then :
6161 $as_echo_n "(cached) " >&6
6162 else
6163 while :; do
6164 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
6165 /* end confdefs.h. */
6166 #include <sys/types.h>
6167 /* Check that off_t can represent 2**63 - 1 correctly.
6168 We can't simply define LARGE_OFF_T to be 9223372036854775807,
6169 since some C++ compilers masquerading as C compilers
6170 incorrectly reject 9223372036854775807. */
6171 #define LARGE_OFF_T (((off_t) 1 << 62) - 1 + ((off_t) 1 << 62))
6172 int off_t_is_large[(LARGE_OFF_T % 2147483629 == 721
6173 && LARGE_OFF_T % 2147483647 == 1)
6174 ? 1 : -1];
6176 main ()
6180 return 0;
6182 _ACEOF
6183 if ac_fn_c_try_compile "$LINENO"; then :
6184 ac_cv_sys_large_files=no; break
6186 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
6187 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
6188 /* end confdefs.h. */
6189 #define _LARGE_FILES 1
6190 #include <sys/types.h>
6191 /* Check that off_t can represent 2**63 - 1 correctly.
6192 We can't simply define LARGE_OFF_T to be 9223372036854775807,
6193 since some C++ compilers masquerading as C compilers
6194 incorrectly reject 9223372036854775807. */
6195 #define LARGE_OFF_T (((off_t) 1 << 62) - 1 + ((off_t) 1 << 62))
6196 int off_t_is_large[(LARGE_OFF_T % 2147483629 == 721
6197 && LARGE_OFF_T % 2147483647 == 1)
6198 ? 1 : -1];
6200 main ()
6204 return 0;
6206 _ACEOF
6207 if ac_fn_c_try_compile "$LINENO"; then :
6208 ac_cv_sys_large_files=1; break
6210 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
6211 ac_cv_sys_large_files=unknown
6212 break
6213 done
6215 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_sys_large_files" >&5
6216 $as_echo "$ac_cv_sys_large_files" >&6; }
6217 case $ac_cv_sys_large_files in #(
6218 no | unknown) ;;
6220 cat >>confdefs.h <<_ACEOF
6221 #define _LARGE_FILES $ac_cv_sys_large_files
6222 _ACEOF
6224 esac
6225 rm -rf conftest*
6232 ac_ext=c
6233 ac_cpp='$CPP $CPPFLAGS'
6234 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
6235 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
6236 ac_compiler_gnu=$ac_cv_c_compiler_gnu
6237 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to run the C preprocessor" >&5
6238 $as_echo_n "checking how to run the C preprocessor... " >&6; }
6239 # On Suns, sometimes $CPP names a directory.
6240 if test -n "$CPP" && test -d "$CPP"; then
6241 CPP=
6243 if test -z "$CPP"; then
6244 if ${ac_cv_prog_CPP+:} false; then :
6245 $as_echo_n "(cached) " >&6
6246 else
6247 # Double quotes because CPP needs to be expanded
6248 for CPP in "$CC -E" "$CC -E -traditional-cpp" "/lib/cpp"
6250 ac_preproc_ok=false
6251 for ac_c_preproc_warn_flag in '' yes
6253 # Use a header file that comes with gcc, so configuring glibc
6254 # with a fresh cross-compiler works.
6255 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
6256 # <limits.h> exists even on freestanding compilers.
6257 # On the NeXT, cc -E runs the code through the compiler's parser,
6258 # not just through cpp. "Syntax error" is here to catch this case.
6259 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
6260 /* end confdefs.h. */
6261 #ifdef __STDC__
6262 # include <limits.h>
6263 #else
6264 # include <assert.h>
6265 #endif
6266 Syntax error
6267 _ACEOF
6268 if ac_fn_c_try_cpp "$LINENO"; then :
6270 else
6271 # Broken: fails on valid input.
6272 continue
6274 rm -f conftest.err conftest.i conftest.$ac_ext
6276 # OK, works on sane cases. Now check whether nonexistent headers
6277 # can be detected and how.
6278 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
6279 /* end confdefs.h. */
6280 #include <ac_nonexistent.h>
6281 _ACEOF
6282 if ac_fn_c_try_cpp "$LINENO"; then :
6283 # Broken: success on invalid input.
6284 continue
6285 else
6286 # Passes both tests.
6287 ac_preproc_ok=:
6288 break
6290 rm -f conftest.err conftest.i conftest.$ac_ext
6292 done
6293 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
6294 rm -f conftest.i conftest.err conftest.$ac_ext
6295 if $ac_preproc_ok; then :
6296 break
6299 done
6300 ac_cv_prog_CPP=$CPP
6303 CPP=$ac_cv_prog_CPP
6304 else
6305 ac_cv_prog_CPP=$CPP
6307 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CPP" >&5
6308 $as_echo "$CPP" >&6; }
6309 ac_preproc_ok=false
6310 for ac_c_preproc_warn_flag in '' yes
6312 # Use a header file that comes with gcc, so configuring glibc
6313 # with a fresh cross-compiler works.
6314 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
6315 # <limits.h> exists even on freestanding compilers.
6316 # On the NeXT, cc -E runs the code through the compiler's parser,
6317 # not just through cpp. "Syntax error" is here to catch this case.
6318 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
6319 /* end confdefs.h. */
6320 #ifdef __STDC__
6321 # include <limits.h>
6322 #else
6323 # include <assert.h>
6324 #endif
6325 Syntax error
6326 _ACEOF
6327 if ac_fn_c_try_cpp "$LINENO"; then :
6329 else
6330 # Broken: fails on valid input.
6331 continue
6333 rm -f conftest.err conftest.i conftest.$ac_ext
6335 # OK, works on sane cases. Now check whether nonexistent headers
6336 # can be detected and how.
6337 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
6338 /* end confdefs.h. */
6339 #include <ac_nonexistent.h>
6340 _ACEOF
6341 if ac_fn_c_try_cpp "$LINENO"; then :
6342 # Broken: success on invalid input.
6343 continue
6344 else
6345 # Passes both tests.
6346 ac_preproc_ok=:
6347 break
6349 rm -f conftest.err conftest.i conftest.$ac_ext
6351 done
6352 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
6353 rm -f conftest.i conftest.err conftest.$ac_ext
6354 if $ac_preproc_ok; then :
6356 else
6357 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
6358 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
6359 as_fn_error $? "C preprocessor \"$CPP\" fails sanity check
6360 See \`config.log' for more details" "$LINENO" 5; }
6363 ac_ext=c
6364 ac_cpp='$CPP $CPPFLAGS'
6365 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
6366 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
6367 ac_compiler_gnu=$ac_cv_c_compiler_gnu
6370 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ANSI C header files" >&5
6371 $as_echo_n "checking for ANSI C header files... " >&6; }
6372 if ${ac_cv_header_stdc+:} false; then :
6373 $as_echo_n "(cached) " >&6
6374 else
6375 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
6376 /* end confdefs.h. */
6377 #include <stdlib.h>
6378 #include <stdarg.h>
6379 #include <string.h>
6380 #include <float.h>
6383 main ()
6387 return 0;
6389 _ACEOF
6390 if ac_fn_c_try_compile "$LINENO"; then :
6391 ac_cv_header_stdc=yes
6392 else
6393 ac_cv_header_stdc=no
6395 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
6397 if test $ac_cv_header_stdc = yes; then
6398 # SunOS 4.x string.h does not declare mem*, contrary to ANSI.
6399 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
6400 /* end confdefs.h. */
6401 #include <string.h>
6403 _ACEOF
6404 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
6405 $EGREP "memchr" >/dev/null 2>&1; then :
6407 else
6408 ac_cv_header_stdc=no
6410 rm -f conftest*
6414 if test $ac_cv_header_stdc = yes; then
6415 # ISC 2.0.2 stdlib.h does not declare free, contrary to ANSI.
6416 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
6417 /* end confdefs.h. */
6418 #include <stdlib.h>
6420 _ACEOF
6421 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
6422 $EGREP "free" >/dev/null 2>&1; then :
6424 else
6425 ac_cv_header_stdc=no
6427 rm -f conftest*
6431 if test $ac_cv_header_stdc = yes; then
6432 # /bin/cc in Irix-4.0.5 gets non-ANSI ctype macros unless using -ansi.
6433 if test "$cross_compiling" = yes; then :
6435 else
6436 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
6437 /* end confdefs.h. */
6438 #include <ctype.h>
6439 #include <stdlib.h>
6440 #if ((' ' & 0x0FF) == 0x020)
6441 # define ISLOWER(c) ('a' <= (c) && (c) <= 'z')
6442 # define TOUPPER(c) (ISLOWER(c) ? 'A' + ((c) - 'a') : (c))
6443 #else
6444 # define ISLOWER(c) \
6445 (('a' <= (c) && (c) <= 'i') \
6446 || ('j' <= (c) && (c) <= 'r') \
6447 || ('s' <= (c) && (c) <= 'z'))
6448 # define TOUPPER(c) (ISLOWER(c) ? ((c) | 0x40) : (c))
6449 #endif
6451 #define XOR(e, f) (((e) && !(f)) || (!(e) && (f)))
6453 main ()
6455 int i;
6456 for (i = 0; i < 256; i++)
6457 if (XOR (islower (i), ISLOWER (i))
6458 || toupper (i) != TOUPPER (i))
6459 return 2;
6460 return 0;
6462 _ACEOF
6463 if ac_fn_c_try_run "$LINENO"; then :
6465 else
6466 ac_cv_header_stdc=no
6468 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \
6469 conftest.$ac_objext conftest.beam conftest.$ac_ext
6474 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_header_stdc" >&5
6475 $as_echo "$ac_cv_header_stdc" >&6; }
6476 if test $ac_cv_header_stdc = yes; then
6478 $as_echo "#define STDC_HEADERS 1" >>confdefs.h
6482 # On IRIX 5.3, sys/types and inttypes.h are conflicting.
6483 for ac_header in sys/types.h sys/stat.h stdlib.h string.h memory.h strings.h \
6484 inttypes.h stdint.h unistd.h
6485 do :
6486 as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
6487 ac_fn_c_check_header_compile "$LINENO" "$ac_header" "$as_ac_Header" "$ac_includes_default
6489 if eval test \"x\$"$as_ac_Header"\" = x"yes"; then :
6490 cat >>confdefs.h <<_ACEOF
6491 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
6492 _ACEOF
6496 done
6499 for ac_header in \
6500 AL/al.h \
6501 ApplicationServices/ApplicationServices.h \
6502 AudioToolbox/AudioConverter.h \
6503 AudioUnit/AudioUnit.h \
6504 AudioUnit/AudioComponent.h \
6505 CL/cl.h \
6506 Carbon/Carbon.h \
6507 CoreAudio/CoreAudio.h \
6508 CoreServices/CoreServices.h \
6509 DiskArbitration/DiskArbitration.h \
6510 IOKit/IOKitLib.h \
6511 IOKit/hid/IOHIDLib.h \
6512 OpenAL/al.h \
6513 OpenCL/opencl.h \
6514 QuickTime/ImageCompression.h \
6515 Security/Security.h \
6516 alias.h \
6517 alsa/asoundlib.h \
6518 arpa/inet.h \
6519 arpa/nameser.h \
6520 asm/types.h \
6521 asm/user.h \
6522 curses.h \
6523 direct.h \
6524 dirent.h \
6525 dlfcn.h \
6526 elf.h \
6527 float.h \
6528 fnmatch.h \
6529 fontconfig/fontconfig.h \
6530 getopt.h \
6531 gettext-po.h \
6532 grp.h \
6533 gsm.h \
6534 gsm/gsm.h \
6535 ieeefp.h \
6536 inet/mib2.h \
6537 io.h \
6538 kstat.h \
6539 lber.h \
6540 ldap.h \
6541 libproc.h \
6542 link.h \
6543 linux/cdrom.h \
6544 linux/compiler.h \
6545 linux/filter.h \
6546 linux/hdreg.h \
6547 linux/input.h \
6548 linux/ioctl.h \
6549 linux/joystick.h \
6550 linux/major.h \
6551 linux/param.h \
6552 linux/serial.h \
6553 linux/types.h \
6554 linux/ucdrom.h \
6555 lwp.h \
6556 mach-o/nlist.h \
6557 mach-o/loader.h \
6558 mach/mach.h \
6559 mach/machine.h \
6560 machine/cpu.h \
6561 machine/limits.h \
6562 machine/sysarch.h \
6563 mntent.h \
6564 ncurses.h \
6565 netdb.h \
6566 netinet/in.h \
6567 netinet/in_systm.h \
6568 netinet/tcp.h \
6569 netinet/tcp_fsm.h \
6570 poll.h \
6571 port.h \
6572 process.h \
6573 pthread.h \
6574 pwd.h \
6575 sched.h \
6576 scsi/scsi.h \
6577 scsi/scsi_ioctl.h \
6578 scsi/sg.h \
6579 stdbool.h \
6580 stdint.h \
6581 stropts.h \
6582 sys/asoundlib.h \
6583 sys/attr.h \
6584 sys/cdio.h \
6585 sys/elf32.h \
6586 sys/epoll.h \
6587 sys/event.h \
6588 sys/exec_elf.h \
6589 sys/filio.h \
6590 sys/inotify.h \
6591 sys/ioctl.h \
6592 sys/ipc.h \
6593 sys/limits.h \
6594 sys/link.h \
6595 sys/mman.h \
6596 sys/modem.h \
6597 sys/msg.h \
6598 sys/mtio.h \
6599 sys/param.h \
6600 sys/poll.h \
6601 sys/prctl.h \
6602 sys/protosw.h \
6603 sys/ptrace.h \
6604 sys/queue.h \
6605 sys/resource.h \
6606 sys/scsiio.h \
6607 sys/shm.h \
6608 sys/signal.h \
6609 sys/socket.h \
6610 sys/socketvar.h \
6611 sys/sockio.h \
6612 sys/statvfs.h \
6613 sys/strtio.h \
6614 sys/syscall.h \
6615 sys/tihdr.h \
6616 sys/time.h \
6617 sys/timeout.h \
6618 sys/times.h \
6619 sys/uio.h \
6620 sys/user.h \
6621 sys/utsname.h \
6622 sys/vm86.h \
6623 sys/wait.h \
6624 syscall.h \
6625 termios.h \
6626 unistd.h \
6627 utime.h \
6628 valgrind/memcheck.h \
6629 valgrind/valgrind.h \
6630 zlib.h
6632 do :
6633 as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
6634 ac_fn_c_check_header_mongrel "$LINENO" "$ac_header" "$as_ac_Header" "$ac_includes_default"
6635 if eval test \"x\$"$as_ac_Header"\" = x"yes"; then :
6636 cat >>confdefs.h <<_ACEOF
6637 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
6638 _ACEOF
6642 done
6644 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether stat file-mode macros are broken" >&5
6645 $as_echo_n "checking whether stat file-mode macros are broken... " >&6; }
6646 if ${ac_cv_header_stat_broken+:} false; then :
6647 $as_echo_n "(cached) " >&6
6648 else
6649 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
6650 /* end confdefs.h. */
6651 #include <sys/types.h>
6652 #include <sys/stat.h>
6654 #if defined S_ISBLK && defined S_IFDIR
6655 extern char c1[S_ISBLK (S_IFDIR) ? -1 : 1];
6656 #endif
6658 #if defined S_ISBLK && defined S_IFCHR
6659 extern char c2[S_ISBLK (S_IFCHR) ? -1 : 1];
6660 #endif
6662 #if defined S_ISLNK && defined S_IFREG
6663 extern char c3[S_ISLNK (S_IFREG) ? -1 : 1];
6664 #endif
6666 #if defined S_ISSOCK && defined S_IFREG
6667 extern char c4[S_ISSOCK (S_IFREG) ? -1 : 1];
6668 #endif
6670 _ACEOF
6671 if ac_fn_c_try_compile "$LINENO"; then :
6672 ac_cv_header_stat_broken=no
6673 else
6674 ac_cv_header_stat_broken=yes
6676 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
6678 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_header_stat_broken" >&5
6679 $as_echo "$ac_cv_header_stat_broken" >&6; }
6680 if test $ac_cv_header_stat_broken = yes; then
6682 $as_echo "#define STAT_MACROS_BROKEN 1" >>confdefs.h
6688 for ac_header in sys/mount.h sys/statfs.h sys/sysctl.h sys/user.h sys/vfs.h
6689 do :
6690 as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
6691 ac_fn_c_check_header_compile "$LINENO" "$ac_header" "$as_ac_Header" "#include <sys/types.h>
6692 #ifdef HAVE_SYS_PARAM_H
6693 # include <sys/param.h>
6694 #endif
6696 if eval test \"x\$"$as_ac_Header"\" = x"yes"; then :
6697 cat >>confdefs.h <<_ACEOF
6698 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
6699 _ACEOF
6703 done
6706 for ac_header in \
6707 netinet/ip.h \
6708 net/if.h \
6709 net/if_arp.h \
6710 net/if_dl.h \
6711 net/if_types.h \
6712 net/route.h \
6713 netinet/if_ether.h \
6714 netinet/if_inarp.h \
6715 netinet/in_pcb.h \
6716 netinet/ip_icmp.h \
6717 netinet/ip_var.h \
6718 netinet/udp.h \
6719 netipx/ipx.h \
6720 sys/un.h \
6722 do :
6723 as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
6724 ac_fn_c_check_header_compile "$LINENO" "$ac_header" "$as_ac_Header" "#include <sys/types.h>
6725 #ifdef HAVE_SYS_SOCKET_H
6726 # include <sys/socket.h>
6727 #endif
6728 #ifdef HAVE_SYS_SOCKETVAR_H
6729 # include <sys/socketvar.h>
6730 #endif
6731 #ifdef HAVE_NET_ROUTE_H
6732 # include <net/route.h>
6733 #endif
6734 #ifdef HAVE_NETINET_IN_H
6735 # include <netinet/in.h>
6736 #endif
6737 #ifdef HAVE_NETINET_IN_SYSTM_H
6738 # include <netinet/in_systm.h>
6739 #endif
6740 #ifdef HAVE_NET_IF_H
6741 # include <net/if.h>
6742 #endif
6743 #ifdef HAVE_NETINET_IP_H
6744 # include <netinet/ip.h>
6745 #endif
6747 if eval test \"x\$"$as_ac_Header"\" = x"yes"; then :
6748 cat >>confdefs.h <<_ACEOF
6749 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
6750 _ACEOF
6754 done
6757 for ac_header in netinet/tcp_timer.h netinet/udp_var.h netinet/icmp_var.h netinet/tcp_var.h
6758 do :
6759 as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
6760 ac_fn_c_check_header_compile "$LINENO" "$ac_header" "$as_ac_Header" "#include <sys/types.h>
6761 #ifdef HAVE_ALIAS_H
6762 # include <alias.h>
6763 #endif
6764 #ifdef HAVE_SYS_SOCKET_H
6765 # include <sys/socket.h>
6766 #endif
6767 #ifdef HAVE_SYS_SOCKETVAR_H
6768 # include <sys/socketvar.h>
6769 #endif
6770 #ifdef HAVE_SYS_TIMEOUT_H
6771 # include <sys/timeout.h>
6772 #endif
6773 #ifdef HAVE_NETINET_IN_H
6774 # include <netinet/in.h>
6775 #endif
6776 #ifdef HAVE_NETINET_IN_SYSTM_H
6777 # include <netinet/in_systm.h>
6778 #endif
6779 #ifdef HAVE_NETINET_IP_H
6780 # include <netinet/ip.h>
6781 #endif
6782 #ifdef HAVE_NETINET_IP_VAR_H
6783 # include <netinet/ip_var.h>
6784 #endif
6785 #ifdef HAVE_NETINET_IP_ICMP_H
6786 # include <netinet/ip_icmp.h>
6787 #endif
6788 #ifdef HAVE_NETINET_UDP_H
6789 # include <netinet/udp.h>
6790 #endif
6791 #ifdef HAVE_NETINET_TCP_H
6792 # include <netinet/tcp.h>
6793 #endif
6794 #ifdef HAVE_NETINET_TCP_TIMER_H
6795 #include <netinet/tcp_timer.h>
6796 #endif
6798 if eval test \"x\$"$as_ac_Header"\" = x"yes"; then :
6799 cat >>confdefs.h <<_ACEOF
6800 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
6801 _ACEOF
6805 done
6808 for ac_header in linux/ipx.h linux/irda.h linux/rtnetlink.h
6809 do :
6810 as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
6811 ac_fn_c_check_header_compile "$LINENO" "$ac_header" "$as_ac_Header" "#include <sys/types.h>
6812 #ifdef HAVE_ASM_TYPES_H
6813 # include <asm/types.h>
6814 #endif
6815 #ifdef HAVE_SYS_SOCKET_H
6816 # include <sys/socket.h>
6817 #endif
6818 #ifdef HAVE_LINUX_TYPES_H
6819 # include <linux/types.h>
6820 #endif
6822 if eval test \"x\$"$as_ac_Header"\" = x"yes"; then :
6823 cat >>confdefs.h <<_ACEOF
6824 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
6825 _ACEOF
6829 done
6832 for ac_header in mach-o/dyld_images.h
6833 do :
6834 ac_fn_c_check_header_compile "$LINENO" "mach-o/dyld_images.h" "ac_cv_header_mach_o_dyld_images_h" "#ifdef HAVE_STDBOOL_H
6835 # include <stdbool.h>
6836 #endif
6837 #ifdef HAVE_STDINT_H
6838 # include <stdint.h>
6839 #endif
6841 if test "x$ac_cv_header_mach_o_dyld_images_h" = xyes; then :
6842 cat >>confdefs.h <<_ACEOF
6843 #define HAVE_MACH_O_DYLD_IMAGES_H 1
6844 _ACEOF
6848 done
6851 for ac_header in resolv.h
6852 do :
6853 ac_fn_c_check_header_compile "$LINENO" "resolv.h" "ac_cv_header_resolv_h" "#include <sys/types.h>
6854 #ifdef HAVE_SYS_SOCKET_H
6855 # include <sys/socket.h>
6856 #endif
6857 #ifdef HAVE_NETINET_IN_H
6858 # include <netinet/in.h>
6859 #endif
6860 #ifdef HAVE_ARPA_NAMESER_H
6861 # include <arpa/nameser.h>
6862 #endif
6864 if test "x$ac_cv_header_resolv_h" = xyes; then :
6865 cat >>confdefs.h <<_ACEOF
6866 #define HAVE_RESOLV_H 1
6867 _ACEOF
6871 done
6874 for ac_header in ifaddrs.h
6875 do :
6876 ac_fn_c_check_header_compile "$LINENO" "ifaddrs.h" "ac_cv_header_ifaddrs_h" "#include <sys/types.h>
6878 if test "x$ac_cv_header_ifaddrs_h" = xyes; then :
6879 cat >>confdefs.h <<_ACEOF
6880 #define HAVE_IFADDRS_H 1
6881 _ACEOF
6885 done
6888 for ac_header in ucontext.h
6889 do :
6890 ac_fn_c_check_header_compile "$LINENO" "ucontext.h" "ac_cv_header_ucontext_h" "#include <signal.h>
6892 if test "x$ac_cv_header_ucontext_h" = xyes; then :
6893 cat >>confdefs.h <<_ACEOF
6894 #define HAVE_UCONTEXT_H 1
6895 _ACEOF
6899 done
6902 for ac_header in sys/thr.h
6903 do :
6904 ac_fn_c_check_header_compile "$LINENO" "sys/thr.h" "ac_cv_header_sys_thr_h" "#include <sys/types.h>
6905 #ifdef HAVE_UCONTEXT_H
6906 #include <ucontext.h>
6907 #endif
6909 if test "x$ac_cv_header_sys_thr_h" = xyes; then :
6910 cat >>confdefs.h <<_ACEOF
6911 #define HAVE_SYS_THR_H 1
6912 _ACEOF
6916 done
6919 for ac_header in pthread_np.h
6920 do :
6921 ac_fn_c_check_header_compile "$LINENO" "pthread_np.h" "ac_cv_header_pthread_np_h" "#ifdef HAVE_PTHREAD_H
6922 #include <pthread.h>
6923 #endif
6925 if test "x$ac_cv_header_pthread_np_h" = xyes; then :
6926 cat >>confdefs.h <<_ACEOF
6927 #define HAVE_PTHREAD_NP_H 1
6928 _ACEOF
6932 done
6935 for ac_header in linux/videodev.h linux/videodev2.h libv4l1.h
6936 do :
6937 as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
6938 ac_fn_c_check_header_compile "$LINENO" "$ac_header" "$as_ac_Header" "#ifdef HAVE_SYS_TIME_H
6939 #include <sys/time.h>
6940 #endif
6941 #include <sys/types.h>
6942 #ifdef HAVE_ASM_TYPES_H
6943 #include <asm/types.h>
6944 #endif
6946 if eval test \"x\$"$as_ac_Header"\" = x"yes"; then :
6947 cat >>confdefs.h <<_ACEOF
6948 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
6949 _ACEOF
6953 done
6956 for ac_header in libprocstat.h
6957 do :
6958 ac_fn_c_check_header_compile "$LINENO" "libprocstat.h" "ac_cv_header_libprocstat_h" "#ifdef HAVE_SYS_PARAM_H
6959 #include <sys/param.h>
6960 #endif
6961 #ifdef HAVE_SYS_QUEUE_H
6962 #include <sys/queue.h>
6963 #endif
6964 #ifdef HAVE_SYS_SOCKET_H
6965 #include <sys/socket.h>
6966 #endif
6968 if test "x$ac_cv_header_libprocstat_h" = xyes; then :
6969 cat >>confdefs.h <<_ACEOF
6970 #define HAVE_LIBPROCSTAT_H 1
6971 _ACEOF
6975 done
6979 dlldir="\${libdir}/wine"
6981 DLLPREFIX=""
6983 DLLFLAGS="-D_REENTRANT"
6985 IMPLIBEXT="def"
6987 LDRPATH_INSTALL=""
6989 LDRPATH_LOCAL=""
6991 LIBEXT="so"
6992 DLLEXT=".so"
6993 STATIC_IMPLIBEXT="def.a"
6994 # Extract the first word of "ldd", so it can be a program name with args.
6995 set dummy ldd; ac_word=$2
6996 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6997 $as_echo_n "checking for $ac_word... " >&6; }
6998 if ${ac_cv_path_LDD+:} false; then :
6999 $as_echo_n "(cached) " >&6
7000 else
7001 case $LDD in
7002 [\\/]* | ?:[\\/]*)
7003 ac_cv_path_LDD="$LDD" # Let the user override the test with a path.
7006 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7007 as_dummy="/sbin:/usr/sbin:$PATH"
7008 for as_dir in $as_dummy
7010 IFS=$as_save_IFS
7011 test -z "$as_dir" && as_dir=.
7012 for ac_exec_ext in '' $ac_executable_extensions; do
7013 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
7014 ac_cv_path_LDD="$as_dir/$ac_word$ac_exec_ext"
7015 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
7016 break 2
7018 done
7019 done
7020 IFS=$as_save_IFS
7022 test -z "$ac_cv_path_LDD" && ac_cv_path_LDD="true"
7024 esac
7026 LDD=$ac_cv_path_LDD
7027 if test -n "$LDD"; then
7028 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $LDD" >&5
7029 $as_echo "$LDD" >&6; }
7030 else
7031 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7032 $as_echo "no" >&6; }
7036 if test -n "$ac_tool_prefix"; then
7037 # Extract the first word of "${ac_tool_prefix}readelf", so it can be a program name with args.
7038 set dummy ${ac_tool_prefix}readelf; ac_word=$2
7039 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7040 $as_echo_n "checking for $ac_word... " >&6; }
7041 if ${ac_cv_prog_READELF+:} false; then :
7042 $as_echo_n "(cached) " >&6
7043 else
7044 if test -n "$READELF"; then
7045 ac_cv_prog_READELF="$READELF" # Let the user override the test.
7046 else
7047 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7048 for as_dir in $PATH
7050 IFS=$as_save_IFS
7051 test -z "$as_dir" && as_dir=.
7052 for ac_exec_ext in '' $ac_executable_extensions; do
7053 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
7054 ac_cv_prog_READELF="${ac_tool_prefix}readelf"
7055 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
7056 break 2
7058 done
7059 done
7060 IFS=$as_save_IFS
7064 READELF=$ac_cv_prog_READELF
7065 if test -n "$READELF"; then
7066 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $READELF" >&5
7067 $as_echo "$READELF" >&6; }
7068 else
7069 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7070 $as_echo "no" >&6; }
7075 if test -z "$ac_cv_prog_READELF"; then
7076 ac_ct_READELF=$READELF
7077 # Extract the first word of "readelf", so it can be a program name with args.
7078 set dummy readelf; ac_word=$2
7079 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7080 $as_echo_n "checking for $ac_word... " >&6; }
7081 if ${ac_cv_prog_ac_ct_READELF+:} false; then :
7082 $as_echo_n "(cached) " >&6
7083 else
7084 if test -n "$ac_ct_READELF"; then
7085 ac_cv_prog_ac_ct_READELF="$ac_ct_READELF" # Let the user override the test.
7086 else
7087 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7088 for as_dir in $PATH
7090 IFS=$as_save_IFS
7091 test -z "$as_dir" && as_dir=.
7092 for ac_exec_ext in '' $ac_executable_extensions; do
7093 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
7094 ac_cv_prog_ac_ct_READELF="readelf"
7095 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
7096 break 2
7098 done
7099 done
7100 IFS=$as_save_IFS
7104 ac_ct_READELF=$ac_cv_prog_ac_ct_READELF
7105 if test -n "$ac_ct_READELF"; then
7106 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_READELF" >&5
7107 $as_echo "$ac_ct_READELF" >&6; }
7108 else
7109 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7110 $as_echo "no" >&6; }
7113 if test "x$ac_ct_READELF" = x; then
7114 READELF="true"
7115 else
7116 case $cross_compiling:$ac_tool_warned in
7117 yes:)
7118 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
7119 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
7120 ac_tool_warned=yes ;;
7121 esac
7122 READELF=$ac_ct_READELF
7124 else
7125 READELF="$ac_cv_prog_READELF"
7129 wine_binary="wine"
7130 test "x$enable_win64" != "xyes" || wine_binary="wine64"
7132 LOADER_RULES="
7133 all: $wine_binary wine-installed
7135 install install-lib:: wine-installed \$(DESTDIR)\$(bindir)
7136 \$(INSTALL_PROGRAM) wine-installed \$(DESTDIR)\$(bindir)/$wine_binary
7138 uninstall::
7139 \$(RM) \$(DESTDIR)\$(bindir)/$wine_binary
7143 case $host_os in
7144 cygwin*|mingw32*)
7145 if test -n "$ac_tool_prefix"; then
7146 # Extract the first word of "${ac_tool_prefix}dlltool", so it can be a program name with args.
7147 set dummy ${ac_tool_prefix}dlltool; ac_word=$2
7148 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7149 $as_echo_n "checking for $ac_word... " >&6; }
7150 if ${ac_cv_prog_DLLTOOL+:} false; then :
7151 $as_echo_n "(cached) " >&6
7152 else
7153 if test -n "$DLLTOOL"; then
7154 ac_cv_prog_DLLTOOL="$DLLTOOL" # Let the user override the test.
7155 else
7156 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7157 for as_dir in $PATH
7159 IFS=$as_save_IFS
7160 test -z "$as_dir" && as_dir=.
7161 for ac_exec_ext in '' $ac_executable_extensions; do
7162 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
7163 ac_cv_prog_DLLTOOL="${ac_tool_prefix}dlltool"
7164 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
7165 break 2
7167 done
7168 done
7169 IFS=$as_save_IFS
7173 DLLTOOL=$ac_cv_prog_DLLTOOL
7174 if test -n "$DLLTOOL"; then
7175 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $DLLTOOL" >&5
7176 $as_echo "$DLLTOOL" >&6; }
7177 else
7178 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7179 $as_echo "no" >&6; }
7184 if test -z "$ac_cv_prog_DLLTOOL"; then
7185 ac_ct_DLLTOOL=$DLLTOOL
7186 # Extract the first word of "dlltool", so it can be a program name with args.
7187 set dummy dlltool; ac_word=$2
7188 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7189 $as_echo_n "checking for $ac_word... " >&6; }
7190 if ${ac_cv_prog_ac_ct_DLLTOOL+:} false; then :
7191 $as_echo_n "(cached) " >&6
7192 else
7193 if test -n "$ac_ct_DLLTOOL"; then
7194 ac_cv_prog_ac_ct_DLLTOOL="$ac_ct_DLLTOOL" # Let the user override the test.
7195 else
7196 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7197 for as_dir in $PATH
7199 IFS=$as_save_IFS
7200 test -z "$as_dir" && as_dir=.
7201 for ac_exec_ext in '' $ac_executable_extensions; do
7202 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
7203 ac_cv_prog_ac_ct_DLLTOOL="dlltool"
7204 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
7205 break 2
7207 done
7208 done
7209 IFS=$as_save_IFS
7213 ac_ct_DLLTOOL=$ac_cv_prog_ac_ct_DLLTOOL
7214 if test -n "$ac_ct_DLLTOOL"; then
7215 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_DLLTOOL" >&5
7216 $as_echo "$ac_ct_DLLTOOL" >&6; }
7217 else
7218 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7219 $as_echo "no" >&6; }
7222 if test "x$ac_ct_DLLTOOL" = x; then
7223 DLLTOOL="false"
7224 else
7225 case $cross_compiling:$ac_tool_warned in
7226 yes:)
7227 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
7228 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
7229 ac_tool_warned=yes ;;
7230 esac
7231 DLLTOOL=$ac_ct_DLLTOOL
7233 else
7234 DLLTOOL="$ac_cv_prog_DLLTOOL"
7237 LIBEXT="dll"
7238 DLLEXT=""
7239 IMPLIBEXT="a"
7240 STATIC_IMPLIBEXT="a"
7241 enable_iphlpapi=${enable_iphlpapi:-no}
7242 enable_kernel32=${enable_kernel32:-no}
7243 enable_msvcrt=${enable_msvcrt:-no}
7244 enable_ntdll=${enable_ntdll:-no}
7245 enable_ws2_32=${enable_ws2_32:-no}
7246 enable_loader=${enable_loader:-no}
7247 enable_server=${enable_server:-no}
7248 with_x=${with_x:-no}
7249 with_pthread=${with_pthread:-no}
7251 crtlibs=""
7252 case $host_os in
7253 mingw32*)
7254 crtlibs="-lmsvcrt"
7255 SOCKETLIBS="-L\$(top_builddir)/dlls/ws2_32 -lws2_32"
7257 esac
7259 LIBWINE_RULES="
7260 all: libwine.dll libwine.a
7262 libwine.a: wine.def
7263 \$(DLLTOOL) -l \$@ -d \$(srcdir)/wine.def
7265 libwine.dll: \$(OBJS) wine.def Makefile.in
7266 \$(CC) -shared \$(srcdir)/wine.def -o \$@ \$(OBJS) $crtlibs \$(EXTRALIBS)
7268 install install-lib:: libwine.dll \$(DESTDIR)\$(libdir) dummy
7269 \$(INSTALL_DATA) libwine.dll \$(DESTDIR)\$(libdir)/libwine.dll
7271 install install-dev:: libwine.a \$(DESTDIR)\$(libdir) dummy
7272 \$(INSTALL_DATA) libwine.a \$(DESTDIR)\$(libdir)/libwine.a
7274 uninstall::
7275 -cd \$(DESTDIR)\$(libdir) && \$(RM) libwine.a libwine.dll
7277 clean::
7278 \$(RM) libwine.dll version.c
7283 darwin*|macosx*)
7284 LIBEXT="dylib"
7285 DLLFLAGS="$DLLFLAGS -fPIC"
7286 LIBWINE_LDFLAGS="-multiply_defined suppress"
7287 LDRPATH_INSTALL="-Wl,-rpath,@loader_path/\`\$(RELPATH) \$(bindir) \$(libdir)\`"
7288 LDRPATH_LOCAL="-Wl,-rpath,@loader_path/\$(top_builddir)/libs/wine"
7289 COREFOUNDATIONLIB="-framework CoreFoundation"
7291 IOKITLIB="-framework IOKit -framework CoreFoundation"
7293 FORCEFEEDBACKLIB="-framework ForceFeedback -framework CoreFoundation"
7295 APPLICATIONSERVICESLIB="-framework ApplicationServices"
7297 CORESERVICESLIB="-framework CoreServices"
7299 APPKITLIB="-framework AppKit"
7301 LDEXECFLAGS="-image_base 0x7bf00000 -Wl,-segaddr,WINE_DOS,0x00001000,-segaddr,WINE_SHAREDHEAP,0x7f000000,-sectcreate,__TEXT,__info_plist,wine_info.plist"
7302 case $host_os in
7303 darwin11*) LDEXECFLAGS="-Wl,-macosx_version_min,10.6 $LDEXECFLAGS" ;;
7304 esac
7305 if test "$ac_cv_header_DiskArbitration_DiskArbitration_h" = "yes"
7306 then
7307 DISKARBITRATIONLIB="-framework DiskArbitration -framework CoreFoundation"
7310 if test "$ac_cv_header_Security_Security_h" = "yes"
7311 then
7312 SECURITYLIB="-framework Security -framework CoreFoundation"
7314 ac_save_LIBS="$LIBS"
7315 LIBS="$LIBS $SECURITYLIB"
7316 for ac_func in SSLCopyPeerCertificates
7317 do :
7318 ac_fn_c_check_func "$LINENO" "SSLCopyPeerCertificates" "ac_cv_func_SSLCopyPeerCertificates"
7319 if test "x$ac_cv_func_SSLCopyPeerCertificates" = xyes; then :
7320 cat >>confdefs.h <<_ACEOF
7321 #define HAVE_SSLCOPYPEERCERTIFICATES 1
7322 _ACEOF
7325 done
7327 LIBS="$ac_save_LIBS"
7328 with_gnutls=${with_gnutls:-no}
7330 if test "$ac_cv_header_CoreAudio_CoreAudio_h" = "yes" -a "$ac_cv_header_AudioUnit_AudioUnit_h" = "yes"
7331 then
7332 if test "$ac_cv_header_AudioUnit_AudioComponent_h" = "yes"
7333 then
7334 COREAUDIO="-framework CoreFoundation -framework CoreAudio -framework AudioUnit -framework AudioToolbox -framework CoreMIDI"
7336 else
7337 COREAUDIO="-framework CoreAudio -framework AudioUnit -framework CoreServices -framework AudioToolbox -framework CoreMIDI"
7340 ac_save_LIBS="$LIBS"
7341 LIBS="$LIBS $COREAUDIO"
7342 for ac_func in AUGraphAddNode
7343 do :
7344 ac_fn_c_check_func "$LINENO" "AUGraphAddNode" "ac_cv_func_AUGraphAddNode"
7345 if test "x$ac_cv_func_AUGraphAddNode" = xyes; then :
7346 cat >>confdefs.h <<_ACEOF
7347 #define HAVE_AUGRAPHADDNODE 1
7348 _ACEOF
7351 done
7353 LIBS="$ac_save_LIBS"
7355 if test "$ac_cv_header_OpenAL_al_h" = "yes"
7356 then
7357 FRAMEWORK_OPENAL="-framework OpenAL"
7360 cat >>confdefs.h <<_ACEOF
7361 #define HAVE_OPENAL 1
7362 _ACEOF
7364 ac_cv_lib_openal=yes
7366 if test "$ac_cv_header_OpenCL_opencl_h" = "yes"
7367 then
7368 LIBOPENCL="-framework OpenCL"
7370 ac_cv_lib_OpenCL_clGetPlatformInfo=yes
7372 if test "$ac_cv_header_IOKit_hid_IOHIDLib_h" = "yes"
7373 then
7374 ac_save_LIBS="$LIBS"
7375 LIBS="$LIBS $IOKITLIB"
7376 for ac_func in IOHIDManagerCreate
7377 do :
7378 ac_fn_c_check_func "$LINENO" "IOHIDManagerCreate" "ac_cv_func_IOHIDManagerCreate"
7379 if test "x$ac_cv_func_IOHIDManagerCreate" = xyes; then :
7380 cat >>confdefs.h <<_ACEOF
7381 #define HAVE_IOHIDMANAGERCREATE 1
7382 _ACEOF
7385 done
7387 LIBS="$ac_save_LIBS"
7389 if test "$ac_cv_header_QuickTime_ImageCompression_h" = "yes"
7390 then
7391 QUICKTIMELIB="-framework QuickTime -framework ApplicationServices -framework CoreVideo"
7393 enable_wineqtdecoder=${enable_wineqtdecoder:-yes}
7394 else
7395 as_fn_append wine_notices "|QuickTime ${notice_platform}development files not found, video decoding won't be supported."
7397 if test "$ac_cv_header_Carbon_Carbon_h" = "yes"
7398 then
7399 CARBONLIB="-framework Carbon"
7403 if test "$ac_cv_header_ApplicationServices_ApplicationServices_h" = "yes"
7404 then
7405 ac_save_LIBS="$LIBS"
7406 LIBS="$LIBS $APPLICATIONSERVICESLIB"
7407 ac_fn_c_check_func "$LINENO" "CGDisplayModeGetWidth" "ac_cv_func_CGDisplayModeGetWidth"
7408 if test "x$ac_cv_func_CGDisplayModeGetWidth" = xyes; then :
7409 enable_winemac_drv=${enable_winemac_drv:-yes}
7412 LIBS="$ac_save_LIBS"
7415 if test "x$enable_win16" = "xyes"
7416 then
7417 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether 16-bit code can be built correctly" >&5
7418 $as_echo_n "checking whether 16-bit code can be built correctly... " >&6; }
7419 if test "$cross_compiling" = yes; then :
7420 { $as_echo "$as_me:${as_lineno-$LINENO}: result: cross-compiling, assuming yes" >&5
7421 $as_echo "cross-compiling, assuming yes" >&6; }
7422 else
7423 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
7424 /* end confdefs.h. */
7425 asm(".text\n"
7426 "bad:\tnop;nop\n"
7427 "good:\tnop;nop\n\t"
7428 ".globl _testfunc\n"
7429 "_testfunc:\tcallw good");
7430 extern void testfunc();
7432 main ()
7434 unsigned short *p = (unsigned short *)testfunc;
7435 return p[0] != 0xe866 || p[1] != 0xfffa
7437 return 0;
7439 _ACEOF
7440 if ac_fn_c_try_run "$LINENO"; then :
7441 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
7442 $as_echo "yes" >&6; }
7443 else
7444 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7445 $as_echo "no" >&6; }
7446 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
7448 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \
7449 conftest.$ac_objext conftest.beam conftest.$ac_ext
7454 LIBWINE_RULES="
7455 all: libwine.dylib
7457 libwine.\$(VERSION).dylib: \$(OBJS) \$(RELPATH) Makefile.in
7458 \$(CC) -dynamiclib -install_name @rpath/libwine.\$(SOVERSION).dylib -Wl,-rpath,@loader_path/ -compatibility_version \$(SOVERSION) -current_version \$(VERSION) \$(OBJS) \$(EXTRALIBS) \$(LDFLAGS) \$(LIBS) -o \$@
7460 libwine.\$(SOVERSION).dylib: libwine.\$(VERSION).dylib
7461 \$(RM) \$@ && \$(LN_S) libwine.\$(VERSION).dylib \$@
7463 libwine.dylib: libwine.\$(SOVERSION).dylib
7464 \$(RM) \$@ && \$(LN_S) libwine.\$(SOVERSION).dylib \$@
7466 install install-lib:: libwine.\$(VERSION).dylib \$(DESTDIR)\$(libdir) dummy
7467 \$(INSTALL_PROGRAM) libwine.\$(VERSION).dylib \$(DESTDIR)\$(libdir)/libwine.\$(VERSION).dylib
7468 cd \$(DESTDIR)\$(libdir) && \$(RM) libwine.\$(SOVERSION).dylib && \$(LN_S) libwine.\$(VERSION).dylib libwine.\$(SOVERSION).dylib
7470 install install-dev:: \$(DESTDIR)\$(libdir) dummy
7471 cd \$(DESTDIR)\$(libdir) && \$(RM) libwine.dylib && \$(LN_S) libwine.\$(VERSION).dylib libwine.dylib
7473 uninstall::
7474 -cd \$(DESTDIR)\$(libdir) && \$(RM) libwine.dylib libwine.\$(VERSION).dylib libwine.\$(SOVERSION).dylib
7476 clean::
7477 \$(RM) libwine.dylib libwine.\$(VERSION).dylib libwine.\$(SOVERSION).dylib version.c
7481 as_fn_append LOADER_RULES "
7482 $wine_binary: main.o Makefile.in wine_info.plist
7483 \$(CC) -o \$@ $LDEXECFLAGS main.o \$(LIBWINE) \$(LIBPORT) \$(EXTRALIBS) \$(LDFLAGS) \$(LDRPATH_LOCAL)
7485 wine-installed: main.o Makefile.in wine_info.plist
7486 \$(CC) -o \$@ $LDEXECFLAGS main.o \$(LIBWINE) \$(LIBPORT) \$(EXTRALIBS) \$(LDFLAGS) \$(LDRPATH_INSTALL)
7488 wine_info.plist: wine_info.plist.in \$(top_builddir)/include/config.h
7489 LC_ALL=C sed -e 's,@PACKAGE_VERSION@,$PACKAGE_VERSION,g' \$(srcdir)/wine_info.plist.in >\$@ || (\$(RM) \$@ && false)
7493 linux-android*)
7494 DLLFLAGS="$DLLFLAGS -fPIC"
7495 DLLPREFIX="lib"
7496 LDEXECFLAGS=""
7497 dlldir="\${libdir}"
7498 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -fPIC -Wl,--export-dynamic" >&5
7499 $as_echo_n "checking whether the compiler supports -fPIC -Wl,--export-dynamic... " >&6; }
7500 if ${ac_cv_cflags__fPIC__Wl___export_dynamic+:} false; then :
7501 $as_echo_n "(cached) " >&6
7502 else
7503 ac_wine_try_cflags_saved=$CFLAGS
7504 CFLAGS="$CFLAGS -fPIC -Wl,--export-dynamic"
7505 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
7506 /* end confdefs.h. */
7507 int main(int argc, char **argv) { return 0; }
7508 _ACEOF
7509 if ac_fn_c_try_link "$LINENO"; then :
7510 ac_cv_cflags__fPIC__Wl___export_dynamic=yes
7511 else
7512 ac_cv_cflags__fPIC__Wl___export_dynamic=no
7514 rm -f core conftest.err conftest.$ac_objext \
7515 conftest$ac_exeext conftest.$ac_ext
7516 CFLAGS=$ac_wine_try_cflags_saved
7518 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__fPIC__Wl___export_dynamic" >&5
7519 $as_echo "$ac_cv_cflags__fPIC__Wl___export_dynamic" >&6; }
7520 if test $ac_cv_cflags__fPIC__Wl___export_dynamic = yes; then :
7521 LDEXECFLAGS="-Wl,--export-dynamic"
7523 as_ac_var=`$as_echo "ac_cv_cflags_-fPIC -Wl,--rpath,\\$ORIGIN/../lib" | $as_tr_sh`
7524 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -fPIC -Wl,--rpath,\$ORIGIN/../lib" >&5
7525 $as_echo_n "checking whether the compiler supports -fPIC -Wl,--rpath,\$ORIGIN/../lib... " >&6; }
7526 if eval \${$as_ac_var+:} false; then :
7527 $as_echo_n "(cached) " >&6
7528 else
7529 ac_wine_try_cflags_saved=$CFLAGS
7530 CFLAGS="$CFLAGS -fPIC -Wl,--rpath,\$ORIGIN/../lib"
7531 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
7532 /* end confdefs.h. */
7533 int main(int argc, char **argv) { return 0; }
7534 _ACEOF
7535 if ac_fn_c_try_link "$LINENO"; then :
7536 eval "$as_ac_var=yes"
7537 else
7538 eval "$as_ac_var=no"
7540 rm -f core conftest.err conftest.$ac_objext \
7541 conftest$ac_exeext conftest.$ac_ext
7542 CFLAGS=$ac_wine_try_cflags_saved
7544 eval ac_res=\$$as_ac_var
7545 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
7546 $as_echo "$ac_res" >&6; }
7547 if test `eval 'as_val=${'$as_ac_var'};$as_echo "$as_val"'` = yes; then :
7548 LDRPATH_INSTALL="-Wl,--rpath,\\\$\$ORIGIN/\`\$(RELPATH) \$(bindir) \$(libdir)\`"
7549 LDRPATH_LOCAL="-Wl,--rpath,\\\$\$ORIGIN/\$(top_builddir)/libs/wine"
7550 else
7551 as_ac_var=`$as_echo "ac_cv_cflags_-fPIC -Wl,-R,\\$ORIGIN/../lib" | $as_tr_sh`
7552 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -fPIC -Wl,-R,\$ORIGIN/../lib" >&5
7553 $as_echo_n "checking whether the compiler supports -fPIC -Wl,-R,\$ORIGIN/../lib... " >&6; }
7554 if eval \${$as_ac_var+:} false; then :
7555 $as_echo_n "(cached) " >&6
7556 else
7557 ac_wine_try_cflags_saved=$CFLAGS
7558 CFLAGS="$CFLAGS -fPIC -Wl,-R,\$ORIGIN/../lib"
7559 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
7560 /* end confdefs.h. */
7561 int main(int argc, char **argv) { return 0; }
7562 _ACEOF
7563 if ac_fn_c_try_link "$LINENO"; then :
7564 eval "$as_ac_var=yes"
7565 else
7566 eval "$as_ac_var=no"
7568 rm -f core conftest.err conftest.$ac_objext \
7569 conftest$ac_exeext conftest.$ac_ext
7570 CFLAGS=$ac_wine_try_cflags_saved
7572 eval ac_res=\$$as_ac_var
7573 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
7574 $as_echo "$ac_res" >&6; }
7575 if test `eval 'as_val=${'$as_ac_var'};$as_echo "$as_val"'` = yes; then :
7576 LDRPATH_INSTALL="-Wl,-R,\\\$\$ORIGIN/\`\$(RELPATH) \$(bindir) \$(libdir)\`"
7577 LDRPATH_LOCAL="-Wl,-R,\\\$\$ORIGIN/\$(top_builddir)/libs/wine"
7581 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wl,--enable-new-dtags" >&5
7582 $as_echo_n "checking whether the compiler supports -Wl,--enable-new-dtags... " >&6; }
7583 if ${ac_cv_cflags__Wl___enable_new_dtags+:} false; then :
7584 $as_echo_n "(cached) " >&6
7585 else
7586 ac_wine_try_cflags_saved=$CFLAGS
7587 CFLAGS="$CFLAGS -Wl,--enable-new-dtags"
7588 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
7589 /* end confdefs.h. */
7590 int main(int argc, char **argv) { return 0; }
7591 _ACEOF
7592 if ac_fn_c_try_link "$LINENO"; then :
7593 ac_cv_cflags__Wl___enable_new_dtags=yes
7594 else
7595 ac_cv_cflags__Wl___enable_new_dtags=no
7597 rm -f core conftest.err conftest.$ac_objext \
7598 conftest$ac_exeext conftest.$ac_ext
7599 CFLAGS=$ac_wine_try_cflags_saved
7601 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wl___enable_new_dtags" >&5
7602 $as_echo "$ac_cv_cflags__Wl___enable_new_dtags" >&6; }
7603 if test $ac_cv_cflags__Wl___enable_new_dtags = yes; then :
7604 LDRPATH_INSTALL="$LDRPATH_INSTALL -Wl,--enable-new-dtags"
7607 case $host_cpu in
7608 *i[3456789]86* | x86_64)
7609 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wl,--section-start,.interp=0x7bf00400" >&5
7610 $as_echo_n "checking whether the compiler supports -Wl,--section-start,.interp=0x7bf00400... " >&6; }
7611 if ${ac_cv_cflags__Wl___section_start__interp_0x7bf00400+:} false; then :
7612 $as_echo_n "(cached) " >&6
7613 else
7614 ac_wine_try_cflags_saved=$CFLAGS
7615 CFLAGS="$CFLAGS -Wl,--section-start,.interp=0x7bf00400"
7616 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
7617 /* end confdefs.h. */
7618 int main(int argc, char **argv) { return 0; }
7619 _ACEOF
7620 if ac_fn_c_try_link "$LINENO"; then :
7621 ac_cv_cflags__Wl___section_start__interp_0x7bf00400=yes
7622 else
7623 ac_cv_cflags__Wl___section_start__interp_0x7bf00400=no
7625 rm -f core conftest.err conftest.$ac_objext \
7626 conftest$ac_exeext conftest.$ac_ext
7627 CFLAGS=$ac_wine_try_cflags_saved
7629 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wl___section_start__interp_0x7bf00400" >&5
7630 $as_echo "$ac_cv_cflags__Wl___section_start__interp_0x7bf00400" >&6; }
7631 if test $ac_cv_cflags__Wl___section_start__interp_0x7bf00400 = yes; then :
7632 LDEXECFLAGS="$LDEXECFLAGS -Wl,--section-start,.interp=0x7bf00400"
7635 esac
7637 LIBWINE_RULES="
7638 all: libwine.so
7640 libwine.so: \$(OBJS) Makefile.in
7641 \$(CC) -shared \$(OBJS) \$(EXTRALIBS) \$(LDFLAGS) \$(LIBS) -o \$@
7643 install install-lib:: libwine.so \$(DESTDIR)\$(libdir) dummy
7644 \$(INSTALL_PROGRAM) libwine.so \$(DESTDIR)\$(libdir)/libwine.so
7646 uninstall::
7647 \$(RM) \$(DESTDIR)\$(libdir)/libwine.so
7649 clean::
7650 \$(RM) libwine.so version.c
7654 as_fn_append LOADER_RULES "
7655 $wine_binary: main.o Makefile.in
7656 \$(CC) -o \$@ $LDEXECFLAGS main.o \$(LIBWINE) \$(LIBPORT) \$(EXTRALIBS) \$(LDFLAGS) \$(LDRPATH_LOCAL)
7658 wine-installed: main.o Makefile.in
7659 \$(CC) -o \$@ $LDEXECFLAGS main.o \$(LIBWINE) \$(LIBPORT) \$(EXTRALIBS) \$(LDFLAGS) \$(LDRPATH_INSTALL)
7664 DLLFLAGS="$DLLFLAGS -fPIC"
7665 LDEXECFLAGS=""
7666 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we can build a GNU style ELF dll" >&5
7667 $as_echo_n "checking whether we can build a GNU style ELF dll... " >&6; }
7668 if ${ac_cv_c_dll_gnuelf+:} false; then :
7669 $as_echo_n "(cached) " >&6
7670 else
7671 ac_wine_try_cflags_saved=$CFLAGS
7672 CFLAGS="$CFLAGS -fPIC -shared -Wl,-Bsymbolic"
7673 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
7674 /* end confdefs.h. */
7675 void myfunc() {}
7676 _ACEOF
7677 if ac_fn_c_try_link "$LINENO"; then :
7678 ac_cv_c_dll_gnuelf="yes"
7679 else
7680 ac_cv_c_dll_gnuelf="no"
7682 rm -f core conftest.err conftest.$ac_objext \
7683 conftest$ac_exeext conftest.$ac_ext
7684 CFLAGS=$ac_wine_try_cflags_saved
7686 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_dll_gnuelf" >&5
7687 $as_echo "$ac_cv_c_dll_gnuelf" >&6; }
7688 if test "$ac_cv_c_dll_gnuelf" = "yes"
7689 then
7690 LDSHARED="\$(CC) -shared"
7691 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -fPIC -shared -Wl,-soname,confest.so.1" >&5
7692 $as_echo_n "checking whether the compiler supports -fPIC -shared -Wl,-soname,confest.so.1... " >&6; }
7693 if ${ac_cv_cflags__fPIC__shared__Wl__soname_confest_so_1+:} false; then :
7694 $as_echo_n "(cached) " >&6
7695 else
7696 ac_wine_try_cflags_saved=$CFLAGS
7697 CFLAGS="$CFLAGS -fPIC -shared -Wl,-soname,confest.so.1"
7698 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
7699 /* end confdefs.h. */
7700 int main(int argc, char **argv) { return 0; }
7701 _ACEOF
7702 if ac_fn_c_try_link "$LINENO"; then :
7703 ac_cv_cflags__fPIC__shared__Wl__soname_confest_so_1=yes
7704 else
7705 ac_cv_cflags__fPIC__shared__Wl__soname_confest_so_1=no
7707 rm -f core conftest.err conftest.$ac_objext \
7708 conftest$ac_exeext conftest.$ac_ext
7709 CFLAGS=$ac_wine_try_cflags_saved
7711 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__fPIC__shared__Wl__soname_confest_so_1" >&5
7712 $as_echo "$ac_cv_cflags__fPIC__shared__Wl__soname_confest_so_1" >&6; }
7713 if test $ac_cv_cflags__fPIC__shared__Wl__soname_confest_so_1 = yes; then :
7714 LDSHARED="\$(CC) -shared -Wl,-soname,libwine.so.\$(SOVERSION)"
7715 else
7716 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -fPIC -shared -Wl,-h,confest.so.1" >&5
7717 $as_echo_n "checking whether the compiler supports -fPIC -shared -Wl,-h,confest.so.1... " >&6; }
7718 if ${ac_cv_cflags__fPIC__shared__Wl__h_confest_so_1+:} false; then :
7719 $as_echo_n "(cached) " >&6
7720 else
7721 ac_wine_try_cflags_saved=$CFLAGS
7722 CFLAGS="$CFLAGS -fPIC -shared -Wl,-h,confest.so.1"
7723 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
7724 /* end confdefs.h. */
7725 int main(int argc, char **argv) { return 0; }
7726 _ACEOF
7727 if ac_fn_c_try_link "$LINENO"; then :
7728 ac_cv_cflags__fPIC__shared__Wl__h_confest_so_1=yes
7729 else
7730 ac_cv_cflags__fPIC__shared__Wl__h_confest_so_1=no
7732 rm -f core conftest.err conftest.$ac_objext \
7733 conftest$ac_exeext conftest.$ac_ext
7734 CFLAGS=$ac_wine_try_cflags_saved
7736 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__fPIC__shared__Wl__h_confest_so_1" >&5
7737 $as_echo "$ac_cv_cflags__fPIC__shared__Wl__h_confest_so_1" >&6; }
7738 if test $ac_cv_cflags__fPIC__shared__Wl__h_confest_so_1 = yes; then :
7739 LDSHARED="\$(CC) -shared -Wl,-h,libwine.so.\$(SOVERSION)"
7743 echo '{ global: *; };' >conftest.map
7744 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -fPIC -shared -Wl,--version-script=conftest.map" >&5
7745 $as_echo_n "checking whether the compiler supports -fPIC -shared -Wl,--version-script=conftest.map... " >&6; }
7746 if ${ac_cv_cflags__fPIC__shared__Wl___version_script_conftest_map+:} false; then :
7747 $as_echo_n "(cached) " >&6
7748 else
7749 ac_wine_try_cflags_saved=$CFLAGS
7750 CFLAGS="$CFLAGS -fPIC -shared -Wl,--version-script=conftest.map"
7751 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
7752 /* end confdefs.h. */
7753 int main(int argc, char **argv) { return 0; }
7754 _ACEOF
7755 if ac_fn_c_try_link "$LINENO"; then :
7756 ac_cv_cflags__fPIC__shared__Wl___version_script_conftest_map=yes
7757 else
7758 ac_cv_cflags__fPIC__shared__Wl___version_script_conftest_map=no
7760 rm -f core conftest.err conftest.$ac_objext \
7761 conftest$ac_exeext conftest.$ac_ext
7762 CFLAGS=$ac_wine_try_cflags_saved
7764 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__fPIC__shared__Wl___version_script_conftest_map" >&5
7765 $as_echo "$ac_cv_cflags__fPIC__shared__Wl___version_script_conftest_map" >&6; }
7766 if test $ac_cv_cflags__fPIC__shared__Wl___version_script_conftest_map = yes; then :
7767 LDSHARED="$LDSHARED -Wl,--version-script=\$(srcdir)/wine.map"
7769 rm -f conftest.map
7771 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -fPIC -Wl,--export-dynamic" >&5
7772 $as_echo_n "checking whether the compiler supports -fPIC -Wl,--export-dynamic... " >&6; }
7773 if ${ac_cv_cflags__fPIC__Wl___export_dynamic+:} false; then :
7774 $as_echo_n "(cached) " >&6
7775 else
7776 ac_wine_try_cflags_saved=$CFLAGS
7777 CFLAGS="$CFLAGS -fPIC -Wl,--export-dynamic"
7778 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
7779 /* end confdefs.h. */
7780 int main(int argc, char **argv) { return 0; }
7781 _ACEOF
7782 if ac_fn_c_try_link "$LINENO"; then :
7783 ac_cv_cflags__fPIC__Wl___export_dynamic=yes
7784 else
7785 ac_cv_cflags__fPIC__Wl___export_dynamic=no
7787 rm -f core conftest.err conftest.$ac_objext \
7788 conftest$ac_exeext conftest.$ac_ext
7789 CFLAGS=$ac_wine_try_cflags_saved
7791 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__fPIC__Wl___export_dynamic" >&5
7792 $as_echo "$ac_cv_cflags__fPIC__Wl___export_dynamic" >&6; }
7793 if test $ac_cv_cflags__fPIC__Wl___export_dynamic = yes; then :
7794 LDEXECFLAGS="-Wl,--export-dynamic"
7797 as_ac_var=`$as_echo "ac_cv_cflags_-fPIC -Wl,--rpath,\\$ORIGIN/../lib" | $as_tr_sh`
7798 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -fPIC -Wl,--rpath,\$ORIGIN/../lib" >&5
7799 $as_echo_n "checking whether the compiler supports -fPIC -Wl,--rpath,\$ORIGIN/../lib... " >&6; }
7800 if eval \${$as_ac_var+:} false; then :
7801 $as_echo_n "(cached) " >&6
7802 else
7803 ac_wine_try_cflags_saved=$CFLAGS
7804 CFLAGS="$CFLAGS -fPIC -Wl,--rpath,\$ORIGIN/../lib"
7805 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
7806 /* end confdefs.h. */
7807 int main(int argc, char **argv) { return 0; }
7808 _ACEOF
7809 if ac_fn_c_try_link "$LINENO"; then :
7810 eval "$as_ac_var=yes"
7811 else
7812 eval "$as_ac_var=no"
7814 rm -f core conftest.err conftest.$ac_objext \
7815 conftest$ac_exeext conftest.$ac_ext
7816 CFLAGS=$ac_wine_try_cflags_saved
7818 eval ac_res=\$$as_ac_var
7819 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
7820 $as_echo "$ac_res" >&6; }
7821 if test `eval 'as_val=${'$as_ac_var'};$as_echo "$as_val"'` = yes; then :
7822 LDRPATH_INSTALL="-Wl,--rpath,\\\$\$ORIGIN/\`\$(RELPATH) \$(bindir) \$(libdir)\`"
7823 LDRPATH_LOCAL="-Wl,--rpath,\\\$\$ORIGIN/\$(top_builddir)/libs/wine"
7824 else
7825 as_ac_var=`$as_echo "ac_cv_cflags_-fPIC -Wl,-R,\\$ORIGIN/../lib" | $as_tr_sh`
7826 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -fPIC -Wl,-R,\$ORIGIN/../lib" >&5
7827 $as_echo_n "checking whether the compiler supports -fPIC -Wl,-R,\$ORIGIN/../lib... " >&6; }
7828 if eval \${$as_ac_var+:} false; then :
7829 $as_echo_n "(cached) " >&6
7830 else
7831 ac_wine_try_cflags_saved=$CFLAGS
7832 CFLAGS="$CFLAGS -fPIC -Wl,-R,\$ORIGIN/../lib"
7833 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
7834 /* end confdefs.h. */
7835 int main(int argc, char **argv) { return 0; }
7836 _ACEOF
7837 if ac_fn_c_try_link "$LINENO"; then :
7838 eval "$as_ac_var=yes"
7839 else
7840 eval "$as_ac_var=no"
7842 rm -f core conftest.err conftest.$ac_objext \
7843 conftest$ac_exeext conftest.$ac_ext
7844 CFLAGS=$ac_wine_try_cflags_saved
7846 eval ac_res=\$$as_ac_var
7847 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
7848 $as_echo "$ac_res" >&6; }
7849 if test `eval 'as_val=${'$as_ac_var'};$as_echo "$as_val"'` = yes; then :
7850 LDRPATH_INSTALL="-Wl,-R,\\\$\$ORIGIN/\`\$(RELPATH) \$(bindir) \$(libdir)\`"
7851 LDRPATH_LOCAL="-Wl,-R,\\\$\$ORIGIN/\$(top_builddir)/libs/wine"
7855 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wl,--enable-new-dtags" >&5
7856 $as_echo_n "checking whether the compiler supports -Wl,--enable-new-dtags... " >&6; }
7857 if ${ac_cv_cflags__Wl___enable_new_dtags+:} false; then :
7858 $as_echo_n "(cached) " >&6
7859 else
7860 ac_wine_try_cflags_saved=$CFLAGS
7861 CFLAGS="$CFLAGS -Wl,--enable-new-dtags"
7862 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
7863 /* end confdefs.h. */
7864 int main(int argc, char **argv) { return 0; }
7865 _ACEOF
7866 if ac_fn_c_try_link "$LINENO"; then :
7867 ac_cv_cflags__Wl___enable_new_dtags=yes
7868 else
7869 ac_cv_cflags__Wl___enable_new_dtags=no
7871 rm -f core conftest.err conftest.$ac_objext \
7872 conftest$ac_exeext conftest.$ac_ext
7873 CFLAGS=$ac_wine_try_cflags_saved
7875 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wl___enable_new_dtags" >&5
7876 $as_echo "$ac_cv_cflags__Wl___enable_new_dtags" >&6; }
7877 if test $ac_cv_cflags__Wl___enable_new_dtags = yes; then :
7878 LDRPATH_INSTALL="$LDRPATH_INSTALL -Wl,--enable-new-dtags"
7881 case $host_cpu in
7882 *i[3456789]86* | x86_64)
7883 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wl,--section-start,.interp=0x7bf00400" >&5
7884 $as_echo_n "checking whether the compiler supports -Wl,--section-start,.interp=0x7bf00400... " >&6; }
7885 if ${ac_cv_cflags__Wl___section_start__interp_0x7bf00400+:} false; then :
7886 $as_echo_n "(cached) " >&6
7887 else
7888 ac_wine_try_cflags_saved=$CFLAGS
7889 CFLAGS="$CFLAGS -Wl,--section-start,.interp=0x7bf00400"
7890 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
7891 /* end confdefs.h. */
7892 int main(int argc, char **argv) { return 0; }
7893 _ACEOF
7894 if ac_fn_c_try_link "$LINENO"; then :
7895 ac_cv_cflags__Wl___section_start__interp_0x7bf00400=yes
7896 else
7897 ac_cv_cflags__Wl___section_start__interp_0x7bf00400=no
7899 rm -f core conftest.err conftest.$ac_objext \
7900 conftest$ac_exeext conftest.$ac_ext
7901 CFLAGS=$ac_wine_try_cflags_saved
7903 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wl___section_start__interp_0x7bf00400" >&5
7904 $as_echo "$ac_cv_cflags__Wl___section_start__interp_0x7bf00400" >&6; }
7905 if test $ac_cv_cflags__Wl___section_start__interp_0x7bf00400 = yes; then :
7906 case $host_os in
7907 freebsd* | kfreebsd*-gnu) LDEXECFLAGS="$LDEXECFLAGS -Wl,--section-start,.interp=0x60000400" ;;
7908 *) LDEXECFLAGS="$LDEXECFLAGS -Wl,--section-start,.interp=0x7bf00400" ;;
7909 esac
7912 # Extract the first word of "prelink", so it can be a program name with args.
7913 set dummy prelink; ac_word=$2
7914 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7915 $as_echo_n "checking for $ac_word... " >&6; }
7916 if ${ac_cv_path_PRELINK+:} false; then :
7917 $as_echo_n "(cached) " >&6
7918 else
7919 case $PRELINK in
7920 [\\/]* | ?:[\\/]*)
7921 ac_cv_path_PRELINK="$PRELINK" # Let the user override the test with a path.
7924 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7925 for as_dir in /sbin /usr/sbin $PATH
7927 IFS=$as_save_IFS
7928 test -z "$as_dir" && as_dir=.
7929 for ac_exec_ext in '' $ac_executable_extensions; do
7930 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
7931 ac_cv_path_PRELINK="$as_dir/$ac_word$ac_exec_ext"
7932 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
7933 break 2
7935 done
7936 done
7937 IFS=$as_save_IFS
7939 test -z "$ac_cv_path_PRELINK" && ac_cv_path_PRELINK="false"
7941 esac
7943 PRELINK=$ac_cv_path_PRELINK
7944 if test -n "$PRELINK"; then
7945 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $PRELINK" >&5
7946 $as_echo "$PRELINK" >&6; }
7947 else
7948 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7949 $as_echo "no" >&6; }
7953 if test "x$PRELINK" = xfalse
7954 then
7955 as_fn_append wine_warnings "|prelink not found, base address of core dlls won't be set correctly."
7958 esac
7960 else
7961 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we can build a UnixWare (Solaris) dll" >&5
7962 $as_echo_n "checking whether we can build a UnixWare (Solaris) dll... " >&6; }
7963 if ${ac_cv_c_dll_unixware+:} false; then :
7964 $as_echo_n "(cached) " >&6
7965 else
7966 ac_wine_try_cflags_saved=$CFLAGS
7967 CFLAGS="$CFLAGS -fPIC -Wl,-G,-h,conftest.so.1.0,-B,symbolic"
7968 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
7969 /* end confdefs.h. */
7970 void myfunc() {}
7971 _ACEOF
7972 if ac_fn_c_try_link "$LINENO"; then :
7973 ac_cv_c_dll_unixware="yes"
7974 else
7975 ac_cv_c_dll_unixware="no"
7977 rm -f core conftest.err conftest.$ac_objext \
7978 conftest$ac_exeext conftest.$ac_ext
7979 CFLAGS=$ac_wine_try_cflags_saved
7981 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_dll_unixware" >&5
7982 $as_echo "$ac_cv_c_dll_unixware" >&6; }
7983 if test "$ac_cv_c_dll_unixware" = "yes"
7984 then
7985 LDSHARED="\$(CC) -Wl,-G,-h,libwine.so.\$(SOVERSION)"
7988 LIBWINE_RULES="
7989 all: libwine.so
7991 libwine.so.\$(VERSION): \$(OBJS) wine.map Makefile.in
7992 $LDSHARED \$(OBJS) \$(EXTRALIBS) \$(LDFLAGS) \$(LIBS) -o \$@
7994 libwine.so.\$(SOVERSION): libwine.so.\$(VERSION)
7995 \$(RM) \$@ && \$(LN_S) libwine.so.\$(VERSION) \$@
7997 libwine.so: libwine.so.\$(SOVERSION)
7998 \$(RM) \$@ && \$(LN_S) libwine.so.\$(SOVERSION) \$@
8000 install install-lib:: libwine.so.\$(VERSION) \$(DESTDIR)\$(libdir) dummy
8001 \$(INSTALL_PROGRAM) libwine.so.\$(VERSION) \$(DESTDIR)\$(libdir)/libwine.so.\$(VERSION)
8002 cd \$(DESTDIR)\$(libdir) && \$(RM) libwine.so.\$(SOVERSION) && \$(LN_S) libwine.so.\$(VERSION) libwine.so.\$(SOVERSION)
8004 install install-dev:: \$(DESTDIR)\$(libdir) dummy
8005 cd \$(DESTDIR)\$(libdir) && \$(RM) libwine.so && \$(LN_S) libwine.so.\$(VERSION) libwine.so
8007 uninstall::
8008 -cd \$(DESTDIR)\$(libdir) && \$(RM) libwine.so libwine.so.\$(VERSION) libwine.so.\$(SOVERSION)
8010 clean::
8011 \$(RM) libwine.so.\$(SOVERSION) libwine.so.\$(VERSION) version.c
8015 as_fn_append LOADER_RULES "
8016 $wine_binary: main.o Makefile.in
8017 \$(CC) -o \$@ $LDEXECFLAGS main.o \$(LIBWINE) \$(LIBPORT) \$(EXTRALIBS) \$(LDFLAGS) \$(LDRPATH_LOCAL)
8019 wine-installed: main.o Makefile.in
8020 \$(CC) -o \$@ $LDEXECFLAGS main.o \$(LIBWINE) \$(LIBPORT) \$(EXTRALIBS) \$(LDFLAGS) \$(LDRPATH_INSTALL)
8023 esac
8025 enable_wineqtdecoder=${enable_wineqtdecoder:-no}
8026 enable_winemac_drv=${enable_winemac_drv:-no}
8028 CROSSTARGET=""
8030 if test "$cross_compiling" = "no" -a "x$enable_tests" != xno -a "$LIBEXT" != "dll"
8031 then
8032 case "$host_cpu" in
8033 i[3456789]86*)
8034 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
8035 mingw32-gcc" ;;
8036 x86_64)
8037 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 " ;;
8039 ac_prefix_list="" ;;
8040 esac
8041 for ac_prog in $ac_prefix_list
8043 # Extract the first word of "$ac_prog", so it can be a program name with args.
8044 set dummy $ac_prog; ac_word=$2
8045 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
8046 $as_echo_n "checking for $ac_word... " >&6; }
8047 if ${ac_cv_prog_CROSSCC+:} false; then :
8048 $as_echo_n "(cached) " >&6
8049 else
8050 if test -n "$CROSSCC"; then
8051 ac_cv_prog_CROSSCC="$CROSSCC" # Let the user override the test.
8052 else
8053 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
8054 for as_dir in $PATH
8056 IFS=$as_save_IFS
8057 test -z "$as_dir" && as_dir=.
8058 for ac_exec_ext in '' $ac_executable_extensions; do
8059 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
8060 ac_cv_prog_CROSSCC="$ac_prog"
8061 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
8062 break 2
8064 done
8065 done
8066 IFS=$as_save_IFS
8070 CROSSCC=$ac_cv_prog_CROSSCC
8071 if test -n "$CROSSCC"; then
8072 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CROSSCC" >&5
8073 $as_echo "$CROSSCC" >&6; }
8074 else
8075 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
8076 $as_echo "no" >&6; }
8080 test -n "$CROSSCC" && break
8081 done
8082 test -n "$CROSSCC" || CROSSCC="false"
8084 if test "$CROSSCC" != "false"
8085 then
8086 ac_save_CC="$CC"
8087 CC="$CROSSCC"
8088 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CROSSCC works" >&5
8089 $as_echo_n "checking whether $CROSSCC works... " >&6; }
8090 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
8091 /* end confdefs.h. */
8094 main ()
8098 return 0;
8100 _ACEOF
8101 if ac_fn_c_try_compile "$LINENO"; then :
8102 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
8103 $as_echo "yes" >&6; }
8104 set x $CROSSCC
8105 shift
8106 while test $# -ge 1
8108 case "$1" in
8109 *-gcc) CROSSTARGET=`expr "$1" : '\(.*\)-gcc'` ;;
8110 esac
8111 shift
8112 done
8113 else
8114 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
8115 $as_echo "no" >&6; }
8117 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
8118 CC="$ac_save_CC"
8123 if test "$ac_cv_header_pthread_h" = "yes"
8124 then
8125 ac_fn_c_check_func "$LINENO" "pthread_create" "ac_cv_func_pthread_create"
8126 if test "x$ac_cv_func_pthread_create" = xyes; then :
8128 else
8129 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for pthread_create in -lpthread" >&5
8130 $as_echo_n "checking for pthread_create in -lpthread... " >&6; }
8131 if ${ac_cv_lib_pthread_pthread_create+:} false; then :
8132 $as_echo_n "(cached) " >&6
8133 else
8134 ac_check_lib_save_LIBS=$LIBS
8135 LIBS="-lpthread $LIBS"
8136 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
8137 /* end confdefs.h. */
8139 /* Override any GCC internal prototype to avoid an error.
8140 Use char because int might match the return type of a GCC
8141 builtin and then its argument prototype would still apply. */
8142 #ifdef __cplusplus
8143 extern "C"
8144 #endif
8145 char pthread_create ();
8147 main ()
8149 return pthread_create ();
8151 return 0;
8153 _ACEOF
8154 if ac_fn_c_try_link "$LINENO"; then :
8155 ac_cv_lib_pthread_pthread_create=yes
8156 else
8157 ac_cv_lib_pthread_pthread_create=no
8159 rm -f core conftest.err conftest.$ac_objext \
8160 conftest$ac_exeext conftest.$ac_ext
8161 LIBS=$ac_check_lib_save_LIBS
8163 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_pthread_pthread_create" >&5
8164 $as_echo "$ac_cv_lib_pthread_pthread_create" >&6; }
8165 if test "x$ac_cv_lib_pthread_pthread_create" = xyes; then :
8166 LIBPTHREAD="-lpthread"
8173 if test "x$ac_cv_func_pthread_create" != xyes -a "x$LIBPTHREAD" = x; then :
8174 case "x$with_pthread" in
8175 xno) ;;
8176 *) as_fn_error $? "pthread ${notice_platform}development files not found.
8177 Wine cannot support threads without libpthread.
8178 Use the --without-pthread option if you really want this." "$LINENO" 5 ;;
8179 esac
8183 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for X" >&5
8184 $as_echo_n "checking for X... " >&6; }
8187 # Check whether --with-x was given.
8188 if test "${with_x+set}" = set; then :
8189 withval=$with_x;
8192 # $have_x is `yes', `no', `disabled', or empty when we do not yet know.
8193 if test "x$with_x" = xno; then
8194 # The user explicitly disabled X.
8195 have_x=disabled
8196 else
8197 case $x_includes,$x_libraries in #(
8198 *\'*) as_fn_error $? "cannot use X directory names containing '" "$LINENO" 5;; #(
8199 *,NONE | NONE,*) if ${ac_cv_have_x+:} false; then :
8200 $as_echo_n "(cached) " >&6
8201 else
8202 # One or both of the vars are not set, and there is no cached value.
8203 ac_x_includes=no ac_x_libraries=no
8204 rm -f -r conftest.dir
8205 if mkdir conftest.dir; then
8206 cd conftest.dir
8207 cat >Imakefile <<'_ACEOF'
8208 incroot:
8209 @echo incroot='${INCROOT}'
8210 usrlibdir:
8211 @echo usrlibdir='${USRLIBDIR}'
8212 libdir:
8213 @echo libdir='${LIBDIR}'
8214 _ACEOF
8215 if (export CC; ${XMKMF-xmkmf}) >/dev/null 2>/dev/null && test -f Makefile; then
8216 # GNU make sometimes prints "make[1]: Entering ...", which would confuse us.
8217 for ac_var in incroot usrlibdir libdir; do
8218 eval "ac_im_$ac_var=\`\${MAKE-make} $ac_var 2>/dev/null | sed -n 's/^$ac_var=//p'\`"
8219 done
8220 # Open Windows xmkmf reportedly sets LIBDIR instead of USRLIBDIR.
8221 for ac_extension in a so sl dylib la dll; do
8222 if test ! -f "$ac_im_usrlibdir/libX11.$ac_extension" &&
8223 test -f "$ac_im_libdir/libX11.$ac_extension"; then
8224 ac_im_usrlibdir=$ac_im_libdir; break
8226 done
8227 # Screen out bogus values from the imake configuration. They are
8228 # bogus both because they are the default anyway, and because
8229 # using them would break gcc on systems where it needs fixed includes.
8230 case $ac_im_incroot in
8231 /usr/include) ac_x_includes= ;;
8232 *) test -f "$ac_im_incroot/X11/Xos.h" && ac_x_includes=$ac_im_incroot;;
8233 esac
8234 case $ac_im_usrlibdir in
8235 /usr/lib | /usr/lib64 | /lib | /lib64) ;;
8236 *) test -d "$ac_im_usrlibdir" && ac_x_libraries=$ac_im_usrlibdir ;;
8237 esac
8239 cd ..
8240 rm -f -r conftest.dir
8243 # Standard set of common directories for X headers.
8244 # Check X11 before X11Rn because it is often a symlink to the current release.
8245 ac_x_header_dirs='
8246 /usr/X11/include
8247 /usr/X11R7/include
8248 /usr/X11R6/include
8249 /usr/X11R5/include
8250 /usr/X11R4/include
8252 /usr/include/X11
8253 /usr/include/X11R7
8254 /usr/include/X11R6
8255 /usr/include/X11R5
8256 /usr/include/X11R4
8258 /usr/local/X11/include
8259 /usr/local/X11R7/include
8260 /usr/local/X11R6/include
8261 /usr/local/X11R5/include
8262 /usr/local/X11R4/include
8264 /usr/local/include/X11
8265 /usr/local/include/X11R7
8266 /usr/local/include/X11R6
8267 /usr/local/include/X11R5
8268 /usr/local/include/X11R4
8270 /usr/X386/include
8271 /usr/x386/include
8272 /usr/XFree86/include/X11
8274 /usr/include
8275 /usr/local/include
8276 /usr/unsupported/include
8277 /usr/athena/include
8278 /usr/local/x11r5/include
8279 /usr/lpp/Xamples/include
8281 /usr/openwin/include
8282 /usr/openwin/share/include'
8284 if test "$ac_x_includes" = no; then
8285 # Guess where to find include files, by looking for Xlib.h.
8286 # First, try using that file with no special directory specified.
8287 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
8288 /* end confdefs.h. */
8289 #include <X11/Xlib.h>
8290 _ACEOF
8291 if ac_fn_c_try_cpp "$LINENO"; then :
8292 # We can compile using X headers with no special include directory.
8293 ac_x_includes=
8294 else
8295 for ac_dir in $ac_x_header_dirs; do
8296 if test -r "$ac_dir/X11/Xlib.h"; then
8297 ac_x_includes=$ac_dir
8298 break
8300 done
8302 rm -f conftest.err conftest.i conftest.$ac_ext
8303 fi # $ac_x_includes = no
8305 if test "$ac_x_libraries" = no; then
8306 # Check for the libraries.
8307 # See if we find them without any special options.
8308 # Don't add to $LIBS permanently.
8309 ac_save_LIBS=$LIBS
8310 LIBS="-lX11 $LIBS"
8311 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
8312 /* end confdefs.h. */
8313 #include <X11/Xlib.h>
8315 main ()
8317 XrmInitialize ()
8319 return 0;
8321 _ACEOF
8322 if ac_fn_c_try_link "$LINENO"; then :
8323 LIBS=$ac_save_LIBS
8324 # We can link X programs with no special library path.
8325 ac_x_libraries=
8326 else
8327 LIBS=$ac_save_LIBS
8328 for ac_dir in `$as_echo "$ac_x_includes $ac_x_header_dirs" | sed s/include/lib/g`
8330 # Don't even attempt the hair of trying to link an X program!
8331 for ac_extension in a so sl dylib la dll; do
8332 if test -r "$ac_dir/libX11.$ac_extension"; then
8333 ac_x_libraries=$ac_dir
8334 break 2
8336 done
8337 done
8339 rm -f core conftest.err conftest.$ac_objext \
8340 conftest$ac_exeext conftest.$ac_ext
8341 fi # $ac_x_libraries = no
8343 case $ac_x_includes,$ac_x_libraries in #(
8344 no,* | *,no | *\'*)
8345 # Didn't find X, or a directory has "'" in its name.
8346 ac_cv_have_x="have_x=no";; #(
8348 # Record where we found X for the cache.
8349 ac_cv_have_x="have_x=yes\
8350 ac_x_includes='$ac_x_includes'\
8351 ac_x_libraries='$ac_x_libraries'"
8352 esac
8354 ;; #(
8355 *) have_x=yes;;
8356 esac
8357 eval "$ac_cv_have_x"
8358 fi # $with_x != no
8360 if test "$have_x" != yes; then
8361 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $have_x" >&5
8362 $as_echo "$have_x" >&6; }
8363 no_x=yes
8364 else
8365 # If each of the values was on the command line, it overrides each guess.
8366 test "x$x_includes" = xNONE && x_includes=$ac_x_includes
8367 test "x$x_libraries" = xNONE && x_libraries=$ac_x_libraries
8368 # Update the cache value to reflect the command line values.
8369 ac_cv_have_x="have_x=yes\
8370 ac_x_includes='$x_includes'\
8371 ac_x_libraries='$x_libraries'"
8372 { $as_echo "$as_me:${as_lineno-$LINENO}: result: libraries $x_libraries, headers $x_includes" >&5
8373 $as_echo "libraries $x_libraries, headers $x_includes" >&6; }
8376 if test "$no_x" = yes; then
8377 # Not all programs may use this symbol, but it does not hurt to define it.
8379 $as_echo "#define X_DISPLAY_MISSING 1" >>confdefs.h
8381 X_CFLAGS= X_PRE_LIBS= X_LIBS= X_EXTRA_LIBS=
8382 else
8383 if test -n "$x_includes"; then
8384 X_CFLAGS="$X_CFLAGS -I$x_includes"
8387 # It would also be nice to do this for all -L options, not just this one.
8388 if test -n "$x_libraries"; then
8389 X_LIBS="$X_LIBS -L$x_libraries"
8390 # For Solaris; some versions of Sun CC require a space after -R and
8391 # others require no space. Words are not sufficient . . . .
8392 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether -R must be followed by a space" >&5
8393 $as_echo_n "checking whether -R must be followed by a space... " >&6; }
8394 ac_xsave_LIBS=$LIBS; LIBS="$LIBS -R$x_libraries"
8395 ac_xsave_c_werror_flag=$ac_c_werror_flag
8396 ac_c_werror_flag=yes
8397 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
8398 /* end confdefs.h. */
8401 main ()
8405 return 0;
8407 _ACEOF
8408 if ac_fn_c_try_link "$LINENO"; then :
8409 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
8410 $as_echo "no" >&6; }
8411 X_LIBS="$X_LIBS -R$x_libraries"
8412 else
8413 LIBS="$ac_xsave_LIBS -R $x_libraries"
8414 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
8415 /* end confdefs.h. */
8418 main ()
8422 return 0;
8424 _ACEOF
8425 if ac_fn_c_try_link "$LINENO"; then :
8426 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
8427 $as_echo "yes" >&6; }
8428 X_LIBS="$X_LIBS -R $x_libraries"
8429 else
8430 { $as_echo "$as_me:${as_lineno-$LINENO}: result: neither works" >&5
8431 $as_echo "neither works" >&6; }
8433 rm -f core conftest.err conftest.$ac_objext \
8434 conftest$ac_exeext conftest.$ac_ext
8436 rm -f core conftest.err conftest.$ac_objext \
8437 conftest$ac_exeext conftest.$ac_ext
8438 ac_c_werror_flag=$ac_xsave_c_werror_flag
8439 LIBS=$ac_xsave_LIBS
8442 # Check for system-dependent libraries X programs must link with.
8443 # Do this before checking for the system-independent R6 libraries
8444 # (-lICE), since we may need -lsocket or whatever for X linking.
8446 if test "$ISC" = yes; then
8447 X_EXTRA_LIBS="$X_EXTRA_LIBS -lnsl_s -linet"
8448 else
8449 # Martyn Johnson says this is needed for Ultrix, if the X
8450 # libraries were built with DECnet support. And Karl Berry says
8451 # the Alpha needs dnet_stub (dnet does not exist).
8452 ac_xsave_LIBS="$LIBS"; LIBS="$LIBS $X_LIBS -lX11"
8453 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
8454 /* end confdefs.h. */
8456 /* Override any GCC internal prototype to avoid an error.
8457 Use char because int might match the return type of a GCC
8458 builtin and then its argument prototype would still apply. */
8459 #ifdef __cplusplus
8460 extern "C"
8461 #endif
8462 char XOpenDisplay ();
8464 main ()
8466 return XOpenDisplay ();
8468 return 0;
8470 _ACEOF
8471 if ac_fn_c_try_link "$LINENO"; then :
8473 else
8474 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dnet_ntoa in -ldnet" >&5
8475 $as_echo_n "checking for dnet_ntoa in -ldnet... " >&6; }
8476 if ${ac_cv_lib_dnet_dnet_ntoa+:} false; then :
8477 $as_echo_n "(cached) " >&6
8478 else
8479 ac_check_lib_save_LIBS=$LIBS
8480 LIBS="-ldnet $LIBS"
8481 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
8482 /* end confdefs.h. */
8484 /* Override any GCC internal prototype to avoid an error.
8485 Use char because int might match the return type of a GCC
8486 builtin and then its argument prototype would still apply. */
8487 #ifdef __cplusplus
8488 extern "C"
8489 #endif
8490 char dnet_ntoa ();
8492 main ()
8494 return dnet_ntoa ();
8496 return 0;
8498 _ACEOF
8499 if ac_fn_c_try_link "$LINENO"; then :
8500 ac_cv_lib_dnet_dnet_ntoa=yes
8501 else
8502 ac_cv_lib_dnet_dnet_ntoa=no
8504 rm -f core conftest.err conftest.$ac_objext \
8505 conftest$ac_exeext conftest.$ac_ext
8506 LIBS=$ac_check_lib_save_LIBS
8508 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dnet_dnet_ntoa" >&5
8509 $as_echo "$ac_cv_lib_dnet_dnet_ntoa" >&6; }
8510 if test "x$ac_cv_lib_dnet_dnet_ntoa" = xyes; then :
8511 X_EXTRA_LIBS="$X_EXTRA_LIBS -ldnet"
8514 if test $ac_cv_lib_dnet_dnet_ntoa = no; then
8515 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dnet_ntoa in -ldnet_stub" >&5
8516 $as_echo_n "checking for dnet_ntoa in -ldnet_stub... " >&6; }
8517 if ${ac_cv_lib_dnet_stub_dnet_ntoa+:} false; then :
8518 $as_echo_n "(cached) " >&6
8519 else
8520 ac_check_lib_save_LIBS=$LIBS
8521 LIBS="-ldnet_stub $LIBS"
8522 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
8523 /* end confdefs.h. */
8525 /* Override any GCC internal prototype to avoid an error.
8526 Use char because int might match the return type of a GCC
8527 builtin and then its argument prototype would still apply. */
8528 #ifdef __cplusplus
8529 extern "C"
8530 #endif
8531 char dnet_ntoa ();
8533 main ()
8535 return dnet_ntoa ();
8537 return 0;
8539 _ACEOF
8540 if ac_fn_c_try_link "$LINENO"; then :
8541 ac_cv_lib_dnet_stub_dnet_ntoa=yes
8542 else
8543 ac_cv_lib_dnet_stub_dnet_ntoa=no
8545 rm -f core conftest.err conftest.$ac_objext \
8546 conftest$ac_exeext conftest.$ac_ext
8547 LIBS=$ac_check_lib_save_LIBS
8549 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dnet_stub_dnet_ntoa" >&5
8550 $as_echo "$ac_cv_lib_dnet_stub_dnet_ntoa" >&6; }
8551 if test "x$ac_cv_lib_dnet_stub_dnet_ntoa" = xyes; then :
8552 X_EXTRA_LIBS="$X_EXTRA_LIBS -ldnet_stub"
8557 rm -f core conftest.err conftest.$ac_objext \
8558 conftest$ac_exeext conftest.$ac_ext
8559 LIBS="$ac_xsave_LIBS"
8561 # msh@cis.ufl.edu says -lnsl (and -lsocket) are needed for his 386/AT,
8562 # to get the SysV transport functions.
8563 # Chad R. Larson says the Pyramis MIS-ES running DC/OSx (SVR4)
8564 # needs -lnsl.
8565 # The nsl library prevents programs from opening the X display
8566 # on Irix 5.2, according to T.E. Dickey.
8567 # The functions gethostbyname, getservbyname, and inet_addr are
8568 # in -lbsd on LynxOS 3.0.1/i386, according to Lars Hecking.
8569 ac_fn_c_check_func "$LINENO" "gethostbyname" "ac_cv_func_gethostbyname"
8570 if test "x$ac_cv_func_gethostbyname" = xyes; then :
8574 if test $ac_cv_func_gethostbyname = no; then
8575 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for gethostbyname in -lnsl" >&5
8576 $as_echo_n "checking for gethostbyname in -lnsl... " >&6; }
8577 if ${ac_cv_lib_nsl_gethostbyname+:} false; then :
8578 $as_echo_n "(cached) " >&6
8579 else
8580 ac_check_lib_save_LIBS=$LIBS
8581 LIBS="-lnsl $LIBS"
8582 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
8583 /* end confdefs.h. */
8585 /* Override any GCC internal prototype to avoid an error.
8586 Use char because int might match the return type of a GCC
8587 builtin and then its argument prototype would still apply. */
8588 #ifdef __cplusplus
8589 extern "C"
8590 #endif
8591 char gethostbyname ();
8593 main ()
8595 return gethostbyname ();
8597 return 0;
8599 _ACEOF
8600 if ac_fn_c_try_link "$LINENO"; then :
8601 ac_cv_lib_nsl_gethostbyname=yes
8602 else
8603 ac_cv_lib_nsl_gethostbyname=no
8605 rm -f core conftest.err conftest.$ac_objext \
8606 conftest$ac_exeext conftest.$ac_ext
8607 LIBS=$ac_check_lib_save_LIBS
8609 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_nsl_gethostbyname" >&5
8610 $as_echo "$ac_cv_lib_nsl_gethostbyname" >&6; }
8611 if test "x$ac_cv_lib_nsl_gethostbyname" = xyes; then :
8612 X_EXTRA_LIBS="$X_EXTRA_LIBS -lnsl"
8615 if test $ac_cv_lib_nsl_gethostbyname = no; then
8616 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for gethostbyname in -lbsd" >&5
8617 $as_echo_n "checking for gethostbyname in -lbsd... " >&6; }
8618 if ${ac_cv_lib_bsd_gethostbyname+:} false; then :
8619 $as_echo_n "(cached) " >&6
8620 else
8621 ac_check_lib_save_LIBS=$LIBS
8622 LIBS="-lbsd $LIBS"
8623 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
8624 /* end confdefs.h. */
8626 /* Override any GCC internal prototype to avoid an error.
8627 Use char because int might match the return type of a GCC
8628 builtin and then its argument prototype would still apply. */
8629 #ifdef __cplusplus
8630 extern "C"
8631 #endif
8632 char gethostbyname ();
8634 main ()
8636 return gethostbyname ();
8638 return 0;
8640 _ACEOF
8641 if ac_fn_c_try_link "$LINENO"; then :
8642 ac_cv_lib_bsd_gethostbyname=yes
8643 else
8644 ac_cv_lib_bsd_gethostbyname=no
8646 rm -f core conftest.err conftest.$ac_objext \
8647 conftest$ac_exeext conftest.$ac_ext
8648 LIBS=$ac_check_lib_save_LIBS
8650 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_bsd_gethostbyname" >&5
8651 $as_echo "$ac_cv_lib_bsd_gethostbyname" >&6; }
8652 if test "x$ac_cv_lib_bsd_gethostbyname" = xyes; then :
8653 X_EXTRA_LIBS="$X_EXTRA_LIBS -lbsd"
8659 # lieder@skyler.mavd.honeywell.com says without -lsocket,
8660 # socket/setsockopt and other routines are undefined under SCO ODT
8661 # 2.0. But -lsocket is broken on IRIX 5.2 (and is not necessary
8662 # on later versions), says Simon Leinen: it contains gethostby*
8663 # variants that don't use the name server (or something). -lsocket
8664 # must be given before -lnsl if both are needed. We assume that
8665 # if connect needs -lnsl, so does gethostbyname.
8666 ac_fn_c_check_func "$LINENO" "connect" "ac_cv_func_connect"
8667 if test "x$ac_cv_func_connect" = xyes; then :
8671 if test $ac_cv_func_connect = no; then
8672 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for connect in -lsocket" >&5
8673 $as_echo_n "checking for connect in -lsocket... " >&6; }
8674 if ${ac_cv_lib_socket_connect+:} false; then :
8675 $as_echo_n "(cached) " >&6
8676 else
8677 ac_check_lib_save_LIBS=$LIBS
8678 LIBS="-lsocket $X_EXTRA_LIBS $LIBS"
8679 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
8680 /* end confdefs.h. */
8682 /* Override any GCC internal prototype to avoid an error.
8683 Use char because int might match the return type of a GCC
8684 builtin and then its argument prototype would still apply. */
8685 #ifdef __cplusplus
8686 extern "C"
8687 #endif
8688 char connect ();
8690 main ()
8692 return connect ();
8694 return 0;
8696 _ACEOF
8697 if ac_fn_c_try_link "$LINENO"; then :
8698 ac_cv_lib_socket_connect=yes
8699 else
8700 ac_cv_lib_socket_connect=no
8702 rm -f core conftest.err conftest.$ac_objext \
8703 conftest$ac_exeext conftest.$ac_ext
8704 LIBS=$ac_check_lib_save_LIBS
8706 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_socket_connect" >&5
8707 $as_echo "$ac_cv_lib_socket_connect" >&6; }
8708 if test "x$ac_cv_lib_socket_connect" = xyes; then :
8709 X_EXTRA_LIBS="-lsocket $X_EXTRA_LIBS"
8714 # Guillermo Gomez says -lposix is necessary on A/UX.
8715 ac_fn_c_check_func "$LINENO" "remove" "ac_cv_func_remove"
8716 if test "x$ac_cv_func_remove" = xyes; then :
8720 if test $ac_cv_func_remove = no; then
8721 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for remove in -lposix" >&5
8722 $as_echo_n "checking for remove in -lposix... " >&6; }
8723 if ${ac_cv_lib_posix_remove+:} false; then :
8724 $as_echo_n "(cached) " >&6
8725 else
8726 ac_check_lib_save_LIBS=$LIBS
8727 LIBS="-lposix $LIBS"
8728 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
8729 /* end confdefs.h. */
8731 /* Override any GCC internal prototype to avoid an error.
8732 Use char because int might match the return type of a GCC
8733 builtin and then its argument prototype would still apply. */
8734 #ifdef __cplusplus
8735 extern "C"
8736 #endif
8737 char remove ();
8739 main ()
8741 return remove ();
8743 return 0;
8745 _ACEOF
8746 if ac_fn_c_try_link "$LINENO"; then :
8747 ac_cv_lib_posix_remove=yes
8748 else
8749 ac_cv_lib_posix_remove=no
8751 rm -f core conftest.err conftest.$ac_objext \
8752 conftest$ac_exeext conftest.$ac_ext
8753 LIBS=$ac_check_lib_save_LIBS
8755 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_posix_remove" >&5
8756 $as_echo "$ac_cv_lib_posix_remove" >&6; }
8757 if test "x$ac_cv_lib_posix_remove" = xyes; then :
8758 X_EXTRA_LIBS="$X_EXTRA_LIBS -lposix"
8763 # BSDI BSD/OS 2.1 needs -lipc for XOpenDisplay.
8764 ac_fn_c_check_func "$LINENO" "shmat" "ac_cv_func_shmat"
8765 if test "x$ac_cv_func_shmat" = xyes; then :
8769 if test $ac_cv_func_shmat = no; then
8770 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for shmat in -lipc" >&5
8771 $as_echo_n "checking for shmat in -lipc... " >&6; }
8772 if ${ac_cv_lib_ipc_shmat+:} false; then :
8773 $as_echo_n "(cached) " >&6
8774 else
8775 ac_check_lib_save_LIBS=$LIBS
8776 LIBS="-lipc $LIBS"
8777 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
8778 /* end confdefs.h. */
8780 /* Override any GCC internal prototype to avoid an error.
8781 Use char because int might match the return type of a GCC
8782 builtin and then its argument prototype would still apply. */
8783 #ifdef __cplusplus
8784 extern "C"
8785 #endif
8786 char shmat ();
8788 main ()
8790 return shmat ();
8792 return 0;
8794 _ACEOF
8795 if ac_fn_c_try_link "$LINENO"; then :
8796 ac_cv_lib_ipc_shmat=yes
8797 else
8798 ac_cv_lib_ipc_shmat=no
8800 rm -f core conftest.err conftest.$ac_objext \
8801 conftest$ac_exeext conftest.$ac_ext
8802 LIBS=$ac_check_lib_save_LIBS
8804 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_ipc_shmat" >&5
8805 $as_echo "$ac_cv_lib_ipc_shmat" >&6; }
8806 if test "x$ac_cv_lib_ipc_shmat" = xyes; then :
8807 X_EXTRA_LIBS="$X_EXTRA_LIBS -lipc"
8813 # Check for libraries that X11R6 Xt/Xaw programs need.
8814 ac_save_LDFLAGS=$LDFLAGS
8815 test -n "$x_libraries" && LDFLAGS="$LDFLAGS -L$x_libraries"
8816 # SM needs ICE to (dynamically) link under SunOS 4.x (so we have to
8817 # check for ICE first), but we must link in the order -lSM -lICE or
8818 # we get undefined symbols. So assume we have SM if we have ICE.
8819 # These have to be linked with before -lX11, unlike the other
8820 # libraries we check for below, so use a different variable.
8821 # John Interrante, Karl Berry
8822 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for IceConnectionNumber in -lICE" >&5
8823 $as_echo_n "checking for IceConnectionNumber in -lICE... " >&6; }
8824 if ${ac_cv_lib_ICE_IceConnectionNumber+:} false; then :
8825 $as_echo_n "(cached) " >&6
8826 else
8827 ac_check_lib_save_LIBS=$LIBS
8828 LIBS="-lICE $X_EXTRA_LIBS $LIBS"
8829 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
8830 /* end confdefs.h. */
8832 /* Override any GCC internal prototype to avoid an error.
8833 Use char because int might match the return type of a GCC
8834 builtin and then its argument prototype would still apply. */
8835 #ifdef __cplusplus
8836 extern "C"
8837 #endif
8838 char IceConnectionNumber ();
8840 main ()
8842 return IceConnectionNumber ();
8844 return 0;
8846 _ACEOF
8847 if ac_fn_c_try_link "$LINENO"; then :
8848 ac_cv_lib_ICE_IceConnectionNumber=yes
8849 else
8850 ac_cv_lib_ICE_IceConnectionNumber=no
8852 rm -f core conftest.err conftest.$ac_objext \
8853 conftest$ac_exeext conftest.$ac_ext
8854 LIBS=$ac_check_lib_save_LIBS
8856 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_ICE_IceConnectionNumber" >&5
8857 $as_echo "$ac_cv_lib_ICE_IceConnectionNumber" >&6; }
8858 if test "x$ac_cv_lib_ICE_IceConnectionNumber" = xyes; then :
8859 X_PRE_LIBS="$X_PRE_LIBS -lSM -lICE"
8862 LDFLAGS=$ac_save_LDFLAGS
8867 if test "$have_x" = "yes"
8868 then
8869 XLIB="-lX11"
8870 ac_save_CPPFLAGS="$CPPFLAGS"
8871 CPPFLAGS="$CPPFLAGS $X_CFLAGS"
8873 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lX11" >&5
8874 $as_echo_n "checking for -lX11... " >&6; }
8875 if ${ac_cv_lib_soname_X11+:} false; then :
8876 $as_echo_n "(cached) " >&6
8877 else
8878 ac_check_soname_save_LIBS=$LIBS
8879 LIBS="-lX11 $X_LIBS $X_EXTRA_LIBS $LIBS"
8880 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
8881 /* end confdefs.h. */
8883 /* Override any GCC internal prototype to avoid an error.
8884 Use char because int might match the return type of a GCC
8885 builtin and then its argument prototype would still apply. */
8886 #ifdef __cplusplus
8887 extern "C"
8888 #endif
8889 char XCreateWindow ();
8891 main ()
8893 return XCreateWindow ();
8895 return 0;
8897 _ACEOF
8898 if ac_fn_c_try_link "$LINENO"; then :
8899 case "$LIBEXT" in
8900 dll) ac_cv_lib_soname_X11=`$ac_cv_path_LDD conftest.exe | grep "X11" | sed -e "s/dll.*/dll/"';2,$d'` ;;
8901 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'` ;;
8902 *) ac_cv_lib_soname_X11=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libX11\\.$LIBEXT" | sed -e "s/^.*\\[\\(libX11\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
8903 if test "x$ac_cv_lib_soname_X11" = x; then :
8904 ac_cv_lib_soname_X11=`$LDD conftest$ac_exeext | grep "libX11\\.$LIBEXT" | sed -e "s/^.*\(libX11\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
8905 fi ;;
8906 esac
8908 rm -f core conftest.err conftest.$ac_objext \
8909 conftest$ac_exeext conftest.$ac_ext
8910 LIBS=$ac_check_soname_save_LIBS
8912 if test "x$ac_cv_lib_soname_X11" = "x"; then :
8913 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
8914 $as_echo "not found" >&6; }
8916 else
8917 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_X11" >&5
8918 $as_echo "$ac_cv_lib_soname_X11" >&6; }
8920 cat >>confdefs.h <<_ACEOF
8921 #define SONAME_LIBX11 "$ac_cv_lib_soname_X11"
8922 _ACEOF
8926 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lXext" >&5
8927 $as_echo_n "checking for -lXext... " >&6; }
8928 if ${ac_cv_lib_soname_Xext+:} false; then :
8929 $as_echo_n "(cached) " >&6
8930 else
8931 ac_check_soname_save_LIBS=$LIBS
8932 LIBS="-lXext $X_LIBS -lX11 $X_EXTRA_LIBS $LIBS"
8933 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
8934 /* end confdefs.h. */
8936 /* Override any GCC internal prototype to avoid an error.
8937 Use char because int might match the return type of a GCC
8938 builtin and then its argument prototype would still apply. */
8939 #ifdef __cplusplus
8940 extern "C"
8941 #endif
8942 char XextCreateExtension ();
8944 main ()
8946 return XextCreateExtension ();
8948 return 0;
8950 _ACEOF
8951 if ac_fn_c_try_link "$LINENO"; then :
8952 case "$LIBEXT" in
8953 dll) ac_cv_lib_soname_Xext=`$ac_cv_path_LDD conftest.exe | grep "Xext" | sed -e "s/dll.*/dll/"';2,$d'` ;;
8954 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'` ;;
8955 *) ac_cv_lib_soname_Xext=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libXext\\.$LIBEXT" | sed -e "s/^.*\\[\\(libXext\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
8956 if test "x$ac_cv_lib_soname_Xext" = x; then :
8957 ac_cv_lib_soname_Xext=`$LDD conftest$ac_exeext | grep "libXext\\.$LIBEXT" | sed -e "s/^.*\(libXext\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
8958 fi ;;
8959 esac
8961 rm -f core conftest.err conftest.$ac_objext \
8962 conftest$ac_exeext conftest.$ac_ext
8963 LIBS=$ac_check_soname_save_LIBS
8965 if test "x$ac_cv_lib_soname_Xext" = "x"; then :
8966 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
8967 $as_echo "not found" >&6; }
8969 else
8970 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_Xext" >&5
8971 $as_echo "$ac_cv_lib_soname_Xext" >&6; }
8973 cat >>confdefs.h <<_ACEOF
8974 #define SONAME_LIBXEXT "$ac_cv_lib_soname_Xext"
8975 _ACEOF
8977 XLIB="-lXext $XLIB"
8980 for ac_header in X11/Xlib.h \
8981 X11/XKBlib.h \
8982 X11/Xutil.h \
8983 X11/Xcursor/Xcursor.h \
8984 X11/extensions/shape.h \
8985 X11/extensions/XInput.h \
8986 X11/extensions/XInput2.h \
8987 X11/extensions/XShm.h \
8988 X11/extensions/Xcomposite.h \
8989 X11/extensions/Xinerama.h \
8990 X11/extensions/Xrandr.h \
8991 X11/extensions/Xrender.h \
8992 X11/extensions/xf86vmode.h \
8993 X11/extensions/xf86vmproto.h
8994 do :
8995 as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
8996 ac_fn_c_check_header_compile "$LINENO" "$ac_header" "$as_ac_Header" "#ifdef HAVE_X11_XLIB_H
8997 # include <X11/Xlib.h>
8998 #endif
8999 #ifdef HAVE_X11_XUTIL_H
9000 # include <X11/Xutil.h>
9001 #endif
9003 if eval test \"x\$"$as_ac_Header"\" = x"yes"; then :
9004 cat >>confdefs.h <<_ACEOF
9005 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
9006 _ACEOF
9010 done
9013 if test "$ac_cv_header_X11_XKBlib_h" = "yes"
9014 then
9015 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for XkbQueryExtension in -lX11" >&5
9016 $as_echo_n "checking for XkbQueryExtension in -lX11... " >&6; }
9017 if ${ac_cv_lib_X11_XkbQueryExtension+:} false; then :
9018 $as_echo_n "(cached) " >&6
9019 else
9020 ac_check_lib_save_LIBS=$LIBS
9021 LIBS="-lX11 $X_LIBS $XLIB $X_EXTRA_LIBS $LIBS"
9022 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9023 /* end confdefs.h. */
9025 /* Override any GCC internal prototype to avoid an error.
9026 Use char because int might match the return type of a GCC
9027 builtin and then its argument prototype would still apply. */
9028 #ifdef __cplusplus
9029 extern "C"
9030 #endif
9031 char XkbQueryExtension ();
9033 main ()
9035 return XkbQueryExtension ();
9037 return 0;
9039 _ACEOF
9040 if ac_fn_c_try_link "$LINENO"; then :
9041 ac_cv_lib_X11_XkbQueryExtension=yes
9042 else
9043 ac_cv_lib_X11_XkbQueryExtension=no
9045 rm -f core conftest.err conftest.$ac_objext \
9046 conftest$ac_exeext conftest.$ac_ext
9047 LIBS=$ac_check_lib_save_LIBS
9049 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_X11_XkbQueryExtension" >&5
9050 $as_echo "$ac_cv_lib_X11_XkbQueryExtension" >&6; }
9051 if test "x$ac_cv_lib_X11_XkbQueryExtension" = xyes; then :
9053 $as_echo "#define HAVE_XKB 1" >>confdefs.h
9059 if test "$ac_cv_header_X11_Xcursor_Xcursor_h" = "yes"
9060 then
9061 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lXcursor" >&5
9062 $as_echo_n "checking for -lXcursor... " >&6; }
9063 if ${ac_cv_lib_soname_Xcursor+:} false; then :
9064 $as_echo_n "(cached) " >&6
9065 else
9066 ac_check_soname_save_LIBS=$LIBS
9067 LIBS="-lXcursor $X_LIBS $XLIB $X_EXTRA_LIBS $LIBS"
9068 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9069 /* end confdefs.h. */
9071 /* Override any GCC internal prototype to avoid an error.
9072 Use char because int might match the return type of a GCC
9073 builtin and then its argument prototype would still apply. */
9074 #ifdef __cplusplus
9075 extern "C"
9076 #endif
9077 char XcursorImageLoadCursor ();
9079 main ()
9081 return XcursorImageLoadCursor ();
9083 return 0;
9085 _ACEOF
9086 if ac_fn_c_try_link "$LINENO"; then :
9087 case "$LIBEXT" in
9088 dll) ac_cv_lib_soname_Xcursor=`$ac_cv_path_LDD conftest.exe | grep "Xcursor" | sed -e "s/dll.*/dll/"';2,$d'` ;;
9089 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'` ;;
9090 *) ac_cv_lib_soname_Xcursor=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libXcursor\\.$LIBEXT" | sed -e "s/^.*\\[\\(libXcursor\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
9091 if test "x$ac_cv_lib_soname_Xcursor" = x; then :
9092 ac_cv_lib_soname_Xcursor=`$LDD conftest$ac_exeext | grep "libXcursor\\.$LIBEXT" | sed -e "s/^.*\(libXcursor\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
9093 fi ;;
9094 esac
9096 rm -f core conftest.err conftest.$ac_objext \
9097 conftest$ac_exeext conftest.$ac_ext
9098 LIBS=$ac_check_soname_save_LIBS
9100 if test "x$ac_cv_lib_soname_Xcursor" = "x"; then :
9101 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
9102 $as_echo "not found" >&6; }
9104 else
9105 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_Xcursor" >&5
9106 $as_echo "$ac_cv_lib_soname_Xcursor" >&6; }
9108 cat >>confdefs.h <<_ACEOF
9109 #define SONAME_LIBXCURSOR "$ac_cv_lib_soname_Xcursor"
9110 _ACEOF
9115 if test "x$ac_cv_lib_soname_Xcursor" = "x"; then :
9116 case "x$with_xcursor" in
9117 x) as_fn_append wine_notices "|libxcursor ${notice_platform}development files not found, the Xcursor extension won't be supported." ;;
9118 xno) ;;
9119 *) as_fn_error $? "libxcursor ${notice_platform}development files not found, the Xcursor extension won't be supported.
9120 This is an error since --with-xcursor was requested." "$LINENO" 5 ;;
9121 esac
9124 if test "$ac_cv_header_X11_extensions_XInput_h" = "yes"
9125 then
9126 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lXi" >&5
9127 $as_echo_n "checking for -lXi... " >&6; }
9128 if ${ac_cv_lib_soname_Xi+:} false; then :
9129 $as_echo_n "(cached) " >&6
9130 else
9131 ac_check_soname_save_LIBS=$LIBS
9132 LIBS="-lXi $X_LIBS $XLIB $X_EXTRA_LIBS $LIBS"
9133 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9134 /* end confdefs.h. */
9136 /* Override any GCC internal prototype to avoid an error.
9137 Use char because int might match the return type of a GCC
9138 builtin and then its argument prototype would still apply. */
9139 #ifdef __cplusplus
9140 extern "C"
9141 #endif
9142 char XOpenDevice ();
9144 main ()
9146 return XOpenDevice ();
9148 return 0;
9150 _ACEOF
9151 if ac_fn_c_try_link "$LINENO"; then :
9152 case "$LIBEXT" in
9153 dll) ac_cv_lib_soname_Xi=`$ac_cv_path_LDD conftest.exe | grep "Xi" | sed -e "s/dll.*/dll/"';2,$d'` ;;
9154 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'` ;;
9155 *) ac_cv_lib_soname_Xi=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libXi\\.$LIBEXT" | sed -e "s/^.*\\[\\(libXi\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
9156 if test "x$ac_cv_lib_soname_Xi" = x; then :
9157 ac_cv_lib_soname_Xi=`$LDD conftest$ac_exeext | grep "libXi\\.$LIBEXT" | sed -e "s/^.*\(libXi\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
9158 fi ;;
9159 esac
9161 rm -f core conftest.err conftest.$ac_objext \
9162 conftest$ac_exeext conftest.$ac_ext
9163 LIBS=$ac_check_soname_save_LIBS
9165 if test "x$ac_cv_lib_soname_Xi" = "x"; then :
9166 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
9167 $as_echo "not found" >&6; }
9169 else
9170 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_Xi" >&5
9171 $as_echo "$ac_cv_lib_soname_Xi" >&6; }
9173 cat >>confdefs.h <<_ACEOF
9174 #define SONAME_LIBXI "$ac_cv_lib_soname_Xi"
9175 _ACEOF
9180 if test "x$ac_cv_lib_soname_Xi" = "x"; then :
9181 case "x$with_xinput" in
9182 x) as_fn_append wine_notices "|libxi ${notice_platform}development files not found, the Xinput extension won't be supported." ;;
9183 xno) ;;
9184 *) as_fn_error $? "libxi ${notice_platform}development files not found, the Xinput extension won't be supported.
9185 This is an error since --with-xinput was requested." "$LINENO" 5 ;;
9186 esac
9189 if test "x$ac_cv_lib_soname_Xi" != x
9190 then
9191 if test "$ac_cv_header_X11_extensions_XInput2_h" != "yes"; then :
9192 case "x$with_xinput2" in
9193 x) as_fn_append wine_notices "|XInput2 headers not found, the XInput 2 extension won't be supported." ;;
9194 xno) ;;
9195 *) as_fn_error $? "XInput2 headers not found, the XInput 2 extension won't be supported.
9196 This is an error since --with-xinput2 was requested." "$LINENO" 5 ;;
9197 esac
9201 if test "$ac_cv_header_X11_extensions_XShm_h" = "yes"
9202 then
9203 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for XShmQueryExtension in -lXext" >&5
9204 $as_echo_n "checking for XShmQueryExtension in -lXext... " >&6; }
9205 if ${ac_cv_lib_Xext_XShmQueryExtension+:} false; then :
9206 $as_echo_n "(cached) " >&6
9207 else
9208 ac_check_lib_save_LIBS=$LIBS
9209 LIBS="-lXext $X_LIBS $XLIB $X_EXTRA_LIBS $LIBS"
9210 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9211 /* end confdefs.h. */
9213 /* Override any GCC internal prototype to avoid an error.
9214 Use char because int might match the return type of a GCC
9215 builtin and then its argument prototype would still apply. */
9216 #ifdef __cplusplus
9217 extern "C"
9218 #endif
9219 char XShmQueryExtension ();
9221 main ()
9223 return XShmQueryExtension ();
9225 return 0;
9227 _ACEOF
9228 if ac_fn_c_try_link "$LINENO"; then :
9229 ac_cv_lib_Xext_XShmQueryExtension=yes
9230 else
9231 ac_cv_lib_Xext_XShmQueryExtension=no
9233 rm -f core conftest.err conftest.$ac_objext \
9234 conftest$ac_exeext conftest.$ac_ext
9235 LIBS=$ac_check_lib_save_LIBS
9237 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_Xext_XShmQueryExtension" >&5
9238 $as_echo "$ac_cv_lib_Xext_XShmQueryExtension" >&6; }
9239 if test "x$ac_cv_lib_Xext_XShmQueryExtension" = xyes; then :
9241 $as_echo "#define HAVE_LIBXXSHM 1" >>confdefs.h
9246 if test "$ac_cv_lib_Xext_XShmQueryExtension" != "yes"; then :
9247 case "x$with_xshm" in
9248 x) as_fn_append wine_notices "|XShm ${notice_platform}development files not found, X Shared Memory won't be supported." ;;
9249 xno) ;;
9250 *) as_fn_error $? "XShm ${notice_platform}development files not found, X Shared Memory won't be supported.
9251 This is an error since --with-xshm was requested." "$LINENO" 5 ;;
9252 esac
9255 if test "$ac_cv_header_X11_extensions_shape_h" = "yes"
9256 then
9257 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for XShapeQueryExtension in -lXext" >&5
9258 $as_echo_n "checking for XShapeQueryExtension in -lXext... " >&6; }
9259 if ${ac_cv_lib_Xext_XShapeQueryExtension+:} false; then :
9260 $as_echo_n "(cached) " >&6
9261 else
9262 ac_check_lib_save_LIBS=$LIBS
9263 LIBS="-lXext $X_LIBS $XLIB $X_EXTRA_LIBS $LIBS"
9264 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9265 /* end confdefs.h. */
9267 /* Override any GCC internal prototype to avoid an error.
9268 Use char because int might match the return type of a GCC
9269 builtin and then its argument prototype would still apply. */
9270 #ifdef __cplusplus
9271 extern "C"
9272 #endif
9273 char XShapeQueryExtension ();
9275 main ()
9277 return XShapeQueryExtension ();
9279 return 0;
9281 _ACEOF
9282 if ac_fn_c_try_link "$LINENO"; then :
9283 ac_cv_lib_Xext_XShapeQueryExtension=yes
9284 else
9285 ac_cv_lib_Xext_XShapeQueryExtension=no
9287 rm -f core conftest.err conftest.$ac_objext \
9288 conftest$ac_exeext conftest.$ac_ext
9289 LIBS=$ac_check_lib_save_LIBS
9291 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_Xext_XShapeQueryExtension" >&5
9292 $as_echo "$ac_cv_lib_Xext_XShapeQueryExtension" >&6; }
9293 if test "x$ac_cv_lib_Xext_XShapeQueryExtension" = xyes; then :
9295 $as_echo "#define HAVE_LIBXSHAPE 1" >>confdefs.h
9300 if test "$ac_cv_lib_Xext_XShapeQueryExtension" != "yes"; then :
9301 case "x$with_xshape" in
9302 x) as_fn_append wine_notices "|XShape ${notice_platform}development files not found, XShape won't be supported." ;;
9303 xno) ;;
9304 *) as_fn_error $? "XShape ${notice_platform}development files not found, XShape won't be supported.
9305 This is an error since --with-xshape was requested." "$LINENO" 5 ;;
9306 esac
9309 if test "$ac_cv_header_X11_extensions_xf86vmode_h" = "yes" -o "$ac_cv_header_X11_extensions_xf86vmproto_h" = "yes"
9310 then
9311 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lXxf86vm" >&5
9312 $as_echo_n "checking for -lXxf86vm... " >&6; }
9313 if ${ac_cv_lib_soname_Xxf86vm+:} false; then :
9314 $as_echo_n "(cached) " >&6
9315 else
9316 ac_check_soname_save_LIBS=$LIBS
9317 LIBS="-lXxf86vm $X_LIBS $XLIB $X_EXTRA_LIBS $LIBS"
9318 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9319 /* end confdefs.h. */
9321 /* Override any GCC internal prototype to avoid an error.
9322 Use char because int might match the return type of a GCC
9323 builtin and then its argument prototype would still apply. */
9324 #ifdef __cplusplus
9325 extern "C"
9326 #endif
9327 char XF86VidModeQueryExtension ();
9329 main ()
9331 return XF86VidModeQueryExtension ();
9333 return 0;
9335 _ACEOF
9336 if ac_fn_c_try_link "$LINENO"; then :
9337 case "$LIBEXT" in
9338 dll) ac_cv_lib_soname_Xxf86vm=`$ac_cv_path_LDD conftest.exe | grep "Xxf86vm" | sed -e "s/dll.*/dll/"';2,$d'` ;;
9339 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'` ;;
9340 *) ac_cv_lib_soname_Xxf86vm=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libXxf86vm\\.$LIBEXT" | sed -e "s/^.*\\[\\(libXxf86vm\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
9341 if test "x$ac_cv_lib_soname_Xxf86vm" = x; then :
9342 ac_cv_lib_soname_Xxf86vm=`$LDD conftest$ac_exeext | grep "libXxf86vm\\.$LIBEXT" | sed -e "s/^.*\(libXxf86vm\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
9343 fi ;;
9344 esac
9346 rm -f core conftest.err conftest.$ac_objext \
9347 conftest$ac_exeext conftest.$ac_ext
9348 LIBS=$ac_check_soname_save_LIBS
9350 if test "x$ac_cv_lib_soname_Xxf86vm" = "x"; then :
9351 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
9352 $as_echo "not found" >&6; }
9354 else
9355 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_Xxf86vm" >&5
9356 $as_echo "$ac_cv_lib_soname_Xxf86vm" >&6; }
9358 cat >>confdefs.h <<_ACEOF
9359 #define SONAME_LIBXXF86VM "$ac_cv_lib_soname_Xxf86vm"
9360 _ACEOF
9365 if test "x$ac_cv_lib_soname_Xxf86vm" = "x"; then :
9366 case "x$with_xxf86vm" in
9367 x) as_fn_append wine_notices "|libXxf86vm ${notice_platform}development files not found, XFree86 Vidmode won't be supported." ;;
9368 xno) ;;
9369 *) as_fn_error $? "libXxf86vm ${notice_platform}development files not found, XFree86 Vidmode won't be supported.
9370 This is an error since --with-xxf86vm was requested." "$LINENO" 5 ;;
9371 esac
9374 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"
9375 then
9376 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lXrender" >&5
9377 $as_echo_n "checking for -lXrender... " >&6; }
9378 if ${ac_cv_lib_soname_Xrender+:} false; then :
9379 $as_echo_n "(cached) " >&6
9380 else
9381 ac_check_soname_save_LIBS=$LIBS
9382 LIBS="-lXrender $X_LIBS $XLIB $X_EXTRA_LIBS $LIBS"
9383 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9384 /* end confdefs.h. */
9386 /* Override any GCC internal prototype to avoid an error.
9387 Use char because int might match the return type of a GCC
9388 builtin and then its argument prototype would still apply. */
9389 #ifdef __cplusplus
9390 extern "C"
9391 #endif
9392 char XRenderQueryExtension ();
9394 main ()
9396 return XRenderQueryExtension ();
9398 return 0;
9400 _ACEOF
9401 if ac_fn_c_try_link "$LINENO"; then :
9402 case "$LIBEXT" in
9403 dll) ac_cv_lib_soname_Xrender=`$ac_cv_path_LDD conftest.exe | grep "Xrender" | sed -e "s/dll.*/dll/"';2,$d'` ;;
9404 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'` ;;
9405 *) ac_cv_lib_soname_Xrender=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libXrender\\.$LIBEXT" | sed -e "s/^.*\\[\\(libXrender\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
9406 if test "x$ac_cv_lib_soname_Xrender" = x; then :
9407 ac_cv_lib_soname_Xrender=`$LDD conftest$ac_exeext | grep "libXrender\\.$LIBEXT" | sed -e "s/^.*\(libXrender\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
9408 fi ;;
9409 esac
9411 rm -f core conftest.err conftest.$ac_objext \
9412 conftest$ac_exeext conftest.$ac_ext
9413 LIBS=$ac_check_soname_save_LIBS
9415 if test "x$ac_cv_lib_soname_Xrender" = "x"; then :
9416 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
9417 $as_echo "not found" >&6; }
9419 else
9420 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_Xrender" >&5
9421 $as_echo "$ac_cv_lib_soname_Xrender" >&6; }
9423 cat >>confdefs.h <<_ACEOF
9424 #define SONAME_LIBXRENDER "$ac_cv_lib_soname_Xrender"
9425 _ACEOF
9427 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for XRenderSetPictureTransform in -lXrender" >&5
9428 $as_echo_n "checking for XRenderSetPictureTransform in -lXrender... " >&6; }
9429 if ${ac_cv_lib_Xrender_XRenderSetPictureTransform+:} false; then :
9430 $as_echo_n "(cached) " >&6
9431 else
9432 ac_check_lib_save_LIBS=$LIBS
9433 LIBS="-lXrender $X_LIBS $XLIB $X_EXTRA_LIBS $LIBS"
9434 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9435 /* end confdefs.h. */
9437 /* Override any GCC internal prototype to avoid an error.
9438 Use char because int might match the return type of a GCC
9439 builtin and then its argument prototype would still apply. */
9440 #ifdef __cplusplus
9441 extern "C"
9442 #endif
9443 char XRenderSetPictureTransform ();
9445 main ()
9447 return XRenderSetPictureTransform ();
9449 return 0;
9451 _ACEOF
9452 if ac_fn_c_try_link "$LINENO"; then :
9453 ac_cv_lib_Xrender_XRenderSetPictureTransform=yes
9454 else
9455 ac_cv_lib_Xrender_XRenderSetPictureTransform=no
9457 rm -f core conftest.err conftest.$ac_objext \
9458 conftest$ac_exeext conftest.$ac_ext
9459 LIBS=$ac_check_lib_save_LIBS
9461 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_Xrender_XRenderSetPictureTransform" >&5
9462 $as_echo "$ac_cv_lib_Xrender_XRenderSetPictureTransform" >&6; }
9463 if test "x$ac_cv_lib_Xrender_XRenderSetPictureTransform" = xyes; then :
9465 $as_echo "#define HAVE_XRENDERSETPICTURETRANSFORM 1" >>confdefs.h
9469 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for XRenderCreateLinearGradient in -lXrender" >&5
9470 $as_echo_n "checking for XRenderCreateLinearGradient in -lXrender... " >&6; }
9471 if ${ac_cv_lib_Xrender_XRenderCreateLinearGradient+:} false; then :
9472 $as_echo_n "(cached) " >&6
9473 else
9474 ac_check_lib_save_LIBS=$LIBS
9475 LIBS="-lXrender $X_LIBS $XLIB $X_EXTRA_LIBS $LIBS"
9476 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9477 /* end confdefs.h. */
9479 /* Override any GCC internal prototype to avoid an error.
9480 Use char because int might match the return type of a GCC
9481 builtin and then its argument prototype would still apply. */
9482 #ifdef __cplusplus
9483 extern "C"
9484 #endif
9485 char XRenderCreateLinearGradient ();
9487 main ()
9489 return XRenderCreateLinearGradient ();
9491 return 0;
9493 _ACEOF
9494 if ac_fn_c_try_link "$LINENO"; then :
9495 ac_cv_lib_Xrender_XRenderCreateLinearGradient=yes
9496 else
9497 ac_cv_lib_Xrender_XRenderCreateLinearGradient=no
9499 rm -f core conftest.err conftest.$ac_objext \
9500 conftest$ac_exeext conftest.$ac_ext
9501 LIBS=$ac_check_lib_save_LIBS
9503 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_Xrender_XRenderCreateLinearGradient" >&5
9504 $as_echo "$ac_cv_lib_Xrender_XRenderCreateLinearGradient" >&6; }
9505 if test "x$ac_cv_lib_Xrender_XRenderCreateLinearGradient" = xyes; then :
9507 $as_echo "#define HAVE_XRENDERCREATELINEARGRADIENT 1" >>confdefs.h
9514 if test "x$ac_cv_lib_soname_Xrender" = "x"; then :
9515 case "x$with_xrender" in
9516 x) as_fn_append wine_warnings "|libxrender ${notice_platform}development files not found, XRender won't be supported." ;;
9517 xno) ;;
9518 *) as_fn_error $? "libxrender ${notice_platform}development files not found, XRender won't be supported.
9519 This is an error since --with-xrender was requested." "$LINENO" 5 ;;
9520 esac
9523 if test "$ac_cv_header_X11_extensions_Xrandr_h" = "yes" -a "x$ac_cv_lib_soname_Xrender" != "x"
9524 then
9525 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9526 /* end confdefs.h. */
9527 #include <X11/Xlib.h>
9528 #include <X11/extensions/Xrandr.h>
9530 main ()
9532 static typeof(XRRSetScreenConfigAndRate) * func; if (func) return 0;
9534 return 0;
9536 _ACEOF
9537 if ac_fn_c_try_compile "$LINENO"; then :
9538 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lXrandr" >&5
9539 $as_echo_n "checking for -lXrandr... " >&6; }
9540 if ${ac_cv_lib_soname_Xrandr+:} false; then :
9541 $as_echo_n "(cached) " >&6
9542 else
9543 ac_check_soname_save_LIBS=$LIBS
9544 LIBS="-lXrandr $X_LIBS $XLIB $X_EXTRA_LIBS $LIBS"
9545 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9546 /* end confdefs.h. */
9548 /* Override any GCC internal prototype to avoid an error.
9549 Use char because int might match the return type of a GCC
9550 builtin and then its argument prototype would still apply. */
9551 #ifdef __cplusplus
9552 extern "C"
9553 #endif
9554 char XRRQueryExtension ();
9556 main ()
9558 return XRRQueryExtension ();
9560 return 0;
9562 _ACEOF
9563 if ac_fn_c_try_link "$LINENO"; then :
9564 case "$LIBEXT" in
9565 dll) ac_cv_lib_soname_Xrandr=`$ac_cv_path_LDD conftest.exe | grep "Xrandr" | sed -e "s/dll.*/dll/"';2,$d'` ;;
9566 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'` ;;
9567 *) ac_cv_lib_soname_Xrandr=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libXrandr\\.$LIBEXT" | sed -e "s/^.*\\[\\(libXrandr\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
9568 if test "x$ac_cv_lib_soname_Xrandr" = x; then :
9569 ac_cv_lib_soname_Xrandr=`$LDD conftest$ac_exeext | grep "libXrandr\\.$LIBEXT" | sed -e "s/^.*\(libXrandr\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
9570 fi ;;
9571 esac
9573 rm -f core conftest.err conftest.$ac_objext \
9574 conftest$ac_exeext conftest.$ac_ext
9575 LIBS=$ac_check_soname_save_LIBS
9577 if test "x$ac_cv_lib_soname_Xrandr" = "x"; then :
9578 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
9579 $as_echo "not found" >&6; }
9581 else
9582 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_Xrandr" >&5
9583 $as_echo "$ac_cv_lib_soname_Xrandr" >&6; }
9585 cat >>confdefs.h <<_ACEOF
9586 #define SONAME_LIBXRANDR "$ac_cv_lib_soname_Xrandr"
9587 _ACEOF
9589 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9590 /* end confdefs.h. */
9591 #include <X11/Xlib.h>
9592 #include <X11/extensions/Xrandr.h>
9594 main ()
9596 static typeof(XRRGetScreenResources) *f; if (f) return 0;
9598 return 0;
9600 _ACEOF
9601 if ac_fn_c_try_compile "$LINENO"; then :
9603 $as_echo "#define HAVE_XRRGETSCREENRESOURCES 1" >>confdefs.h
9606 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
9609 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
9611 if test "x$ac_cv_lib_soname_Xrandr" = "x"; then :
9612 case "x$with_xrandr" in
9613 x) as_fn_append wine_notices "|libxrandr ${notice_platform}development files not found, XRandr won't be supported." ;;
9614 xno) ;;
9615 *) as_fn_error $? "libxrandr ${notice_platform}development files not found, XRandr won't be supported.
9616 This is an error since --with-xrandr was requested." "$LINENO" 5 ;;
9617 esac
9620 if test "$ac_cv_header_X11_extensions_Xinerama_h" = "yes"
9621 then
9622 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9623 /* end confdefs.h. */
9624 #include <X11/Xlib.h>
9625 #include <X11/extensions/Xinerama.h>
9627 main ()
9629 static typeof(XineramaQueryScreens) * func; if (func) return 0;
9631 return 0;
9633 _ACEOF
9634 if ac_fn_c_try_compile "$LINENO"; then :
9635 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lXinerama" >&5
9636 $as_echo_n "checking for -lXinerama... " >&6; }
9637 if ${ac_cv_lib_soname_Xinerama+:} false; then :
9638 $as_echo_n "(cached) " >&6
9639 else
9640 ac_check_soname_save_LIBS=$LIBS
9641 LIBS="-lXinerama $X_LIBS $XLIB $X_EXTRA_LIBS $LIBS"
9642 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9643 /* end confdefs.h. */
9645 /* Override any GCC internal prototype to avoid an error.
9646 Use char because int might match the return type of a GCC
9647 builtin and then its argument prototype would still apply. */
9648 #ifdef __cplusplus
9649 extern "C"
9650 #endif
9651 char XineramaQueryScreens ();
9653 main ()
9655 return XineramaQueryScreens ();
9657 return 0;
9659 _ACEOF
9660 if ac_fn_c_try_link "$LINENO"; then :
9661 case "$LIBEXT" in
9662 dll) ac_cv_lib_soname_Xinerama=`$ac_cv_path_LDD conftest.exe | grep "Xinerama" | sed -e "s/dll.*/dll/"';2,$d'` ;;
9663 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'` ;;
9664 *) ac_cv_lib_soname_Xinerama=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libXinerama\\.$LIBEXT" | sed -e "s/^.*\\[\\(libXinerama\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
9665 if test "x$ac_cv_lib_soname_Xinerama" = x; then :
9666 ac_cv_lib_soname_Xinerama=`$LDD conftest$ac_exeext | grep "libXinerama\\.$LIBEXT" | sed -e "s/^.*\(libXinerama\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
9667 fi ;;
9668 esac
9670 rm -f core conftest.err conftest.$ac_objext \
9671 conftest$ac_exeext conftest.$ac_ext
9672 LIBS=$ac_check_soname_save_LIBS
9674 if test "x$ac_cv_lib_soname_Xinerama" = "x"; then :
9675 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
9676 $as_echo "not found" >&6; }
9678 else
9679 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_Xinerama" >&5
9680 $as_echo "$ac_cv_lib_soname_Xinerama" >&6; }
9682 cat >>confdefs.h <<_ACEOF
9683 #define SONAME_LIBXINERAMA "$ac_cv_lib_soname_Xinerama"
9684 _ACEOF
9689 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
9691 if test "x$ac_cv_lib_soname_Xinerama" = "x"; then :
9692 case "x$with_xinerama" in
9693 x) as_fn_append wine_notices "|libxinerama ${notice_platform}development files not found, multi-monitor setups won't be supported." ;;
9694 xno) ;;
9695 *) as_fn_error $? "libxinerama ${notice_platform}development files not found, multi-monitor setups won't be supported.
9696 This is an error since --with-xinerama was requested." "$LINENO" 5 ;;
9697 esac
9700 if test "$ac_cv_header_X11_extensions_Xcomposite_h" = "yes"
9701 then
9702 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lXcomposite" >&5
9703 $as_echo_n "checking for -lXcomposite... " >&6; }
9704 if ${ac_cv_lib_soname_Xcomposite+:} false; then :
9705 $as_echo_n "(cached) " >&6
9706 else
9707 ac_check_soname_save_LIBS=$LIBS
9708 LIBS="-lXcomposite $X_LIBS $XLIB $X_EXTRA_LIBS $LIBS"
9709 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9710 /* end confdefs.h. */
9712 /* Override any GCC internal prototype to avoid an error.
9713 Use char because int might match the return type of a GCC
9714 builtin and then its argument prototype would still apply. */
9715 #ifdef __cplusplus
9716 extern "C"
9717 #endif
9718 char XCompositeRedirectWindow ();
9720 main ()
9722 return XCompositeRedirectWindow ();
9724 return 0;
9726 _ACEOF
9727 if ac_fn_c_try_link "$LINENO"; then :
9728 case "$LIBEXT" in
9729 dll) ac_cv_lib_soname_Xcomposite=`$ac_cv_path_LDD conftest.exe | grep "Xcomposite" | sed -e "s/dll.*/dll/"';2,$d'` ;;
9730 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'` ;;
9731 *) ac_cv_lib_soname_Xcomposite=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libXcomposite\\.$LIBEXT" | sed -e "s/^.*\\[\\(libXcomposite\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
9732 if test "x$ac_cv_lib_soname_Xcomposite" = x; then :
9733 ac_cv_lib_soname_Xcomposite=`$LDD conftest$ac_exeext | grep "libXcomposite\\.$LIBEXT" | sed -e "s/^.*\(libXcomposite\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
9734 fi ;;
9735 esac
9737 rm -f core conftest.err conftest.$ac_objext \
9738 conftest$ac_exeext conftest.$ac_ext
9739 LIBS=$ac_check_soname_save_LIBS
9741 if test "x$ac_cv_lib_soname_Xcomposite" = "x"; then :
9742 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
9743 $as_echo "not found" >&6; }
9745 else
9746 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_Xcomposite" >&5
9747 $as_echo "$ac_cv_lib_soname_Xcomposite" >&6; }
9749 cat >>confdefs.h <<_ACEOF
9750 #define SONAME_LIBXCOMPOSITE "$ac_cv_lib_soname_Xcomposite"
9751 _ACEOF
9756 if test "x$ac_cv_lib_soname_Xcomposite" = "x"; then :
9757 case "x$with_xcomposite" in
9758 x) as_fn_append wine_notices "|libxcomposite ${notice_platform}development files not found, Xcomposite won't be supported." ;;
9759 xno) ;;
9760 *) as_fn_error $? "libxcomposite ${notice_platform}development files not found, Xcomposite won't be supported.
9761 This is an error since --with-xcomposite was requested." "$LINENO" 5 ;;
9762 esac
9765 ac_fn_c_check_member "$LINENO" "XICCallback" "callback" "ac_cv_member_XICCallback_callback" "#ifdef HAVE_X11_XLIB_H
9766 #include <X11/Xlib.h>
9767 #endif
9769 if test "x$ac_cv_member_XICCallback_callback" = xyes; then :
9771 cat >>confdefs.h <<_ACEOF
9772 #define HAVE_XICCALLBACK_CALLBACK 1
9773 _ACEOF
9777 ac_fn_c_check_member "$LINENO" "XEvent" "xcookie" "ac_cv_member_XEvent_xcookie" "#ifdef HAVE_X11_XLIB_H
9778 #include <X11/Xlib.h>
9779 #endif
9781 if test "x$ac_cv_member_XEvent_xcookie" = xyes; then :
9783 cat >>confdefs.h <<_ACEOF
9784 #define HAVE_XEVENT_XCOOKIE 1
9785 _ACEOF
9792 opengl_msg=""
9793 if test "x$with_opengl" != "xno"
9794 then
9795 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lGL" >&5
9796 $as_echo_n "checking for -lGL... " >&6; }
9797 if ${ac_cv_lib_soname_GL+:} false; then :
9798 $as_echo_n "(cached) " >&6
9799 else
9800 ac_check_soname_save_LIBS=$LIBS
9801 LIBS="-lGL $X_LIBS $XLIB -lm $X_EXTRA_LIBS $LIBS"
9802 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9803 /* end confdefs.h. */
9805 /* Override any GCC internal prototype to avoid an error.
9806 Use char because int might match the return type of a GCC
9807 builtin and then its argument prototype would still apply. */
9808 #ifdef __cplusplus
9809 extern "C"
9810 #endif
9811 char glXCreateContext ();
9813 main ()
9815 return glXCreateContext ();
9817 return 0;
9819 _ACEOF
9820 if ac_fn_c_try_link "$LINENO"; then :
9821 case "$LIBEXT" in
9822 dll) ac_cv_lib_soname_GL=`$ac_cv_path_LDD conftest.exe | grep "GL" | sed -e "s/dll.*/dll/"';2,$d'` ;;
9823 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'` ;;
9824 *) ac_cv_lib_soname_GL=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libGL\\.$LIBEXT" | sed -e "s/^.*\\[\\(libGL\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
9825 if test "x$ac_cv_lib_soname_GL" = x; then :
9826 ac_cv_lib_soname_GL=`$LDD conftest$ac_exeext | grep "libGL\\.$LIBEXT" | sed -e "s/^.*\(libGL\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
9827 fi ;;
9828 esac
9830 rm -f core conftest.err conftest.$ac_objext \
9831 conftest$ac_exeext conftest.$ac_ext
9832 LIBS=$ac_check_soname_save_LIBS
9834 if test "x$ac_cv_lib_soname_GL" = "x"; then :
9835 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
9836 $as_echo "not found" >&6; }
9837 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lGL" >&5
9838 $as_echo_n "checking for -lGL... " >&6; }
9839 if ${ac_cv_lib_soname_GL+:} false; then :
9840 $as_echo_n "(cached) " >&6
9841 else
9842 ac_check_soname_save_LIBS=$LIBS
9843 LIBS="-lGL $X_LIBS $XLIB -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"
9844 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9845 /* end confdefs.h. */
9847 /* Override any GCC internal prototype to avoid an error.
9848 Use char because int might match the return type of a GCC
9849 builtin and then its argument prototype would still apply. */
9850 #ifdef __cplusplus
9851 extern "C"
9852 #endif
9853 char glXCreateContext ();
9855 main ()
9857 return glXCreateContext ();
9859 return 0;
9861 _ACEOF
9862 if ac_fn_c_try_link "$LINENO"; then :
9863 case "$LIBEXT" in
9864 dll) ac_cv_lib_soname_GL=`$ac_cv_path_LDD conftest.exe | grep "GL" | sed -e "s/dll.*/dll/"';2,$d'` ;;
9865 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'` ;;
9866 *) ac_cv_lib_soname_GL=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libGL\\.$LIBEXT" | sed -e "s/^.*\\[\\(libGL\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
9867 if test "x$ac_cv_lib_soname_GL" = x; then :
9868 ac_cv_lib_soname_GL=`$LDD conftest$ac_exeext | grep "libGL\\.$LIBEXT" | sed -e "s/^.*\(libGL\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
9869 fi ;;
9870 esac
9872 rm -f core conftest.err conftest.$ac_objext \
9873 conftest$ac_exeext conftest.$ac_ext
9874 LIBS=$ac_check_soname_save_LIBS
9876 if test "x$ac_cv_lib_soname_GL" = "x"; then :
9877 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
9878 $as_echo "not found" >&6; }
9879 if test -f /usr/X11R6/lib/libGL.a
9880 then
9881 opengl_msg="/usr/X11R6/lib/libGL.a is present on your system.
9882 This probably prevents linking to OpenGL. Try deleting the file and restarting configure."
9883 else
9884 opengl_msg="No OpenGL library found on this system."
9886 else
9887 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_GL" >&5
9888 $as_echo "$ac_cv_lib_soname_GL" >&6; }
9890 cat >>confdefs.h <<_ACEOF
9891 #define SONAME_LIBGL "$ac_cv_lib_soname_GL"
9892 _ACEOF
9894 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"
9896 else
9897 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_GL" >&5
9898 $as_echo "$ac_cv_lib_soname_GL" >&6; }
9900 cat >>confdefs.h <<_ACEOF
9901 #define SONAME_LIBGL "$ac_cv_lib_soname_GL"
9902 _ACEOF
9904 OPENGL_LIBS="-lGL"
9906 if test "x$with_glu" != "xno"
9907 then
9908 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for gluLookAt in -lGLU" >&5
9909 $as_echo_n "checking for gluLookAt in -lGLU... " >&6; }
9910 if ${ac_cv_lib_GLU_gluLookAt+:} false; then :
9911 $as_echo_n "(cached) " >&6
9912 else
9913 ac_check_lib_save_LIBS=$LIBS
9914 LIBS="-lGLU $OPENGL_LIBS $X_LIBS $XLIB -lm $X_EXTRA_LIBS $LIBS"
9915 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9916 /* end confdefs.h. */
9918 /* Override any GCC internal prototype to avoid an error.
9919 Use char because int might match the return type of a GCC
9920 builtin and then its argument prototype would still apply. */
9921 #ifdef __cplusplus
9922 extern "C"
9923 #endif
9924 char gluLookAt ();
9926 main ()
9928 return gluLookAt ();
9930 return 0;
9932 _ACEOF
9933 if ac_fn_c_try_link "$LINENO"; then :
9934 ac_cv_lib_GLU_gluLookAt=yes
9935 else
9936 ac_cv_lib_GLU_gluLookAt=no
9938 rm -f core conftest.err conftest.$ac_objext \
9939 conftest$ac_exeext conftest.$ac_ext
9940 LIBS=$ac_check_lib_save_LIBS
9942 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_GLU_gluLookAt" >&5
9943 $as_echo "$ac_cv_lib_GLU_gluLookAt" >&6; }
9944 if test "x$ac_cv_lib_GLU_gluLookAt" = xyes; then :
9948 if test "x$ac_cv_lib_GLU_gluLookAt" != xyes; then :
9949 case "x$with_glu" in
9950 x) as_fn_append wine_notices "|libGLU ${notice_platform}development files not found, GLU won't be supported." ;;
9951 xno) ;;
9952 *) as_fn_error $? "libGLU ${notice_platform}development files not found, GLU won't be supported.
9953 This is an error since --with-glu was requested." "$LINENO" 5 ;;
9954 esac
9958 if test "x$with_osmesa" != "xno"
9959 then
9960 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lOSMesa" >&5
9961 $as_echo_n "checking for -lOSMesa... " >&6; }
9962 if ${ac_cv_lib_soname_OSMesa+:} false; then :
9963 $as_echo_n "(cached) " >&6
9964 else
9965 ac_check_soname_save_LIBS=$LIBS
9966 LIBS="-lOSMesa $X_LIBS $XLIB -lm $X_EXTRA_LIBS $LIBS"
9967 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9968 /* end confdefs.h. */
9970 /* Override any GCC internal prototype to avoid an error.
9971 Use char because int might match the return type of a GCC
9972 builtin and then its argument prototype would still apply. */
9973 #ifdef __cplusplus
9974 extern "C"
9975 #endif
9976 char glAccum ();
9978 main ()
9980 return glAccum ();
9982 return 0;
9984 _ACEOF
9985 if ac_fn_c_try_link "$LINENO"; then :
9986 case "$LIBEXT" in
9987 dll) ac_cv_lib_soname_OSMesa=`$ac_cv_path_LDD conftest.exe | grep "OSMesa" | sed -e "s/dll.*/dll/"';2,$d'` ;;
9988 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'` ;;
9989 *) ac_cv_lib_soname_OSMesa=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libOSMesa\\.$LIBEXT" | sed -e "s/^.*\\[\\(libOSMesa\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
9990 if test "x$ac_cv_lib_soname_OSMesa" = x; then :
9991 ac_cv_lib_soname_OSMesa=`$LDD conftest$ac_exeext | grep "libOSMesa\\.$LIBEXT" | sed -e "s/^.*\(libOSMesa\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
9992 fi ;;
9993 esac
9995 rm -f core conftest.err conftest.$ac_objext \
9996 conftest$ac_exeext conftest.$ac_ext
9997 LIBS=$ac_check_soname_save_LIBS
9999 if test "x$ac_cv_lib_soname_OSMesa" = "x"; then :
10000 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
10001 $as_echo "not found" >&6; }
10003 else
10004 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_OSMesa" >&5
10005 $as_echo "$ac_cv_lib_soname_OSMesa" >&6; }
10007 cat >>confdefs.h <<_ACEOF
10008 #define SONAME_LIBOSMESA "$ac_cv_lib_soname_OSMesa"
10009 _ACEOF
10013 if test "x$ac_cv_lib_soname_OSMesa" = "x"; then :
10014 case "x$with_osmesa" in
10015 x) as_fn_append wine_notices "|libOSMesa ${notice_platform}development files not found (or too old), OpenGL rendering in bitmaps won't be supported." ;;
10016 xno) ;;
10017 *) as_fn_error $? "libOSMesa ${notice_platform}development files not found (or too old), OpenGL rendering in bitmaps won't be supported.
10018 This is an error since --with-osmesa was requested." "$LINENO" 5 ;;
10019 esac
10023 if test -n "$opengl_msg"; then :
10024 case "x$with_opengl" in
10025 x) as_fn_append wine_warnings "|$opengl_msg
10026 OpenGL and Direct3D won't be supported." ;;
10027 xno) ;;
10028 *) as_fn_error $? "$opengl_msg
10029 OpenGL and Direct3D won't be supported.
10030 This is an error since --with-opengl was requested." "$LINENO" 5 ;;
10031 esac
10034 CPPFLAGS="$ac_save_CPPFLAGS"
10035 else
10036 XLIB=""
10037 X_CFLAGS=""
10038 X_LIBS=""
10039 enable_winex11_drv=${enable_winex11_drv:-no}
10041 if test "x$XLIB" = "x"; then :
10042 case "x$with_x" in
10043 xno) ;;
10044 *) as_fn_error $? "X ${notice_platform}development files not found. Wine will be built
10045 without X support, which probably isn't what you want. You will need
10046 to install ${notice_platform}development packages of Xlib/Xfree86 at the very least.
10047 Use the --without-x option if you really want this." "$LINENO" 5 ;;
10048 esac
10051 test "x$ac_cv_lib_GLU_gluLookAt" != xyes && enable_glu32=${enable_glu32:-no}
10053 if test "$ac_cv_header_CL_cl_h" = "yes"
10054 then
10055 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for clGetPlatformInfo in -lOpenCL" >&5
10056 $as_echo_n "checking for clGetPlatformInfo in -lOpenCL... " >&6; }
10057 if ${ac_cv_lib_OpenCL_clGetPlatformInfo+:} false; then :
10058 $as_echo_n "(cached) " >&6
10059 else
10060 ac_check_lib_save_LIBS=$LIBS
10061 LIBS="-lOpenCL $LIBS"
10062 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10063 /* end confdefs.h. */
10065 /* Override any GCC internal prototype to avoid an error.
10066 Use char because int might match the return type of a GCC
10067 builtin and then its argument prototype would still apply. */
10068 #ifdef __cplusplus
10069 extern "C"
10070 #endif
10071 char clGetPlatformInfo ();
10073 main ()
10075 return clGetPlatformInfo ();
10077 return 0;
10079 _ACEOF
10080 if ac_fn_c_try_link "$LINENO"; then :
10081 ac_cv_lib_OpenCL_clGetPlatformInfo=yes
10082 else
10083 ac_cv_lib_OpenCL_clGetPlatformInfo=no
10085 rm -f core conftest.err conftest.$ac_objext \
10086 conftest$ac_exeext conftest.$ac_ext
10087 LIBS=$ac_check_lib_save_LIBS
10089 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_OpenCL_clGetPlatformInfo" >&5
10090 $as_echo "$ac_cv_lib_OpenCL_clGetPlatformInfo" >&6; }
10091 if test "x$ac_cv_lib_OpenCL_clGetPlatformInfo" = xyes; then :
10092 LIBOPENCL="-lOpenCL"
10097 if test "x$ac_cv_lib_OpenCL_clGetPlatformInfo" != xyes; then :
10098 case "x$with_opencl" in
10099 x) as_fn_append wine_notices "|OpenCL ${notice_platform}development files not found, OpenCL won't be supported." ;;
10100 xno) ;;
10101 *) as_fn_error $? "OpenCL ${notice_platform}development files not found, OpenCL won't be supported.
10102 This is an error since --with-opencl was requested." "$LINENO" 5 ;;
10103 esac
10105 test "x$ac_cv_lib_OpenCL_clGetPlatformInfo" != xyes && enable_opencl=${enable_opencl:-no}
10108 if test "x$with_xml" != "xno"
10109 then
10110 if test -n "$XML2_CFLAGS"; then :
10112 elif test -n "$PKG_CONFIG"; then :
10113 XML2_CFLAGS=`$PKG_CONFIG --cflags libxml-2.0 2>/dev/null`
10115 test "$cross_compiling" = yes || XML2_CFLAGS=${XML2_CFLAGS:-`xml2-config --cflags 2>/dev/null`}
10116 if test -n "$XML2_LIBS"; then :
10118 elif test -n "$PKG_CONFIG"; then :
10119 XML2_LIBS=`$PKG_CONFIG --libs libxml-2.0 2>/dev/null`
10121 test "$cross_compiling" = yes || XML2_LIBS=${XML2_LIBS:-`xml2-config --libs 2>/dev/null`}
10122 XML2_LIBS=${XML2_LIBS:-"-lxml2"}
10123 ac_save_CPPFLAGS=$CPPFLAGS
10124 CPPFLAGS="$CPPFLAGS $XML2_CFLAGS"
10125 for ac_header in libxml/parser.h libxml/xmlsave.h libxml/SAX2.h
10126 do :
10127 as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
10128 ac_fn_c_check_header_mongrel "$LINENO" "$ac_header" "$as_ac_Header" "$ac_includes_default"
10129 if eval test \"x\$"$as_ac_Header"\" = x"yes"; then :
10130 cat >>confdefs.h <<_ACEOF
10131 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
10132 _ACEOF
10136 done
10138 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"
10139 then
10140 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for xmlParseMemory in -lxml2" >&5
10141 $as_echo_n "checking for xmlParseMemory in -lxml2... " >&6; }
10142 if ${ac_cv_lib_xml2_xmlParseMemory+:} false; then :
10143 $as_echo_n "(cached) " >&6
10144 else
10145 ac_check_lib_save_LIBS=$LIBS
10146 LIBS="-lxml2 $XML2_LIBS $LIBS"
10147 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10148 /* end confdefs.h. */
10150 /* Override any GCC internal prototype to avoid an error.
10151 Use char because int might match the return type of a GCC
10152 builtin and then its argument prototype would still apply. */
10153 #ifdef __cplusplus
10154 extern "C"
10155 #endif
10156 char xmlParseMemory ();
10158 main ()
10160 return xmlParseMemory ();
10162 return 0;
10164 _ACEOF
10165 if ac_fn_c_try_link "$LINENO"; then :
10166 ac_cv_lib_xml2_xmlParseMemory=yes
10167 else
10168 ac_cv_lib_xml2_xmlParseMemory=no
10170 rm -f core conftest.err conftest.$ac_objext \
10171 conftest$ac_exeext conftest.$ac_ext
10172 LIBS=$ac_check_lib_save_LIBS
10174 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_xml2_xmlParseMemory" >&5
10175 $as_echo "$ac_cv_lib_xml2_xmlParseMemory" >&6; }
10176 if test "x$ac_cv_lib_xml2_xmlParseMemory" = xyes; then :
10178 $as_echo "#define HAVE_LIBXML2 1" >>confdefs.h
10180 else
10181 XML2_LIBS=""
10184 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for xmlReadMemory in -lxml2" >&5
10185 $as_echo_n "checking for xmlReadMemory in -lxml2... " >&6; }
10186 if ${ac_cv_lib_xml2_xmlReadMemory+:} false; then :
10187 $as_echo_n "(cached) " >&6
10188 else
10189 ac_check_lib_save_LIBS=$LIBS
10190 LIBS="-lxml2 $XML2_LIBS $LIBS"
10191 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10192 /* end confdefs.h. */
10194 /* Override any GCC internal prototype to avoid an error.
10195 Use char because int might match the return type of a GCC
10196 builtin and then its argument prototype would still apply. */
10197 #ifdef __cplusplus
10198 extern "C"
10199 #endif
10200 char xmlReadMemory ();
10202 main ()
10204 return xmlReadMemory ();
10206 return 0;
10208 _ACEOF
10209 if ac_fn_c_try_link "$LINENO"; then :
10210 ac_cv_lib_xml2_xmlReadMemory=yes
10211 else
10212 ac_cv_lib_xml2_xmlReadMemory=no
10214 rm -f core conftest.err conftest.$ac_objext \
10215 conftest$ac_exeext conftest.$ac_ext
10216 LIBS=$ac_check_lib_save_LIBS
10218 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_xml2_xmlReadMemory" >&5
10219 $as_echo "$ac_cv_lib_xml2_xmlReadMemory" >&6; }
10220 if test "x$ac_cv_lib_xml2_xmlReadMemory" = xyes; then :
10222 $as_echo "#define HAVE_XMLREADMEMORY 1" >>confdefs.h
10226 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for xmlNewDocPI in -lxml2" >&5
10227 $as_echo_n "checking for xmlNewDocPI in -lxml2... " >&6; }
10228 if ${ac_cv_lib_xml2_xmlNewDocPI+:} false; then :
10229 $as_echo_n "(cached) " >&6
10230 else
10231 ac_check_lib_save_LIBS=$LIBS
10232 LIBS="-lxml2 $XML2_LIBS $LIBS"
10233 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10234 /* end confdefs.h. */
10236 /* Override any GCC internal prototype to avoid an error.
10237 Use char because int might match the return type of a GCC
10238 builtin and then its argument prototype would still apply. */
10239 #ifdef __cplusplus
10240 extern "C"
10241 #endif
10242 char xmlNewDocPI ();
10244 main ()
10246 return xmlNewDocPI ();
10248 return 0;
10250 _ACEOF
10251 if ac_fn_c_try_link "$LINENO"; then :
10252 ac_cv_lib_xml2_xmlNewDocPI=yes
10253 else
10254 ac_cv_lib_xml2_xmlNewDocPI=no
10256 rm -f core conftest.err conftest.$ac_objext \
10257 conftest$ac_exeext conftest.$ac_ext
10258 LIBS=$ac_check_lib_save_LIBS
10260 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_xml2_xmlNewDocPI" >&5
10261 $as_echo "$ac_cv_lib_xml2_xmlNewDocPI" >&6; }
10262 if test "x$ac_cv_lib_xml2_xmlNewDocPI" = xyes; then :
10264 $as_echo "#define HAVE_XMLNEWDOCPI 1" >>confdefs.h
10268 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for xmlSchemaSetParserStructuredErrors in -lxml2" >&5
10269 $as_echo_n "checking for xmlSchemaSetParserStructuredErrors in -lxml2... " >&6; }
10270 if ${ac_cv_lib_xml2_xmlSchemaSetParserStructuredErrors+:} false; then :
10271 $as_echo_n "(cached) " >&6
10272 else
10273 ac_check_lib_save_LIBS=$LIBS
10274 LIBS="-lxml2 $XML2_LIBS $LIBS"
10275 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10276 /* end confdefs.h. */
10278 /* Override any GCC internal prototype to avoid an error.
10279 Use char because int might match the return type of a GCC
10280 builtin and then its argument prototype would still apply. */
10281 #ifdef __cplusplus
10282 extern "C"
10283 #endif
10284 char xmlSchemaSetParserStructuredErrors ();
10286 main ()
10288 return xmlSchemaSetParserStructuredErrors ();
10290 return 0;
10292 _ACEOF
10293 if ac_fn_c_try_link "$LINENO"; then :
10294 ac_cv_lib_xml2_xmlSchemaSetParserStructuredErrors=yes
10295 else
10296 ac_cv_lib_xml2_xmlSchemaSetParserStructuredErrors=no
10298 rm -f core conftest.err conftest.$ac_objext \
10299 conftest$ac_exeext conftest.$ac_ext
10300 LIBS=$ac_check_lib_save_LIBS
10302 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_xml2_xmlSchemaSetParserStructuredErrors" >&5
10303 $as_echo "$ac_cv_lib_xml2_xmlSchemaSetParserStructuredErrors" >&6; }
10304 if test "x$ac_cv_lib_xml2_xmlSchemaSetParserStructuredErrors" = xyes; then :
10306 $as_echo "#define HAVE_XMLSCHEMASSETPARSERSTRUCTUREDERRORS 1" >>confdefs.h
10310 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for xmlSchemaSetValidStructuredErrors in -lxml2" >&5
10311 $as_echo_n "checking for xmlSchemaSetValidStructuredErrors in -lxml2... " >&6; }
10312 if ${ac_cv_lib_xml2_xmlSchemaSetValidStructuredErrors+:} false; then :
10313 $as_echo_n "(cached) " >&6
10314 else
10315 ac_check_lib_save_LIBS=$LIBS
10316 LIBS="-lxml2 $XML2_LIBS $LIBS"
10317 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10318 /* end confdefs.h. */
10320 /* Override any GCC internal prototype to avoid an error.
10321 Use char because int might match the return type of a GCC
10322 builtin and then its argument prototype would still apply. */
10323 #ifdef __cplusplus
10324 extern "C"
10325 #endif
10326 char xmlSchemaSetValidStructuredErrors ();
10328 main ()
10330 return xmlSchemaSetValidStructuredErrors ();
10332 return 0;
10334 _ACEOF
10335 if ac_fn_c_try_link "$LINENO"; then :
10336 ac_cv_lib_xml2_xmlSchemaSetValidStructuredErrors=yes
10337 else
10338 ac_cv_lib_xml2_xmlSchemaSetValidStructuredErrors=no
10340 rm -f core conftest.err conftest.$ac_objext \
10341 conftest$ac_exeext conftest.$ac_ext
10342 LIBS=$ac_check_lib_save_LIBS
10344 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_xml2_xmlSchemaSetValidStructuredErrors" >&5
10345 $as_echo "$ac_cv_lib_xml2_xmlSchemaSetValidStructuredErrors" >&6; }
10346 if test "x$ac_cv_lib_xml2_xmlSchemaSetValidStructuredErrors" = xyes; then :
10348 $as_echo "#define HAVE_XMLSCHEMASSETVALIDSTRUCTUREDERRORS 1" >>confdefs.h
10352 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for xmlFirstElementChild in -lxml2" >&5
10353 $as_echo_n "checking for xmlFirstElementChild in -lxml2... " >&6; }
10354 if ${ac_cv_lib_xml2_xmlFirstElementChild+:} false; then :
10355 $as_echo_n "(cached) " >&6
10356 else
10357 ac_check_lib_save_LIBS=$LIBS
10358 LIBS="-lxml2 $XML2_LIBS $LIBS"
10359 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10360 /* end confdefs.h. */
10362 /* Override any GCC internal prototype to avoid an error.
10363 Use char because int might match the return type of a GCC
10364 builtin and then its argument prototype would still apply. */
10365 #ifdef __cplusplus
10366 extern "C"
10367 #endif
10368 char xmlFirstElementChild ();
10370 main ()
10372 return xmlFirstElementChild ();
10374 return 0;
10376 _ACEOF
10377 if ac_fn_c_try_link "$LINENO"; then :
10378 ac_cv_lib_xml2_xmlFirstElementChild=yes
10379 else
10380 ac_cv_lib_xml2_xmlFirstElementChild=no
10382 rm -f core conftest.err conftest.$ac_objext \
10383 conftest$ac_exeext conftest.$ac_ext
10384 LIBS=$ac_check_lib_save_LIBS
10386 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_xml2_xmlFirstElementChild" >&5
10387 $as_echo "$ac_cv_lib_xml2_xmlFirstElementChild" >&6; }
10388 if test "x$ac_cv_lib_xml2_xmlFirstElementChild" = xyes; then :
10390 $as_echo "#define HAVE_XMLFIRSTELEMENTCHILD 1" >>confdefs.h
10394 ac_fn_c_check_type "$LINENO" "xmlDocProperties" "ac_cv_type_xmlDocProperties" "#include <libxml/tree.h>
10396 if test "x$ac_cv_type_xmlDocProperties" = xyes; then :
10398 $as_echo "#define HAVE_XMLDOC_PROPERTIES 1" >>confdefs.h
10402 else
10403 XML2_CFLAGS=""
10404 XML2_LIBS=""
10406 CPPFLAGS=$ac_save_CPPFLAGS
10407 test -z "$XML2_CFLAGS" || XML2_CFLAGS=`echo " $XML2_CFLAGS" | sed 's/ -I\([^/]\)/ -I\$(top_builddir)\/\1/g'`
10408 test -z "$XML2_LIBS" || XML2_LIBS=`echo " $XML2_LIBS" | sed 's/ -L\([^/]\)/ -L\$(top_builddir)\/\1/g'`
10411 if test "$ac_cv_lib_xml2_xmlParseMemory" != "yes"; then :
10412 case "x$with_xml" in
10413 x) as_fn_append wine_warnings "|libxml2 ${notice_platform}development files not found (or too old), XML won't be supported." ;;
10414 xno) ;;
10415 *) as_fn_error $? "libxml2 ${notice_platform}development files not found (or too old), XML won't be supported.
10416 This is an error since --with-xml was requested." "$LINENO" 5 ;;
10417 esac
10420 if test "x$with_xslt" != "xno"
10421 then
10422 if test -n "$XSLT_CFLAGS"; then :
10424 elif test -n "$PKG_CONFIG"; then :
10425 XSLT_CFLAGS=`$PKG_CONFIG --cflags libxslt 2>/dev/null`
10427 test "$cross_compiling" = yes || XSLT_CFLAGS=${XSLT_CFLAGS:-`xslt-config --cflags 2>/dev/null`}
10428 if test -n "$XSLT_LIBS"; then :
10430 elif test -n "$PKG_CONFIG"; then :
10431 XSLT_LIBS=`$PKG_CONFIG --libs libxslt 2>/dev/null`
10433 test "$cross_compiling" = yes || XSLT_LIBS=${XSLT_LIBS:-`xslt-config --libs 2>/dev/null`}
10434 XSLT_LIBS=${XSLT_LIBS:-"-lxml2"}
10435 ac_save_CPPFLAGS=$CPPFLAGS
10436 CPPFLAGS="$CPPFLAGS $XSLT_CFLAGS"
10437 for ac_header in libxslt/pattern.h libxslt/transform.h
10438 do :
10439 as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
10440 ac_fn_c_check_header_compile "$LINENO" "$ac_header" "$as_ac_Header" "#ifdef HAVE_LIBXSLT_PATTERN_H
10441 # include <libxslt/pattern.h>
10442 #endif
10444 if eval test \"x\$"$as_ac_Header"\" = x"yes"; then :
10445 cat >>confdefs.h <<_ACEOF
10446 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
10447 _ACEOF
10451 done
10453 if test "$ac_cv_header_libxslt_transform_h" = "yes"
10454 then
10455 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lxslt" >&5
10456 $as_echo_n "checking for -lxslt... " >&6; }
10457 if ${ac_cv_lib_soname_xslt+:} false; then :
10458 $as_echo_n "(cached) " >&6
10459 else
10460 ac_check_soname_save_LIBS=$LIBS
10461 LIBS="-lxslt $XSLT_LIBS $LIBS"
10462 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10463 /* end confdefs.h. */
10465 /* Override any GCC internal prototype to avoid an error.
10466 Use char because int might match the return type of a GCC
10467 builtin and then its argument prototype would still apply. */
10468 #ifdef __cplusplus
10469 extern "C"
10470 #endif
10471 char xsltCompilePattern ();
10473 main ()
10475 return xsltCompilePattern ();
10477 return 0;
10479 _ACEOF
10480 if ac_fn_c_try_link "$LINENO"; then :
10481 case "$LIBEXT" in
10482 dll) ac_cv_lib_soname_xslt=`$ac_cv_path_LDD conftest.exe | grep "xslt" | sed -e "s/dll.*/dll/"';2,$d'` ;;
10483 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'` ;;
10484 *) ac_cv_lib_soname_xslt=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libxslt\\.$LIBEXT" | sed -e "s/^.*\\[\\(libxslt\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
10485 if test "x$ac_cv_lib_soname_xslt" = x; then :
10486 ac_cv_lib_soname_xslt=`$LDD conftest$ac_exeext | grep "libxslt\\.$LIBEXT" | sed -e "s/^.*\(libxslt\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
10487 fi ;;
10488 esac
10490 rm -f core conftest.err conftest.$ac_objext \
10491 conftest$ac_exeext conftest.$ac_ext
10492 LIBS=$ac_check_soname_save_LIBS
10494 if test "x$ac_cv_lib_soname_xslt" = "x"; then :
10495 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
10496 $as_echo "not found" >&6; }
10498 else
10499 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_xslt" >&5
10500 $as_echo "$ac_cv_lib_soname_xslt" >&6; }
10502 cat >>confdefs.h <<_ACEOF
10503 #define SONAME_LIBXSLT "$ac_cv_lib_soname_xslt"
10504 _ACEOF
10508 else
10509 XSLT_CFLAGS=""
10511 CPPFLAGS=$ac_save_CPPFLAGS
10512 test -z "$XSLT_CFLAGS" || XSLT_CFLAGS=`echo " $XSLT_CFLAGS" | sed 's/ -I\([^/]\)/ -I\$(top_builddir)\/\1/g'`
10513 test -z "$XSLT_LIBS" || XSLT_LIBS=`echo " $XSLT_LIBS" | sed 's/ -L\([^/]\)/ -L\$(top_builddir)\/\1/g'`
10516 if test "x$ac_cv_lib_soname_xslt" = "x"; then :
10517 case "x$with_xslt" in
10518 x) as_fn_append wine_warnings "|libxslt ${notice_platform}development files not found, xslt won't be supported." ;;
10519 xno) ;;
10520 *) as_fn_error $? "libxslt ${notice_platform}development files not found, xslt won't be supported.
10521 This is an error since --with-xslt was requested." "$LINENO" 5 ;;
10522 esac
10525 if test "x$with_dbus" != "xno"
10526 then
10527 if test -n "$DBUS_CFLAGS"; then :
10529 elif test -n "$PKG_CONFIG"; then :
10530 DBUS_CFLAGS=`$PKG_CONFIG --cflags dbus-1 2>/dev/null`
10533 if test -n "$DBUS_LIBS"; then :
10535 elif test -n "$PKG_CONFIG"; then :
10536 DBUS_LIBS=`$PKG_CONFIG --libs dbus-1 2>/dev/null`
10540 ac_save_CPPFLAGS=$CPPFLAGS
10541 CPPFLAGS="$CPPFLAGS $DBUS_CFLAGS"
10542 ac_fn_c_check_header_mongrel "$LINENO" "dbus/dbus.h" "ac_cv_header_dbus_dbus_h" "$ac_includes_default"
10543 if test "x$ac_cv_header_dbus_dbus_h" = xyes; then :
10544 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -ldbus-1" >&5
10545 $as_echo_n "checking for -ldbus-1... " >&6; }
10546 if ${ac_cv_lib_soname_dbus_1+:} false; then :
10547 $as_echo_n "(cached) " >&6
10548 else
10549 ac_check_soname_save_LIBS=$LIBS
10550 LIBS="-ldbus-1 $DBUS_LIBS $LIBS"
10551 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10552 /* end confdefs.h. */
10554 /* Override any GCC internal prototype to avoid an error.
10555 Use char because int might match the return type of a GCC
10556 builtin and then its argument prototype would still apply. */
10557 #ifdef __cplusplus
10558 extern "C"
10559 #endif
10560 char dbus_connection_close ();
10562 main ()
10564 return dbus_connection_close ();
10566 return 0;
10568 _ACEOF
10569 if ac_fn_c_try_link "$LINENO"; then :
10570 case "$LIBEXT" in
10571 dll) ac_cv_lib_soname_dbus_1=`$ac_cv_path_LDD conftest.exe | grep "dbus-1" | sed -e "s/dll.*/dll/"';2,$d'` ;;
10572 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'` ;;
10573 *) 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'`
10574 if test "x$ac_cv_lib_soname_dbus_1" = x; then :
10575 ac_cv_lib_soname_dbus_1=`$LDD conftest$ac_exeext | grep "libdbus-1\\.$LIBEXT" | sed -e "s/^.*\(libdbus-1\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
10576 fi ;;
10577 esac
10579 rm -f core conftest.err conftest.$ac_objext \
10580 conftest$ac_exeext conftest.$ac_ext
10581 LIBS=$ac_check_soname_save_LIBS
10583 if test "x$ac_cv_lib_soname_dbus_1" = "x"; then :
10584 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
10585 $as_echo "not found" >&6; }
10586 DBUS_CFLAGS=""
10587 else
10588 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_dbus_1" >&5
10589 $as_echo "$ac_cv_lib_soname_dbus_1" >&6; }
10591 cat >>confdefs.h <<_ACEOF
10592 #define SONAME_LIBDBUS_1 "$ac_cv_lib_soname_dbus_1"
10593 _ACEOF
10597 else
10598 DBUS_CFLAGS=""
10602 CPPFLAGS=$ac_save_CPPFLAGS
10603 test -z "$DBUS_CFLAGS" || DBUS_CFLAGS=`echo " $DBUS_CFLAGS" | sed 's/ -I\([^/]\)/ -I\$(top_builddir)\/\1/g'`
10604 test -z "$DBUS_LIBS" || DBUS_LIBS=`echo " $DBUS_LIBS" | sed 's/ -L\([^/]\)/ -L\$(top_builddir)\/\1/g'`
10607 if test "x$ac_cv_lib_soname_dbus_1" = "x" -a \
10608 "x$ac_cv_header_DiskArbitration_DiskArbitration_h" != "xyes"; then :
10609 case "x$with_dbus" in
10610 x) as_fn_append wine_notices "|libdbus ${notice_platform}development files not found, no dynamic device support." ;;
10611 xno) ;;
10612 *) as_fn_error $? "libdbus ${notice_platform}development files not found, no dynamic device support.
10613 This is an error since --with-dbus was requested." "$LINENO" 5 ;;
10614 esac
10617 if test "x$with_hal" != "xno" -a "x$ac_cv_lib_soname_dbus_1" != x
10618 then
10619 if test -n "$HAL_CFLAGS"; then :
10621 elif test -n "$PKG_CONFIG"; then :
10622 HAL_CFLAGS=`$PKG_CONFIG --cflags hal 2>/dev/null`
10625 if test -n "$HAL_LIBS"; then :
10627 elif test -n "$PKG_CONFIG"; then :
10628 HAL_LIBS=`$PKG_CONFIG --libs hal 2>/dev/null`
10631 HAL_LIBS=${HAL_LIBS:-"-ldbus-1"}
10632 ac_save_CPPFLAGS=$CPPFLAGS
10633 CPPFLAGS="$CPPFLAGS $HAL_CFLAGS"
10634 ac_fn_c_check_header_mongrel "$LINENO" "hal/libhal.h" "ac_cv_header_hal_libhal_h" "$ac_includes_default"
10635 if test "x$ac_cv_header_hal_libhal_h" = xyes; then :
10636 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lhal" >&5
10637 $as_echo_n "checking for -lhal... " >&6; }
10638 if ${ac_cv_lib_soname_hal+:} false; then :
10639 $as_echo_n "(cached) " >&6
10640 else
10641 ac_check_soname_save_LIBS=$LIBS
10642 LIBS="-lhal $HAL_LIBS $LIBS"
10643 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10644 /* end confdefs.h. */
10646 /* Override any GCC internal prototype to avoid an error.
10647 Use char because int might match the return type of a GCC
10648 builtin and then its argument prototype would still apply. */
10649 #ifdef __cplusplus
10650 extern "C"
10651 #endif
10652 char libhal_ctx_new ();
10654 main ()
10656 return libhal_ctx_new ();
10658 return 0;
10660 _ACEOF
10661 if ac_fn_c_try_link "$LINENO"; then :
10662 case "$LIBEXT" in
10663 dll) ac_cv_lib_soname_hal=`$ac_cv_path_LDD conftest.exe | grep "hal" | sed -e "s/dll.*/dll/"';2,$d'` ;;
10664 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'` ;;
10665 *) ac_cv_lib_soname_hal=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libhal\\.$LIBEXT" | sed -e "s/^.*\\[\\(libhal\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
10666 if test "x$ac_cv_lib_soname_hal" = x; then :
10667 ac_cv_lib_soname_hal=`$LDD conftest$ac_exeext | grep "libhal\\.$LIBEXT" | sed -e "s/^.*\(libhal\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
10668 fi ;;
10669 esac
10671 rm -f core conftest.err conftest.$ac_objext \
10672 conftest$ac_exeext conftest.$ac_ext
10673 LIBS=$ac_check_soname_save_LIBS
10675 if test "x$ac_cv_lib_soname_hal" = "x"; then :
10676 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
10677 $as_echo "not found" >&6; }
10678 HAL_CFLAGS=""
10679 else
10680 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_hal" >&5
10681 $as_echo "$ac_cv_lib_soname_hal" >&6; }
10683 cat >>confdefs.h <<_ACEOF
10684 #define SONAME_LIBHAL "$ac_cv_lib_soname_hal"
10685 _ACEOF
10689 else
10690 HAL_CFLAGS=""
10694 CPPFLAGS=$ac_save_CPPFLAGS
10695 test -z "$HAL_CFLAGS" || HAL_CFLAGS=`echo " $HAL_CFLAGS" | sed 's/ -I\([^/]\)/ -I\$(top_builddir)\/\1/g'`
10696 test -z "$HAL_LIBS" || HAL_LIBS=`echo " $HAL_LIBS" | sed 's/ -L\([^/]\)/ -L\$(top_builddir)\/\1/g'`
10698 if test "x$ac_cv_lib_soname_hal" = "x" -a \
10699 "x$ac_cv_header_DiskArbitration_DiskArbitration_h" != "xyes"; then :
10700 case "x$with_hal" in
10701 x) as_fn_append wine_notices "|libhal ${notice_platform}development files not found, no legacy dynamic device support." ;;
10702 xno) ;;
10703 *) as_fn_error $? "libhal ${notice_platform}development files not found, no legacy dynamic device support.
10704 This is an error since --with-hal was requested." "$LINENO" 5 ;;
10705 esac
10709 if test "x$with_gnutls" != "xno"
10710 then
10711 if test -n "$GNUTLS_CFLAGS"; then :
10713 elif test -n "$PKG_CONFIG"; then :
10714 GNUTLS_CFLAGS=`$PKG_CONFIG --cflags gnutls 2>/dev/null`
10717 if test -n "$GNUTLS_LIBS"; then :
10719 elif test -n "$PKG_CONFIG"; then :
10720 GNUTLS_LIBS=`$PKG_CONFIG --libs gnutls 2>/dev/null`
10724 ac_save_CPPFLAGS=$CPPFLAGS
10725 CPPFLAGS="$CPPFLAGS $GNUTLS_CFLAGS"
10726 ac_fn_c_check_header_mongrel "$LINENO" "gnutls/gnutls.h" "ac_cv_header_gnutls_gnutls_h" "$ac_includes_default"
10727 if test "x$ac_cv_header_gnutls_gnutls_h" = xyes; then :
10728 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10729 /* end confdefs.h. */
10730 #include <gnutls/gnutls.h>
10731 #include <gnutls/crypto.h>
10733 main ()
10735 static typeof(gnutls_mac_get_key_size) *func; if (func) return 0;
10737 return 0;
10739 _ACEOF
10740 if ac_fn_c_try_compile "$LINENO"; then :
10741 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lgnutls" >&5
10742 $as_echo_n "checking for -lgnutls... " >&6; }
10743 if ${ac_cv_lib_soname_gnutls+:} false; then :
10744 $as_echo_n "(cached) " >&6
10745 else
10746 ac_check_soname_save_LIBS=$LIBS
10747 LIBS="-lgnutls $GNUTLS_LIBS $LIBS"
10748 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10749 /* end confdefs.h. */
10751 /* Override any GCC internal prototype to avoid an error.
10752 Use char because int might match the return type of a GCC
10753 builtin and then its argument prototype would still apply. */
10754 #ifdef __cplusplus
10755 extern "C"
10756 #endif
10757 char gnutls_global_init ();
10759 main ()
10761 return gnutls_global_init ();
10763 return 0;
10765 _ACEOF
10766 if ac_fn_c_try_link "$LINENO"; then :
10767 case "$LIBEXT" in
10768 dll) ac_cv_lib_soname_gnutls=`$ac_cv_path_LDD conftest.exe | grep "gnutls" | sed -e "s/dll.*/dll/"';2,$d'` ;;
10769 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'` ;;
10770 *) ac_cv_lib_soname_gnutls=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libgnutls\\.$LIBEXT" | sed -e "s/^.*\\[\\(libgnutls\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
10771 if test "x$ac_cv_lib_soname_gnutls" = x; then :
10772 ac_cv_lib_soname_gnutls=`$LDD conftest$ac_exeext | grep "libgnutls\\.$LIBEXT" | sed -e "s/^.*\(libgnutls\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
10773 fi ;;
10774 esac
10776 rm -f core conftest.err conftest.$ac_objext \
10777 conftest$ac_exeext conftest.$ac_ext
10778 LIBS=$ac_check_soname_save_LIBS
10780 if test "x$ac_cv_lib_soname_gnutls" = "x"; then :
10781 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
10782 $as_echo "not found" >&6; }
10783 GNUTLS_CFLAGS=""
10784 else
10785 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_gnutls" >&5
10786 $as_echo "$ac_cv_lib_soname_gnutls" >&6; }
10788 cat >>confdefs.h <<_ACEOF
10789 #define SONAME_LIBGNUTLS "$ac_cv_lib_soname_gnutls"
10790 _ACEOF
10795 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
10796 else
10797 GNUTLS_CFLAGS=""
10801 CPPFLAGS=$ac_save_CPPFLAGS
10802 test -z "$GNUTLS_CFLAGS" || GNUTLS_CFLAGS=`echo " $GNUTLS_CFLAGS" | sed 's/ -I\([^/]\)/ -I\$(top_builddir)\/\1/g'`
10803 test -z "$GNUTLS_LIBS" || GNUTLS_LIBS=`echo " $GNUTLS_LIBS" | sed 's/ -L\([^/]\)/ -L\$(top_builddir)\/\1/g'`
10806 if test "x$ac_cv_lib_soname_gnutls" = "x"; then :
10807 case "x$with_gnutls" in
10808 x) as_fn_append wine_notices "|libgnutls ${notice_platform}development files not found, no schannel support." ;;
10809 xno) ;;
10810 *) as_fn_error $? "libgnutls ${notice_platform}development files not found, no schannel support.
10811 This is an error since --with-gnutls was requested." "$LINENO" 5 ;;
10812 esac
10815 CURSESLIBS=""
10816 if test "$ac_cv_header_ncurses_h" = "yes"
10817 then
10818 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lncurses" >&5
10819 $as_echo_n "checking for -lncurses... " >&6; }
10820 if ${ac_cv_lib_soname_ncurses+:} false; then :
10821 $as_echo_n "(cached) " >&6
10822 else
10823 ac_check_soname_save_LIBS=$LIBS
10824 LIBS="-lncurses $LIBS"
10825 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10826 /* end confdefs.h. */
10828 /* Override any GCC internal prototype to avoid an error.
10829 Use char because int might match the return type of a GCC
10830 builtin and then its argument prototype would still apply. */
10831 #ifdef __cplusplus
10832 extern "C"
10833 #endif
10834 char waddch ();
10836 main ()
10838 return waddch ();
10840 return 0;
10842 _ACEOF
10843 if ac_fn_c_try_link "$LINENO"; then :
10844 case "$LIBEXT" in
10845 dll) ac_cv_lib_soname_ncurses=`$ac_cv_path_LDD conftest.exe | grep "ncurses" | sed -e "s/dll.*/dll/"';2,$d'` ;;
10846 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'` ;;
10847 *) ac_cv_lib_soname_ncurses=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libncurses\\.$LIBEXT" | sed -e "s/^.*\\[\\(libncurses\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
10848 if test "x$ac_cv_lib_soname_ncurses" = x; then :
10849 ac_cv_lib_soname_ncurses=`$LDD conftest$ac_exeext | grep "libncurses\\.$LIBEXT" | sed -e "s/^.*\(libncurses\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
10850 fi ;;
10851 esac
10853 rm -f core conftest.err conftest.$ac_objext \
10854 conftest$ac_exeext conftest.$ac_ext
10855 LIBS=$ac_check_soname_save_LIBS
10857 if test "x$ac_cv_lib_soname_ncurses" = "x"; then :
10858 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
10859 $as_echo "not found" >&6; }
10861 else
10862 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_ncurses" >&5
10863 $as_echo "$ac_cv_lib_soname_ncurses" >&6; }
10865 cat >>confdefs.h <<_ACEOF
10866 #define SONAME_LIBNCURSES "$ac_cv_lib_soname_ncurses"
10867 _ACEOF
10869 CURSESLIBS="-lncurses"
10871 elif test "$ac_cv_header_curses_h" = "yes"
10872 then
10873 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lcurses" >&5
10874 $as_echo_n "checking for -lcurses... " >&6; }
10875 if ${ac_cv_lib_soname_curses+:} false; then :
10876 $as_echo_n "(cached) " >&6
10877 else
10878 ac_check_soname_save_LIBS=$LIBS
10879 LIBS="-lcurses $LIBS"
10880 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10881 /* end confdefs.h. */
10883 /* Override any GCC internal prototype to avoid an error.
10884 Use char because int might match the return type of a GCC
10885 builtin and then its argument prototype would still apply. */
10886 #ifdef __cplusplus
10887 extern "C"
10888 #endif
10889 char waddch ();
10891 main ()
10893 return waddch ();
10895 return 0;
10897 _ACEOF
10898 if ac_fn_c_try_link "$LINENO"; then :
10899 case "$LIBEXT" in
10900 dll) ac_cv_lib_soname_curses=`$ac_cv_path_LDD conftest.exe | grep "curses" | sed -e "s/dll.*/dll/"';2,$d'` ;;
10901 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'` ;;
10902 *) ac_cv_lib_soname_curses=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libcurses\\.$LIBEXT" | sed -e "s/^.*\\[\\(libcurses\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
10903 if test "x$ac_cv_lib_soname_curses" = x; then :
10904 ac_cv_lib_soname_curses=`$LDD conftest$ac_exeext | grep "libcurses\\.$LIBEXT" | sed -e "s/^.*\(libcurses\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
10905 fi ;;
10906 esac
10908 rm -f core conftest.err conftest.$ac_objext \
10909 conftest$ac_exeext conftest.$ac_ext
10910 LIBS=$ac_check_soname_save_LIBS
10912 if test "x$ac_cv_lib_soname_curses" = "x"; then :
10913 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
10914 $as_echo "not found" >&6; }
10916 else
10917 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_curses" >&5
10918 $as_echo "$ac_cv_lib_soname_curses" >&6; }
10920 cat >>confdefs.h <<_ACEOF
10921 #define SONAME_LIBCURSES "$ac_cv_lib_soname_curses"
10922 _ACEOF
10924 CURSESLIBS="-lcurses"
10927 ac_save_LIBS="$LIBS"
10928 LIBS="$LIBS $CURSESLIBS"
10929 for ac_func in mousemask
10930 do :
10931 ac_fn_c_check_func "$LINENO" "mousemask" "ac_cv_func_mousemask"
10932 if test "x$ac_cv_func_mousemask" = xyes; then :
10933 cat >>confdefs.h <<_ACEOF
10934 #define HAVE_MOUSEMASK 1
10935 _ACEOF
10938 done
10940 LIBS="$ac_save_LIBS"
10941 if test "x$ac_cv_lib_soname_curses$ac_cv_lib_soname_ncurses" = "x"; then :
10942 case "x$with_curses" in
10943 x) as_fn_append wine_notices "|lib(n)curses ${notice_platform}development files not found, curses won't be supported." ;;
10944 xno) ;;
10945 *) as_fn_error $? "lib(n)curses ${notice_platform}development files not found, curses won't be supported.
10946 This is an error since --with-curses was requested." "$LINENO" 5 ;;
10947 esac
10950 if test "x$with_sane" != "xno"
10951 then
10952 if test -n "$SANE_CFLAGS"; then :
10954 elif test -n "$PKG_CONFIG"; then :
10955 SANE_CFLAGS=`$PKG_CONFIG --cflags libsane 2>/dev/null`
10957 test "$cross_compiling" = yes || SANE_CFLAGS=${SANE_CFLAGS:-`sane-config --cflags 2>/dev/null`}
10958 if test -n "$SANE_LIBS"; then :
10960 elif test -n "$PKG_CONFIG"; then :
10961 SANE_LIBS=`$PKG_CONFIG --libs libsane 2>/dev/null`
10963 test "$cross_compiling" = yes || SANE_LIBS=${SANE_LIBS:-`sane-config --ldflags 2>/dev/null`}
10965 ac_save_CPPFLAGS=$CPPFLAGS
10966 CPPFLAGS="$CPPFLAGS $SANE_CFLAGS"
10967 ac_fn_c_check_header_mongrel "$LINENO" "sane/sane.h" "ac_cv_header_sane_sane_h" "$ac_includes_default"
10968 if test "x$ac_cv_header_sane_sane_h" = xyes; then :
10969 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lsane" >&5
10970 $as_echo_n "checking for -lsane... " >&6; }
10971 if ${ac_cv_lib_soname_sane+:} false; then :
10972 $as_echo_n "(cached) " >&6
10973 else
10974 ac_check_soname_save_LIBS=$LIBS
10975 LIBS="-lsane $SANE_LIBS $LIBS"
10976 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10977 /* end confdefs.h. */
10979 /* Override any GCC internal prototype to avoid an error.
10980 Use char because int might match the return type of a GCC
10981 builtin and then its argument prototype would still apply. */
10982 #ifdef __cplusplus
10983 extern "C"
10984 #endif
10985 char sane_init ();
10987 main ()
10989 return sane_init ();
10991 return 0;
10993 _ACEOF
10994 if ac_fn_c_try_link "$LINENO"; then :
10995 case "$LIBEXT" in
10996 dll) ac_cv_lib_soname_sane=`$ac_cv_path_LDD conftest.exe | grep "sane" | sed -e "s/dll.*/dll/"';2,$d'` ;;
10997 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'` ;;
10998 *) ac_cv_lib_soname_sane=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libsane\\.$LIBEXT" | sed -e "s/^.*\\[\\(libsane\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
10999 if test "x$ac_cv_lib_soname_sane" = x; then :
11000 ac_cv_lib_soname_sane=`$LDD conftest$ac_exeext | grep "libsane\\.$LIBEXT" | sed -e "s/^.*\(libsane\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
11001 fi ;;
11002 esac
11004 rm -f core conftest.err conftest.$ac_objext \
11005 conftest$ac_exeext conftest.$ac_ext
11006 LIBS=$ac_check_soname_save_LIBS
11008 if test "x$ac_cv_lib_soname_sane" = "x"; then :
11009 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
11010 $as_echo "not found" >&6; }
11011 SANE_CFLAGS=""
11012 else
11013 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_sane" >&5
11014 $as_echo "$ac_cv_lib_soname_sane" >&6; }
11016 cat >>confdefs.h <<_ACEOF
11017 #define SONAME_LIBSANE "$ac_cv_lib_soname_sane"
11018 _ACEOF
11022 else
11023 SANE_CFLAGS=""
11027 CPPFLAGS=$ac_save_CPPFLAGS
11028 test -z "$SANE_CFLAGS" || SANE_CFLAGS=`echo " $SANE_CFLAGS" | sed 's/ -I\([^/]\)/ -I\$(top_builddir)\/\1/g'`
11029 test -z "$SANE_LIBS" || SANE_LIBS=`echo " $SANE_LIBS" | sed 's/ -L\([^/]\)/ -L\$(top_builddir)\/\1/g'`
11032 if test "x$ac_cv_lib_soname_sane" = "x"; then :
11033 case "x$with_sane" in
11034 x) as_fn_append wine_notices "|libsane ${notice_platform}development files not found, scanners won't be supported." ;;
11035 xno) ;;
11036 *) as_fn_error $? "libsane ${notice_platform}development files not found, scanners won't be supported.
11037 This is an error since --with-sane was requested." "$LINENO" 5 ;;
11038 esac
11041 if test "x$with_v4l" != "xno"
11042 then
11043 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lv4l1" >&5
11044 $as_echo_n "checking for -lv4l1... " >&6; }
11045 if ${ac_cv_lib_soname_v4l1+:} false; then :
11046 $as_echo_n "(cached) " >&6
11047 else
11048 ac_check_soname_save_LIBS=$LIBS
11049 LIBS="-lv4l1 $LIBS"
11050 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11051 /* end confdefs.h. */
11053 /* Override any GCC internal prototype to avoid an error.
11054 Use char because int might match the return type of a GCC
11055 builtin and then its argument prototype would still apply. */
11056 #ifdef __cplusplus
11057 extern "C"
11058 #endif
11059 char v4l1_open ();
11061 main ()
11063 return v4l1_open ();
11065 return 0;
11067 _ACEOF
11068 if ac_fn_c_try_link "$LINENO"; then :
11069 case "$LIBEXT" in
11070 dll) ac_cv_lib_soname_v4l1=`$ac_cv_path_LDD conftest.exe | grep "v4l1" | sed -e "s/dll.*/dll/"';2,$d'` ;;
11071 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'` ;;
11072 *) ac_cv_lib_soname_v4l1=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libv4l1\\.$LIBEXT" | sed -e "s/^.*\\[\\(libv4l1\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
11073 if test "x$ac_cv_lib_soname_v4l1" = x; then :
11074 ac_cv_lib_soname_v4l1=`$LDD conftest$ac_exeext | grep "libv4l1\\.$LIBEXT" | sed -e "s/^.*\(libv4l1\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
11075 fi ;;
11076 esac
11078 rm -f core conftest.err conftest.$ac_objext \
11079 conftest$ac_exeext conftest.$ac_ext
11080 LIBS=$ac_check_soname_save_LIBS
11082 if test "x$ac_cv_lib_soname_v4l1" = "x"; then :
11083 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
11084 $as_echo "not found" >&6; }
11086 else
11087 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_v4l1" >&5
11088 $as_echo "$ac_cv_lib_soname_v4l1" >&6; }
11090 cat >>confdefs.h <<_ACEOF
11091 #define SONAME_LIBV4L1 "$ac_cv_lib_soname_v4l1"
11092 _ACEOF
11097 if test "x$ac_cv_lib_soname_v4l1" = "x"; then :
11098 case "x$with_v4l" in
11099 x) as_fn_append wine_notices "|libv4l ${notice_platform}development files not found." ;;
11100 xno) ;;
11101 *) as_fn_error $? "libv4l ${notice_platform}development files not found.
11102 This is an error since --with-v4l was requested." "$LINENO" 5 ;;
11103 esac
11106 if test "x$with_gphoto" != "xno"
11107 then
11108 if test -n "$GPHOTO2_CFLAGS"; then :
11110 elif test -n "$PKG_CONFIG"; then :
11111 GPHOTO2_CFLAGS=`$PKG_CONFIG --cflags libgphoto2 2>/dev/null`
11113 test "$cross_compiling" = yes || GPHOTO2_CFLAGS=${GPHOTO2_CFLAGS:-`gphoto2-config --cflags 2>/dev/null`}
11114 if test -n "$GPHOTO2_LIBS"; then :
11116 elif test -n "$PKG_CONFIG"; then :
11117 GPHOTO2_LIBS=`$PKG_CONFIG --libs libgphoto2 2>/dev/null`
11119 test "$cross_compiling" = yes || GPHOTO2_LIBS=${GPHOTO2_LIBS:-`gphoto2-config --libs 2>/dev/null`}
11120 GPHOTO2_LIBS=${GPHOTO2_LIBS:-"-lgphoto2"}
11121 ac_save_CPPFLAGS=$CPPFLAGS
11122 CPPFLAGS="$CPPFLAGS $GPHOTO2_CFLAGS"
11123 ac_fn_c_check_header_mongrel "$LINENO" "gphoto2-camera.h" "ac_cv_header_gphoto2_camera_h" "$ac_includes_default"
11124 if test "x$ac_cv_header_gphoto2_camera_h" = xyes; then :
11125 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for gp_camera_new in -lgphoto2" >&5
11126 $as_echo_n "checking for gp_camera_new in -lgphoto2... " >&6; }
11127 if ${ac_cv_lib_gphoto2_gp_camera_new+:} false; then :
11128 $as_echo_n "(cached) " >&6
11129 else
11130 ac_check_lib_save_LIBS=$LIBS
11131 LIBS="-lgphoto2 $GPHOTO2_LIBS $LIBS"
11132 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11133 /* end confdefs.h. */
11135 /* Override any GCC internal prototype to avoid an error.
11136 Use char because int might match the return type of a GCC
11137 builtin and then its argument prototype would still apply. */
11138 #ifdef __cplusplus
11139 extern "C"
11140 #endif
11141 char gp_camera_new ();
11143 main ()
11145 return gp_camera_new ();
11147 return 0;
11149 _ACEOF
11150 if ac_fn_c_try_link "$LINENO"; then :
11151 ac_cv_lib_gphoto2_gp_camera_new=yes
11152 else
11153 ac_cv_lib_gphoto2_gp_camera_new=no
11155 rm -f core conftest.err conftest.$ac_objext \
11156 conftest$ac_exeext conftest.$ac_ext
11157 LIBS=$ac_check_lib_save_LIBS
11159 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_gphoto2_gp_camera_new" >&5
11160 $as_echo "$ac_cv_lib_gphoto2_gp_camera_new" >&6; }
11161 if test "x$ac_cv_lib_gphoto2_gp_camera_new" = xyes; then :
11163 $as_echo "#define HAVE_GPHOTO2 1" >>confdefs.h
11165 else
11166 GPHOTO2_LIBS=""; GPHOTO2_CFLAGS=""
11169 else
11170 GPHOTO2_LIBS=""; GPHOTO2_CFLAGS=""
11174 CPPFLAGS=$ac_save_CPPFLAGS
11175 test -z "$GPHOTO2_CFLAGS" || GPHOTO2_CFLAGS=`echo " $GPHOTO2_CFLAGS" | sed 's/ -I\([^/]\)/ -I\$(top_builddir)\/\1/g'`
11176 test -z "$GPHOTO2_LIBS" || GPHOTO2_LIBS=`echo " $GPHOTO2_LIBS" | sed 's/ -L\([^/]\)/ -L\$(top_builddir)\/\1/g'`
11178 if test -n "$GPHOTO2_PORT_CFLAGS"; then :
11180 elif test -n "$PKG_CONFIG"; then :
11181 GPHOTO2_PORT_CFLAGS=`$PKG_CONFIG --cflags libgphoto2_port 2>/dev/null`
11183 test "$cross_compiling" = yes || GPHOTO2_PORT_CFLAGS=${GPHOTO2_PORT_CFLAGS:-`gphoto2-port-config --cflags 2>/dev/null`}
11184 if test -n "$GPHOTO2_PORT_LIBS"; then :
11186 elif test -n "$PKG_CONFIG"; then :
11187 GPHOTO2_PORT_LIBS=`$PKG_CONFIG --libs libgphoto2_port 2>/dev/null`
11189 test "$cross_compiling" = yes || GPHOTO2_PORT_LIBS=${GPHOTO2_PORT_LIBS:-`gphoto2-port-config --libs 2>/dev/null`}
11190 GPHOTO2_PORT_LIBS=${GPHOTO2_PORT_LIBS:-"-lgphoto2_port"}
11191 ac_save_CPPFLAGS=$CPPFLAGS
11192 CPPFLAGS="$CPPFLAGS $GPHOTO2_PORT_CFLAGS"
11193 ac_fn_c_check_header_mongrel "$LINENO" "gphoto2-port.h" "ac_cv_header_gphoto2_port_h" "$ac_includes_default"
11194 if test "x$ac_cv_header_gphoto2_port_h" = xyes; then :
11195 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for gp_port_info_list_new in -lgphoto2_port" >&5
11196 $as_echo_n "checking for gp_port_info_list_new in -lgphoto2_port... " >&6; }
11197 if ${ac_cv_lib_gphoto2_port_gp_port_info_list_new+:} false; then :
11198 $as_echo_n "(cached) " >&6
11199 else
11200 ac_check_lib_save_LIBS=$LIBS
11201 LIBS="-lgphoto2_port $GPHOTO2_PORT_LIBS $LIBS"
11202 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11203 /* end confdefs.h. */
11205 /* Override any GCC internal prototype to avoid an error.
11206 Use char because int might match the return type of a GCC
11207 builtin and then its argument prototype would still apply. */
11208 #ifdef __cplusplus
11209 extern "C"
11210 #endif
11211 char gp_port_info_list_new ();
11213 main ()
11215 return gp_port_info_list_new ();
11217 return 0;
11219 _ACEOF
11220 if ac_fn_c_try_link "$LINENO"; then :
11221 ac_cv_lib_gphoto2_port_gp_port_info_list_new=yes
11222 else
11223 ac_cv_lib_gphoto2_port_gp_port_info_list_new=no
11225 rm -f core conftest.err conftest.$ac_objext \
11226 conftest$ac_exeext conftest.$ac_ext
11227 LIBS=$ac_check_lib_save_LIBS
11229 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_gphoto2_port_gp_port_info_list_new" >&5
11230 $as_echo "$ac_cv_lib_gphoto2_port_gp_port_info_list_new" >&6; }
11231 if test "x$ac_cv_lib_gphoto2_port_gp_port_info_list_new" = xyes; then :
11233 $as_echo "#define HAVE_GPHOTO2_PORT 1" >>confdefs.h
11235 else
11236 GPHOTO2_PORT_LIBS=""; GPHOTO2_PORT_CFLAGS=""
11239 else
11240 GPHOTO2_PORT_LIBS=""; GPHOTO2_PORT_CFLAGS=""
11244 CPPFLAGS=$ac_save_CPPFLAGS
11245 test -z "$GPHOTO2_PORT_CFLAGS" || GPHOTO2_PORT_CFLAGS=`echo " $GPHOTO2_PORT_CFLAGS" | sed 's/ -I\([^/]\)/ -I\$(top_builddir)\/\1/g'`
11246 test -z "$GPHOTO2_PORT_LIBS" || GPHOTO2_PORT_LIBS=`echo " $GPHOTO2_PORT_LIBS" | sed 's/ -L\([^/]\)/ -L\$(top_builddir)\/\1/g'`
11249 if test "$ac_cv_lib_gphoto2_gp_camera_new" != "yes"; then :
11250 case "x$with_gphoto" in
11251 x) as_fn_append wine_notices "|libgphoto2 ${notice_platform}development files not found, digital cameras won't be supported." ;;
11252 xno) ;;
11253 *) as_fn_error $? "libgphoto2 ${notice_platform}development files not found, digital cameras won't be supported.
11254 This is an error since --with-gphoto was requested." "$LINENO" 5 ;;
11255 esac
11257 if test "$ac_cv_lib_gphoto2_port_gp_port_info_list_new" != "yes"; then :
11258 case "x$with_gphoto" in
11259 x) as_fn_append wine_notices "|libgphoto2_port ${notice_platform}development files not found, digital cameras won't be auto-detected." ;;
11260 xno) ;;
11261 *) as_fn_error $? "libgphoto2_port ${notice_platform}development files not found, digital cameras won't be auto-detected.
11262 This is an error since --with-gphoto was requested." "$LINENO" 5 ;;
11263 esac
11267 if test "$ac_cv_header_resolv_h" = "yes"
11268 then
11269 ac_save_LIBS="$LIBS"
11270 for lib in '' -lresolv
11272 LIBS="$lib $ac_save_LIBS"
11273 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11274 /* end confdefs.h. */
11275 #ifdef HAVE_NETINET_IN_H
11276 #include <netinet/in.h>
11277 #endif
11278 #include <resolv.h>
11280 main ()
11282 res_query("foo",ns_c_in,0,0,0);
11284 return 0;
11286 _ACEOF
11287 if ac_fn_c_try_link "$LINENO"; then :
11289 $as_echo "#define HAVE_RESOLV 1" >>confdefs.h
11291 RESOLVLIBS="$lib"
11294 rm -f core conftest.err conftest.$ac_objext \
11295 conftest$ac_exeext conftest.$ac_ext
11296 if test "${RESOLVLIBS+set}" = set; then
11297 break
11299 done
11300 LIBS="$ac_save_LIBS"
11303 if test "x$with_lcms2" != "xno"
11304 then
11305 if test -n "$LCMS2_CFLAGS"; then :
11307 elif test -n "$PKG_CONFIG"; then :
11308 LCMS2_CFLAGS=`$PKG_CONFIG --cflags lcms2 2>/dev/null`
11311 if test -n "$LCMS2_LIBS"; then :
11313 elif test -n "$PKG_CONFIG"; then :
11314 LCMS2_LIBS=`$PKG_CONFIG --libs lcms2 2>/dev/null`
11317 LCMS2_LIBS=${LCMS2_LIBS:-"-llcms2"}
11318 ac_save_CPPFLAGS=$CPPFLAGS
11319 CPPFLAGS="$CPPFLAGS $LCMS2_CFLAGS"
11320 for ac_header in lcms2.h
11321 do :
11322 ac_fn_c_check_header_mongrel "$LINENO" "lcms2.h" "ac_cv_header_lcms2_h" "$ac_includes_default"
11323 if test "x$ac_cv_header_lcms2_h" = xyes; then :
11324 cat >>confdefs.h <<_ACEOF
11325 #define HAVE_LCMS2_H 1
11326 _ACEOF
11330 done
11332 if test "$ac_cv_header_lcms2_h" = "yes"
11333 then
11334 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for cmsOpenProfileFromFile in -llcms2" >&5
11335 $as_echo_n "checking for cmsOpenProfileFromFile in -llcms2... " >&6; }
11336 if ${ac_cv_lib_lcms2_cmsOpenProfileFromFile+:} false; then :
11337 $as_echo_n "(cached) " >&6
11338 else
11339 ac_check_lib_save_LIBS=$LIBS
11340 LIBS="-llcms2 $LIBS"
11341 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11342 /* end confdefs.h. */
11344 /* Override any GCC internal prototype to avoid an error.
11345 Use char because int might match the return type of a GCC
11346 builtin and then its argument prototype would still apply. */
11347 #ifdef __cplusplus
11348 extern "C"
11349 #endif
11350 char cmsOpenProfileFromFile ();
11352 main ()
11354 return cmsOpenProfileFromFile ();
11356 return 0;
11358 _ACEOF
11359 if ac_fn_c_try_link "$LINENO"; then :
11360 ac_cv_lib_lcms2_cmsOpenProfileFromFile=yes
11361 else
11362 ac_cv_lib_lcms2_cmsOpenProfileFromFile=no
11364 rm -f core conftest.err conftest.$ac_objext \
11365 conftest$ac_exeext conftest.$ac_ext
11366 LIBS=$ac_check_lib_save_LIBS
11368 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_lcms2_cmsOpenProfileFromFile" >&5
11369 $as_echo "$ac_cv_lib_lcms2_cmsOpenProfileFromFile" >&6; }
11370 if test "x$ac_cv_lib_lcms2_cmsOpenProfileFromFile" = xyes; then :
11372 $as_echo "#define HAVE_LCMS2 1" >>confdefs.h
11374 else
11375 LCMS2_LIBS=""
11378 else
11379 LCMS2_CFLAGS=""
11380 LCMS2_LIBS=""
11382 CPPFLAGS=$ac_save_CPPFLAGS
11383 test -z "$LCMS2_CFLAGS" || LCMS2_CFLAGS=`echo " $LCMS2_CFLAGS" | sed 's/ -I\([^/]\)/ -I\$(top_builddir)\/\1/g'`
11384 test -z "$LCMS2_LIBS" || LCMS2_LIBS=`echo " $LCMS2_LIBS" | sed 's/ -L\([^/]\)/ -L\$(top_builddir)\/\1/g'`
11387 if test "$ac_cv_lib_lcms2_cmsOpenProfileFromFile" != "yes"; then :
11388 case "x$with_cms" in
11389 x) as_fn_append wine_notices "|liblcms2 ${notice_platform}development files not found, Color Management won't be supported." ;;
11390 xno) ;;
11391 *) as_fn_error $? "liblcms2 ${notice_platform}development files not found, Color Management won't be supported.
11392 This is an error since --with-cms was requested." "$LINENO" 5 ;;
11393 esac
11396 if test "x$with_freetype" != "xno"
11397 then
11398 if test -n "$FREETYPE_CFLAGS"; then :
11400 elif test -n "$PKG_CONFIG"; then :
11401 FREETYPE_CFLAGS=`$PKG_CONFIG --cflags freetype2 2>/dev/null`
11403 test "$cross_compiling" = yes || FREETYPE_CFLAGS=${FREETYPE_CFLAGS:-`(freetype-config --cflags || freetype2-config --cflags) 2>/dev/null`}
11404 if test -n "$FREETYPE_LIBS"; then :
11406 elif test -n "$PKG_CONFIG"; then :
11407 FREETYPE_LIBS=`$PKG_CONFIG --libs freetype2 2>/dev/null`
11409 test "$cross_compiling" = yes || FREETYPE_LIBS=${FREETYPE_LIBS:-`(freetype-config --libs || freetype2-config --libs) 2>/dev/null`}
11410 FREETYPE_LIBS=${FREETYPE_LIBS:-"-lfreetype"}
11411 ac_save_CPPFLAGS=$CPPFLAGS
11412 CPPFLAGS="$CPPFLAGS $FREETYPE_CFLAGS"
11413 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lfreetype" >&5
11414 $as_echo_n "checking for -lfreetype... " >&6; }
11415 if ${ac_cv_lib_soname_freetype+:} false; then :
11416 $as_echo_n "(cached) " >&6
11417 else
11418 ac_check_soname_save_LIBS=$LIBS
11419 LIBS="-lfreetype $FREETYPE_LIBS $LIBS"
11420 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11421 /* end confdefs.h. */
11423 /* Override any GCC internal prototype to avoid an error.
11424 Use char because int might match the return type of a GCC
11425 builtin and then its argument prototype would still apply. */
11426 #ifdef __cplusplus
11427 extern "C"
11428 #endif
11429 char FT_Init_FreeType ();
11431 main ()
11433 return FT_Init_FreeType ();
11435 return 0;
11437 _ACEOF
11438 if ac_fn_c_try_link "$LINENO"; then :
11439 case "$LIBEXT" in
11440 dll) ac_cv_lib_soname_freetype=`$ac_cv_path_LDD conftest.exe | grep "freetype" | sed -e "s/dll.*/dll/"';2,$d'` ;;
11441 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'` ;;
11442 *) ac_cv_lib_soname_freetype=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libfreetype\\.$LIBEXT" | sed -e "s/^.*\\[\\(libfreetype\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
11443 if test "x$ac_cv_lib_soname_freetype" = x; then :
11444 ac_cv_lib_soname_freetype=`$LDD conftest$ac_exeext | grep "libfreetype\\.$LIBEXT" | sed -e "s/^.*\(libfreetype\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
11445 fi ;;
11446 esac
11448 rm -f core conftest.err conftest.$ac_objext \
11449 conftest$ac_exeext conftest.$ac_ext
11450 LIBS=$ac_check_soname_save_LIBS
11452 if test "x$ac_cv_lib_soname_freetype" = "x"; then :
11453 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
11454 $as_echo "not found" >&6; }
11455 ft_lib=no
11456 else
11457 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_freetype" >&5
11458 $as_echo "$ac_cv_lib_soname_freetype" >&6; }
11460 cat >>confdefs.h <<_ACEOF
11461 #define SONAME_LIBFREETYPE "$ac_cv_lib_soname_freetype"
11462 _ACEOF
11464 ft_lib=yes
11466 if test "$ft_lib" = "yes"
11467 then
11468 for ac_header in ft2build.h \
11469 freetype/freetype.h \
11470 freetype/ftglyph.h \
11471 freetype/fttypes.h \
11472 freetype/tttables.h \
11473 freetype/ftsnames.h \
11474 freetype/ttnameid.h \
11475 freetype/ftoutln.h \
11476 freetype/ftwinfnt.h \
11477 freetype/ftmodapi.h \
11478 freetype/ftlcdfil.h
11479 do :
11480 as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
11481 ac_fn_c_check_header_compile "$LINENO" "$ac_header" "$as_ac_Header" "#ifdef HAVE_FT2BUILD_H
11482 # include <ft2build.h>
11483 #endif
11485 if eval test \"x\$"$as_ac_Header"\" = x"yes"; then :
11486 cat >>confdefs.h <<_ACEOF
11487 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
11488 _ACEOF
11492 done
11494 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11495 /* end confdefs.h. */
11496 #include <ft2build.h>
11497 #include <freetype/fttrigon.h>
11498 _ACEOF
11499 if ac_fn_c_try_cpp "$LINENO"; then :
11501 $as_echo "#define HAVE_FREETYPE_FTTRIGON_H 1" >>confdefs.h
11503 wine_cv_fttrigon=yes
11504 else
11505 wine_cv_fttrigon=no
11507 rm -f conftest.err conftest.i conftest.$ac_ext
11508 ac_fn_c_check_type "$LINENO" "FT_TrueTypeEngineType" "ac_cv_type_FT_TrueTypeEngineType" "#include <freetype/ftmodapi.h>
11510 if test "x$ac_cv_type_FT_TrueTypeEngineType" = xyes; then :
11512 cat >>confdefs.h <<_ACEOF
11513 #define HAVE_FT_TRUETYPEENGINETYPE 1
11514 _ACEOF
11519 if test "$ac_cv_header_freetype_freetype_h" = "yes" -a "$wine_cv_fttrigon" = "yes"
11520 then
11522 $as_echo "#define HAVE_FREETYPE 1" >>confdefs.h
11524 else
11525 FREETYPE_LIBS=""
11527 else
11528 FREETYPE_LIBS=""
11530 CPPFLAGS=$ac_save_CPPFLAGS
11531 test -z "$FREETYPE_CFLAGS" || FREETYPE_CFLAGS=`echo " $FREETYPE_CFLAGS" | sed 's/ -I\([^/]\)/ -I\$(top_builddir)\/\1/g'`
11532 test -z "$FREETYPE_LIBS" || FREETYPE_LIBS=`echo " $FREETYPE_LIBS" | sed 's/ -L\([^/]\)/ -L\$(top_builddir)\/\1/g'`
11535 if test "x$ac_cv_header_freetype_freetype_h" != xyes -o "x$wine_cv_fttrigon" != xyes; then :
11536 case "x$with_freetype" in
11537 xno) ;;
11538 *) as_fn_error $? "FreeType ${notice_platform}development files not found. Fonts will not be built.
11539 Use the --without-freetype option if you really want this." "$LINENO" 5 ;;
11540 esac
11542 test "x$ac_cv_header_freetype_freetype_h" = xyes -a "x$wine_cv_fttrigon" = xyes || enable_fonts=${enable_fonts:-no}
11544 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for parport header/ppdev.h" >&5
11545 $as_echo_n "checking for parport header/ppdev.h... " >&6; }
11546 if ${ac_cv_c_ppdev+:} false; then :
11547 $as_echo_n "(cached) " >&6
11548 else
11549 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11550 /* end confdefs.h. */
11551 #ifdef HAVE_SYS_IOCTL_H
11552 # include <sys/ioctl.h>
11553 #endif
11554 #include <linux/ppdev.h>
11556 main ()
11558 ioctl (1,PPCLAIM,0)
11560 return 0;
11562 _ACEOF
11563 if ac_fn_c_try_compile "$LINENO"; then :
11564 ac_cv_c_ppdev="yes"
11565 else
11566 ac_cv_c_ppdev="no"
11568 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
11570 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_ppdev" >&5
11571 $as_echo "$ac_cv_c_ppdev" >&6; }
11572 if test "$ac_cv_c_ppdev" = "yes"
11573 then
11575 $as_echo "#define HAVE_PPDEV 1" >>confdefs.h
11579 ac_wine_check_funcs_save_LIBS="$LIBS"
11580 LIBS="$LIBS $LIBPTHREAD"
11581 for ac_func in \
11582 pthread_attr_get_np \
11583 pthread_getattr_np \
11584 pthread_getthreadid_np \
11585 pthread_get_stackaddr_np \
11586 pthread_get_stacksize_np
11587 do :
11588 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
11589 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
11590 if eval test \"x\$"$as_ac_var"\" = x"yes"; then :
11591 cat >>confdefs.h <<_ACEOF
11592 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
11593 _ACEOF
11596 done
11598 LIBS="$ac_wine_check_funcs_save_LIBS"
11600 if test "$ac_cv_header_zlib_h" = "yes"
11601 then
11602 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for inflate in -lz" >&5
11603 $as_echo_n "checking for inflate in -lz... " >&6; }
11604 if ${ac_cv_lib_z_inflate+:} false; then :
11605 $as_echo_n "(cached) " >&6
11606 else
11607 ac_check_lib_save_LIBS=$LIBS
11608 LIBS="-lz $LIBS"
11609 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11610 /* end confdefs.h. */
11612 /* Override any GCC internal prototype to avoid an error.
11613 Use char because int might match the return type of a GCC
11614 builtin and then its argument prototype would still apply. */
11615 #ifdef __cplusplus
11616 extern "C"
11617 #endif
11618 char inflate ();
11620 main ()
11622 return inflate ();
11624 return 0;
11626 _ACEOF
11627 if ac_fn_c_try_link "$LINENO"; then :
11628 ac_cv_lib_z_inflate=yes
11629 else
11630 ac_cv_lib_z_inflate=no
11632 rm -f core conftest.err conftest.$ac_objext \
11633 conftest$ac_exeext conftest.$ac_ext
11634 LIBS=$ac_check_lib_save_LIBS
11636 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_z_inflate" >&5
11637 $as_echo "$ac_cv_lib_z_inflate" >&6; }
11638 if test "x$ac_cv_lib_z_inflate" = xyes; then :
11640 $as_echo "#define HAVE_ZLIB 1" >>confdefs.h
11642 ZLIB="-lz"
11647 if test "x$ZLIB" = "x"; then :
11648 case "x$with_zlib" in
11649 x) as_fn_append wine_notices "|libz ${notice_platform}development files not found, data compression won't be supported." ;;
11650 xno) ;;
11651 *) as_fn_error $? "libz ${notice_platform}development files not found, data compression won't be supported.
11652 This is an error since --with-zlib was requested." "$LINENO" 5 ;;
11653 esac
11656 if test "x$enable_tools" != xno
11657 then
11658 if test "$ac_cv_header_gettext_po_h" = "yes"
11659 then
11660 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for po_message_msgctxt in -lgettextpo" >&5
11661 $as_echo_n "checking for po_message_msgctxt in -lgettextpo... " >&6; }
11662 if ${ac_cv_lib_gettextpo_po_message_msgctxt+:} false; then :
11663 $as_echo_n "(cached) " >&6
11664 else
11665 ac_check_lib_save_LIBS=$LIBS
11666 LIBS="-lgettextpo $LIBS"
11667 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11668 /* end confdefs.h. */
11670 /* Override any GCC internal prototype to avoid an error.
11671 Use char because int might match the return type of a GCC
11672 builtin and then its argument prototype would still apply. */
11673 #ifdef __cplusplus
11674 extern "C"
11675 #endif
11676 char po_message_msgctxt ();
11678 main ()
11680 return po_message_msgctxt ();
11682 return 0;
11684 _ACEOF
11685 if ac_fn_c_try_link "$LINENO"; then :
11686 ac_cv_lib_gettextpo_po_message_msgctxt=yes
11687 else
11688 ac_cv_lib_gettextpo_po_message_msgctxt=no
11690 rm -f core conftest.err conftest.$ac_objext \
11691 conftest$ac_exeext conftest.$ac_ext
11692 LIBS=$ac_check_lib_save_LIBS
11694 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_gettextpo_po_message_msgctxt" >&5
11695 $as_echo "$ac_cv_lib_gettextpo_po_message_msgctxt" >&6; }
11696 if test "x$ac_cv_lib_gettextpo_po_message_msgctxt" = xyes; then :
11698 $as_echo "#define HAVE_LIBGETTEXTPO 1" >>confdefs.h
11700 LIBGETTEXTPO="-lgettextpo"
11705 test "x$with_gettextpo" != xyes || if test "x$LIBGETTEXTPO" = "x"; then :
11706 case "x$with_gettextpo" in
11707 x) as_fn_append wine_notices "|GetText ${notice_platform}development files not found (or too old), po files can't be rebuilt." ;;
11708 xno) ;;
11709 *) as_fn_error $? "GetText ${notice_platform}development files not found (or too old), po files can't be rebuilt.
11710 This is an error since --with-gettextpo was requested." "$LINENO" 5 ;;
11711 esac
11715 if test "x$with_gstreamer" != "xno"
11716 then
11717 if test -n "$GSTREAMER_CFLAGS"; then :
11719 elif test -n "$PKG_CONFIG"; then :
11720 GSTREAMER_CFLAGS=`$PKG_CONFIG --cflags gstreamer-app-0.10 2>/dev/null`
11723 if test -n "$GSTREAMER_LIBS"; then :
11725 elif test -n "$PKG_CONFIG"; then :
11726 GSTREAMER_LIBS=`$PKG_CONFIG --libs gstreamer-app-0.10 2>/dev/null`
11730 ac_save_CPPFLAGS=$CPPFLAGS
11731 CPPFLAGS="$CPPFLAGS $GSTREAMER_CFLAGS"
11732 ac_gst_incl=""
11733 for i in $GSTREAMER_CFLAGS
11735 case "$i" in
11736 -I*) ac_gst_incl="$ac_gst_incl $i";;
11737 esac
11738 done
11739 GSTREAMER_CFLAGS=$ac_gst_incl
11740 CPPFLAGS="$ac_save_CPPFLAGS $GSTREAMER_CFLAGS"
11741 ac_fn_c_check_header_mongrel "$LINENO" "gst/gstpad.h" "ac_cv_header_gst_gstpad_h" "$ac_includes_default"
11742 if test "x$ac_cv_header_gst_gstpad_h" = xyes; then :
11743 ac_fn_c_check_header_mongrel "$LINENO" "gst/app/gstappsink.h" "ac_cv_header_gst_app_gstappsink_h" "$ac_includes_default"
11744 if test "x$ac_cv_header_gst_app_gstappsink_h" = xyes; then :
11745 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether gint64 defined by gst/app/gstappsink.h is indeed 64-bit" >&5
11746 $as_echo_n "checking whether gint64 defined by gst/app/gstappsink.h is indeed 64-bit... " >&6; }
11747 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11748 /* end confdefs.h. */
11749 #include <gst/app/gstappsink.h>
11751 main ()
11753 static int a[sizeof(gint64) > 4 ? 1 : -1]; if (a[0]) return 0;
11755 return 0;
11757 _ACEOF
11758 if ac_fn_c_try_compile "$LINENO"; then :
11759 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
11760 $as_echo "yes" >&6; }
11761 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for gst_pad_get_caps_reffed in -lgstreamer-0.10" >&5
11762 $as_echo_n "checking for gst_pad_get_caps_reffed in -lgstreamer-0.10... " >&6; }
11763 if ${ac_cv_lib_gstreamer_0_10_gst_pad_get_caps_reffed+:} false; then :
11764 $as_echo_n "(cached) " >&6
11765 else
11766 ac_check_lib_save_LIBS=$LIBS
11767 LIBS="-lgstreamer-0.10 $LIBS"
11768 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11769 /* end confdefs.h. */
11771 /* Override any GCC internal prototype to avoid an error.
11772 Use char because int might match the return type of a GCC
11773 builtin and then its argument prototype would still apply. */
11774 #ifdef __cplusplus
11775 extern "C"
11776 #endif
11777 char gst_pad_get_caps_reffed ();
11779 main ()
11781 return gst_pad_get_caps_reffed ();
11783 return 0;
11785 _ACEOF
11786 if ac_fn_c_try_link "$LINENO"; then :
11787 ac_cv_lib_gstreamer_0_10_gst_pad_get_caps_reffed=yes
11788 else
11789 ac_cv_lib_gstreamer_0_10_gst_pad_get_caps_reffed=no
11791 rm -f core conftest.err conftest.$ac_objext \
11792 conftest$ac_exeext conftest.$ac_ext
11793 LIBS=$ac_check_lib_save_LIBS
11795 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_gstreamer_0_10_gst_pad_get_caps_reffed" >&5
11796 $as_echo "$ac_cv_lib_gstreamer_0_10_gst_pad_get_caps_reffed" >&6; }
11797 if test "x$ac_cv_lib_gstreamer_0_10_gst_pad_get_caps_reffed" = xyes; then :
11798 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for gst_app_buffer_new in -lgstapp-0.10" >&5
11799 $as_echo_n "checking for gst_app_buffer_new in -lgstapp-0.10... " >&6; }
11800 if ${ac_cv_lib_gstapp_0_10_gst_app_buffer_new+:} false; then :
11801 $as_echo_n "(cached) " >&6
11802 else
11803 ac_check_lib_save_LIBS=$LIBS
11804 LIBS="-lgstapp-0.10 $GSTREAMER_LIBS $LIBS"
11805 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11806 /* end confdefs.h. */
11808 /* Override any GCC internal prototype to avoid an error.
11809 Use char because int might match the return type of a GCC
11810 builtin and then its argument prototype would still apply. */
11811 #ifdef __cplusplus
11812 extern "C"
11813 #endif
11814 char gst_app_buffer_new ();
11816 main ()
11818 return gst_app_buffer_new ();
11820 return 0;
11822 _ACEOF
11823 if ac_fn_c_try_link "$LINENO"; then :
11824 ac_cv_lib_gstapp_0_10_gst_app_buffer_new=yes
11825 else
11826 ac_cv_lib_gstapp_0_10_gst_app_buffer_new=no
11828 rm -f core conftest.err conftest.$ac_objext \
11829 conftest$ac_exeext conftest.$ac_ext
11830 LIBS=$ac_check_lib_save_LIBS
11832 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_gstapp_0_10_gst_app_buffer_new" >&5
11833 $as_echo "$ac_cv_lib_gstapp_0_10_gst_app_buffer_new" >&6; }
11834 if test "x$ac_cv_lib_gstapp_0_10_gst_app_buffer_new" = xyes; then :
11840 else
11841 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
11842 $as_echo "no" >&6; }
11844 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
11848 else
11849 GSTREAMER_CFLAGS=""
11853 CPPFLAGS=$ac_save_CPPFLAGS
11854 test -z "$GSTREAMER_CFLAGS" || GSTREAMER_CFLAGS=`echo " $GSTREAMER_CFLAGS" | sed 's/ -I\([^/]\)/ -I\$(top_builddir)\/\1/g'`
11855 test -z "$GSTREAMER_LIBS" || GSTREAMER_LIBS=`echo " $GSTREAMER_LIBS" | sed 's/ -L\([^/]\)/ -L\$(top_builddir)\/\1/g'`
11858 if test "x$ac_cv_lib_gstapp_0_10_gst_app_buffer_new" != xyes -a "x$ac_cv_header_QuickTime_ImageCompression_h" != xyes; then :
11859 case "x$with_gstreamer" in
11860 x) as_fn_append wine_notices "|gstreamer-0.10 base plugins ${notice_platform}development files not found, gstreamer support disabled" ;;
11861 xno) ;;
11862 *) as_fn_error $? "gstreamer-0.10 base plugins ${notice_platform}development files not found, gstreamer support disabled
11863 This is an error since --with-gstreamer was requested." "$LINENO" 5 ;;
11864 esac
11866 test "x$ac_cv_lib_gstapp_0_10_gst_app_buffer_new" = xyes || enable_winegstreamer=${enable_winegstreamer:-no}
11868 ALSALIBS=""
11870 if test "$ac_cv_header_sys_asoundlib_h" = "yes" -o "$ac_cv_header_alsa_asoundlib_h" = "yes"
11871 then
11872 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for snd_pcm_hw_params_get_access_mask in -lasound" >&5
11873 $as_echo_n "checking for snd_pcm_hw_params_get_access_mask in -lasound... " >&6; }
11874 if ${ac_cv_lib_asound_snd_pcm_hw_params_get_access_mask+:} false; then :
11875 $as_echo_n "(cached) " >&6
11876 else
11877 ac_check_lib_save_LIBS=$LIBS
11878 LIBS="-lasound $LIBS"
11879 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11880 /* end confdefs.h. */
11882 /* Override any GCC internal prototype to avoid an error.
11883 Use char because int might match the return type of a GCC
11884 builtin and then its argument prototype would still apply. */
11885 #ifdef __cplusplus
11886 extern "C"
11887 #endif
11888 char snd_pcm_hw_params_get_access_mask ();
11890 main ()
11892 return snd_pcm_hw_params_get_access_mask ();
11894 return 0;
11896 _ACEOF
11897 if ac_fn_c_try_link "$LINENO"; then :
11898 ac_cv_lib_asound_snd_pcm_hw_params_get_access_mask=yes
11899 else
11900 ac_cv_lib_asound_snd_pcm_hw_params_get_access_mask=no
11902 rm -f core conftest.err conftest.$ac_objext \
11903 conftest$ac_exeext conftest.$ac_ext
11904 LIBS=$ac_check_lib_save_LIBS
11906 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_asound_snd_pcm_hw_params_get_access_mask" >&5
11907 $as_echo "$ac_cv_lib_asound_snd_pcm_hw_params_get_access_mask" >&6; }
11908 if test "x$ac_cv_lib_asound_snd_pcm_hw_params_get_access_mask" = xyes; then :
11909 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11910 /* end confdefs.h. */
11911 #ifdef HAVE_ALSA_ASOUNDLIB_H
11912 #include <alsa/asoundlib.h>
11913 #elif defined(HAVE_SYS_ASOUNDLIB_H)
11914 #include <sys/asoundlib.h>
11915 #endif
11917 main ()
11919 snd_pcm_hw_params_get_access_mask(NULL, NULL)
11921 return 0;
11923 _ACEOF
11924 if ac_fn_c_try_compile "$LINENO"; then :
11925 ALSALIBS="-lasound"
11927 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
11932 if test "x$with_oss" != xno
11933 then
11934 ac_save_CPPFLAGS="$CPPFLAGS"
11935 if test -f /etc/oss.conf
11936 then
11937 . /etc/oss.conf
11939 ac_oss_incl="-I${OSSLIBDIR:-/usr/lib/oss}/include"
11940 CPPFLAGS="$CPPFLAGS $ac_oss_incl"
11941 ac_fn_c_check_header_mongrel "$LINENO" "sys/soundcard.h" "ac_cv_header_sys_soundcard_h" "$ac_includes_default"
11942 if test "x$ac_cv_header_sys_soundcard_h" = xyes; then :
11943 ac_fn_c_check_member "$LINENO" "oss_sysinfo" "numaudioengines" "ac_cv_member_oss_sysinfo_numaudioengines" "#include <sys/soundcard.h>
11945 if test "x$ac_cv_member_oss_sysinfo_numaudioengines" = xyes; then :
11947 cat >>confdefs.h <<_ACEOF
11948 #define HAVE_OSS_SYSINFO_NUMAUDIOENGINES 1
11949 _ACEOF
11951 OSS4INCL="$ac_oss_incl"
11958 CPPFLAGS="$ac_save_CPPFLAGS"
11959 if test "x$ac_cv_member_oss_sysinfo_numaudioengines" != xyes
11960 then
11961 as_fn_append wine_notices "|OSS sound system found but too old (OSSv4 needed), OSS won't be supported."
11965 if test "x$with_capi" != "xno"
11966 then
11967 if test -n "$CAPI20_CFLAGS"; then :
11969 elif test -n "$PKG_CONFIG"; then :
11970 CAPI20_CFLAGS=`$PKG_CONFIG --cflags capi20 2>/dev/null`
11973 if test -n "$CAPI20_LIBS"; then :
11975 elif test -n "$PKG_CONFIG"; then :
11976 CAPI20_LIBS=`$PKG_CONFIG --libs capi20 2>/dev/null`
11980 ac_save_CPPFLAGS=$CPPFLAGS
11981 CPPFLAGS="$CPPFLAGS $CAPI20_CFLAGS"
11982 for ac_header in capi20.h linux/capi.h
11983 do :
11984 as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
11985 ac_fn_c_check_header_compile "$LINENO" "$ac_header" "$as_ac_Header" "#define __user
11987 if eval test \"x\$"$as_ac_Header"\" = x"yes"; then :
11988 cat >>confdefs.h <<_ACEOF
11989 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
11990 _ACEOF
11994 done
11996 if test "$ac_cv_header_capi20_h" = "yes" -a "$ac_cv_header_linux_capi_h" = "yes"
11997 then
11998 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lcapi20" >&5
11999 $as_echo_n "checking for -lcapi20... " >&6; }
12000 if ${ac_cv_lib_soname_capi20+:} false; then :
12001 $as_echo_n "(cached) " >&6
12002 else
12003 ac_check_soname_save_LIBS=$LIBS
12004 LIBS="-lcapi20 $CAPI20_LIBS $LIBS"
12005 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12006 /* end confdefs.h. */
12008 /* Override any GCC internal prototype to avoid an error.
12009 Use char because int might match the return type of a GCC
12010 builtin and then its argument prototype would still apply. */
12011 #ifdef __cplusplus
12012 extern "C"
12013 #endif
12014 char capi20_register ();
12016 main ()
12018 return capi20_register ();
12020 return 0;
12022 _ACEOF
12023 if ac_fn_c_try_link "$LINENO"; then :
12024 case "$LIBEXT" in
12025 dll) ac_cv_lib_soname_capi20=`$ac_cv_path_LDD conftest.exe | grep "capi20" | sed -e "s/dll.*/dll/"';2,$d'` ;;
12026 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'` ;;
12027 *) ac_cv_lib_soname_capi20=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libcapi20\\.$LIBEXT" | sed -e "s/^.*\\[\\(libcapi20\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
12028 if test "x$ac_cv_lib_soname_capi20" = x; then :
12029 ac_cv_lib_soname_capi20=`$LDD conftest$ac_exeext | grep "libcapi20\\.$LIBEXT" | sed -e "s/^.*\(libcapi20\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
12030 fi ;;
12031 esac
12033 rm -f core conftest.err conftest.$ac_objext \
12034 conftest$ac_exeext conftest.$ac_ext
12035 LIBS=$ac_check_soname_save_LIBS
12037 if test "x$ac_cv_lib_soname_capi20" = "x"; then :
12038 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
12039 $as_echo "not found" >&6; }
12041 else
12042 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_capi20" >&5
12043 $as_echo "$ac_cv_lib_soname_capi20" >&6; }
12045 cat >>confdefs.h <<_ACEOF
12046 #define SONAME_LIBCAPI20 "$ac_cv_lib_soname_capi20"
12047 _ACEOF
12052 CPPFLAGS=$ac_save_CPPFLAGS
12053 test -z "$CAPI20_CFLAGS" || CAPI20_CFLAGS=`echo " $CAPI20_CFLAGS" | sed 's/ -I\([^/]\)/ -I\$(top_builddir)\/\1/g'`
12054 test -z "$CAPI20_LIBS" || CAPI20_LIBS=`echo " $CAPI20_LIBS" | sed 's/ -L\([^/]\)/ -L\$(top_builddir)\/\1/g'`
12057 if test "x$ac_cv_lib_soname_capi20" = "x"; then :
12058 case "x$with_capi" in
12059 x) as_fn_append wine_notices "|libcapi20 ${notice_platform}development files not found, ISDN won't be supported." ;;
12060 xno) ;;
12061 *) as_fn_error $? "libcapi20 ${notice_platform}development files not found, ISDN won't be supported.
12062 This is an error since --with-capi was requested." "$LINENO" 5 ;;
12063 esac
12066 CUPSINCL=""
12068 if test "x$with_cups" != "xno"
12069 then
12070 ac_save_CPPFLAGS="$CPPFLAGS"
12071 ac_cups_cflags=`cups-config --cflags 2>/dev/null`
12072 ac_cups_libs=`cups-config --ldflags 2>/dev/null`
12073 CPPFLAGS="$CPPFLAGS $ac_cups_cflags"
12074 for ac_header in cups/cups.h
12075 do :
12076 ac_fn_c_check_header_mongrel "$LINENO" "cups/cups.h" "ac_cv_header_cups_cups_h" "$ac_includes_default"
12077 if test "x$ac_cv_header_cups_cups_h" = xyes; then :
12078 cat >>confdefs.h <<_ACEOF
12079 #define HAVE_CUPS_CUPS_H 1
12080 _ACEOF
12081 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lcups" >&5
12082 $as_echo_n "checking for -lcups... " >&6; }
12083 if ${ac_cv_lib_soname_cups+:} false; then :
12084 $as_echo_n "(cached) " >&6
12085 else
12086 ac_check_soname_save_LIBS=$LIBS
12087 LIBS="-lcups $ac_cups_libs $LIBS"
12088 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12089 /* end confdefs.h. */
12091 /* Override any GCC internal prototype to avoid an error.
12092 Use char because int might match the return type of a GCC
12093 builtin and then its argument prototype would still apply. */
12094 #ifdef __cplusplus
12095 extern "C"
12096 #endif
12097 char cupsGetDefault ();
12099 main ()
12101 return cupsGetDefault ();
12103 return 0;
12105 _ACEOF
12106 if ac_fn_c_try_link "$LINENO"; then :
12107 case "$LIBEXT" in
12108 dll) ac_cv_lib_soname_cups=`$ac_cv_path_LDD conftest.exe | grep "cups" | sed -e "s/dll.*/dll/"';2,$d'` ;;
12109 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'` ;;
12110 *) ac_cv_lib_soname_cups=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libcups\\.$LIBEXT" | sed -e "s/^.*\\[\\(libcups\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
12111 if test "x$ac_cv_lib_soname_cups" = x; then :
12112 ac_cv_lib_soname_cups=`$LDD conftest$ac_exeext | grep "libcups\\.$LIBEXT" | sed -e "s/^.*\(libcups\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
12113 fi ;;
12114 esac
12116 rm -f core conftest.err conftest.$ac_objext \
12117 conftest$ac_exeext conftest.$ac_ext
12118 LIBS=$ac_check_soname_save_LIBS
12120 if test "x$ac_cv_lib_soname_cups" = "x"; then :
12121 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
12122 $as_echo "not found" >&6; }
12124 else
12125 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_cups" >&5
12126 $as_echo "$ac_cv_lib_soname_cups" >&6; }
12128 cat >>confdefs.h <<_ACEOF
12129 #define SONAME_LIBCUPS "$ac_cv_lib_soname_cups"
12130 _ACEOF
12132 CUPSINCL="$ac_cups_cflags"
12136 done
12138 CPPFLAGS="$ac_save_CPPFLAGS"
12140 if test "x$ac_cv_lib_soname_cups" = "x"; then :
12141 case "x$with_cups" in
12142 x) as_fn_append wine_notices "|libcups ${notice_platform}development files not found, CUPS won't be supported." ;;
12143 xno) ;;
12144 *) as_fn_error $? "libcups ${notice_platform}development files not found, CUPS won't be supported.
12145 This is an error since --with-cups was requested." "$LINENO" 5 ;;
12146 esac
12149 if test "$ac_cv_header_fontconfig_fontconfig_h" = "yes"
12150 then
12151 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lfontconfig" >&5
12152 $as_echo_n "checking for -lfontconfig... " >&6; }
12153 if ${ac_cv_lib_soname_fontconfig+:} false; then :
12154 $as_echo_n "(cached) " >&6
12155 else
12156 ac_check_soname_save_LIBS=$LIBS
12157 LIBS="-lfontconfig $LIBS"
12158 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12159 /* end confdefs.h. */
12161 /* Override any GCC internal prototype to avoid an error.
12162 Use char because int might match the return type of a GCC
12163 builtin and then its argument prototype would still apply. */
12164 #ifdef __cplusplus
12165 extern "C"
12166 #endif
12167 char FcInit ();
12169 main ()
12171 return FcInit ();
12173 return 0;
12175 _ACEOF
12176 if ac_fn_c_try_link "$LINENO"; then :
12177 case "$LIBEXT" in
12178 dll) ac_cv_lib_soname_fontconfig=`$ac_cv_path_LDD conftest.exe | grep "fontconfig" | sed -e "s/dll.*/dll/"';2,$d'` ;;
12179 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'` ;;
12180 *) ac_cv_lib_soname_fontconfig=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libfontconfig\\.$LIBEXT" | sed -e "s/^.*\\[\\(libfontconfig\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
12181 if test "x$ac_cv_lib_soname_fontconfig" = x; then :
12182 ac_cv_lib_soname_fontconfig=`$LDD conftest$ac_exeext | grep "libfontconfig\\.$LIBEXT" | sed -e "s/^.*\(libfontconfig\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
12183 fi ;;
12184 esac
12186 rm -f core conftest.err conftest.$ac_objext \
12187 conftest$ac_exeext conftest.$ac_ext
12188 LIBS=$ac_check_soname_save_LIBS
12190 if test "x$ac_cv_lib_soname_fontconfig" = "x"; then :
12191 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
12192 $as_echo "not found" >&6; }
12194 else
12195 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_fontconfig" >&5
12196 $as_echo "$ac_cv_lib_soname_fontconfig" >&6; }
12198 cat >>confdefs.h <<_ACEOF
12199 #define SONAME_LIBFONTCONFIG "$ac_cv_lib_soname_fontconfig"
12200 _ACEOF
12204 elif test -n "$X_CFLAGS" -a "x$with_fontconfig" != "xno"
12205 then
12206 ac_save_CPPFLAGS="$CPPFLAGS"
12207 CPPFLAGS="$CPPFLAGS $X_CFLAGS"
12208 $as_unset ac_cv_header_fontconfig_fontconfig_h
12209 for ac_header in fontconfig/fontconfig.h
12210 do :
12211 ac_fn_c_check_header_mongrel "$LINENO" "fontconfig/fontconfig.h" "ac_cv_header_fontconfig_fontconfig_h" "$ac_includes_default"
12212 if test "x$ac_cv_header_fontconfig_fontconfig_h" = xyes; then :
12213 cat >>confdefs.h <<_ACEOF
12214 #define HAVE_FONTCONFIG_FONTCONFIG_H 1
12215 _ACEOF
12219 done
12221 CPPFLAGS="$ac_save_CPPFLAGS"
12222 if test "$ac_cv_header_fontconfig_fontconfig_h" = "yes"
12223 then
12224 FONTCONFIGINCL="$X_CFLAGS"
12226 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lfontconfig" >&5
12227 $as_echo_n "checking for -lfontconfig... " >&6; }
12228 if ${ac_cv_lib_soname_fontconfig+:} false; then :
12229 $as_echo_n "(cached) " >&6
12230 else
12231 ac_check_soname_save_LIBS=$LIBS
12232 LIBS="-lfontconfig $X_LIBS $LIBS"
12233 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12234 /* end confdefs.h. */
12236 /* Override any GCC internal prototype to avoid an error.
12237 Use char because int might match the return type of a GCC
12238 builtin and then its argument prototype would still apply. */
12239 #ifdef __cplusplus
12240 extern "C"
12241 #endif
12242 char FcInit ();
12244 main ()
12246 return FcInit ();
12248 return 0;
12250 _ACEOF
12251 if ac_fn_c_try_link "$LINENO"; then :
12252 case "$LIBEXT" in
12253 dll) ac_cv_lib_soname_fontconfig=`$ac_cv_path_LDD conftest.exe | grep "fontconfig" | sed -e "s/dll.*/dll/"';2,$d'` ;;
12254 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'` ;;
12255 *) ac_cv_lib_soname_fontconfig=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libfontconfig\\.$LIBEXT" | sed -e "s/^.*\\[\\(libfontconfig\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
12256 if test "x$ac_cv_lib_soname_fontconfig" = x; then :
12257 ac_cv_lib_soname_fontconfig=`$LDD conftest$ac_exeext | grep "libfontconfig\\.$LIBEXT" | sed -e "s/^.*\(libfontconfig\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
12258 fi ;;
12259 esac
12261 rm -f core conftest.err conftest.$ac_objext \
12262 conftest$ac_exeext conftest.$ac_ext
12263 LIBS=$ac_check_soname_save_LIBS
12265 if test "x$ac_cv_lib_soname_fontconfig" = "x"; then :
12266 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
12267 $as_echo "not found" >&6; }
12269 else
12270 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_fontconfig" >&5
12271 $as_echo "$ac_cv_lib_soname_fontconfig" >&6; }
12273 cat >>confdefs.h <<_ACEOF
12274 #define SONAME_LIBFONTCONFIG "$ac_cv_lib_soname_fontconfig"
12275 _ACEOF
12281 if test "x$ac_cv_lib_soname_fontconfig" = "x"; then :
12282 case "x$with_fontconfig" in
12283 x) as_fn_append wine_notices "|fontconfig ${notice_platform}development files not found, fontconfig won't be supported." ;;
12284 xno) ;;
12285 *) as_fn_error $? "fontconfig ${notice_platform}development files not found, fontconfig won't be supported.
12286 This is an error since --with-fontconfig was requested." "$LINENO" 5 ;;
12287 esac
12290 if test "$ac_cv_header_gsm_h" = "yes" -o "$ac_cv_header_gsm_gsm_h" = "yes"
12291 then
12292 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lgsm" >&5
12293 $as_echo_n "checking for -lgsm... " >&6; }
12294 if ${ac_cv_lib_soname_gsm+:} false; then :
12295 $as_echo_n "(cached) " >&6
12296 else
12297 ac_check_soname_save_LIBS=$LIBS
12298 LIBS="-lgsm $LIBS"
12299 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12300 /* end confdefs.h. */
12302 /* Override any GCC internal prototype to avoid an error.
12303 Use char because int might match the return type of a GCC
12304 builtin and then its argument prototype would still apply. */
12305 #ifdef __cplusplus
12306 extern "C"
12307 #endif
12308 char gsm_create ();
12310 main ()
12312 return gsm_create ();
12314 return 0;
12316 _ACEOF
12317 if ac_fn_c_try_link "$LINENO"; then :
12318 case "$LIBEXT" in
12319 dll) ac_cv_lib_soname_gsm=`$ac_cv_path_LDD conftest.exe | grep "gsm" | sed -e "s/dll.*/dll/"';2,$d'` ;;
12320 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'` ;;
12321 *) ac_cv_lib_soname_gsm=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libgsm\\.$LIBEXT" | sed -e "s/^.*\\[\\(libgsm\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
12322 if test "x$ac_cv_lib_soname_gsm" = x; then :
12323 ac_cv_lib_soname_gsm=`$LDD conftest$ac_exeext | grep "libgsm\\.$LIBEXT" | sed -e "s/^.*\(libgsm\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
12324 fi ;;
12325 esac
12327 rm -f core conftest.err conftest.$ac_objext \
12328 conftest$ac_exeext conftest.$ac_ext
12329 LIBS=$ac_check_soname_save_LIBS
12331 if test "x$ac_cv_lib_soname_gsm" = "x"; then :
12332 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
12333 $as_echo "not found" >&6; }
12335 else
12336 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_gsm" >&5
12337 $as_echo "$ac_cv_lib_soname_gsm" >&6; }
12339 cat >>confdefs.h <<_ACEOF
12340 #define SONAME_LIBGSM "$ac_cv_lib_soname_gsm"
12341 _ACEOF
12346 if test "x$ac_cv_lib_soname_gsm" = "x"; then :
12347 case "x$with_gsm" in
12348 x) as_fn_append wine_notices "|libgsm ${notice_platform}development files not found, gsm 06.10 codec won't be supported." ;;
12349 xno) ;;
12350 *) as_fn_error $? "libgsm ${notice_platform}development files not found, gsm 06.10 codec won't be supported.
12351 This is an error since --with-gsm was requested." "$LINENO" 5 ;;
12352 esac
12355 if test "x$with_jpeg" != "xno"
12356 then
12357 if test -n "$JPEG_CFLAGS"; then :
12359 elif test -n "$PKG_CONFIG"; then :
12360 JPEG_CFLAGS=`$PKG_CONFIG --cflags libjpeg 2>/dev/null`
12363 if test -n "$JPEG_LIBS"; then :
12365 elif test -n "$PKG_CONFIG"; then :
12366 JPEG_LIBS=`$PKG_CONFIG --libs libjpeg 2>/dev/null`
12370 ac_save_CPPFLAGS=$CPPFLAGS
12371 CPPFLAGS="$CPPFLAGS $JPEG_CFLAGS"
12372 for ac_header in jpeglib.h
12373 do :
12374 ac_fn_c_check_header_mongrel "$LINENO" "jpeglib.h" "ac_cv_header_jpeglib_h" "$ac_includes_default"
12375 if test "x$ac_cv_header_jpeglib_h" = xyes; then :
12376 cat >>confdefs.h <<_ACEOF
12377 #define HAVE_JPEGLIB_H 1
12378 _ACEOF
12382 done
12384 if test "$ac_cv_header_jpeglib_h" = "yes"
12385 then
12386 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -ljpeg" >&5
12387 $as_echo_n "checking for -ljpeg... " >&6; }
12388 if ${ac_cv_lib_soname_jpeg+:} false; then :
12389 $as_echo_n "(cached) " >&6
12390 else
12391 ac_check_soname_save_LIBS=$LIBS
12392 LIBS="-ljpeg $JPEG_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 jpeg_start_decompress ();
12404 main ()
12406 return jpeg_start_decompress ();
12408 return 0;
12410 _ACEOF
12411 if ac_fn_c_try_link "$LINENO"; then :
12412 case "$LIBEXT" in
12413 dll) ac_cv_lib_soname_jpeg=`$ac_cv_path_LDD conftest.exe | grep "jpeg" | sed -e "s/dll.*/dll/"';2,$d'` ;;
12414 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'` ;;
12415 *) ac_cv_lib_soname_jpeg=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libjpeg\\.$LIBEXT" | sed -e "s/^.*\\[\\(libjpeg\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
12416 if test "x$ac_cv_lib_soname_jpeg" = x; then :
12417 ac_cv_lib_soname_jpeg=`$LDD conftest$ac_exeext | grep "libjpeg\\.$LIBEXT" | sed -e "s/^.*\(libjpeg\.$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 test "x$ac_cv_lib_soname_jpeg" = "x"; then :
12426 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
12427 $as_echo "not found" >&6; }
12428 JPEG_CFLAGS=""
12429 else
12430 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_jpeg" >&5
12431 $as_echo "$ac_cv_lib_soname_jpeg" >&6; }
12433 cat >>confdefs.h <<_ACEOF
12434 #define SONAME_LIBJPEG "$ac_cv_lib_soname_jpeg"
12435 _ACEOF
12439 else
12440 JPEG_CFLAGS=""
12442 CPPFLAGS=$ac_save_CPPFLAGS
12443 test -z "$JPEG_CFLAGS" || JPEG_CFLAGS=`echo " $JPEG_CFLAGS" | sed 's/ -I\([^/]\)/ -I\$(top_builddir)\/\1/g'`
12444 test -z "$JPEG_LIBS" || JPEG_LIBS=`echo " $JPEG_LIBS" | sed 's/ -L\([^/]\)/ -L\$(top_builddir)\/\1/g'`
12447 if test "x$ac_cv_lib_soname_jpeg" = "x"; then :
12448 case "x$with_jpeg" in
12449 x) as_fn_append wine_warnings "|libjpeg ${notice_platform}development files not found, JPEG won't be supported." ;;
12450 xno) ;;
12451 *) as_fn_error $? "libjpeg ${notice_platform}development files not found, JPEG won't be supported.
12452 This is an error since --with-jpeg was requested." "$LINENO" 5 ;;
12453 esac
12456 if test "x$with_png" != "xno"
12457 then
12458 if test -n "$PNG_CFLAGS"; then :
12460 elif test -n "$PKG_CONFIG"; then :
12461 PNG_CFLAGS=`$PKG_CONFIG --cflags libpng 2>/dev/null`
12463 test "$cross_compiling" = yes || PNG_CFLAGS=${PNG_CFLAGS:-$X_CFLAGS}
12464 if test -n "$PNG_LIBS"; then :
12466 elif test -n "$PKG_CONFIG"; then :
12467 PNG_LIBS=`$PKG_CONFIG --libs libpng 2>/dev/null`
12469 test "$cross_compiling" = yes || PNG_LIBS=${PNG_LIBS:-$X_LIBS}
12471 ac_save_CPPFLAGS=$CPPFLAGS
12472 CPPFLAGS="$CPPFLAGS $PNG_CFLAGS"
12473 for ac_header in png.h
12474 do :
12475 ac_fn_c_check_header_mongrel "$LINENO" "png.h" "ac_cv_header_png_h" "$ac_includes_default"
12476 if test "x$ac_cv_header_png_h" = xyes; then :
12477 cat >>confdefs.h <<_ACEOF
12478 #define HAVE_PNG_H 1
12479 _ACEOF
12483 done
12485 if test "$ac_cv_header_png_h" = "yes"
12486 then
12487 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lpng" >&5
12488 $as_echo_n "checking for -lpng... " >&6; }
12489 if ${ac_cv_lib_soname_png+:} false; then :
12490 $as_echo_n "(cached) " >&6
12491 else
12492 ac_check_soname_save_LIBS=$LIBS
12493 LIBS="-lpng $PNG_LIBS -lm -lz $LIBS"
12494 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12495 /* end confdefs.h. */
12497 /* Override any GCC internal prototype to avoid an error.
12498 Use char because int might match the return type of a GCC
12499 builtin and then its argument prototype would still apply. */
12500 #ifdef __cplusplus
12501 extern "C"
12502 #endif
12503 char png_create_read_struct ();
12505 main ()
12507 return png_create_read_struct ();
12509 return 0;
12511 _ACEOF
12512 if ac_fn_c_try_link "$LINENO"; then :
12513 case "$LIBEXT" in
12514 dll) ac_cv_lib_soname_png=`$ac_cv_path_LDD conftest.exe | grep "png" | sed -e "s/dll.*/dll/"';2,$d'` ;;
12515 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'` ;;
12516 *) 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'`
12517 if test "x$ac_cv_lib_soname_png" = x; then :
12518 ac_cv_lib_soname_png=`$LDD conftest$ac_exeext | grep "libpng[0-9]*\\.$LIBEXT" | sed -e "s/^.*\(libpng[0-9]*\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
12519 fi ;;
12520 esac
12522 rm -f core conftest.err conftest.$ac_objext \
12523 conftest$ac_exeext conftest.$ac_ext
12524 LIBS=$ac_check_soname_save_LIBS
12526 if test "x$ac_cv_lib_soname_png" = "x"; then :
12527 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
12528 $as_echo "not found" >&6; }
12529 PNG_CFLAGS=""
12530 else
12531 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_png" >&5
12532 $as_echo "$ac_cv_lib_soname_png" >&6; }
12534 cat >>confdefs.h <<_ACEOF
12535 #define SONAME_LIBPNG "$ac_cv_lib_soname_png"
12536 _ACEOF
12538 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12539 /* end confdefs.h. */
12540 #include <png.h>
12542 main ()
12544 typeof(png_set_expand_gray_1_2_4_to_8) *p
12546 return 0;
12548 _ACEOF
12549 if ac_fn_c_try_compile "$LINENO"; then :
12551 $as_echo "#define HAVE_PNG_SET_EXPAND_GRAY_1_2_4_TO_8 1" >>confdefs.h
12554 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
12556 else
12557 PNG_CFLAGS=""
12559 CPPFLAGS=$ac_save_CPPFLAGS
12560 test -z "$PNG_CFLAGS" || PNG_CFLAGS=`echo " $PNG_CFLAGS" | sed 's/ -I\([^/]\)/ -I\$(top_builddir)\/\1/g'`
12561 test -z "$PNG_LIBS" || PNG_LIBS=`echo " $PNG_LIBS" | sed 's/ -L\([^/]\)/ -L\$(top_builddir)\/\1/g'`
12564 if test "x$ac_cv_lib_soname_png" = "x"; then :
12565 case "x$with_png" in
12566 x) as_fn_append wine_warnings "|libpng ${notice_platform}development files not found, PNG won't be supported." ;;
12567 xno) ;;
12568 *) as_fn_error $? "libpng ${notice_platform}development files not found, PNG won't be supported.
12569 This is an error since --with-png was requested." "$LINENO" 5 ;;
12570 esac
12573 if test "x$with_tiff" != "xno"
12574 then
12575 if test -n "$TIFF_CFLAGS"; then :
12577 elif test -n "$PKG_CONFIG"; then :
12578 TIFF_CFLAGS=`$PKG_CONFIG --cflags libtiff 2>/dev/null`
12581 if test -n "$TIFF_LIBS"; then :
12583 elif test -n "$PKG_CONFIG"; then :
12584 TIFF_LIBS=`$PKG_CONFIG --libs libtiff 2>/dev/null`
12588 ac_save_CPPFLAGS=$CPPFLAGS
12589 CPPFLAGS="$CPPFLAGS $TIFF_CFLAGS"
12590 for ac_header in tiffio.h
12591 do :
12592 ac_fn_c_check_header_mongrel "$LINENO" "tiffio.h" "ac_cv_header_tiffio_h" "$ac_includes_default"
12593 if test "x$ac_cv_header_tiffio_h" = xyes; then :
12594 cat >>confdefs.h <<_ACEOF
12595 #define HAVE_TIFFIO_H 1
12596 _ACEOF
12600 done
12602 if test "$ac_cv_header_tiffio_h" = "yes"
12603 then
12604 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -ltiff" >&5
12605 $as_echo_n "checking for -ltiff... " >&6; }
12606 if ${ac_cv_lib_soname_tiff+:} false; then :
12607 $as_echo_n "(cached) " >&6
12608 else
12609 ac_check_soname_save_LIBS=$LIBS
12610 LIBS="-ltiff $TIFF_LIBS $LIBS"
12611 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12612 /* end confdefs.h. */
12614 /* Override any GCC internal prototype to avoid an error.
12615 Use char because int might match the return type of a GCC
12616 builtin and then its argument prototype would still apply. */
12617 #ifdef __cplusplus
12618 extern "C"
12619 #endif
12620 char TIFFClientOpen ();
12622 main ()
12624 return TIFFClientOpen ();
12626 return 0;
12628 _ACEOF
12629 if ac_fn_c_try_link "$LINENO"; then :
12630 case "$LIBEXT" in
12631 dll) ac_cv_lib_soname_tiff=`$ac_cv_path_LDD conftest.exe | grep "tiff" | sed -e "s/dll.*/dll/"';2,$d'` ;;
12632 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'` ;;
12633 *) ac_cv_lib_soname_tiff=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libtiff\\.$LIBEXT" | sed -e "s/^.*\\[\\(libtiff\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
12634 if test "x$ac_cv_lib_soname_tiff" = x; then :
12635 ac_cv_lib_soname_tiff=`$LDD conftest$ac_exeext | grep "libtiff\\.$LIBEXT" | sed -e "s/^.*\(libtiff\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
12636 fi ;;
12637 esac
12639 rm -f core conftest.err conftest.$ac_objext \
12640 conftest$ac_exeext conftest.$ac_ext
12641 LIBS=$ac_check_soname_save_LIBS
12643 if test "x$ac_cv_lib_soname_tiff" = "x"; then :
12644 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
12645 $as_echo "not found" >&6; }
12647 else
12648 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_tiff" >&5
12649 $as_echo "$ac_cv_lib_soname_tiff" >&6; }
12651 cat >>confdefs.h <<_ACEOF
12652 #define SONAME_LIBTIFF "$ac_cv_lib_soname_tiff"
12653 _ACEOF
12658 CPPFLAGS=$ac_save_CPPFLAGS
12659 test -z "$TIFF_CFLAGS" || TIFF_CFLAGS=`echo " $TIFF_CFLAGS" | sed 's/ -I\([^/]\)/ -I\$(top_builddir)\/\1/g'`
12660 test -z "$TIFF_LIBS" || TIFF_LIBS=`echo " $TIFF_LIBS" | sed 's/ -L\([^/]\)/ -L\$(top_builddir)\/\1/g'`
12663 if test "x$ac_cv_lib_soname_tiff" = "x"; then :
12664 case "x$with_tiff" in
12665 x) as_fn_append wine_notices "|libtiff ${notice_platform}development files not found, TIFF won't be supported." ;;
12666 xno) ;;
12667 *) as_fn_error $? "libtiff ${notice_platform}development files not found, TIFF won't be supported.
12668 This is an error since --with-tiff was requested." "$LINENO" 5 ;;
12669 esac
12672 if test "x$with_mpg123" != "xno"
12673 then
12674 if test -n "$MPG123_CFLAGS"; then :
12676 elif test -n "$PKG_CONFIG"; then :
12677 MPG123_CFLAGS=`$PKG_CONFIG --cflags libmpg123 2>/dev/null`
12680 if test -n "$MPG123_LIBS"; then :
12682 elif test -n "$PKG_CONFIG"; then :
12683 MPG123_LIBS=`$PKG_CONFIG --libs libmpg123 2>/dev/null`
12686 MPG123_LIBS=${MPG123_LIBS:-"-lmpg123"}
12687 ac_save_CPPFLAGS=$CPPFLAGS
12688 CPPFLAGS="$CPPFLAGS $MPG123_CFLAGS"
12689 for ac_header in mpg123.h
12690 do :
12691 ac_fn_c_check_header_mongrel "$LINENO" "mpg123.h" "ac_cv_header_mpg123_h" "$ac_includes_default"
12692 if test "x$ac_cv_header_mpg123_h" = xyes; then :
12693 cat >>confdefs.h <<_ACEOF
12694 #define HAVE_MPG123_H 1
12695 _ACEOF
12699 done
12701 if test "$ac_cv_header_mpg123_h" = "yes"
12702 then
12703 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for mpg123_feed in -lmpg123" >&5
12704 $as_echo_n "checking for mpg123_feed in -lmpg123... " >&6; }
12705 if ${ac_cv_lib_mpg123_mpg123_feed+:} false; then :
12706 $as_echo_n "(cached) " >&6
12707 else
12708 ac_check_lib_save_LIBS=$LIBS
12709 LIBS="-lmpg123 $MPG123_LIBS $LIBS"
12710 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12711 /* end confdefs.h. */
12713 /* Override any GCC internal prototype to avoid an error.
12714 Use char because int might match the return type of a GCC
12715 builtin and then its argument prototype would still apply. */
12716 #ifdef __cplusplus
12717 extern "C"
12718 #endif
12719 char mpg123_feed ();
12721 main ()
12723 return mpg123_feed ();
12725 return 0;
12727 _ACEOF
12728 if ac_fn_c_try_link "$LINENO"; then :
12729 ac_cv_lib_mpg123_mpg123_feed=yes
12730 else
12731 ac_cv_lib_mpg123_mpg123_feed=no
12733 rm -f core conftest.err conftest.$ac_objext \
12734 conftest$ac_exeext conftest.$ac_ext
12735 LIBS=$ac_check_lib_save_LIBS
12737 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_mpg123_mpg123_feed" >&5
12738 $as_echo "$ac_cv_lib_mpg123_mpg123_feed" >&6; }
12739 if test "x$ac_cv_lib_mpg123_mpg123_feed" = xyes; then :
12741 else
12742 MPG123_LIBS=""
12745 else
12746 MPG123_CFLAGS=""
12747 MPG123_LIBS=""
12749 CPPFLAGS=$ac_save_CPPFLAGS
12750 test -z "$MPG123_CFLAGS" || MPG123_CFLAGS=`echo " $MPG123_CFLAGS" | sed 's/ -I\([^/]\)/ -I\$(top_builddir)\/\1/g'`
12751 test -z "$MPG123_LIBS" || MPG123_LIBS=`echo " $MPG123_LIBS" | sed 's/ -L\([^/]\)/ -L\$(top_builddir)\/\1/g'`
12754 if test "x$ac_cv_lib_mpg123_mpg123_feed" != xyes -a x"$ac_cv_header_CoreAudio_CoreAudio_h" != xyes; then :
12755 case "x$with_mpg123" in
12756 x) as_fn_append wine_notices "|libmpg123 ${notice_platform}development files not found (or too old), mp3 codec won't be supported." ;;
12757 xno) ;;
12758 *) as_fn_error $? "libmpg123 ${notice_platform}development files not found (or too old), mp3 codec won't be supported.
12759 This is an error since --with-mpg123 was requested." "$LINENO" 5 ;;
12760 esac
12762 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}
12764 if test "$ac_cv_header_AL_al_h" = "yes"
12765 then
12766 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lopenal" >&5
12767 $as_echo_n "checking for -lopenal... " >&6; }
12768 if ${ac_cv_lib_soname_openal+:} false; then :
12769 $as_echo_n "(cached) " >&6
12770 else
12771 ac_check_soname_save_LIBS=$LIBS
12772 LIBS="-lopenal $LIBS"
12773 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12774 /* end confdefs.h. */
12776 /* Override any GCC internal prototype to avoid an error.
12777 Use char because int might match the return type of a GCC
12778 builtin and then its argument prototype would still apply. */
12779 #ifdef __cplusplus
12780 extern "C"
12781 #endif
12782 char alGetSource3i ();
12784 main ()
12786 return alGetSource3i ();
12788 return 0;
12790 _ACEOF
12791 if ac_fn_c_try_link "$LINENO"; then :
12792 case "$LIBEXT" in
12793 dll) ac_cv_lib_soname_openal=`$ac_cv_path_LDD conftest.exe | grep "openal" | sed -e "s/dll.*/dll/"';2,$d'` ;;
12794 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'` ;;
12795 *) ac_cv_lib_soname_openal=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libopenal\\.$LIBEXT" | sed -e "s/^.*\\[\\(libopenal\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
12796 if test "x$ac_cv_lib_soname_openal" = x; then :
12797 ac_cv_lib_soname_openal=`$LDD conftest$ac_exeext | grep "libopenal\\.$LIBEXT" | sed -e "s/^.*\(libopenal\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
12798 fi ;;
12799 esac
12801 rm -f core conftest.err conftest.$ac_objext \
12802 conftest$ac_exeext conftest.$ac_ext
12803 LIBS=$ac_check_soname_save_LIBS
12805 if test "x$ac_cv_lib_soname_openal" = "x"; then :
12806 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
12807 $as_echo "not found" >&6; }
12809 else
12810 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_openal" >&5
12811 $as_echo "$ac_cv_lib_soname_openal" >&6; }
12813 cat >>confdefs.h <<_ACEOF
12814 #define SONAME_LIBOPENAL "$ac_cv_lib_soname_openal"
12815 _ACEOF
12817 LIBOPENAL="-lopenal"
12819 ac_cv_lib_openal=yes
12821 cat >>confdefs.h <<_ACEOF
12822 #define HAVE_OPENAL 1
12823 _ACEOF
12827 if test "x$ac_cv_lib_openal" != xyes; then :
12828 case "x$with_openal" in
12829 x) as_fn_append wine_notices "|libopenal ${notice_platform}development files not found (or too old), OpenAL won't be supported." ;;
12830 xno) ;;
12831 *) as_fn_error $? "libopenal ${notice_platform}development files not found (or too old), OpenAL won't be supported.
12832 This is an error since --with-openal was requested." "$LINENO" 5 ;;
12833 esac
12835 test "x$ac_cv_lib_openal" = xyes || enable_openal32=${enable_openal32:-no}
12837 if test "$ac_cv_header_kstat_h" = "yes"
12838 then
12839 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for kstat_open in -lkstat" >&5
12840 $as_echo_n "checking for kstat_open in -lkstat... " >&6; }
12841 if ${ac_cv_lib_kstat_kstat_open+:} false; then :
12842 $as_echo_n "(cached) " >&6
12843 else
12844 ac_check_lib_save_LIBS=$LIBS
12845 LIBS="-lkstat $LIBS"
12846 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12847 /* end confdefs.h. */
12849 /* Override any GCC internal prototype to avoid an error.
12850 Use char because int might match the return type of a GCC
12851 builtin and then its argument prototype would still apply. */
12852 #ifdef __cplusplus
12853 extern "C"
12854 #endif
12855 char kstat_open ();
12857 main ()
12859 return kstat_open ();
12861 return 0;
12863 _ACEOF
12864 if ac_fn_c_try_link "$LINENO"; then :
12865 ac_cv_lib_kstat_kstat_open=yes
12866 else
12867 ac_cv_lib_kstat_kstat_open=no
12869 rm -f core conftest.err conftest.$ac_objext \
12870 conftest$ac_exeext conftest.$ac_ext
12871 LIBS=$ac_check_lib_save_LIBS
12873 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_kstat_kstat_open" >&5
12874 $as_echo "$ac_cv_lib_kstat_kstat_open" >&6; }
12875 if test "x$ac_cv_lib_kstat_kstat_open" = xyes; then :
12877 $as_echo "#define HAVE_LIBKSTAT 1" >>confdefs.h
12879 LIBKSTAT="-lkstat"
12885 if test "$ac_cv_header_libprocstat_h" = "yes"
12886 then
12887 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for procstat_open_sysctl in -lprocstat" >&5
12888 $as_echo_n "checking for procstat_open_sysctl in -lprocstat... " >&6; }
12889 if ${ac_cv_lib_procstat_procstat_open_sysctl+:} false; then :
12890 $as_echo_n "(cached) " >&6
12891 else
12892 ac_check_lib_save_LIBS=$LIBS
12893 LIBS="-lprocstat $LIBS"
12894 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12895 /* end confdefs.h. */
12897 /* Override any GCC internal prototype to avoid an error.
12898 Use char because int might match the return type of a GCC
12899 builtin and then its argument prototype would still apply. */
12900 #ifdef __cplusplus
12901 extern "C"
12902 #endif
12903 char procstat_open_sysctl ();
12905 main ()
12907 return procstat_open_sysctl ();
12909 return 0;
12911 _ACEOF
12912 if ac_fn_c_try_link "$LINENO"; then :
12913 ac_cv_lib_procstat_procstat_open_sysctl=yes
12914 else
12915 ac_cv_lib_procstat_procstat_open_sysctl=no
12917 rm -f core conftest.err conftest.$ac_objext \
12918 conftest$ac_exeext conftest.$ac_ext
12919 LIBS=$ac_check_lib_save_LIBS
12921 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_procstat_procstat_open_sysctl" >&5
12922 $as_echo "$ac_cv_lib_procstat_procstat_open_sysctl" >&6; }
12923 if test "x$ac_cv_lib_procstat_procstat_open_sysctl" = xyes; then :
12925 $as_echo "#define HAVE_LIBPROCSTAT 1" >>confdefs.h
12927 LIBPROCSTAT="-lprocstat"
12933 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lodbc" >&5
12934 $as_echo_n "checking for -lodbc... " >&6; }
12935 if ${ac_cv_lib_soname_odbc+:} false; then :
12936 $as_echo_n "(cached) " >&6
12937 else
12938 ac_check_soname_save_LIBS=$LIBS
12939 LIBS="-lodbc $LIBS"
12940 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12941 /* end confdefs.h. */
12943 /* Override any GCC internal prototype to avoid an error.
12944 Use char because int might match the return type of a GCC
12945 builtin and then its argument prototype would still apply. */
12946 #ifdef __cplusplus
12947 extern "C"
12948 #endif
12949 char SQLConnect ();
12951 main ()
12953 return SQLConnect ();
12955 return 0;
12957 _ACEOF
12958 if ac_fn_c_try_link "$LINENO"; then :
12959 case "$LIBEXT" in
12960 dll) ac_cv_lib_soname_odbc=`$ac_cv_path_LDD conftest.exe | grep "odbc" | sed -e "s/dll.*/dll/"';2,$d'` ;;
12961 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'` ;;
12962 *) ac_cv_lib_soname_odbc=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libodbc\\.$LIBEXT" | sed -e "s/^.*\\[\\(libodbc\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
12963 if test "x$ac_cv_lib_soname_odbc" = x; then :
12964 ac_cv_lib_soname_odbc=`$LDD conftest$ac_exeext | grep "libodbc\\.$LIBEXT" | sed -e "s/^.*\(libodbc\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
12965 fi ;;
12966 esac
12968 rm -f core conftest.err conftest.$ac_objext \
12969 conftest$ac_exeext conftest.$ac_ext
12970 LIBS=$ac_check_soname_save_LIBS
12972 if test "x$ac_cv_lib_soname_odbc" = "x"; then :
12973 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
12974 $as_echo "not found" >&6; }
12975 cat >>confdefs.h <<_ACEOF
12976 #define SONAME_LIBODBC "libodbc.$LIBEXT"
12977 _ACEOF
12979 else
12980 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_odbc" >&5
12981 $as_echo "$ac_cv_lib_soname_odbc" >&6; }
12983 cat >>confdefs.h <<_ACEOF
12984 #define SONAME_LIBODBC "$ac_cv_lib_soname_odbc"
12985 _ACEOF
12990 test -n "$ALSALIBS" || enable_winealsa_drv=${enable_winealsa_drv:-no}
12991 test -n "$COREAUDIO" || enable_winecoreaudio_drv=${enable_winecoreaudio_drv:-no}
12992 test "x$ac_cv_member_oss_sysinfo_numaudioengines" = xyes || enable_wineoss_drv=${enable_wineoss_drv:-no}
12993 test "$ac_cv_header_linux_joystick_h" = "yes" || enable_winejoystick_drv=${enable_winejoystick_drv:-no}
12995 if test "x$ALSALIBS$COREAUDIO" = "x" -a \
12996 "x$ac_cv_member_oss_sysinfo_numaudioengines" != xyes -a \
12997 "x$with_alsa$with_coreaudio$with_oss" != xnonono
12998 then
12999 as_fn_append wine_warnings "|No sound system was found. Windows applications will be silent."
13003 EXTRACFLAGS=""
13005 if test "x${GCC}" = "xyes"
13006 then
13007 EXTRACFLAGS="-Wall -pipe"
13009 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for gcc strength-reduce bug" >&5
13010 $as_echo_n "checking for gcc strength-reduce bug... " >&6; }
13011 if ${ac_cv_c_gcc_strength_bug+:} false; then :
13012 $as_echo_n "(cached) " >&6
13013 else
13014 if test "$cross_compiling" = yes; then :
13015 ac_cv_c_gcc_strength_bug="yes"
13016 else
13017 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13018 /* end confdefs.h. */
13019 int L[4] = {0,1,2,3};
13021 main ()
13023 static int Array[3];
13024 unsigned int B = 3;
13025 int i;
13026 for(i=0; i<B; i++) Array[i] = i - 3;
13027 for(i=0; i<4 - 1; i++) L[i] = L[i + 1];
13028 L[i] = 4;
13029 return (Array[1] != -2 || L[2] != 3)
13031 return 0;
13033 _ACEOF
13034 if ac_fn_c_try_run "$LINENO"; then :
13035 ac_cv_c_gcc_strength_bug="no"
13036 else
13037 ac_cv_c_gcc_strength_bug="yes"
13039 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \
13040 conftest.$ac_objext conftest.beam conftest.$ac_ext
13044 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_gcc_strength_bug" >&5
13045 $as_echo "$ac_cv_c_gcc_strength_bug" >&6; }
13046 if test "$ac_cv_c_gcc_strength_bug" = "yes"
13047 then
13048 EXTRACFLAGS="$EXTRACFLAGS -fno-strength-reduce"
13051 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -fno-builtin" >&5
13052 $as_echo_n "checking whether the compiler supports -fno-builtin... " >&6; }
13053 if ${ac_cv_cflags__fno_builtin+:} false; then :
13054 $as_echo_n "(cached) " >&6
13055 else
13056 ac_wine_try_cflags_saved=$CFLAGS
13057 CFLAGS="$CFLAGS -fno-builtin"
13058 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13059 /* end confdefs.h. */
13060 int main(int argc, char **argv) { return 0; }
13061 _ACEOF
13062 if ac_fn_c_try_link "$LINENO"; then :
13063 ac_cv_cflags__fno_builtin=yes
13064 else
13065 ac_cv_cflags__fno_builtin=no
13067 rm -f core conftest.err conftest.$ac_objext \
13068 conftest$ac_exeext conftest.$ac_ext
13069 CFLAGS=$ac_wine_try_cflags_saved
13071 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__fno_builtin" >&5
13072 $as_echo "$ac_cv_cflags__fno_builtin" >&6; }
13073 if test $ac_cv_cflags__fno_builtin = yes; then :
13074 BUILTINFLAG="-fno-builtin"
13077 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -fno-strict-aliasing" >&5
13078 $as_echo_n "checking whether the compiler supports -fno-strict-aliasing... " >&6; }
13079 if ${ac_cv_cflags__fno_strict_aliasing+:} false; then :
13080 $as_echo_n "(cached) " >&6
13081 else
13082 ac_wine_try_cflags_saved=$CFLAGS
13083 CFLAGS="$CFLAGS -fno-strict-aliasing"
13084 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13085 /* end confdefs.h. */
13086 int main(int argc, char **argv) { return 0; }
13087 _ACEOF
13088 if ac_fn_c_try_link "$LINENO"; then :
13089 ac_cv_cflags__fno_strict_aliasing=yes
13090 else
13091 ac_cv_cflags__fno_strict_aliasing=no
13093 rm -f core conftest.err conftest.$ac_objext \
13094 conftest$ac_exeext conftest.$ac_ext
13095 CFLAGS=$ac_wine_try_cflags_saved
13097 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__fno_strict_aliasing" >&5
13098 $as_echo "$ac_cv_cflags__fno_strict_aliasing" >&6; }
13099 if test $ac_cv_cflags__fno_strict_aliasing = yes; then :
13100 EXTRACFLAGS="$EXTRACFLAGS -fno-strict-aliasing"
13102 saved_CFLAGS=$CFLAGS
13103 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Werror=unknown-warning-option" >&5
13104 $as_echo_n "checking whether the compiler supports -Werror=unknown-warning-option... " >&6; }
13105 if ${ac_cv_cflags__Werror_unknown_warning_option+:} false; then :
13106 $as_echo_n "(cached) " >&6
13107 else
13108 ac_wine_try_cflags_saved=$CFLAGS
13109 CFLAGS="$CFLAGS -Werror=unknown-warning-option"
13110 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13111 /* end confdefs.h. */
13112 int main(int argc, char **argv) { return 0; }
13113 _ACEOF
13114 if ac_fn_c_try_link "$LINENO"; then :
13115 ac_cv_cflags__Werror_unknown_warning_option=yes
13116 else
13117 ac_cv_cflags__Werror_unknown_warning_option=no
13119 rm -f core conftest.err conftest.$ac_objext \
13120 conftest$ac_exeext conftest.$ac_ext
13121 CFLAGS=$ac_wine_try_cflags_saved
13123 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Werror_unknown_warning_option" >&5
13124 $as_echo "$ac_cv_cflags__Werror_unknown_warning_option" >&6; }
13125 if test $ac_cv_cflags__Werror_unknown_warning_option = yes; then :
13126 CFLAGS="$CFLAGS -Werror=unknown-warning-option"
13128 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wdeclaration-after-statement" >&5
13129 $as_echo_n "checking whether the compiler supports -Wdeclaration-after-statement... " >&6; }
13130 if ${ac_cv_cflags__Wdeclaration_after_statement+:} false; then :
13131 $as_echo_n "(cached) " >&6
13132 else
13133 ac_wine_try_cflags_saved=$CFLAGS
13134 CFLAGS="$CFLAGS -Wdeclaration-after-statement"
13135 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13136 /* end confdefs.h. */
13137 int main(int argc, char **argv) { return 0; }
13138 _ACEOF
13139 if ac_fn_c_try_link "$LINENO"; then :
13140 ac_cv_cflags__Wdeclaration_after_statement=yes
13141 else
13142 ac_cv_cflags__Wdeclaration_after_statement=no
13144 rm -f core conftest.err conftest.$ac_objext \
13145 conftest$ac_exeext conftest.$ac_ext
13146 CFLAGS=$ac_wine_try_cflags_saved
13148 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wdeclaration_after_statement" >&5
13149 $as_echo "$ac_cv_cflags__Wdeclaration_after_statement" >&6; }
13150 if test $ac_cv_cflags__Wdeclaration_after_statement = yes; then :
13151 EXTRACFLAGS="$EXTRACFLAGS -Wdeclaration-after-statement"
13153 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wempty-body" >&5
13154 $as_echo_n "checking whether the compiler supports -Wempty-body... " >&6; }
13155 if ${ac_cv_cflags__Wempty_body+:} false; then :
13156 $as_echo_n "(cached) " >&6
13157 else
13158 ac_wine_try_cflags_saved=$CFLAGS
13159 CFLAGS="$CFLAGS -Wempty-body"
13160 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13161 /* end confdefs.h. */
13162 int main(int argc, char **argv) { return 0; }
13163 _ACEOF
13164 if ac_fn_c_try_link "$LINENO"; then :
13165 ac_cv_cflags__Wempty_body=yes
13166 else
13167 ac_cv_cflags__Wempty_body=no
13169 rm -f core conftest.err conftest.$ac_objext \
13170 conftest$ac_exeext conftest.$ac_ext
13171 CFLAGS=$ac_wine_try_cflags_saved
13173 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wempty_body" >&5
13174 $as_echo "$ac_cv_cflags__Wempty_body" >&6; }
13175 if test $ac_cv_cflags__Wempty_body = yes; then :
13176 EXTRACFLAGS="$EXTRACFLAGS -Wempty-body"
13178 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wignored-qualifiers" >&5
13179 $as_echo_n "checking whether the compiler supports -Wignored-qualifiers... " >&6; }
13180 if ${ac_cv_cflags__Wignored_qualifiers+:} false; then :
13181 $as_echo_n "(cached) " >&6
13182 else
13183 ac_wine_try_cflags_saved=$CFLAGS
13184 CFLAGS="$CFLAGS -Wignored-qualifiers"
13185 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13186 /* end confdefs.h. */
13187 int main(int argc, char **argv) { return 0; }
13188 _ACEOF
13189 if ac_fn_c_try_link "$LINENO"; then :
13190 ac_cv_cflags__Wignored_qualifiers=yes
13191 else
13192 ac_cv_cflags__Wignored_qualifiers=no
13194 rm -f core conftest.err conftest.$ac_objext \
13195 conftest$ac_exeext conftest.$ac_ext
13196 CFLAGS=$ac_wine_try_cflags_saved
13198 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wignored_qualifiers" >&5
13199 $as_echo "$ac_cv_cflags__Wignored_qualifiers" >&6; }
13200 if test $ac_cv_cflags__Wignored_qualifiers = yes; then :
13201 EXTRACFLAGS="$EXTRACFLAGS -Wignored-qualifiers"
13203 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wstrict-prototypes" >&5
13204 $as_echo_n "checking whether the compiler supports -Wstrict-prototypes... " >&6; }
13205 if ${ac_cv_cflags__Wstrict_prototypes+:} false; then :
13206 $as_echo_n "(cached) " >&6
13207 else
13208 ac_wine_try_cflags_saved=$CFLAGS
13209 CFLAGS="$CFLAGS -Wstrict-prototypes"
13210 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13211 /* end confdefs.h. */
13212 int main(int argc, char **argv) { return 0; }
13213 _ACEOF
13214 if ac_fn_c_try_link "$LINENO"; then :
13215 ac_cv_cflags__Wstrict_prototypes=yes
13216 else
13217 ac_cv_cflags__Wstrict_prototypes=no
13219 rm -f core conftest.err conftest.$ac_objext \
13220 conftest$ac_exeext conftest.$ac_ext
13221 CFLAGS=$ac_wine_try_cflags_saved
13223 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wstrict_prototypes" >&5
13224 $as_echo "$ac_cv_cflags__Wstrict_prototypes" >&6; }
13225 if test $ac_cv_cflags__Wstrict_prototypes = yes; then :
13226 EXTRACFLAGS="$EXTRACFLAGS -Wstrict-prototypes"
13228 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wtype-limits" >&5
13229 $as_echo_n "checking whether the compiler supports -Wtype-limits... " >&6; }
13230 if ${ac_cv_cflags__Wtype_limits+:} false; then :
13231 $as_echo_n "(cached) " >&6
13232 else
13233 ac_wine_try_cflags_saved=$CFLAGS
13234 CFLAGS="$CFLAGS -Wtype-limits"
13235 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13236 /* end confdefs.h. */
13237 int main(int argc, char **argv) { return 0; }
13238 _ACEOF
13239 if ac_fn_c_try_link "$LINENO"; then :
13240 ac_cv_cflags__Wtype_limits=yes
13241 else
13242 ac_cv_cflags__Wtype_limits=no
13244 rm -f core conftest.err conftest.$ac_objext \
13245 conftest$ac_exeext conftest.$ac_ext
13246 CFLAGS=$ac_wine_try_cflags_saved
13248 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wtype_limits" >&5
13249 $as_echo "$ac_cv_cflags__Wtype_limits" >&6; }
13250 if test $ac_cv_cflags__Wtype_limits = yes; then :
13251 EXTRACFLAGS="$EXTRACFLAGS -Wtype-limits"
13253 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wunused-but-set-parameter" >&5
13254 $as_echo_n "checking whether the compiler supports -Wunused-but-set-parameter... " >&6; }
13255 if ${ac_cv_cflags__Wunused_but_set_parameter+:} false; then :
13256 $as_echo_n "(cached) " >&6
13257 else
13258 ac_wine_try_cflags_saved=$CFLAGS
13259 CFLAGS="$CFLAGS -Wunused-but-set-parameter"
13260 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13261 /* end confdefs.h. */
13262 int main(int argc, char **argv) { return 0; }
13263 _ACEOF
13264 if ac_fn_c_try_link "$LINENO"; then :
13265 ac_cv_cflags__Wunused_but_set_parameter=yes
13266 else
13267 ac_cv_cflags__Wunused_but_set_parameter=no
13269 rm -f core conftest.err conftest.$ac_objext \
13270 conftest$ac_exeext conftest.$ac_ext
13271 CFLAGS=$ac_wine_try_cflags_saved
13273 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wunused_but_set_parameter" >&5
13274 $as_echo "$ac_cv_cflags__Wunused_but_set_parameter" >&6; }
13275 if test $ac_cv_cflags__Wunused_but_set_parameter = yes; then :
13276 EXTRACFLAGS="$EXTRACFLAGS -Wunused-but-set-parameter"
13278 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wwrite-strings" >&5
13279 $as_echo_n "checking whether the compiler supports -Wwrite-strings... " >&6; }
13280 if ${ac_cv_cflags__Wwrite_strings+:} false; then :
13281 $as_echo_n "(cached) " >&6
13282 else
13283 ac_wine_try_cflags_saved=$CFLAGS
13284 CFLAGS="$CFLAGS -Wwrite-strings"
13285 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13286 /* end confdefs.h. */
13287 int main(int argc, char **argv) { return 0; }
13288 _ACEOF
13289 if ac_fn_c_try_link "$LINENO"; then :
13290 ac_cv_cflags__Wwrite_strings=yes
13291 else
13292 ac_cv_cflags__Wwrite_strings=no
13294 rm -f core conftest.err conftest.$ac_objext \
13295 conftest$ac_exeext conftest.$ac_ext
13296 CFLAGS=$ac_wine_try_cflags_saved
13298 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wwrite_strings" >&5
13299 $as_echo "$ac_cv_cflags__Wwrite_strings" >&6; }
13300 if test $ac_cv_cflags__Wwrite_strings = yes; then :
13301 EXTRACFLAGS="$EXTRACFLAGS -Wwrite-strings"
13304 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wpointer-arith" >&5
13305 $as_echo_n "checking whether the compiler supports -Wpointer-arith... " >&6; }
13306 if ${ac_cv_cflags__Wpointer_arith+:} false; then :
13307 $as_echo_n "(cached) " >&6
13308 else
13309 ac_wine_try_cflags_saved=$CFLAGS
13310 CFLAGS="$CFLAGS -Wpointer-arith"
13311 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13312 /* end confdefs.h. */
13313 int main(int argc, char **argv) { return 0; }
13314 _ACEOF
13315 if ac_fn_c_try_link "$LINENO"; then :
13316 ac_cv_cflags__Wpointer_arith=yes
13317 else
13318 ac_cv_cflags__Wpointer_arith=no
13320 rm -f core conftest.err conftest.$ac_objext \
13321 conftest$ac_exeext conftest.$ac_ext
13322 CFLAGS=$ac_wine_try_cflags_saved
13324 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wpointer_arith" >&5
13325 $as_echo "$ac_cv_cflags__Wpointer_arith" >&6; }
13326 if test $ac_cv_cflags__Wpointer_arith = yes; then :
13327 saved_string_h_CFLAGS=$CFLAGS
13328 CFLAGS="$CFLAGS -Wpointer-arith -Werror"
13329 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for broken string.h that generates warnings with -Wpointer-arith" >&5
13330 $as_echo_n "checking for broken string.h that generates warnings with -Wpointer-arith... " >&6; }
13331 if ${ac_cv_c_string_h_warnings+:} false; then :
13332 $as_echo_n "(cached) " >&6
13333 else
13334 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13335 /* end confdefs.h. */
13336 #include <string.h>
13338 main ()
13342 return 0;
13344 _ACEOF
13345 if ac_fn_c_try_compile "$LINENO"; then :
13346 ac_cv_c_string_h_warnings=no
13347 else
13348 ac_cv_c_string_h_warnings=yes
13350 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
13352 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_string_h_warnings" >&5
13353 $as_echo "$ac_cv_c_string_h_warnings" >&6; }
13354 test "$ac_cv_c_string_h_warnings" = yes || EXTRACFLAGS="$EXTRACFLAGS -Wpointer-arith"
13355 CFLAGS=$saved_string_h_CFLAGS
13358 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wlogical-op" >&5
13359 $as_echo_n "checking whether the compiler supports -Wlogical-op... " >&6; }
13360 if ${ac_cv_cflags__Wlogical_op+:} false; then :
13361 $as_echo_n "(cached) " >&6
13362 else
13363 ac_wine_try_cflags_saved=$CFLAGS
13364 CFLAGS="$CFLAGS -Wlogical-op"
13365 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13366 /* end confdefs.h. */
13367 int main(int argc, char **argv) { return 0; }
13368 _ACEOF
13369 if ac_fn_c_try_link "$LINENO"; then :
13370 ac_cv_cflags__Wlogical_op=yes
13371 else
13372 ac_cv_cflags__Wlogical_op=no
13374 rm -f core conftest.err conftest.$ac_objext \
13375 conftest$ac_exeext conftest.$ac_ext
13376 CFLAGS=$ac_wine_try_cflags_saved
13378 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wlogical_op" >&5
13379 $as_echo "$ac_cv_cflags__Wlogical_op" >&6; }
13380 if test $ac_cv_cflags__Wlogical_op = yes; then :
13381 saved_string_h_CFLAGS=$CFLAGS
13382 CFLAGS="$CFLAGS -Wlogical-op -Werror"
13383 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for broken string.h that generates warnings with -Wlogical-op" >&5
13384 $as_echo_n "checking for broken string.h that generates warnings with -Wlogical-op... " >&6; }
13385 if ${ac_cv_c_logicalop_noisy+:} false; then :
13386 $as_echo_n "(cached) " >&6
13387 else
13388 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13389 /* end confdefs.h. */
13390 #include <string.h>
13391 char*f(const char *h,char n) {return strchr(h,n);}
13393 main ()
13397 return 0;
13399 _ACEOF
13400 if ac_fn_c_try_compile "$LINENO"; then :
13401 ac_cv_c_logicalop_noisy=no
13402 else
13403 ac_cv_c_logicalop_noisy=yes
13405 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
13407 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_logicalop_noisy" >&5
13408 $as_echo "$ac_cv_c_logicalop_noisy" >&6; }
13409 CFLAGS=$saved_string_h_CFLAGS
13410 test "$ac_cv_c_logicalop_noisy" = yes || EXTRACFLAGS="$EXTRACFLAGS -Wlogical-op"
13413 CFLAGS=$saved_CFLAGS
13415 for ac_flag in $CFLAGS; do
13416 case $ac_flag in
13417 -g) case $host_os in
13418 darwin*) { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -gstabs+" >&5
13419 $as_echo_n "checking whether the compiler supports -gstabs+... " >&6; }
13420 if ${ac_cv_cflags__gstabsp+:} false; then :
13421 $as_echo_n "(cached) " >&6
13422 else
13423 ac_wine_try_cflags_saved=$CFLAGS
13424 CFLAGS="$CFLAGS -gstabs+"
13425 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13426 /* end confdefs.h. */
13427 int main(int argc, char **argv) { return 0; }
13428 _ACEOF
13429 if ac_fn_c_try_link "$LINENO"; then :
13430 ac_cv_cflags__gstabsp=yes
13431 else
13432 ac_cv_cflags__gstabsp=no
13434 rm -f core conftest.err conftest.$ac_objext \
13435 conftest$ac_exeext conftest.$ac_ext
13436 CFLAGS=$ac_wine_try_cflags_saved
13438 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__gstabsp" >&5
13439 $as_echo "$ac_cv_cflags__gstabsp" >&6; }
13440 if test $ac_cv_cflags__gstabsp = yes; then :
13441 EXTRACFLAGS="$EXTRACFLAGS -gstabs+"
13442 fi ;;
13443 *) { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -gdwarf-2" >&5
13444 $as_echo_n "checking whether the compiler supports -gdwarf-2... " >&6; }
13445 if ${ac_cv_cflags__gdwarf_2+:} false; then :
13446 $as_echo_n "(cached) " >&6
13447 else
13448 ac_wine_try_cflags_saved=$CFLAGS
13449 CFLAGS="$CFLAGS -gdwarf-2"
13450 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13451 /* end confdefs.h. */
13452 int main(int argc, char **argv) { return 0; }
13453 _ACEOF
13454 if ac_fn_c_try_link "$LINENO"; then :
13455 ac_cv_cflags__gdwarf_2=yes
13456 else
13457 ac_cv_cflags__gdwarf_2=no
13459 rm -f core conftest.err conftest.$ac_objext \
13460 conftest$ac_exeext conftest.$ac_ext
13461 CFLAGS=$ac_wine_try_cflags_saved
13463 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__gdwarf_2" >&5
13464 $as_echo "$ac_cv_cflags__gdwarf_2" >&6; }
13465 if test $ac_cv_cflags__gdwarf_2 = yes; then :
13466 EXTRACFLAGS="$EXTRACFLAGS -gdwarf-2"
13468 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -gstrict-dwarf" >&5
13469 $as_echo_n "checking whether the compiler supports -gstrict-dwarf... " >&6; }
13470 if ${ac_cv_cflags__gstrict_dwarf+:} false; then :
13471 $as_echo_n "(cached) " >&6
13472 else
13473 ac_wine_try_cflags_saved=$CFLAGS
13474 CFLAGS="$CFLAGS -gstrict-dwarf"
13475 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13476 /* end confdefs.h. */
13477 int main(int argc, char **argv) { return 0; }
13478 _ACEOF
13479 if ac_fn_c_try_link "$LINENO"; then :
13480 ac_cv_cflags__gstrict_dwarf=yes
13481 else
13482 ac_cv_cflags__gstrict_dwarf=no
13484 rm -f core conftest.err conftest.$ac_objext \
13485 conftest$ac_exeext conftest.$ac_ext
13486 CFLAGS=$ac_wine_try_cflags_saved
13488 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__gstrict_dwarf" >&5
13489 $as_echo "$ac_cv_cflags__gstrict_dwarf" >&6; }
13490 if test $ac_cv_cflags__gstrict_dwarf = yes; then :
13491 EXTRACFLAGS="$EXTRACFLAGS -gstrict-dwarf"
13492 fi ;;
13493 esac ;;
13494 esac
13495 done
13497 case $host_cpu in
13498 *i[3456789]86*) { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -fno-omit-frame-pointer" >&5
13499 $as_echo_n "checking whether the compiler supports -fno-omit-frame-pointer... " >&6; }
13500 if ${ac_cv_cflags__fno_omit_frame_pointer+:} false; then :
13501 $as_echo_n "(cached) " >&6
13502 else
13503 ac_wine_try_cflags_saved=$CFLAGS
13504 CFLAGS="$CFLAGS -fno-omit-frame-pointer"
13505 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13506 /* end confdefs.h. */
13507 int main(int argc, char **argv) { return 0; }
13508 _ACEOF
13509 if ac_fn_c_try_link "$LINENO"; then :
13510 ac_cv_cflags__fno_omit_frame_pointer=yes
13511 else
13512 ac_cv_cflags__fno_omit_frame_pointer=no
13514 rm -f core conftest.err conftest.$ac_objext \
13515 conftest$ac_exeext conftest.$ac_ext
13516 CFLAGS=$ac_wine_try_cflags_saved
13518 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__fno_omit_frame_pointer" >&5
13519 $as_echo "$ac_cv_cflags__fno_omit_frame_pointer" >&6; }
13520 if test $ac_cv_cflags__fno_omit_frame_pointer = yes; then :
13521 EXTRACFLAGS="$EXTRACFLAGS -fno-omit-frame-pointer"
13522 fi ;;
13523 esac
13525 case $host in
13526 x86_64-*mingw32*|x86_64-*cygwin*) { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wno-format" >&5
13527 $as_echo_n "checking whether the compiler supports -Wno-format... " >&6; }
13528 if ${ac_cv_cflags__Wno_format+:} false; then :
13529 $as_echo_n "(cached) " >&6
13530 else
13531 ac_wine_try_cflags_saved=$CFLAGS
13532 CFLAGS="$CFLAGS -Wno-format"
13533 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13534 /* end confdefs.h. */
13535 int main(int argc, char **argv) { return 0; }
13536 _ACEOF
13537 if ac_fn_c_try_link "$LINENO"; then :
13538 ac_cv_cflags__Wno_format=yes
13539 else
13540 ac_cv_cflags__Wno_format=no
13542 rm -f core conftest.err conftest.$ac_objext \
13543 conftest$ac_exeext conftest.$ac_ext
13544 CFLAGS=$ac_wine_try_cflags_saved
13546 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wno_format" >&5
13547 $as_echo "$ac_cv_cflags__Wno_format" >&6; }
13548 if test $ac_cv_cflags__Wno_format = yes; then :
13549 EXTRACFLAGS="$EXTRACFLAGS -Wno-format"
13550 fi ;;
13551 esac
13553 if test "x$enable_maintainer_mode" = "xyes"
13554 then
13555 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Werror" >&5
13556 $as_echo_n "checking whether the compiler supports -Werror... " >&6; }
13557 if ${ac_cv_cflags__Werror+:} false; then :
13558 $as_echo_n "(cached) " >&6
13559 else
13560 ac_wine_try_cflags_saved=$CFLAGS
13561 CFLAGS="$CFLAGS -Werror"
13562 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13563 /* end confdefs.h. */
13564 int main(int argc, char **argv) { return 0; }
13565 _ACEOF
13566 if ac_fn_c_try_link "$LINENO"; then :
13567 ac_cv_cflags__Werror=yes
13568 else
13569 ac_cv_cflags__Werror=no
13571 rm -f core conftest.err conftest.$ac_objext \
13572 conftest$ac_exeext conftest.$ac_ext
13573 CFLAGS=$ac_wine_try_cflags_saved
13575 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Werror" >&5
13576 $as_echo "$ac_cv_cflags__Werror" >&6; }
13577 if test $ac_cv_cflags__Werror = yes; then :
13578 EXTRACFLAGS="$EXTRACFLAGS -Werror"
13582 saved_CFLAGS="$CFLAGS"
13583 CFLAGS="$CFLAGS -Werror"
13584 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ms_hook_prologue attribute" >&5
13585 $as_echo_n "checking for ms_hook_prologue attribute... " >&6; }
13586 if ${ac_cv_have_ms_hook_prologue+:} false; then :
13587 $as_echo_n "(cached) " >&6
13588 else
13589 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13590 /* end confdefs.h. */
13591 int __attribute__((__ms_hook_prologue__)) test(void) { return 0; }
13593 main ()
13597 return 0;
13599 _ACEOF
13600 if ac_fn_c_try_compile "$LINENO"; then :
13601 ac_cv_have_ms_hook_prologue="yes"
13602 else
13603 ac_cv_have_ms_hook_prologue="no"
13605 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
13607 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_have_ms_hook_prologue" >&5
13608 $as_echo "$ac_cv_have_ms_hook_prologue" >&6; }
13609 CFLAGS="$saved_CFLAGS"
13610 if test "$ac_cv_have_ms_hook_prologue" = "yes"
13611 then
13613 $as_echo "#define DECLSPEC_HOTPATCH __attribute__((__ms_hook_prologue__))" >>confdefs.h
13615 else
13616 $as_echo "#define DECLSPEC_HOTPATCH /* */" >>confdefs.h
13622 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for the need to disable Fortify" >&5
13623 $as_echo_n "checking for the need to disable Fortify... " >&6; }
13624 if ${ac_cv_c_fortify_enabled+:} false; then :
13625 $as_echo_n "(cached) " >&6
13626 else
13627 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13628 /* end confdefs.h. */
13629 #include <string.h>
13631 main ()
13633 #if defined(__USE_FORTIFY_LEVEL) && __USE_FORTIFY_LEVEL > 0
13634 #error Fortify enabled
13635 #endif
13637 return 0;
13639 _ACEOF
13640 if ac_fn_c_try_compile "$LINENO"; then :
13641 ac_cv_c_fortify_enabled=no
13642 else
13643 ac_cv_c_fortify_enabled=yes
13645 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
13647 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_fortify_enabled" >&5
13648 $as_echo "$ac_cv_c_fortify_enabled" >&6; }
13649 if test "$ac_cv_c_fortify_enabled" = yes
13650 then
13651 CFLAGS="$CFLAGS -U_FORTIFY_SOURCE -D_FORTIFY_SOURCE=0"
13655 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether external symbols need an underscore prefix" >&5
13656 $as_echo_n "checking whether external symbols need an underscore prefix... " >&6; }
13657 if ${ac_cv_c_extern_prefix+:} false; then :
13658 $as_echo_n "(cached) " >&6
13659 else
13660 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13661 /* end confdefs.h. */
13662 extern int ac_test;
13664 main ()
13666 asm(".globl _ac_test\n_ac_test:\t.long 0"); if (ac_test) return 1
13668 return 0;
13670 _ACEOF
13671 if ac_fn_c_try_link "$LINENO"; then :
13672 ac_cv_c_extern_prefix="yes"
13673 else
13674 ac_cv_c_extern_prefix="no"
13676 rm -f core conftest.err conftest.$ac_objext \
13677 conftest$ac_exeext conftest.$ac_ext
13679 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_extern_prefix" >&5
13680 $as_echo "$ac_cv_c_extern_prefix" >&6; }
13682 case $host_cpu in
13683 *i[3456789]86*)
13684 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether external symbols need stdcall decoration" >&5
13685 $as_echo_n "checking whether external symbols need stdcall decoration... " >&6; }
13686 if ${ac_cv_c_stdcall_suffix+:} false; then :
13687 $as_echo_n "(cached) " >&6
13688 else
13689 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13690 /* end confdefs.h. */
13691 #ifndef _MSC_VER
13692 #define __stdcall __attribute__((__stdcall__))
13693 #endif
13694 int __stdcall ac_test(int i) { return i; }
13696 main ()
13698 asm("jmp _ac_test@4"); if (ac_test(1)) return 1
13700 return 0;
13702 _ACEOF
13703 if ac_fn_c_try_link "$LINENO"; then :
13704 ac_cv_c_stdcall_suffix="yes"
13705 else
13706 ac_cv_c_stdcall_suffix="no"
13708 rm -f core conftest.err conftest.$ac_objext \
13709 conftest$ac_exeext conftest.$ac_ext
13711 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_stdcall_suffix" >&5
13712 $as_echo "$ac_cv_c_stdcall_suffix" >&6; } ;;
13713 *) ac_cv_c_stdcall_suffix="no" ;;
13714 esac
13717 if test "$ac_cv_c_extern_prefix" = "yes"
13718 then
13719 $as_echo "#define __ASM_NAME(name) \"_\" name" >>confdefs.h
13721 asm_name_prefix="_"
13722 else
13723 $as_echo "#define __ASM_NAME(name) name" >>confdefs.h
13725 asm_name_prefix=""
13729 if test "$ac_cv_c_stdcall_suffix" = "yes"
13730 then
13731 $as_echo "#define __ASM_STDCALL(args) \"@\" #args" >>confdefs.h
13733 else
13734 $as_echo "#define __ASM_STDCALL(args) \"\"" >>confdefs.h
13739 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to define a function in assembly code" >&5
13740 $as_echo_n "checking how to define a function in assembly code... " >&6; }
13741 if ${ac_cv_asm_func_def+:} false; then :
13742 $as_echo_n "(cached) " >&6
13743 else
13744 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13745 /* end confdefs.h. */
13748 main ()
13750 asm("\t.globl _ac_test\n\t.def _ac_test; .scl 2; .type 32; .endef\n_ac_test:\t.long 0");
13752 return 0;
13754 _ACEOF
13755 if ac_fn_c_try_link "$LINENO"; then :
13756 ac_cv_asm_func_def=".def"
13757 else
13758 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13759 /* end confdefs.h. */
13762 main ()
13764 asm("\t.globl _ac_test\n\t.type _ac_test,@function\n_ac_test:\t.long 0");
13766 return 0;
13768 _ACEOF
13769 if ac_fn_c_try_link "$LINENO"; then :
13770 ac_cv_asm_func_def=".type @function"
13771 else
13772 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13773 /* end confdefs.h. */
13776 main ()
13778 asm("\t.globl _ac_test\n\t.type _ac_test,2\n_ac_test:\t.long 0");
13780 return 0;
13782 _ACEOF
13783 if ac_fn_c_try_link "$LINENO"; then :
13784 ac_cv_asm_func_def=".type 2"
13785 else
13786 ac_cv_asm_func_def="unknown"
13788 rm -f core conftest.err conftest.$ac_objext \
13789 conftest$ac_exeext conftest.$ac_ext
13791 rm -f core conftest.err conftest.$ac_objext \
13792 conftest$ac_exeext conftest.$ac_ext
13794 rm -f core conftest.err conftest.$ac_objext \
13795 conftest$ac_exeext conftest.$ac_ext
13797 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_asm_func_def" >&5
13798 $as_echo "$ac_cv_asm_func_def" >&6; }
13801 case "$ac_cv_asm_func_def" in
13802 ".def")
13803 $as_echo "#define __ASM_FUNC(name) \".def \" __ASM_NAME(name) \"; .scl 2; .type 32; .endef\"" >>confdefs.h
13805 asm_func_header=".def $asm_name_prefix\" #name suffix \"; .scl 2; .type 32; .endef" ;;
13806 ".type @function")
13807 $as_echo "#define __ASM_FUNC(name) \".type \" __ASM_NAME(name) \",@function\"" >>confdefs.h
13809 asm_func_header=".type $asm_name_prefix\" #name suffix \",@function" ;;
13810 ".type 2")
13811 $as_echo "#define __ASM_FUNC(name) \".type \" __ASM_NAME(name) \",2\"" >>confdefs.h
13813 asm_func_header=".type $asm_name_prefix\" #name suffix \",2" ;;
13815 $as_echo "#define __ASM_FUNC(name) \"\"" >>confdefs.h
13817 asm_func_header="" ;;
13818 esac
13820 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether asm() works outside of functions" >&5
13821 $as_echo_n "checking whether asm() works outside of functions... " >&6; }
13822 if ${ac_cv_c_asm_outside_funcs+:} false; then :
13823 $as_echo_n "(cached) " >&6
13824 else
13825 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13826 /* end confdefs.h. */
13827 asm(".text\n\t.long 0");
13829 main ()
13833 return 0;
13835 _ACEOF
13836 if ac_fn_c_try_compile "$LINENO"; then :
13837 ac_cv_c_asm_outside_funcs="yes"
13838 else
13839 ac_cv_c_asm_outside_funcs="no"
13841 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
13843 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_asm_outside_funcs" >&5
13844 $as_echo "$ac_cv_c_asm_outside_funcs" >&6; }
13846 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether .previous is supported in assembly code" >&5
13847 $as_echo_n "checking whether .previous is supported in assembly code... " >&6; }
13848 if ${ac_cv_c_dot_previous+:} false; then :
13849 $as_echo_n "(cached) " >&6
13850 else
13851 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13852 /* end confdefs.h. */
13855 main ()
13857 asm(".text\nac_test:\t.long 0\n\t.previous");
13859 return 0;
13861 _ACEOF
13862 if ac_fn_c_try_link "$LINENO"; then :
13863 ac_cv_c_dot_previous="yes"
13864 else
13865 ac_cv_c_dot_previous="no"
13867 rm -f core conftest.err conftest.$ac_objext \
13868 conftest$ac_exeext conftest.$ac_ext
13870 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_dot_previous" >&5
13871 $as_echo "$ac_cv_c_dot_previous" >&6; }
13873 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether CFI directives are supported in assembly code" >&5
13874 $as_echo_n "checking whether CFI directives are supported in assembly code... " >&6; }
13875 if ${ac_cv_c_cfi_support+:} false; then :
13876 $as_echo_n "(cached) " >&6
13877 else
13878 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13879 /* end confdefs.h. */
13880 asm(".text\nac_test:\t.cfi_startproc\n\t.long 0\n\t.cfi_endproc");
13882 main ()
13886 return 0;
13888 _ACEOF
13889 if ac_fn_c_try_compile "$LINENO"; then :
13890 ac_cv_c_cfi_support="yes"
13891 else
13892 ac_cv_c_cfi_support="no"
13894 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
13896 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_cfi_support" >&5
13897 $as_echo "$ac_cv_c_cfi_support" >&6; }
13899 asm_func_header=".globl $asm_name_prefix\" #name suffix \"\\n\\t$asm_func_header\\n$asm_name_prefix\" #name suffix \":\\n\\t"
13900 asm_func_trailer=""
13901 if test "$ac_cv_c_dot_previous" = "yes"
13902 then
13903 asm_func_trailer="\\n\\t.previous"
13905 if test "$ac_cv_c_cfi_support" = "yes"
13906 then
13907 asm_func_header="$asm_func_header.cfi_startproc\\n\\t"
13908 asm_func_trailer="\\n\\t.cfi_endproc$asm_func_trailer"
13910 $as_echo "#define __ASM_CFI(str) str" >>confdefs.h
13912 UNWINDFLAGS=-fasynchronous-unwind-tables
13914 else
13915 $as_echo "#define __ASM_CFI(str) \"\"" >>confdefs.h
13919 asm_func_code="$asm_func_header\" code \"$asm_func_trailer"
13922 if test "$ac_cv_c_asm_outside_funcs" = "yes"
13923 then
13924 cat >>confdefs.h <<_ACEOF
13925 #define __ASM_DEFINE_FUNC(name,suffix,code) asm(".text\n\t.align 4\n\t$asm_func_code");
13926 _ACEOF
13928 else
13929 cat >>confdefs.h <<_ACEOF
13930 #define __ASM_DEFINE_FUNC(name,suffix,code) void __asm_dummy_##name(void) { asm(".text\n\t.align 4\n\t$asm_func_code"); }
13931 _ACEOF
13935 $as_echo "#define __ASM_GLOBAL_FUNC(name,code) __ASM_DEFINE_FUNC(name,\"\",code)" >>confdefs.h
13938 $as_echo "#define __ASM_STDCALL_FUNC(name,args,code) __ASM_DEFINE_FUNC(name,__ASM_STDCALL(args),code)" >>confdefs.h
13942 case $build_os in
13943 cygwin*|mingw32*) TOOLSEXT=".exe"
13945 esac
13947 case $host_os in
13948 linux*)
13949 case $host_cpu in
13950 *i[3456789]86*|x86_64*)
13951 as_fn_append LOADER_RULES "
13952 all: $wine_binary-preloader
13954 $wine_binary-preloader: preloader.o Makefile.in
13955 \$(CC) -o \$@ -static -nostartfiles -nodefaultlibs -Wl,-Ttext=0x7c400000 preloader.o \$(LIBPORT) \$(LDFLAGS)
13957 install install-lib:: $wine_binary-preloader \$(DESTDIR)\$(bindir)
13958 \$(INSTALL_PROGRAM) $wine_binary-preloader \$(DESTDIR)\$(bindir)/$wine_binary-preloader
13960 uninstall::
13961 \$(RM) \$(DESTDIR)\$(bindir)/$wine_binary-preloader
13962 " ;;
13963 esac
13965 esac
13968 ac_save_CFLAGS="$CFLAGS"
13969 CFLAGS="$CFLAGS $BUILTINFLAG"
13970 for ac_func in \
13971 __res_get_state \
13972 __res_getservers \
13973 _finite \
13974 _isnan \
13975 _pclose \
13976 _popen \
13977 _snprintf \
13978 _spawnvp \
13979 _strdup \
13980 _stricmp \
13981 _strnicmp \
13982 _strtoi64 \
13983 _strtoui64 \
13984 _vsnprintf \
13985 asctime_r \
13986 chsize \
13987 dlopen \
13988 epoll_create \
13989 ffs \
13990 finite \
13991 fnmatch \
13992 fork \
13993 fpclass \
13994 fstatfs \
13995 fstatvfs \
13996 ftruncate \
13997 futimens \
13998 futimes \
13999 futimesat \
14000 getattrlist \
14001 getdirentries \
14002 getopt_long_only \
14003 getpwuid \
14004 gettimeofday \
14005 getuid \
14006 if_nameindex \
14007 kqueue \
14008 lstat \
14009 memmove \
14010 mmap \
14011 pclose \
14012 pipe2 \
14013 poll \
14014 popen \
14015 port_create \
14016 prctl \
14017 pread \
14018 proc_pidinfo \
14019 pwrite \
14020 readdir \
14021 readlink \
14022 sched_yield \
14023 select \
14024 setproctitle \
14025 setrlimit \
14026 settimeofday \
14027 sigaltstack \
14028 sigprocmask \
14029 snprintf \
14030 statfs \
14031 statvfs \
14032 strcasecmp \
14033 strdup \
14034 strerror \
14035 strncasecmp \
14036 strtold \
14037 strtoll \
14038 strtoull \
14039 symlink \
14040 tcdrain \
14041 thr_kill2 \
14042 timegm \
14043 usleep \
14044 vsnprintf
14046 do :
14047 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
14048 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
14049 if eval test \"x\$"$as_ac_var"\" = x"yes"; then :
14050 cat >>confdefs.h <<_ACEOF
14051 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
14052 _ACEOF
14055 done
14057 CFLAGS="$ac_save_CFLAGS"
14059 if test "$ac_cv_func_dlopen" = no
14060 then
14061 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dlopen in -ldl" >&5
14062 $as_echo_n "checking for dlopen in -ldl... " >&6; }
14063 if ${ac_cv_lib_dl_dlopen+:} false; then :
14064 $as_echo_n "(cached) " >&6
14065 else
14066 ac_check_lib_save_LIBS=$LIBS
14067 LIBS="-ldl $LIBS"
14068 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14069 /* end confdefs.h. */
14071 /* Override any GCC internal prototype to avoid an error.
14072 Use char because int might match the return type of a GCC
14073 builtin and then its argument prototype would still apply. */
14074 #ifdef __cplusplus
14075 extern "C"
14076 #endif
14077 char dlopen ();
14079 main ()
14081 return dlopen ();
14083 return 0;
14085 _ACEOF
14086 if ac_fn_c_try_link "$LINENO"; then :
14087 ac_cv_lib_dl_dlopen=yes
14088 else
14089 ac_cv_lib_dl_dlopen=no
14091 rm -f core conftest.err conftest.$ac_objext \
14092 conftest$ac_exeext conftest.$ac_ext
14093 LIBS=$ac_check_lib_save_LIBS
14095 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dl_dlopen" >&5
14096 $as_echo "$ac_cv_lib_dl_dlopen" >&6; }
14097 if test "x$ac_cv_lib_dl_dlopen" = xyes; then :
14098 $as_echo "#define HAVE_DLOPEN 1" >>confdefs.h
14099 LIBDL="-ldl"
14104 ac_wine_check_funcs_save_LIBS="$LIBS"
14105 LIBS="$LIBS $LIBDL"
14106 for ac_func in dladdr
14107 do :
14108 ac_fn_c_check_func "$LINENO" "dladdr" "ac_cv_func_dladdr"
14109 if test "x$ac_cv_func_dladdr" = xyes; then :
14110 cat >>confdefs.h <<_ACEOF
14111 #define HAVE_DLADDR 1
14112 _ACEOF
14115 done
14117 LIBS="$ac_wine_check_funcs_save_LIBS"
14119 if test "$ac_cv_func_poll" = no
14120 then
14121 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for poll in -lpoll" >&5
14122 $as_echo_n "checking for poll in -lpoll... " >&6; }
14123 if ${ac_cv_lib_poll_poll+:} false; then :
14124 $as_echo_n "(cached) " >&6
14125 else
14126 ac_check_lib_save_LIBS=$LIBS
14127 LIBS="-lpoll $LIBS"
14128 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14129 /* end confdefs.h. */
14131 /* Override any GCC internal prototype to avoid an error.
14132 Use char because int might match the return type of a GCC
14133 builtin and then its argument prototype would still apply. */
14134 #ifdef __cplusplus
14135 extern "C"
14136 #endif
14137 char poll ();
14139 main ()
14141 return poll ();
14143 return 0;
14145 _ACEOF
14146 if ac_fn_c_try_link "$LINENO"; then :
14147 ac_cv_lib_poll_poll=yes
14148 else
14149 ac_cv_lib_poll_poll=no
14151 rm -f core conftest.err conftest.$ac_objext \
14152 conftest$ac_exeext conftest.$ac_ext
14153 LIBS=$ac_check_lib_save_LIBS
14155 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_poll_poll" >&5
14156 $as_echo "$ac_cv_lib_poll_poll" >&6; }
14157 if test "x$ac_cv_lib_poll_poll" = xyes; then :
14158 $as_echo "#define HAVE_POLL 1" >>confdefs.h
14159 LIBPOLL="-lpoll"
14165 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for library containing gethostbyname" >&5
14166 $as_echo_n "checking for library containing gethostbyname... " >&6; }
14167 if ${ac_cv_search_gethostbyname+:} false; then :
14168 $as_echo_n "(cached) " >&6
14169 else
14170 ac_func_search_save_LIBS=$LIBS
14171 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14172 /* end confdefs.h. */
14174 /* Override any GCC internal prototype to avoid an error.
14175 Use char because int might match the return type of a GCC
14176 builtin and then its argument prototype would still apply. */
14177 #ifdef __cplusplus
14178 extern "C"
14179 #endif
14180 char gethostbyname ();
14182 main ()
14184 return gethostbyname ();
14186 return 0;
14188 _ACEOF
14189 for ac_lib in '' nsl; do
14190 if test -z "$ac_lib"; then
14191 ac_res="none required"
14192 else
14193 ac_res=-l$ac_lib
14194 LIBS="-l$ac_lib $ac_func_search_save_LIBS"
14196 if ac_fn_c_try_link "$LINENO"; then :
14197 ac_cv_search_gethostbyname=$ac_res
14199 rm -f core conftest.err conftest.$ac_objext \
14200 conftest$ac_exeext
14201 if ${ac_cv_search_gethostbyname+:} false; then :
14202 break
14204 done
14205 if ${ac_cv_search_gethostbyname+:} false; then :
14207 else
14208 ac_cv_search_gethostbyname=no
14210 rm conftest.$ac_ext
14211 LIBS=$ac_func_search_save_LIBS
14213 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_search_gethostbyname" >&5
14214 $as_echo "$ac_cv_search_gethostbyname" >&6; }
14215 ac_res=$ac_cv_search_gethostbyname
14216 if test "$ac_res" != no; then :
14217 test "$ac_res" = "none required" || LIBS="$ac_res $LIBS"
14222 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for library containing connect" >&5
14223 $as_echo_n "checking for library containing connect... " >&6; }
14224 if ${ac_cv_search_connect+:} false; then :
14225 $as_echo_n "(cached) " >&6
14226 else
14227 ac_func_search_save_LIBS=$LIBS
14228 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14229 /* end confdefs.h. */
14231 /* Override any GCC internal prototype to avoid an error.
14232 Use char because int might match the return type of a GCC
14233 builtin and then its argument prototype would still apply. */
14234 #ifdef __cplusplus
14235 extern "C"
14236 #endif
14237 char connect ();
14239 main ()
14241 return connect ();
14243 return 0;
14245 _ACEOF
14246 for ac_lib in '' socket; do
14247 if test -z "$ac_lib"; then
14248 ac_res="none required"
14249 else
14250 ac_res=-l$ac_lib
14251 LIBS="-l$ac_lib $ac_func_search_save_LIBS"
14253 if ac_fn_c_try_link "$LINENO"; then :
14254 ac_cv_search_connect=$ac_res
14256 rm -f core conftest.err conftest.$ac_objext \
14257 conftest$ac_exeext
14258 if ${ac_cv_search_connect+:} false; then :
14259 break
14261 done
14262 if ${ac_cv_search_connect+:} false; then :
14264 else
14265 ac_cv_search_connect=no
14267 rm conftest.$ac_ext
14268 LIBS=$ac_func_search_save_LIBS
14270 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_search_connect" >&5
14271 $as_echo "$ac_cv_search_connect" >&6; }
14272 ac_res=$ac_cv_search_connect
14273 if test "$ac_res" != no; then :
14274 test "$ac_res" = "none required" || LIBS="$ac_res $LIBS"
14279 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for library containing inet_aton" >&5
14280 $as_echo_n "checking for library containing inet_aton... " >&6; }
14281 if ${ac_cv_search_inet_aton+:} false; then :
14282 $as_echo_n "(cached) " >&6
14283 else
14284 ac_func_search_save_LIBS=$LIBS
14285 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14286 /* end confdefs.h. */
14288 /* Override any GCC internal prototype to avoid an error.
14289 Use char because int might match the return type of a GCC
14290 builtin and then its argument prototype would still apply. */
14291 #ifdef __cplusplus
14292 extern "C"
14293 #endif
14294 char inet_aton ();
14296 main ()
14298 return inet_aton ();
14300 return 0;
14302 _ACEOF
14303 for ac_lib in '' resolv; do
14304 if test -z "$ac_lib"; then
14305 ac_res="none required"
14306 else
14307 ac_res=-l$ac_lib
14308 LIBS="-l$ac_lib $ac_func_search_save_LIBS"
14310 if ac_fn_c_try_link "$LINENO"; then :
14311 ac_cv_search_inet_aton=$ac_res
14313 rm -f core conftest.err conftest.$ac_objext \
14314 conftest$ac_exeext
14315 if ${ac_cv_search_inet_aton+:} false; then :
14316 break
14318 done
14319 if ${ac_cv_search_inet_aton+:} false; then :
14321 else
14322 ac_cv_search_inet_aton=no
14324 rm conftest.$ac_ext
14325 LIBS=$ac_func_search_save_LIBS
14327 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_search_inet_aton" >&5
14328 $as_echo "$ac_cv_search_inet_aton" >&6; }
14329 ac_res=$ac_cv_search_inet_aton
14330 if test "$ac_res" != no; then :
14331 test "$ac_res" = "none required" || LIBS="$ac_res $LIBS"
14336 for ac_func in \
14337 getaddrinfo \
14338 getnameinfo \
14339 getnetbyname \
14340 getprotobyname \
14341 getprotobynumber \
14342 getservbyport \
14343 inet_addr \
14344 inet_network \
14345 inet_ntop \
14346 inet_pton \
14347 sendmsg \
14348 socketpair \
14350 do :
14351 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
14352 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
14353 if eval test \"x\$"$as_ac_var"\" = x"yes"; then :
14354 cat >>confdefs.h <<_ACEOF
14355 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
14356 _ACEOF
14359 done
14362 ac_save_LIBS=$LIBS
14363 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for library containing clock_gettime" >&5
14364 $as_echo_n "checking for library containing clock_gettime... " >&6; }
14365 if ${ac_cv_search_clock_gettime+:} false; then :
14366 $as_echo_n "(cached) " >&6
14367 else
14368 ac_func_search_save_LIBS=$LIBS
14369 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14370 /* end confdefs.h. */
14372 /* Override any GCC internal prototype to avoid an error.
14373 Use char because int might match the return type of a GCC
14374 builtin and then its argument prototype would still apply. */
14375 #ifdef __cplusplus
14376 extern "C"
14377 #endif
14378 char clock_gettime ();
14380 main ()
14382 return clock_gettime ();
14384 return 0;
14386 _ACEOF
14387 for ac_lib in '' rt; do
14388 if test -z "$ac_lib"; then
14389 ac_res="none required"
14390 else
14391 ac_res=-l$ac_lib
14392 LIBS="-l$ac_lib $ac_func_search_save_LIBS"
14394 if ac_fn_c_try_link "$LINENO"; then :
14395 ac_cv_search_clock_gettime=$ac_res
14397 rm -f core conftest.err conftest.$ac_objext \
14398 conftest$ac_exeext
14399 if ${ac_cv_search_clock_gettime+:} false; then :
14400 break
14402 done
14403 if ${ac_cv_search_clock_gettime+:} false; then :
14405 else
14406 ac_cv_search_clock_gettime=no
14408 rm conftest.$ac_ext
14409 LIBS=$ac_func_search_save_LIBS
14411 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_search_clock_gettime" >&5
14412 $as_echo "$ac_cv_search_clock_gettime" >&6; }
14413 ac_res=$ac_cv_search_clock_gettime
14414 if test "$ac_res" != no; then :
14415 test "$ac_res" = "none required" || LIBS="$ac_res $LIBS"
14417 $as_echo "#define HAVE_CLOCK_GETTIME 1" >>confdefs.h
14419 test "$ac_res" = "none required" || LIBRT="$ac_res"
14423 LIBS=$ac_save_LIBS
14425 LDAPLIBS=""
14427 if test "$ac_cv_header_ldap_h" = "yes" -a "$ac_cv_header_lber_h" = "yes"
14428 then
14429 ac_fn_c_check_type "$LINENO" "LDAPSortKey" "ac_cv_type_LDAPSortKey" "#include <ldap.h>
14431 if test "x$ac_cv_type_LDAPSortKey" = xyes; then :
14432 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ldap_initialize in -lldap_r" >&5
14433 $as_echo_n "checking for ldap_initialize in -lldap_r... " >&6; }
14434 if ${ac_cv_lib_ldap_r_ldap_initialize+:} false; then :
14435 $as_echo_n "(cached) " >&6
14436 else
14437 ac_check_lib_save_LIBS=$LIBS
14438 LIBS="-lldap_r $LIBPTHREAD $LIBS"
14439 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14440 /* end confdefs.h. */
14442 /* Override any GCC internal prototype to avoid an error.
14443 Use char because int might match the return type of a GCC
14444 builtin and then its argument prototype would still apply. */
14445 #ifdef __cplusplus
14446 extern "C"
14447 #endif
14448 char ldap_initialize ();
14450 main ()
14452 return ldap_initialize ();
14454 return 0;
14456 _ACEOF
14457 if ac_fn_c_try_link "$LINENO"; then :
14458 ac_cv_lib_ldap_r_ldap_initialize=yes
14459 else
14460 ac_cv_lib_ldap_r_ldap_initialize=no
14462 rm -f core conftest.err conftest.$ac_objext \
14463 conftest$ac_exeext conftest.$ac_ext
14464 LIBS=$ac_check_lib_save_LIBS
14466 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_ldap_r_ldap_initialize" >&5
14467 $as_echo "$ac_cv_lib_ldap_r_ldap_initialize" >&6; }
14468 if test "x$ac_cv_lib_ldap_r_ldap_initialize" = xyes; then :
14469 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ber_init in -llber" >&5
14470 $as_echo_n "checking for ber_init in -llber... " >&6; }
14471 if ${ac_cv_lib_lber_ber_init+:} false; then :
14472 $as_echo_n "(cached) " >&6
14473 else
14474 ac_check_lib_save_LIBS=$LIBS
14475 LIBS="-llber $LIBPTHREAD $LIBS"
14476 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14477 /* end confdefs.h. */
14479 /* Override any GCC internal prototype to avoid an error.
14480 Use char because int might match the return type of a GCC
14481 builtin and then its argument prototype would still apply. */
14482 #ifdef __cplusplus
14483 extern "C"
14484 #endif
14485 char ber_init ();
14487 main ()
14489 return ber_init ();
14491 return 0;
14493 _ACEOF
14494 if ac_fn_c_try_link "$LINENO"; then :
14495 ac_cv_lib_lber_ber_init=yes
14496 else
14497 ac_cv_lib_lber_ber_init=no
14499 rm -f core conftest.err conftest.$ac_objext \
14500 conftest$ac_exeext conftest.$ac_ext
14501 LIBS=$ac_check_lib_save_LIBS
14503 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_lber_ber_init" >&5
14504 $as_echo "$ac_cv_lib_lber_ber_init" >&6; }
14505 if test "x$ac_cv_lib_lber_ber_init" = xyes; then :
14507 $as_echo "#define HAVE_LDAP 1" >>confdefs.h
14509 LDAPLIBS="-lldap_r -llber"
14516 ac_wine_check_funcs_save_LIBS="$LIBS"
14517 LIBS="$LIBS $LDAPLIBS $LIBPTHREAD"
14518 for ac_func in \
14519 ldap_count_references \
14520 ldap_first_reference \
14521 ldap_next_reference \
14522 ldap_parse_reference \
14523 ldap_parse_sort_control \
14524 ldap_parse_sortresponse_control \
14525 ldap_parse_vlv_control \
14526 ldap_parse_vlvresponse_control
14527 do :
14528 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
14529 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
14530 if eval test \"x\$"$as_ac_var"\" = x"yes"; then :
14531 cat >>confdefs.h <<_ACEOF
14532 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
14533 _ACEOF
14536 done
14538 LIBS="$ac_wine_check_funcs_save_LIBS"
14540 if test "x$LDAPLIBS" = "x"; then :
14541 case "x$with_ldap" in
14542 x) as_fn_append wine_notices "|libldap (OpenLDAP) ${notice_platform}development files not found, LDAP won't be supported." ;;
14543 xno) ;;
14544 *) as_fn_error $? "libldap (OpenLDAP) ${notice_platform}development files not found, LDAP won't be supported.
14545 This is an error since --with-ldap was requested." "$LINENO" 5 ;;
14546 esac
14549 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether mkdir takes only one argument" >&5
14550 $as_echo_n "checking whether mkdir takes only one argument... " >&6; }
14551 if ${wine_cv_one_arg_mkdir+:} false; then :
14552 $as_echo_n "(cached) " >&6
14553 else
14554 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14555 /* end confdefs.h. */
14556 #include <sys/stat.h>
14558 main ()
14560 mkdir("foo");
14562 return 0;
14564 _ACEOF
14565 if ac_fn_c_try_compile "$LINENO"; then :
14566 wine_cv_one_arg_mkdir=yes
14567 else
14568 wine_cv_one_arg_mkdir=no
14570 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
14572 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $wine_cv_one_arg_mkdir" >&5
14573 $as_echo "$wine_cv_one_arg_mkdir" >&6; }
14574 if test "$wine_cv_one_arg_mkdir" = "yes"
14575 then
14577 $as_echo "#define HAVE_ONE_ARG_MKDIR 1" >>confdefs.h
14581 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sched_setaffinity" >&5
14582 $as_echo_n "checking for sched_setaffinity... " >&6; }
14583 if ${wine_cv_have_sched_setaffinity+:} false; then :
14584 $as_echo_n "(cached) " >&6
14585 else
14586 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14587 /* end confdefs.h. */
14588 #define _GNU_SOURCE
14589 #include <sched.h>
14591 main ()
14593 sched_setaffinity(0, 0, 0);
14595 return 0;
14597 _ACEOF
14598 if ac_fn_c_try_link "$LINENO"; then :
14599 wine_cv_have_sched_setaffinity=yes
14600 else
14601 wine_cv_have_sched_setaffinity=no
14603 rm -f core conftest.err conftest.$ac_objext \
14604 conftest$ac_exeext conftest.$ac_ext
14606 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $wine_cv_have_sched_setaffinity" >&5
14607 $as_echo "$wine_cv_have_sched_setaffinity" >&6; }
14608 if test "$wine_cv_have_sched_setaffinity" = "yes"
14609 then
14611 $as_echo "#define HAVE_SCHED_SETAFFINITY 1" >>confdefs.h
14615 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for fallocate" >&5
14616 $as_echo_n "checking for fallocate... " >&6; }
14617 if ${wine_cv_have_fallocate+:} false; then :
14618 $as_echo_n "(cached) " >&6
14619 else
14620 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14621 /* end confdefs.h. */
14622 #define _GNU_SOURCE
14623 #include <fcntl.h>
14625 main ()
14627 fallocate(-1, 0, 0, 0);
14629 return 0;
14631 _ACEOF
14632 if ac_fn_c_try_link "$LINENO"; then :
14633 wine_cv_have_fallocate=yes
14634 else
14635 wine_cv_have_fallocate=no
14637 rm -f core conftest.err conftest.$ac_objext \
14638 conftest$ac_exeext conftest.$ac_ext
14640 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $wine_cv_have_fallocate" >&5
14641 $as_echo "$wine_cv_have_fallocate" >&6; }
14642 if test "$wine_cv_have_fallocate" = "yes"
14643 then
14645 $as_echo "#define HAVE_FALLOCATE 1" >>confdefs.h
14650 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for inline" >&5
14651 $as_echo_n "checking for inline... " >&6; }
14652 if ${ac_cv_c_inline+:} false; then :
14653 $as_echo_n "(cached) " >&6
14654 else
14655 ac_cv_c_inline=no
14656 for ac_kw in inline __inline__ __inline; do
14657 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14658 /* end confdefs.h. */
14659 #ifndef __cplusplus
14660 typedef int foo_t;
14661 static $ac_kw foo_t static_foo () {return 0; }
14662 $ac_kw foo_t foo () {return 0; }
14663 #endif
14665 _ACEOF
14666 if ac_fn_c_try_compile "$LINENO"; then :
14667 ac_cv_c_inline=$ac_kw
14669 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
14670 test "$ac_cv_c_inline" != no && break
14671 done
14674 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_inline" >&5
14675 $as_echo "$ac_cv_c_inline" >&6; }
14677 case $ac_cv_c_inline in
14678 inline | yes) ;;
14680 case $ac_cv_c_inline in
14681 no) ac_val=;;
14682 *) ac_val=$ac_cv_c_inline;;
14683 esac
14684 cat >>confdefs.h <<_ACEOF
14685 #ifndef __cplusplus
14686 #define inline $ac_val
14687 #endif
14688 _ACEOF
14690 esac
14692 ac_fn_c_check_type "$LINENO" "mode_t" "ac_cv_type_mode_t" "$ac_includes_default"
14693 if test "x$ac_cv_type_mode_t" = xyes; then :
14695 cat >>confdefs.h <<_ACEOF
14696 #define HAVE_MODE_T 1
14697 _ACEOF
14701 ac_fn_c_check_type "$LINENO" "off_t" "ac_cv_type_off_t" "$ac_includes_default"
14702 if test "x$ac_cv_type_off_t" = xyes; then :
14704 cat >>confdefs.h <<_ACEOF
14705 #define HAVE_OFF_T 1
14706 _ACEOF
14710 ac_fn_c_check_type "$LINENO" "pid_t" "ac_cv_type_pid_t" "$ac_includes_default"
14711 if test "x$ac_cv_type_pid_t" = xyes; then :
14713 cat >>confdefs.h <<_ACEOF
14714 #define HAVE_PID_T 1
14715 _ACEOF
14719 ac_fn_c_check_type "$LINENO" "size_t" "ac_cv_type_size_t" "$ac_includes_default"
14720 if test "x$ac_cv_type_size_t" = xyes; then :
14722 cat >>confdefs.h <<_ACEOF
14723 #define HAVE_SIZE_T 1
14724 _ACEOF
14728 ac_fn_c_check_type "$LINENO" "ssize_t" "ac_cv_type_ssize_t" "$ac_includes_default"
14729 if test "x$ac_cv_type_ssize_t" = xyes; then :
14731 cat >>confdefs.h <<_ACEOF
14732 #define HAVE_SSIZE_T 1
14733 _ACEOF
14737 ac_fn_c_check_type "$LINENO" "long long" "ac_cv_type_long_long" "$ac_includes_default"
14738 if test "x$ac_cv_type_long_long" = xyes; then :
14740 cat >>confdefs.h <<_ACEOF
14741 #define HAVE_LONG_LONG 1
14742 _ACEOF
14746 ac_fn_c_check_type "$LINENO" "fsblkcnt_t" "ac_cv_type_fsblkcnt_t" "$ac_includes_default"
14747 if test "x$ac_cv_type_fsblkcnt_t" = xyes; then :
14749 cat >>confdefs.h <<_ACEOF
14750 #define HAVE_FSBLKCNT_T 1
14751 _ACEOF
14755 ac_fn_c_check_type "$LINENO" "fsfilcnt_t" "ac_cv_type_fsfilcnt_t" "$ac_includes_default"
14756 if test "x$ac_cv_type_fsfilcnt_t" = xyes; then :
14758 cat >>confdefs.h <<_ACEOF
14759 #define HAVE_FSFILCNT_T 1
14760 _ACEOF
14765 ac_fn_c_check_type "$LINENO" "sigset_t" "ac_cv_type_sigset_t" "#include <sys/types.h>
14766 #include <signal.h>
14768 if test "x$ac_cv_type_sigset_t" = xyes; then :
14770 cat >>confdefs.h <<_ACEOF
14771 #define HAVE_SIGSET_T 1
14772 _ACEOF
14777 ac_fn_c_check_type "$LINENO" "request_sense" "ac_cv_type_request_sense" "#include <linux/cdrom.h>
14779 if test "x$ac_cv_type_request_sense" = xyes; then :
14781 cat >>confdefs.h <<_ACEOF
14782 #define HAVE_REQUEST_SENSE 1
14783 _ACEOF
14789 ac_fn_c_check_type "$LINENO" "struct xinpgen" "ac_cv_type_struct_xinpgen" "#include <sys/types.h>
14790 #ifdef HAVE_SYS_SOCKET_H
14791 #include <sys/socket.h>
14792 #endif
14793 #ifdef HAVE_SYS_SOCKETVAR_H
14794 #include <sys/socketvar.h>
14795 #endif
14796 #ifdef HAVE_NET_ROUTE_H
14797 #include <net/route.h>
14798 #endif
14799 #ifdef HAVE_NETINET_IN_H
14800 #include <netinet/in.h>
14801 #endif
14802 #ifdef HAVE_NETINET_IN_SYSTM_H
14803 #include <netinet/in_systm.h>
14804 #endif
14805 #ifdef HAVE_NETINET_IP_H
14806 #include <netinet/ip.h>
14807 #endif
14808 #ifdef HAVE_NETINET_IN_PCB_H
14809 #include <netinet/in_pcb.h>
14810 #endif
14812 if test "x$ac_cv_type_struct_xinpgen" = xyes; then :
14814 cat >>confdefs.h <<_ACEOF
14815 #define HAVE_STRUCT_XINPGEN 1
14816 _ACEOF
14822 ac_fn_c_check_type "$LINENO" "struct r_debug" "ac_cv_type_struct_r_debug" "#ifdef HAVE_LINK_H
14823 #include <link.h>
14824 #endif
14825 #ifdef HAVE_SYS_LINK_H
14826 #include <sys/link.h>
14827 #endif
14829 if test "x$ac_cv_type_struct_r_debug" = xyes; then :
14831 cat >>confdefs.h <<_ACEOF
14832 #define HAVE_STRUCT_R_DEBUG 1
14833 _ACEOF
14837 ac_fn_c_check_type "$LINENO" "struct link_map" "ac_cv_type_struct_link_map" "#ifdef HAVE_LINK_H
14838 #include <link.h>
14839 #endif
14840 #ifdef HAVE_SYS_LINK_H
14841 #include <sys/link.h>
14842 #endif
14844 if test "x$ac_cv_type_struct_link_map" = xyes; then :
14846 cat >>confdefs.h <<_ACEOF
14847 #define HAVE_STRUCT_LINK_MAP 1
14848 _ACEOF
14854 ac_fn_c_check_member "$LINENO" "struct ff_effect" "direction" "ac_cv_member_struct_ff_effect_direction" "#ifdef HAVE_LINUX_INPUT_H
14855 #include <linux/input.h>
14856 #endif
14858 if test "x$ac_cv_member_struct_ff_effect_direction" = xyes; then :
14860 cat >>confdefs.h <<_ACEOF
14861 #define HAVE_STRUCT_FF_EFFECT_DIRECTION 1
14862 _ACEOF
14868 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sigaddset" >&5
14869 $as_echo_n "checking for sigaddset... " >&6; }
14870 if ${wine_cv_have_sigaddset+:} false; then :
14871 $as_echo_n "(cached) " >&6
14872 else
14873 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14874 /* end confdefs.h. */
14875 #include <signal.h>
14877 main ()
14879 sigset_t set; sigaddset(&set,SIGTERM);
14881 return 0;
14883 _ACEOF
14884 if ac_fn_c_try_link "$LINENO"; then :
14885 wine_cv_have_sigaddset=yes
14886 else
14887 wine_cv_have_sigaddset=no
14889 rm -f core conftest.err conftest.$ac_objext \
14890 conftest$ac_exeext conftest.$ac_ext
14892 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $wine_cv_have_sigaddset" >&5
14893 $as_echo "$wine_cv_have_sigaddset" >&6; }
14894 if test "$wine_cv_have_sigaddset" = "yes"
14895 then
14897 $as_echo "#define HAVE_SIGADDSET 1" >>confdefs.h
14902 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we can use re-entrant gethostbyname_r Linux style" >&5
14903 $as_echo_n "checking whether we can use re-entrant gethostbyname_r Linux style... " >&6; }
14904 if ${wine_cv_linux_gethostbyname_r_6+:} false; then :
14905 $as_echo_n "(cached) " >&6
14906 else
14907 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14908 /* end confdefs.h. */
14909 #include <netdb.h>
14911 main ()
14914 char *name=0;
14915 struct hostent he;
14916 struct hostent *result;
14917 char *buf=0;
14918 int bufsize=0;
14919 int errnr;
14920 char *addr=0;
14921 int addrlen=0;
14922 int addrtype=0;
14923 gethostbyname_r(name,&he,buf,bufsize,&result,&errnr);
14924 gethostbyaddr_r(addr, addrlen, addrtype,&he,buf,bufsize,&result,&errnr);
14927 return 0;
14929 _ACEOF
14930 if ac_fn_c_try_link "$LINENO"; then :
14931 wine_cv_linux_gethostbyname_r_6=yes
14932 else
14933 wine_cv_linux_gethostbyname_r_6=no
14936 rm -f core conftest.err conftest.$ac_objext \
14937 conftest$ac_exeext conftest.$ac_ext
14940 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $wine_cv_linux_gethostbyname_r_6" >&5
14941 $as_echo "$wine_cv_linux_gethostbyname_r_6" >&6; }
14942 if test "$wine_cv_linux_gethostbyname_r_6" = "yes"
14943 then
14945 $as_echo "#define HAVE_LINUX_GETHOSTBYNAME_R_6 1" >>confdefs.h
14949 if test "$ac_cv_header_linux_joystick_h" = "yes"
14950 then
14951 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether linux/joystick.h uses the Linux 2.2+ API" >&5
14952 $as_echo_n "checking whether linux/joystick.h uses the Linux 2.2+ API... " >&6; }
14953 if ${wine_cv_linux_joystick_22_api+:} false; then :
14954 $as_echo_n "(cached) " >&6
14955 else
14956 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14957 /* end confdefs.h. */
14959 #include <sys/ioctl.h>
14960 #include <sys/types.h>
14961 #include <linux/joystick.h>
14963 struct js_event blub;
14964 #if !defined(JS_EVENT_AXIS) || !defined(JS_EVENT_BUTTON)
14965 #error "no 2.2 header"
14966 #endif
14969 main ()
14971 /*empty*/
14973 return 0;
14975 _ACEOF
14976 if ac_fn_c_try_compile "$LINENO"; then :
14977 wine_cv_linux_joystick_22_api=yes
14978 else
14979 wine_cv_linux_joystick_22_api=no
14981 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
14984 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $wine_cv_linux_joystick_22_api" >&5
14985 $as_echo "$wine_cv_linux_joystick_22_api" >&6; }
14986 if test "$wine_cv_linux_joystick_22_api" = "yes"
14987 then
14989 $as_echo "#define HAVE_LINUX_22_JOYSTICK_API 1" >>confdefs.h
14995 ac_fn_c_check_member "$LINENO" "struct statfs" "f_bfree" "ac_cv_member_struct_statfs_f_bfree" "#include <sys/types.h>
14996 #ifdef HAVE_SYS_PARAM_H
14997 # include <sys/param.h>
14998 #endif
14999 #ifdef HAVE_SYS_MOUNT_H
15000 # include <sys/mount.h>
15001 #endif
15002 #ifdef HAVE_SYS_VFS_H
15003 # include <sys/vfs.h>
15004 #endif
15005 #ifdef HAVE_SYS_STATFS_H
15006 # include <sys/statfs.h>
15007 #endif
15009 if test "x$ac_cv_member_struct_statfs_f_bfree" = xyes; then :
15011 cat >>confdefs.h <<_ACEOF
15012 #define HAVE_STRUCT_STATFS_F_BFREE 1
15013 _ACEOF
15017 ac_fn_c_check_member "$LINENO" "struct statfs" "f_bavail" "ac_cv_member_struct_statfs_f_bavail" "#include <sys/types.h>
15018 #ifdef HAVE_SYS_PARAM_H
15019 # include <sys/param.h>
15020 #endif
15021 #ifdef HAVE_SYS_MOUNT_H
15022 # include <sys/mount.h>
15023 #endif
15024 #ifdef HAVE_SYS_VFS_H
15025 # include <sys/vfs.h>
15026 #endif
15027 #ifdef HAVE_SYS_STATFS_H
15028 # include <sys/statfs.h>
15029 #endif
15031 if test "x$ac_cv_member_struct_statfs_f_bavail" = xyes; then :
15033 cat >>confdefs.h <<_ACEOF
15034 #define HAVE_STRUCT_STATFS_F_BAVAIL 1
15035 _ACEOF
15039 ac_fn_c_check_member "$LINENO" "struct statfs" "f_frsize" "ac_cv_member_struct_statfs_f_frsize" "#include <sys/types.h>
15040 #ifdef HAVE_SYS_PARAM_H
15041 # include <sys/param.h>
15042 #endif
15043 #ifdef HAVE_SYS_MOUNT_H
15044 # include <sys/mount.h>
15045 #endif
15046 #ifdef HAVE_SYS_VFS_H
15047 # include <sys/vfs.h>
15048 #endif
15049 #ifdef HAVE_SYS_STATFS_H
15050 # include <sys/statfs.h>
15051 #endif
15053 if test "x$ac_cv_member_struct_statfs_f_frsize" = xyes; then :
15055 cat >>confdefs.h <<_ACEOF
15056 #define HAVE_STRUCT_STATFS_F_FRSIZE 1
15057 _ACEOF
15061 ac_fn_c_check_member "$LINENO" "struct statfs" "f_ffree" "ac_cv_member_struct_statfs_f_ffree" "#include <sys/types.h>
15062 #ifdef HAVE_SYS_PARAM_H
15063 # include <sys/param.h>
15064 #endif
15065 #ifdef HAVE_SYS_MOUNT_H
15066 # include <sys/mount.h>
15067 #endif
15068 #ifdef HAVE_SYS_VFS_H
15069 # include <sys/vfs.h>
15070 #endif
15071 #ifdef HAVE_SYS_STATFS_H
15072 # include <sys/statfs.h>
15073 #endif
15075 if test "x$ac_cv_member_struct_statfs_f_ffree" = xyes; then :
15077 cat >>confdefs.h <<_ACEOF
15078 #define HAVE_STRUCT_STATFS_F_FFREE 1
15079 _ACEOF
15083 ac_fn_c_check_member "$LINENO" "struct statfs" "f_favail" "ac_cv_member_struct_statfs_f_favail" "#include <sys/types.h>
15084 #ifdef HAVE_SYS_PARAM_H
15085 # include <sys/param.h>
15086 #endif
15087 #ifdef HAVE_SYS_MOUNT_H
15088 # include <sys/mount.h>
15089 #endif
15090 #ifdef HAVE_SYS_VFS_H
15091 # include <sys/vfs.h>
15092 #endif
15093 #ifdef HAVE_SYS_STATFS_H
15094 # include <sys/statfs.h>
15095 #endif
15097 if test "x$ac_cv_member_struct_statfs_f_favail" = xyes; then :
15099 cat >>confdefs.h <<_ACEOF
15100 #define HAVE_STRUCT_STATFS_F_FAVAIL 1
15101 _ACEOF
15105 ac_fn_c_check_member "$LINENO" "struct statfs" "f_namelen" "ac_cv_member_struct_statfs_f_namelen" "#include <sys/types.h>
15106 #ifdef HAVE_SYS_PARAM_H
15107 # include <sys/param.h>
15108 #endif
15109 #ifdef HAVE_SYS_MOUNT_H
15110 # include <sys/mount.h>
15111 #endif
15112 #ifdef HAVE_SYS_VFS_H
15113 # include <sys/vfs.h>
15114 #endif
15115 #ifdef HAVE_SYS_STATFS_H
15116 # include <sys/statfs.h>
15117 #endif
15119 if test "x$ac_cv_member_struct_statfs_f_namelen" = xyes; then :
15121 cat >>confdefs.h <<_ACEOF
15122 #define HAVE_STRUCT_STATFS_F_NAMELEN 1
15123 _ACEOF
15129 ac_fn_c_check_member "$LINENO" "struct statvfs" "f_blocks" "ac_cv_member_struct_statvfs_f_blocks" "#ifdef HAVE_SYS_STATVFS_H
15130 #include <sys/statvfs.h>
15131 #endif
15133 if test "x$ac_cv_member_struct_statvfs_f_blocks" = xyes; then :
15135 cat >>confdefs.h <<_ACEOF
15136 #define HAVE_STRUCT_STATVFS_F_BLOCKS 1
15137 _ACEOF
15143 ac_fn_c_check_member "$LINENO" "struct dirent" "d_reclen" "ac_cv_member_struct_dirent_d_reclen" "#ifdef HAVE_DIRENT_H
15144 #include <dirent.h>
15145 #endif
15147 if test "x$ac_cv_member_struct_dirent_d_reclen" = xyes; then :
15149 cat >>confdefs.h <<_ACEOF
15150 #define HAVE_STRUCT_DIRENT_D_RECLEN 1
15151 _ACEOF
15157 ac_fn_c_check_member "$LINENO" "struct msghdr" "msg_accrights" "ac_cv_member_struct_msghdr_msg_accrights" "#include <sys/types.h>
15158 #ifdef HAVE_SYS_SOCKET_H
15159 # include <sys/socket.h>
15160 #endif
15161 #ifdef HAVE_SYS_UN_H
15162 # include <sys/un.h>
15163 #endif
15165 if test "x$ac_cv_member_struct_msghdr_msg_accrights" = xyes; then :
15167 cat >>confdefs.h <<_ACEOF
15168 #define HAVE_STRUCT_MSGHDR_MSG_ACCRIGHTS 1
15169 _ACEOF
15173 ac_fn_c_check_member "$LINENO" "struct sockaddr" "sa_len" "ac_cv_member_struct_sockaddr_sa_len" "#include <sys/types.h>
15174 #ifdef HAVE_SYS_SOCKET_H
15175 # include <sys/socket.h>
15176 #endif
15177 #ifdef HAVE_SYS_UN_H
15178 # include <sys/un.h>
15179 #endif
15181 if test "x$ac_cv_member_struct_sockaddr_sa_len" = xyes; then :
15183 cat >>confdefs.h <<_ACEOF
15184 #define HAVE_STRUCT_SOCKADDR_SA_LEN 1
15185 _ACEOF
15189 ac_fn_c_check_member "$LINENO" "struct sockaddr_un" "sun_len" "ac_cv_member_struct_sockaddr_un_sun_len" "#include <sys/types.h>
15190 #ifdef HAVE_SYS_SOCKET_H
15191 # include <sys/socket.h>
15192 #endif
15193 #ifdef HAVE_SYS_UN_H
15194 # include <sys/un.h>
15195 #endif
15197 if test "x$ac_cv_member_struct_sockaddr_un_sun_len" = xyes; then :
15199 cat >>confdefs.h <<_ACEOF
15200 #define HAVE_STRUCT_SOCKADDR_UN_SUN_LEN 1
15201 _ACEOF
15207 ac_fn_c_check_member "$LINENO" "scsireq_t" "cmd" "ac_cv_member_scsireq_t_cmd" "#include <sys/types.h>
15208 #ifdef HAVE_SCSI_SG_H
15209 #include <scsi/sg.h>
15210 #endif
15212 if test "x$ac_cv_member_scsireq_t_cmd" = xyes; then :
15214 cat >>confdefs.h <<_ACEOF
15215 #define HAVE_SCSIREQ_T_CMD 1
15216 _ACEOF
15220 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>
15221 #ifdef HAVE_SCSI_SG_H
15222 #include <scsi/sg.h>
15223 #endif
15225 if test "x$ac_cv_member_sg_io_hdr_t_interface_id" = xyes; then :
15227 cat >>confdefs.h <<_ACEOF
15228 #define HAVE_SG_IO_HDR_T_INTERFACE_ID 1
15229 _ACEOF
15235 ac_fn_c_check_member "$LINENO" "siginfo_t" "si_fd" "ac_cv_member_siginfo_t_si_fd" "#include <signal.h>
15237 if test "x$ac_cv_member_siginfo_t_si_fd" = xyes; then :
15239 cat >>confdefs.h <<_ACEOF
15240 #define HAVE_SIGINFO_T_SI_FD 1
15241 _ACEOF
15247 ac_fn_c_check_member "$LINENO" "struct mtget" "mt_blksiz" "ac_cv_member_struct_mtget_mt_blksiz" "#include <sys/types.h>
15248 #ifdef HAVE_SYS_MTIO_H
15249 #include <sys/mtio.h>
15250 #endif
15252 if test "x$ac_cv_member_struct_mtget_mt_blksiz" = xyes; then :
15254 cat >>confdefs.h <<_ACEOF
15255 #define HAVE_STRUCT_MTGET_MT_BLKSIZ 1
15256 _ACEOF
15260 ac_fn_c_check_member "$LINENO" "struct mtget" "mt_gstat" "ac_cv_member_struct_mtget_mt_gstat" "#include <sys/types.h>
15261 #ifdef HAVE_SYS_MTIO_H
15262 #include <sys/mtio.h>
15263 #endif
15265 if test "x$ac_cv_member_struct_mtget_mt_gstat" = xyes; then :
15267 cat >>confdefs.h <<_ACEOF
15268 #define HAVE_STRUCT_MTGET_MT_GSTAT 1
15269 _ACEOF
15273 ac_fn_c_check_member "$LINENO" "struct mtget" "mt_blkno" "ac_cv_member_struct_mtget_mt_blkno" "#include <sys/types.h>
15274 #ifdef HAVE_SYS_MTIO_H
15275 #include <sys/mtio.h>
15276 #endif
15278 if test "x$ac_cv_member_struct_mtget_mt_blkno" = xyes; then :
15280 cat >>confdefs.h <<_ACEOF
15281 #define HAVE_STRUCT_MTGET_MT_BLKNO 1
15282 _ACEOF
15288 ac_fn_c_check_member "$LINENO" "struct option" "name" "ac_cv_member_struct_option_name" "#ifdef HAVE_GETOPT_H
15289 #include <getopt.h>
15290 #endif
15292 if test "x$ac_cv_member_struct_option_name" = xyes; then :
15294 cat >>confdefs.h <<_ACEOF
15295 #define HAVE_STRUCT_OPTION_NAME 1
15296 _ACEOF
15302 ac_fn_c_check_member "$LINENO" "struct stat" "st_blocks" "ac_cv_member_struct_stat_st_blocks" "$ac_includes_default"
15303 if test "x$ac_cv_member_struct_stat_st_blocks" = xyes; then :
15305 cat >>confdefs.h <<_ACEOF
15306 #define HAVE_STRUCT_STAT_ST_BLOCKS 1
15307 _ACEOF
15311 ac_fn_c_check_member "$LINENO" "struct stat" "st_mtim" "ac_cv_member_struct_stat_st_mtim" "$ac_includes_default"
15312 if test "x$ac_cv_member_struct_stat_st_mtim" = xyes; then :
15314 cat >>confdefs.h <<_ACEOF
15315 #define HAVE_STRUCT_STAT_ST_MTIM 1
15316 _ACEOF
15320 ac_fn_c_check_member "$LINENO" "struct stat" "st_mtimespec" "ac_cv_member_struct_stat_st_mtimespec" "$ac_includes_default"
15321 if test "x$ac_cv_member_struct_stat_st_mtimespec" = xyes; then :
15323 cat >>confdefs.h <<_ACEOF
15324 #define HAVE_STRUCT_STAT_ST_MTIMESPEC 1
15325 _ACEOF
15329 ac_fn_c_check_member "$LINENO" "struct stat" "st_ctim" "ac_cv_member_struct_stat_st_ctim" "$ac_includes_default"
15330 if test "x$ac_cv_member_struct_stat_st_ctim" = xyes; then :
15332 cat >>confdefs.h <<_ACEOF
15333 #define HAVE_STRUCT_STAT_ST_CTIM 1
15334 _ACEOF
15338 ac_fn_c_check_member "$LINENO" "struct stat" "st_ctimespec" "ac_cv_member_struct_stat_st_ctimespec" "$ac_includes_default"
15339 if test "x$ac_cv_member_struct_stat_st_ctimespec" = xyes; then :
15341 cat >>confdefs.h <<_ACEOF
15342 #define HAVE_STRUCT_STAT_ST_CTIMESPEC 1
15343 _ACEOF
15347 ac_fn_c_check_member "$LINENO" "struct stat" "st_atim" "ac_cv_member_struct_stat_st_atim" "$ac_includes_default"
15348 if test "x$ac_cv_member_struct_stat_st_atim" = xyes; then :
15350 cat >>confdefs.h <<_ACEOF
15351 #define HAVE_STRUCT_STAT_ST_ATIM 1
15352 _ACEOF
15356 ac_fn_c_check_member "$LINENO" "struct stat" "st_atimespec" "ac_cv_member_struct_stat_st_atimespec" "$ac_includes_default"
15357 if test "x$ac_cv_member_struct_stat_st_atimespec" = xyes; then :
15359 cat >>confdefs.h <<_ACEOF
15360 #define HAVE_STRUCT_STAT_ST_ATIMESPEC 1
15361 _ACEOF
15365 ac_fn_c_check_member "$LINENO" "struct stat" "st_birthtime" "ac_cv_member_struct_stat_st_birthtime" "$ac_includes_default"
15366 if test "x$ac_cv_member_struct_stat_st_birthtime" = xyes; then :
15368 cat >>confdefs.h <<_ACEOF
15369 #define HAVE_STRUCT_STAT_ST_BIRTHTIME 1
15370 _ACEOF
15374 ac_fn_c_check_member "$LINENO" "struct stat" "st_birthtim" "ac_cv_member_struct_stat_st_birthtim" "$ac_includes_default"
15375 if test "x$ac_cv_member_struct_stat_st_birthtim" = xyes; then :
15377 cat >>confdefs.h <<_ACEOF
15378 #define HAVE_STRUCT_STAT_ST_BIRTHTIM 1
15379 _ACEOF
15383 ac_fn_c_check_member "$LINENO" "struct stat" "st_birthtimespec" "ac_cv_member_struct_stat_st_birthtimespec" "$ac_includes_default"
15384 if test "x$ac_cv_member_struct_stat_st_birthtimespec" = xyes; then :
15386 cat >>confdefs.h <<_ACEOF
15387 #define HAVE_STRUCT_STAT_ST_BIRTHTIMESPEC 1
15388 _ACEOF
15392 ac_fn_c_check_member "$LINENO" "struct stat" "__st_birthtime" "ac_cv_member_struct_stat___st_birthtime" "$ac_includes_default"
15393 if test "x$ac_cv_member_struct_stat___st_birthtime" = xyes; then :
15395 cat >>confdefs.h <<_ACEOF
15396 #define HAVE_STRUCT_STAT___ST_BIRTHTIME 1
15397 _ACEOF
15401 ac_fn_c_check_member "$LINENO" "struct stat" "__st_birthtim" "ac_cv_member_struct_stat___st_birthtim" "$ac_includes_default"
15402 if test "x$ac_cv_member_struct_stat___st_birthtim" = xyes; then :
15404 cat >>confdefs.h <<_ACEOF
15405 #define HAVE_STRUCT_STAT___ST_BIRTHTIM 1
15406 _ACEOF
15412 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
15413 #include <sys/types.h>
15414 #endif
15415 #ifdef HAVE_NETINET_IN_H
15416 #include <netinet/in.h>
15417 #endif
15419 if test "x$ac_cv_member_struct_sockaddr_in6_sin6_scope_id" = xyes; then :
15421 cat >>confdefs.h <<_ACEOF
15422 #define HAVE_STRUCT_SOCKADDR_IN6_SIN6_SCOPE_ID 1
15423 _ACEOF
15429 ac_fn_c_check_type "$LINENO" "struct __res_state" "ac_cv_type_struct___res_state" "#ifdef HAVE_RESOLV_H
15430 #include <resolv.h>
15431 #endif
15433 if test "x$ac_cv_type_struct___res_state" = xyes; then :
15435 cat >>confdefs.h <<_ACEOF
15436 #define HAVE_STRUCT___RES_STATE 1
15437 _ACEOF
15443 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
15444 #include <resolv.h>
15445 #endif
15447 if test "x$ac_cv_member_struct___res_state__u__ext_nscount6" = xyes; then :
15449 cat >>confdefs.h <<_ACEOF
15450 #define HAVE_STRUCT___RES_STATE__U__EXT_NSCOUNT6 1
15451 _ACEOF
15457 ac_fn_c_check_member "$LINENO" "ns_msg" "_msg_ptr" "ac_cv_member_ns_msg__msg_ptr" "#ifdef HAVE_SYS_TYPES_H
15458 #include <sys/types.h>
15459 #endif
15460 #ifdef HAVE_NETINET_IN_H
15461 # include <netinet/in.h>
15462 #endif
15463 #ifdef HAVE_ARPA_NAMESER_H
15464 # include <arpa/nameser.h>
15465 #endif
15467 if test "x$ac_cv_member_ns_msg__msg_ptr" = xyes; then :
15469 cat >>confdefs.h <<_ACEOF
15470 #define HAVE_NS_MSG__MSG_PTR 1
15471 _ACEOF
15477 ac_fn_c_check_member "$LINENO" "struct icmpstat" "icps_inhist" "ac_cv_member_struct_icmpstat_icps_inhist" "#ifdef HAVE_SYS_TYPES_H
15478 #include <sys/types.h>
15479 #endif
15480 #ifdef HAVE_NETINET_IP_H
15481 #include <netinet/ip.h>
15482 #endif
15483 #ifdef HAVE_NETINET_IP_ICMP_H
15484 #include <netinet/ip_icmp.h>
15485 #endif
15486 #ifdef HAVE_NETINET_ICMP_VAR_H
15487 #include <netinet/icmp_var.h>
15488 #endif
15490 if test "x$ac_cv_member_struct_icmpstat_icps_inhist" = xyes; then :
15492 cat >>confdefs.h <<_ACEOF
15493 #define HAVE_STRUCT_ICMPSTAT_ICPS_INHIST 1
15494 _ACEOF
15500 ac_fn_c_check_member "$LINENO" "struct icmpstat" "icps_outhist" "ac_cv_member_struct_icmpstat_icps_outhist" "#ifdef HAVE_SYS_TYPES_H
15501 #include <sys/types.h>
15502 #endif
15503 #ifdef HAVE_ALIAS_H
15504 #include <alias.h>
15505 #endif
15506 #ifdef HAVE_SYS_SOCKET_H
15507 #include <sys/socket.h>
15508 #endif
15509 #ifdef HAVE_SYS_SOCKETVAR_H
15510 #include <sys/socketvar.h>
15511 #endif
15512 #ifdef HAVE_SYS_TIMEOUT_H
15513 #include <sys/timeout.h>
15514 #endif
15515 #ifdef HAVE_NETINET_IN_H
15516 #include <netinet/in.h>
15517 #endif
15518 #ifdef HAVE_NETINET_IN_SYSTM_H
15519 #include <netinet/in_systm.h>
15520 #endif
15521 #ifdef HAVE_NETINET_IP_H
15522 #include <netinet/ip.h>
15523 #endif
15524 #ifdef HAVE_NETINET_IP_VAR_H
15525 #include <netinet/ip_var.h>
15526 #endif
15527 #ifdef HAVE_NETINET_IP_ICMP_H
15528 #include <netinet/ip_icmp.h>
15529 #endif
15530 #ifdef HAVE_NETINET_ICMP_VAR_H
15531 #include <netinet/icmp_var.h>
15532 #endif
15534 if test "x$ac_cv_member_struct_icmpstat_icps_outhist" = xyes; then :
15536 cat >>confdefs.h <<_ACEOF
15537 #define HAVE_STRUCT_ICMPSTAT_ICPS_OUTHIST 1
15538 _ACEOF
15544 ac_fn_c_check_member "$LINENO" "struct ipstat" "ips_total" "ac_cv_member_struct_ipstat_ips_total" "#ifdef HAVE_SYS_TYPES_H
15545 #include <sys/types.h>
15546 #endif
15547 #ifdef HAVE_SYS_SOCKETVAR_H
15548 #include <sys/socketvar.h>
15549 #endif
15550 #ifdef HAVE_NETINET_IN_H
15551 #include <netinet/in.h>
15552 #endif
15553 #ifdef HAVE_NETINET_IP_VAR_H
15554 #include <netinet/ip_var.h>
15555 #endif
15557 if test "x$ac_cv_member_struct_ipstat_ips_total" = xyes; then :
15559 cat >>confdefs.h <<_ACEOF
15560 #define HAVE_STRUCT_IPSTAT_IPS_TOTAL 1
15561 _ACEOF
15567 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
15568 #include <netinet/ip_var.h>
15569 #endif
15571 if test "x$ac_cv_member_struct_ip_stats_ips_total" = xyes; then :
15573 cat >>confdefs.h <<_ACEOF
15574 #define HAVE_STRUCT_IP_STATS_IPS_TOTAL 1
15575 _ACEOF
15581 ac_fn_c_check_member "$LINENO" "struct tcpstat" "tcps_connattempt" "ac_cv_member_struct_tcpstat_tcps_connattempt" "#ifdef HAVE_SYS_TYPES_H
15582 #include <sys/types.h>
15583 #endif
15584 #ifdef HAVE_SYS_SOCKETVAR_H
15585 #include <sys/socketvar.h>
15586 #endif
15587 #ifdef HAVE_NETINET_IN_H
15588 #include <netinet/in.h>
15589 #endif
15590 #ifdef HAVE_NETINET_TCP_H
15591 #include <netinet/tcp.h>
15592 #endif
15593 #ifdef HAVE_NETINET_TCP_VAR_H
15594 #include <netinet/tcp_var.h>
15595 #endif
15597 if test "x$ac_cv_member_struct_tcpstat_tcps_connattempt" = xyes; then :
15599 cat >>confdefs.h <<_ACEOF
15600 #define HAVE_STRUCT_TCPSTAT_TCPS_CONNATTEMPT 1
15601 _ACEOF
15607 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
15608 #include <netinet/tcp_var.h>
15609 #endif
15611 if test "x$ac_cv_member_struct_tcp_stats_tcps_connattempt" = xyes; then :
15613 cat >>confdefs.h <<_ACEOF
15614 #define HAVE_STRUCT_TCP_STATS_TCPS_CONNATTEMPT 1
15615 _ACEOF
15621 ac_fn_c_check_member "$LINENO" "struct udpstat" "udps_ipackets" "ac_cv_member_struct_udpstat_udps_ipackets" "#ifdef HAVE_SYS_TYPES_H
15622 #include <sys/types.h>
15623 #endif
15624 #ifdef HAVE_NETINET_IN_H
15625 #include <netinet/in.h>
15626 #endif
15627 #ifdef HAVE_NETINET_IP_VAR_H
15628 #include <netinet/ip_var.h>
15629 #endif
15630 #ifdef HAVE_NETINET_UDP_H
15631 #include <netinet/udp.h>
15632 #endif
15633 #ifdef HAVE_NETINET_UDP_VAR_H
15634 #include <netinet/udp_var.h>
15635 #endif
15637 if test "x$ac_cv_member_struct_udpstat_udps_ipackets" = xyes; then :
15639 cat >>confdefs.h <<_ACEOF
15640 #define HAVE_STRUCT_UDPSTAT_UDPS_IPACKETS 1
15641 _ACEOF
15647 ac_fn_c_check_member "$LINENO" "struct ifreq" "ifr_hwaddr" "ac_cv_member_struct_ifreq_ifr_hwaddr" "#ifdef HAVE_SYS_TYPES_H
15648 #include <sys/types.h>
15649 #endif
15650 #ifdef HAVE_NET_IF_H
15651 # include <net/if.h>
15652 #endif
15654 if test "x$ac_cv_member_struct_ifreq_ifr_hwaddr" = xyes; then :
15656 cat >>confdefs.h <<_ACEOF
15657 #define HAVE_STRUCT_IFREQ_IFR_HWADDR 1
15658 _ACEOF
15664 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for timezone variable" >&5
15665 $as_echo_n "checking for timezone variable... " >&6; }
15666 if ${ac_cv_have_timezone+:} false; then :
15667 $as_echo_n "(cached) " >&6
15668 else
15669 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15670 /* end confdefs.h. */
15671 #include <time.h>
15673 main ()
15675 timezone = 1
15677 return 0;
15679 _ACEOF
15680 if ac_fn_c_try_link "$LINENO"; then :
15681 ac_cv_have_timezone="yes"
15682 else
15683 ac_cv_have_timezone="no"
15685 rm -f core conftest.err conftest.$ac_objext \
15686 conftest$ac_exeext conftest.$ac_ext
15688 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_have_timezone" >&5
15689 $as_echo "$ac_cv_have_timezone" >&6; }
15690 if test "$ac_cv_have_timezone" = "yes"
15691 then
15693 $as_echo "#define HAVE_TIMEZONE 1" >>confdefs.h
15696 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for daylight variable" >&5
15697 $as_echo_n "checking for daylight variable... " >&6; }
15698 if ${ac_cv_have_daylight+:} false; then :
15699 $as_echo_n "(cached) " >&6
15700 else
15701 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15702 /* end confdefs.h. */
15703 #include <time.h>
15705 main ()
15707 daylight = 1
15709 return 0;
15711 _ACEOF
15712 if ac_fn_c_try_link "$LINENO"; then :
15713 ac_cv_have_daylight="yes"
15714 else
15715 ac_cv_have_daylight="no"
15717 rm -f core conftest.err conftest.$ac_objext \
15718 conftest$ac_exeext conftest.$ac_ext
15720 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_have_daylight" >&5
15721 $as_echo "$ac_cv_have_daylight" >&6; }
15722 if test "$ac_cv_have_daylight" = "yes"
15723 then
15725 $as_echo "#define HAVE_DAYLIGHT 1" >>confdefs.h
15729 ac_save_LIBS="$LIBS"
15730 LIBS="$LIBS -lm"
15731 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for isinf" >&5
15732 $as_echo_n "checking for isinf... " >&6; }
15733 if ${ac_cv_have_isinf+:} false; then :
15734 $as_echo_n "(cached) " >&6
15735 else
15736 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15737 /* end confdefs.h. */
15738 #include <math.h>
15740 main ()
15742 float f = 0.0; return isinf(f)
15744 return 0;
15746 _ACEOF
15747 if ac_fn_c_try_link "$LINENO"; then :
15748 ac_cv_have_isinf="yes"
15749 else
15750 ac_cv_have_isinf="no"
15752 rm -f core conftest.err conftest.$ac_objext \
15753 conftest$ac_exeext conftest.$ac_ext
15755 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_have_isinf" >&5
15756 $as_echo "$ac_cv_have_isinf" >&6; }
15757 if test "$ac_cv_have_isinf" = "yes"
15758 then
15760 $as_echo "#define HAVE_ISINF 1" >>confdefs.h
15764 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for isnan" >&5
15765 $as_echo_n "checking for isnan... " >&6; }
15766 if ${ac_cv_have_isnan+:} false; then :
15767 $as_echo_n "(cached) " >&6
15768 else
15769 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15770 /* end confdefs.h. */
15771 #include <math.h>
15773 main ()
15775 float f = 0.0; return isnan(f)
15777 return 0;
15779 _ACEOF
15780 if ac_fn_c_try_link "$LINENO"; then :
15781 ac_cv_have_isnan="yes"
15782 else
15783 ac_cv_have_isnan="no"
15785 rm -f core conftest.err conftest.$ac_objext \
15786 conftest$ac_exeext conftest.$ac_ext
15788 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_have_isnan" >&5
15789 $as_echo "$ac_cv_have_isnan" >&6; }
15790 if test "$ac_cv_have_isnan" = "yes"
15791 then
15793 $as_echo "#define HAVE_ISNAN 1" >>confdefs.h
15796 LIBS="$ac_save_LIBS"
15799 case $host_cpu in
15800 *i[3456789]86*) { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we need to define __i386__" >&5
15801 $as_echo_n "checking whether we need to define __i386__... " >&6; }
15802 if ${ac_cv_cpp_def___i386__+:} false; then :
15803 $as_echo_n "(cached) " >&6
15804 else
15805 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15806 /* end confdefs.h. */
15807 #ifndef __i386__
15809 #endif
15810 _ACEOF
15811 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
15812 $EGREP "yes" >/dev/null 2>&1; then :
15813 ac_cv_cpp_def___i386__=yes
15814 else
15815 ac_cv_cpp_def___i386__=no
15817 rm -f conftest*
15820 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cpp_def___i386__" >&5
15821 $as_echo "$ac_cv_cpp_def___i386__" >&6; }
15822 if test $ac_cv_cpp_def___i386__ = yes; then :
15823 CFLAGS="$CFLAGS -D__i386__"
15824 LINTFLAGS="$LINTFLAGS -D__i386__"
15825 fi ;;
15826 *x86_64*) { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we need to define __x86_64__" >&5
15827 $as_echo_n "checking whether we need to define __x86_64__... " >&6; }
15828 if ${ac_cv_cpp_def___x86_64__+:} false; then :
15829 $as_echo_n "(cached) " >&6
15830 else
15831 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15832 /* end confdefs.h. */
15833 #ifndef __x86_64__
15835 #endif
15836 _ACEOF
15837 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
15838 $EGREP "yes" >/dev/null 2>&1; then :
15839 ac_cv_cpp_def___x86_64__=yes
15840 else
15841 ac_cv_cpp_def___x86_64__=no
15843 rm -f conftest*
15846 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cpp_def___x86_64__" >&5
15847 $as_echo "$ac_cv_cpp_def___x86_64__" >&6; }
15848 if test $ac_cv_cpp_def___x86_64__ = yes; then :
15849 CFLAGS="$CFLAGS -D__x86_64__"
15850 LINTFLAGS="$LINTFLAGS -D__x86_64__"
15851 fi ;;
15852 *sparc64*) { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we need to define __sparc64__" >&5
15853 $as_echo_n "checking whether we need to define __sparc64__... " >&6; }
15854 if ${ac_cv_cpp_def___sparc64__+:} false; then :
15855 $as_echo_n "(cached) " >&6
15856 else
15857 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15858 /* end confdefs.h. */
15859 #ifndef __sparc64__
15861 #endif
15862 _ACEOF
15863 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
15864 $EGREP "yes" >/dev/null 2>&1; then :
15865 ac_cv_cpp_def___sparc64__=yes
15866 else
15867 ac_cv_cpp_def___sparc64__=no
15869 rm -f conftest*
15872 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cpp_def___sparc64__" >&5
15873 $as_echo "$ac_cv_cpp_def___sparc64__" >&6; }
15874 if test $ac_cv_cpp_def___sparc64__ = yes; then :
15875 CFLAGS="$CFLAGS -D__sparc64__"
15876 LINTFLAGS="$LINTFLAGS -D__sparc64__"
15877 fi ;;
15878 *sparc*) { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we need to define __sparc__" >&5
15879 $as_echo_n "checking whether we need to define __sparc__... " >&6; }
15880 if ${ac_cv_cpp_def___sparc__+:} false; then :
15881 $as_echo_n "(cached) " >&6
15882 else
15883 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15884 /* end confdefs.h. */
15885 #ifndef __sparc__
15887 #endif
15888 _ACEOF
15889 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
15890 $EGREP "yes" >/dev/null 2>&1; then :
15891 ac_cv_cpp_def___sparc__=yes
15892 else
15893 ac_cv_cpp_def___sparc__=no
15895 rm -f conftest*
15898 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cpp_def___sparc__" >&5
15899 $as_echo "$ac_cv_cpp_def___sparc__" >&6; }
15900 if test $ac_cv_cpp_def___sparc__ = yes; then :
15901 CFLAGS="$CFLAGS -D__sparc__"
15902 LINTFLAGS="$LINTFLAGS -D__sparc__"
15903 fi ;;
15904 *powerpc64*) { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we need to define __powerpc64__" >&5
15905 $as_echo_n "checking whether we need to define __powerpc64__... " >&6; }
15906 if ${ac_cv_cpp_def___powerpc64__+:} false; then :
15907 $as_echo_n "(cached) " >&6
15908 else
15909 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15910 /* end confdefs.h. */
15911 #ifndef __powerpc64__
15913 #endif
15914 _ACEOF
15915 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
15916 $EGREP "yes" >/dev/null 2>&1; then :
15917 ac_cv_cpp_def___powerpc64__=yes
15918 else
15919 ac_cv_cpp_def___powerpc64__=no
15921 rm -f conftest*
15924 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cpp_def___powerpc64__" >&5
15925 $as_echo "$ac_cv_cpp_def___powerpc64__" >&6; }
15926 if test $ac_cv_cpp_def___powerpc64__ = yes; then :
15927 CFLAGS="$CFLAGS -D__powerpc64__"
15928 LINTFLAGS="$LINTFLAGS -D__powerpc64__"
15929 fi ;;
15930 *powerpc*) { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we need to define __powerpc__" >&5
15931 $as_echo_n "checking whether we need to define __powerpc__... " >&6; }
15932 if ${ac_cv_cpp_def___powerpc__+:} false; then :
15933 $as_echo_n "(cached) " >&6
15934 else
15935 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15936 /* end confdefs.h. */
15937 #ifndef __powerpc__
15939 #endif
15940 _ACEOF
15941 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
15942 $EGREP "yes" >/dev/null 2>&1; then :
15943 ac_cv_cpp_def___powerpc__=yes
15944 else
15945 ac_cv_cpp_def___powerpc__=no
15947 rm -f conftest*
15950 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cpp_def___powerpc__" >&5
15951 $as_echo "$ac_cv_cpp_def___powerpc__" >&6; }
15952 if test $ac_cv_cpp_def___powerpc__ = yes; then :
15953 CFLAGS="$CFLAGS -D__powerpc__"
15954 LINTFLAGS="$LINTFLAGS -D__powerpc__"
15955 fi ;;
15956 *aarch64*) { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we need to define __aarch64__" >&5
15957 $as_echo_n "checking whether we need to define __aarch64__... " >&6; }
15958 if ${ac_cv_cpp_def___aarch64__+:} false; then :
15959 $as_echo_n "(cached) " >&6
15960 else
15961 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15962 /* end confdefs.h. */
15963 #ifndef __aarch64__
15965 #endif
15966 _ACEOF
15967 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
15968 $EGREP "yes" >/dev/null 2>&1; then :
15969 ac_cv_cpp_def___aarch64__=yes
15970 else
15971 ac_cv_cpp_def___aarch64__=no
15973 rm -f conftest*
15976 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cpp_def___aarch64__" >&5
15977 $as_echo "$ac_cv_cpp_def___aarch64__" >&6; }
15978 if test $ac_cv_cpp_def___aarch64__ = yes; then :
15979 CFLAGS="$CFLAGS -D__aarch64__"
15980 LINTFLAGS="$LINTFLAGS -D__aarch64__"
15981 fi ;;
15982 *arm*) { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we need to define __arm__" >&5
15983 $as_echo_n "checking whether we need to define __arm__... " >&6; }
15984 if ${ac_cv_cpp_def___arm__+:} false; then :
15985 $as_echo_n "(cached) " >&6
15986 else
15987 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15988 /* end confdefs.h. */
15989 #ifndef __arm__
15991 #endif
15992 _ACEOF
15993 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
15994 $EGREP "yes" >/dev/null 2>&1; then :
15995 ac_cv_cpp_def___arm__=yes
15996 else
15997 ac_cv_cpp_def___arm__=no
15999 rm -f conftest*
16002 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cpp_def___arm__" >&5
16003 $as_echo "$ac_cv_cpp_def___arm__" >&6; }
16004 if test $ac_cv_cpp_def___arm__ = yes; then :
16005 CFLAGS="$CFLAGS -D__arm__"
16006 LINTFLAGS="$LINTFLAGS -D__arm__"
16007 fi ;;
16008 esac
16010 case $host_vendor in
16011 *sun*) { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we need to define __sun__" >&5
16012 $as_echo_n "checking whether we need to define __sun__... " >&6; }
16013 if ${ac_cv_cpp_def___sun__+:} false; then :
16014 $as_echo_n "(cached) " >&6
16015 else
16016 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
16017 /* end confdefs.h. */
16018 #ifndef __sun__
16020 #endif
16021 _ACEOF
16022 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
16023 $EGREP "yes" >/dev/null 2>&1; then :
16024 ac_cv_cpp_def___sun__=yes
16025 else
16026 ac_cv_cpp_def___sun__=no
16028 rm -f conftest*
16031 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cpp_def___sun__" >&5
16032 $as_echo "$ac_cv_cpp_def___sun__" >&6; }
16033 if test $ac_cv_cpp_def___sun__ = yes; then :
16034 CFLAGS="$CFLAGS -D__sun__"
16035 LINTFLAGS="$LINTFLAGS -D__sun__"
16036 fi ;;
16037 esac
16043 ac_config_commands="$ac_config_commands include/stamp-h"
16045 $as_echo_n "creating Makefile rules..." >&6
16048 MAKE_IMPLIB_RULES="DLLFLAGS = $DLLFLAGS
16051 if test -n "$CROSSTARGET"
16052 then
16053 as_fn_append MAKE_IMPLIB_RULES "MAKEDEPFLAGS = -xo -xcross.o
16054 all: \$(STATICLIB:.a=.cross.a)
16059 if test -n "$DLLEXT"
16060 then
16061 deps="\$(MODULE)$DLLEXT \$(MODULE).fake"
16062 else
16063 deps="\$(MODULE)"
16066 MAKE_DLL_RULES="
16067 DLLFLAGS = $DLLFLAGS
16068 MAINSPEC = \$(MODULE:%.dll=%).spec
16069 IDL_TLB_RES = \$(IDL_TLB_SRCS:.idl=_t.res)
16070 MODULEFLAGS = -shared \$(srcdir)/\$(MAINSPEC) \$(EXTRADLLFLAGS)
16072 all: $deps
16076 MAKE_PROG_RULES="
16077 DLLFLAGS = $DLLFLAGS
16079 all: $deps
16084 MAKE_TEST_RULES="
16085 DLLFLAGS = $DLLFLAGS
16086 TESTMODULE = \$(TESTDLL:%.dll=%)_test.exe
16087 TESTMODULE_STRIPPED = \$(TESTDLL:%.dll=%)_test-stripped.exe$DLLEXT
16088 WINETEST_RES = \$(top_builddir)/programs/winetest/\$(TESTDLL:%.dll=%)_test.res
16089 RUNTESTFLAGS = -q -P wine -T \$(top_builddir) -M \$(TESTDLL) -p \$(TESTMODULE)$DLLEXT
16090 EXTRA_OBJS = testlist.o
16092 all: \$(TESTMODULE)$DLLEXT \$(WINETEST_RES)
16094 \$(C_SRCS:.c=.ok): \$(TESTMODULE)$DLLEXT \$(TESTDLL:%=../%$DLLEXT)
16096 check test: \$(C_SRCS:.c=.ok)
16098 .PHONY: check test crosstest
16101 if test -n "$CROSSTARGET"
16102 then
16103 as_fn_append MAKE_TEST_RULES "
16104 MAKEDEPFLAGS = -xo -xcross.o
16105 CROSSTESTMODULE = \$(TESTDLL:%.dll=%)_crosstest.exe
16107 crosstest: \$(CROSSTESTMODULE)
16112 wine_rules_file=conf$$rules.make
16113 rm -f $wine_rules_file
16114 ALL_POT_FILES=""
16115 ALL_TEST_RESOURCES=""
16118 wine_fn_append_file ()
16120 as_fn_append $1 " \\$as_nl $2"
16123 wine_fn_append_rule ()
16125 $as_echo "$1" >>$wine_rules_file
16128 wine_fn_has_flag ()
16130 expr ",$ac_flags," : ".*,$1,.*" >/dev/null
16133 wine_fn_depend_rules ()
16135 ac_alldeps=$1
16136 ac_makedep="\$(MAKEDEP)"
16137 ac_input=Make.vars.in:$ac_dir/Makefile.in
16138 case $1 in
16139 *.in) ac_input=$ac_input:$1 ;;
16140 *) ac_makedep="$1 $ac_makedep" ;;
16141 esac
16143 wine_fn_append_rule \
16144 "$ac_dir/Makefile: $ac_dir/Makefile.in Make.vars.in config.status $ac_alldeps \$(MAKEDEP)
16145 @./config.status --file $ac_dir/Makefile:$ac_input && cd $ac_dir && \$(MAKE) depend
16146 depend: $ac_dir/depend
16147 .PHONY: $ac_dir/depend
16148 $ac_dir/depend: $ac_makedep dummy
16149 @./config.status --file $ac_dir/Makefile:$ac_input && cd $ac_dir && \$(MAKE) depend"
16152 wine_fn_pot_rules ()
16154 test "x$with_gettextpo" = xyes || return
16156 if wine_fn_has_flag mc
16157 then
16158 wine_fn_append_file ALL_POT_FILES $ac_dir/msg.pot
16159 wine_fn_append_rule \
16160 "$ac_dir/msg.pot: $ac_dir/Makefile dummy
16161 @cd $ac_dir && \$(MAKE) msg.pot
16162 $ac_dir/msg.pot: tools/wmc include"
16164 if wine_fn_has_flag po
16165 then
16166 wine_fn_append_file ALL_POT_FILES $ac_dir/rsrc.pot
16167 wine_fn_append_rule \
16168 "$ac_dir/rsrc.pot: $ac_dir/Makefile dummy
16169 @cd $ac_dir && \$(MAKE) rsrc.pot
16170 $ac_dir/rsrc.pot: tools/wrc include"
16174 wine_fn_all_rules ()
16176 ac_rules=$1
16178 wine_fn_depend_rules ${ac_rules:-Make.rules}
16179 wine_fn_append_rule \
16180 "all: $ac_dir
16181 .PHONY: $ac_dir
16182 $ac_dir: $ac_dir/Makefile dummy
16183 @cd $ac_dir && \$(MAKE)"
16186 wine_fn_install_rules ()
16188 wine_fn_has_flag install-lib || wine_fn_has_flag install-dev || return
16190 wine_fn_append_rule \
16191 ".PHONY: $ac_dir/install $ac_dir/uninstall
16192 $ac_dir/install:: $ac_dir
16193 @cd $ac_dir && \$(MAKE) install
16194 $ac_dir/uninstall:: $ac_dir/Makefile
16195 @cd $ac_dir && \$(MAKE) uninstall
16196 install:: $ac_dir/install
16197 __uninstall__: $ac_dir/uninstall"
16199 if wine_fn_has_flag install-lib
16200 then
16201 wine_fn_append_rule \
16202 ".PHONY: $ac_dir/install-lib
16203 $ac_dir/install-lib:: $ac_dir
16204 @cd $ac_dir && \$(MAKE) install-lib
16205 install-lib:: $ac_dir/install-lib"
16208 if wine_fn_has_flag install-dev
16209 then
16210 wine_fn_append_rule \
16211 ".PHONY: $ac_dir/install-dev
16212 $ac_dir/install-dev:: $ac_dir
16213 @cd $ac_dir && \$(MAKE) install-dev
16214 install-dev:: $ac_dir/install-dev"
16218 wine_fn_clean_rules ()
16220 ac_clean=$@
16222 if wine_fn_has_flag clean
16223 then
16224 wine_fn_append_rule \
16225 "__clean__: $ac_dir/clean
16226 .PHONY: $ac_dir/clean
16227 $ac_dir/clean: $ac_dir/Makefile
16228 @cd $ac_dir && \$(MAKE) clean
16229 \$(RM) $ac_dir/Makefile"
16230 else
16231 wine_fn_append_rule \
16232 "clean::
16233 \$(RM) \$(CLEAN_FILES:%=$ac_dir/%) $ac_clean $ac_dir/Makefile"
16237 wine_fn_disabled_rules ()
16239 ac_clean=$@
16241 wine_fn_append_rule \
16242 "clean::
16243 \$(RM) \$(CLEAN_FILES:%=$ac_dir/%) $ac_clean $ac_dir/Makefile"
16246 wine_fn_config_makefile ()
16248 ac_dir=$1
16249 ac_enable=$2
16250 ac_flags=$3
16252 if eval test \"x\$"$ac_enable"\" = x"no"; then :
16253 wine_fn_disabled_rules; return
16255 wine_fn_all_rules
16256 wine_fn_install_rules
16257 wine_fn_clean_rules
16260 wine_fn_config_lib ()
16262 ac_name=$1
16263 ac_flags=$2
16264 ac_dir=dlls/$ac_name
16266 wine_fn_all_rules Make.rules.in
16267 wine_fn_clean_rules
16269 wine_fn_append_rule \
16270 ".PHONY: $ac_dir/install $ac_dir/uninstall
16271 $ac_dir/install:: $ac_dir \$(DESTDIR)\$(dlldir)
16272 \$(INSTALL_DATA) $ac_dir/lib$ac_name.a \$(DESTDIR)\$(dlldir)/lib$ac_name.a
16273 $ac_dir/uninstall::
16274 \$(RM) \$(DESTDIR)\$(dlldir)/lib$ac_name.a
16275 install install-dev:: $ac_dir/install
16276 __uninstall__: $ac_dir/uninstall
16277 __builddeps__: $ac_dir
16278 $ac_dir: tools/widl tools/winebuild tools/winegcc include"
16281 wine_fn_config_dll ()
16283 ac_name=$1
16284 ac_dir=dlls/$ac_name
16285 ac_enable=$2
16286 ac_flags=$3
16287 ac_implib=${4:-$ac_name}
16288 ac_file=$ac_dir/lib$ac_implib
16289 ac_dll=$ac_name
16290 ac_deps="tools/widl tools/winebuild tools/winegcc include"
16291 ac_implibflags=""
16293 case $ac_name in
16294 *16) ac_implibflags=" -m16" ;;
16295 *.*) ;;
16296 *) ac_dll=$ac_dll.dll ;;
16297 esac
16299 ac_clean=
16300 wine_fn_has_flag implib && ac_clean="$ac_clean $ac_file.$IMPLIBEXT"
16301 wine_fn_has_flag mc && ac_clean="$ac_clean $ac_dir/msg.pot"
16302 wine_fn_has_flag po && ac_clean="$ac_clean $ac_dir/rsrc.pot"
16304 if eval test \"x\$"$ac_enable"\" = x"no"; then :
16305 if wine_fn_has_flag implib && test "$ac_enable" != enable_win16
16306 then
16307 wine_fn_depend_rules Make.rules.in
16308 wine_fn_clean_rules $ac_clean
16309 else
16310 wine_fn_disabled_rules $ac_clean
16311 return
16313 else
16314 wine_fn_all_rules Make.rules.in
16315 wine_fn_clean_rules $ac_clean
16316 wine_fn_append_rule \
16317 "$ac_dir: __builddeps__
16318 manpages htmlpages sgmlpages xmlpages:: $ac_dir/Makefile
16319 @cd $ac_dir && \$(MAKE) \$@
16320 .PHONY: $ac_dir/install-lib $ac_dir/uninstall
16321 install install-lib:: $ac_dir/install-lib
16322 __uninstall__: $ac_dir/uninstall"
16323 if test -n "$DLLEXT"
16324 then
16325 wine_fn_append_rule \
16326 "$ac_dir/install-lib:: $ac_dir \$(DESTDIR)\$(dlldir) \$(DESTDIR)\$(fakedlldir)
16327 \$(INSTALL_PROGRAM) $ac_dir/$ac_dll$DLLEXT \$(DESTDIR)\$(dlldir)/$DLLPREFIX$ac_dll$DLLEXT
16328 \$(INSTALL_DATA) $ac_dir/$ac_dll.fake \$(DESTDIR)\$(fakedlldir)/$ac_dll
16329 $ac_dir/uninstall::
16330 \$(RM) \$(DESTDIR)\$(dlldir)/$DLLPREFIX$ac_dll$DLLEXT \$(DESTDIR)\$(fakedlldir)/$ac_dll"
16331 else
16332 wine_fn_append_rule \
16333 "$ac_dir/install-lib:: $ac_dir \$(DESTDIR)\$(dlldir)
16334 \$(INSTALL_PROGRAM) $ac_dir/$ac_dll \$(DESTDIR)\$(dlldir)/$ac_dll
16335 $ac_dir/uninstall::
16336 \$(RM) \$(DESTDIR)\$(dlldir)/$ac_dll"
16339 wine_fn_pot_rules
16342 if wine_fn_has_flag staticimplib
16343 then
16344 wine_fn_append_rule \
16345 "__builddeps__: $ac_file.$IMPLIBEXT $ac_file.$STATIC_IMPLIBEXT
16346 $ac_file.$IMPLIBEXT $ac_file.$STATIC_IMPLIBEXT $ac_file.cross.a: $ac_deps
16347 $ac_file.def: $ac_dir/$ac_name.spec $ac_dir/Makefile \$(WINEBUILD)
16348 \$(WINEBUILD) \$(TARGETFLAGS)$ac_implibflags -w --def -o \$@ --export $srcdir/$ac_dir/$ac_name.spec
16349 $ac_file.$STATIC_IMPLIBEXT: $ac_dir/Makefile dummy
16350 @cd $ac_dir && \$(MAKE) lib$ac_implib.$STATIC_IMPLIBEXT
16351 .PHONY: $ac_dir/install-dev $ac_dir/uninstall
16352 $ac_dir/install-dev:: $ac_file.$IMPLIBEXT \$(DESTDIR)\$(dlldir)
16353 \$(INSTALL_DATA) $ac_file.$IMPLIBEXT \$(DESTDIR)\$(dlldir)/lib$ac_implib.$IMPLIBEXT
16354 $ac_dir/uninstall::
16355 \$(RM) \$(DESTDIR)\$(dlldir)/lib$ac_implib.$IMPLIBEXT
16356 install install-dev:: $ac_dir/install-dev
16357 __uninstall__: $ac_dir/uninstall"
16359 if test "$IMPLIBEXT" != "$STATIC_IMPLIBEXT"
16360 then
16361 wine_fn_append_rule \
16362 "$ac_dir/install-dev:: $ac_file.$STATIC_IMPLIBEXT \$(DESTDIR)\$(dlldir) __builddeps__
16363 \$(INSTALL_DATA) $ac_file.$STATIC_IMPLIBEXT \$(DESTDIR)\$(dlldir)/lib$ac_implib.$STATIC_IMPLIBEXT
16364 $ac_dir/uninstall::
16365 \$(RM) \$(DESTDIR)\$(dlldir)/lib$ac_implib.$STATIC_IMPLIBEXT"
16368 if test -n "$CROSSTARGET"
16369 then
16370 wine_fn_append_rule \
16371 "__builddeps__: $ac_file.cross.a
16372 $ac_file.cross.a: $ac_dir/Makefile dummy
16373 @cd $ac_dir && \$(MAKE) lib$ac_implib.cross.a"
16376 elif wine_fn_has_flag implib
16377 then
16378 wine_fn_append_rule \
16379 "__builddeps__: $ac_file.$IMPLIBEXT
16380 $ac_file.def: $ac_dir/$ac_name.spec $ac_dir/Makefile \$(WINEBUILD)
16381 \$(WINEBUILD) \$(TARGETFLAGS)$ac_implibflags -w --def -o \$@ --export $srcdir/$ac_dir/$ac_name.spec
16382 $ac_file.a: $ac_dir/$ac_name.spec $ac_dir/Makefile \$(WINEBUILD)
16383 \$(WINEBUILD) \$(TARGETFLAGS)$ac_implibflags -w --implib -o \$@ --export $srcdir/$ac_dir/$ac_name.spec
16384 .PHONY: $ac_dir/install-dev $ac_dir/uninstall
16385 $ac_dir/install-dev:: $ac_file.$IMPLIBEXT \$(DESTDIR)\$(dlldir)
16386 \$(INSTALL_DATA) $ac_file.$IMPLIBEXT \$(DESTDIR)\$(dlldir)/lib$ac_implib.$IMPLIBEXT
16387 $ac_dir/uninstall::
16388 \$(RM) \$(DESTDIR)\$(dlldir)/lib$ac_implib.$IMPLIBEXT
16389 install install-dev:: $ac_dir/install-dev
16390 __uninstall__: $ac_dir/uninstall"
16391 if test -n "$CROSSTARGET"
16392 then
16393 wine_fn_append_rule \
16394 "__builddeps__: $ac_file.cross.a
16395 $ac_file.cross.a: $ac_dir/$ac_name.spec $ac_dir/Makefile \$(WINEBUILD)
16396 \$(WINEBUILD) \$(CROSSTARGET:%=-b %)$ac_implibflags -w --implib -o \$@ --export $srcdir/$ac_dir/$ac_name.spec"
16399 if test "$ac_name" != "$ac_implib"
16400 then
16401 wine_fn_append_rule \
16402 "__builddeps__: dlls/lib$ac_implib.$IMPLIBEXT
16403 dlls/lib$ac_implib.$IMPLIBEXT: $ac_file.$IMPLIBEXT
16404 \$(RM) \$@ && \$(LN_S) $ac_name/lib$ac_implib.$IMPLIBEXT \$@
16405 clean::
16406 \$(RM) dlls/lib$ac_implib.$IMPLIBEXT"
16407 if test -n "$CROSSTARGET"
16408 then
16409 wine_fn_append_rule \
16410 "__builddeps__: dlls/lib$ac_implib.cross.a
16411 dlls/lib$ac_implib.cross.a: $ac_file.cross.a
16412 \$(RM) \$@ && \$(LN_S) $ac_name/lib$ac_implib.cross.a \$@"
16418 wine_fn_config_program ()
16420 ac_name=$1
16421 ac_dir=programs/$ac_name
16422 ac_enable=$2
16423 ac_flags=$3
16424 ac_program=$ac_name
16426 case $ac_name in
16427 *.*) ;;
16428 *) ac_program=$ac_program.exe ;;
16429 esac
16431 ac_clean=
16432 wine_fn_has_flag mc && ac_clean="$ac_clean $ac_dir/msg.pot"
16433 wine_fn_has_flag po && ac_clean="$ac_clean $ac_dir/rsrc.pot"
16434 wine_fn_has_flag manpage && ac_clean="$ac_clean $ac_dir/$ac_name.man"
16435 test -n "$DLLEXT" || ac_clean="$ac_clean $ac_dir/$ac_program"
16437 if eval test \"x\$"$ac_enable"\" = x"no"; then :
16438 wine_fn_disabled_rules $ac_clean; return
16441 wine_fn_all_rules Make.rules.in
16442 wine_fn_clean_rules $ac_clean
16443 wine_fn_append_rule "$ac_dir: __builddeps__"
16444 wine_fn_pot_rules
16446 wine_fn_has_flag install || return
16447 wine_fn_append_rule \
16448 ".PHONY: $ac_dir/install $ac_dir/uninstall
16449 install install-lib:: $ac_dir/install
16450 __uninstall__: $ac_dir/uninstall"
16452 if test -n "$DLLEXT"
16453 then
16454 wine_fn_append_rule \
16455 "$ac_dir/install:: $ac_dir \$(DESTDIR)\$(dlldir) \$(DESTDIR)\$(fakedlldir)
16456 \$(INSTALL_PROGRAM) $ac_dir/$ac_program$DLLEXT \$(DESTDIR)\$(dlldir)/$DLLPREFIX$ac_program$DLLEXT
16457 \$(INSTALL_DATA) $ac_dir/$ac_program.fake \$(DESTDIR)\$(fakedlldir)/$ac_program
16458 $ac_dir/uninstall::
16459 \$(RM) \$(DESTDIR)\$(dlldir)/$DLLPREFIX$ac_program$DLLEXT \$(DESTDIR)\$(fakedlldir)/$ac_program"
16461 if test -z "$with_wine64" && wine_fn_has_flag installbin
16462 then
16463 wine_fn_append_rule \
16464 "$ac_dir/install:: __tooldeps__ \$(DESTDIR)\$(bindir)
16465 \$(INSTALL_SCRIPT) \$(TOOLSDIR)/tools/wineapploader \$(DESTDIR)\$(bindir)/$ac_name
16466 $ac_dir/uninstall::
16467 \$(RM) \$(DESTDIR)\$(bindir)/$ac_name"
16469 else
16470 wine_fn_append_rule \
16471 "$ac_dir/install:: $ac_dir \$(DESTDIR)\$(bindir)
16472 \$(INSTALL_PROGRAM) $ac_dir/$ac_program \$(DESTDIR)\$(bindir)/$ac_program
16473 $ac_dir/uninstall::
16474 \$(RM) \$(DESTDIR)\$(bindir)/$ac_program"
16477 if test -z "$with_wine64" && wine_fn_has_flag manpage
16478 then
16479 wine_fn_append_rule \
16480 "$ac_dir/install:: $ac_dir \$(DESTDIR)\$(mandir)/man\$(prog_manext)
16481 \$(INSTALL_DATA) $ac_dir/$ac_name.man \$(DESTDIR)\$(mandir)/man\$(prog_manext)/$ac_name.\$(prog_manext)
16482 $ac_dir/uninstall::
16483 \$(RM) \$(DESTDIR)\$(mandir)/man\$(prog_manext)/$ac_name.\$(prog_manext)"
16487 wine_fn_config_test ()
16489 ac_dir=$1
16490 ac_name=$2
16491 ac_flags=$3
16493 ac_clean=
16494 test -n "$CROSSTARGET" && ac_clean=`expr $ac_dir/${ac_name} : "\\(.*\\)_test"`_crosstest.exe
16495 test -n "$DLLEXT" || ac_clean=$ac_dir/${ac_name}.exe
16496 ac_clean="$ac_clean $ac_dir/testlist.c"
16498 if test "x$enable_tests" = xno; then :
16499 wine_fn_disabled_rules $ac_clean; return
16502 wine_fn_append_file ALL_TEST_RESOURCES $ac_name.res
16503 wine_fn_all_rules Make.rules.in
16504 wine_fn_clean_rules $ac_clean
16506 wine_fn_append_rule \
16507 "$ac_dir: programs/winetest/Makefile __builddeps__
16508 programs/winetest: $ac_dir
16509 check test: $ac_dir/test
16510 .PHONY: $ac_dir/test
16511 $ac_dir/test: dummy
16512 @cd $ac_dir && \$(MAKE) test
16513 testclean::
16514 \$(RM) $ac_dir/*.ok"
16516 if test -n "$CROSSTARGET"
16517 then
16518 wine_fn_append_rule \
16519 "crosstest: $ac_dir/crosstest
16520 .PHONY: $ac_dir/crosstest
16521 $ac_dir/crosstest: $ac_dir/Makefile __builddeps__ dummy
16522 @cd $ac_dir && \$(MAKE) crosstest"
16526 wine_fn_config_tool ()
16528 ac_dir=$1
16529 ac_flags=$2
16530 if test "x$enable_tools" = xno; then :
16531 return
16534 wine_fn_all_rules
16535 wine_fn_install_rules
16536 wine_fn_clean_rules
16538 wine_fn_append_rule "__tooldeps__: $ac_dir"
16539 wine_fn_append_rule "$ac_dir: libs/port"
16540 case $ac_dir in
16541 tools/winebuild) wine_fn_append_rule "\$(WINEBUILD): $ac_dir" ;;
16542 esac
16545 wine_fn_config_makerules ()
16547 ac_rules=$1
16548 ac_deps=$2
16549 wine_fn_append_rule \
16550 "$ac_rules: $ac_rules.in $ac_deps config.status
16551 @./config.status $ac_rules
16552 distclean::
16553 \$(RM) $ac_rules"
16556 wine_fn_config_symlink ()
16558 ac_linkdir=
16559 if test "x$1" = "x-d"
16560 then
16561 ac_linkdir=$2
16562 shift; shift
16564 ac_links=$@
16565 wine_fn_append_rule \
16566 "$ac_links:
16567 @./config.status \$@
16568 distclean::
16569 \$(RM) $ac_links"
16570 test -n "$ac_linkdir" || return
16571 wine_fn_append_rule "$ac_linkdir/Makefile $ac_linkdir/depend: $ac_links"
16574 if test -z "$CROSSTARGET"
16575 then
16576 wine_fn_append_rule \
16577 "crosstest:
16578 @echo \"crosstest is not supported (mingw not installed?)\" && false"
16580 wine_fn_append_rule "
16581 # Rules automatically generated by configure
16583 .INIT: Makefile
16584 .MAKEFILEDEPS:
16585 all: Makefile
16586 Makefile: Makefile.in Make.vars.in Make.rules config.status
16587 @./config.status Make.tmp Makefile"
16589 ac_config_links="$ac_config_links dlls/shell32/AUTHORS:AUTHORS"
16590 wine_fn_config_symlink -d dlls/shell32 dlls/shell32/AUTHORS
16591 if test "x$enable_fonts" != xno; then
16592 ac_config_links="$ac_config_links fonts/marlett.ttf:fonts/marlett.ttf"
16593 ac_config_links="$ac_config_links fonts/symbol.ttf:fonts/symbol.ttf"
16594 ac_config_links="$ac_config_links fonts/tahoma.ttf:fonts/tahoma.ttf"
16595 ac_config_links="$ac_config_links fonts/tahomabd.ttf:fonts/tahomabd.ttf"
16596 test "$srcdir" = "." || wine_fn_config_symlink fonts/marlett.ttf fonts/symbol.ttf fonts/tahoma.ttf fonts/tahomabd.ttf
16598 ac_config_links="$ac_config_links loader/l_intl.nls:loader/l_intl.nls"
16599 test "$srcdir" = "." || wine_fn_config_symlink loader/l_intl.nls
16600 ac_config_links="$ac_config_links po/LINGUAS:po/LINGUAS"
16601 test "$srcdir" = "." || wine_fn_config_symlink po/LINGUAS
16602 ac_config_links="$ac_config_links wine:tools/winewrapper"
16603 wine_fn_config_symlink wine
16604 if test "x$enable_win64" != xno; then
16605 ac_config_links="$ac_config_links wine64:tools/winewrapper"
16606 wine_fn_config_symlink wine64
16609 ac_config_commands="$ac_config_commands dlls/gdi32/dibdrv"
16610 wine_fn_append_rule \
16611 "clean::
16612 \$(RM) \$(CLEAN_FILES:%=dlls/gdi32/dibdrv/%)"
16613 ac_config_commands="$ac_config_commands dlls/gdi32/enhmfdrv"
16614 wine_fn_append_rule \
16615 "clean::
16616 \$(RM) \$(CLEAN_FILES:%=dlls/gdi32/enhmfdrv/%)"
16617 ac_config_commands="$ac_config_commands dlls/gdi32/mfdrv"
16618 wine_fn_append_rule \
16619 "clean::
16620 \$(RM) \$(CLEAN_FILES:%=dlls/gdi32/mfdrv/%)"
16621 ac_config_commands="$ac_config_commands dlls/kernel32/nls"
16622 wine_fn_append_rule \
16623 "clean::
16624 \$(RM) \$(CLEAN_FILES:%=dlls/kernel32/nls/%)"
16625 ac_config_commands="$ac_config_commands dlls/user32/resources"
16626 wine_fn_append_rule \
16627 "clean::
16628 \$(RM) \$(CLEAN_FILES:%=dlls/user32/resources/%)"
16629 ac_config_commands="$ac_config_commands dlls/wineps.drv/data"
16630 wine_fn_append_rule \
16631 "clean::
16632 \$(RM) \$(CLEAN_FILES:%=dlls/wineps.drv/data/%)"
16633 ac_config_commands="$ac_config_commands include/wine"
16634 wine_fn_append_rule \
16635 "clean::
16636 \$(RM) \$(CLEAN_FILES:%=include/wine/%)"
16638 wine_fn_config_makerules Make.rules
16639 MAKE_RULES=Make.rules
16640 ac_config_files="$ac_config_files Make.rules"
16643 wine_fn_config_dll acledit enable_acledit
16644 wine_fn_config_dll aclui enable_aclui implib
16645 wine_fn_config_dll activeds enable_activeds implib
16646 wine_fn_config_dll actxprxy enable_actxprxy clean
16647 wine_fn_config_lib adsiid
16648 wine_fn_config_dll advapi32 enable_advapi32 clean,implib
16649 wine_fn_config_test dlls/advapi32/tests advapi32_test
16650 wine_fn_config_dll advpack enable_advpack implib
16651 wine_fn_config_test dlls/advpack/tests advpack_test
16652 wine_fn_config_dll amstream enable_amstream clean
16653 wine_fn_config_test dlls/amstream/tests amstream_test
16654 wine_fn_config_dll api-ms-win-core-localregistry-l1-1-0 enable_api_ms_win_core_localregistry_l1_1_0
16655 wine_fn_config_dll api-ms-win-core-processthreads-l1-1-0 enable_api_ms_win_core_processthreads_l1_1_0
16656 wine_fn_config_dll api-ms-win-core-winrt-error-l1-1-0 enable_api_ms_win_core_winrt_error_l1_1_0
16657 wine_fn_config_dll api-ms-win-core-winrt-string-l1-1-0 enable_api_ms_win_core_winrt_string_l1_1_0
16658 wine_fn_config_dll api-ms-win-downlevel-advapi32-l1-1-0 enable_api_ms_win_downlevel_advapi32_l1_1_0
16659 wine_fn_config_dll api-ms-win-downlevel-advapi32-l2-1-0 enable_api_ms_win_downlevel_advapi32_l2_1_0
16660 wine_fn_config_dll api-ms-win-downlevel-normaliz-l1-1-0 enable_api_ms_win_downlevel_normaliz_l1_1_0
16661 wine_fn_config_dll api-ms-win-downlevel-ole32-l1-1-0 enable_api_ms_win_downlevel_ole32_l1_1_0
16662 wine_fn_config_dll api-ms-win-downlevel-shell32-l1-1-0 enable_api_ms_win_downlevel_shell32_l1_1_0
16663 wine_fn_config_dll api-ms-win-downlevel-shlwapi-l1-1-0 enable_api_ms_win_downlevel_shlwapi_l1_1_0
16664 wine_fn_config_dll api-ms-win-downlevel-shlwapi-l2-1-0 enable_api_ms_win_downlevel_shlwapi_l2_1_0
16665 wine_fn_config_dll api-ms-win-downlevel-user32-l1-1-0 enable_api_ms_win_downlevel_user32_l1_1_0
16666 wine_fn_config_dll api-ms-win-downlevel-version-l1-1-0 enable_api_ms_win_downlevel_version_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 apphelp enable_apphelp
16669 wine_fn_config_test dlls/apphelp/tests apphelp_test
16670 wine_fn_config_dll appwiz.cpl enable_appwiz_cpl po
16671 wine_fn_config_dll atl enable_atl clean,implib
16672 wine_fn_config_test dlls/atl/tests atl_test
16673 wine_fn_config_dll atl100 enable_atl100 implib
16674 wine_fn_config_test dlls/atl100/tests atl100_test
16675 wine_fn_config_dll atl110 enable_atl110
16676 wine_fn_config_dll atl80 enable_atl80 implib
16677 wine_fn_config_test dlls/atl80/tests atl80_test
16678 wine_fn_config_dll atl90 enable_atl90
16679 wine_fn_config_dll authz enable_authz
16680 wine_fn_config_dll avicap32 enable_avicap32 implib
16681 wine_fn_config_dll avifil32 enable_avifil32 clean,implib,po
16682 wine_fn_config_test dlls/avifil32/tests avifil32_test
16683 wine_fn_config_dll avifile.dll16 enable_win16
16684 wine_fn_config_dll avrt enable_avrt implib
16685 wine_fn_config_dll bcrypt enable_bcrypt
16686 wine_fn_config_dll browseui enable_browseui clean,po
16687 wine_fn_config_test dlls/browseui/tests browseui_test
16688 wine_fn_config_dll cabinet enable_cabinet implib
16689 wine_fn_config_test dlls/cabinet/tests cabinet_test
16690 wine_fn_config_dll capi2032 enable_capi2032 implib
16691 wine_fn_config_dll cards enable_cards implib
16692 wine_fn_config_dll cfgmgr32 enable_cfgmgr32 implib
16693 wine_fn_config_dll clusapi enable_clusapi implib
16694 wine_fn_config_dll comcat enable_comcat
16695 wine_fn_config_test dlls/comcat/tests comcat_test
16696 wine_fn_config_dll comctl32 enable_comctl32 implib,po
16697 wine_fn_config_test dlls/comctl32/tests comctl32_test
16698 wine_fn_config_dll comdlg32 enable_comdlg32 clean,implib,po
16699 wine_fn_config_test dlls/comdlg32/tests comdlg32_test
16700 wine_fn_config_dll comm.drv16 enable_win16
16701 wine_fn_config_dll commdlg.dll16 enable_win16
16702 wine_fn_config_dll compobj.dll16 enable_win16
16703 wine_fn_config_dll compstui enable_compstui implib
16704 wine_fn_config_dll comsvcs enable_comsvcs implib
16705 wine_fn_config_dll credui enable_credui implib,po
16706 wine_fn_config_test dlls/credui/tests credui_test
16707 wine_fn_config_dll crtdll enable_crtdll implib
16708 wine_fn_config_dll crypt32 enable_crypt32 implib,po
16709 wine_fn_config_test dlls/crypt32/tests crypt32_test
16710 wine_fn_config_dll cryptdlg enable_cryptdlg po
16711 wine_fn_config_dll cryptdll enable_cryptdll implib
16712 wine_fn_config_dll cryptnet enable_cryptnet implib
16713 wine_fn_config_test dlls/cryptnet/tests cryptnet_test
16714 wine_fn_config_dll cryptui enable_cryptui implib,po
16715 wine_fn_config_test dlls/cryptui/tests cryptui_test
16716 wine_fn_config_dll ctapi32 enable_ctapi32
16717 wine_fn_config_dll ctl3d.dll16 enable_win16
16718 wine_fn_config_dll ctl3d32 enable_ctl3d32 implib
16719 wine_fn_config_dll ctl3dv2.dll16 enable_win16
16720 wine_fn_config_dll d3d10 enable_d3d10 implib
16721 wine_fn_config_test dlls/d3d10/tests d3d10_test
16722 wine_fn_config_dll d3d10core enable_d3d10core implib
16723 wine_fn_config_test dlls/d3d10core/tests d3d10core_test
16724 wine_fn_config_dll d3d11 enable_d3d11
16725 wine_fn_config_dll d3d8 enable_d3d8 implib
16726 wine_fn_config_test dlls/d3d8/tests d3d8_test
16727 wine_fn_config_dll d3d9 enable_d3d9 implib
16728 wine_fn_config_test dlls/d3d9/tests d3d9_test
16729 wine_fn_config_dll d3dcompiler_33 enable_d3dcompiler_33
16730 wine_fn_config_dll d3dcompiler_34 enable_d3dcompiler_34
16731 wine_fn_config_dll d3dcompiler_35 enable_d3dcompiler_35
16732 wine_fn_config_dll d3dcompiler_36 enable_d3dcompiler_36
16733 wine_fn_config_dll d3dcompiler_37 enable_d3dcompiler_37
16734 wine_fn_config_dll d3dcompiler_38 enable_d3dcompiler_38
16735 wine_fn_config_dll d3dcompiler_39 enable_d3dcompiler_39
16736 wine_fn_config_dll d3dcompiler_40 enable_d3dcompiler_40
16737 wine_fn_config_dll d3dcompiler_41 enable_d3dcompiler_41
16738 wine_fn_config_dll d3dcompiler_42 enable_d3dcompiler_42
16739 wine_fn_config_dll d3dcompiler_43 enable_d3dcompiler_43 implib d3dcompiler
16740 wine_fn_config_test dlls/d3dcompiler_43/tests d3dcompiler_43_test
16741 wine_fn_config_dll d3dim enable_d3dim implib
16742 wine_fn_config_dll d3drm enable_d3drm implib
16743 wine_fn_config_test dlls/d3drm/tests d3drm_test
16744 wine_fn_config_dll d3dx10_33 enable_d3dx10_33
16745 wine_fn_config_dll d3dx10_34 enable_d3dx10_34
16746 wine_fn_config_dll d3dx10_35 enable_d3dx10_35
16747 wine_fn_config_dll d3dx10_36 enable_d3dx10_36
16748 wine_fn_config_dll d3dx10_37 enable_d3dx10_37
16749 wine_fn_config_dll d3dx10_38 enable_d3dx10_38
16750 wine_fn_config_dll d3dx10_39 enable_d3dx10_39
16751 wine_fn_config_dll d3dx10_40 enable_d3dx10_40
16752 wine_fn_config_dll d3dx10_41 enable_d3dx10_41
16753 wine_fn_config_dll d3dx10_42 enable_d3dx10_42
16754 wine_fn_config_dll d3dx10_43 enable_d3dx10_43
16755 wine_fn_config_dll d3dx11_42 enable_d3dx11_42
16756 wine_fn_config_dll d3dx11_43 enable_d3dx11_43
16757 wine_fn_config_dll d3dx9_24 enable_d3dx9_24
16758 wine_fn_config_dll d3dx9_25 enable_d3dx9_25
16759 wine_fn_config_dll d3dx9_26 enable_d3dx9_26
16760 wine_fn_config_dll d3dx9_27 enable_d3dx9_27
16761 wine_fn_config_dll d3dx9_28 enable_d3dx9_28
16762 wine_fn_config_dll d3dx9_29 enable_d3dx9_29
16763 wine_fn_config_dll d3dx9_30 enable_d3dx9_30
16764 wine_fn_config_dll d3dx9_31 enable_d3dx9_31
16765 wine_fn_config_dll d3dx9_32 enable_d3dx9_32
16766 wine_fn_config_dll d3dx9_33 enable_d3dx9_33
16767 wine_fn_config_dll d3dx9_34 enable_d3dx9_34
16768 wine_fn_config_dll d3dx9_35 enable_d3dx9_35
16769 wine_fn_config_dll d3dx9_36 enable_d3dx9_36 implib d3dx9
16770 wine_fn_config_test dlls/d3dx9_36/tests d3dx9_36_test
16771 wine_fn_config_dll d3dx9_37 enable_d3dx9_37
16772 wine_fn_config_dll d3dx9_38 enable_d3dx9_38
16773 wine_fn_config_dll d3dx9_39 enable_d3dx9_39
16774 wine_fn_config_dll d3dx9_40 enable_d3dx9_40
16775 wine_fn_config_dll d3dx9_41 enable_d3dx9_41
16776 wine_fn_config_dll d3dx9_42 enable_d3dx9_42
16777 wine_fn_config_dll d3dx9_43 enable_d3dx9_43
16778 wine_fn_config_dll d3dxof enable_d3dxof clean,implib
16779 wine_fn_config_test dlls/d3dxof/tests d3dxof_test
16780 wine_fn_config_dll dbgeng enable_dbgeng implib
16781 wine_fn_config_dll dbghelp enable_dbghelp implib
16782 wine_fn_config_dll dciman32 enable_dciman32 implib
16783 wine_fn_config_dll ddeml.dll16 enable_win16
16784 wine_fn_config_dll ddraw enable_ddraw clean,implib
16785 wine_fn_config_test dlls/ddraw/tests ddraw_test
16786 wine_fn_config_dll ddrawex enable_ddrawex clean
16787 wine_fn_config_test dlls/ddrawex/tests ddrawex_test
16788 wine_fn_config_dll devenum enable_devenum clean,po
16789 wine_fn_config_test dlls/devenum/tests devenum_test
16790 wine_fn_config_dll dhcpcsvc enable_dhcpcsvc
16791 wine_fn_config_dll difxapi enable_difxapi
16792 wine_fn_config_dll dinput enable_dinput clean,implib,po,staticimplib
16793 wine_fn_config_test dlls/dinput/tests dinput_test
16794 wine_fn_config_dll dinput8 enable_dinput8 clean,implib
16795 wine_fn_config_test dlls/dinput8/tests dinput8_test
16796 wine_fn_config_dll dispdib.dll16 enable_win16
16797 wine_fn_config_dll dispex enable_dispex clean
16798 wine_fn_config_test dlls/dispex/tests dispex_test
16799 wine_fn_config_dll display.drv16 enable_win16
16800 wine_fn_config_dll dmband enable_dmband clean
16801 wine_fn_config_test dlls/dmband/tests dmband_test
16802 wine_fn_config_dll dmcompos enable_dmcompos clean
16803 wine_fn_config_dll dmime enable_dmime clean
16804 wine_fn_config_test dlls/dmime/tests dmime_test
16805 wine_fn_config_dll dmloader enable_dmloader clean
16806 wine_fn_config_test dlls/dmloader/tests dmloader_test
16807 wine_fn_config_dll dmscript enable_dmscript clean
16808 wine_fn_config_dll dmstyle enable_dmstyle clean
16809 wine_fn_config_dll dmsynth enable_dmsynth clean
16810 wine_fn_config_test dlls/dmsynth/tests dmsynth_test
16811 wine_fn_config_dll dmusic enable_dmusic clean
16812 wine_fn_config_test dlls/dmusic/tests dmusic_test
16813 wine_fn_config_dll dmusic32 enable_dmusic32 implib
16814 wine_fn_config_dll dnsapi enable_dnsapi implib
16815 wine_fn_config_test dlls/dnsapi/tests dnsapi_test
16816 wine_fn_config_dll dplay enable_dplay implib
16817 wine_fn_config_dll dplayx enable_dplayx clean,implib
16818 wine_fn_config_test dlls/dplayx/tests dplayx_test
16819 wine_fn_config_dll dpnaddr enable_dpnaddr
16820 wine_fn_config_dll dpnet enable_dpnet clean,implib
16821 wine_fn_config_test dlls/dpnet/tests dpnet_test
16822 wine_fn_config_dll dpnhpast enable_dpnhpast
16823 wine_fn_config_dll dpnlobby enable_dpnlobby
16824 wine_fn_config_dll dpwsockx enable_dpwsockx
16825 wine_fn_config_dll drmclien enable_drmclien
16826 wine_fn_config_dll dsound enable_dsound clean,implib
16827 wine_fn_config_test dlls/dsound/tests dsound_test
16828 wine_fn_config_dll dssenh enable_dssenh
16829 wine_fn_config_test dlls/dssenh/tests dssenh_test
16830 wine_fn_config_dll dswave enable_dswave clean
16831 wine_fn_config_dll dwmapi enable_dwmapi implib
16832 wine_fn_config_dll dwrite enable_dwrite implib
16833 wine_fn_config_test dlls/dwrite/tests dwrite_test
16834 wine_fn_config_dll dxdiagn enable_dxdiagn clean,po
16835 wine_fn_config_test dlls/dxdiagn/tests dxdiagn_test
16836 wine_fn_config_lib dxerr8
16837 wine_fn_config_lib dxerr9
16838 wine_fn_config_dll dxgi enable_dxgi implib
16839 wine_fn_config_test dlls/dxgi/tests dxgi_test
16840 wine_fn_config_lib dxguid
16841 wine_fn_config_dll explorerframe enable_explorerframe clean
16842 wine_fn_config_test dlls/explorerframe/tests explorerframe_test
16843 wine_fn_config_dll faultrep enable_faultrep implib
16844 wine_fn_config_test dlls/faultrep/tests faultrep_test
16845 wine_fn_config_dll fltlib enable_fltlib
16846 wine_fn_config_dll fusion enable_fusion
16847 wine_fn_config_test dlls/fusion/tests fusion_test
16848 wine_fn_config_dll fwpuclnt enable_fwpuclnt
16849 wine_fn_config_dll gameux enable_gameux clean
16850 wine_fn_config_test dlls/gameux/tests gameux_test
16851 wine_fn_config_dll gdi.exe16 enable_win16
16852 wine_fn_config_dll gdi32 enable_gdi32 implib,po
16853 wine_fn_config_test dlls/gdi32/tests gdi32_test
16854 wine_fn_config_dll gdiplus enable_gdiplus implib
16855 wine_fn_config_test dlls/gdiplus/tests gdiplus_test
16856 wine_fn_config_dll glu32 enable_glu32 implib
16857 wine_fn_config_dll gphoto2.ds enable_gphoto2_ds po
16858 wine_fn_config_dll gpkcsp enable_gpkcsp
16859 wine_fn_config_dll hal enable_hal
16860 wine_fn_config_dll hhctrl.ocx enable_hhctrl_ocx clean,implib,po htmlhelp
16861 wine_fn_config_dll hid enable_hid implib
16862 wine_fn_config_dll hlink enable_hlink clean,implib
16863 wine_fn_config_test dlls/hlink/tests hlink_test
16864 wine_fn_config_dll hnetcfg enable_hnetcfg clean
16865 wine_fn_config_dll httpapi enable_httpapi
16866 wine_fn_config_dll iccvid enable_iccvid po
16867 wine_fn_config_dll icmp enable_icmp
16868 wine_fn_config_dll ieframe enable_ieframe clean,implib,po
16869 wine_fn_config_test dlls/ieframe/tests ieframe_test
16870 wine_fn_config_dll ifsmgr.vxd enable_win16
16871 wine_fn_config_dll imaadp32.acm enable_imaadp32_acm
16872 wine_fn_config_dll imagehlp enable_imagehlp implib
16873 wine_fn_config_test dlls/imagehlp/tests imagehlp_test
16874 wine_fn_config_dll imm.dll16 enable_win16
16875 wine_fn_config_dll imm32 enable_imm32 implib
16876 wine_fn_config_test dlls/imm32/tests imm32_test
16877 wine_fn_config_dll inetcomm enable_inetcomm clean,implib
16878 wine_fn_config_test dlls/inetcomm/tests inetcomm_test
16879 wine_fn_config_dll inetcpl.cpl enable_inetcpl_cpl po
16880 wine_fn_config_dll inetmib1 enable_inetmib1
16881 wine_fn_config_test dlls/inetmib1/tests inetmib1_test
16882 wine_fn_config_dll infosoft enable_infosoft clean
16883 wine_fn_config_test dlls/infosoft/tests infosoft_test
16884 wine_fn_config_dll initpki enable_initpki
16885 wine_fn_config_dll inkobj enable_inkobj
16886 wine_fn_config_dll inseng enable_inseng clean
16887 wine_fn_config_dll iphlpapi enable_iphlpapi implib
16888 wine_fn_config_test dlls/iphlpapi/tests iphlpapi_test
16889 wine_fn_config_dll itircl enable_itircl
16890 wine_fn_config_dll itss enable_itss clean
16891 wine_fn_config_test dlls/itss/tests itss_test
16892 wine_fn_config_dll joy.cpl enable_joy_cpl po
16893 wine_fn_config_dll jscript enable_jscript clean,po
16894 wine_fn_config_test dlls/jscript/tests jscript_test
16895 wine_fn_config_dll kernel32 enable_kernel32 implib,mc
16896 wine_fn_config_test dlls/kernel32/tests kernel32_test
16897 wine_fn_config_dll keyboard.drv16 enable_win16
16898 wine_fn_config_dll krnl386.exe16 enable_win16 implib kernel
16899 wine_fn_config_dll ktmw32 enable_ktmw32
16900 wine_fn_config_dll loadperf enable_loadperf implib
16901 wine_fn_config_dll localspl enable_localspl po
16902 wine_fn_config_test dlls/localspl/tests localspl_test
16903 wine_fn_config_dll localui enable_localui po
16904 wine_fn_config_test dlls/localui/tests localui_test
16905 wine_fn_config_dll lz32 enable_lz32 implib
16906 wine_fn_config_test dlls/lz32/tests lz32_test
16907 wine_fn_config_dll lzexpand.dll16 enable_win16
16908 wine_fn_config_dll mapi32 enable_mapi32 implib,po
16909 wine_fn_config_test dlls/mapi32/tests mapi32_test
16910 wine_fn_config_dll mapistub enable_mapistub
16911 wine_fn_config_dll mciavi32 enable_mciavi32
16912 wine_fn_config_dll mcicda enable_mcicda
16913 wine_fn_config_dll mciqtz32 enable_mciqtz32
16914 wine_fn_config_dll mciseq enable_mciseq
16915 wine_fn_config_dll mciwave enable_mciwave
16916 wine_fn_config_dll mgmtapi enable_mgmtapi
16917 wine_fn_config_dll midimap enable_midimap
16918 wine_fn_config_dll mlang enable_mlang clean,implib
16919 wine_fn_config_test dlls/mlang/tests mlang_test
16920 wine_fn_config_dll mmcndmgr enable_mmcndmgr clean
16921 wine_fn_config_test dlls/mmcndmgr/tests mmcndmgr_test
16922 wine_fn_config_dll mmdevapi enable_mmdevapi clean
16923 wine_fn_config_test dlls/mmdevapi/tests mmdevapi_test
16924 wine_fn_config_dll mmdevldr.vxd enable_win16
16925 wine_fn_config_dll mmsystem.dll16 enable_win16
16926 wine_fn_config_dll monodebg.vxd enable_win16
16927 wine_fn_config_dll mountmgr.sys enable_mountmgr_sys
16928 wine_fn_config_dll mouse.drv16 enable_win16
16929 wine_fn_config_dll mpr enable_mpr implib,po
16930 wine_fn_config_test dlls/mpr/tests mpr_test
16931 wine_fn_config_dll mprapi enable_mprapi implib
16932 wine_fn_config_dll msacm.dll16 enable_win16
16933 wine_fn_config_dll msacm32.drv enable_msacm32_drv
16934 wine_fn_config_dll msacm32 enable_msacm32 implib,po
16935 wine_fn_config_test dlls/msacm32/tests msacm32_test
16936 wine_fn_config_dll msadp32.acm enable_msadp32_acm
16937 wine_fn_config_dll mscat32 enable_mscat32
16938 wine_fn_config_dll mscms enable_mscms implib
16939 wine_fn_config_test dlls/mscms/tests mscms_test
16940 wine_fn_config_dll mscoree enable_mscoree clean
16941 wine_fn_config_test dlls/mscoree/tests mscoree_test
16942 wine_fn_config_dll msctf enable_msctf clean
16943 wine_fn_config_test dlls/msctf/tests msctf_test
16944 wine_fn_config_dll msdaps enable_msdaps clean
16945 wine_fn_config_dll msdmo enable_msdmo implib
16946 wine_fn_config_dll msftedit enable_msftedit
16947 wine_fn_config_dll msg711.acm enable_msg711_acm
16948 wine_fn_config_dll msgsm32.acm enable_msgsm32_acm
16949 wine_fn_config_dll mshtml.tlb enable_mshtml_tlb clean
16950 wine_fn_config_dll mshtml enable_mshtml clean,implib,po
16951 wine_fn_config_test dlls/mshtml/tests mshtml_test clean
16952 wine_fn_config_dll msi enable_msi clean,implib,po
16953 wine_fn_config_test dlls/msi/tests msi_test
16954 wine_fn_config_dll msident enable_msident clean
16955 wine_fn_config_dll msimg32 enable_msimg32 implib
16956 wine_fn_config_dll msimsg enable_msimsg
16957 wine_fn_config_dll msimtf enable_msimtf clean
16958 wine_fn_config_dll msisip enable_msisip
16959 wine_fn_config_dll msisys.ocx enable_msisys_ocx
16960 wine_fn_config_dll msls31 enable_msls31
16961 wine_fn_config_dll msnet32 enable_msnet32
16962 wine_fn_config_dll mspatcha enable_mspatcha
16963 wine_fn_config_dll msrle32 enable_msrle32 po
16964 wine_fn_config_dll mssign32 enable_mssign32
16965 wine_fn_config_dll mssip32 enable_mssip32
16966 wine_fn_config_dll mstask enable_mstask clean
16967 wine_fn_config_test dlls/mstask/tests mstask_test
16968 wine_fn_config_dll msvcirt enable_msvcirt
16969 wine_fn_config_dll msvcm80 enable_msvcm80
16970 wine_fn_config_dll msvcm90 enable_msvcm90
16971 wine_fn_config_dll msvcp100 enable_msvcp100
16972 wine_fn_config_test dlls/msvcp100/tests msvcp100_test
16973 wine_fn_config_dll msvcp110 enable_msvcp110
16974 wine_fn_config_dll msvcp60 enable_msvcp60
16975 wine_fn_config_test dlls/msvcp60/tests msvcp60_test
16976 wine_fn_config_dll msvcp70 enable_msvcp70
16977 wine_fn_config_dll msvcp71 enable_msvcp71
16978 wine_fn_config_dll msvcp80 enable_msvcp80
16979 wine_fn_config_dll msvcp90 enable_msvcp90
16980 wine_fn_config_test dlls/msvcp90/tests msvcp90_test
16981 wine_fn_config_dll msvcr100 enable_msvcr100
16982 wine_fn_config_test dlls/msvcr100/tests msvcr100_test
16983 wine_fn_config_dll msvcr110 enable_msvcr110
16984 wine_fn_config_dll msvcr70 enable_msvcr70 implib
16985 wine_fn_config_dll msvcr71 enable_msvcr71 implib
16986 wine_fn_config_dll msvcr80 enable_msvcr80
16987 wine_fn_config_dll msvcr90 enable_msvcr90
16988 wine_fn_config_test dlls/msvcr90/tests msvcr90_test
16989 wine_fn_config_dll msvcrt enable_msvcrt implib
16990 wine_fn_config_test dlls/msvcrt/tests msvcrt_test
16991 wine_fn_config_dll msvcrt20 enable_msvcrt20 implib
16992 wine_fn_config_dll msvcrt40 enable_msvcrt40 implib
16993 wine_fn_config_dll msvcrtd enable_msvcrtd implib
16994 wine_fn_config_test dlls/msvcrtd/tests msvcrtd_test
16995 wine_fn_config_dll msvfw32 enable_msvfw32 implib,po
16996 wine_fn_config_test dlls/msvfw32/tests msvfw32_test
16997 wine_fn_config_dll msvidc32 enable_msvidc32 po
16998 wine_fn_config_dll msvideo.dll16 enable_win16
16999 wine_fn_config_dll mswsock enable_mswsock implib
17000 wine_fn_config_dll msxml enable_msxml clean
17001 wine_fn_config_dll msxml2 enable_msxml2 clean
17002 wine_fn_config_dll msxml3 enable_msxml3 clean
17003 wine_fn_config_test dlls/msxml3/tests msxml3_test clean
17004 wine_fn_config_dll msxml4 enable_msxml4 clean
17005 wine_fn_config_dll msxml6 enable_msxml6 clean
17006 wine_fn_config_dll nddeapi enable_nddeapi implib
17007 wine_fn_config_dll netapi32 enable_netapi32 implib
17008 wine_fn_config_test dlls/netapi32/tests netapi32_test
17009 wine_fn_config_dll netcfgx enable_netcfgx
17010 wine_fn_config_dll newdev enable_newdev implib
17011 wine_fn_config_dll normaliz enable_normaliz implib
17012 wine_fn_config_dll npmshtml enable_npmshtml
17013 wine_fn_config_dll ntdll enable_ntdll implib
17014 wine_fn_config_test dlls/ntdll/tests ntdll_test
17015 wine_fn_config_dll ntdsapi enable_ntdsapi implib
17016 wine_fn_config_test dlls/ntdsapi/tests ntdsapi_test
17017 wine_fn_config_dll ntoskrnl.exe enable_ntoskrnl_exe implib
17018 wine_fn_config_dll ntprint enable_ntprint
17019 wine_fn_config_test dlls/ntprint/tests ntprint_test
17020 wine_fn_config_dll objsel enable_objsel clean
17021 wine_fn_config_dll odbc32 enable_odbc32 implib
17022 wine_fn_config_dll odbccp32 enable_odbccp32 implib
17023 wine_fn_config_test dlls/odbccp32/tests odbccp32_test
17024 wine_fn_config_dll odbccu32 enable_odbccu32
17025 wine_fn_config_dll ole2.dll16 enable_win16
17026 wine_fn_config_dll ole2conv.dll16 enable_win16
17027 wine_fn_config_dll ole2disp.dll16 enable_win16
17028 wine_fn_config_dll ole2nls.dll16 enable_win16
17029 wine_fn_config_dll ole2prox.dll16 enable_win16
17030 wine_fn_config_dll ole2thk.dll16 enable_win16
17031 wine_fn_config_dll ole32 enable_ole32 clean,implib
17032 wine_fn_config_test dlls/ole32/tests ole32_test
17033 wine_fn_config_dll oleacc enable_oleacc clean,implib,po
17034 wine_fn_config_test dlls/oleacc/tests oleacc_test
17035 wine_fn_config_dll oleaut32 enable_oleaut32 clean,implib,po
17036 wine_fn_config_test dlls/oleaut32/tests oleaut32_test clean
17037 wine_fn_config_dll olecli.dll16 enable_win16
17038 wine_fn_config_dll olecli32 enable_olecli32 implib
17039 wine_fn_config_dll oledb32 enable_oledb32 clean
17040 wine_fn_config_test dlls/oledb32/tests oledb32_test clean
17041 wine_fn_config_dll oledlg enable_oledlg implib,po
17042 wine_fn_config_dll olepro32 enable_olepro32 implib
17043 wine_fn_config_dll olesvr.dll16 enable_win16
17044 wine_fn_config_dll olesvr32 enable_olesvr32 implib
17045 wine_fn_config_dll olethk32 enable_olethk32
17046 wine_fn_config_dll openal32 enable_openal32
17047 wine_fn_config_dll opencl enable_opencl
17048 wine_fn_config_dll opengl32 enable_opengl32 implib
17049 wine_fn_config_test dlls/opengl32/tests opengl32_test
17050 wine_fn_config_dll pdh enable_pdh implib
17051 wine_fn_config_test dlls/pdh/tests pdh_test
17052 wine_fn_config_dll photometadatahandler enable_photometadatahandler
17053 wine_fn_config_dll pidgen enable_pidgen
17054 wine_fn_config_dll powrprof enable_powrprof implib
17055 wine_fn_config_dll printui enable_printui
17056 wine_fn_config_dll propsys enable_propsys clean,implib
17057 wine_fn_config_test dlls/propsys/tests propsys_test
17058 wine_fn_config_dll psapi enable_psapi implib
17059 wine_fn_config_test dlls/psapi/tests psapi_test
17060 wine_fn_config_dll pstorec enable_pstorec clean
17061 wine_fn_config_dll qcap enable_qcap
17062 wine_fn_config_test dlls/qcap/tests qcap_test
17063 wine_fn_config_dll qedit enable_qedit clean
17064 wine_fn_config_test dlls/qedit/tests qedit_test
17065 wine_fn_config_dll qmgr enable_qmgr clean
17066 wine_fn_config_test dlls/qmgr/tests qmgr_test
17067 wine_fn_config_dll qmgrprxy enable_qmgrprxy clean
17068 wine_fn_config_dll quartz enable_quartz clean,implib
17069 wine_fn_config_test dlls/quartz/tests quartz_test clean
17070 wine_fn_config_dll query enable_query
17071 wine_fn_config_dll rasapi16.dll16 enable_win16
17072 wine_fn_config_dll rasapi32 enable_rasapi32 implib
17073 wine_fn_config_test dlls/rasapi32/tests rasapi32_test
17074 wine_fn_config_dll rasdlg enable_rasdlg implib
17075 wine_fn_config_dll regapi enable_regapi
17076 wine_fn_config_dll resutils enable_resutils implib
17077 wine_fn_config_dll riched20 enable_riched20 implib
17078 wine_fn_config_test dlls/riched20/tests riched20_test
17079 wine_fn_config_dll riched32 enable_riched32
17080 wine_fn_config_test dlls/riched32/tests riched32_test
17081 wine_fn_config_dll rpcrt4 enable_rpcrt4 clean,implib
17082 wine_fn_config_test dlls/rpcrt4/tests rpcrt4_test clean
17083 wine_fn_config_dll rsabase enable_rsabase
17084 wine_fn_config_dll rsaenh enable_rsaenh implib
17085 wine_fn_config_test dlls/rsaenh/tests rsaenh_test
17086 wine_fn_config_dll rstrtmgr enable_rstrtmgr
17087 wine_fn_config_dll rtutils enable_rtutils implib
17088 wine_fn_config_dll samlib enable_samlib
17089 wine_fn_config_dll sane.ds enable_sane_ds po
17090 wine_fn_config_dll scarddlg enable_scarddlg
17091 wine_fn_config_dll sccbase enable_sccbase
17092 wine_fn_config_dll schannel enable_schannel
17093 wine_fn_config_test dlls/schannel/tests schannel_test
17094 wine_fn_config_dll scrrun enable_scrrun clean
17095 wine_fn_config_test dlls/scrrun/tests scrrun_test clean
17096 wine_fn_config_dll scsiport.sys enable_scsiport_sys
17097 wine_fn_config_dll secur32 enable_secur32 implib
17098 wine_fn_config_test dlls/secur32/tests secur32_test
17099 wine_fn_config_dll security enable_security
17100 wine_fn_config_dll sensapi enable_sensapi implib
17101 wine_fn_config_dll serialui enable_serialui implib,po
17102 wine_fn_config_test dlls/serialui/tests serialui_test
17103 wine_fn_config_dll setupapi enable_setupapi implib,po
17104 wine_fn_config_test dlls/setupapi/tests setupapi_test
17105 wine_fn_config_dll setupx.dll16 enable_win16
17106 wine_fn_config_dll sfc enable_sfc implib
17107 wine_fn_config_dll sfc_os enable_sfc_os implib
17108 wine_fn_config_dll shdoclc enable_shdoclc po
17109 wine_fn_config_dll shdocvw enable_shdocvw clean,implib
17110 wine_fn_config_test dlls/shdocvw/tests shdocvw_test
17111 wine_fn_config_dll shell.dll16 enable_win16
17112 wine_fn_config_dll shell32 enable_shell32 clean,implib,po
17113 wine_fn_config_test dlls/shell32/tests shell32_test
17114 wine_fn_config_dll shfolder enable_shfolder implib
17115 wine_fn_config_dll shlwapi enable_shlwapi implib,po
17116 wine_fn_config_test dlls/shlwapi/tests shlwapi_test
17117 wine_fn_config_dll slbcsp enable_slbcsp
17118 wine_fn_config_dll slc enable_slc implib
17119 wine_fn_config_dll snmpapi enable_snmpapi implib
17120 wine_fn_config_test dlls/snmpapi/tests snmpapi_test
17121 wine_fn_config_dll softpub enable_softpub
17122 wine_fn_config_dll sound.drv16 enable_win16
17123 wine_fn_config_dll spoolss enable_spoolss implib
17124 wine_fn_config_test dlls/spoolss/tests spoolss_test
17125 wine_fn_config_dll stdole2.tlb enable_stdole2_tlb clean
17126 wine_fn_config_dll stdole32.tlb enable_stdole32_tlb clean
17127 wine_fn_config_dll sti enable_sti clean,implib
17128 wine_fn_config_test dlls/sti/tests sti_test
17129 wine_fn_config_dll storage.dll16 enable_win16
17130 wine_fn_config_dll stress.dll16 enable_win16
17131 wine_fn_config_lib strmbase
17132 wine_fn_config_lib strmiids
17133 wine_fn_config_dll svrapi enable_svrapi
17134 wine_fn_config_dll sxs enable_sxs implib
17135 wine_fn_config_test dlls/sxs/tests sxs_test
17136 wine_fn_config_dll system.drv16 enable_win16
17137 wine_fn_config_dll t2embed enable_t2embed
17138 wine_fn_config_dll tapi32 enable_tapi32 implib
17139 wine_fn_config_dll toolhelp.dll16 enable_win16
17140 wine_fn_config_dll traffic enable_traffic
17141 wine_fn_config_dll twain.dll16 enable_win16
17142 wine_fn_config_dll twain_32 enable_twain_32
17143 wine_fn_config_test dlls/twain_32/tests twain_32_test
17144 wine_fn_config_dll typelib.dll16 enable_win16
17145 wine_fn_config_dll unicows enable_unicows implib
17146 wine_fn_config_dll updspapi enable_updspapi
17147 wine_fn_config_dll url enable_url implib
17148 wine_fn_config_dll urlmon enable_urlmon clean,implib,po
17149 wine_fn_config_test dlls/urlmon/tests urlmon_test
17150 wine_fn_config_dll usbd.sys enable_usbd_sys implib
17151 wine_fn_config_dll user.exe16 enable_win16
17152 wine_fn_config_dll user32 enable_user32 implib,po
17153 wine_fn_config_test dlls/user32/tests user32_test
17154 wine_fn_config_dll userenv enable_userenv implib
17155 wine_fn_config_test dlls/userenv/tests userenv_test
17156 wine_fn_config_dll usp10 enable_usp10 implib
17157 wine_fn_config_test dlls/usp10/tests usp10_test
17158 wine_fn_config_lib uuid
17159 wine_fn_config_dll uxtheme enable_uxtheme implib
17160 wine_fn_config_test dlls/uxtheme/tests uxtheme_test
17161 wine_fn_config_dll vbscript enable_vbscript clean
17162 wine_fn_config_test dlls/vbscript/tests vbscript_test clean
17163 wine_fn_config_dll vcomp enable_vcomp
17164 wine_fn_config_dll vcomp100 enable_vcomp100
17165 wine_fn_config_dll vcomp90 enable_vcomp90
17166 wine_fn_config_dll vdhcp.vxd enable_win16
17167 wine_fn_config_dll vdmdbg enable_vdmdbg implib
17168 wine_fn_config_dll ver.dll16 enable_win16
17169 wine_fn_config_dll version enable_version implib
17170 wine_fn_config_test dlls/version/tests version_test
17171 wine_fn_config_dll vmm.vxd enable_win16
17172 wine_fn_config_dll vnbt.vxd enable_win16
17173 wine_fn_config_dll vnetbios.vxd enable_win16
17174 wine_fn_config_dll vtdapi.vxd enable_win16
17175 wine_fn_config_dll vwin32.vxd enable_win16
17176 wine_fn_config_dll w32skrnl enable_win16
17177 wine_fn_config_dll w32sys.dll16 enable_win16
17178 wine_fn_config_dll wbemdisp enable_wbemdisp clean
17179 wine_fn_config_dll wbemprox enable_wbemprox clean
17180 wine_fn_config_test dlls/wbemprox/tests wbemprox_test
17181 wine_fn_config_dll webservices enable_webservices implib
17182 wine_fn_config_dll wer enable_wer implib
17183 wine_fn_config_test dlls/wer/tests wer_test
17184 wine_fn_config_dll wevtapi enable_wevtapi
17185 wine_fn_config_dll wiaservc enable_wiaservc clean
17186 wine_fn_config_dll win32s16.dll16 enable_win16
17187 wine_fn_config_dll win87em.dll16 enable_win16
17188 wine_fn_config_dll winaspi.dll16 enable_win16
17189 wine_fn_config_dll windebug.dll16 enable_win16
17190 wine_fn_config_dll windowscodecs enable_windowscodecs clean,implib
17191 wine_fn_config_test dlls/windowscodecs/tests windowscodecs_test
17192 wine_fn_config_dll windowscodecsext enable_windowscodecsext implib
17193 wine_fn_config_test dlls/windowscodecsext/tests windowscodecsext_test
17194 wine_fn_config_dll winealsa.drv enable_winealsa_drv
17195 wine_fn_config_dll winecoreaudio.drv enable_winecoreaudio_drv
17196 wine_fn_config_lib winecrt0
17197 wine_fn_config_dll wined3d enable_wined3d implib
17198 wine_fn_config_dll winegstreamer enable_winegstreamer
17199 wine_fn_config_dll winejoystick.drv enable_winejoystick_drv
17200 wine_fn_config_dll winemac.drv enable_winemac_drv
17201 wine_fn_config_dll winemapi enable_winemapi
17202 wine_fn_config_dll winemp3.acm enable_winemp3_acm
17203 wine_fn_config_dll wineoss.drv enable_wineoss_drv
17204 wine_fn_config_dll wineps.drv enable_wineps_drv po
17205 wine_fn_config_dll wineps16.drv16 enable_win16
17206 wine_fn_config_dll wineqtdecoder enable_wineqtdecoder
17207 wine_fn_config_dll winex11.drv enable_winex11_drv
17208 wine_fn_config_dll wing.dll16 enable_win16
17209 wine_fn_config_dll wing32 enable_wing32
17210 wine_fn_config_dll winhttp enable_winhttp clean,implib
17211 wine_fn_config_test dlls/winhttp/tests winhttp_test
17212 wine_fn_config_dll wininet enable_wininet implib,po
17213 wine_fn_config_test dlls/wininet/tests wininet_test
17214 wine_fn_config_dll winmm enable_winmm implib,po
17215 wine_fn_config_test dlls/winmm/tests winmm_test
17216 wine_fn_config_dll winnls.dll16 enable_win16
17217 wine_fn_config_dll winnls32 enable_winnls32 implib
17218 wine_fn_config_dll winscard enable_winscard implib
17219 wine_fn_config_dll winsock.dll16 enable_win16
17220 wine_fn_config_dll winspool.drv enable_winspool_drv implib,po winspool
17221 wine_fn_config_test dlls/winspool.drv/tests winspool.drv_test
17222 wine_fn_config_dll winsta enable_winsta
17223 wine_fn_config_dll wintab.dll16 enable_win16
17224 wine_fn_config_dll wintab32 enable_wintab32 implib
17225 wine_fn_config_test dlls/wintab32/tests wintab32_test
17226 wine_fn_config_dll wintrust enable_wintrust implib
17227 wine_fn_config_test dlls/wintrust/tests wintrust_test
17228 wine_fn_config_dll wlanapi enable_wlanapi
17229 wine_fn_config_dll wldap32 enable_wldap32 implib,po
17230 wine_fn_config_test dlls/wldap32/tests wldap32_test
17231 wine_fn_config_dll wmi enable_wmi
17232 wine_fn_config_dll wmiutils enable_wmiutils clean
17233 wine_fn_config_test dlls/wmiutils/tests wmiutils_test
17234 wine_fn_config_dll wmvcore enable_wmvcore
17235 wine_fn_config_dll wnaspi32 enable_wnaspi32 implib
17236 wine_fn_config_dll wow32 enable_win16 implib
17237 wine_fn_config_dll ws2_32 enable_ws2_32 implib
17238 wine_fn_config_test dlls/ws2_32/tests ws2_32_test
17239 wine_fn_config_dll wshom.ocx enable_wshom_ocx clean
17240 wine_fn_config_test dlls/wshom.ocx/tests wshom.ocx_test clean
17241 wine_fn_config_dll wsnmp32 enable_wsnmp32 implib
17242 wine_fn_config_test dlls/wsnmp32/tests wsnmp32_test
17243 wine_fn_config_dll wsock32 enable_wsock32 implib
17244 wine_fn_config_dll wtsapi32 enable_wtsapi32 implib
17245 wine_fn_config_dll wuapi enable_wuapi clean
17246 wine_fn_config_dll wuaueng enable_wuaueng
17247 wine_fn_config_dll xapofx1_1 enable_xapofx1_1
17248 wine_fn_config_dll xinput1_1 enable_xinput1_1
17249 wine_fn_config_dll xinput1_2 enable_xinput1_2
17250 wine_fn_config_dll xinput1_3 enable_xinput1_3 implib xinput
17251 wine_fn_config_test dlls/xinput1_3/tests xinput1_3_test
17252 wine_fn_config_dll xinput1_4 enable_xinput1_4
17253 wine_fn_config_dll xinput9_1_0 enable_xinput9_1_0
17254 wine_fn_config_dll xmllite enable_xmllite
17255 wine_fn_config_test dlls/xmllite/tests xmllite_test
17256 wine_fn_config_dll xolehlp enable_xolehlp
17257 wine_fn_config_dll xpsprint enable_xpsprint
17258 wine_fn_config_dll xpssvcs enable_xpssvcs
17259 wine_fn_config_makefile documentation enable_documentation clean
17260 wine_fn_config_makefile fonts enable_fonts clean,install-lib
17261 wine_fn_config_makefile include enable_include clean,install-dev
17262 wine_fn_config_makefile libs/port enable_libs_port
17263 wine_fn_config_makefile libs/wine enable_libs_wine clean,install-dev,install-lib
17264 wine_fn_config_makefile libs/wpp enable_libs_wpp
17265 wine_fn_config_makefile loader enable_loader clean,install-lib,manpage
17266 wine_fn_config_program aspnet_regiis enable_aspnet_regiis install
17267 wine_fn_config_program attrib enable_attrib install,po
17268 wine_fn_config_program cabarc enable_cabarc install
17269 wine_fn_config_program cacls enable_cacls install
17270 wine_fn_config_program clock enable_clock install,po
17271 wine_fn_config_program cmd enable_cmd install,po
17272 wine_fn_config_test programs/cmd/tests cmd.exe_test
17273 wine_fn_config_program conhost enable_conhost install
17274 wine_fn_config_program control enable_control install
17275 wine_fn_config_program cscript enable_cscript install
17276 wine_fn_config_program dxdiag enable_dxdiag install,po
17277 wine_fn_config_program eject enable_eject install
17278 wine_fn_config_program expand enable_expand install
17279 wine_fn_config_program explorer enable_explorer install,po
17280 wine_fn_config_program extrac32 enable_extrac32 install
17281 wine_fn_config_program findstr enable_findstr install
17282 wine_fn_config_program hh enable_hh install
17283 wine_fn_config_program hostname enable_hostname install,po
17284 wine_fn_config_program icinfo enable_icinfo install
17285 wine_fn_config_program iexplore enable_iexplore install
17286 wine_fn_config_program ipconfig enable_ipconfig install,po
17287 wine_fn_config_program lodctr enable_lodctr install
17288 wine_fn_config_program mofcomp enable_mofcomp install
17289 wine_fn_config_program mshta enable_mshta install
17290 wine_fn_config_program msiexec enable_msiexec install,installbin,manpage
17291 wine_fn_config_program net enable_net install,po
17292 wine_fn_config_program netsh enable_netsh install
17293 wine_fn_config_program netstat enable_netstat install,po
17294 wine_fn_config_program ngen enable_ngen install
17295 wine_fn_config_program notepad enable_notepad install,installbin,manpage,po
17296 wine_fn_config_program oleview enable_oleview install,po
17297 wine_fn_config_program ping enable_ping install
17298 wine_fn_config_program plugplay enable_plugplay install
17299 wine_fn_config_program presentationfontcache enable_presentationfontcache install
17300 wine_fn_config_program progman enable_progman install,po
17301 wine_fn_config_program reg enable_reg install,po
17302 wine_fn_config_program regasm enable_regasm install
17303 wine_fn_config_program regedit enable_regedit install,installbin,manpage,po
17304 wine_fn_config_test programs/regedit/tests regedit.exe_test
17305 wine_fn_config_program regsvcs enable_regsvcs install
17306 wine_fn_config_program regsvr32 enable_regsvr32 install,installbin,manpage
17307 wine_fn_config_program rpcss enable_rpcss clean,install
17308 wine_fn_config_program rundll.exe16 enable_win16 install
17309 wine_fn_config_program rundll32 enable_rundll32 install
17310 wine_fn_config_program sc enable_sc install
17311 wine_fn_config_program schtasks enable_schtasks install
17312 wine_fn_config_program secedit enable_secedit install
17313 wine_fn_config_program servicemodelreg enable_servicemodelreg install
17314 wine_fn_config_program services enable_services clean,install
17315 wine_fn_config_test programs/services/tests services.exe_test
17316 wine_fn_config_program spoolsv enable_spoolsv install
17317 wine_fn_config_program start enable_start install,po
17318 wine_fn_config_program svchost enable_svchost install
17319 wine_fn_config_program taskkill enable_taskkill install,po
17320 wine_fn_config_program tasklist enable_tasklist install
17321 wine_fn_config_program taskmgr enable_taskmgr install,po
17322 wine_fn_config_program termsv enable_termsv install
17323 wine_fn_config_program uninstaller enable_uninstaller install,po
17324 wine_fn_config_program unlodctr enable_unlodctr install
17325 wine_fn_config_program view enable_view install,po
17326 wine_fn_config_program wineboot enable_wineboot install,installbin,manpage,po
17327 wine_fn_config_program winebrowser enable_winebrowser install
17328 wine_fn_config_program winecfg enable_winecfg install,installbin,manpage,po
17329 wine_fn_config_program wineconsole enable_wineconsole install,installbin,manpage,po
17330 wine_fn_config_program winedbg enable_winedbg install,installbin,manpage,po
17331 wine_fn_config_program winedevice enable_winedevice install
17332 wine_fn_config_program winefile enable_winefile install,installbin,manpage,po
17333 wine_fn_config_program winemenubuilder enable_winemenubuilder install
17334 wine_fn_config_program winemine enable_winemine install,installbin,manpage,po
17335 wine_fn_config_program winemsibuilder enable_winemsibuilder install
17336 wine_fn_config_program winepath enable_winepath install,installbin,manpage
17337 wine_fn_config_program winetest enable_winetest clean
17338 wine_fn_config_program winevdm enable_win16 install
17339 wine_fn_config_program winhelp.exe16 enable_win16 install
17340 wine_fn_config_program winhlp32 enable_winhlp32 install,po
17341 wine_fn_config_program winoldap.mod16 enable_win16 install
17342 wine_fn_config_program winver enable_winver install
17343 wine_fn_config_program wmic enable_wmic install,po
17344 wine_fn_config_program wordpad enable_wordpad install,po
17345 wine_fn_config_program write enable_write install,po
17346 wine_fn_config_program wscript enable_wscript clean,install
17347 wine_fn_config_test programs/wscript/tests wscript.exe_test
17348 wine_fn_config_program wusa enable_wusa install
17349 wine_fn_config_program xcopy enable_xcopy install,po
17350 wine_fn_config_makefile server enable_server clean,install-lib,manpage
17351 wine_fn_config_tool tools clean,install-dev,install-lib,manpage
17352 wine_fn_config_tool tools/widl clean,install-dev,manpage
17353 wine_fn_config_tool tools/winebuild clean,install-dev,manpage
17354 wine_fn_config_tool tools/winedump clean,install-dev,manpage
17355 wine_fn_config_tool tools/winegcc clean,install-dev,manpage
17356 wine_fn_config_tool tools/wmc clean,install-dev,manpage
17357 wine_fn_config_tool tools/wrc clean,install-dev,manpage
17359 LINGUAS="\
17360 ar \
17361 bg \
17362 ca \
17363 cs \
17364 da \
17365 de \
17366 el \
17367 en \
17368 en_US \
17369 eo \
17370 es \
17371 fa \
17372 fi \
17373 fr \
17374 he \
17375 hi \
17376 hr \
17377 hu \
17378 it \
17379 ja \
17380 ko \
17381 lt \
17382 ml \
17383 nb_NO \
17384 nl \
17385 or \
17386 pa \
17387 pl \
17388 pt_BR \
17389 pt_PT \
17390 rm \
17391 ro \
17392 ru \
17393 sk \
17394 sl \
17395 sr_RS@cyrillic \
17396 sr_RS@latin \
17397 sv \
17398 te \
17399 th \
17400 tr \
17401 uk \
17402 wa \
17403 zh_CN \
17404 zh_TW"
17408 ac_config_commands="$ac_config_commands Makefile"
17411 ac_config_files="$ac_config_files Make.tmp:Make.vars.in:Makefile.in"
17415 if test "x$enable_maintainer_mode" = xyes
17416 then
17417 wine_fn_append_rule "configure: configure.ac aclocal.m4
17418 autoconf --warnings=all
17419 include/config.h.in: include/stamp-h.in
17420 include/stamp-h.in: configure.ac aclocal.m4
17421 autoheader --warnings=all
17422 @echo timestamp > \$@"
17425 if test "x$with_gettextpo" = xyes
17426 then
17427 test "$srcdir" = . || as_fn_error $? "Rebuilding po files is not supported for out of tree builds." "$LINENO" 5
17428 wine_fn_append_rule "ALL_POT_FILES =$ALL_POT_FILES
17429 \$(LINGUAS:%=po/%.po): po/wine.pot
17430 msgmerge --previous -q \$@ po/wine.pot | msgattrib --no-obsolete -o \$@.new && mv \$@.new \$@
17431 po/wine.pot: \$(ALL_POT_FILES)
17432 msgcat -o \$@ \$(ALL_POT_FILES)"
17435 if test "$MSGFMT" != false
17436 then
17437 PORCFLAGS="--po-dir=\$(top_builddir)/po"
17439 wine_fn_append_rule "__builddeps__: \$(ALL_MO_FILES)"
17440 else
17441 LINGUAS=
17444 if test "x$enable_tools" != xno
17445 then
17446 ac_config_commands="$ac_config_commands tools"
17448 wine_fn_append_rule "tools/makedep$ac_exeext: tools/makedep.c include/config.h
17449 \$(CC) \$(ALLCFLAGS) -o \$@ $srcdir/tools/makedep.c \$(LDFLAGS)
17450 clean:: __clean__
17451 \$(RM) tools/makedep$ac_exeext"
17454 if test -n "$with_wine64"
17455 then
17456 wine_fn_append_rule "all: fonts server tools $with_wine64/loader/wine $with_wine64/loader/wine-preloader
17457 fonts server tools:
17458 \$(RM) \$@ && \$(LN_S) $with_wine64/\$@ \$@
17459 $with_wine64/loader/wine:
17460 \$(RM) \$@ && \$(LN_S) $ac_pwd/loader/wine \$@
17461 $with_wine64/loader/wine-preloader:
17462 \$(RM) \$@ && \$(LN_S) $ac_pwd/loader/wine-preloader \$@
17463 clean::
17464 \$(RM) fonts server tools $with_wine64/loader/wine $with_wine64/loader/wine-preloader"
17465 else
17466 as_fn_append LOADER_RULES "
17467 all: wine.inf
17469 wine.inf: wine.inf.in \$(top_builddir)/include/config.h
17470 LC_ALL=C sed -e 's,@PACKAGE_STRING@,$PACKAGE_STRING,g' \$(srcdir)/wine.inf.in >\$@ || (\$(RM) \$@ && false)
17472 install install-lib:: wine.inf \$(DESTDIR)\$(datadir)/wine install-man-pages
17473 \$(INSTALL_DATA) wine.inf \$(DESTDIR)\$(datadir)/wine/wine.inf
17474 \$(INSTALL_DATA) \$(srcdir)/l_intl.nls \$(DESTDIR)\$(datadir)/wine/l_intl.nls
17476 uninstall::
17477 \$(RM) \$(DESTDIR)\$(datadir)/wine/wine.inf \$(DESTDIR)\$(datadir)/wine/l_intl.nls
17481 $as_echo " done" >&6
17482 cat >confcache <<\_ACEOF
17483 # This file is a shell script that caches the results of configure
17484 # tests run on this system so they can be shared between configure
17485 # scripts and configure runs, see configure's option --config-cache.
17486 # It is not useful on other systems. If it contains results you don't
17487 # want to keep, you may remove or edit it.
17489 # config.status only pays attention to the cache file if you give it
17490 # the --recheck option to rerun configure.
17492 # `ac_cv_env_foo' variables (set or unset) will be overridden when
17493 # loading this file, other *unset* `ac_cv_foo' will be assigned the
17494 # following values.
17496 _ACEOF
17498 # The following way of writing the cache mishandles newlines in values,
17499 # but we know of no workaround that is simple, portable, and efficient.
17500 # So, we kill variables containing newlines.
17501 # Ultrix sh set writes to stderr and can't be redirected directly,
17502 # and sets the high bit in the cache file unless we assign to the vars.
17504 for ac_var in `(set) 2>&1 | sed -n 's/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'`; do
17505 eval ac_val=\$$ac_var
17506 case $ac_val in #(
17507 *${as_nl}*)
17508 case $ac_var in #(
17509 *_cv_*) { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: cache variable $ac_var contains a newline" >&5
17510 $as_echo "$as_me: WARNING: cache variable $ac_var contains a newline" >&2;} ;;
17511 esac
17512 case $ac_var in #(
17513 _ | IFS | as_nl) ;; #(
17514 BASH_ARGV | BASH_SOURCE) eval $ac_var= ;; #(
17515 *) { eval $ac_var=; unset $ac_var;} ;;
17516 esac ;;
17517 esac
17518 done
17520 (set) 2>&1 |
17521 case $as_nl`(ac_space=' '; set) 2>&1` in #(
17522 *${as_nl}ac_space=\ *)
17523 # `set' does not quote correctly, so add quotes: double-quote
17524 # substitution turns \\\\ into \\, and sed turns \\ into \.
17525 sed -n \
17526 "s/'/'\\\\''/g;
17527 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\\2'/p"
17528 ;; #(
17530 # `set' quotes correctly as required by POSIX, so do not add quotes.
17531 sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
17533 esac |
17534 sort
17536 sed '
17537 /^ac_cv_env_/b end
17538 t clear
17539 :clear
17540 s/^\([^=]*\)=\(.*[{}].*\)$/test "${\1+set}" = set || &/
17541 t end
17542 s/^\([^=]*\)=\(.*\)$/\1=${\1=\2}/
17543 :end' >>confcache
17544 if diff "$cache_file" confcache >/dev/null 2>&1; then :; else
17545 if test -w "$cache_file"; then
17546 if test "x$cache_file" != "x/dev/null"; then
17547 { $as_echo "$as_me:${as_lineno-$LINENO}: updating cache $cache_file" >&5
17548 $as_echo "$as_me: updating cache $cache_file" >&6;}
17549 if test ! -f "$cache_file" || test -h "$cache_file"; then
17550 cat confcache >"$cache_file"
17551 else
17552 case $cache_file in #(
17553 */* | ?:*)
17554 mv -f confcache "$cache_file"$$ &&
17555 mv -f "$cache_file"$$ "$cache_file" ;; #(
17557 mv -f confcache "$cache_file" ;;
17558 esac
17561 else
17562 { $as_echo "$as_me:${as_lineno-$LINENO}: not updating unwritable cache $cache_file" >&5
17563 $as_echo "$as_me: not updating unwritable cache $cache_file" >&6;}
17566 rm -f confcache
17568 test "x$prefix" = xNONE && prefix=$ac_default_prefix
17569 # Let make expand exec_prefix.
17570 test "x$exec_prefix" = xNONE && exec_prefix='${prefix}'
17572 DEFS=-DHAVE_CONFIG_H
17574 ac_libobjs=
17575 ac_ltlibobjs=
17577 for ac_i in : $LIBOBJS; do test "x$ac_i" = x: && continue
17578 # 1. Remove the extension, and $U if already installed.
17579 ac_script='s/\$U\././;s/\.o$//;s/\.obj$//'
17580 ac_i=`$as_echo "$ac_i" | sed "$ac_script"`
17581 # 2. Prepend LIBOBJDIR. When used with automake>=1.10 LIBOBJDIR
17582 # will be set to the directory where LIBOBJS objects are built.
17583 as_fn_append ac_libobjs " \${LIBOBJDIR}$ac_i\$U.$ac_objext"
17584 as_fn_append ac_ltlibobjs " \${LIBOBJDIR}$ac_i"'$U.lo'
17585 done
17586 LIBOBJS=$ac_libobjs
17588 LTLIBOBJS=$ac_ltlibobjs
17592 : "${CONFIG_STATUS=./config.status}"
17593 ac_write_fail=0
17594 ac_clean_files_save=$ac_clean_files
17595 ac_clean_files="$ac_clean_files $CONFIG_STATUS"
17596 { $as_echo "$as_me:${as_lineno-$LINENO}: creating $CONFIG_STATUS" >&5
17597 $as_echo "$as_me: creating $CONFIG_STATUS" >&6;}
17598 as_write_fail=0
17599 cat >$CONFIG_STATUS <<_ASEOF || as_write_fail=1
17600 #! $SHELL
17601 # Generated by $as_me.
17602 # Run this file to recreate the current configuration.
17603 # Compiler output produced by configure, useful for debugging
17604 # configure, is in config.log if it exists.
17606 debug=false
17607 ac_cs_recheck=false
17608 ac_cs_silent=false
17610 SHELL=\${CONFIG_SHELL-$SHELL}
17611 export SHELL
17612 _ASEOF
17613 cat >>$CONFIG_STATUS <<\_ASEOF || as_write_fail=1
17614 ## -------------------- ##
17615 ## M4sh Initialization. ##
17616 ## -------------------- ##
17618 # Be more Bourne compatible
17619 DUALCASE=1; export DUALCASE # for MKS sh
17620 if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then :
17621 emulate sh
17622 NULLCMD=:
17623 # Pre-4.2 versions of Zsh do word splitting on ${1+"$@"}, which
17624 # is contrary to our usage. Disable this feature.
17625 alias -g '${1+"$@"}'='"$@"'
17626 setopt NO_GLOB_SUBST
17627 else
17628 case `(set -o) 2>/dev/null` in #(
17629 *posix*) :
17630 set -o posix ;; #(
17631 *) :
17633 esac
17637 as_nl='
17639 export as_nl
17640 # Printing a long string crashes Solaris 7 /usr/bin/printf.
17641 as_echo='\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\'
17642 as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo
17643 as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo$as_echo
17644 # Prefer a ksh shell builtin over an external printf program on Solaris,
17645 # but without wasting forks for bash or zsh.
17646 if test -z "$BASH_VERSION$ZSH_VERSION" \
17647 && (test "X`print -r -- $as_echo`" = "X$as_echo") 2>/dev/null; then
17648 as_echo='print -r --'
17649 as_echo_n='print -rn --'
17650 elif (test "X`printf %s $as_echo`" = "X$as_echo") 2>/dev/null; then
17651 as_echo='printf %s\n'
17652 as_echo_n='printf %s'
17653 else
17654 if test "X`(/usr/ucb/echo -n -n $as_echo) 2>/dev/null`" = "X-n $as_echo"; then
17655 as_echo_body='eval /usr/ucb/echo -n "$1$as_nl"'
17656 as_echo_n='/usr/ucb/echo -n'
17657 else
17658 as_echo_body='eval expr "X$1" : "X\\(.*\\)"'
17659 as_echo_n_body='eval
17660 arg=$1;
17661 case $arg in #(
17662 *"$as_nl"*)
17663 expr "X$arg" : "X\\(.*\\)$as_nl";
17664 arg=`expr "X$arg" : ".*$as_nl\\(.*\\)"`;;
17665 esac;
17666 expr "X$arg" : "X\\(.*\\)" | tr -d "$as_nl"
17668 export as_echo_n_body
17669 as_echo_n='sh -c $as_echo_n_body as_echo'
17671 export as_echo_body
17672 as_echo='sh -c $as_echo_body as_echo'
17675 # The user is always right.
17676 if test "${PATH_SEPARATOR+set}" != set; then
17677 PATH_SEPARATOR=:
17678 (PATH='/bin;/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 && {
17679 (PATH='/bin:/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 ||
17680 PATH_SEPARATOR=';'
17685 # IFS
17686 # We need space, tab and new line, in precisely that order. Quoting is
17687 # there to prevent editors from complaining about space-tab.
17688 # (If _AS_PATH_WALK were called with IFS unset, it would disable word
17689 # splitting by setting IFS to empty value.)
17690 IFS=" "" $as_nl"
17692 # Find who we are. Look in the path if we contain no directory separator.
17693 as_myself=
17694 case $0 in #((
17695 *[\\/]* ) as_myself=$0 ;;
17696 *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
17697 for as_dir in $PATH
17699 IFS=$as_save_IFS
17700 test -z "$as_dir" && as_dir=.
17701 test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break
17702 done
17703 IFS=$as_save_IFS
17706 esac
17707 # We did not find ourselves, most probably we were run as `sh COMMAND'
17708 # in which case we are not to be found in the path.
17709 if test "x$as_myself" = x; then
17710 as_myself=$0
17712 if test ! -f "$as_myself"; then
17713 $as_echo "$as_myself: error: cannot find myself; rerun with an absolute file name" >&2
17714 exit 1
17717 # Unset variables that we do not need and which cause bugs (e.g. in
17718 # pre-3.0 UWIN ksh). But do not cause bugs in bash 2.01; the "|| exit 1"
17719 # suppresses any "Segmentation fault" message there. '((' could
17720 # trigger a bug in pdksh 5.2.14.
17721 for as_var in BASH_ENV ENV MAIL MAILPATH
17722 do eval test x\${$as_var+set} = xset \
17723 && ( (unset $as_var) || exit 1) >/dev/null 2>&1 && unset $as_var || :
17724 done
17725 PS1='$ '
17726 PS2='> '
17727 PS4='+ '
17729 # NLS nuisances.
17730 LC_ALL=C
17731 export LC_ALL
17732 LANGUAGE=C
17733 export LANGUAGE
17735 # CDPATH.
17736 (unset CDPATH) >/dev/null 2>&1 && unset CDPATH
17739 # as_fn_error STATUS ERROR [LINENO LOG_FD]
17740 # ----------------------------------------
17741 # Output "`basename $0`: error: ERROR" to stderr. If LINENO and LOG_FD are
17742 # provided, also output the error to LOG_FD, referencing LINENO. Then exit the
17743 # script with STATUS, using 1 if that was 0.
17744 as_fn_error ()
17746 as_status=$1; test $as_status -eq 0 && as_status=1
17747 if test "$4"; then
17748 as_lineno=${as_lineno-"$3"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
17749 $as_echo "$as_me:${as_lineno-$LINENO}: error: $2" >&$4
17751 $as_echo "$as_me: error: $2" >&2
17752 as_fn_exit $as_status
17753 } # as_fn_error
17756 # as_fn_set_status STATUS
17757 # -----------------------
17758 # Set $? to STATUS, without forking.
17759 as_fn_set_status ()
17761 return $1
17762 } # as_fn_set_status
17764 # as_fn_exit STATUS
17765 # -----------------
17766 # Exit the shell with STATUS, even in a "trap 0" or "set -e" context.
17767 as_fn_exit ()
17769 set +e
17770 as_fn_set_status $1
17771 exit $1
17772 } # as_fn_exit
17774 # as_fn_unset VAR
17775 # ---------------
17776 # Portably unset VAR.
17777 as_fn_unset ()
17779 { eval $1=; unset $1;}
17781 as_unset=as_fn_unset
17782 # as_fn_append VAR VALUE
17783 # ----------------------
17784 # Append the text in VALUE to the end of the definition contained in VAR. Take
17785 # advantage of any shell optimizations that allow amortized linear growth over
17786 # repeated appends, instead of the typical quadratic growth present in naive
17787 # implementations.
17788 if (eval "as_var=1; as_var+=2; test x\$as_var = x12") 2>/dev/null; then :
17789 eval 'as_fn_append ()
17791 eval $1+=\$2
17793 else
17794 as_fn_append ()
17796 eval $1=\$$1\$2
17798 fi # as_fn_append
17800 # as_fn_arith ARG...
17801 # ------------------
17802 # Perform arithmetic evaluation on the ARGs, and store the result in the
17803 # global $as_val. Take advantage of shells that can avoid forks. The arguments
17804 # must be portable across $(()) and expr.
17805 if (eval "test \$(( 1 + 1 )) = 2") 2>/dev/null; then :
17806 eval 'as_fn_arith ()
17808 as_val=$(( $* ))
17810 else
17811 as_fn_arith ()
17813 as_val=`expr "$@" || test $? -eq 1`
17815 fi # as_fn_arith
17818 if expr a : '\(a\)' >/dev/null 2>&1 &&
17819 test "X`expr 00001 : '.*\(...\)'`" = X001; then
17820 as_expr=expr
17821 else
17822 as_expr=false
17825 if (basename -- /) >/dev/null 2>&1 && test "X`basename -- / 2>&1`" = "X/"; then
17826 as_basename=basename
17827 else
17828 as_basename=false
17831 if (as_dir=`dirname -- /` && test "X$as_dir" = X/) >/dev/null 2>&1; then
17832 as_dirname=dirname
17833 else
17834 as_dirname=false
17837 as_me=`$as_basename -- "$0" ||
17838 $as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
17839 X"$0" : 'X\(//\)$' \| \
17840 X"$0" : 'X\(/\)' \| . 2>/dev/null ||
17841 $as_echo X/"$0" |
17842 sed '/^.*\/\([^/][^/]*\)\/*$/{
17843 s//\1/
17846 /^X\/\(\/\/\)$/{
17847 s//\1/
17850 /^X\/\(\/\).*/{
17851 s//\1/
17854 s/.*/./; q'`
17856 # Avoid depending upon Character Ranges.
17857 as_cr_letters='abcdefghijklmnopqrstuvwxyz'
17858 as_cr_LETTERS='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
17859 as_cr_Letters=$as_cr_letters$as_cr_LETTERS
17860 as_cr_digits='0123456789'
17861 as_cr_alnum=$as_cr_Letters$as_cr_digits
17863 ECHO_C= ECHO_N= ECHO_T=
17864 case `echo -n x` in #(((((
17865 -n*)
17866 case `echo 'xy\c'` in
17867 *c*) ECHO_T=' ';; # ECHO_T is single tab character.
17868 xy) ECHO_C='\c';;
17869 *) echo `echo ksh88 bug on AIX 6.1` > /dev/null
17870 ECHO_T=' ';;
17871 esac;;
17873 ECHO_N='-n';;
17874 esac
17876 rm -f conf$$ conf$$.exe conf$$.file
17877 if test -d conf$$.dir; then
17878 rm -f conf$$.dir/conf$$.file
17879 else
17880 rm -f conf$$.dir
17881 mkdir conf$$.dir 2>/dev/null
17883 if (echo >conf$$.file) 2>/dev/null; then
17884 if ln -s conf$$.file conf$$ 2>/dev/null; then
17885 as_ln_s='ln -s'
17886 # ... but there are two gotchas:
17887 # 1) On MSYS, both `ln -s file dir' and `ln file dir' fail.
17888 # 2) DJGPP < 2.04 has no symlinks; `ln -s' creates a wrapper executable.
17889 # In both cases, we have to default to `cp -pR'.
17890 ln -s conf$$.file conf$$.dir 2>/dev/null && test ! -f conf$$.exe ||
17891 as_ln_s='cp -pR'
17892 elif ln conf$$.file conf$$ 2>/dev/null; then
17893 as_ln_s=ln
17894 else
17895 as_ln_s='cp -pR'
17897 else
17898 as_ln_s='cp -pR'
17900 rm -f conf$$ conf$$.exe conf$$.dir/conf$$.file conf$$.file
17901 rmdir conf$$.dir 2>/dev/null
17904 # as_fn_mkdir_p
17905 # -------------
17906 # Create "$as_dir" as a directory, including parents if necessary.
17907 as_fn_mkdir_p ()
17910 case $as_dir in #(
17911 -*) as_dir=./$as_dir;;
17912 esac
17913 test -d "$as_dir" || eval $as_mkdir_p || {
17914 as_dirs=
17915 while :; do
17916 case $as_dir in #(
17917 *\'*) as_qdir=`$as_echo "$as_dir" | sed "s/'/'\\\\\\\\''/g"`;; #'(
17918 *) as_qdir=$as_dir;;
17919 esac
17920 as_dirs="'$as_qdir' $as_dirs"
17921 as_dir=`$as_dirname -- "$as_dir" ||
17922 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
17923 X"$as_dir" : 'X\(//\)[^/]' \| \
17924 X"$as_dir" : 'X\(//\)$' \| \
17925 X"$as_dir" : 'X\(/\)' \| . 2>/dev/null ||
17926 $as_echo X"$as_dir" |
17927 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
17928 s//\1/
17931 /^X\(\/\/\)[^/].*/{
17932 s//\1/
17935 /^X\(\/\/\)$/{
17936 s//\1/
17939 /^X\(\/\).*/{
17940 s//\1/
17943 s/.*/./; q'`
17944 test -d "$as_dir" && break
17945 done
17946 test -z "$as_dirs" || eval "mkdir $as_dirs"
17947 } || test -d "$as_dir" || as_fn_error $? "cannot create directory $as_dir"
17950 } # as_fn_mkdir_p
17951 if mkdir -p . 2>/dev/null; then
17952 as_mkdir_p='mkdir -p "$as_dir"'
17953 else
17954 test -d ./-p && rmdir ./-p
17955 as_mkdir_p=false
17959 # as_fn_executable_p FILE
17960 # -----------------------
17961 # Test if FILE is an executable regular file.
17962 as_fn_executable_p ()
17964 test -f "$1" && test -x "$1"
17965 } # as_fn_executable_p
17966 as_test_x='test -x'
17967 as_executable_p=as_fn_executable_p
17969 # Sed expression to map a string onto a valid CPP name.
17970 as_tr_cpp="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'"
17972 # Sed expression to map a string onto a valid variable name.
17973 as_tr_sh="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'"
17976 exec 6>&1
17977 ## ----------------------------------- ##
17978 ## Main body of $CONFIG_STATUS script. ##
17979 ## ----------------------------------- ##
17980 _ASEOF
17981 test $as_write_fail = 0 && chmod +x $CONFIG_STATUS || ac_write_fail=1
17983 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
17984 # Save the log message, to keep $0 and so on meaningful, and to
17985 # report actual input values of CONFIG_FILES etc. instead of their
17986 # values after options handling.
17987 ac_log="
17988 This file was extended by Wine $as_me 1.7.5, which was
17989 generated by GNU Autoconf 2.69. Invocation command line was
17991 CONFIG_FILES = $CONFIG_FILES
17992 CONFIG_HEADERS = $CONFIG_HEADERS
17993 CONFIG_LINKS = $CONFIG_LINKS
17994 CONFIG_COMMANDS = $CONFIG_COMMANDS
17995 $ $0 $@
17997 on `(hostname || uname -n) 2>/dev/null | sed 1q`
18000 _ACEOF
18002 case $ac_config_files in *"
18003 "*) set x $ac_config_files; shift; ac_config_files=$*;;
18004 esac
18006 case $ac_config_headers in *"
18007 "*) set x $ac_config_headers; shift; ac_config_headers=$*;;
18008 esac
18011 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
18012 # Files that config.status was made for.
18013 config_files="$ac_config_files"
18014 config_headers="$ac_config_headers"
18015 config_links="$ac_config_links"
18016 config_commands="$ac_config_commands"
18018 _ACEOF
18020 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
18021 ac_cs_usage="\
18022 \`$as_me' instantiates files and other configuration actions
18023 from templates according to the current configuration. Unless the files
18024 and actions are specified as TAGs, all are instantiated by default.
18026 Usage: $0 [OPTION]... [TAG]...
18028 -h, --help print this help, then exit
18029 -V, --version print version number and configuration settings, then exit
18030 --config print configuration, then exit
18031 -q, --quiet, --silent
18032 do not print progress messages
18033 -d, --debug don't remove temporary files
18034 --recheck update $as_me by reconfiguring in the same conditions
18035 --file=FILE[:TEMPLATE]
18036 instantiate the configuration file FILE
18037 --header=FILE[:TEMPLATE]
18038 instantiate the configuration header FILE
18040 Configuration files:
18041 $config_files
18043 Configuration headers:
18044 $config_headers
18046 Configuration links:
18047 $config_links
18049 Configuration commands:
18050 $config_commands
18052 Report bugs to <wine-devel@winehq.org>.
18053 Wine home page: <http://www.winehq.org>."
18055 _ACEOF
18056 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
18057 ac_cs_config="`$as_echo "$ac_configure_args" | sed 's/^ //; s/[\\""\`\$]/\\\\&/g'`"
18058 ac_cs_version="\\
18059 Wine config.status 1.7.5
18060 configured by $0, generated by GNU Autoconf 2.69,
18061 with options \\"\$ac_cs_config\\"
18063 Copyright (C) 2012 Free Software Foundation, Inc.
18064 This config.status script is free software; the Free Software Foundation
18065 gives unlimited permission to copy, distribute and modify it."
18067 ac_pwd='$ac_pwd'
18068 srcdir='$srcdir'
18069 INSTALL='$INSTALL'
18070 MKDIR_P='$MKDIR_P'
18071 test -n "\$AWK" || AWK=awk
18072 _ACEOF
18074 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
18075 # The default lists apply if the user does not specify any file.
18076 ac_need_defaults=:
18077 while test $# != 0
18079 case $1 in
18080 --*=?*)
18081 ac_option=`expr "X$1" : 'X\([^=]*\)='`
18082 ac_optarg=`expr "X$1" : 'X[^=]*=\(.*\)'`
18083 ac_shift=:
18085 --*=)
18086 ac_option=`expr "X$1" : 'X\([^=]*\)='`
18087 ac_optarg=
18088 ac_shift=:
18091 ac_option=$1
18092 ac_optarg=$2
18093 ac_shift=shift
18095 esac
18097 case $ac_option in
18098 # Handling of the options.
18099 -recheck | --recheck | --rechec | --reche | --rech | --rec | --re | --r)
18100 ac_cs_recheck=: ;;
18101 --version | --versio | --versi | --vers | --ver | --ve | --v | -V )
18102 $as_echo "$ac_cs_version"; exit ;;
18103 --config | --confi | --conf | --con | --co | --c )
18104 $as_echo "$ac_cs_config"; exit ;;
18105 --debug | --debu | --deb | --de | --d | -d )
18106 debug=: ;;
18107 --file | --fil | --fi | --f )
18108 $ac_shift
18109 case $ac_optarg in
18110 *\'*) ac_optarg=`$as_echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"` ;;
18111 '') as_fn_error $? "missing file argument" ;;
18112 esac
18113 as_fn_append CONFIG_FILES " '$ac_optarg'"
18114 ac_need_defaults=false;;
18115 --header | --heade | --head | --hea )
18116 $ac_shift
18117 case $ac_optarg in
18118 *\'*) ac_optarg=`$as_echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"` ;;
18119 esac
18120 as_fn_append CONFIG_HEADERS " '$ac_optarg'"
18121 ac_need_defaults=false;;
18122 --he | --h)
18123 # Conflict between --help and --header
18124 as_fn_error $? "ambiguous option: \`$1'
18125 Try \`$0 --help' for more information.";;
18126 --help | --hel | -h )
18127 $as_echo "$ac_cs_usage"; exit ;;
18128 -q | -quiet | --quiet | --quie | --qui | --qu | --q \
18129 | -silent | --silent | --silen | --sile | --sil | --si | --s)
18130 ac_cs_silent=: ;;
18132 # This is an error.
18133 -*) as_fn_error $? "unrecognized option: \`$1'
18134 Try \`$0 --help' for more information." ;;
18136 *) as_fn_append ac_config_targets " $1"
18137 ac_need_defaults=false ;;
18139 esac
18140 shift
18141 done
18143 ac_configure_extra_args=
18145 if $ac_cs_silent; then
18146 exec 6>/dev/null
18147 ac_configure_extra_args="$ac_configure_extra_args --silent"
18150 _ACEOF
18151 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
18152 if \$ac_cs_recheck; then
18153 set X $SHELL '$0' $ac_configure_args \$ac_configure_extra_args --no-create --no-recursion
18154 shift
18155 \$as_echo "running CONFIG_SHELL=$SHELL \$*" >&6
18156 CONFIG_SHELL='$SHELL'
18157 export CONFIG_SHELL
18158 exec "\$@"
18161 _ACEOF
18162 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
18163 exec 5>>config.log
18165 echo
18166 sed 'h;s/./-/g;s/^.../## /;s/...$/ ##/;p;x;p;x' <<_ASBOX
18167 ## Running $as_me. ##
18168 _ASBOX
18169 $as_echo "$ac_log"
18170 } >&5
18172 _ACEOF
18173 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
18175 # INIT-COMMANDS
18177 wine_fn_output_makefile ()
18179 cat Make.tmp - <<\_WINE_EOF >\$tmp/makefile && mv -f \$tmp/makefile \$1 && rm -f Make.tmp && return
18180 `cat $wine_rules_file`
18181 _WINE_EOF
18182 as_fn_error $? "could not create Makefile" "$LINENO" 5
18185 _ACEOF
18187 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
18189 # Handling of arguments.
18190 for ac_config_target in $ac_config_targets
18192 case $ac_config_target in
18193 "include/config.h") CONFIG_HEADERS="$CONFIG_HEADERS include/config.h" ;;
18194 "include/stamp-h") CONFIG_COMMANDS="$CONFIG_COMMANDS include/stamp-h" ;;
18195 "dlls/shell32/AUTHORS") CONFIG_LINKS="$CONFIG_LINKS dlls/shell32/AUTHORS:AUTHORS" ;;
18196 "fonts/marlett.ttf") CONFIG_LINKS="$CONFIG_LINKS fonts/marlett.ttf:fonts/marlett.ttf" ;;
18197 "fonts/symbol.ttf") CONFIG_LINKS="$CONFIG_LINKS fonts/symbol.ttf:fonts/symbol.ttf" ;;
18198 "fonts/tahoma.ttf") CONFIG_LINKS="$CONFIG_LINKS fonts/tahoma.ttf:fonts/tahoma.ttf" ;;
18199 "fonts/tahomabd.ttf") CONFIG_LINKS="$CONFIG_LINKS fonts/tahomabd.ttf:fonts/tahomabd.ttf" ;;
18200 "loader/l_intl.nls") CONFIG_LINKS="$CONFIG_LINKS loader/l_intl.nls:loader/l_intl.nls" ;;
18201 "po/LINGUAS") CONFIG_LINKS="$CONFIG_LINKS po/LINGUAS:po/LINGUAS" ;;
18202 "wine") CONFIG_LINKS="$CONFIG_LINKS wine:tools/winewrapper" ;;
18203 "wine64") CONFIG_LINKS="$CONFIG_LINKS wine64:tools/winewrapper" ;;
18204 "dlls/gdi32/dibdrv") CONFIG_COMMANDS="$CONFIG_COMMANDS dlls/gdi32/dibdrv" ;;
18205 "dlls/gdi32/enhmfdrv") CONFIG_COMMANDS="$CONFIG_COMMANDS dlls/gdi32/enhmfdrv" ;;
18206 "dlls/gdi32/mfdrv") CONFIG_COMMANDS="$CONFIG_COMMANDS dlls/gdi32/mfdrv" ;;
18207 "dlls/kernel32/nls") CONFIG_COMMANDS="$CONFIG_COMMANDS dlls/kernel32/nls" ;;
18208 "dlls/user32/resources") CONFIG_COMMANDS="$CONFIG_COMMANDS dlls/user32/resources" ;;
18209 "dlls/wineps.drv/data") CONFIG_COMMANDS="$CONFIG_COMMANDS dlls/wineps.drv/data" ;;
18210 "include/wine") CONFIG_COMMANDS="$CONFIG_COMMANDS include/wine" ;;
18211 "Make.rules") CONFIG_FILES="$CONFIG_FILES Make.rules" ;;
18212 "Makefile") CONFIG_COMMANDS="$CONFIG_COMMANDS Makefile" ;;
18213 "Make.tmp") CONFIG_FILES="$CONFIG_FILES Make.tmp:Make.vars.in:Makefile.in" ;;
18214 "tools") CONFIG_COMMANDS="$CONFIG_COMMANDS tools" ;;
18216 *) as_fn_error $? "invalid argument: \`$ac_config_target'" "$LINENO" 5;;
18217 esac
18218 done
18221 # If the user did not use the arguments to specify the items to instantiate,
18222 # then the envvar interface is used. Set only those that are not.
18223 # We use the long form for the default assignment because of an extremely
18224 # bizarre bug on SunOS 4.1.3.
18225 if $ac_need_defaults; then
18226 test "${CONFIG_FILES+set}" = set || CONFIG_FILES=$config_files
18227 test "${CONFIG_HEADERS+set}" = set || CONFIG_HEADERS=$config_headers
18228 test "${CONFIG_LINKS+set}" = set || CONFIG_LINKS=$config_links
18229 test "${CONFIG_COMMANDS+set}" = set || CONFIG_COMMANDS=$config_commands
18232 # Have a temporary directory for convenience. Make it in the build tree
18233 # simply because there is no reason against having it here, and in addition,
18234 # creating and moving files from /tmp can sometimes cause problems.
18235 # Hook for its removal unless debugging.
18236 # Note that there is a small window in which the directory will not be cleaned:
18237 # after its creation but before its name has been assigned to `$tmp'.
18238 $debug ||
18240 tmp= ac_tmp=
18241 trap 'exit_status=$?
18242 : "${ac_tmp:=$tmp}"
18243 { test ! -d "$ac_tmp" || rm -fr "$ac_tmp"; } && exit $exit_status
18245 trap 'as_fn_exit 1' 1 2 13 15
18247 # Create a (secure) tmp directory for tmp files.
18250 tmp=`(umask 077 && mktemp -d "./confXXXXXX") 2>/dev/null` &&
18251 test -d "$tmp"
18252 } ||
18254 tmp=./conf$$-$RANDOM
18255 (umask 077 && mkdir "$tmp")
18256 } || as_fn_error $? "cannot create a temporary directory in ." "$LINENO" 5
18257 ac_tmp=$tmp
18259 # Set up the scripts for CONFIG_FILES section.
18260 # No need to generate them if there are no CONFIG_FILES.
18261 # This happens for instance with `./config.status config.h'.
18262 if test -n "$CONFIG_FILES"; then
18264 if $AWK 'BEGIN { getline <"/dev/null" }' </dev/null 2>/dev/null; then
18265 ac_cs_awk_getline=:
18266 ac_cs_awk_pipe_init=
18267 ac_cs_awk_read_file='
18268 while ((getline aline < (F[key])) > 0)
18269 print(aline)
18270 close(F[key])'
18271 ac_cs_awk_pipe_fini=
18272 else
18273 ac_cs_awk_getline=false
18274 ac_cs_awk_pipe_init="print \"cat <<'|#_!!_#|' &&\""
18275 ac_cs_awk_read_file='
18276 print "|#_!!_#|"
18277 print "cat " F[key] " &&"
18278 '$ac_cs_awk_pipe_init
18279 # The final `:' finishes the AND list.
18280 ac_cs_awk_pipe_fini='END { print "|#_!!_#|"; print ":" }'
18282 ac_cr=`echo X | tr X '\015'`
18283 # On cygwin, bash can eat \r inside `` if the user requested igncr.
18284 # But we know of no other shell where ac_cr would be empty at this
18285 # point, so we can use a bashism as a fallback.
18286 if test "x$ac_cr" = x; then
18287 eval ac_cr=\$\'\\r\'
18289 ac_cs_awk_cr=`$AWK 'BEGIN { print "a\rb" }' </dev/null 2>/dev/null`
18290 if test "$ac_cs_awk_cr" = "a${ac_cr}b"; then
18291 ac_cs_awk_cr='\\r'
18292 else
18293 ac_cs_awk_cr=$ac_cr
18296 echo 'BEGIN {' >"$ac_tmp/subs1.awk" &&
18297 _ACEOF
18299 # Create commands to substitute file output variables.
18301 echo "cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1" &&
18302 echo 'cat >>"\$ac_tmp/subs1.awk" <<\\_ACAWK &&' &&
18303 echo "$ac_subst_files" | sed 's/.*/F["&"]="$&"/' &&
18304 echo "_ACAWK" &&
18305 echo "_ACEOF"
18306 } >conf$$files.sh &&
18307 . ./conf$$files.sh ||
18308 as_fn_error $? "could not make $CONFIG_STATUS" "$LINENO" 5
18309 rm -f conf$$files.sh
18312 echo "cat >conf$$subs.awk <<_ACEOF" &&
18313 echo "$ac_subst_vars" | sed 's/.*/&!$&$ac_delim/' &&
18314 echo "_ACEOF"
18315 } >conf$$subs.sh ||
18316 as_fn_error $? "could not make $CONFIG_STATUS" "$LINENO" 5
18317 ac_delim_num=`echo "$ac_subst_vars" | grep -c '^'`
18318 ac_delim='%!_!# '
18319 for ac_last_try in false false false false false :; do
18320 . ./conf$$subs.sh ||
18321 as_fn_error $? "could not make $CONFIG_STATUS" "$LINENO" 5
18323 ac_delim_n=`sed -n "s/.*$ac_delim\$/X/p" conf$$subs.awk | grep -c X`
18324 if test $ac_delim_n = $ac_delim_num; then
18325 break
18326 elif $ac_last_try; then
18327 as_fn_error $? "could not make $CONFIG_STATUS" "$LINENO" 5
18328 else
18329 ac_delim="$ac_delim!$ac_delim _$ac_delim!! "
18331 done
18332 rm -f conf$$subs.sh
18334 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
18335 cat >>"\$ac_tmp/subs1.awk" <<\\_ACAWK &&
18336 _ACEOF
18337 sed -n '
18339 s/^/S["/; s/!.*/"]=/
18342 s/^[^!]*!//
18343 :repl
18344 t repl
18345 s/'"$ac_delim"'$//
18346 t delim
18349 s/\(.\{148\}\)..*/\1/
18350 t more1
18351 s/["\\]/\\&/g; s/^/"/; s/$/\\n"\\/
18354 b repl
18355 :more1
18356 s/["\\]/\\&/g; s/^/"/; s/$/"\\/
18359 s/.\{148\}//
18360 t nl
18361 :delim
18363 s/\(.\{148\}\)..*/\1/
18364 t more2
18365 s/["\\]/\\&/g; s/^/"/; s/$/"/
18368 :more2
18369 s/["\\]/\\&/g; s/^/"/; s/$/"\\/
18372 s/.\{148\}//
18373 t delim
18374 ' <conf$$subs.awk | sed '
18375 /^[^""]/{
18377 s/\n//
18379 ' >>$CONFIG_STATUS || ac_write_fail=1
18380 rm -f conf$$subs.awk
18381 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
18382 _ACAWK
18383 cat >>"\$ac_tmp/subs1.awk" <<_ACAWK &&
18384 for (key in S) S_is_set[key] = 1
18385 FS = "\a"
18386 \$ac_cs_awk_pipe_init
18389 line = $ 0
18390 nfields = split(line, field, "@")
18391 substed = 0
18392 len = length(field[1])
18393 for (i = 2; i < nfields; i++) {
18394 key = field[i]
18395 keylen = length(key)
18396 if (S_is_set[key]) {
18397 value = S[key]
18398 line = substr(line, 1, len) "" value "" substr(line, len + keylen + 3)
18399 len += length(value) + length(field[++i])
18400 substed = 1
18401 } else
18402 len += 1 + keylen
18404 if (nfields == 3 && !substed) {
18405 key = field[2]
18406 if (F[key] != "" && line ~ /^[ ]*@.*@[ ]*$/) {
18407 \$ac_cs_awk_read_file
18408 next
18411 print line
18413 \$ac_cs_awk_pipe_fini
18414 _ACAWK
18415 _ACEOF
18416 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
18417 if sed "s/$ac_cr//" < /dev/null > /dev/null 2>&1; then
18418 sed "s/$ac_cr\$//; s/$ac_cr/$ac_cs_awk_cr/g"
18419 else
18421 fi < "$ac_tmp/subs1.awk" > "$ac_tmp/subs.awk" \
18422 || as_fn_error $? "could not setup config files machinery" "$LINENO" 5
18423 _ACEOF
18425 # VPATH may cause trouble with some makes, so we remove sole $(srcdir),
18426 # ${srcdir} and @srcdir@ entries from VPATH if srcdir is ".", strip leading and
18427 # trailing colons and then remove the whole line if VPATH becomes empty
18428 # (actually we leave an empty line to preserve line numbers).
18429 if test "x$srcdir" = x.; then
18430 ac_vpsub='/^[ ]*VPATH[ ]*=[ ]*/{
18432 s///
18433 s/^/:/
18434 s/[ ]*$/:/
18435 s/:\$(srcdir):/:/g
18436 s/:\${srcdir}:/:/g
18437 s/:@srcdir@:/:/g
18438 s/^:*//
18439 s/:*$//
18441 s/\(=[ ]*\).*/\1/
18443 s/\n//
18444 s/^[^=]*=[ ]*$//
18448 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
18449 fi # test -n "$CONFIG_FILES"
18451 # Set up the scripts for CONFIG_HEADERS section.
18452 # No need to generate them if there are no CONFIG_HEADERS.
18453 # This happens for instance with `./config.status Makefile'.
18454 if test -n "$CONFIG_HEADERS"; then
18455 cat >"$ac_tmp/defines.awk" <<\_ACAWK ||
18456 BEGIN {
18457 _ACEOF
18459 # Transform confdefs.h into an awk script `defines.awk', embedded as
18460 # here-document in config.status, that substitutes the proper values into
18461 # config.h.in to produce config.h.
18463 # Create a delimiter string that does not exist in confdefs.h, to ease
18464 # handling of long lines.
18465 ac_delim='%!_!# '
18466 for ac_last_try in false false :; do
18467 ac_tt=`sed -n "/$ac_delim/p" confdefs.h`
18468 if test -z "$ac_tt"; then
18469 break
18470 elif $ac_last_try; then
18471 as_fn_error $? "could not make $CONFIG_HEADERS" "$LINENO" 5
18472 else
18473 ac_delim="$ac_delim!$ac_delim _$ac_delim!! "
18475 done
18477 # For the awk script, D is an array of macro values keyed by name,
18478 # likewise P contains macro parameters if any. Preserve backslash
18479 # newline sequences.
18481 ac_word_re=[_$as_cr_Letters][_$as_cr_alnum]*
18482 sed -n '
18483 s/.\{148\}/&'"$ac_delim"'/g
18484 t rset
18485 :rset
18486 s/^[ ]*#[ ]*define[ ][ ]*/ /
18487 t def
18489 :def
18490 s/\\$//
18491 t bsnl
18492 s/["\\]/\\&/g
18493 s/^ \('"$ac_word_re"'\)\(([^()]*)\)[ ]*\(.*\)/P["\1"]="\2"\
18494 D["\1"]=" \3"/p
18495 s/^ \('"$ac_word_re"'\)[ ]*\(.*\)/D["\1"]=" \2"/p
18497 :bsnl
18498 s/["\\]/\\&/g
18499 s/^ \('"$ac_word_re"'\)\(([^()]*)\)[ ]*\(.*\)/P["\1"]="\2"\
18500 D["\1"]=" \3\\\\\\n"\\/p
18501 t cont
18502 s/^ \('"$ac_word_re"'\)[ ]*\(.*\)/D["\1"]=" \2\\\\\\n"\\/p
18503 t cont
18505 :cont
18507 s/.\{148\}/&'"$ac_delim"'/g
18508 t clear
18509 :clear
18510 s/\\$//
18511 t bsnlc
18512 s/["\\]/\\&/g; s/^/"/; s/$/"/p
18514 :bsnlc
18515 s/["\\]/\\&/g; s/^/"/; s/$/\\\\\\n"\\/p
18516 b cont
18517 ' <confdefs.h | sed '
18518 s/'"$ac_delim"'/"\\\
18519 "/g' >>$CONFIG_STATUS || ac_write_fail=1
18521 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
18522 for (key in D) D_is_set[key] = 1
18523 FS = "\a"
18525 /^[\t ]*#[\t ]*(define|undef)[\t ]+$ac_word_re([\t (]|\$)/ {
18526 line = \$ 0
18527 split(line, arg, " ")
18528 if (arg[1] == "#") {
18529 defundef = arg[2]
18530 mac1 = arg[3]
18531 } else {
18532 defundef = substr(arg[1], 2)
18533 mac1 = arg[2]
18535 split(mac1, mac2, "(") #)
18536 macro = mac2[1]
18537 prefix = substr(line, 1, index(line, defundef) - 1)
18538 if (D_is_set[macro]) {
18539 # Preserve the white space surrounding the "#".
18540 print prefix "define", macro P[macro] D[macro]
18541 next
18542 } else {
18543 # Replace #undef with comments. This is necessary, for example,
18544 # in the case of _POSIX_SOURCE, which is predefined and required
18545 # on some systems where configure will not decide to define it.
18546 if (defundef == "undef") {
18547 print "/*", prefix defundef, macro, "*/"
18548 next
18552 { print }
18553 _ACAWK
18554 _ACEOF
18555 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
18556 as_fn_error $? "could not setup config headers machinery" "$LINENO" 5
18557 fi # test -n "$CONFIG_HEADERS"
18560 eval set X " :F $CONFIG_FILES :H $CONFIG_HEADERS :L $CONFIG_LINKS :C $CONFIG_COMMANDS"
18561 shift
18562 for ac_tag
18564 case $ac_tag in
18565 :[FHLC]) ac_mode=$ac_tag; continue;;
18566 esac
18567 case $ac_mode$ac_tag in
18568 :[FHL]*:*);;
18569 :L* | :C*:*) as_fn_error $? "invalid tag \`$ac_tag'" "$LINENO" 5;;
18570 :[FH]-) ac_tag=-:-;;
18571 :[FH]*) ac_tag=$ac_tag:$ac_tag.in;;
18572 esac
18573 ac_save_IFS=$IFS
18574 IFS=:
18575 set x $ac_tag
18576 IFS=$ac_save_IFS
18577 shift
18578 ac_file=$1
18579 shift
18581 case $ac_mode in
18582 :L) ac_source=$1;;
18583 :[FH])
18584 ac_file_inputs=
18585 for ac_f
18587 case $ac_f in
18588 -) ac_f="$ac_tmp/stdin";;
18589 *) # Look for the file first in the build tree, then in the source tree
18590 # (if the path is not absolute). The absolute path cannot be DOS-style,
18591 # because $ac_f cannot contain `:'.
18592 test -f "$ac_f" ||
18593 case $ac_f in
18594 [\\/$]*) false;;
18595 *) test -f "$srcdir/$ac_f" && ac_f="$srcdir/$ac_f";;
18596 esac ||
18597 as_fn_error 1 "cannot find input file: \`$ac_f'" "$LINENO" 5;;
18598 esac
18599 case $ac_f in *\'*) ac_f=`$as_echo "$ac_f" | sed "s/'/'\\\\\\\\''/g"`;; esac
18600 as_fn_append ac_file_inputs " '$ac_f'"
18601 done
18603 # Let's still pretend it is `configure' which instantiates (i.e., don't
18604 # use $as_me), people would be surprised to read:
18605 # /* config.h. Generated by config.status. */
18606 configure_input='Generated from '`
18607 $as_echo "$*" | sed 's|^[^:]*/||;s|:[^:]*/|, |g'
18608 `' by configure.'
18609 if test x"$ac_file" != x-; then
18610 configure_input="$ac_file. $configure_input"
18611 { $as_echo "$as_me:${as_lineno-$LINENO}: creating $ac_file" >&5
18612 $as_echo "$as_me: creating $ac_file" >&6;}
18614 # Neutralize special characters interpreted by sed in replacement strings.
18615 case $configure_input in #(
18616 *\&* | *\|* | *\\* )
18617 ac_sed_conf_input=`$as_echo "$configure_input" |
18618 sed 's/[\\\\&|]/\\\\&/g'`;; #(
18619 *) ac_sed_conf_input=$configure_input;;
18620 esac
18622 case $ac_tag in
18623 *:-:* | *:-) cat >"$ac_tmp/stdin" \
18624 || as_fn_error $? "could not create $ac_file" "$LINENO" 5 ;;
18625 esac
18627 esac
18629 ac_dir=`$as_dirname -- "$ac_file" ||
18630 $as_expr X"$ac_file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
18631 X"$ac_file" : 'X\(//\)[^/]' \| \
18632 X"$ac_file" : 'X\(//\)$' \| \
18633 X"$ac_file" : 'X\(/\)' \| . 2>/dev/null ||
18634 $as_echo X"$ac_file" |
18635 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
18636 s//\1/
18639 /^X\(\/\/\)[^/].*/{
18640 s//\1/
18643 /^X\(\/\/\)$/{
18644 s//\1/
18647 /^X\(\/\).*/{
18648 s//\1/
18651 s/.*/./; q'`
18652 as_dir="$ac_dir"; as_fn_mkdir_p
18653 ac_builddir=.
18655 case "$ac_dir" in
18656 .) ac_dir_suffix= ac_top_builddir_sub=. ac_top_build_prefix= ;;
18658 ac_dir_suffix=/`$as_echo "$ac_dir" | sed 's|^\.[\\/]||'`
18659 # A ".." for each directory in $ac_dir_suffix.
18660 ac_top_builddir_sub=`$as_echo "$ac_dir_suffix" | sed 's|/[^\\/]*|/..|g;s|/||'`
18661 case $ac_top_builddir_sub in
18662 "") ac_top_builddir_sub=. ac_top_build_prefix= ;;
18663 *) ac_top_build_prefix=$ac_top_builddir_sub/ ;;
18664 esac ;;
18665 esac
18666 ac_abs_top_builddir=$ac_pwd
18667 ac_abs_builddir=$ac_pwd$ac_dir_suffix
18668 # for backward compatibility:
18669 ac_top_builddir=$ac_top_build_prefix
18671 case $srcdir in
18672 .) # We are building in place.
18673 ac_srcdir=.
18674 ac_top_srcdir=$ac_top_builddir_sub
18675 ac_abs_top_srcdir=$ac_pwd ;;
18676 [\\/]* | ?:[\\/]* ) # Absolute name.
18677 ac_srcdir=$srcdir$ac_dir_suffix;
18678 ac_top_srcdir=$srcdir
18679 ac_abs_top_srcdir=$srcdir ;;
18680 *) # Relative name.
18681 ac_srcdir=$ac_top_build_prefix$srcdir$ac_dir_suffix
18682 ac_top_srcdir=$ac_top_build_prefix$srcdir
18683 ac_abs_top_srcdir=$ac_pwd/$srcdir ;;
18684 esac
18685 ac_abs_srcdir=$ac_abs_top_srcdir$ac_dir_suffix
18688 case $ac_mode in
18691 # CONFIG_FILE
18694 case $INSTALL in
18695 [\\/$]* | ?:[\\/]* ) ac_INSTALL=$INSTALL ;;
18696 *) ac_INSTALL=$ac_top_build_prefix$INSTALL ;;
18697 esac
18698 ac_MKDIR_P=$MKDIR_P
18699 case $MKDIR_P in
18700 [\\/$]* | ?:[\\/]* ) ;;
18701 */*) ac_MKDIR_P=$ac_top_build_prefix$MKDIR_P ;;
18702 esac
18703 _ACEOF
18705 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
18706 # If the template does not know about datarootdir, expand it.
18707 # FIXME: This hack should be removed a few years after 2.60.
18708 ac_datarootdir_hack=; ac_datarootdir_seen=
18709 ac_sed_dataroot='
18710 /datarootdir/ {
18714 /@datadir@/p
18715 /@docdir@/p
18716 /@infodir@/p
18717 /@localedir@/p
18718 /@mandir@/p'
18719 case `eval "sed -n \"\$ac_sed_dataroot\" $ac_file_inputs"` in
18720 *datarootdir*) ac_datarootdir_seen=yes;;
18721 *@datadir@*|*@docdir@*|*@infodir@*|*@localedir@*|*@mandir@*)
18722 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&5
18723 $as_echo "$as_me: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&2;}
18724 _ACEOF
18725 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
18726 ac_datarootdir_hack='
18727 s&@datadir@&$datadir&g
18728 s&@docdir@&$docdir&g
18729 s&@infodir@&$infodir&g
18730 s&@localedir@&$localedir&g
18731 s&@mandir@&$mandir&g
18732 s&\\\${datarootdir}&$datarootdir&g' ;;
18733 esac
18734 _ACEOF
18736 # Neutralize VPATH when `$srcdir' = `.'.
18737 # Shell code in configure.ac might set extrasub.
18738 # FIXME: do we really want to maintain this feature?
18739 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
18740 ac_sed_extra="$ac_vpsub
18741 $extrasub
18742 _ACEOF
18743 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
18745 /@[a-zA-Z_][a-zA-Z_0-9]*@/!b
18746 s|@configure_input@|$ac_sed_conf_input|;t t
18747 s&@top_builddir@&$ac_top_builddir_sub&;t t
18748 s&@top_build_prefix@&$ac_top_build_prefix&;t t
18749 s&@srcdir@&$ac_srcdir&;t t
18750 s&@abs_srcdir@&$ac_abs_srcdir&;t t
18751 s&@top_srcdir@&$ac_top_srcdir&;t t
18752 s&@abs_top_srcdir@&$ac_abs_top_srcdir&;t t
18753 s&@builddir@&$ac_builddir&;t t
18754 s&@abs_builddir@&$ac_abs_builddir&;t t
18755 s&@abs_top_builddir@&$ac_abs_top_builddir&;t t
18756 s&@INSTALL@&$ac_INSTALL&;t t
18757 s&@MKDIR_P@&$ac_MKDIR_P&;t t
18758 $ac_datarootdir_hack
18760 eval sed \"\$ac_sed_extra\" "$ac_file_inputs" |
18761 if $ac_cs_awk_getline; then
18762 $AWK -f "$ac_tmp/subs.awk"
18763 else
18764 $AWK -f "$ac_tmp/subs.awk" | $SHELL
18765 fi \
18766 >$ac_tmp/out || as_fn_error $? "could not create $ac_file" "$LINENO" 5
18768 test -z "$ac_datarootdir_hack$ac_datarootdir_seen" &&
18769 { ac_out=`sed -n '/\${datarootdir}/p' "$ac_tmp/out"`; test -n "$ac_out"; } &&
18770 { ac_out=`sed -n '/^[ ]*datarootdir[ ]*:*=/p' \
18771 "$ac_tmp/out"`; test -z "$ac_out"; } &&
18772 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $ac_file contains a reference to the variable \`datarootdir'
18773 which seems to be undefined. Please make sure it is defined" >&5
18774 $as_echo "$as_me: WARNING: $ac_file contains a reference to the variable \`datarootdir'
18775 which seems to be undefined. Please make sure it is defined" >&2;}
18777 rm -f "$ac_tmp/stdin"
18778 case $ac_file in
18779 -) cat "$ac_tmp/out" && rm -f "$ac_tmp/out";;
18780 *) rm -f "$ac_file" && mv "$ac_tmp/out" "$ac_file";;
18781 esac \
18782 || as_fn_error $? "could not create $ac_file" "$LINENO" 5
18786 # CONFIG_HEADER
18788 if test x"$ac_file" != x-; then
18790 $as_echo "/* $configure_input */" \
18791 && eval '$AWK -f "$ac_tmp/defines.awk"' "$ac_file_inputs"
18792 } >"$ac_tmp/config.h" \
18793 || as_fn_error $? "could not create $ac_file" "$LINENO" 5
18794 if diff "$ac_file" "$ac_tmp/config.h" >/dev/null 2>&1; then
18795 { $as_echo "$as_me:${as_lineno-$LINENO}: $ac_file is unchanged" >&5
18796 $as_echo "$as_me: $ac_file is unchanged" >&6;}
18797 else
18798 rm -f "$ac_file"
18799 mv "$ac_tmp/config.h" "$ac_file" \
18800 || as_fn_error $? "could not create $ac_file" "$LINENO" 5
18802 else
18803 $as_echo "/* $configure_input */" \
18804 && eval '$AWK -f "$ac_tmp/defines.awk"' "$ac_file_inputs" \
18805 || as_fn_error $? "could not create -" "$LINENO" 5
18810 # CONFIG_LINK
18813 if test "$ac_source" = "$ac_file" && test "$srcdir" = '.'; then
18815 else
18816 # Prefer the file from the source tree if names are identical.
18817 if test "$ac_source" = "$ac_file" || test ! -r "$ac_source"; then
18818 ac_source=$srcdir/$ac_source
18821 { $as_echo "$as_me:${as_lineno-$LINENO}: linking $ac_source to $ac_file" >&5
18822 $as_echo "$as_me: linking $ac_source to $ac_file" >&6;}
18824 if test ! -r "$ac_source"; then
18825 as_fn_error $? "$ac_source: file not found" "$LINENO" 5
18827 rm -f "$ac_file"
18829 # Try a relative symlink, then a hard link, then a copy.
18830 case $ac_source in
18831 [\\/$]* | ?:[\\/]* ) ac_rel_source=$ac_source ;;
18832 *) ac_rel_source=$ac_top_build_prefix$ac_source ;;
18833 esac
18834 ln -s "$ac_rel_source" "$ac_file" 2>/dev/null ||
18835 ln "$ac_source" "$ac_file" 2>/dev/null ||
18836 cp -p "$ac_source" "$ac_file" ||
18837 as_fn_error $? "cannot link or copy $ac_source to $ac_file" "$LINENO" 5
18840 :C) { $as_echo "$as_me:${as_lineno-$LINENO}: executing $ac_file commands" >&5
18841 $as_echo "$as_me: executing $ac_file commands" >&6;}
18843 esac
18846 case $ac_file$ac_mode in
18847 "include/stamp-h":C) echo timestamp > include/stamp-h ;;
18848 "dlls/gdi32/dibdrv":C) test -d "dlls/gdi32/dibdrv" || { { $as_echo "$as_me:${as_lineno-$LINENO}: creating dlls/gdi32/dibdrv" >&5
18849 $as_echo "$as_me: creating dlls/gdi32/dibdrv" >&6;}; as_dir="dlls/gdi32/dibdrv"; as_fn_mkdir_p; } ;;
18850 "dlls/gdi32/enhmfdrv":C) test -d "dlls/gdi32/enhmfdrv" || { { $as_echo "$as_me:${as_lineno-$LINENO}: creating dlls/gdi32/enhmfdrv" >&5
18851 $as_echo "$as_me: creating dlls/gdi32/enhmfdrv" >&6;}; as_dir="dlls/gdi32/enhmfdrv"; as_fn_mkdir_p; } ;;
18852 "dlls/gdi32/mfdrv":C) test -d "dlls/gdi32/mfdrv" || { { $as_echo "$as_me:${as_lineno-$LINENO}: creating dlls/gdi32/mfdrv" >&5
18853 $as_echo "$as_me: creating dlls/gdi32/mfdrv" >&6;}; as_dir="dlls/gdi32/mfdrv"; as_fn_mkdir_p; } ;;
18854 "dlls/kernel32/nls":C) test -d "dlls/kernel32/nls" || { { $as_echo "$as_me:${as_lineno-$LINENO}: creating dlls/kernel32/nls" >&5
18855 $as_echo "$as_me: creating dlls/kernel32/nls" >&6;}; as_dir="dlls/kernel32/nls"; as_fn_mkdir_p; } ;;
18856 "dlls/user32/resources":C) test -d "dlls/user32/resources" || { { $as_echo "$as_me:${as_lineno-$LINENO}: creating dlls/user32/resources" >&5
18857 $as_echo "$as_me: creating dlls/user32/resources" >&6;}; as_dir="dlls/user32/resources"; as_fn_mkdir_p; } ;;
18858 "dlls/wineps.drv/data":C) test -d "dlls/wineps.drv/data" || { { $as_echo "$as_me:${as_lineno-$LINENO}: creating dlls/wineps.drv/data" >&5
18859 $as_echo "$as_me: creating dlls/wineps.drv/data" >&6;}; as_dir="dlls/wineps.drv/data"; as_fn_mkdir_p; } ;;
18860 "include/wine":C) test -d "include/wine" || { { $as_echo "$as_me:${as_lineno-$LINENO}: creating include/wine" >&5
18861 $as_echo "$as_me: creating include/wine" >&6;}; as_dir="include/wine"; as_fn_mkdir_p; } ;;
18862 "Makefile":C) wine_fn_output_makefile Makefile ;;
18863 "tools":C) as_dir=tools; as_fn_mkdir_p ;;
18865 esac
18866 done # for ac_tag
18869 as_fn_exit 0
18870 _ACEOF
18871 ac_clean_files=$ac_clean_files_save
18873 test $ac_write_fail = 0 ||
18874 as_fn_error $? "write failure creating $CONFIG_STATUS" "$LINENO" 5
18877 # configure is writing to config.log, and then calls config.status.
18878 # config.status does its own redirection, appending to config.log.
18879 # Unfortunately, on DOS this fails, as config.log is still kept open
18880 # by configure, so config.status won't be able to write to it; its
18881 # output is simply discarded. So we exec the FD to /dev/null,
18882 # effectively closing config.log, so it can be properly (re)opened and
18883 # appended to by config.status. When coming back to configure, we
18884 # need to make the FD available again.
18885 if test "$no_create" != yes; then
18886 ac_cs_success=:
18887 ac_config_status_args=
18888 test "$silent" = yes &&
18889 ac_config_status_args="$ac_config_status_args --quiet"
18890 exec 5>/dev/null
18891 $SHELL $CONFIG_STATUS $ac_config_status_args || ac_cs_success=false
18892 exec 5>>config.log
18893 # Use ||, not &&, to avoid exiting from the if with $? = 1, which
18894 # would make configure fail if this is the last instruction.
18895 $ac_cs_success || as_fn_exit 1
18897 if test -n "$ac_unrecognized_opts" && test "$enable_option_checking" != no; then
18898 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: unrecognized options: $ac_unrecognized_opts" >&5
18899 $as_echo "$as_me: WARNING: unrecognized options: $ac_unrecognized_opts" >&2;}
18903 if test "$no_create" = "yes"
18904 then
18905 exit 0
18908 ac_save_IFS="$IFS"
18909 if test "x$wine_notices != "x; then
18910 echo >&6
18911 IFS="|"
18912 for msg in $wine_notices; do
18913 IFS="$ac_save_IFS"
18914 if test -n "$msg"; then
18915 { $as_echo "$as_me:${as_lineno-$LINENO}: $msg" >&5
18916 $as_echo "$as_me: $msg" >&6;}
18918 done
18920 IFS="|"
18921 for msg in $wine_warnings; do
18922 IFS="$ac_save_IFS"
18923 if test -n "$msg"; then
18924 echo >&2
18925 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $msg" >&5
18926 $as_echo "$as_me: WARNING: $msg" >&2;}
18928 done
18929 IFS="$ac_save_IFS"
18931 $as_echo "
18932 $as_me: Finished. Do '${ac_make}' to compile Wine.
18933 " >&6