makefiles: Move the main module rules to the global Make.rules file.
[wine.git] / configure
blobc67e7baee2f529ad75565e36f7256b7cb48482ed
1 #! /bin/sh
2 # Guess values for system-dependent variables and create Makefiles.
3 # Generated by GNU Autoconf 2.69 for Wine 1.7.3.
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.3'
584 PACKAGE_STRING='Wine 1.7.3'
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 LDAPLIBS
631 LIBRT
632 LIBPOLL
633 LIBDL
634 TOOLSEXT
635 UNWINDFLAGS
636 BUILTINFLAG
637 EXTRACFLAGS
638 LIBPROCSTAT
639 LIBKSTAT
640 LIBOPENAL
641 MPG123_LIBS
642 MPG123_CFLAGS
643 TIFF_LIBS
644 TIFF_CFLAGS
645 PNG_LIBS
646 PNG_CFLAGS
647 JPEG_LIBS
648 JPEG_CFLAGS
649 FONTCONFIGINCL
650 CUPSINCL
651 CAPI20_LIBS
652 CAPI20_CFLAGS
653 OSS4INCL
654 ALSALIBS
655 GSTREAMER_LIBS
656 GSTREAMER_CFLAGS
657 LIBGETTEXTPO
658 ZLIB
659 FREETYPE_LIBS
660 FREETYPE_CFLAGS
661 LCMS2_LIBS
662 LCMS2_CFLAGS
663 RESOLVLIBS
664 GPHOTO2_PORT_LIBS
665 GPHOTO2_PORT_CFLAGS
666 GPHOTO2_LIBS
667 GPHOTO2_CFLAGS
668 SANE_LIBS
669 SANE_CFLAGS
670 GNUTLS_LIBS
671 GNUTLS_CFLAGS
672 HAL_LIBS
673 HAL_CFLAGS
674 DBUS_LIBS
675 DBUS_CFLAGS
676 XSLT_LIBS
677 XSLT_CFLAGS
678 XML2_LIBS
679 XML2_CFLAGS
680 X_EXTRA_LIBS
681 X_LIBS
682 X_PRE_LIBS
683 X_CFLAGS
684 XMKMF
685 LIBPTHREAD
686 CROSSTARGET
687 CROSSCC
688 CROSSTEST_DISABLE
689 PRELINK
690 CARBONLIB
691 QUICKTIMELIB
692 LIBOPENCL
693 FRAMEWORK_OPENAL
694 COREAUDIO
695 SECURITYLIB
696 DISKARBITRATIONLIB
697 APPKITLIB
698 CORESERVICESLIB
699 APPLICATIONSERVICESLIB
700 FORCEFEEDBACKLIB
701 IOKITLIB
702 COREFOUNDATIONLIB
703 LIBWINE_RULES
704 SOCKETLIBS
705 DLLTOOL
706 LOADER_RULES
707 READELF
709 LDRPATH_LOCAL
710 LDRPATH_INSTALL
711 IMPLIBEXT
712 DLLFLAGS
713 DLLPREFIX
714 DLLEXT
715 dlldir
717 OPENGL_LIBS
718 XLIB
719 MAINTAINER_MODE
720 PKG_CONFIG
721 MSGFMT
722 ICOTOOL
723 CONVERT
724 RSVG
725 FONTFORGE
726 INSTALL_DATA
727 INSTALL_SCRIPT
728 INSTALL_PROGRAM
729 LDCONFIG
730 MKDIR_P
731 EGREP
732 GREP
733 LN_S
734 RANLIB
735 ARFLAGS
736 STRIP
737 ac_ct_AR
739 BISON
740 FLEX
741 TOOLSDIR
742 TARGETFLAGS
743 CPPBIN
744 ac_ct_CXX
745 CXXFLAGS
747 OBJEXT
748 EXEEXT
749 ac_ct_CC
750 CPPFLAGS
751 LDFLAGS
752 CFLAGS
754 SET_MAKE
755 host_os
756 host_vendor
757 host_cpu
758 host
759 build_os
760 build_vendor
761 build_cpu
762 build
763 target_alias
764 host_alias
765 build_alias
766 LIBS
767 ECHO_T
768 ECHO_N
769 ECHO_C
770 DEFS
771 mandir
772 localedir
773 libdir
774 psdir
775 pdfdir
776 dvidir
777 htmldir
778 infodir
779 docdir
780 oldincludedir
781 includedir
782 localstatedir
783 sharedstatedir
784 sysconfdir
785 datadir
786 datarootdir
787 libexecdir
788 sbindir
789 bindir
790 program_transform_name
791 prefix
792 exec_prefix
793 PACKAGE_URL
794 PACKAGE_BUGREPORT
795 PACKAGE_STRING
796 PACKAGE_VERSION
797 PACKAGE_TARNAME
798 PACKAGE_NAME
799 PATH_SEPARATOR
800 SHELL'
801 ac_subst_files='MAKE_RULES
802 MAKE_TEST_RULES
803 MAKE_DLL_RULES
804 MAKE_IMPLIB_RULES
805 MAKE_PROG_RULES'
806 ac_user_opts='
807 enable_option_checking
808 enable_win16
809 enable_win64
810 enable_tests
811 enable_maintainer_mode
812 with_alsa
813 with_capi
814 with_cms
815 with_coreaudio
816 with_cups
817 with_curses
818 with_dbus
819 with_fontconfig
820 with_freetype
821 with_gettext
822 with_gettextpo
823 with_gphoto
824 with_glu
825 with_gnutls
826 with_gsm
827 with_gstreamer
828 with_hal
829 with_jpeg
830 with_ldap
831 with_mpg123
832 with_openal
833 with_opencl
834 with_opengl
835 with_osmesa
836 with_oss
837 with_png
838 with_pthread
839 with_sane
840 with_tiff
841 with_v4l
842 with_xcomposite
843 with_xcursor
844 with_xinerama
845 with_xinput
846 with_xinput2
847 with_xml
848 with_xrandr
849 with_xrender
850 with_xshape
851 with_xshm
852 with_xslt
853 with_xxf86vm
854 with_zlib
855 with_wine_tools
856 with_wine64
857 enable_largefile
858 with_x
859 enable_acledit
860 enable_aclui
861 enable_activeds
862 enable_actxprxy
863 enable_advapi32
864 enable_advpack
865 enable_amstream
866 enable_api_ms_win_core_localregistry_l1_1_0
867 enable_api_ms_win_core_processthreads_l1_1_0
868 enable_api_ms_win_core_winrt_error_l1_1_0
869 enable_api_ms_win_core_winrt_string_l1_1_0
870 enable_api_ms_win_downlevel_advapi32_l1_1_0
871 enable_api_ms_win_downlevel_advapi32_l2_1_0
872 enable_api_ms_win_downlevel_normaliz_l1_1_0
873 enable_api_ms_win_downlevel_ole32_l1_1_0
874 enable_api_ms_win_downlevel_shell32_l1_1_0
875 enable_api_ms_win_downlevel_shlwapi_l1_1_0
876 enable_api_ms_win_downlevel_shlwapi_l2_1_0
877 enable_api_ms_win_downlevel_user32_l1_1_0
878 enable_api_ms_win_downlevel_version_l1_1_0
879 enable_api_ms_win_security_base_l1_1_0
880 enable_apphelp
881 enable_appwiz_cpl
882 enable_atl
883 enable_atl100
884 enable_atl110
885 enable_atl80
886 enable_authz
887 enable_avicap32
888 enable_avifil32
889 enable_avrt
890 enable_bcrypt
891 enable_browseui
892 enable_cabinet
893 enable_capi2032
894 enable_cards
895 enable_cfgmgr32
896 enable_clusapi
897 enable_comcat
898 enable_comctl32
899 enable_comdlg32
900 enable_compstui
901 enable_comsvcs
902 enable_credui
903 enable_crtdll
904 enable_crypt32
905 enable_cryptdlg
906 enable_cryptdll
907 enable_cryptnet
908 enable_cryptui
909 enable_ctapi32
910 enable_ctl3d32
911 enable_d3d10
912 enable_d3d10core
913 enable_d3d11
914 enable_d3d8
915 enable_d3d9
916 enable_d3dcompiler_33
917 enable_d3dcompiler_34
918 enable_d3dcompiler_35
919 enable_d3dcompiler_36
920 enable_d3dcompiler_37
921 enable_d3dcompiler_38
922 enable_d3dcompiler_39
923 enable_d3dcompiler_40
924 enable_d3dcompiler_41
925 enable_d3dcompiler_42
926 enable_d3dcompiler_43
927 enable_d3dim
928 enable_d3drm
929 enable_d3dx10_33
930 enable_d3dx10_34
931 enable_d3dx10_35
932 enable_d3dx10_36
933 enable_d3dx10_37
934 enable_d3dx10_38
935 enable_d3dx10_39
936 enable_d3dx10_40
937 enable_d3dx10_41
938 enable_d3dx10_42
939 enable_d3dx10_43
940 enable_d3dx11_42
941 enable_d3dx11_43
942 enable_d3dx9_24
943 enable_d3dx9_25
944 enable_d3dx9_26
945 enable_d3dx9_27
946 enable_d3dx9_28
947 enable_d3dx9_29
948 enable_d3dx9_30
949 enable_d3dx9_31
950 enable_d3dx9_32
951 enable_d3dx9_33
952 enable_d3dx9_34
953 enable_d3dx9_35
954 enable_d3dx9_36
955 enable_d3dx9_37
956 enable_d3dx9_38
957 enable_d3dx9_39
958 enable_d3dx9_40
959 enable_d3dx9_41
960 enable_d3dx9_42
961 enable_d3dx9_43
962 enable_d3dxof
963 enable_dbgeng
964 enable_dbghelp
965 enable_dciman32
966 enable_ddraw
967 enable_ddrawex
968 enable_devenum
969 enable_dhcpcsvc
970 enable_difxapi
971 enable_dinput
972 enable_dinput8
973 enable_dispex
974 enable_dmband
975 enable_dmcompos
976 enable_dmime
977 enable_dmloader
978 enable_dmscript
979 enable_dmstyle
980 enable_dmsynth
981 enable_dmusic
982 enable_dmusic32
983 enable_dnsapi
984 enable_dplay
985 enable_dplayx
986 enable_dpnaddr
987 enable_dpnet
988 enable_dpnhpast
989 enable_dpnlobby
990 enable_dpwsockx
991 enable_drmclien
992 enable_dsound
993 enable_dssenh
994 enable_dswave
995 enable_dwmapi
996 enable_dwrite
997 enable_dxdiagn
998 enable_dxgi
999 enable_explorerframe
1000 enable_faultrep
1001 enable_fltlib
1002 enable_fusion
1003 enable_fwpuclnt
1004 enable_gameux
1005 enable_gdi32
1006 enable_gdiplus
1007 enable_glu32
1008 enable_gphoto2_ds
1009 enable_gpkcsp
1010 enable_hal
1011 enable_hhctrl_ocx
1012 enable_hid
1013 enable_hlink
1014 enable_hnetcfg
1015 enable_httpapi
1016 enable_iccvid
1017 enable_icmp
1018 enable_ieframe
1019 enable_imaadp32_acm
1020 enable_imagehlp
1021 enable_imm32
1022 enable_inetcomm
1023 enable_inetcpl_cpl
1024 enable_inetmib1
1025 enable_infosoft
1026 enable_initpki
1027 enable_inkobj
1028 enable_inseng
1029 enable_iphlpapi
1030 enable_itircl
1031 enable_itss
1032 enable_joy_cpl
1033 enable_jscript
1034 enable_kernel32
1035 enable_ktmw32
1036 enable_loadperf
1037 enable_localspl
1038 enable_localui
1039 enable_lz32
1040 enable_mapi32
1041 enable_mapistub
1042 enable_mciavi32
1043 enable_mcicda
1044 enable_mciqtz32
1045 enable_mciseq
1046 enable_mciwave
1047 enable_mgmtapi
1048 enable_midimap
1049 enable_mlang
1050 enable_mmcndmgr
1051 enable_mmdevapi
1052 enable_mountmgr_sys
1053 enable_mpr
1054 enable_mprapi
1055 enable_msacm32_drv
1056 enable_msacm32
1057 enable_msadp32_acm
1058 enable_mscat32
1059 enable_mscms
1060 enable_mscoree
1061 enable_msctf
1062 enable_msdaps
1063 enable_msdmo
1064 enable_msftedit
1065 enable_msg711_acm
1066 enable_msgsm32_acm
1067 enable_mshtml_tlb
1068 enable_mshtml
1069 enable_msi
1070 enable_msident
1071 enable_msimg32
1072 enable_msimsg
1073 enable_msimtf
1074 enable_msisip
1075 enable_msisys_ocx
1076 enable_msls31
1077 enable_msnet32
1078 enable_mspatcha
1079 enable_msrle32
1080 enable_mssign32
1081 enable_mssip32
1082 enable_mstask
1083 enable_msvcirt
1084 enable_msvcm80
1085 enable_msvcm90
1086 enable_msvcp100
1087 enable_msvcp110
1088 enable_msvcp60
1089 enable_msvcp70
1090 enable_msvcp71
1091 enable_msvcp80
1092 enable_msvcp90
1093 enable_msvcr100
1094 enable_msvcr110
1095 enable_msvcr70
1096 enable_msvcr71
1097 enable_msvcr80
1098 enable_msvcr90
1099 enable_msvcrt
1100 enable_msvcrt20
1101 enable_msvcrt40
1102 enable_msvcrtd
1103 enable_msvfw32
1104 enable_msvidc32
1105 enable_mswsock
1106 enable_msxml
1107 enable_msxml2
1108 enable_msxml3
1109 enable_msxml4
1110 enable_msxml6
1111 enable_nddeapi
1112 enable_netapi32
1113 enable_netcfgx
1114 enable_newdev
1115 enable_normaliz
1116 enable_npmshtml
1117 enable_ntdll
1118 enable_ntdsapi
1119 enable_ntoskrnl_exe
1120 enable_ntprint
1121 enable_objsel
1122 enable_odbc32
1123 enable_odbccp32
1124 enable_odbccu32
1125 enable_ole32
1126 enable_oleacc
1127 enable_oleaut32
1128 enable_olecli32
1129 enable_oledb32
1130 enable_oledlg
1131 enable_olepro32
1132 enable_olesvr32
1133 enable_olethk32
1134 enable_openal32
1135 enable_opencl
1136 enable_opengl32
1137 enable_pdh
1138 enable_photometadatahandler
1139 enable_pidgen
1140 enable_powrprof
1141 enable_printui
1142 enable_propsys
1143 enable_psapi
1144 enable_pstorec
1145 enable_qcap
1146 enable_qedit
1147 enable_qmgr
1148 enable_qmgrprxy
1149 enable_quartz
1150 enable_query
1151 enable_rasapi32
1152 enable_rasdlg
1153 enable_regapi
1154 enable_resutils
1155 enable_riched20
1156 enable_riched32
1157 enable_rpcrt4
1158 enable_rsabase
1159 enable_rsaenh
1160 enable_rstrtmgr
1161 enable_rtutils
1162 enable_samlib
1163 enable_sane_ds
1164 enable_scarddlg
1165 enable_sccbase
1166 enable_schannel
1167 enable_scrrun
1168 enable_scsiport_sys
1169 enable_secur32
1170 enable_security
1171 enable_sensapi
1172 enable_serialui
1173 enable_setupapi
1174 enable_sfc
1175 enable_sfc_os
1176 enable_shdoclc
1177 enable_shdocvw
1178 enable_shell32
1179 enable_shfolder
1180 enable_shlwapi
1181 enable_slbcsp
1182 enable_slc
1183 enable_snmpapi
1184 enable_softpub
1185 enable_spoolss
1186 enable_stdole2_tlb
1187 enable_stdole32_tlb
1188 enable_sti
1189 enable_svrapi
1190 enable_sxs
1191 enable_t2embed
1192 enable_tapi32
1193 enable_traffic
1194 enable_twain_32
1195 enable_unicows
1196 enable_updspapi
1197 enable_url
1198 enable_urlmon
1199 enable_usbd_sys
1200 enable_user32
1201 enable_userenv
1202 enable_usp10
1203 enable_uxtheme
1204 enable_vbscript
1205 enable_vcomp
1206 enable_vcomp100
1207 enable_vcomp90
1208 enable_vdmdbg
1209 enable_version
1210 enable_wbemdisp
1211 enable_wbemprox
1212 enable_webservices
1213 enable_wer
1214 enable_wevtapi
1215 enable_wiaservc
1216 enable_windowscodecs
1217 enable_windowscodecsext
1218 enable_winealsa_drv
1219 enable_winecoreaudio_drv
1220 enable_wined3d
1221 enable_winegstreamer
1222 enable_winejoystick_drv
1223 enable_winemac_drv
1224 enable_winemapi
1225 enable_winemp3_acm
1226 enable_wineoss_drv
1227 enable_wineps_drv
1228 enable_wineqtdecoder
1229 enable_winex11_drv
1230 enable_wing32
1231 enable_winhttp
1232 enable_wininet
1233 enable_winmm
1234 enable_winnls32
1235 enable_winscard
1236 enable_winspool_drv
1237 enable_winsta
1238 enable_wintab32
1239 enable_wintrust
1240 enable_wlanapi
1241 enable_wldap32
1242 enable_wmi
1243 enable_wmiutils
1244 enable_wmvcore
1245 enable_wnaspi32
1246 enable_ws2_32
1247 enable_wshom_ocx
1248 enable_wsnmp32
1249 enable_wsock32
1250 enable_wtsapi32
1251 enable_wuapi
1252 enable_wuaueng
1253 enable_xapofx1_1
1254 enable_xinput1_1
1255 enable_xinput1_2
1256 enable_xinput1_3
1257 enable_xinput1_4
1258 enable_xinput9_1_0
1259 enable_xmllite
1260 enable_xolehlp
1261 enable_xpsprint
1262 enable_xpssvcs
1263 enable_documentation
1264 enable_fonts
1265 enable_include
1266 enable_libs_port
1267 enable_libs_wine
1268 enable_libs_wpp
1269 enable_loader
1270 enable_aspnet_regiis
1271 enable_attrib
1272 enable_cabarc
1273 enable_cacls
1274 enable_clock
1275 enable_cmd
1276 enable_conhost
1277 enable_control
1278 enable_cscript
1279 enable_dxdiag
1280 enable_eject
1281 enable_expand
1282 enable_explorer
1283 enable_extrac32
1284 enable_findstr
1285 enable_hh
1286 enable_hostname
1287 enable_icinfo
1288 enable_iexplore
1289 enable_ipconfig
1290 enable_lodctr
1291 enable_mofcomp
1292 enable_mshta
1293 enable_msiexec
1294 enable_net
1295 enable_netsh
1296 enable_netstat
1297 enable_ngen
1298 enable_notepad
1299 enable_oleview
1300 enable_ping
1301 enable_plugplay
1302 enable_presentationfontcache
1303 enable_progman
1304 enable_reg
1305 enable_regasm
1306 enable_regedit
1307 enable_regsvcs
1308 enable_regsvr32
1309 enable_rpcss
1310 enable_rundll32
1311 enable_sc
1312 enable_schtasks
1313 enable_secedit
1314 enable_servicemodelreg
1315 enable_services
1316 enable_spoolsv
1317 enable_start
1318 enable_svchost
1319 enable_taskkill
1320 enable_tasklist
1321 enable_taskmgr
1322 enable_termsv
1323 enable_uninstaller
1324 enable_unlodctr
1325 enable_view
1326 enable_wineboot
1327 enable_winebrowser
1328 enable_winecfg
1329 enable_wineconsole
1330 enable_winedbg
1331 enable_winedevice
1332 enable_winefile
1333 enable_winemenubuilder
1334 enable_winemine
1335 enable_winemsibuilder
1336 enable_winepath
1337 enable_winetest
1338 enable_winhlp32
1339 enable_winver
1340 enable_wmic
1341 enable_wordpad
1342 enable_write
1343 enable_wscript
1344 enable_wusa
1345 enable_xcopy
1346 enable_server
1347 enable_tools
1349 ac_precious_vars='build_alias
1350 host_alias
1351 target_alias
1353 CFLAGS
1354 LDFLAGS
1355 LIBS
1356 CPPFLAGS
1358 CXXFLAGS
1361 XMKMF
1362 XML2_CFLAGS
1363 XML2_LIBS
1364 XSLT_CFLAGS
1365 XSLT_LIBS
1366 DBUS_CFLAGS
1367 DBUS_LIBS
1368 HAL_CFLAGS
1369 HAL_LIBS
1370 GNUTLS_CFLAGS
1371 GNUTLS_LIBS
1372 SANE_CFLAGS
1373 SANE_LIBS
1374 GPHOTO2_CFLAGS
1375 GPHOTO2_LIBS
1376 GPHOTO2_PORT_CFLAGS
1377 GPHOTO2_PORT_LIBS
1378 LCMS2_CFLAGS
1379 LCMS2_LIBS
1380 FREETYPE_CFLAGS
1381 FREETYPE_LIBS
1382 GSTREAMER_CFLAGS
1383 GSTREAMER_LIBS
1384 CAPI20_CFLAGS
1385 CAPI20_LIBS
1386 JPEG_CFLAGS
1387 JPEG_LIBS
1388 PNG_CFLAGS
1389 PNG_LIBS
1390 TIFF_CFLAGS
1391 TIFF_LIBS
1392 MPG123_CFLAGS
1393 MPG123_LIBS'
1396 # Initialize some variables set by options.
1397 ac_init_help=
1398 ac_init_version=false
1399 ac_unrecognized_opts=
1400 ac_unrecognized_sep=
1401 # The variables have the same names as the options, with
1402 # dashes changed to underlines.
1403 cache_file=/dev/null
1404 exec_prefix=NONE
1405 no_create=
1406 no_recursion=
1407 prefix=NONE
1408 program_prefix=NONE
1409 program_suffix=NONE
1410 program_transform_name=s,x,x,
1411 silent=
1412 site=
1413 srcdir=
1414 verbose=
1415 x_includes=NONE
1416 x_libraries=NONE
1418 # Installation directory options.
1419 # These are left unexpanded so users can "make install exec_prefix=/foo"
1420 # and all the variables that are supposed to be based on exec_prefix
1421 # by default will actually change.
1422 # Use braces instead of parens because sh, perl, etc. also accept them.
1423 # (The list follows the same order as the GNU Coding Standards.)
1424 bindir='${exec_prefix}/bin'
1425 sbindir='${exec_prefix}/sbin'
1426 libexecdir='${exec_prefix}/libexec'
1427 datarootdir='${prefix}/share'
1428 datadir='${datarootdir}'
1429 sysconfdir='${prefix}/etc'
1430 sharedstatedir='${prefix}/com'
1431 localstatedir='${prefix}/var'
1432 includedir='${prefix}/include'
1433 oldincludedir='/usr/include'
1434 docdir='${datarootdir}/doc/${PACKAGE_TARNAME}'
1435 infodir='${datarootdir}/info'
1436 htmldir='${docdir}'
1437 dvidir='${docdir}'
1438 pdfdir='${docdir}'
1439 psdir='${docdir}'
1440 libdir='${exec_prefix}/lib'
1441 localedir='${datarootdir}/locale'
1442 mandir='${datarootdir}/man'
1444 ac_prev=
1445 ac_dashdash=
1446 for ac_option
1448 # If the previous option needs an argument, assign it.
1449 if test -n "$ac_prev"; then
1450 eval $ac_prev=\$ac_option
1451 ac_prev=
1452 continue
1455 case $ac_option in
1456 *=?*) ac_optarg=`expr "X$ac_option" : '[^=]*=\(.*\)'` ;;
1457 *=) ac_optarg= ;;
1458 *) ac_optarg=yes ;;
1459 esac
1461 # Accept the important Cygnus configure options, so we can diagnose typos.
1463 case $ac_dashdash$ac_option in
1465 ac_dashdash=yes ;;
1467 -bindir | --bindir | --bindi | --bind | --bin | --bi)
1468 ac_prev=bindir ;;
1469 -bindir=* | --bindir=* | --bindi=* | --bind=* | --bin=* | --bi=*)
1470 bindir=$ac_optarg ;;
1472 -build | --build | --buil | --bui | --bu)
1473 ac_prev=build_alias ;;
1474 -build=* | --build=* | --buil=* | --bui=* | --bu=*)
1475 build_alias=$ac_optarg ;;
1477 -cache-file | --cache-file | --cache-fil | --cache-fi \
1478 | --cache-f | --cache- | --cache | --cach | --cac | --ca | --c)
1479 ac_prev=cache_file ;;
1480 -cache-file=* | --cache-file=* | --cache-fil=* | --cache-fi=* \
1481 | --cache-f=* | --cache-=* | --cache=* | --cach=* | --cac=* | --ca=* | --c=*)
1482 cache_file=$ac_optarg ;;
1484 --config-cache | -C)
1485 cache_file=config.cache ;;
1487 -datadir | --datadir | --datadi | --datad)
1488 ac_prev=datadir ;;
1489 -datadir=* | --datadir=* | --datadi=* | --datad=*)
1490 datadir=$ac_optarg ;;
1492 -datarootdir | --datarootdir | --datarootdi | --datarootd | --dataroot \
1493 | --dataroo | --dataro | --datar)
1494 ac_prev=datarootdir ;;
1495 -datarootdir=* | --datarootdir=* | --datarootdi=* | --datarootd=* \
1496 | --dataroot=* | --dataroo=* | --dataro=* | --datar=*)
1497 datarootdir=$ac_optarg ;;
1499 -disable-* | --disable-*)
1500 ac_useropt=`expr "x$ac_option" : 'x-*disable-\(.*\)'`
1501 # Reject names that are not valid shell variable names.
1502 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
1503 as_fn_error $? "invalid feature name: $ac_useropt"
1504 ac_useropt_orig=$ac_useropt
1505 ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
1506 case $ac_user_opts in
1508 "enable_$ac_useropt"
1509 "*) ;;
1510 *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--disable-$ac_useropt_orig"
1511 ac_unrecognized_sep=', ';;
1512 esac
1513 eval enable_$ac_useropt=no ;;
1515 -docdir | --docdir | --docdi | --doc | --do)
1516 ac_prev=docdir ;;
1517 -docdir=* | --docdir=* | --docdi=* | --doc=* | --do=*)
1518 docdir=$ac_optarg ;;
1520 -dvidir | --dvidir | --dvidi | --dvid | --dvi | --dv)
1521 ac_prev=dvidir ;;
1522 -dvidir=* | --dvidir=* | --dvidi=* | --dvid=* | --dvi=* | --dv=*)
1523 dvidir=$ac_optarg ;;
1525 -enable-* | --enable-*)
1526 ac_useropt=`expr "x$ac_option" : 'x-*enable-\([^=]*\)'`
1527 # Reject names that are not valid shell variable names.
1528 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
1529 as_fn_error $? "invalid feature name: $ac_useropt"
1530 ac_useropt_orig=$ac_useropt
1531 ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
1532 case $ac_user_opts in
1534 "enable_$ac_useropt"
1535 "*) ;;
1536 *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--enable-$ac_useropt_orig"
1537 ac_unrecognized_sep=', ';;
1538 esac
1539 eval enable_$ac_useropt=\$ac_optarg ;;
1541 -exec-prefix | --exec_prefix | --exec-prefix | --exec-prefi \
1542 | --exec-pref | --exec-pre | --exec-pr | --exec-p | --exec- \
1543 | --exec | --exe | --ex)
1544 ac_prev=exec_prefix ;;
1545 -exec-prefix=* | --exec_prefix=* | --exec-prefix=* | --exec-prefi=* \
1546 | --exec-pref=* | --exec-pre=* | --exec-pr=* | --exec-p=* | --exec-=* \
1547 | --exec=* | --exe=* | --ex=*)
1548 exec_prefix=$ac_optarg ;;
1550 -gas | --gas | --ga | --g)
1551 # Obsolete; use --with-gas.
1552 with_gas=yes ;;
1554 -help | --help | --hel | --he | -h)
1555 ac_init_help=long ;;
1556 -help=r* | --help=r* | --hel=r* | --he=r* | -hr*)
1557 ac_init_help=recursive ;;
1558 -help=s* | --help=s* | --hel=s* | --he=s* | -hs*)
1559 ac_init_help=short ;;
1561 -host | --host | --hos | --ho)
1562 ac_prev=host_alias ;;
1563 -host=* | --host=* | --hos=* | --ho=*)
1564 host_alias=$ac_optarg ;;
1566 -htmldir | --htmldir | --htmldi | --htmld | --html | --htm | --ht)
1567 ac_prev=htmldir ;;
1568 -htmldir=* | --htmldir=* | --htmldi=* | --htmld=* | --html=* | --htm=* \
1569 | --ht=*)
1570 htmldir=$ac_optarg ;;
1572 -includedir | --includedir | --includedi | --included | --include \
1573 | --includ | --inclu | --incl | --inc)
1574 ac_prev=includedir ;;
1575 -includedir=* | --includedir=* | --includedi=* | --included=* | --include=* \
1576 | --includ=* | --inclu=* | --incl=* | --inc=*)
1577 includedir=$ac_optarg ;;
1579 -infodir | --infodir | --infodi | --infod | --info | --inf)
1580 ac_prev=infodir ;;
1581 -infodir=* | --infodir=* | --infodi=* | --infod=* | --info=* | --inf=*)
1582 infodir=$ac_optarg ;;
1584 -libdir | --libdir | --libdi | --libd)
1585 ac_prev=libdir ;;
1586 -libdir=* | --libdir=* | --libdi=* | --libd=*)
1587 libdir=$ac_optarg ;;
1589 -libexecdir | --libexecdir | --libexecdi | --libexecd | --libexec \
1590 | --libexe | --libex | --libe)
1591 ac_prev=libexecdir ;;
1592 -libexecdir=* | --libexecdir=* | --libexecdi=* | --libexecd=* | --libexec=* \
1593 | --libexe=* | --libex=* | --libe=*)
1594 libexecdir=$ac_optarg ;;
1596 -localedir | --localedir | --localedi | --localed | --locale)
1597 ac_prev=localedir ;;
1598 -localedir=* | --localedir=* | --localedi=* | --localed=* | --locale=*)
1599 localedir=$ac_optarg ;;
1601 -localstatedir | --localstatedir | --localstatedi | --localstated \
1602 | --localstate | --localstat | --localsta | --localst | --locals)
1603 ac_prev=localstatedir ;;
1604 -localstatedir=* | --localstatedir=* | --localstatedi=* | --localstated=* \
1605 | --localstate=* | --localstat=* | --localsta=* | --localst=* | --locals=*)
1606 localstatedir=$ac_optarg ;;
1608 -mandir | --mandir | --mandi | --mand | --man | --ma | --m)
1609 ac_prev=mandir ;;
1610 -mandir=* | --mandir=* | --mandi=* | --mand=* | --man=* | --ma=* | --m=*)
1611 mandir=$ac_optarg ;;
1613 -nfp | --nfp | --nf)
1614 # Obsolete; use --without-fp.
1615 with_fp=no ;;
1617 -no-create | --no-create | --no-creat | --no-crea | --no-cre \
1618 | --no-cr | --no-c | -n)
1619 no_create=yes ;;
1621 -no-recursion | --no-recursion | --no-recursio | --no-recursi \
1622 | --no-recurs | --no-recur | --no-recu | --no-rec | --no-re | --no-r)
1623 no_recursion=yes ;;
1625 -oldincludedir | --oldincludedir | --oldincludedi | --oldincluded \
1626 | --oldinclude | --oldinclud | --oldinclu | --oldincl | --oldinc \
1627 | --oldin | --oldi | --old | --ol | --o)
1628 ac_prev=oldincludedir ;;
1629 -oldincludedir=* | --oldincludedir=* | --oldincludedi=* | --oldincluded=* \
1630 | --oldinclude=* | --oldinclud=* | --oldinclu=* | --oldincl=* | --oldinc=* \
1631 | --oldin=* | --oldi=* | --old=* | --ol=* | --o=*)
1632 oldincludedir=$ac_optarg ;;
1634 -prefix | --prefix | --prefi | --pref | --pre | --pr | --p)
1635 ac_prev=prefix ;;
1636 -prefix=* | --prefix=* | --prefi=* | --pref=* | --pre=* | --pr=* | --p=*)
1637 prefix=$ac_optarg ;;
1639 -program-prefix | --program-prefix | --program-prefi | --program-pref \
1640 | --program-pre | --program-pr | --program-p)
1641 ac_prev=program_prefix ;;
1642 -program-prefix=* | --program-prefix=* | --program-prefi=* \
1643 | --program-pref=* | --program-pre=* | --program-pr=* | --program-p=*)
1644 program_prefix=$ac_optarg ;;
1646 -program-suffix | --program-suffix | --program-suffi | --program-suff \
1647 | --program-suf | --program-su | --program-s)
1648 ac_prev=program_suffix ;;
1649 -program-suffix=* | --program-suffix=* | --program-suffi=* \
1650 | --program-suff=* | --program-suf=* | --program-su=* | --program-s=*)
1651 program_suffix=$ac_optarg ;;
1653 -program-transform-name | --program-transform-name \
1654 | --program-transform-nam | --program-transform-na \
1655 | --program-transform-n | --program-transform- \
1656 | --program-transform | --program-transfor \
1657 | --program-transfo | --program-transf \
1658 | --program-trans | --program-tran \
1659 | --progr-tra | --program-tr | --program-t)
1660 ac_prev=program_transform_name ;;
1661 -program-transform-name=* | --program-transform-name=* \
1662 | --program-transform-nam=* | --program-transform-na=* \
1663 | --program-transform-n=* | --program-transform-=* \
1664 | --program-transform=* | --program-transfor=* \
1665 | --program-transfo=* | --program-transf=* \
1666 | --program-trans=* | --program-tran=* \
1667 | --progr-tra=* | --program-tr=* | --program-t=*)
1668 program_transform_name=$ac_optarg ;;
1670 -pdfdir | --pdfdir | --pdfdi | --pdfd | --pdf | --pd)
1671 ac_prev=pdfdir ;;
1672 -pdfdir=* | --pdfdir=* | --pdfdi=* | --pdfd=* | --pdf=* | --pd=*)
1673 pdfdir=$ac_optarg ;;
1675 -psdir | --psdir | --psdi | --psd | --ps)
1676 ac_prev=psdir ;;
1677 -psdir=* | --psdir=* | --psdi=* | --psd=* | --ps=*)
1678 psdir=$ac_optarg ;;
1680 -q | -quiet | --quiet | --quie | --qui | --qu | --q \
1681 | -silent | --silent | --silen | --sile | --sil)
1682 silent=yes ;;
1684 -sbindir | --sbindir | --sbindi | --sbind | --sbin | --sbi | --sb)
1685 ac_prev=sbindir ;;
1686 -sbindir=* | --sbindir=* | --sbindi=* | --sbind=* | --sbin=* \
1687 | --sbi=* | --sb=*)
1688 sbindir=$ac_optarg ;;
1690 -sharedstatedir | --sharedstatedir | --sharedstatedi \
1691 | --sharedstated | --sharedstate | --sharedstat | --sharedsta \
1692 | --sharedst | --shareds | --shared | --share | --shar \
1693 | --sha | --sh)
1694 ac_prev=sharedstatedir ;;
1695 -sharedstatedir=* | --sharedstatedir=* | --sharedstatedi=* \
1696 | --sharedstated=* | --sharedstate=* | --sharedstat=* | --sharedsta=* \
1697 | --sharedst=* | --shareds=* | --shared=* | --share=* | --shar=* \
1698 | --sha=* | --sh=*)
1699 sharedstatedir=$ac_optarg ;;
1701 -site | --site | --sit)
1702 ac_prev=site ;;
1703 -site=* | --site=* | --sit=*)
1704 site=$ac_optarg ;;
1706 -srcdir | --srcdir | --srcdi | --srcd | --src | --sr)
1707 ac_prev=srcdir ;;
1708 -srcdir=* | --srcdir=* | --srcdi=* | --srcd=* | --src=* | --sr=*)
1709 srcdir=$ac_optarg ;;
1711 -sysconfdir | --sysconfdir | --sysconfdi | --sysconfd | --sysconf \
1712 | --syscon | --sysco | --sysc | --sys | --sy)
1713 ac_prev=sysconfdir ;;
1714 -sysconfdir=* | --sysconfdir=* | --sysconfdi=* | --sysconfd=* | --sysconf=* \
1715 | --syscon=* | --sysco=* | --sysc=* | --sys=* | --sy=*)
1716 sysconfdir=$ac_optarg ;;
1718 -target | --target | --targe | --targ | --tar | --ta | --t)
1719 ac_prev=target_alias ;;
1720 -target=* | --target=* | --targe=* | --targ=* | --tar=* | --ta=* | --t=*)
1721 target_alias=$ac_optarg ;;
1723 -v | -verbose | --verbose | --verbos | --verbo | --verb)
1724 verbose=yes ;;
1726 -version | --version | --versio | --versi | --vers | -V)
1727 ac_init_version=: ;;
1729 -with-* | --with-*)
1730 ac_useropt=`expr "x$ac_option" : 'x-*with-\([^=]*\)'`
1731 # Reject names that are not valid shell variable names.
1732 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
1733 as_fn_error $? "invalid package name: $ac_useropt"
1734 ac_useropt_orig=$ac_useropt
1735 ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
1736 case $ac_user_opts in
1738 "with_$ac_useropt"
1739 "*) ;;
1740 *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--with-$ac_useropt_orig"
1741 ac_unrecognized_sep=', ';;
1742 esac
1743 eval with_$ac_useropt=\$ac_optarg ;;
1745 -without-* | --without-*)
1746 ac_useropt=`expr "x$ac_option" : 'x-*without-\(.*\)'`
1747 # Reject names that are not valid shell variable names.
1748 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
1749 as_fn_error $? "invalid package name: $ac_useropt"
1750 ac_useropt_orig=$ac_useropt
1751 ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
1752 case $ac_user_opts in
1754 "with_$ac_useropt"
1755 "*) ;;
1756 *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--without-$ac_useropt_orig"
1757 ac_unrecognized_sep=', ';;
1758 esac
1759 eval with_$ac_useropt=no ;;
1761 --x)
1762 # Obsolete; use --with-x.
1763 with_x=yes ;;
1765 -x-includes | --x-includes | --x-include | --x-includ | --x-inclu \
1766 | --x-incl | --x-inc | --x-in | --x-i)
1767 ac_prev=x_includes ;;
1768 -x-includes=* | --x-includes=* | --x-include=* | --x-includ=* | --x-inclu=* \
1769 | --x-incl=* | --x-inc=* | --x-in=* | --x-i=*)
1770 x_includes=$ac_optarg ;;
1772 -x-libraries | --x-libraries | --x-librarie | --x-librari \
1773 | --x-librar | --x-libra | --x-libr | --x-lib | --x-li | --x-l)
1774 ac_prev=x_libraries ;;
1775 -x-libraries=* | --x-libraries=* | --x-librarie=* | --x-librari=* \
1776 | --x-librar=* | --x-libra=* | --x-libr=* | --x-lib=* | --x-li=* | --x-l=*)
1777 x_libraries=$ac_optarg ;;
1779 -*) as_fn_error $? "unrecognized option: \`$ac_option'
1780 Try \`$0 --help' for more information"
1783 *=*)
1784 ac_envvar=`expr "x$ac_option" : 'x\([^=]*\)='`
1785 # Reject names that are not valid shell variable names.
1786 case $ac_envvar in #(
1787 '' | [0-9]* | *[!_$as_cr_alnum]* )
1788 as_fn_error $? "invalid variable name: \`$ac_envvar'" ;;
1789 esac
1790 eval $ac_envvar=\$ac_optarg
1791 export $ac_envvar ;;
1794 # FIXME: should be removed in autoconf 3.0.
1795 $as_echo "$as_me: WARNING: you should use --build, --host, --target" >&2
1796 expr "x$ac_option" : ".*[^-._$as_cr_alnum]" >/dev/null &&
1797 $as_echo "$as_me: WARNING: invalid host type: $ac_option" >&2
1798 : "${build_alias=$ac_option} ${host_alias=$ac_option} ${target_alias=$ac_option}"
1801 esac
1802 done
1804 if test -n "$ac_prev"; then
1805 ac_option=--`echo $ac_prev | sed 's/_/-/g'`
1806 as_fn_error $? "missing argument to $ac_option"
1809 if test -n "$ac_unrecognized_opts"; then
1810 case $enable_option_checking in
1811 no) ;;
1812 fatal) as_fn_error $? "unrecognized options: $ac_unrecognized_opts" ;;
1813 *) $as_echo "$as_me: WARNING: unrecognized options: $ac_unrecognized_opts" >&2 ;;
1814 esac
1817 # Check all directory arguments for consistency.
1818 for ac_var in exec_prefix prefix bindir sbindir libexecdir datarootdir \
1819 datadir sysconfdir sharedstatedir localstatedir includedir \
1820 oldincludedir docdir infodir htmldir dvidir pdfdir psdir \
1821 libdir localedir mandir
1823 eval ac_val=\$$ac_var
1824 # Remove trailing slashes.
1825 case $ac_val in
1826 */ )
1827 ac_val=`expr "X$ac_val" : 'X\(.*[^/]\)' \| "X$ac_val" : 'X\(.*\)'`
1828 eval $ac_var=\$ac_val;;
1829 esac
1830 # Be sure to have absolute directory names.
1831 case $ac_val in
1832 [\\/$]* | ?:[\\/]* ) continue;;
1833 NONE | '' ) case $ac_var in *prefix ) continue;; esac;;
1834 esac
1835 as_fn_error $? "expected an absolute directory name for --$ac_var: $ac_val"
1836 done
1838 # There might be people who depend on the old broken behavior: `$host'
1839 # used to hold the argument of --host etc.
1840 # FIXME: To remove some day.
1841 build=$build_alias
1842 host=$host_alias
1843 target=$target_alias
1845 # FIXME: To remove some day.
1846 if test "x$host_alias" != x; then
1847 if test "x$build_alias" = x; then
1848 cross_compiling=maybe
1849 elif test "x$build_alias" != "x$host_alias"; then
1850 cross_compiling=yes
1854 ac_tool_prefix=
1855 test -n "$host_alias" && ac_tool_prefix=$host_alias-
1857 test "$silent" = yes && exec 6>/dev/null
1860 ac_pwd=`pwd` && test -n "$ac_pwd" &&
1861 ac_ls_di=`ls -di .` &&
1862 ac_pwd_ls_di=`cd "$ac_pwd" && ls -di .` ||
1863 as_fn_error $? "working directory cannot be determined"
1864 test "X$ac_ls_di" = "X$ac_pwd_ls_di" ||
1865 as_fn_error $? "pwd does not report name of working directory"
1868 # Find the source files, if location was not specified.
1869 if test -z "$srcdir"; then
1870 ac_srcdir_defaulted=yes
1871 # Try the directory containing this script, then the parent directory.
1872 ac_confdir=`$as_dirname -- "$as_myself" ||
1873 $as_expr X"$as_myself" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
1874 X"$as_myself" : 'X\(//\)[^/]' \| \
1875 X"$as_myself" : 'X\(//\)$' \| \
1876 X"$as_myself" : 'X\(/\)' \| . 2>/dev/null ||
1877 $as_echo X"$as_myself" |
1878 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
1879 s//\1/
1882 /^X\(\/\/\)[^/].*/{
1883 s//\1/
1886 /^X\(\/\/\)$/{
1887 s//\1/
1890 /^X\(\/\).*/{
1891 s//\1/
1894 s/.*/./; q'`
1895 srcdir=$ac_confdir
1896 if test ! -r "$srcdir/$ac_unique_file"; then
1897 srcdir=..
1899 else
1900 ac_srcdir_defaulted=no
1902 if test ! -r "$srcdir/$ac_unique_file"; then
1903 test "$ac_srcdir_defaulted" = yes && srcdir="$ac_confdir or .."
1904 as_fn_error $? "cannot find sources ($ac_unique_file) in $srcdir"
1906 ac_msg="sources are in $srcdir, but \`cd $srcdir' does not work"
1907 ac_abs_confdir=`(
1908 cd "$srcdir" && test -r "./$ac_unique_file" || as_fn_error $? "$ac_msg"
1909 pwd)`
1910 # When building in place, set srcdir=.
1911 if test "$ac_abs_confdir" = "$ac_pwd"; then
1912 srcdir=.
1914 # Remove unnecessary trailing slashes from srcdir.
1915 # Double slashes in file names in object file debugging info
1916 # mess up M-x gdb in Emacs.
1917 case $srcdir in
1918 */) srcdir=`expr "X$srcdir" : 'X\(.*[^/]\)' \| "X$srcdir" : 'X\(.*\)'`;;
1919 esac
1920 for ac_var in $ac_precious_vars; do
1921 eval ac_env_${ac_var}_set=\${${ac_var}+set}
1922 eval ac_env_${ac_var}_value=\$${ac_var}
1923 eval ac_cv_env_${ac_var}_set=\${${ac_var}+set}
1924 eval ac_cv_env_${ac_var}_value=\$${ac_var}
1925 done
1928 # Report the --help message.
1930 if test "$ac_init_help" = "long"; then
1931 # Omit some internal or obsolete options to make the list less imposing.
1932 # This message is too long to be a string in the A/UX 3.1 sh.
1933 cat <<_ACEOF
1934 \`configure' configures Wine 1.7.3 to adapt to many kinds of systems.
1936 Usage: $0 [OPTION]... [VAR=VALUE]...
1938 To assign environment variables (e.g., CC, CFLAGS...), specify them as
1939 VAR=VALUE. See below for descriptions of some of the useful variables.
1941 Defaults for the options are specified in brackets.
1943 Configuration:
1944 -h, --help display this help and exit
1945 --help=short display options specific to this package
1946 --help=recursive display the short help of all the included packages
1947 -V, --version display version information and exit
1948 -q, --quiet, --silent do not print \`checking ...' messages
1949 --cache-file=FILE cache test results in FILE [disabled]
1950 -C, --config-cache alias for \`--cache-file=config.cache'
1951 -n, --no-create do not create output files
1952 --srcdir=DIR find the sources in DIR [configure dir or \`..']
1954 Installation directories:
1955 --prefix=PREFIX install architecture-independent files in PREFIX
1956 [$ac_default_prefix]
1957 --exec-prefix=EPREFIX install architecture-dependent files in EPREFIX
1958 [PREFIX]
1960 By default, \`make install' will install all the files in
1961 \`$ac_default_prefix/bin', \`$ac_default_prefix/lib' etc. You can specify
1962 an installation prefix other than \`$ac_default_prefix' using \`--prefix',
1963 for instance \`--prefix=\$HOME'.
1965 For better control, use the options below.
1967 Fine tuning of the installation directories:
1968 --bindir=DIR user executables [EPREFIX/bin]
1969 --sbindir=DIR system admin executables [EPREFIX/sbin]
1970 --libexecdir=DIR program executables [EPREFIX/libexec]
1971 --sysconfdir=DIR read-only single-machine data [PREFIX/etc]
1972 --sharedstatedir=DIR modifiable architecture-independent data [PREFIX/com]
1973 --localstatedir=DIR modifiable single-machine data [PREFIX/var]
1974 --libdir=DIR object code libraries [EPREFIX/lib]
1975 --includedir=DIR C header files [PREFIX/include]
1976 --oldincludedir=DIR C header files for non-gcc [/usr/include]
1977 --datarootdir=DIR read-only arch.-independent data root [PREFIX/share]
1978 --datadir=DIR read-only architecture-independent data [DATAROOTDIR]
1979 --infodir=DIR info documentation [DATAROOTDIR/info]
1980 --localedir=DIR locale-dependent data [DATAROOTDIR/locale]
1981 --mandir=DIR man documentation [DATAROOTDIR/man]
1982 --docdir=DIR documentation root [DATAROOTDIR/doc/wine]
1983 --htmldir=DIR html documentation [DOCDIR]
1984 --dvidir=DIR dvi documentation [DOCDIR]
1985 --pdfdir=DIR pdf documentation [DOCDIR]
1986 --psdir=DIR ps documentation [DOCDIR]
1987 _ACEOF
1989 cat <<\_ACEOF
1991 X features:
1992 --x-includes=DIR X include files are in DIR
1993 --x-libraries=DIR X library files are in DIR
1995 System types:
1996 --build=BUILD configure for building on BUILD [guessed]
1997 --host=HOST cross-compile to build programs to run on HOST [BUILD]
1998 _ACEOF
2001 if test -n "$ac_init_help"; then
2002 case $ac_init_help in
2003 short | recursive ) echo "Configuration of Wine 1.7.3:";;
2004 esac
2005 cat <<\_ACEOF
2007 Optional Features:
2008 --disable-option-checking ignore unrecognized --enable/--with options
2009 --disable-FEATURE do not include FEATURE (same as --enable-FEATURE=no)
2010 --enable-FEATURE[=ARG] include FEATURE [ARG=yes]
2011 --disable-win16 do not include Win16 support
2012 --enable-win64 build a Win64 emulator on AMD64 (won't run Win32
2013 binaries)
2014 --disable-tests do not build the regression tests
2015 --enable-maintainer-mode
2016 enable maintainer-specific build rules
2017 --disable-largefile omit support for large files
2019 Optional Packages:
2020 --with-PACKAGE[=ARG] use PACKAGE [ARG=yes]
2021 --without-PACKAGE do not use PACKAGE (same as --with-PACKAGE=no)
2022 --without-alsa do not use the Alsa sound support
2023 --without-capi do not use CAPI (ISDN support)
2024 --without-cms do not use CMS (color management support)
2025 --without-coreaudio do not use the CoreAudio sound support
2026 --without-cups do not use CUPS
2027 --without-curses do not use (n)curses
2028 --without-dbus do not use DBus (dynamic device support)
2029 --without-fontconfig do not use fontconfig
2030 --without-freetype do not use the FreeType library
2031 --without-gettext do not use gettext
2032 --with-gettextpo use the GetTextPO library to rebuild po files
2033 --without-gphoto do not use gphoto (Digital Camera support)
2034 --without-glu do not use the GLU library
2035 --without-gnutls do not use GnuTLS (schannel support)
2036 --without-gsm do not use libgsm (GSM 06.10 codec support)
2037 --without-gstreamer do not use GStreamer (codecs support)
2038 --without-hal do not use HAL (dynamic device support)
2039 --without-jpeg do not use JPEG
2040 --without-ldap do not use LDAP
2041 --without-mpg123 do not use the mpg123 library
2042 --without-openal do not use OpenAL
2043 --without-opencl do not use OpenCL
2044 --without-opengl do not use OpenGL
2045 --without-osmesa do not use the OSMesa library
2046 --without-oss do not use the OSS sound support
2047 --without-png do not use PNG
2048 --without-pthread do not use the pthread library
2049 --without-sane do not use SANE (scanner support)
2050 --without-tiff do not use TIFF
2051 --without-v4l do not use v4l1 (v4l support)
2052 --without-xcomposite do not use the Xcomposite extension
2053 --without-xcursor do not use the Xcursor extension
2054 --without-xinerama do not use Xinerama (multi-monitor support)
2055 --without-xinput do not use the Xinput extension
2056 --without-xinput2 do not use the Xinput 2 extension
2057 --without-xml do not use XML
2058 --without-xrandr do not use Xrandr (resolution changes)
2059 --without-xrender do not use the Xrender extension
2060 --without-xshape do not use the Xshape extension
2061 --without-xshm do not use XShm (shared memory extension)
2062 --without-xslt do not use XSLT
2063 --without-xxf86vm do not use XFree video mode extension
2064 --without-zlib do not use Zlib (data compression)
2065 --with-wine-tools=DIR use Wine tools from directory DIR
2066 --with-wine64=DIR use the 64-bit Wine in DIR for a Wow64 build
2067 --with-x use the X Window System
2069 Some influential environment variables:
2070 CC C compiler command
2071 CFLAGS C compiler flags
2072 LDFLAGS linker flags, e.g. -L<lib dir> if you have libraries in a
2073 nonstandard directory <lib dir>
2074 LIBS libraries to pass to the linker, e.g. -l<library>
2075 CPPFLAGS (Objective) C/C++ preprocessor flags, e.g. -I<include dir> if
2076 you have headers in a nonstandard directory <include dir>
2077 CXX C++ compiler command
2078 CXXFLAGS C++ compiler flags
2079 CPP C preprocessor
2080 XMKMF Path to xmkmf, Makefile generator for X Window System
2081 XML2_CFLAGS C compiler flags for libxml-2.0, overriding pkg-config
2082 XML2_LIBS Linker flags for libxml-2.0, overriding pkg-config
2083 XSLT_CFLAGS C compiler flags for libxslt, overriding pkg-config
2084 XSLT_LIBS Linker flags for libxslt, overriding pkg-config
2085 DBUS_CFLAGS C compiler flags for dbus-1, overriding pkg-config
2086 DBUS_LIBS Linker flags for dbus-1, overriding pkg-config
2087 HAL_CFLAGS C compiler flags for hal, overriding pkg-config
2088 HAL_LIBS Linker flags for hal, overriding pkg-config
2089 GNUTLS_CFLAGS
2090 C compiler flags for gnutls, overriding pkg-config
2091 GNUTLS_LIBS Linker flags for gnutls, overriding pkg-config
2092 SANE_CFLAGS C compiler flags for libsane, overriding pkg-config
2093 SANE_LIBS Linker flags for libsane, overriding pkg-config
2094 GPHOTO2_CFLAGS
2095 C compiler flags for libgphoto2, overriding pkg-config
2096 GPHOTO2_LIBS
2097 Linker flags for libgphoto2, overriding pkg-config
2098 GPHOTO2_PORT_CFLAGS
2099 C compiler flags for libgphoto2_port, overriding pkg-config
2100 GPHOTO2_PORT_LIBS
2101 Linker flags for libgphoto2_port, overriding pkg-config
2102 LCMS2_CFLAGS
2103 C compiler flags for lcms2, overriding pkg-config
2104 LCMS2_LIBS Linker flags for lcms2, overriding pkg-config
2105 FREETYPE_CFLAGS
2106 C compiler flags for freetype2, overriding pkg-config
2107 FREETYPE_LIBS
2108 Linker flags for freetype2, overriding pkg-config
2109 GSTREAMER_CFLAGS
2110 C compiler flags for gstreamer-app-0.10, overriding pkg-config
2111 GSTREAMER_LIBS
2112 Linker flags for gstreamer-app-0.10, overriding pkg-config
2113 CAPI20_CFLAGS
2114 C compiler flags for capi20, overriding pkg-config
2115 CAPI20_LIBS Linker flags for capi20, overriding pkg-config
2116 JPEG_CFLAGS C compiler flags for libjpeg, overriding pkg-config
2117 JPEG_LIBS Linker flags for libjpeg, overriding pkg-config
2118 PNG_CFLAGS C compiler flags for libpng, overriding pkg-config
2119 PNG_LIBS Linker flags for libpng, overriding pkg-config
2120 TIFF_CFLAGS C compiler flags for libtiff, overriding pkg-config
2121 TIFF_LIBS Linker flags for libtiff, overriding pkg-config
2122 MPG123_CFLAGS
2123 C compiler flags for libmpg123, overriding pkg-config
2124 MPG123_LIBS Linker flags for libmpg123, overriding pkg-config
2126 Use these variables to override the choices made by `configure' or to help
2127 it to find libraries and programs with nonstandard names/locations.
2129 Report bugs to <wine-devel@winehq.org>.
2130 Wine home page: <http://www.winehq.org>.
2131 _ACEOF
2132 ac_status=$?
2135 if test "$ac_init_help" = "recursive"; then
2136 # If there are subdirs, report their specific --help.
2137 for ac_dir in : $ac_subdirs_all; do test "x$ac_dir" = x: && continue
2138 test -d "$ac_dir" ||
2139 { cd "$srcdir" && ac_pwd=`pwd` && srcdir=. && test -d "$ac_dir"; } ||
2140 continue
2141 ac_builddir=.
2143 case "$ac_dir" in
2144 .) ac_dir_suffix= ac_top_builddir_sub=. ac_top_build_prefix= ;;
2146 ac_dir_suffix=/`$as_echo "$ac_dir" | sed 's|^\.[\\/]||'`
2147 # A ".." for each directory in $ac_dir_suffix.
2148 ac_top_builddir_sub=`$as_echo "$ac_dir_suffix" | sed 's|/[^\\/]*|/..|g;s|/||'`
2149 case $ac_top_builddir_sub in
2150 "") ac_top_builddir_sub=. ac_top_build_prefix= ;;
2151 *) ac_top_build_prefix=$ac_top_builddir_sub/ ;;
2152 esac ;;
2153 esac
2154 ac_abs_top_builddir=$ac_pwd
2155 ac_abs_builddir=$ac_pwd$ac_dir_suffix
2156 # for backward compatibility:
2157 ac_top_builddir=$ac_top_build_prefix
2159 case $srcdir in
2160 .) # We are building in place.
2161 ac_srcdir=.
2162 ac_top_srcdir=$ac_top_builddir_sub
2163 ac_abs_top_srcdir=$ac_pwd ;;
2164 [\\/]* | ?:[\\/]* ) # Absolute name.
2165 ac_srcdir=$srcdir$ac_dir_suffix;
2166 ac_top_srcdir=$srcdir
2167 ac_abs_top_srcdir=$srcdir ;;
2168 *) # Relative name.
2169 ac_srcdir=$ac_top_build_prefix$srcdir$ac_dir_suffix
2170 ac_top_srcdir=$ac_top_build_prefix$srcdir
2171 ac_abs_top_srcdir=$ac_pwd/$srcdir ;;
2172 esac
2173 ac_abs_srcdir=$ac_abs_top_srcdir$ac_dir_suffix
2175 cd "$ac_dir" || { ac_status=$?; continue; }
2176 # Check for guested configure.
2177 if test -f "$ac_srcdir/configure.gnu"; then
2178 echo &&
2179 $SHELL "$ac_srcdir/configure.gnu" --help=recursive
2180 elif test -f "$ac_srcdir/configure"; then
2181 echo &&
2182 $SHELL "$ac_srcdir/configure" --help=recursive
2183 else
2184 $as_echo "$as_me: WARNING: no configuration information is in $ac_dir" >&2
2185 fi || ac_status=$?
2186 cd "$ac_pwd" || { ac_status=$?; break; }
2187 done
2190 test -n "$ac_init_help" && exit $ac_status
2191 if $ac_init_version; then
2192 cat <<\_ACEOF
2193 Wine configure 1.7.3
2194 generated by GNU Autoconf 2.69
2196 Copyright (C) 2012 Free Software Foundation, Inc.
2197 This configure script is free software; the Free Software Foundation
2198 gives unlimited permission to copy, distribute and modify it.
2199 _ACEOF
2200 exit
2203 ## ------------------------ ##
2204 ## Autoconf initialization. ##
2205 ## ------------------------ ##
2207 # ac_fn_c_try_compile LINENO
2208 # --------------------------
2209 # Try to compile conftest.$ac_ext, and return whether this succeeded.
2210 ac_fn_c_try_compile ()
2212 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
2213 rm -f conftest.$ac_objext
2214 if { { ac_try="$ac_compile"
2215 case "(($ac_try" in
2216 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2217 *) ac_try_echo=$ac_try;;
2218 esac
2219 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
2220 $as_echo "$ac_try_echo"; } >&5
2221 (eval "$ac_compile") 2>conftest.err
2222 ac_status=$?
2223 if test -s conftest.err; then
2224 grep -v '^ *+' conftest.err >conftest.er1
2225 cat conftest.er1 >&5
2226 mv -f conftest.er1 conftest.err
2228 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
2229 test $ac_status = 0; } && {
2230 test -z "$ac_c_werror_flag" ||
2231 test ! -s conftest.err
2232 } && test -s conftest.$ac_objext; then :
2233 ac_retval=0
2234 else
2235 $as_echo "$as_me: failed program was:" >&5
2236 sed 's/^/| /' conftest.$ac_ext >&5
2238 ac_retval=1
2240 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
2241 as_fn_set_status $ac_retval
2243 } # ac_fn_c_try_compile
2245 # ac_fn_cxx_try_compile LINENO
2246 # ----------------------------
2247 # Try to compile conftest.$ac_ext, and return whether this succeeded.
2248 ac_fn_cxx_try_compile ()
2250 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
2251 rm -f conftest.$ac_objext
2252 if { { ac_try="$ac_compile"
2253 case "(($ac_try" in
2254 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2255 *) ac_try_echo=$ac_try;;
2256 esac
2257 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
2258 $as_echo "$ac_try_echo"; } >&5
2259 (eval "$ac_compile") 2>conftest.err
2260 ac_status=$?
2261 if test -s conftest.err; then
2262 grep -v '^ *+' conftest.err >conftest.er1
2263 cat conftest.er1 >&5
2264 mv -f conftest.er1 conftest.err
2266 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
2267 test $ac_status = 0; } && {
2268 test -z "$ac_cxx_werror_flag" ||
2269 test ! -s conftest.err
2270 } && test -s conftest.$ac_objext; then :
2271 ac_retval=0
2272 else
2273 $as_echo "$as_me: failed program was:" >&5
2274 sed 's/^/| /' conftest.$ac_ext >&5
2276 ac_retval=1
2278 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
2279 as_fn_set_status $ac_retval
2281 } # ac_fn_cxx_try_compile
2283 # ac_fn_c_try_link LINENO
2284 # -----------------------
2285 # Try to link conftest.$ac_ext, and return whether this succeeded.
2286 ac_fn_c_try_link ()
2288 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
2289 rm -f conftest.$ac_objext conftest$ac_exeext
2290 if { { ac_try="$ac_link"
2291 case "(($ac_try" in
2292 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2293 *) ac_try_echo=$ac_try;;
2294 esac
2295 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
2296 $as_echo "$ac_try_echo"; } >&5
2297 (eval "$ac_link") 2>conftest.err
2298 ac_status=$?
2299 if test -s conftest.err; then
2300 grep -v '^ *+' conftest.err >conftest.er1
2301 cat conftest.er1 >&5
2302 mv -f conftest.er1 conftest.err
2304 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
2305 test $ac_status = 0; } && {
2306 test -z "$ac_c_werror_flag" ||
2307 test ! -s conftest.err
2308 } && test -s conftest$ac_exeext && {
2309 test "$cross_compiling" = yes ||
2310 test -x conftest$ac_exeext
2311 }; then :
2312 ac_retval=0
2313 else
2314 $as_echo "$as_me: failed program was:" >&5
2315 sed 's/^/| /' conftest.$ac_ext >&5
2317 ac_retval=1
2319 # Delete the IPA/IPO (Inter Procedural Analysis/Optimization) information
2320 # created by the PGI compiler (conftest_ipa8_conftest.oo), as it would
2321 # interfere with the next link command; also delete a directory that is
2322 # left behind by Apple's compiler. We do this before executing the actions.
2323 rm -rf conftest.dSYM conftest_ipa8_conftest.oo
2324 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
2325 as_fn_set_status $ac_retval
2327 } # ac_fn_c_try_link
2329 # ac_fn_c_try_cpp LINENO
2330 # ----------------------
2331 # Try to preprocess conftest.$ac_ext, and return whether this succeeded.
2332 ac_fn_c_try_cpp ()
2334 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
2335 if { { ac_try="$ac_cpp conftest.$ac_ext"
2336 case "(($ac_try" in
2337 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2338 *) ac_try_echo=$ac_try;;
2339 esac
2340 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
2341 $as_echo "$ac_try_echo"; } >&5
2342 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.err
2343 ac_status=$?
2344 if test -s conftest.err; then
2345 grep -v '^ *+' conftest.err >conftest.er1
2346 cat conftest.er1 >&5
2347 mv -f conftest.er1 conftest.err
2349 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
2350 test $ac_status = 0; } > conftest.i && {
2351 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
2352 test ! -s conftest.err
2353 }; then :
2354 ac_retval=0
2355 else
2356 $as_echo "$as_me: failed program was:" >&5
2357 sed 's/^/| /' conftest.$ac_ext >&5
2359 ac_retval=1
2361 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
2362 as_fn_set_status $ac_retval
2364 } # ac_fn_c_try_cpp
2366 # ac_fn_c_check_header_mongrel LINENO HEADER VAR INCLUDES
2367 # -------------------------------------------------------
2368 # Tests whether HEADER exists, giving a warning if it cannot be compiled using
2369 # the include files in INCLUDES and setting the cache variable VAR
2370 # accordingly.
2371 ac_fn_c_check_header_mongrel ()
2373 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
2374 if eval \${$3+:} false; then :
2375 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
2376 $as_echo_n "checking for $2... " >&6; }
2377 if eval \${$3+:} false; then :
2378 $as_echo_n "(cached) " >&6
2380 eval ac_res=\$$3
2381 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
2382 $as_echo "$ac_res" >&6; }
2383 else
2384 # Is the header compilable?
2385 { $as_echo "$as_me:${as_lineno-$LINENO}: checking $2 usability" >&5
2386 $as_echo_n "checking $2 usability... " >&6; }
2387 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2388 /* end confdefs.h. */
2390 #include <$2>
2391 _ACEOF
2392 if ac_fn_c_try_compile "$LINENO"; then :
2393 ac_header_compiler=yes
2394 else
2395 ac_header_compiler=no
2397 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
2398 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_header_compiler" >&5
2399 $as_echo "$ac_header_compiler" >&6; }
2401 # Is the header present?
2402 { $as_echo "$as_me:${as_lineno-$LINENO}: checking $2 presence" >&5
2403 $as_echo_n "checking $2 presence... " >&6; }
2404 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2405 /* end confdefs.h. */
2406 #include <$2>
2407 _ACEOF
2408 if ac_fn_c_try_cpp "$LINENO"; then :
2409 ac_header_preproc=yes
2410 else
2411 ac_header_preproc=no
2413 rm -f conftest.err conftest.i conftest.$ac_ext
2414 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_header_preproc" >&5
2415 $as_echo "$ac_header_preproc" >&6; }
2417 # So? What about this header?
2418 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in #((
2419 yes:no: )
2420 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: accepted by the compiler, rejected by the preprocessor!" >&5
2421 $as_echo "$as_me: WARNING: $2: accepted by the compiler, rejected by the preprocessor!" >&2;}
2422 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: proceeding with the compiler's result" >&5
2423 $as_echo "$as_me: WARNING: $2: proceeding with the compiler's result" >&2;}
2425 no:yes:* )
2426 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: present but cannot be compiled" >&5
2427 $as_echo "$as_me: WARNING: $2: present but cannot be compiled" >&2;}
2428 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: check for missing prerequisite headers?" >&5
2429 $as_echo "$as_me: WARNING: $2: check for missing prerequisite headers?" >&2;}
2430 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: see the Autoconf documentation" >&5
2431 $as_echo "$as_me: WARNING: $2: see the Autoconf documentation" >&2;}
2432 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: section \"Present But Cannot Be Compiled\"" >&5
2433 $as_echo "$as_me: WARNING: $2: section \"Present But Cannot Be Compiled\"" >&2;}
2434 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: proceeding with the compiler's result" >&5
2435 $as_echo "$as_me: WARNING: $2: proceeding with the compiler's result" >&2;}
2436 ( $as_echo "## ------------------------------------ ##
2437 ## Report this to wine-devel@winehq.org ##
2438 ## ------------------------------------ ##"
2439 ) | sed "s/^/$as_me: WARNING: /" >&2
2441 esac
2442 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
2443 $as_echo_n "checking for $2... " >&6; }
2444 if eval \${$3+:} false; then :
2445 $as_echo_n "(cached) " >&6
2446 else
2447 eval "$3=\$ac_header_compiler"
2449 eval ac_res=\$$3
2450 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
2451 $as_echo "$ac_res" >&6; }
2453 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
2455 } # ac_fn_c_check_header_mongrel
2457 # ac_fn_c_try_run LINENO
2458 # ----------------------
2459 # Try to link conftest.$ac_ext, and return whether this succeeded. Assumes
2460 # that executables *can* be run.
2461 ac_fn_c_try_run ()
2463 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
2464 if { { ac_try="$ac_link"
2465 case "(($ac_try" in
2466 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2467 *) ac_try_echo=$ac_try;;
2468 esac
2469 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
2470 $as_echo "$ac_try_echo"; } >&5
2471 (eval "$ac_link") 2>&5
2472 ac_status=$?
2473 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
2474 test $ac_status = 0; } && { ac_try='./conftest$ac_exeext'
2475 { { case "(($ac_try" in
2476 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2477 *) ac_try_echo=$ac_try;;
2478 esac
2479 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
2480 $as_echo "$ac_try_echo"; } >&5
2481 (eval "$ac_try") 2>&5
2482 ac_status=$?
2483 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
2484 test $ac_status = 0; }; }; then :
2485 ac_retval=0
2486 else
2487 $as_echo "$as_me: program exited with status $ac_status" >&5
2488 $as_echo "$as_me: failed program was:" >&5
2489 sed 's/^/| /' conftest.$ac_ext >&5
2491 ac_retval=$ac_status
2493 rm -rf conftest.dSYM conftest_ipa8_conftest.oo
2494 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
2495 as_fn_set_status $ac_retval
2497 } # ac_fn_c_try_run
2499 # ac_fn_c_check_header_compile LINENO HEADER VAR INCLUDES
2500 # -------------------------------------------------------
2501 # Tests whether HEADER exists and can be compiled using the include files in
2502 # INCLUDES, setting the cache variable VAR accordingly.
2503 ac_fn_c_check_header_compile ()
2505 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
2506 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
2507 $as_echo_n "checking for $2... " >&6; }
2508 if eval \${$3+:} false; then :
2509 $as_echo_n "(cached) " >&6
2510 else
2511 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2512 /* end confdefs.h. */
2514 #include <$2>
2515 _ACEOF
2516 if ac_fn_c_try_compile "$LINENO"; then :
2517 eval "$3=yes"
2518 else
2519 eval "$3=no"
2521 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
2523 eval ac_res=\$$3
2524 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
2525 $as_echo "$ac_res" >&6; }
2526 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
2528 } # ac_fn_c_check_header_compile
2530 # ac_fn_c_check_func LINENO FUNC VAR
2531 # ----------------------------------
2532 # Tests whether FUNC exists, setting the cache variable VAR accordingly
2533 ac_fn_c_check_func ()
2535 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
2536 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
2537 $as_echo_n "checking for $2... " >&6; }
2538 if eval \${$3+:} false; then :
2539 $as_echo_n "(cached) " >&6
2540 else
2541 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2542 /* end confdefs.h. */
2543 /* Define $2 to an innocuous variant, in case <limits.h> declares $2.
2544 For example, HP-UX 11i <limits.h> declares gettimeofday. */
2545 #define $2 innocuous_$2
2547 /* System header to define __stub macros and hopefully few prototypes,
2548 which can conflict with char $2 (); below.
2549 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
2550 <limits.h> exists even on freestanding compilers. */
2552 #ifdef __STDC__
2553 # include <limits.h>
2554 #else
2555 # include <assert.h>
2556 #endif
2558 #undef $2
2560 /* Override any GCC internal prototype to avoid an error.
2561 Use char because int might match the return type of a GCC
2562 builtin and then its argument prototype would still apply. */
2563 #ifdef __cplusplus
2564 extern "C"
2565 #endif
2566 char $2 ();
2567 /* The GNU C library defines this for functions which it implements
2568 to always fail with ENOSYS. Some functions are actually named
2569 something starting with __ and the normal name is an alias. */
2570 #if defined __stub_$2 || defined __stub___$2
2571 choke me
2572 #endif
2575 main ()
2577 return $2 ();
2579 return 0;
2581 _ACEOF
2582 if ac_fn_c_try_link "$LINENO"; then :
2583 eval "$3=yes"
2584 else
2585 eval "$3=no"
2587 rm -f core conftest.err conftest.$ac_objext \
2588 conftest$ac_exeext conftest.$ac_ext
2590 eval ac_res=\$$3
2591 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
2592 $as_echo "$ac_res" >&6; }
2593 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
2595 } # ac_fn_c_check_func
2597 # ac_fn_c_check_member LINENO AGGR MEMBER VAR INCLUDES
2598 # ----------------------------------------------------
2599 # Tries to find if the field MEMBER exists in type AGGR, after including
2600 # INCLUDES, setting cache variable VAR accordingly.
2601 ac_fn_c_check_member ()
2603 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
2604 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2.$3" >&5
2605 $as_echo_n "checking for $2.$3... " >&6; }
2606 if eval \${$4+:} false; then :
2607 $as_echo_n "(cached) " >&6
2608 else
2609 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2610 /* end confdefs.h. */
2613 main ()
2615 static $2 ac_aggr;
2616 if (ac_aggr.$3)
2617 return 0;
2619 return 0;
2621 _ACEOF
2622 if ac_fn_c_try_compile "$LINENO"; then :
2623 eval "$4=yes"
2624 else
2625 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2626 /* end confdefs.h. */
2629 main ()
2631 static $2 ac_aggr;
2632 if (sizeof ac_aggr.$3)
2633 return 0;
2635 return 0;
2637 _ACEOF
2638 if ac_fn_c_try_compile "$LINENO"; then :
2639 eval "$4=yes"
2640 else
2641 eval "$4=no"
2643 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
2645 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
2647 eval ac_res=\$$4
2648 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
2649 $as_echo "$ac_res" >&6; }
2650 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
2652 } # ac_fn_c_check_member
2654 # ac_fn_c_check_type LINENO TYPE VAR INCLUDES
2655 # -------------------------------------------
2656 # Tests whether TYPE exists after having included INCLUDES, setting cache
2657 # variable VAR accordingly.
2658 ac_fn_c_check_type ()
2660 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
2661 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
2662 $as_echo_n "checking for $2... " >&6; }
2663 if eval \${$3+:} false; then :
2664 $as_echo_n "(cached) " >&6
2665 else
2666 eval "$3=no"
2667 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2668 /* end confdefs.h. */
2671 main ()
2673 if (sizeof ($2))
2674 return 0;
2676 return 0;
2678 _ACEOF
2679 if ac_fn_c_try_compile "$LINENO"; then :
2680 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2681 /* end confdefs.h. */
2684 main ()
2686 if (sizeof (($2)))
2687 return 0;
2689 return 0;
2691 _ACEOF
2692 if ac_fn_c_try_compile "$LINENO"; then :
2694 else
2695 eval "$3=yes"
2697 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
2699 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
2701 eval ac_res=\$$3
2702 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
2703 $as_echo "$ac_res" >&6; }
2704 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
2706 } # ac_fn_c_check_type
2707 cat >config.log <<_ACEOF
2708 This file contains any messages produced by compilers while
2709 running configure, to aid debugging if configure makes a mistake.
2711 It was created by Wine $as_me 1.7.3, which was
2712 generated by GNU Autoconf 2.69. Invocation command line was
2714 $ $0 $@
2716 _ACEOF
2717 exec 5>>config.log
2719 cat <<_ASUNAME
2720 ## --------- ##
2721 ## Platform. ##
2722 ## --------- ##
2724 hostname = `(hostname || uname -n) 2>/dev/null | sed 1q`
2725 uname -m = `(uname -m) 2>/dev/null || echo unknown`
2726 uname -r = `(uname -r) 2>/dev/null || echo unknown`
2727 uname -s = `(uname -s) 2>/dev/null || echo unknown`
2728 uname -v = `(uname -v) 2>/dev/null || echo unknown`
2730 /usr/bin/uname -p = `(/usr/bin/uname -p) 2>/dev/null || echo unknown`
2731 /bin/uname -X = `(/bin/uname -X) 2>/dev/null || echo unknown`
2733 /bin/arch = `(/bin/arch) 2>/dev/null || echo unknown`
2734 /usr/bin/arch -k = `(/usr/bin/arch -k) 2>/dev/null || echo unknown`
2735 /usr/convex/getsysinfo = `(/usr/convex/getsysinfo) 2>/dev/null || echo unknown`
2736 /usr/bin/hostinfo = `(/usr/bin/hostinfo) 2>/dev/null || echo unknown`
2737 /bin/machine = `(/bin/machine) 2>/dev/null || echo unknown`
2738 /usr/bin/oslevel = `(/usr/bin/oslevel) 2>/dev/null || echo unknown`
2739 /bin/universe = `(/bin/universe) 2>/dev/null || echo unknown`
2741 _ASUNAME
2743 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2744 for as_dir in $PATH
2746 IFS=$as_save_IFS
2747 test -z "$as_dir" && as_dir=.
2748 $as_echo "PATH: $as_dir"
2749 done
2750 IFS=$as_save_IFS
2752 } >&5
2754 cat >&5 <<_ACEOF
2757 ## ----------- ##
2758 ## Core tests. ##
2759 ## ----------- ##
2761 _ACEOF
2764 # Keep a trace of the command line.
2765 # Strip out --no-create and --no-recursion so they do not pile up.
2766 # Strip out --silent because we don't want to record it for future runs.
2767 # Also quote any args containing shell meta-characters.
2768 # Make two passes to allow for proper duplicate-argument suppression.
2769 ac_configure_args=
2770 ac_configure_args0=
2771 ac_configure_args1=
2772 ac_must_keep_next=false
2773 for ac_pass in 1 2
2775 for ac_arg
2777 case $ac_arg in
2778 -no-create | --no-c* | -n | -no-recursion | --no-r*) continue ;;
2779 -q | -quiet | --quiet | --quie | --qui | --qu | --q \
2780 | -silent | --silent | --silen | --sile | --sil)
2781 continue ;;
2782 *\'*)
2783 ac_arg=`$as_echo "$ac_arg" | sed "s/'/'\\\\\\\\''/g"` ;;
2784 esac
2785 case $ac_pass in
2786 1) as_fn_append ac_configure_args0 " '$ac_arg'" ;;
2788 as_fn_append ac_configure_args1 " '$ac_arg'"
2789 if test $ac_must_keep_next = true; then
2790 ac_must_keep_next=false # Got value, back to normal.
2791 else
2792 case $ac_arg in
2793 *=* | --config-cache | -C | -disable-* | --disable-* \
2794 | -enable-* | --enable-* | -gas | --g* | -nfp | --nf* \
2795 | -q | -quiet | --q* | -silent | --sil* | -v | -verb* \
2796 | -with-* | --with-* | -without-* | --without-* | --x)
2797 case "$ac_configure_args0 " in
2798 "$ac_configure_args1"*" '$ac_arg' "* ) continue ;;
2799 esac
2801 -* ) ac_must_keep_next=true ;;
2802 esac
2804 as_fn_append ac_configure_args " '$ac_arg'"
2806 esac
2807 done
2808 done
2809 { ac_configure_args0=; unset ac_configure_args0;}
2810 { ac_configure_args1=; unset ac_configure_args1;}
2812 # When interrupted or exit'd, cleanup temporary files, and complete
2813 # config.log. We remove comments because anyway the quotes in there
2814 # would cause problems or look ugly.
2815 # WARNING: Use '\'' to represent an apostrophe within the trap.
2816 # WARNING: Do not start the trap code with a newline, due to a FreeBSD 4.0 bug.
2817 trap 'exit_status=$?
2818 # Save into config.log some information that might help in debugging.
2820 echo
2822 $as_echo "## ---------------- ##
2823 ## Cache variables. ##
2824 ## ---------------- ##"
2825 echo
2826 # The following way of writing the cache mishandles newlines in values,
2828 for ac_var in `(set) 2>&1 | sed -n '\''s/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'\''`; do
2829 eval ac_val=\$$ac_var
2830 case $ac_val in #(
2831 *${as_nl}*)
2832 case $ac_var in #(
2833 *_cv_*) { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: cache variable $ac_var contains a newline" >&5
2834 $as_echo "$as_me: WARNING: cache variable $ac_var contains a newline" >&2;} ;;
2835 esac
2836 case $ac_var in #(
2837 _ | IFS | as_nl) ;; #(
2838 BASH_ARGV | BASH_SOURCE) eval $ac_var= ;; #(
2839 *) { eval $ac_var=; unset $ac_var;} ;;
2840 esac ;;
2841 esac
2842 done
2843 (set) 2>&1 |
2844 case $as_nl`(ac_space='\'' '\''; set) 2>&1` in #(
2845 *${as_nl}ac_space=\ *)
2846 sed -n \
2847 "s/'\''/'\''\\\\'\'''\''/g;
2848 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\''\\2'\''/p"
2849 ;; #(
2851 sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
2853 esac |
2854 sort
2856 echo
2858 $as_echo "## ----------------- ##
2859 ## Output variables. ##
2860 ## ----------------- ##"
2861 echo
2862 for ac_var in $ac_subst_vars
2864 eval ac_val=\$$ac_var
2865 case $ac_val in
2866 *\'\''*) ac_val=`$as_echo "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;;
2867 esac
2868 $as_echo "$ac_var='\''$ac_val'\''"
2869 done | sort
2870 echo
2872 if test -n "$ac_subst_files"; then
2873 $as_echo "## ------------------- ##
2874 ## File substitutions. ##
2875 ## ------------------- ##"
2876 echo
2877 for ac_var in $ac_subst_files
2879 eval ac_val=\$$ac_var
2880 case $ac_val in
2881 *\'\''*) ac_val=`$as_echo "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;;
2882 esac
2883 $as_echo "$ac_var='\''$ac_val'\''"
2884 done | sort
2885 echo
2888 if test -s confdefs.h; then
2889 $as_echo "## ----------- ##
2890 ## confdefs.h. ##
2891 ## ----------- ##"
2892 echo
2893 cat confdefs.h
2894 echo
2896 test "$ac_signal" != 0 &&
2897 $as_echo "$as_me: caught signal $ac_signal"
2898 $as_echo "$as_me: exit $exit_status"
2899 } >&5
2900 rm -f core *.core core.conftest.* &&
2901 rm -f -r conftest* confdefs* conf$$* $ac_clean_files &&
2902 exit $exit_status
2904 for ac_signal in 1 2 13 15; do
2905 trap 'ac_signal='$ac_signal'; as_fn_exit 1' $ac_signal
2906 done
2907 ac_signal=0
2909 # confdefs.h avoids OS command line length limits that DEFS can exceed.
2910 rm -f -r conftest* confdefs.h
2912 $as_echo "/* confdefs.h */" > confdefs.h
2914 # Predefined preprocessor variables.
2916 cat >>confdefs.h <<_ACEOF
2917 #define PACKAGE_NAME "$PACKAGE_NAME"
2918 _ACEOF
2920 cat >>confdefs.h <<_ACEOF
2921 #define PACKAGE_TARNAME "$PACKAGE_TARNAME"
2922 _ACEOF
2924 cat >>confdefs.h <<_ACEOF
2925 #define PACKAGE_VERSION "$PACKAGE_VERSION"
2926 _ACEOF
2928 cat >>confdefs.h <<_ACEOF
2929 #define PACKAGE_STRING "$PACKAGE_STRING"
2930 _ACEOF
2932 cat >>confdefs.h <<_ACEOF
2933 #define PACKAGE_BUGREPORT "$PACKAGE_BUGREPORT"
2934 _ACEOF
2936 cat >>confdefs.h <<_ACEOF
2937 #define PACKAGE_URL "$PACKAGE_URL"
2938 _ACEOF
2941 # Let the site file select an alternate cache file if it wants to.
2942 # Prefer an explicitly selected file to automatically selected ones.
2943 ac_site_file1=NONE
2944 ac_site_file2=NONE
2945 if test -n "$CONFIG_SITE"; then
2946 # We do not want a PATH search for config.site.
2947 case $CONFIG_SITE in #((
2948 -*) ac_site_file1=./$CONFIG_SITE;;
2949 */*) ac_site_file1=$CONFIG_SITE;;
2950 *) ac_site_file1=./$CONFIG_SITE;;
2951 esac
2952 elif test "x$prefix" != xNONE; then
2953 ac_site_file1=$prefix/share/config.site
2954 ac_site_file2=$prefix/etc/config.site
2955 else
2956 ac_site_file1=$ac_default_prefix/share/config.site
2957 ac_site_file2=$ac_default_prefix/etc/config.site
2959 for ac_site_file in "$ac_site_file1" "$ac_site_file2"
2961 test "x$ac_site_file" = xNONE && continue
2962 if test /dev/null != "$ac_site_file" && test -r "$ac_site_file"; then
2963 { $as_echo "$as_me:${as_lineno-$LINENO}: loading site script $ac_site_file" >&5
2964 $as_echo "$as_me: loading site script $ac_site_file" >&6;}
2965 sed 's/^/| /' "$ac_site_file" >&5
2966 . "$ac_site_file" \
2967 || { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
2968 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
2969 as_fn_error $? "failed to load site script $ac_site_file
2970 See \`config.log' for more details" "$LINENO" 5; }
2972 done
2974 if test -r "$cache_file"; then
2975 # Some versions of bash will fail to source /dev/null (special files
2976 # actually), so we avoid doing that. DJGPP emulates it as a regular file.
2977 if test /dev/null != "$cache_file" && test -f "$cache_file"; then
2978 { $as_echo "$as_me:${as_lineno-$LINENO}: loading cache $cache_file" >&5
2979 $as_echo "$as_me: loading cache $cache_file" >&6;}
2980 case $cache_file in
2981 [\\/]* | ?:[\\/]* ) . "$cache_file";;
2982 *) . "./$cache_file";;
2983 esac
2985 else
2986 { $as_echo "$as_me:${as_lineno-$LINENO}: creating cache $cache_file" >&5
2987 $as_echo "$as_me: creating cache $cache_file" >&6;}
2988 >$cache_file
2991 # Check that the precious variables saved in the cache have kept the same
2992 # value.
2993 ac_cache_corrupted=false
2994 for ac_var in $ac_precious_vars; do
2995 eval ac_old_set=\$ac_cv_env_${ac_var}_set
2996 eval ac_new_set=\$ac_env_${ac_var}_set
2997 eval ac_old_val=\$ac_cv_env_${ac_var}_value
2998 eval ac_new_val=\$ac_env_${ac_var}_value
2999 case $ac_old_set,$ac_new_set in
3000 set,)
3001 { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&5
3002 $as_echo "$as_me: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&2;}
3003 ac_cache_corrupted=: ;;
3004 ,set)
3005 { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' was not set in the previous run" >&5
3006 $as_echo "$as_me: error: \`$ac_var' was not set in the previous run" >&2;}
3007 ac_cache_corrupted=: ;;
3008 ,);;
3010 if test "x$ac_old_val" != "x$ac_new_val"; then
3011 # differences in whitespace do not lead to failure.
3012 ac_old_val_w=`echo x $ac_old_val`
3013 ac_new_val_w=`echo x $ac_new_val`
3014 if test "$ac_old_val_w" != "$ac_new_val_w"; then
3015 { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' has changed since the previous run:" >&5
3016 $as_echo "$as_me: error: \`$ac_var' has changed since the previous run:" >&2;}
3017 ac_cache_corrupted=:
3018 else
3019 { $as_echo "$as_me:${as_lineno-$LINENO}: warning: ignoring whitespace changes in \`$ac_var' since the previous run:" >&5
3020 $as_echo "$as_me: warning: ignoring whitespace changes in \`$ac_var' since the previous run:" >&2;}
3021 eval $ac_var=\$ac_old_val
3023 { $as_echo "$as_me:${as_lineno-$LINENO}: former value: \`$ac_old_val'" >&5
3024 $as_echo "$as_me: former value: \`$ac_old_val'" >&2;}
3025 { $as_echo "$as_me:${as_lineno-$LINENO}: current value: \`$ac_new_val'" >&5
3026 $as_echo "$as_me: current value: \`$ac_new_val'" >&2;}
3027 fi;;
3028 esac
3029 # Pass precious variables to config.status.
3030 if test "$ac_new_set" = set; then
3031 case $ac_new_val in
3032 *\'*) ac_arg=$ac_var=`$as_echo "$ac_new_val" | sed "s/'/'\\\\\\\\''/g"` ;;
3033 *) ac_arg=$ac_var=$ac_new_val ;;
3034 esac
3035 case " $ac_configure_args " in
3036 *" '$ac_arg' "*) ;; # Avoid dups. Use of quotes ensures accuracy.
3037 *) as_fn_append ac_configure_args " '$ac_arg'" ;;
3038 esac
3040 done
3041 if $ac_cache_corrupted; then
3042 { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
3043 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
3044 { $as_echo "$as_me:${as_lineno-$LINENO}: error: changes in the environment can compromise the build" >&5
3045 $as_echo "$as_me: error: changes in the environment can compromise the build" >&2;}
3046 as_fn_error $? "run \`make distclean' and/or \`rm $cache_file' and start over" "$LINENO" 5
3048 ## -------------------- ##
3049 ## Main body of script. ##
3050 ## -------------------- ##
3052 ac_ext=c
3053 ac_cpp='$CPP $CPPFLAGS'
3054 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
3055 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
3056 ac_compiler_gnu=$ac_cv_c_compiler_gnu
3060 ac_config_headers="$ac_config_headers include/config.h"
3062 ac_aux_dir=
3063 for ac_dir in tools "$srcdir"/tools; do
3064 if test -f "$ac_dir/install-sh"; then
3065 ac_aux_dir=$ac_dir
3066 ac_install_sh="$ac_aux_dir/install-sh -c"
3067 break
3068 elif test -f "$ac_dir/install.sh"; then
3069 ac_aux_dir=$ac_dir
3070 ac_install_sh="$ac_aux_dir/install.sh -c"
3071 break
3072 elif test -f "$ac_dir/shtool"; then
3073 ac_aux_dir=$ac_dir
3074 ac_install_sh="$ac_aux_dir/shtool install -c"
3075 break
3077 done
3078 if test -z "$ac_aux_dir"; then
3079 as_fn_error $? "cannot find install-sh, install.sh, or shtool in tools \"$srcdir\"/tools" "$LINENO" 5
3082 # These three variables are undocumented and unsupported,
3083 # and are intended to be withdrawn in a future Autoconf release.
3084 # They can cause serious problems if a builder's source tree is in a directory
3085 # whose full name contains unusual characters.
3086 ac_config_guess="$SHELL $ac_aux_dir/config.guess" # Please don't use this var.
3087 ac_config_sub="$SHELL $ac_aux_dir/config.sub" # Please don't use this var.
3088 ac_configure="$SHELL $ac_aux_dir/configure" # Please don't use this var.
3094 # Check whether --enable-win16 was given.
3095 if test "${enable_win16+set}" = set; then :
3096 enableval=$enable_win16;
3099 # Check whether --enable-win64 was given.
3100 if test "${enable_win64+set}" = set; then :
3101 enableval=$enable_win64;
3104 # Check whether --enable-tests was given.
3105 if test "${enable_tests+set}" = set; then :
3106 enableval=$enable_tests;
3109 # Check whether --enable-maintainer-mode was given.
3110 if test "${enable_maintainer_mode+set}" = set; then :
3111 enableval=$enable_maintainer_mode;
3116 # Check whether --with-alsa was given.
3117 if test "${with_alsa+set}" = set; then :
3118 withval=$with_alsa; if test "x$withval" = "xno"; then ac_cv_header_sys_asoundlib_h=no; ac_cv_header_alsa_asoundlib_h=no; fi
3122 # Check whether --with-capi was given.
3123 if test "${with_capi+set}" = set; then :
3124 withval=$with_capi;
3128 # Check whether --with-cms was given.
3129 if test "${with_cms+set}" = set; then :
3130 withval=$with_cms;
3134 # Check whether --with-coreaudio was given.
3135 if test "${with_coreaudio+set}" = set; then :
3136 withval=$with_coreaudio; if test "x$withval" = "xno"; then ac_cv_header_CoreAudio_CoreAudio_h=no; fi
3140 # Check whether --with-cups was given.
3141 if test "${with_cups+set}" = set; then :
3142 withval=$with_cups;
3146 # Check whether --with-curses was given.
3147 if test "${with_curses+set}" = set; then :
3148 withval=$with_curses; if test "x$withval" = "xno"; then ac_cv_header_ncurses_h=no; ac_cv_header_curses_h=no; fi
3152 # Check whether --with-dbus was given.
3153 if test "${with_dbus+set}" = set; then :
3154 withval=$with_dbus;
3158 # Check whether --with-fontconfig was given.
3159 if test "${with_fontconfig+set}" = set; then :
3160 withval=$with_fontconfig;
3164 # Check whether --with-freetype was given.
3165 if test "${with_freetype+set}" = set; then :
3166 withval=$with_freetype;
3170 # Check whether --with-gettext was given.
3171 if test "${with_gettext+set}" = set; then :
3172 withval=$with_gettext;
3176 # Check whether --with-gettextpo was given.
3177 if test "${with_gettextpo+set}" = set; then :
3178 withval=$with_gettextpo; if test "x$withval" = "xno"; then ac_cv_header_gettext_po_h=no; fi
3182 # Check whether --with-gphoto was given.
3183 if test "${with_gphoto+set}" = set; then :
3184 withval=$with_gphoto;
3188 # Check whether --with-glu was given.
3189 if test "${with_glu+set}" = set; then :
3190 withval=$with_glu;
3194 # Check whether --with-gnutls was given.
3195 if test "${with_gnutls+set}" = set; then :
3196 withval=$with_gnutls;
3200 # Check whether --with-gsm was given.
3201 if test "${with_gsm+set}" = set; then :
3202 withval=$with_gsm; if test "x$withval" = "xno"; then ac_cv_header_gsm_h=no; ac_cv_header_gsm_gsm_h=no; fi
3206 # Check whether --with-gstreamer was given.
3207 if test "${with_gstreamer+set}" = set; then :
3208 withval=$with_gstreamer;
3212 # Check whether --with-hal was given.
3213 if test "${with_hal+set}" = set; then :
3214 withval=$with_hal;
3218 # Check whether --with-jpeg was given.
3219 if test "${with_jpeg+set}" = set; then :
3220 withval=$with_jpeg;
3224 # Check whether --with-ldap was given.
3225 if test "${with_ldap+set}" = set; then :
3226 withval=$with_ldap; if test "x$withval" = "xno"; then ac_cv_header_ldap_h=no; ac_cv_header_lber_h=no; fi
3230 # Check whether --with-mpg123 was given.
3231 if test "${with_mpg123+set}" = set; then :
3232 withval=$with_mpg123;
3236 # Check whether --with-openal was given.
3237 if test "${with_openal+set}" = set; then :
3238 withval=$with_openal; if test "x$withval" = "xno"; then ac_cv_header_AL_al_h=no; ac_cv_header_OpenAL_al_h=no; fi
3242 # Check whether --with-opencl was given.
3243 if test "${with_opencl+set}" = set; then :
3244 withval=$with_opencl; if test "x$withval" = "xno"; then ac_cv_header_CL_cl_h=no; ac_cv_header_OpenCL_opencl_h=no; fi
3248 # Check whether --with-opengl was given.
3249 if test "${with_opengl+set}" = set; then :
3250 withval=$with_opengl;
3254 # Check whether --with-osmesa was given.
3255 if test "${with_osmesa+set}" = set; then :
3256 withval=$with_osmesa;
3260 # Check whether --with-oss was given.
3261 if test "${with_oss+set}" = set; then :
3262 withval=$with_oss;
3266 # Check whether --with-png was given.
3267 if test "${with_png+set}" = set; then :
3268 withval=$with_png;
3272 # Check whether --with-pthread was given.
3273 if test "${with_pthread+set}" = set; then :
3274 withval=$with_pthread; if test "x$withval" = "xno"; then ac_cv_header_pthread_h=no; fi
3278 # Check whether --with-sane was given.
3279 if test "${with_sane+set}" = set; then :
3280 withval=$with_sane;
3284 # Check whether --with-tiff was given.
3285 if test "${with_tiff+set}" = set; then :
3286 withval=$with_tiff;
3290 # Check whether --with-v4l was given.
3291 if test "${with_v4l+set}" = set; then :
3292 withval=$with_v4l;
3296 # Check whether --with-xcomposite was given.
3297 if test "${with_xcomposite+set}" = set; then :
3298 withval=$with_xcomposite; if test "x$withval" = "xno"; then ac_cv_header_X11_extensions_Xcomposite_h=no; fi
3302 # Check whether --with-xcursor was given.
3303 if test "${with_xcursor+set}" = set; then :
3304 withval=$with_xcursor; if test "x$withval" = "xno"; then ac_cv_header_X11_Xcursor_Xcursor_h=no; fi
3308 # Check whether --with-xinerama was given.
3309 if test "${with_xinerama+set}" = set; then :
3310 withval=$with_xinerama; if test "x$withval" = "xno"; then ac_cv_header_X11_extensions_Xinerama_h=no; fi
3314 # Check whether --with-xinput was given.
3315 if test "${with_xinput+set}" = set; then :
3316 withval=$with_xinput; if test "x$withval" = "xno"; then ac_cv_header_X11_extensions_XInput_h=no; fi
3320 # Check whether --with-xinput2 was given.
3321 if test "${with_xinput2+set}" = set; then :
3322 withval=$with_xinput2; if test "x$withval" = "xno"; then ac_cv_header_X11_extensions_XInput2_h=no; fi
3326 # Check whether --with-xml was given.
3327 if test "${with_xml+set}" = set; then :
3328 withval=$with_xml;
3332 # Check whether --with-xrandr was given.
3333 if test "${with_xrandr+set}" = set; then :
3334 withval=$with_xrandr; if test "x$withval" = "xno"; then ac_cv_header_X11_extensions_Xrandr_h=no; fi
3338 # Check whether --with-xrender was given.
3339 if test "${with_xrender+set}" = set; then :
3340 withval=$with_xrender; if test "x$withval" = "xno"; then ac_cv_header_X11_extensions_Xrender_h=no; fi
3344 # Check whether --with-xshape was given.
3345 if test "${with_xshape+set}" = set; then :
3346 withval=$with_xshape; if test "x$withval" = "xno"; then ac_cv_header_X11_extensions_shape_h=no; fi
3350 # Check whether --with-xshm was given.
3351 if test "${with_xshm+set}" = set; then :
3352 withval=$with_xshm; if test "x$withval" = "xno"; then ac_cv_header_X11_extensions_XShm_h=no; fi
3356 # Check whether --with-xslt was given.
3357 if test "${with_xslt+set}" = set; then :
3358 withval=$with_xslt;
3362 # Check whether --with-xxf86vm was given.
3363 if test "${with_xxf86vm+set}" = set; then :
3364 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
3368 # Check whether --with-zlib was given.
3369 if test "${with_zlib+set}" = set; then :
3370 withval=$with_zlib; if test "x$withval" = "xno"; then ac_cv_header_zlib_h=no; fi
3375 # Check whether --with-wine-tools was given.
3376 if test "${with_wine_tools+set}" = set; then :
3377 withval=$with_wine_tools;
3381 # Check whether --with-wine64 was given.
3382 if test "${with_wine64+set}" = set; then :
3383 withval=$with_wine64;
3387 # Make sure we can run config.sub.
3388 $SHELL "$ac_aux_dir/config.sub" sun4 >/dev/null 2>&1 ||
3389 as_fn_error $? "cannot run $SHELL $ac_aux_dir/config.sub" "$LINENO" 5
3391 { $as_echo "$as_me:${as_lineno-$LINENO}: checking build system type" >&5
3392 $as_echo_n "checking build system type... " >&6; }
3393 if ${ac_cv_build+:} false; then :
3394 $as_echo_n "(cached) " >&6
3395 else
3396 ac_build_alias=$build_alias
3397 test "x$ac_build_alias" = x &&
3398 ac_build_alias=`$SHELL "$ac_aux_dir/config.guess"`
3399 test "x$ac_build_alias" = x &&
3400 as_fn_error $? "cannot guess build type; you must specify one" "$LINENO" 5
3401 ac_cv_build=`$SHELL "$ac_aux_dir/config.sub" $ac_build_alias` ||
3402 as_fn_error $? "$SHELL $ac_aux_dir/config.sub $ac_build_alias failed" "$LINENO" 5
3405 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_build" >&5
3406 $as_echo "$ac_cv_build" >&6; }
3407 case $ac_cv_build in
3408 *-*-*) ;;
3409 *) as_fn_error $? "invalid value of canonical build" "$LINENO" 5;;
3410 esac
3411 build=$ac_cv_build
3412 ac_save_IFS=$IFS; IFS='-'
3413 set x $ac_cv_build
3414 shift
3415 build_cpu=$1
3416 build_vendor=$2
3417 shift; shift
3418 # Remember, the first character of IFS is used to create $*,
3419 # except with old shells:
3420 build_os=$*
3421 IFS=$ac_save_IFS
3422 case $build_os in *\ *) build_os=`echo "$build_os" | sed 's/ /-/g'`;; esac
3425 { $as_echo "$as_me:${as_lineno-$LINENO}: checking host system type" >&5
3426 $as_echo_n "checking host system type... " >&6; }
3427 if ${ac_cv_host+:} false; then :
3428 $as_echo_n "(cached) " >&6
3429 else
3430 if test "x$host_alias" = x; then
3431 ac_cv_host=$ac_cv_build
3432 else
3433 ac_cv_host=`$SHELL "$ac_aux_dir/config.sub" $host_alias` ||
3434 as_fn_error $? "$SHELL $ac_aux_dir/config.sub $host_alias failed" "$LINENO" 5
3438 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_host" >&5
3439 $as_echo "$ac_cv_host" >&6; }
3440 case $ac_cv_host in
3441 *-*-*) ;;
3442 *) as_fn_error $? "invalid value of canonical host" "$LINENO" 5;;
3443 esac
3444 host=$ac_cv_host
3445 ac_save_IFS=$IFS; IFS='-'
3446 set x $ac_cv_host
3447 shift
3448 host_cpu=$1
3449 host_vendor=$2
3450 shift; shift
3451 # Remember, the first character of IFS is used to create $*,
3452 # except with old shells:
3453 host_os=$*
3454 IFS=$ac_save_IFS
3455 case $host_os in *\ *) host_os=`echo "$host_os" | sed 's/ /-/g'`;; esac
3459 case "$srcdir" in
3460 .) ;;
3461 *) if test -f "$srcdir/Makefile" -o -f "$srcdir/include/config.h"; then
3462 as_fn_error $? "you are building out of the source tree, but the source tree contains object files.
3463 You need to run 'make distclean' in the source tree first." "$LINENO" 5
3464 fi ;;
3465 esac
3468 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ${MAKE-make} sets \$(MAKE)" >&5
3469 $as_echo_n "checking whether ${MAKE-make} sets \$(MAKE)... " >&6; }
3470 set x ${MAKE-make}
3471 ac_make=`$as_echo "$2" | sed 's/+/p/g; s/[^a-zA-Z0-9_]/_/g'`
3472 if eval \${ac_cv_prog_make_${ac_make}_set+:} false; then :
3473 $as_echo_n "(cached) " >&6
3474 else
3475 cat >conftest.make <<\_ACEOF
3476 SHELL = /bin/sh
3477 all:
3478 @echo '@@@%%%=$(MAKE)=@@@%%%'
3479 _ACEOF
3480 # GNU make sometimes prints "make[1]: Entering ...", which would confuse us.
3481 case `${MAKE-make} -f conftest.make 2>/dev/null` in
3482 *@@@%%%=?*=@@@%%%*)
3483 eval ac_cv_prog_make_${ac_make}_set=yes;;
3485 eval ac_cv_prog_make_${ac_make}_set=no;;
3486 esac
3487 rm -f conftest.make
3489 if eval test \$ac_cv_prog_make_${ac_make}_set = yes; then
3490 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
3491 $as_echo "yes" >&6; }
3492 SET_MAKE=
3493 else
3494 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3495 $as_echo "no" >&6; }
3496 SET_MAKE="MAKE=${MAKE-make}"
3499 ac_ext=c
3500 ac_cpp='$CPP $CPPFLAGS'
3501 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
3502 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
3503 ac_compiler_gnu=$ac_cv_c_compiler_gnu
3504 if test -n "$ac_tool_prefix"; then
3505 # Extract the first word of "${ac_tool_prefix}gcc", so it can be a program name with args.
3506 set dummy ${ac_tool_prefix}gcc; ac_word=$2
3507 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3508 $as_echo_n "checking for $ac_word... " >&6; }
3509 if ${ac_cv_prog_CC+:} false; then :
3510 $as_echo_n "(cached) " >&6
3511 else
3512 if test -n "$CC"; then
3513 ac_cv_prog_CC="$CC" # Let the user override the test.
3514 else
3515 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3516 for as_dir in $PATH
3518 IFS=$as_save_IFS
3519 test -z "$as_dir" && as_dir=.
3520 for ac_exec_ext in '' $ac_executable_extensions; do
3521 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
3522 ac_cv_prog_CC="${ac_tool_prefix}gcc"
3523 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3524 break 2
3526 done
3527 done
3528 IFS=$as_save_IFS
3532 CC=$ac_cv_prog_CC
3533 if test -n "$CC"; then
3534 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
3535 $as_echo "$CC" >&6; }
3536 else
3537 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3538 $as_echo "no" >&6; }
3543 if test -z "$ac_cv_prog_CC"; then
3544 ac_ct_CC=$CC
3545 # Extract the first word of "gcc", so it can be a program name with args.
3546 set dummy gcc; ac_word=$2
3547 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3548 $as_echo_n "checking for $ac_word... " >&6; }
3549 if ${ac_cv_prog_ac_ct_CC+:} false; then :
3550 $as_echo_n "(cached) " >&6
3551 else
3552 if test -n "$ac_ct_CC"; then
3553 ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
3554 else
3555 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3556 for as_dir in $PATH
3558 IFS=$as_save_IFS
3559 test -z "$as_dir" && as_dir=.
3560 for ac_exec_ext in '' $ac_executable_extensions; do
3561 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
3562 ac_cv_prog_ac_ct_CC="gcc"
3563 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3564 break 2
3566 done
3567 done
3568 IFS=$as_save_IFS
3572 ac_ct_CC=$ac_cv_prog_ac_ct_CC
3573 if test -n "$ac_ct_CC"; then
3574 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CC" >&5
3575 $as_echo "$ac_ct_CC" >&6; }
3576 else
3577 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3578 $as_echo "no" >&6; }
3581 if test "x$ac_ct_CC" = x; then
3582 CC=""
3583 else
3584 case $cross_compiling:$ac_tool_warned in
3585 yes:)
3586 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
3587 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
3588 ac_tool_warned=yes ;;
3589 esac
3590 CC=$ac_ct_CC
3592 else
3593 CC="$ac_cv_prog_CC"
3596 if test -z "$CC"; then
3597 if test -n "$ac_tool_prefix"; then
3598 # Extract the first word of "${ac_tool_prefix}cc", so it can be a program name with args.
3599 set dummy ${ac_tool_prefix}cc; ac_word=$2
3600 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3601 $as_echo_n "checking for $ac_word... " >&6; }
3602 if ${ac_cv_prog_CC+:} false; then :
3603 $as_echo_n "(cached) " >&6
3604 else
3605 if test -n "$CC"; then
3606 ac_cv_prog_CC="$CC" # Let the user override the test.
3607 else
3608 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3609 for as_dir in $PATH
3611 IFS=$as_save_IFS
3612 test -z "$as_dir" && as_dir=.
3613 for ac_exec_ext in '' $ac_executable_extensions; do
3614 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
3615 ac_cv_prog_CC="${ac_tool_prefix}cc"
3616 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3617 break 2
3619 done
3620 done
3621 IFS=$as_save_IFS
3625 CC=$ac_cv_prog_CC
3626 if test -n "$CC"; then
3627 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
3628 $as_echo "$CC" >&6; }
3629 else
3630 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3631 $as_echo "no" >&6; }
3637 if test -z "$CC"; then
3638 # Extract the first word of "cc", so it can be a program name with args.
3639 set dummy cc; ac_word=$2
3640 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3641 $as_echo_n "checking for $ac_word... " >&6; }
3642 if ${ac_cv_prog_CC+:} false; then :
3643 $as_echo_n "(cached) " >&6
3644 else
3645 if test -n "$CC"; then
3646 ac_cv_prog_CC="$CC" # Let the user override the test.
3647 else
3648 ac_prog_rejected=no
3649 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3650 for as_dir in $PATH
3652 IFS=$as_save_IFS
3653 test -z "$as_dir" && as_dir=.
3654 for ac_exec_ext in '' $ac_executable_extensions; do
3655 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
3656 if test "$as_dir/$ac_word$ac_exec_ext" = "/usr/ucb/cc"; then
3657 ac_prog_rejected=yes
3658 continue
3660 ac_cv_prog_CC="cc"
3661 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3662 break 2
3664 done
3665 done
3666 IFS=$as_save_IFS
3668 if test $ac_prog_rejected = yes; then
3669 # We found a bogon in the path, so make sure we never use it.
3670 set dummy $ac_cv_prog_CC
3671 shift
3672 if test $# != 0; then
3673 # We chose a different compiler from the bogus one.
3674 # However, it has the same basename, so the bogon will be chosen
3675 # first if we set CC to just the basename; use the full file name.
3676 shift
3677 ac_cv_prog_CC="$as_dir/$ac_word${1+' '}$@"
3682 CC=$ac_cv_prog_CC
3683 if test -n "$CC"; then
3684 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
3685 $as_echo "$CC" >&6; }
3686 else
3687 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3688 $as_echo "no" >&6; }
3693 if test -z "$CC"; then
3694 if test -n "$ac_tool_prefix"; then
3695 for ac_prog in cl.exe
3697 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
3698 set dummy $ac_tool_prefix$ac_prog; ac_word=$2
3699 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3700 $as_echo_n "checking for $ac_word... " >&6; }
3701 if ${ac_cv_prog_CC+:} false; then :
3702 $as_echo_n "(cached) " >&6
3703 else
3704 if test -n "$CC"; then
3705 ac_cv_prog_CC="$CC" # Let the user override the test.
3706 else
3707 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3708 for as_dir in $PATH
3710 IFS=$as_save_IFS
3711 test -z "$as_dir" && as_dir=.
3712 for ac_exec_ext in '' $ac_executable_extensions; do
3713 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
3714 ac_cv_prog_CC="$ac_tool_prefix$ac_prog"
3715 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3716 break 2
3718 done
3719 done
3720 IFS=$as_save_IFS
3724 CC=$ac_cv_prog_CC
3725 if test -n "$CC"; then
3726 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
3727 $as_echo "$CC" >&6; }
3728 else
3729 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3730 $as_echo "no" >&6; }
3734 test -n "$CC" && break
3735 done
3737 if test -z "$CC"; then
3738 ac_ct_CC=$CC
3739 for ac_prog in cl.exe
3741 # Extract the first word of "$ac_prog", so it can be a program name with args.
3742 set dummy $ac_prog; ac_word=$2
3743 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3744 $as_echo_n "checking for $ac_word... " >&6; }
3745 if ${ac_cv_prog_ac_ct_CC+:} false; then :
3746 $as_echo_n "(cached) " >&6
3747 else
3748 if test -n "$ac_ct_CC"; then
3749 ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
3750 else
3751 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3752 for as_dir in $PATH
3754 IFS=$as_save_IFS
3755 test -z "$as_dir" && as_dir=.
3756 for ac_exec_ext in '' $ac_executable_extensions; do
3757 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
3758 ac_cv_prog_ac_ct_CC="$ac_prog"
3759 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3760 break 2
3762 done
3763 done
3764 IFS=$as_save_IFS
3768 ac_ct_CC=$ac_cv_prog_ac_ct_CC
3769 if test -n "$ac_ct_CC"; then
3770 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CC" >&5
3771 $as_echo "$ac_ct_CC" >&6; }
3772 else
3773 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3774 $as_echo "no" >&6; }
3778 test -n "$ac_ct_CC" && break
3779 done
3781 if test "x$ac_ct_CC" = x; then
3782 CC=""
3783 else
3784 case $cross_compiling:$ac_tool_warned in
3785 yes:)
3786 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
3787 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
3788 ac_tool_warned=yes ;;
3789 esac
3790 CC=$ac_ct_CC
3797 test -z "$CC" && { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
3798 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
3799 as_fn_error $? "no acceptable C compiler found in \$PATH
3800 See \`config.log' for more details" "$LINENO" 5; }
3802 # Provide some information about the compiler.
3803 $as_echo "$as_me:${as_lineno-$LINENO}: checking for C compiler version" >&5
3804 set X $ac_compile
3805 ac_compiler=$2
3806 for ac_option in --version -v -V -qversion; do
3807 { { ac_try="$ac_compiler $ac_option >&5"
3808 case "(($ac_try" in
3809 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3810 *) ac_try_echo=$ac_try;;
3811 esac
3812 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
3813 $as_echo "$ac_try_echo"; } >&5
3814 (eval "$ac_compiler $ac_option >&5") 2>conftest.err
3815 ac_status=$?
3816 if test -s conftest.err; then
3817 sed '10a\
3818 ... rest of stderr output deleted ...
3819 10q' conftest.err >conftest.er1
3820 cat conftest.er1 >&5
3822 rm -f conftest.er1 conftest.err
3823 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
3824 test $ac_status = 0; }
3825 done
3827 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3828 /* end confdefs.h. */
3831 main ()
3835 return 0;
3837 _ACEOF
3838 ac_clean_files_save=$ac_clean_files
3839 ac_clean_files="$ac_clean_files a.out a.out.dSYM a.exe b.out"
3840 # Try to create an executable without -o first, disregard a.out.
3841 # It will help us diagnose broken compilers, and finding out an intuition
3842 # of exeext.
3843 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the C compiler works" >&5
3844 $as_echo_n "checking whether the C compiler works... " >&6; }
3845 ac_link_default=`$as_echo "$ac_link" | sed 's/ -o *conftest[^ ]*//'`
3847 # The possible output files:
3848 ac_files="a.out conftest.exe conftest a.exe a_out.exe b.out conftest.*"
3850 ac_rmfiles=
3851 for ac_file in $ac_files
3853 case $ac_file in
3854 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj ) ;;
3855 * ) ac_rmfiles="$ac_rmfiles $ac_file";;
3856 esac
3857 done
3858 rm -f $ac_rmfiles
3860 if { { ac_try="$ac_link_default"
3861 case "(($ac_try" in
3862 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3863 *) ac_try_echo=$ac_try;;
3864 esac
3865 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
3866 $as_echo "$ac_try_echo"; } >&5
3867 (eval "$ac_link_default") 2>&5
3868 ac_status=$?
3869 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
3870 test $ac_status = 0; }; then :
3871 # Autoconf-2.13 could set the ac_cv_exeext variable to `no'.
3872 # So ignore a value of `no', otherwise this would lead to `EXEEXT = no'
3873 # in a Makefile. We should not override ac_cv_exeext if it was cached,
3874 # so that the user can short-circuit this test for compilers unknown to
3875 # Autoconf.
3876 for ac_file in $ac_files ''
3878 test -f "$ac_file" || continue
3879 case $ac_file in
3880 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj )
3882 [ab].out )
3883 # We found the default executable, but exeext='' is most
3884 # certainly right.
3885 break;;
3886 *.* )
3887 if test "${ac_cv_exeext+set}" = set && test "$ac_cv_exeext" != no;
3888 then :; else
3889 ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'`
3891 # We set ac_cv_exeext here because the later test for it is not
3892 # safe: cross compilers may not add the suffix if given an `-o'
3893 # argument, so we may need to know it at that point already.
3894 # Even if this section looks crufty: it has the advantage of
3895 # actually working.
3896 break;;
3898 break;;
3899 esac
3900 done
3901 test "$ac_cv_exeext" = no && ac_cv_exeext=
3903 else
3904 ac_file=''
3906 if test -z "$ac_file"; then :
3907 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3908 $as_echo "no" >&6; }
3909 $as_echo "$as_me: failed program was:" >&5
3910 sed 's/^/| /' conftest.$ac_ext >&5
3912 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
3913 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
3914 as_fn_error 77 "C compiler cannot create executables
3915 See \`config.log' for more details" "$LINENO" 5; }
3916 else
3917 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
3918 $as_echo "yes" >&6; }
3920 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for C compiler default output file name" >&5
3921 $as_echo_n "checking for C compiler default output file name... " >&6; }
3922 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_file" >&5
3923 $as_echo "$ac_file" >&6; }
3924 ac_exeext=$ac_cv_exeext
3926 rm -f -r a.out a.out.dSYM a.exe conftest$ac_cv_exeext b.out
3927 ac_clean_files=$ac_clean_files_save
3928 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for suffix of executables" >&5
3929 $as_echo_n "checking for suffix of executables... " >&6; }
3930 if { { ac_try="$ac_link"
3931 case "(($ac_try" in
3932 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3933 *) ac_try_echo=$ac_try;;
3934 esac
3935 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
3936 $as_echo "$ac_try_echo"; } >&5
3937 (eval "$ac_link") 2>&5
3938 ac_status=$?
3939 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
3940 test $ac_status = 0; }; then :
3941 # If both `conftest.exe' and `conftest' are `present' (well, observable)
3942 # catch `conftest.exe'. For instance with Cygwin, `ls conftest' will
3943 # work properly (i.e., refer to `conftest.exe'), while it won't with
3944 # `rm'.
3945 for ac_file in conftest.exe conftest conftest.*; do
3946 test -f "$ac_file" || continue
3947 case $ac_file in
3948 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj ) ;;
3949 *.* ) ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'`
3950 break;;
3951 * ) break;;
3952 esac
3953 done
3954 else
3955 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
3956 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
3957 as_fn_error $? "cannot compute suffix of executables: cannot compile and link
3958 See \`config.log' for more details" "$LINENO" 5; }
3960 rm -f conftest conftest$ac_cv_exeext
3961 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_exeext" >&5
3962 $as_echo "$ac_cv_exeext" >&6; }
3964 rm -f conftest.$ac_ext
3965 EXEEXT=$ac_cv_exeext
3966 ac_exeext=$EXEEXT
3967 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3968 /* end confdefs.h. */
3969 #include <stdio.h>
3971 main ()
3973 FILE *f = fopen ("conftest.out", "w");
3974 return ferror (f) || fclose (f) != 0;
3977 return 0;
3979 _ACEOF
3980 ac_clean_files="$ac_clean_files conftest.out"
3981 # Check that the compiler produces executables we can run. If not, either
3982 # the compiler is broken, or we cross compile.
3983 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are cross compiling" >&5
3984 $as_echo_n "checking whether we are cross compiling... " >&6; }
3985 if test "$cross_compiling" != yes; then
3986 { { ac_try="$ac_link"
3987 case "(($ac_try" in
3988 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3989 *) ac_try_echo=$ac_try;;
3990 esac
3991 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
3992 $as_echo "$ac_try_echo"; } >&5
3993 (eval "$ac_link") 2>&5
3994 ac_status=$?
3995 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
3996 test $ac_status = 0; }
3997 if { ac_try='./conftest$ac_cv_exeext'
3998 { { case "(($ac_try" in
3999 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
4000 *) ac_try_echo=$ac_try;;
4001 esac
4002 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
4003 $as_echo "$ac_try_echo"; } >&5
4004 (eval "$ac_try") 2>&5
4005 ac_status=$?
4006 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
4007 test $ac_status = 0; }; }; then
4008 cross_compiling=no
4009 else
4010 if test "$cross_compiling" = maybe; then
4011 cross_compiling=yes
4012 else
4013 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
4014 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
4015 as_fn_error $? "cannot run C compiled programs.
4016 If you meant to cross compile, use \`--host'.
4017 See \`config.log' for more details" "$LINENO" 5; }
4021 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $cross_compiling" >&5
4022 $as_echo "$cross_compiling" >&6; }
4024 rm -f conftest.$ac_ext conftest$ac_cv_exeext conftest.out
4025 ac_clean_files=$ac_clean_files_save
4026 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for suffix of object files" >&5
4027 $as_echo_n "checking for suffix of object files... " >&6; }
4028 if ${ac_cv_objext+:} false; then :
4029 $as_echo_n "(cached) " >&6
4030 else
4031 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4032 /* end confdefs.h. */
4035 main ()
4039 return 0;
4041 _ACEOF
4042 rm -f conftest.o conftest.obj
4043 if { { ac_try="$ac_compile"
4044 case "(($ac_try" in
4045 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
4046 *) ac_try_echo=$ac_try;;
4047 esac
4048 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
4049 $as_echo "$ac_try_echo"; } >&5
4050 (eval "$ac_compile") 2>&5
4051 ac_status=$?
4052 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
4053 test $ac_status = 0; }; then :
4054 for ac_file in conftest.o conftest.obj conftest.*; do
4055 test -f "$ac_file" || continue;
4056 case $ac_file in
4057 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM ) ;;
4058 *) ac_cv_objext=`expr "$ac_file" : '.*\.\(.*\)'`
4059 break;;
4060 esac
4061 done
4062 else
4063 $as_echo "$as_me: failed program was:" >&5
4064 sed 's/^/| /' conftest.$ac_ext >&5
4066 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
4067 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
4068 as_fn_error $? "cannot compute suffix of object files: cannot compile
4069 See \`config.log' for more details" "$LINENO" 5; }
4071 rm -f conftest.$ac_cv_objext conftest.$ac_ext
4073 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_objext" >&5
4074 $as_echo "$ac_cv_objext" >&6; }
4075 OBJEXT=$ac_cv_objext
4076 ac_objext=$OBJEXT
4077 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are using the GNU C compiler" >&5
4078 $as_echo_n "checking whether we are using the GNU C compiler... " >&6; }
4079 if ${ac_cv_c_compiler_gnu+:} false; then :
4080 $as_echo_n "(cached) " >&6
4081 else
4082 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4083 /* end confdefs.h. */
4086 main ()
4088 #ifndef __GNUC__
4089 choke me
4090 #endif
4093 return 0;
4095 _ACEOF
4096 if ac_fn_c_try_compile "$LINENO"; then :
4097 ac_compiler_gnu=yes
4098 else
4099 ac_compiler_gnu=no
4101 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4102 ac_cv_c_compiler_gnu=$ac_compiler_gnu
4105 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_compiler_gnu" >&5
4106 $as_echo "$ac_cv_c_compiler_gnu" >&6; }
4107 if test $ac_compiler_gnu = yes; then
4108 GCC=yes
4109 else
4110 GCC=
4112 ac_test_CFLAGS=${CFLAGS+set}
4113 ac_save_CFLAGS=$CFLAGS
4114 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CC accepts -g" >&5
4115 $as_echo_n "checking whether $CC accepts -g... " >&6; }
4116 if ${ac_cv_prog_cc_g+:} false; then :
4117 $as_echo_n "(cached) " >&6
4118 else
4119 ac_save_c_werror_flag=$ac_c_werror_flag
4120 ac_c_werror_flag=yes
4121 ac_cv_prog_cc_g=no
4122 CFLAGS="-g"
4123 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4124 /* end confdefs.h. */
4127 main ()
4131 return 0;
4133 _ACEOF
4134 if ac_fn_c_try_compile "$LINENO"; then :
4135 ac_cv_prog_cc_g=yes
4136 else
4137 CFLAGS=""
4138 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4139 /* end confdefs.h. */
4142 main ()
4146 return 0;
4148 _ACEOF
4149 if ac_fn_c_try_compile "$LINENO"; then :
4151 else
4152 ac_c_werror_flag=$ac_save_c_werror_flag
4153 CFLAGS="-g"
4154 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4155 /* end confdefs.h. */
4158 main ()
4162 return 0;
4164 _ACEOF
4165 if ac_fn_c_try_compile "$LINENO"; then :
4166 ac_cv_prog_cc_g=yes
4168 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4170 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4172 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4173 ac_c_werror_flag=$ac_save_c_werror_flag
4175 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_g" >&5
4176 $as_echo "$ac_cv_prog_cc_g" >&6; }
4177 if test "$ac_test_CFLAGS" = set; then
4178 CFLAGS=$ac_save_CFLAGS
4179 elif test $ac_cv_prog_cc_g = yes; then
4180 if test "$GCC" = yes; then
4181 CFLAGS="-g -O2"
4182 else
4183 CFLAGS="-g"
4185 else
4186 if test "$GCC" = yes; then
4187 CFLAGS="-O2"
4188 else
4189 CFLAGS=
4192 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $CC option to accept ISO C89" >&5
4193 $as_echo_n "checking for $CC option to accept ISO C89... " >&6; }
4194 if ${ac_cv_prog_cc_c89+:} false; then :
4195 $as_echo_n "(cached) " >&6
4196 else
4197 ac_cv_prog_cc_c89=no
4198 ac_save_CC=$CC
4199 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4200 /* end confdefs.h. */
4201 #include <stdarg.h>
4202 #include <stdio.h>
4203 struct stat;
4204 /* Most of the following tests are stolen from RCS 5.7's src/conf.sh. */
4205 struct buf { int x; };
4206 FILE * (*rcsopen) (struct buf *, struct stat *, int);
4207 static char *e (p, i)
4208 char **p;
4209 int i;
4211 return p[i];
4213 static char *f (char * (*g) (char **, int), char **p, ...)
4215 char *s;
4216 va_list v;
4217 va_start (v,p);
4218 s = g (p, va_arg (v,int));
4219 va_end (v);
4220 return s;
4223 /* OSF 4.0 Compaq cc is some sort of almost-ANSI by default. It has
4224 function prototypes and stuff, but not '\xHH' hex character constants.
4225 These don't provoke an error unfortunately, instead are silently treated
4226 as 'x'. The following induces an error, until -std is added to get
4227 proper ANSI mode. Curiously '\x00'!='x' always comes out true, for an
4228 array size at least. It's necessary to write '\x00'==0 to get something
4229 that's true only with -std. */
4230 int osf4_cc_array ['\x00' == 0 ? 1 : -1];
4232 /* IBM C 6 for AIX is almost-ANSI by default, but it replaces macro parameters
4233 inside strings and character constants. */
4234 #define FOO(x) 'x'
4235 int xlc6_cc_array[FOO(a) == 'x' ? 1 : -1];
4237 int test (int i, double x);
4238 struct s1 {int (*f) (int a);};
4239 struct s2 {int (*f) (double a);};
4240 int pairnames (int, char **, FILE *(*)(struct buf *, struct stat *, int), int, int);
4241 int argc;
4242 char **argv;
4244 main ()
4246 return f (e, argv, 0) != argv[0] || f (e, argv, 1) != argv[1];
4248 return 0;
4250 _ACEOF
4251 for ac_arg in '' -qlanglvl=extc89 -qlanglvl=ansi -std \
4252 -Ae "-Aa -D_HPUX_SOURCE" "-Xc -D__EXTENSIONS__"
4254 CC="$ac_save_CC $ac_arg"
4255 if ac_fn_c_try_compile "$LINENO"; then :
4256 ac_cv_prog_cc_c89=$ac_arg
4258 rm -f core conftest.err conftest.$ac_objext
4259 test "x$ac_cv_prog_cc_c89" != "xno" && break
4260 done
4261 rm -f conftest.$ac_ext
4262 CC=$ac_save_CC
4265 # AC_CACHE_VAL
4266 case "x$ac_cv_prog_cc_c89" in
4268 { $as_echo "$as_me:${as_lineno-$LINENO}: result: none needed" >&5
4269 $as_echo "none needed" >&6; } ;;
4270 xno)
4271 { $as_echo "$as_me:${as_lineno-$LINENO}: result: unsupported" >&5
4272 $as_echo "unsupported" >&6; } ;;
4274 CC="$CC $ac_cv_prog_cc_c89"
4275 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_c89" >&5
4276 $as_echo "$ac_cv_prog_cc_c89" >&6; } ;;
4277 esac
4278 if test "x$ac_cv_prog_cc_c89" != xno; then :
4282 ac_ext=c
4283 ac_cpp='$CPP $CPPFLAGS'
4284 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
4285 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
4286 ac_compiler_gnu=$ac_cv_c_compiler_gnu
4288 ac_ext=cpp
4289 ac_cpp='$CXXCPP $CPPFLAGS'
4290 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
4291 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
4292 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
4293 if test -z "$CXX"; then
4294 if test -n "$CCC"; then
4295 CXX=$CCC
4296 else
4297 if test -n "$ac_tool_prefix"; then
4298 for ac_prog in g++ c++ gpp aCC CC cxx cc++ cl.exe FCC KCC RCC xlC_r xlC
4300 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
4301 set dummy $ac_tool_prefix$ac_prog; ac_word=$2
4302 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4303 $as_echo_n "checking for $ac_word... " >&6; }
4304 if ${ac_cv_prog_CXX+:} false; then :
4305 $as_echo_n "(cached) " >&6
4306 else
4307 if test -n "$CXX"; then
4308 ac_cv_prog_CXX="$CXX" # Let the user override the test.
4309 else
4310 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4311 for as_dir in $PATH
4313 IFS=$as_save_IFS
4314 test -z "$as_dir" && as_dir=.
4315 for ac_exec_ext in '' $ac_executable_extensions; do
4316 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
4317 ac_cv_prog_CXX="$ac_tool_prefix$ac_prog"
4318 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4319 break 2
4321 done
4322 done
4323 IFS=$as_save_IFS
4327 CXX=$ac_cv_prog_CXX
4328 if test -n "$CXX"; then
4329 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CXX" >&5
4330 $as_echo "$CXX" >&6; }
4331 else
4332 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4333 $as_echo "no" >&6; }
4337 test -n "$CXX" && break
4338 done
4340 if test -z "$CXX"; then
4341 ac_ct_CXX=$CXX
4342 for ac_prog in g++ c++ gpp aCC CC cxx cc++ cl.exe FCC KCC RCC xlC_r xlC
4344 # Extract the first word of "$ac_prog", so it can be a program name with args.
4345 set dummy $ac_prog; ac_word=$2
4346 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4347 $as_echo_n "checking for $ac_word... " >&6; }
4348 if ${ac_cv_prog_ac_ct_CXX+:} false; then :
4349 $as_echo_n "(cached) " >&6
4350 else
4351 if test -n "$ac_ct_CXX"; then
4352 ac_cv_prog_ac_ct_CXX="$ac_ct_CXX" # Let the user override the test.
4353 else
4354 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4355 for as_dir in $PATH
4357 IFS=$as_save_IFS
4358 test -z "$as_dir" && as_dir=.
4359 for ac_exec_ext in '' $ac_executable_extensions; do
4360 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
4361 ac_cv_prog_ac_ct_CXX="$ac_prog"
4362 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4363 break 2
4365 done
4366 done
4367 IFS=$as_save_IFS
4371 ac_ct_CXX=$ac_cv_prog_ac_ct_CXX
4372 if test -n "$ac_ct_CXX"; then
4373 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CXX" >&5
4374 $as_echo "$ac_ct_CXX" >&6; }
4375 else
4376 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4377 $as_echo "no" >&6; }
4381 test -n "$ac_ct_CXX" && break
4382 done
4384 if test "x$ac_ct_CXX" = x; then
4385 CXX="g++"
4386 else
4387 case $cross_compiling:$ac_tool_warned in
4388 yes:)
4389 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
4390 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
4391 ac_tool_warned=yes ;;
4392 esac
4393 CXX=$ac_ct_CXX
4399 # Provide some information about the compiler.
4400 $as_echo "$as_me:${as_lineno-$LINENO}: checking for C++ compiler version" >&5
4401 set X $ac_compile
4402 ac_compiler=$2
4403 for ac_option in --version -v -V -qversion; do
4404 { { ac_try="$ac_compiler $ac_option >&5"
4405 case "(($ac_try" in
4406 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
4407 *) ac_try_echo=$ac_try;;
4408 esac
4409 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
4410 $as_echo "$ac_try_echo"; } >&5
4411 (eval "$ac_compiler $ac_option >&5") 2>conftest.err
4412 ac_status=$?
4413 if test -s conftest.err; then
4414 sed '10a\
4415 ... rest of stderr output deleted ...
4416 10q' conftest.err >conftest.er1
4417 cat conftest.er1 >&5
4419 rm -f conftest.er1 conftest.err
4420 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
4421 test $ac_status = 0; }
4422 done
4424 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are using the GNU C++ compiler" >&5
4425 $as_echo_n "checking whether we are using the GNU C++ compiler... " >&6; }
4426 if ${ac_cv_cxx_compiler_gnu+:} false; then :
4427 $as_echo_n "(cached) " >&6
4428 else
4429 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4430 /* end confdefs.h. */
4433 main ()
4435 #ifndef __GNUC__
4436 choke me
4437 #endif
4440 return 0;
4442 _ACEOF
4443 if ac_fn_cxx_try_compile "$LINENO"; then :
4444 ac_compiler_gnu=yes
4445 else
4446 ac_compiler_gnu=no
4448 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4449 ac_cv_cxx_compiler_gnu=$ac_compiler_gnu
4452 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cxx_compiler_gnu" >&5
4453 $as_echo "$ac_cv_cxx_compiler_gnu" >&6; }
4454 if test $ac_compiler_gnu = yes; then
4455 GXX=yes
4456 else
4457 GXX=
4459 ac_test_CXXFLAGS=${CXXFLAGS+set}
4460 ac_save_CXXFLAGS=$CXXFLAGS
4461 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CXX accepts -g" >&5
4462 $as_echo_n "checking whether $CXX accepts -g... " >&6; }
4463 if ${ac_cv_prog_cxx_g+:} false; then :
4464 $as_echo_n "(cached) " >&6
4465 else
4466 ac_save_cxx_werror_flag=$ac_cxx_werror_flag
4467 ac_cxx_werror_flag=yes
4468 ac_cv_prog_cxx_g=no
4469 CXXFLAGS="-g"
4470 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4471 /* end confdefs.h. */
4474 main ()
4478 return 0;
4480 _ACEOF
4481 if ac_fn_cxx_try_compile "$LINENO"; then :
4482 ac_cv_prog_cxx_g=yes
4483 else
4484 CXXFLAGS=""
4485 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4486 /* end confdefs.h. */
4489 main ()
4493 return 0;
4495 _ACEOF
4496 if ac_fn_cxx_try_compile "$LINENO"; then :
4498 else
4499 ac_cxx_werror_flag=$ac_save_cxx_werror_flag
4500 CXXFLAGS="-g"
4501 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4502 /* end confdefs.h. */
4505 main ()
4509 return 0;
4511 _ACEOF
4512 if ac_fn_cxx_try_compile "$LINENO"; then :
4513 ac_cv_prog_cxx_g=yes
4515 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4517 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4519 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4520 ac_cxx_werror_flag=$ac_save_cxx_werror_flag
4522 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cxx_g" >&5
4523 $as_echo "$ac_cv_prog_cxx_g" >&6; }
4524 if test "$ac_test_CXXFLAGS" = set; then
4525 CXXFLAGS=$ac_save_CXXFLAGS
4526 elif test $ac_cv_prog_cxx_g = yes; then
4527 if test "$GXX" = yes; then
4528 CXXFLAGS="-g -O2"
4529 else
4530 CXXFLAGS="-g"
4532 else
4533 if test "$GXX" = yes; then
4534 CXXFLAGS="-O2"
4535 else
4536 CXXFLAGS=
4539 ac_ext=c
4540 ac_cpp='$CPP $CPPFLAGS'
4541 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
4542 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
4543 ac_compiler_gnu=$ac_cv_c_compiler_gnu
4545 if test -n "$ac_tool_prefix"; then
4546 # Extract the first word of "${ac_tool_prefix}cpp", so it can be a program name with args.
4547 set dummy ${ac_tool_prefix}cpp; ac_word=$2
4548 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4549 $as_echo_n "checking for $ac_word... " >&6; }
4550 if ${ac_cv_prog_CPPBIN+:} false; then :
4551 $as_echo_n "(cached) " >&6
4552 else
4553 if test -n "$CPPBIN"; then
4554 ac_cv_prog_CPPBIN="$CPPBIN" # Let the user override the test.
4555 else
4556 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4557 for as_dir in $PATH
4559 IFS=$as_save_IFS
4560 test -z "$as_dir" && as_dir=.
4561 for ac_exec_ext in '' $ac_executable_extensions; do
4562 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
4563 ac_cv_prog_CPPBIN="${ac_tool_prefix}cpp"
4564 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4565 break 2
4567 done
4568 done
4569 IFS=$as_save_IFS
4573 CPPBIN=$ac_cv_prog_CPPBIN
4574 if test -n "$CPPBIN"; then
4575 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CPPBIN" >&5
4576 $as_echo "$CPPBIN" >&6; }
4577 else
4578 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4579 $as_echo "no" >&6; }
4584 if test -z "$ac_cv_prog_CPPBIN"; then
4585 ac_ct_CPPBIN=$CPPBIN
4586 # Extract the first word of "cpp", so it can be a program name with args.
4587 set dummy cpp; ac_word=$2
4588 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4589 $as_echo_n "checking for $ac_word... " >&6; }
4590 if ${ac_cv_prog_ac_ct_CPPBIN+:} false; then :
4591 $as_echo_n "(cached) " >&6
4592 else
4593 if test -n "$ac_ct_CPPBIN"; then
4594 ac_cv_prog_ac_ct_CPPBIN="$ac_ct_CPPBIN" # Let the user override the test.
4595 else
4596 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4597 for as_dir in $PATH
4599 IFS=$as_save_IFS
4600 test -z "$as_dir" && as_dir=.
4601 for ac_exec_ext in '' $ac_executable_extensions; do
4602 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
4603 ac_cv_prog_ac_ct_CPPBIN="cpp"
4604 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4605 break 2
4607 done
4608 done
4609 IFS=$as_save_IFS
4613 ac_ct_CPPBIN=$ac_cv_prog_ac_ct_CPPBIN
4614 if test -n "$ac_ct_CPPBIN"; then
4615 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CPPBIN" >&5
4616 $as_echo "$ac_ct_CPPBIN" >&6; }
4617 else
4618 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4619 $as_echo "no" >&6; }
4622 if test "x$ac_ct_CPPBIN" = x; then
4623 CPPBIN="cpp"
4624 else
4625 case $cross_compiling:$ac_tool_warned in
4626 yes:)
4627 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
4628 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
4629 ac_tool_warned=yes ;;
4630 esac
4631 CPPBIN=$ac_ct_CPPBIN
4633 else
4634 CPPBIN="$ac_cv_prog_CPPBIN"
4638 cat >>confdefs.h <<_ACEOF
4639 #define EXEEXT "$ac_exeext"
4640 _ACEOF
4643 case $host in
4644 *-darwin*)
4645 if test "x$enable_win64" = "xyes"
4646 then
4647 CC="$CC -m64"
4648 CXX="$CXX -m64"
4649 host_cpu="x86_64"
4650 notice_platform="64-bit "
4651 TARGETFLAGS="-m64"
4653 else
4654 CC="$CC -m32"
4655 CXX="$CXX -m32"
4656 host_cpu="i386"
4657 notice_platform="32-bit "
4658 TARGETFLAGS="-m32"
4660 enable_win16=${enable_win16:-yes}
4662 with_fontconfig=${with_fontconfig:-no}
4664 x86_64*)
4665 if test "x$enable_win64" != "xyes" -a "$cross_compiling" != "yes"
4666 then
4667 CC="$CC -m32"
4668 CXX="$CXX -m32"
4669 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CC works" >&5
4670 $as_echo_n "checking whether $CC works... " >&6; }
4672 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4673 /* end confdefs.h. */
4676 main ()
4680 return 0;
4682 _ACEOF
4683 if ac_fn_c_try_link "$LINENO"; then :
4684 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
4685 $as_echo "yes" >&6; }
4686 else
4687 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4688 $as_echo "no" >&6; }
4689 as_fn_error $? "Cannot build a 32-bit program, you need to install 32-bit development libraries." "$LINENO" 5
4691 rm -f core conftest.err conftest.$ac_objext \
4692 conftest$ac_exeext conftest.$ac_ext
4693 host_cpu="i386"
4694 notice_platform="32-bit "
4695 TARGETFLAGS="-m32"
4697 enable_win16=${enable_win16:-yes}
4698 else
4699 if test "x${GCC}" = "xyes"
4700 then
4701 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CC supports __builtin_ms_va_list" >&5
4702 $as_echo_n "checking whether $CC supports __builtin_ms_va_list... " >&6; }
4703 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4704 /* end confdefs.h. */
4705 #include <stdarg.h>
4707 main ()
4709 void func(__builtin_ms_va_list *args);
4711 return 0;
4713 _ACEOF
4714 if ac_fn_c_try_compile "$LINENO"; then :
4715 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
4716 $as_echo "yes" >&6; }
4717 else
4718 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4719 $as_echo "no" >&6; }
4720 as_fn_error $? "You need gcc >= 4.4 to build Wine as 64-bit." "$LINENO" 5
4722 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4724 TARGETFLAGS="-m64"
4728 arm*)
4729 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CC supports Thumb" >&5
4730 $as_echo_n "checking whether $CC supports Thumb... " >&6; }
4731 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4732 /* end confdefs.h. */
4733 int ac_test(int i) { return i; }
4735 main ()
4737 asm(".thumb\nblx ac_test\n.arm"); if (ac_test(1)) return 1
4739 return 0;
4741 _ACEOF
4742 if ac_fn_c_try_link "$LINENO"; then :
4743 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
4744 $as_echo "yes" >&6; }
4745 else
4746 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4747 $as_echo "no" >&6; }
4748 as_fn_error $? "You need a target with Thumb support to build Wine for ARM." "$LINENO" 5
4750 rm -f core conftest.err conftest.$ac_objext \
4751 conftest$ac_exeext conftest.$ac_ext
4752 CFLAGS="$CFLAGS -marm"
4754 *-mingw32*|*-cygwin*)
4755 enable_win16=${enable_win16:-no}
4756 CFLAGS="$CFLAGS -D_WIN32"
4758 i[3456789]86*)
4759 enable_win16=${enable_win16:-yes}
4761 esac
4763 enable_win16=${enable_win16:-no}
4764 enable_win64=${enable_win64:-no}
4766 enable_winetest=${enable_winetest:-$enable_tests}
4768 if test -n "$with_wine64"
4769 then
4770 if test "x$enable_win64" = "xyes"
4771 then
4772 as_fn_error $? "--enable-win64 and --with-wine64 are mutually exclusive.
4773 --enable-win64 should be used in the 64-bit build tree, --with-wine64 in the 32-bit Wow64 build tree." "$LINENO" 5
4775 enable_fonts=${enable_fonts:-no}
4776 enable_server=${enable_server:-no}
4777 elif test "x$enable_win64" = "xyes"
4778 then
4779 test "x$libdir" != "x\${exec_prefix}/lib" || libdir="\${exec_prefix}/lib64"
4782 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for the directory containing the Wine tools" >&5
4783 $as_echo_n "checking for the directory containing the Wine tools... " >&6; }
4784 if ${wine_cv_toolsdir+:} false; then :
4785 $as_echo_n "(cached) " >&6
4786 else
4787 wine_cv_toolsdir="$with_wine_tools"
4788 if test -z "$with_wine_tools"; then
4789 if test "$cross_compiling" = "yes"; then
4790 as_fn_error $? "you must use the --with-wine-tools option when cross-compiling." "$LINENO" 5
4791 elif test -n "$with_wine64"; then
4792 wine_cv_toolsdir="$with_wine64"
4795 if test -z "$wine_cv_toolsdir"; then
4796 wine_cv_toolsdir="\$(top_builddir)"
4797 elif test -d "$wine_cv_toolsdir/tools/winebuild"; then
4798 case "$wine_cv_toolsdir" in
4799 /*) ;;
4800 *) wine_cv_toolsdir="\$(top_builddir)/$wine_cv_toolsdir" ;;
4801 esac
4802 enable_tools=${enable_tools:-no}
4803 else
4804 as_fn_error $? "could not find Wine tools in $wine_cv_toolsdir" "$LINENO" 5
4807 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $wine_cv_toolsdir" >&5
4808 $as_echo "$wine_cv_toolsdir" >&6; }
4809 TOOLSDIR=$wine_cv_toolsdir
4811 if test -n "$host_alias" -a "$host_alias" != "$build_alias"
4812 then
4813 TARGETFLAGS="-b $host_alias $TARGETFLAGS"
4817 for ac_prog in flex
4819 # Extract the first word of "$ac_prog", so it can be a program name with args.
4820 set dummy $ac_prog; ac_word=$2
4821 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4822 $as_echo_n "checking for $ac_word... " >&6; }
4823 if ${ac_cv_prog_FLEX+:} false; then :
4824 $as_echo_n "(cached) " >&6
4825 else
4826 if test -n "$FLEX"; then
4827 ac_cv_prog_FLEX="$FLEX" # Let the user override the test.
4828 else
4829 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4830 for as_dir in $PATH
4832 IFS=$as_save_IFS
4833 test -z "$as_dir" && as_dir=.
4834 for ac_exec_ext in '' $ac_executable_extensions; do
4835 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
4836 ac_cv_prog_FLEX="$ac_prog"
4837 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4838 break 2
4840 done
4841 done
4842 IFS=$as_save_IFS
4846 FLEX=$ac_cv_prog_FLEX
4847 if test -n "$FLEX"; then
4848 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $FLEX" >&5
4849 $as_echo "$FLEX" >&6; }
4850 else
4851 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4852 $as_echo "no" >&6; }
4856 test -n "$FLEX" && break
4857 done
4858 test -n "$FLEX" || FLEX="none"
4860 if test "$FLEX" = "none"
4861 then
4862 as_fn_error $? "no suitable flex found. Please install the 'flex' package." "$LINENO" 5
4864 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether flex is recent enough" >&5
4865 $as_echo_n "checking whether flex is recent enough... " >&6; }
4866 cat >conftest.l <<EOF
4867 %top{
4868 #include "prediluvian.h"
4872 if $FLEX -t conftest.l >/dev/null 2>&5
4873 then
4874 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
4875 $as_echo "yes" >&6; }
4876 else
4877 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4878 $as_echo "no" >&6; }
4879 as_fn_error $? "Your flex version is too old. Please install flex version 2.5.33 or newer." "$LINENO" 5
4882 for ac_prog in bison
4884 # Extract the first word of "$ac_prog", so it can be a program name with args.
4885 set dummy $ac_prog; ac_word=$2
4886 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4887 $as_echo_n "checking for $ac_word... " >&6; }
4888 if ${ac_cv_prog_BISON+:} false; then :
4889 $as_echo_n "(cached) " >&6
4890 else
4891 if test -n "$BISON"; then
4892 ac_cv_prog_BISON="$BISON" # Let the user override the test.
4893 else
4894 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4895 for as_dir in $PATH
4897 IFS=$as_save_IFS
4898 test -z "$as_dir" && as_dir=.
4899 for ac_exec_ext in '' $ac_executable_extensions; do
4900 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
4901 ac_cv_prog_BISON="$ac_prog"
4902 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4903 break 2
4905 done
4906 done
4907 IFS=$as_save_IFS
4911 BISON=$ac_cv_prog_BISON
4912 if test -n "$BISON"; then
4913 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $BISON" >&5
4914 $as_echo "$BISON" >&6; }
4915 else
4916 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4917 $as_echo "no" >&6; }
4921 test -n "$BISON" && break
4922 done
4923 test -n "$BISON" || BISON="none"
4925 if test "$BISON" = "none"
4926 then
4927 as_fn_error $? "no suitable bison found. Please install the 'bison' package." "$LINENO" 5
4930 if test -n "$ac_tool_prefix"; then
4931 for ac_prog in ar gar
4933 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
4934 set dummy $ac_tool_prefix$ac_prog; ac_word=$2
4935 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4936 $as_echo_n "checking for $ac_word... " >&6; }
4937 if ${ac_cv_prog_AR+:} false; then :
4938 $as_echo_n "(cached) " >&6
4939 else
4940 if test -n "$AR"; then
4941 ac_cv_prog_AR="$AR" # Let the user override the test.
4942 else
4943 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4944 for as_dir in $PATH
4946 IFS=$as_save_IFS
4947 test -z "$as_dir" && as_dir=.
4948 for ac_exec_ext in '' $ac_executable_extensions; do
4949 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
4950 ac_cv_prog_AR="$ac_tool_prefix$ac_prog"
4951 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4952 break 2
4954 done
4955 done
4956 IFS=$as_save_IFS
4960 AR=$ac_cv_prog_AR
4961 if test -n "$AR"; then
4962 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $AR" >&5
4963 $as_echo "$AR" >&6; }
4964 else
4965 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4966 $as_echo "no" >&6; }
4970 test -n "$AR" && break
4971 done
4973 if test -z "$AR"; then
4974 ac_ct_AR=$AR
4975 for ac_prog in ar gar
4977 # Extract the first word of "$ac_prog", so it can be a program name with args.
4978 set dummy $ac_prog; ac_word=$2
4979 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4980 $as_echo_n "checking for $ac_word... " >&6; }
4981 if ${ac_cv_prog_ac_ct_AR+:} false; then :
4982 $as_echo_n "(cached) " >&6
4983 else
4984 if test -n "$ac_ct_AR"; then
4985 ac_cv_prog_ac_ct_AR="$ac_ct_AR" # Let the user override the test.
4986 else
4987 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4988 for as_dir in $PATH
4990 IFS=$as_save_IFS
4991 test -z "$as_dir" && as_dir=.
4992 for ac_exec_ext in '' $ac_executable_extensions; do
4993 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
4994 ac_cv_prog_ac_ct_AR="$ac_prog"
4995 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4996 break 2
4998 done
4999 done
5000 IFS=$as_save_IFS
5004 ac_ct_AR=$ac_cv_prog_ac_ct_AR
5005 if test -n "$ac_ct_AR"; then
5006 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_AR" >&5
5007 $as_echo "$ac_ct_AR" >&6; }
5008 else
5009 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5010 $as_echo "no" >&6; }
5014 test -n "$ac_ct_AR" && break
5015 done
5017 if test "x$ac_ct_AR" = x; then
5018 AR="ar"
5019 else
5020 case $cross_compiling:$ac_tool_warned in
5021 yes:)
5022 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
5023 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
5024 ac_tool_warned=yes ;;
5025 esac
5026 AR=$ac_ct_AR
5030 if test -n "$ac_tool_prefix"; then
5031 # Extract the first word of "${ac_tool_prefix}strip", so it can be a program name with args.
5032 set dummy ${ac_tool_prefix}strip; ac_word=$2
5033 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5034 $as_echo_n "checking for $ac_word... " >&6; }
5035 if ${ac_cv_prog_STRIP+:} false; then :
5036 $as_echo_n "(cached) " >&6
5037 else
5038 if test -n "$STRIP"; then
5039 ac_cv_prog_STRIP="$STRIP" # Let the user override the test.
5040 else
5041 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5042 for as_dir in $PATH
5044 IFS=$as_save_IFS
5045 test -z "$as_dir" && as_dir=.
5046 for ac_exec_ext in '' $ac_executable_extensions; do
5047 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
5048 ac_cv_prog_STRIP="${ac_tool_prefix}strip"
5049 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5050 break 2
5052 done
5053 done
5054 IFS=$as_save_IFS
5058 STRIP=$ac_cv_prog_STRIP
5059 if test -n "$STRIP"; then
5060 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $STRIP" >&5
5061 $as_echo "$STRIP" >&6; }
5062 else
5063 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5064 $as_echo "no" >&6; }
5069 if test -z "$ac_cv_prog_STRIP"; then
5070 ac_ct_STRIP=$STRIP
5071 # Extract the first word of "strip", so it can be a program name with args.
5072 set dummy strip; ac_word=$2
5073 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5074 $as_echo_n "checking for $ac_word... " >&6; }
5075 if ${ac_cv_prog_ac_ct_STRIP+:} false; then :
5076 $as_echo_n "(cached) " >&6
5077 else
5078 if test -n "$ac_ct_STRIP"; then
5079 ac_cv_prog_ac_ct_STRIP="$ac_ct_STRIP" # Let the user override the test.
5080 else
5081 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5082 for as_dir in $PATH
5084 IFS=$as_save_IFS
5085 test -z "$as_dir" && as_dir=.
5086 for ac_exec_ext in '' $ac_executable_extensions; do
5087 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
5088 ac_cv_prog_ac_ct_STRIP="strip"
5089 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5090 break 2
5092 done
5093 done
5094 IFS=$as_save_IFS
5098 ac_ct_STRIP=$ac_cv_prog_ac_ct_STRIP
5099 if test -n "$ac_ct_STRIP"; then
5100 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_STRIP" >&5
5101 $as_echo "$ac_ct_STRIP" >&6; }
5102 else
5103 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5104 $as_echo "no" >&6; }
5107 if test "x$ac_ct_STRIP" = x; then
5108 STRIP="strip"
5109 else
5110 case $cross_compiling:$ac_tool_warned in
5111 yes:)
5112 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
5113 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
5114 ac_tool_warned=yes ;;
5115 esac
5116 STRIP=$ac_ct_STRIP
5118 else
5119 STRIP="$ac_cv_prog_STRIP"
5122 ARFLAGS=rc
5124 if test -n "$ac_tool_prefix"; then
5125 # Extract the first word of "${ac_tool_prefix}ranlib", so it can be a program name with args.
5126 set dummy ${ac_tool_prefix}ranlib; ac_word=$2
5127 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5128 $as_echo_n "checking for $ac_word... " >&6; }
5129 if ${ac_cv_prog_RANLIB+:} false; then :
5130 $as_echo_n "(cached) " >&6
5131 else
5132 if test -n "$RANLIB"; then
5133 ac_cv_prog_RANLIB="$RANLIB" # Let the user override the test.
5134 else
5135 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5136 for as_dir in $PATH
5138 IFS=$as_save_IFS
5139 test -z "$as_dir" && as_dir=.
5140 for ac_exec_ext in '' $ac_executable_extensions; do
5141 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
5142 ac_cv_prog_RANLIB="${ac_tool_prefix}ranlib"
5143 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5144 break 2
5146 done
5147 done
5148 IFS=$as_save_IFS
5152 RANLIB=$ac_cv_prog_RANLIB
5153 if test -n "$RANLIB"; then
5154 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $RANLIB" >&5
5155 $as_echo "$RANLIB" >&6; }
5156 else
5157 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5158 $as_echo "no" >&6; }
5163 if test -z "$ac_cv_prog_RANLIB"; then
5164 ac_ct_RANLIB=$RANLIB
5165 # Extract the first word of "ranlib", so it can be a program name with args.
5166 set dummy ranlib; ac_word=$2
5167 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5168 $as_echo_n "checking for $ac_word... " >&6; }
5169 if ${ac_cv_prog_ac_ct_RANLIB+:} false; then :
5170 $as_echo_n "(cached) " >&6
5171 else
5172 if test -n "$ac_ct_RANLIB"; then
5173 ac_cv_prog_ac_ct_RANLIB="$ac_ct_RANLIB" # Let the user override the test.
5174 else
5175 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5176 for as_dir in $PATH
5178 IFS=$as_save_IFS
5179 test -z "$as_dir" && as_dir=.
5180 for ac_exec_ext in '' $ac_executable_extensions; do
5181 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
5182 ac_cv_prog_ac_ct_RANLIB="ranlib"
5183 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5184 break 2
5186 done
5187 done
5188 IFS=$as_save_IFS
5192 ac_ct_RANLIB=$ac_cv_prog_ac_ct_RANLIB
5193 if test -n "$ac_ct_RANLIB"; then
5194 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_RANLIB" >&5
5195 $as_echo "$ac_ct_RANLIB" >&6; }
5196 else
5197 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5198 $as_echo "no" >&6; }
5201 if test "x$ac_ct_RANLIB" = x; then
5202 RANLIB=":"
5203 else
5204 case $cross_compiling:$ac_tool_warned in
5205 yes:)
5206 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
5207 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
5208 ac_tool_warned=yes ;;
5209 esac
5210 RANLIB=$ac_ct_RANLIB
5212 else
5213 RANLIB="$ac_cv_prog_RANLIB"
5216 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ln -s works" >&5
5217 $as_echo_n "checking whether ln -s works... " >&6; }
5218 LN_S=$as_ln_s
5219 if test "$LN_S" = "ln -s"; then
5220 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
5221 $as_echo "yes" >&6; }
5222 else
5223 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no, using $LN_S" >&5
5224 $as_echo "no, using $LN_S" >&6; }
5227 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for grep that handles long lines and -e" >&5
5228 $as_echo_n "checking for grep that handles long lines and -e... " >&6; }
5229 if ${ac_cv_path_GREP+:} false; then :
5230 $as_echo_n "(cached) " >&6
5231 else
5232 if test -z "$GREP"; then
5233 ac_path_GREP_found=false
5234 # Loop through the user's path and test for each of PROGNAME-LIST
5235 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5236 for as_dir in $PATH$PATH_SEPARATOR/usr/xpg4/bin
5238 IFS=$as_save_IFS
5239 test -z "$as_dir" && as_dir=.
5240 for ac_prog in grep ggrep; do
5241 for ac_exec_ext in '' $ac_executable_extensions; do
5242 ac_path_GREP="$as_dir/$ac_prog$ac_exec_ext"
5243 as_fn_executable_p "$ac_path_GREP" || continue
5244 # Check for GNU ac_path_GREP and select it if it is found.
5245 # Check for GNU $ac_path_GREP
5246 case `"$ac_path_GREP" --version 2>&1` in
5247 *GNU*)
5248 ac_cv_path_GREP="$ac_path_GREP" ac_path_GREP_found=:;;
5250 ac_count=0
5251 $as_echo_n 0123456789 >"conftest.in"
5252 while :
5254 cat "conftest.in" "conftest.in" >"conftest.tmp"
5255 mv "conftest.tmp" "conftest.in"
5256 cp "conftest.in" "conftest.nl"
5257 $as_echo 'GREP' >> "conftest.nl"
5258 "$ac_path_GREP" -e 'GREP$' -e '-(cannot match)-' < "conftest.nl" >"conftest.out" 2>/dev/null || break
5259 diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break
5260 as_fn_arith $ac_count + 1 && ac_count=$as_val
5261 if test $ac_count -gt ${ac_path_GREP_max-0}; then
5262 # Best one so far, save it but keep looking for a better one
5263 ac_cv_path_GREP="$ac_path_GREP"
5264 ac_path_GREP_max=$ac_count
5266 # 10*(2^10) chars as input seems more than enough
5267 test $ac_count -gt 10 && break
5268 done
5269 rm -f conftest.in conftest.tmp conftest.nl conftest.out;;
5270 esac
5272 $ac_path_GREP_found && break 3
5273 done
5274 done
5275 done
5276 IFS=$as_save_IFS
5277 if test -z "$ac_cv_path_GREP"; then
5278 as_fn_error $? "no acceptable grep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" "$LINENO" 5
5280 else
5281 ac_cv_path_GREP=$GREP
5285 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_GREP" >&5
5286 $as_echo "$ac_cv_path_GREP" >&6; }
5287 GREP="$ac_cv_path_GREP"
5290 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for egrep" >&5
5291 $as_echo_n "checking for egrep... " >&6; }
5292 if ${ac_cv_path_EGREP+:} false; then :
5293 $as_echo_n "(cached) " >&6
5294 else
5295 if echo a | $GREP -E '(a|b)' >/dev/null 2>&1
5296 then ac_cv_path_EGREP="$GREP -E"
5297 else
5298 if test -z "$EGREP"; then
5299 ac_path_EGREP_found=false
5300 # Loop through the user's path and test for each of PROGNAME-LIST
5301 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5302 for as_dir in $PATH$PATH_SEPARATOR/usr/xpg4/bin
5304 IFS=$as_save_IFS
5305 test -z "$as_dir" && as_dir=.
5306 for ac_prog in egrep; do
5307 for ac_exec_ext in '' $ac_executable_extensions; do
5308 ac_path_EGREP="$as_dir/$ac_prog$ac_exec_ext"
5309 as_fn_executable_p "$ac_path_EGREP" || continue
5310 # Check for GNU ac_path_EGREP and select it if it is found.
5311 # Check for GNU $ac_path_EGREP
5312 case `"$ac_path_EGREP" --version 2>&1` in
5313 *GNU*)
5314 ac_cv_path_EGREP="$ac_path_EGREP" ac_path_EGREP_found=:;;
5316 ac_count=0
5317 $as_echo_n 0123456789 >"conftest.in"
5318 while :
5320 cat "conftest.in" "conftest.in" >"conftest.tmp"
5321 mv "conftest.tmp" "conftest.in"
5322 cp "conftest.in" "conftest.nl"
5323 $as_echo 'EGREP' >> "conftest.nl"
5324 "$ac_path_EGREP" 'EGREP$' < "conftest.nl" >"conftest.out" 2>/dev/null || break
5325 diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break
5326 as_fn_arith $ac_count + 1 && ac_count=$as_val
5327 if test $ac_count -gt ${ac_path_EGREP_max-0}; then
5328 # Best one so far, save it but keep looking for a better one
5329 ac_cv_path_EGREP="$ac_path_EGREP"
5330 ac_path_EGREP_max=$ac_count
5332 # 10*(2^10) chars as input seems more than enough
5333 test $ac_count -gt 10 && break
5334 done
5335 rm -f conftest.in conftest.tmp conftest.nl conftest.out;;
5336 esac
5338 $ac_path_EGREP_found && break 3
5339 done
5340 done
5341 done
5342 IFS=$as_save_IFS
5343 if test -z "$ac_cv_path_EGREP"; then
5344 as_fn_error $? "no acceptable egrep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" "$LINENO" 5
5346 else
5347 ac_cv_path_EGREP=$EGREP
5352 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_EGREP" >&5
5353 $as_echo "$ac_cv_path_EGREP" >&6; }
5354 EGREP="$ac_cv_path_EGREP"
5357 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for a thread-safe mkdir -p" >&5
5358 $as_echo_n "checking for a thread-safe mkdir -p... " >&6; }
5359 if test -z "$MKDIR_P"; then
5360 if ${ac_cv_path_mkdir+:} false; then :
5361 $as_echo_n "(cached) " >&6
5362 else
5363 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5364 for as_dir in $PATH$PATH_SEPARATOR/opt/sfw/bin
5366 IFS=$as_save_IFS
5367 test -z "$as_dir" && as_dir=.
5368 for ac_prog in mkdir gmkdir; do
5369 for ac_exec_ext in '' $ac_executable_extensions; do
5370 as_fn_executable_p "$as_dir/$ac_prog$ac_exec_ext" || continue
5371 case `"$as_dir/$ac_prog$ac_exec_ext" --version 2>&1` in #(
5372 'mkdir (GNU coreutils) '* | \
5373 'mkdir (coreutils) '* | \
5374 'mkdir (fileutils) '4.1*)
5375 ac_cv_path_mkdir=$as_dir/$ac_prog$ac_exec_ext
5376 break 3;;
5377 esac
5378 done
5379 done
5380 done
5381 IFS=$as_save_IFS
5385 test -d ./--version && rmdir ./--version
5386 if test "${ac_cv_path_mkdir+set}" = set; then
5387 MKDIR_P="$ac_cv_path_mkdir -p"
5388 else
5389 # As a last resort, use the slow shell script. Don't cache a
5390 # value for MKDIR_P within a source directory, because that will
5391 # break other packages using the cache if that directory is
5392 # removed, or if the value is a relative name.
5393 MKDIR_P="$ac_install_sh -d"
5396 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $MKDIR_P" >&5
5397 $as_echo "$MKDIR_P" >&6; }
5399 # Extract the first word of "ldconfig", so it can be a program name with args.
5400 set dummy ldconfig; ac_word=$2
5401 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5402 $as_echo_n "checking for $ac_word... " >&6; }
5403 if ${ac_cv_path_LDCONFIG+:} false; then :
5404 $as_echo_n "(cached) " >&6
5405 else
5406 case $LDCONFIG in
5407 [\\/]* | ?:[\\/]*)
5408 ac_cv_path_LDCONFIG="$LDCONFIG" # Let the user override the test with a path.
5411 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5412 for as_dir in /sbin /usr/sbin $PATH
5414 IFS=$as_save_IFS
5415 test -z "$as_dir" && as_dir=.
5416 for ac_exec_ext in '' $ac_executable_extensions; do
5417 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
5418 ac_cv_path_LDCONFIG="$as_dir/$ac_word$ac_exec_ext"
5419 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5420 break 2
5422 done
5423 done
5424 IFS=$as_save_IFS
5426 test -z "$ac_cv_path_LDCONFIG" && ac_cv_path_LDCONFIG="true"
5428 esac
5430 LDCONFIG=$ac_cv_path_LDCONFIG
5431 if test -n "$LDCONFIG"; then
5432 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $LDCONFIG" >&5
5433 $as_echo "$LDCONFIG" >&6; }
5434 else
5435 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5436 $as_echo "no" >&6; }
5441 test -z "$INSTALL_PROGRAM" && INSTALL_PROGRAM="STRIPPROG=\"\$(STRIP)\" \$(top_srcdir)/tools/install-sh"
5442 # Find a good install program. We prefer a C program (faster),
5443 # so one script is as good as another. But avoid the broken or
5444 # incompatible versions:
5445 # SysV /etc/install, /usr/sbin/install
5446 # SunOS /usr/etc/install
5447 # IRIX /sbin/install
5448 # AIX /bin/install
5449 # AmigaOS /C/install, which installs bootblocks on floppy discs
5450 # AIX 4 /usr/bin/installbsd, which doesn't work without a -g flag
5451 # AFS /usr/afsws/bin/install, which mishandles nonexistent args
5452 # SVR4 /usr/ucb/install, which tries to use the nonexistent group "staff"
5453 # OS/2's system install, which has a completely different semantic
5454 # ./install, which can be erroneously created by make from ./install.sh.
5455 # Reject install programs that cannot install multiple files.
5456 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for a BSD-compatible install" >&5
5457 $as_echo_n "checking for a BSD-compatible install... " >&6; }
5458 if test -z "$INSTALL"; then
5459 if ${ac_cv_path_install+:} false; then :
5460 $as_echo_n "(cached) " >&6
5461 else
5462 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5463 for as_dir in $PATH
5465 IFS=$as_save_IFS
5466 test -z "$as_dir" && as_dir=.
5467 # Account for people who put trailing slashes in PATH elements.
5468 case $as_dir/ in #((
5469 ./ | .// | /[cC]/* | \
5470 /etc/* | /usr/sbin/* | /usr/etc/* | /sbin/* | /usr/afsws/bin/* | \
5471 ?:[\\/]os2[\\/]install[\\/]* | ?:[\\/]OS2[\\/]INSTALL[\\/]* | \
5472 /usr/ucb/* ) ;;
5474 # OSF1 and SCO ODT 3.0 have their own names for install.
5475 # Don't use installbsd from OSF since it installs stuff as root
5476 # by default.
5477 for ac_prog in ginstall scoinst install; do
5478 for ac_exec_ext in '' $ac_executable_extensions; do
5479 if as_fn_executable_p "$as_dir/$ac_prog$ac_exec_ext"; then
5480 if test $ac_prog = install &&
5481 grep dspmsg "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then
5482 # AIX install. It has an incompatible calling convention.
5484 elif test $ac_prog = install &&
5485 grep pwplus "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then
5486 # program-specific install script used by HP pwplus--don't use.
5488 else
5489 rm -rf conftest.one conftest.two conftest.dir
5490 echo one > conftest.one
5491 echo two > conftest.two
5492 mkdir conftest.dir
5493 if "$as_dir/$ac_prog$ac_exec_ext" -c conftest.one conftest.two "`pwd`/conftest.dir" &&
5494 test -s conftest.one && test -s conftest.two &&
5495 test -s conftest.dir/conftest.one &&
5496 test -s conftest.dir/conftest.two
5497 then
5498 ac_cv_path_install="$as_dir/$ac_prog$ac_exec_ext -c"
5499 break 3
5503 done
5504 done
5506 esac
5508 done
5509 IFS=$as_save_IFS
5511 rm -rf conftest.one conftest.two conftest.dir
5514 if test "${ac_cv_path_install+set}" = set; then
5515 INSTALL=$ac_cv_path_install
5516 else
5517 # As a last resort, use the slow shell script. Don't cache a
5518 # value for INSTALL within a source directory, because that will
5519 # break other packages using the cache if that directory is
5520 # removed, or if the value is a relative name.
5521 INSTALL=$ac_install_sh
5524 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $INSTALL" >&5
5525 $as_echo "$INSTALL" >&6; }
5527 # Use test -z because SunOS4 sh mishandles braces in ${var-val}.
5528 # It thinks the first close brace ends the variable substitution.
5529 test -z "$INSTALL_PROGRAM" && INSTALL_PROGRAM='${INSTALL}'
5531 test -z "$INSTALL_SCRIPT" && INSTALL_SCRIPT='${INSTALL}'
5533 test -z "$INSTALL_DATA" && INSTALL_DATA='${INSTALL} -m 644'
5536 for ac_prog in fontforge
5538 # Extract the first word of "$ac_prog", so it can be a program name with args.
5539 set dummy $ac_prog; ac_word=$2
5540 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5541 $as_echo_n "checking for $ac_word... " >&6; }
5542 if ${ac_cv_prog_FONTFORGE+:} false; then :
5543 $as_echo_n "(cached) " >&6
5544 else
5545 if test -n "$FONTFORGE"; then
5546 ac_cv_prog_FONTFORGE="$FONTFORGE" # Let the user override the test.
5547 else
5548 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5549 for as_dir in $PATH
5551 IFS=$as_save_IFS
5552 test -z "$as_dir" && as_dir=.
5553 for ac_exec_ext in '' $ac_executable_extensions; do
5554 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
5555 ac_cv_prog_FONTFORGE="$ac_prog"
5556 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5557 break 2
5559 done
5560 done
5561 IFS=$as_save_IFS
5565 FONTFORGE=$ac_cv_prog_FONTFORGE
5566 if test -n "$FONTFORGE"; then
5567 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $FONTFORGE" >&5
5568 $as_echo "$FONTFORGE" >&6; }
5569 else
5570 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5571 $as_echo "no" >&6; }
5575 test -n "$FONTFORGE" && break
5576 done
5577 test -n "$FONTFORGE" || FONTFORGE="false"
5579 for ac_prog in rsvg
5581 # Extract the first word of "$ac_prog", so it can be a program name with args.
5582 set dummy $ac_prog; ac_word=$2
5583 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5584 $as_echo_n "checking for $ac_word... " >&6; }
5585 if ${ac_cv_prog_RSVG+:} false; then :
5586 $as_echo_n "(cached) " >&6
5587 else
5588 if test -n "$RSVG"; then
5589 ac_cv_prog_RSVG="$RSVG" # Let the user override the test.
5590 else
5591 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5592 for as_dir in $PATH
5594 IFS=$as_save_IFS
5595 test -z "$as_dir" && as_dir=.
5596 for ac_exec_ext in '' $ac_executable_extensions; do
5597 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
5598 ac_cv_prog_RSVG="$ac_prog"
5599 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5600 break 2
5602 done
5603 done
5604 IFS=$as_save_IFS
5608 RSVG=$ac_cv_prog_RSVG
5609 if test -n "$RSVG"; then
5610 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $RSVG" >&5
5611 $as_echo "$RSVG" >&6; }
5612 else
5613 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5614 $as_echo "no" >&6; }
5618 test -n "$RSVG" && break
5619 done
5620 test -n "$RSVG" || RSVG="false"
5622 for ac_prog in convert
5624 # Extract the first word of "$ac_prog", so it can be a program name with args.
5625 set dummy $ac_prog; ac_word=$2
5626 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5627 $as_echo_n "checking for $ac_word... " >&6; }
5628 if ${ac_cv_prog_CONVERT+:} false; then :
5629 $as_echo_n "(cached) " >&6
5630 else
5631 if test -n "$CONVERT"; then
5632 ac_cv_prog_CONVERT="$CONVERT" # Let the user override the test.
5633 else
5634 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5635 for as_dir in $PATH
5637 IFS=$as_save_IFS
5638 test -z "$as_dir" && as_dir=.
5639 for ac_exec_ext in '' $ac_executable_extensions; do
5640 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
5641 ac_cv_prog_CONVERT="$ac_prog"
5642 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5643 break 2
5645 done
5646 done
5647 IFS=$as_save_IFS
5651 CONVERT=$ac_cv_prog_CONVERT
5652 if test -n "$CONVERT"; then
5653 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CONVERT" >&5
5654 $as_echo "$CONVERT" >&6; }
5655 else
5656 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5657 $as_echo "no" >&6; }
5661 test -n "$CONVERT" && break
5662 done
5663 test -n "$CONVERT" || CONVERT="false"
5665 for ac_prog in icotool
5667 # Extract the first word of "$ac_prog", so it can be a program name with args.
5668 set dummy $ac_prog; ac_word=$2
5669 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5670 $as_echo_n "checking for $ac_word... " >&6; }
5671 if ${ac_cv_prog_ICOTOOL+:} false; then :
5672 $as_echo_n "(cached) " >&6
5673 else
5674 if test -n "$ICOTOOL"; then
5675 ac_cv_prog_ICOTOOL="$ICOTOOL" # Let the user override the test.
5676 else
5677 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5678 for as_dir in $PATH
5680 IFS=$as_save_IFS
5681 test -z "$as_dir" && as_dir=.
5682 for ac_exec_ext in '' $ac_executable_extensions; do
5683 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
5684 ac_cv_prog_ICOTOOL="$ac_prog"
5685 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5686 break 2
5688 done
5689 done
5690 IFS=$as_save_IFS
5694 ICOTOOL=$ac_cv_prog_ICOTOOL
5695 if test -n "$ICOTOOL"; then
5696 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ICOTOOL" >&5
5697 $as_echo "$ICOTOOL" >&6; }
5698 else
5699 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5700 $as_echo "no" >&6; }
5704 test -n "$ICOTOOL" && break
5705 done
5706 test -n "$ICOTOOL" || ICOTOOL="false"
5708 for ac_prog in msgfmt
5710 # Extract the first word of "$ac_prog", so it can be a program name with args.
5711 set dummy $ac_prog; ac_word=$2
5712 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5713 $as_echo_n "checking for $ac_word... " >&6; }
5714 if ${ac_cv_prog_MSGFMT+:} false; then :
5715 $as_echo_n "(cached) " >&6
5716 else
5717 if test -n "$MSGFMT"; then
5718 ac_cv_prog_MSGFMT="$MSGFMT" # Let the user override the test.
5719 else
5720 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5721 for as_dir in $PATH
5723 IFS=$as_save_IFS
5724 test -z "$as_dir" && as_dir=.
5725 for ac_exec_ext in '' $ac_executable_extensions; do
5726 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
5727 ac_cv_prog_MSGFMT="$ac_prog"
5728 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5729 break 2
5731 done
5732 done
5733 IFS=$as_save_IFS
5737 MSGFMT=$ac_cv_prog_MSGFMT
5738 if test -n "$MSGFMT"; then
5739 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $MSGFMT" >&5
5740 $as_echo "$MSGFMT" >&6; }
5741 else
5742 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5743 $as_echo "no" >&6; }
5747 test -n "$MSGFMT" && break
5748 done
5749 test -n "$MSGFMT" || MSGFMT="false"
5751 if test -n "$ac_tool_prefix"; then
5752 # Extract the first word of "${ac_tool_prefix}pkg-config", so it can be a program name with args.
5753 set dummy ${ac_tool_prefix}pkg-config; ac_word=$2
5754 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5755 $as_echo_n "checking for $ac_word... " >&6; }
5756 if ${ac_cv_prog_PKG_CONFIG+:} false; then :
5757 $as_echo_n "(cached) " >&6
5758 else
5759 if test -n "$PKG_CONFIG"; then
5760 ac_cv_prog_PKG_CONFIG="$PKG_CONFIG" # Let the user override the test.
5761 else
5762 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5763 for as_dir in $PATH
5765 IFS=$as_save_IFS
5766 test -z "$as_dir" && as_dir=.
5767 for ac_exec_ext in '' $ac_executable_extensions; do
5768 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
5769 ac_cv_prog_PKG_CONFIG="${ac_tool_prefix}pkg-config"
5770 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5771 break 2
5773 done
5774 done
5775 IFS=$as_save_IFS
5779 PKG_CONFIG=$ac_cv_prog_PKG_CONFIG
5780 if test -n "$PKG_CONFIG"; then
5781 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $PKG_CONFIG" >&5
5782 $as_echo "$PKG_CONFIG" >&6; }
5783 else
5784 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5785 $as_echo "no" >&6; }
5790 if test -n "$ac_cv_prog_PKG_CONFIG"; then
5791 PKG_CONFIG="$ac_cv_prog_PKG_CONFIG"
5792 elif test "$cross_compiling" != yes; then
5793 unset ac_cv_prog_PKG_CONFIG
5794 # Extract the first word of "pkg-config", so it can be a program name with args.
5795 set dummy pkg-config; ac_word=$2
5796 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5797 $as_echo_n "checking for $ac_word... " >&6; }
5798 if ${ac_cv_prog_PKG_CONFIG+:} false; then :
5799 $as_echo_n "(cached) " >&6
5800 else
5801 if test -n "$PKG_CONFIG"; then
5802 ac_cv_prog_PKG_CONFIG="$PKG_CONFIG" # Let the user override the test.
5803 else
5804 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5805 for as_dir in $PATH
5807 IFS=$as_save_IFS
5808 test -z "$as_dir" && as_dir=.
5809 for ac_exec_ext in '' $ac_executable_extensions; do
5810 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
5811 ac_cv_prog_PKG_CONFIG="pkg-config"
5812 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5813 break 2
5815 done
5816 done
5817 IFS=$as_save_IFS
5821 PKG_CONFIG=$ac_cv_prog_PKG_CONFIG
5822 if test -n "$PKG_CONFIG"; then
5823 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $PKG_CONFIG" >&5
5824 $as_echo "$PKG_CONFIG" >&6; }
5825 else
5826 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5827 $as_echo "no" >&6; }
5833 if test "x$enable_maintainer_mode" != "xyes"
5834 then
5835 MAINTAINER_MODE=\#
5837 else
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 DLLEXT=""
6983 DLLPREFIX=""
6985 DLLFLAGS="-D_REENTRANT"
6987 IMPLIBEXT="def"
6989 LDRPATH_INSTALL=""
6991 LDRPATH_LOCAL=""
6993 LIBEXT="so"
6994 STATIC_IMPLIBEXT="def.a"
6995 # Extract the first word of "ldd", so it can be a program name with args.
6996 set dummy ldd; ac_word=$2
6997 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6998 $as_echo_n "checking for $ac_word... " >&6; }
6999 if ${ac_cv_path_LDD+:} false; then :
7000 $as_echo_n "(cached) " >&6
7001 else
7002 case $LDD in
7003 [\\/]* | ?:[\\/]*)
7004 ac_cv_path_LDD="$LDD" # Let the user override the test with a path.
7007 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7008 as_dummy="/sbin:/usr/sbin:$PATH"
7009 for as_dir in $as_dummy
7011 IFS=$as_save_IFS
7012 test -z "$as_dir" && as_dir=.
7013 for ac_exec_ext in '' $ac_executable_extensions; do
7014 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
7015 ac_cv_path_LDD="$as_dir/$ac_word$ac_exec_ext"
7016 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
7017 break 2
7019 done
7020 done
7021 IFS=$as_save_IFS
7023 test -z "$ac_cv_path_LDD" && ac_cv_path_LDD="true"
7025 esac
7027 LDD=$ac_cv_path_LDD
7028 if test -n "$LDD"; then
7029 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $LDD" >&5
7030 $as_echo "$LDD" >&6; }
7031 else
7032 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7033 $as_echo "no" >&6; }
7037 if test -n "$ac_tool_prefix"; then
7038 # Extract the first word of "${ac_tool_prefix}readelf", so it can be a program name with args.
7039 set dummy ${ac_tool_prefix}readelf; ac_word=$2
7040 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7041 $as_echo_n "checking for $ac_word... " >&6; }
7042 if ${ac_cv_prog_READELF+:} false; then :
7043 $as_echo_n "(cached) " >&6
7044 else
7045 if test -n "$READELF"; then
7046 ac_cv_prog_READELF="$READELF" # Let the user override the test.
7047 else
7048 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7049 for as_dir in $PATH
7051 IFS=$as_save_IFS
7052 test -z "$as_dir" && as_dir=.
7053 for ac_exec_ext in '' $ac_executable_extensions; do
7054 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
7055 ac_cv_prog_READELF="${ac_tool_prefix}readelf"
7056 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
7057 break 2
7059 done
7060 done
7061 IFS=$as_save_IFS
7065 READELF=$ac_cv_prog_READELF
7066 if test -n "$READELF"; then
7067 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $READELF" >&5
7068 $as_echo "$READELF" >&6; }
7069 else
7070 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7071 $as_echo "no" >&6; }
7076 if test -z "$ac_cv_prog_READELF"; then
7077 ac_ct_READELF=$READELF
7078 # Extract the first word of "readelf", so it can be a program name with args.
7079 set dummy readelf; ac_word=$2
7080 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7081 $as_echo_n "checking for $ac_word... " >&6; }
7082 if ${ac_cv_prog_ac_ct_READELF+:} false; then :
7083 $as_echo_n "(cached) " >&6
7084 else
7085 if test -n "$ac_ct_READELF"; then
7086 ac_cv_prog_ac_ct_READELF="$ac_ct_READELF" # Let the user override the test.
7087 else
7088 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7089 for as_dir in $PATH
7091 IFS=$as_save_IFS
7092 test -z "$as_dir" && as_dir=.
7093 for ac_exec_ext in '' $ac_executable_extensions; do
7094 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
7095 ac_cv_prog_ac_ct_READELF="readelf"
7096 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
7097 break 2
7099 done
7100 done
7101 IFS=$as_save_IFS
7105 ac_ct_READELF=$ac_cv_prog_ac_ct_READELF
7106 if test -n "$ac_ct_READELF"; then
7107 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_READELF" >&5
7108 $as_echo "$ac_ct_READELF" >&6; }
7109 else
7110 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7111 $as_echo "no" >&6; }
7114 if test "x$ac_ct_READELF" = x; then
7115 READELF="true"
7116 else
7117 case $cross_compiling:$ac_tool_warned in
7118 yes:)
7119 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
7120 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
7121 ac_tool_warned=yes ;;
7122 esac
7123 READELF=$ac_ct_READELF
7125 else
7126 READELF="$ac_cv_prog_READELF"
7130 wine_binary="wine"
7131 test "x$enable_win64" != "xyes" || wine_binary="wine64"
7133 LOADER_RULES="
7134 all: $wine_binary wine-installed
7136 install install-lib:: wine-installed \$(DESTDIR)\$(bindir)
7137 \$(INSTALL_PROGRAM) wine-installed \$(DESTDIR)\$(bindir)/$wine_binary
7139 uninstall::
7140 \$(RM) \$(DESTDIR)\$(bindir)/$wine_binary
7144 case $host_os in
7145 cygwin*|mingw32*)
7146 if test -n "$ac_tool_prefix"; then
7147 # Extract the first word of "${ac_tool_prefix}dlltool", so it can be a program name with args.
7148 set dummy ${ac_tool_prefix}dlltool; ac_word=$2
7149 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7150 $as_echo_n "checking for $ac_word... " >&6; }
7151 if ${ac_cv_prog_DLLTOOL+:} false; then :
7152 $as_echo_n "(cached) " >&6
7153 else
7154 if test -n "$DLLTOOL"; then
7155 ac_cv_prog_DLLTOOL="$DLLTOOL" # Let the user override the test.
7156 else
7157 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7158 for as_dir in $PATH
7160 IFS=$as_save_IFS
7161 test -z "$as_dir" && as_dir=.
7162 for ac_exec_ext in '' $ac_executable_extensions; do
7163 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
7164 ac_cv_prog_DLLTOOL="${ac_tool_prefix}dlltool"
7165 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
7166 break 2
7168 done
7169 done
7170 IFS=$as_save_IFS
7174 DLLTOOL=$ac_cv_prog_DLLTOOL
7175 if test -n "$DLLTOOL"; then
7176 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $DLLTOOL" >&5
7177 $as_echo "$DLLTOOL" >&6; }
7178 else
7179 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7180 $as_echo "no" >&6; }
7185 if test -z "$ac_cv_prog_DLLTOOL"; then
7186 ac_ct_DLLTOOL=$DLLTOOL
7187 # Extract the first word of "dlltool", so it can be a program name with args.
7188 set dummy dlltool; ac_word=$2
7189 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7190 $as_echo_n "checking for $ac_word... " >&6; }
7191 if ${ac_cv_prog_ac_ct_DLLTOOL+:} false; then :
7192 $as_echo_n "(cached) " >&6
7193 else
7194 if test -n "$ac_ct_DLLTOOL"; then
7195 ac_cv_prog_ac_ct_DLLTOOL="$ac_ct_DLLTOOL" # Let the user override the test.
7196 else
7197 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7198 for as_dir in $PATH
7200 IFS=$as_save_IFS
7201 test -z "$as_dir" && as_dir=.
7202 for ac_exec_ext in '' $ac_executable_extensions; do
7203 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
7204 ac_cv_prog_ac_ct_DLLTOOL="dlltool"
7205 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
7206 break 2
7208 done
7209 done
7210 IFS=$as_save_IFS
7214 ac_ct_DLLTOOL=$ac_cv_prog_ac_ct_DLLTOOL
7215 if test -n "$ac_ct_DLLTOOL"; then
7216 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_DLLTOOL" >&5
7217 $as_echo "$ac_ct_DLLTOOL" >&6; }
7218 else
7219 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7220 $as_echo "no" >&6; }
7223 if test "x$ac_ct_DLLTOOL" = x; then
7224 DLLTOOL="false"
7225 else
7226 case $cross_compiling:$ac_tool_warned in
7227 yes:)
7228 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
7229 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
7230 ac_tool_warned=yes ;;
7231 esac
7232 DLLTOOL=$ac_ct_DLLTOOL
7234 else
7235 DLLTOOL="$ac_cv_prog_DLLTOOL"
7238 LIBEXT="dll"
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 DLLEXT=".so"
7285 LIBEXT="dylib"
7286 DLLFLAGS="$DLLFLAGS -fPIC"
7287 LIBWINE_LDFLAGS="-multiply_defined suppress"
7288 LDRPATH_INSTALL="-Wl,-rpath,@loader_path/\`\$(RELPATH) \$(bindir) \$(libdir)\`"
7289 LDRPATH_LOCAL="-Wl,-rpath,@loader_path/\$(top_builddir)/libs/wine"
7290 COREFOUNDATIONLIB="-framework CoreFoundation"
7292 IOKITLIB="-framework IOKit -framework CoreFoundation"
7294 FORCEFEEDBACKLIB="-framework ForceFeedback -framework CoreFoundation"
7296 APPLICATIONSERVICESLIB="-framework ApplicationServices"
7298 CORESERVICESLIB="-framework CoreServices"
7300 APPKITLIB="-framework AppKit"
7302 LDEXECFLAGS="-image_base 0x7bf00000 -Wl,-segaddr,WINE_DOS,0x00001000,-segaddr,WINE_SHAREDHEAP,0x7f000000,-sectcreate,__TEXT,__info_plist,wine_info.plist"
7303 case $host_os in
7304 darwin11*) LDEXECFLAGS="-Wl,-macosx_version_min,10.6 $LDEXECFLAGS" ;;
7305 esac
7306 if test "$ac_cv_header_DiskArbitration_DiskArbitration_h" = "yes"
7307 then
7308 DISKARBITRATIONLIB="-framework DiskArbitration -framework CoreFoundation"
7311 if test "$ac_cv_header_Security_Security_h" = "yes"
7312 then
7313 SECURITYLIB="-framework Security -framework CoreFoundation"
7315 ac_save_LIBS="$LIBS"
7316 LIBS="$LIBS $SECURITYLIB"
7317 for ac_func in SSLCopyPeerCertificates
7318 do :
7319 ac_fn_c_check_func "$LINENO" "SSLCopyPeerCertificates" "ac_cv_func_SSLCopyPeerCertificates"
7320 if test "x$ac_cv_func_SSLCopyPeerCertificates" = xyes; then :
7321 cat >>confdefs.h <<_ACEOF
7322 #define HAVE_SSLCOPYPEERCERTIFICATES 1
7323 _ACEOF
7326 done
7328 LIBS="$ac_save_LIBS"
7329 with_gnutls=${with_gnutls:-no}
7331 if test "$ac_cv_header_CoreAudio_CoreAudio_h" = "yes" -a "$ac_cv_header_AudioUnit_AudioUnit_h" = "yes"
7332 then
7333 if test "$ac_cv_header_AudioUnit_AudioComponent_h" = "yes"
7334 then
7335 COREAUDIO="-framework CoreFoundation -framework CoreAudio -framework AudioUnit -framework AudioToolbox -framework CoreMIDI"
7337 else
7338 COREAUDIO="-framework CoreAudio -framework AudioUnit -framework CoreServices -framework AudioToolbox -framework CoreMIDI"
7341 ac_save_LIBS="$LIBS"
7342 LIBS="$LIBS $COREAUDIO"
7343 for ac_func in AUGraphAddNode
7344 do :
7345 ac_fn_c_check_func "$LINENO" "AUGraphAddNode" "ac_cv_func_AUGraphAddNode"
7346 if test "x$ac_cv_func_AUGraphAddNode" = xyes; then :
7347 cat >>confdefs.h <<_ACEOF
7348 #define HAVE_AUGRAPHADDNODE 1
7349 _ACEOF
7352 done
7354 LIBS="$ac_save_LIBS"
7356 if test "$ac_cv_header_OpenAL_al_h" = "yes"
7357 then
7358 FRAMEWORK_OPENAL="-framework OpenAL"
7361 cat >>confdefs.h <<_ACEOF
7362 #define HAVE_OPENAL 1
7363 _ACEOF
7365 ac_cv_lib_openal=yes
7367 if test "$ac_cv_header_OpenCL_opencl_h" = "yes"
7368 then
7369 LIBOPENCL="-framework OpenCL"
7371 ac_cv_lib_OpenCL_clGetPlatformInfo=yes
7373 if test "$ac_cv_header_IOKit_hid_IOHIDLib_h" = "yes"
7374 then
7375 ac_save_LIBS="$LIBS"
7376 LIBS="$LIBS $IOKITLIB"
7377 for ac_func in IOHIDManagerCreate
7378 do :
7379 ac_fn_c_check_func "$LINENO" "IOHIDManagerCreate" "ac_cv_func_IOHIDManagerCreate"
7380 if test "x$ac_cv_func_IOHIDManagerCreate" = xyes; then :
7381 cat >>confdefs.h <<_ACEOF
7382 #define HAVE_IOHIDMANAGERCREATE 1
7383 _ACEOF
7386 done
7388 LIBS="$ac_save_LIBS"
7390 if test "$ac_cv_header_QuickTime_ImageCompression_h" = "yes"
7391 then
7392 QUICKTIMELIB="-framework QuickTime -framework ApplicationServices -framework CoreVideo"
7394 enable_wineqtdecoder=${enable_wineqtdecoder:-yes}
7395 else
7396 as_fn_append wine_notices "|QuickTime ${notice_platform}development files not found, video decoding won't be supported."
7398 if test "$ac_cv_header_Carbon_Carbon_h" = "yes"
7399 then
7400 CARBONLIB="-framework Carbon"
7404 if test "$ac_cv_header_ApplicationServices_ApplicationServices_h" = "yes"
7405 then
7406 ac_save_LIBS="$LIBS"
7407 LIBS="$LIBS $APPLICATIONSERVICESLIB"
7408 ac_fn_c_check_func "$LINENO" "CGDisplayModeGetWidth" "ac_cv_func_CGDisplayModeGetWidth"
7409 if test "x$ac_cv_func_CGDisplayModeGetWidth" = xyes; then :
7410 enable_winemac_drv=${enable_winemac_drv:-yes}
7413 LIBS="$ac_save_LIBS"
7416 if test "x$enable_win16" = "xyes"
7417 then
7418 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether 16-bit code can be built correctly" >&5
7419 $as_echo_n "checking whether 16-bit code can be built correctly... " >&6; }
7420 if test "$cross_compiling" = yes; then :
7421 { $as_echo "$as_me:${as_lineno-$LINENO}: result: cross-compiling, assuming yes" >&5
7422 $as_echo "cross-compiling, assuming yes" >&6; }
7423 else
7424 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
7425 /* end confdefs.h. */
7426 asm(".text\n"
7427 "bad:\tnop;nop\n"
7428 "good:\tnop;nop\n\t"
7429 ".globl _testfunc\n"
7430 "_testfunc:\tcallw good");
7431 extern void testfunc();
7433 main ()
7435 unsigned short *p = (unsigned short *)testfunc;
7436 return p[0] != 0xe866 || p[1] != 0xfffa
7438 return 0;
7440 _ACEOF
7441 if ac_fn_c_try_run "$LINENO"; then :
7442 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
7443 $as_echo "yes" >&6; }
7444 else
7445 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7446 $as_echo "no" >&6; }
7447 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
7449 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \
7450 conftest.$ac_objext conftest.beam conftest.$ac_ext
7455 LIBWINE_RULES="
7456 all: libwine.dylib
7458 libwine.\$(VERSION).dylib: \$(OBJS) \$(RELPATH) Makefile.in
7459 \$(CC) -dynamiclib -install_name @rpath/libwine.\$(SOVERSION).dylib -Wl,-rpath,@loader_path/ -compatibility_version \$(SOVERSION) -current_version \$(VERSION) \$(OBJS) \$(EXTRALIBS) \$(LDFLAGS) \$(LIBS) -o \$@
7461 libwine.\$(SOVERSION).dylib: libwine.\$(VERSION).dylib
7462 \$(RM) \$@ && \$(LN_S) libwine.\$(VERSION).dylib \$@
7464 libwine.dylib: libwine.\$(SOVERSION).dylib
7465 \$(RM) \$@ && \$(LN_S) libwine.\$(SOVERSION).dylib \$@
7467 install install-lib:: libwine.\$(VERSION).dylib \$(DESTDIR)\$(libdir) dummy
7468 \$(INSTALL_PROGRAM) libwine.\$(VERSION).dylib \$(DESTDIR)\$(libdir)/libwine.\$(VERSION).dylib
7469 cd \$(DESTDIR)\$(libdir) && \$(RM) libwine.\$(SOVERSION).dylib && \$(LN_S) libwine.\$(VERSION).dylib libwine.\$(SOVERSION).dylib
7471 install install-dev:: \$(DESTDIR)\$(libdir) dummy
7472 cd \$(DESTDIR)\$(libdir) && \$(RM) libwine.dylib && \$(LN_S) libwine.\$(VERSION).dylib libwine.dylib
7474 uninstall::
7475 -cd \$(DESTDIR)\$(libdir) && \$(RM) libwine.dylib libwine.\$(VERSION).dylib libwine.\$(SOVERSION).dylib
7477 clean::
7478 \$(RM) libwine.dylib libwine.\$(VERSION).dylib libwine.\$(SOVERSION).dylib version.c
7482 as_fn_append LOADER_RULES "
7483 $wine_binary: main.o Makefile.in wine_info.plist
7484 \$(CC) -o \$@ $LDEXECFLAGS main.o \$(LIBWINE) \$(LIBPORT) \$(EXTRALIBS) \$(LDFLAGS) \$(LDRPATH_LOCAL)
7486 wine-installed: main.o Makefile.in wine_info.plist
7487 \$(CC) -o \$@ $LDEXECFLAGS main.o \$(LIBWINE) \$(LIBPORT) \$(EXTRALIBS) \$(LDFLAGS) \$(LDRPATH_INSTALL)
7489 wine_info.plist: wine_info.plist.in \$(top_builddir)/include/config.h
7490 LC_ALL=C sed -e 's,@PACKAGE_VERSION@,$PACKAGE_VERSION,g' \$(srcdir)/wine_info.plist.in >\$@ || (\$(RM) \$@ && false)
7494 linux-android*)
7495 DLLFLAGS="$DLLFLAGS -fPIC"
7496 DLLEXT=".so"
7497 DLLPREFIX="lib"
7498 LDEXECFLAGS=""
7499 dlldir="\${libdir}"
7500 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -fPIC -Wl,--export-dynamic" >&5
7501 $as_echo_n "checking whether the compiler supports -fPIC -Wl,--export-dynamic... " >&6; }
7502 if ${ac_cv_cflags__fPIC__Wl___export_dynamic+:} false; then :
7503 $as_echo_n "(cached) " >&6
7504 else
7505 ac_wine_try_cflags_saved=$CFLAGS
7506 CFLAGS="$CFLAGS -fPIC -Wl,--export-dynamic"
7507 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
7508 /* end confdefs.h. */
7509 int main(int argc, char **argv) { return 0; }
7510 _ACEOF
7511 if ac_fn_c_try_link "$LINENO"; then :
7512 ac_cv_cflags__fPIC__Wl___export_dynamic=yes
7513 else
7514 ac_cv_cflags__fPIC__Wl___export_dynamic=no
7516 rm -f core conftest.err conftest.$ac_objext \
7517 conftest$ac_exeext conftest.$ac_ext
7518 CFLAGS=$ac_wine_try_cflags_saved
7520 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__fPIC__Wl___export_dynamic" >&5
7521 $as_echo "$ac_cv_cflags__fPIC__Wl___export_dynamic" >&6; }
7522 if test $ac_cv_cflags__fPIC__Wl___export_dynamic = yes; then :
7523 LDEXECFLAGS="-Wl,--export-dynamic"
7525 as_ac_var=`$as_echo "ac_cv_cflags_-fPIC -Wl,--rpath,\\$ORIGIN/../lib" | $as_tr_sh`
7526 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -fPIC -Wl,--rpath,\$ORIGIN/../lib" >&5
7527 $as_echo_n "checking whether the compiler supports -fPIC -Wl,--rpath,\$ORIGIN/../lib... " >&6; }
7528 if eval \${$as_ac_var+:} false; then :
7529 $as_echo_n "(cached) " >&6
7530 else
7531 ac_wine_try_cflags_saved=$CFLAGS
7532 CFLAGS="$CFLAGS -fPIC -Wl,--rpath,\$ORIGIN/../lib"
7533 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
7534 /* end confdefs.h. */
7535 int main(int argc, char **argv) { return 0; }
7536 _ACEOF
7537 if ac_fn_c_try_link "$LINENO"; then :
7538 eval "$as_ac_var=yes"
7539 else
7540 eval "$as_ac_var=no"
7542 rm -f core conftest.err conftest.$ac_objext \
7543 conftest$ac_exeext conftest.$ac_ext
7544 CFLAGS=$ac_wine_try_cflags_saved
7546 eval ac_res=\$$as_ac_var
7547 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
7548 $as_echo "$ac_res" >&6; }
7549 if test `eval 'as_val=${'$as_ac_var'};$as_echo "$as_val"'` = yes; then :
7550 LDRPATH_INSTALL="-Wl,--rpath,\\\$\$ORIGIN/\`\$(RELPATH) \$(bindir) \$(libdir)\`"
7551 LDRPATH_LOCAL="-Wl,--rpath,\\\$\$ORIGIN/\$(top_builddir)/libs/wine"
7552 else
7553 as_ac_var=`$as_echo "ac_cv_cflags_-fPIC -Wl,-R,\\$ORIGIN/../lib" | $as_tr_sh`
7554 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -fPIC -Wl,-R,\$ORIGIN/../lib" >&5
7555 $as_echo_n "checking whether the compiler supports -fPIC -Wl,-R,\$ORIGIN/../lib... " >&6; }
7556 if eval \${$as_ac_var+:} false; then :
7557 $as_echo_n "(cached) " >&6
7558 else
7559 ac_wine_try_cflags_saved=$CFLAGS
7560 CFLAGS="$CFLAGS -fPIC -Wl,-R,\$ORIGIN/../lib"
7561 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
7562 /* end confdefs.h. */
7563 int main(int argc, char **argv) { return 0; }
7564 _ACEOF
7565 if ac_fn_c_try_link "$LINENO"; then :
7566 eval "$as_ac_var=yes"
7567 else
7568 eval "$as_ac_var=no"
7570 rm -f core conftest.err conftest.$ac_objext \
7571 conftest$ac_exeext conftest.$ac_ext
7572 CFLAGS=$ac_wine_try_cflags_saved
7574 eval ac_res=\$$as_ac_var
7575 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
7576 $as_echo "$ac_res" >&6; }
7577 if test `eval 'as_val=${'$as_ac_var'};$as_echo "$as_val"'` = yes; then :
7578 LDRPATH_INSTALL="-Wl,-R,\\\$\$ORIGIN/\`\$(RELPATH) \$(bindir) \$(libdir)\`"
7579 LDRPATH_LOCAL="-Wl,-R,\\\$\$ORIGIN/\$(top_builddir)/libs/wine"
7583 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wl,--enable-new-dtags" >&5
7584 $as_echo_n "checking whether the compiler supports -Wl,--enable-new-dtags... " >&6; }
7585 if ${ac_cv_cflags__Wl___enable_new_dtags+:} false; then :
7586 $as_echo_n "(cached) " >&6
7587 else
7588 ac_wine_try_cflags_saved=$CFLAGS
7589 CFLAGS="$CFLAGS -Wl,--enable-new-dtags"
7590 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
7591 /* end confdefs.h. */
7592 int main(int argc, char **argv) { return 0; }
7593 _ACEOF
7594 if ac_fn_c_try_link "$LINENO"; then :
7595 ac_cv_cflags__Wl___enable_new_dtags=yes
7596 else
7597 ac_cv_cflags__Wl___enable_new_dtags=no
7599 rm -f core conftest.err conftest.$ac_objext \
7600 conftest$ac_exeext conftest.$ac_ext
7601 CFLAGS=$ac_wine_try_cflags_saved
7603 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wl___enable_new_dtags" >&5
7604 $as_echo "$ac_cv_cflags__Wl___enable_new_dtags" >&6; }
7605 if test $ac_cv_cflags__Wl___enable_new_dtags = yes; then :
7606 LDRPATH_INSTALL="$LDRPATH_INSTALL -Wl,--enable-new-dtags"
7609 case $host_cpu in
7610 *i[3456789]86* | x86_64)
7611 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wl,--section-start,.interp=0x7bf00400" >&5
7612 $as_echo_n "checking whether the compiler supports -Wl,--section-start,.interp=0x7bf00400... " >&6; }
7613 if ${ac_cv_cflags__Wl___section_start__interp_0x7bf00400+:} false; then :
7614 $as_echo_n "(cached) " >&6
7615 else
7616 ac_wine_try_cflags_saved=$CFLAGS
7617 CFLAGS="$CFLAGS -Wl,--section-start,.interp=0x7bf00400"
7618 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
7619 /* end confdefs.h. */
7620 int main(int argc, char **argv) { return 0; }
7621 _ACEOF
7622 if ac_fn_c_try_link "$LINENO"; then :
7623 ac_cv_cflags__Wl___section_start__interp_0x7bf00400=yes
7624 else
7625 ac_cv_cflags__Wl___section_start__interp_0x7bf00400=no
7627 rm -f core conftest.err conftest.$ac_objext \
7628 conftest$ac_exeext conftest.$ac_ext
7629 CFLAGS=$ac_wine_try_cflags_saved
7631 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wl___section_start__interp_0x7bf00400" >&5
7632 $as_echo "$ac_cv_cflags__Wl___section_start__interp_0x7bf00400" >&6; }
7633 if test $ac_cv_cflags__Wl___section_start__interp_0x7bf00400 = yes; then :
7634 LDEXECFLAGS="$LDEXECFLAGS -Wl,--section-start,.interp=0x7bf00400"
7637 esac
7639 LIBWINE_RULES="
7640 all: libwine.so
7642 libwine.so: \$(OBJS) Makefile.in
7643 \$(CC) -shared \$(OBJS) \$(EXTRALIBS) \$(LDFLAGS) \$(LIBS) -o \$@
7645 install install-lib:: libwine.so \$(DESTDIR)\$(libdir) dummy
7646 \$(INSTALL_PROGRAM) libwine.so \$(DESTDIR)\$(libdir)/libwine.so
7648 uninstall::
7649 \$(RM) \$(DESTDIR)\$(libdir)/libwine.so
7651 clean::
7652 \$(RM) libwine.so version.c
7656 as_fn_append LOADER_RULES "
7657 $wine_binary: main.o Makefile.in
7658 \$(CC) -o \$@ $LDEXECFLAGS main.o \$(LIBWINE) \$(LIBPORT) \$(EXTRALIBS) \$(LDFLAGS) \$(LDRPATH_LOCAL)
7660 wine-installed: main.o Makefile.in
7661 \$(CC) -o \$@ $LDEXECFLAGS main.o \$(LIBWINE) \$(LIBPORT) \$(EXTRALIBS) \$(LDFLAGS) \$(LDRPATH_INSTALL)
7666 DLLFLAGS="$DLLFLAGS -fPIC"
7667 DLLEXT=".so"
7668 LDEXECFLAGS=""
7669 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we can build a GNU style ELF dll" >&5
7670 $as_echo_n "checking whether we can build a GNU style ELF dll... " >&6; }
7671 if ${ac_cv_c_dll_gnuelf+:} false; then :
7672 $as_echo_n "(cached) " >&6
7673 else
7674 ac_wine_try_cflags_saved=$CFLAGS
7675 CFLAGS="$CFLAGS -fPIC -shared -Wl,-Bsymbolic"
7676 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
7677 /* end confdefs.h. */
7678 void myfunc() {}
7679 _ACEOF
7680 if ac_fn_c_try_link "$LINENO"; then :
7681 ac_cv_c_dll_gnuelf="yes"
7682 else
7683 ac_cv_c_dll_gnuelf="no"
7685 rm -f core conftest.err conftest.$ac_objext \
7686 conftest$ac_exeext conftest.$ac_ext
7687 CFLAGS=$ac_wine_try_cflags_saved
7689 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_dll_gnuelf" >&5
7690 $as_echo "$ac_cv_c_dll_gnuelf" >&6; }
7691 if test "$ac_cv_c_dll_gnuelf" = "yes"
7692 then
7693 LDSHARED="\$(CC) -shared"
7694 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -fPIC -shared -Wl,-soname,confest.so.1" >&5
7695 $as_echo_n "checking whether the compiler supports -fPIC -shared -Wl,-soname,confest.so.1... " >&6; }
7696 if ${ac_cv_cflags__fPIC__shared__Wl__soname_confest_so_1+:} false; then :
7697 $as_echo_n "(cached) " >&6
7698 else
7699 ac_wine_try_cflags_saved=$CFLAGS
7700 CFLAGS="$CFLAGS -fPIC -shared -Wl,-soname,confest.so.1"
7701 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
7702 /* end confdefs.h. */
7703 int main(int argc, char **argv) { return 0; }
7704 _ACEOF
7705 if ac_fn_c_try_link "$LINENO"; then :
7706 ac_cv_cflags__fPIC__shared__Wl__soname_confest_so_1=yes
7707 else
7708 ac_cv_cflags__fPIC__shared__Wl__soname_confest_so_1=no
7710 rm -f core conftest.err conftest.$ac_objext \
7711 conftest$ac_exeext conftest.$ac_ext
7712 CFLAGS=$ac_wine_try_cflags_saved
7714 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__fPIC__shared__Wl__soname_confest_so_1" >&5
7715 $as_echo "$ac_cv_cflags__fPIC__shared__Wl__soname_confest_so_1" >&6; }
7716 if test $ac_cv_cflags__fPIC__shared__Wl__soname_confest_so_1 = yes; then :
7717 LDSHARED="\$(CC) -shared -Wl,-soname,libwine.so.\$(SOVERSION)"
7718 else
7719 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -fPIC -shared -Wl,-h,confest.so.1" >&5
7720 $as_echo_n "checking whether the compiler supports -fPIC -shared -Wl,-h,confest.so.1... " >&6; }
7721 if ${ac_cv_cflags__fPIC__shared__Wl__h_confest_so_1+:} false; then :
7722 $as_echo_n "(cached) " >&6
7723 else
7724 ac_wine_try_cflags_saved=$CFLAGS
7725 CFLAGS="$CFLAGS -fPIC -shared -Wl,-h,confest.so.1"
7726 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
7727 /* end confdefs.h. */
7728 int main(int argc, char **argv) { return 0; }
7729 _ACEOF
7730 if ac_fn_c_try_link "$LINENO"; then :
7731 ac_cv_cflags__fPIC__shared__Wl__h_confest_so_1=yes
7732 else
7733 ac_cv_cflags__fPIC__shared__Wl__h_confest_so_1=no
7735 rm -f core conftest.err conftest.$ac_objext \
7736 conftest$ac_exeext conftest.$ac_ext
7737 CFLAGS=$ac_wine_try_cflags_saved
7739 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__fPIC__shared__Wl__h_confest_so_1" >&5
7740 $as_echo "$ac_cv_cflags__fPIC__shared__Wl__h_confest_so_1" >&6; }
7741 if test $ac_cv_cflags__fPIC__shared__Wl__h_confest_so_1 = yes; then :
7742 LDSHARED="\$(CC) -shared -Wl,-h,libwine.so.\$(SOVERSION)"
7746 echo '{ global: *; };' >conftest.map
7747 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -fPIC -shared -Wl,--version-script=conftest.map" >&5
7748 $as_echo_n "checking whether the compiler supports -fPIC -shared -Wl,--version-script=conftest.map... " >&6; }
7749 if ${ac_cv_cflags__fPIC__shared__Wl___version_script_conftest_map+:} false; then :
7750 $as_echo_n "(cached) " >&6
7751 else
7752 ac_wine_try_cflags_saved=$CFLAGS
7753 CFLAGS="$CFLAGS -fPIC -shared -Wl,--version-script=conftest.map"
7754 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
7755 /* end confdefs.h. */
7756 int main(int argc, char **argv) { return 0; }
7757 _ACEOF
7758 if ac_fn_c_try_link "$LINENO"; then :
7759 ac_cv_cflags__fPIC__shared__Wl___version_script_conftest_map=yes
7760 else
7761 ac_cv_cflags__fPIC__shared__Wl___version_script_conftest_map=no
7763 rm -f core conftest.err conftest.$ac_objext \
7764 conftest$ac_exeext conftest.$ac_ext
7765 CFLAGS=$ac_wine_try_cflags_saved
7767 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__fPIC__shared__Wl___version_script_conftest_map" >&5
7768 $as_echo "$ac_cv_cflags__fPIC__shared__Wl___version_script_conftest_map" >&6; }
7769 if test $ac_cv_cflags__fPIC__shared__Wl___version_script_conftest_map = yes; then :
7770 LDSHARED="$LDSHARED -Wl,--version-script=\$(srcdir)/wine.map"
7772 rm -f conftest.map
7774 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -fPIC -Wl,--export-dynamic" >&5
7775 $as_echo_n "checking whether the compiler supports -fPIC -Wl,--export-dynamic... " >&6; }
7776 if ${ac_cv_cflags__fPIC__Wl___export_dynamic+:} false; then :
7777 $as_echo_n "(cached) " >&6
7778 else
7779 ac_wine_try_cflags_saved=$CFLAGS
7780 CFLAGS="$CFLAGS -fPIC -Wl,--export-dynamic"
7781 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
7782 /* end confdefs.h. */
7783 int main(int argc, char **argv) { return 0; }
7784 _ACEOF
7785 if ac_fn_c_try_link "$LINENO"; then :
7786 ac_cv_cflags__fPIC__Wl___export_dynamic=yes
7787 else
7788 ac_cv_cflags__fPIC__Wl___export_dynamic=no
7790 rm -f core conftest.err conftest.$ac_objext \
7791 conftest$ac_exeext conftest.$ac_ext
7792 CFLAGS=$ac_wine_try_cflags_saved
7794 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__fPIC__Wl___export_dynamic" >&5
7795 $as_echo "$ac_cv_cflags__fPIC__Wl___export_dynamic" >&6; }
7796 if test $ac_cv_cflags__fPIC__Wl___export_dynamic = yes; then :
7797 LDEXECFLAGS="-Wl,--export-dynamic"
7800 as_ac_var=`$as_echo "ac_cv_cflags_-fPIC -Wl,--rpath,\\$ORIGIN/../lib" | $as_tr_sh`
7801 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -fPIC -Wl,--rpath,\$ORIGIN/../lib" >&5
7802 $as_echo_n "checking whether the compiler supports -fPIC -Wl,--rpath,\$ORIGIN/../lib... " >&6; }
7803 if eval \${$as_ac_var+:} false; then :
7804 $as_echo_n "(cached) " >&6
7805 else
7806 ac_wine_try_cflags_saved=$CFLAGS
7807 CFLAGS="$CFLAGS -fPIC -Wl,--rpath,\$ORIGIN/../lib"
7808 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
7809 /* end confdefs.h. */
7810 int main(int argc, char **argv) { return 0; }
7811 _ACEOF
7812 if ac_fn_c_try_link "$LINENO"; then :
7813 eval "$as_ac_var=yes"
7814 else
7815 eval "$as_ac_var=no"
7817 rm -f core conftest.err conftest.$ac_objext \
7818 conftest$ac_exeext conftest.$ac_ext
7819 CFLAGS=$ac_wine_try_cflags_saved
7821 eval ac_res=\$$as_ac_var
7822 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
7823 $as_echo "$ac_res" >&6; }
7824 if test `eval 'as_val=${'$as_ac_var'};$as_echo "$as_val"'` = yes; then :
7825 LDRPATH_INSTALL="-Wl,--rpath,\\\$\$ORIGIN/\`\$(RELPATH) \$(bindir) \$(libdir)\`"
7826 LDRPATH_LOCAL="-Wl,--rpath,\\\$\$ORIGIN/\$(top_builddir)/libs/wine"
7827 else
7828 as_ac_var=`$as_echo "ac_cv_cflags_-fPIC -Wl,-R,\\$ORIGIN/../lib" | $as_tr_sh`
7829 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -fPIC -Wl,-R,\$ORIGIN/../lib" >&5
7830 $as_echo_n "checking whether the compiler supports -fPIC -Wl,-R,\$ORIGIN/../lib... " >&6; }
7831 if eval \${$as_ac_var+:} false; then :
7832 $as_echo_n "(cached) " >&6
7833 else
7834 ac_wine_try_cflags_saved=$CFLAGS
7835 CFLAGS="$CFLAGS -fPIC -Wl,-R,\$ORIGIN/../lib"
7836 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
7837 /* end confdefs.h. */
7838 int main(int argc, char **argv) { return 0; }
7839 _ACEOF
7840 if ac_fn_c_try_link "$LINENO"; then :
7841 eval "$as_ac_var=yes"
7842 else
7843 eval "$as_ac_var=no"
7845 rm -f core conftest.err conftest.$ac_objext \
7846 conftest$ac_exeext conftest.$ac_ext
7847 CFLAGS=$ac_wine_try_cflags_saved
7849 eval ac_res=\$$as_ac_var
7850 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
7851 $as_echo "$ac_res" >&6; }
7852 if test `eval 'as_val=${'$as_ac_var'};$as_echo "$as_val"'` = yes; then :
7853 LDRPATH_INSTALL="-Wl,-R,\\\$\$ORIGIN/\`\$(RELPATH) \$(bindir) \$(libdir)\`"
7854 LDRPATH_LOCAL="-Wl,-R,\\\$\$ORIGIN/\$(top_builddir)/libs/wine"
7858 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wl,--enable-new-dtags" >&5
7859 $as_echo_n "checking whether the compiler supports -Wl,--enable-new-dtags... " >&6; }
7860 if ${ac_cv_cflags__Wl___enable_new_dtags+:} false; then :
7861 $as_echo_n "(cached) " >&6
7862 else
7863 ac_wine_try_cflags_saved=$CFLAGS
7864 CFLAGS="$CFLAGS -Wl,--enable-new-dtags"
7865 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
7866 /* end confdefs.h. */
7867 int main(int argc, char **argv) { return 0; }
7868 _ACEOF
7869 if ac_fn_c_try_link "$LINENO"; then :
7870 ac_cv_cflags__Wl___enable_new_dtags=yes
7871 else
7872 ac_cv_cflags__Wl___enable_new_dtags=no
7874 rm -f core conftest.err conftest.$ac_objext \
7875 conftest$ac_exeext conftest.$ac_ext
7876 CFLAGS=$ac_wine_try_cflags_saved
7878 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wl___enable_new_dtags" >&5
7879 $as_echo "$ac_cv_cflags__Wl___enable_new_dtags" >&6; }
7880 if test $ac_cv_cflags__Wl___enable_new_dtags = yes; then :
7881 LDRPATH_INSTALL="$LDRPATH_INSTALL -Wl,--enable-new-dtags"
7884 case $host_cpu in
7885 *i[3456789]86* | x86_64)
7886 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wl,--section-start,.interp=0x7bf00400" >&5
7887 $as_echo_n "checking whether the compiler supports -Wl,--section-start,.interp=0x7bf00400... " >&6; }
7888 if ${ac_cv_cflags__Wl___section_start__interp_0x7bf00400+:} false; then :
7889 $as_echo_n "(cached) " >&6
7890 else
7891 ac_wine_try_cflags_saved=$CFLAGS
7892 CFLAGS="$CFLAGS -Wl,--section-start,.interp=0x7bf00400"
7893 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
7894 /* end confdefs.h. */
7895 int main(int argc, char **argv) { return 0; }
7896 _ACEOF
7897 if ac_fn_c_try_link "$LINENO"; then :
7898 ac_cv_cflags__Wl___section_start__interp_0x7bf00400=yes
7899 else
7900 ac_cv_cflags__Wl___section_start__interp_0x7bf00400=no
7902 rm -f core conftest.err conftest.$ac_objext \
7903 conftest$ac_exeext conftest.$ac_ext
7904 CFLAGS=$ac_wine_try_cflags_saved
7906 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wl___section_start__interp_0x7bf00400" >&5
7907 $as_echo "$ac_cv_cflags__Wl___section_start__interp_0x7bf00400" >&6; }
7908 if test $ac_cv_cflags__Wl___section_start__interp_0x7bf00400 = yes; then :
7909 case $host_os in
7910 freebsd* | kfreebsd*-gnu) LDEXECFLAGS="$LDEXECFLAGS -Wl,--section-start,.interp=0x60000400" ;;
7911 *) LDEXECFLAGS="$LDEXECFLAGS -Wl,--section-start,.interp=0x7bf00400" ;;
7912 esac
7915 # Extract the first word of "prelink", so it can be a program name with args.
7916 set dummy prelink; ac_word=$2
7917 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7918 $as_echo_n "checking for $ac_word... " >&6; }
7919 if ${ac_cv_path_PRELINK+:} false; then :
7920 $as_echo_n "(cached) " >&6
7921 else
7922 case $PRELINK in
7923 [\\/]* | ?:[\\/]*)
7924 ac_cv_path_PRELINK="$PRELINK" # Let the user override the test with a path.
7927 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7928 for as_dir in /sbin /usr/sbin $PATH
7930 IFS=$as_save_IFS
7931 test -z "$as_dir" && as_dir=.
7932 for ac_exec_ext in '' $ac_executable_extensions; do
7933 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
7934 ac_cv_path_PRELINK="$as_dir/$ac_word$ac_exec_ext"
7935 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
7936 break 2
7938 done
7939 done
7940 IFS=$as_save_IFS
7942 test -z "$ac_cv_path_PRELINK" && ac_cv_path_PRELINK="false"
7944 esac
7946 PRELINK=$ac_cv_path_PRELINK
7947 if test -n "$PRELINK"; then
7948 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $PRELINK" >&5
7949 $as_echo "$PRELINK" >&6; }
7950 else
7951 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7952 $as_echo "no" >&6; }
7956 if test "x$PRELINK" = xfalse
7957 then
7958 as_fn_append wine_warnings "|prelink not found, base address of core dlls won't be set correctly."
7961 esac
7963 else
7964 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we can build a UnixWare (Solaris) dll" >&5
7965 $as_echo_n "checking whether we can build a UnixWare (Solaris) dll... " >&6; }
7966 if ${ac_cv_c_dll_unixware+:} false; then :
7967 $as_echo_n "(cached) " >&6
7968 else
7969 ac_wine_try_cflags_saved=$CFLAGS
7970 CFLAGS="$CFLAGS -fPIC -Wl,-G,-h,conftest.so.1.0,-B,symbolic"
7971 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
7972 /* end confdefs.h. */
7973 void myfunc() {}
7974 _ACEOF
7975 if ac_fn_c_try_link "$LINENO"; then :
7976 ac_cv_c_dll_unixware="yes"
7977 else
7978 ac_cv_c_dll_unixware="no"
7980 rm -f core conftest.err conftest.$ac_objext \
7981 conftest$ac_exeext conftest.$ac_ext
7982 CFLAGS=$ac_wine_try_cflags_saved
7984 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_dll_unixware" >&5
7985 $as_echo "$ac_cv_c_dll_unixware" >&6; }
7986 if test "$ac_cv_c_dll_unixware" = "yes"
7987 then
7988 LDSHARED="\$(CC) -Wl,-G,-h,libwine.so.\$(SOVERSION)"
7991 LIBWINE_RULES="
7992 all: libwine.so
7994 libwine.so.\$(VERSION): \$(OBJS) wine.map Makefile.in
7995 $LDSHARED \$(OBJS) \$(EXTRALIBS) \$(LDFLAGS) \$(LIBS) -o \$@
7997 libwine.so.\$(SOVERSION): libwine.so.\$(VERSION)
7998 \$(RM) \$@ && \$(LN_S) libwine.so.\$(VERSION) \$@
8000 libwine.so: libwine.so.\$(SOVERSION)
8001 \$(RM) \$@ && \$(LN_S) libwine.so.\$(SOVERSION) \$@
8003 install install-lib:: libwine.so.\$(VERSION) \$(DESTDIR)\$(libdir) dummy
8004 \$(INSTALL_PROGRAM) libwine.so.\$(VERSION) \$(DESTDIR)\$(libdir)/libwine.so.\$(VERSION)
8005 cd \$(DESTDIR)\$(libdir) && \$(RM) libwine.so.\$(SOVERSION) && \$(LN_S) libwine.so.\$(VERSION) libwine.so.\$(SOVERSION)
8007 install install-dev:: \$(DESTDIR)\$(libdir) dummy
8008 cd \$(DESTDIR)\$(libdir) && \$(RM) libwine.so && \$(LN_S) libwine.so.\$(VERSION) libwine.so
8010 uninstall::
8011 -cd \$(DESTDIR)\$(libdir) && \$(RM) libwine.so libwine.so.\$(VERSION) libwine.so.\$(SOVERSION)
8013 clean::
8014 \$(RM) libwine.so.\$(SOVERSION) libwine.so.\$(VERSION) version.c
8018 as_fn_append LOADER_RULES "
8019 $wine_binary: main.o Makefile.in
8020 \$(CC) -o \$@ $LDEXECFLAGS main.o \$(LIBWINE) \$(LIBPORT) \$(EXTRALIBS) \$(LDFLAGS) \$(LDRPATH_LOCAL)
8022 wine-installed: main.o Makefile.in
8023 \$(CC) -o \$@ $LDEXECFLAGS main.o \$(LIBWINE) \$(LIBPORT) \$(EXTRALIBS) \$(LDFLAGS) \$(LDRPATH_INSTALL)
8026 esac
8028 enable_wineqtdecoder=${enable_wineqtdecoder:-no}
8029 enable_winemac_drv=${enable_winemac_drv:-no}
8031 CROSSTEST_DISABLE=\#
8033 if test "$cross_compiling" = "no" -a "x$enable_tests" != xno -a "$LIBEXT" != "dll"
8034 then
8035 case "$host_cpu" in
8036 i[3456789]86*)
8037 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
8038 mingw32-gcc" ;;
8039 x86_64)
8040 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 " ;;
8042 ac_prefix_list="" ;;
8043 esac
8044 for ac_prog in $ac_prefix_list
8046 # Extract the first word of "$ac_prog", so it can be a program name with args.
8047 set dummy $ac_prog; ac_word=$2
8048 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
8049 $as_echo_n "checking for $ac_word... " >&6; }
8050 if ${ac_cv_prog_CROSSCC+:} false; then :
8051 $as_echo_n "(cached) " >&6
8052 else
8053 if test -n "$CROSSCC"; then
8054 ac_cv_prog_CROSSCC="$CROSSCC" # Let the user override the test.
8055 else
8056 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
8057 for as_dir in $PATH
8059 IFS=$as_save_IFS
8060 test -z "$as_dir" && as_dir=.
8061 for ac_exec_ext in '' $ac_executable_extensions; do
8062 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
8063 ac_cv_prog_CROSSCC="$ac_prog"
8064 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
8065 break 2
8067 done
8068 done
8069 IFS=$as_save_IFS
8073 CROSSCC=$ac_cv_prog_CROSSCC
8074 if test -n "$CROSSCC"; then
8075 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CROSSCC" >&5
8076 $as_echo "$CROSSCC" >&6; }
8077 else
8078 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
8079 $as_echo "no" >&6; }
8083 test -n "$CROSSCC" && break
8084 done
8085 test -n "$CROSSCC" || CROSSCC="false"
8087 if test "$CROSSCC" != "false"
8088 then
8089 ac_save_CC="$CC"
8090 CC="$CROSSCC"
8091 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CROSSCC works" >&5
8092 $as_echo_n "checking whether $CROSSCC works... " >&6; }
8093 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
8094 /* end confdefs.h. */
8097 main ()
8101 return 0;
8103 _ACEOF
8104 if ac_fn_c_try_compile "$LINENO"; then :
8105 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
8106 $as_echo "yes" >&6; }
8107 set x $CROSSCC
8108 shift
8109 target=""
8110 while test $# -ge 1
8112 case "$1" in
8113 *-gcc) target=`expr "$1" : '\(.*\)-gcc'` ;;
8114 esac
8115 shift
8116 done
8117 if test -n "$target"
8118 then
8119 CROSSTEST_DISABLE=""
8120 CROSSTARGET="$target"
8123 else
8124 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
8125 $as_echo "no" >&6; }
8127 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
8128 CC="$ac_save_CC"
8133 if test "$ac_cv_header_pthread_h" = "yes"
8134 then
8135 ac_fn_c_check_func "$LINENO" "pthread_create" "ac_cv_func_pthread_create"
8136 if test "x$ac_cv_func_pthread_create" = xyes; then :
8138 else
8139 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for pthread_create in -lpthread" >&5
8140 $as_echo_n "checking for pthread_create in -lpthread... " >&6; }
8141 if ${ac_cv_lib_pthread_pthread_create+:} false; then :
8142 $as_echo_n "(cached) " >&6
8143 else
8144 ac_check_lib_save_LIBS=$LIBS
8145 LIBS="-lpthread $LIBS"
8146 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
8147 /* end confdefs.h. */
8149 /* Override any GCC internal prototype to avoid an error.
8150 Use char because int might match the return type of a GCC
8151 builtin and then its argument prototype would still apply. */
8152 #ifdef __cplusplus
8153 extern "C"
8154 #endif
8155 char pthread_create ();
8157 main ()
8159 return pthread_create ();
8161 return 0;
8163 _ACEOF
8164 if ac_fn_c_try_link "$LINENO"; then :
8165 ac_cv_lib_pthread_pthread_create=yes
8166 else
8167 ac_cv_lib_pthread_pthread_create=no
8169 rm -f core conftest.err conftest.$ac_objext \
8170 conftest$ac_exeext conftest.$ac_ext
8171 LIBS=$ac_check_lib_save_LIBS
8173 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_pthread_pthread_create" >&5
8174 $as_echo "$ac_cv_lib_pthread_pthread_create" >&6; }
8175 if test "x$ac_cv_lib_pthread_pthread_create" = xyes; then :
8176 LIBPTHREAD="-lpthread"
8183 if test "x$ac_cv_func_pthread_create" != xyes -a "x$LIBPTHREAD" = x; then :
8184 case "x$with_pthread" in
8185 xno) ;;
8186 *) as_fn_error $? "pthread ${notice_platform}development files not found.
8187 Wine cannot support threads without libpthread.
8188 Use the --without-pthread option if you really want this." "$LINENO" 5 ;;
8189 esac
8193 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for X" >&5
8194 $as_echo_n "checking for X... " >&6; }
8197 # Check whether --with-x was given.
8198 if test "${with_x+set}" = set; then :
8199 withval=$with_x;
8202 # $have_x is `yes', `no', `disabled', or empty when we do not yet know.
8203 if test "x$with_x" = xno; then
8204 # The user explicitly disabled X.
8205 have_x=disabled
8206 else
8207 case $x_includes,$x_libraries in #(
8208 *\'*) as_fn_error $? "cannot use X directory names containing '" "$LINENO" 5;; #(
8209 *,NONE | NONE,*) if ${ac_cv_have_x+:} false; then :
8210 $as_echo_n "(cached) " >&6
8211 else
8212 # One or both of the vars are not set, and there is no cached value.
8213 ac_x_includes=no ac_x_libraries=no
8214 rm -f -r conftest.dir
8215 if mkdir conftest.dir; then
8216 cd conftest.dir
8217 cat >Imakefile <<'_ACEOF'
8218 incroot:
8219 @echo incroot='${INCROOT}'
8220 usrlibdir:
8221 @echo usrlibdir='${USRLIBDIR}'
8222 libdir:
8223 @echo libdir='${LIBDIR}'
8224 _ACEOF
8225 if (export CC; ${XMKMF-xmkmf}) >/dev/null 2>/dev/null && test -f Makefile; then
8226 # GNU make sometimes prints "make[1]: Entering ...", which would confuse us.
8227 for ac_var in incroot usrlibdir libdir; do
8228 eval "ac_im_$ac_var=\`\${MAKE-make} $ac_var 2>/dev/null | sed -n 's/^$ac_var=//p'\`"
8229 done
8230 # Open Windows xmkmf reportedly sets LIBDIR instead of USRLIBDIR.
8231 for ac_extension in a so sl dylib la dll; do
8232 if test ! -f "$ac_im_usrlibdir/libX11.$ac_extension" &&
8233 test -f "$ac_im_libdir/libX11.$ac_extension"; then
8234 ac_im_usrlibdir=$ac_im_libdir; break
8236 done
8237 # Screen out bogus values from the imake configuration. They are
8238 # bogus both because they are the default anyway, and because
8239 # using them would break gcc on systems where it needs fixed includes.
8240 case $ac_im_incroot in
8241 /usr/include) ac_x_includes= ;;
8242 *) test -f "$ac_im_incroot/X11/Xos.h" && ac_x_includes=$ac_im_incroot;;
8243 esac
8244 case $ac_im_usrlibdir in
8245 /usr/lib | /usr/lib64 | /lib | /lib64) ;;
8246 *) test -d "$ac_im_usrlibdir" && ac_x_libraries=$ac_im_usrlibdir ;;
8247 esac
8249 cd ..
8250 rm -f -r conftest.dir
8253 # Standard set of common directories for X headers.
8254 # Check X11 before X11Rn because it is often a symlink to the current release.
8255 ac_x_header_dirs='
8256 /usr/X11/include
8257 /usr/X11R7/include
8258 /usr/X11R6/include
8259 /usr/X11R5/include
8260 /usr/X11R4/include
8262 /usr/include/X11
8263 /usr/include/X11R7
8264 /usr/include/X11R6
8265 /usr/include/X11R5
8266 /usr/include/X11R4
8268 /usr/local/X11/include
8269 /usr/local/X11R7/include
8270 /usr/local/X11R6/include
8271 /usr/local/X11R5/include
8272 /usr/local/X11R4/include
8274 /usr/local/include/X11
8275 /usr/local/include/X11R7
8276 /usr/local/include/X11R6
8277 /usr/local/include/X11R5
8278 /usr/local/include/X11R4
8280 /usr/X386/include
8281 /usr/x386/include
8282 /usr/XFree86/include/X11
8284 /usr/include
8285 /usr/local/include
8286 /usr/unsupported/include
8287 /usr/athena/include
8288 /usr/local/x11r5/include
8289 /usr/lpp/Xamples/include
8291 /usr/openwin/include
8292 /usr/openwin/share/include'
8294 if test "$ac_x_includes" = no; then
8295 # Guess where to find include files, by looking for Xlib.h.
8296 # First, try using that file with no special directory specified.
8297 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
8298 /* end confdefs.h. */
8299 #include <X11/Xlib.h>
8300 _ACEOF
8301 if ac_fn_c_try_cpp "$LINENO"; then :
8302 # We can compile using X headers with no special include directory.
8303 ac_x_includes=
8304 else
8305 for ac_dir in $ac_x_header_dirs; do
8306 if test -r "$ac_dir/X11/Xlib.h"; then
8307 ac_x_includes=$ac_dir
8308 break
8310 done
8312 rm -f conftest.err conftest.i conftest.$ac_ext
8313 fi # $ac_x_includes = no
8315 if test "$ac_x_libraries" = no; then
8316 # Check for the libraries.
8317 # See if we find them without any special options.
8318 # Don't add to $LIBS permanently.
8319 ac_save_LIBS=$LIBS
8320 LIBS="-lX11 $LIBS"
8321 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
8322 /* end confdefs.h. */
8323 #include <X11/Xlib.h>
8325 main ()
8327 XrmInitialize ()
8329 return 0;
8331 _ACEOF
8332 if ac_fn_c_try_link "$LINENO"; then :
8333 LIBS=$ac_save_LIBS
8334 # We can link X programs with no special library path.
8335 ac_x_libraries=
8336 else
8337 LIBS=$ac_save_LIBS
8338 for ac_dir in `$as_echo "$ac_x_includes $ac_x_header_dirs" | sed s/include/lib/g`
8340 # Don't even attempt the hair of trying to link an X program!
8341 for ac_extension in a so sl dylib la dll; do
8342 if test -r "$ac_dir/libX11.$ac_extension"; then
8343 ac_x_libraries=$ac_dir
8344 break 2
8346 done
8347 done
8349 rm -f core conftest.err conftest.$ac_objext \
8350 conftest$ac_exeext conftest.$ac_ext
8351 fi # $ac_x_libraries = no
8353 case $ac_x_includes,$ac_x_libraries in #(
8354 no,* | *,no | *\'*)
8355 # Didn't find X, or a directory has "'" in its name.
8356 ac_cv_have_x="have_x=no";; #(
8358 # Record where we found X for the cache.
8359 ac_cv_have_x="have_x=yes\
8360 ac_x_includes='$ac_x_includes'\
8361 ac_x_libraries='$ac_x_libraries'"
8362 esac
8364 ;; #(
8365 *) have_x=yes;;
8366 esac
8367 eval "$ac_cv_have_x"
8368 fi # $with_x != no
8370 if test "$have_x" != yes; then
8371 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $have_x" >&5
8372 $as_echo "$have_x" >&6; }
8373 no_x=yes
8374 else
8375 # If each of the values was on the command line, it overrides each guess.
8376 test "x$x_includes" = xNONE && x_includes=$ac_x_includes
8377 test "x$x_libraries" = xNONE && x_libraries=$ac_x_libraries
8378 # Update the cache value to reflect the command line values.
8379 ac_cv_have_x="have_x=yes\
8380 ac_x_includes='$x_includes'\
8381 ac_x_libraries='$x_libraries'"
8382 { $as_echo "$as_me:${as_lineno-$LINENO}: result: libraries $x_libraries, headers $x_includes" >&5
8383 $as_echo "libraries $x_libraries, headers $x_includes" >&6; }
8386 if test "$no_x" = yes; then
8387 # Not all programs may use this symbol, but it does not hurt to define it.
8389 $as_echo "#define X_DISPLAY_MISSING 1" >>confdefs.h
8391 X_CFLAGS= X_PRE_LIBS= X_LIBS= X_EXTRA_LIBS=
8392 else
8393 if test -n "$x_includes"; then
8394 X_CFLAGS="$X_CFLAGS -I$x_includes"
8397 # It would also be nice to do this for all -L options, not just this one.
8398 if test -n "$x_libraries"; then
8399 X_LIBS="$X_LIBS -L$x_libraries"
8400 # For Solaris; some versions of Sun CC require a space after -R and
8401 # others require no space. Words are not sufficient . . . .
8402 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether -R must be followed by a space" >&5
8403 $as_echo_n "checking whether -R must be followed by a space... " >&6; }
8404 ac_xsave_LIBS=$LIBS; LIBS="$LIBS -R$x_libraries"
8405 ac_xsave_c_werror_flag=$ac_c_werror_flag
8406 ac_c_werror_flag=yes
8407 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
8408 /* end confdefs.h. */
8411 main ()
8415 return 0;
8417 _ACEOF
8418 if ac_fn_c_try_link "$LINENO"; then :
8419 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
8420 $as_echo "no" >&6; }
8421 X_LIBS="$X_LIBS -R$x_libraries"
8422 else
8423 LIBS="$ac_xsave_LIBS -R $x_libraries"
8424 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
8425 /* end confdefs.h. */
8428 main ()
8432 return 0;
8434 _ACEOF
8435 if ac_fn_c_try_link "$LINENO"; then :
8436 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
8437 $as_echo "yes" >&6; }
8438 X_LIBS="$X_LIBS -R $x_libraries"
8439 else
8440 { $as_echo "$as_me:${as_lineno-$LINENO}: result: neither works" >&5
8441 $as_echo "neither works" >&6; }
8443 rm -f core conftest.err conftest.$ac_objext \
8444 conftest$ac_exeext conftest.$ac_ext
8446 rm -f core conftest.err conftest.$ac_objext \
8447 conftest$ac_exeext conftest.$ac_ext
8448 ac_c_werror_flag=$ac_xsave_c_werror_flag
8449 LIBS=$ac_xsave_LIBS
8452 # Check for system-dependent libraries X programs must link with.
8453 # Do this before checking for the system-independent R6 libraries
8454 # (-lICE), since we may need -lsocket or whatever for X linking.
8456 if test "$ISC" = yes; then
8457 X_EXTRA_LIBS="$X_EXTRA_LIBS -lnsl_s -linet"
8458 else
8459 # Martyn Johnson says this is needed for Ultrix, if the X
8460 # libraries were built with DECnet support. And Karl Berry says
8461 # the Alpha needs dnet_stub (dnet does not exist).
8462 ac_xsave_LIBS="$LIBS"; LIBS="$LIBS $X_LIBS -lX11"
8463 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
8464 /* end confdefs.h. */
8466 /* Override any GCC internal prototype to avoid an error.
8467 Use char because int might match the return type of a GCC
8468 builtin and then its argument prototype would still apply. */
8469 #ifdef __cplusplus
8470 extern "C"
8471 #endif
8472 char XOpenDisplay ();
8474 main ()
8476 return XOpenDisplay ();
8478 return 0;
8480 _ACEOF
8481 if ac_fn_c_try_link "$LINENO"; then :
8483 else
8484 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dnet_ntoa in -ldnet" >&5
8485 $as_echo_n "checking for dnet_ntoa in -ldnet... " >&6; }
8486 if ${ac_cv_lib_dnet_dnet_ntoa+:} false; then :
8487 $as_echo_n "(cached) " >&6
8488 else
8489 ac_check_lib_save_LIBS=$LIBS
8490 LIBS="-ldnet $LIBS"
8491 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
8492 /* end confdefs.h. */
8494 /* Override any GCC internal prototype to avoid an error.
8495 Use char because int might match the return type of a GCC
8496 builtin and then its argument prototype would still apply. */
8497 #ifdef __cplusplus
8498 extern "C"
8499 #endif
8500 char dnet_ntoa ();
8502 main ()
8504 return dnet_ntoa ();
8506 return 0;
8508 _ACEOF
8509 if ac_fn_c_try_link "$LINENO"; then :
8510 ac_cv_lib_dnet_dnet_ntoa=yes
8511 else
8512 ac_cv_lib_dnet_dnet_ntoa=no
8514 rm -f core conftest.err conftest.$ac_objext \
8515 conftest$ac_exeext conftest.$ac_ext
8516 LIBS=$ac_check_lib_save_LIBS
8518 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dnet_dnet_ntoa" >&5
8519 $as_echo "$ac_cv_lib_dnet_dnet_ntoa" >&6; }
8520 if test "x$ac_cv_lib_dnet_dnet_ntoa" = xyes; then :
8521 X_EXTRA_LIBS="$X_EXTRA_LIBS -ldnet"
8524 if test $ac_cv_lib_dnet_dnet_ntoa = no; then
8525 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dnet_ntoa in -ldnet_stub" >&5
8526 $as_echo_n "checking for dnet_ntoa in -ldnet_stub... " >&6; }
8527 if ${ac_cv_lib_dnet_stub_dnet_ntoa+:} false; then :
8528 $as_echo_n "(cached) " >&6
8529 else
8530 ac_check_lib_save_LIBS=$LIBS
8531 LIBS="-ldnet_stub $LIBS"
8532 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
8533 /* end confdefs.h. */
8535 /* Override any GCC internal prototype to avoid an error.
8536 Use char because int might match the return type of a GCC
8537 builtin and then its argument prototype would still apply. */
8538 #ifdef __cplusplus
8539 extern "C"
8540 #endif
8541 char dnet_ntoa ();
8543 main ()
8545 return dnet_ntoa ();
8547 return 0;
8549 _ACEOF
8550 if ac_fn_c_try_link "$LINENO"; then :
8551 ac_cv_lib_dnet_stub_dnet_ntoa=yes
8552 else
8553 ac_cv_lib_dnet_stub_dnet_ntoa=no
8555 rm -f core conftest.err conftest.$ac_objext \
8556 conftest$ac_exeext conftest.$ac_ext
8557 LIBS=$ac_check_lib_save_LIBS
8559 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dnet_stub_dnet_ntoa" >&5
8560 $as_echo "$ac_cv_lib_dnet_stub_dnet_ntoa" >&6; }
8561 if test "x$ac_cv_lib_dnet_stub_dnet_ntoa" = xyes; then :
8562 X_EXTRA_LIBS="$X_EXTRA_LIBS -ldnet_stub"
8567 rm -f core conftest.err conftest.$ac_objext \
8568 conftest$ac_exeext conftest.$ac_ext
8569 LIBS="$ac_xsave_LIBS"
8571 # msh@cis.ufl.edu says -lnsl (and -lsocket) are needed for his 386/AT,
8572 # to get the SysV transport functions.
8573 # Chad R. Larson says the Pyramis MIS-ES running DC/OSx (SVR4)
8574 # needs -lnsl.
8575 # The nsl library prevents programs from opening the X display
8576 # on Irix 5.2, according to T.E. Dickey.
8577 # The functions gethostbyname, getservbyname, and inet_addr are
8578 # in -lbsd on LynxOS 3.0.1/i386, according to Lars Hecking.
8579 ac_fn_c_check_func "$LINENO" "gethostbyname" "ac_cv_func_gethostbyname"
8580 if test "x$ac_cv_func_gethostbyname" = xyes; then :
8584 if test $ac_cv_func_gethostbyname = no; then
8585 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for gethostbyname in -lnsl" >&5
8586 $as_echo_n "checking for gethostbyname in -lnsl... " >&6; }
8587 if ${ac_cv_lib_nsl_gethostbyname+:} false; then :
8588 $as_echo_n "(cached) " >&6
8589 else
8590 ac_check_lib_save_LIBS=$LIBS
8591 LIBS="-lnsl $LIBS"
8592 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
8593 /* end confdefs.h. */
8595 /* Override any GCC internal prototype to avoid an error.
8596 Use char because int might match the return type of a GCC
8597 builtin and then its argument prototype would still apply. */
8598 #ifdef __cplusplus
8599 extern "C"
8600 #endif
8601 char gethostbyname ();
8603 main ()
8605 return gethostbyname ();
8607 return 0;
8609 _ACEOF
8610 if ac_fn_c_try_link "$LINENO"; then :
8611 ac_cv_lib_nsl_gethostbyname=yes
8612 else
8613 ac_cv_lib_nsl_gethostbyname=no
8615 rm -f core conftest.err conftest.$ac_objext \
8616 conftest$ac_exeext conftest.$ac_ext
8617 LIBS=$ac_check_lib_save_LIBS
8619 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_nsl_gethostbyname" >&5
8620 $as_echo "$ac_cv_lib_nsl_gethostbyname" >&6; }
8621 if test "x$ac_cv_lib_nsl_gethostbyname" = xyes; then :
8622 X_EXTRA_LIBS="$X_EXTRA_LIBS -lnsl"
8625 if test $ac_cv_lib_nsl_gethostbyname = no; then
8626 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for gethostbyname in -lbsd" >&5
8627 $as_echo_n "checking for gethostbyname in -lbsd... " >&6; }
8628 if ${ac_cv_lib_bsd_gethostbyname+:} false; then :
8629 $as_echo_n "(cached) " >&6
8630 else
8631 ac_check_lib_save_LIBS=$LIBS
8632 LIBS="-lbsd $LIBS"
8633 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
8634 /* end confdefs.h. */
8636 /* Override any GCC internal prototype to avoid an error.
8637 Use char because int might match the return type of a GCC
8638 builtin and then its argument prototype would still apply. */
8639 #ifdef __cplusplus
8640 extern "C"
8641 #endif
8642 char gethostbyname ();
8644 main ()
8646 return gethostbyname ();
8648 return 0;
8650 _ACEOF
8651 if ac_fn_c_try_link "$LINENO"; then :
8652 ac_cv_lib_bsd_gethostbyname=yes
8653 else
8654 ac_cv_lib_bsd_gethostbyname=no
8656 rm -f core conftest.err conftest.$ac_objext \
8657 conftest$ac_exeext conftest.$ac_ext
8658 LIBS=$ac_check_lib_save_LIBS
8660 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_bsd_gethostbyname" >&5
8661 $as_echo "$ac_cv_lib_bsd_gethostbyname" >&6; }
8662 if test "x$ac_cv_lib_bsd_gethostbyname" = xyes; then :
8663 X_EXTRA_LIBS="$X_EXTRA_LIBS -lbsd"
8669 # lieder@skyler.mavd.honeywell.com says without -lsocket,
8670 # socket/setsockopt and other routines are undefined under SCO ODT
8671 # 2.0. But -lsocket is broken on IRIX 5.2 (and is not necessary
8672 # on later versions), says Simon Leinen: it contains gethostby*
8673 # variants that don't use the name server (or something). -lsocket
8674 # must be given before -lnsl if both are needed. We assume that
8675 # if connect needs -lnsl, so does gethostbyname.
8676 ac_fn_c_check_func "$LINENO" "connect" "ac_cv_func_connect"
8677 if test "x$ac_cv_func_connect" = xyes; then :
8681 if test $ac_cv_func_connect = no; then
8682 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for connect in -lsocket" >&5
8683 $as_echo_n "checking for connect in -lsocket... " >&6; }
8684 if ${ac_cv_lib_socket_connect+:} false; then :
8685 $as_echo_n "(cached) " >&6
8686 else
8687 ac_check_lib_save_LIBS=$LIBS
8688 LIBS="-lsocket $X_EXTRA_LIBS $LIBS"
8689 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
8690 /* end confdefs.h. */
8692 /* Override any GCC internal prototype to avoid an error.
8693 Use char because int might match the return type of a GCC
8694 builtin and then its argument prototype would still apply. */
8695 #ifdef __cplusplus
8696 extern "C"
8697 #endif
8698 char connect ();
8700 main ()
8702 return connect ();
8704 return 0;
8706 _ACEOF
8707 if ac_fn_c_try_link "$LINENO"; then :
8708 ac_cv_lib_socket_connect=yes
8709 else
8710 ac_cv_lib_socket_connect=no
8712 rm -f core conftest.err conftest.$ac_objext \
8713 conftest$ac_exeext conftest.$ac_ext
8714 LIBS=$ac_check_lib_save_LIBS
8716 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_socket_connect" >&5
8717 $as_echo "$ac_cv_lib_socket_connect" >&6; }
8718 if test "x$ac_cv_lib_socket_connect" = xyes; then :
8719 X_EXTRA_LIBS="-lsocket $X_EXTRA_LIBS"
8724 # Guillermo Gomez says -lposix is necessary on A/UX.
8725 ac_fn_c_check_func "$LINENO" "remove" "ac_cv_func_remove"
8726 if test "x$ac_cv_func_remove" = xyes; then :
8730 if test $ac_cv_func_remove = no; then
8731 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for remove in -lposix" >&5
8732 $as_echo_n "checking for remove in -lposix... " >&6; }
8733 if ${ac_cv_lib_posix_remove+:} false; then :
8734 $as_echo_n "(cached) " >&6
8735 else
8736 ac_check_lib_save_LIBS=$LIBS
8737 LIBS="-lposix $LIBS"
8738 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
8739 /* end confdefs.h. */
8741 /* Override any GCC internal prototype to avoid an error.
8742 Use char because int might match the return type of a GCC
8743 builtin and then its argument prototype would still apply. */
8744 #ifdef __cplusplus
8745 extern "C"
8746 #endif
8747 char remove ();
8749 main ()
8751 return remove ();
8753 return 0;
8755 _ACEOF
8756 if ac_fn_c_try_link "$LINENO"; then :
8757 ac_cv_lib_posix_remove=yes
8758 else
8759 ac_cv_lib_posix_remove=no
8761 rm -f core conftest.err conftest.$ac_objext \
8762 conftest$ac_exeext conftest.$ac_ext
8763 LIBS=$ac_check_lib_save_LIBS
8765 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_posix_remove" >&5
8766 $as_echo "$ac_cv_lib_posix_remove" >&6; }
8767 if test "x$ac_cv_lib_posix_remove" = xyes; then :
8768 X_EXTRA_LIBS="$X_EXTRA_LIBS -lposix"
8773 # BSDI BSD/OS 2.1 needs -lipc for XOpenDisplay.
8774 ac_fn_c_check_func "$LINENO" "shmat" "ac_cv_func_shmat"
8775 if test "x$ac_cv_func_shmat" = xyes; then :
8779 if test $ac_cv_func_shmat = no; then
8780 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for shmat in -lipc" >&5
8781 $as_echo_n "checking for shmat in -lipc... " >&6; }
8782 if ${ac_cv_lib_ipc_shmat+:} false; then :
8783 $as_echo_n "(cached) " >&6
8784 else
8785 ac_check_lib_save_LIBS=$LIBS
8786 LIBS="-lipc $LIBS"
8787 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
8788 /* end confdefs.h. */
8790 /* Override any GCC internal prototype to avoid an error.
8791 Use char because int might match the return type of a GCC
8792 builtin and then its argument prototype would still apply. */
8793 #ifdef __cplusplus
8794 extern "C"
8795 #endif
8796 char shmat ();
8798 main ()
8800 return shmat ();
8802 return 0;
8804 _ACEOF
8805 if ac_fn_c_try_link "$LINENO"; then :
8806 ac_cv_lib_ipc_shmat=yes
8807 else
8808 ac_cv_lib_ipc_shmat=no
8810 rm -f core conftest.err conftest.$ac_objext \
8811 conftest$ac_exeext conftest.$ac_ext
8812 LIBS=$ac_check_lib_save_LIBS
8814 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_ipc_shmat" >&5
8815 $as_echo "$ac_cv_lib_ipc_shmat" >&6; }
8816 if test "x$ac_cv_lib_ipc_shmat" = xyes; then :
8817 X_EXTRA_LIBS="$X_EXTRA_LIBS -lipc"
8823 # Check for libraries that X11R6 Xt/Xaw programs need.
8824 ac_save_LDFLAGS=$LDFLAGS
8825 test -n "$x_libraries" && LDFLAGS="$LDFLAGS -L$x_libraries"
8826 # SM needs ICE to (dynamically) link under SunOS 4.x (so we have to
8827 # check for ICE first), but we must link in the order -lSM -lICE or
8828 # we get undefined symbols. So assume we have SM if we have ICE.
8829 # These have to be linked with before -lX11, unlike the other
8830 # libraries we check for below, so use a different variable.
8831 # John Interrante, Karl Berry
8832 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for IceConnectionNumber in -lICE" >&5
8833 $as_echo_n "checking for IceConnectionNumber in -lICE... " >&6; }
8834 if ${ac_cv_lib_ICE_IceConnectionNumber+:} false; then :
8835 $as_echo_n "(cached) " >&6
8836 else
8837 ac_check_lib_save_LIBS=$LIBS
8838 LIBS="-lICE $X_EXTRA_LIBS $LIBS"
8839 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
8840 /* end confdefs.h. */
8842 /* Override any GCC internal prototype to avoid an error.
8843 Use char because int might match the return type of a GCC
8844 builtin and then its argument prototype would still apply. */
8845 #ifdef __cplusplus
8846 extern "C"
8847 #endif
8848 char IceConnectionNumber ();
8850 main ()
8852 return IceConnectionNumber ();
8854 return 0;
8856 _ACEOF
8857 if ac_fn_c_try_link "$LINENO"; then :
8858 ac_cv_lib_ICE_IceConnectionNumber=yes
8859 else
8860 ac_cv_lib_ICE_IceConnectionNumber=no
8862 rm -f core conftest.err conftest.$ac_objext \
8863 conftest$ac_exeext conftest.$ac_ext
8864 LIBS=$ac_check_lib_save_LIBS
8866 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_ICE_IceConnectionNumber" >&5
8867 $as_echo "$ac_cv_lib_ICE_IceConnectionNumber" >&6; }
8868 if test "x$ac_cv_lib_ICE_IceConnectionNumber" = xyes; then :
8869 X_PRE_LIBS="$X_PRE_LIBS -lSM -lICE"
8872 LDFLAGS=$ac_save_LDFLAGS
8877 if test "$have_x" = "yes"
8878 then
8879 XLIB="-lX11"
8880 ac_save_CPPFLAGS="$CPPFLAGS"
8881 CPPFLAGS="$CPPFLAGS $X_CFLAGS"
8883 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lX11" >&5
8884 $as_echo_n "checking for -lX11... " >&6; }
8885 if ${ac_cv_lib_soname_X11+:} false; then :
8886 $as_echo_n "(cached) " >&6
8887 else
8888 ac_check_soname_save_LIBS=$LIBS
8889 LIBS="-lX11 $X_LIBS $X_EXTRA_LIBS $LIBS"
8890 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
8891 /* end confdefs.h. */
8893 /* Override any GCC internal prototype to avoid an error.
8894 Use char because int might match the return type of a GCC
8895 builtin and then its argument prototype would still apply. */
8896 #ifdef __cplusplus
8897 extern "C"
8898 #endif
8899 char XCreateWindow ();
8901 main ()
8903 return XCreateWindow ();
8905 return 0;
8907 _ACEOF
8908 if ac_fn_c_try_link "$LINENO"; then :
8909 case "$LIBEXT" in
8910 dll) ac_cv_lib_soname_X11=`$ac_cv_path_LDD conftest.exe | grep "X11" | sed -e "s/dll.*/dll/"';2,$d'` ;;
8911 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'` ;;
8912 *) ac_cv_lib_soname_X11=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libX11\\.$LIBEXT" | sed -e "s/^.*\\[\\(libX11\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
8913 if test "x$ac_cv_lib_soname_X11" = x; then :
8914 ac_cv_lib_soname_X11=`$LDD conftest$ac_exeext | grep "libX11\\.$LIBEXT" | sed -e "s/^.*\(libX11\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
8915 fi ;;
8916 esac
8918 rm -f core conftest.err conftest.$ac_objext \
8919 conftest$ac_exeext conftest.$ac_ext
8920 LIBS=$ac_check_soname_save_LIBS
8922 if test "x$ac_cv_lib_soname_X11" = "x"; then :
8923 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
8924 $as_echo "not found" >&6; }
8926 else
8927 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_X11" >&5
8928 $as_echo "$ac_cv_lib_soname_X11" >&6; }
8930 cat >>confdefs.h <<_ACEOF
8931 #define SONAME_LIBX11 "$ac_cv_lib_soname_X11"
8932 _ACEOF
8936 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lXext" >&5
8937 $as_echo_n "checking for -lXext... " >&6; }
8938 if ${ac_cv_lib_soname_Xext+:} false; then :
8939 $as_echo_n "(cached) " >&6
8940 else
8941 ac_check_soname_save_LIBS=$LIBS
8942 LIBS="-lXext $X_LIBS -lX11 $X_EXTRA_LIBS $LIBS"
8943 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
8944 /* end confdefs.h. */
8946 /* Override any GCC internal prototype to avoid an error.
8947 Use char because int might match the return type of a GCC
8948 builtin and then its argument prototype would still apply. */
8949 #ifdef __cplusplus
8950 extern "C"
8951 #endif
8952 char XextCreateExtension ();
8954 main ()
8956 return XextCreateExtension ();
8958 return 0;
8960 _ACEOF
8961 if ac_fn_c_try_link "$LINENO"; then :
8962 case "$LIBEXT" in
8963 dll) ac_cv_lib_soname_Xext=`$ac_cv_path_LDD conftest.exe | grep "Xext" | sed -e "s/dll.*/dll/"';2,$d'` ;;
8964 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'` ;;
8965 *) ac_cv_lib_soname_Xext=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libXext\\.$LIBEXT" | sed -e "s/^.*\\[\\(libXext\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
8966 if test "x$ac_cv_lib_soname_Xext" = x; then :
8967 ac_cv_lib_soname_Xext=`$LDD conftest$ac_exeext | grep "libXext\\.$LIBEXT" | sed -e "s/^.*\(libXext\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
8968 fi ;;
8969 esac
8971 rm -f core conftest.err conftest.$ac_objext \
8972 conftest$ac_exeext conftest.$ac_ext
8973 LIBS=$ac_check_soname_save_LIBS
8975 if test "x$ac_cv_lib_soname_Xext" = "x"; then :
8976 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
8977 $as_echo "not found" >&6; }
8979 else
8980 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_Xext" >&5
8981 $as_echo "$ac_cv_lib_soname_Xext" >&6; }
8983 cat >>confdefs.h <<_ACEOF
8984 #define SONAME_LIBXEXT "$ac_cv_lib_soname_Xext"
8985 _ACEOF
8987 XLIB="-lXext $XLIB"
8990 for ac_header in X11/Xlib.h \
8991 X11/XKBlib.h \
8992 X11/Xutil.h \
8993 X11/Xcursor/Xcursor.h \
8994 X11/extensions/shape.h \
8995 X11/extensions/XInput.h \
8996 X11/extensions/XInput2.h \
8997 X11/extensions/XShm.h \
8998 X11/extensions/Xcomposite.h \
8999 X11/extensions/Xinerama.h \
9000 X11/extensions/Xrandr.h \
9001 X11/extensions/Xrender.h \
9002 X11/extensions/xf86vmode.h \
9003 X11/extensions/xf86vmproto.h
9004 do :
9005 as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
9006 ac_fn_c_check_header_compile "$LINENO" "$ac_header" "$as_ac_Header" "#ifdef HAVE_X11_XLIB_H
9007 # include <X11/Xlib.h>
9008 #endif
9009 #ifdef HAVE_X11_XUTIL_H
9010 # include <X11/Xutil.h>
9011 #endif
9013 if eval test \"x\$"$as_ac_Header"\" = x"yes"; then :
9014 cat >>confdefs.h <<_ACEOF
9015 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
9016 _ACEOF
9020 done
9023 if test "$ac_cv_header_X11_XKBlib_h" = "yes"
9024 then
9025 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for XkbQueryExtension in -lX11" >&5
9026 $as_echo_n "checking for XkbQueryExtension in -lX11... " >&6; }
9027 if ${ac_cv_lib_X11_XkbQueryExtension+:} false; then :
9028 $as_echo_n "(cached) " >&6
9029 else
9030 ac_check_lib_save_LIBS=$LIBS
9031 LIBS="-lX11 $X_LIBS $XLIB $X_EXTRA_LIBS $LIBS"
9032 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9033 /* end confdefs.h. */
9035 /* Override any GCC internal prototype to avoid an error.
9036 Use char because int might match the return type of a GCC
9037 builtin and then its argument prototype would still apply. */
9038 #ifdef __cplusplus
9039 extern "C"
9040 #endif
9041 char XkbQueryExtension ();
9043 main ()
9045 return XkbQueryExtension ();
9047 return 0;
9049 _ACEOF
9050 if ac_fn_c_try_link "$LINENO"; then :
9051 ac_cv_lib_X11_XkbQueryExtension=yes
9052 else
9053 ac_cv_lib_X11_XkbQueryExtension=no
9055 rm -f core conftest.err conftest.$ac_objext \
9056 conftest$ac_exeext conftest.$ac_ext
9057 LIBS=$ac_check_lib_save_LIBS
9059 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_X11_XkbQueryExtension" >&5
9060 $as_echo "$ac_cv_lib_X11_XkbQueryExtension" >&6; }
9061 if test "x$ac_cv_lib_X11_XkbQueryExtension" = xyes; then :
9063 $as_echo "#define HAVE_XKB 1" >>confdefs.h
9069 if test "$ac_cv_header_X11_Xcursor_Xcursor_h" = "yes"
9070 then
9071 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lXcursor" >&5
9072 $as_echo_n "checking for -lXcursor... " >&6; }
9073 if ${ac_cv_lib_soname_Xcursor+:} false; then :
9074 $as_echo_n "(cached) " >&6
9075 else
9076 ac_check_soname_save_LIBS=$LIBS
9077 LIBS="-lXcursor $X_LIBS $XLIB $X_EXTRA_LIBS $LIBS"
9078 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9079 /* end confdefs.h. */
9081 /* Override any GCC internal prototype to avoid an error.
9082 Use char because int might match the return type of a GCC
9083 builtin and then its argument prototype would still apply. */
9084 #ifdef __cplusplus
9085 extern "C"
9086 #endif
9087 char XcursorImageLoadCursor ();
9089 main ()
9091 return XcursorImageLoadCursor ();
9093 return 0;
9095 _ACEOF
9096 if ac_fn_c_try_link "$LINENO"; then :
9097 case "$LIBEXT" in
9098 dll) ac_cv_lib_soname_Xcursor=`$ac_cv_path_LDD conftest.exe | grep "Xcursor" | sed -e "s/dll.*/dll/"';2,$d'` ;;
9099 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'` ;;
9100 *) ac_cv_lib_soname_Xcursor=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libXcursor\\.$LIBEXT" | sed -e "s/^.*\\[\\(libXcursor\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
9101 if test "x$ac_cv_lib_soname_Xcursor" = x; then :
9102 ac_cv_lib_soname_Xcursor=`$LDD conftest$ac_exeext | grep "libXcursor\\.$LIBEXT" | sed -e "s/^.*\(libXcursor\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
9103 fi ;;
9104 esac
9106 rm -f core conftest.err conftest.$ac_objext \
9107 conftest$ac_exeext conftest.$ac_ext
9108 LIBS=$ac_check_soname_save_LIBS
9110 if test "x$ac_cv_lib_soname_Xcursor" = "x"; then :
9111 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
9112 $as_echo "not found" >&6; }
9114 else
9115 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_Xcursor" >&5
9116 $as_echo "$ac_cv_lib_soname_Xcursor" >&6; }
9118 cat >>confdefs.h <<_ACEOF
9119 #define SONAME_LIBXCURSOR "$ac_cv_lib_soname_Xcursor"
9120 _ACEOF
9125 if test "x$ac_cv_lib_soname_Xcursor" = "x"; then :
9126 case "x$with_xcursor" in
9127 x) as_fn_append wine_notices "|libxcursor ${notice_platform}development files not found, the Xcursor extension won't be supported." ;;
9128 xno) ;;
9129 *) as_fn_error $? "libxcursor ${notice_platform}development files not found, the Xcursor extension won't be supported.
9130 This is an error since --with-xcursor was requested." "$LINENO" 5 ;;
9131 esac
9134 if test "$ac_cv_header_X11_extensions_XInput_h" = "yes"
9135 then
9136 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lXi" >&5
9137 $as_echo_n "checking for -lXi... " >&6; }
9138 if ${ac_cv_lib_soname_Xi+:} false; then :
9139 $as_echo_n "(cached) " >&6
9140 else
9141 ac_check_soname_save_LIBS=$LIBS
9142 LIBS="-lXi $X_LIBS $XLIB $X_EXTRA_LIBS $LIBS"
9143 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9144 /* end confdefs.h. */
9146 /* Override any GCC internal prototype to avoid an error.
9147 Use char because int might match the return type of a GCC
9148 builtin and then its argument prototype would still apply. */
9149 #ifdef __cplusplus
9150 extern "C"
9151 #endif
9152 char XOpenDevice ();
9154 main ()
9156 return XOpenDevice ();
9158 return 0;
9160 _ACEOF
9161 if ac_fn_c_try_link "$LINENO"; then :
9162 case "$LIBEXT" in
9163 dll) ac_cv_lib_soname_Xi=`$ac_cv_path_LDD conftest.exe | grep "Xi" | sed -e "s/dll.*/dll/"';2,$d'` ;;
9164 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'` ;;
9165 *) ac_cv_lib_soname_Xi=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libXi\\.$LIBEXT" | sed -e "s/^.*\\[\\(libXi\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
9166 if test "x$ac_cv_lib_soname_Xi" = x; then :
9167 ac_cv_lib_soname_Xi=`$LDD conftest$ac_exeext | grep "libXi\\.$LIBEXT" | sed -e "s/^.*\(libXi\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
9168 fi ;;
9169 esac
9171 rm -f core conftest.err conftest.$ac_objext \
9172 conftest$ac_exeext conftest.$ac_ext
9173 LIBS=$ac_check_soname_save_LIBS
9175 if test "x$ac_cv_lib_soname_Xi" = "x"; then :
9176 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
9177 $as_echo "not found" >&6; }
9179 else
9180 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_Xi" >&5
9181 $as_echo "$ac_cv_lib_soname_Xi" >&6; }
9183 cat >>confdefs.h <<_ACEOF
9184 #define SONAME_LIBXI "$ac_cv_lib_soname_Xi"
9185 _ACEOF
9190 if test "x$ac_cv_lib_soname_Xi" = "x"; then :
9191 case "x$with_xinput" in
9192 x) as_fn_append wine_notices "|libxi ${notice_platform}development files not found, the Xinput extension won't be supported." ;;
9193 xno) ;;
9194 *) as_fn_error $? "libxi ${notice_platform}development files not found, the Xinput extension won't be supported.
9195 This is an error since --with-xinput was requested." "$LINENO" 5 ;;
9196 esac
9199 if test "x$ac_cv_lib_soname_Xi" != x
9200 then
9201 if test "$ac_cv_header_X11_extensions_XInput2_h" != "yes"; then :
9202 case "x$with_xinput2" in
9203 x) as_fn_append wine_notices "|XInput2 headers not found, the XInput 2 extension won't be supported." ;;
9204 xno) ;;
9205 *) as_fn_error $? "XInput2 headers not found, the XInput 2 extension won't be supported.
9206 This is an error since --with-xinput2 was requested." "$LINENO" 5 ;;
9207 esac
9211 if test "$ac_cv_header_X11_extensions_XShm_h" = "yes"
9212 then
9213 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for XShmQueryExtension in -lXext" >&5
9214 $as_echo_n "checking for XShmQueryExtension in -lXext... " >&6; }
9215 if ${ac_cv_lib_Xext_XShmQueryExtension+:} false; then :
9216 $as_echo_n "(cached) " >&6
9217 else
9218 ac_check_lib_save_LIBS=$LIBS
9219 LIBS="-lXext $X_LIBS $XLIB $X_EXTRA_LIBS $LIBS"
9220 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9221 /* end confdefs.h. */
9223 /* Override any GCC internal prototype to avoid an error.
9224 Use char because int might match the return type of a GCC
9225 builtin and then its argument prototype would still apply. */
9226 #ifdef __cplusplus
9227 extern "C"
9228 #endif
9229 char XShmQueryExtension ();
9231 main ()
9233 return XShmQueryExtension ();
9235 return 0;
9237 _ACEOF
9238 if ac_fn_c_try_link "$LINENO"; then :
9239 ac_cv_lib_Xext_XShmQueryExtension=yes
9240 else
9241 ac_cv_lib_Xext_XShmQueryExtension=no
9243 rm -f core conftest.err conftest.$ac_objext \
9244 conftest$ac_exeext conftest.$ac_ext
9245 LIBS=$ac_check_lib_save_LIBS
9247 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_Xext_XShmQueryExtension" >&5
9248 $as_echo "$ac_cv_lib_Xext_XShmQueryExtension" >&6; }
9249 if test "x$ac_cv_lib_Xext_XShmQueryExtension" = xyes; then :
9251 $as_echo "#define HAVE_LIBXXSHM 1" >>confdefs.h
9256 if test "$ac_cv_lib_Xext_XShmQueryExtension" != "yes"; then :
9257 case "x$with_xshm" in
9258 x) as_fn_append wine_notices "|XShm ${notice_platform}development files not found, X Shared Memory won't be supported." ;;
9259 xno) ;;
9260 *) as_fn_error $? "XShm ${notice_platform}development files not found, X Shared Memory won't be supported.
9261 This is an error since --with-xshm was requested." "$LINENO" 5 ;;
9262 esac
9265 if test "$ac_cv_header_X11_extensions_shape_h" = "yes"
9266 then
9267 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for XShapeQueryExtension in -lXext" >&5
9268 $as_echo_n "checking for XShapeQueryExtension in -lXext... " >&6; }
9269 if ${ac_cv_lib_Xext_XShapeQueryExtension+:} false; then :
9270 $as_echo_n "(cached) " >&6
9271 else
9272 ac_check_lib_save_LIBS=$LIBS
9273 LIBS="-lXext $X_LIBS $XLIB $X_EXTRA_LIBS $LIBS"
9274 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9275 /* end confdefs.h. */
9277 /* Override any GCC internal prototype to avoid an error.
9278 Use char because int might match the return type of a GCC
9279 builtin and then its argument prototype would still apply. */
9280 #ifdef __cplusplus
9281 extern "C"
9282 #endif
9283 char XShapeQueryExtension ();
9285 main ()
9287 return XShapeQueryExtension ();
9289 return 0;
9291 _ACEOF
9292 if ac_fn_c_try_link "$LINENO"; then :
9293 ac_cv_lib_Xext_XShapeQueryExtension=yes
9294 else
9295 ac_cv_lib_Xext_XShapeQueryExtension=no
9297 rm -f core conftest.err conftest.$ac_objext \
9298 conftest$ac_exeext conftest.$ac_ext
9299 LIBS=$ac_check_lib_save_LIBS
9301 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_Xext_XShapeQueryExtension" >&5
9302 $as_echo "$ac_cv_lib_Xext_XShapeQueryExtension" >&6; }
9303 if test "x$ac_cv_lib_Xext_XShapeQueryExtension" = xyes; then :
9305 $as_echo "#define HAVE_LIBXSHAPE 1" >>confdefs.h
9310 if test "$ac_cv_lib_Xext_XShapeQueryExtension" != "yes"; then :
9311 case "x$with_xshape" in
9312 x) as_fn_append wine_notices "|XShape ${notice_platform}development files not found, XShape won't be supported." ;;
9313 xno) ;;
9314 *) as_fn_error $? "XShape ${notice_platform}development files not found, XShape won't be supported.
9315 This is an error since --with-xshape was requested." "$LINENO" 5 ;;
9316 esac
9319 if test "$ac_cv_header_X11_extensions_xf86vmode_h" = "yes" -o "$ac_cv_header_X11_extensions_xf86vmproto_h" = "yes"
9320 then
9321 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lXxf86vm" >&5
9322 $as_echo_n "checking for -lXxf86vm... " >&6; }
9323 if ${ac_cv_lib_soname_Xxf86vm+:} false; then :
9324 $as_echo_n "(cached) " >&6
9325 else
9326 ac_check_soname_save_LIBS=$LIBS
9327 LIBS="-lXxf86vm $X_LIBS $XLIB $X_EXTRA_LIBS $LIBS"
9328 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9329 /* end confdefs.h. */
9331 /* Override any GCC internal prototype to avoid an error.
9332 Use char because int might match the return type of a GCC
9333 builtin and then its argument prototype would still apply. */
9334 #ifdef __cplusplus
9335 extern "C"
9336 #endif
9337 char XF86VidModeQueryExtension ();
9339 main ()
9341 return XF86VidModeQueryExtension ();
9343 return 0;
9345 _ACEOF
9346 if ac_fn_c_try_link "$LINENO"; then :
9347 case "$LIBEXT" in
9348 dll) ac_cv_lib_soname_Xxf86vm=`$ac_cv_path_LDD conftest.exe | grep "Xxf86vm" | sed -e "s/dll.*/dll/"';2,$d'` ;;
9349 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'` ;;
9350 *) ac_cv_lib_soname_Xxf86vm=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libXxf86vm\\.$LIBEXT" | sed -e "s/^.*\\[\\(libXxf86vm\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
9351 if test "x$ac_cv_lib_soname_Xxf86vm" = x; then :
9352 ac_cv_lib_soname_Xxf86vm=`$LDD conftest$ac_exeext | grep "libXxf86vm\\.$LIBEXT" | sed -e "s/^.*\(libXxf86vm\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
9353 fi ;;
9354 esac
9356 rm -f core conftest.err conftest.$ac_objext \
9357 conftest$ac_exeext conftest.$ac_ext
9358 LIBS=$ac_check_soname_save_LIBS
9360 if test "x$ac_cv_lib_soname_Xxf86vm" = "x"; then :
9361 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
9362 $as_echo "not found" >&6; }
9364 else
9365 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_Xxf86vm" >&5
9366 $as_echo "$ac_cv_lib_soname_Xxf86vm" >&6; }
9368 cat >>confdefs.h <<_ACEOF
9369 #define SONAME_LIBXXF86VM "$ac_cv_lib_soname_Xxf86vm"
9370 _ACEOF
9375 if test "x$ac_cv_lib_soname_Xxf86vm" = "x"; then :
9376 case "x$with_xxf86vm" in
9377 x) as_fn_append wine_notices "|libXxf86vm ${notice_platform}development files not found, XFree86 Vidmode won't be supported." ;;
9378 xno) ;;
9379 *) as_fn_error $? "libXxf86vm ${notice_platform}development files not found, XFree86 Vidmode won't be supported.
9380 This is an error since --with-xxf86vm was requested." "$LINENO" 5 ;;
9381 esac
9384 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"
9385 then
9386 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lXrender" >&5
9387 $as_echo_n "checking for -lXrender... " >&6; }
9388 if ${ac_cv_lib_soname_Xrender+:} false; then :
9389 $as_echo_n "(cached) " >&6
9390 else
9391 ac_check_soname_save_LIBS=$LIBS
9392 LIBS="-lXrender $X_LIBS $XLIB $X_EXTRA_LIBS $LIBS"
9393 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9394 /* end confdefs.h. */
9396 /* Override any GCC internal prototype to avoid an error.
9397 Use char because int might match the return type of a GCC
9398 builtin and then its argument prototype would still apply. */
9399 #ifdef __cplusplus
9400 extern "C"
9401 #endif
9402 char XRenderQueryExtension ();
9404 main ()
9406 return XRenderQueryExtension ();
9408 return 0;
9410 _ACEOF
9411 if ac_fn_c_try_link "$LINENO"; then :
9412 case "$LIBEXT" in
9413 dll) ac_cv_lib_soname_Xrender=`$ac_cv_path_LDD conftest.exe | grep "Xrender" | sed -e "s/dll.*/dll/"';2,$d'` ;;
9414 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'` ;;
9415 *) ac_cv_lib_soname_Xrender=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libXrender\\.$LIBEXT" | sed -e "s/^.*\\[\\(libXrender\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
9416 if test "x$ac_cv_lib_soname_Xrender" = x; then :
9417 ac_cv_lib_soname_Xrender=`$LDD conftest$ac_exeext | grep "libXrender\\.$LIBEXT" | sed -e "s/^.*\(libXrender\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
9418 fi ;;
9419 esac
9421 rm -f core conftest.err conftest.$ac_objext \
9422 conftest$ac_exeext conftest.$ac_ext
9423 LIBS=$ac_check_soname_save_LIBS
9425 if test "x$ac_cv_lib_soname_Xrender" = "x"; then :
9426 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
9427 $as_echo "not found" >&6; }
9429 else
9430 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_Xrender" >&5
9431 $as_echo "$ac_cv_lib_soname_Xrender" >&6; }
9433 cat >>confdefs.h <<_ACEOF
9434 #define SONAME_LIBXRENDER "$ac_cv_lib_soname_Xrender"
9435 _ACEOF
9437 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for XRenderSetPictureTransform in -lXrender" >&5
9438 $as_echo_n "checking for XRenderSetPictureTransform in -lXrender... " >&6; }
9439 if ${ac_cv_lib_Xrender_XRenderSetPictureTransform+:} false; then :
9440 $as_echo_n "(cached) " >&6
9441 else
9442 ac_check_lib_save_LIBS=$LIBS
9443 LIBS="-lXrender $X_LIBS $XLIB $X_EXTRA_LIBS $LIBS"
9444 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9445 /* end confdefs.h. */
9447 /* Override any GCC internal prototype to avoid an error.
9448 Use char because int might match the return type of a GCC
9449 builtin and then its argument prototype would still apply. */
9450 #ifdef __cplusplus
9451 extern "C"
9452 #endif
9453 char XRenderSetPictureTransform ();
9455 main ()
9457 return XRenderSetPictureTransform ();
9459 return 0;
9461 _ACEOF
9462 if ac_fn_c_try_link "$LINENO"; then :
9463 ac_cv_lib_Xrender_XRenderSetPictureTransform=yes
9464 else
9465 ac_cv_lib_Xrender_XRenderSetPictureTransform=no
9467 rm -f core conftest.err conftest.$ac_objext \
9468 conftest$ac_exeext conftest.$ac_ext
9469 LIBS=$ac_check_lib_save_LIBS
9471 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_Xrender_XRenderSetPictureTransform" >&5
9472 $as_echo "$ac_cv_lib_Xrender_XRenderSetPictureTransform" >&6; }
9473 if test "x$ac_cv_lib_Xrender_XRenderSetPictureTransform" = xyes; then :
9475 $as_echo "#define HAVE_XRENDERSETPICTURETRANSFORM 1" >>confdefs.h
9479 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for XRenderCreateLinearGradient in -lXrender" >&5
9480 $as_echo_n "checking for XRenderCreateLinearGradient in -lXrender... " >&6; }
9481 if ${ac_cv_lib_Xrender_XRenderCreateLinearGradient+:} false; then :
9482 $as_echo_n "(cached) " >&6
9483 else
9484 ac_check_lib_save_LIBS=$LIBS
9485 LIBS="-lXrender $X_LIBS $XLIB $X_EXTRA_LIBS $LIBS"
9486 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9487 /* end confdefs.h. */
9489 /* Override any GCC internal prototype to avoid an error.
9490 Use char because int might match the return type of a GCC
9491 builtin and then its argument prototype would still apply. */
9492 #ifdef __cplusplus
9493 extern "C"
9494 #endif
9495 char XRenderCreateLinearGradient ();
9497 main ()
9499 return XRenderCreateLinearGradient ();
9501 return 0;
9503 _ACEOF
9504 if ac_fn_c_try_link "$LINENO"; then :
9505 ac_cv_lib_Xrender_XRenderCreateLinearGradient=yes
9506 else
9507 ac_cv_lib_Xrender_XRenderCreateLinearGradient=no
9509 rm -f core conftest.err conftest.$ac_objext \
9510 conftest$ac_exeext conftest.$ac_ext
9511 LIBS=$ac_check_lib_save_LIBS
9513 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_Xrender_XRenderCreateLinearGradient" >&5
9514 $as_echo "$ac_cv_lib_Xrender_XRenderCreateLinearGradient" >&6; }
9515 if test "x$ac_cv_lib_Xrender_XRenderCreateLinearGradient" = xyes; then :
9517 $as_echo "#define HAVE_XRENDERCREATELINEARGRADIENT 1" >>confdefs.h
9524 if test "x$ac_cv_lib_soname_Xrender" = "x"; then :
9525 case "x$with_xrender" in
9526 x) as_fn_append wine_warnings "|libxrender ${notice_platform}development files not found, XRender won't be supported." ;;
9527 xno) ;;
9528 *) as_fn_error $? "libxrender ${notice_platform}development files not found, XRender won't be supported.
9529 This is an error since --with-xrender was requested." "$LINENO" 5 ;;
9530 esac
9533 if test "$ac_cv_header_X11_extensions_Xrandr_h" = "yes" -a "x$ac_cv_lib_soname_Xrender" != "x"
9534 then
9535 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9536 /* end confdefs.h. */
9537 #include <X11/Xlib.h>
9538 #include <X11/extensions/Xrandr.h>
9540 main ()
9542 static typeof(XRRSetScreenConfigAndRate) * func; if (func) return 0;
9544 return 0;
9546 _ACEOF
9547 if ac_fn_c_try_compile "$LINENO"; then :
9548 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lXrandr" >&5
9549 $as_echo_n "checking for -lXrandr... " >&6; }
9550 if ${ac_cv_lib_soname_Xrandr+:} false; then :
9551 $as_echo_n "(cached) " >&6
9552 else
9553 ac_check_soname_save_LIBS=$LIBS
9554 LIBS="-lXrandr $X_LIBS $XLIB $X_EXTRA_LIBS $LIBS"
9555 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9556 /* end confdefs.h. */
9558 /* Override any GCC internal prototype to avoid an error.
9559 Use char because int might match the return type of a GCC
9560 builtin and then its argument prototype would still apply. */
9561 #ifdef __cplusplus
9562 extern "C"
9563 #endif
9564 char XRRQueryExtension ();
9566 main ()
9568 return XRRQueryExtension ();
9570 return 0;
9572 _ACEOF
9573 if ac_fn_c_try_link "$LINENO"; then :
9574 case "$LIBEXT" in
9575 dll) ac_cv_lib_soname_Xrandr=`$ac_cv_path_LDD conftest.exe | grep "Xrandr" | sed -e "s/dll.*/dll/"';2,$d'` ;;
9576 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'` ;;
9577 *) ac_cv_lib_soname_Xrandr=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libXrandr\\.$LIBEXT" | sed -e "s/^.*\\[\\(libXrandr\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
9578 if test "x$ac_cv_lib_soname_Xrandr" = x; then :
9579 ac_cv_lib_soname_Xrandr=`$LDD conftest$ac_exeext | grep "libXrandr\\.$LIBEXT" | sed -e "s/^.*\(libXrandr\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
9580 fi ;;
9581 esac
9583 rm -f core conftest.err conftest.$ac_objext \
9584 conftest$ac_exeext conftest.$ac_ext
9585 LIBS=$ac_check_soname_save_LIBS
9587 if test "x$ac_cv_lib_soname_Xrandr" = "x"; then :
9588 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
9589 $as_echo "not found" >&6; }
9591 else
9592 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_Xrandr" >&5
9593 $as_echo "$ac_cv_lib_soname_Xrandr" >&6; }
9595 cat >>confdefs.h <<_ACEOF
9596 #define SONAME_LIBXRANDR "$ac_cv_lib_soname_Xrandr"
9597 _ACEOF
9599 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9600 /* end confdefs.h. */
9601 #include <X11/Xlib.h>
9602 #include <X11/extensions/Xrandr.h>
9604 main ()
9606 static typeof(XRRGetScreenResources) *f; if (f) return 0;
9608 return 0;
9610 _ACEOF
9611 if ac_fn_c_try_compile "$LINENO"; then :
9613 $as_echo "#define HAVE_XRRGETSCREENRESOURCES 1" >>confdefs.h
9616 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
9619 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
9621 if test "x$ac_cv_lib_soname_Xrandr" = "x"; then :
9622 case "x$with_xrandr" in
9623 x) as_fn_append wine_notices "|libxrandr ${notice_platform}development files not found, XRandr won't be supported." ;;
9624 xno) ;;
9625 *) as_fn_error $? "libxrandr ${notice_platform}development files not found, XRandr won't be supported.
9626 This is an error since --with-xrandr was requested." "$LINENO" 5 ;;
9627 esac
9630 if test "$ac_cv_header_X11_extensions_Xinerama_h" = "yes"
9631 then
9632 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9633 /* end confdefs.h. */
9634 #include <X11/Xlib.h>
9635 #include <X11/extensions/Xinerama.h>
9637 main ()
9639 static typeof(XineramaQueryScreens) * func; if (func) return 0;
9641 return 0;
9643 _ACEOF
9644 if ac_fn_c_try_compile "$LINENO"; then :
9645 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lXinerama" >&5
9646 $as_echo_n "checking for -lXinerama... " >&6; }
9647 if ${ac_cv_lib_soname_Xinerama+:} false; then :
9648 $as_echo_n "(cached) " >&6
9649 else
9650 ac_check_soname_save_LIBS=$LIBS
9651 LIBS="-lXinerama $X_LIBS $XLIB $X_EXTRA_LIBS $LIBS"
9652 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9653 /* end confdefs.h. */
9655 /* Override any GCC internal prototype to avoid an error.
9656 Use char because int might match the return type of a GCC
9657 builtin and then its argument prototype would still apply. */
9658 #ifdef __cplusplus
9659 extern "C"
9660 #endif
9661 char XineramaQueryScreens ();
9663 main ()
9665 return XineramaQueryScreens ();
9667 return 0;
9669 _ACEOF
9670 if ac_fn_c_try_link "$LINENO"; then :
9671 case "$LIBEXT" in
9672 dll) ac_cv_lib_soname_Xinerama=`$ac_cv_path_LDD conftest.exe | grep "Xinerama" | sed -e "s/dll.*/dll/"';2,$d'` ;;
9673 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'` ;;
9674 *) ac_cv_lib_soname_Xinerama=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libXinerama\\.$LIBEXT" | sed -e "s/^.*\\[\\(libXinerama\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
9675 if test "x$ac_cv_lib_soname_Xinerama" = x; then :
9676 ac_cv_lib_soname_Xinerama=`$LDD conftest$ac_exeext | grep "libXinerama\\.$LIBEXT" | sed -e "s/^.*\(libXinerama\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
9677 fi ;;
9678 esac
9680 rm -f core conftest.err conftest.$ac_objext \
9681 conftest$ac_exeext conftest.$ac_ext
9682 LIBS=$ac_check_soname_save_LIBS
9684 if test "x$ac_cv_lib_soname_Xinerama" = "x"; then :
9685 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
9686 $as_echo "not found" >&6; }
9688 else
9689 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_Xinerama" >&5
9690 $as_echo "$ac_cv_lib_soname_Xinerama" >&6; }
9692 cat >>confdefs.h <<_ACEOF
9693 #define SONAME_LIBXINERAMA "$ac_cv_lib_soname_Xinerama"
9694 _ACEOF
9699 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
9701 if test "x$ac_cv_lib_soname_Xinerama" = "x"; then :
9702 case "x$with_xinerama" in
9703 x) as_fn_append wine_notices "|libxinerama ${notice_platform}development files not found, multi-monitor setups won't be supported." ;;
9704 xno) ;;
9705 *) as_fn_error $? "libxinerama ${notice_platform}development files not found, multi-monitor setups won't be supported.
9706 This is an error since --with-xinerama was requested." "$LINENO" 5 ;;
9707 esac
9710 if test "$ac_cv_header_X11_extensions_Xcomposite_h" = "yes"
9711 then
9712 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lXcomposite" >&5
9713 $as_echo_n "checking for -lXcomposite... " >&6; }
9714 if ${ac_cv_lib_soname_Xcomposite+:} false; then :
9715 $as_echo_n "(cached) " >&6
9716 else
9717 ac_check_soname_save_LIBS=$LIBS
9718 LIBS="-lXcomposite $X_LIBS $XLIB $X_EXTRA_LIBS $LIBS"
9719 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9720 /* end confdefs.h. */
9722 /* Override any GCC internal prototype to avoid an error.
9723 Use char because int might match the return type of a GCC
9724 builtin and then its argument prototype would still apply. */
9725 #ifdef __cplusplus
9726 extern "C"
9727 #endif
9728 char XCompositeRedirectWindow ();
9730 main ()
9732 return XCompositeRedirectWindow ();
9734 return 0;
9736 _ACEOF
9737 if ac_fn_c_try_link "$LINENO"; then :
9738 case "$LIBEXT" in
9739 dll) ac_cv_lib_soname_Xcomposite=`$ac_cv_path_LDD conftest.exe | grep "Xcomposite" | sed -e "s/dll.*/dll/"';2,$d'` ;;
9740 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'` ;;
9741 *) ac_cv_lib_soname_Xcomposite=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libXcomposite\\.$LIBEXT" | sed -e "s/^.*\\[\\(libXcomposite\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
9742 if test "x$ac_cv_lib_soname_Xcomposite" = x; then :
9743 ac_cv_lib_soname_Xcomposite=`$LDD conftest$ac_exeext | grep "libXcomposite\\.$LIBEXT" | sed -e "s/^.*\(libXcomposite\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
9744 fi ;;
9745 esac
9747 rm -f core conftest.err conftest.$ac_objext \
9748 conftest$ac_exeext conftest.$ac_ext
9749 LIBS=$ac_check_soname_save_LIBS
9751 if test "x$ac_cv_lib_soname_Xcomposite" = "x"; then :
9752 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
9753 $as_echo "not found" >&6; }
9755 else
9756 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_Xcomposite" >&5
9757 $as_echo "$ac_cv_lib_soname_Xcomposite" >&6; }
9759 cat >>confdefs.h <<_ACEOF
9760 #define SONAME_LIBXCOMPOSITE "$ac_cv_lib_soname_Xcomposite"
9761 _ACEOF
9766 if test "x$ac_cv_lib_soname_Xcomposite" = "x"; then :
9767 case "x$with_xcomposite" in
9768 x) as_fn_append wine_notices "|libxcomposite ${notice_platform}development files not found, Xcomposite won't be supported." ;;
9769 xno) ;;
9770 *) as_fn_error $? "libxcomposite ${notice_platform}development files not found, Xcomposite won't be supported.
9771 This is an error since --with-xcomposite was requested." "$LINENO" 5 ;;
9772 esac
9775 ac_fn_c_check_member "$LINENO" "XICCallback" "callback" "ac_cv_member_XICCallback_callback" "#ifdef HAVE_X11_XLIB_H
9776 #include <X11/Xlib.h>
9777 #endif
9779 if test "x$ac_cv_member_XICCallback_callback" = xyes; then :
9781 cat >>confdefs.h <<_ACEOF
9782 #define HAVE_XICCALLBACK_CALLBACK 1
9783 _ACEOF
9787 ac_fn_c_check_member "$LINENO" "XEvent" "xcookie" "ac_cv_member_XEvent_xcookie" "#ifdef HAVE_X11_XLIB_H
9788 #include <X11/Xlib.h>
9789 #endif
9791 if test "x$ac_cv_member_XEvent_xcookie" = xyes; then :
9793 cat >>confdefs.h <<_ACEOF
9794 #define HAVE_XEVENT_XCOOKIE 1
9795 _ACEOF
9802 opengl_msg=""
9803 if test "x$with_opengl" != "xno"
9804 then
9805 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lGL" >&5
9806 $as_echo_n "checking for -lGL... " >&6; }
9807 if ${ac_cv_lib_soname_GL+:} false; then :
9808 $as_echo_n "(cached) " >&6
9809 else
9810 ac_check_soname_save_LIBS=$LIBS
9811 LIBS="-lGL $X_LIBS $XLIB -lm $X_EXTRA_LIBS $LIBS"
9812 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9813 /* end confdefs.h. */
9815 /* Override any GCC internal prototype to avoid an error.
9816 Use char because int might match the return type of a GCC
9817 builtin and then its argument prototype would still apply. */
9818 #ifdef __cplusplus
9819 extern "C"
9820 #endif
9821 char glXCreateContext ();
9823 main ()
9825 return glXCreateContext ();
9827 return 0;
9829 _ACEOF
9830 if ac_fn_c_try_link "$LINENO"; then :
9831 case "$LIBEXT" in
9832 dll) ac_cv_lib_soname_GL=`$ac_cv_path_LDD conftest.exe | grep "GL" | sed -e "s/dll.*/dll/"';2,$d'` ;;
9833 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'` ;;
9834 *) ac_cv_lib_soname_GL=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libGL\\.$LIBEXT" | sed -e "s/^.*\\[\\(libGL\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
9835 if test "x$ac_cv_lib_soname_GL" = x; then :
9836 ac_cv_lib_soname_GL=`$LDD conftest$ac_exeext | grep "libGL\\.$LIBEXT" | sed -e "s/^.*\(libGL\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
9837 fi ;;
9838 esac
9840 rm -f core conftest.err conftest.$ac_objext \
9841 conftest$ac_exeext conftest.$ac_ext
9842 LIBS=$ac_check_soname_save_LIBS
9844 if test "x$ac_cv_lib_soname_GL" = "x"; then :
9845 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
9846 $as_echo "not found" >&6; }
9847 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lGL" >&5
9848 $as_echo_n "checking for -lGL... " >&6; }
9849 if ${ac_cv_lib_soname_GL+:} false; then :
9850 $as_echo_n "(cached) " >&6
9851 else
9852 ac_check_soname_save_LIBS=$LIBS
9853 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"
9854 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9855 /* end confdefs.h. */
9857 /* Override any GCC internal prototype to avoid an error.
9858 Use char because int might match the return type of a GCC
9859 builtin and then its argument prototype would still apply. */
9860 #ifdef __cplusplus
9861 extern "C"
9862 #endif
9863 char glXCreateContext ();
9865 main ()
9867 return glXCreateContext ();
9869 return 0;
9871 _ACEOF
9872 if ac_fn_c_try_link "$LINENO"; then :
9873 case "$LIBEXT" in
9874 dll) ac_cv_lib_soname_GL=`$ac_cv_path_LDD conftest.exe | grep "GL" | sed -e "s/dll.*/dll/"';2,$d'` ;;
9875 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'` ;;
9876 *) ac_cv_lib_soname_GL=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libGL\\.$LIBEXT" | sed -e "s/^.*\\[\\(libGL\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
9877 if test "x$ac_cv_lib_soname_GL" = x; then :
9878 ac_cv_lib_soname_GL=`$LDD conftest$ac_exeext | grep "libGL\\.$LIBEXT" | sed -e "s/^.*\(libGL\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
9879 fi ;;
9880 esac
9882 rm -f core conftest.err conftest.$ac_objext \
9883 conftest$ac_exeext conftest.$ac_ext
9884 LIBS=$ac_check_soname_save_LIBS
9886 if test "x$ac_cv_lib_soname_GL" = "x"; then :
9887 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
9888 $as_echo "not found" >&6; }
9889 if test -f /usr/X11R6/lib/libGL.a
9890 then
9891 opengl_msg="/usr/X11R6/lib/libGL.a is present on your system.
9892 This probably prevents linking to OpenGL. Try deleting the file and restarting configure."
9893 else
9894 opengl_msg="No OpenGL library found on this system."
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="-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"
9906 else
9907 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_GL" >&5
9908 $as_echo "$ac_cv_lib_soname_GL" >&6; }
9910 cat >>confdefs.h <<_ACEOF
9911 #define SONAME_LIBGL "$ac_cv_lib_soname_GL"
9912 _ACEOF
9914 OPENGL_LIBS="-lGL"
9916 if test "x$with_glu" != "xno"
9917 then
9918 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for gluLookAt in -lGLU" >&5
9919 $as_echo_n "checking for gluLookAt in -lGLU... " >&6; }
9920 if ${ac_cv_lib_GLU_gluLookAt+:} false; then :
9921 $as_echo_n "(cached) " >&6
9922 else
9923 ac_check_lib_save_LIBS=$LIBS
9924 LIBS="-lGLU $OPENGL_LIBS $X_LIBS $XLIB -lm $X_EXTRA_LIBS $LIBS"
9925 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9926 /* end confdefs.h. */
9928 /* Override any GCC internal prototype to avoid an error.
9929 Use char because int might match the return type of a GCC
9930 builtin and then its argument prototype would still apply. */
9931 #ifdef __cplusplus
9932 extern "C"
9933 #endif
9934 char gluLookAt ();
9936 main ()
9938 return gluLookAt ();
9940 return 0;
9942 _ACEOF
9943 if ac_fn_c_try_link "$LINENO"; then :
9944 ac_cv_lib_GLU_gluLookAt=yes
9945 else
9946 ac_cv_lib_GLU_gluLookAt=no
9948 rm -f core conftest.err conftest.$ac_objext \
9949 conftest$ac_exeext conftest.$ac_ext
9950 LIBS=$ac_check_lib_save_LIBS
9952 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_GLU_gluLookAt" >&5
9953 $as_echo "$ac_cv_lib_GLU_gluLookAt" >&6; }
9954 if test "x$ac_cv_lib_GLU_gluLookAt" = xyes; then :
9958 if test "x$ac_cv_lib_GLU_gluLookAt" != xyes; then :
9959 case "x$with_glu" in
9960 x) as_fn_append wine_notices "|libGLU ${notice_platform}development files not found, GLU won't be supported." ;;
9961 xno) ;;
9962 *) as_fn_error $? "libGLU ${notice_platform}development files not found, GLU won't be supported.
9963 This is an error since --with-glu was requested." "$LINENO" 5 ;;
9964 esac
9968 if test "x$with_osmesa" != "xno"
9969 then
9970 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lOSMesa" >&5
9971 $as_echo_n "checking for -lOSMesa... " >&6; }
9972 if ${ac_cv_lib_soname_OSMesa+:} false; then :
9973 $as_echo_n "(cached) " >&6
9974 else
9975 ac_check_soname_save_LIBS=$LIBS
9976 LIBS="-lOSMesa $X_LIBS $XLIB -lm $X_EXTRA_LIBS $LIBS"
9977 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9978 /* end confdefs.h. */
9980 /* Override any GCC internal prototype to avoid an error.
9981 Use char because int might match the return type of a GCC
9982 builtin and then its argument prototype would still apply. */
9983 #ifdef __cplusplus
9984 extern "C"
9985 #endif
9986 char glAccum ();
9988 main ()
9990 return glAccum ();
9992 return 0;
9994 _ACEOF
9995 if ac_fn_c_try_link "$LINENO"; then :
9996 case "$LIBEXT" in
9997 dll) ac_cv_lib_soname_OSMesa=`$ac_cv_path_LDD conftest.exe | grep "OSMesa" | sed -e "s/dll.*/dll/"';2,$d'` ;;
9998 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'` ;;
9999 *) ac_cv_lib_soname_OSMesa=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libOSMesa\\.$LIBEXT" | sed -e "s/^.*\\[\\(libOSMesa\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
10000 if test "x$ac_cv_lib_soname_OSMesa" = x; then :
10001 ac_cv_lib_soname_OSMesa=`$LDD conftest$ac_exeext | grep "libOSMesa\\.$LIBEXT" | sed -e "s/^.*\(libOSMesa\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
10002 fi ;;
10003 esac
10005 rm -f core conftest.err conftest.$ac_objext \
10006 conftest$ac_exeext conftest.$ac_ext
10007 LIBS=$ac_check_soname_save_LIBS
10009 if test "x$ac_cv_lib_soname_OSMesa" = "x"; then :
10010 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
10011 $as_echo "not found" >&6; }
10013 else
10014 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_OSMesa" >&5
10015 $as_echo "$ac_cv_lib_soname_OSMesa" >&6; }
10017 cat >>confdefs.h <<_ACEOF
10018 #define SONAME_LIBOSMESA "$ac_cv_lib_soname_OSMesa"
10019 _ACEOF
10023 if test "x$ac_cv_lib_soname_OSMesa" = "x"; then :
10024 case "x$with_osmesa" in
10025 x) as_fn_append wine_notices "|libOSMesa ${notice_platform}development files not found (or too old), OpenGL rendering in bitmaps won't be supported." ;;
10026 xno) ;;
10027 *) as_fn_error $? "libOSMesa ${notice_platform}development files not found (or too old), OpenGL rendering in bitmaps won't be supported.
10028 This is an error since --with-osmesa was requested." "$LINENO" 5 ;;
10029 esac
10033 if test -n "$opengl_msg"; then :
10034 case "x$with_opengl" in
10035 x) as_fn_append wine_warnings "|$opengl_msg
10036 OpenGL and Direct3D won't be supported." ;;
10037 xno) ;;
10038 *) as_fn_error $? "$opengl_msg
10039 OpenGL and Direct3D won't be supported.
10040 This is an error since --with-opengl was requested." "$LINENO" 5 ;;
10041 esac
10044 CPPFLAGS="$ac_save_CPPFLAGS"
10045 else
10046 XLIB=""
10047 X_CFLAGS=""
10048 X_LIBS=""
10049 enable_winex11_drv=${enable_winex11_drv:-no}
10051 if test "x$XLIB" = "x"; then :
10052 case "x$with_x" in
10053 xno) ;;
10054 *) as_fn_error $? "X ${notice_platform}development files not found. Wine will be built
10055 without X support, which probably isn't what you want. You will need
10056 to install ${notice_platform}development packages of Xlib/Xfree86 at the very least.
10057 Use the --without-x option if you really want this." "$LINENO" 5 ;;
10058 esac
10061 test "x$ac_cv_lib_GLU_gluLookAt" != xyes && enable_glu32=${enable_glu32:-no}
10063 if test "$ac_cv_header_CL_cl_h" = "yes"
10064 then
10065 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for clGetPlatformInfo in -lOpenCL" >&5
10066 $as_echo_n "checking for clGetPlatformInfo in -lOpenCL... " >&6; }
10067 if ${ac_cv_lib_OpenCL_clGetPlatformInfo+:} false; then :
10068 $as_echo_n "(cached) " >&6
10069 else
10070 ac_check_lib_save_LIBS=$LIBS
10071 LIBS="-lOpenCL $LIBS"
10072 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10073 /* end confdefs.h. */
10075 /* Override any GCC internal prototype to avoid an error.
10076 Use char because int might match the return type of a GCC
10077 builtin and then its argument prototype would still apply. */
10078 #ifdef __cplusplus
10079 extern "C"
10080 #endif
10081 char clGetPlatformInfo ();
10083 main ()
10085 return clGetPlatformInfo ();
10087 return 0;
10089 _ACEOF
10090 if ac_fn_c_try_link "$LINENO"; then :
10091 ac_cv_lib_OpenCL_clGetPlatformInfo=yes
10092 else
10093 ac_cv_lib_OpenCL_clGetPlatformInfo=no
10095 rm -f core conftest.err conftest.$ac_objext \
10096 conftest$ac_exeext conftest.$ac_ext
10097 LIBS=$ac_check_lib_save_LIBS
10099 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_OpenCL_clGetPlatformInfo" >&5
10100 $as_echo "$ac_cv_lib_OpenCL_clGetPlatformInfo" >&6; }
10101 if test "x$ac_cv_lib_OpenCL_clGetPlatformInfo" = xyes; then :
10102 LIBOPENCL="-lOpenCL"
10107 if test "x$ac_cv_lib_OpenCL_clGetPlatformInfo" != xyes; then :
10108 case "x$with_opencl" in
10109 x) as_fn_append wine_notices "|OpenCL ${notice_platform}development files not found, OpenCL won't be supported." ;;
10110 xno) ;;
10111 *) as_fn_error $? "OpenCL ${notice_platform}development files not found, OpenCL won't be supported.
10112 This is an error since --with-opencl was requested." "$LINENO" 5 ;;
10113 esac
10115 test "x$ac_cv_lib_OpenCL_clGetPlatformInfo" != xyes && enable_opencl=${enable_opencl:-no}
10118 if test "x$with_xml" != "xno"
10119 then
10120 if test -n "$XML2_CFLAGS"; then :
10122 elif test -n "$PKG_CONFIG"; then :
10123 XML2_CFLAGS=`$PKG_CONFIG --cflags libxml-2.0 2>/dev/null`
10125 test "$cross_compiling" = yes || XML2_CFLAGS=${XML2_CFLAGS:-`xml2-config --cflags 2>/dev/null`}
10126 if test -n "$XML2_LIBS"; then :
10128 elif test -n "$PKG_CONFIG"; then :
10129 XML2_LIBS=`$PKG_CONFIG --libs libxml-2.0 2>/dev/null`
10131 test "$cross_compiling" = yes || XML2_LIBS=${XML2_LIBS:-`xml2-config --libs 2>/dev/null`}
10132 XML2_LIBS=${XML2_LIBS:-"-lxml2"}
10133 ac_save_CPPFLAGS=$CPPFLAGS
10134 CPPFLAGS="$CPPFLAGS $XML2_CFLAGS"
10135 for ac_header in libxml/parser.h libxml/xmlsave.h libxml/SAX2.h
10136 do :
10137 as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
10138 ac_fn_c_check_header_mongrel "$LINENO" "$ac_header" "$as_ac_Header" "$ac_includes_default"
10139 if eval test \"x\$"$as_ac_Header"\" = x"yes"; then :
10140 cat >>confdefs.h <<_ACEOF
10141 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
10142 _ACEOF
10146 done
10148 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"
10149 then
10150 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for xmlParseMemory in -lxml2" >&5
10151 $as_echo_n "checking for xmlParseMemory in -lxml2... " >&6; }
10152 if ${ac_cv_lib_xml2_xmlParseMemory+:} false; then :
10153 $as_echo_n "(cached) " >&6
10154 else
10155 ac_check_lib_save_LIBS=$LIBS
10156 LIBS="-lxml2 $XML2_LIBS $LIBS"
10157 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10158 /* end confdefs.h. */
10160 /* Override any GCC internal prototype to avoid an error.
10161 Use char because int might match the return type of a GCC
10162 builtin and then its argument prototype would still apply. */
10163 #ifdef __cplusplus
10164 extern "C"
10165 #endif
10166 char xmlParseMemory ();
10168 main ()
10170 return xmlParseMemory ();
10172 return 0;
10174 _ACEOF
10175 if ac_fn_c_try_link "$LINENO"; then :
10176 ac_cv_lib_xml2_xmlParseMemory=yes
10177 else
10178 ac_cv_lib_xml2_xmlParseMemory=no
10180 rm -f core conftest.err conftest.$ac_objext \
10181 conftest$ac_exeext conftest.$ac_ext
10182 LIBS=$ac_check_lib_save_LIBS
10184 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_xml2_xmlParseMemory" >&5
10185 $as_echo "$ac_cv_lib_xml2_xmlParseMemory" >&6; }
10186 if test "x$ac_cv_lib_xml2_xmlParseMemory" = xyes; then :
10188 $as_echo "#define HAVE_LIBXML2 1" >>confdefs.h
10190 else
10191 XML2_LIBS=""
10194 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for xmlReadMemory in -lxml2" >&5
10195 $as_echo_n "checking for xmlReadMemory in -lxml2... " >&6; }
10196 if ${ac_cv_lib_xml2_xmlReadMemory+:} false; then :
10197 $as_echo_n "(cached) " >&6
10198 else
10199 ac_check_lib_save_LIBS=$LIBS
10200 LIBS="-lxml2 $XML2_LIBS $LIBS"
10201 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10202 /* end confdefs.h. */
10204 /* Override any GCC internal prototype to avoid an error.
10205 Use char because int might match the return type of a GCC
10206 builtin and then its argument prototype would still apply. */
10207 #ifdef __cplusplus
10208 extern "C"
10209 #endif
10210 char xmlReadMemory ();
10212 main ()
10214 return xmlReadMemory ();
10216 return 0;
10218 _ACEOF
10219 if ac_fn_c_try_link "$LINENO"; then :
10220 ac_cv_lib_xml2_xmlReadMemory=yes
10221 else
10222 ac_cv_lib_xml2_xmlReadMemory=no
10224 rm -f core conftest.err conftest.$ac_objext \
10225 conftest$ac_exeext conftest.$ac_ext
10226 LIBS=$ac_check_lib_save_LIBS
10228 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_xml2_xmlReadMemory" >&5
10229 $as_echo "$ac_cv_lib_xml2_xmlReadMemory" >&6; }
10230 if test "x$ac_cv_lib_xml2_xmlReadMemory" = xyes; then :
10232 $as_echo "#define HAVE_XMLREADMEMORY 1" >>confdefs.h
10236 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for xmlNewDocPI in -lxml2" >&5
10237 $as_echo_n "checking for xmlNewDocPI in -lxml2... " >&6; }
10238 if ${ac_cv_lib_xml2_xmlNewDocPI+:} false; then :
10239 $as_echo_n "(cached) " >&6
10240 else
10241 ac_check_lib_save_LIBS=$LIBS
10242 LIBS="-lxml2 $XML2_LIBS $LIBS"
10243 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10244 /* end confdefs.h. */
10246 /* Override any GCC internal prototype to avoid an error.
10247 Use char because int might match the return type of a GCC
10248 builtin and then its argument prototype would still apply. */
10249 #ifdef __cplusplus
10250 extern "C"
10251 #endif
10252 char xmlNewDocPI ();
10254 main ()
10256 return xmlNewDocPI ();
10258 return 0;
10260 _ACEOF
10261 if ac_fn_c_try_link "$LINENO"; then :
10262 ac_cv_lib_xml2_xmlNewDocPI=yes
10263 else
10264 ac_cv_lib_xml2_xmlNewDocPI=no
10266 rm -f core conftest.err conftest.$ac_objext \
10267 conftest$ac_exeext conftest.$ac_ext
10268 LIBS=$ac_check_lib_save_LIBS
10270 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_xml2_xmlNewDocPI" >&5
10271 $as_echo "$ac_cv_lib_xml2_xmlNewDocPI" >&6; }
10272 if test "x$ac_cv_lib_xml2_xmlNewDocPI" = xyes; then :
10274 $as_echo "#define HAVE_XMLNEWDOCPI 1" >>confdefs.h
10278 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for xmlSchemaSetParserStructuredErrors in -lxml2" >&5
10279 $as_echo_n "checking for xmlSchemaSetParserStructuredErrors in -lxml2... " >&6; }
10280 if ${ac_cv_lib_xml2_xmlSchemaSetParserStructuredErrors+:} false; then :
10281 $as_echo_n "(cached) " >&6
10282 else
10283 ac_check_lib_save_LIBS=$LIBS
10284 LIBS="-lxml2 $XML2_LIBS $LIBS"
10285 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10286 /* end confdefs.h. */
10288 /* Override any GCC internal prototype to avoid an error.
10289 Use char because int might match the return type of a GCC
10290 builtin and then its argument prototype would still apply. */
10291 #ifdef __cplusplus
10292 extern "C"
10293 #endif
10294 char xmlSchemaSetParserStructuredErrors ();
10296 main ()
10298 return xmlSchemaSetParserStructuredErrors ();
10300 return 0;
10302 _ACEOF
10303 if ac_fn_c_try_link "$LINENO"; then :
10304 ac_cv_lib_xml2_xmlSchemaSetParserStructuredErrors=yes
10305 else
10306 ac_cv_lib_xml2_xmlSchemaSetParserStructuredErrors=no
10308 rm -f core conftest.err conftest.$ac_objext \
10309 conftest$ac_exeext conftest.$ac_ext
10310 LIBS=$ac_check_lib_save_LIBS
10312 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_xml2_xmlSchemaSetParserStructuredErrors" >&5
10313 $as_echo "$ac_cv_lib_xml2_xmlSchemaSetParserStructuredErrors" >&6; }
10314 if test "x$ac_cv_lib_xml2_xmlSchemaSetParserStructuredErrors" = xyes; then :
10316 $as_echo "#define HAVE_XMLSCHEMASSETPARSERSTRUCTUREDERRORS 1" >>confdefs.h
10320 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for xmlSchemaSetValidStructuredErrors in -lxml2" >&5
10321 $as_echo_n "checking for xmlSchemaSetValidStructuredErrors in -lxml2... " >&6; }
10322 if ${ac_cv_lib_xml2_xmlSchemaSetValidStructuredErrors+:} false; then :
10323 $as_echo_n "(cached) " >&6
10324 else
10325 ac_check_lib_save_LIBS=$LIBS
10326 LIBS="-lxml2 $XML2_LIBS $LIBS"
10327 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10328 /* end confdefs.h. */
10330 /* Override any GCC internal prototype to avoid an error.
10331 Use char because int might match the return type of a GCC
10332 builtin and then its argument prototype would still apply. */
10333 #ifdef __cplusplus
10334 extern "C"
10335 #endif
10336 char xmlSchemaSetValidStructuredErrors ();
10338 main ()
10340 return xmlSchemaSetValidStructuredErrors ();
10342 return 0;
10344 _ACEOF
10345 if ac_fn_c_try_link "$LINENO"; then :
10346 ac_cv_lib_xml2_xmlSchemaSetValidStructuredErrors=yes
10347 else
10348 ac_cv_lib_xml2_xmlSchemaSetValidStructuredErrors=no
10350 rm -f core conftest.err conftest.$ac_objext \
10351 conftest$ac_exeext conftest.$ac_ext
10352 LIBS=$ac_check_lib_save_LIBS
10354 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_xml2_xmlSchemaSetValidStructuredErrors" >&5
10355 $as_echo "$ac_cv_lib_xml2_xmlSchemaSetValidStructuredErrors" >&6; }
10356 if test "x$ac_cv_lib_xml2_xmlSchemaSetValidStructuredErrors" = xyes; then :
10358 $as_echo "#define HAVE_XMLSCHEMASSETVALIDSTRUCTUREDERRORS 1" >>confdefs.h
10362 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for xmlFirstElementChild in -lxml2" >&5
10363 $as_echo_n "checking for xmlFirstElementChild in -lxml2... " >&6; }
10364 if ${ac_cv_lib_xml2_xmlFirstElementChild+:} false; then :
10365 $as_echo_n "(cached) " >&6
10366 else
10367 ac_check_lib_save_LIBS=$LIBS
10368 LIBS="-lxml2 $XML2_LIBS $LIBS"
10369 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10370 /* end confdefs.h. */
10372 /* Override any GCC internal prototype to avoid an error.
10373 Use char because int might match the return type of a GCC
10374 builtin and then its argument prototype would still apply. */
10375 #ifdef __cplusplus
10376 extern "C"
10377 #endif
10378 char xmlFirstElementChild ();
10380 main ()
10382 return xmlFirstElementChild ();
10384 return 0;
10386 _ACEOF
10387 if ac_fn_c_try_link "$LINENO"; then :
10388 ac_cv_lib_xml2_xmlFirstElementChild=yes
10389 else
10390 ac_cv_lib_xml2_xmlFirstElementChild=no
10392 rm -f core conftest.err conftest.$ac_objext \
10393 conftest$ac_exeext conftest.$ac_ext
10394 LIBS=$ac_check_lib_save_LIBS
10396 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_xml2_xmlFirstElementChild" >&5
10397 $as_echo "$ac_cv_lib_xml2_xmlFirstElementChild" >&6; }
10398 if test "x$ac_cv_lib_xml2_xmlFirstElementChild" = xyes; then :
10400 $as_echo "#define HAVE_XMLFIRSTELEMENTCHILD 1" >>confdefs.h
10404 ac_fn_c_check_type "$LINENO" "xmlDocProperties" "ac_cv_type_xmlDocProperties" "#include <libxml/tree.h>
10406 if test "x$ac_cv_type_xmlDocProperties" = xyes; then :
10408 $as_echo "#define HAVE_XMLDOC_PROPERTIES 1" >>confdefs.h
10412 else
10413 XML2_CFLAGS=""
10414 XML2_LIBS=""
10416 CPPFLAGS=$ac_save_CPPFLAGS
10417 test -z "$XML2_CFLAGS" || XML2_CFLAGS=`echo " $XML2_CFLAGS" | sed 's/ -I\([^/]\)/ -I\$(top_builddir)\/\1/g'`
10418 test -z "$XML2_LIBS" || XML2_LIBS=`echo " $XML2_LIBS" | sed 's/ -L\([^/]\)/ -L\$(top_builddir)\/\1/g'`
10421 if test "$ac_cv_lib_xml2_xmlParseMemory" != "yes"; then :
10422 case "x$with_xml" in
10423 x) as_fn_append wine_warnings "|libxml2 ${notice_platform}development files not found (or too old), XML won't be supported." ;;
10424 xno) ;;
10425 *) as_fn_error $? "libxml2 ${notice_platform}development files not found (or too old), XML won't be supported.
10426 This is an error since --with-xml was requested." "$LINENO" 5 ;;
10427 esac
10430 if test "x$with_xslt" != "xno"
10431 then
10432 if test -n "$XSLT_CFLAGS"; then :
10434 elif test -n "$PKG_CONFIG"; then :
10435 XSLT_CFLAGS=`$PKG_CONFIG --cflags libxslt 2>/dev/null`
10437 test "$cross_compiling" = yes || XSLT_CFLAGS=${XSLT_CFLAGS:-`xslt-config --cflags 2>/dev/null`}
10438 if test -n "$XSLT_LIBS"; then :
10440 elif test -n "$PKG_CONFIG"; then :
10441 XSLT_LIBS=`$PKG_CONFIG --libs libxslt 2>/dev/null`
10443 test "$cross_compiling" = yes || XSLT_LIBS=${XSLT_LIBS:-`xslt-config --libs 2>/dev/null`}
10444 XSLT_LIBS=${XSLT_LIBS:-"-lxml2"}
10445 ac_save_CPPFLAGS=$CPPFLAGS
10446 CPPFLAGS="$CPPFLAGS $XSLT_CFLAGS"
10447 for ac_header in libxslt/pattern.h libxslt/transform.h
10448 do :
10449 as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
10450 ac_fn_c_check_header_compile "$LINENO" "$ac_header" "$as_ac_Header" "#ifdef HAVE_LIBXSLT_PATTERN_H
10451 # include <libxslt/pattern.h>
10452 #endif
10454 if eval test \"x\$"$as_ac_Header"\" = x"yes"; then :
10455 cat >>confdefs.h <<_ACEOF
10456 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
10457 _ACEOF
10461 done
10463 if test "$ac_cv_header_libxslt_transform_h" = "yes"
10464 then
10465 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lxslt" >&5
10466 $as_echo_n "checking for -lxslt... " >&6; }
10467 if ${ac_cv_lib_soname_xslt+:} false; then :
10468 $as_echo_n "(cached) " >&6
10469 else
10470 ac_check_soname_save_LIBS=$LIBS
10471 LIBS="-lxslt $XSLT_LIBS $LIBS"
10472 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10473 /* end confdefs.h. */
10475 /* Override any GCC internal prototype to avoid an error.
10476 Use char because int might match the return type of a GCC
10477 builtin and then its argument prototype would still apply. */
10478 #ifdef __cplusplus
10479 extern "C"
10480 #endif
10481 char xsltCompilePattern ();
10483 main ()
10485 return xsltCompilePattern ();
10487 return 0;
10489 _ACEOF
10490 if ac_fn_c_try_link "$LINENO"; then :
10491 case "$LIBEXT" in
10492 dll) ac_cv_lib_soname_xslt=`$ac_cv_path_LDD conftest.exe | grep "xslt" | sed -e "s/dll.*/dll/"';2,$d'` ;;
10493 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'` ;;
10494 *) ac_cv_lib_soname_xslt=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libxslt\\.$LIBEXT" | sed -e "s/^.*\\[\\(libxslt\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
10495 if test "x$ac_cv_lib_soname_xslt" = x; then :
10496 ac_cv_lib_soname_xslt=`$LDD conftest$ac_exeext | grep "libxslt\\.$LIBEXT" | sed -e "s/^.*\(libxslt\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
10497 fi ;;
10498 esac
10500 rm -f core conftest.err conftest.$ac_objext \
10501 conftest$ac_exeext conftest.$ac_ext
10502 LIBS=$ac_check_soname_save_LIBS
10504 if test "x$ac_cv_lib_soname_xslt" = "x"; then :
10505 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
10506 $as_echo "not found" >&6; }
10508 else
10509 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_xslt" >&5
10510 $as_echo "$ac_cv_lib_soname_xslt" >&6; }
10512 cat >>confdefs.h <<_ACEOF
10513 #define SONAME_LIBXSLT "$ac_cv_lib_soname_xslt"
10514 _ACEOF
10518 else
10519 XSLT_CFLAGS=""
10521 CPPFLAGS=$ac_save_CPPFLAGS
10522 test -z "$XSLT_CFLAGS" || XSLT_CFLAGS=`echo " $XSLT_CFLAGS" | sed 's/ -I\([^/]\)/ -I\$(top_builddir)\/\1/g'`
10523 test -z "$XSLT_LIBS" || XSLT_LIBS=`echo " $XSLT_LIBS" | sed 's/ -L\([^/]\)/ -L\$(top_builddir)\/\1/g'`
10526 if test "x$ac_cv_lib_soname_xslt" = "x"; then :
10527 case "x$with_xslt" in
10528 x) as_fn_append wine_warnings "|libxslt ${notice_platform}development files not found, xslt won't be supported." ;;
10529 xno) ;;
10530 *) as_fn_error $? "libxslt ${notice_platform}development files not found, xslt won't be supported.
10531 This is an error since --with-xslt was requested." "$LINENO" 5 ;;
10532 esac
10535 if test "x$with_dbus" != "xno"
10536 then
10537 if test -n "$DBUS_CFLAGS"; then :
10539 elif test -n "$PKG_CONFIG"; then :
10540 DBUS_CFLAGS=`$PKG_CONFIG --cflags dbus-1 2>/dev/null`
10543 if test -n "$DBUS_LIBS"; then :
10545 elif test -n "$PKG_CONFIG"; then :
10546 DBUS_LIBS=`$PKG_CONFIG --libs dbus-1 2>/dev/null`
10550 ac_save_CPPFLAGS=$CPPFLAGS
10551 CPPFLAGS="$CPPFLAGS $DBUS_CFLAGS"
10552 ac_fn_c_check_header_mongrel "$LINENO" "dbus/dbus.h" "ac_cv_header_dbus_dbus_h" "$ac_includes_default"
10553 if test "x$ac_cv_header_dbus_dbus_h" = xyes; then :
10554 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -ldbus-1" >&5
10555 $as_echo_n "checking for -ldbus-1... " >&6; }
10556 if ${ac_cv_lib_soname_dbus_1+:} false; then :
10557 $as_echo_n "(cached) " >&6
10558 else
10559 ac_check_soname_save_LIBS=$LIBS
10560 LIBS="-ldbus-1 $DBUS_LIBS $LIBS"
10561 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10562 /* end confdefs.h. */
10564 /* Override any GCC internal prototype to avoid an error.
10565 Use char because int might match the return type of a GCC
10566 builtin and then its argument prototype would still apply. */
10567 #ifdef __cplusplus
10568 extern "C"
10569 #endif
10570 char dbus_connection_close ();
10572 main ()
10574 return dbus_connection_close ();
10576 return 0;
10578 _ACEOF
10579 if ac_fn_c_try_link "$LINENO"; then :
10580 case "$LIBEXT" in
10581 dll) ac_cv_lib_soname_dbus_1=`$ac_cv_path_LDD conftest.exe | grep "dbus-1" | sed -e "s/dll.*/dll/"';2,$d'` ;;
10582 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'` ;;
10583 *) 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'`
10584 if test "x$ac_cv_lib_soname_dbus_1" = x; then :
10585 ac_cv_lib_soname_dbus_1=`$LDD conftest$ac_exeext | grep "libdbus-1\\.$LIBEXT" | sed -e "s/^.*\(libdbus-1\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
10586 fi ;;
10587 esac
10589 rm -f core conftest.err conftest.$ac_objext \
10590 conftest$ac_exeext conftest.$ac_ext
10591 LIBS=$ac_check_soname_save_LIBS
10593 if test "x$ac_cv_lib_soname_dbus_1" = "x"; then :
10594 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
10595 $as_echo "not found" >&6; }
10596 DBUS_CFLAGS=""
10597 else
10598 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_dbus_1" >&5
10599 $as_echo "$ac_cv_lib_soname_dbus_1" >&6; }
10601 cat >>confdefs.h <<_ACEOF
10602 #define SONAME_LIBDBUS_1 "$ac_cv_lib_soname_dbus_1"
10603 _ACEOF
10607 else
10608 DBUS_CFLAGS=""
10612 CPPFLAGS=$ac_save_CPPFLAGS
10613 test -z "$DBUS_CFLAGS" || DBUS_CFLAGS=`echo " $DBUS_CFLAGS" | sed 's/ -I\([^/]\)/ -I\$(top_builddir)\/\1/g'`
10614 test -z "$DBUS_LIBS" || DBUS_LIBS=`echo " $DBUS_LIBS" | sed 's/ -L\([^/]\)/ -L\$(top_builddir)\/\1/g'`
10617 if test "x$ac_cv_lib_soname_dbus_1" = "x" -a \
10618 "x$ac_cv_header_DiskArbitration_DiskArbitration_h" != "xyes"; then :
10619 case "x$with_dbus" in
10620 x) as_fn_append wine_notices "|libdbus ${notice_platform}development files not found, no dynamic device support." ;;
10621 xno) ;;
10622 *) as_fn_error $? "libdbus ${notice_platform}development files not found, no dynamic device support.
10623 This is an error since --with-dbus was requested." "$LINENO" 5 ;;
10624 esac
10627 if test "x$with_hal" != "xno" -a "x$ac_cv_lib_soname_dbus_1" != x
10628 then
10629 if test -n "$HAL_CFLAGS"; then :
10631 elif test -n "$PKG_CONFIG"; then :
10632 HAL_CFLAGS=`$PKG_CONFIG --cflags hal 2>/dev/null`
10635 if test -n "$HAL_LIBS"; then :
10637 elif test -n "$PKG_CONFIG"; then :
10638 HAL_LIBS=`$PKG_CONFIG --libs hal 2>/dev/null`
10641 HAL_LIBS=${HAL_LIBS:-"-ldbus-1"}
10642 ac_save_CPPFLAGS=$CPPFLAGS
10643 CPPFLAGS="$CPPFLAGS $HAL_CFLAGS"
10644 ac_fn_c_check_header_mongrel "$LINENO" "hal/libhal.h" "ac_cv_header_hal_libhal_h" "$ac_includes_default"
10645 if test "x$ac_cv_header_hal_libhal_h" = xyes; then :
10646 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lhal" >&5
10647 $as_echo_n "checking for -lhal... " >&6; }
10648 if ${ac_cv_lib_soname_hal+:} false; then :
10649 $as_echo_n "(cached) " >&6
10650 else
10651 ac_check_soname_save_LIBS=$LIBS
10652 LIBS="-lhal $HAL_LIBS $LIBS"
10653 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10654 /* end confdefs.h. */
10656 /* Override any GCC internal prototype to avoid an error.
10657 Use char because int might match the return type of a GCC
10658 builtin and then its argument prototype would still apply. */
10659 #ifdef __cplusplus
10660 extern "C"
10661 #endif
10662 char libhal_ctx_new ();
10664 main ()
10666 return libhal_ctx_new ();
10668 return 0;
10670 _ACEOF
10671 if ac_fn_c_try_link "$LINENO"; then :
10672 case "$LIBEXT" in
10673 dll) ac_cv_lib_soname_hal=`$ac_cv_path_LDD conftest.exe | grep "hal" | sed -e "s/dll.*/dll/"';2,$d'` ;;
10674 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'` ;;
10675 *) ac_cv_lib_soname_hal=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libhal\\.$LIBEXT" | sed -e "s/^.*\\[\\(libhal\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
10676 if test "x$ac_cv_lib_soname_hal" = x; then :
10677 ac_cv_lib_soname_hal=`$LDD conftest$ac_exeext | grep "libhal\\.$LIBEXT" | sed -e "s/^.*\(libhal\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
10678 fi ;;
10679 esac
10681 rm -f core conftest.err conftest.$ac_objext \
10682 conftest$ac_exeext conftest.$ac_ext
10683 LIBS=$ac_check_soname_save_LIBS
10685 if test "x$ac_cv_lib_soname_hal" = "x"; then :
10686 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
10687 $as_echo "not found" >&6; }
10688 HAL_CFLAGS=""
10689 else
10690 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_hal" >&5
10691 $as_echo "$ac_cv_lib_soname_hal" >&6; }
10693 cat >>confdefs.h <<_ACEOF
10694 #define SONAME_LIBHAL "$ac_cv_lib_soname_hal"
10695 _ACEOF
10699 else
10700 HAL_CFLAGS=""
10704 CPPFLAGS=$ac_save_CPPFLAGS
10705 test -z "$HAL_CFLAGS" || HAL_CFLAGS=`echo " $HAL_CFLAGS" | sed 's/ -I\([^/]\)/ -I\$(top_builddir)\/\1/g'`
10706 test -z "$HAL_LIBS" || HAL_LIBS=`echo " $HAL_LIBS" | sed 's/ -L\([^/]\)/ -L\$(top_builddir)\/\1/g'`
10708 if test "x$ac_cv_lib_soname_hal" = "x" -a \
10709 "x$ac_cv_header_DiskArbitration_DiskArbitration_h" != "xyes"; then :
10710 case "x$with_hal" in
10711 x) as_fn_append wine_notices "|libhal ${notice_platform}development files not found, no legacy dynamic device support." ;;
10712 xno) ;;
10713 *) as_fn_error $? "libhal ${notice_platform}development files not found, no legacy dynamic device support.
10714 This is an error since --with-hal was requested." "$LINENO" 5 ;;
10715 esac
10719 if test "x$with_gnutls" != "xno"
10720 then
10721 if test -n "$GNUTLS_CFLAGS"; then :
10723 elif test -n "$PKG_CONFIG"; then :
10724 GNUTLS_CFLAGS=`$PKG_CONFIG --cflags gnutls 2>/dev/null`
10727 if test -n "$GNUTLS_LIBS"; then :
10729 elif test -n "$PKG_CONFIG"; then :
10730 GNUTLS_LIBS=`$PKG_CONFIG --libs gnutls 2>/dev/null`
10734 ac_save_CPPFLAGS=$CPPFLAGS
10735 CPPFLAGS="$CPPFLAGS $GNUTLS_CFLAGS"
10736 ac_fn_c_check_header_mongrel "$LINENO" "gnutls/gnutls.h" "ac_cv_header_gnutls_gnutls_h" "$ac_includes_default"
10737 if test "x$ac_cv_header_gnutls_gnutls_h" = xyes; then :
10738 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10739 /* end confdefs.h. */
10740 #include <gnutls/gnutls.h>
10741 #include <gnutls/crypto.h>
10743 main ()
10745 static typeof(gnutls_mac_get_key_size) *func; if (func) return 0;
10747 return 0;
10749 _ACEOF
10750 if ac_fn_c_try_compile "$LINENO"; then :
10751 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lgnutls" >&5
10752 $as_echo_n "checking for -lgnutls... " >&6; }
10753 if ${ac_cv_lib_soname_gnutls+:} false; then :
10754 $as_echo_n "(cached) " >&6
10755 else
10756 ac_check_soname_save_LIBS=$LIBS
10757 LIBS="-lgnutls $GNUTLS_LIBS $LIBS"
10758 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10759 /* end confdefs.h. */
10761 /* Override any GCC internal prototype to avoid an error.
10762 Use char because int might match the return type of a GCC
10763 builtin and then its argument prototype would still apply. */
10764 #ifdef __cplusplus
10765 extern "C"
10766 #endif
10767 char gnutls_global_init ();
10769 main ()
10771 return gnutls_global_init ();
10773 return 0;
10775 _ACEOF
10776 if ac_fn_c_try_link "$LINENO"; then :
10777 case "$LIBEXT" in
10778 dll) ac_cv_lib_soname_gnutls=`$ac_cv_path_LDD conftest.exe | grep "gnutls" | sed -e "s/dll.*/dll/"';2,$d'` ;;
10779 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'` ;;
10780 *) ac_cv_lib_soname_gnutls=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libgnutls\\.$LIBEXT" | sed -e "s/^.*\\[\\(libgnutls\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
10781 if test "x$ac_cv_lib_soname_gnutls" = x; then :
10782 ac_cv_lib_soname_gnutls=`$LDD conftest$ac_exeext | grep "libgnutls\\.$LIBEXT" | sed -e "s/^.*\(libgnutls\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
10783 fi ;;
10784 esac
10786 rm -f core conftest.err conftest.$ac_objext \
10787 conftest$ac_exeext conftest.$ac_ext
10788 LIBS=$ac_check_soname_save_LIBS
10790 if test "x$ac_cv_lib_soname_gnutls" = "x"; then :
10791 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
10792 $as_echo "not found" >&6; }
10793 GNUTLS_CFLAGS=""
10794 else
10795 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_gnutls" >&5
10796 $as_echo "$ac_cv_lib_soname_gnutls" >&6; }
10798 cat >>confdefs.h <<_ACEOF
10799 #define SONAME_LIBGNUTLS "$ac_cv_lib_soname_gnutls"
10800 _ACEOF
10805 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
10806 else
10807 GNUTLS_CFLAGS=""
10811 CPPFLAGS=$ac_save_CPPFLAGS
10812 test -z "$GNUTLS_CFLAGS" || GNUTLS_CFLAGS=`echo " $GNUTLS_CFLAGS" | sed 's/ -I\([^/]\)/ -I\$(top_builddir)\/\1/g'`
10813 test -z "$GNUTLS_LIBS" || GNUTLS_LIBS=`echo " $GNUTLS_LIBS" | sed 's/ -L\([^/]\)/ -L\$(top_builddir)\/\1/g'`
10816 if test "x$ac_cv_lib_soname_gnutls" = "x"; then :
10817 case "x$with_gnutls" in
10818 x) as_fn_append wine_notices "|libgnutls ${notice_platform}development files not found, no schannel support." ;;
10819 xno) ;;
10820 *) as_fn_error $? "libgnutls ${notice_platform}development files not found, no schannel support.
10821 This is an error since --with-gnutls was requested." "$LINENO" 5 ;;
10822 esac
10825 CURSESLIBS=""
10826 if test "$ac_cv_header_ncurses_h" = "yes"
10827 then
10828 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lncurses" >&5
10829 $as_echo_n "checking for -lncurses... " >&6; }
10830 if ${ac_cv_lib_soname_ncurses+:} false; then :
10831 $as_echo_n "(cached) " >&6
10832 else
10833 ac_check_soname_save_LIBS=$LIBS
10834 LIBS="-lncurses $LIBS"
10835 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10836 /* end confdefs.h. */
10838 /* Override any GCC internal prototype to avoid an error.
10839 Use char because int might match the return type of a GCC
10840 builtin and then its argument prototype would still apply. */
10841 #ifdef __cplusplus
10842 extern "C"
10843 #endif
10844 char waddch ();
10846 main ()
10848 return waddch ();
10850 return 0;
10852 _ACEOF
10853 if ac_fn_c_try_link "$LINENO"; then :
10854 case "$LIBEXT" in
10855 dll) ac_cv_lib_soname_ncurses=`$ac_cv_path_LDD conftest.exe | grep "ncurses" | sed -e "s/dll.*/dll/"';2,$d'` ;;
10856 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'` ;;
10857 *) ac_cv_lib_soname_ncurses=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libncurses\\.$LIBEXT" | sed -e "s/^.*\\[\\(libncurses\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
10858 if test "x$ac_cv_lib_soname_ncurses" = x; then :
10859 ac_cv_lib_soname_ncurses=`$LDD conftest$ac_exeext | grep "libncurses\\.$LIBEXT" | sed -e "s/^.*\(libncurses\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
10860 fi ;;
10861 esac
10863 rm -f core conftest.err conftest.$ac_objext \
10864 conftest$ac_exeext conftest.$ac_ext
10865 LIBS=$ac_check_soname_save_LIBS
10867 if test "x$ac_cv_lib_soname_ncurses" = "x"; then :
10868 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
10869 $as_echo "not found" >&6; }
10871 else
10872 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_ncurses" >&5
10873 $as_echo "$ac_cv_lib_soname_ncurses" >&6; }
10875 cat >>confdefs.h <<_ACEOF
10876 #define SONAME_LIBNCURSES "$ac_cv_lib_soname_ncurses"
10877 _ACEOF
10879 CURSESLIBS="-lncurses"
10881 elif test "$ac_cv_header_curses_h" = "yes"
10882 then
10883 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lcurses" >&5
10884 $as_echo_n "checking for -lcurses... " >&6; }
10885 if ${ac_cv_lib_soname_curses+:} false; then :
10886 $as_echo_n "(cached) " >&6
10887 else
10888 ac_check_soname_save_LIBS=$LIBS
10889 LIBS="-lcurses $LIBS"
10890 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10891 /* end confdefs.h. */
10893 /* Override any GCC internal prototype to avoid an error.
10894 Use char because int might match the return type of a GCC
10895 builtin and then its argument prototype would still apply. */
10896 #ifdef __cplusplus
10897 extern "C"
10898 #endif
10899 char waddch ();
10901 main ()
10903 return waddch ();
10905 return 0;
10907 _ACEOF
10908 if ac_fn_c_try_link "$LINENO"; then :
10909 case "$LIBEXT" in
10910 dll) ac_cv_lib_soname_curses=`$ac_cv_path_LDD conftest.exe | grep "curses" | sed -e "s/dll.*/dll/"';2,$d'` ;;
10911 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'` ;;
10912 *) ac_cv_lib_soname_curses=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libcurses\\.$LIBEXT" | sed -e "s/^.*\\[\\(libcurses\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
10913 if test "x$ac_cv_lib_soname_curses" = x; then :
10914 ac_cv_lib_soname_curses=`$LDD conftest$ac_exeext | grep "libcurses\\.$LIBEXT" | sed -e "s/^.*\(libcurses\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
10915 fi ;;
10916 esac
10918 rm -f core conftest.err conftest.$ac_objext \
10919 conftest$ac_exeext conftest.$ac_ext
10920 LIBS=$ac_check_soname_save_LIBS
10922 if test "x$ac_cv_lib_soname_curses" = "x"; then :
10923 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
10924 $as_echo "not found" >&6; }
10926 else
10927 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_curses" >&5
10928 $as_echo "$ac_cv_lib_soname_curses" >&6; }
10930 cat >>confdefs.h <<_ACEOF
10931 #define SONAME_LIBCURSES "$ac_cv_lib_soname_curses"
10932 _ACEOF
10934 CURSESLIBS="-lcurses"
10937 ac_save_LIBS="$LIBS"
10938 LIBS="$LIBS $CURSESLIBS"
10939 for ac_func in mousemask
10940 do :
10941 ac_fn_c_check_func "$LINENO" "mousemask" "ac_cv_func_mousemask"
10942 if test "x$ac_cv_func_mousemask" = xyes; then :
10943 cat >>confdefs.h <<_ACEOF
10944 #define HAVE_MOUSEMASK 1
10945 _ACEOF
10948 done
10950 LIBS="$ac_save_LIBS"
10951 if test "x$ac_cv_lib_soname_curses$ac_cv_lib_soname_ncurses" = "x"; then :
10952 case "x$with_curses" in
10953 x) as_fn_append wine_notices "|lib(n)curses ${notice_platform}development files not found, curses won't be supported." ;;
10954 xno) ;;
10955 *) as_fn_error $? "lib(n)curses ${notice_platform}development files not found, curses won't be supported.
10956 This is an error since --with-curses was requested." "$LINENO" 5 ;;
10957 esac
10960 if test "x$with_sane" != "xno"
10961 then
10962 if test -n "$SANE_CFLAGS"; then :
10964 elif test -n "$PKG_CONFIG"; then :
10965 SANE_CFLAGS=`$PKG_CONFIG --cflags libsane 2>/dev/null`
10967 test "$cross_compiling" = yes || SANE_CFLAGS=${SANE_CFLAGS:-`sane-config --cflags 2>/dev/null`}
10968 if test -n "$SANE_LIBS"; then :
10970 elif test -n "$PKG_CONFIG"; then :
10971 SANE_LIBS=`$PKG_CONFIG --libs libsane 2>/dev/null`
10973 test "$cross_compiling" = yes || SANE_LIBS=${SANE_LIBS:-`sane-config --ldflags 2>/dev/null`}
10975 ac_save_CPPFLAGS=$CPPFLAGS
10976 CPPFLAGS="$CPPFLAGS $SANE_CFLAGS"
10977 ac_fn_c_check_header_mongrel "$LINENO" "sane/sane.h" "ac_cv_header_sane_sane_h" "$ac_includes_default"
10978 if test "x$ac_cv_header_sane_sane_h" = xyes; then :
10979 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lsane" >&5
10980 $as_echo_n "checking for -lsane... " >&6; }
10981 if ${ac_cv_lib_soname_sane+:} false; then :
10982 $as_echo_n "(cached) " >&6
10983 else
10984 ac_check_soname_save_LIBS=$LIBS
10985 LIBS="-lsane $SANE_LIBS $LIBS"
10986 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10987 /* end confdefs.h. */
10989 /* Override any GCC internal prototype to avoid an error.
10990 Use char because int might match the return type of a GCC
10991 builtin and then its argument prototype would still apply. */
10992 #ifdef __cplusplus
10993 extern "C"
10994 #endif
10995 char sane_init ();
10997 main ()
10999 return sane_init ();
11001 return 0;
11003 _ACEOF
11004 if ac_fn_c_try_link "$LINENO"; then :
11005 case "$LIBEXT" in
11006 dll) ac_cv_lib_soname_sane=`$ac_cv_path_LDD conftest.exe | grep "sane" | sed -e "s/dll.*/dll/"';2,$d'` ;;
11007 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'` ;;
11008 *) ac_cv_lib_soname_sane=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libsane\\.$LIBEXT" | sed -e "s/^.*\\[\\(libsane\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
11009 if test "x$ac_cv_lib_soname_sane" = x; then :
11010 ac_cv_lib_soname_sane=`$LDD conftest$ac_exeext | grep "libsane\\.$LIBEXT" | sed -e "s/^.*\(libsane\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
11011 fi ;;
11012 esac
11014 rm -f core conftest.err conftest.$ac_objext \
11015 conftest$ac_exeext conftest.$ac_ext
11016 LIBS=$ac_check_soname_save_LIBS
11018 if test "x$ac_cv_lib_soname_sane" = "x"; then :
11019 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
11020 $as_echo "not found" >&6; }
11021 SANE_CFLAGS=""
11022 else
11023 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_sane" >&5
11024 $as_echo "$ac_cv_lib_soname_sane" >&6; }
11026 cat >>confdefs.h <<_ACEOF
11027 #define SONAME_LIBSANE "$ac_cv_lib_soname_sane"
11028 _ACEOF
11032 else
11033 SANE_CFLAGS=""
11037 CPPFLAGS=$ac_save_CPPFLAGS
11038 test -z "$SANE_CFLAGS" || SANE_CFLAGS=`echo " $SANE_CFLAGS" | sed 's/ -I\([^/]\)/ -I\$(top_builddir)\/\1/g'`
11039 test -z "$SANE_LIBS" || SANE_LIBS=`echo " $SANE_LIBS" | sed 's/ -L\([^/]\)/ -L\$(top_builddir)\/\1/g'`
11042 if test "x$ac_cv_lib_soname_sane" = "x"; then :
11043 case "x$with_sane" in
11044 x) as_fn_append wine_notices "|libsane ${notice_platform}development files not found, scanners won't be supported." ;;
11045 xno) ;;
11046 *) as_fn_error $? "libsane ${notice_platform}development files not found, scanners won't be supported.
11047 This is an error since --with-sane was requested." "$LINENO" 5 ;;
11048 esac
11051 if test "x$with_v4l" != "xno"
11052 then
11053 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lv4l1" >&5
11054 $as_echo_n "checking for -lv4l1... " >&6; }
11055 if ${ac_cv_lib_soname_v4l1+:} false; then :
11056 $as_echo_n "(cached) " >&6
11057 else
11058 ac_check_soname_save_LIBS=$LIBS
11059 LIBS="-lv4l1 $LIBS"
11060 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11061 /* end confdefs.h. */
11063 /* Override any GCC internal prototype to avoid an error.
11064 Use char because int might match the return type of a GCC
11065 builtin and then its argument prototype would still apply. */
11066 #ifdef __cplusplus
11067 extern "C"
11068 #endif
11069 char v4l1_open ();
11071 main ()
11073 return v4l1_open ();
11075 return 0;
11077 _ACEOF
11078 if ac_fn_c_try_link "$LINENO"; then :
11079 case "$LIBEXT" in
11080 dll) ac_cv_lib_soname_v4l1=`$ac_cv_path_LDD conftest.exe | grep "v4l1" | sed -e "s/dll.*/dll/"';2,$d'` ;;
11081 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'` ;;
11082 *) ac_cv_lib_soname_v4l1=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libv4l1\\.$LIBEXT" | sed -e "s/^.*\\[\\(libv4l1\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
11083 if test "x$ac_cv_lib_soname_v4l1" = x; then :
11084 ac_cv_lib_soname_v4l1=`$LDD conftest$ac_exeext | grep "libv4l1\\.$LIBEXT" | sed -e "s/^.*\(libv4l1\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
11085 fi ;;
11086 esac
11088 rm -f core conftest.err conftest.$ac_objext \
11089 conftest$ac_exeext conftest.$ac_ext
11090 LIBS=$ac_check_soname_save_LIBS
11092 if test "x$ac_cv_lib_soname_v4l1" = "x"; then :
11093 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
11094 $as_echo "not found" >&6; }
11096 else
11097 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_v4l1" >&5
11098 $as_echo "$ac_cv_lib_soname_v4l1" >&6; }
11100 cat >>confdefs.h <<_ACEOF
11101 #define SONAME_LIBV4L1 "$ac_cv_lib_soname_v4l1"
11102 _ACEOF
11107 if test "x$ac_cv_lib_soname_v4l1" = "x"; then :
11108 case "x$with_v4l" in
11109 x) as_fn_append wine_notices "|libv4l ${notice_platform}development files not found." ;;
11110 xno) ;;
11111 *) as_fn_error $? "libv4l ${notice_platform}development files not found.
11112 This is an error since --with-v4l was requested." "$LINENO" 5 ;;
11113 esac
11116 if test "x$with_gphoto" != "xno"
11117 then
11118 if test -n "$GPHOTO2_CFLAGS"; then :
11120 elif test -n "$PKG_CONFIG"; then :
11121 GPHOTO2_CFLAGS=`$PKG_CONFIG --cflags libgphoto2 2>/dev/null`
11123 test "$cross_compiling" = yes || GPHOTO2_CFLAGS=${GPHOTO2_CFLAGS:-`gphoto2-config --cflags 2>/dev/null`}
11124 if test -n "$GPHOTO2_LIBS"; then :
11126 elif test -n "$PKG_CONFIG"; then :
11127 GPHOTO2_LIBS=`$PKG_CONFIG --libs libgphoto2 2>/dev/null`
11129 test "$cross_compiling" = yes || GPHOTO2_LIBS=${GPHOTO2_LIBS:-`gphoto2-config --libs 2>/dev/null`}
11130 GPHOTO2_LIBS=${GPHOTO2_LIBS:-"-lgphoto2"}
11131 ac_save_CPPFLAGS=$CPPFLAGS
11132 CPPFLAGS="$CPPFLAGS $GPHOTO2_CFLAGS"
11133 ac_fn_c_check_header_mongrel "$LINENO" "gphoto2-camera.h" "ac_cv_header_gphoto2_camera_h" "$ac_includes_default"
11134 if test "x$ac_cv_header_gphoto2_camera_h" = xyes; then :
11135 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for gp_camera_new in -lgphoto2" >&5
11136 $as_echo_n "checking for gp_camera_new in -lgphoto2... " >&6; }
11137 if ${ac_cv_lib_gphoto2_gp_camera_new+:} false; then :
11138 $as_echo_n "(cached) " >&6
11139 else
11140 ac_check_lib_save_LIBS=$LIBS
11141 LIBS="-lgphoto2 $GPHOTO2_LIBS $LIBS"
11142 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11143 /* end confdefs.h. */
11145 /* Override any GCC internal prototype to avoid an error.
11146 Use char because int might match the return type of a GCC
11147 builtin and then its argument prototype would still apply. */
11148 #ifdef __cplusplus
11149 extern "C"
11150 #endif
11151 char gp_camera_new ();
11153 main ()
11155 return gp_camera_new ();
11157 return 0;
11159 _ACEOF
11160 if ac_fn_c_try_link "$LINENO"; then :
11161 ac_cv_lib_gphoto2_gp_camera_new=yes
11162 else
11163 ac_cv_lib_gphoto2_gp_camera_new=no
11165 rm -f core conftest.err conftest.$ac_objext \
11166 conftest$ac_exeext conftest.$ac_ext
11167 LIBS=$ac_check_lib_save_LIBS
11169 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_gphoto2_gp_camera_new" >&5
11170 $as_echo "$ac_cv_lib_gphoto2_gp_camera_new" >&6; }
11171 if test "x$ac_cv_lib_gphoto2_gp_camera_new" = xyes; then :
11173 $as_echo "#define HAVE_GPHOTO2 1" >>confdefs.h
11175 else
11176 GPHOTO2_LIBS=""; GPHOTO2_CFLAGS=""
11179 else
11180 GPHOTO2_LIBS=""; GPHOTO2_CFLAGS=""
11184 CPPFLAGS=$ac_save_CPPFLAGS
11185 test -z "$GPHOTO2_CFLAGS" || GPHOTO2_CFLAGS=`echo " $GPHOTO2_CFLAGS" | sed 's/ -I\([^/]\)/ -I\$(top_builddir)\/\1/g'`
11186 test -z "$GPHOTO2_LIBS" || GPHOTO2_LIBS=`echo " $GPHOTO2_LIBS" | sed 's/ -L\([^/]\)/ -L\$(top_builddir)\/\1/g'`
11188 if test -n "$GPHOTO2_PORT_CFLAGS"; then :
11190 elif test -n "$PKG_CONFIG"; then :
11191 GPHOTO2_PORT_CFLAGS=`$PKG_CONFIG --cflags libgphoto2_port 2>/dev/null`
11193 test "$cross_compiling" = yes || GPHOTO2_PORT_CFLAGS=${GPHOTO2_PORT_CFLAGS:-`gphoto2-port-config --cflags 2>/dev/null`}
11194 if test -n "$GPHOTO2_PORT_LIBS"; then :
11196 elif test -n "$PKG_CONFIG"; then :
11197 GPHOTO2_PORT_LIBS=`$PKG_CONFIG --libs libgphoto2_port 2>/dev/null`
11199 test "$cross_compiling" = yes || GPHOTO2_PORT_LIBS=${GPHOTO2_PORT_LIBS:-`gphoto2-port-config --libs 2>/dev/null`}
11200 GPHOTO2_PORT_LIBS=${GPHOTO2_PORT_LIBS:-"-lgphoto2_port"}
11201 ac_save_CPPFLAGS=$CPPFLAGS
11202 CPPFLAGS="$CPPFLAGS $GPHOTO2_PORT_CFLAGS"
11203 ac_fn_c_check_header_mongrel "$LINENO" "gphoto2-port.h" "ac_cv_header_gphoto2_port_h" "$ac_includes_default"
11204 if test "x$ac_cv_header_gphoto2_port_h" = xyes; then :
11205 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for gp_port_info_list_new in -lgphoto2_port" >&5
11206 $as_echo_n "checking for gp_port_info_list_new in -lgphoto2_port... " >&6; }
11207 if ${ac_cv_lib_gphoto2_port_gp_port_info_list_new+:} false; then :
11208 $as_echo_n "(cached) " >&6
11209 else
11210 ac_check_lib_save_LIBS=$LIBS
11211 LIBS="-lgphoto2_port $GPHOTO2_PORT_LIBS $LIBS"
11212 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11213 /* end confdefs.h. */
11215 /* Override any GCC internal prototype to avoid an error.
11216 Use char because int might match the return type of a GCC
11217 builtin and then its argument prototype would still apply. */
11218 #ifdef __cplusplus
11219 extern "C"
11220 #endif
11221 char gp_port_info_list_new ();
11223 main ()
11225 return gp_port_info_list_new ();
11227 return 0;
11229 _ACEOF
11230 if ac_fn_c_try_link "$LINENO"; then :
11231 ac_cv_lib_gphoto2_port_gp_port_info_list_new=yes
11232 else
11233 ac_cv_lib_gphoto2_port_gp_port_info_list_new=no
11235 rm -f core conftest.err conftest.$ac_objext \
11236 conftest$ac_exeext conftest.$ac_ext
11237 LIBS=$ac_check_lib_save_LIBS
11239 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_gphoto2_port_gp_port_info_list_new" >&5
11240 $as_echo "$ac_cv_lib_gphoto2_port_gp_port_info_list_new" >&6; }
11241 if test "x$ac_cv_lib_gphoto2_port_gp_port_info_list_new" = xyes; then :
11243 $as_echo "#define HAVE_GPHOTO2_PORT 1" >>confdefs.h
11245 else
11246 GPHOTO2_PORT_LIBS=""; GPHOTO2_PORT_CFLAGS=""
11249 else
11250 GPHOTO2_PORT_LIBS=""; GPHOTO2_PORT_CFLAGS=""
11254 CPPFLAGS=$ac_save_CPPFLAGS
11255 test -z "$GPHOTO2_PORT_CFLAGS" || GPHOTO2_PORT_CFLAGS=`echo " $GPHOTO2_PORT_CFLAGS" | sed 's/ -I\([^/]\)/ -I\$(top_builddir)\/\1/g'`
11256 test -z "$GPHOTO2_PORT_LIBS" || GPHOTO2_PORT_LIBS=`echo " $GPHOTO2_PORT_LIBS" | sed 's/ -L\([^/]\)/ -L\$(top_builddir)\/\1/g'`
11259 if test "$ac_cv_lib_gphoto2_gp_camera_new" != "yes"; then :
11260 case "x$with_gphoto" in
11261 x) as_fn_append wine_notices "|libgphoto2 ${notice_platform}development files not found, digital cameras won't be supported." ;;
11262 xno) ;;
11263 *) as_fn_error $? "libgphoto2 ${notice_platform}development files not found, digital cameras won't be supported.
11264 This is an error since --with-gphoto was requested." "$LINENO" 5 ;;
11265 esac
11267 if test "$ac_cv_lib_gphoto2_port_gp_port_info_list_new" != "yes"; then :
11268 case "x$with_gphoto" in
11269 x) as_fn_append wine_notices "|libgphoto2_port ${notice_platform}development files not found, digital cameras won't be auto-detected." ;;
11270 xno) ;;
11271 *) as_fn_error $? "libgphoto2_port ${notice_platform}development files not found, digital cameras won't be auto-detected.
11272 This is an error since --with-gphoto was requested." "$LINENO" 5 ;;
11273 esac
11277 if test "$ac_cv_header_resolv_h" = "yes"
11278 then
11279 ac_save_LIBS="$LIBS"
11280 for lib in '' -lresolv
11282 LIBS="$lib $ac_save_LIBS"
11283 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11284 /* end confdefs.h. */
11285 #ifdef HAVE_NETINET_IN_H
11286 #include <netinet/in.h>
11287 #endif
11288 #include <resolv.h>
11290 main ()
11292 res_query("foo",ns_c_in,0,0,0);
11294 return 0;
11296 _ACEOF
11297 if ac_fn_c_try_link "$LINENO"; then :
11299 $as_echo "#define HAVE_RESOLV 1" >>confdefs.h
11301 RESOLVLIBS="$lib"
11304 rm -f core conftest.err conftest.$ac_objext \
11305 conftest$ac_exeext conftest.$ac_ext
11306 if test "${RESOLVLIBS+set}" = set; then
11307 break
11309 done
11310 LIBS="$ac_save_LIBS"
11313 if test "x$with_lcms2" != "xno"
11314 then
11315 if test -n "$LCMS2_CFLAGS"; then :
11317 elif test -n "$PKG_CONFIG"; then :
11318 LCMS2_CFLAGS=`$PKG_CONFIG --cflags lcms2 2>/dev/null`
11321 if test -n "$LCMS2_LIBS"; then :
11323 elif test -n "$PKG_CONFIG"; then :
11324 LCMS2_LIBS=`$PKG_CONFIG --libs lcms2 2>/dev/null`
11327 LCMS2_LIBS=${LCMS2_LIBS:-"-llcms2"}
11328 ac_save_CPPFLAGS=$CPPFLAGS
11329 CPPFLAGS="$CPPFLAGS $LCMS2_CFLAGS"
11330 for ac_header in lcms2.h
11331 do :
11332 ac_fn_c_check_header_mongrel "$LINENO" "lcms2.h" "ac_cv_header_lcms2_h" "$ac_includes_default"
11333 if test "x$ac_cv_header_lcms2_h" = xyes; then :
11334 cat >>confdefs.h <<_ACEOF
11335 #define HAVE_LCMS2_H 1
11336 _ACEOF
11340 done
11342 if test "$ac_cv_header_lcms2_h" = "yes"
11343 then
11344 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for cmsOpenProfileFromFile in -llcms2" >&5
11345 $as_echo_n "checking for cmsOpenProfileFromFile in -llcms2... " >&6; }
11346 if ${ac_cv_lib_lcms2_cmsOpenProfileFromFile+:} false; then :
11347 $as_echo_n "(cached) " >&6
11348 else
11349 ac_check_lib_save_LIBS=$LIBS
11350 LIBS="-llcms2 $LIBS"
11351 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11352 /* end confdefs.h. */
11354 /* Override any GCC internal prototype to avoid an error.
11355 Use char because int might match the return type of a GCC
11356 builtin and then its argument prototype would still apply. */
11357 #ifdef __cplusplus
11358 extern "C"
11359 #endif
11360 char cmsOpenProfileFromFile ();
11362 main ()
11364 return cmsOpenProfileFromFile ();
11366 return 0;
11368 _ACEOF
11369 if ac_fn_c_try_link "$LINENO"; then :
11370 ac_cv_lib_lcms2_cmsOpenProfileFromFile=yes
11371 else
11372 ac_cv_lib_lcms2_cmsOpenProfileFromFile=no
11374 rm -f core conftest.err conftest.$ac_objext \
11375 conftest$ac_exeext conftest.$ac_ext
11376 LIBS=$ac_check_lib_save_LIBS
11378 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_lcms2_cmsOpenProfileFromFile" >&5
11379 $as_echo "$ac_cv_lib_lcms2_cmsOpenProfileFromFile" >&6; }
11380 if test "x$ac_cv_lib_lcms2_cmsOpenProfileFromFile" = xyes; then :
11382 $as_echo "#define HAVE_LCMS2 1" >>confdefs.h
11384 else
11385 LCMS2_LIBS=""
11388 else
11389 LCMS2_CFLAGS=""
11390 LCMS2_LIBS=""
11392 CPPFLAGS=$ac_save_CPPFLAGS
11393 test -z "$LCMS2_CFLAGS" || LCMS2_CFLAGS=`echo " $LCMS2_CFLAGS" | sed 's/ -I\([^/]\)/ -I\$(top_builddir)\/\1/g'`
11394 test -z "$LCMS2_LIBS" || LCMS2_LIBS=`echo " $LCMS2_LIBS" | sed 's/ -L\([^/]\)/ -L\$(top_builddir)\/\1/g'`
11397 if test "$ac_cv_lib_lcms2_cmsOpenProfileFromFile" != "yes"; then :
11398 case "x$with_cms" in
11399 x) as_fn_append wine_notices "|liblcms2 ${notice_platform}development files not found, Color Management won't be supported." ;;
11400 xno) ;;
11401 *) as_fn_error $? "liblcms2 ${notice_platform}development files not found, Color Management won't be supported.
11402 This is an error since --with-cms was requested." "$LINENO" 5 ;;
11403 esac
11406 if test "x$with_freetype" != "xno"
11407 then
11408 if test -n "$FREETYPE_CFLAGS"; then :
11410 elif test -n "$PKG_CONFIG"; then :
11411 FREETYPE_CFLAGS=`$PKG_CONFIG --cflags freetype2 2>/dev/null`
11413 test "$cross_compiling" = yes || FREETYPE_CFLAGS=${FREETYPE_CFLAGS:-`(freetype-config --cflags || freetype2-config --cflags) 2>/dev/null`}
11414 if test -n "$FREETYPE_LIBS"; then :
11416 elif test -n "$PKG_CONFIG"; then :
11417 FREETYPE_LIBS=`$PKG_CONFIG --libs freetype2 2>/dev/null`
11419 test "$cross_compiling" = yes || FREETYPE_LIBS=${FREETYPE_LIBS:-`(freetype-config --libs || freetype2-config --libs) 2>/dev/null`}
11420 FREETYPE_LIBS=${FREETYPE_LIBS:-"-lfreetype"}
11421 ac_save_CPPFLAGS=$CPPFLAGS
11422 CPPFLAGS="$CPPFLAGS $FREETYPE_CFLAGS"
11423 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lfreetype" >&5
11424 $as_echo_n "checking for -lfreetype... " >&6; }
11425 if ${ac_cv_lib_soname_freetype+:} false; then :
11426 $as_echo_n "(cached) " >&6
11427 else
11428 ac_check_soname_save_LIBS=$LIBS
11429 LIBS="-lfreetype $FREETYPE_LIBS $LIBS"
11430 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11431 /* end confdefs.h. */
11433 /* Override any GCC internal prototype to avoid an error.
11434 Use char because int might match the return type of a GCC
11435 builtin and then its argument prototype would still apply. */
11436 #ifdef __cplusplus
11437 extern "C"
11438 #endif
11439 char FT_Init_FreeType ();
11441 main ()
11443 return FT_Init_FreeType ();
11445 return 0;
11447 _ACEOF
11448 if ac_fn_c_try_link "$LINENO"; then :
11449 case "$LIBEXT" in
11450 dll) ac_cv_lib_soname_freetype=`$ac_cv_path_LDD conftest.exe | grep "freetype" | sed -e "s/dll.*/dll/"';2,$d'` ;;
11451 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'` ;;
11452 *) ac_cv_lib_soname_freetype=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libfreetype\\.$LIBEXT" | sed -e "s/^.*\\[\\(libfreetype\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
11453 if test "x$ac_cv_lib_soname_freetype" = x; then :
11454 ac_cv_lib_soname_freetype=`$LDD conftest$ac_exeext | grep "libfreetype\\.$LIBEXT" | sed -e "s/^.*\(libfreetype\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
11455 fi ;;
11456 esac
11458 rm -f core conftest.err conftest.$ac_objext \
11459 conftest$ac_exeext conftest.$ac_ext
11460 LIBS=$ac_check_soname_save_LIBS
11462 if test "x$ac_cv_lib_soname_freetype" = "x"; then :
11463 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
11464 $as_echo "not found" >&6; }
11465 ft_lib=no
11466 else
11467 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_freetype" >&5
11468 $as_echo "$ac_cv_lib_soname_freetype" >&6; }
11470 cat >>confdefs.h <<_ACEOF
11471 #define SONAME_LIBFREETYPE "$ac_cv_lib_soname_freetype"
11472 _ACEOF
11474 ft_lib=yes
11476 if test "$ft_lib" = "yes"
11477 then
11478 for ac_header in ft2build.h \
11479 freetype/freetype.h \
11480 freetype/ftglyph.h \
11481 freetype/fttypes.h \
11482 freetype/tttables.h \
11483 freetype/ftsnames.h \
11484 freetype/ttnameid.h \
11485 freetype/ftoutln.h \
11486 freetype/ftwinfnt.h \
11487 freetype/ftmodapi.h \
11488 freetype/ftlcdfil.h
11489 do :
11490 as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
11491 ac_fn_c_check_header_compile "$LINENO" "$ac_header" "$as_ac_Header" "#ifdef HAVE_FT2BUILD_H
11492 # include <ft2build.h>
11493 #endif
11495 if eval test \"x\$"$as_ac_Header"\" = x"yes"; then :
11496 cat >>confdefs.h <<_ACEOF
11497 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
11498 _ACEOF
11502 done
11504 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11505 /* end confdefs.h. */
11506 #include <ft2build.h>
11507 #include <freetype/fttrigon.h>
11508 _ACEOF
11509 if ac_fn_c_try_cpp "$LINENO"; then :
11511 $as_echo "#define HAVE_FREETYPE_FTTRIGON_H 1" >>confdefs.h
11513 wine_cv_fttrigon=yes
11514 else
11515 wine_cv_fttrigon=no
11517 rm -f conftest.err conftest.i conftest.$ac_ext
11518 ac_fn_c_check_type "$LINENO" "FT_TrueTypeEngineType" "ac_cv_type_FT_TrueTypeEngineType" "#include <freetype/ftmodapi.h>
11520 if test "x$ac_cv_type_FT_TrueTypeEngineType" = xyes; then :
11522 cat >>confdefs.h <<_ACEOF
11523 #define HAVE_FT_TRUETYPEENGINETYPE 1
11524 _ACEOF
11529 if test "$ac_cv_header_freetype_freetype_h" = "yes" -a "$wine_cv_fttrigon" = "yes"
11530 then
11532 $as_echo "#define HAVE_FREETYPE 1" >>confdefs.h
11534 else
11535 FREETYPE_LIBS=""
11537 else
11538 FREETYPE_LIBS=""
11540 CPPFLAGS=$ac_save_CPPFLAGS
11541 test -z "$FREETYPE_CFLAGS" || FREETYPE_CFLAGS=`echo " $FREETYPE_CFLAGS" | sed 's/ -I\([^/]\)/ -I\$(top_builddir)\/\1/g'`
11542 test -z "$FREETYPE_LIBS" || FREETYPE_LIBS=`echo " $FREETYPE_LIBS" | sed 's/ -L\([^/]\)/ -L\$(top_builddir)\/\1/g'`
11545 if test "x$ac_cv_header_freetype_freetype_h" != xyes -o "x$wine_cv_fttrigon" != xyes; then :
11546 case "x$with_freetype" in
11547 xno) ;;
11548 *) as_fn_error $? "FreeType ${notice_platform}development files not found. Fonts will not be built.
11549 Use the --without-freetype option if you really want this." "$LINENO" 5 ;;
11550 esac
11552 test "x$ac_cv_header_freetype_freetype_h" = xyes -a "x$wine_cv_fttrigon" = xyes || enable_fonts=${enable_fonts:-no}
11554 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for parport header/ppdev.h" >&5
11555 $as_echo_n "checking for parport header/ppdev.h... " >&6; }
11556 if ${ac_cv_c_ppdev+:} false; then :
11557 $as_echo_n "(cached) " >&6
11558 else
11559 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11560 /* end confdefs.h. */
11561 #ifdef HAVE_SYS_IOCTL_H
11562 # include <sys/ioctl.h>
11563 #endif
11564 #include <linux/ppdev.h>
11566 main ()
11568 ioctl (1,PPCLAIM,0)
11570 return 0;
11572 _ACEOF
11573 if ac_fn_c_try_compile "$LINENO"; then :
11574 ac_cv_c_ppdev="yes"
11575 else
11576 ac_cv_c_ppdev="no"
11578 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
11580 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_ppdev" >&5
11581 $as_echo "$ac_cv_c_ppdev" >&6; }
11582 if test "$ac_cv_c_ppdev" = "yes"
11583 then
11585 $as_echo "#define HAVE_PPDEV 1" >>confdefs.h
11589 ac_wine_check_funcs_save_LIBS="$LIBS"
11590 LIBS="$LIBS $LIBPTHREAD"
11591 for ac_func in \
11592 pthread_attr_get_np \
11593 pthread_getattr_np \
11594 pthread_getthreadid_np \
11595 pthread_get_stackaddr_np \
11596 pthread_get_stacksize_np
11597 do :
11598 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
11599 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
11600 if eval test \"x\$"$as_ac_var"\" = x"yes"; then :
11601 cat >>confdefs.h <<_ACEOF
11602 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
11603 _ACEOF
11606 done
11608 LIBS="$ac_wine_check_funcs_save_LIBS"
11610 if test "$ac_cv_header_zlib_h" = "yes"
11611 then
11612 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for inflate in -lz" >&5
11613 $as_echo_n "checking for inflate in -lz... " >&6; }
11614 if ${ac_cv_lib_z_inflate+:} false; then :
11615 $as_echo_n "(cached) " >&6
11616 else
11617 ac_check_lib_save_LIBS=$LIBS
11618 LIBS="-lz $LIBS"
11619 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11620 /* end confdefs.h. */
11622 /* Override any GCC internal prototype to avoid an error.
11623 Use char because int might match the return type of a GCC
11624 builtin and then its argument prototype would still apply. */
11625 #ifdef __cplusplus
11626 extern "C"
11627 #endif
11628 char inflate ();
11630 main ()
11632 return inflate ();
11634 return 0;
11636 _ACEOF
11637 if ac_fn_c_try_link "$LINENO"; then :
11638 ac_cv_lib_z_inflate=yes
11639 else
11640 ac_cv_lib_z_inflate=no
11642 rm -f core conftest.err conftest.$ac_objext \
11643 conftest$ac_exeext conftest.$ac_ext
11644 LIBS=$ac_check_lib_save_LIBS
11646 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_z_inflate" >&5
11647 $as_echo "$ac_cv_lib_z_inflate" >&6; }
11648 if test "x$ac_cv_lib_z_inflate" = xyes; then :
11650 $as_echo "#define HAVE_ZLIB 1" >>confdefs.h
11652 ZLIB="-lz"
11657 if test "x$ZLIB" = "x"; then :
11658 case "x$with_zlib" in
11659 x) as_fn_append wine_notices "|libz ${notice_platform}development files not found, data compression won't be supported." ;;
11660 xno) ;;
11661 *) as_fn_error $? "libz ${notice_platform}development files not found, data compression won't be supported.
11662 This is an error since --with-zlib was requested." "$LINENO" 5 ;;
11663 esac
11666 if test "x$enable_tools" != xno
11667 then
11668 if test "$ac_cv_header_gettext_po_h" = "yes"
11669 then
11670 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for po_message_msgctxt in -lgettextpo" >&5
11671 $as_echo_n "checking for po_message_msgctxt in -lgettextpo... " >&6; }
11672 if ${ac_cv_lib_gettextpo_po_message_msgctxt+:} false; then :
11673 $as_echo_n "(cached) " >&6
11674 else
11675 ac_check_lib_save_LIBS=$LIBS
11676 LIBS="-lgettextpo $LIBS"
11677 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11678 /* end confdefs.h. */
11680 /* Override any GCC internal prototype to avoid an error.
11681 Use char because int might match the return type of a GCC
11682 builtin and then its argument prototype would still apply. */
11683 #ifdef __cplusplus
11684 extern "C"
11685 #endif
11686 char po_message_msgctxt ();
11688 main ()
11690 return po_message_msgctxt ();
11692 return 0;
11694 _ACEOF
11695 if ac_fn_c_try_link "$LINENO"; then :
11696 ac_cv_lib_gettextpo_po_message_msgctxt=yes
11697 else
11698 ac_cv_lib_gettextpo_po_message_msgctxt=no
11700 rm -f core conftest.err conftest.$ac_objext \
11701 conftest$ac_exeext conftest.$ac_ext
11702 LIBS=$ac_check_lib_save_LIBS
11704 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_gettextpo_po_message_msgctxt" >&5
11705 $as_echo "$ac_cv_lib_gettextpo_po_message_msgctxt" >&6; }
11706 if test "x$ac_cv_lib_gettextpo_po_message_msgctxt" = xyes; then :
11708 $as_echo "#define HAVE_LIBGETTEXTPO 1" >>confdefs.h
11710 LIBGETTEXTPO="-lgettextpo"
11715 test "x$with_gettextpo" != xyes || if test "x$LIBGETTEXTPO" = "x"; then :
11716 case "x$with_gettextpo" in
11717 x) as_fn_append wine_notices "|GetText ${notice_platform}development files not found (or too old), po files can't be rebuilt." ;;
11718 xno) ;;
11719 *) as_fn_error $? "GetText ${notice_platform}development files not found (or too old), po files can't be rebuilt.
11720 This is an error since --with-gettextpo was requested." "$LINENO" 5 ;;
11721 esac
11725 if test "x$with_gstreamer" != "xno"
11726 then
11727 if test -n "$GSTREAMER_CFLAGS"; then :
11729 elif test -n "$PKG_CONFIG"; then :
11730 GSTREAMER_CFLAGS=`$PKG_CONFIG --cflags gstreamer-app-0.10 2>/dev/null`
11733 if test -n "$GSTREAMER_LIBS"; then :
11735 elif test -n "$PKG_CONFIG"; then :
11736 GSTREAMER_LIBS=`$PKG_CONFIG --libs gstreamer-app-0.10 2>/dev/null`
11740 ac_save_CPPFLAGS=$CPPFLAGS
11741 CPPFLAGS="$CPPFLAGS $GSTREAMER_CFLAGS"
11742 ac_gst_incl=""
11743 for i in $GSTREAMER_CFLAGS
11745 case "$i" in
11746 -I*) ac_gst_incl="$ac_gst_incl $i";;
11747 esac
11748 done
11749 GSTREAMER_CFLAGS=$ac_gst_incl
11750 CPPFLAGS="$ac_save_CPPFLAGS $GSTREAMER_CFLAGS"
11751 ac_fn_c_check_header_mongrel "$LINENO" "gst/gstpad.h" "ac_cv_header_gst_gstpad_h" "$ac_includes_default"
11752 if test "x$ac_cv_header_gst_gstpad_h" = xyes; then :
11753 ac_fn_c_check_header_mongrel "$LINENO" "gst/app/gstappsink.h" "ac_cv_header_gst_app_gstappsink_h" "$ac_includes_default"
11754 if test "x$ac_cv_header_gst_app_gstappsink_h" = xyes; then :
11755 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether gint64 defined by gst/app/gstappsink.h is indeed 64-bit" >&5
11756 $as_echo_n "checking whether gint64 defined by gst/app/gstappsink.h is indeed 64-bit... " >&6; }
11757 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11758 /* end confdefs.h. */
11759 #include <gst/app/gstappsink.h>
11761 main ()
11763 static int a[sizeof(gint64) > 4 ? 1 : -1]; if (a[0]) return 0;
11765 return 0;
11767 _ACEOF
11768 if ac_fn_c_try_compile "$LINENO"; then :
11769 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
11770 $as_echo "yes" >&6; }
11771 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for gst_pad_get_caps_reffed in -lgstreamer-0.10" >&5
11772 $as_echo_n "checking for gst_pad_get_caps_reffed in -lgstreamer-0.10... " >&6; }
11773 if ${ac_cv_lib_gstreamer_0_10_gst_pad_get_caps_reffed+:} false; then :
11774 $as_echo_n "(cached) " >&6
11775 else
11776 ac_check_lib_save_LIBS=$LIBS
11777 LIBS="-lgstreamer-0.10 $LIBS"
11778 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11779 /* end confdefs.h. */
11781 /* Override any GCC internal prototype to avoid an error.
11782 Use char because int might match the return type of a GCC
11783 builtin and then its argument prototype would still apply. */
11784 #ifdef __cplusplus
11785 extern "C"
11786 #endif
11787 char gst_pad_get_caps_reffed ();
11789 main ()
11791 return gst_pad_get_caps_reffed ();
11793 return 0;
11795 _ACEOF
11796 if ac_fn_c_try_link "$LINENO"; then :
11797 ac_cv_lib_gstreamer_0_10_gst_pad_get_caps_reffed=yes
11798 else
11799 ac_cv_lib_gstreamer_0_10_gst_pad_get_caps_reffed=no
11801 rm -f core conftest.err conftest.$ac_objext \
11802 conftest$ac_exeext conftest.$ac_ext
11803 LIBS=$ac_check_lib_save_LIBS
11805 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_gstreamer_0_10_gst_pad_get_caps_reffed" >&5
11806 $as_echo "$ac_cv_lib_gstreamer_0_10_gst_pad_get_caps_reffed" >&6; }
11807 if test "x$ac_cv_lib_gstreamer_0_10_gst_pad_get_caps_reffed" = xyes; then :
11808 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for gst_app_buffer_new in -lgstapp-0.10" >&5
11809 $as_echo_n "checking for gst_app_buffer_new in -lgstapp-0.10... " >&6; }
11810 if ${ac_cv_lib_gstapp_0_10_gst_app_buffer_new+:} false; then :
11811 $as_echo_n "(cached) " >&6
11812 else
11813 ac_check_lib_save_LIBS=$LIBS
11814 LIBS="-lgstapp-0.10 $GSTREAMER_LIBS $LIBS"
11815 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11816 /* end confdefs.h. */
11818 /* Override any GCC internal prototype to avoid an error.
11819 Use char because int might match the return type of a GCC
11820 builtin and then its argument prototype would still apply. */
11821 #ifdef __cplusplus
11822 extern "C"
11823 #endif
11824 char gst_app_buffer_new ();
11826 main ()
11828 return gst_app_buffer_new ();
11830 return 0;
11832 _ACEOF
11833 if ac_fn_c_try_link "$LINENO"; then :
11834 ac_cv_lib_gstapp_0_10_gst_app_buffer_new=yes
11835 else
11836 ac_cv_lib_gstapp_0_10_gst_app_buffer_new=no
11838 rm -f core conftest.err conftest.$ac_objext \
11839 conftest$ac_exeext conftest.$ac_ext
11840 LIBS=$ac_check_lib_save_LIBS
11842 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_gstapp_0_10_gst_app_buffer_new" >&5
11843 $as_echo "$ac_cv_lib_gstapp_0_10_gst_app_buffer_new" >&6; }
11844 if test "x$ac_cv_lib_gstapp_0_10_gst_app_buffer_new" = xyes; then :
11850 else
11851 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
11852 $as_echo "no" >&6; }
11854 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
11858 else
11859 GSTREAMER_CFLAGS=""
11863 CPPFLAGS=$ac_save_CPPFLAGS
11864 test -z "$GSTREAMER_CFLAGS" || GSTREAMER_CFLAGS=`echo " $GSTREAMER_CFLAGS" | sed 's/ -I\([^/]\)/ -I\$(top_builddir)\/\1/g'`
11865 test -z "$GSTREAMER_LIBS" || GSTREAMER_LIBS=`echo " $GSTREAMER_LIBS" | sed 's/ -L\([^/]\)/ -L\$(top_builddir)\/\1/g'`
11868 if test "x$ac_cv_lib_gstapp_0_10_gst_app_buffer_new" != xyes -a "x$ac_cv_header_QuickTime_ImageCompression_h" != xyes; then :
11869 case "x$with_gstreamer" in
11870 x) as_fn_append wine_notices "|gstreamer-0.10 base plugins ${notice_platform}development files not found, gstreamer support disabled" ;;
11871 xno) ;;
11872 *) as_fn_error $? "gstreamer-0.10 base plugins ${notice_platform}development files not found, gstreamer support disabled
11873 This is an error since --with-gstreamer was requested." "$LINENO" 5 ;;
11874 esac
11876 test "x$ac_cv_lib_gstapp_0_10_gst_app_buffer_new" = xyes || enable_winegstreamer=${enable_winegstreamer:-no}
11878 ALSALIBS=""
11880 if test "$ac_cv_header_sys_asoundlib_h" = "yes" -o "$ac_cv_header_alsa_asoundlib_h" = "yes"
11881 then
11882 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for snd_pcm_hw_params_get_access_mask in -lasound" >&5
11883 $as_echo_n "checking for snd_pcm_hw_params_get_access_mask in -lasound... " >&6; }
11884 if ${ac_cv_lib_asound_snd_pcm_hw_params_get_access_mask+:} false; then :
11885 $as_echo_n "(cached) " >&6
11886 else
11887 ac_check_lib_save_LIBS=$LIBS
11888 LIBS="-lasound $LIBS"
11889 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11890 /* end confdefs.h. */
11892 /* Override any GCC internal prototype to avoid an error.
11893 Use char because int might match the return type of a GCC
11894 builtin and then its argument prototype would still apply. */
11895 #ifdef __cplusplus
11896 extern "C"
11897 #endif
11898 char snd_pcm_hw_params_get_access_mask ();
11900 main ()
11902 return snd_pcm_hw_params_get_access_mask ();
11904 return 0;
11906 _ACEOF
11907 if ac_fn_c_try_link "$LINENO"; then :
11908 ac_cv_lib_asound_snd_pcm_hw_params_get_access_mask=yes
11909 else
11910 ac_cv_lib_asound_snd_pcm_hw_params_get_access_mask=no
11912 rm -f core conftest.err conftest.$ac_objext \
11913 conftest$ac_exeext conftest.$ac_ext
11914 LIBS=$ac_check_lib_save_LIBS
11916 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_asound_snd_pcm_hw_params_get_access_mask" >&5
11917 $as_echo "$ac_cv_lib_asound_snd_pcm_hw_params_get_access_mask" >&6; }
11918 if test "x$ac_cv_lib_asound_snd_pcm_hw_params_get_access_mask" = xyes; then :
11919 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11920 /* end confdefs.h. */
11921 #ifdef HAVE_ALSA_ASOUNDLIB_H
11922 #include <alsa/asoundlib.h>
11923 #elif defined(HAVE_SYS_ASOUNDLIB_H)
11924 #include <sys/asoundlib.h>
11925 #endif
11927 main ()
11929 snd_pcm_hw_params_get_access_mask(NULL, NULL)
11931 return 0;
11933 _ACEOF
11934 if ac_fn_c_try_compile "$LINENO"; then :
11935 ALSALIBS="-lasound"
11937 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
11942 if test "x$with_oss" != xno
11943 then
11944 ac_save_CPPFLAGS="$CPPFLAGS"
11945 if test -f /etc/oss.conf
11946 then
11947 . /etc/oss.conf
11949 ac_oss_incl="-I${OSSLIBDIR:-/usr/lib/oss}/include"
11950 CPPFLAGS="$CPPFLAGS $ac_oss_incl"
11951 ac_fn_c_check_header_mongrel "$LINENO" "sys/soundcard.h" "ac_cv_header_sys_soundcard_h" "$ac_includes_default"
11952 if test "x$ac_cv_header_sys_soundcard_h" = xyes; then :
11953 ac_fn_c_check_member "$LINENO" "oss_sysinfo" "numaudioengines" "ac_cv_member_oss_sysinfo_numaudioengines" "#include <sys/soundcard.h>
11955 if test "x$ac_cv_member_oss_sysinfo_numaudioengines" = xyes; then :
11957 cat >>confdefs.h <<_ACEOF
11958 #define HAVE_OSS_SYSINFO_NUMAUDIOENGINES 1
11959 _ACEOF
11961 OSS4INCL="$ac_oss_incl"
11968 CPPFLAGS="$ac_save_CPPFLAGS"
11969 if test "x$ac_cv_member_oss_sysinfo_numaudioengines" != xyes
11970 then
11971 as_fn_append wine_notices "|OSS sound system found but too old (OSSv4 needed), OSS won't be supported."
11975 if test "x$with_capi" != "xno"
11976 then
11977 if test -n "$CAPI20_CFLAGS"; then :
11979 elif test -n "$PKG_CONFIG"; then :
11980 CAPI20_CFLAGS=`$PKG_CONFIG --cflags capi20 2>/dev/null`
11983 if test -n "$CAPI20_LIBS"; then :
11985 elif test -n "$PKG_CONFIG"; then :
11986 CAPI20_LIBS=`$PKG_CONFIG --libs capi20 2>/dev/null`
11990 ac_save_CPPFLAGS=$CPPFLAGS
11991 CPPFLAGS="$CPPFLAGS $CAPI20_CFLAGS"
11992 for ac_header in capi20.h linux/capi.h
11993 do :
11994 as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
11995 ac_fn_c_check_header_compile "$LINENO" "$ac_header" "$as_ac_Header" "#define __user
11997 if eval test \"x\$"$as_ac_Header"\" = x"yes"; then :
11998 cat >>confdefs.h <<_ACEOF
11999 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
12000 _ACEOF
12004 done
12006 if test "$ac_cv_header_capi20_h" = "yes" -a "$ac_cv_header_linux_capi_h" = "yes"
12007 then
12008 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lcapi20" >&5
12009 $as_echo_n "checking for -lcapi20... " >&6; }
12010 if ${ac_cv_lib_soname_capi20+:} false; then :
12011 $as_echo_n "(cached) " >&6
12012 else
12013 ac_check_soname_save_LIBS=$LIBS
12014 LIBS="-lcapi20 $CAPI20_LIBS $LIBS"
12015 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12016 /* end confdefs.h. */
12018 /* Override any GCC internal prototype to avoid an error.
12019 Use char because int might match the return type of a GCC
12020 builtin and then its argument prototype would still apply. */
12021 #ifdef __cplusplus
12022 extern "C"
12023 #endif
12024 char capi20_register ();
12026 main ()
12028 return capi20_register ();
12030 return 0;
12032 _ACEOF
12033 if ac_fn_c_try_link "$LINENO"; then :
12034 case "$LIBEXT" in
12035 dll) ac_cv_lib_soname_capi20=`$ac_cv_path_LDD conftest.exe | grep "capi20" | sed -e "s/dll.*/dll/"';2,$d'` ;;
12036 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'` ;;
12037 *) ac_cv_lib_soname_capi20=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libcapi20\\.$LIBEXT" | sed -e "s/^.*\\[\\(libcapi20\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
12038 if test "x$ac_cv_lib_soname_capi20" = x; then :
12039 ac_cv_lib_soname_capi20=`$LDD conftest$ac_exeext | grep "libcapi20\\.$LIBEXT" | sed -e "s/^.*\(libcapi20\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
12040 fi ;;
12041 esac
12043 rm -f core conftest.err conftest.$ac_objext \
12044 conftest$ac_exeext conftest.$ac_ext
12045 LIBS=$ac_check_soname_save_LIBS
12047 if test "x$ac_cv_lib_soname_capi20" = "x"; then :
12048 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
12049 $as_echo "not found" >&6; }
12051 else
12052 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_capi20" >&5
12053 $as_echo "$ac_cv_lib_soname_capi20" >&6; }
12055 cat >>confdefs.h <<_ACEOF
12056 #define SONAME_LIBCAPI20 "$ac_cv_lib_soname_capi20"
12057 _ACEOF
12062 CPPFLAGS=$ac_save_CPPFLAGS
12063 test -z "$CAPI20_CFLAGS" || CAPI20_CFLAGS=`echo " $CAPI20_CFLAGS" | sed 's/ -I\([^/]\)/ -I\$(top_builddir)\/\1/g'`
12064 test -z "$CAPI20_LIBS" || CAPI20_LIBS=`echo " $CAPI20_LIBS" | sed 's/ -L\([^/]\)/ -L\$(top_builddir)\/\1/g'`
12067 if test "x$ac_cv_lib_soname_capi20" = "x"; then :
12068 case "x$with_capi" in
12069 x) as_fn_append wine_notices "|libcapi20 ${notice_platform}development files not found, ISDN won't be supported." ;;
12070 xno) ;;
12071 *) as_fn_error $? "libcapi20 ${notice_platform}development files not found, ISDN won't be supported.
12072 This is an error since --with-capi was requested." "$LINENO" 5 ;;
12073 esac
12076 CUPSINCL=""
12078 if test "x$with_cups" != "xno"
12079 then
12080 ac_save_CPPFLAGS="$CPPFLAGS"
12081 ac_cups_cflags=`cups-config --cflags 2>/dev/null`
12082 ac_cups_libs=`cups-config --ldflags 2>/dev/null`
12083 CPPFLAGS="$CPPFLAGS $ac_cups_cflags"
12084 for ac_header in cups/cups.h
12085 do :
12086 ac_fn_c_check_header_mongrel "$LINENO" "cups/cups.h" "ac_cv_header_cups_cups_h" "$ac_includes_default"
12087 if test "x$ac_cv_header_cups_cups_h" = xyes; then :
12088 cat >>confdefs.h <<_ACEOF
12089 #define HAVE_CUPS_CUPS_H 1
12090 _ACEOF
12091 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lcups" >&5
12092 $as_echo_n "checking for -lcups... " >&6; }
12093 if ${ac_cv_lib_soname_cups+:} false; then :
12094 $as_echo_n "(cached) " >&6
12095 else
12096 ac_check_soname_save_LIBS=$LIBS
12097 LIBS="-lcups $ac_cups_libs $LIBS"
12098 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12099 /* end confdefs.h. */
12101 /* Override any GCC internal prototype to avoid an error.
12102 Use char because int might match the return type of a GCC
12103 builtin and then its argument prototype would still apply. */
12104 #ifdef __cplusplus
12105 extern "C"
12106 #endif
12107 char cupsGetDefault ();
12109 main ()
12111 return cupsGetDefault ();
12113 return 0;
12115 _ACEOF
12116 if ac_fn_c_try_link "$LINENO"; then :
12117 case "$LIBEXT" in
12118 dll) ac_cv_lib_soname_cups=`$ac_cv_path_LDD conftest.exe | grep "cups" | sed -e "s/dll.*/dll/"';2,$d'` ;;
12119 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'` ;;
12120 *) ac_cv_lib_soname_cups=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libcups\\.$LIBEXT" | sed -e "s/^.*\\[\\(libcups\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
12121 if test "x$ac_cv_lib_soname_cups" = x; then :
12122 ac_cv_lib_soname_cups=`$LDD conftest$ac_exeext | grep "libcups\\.$LIBEXT" | sed -e "s/^.*\(libcups\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
12123 fi ;;
12124 esac
12126 rm -f core conftest.err conftest.$ac_objext \
12127 conftest$ac_exeext conftest.$ac_ext
12128 LIBS=$ac_check_soname_save_LIBS
12130 if test "x$ac_cv_lib_soname_cups" = "x"; then :
12131 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
12132 $as_echo "not found" >&6; }
12134 else
12135 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_cups" >&5
12136 $as_echo "$ac_cv_lib_soname_cups" >&6; }
12138 cat >>confdefs.h <<_ACEOF
12139 #define SONAME_LIBCUPS "$ac_cv_lib_soname_cups"
12140 _ACEOF
12142 CUPSINCL="$ac_cups_cflags"
12146 done
12148 CPPFLAGS="$ac_save_CPPFLAGS"
12150 if test "x$ac_cv_lib_soname_cups" = "x"; then :
12151 case "x$with_cups" in
12152 x) as_fn_append wine_notices "|libcups ${notice_platform}development files not found, CUPS won't be supported." ;;
12153 xno) ;;
12154 *) as_fn_error $? "libcups ${notice_platform}development files not found, CUPS won't be supported.
12155 This is an error since --with-cups was requested." "$LINENO" 5 ;;
12156 esac
12159 if test "$ac_cv_header_fontconfig_fontconfig_h" = "yes"
12160 then
12161 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lfontconfig" >&5
12162 $as_echo_n "checking for -lfontconfig... " >&6; }
12163 if ${ac_cv_lib_soname_fontconfig+:} false; then :
12164 $as_echo_n "(cached) " >&6
12165 else
12166 ac_check_soname_save_LIBS=$LIBS
12167 LIBS="-lfontconfig $LIBS"
12168 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12169 /* end confdefs.h. */
12171 /* Override any GCC internal prototype to avoid an error.
12172 Use char because int might match the return type of a GCC
12173 builtin and then its argument prototype would still apply. */
12174 #ifdef __cplusplus
12175 extern "C"
12176 #endif
12177 char FcInit ();
12179 main ()
12181 return FcInit ();
12183 return 0;
12185 _ACEOF
12186 if ac_fn_c_try_link "$LINENO"; then :
12187 case "$LIBEXT" in
12188 dll) ac_cv_lib_soname_fontconfig=`$ac_cv_path_LDD conftest.exe | grep "fontconfig" | sed -e "s/dll.*/dll/"';2,$d'` ;;
12189 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'` ;;
12190 *) ac_cv_lib_soname_fontconfig=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libfontconfig\\.$LIBEXT" | sed -e "s/^.*\\[\\(libfontconfig\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
12191 if test "x$ac_cv_lib_soname_fontconfig" = x; then :
12192 ac_cv_lib_soname_fontconfig=`$LDD conftest$ac_exeext | grep "libfontconfig\\.$LIBEXT" | sed -e "s/^.*\(libfontconfig\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
12193 fi ;;
12194 esac
12196 rm -f core conftest.err conftest.$ac_objext \
12197 conftest$ac_exeext conftest.$ac_ext
12198 LIBS=$ac_check_soname_save_LIBS
12200 if test "x$ac_cv_lib_soname_fontconfig" = "x"; then :
12201 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
12202 $as_echo "not found" >&6; }
12204 else
12205 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_fontconfig" >&5
12206 $as_echo "$ac_cv_lib_soname_fontconfig" >&6; }
12208 cat >>confdefs.h <<_ACEOF
12209 #define SONAME_LIBFONTCONFIG "$ac_cv_lib_soname_fontconfig"
12210 _ACEOF
12214 elif test -n "$X_CFLAGS" -a "x$with_fontconfig" != "xno"
12215 then
12216 ac_save_CPPFLAGS="$CPPFLAGS"
12217 CPPFLAGS="$CPPFLAGS $X_CFLAGS"
12218 $as_unset ac_cv_header_fontconfig_fontconfig_h
12219 for ac_header in fontconfig/fontconfig.h
12220 do :
12221 ac_fn_c_check_header_mongrel "$LINENO" "fontconfig/fontconfig.h" "ac_cv_header_fontconfig_fontconfig_h" "$ac_includes_default"
12222 if test "x$ac_cv_header_fontconfig_fontconfig_h" = xyes; then :
12223 cat >>confdefs.h <<_ACEOF
12224 #define HAVE_FONTCONFIG_FONTCONFIG_H 1
12225 _ACEOF
12229 done
12231 CPPFLAGS="$ac_save_CPPFLAGS"
12232 if test "$ac_cv_header_fontconfig_fontconfig_h" = "yes"
12233 then
12234 FONTCONFIGINCL="$X_CFLAGS"
12236 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lfontconfig" >&5
12237 $as_echo_n "checking for -lfontconfig... " >&6; }
12238 if ${ac_cv_lib_soname_fontconfig+:} false; then :
12239 $as_echo_n "(cached) " >&6
12240 else
12241 ac_check_soname_save_LIBS=$LIBS
12242 LIBS="-lfontconfig $X_LIBS $LIBS"
12243 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12244 /* end confdefs.h. */
12246 /* Override any GCC internal prototype to avoid an error.
12247 Use char because int might match the return type of a GCC
12248 builtin and then its argument prototype would still apply. */
12249 #ifdef __cplusplus
12250 extern "C"
12251 #endif
12252 char FcInit ();
12254 main ()
12256 return FcInit ();
12258 return 0;
12260 _ACEOF
12261 if ac_fn_c_try_link "$LINENO"; then :
12262 case "$LIBEXT" in
12263 dll) ac_cv_lib_soname_fontconfig=`$ac_cv_path_LDD conftest.exe | grep "fontconfig" | sed -e "s/dll.*/dll/"';2,$d'` ;;
12264 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'` ;;
12265 *) ac_cv_lib_soname_fontconfig=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libfontconfig\\.$LIBEXT" | sed -e "s/^.*\\[\\(libfontconfig\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
12266 if test "x$ac_cv_lib_soname_fontconfig" = x; then :
12267 ac_cv_lib_soname_fontconfig=`$LDD conftest$ac_exeext | grep "libfontconfig\\.$LIBEXT" | sed -e "s/^.*\(libfontconfig\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
12268 fi ;;
12269 esac
12271 rm -f core conftest.err conftest.$ac_objext \
12272 conftest$ac_exeext conftest.$ac_ext
12273 LIBS=$ac_check_soname_save_LIBS
12275 if test "x$ac_cv_lib_soname_fontconfig" = "x"; then :
12276 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
12277 $as_echo "not found" >&6; }
12279 else
12280 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_fontconfig" >&5
12281 $as_echo "$ac_cv_lib_soname_fontconfig" >&6; }
12283 cat >>confdefs.h <<_ACEOF
12284 #define SONAME_LIBFONTCONFIG "$ac_cv_lib_soname_fontconfig"
12285 _ACEOF
12291 if test "x$ac_cv_lib_soname_fontconfig" = "x"; then :
12292 case "x$with_fontconfig" in
12293 x) as_fn_append wine_notices "|fontconfig ${notice_platform}development files not found, fontconfig won't be supported." ;;
12294 xno) ;;
12295 *) as_fn_error $? "fontconfig ${notice_platform}development files not found, fontconfig won't be supported.
12296 This is an error since --with-fontconfig was requested." "$LINENO" 5 ;;
12297 esac
12300 if test "$ac_cv_header_gsm_h" = "yes" -o "$ac_cv_header_gsm_gsm_h" = "yes"
12301 then
12302 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lgsm" >&5
12303 $as_echo_n "checking for -lgsm... " >&6; }
12304 if ${ac_cv_lib_soname_gsm+:} false; then :
12305 $as_echo_n "(cached) " >&6
12306 else
12307 ac_check_soname_save_LIBS=$LIBS
12308 LIBS="-lgsm $LIBS"
12309 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12310 /* end confdefs.h. */
12312 /* Override any GCC internal prototype to avoid an error.
12313 Use char because int might match the return type of a GCC
12314 builtin and then its argument prototype would still apply. */
12315 #ifdef __cplusplus
12316 extern "C"
12317 #endif
12318 char gsm_create ();
12320 main ()
12322 return gsm_create ();
12324 return 0;
12326 _ACEOF
12327 if ac_fn_c_try_link "$LINENO"; then :
12328 case "$LIBEXT" in
12329 dll) ac_cv_lib_soname_gsm=`$ac_cv_path_LDD conftest.exe | grep "gsm" | sed -e "s/dll.*/dll/"';2,$d'` ;;
12330 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'` ;;
12331 *) ac_cv_lib_soname_gsm=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libgsm\\.$LIBEXT" | sed -e "s/^.*\\[\\(libgsm\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
12332 if test "x$ac_cv_lib_soname_gsm" = x; then :
12333 ac_cv_lib_soname_gsm=`$LDD conftest$ac_exeext | grep "libgsm\\.$LIBEXT" | sed -e "s/^.*\(libgsm\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
12334 fi ;;
12335 esac
12337 rm -f core conftest.err conftest.$ac_objext \
12338 conftest$ac_exeext conftest.$ac_ext
12339 LIBS=$ac_check_soname_save_LIBS
12341 if test "x$ac_cv_lib_soname_gsm" = "x"; then :
12342 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
12343 $as_echo "not found" >&6; }
12345 else
12346 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_gsm" >&5
12347 $as_echo "$ac_cv_lib_soname_gsm" >&6; }
12349 cat >>confdefs.h <<_ACEOF
12350 #define SONAME_LIBGSM "$ac_cv_lib_soname_gsm"
12351 _ACEOF
12356 if test "x$ac_cv_lib_soname_gsm" = "x"; then :
12357 case "x$with_gsm" in
12358 x) as_fn_append wine_notices "|libgsm ${notice_platform}development files not found, gsm 06.10 codec won't be supported." ;;
12359 xno) ;;
12360 *) as_fn_error $? "libgsm ${notice_platform}development files not found, gsm 06.10 codec won't be supported.
12361 This is an error since --with-gsm was requested." "$LINENO" 5 ;;
12362 esac
12365 if test "x$with_jpeg" != "xno"
12366 then
12367 if test -n "$JPEG_CFLAGS"; then :
12369 elif test -n "$PKG_CONFIG"; then :
12370 JPEG_CFLAGS=`$PKG_CONFIG --cflags libjpeg 2>/dev/null`
12373 if test -n "$JPEG_LIBS"; then :
12375 elif test -n "$PKG_CONFIG"; then :
12376 JPEG_LIBS=`$PKG_CONFIG --libs libjpeg 2>/dev/null`
12380 ac_save_CPPFLAGS=$CPPFLAGS
12381 CPPFLAGS="$CPPFLAGS $JPEG_CFLAGS"
12382 for ac_header in jpeglib.h
12383 do :
12384 ac_fn_c_check_header_mongrel "$LINENO" "jpeglib.h" "ac_cv_header_jpeglib_h" "$ac_includes_default"
12385 if test "x$ac_cv_header_jpeglib_h" = xyes; then :
12386 cat >>confdefs.h <<_ACEOF
12387 #define HAVE_JPEGLIB_H 1
12388 _ACEOF
12392 done
12394 if test "$ac_cv_header_jpeglib_h" = "yes"
12395 then
12396 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -ljpeg" >&5
12397 $as_echo_n "checking for -ljpeg... " >&6; }
12398 if ${ac_cv_lib_soname_jpeg+:} false; then :
12399 $as_echo_n "(cached) " >&6
12400 else
12401 ac_check_soname_save_LIBS=$LIBS
12402 LIBS="-ljpeg $JPEG_LIBS $LIBS"
12403 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12404 /* end confdefs.h. */
12406 /* Override any GCC internal prototype to avoid an error.
12407 Use char because int might match the return type of a GCC
12408 builtin and then its argument prototype would still apply. */
12409 #ifdef __cplusplus
12410 extern "C"
12411 #endif
12412 char jpeg_start_decompress ();
12414 main ()
12416 return jpeg_start_decompress ();
12418 return 0;
12420 _ACEOF
12421 if ac_fn_c_try_link "$LINENO"; then :
12422 case "$LIBEXT" in
12423 dll) ac_cv_lib_soname_jpeg=`$ac_cv_path_LDD conftest.exe | grep "jpeg" | sed -e "s/dll.*/dll/"';2,$d'` ;;
12424 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'` ;;
12425 *) ac_cv_lib_soname_jpeg=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libjpeg\\.$LIBEXT" | sed -e "s/^.*\\[\\(libjpeg\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
12426 if test "x$ac_cv_lib_soname_jpeg" = x; then :
12427 ac_cv_lib_soname_jpeg=`$LDD conftest$ac_exeext | grep "libjpeg\\.$LIBEXT" | sed -e "s/^.*\(libjpeg\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
12428 fi ;;
12429 esac
12431 rm -f core conftest.err conftest.$ac_objext \
12432 conftest$ac_exeext conftest.$ac_ext
12433 LIBS=$ac_check_soname_save_LIBS
12435 if test "x$ac_cv_lib_soname_jpeg" = "x"; then :
12436 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
12437 $as_echo "not found" >&6; }
12438 JPEG_CFLAGS=""
12439 else
12440 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_jpeg" >&5
12441 $as_echo "$ac_cv_lib_soname_jpeg" >&6; }
12443 cat >>confdefs.h <<_ACEOF
12444 #define SONAME_LIBJPEG "$ac_cv_lib_soname_jpeg"
12445 _ACEOF
12449 else
12450 JPEG_CFLAGS=""
12452 CPPFLAGS=$ac_save_CPPFLAGS
12453 test -z "$JPEG_CFLAGS" || JPEG_CFLAGS=`echo " $JPEG_CFLAGS" | sed 's/ -I\([^/]\)/ -I\$(top_builddir)\/\1/g'`
12454 test -z "$JPEG_LIBS" || JPEG_LIBS=`echo " $JPEG_LIBS" | sed 's/ -L\([^/]\)/ -L\$(top_builddir)\/\1/g'`
12457 if test "x$ac_cv_lib_soname_jpeg" = "x"; then :
12458 case "x$with_jpeg" in
12459 x) as_fn_append wine_warnings "|libjpeg ${notice_platform}development files not found, JPEG won't be supported." ;;
12460 xno) ;;
12461 *) as_fn_error $? "libjpeg ${notice_platform}development files not found, JPEG won't be supported.
12462 This is an error since --with-jpeg was requested." "$LINENO" 5 ;;
12463 esac
12466 if test "x$with_png" != "xno"
12467 then
12468 if test -n "$PNG_CFLAGS"; then :
12470 elif test -n "$PKG_CONFIG"; then :
12471 PNG_CFLAGS=`$PKG_CONFIG --cflags libpng 2>/dev/null`
12473 test "$cross_compiling" = yes || PNG_CFLAGS=${PNG_CFLAGS:-$X_CFLAGS}
12474 if test -n "$PNG_LIBS"; then :
12476 elif test -n "$PKG_CONFIG"; then :
12477 PNG_LIBS=`$PKG_CONFIG --libs libpng 2>/dev/null`
12479 test "$cross_compiling" = yes || PNG_LIBS=${PNG_LIBS:-$X_LIBS}
12481 ac_save_CPPFLAGS=$CPPFLAGS
12482 CPPFLAGS="$CPPFLAGS $PNG_CFLAGS"
12483 for ac_header in png.h
12484 do :
12485 ac_fn_c_check_header_mongrel "$LINENO" "png.h" "ac_cv_header_png_h" "$ac_includes_default"
12486 if test "x$ac_cv_header_png_h" = xyes; then :
12487 cat >>confdefs.h <<_ACEOF
12488 #define HAVE_PNG_H 1
12489 _ACEOF
12493 done
12495 if test "$ac_cv_header_png_h" = "yes"
12496 then
12497 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lpng" >&5
12498 $as_echo_n "checking for -lpng... " >&6; }
12499 if ${ac_cv_lib_soname_png+:} false; then :
12500 $as_echo_n "(cached) " >&6
12501 else
12502 ac_check_soname_save_LIBS=$LIBS
12503 LIBS="-lpng $PNG_LIBS -lm -lz $LIBS"
12504 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12505 /* end confdefs.h. */
12507 /* Override any GCC internal prototype to avoid an error.
12508 Use char because int might match the return type of a GCC
12509 builtin and then its argument prototype would still apply. */
12510 #ifdef __cplusplus
12511 extern "C"
12512 #endif
12513 char png_create_read_struct ();
12515 main ()
12517 return png_create_read_struct ();
12519 return 0;
12521 _ACEOF
12522 if ac_fn_c_try_link "$LINENO"; then :
12523 case "$LIBEXT" in
12524 dll) ac_cv_lib_soname_png=`$ac_cv_path_LDD conftest.exe | grep "png" | sed -e "s/dll.*/dll/"';2,$d'` ;;
12525 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'` ;;
12526 *) 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'`
12527 if test "x$ac_cv_lib_soname_png" = x; then :
12528 ac_cv_lib_soname_png=`$LDD conftest$ac_exeext | grep "libpng[0-9]*\\.$LIBEXT" | sed -e "s/^.*\(libpng[0-9]*\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
12529 fi ;;
12530 esac
12532 rm -f core conftest.err conftest.$ac_objext \
12533 conftest$ac_exeext conftest.$ac_ext
12534 LIBS=$ac_check_soname_save_LIBS
12536 if test "x$ac_cv_lib_soname_png" = "x"; then :
12537 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
12538 $as_echo "not found" >&6; }
12539 PNG_CFLAGS=""
12540 else
12541 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_png" >&5
12542 $as_echo "$ac_cv_lib_soname_png" >&6; }
12544 cat >>confdefs.h <<_ACEOF
12545 #define SONAME_LIBPNG "$ac_cv_lib_soname_png"
12546 _ACEOF
12548 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12549 /* end confdefs.h. */
12550 #include <png.h>
12552 main ()
12554 typeof(png_set_expand_gray_1_2_4_to_8) *p
12556 return 0;
12558 _ACEOF
12559 if ac_fn_c_try_compile "$LINENO"; then :
12561 $as_echo "#define HAVE_PNG_SET_EXPAND_GRAY_1_2_4_TO_8 1" >>confdefs.h
12564 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
12566 else
12567 PNG_CFLAGS=""
12569 CPPFLAGS=$ac_save_CPPFLAGS
12570 test -z "$PNG_CFLAGS" || PNG_CFLAGS=`echo " $PNG_CFLAGS" | sed 's/ -I\([^/]\)/ -I\$(top_builddir)\/\1/g'`
12571 test -z "$PNG_LIBS" || PNG_LIBS=`echo " $PNG_LIBS" | sed 's/ -L\([^/]\)/ -L\$(top_builddir)\/\1/g'`
12574 if test "x$ac_cv_lib_soname_png" = "x"; then :
12575 case "x$with_png" in
12576 x) as_fn_append wine_warnings "|libpng ${notice_platform}development files not found, PNG won't be supported." ;;
12577 xno) ;;
12578 *) as_fn_error $? "libpng ${notice_platform}development files not found, PNG won't be supported.
12579 This is an error since --with-png was requested." "$LINENO" 5 ;;
12580 esac
12583 if test "x$with_tiff" != "xno"
12584 then
12585 if test -n "$TIFF_CFLAGS"; then :
12587 elif test -n "$PKG_CONFIG"; then :
12588 TIFF_CFLAGS=`$PKG_CONFIG --cflags libtiff 2>/dev/null`
12591 if test -n "$TIFF_LIBS"; then :
12593 elif test -n "$PKG_CONFIG"; then :
12594 TIFF_LIBS=`$PKG_CONFIG --libs libtiff 2>/dev/null`
12598 ac_save_CPPFLAGS=$CPPFLAGS
12599 CPPFLAGS="$CPPFLAGS $TIFF_CFLAGS"
12600 for ac_header in tiffio.h
12601 do :
12602 ac_fn_c_check_header_mongrel "$LINENO" "tiffio.h" "ac_cv_header_tiffio_h" "$ac_includes_default"
12603 if test "x$ac_cv_header_tiffio_h" = xyes; then :
12604 cat >>confdefs.h <<_ACEOF
12605 #define HAVE_TIFFIO_H 1
12606 _ACEOF
12610 done
12612 if test "$ac_cv_header_tiffio_h" = "yes"
12613 then
12614 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -ltiff" >&5
12615 $as_echo_n "checking for -ltiff... " >&6; }
12616 if ${ac_cv_lib_soname_tiff+:} false; then :
12617 $as_echo_n "(cached) " >&6
12618 else
12619 ac_check_soname_save_LIBS=$LIBS
12620 LIBS="-ltiff $TIFF_LIBS $LIBS"
12621 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12622 /* end confdefs.h. */
12624 /* Override any GCC internal prototype to avoid an error.
12625 Use char because int might match the return type of a GCC
12626 builtin and then its argument prototype would still apply. */
12627 #ifdef __cplusplus
12628 extern "C"
12629 #endif
12630 char TIFFClientOpen ();
12632 main ()
12634 return TIFFClientOpen ();
12636 return 0;
12638 _ACEOF
12639 if ac_fn_c_try_link "$LINENO"; then :
12640 case "$LIBEXT" in
12641 dll) ac_cv_lib_soname_tiff=`$ac_cv_path_LDD conftest.exe | grep "tiff" | sed -e "s/dll.*/dll/"';2,$d'` ;;
12642 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'` ;;
12643 *) ac_cv_lib_soname_tiff=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libtiff\\.$LIBEXT" | sed -e "s/^.*\\[\\(libtiff\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
12644 if test "x$ac_cv_lib_soname_tiff" = x; then :
12645 ac_cv_lib_soname_tiff=`$LDD conftest$ac_exeext | grep "libtiff\\.$LIBEXT" | sed -e "s/^.*\(libtiff\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
12646 fi ;;
12647 esac
12649 rm -f core conftest.err conftest.$ac_objext \
12650 conftest$ac_exeext conftest.$ac_ext
12651 LIBS=$ac_check_soname_save_LIBS
12653 if test "x$ac_cv_lib_soname_tiff" = "x"; then :
12654 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
12655 $as_echo "not found" >&6; }
12657 else
12658 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_tiff" >&5
12659 $as_echo "$ac_cv_lib_soname_tiff" >&6; }
12661 cat >>confdefs.h <<_ACEOF
12662 #define SONAME_LIBTIFF "$ac_cv_lib_soname_tiff"
12663 _ACEOF
12668 CPPFLAGS=$ac_save_CPPFLAGS
12669 test -z "$TIFF_CFLAGS" || TIFF_CFLAGS=`echo " $TIFF_CFLAGS" | sed 's/ -I\([^/]\)/ -I\$(top_builddir)\/\1/g'`
12670 test -z "$TIFF_LIBS" || TIFF_LIBS=`echo " $TIFF_LIBS" | sed 's/ -L\([^/]\)/ -L\$(top_builddir)\/\1/g'`
12673 if test "x$ac_cv_lib_soname_tiff" = "x"; then :
12674 case "x$with_tiff" in
12675 x) as_fn_append wine_notices "|libtiff ${notice_platform}development files not found, TIFF won't be supported." ;;
12676 xno) ;;
12677 *) as_fn_error $? "libtiff ${notice_platform}development files not found, TIFF won't be supported.
12678 This is an error since --with-tiff was requested." "$LINENO" 5 ;;
12679 esac
12682 if test "x$with_mpg123" != "xno"
12683 then
12684 if test -n "$MPG123_CFLAGS"; then :
12686 elif test -n "$PKG_CONFIG"; then :
12687 MPG123_CFLAGS=`$PKG_CONFIG --cflags libmpg123 2>/dev/null`
12690 if test -n "$MPG123_LIBS"; then :
12692 elif test -n "$PKG_CONFIG"; then :
12693 MPG123_LIBS=`$PKG_CONFIG --libs libmpg123 2>/dev/null`
12696 MPG123_LIBS=${MPG123_LIBS:-"-lmpg123"}
12697 ac_save_CPPFLAGS=$CPPFLAGS
12698 CPPFLAGS="$CPPFLAGS $MPG123_CFLAGS"
12699 for ac_header in mpg123.h
12700 do :
12701 ac_fn_c_check_header_mongrel "$LINENO" "mpg123.h" "ac_cv_header_mpg123_h" "$ac_includes_default"
12702 if test "x$ac_cv_header_mpg123_h" = xyes; then :
12703 cat >>confdefs.h <<_ACEOF
12704 #define HAVE_MPG123_H 1
12705 _ACEOF
12709 done
12711 if test "$ac_cv_header_mpg123_h" = "yes"
12712 then
12713 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for mpg123_feed in -lmpg123" >&5
12714 $as_echo_n "checking for mpg123_feed in -lmpg123... " >&6; }
12715 if ${ac_cv_lib_mpg123_mpg123_feed+:} false; then :
12716 $as_echo_n "(cached) " >&6
12717 else
12718 ac_check_lib_save_LIBS=$LIBS
12719 LIBS="-lmpg123 $MPG123_LIBS $LIBS"
12720 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12721 /* end confdefs.h. */
12723 /* Override any GCC internal prototype to avoid an error.
12724 Use char because int might match the return type of a GCC
12725 builtin and then its argument prototype would still apply. */
12726 #ifdef __cplusplus
12727 extern "C"
12728 #endif
12729 char mpg123_feed ();
12731 main ()
12733 return mpg123_feed ();
12735 return 0;
12737 _ACEOF
12738 if ac_fn_c_try_link "$LINENO"; then :
12739 ac_cv_lib_mpg123_mpg123_feed=yes
12740 else
12741 ac_cv_lib_mpg123_mpg123_feed=no
12743 rm -f core conftest.err conftest.$ac_objext \
12744 conftest$ac_exeext conftest.$ac_ext
12745 LIBS=$ac_check_lib_save_LIBS
12747 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_mpg123_mpg123_feed" >&5
12748 $as_echo "$ac_cv_lib_mpg123_mpg123_feed" >&6; }
12749 if test "x$ac_cv_lib_mpg123_mpg123_feed" = xyes; then :
12751 else
12752 MPG123_LIBS=""
12755 else
12756 MPG123_CFLAGS=""
12757 MPG123_LIBS=""
12759 CPPFLAGS=$ac_save_CPPFLAGS
12760 test -z "$MPG123_CFLAGS" || MPG123_CFLAGS=`echo " $MPG123_CFLAGS" | sed 's/ -I\([^/]\)/ -I\$(top_builddir)\/\1/g'`
12761 test -z "$MPG123_LIBS" || MPG123_LIBS=`echo " $MPG123_LIBS" | sed 's/ -L\([^/]\)/ -L\$(top_builddir)\/\1/g'`
12764 if test "x$ac_cv_lib_mpg123_mpg123_feed" != xyes -a x"$ac_cv_header_CoreAudio_CoreAudio_h" != xyes; then :
12765 case "x$with_mpg123" in
12766 x) as_fn_append wine_notices "|libmpg123 ${notice_platform}development files not found (or too old), mp3 codec won't be supported." ;;
12767 xno) ;;
12768 *) as_fn_error $? "libmpg123 ${notice_platform}development files not found (or too old), mp3 codec won't be supported.
12769 This is an error since --with-mpg123 was requested." "$LINENO" 5 ;;
12770 esac
12772 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}
12774 if test "$ac_cv_header_AL_al_h" = "yes"
12775 then
12776 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lopenal" >&5
12777 $as_echo_n "checking for -lopenal... " >&6; }
12778 if ${ac_cv_lib_soname_openal+:} false; then :
12779 $as_echo_n "(cached) " >&6
12780 else
12781 ac_check_soname_save_LIBS=$LIBS
12782 LIBS="-lopenal $LIBS"
12783 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12784 /* end confdefs.h. */
12786 /* Override any GCC internal prototype to avoid an error.
12787 Use char because int might match the return type of a GCC
12788 builtin and then its argument prototype would still apply. */
12789 #ifdef __cplusplus
12790 extern "C"
12791 #endif
12792 char alGetSource3i ();
12794 main ()
12796 return alGetSource3i ();
12798 return 0;
12800 _ACEOF
12801 if ac_fn_c_try_link "$LINENO"; then :
12802 case "$LIBEXT" in
12803 dll) ac_cv_lib_soname_openal=`$ac_cv_path_LDD conftest.exe | grep "openal" | sed -e "s/dll.*/dll/"';2,$d'` ;;
12804 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'` ;;
12805 *) ac_cv_lib_soname_openal=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libopenal\\.$LIBEXT" | sed -e "s/^.*\\[\\(libopenal\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
12806 if test "x$ac_cv_lib_soname_openal" = x; then :
12807 ac_cv_lib_soname_openal=`$LDD conftest$ac_exeext | grep "libopenal\\.$LIBEXT" | sed -e "s/^.*\(libopenal\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
12808 fi ;;
12809 esac
12811 rm -f core conftest.err conftest.$ac_objext \
12812 conftest$ac_exeext conftest.$ac_ext
12813 LIBS=$ac_check_soname_save_LIBS
12815 if test "x$ac_cv_lib_soname_openal" = "x"; then :
12816 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
12817 $as_echo "not found" >&6; }
12819 else
12820 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_openal" >&5
12821 $as_echo "$ac_cv_lib_soname_openal" >&6; }
12823 cat >>confdefs.h <<_ACEOF
12824 #define SONAME_LIBOPENAL "$ac_cv_lib_soname_openal"
12825 _ACEOF
12827 LIBOPENAL="-lopenal"
12829 ac_cv_lib_openal=yes
12831 cat >>confdefs.h <<_ACEOF
12832 #define HAVE_OPENAL 1
12833 _ACEOF
12837 if test "x$ac_cv_lib_openal" != xyes; then :
12838 case "x$with_openal" in
12839 x) as_fn_append wine_notices "|libopenal ${notice_platform}development files not found (or too old), OpenAL won't be supported." ;;
12840 xno) ;;
12841 *) as_fn_error $? "libopenal ${notice_platform}development files not found (or too old), OpenAL won't be supported.
12842 This is an error since --with-openal was requested." "$LINENO" 5 ;;
12843 esac
12845 test "x$ac_cv_lib_openal" = xyes || enable_openal32=${enable_openal32:-no}
12847 if test "$ac_cv_header_kstat_h" = "yes"
12848 then
12849 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for kstat_open in -lkstat" >&5
12850 $as_echo_n "checking for kstat_open in -lkstat... " >&6; }
12851 if ${ac_cv_lib_kstat_kstat_open+:} false; then :
12852 $as_echo_n "(cached) " >&6
12853 else
12854 ac_check_lib_save_LIBS=$LIBS
12855 LIBS="-lkstat $LIBS"
12856 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12857 /* end confdefs.h. */
12859 /* Override any GCC internal prototype to avoid an error.
12860 Use char because int might match the return type of a GCC
12861 builtin and then its argument prototype would still apply. */
12862 #ifdef __cplusplus
12863 extern "C"
12864 #endif
12865 char kstat_open ();
12867 main ()
12869 return kstat_open ();
12871 return 0;
12873 _ACEOF
12874 if ac_fn_c_try_link "$LINENO"; then :
12875 ac_cv_lib_kstat_kstat_open=yes
12876 else
12877 ac_cv_lib_kstat_kstat_open=no
12879 rm -f core conftest.err conftest.$ac_objext \
12880 conftest$ac_exeext conftest.$ac_ext
12881 LIBS=$ac_check_lib_save_LIBS
12883 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_kstat_kstat_open" >&5
12884 $as_echo "$ac_cv_lib_kstat_kstat_open" >&6; }
12885 if test "x$ac_cv_lib_kstat_kstat_open" = xyes; then :
12887 $as_echo "#define HAVE_LIBKSTAT 1" >>confdefs.h
12889 LIBKSTAT="-lkstat"
12895 if test "$ac_cv_header_libprocstat_h" = "yes"
12896 then
12897 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for procstat_open_sysctl in -lprocstat" >&5
12898 $as_echo_n "checking for procstat_open_sysctl in -lprocstat... " >&6; }
12899 if ${ac_cv_lib_procstat_procstat_open_sysctl+:} false; then :
12900 $as_echo_n "(cached) " >&6
12901 else
12902 ac_check_lib_save_LIBS=$LIBS
12903 LIBS="-lprocstat $LIBS"
12904 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12905 /* end confdefs.h. */
12907 /* Override any GCC internal prototype to avoid an error.
12908 Use char because int might match the return type of a GCC
12909 builtin and then its argument prototype would still apply. */
12910 #ifdef __cplusplus
12911 extern "C"
12912 #endif
12913 char procstat_open_sysctl ();
12915 main ()
12917 return procstat_open_sysctl ();
12919 return 0;
12921 _ACEOF
12922 if ac_fn_c_try_link "$LINENO"; then :
12923 ac_cv_lib_procstat_procstat_open_sysctl=yes
12924 else
12925 ac_cv_lib_procstat_procstat_open_sysctl=no
12927 rm -f core conftest.err conftest.$ac_objext \
12928 conftest$ac_exeext conftest.$ac_ext
12929 LIBS=$ac_check_lib_save_LIBS
12931 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_procstat_procstat_open_sysctl" >&5
12932 $as_echo "$ac_cv_lib_procstat_procstat_open_sysctl" >&6; }
12933 if test "x$ac_cv_lib_procstat_procstat_open_sysctl" = xyes; then :
12935 $as_echo "#define HAVE_LIBPROCSTAT 1" >>confdefs.h
12937 LIBPROCSTAT="-lprocstat"
12943 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lodbc" >&5
12944 $as_echo_n "checking for -lodbc... " >&6; }
12945 if ${ac_cv_lib_soname_odbc+:} false; then :
12946 $as_echo_n "(cached) " >&6
12947 else
12948 ac_check_soname_save_LIBS=$LIBS
12949 LIBS="-lodbc $LIBS"
12950 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12951 /* end confdefs.h. */
12953 /* Override any GCC internal prototype to avoid an error.
12954 Use char because int might match the return type of a GCC
12955 builtin and then its argument prototype would still apply. */
12956 #ifdef __cplusplus
12957 extern "C"
12958 #endif
12959 char SQLConnect ();
12961 main ()
12963 return SQLConnect ();
12965 return 0;
12967 _ACEOF
12968 if ac_fn_c_try_link "$LINENO"; then :
12969 case "$LIBEXT" in
12970 dll) ac_cv_lib_soname_odbc=`$ac_cv_path_LDD conftest.exe | grep "odbc" | sed -e "s/dll.*/dll/"';2,$d'` ;;
12971 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'` ;;
12972 *) ac_cv_lib_soname_odbc=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libodbc\\.$LIBEXT" | sed -e "s/^.*\\[\\(libodbc\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
12973 if test "x$ac_cv_lib_soname_odbc" = x; then :
12974 ac_cv_lib_soname_odbc=`$LDD conftest$ac_exeext | grep "libodbc\\.$LIBEXT" | sed -e "s/^.*\(libodbc\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
12975 fi ;;
12976 esac
12978 rm -f core conftest.err conftest.$ac_objext \
12979 conftest$ac_exeext conftest.$ac_ext
12980 LIBS=$ac_check_soname_save_LIBS
12982 if test "x$ac_cv_lib_soname_odbc" = "x"; then :
12983 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
12984 $as_echo "not found" >&6; }
12985 cat >>confdefs.h <<_ACEOF
12986 #define SONAME_LIBODBC "libodbc.$LIBEXT"
12987 _ACEOF
12989 else
12990 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_odbc" >&5
12991 $as_echo "$ac_cv_lib_soname_odbc" >&6; }
12993 cat >>confdefs.h <<_ACEOF
12994 #define SONAME_LIBODBC "$ac_cv_lib_soname_odbc"
12995 _ACEOF
13000 test -n "$ALSALIBS" || enable_winealsa_drv=${enable_winealsa_drv:-no}
13001 test -n "$COREAUDIO" || enable_winecoreaudio_drv=${enable_winecoreaudio_drv:-no}
13002 test "x$ac_cv_member_oss_sysinfo_numaudioengines" = xyes || enable_wineoss_drv=${enable_wineoss_drv:-no}
13003 test "$ac_cv_header_linux_joystick_h" = "yes" || enable_winejoystick_drv=${enable_winejoystick_drv:-no}
13005 if test "x$ALSALIBS$COREAUDIO" = "x" -a \
13006 "x$ac_cv_member_oss_sysinfo_numaudioengines" != xyes -a \
13007 "x$with_alsa$with_coreaudio$with_oss" != xnonono
13008 then
13009 as_fn_append wine_warnings "|No sound system was found. Windows applications will be silent."
13013 EXTRACFLAGS=""
13015 if test "x${GCC}" = "xyes"
13016 then
13017 EXTRACFLAGS="-Wall -pipe"
13019 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for gcc strength-reduce bug" >&5
13020 $as_echo_n "checking for gcc strength-reduce bug... " >&6; }
13021 if ${ac_cv_c_gcc_strength_bug+:} false; then :
13022 $as_echo_n "(cached) " >&6
13023 else
13024 if test "$cross_compiling" = yes; then :
13025 ac_cv_c_gcc_strength_bug="yes"
13026 else
13027 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13028 /* end confdefs.h. */
13029 int L[4] = {0,1,2,3};
13031 main ()
13033 static int Array[3];
13034 unsigned int B = 3;
13035 int i;
13036 for(i=0; i<B; i++) Array[i] = i - 3;
13037 for(i=0; i<4 - 1; i++) L[i] = L[i + 1];
13038 L[i] = 4;
13039 return (Array[1] != -2 || L[2] != 3)
13041 return 0;
13043 _ACEOF
13044 if ac_fn_c_try_run "$LINENO"; then :
13045 ac_cv_c_gcc_strength_bug="no"
13046 else
13047 ac_cv_c_gcc_strength_bug="yes"
13049 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \
13050 conftest.$ac_objext conftest.beam conftest.$ac_ext
13054 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_gcc_strength_bug" >&5
13055 $as_echo "$ac_cv_c_gcc_strength_bug" >&6; }
13056 if test "$ac_cv_c_gcc_strength_bug" = "yes"
13057 then
13058 EXTRACFLAGS="$EXTRACFLAGS -fno-strength-reduce"
13061 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -fno-builtin" >&5
13062 $as_echo_n "checking whether the compiler supports -fno-builtin... " >&6; }
13063 if ${ac_cv_cflags__fno_builtin+:} false; then :
13064 $as_echo_n "(cached) " >&6
13065 else
13066 ac_wine_try_cflags_saved=$CFLAGS
13067 CFLAGS="$CFLAGS -fno-builtin"
13068 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13069 /* end confdefs.h. */
13070 int main(int argc, char **argv) { return 0; }
13071 _ACEOF
13072 if ac_fn_c_try_link "$LINENO"; then :
13073 ac_cv_cflags__fno_builtin=yes
13074 else
13075 ac_cv_cflags__fno_builtin=no
13077 rm -f core conftest.err conftest.$ac_objext \
13078 conftest$ac_exeext conftest.$ac_ext
13079 CFLAGS=$ac_wine_try_cflags_saved
13081 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__fno_builtin" >&5
13082 $as_echo "$ac_cv_cflags__fno_builtin" >&6; }
13083 if test $ac_cv_cflags__fno_builtin = yes; then :
13084 BUILTINFLAG="-fno-builtin"
13087 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -fno-strict-aliasing" >&5
13088 $as_echo_n "checking whether the compiler supports -fno-strict-aliasing... " >&6; }
13089 if ${ac_cv_cflags__fno_strict_aliasing+:} false; then :
13090 $as_echo_n "(cached) " >&6
13091 else
13092 ac_wine_try_cflags_saved=$CFLAGS
13093 CFLAGS="$CFLAGS -fno-strict-aliasing"
13094 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13095 /* end confdefs.h. */
13096 int main(int argc, char **argv) { return 0; }
13097 _ACEOF
13098 if ac_fn_c_try_link "$LINENO"; then :
13099 ac_cv_cflags__fno_strict_aliasing=yes
13100 else
13101 ac_cv_cflags__fno_strict_aliasing=no
13103 rm -f core conftest.err conftest.$ac_objext \
13104 conftest$ac_exeext conftest.$ac_ext
13105 CFLAGS=$ac_wine_try_cflags_saved
13107 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__fno_strict_aliasing" >&5
13108 $as_echo "$ac_cv_cflags__fno_strict_aliasing" >&6; }
13109 if test $ac_cv_cflags__fno_strict_aliasing = yes; then :
13110 EXTRACFLAGS="$EXTRACFLAGS -fno-strict-aliasing"
13112 saved_CFLAGS=$CFLAGS
13113 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Werror=unknown-warning-option" >&5
13114 $as_echo_n "checking whether the compiler supports -Werror=unknown-warning-option... " >&6; }
13115 if ${ac_cv_cflags__Werror_unknown_warning_option+:} false; then :
13116 $as_echo_n "(cached) " >&6
13117 else
13118 ac_wine_try_cflags_saved=$CFLAGS
13119 CFLAGS="$CFLAGS -Werror=unknown-warning-option"
13120 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13121 /* end confdefs.h. */
13122 int main(int argc, char **argv) { return 0; }
13123 _ACEOF
13124 if ac_fn_c_try_link "$LINENO"; then :
13125 ac_cv_cflags__Werror_unknown_warning_option=yes
13126 else
13127 ac_cv_cflags__Werror_unknown_warning_option=no
13129 rm -f core conftest.err conftest.$ac_objext \
13130 conftest$ac_exeext conftest.$ac_ext
13131 CFLAGS=$ac_wine_try_cflags_saved
13133 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Werror_unknown_warning_option" >&5
13134 $as_echo "$ac_cv_cflags__Werror_unknown_warning_option" >&6; }
13135 if test $ac_cv_cflags__Werror_unknown_warning_option = yes; then :
13136 CFLAGS="$CFLAGS -Werror=unknown-warning-option"
13138 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wdeclaration-after-statement" >&5
13139 $as_echo_n "checking whether the compiler supports -Wdeclaration-after-statement... " >&6; }
13140 if ${ac_cv_cflags__Wdeclaration_after_statement+:} false; then :
13141 $as_echo_n "(cached) " >&6
13142 else
13143 ac_wine_try_cflags_saved=$CFLAGS
13144 CFLAGS="$CFLAGS -Wdeclaration-after-statement"
13145 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13146 /* end confdefs.h. */
13147 int main(int argc, char **argv) { return 0; }
13148 _ACEOF
13149 if ac_fn_c_try_link "$LINENO"; then :
13150 ac_cv_cflags__Wdeclaration_after_statement=yes
13151 else
13152 ac_cv_cflags__Wdeclaration_after_statement=no
13154 rm -f core conftest.err conftest.$ac_objext \
13155 conftest$ac_exeext conftest.$ac_ext
13156 CFLAGS=$ac_wine_try_cflags_saved
13158 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wdeclaration_after_statement" >&5
13159 $as_echo "$ac_cv_cflags__Wdeclaration_after_statement" >&6; }
13160 if test $ac_cv_cflags__Wdeclaration_after_statement = yes; then :
13161 EXTRACFLAGS="$EXTRACFLAGS -Wdeclaration-after-statement"
13163 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wempty-body" >&5
13164 $as_echo_n "checking whether the compiler supports -Wempty-body... " >&6; }
13165 if ${ac_cv_cflags__Wempty_body+:} false; then :
13166 $as_echo_n "(cached) " >&6
13167 else
13168 ac_wine_try_cflags_saved=$CFLAGS
13169 CFLAGS="$CFLAGS -Wempty-body"
13170 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13171 /* end confdefs.h. */
13172 int main(int argc, char **argv) { return 0; }
13173 _ACEOF
13174 if ac_fn_c_try_link "$LINENO"; then :
13175 ac_cv_cflags__Wempty_body=yes
13176 else
13177 ac_cv_cflags__Wempty_body=no
13179 rm -f core conftest.err conftest.$ac_objext \
13180 conftest$ac_exeext conftest.$ac_ext
13181 CFLAGS=$ac_wine_try_cflags_saved
13183 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wempty_body" >&5
13184 $as_echo "$ac_cv_cflags__Wempty_body" >&6; }
13185 if test $ac_cv_cflags__Wempty_body = yes; then :
13186 EXTRACFLAGS="$EXTRACFLAGS -Wempty-body"
13188 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wignored-qualifiers" >&5
13189 $as_echo_n "checking whether the compiler supports -Wignored-qualifiers... " >&6; }
13190 if ${ac_cv_cflags__Wignored_qualifiers+:} false; then :
13191 $as_echo_n "(cached) " >&6
13192 else
13193 ac_wine_try_cflags_saved=$CFLAGS
13194 CFLAGS="$CFLAGS -Wignored-qualifiers"
13195 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13196 /* end confdefs.h. */
13197 int main(int argc, char **argv) { return 0; }
13198 _ACEOF
13199 if ac_fn_c_try_link "$LINENO"; then :
13200 ac_cv_cflags__Wignored_qualifiers=yes
13201 else
13202 ac_cv_cflags__Wignored_qualifiers=no
13204 rm -f core conftest.err conftest.$ac_objext \
13205 conftest$ac_exeext conftest.$ac_ext
13206 CFLAGS=$ac_wine_try_cflags_saved
13208 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wignored_qualifiers" >&5
13209 $as_echo "$ac_cv_cflags__Wignored_qualifiers" >&6; }
13210 if test $ac_cv_cflags__Wignored_qualifiers = yes; then :
13211 EXTRACFLAGS="$EXTRACFLAGS -Wignored-qualifiers"
13213 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wstrict-prototypes" >&5
13214 $as_echo_n "checking whether the compiler supports -Wstrict-prototypes... " >&6; }
13215 if ${ac_cv_cflags__Wstrict_prototypes+:} false; then :
13216 $as_echo_n "(cached) " >&6
13217 else
13218 ac_wine_try_cflags_saved=$CFLAGS
13219 CFLAGS="$CFLAGS -Wstrict-prototypes"
13220 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13221 /* end confdefs.h. */
13222 int main(int argc, char **argv) { return 0; }
13223 _ACEOF
13224 if ac_fn_c_try_link "$LINENO"; then :
13225 ac_cv_cflags__Wstrict_prototypes=yes
13226 else
13227 ac_cv_cflags__Wstrict_prototypes=no
13229 rm -f core conftest.err conftest.$ac_objext \
13230 conftest$ac_exeext conftest.$ac_ext
13231 CFLAGS=$ac_wine_try_cflags_saved
13233 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wstrict_prototypes" >&5
13234 $as_echo "$ac_cv_cflags__Wstrict_prototypes" >&6; }
13235 if test $ac_cv_cflags__Wstrict_prototypes = yes; then :
13236 EXTRACFLAGS="$EXTRACFLAGS -Wstrict-prototypes"
13238 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wtype-limits" >&5
13239 $as_echo_n "checking whether the compiler supports -Wtype-limits... " >&6; }
13240 if ${ac_cv_cflags__Wtype_limits+:} false; then :
13241 $as_echo_n "(cached) " >&6
13242 else
13243 ac_wine_try_cflags_saved=$CFLAGS
13244 CFLAGS="$CFLAGS -Wtype-limits"
13245 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13246 /* end confdefs.h. */
13247 int main(int argc, char **argv) { return 0; }
13248 _ACEOF
13249 if ac_fn_c_try_link "$LINENO"; then :
13250 ac_cv_cflags__Wtype_limits=yes
13251 else
13252 ac_cv_cflags__Wtype_limits=no
13254 rm -f core conftest.err conftest.$ac_objext \
13255 conftest$ac_exeext conftest.$ac_ext
13256 CFLAGS=$ac_wine_try_cflags_saved
13258 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wtype_limits" >&5
13259 $as_echo "$ac_cv_cflags__Wtype_limits" >&6; }
13260 if test $ac_cv_cflags__Wtype_limits = yes; then :
13261 EXTRACFLAGS="$EXTRACFLAGS -Wtype-limits"
13263 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wunused-but-set-parameter" >&5
13264 $as_echo_n "checking whether the compiler supports -Wunused-but-set-parameter... " >&6; }
13265 if ${ac_cv_cflags__Wunused_but_set_parameter+:} false; then :
13266 $as_echo_n "(cached) " >&6
13267 else
13268 ac_wine_try_cflags_saved=$CFLAGS
13269 CFLAGS="$CFLAGS -Wunused-but-set-parameter"
13270 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13271 /* end confdefs.h. */
13272 int main(int argc, char **argv) { return 0; }
13273 _ACEOF
13274 if ac_fn_c_try_link "$LINENO"; then :
13275 ac_cv_cflags__Wunused_but_set_parameter=yes
13276 else
13277 ac_cv_cflags__Wunused_but_set_parameter=no
13279 rm -f core conftest.err conftest.$ac_objext \
13280 conftest$ac_exeext conftest.$ac_ext
13281 CFLAGS=$ac_wine_try_cflags_saved
13283 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wunused_but_set_parameter" >&5
13284 $as_echo "$ac_cv_cflags__Wunused_but_set_parameter" >&6; }
13285 if test $ac_cv_cflags__Wunused_but_set_parameter = yes; then :
13286 EXTRACFLAGS="$EXTRACFLAGS -Wunused-but-set-parameter"
13288 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wwrite-strings" >&5
13289 $as_echo_n "checking whether the compiler supports -Wwrite-strings... " >&6; }
13290 if ${ac_cv_cflags__Wwrite_strings+:} false; then :
13291 $as_echo_n "(cached) " >&6
13292 else
13293 ac_wine_try_cflags_saved=$CFLAGS
13294 CFLAGS="$CFLAGS -Wwrite-strings"
13295 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13296 /* end confdefs.h. */
13297 int main(int argc, char **argv) { return 0; }
13298 _ACEOF
13299 if ac_fn_c_try_link "$LINENO"; then :
13300 ac_cv_cflags__Wwrite_strings=yes
13301 else
13302 ac_cv_cflags__Wwrite_strings=no
13304 rm -f core conftest.err conftest.$ac_objext \
13305 conftest$ac_exeext conftest.$ac_ext
13306 CFLAGS=$ac_wine_try_cflags_saved
13308 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wwrite_strings" >&5
13309 $as_echo "$ac_cv_cflags__Wwrite_strings" >&6; }
13310 if test $ac_cv_cflags__Wwrite_strings = yes; then :
13311 EXTRACFLAGS="$EXTRACFLAGS -Wwrite-strings"
13314 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wpointer-arith" >&5
13315 $as_echo_n "checking whether the compiler supports -Wpointer-arith... " >&6; }
13316 if ${ac_cv_cflags__Wpointer_arith+:} false; then :
13317 $as_echo_n "(cached) " >&6
13318 else
13319 ac_wine_try_cflags_saved=$CFLAGS
13320 CFLAGS="$CFLAGS -Wpointer-arith"
13321 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13322 /* end confdefs.h. */
13323 int main(int argc, char **argv) { return 0; }
13324 _ACEOF
13325 if ac_fn_c_try_link "$LINENO"; then :
13326 ac_cv_cflags__Wpointer_arith=yes
13327 else
13328 ac_cv_cflags__Wpointer_arith=no
13330 rm -f core conftest.err conftest.$ac_objext \
13331 conftest$ac_exeext conftest.$ac_ext
13332 CFLAGS=$ac_wine_try_cflags_saved
13334 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wpointer_arith" >&5
13335 $as_echo "$ac_cv_cflags__Wpointer_arith" >&6; }
13336 if test $ac_cv_cflags__Wpointer_arith = yes; then :
13337 saved_string_h_CFLAGS=$CFLAGS
13338 CFLAGS="$CFLAGS -Wpointer-arith -Werror"
13339 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for broken string.h that generates warnings with -Wpointer-arith" >&5
13340 $as_echo_n "checking for broken string.h that generates warnings with -Wpointer-arith... " >&6; }
13341 if ${ac_cv_c_string_h_warnings+:} false; then :
13342 $as_echo_n "(cached) " >&6
13343 else
13344 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13345 /* end confdefs.h. */
13346 #include <string.h>
13348 main ()
13352 return 0;
13354 _ACEOF
13355 if ac_fn_c_try_compile "$LINENO"; then :
13356 ac_cv_c_string_h_warnings=no
13357 else
13358 ac_cv_c_string_h_warnings=yes
13360 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
13362 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_string_h_warnings" >&5
13363 $as_echo "$ac_cv_c_string_h_warnings" >&6; }
13364 test "$ac_cv_c_string_h_warnings" = yes || EXTRACFLAGS="$EXTRACFLAGS -Wpointer-arith"
13365 CFLAGS=$saved_string_h_CFLAGS
13368 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wlogical-op" >&5
13369 $as_echo_n "checking whether the compiler supports -Wlogical-op... " >&6; }
13370 if ${ac_cv_cflags__Wlogical_op+:} false; then :
13371 $as_echo_n "(cached) " >&6
13372 else
13373 ac_wine_try_cflags_saved=$CFLAGS
13374 CFLAGS="$CFLAGS -Wlogical-op"
13375 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13376 /* end confdefs.h. */
13377 int main(int argc, char **argv) { return 0; }
13378 _ACEOF
13379 if ac_fn_c_try_link "$LINENO"; then :
13380 ac_cv_cflags__Wlogical_op=yes
13381 else
13382 ac_cv_cflags__Wlogical_op=no
13384 rm -f core conftest.err conftest.$ac_objext \
13385 conftest$ac_exeext conftest.$ac_ext
13386 CFLAGS=$ac_wine_try_cflags_saved
13388 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wlogical_op" >&5
13389 $as_echo "$ac_cv_cflags__Wlogical_op" >&6; }
13390 if test $ac_cv_cflags__Wlogical_op = yes; then :
13391 saved_string_h_CFLAGS=$CFLAGS
13392 CFLAGS="$CFLAGS -Wlogical-op -Werror"
13393 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for broken string.h that generates warnings with -Wlogical-op" >&5
13394 $as_echo_n "checking for broken string.h that generates warnings with -Wlogical-op... " >&6; }
13395 if ${ac_cv_c_logicalop_noisy+:} false; then :
13396 $as_echo_n "(cached) " >&6
13397 else
13398 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13399 /* end confdefs.h. */
13400 #include <string.h>
13401 char*f(const char *h,char n) {return strchr(h,n);}
13403 main ()
13407 return 0;
13409 _ACEOF
13410 if ac_fn_c_try_compile "$LINENO"; then :
13411 ac_cv_c_logicalop_noisy=no
13412 else
13413 ac_cv_c_logicalop_noisy=yes
13415 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
13417 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_logicalop_noisy" >&5
13418 $as_echo "$ac_cv_c_logicalop_noisy" >&6; }
13419 CFLAGS=$saved_string_h_CFLAGS
13420 test "$ac_cv_c_logicalop_noisy" = yes || EXTRACFLAGS="$EXTRACFLAGS -Wlogical-op"
13423 CFLAGS=$saved_CFLAGS
13425 for ac_flag in $CFLAGS; do
13426 case $ac_flag in
13427 -g) case $host_os in
13428 darwin*) { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -gstabs+" >&5
13429 $as_echo_n "checking whether the compiler supports -gstabs+... " >&6; }
13430 if ${ac_cv_cflags__gstabsp+:} false; then :
13431 $as_echo_n "(cached) " >&6
13432 else
13433 ac_wine_try_cflags_saved=$CFLAGS
13434 CFLAGS="$CFLAGS -gstabs+"
13435 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13436 /* end confdefs.h. */
13437 int main(int argc, char **argv) { return 0; }
13438 _ACEOF
13439 if ac_fn_c_try_link "$LINENO"; then :
13440 ac_cv_cflags__gstabsp=yes
13441 else
13442 ac_cv_cflags__gstabsp=no
13444 rm -f core conftest.err conftest.$ac_objext \
13445 conftest$ac_exeext conftest.$ac_ext
13446 CFLAGS=$ac_wine_try_cflags_saved
13448 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__gstabsp" >&5
13449 $as_echo "$ac_cv_cflags__gstabsp" >&6; }
13450 if test $ac_cv_cflags__gstabsp = yes; then :
13451 EXTRACFLAGS="$EXTRACFLAGS -gstabs+"
13452 fi ;;
13453 *) { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -gdwarf-2" >&5
13454 $as_echo_n "checking whether the compiler supports -gdwarf-2... " >&6; }
13455 if ${ac_cv_cflags__gdwarf_2+:} false; then :
13456 $as_echo_n "(cached) " >&6
13457 else
13458 ac_wine_try_cflags_saved=$CFLAGS
13459 CFLAGS="$CFLAGS -gdwarf-2"
13460 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13461 /* end confdefs.h. */
13462 int main(int argc, char **argv) { return 0; }
13463 _ACEOF
13464 if ac_fn_c_try_link "$LINENO"; then :
13465 ac_cv_cflags__gdwarf_2=yes
13466 else
13467 ac_cv_cflags__gdwarf_2=no
13469 rm -f core conftest.err conftest.$ac_objext \
13470 conftest$ac_exeext conftest.$ac_ext
13471 CFLAGS=$ac_wine_try_cflags_saved
13473 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__gdwarf_2" >&5
13474 $as_echo "$ac_cv_cflags__gdwarf_2" >&6; }
13475 if test $ac_cv_cflags__gdwarf_2 = yes; then :
13476 EXTRACFLAGS="$EXTRACFLAGS -gdwarf-2"
13478 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -gstrict-dwarf" >&5
13479 $as_echo_n "checking whether the compiler supports -gstrict-dwarf... " >&6; }
13480 if ${ac_cv_cflags__gstrict_dwarf+:} false; then :
13481 $as_echo_n "(cached) " >&6
13482 else
13483 ac_wine_try_cflags_saved=$CFLAGS
13484 CFLAGS="$CFLAGS -gstrict-dwarf"
13485 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13486 /* end confdefs.h. */
13487 int main(int argc, char **argv) { return 0; }
13488 _ACEOF
13489 if ac_fn_c_try_link "$LINENO"; then :
13490 ac_cv_cflags__gstrict_dwarf=yes
13491 else
13492 ac_cv_cflags__gstrict_dwarf=no
13494 rm -f core conftest.err conftest.$ac_objext \
13495 conftest$ac_exeext conftest.$ac_ext
13496 CFLAGS=$ac_wine_try_cflags_saved
13498 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__gstrict_dwarf" >&5
13499 $as_echo "$ac_cv_cflags__gstrict_dwarf" >&6; }
13500 if test $ac_cv_cflags__gstrict_dwarf = yes; then :
13501 EXTRACFLAGS="$EXTRACFLAGS -gstrict-dwarf"
13502 fi ;;
13503 esac ;;
13504 esac
13505 done
13507 case $host_cpu in
13508 *i[3456789]86*) { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -fno-omit-frame-pointer" >&5
13509 $as_echo_n "checking whether the compiler supports -fno-omit-frame-pointer... " >&6; }
13510 if ${ac_cv_cflags__fno_omit_frame_pointer+:} false; then :
13511 $as_echo_n "(cached) " >&6
13512 else
13513 ac_wine_try_cflags_saved=$CFLAGS
13514 CFLAGS="$CFLAGS -fno-omit-frame-pointer"
13515 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13516 /* end confdefs.h. */
13517 int main(int argc, char **argv) { return 0; }
13518 _ACEOF
13519 if ac_fn_c_try_link "$LINENO"; then :
13520 ac_cv_cflags__fno_omit_frame_pointer=yes
13521 else
13522 ac_cv_cflags__fno_omit_frame_pointer=no
13524 rm -f core conftest.err conftest.$ac_objext \
13525 conftest$ac_exeext conftest.$ac_ext
13526 CFLAGS=$ac_wine_try_cflags_saved
13528 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__fno_omit_frame_pointer" >&5
13529 $as_echo "$ac_cv_cflags__fno_omit_frame_pointer" >&6; }
13530 if test $ac_cv_cflags__fno_omit_frame_pointer = yes; then :
13531 EXTRACFLAGS="$EXTRACFLAGS -fno-omit-frame-pointer"
13532 fi ;;
13533 esac
13535 case $host in
13536 x86_64-*mingw32*|x86_64-*cygwin*) { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wno-format" >&5
13537 $as_echo_n "checking whether the compiler supports -Wno-format... " >&6; }
13538 if ${ac_cv_cflags__Wno_format+:} false; then :
13539 $as_echo_n "(cached) " >&6
13540 else
13541 ac_wine_try_cflags_saved=$CFLAGS
13542 CFLAGS="$CFLAGS -Wno-format"
13543 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13544 /* end confdefs.h. */
13545 int main(int argc, char **argv) { return 0; }
13546 _ACEOF
13547 if ac_fn_c_try_link "$LINENO"; then :
13548 ac_cv_cflags__Wno_format=yes
13549 else
13550 ac_cv_cflags__Wno_format=no
13552 rm -f core conftest.err conftest.$ac_objext \
13553 conftest$ac_exeext conftest.$ac_ext
13554 CFLAGS=$ac_wine_try_cflags_saved
13556 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wno_format" >&5
13557 $as_echo "$ac_cv_cflags__Wno_format" >&6; }
13558 if test $ac_cv_cflags__Wno_format = yes; then :
13559 EXTRACFLAGS="$EXTRACFLAGS -Wno-format"
13560 fi ;;
13561 esac
13563 if test "x$enable_maintainer_mode" = "xyes"
13564 then
13565 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Werror" >&5
13566 $as_echo_n "checking whether the compiler supports -Werror... " >&6; }
13567 if ${ac_cv_cflags__Werror+:} false; then :
13568 $as_echo_n "(cached) " >&6
13569 else
13570 ac_wine_try_cflags_saved=$CFLAGS
13571 CFLAGS="$CFLAGS -Werror"
13572 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13573 /* end confdefs.h. */
13574 int main(int argc, char **argv) { return 0; }
13575 _ACEOF
13576 if ac_fn_c_try_link "$LINENO"; then :
13577 ac_cv_cflags__Werror=yes
13578 else
13579 ac_cv_cflags__Werror=no
13581 rm -f core conftest.err conftest.$ac_objext \
13582 conftest$ac_exeext conftest.$ac_ext
13583 CFLAGS=$ac_wine_try_cflags_saved
13585 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Werror" >&5
13586 $as_echo "$ac_cv_cflags__Werror" >&6; }
13587 if test $ac_cv_cflags__Werror = yes; then :
13588 EXTRACFLAGS="$EXTRACFLAGS -Werror"
13592 saved_CFLAGS="$CFLAGS"
13593 CFLAGS="$CFLAGS -Werror"
13594 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ms_hook_prologue attribute" >&5
13595 $as_echo_n "checking for ms_hook_prologue attribute... " >&6; }
13596 if ${ac_cv_have_ms_hook_prologue+:} false; then :
13597 $as_echo_n "(cached) " >&6
13598 else
13599 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13600 /* end confdefs.h. */
13601 int __attribute__((__ms_hook_prologue__)) test(void) { return 0; }
13603 main ()
13607 return 0;
13609 _ACEOF
13610 if ac_fn_c_try_compile "$LINENO"; then :
13611 ac_cv_have_ms_hook_prologue="yes"
13612 else
13613 ac_cv_have_ms_hook_prologue="no"
13615 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
13617 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_have_ms_hook_prologue" >&5
13618 $as_echo "$ac_cv_have_ms_hook_prologue" >&6; }
13619 CFLAGS="$saved_CFLAGS"
13620 if test "$ac_cv_have_ms_hook_prologue" = "yes"
13621 then
13623 $as_echo "#define DECLSPEC_HOTPATCH __attribute__((__ms_hook_prologue__))" >>confdefs.h
13625 else
13626 $as_echo "#define DECLSPEC_HOTPATCH /* */" >>confdefs.h
13632 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for the need to disable Fortify" >&5
13633 $as_echo_n "checking for the need to disable Fortify... " >&6; }
13634 if ${ac_cv_c_fortify_enabled+:} false; then :
13635 $as_echo_n "(cached) " >&6
13636 else
13637 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13638 /* end confdefs.h. */
13639 #include <string.h>
13641 main ()
13643 #if defined(__USE_FORTIFY_LEVEL) && __USE_FORTIFY_LEVEL > 0
13644 #error Fortify enabled
13645 #endif
13647 return 0;
13649 _ACEOF
13650 if ac_fn_c_try_compile "$LINENO"; then :
13651 ac_cv_c_fortify_enabled=no
13652 else
13653 ac_cv_c_fortify_enabled=yes
13655 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
13657 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_fortify_enabled" >&5
13658 $as_echo "$ac_cv_c_fortify_enabled" >&6; }
13659 if test "$ac_cv_c_fortify_enabled" = yes
13660 then
13661 CFLAGS="$CFLAGS -U_FORTIFY_SOURCE -D_FORTIFY_SOURCE=0"
13665 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether external symbols need an underscore prefix" >&5
13666 $as_echo_n "checking whether external symbols need an underscore prefix... " >&6; }
13667 if ${ac_cv_c_extern_prefix+:} false; then :
13668 $as_echo_n "(cached) " >&6
13669 else
13670 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13671 /* end confdefs.h. */
13672 extern int ac_test;
13674 main ()
13676 asm(".globl _ac_test\n_ac_test:\t.long 0"); if (ac_test) return 1
13678 return 0;
13680 _ACEOF
13681 if ac_fn_c_try_link "$LINENO"; then :
13682 ac_cv_c_extern_prefix="yes"
13683 else
13684 ac_cv_c_extern_prefix="no"
13686 rm -f core conftest.err conftest.$ac_objext \
13687 conftest$ac_exeext conftest.$ac_ext
13689 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_extern_prefix" >&5
13690 $as_echo "$ac_cv_c_extern_prefix" >&6; }
13692 case $host_cpu in
13693 *i[3456789]86*)
13694 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether external symbols need stdcall decoration" >&5
13695 $as_echo_n "checking whether external symbols need stdcall decoration... " >&6; }
13696 if ${ac_cv_c_stdcall_suffix+:} false; then :
13697 $as_echo_n "(cached) " >&6
13698 else
13699 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13700 /* end confdefs.h. */
13701 #ifndef _MSC_VER
13702 #define __stdcall __attribute__((__stdcall__))
13703 #endif
13704 int __stdcall ac_test(int i) { return i; }
13706 main ()
13708 asm("jmp _ac_test@4"); if (ac_test(1)) return 1
13710 return 0;
13712 _ACEOF
13713 if ac_fn_c_try_link "$LINENO"; then :
13714 ac_cv_c_stdcall_suffix="yes"
13715 else
13716 ac_cv_c_stdcall_suffix="no"
13718 rm -f core conftest.err conftest.$ac_objext \
13719 conftest$ac_exeext conftest.$ac_ext
13721 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_stdcall_suffix" >&5
13722 $as_echo "$ac_cv_c_stdcall_suffix" >&6; } ;;
13723 *) ac_cv_c_stdcall_suffix="no" ;;
13724 esac
13727 if test "$ac_cv_c_extern_prefix" = "yes"
13728 then
13729 $as_echo "#define __ASM_NAME(name) \"_\" name" >>confdefs.h
13731 asm_name_prefix="_"
13732 else
13733 $as_echo "#define __ASM_NAME(name) name" >>confdefs.h
13735 asm_name_prefix=""
13739 if test "$ac_cv_c_stdcall_suffix" = "yes"
13740 then
13741 $as_echo "#define __ASM_STDCALL(args) \"@\" #args" >>confdefs.h
13743 else
13744 $as_echo "#define __ASM_STDCALL(args) \"\"" >>confdefs.h
13749 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to define a function in assembly code" >&5
13750 $as_echo_n "checking how to define a function in assembly code... " >&6; }
13751 if ${ac_cv_asm_func_def+:} false; then :
13752 $as_echo_n "(cached) " >&6
13753 else
13754 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13755 /* end confdefs.h. */
13758 main ()
13760 asm("\t.globl _ac_test\n\t.def _ac_test; .scl 2; .type 32; .endef\n_ac_test:\t.long 0");
13762 return 0;
13764 _ACEOF
13765 if ac_fn_c_try_link "$LINENO"; then :
13766 ac_cv_asm_func_def=".def"
13767 else
13768 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13769 /* end confdefs.h. */
13772 main ()
13774 asm("\t.globl _ac_test\n\t.type _ac_test,@function\n_ac_test:\t.long 0");
13776 return 0;
13778 _ACEOF
13779 if ac_fn_c_try_link "$LINENO"; then :
13780 ac_cv_asm_func_def=".type @function"
13781 else
13782 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13783 /* end confdefs.h. */
13786 main ()
13788 asm("\t.globl _ac_test\n\t.type _ac_test,2\n_ac_test:\t.long 0");
13790 return 0;
13792 _ACEOF
13793 if ac_fn_c_try_link "$LINENO"; then :
13794 ac_cv_asm_func_def=".type 2"
13795 else
13796 ac_cv_asm_func_def="unknown"
13798 rm -f core conftest.err conftest.$ac_objext \
13799 conftest$ac_exeext conftest.$ac_ext
13801 rm -f core conftest.err conftest.$ac_objext \
13802 conftest$ac_exeext conftest.$ac_ext
13804 rm -f core conftest.err conftest.$ac_objext \
13805 conftest$ac_exeext conftest.$ac_ext
13807 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_asm_func_def" >&5
13808 $as_echo "$ac_cv_asm_func_def" >&6; }
13811 case "$ac_cv_asm_func_def" in
13812 ".def")
13813 $as_echo "#define __ASM_FUNC(name) \".def \" __ASM_NAME(name) \"; .scl 2; .type 32; .endef\"" >>confdefs.h
13815 asm_func_header=".def $asm_name_prefix\" #name suffix \"; .scl 2; .type 32; .endef" ;;
13816 ".type @function")
13817 $as_echo "#define __ASM_FUNC(name) \".type \" __ASM_NAME(name) \",@function\"" >>confdefs.h
13819 asm_func_header=".type $asm_name_prefix\" #name suffix \",@function" ;;
13820 ".type 2")
13821 $as_echo "#define __ASM_FUNC(name) \".type \" __ASM_NAME(name) \",2\"" >>confdefs.h
13823 asm_func_header=".type $asm_name_prefix\" #name suffix \",2" ;;
13825 $as_echo "#define __ASM_FUNC(name) \"\"" >>confdefs.h
13827 asm_func_header="" ;;
13828 esac
13830 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether asm() works outside of functions" >&5
13831 $as_echo_n "checking whether asm() works outside of functions... " >&6; }
13832 if ${ac_cv_c_asm_outside_funcs+:} false; then :
13833 $as_echo_n "(cached) " >&6
13834 else
13835 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13836 /* end confdefs.h. */
13837 asm(".text\n\t.long 0");
13839 main ()
13843 return 0;
13845 _ACEOF
13846 if ac_fn_c_try_compile "$LINENO"; then :
13847 ac_cv_c_asm_outside_funcs="yes"
13848 else
13849 ac_cv_c_asm_outside_funcs="no"
13851 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
13853 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_asm_outside_funcs" >&5
13854 $as_echo "$ac_cv_c_asm_outside_funcs" >&6; }
13856 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether .previous is supported in assembly code" >&5
13857 $as_echo_n "checking whether .previous is supported in assembly code... " >&6; }
13858 if ${ac_cv_c_dot_previous+:} false; then :
13859 $as_echo_n "(cached) " >&6
13860 else
13861 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13862 /* end confdefs.h. */
13865 main ()
13867 asm(".text\nac_test:\t.long 0\n\t.previous");
13869 return 0;
13871 _ACEOF
13872 if ac_fn_c_try_link "$LINENO"; then :
13873 ac_cv_c_dot_previous="yes"
13874 else
13875 ac_cv_c_dot_previous="no"
13877 rm -f core conftest.err conftest.$ac_objext \
13878 conftest$ac_exeext conftest.$ac_ext
13880 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_dot_previous" >&5
13881 $as_echo "$ac_cv_c_dot_previous" >&6; }
13883 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether CFI directives are supported in assembly code" >&5
13884 $as_echo_n "checking whether CFI directives are supported in assembly code... " >&6; }
13885 if ${ac_cv_c_cfi_support+:} false; then :
13886 $as_echo_n "(cached) " >&6
13887 else
13888 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13889 /* end confdefs.h. */
13890 asm(".text\nac_test:\t.cfi_startproc\n\t.long 0\n\t.cfi_endproc");
13892 main ()
13896 return 0;
13898 _ACEOF
13899 if ac_fn_c_try_compile "$LINENO"; then :
13900 ac_cv_c_cfi_support="yes"
13901 else
13902 ac_cv_c_cfi_support="no"
13904 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
13906 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_cfi_support" >&5
13907 $as_echo "$ac_cv_c_cfi_support" >&6; }
13909 asm_func_header=".globl $asm_name_prefix\" #name suffix \"\\n\\t$asm_func_header\\n$asm_name_prefix\" #name suffix \":\\n\\t"
13910 asm_func_trailer=""
13911 if test "$ac_cv_c_dot_previous" = "yes"
13912 then
13913 asm_func_trailer="\\n\\t.previous"
13915 if test "$ac_cv_c_cfi_support" = "yes"
13916 then
13917 asm_func_header="$asm_func_header.cfi_startproc\\n\\t"
13918 asm_func_trailer="\\n\\t.cfi_endproc$asm_func_trailer"
13920 $as_echo "#define __ASM_CFI(str) str" >>confdefs.h
13922 UNWINDFLAGS=-fasynchronous-unwind-tables
13924 else
13925 $as_echo "#define __ASM_CFI(str) \"\"" >>confdefs.h
13929 asm_func_code="$asm_func_header\" code \"$asm_func_trailer"
13932 if test "$ac_cv_c_asm_outside_funcs" = "yes"
13933 then
13934 cat >>confdefs.h <<_ACEOF
13935 #define __ASM_DEFINE_FUNC(name,suffix,code) asm(".text\n\t.align 4\n\t$asm_func_code");
13936 _ACEOF
13938 else
13939 cat >>confdefs.h <<_ACEOF
13940 #define __ASM_DEFINE_FUNC(name,suffix,code) void __asm_dummy_##name(void) { asm(".text\n\t.align 4\n\t$asm_func_code"); }
13941 _ACEOF
13945 $as_echo "#define __ASM_GLOBAL_FUNC(name,code) __ASM_DEFINE_FUNC(name,\"\",code)" >>confdefs.h
13948 $as_echo "#define __ASM_STDCALL_FUNC(name,args,code) __ASM_DEFINE_FUNC(name,__ASM_STDCALL(args),code)" >>confdefs.h
13952 case $build_os in
13953 cygwin*|mingw32*) TOOLSEXT=".exe"
13955 esac
13957 case $host_os in
13958 linux*)
13959 case $host_cpu in
13960 *i[3456789]86*|x86_64*)
13961 as_fn_append LOADER_RULES "
13962 all: $wine_binary-preloader
13964 $wine_binary-preloader: preloader.o Makefile.in
13965 \$(CC) -o \$@ -static -nostartfiles -nodefaultlibs -Wl,-Ttext=0x7c400000 preloader.o \$(LIBPORT) \$(LDFLAGS)
13967 install install-lib:: $wine_binary-preloader \$(DESTDIR)\$(bindir)
13968 \$(INSTALL_PROGRAM) $wine_binary-preloader \$(DESTDIR)\$(bindir)/$wine_binary-preloader
13970 uninstall::
13971 \$(RM) \$(DESTDIR)\$(bindir)/$wine_binary-preloader
13972 " ;;
13973 esac
13975 esac
13978 ac_save_CFLAGS="$CFLAGS"
13979 CFLAGS="$CFLAGS $BUILTINFLAG"
13980 for ac_func in \
13981 __res_get_state \
13982 __res_getservers \
13983 _finite \
13984 _isnan \
13985 _pclose \
13986 _popen \
13987 _snprintf \
13988 _spawnvp \
13989 _strdup \
13990 _stricmp \
13991 _strnicmp \
13992 _strtoi64 \
13993 _strtoui64 \
13994 _vsnprintf \
13995 asctime_r \
13996 chsize \
13997 dlopen \
13998 epoll_create \
13999 ffs \
14000 finite \
14001 fnmatch \
14002 fork \
14003 fpclass \
14004 fstatfs \
14005 fstatvfs \
14006 ftruncate \
14007 futimens \
14008 futimes \
14009 futimesat \
14010 getattrlist \
14011 getdirentries \
14012 getopt_long_only \
14013 getpwuid \
14014 gettimeofday \
14015 getuid \
14016 if_nameindex \
14017 kqueue \
14018 lstat \
14019 memmove \
14020 mmap \
14021 pclose \
14022 pipe2 \
14023 poll \
14024 popen \
14025 port_create \
14026 prctl \
14027 pread \
14028 proc_pidinfo \
14029 pwrite \
14030 readdir \
14031 readlink \
14032 sched_yield \
14033 select \
14034 setproctitle \
14035 setrlimit \
14036 settimeofday \
14037 sigaltstack \
14038 sigprocmask \
14039 snprintf \
14040 statfs \
14041 statvfs \
14042 strcasecmp \
14043 strdup \
14044 strerror \
14045 strncasecmp \
14046 strtold \
14047 strtoll \
14048 strtoull \
14049 symlink \
14050 tcdrain \
14051 thr_kill2 \
14052 timegm \
14053 usleep \
14054 vsnprintf
14056 do :
14057 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
14058 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
14059 if eval test \"x\$"$as_ac_var"\" = x"yes"; then :
14060 cat >>confdefs.h <<_ACEOF
14061 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
14062 _ACEOF
14065 done
14067 CFLAGS="$ac_save_CFLAGS"
14069 if test "$ac_cv_func_dlopen" = no
14070 then
14071 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dlopen in -ldl" >&5
14072 $as_echo_n "checking for dlopen in -ldl... " >&6; }
14073 if ${ac_cv_lib_dl_dlopen+:} false; then :
14074 $as_echo_n "(cached) " >&6
14075 else
14076 ac_check_lib_save_LIBS=$LIBS
14077 LIBS="-ldl $LIBS"
14078 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14079 /* end confdefs.h. */
14081 /* Override any GCC internal prototype to avoid an error.
14082 Use char because int might match the return type of a GCC
14083 builtin and then its argument prototype would still apply. */
14084 #ifdef __cplusplus
14085 extern "C"
14086 #endif
14087 char dlopen ();
14089 main ()
14091 return dlopen ();
14093 return 0;
14095 _ACEOF
14096 if ac_fn_c_try_link "$LINENO"; then :
14097 ac_cv_lib_dl_dlopen=yes
14098 else
14099 ac_cv_lib_dl_dlopen=no
14101 rm -f core conftest.err conftest.$ac_objext \
14102 conftest$ac_exeext conftest.$ac_ext
14103 LIBS=$ac_check_lib_save_LIBS
14105 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dl_dlopen" >&5
14106 $as_echo "$ac_cv_lib_dl_dlopen" >&6; }
14107 if test "x$ac_cv_lib_dl_dlopen" = xyes; then :
14108 $as_echo "#define HAVE_DLOPEN 1" >>confdefs.h
14109 LIBDL="-ldl"
14114 ac_wine_check_funcs_save_LIBS="$LIBS"
14115 LIBS="$LIBS $LIBDL"
14116 for ac_func in dladdr
14117 do :
14118 ac_fn_c_check_func "$LINENO" "dladdr" "ac_cv_func_dladdr"
14119 if test "x$ac_cv_func_dladdr" = xyes; then :
14120 cat >>confdefs.h <<_ACEOF
14121 #define HAVE_DLADDR 1
14122 _ACEOF
14125 done
14127 LIBS="$ac_wine_check_funcs_save_LIBS"
14129 if test "$ac_cv_func_poll" = no
14130 then
14131 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for poll in -lpoll" >&5
14132 $as_echo_n "checking for poll in -lpoll... " >&6; }
14133 if ${ac_cv_lib_poll_poll+:} false; then :
14134 $as_echo_n "(cached) " >&6
14135 else
14136 ac_check_lib_save_LIBS=$LIBS
14137 LIBS="-lpoll $LIBS"
14138 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14139 /* end confdefs.h. */
14141 /* Override any GCC internal prototype to avoid an error.
14142 Use char because int might match the return type of a GCC
14143 builtin and then its argument prototype would still apply. */
14144 #ifdef __cplusplus
14145 extern "C"
14146 #endif
14147 char poll ();
14149 main ()
14151 return poll ();
14153 return 0;
14155 _ACEOF
14156 if ac_fn_c_try_link "$LINENO"; then :
14157 ac_cv_lib_poll_poll=yes
14158 else
14159 ac_cv_lib_poll_poll=no
14161 rm -f core conftest.err conftest.$ac_objext \
14162 conftest$ac_exeext conftest.$ac_ext
14163 LIBS=$ac_check_lib_save_LIBS
14165 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_poll_poll" >&5
14166 $as_echo "$ac_cv_lib_poll_poll" >&6; }
14167 if test "x$ac_cv_lib_poll_poll" = xyes; then :
14168 $as_echo "#define HAVE_POLL 1" >>confdefs.h
14169 LIBPOLL="-lpoll"
14175 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for library containing gethostbyname" >&5
14176 $as_echo_n "checking for library containing gethostbyname... " >&6; }
14177 if ${ac_cv_search_gethostbyname+:} false; then :
14178 $as_echo_n "(cached) " >&6
14179 else
14180 ac_func_search_save_LIBS=$LIBS
14181 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14182 /* end confdefs.h. */
14184 /* Override any GCC internal prototype to avoid an error.
14185 Use char because int might match the return type of a GCC
14186 builtin and then its argument prototype would still apply. */
14187 #ifdef __cplusplus
14188 extern "C"
14189 #endif
14190 char gethostbyname ();
14192 main ()
14194 return gethostbyname ();
14196 return 0;
14198 _ACEOF
14199 for ac_lib in '' nsl; do
14200 if test -z "$ac_lib"; then
14201 ac_res="none required"
14202 else
14203 ac_res=-l$ac_lib
14204 LIBS="-l$ac_lib $ac_func_search_save_LIBS"
14206 if ac_fn_c_try_link "$LINENO"; then :
14207 ac_cv_search_gethostbyname=$ac_res
14209 rm -f core conftest.err conftest.$ac_objext \
14210 conftest$ac_exeext
14211 if ${ac_cv_search_gethostbyname+:} false; then :
14212 break
14214 done
14215 if ${ac_cv_search_gethostbyname+:} false; then :
14217 else
14218 ac_cv_search_gethostbyname=no
14220 rm conftest.$ac_ext
14221 LIBS=$ac_func_search_save_LIBS
14223 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_search_gethostbyname" >&5
14224 $as_echo "$ac_cv_search_gethostbyname" >&6; }
14225 ac_res=$ac_cv_search_gethostbyname
14226 if test "$ac_res" != no; then :
14227 test "$ac_res" = "none required" || LIBS="$ac_res $LIBS"
14232 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for library containing connect" >&5
14233 $as_echo_n "checking for library containing connect... " >&6; }
14234 if ${ac_cv_search_connect+:} false; then :
14235 $as_echo_n "(cached) " >&6
14236 else
14237 ac_func_search_save_LIBS=$LIBS
14238 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14239 /* end confdefs.h. */
14241 /* Override any GCC internal prototype to avoid an error.
14242 Use char because int might match the return type of a GCC
14243 builtin and then its argument prototype would still apply. */
14244 #ifdef __cplusplus
14245 extern "C"
14246 #endif
14247 char connect ();
14249 main ()
14251 return connect ();
14253 return 0;
14255 _ACEOF
14256 for ac_lib in '' socket; do
14257 if test -z "$ac_lib"; then
14258 ac_res="none required"
14259 else
14260 ac_res=-l$ac_lib
14261 LIBS="-l$ac_lib $ac_func_search_save_LIBS"
14263 if ac_fn_c_try_link "$LINENO"; then :
14264 ac_cv_search_connect=$ac_res
14266 rm -f core conftest.err conftest.$ac_objext \
14267 conftest$ac_exeext
14268 if ${ac_cv_search_connect+:} false; then :
14269 break
14271 done
14272 if ${ac_cv_search_connect+:} false; then :
14274 else
14275 ac_cv_search_connect=no
14277 rm conftest.$ac_ext
14278 LIBS=$ac_func_search_save_LIBS
14280 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_search_connect" >&5
14281 $as_echo "$ac_cv_search_connect" >&6; }
14282 ac_res=$ac_cv_search_connect
14283 if test "$ac_res" != no; then :
14284 test "$ac_res" = "none required" || LIBS="$ac_res $LIBS"
14289 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for library containing inet_aton" >&5
14290 $as_echo_n "checking for library containing inet_aton... " >&6; }
14291 if ${ac_cv_search_inet_aton+:} false; then :
14292 $as_echo_n "(cached) " >&6
14293 else
14294 ac_func_search_save_LIBS=$LIBS
14295 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14296 /* end confdefs.h. */
14298 /* Override any GCC internal prototype to avoid an error.
14299 Use char because int might match the return type of a GCC
14300 builtin and then its argument prototype would still apply. */
14301 #ifdef __cplusplus
14302 extern "C"
14303 #endif
14304 char inet_aton ();
14306 main ()
14308 return inet_aton ();
14310 return 0;
14312 _ACEOF
14313 for ac_lib in '' resolv; do
14314 if test -z "$ac_lib"; then
14315 ac_res="none required"
14316 else
14317 ac_res=-l$ac_lib
14318 LIBS="-l$ac_lib $ac_func_search_save_LIBS"
14320 if ac_fn_c_try_link "$LINENO"; then :
14321 ac_cv_search_inet_aton=$ac_res
14323 rm -f core conftest.err conftest.$ac_objext \
14324 conftest$ac_exeext
14325 if ${ac_cv_search_inet_aton+:} false; then :
14326 break
14328 done
14329 if ${ac_cv_search_inet_aton+:} false; then :
14331 else
14332 ac_cv_search_inet_aton=no
14334 rm conftest.$ac_ext
14335 LIBS=$ac_func_search_save_LIBS
14337 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_search_inet_aton" >&5
14338 $as_echo "$ac_cv_search_inet_aton" >&6; }
14339 ac_res=$ac_cv_search_inet_aton
14340 if test "$ac_res" != no; then :
14341 test "$ac_res" = "none required" || LIBS="$ac_res $LIBS"
14346 for ac_func in \
14347 getaddrinfo \
14348 getnameinfo \
14349 getnetbyname \
14350 getprotobyname \
14351 getprotobynumber \
14352 getservbyport \
14353 inet_network \
14354 inet_ntop \
14355 inet_pton \
14356 sendmsg \
14357 socketpair \
14359 do :
14360 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
14361 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
14362 if eval test \"x\$"$as_ac_var"\" = x"yes"; then :
14363 cat >>confdefs.h <<_ACEOF
14364 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
14365 _ACEOF
14368 done
14371 ac_save_LIBS=$LIBS
14372 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for library containing clock_gettime" >&5
14373 $as_echo_n "checking for library containing clock_gettime... " >&6; }
14374 if ${ac_cv_search_clock_gettime+:} false; then :
14375 $as_echo_n "(cached) " >&6
14376 else
14377 ac_func_search_save_LIBS=$LIBS
14378 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14379 /* end confdefs.h. */
14381 /* Override any GCC internal prototype to avoid an error.
14382 Use char because int might match the return type of a GCC
14383 builtin and then its argument prototype would still apply. */
14384 #ifdef __cplusplus
14385 extern "C"
14386 #endif
14387 char clock_gettime ();
14389 main ()
14391 return clock_gettime ();
14393 return 0;
14395 _ACEOF
14396 for ac_lib in '' rt; do
14397 if test -z "$ac_lib"; then
14398 ac_res="none required"
14399 else
14400 ac_res=-l$ac_lib
14401 LIBS="-l$ac_lib $ac_func_search_save_LIBS"
14403 if ac_fn_c_try_link "$LINENO"; then :
14404 ac_cv_search_clock_gettime=$ac_res
14406 rm -f core conftest.err conftest.$ac_objext \
14407 conftest$ac_exeext
14408 if ${ac_cv_search_clock_gettime+:} false; then :
14409 break
14411 done
14412 if ${ac_cv_search_clock_gettime+:} false; then :
14414 else
14415 ac_cv_search_clock_gettime=no
14417 rm conftest.$ac_ext
14418 LIBS=$ac_func_search_save_LIBS
14420 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_search_clock_gettime" >&5
14421 $as_echo "$ac_cv_search_clock_gettime" >&6; }
14422 ac_res=$ac_cv_search_clock_gettime
14423 if test "$ac_res" != no; then :
14424 test "$ac_res" = "none required" || LIBS="$ac_res $LIBS"
14426 $as_echo "#define HAVE_CLOCK_GETTIME 1" >>confdefs.h
14428 test "$ac_res" = "none required" || LIBRT="$ac_res"
14432 LIBS=$ac_save_LIBS
14434 LDAPLIBS=""
14436 if test "$ac_cv_header_ldap_h" = "yes" -a "$ac_cv_header_lber_h" = "yes"
14437 then
14438 ac_fn_c_check_type "$LINENO" "LDAPSortKey" "ac_cv_type_LDAPSortKey" "#include <ldap.h>
14440 if test "x$ac_cv_type_LDAPSortKey" = xyes; then :
14441 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ldap_initialize in -lldap_r" >&5
14442 $as_echo_n "checking for ldap_initialize in -lldap_r... " >&6; }
14443 if ${ac_cv_lib_ldap_r_ldap_initialize+:} false; then :
14444 $as_echo_n "(cached) " >&6
14445 else
14446 ac_check_lib_save_LIBS=$LIBS
14447 LIBS="-lldap_r $LIBPTHREAD $LIBS"
14448 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14449 /* end confdefs.h. */
14451 /* Override any GCC internal prototype to avoid an error.
14452 Use char because int might match the return type of a GCC
14453 builtin and then its argument prototype would still apply. */
14454 #ifdef __cplusplus
14455 extern "C"
14456 #endif
14457 char ldap_initialize ();
14459 main ()
14461 return ldap_initialize ();
14463 return 0;
14465 _ACEOF
14466 if ac_fn_c_try_link "$LINENO"; then :
14467 ac_cv_lib_ldap_r_ldap_initialize=yes
14468 else
14469 ac_cv_lib_ldap_r_ldap_initialize=no
14471 rm -f core conftest.err conftest.$ac_objext \
14472 conftest$ac_exeext conftest.$ac_ext
14473 LIBS=$ac_check_lib_save_LIBS
14475 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_ldap_r_ldap_initialize" >&5
14476 $as_echo "$ac_cv_lib_ldap_r_ldap_initialize" >&6; }
14477 if test "x$ac_cv_lib_ldap_r_ldap_initialize" = xyes; then :
14478 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ber_init in -llber" >&5
14479 $as_echo_n "checking for ber_init in -llber... " >&6; }
14480 if ${ac_cv_lib_lber_ber_init+:} false; then :
14481 $as_echo_n "(cached) " >&6
14482 else
14483 ac_check_lib_save_LIBS=$LIBS
14484 LIBS="-llber $LIBPTHREAD $LIBS"
14485 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14486 /* end confdefs.h. */
14488 /* Override any GCC internal prototype to avoid an error.
14489 Use char because int might match the return type of a GCC
14490 builtin and then its argument prototype would still apply. */
14491 #ifdef __cplusplus
14492 extern "C"
14493 #endif
14494 char ber_init ();
14496 main ()
14498 return ber_init ();
14500 return 0;
14502 _ACEOF
14503 if ac_fn_c_try_link "$LINENO"; then :
14504 ac_cv_lib_lber_ber_init=yes
14505 else
14506 ac_cv_lib_lber_ber_init=no
14508 rm -f core conftest.err conftest.$ac_objext \
14509 conftest$ac_exeext conftest.$ac_ext
14510 LIBS=$ac_check_lib_save_LIBS
14512 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_lber_ber_init" >&5
14513 $as_echo "$ac_cv_lib_lber_ber_init" >&6; }
14514 if test "x$ac_cv_lib_lber_ber_init" = xyes; then :
14516 $as_echo "#define HAVE_LDAP 1" >>confdefs.h
14518 LDAPLIBS="-lldap_r -llber"
14525 ac_wine_check_funcs_save_LIBS="$LIBS"
14526 LIBS="$LIBS $LDAPLIBS $LIBPTHREAD"
14527 for ac_func in \
14528 ldap_count_references \
14529 ldap_first_reference \
14530 ldap_next_reference \
14531 ldap_parse_reference \
14532 ldap_parse_sort_control \
14533 ldap_parse_sortresponse_control \
14534 ldap_parse_vlv_control \
14535 ldap_parse_vlvresponse_control
14536 do :
14537 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
14538 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
14539 if eval test \"x\$"$as_ac_var"\" = x"yes"; then :
14540 cat >>confdefs.h <<_ACEOF
14541 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
14542 _ACEOF
14545 done
14547 LIBS="$ac_wine_check_funcs_save_LIBS"
14549 if test "x$LDAPLIBS" = "x"; then :
14550 case "x$with_ldap" in
14551 x) as_fn_append wine_notices "|libldap (OpenLDAP) ${notice_platform}development files not found, LDAP won't be supported." ;;
14552 xno) ;;
14553 *) as_fn_error $? "libldap (OpenLDAP) ${notice_platform}development files not found, LDAP won't be supported.
14554 This is an error since --with-ldap was requested." "$LINENO" 5 ;;
14555 esac
14558 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether mkdir takes only one argument" >&5
14559 $as_echo_n "checking whether mkdir takes only one argument... " >&6; }
14560 if ${wine_cv_one_arg_mkdir+:} false; then :
14561 $as_echo_n "(cached) " >&6
14562 else
14563 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14564 /* end confdefs.h. */
14565 #include <sys/stat.h>
14567 main ()
14569 mkdir("foo");
14571 return 0;
14573 _ACEOF
14574 if ac_fn_c_try_compile "$LINENO"; then :
14575 wine_cv_one_arg_mkdir=yes
14576 else
14577 wine_cv_one_arg_mkdir=no
14579 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
14581 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $wine_cv_one_arg_mkdir" >&5
14582 $as_echo "$wine_cv_one_arg_mkdir" >&6; }
14583 if test "$wine_cv_one_arg_mkdir" = "yes"
14584 then
14586 $as_echo "#define HAVE_ONE_ARG_MKDIR 1" >>confdefs.h
14590 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sched_setaffinity" >&5
14591 $as_echo_n "checking for sched_setaffinity... " >&6; }
14592 if ${wine_cv_have_sched_setaffinity+:} false; then :
14593 $as_echo_n "(cached) " >&6
14594 else
14595 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14596 /* end confdefs.h. */
14597 #define _GNU_SOURCE
14598 #include <sched.h>
14600 main ()
14602 sched_setaffinity(0, 0, 0);
14604 return 0;
14606 _ACEOF
14607 if ac_fn_c_try_link "$LINENO"; then :
14608 wine_cv_have_sched_setaffinity=yes
14609 else
14610 wine_cv_have_sched_setaffinity=no
14612 rm -f core conftest.err conftest.$ac_objext \
14613 conftest$ac_exeext conftest.$ac_ext
14615 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $wine_cv_have_sched_setaffinity" >&5
14616 $as_echo "$wine_cv_have_sched_setaffinity" >&6; }
14617 if test "$wine_cv_have_sched_setaffinity" = "yes"
14618 then
14620 $as_echo "#define HAVE_SCHED_SETAFFINITY 1" >>confdefs.h
14624 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for fallocate" >&5
14625 $as_echo_n "checking for fallocate... " >&6; }
14626 if ${wine_cv_have_fallocate+:} false; then :
14627 $as_echo_n "(cached) " >&6
14628 else
14629 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14630 /* end confdefs.h. */
14631 #define _GNU_SOURCE
14632 #include <fcntl.h>
14634 main ()
14636 fallocate(-1, 0, 0, 0);
14638 return 0;
14640 _ACEOF
14641 if ac_fn_c_try_link "$LINENO"; then :
14642 wine_cv_have_fallocate=yes
14643 else
14644 wine_cv_have_fallocate=no
14646 rm -f core conftest.err conftest.$ac_objext \
14647 conftest$ac_exeext conftest.$ac_ext
14649 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $wine_cv_have_fallocate" >&5
14650 $as_echo "$wine_cv_have_fallocate" >&6; }
14651 if test "$wine_cv_have_fallocate" = "yes"
14652 then
14654 $as_echo "#define HAVE_FALLOCATE 1" >>confdefs.h
14659 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for inline" >&5
14660 $as_echo_n "checking for inline... " >&6; }
14661 if ${ac_cv_c_inline+:} false; then :
14662 $as_echo_n "(cached) " >&6
14663 else
14664 ac_cv_c_inline=no
14665 for ac_kw in inline __inline__ __inline; do
14666 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14667 /* end confdefs.h. */
14668 #ifndef __cplusplus
14669 typedef int foo_t;
14670 static $ac_kw foo_t static_foo () {return 0; }
14671 $ac_kw foo_t foo () {return 0; }
14672 #endif
14674 _ACEOF
14675 if ac_fn_c_try_compile "$LINENO"; then :
14676 ac_cv_c_inline=$ac_kw
14678 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
14679 test "$ac_cv_c_inline" != no && break
14680 done
14683 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_inline" >&5
14684 $as_echo "$ac_cv_c_inline" >&6; }
14686 case $ac_cv_c_inline in
14687 inline | yes) ;;
14689 case $ac_cv_c_inline in
14690 no) ac_val=;;
14691 *) ac_val=$ac_cv_c_inline;;
14692 esac
14693 cat >>confdefs.h <<_ACEOF
14694 #ifndef __cplusplus
14695 #define inline $ac_val
14696 #endif
14697 _ACEOF
14699 esac
14701 ac_fn_c_check_type "$LINENO" "mode_t" "ac_cv_type_mode_t" "$ac_includes_default"
14702 if test "x$ac_cv_type_mode_t" = xyes; then :
14704 cat >>confdefs.h <<_ACEOF
14705 #define HAVE_MODE_T 1
14706 _ACEOF
14710 ac_fn_c_check_type "$LINENO" "off_t" "ac_cv_type_off_t" "$ac_includes_default"
14711 if test "x$ac_cv_type_off_t" = xyes; then :
14713 cat >>confdefs.h <<_ACEOF
14714 #define HAVE_OFF_T 1
14715 _ACEOF
14719 ac_fn_c_check_type "$LINENO" "pid_t" "ac_cv_type_pid_t" "$ac_includes_default"
14720 if test "x$ac_cv_type_pid_t" = xyes; then :
14722 cat >>confdefs.h <<_ACEOF
14723 #define HAVE_PID_T 1
14724 _ACEOF
14728 ac_fn_c_check_type "$LINENO" "size_t" "ac_cv_type_size_t" "$ac_includes_default"
14729 if test "x$ac_cv_type_size_t" = xyes; then :
14731 cat >>confdefs.h <<_ACEOF
14732 #define HAVE_SIZE_T 1
14733 _ACEOF
14737 ac_fn_c_check_type "$LINENO" "ssize_t" "ac_cv_type_ssize_t" "$ac_includes_default"
14738 if test "x$ac_cv_type_ssize_t" = xyes; then :
14740 cat >>confdefs.h <<_ACEOF
14741 #define HAVE_SSIZE_T 1
14742 _ACEOF
14746 ac_fn_c_check_type "$LINENO" "long long" "ac_cv_type_long_long" "$ac_includes_default"
14747 if test "x$ac_cv_type_long_long" = xyes; then :
14749 cat >>confdefs.h <<_ACEOF
14750 #define HAVE_LONG_LONG 1
14751 _ACEOF
14755 ac_fn_c_check_type "$LINENO" "fsblkcnt_t" "ac_cv_type_fsblkcnt_t" "$ac_includes_default"
14756 if test "x$ac_cv_type_fsblkcnt_t" = xyes; then :
14758 cat >>confdefs.h <<_ACEOF
14759 #define HAVE_FSBLKCNT_T 1
14760 _ACEOF
14764 ac_fn_c_check_type "$LINENO" "fsfilcnt_t" "ac_cv_type_fsfilcnt_t" "$ac_includes_default"
14765 if test "x$ac_cv_type_fsfilcnt_t" = xyes; then :
14767 cat >>confdefs.h <<_ACEOF
14768 #define HAVE_FSFILCNT_T 1
14769 _ACEOF
14774 ac_fn_c_check_type "$LINENO" "sigset_t" "ac_cv_type_sigset_t" "#include <sys/types.h>
14775 #include <signal.h>
14777 if test "x$ac_cv_type_sigset_t" = xyes; then :
14779 cat >>confdefs.h <<_ACEOF
14780 #define HAVE_SIGSET_T 1
14781 _ACEOF
14786 ac_fn_c_check_type "$LINENO" "request_sense" "ac_cv_type_request_sense" "#include <linux/cdrom.h>
14788 if test "x$ac_cv_type_request_sense" = xyes; then :
14790 cat >>confdefs.h <<_ACEOF
14791 #define HAVE_REQUEST_SENSE 1
14792 _ACEOF
14798 ac_fn_c_check_type "$LINENO" "struct xinpgen" "ac_cv_type_struct_xinpgen" "#include <sys/types.h>
14799 #ifdef HAVE_SYS_SOCKET_H
14800 #include <sys/socket.h>
14801 #endif
14802 #ifdef HAVE_SYS_SOCKETVAR_H
14803 #include <sys/socketvar.h>
14804 #endif
14805 #ifdef HAVE_NET_ROUTE_H
14806 #include <net/route.h>
14807 #endif
14808 #ifdef HAVE_NETINET_IN_H
14809 #include <netinet/in.h>
14810 #endif
14811 #ifdef HAVE_NETINET_IN_SYSTM_H
14812 #include <netinet/in_systm.h>
14813 #endif
14814 #ifdef HAVE_NETINET_IP_H
14815 #include <netinet/ip.h>
14816 #endif
14817 #ifdef HAVE_NETINET_IN_PCB_H
14818 #include <netinet/in_pcb.h>
14819 #endif
14821 if test "x$ac_cv_type_struct_xinpgen" = xyes; then :
14823 cat >>confdefs.h <<_ACEOF
14824 #define HAVE_STRUCT_XINPGEN 1
14825 _ACEOF
14831 ac_fn_c_check_type "$LINENO" "struct r_debug" "ac_cv_type_struct_r_debug" "#ifdef HAVE_LINK_H
14832 #include <link.h>
14833 #endif
14834 #ifdef HAVE_SYS_LINK_H
14835 #include <sys/link.h>
14836 #endif
14838 if test "x$ac_cv_type_struct_r_debug" = xyes; then :
14840 cat >>confdefs.h <<_ACEOF
14841 #define HAVE_STRUCT_R_DEBUG 1
14842 _ACEOF
14846 ac_fn_c_check_type "$LINENO" "struct link_map" "ac_cv_type_struct_link_map" "#ifdef HAVE_LINK_H
14847 #include <link.h>
14848 #endif
14849 #ifdef HAVE_SYS_LINK_H
14850 #include <sys/link.h>
14851 #endif
14853 if test "x$ac_cv_type_struct_link_map" = xyes; then :
14855 cat >>confdefs.h <<_ACEOF
14856 #define HAVE_STRUCT_LINK_MAP 1
14857 _ACEOF
14863 ac_fn_c_check_member "$LINENO" "struct ff_effect" "direction" "ac_cv_member_struct_ff_effect_direction" "#ifdef HAVE_LINUX_INPUT_H
14864 #include <linux/input.h>
14865 #endif
14867 if test "x$ac_cv_member_struct_ff_effect_direction" = xyes; then :
14869 cat >>confdefs.h <<_ACEOF
14870 #define HAVE_STRUCT_FF_EFFECT_DIRECTION 1
14871 _ACEOF
14877 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sigaddset" >&5
14878 $as_echo_n "checking for sigaddset... " >&6; }
14879 if ${wine_cv_have_sigaddset+:} false; then :
14880 $as_echo_n "(cached) " >&6
14881 else
14882 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14883 /* end confdefs.h. */
14884 #include <signal.h>
14886 main ()
14888 sigset_t set; sigaddset(&set,SIGTERM);
14890 return 0;
14892 _ACEOF
14893 if ac_fn_c_try_link "$LINENO"; then :
14894 wine_cv_have_sigaddset=yes
14895 else
14896 wine_cv_have_sigaddset=no
14898 rm -f core conftest.err conftest.$ac_objext \
14899 conftest$ac_exeext conftest.$ac_ext
14901 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $wine_cv_have_sigaddset" >&5
14902 $as_echo "$wine_cv_have_sigaddset" >&6; }
14903 if test "$wine_cv_have_sigaddset" = "yes"
14904 then
14906 $as_echo "#define HAVE_SIGADDSET 1" >>confdefs.h
14911 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we can use re-entrant gethostbyname_r Linux style" >&5
14912 $as_echo_n "checking whether we can use re-entrant gethostbyname_r Linux style... " >&6; }
14913 if ${wine_cv_linux_gethostbyname_r_6+:} false; then :
14914 $as_echo_n "(cached) " >&6
14915 else
14916 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14917 /* end confdefs.h. */
14918 #include <netdb.h>
14920 main ()
14923 char *name=0;
14924 struct hostent he;
14925 struct hostent *result;
14926 char *buf=0;
14927 int bufsize=0;
14928 int errnr;
14929 char *addr=0;
14930 int addrlen=0;
14931 int addrtype=0;
14932 gethostbyname_r(name,&he,buf,bufsize,&result,&errnr);
14933 gethostbyaddr_r(addr, addrlen, addrtype,&he,buf,bufsize,&result,&errnr);
14936 return 0;
14938 _ACEOF
14939 if ac_fn_c_try_link "$LINENO"; then :
14940 wine_cv_linux_gethostbyname_r_6=yes
14941 else
14942 wine_cv_linux_gethostbyname_r_6=no
14945 rm -f core conftest.err conftest.$ac_objext \
14946 conftest$ac_exeext conftest.$ac_ext
14949 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $wine_cv_linux_gethostbyname_r_6" >&5
14950 $as_echo "$wine_cv_linux_gethostbyname_r_6" >&6; }
14951 if test "$wine_cv_linux_gethostbyname_r_6" = "yes"
14952 then
14954 $as_echo "#define HAVE_LINUX_GETHOSTBYNAME_R_6 1" >>confdefs.h
14958 if test "$ac_cv_header_linux_joystick_h" = "yes"
14959 then
14960 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether linux/joystick.h uses the Linux 2.2+ API" >&5
14961 $as_echo_n "checking whether linux/joystick.h uses the Linux 2.2+ API... " >&6; }
14962 if ${wine_cv_linux_joystick_22_api+:} false; then :
14963 $as_echo_n "(cached) " >&6
14964 else
14965 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14966 /* end confdefs.h. */
14968 #include <sys/ioctl.h>
14969 #include <sys/types.h>
14970 #include <linux/joystick.h>
14972 struct js_event blub;
14973 #if !defined(JS_EVENT_AXIS) || !defined(JS_EVENT_BUTTON)
14974 #error "no 2.2 header"
14975 #endif
14978 main ()
14980 /*empty*/
14982 return 0;
14984 _ACEOF
14985 if ac_fn_c_try_compile "$LINENO"; then :
14986 wine_cv_linux_joystick_22_api=yes
14987 else
14988 wine_cv_linux_joystick_22_api=no
14990 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
14993 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $wine_cv_linux_joystick_22_api" >&5
14994 $as_echo "$wine_cv_linux_joystick_22_api" >&6; }
14995 if test "$wine_cv_linux_joystick_22_api" = "yes"
14996 then
14998 $as_echo "#define HAVE_LINUX_22_JOYSTICK_API 1" >>confdefs.h
15004 ac_fn_c_check_member "$LINENO" "struct statfs" "f_bfree" "ac_cv_member_struct_statfs_f_bfree" "#include <sys/types.h>
15005 #ifdef HAVE_SYS_PARAM_H
15006 # include <sys/param.h>
15007 #endif
15008 #ifdef HAVE_SYS_MOUNT_H
15009 # include <sys/mount.h>
15010 #endif
15011 #ifdef HAVE_SYS_VFS_H
15012 # include <sys/vfs.h>
15013 #endif
15014 #ifdef HAVE_SYS_STATFS_H
15015 # include <sys/statfs.h>
15016 #endif
15018 if test "x$ac_cv_member_struct_statfs_f_bfree" = xyes; then :
15020 cat >>confdefs.h <<_ACEOF
15021 #define HAVE_STRUCT_STATFS_F_BFREE 1
15022 _ACEOF
15026 ac_fn_c_check_member "$LINENO" "struct statfs" "f_bavail" "ac_cv_member_struct_statfs_f_bavail" "#include <sys/types.h>
15027 #ifdef HAVE_SYS_PARAM_H
15028 # include <sys/param.h>
15029 #endif
15030 #ifdef HAVE_SYS_MOUNT_H
15031 # include <sys/mount.h>
15032 #endif
15033 #ifdef HAVE_SYS_VFS_H
15034 # include <sys/vfs.h>
15035 #endif
15036 #ifdef HAVE_SYS_STATFS_H
15037 # include <sys/statfs.h>
15038 #endif
15040 if test "x$ac_cv_member_struct_statfs_f_bavail" = xyes; then :
15042 cat >>confdefs.h <<_ACEOF
15043 #define HAVE_STRUCT_STATFS_F_BAVAIL 1
15044 _ACEOF
15048 ac_fn_c_check_member "$LINENO" "struct statfs" "f_frsize" "ac_cv_member_struct_statfs_f_frsize" "#include <sys/types.h>
15049 #ifdef HAVE_SYS_PARAM_H
15050 # include <sys/param.h>
15051 #endif
15052 #ifdef HAVE_SYS_MOUNT_H
15053 # include <sys/mount.h>
15054 #endif
15055 #ifdef HAVE_SYS_VFS_H
15056 # include <sys/vfs.h>
15057 #endif
15058 #ifdef HAVE_SYS_STATFS_H
15059 # include <sys/statfs.h>
15060 #endif
15062 if test "x$ac_cv_member_struct_statfs_f_frsize" = xyes; then :
15064 cat >>confdefs.h <<_ACEOF
15065 #define HAVE_STRUCT_STATFS_F_FRSIZE 1
15066 _ACEOF
15070 ac_fn_c_check_member "$LINENO" "struct statfs" "f_ffree" "ac_cv_member_struct_statfs_f_ffree" "#include <sys/types.h>
15071 #ifdef HAVE_SYS_PARAM_H
15072 # include <sys/param.h>
15073 #endif
15074 #ifdef HAVE_SYS_MOUNT_H
15075 # include <sys/mount.h>
15076 #endif
15077 #ifdef HAVE_SYS_VFS_H
15078 # include <sys/vfs.h>
15079 #endif
15080 #ifdef HAVE_SYS_STATFS_H
15081 # include <sys/statfs.h>
15082 #endif
15084 if test "x$ac_cv_member_struct_statfs_f_ffree" = xyes; then :
15086 cat >>confdefs.h <<_ACEOF
15087 #define HAVE_STRUCT_STATFS_F_FFREE 1
15088 _ACEOF
15092 ac_fn_c_check_member "$LINENO" "struct statfs" "f_favail" "ac_cv_member_struct_statfs_f_favail" "#include <sys/types.h>
15093 #ifdef HAVE_SYS_PARAM_H
15094 # include <sys/param.h>
15095 #endif
15096 #ifdef HAVE_SYS_MOUNT_H
15097 # include <sys/mount.h>
15098 #endif
15099 #ifdef HAVE_SYS_VFS_H
15100 # include <sys/vfs.h>
15101 #endif
15102 #ifdef HAVE_SYS_STATFS_H
15103 # include <sys/statfs.h>
15104 #endif
15106 if test "x$ac_cv_member_struct_statfs_f_favail" = xyes; then :
15108 cat >>confdefs.h <<_ACEOF
15109 #define HAVE_STRUCT_STATFS_F_FAVAIL 1
15110 _ACEOF
15114 ac_fn_c_check_member "$LINENO" "struct statfs" "f_namelen" "ac_cv_member_struct_statfs_f_namelen" "#include <sys/types.h>
15115 #ifdef HAVE_SYS_PARAM_H
15116 # include <sys/param.h>
15117 #endif
15118 #ifdef HAVE_SYS_MOUNT_H
15119 # include <sys/mount.h>
15120 #endif
15121 #ifdef HAVE_SYS_VFS_H
15122 # include <sys/vfs.h>
15123 #endif
15124 #ifdef HAVE_SYS_STATFS_H
15125 # include <sys/statfs.h>
15126 #endif
15128 if test "x$ac_cv_member_struct_statfs_f_namelen" = xyes; then :
15130 cat >>confdefs.h <<_ACEOF
15131 #define HAVE_STRUCT_STATFS_F_NAMELEN 1
15132 _ACEOF
15138 ac_fn_c_check_member "$LINENO" "struct statvfs" "f_blocks" "ac_cv_member_struct_statvfs_f_blocks" "#ifdef HAVE_SYS_STATVFS_H
15139 #include <sys/statvfs.h>
15140 #endif
15142 if test "x$ac_cv_member_struct_statvfs_f_blocks" = xyes; then :
15144 cat >>confdefs.h <<_ACEOF
15145 #define HAVE_STRUCT_STATVFS_F_BLOCKS 1
15146 _ACEOF
15152 ac_fn_c_check_member "$LINENO" "struct dirent" "d_reclen" "ac_cv_member_struct_dirent_d_reclen" "#ifdef HAVE_DIRENT_H
15153 #include <dirent.h>
15154 #endif
15156 if test "x$ac_cv_member_struct_dirent_d_reclen" = xyes; then :
15158 cat >>confdefs.h <<_ACEOF
15159 #define HAVE_STRUCT_DIRENT_D_RECLEN 1
15160 _ACEOF
15166 ac_fn_c_check_member "$LINENO" "struct msghdr" "msg_accrights" "ac_cv_member_struct_msghdr_msg_accrights" "#include <sys/types.h>
15167 #ifdef HAVE_SYS_SOCKET_H
15168 # include <sys/socket.h>
15169 #endif
15170 #ifdef HAVE_SYS_UN_H
15171 # include <sys/un.h>
15172 #endif
15174 if test "x$ac_cv_member_struct_msghdr_msg_accrights" = xyes; then :
15176 cat >>confdefs.h <<_ACEOF
15177 #define HAVE_STRUCT_MSGHDR_MSG_ACCRIGHTS 1
15178 _ACEOF
15182 ac_fn_c_check_member "$LINENO" "struct sockaddr" "sa_len" "ac_cv_member_struct_sockaddr_sa_len" "#include <sys/types.h>
15183 #ifdef HAVE_SYS_SOCKET_H
15184 # include <sys/socket.h>
15185 #endif
15186 #ifdef HAVE_SYS_UN_H
15187 # include <sys/un.h>
15188 #endif
15190 if test "x$ac_cv_member_struct_sockaddr_sa_len" = xyes; then :
15192 cat >>confdefs.h <<_ACEOF
15193 #define HAVE_STRUCT_SOCKADDR_SA_LEN 1
15194 _ACEOF
15198 ac_fn_c_check_member "$LINENO" "struct sockaddr_un" "sun_len" "ac_cv_member_struct_sockaddr_un_sun_len" "#include <sys/types.h>
15199 #ifdef HAVE_SYS_SOCKET_H
15200 # include <sys/socket.h>
15201 #endif
15202 #ifdef HAVE_SYS_UN_H
15203 # include <sys/un.h>
15204 #endif
15206 if test "x$ac_cv_member_struct_sockaddr_un_sun_len" = xyes; then :
15208 cat >>confdefs.h <<_ACEOF
15209 #define HAVE_STRUCT_SOCKADDR_UN_SUN_LEN 1
15210 _ACEOF
15216 ac_fn_c_check_member "$LINENO" "scsireq_t" "cmd" "ac_cv_member_scsireq_t_cmd" "#include <sys/types.h>
15217 #ifdef HAVE_SCSI_SG_H
15218 #include <scsi/sg.h>
15219 #endif
15221 if test "x$ac_cv_member_scsireq_t_cmd" = xyes; then :
15223 cat >>confdefs.h <<_ACEOF
15224 #define HAVE_SCSIREQ_T_CMD 1
15225 _ACEOF
15229 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>
15230 #ifdef HAVE_SCSI_SG_H
15231 #include <scsi/sg.h>
15232 #endif
15234 if test "x$ac_cv_member_sg_io_hdr_t_interface_id" = xyes; then :
15236 cat >>confdefs.h <<_ACEOF
15237 #define HAVE_SG_IO_HDR_T_INTERFACE_ID 1
15238 _ACEOF
15244 ac_fn_c_check_member "$LINENO" "siginfo_t" "si_fd" "ac_cv_member_siginfo_t_si_fd" "#include <signal.h>
15246 if test "x$ac_cv_member_siginfo_t_si_fd" = xyes; then :
15248 cat >>confdefs.h <<_ACEOF
15249 #define HAVE_SIGINFO_T_SI_FD 1
15250 _ACEOF
15256 ac_fn_c_check_member "$LINENO" "struct mtget" "mt_blksiz" "ac_cv_member_struct_mtget_mt_blksiz" "#include <sys/types.h>
15257 #ifdef HAVE_SYS_MTIO_H
15258 #include <sys/mtio.h>
15259 #endif
15261 if test "x$ac_cv_member_struct_mtget_mt_blksiz" = xyes; then :
15263 cat >>confdefs.h <<_ACEOF
15264 #define HAVE_STRUCT_MTGET_MT_BLKSIZ 1
15265 _ACEOF
15269 ac_fn_c_check_member "$LINENO" "struct mtget" "mt_gstat" "ac_cv_member_struct_mtget_mt_gstat" "#include <sys/types.h>
15270 #ifdef HAVE_SYS_MTIO_H
15271 #include <sys/mtio.h>
15272 #endif
15274 if test "x$ac_cv_member_struct_mtget_mt_gstat" = xyes; then :
15276 cat >>confdefs.h <<_ACEOF
15277 #define HAVE_STRUCT_MTGET_MT_GSTAT 1
15278 _ACEOF
15282 ac_fn_c_check_member "$LINENO" "struct mtget" "mt_blkno" "ac_cv_member_struct_mtget_mt_blkno" "#include <sys/types.h>
15283 #ifdef HAVE_SYS_MTIO_H
15284 #include <sys/mtio.h>
15285 #endif
15287 if test "x$ac_cv_member_struct_mtget_mt_blkno" = xyes; then :
15289 cat >>confdefs.h <<_ACEOF
15290 #define HAVE_STRUCT_MTGET_MT_BLKNO 1
15291 _ACEOF
15297 ac_fn_c_check_member "$LINENO" "struct option" "name" "ac_cv_member_struct_option_name" "#ifdef HAVE_GETOPT_H
15298 #include <getopt.h>
15299 #endif
15301 if test "x$ac_cv_member_struct_option_name" = xyes; then :
15303 cat >>confdefs.h <<_ACEOF
15304 #define HAVE_STRUCT_OPTION_NAME 1
15305 _ACEOF
15311 ac_fn_c_check_member "$LINENO" "struct stat" "st_blocks" "ac_cv_member_struct_stat_st_blocks" "$ac_includes_default"
15312 if test "x$ac_cv_member_struct_stat_st_blocks" = xyes; then :
15314 cat >>confdefs.h <<_ACEOF
15315 #define HAVE_STRUCT_STAT_ST_BLOCKS 1
15316 _ACEOF
15320 ac_fn_c_check_member "$LINENO" "struct stat" "st_mtim" "ac_cv_member_struct_stat_st_mtim" "$ac_includes_default"
15321 if test "x$ac_cv_member_struct_stat_st_mtim" = xyes; then :
15323 cat >>confdefs.h <<_ACEOF
15324 #define HAVE_STRUCT_STAT_ST_MTIM 1
15325 _ACEOF
15329 ac_fn_c_check_member "$LINENO" "struct stat" "st_mtimespec" "ac_cv_member_struct_stat_st_mtimespec" "$ac_includes_default"
15330 if test "x$ac_cv_member_struct_stat_st_mtimespec" = xyes; then :
15332 cat >>confdefs.h <<_ACEOF
15333 #define HAVE_STRUCT_STAT_ST_MTIMESPEC 1
15334 _ACEOF
15338 ac_fn_c_check_member "$LINENO" "struct stat" "st_ctim" "ac_cv_member_struct_stat_st_ctim" "$ac_includes_default"
15339 if test "x$ac_cv_member_struct_stat_st_ctim" = xyes; then :
15341 cat >>confdefs.h <<_ACEOF
15342 #define HAVE_STRUCT_STAT_ST_CTIM 1
15343 _ACEOF
15347 ac_fn_c_check_member "$LINENO" "struct stat" "st_ctimespec" "ac_cv_member_struct_stat_st_ctimespec" "$ac_includes_default"
15348 if test "x$ac_cv_member_struct_stat_st_ctimespec" = xyes; then :
15350 cat >>confdefs.h <<_ACEOF
15351 #define HAVE_STRUCT_STAT_ST_CTIMESPEC 1
15352 _ACEOF
15356 ac_fn_c_check_member "$LINENO" "struct stat" "st_atim" "ac_cv_member_struct_stat_st_atim" "$ac_includes_default"
15357 if test "x$ac_cv_member_struct_stat_st_atim" = xyes; then :
15359 cat >>confdefs.h <<_ACEOF
15360 #define HAVE_STRUCT_STAT_ST_ATIM 1
15361 _ACEOF
15365 ac_fn_c_check_member "$LINENO" "struct stat" "st_atimespec" "ac_cv_member_struct_stat_st_atimespec" "$ac_includes_default"
15366 if test "x$ac_cv_member_struct_stat_st_atimespec" = xyes; then :
15368 cat >>confdefs.h <<_ACEOF
15369 #define HAVE_STRUCT_STAT_ST_ATIMESPEC 1
15370 _ACEOF
15374 ac_fn_c_check_member "$LINENO" "struct stat" "st_birthtime" "ac_cv_member_struct_stat_st_birthtime" "$ac_includes_default"
15375 if test "x$ac_cv_member_struct_stat_st_birthtime" = xyes; then :
15377 cat >>confdefs.h <<_ACEOF
15378 #define HAVE_STRUCT_STAT_ST_BIRTHTIME 1
15379 _ACEOF
15383 ac_fn_c_check_member "$LINENO" "struct stat" "st_birthtim" "ac_cv_member_struct_stat_st_birthtim" "$ac_includes_default"
15384 if test "x$ac_cv_member_struct_stat_st_birthtim" = xyes; then :
15386 cat >>confdefs.h <<_ACEOF
15387 #define HAVE_STRUCT_STAT_ST_BIRTHTIM 1
15388 _ACEOF
15392 ac_fn_c_check_member "$LINENO" "struct stat" "st_birthtimespec" "ac_cv_member_struct_stat_st_birthtimespec" "$ac_includes_default"
15393 if test "x$ac_cv_member_struct_stat_st_birthtimespec" = xyes; then :
15395 cat >>confdefs.h <<_ACEOF
15396 #define HAVE_STRUCT_STAT_ST_BIRTHTIMESPEC 1
15397 _ACEOF
15401 ac_fn_c_check_member "$LINENO" "struct stat" "__st_birthtime" "ac_cv_member_struct_stat___st_birthtime" "$ac_includes_default"
15402 if test "x$ac_cv_member_struct_stat___st_birthtime" = xyes; then :
15404 cat >>confdefs.h <<_ACEOF
15405 #define HAVE_STRUCT_STAT___ST_BIRTHTIME 1
15406 _ACEOF
15410 ac_fn_c_check_member "$LINENO" "struct stat" "__st_birthtim" "ac_cv_member_struct_stat___st_birthtim" "$ac_includes_default"
15411 if test "x$ac_cv_member_struct_stat___st_birthtim" = xyes; then :
15413 cat >>confdefs.h <<_ACEOF
15414 #define HAVE_STRUCT_STAT___ST_BIRTHTIM 1
15415 _ACEOF
15421 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
15422 #include <sys/types.h>
15423 #endif
15424 #ifdef HAVE_NETINET_IN_H
15425 #include <netinet/in.h>
15426 #endif
15428 if test "x$ac_cv_member_struct_sockaddr_in6_sin6_scope_id" = xyes; then :
15430 cat >>confdefs.h <<_ACEOF
15431 #define HAVE_STRUCT_SOCKADDR_IN6_SIN6_SCOPE_ID 1
15432 _ACEOF
15438 ac_fn_c_check_type "$LINENO" "struct __res_state" "ac_cv_type_struct___res_state" "#ifdef HAVE_RESOLV_H
15439 #include <resolv.h>
15440 #endif
15442 if test "x$ac_cv_type_struct___res_state" = xyes; then :
15444 cat >>confdefs.h <<_ACEOF
15445 #define HAVE_STRUCT___RES_STATE 1
15446 _ACEOF
15452 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
15453 #include <resolv.h>
15454 #endif
15456 if test "x$ac_cv_member_struct___res_state__u__ext_nscount6" = xyes; then :
15458 cat >>confdefs.h <<_ACEOF
15459 #define HAVE_STRUCT___RES_STATE__U__EXT_NSCOUNT6 1
15460 _ACEOF
15466 ac_fn_c_check_member "$LINENO" "ns_msg" "_msg_ptr" "ac_cv_member_ns_msg__msg_ptr" "#ifdef HAVE_SYS_TYPES_H
15467 #include <sys/types.h>
15468 #endif
15469 #ifdef HAVE_NETINET_IN_H
15470 # include <netinet/in.h>
15471 #endif
15472 #ifdef HAVE_ARPA_NAMESER_H
15473 # include <arpa/nameser.h>
15474 #endif
15476 if test "x$ac_cv_member_ns_msg__msg_ptr" = xyes; then :
15478 cat >>confdefs.h <<_ACEOF
15479 #define HAVE_NS_MSG__MSG_PTR 1
15480 _ACEOF
15486 ac_fn_c_check_member "$LINENO" "struct icmpstat" "icps_inhist" "ac_cv_member_struct_icmpstat_icps_inhist" "#ifdef HAVE_SYS_TYPES_H
15487 #include <sys/types.h>
15488 #endif
15489 #ifdef HAVE_NETINET_IP_H
15490 #include <netinet/ip.h>
15491 #endif
15492 #ifdef HAVE_NETINET_IP_ICMP_H
15493 #include <netinet/ip_icmp.h>
15494 #endif
15495 #ifdef HAVE_NETINET_ICMP_VAR_H
15496 #include <netinet/icmp_var.h>
15497 #endif
15499 if test "x$ac_cv_member_struct_icmpstat_icps_inhist" = xyes; then :
15501 cat >>confdefs.h <<_ACEOF
15502 #define HAVE_STRUCT_ICMPSTAT_ICPS_INHIST 1
15503 _ACEOF
15509 ac_fn_c_check_member "$LINENO" "struct icmpstat" "icps_outhist" "ac_cv_member_struct_icmpstat_icps_outhist" "#ifdef HAVE_SYS_TYPES_H
15510 #include <sys/types.h>
15511 #endif
15512 #ifdef HAVE_ALIAS_H
15513 #include <alias.h>
15514 #endif
15515 #ifdef HAVE_SYS_SOCKET_H
15516 #include <sys/socket.h>
15517 #endif
15518 #ifdef HAVE_SYS_SOCKETVAR_H
15519 #include <sys/socketvar.h>
15520 #endif
15521 #ifdef HAVE_SYS_TIMEOUT_H
15522 #include <sys/timeout.h>
15523 #endif
15524 #ifdef HAVE_NETINET_IN_H
15525 #include <netinet/in.h>
15526 #endif
15527 #ifdef HAVE_NETINET_IN_SYSTM_H
15528 #include <netinet/in_systm.h>
15529 #endif
15530 #ifdef HAVE_NETINET_IP_H
15531 #include <netinet/ip.h>
15532 #endif
15533 #ifdef HAVE_NETINET_IP_VAR_H
15534 #include <netinet/ip_var.h>
15535 #endif
15536 #ifdef HAVE_NETINET_IP_ICMP_H
15537 #include <netinet/ip_icmp.h>
15538 #endif
15539 #ifdef HAVE_NETINET_ICMP_VAR_H
15540 #include <netinet/icmp_var.h>
15541 #endif
15543 if test "x$ac_cv_member_struct_icmpstat_icps_outhist" = xyes; then :
15545 cat >>confdefs.h <<_ACEOF
15546 #define HAVE_STRUCT_ICMPSTAT_ICPS_OUTHIST 1
15547 _ACEOF
15553 ac_fn_c_check_member "$LINENO" "struct ipstat" "ips_total" "ac_cv_member_struct_ipstat_ips_total" "#ifdef HAVE_SYS_TYPES_H
15554 #include <sys/types.h>
15555 #endif
15556 #ifdef HAVE_SYS_SOCKETVAR_H
15557 #include <sys/socketvar.h>
15558 #endif
15559 #ifdef HAVE_NETINET_IN_H
15560 #include <netinet/in.h>
15561 #endif
15562 #ifdef HAVE_NETINET_IP_VAR_H
15563 #include <netinet/ip_var.h>
15564 #endif
15566 if test "x$ac_cv_member_struct_ipstat_ips_total" = xyes; then :
15568 cat >>confdefs.h <<_ACEOF
15569 #define HAVE_STRUCT_IPSTAT_IPS_TOTAL 1
15570 _ACEOF
15576 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
15577 #include <netinet/ip_var.h>
15578 #endif
15580 if test "x$ac_cv_member_struct_ip_stats_ips_total" = xyes; then :
15582 cat >>confdefs.h <<_ACEOF
15583 #define HAVE_STRUCT_IP_STATS_IPS_TOTAL 1
15584 _ACEOF
15590 ac_fn_c_check_member "$LINENO" "struct tcpstat" "tcps_connattempt" "ac_cv_member_struct_tcpstat_tcps_connattempt" "#ifdef HAVE_SYS_TYPES_H
15591 #include <sys/types.h>
15592 #endif
15593 #ifdef HAVE_SYS_SOCKETVAR_H
15594 #include <sys/socketvar.h>
15595 #endif
15596 #ifdef HAVE_NETINET_IN_H
15597 #include <netinet/in.h>
15598 #endif
15599 #ifdef HAVE_NETINET_TCP_H
15600 #include <netinet/tcp.h>
15601 #endif
15602 #ifdef HAVE_NETINET_TCP_VAR_H
15603 #include <netinet/tcp_var.h>
15604 #endif
15606 if test "x$ac_cv_member_struct_tcpstat_tcps_connattempt" = xyes; then :
15608 cat >>confdefs.h <<_ACEOF
15609 #define HAVE_STRUCT_TCPSTAT_TCPS_CONNATTEMPT 1
15610 _ACEOF
15616 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
15617 #include <netinet/tcp_var.h>
15618 #endif
15620 if test "x$ac_cv_member_struct_tcp_stats_tcps_connattempt" = xyes; then :
15622 cat >>confdefs.h <<_ACEOF
15623 #define HAVE_STRUCT_TCP_STATS_TCPS_CONNATTEMPT 1
15624 _ACEOF
15630 ac_fn_c_check_member "$LINENO" "struct udpstat" "udps_ipackets" "ac_cv_member_struct_udpstat_udps_ipackets" "#ifdef HAVE_SYS_TYPES_H
15631 #include <sys/types.h>
15632 #endif
15633 #ifdef HAVE_NETINET_IN_H
15634 #include <netinet/in.h>
15635 #endif
15636 #ifdef HAVE_NETINET_IP_VAR_H
15637 #include <netinet/ip_var.h>
15638 #endif
15639 #ifdef HAVE_NETINET_UDP_H
15640 #include <netinet/udp.h>
15641 #endif
15642 #ifdef HAVE_NETINET_UDP_VAR_H
15643 #include <netinet/udp_var.h>
15644 #endif
15646 if test "x$ac_cv_member_struct_udpstat_udps_ipackets" = xyes; then :
15648 cat >>confdefs.h <<_ACEOF
15649 #define HAVE_STRUCT_UDPSTAT_UDPS_IPACKETS 1
15650 _ACEOF
15656 ac_fn_c_check_member "$LINENO" "struct ifreq" "ifr_hwaddr" "ac_cv_member_struct_ifreq_ifr_hwaddr" "#ifdef HAVE_SYS_TYPES_H
15657 #include <sys/types.h>
15658 #endif
15659 #ifdef HAVE_NET_IF_H
15660 # include <net/if.h>
15661 #endif
15663 if test "x$ac_cv_member_struct_ifreq_ifr_hwaddr" = xyes; then :
15665 cat >>confdefs.h <<_ACEOF
15666 #define HAVE_STRUCT_IFREQ_IFR_HWADDR 1
15667 _ACEOF
15673 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for timezone variable" >&5
15674 $as_echo_n "checking for timezone variable... " >&6; }
15675 if ${ac_cv_have_timezone+:} false; then :
15676 $as_echo_n "(cached) " >&6
15677 else
15678 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15679 /* end confdefs.h. */
15680 #include <time.h>
15682 main ()
15684 timezone = 1
15686 return 0;
15688 _ACEOF
15689 if ac_fn_c_try_link "$LINENO"; then :
15690 ac_cv_have_timezone="yes"
15691 else
15692 ac_cv_have_timezone="no"
15694 rm -f core conftest.err conftest.$ac_objext \
15695 conftest$ac_exeext conftest.$ac_ext
15697 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_have_timezone" >&5
15698 $as_echo "$ac_cv_have_timezone" >&6; }
15699 if test "$ac_cv_have_timezone" = "yes"
15700 then
15702 $as_echo "#define HAVE_TIMEZONE 1" >>confdefs.h
15705 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for daylight variable" >&5
15706 $as_echo_n "checking for daylight variable... " >&6; }
15707 if ${ac_cv_have_daylight+:} false; then :
15708 $as_echo_n "(cached) " >&6
15709 else
15710 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15711 /* end confdefs.h. */
15712 #include <time.h>
15714 main ()
15716 daylight = 1
15718 return 0;
15720 _ACEOF
15721 if ac_fn_c_try_link "$LINENO"; then :
15722 ac_cv_have_daylight="yes"
15723 else
15724 ac_cv_have_daylight="no"
15726 rm -f core conftest.err conftest.$ac_objext \
15727 conftest$ac_exeext conftest.$ac_ext
15729 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_have_daylight" >&5
15730 $as_echo "$ac_cv_have_daylight" >&6; }
15731 if test "$ac_cv_have_daylight" = "yes"
15732 then
15734 $as_echo "#define HAVE_DAYLIGHT 1" >>confdefs.h
15738 ac_save_LIBS="$LIBS"
15739 LIBS="$LIBS -lm"
15740 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for isinf" >&5
15741 $as_echo_n "checking for isinf... " >&6; }
15742 if ${ac_cv_have_isinf+:} false; then :
15743 $as_echo_n "(cached) " >&6
15744 else
15745 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15746 /* end confdefs.h. */
15747 #include <math.h>
15749 main ()
15751 float f = 0.0; return isinf(f)
15753 return 0;
15755 _ACEOF
15756 if ac_fn_c_try_link "$LINENO"; then :
15757 ac_cv_have_isinf="yes"
15758 else
15759 ac_cv_have_isinf="no"
15761 rm -f core conftest.err conftest.$ac_objext \
15762 conftest$ac_exeext conftest.$ac_ext
15764 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_have_isinf" >&5
15765 $as_echo "$ac_cv_have_isinf" >&6; }
15766 if test "$ac_cv_have_isinf" = "yes"
15767 then
15769 $as_echo "#define HAVE_ISINF 1" >>confdefs.h
15773 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for isnan" >&5
15774 $as_echo_n "checking for isnan... " >&6; }
15775 if ${ac_cv_have_isnan+:} false; then :
15776 $as_echo_n "(cached) " >&6
15777 else
15778 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15779 /* end confdefs.h. */
15780 #include <math.h>
15782 main ()
15784 float f = 0.0; return isnan(f)
15786 return 0;
15788 _ACEOF
15789 if ac_fn_c_try_link "$LINENO"; then :
15790 ac_cv_have_isnan="yes"
15791 else
15792 ac_cv_have_isnan="no"
15794 rm -f core conftest.err conftest.$ac_objext \
15795 conftest$ac_exeext conftest.$ac_ext
15797 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_have_isnan" >&5
15798 $as_echo "$ac_cv_have_isnan" >&6; }
15799 if test "$ac_cv_have_isnan" = "yes"
15800 then
15802 $as_echo "#define HAVE_ISNAN 1" >>confdefs.h
15805 LIBS="$ac_save_LIBS"
15808 case $host_cpu in
15809 *i[3456789]86*) { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we need to define __i386__" >&5
15810 $as_echo_n "checking whether we need to define __i386__... " >&6; }
15811 if ${ac_cv_cpp_def___i386__+:} false; then :
15812 $as_echo_n "(cached) " >&6
15813 else
15814 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15815 /* end confdefs.h. */
15816 #ifndef __i386__
15818 #endif
15819 _ACEOF
15820 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
15821 $EGREP "yes" >/dev/null 2>&1; then :
15822 ac_cv_cpp_def___i386__=yes
15823 else
15824 ac_cv_cpp_def___i386__=no
15826 rm -f conftest*
15829 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cpp_def___i386__" >&5
15830 $as_echo "$ac_cv_cpp_def___i386__" >&6; }
15831 if test $ac_cv_cpp_def___i386__ = yes; then :
15832 CFLAGS="$CFLAGS -D__i386__"
15833 LINTFLAGS="$LINTFLAGS -D__i386__"
15834 fi ;;
15835 *x86_64*) { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we need to define __x86_64__" >&5
15836 $as_echo_n "checking whether we need to define __x86_64__... " >&6; }
15837 if ${ac_cv_cpp_def___x86_64__+:} false; then :
15838 $as_echo_n "(cached) " >&6
15839 else
15840 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15841 /* end confdefs.h. */
15842 #ifndef __x86_64__
15844 #endif
15845 _ACEOF
15846 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
15847 $EGREP "yes" >/dev/null 2>&1; then :
15848 ac_cv_cpp_def___x86_64__=yes
15849 else
15850 ac_cv_cpp_def___x86_64__=no
15852 rm -f conftest*
15855 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cpp_def___x86_64__" >&5
15856 $as_echo "$ac_cv_cpp_def___x86_64__" >&6; }
15857 if test $ac_cv_cpp_def___x86_64__ = yes; then :
15858 CFLAGS="$CFLAGS -D__x86_64__"
15859 LINTFLAGS="$LINTFLAGS -D__x86_64__"
15860 fi ;;
15861 *sparc64*) { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we need to define __sparc64__" >&5
15862 $as_echo_n "checking whether we need to define __sparc64__... " >&6; }
15863 if ${ac_cv_cpp_def___sparc64__+:} false; then :
15864 $as_echo_n "(cached) " >&6
15865 else
15866 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15867 /* end confdefs.h. */
15868 #ifndef __sparc64__
15870 #endif
15871 _ACEOF
15872 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
15873 $EGREP "yes" >/dev/null 2>&1; then :
15874 ac_cv_cpp_def___sparc64__=yes
15875 else
15876 ac_cv_cpp_def___sparc64__=no
15878 rm -f conftest*
15881 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cpp_def___sparc64__" >&5
15882 $as_echo "$ac_cv_cpp_def___sparc64__" >&6; }
15883 if test $ac_cv_cpp_def___sparc64__ = yes; then :
15884 CFLAGS="$CFLAGS -D__sparc64__"
15885 LINTFLAGS="$LINTFLAGS -D__sparc64__"
15886 fi ;;
15887 *sparc*) { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we need to define __sparc__" >&5
15888 $as_echo_n "checking whether we need to define __sparc__... " >&6; }
15889 if ${ac_cv_cpp_def___sparc__+:} false; then :
15890 $as_echo_n "(cached) " >&6
15891 else
15892 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15893 /* end confdefs.h. */
15894 #ifndef __sparc__
15896 #endif
15897 _ACEOF
15898 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
15899 $EGREP "yes" >/dev/null 2>&1; then :
15900 ac_cv_cpp_def___sparc__=yes
15901 else
15902 ac_cv_cpp_def___sparc__=no
15904 rm -f conftest*
15907 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cpp_def___sparc__" >&5
15908 $as_echo "$ac_cv_cpp_def___sparc__" >&6; }
15909 if test $ac_cv_cpp_def___sparc__ = yes; then :
15910 CFLAGS="$CFLAGS -D__sparc__"
15911 LINTFLAGS="$LINTFLAGS -D__sparc__"
15912 fi ;;
15913 *powerpc64*) { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we need to define __powerpc64__" >&5
15914 $as_echo_n "checking whether we need to define __powerpc64__... " >&6; }
15915 if ${ac_cv_cpp_def___powerpc64__+:} false; then :
15916 $as_echo_n "(cached) " >&6
15917 else
15918 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15919 /* end confdefs.h. */
15920 #ifndef __powerpc64__
15922 #endif
15923 _ACEOF
15924 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
15925 $EGREP "yes" >/dev/null 2>&1; then :
15926 ac_cv_cpp_def___powerpc64__=yes
15927 else
15928 ac_cv_cpp_def___powerpc64__=no
15930 rm -f conftest*
15933 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cpp_def___powerpc64__" >&5
15934 $as_echo "$ac_cv_cpp_def___powerpc64__" >&6; }
15935 if test $ac_cv_cpp_def___powerpc64__ = yes; then :
15936 CFLAGS="$CFLAGS -D__powerpc64__"
15937 LINTFLAGS="$LINTFLAGS -D__powerpc64__"
15938 fi ;;
15939 *powerpc*) { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we need to define __powerpc__" >&5
15940 $as_echo_n "checking whether we need to define __powerpc__... " >&6; }
15941 if ${ac_cv_cpp_def___powerpc__+:} false; then :
15942 $as_echo_n "(cached) " >&6
15943 else
15944 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15945 /* end confdefs.h. */
15946 #ifndef __powerpc__
15948 #endif
15949 _ACEOF
15950 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
15951 $EGREP "yes" >/dev/null 2>&1; then :
15952 ac_cv_cpp_def___powerpc__=yes
15953 else
15954 ac_cv_cpp_def___powerpc__=no
15956 rm -f conftest*
15959 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cpp_def___powerpc__" >&5
15960 $as_echo "$ac_cv_cpp_def___powerpc__" >&6; }
15961 if test $ac_cv_cpp_def___powerpc__ = yes; then :
15962 CFLAGS="$CFLAGS -D__powerpc__"
15963 LINTFLAGS="$LINTFLAGS -D__powerpc__"
15964 fi ;;
15965 *aarch64*) { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we need to define __aarch64__" >&5
15966 $as_echo_n "checking whether we need to define __aarch64__... " >&6; }
15967 if ${ac_cv_cpp_def___aarch64__+:} false; then :
15968 $as_echo_n "(cached) " >&6
15969 else
15970 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15971 /* end confdefs.h. */
15972 #ifndef __aarch64__
15974 #endif
15975 _ACEOF
15976 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
15977 $EGREP "yes" >/dev/null 2>&1; then :
15978 ac_cv_cpp_def___aarch64__=yes
15979 else
15980 ac_cv_cpp_def___aarch64__=no
15982 rm -f conftest*
15985 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cpp_def___aarch64__" >&5
15986 $as_echo "$ac_cv_cpp_def___aarch64__" >&6; }
15987 if test $ac_cv_cpp_def___aarch64__ = yes; then :
15988 CFLAGS="$CFLAGS -D__aarch64__"
15989 LINTFLAGS="$LINTFLAGS -D__aarch64__"
15990 fi ;;
15991 *arm*) { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we need to define __arm__" >&5
15992 $as_echo_n "checking whether we need to define __arm__... " >&6; }
15993 if ${ac_cv_cpp_def___arm__+:} false; then :
15994 $as_echo_n "(cached) " >&6
15995 else
15996 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15997 /* end confdefs.h. */
15998 #ifndef __arm__
16000 #endif
16001 _ACEOF
16002 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
16003 $EGREP "yes" >/dev/null 2>&1; then :
16004 ac_cv_cpp_def___arm__=yes
16005 else
16006 ac_cv_cpp_def___arm__=no
16008 rm -f conftest*
16011 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cpp_def___arm__" >&5
16012 $as_echo "$ac_cv_cpp_def___arm__" >&6; }
16013 if test $ac_cv_cpp_def___arm__ = yes; then :
16014 CFLAGS="$CFLAGS -D__arm__"
16015 LINTFLAGS="$LINTFLAGS -D__arm__"
16016 fi ;;
16017 esac
16019 case $host_vendor in
16020 *sun*) { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we need to define __sun__" >&5
16021 $as_echo_n "checking whether we need to define __sun__... " >&6; }
16022 if ${ac_cv_cpp_def___sun__+:} false; then :
16023 $as_echo_n "(cached) " >&6
16024 else
16025 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
16026 /* end confdefs.h. */
16027 #ifndef __sun__
16029 #endif
16030 _ACEOF
16031 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
16032 $EGREP "yes" >/dev/null 2>&1; then :
16033 ac_cv_cpp_def___sun__=yes
16034 else
16035 ac_cv_cpp_def___sun__=no
16037 rm -f conftest*
16040 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cpp_def___sun__" >&5
16041 $as_echo "$ac_cv_cpp_def___sun__" >&6; }
16042 if test $ac_cv_cpp_def___sun__ = yes; then :
16043 CFLAGS="$CFLAGS -D__sun__"
16044 LINTFLAGS="$LINTFLAGS -D__sun__"
16045 fi ;;
16046 esac
16052 ac_config_commands="$ac_config_commands include/stamp-h"
16054 $as_echo_n "creating Makefile rules..." >&6
16056 wine_rules_file=conf$$rules.make
16057 rm -f $wine_rules_file
16058 ALL_POT_FILES=""
16059 ALL_TEST_RESOURCES=""
16062 wine_fn_append_file ()
16064 as_fn_append $1 " \\$as_nl $2"
16067 wine_fn_append_rule ()
16069 $as_echo "$1" >>$wine_rules_file
16072 wine_fn_has_flag ()
16074 expr ",$ac_flags," : ".*,$1,.*" >/dev/null
16077 wine_fn_depend_rules ()
16079 ac_alldeps=$1
16080 ac_makedep="\$(MAKEDEP)"
16081 ac_input=Make.vars.in:$ac_dir/Makefile.in
16082 if test $ac_dir != tools
16083 then
16084 ac_alldeps="$1 $ac_makedep"
16085 else
16086 ac_alldeps="$1 include/config.h"
16088 case $1 in
16089 *.in) ac_input=$ac_input:$1 ;;
16090 *) ac_makedep="$1 $ac_makedep" ;;
16091 esac
16093 wine_fn_append_rule \
16094 "$ac_dir/Makefile: $ac_dir/Makefile.in Make.vars.in config.status $ac_alldeps
16095 @./config.status --file $ac_dir/Makefile:$ac_input && cd $ac_dir && \$(MAKE) depend
16096 depend: $ac_dir/depend
16097 .PHONY: $ac_dir/depend
16098 $ac_dir/depend: $ac_makedep dummy
16099 @./config.status --file $ac_dir/Makefile:$ac_input && cd $ac_dir && \$(MAKE) depend"
16102 wine_fn_pot_rules ()
16104 test "x$with_gettextpo" = xyes || return
16106 if wine_fn_has_flag mc
16107 then
16108 wine_fn_append_file ALL_POT_FILES $ac_dir/msg.pot
16109 wine_fn_append_rule \
16110 "$ac_dir/msg.pot: $ac_dir/Makefile dummy
16111 @cd $ac_dir && \$(MAKE) msg.pot
16112 $ac_dir/msg.pot: tools/wmc include"
16114 if wine_fn_has_flag po
16115 then
16116 wine_fn_append_file ALL_POT_FILES $ac_dir/rsrc.pot
16117 wine_fn_append_rule \
16118 "$ac_dir/rsrc.pot: $ac_dir/Makefile dummy
16119 @cd $ac_dir && \$(MAKE) rsrc.pot
16120 $ac_dir/rsrc.pot: tools/wrc include"
16124 wine_fn_all_rules ()
16126 ac_rules=$1
16128 wine_fn_depend_rules ${ac_rules:-Make.rules}
16129 wine_fn_append_rule \
16130 "all: $ac_dir
16131 .PHONY: $ac_dir
16132 $ac_dir: $ac_dir/Makefile dummy
16133 @cd $ac_dir && \$(MAKE)"
16136 wine_fn_install_rules ()
16138 wine_fn_has_flag install-lib || wine_fn_has_flag install-dev || return
16140 wine_fn_append_rule \
16141 ".PHONY: $ac_dir/install $ac_dir/uninstall
16142 $ac_dir/install:: $ac_dir
16143 @cd $ac_dir && \$(MAKE) install
16144 $ac_dir/uninstall:: $ac_dir/Makefile
16145 @cd $ac_dir && \$(MAKE) uninstall
16146 install:: $ac_dir/install
16147 __uninstall__: $ac_dir/uninstall"
16149 if wine_fn_has_flag install-lib
16150 then
16151 wine_fn_append_rule \
16152 ".PHONY: $ac_dir/install-lib
16153 $ac_dir/install-lib:: $ac_dir
16154 @cd $ac_dir && \$(MAKE) install-lib
16155 install-lib:: $ac_dir/install-lib"
16158 if wine_fn_has_flag install-dev
16159 then
16160 wine_fn_append_rule \
16161 ".PHONY: $ac_dir/install-dev
16162 $ac_dir/install-dev:: $ac_dir
16163 @cd $ac_dir && \$(MAKE) install-dev
16164 install-dev:: $ac_dir/install-dev"
16168 wine_fn_clean_rules ()
16170 ac_clean=$@
16172 if wine_fn_has_flag clean
16173 then
16174 wine_fn_append_rule \
16175 "__clean__: $ac_dir/clean
16176 .PHONY: $ac_dir/clean
16177 $ac_dir/clean: $ac_dir/Makefile
16178 @cd $ac_dir && \$(MAKE) clean
16179 \$(RM) $ac_dir/Makefile"
16180 else
16181 wine_fn_append_rule \
16182 "clean::
16183 \$(RM) \$(CLEAN_FILES:%=$ac_dir/%) $ac_clean $ac_dir/Makefile"
16187 wine_fn_disabled_rules ()
16189 ac_clean=$@
16191 wine_fn_append_rule \
16192 "clean::
16193 \$(RM) \$(CLEAN_FILES:%=$ac_dir/%) $ac_clean $ac_dir/Makefile"
16196 wine_fn_config_makefile ()
16198 ac_dir=$1
16199 ac_enable=$2
16200 ac_flags=$3
16202 if eval test \"x\$"$ac_enable"\" = x"no"; then :
16203 wine_fn_disabled_rules; return
16205 wine_fn_all_rules
16206 wine_fn_install_rules
16207 wine_fn_clean_rules
16210 wine_fn_config_lib ()
16212 ac_name=$1
16213 ac_flags=$2
16214 ac_dir=dlls/$ac_name
16216 wine_fn_all_rules dlls/Makeimplib.rules
16217 wine_fn_clean_rules
16219 wine_fn_append_rule \
16220 ".PHONY: $ac_dir/install $ac_dir/uninstall
16221 $ac_dir/install:: $ac_dir \$(DESTDIR)\$(dlldir)
16222 \$(INSTALL_DATA) $ac_dir/lib$ac_name.a \$(DESTDIR)\$(dlldir)/lib$ac_name.a
16223 $ac_dir/uninstall::
16224 \$(RM) \$(DESTDIR)\$(dlldir)/lib$ac_name.a
16225 install install-dev:: $ac_dir/install
16226 __uninstall__: $ac_dir/uninstall
16227 __builddeps__: $ac_dir
16228 $ac_dir: tools/widl tools/winebuild tools/winegcc include"
16231 wine_fn_config_dll ()
16233 ac_name=$1
16234 ac_dir=dlls/$ac_name
16235 ac_enable=$2
16236 ac_flags=$3
16237 ac_implib=${4:-$ac_name}
16238 ac_file=$ac_dir/lib$ac_implib
16239 ac_dll=$ac_name
16240 ac_deps="tools/widl tools/winebuild tools/winegcc include"
16241 ac_implibflags=""
16243 case $ac_name in
16244 *16) ac_implibflags=" -m16" ;;
16245 *.*) ;;
16246 *) ac_dll=$ac_dll.dll ;;
16247 esac
16249 ac_clean=
16250 wine_fn_has_flag implib && ac_clean="$ac_clean $ac_file.$IMPLIBEXT"
16251 wine_fn_has_flag mc && ac_clean="$ac_clean $ac_dir/msg.pot"
16252 wine_fn_has_flag po && ac_clean="$ac_clean $ac_dir/rsrc.pot"
16254 if eval test \"x\$"$ac_enable"\" = x"no"; then :
16255 if wine_fn_has_flag implib && test "$ac_enable" != enable_win16
16256 then
16257 wine_fn_depend_rules dlls/Makedll.rules
16258 wine_fn_clean_rules $ac_clean
16259 else
16260 wine_fn_disabled_rules $ac_clean
16261 return
16263 else
16264 wine_fn_all_rules dlls/Makedll.rules
16265 wine_fn_clean_rules $ac_clean
16266 wine_fn_append_rule \
16267 "$ac_dir: __builddeps__
16268 manpages htmlpages sgmlpages xmlpages:: $ac_dir/Makefile
16269 @cd $ac_dir && \$(MAKE) \$@
16270 .PHONY: $ac_dir/install-lib $ac_dir/uninstall
16271 install install-lib:: $ac_dir/install-lib
16272 __uninstall__: $ac_dir/uninstall"
16273 if test -n "$DLLEXT"
16274 then
16275 wine_fn_append_rule \
16276 "$ac_dir/install-lib:: $ac_dir \$(DESTDIR)\$(dlldir) \$(DESTDIR)\$(fakedlldir)
16277 \$(INSTALL_PROGRAM) $ac_dir/$ac_dll$DLLEXT \$(DESTDIR)\$(dlldir)/$DLLPREFIX$ac_dll$DLLEXT
16278 \$(INSTALL_DATA) $ac_dir/$ac_dll.fake \$(DESTDIR)\$(fakedlldir)/$ac_dll
16279 $ac_dir/uninstall::
16280 \$(RM) \$(DESTDIR)\$(dlldir)/$DLLPREFIX$ac_dll$DLLEXT \$(DESTDIR)\$(fakedlldir)/$ac_dll"
16281 else
16282 wine_fn_append_rule \
16283 "$ac_dir/install-lib:: $ac_dir \$(DESTDIR)\$(dlldir)
16284 \$(INSTALL_PROGRAM) $ac_dir/$ac_dll \$(DESTDIR)\$(dlldir)/$ac_dll
16285 $ac_dir/uninstall::
16286 \$(RM) \$(DESTDIR)\$(dlldir)/$ac_dll"
16289 wine_fn_pot_rules
16292 if wine_fn_has_flag staticimplib
16293 then
16294 wine_fn_append_rule \
16295 "__builddeps__: $ac_file.$IMPLIBEXT $ac_file.$STATIC_IMPLIBEXT
16296 $ac_file.$IMPLIBEXT $ac_file.$STATIC_IMPLIBEXT $ac_file.cross.a: $ac_deps
16297 $ac_file.def: $ac_dir/$ac_name.spec $ac_dir/Makefile \$(WINEBUILD)
16298 \$(WINEBUILD) \$(TARGETFLAGS)$ac_implibflags -w --def -o \$@ --export \$(srcdir)/$ac_dir/$ac_name.spec
16299 $ac_file.$STATIC_IMPLIBEXT: $ac_dir/Makefile dummy
16300 @cd $ac_dir && \$(MAKE) lib$ac_implib.$STATIC_IMPLIBEXT
16301 .PHONY: $ac_dir/install-dev $ac_dir/uninstall
16302 $ac_dir/install-dev:: $ac_file.$IMPLIBEXT \$(DESTDIR)\$(dlldir)
16303 \$(INSTALL_DATA) $ac_file.$IMPLIBEXT \$(DESTDIR)\$(dlldir)/lib$ac_implib.$IMPLIBEXT
16304 $ac_dir/uninstall::
16305 \$(RM) \$(DESTDIR)\$(dlldir)/lib$ac_implib.$IMPLIBEXT
16306 install install-dev:: $ac_dir/install-dev
16307 __uninstall__: $ac_dir/uninstall"
16309 if test "$IMPLIBEXT" != "$STATIC_IMPLIBEXT"
16310 then
16311 wine_fn_append_rule \
16312 "$ac_dir/install-dev:: $ac_file.$STATIC_IMPLIBEXT \$(DESTDIR)\$(dlldir) __builddeps__
16313 \$(INSTALL_DATA) $ac_file.$STATIC_IMPLIBEXT \$(DESTDIR)\$(dlldir)/lib$ac_implib.$STATIC_IMPLIBEXT
16314 $ac_dir/uninstall::
16315 \$(RM) \$(DESTDIR)\$(dlldir)/lib$ac_implib.$STATIC_IMPLIBEXT"
16318 if test "x$CROSSTEST_DISABLE" = x
16319 then
16320 wine_fn_append_rule \
16321 "__builddeps__: $ac_file.cross.a
16322 $ac_file.cross.a: $ac_dir/Makefile dummy
16323 @cd $ac_dir && \$(MAKE) lib$ac_implib.cross.a"
16326 elif wine_fn_has_flag implib
16327 then
16328 wine_fn_append_rule \
16329 "__builddeps__: $ac_file.$IMPLIBEXT
16330 $ac_file.def: $ac_dir/$ac_name.spec $ac_dir/Makefile \$(WINEBUILD)
16331 \$(WINEBUILD) \$(TARGETFLAGS)$ac_implibflags -w --def -o \$@ --export \$(srcdir)/$ac_dir/$ac_name.spec
16332 $ac_file.a: $ac_dir/$ac_name.spec $ac_dir/Makefile \$(WINEBUILD)
16333 \$(WINEBUILD) \$(TARGETFLAGS)$ac_implibflags -w --implib -o \$@ --export \$(srcdir)/$ac_dir/$ac_name.spec
16334 .PHONY: $ac_dir/install-dev $ac_dir/uninstall
16335 $ac_dir/install-dev:: $ac_file.$IMPLIBEXT \$(DESTDIR)\$(dlldir)
16336 \$(INSTALL_DATA) $ac_file.$IMPLIBEXT \$(DESTDIR)\$(dlldir)/lib$ac_implib.$IMPLIBEXT
16337 $ac_dir/uninstall::
16338 \$(RM) \$(DESTDIR)\$(dlldir)/lib$ac_implib.$IMPLIBEXT
16339 install install-dev:: $ac_dir/install-dev
16340 __uninstall__: $ac_dir/uninstall"
16341 if test "x$CROSSTEST_DISABLE" = x
16342 then
16343 wine_fn_append_rule \
16344 "__builddeps__: $ac_file.cross.a
16345 $ac_file.cross.a: $ac_dir/$ac_name.spec $ac_dir/Makefile \$(WINEBUILD)
16346 \$(WINEBUILD) \$(CROSSTARGET:%=-b %)$ac_implibflags -w --implib -o \$@ --export \$(srcdir)/$ac_dir/$ac_name.spec"
16349 if test "$ac_name" != "$ac_implib"
16350 then
16351 wine_fn_append_rule \
16352 "__builddeps__: dlls/lib$ac_implib.$IMPLIBEXT
16353 dlls/lib$ac_implib.$IMPLIBEXT: $ac_file.$IMPLIBEXT
16354 \$(RM) \$@ && \$(LN_S) $ac_name/lib$ac_implib.$IMPLIBEXT \$@
16355 clean::
16356 \$(RM) dlls/lib$ac_implib.$IMPLIBEXT"
16357 if test "x$CROSSTEST_DISABLE" = x
16358 then
16359 wine_fn_append_rule \
16360 "__builddeps__: dlls/lib$ac_implib.cross.a
16361 dlls/lib$ac_implib.cross.a: $ac_file.cross.a
16362 \$(RM) \$@ && \$(LN_S) $ac_name/lib$ac_implib.cross.a \$@"
16368 wine_fn_config_program ()
16370 ac_name=$1
16371 ac_dir=programs/$ac_name
16372 ac_enable=$2
16373 ac_flags=$3
16374 ac_program=$ac_name
16376 case $ac_name in
16377 *.*) ;;
16378 *) ac_program=$ac_program.exe ;;
16379 esac
16381 ac_clean=
16382 wine_fn_has_flag mc && ac_clean="$ac_clean $ac_dir/msg.pot"
16383 wine_fn_has_flag po && ac_clean="$ac_clean $ac_dir/rsrc.pot"
16384 wine_fn_has_flag manpage && ac_clean="$ac_clean $ac_dir/$ac_name.man"
16385 test -n "$DLLEXT" || ac_clean="$ac_clean $ac_dir/$ac_program"
16387 if eval test \"x\$"$ac_enable"\" = x"no"; then :
16388 wine_fn_disabled_rules $ac_clean; return
16391 wine_fn_all_rules programs/Makeprog.rules
16392 wine_fn_clean_rules $ac_clean
16393 wine_fn_append_rule "$ac_dir: __builddeps__"
16394 wine_fn_pot_rules
16396 wine_fn_has_flag install || return
16397 wine_fn_append_rule \
16398 ".PHONY: $ac_dir/install $ac_dir/uninstall
16399 install install-lib:: $ac_dir/install
16400 __uninstall__: $ac_dir/uninstall"
16402 if test -n "$DLLEXT"
16403 then
16404 wine_fn_append_rule \
16405 "$ac_dir/install:: $ac_dir \$(DESTDIR)\$(dlldir) \$(DESTDIR)\$(fakedlldir)
16406 \$(INSTALL_PROGRAM) $ac_dir/$ac_program$DLLEXT \$(DESTDIR)\$(dlldir)/$DLLPREFIX$ac_program$DLLEXT
16407 \$(INSTALL_DATA) $ac_dir/$ac_program.fake \$(DESTDIR)\$(fakedlldir)/$ac_program
16408 $ac_dir/uninstall::
16409 \$(RM) \$(DESTDIR)\$(dlldir)/$DLLPREFIX$ac_program$DLLEXT \$(DESTDIR)\$(fakedlldir)/$ac_program"
16411 if test -z "$with_wine64" && wine_fn_has_flag installbin
16412 then
16413 wine_fn_append_rule \
16414 "$ac_dir/install:: __tooldeps__ \$(DESTDIR)\$(bindir)
16415 \$(INSTALL_SCRIPT) \$(TOOLSDIR)/tools/wineapploader \$(DESTDIR)\$(bindir)/$ac_name
16416 $ac_dir/uninstall::
16417 \$(RM) \$(DESTDIR)\$(bindir)/$ac_name"
16419 else
16420 wine_fn_append_rule \
16421 "$ac_dir/install:: $ac_dir \$(DESTDIR)\$(bindir)
16422 \$(INSTALL_PROGRAM) $ac_dir/$ac_program \$(DESTDIR)\$(bindir)/$ac_program
16423 $ac_dir/uninstall::
16424 \$(RM) \$(DESTDIR)\$(bindir)/$ac_program"
16427 if test -z "$with_wine64" && wine_fn_has_flag manpage
16428 then
16429 wine_fn_append_rule \
16430 "$ac_dir/install:: $ac_dir \$(DESTDIR)\$(mandir)/man\$(prog_manext)
16431 \$(INSTALL_DATA) $ac_dir/$ac_name.man \$(DESTDIR)\$(mandir)/man\$(prog_manext)/$ac_name.\$(prog_manext)
16432 $ac_dir/uninstall::
16433 \$(RM) \$(DESTDIR)\$(mandir)/man\$(prog_manext)/$ac_name.\$(prog_manext)"
16437 wine_fn_config_test ()
16439 ac_dir=$1
16440 ac_name=$2
16441 ac_flags=$3
16443 ac_clean=
16444 test "x$CROSSTEST_DISABLE" = x && ac_clean=`expr $ac_dir/${ac_name} : "\\(.*\\)_test"`_crosstest.exe
16445 test -n "$DLLEXT" || ac_clean=$ac_dir/${ac_name}.exe
16446 ac_clean="$ac_clean $ac_dir/testlist.c"
16448 if test "x$enable_tests" = xno; then :
16449 wine_fn_disabled_rules $ac_clean; return
16452 wine_fn_append_file ALL_TEST_RESOURCES $ac_name.res
16453 wine_fn_all_rules Maketest.rules
16454 wine_fn_clean_rules $ac_clean
16456 wine_fn_append_rule \
16457 "$ac_dir: programs/winetest/Makefile __builddeps__
16458 programs/winetest: $ac_dir
16459 check test: $ac_dir/test
16460 .PHONY: $ac_dir/test
16461 $ac_dir/test: dummy
16462 @cd $ac_dir && \$(MAKE) test
16463 testclean::
16464 \$(RM) $ac_dir/*.ok"
16466 if test "x$CROSSTEST_DISABLE" = x
16467 then
16468 wine_fn_append_rule \
16469 "crosstest: $ac_dir/crosstest
16470 .PHONY: $ac_dir/crosstest
16471 $ac_dir/crosstest: $ac_dir/Makefile __builddeps__ dummy
16472 @cd $ac_dir && \$(MAKE) crosstest"
16476 wine_fn_config_tool ()
16478 ac_dir=$1
16479 ac_flags=$2
16480 if test "x$enable_tools" = xno; then :
16481 return
16484 wine_fn_all_rules
16485 wine_fn_install_rules
16486 wine_fn_clean_rules
16488 wine_fn_append_rule "__tooldeps__: $ac_dir"
16489 wine_fn_append_rule "$ac_dir: libs/port"
16490 case $ac_dir in
16491 tools/winebuild) wine_fn_append_rule "\$(WINEBUILD): $ac_dir" ;;
16492 esac
16495 wine_fn_config_makerules ()
16497 ac_rules=$1
16498 ac_deps=$2
16499 wine_fn_append_rule \
16500 "$ac_rules: $ac_rules.in $ac_deps config.status
16501 @./config.status $ac_rules
16502 distclean::
16503 \$(RM) $ac_rules"
16506 wine_fn_config_symlink ()
16508 ac_linkdir=
16509 if test "x$1" = "x-d"
16510 then
16511 ac_linkdir=$2
16512 shift; shift
16514 ac_links=$@
16515 wine_fn_append_rule \
16516 "$ac_links:
16517 @./config.status \$@
16518 distclean::
16519 \$(RM) $ac_links"
16520 test -n "$ac_linkdir" || return
16521 wine_fn_append_rule "$ac_linkdir/Makefile $ac_linkdir/depend: $ac_links"
16524 if test "x$CROSSTEST_DISABLE" != x
16525 then
16526 wine_fn_append_rule \
16527 "crosstest:
16528 @echo \"crosstest is not supported (mingw not installed?)\" && false"
16530 wine_fn_append_rule "
16531 # Rules automatically generated by configure
16533 .INIT: Makefile
16534 .MAKEFILEDEPS:
16535 all: Makefile
16536 Makefile: Makefile.in Make.vars.in Make.rules config.status
16537 @./config.status Make.tmp Makefile"
16539 ac_config_links="$ac_config_links dlls/shell32/AUTHORS:AUTHORS"
16540 wine_fn_config_symlink -d dlls/shell32 dlls/shell32/AUTHORS
16541 if test "x$enable_fonts" != xno; then
16542 ac_config_links="$ac_config_links fonts/marlett.ttf:fonts/marlett.ttf"
16543 ac_config_links="$ac_config_links fonts/symbol.ttf:fonts/symbol.ttf"
16544 ac_config_links="$ac_config_links fonts/tahoma.ttf:fonts/tahoma.ttf"
16545 ac_config_links="$ac_config_links fonts/tahomabd.ttf:fonts/tahomabd.ttf"
16546 test "$srcdir" = "." || wine_fn_config_symlink fonts/marlett.ttf fonts/symbol.ttf fonts/tahoma.ttf fonts/tahomabd.ttf
16548 ac_config_links="$ac_config_links loader/l_intl.nls:loader/l_intl.nls"
16549 test "$srcdir" = "." || wine_fn_config_symlink loader/l_intl.nls
16550 ac_config_links="$ac_config_links po/LINGUAS:po/LINGUAS"
16551 test "$srcdir" = "." || wine_fn_config_symlink po/LINGUAS
16552 ac_config_links="$ac_config_links wine:tools/winewrapper"
16553 wine_fn_config_symlink wine
16554 if test "x$enable_win64" != xno; then
16555 ac_config_links="$ac_config_links wine64:tools/winewrapper"
16556 wine_fn_config_symlink wine64
16559 ac_config_commands="$ac_config_commands dlls/gdi32/dibdrv"
16560 wine_fn_append_rule \
16561 "clean::
16562 \$(RM) \$(CLEAN_FILES:%=dlls/gdi32/dibdrv/%)"
16563 ac_config_commands="$ac_config_commands dlls/gdi32/enhmfdrv"
16564 wine_fn_append_rule \
16565 "clean::
16566 \$(RM) \$(CLEAN_FILES:%=dlls/gdi32/enhmfdrv/%)"
16567 ac_config_commands="$ac_config_commands dlls/gdi32/mfdrv"
16568 wine_fn_append_rule \
16569 "clean::
16570 \$(RM) \$(CLEAN_FILES:%=dlls/gdi32/mfdrv/%)"
16571 ac_config_commands="$ac_config_commands dlls/kernel32/nls"
16572 wine_fn_append_rule \
16573 "clean::
16574 \$(RM) \$(CLEAN_FILES:%=dlls/kernel32/nls/%)"
16575 ac_config_commands="$ac_config_commands dlls/user32/resources"
16576 wine_fn_append_rule \
16577 "clean::
16578 \$(RM) \$(CLEAN_FILES:%=dlls/user32/resources/%)"
16579 ac_config_commands="$ac_config_commands dlls/wineps.drv/data"
16580 wine_fn_append_rule \
16581 "clean::
16582 \$(RM) \$(CLEAN_FILES:%=dlls/wineps.drv/data/%)"
16583 ac_config_commands="$ac_config_commands include/wine"
16584 wine_fn_append_rule \
16585 "clean::
16586 \$(RM) \$(CLEAN_FILES:%=include/wine/%)"
16588 wine_fn_config_makerules Make.rules
16589 MAKE_RULES=Make.rules
16590 ac_config_files="$ac_config_files Make.rules"
16592 wine_fn_config_makerules Maketest.rules Make.rules
16593 MAKE_TEST_RULES=Maketest.rules
16594 ac_config_files="$ac_config_files Maketest.rules"
16596 wine_fn_config_makerules dlls/Makedll.rules Make.rules
16597 MAKE_DLL_RULES=dlls/Makedll.rules
16598 ac_config_files="$ac_config_files dlls/Makedll.rules"
16600 wine_fn_config_makerules dlls/Makeimplib.rules Make.rules
16601 MAKE_IMPLIB_RULES=dlls/Makeimplib.rules
16602 ac_config_files="$ac_config_files dlls/Makeimplib.rules"
16604 wine_fn_config_makerules programs/Makeprog.rules Make.rules
16605 MAKE_PROG_RULES=programs/Makeprog.rules
16606 ac_config_files="$ac_config_files programs/Makeprog.rules"
16609 wine_fn_config_dll acledit enable_acledit
16610 wine_fn_config_dll aclui enable_aclui implib
16611 wine_fn_config_dll activeds enable_activeds implib
16612 wine_fn_config_dll actxprxy enable_actxprxy clean
16613 wine_fn_config_lib adsiid
16614 wine_fn_config_dll advapi32 enable_advapi32 clean,implib
16615 wine_fn_config_test dlls/advapi32/tests advapi32_test
16616 wine_fn_config_dll advpack enable_advpack implib
16617 wine_fn_config_test dlls/advpack/tests advpack_test
16618 wine_fn_config_dll amstream enable_amstream clean
16619 wine_fn_config_test dlls/amstream/tests amstream_test
16620 wine_fn_config_dll api-ms-win-core-localregistry-l1-1-0 enable_api_ms_win_core_localregistry_l1_1_0
16621 wine_fn_config_dll api-ms-win-core-processthreads-l1-1-0 enable_api_ms_win_core_processthreads_l1_1_0
16622 wine_fn_config_dll api-ms-win-core-winrt-error-l1-1-0 enable_api_ms_win_core_winrt_error_l1_1_0
16623 wine_fn_config_dll api-ms-win-core-winrt-string-l1-1-0 enable_api_ms_win_core_winrt_string_l1_1_0
16624 wine_fn_config_dll api-ms-win-downlevel-advapi32-l1-1-0 enable_api_ms_win_downlevel_advapi32_l1_1_0
16625 wine_fn_config_dll api-ms-win-downlevel-advapi32-l2-1-0 enable_api_ms_win_downlevel_advapi32_l2_1_0
16626 wine_fn_config_dll api-ms-win-downlevel-normaliz-l1-1-0 enable_api_ms_win_downlevel_normaliz_l1_1_0
16627 wine_fn_config_dll api-ms-win-downlevel-ole32-l1-1-0 enable_api_ms_win_downlevel_ole32_l1_1_0
16628 wine_fn_config_dll api-ms-win-downlevel-shell32-l1-1-0 enable_api_ms_win_downlevel_shell32_l1_1_0
16629 wine_fn_config_dll api-ms-win-downlevel-shlwapi-l1-1-0 enable_api_ms_win_downlevel_shlwapi_l1_1_0
16630 wine_fn_config_dll api-ms-win-downlevel-shlwapi-l2-1-0 enable_api_ms_win_downlevel_shlwapi_l2_1_0
16631 wine_fn_config_dll api-ms-win-downlevel-user32-l1-1-0 enable_api_ms_win_downlevel_user32_l1_1_0
16632 wine_fn_config_dll api-ms-win-downlevel-version-l1-1-0 enable_api_ms_win_downlevel_version_l1_1_0
16633 wine_fn_config_dll api-ms-win-security-base-l1-1-0 enable_api_ms_win_security_base_l1_1_0
16634 wine_fn_config_dll apphelp enable_apphelp
16635 wine_fn_config_test dlls/apphelp/tests apphelp_test
16636 wine_fn_config_dll appwiz.cpl enable_appwiz_cpl po
16637 wine_fn_config_dll atl enable_atl clean,implib
16638 wine_fn_config_test dlls/atl/tests atl_test
16639 wine_fn_config_dll atl100 enable_atl100 implib
16640 wine_fn_config_test dlls/atl100/tests atl100_test
16641 wine_fn_config_dll atl110 enable_atl110
16642 wine_fn_config_dll atl80 enable_atl80 implib
16643 wine_fn_config_test dlls/atl80/tests atl80_test
16644 wine_fn_config_dll authz enable_authz
16645 wine_fn_config_dll avicap32 enable_avicap32 implib
16646 wine_fn_config_dll avifil32 enable_avifil32 clean,implib,po
16647 wine_fn_config_test dlls/avifil32/tests avifil32_test
16648 wine_fn_config_dll avifile.dll16 enable_win16
16649 wine_fn_config_dll avrt enable_avrt implib
16650 wine_fn_config_dll bcrypt enable_bcrypt
16651 wine_fn_config_dll browseui enable_browseui clean,po
16652 wine_fn_config_test dlls/browseui/tests browseui_test
16653 wine_fn_config_dll cabinet enable_cabinet implib
16654 wine_fn_config_test dlls/cabinet/tests cabinet_test
16655 wine_fn_config_dll capi2032 enable_capi2032 implib
16656 wine_fn_config_dll cards enable_cards implib
16657 wine_fn_config_dll cfgmgr32 enable_cfgmgr32 implib
16658 wine_fn_config_dll clusapi enable_clusapi implib
16659 wine_fn_config_dll comcat enable_comcat
16660 wine_fn_config_test dlls/comcat/tests comcat_test
16661 wine_fn_config_dll comctl32 enable_comctl32 implib,po
16662 wine_fn_config_test dlls/comctl32/tests comctl32_test
16663 wine_fn_config_dll comdlg32 enable_comdlg32 clean,implib,po
16664 wine_fn_config_test dlls/comdlg32/tests comdlg32_test
16665 wine_fn_config_dll comm.drv16 enable_win16
16666 wine_fn_config_dll commdlg.dll16 enable_win16
16667 wine_fn_config_dll compobj.dll16 enable_win16
16668 wine_fn_config_dll compstui enable_compstui implib
16669 wine_fn_config_dll comsvcs enable_comsvcs implib
16670 wine_fn_config_dll credui enable_credui implib,po
16671 wine_fn_config_test dlls/credui/tests credui_test
16672 wine_fn_config_dll crtdll enable_crtdll implib
16673 wine_fn_config_dll crypt32 enable_crypt32 implib,po
16674 wine_fn_config_test dlls/crypt32/tests crypt32_test
16675 wine_fn_config_dll cryptdlg enable_cryptdlg po
16676 wine_fn_config_dll cryptdll enable_cryptdll implib
16677 wine_fn_config_dll cryptnet enable_cryptnet implib
16678 wine_fn_config_test dlls/cryptnet/tests cryptnet_test
16679 wine_fn_config_dll cryptui enable_cryptui implib,po
16680 wine_fn_config_test dlls/cryptui/tests cryptui_test
16681 wine_fn_config_dll ctapi32 enable_ctapi32
16682 wine_fn_config_dll ctl3d.dll16 enable_win16
16683 wine_fn_config_dll ctl3d32 enable_ctl3d32 implib
16684 wine_fn_config_dll ctl3dv2.dll16 enable_win16
16685 wine_fn_config_dll d3d10 enable_d3d10 implib
16686 wine_fn_config_test dlls/d3d10/tests d3d10_test
16687 wine_fn_config_dll d3d10core enable_d3d10core implib
16688 wine_fn_config_test dlls/d3d10core/tests d3d10core_test
16689 wine_fn_config_dll d3d11 enable_d3d11
16690 wine_fn_config_dll d3d8 enable_d3d8 implib
16691 wine_fn_config_test dlls/d3d8/tests d3d8_test
16692 wine_fn_config_dll d3d9 enable_d3d9 implib
16693 wine_fn_config_test dlls/d3d9/tests d3d9_test
16694 wine_fn_config_dll d3dcompiler_33 enable_d3dcompiler_33
16695 wine_fn_config_dll d3dcompiler_34 enable_d3dcompiler_34
16696 wine_fn_config_dll d3dcompiler_35 enable_d3dcompiler_35
16697 wine_fn_config_dll d3dcompiler_36 enable_d3dcompiler_36
16698 wine_fn_config_dll d3dcompiler_37 enable_d3dcompiler_37
16699 wine_fn_config_dll d3dcompiler_38 enable_d3dcompiler_38
16700 wine_fn_config_dll d3dcompiler_39 enable_d3dcompiler_39
16701 wine_fn_config_dll d3dcompiler_40 enable_d3dcompiler_40
16702 wine_fn_config_dll d3dcompiler_41 enable_d3dcompiler_41
16703 wine_fn_config_dll d3dcompiler_42 enable_d3dcompiler_42
16704 wine_fn_config_dll d3dcompiler_43 enable_d3dcompiler_43 implib d3dcompiler
16705 wine_fn_config_test dlls/d3dcompiler_43/tests d3dcompiler_43_test
16706 wine_fn_config_dll d3dim enable_d3dim implib
16707 wine_fn_config_dll d3drm enable_d3drm implib
16708 wine_fn_config_test dlls/d3drm/tests d3drm_test
16709 wine_fn_config_dll d3dx10_33 enable_d3dx10_33
16710 wine_fn_config_dll d3dx10_34 enable_d3dx10_34
16711 wine_fn_config_dll d3dx10_35 enable_d3dx10_35
16712 wine_fn_config_dll d3dx10_36 enable_d3dx10_36
16713 wine_fn_config_dll d3dx10_37 enable_d3dx10_37
16714 wine_fn_config_dll d3dx10_38 enable_d3dx10_38
16715 wine_fn_config_dll d3dx10_39 enable_d3dx10_39
16716 wine_fn_config_dll d3dx10_40 enable_d3dx10_40
16717 wine_fn_config_dll d3dx10_41 enable_d3dx10_41
16718 wine_fn_config_dll d3dx10_42 enable_d3dx10_42
16719 wine_fn_config_dll d3dx10_43 enable_d3dx10_43
16720 wine_fn_config_dll d3dx11_42 enable_d3dx11_42
16721 wine_fn_config_dll d3dx11_43 enable_d3dx11_43
16722 wine_fn_config_dll d3dx9_24 enable_d3dx9_24
16723 wine_fn_config_dll d3dx9_25 enable_d3dx9_25
16724 wine_fn_config_dll d3dx9_26 enable_d3dx9_26
16725 wine_fn_config_dll d3dx9_27 enable_d3dx9_27
16726 wine_fn_config_dll d3dx9_28 enable_d3dx9_28
16727 wine_fn_config_dll d3dx9_29 enable_d3dx9_29
16728 wine_fn_config_dll d3dx9_30 enable_d3dx9_30
16729 wine_fn_config_dll d3dx9_31 enable_d3dx9_31
16730 wine_fn_config_dll d3dx9_32 enable_d3dx9_32
16731 wine_fn_config_dll d3dx9_33 enable_d3dx9_33
16732 wine_fn_config_dll d3dx9_34 enable_d3dx9_34
16733 wine_fn_config_dll d3dx9_35 enable_d3dx9_35
16734 wine_fn_config_dll d3dx9_36 enable_d3dx9_36 implib d3dx9
16735 wine_fn_config_test dlls/d3dx9_36/tests d3dx9_36_test
16736 wine_fn_config_dll d3dx9_37 enable_d3dx9_37
16737 wine_fn_config_dll d3dx9_38 enable_d3dx9_38
16738 wine_fn_config_dll d3dx9_39 enable_d3dx9_39
16739 wine_fn_config_dll d3dx9_40 enable_d3dx9_40
16740 wine_fn_config_dll d3dx9_41 enable_d3dx9_41
16741 wine_fn_config_dll d3dx9_42 enable_d3dx9_42
16742 wine_fn_config_dll d3dx9_43 enable_d3dx9_43
16743 wine_fn_config_dll d3dxof enable_d3dxof clean,implib
16744 wine_fn_config_test dlls/d3dxof/tests d3dxof_test
16745 wine_fn_config_dll dbgeng enable_dbgeng implib
16746 wine_fn_config_dll dbghelp enable_dbghelp implib
16747 wine_fn_config_dll dciman32 enable_dciman32 implib
16748 wine_fn_config_dll ddeml.dll16 enable_win16
16749 wine_fn_config_dll ddraw enable_ddraw clean,implib
16750 wine_fn_config_test dlls/ddraw/tests ddraw_test
16751 wine_fn_config_dll ddrawex enable_ddrawex clean
16752 wine_fn_config_test dlls/ddrawex/tests ddrawex_test
16753 wine_fn_config_dll devenum enable_devenum clean,po
16754 wine_fn_config_test dlls/devenum/tests devenum_test
16755 wine_fn_config_dll dhcpcsvc enable_dhcpcsvc
16756 wine_fn_config_dll difxapi enable_difxapi
16757 wine_fn_config_dll dinput enable_dinput clean,implib,po,staticimplib
16758 wine_fn_config_test dlls/dinput/tests dinput_test
16759 wine_fn_config_dll dinput8 enable_dinput8 clean,implib
16760 wine_fn_config_test dlls/dinput8/tests dinput8_test
16761 wine_fn_config_dll dispdib.dll16 enable_win16
16762 wine_fn_config_dll dispex enable_dispex clean
16763 wine_fn_config_test dlls/dispex/tests dispex_test
16764 wine_fn_config_dll display.drv16 enable_win16
16765 wine_fn_config_dll dmband enable_dmband clean
16766 wine_fn_config_test dlls/dmband/tests dmband_test
16767 wine_fn_config_dll dmcompos enable_dmcompos clean
16768 wine_fn_config_dll dmime enable_dmime clean
16769 wine_fn_config_test dlls/dmime/tests dmime_test
16770 wine_fn_config_dll dmloader enable_dmloader clean
16771 wine_fn_config_test dlls/dmloader/tests dmloader_test
16772 wine_fn_config_dll dmscript enable_dmscript clean
16773 wine_fn_config_dll dmstyle enable_dmstyle clean
16774 wine_fn_config_dll dmsynth enable_dmsynth clean
16775 wine_fn_config_test dlls/dmsynth/tests dmsynth_test
16776 wine_fn_config_dll dmusic enable_dmusic clean
16777 wine_fn_config_test dlls/dmusic/tests dmusic_test
16778 wine_fn_config_dll dmusic32 enable_dmusic32 implib
16779 wine_fn_config_dll dnsapi enable_dnsapi implib
16780 wine_fn_config_test dlls/dnsapi/tests dnsapi_test
16781 wine_fn_config_dll dplay enable_dplay implib
16782 wine_fn_config_dll dplayx enable_dplayx clean,implib
16783 wine_fn_config_test dlls/dplayx/tests dplayx_test
16784 wine_fn_config_dll dpnaddr enable_dpnaddr
16785 wine_fn_config_dll dpnet enable_dpnet clean,implib
16786 wine_fn_config_test dlls/dpnet/tests dpnet_test
16787 wine_fn_config_dll dpnhpast enable_dpnhpast
16788 wine_fn_config_dll dpnlobby enable_dpnlobby
16789 wine_fn_config_dll dpwsockx enable_dpwsockx
16790 wine_fn_config_dll drmclien enable_drmclien
16791 wine_fn_config_dll dsound enable_dsound clean,implib
16792 wine_fn_config_test dlls/dsound/tests dsound_test
16793 wine_fn_config_dll dssenh enable_dssenh
16794 wine_fn_config_test dlls/dssenh/tests dssenh_test
16795 wine_fn_config_dll dswave enable_dswave clean
16796 wine_fn_config_dll dwmapi enable_dwmapi implib
16797 wine_fn_config_dll dwrite enable_dwrite implib
16798 wine_fn_config_test dlls/dwrite/tests dwrite_test
16799 wine_fn_config_dll dxdiagn enable_dxdiagn clean,po
16800 wine_fn_config_test dlls/dxdiagn/tests dxdiagn_test
16801 wine_fn_config_lib dxerr8
16802 wine_fn_config_lib dxerr9
16803 wine_fn_config_dll dxgi enable_dxgi implib
16804 wine_fn_config_test dlls/dxgi/tests dxgi_test
16805 wine_fn_config_lib dxguid
16806 wine_fn_config_dll explorerframe enable_explorerframe clean
16807 wine_fn_config_test dlls/explorerframe/tests explorerframe_test
16808 wine_fn_config_dll faultrep enable_faultrep implib
16809 wine_fn_config_test dlls/faultrep/tests faultrep_test
16810 wine_fn_config_dll fltlib enable_fltlib
16811 wine_fn_config_dll fusion enable_fusion
16812 wine_fn_config_test dlls/fusion/tests fusion_test
16813 wine_fn_config_dll fwpuclnt enable_fwpuclnt
16814 wine_fn_config_dll gameux enable_gameux clean
16815 wine_fn_config_test dlls/gameux/tests gameux_test
16816 wine_fn_config_dll gdi.exe16 enable_win16
16817 wine_fn_config_dll gdi32 enable_gdi32 implib,po
16818 wine_fn_config_test dlls/gdi32/tests gdi32_test
16819 wine_fn_config_dll gdiplus enable_gdiplus implib
16820 wine_fn_config_test dlls/gdiplus/tests gdiplus_test
16821 wine_fn_config_dll glu32 enable_glu32 implib
16822 wine_fn_config_dll gphoto2.ds enable_gphoto2_ds po
16823 wine_fn_config_dll gpkcsp enable_gpkcsp
16824 wine_fn_config_dll hal enable_hal
16825 wine_fn_config_dll hhctrl.ocx enable_hhctrl_ocx clean,implib,po htmlhelp
16826 wine_fn_config_dll hid enable_hid implib
16827 wine_fn_config_dll hlink enable_hlink clean,implib
16828 wine_fn_config_test dlls/hlink/tests hlink_test
16829 wine_fn_config_dll hnetcfg enable_hnetcfg clean
16830 wine_fn_config_dll httpapi enable_httpapi
16831 wine_fn_config_dll iccvid enable_iccvid po
16832 wine_fn_config_dll icmp enable_icmp
16833 wine_fn_config_dll ieframe enable_ieframe clean,implib,po
16834 wine_fn_config_test dlls/ieframe/tests ieframe_test
16835 wine_fn_config_dll ifsmgr.vxd enable_win16
16836 wine_fn_config_dll imaadp32.acm enable_imaadp32_acm
16837 wine_fn_config_dll imagehlp enable_imagehlp implib
16838 wine_fn_config_test dlls/imagehlp/tests imagehlp_test
16839 wine_fn_config_dll imm.dll16 enable_win16
16840 wine_fn_config_dll imm32 enable_imm32 implib
16841 wine_fn_config_test dlls/imm32/tests imm32_test
16842 wine_fn_config_dll inetcomm enable_inetcomm clean,implib
16843 wine_fn_config_test dlls/inetcomm/tests inetcomm_test
16844 wine_fn_config_dll inetcpl.cpl enable_inetcpl_cpl po
16845 wine_fn_config_dll inetmib1 enable_inetmib1
16846 wine_fn_config_test dlls/inetmib1/tests inetmib1_test
16847 wine_fn_config_dll infosoft enable_infosoft clean
16848 wine_fn_config_test dlls/infosoft/tests infosoft_test
16849 wine_fn_config_dll initpki enable_initpki
16850 wine_fn_config_dll inkobj enable_inkobj
16851 wine_fn_config_dll inseng enable_inseng clean
16852 wine_fn_config_dll iphlpapi enable_iphlpapi implib
16853 wine_fn_config_test dlls/iphlpapi/tests iphlpapi_test
16854 wine_fn_config_dll itircl enable_itircl
16855 wine_fn_config_dll itss enable_itss clean
16856 wine_fn_config_test dlls/itss/tests itss_test
16857 wine_fn_config_dll joy.cpl enable_joy_cpl po
16858 wine_fn_config_dll jscript enable_jscript clean,po
16859 wine_fn_config_test dlls/jscript/tests jscript_test
16860 wine_fn_config_dll kernel32 enable_kernel32 implib,mc
16861 wine_fn_config_test dlls/kernel32/tests kernel32_test
16862 wine_fn_config_dll keyboard.drv16 enable_win16
16863 wine_fn_config_dll krnl386.exe16 enable_win16 implib kernel
16864 wine_fn_config_dll ktmw32 enable_ktmw32
16865 wine_fn_config_dll loadperf enable_loadperf implib
16866 wine_fn_config_dll localspl enable_localspl po
16867 wine_fn_config_test dlls/localspl/tests localspl_test
16868 wine_fn_config_dll localui enable_localui po
16869 wine_fn_config_test dlls/localui/tests localui_test
16870 wine_fn_config_dll lz32 enable_lz32 implib
16871 wine_fn_config_test dlls/lz32/tests lz32_test
16872 wine_fn_config_dll lzexpand.dll16 enable_win16
16873 wine_fn_config_dll mapi32 enable_mapi32 implib,po
16874 wine_fn_config_test dlls/mapi32/tests mapi32_test
16875 wine_fn_config_dll mapistub enable_mapistub
16876 wine_fn_config_dll mciavi32 enable_mciavi32
16877 wine_fn_config_dll mcicda enable_mcicda
16878 wine_fn_config_dll mciqtz32 enable_mciqtz32
16879 wine_fn_config_dll mciseq enable_mciseq
16880 wine_fn_config_dll mciwave enable_mciwave
16881 wine_fn_config_dll mgmtapi enable_mgmtapi
16882 wine_fn_config_dll midimap enable_midimap
16883 wine_fn_config_dll mlang enable_mlang clean,implib
16884 wine_fn_config_test dlls/mlang/tests mlang_test
16885 wine_fn_config_dll mmcndmgr enable_mmcndmgr clean
16886 wine_fn_config_test dlls/mmcndmgr/tests mmcndmgr_test
16887 wine_fn_config_dll mmdevapi enable_mmdevapi clean
16888 wine_fn_config_test dlls/mmdevapi/tests mmdevapi_test
16889 wine_fn_config_dll mmdevldr.vxd enable_win16
16890 wine_fn_config_dll mmsystem.dll16 enable_win16
16891 wine_fn_config_dll monodebg.vxd enable_win16
16892 wine_fn_config_dll mountmgr.sys enable_mountmgr_sys
16893 wine_fn_config_dll mouse.drv16 enable_win16
16894 wine_fn_config_dll mpr enable_mpr implib,po
16895 wine_fn_config_test dlls/mpr/tests mpr_test
16896 wine_fn_config_dll mprapi enable_mprapi implib
16897 wine_fn_config_dll msacm.dll16 enable_win16
16898 wine_fn_config_dll msacm32.drv enable_msacm32_drv
16899 wine_fn_config_dll msacm32 enable_msacm32 implib,po
16900 wine_fn_config_test dlls/msacm32/tests msacm32_test
16901 wine_fn_config_dll msadp32.acm enable_msadp32_acm
16902 wine_fn_config_dll mscat32 enable_mscat32
16903 wine_fn_config_dll mscms enable_mscms implib
16904 wine_fn_config_test dlls/mscms/tests mscms_test
16905 wine_fn_config_dll mscoree enable_mscoree clean
16906 wine_fn_config_test dlls/mscoree/tests mscoree_test
16907 wine_fn_config_dll msctf enable_msctf clean
16908 wine_fn_config_test dlls/msctf/tests msctf_test
16909 wine_fn_config_dll msdaps enable_msdaps clean
16910 wine_fn_config_dll msdmo enable_msdmo implib
16911 wine_fn_config_dll msftedit enable_msftedit
16912 wine_fn_config_dll msg711.acm enable_msg711_acm
16913 wine_fn_config_dll msgsm32.acm enable_msgsm32_acm
16914 wine_fn_config_dll mshtml.tlb enable_mshtml_tlb clean
16915 wine_fn_config_dll mshtml enable_mshtml clean,implib,po
16916 wine_fn_config_test dlls/mshtml/tests mshtml_test clean
16917 wine_fn_config_dll msi enable_msi clean,implib,po
16918 wine_fn_config_test dlls/msi/tests msi_test
16919 wine_fn_config_dll msident enable_msident clean
16920 wine_fn_config_dll msimg32 enable_msimg32 implib
16921 wine_fn_config_dll msimsg enable_msimsg
16922 wine_fn_config_dll msimtf enable_msimtf clean
16923 wine_fn_config_dll msisip enable_msisip
16924 wine_fn_config_dll msisys.ocx enable_msisys_ocx
16925 wine_fn_config_dll msls31 enable_msls31
16926 wine_fn_config_dll msnet32 enable_msnet32
16927 wine_fn_config_dll mspatcha enable_mspatcha
16928 wine_fn_config_dll msrle32 enable_msrle32 po
16929 wine_fn_config_dll mssign32 enable_mssign32
16930 wine_fn_config_dll mssip32 enable_mssip32
16931 wine_fn_config_dll mstask enable_mstask clean
16932 wine_fn_config_test dlls/mstask/tests mstask_test
16933 wine_fn_config_dll msvcirt enable_msvcirt
16934 wine_fn_config_dll msvcm80 enable_msvcm80
16935 wine_fn_config_dll msvcm90 enable_msvcm90
16936 wine_fn_config_dll msvcp100 enable_msvcp100
16937 wine_fn_config_test dlls/msvcp100/tests msvcp100_test
16938 wine_fn_config_dll msvcp110 enable_msvcp110
16939 wine_fn_config_dll msvcp60 enable_msvcp60
16940 wine_fn_config_test dlls/msvcp60/tests msvcp60_test
16941 wine_fn_config_dll msvcp70 enable_msvcp70
16942 wine_fn_config_dll msvcp71 enable_msvcp71
16943 wine_fn_config_dll msvcp80 enable_msvcp80
16944 wine_fn_config_dll msvcp90 enable_msvcp90
16945 wine_fn_config_test dlls/msvcp90/tests msvcp90_test
16946 wine_fn_config_dll msvcr100 enable_msvcr100
16947 wine_fn_config_test dlls/msvcr100/tests msvcr100_test
16948 wine_fn_config_dll msvcr110 enable_msvcr110
16949 wine_fn_config_dll msvcr70 enable_msvcr70 implib
16950 wine_fn_config_dll msvcr71 enable_msvcr71 implib
16951 wine_fn_config_dll msvcr80 enable_msvcr80
16952 wine_fn_config_dll msvcr90 enable_msvcr90
16953 wine_fn_config_test dlls/msvcr90/tests msvcr90_test
16954 wine_fn_config_dll msvcrt enable_msvcrt implib
16955 wine_fn_config_test dlls/msvcrt/tests msvcrt_test
16956 wine_fn_config_dll msvcrt20 enable_msvcrt20 implib
16957 wine_fn_config_dll msvcrt40 enable_msvcrt40 implib
16958 wine_fn_config_dll msvcrtd enable_msvcrtd implib
16959 wine_fn_config_test dlls/msvcrtd/tests msvcrtd_test
16960 wine_fn_config_dll msvfw32 enable_msvfw32 implib,po
16961 wine_fn_config_test dlls/msvfw32/tests msvfw32_test
16962 wine_fn_config_dll msvidc32 enable_msvidc32 po
16963 wine_fn_config_dll msvideo.dll16 enable_win16
16964 wine_fn_config_dll mswsock enable_mswsock implib
16965 wine_fn_config_dll msxml enable_msxml clean
16966 wine_fn_config_dll msxml2 enable_msxml2 clean
16967 wine_fn_config_dll msxml3 enable_msxml3 clean
16968 wine_fn_config_test dlls/msxml3/tests msxml3_test clean
16969 wine_fn_config_dll msxml4 enable_msxml4 clean
16970 wine_fn_config_dll msxml6 enable_msxml6 clean
16971 wine_fn_config_dll nddeapi enable_nddeapi implib
16972 wine_fn_config_dll netapi32 enable_netapi32 implib
16973 wine_fn_config_test dlls/netapi32/tests netapi32_test
16974 wine_fn_config_dll netcfgx enable_netcfgx
16975 wine_fn_config_dll newdev enable_newdev implib
16976 wine_fn_config_dll normaliz enable_normaliz implib
16977 wine_fn_config_dll npmshtml enable_npmshtml
16978 wine_fn_config_dll ntdll enable_ntdll implib
16979 wine_fn_config_test dlls/ntdll/tests ntdll_test
16980 wine_fn_config_dll ntdsapi enable_ntdsapi implib
16981 wine_fn_config_test dlls/ntdsapi/tests ntdsapi_test
16982 wine_fn_config_dll ntoskrnl.exe enable_ntoskrnl_exe implib
16983 wine_fn_config_dll ntprint enable_ntprint
16984 wine_fn_config_test dlls/ntprint/tests ntprint_test
16985 wine_fn_config_dll objsel enable_objsel clean
16986 wine_fn_config_dll odbc32 enable_odbc32 implib
16987 wine_fn_config_dll odbccp32 enable_odbccp32 implib
16988 wine_fn_config_test dlls/odbccp32/tests odbccp32_test
16989 wine_fn_config_dll odbccu32 enable_odbccu32
16990 wine_fn_config_dll ole2.dll16 enable_win16
16991 wine_fn_config_dll ole2conv.dll16 enable_win16
16992 wine_fn_config_dll ole2disp.dll16 enable_win16
16993 wine_fn_config_dll ole2nls.dll16 enable_win16
16994 wine_fn_config_dll ole2prox.dll16 enable_win16
16995 wine_fn_config_dll ole2thk.dll16 enable_win16
16996 wine_fn_config_dll ole32 enable_ole32 clean,implib
16997 wine_fn_config_test dlls/ole32/tests ole32_test
16998 wine_fn_config_dll oleacc enable_oleacc clean,implib,po
16999 wine_fn_config_test dlls/oleacc/tests oleacc_test
17000 wine_fn_config_dll oleaut32 enable_oleaut32 clean,implib,po
17001 wine_fn_config_test dlls/oleaut32/tests oleaut32_test clean
17002 wine_fn_config_dll olecli.dll16 enable_win16
17003 wine_fn_config_dll olecli32 enable_olecli32 implib
17004 wine_fn_config_dll oledb32 enable_oledb32 clean
17005 wine_fn_config_test dlls/oledb32/tests oledb32_test clean
17006 wine_fn_config_dll oledlg enable_oledlg implib,po
17007 wine_fn_config_dll olepro32 enable_olepro32 implib
17008 wine_fn_config_dll olesvr.dll16 enable_win16
17009 wine_fn_config_dll olesvr32 enable_olesvr32 implib
17010 wine_fn_config_dll olethk32 enable_olethk32
17011 wine_fn_config_dll openal32 enable_openal32
17012 wine_fn_config_dll opencl enable_opencl
17013 wine_fn_config_dll opengl32 enable_opengl32 implib
17014 wine_fn_config_test dlls/opengl32/tests opengl32_test
17015 wine_fn_config_dll pdh enable_pdh implib
17016 wine_fn_config_test dlls/pdh/tests pdh_test
17017 wine_fn_config_dll photometadatahandler enable_photometadatahandler
17018 wine_fn_config_dll pidgen enable_pidgen
17019 wine_fn_config_dll powrprof enable_powrprof implib
17020 wine_fn_config_dll printui enable_printui
17021 wine_fn_config_dll propsys enable_propsys clean,implib
17022 wine_fn_config_test dlls/propsys/tests propsys_test
17023 wine_fn_config_dll psapi enable_psapi implib
17024 wine_fn_config_test dlls/psapi/tests psapi_test
17025 wine_fn_config_dll pstorec enable_pstorec clean
17026 wine_fn_config_dll qcap enable_qcap
17027 wine_fn_config_test dlls/qcap/tests qcap_test
17028 wine_fn_config_dll qedit enable_qedit clean
17029 wine_fn_config_test dlls/qedit/tests qedit_test
17030 wine_fn_config_dll qmgr enable_qmgr clean
17031 wine_fn_config_test dlls/qmgr/tests qmgr_test
17032 wine_fn_config_dll qmgrprxy enable_qmgrprxy clean
17033 wine_fn_config_dll quartz enable_quartz clean,implib
17034 wine_fn_config_test dlls/quartz/tests quartz_test clean
17035 wine_fn_config_dll query enable_query
17036 wine_fn_config_dll rasapi16.dll16 enable_win16
17037 wine_fn_config_dll rasapi32 enable_rasapi32 implib
17038 wine_fn_config_test dlls/rasapi32/tests rasapi32_test
17039 wine_fn_config_dll rasdlg enable_rasdlg implib
17040 wine_fn_config_dll regapi enable_regapi
17041 wine_fn_config_dll resutils enable_resutils implib
17042 wine_fn_config_dll riched20 enable_riched20 implib
17043 wine_fn_config_test dlls/riched20/tests riched20_test
17044 wine_fn_config_dll riched32 enable_riched32
17045 wine_fn_config_test dlls/riched32/tests riched32_test
17046 wine_fn_config_dll rpcrt4 enable_rpcrt4 clean,implib
17047 wine_fn_config_test dlls/rpcrt4/tests rpcrt4_test clean
17048 wine_fn_config_dll rsabase enable_rsabase
17049 wine_fn_config_dll rsaenh enable_rsaenh implib
17050 wine_fn_config_test dlls/rsaenh/tests rsaenh_test
17051 wine_fn_config_dll rstrtmgr enable_rstrtmgr
17052 wine_fn_config_dll rtutils enable_rtutils implib
17053 wine_fn_config_dll samlib enable_samlib
17054 wine_fn_config_dll sane.ds enable_sane_ds po
17055 wine_fn_config_dll scarddlg enable_scarddlg
17056 wine_fn_config_dll sccbase enable_sccbase
17057 wine_fn_config_dll schannel enable_schannel
17058 wine_fn_config_test dlls/schannel/tests schannel_test
17059 wine_fn_config_dll scrrun enable_scrrun clean
17060 wine_fn_config_test dlls/scrrun/tests scrrun_test clean
17061 wine_fn_config_dll scsiport.sys enable_scsiport_sys
17062 wine_fn_config_dll secur32 enable_secur32 implib
17063 wine_fn_config_test dlls/secur32/tests secur32_test
17064 wine_fn_config_dll security enable_security
17065 wine_fn_config_dll sensapi enable_sensapi implib
17066 wine_fn_config_dll serialui enable_serialui implib,po
17067 wine_fn_config_test dlls/serialui/tests serialui_test
17068 wine_fn_config_dll setupapi enable_setupapi implib,po
17069 wine_fn_config_test dlls/setupapi/tests setupapi_test
17070 wine_fn_config_dll setupx.dll16 enable_win16
17071 wine_fn_config_dll sfc enable_sfc implib
17072 wine_fn_config_dll sfc_os enable_sfc_os implib
17073 wine_fn_config_dll shdoclc enable_shdoclc po
17074 wine_fn_config_dll shdocvw enable_shdocvw clean,implib
17075 wine_fn_config_test dlls/shdocvw/tests shdocvw_test
17076 wine_fn_config_dll shell.dll16 enable_win16
17077 wine_fn_config_dll shell32 enable_shell32 clean,implib,po
17078 wine_fn_config_test dlls/shell32/tests shell32_test
17079 wine_fn_config_dll shfolder enable_shfolder implib
17080 wine_fn_config_dll shlwapi enable_shlwapi implib,po
17081 wine_fn_config_test dlls/shlwapi/tests shlwapi_test
17082 wine_fn_config_dll slbcsp enable_slbcsp
17083 wine_fn_config_dll slc enable_slc implib
17084 wine_fn_config_dll snmpapi enable_snmpapi implib
17085 wine_fn_config_test dlls/snmpapi/tests snmpapi_test
17086 wine_fn_config_dll softpub enable_softpub
17087 wine_fn_config_dll sound.drv16 enable_win16
17088 wine_fn_config_dll spoolss enable_spoolss implib
17089 wine_fn_config_test dlls/spoolss/tests spoolss_test
17090 wine_fn_config_dll stdole2.tlb enable_stdole2_tlb clean
17091 wine_fn_config_dll stdole32.tlb enable_stdole32_tlb clean
17092 wine_fn_config_dll sti enable_sti clean,implib
17093 wine_fn_config_test dlls/sti/tests sti_test
17094 wine_fn_config_dll storage.dll16 enable_win16
17095 wine_fn_config_dll stress.dll16 enable_win16
17096 wine_fn_config_lib strmbase
17097 wine_fn_config_lib strmiids
17098 wine_fn_config_dll svrapi enable_svrapi
17099 wine_fn_config_dll sxs enable_sxs implib
17100 wine_fn_config_test dlls/sxs/tests sxs_test
17101 wine_fn_config_dll system.drv16 enable_win16
17102 wine_fn_config_dll t2embed enable_t2embed
17103 wine_fn_config_dll tapi32 enable_tapi32 implib
17104 wine_fn_config_dll toolhelp.dll16 enable_win16
17105 wine_fn_config_dll traffic enable_traffic
17106 wine_fn_config_dll twain.dll16 enable_win16
17107 wine_fn_config_dll twain_32 enable_twain_32
17108 wine_fn_config_test dlls/twain_32/tests twain_32_test
17109 wine_fn_config_dll typelib.dll16 enable_win16
17110 wine_fn_config_dll unicows enable_unicows implib
17111 wine_fn_config_dll updspapi enable_updspapi
17112 wine_fn_config_dll url enable_url implib
17113 wine_fn_config_dll urlmon enable_urlmon clean,implib,po
17114 wine_fn_config_test dlls/urlmon/tests urlmon_test
17115 wine_fn_config_dll usbd.sys enable_usbd_sys implib
17116 wine_fn_config_dll user.exe16 enable_win16
17117 wine_fn_config_dll user32 enable_user32 implib,po
17118 wine_fn_config_test dlls/user32/tests user32_test
17119 wine_fn_config_dll userenv enable_userenv implib
17120 wine_fn_config_test dlls/userenv/tests userenv_test
17121 wine_fn_config_dll usp10 enable_usp10 implib
17122 wine_fn_config_test dlls/usp10/tests usp10_test
17123 wine_fn_config_lib uuid
17124 wine_fn_config_dll uxtheme enable_uxtheme implib
17125 wine_fn_config_test dlls/uxtheme/tests uxtheme_test
17126 wine_fn_config_dll vbscript enable_vbscript clean
17127 wine_fn_config_test dlls/vbscript/tests vbscript_test clean
17128 wine_fn_config_dll vcomp enable_vcomp
17129 wine_fn_config_dll vcomp100 enable_vcomp100
17130 wine_fn_config_dll vcomp90 enable_vcomp90
17131 wine_fn_config_dll vdhcp.vxd enable_win16
17132 wine_fn_config_dll vdmdbg enable_vdmdbg implib
17133 wine_fn_config_dll ver.dll16 enable_win16
17134 wine_fn_config_dll version enable_version implib
17135 wine_fn_config_test dlls/version/tests version_test
17136 wine_fn_config_dll vmm.vxd enable_win16
17137 wine_fn_config_dll vnbt.vxd enable_win16
17138 wine_fn_config_dll vnetbios.vxd enable_win16
17139 wine_fn_config_dll vtdapi.vxd enable_win16
17140 wine_fn_config_dll vwin32.vxd enable_win16
17141 wine_fn_config_dll w32skrnl enable_win16
17142 wine_fn_config_dll w32sys.dll16 enable_win16
17143 wine_fn_config_dll wbemdisp enable_wbemdisp clean
17144 wine_fn_config_dll wbemprox enable_wbemprox clean
17145 wine_fn_config_test dlls/wbemprox/tests wbemprox_test
17146 wine_fn_config_dll webservices enable_webservices implib
17147 wine_fn_config_dll wer enable_wer implib
17148 wine_fn_config_test dlls/wer/tests wer_test
17149 wine_fn_config_dll wevtapi enable_wevtapi
17150 wine_fn_config_dll wiaservc enable_wiaservc clean
17151 wine_fn_config_dll win32s16.dll16 enable_win16
17152 wine_fn_config_dll win87em.dll16 enable_win16
17153 wine_fn_config_dll winaspi.dll16 enable_win16
17154 wine_fn_config_dll windebug.dll16 enable_win16
17155 wine_fn_config_dll windowscodecs enable_windowscodecs clean,implib
17156 wine_fn_config_test dlls/windowscodecs/tests windowscodecs_test
17157 wine_fn_config_dll windowscodecsext enable_windowscodecsext implib
17158 wine_fn_config_test dlls/windowscodecsext/tests windowscodecsext_test
17159 wine_fn_config_dll winealsa.drv enable_winealsa_drv
17160 wine_fn_config_dll winecoreaudio.drv enable_winecoreaudio_drv
17161 wine_fn_config_lib winecrt0
17162 wine_fn_config_dll wined3d enable_wined3d implib
17163 wine_fn_config_dll winegstreamer enable_winegstreamer
17164 wine_fn_config_dll winejoystick.drv enable_winejoystick_drv
17165 wine_fn_config_dll winemac.drv enable_winemac_drv
17166 wine_fn_config_dll winemapi enable_winemapi
17167 wine_fn_config_dll winemp3.acm enable_winemp3_acm
17168 wine_fn_config_dll wineoss.drv enable_wineoss_drv
17169 wine_fn_config_dll wineps.drv enable_wineps_drv po
17170 wine_fn_config_dll wineps16.drv16 enable_win16
17171 wine_fn_config_dll wineqtdecoder enable_wineqtdecoder
17172 wine_fn_config_dll winex11.drv enable_winex11_drv
17173 wine_fn_config_dll wing.dll16 enable_win16
17174 wine_fn_config_dll wing32 enable_wing32
17175 wine_fn_config_dll winhttp enable_winhttp clean,implib
17176 wine_fn_config_test dlls/winhttp/tests winhttp_test
17177 wine_fn_config_dll wininet enable_wininet implib,po
17178 wine_fn_config_test dlls/wininet/tests wininet_test
17179 wine_fn_config_dll winmm enable_winmm implib,po
17180 wine_fn_config_test dlls/winmm/tests winmm_test
17181 wine_fn_config_dll winnls.dll16 enable_win16
17182 wine_fn_config_dll winnls32 enable_winnls32 implib
17183 wine_fn_config_dll winscard enable_winscard implib
17184 wine_fn_config_dll winsock.dll16 enable_win16
17185 wine_fn_config_dll winspool.drv enable_winspool_drv implib,po winspool
17186 wine_fn_config_test dlls/winspool.drv/tests winspool.drv_test
17187 wine_fn_config_dll winsta enable_winsta
17188 wine_fn_config_dll wintab.dll16 enable_win16
17189 wine_fn_config_dll wintab32 enable_wintab32 implib
17190 wine_fn_config_test dlls/wintab32/tests wintab32_test
17191 wine_fn_config_dll wintrust enable_wintrust implib
17192 wine_fn_config_test dlls/wintrust/tests wintrust_test
17193 wine_fn_config_dll wlanapi enable_wlanapi
17194 wine_fn_config_dll wldap32 enable_wldap32 implib,po
17195 wine_fn_config_test dlls/wldap32/tests wldap32_test
17196 wine_fn_config_dll wmi enable_wmi
17197 wine_fn_config_dll wmiutils enable_wmiutils clean
17198 wine_fn_config_test dlls/wmiutils/tests wmiutils_test
17199 wine_fn_config_dll wmvcore enable_wmvcore
17200 wine_fn_config_dll wnaspi32 enable_wnaspi32 implib
17201 wine_fn_config_dll wow32 enable_win16 implib
17202 wine_fn_config_dll ws2_32 enable_ws2_32 implib
17203 wine_fn_config_test dlls/ws2_32/tests ws2_32_test
17204 wine_fn_config_dll wshom.ocx enable_wshom_ocx clean
17205 wine_fn_config_test dlls/wshom.ocx/tests wshom.ocx_test clean
17206 wine_fn_config_dll wsnmp32 enable_wsnmp32 implib
17207 wine_fn_config_test dlls/wsnmp32/tests wsnmp32_test
17208 wine_fn_config_dll wsock32 enable_wsock32 implib
17209 wine_fn_config_dll wtsapi32 enable_wtsapi32 implib
17210 wine_fn_config_dll wuapi enable_wuapi clean
17211 wine_fn_config_dll wuaueng enable_wuaueng
17212 wine_fn_config_dll xapofx1_1 enable_xapofx1_1
17213 wine_fn_config_dll xinput1_1 enable_xinput1_1
17214 wine_fn_config_dll xinput1_2 enable_xinput1_2
17215 wine_fn_config_dll xinput1_3 enable_xinput1_3 implib xinput
17216 wine_fn_config_test dlls/xinput1_3/tests xinput1_3_test
17217 wine_fn_config_dll xinput1_4 enable_xinput1_4
17218 wine_fn_config_dll xinput9_1_0 enable_xinput9_1_0
17219 wine_fn_config_dll xmllite enable_xmllite
17220 wine_fn_config_test dlls/xmllite/tests xmllite_test
17221 wine_fn_config_dll xolehlp enable_xolehlp
17222 wine_fn_config_dll xpsprint enable_xpsprint
17223 wine_fn_config_dll xpssvcs enable_xpssvcs
17224 wine_fn_config_makefile documentation enable_documentation clean
17225 wine_fn_config_makefile fonts enable_fonts clean,install-lib
17226 wine_fn_config_makefile include enable_include clean,install-dev
17227 wine_fn_config_makefile libs/port enable_libs_port
17228 wine_fn_config_makefile libs/wine enable_libs_wine clean,install-dev,install-lib
17229 wine_fn_config_makefile libs/wpp enable_libs_wpp
17230 wine_fn_config_makefile loader enable_loader clean,install-lib,manpage
17231 wine_fn_config_program aspnet_regiis enable_aspnet_regiis install
17232 wine_fn_config_program attrib enable_attrib install,po
17233 wine_fn_config_program cabarc enable_cabarc install
17234 wine_fn_config_program cacls enable_cacls install
17235 wine_fn_config_program clock enable_clock install,po
17236 wine_fn_config_program cmd enable_cmd install,po
17237 wine_fn_config_test programs/cmd/tests cmd.exe_test
17238 wine_fn_config_program conhost enable_conhost install
17239 wine_fn_config_program control enable_control install
17240 wine_fn_config_program cscript enable_cscript install
17241 wine_fn_config_program dxdiag enable_dxdiag install,po
17242 wine_fn_config_program eject enable_eject install
17243 wine_fn_config_program expand enable_expand install
17244 wine_fn_config_program explorer enable_explorer install,po
17245 wine_fn_config_program extrac32 enable_extrac32 install
17246 wine_fn_config_program findstr enable_findstr install
17247 wine_fn_config_program hh enable_hh install
17248 wine_fn_config_program hostname enable_hostname install,po
17249 wine_fn_config_program icinfo enable_icinfo install
17250 wine_fn_config_program iexplore enable_iexplore install
17251 wine_fn_config_program ipconfig enable_ipconfig install,po
17252 wine_fn_config_program lodctr enable_lodctr install
17253 wine_fn_config_program mofcomp enable_mofcomp install
17254 wine_fn_config_program mshta enable_mshta install
17255 wine_fn_config_program msiexec enable_msiexec install,installbin,manpage
17256 wine_fn_config_program net enable_net install,po
17257 wine_fn_config_program netsh enable_netsh install
17258 wine_fn_config_program netstat enable_netstat install,po
17259 wine_fn_config_program ngen enable_ngen install
17260 wine_fn_config_program notepad enable_notepad install,installbin,manpage,po
17261 wine_fn_config_program oleview enable_oleview install,po
17262 wine_fn_config_program ping enable_ping install
17263 wine_fn_config_program plugplay enable_plugplay install
17264 wine_fn_config_program presentationfontcache enable_presentationfontcache install
17265 wine_fn_config_program progman enable_progman install,po
17266 wine_fn_config_program reg enable_reg install,po
17267 wine_fn_config_program regasm enable_regasm install
17268 wine_fn_config_program regedit enable_regedit install,installbin,manpage,po
17269 wine_fn_config_test programs/regedit/tests regedit.exe_test
17270 wine_fn_config_program regsvcs enable_regsvcs install
17271 wine_fn_config_program regsvr32 enable_regsvr32 install,installbin,manpage
17272 wine_fn_config_program rpcss enable_rpcss clean,install
17273 wine_fn_config_program rundll.exe16 enable_win16 install
17274 wine_fn_config_program rundll32 enable_rundll32 install
17275 wine_fn_config_program sc enable_sc install
17276 wine_fn_config_program schtasks enable_schtasks install
17277 wine_fn_config_program secedit enable_secedit install
17278 wine_fn_config_program servicemodelreg enable_servicemodelreg install
17279 wine_fn_config_program services enable_services clean,install
17280 wine_fn_config_test programs/services/tests services.exe_test
17281 wine_fn_config_program spoolsv enable_spoolsv install
17282 wine_fn_config_program start enable_start install,po
17283 wine_fn_config_program svchost enable_svchost install
17284 wine_fn_config_program taskkill enable_taskkill install,po
17285 wine_fn_config_program tasklist enable_tasklist install
17286 wine_fn_config_program taskmgr enable_taskmgr install,po
17287 wine_fn_config_program termsv enable_termsv install
17288 wine_fn_config_program uninstaller enable_uninstaller install,po
17289 wine_fn_config_program unlodctr enable_unlodctr install
17290 wine_fn_config_program view enable_view install,po
17291 wine_fn_config_program wineboot enable_wineboot install,installbin,manpage,po
17292 wine_fn_config_program winebrowser enable_winebrowser install
17293 wine_fn_config_program winecfg enable_winecfg install,installbin,manpage,po
17294 wine_fn_config_program wineconsole enable_wineconsole install,installbin,manpage,po
17295 wine_fn_config_program winedbg enable_winedbg install,installbin,manpage,po
17296 wine_fn_config_program winedevice enable_winedevice install
17297 wine_fn_config_program winefile enable_winefile install,installbin,manpage,po
17298 wine_fn_config_program winemenubuilder enable_winemenubuilder install
17299 wine_fn_config_program winemine enable_winemine install,installbin,manpage,po
17300 wine_fn_config_program winemsibuilder enable_winemsibuilder install
17301 wine_fn_config_program winepath enable_winepath install,installbin,manpage
17302 wine_fn_config_program winetest enable_winetest clean
17303 wine_fn_config_program winevdm enable_win16 install
17304 wine_fn_config_program winhelp.exe16 enable_win16 install
17305 wine_fn_config_program winhlp32 enable_winhlp32 install,po
17306 wine_fn_config_program winoldap.mod16 enable_win16 install
17307 wine_fn_config_program winver enable_winver install
17308 wine_fn_config_program wmic enable_wmic install,po
17309 wine_fn_config_program wordpad enable_wordpad install,po
17310 wine_fn_config_program write enable_write install,po
17311 wine_fn_config_program wscript enable_wscript clean,install
17312 wine_fn_config_test programs/wscript/tests wscript.exe_test
17313 wine_fn_config_program wusa enable_wusa install
17314 wine_fn_config_program xcopy enable_xcopy install,po
17315 wine_fn_config_makefile server enable_server clean,install-lib,manpage
17316 wine_fn_config_tool tools clean,install-dev,install-lib,manpage
17317 wine_fn_config_tool tools/widl clean,install-dev,manpage
17318 wine_fn_config_tool tools/winebuild clean,install-dev,manpage
17319 wine_fn_config_tool tools/winedump clean,install-dev,manpage
17320 wine_fn_config_tool tools/winegcc clean,install-dev,manpage
17321 wine_fn_config_tool tools/wmc clean,install-dev,manpage
17322 wine_fn_config_tool tools/wrc clean,install-dev,manpage
17324 LINGUAS="\
17325 ar \
17326 bg \
17327 ca \
17328 cs \
17329 da \
17330 de \
17331 el \
17332 en \
17333 en_US \
17334 eo \
17335 es \
17336 fa \
17337 fi \
17338 fr \
17339 he \
17340 hi \
17341 hr \
17342 hu \
17343 it \
17344 ja \
17345 ko \
17346 lt \
17347 ml \
17348 nb_NO \
17349 nl \
17350 or \
17351 pa \
17352 pl \
17353 pt_BR \
17354 pt_PT \
17355 rm \
17356 ro \
17357 ru \
17358 sk \
17359 sl \
17360 sr_RS@cyrillic \
17361 sr_RS@latin \
17362 sv \
17363 te \
17364 th \
17365 tr \
17366 uk \
17367 wa \
17368 zh_CN \
17369 zh_TW"
17373 ac_config_commands="$ac_config_commands Makefile"
17376 ac_config_files="$ac_config_files Make.tmp:Make.vars.in:Makefile.in"
17380 if test "x$enable_maintainer_mode" = xyes
17381 then
17382 wine_fn_append_rule "\$(srcdir)/configure: configure.ac aclocal.m4
17383 cd \$(srcdir) && autoconf --warnings=all
17384 \$(srcdir)/include/config.h.in: include/stamp-h.in
17385 \$(srcdir)/include/stamp-h.in: configure.ac aclocal.m4
17386 cd \$(srcdir) && autoheader --warnings=all
17387 @echo timestamp > \$@"
17390 if test "x$with_gettextpo" = xyes
17391 then
17392 test "$srcdir" = . || as_fn_error $? "Rebuilding po files is not supported for out of tree builds." "$LINENO" 5
17393 wine_fn_append_rule "ALL_POT_FILES =$ALL_POT_FILES
17394 \$(LINGUAS:%=po/%.po): \$(srcdir)/po/wine.pot
17395 msgmerge --previous -q \$@ \$(srcdir)/po/wine.pot | msgattrib --no-obsolete -o \$@.new && mv \$@.new \$@
17396 \$(srcdir)/po/wine.pot: \$(ALL_POT_FILES)
17397 msgcat -o \$@ \$(ALL_POT_FILES)"
17400 if test "$MSGFMT" != false
17401 then
17402 PORCFLAGS="--po-dir=\$(top_builddir)/po"
17404 wine_fn_append_rule "__builddeps__: \$(ALL_MO_FILES)"
17405 else
17406 LINGUAS=
17409 if test "x$enable_tools" != xno
17410 then
17411 wine_fn_append_rule "\$(MAKEDEP): tools/Makefile
17412 clean:: __clean__
17413 \$(RM) tools/makedep\$(EXEEXT)"
17416 if test -n "$with_wine64"
17417 then
17418 wine_fn_append_rule "all: fonts server tools $with_wine64/loader/wine $with_wine64/loader/wine-preloader
17419 fonts server tools:
17420 \$(RM) \$@ && \$(LN_S) $with_wine64/\$@ \$@
17421 $with_wine64/loader/wine:
17422 \$(RM) \$@ && \$(LN_S) $ac_pwd/loader/wine \$@
17423 $with_wine64/loader/wine-preloader:
17424 \$(RM) \$@ && \$(LN_S) $ac_pwd/loader/wine-preloader \$@
17425 clean::
17426 \$(RM) fonts server tools $with_wine64/loader/wine $with_wine64/loader/wine-preloader"
17427 else
17428 as_fn_append LOADER_RULES "
17429 all: wine.inf
17431 wine.inf: wine.inf.in \$(top_builddir)/include/config.h
17432 LC_ALL=C sed -e 's,@PACKAGE_STRING@,$PACKAGE_STRING,g' \$(srcdir)/wine.inf.in >\$@ || (\$(RM) \$@ && false)
17434 install install-lib:: wine.inf \$(DESTDIR)\$(datadir)/wine install-man-pages
17435 \$(INSTALL_DATA) wine.inf \$(DESTDIR)\$(datadir)/wine/wine.inf
17436 \$(INSTALL_DATA) \$(srcdir)/l_intl.nls \$(DESTDIR)\$(datadir)/wine/l_intl.nls
17438 uninstall::
17439 \$(RM) \$(DESTDIR)\$(datadir)/wine/wine.inf \$(DESTDIR)\$(datadir)/wine/l_intl.nls
17443 $as_echo " done" >&6
17444 cat >confcache <<\_ACEOF
17445 # This file is a shell script that caches the results of configure
17446 # tests run on this system so they can be shared between configure
17447 # scripts and configure runs, see configure's option --config-cache.
17448 # It is not useful on other systems. If it contains results you don't
17449 # want to keep, you may remove or edit it.
17451 # config.status only pays attention to the cache file if you give it
17452 # the --recheck option to rerun configure.
17454 # `ac_cv_env_foo' variables (set or unset) will be overridden when
17455 # loading this file, other *unset* `ac_cv_foo' will be assigned the
17456 # following values.
17458 _ACEOF
17460 # The following way of writing the cache mishandles newlines in values,
17461 # but we know of no workaround that is simple, portable, and efficient.
17462 # So, we kill variables containing newlines.
17463 # Ultrix sh set writes to stderr and can't be redirected directly,
17464 # and sets the high bit in the cache file unless we assign to the vars.
17466 for ac_var in `(set) 2>&1 | sed -n 's/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'`; do
17467 eval ac_val=\$$ac_var
17468 case $ac_val in #(
17469 *${as_nl}*)
17470 case $ac_var in #(
17471 *_cv_*) { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: cache variable $ac_var contains a newline" >&5
17472 $as_echo "$as_me: WARNING: cache variable $ac_var contains a newline" >&2;} ;;
17473 esac
17474 case $ac_var in #(
17475 _ | IFS | as_nl) ;; #(
17476 BASH_ARGV | BASH_SOURCE) eval $ac_var= ;; #(
17477 *) { eval $ac_var=; unset $ac_var;} ;;
17478 esac ;;
17479 esac
17480 done
17482 (set) 2>&1 |
17483 case $as_nl`(ac_space=' '; set) 2>&1` in #(
17484 *${as_nl}ac_space=\ *)
17485 # `set' does not quote correctly, so add quotes: double-quote
17486 # substitution turns \\\\ into \\, and sed turns \\ into \.
17487 sed -n \
17488 "s/'/'\\\\''/g;
17489 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\\2'/p"
17490 ;; #(
17492 # `set' quotes correctly as required by POSIX, so do not add quotes.
17493 sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
17495 esac |
17496 sort
17498 sed '
17499 /^ac_cv_env_/b end
17500 t clear
17501 :clear
17502 s/^\([^=]*\)=\(.*[{}].*\)$/test "${\1+set}" = set || &/
17503 t end
17504 s/^\([^=]*\)=\(.*\)$/\1=${\1=\2}/
17505 :end' >>confcache
17506 if diff "$cache_file" confcache >/dev/null 2>&1; then :; else
17507 if test -w "$cache_file"; then
17508 if test "x$cache_file" != "x/dev/null"; then
17509 { $as_echo "$as_me:${as_lineno-$LINENO}: updating cache $cache_file" >&5
17510 $as_echo "$as_me: updating cache $cache_file" >&6;}
17511 if test ! -f "$cache_file" || test -h "$cache_file"; then
17512 cat confcache >"$cache_file"
17513 else
17514 case $cache_file in #(
17515 */* | ?:*)
17516 mv -f confcache "$cache_file"$$ &&
17517 mv -f "$cache_file"$$ "$cache_file" ;; #(
17519 mv -f confcache "$cache_file" ;;
17520 esac
17523 else
17524 { $as_echo "$as_me:${as_lineno-$LINENO}: not updating unwritable cache $cache_file" >&5
17525 $as_echo "$as_me: not updating unwritable cache $cache_file" >&6;}
17528 rm -f confcache
17530 test "x$prefix" = xNONE && prefix=$ac_default_prefix
17531 # Let make expand exec_prefix.
17532 test "x$exec_prefix" = xNONE && exec_prefix='${prefix}'
17534 DEFS=-DHAVE_CONFIG_H
17536 ac_libobjs=
17537 ac_ltlibobjs=
17539 for ac_i in : $LIBOBJS; do test "x$ac_i" = x: && continue
17540 # 1. Remove the extension, and $U if already installed.
17541 ac_script='s/\$U\././;s/\.o$//;s/\.obj$//'
17542 ac_i=`$as_echo "$ac_i" | sed "$ac_script"`
17543 # 2. Prepend LIBOBJDIR. When used with automake>=1.10 LIBOBJDIR
17544 # will be set to the directory where LIBOBJS objects are built.
17545 as_fn_append ac_libobjs " \${LIBOBJDIR}$ac_i\$U.$ac_objext"
17546 as_fn_append ac_ltlibobjs " \${LIBOBJDIR}$ac_i"'$U.lo'
17547 done
17548 LIBOBJS=$ac_libobjs
17550 LTLIBOBJS=$ac_ltlibobjs
17554 : "${CONFIG_STATUS=./config.status}"
17555 ac_write_fail=0
17556 ac_clean_files_save=$ac_clean_files
17557 ac_clean_files="$ac_clean_files $CONFIG_STATUS"
17558 { $as_echo "$as_me:${as_lineno-$LINENO}: creating $CONFIG_STATUS" >&5
17559 $as_echo "$as_me: creating $CONFIG_STATUS" >&6;}
17560 as_write_fail=0
17561 cat >$CONFIG_STATUS <<_ASEOF || as_write_fail=1
17562 #! $SHELL
17563 # Generated by $as_me.
17564 # Run this file to recreate the current configuration.
17565 # Compiler output produced by configure, useful for debugging
17566 # configure, is in config.log if it exists.
17568 debug=false
17569 ac_cs_recheck=false
17570 ac_cs_silent=false
17572 SHELL=\${CONFIG_SHELL-$SHELL}
17573 export SHELL
17574 _ASEOF
17575 cat >>$CONFIG_STATUS <<\_ASEOF || as_write_fail=1
17576 ## -------------------- ##
17577 ## M4sh Initialization. ##
17578 ## -------------------- ##
17580 # Be more Bourne compatible
17581 DUALCASE=1; export DUALCASE # for MKS sh
17582 if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then :
17583 emulate sh
17584 NULLCMD=:
17585 # Pre-4.2 versions of Zsh do word splitting on ${1+"$@"}, which
17586 # is contrary to our usage. Disable this feature.
17587 alias -g '${1+"$@"}'='"$@"'
17588 setopt NO_GLOB_SUBST
17589 else
17590 case `(set -o) 2>/dev/null` in #(
17591 *posix*) :
17592 set -o posix ;; #(
17593 *) :
17595 esac
17599 as_nl='
17601 export as_nl
17602 # Printing a long string crashes Solaris 7 /usr/bin/printf.
17603 as_echo='\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\'
17604 as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo
17605 as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo$as_echo
17606 # Prefer a ksh shell builtin over an external printf program on Solaris,
17607 # but without wasting forks for bash or zsh.
17608 if test -z "$BASH_VERSION$ZSH_VERSION" \
17609 && (test "X`print -r -- $as_echo`" = "X$as_echo") 2>/dev/null; then
17610 as_echo='print -r --'
17611 as_echo_n='print -rn --'
17612 elif (test "X`printf %s $as_echo`" = "X$as_echo") 2>/dev/null; then
17613 as_echo='printf %s\n'
17614 as_echo_n='printf %s'
17615 else
17616 if test "X`(/usr/ucb/echo -n -n $as_echo) 2>/dev/null`" = "X-n $as_echo"; then
17617 as_echo_body='eval /usr/ucb/echo -n "$1$as_nl"'
17618 as_echo_n='/usr/ucb/echo -n'
17619 else
17620 as_echo_body='eval expr "X$1" : "X\\(.*\\)"'
17621 as_echo_n_body='eval
17622 arg=$1;
17623 case $arg in #(
17624 *"$as_nl"*)
17625 expr "X$arg" : "X\\(.*\\)$as_nl";
17626 arg=`expr "X$arg" : ".*$as_nl\\(.*\\)"`;;
17627 esac;
17628 expr "X$arg" : "X\\(.*\\)" | tr -d "$as_nl"
17630 export as_echo_n_body
17631 as_echo_n='sh -c $as_echo_n_body as_echo'
17633 export as_echo_body
17634 as_echo='sh -c $as_echo_body as_echo'
17637 # The user is always right.
17638 if test "${PATH_SEPARATOR+set}" != set; then
17639 PATH_SEPARATOR=:
17640 (PATH='/bin;/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 && {
17641 (PATH='/bin:/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 ||
17642 PATH_SEPARATOR=';'
17647 # IFS
17648 # We need space, tab and new line, in precisely that order. Quoting is
17649 # there to prevent editors from complaining about space-tab.
17650 # (If _AS_PATH_WALK were called with IFS unset, it would disable word
17651 # splitting by setting IFS to empty value.)
17652 IFS=" "" $as_nl"
17654 # Find who we are. Look in the path if we contain no directory separator.
17655 as_myself=
17656 case $0 in #((
17657 *[\\/]* ) as_myself=$0 ;;
17658 *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
17659 for as_dir in $PATH
17661 IFS=$as_save_IFS
17662 test -z "$as_dir" && as_dir=.
17663 test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break
17664 done
17665 IFS=$as_save_IFS
17668 esac
17669 # We did not find ourselves, most probably we were run as `sh COMMAND'
17670 # in which case we are not to be found in the path.
17671 if test "x$as_myself" = x; then
17672 as_myself=$0
17674 if test ! -f "$as_myself"; then
17675 $as_echo "$as_myself: error: cannot find myself; rerun with an absolute file name" >&2
17676 exit 1
17679 # Unset variables that we do not need and which cause bugs (e.g. in
17680 # pre-3.0 UWIN ksh). But do not cause bugs in bash 2.01; the "|| exit 1"
17681 # suppresses any "Segmentation fault" message there. '((' could
17682 # trigger a bug in pdksh 5.2.14.
17683 for as_var in BASH_ENV ENV MAIL MAILPATH
17684 do eval test x\${$as_var+set} = xset \
17685 && ( (unset $as_var) || exit 1) >/dev/null 2>&1 && unset $as_var || :
17686 done
17687 PS1='$ '
17688 PS2='> '
17689 PS4='+ '
17691 # NLS nuisances.
17692 LC_ALL=C
17693 export LC_ALL
17694 LANGUAGE=C
17695 export LANGUAGE
17697 # CDPATH.
17698 (unset CDPATH) >/dev/null 2>&1 && unset CDPATH
17701 # as_fn_error STATUS ERROR [LINENO LOG_FD]
17702 # ----------------------------------------
17703 # Output "`basename $0`: error: ERROR" to stderr. If LINENO and LOG_FD are
17704 # provided, also output the error to LOG_FD, referencing LINENO. Then exit the
17705 # script with STATUS, using 1 if that was 0.
17706 as_fn_error ()
17708 as_status=$1; test $as_status -eq 0 && as_status=1
17709 if test "$4"; then
17710 as_lineno=${as_lineno-"$3"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
17711 $as_echo "$as_me:${as_lineno-$LINENO}: error: $2" >&$4
17713 $as_echo "$as_me: error: $2" >&2
17714 as_fn_exit $as_status
17715 } # as_fn_error
17718 # as_fn_set_status STATUS
17719 # -----------------------
17720 # Set $? to STATUS, without forking.
17721 as_fn_set_status ()
17723 return $1
17724 } # as_fn_set_status
17726 # as_fn_exit STATUS
17727 # -----------------
17728 # Exit the shell with STATUS, even in a "trap 0" or "set -e" context.
17729 as_fn_exit ()
17731 set +e
17732 as_fn_set_status $1
17733 exit $1
17734 } # as_fn_exit
17736 # as_fn_unset VAR
17737 # ---------------
17738 # Portably unset VAR.
17739 as_fn_unset ()
17741 { eval $1=; unset $1;}
17743 as_unset=as_fn_unset
17744 # as_fn_append VAR VALUE
17745 # ----------------------
17746 # Append the text in VALUE to the end of the definition contained in VAR. Take
17747 # advantage of any shell optimizations that allow amortized linear growth over
17748 # repeated appends, instead of the typical quadratic growth present in naive
17749 # implementations.
17750 if (eval "as_var=1; as_var+=2; test x\$as_var = x12") 2>/dev/null; then :
17751 eval 'as_fn_append ()
17753 eval $1+=\$2
17755 else
17756 as_fn_append ()
17758 eval $1=\$$1\$2
17760 fi # as_fn_append
17762 # as_fn_arith ARG...
17763 # ------------------
17764 # Perform arithmetic evaluation on the ARGs, and store the result in the
17765 # global $as_val. Take advantage of shells that can avoid forks. The arguments
17766 # must be portable across $(()) and expr.
17767 if (eval "test \$(( 1 + 1 )) = 2") 2>/dev/null; then :
17768 eval 'as_fn_arith ()
17770 as_val=$(( $* ))
17772 else
17773 as_fn_arith ()
17775 as_val=`expr "$@" || test $? -eq 1`
17777 fi # as_fn_arith
17780 if expr a : '\(a\)' >/dev/null 2>&1 &&
17781 test "X`expr 00001 : '.*\(...\)'`" = X001; then
17782 as_expr=expr
17783 else
17784 as_expr=false
17787 if (basename -- /) >/dev/null 2>&1 && test "X`basename -- / 2>&1`" = "X/"; then
17788 as_basename=basename
17789 else
17790 as_basename=false
17793 if (as_dir=`dirname -- /` && test "X$as_dir" = X/) >/dev/null 2>&1; then
17794 as_dirname=dirname
17795 else
17796 as_dirname=false
17799 as_me=`$as_basename -- "$0" ||
17800 $as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
17801 X"$0" : 'X\(//\)$' \| \
17802 X"$0" : 'X\(/\)' \| . 2>/dev/null ||
17803 $as_echo X/"$0" |
17804 sed '/^.*\/\([^/][^/]*\)\/*$/{
17805 s//\1/
17808 /^X\/\(\/\/\)$/{
17809 s//\1/
17812 /^X\/\(\/\).*/{
17813 s//\1/
17816 s/.*/./; q'`
17818 # Avoid depending upon Character Ranges.
17819 as_cr_letters='abcdefghijklmnopqrstuvwxyz'
17820 as_cr_LETTERS='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
17821 as_cr_Letters=$as_cr_letters$as_cr_LETTERS
17822 as_cr_digits='0123456789'
17823 as_cr_alnum=$as_cr_Letters$as_cr_digits
17825 ECHO_C= ECHO_N= ECHO_T=
17826 case `echo -n x` in #(((((
17827 -n*)
17828 case `echo 'xy\c'` in
17829 *c*) ECHO_T=' ';; # ECHO_T is single tab character.
17830 xy) ECHO_C='\c';;
17831 *) echo `echo ksh88 bug on AIX 6.1` > /dev/null
17832 ECHO_T=' ';;
17833 esac;;
17835 ECHO_N='-n';;
17836 esac
17838 rm -f conf$$ conf$$.exe conf$$.file
17839 if test -d conf$$.dir; then
17840 rm -f conf$$.dir/conf$$.file
17841 else
17842 rm -f conf$$.dir
17843 mkdir conf$$.dir 2>/dev/null
17845 if (echo >conf$$.file) 2>/dev/null; then
17846 if ln -s conf$$.file conf$$ 2>/dev/null; then
17847 as_ln_s='ln -s'
17848 # ... but there are two gotchas:
17849 # 1) On MSYS, both `ln -s file dir' and `ln file dir' fail.
17850 # 2) DJGPP < 2.04 has no symlinks; `ln -s' creates a wrapper executable.
17851 # In both cases, we have to default to `cp -pR'.
17852 ln -s conf$$.file conf$$.dir 2>/dev/null && test ! -f conf$$.exe ||
17853 as_ln_s='cp -pR'
17854 elif ln conf$$.file conf$$ 2>/dev/null; then
17855 as_ln_s=ln
17856 else
17857 as_ln_s='cp -pR'
17859 else
17860 as_ln_s='cp -pR'
17862 rm -f conf$$ conf$$.exe conf$$.dir/conf$$.file conf$$.file
17863 rmdir conf$$.dir 2>/dev/null
17866 # as_fn_mkdir_p
17867 # -------------
17868 # Create "$as_dir" as a directory, including parents if necessary.
17869 as_fn_mkdir_p ()
17872 case $as_dir in #(
17873 -*) as_dir=./$as_dir;;
17874 esac
17875 test -d "$as_dir" || eval $as_mkdir_p || {
17876 as_dirs=
17877 while :; do
17878 case $as_dir in #(
17879 *\'*) as_qdir=`$as_echo "$as_dir" | sed "s/'/'\\\\\\\\''/g"`;; #'(
17880 *) as_qdir=$as_dir;;
17881 esac
17882 as_dirs="'$as_qdir' $as_dirs"
17883 as_dir=`$as_dirname -- "$as_dir" ||
17884 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
17885 X"$as_dir" : 'X\(//\)[^/]' \| \
17886 X"$as_dir" : 'X\(//\)$' \| \
17887 X"$as_dir" : 'X\(/\)' \| . 2>/dev/null ||
17888 $as_echo X"$as_dir" |
17889 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
17890 s//\1/
17893 /^X\(\/\/\)[^/].*/{
17894 s//\1/
17897 /^X\(\/\/\)$/{
17898 s//\1/
17901 /^X\(\/\).*/{
17902 s//\1/
17905 s/.*/./; q'`
17906 test -d "$as_dir" && break
17907 done
17908 test -z "$as_dirs" || eval "mkdir $as_dirs"
17909 } || test -d "$as_dir" || as_fn_error $? "cannot create directory $as_dir"
17912 } # as_fn_mkdir_p
17913 if mkdir -p . 2>/dev/null; then
17914 as_mkdir_p='mkdir -p "$as_dir"'
17915 else
17916 test -d ./-p && rmdir ./-p
17917 as_mkdir_p=false
17921 # as_fn_executable_p FILE
17922 # -----------------------
17923 # Test if FILE is an executable regular file.
17924 as_fn_executable_p ()
17926 test -f "$1" && test -x "$1"
17927 } # as_fn_executable_p
17928 as_test_x='test -x'
17929 as_executable_p=as_fn_executable_p
17931 # Sed expression to map a string onto a valid CPP name.
17932 as_tr_cpp="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'"
17934 # Sed expression to map a string onto a valid variable name.
17935 as_tr_sh="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'"
17938 exec 6>&1
17939 ## ----------------------------------- ##
17940 ## Main body of $CONFIG_STATUS script. ##
17941 ## ----------------------------------- ##
17942 _ASEOF
17943 test $as_write_fail = 0 && chmod +x $CONFIG_STATUS || ac_write_fail=1
17945 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
17946 # Save the log message, to keep $0 and so on meaningful, and to
17947 # report actual input values of CONFIG_FILES etc. instead of their
17948 # values after options handling.
17949 ac_log="
17950 This file was extended by Wine $as_me 1.7.3, which was
17951 generated by GNU Autoconf 2.69. Invocation command line was
17953 CONFIG_FILES = $CONFIG_FILES
17954 CONFIG_HEADERS = $CONFIG_HEADERS
17955 CONFIG_LINKS = $CONFIG_LINKS
17956 CONFIG_COMMANDS = $CONFIG_COMMANDS
17957 $ $0 $@
17959 on `(hostname || uname -n) 2>/dev/null | sed 1q`
17962 _ACEOF
17964 case $ac_config_files in *"
17965 "*) set x $ac_config_files; shift; ac_config_files=$*;;
17966 esac
17968 case $ac_config_headers in *"
17969 "*) set x $ac_config_headers; shift; ac_config_headers=$*;;
17970 esac
17973 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
17974 # Files that config.status was made for.
17975 config_files="$ac_config_files"
17976 config_headers="$ac_config_headers"
17977 config_links="$ac_config_links"
17978 config_commands="$ac_config_commands"
17980 _ACEOF
17982 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
17983 ac_cs_usage="\
17984 \`$as_me' instantiates files and other configuration actions
17985 from templates according to the current configuration. Unless the files
17986 and actions are specified as TAGs, all are instantiated by default.
17988 Usage: $0 [OPTION]... [TAG]...
17990 -h, --help print this help, then exit
17991 -V, --version print version number and configuration settings, then exit
17992 --config print configuration, then exit
17993 -q, --quiet, --silent
17994 do not print progress messages
17995 -d, --debug don't remove temporary files
17996 --recheck update $as_me by reconfiguring in the same conditions
17997 --file=FILE[:TEMPLATE]
17998 instantiate the configuration file FILE
17999 --header=FILE[:TEMPLATE]
18000 instantiate the configuration header FILE
18002 Configuration files:
18003 $config_files
18005 Configuration headers:
18006 $config_headers
18008 Configuration links:
18009 $config_links
18011 Configuration commands:
18012 $config_commands
18014 Report bugs to <wine-devel@winehq.org>.
18015 Wine home page: <http://www.winehq.org>."
18017 _ACEOF
18018 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
18019 ac_cs_config="`$as_echo "$ac_configure_args" | sed 's/^ //; s/[\\""\`\$]/\\\\&/g'`"
18020 ac_cs_version="\\
18021 Wine config.status 1.7.3
18022 configured by $0, generated by GNU Autoconf 2.69,
18023 with options \\"\$ac_cs_config\\"
18025 Copyright (C) 2012 Free Software Foundation, Inc.
18026 This config.status script is free software; the Free Software Foundation
18027 gives unlimited permission to copy, distribute and modify it."
18029 ac_pwd='$ac_pwd'
18030 srcdir='$srcdir'
18031 INSTALL='$INSTALL'
18032 MKDIR_P='$MKDIR_P'
18033 test -n "\$AWK" || AWK=awk
18034 _ACEOF
18036 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
18037 # The default lists apply if the user does not specify any file.
18038 ac_need_defaults=:
18039 while test $# != 0
18041 case $1 in
18042 --*=?*)
18043 ac_option=`expr "X$1" : 'X\([^=]*\)='`
18044 ac_optarg=`expr "X$1" : 'X[^=]*=\(.*\)'`
18045 ac_shift=:
18047 --*=)
18048 ac_option=`expr "X$1" : 'X\([^=]*\)='`
18049 ac_optarg=
18050 ac_shift=:
18053 ac_option=$1
18054 ac_optarg=$2
18055 ac_shift=shift
18057 esac
18059 case $ac_option in
18060 # Handling of the options.
18061 -recheck | --recheck | --rechec | --reche | --rech | --rec | --re | --r)
18062 ac_cs_recheck=: ;;
18063 --version | --versio | --versi | --vers | --ver | --ve | --v | -V )
18064 $as_echo "$ac_cs_version"; exit ;;
18065 --config | --confi | --conf | --con | --co | --c )
18066 $as_echo "$ac_cs_config"; exit ;;
18067 --debug | --debu | --deb | --de | --d | -d )
18068 debug=: ;;
18069 --file | --fil | --fi | --f )
18070 $ac_shift
18071 case $ac_optarg in
18072 *\'*) ac_optarg=`$as_echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"` ;;
18073 '') as_fn_error $? "missing file argument" ;;
18074 esac
18075 as_fn_append CONFIG_FILES " '$ac_optarg'"
18076 ac_need_defaults=false;;
18077 --header | --heade | --head | --hea )
18078 $ac_shift
18079 case $ac_optarg in
18080 *\'*) ac_optarg=`$as_echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"` ;;
18081 esac
18082 as_fn_append CONFIG_HEADERS " '$ac_optarg'"
18083 ac_need_defaults=false;;
18084 --he | --h)
18085 # Conflict between --help and --header
18086 as_fn_error $? "ambiguous option: \`$1'
18087 Try \`$0 --help' for more information.";;
18088 --help | --hel | -h )
18089 $as_echo "$ac_cs_usage"; exit ;;
18090 -q | -quiet | --quiet | --quie | --qui | --qu | --q \
18091 | -silent | --silent | --silen | --sile | --sil | --si | --s)
18092 ac_cs_silent=: ;;
18094 # This is an error.
18095 -*) as_fn_error $? "unrecognized option: \`$1'
18096 Try \`$0 --help' for more information." ;;
18098 *) as_fn_append ac_config_targets " $1"
18099 ac_need_defaults=false ;;
18101 esac
18102 shift
18103 done
18105 ac_configure_extra_args=
18107 if $ac_cs_silent; then
18108 exec 6>/dev/null
18109 ac_configure_extra_args="$ac_configure_extra_args --silent"
18112 _ACEOF
18113 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
18114 if \$ac_cs_recheck; then
18115 set X $SHELL '$0' $ac_configure_args \$ac_configure_extra_args --no-create --no-recursion
18116 shift
18117 \$as_echo "running CONFIG_SHELL=$SHELL \$*" >&6
18118 CONFIG_SHELL='$SHELL'
18119 export CONFIG_SHELL
18120 exec "\$@"
18123 _ACEOF
18124 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
18125 exec 5>>config.log
18127 echo
18128 sed 'h;s/./-/g;s/^.../## /;s/...$/ ##/;p;x;p;x' <<_ASBOX
18129 ## Running $as_me. ##
18130 _ASBOX
18131 $as_echo "$ac_log"
18132 } >&5
18134 _ACEOF
18135 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
18137 # INIT-COMMANDS
18139 wine_fn_output_makefile ()
18141 cat Make.tmp - <<\_WINE_EOF >\$tmp/makefile && mv -f \$tmp/makefile \$1 && rm -f Make.tmp && return
18142 `cat $wine_rules_file`
18143 _WINE_EOF
18144 as_fn_error $? "could not create Makefile" "$LINENO" 5
18147 _ACEOF
18149 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
18151 # Handling of arguments.
18152 for ac_config_target in $ac_config_targets
18154 case $ac_config_target in
18155 "include/config.h") CONFIG_HEADERS="$CONFIG_HEADERS include/config.h" ;;
18156 "include/stamp-h") CONFIG_COMMANDS="$CONFIG_COMMANDS include/stamp-h" ;;
18157 "dlls/shell32/AUTHORS") CONFIG_LINKS="$CONFIG_LINKS dlls/shell32/AUTHORS:AUTHORS" ;;
18158 "fonts/marlett.ttf") CONFIG_LINKS="$CONFIG_LINKS fonts/marlett.ttf:fonts/marlett.ttf" ;;
18159 "fonts/symbol.ttf") CONFIG_LINKS="$CONFIG_LINKS fonts/symbol.ttf:fonts/symbol.ttf" ;;
18160 "fonts/tahoma.ttf") CONFIG_LINKS="$CONFIG_LINKS fonts/tahoma.ttf:fonts/tahoma.ttf" ;;
18161 "fonts/tahomabd.ttf") CONFIG_LINKS="$CONFIG_LINKS fonts/tahomabd.ttf:fonts/tahomabd.ttf" ;;
18162 "loader/l_intl.nls") CONFIG_LINKS="$CONFIG_LINKS loader/l_intl.nls:loader/l_intl.nls" ;;
18163 "po/LINGUAS") CONFIG_LINKS="$CONFIG_LINKS po/LINGUAS:po/LINGUAS" ;;
18164 "wine") CONFIG_LINKS="$CONFIG_LINKS wine:tools/winewrapper" ;;
18165 "wine64") CONFIG_LINKS="$CONFIG_LINKS wine64:tools/winewrapper" ;;
18166 "dlls/gdi32/dibdrv") CONFIG_COMMANDS="$CONFIG_COMMANDS dlls/gdi32/dibdrv" ;;
18167 "dlls/gdi32/enhmfdrv") CONFIG_COMMANDS="$CONFIG_COMMANDS dlls/gdi32/enhmfdrv" ;;
18168 "dlls/gdi32/mfdrv") CONFIG_COMMANDS="$CONFIG_COMMANDS dlls/gdi32/mfdrv" ;;
18169 "dlls/kernel32/nls") CONFIG_COMMANDS="$CONFIG_COMMANDS dlls/kernel32/nls" ;;
18170 "dlls/user32/resources") CONFIG_COMMANDS="$CONFIG_COMMANDS dlls/user32/resources" ;;
18171 "dlls/wineps.drv/data") CONFIG_COMMANDS="$CONFIG_COMMANDS dlls/wineps.drv/data" ;;
18172 "include/wine") CONFIG_COMMANDS="$CONFIG_COMMANDS include/wine" ;;
18173 "Make.rules") CONFIG_FILES="$CONFIG_FILES Make.rules" ;;
18174 "Maketest.rules") CONFIG_FILES="$CONFIG_FILES Maketest.rules" ;;
18175 "dlls/Makedll.rules") CONFIG_FILES="$CONFIG_FILES dlls/Makedll.rules" ;;
18176 "dlls/Makeimplib.rules") CONFIG_FILES="$CONFIG_FILES dlls/Makeimplib.rules" ;;
18177 "programs/Makeprog.rules") CONFIG_FILES="$CONFIG_FILES programs/Makeprog.rules" ;;
18178 "Makefile") CONFIG_COMMANDS="$CONFIG_COMMANDS Makefile" ;;
18179 "Make.tmp") CONFIG_FILES="$CONFIG_FILES Make.tmp:Make.vars.in:Makefile.in" ;;
18181 *) as_fn_error $? "invalid argument: \`$ac_config_target'" "$LINENO" 5;;
18182 esac
18183 done
18186 # If the user did not use the arguments to specify the items to instantiate,
18187 # then the envvar interface is used. Set only those that are not.
18188 # We use the long form for the default assignment because of an extremely
18189 # bizarre bug on SunOS 4.1.3.
18190 if $ac_need_defaults; then
18191 test "${CONFIG_FILES+set}" = set || CONFIG_FILES=$config_files
18192 test "${CONFIG_HEADERS+set}" = set || CONFIG_HEADERS=$config_headers
18193 test "${CONFIG_LINKS+set}" = set || CONFIG_LINKS=$config_links
18194 test "${CONFIG_COMMANDS+set}" = set || CONFIG_COMMANDS=$config_commands
18197 # Have a temporary directory for convenience. Make it in the build tree
18198 # simply because there is no reason against having it here, and in addition,
18199 # creating and moving files from /tmp can sometimes cause problems.
18200 # Hook for its removal unless debugging.
18201 # Note that there is a small window in which the directory will not be cleaned:
18202 # after its creation but before its name has been assigned to `$tmp'.
18203 $debug ||
18205 tmp= ac_tmp=
18206 trap 'exit_status=$?
18207 : "${ac_tmp:=$tmp}"
18208 { test ! -d "$ac_tmp" || rm -fr "$ac_tmp"; } && exit $exit_status
18210 trap 'as_fn_exit 1' 1 2 13 15
18212 # Create a (secure) tmp directory for tmp files.
18215 tmp=`(umask 077 && mktemp -d "./confXXXXXX") 2>/dev/null` &&
18216 test -d "$tmp"
18217 } ||
18219 tmp=./conf$$-$RANDOM
18220 (umask 077 && mkdir "$tmp")
18221 } || as_fn_error $? "cannot create a temporary directory in ." "$LINENO" 5
18222 ac_tmp=$tmp
18224 # Set up the scripts for CONFIG_FILES section.
18225 # No need to generate them if there are no CONFIG_FILES.
18226 # This happens for instance with `./config.status config.h'.
18227 if test -n "$CONFIG_FILES"; then
18229 if $AWK 'BEGIN { getline <"/dev/null" }' </dev/null 2>/dev/null; then
18230 ac_cs_awk_getline=:
18231 ac_cs_awk_pipe_init=
18232 ac_cs_awk_read_file='
18233 while ((getline aline < (F[key])) > 0)
18234 print(aline)
18235 close(F[key])'
18236 ac_cs_awk_pipe_fini=
18237 else
18238 ac_cs_awk_getline=false
18239 ac_cs_awk_pipe_init="print \"cat <<'|#_!!_#|' &&\""
18240 ac_cs_awk_read_file='
18241 print "|#_!!_#|"
18242 print "cat " F[key] " &&"
18243 '$ac_cs_awk_pipe_init
18244 # The final `:' finishes the AND list.
18245 ac_cs_awk_pipe_fini='END { print "|#_!!_#|"; print ":" }'
18247 ac_cr=`echo X | tr X '\015'`
18248 # On cygwin, bash can eat \r inside `` if the user requested igncr.
18249 # But we know of no other shell where ac_cr would be empty at this
18250 # point, so we can use a bashism as a fallback.
18251 if test "x$ac_cr" = x; then
18252 eval ac_cr=\$\'\\r\'
18254 ac_cs_awk_cr=`$AWK 'BEGIN { print "a\rb" }' </dev/null 2>/dev/null`
18255 if test "$ac_cs_awk_cr" = "a${ac_cr}b"; then
18256 ac_cs_awk_cr='\\r'
18257 else
18258 ac_cs_awk_cr=$ac_cr
18261 echo 'BEGIN {' >"$ac_tmp/subs1.awk" &&
18262 _ACEOF
18264 # Create commands to substitute file output variables.
18266 echo "cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1" &&
18267 echo 'cat >>"\$ac_tmp/subs1.awk" <<\\_ACAWK &&' &&
18268 echo "$ac_subst_files" | sed 's/.*/F["&"]="$&"/' &&
18269 echo "_ACAWK" &&
18270 echo "_ACEOF"
18271 } >conf$$files.sh &&
18272 . ./conf$$files.sh ||
18273 as_fn_error $? "could not make $CONFIG_STATUS" "$LINENO" 5
18274 rm -f conf$$files.sh
18277 echo "cat >conf$$subs.awk <<_ACEOF" &&
18278 echo "$ac_subst_vars" | sed 's/.*/&!$&$ac_delim/' &&
18279 echo "_ACEOF"
18280 } >conf$$subs.sh ||
18281 as_fn_error $? "could not make $CONFIG_STATUS" "$LINENO" 5
18282 ac_delim_num=`echo "$ac_subst_vars" | grep -c '^'`
18283 ac_delim='%!_!# '
18284 for ac_last_try in false false false false false :; do
18285 . ./conf$$subs.sh ||
18286 as_fn_error $? "could not make $CONFIG_STATUS" "$LINENO" 5
18288 ac_delim_n=`sed -n "s/.*$ac_delim\$/X/p" conf$$subs.awk | grep -c X`
18289 if test $ac_delim_n = $ac_delim_num; then
18290 break
18291 elif $ac_last_try; then
18292 as_fn_error $? "could not make $CONFIG_STATUS" "$LINENO" 5
18293 else
18294 ac_delim="$ac_delim!$ac_delim _$ac_delim!! "
18296 done
18297 rm -f conf$$subs.sh
18299 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
18300 cat >>"\$ac_tmp/subs1.awk" <<\\_ACAWK &&
18301 _ACEOF
18302 sed -n '
18304 s/^/S["/; s/!.*/"]=/
18307 s/^[^!]*!//
18308 :repl
18309 t repl
18310 s/'"$ac_delim"'$//
18311 t delim
18314 s/\(.\{148\}\)..*/\1/
18315 t more1
18316 s/["\\]/\\&/g; s/^/"/; s/$/\\n"\\/
18319 b repl
18320 :more1
18321 s/["\\]/\\&/g; s/^/"/; s/$/"\\/
18324 s/.\{148\}//
18325 t nl
18326 :delim
18328 s/\(.\{148\}\)..*/\1/
18329 t more2
18330 s/["\\]/\\&/g; s/^/"/; s/$/"/
18333 :more2
18334 s/["\\]/\\&/g; s/^/"/; s/$/"\\/
18337 s/.\{148\}//
18338 t delim
18339 ' <conf$$subs.awk | sed '
18340 /^[^""]/{
18342 s/\n//
18344 ' >>$CONFIG_STATUS || ac_write_fail=1
18345 rm -f conf$$subs.awk
18346 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
18347 _ACAWK
18348 cat >>"\$ac_tmp/subs1.awk" <<_ACAWK &&
18349 for (key in S) S_is_set[key] = 1
18350 FS = "\a"
18351 \$ac_cs_awk_pipe_init
18354 line = $ 0
18355 nfields = split(line, field, "@")
18356 substed = 0
18357 len = length(field[1])
18358 for (i = 2; i < nfields; i++) {
18359 key = field[i]
18360 keylen = length(key)
18361 if (S_is_set[key]) {
18362 value = S[key]
18363 line = substr(line, 1, len) "" value "" substr(line, len + keylen + 3)
18364 len += length(value) + length(field[++i])
18365 substed = 1
18366 } else
18367 len += 1 + keylen
18369 if (nfields == 3 && !substed) {
18370 key = field[2]
18371 if (F[key] != "" && line ~ /^[ ]*@.*@[ ]*$/) {
18372 \$ac_cs_awk_read_file
18373 next
18376 print line
18378 \$ac_cs_awk_pipe_fini
18379 _ACAWK
18380 _ACEOF
18381 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
18382 if sed "s/$ac_cr//" < /dev/null > /dev/null 2>&1; then
18383 sed "s/$ac_cr\$//; s/$ac_cr/$ac_cs_awk_cr/g"
18384 else
18386 fi < "$ac_tmp/subs1.awk" > "$ac_tmp/subs.awk" \
18387 || as_fn_error $? "could not setup config files machinery" "$LINENO" 5
18388 _ACEOF
18390 # VPATH may cause trouble with some makes, so we remove sole $(srcdir),
18391 # ${srcdir} and @srcdir@ entries from VPATH if srcdir is ".", strip leading and
18392 # trailing colons and then remove the whole line if VPATH becomes empty
18393 # (actually we leave an empty line to preserve line numbers).
18394 if test "x$srcdir" = x.; then
18395 ac_vpsub='/^[ ]*VPATH[ ]*=[ ]*/{
18397 s///
18398 s/^/:/
18399 s/[ ]*$/:/
18400 s/:\$(srcdir):/:/g
18401 s/:\${srcdir}:/:/g
18402 s/:@srcdir@:/:/g
18403 s/^:*//
18404 s/:*$//
18406 s/\(=[ ]*\).*/\1/
18408 s/\n//
18409 s/^[^=]*=[ ]*$//
18413 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
18414 fi # test -n "$CONFIG_FILES"
18416 # Set up the scripts for CONFIG_HEADERS section.
18417 # No need to generate them if there are no CONFIG_HEADERS.
18418 # This happens for instance with `./config.status Makefile'.
18419 if test -n "$CONFIG_HEADERS"; then
18420 cat >"$ac_tmp/defines.awk" <<\_ACAWK ||
18421 BEGIN {
18422 _ACEOF
18424 # Transform confdefs.h into an awk script `defines.awk', embedded as
18425 # here-document in config.status, that substitutes the proper values into
18426 # config.h.in to produce config.h.
18428 # Create a delimiter string that does not exist in confdefs.h, to ease
18429 # handling of long lines.
18430 ac_delim='%!_!# '
18431 for ac_last_try in false false :; do
18432 ac_tt=`sed -n "/$ac_delim/p" confdefs.h`
18433 if test -z "$ac_tt"; then
18434 break
18435 elif $ac_last_try; then
18436 as_fn_error $? "could not make $CONFIG_HEADERS" "$LINENO" 5
18437 else
18438 ac_delim="$ac_delim!$ac_delim _$ac_delim!! "
18440 done
18442 # For the awk script, D is an array of macro values keyed by name,
18443 # likewise P contains macro parameters if any. Preserve backslash
18444 # newline sequences.
18446 ac_word_re=[_$as_cr_Letters][_$as_cr_alnum]*
18447 sed -n '
18448 s/.\{148\}/&'"$ac_delim"'/g
18449 t rset
18450 :rset
18451 s/^[ ]*#[ ]*define[ ][ ]*/ /
18452 t def
18454 :def
18455 s/\\$//
18456 t bsnl
18457 s/["\\]/\\&/g
18458 s/^ \('"$ac_word_re"'\)\(([^()]*)\)[ ]*\(.*\)/P["\1"]="\2"\
18459 D["\1"]=" \3"/p
18460 s/^ \('"$ac_word_re"'\)[ ]*\(.*\)/D["\1"]=" \2"/p
18462 :bsnl
18463 s/["\\]/\\&/g
18464 s/^ \('"$ac_word_re"'\)\(([^()]*)\)[ ]*\(.*\)/P["\1"]="\2"\
18465 D["\1"]=" \3\\\\\\n"\\/p
18466 t cont
18467 s/^ \('"$ac_word_re"'\)[ ]*\(.*\)/D["\1"]=" \2\\\\\\n"\\/p
18468 t cont
18470 :cont
18472 s/.\{148\}/&'"$ac_delim"'/g
18473 t clear
18474 :clear
18475 s/\\$//
18476 t bsnlc
18477 s/["\\]/\\&/g; s/^/"/; s/$/"/p
18479 :bsnlc
18480 s/["\\]/\\&/g; s/^/"/; s/$/\\\\\\n"\\/p
18481 b cont
18482 ' <confdefs.h | sed '
18483 s/'"$ac_delim"'/"\\\
18484 "/g' >>$CONFIG_STATUS || ac_write_fail=1
18486 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
18487 for (key in D) D_is_set[key] = 1
18488 FS = "\a"
18490 /^[\t ]*#[\t ]*(define|undef)[\t ]+$ac_word_re([\t (]|\$)/ {
18491 line = \$ 0
18492 split(line, arg, " ")
18493 if (arg[1] == "#") {
18494 defundef = arg[2]
18495 mac1 = arg[3]
18496 } else {
18497 defundef = substr(arg[1], 2)
18498 mac1 = arg[2]
18500 split(mac1, mac2, "(") #)
18501 macro = mac2[1]
18502 prefix = substr(line, 1, index(line, defundef) - 1)
18503 if (D_is_set[macro]) {
18504 # Preserve the white space surrounding the "#".
18505 print prefix "define", macro P[macro] D[macro]
18506 next
18507 } else {
18508 # Replace #undef with comments. This is necessary, for example,
18509 # in the case of _POSIX_SOURCE, which is predefined and required
18510 # on some systems where configure will not decide to define it.
18511 if (defundef == "undef") {
18512 print "/*", prefix defundef, macro, "*/"
18513 next
18517 { print }
18518 _ACAWK
18519 _ACEOF
18520 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
18521 as_fn_error $? "could not setup config headers machinery" "$LINENO" 5
18522 fi # test -n "$CONFIG_HEADERS"
18525 eval set X " :F $CONFIG_FILES :H $CONFIG_HEADERS :L $CONFIG_LINKS :C $CONFIG_COMMANDS"
18526 shift
18527 for ac_tag
18529 case $ac_tag in
18530 :[FHLC]) ac_mode=$ac_tag; continue;;
18531 esac
18532 case $ac_mode$ac_tag in
18533 :[FHL]*:*);;
18534 :L* | :C*:*) as_fn_error $? "invalid tag \`$ac_tag'" "$LINENO" 5;;
18535 :[FH]-) ac_tag=-:-;;
18536 :[FH]*) ac_tag=$ac_tag:$ac_tag.in;;
18537 esac
18538 ac_save_IFS=$IFS
18539 IFS=:
18540 set x $ac_tag
18541 IFS=$ac_save_IFS
18542 shift
18543 ac_file=$1
18544 shift
18546 case $ac_mode in
18547 :L) ac_source=$1;;
18548 :[FH])
18549 ac_file_inputs=
18550 for ac_f
18552 case $ac_f in
18553 -) ac_f="$ac_tmp/stdin";;
18554 *) # Look for the file first in the build tree, then in the source tree
18555 # (if the path is not absolute). The absolute path cannot be DOS-style,
18556 # because $ac_f cannot contain `:'.
18557 test -f "$ac_f" ||
18558 case $ac_f in
18559 [\\/$]*) false;;
18560 *) test -f "$srcdir/$ac_f" && ac_f="$srcdir/$ac_f";;
18561 esac ||
18562 as_fn_error 1 "cannot find input file: \`$ac_f'" "$LINENO" 5;;
18563 esac
18564 case $ac_f in *\'*) ac_f=`$as_echo "$ac_f" | sed "s/'/'\\\\\\\\''/g"`;; esac
18565 as_fn_append ac_file_inputs " '$ac_f'"
18566 done
18568 # Let's still pretend it is `configure' which instantiates (i.e., don't
18569 # use $as_me), people would be surprised to read:
18570 # /* config.h. Generated by config.status. */
18571 configure_input='Generated from '`
18572 $as_echo "$*" | sed 's|^[^:]*/||;s|:[^:]*/|, |g'
18573 `' by configure.'
18574 if test x"$ac_file" != x-; then
18575 configure_input="$ac_file. $configure_input"
18576 { $as_echo "$as_me:${as_lineno-$LINENO}: creating $ac_file" >&5
18577 $as_echo "$as_me: creating $ac_file" >&6;}
18579 # Neutralize special characters interpreted by sed in replacement strings.
18580 case $configure_input in #(
18581 *\&* | *\|* | *\\* )
18582 ac_sed_conf_input=`$as_echo "$configure_input" |
18583 sed 's/[\\\\&|]/\\\\&/g'`;; #(
18584 *) ac_sed_conf_input=$configure_input;;
18585 esac
18587 case $ac_tag in
18588 *:-:* | *:-) cat >"$ac_tmp/stdin" \
18589 || as_fn_error $? "could not create $ac_file" "$LINENO" 5 ;;
18590 esac
18592 esac
18594 ac_dir=`$as_dirname -- "$ac_file" ||
18595 $as_expr X"$ac_file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
18596 X"$ac_file" : 'X\(//\)[^/]' \| \
18597 X"$ac_file" : 'X\(//\)$' \| \
18598 X"$ac_file" : 'X\(/\)' \| . 2>/dev/null ||
18599 $as_echo X"$ac_file" |
18600 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
18601 s//\1/
18604 /^X\(\/\/\)[^/].*/{
18605 s//\1/
18608 /^X\(\/\/\)$/{
18609 s//\1/
18612 /^X\(\/\).*/{
18613 s//\1/
18616 s/.*/./; q'`
18617 as_dir="$ac_dir"; as_fn_mkdir_p
18618 ac_builddir=.
18620 case "$ac_dir" in
18621 .) ac_dir_suffix= ac_top_builddir_sub=. ac_top_build_prefix= ;;
18623 ac_dir_suffix=/`$as_echo "$ac_dir" | sed 's|^\.[\\/]||'`
18624 # A ".." for each directory in $ac_dir_suffix.
18625 ac_top_builddir_sub=`$as_echo "$ac_dir_suffix" | sed 's|/[^\\/]*|/..|g;s|/||'`
18626 case $ac_top_builddir_sub in
18627 "") ac_top_builddir_sub=. ac_top_build_prefix= ;;
18628 *) ac_top_build_prefix=$ac_top_builddir_sub/ ;;
18629 esac ;;
18630 esac
18631 ac_abs_top_builddir=$ac_pwd
18632 ac_abs_builddir=$ac_pwd$ac_dir_suffix
18633 # for backward compatibility:
18634 ac_top_builddir=$ac_top_build_prefix
18636 case $srcdir in
18637 .) # We are building in place.
18638 ac_srcdir=.
18639 ac_top_srcdir=$ac_top_builddir_sub
18640 ac_abs_top_srcdir=$ac_pwd ;;
18641 [\\/]* | ?:[\\/]* ) # Absolute name.
18642 ac_srcdir=$srcdir$ac_dir_suffix;
18643 ac_top_srcdir=$srcdir
18644 ac_abs_top_srcdir=$srcdir ;;
18645 *) # Relative name.
18646 ac_srcdir=$ac_top_build_prefix$srcdir$ac_dir_suffix
18647 ac_top_srcdir=$ac_top_build_prefix$srcdir
18648 ac_abs_top_srcdir=$ac_pwd/$srcdir ;;
18649 esac
18650 ac_abs_srcdir=$ac_abs_top_srcdir$ac_dir_suffix
18653 case $ac_mode in
18656 # CONFIG_FILE
18659 case $INSTALL in
18660 [\\/$]* | ?:[\\/]* ) ac_INSTALL=$INSTALL ;;
18661 *) ac_INSTALL=$ac_top_build_prefix$INSTALL ;;
18662 esac
18663 ac_MKDIR_P=$MKDIR_P
18664 case $MKDIR_P in
18665 [\\/$]* | ?:[\\/]* ) ;;
18666 */*) ac_MKDIR_P=$ac_top_build_prefix$MKDIR_P ;;
18667 esac
18668 _ACEOF
18670 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
18671 # If the template does not know about datarootdir, expand it.
18672 # FIXME: This hack should be removed a few years after 2.60.
18673 ac_datarootdir_hack=; ac_datarootdir_seen=
18674 ac_sed_dataroot='
18675 /datarootdir/ {
18679 /@datadir@/p
18680 /@docdir@/p
18681 /@infodir@/p
18682 /@localedir@/p
18683 /@mandir@/p'
18684 case `eval "sed -n \"\$ac_sed_dataroot\" $ac_file_inputs"` in
18685 *datarootdir*) ac_datarootdir_seen=yes;;
18686 *@datadir@*|*@docdir@*|*@infodir@*|*@localedir@*|*@mandir@*)
18687 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&5
18688 $as_echo "$as_me: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&2;}
18689 _ACEOF
18690 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
18691 ac_datarootdir_hack='
18692 s&@datadir@&$datadir&g
18693 s&@docdir@&$docdir&g
18694 s&@infodir@&$infodir&g
18695 s&@localedir@&$localedir&g
18696 s&@mandir@&$mandir&g
18697 s&\\\${datarootdir}&$datarootdir&g' ;;
18698 esac
18699 _ACEOF
18701 # Neutralize VPATH when `$srcdir' = `.'.
18702 # Shell code in configure.ac might set extrasub.
18703 # FIXME: do we really want to maintain this feature?
18704 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
18705 ac_sed_extra="$ac_vpsub
18706 $extrasub
18707 _ACEOF
18708 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
18710 /@[a-zA-Z_][a-zA-Z_0-9]*@/!b
18711 s|@configure_input@|$ac_sed_conf_input|;t t
18712 s&@top_builddir@&$ac_top_builddir_sub&;t t
18713 s&@top_build_prefix@&$ac_top_build_prefix&;t t
18714 s&@srcdir@&$ac_srcdir&;t t
18715 s&@abs_srcdir@&$ac_abs_srcdir&;t t
18716 s&@top_srcdir@&$ac_top_srcdir&;t t
18717 s&@abs_top_srcdir@&$ac_abs_top_srcdir&;t t
18718 s&@builddir@&$ac_builddir&;t t
18719 s&@abs_builddir@&$ac_abs_builddir&;t t
18720 s&@abs_top_builddir@&$ac_abs_top_builddir&;t t
18721 s&@INSTALL@&$ac_INSTALL&;t t
18722 s&@MKDIR_P@&$ac_MKDIR_P&;t t
18723 $ac_datarootdir_hack
18725 eval sed \"\$ac_sed_extra\" "$ac_file_inputs" |
18726 if $ac_cs_awk_getline; then
18727 $AWK -f "$ac_tmp/subs.awk"
18728 else
18729 $AWK -f "$ac_tmp/subs.awk" | $SHELL
18730 fi \
18731 >$ac_tmp/out || as_fn_error $? "could not create $ac_file" "$LINENO" 5
18733 test -z "$ac_datarootdir_hack$ac_datarootdir_seen" &&
18734 { ac_out=`sed -n '/\${datarootdir}/p' "$ac_tmp/out"`; test -n "$ac_out"; } &&
18735 { ac_out=`sed -n '/^[ ]*datarootdir[ ]*:*=/p' \
18736 "$ac_tmp/out"`; test -z "$ac_out"; } &&
18737 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $ac_file contains a reference to the variable \`datarootdir'
18738 which seems to be undefined. Please make sure it is defined" >&5
18739 $as_echo "$as_me: WARNING: $ac_file contains a reference to the variable \`datarootdir'
18740 which seems to be undefined. Please make sure it is defined" >&2;}
18742 rm -f "$ac_tmp/stdin"
18743 case $ac_file in
18744 -) cat "$ac_tmp/out" && rm -f "$ac_tmp/out";;
18745 *) rm -f "$ac_file" && mv "$ac_tmp/out" "$ac_file";;
18746 esac \
18747 || as_fn_error $? "could not create $ac_file" "$LINENO" 5
18751 # CONFIG_HEADER
18753 if test x"$ac_file" != x-; then
18755 $as_echo "/* $configure_input */" \
18756 && eval '$AWK -f "$ac_tmp/defines.awk"' "$ac_file_inputs"
18757 } >"$ac_tmp/config.h" \
18758 || as_fn_error $? "could not create $ac_file" "$LINENO" 5
18759 if diff "$ac_file" "$ac_tmp/config.h" >/dev/null 2>&1; then
18760 { $as_echo "$as_me:${as_lineno-$LINENO}: $ac_file is unchanged" >&5
18761 $as_echo "$as_me: $ac_file is unchanged" >&6;}
18762 else
18763 rm -f "$ac_file"
18764 mv "$ac_tmp/config.h" "$ac_file" \
18765 || as_fn_error $? "could not create $ac_file" "$LINENO" 5
18767 else
18768 $as_echo "/* $configure_input */" \
18769 && eval '$AWK -f "$ac_tmp/defines.awk"' "$ac_file_inputs" \
18770 || as_fn_error $? "could not create -" "$LINENO" 5
18775 # CONFIG_LINK
18778 if test "$ac_source" = "$ac_file" && test "$srcdir" = '.'; then
18780 else
18781 # Prefer the file from the source tree if names are identical.
18782 if test "$ac_source" = "$ac_file" || test ! -r "$ac_source"; then
18783 ac_source=$srcdir/$ac_source
18786 { $as_echo "$as_me:${as_lineno-$LINENO}: linking $ac_source to $ac_file" >&5
18787 $as_echo "$as_me: linking $ac_source to $ac_file" >&6;}
18789 if test ! -r "$ac_source"; then
18790 as_fn_error $? "$ac_source: file not found" "$LINENO" 5
18792 rm -f "$ac_file"
18794 # Try a relative symlink, then a hard link, then a copy.
18795 case $ac_source in
18796 [\\/$]* | ?:[\\/]* ) ac_rel_source=$ac_source ;;
18797 *) ac_rel_source=$ac_top_build_prefix$ac_source ;;
18798 esac
18799 ln -s "$ac_rel_source" "$ac_file" 2>/dev/null ||
18800 ln "$ac_source" "$ac_file" 2>/dev/null ||
18801 cp -p "$ac_source" "$ac_file" ||
18802 as_fn_error $? "cannot link or copy $ac_source to $ac_file" "$LINENO" 5
18805 :C) { $as_echo "$as_me:${as_lineno-$LINENO}: executing $ac_file commands" >&5
18806 $as_echo "$as_me: executing $ac_file commands" >&6;}
18808 esac
18811 case $ac_file$ac_mode in
18812 "include/stamp-h":C) echo timestamp > include/stamp-h ;;
18813 "dlls/gdi32/dibdrv":C) test -d "dlls/gdi32/dibdrv" || { { $as_echo "$as_me:${as_lineno-$LINENO}: creating dlls/gdi32/dibdrv" >&5
18814 $as_echo "$as_me: creating dlls/gdi32/dibdrv" >&6;}; as_dir="dlls/gdi32/dibdrv"; as_fn_mkdir_p; } ;;
18815 "dlls/gdi32/enhmfdrv":C) test -d "dlls/gdi32/enhmfdrv" || { { $as_echo "$as_me:${as_lineno-$LINENO}: creating dlls/gdi32/enhmfdrv" >&5
18816 $as_echo "$as_me: creating dlls/gdi32/enhmfdrv" >&6;}; as_dir="dlls/gdi32/enhmfdrv"; as_fn_mkdir_p; } ;;
18817 "dlls/gdi32/mfdrv":C) test -d "dlls/gdi32/mfdrv" || { { $as_echo "$as_me:${as_lineno-$LINENO}: creating dlls/gdi32/mfdrv" >&5
18818 $as_echo "$as_me: creating dlls/gdi32/mfdrv" >&6;}; as_dir="dlls/gdi32/mfdrv"; as_fn_mkdir_p; } ;;
18819 "dlls/kernel32/nls":C) test -d "dlls/kernel32/nls" || { { $as_echo "$as_me:${as_lineno-$LINENO}: creating dlls/kernel32/nls" >&5
18820 $as_echo "$as_me: creating dlls/kernel32/nls" >&6;}; as_dir="dlls/kernel32/nls"; as_fn_mkdir_p; } ;;
18821 "dlls/user32/resources":C) test -d "dlls/user32/resources" || { { $as_echo "$as_me:${as_lineno-$LINENO}: creating dlls/user32/resources" >&5
18822 $as_echo "$as_me: creating dlls/user32/resources" >&6;}; as_dir="dlls/user32/resources"; as_fn_mkdir_p; } ;;
18823 "dlls/wineps.drv/data":C) test -d "dlls/wineps.drv/data" || { { $as_echo "$as_me:${as_lineno-$LINENO}: creating dlls/wineps.drv/data" >&5
18824 $as_echo "$as_me: creating dlls/wineps.drv/data" >&6;}; as_dir="dlls/wineps.drv/data"; as_fn_mkdir_p; } ;;
18825 "include/wine":C) test -d "include/wine" || { { $as_echo "$as_me:${as_lineno-$LINENO}: creating include/wine" >&5
18826 $as_echo "$as_me: creating include/wine" >&6;}; as_dir="include/wine"; as_fn_mkdir_p; } ;;
18827 "Makefile":C) wine_fn_output_makefile Makefile ;;
18829 esac
18830 done # for ac_tag
18833 as_fn_exit 0
18834 _ACEOF
18835 ac_clean_files=$ac_clean_files_save
18837 test $ac_write_fail = 0 ||
18838 as_fn_error $? "write failure creating $CONFIG_STATUS" "$LINENO" 5
18841 # configure is writing to config.log, and then calls config.status.
18842 # config.status does its own redirection, appending to config.log.
18843 # Unfortunately, on DOS this fails, as config.log is still kept open
18844 # by configure, so config.status won't be able to write to it; its
18845 # output is simply discarded. So we exec the FD to /dev/null,
18846 # effectively closing config.log, so it can be properly (re)opened and
18847 # appended to by config.status. When coming back to configure, we
18848 # need to make the FD available again.
18849 if test "$no_create" != yes; then
18850 ac_cs_success=:
18851 ac_config_status_args=
18852 test "$silent" = yes &&
18853 ac_config_status_args="$ac_config_status_args --quiet"
18854 exec 5>/dev/null
18855 $SHELL $CONFIG_STATUS $ac_config_status_args || ac_cs_success=false
18856 exec 5>>config.log
18857 # Use ||, not &&, to avoid exiting from the if with $? = 1, which
18858 # would make configure fail if this is the last instruction.
18859 $ac_cs_success || as_fn_exit 1
18861 if test -n "$ac_unrecognized_opts" && test "$enable_option_checking" != no; then
18862 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: unrecognized options: $ac_unrecognized_opts" >&5
18863 $as_echo "$as_me: WARNING: unrecognized options: $ac_unrecognized_opts" >&2;}
18867 if test "$no_create" = "yes"
18868 then
18869 exit 0
18872 ac_save_IFS="$IFS"
18873 if test "x$wine_notices != "x; then
18874 echo >&6
18875 IFS="|"
18876 for msg in $wine_notices; do
18877 IFS="$ac_save_IFS"
18878 if test -n "$msg"; then
18879 { $as_echo "$as_me:${as_lineno-$LINENO}: $msg" >&5
18880 $as_echo "$as_me: $msg" >&6;}
18882 done
18884 IFS="|"
18885 for msg in $wine_warnings; do
18886 IFS="$ac_save_IFS"
18887 if test -n "$msg"; then
18888 echo >&2
18889 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $msg" >&5
18890 $as_echo "$as_me: WARNING: $msg" >&2;}
18892 done
18893 IFS="$ac_save_IFS"
18895 $as_echo "
18896 $as_me: Finished. Do '${ac_make}' to compile Wine.
18897 " >&6