configure: Use the standard MKDIR_P macro to create directories.
[wine.git] / configure
blob8c4175d81c7945c110737303ea3bd8b6144f4560
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 EXTRA_BINARIES
635 MAIN_BINARY
636 TOOLSEXT
637 UNWINDFLAGS
638 BUILTINFLAG
639 EXTRACFLAGS
640 LIBPROCSTAT
641 LIBKSTAT
642 LIBOPENAL
643 MPG123_LIBS
644 MPG123_CFLAGS
645 TIFF_LIBS
646 TIFF_CFLAGS
647 PNG_LIBS
648 PNG_CFLAGS
649 JPEG_LIBS
650 JPEG_CFLAGS
651 FONTCONFIGINCL
652 CUPSINCL
653 CAPI20_LIBS
654 CAPI20_CFLAGS
655 OSS4INCL
656 ALSALIBS
657 GSTREAMER_LIBS
658 GSTREAMER_CFLAGS
659 LIBGETTEXTPO
660 ZLIB
661 FREETYPE_LIBS
662 FREETYPE_CFLAGS
663 LCMS2_LIBS
664 LCMS2_CFLAGS
665 RESOLVLIBS
666 GPHOTO2_PORT_LIBS
667 GPHOTO2_PORT_CFLAGS
668 GPHOTO2_LIBS
669 GPHOTO2_CFLAGS
670 SANE_LIBS
671 SANE_CFLAGS
672 GNUTLS_LIBS
673 GNUTLS_CFLAGS
674 HAL_LIBS
675 HAL_CFLAGS
676 DBUS_LIBS
677 DBUS_CFLAGS
678 XSLT_LIBS
679 XSLT_CFLAGS
680 XML2_LIBS
681 XML2_CFLAGS
682 X_EXTRA_LIBS
683 X_LIBS
684 X_PRE_LIBS
685 X_CFLAGS
686 XMKMF
687 LIBPTHREAD
688 CROSSTARGET
689 CROSSCC
690 CROSSTEST_DISABLE
691 PRELINK
692 CARBONLIB
693 QUICKTIMELIB
694 LIBOPENCL
695 FRAMEWORK_OPENAL
696 COREAUDIO
697 SECURITYLIB
698 DISKARBITRATIONLIB
699 LDEXECFLAGS
700 APPKITLIB
701 CORESERVICESLIB
702 APPLICATIONSERVICESLIB
703 FORCEFEEDBACKLIB
704 IOKITLIB
705 COREFOUNDATIONLIB
706 LIBWINE_RULES
707 SOCKETLIBS
708 DLLTOOL
709 READELF
711 LDRPATH_LOCAL
712 LDRPATH_INSTALL
713 IMPLIBEXT
714 DLLFLAGS
715 DLLPREFIX
716 DLLEXT
717 dlldir
719 OPENGL_LIBS
720 XLIB
721 MAINTAINER_MODE
722 PKG_CONFIG
723 MSGFMT
724 ICOTOOL
725 CONVERT
726 RSVG
727 FONTFORGE
728 LINTFLAGS
729 LINT
730 INSTALL_DATA
731 INSTALL_SCRIPT
732 INSTALL_PROGRAM
733 LDCONFIG
734 MKDIR_P
735 EGREP
736 GREP
737 LN_S
738 RANLIB
739 ARFLAGS
740 STRIP
741 ac_ct_AR
743 BISON
744 FLEX
745 TOOLSDIR
746 WOW64_DISABLE
747 TARGETFLAGS
748 CPPBIN
749 ac_ct_CXX
750 CXXFLAGS
752 OBJEXT
753 EXEEXT
754 ac_ct_CC
755 CPPFLAGS
756 LDFLAGS
757 CFLAGS
759 SET_MAKE
760 host_os
761 host_vendor
762 host_cpu
763 host
764 build_os
765 build_vendor
766 build_cpu
767 build
768 target_alias
769 host_alias
770 build_alias
771 LIBS
772 ECHO_T
773 ECHO_N
774 ECHO_C
775 DEFS
776 mandir
777 localedir
778 libdir
779 psdir
780 pdfdir
781 dvidir
782 htmldir
783 infodir
784 docdir
785 oldincludedir
786 includedir
787 localstatedir
788 sharedstatedir
789 sysconfdir
790 datadir
791 datarootdir
792 libexecdir
793 sbindir
794 bindir
795 program_transform_name
796 prefix
797 exec_prefix
798 PACKAGE_URL
799 PACKAGE_BUGREPORT
800 PACKAGE_STRING
801 PACKAGE_VERSION
802 PACKAGE_TARNAME
803 PACKAGE_NAME
804 PATH_SEPARATOR
805 SHELL'
806 ac_subst_files='MAKE_RULES
807 MAKE_TEST_RULES
808 MAKE_DLL_RULES
809 MAKE_IMPLIB_RULES
810 MAKE_PROG_RULES'
811 ac_user_opts='
812 enable_option_checking
813 enable_win16
814 enable_win64
815 enable_tests
816 enable_maintainer_mode
817 with_alsa
818 with_capi
819 with_cms
820 with_coreaudio
821 with_cups
822 with_curses
823 with_dbus
824 with_fontconfig
825 with_freetype
826 with_gettext
827 with_gettextpo
828 with_gphoto
829 with_glu
830 with_gnutls
831 with_gsm
832 with_gstreamer
833 with_hal
834 with_jpeg
835 with_ldap
836 with_mpg123
837 with_openal
838 with_opencl
839 with_opengl
840 with_osmesa
841 with_oss
842 with_png
843 with_pthread
844 with_sane
845 with_tiff
846 with_v4l
847 with_xcomposite
848 with_xcursor
849 with_xinerama
850 with_xinput
851 with_xinput2
852 with_xml
853 with_xrandr
854 with_xrender
855 with_xshape
856 with_xshm
857 with_xslt
858 with_xxf86vm
859 with_zlib
860 with_wine_tools
861 with_wine64
862 enable_largefile
863 with_x
864 enable_acledit
865 enable_aclui
866 enable_activeds
867 enable_actxprxy
868 enable_advapi32
869 enable_advpack
870 enable_amstream
871 enable_api_ms_win_core_localregistry_l1_1_0
872 enable_api_ms_win_core_processthreads_l1_1_0
873 enable_api_ms_win_core_winrt_error_l1_1_0
874 enable_api_ms_win_core_winrt_string_l1_1_0
875 enable_api_ms_win_downlevel_advapi32_l1_1_0
876 enable_api_ms_win_downlevel_advapi32_l2_1_0
877 enable_api_ms_win_downlevel_normaliz_l1_1_0
878 enable_api_ms_win_downlevel_ole32_l1_1_0
879 enable_api_ms_win_downlevel_shell32_l1_1_0
880 enable_api_ms_win_downlevel_shlwapi_l1_1_0
881 enable_api_ms_win_downlevel_shlwapi_l2_1_0
882 enable_api_ms_win_downlevel_user32_l1_1_0
883 enable_api_ms_win_downlevel_version_l1_1_0
884 enable_api_ms_win_security_base_l1_1_0
885 enable_apphelp
886 enable_appwiz_cpl
887 enable_atl
888 enable_atl100
889 enable_atl110
890 enable_atl80
891 enable_authz
892 enable_avicap32
893 enable_avifil32
894 enable_avrt
895 enable_bcrypt
896 enable_browseui
897 enable_cabinet
898 enable_capi2032
899 enable_cards
900 enable_cfgmgr32
901 enable_clusapi
902 enable_comcat
903 enable_comctl32
904 enable_comdlg32
905 enable_compstui
906 enable_comsvcs
907 enable_credui
908 enable_crtdll
909 enable_crypt32
910 enable_cryptdlg
911 enable_cryptdll
912 enable_cryptnet
913 enable_cryptui
914 enable_ctapi32
915 enable_ctl3d32
916 enable_d3d10
917 enable_d3d10core
918 enable_d3d11
919 enable_d3d8
920 enable_d3d9
921 enable_d3dcompiler_33
922 enable_d3dcompiler_34
923 enable_d3dcompiler_35
924 enable_d3dcompiler_36
925 enable_d3dcompiler_37
926 enable_d3dcompiler_38
927 enable_d3dcompiler_39
928 enable_d3dcompiler_40
929 enable_d3dcompiler_41
930 enable_d3dcompiler_42
931 enable_d3dcompiler_43
932 enable_d3dim
933 enable_d3drm
934 enable_d3dx10_33
935 enable_d3dx10_34
936 enable_d3dx10_35
937 enable_d3dx10_36
938 enable_d3dx10_37
939 enable_d3dx10_38
940 enable_d3dx10_39
941 enable_d3dx10_40
942 enable_d3dx10_41
943 enable_d3dx10_42
944 enable_d3dx10_43
945 enable_d3dx11_42
946 enable_d3dx11_43
947 enable_d3dx9_24
948 enable_d3dx9_25
949 enable_d3dx9_26
950 enable_d3dx9_27
951 enable_d3dx9_28
952 enable_d3dx9_29
953 enable_d3dx9_30
954 enable_d3dx9_31
955 enable_d3dx9_32
956 enable_d3dx9_33
957 enable_d3dx9_34
958 enable_d3dx9_35
959 enable_d3dx9_36
960 enable_d3dx9_37
961 enable_d3dx9_38
962 enable_d3dx9_39
963 enable_d3dx9_40
964 enable_d3dx9_41
965 enable_d3dx9_42
966 enable_d3dx9_43
967 enable_d3dxof
968 enable_dbgeng
969 enable_dbghelp
970 enable_dciman32
971 enable_ddraw
972 enable_ddrawex
973 enable_devenum
974 enable_dhcpcsvc
975 enable_difxapi
976 enable_dinput
977 enable_dinput8
978 enable_dispex
979 enable_dmband
980 enable_dmcompos
981 enable_dmime
982 enable_dmloader
983 enable_dmscript
984 enable_dmstyle
985 enable_dmsynth
986 enable_dmusic
987 enable_dmusic32
988 enable_dnsapi
989 enable_dplay
990 enable_dplayx
991 enable_dpnaddr
992 enable_dpnet
993 enable_dpnhpast
994 enable_dpnlobby
995 enable_dpwsockx
996 enable_drmclien
997 enable_dsound
998 enable_dssenh
999 enable_dswave
1000 enable_dwmapi
1001 enable_dwrite
1002 enable_dxdiagn
1003 enable_dxgi
1004 enable_explorerframe
1005 enable_faultrep
1006 enable_fltlib
1007 enable_fusion
1008 enable_fwpuclnt
1009 enable_gameux
1010 enable_gdi32
1011 enable_gdiplus
1012 enable_glu32
1013 enable_gphoto2_ds
1014 enable_gpkcsp
1015 enable_hal
1016 enable_hhctrl_ocx
1017 enable_hid
1018 enable_hlink
1019 enable_hnetcfg
1020 enable_httpapi
1021 enable_iccvid
1022 enable_icmp
1023 enable_ieframe
1024 enable_imaadp32_acm
1025 enable_imagehlp
1026 enable_imm32
1027 enable_inetcomm
1028 enable_inetcpl_cpl
1029 enable_inetmib1
1030 enable_infosoft
1031 enable_initpki
1032 enable_inkobj
1033 enable_inseng
1034 enable_iphlpapi
1035 enable_itircl
1036 enable_itss
1037 enable_joy_cpl
1038 enable_jscript
1039 enable_kernel32
1040 enable_ktmw32
1041 enable_loadperf
1042 enable_localspl
1043 enable_localui
1044 enable_lz32
1045 enable_mapi32
1046 enable_mapistub
1047 enable_mciavi32
1048 enable_mcicda
1049 enable_mciqtz32
1050 enable_mciseq
1051 enable_mciwave
1052 enable_mgmtapi
1053 enable_midimap
1054 enable_mlang
1055 enable_mmcndmgr
1056 enable_mmdevapi
1057 enable_mountmgr_sys
1058 enable_mpr
1059 enable_mprapi
1060 enable_msacm32_drv
1061 enable_msacm32
1062 enable_msadp32_acm
1063 enable_mscat32
1064 enable_mscms
1065 enable_mscoree
1066 enable_msctf
1067 enable_msdaps
1068 enable_msdmo
1069 enable_msftedit
1070 enable_msg711_acm
1071 enable_msgsm32_acm
1072 enable_mshtml_tlb
1073 enable_mshtml
1074 enable_msi
1075 enable_msident
1076 enable_msimg32
1077 enable_msimsg
1078 enable_msimtf
1079 enable_msisip
1080 enable_msisys_ocx
1081 enable_msls31
1082 enable_msnet32
1083 enable_mspatcha
1084 enable_msrle32
1085 enable_mssign32
1086 enable_mssip32
1087 enable_mstask
1088 enable_msvcirt
1089 enable_msvcm80
1090 enable_msvcm90
1091 enable_msvcp100
1092 enable_msvcp110
1093 enable_msvcp60
1094 enable_msvcp70
1095 enable_msvcp71
1096 enable_msvcp80
1097 enable_msvcp90
1098 enable_msvcr100
1099 enable_msvcr110
1100 enable_msvcr70
1101 enable_msvcr71
1102 enable_msvcr80
1103 enable_msvcr90
1104 enable_msvcrt
1105 enable_msvcrt20
1106 enable_msvcrt40
1107 enable_msvcrtd
1108 enable_msvfw32
1109 enable_msvidc32
1110 enable_mswsock
1111 enable_msxml
1112 enable_msxml2
1113 enable_msxml3
1114 enable_msxml4
1115 enable_msxml6
1116 enable_nddeapi
1117 enable_netapi32
1118 enable_netcfgx
1119 enable_newdev
1120 enable_normaliz
1121 enable_npmshtml
1122 enable_ntdll
1123 enable_ntdsapi
1124 enable_ntoskrnl_exe
1125 enable_ntprint
1126 enable_objsel
1127 enable_odbc32
1128 enable_odbccp32
1129 enable_odbccu32
1130 enable_ole32
1131 enable_oleacc
1132 enable_oleaut32
1133 enable_olecli32
1134 enable_oledb32
1135 enable_oledlg
1136 enable_olepro32
1137 enable_olesvr32
1138 enable_olethk32
1139 enable_openal32
1140 enable_opencl
1141 enable_opengl32
1142 enable_pdh
1143 enable_photometadatahandler
1144 enable_pidgen
1145 enable_powrprof
1146 enable_printui
1147 enable_propsys
1148 enable_psapi
1149 enable_pstorec
1150 enable_qcap
1151 enable_qedit
1152 enable_qmgr
1153 enable_qmgrprxy
1154 enable_quartz
1155 enable_query
1156 enable_rasapi32
1157 enable_rasdlg
1158 enable_regapi
1159 enable_resutils
1160 enable_riched20
1161 enable_riched32
1162 enable_rpcrt4
1163 enable_rsabase
1164 enable_rsaenh
1165 enable_rstrtmgr
1166 enable_rtutils
1167 enable_samlib
1168 enable_sane_ds
1169 enable_scarddlg
1170 enable_sccbase
1171 enable_schannel
1172 enable_scrrun
1173 enable_scsiport_sys
1174 enable_secur32
1175 enable_security
1176 enable_sensapi
1177 enable_serialui
1178 enable_setupapi
1179 enable_sfc
1180 enable_sfc_os
1181 enable_shdoclc
1182 enable_shdocvw
1183 enable_shell32
1184 enable_shfolder
1185 enable_shlwapi
1186 enable_slbcsp
1187 enable_slc
1188 enable_snmpapi
1189 enable_softpub
1190 enable_spoolss
1191 enable_stdole2_tlb
1192 enable_stdole32_tlb
1193 enable_sti
1194 enable_svrapi
1195 enable_sxs
1196 enable_t2embed
1197 enable_tapi32
1198 enable_traffic
1199 enable_twain_32
1200 enable_unicows
1201 enable_updspapi
1202 enable_url
1203 enable_urlmon
1204 enable_usbd_sys
1205 enable_user32
1206 enable_userenv
1207 enable_usp10
1208 enable_uxtheme
1209 enable_vbscript
1210 enable_vcomp
1211 enable_vcomp100
1212 enable_vcomp90
1213 enable_vdmdbg
1214 enable_version
1215 enable_wbemdisp
1216 enable_wbemprox
1217 enable_webservices
1218 enable_wer
1219 enable_wevtapi
1220 enable_wiaservc
1221 enable_windowscodecs
1222 enable_windowscodecsext
1223 enable_winealsa_drv
1224 enable_winecoreaudio_drv
1225 enable_wined3d
1226 enable_winegstreamer
1227 enable_winejoystick_drv
1228 enable_winemac_drv
1229 enable_winemapi
1230 enable_winemp3_acm
1231 enable_wineoss_drv
1232 enable_wineps_drv
1233 enable_wineqtdecoder
1234 enable_winex11_drv
1235 enable_wing32
1236 enable_winhttp
1237 enable_wininet
1238 enable_winmm
1239 enable_winnls32
1240 enable_winscard
1241 enable_winspool_drv
1242 enable_winsta
1243 enable_wintab32
1244 enable_wintrust
1245 enable_wlanapi
1246 enable_wldap32
1247 enable_wmi
1248 enable_wmiutils
1249 enable_wmvcore
1250 enable_wnaspi32
1251 enable_ws2_32
1252 enable_wshom_ocx
1253 enable_wsnmp32
1254 enable_wsock32
1255 enable_wtsapi32
1256 enable_wuapi
1257 enable_wuaueng
1258 enable_xapofx1_1
1259 enable_xinput1_1
1260 enable_xinput1_2
1261 enable_xinput1_3
1262 enable_xinput1_4
1263 enable_xinput9_1_0
1264 enable_xmllite
1265 enable_xolehlp
1266 enable_xpsprint
1267 enable_xpssvcs
1268 enable_documentation
1269 enable_fonts
1270 enable_include
1271 enable_libs_port
1272 enable_libs_wine
1273 enable_libs_wpp
1274 enable_loader
1275 enable_aspnet_regiis
1276 enable_attrib
1277 enable_cabarc
1278 enable_cacls
1279 enable_clock
1280 enable_cmd
1281 enable_conhost
1282 enable_control
1283 enable_cscript
1284 enable_dxdiag
1285 enable_eject
1286 enable_expand
1287 enable_explorer
1288 enable_extrac32
1289 enable_findstr
1290 enable_hh
1291 enable_hostname
1292 enable_icinfo
1293 enable_iexplore
1294 enable_ipconfig
1295 enable_lodctr
1296 enable_mofcomp
1297 enable_mshta
1298 enable_msiexec
1299 enable_net
1300 enable_netsh
1301 enable_netstat
1302 enable_ngen
1303 enable_notepad
1304 enable_oleview
1305 enable_ping
1306 enable_plugplay
1307 enable_presentationfontcache
1308 enable_progman
1309 enable_reg
1310 enable_regasm
1311 enable_regedit
1312 enable_regsvcs
1313 enable_regsvr32
1314 enable_rpcss
1315 enable_rundll32
1316 enable_sc
1317 enable_schtasks
1318 enable_secedit
1319 enable_servicemodelreg
1320 enable_services
1321 enable_spoolsv
1322 enable_start
1323 enable_svchost
1324 enable_taskkill
1325 enable_tasklist
1326 enable_taskmgr
1327 enable_termsv
1328 enable_uninstaller
1329 enable_unlodctr
1330 enable_view
1331 enable_wineboot
1332 enable_winebrowser
1333 enable_winecfg
1334 enable_wineconsole
1335 enable_winedbg
1336 enable_winedevice
1337 enable_winefile
1338 enable_winemenubuilder
1339 enable_winemine
1340 enable_winemsibuilder
1341 enable_winepath
1342 enable_winetest
1343 enable_winhlp32
1344 enable_winver
1345 enable_wmic
1346 enable_wordpad
1347 enable_write
1348 enable_wscript
1349 enable_wusa
1350 enable_xcopy
1351 enable_server
1352 enable_tools
1354 ac_precious_vars='build_alias
1355 host_alias
1356 target_alias
1358 CFLAGS
1359 LDFLAGS
1360 LIBS
1361 CPPFLAGS
1363 CXXFLAGS
1366 XMKMF
1367 XML2_CFLAGS
1368 XML2_LIBS
1369 XSLT_CFLAGS
1370 XSLT_LIBS
1371 DBUS_CFLAGS
1372 DBUS_LIBS
1373 HAL_CFLAGS
1374 HAL_LIBS
1375 GNUTLS_CFLAGS
1376 GNUTLS_LIBS
1377 SANE_CFLAGS
1378 SANE_LIBS
1379 GPHOTO2_CFLAGS
1380 GPHOTO2_LIBS
1381 GPHOTO2_PORT_CFLAGS
1382 GPHOTO2_PORT_LIBS
1383 LCMS2_CFLAGS
1384 LCMS2_LIBS
1385 FREETYPE_CFLAGS
1386 FREETYPE_LIBS
1387 GSTREAMER_CFLAGS
1388 GSTREAMER_LIBS
1389 CAPI20_CFLAGS
1390 CAPI20_LIBS
1391 JPEG_CFLAGS
1392 JPEG_LIBS
1393 PNG_CFLAGS
1394 PNG_LIBS
1395 TIFF_CFLAGS
1396 TIFF_LIBS
1397 MPG123_CFLAGS
1398 MPG123_LIBS'
1401 # Initialize some variables set by options.
1402 ac_init_help=
1403 ac_init_version=false
1404 ac_unrecognized_opts=
1405 ac_unrecognized_sep=
1406 # The variables have the same names as the options, with
1407 # dashes changed to underlines.
1408 cache_file=/dev/null
1409 exec_prefix=NONE
1410 no_create=
1411 no_recursion=
1412 prefix=NONE
1413 program_prefix=NONE
1414 program_suffix=NONE
1415 program_transform_name=s,x,x,
1416 silent=
1417 site=
1418 srcdir=
1419 verbose=
1420 x_includes=NONE
1421 x_libraries=NONE
1423 # Installation directory options.
1424 # These are left unexpanded so users can "make install exec_prefix=/foo"
1425 # and all the variables that are supposed to be based on exec_prefix
1426 # by default will actually change.
1427 # Use braces instead of parens because sh, perl, etc. also accept them.
1428 # (The list follows the same order as the GNU Coding Standards.)
1429 bindir='${exec_prefix}/bin'
1430 sbindir='${exec_prefix}/sbin'
1431 libexecdir='${exec_prefix}/libexec'
1432 datarootdir='${prefix}/share'
1433 datadir='${datarootdir}'
1434 sysconfdir='${prefix}/etc'
1435 sharedstatedir='${prefix}/com'
1436 localstatedir='${prefix}/var'
1437 includedir='${prefix}/include'
1438 oldincludedir='/usr/include'
1439 docdir='${datarootdir}/doc/${PACKAGE_TARNAME}'
1440 infodir='${datarootdir}/info'
1441 htmldir='${docdir}'
1442 dvidir='${docdir}'
1443 pdfdir='${docdir}'
1444 psdir='${docdir}'
1445 libdir='${exec_prefix}/lib'
1446 localedir='${datarootdir}/locale'
1447 mandir='${datarootdir}/man'
1449 ac_prev=
1450 ac_dashdash=
1451 for ac_option
1453 # If the previous option needs an argument, assign it.
1454 if test -n "$ac_prev"; then
1455 eval $ac_prev=\$ac_option
1456 ac_prev=
1457 continue
1460 case $ac_option in
1461 *=?*) ac_optarg=`expr "X$ac_option" : '[^=]*=\(.*\)'` ;;
1462 *=) ac_optarg= ;;
1463 *) ac_optarg=yes ;;
1464 esac
1466 # Accept the important Cygnus configure options, so we can diagnose typos.
1468 case $ac_dashdash$ac_option in
1470 ac_dashdash=yes ;;
1472 -bindir | --bindir | --bindi | --bind | --bin | --bi)
1473 ac_prev=bindir ;;
1474 -bindir=* | --bindir=* | --bindi=* | --bind=* | --bin=* | --bi=*)
1475 bindir=$ac_optarg ;;
1477 -build | --build | --buil | --bui | --bu)
1478 ac_prev=build_alias ;;
1479 -build=* | --build=* | --buil=* | --bui=* | --bu=*)
1480 build_alias=$ac_optarg ;;
1482 -cache-file | --cache-file | --cache-fil | --cache-fi \
1483 | --cache-f | --cache- | --cache | --cach | --cac | --ca | --c)
1484 ac_prev=cache_file ;;
1485 -cache-file=* | --cache-file=* | --cache-fil=* | --cache-fi=* \
1486 | --cache-f=* | --cache-=* | --cache=* | --cach=* | --cac=* | --ca=* | --c=*)
1487 cache_file=$ac_optarg ;;
1489 --config-cache | -C)
1490 cache_file=config.cache ;;
1492 -datadir | --datadir | --datadi | --datad)
1493 ac_prev=datadir ;;
1494 -datadir=* | --datadir=* | --datadi=* | --datad=*)
1495 datadir=$ac_optarg ;;
1497 -datarootdir | --datarootdir | --datarootdi | --datarootd | --dataroot \
1498 | --dataroo | --dataro | --datar)
1499 ac_prev=datarootdir ;;
1500 -datarootdir=* | --datarootdir=* | --datarootdi=* | --datarootd=* \
1501 | --dataroot=* | --dataroo=* | --dataro=* | --datar=*)
1502 datarootdir=$ac_optarg ;;
1504 -disable-* | --disable-*)
1505 ac_useropt=`expr "x$ac_option" : 'x-*disable-\(.*\)'`
1506 # Reject names that are not valid shell variable names.
1507 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
1508 as_fn_error $? "invalid feature name: $ac_useropt"
1509 ac_useropt_orig=$ac_useropt
1510 ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
1511 case $ac_user_opts in
1513 "enable_$ac_useropt"
1514 "*) ;;
1515 *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--disable-$ac_useropt_orig"
1516 ac_unrecognized_sep=', ';;
1517 esac
1518 eval enable_$ac_useropt=no ;;
1520 -docdir | --docdir | --docdi | --doc | --do)
1521 ac_prev=docdir ;;
1522 -docdir=* | --docdir=* | --docdi=* | --doc=* | --do=*)
1523 docdir=$ac_optarg ;;
1525 -dvidir | --dvidir | --dvidi | --dvid | --dvi | --dv)
1526 ac_prev=dvidir ;;
1527 -dvidir=* | --dvidir=* | --dvidi=* | --dvid=* | --dvi=* | --dv=*)
1528 dvidir=$ac_optarg ;;
1530 -enable-* | --enable-*)
1531 ac_useropt=`expr "x$ac_option" : 'x-*enable-\([^=]*\)'`
1532 # Reject names that are not valid shell variable names.
1533 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
1534 as_fn_error $? "invalid feature name: $ac_useropt"
1535 ac_useropt_orig=$ac_useropt
1536 ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
1537 case $ac_user_opts in
1539 "enable_$ac_useropt"
1540 "*) ;;
1541 *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--enable-$ac_useropt_orig"
1542 ac_unrecognized_sep=', ';;
1543 esac
1544 eval enable_$ac_useropt=\$ac_optarg ;;
1546 -exec-prefix | --exec_prefix | --exec-prefix | --exec-prefi \
1547 | --exec-pref | --exec-pre | --exec-pr | --exec-p | --exec- \
1548 | --exec | --exe | --ex)
1549 ac_prev=exec_prefix ;;
1550 -exec-prefix=* | --exec_prefix=* | --exec-prefix=* | --exec-prefi=* \
1551 | --exec-pref=* | --exec-pre=* | --exec-pr=* | --exec-p=* | --exec-=* \
1552 | --exec=* | --exe=* | --ex=*)
1553 exec_prefix=$ac_optarg ;;
1555 -gas | --gas | --ga | --g)
1556 # Obsolete; use --with-gas.
1557 with_gas=yes ;;
1559 -help | --help | --hel | --he | -h)
1560 ac_init_help=long ;;
1561 -help=r* | --help=r* | --hel=r* | --he=r* | -hr*)
1562 ac_init_help=recursive ;;
1563 -help=s* | --help=s* | --hel=s* | --he=s* | -hs*)
1564 ac_init_help=short ;;
1566 -host | --host | --hos | --ho)
1567 ac_prev=host_alias ;;
1568 -host=* | --host=* | --hos=* | --ho=*)
1569 host_alias=$ac_optarg ;;
1571 -htmldir | --htmldir | --htmldi | --htmld | --html | --htm | --ht)
1572 ac_prev=htmldir ;;
1573 -htmldir=* | --htmldir=* | --htmldi=* | --htmld=* | --html=* | --htm=* \
1574 | --ht=*)
1575 htmldir=$ac_optarg ;;
1577 -includedir | --includedir | --includedi | --included | --include \
1578 | --includ | --inclu | --incl | --inc)
1579 ac_prev=includedir ;;
1580 -includedir=* | --includedir=* | --includedi=* | --included=* | --include=* \
1581 | --includ=* | --inclu=* | --incl=* | --inc=*)
1582 includedir=$ac_optarg ;;
1584 -infodir | --infodir | --infodi | --infod | --info | --inf)
1585 ac_prev=infodir ;;
1586 -infodir=* | --infodir=* | --infodi=* | --infod=* | --info=* | --inf=*)
1587 infodir=$ac_optarg ;;
1589 -libdir | --libdir | --libdi | --libd)
1590 ac_prev=libdir ;;
1591 -libdir=* | --libdir=* | --libdi=* | --libd=*)
1592 libdir=$ac_optarg ;;
1594 -libexecdir | --libexecdir | --libexecdi | --libexecd | --libexec \
1595 | --libexe | --libex | --libe)
1596 ac_prev=libexecdir ;;
1597 -libexecdir=* | --libexecdir=* | --libexecdi=* | --libexecd=* | --libexec=* \
1598 | --libexe=* | --libex=* | --libe=*)
1599 libexecdir=$ac_optarg ;;
1601 -localedir | --localedir | --localedi | --localed | --locale)
1602 ac_prev=localedir ;;
1603 -localedir=* | --localedir=* | --localedi=* | --localed=* | --locale=*)
1604 localedir=$ac_optarg ;;
1606 -localstatedir | --localstatedir | --localstatedi | --localstated \
1607 | --localstate | --localstat | --localsta | --localst | --locals)
1608 ac_prev=localstatedir ;;
1609 -localstatedir=* | --localstatedir=* | --localstatedi=* | --localstated=* \
1610 | --localstate=* | --localstat=* | --localsta=* | --localst=* | --locals=*)
1611 localstatedir=$ac_optarg ;;
1613 -mandir | --mandir | --mandi | --mand | --man | --ma | --m)
1614 ac_prev=mandir ;;
1615 -mandir=* | --mandir=* | --mandi=* | --mand=* | --man=* | --ma=* | --m=*)
1616 mandir=$ac_optarg ;;
1618 -nfp | --nfp | --nf)
1619 # Obsolete; use --without-fp.
1620 with_fp=no ;;
1622 -no-create | --no-create | --no-creat | --no-crea | --no-cre \
1623 | --no-cr | --no-c | -n)
1624 no_create=yes ;;
1626 -no-recursion | --no-recursion | --no-recursio | --no-recursi \
1627 | --no-recurs | --no-recur | --no-recu | --no-rec | --no-re | --no-r)
1628 no_recursion=yes ;;
1630 -oldincludedir | --oldincludedir | --oldincludedi | --oldincluded \
1631 | --oldinclude | --oldinclud | --oldinclu | --oldincl | --oldinc \
1632 | --oldin | --oldi | --old | --ol | --o)
1633 ac_prev=oldincludedir ;;
1634 -oldincludedir=* | --oldincludedir=* | --oldincludedi=* | --oldincluded=* \
1635 | --oldinclude=* | --oldinclud=* | --oldinclu=* | --oldincl=* | --oldinc=* \
1636 | --oldin=* | --oldi=* | --old=* | --ol=* | --o=*)
1637 oldincludedir=$ac_optarg ;;
1639 -prefix | --prefix | --prefi | --pref | --pre | --pr | --p)
1640 ac_prev=prefix ;;
1641 -prefix=* | --prefix=* | --prefi=* | --pref=* | --pre=* | --pr=* | --p=*)
1642 prefix=$ac_optarg ;;
1644 -program-prefix | --program-prefix | --program-prefi | --program-pref \
1645 | --program-pre | --program-pr | --program-p)
1646 ac_prev=program_prefix ;;
1647 -program-prefix=* | --program-prefix=* | --program-prefi=* \
1648 | --program-pref=* | --program-pre=* | --program-pr=* | --program-p=*)
1649 program_prefix=$ac_optarg ;;
1651 -program-suffix | --program-suffix | --program-suffi | --program-suff \
1652 | --program-suf | --program-su | --program-s)
1653 ac_prev=program_suffix ;;
1654 -program-suffix=* | --program-suffix=* | --program-suffi=* \
1655 | --program-suff=* | --program-suf=* | --program-su=* | --program-s=*)
1656 program_suffix=$ac_optarg ;;
1658 -program-transform-name | --program-transform-name \
1659 | --program-transform-nam | --program-transform-na \
1660 | --program-transform-n | --program-transform- \
1661 | --program-transform | --program-transfor \
1662 | --program-transfo | --program-transf \
1663 | --program-trans | --program-tran \
1664 | --progr-tra | --program-tr | --program-t)
1665 ac_prev=program_transform_name ;;
1666 -program-transform-name=* | --program-transform-name=* \
1667 | --program-transform-nam=* | --program-transform-na=* \
1668 | --program-transform-n=* | --program-transform-=* \
1669 | --program-transform=* | --program-transfor=* \
1670 | --program-transfo=* | --program-transf=* \
1671 | --program-trans=* | --program-tran=* \
1672 | --progr-tra=* | --program-tr=* | --program-t=*)
1673 program_transform_name=$ac_optarg ;;
1675 -pdfdir | --pdfdir | --pdfdi | --pdfd | --pdf | --pd)
1676 ac_prev=pdfdir ;;
1677 -pdfdir=* | --pdfdir=* | --pdfdi=* | --pdfd=* | --pdf=* | --pd=*)
1678 pdfdir=$ac_optarg ;;
1680 -psdir | --psdir | --psdi | --psd | --ps)
1681 ac_prev=psdir ;;
1682 -psdir=* | --psdir=* | --psdi=* | --psd=* | --ps=*)
1683 psdir=$ac_optarg ;;
1685 -q | -quiet | --quiet | --quie | --qui | --qu | --q \
1686 | -silent | --silent | --silen | --sile | --sil)
1687 silent=yes ;;
1689 -sbindir | --sbindir | --sbindi | --sbind | --sbin | --sbi | --sb)
1690 ac_prev=sbindir ;;
1691 -sbindir=* | --sbindir=* | --sbindi=* | --sbind=* | --sbin=* \
1692 | --sbi=* | --sb=*)
1693 sbindir=$ac_optarg ;;
1695 -sharedstatedir | --sharedstatedir | --sharedstatedi \
1696 | --sharedstated | --sharedstate | --sharedstat | --sharedsta \
1697 | --sharedst | --shareds | --shared | --share | --shar \
1698 | --sha | --sh)
1699 ac_prev=sharedstatedir ;;
1700 -sharedstatedir=* | --sharedstatedir=* | --sharedstatedi=* \
1701 | --sharedstated=* | --sharedstate=* | --sharedstat=* | --sharedsta=* \
1702 | --sharedst=* | --shareds=* | --shared=* | --share=* | --shar=* \
1703 | --sha=* | --sh=*)
1704 sharedstatedir=$ac_optarg ;;
1706 -site | --site | --sit)
1707 ac_prev=site ;;
1708 -site=* | --site=* | --sit=*)
1709 site=$ac_optarg ;;
1711 -srcdir | --srcdir | --srcdi | --srcd | --src | --sr)
1712 ac_prev=srcdir ;;
1713 -srcdir=* | --srcdir=* | --srcdi=* | --srcd=* | --src=* | --sr=*)
1714 srcdir=$ac_optarg ;;
1716 -sysconfdir | --sysconfdir | --sysconfdi | --sysconfd | --sysconf \
1717 | --syscon | --sysco | --sysc | --sys | --sy)
1718 ac_prev=sysconfdir ;;
1719 -sysconfdir=* | --sysconfdir=* | --sysconfdi=* | --sysconfd=* | --sysconf=* \
1720 | --syscon=* | --sysco=* | --sysc=* | --sys=* | --sy=*)
1721 sysconfdir=$ac_optarg ;;
1723 -target | --target | --targe | --targ | --tar | --ta | --t)
1724 ac_prev=target_alias ;;
1725 -target=* | --target=* | --targe=* | --targ=* | --tar=* | --ta=* | --t=*)
1726 target_alias=$ac_optarg ;;
1728 -v | -verbose | --verbose | --verbos | --verbo | --verb)
1729 verbose=yes ;;
1731 -version | --version | --versio | --versi | --vers | -V)
1732 ac_init_version=: ;;
1734 -with-* | --with-*)
1735 ac_useropt=`expr "x$ac_option" : 'x-*with-\([^=]*\)'`
1736 # Reject names that are not valid shell variable names.
1737 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
1738 as_fn_error $? "invalid package name: $ac_useropt"
1739 ac_useropt_orig=$ac_useropt
1740 ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
1741 case $ac_user_opts in
1743 "with_$ac_useropt"
1744 "*) ;;
1745 *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--with-$ac_useropt_orig"
1746 ac_unrecognized_sep=', ';;
1747 esac
1748 eval with_$ac_useropt=\$ac_optarg ;;
1750 -without-* | --without-*)
1751 ac_useropt=`expr "x$ac_option" : 'x-*without-\(.*\)'`
1752 # Reject names that are not valid shell variable names.
1753 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
1754 as_fn_error $? "invalid package name: $ac_useropt"
1755 ac_useropt_orig=$ac_useropt
1756 ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
1757 case $ac_user_opts in
1759 "with_$ac_useropt"
1760 "*) ;;
1761 *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--without-$ac_useropt_orig"
1762 ac_unrecognized_sep=', ';;
1763 esac
1764 eval with_$ac_useropt=no ;;
1766 --x)
1767 # Obsolete; use --with-x.
1768 with_x=yes ;;
1770 -x-includes | --x-includes | --x-include | --x-includ | --x-inclu \
1771 | --x-incl | --x-inc | --x-in | --x-i)
1772 ac_prev=x_includes ;;
1773 -x-includes=* | --x-includes=* | --x-include=* | --x-includ=* | --x-inclu=* \
1774 | --x-incl=* | --x-inc=* | --x-in=* | --x-i=*)
1775 x_includes=$ac_optarg ;;
1777 -x-libraries | --x-libraries | --x-librarie | --x-librari \
1778 | --x-librar | --x-libra | --x-libr | --x-lib | --x-li | --x-l)
1779 ac_prev=x_libraries ;;
1780 -x-libraries=* | --x-libraries=* | --x-librarie=* | --x-librari=* \
1781 | --x-librar=* | --x-libra=* | --x-libr=* | --x-lib=* | --x-li=* | --x-l=*)
1782 x_libraries=$ac_optarg ;;
1784 -*) as_fn_error $? "unrecognized option: \`$ac_option'
1785 Try \`$0 --help' for more information"
1788 *=*)
1789 ac_envvar=`expr "x$ac_option" : 'x\([^=]*\)='`
1790 # Reject names that are not valid shell variable names.
1791 case $ac_envvar in #(
1792 '' | [0-9]* | *[!_$as_cr_alnum]* )
1793 as_fn_error $? "invalid variable name: \`$ac_envvar'" ;;
1794 esac
1795 eval $ac_envvar=\$ac_optarg
1796 export $ac_envvar ;;
1799 # FIXME: should be removed in autoconf 3.0.
1800 $as_echo "$as_me: WARNING: you should use --build, --host, --target" >&2
1801 expr "x$ac_option" : ".*[^-._$as_cr_alnum]" >/dev/null &&
1802 $as_echo "$as_me: WARNING: invalid host type: $ac_option" >&2
1803 : "${build_alias=$ac_option} ${host_alias=$ac_option} ${target_alias=$ac_option}"
1806 esac
1807 done
1809 if test -n "$ac_prev"; then
1810 ac_option=--`echo $ac_prev | sed 's/_/-/g'`
1811 as_fn_error $? "missing argument to $ac_option"
1814 if test -n "$ac_unrecognized_opts"; then
1815 case $enable_option_checking in
1816 no) ;;
1817 fatal) as_fn_error $? "unrecognized options: $ac_unrecognized_opts" ;;
1818 *) $as_echo "$as_me: WARNING: unrecognized options: $ac_unrecognized_opts" >&2 ;;
1819 esac
1822 # Check all directory arguments for consistency.
1823 for ac_var in exec_prefix prefix bindir sbindir libexecdir datarootdir \
1824 datadir sysconfdir sharedstatedir localstatedir includedir \
1825 oldincludedir docdir infodir htmldir dvidir pdfdir psdir \
1826 libdir localedir mandir
1828 eval ac_val=\$$ac_var
1829 # Remove trailing slashes.
1830 case $ac_val in
1831 */ )
1832 ac_val=`expr "X$ac_val" : 'X\(.*[^/]\)' \| "X$ac_val" : 'X\(.*\)'`
1833 eval $ac_var=\$ac_val;;
1834 esac
1835 # Be sure to have absolute directory names.
1836 case $ac_val in
1837 [\\/$]* | ?:[\\/]* ) continue;;
1838 NONE | '' ) case $ac_var in *prefix ) continue;; esac;;
1839 esac
1840 as_fn_error $? "expected an absolute directory name for --$ac_var: $ac_val"
1841 done
1843 # There might be people who depend on the old broken behavior: `$host'
1844 # used to hold the argument of --host etc.
1845 # FIXME: To remove some day.
1846 build=$build_alias
1847 host=$host_alias
1848 target=$target_alias
1850 # FIXME: To remove some day.
1851 if test "x$host_alias" != x; then
1852 if test "x$build_alias" = x; then
1853 cross_compiling=maybe
1854 elif test "x$build_alias" != "x$host_alias"; then
1855 cross_compiling=yes
1859 ac_tool_prefix=
1860 test -n "$host_alias" && ac_tool_prefix=$host_alias-
1862 test "$silent" = yes && exec 6>/dev/null
1865 ac_pwd=`pwd` && test -n "$ac_pwd" &&
1866 ac_ls_di=`ls -di .` &&
1867 ac_pwd_ls_di=`cd "$ac_pwd" && ls -di .` ||
1868 as_fn_error $? "working directory cannot be determined"
1869 test "X$ac_ls_di" = "X$ac_pwd_ls_di" ||
1870 as_fn_error $? "pwd does not report name of working directory"
1873 # Find the source files, if location was not specified.
1874 if test -z "$srcdir"; then
1875 ac_srcdir_defaulted=yes
1876 # Try the directory containing this script, then the parent directory.
1877 ac_confdir=`$as_dirname -- "$as_myself" ||
1878 $as_expr X"$as_myself" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
1879 X"$as_myself" : 'X\(//\)[^/]' \| \
1880 X"$as_myself" : 'X\(//\)$' \| \
1881 X"$as_myself" : 'X\(/\)' \| . 2>/dev/null ||
1882 $as_echo X"$as_myself" |
1883 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
1884 s//\1/
1887 /^X\(\/\/\)[^/].*/{
1888 s//\1/
1891 /^X\(\/\/\)$/{
1892 s//\1/
1895 /^X\(\/\).*/{
1896 s//\1/
1899 s/.*/./; q'`
1900 srcdir=$ac_confdir
1901 if test ! -r "$srcdir/$ac_unique_file"; then
1902 srcdir=..
1904 else
1905 ac_srcdir_defaulted=no
1907 if test ! -r "$srcdir/$ac_unique_file"; then
1908 test "$ac_srcdir_defaulted" = yes && srcdir="$ac_confdir or .."
1909 as_fn_error $? "cannot find sources ($ac_unique_file) in $srcdir"
1911 ac_msg="sources are in $srcdir, but \`cd $srcdir' does not work"
1912 ac_abs_confdir=`(
1913 cd "$srcdir" && test -r "./$ac_unique_file" || as_fn_error $? "$ac_msg"
1914 pwd)`
1915 # When building in place, set srcdir=.
1916 if test "$ac_abs_confdir" = "$ac_pwd"; then
1917 srcdir=.
1919 # Remove unnecessary trailing slashes from srcdir.
1920 # Double slashes in file names in object file debugging info
1921 # mess up M-x gdb in Emacs.
1922 case $srcdir in
1923 */) srcdir=`expr "X$srcdir" : 'X\(.*[^/]\)' \| "X$srcdir" : 'X\(.*\)'`;;
1924 esac
1925 for ac_var in $ac_precious_vars; do
1926 eval ac_env_${ac_var}_set=\${${ac_var}+set}
1927 eval ac_env_${ac_var}_value=\$${ac_var}
1928 eval ac_cv_env_${ac_var}_set=\${${ac_var}+set}
1929 eval ac_cv_env_${ac_var}_value=\$${ac_var}
1930 done
1933 # Report the --help message.
1935 if test "$ac_init_help" = "long"; then
1936 # Omit some internal or obsolete options to make the list less imposing.
1937 # This message is too long to be a string in the A/UX 3.1 sh.
1938 cat <<_ACEOF
1939 \`configure' configures Wine 1.7.3 to adapt to many kinds of systems.
1941 Usage: $0 [OPTION]... [VAR=VALUE]...
1943 To assign environment variables (e.g., CC, CFLAGS...), specify them as
1944 VAR=VALUE. See below for descriptions of some of the useful variables.
1946 Defaults for the options are specified in brackets.
1948 Configuration:
1949 -h, --help display this help and exit
1950 --help=short display options specific to this package
1951 --help=recursive display the short help of all the included packages
1952 -V, --version display version information and exit
1953 -q, --quiet, --silent do not print \`checking ...' messages
1954 --cache-file=FILE cache test results in FILE [disabled]
1955 -C, --config-cache alias for \`--cache-file=config.cache'
1956 -n, --no-create do not create output files
1957 --srcdir=DIR find the sources in DIR [configure dir or \`..']
1959 Installation directories:
1960 --prefix=PREFIX install architecture-independent files in PREFIX
1961 [$ac_default_prefix]
1962 --exec-prefix=EPREFIX install architecture-dependent files in EPREFIX
1963 [PREFIX]
1965 By default, \`make install' will install all the files in
1966 \`$ac_default_prefix/bin', \`$ac_default_prefix/lib' etc. You can specify
1967 an installation prefix other than \`$ac_default_prefix' using \`--prefix',
1968 for instance \`--prefix=\$HOME'.
1970 For better control, use the options below.
1972 Fine tuning of the installation directories:
1973 --bindir=DIR user executables [EPREFIX/bin]
1974 --sbindir=DIR system admin executables [EPREFIX/sbin]
1975 --libexecdir=DIR program executables [EPREFIX/libexec]
1976 --sysconfdir=DIR read-only single-machine data [PREFIX/etc]
1977 --sharedstatedir=DIR modifiable architecture-independent data [PREFIX/com]
1978 --localstatedir=DIR modifiable single-machine data [PREFIX/var]
1979 --libdir=DIR object code libraries [EPREFIX/lib]
1980 --includedir=DIR C header files [PREFIX/include]
1981 --oldincludedir=DIR C header files for non-gcc [/usr/include]
1982 --datarootdir=DIR read-only arch.-independent data root [PREFIX/share]
1983 --datadir=DIR read-only architecture-independent data [DATAROOTDIR]
1984 --infodir=DIR info documentation [DATAROOTDIR/info]
1985 --localedir=DIR locale-dependent data [DATAROOTDIR/locale]
1986 --mandir=DIR man documentation [DATAROOTDIR/man]
1987 --docdir=DIR documentation root [DATAROOTDIR/doc/wine]
1988 --htmldir=DIR html documentation [DOCDIR]
1989 --dvidir=DIR dvi documentation [DOCDIR]
1990 --pdfdir=DIR pdf documentation [DOCDIR]
1991 --psdir=DIR ps documentation [DOCDIR]
1992 _ACEOF
1994 cat <<\_ACEOF
1996 X features:
1997 --x-includes=DIR X include files are in DIR
1998 --x-libraries=DIR X library files are in DIR
2000 System types:
2001 --build=BUILD configure for building on BUILD [guessed]
2002 --host=HOST cross-compile to build programs to run on HOST [BUILD]
2003 _ACEOF
2006 if test -n "$ac_init_help"; then
2007 case $ac_init_help in
2008 short | recursive ) echo "Configuration of Wine 1.7.3:";;
2009 esac
2010 cat <<\_ACEOF
2012 Optional Features:
2013 --disable-option-checking ignore unrecognized --enable/--with options
2014 --disable-FEATURE do not include FEATURE (same as --enable-FEATURE=no)
2015 --enable-FEATURE[=ARG] include FEATURE [ARG=yes]
2016 --disable-win16 do not include Win16 support
2017 --enable-win64 build a Win64 emulator on AMD64 (won't run Win32
2018 binaries)
2019 --disable-tests do not build the regression tests
2020 --enable-maintainer-mode
2021 enable maintainer-specific build rules
2022 --disable-largefile omit support for large files
2024 Optional Packages:
2025 --with-PACKAGE[=ARG] use PACKAGE [ARG=yes]
2026 --without-PACKAGE do not use PACKAGE (same as --with-PACKAGE=no)
2027 --without-alsa do not use the Alsa sound support
2028 --without-capi do not use CAPI (ISDN support)
2029 --without-cms do not use CMS (color management support)
2030 --without-coreaudio do not use the CoreAudio sound support
2031 --without-cups do not use CUPS
2032 --without-curses do not use (n)curses
2033 --without-dbus do not use DBus (dynamic device support)
2034 --without-fontconfig do not use fontconfig
2035 --without-freetype do not use the FreeType library
2036 --without-gettext do not use gettext
2037 --with-gettextpo use the GetTextPO library to rebuild po files
2038 --without-gphoto do not use gphoto (Digital Camera support)
2039 --without-glu do not use the GLU library
2040 --without-gnutls do not use GnuTLS (schannel support)
2041 --without-gsm do not use libgsm (GSM 06.10 codec support)
2042 --without-gstreamer do not use GStreamer (codecs support)
2043 --without-hal do not use HAL (dynamic device support)
2044 --without-jpeg do not use JPEG
2045 --without-ldap do not use LDAP
2046 --without-mpg123 do not use the mpg123 library
2047 --without-openal do not use OpenAL
2048 --without-opencl do not use OpenCL
2049 --without-opengl do not use OpenGL
2050 --without-osmesa do not use the OSMesa library
2051 --without-oss do not use the OSS sound support
2052 --without-png do not use PNG
2053 --without-pthread do not use the pthread library
2054 --without-sane do not use SANE (scanner support)
2055 --without-tiff do not use TIFF
2056 --without-v4l do not use v4l1 (v4l support)
2057 --without-xcomposite do not use the Xcomposite extension
2058 --without-xcursor do not use the Xcursor extension
2059 --without-xinerama do not use Xinerama (multi-monitor support)
2060 --without-xinput do not use the Xinput extension
2061 --without-xinput2 do not use the Xinput 2 extension
2062 --without-xml do not use XML
2063 --without-xrandr do not use Xrandr (resolution changes)
2064 --without-xrender do not use the Xrender extension
2065 --without-xshape do not use the Xshape extension
2066 --without-xshm do not use XShm (shared memory extension)
2067 --without-xslt do not use XSLT
2068 --without-xxf86vm do not use XFree video mode extension
2069 --without-zlib do not use Zlib (data compression)
2070 --with-wine-tools=DIR use Wine tools from directory DIR
2071 --with-wine64=DIR use the 64-bit Wine in DIR for a Wow64 build
2072 --with-x use the X Window System
2074 Some influential environment variables:
2075 CC C compiler command
2076 CFLAGS C compiler flags
2077 LDFLAGS linker flags, e.g. -L<lib dir> if you have libraries in a
2078 nonstandard directory <lib dir>
2079 LIBS libraries to pass to the linker, e.g. -l<library>
2080 CPPFLAGS (Objective) C/C++ preprocessor flags, e.g. -I<include dir> if
2081 you have headers in a nonstandard directory <include dir>
2082 CXX C++ compiler command
2083 CXXFLAGS C++ compiler flags
2084 CPP C preprocessor
2085 XMKMF Path to xmkmf, Makefile generator for X Window System
2086 XML2_CFLAGS C compiler flags for libxml-2.0, overriding pkg-config
2087 XML2_LIBS Linker flags for libxml-2.0, overriding pkg-config
2088 XSLT_CFLAGS C compiler flags for libxslt, overriding pkg-config
2089 XSLT_LIBS Linker flags for libxslt, overriding pkg-config
2090 DBUS_CFLAGS C compiler flags for dbus-1, overriding pkg-config
2091 DBUS_LIBS Linker flags for dbus-1, overriding pkg-config
2092 HAL_CFLAGS C compiler flags for hal, overriding pkg-config
2093 HAL_LIBS Linker flags for hal, overriding pkg-config
2094 GNUTLS_CFLAGS
2095 C compiler flags for gnutls, overriding pkg-config
2096 GNUTLS_LIBS Linker flags for gnutls, overriding pkg-config
2097 SANE_CFLAGS C compiler flags for libsane, overriding pkg-config
2098 SANE_LIBS Linker flags for libsane, overriding pkg-config
2099 GPHOTO2_CFLAGS
2100 C compiler flags for libgphoto2, overriding pkg-config
2101 GPHOTO2_LIBS
2102 Linker flags for libgphoto2, overriding pkg-config
2103 GPHOTO2_PORT_CFLAGS
2104 C compiler flags for libgphoto2_port, overriding pkg-config
2105 GPHOTO2_PORT_LIBS
2106 Linker flags for libgphoto2_port, overriding pkg-config
2107 LCMS2_CFLAGS
2108 C compiler flags for lcms2, overriding pkg-config
2109 LCMS2_LIBS Linker flags for lcms2, overriding pkg-config
2110 FREETYPE_CFLAGS
2111 C compiler flags for freetype2, overriding pkg-config
2112 FREETYPE_LIBS
2113 Linker flags for freetype2, overriding pkg-config
2114 GSTREAMER_CFLAGS
2115 C compiler flags for gstreamer-app-0.10, overriding pkg-config
2116 GSTREAMER_LIBS
2117 Linker flags for gstreamer-app-0.10, overriding pkg-config
2118 CAPI20_CFLAGS
2119 C compiler flags for capi20, overriding pkg-config
2120 CAPI20_LIBS Linker flags for capi20, overriding pkg-config
2121 JPEG_CFLAGS C compiler flags for libjpeg, overriding pkg-config
2122 JPEG_LIBS Linker flags for libjpeg, overriding pkg-config
2123 PNG_CFLAGS C compiler flags for libpng, overriding pkg-config
2124 PNG_LIBS Linker flags for libpng, overriding pkg-config
2125 TIFF_CFLAGS C compiler flags for libtiff, overriding pkg-config
2126 TIFF_LIBS Linker flags for libtiff, overriding pkg-config
2127 MPG123_CFLAGS
2128 C compiler flags for libmpg123, overriding pkg-config
2129 MPG123_LIBS Linker flags for libmpg123, overriding pkg-config
2131 Use these variables to override the choices made by `configure' or to help
2132 it to find libraries and programs with nonstandard names/locations.
2134 Report bugs to <wine-devel@winehq.org>.
2135 Wine home page: <http://www.winehq.org>.
2136 _ACEOF
2137 ac_status=$?
2140 if test "$ac_init_help" = "recursive"; then
2141 # If there are subdirs, report their specific --help.
2142 for ac_dir in : $ac_subdirs_all; do test "x$ac_dir" = x: && continue
2143 test -d "$ac_dir" ||
2144 { cd "$srcdir" && ac_pwd=`pwd` && srcdir=. && test -d "$ac_dir"; } ||
2145 continue
2146 ac_builddir=.
2148 case "$ac_dir" in
2149 .) ac_dir_suffix= ac_top_builddir_sub=. ac_top_build_prefix= ;;
2151 ac_dir_suffix=/`$as_echo "$ac_dir" | sed 's|^\.[\\/]||'`
2152 # A ".." for each directory in $ac_dir_suffix.
2153 ac_top_builddir_sub=`$as_echo "$ac_dir_suffix" | sed 's|/[^\\/]*|/..|g;s|/||'`
2154 case $ac_top_builddir_sub in
2155 "") ac_top_builddir_sub=. ac_top_build_prefix= ;;
2156 *) ac_top_build_prefix=$ac_top_builddir_sub/ ;;
2157 esac ;;
2158 esac
2159 ac_abs_top_builddir=$ac_pwd
2160 ac_abs_builddir=$ac_pwd$ac_dir_suffix
2161 # for backward compatibility:
2162 ac_top_builddir=$ac_top_build_prefix
2164 case $srcdir in
2165 .) # We are building in place.
2166 ac_srcdir=.
2167 ac_top_srcdir=$ac_top_builddir_sub
2168 ac_abs_top_srcdir=$ac_pwd ;;
2169 [\\/]* | ?:[\\/]* ) # Absolute name.
2170 ac_srcdir=$srcdir$ac_dir_suffix;
2171 ac_top_srcdir=$srcdir
2172 ac_abs_top_srcdir=$srcdir ;;
2173 *) # Relative name.
2174 ac_srcdir=$ac_top_build_prefix$srcdir$ac_dir_suffix
2175 ac_top_srcdir=$ac_top_build_prefix$srcdir
2176 ac_abs_top_srcdir=$ac_pwd/$srcdir ;;
2177 esac
2178 ac_abs_srcdir=$ac_abs_top_srcdir$ac_dir_suffix
2180 cd "$ac_dir" || { ac_status=$?; continue; }
2181 # Check for guested configure.
2182 if test -f "$ac_srcdir/configure.gnu"; then
2183 echo &&
2184 $SHELL "$ac_srcdir/configure.gnu" --help=recursive
2185 elif test -f "$ac_srcdir/configure"; then
2186 echo &&
2187 $SHELL "$ac_srcdir/configure" --help=recursive
2188 else
2189 $as_echo "$as_me: WARNING: no configuration information is in $ac_dir" >&2
2190 fi || ac_status=$?
2191 cd "$ac_pwd" || { ac_status=$?; break; }
2192 done
2195 test -n "$ac_init_help" && exit $ac_status
2196 if $ac_init_version; then
2197 cat <<\_ACEOF
2198 Wine configure 1.7.3
2199 generated by GNU Autoconf 2.69
2201 Copyright (C) 2012 Free Software Foundation, Inc.
2202 This configure script is free software; the Free Software Foundation
2203 gives unlimited permission to copy, distribute and modify it.
2204 _ACEOF
2205 exit
2208 ## ------------------------ ##
2209 ## Autoconf initialization. ##
2210 ## ------------------------ ##
2212 # ac_fn_c_try_compile LINENO
2213 # --------------------------
2214 # Try to compile conftest.$ac_ext, and return whether this succeeded.
2215 ac_fn_c_try_compile ()
2217 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
2218 rm -f conftest.$ac_objext
2219 if { { ac_try="$ac_compile"
2220 case "(($ac_try" in
2221 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2222 *) ac_try_echo=$ac_try;;
2223 esac
2224 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
2225 $as_echo "$ac_try_echo"; } >&5
2226 (eval "$ac_compile") 2>conftest.err
2227 ac_status=$?
2228 if test -s conftest.err; then
2229 grep -v '^ *+' conftest.err >conftest.er1
2230 cat conftest.er1 >&5
2231 mv -f conftest.er1 conftest.err
2233 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
2234 test $ac_status = 0; } && {
2235 test -z "$ac_c_werror_flag" ||
2236 test ! -s conftest.err
2237 } && test -s conftest.$ac_objext; then :
2238 ac_retval=0
2239 else
2240 $as_echo "$as_me: failed program was:" >&5
2241 sed 's/^/| /' conftest.$ac_ext >&5
2243 ac_retval=1
2245 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
2246 as_fn_set_status $ac_retval
2248 } # ac_fn_c_try_compile
2250 # ac_fn_cxx_try_compile LINENO
2251 # ----------------------------
2252 # Try to compile conftest.$ac_ext, and return whether this succeeded.
2253 ac_fn_cxx_try_compile ()
2255 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
2256 rm -f conftest.$ac_objext
2257 if { { ac_try="$ac_compile"
2258 case "(($ac_try" in
2259 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2260 *) ac_try_echo=$ac_try;;
2261 esac
2262 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
2263 $as_echo "$ac_try_echo"; } >&5
2264 (eval "$ac_compile") 2>conftest.err
2265 ac_status=$?
2266 if test -s conftest.err; then
2267 grep -v '^ *+' conftest.err >conftest.er1
2268 cat conftest.er1 >&5
2269 mv -f conftest.er1 conftest.err
2271 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
2272 test $ac_status = 0; } && {
2273 test -z "$ac_cxx_werror_flag" ||
2274 test ! -s conftest.err
2275 } && test -s conftest.$ac_objext; then :
2276 ac_retval=0
2277 else
2278 $as_echo "$as_me: failed program was:" >&5
2279 sed 's/^/| /' conftest.$ac_ext >&5
2281 ac_retval=1
2283 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
2284 as_fn_set_status $ac_retval
2286 } # ac_fn_cxx_try_compile
2288 # ac_fn_c_try_link LINENO
2289 # -----------------------
2290 # Try to link conftest.$ac_ext, and return whether this succeeded.
2291 ac_fn_c_try_link ()
2293 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
2294 rm -f conftest.$ac_objext conftest$ac_exeext
2295 if { { ac_try="$ac_link"
2296 case "(($ac_try" in
2297 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2298 *) ac_try_echo=$ac_try;;
2299 esac
2300 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
2301 $as_echo "$ac_try_echo"; } >&5
2302 (eval "$ac_link") 2>conftest.err
2303 ac_status=$?
2304 if test -s conftest.err; then
2305 grep -v '^ *+' conftest.err >conftest.er1
2306 cat conftest.er1 >&5
2307 mv -f conftest.er1 conftest.err
2309 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
2310 test $ac_status = 0; } && {
2311 test -z "$ac_c_werror_flag" ||
2312 test ! -s conftest.err
2313 } && test -s conftest$ac_exeext && {
2314 test "$cross_compiling" = yes ||
2315 test -x conftest$ac_exeext
2316 }; then :
2317 ac_retval=0
2318 else
2319 $as_echo "$as_me: failed program was:" >&5
2320 sed 's/^/| /' conftest.$ac_ext >&5
2322 ac_retval=1
2324 # Delete the IPA/IPO (Inter Procedural Analysis/Optimization) information
2325 # created by the PGI compiler (conftest_ipa8_conftest.oo), as it would
2326 # interfere with the next link command; also delete a directory that is
2327 # left behind by Apple's compiler. We do this before executing the actions.
2328 rm -rf conftest.dSYM conftest_ipa8_conftest.oo
2329 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
2330 as_fn_set_status $ac_retval
2332 } # ac_fn_c_try_link
2334 # ac_fn_c_try_cpp LINENO
2335 # ----------------------
2336 # Try to preprocess conftest.$ac_ext, and return whether this succeeded.
2337 ac_fn_c_try_cpp ()
2339 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
2340 if { { ac_try="$ac_cpp conftest.$ac_ext"
2341 case "(($ac_try" in
2342 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2343 *) ac_try_echo=$ac_try;;
2344 esac
2345 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
2346 $as_echo "$ac_try_echo"; } >&5
2347 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.err
2348 ac_status=$?
2349 if test -s conftest.err; then
2350 grep -v '^ *+' conftest.err >conftest.er1
2351 cat conftest.er1 >&5
2352 mv -f conftest.er1 conftest.err
2354 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
2355 test $ac_status = 0; } > conftest.i && {
2356 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
2357 test ! -s conftest.err
2358 }; then :
2359 ac_retval=0
2360 else
2361 $as_echo "$as_me: failed program was:" >&5
2362 sed 's/^/| /' conftest.$ac_ext >&5
2364 ac_retval=1
2366 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
2367 as_fn_set_status $ac_retval
2369 } # ac_fn_c_try_cpp
2371 # ac_fn_c_check_header_mongrel LINENO HEADER VAR INCLUDES
2372 # -------------------------------------------------------
2373 # Tests whether HEADER exists, giving a warning if it cannot be compiled using
2374 # the include files in INCLUDES and setting the cache variable VAR
2375 # accordingly.
2376 ac_fn_c_check_header_mongrel ()
2378 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
2379 if eval \${$3+:} false; then :
2380 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
2381 $as_echo_n "checking for $2... " >&6; }
2382 if eval \${$3+:} false; then :
2383 $as_echo_n "(cached) " >&6
2385 eval ac_res=\$$3
2386 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
2387 $as_echo "$ac_res" >&6; }
2388 else
2389 # Is the header compilable?
2390 { $as_echo "$as_me:${as_lineno-$LINENO}: checking $2 usability" >&5
2391 $as_echo_n "checking $2 usability... " >&6; }
2392 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2393 /* end confdefs.h. */
2395 #include <$2>
2396 _ACEOF
2397 if ac_fn_c_try_compile "$LINENO"; then :
2398 ac_header_compiler=yes
2399 else
2400 ac_header_compiler=no
2402 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
2403 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_header_compiler" >&5
2404 $as_echo "$ac_header_compiler" >&6; }
2406 # Is the header present?
2407 { $as_echo "$as_me:${as_lineno-$LINENO}: checking $2 presence" >&5
2408 $as_echo_n "checking $2 presence... " >&6; }
2409 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2410 /* end confdefs.h. */
2411 #include <$2>
2412 _ACEOF
2413 if ac_fn_c_try_cpp "$LINENO"; then :
2414 ac_header_preproc=yes
2415 else
2416 ac_header_preproc=no
2418 rm -f conftest.err conftest.i conftest.$ac_ext
2419 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_header_preproc" >&5
2420 $as_echo "$ac_header_preproc" >&6; }
2422 # So? What about this header?
2423 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in #((
2424 yes:no: )
2425 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: accepted by the compiler, rejected by the preprocessor!" >&5
2426 $as_echo "$as_me: WARNING: $2: accepted by the compiler, rejected by the preprocessor!" >&2;}
2427 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: proceeding with the compiler's result" >&5
2428 $as_echo "$as_me: WARNING: $2: proceeding with the compiler's result" >&2;}
2430 no:yes:* )
2431 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: present but cannot be compiled" >&5
2432 $as_echo "$as_me: WARNING: $2: present but cannot be compiled" >&2;}
2433 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: check for missing prerequisite headers?" >&5
2434 $as_echo "$as_me: WARNING: $2: check for missing prerequisite headers?" >&2;}
2435 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: see the Autoconf documentation" >&5
2436 $as_echo "$as_me: WARNING: $2: see the Autoconf documentation" >&2;}
2437 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: section \"Present But Cannot Be Compiled\"" >&5
2438 $as_echo "$as_me: WARNING: $2: section \"Present But Cannot Be Compiled\"" >&2;}
2439 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: proceeding with the compiler's result" >&5
2440 $as_echo "$as_me: WARNING: $2: proceeding with the compiler's result" >&2;}
2441 ( $as_echo "## ------------------------------------ ##
2442 ## Report this to wine-devel@winehq.org ##
2443 ## ------------------------------------ ##"
2444 ) | sed "s/^/$as_me: WARNING: /" >&2
2446 esac
2447 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
2448 $as_echo_n "checking for $2... " >&6; }
2449 if eval \${$3+:} false; then :
2450 $as_echo_n "(cached) " >&6
2451 else
2452 eval "$3=\$ac_header_compiler"
2454 eval ac_res=\$$3
2455 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
2456 $as_echo "$ac_res" >&6; }
2458 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
2460 } # ac_fn_c_check_header_mongrel
2462 # ac_fn_c_try_run LINENO
2463 # ----------------------
2464 # Try to link conftest.$ac_ext, and return whether this succeeded. Assumes
2465 # that executables *can* be run.
2466 ac_fn_c_try_run ()
2468 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
2469 if { { ac_try="$ac_link"
2470 case "(($ac_try" in
2471 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2472 *) ac_try_echo=$ac_try;;
2473 esac
2474 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
2475 $as_echo "$ac_try_echo"; } >&5
2476 (eval "$ac_link") 2>&5
2477 ac_status=$?
2478 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
2479 test $ac_status = 0; } && { ac_try='./conftest$ac_exeext'
2480 { { case "(($ac_try" in
2481 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2482 *) ac_try_echo=$ac_try;;
2483 esac
2484 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
2485 $as_echo "$ac_try_echo"; } >&5
2486 (eval "$ac_try") 2>&5
2487 ac_status=$?
2488 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
2489 test $ac_status = 0; }; }; then :
2490 ac_retval=0
2491 else
2492 $as_echo "$as_me: program exited with status $ac_status" >&5
2493 $as_echo "$as_me: failed program was:" >&5
2494 sed 's/^/| /' conftest.$ac_ext >&5
2496 ac_retval=$ac_status
2498 rm -rf conftest.dSYM conftest_ipa8_conftest.oo
2499 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
2500 as_fn_set_status $ac_retval
2502 } # ac_fn_c_try_run
2504 # ac_fn_c_check_header_compile LINENO HEADER VAR INCLUDES
2505 # -------------------------------------------------------
2506 # Tests whether HEADER exists and can be compiled using the include files in
2507 # INCLUDES, setting the cache variable VAR accordingly.
2508 ac_fn_c_check_header_compile ()
2510 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
2511 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
2512 $as_echo_n "checking for $2... " >&6; }
2513 if eval \${$3+:} false; then :
2514 $as_echo_n "(cached) " >&6
2515 else
2516 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2517 /* end confdefs.h. */
2519 #include <$2>
2520 _ACEOF
2521 if ac_fn_c_try_compile "$LINENO"; then :
2522 eval "$3=yes"
2523 else
2524 eval "$3=no"
2526 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
2528 eval ac_res=\$$3
2529 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
2530 $as_echo "$ac_res" >&6; }
2531 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
2533 } # ac_fn_c_check_header_compile
2535 # ac_fn_c_check_func LINENO FUNC VAR
2536 # ----------------------------------
2537 # Tests whether FUNC exists, setting the cache variable VAR accordingly
2538 ac_fn_c_check_func ()
2540 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
2541 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
2542 $as_echo_n "checking for $2... " >&6; }
2543 if eval \${$3+:} false; then :
2544 $as_echo_n "(cached) " >&6
2545 else
2546 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2547 /* end confdefs.h. */
2548 /* Define $2 to an innocuous variant, in case <limits.h> declares $2.
2549 For example, HP-UX 11i <limits.h> declares gettimeofday. */
2550 #define $2 innocuous_$2
2552 /* System header to define __stub macros and hopefully few prototypes,
2553 which can conflict with char $2 (); below.
2554 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
2555 <limits.h> exists even on freestanding compilers. */
2557 #ifdef __STDC__
2558 # include <limits.h>
2559 #else
2560 # include <assert.h>
2561 #endif
2563 #undef $2
2565 /* Override any GCC internal prototype to avoid an error.
2566 Use char because int might match the return type of a GCC
2567 builtin and then its argument prototype would still apply. */
2568 #ifdef __cplusplus
2569 extern "C"
2570 #endif
2571 char $2 ();
2572 /* The GNU C library defines this for functions which it implements
2573 to always fail with ENOSYS. Some functions are actually named
2574 something starting with __ and the normal name is an alias. */
2575 #if defined __stub_$2 || defined __stub___$2
2576 choke me
2577 #endif
2580 main ()
2582 return $2 ();
2584 return 0;
2586 _ACEOF
2587 if ac_fn_c_try_link "$LINENO"; then :
2588 eval "$3=yes"
2589 else
2590 eval "$3=no"
2592 rm -f core conftest.err conftest.$ac_objext \
2593 conftest$ac_exeext conftest.$ac_ext
2595 eval ac_res=\$$3
2596 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
2597 $as_echo "$ac_res" >&6; }
2598 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
2600 } # ac_fn_c_check_func
2602 # ac_fn_c_check_member LINENO AGGR MEMBER VAR INCLUDES
2603 # ----------------------------------------------------
2604 # Tries to find if the field MEMBER exists in type AGGR, after including
2605 # INCLUDES, setting cache variable VAR accordingly.
2606 ac_fn_c_check_member ()
2608 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
2609 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2.$3" >&5
2610 $as_echo_n "checking for $2.$3... " >&6; }
2611 if eval \${$4+:} false; then :
2612 $as_echo_n "(cached) " >&6
2613 else
2614 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2615 /* end confdefs.h. */
2618 main ()
2620 static $2 ac_aggr;
2621 if (ac_aggr.$3)
2622 return 0;
2624 return 0;
2626 _ACEOF
2627 if ac_fn_c_try_compile "$LINENO"; then :
2628 eval "$4=yes"
2629 else
2630 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2631 /* end confdefs.h. */
2634 main ()
2636 static $2 ac_aggr;
2637 if (sizeof ac_aggr.$3)
2638 return 0;
2640 return 0;
2642 _ACEOF
2643 if ac_fn_c_try_compile "$LINENO"; then :
2644 eval "$4=yes"
2645 else
2646 eval "$4=no"
2648 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
2650 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
2652 eval ac_res=\$$4
2653 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
2654 $as_echo "$ac_res" >&6; }
2655 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
2657 } # ac_fn_c_check_member
2659 # ac_fn_c_check_type LINENO TYPE VAR INCLUDES
2660 # -------------------------------------------
2661 # Tests whether TYPE exists after having included INCLUDES, setting cache
2662 # variable VAR accordingly.
2663 ac_fn_c_check_type ()
2665 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
2666 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
2667 $as_echo_n "checking for $2... " >&6; }
2668 if eval \${$3+:} false; then :
2669 $as_echo_n "(cached) " >&6
2670 else
2671 eval "$3=no"
2672 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2673 /* end confdefs.h. */
2676 main ()
2678 if (sizeof ($2))
2679 return 0;
2681 return 0;
2683 _ACEOF
2684 if ac_fn_c_try_compile "$LINENO"; then :
2685 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2686 /* end confdefs.h. */
2689 main ()
2691 if (sizeof (($2)))
2692 return 0;
2694 return 0;
2696 _ACEOF
2697 if ac_fn_c_try_compile "$LINENO"; then :
2699 else
2700 eval "$3=yes"
2702 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
2704 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
2706 eval ac_res=\$$3
2707 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
2708 $as_echo "$ac_res" >&6; }
2709 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
2711 } # ac_fn_c_check_type
2712 cat >config.log <<_ACEOF
2713 This file contains any messages produced by compilers while
2714 running configure, to aid debugging if configure makes a mistake.
2716 It was created by Wine $as_me 1.7.3, which was
2717 generated by GNU Autoconf 2.69. Invocation command line was
2719 $ $0 $@
2721 _ACEOF
2722 exec 5>>config.log
2724 cat <<_ASUNAME
2725 ## --------- ##
2726 ## Platform. ##
2727 ## --------- ##
2729 hostname = `(hostname || uname -n) 2>/dev/null | sed 1q`
2730 uname -m = `(uname -m) 2>/dev/null || echo unknown`
2731 uname -r = `(uname -r) 2>/dev/null || echo unknown`
2732 uname -s = `(uname -s) 2>/dev/null || echo unknown`
2733 uname -v = `(uname -v) 2>/dev/null || echo unknown`
2735 /usr/bin/uname -p = `(/usr/bin/uname -p) 2>/dev/null || echo unknown`
2736 /bin/uname -X = `(/bin/uname -X) 2>/dev/null || echo unknown`
2738 /bin/arch = `(/bin/arch) 2>/dev/null || echo unknown`
2739 /usr/bin/arch -k = `(/usr/bin/arch -k) 2>/dev/null || echo unknown`
2740 /usr/convex/getsysinfo = `(/usr/convex/getsysinfo) 2>/dev/null || echo unknown`
2741 /usr/bin/hostinfo = `(/usr/bin/hostinfo) 2>/dev/null || echo unknown`
2742 /bin/machine = `(/bin/machine) 2>/dev/null || echo unknown`
2743 /usr/bin/oslevel = `(/usr/bin/oslevel) 2>/dev/null || echo unknown`
2744 /bin/universe = `(/bin/universe) 2>/dev/null || echo unknown`
2746 _ASUNAME
2748 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2749 for as_dir in $PATH
2751 IFS=$as_save_IFS
2752 test -z "$as_dir" && as_dir=.
2753 $as_echo "PATH: $as_dir"
2754 done
2755 IFS=$as_save_IFS
2757 } >&5
2759 cat >&5 <<_ACEOF
2762 ## ----------- ##
2763 ## Core tests. ##
2764 ## ----------- ##
2766 _ACEOF
2769 # Keep a trace of the command line.
2770 # Strip out --no-create and --no-recursion so they do not pile up.
2771 # Strip out --silent because we don't want to record it for future runs.
2772 # Also quote any args containing shell meta-characters.
2773 # Make two passes to allow for proper duplicate-argument suppression.
2774 ac_configure_args=
2775 ac_configure_args0=
2776 ac_configure_args1=
2777 ac_must_keep_next=false
2778 for ac_pass in 1 2
2780 for ac_arg
2782 case $ac_arg in
2783 -no-create | --no-c* | -n | -no-recursion | --no-r*) continue ;;
2784 -q | -quiet | --quiet | --quie | --qui | --qu | --q \
2785 | -silent | --silent | --silen | --sile | --sil)
2786 continue ;;
2787 *\'*)
2788 ac_arg=`$as_echo "$ac_arg" | sed "s/'/'\\\\\\\\''/g"` ;;
2789 esac
2790 case $ac_pass in
2791 1) as_fn_append ac_configure_args0 " '$ac_arg'" ;;
2793 as_fn_append ac_configure_args1 " '$ac_arg'"
2794 if test $ac_must_keep_next = true; then
2795 ac_must_keep_next=false # Got value, back to normal.
2796 else
2797 case $ac_arg in
2798 *=* | --config-cache | -C | -disable-* | --disable-* \
2799 | -enable-* | --enable-* | -gas | --g* | -nfp | --nf* \
2800 | -q | -quiet | --q* | -silent | --sil* | -v | -verb* \
2801 | -with-* | --with-* | -without-* | --without-* | --x)
2802 case "$ac_configure_args0 " in
2803 "$ac_configure_args1"*" '$ac_arg' "* ) continue ;;
2804 esac
2806 -* ) ac_must_keep_next=true ;;
2807 esac
2809 as_fn_append ac_configure_args " '$ac_arg'"
2811 esac
2812 done
2813 done
2814 { ac_configure_args0=; unset ac_configure_args0;}
2815 { ac_configure_args1=; unset ac_configure_args1;}
2817 # When interrupted or exit'd, cleanup temporary files, and complete
2818 # config.log. We remove comments because anyway the quotes in there
2819 # would cause problems or look ugly.
2820 # WARNING: Use '\'' to represent an apostrophe within the trap.
2821 # WARNING: Do not start the trap code with a newline, due to a FreeBSD 4.0 bug.
2822 trap 'exit_status=$?
2823 # Save into config.log some information that might help in debugging.
2825 echo
2827 $as_echo "## ---------------- ##
2828 ## Cache variables. ##
2829 ## ---------------- ##"
2830 echo
2831 # The following way of writing the cache mishandles newlines in values,
2833 for ac_var in `(set) 2>&1 | sed -n '\''s/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'\''`; do
2834 eval ac_val=\$$ac_var
2835 case $ac_val in #(
2836 *${as_nl}*)
2837 case $ac_var in #(
2838 *_cv_*) { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: cache variable $ac_var contains a newline" >&5
2839 $as_echo "$as_me: WARNING: cache variable $ac_var contains a newline" >&2;} ;;
2840 esac
2841 case $ac_var in #(
2842 _ | IFS | as_nl) ;; #(
2843 BASH_ARGV | BASH_SOURCE) eval $ac_var= ;; #(
2844 *) { eval $ac_var=; unset $ac_var;} ;;
2845 esac ;;
2846 esac
2847 done
2848 (set) 2>&1 |
2849 case $as_nl`(ac_space='\'' '\''; set) 2>&1` in #(
2850 *${as_nl}ac_space=\ *)
2851 sed -n \
2852 "s/'\''/'\''\\\\'\'''\''/g;
2853 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\''\\2'\''/p"
2854 ;; #(
2856 sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
2858 esac |
2859 sort
2861 echo
2863 $as_echo "## ----------------- ##
2864 ## Output variables. ##
2865 ## ----------------- ##"
2866 echo
2867 for ac_var in $ac_subst_vars
2869 eval ac_val=\$$ac_var
2870 case $ac_val in
2871 *\'\''*) ac_val=`$as_echo "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;;
2872 esac
2873 $as_echo "$ac_var='\''$ac_val'\''"
2874 done | sort
2875 echo
2877 if test -n "$ac_subst_files"; then
2878 $as_echo "## ------------------- ##
2879 ## File substitutions. ##
2880 ## ------------------- ##"
2881 echo
2882 for ac_var in $ac_subst_files
2884 eval ac_val=\$$ac_var
2885 case $ac_val in
2886 *\'\''*) ac_val=`$as_echo "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;;
2887 esac
2888 $as_echo "$ac_var='\''$ac_val'\''"
2889 done | sort
2890 echo
2893 if test -s confdefs.h; then
2894 $as_echo "## ----------- ##
2895 ## confdefs.h. ##
2896 ## ----------- ##"
2897 echo
2898 cat confdefs.h
2899 echo
2901 test "$ac_signal" != 0 &&
2902 $as_echo "$as_me: caught signal $ac_signal"
2903 $as_echo "$as_me: exit $exit_status"
2904 } >&5
2905 rm -f core *.core core.conftest.* &&
2906 rm -f -r conftest* confdefs* conf$$* $ac_clean_files &&
2907 exit $exit_status
2909 for ac_signal in 1 2 13 15; do
2910 trap 'ac_signal='$ac_signal'; as_fn_exit 1' $ac_signal
2911 done
2912 ac_signal=0
2914 # confdefs.h avoids OS command line length limits that DEFS can exceed.
2915 rm -f -r conftest* confdefs.h
2917 $as_echo "/* confdefs.h */" > confdefs.h
2919 # Predefined preprocessor variables.
2921 cat >>confdefs.h <<_ACEOF
2922 #define PACKAGE_NAME "$PACKAGE_NAME"
2923 _ACEOF
2925 cat >>confdefs.h <<_ACEOF
2926 #define PACKAGE_TARNAME "$PACKAGE_TARNAME"
2927 _ACEOF
2929 cat >>confdefs.h <<_ACEOF
2930 #define PACKAGE_VERSION "$PACKAGE_VERSION"
2931 _ACEOF
2933 cat >>confdefs.h <<_ACEOF
2934 #define PACKAGE_STRING "$PACKAGE_STRING"
2935 _ACEOF
2937 cat >>confdefs.h <<_ACEOF
2938 #define PACKAGE_BUGREPORT "$PACKAGE_BUGREPORT"
2939 _ACEOF
2941 cat >>confdefs.h <<_ACEOF
2942 #define PACKAGE_URL "$PACKAGE_URL"
2943 _ACEOF
2946 # Let the site file select an alternate cache file if it wants to.
2947 # Prefer an explicitly selected file to automatically selected ones.
2948 ac_site_file1=NONE
2949 ac_site_file2=NONE
2950 if test -n "$CONFIG_SITE"; then
2951 # We do not want a PATH search for config.site.
2952 case $CONFIG_SITE in #((
2953 -*) ac_site_file1=./$CONFIG_SITE;;
2954 */*) ac_site_file1=$CONFIG_SITE;;
2955 *) ac_site_file1=./$CONFIG_SITE;;
2956 esac
2957 elif test "x$prefix" != xNONE; then
2958 ac_site_file1=$prefix/share/config.site
2959 ac_site_file2=$prefix/etc/config.site
2960 else
2961 ac_site_file1=$ac_default_prefix/share/config.site
2962 ac_site_file2=$ac_default_prefix/etc/config.site
2964 for ac_site_file in "$ac_site_file1" "$ac_site_file2"
2966 test "x$ac_site_file" = xNONE && continue
2967 if test /dev/null != "$ac_site_file" && test -r "$ac_site_file"; then
2968 { $as_echo "$as_me:${as_lineno-$LINENO}: loading site script $ac_site_file" >&5
2969 $as_echo "$as_me: loading site script $ac_site_file" >&6;}
2970 sed 's/^/| /' "$ac_site_file" >&5
2971 . "$ac_site_file" \
2972 || { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
2973 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
2974 as_fn_error $? "failed to load site script $ac_site_file
2975 See \`config.log' for more details" "$LINENO" 5; }
2977 done
2979 if test -r "$cache_file"; then
2980 # Some versions of bash will fail to source /dev/null (special files
2981 # actually), so we avoid doing that. DJGPP emulates it as a regular file.
2982 if test /dev/null != "$cache_file" && test -f "$cache_file"; then
2983 { $as_echo "$as_me:${as_lineno-$LINENO}: loading cache $cache_file" >&5
2984 $as_echo "$as_me: loading cache $cache_file" >&6;}
2985 case $cache_file in
2986 [\\/]* | ?:[\\/]* ) . "$cache_file";;
2987 *) . "./$cache_file";;
2988 esac
2990 else
2991 { $as_echo "$as_me:${as_lineno-$LINENO}: creating cache $cache_file" >&5
2992 $as_echo "$as_me: creating cache $cache_file" >&6;}
2993 >$cache_file
2996 # Check that the precious variables saved in the cache have kept the same
2997 # value.
2998 ac_cache_corrupted=false
2999 for ac_var in $ac_precious_vars; do
3000 eval ac_old_set=\$ac_cv_env_${ac_var}_set
3001 eval ac_new_set=\$ac_env_${ac_var}_set
3002 eval ac_old_val=\$ac_cv_env_${ac_var}_value
3003 eval ac_new_val=\$ac_env_${ac_var}_value
3004 case $ac_old_set,$ac_new_set in
3005 set,)
3006 { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&5
3007 $as_echo "$as_me: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&2;}
3008 ac_cache_corrupted=: ;;
3009 ,set)
3010 { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' was not set in the previous run" >&5
3011 $as_echo "$as_me: error: \`$ac_var' was not set in the previous run" >&2;}
3012 ac_cache_corrupted=: ;;
3013 ,);;
3015 if test "x$ac_old_val" != "x$ac_new_val"; then
3016 # differences in whitespace do not lead to failure.
3017 ac_old_val_w=`echo x $ac_old_val`
3018 ac_new_val_w=`echo x $ac_new_val`
3019 if test "$ac_old_val_w" != "$ac_new_val_w"; then
3020 { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' has changed since the previous run:" >&5
3021 $as_echo "$as_me: error: \`$ac_var' has changed since the previous run:" >&2;}
3022 ac_cache_corrupted=:
3023 else
3024 { $as_echo "$as_me:${as_lineno-$LINENO}: warning: ignoring whitespace changes in \`$ac_var' since the previous run:" >&5
3025 $as_echo "$as_me: warning: ignoring whitespace changes in \`$ac_var' since the previous run:" >&2;}
3026 eval $ac_var=\$ac_old_val
3028 { $as_echo "$as_me:${as_lineno-$LINENO}: former value: \`$ac_old_val'" >&5
3029 $as_echo "$as_me: former value: \`$ac_old_val'" >&2;}
3030 { $as_echo "$as_me:${as_lineno-$LINENO}: current value: \`$ac_new_val'" >&5
3031 $as_echo "$as_me: current value: \`$ac_new_val'" >&2;}
3032 fi;;
3033 esac
3034 # Pass precious variables to config.status.
3035 if test "$ac_new_set" = set; then
3036 case $ac_new_val in
3037 *\'*) ac_arg=$ac_var=`$as_echo "$ac_new_val" | sed "s/'/'\\\\\\\\''/g"` ;;
3038 *) ac_arg=$ac_var=$ac_new_val ;;
3039 esac
3040 case " $ac_configure_args " in
3041 *" '$ac_arg' "*) ;; # Avoid dups. Use of quotes ensures accuracy.
3042 *) as_fn_append ac_configure_args " '$ac_arg'" ;;
3043 esac
3045 done
3046 if $ac_cache_corrupted; then
3047 { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
3048 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
3049 { $as_echo "$as_me:${as_lineno-$LINENO}: error: changes in the environment can compromise the build" >&5
3050 $as_echo "$as_me: error: changes in the environment can compromise the build" >&2;}
3051 as_fn_error $? "run \`make distclean' and/or \`rm $cache_file' and start over" "$LINENO" 5
3053 ## -------------------- ##
3054 ## Main body of script. ##
3055 ## -------------------- ##
3057 ac_ext=c
3058 ac_cpp='$CPP $CPPFLAGS'
3059 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
3060 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
3061 ac_compiler_gnu=$ac_cv_c_compiler_gnu
3065 ac_config_headers="$ac_config_headers include/config.h"
3067 ac_aux_dir=
3068 for ac_dir in tools "$srcdir"/tools; do
3069 if test -f "$ac_dir/install-sh"; then
3070 ac_aux_dir=$ac_dir
3071 ac_install_sh="$ac_aux_dir/install-sh -c"
3072 break
3073 elif test -f "$ac_dir/install.sh"; then
3074 ac_aux_dir=$ac_dir
3075 ac_install_sh="$ac_aux_dir/install.sh -c"
3076 break
3077 elif test -f "$ac_dir/shtool"; then
3078 ac_aux_dir=$ac_dir
3079 ac_install_sh="$ac_aux_dir/shtool install -c"
3080 break
3082 done
3083 if test -z "$ac_aux_dir"; then
3084 as_fn_error $? "cannot find install-sh, install.sh, or shtool in tools \"$srcdir\"/tools" "$LINENO" 5
3087 # These three variables are undocumented and unsupported,
3088 # and are intended to be withdrawn in a future Autoconf release.
3089 # They can cause serious problems if a builder's source tree is in a directory
3090 # whose full name contains unusual characters.
3091 ac_config_guess="$SHELL $ac_aux_dir/config.guess" # Please don't use this var.
3092 ac_config_sub="$SHELL $ac_aux_dir/config.sub" # Please don't use this var.
3093 ac_configure="$SHELL $ac_aux_dir/configure" # Please don't use this var.
3099 # Check whether --enable-win16 was given.
3100 if test "${enable_win16+set}" = set; then :
3101 enableval=$enable_win16;
3104 # Check whether --enable-win64 was given.
3105 if test "${enable_win64+set}" = set; then :
3106 enableval=$enable_win64;
3109 # Check whether --enable-tests was given.
3110 if test "${enable_tests+set}" = set; then :
3111 enableval=$enable_tests;
3114 # Check whether --enable-maintainer-mode was given.
3115 if test "${enable_maintainer_mode+set}" = set; then :
3116 enableval=$enable_maintainer_mode;
3121 # Check whether --with-alsa was given.
3122 if test "${with_alsa+set}" = set; then :
3123 withval=$with_alsa; if test "x$withval" = "xno"; then ac_cv_header_sys_asoundlib_h=no; ac_cv_header_alsa_asoundlib_h=no; fi
3127 # Check whether --with-capi was given.
3128 if test "${with_capi+set}" = set; then :
3129 withval=$with_capi;
3133 # Check whether --with-cms was given.
3134 if test "${with_cms+set}" = set; then :
3135 withval=$with_cms;
3139 # Check whether --with-coreaudio was given.
3140 if test "${with_coreaudio+set}" = set; then :
3141 withval=$with_coreaudio; if test "x$withval" = "xno"; then ac_cv_header_CoreAudio_CoreAudio_h=no; fi
3145 # Check whether --with-cups was given.
3146 if test "${with_cups+set}" = set; then :
3147 withval=$with_cups;
3151 # Check whether --with-curses was given.
3152 if test "${with_curses+set}" = set; then :
3153 withval=$with_curses; if test "x$withval" = "xno"; then ac_cv_header_ncurses_h=no; ac_cv_header_curses_h=no; fi
3157 # Check whether --with-dbus was given.
3158 if test "${with_dbus+set}" = set; then :
3159 withval=$with_dbus;
3163 # Check whether --with-fontconfig was given.
3164 if test "${with_fontconfig+set}" = set; then :
3165 withval=$with_fontconfig;
3169 # Check whether --with-freetype was given.
3170 if test "${with_freetype+set}" = set; then :
3171 withval=$with_freetype;
3175 # Check whether --with-gettext was given.
3176 if test "${with_gettext+set}" = set; then :
3177 withval=$with_gettext;
3181 # Check whether --with-gettextpo was given.
3182 if test "${with_gettextpo+set}" = set; then :
3183 withval=$with_gettextpo; if test "x$withval" = "xno"; then ac_cv_header_gettext_po_h=no; fi
3187 # Check whether --with-gphoto was given.
3188 if test "${with_gphoto+set}" = set; then :
3189 withval=$with_gphoto;
3193 # Check whether --with-glu was given.
3194 if test "${with_glu+set}" = set; then :
3195 withval=$with_glu;
3199 # Check whether --with-gnutls was given.
3200 if test "${with_gnutls+set}" = set; then :
3201 withval=$with_gnutls;
3205 # Check whether --with-gsm was given.
3206 if test "${with_gsm+set}" = set; then :
3207 withval=$with_gsm; if test "x$withval" = "xno"; then ac_cv_header_gsm_h=no; ac_cv_header_gsm_gsm_h=no; fi
3211 # Check whether --with-gstreamer was given.
3212 if test "${with_gstreamer+set}" = set; then :
3213 withval=$with_gstreamer;
3217 # Check whether --with-hal was given.
3218 if test "${with_hal+set}" = set; then :
3219 withval=$with_hal;
3223 # Check whether --with-jpeg was given.
3224 if test "${with_jpeg+set}" = set; then :
3225 withval=$with_jpeg;
3229 # Check whether --with-ldap was given.
3230 if test "${with_ldap+set}" = set; then :
3231 withval=$with_ldap; if test "x$withval" = "xno"; then ac_cv_header_ldap_h=no; ac_cv_header_lber_h=no; fi
3235 # Check whether --with-mpg123 was given.
3236 if test "${with_mpg123+set}" = set; then :
3237 withval=$with_mpg123;
3241 # Check whether --with-openal was given.
3242 if test "${with_openal+set}" = set; then :
3243 withval=$with_openal; if test "x$withval" = "xno"; then ac_cv_header_AL_al_h=no; ac_cv_header_OpenAL_al_h=no; fi
3247 # Check whether --with-opencl was given.
3248 if test "${with_opencl+set}" = set; then :
3249 withval=$with_opencl; if test "x$withval" = "xno"; then ac_cv_header_CL_cl_h=no; ac_cv_header_OpenCL_opencl_h=no; fi
3253 # Check whether --with-opengl was given.
3254 if test "${with_opengl+set}" = set; then :
3255 withval=$with_opengl;
3259 # Check whether --with-osmesa was given.
3260 if test "${with_osmesa+set}" = set; then :
3261 withval=$with_osmesa;
3265 # Check whether --with-oss was given.
3266 if test "${with_oss+set}" = set; then :
3267 withval=$with_oss;
3271 # Check whether --with-png was given.
3272 if test "${with_png+set}" = set; then :
3273 withval=$with_png;
3277 # Check whether --with-pthread was given.
3278 if test "${with_pthread+set}" = set; then :
3279 withval=$with_pthread; if test "x$withval" = "xno"; then ac_cv_header_pthread_h=no; fi
3283 # Check whether --with-sane was given.
3284 if test "${with_sane+set}" = set; then :
3285 withval=$with_sane;
3289 # Check whether --with-tiff was given.
3290 if test "${with_tiff+set}" = set; then :
3291 withval=$with_tiff;
3295 # Check whether --with-v4l was given.
3296 if test "${with_v4l+set}" = set; then :
3297 withval=$with_v4l;
3301 # Check whether --with-xcomposite was given.
3302 if test "${with_xcomposite+set}" = set; then :
3303 withval=$with_xcomposite; if test "x$withval" = "xno"; then ac_cv_header_X11_extensions_Xcomposite_h=no; fi
3307 # Check whether --with-xcursor was given.
3308 if test "${with_xcursor+set}" = set; then :
3309 withval=$with_xcursor; if test "x$withval" = "xno"; then ac_cv_header_X11_Xcursor_Xcursor_h=no; fi
3313 # Check whether --with-xinerama was given.
3314 if test "${with_xinerama+set}" = set; then :
3315 withval=$with_xinerama; if test "x$withval" = "xno"; then ac_cv_header_X11_extensions_Xinerama_h=no; fi
3319 # Check whether --with-xinput was given.
3320 if test "${with_xinput+set}" = set; then :
3321 withval=$with_xinput; if test "x$withval" = "xno"; then ac_cv_header_X11_extensions_XInput_h=no; fi
3325 # Check whether --with-xinput2 was given.
3326 if test "${with_xinput2+set}" = set; then :
3327 withval=$with_xinput2; if test "x$withval" = "xno"; then ac_cv_header_X11_extensions_XInput2_h=no; fi
3331 # Check whether --with-xml was given.
3332 if test "${with_xml+set}" = set; then :
3333 withval=$with_xml;
3337 # Check whether --with-xrandr was given.
3338 if test "${with_xrandr+set}" = set; then :
3339 withval=$with_xrandr; if test "x$withval" = "xno"; then ac_cv_header_X11_extensions_Xrandr_h=no; fi
3343 # Check whether --with-xrender was given.
3344 if test "${with_xrender+set}" = set; then :
3345 withval=$with_xrender; if test "x$withval" = "xno"; then ac_cv_header_X11_extensions_Xrender_h=no; fi
3349 # Check whether --with-xshape was given.
3350 if test "${with_xshape+set}" = set; then :
3351 withval=$with_xshape; if test "x$withval" = "xno"; then ac_cv_header_X11_extensions_shape_h=no; fi
3355 # Check whether --with-xshm was given.
3356 if test "${with_xshm+set}" = set; then :
3357 withval=$with_xshm; if test "x$withval" = "xno"; then ac_cv_header_X11_extensions_XShm_h=no; fi
3361 # Check whether --with-xslt was given.
3362 if test "${with_xslt+set}" = set; then :
3363 withval=$with_xslt;
3367 # Check whether --with-xxf86vm was given.
3368 if test "${with_xxf86vm+set}" = set; then :
3369 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
3373 # Check whether --with-zlib was given.
3374 if test "${with_zlib+set}" = set; then :
3375 withval=$with_zlib; if test "x$withval" = "xno"; then ac_cv_header_zlib_h=no; fi
3380 # Check whether --with-wine-tools was given.
3381 if test "${with_wine_tools+set}" = set; then :
3382 withval=$with_wine_tools;
3386 # Check whether --with-wine64 was given.
3387 if test "${with_wine64+set}" = set; then :
3388 withval=$with_wine64;
3392 # Make sure we can run config.sub.
3393 $SHELL "$ac_aux_dir/config.sub" sun4 >/dev/null 2>&1 ||
3394 as_fn_error $? "cannot run $SHELL $ac_aux_dir/config.sub" "$LINENO" 5
3396 { $as_echo "$as_me:${as_lineno-$LINENO}: checking build system type" >&5
3397 $as_echo_n "checking build system type... " >&6; }
3398 if ${ac_cv_build+:} false; then :
3399 $as_echo_n "(cached) " >&6
3400 else
3401 ac_build_alias=$build_alias
3402 test "x$ac_build_alias" = x &&
3403 ac_build_alias=`$SHELL "$ac_aux_dir/config.guess"`
3404 test "x$ac_build_alias" = x &&
3405 as_fn_error $? "cannot guess build type; you must specify one" "$LINENO" 5
3406 ac_cv_build=`$SHELL "$ac_aux_dir/config.sub" $ac_build_alias` ||
3407 as_fn_error $? "$SHELL $ac_aux_dir/config.sub $ac_build_alias failed" "$LINENO" 5
3410 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_build" >&5
3411 $as_echo "$ac_cv_build" >&6; }
3412 case $ac_cv_build in
3413 *-*-*) ;;
3414 *) as_fn_error $? "invalid value of canonical build" "$LINENO" 5;;
3415 esac
3416 build=$ac_cv_build
3417 ac_save_IFS=$IFS; IFS='-'
3418 set x $ac_cv_build
3419 shift
3420 build_cpu=$1
3421 build_vendor=$2
3422 shift; shift
3423 # Remember, the first character of IFS is used to create $*,
3424 # except with old shells:
3425 build_os=$*
3426 IFS=$ac_save_IFS
3427 case $build_os in *\ *) build_os=`echo "$build_os" | sed 's/ /-/g'`;; esac
3430 { $as_echo "$as_me:${as_lineno-$LINENO}: checking host system type" >&5
3431 $as_echo_n "checking host system type... " >&6; }
3432 if ${ac_cv_host+:} false; then :
3433 $as_echo_n "(cached) " >&6
3434 else
3435 if test "x$host_alias" = x; then
3436 ac_cv_host=$ac_cv_build
3437 else
3438 ac_cv_host=`$SHELL "$ac_aux_dir/config.sub" $host_alias` ||
3439 as_fn_error $? "$SHELL $ac_aux_dir/config.sub $host_alias failed" "$LINENO" 5
3443 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_host" >&5
3444 $as_echo "$ac_cv_host" >&6; }
3445 case $ac_cv_host in
3446 *-*-*) ;;
3447 *) as_fn_error $? "invalid value of canonical host" "$LINENO" 5;;
3448 esac
3449 host=$ac_cv_host
3450 ac_save_IFS=$IFS; IFS='-'
3451 set x $ac_cv_host
3452 shift
3453 host_cpu=$1
3454 host_vendor=$2
3455 shift; shift
3456 # Remember, the first character of IFS is used to create $*,
3457 # except with old shells:
3458 host_os=$*
3459 IFS=$ac_save_IFS
3460 case $host_os in *\ *) host_os=`echo "$host_os" | sed 's/ /-/g'`;; esac
3464 case "$srcdir" in
3465 .) ;;
3466 *) if test -f "$srcdir/Makefile" -o -f "$srcdir/include/config.h"; then
3467 as_fn_error $? "you are building out of the source tree, but the source tree contains object files.
3468 You need to run 'make distclean' in the source tree first." "$LINENO" 5
3469 fi ;;
3470 esac
3473 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ${MAKE-make} sets \$(MAKE)" >&5
3474 $as_echo_n "checking whether ${MAKE-make} sets \$(MAKE)... " >&6; }
3475 set x ${MAKE-make}
3476 ac_make=`$as_echo "$2" | sed 's/+/p/g; s/[^a-zA-Z0-9_]/_/g'`
3477 if eval \${ac_cv_prog_make_${ac_make}_set+:} false; then :
3478 $as_echo_n "(cached) " >&6
3479 else
3480 cat >conftest.make <<\_ACEOF
3481 SHELL = /bin/sh
3482 all:
3483 @echo '@@@%%%=$(MAKE)=@@@%%%'
3484 _ACEOF
3485 # GNU make sometimes prints "make[1]: Entering ...", which would confuse us.
3486 case `${MAKE-make} -f conftest.make 2>/dev/null` in
3487 *@@@%%%=?*=@@@%%%*)
3488 eval ac_cv_prog_make_${ac_make}_set=yes;;
3490 eval ac_cv_prog_make_${ac_make}_set=no;;
3491 esac
3492 rm -f conftest.make
3494 if eval test \$ac_cv_prog_make_${ac_make}_set = yes; then
3495 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
3496 $as_echo "yes" >&6; }
3497 SET_MAKE=
3498 else
3499 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3500 $as_echo "no" >&6; }
3501 SET_MAKE="MAKE=${MAKE-make}"
3504 ac_ext=c
3505 ac_cpp='$CPP $CPPFLAGS'
3506 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
3507 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
3508 ac_compiler_gnu=$ac_cv_c_compiler_gnu
3509 if test -n "$ac_tool_prefix"; then
3510 # Extract the first word of "${ac_tool_prefix}gcc", so it can be a program name with args.
3511 set dummy ${ac_tool_prefix}gcc; ac_word=$2
3512 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3513 $as_echo_n "checking for $ac_word... " >&6; }
3514 if ${ac_cv_prog_CC+:} false; then :
3515 $as_echo_n "(cached) " >&6
3516 else
3517 if test -n "$CC"; then
3518 ac_cv_prog_CC="$CC" # Let the user override the test.
3519 else
3520 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3521 for as_dir in $PATH
3523 IFS=$as_save_IFS
3524 test -z "$as_dir" && as_dir=.
3525 for ac_exec_ext in '' $ac_executable_extensions; do
3526 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
3527 ac_cv_prog_CC="${ac_tool_prefix}gcc"
3528 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3529 break 2
3531 done
3532 done
3533 IFS=$as_save_IFS
3537 CC=$ac_cv_prog_CC
3538 if test -n "$CC"; then
3539 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
3540 $as_echo "$CC" >&6; }
3541 else
3542 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3543 $as_echo "no" >&6; }
3548 if test -z "$ac_cv_prog_CC"; then
3549 ac_ct_CC=$CC
3550 # Extract the first word of "gcc", so it can be a program name with args.
3551 set dummy gcc; ac_word=$2
3552 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3553 $as_echo_n "checking for $ac_word... " >&6; }
3554 if ${ac_cv_prog_ac_ct_CC+:} false; then :
3555 $as_echo_n "(cached) " >&6
3556 else
3557 if test -n "$ac_ct_CC"; then
3558 ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
3559 else
3560 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3561 for as_dir in $PATH
3563 IFS=$as_save_IFS
3564 test -z "$as_dir" && as_dir=.
3565 for ac_exec_ext in '' $ac_executable_extensions; do
3566 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
3567 ac_cv_prog_ac_ct_CC="gcc"
3568 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3569 break 2
3571 done
3572 done
3573 IFS=$as_save_IFS
3577 ac_ct_CC=$ac_cv_prog_ac_ct_CC
3578 if test -n "$ac_ct_CC"; then
3579 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CC" >&5
3580 $as_echo "$ac_ct_CC" >&6; }
3581 else
3582 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3583 $as_echo "no" >&6; }
3586 if test "x$ac_ct_CC" = x; then
3587 CC=""
3588 else
3589 case $cross_compiling:$ac_tool_warned in
3590 yes:)
3591 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
3592 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
3593 ac_tool_warned=yes ;;
3594 esac
3595 CC=$ac_ct_CC
3597 else
3598 CC="$ac_cv_prog_CC"
3601 if test -z "$CC"; then
3602 if test -n "$ac_tool_prefix"; then
3603 # Extract the first word of "${ac_tool_prefix}cc", so it can be a program name with args.
3604 set dummy ${ac_tool_prefix}cc; ac_word=$2
3605 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3606 $as_echo_n "checking for $ac_word... " >&6; }
3607 if ${ac_cv_prog_CC+:} false; then :
3608 $as_echo_n "(cached) " >&6
3609 else
3610 if test -n "$CC"; then
3611 ac_cv_prog_CC="$CC" # Let the user override the test.
3612 else
3613 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3614 for as_dir in $PATH
3616 IFS=$as_save_IFS
3617 test -z "$as_dir" && as_dir=.
3618 for ac_exec_ext in '' $ac_executable_extensions; do
3619 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
3620 ac_cv_prog_CC="${ac_tool_prefix}cc"
3621 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3622 break 2
3624 done
3625 done
3626 IFS=$as_save_IFS
3630 CC=$ac_cv_prog_CC
3631 if test -n "$CC"; then
3632 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
3633 $as_echo "$CC" >&6; }
3634 else
3635 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3636 $as_echo "no" >&6; }
3642 if test -z "$CC"; then
3643 # Extract the first word of "cc", so it can be a program name with args.
3644 set dummy cc; ac_word=$2
3645 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3646 $as_echo_n "checking for $ac_word... " >&6; }
3647 if ${ac_cv_prog_CC+:} false; then :
3648 $as_echo_n "(cached) " >&6
3649 else
3650 if test -n "$CC"; then
3651 ac_cv_prog_CC="$CC" # Let the user override the test.
3652 else
3653 ac_prog_rejected=no
3654 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3655 for as_dir in $PATH
3657 IFS=$as_save_IFS
3658 test -z "$as_dir" && as_dir=.
3659 for ac_exec_ext in '' $ac_executable_extensions; do
3660 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
3661 if test "$as_dir/$ac_word$ac_exec_ext" = "/usr/ucb/cc"; then
3662 ac_prog_rejected=yes
3663 continue
3665 ac_cv_prog_CC="cc"
3666 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3667 break 2
3669 done
3670 done
3671 IFS=$as_save_IFS
3673 if test $ac_prog_rejected = yes; then
3674 # We found a bogon in the path, so make sure we never use it.
3675 set dummy $ac_cv_prog_CC
3676 shift
3677 if test $# != 0; then
3678 # We chose a different compiler from the bogus one.
3679 # However, it has the same basename, so the bogon will be chosen
3680 # first if we set CC to just the basename; use the full file name.
3681 shift
3682 ac_cv_prog_CC="$as_dir/$ac_word${1+' '}$@"
3687 CC=$ac_cv_prog_CC
3688 if test -n "$CC"; then
3689 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
3690 $as_echo "$CC" >&6; }
3691 else
3692 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3693 $as_echo "no" >&6; }
3698 if test -z "$CC"; then
3699 if test -n "$ac_tool_prefix"; then
3700 for ac_prog in cl.exe
3702 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
3703 set dummy $ac_tool_prefix$ac_prog; ac_word=$2
3704 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3705 $as_echo_n "checking for $ac_word... " >&6; }
3706 if ${ac_cv_prog_CC+:} false; then :
3707 $as_echo_n "(cached) " >&6
3708 else
3709 if test -n "$CC"; then
3710 ac_cv_prog_CC="$CC" # Let the user override the test.
3711 else
3712 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3713 for as_dir in $PATH
3715 IFS=$as_save_IFS
3716 test -z "$as_dir" && as_dir=.
3717 for ac_exec_ext in '' $ac_executable_extensions; do
3718 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
3719 ac_cv_prog_CC="$ac_tool_prefix$ac_prog"
3720 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3721 break 2
3723 done
3724 done
3725 IFS=$as_save_IFS
3729 CC=$ac_cv_prog_CC
3730 if test -n "$CC"; then
3731 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
3732 $as_echo "$CC" >&6; }
3733 else
3734 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3735 $as_echo "no" >&6; }
3739 test -n "$CC" && break
3740 done
3742 if test -z "$CC"; then
3743 ac_ct_CC=$CC
3744 for ac_prog in cl.exe
3746 # Extract the first word of "$ac_prog", so it can be a program name with args.
3747 set dummy $ac_prog; ac_word=$2
3748 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3749 $as_echo_n "checking for $ac_word... " >&6; }
3750 if ${ac_cv_prog_ac_ct_CC+:} false; then :
3751 $as_echo_n "(cached) " >&6
3752 else
3753 if test -n "$ac_ct_CC"; then
3754 ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
3755 else
3756 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3757 for as_dir in $PATH
3759 IFS=$as_save_IFS
3760 test -z "$as_dir" && as_dir=.
3761 for ac_exec_ext in '' $ac_executable_extensions; do
3762 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
3763 ac_cv_prog_ac_ct_CC="$ac_prog"
3764 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3765 break 2
3767 done
3768 done
3769 IFS=$as_save_IFS
3773 ac_ct_CC=$ac_cv_prog_ac_ct_CC
3774 if test -n "$ac_ct_CC"; then
3775 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CC" >&5
3776 $as_echo "$ac_ct_CC" >&6; }
3777 else
3778 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3779 $as_echo "no" >&6; }
3783 test -n "$ac_ct_CC" && break
3784 done
3786 if test "x$ac_ct_CC" = x; then
3787 CC=""
3788 else
3789 case $cross_compiling:$ac_tool_warned in
3790 yes:)
3791 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
3792 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
3793 ac_tool_warned=yes ;;
3794 esac
3795 CC=$ac_ct_CC
3802 test -z "$CC" && { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
3803 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
3804 as_fn_error $? "no acceptable C compiler found in \$PATH
3805 See \`config.log' for more details" "$LINENO" 5; }
3807 # Provide some information about the compiler.
3808 $as_echo "$as_me:${as_lineno-$LINENO}: checking for C compiler version" >&5
3809 set X $ac_compile
3810 ac_compiler=$2
3811 for ac_option in --version -v -V -qversion; do
3812 { { ac_try="$ac_compiler $ac_option >&5"
3813 case "(($ac_try" in
3814 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3815 *) ac_try_echo=$ac_try;;
3816 esac
3817 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
3818 $as_echo "$ac_try_echo"; } >&5
3819 (eval "$ac_compiler $ac_option >&5") 2>conftest.err
3820 ac_status=$?
3821 if test -s conftest.err; then
3822 sed '10a\
3823 ... rest of stderr output deleted ...
3824 10q' conftest.err >conftest.er1
3825 cat conftest.er1 >&5
3827 rm -f conftest.er1 conftest.err
3828 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
3829 test $ac_status = 0; }
3830 done
3832 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3833 /* end confdefs.h. */
3836 main ()
3840 return 0;
3842 _ACEOF
3843 ac_clean_files_save=$ac_clean_files
3844 ac_clean_files="$ac_clean_files a.out a.out.dSYM a.exe b.out"
3845 # Try to create an executable without -o first, disregard a.out.
3846 # It will help us diagnose broken compilers, and finding out an intuition
3847 # of exeext.
3848 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the C compiler works" >&5
3849 $as_echo_n "checking whether the C compiler works... " >&6; }
3850 ac_link_default=`$as_echo "$ac_link" | sed 's/ -o *conftest[^ ]*//'`
3852 # The possible output files:
3853 ac_files="a.out conftest.exe conftest a.exe a_out.exe b.out conftest.*"
3855 ac_rmfiles=
3856 for ac_file in $ac_files
3858 case $ac_file in
3859 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj ) ;;
3860 * ) ac_rmfiles="$ac_rmfiles $ac_file";;
3861 esac
3862 done
3863 rm -f $ac_rmfiles
3865 if { { ac_try="$ac_link_default"
3866 case "(($ac_try" in
3867 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3868 *) ac_try_echo=$ac_try;;
3869 esac
3870 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
3871 $as_echo "$ac_try_echo"; } >&5
3872 (eval "$ac_link_default") 2>&5
3873 ac_status=$?
3874 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
3875 test $ac_status = 0; }; then :
3876 # Autoconf-2.13 could set the ac_cv_exeext variable to `no'.
3877 # So ignore a value of `no', otherwise this would lead to `EXEEXT = no'
3878 # in a Makefile. We should not override ac_cv_exeext if it was cached,
3879 # so that the user can short-circuit this test for compilers unknown to
3880 # Autoconf.
3881 for ac_file in $ac_files ''
3883 test -f "$ac_file" || continue
3884 case $ac_file in
3885 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj )
3887 [ab].out )
3888 # We found the default executable, but exeext='' is most
3889 # certainly right.
3890 break;;
3891 *.* )
3892 if test "${ac_cv_exeext+set}" = set && test "$ac_cv_exeext" != no;
3893 then :; else
3894 ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'`
3896 # We set ac_cv_exeext here because the later test for it is not
3897 # safe: cross compilers may not add the suffix if given an `-o'
3898 # argument, so we may need to know it at that point already.
3899 # Even if this section looks crufty: it has the advantage of
3900 # actually working.
3901 break;;
3903 break;;
3904 esac
3905 done
3906 test "$ac_cv_exeext" = no && ac_cv_exeext=
3908 else
3909 ac_file=''
3911 if test -z "$ac_file"; then :
3912 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3913 $as_echo "no" >&6; }
3914 $as_echo "$as_me: failed program was:" >&5
3915 sed 's/^/| /' conftest.$ac_ext >&5
3917 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
3918 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
3919 as_fn_error 77 "C compiler cannot create executables
3920 See \`config.log' for more details" "$LINENO" 5; }
3921 else
3922 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
3923 $as_echo "yes" >&6; }
3925 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for C compiler default output file name" >&5
3926 $as_echo_n "checking for C compiler default output file name... " >&6; }
3927 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_file" >&5
3928 $as_echo "$ac_file" >&6; }
3929 ac_exeext=$ac_cv_exeext
3931 rm -f -r a.out a.out.dSYM a.exe conftest$ac_cv_exeext b.out
3932 ac_clean_files=$ac_clean_files_save
3933 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for suffix of executables" >&5
3934 $as_echo_n "checking for suffix of executables... " >&6; }
3935 if { { ac_try="$ac_link"
3936 case "(($ac_try" in
3937 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3938 *) ac_try_echo=$ac_try;;
3939 esac
3940 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
3941 $as_echo "$ac_try_echo"; } >&5
3942 (eval "$ac_link") 2>&5
3943 ac_status=$?
3944 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
3945 test $ac_status = 0; }; then :
3946 # If both `conftest.exe' and `conftest' are `present' (well, observable)
3947 # catch `conftest.exe'. For instance with Cygwin, `ls conftest' will
3948 # work properly (i.e., refer to `conftest.exe'), while it won't with
3949 # `rm'.
3950 for ac_file in conftest.exe conftest conftest.*; do
3951 test -f "$ac_file" || continue
3952 case $ac_file in
3953 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj ) ;;
3954 *.* ) ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'`
3955 break;;
3956 * ) break;;
3957 esac
3958 done
3959 else
3960 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
3961 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
3962 as_fn_error $? "cannot compute suffix of executables: cannot compile and link
3963 See \`config.log' for more details" "$LINENO" 5; }
3965 rm -f conftest conftest$ac_cv_exeext
3966 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_exeext" >&5
3967 $as_echo "$ac_cv_exeext" >&6; }
3969 rm -f conftest.$ac_ext
3970 EXEEXT=$ac_cv_exeext
3971 ac_exeext=$EXEEXT
3972 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3973 /* end confdefs.h. */
3974 #include <stdio.h>
3976 main ()
3978 FILE *f = fopen ("conftest.out", "w");
3979 return ferror (f) || fclose (f) != 0;
3982 return 0;
3984 _ACEOF
3985 ac_clean_files="$ac_clean_files conftest.out"
3986 # Check that the compiler produces executables we can run. If not, either
3987 # the compiler is broken, or we cross compile.
3988 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are cross compiling" >&5
3989 $as_echo_n "checking whether we are cross compiling... " >&6; }
3990 if test "$cross_compiling" != yes; then
3991 { { ac_try="$ac_link"
3992 case "(($ac_try" in
3993 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3994 *) ac_try_echo=$ac_try;;
3995 esac
3996 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
3997 $as_echo "$ac_try_echo"; } >&5
3998 (eval "$ac_link") 2>&5
3999 ac_status=$?
4000 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
4001 test $ac_status = 0; }
4002 if { ac_try='./conftest$ac_cv_exeext'
4003 { { case "(($ac_try" in
4004 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
4005 *) ac_try_echo=$ac_try;;
4006 esac
4007 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
4008 $as_echo "$ac_try_echo"; } >&5
4009 (eval "$ac_try") 2>&5
4010 ac_status=$?
4011 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
4012 test $ac_status = 0; }; }; then
4013 cross_compiling=no
4014 else
4015 if test "$cross_compiling" = maybe; then
4016 cross_compiling=yes
4017 else
4018 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
4019 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
4020 as_fn_error $? "cannot run C compiled programs.
4021 If you meant to cross compile, use \`--host'.
4022 See \`config.log' for more details" "$LINENO" 5; }
4026 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $cross_compiling" >&5
4027 $as_echo "$cross_compiling" >&6; }
4029 rm -f conftest.$ac_ext conftest$ac_cv_exeext conftest.out
4030 ac_clean_files=$ac_clean_files_save
4031 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for suffix of object files" >&5
4032 $as_echo_n "checking for suffix of object files... " >&6; }
4033 if ${ac_cv_objext+:} false; then :
4034 $as_echo_n "(cached) " >&6
4035 else
4036 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4037 /* end confdefs.h. */
4040 main ()
4044 return 0;
4046 _ACEOF
4047 rm -f conftest.o conftest.obj
4048 if { { ac_try="$ac_compile"
4049 case "(($ac_try" in
4050 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
4051 *) ac_try_echo=$ac_try;;
4052 esac
4053 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
4054 $as_echo "$ac_try_echo"; } >&5
4055 (eval "$ac_compile") 2>&5
4056 ac_status=$?
4057 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
4058 test $ac_status = 0; }; then :
4059 for ac_file in conftest.o conftest.obj conftest.*; do
4060 test -f "$ac_file" || continue;
4061 case $ac_file in
4062 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM ) ;;
4063 *) ac_cv_objext=`expr "$ac_file" : '.*\.\(.*\)'`
4064 break;;
4065 esac
4066 done
4067 else
4068 $as_echo "$as_me: failed program was:" >&5
4069 sed 's/^/| /' conftest.$ac_ext >&5
4071 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
4072 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
4073 as_fn_error $? "cannot compute suffix of object files: cannot compile
4074 See \`config.log' for more details" "$LINENO" 5; }
4076 rm -f conftest.$ac_cv_objext conftest.$ac_ext
4078 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_objext" >&5
4079 $as_echo "$ac_cv_objext" >&6; }
4080 OBJEXT=$ac_cv_objext
4081 ac_objext=$OBJEXT
4082 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are using the GNU C compiler" >&5
4083 $as_echo_n "checking whether we are using the GNU C compiler... " >&6; }
4084 if ${ac_cv_c_compiler_gnu+:} false; then :
4085 $as_echo_n "(cached) " >&6
4086 else
4087 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4088 /* end confdefs.h. */
4091 main ()
4093 #ifndef __GNUC__
4094 choke me
4095 #endif
4098 return 0;
4100 _ACEOF
4101 if ac_fn_c_try_compile "$LINENO"; then :
4102 ac_compiler_gnu=yes
4103 else
4104 ac_compiler_gnu=no
4106 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4107 ac_cv_c_compiler_gnu=$ac_compiler_gnu
4110 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_compiler_gnu" >&5
4111 $as_echo "$ac_cv_c_compiler_gnu" >&6; }
4112 if test $ac_compiler_gnu = yes; then
4113 GCC=yes
4114 else
4115 GCC=
4117 ac_test_CFLAGS=${CFLAGS+set}
4118 ac_save_CFLAGS=$CFLAGS
4119 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CC accepts -g" >&5
4120 $as_echo_n "checking whether $CC accepts -g... " >&6; }
4121 if ${ac_cv_prog_cc_g+:} false; then :
4122 $as_echo_n "(cached) " >&6
4123 else
4124 ac_save_c_werror_flag=$ac_c_werror_flag
4125 ac_c_werror_flag=yes
4126 ac_cv_prog_cc_g=no
4127 CFLAGS="-g"
4128 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4129 /* end confdefs.h. */
4132 main ()
4136 return 0;
4138 _ACEOF
4139 if ac_fn_c_try_compile "$LINENO"; then :
4140 ac_cv_prog_cc_g=yes
4141 else
4142 CFLAGS=""
4143 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4144 /* end confdefs.h. */
4147 main ()
4151 return 0;
4153 _ACEOF
4154 if ac_fn_c_try_compile "$LINENO"; then :
4156 else
4157 ac_c_werror_flag=$ac_save_c_werror_flag
4158 CFLAGS="-g"
4159 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4160 /* end confdefs.h. */
4163 main ()
4167 return 0;
4169 _ACEOF
4170 if ac_fn_c_try_compile "$LINENO"; then :
4171 ac_cv_prog_cc_g=yes
4173 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4175 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4177 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4178 ac_c_werror_flag=$ac_save_c_werror_flag
4180 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_g" >&5
4181 $as_echo "$ac_cv_prog_cc_g" >&6; }
4182 if test "$ac_test_CFLAGS" = set; then
4183 CFLAGS=$ac_save_CFLAGS
4184 elif test $ac_cv_prog_cc_g = yes; then
4185 if test "$GCC" = yes; then
4186 CFLAGS="-g -O2"
4187 else
4188 CFLAGS="-g"
4190 else
4191 if test "$GCC" = yes; then
4192 CFLAGS="-O2"
4193 else
4194 CFLAGS=
4197 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $CC option to accept ISO C89" >&5
4198 $as_echo_n "checking for $CC option to accept ISO C89... " >&6; }
4199 if ${ac_cv_prog_cc_c89+:} false; then :
4200 $as_echo_n "(cached) " >&6
4201 else
4202 ac_cv_prog_cc_c89=no
4203 ac_save_CC=$CC
4204 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4205 /* end confdefs.h. */
4206 #include <stdarg.h>
4207 #include <stdio.h>
4208 struct stat;
4209 /* Most of the following tests are stolen from RCS 5.7's src/conf.sh. */
4210 struct buf { int x; };
4211 FILE * (*rcsopen) (struct buf *, struct stat *, int);
4212 static char *e (p, i)
4213 char **p;
4214 int i;
4216 return p[i];
4218 static char *f (char * (*g) (char **, int), char **p, ...)
4220 char *s;
4221 va_list v;
4222 va_start (v,p);
4223 s = g (p, va_arg (v,int));
4224 va_end (v);
4225 return s;
4228 /* OSF 4.0 Compaq cc is some sort of almost-ANSI by default. It has
4229 function prototypes and stuff, but not '\xHH' hex character constants.
4230 These don't provoke an error unfortunately, instead are silently treated
4231 as 'x'. The following induces an error, until -std is added to get
4232 proper ANSI mode. Curiously '\x00'!='x' always comes out true, for an
4233 array size at least. It's necessary to write '\x00'==0 to get something
4234 that's true only with -std. */
4235 int osf4_cc_array ['\x00' == 0 ? 1 : -1];
4237 /* IBM C 6 for AIX is almost-ANSI by default, but it replaces macro parameters
4238 inside strings and character constants. */
4239 #define FOO(x) 'x'
4240 int xlc6_cc_array[FOO(a) == 'x' ? 1 : -1];
4242 int test (int i, double x);
4243 struct s1 {int (*f) (int a);};
4244 struct s2 {int (*f) (double a);};
4245 int pairnames (int, char **, FILE *(*)(struct buf *, struct stat *, int), int, int);
4246 int argc;
4247 char **argv;
4249 main ()
4251 return f (e, argv, 0) != argv[0] || f (e, argv, 1) != argv[1];
4253 return 0;
4255 _ACEOF
4256 for ac_arg in '' -qlanglvl=extc89 -qlanglvl=ansi -std \
4257 -Ae "-Aa -D_HPUX_SOURCE" "-Xc -D__EXTENSIONS__"
4259 CC="$ac_save_CC $ac_arg"
4260 if ac_fn_c_try_compile "$LINENO"; then :
4261 ac_cv_prog_cc_c89=$ac_arg
4263 rm -f core conftest.err conftest.$ac_objext
4264 test "x$ac_cv_prog_cc_c89" != "xno" && break
4265 done
4266 rm -f conftest.$ac_ext
4267 CC=$ac_save_CC
4270 # AC_CACHE_VAL
4271 case "x$ac_cv_prog_cc_c89" in
4273 { $as_echo "$as_me:${as_lineno-$LINENO}: result: none needed" >&5
4274 $as_echo "none needed" >&6; } ;;
4275 xno)
4276 { $as_echo "$as_me:${as_lineno-$LINENO}: result: unsupported" >&5
4277 $as_echo "unsupported" >&6; } ;;
4279 CC="$CC $ac_cv_prog_cc_c89"
4280 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_c89" >&5
4281 $as_echo "$ac_cv_prog_cc_c89" >&6; } ;;
4282 esac
4283 if test "x$ac_cv_prog_cc_c89" != xno; then :
4287 ac_ext=c
4288 ac_cpp='$CPP $CPPFLAGS'
4289 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
4290 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
4291 ac_compiler_gnu=$ac_cv_c_compiler_gnu
4293 ac_ext=cpp
4294 ac_cpp='$CXXCPP $CPPFLAGS'
4295 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
4296 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
4297 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
4298 if test -z "$CXX"; then
4299 if test -n "$CCC"; then
4300 CXX=$CCC
4301 else
4302 if test -n "$ac_tool_prefix"; then
4303 for ac_prog in g++ c++ gpp aCC CC cxx cc++ cl.exe FCC KCC RCC xlC_r xlC
4305 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
4306 set dummy $ac_tool_prefix$ac_prog; ac_word=$2
4307 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4308 $as_echo_n "checking for $ac_word... " >&6; }
4309 if ${ac_cv_prog_CXX+:} false; then :
4310 $as_echo_n "(cached) " >&6
4311 else
4312 if test -n "$CXX"; then
4313 ac_cv_prog_CXX="$CXX" # Let the user override the test.
4314 else
4315 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4316 for as_dir in $PATH
4318 IFS=$as_save_IFS
4319 test -z "$as_dir" && as_dir=.
4320 for ac_exec_ext in '' $ac_executable_extensions; do
4321 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
4322 ac_cv_prog_CXX="$ac_tool_prefix$ac_prog"
4323 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4324 break 2
4326 done
4327 done
4328 IFS=$as_save_IFS
4332 CXX=$ac_cv_prog_CXX
4333 if test -n "$CXX"; then
4334 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CXX" >&5
4335 $as_echo "$CXX" >&6; }
4336 else
4337 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4338 $as_echo "no" >&6; }
4342 test -n "$CXX" && break
4343 done
4345 if test -z "$CXX"; then
4346 ac_ct_CXX=$CXX
4347 for ac_prog in g++ c++ gpp aCC CC cxx cc++ cl.exe FCC KCC RCC xlC_r xlC
4349 # Extract the first word of "$ac_prog", so it can be a program name with args.
4350 set dummy $ac_prog; ac_word=$2
4351 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4352 $as_echo_n "checking for $ac_word... " >&6; }
4353 if ${ac_cv_prog_ac_ct_CXX+:} false; then :
4354 $as_echo_n "(cached) " >&6
4355 else
4356 if test -n "$ac_ct_CXX"; then
4357 ac_cv_prog_ac_ct_CXX="$ac_ct_CXX" # Let the user override the test.
4358 else
4359 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4360 for as_dir in $PATH
4362 IFS=$as_save_IFS
4363 test -z "$as_dir" && as_dir=.
4364 for ac_exec_ext in '' $ac_executable_extensions; do
4365 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
4366 ac_cv_prog_ac_ct_CXX="$ac_prog"
4367 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4368 break 2
4370 done
4371 done
4372 IFS=$as_save_IFS
4376 ac_ct_CXX=$ac_cv_prog_ac_ct_CXX
4377 if test -n "$ac_ct_CXX"; then
4378 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CXX" >&5
4379 $as_echo "$ac_ct_CXX" >&6; }
4380 else
4381 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4382 $as_echo "no" >&6; }
4386 test -n "$ac_ct_CXX" && break
4387 done
4389 if test "x$ac_ct_CXX" = x; then
4390 CXX="g++"
4391 else
4392 case $cross_compiling:$ac_tool_warned in
4393 yes:)
4394 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
4395 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
4396 ac_tool_warned=yes ;;
4397 esac
4398 CXX=$ac_ct_CXX
4404 # Provide some information about the compiler.
4405 $as_echo "$as_me:${as_lineno-$LINENO}: checking for C++ compiler version" >&5
4406 set X $ac_compile
4407 ac_compiler=$2
4408 for ac_option in --version -v -V -qversion; do
4409 { { ac_try="$ac_compiler $ac_option >&5"
4410 case "(($ac_try" in
4411 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
4412 *) ac_try_echo=$ac_try;;
4413 esac
4414 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
4415 $as_echo "$ac_try_echo"; } >&5
4416 (eval "$ac_compiler $ac_option >&5") 2>conftest.err
4417 ac_status=$?
4418 if test -s conftest.err; then
4419 sed '10a\
4420 ... rest of stderr output deleted ...
4421 10q' conftest.err >conftest.er1
4422 cat conftest.er1 >&5
4424 rm -f conftest.er1 conftest.err
4425 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
4426 test $ac_status = 0; }
4427 done
4429 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are using the GNU C++ compiler" >&5
4430 $as_echo_n "checking whether we are using the GNU C++ compiler... " >&6; }
4431 if ${ac_cv_cxx_compiler_gnu+:} false; then :
4432 $as_echo_n "(cached) " >&6
4433 else
4434 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4435 /* end confdefs.h. */
4438 main ()
4440 #ifndef __GNUC__
4441 choke me
4442 #endif
4445 return 0;
4447 _ACEOF
4448 if ac_fn_cxx_try_compile "$LINENO"; then :
4449 ac_compiler_gnu=yes
4450 else
4451 ac_compiler_gnu=no
4453 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4454 ac_cv_cxx_compiler_gnu=$ac_compiler_gnu
4457 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cxx_compiler_gnu" >&5
4458 $as_echo "$ac_cv_cxx_compiler_gnu" >&6; }
4459 if test $ac_compiler_gnu = yes; then
4460 GXX=yes
4461 else
4462 GXX=
4464 ac_test_CXXFLAGS=${CXXFLAGS+set}
4465 ac_save_CXXFLAGS=$CXXFLAGS
4466 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CXX accepts -g" >&5
4467 $as_echo_n "checking whether $CXX accepts -g... " >&6; }
4468 if ${ac_cv_prog_cxx_g+:} false; then :
4469 $as_echo_n "(cached) " >&6
4470 else
4471 ac_save_cxx_werror_flag=$ac_cxx_werror_flag
4472 ac_cxx_werror_flag=yes
4473 ac_cv_prog_cxx_g=no
4474 CXXFLAGS="-g"
4475 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4476 /* end confdefs.h. */
4479 main ()
4483 return 0;
4485 _ACEOF
4486 if ac_fn_cxx_try_compile "$LINENO"; then :
4487 ac_cv_prog_cxx_g=yes
4488 else
4489 CXXFLAGS=""
4490 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4491 /* end confdefs.h. */
4494 main ()
4498 return 0;
4500 _ACEOF
4501 if ac_fn_cxx_try_compile "$LINENO"; then :
4503 else
4504 ac_cxx_werror_flag=$ac_save_cxx_werror_flag
4505 CXXFLAGS="-g"
4506 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4507 /* end confdefs.h. */
4510 main ()
4514 return 0;
4516 _ACEOF
4517 if ac_fn_cxx_try_compile "$LINENO"; then :
4518 ac_cv_prog_cxx_g=yes
4520 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4522 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4524 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4525 ac_cxx_werror_flag=$ac_save_cxx_werror_flag
4527 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cxx_g" >&5
4528 $as_echo "$ac_cv_prog_cxx_g" >&6; }
4529 if test "$ac_test_CXXFLAGS" = set; then
4530 CXXFLAGS=$ac_save_CXXFLAGS
4531 elif test $ac_cv_prog_cxx_g = yes; then
4532 if test "$GXX" = yes; then
4533 CXXFLAGS="-g -O2"
4534 else
4535 CXXFLAGS="-g"
4537 else
4538 if test "$GXX" = yes; then
4539 CXXFLAGS="-O2"
4540 else
4541 CXXFLAGS=
4544 ac_ext=c
4545 ac_cpp='$CPP $CPPFLAGS'
4546 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
4547 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
4548 ac_compiler_gnu=$ac_cv_c_compiler_gnu
4550 if test -n "$ac_tool_prefix"; then
4551 # Extract the first word of "${ac_tool_prefix}cpp", so it can be a program name with args.
4552 set dummy ${ac_tool_prefix}cpp; ac_word=$2
4553 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4554 $as_echo_n "checking for $ac_word... " >&6; }
4555 if ${ac_cv_prog_CPPBIN+:} false; then :
4556 $as_echo_n "(cached) " >&6
4557 else
4558 if test -n "$CPPBIN"; then
4559 ac_cv_prog_CPPBIN="$CPPBIN" # Let the user override the test.
4560 else
4561 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4562 for as_dir in $PATH
4564 IFS=$as_save_IFS
4565 test -z "$as_dir" && as_dir=.
4566 for ac_exec_ext in '' $ac_executable_extensions; do
4567 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
4568 ac_cv_prog_CPPBIN="${ac_tool_prefix}cpp"
4569 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4570 break 2
4572 done
4573 done
4574 IFS=$as_save_IFS
4578 CPPBIN=$ac_cv_prog_CPPBIN
4579 if test -n "$CPPBIN"; then
4580 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CPPBIN" >&5
4581 $as_echo "$CPPBIN" >&6; }
4582 else
4583 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4584 $as_echo "no" >&6; }
4589 if test -z "$ac_cv_prog_CPPBIN"; then
4590 ac_ct_CPPBIN=$CPPBIN
4591 # Extract the first word of "cpp", so it can be a program name with args.
4592 set dummy cpp; ac_word=$2
4593 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4594 $as_echo_n "checking for $ac_word... " >&6; }
4595 if ${ac_cv_prog_ac_ct_CPPBIN+:} false; then :
4596 $as_echo_n "(cached) " >&6
4597 else
4598 if test -n "$ac_ct_CPPBIN"; then
4599 ac_cv_prog_ac_ct_CPPBIN="$ac_ct_CPPBIN" # Let the user override the test.
4600 else
4601 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4602 for as_dir in $PATH
4604 IFS=$as_save_IFS
4605 test -z "$as_dir" && as_dir=.
4606 for ac_exec_ext in '' $ac_executable_extensions; do
4607 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
4608 ac_cv_prog_ac_ct_CPPBIN="cpp"
4609 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4610 break 2
4612 done
4613 done
4614 IFS=$as_save_IFS
4618 ac_ct_CPPBIN=$ac_cv_prog_ac_ct_CPPBIN
4619 if test -n "$ac_ct_CPPBIN"; then
4620 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CPPBIN" >&5
4621 $as_echo "$ac_ct_CPPBIN" >&6; }
4622 else
4623 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4624 $as_echo "no" >&6; }
4627 if test "x$ac_ct_CPPBIN" = x; then
4628 CPPBIN="cpp"
4629 else
4630 case $cross_compiling:$ac_tool_warned in
4631 yes:)
4632 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
4633 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
4634 ac_tool_warned=yes ;;
4635 esac
4636 CPPBIN=$ac_ct_CPPBIN
4638 else
4639 CPPBIN="$ac_cv_prog_CPPBIN"
4643 cat >>confdefs.h <<_ACEOF
4644 #define EXEEXT "$ac_exeext"
4645 _ACEOF
4648 case $host in
4649 *-darwin*)
4650 if test "x$enable_win64" = "xyes"
4651 then
4652 CC="$CC -m64"
4653 CXX="$CXX -m64"
4654 host_cpu="x86_64"
4655 notice_platform="64-bit "
4656 TARGETFLAGS="-m64"
4658 else
4659 CC="$CC -m32"
4660 CXX="$CXX -m32"
4661 host_cpu="i386"
4662 notice_platform="32-bit "
4663 TARGETFLAGS="-m32"
4665 enable_win16=${enable_win16:-yes}
4667 with_fontconfig=${with_fontconfig:-no}
4669 x86_64*)
4670 if test "x$enable_win64" != "xyes" -a "$cross_compiling" != "yes"
4671 then
4672 CC="$CC -m32"
4673 CXX="$CXX -m32"
4674 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CC works" >&5
4675 $as_echo_n "checking whether $CC works... " >&6; }
4677 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4678 /* end confdefs.h. */
4681 main ()
4685 return 0;
4687 _ACEOF
4688 if ac_fn_c_try_link "$LINENO"; then :
4689 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
4690 $as_echo "yes" >&6; }
4691 else
4692 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4693 $as_echo "no" >&6; }
4694 as_fn_error $? "Cannot build a 32-bit program, you need to install 32-bit development libraries." "$LINENO" 5
4696 rm -f core conftest.err conftest.$ac_objext \
4697 conftest$ac_exeext conftest.$ac_ext
4698 host_cpu="i386"
4699 notice_platform="32-bit "
4700 TARGETFLAGS="-m32"
4702 enable_win16=${enable_win16:-yes}
4703 else
4704 if test "x${GCC}" = "xyes"
4705 then
4706 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CC supports __builtin_ms_va_list" >&5
4707 $as_echo_n "checking whether $CC supports __builtin_ms_va_list... " >&6; }
4708 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4709 /* end confdefs.h. */
4710 #include <stdarg.h>
4712 main ()
4714 void func(__builtin_ms_va_list *args);
4716 return 0;
4718 _ACEOF
4719 if ac_fn_c_try_compile "$LINENO"; then :
4720 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
4721 $as_echo "yes" >&6; }
4722 else
4723 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4724 $as_echo "no" >&6; }
4725 as_fn_error $? "You need gcc >= 4.4 to build Wine as 64-bit." "$LINENO" 5
4727 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4729 TARGETFLAGS="-m64"
4733 arm*)
4734 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CC supports Thumb" >&5
4735 $as_echo_n "checking whether $CC supports Thumb... " >&6; }
4736 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4737 /* end confdefs.h. */
4738 int ac_test(int i) { return i; }
4740 main ()
4742 asm(".thumb\nblx ac_test\n.arm"); if (ac_test(1)) return 1
4744 return 0;
4746 _ACEOF
4747 if ac_fn_c_try_link "$LINENO"; then :
4748 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
4749 $as_echo "yes" >&6; }
4750 else
4751 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4752 $as_echo "no" >&6; }
4753 as_fn_error $? "You need a target with Thumb support to build Wine for ARM." "$LINENO" 5
4755 rm -f core conftest.err conftest.$ac_objext \
4756 conftest$ac_exeext conftest.$ac_ext
4757 CFLAGS="$CFLAGS -marm"
4759 *-mingw32*|*-cygwin*)
4760 enable_win16=${enable_win16:-no}
4761 CFLAGS="$CFLAGS -D_WIN32"
4763 i[3456789]86*)
4764 enable_win16=${enable_win16:-yes}
4766 esac
4768 enable_win16=${enable_win16:-no}
4769 enable_win64=${enable_win64:-no}
4771 enable_winetest=${enable_winetest:-$enable_tests}
4773 if test -n "$with_wine64"
4774 then
4775 if test "x$enable_win64" = "xyes"
4776 then
4777 as_fn_error $? "--enable-win64 and --with-wine64 are mutually exclusive.
4778 --enable-win64 should be used in the 64-bit build tree, --with-wine64 in the 32-bit Wow64 build tree." "$LINENO" 5
4780 WOW64_DISABLE=\#
4782 enable_fonts=${enable_fonts:-no}
4783 enable_server=${enable_server:-no}
4784 elif test "x$enable_win64" = "xyes"
4785 then
4786 test "x$libdir" != "x\${exec_prefix}/lib" || libdir="\${exec_prefix}/lib64"
4789 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for the directory containing the Wine tools" >&5
4790 $as_echo_n "checking for the directory containing the Wine tools... " >&6; }
4791 if ${wine_cv_toolsdir+:} false; then :
4792 $as_echo_n "(cached) " >&6
4793 else
4794 wine_cv_toolsdir="$with_wine_tools"
4795 if test -z "$with_wine_tools"; then
4796 if test "$cross_compiling" = "yes"; then
4797 as_fn_error $? "you must use the --with-wine-tools option when cross-compiling." "$LINENO" 5
4798 elif test -n "$with_wine64"; then
4799 wine_cv_toolsdir="$with_wine64"
4802 if test -z "$wine_cv_toolsdir"; then
4803 wine_cv_toolsdir="\$(top_builddir)"
4804 elif test -d "$wine_cv_toolsdir/tools/winebuild"; then
4805 case "$wine_cv_toolsdir" in
4806 /*) ;;
4807 *) wine_cv_toolsdir="\$(top_builddir)/$wine_cv_toolsdir" ;;
4808 esac
4809 enable_tools=${enable_tools:-no}
4810 else
4811 as_fn_error $? "could not find Wine tools in $wine_cv_toolsdir" "$LINENO" 5
4814 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $wine_cv_toolsdir" >&5
4815 $as_echo "$wine_cv_toolsdir" >&6; }
4816 TOOLSDIR=$wine_cv_toolsdir
4818 if test -n "$host_alias" -a "$host_alias" != "$build_alias"
4819 then
4820 TARGETFLAGS="-b $host_alias $TARGETFLAGS"
4824 for ac_prog in flex
4826 # Extract the first word of "$ac_prog", so it can be a program name with args.
4827 set dummy $ac_prog; ac_word=$2
4828 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4829 $as_echo_n "checking for $ac_word... " >&6; }
4830 if ${ac_cv_prog_FLEX+:} false; then :
4831 $as_echo_n "(cached) " >&6
4832 else
4833 if test -n "$FLEX"; then
4834 ac_cv_prog_FLEX="$FLEX" # Let the user override the test.
4835 else
4836 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4837 for as_dir in $PATH
4839 IFS=$as_save_IFS
4840 test -z "$as_dir" && as_dir=.
4841 for ac_exec_ext in '' $ac_executable_extensions; do
4842 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
4843 ac_cv_prog_FLEX="$ac_prog"
4844 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4845 break 2
4847 done
4848 done
4849 IFS=$as_save_IFS
4853 FLEX=$ac_cv_prog_FLEX
4854 if test -n "$FLEX"; then
4855 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $FLEX" >&5
4856 $as_echo "$FLEX" >&6; }
4857 else
4858 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4859 $as_echo "no" >&6; }
4863 test -n "$FLEX" && break
4864 done
4865 test -n "$FLEX" || FLEX="none"
4867 if test "$FLEX" = "none"
4868 then
4869 as_fn_error $? "no suitable flex found. Please install the 'flex' package." "$LINENO" 5
4871 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether flex is recent enough" >&5
4872 $as_echo_n "checking whether flex is recent enough... " >&6; }
4873 cat >conftest.l <<EOF
4874 %top{
4875 #include "prediluvian.h"
4879 if $FLEX -t conftest.l >/dev/null 2>&5
4880 then
4881 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
4882 $as_echo "yes" >&6; }
4883 else
4884 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4885 $as_echo "no" >&6; }
4886 as_fn_error $? "Your flex version is too old. Please install flex version 2.5.33 or newer." "$LINENO" 5
4889 for ac_prog in bison
4891 # Extract the first word of "$ac_prog", so it can be a program name with args.
4892 set dummy $ac_prog; ac_word=$2
4893 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4894 $as_echo_n "checking for $ac_word... " >&6; }
4895 if ${ac_cv_prog_BISON+:} false; then :
4896 $as_echo_n "(cached) " >&6
4897 else
4898 if test -n "$BISON"; then
4899 ac_cv_prog_BISON="$BISON" # Let the user override the test.
4900 else
4901 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4902 for as_dir in $PATH
4904 IFS=$as_save_IFS
4905 test -z "$as_dir" && as_dir=.
4906 for ac_exec_ext in '' $ac_executable_extensions; do
4907 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
4908 ac_cv_prog_BISON="$ac_prog"
4909 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4910 break 2
4912 done
4913 done
4914 IFS=$as_save_IFS
4918 BISON=$ac_cv_prog_BISON
4919 if test -n "$BISON"; then
4920 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $BISON" >&5
4921 $as_echo "$BISON" >&6; }
4922 else
4923 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4924 $as_echo "no" >&6; }
4928 test -n "$BISON" && break
4929 done
4930 test -n "$BISON" || BISON="none"
4932 if test "$BISON" = "none"
4933 then
4934 as_fn_error $? "no suitable bison found. Please install the 'bison' package." "$LINENO" 5
4937 if test -n "$ac_tool_prefix"; then
4938 for ac_prog in ar gar
4940 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
4941 set dummy $ac_tool_prefix$ac_prog; ac_word=$2
4942 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4943 $as_echo_n "checking for $ac_word... " >&6; }
4944 if ${ac_cv_prog_AR+:} false; then :
4945 $as_echo_n "(cached) " >&6
4946 else
4947 if test -n "$AR"; then
4948 ac_cv_prog_AR="$AR" # Let the user override the test.
4949 else
4950 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4951 for as_dir in $PATH
4953 IFS=$as_save_IFS
4954 test -z "$as_dir" && as_dir=.
4955 for ac_exec_ext in '' $ac_executable_extensions; do
4956 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
4957 ac_cv_prog_AR="$ac_tool_prefix$ac_prog"
4958 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4959 break 2
4961 done
4962 done
4963 IFS=$as_save_IFS
4967 AR=$ac_cv_prog_AR
4968 if test -n "$AR"; then
4969 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $AR" >&5
4970 $as_echo "$AR" >&6; }
4971 else
4972 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4973 $as_echo "no" >&6; }
4977 test -n "$AR" && break
4978 done
4980 if test -z "$AR"; then
4981 ac_ct_AR=$AR
4982 for ac_prog in ar gar
4984 # Extract the first word of "$ac_prog", so it can be a program name with args.
4985 set dummy $ac_prog; ac_word=$2
4986 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4987 $as_echo_n "checking for $ac_word... " >&6; }
4988 if ${ac_cv_prog_ac_ct_AR+:} false; then :
4989 $as_echo_n "(cached) " >&6
4990 else
4991 if test -n "$ac_ct_AR"; then
4992 ac_cv_prog_ac_ct_AR="$ac_ct_AR" # Let the user override the test.
4993 else
4994 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4995 for as_dir in $PATH
4997 IFS=$as_save_IFS
4998 test -z "$as_dir" && as_dir=.
4999 for ac_exec_ext in '' $ac_executable_extensions; do
5000 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
5001 ac_cv_prog_ac_ct_AR="$ac_prog"
5002 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5003 break 2
5005 done
5006 done
5007 IFS=$as_save_IFS
5011 ac_ct_AR=$ac_cv_prog_ac_ct_AR
5012 if test -n "$ac_ct_AR"; then
5013 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_AR" >&5
5014 $as_echo "$ac_ct_AR" >&6; }
5015 else
5016 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5017 $as_echo "no" >&6; }
5021 test -n "$ac_ct_AR" && break
5022 done
5024 if test "x$ac_ct_AR" = x; then
5025 AR="ar"
5026 else
5027 case $cross_compiling:$ac_tool_warned in
5028 yes:)
5029 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
5030 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
5031 ac_tool_warned=yes ;;
5032 esac
5033 AR=$ac_ct_AR
5037 if test -n "$ac_tool_prefix"; then
5038 # Extract the first word of "${ac_tool_prefix}strip", so it can be a program name with args.
5039 set dummy ${ac_tool_prefix}strip; ac_word=$2
5040 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5041 $as_echo_n "checking for $ac_word... " >&6; }
5042 if ${ac_cv_prog_STRIP+:} false; then :
5043 $as_echo_n "(cached) " >&6
5044 else
5045 if test -n "$STRIP"; then
5046 ac_cv_prog_STRIP="$STRIP" # Let the user override the test.
5047 else
5048 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5049 for as_dir in $PATH
5051 IFS=$as_save_IFS
5052 test -z "$as_dir" && as_dir=.
5053 for ac_exec_ext in '' $ac_executable_extensions; do
5054 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
5055 ac_cv_prog_STRIP="${ac_tool_prefix}strip"
5056 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5057 break 2
5059 done
5060 done
5061 IFS=$as_save_IFS
5065 STRIP=$ac_cv_prog_STRIP
5066 if test -n "$STRIP"; then
5067 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $STRIP" >&5
5068 $as_echo "$STRIP" >&6; }
5069 else
5070 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5071 $as_echo "no" >&6; }
5076 if test -z "$ac_cv_prog_STRIP"; then
5077 ac_ct_STRIP=$STRIP
5078 # Extract the first word of "strip", so it can be a program name with args.
5079 set dummy strip; ac_word=$2
5080 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5081 $as_echo_n "checking for $ac_word... " >&6; }
5082 if ${ac_cv_prog_ac_ct_STRIP+:} false; then :
5083 $as_echo_n "(cached) " >&6
5084 else
5085 if test -n "$ac_ct_STRIP"; then
5086 ac_cv_prog_ac_ct_STRIP="$ac_ct_STRIP" # Let the user override the test.
5087 else
5088 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5089 for as_dir in $PATH
5091 IFS=$as_save_IFS
5092 test -z "$as_dir" && as_dir=.
5093 for ac_exec_ext in '' $ac_executable_extensions; do
5094 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
5095 ac_cv_prog_ac_ct_STRIP="strip"
5096 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5097 break 2
5099 done
5100 done
5101 IFS=$as_save_IFS
5105 ac_ct_STRIP=$ac_cv_prog_ac_ct_STRIP
5106 if test -n "$ac_ct_STRIP"; then
5107 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_STRIP" >&5
5108 $as_echo "$ac_ct_STRIP" >&6; }
5109 else
5110 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5111 $as_echo "no" >&6; }
5114 if test "x$ac_ct_STRIP" = x; then
5115 STRIP="strip"
5116 else
5117 case $cross_compiling:$ac_tool_warned in
5118 yes:)
5119 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
5120 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
5121 ac_tool_warned=yes ;;
5122 esac
5123 STRIP=$ac_ct_STRIP
5125 else
5126 STRIP="$ac_cv_prog_STRIP"
5129 ARFLAGS=rc
5131 if test -n "$ac_tool_prefix"; then
5132 # Extract the first word of "${ac_tool_prefix}ranlib", so it can be a program name with args.
5133 set dummy ${ac_tool_prefix}ranlib; ac_word=$2
5134 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5135 $as_echo_n "checking for $ac_word... " >&6; }
5136 if ${ac_cv_prog_RANLIB+:} false; then :
5137 $as_echo_n "(cached) " >&6
5138 else
5139 if test -n "$RANLIB"; then
5140 ac_cv_prog_RANLIB="$RANLIB" # Let the user override the test.
5141 else
5142 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5143 for as_dir in $PATH
5145 IFS=$as_save_IFS
5146 test -z "$as_dir" && as_dir=.
5147 for ac_exec_ext in '' $ac_executable_extensions; do
5148 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
5149 ac_cv_prog_RANLIB="${ac_tool_prefix}ranlib"
5150 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5151 break 2
5153 done
5154 done
5155 IFS=$as_save_IFS
5159 RANLIB=$ac_cv_prog_RANLIB
5160 if test -n "$RANLIB"; then
5161 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $RANLIB" >&5
5162 $as_echo "$RANLIB" >&6; }
5163 else
5164 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5165 $as_echo "no" >&6; }
5170 if test -z "$ac_cv_prog_RANLIB"; then
5171 ac_ct_RANLIB=$RANLIB
5172 # Extract the first word of "ranlib", so it can be a program name with args.
5173 set dummy ranlib; ac_word=$2
5174 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5175 $as_echo_n "checking for $ac_word... " >&6; }
5176 if ${ac_cv_prog_ac_ct_RANLIB+:} false; then :
5177 $as_echo_n "(cached) " >&6
5178 else
5179 if test -n "$ac_ct_RANLIB"; then
5180 ac_cv_prog_ac_ct_RANLIB="$ac_ct_RANLIB" # Let the user override the test.
5181 else
5182 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5183 for as_dir in $PATH
5185 IFS=$as_save_IFS
5186 test -z "$as_dir" && as_dir=.
5187 for ac_exec_ext in '' $ac_executable_extensions; do
5188 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
5189 ac_cv_prog_ac_ct_RANLIB="ranlib"
5190 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5191 break 2
5193 done
5194 done
5195 IFS=$as_save_IFS
5199 ac_ct_RANLIB=$ac_cv_prog_ac_ct_RANLIB
5200 if test -n "$ac_ct_RANLIB"; then
5201 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_RANLIB" >&5
5202 $as_echo "$ac_ct_RANLIB" >&6; }
5203 else
5204 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5205 $as_echo "no" >&6; }
5208 if test "x$ac_ct_RANLIB" = x; then
5209 RANLIB=":"
5210 else
5211 case $cross_compiling:$ac_tool_warned in
5212 yes:)
5213 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
5214 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
5215 ac_tool_warned=yes ;;
5216 esac
5217 RANLIB=$ac_ct_RANLIB
5219 else
5220 RANLIB="$ac_cv_prog_RANLIB"
5223 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ln -s works" >&5
5224 $as_echo_n "checking whether ln -s works... " >&6; }
5225 LN_S=$as_ln_s
5226 if test "$LN_S" = "ln -s"; then
5227 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
5228 $as_echo "yes" >&6; }
5229 else
5230 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no, using $LN_S" >&5
5231 $as_echo "no, using $LN_S" >&6; }
5234 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for grep that handles long lines and -e" >&5
5235 $as_echo_n "checking for grep that handles long lines and -e... " >&6; }
5236 if ${ac_cv_path_GREP+:} false; then :
5237 $as_echo_n "(cached) " >&6
5238 else
5239 if test -z "$GREP"; then
5240 ac_path_GREP_found=false
5241 # Loop through the user's path and test for each of PROGNAME-LIST
5242 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5243 for as_dir in $PATH$PATH_SEPARATOR/usr/xpg4/bin
5245 IFS=$as_save_IFS
5246 test -z "$as_dir" && as_dir=.
5247 for ac_prog in grep ggrep; do
5248 for ac_exec_ext in '' $ac_executable_extensions; do
5249 ac_path_GREP="$as_dir/$ac_prog$ac_exec_ext"
5250 as_fn_executable_p "$ac_path_GREP" || continue
5251 # Check for GNU ac_path_GREP and select it if it is found.
5252 # Check for GNU $ac_path_GREP
5253 case `"$ac_path_GREP" --version 2>&1` in
5254 *GNU*)
5255 ac_cv_path_GREP="$ac_path_GREP" ac_path_GREP_found=:;;
5257 ac_count=0
5258 $as_echo_n 0123456789 >"conftest.in"
5259 while :
5261 cat "conftest.in" "conftest.in" >"conftest.tmp"
5262 mv "conftest.tmp" "conftest.in"
5263 cp "conftest.in" "conftest.nl"
5264 $as_echo 'GREP' >> "conftest.nl"
5265 "$ac_path_GREP" -e 'GREP$' -e '-(cannot match)-' < "conftest.nl" >"conftest.out" 2>/dev/null || break
5266 diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break
5267 as_fn_arith $ac_count + 1 && ac_count=$as_val
5268 if test $ac_count -gt ${ac_path_GREP_max-0}; then
5269 # Best one so far, save it but keep looking for a better one
5270 ac_cv_path_GREP="$ac_path_GREP"
5271 ac_path_GREP_max=$ac_count
5273 # 10*(2^10) chars as input seems more than enough
5274 test $ac_count -gt 10 && break
5275 done
5276 rm -f conftest.in conftest.tmp conftest.nl conftest.out;;
5277 esac
5279 $ac_path_GREP_found && break 3
5280 done
5281 done
5282 done
5283 IFS=$as_save_IFS
5284 if test -z "$ac_cv_path_GREP"; then
5285 as_fn_error $? "no acceptable grep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" "$LINENO" 5
5287 else
5288 ac_cv_path_GREP=$GREP
5292 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_GREP" >&5
5293 $as_echo "$ac_cv_path_GREP" >&6; }
5294 GREP="$ac_cv_path_GREP"
5297 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for egrep" >&5
5298 $as_echo_n "checking for egrep... " >&6; }
5299 if ${ac_cv_path_EGREP+:} false; then :
5300 $as_echo_n "(cached) " >&6
5301 else
5302 if echo a | $GREP -E '(a|b)' >/dev/null 2>&1
5303 then ac_cv_path_EGREP="$GREP -E"
5304 else
5305 if test -z "$EGREP"; then
5306 ac_path_EGREP_found=false
5307 # Loop through the user's path and test for each of PROGNAME-LIST
5308 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5309 for as_dir in $PATH$PATH_SEPARATOR/usr/xpg4/bin
5311 IFS=$as_save_IFS
5312 test -z "$as_dir" && as_dir=.
5313 for ac_prog in egrep; do
5314 for ac_exec_ext in '' $ac_executable_extensions; do
5315 ac_path_EGREP="$as_dir/$ac_prog$ac_exec_ext"
5316 as_fn_executable_p "$ac_path_EGREP" || continue
5317 # Check for GNU ac_path_EGREP and select it if it is found.
5318 # Check for GNU $ac_path_EGREP
5319 case `"$ac_path_EGREP" --version 2>&1` in
5320 *GNU*)
5321 ac_cv_path_EGREP="$ac_path_EGREP" ac_path_EGREP_found=:;;
5323 ac_count=0
5324 $as_echo_n 0123456789 >"conftest.in"
5325 while :
5327 cat "conftest.in" "conftest.in" >"conftest.tmp"
5328 mv "conftest.tmp" "conftest.in"
5329 cp "conftest.in" "conftest.nl"
5330 $as_echo 'EGREP' >> "conftest.nl"
5331 "$ac_path_EGREP" 'EGREP$' < "conftest.nl" >"conftest.out" 2>/dev/null || break
5332 diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break
5333 as_fn_arith $ac_count + 1 && ac_count=$as_val
5334 if test $ac_count -gt ${ac_path_EGREP_max-0}; then
5335 # Best one so far, save it but keep looking for a better one
5336 ac_cv_path_EGREP="$ac_path_EGREP"
5337 ac_path_EGREP_max=$ac_count
5339 # 10*(2^10) chars as input seems more than enough
5340 test $ac_count -gt 10 && break
5341 done
5342 rm -f conftest.in conftest.tmp conftest.nl conftest.out;;
5343 esac
5345 $ac_path_EGREP_found && break 3
5346 done
5347 done
5348 done
5349 IFS=$as_save_IFS
5350 if test -z "$ac_cv_path_EGREP"; then
5351 as_fn_error $? "no acceptable egrep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" "$LINENO" 5
5353 else
5354 ac_cv_path_EGREP=$EGREP
5359 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_EGREP" >&5
5360 $as_echo "$ac_cv_path_EGREP" >&6; }
5361 EGREP="$ac_cv_path_EGREP"
5364 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for a thread-safe mkdir -p" >&5
5365 $as_echo_n "checking for a thread-safe mkdir -p... " >&6; }
5366 if test -z "$MKDIR_P"; then
5367 if ${ac_cv_path_mkdir+:} false; then :
5368 $as_echo_n "(cached) " >&6
5369 else
5370 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5371 for as_dir in $PATH$PATH_SEPARATOR/opt/sfw/bin
5373 IFS=$as_save_IFS
5374 test -z "$as_dir" && as_dir=.
5375 for ac_prog in mkdir gmkdir; do
5376 for ac_exec_ext in '' $ac_executable_extensions; do
5377 as_fn_executable_p "$as_dir/$ac_prog$ac_exec_ext" || continue
5378 case `"$as_dir/$ac_prog$ac_exec_ext" --version 2>&1` in #(
5379 'mkdir (GNU coreutils) '* | \
5380 'mkdir (coreutils) '* | \
5381 'mkdir (fileutils) '4.1*)
5382 ac_cv_path_mkdir=$as_dir/$ac_prog$ac_exec_ext
5383 break 3;;
5384 esac
5385 done
5386 done
5387 done
5388 IFS=$as_save_IFS
5392 test -d ./--version && rmdir ./--version
5393 if test "${ac_cv_path_mkdir+set}" = set; then
5394 MKDIR_P="$ac_cv_path_mkdir -p"
5395 else
5396 # As a last resort, use the slow shell script. Don't cache a
5397 # value for MKDIR_P within a source directory, because that will
5398 # break other packages using the cache if that directory is
5399 # removed, or if the value is a relative name.
5400 MKDIR_P="$ac_install_sh -d"
5403 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $MKDIR_P" >&5
5404 $as_echo "$MKDIR_P" >&6; }
5406 # Extract the first word of "ldconfig", so it can be a program name with args.
5407 set dummy ldconfig; ac_word=$2
5408 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5409 $as_echo_n "checking for $ac_word... " >&6; }
5410 if ${ac_cv_path_LDCONFIG+:} false; then :
5411 $as_echo_n "(cached) " >&6
5412 else
5413 case $LDCONFIG in
5414 [\\/]* | ?:[\\/]*)
5415 ac_cv_path_LDCONFIG="$LDCONFIG" # Let the user override the test with a path.
5418 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5419 for as_dir in /sbin /usr/sbin $PATH
5421 IFS=$as_save_IFS
5422 test -z "$as_dir" && as_dir=.
5423 for ac_exec_ext in '' $ac_executable_extensions; do
5424 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
5425 ac_cv_path_LDCONFIG="$as_dir/$ac_word$ac_exec_ext"
5426 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5427 break 2
5429 done
5430 done
5431 IFS=$as_save_IFS
5433 test -z "$ac_cv_path_LDCONFIG" && ac_cv_path_LDCONFIG="true"
5435 esac
5437 LDCONFIG=$ac_cv_path_LDCONFIG
5438 if test -n "$LDCONFIG"; then
5439 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $LDCONFIG" >&5
5440 $as_echo "$LDCONFIG" >&6; }
5441 else
5442 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5443 $as_echo "no" >&6; }
5448 test -z "$INSTALL_PROGRAM" && INSTALL_PROGRAM="STRIPPROG=\"\$(STRIP)\" \$(top_srcdir)/tools/install-sh"
5449 # Find a good install program. We prefer a C program (faster),
5450 # so one script is as good as another. But avoid the broken or
5451 # incompatible versions:
5452 # SysV /etc/install, /usr/sbin/install
5453 # SunOS /usr/etc/install
5454 # IRIX /sbin/install
5455 # AIX /bin/install
5456 # AmigaOS /C/install, which installs bootblocks on floppy discs
5457 # AIX 4 /usr/bin/installbsd, which doesn't work without a -g flag
5458 # AFS /usr/afsws/bin/install, which mishandles nonexistent args
5459 # SVR4 /usr/ucb/install, which tries to use the nonexistent group "staff"
5460 # OS/2's system install, which has a completely different semantic
5461 # ./install, which can be erroneously created by make from ./install.sh.
5462 # Reject install programs that cannot install multiple files.
5463 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for a BSD-compatible install" >&5
5464 $as_echo_n "checking for a BSD-compatible install... " >&6; }
5465 if test -z "$INSTALL"; then
5466 if ${ac_cv_path_install+:} false; then :
5467 $as_echo_n "(cached) " >&6
5468 else
5469 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5470 for as_dir in $PATH
5472 IFS=$as_save_IFS
5473 test -z "$as_dir" && as_dir=.
5474 # Account for people who put trailing slashes in PATH elements.
5475 case $as_dir/ in #((
5476 ./ | .// | /[cC]/* | \
5477 /etc/* | /usr/sbin/* | /usr/etc/* | /sbin/* | /usr/afsws/bin/* | \
5478 ?:[\\/]os2[\\/]install[\\/]* | ?:[\\/]OS2[\\/]INSTALL[\\/]* | \
5479 /usr/ucb/* ) ;;
5481 # OSF1 and SCO ODT 3.0 have their own names for install.
5482 # Don't use installbsd from OSF since it installs stuff as root
5483 # by default.
5484 for ac_prog in ginstall scoinst install; do
5485 for ac_exec_ext in '' $ac_executable_extensions; do
5486 if as_fn_executable_p "$as_dir/$ac_prog$ac_exec_ext"; then
5487 if test $ac_prog = install &&
5488 grep dspmsg "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then
5489 # AIX install. It has an incompatible calling convention.
5491 elif test $ac_prog = install &&
5492 grep pwplus "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then
5493 # program-specific install script used by HP pwplus--don't use.
5495 else
5496 rm -rf conftest.one conftest.two conftest.dir
5497 echo one > conftest.one
5498 echo two > conftest.two
5499 mkdir conftest.dir
5500 if "$as_dir/$ac_prog$ac_exec_ext" -c conftest.one conftest.two "`pwd`/conftest.dir" &&
5501 test -s conftest.one && test -s conftest.two &&
5502 test -s conftest.dir/conftest.one &&
5503 test -s conftest.dir/conftest.two
5504 then
5505 ac_cv_path_install="$as_dir/$ac_prog$ac_exec_ext -c"
5506 break 3
5510 done
5511 done
5513 esac
5515 done
5516 IFS=$as_save_IFS
5518 rm -rf conftest.one conftest.two conftest.dir
5521 if test "${ac_cv_path_install+set}" = set; then
5522 INSTALL=$ac_cv_path_install
5523 else
5524 # As a last resort, use the slow shell script. Don't cache a
5525 # value for INSTALL within a source directory, because that will
5526 # break other packages using the cache if that directory is
5527 # removed, or if the value is a relative name.
5528 INSTALL=$ac_install_sh
5531 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $INSTALL" >&5
5532 $as_echo "$INSTALL" >&6; }
5534 # Use test -z because SunOS4 sh mishandles braces in ${var-val}.
5535 # It thinks the first close brace ends the variable substitution.
5536 test -z "$INSTALL_PROGRAM" && INSTALL_PROGRAM='${INSTALL}'
5538 test -z "$INSTALL_SCRIPT" && INSTALL_SCRIPT='${INSTALL}'
5540 test -z "$INSTALL_DATA" && INSTALL_DATA='${INSTALL} -m 644'
5543 for ac_prog in lclint lint
5545 # Extract the first word of "$ac_prog", so it can be a program name with args.
5546 set dummy $ac_prog; ac_word=$2
5547 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5548 $as_echo_n "checking for $ac_word... " >&6; }
5549 if ${ac_cv_prog_LINT+:} false; then :
5550 $as_echo_n "(cached) " >&6
5551 else
5552 if test -n "$LINT"; then
5553 ac_cv_prog_LINT="$LINT" # Let the user override the test.
5554 else
5555 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5556 for as_dir in $PATH
5558 IFS=$as_save_IFS
5559 test -z "$as_dir" && as_dir=.
5560 for ac_exec_ext in '' $ac_executable_extensions; do
5561 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
5562 ac_cv_prog_LINT="$ac_prog"
5563 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5564 break 2
5566 done
5567 done
5568 IFS=$as_save_IFS
5572 LINT=$ac_cv_prog_LINT
5573 if test -n "$LINT"; then
5574 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $LINT" >&5
5575 $as_echo "$LINT" >&6; }
5576 else
5577 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5578 $as_echo "no" >&6; }
5582 test -n "$LINT" && break
5583 done
5585 if test "$LINT" = "lint"
5586 then
5587 LINTFLAGS="$LINTFLAGS -errchk=%all,no%longptr64 -errhdr=%user -Ncheck=macro -Nlevel=4"
5591 for ac_prog in fontforge
5593 # Extract the first word of "$ac_prog", so it can be a program name with args.
5594 set dummy $ac_prog; ac_word=$2
5595 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5596 $as_echo_n "checking for $ac_word... " >&6; }
5597 if ${ac_cv_prog_FONTFORGE+:} false; then :
5598 $as_echo_n "(cached) " >&6
5599 else
5600 if test -n "$FONTFORGE"; then
5601 ac_cv_prog_FONTFORGE="$FONTFORGE" # Let the user override the test.
5602 else
5603 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5604 for as_dir in $PATH
5606 IFS=$as_save_IFS
5607 test -z "$as_dir" && as_dir=.
5608 for ac_exec_ext in '' $ac_executable_extensions; do
5609 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
5610 ac_cv_prog_FONTFORGE="$ac_prog"
5611 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5612 break 2
5614 done
5615 done
5616 IFS=$as_save_IFS
5620 FONTFORGE=$ac_cv_prog_FONTFORGE
5621 if test -n "$FONTFORGE"; then
5622 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $FONTFORGE" >&5
5623 $as_echo "$FONTFORGE" >&6; }
5624 else
5625 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5626 $as_echo "no" >&6; }
5630 test -n "$FONTFORGE" && break
5631 done
5632 test -n "$FONTFORGE" || FONTFORGE="false"
5634 for ac_prog in rsvg
5636 # Extract the first word of "$ac_prog", so it can be a program name with args.
5637 set dummy $ac_prog; ac_word=$2
5638 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5639 $as_echo_n "checking for $ac_word... " >&6; }
5640 if ${ac_cv_prog_RSVG+:} false; then :
5641 $as_echo_n "(cached) " >&6
5642 else
5643 if test -n "$RSVG"; then
5644 ac_cv_prog_RSVG="$RSVG" # Let the user override the test.
5645 else
5646 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5647 for as_dir in $PATH
5649 IFS=$as_save_IFS
5650 test -z "$as_dir" && as_dir=.
5651 for ac_exec_ext in '' $ac_executable_extensions; do
5652 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
5653 ac_cv_prog_RSVG="$ac_prog"
5654 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5655 break 2
5657 done
5658 done
5659 IFS=$as_save_IFS
5663 RSVG=$ac_cv_prog_RSVG
5664 if test -n "$RSVG"; then
5665 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $RSVG" >&5
5666 $as_echo "$RSVG" >&6; }
5667 else
5668 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5669 $as_echo "no" >&6; }
5673 test -n "$RSVG" && break
5674 done
5675 test -n "$RSVG" || RSVG="false"
5677 for ac_prog in convert
5679 # Extract the first word of "$ac_prog", so it can be a program name with args.
5680 set dummy $ac_prog; ac_word=$2
5681 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5682 $as_echo_n "checking for $ac_word... " >&6; }
5683 if ${ac_cv_prog_CONVERT+:} false; then :
5684 $as_echo_n "(cached) " >&6
5685 else
5686 if test -n "$CONVERT"; then
5687 ac_cv_prog_CONVERT="$CONVERT" # Let the user override the test.
5688 else
5689 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5690 for as_dir in $PATH
5692 IFS=$as_save_IFS
5693 test -z "$as_dir" && as_dir=.
5694 for ac_exec_ext in '' $ac_executable_extensions; do
5695 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
5696 ac_cv_prog_CONVERT="$ac_prog"
5697 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5698 break 2
5700 done
5701 done
5702 IFS=$as_save_IFS
5706 CONVERT=$ac_cv_prog_CONVERT
5707 if test -n "$CONVERT"; then
5708 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CONVERT" >&5
5709 $as_echo "$CONVERT" >&6; }
5710 else
5711 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5712 $as_echo "no" >&6; }
5716 test -n "$CONVERT" && break
5717 done
5718 test -n "$CONVERT" || CONVERT="false"
5720 for ac_prog in icotool
5722 # Extract the first word of "$ac_prog", so it can be a program name with args.
5723 set dummy $ac_prog; ac_word=$2
5724 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5725 $as_echo_n "checking for $ac_word... " >&6; }
5726 if ${ac_cv_prog_ICOTOOL+:} false; then :
5727 $as_echo_n "(cached) " >&6
5728 else
5729 if test -n "$ICOTOOL"; then
5730 ac_cv_prog_ICOTOOL="$ICOTOOL" # Let the user override the test.
5731 else
5732 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5733 for as_dir in $PATH
5735 IFS=$as_save_IFS
5736 test -z "$as_dir" && as_dir=.
5737 for ac_exec_ext in '' $ac_executable_extensions; do
5738 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
5739 ac_cv_prog_ICOTOOL="$ac_prog"
5740 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5741 break 2
5743 done
5744 done
5745 IFS=$as_save_IFS
5749 ICOTOOL=$ac_cv_prog_ICOTOOL
5750 if test -n "$ICOTOOL"; then
5751 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ICOTOOL" >&5
5752 $as_echo "$ICOTOOL" >&6; }
5753 else
5754 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5755 $as_echo "no" >&6; }
5759 test -n "$ICOTOOL" && break
5760 done
5761 test -n "$ICOTOOL" || ICOTOOL="false"
5763 for ac_prog in msgfmt
5765 # Extract the first word of "$ac_prog", so it can be a program name with args.
5766 set dummy $ac_prog; ac_word=$2
5767 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5768 $as_echo_n "checking for $ac_word... " >&6; }
5769 if ${ac_cv_prog_MSGFMT+:} false; then :
5770 $as_echo_n "(cached) " >&6
5771 else
5772 if test -n "$MSGFMT"; then
5773 ac_cv_prog_MSGFMT="$MSGFMT" # Let the user override the test.
5774 else
5775 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5776 for as_dir in $PATH
5778 IFS=$as_save_IFS
5779 test -z "$as_dir" && as_dir=.
5780 for ac_exec_ext in '' $ac_executable_extensions; do
5781 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
5782 ac_cv_prog_MSGFMT="$ac_prog"
5783 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5784 break 2
5786 done
5787 done
5788 IFS=$as_save_IFS
5792 MSGFMT=$ac_cv_prog_MSGFMT
5793 if test -n "$MSGFMT"; then
5794 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $MSGFMT" >&5
5795 $as_echo "$MSGFMT" >&6; }
5796 else
5797 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5798 $as_echo "no" >&6; }
5802 test -n "$MSGFMT" && break
5803 done
5804 test -n "$MSGFMT" || MSGFMT="false"
5806 if test -n "$ac_tool_prefix"; then
5807 # Extract the first word of "${ac_tool_prefix}pkg-config", so it can be a program name with args.
5808 set dummy ${ac_tool_prefix}pkg-config; ac_word=$2
5809 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5810 $as_echo_n "checking for $ac_word... " >&6; }
5811 if ${ac_cv_prog_PKG_CONFIG+:} false; then :
5812 $as_echo_n "(cached) " >&6
5813 else
5814 if test -n "$PKG_CONFIG"; then
5815 ac_cv_prog_PKG_CONFIG="$PKG_CONFIG" # Let the user override the test.
5816 else
5817 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5818 for as_dir in $PATH
5820 IFS=$as_save_IFS
5821 test -z "$as_dir" && as_dir=.
5822 for ac_exec_ext in '' $ac_executable_extensions; do
5823 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
5824 ac_cv_prog_PKG_CONFIG="${ac_tool_prefix}pkg-config"
5825 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5826 break 2
5828 done
5829 done
5830 IFS=$as_save_IFS
5834 PKG_CONFIG=$ac_cv_prog_PKG_CONFIG
5835 if test -n "$PKG_CONFIG"; then
5836 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $PKG_CONFIG" >&5
5837 $as_echo "$PKG_CONFIG" >&6; }
5838 else
5839 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5840 $as_echo "no" >&6; }
5845 if test -n "$ac_cv_prog_PKG_CONFIG"; then
5846 PKG_CONFIG="$ac_cv_prog_PKG_CONFIG"
5847 elif test "$cross_compiling" != yes; then
5848 unset ac_cv_prog_PKG_CONFIG
5849 # Extract the first word of "pkg-config", so it can be a program name with args.
5850 set dummy pkg-config; ac_word=$2
5851 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5852 $as_echo_n "checking for $ac_word... " >&6; }
5853 if ${ac_cv_prog_PKG_CONFIG+:} false; then :
5854 $as_echo_n "(cached) " >&6
5855 else
5856 if test -n "$PKG_CONFIG"; then
5857 ac_cv_prog_PKG_CONFIG="$PKG_CONFIG" # Let the user override the test.
5858 else
5859 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5860 for as_dir in $PATH
5862 IFS=$as_save_IFS
5863 test -z "$as_dir" && as_dir=.
5864 for ac_exec_ext in '' $ac_executable_extensions; do
5865 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
5866 ac_cv_prog_PKG_CONFIG="pkg-config"
5867 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5868 break 2
5870 done
5871 done
5872 IFS=$as_save_IFS
5876 PKG_CONFIG=$ac_cv_prog_PKG_CONFIG
5877 if test -n "$PKG_CONFIG"; then
5878 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $PKG_CONFIG" >&5
5879 $as_echo "$PKG_CONFIG" >&6; }
5880 else
5881 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5882 $as_echo "no" >&6; }
5888 if test "x$enable_maintainer_mode" != "xyes"
5889 then
5890 MAINTAINER_MODE=\#
5892 else
5893 if test "$FONTFORGE" = "false"; then as_fn_error $? "You need fontforge to rebuild fonts in maintainer mode." "$LINENO" 5; fi
5894 if test "$RSVG" = "false"; then as_fn_error $? "You need rsvg to rebuild icons in maintainer mode." "$LINENO" 5; fi
5896 if test "$CONVERT" = false
5897 then
5898 as_fn_error $? "You need imagemagick to rebuild icons in maintainer mode." "$LINENO" 5
5899 else
5900 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for recent enough imagemagick" >&5
5901 $as_echo_n "checking for recent enough imagemagick... " >&6; }
5902 convert_version=`convert --version | head -n1`
5903 if test "x$convert_version" != "x"
5904 then
5905 convert_version_major=`expr "$convert_version" : '.* \([0-9]*\)\.[0-9]*'`
5906 convert_version_minor=`expr "$convert_version" : '.* [0-9]*\.\([0-9]*\)'`
5907 if test "$convert_version_major" -eq 6 -a "$convert_version_minor" -lt 6
5908 then
5909 CONVERT=false
5912 if test "$CONVERT" = false
5913 then
5914 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no ($convert_version_major.$convert_version_minor)" >&5
5915 $as_echo "no ($convert_version_major.$convert_version_minor)" >&6; }
5916 as_fn_error $? "You need imagemagick version 6.6 or newer to rebuild icons in maintainer mode." "$LINENO" 5
5917 else
5918 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes ($convert_version_major.$convert_version_minor)" >&5
5919 $as_echo "yes ($convert_version_major.$convert_version_minor)" >&6; }
5923 if test "$ICOTOOL" = false
5924 then
5925 as_fn_error $? "You need icotool to rebuild icons in maintainer mode." "$LINENO" 5
5926 else
5927 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for recent enough icotool" >&5
5928 $as_echo_n "checking for recent enough icotool... " >&6; }
5929 icotool_version=`icotool --version | head -n1`
5930 if test "x$icotool_version" != "x"
5931 then
5932 icotool_version_major=`expr "$icotool_version" : '.* \([0-9]*\)\.[0-9]*'`
5933 icotool_version_minor=`expr "$icotool_version" : '.* [0-9]*\.\([0-9]*\)'`
5934 if test "$icotool_version_major" -eq 0 -a "$icotool_version_minor" -lt 29
5935 then
5936 ICOTOOL=false
5937 as_fn_append wine_warnings "|icotool version 0.29.0 or newer is needed to rebuild icons."
5940 if test "$ICOTOOL" = false
5941 then
5942 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no ($icotool_version_major.$icotool_version_minor)" >&5
5943 $as_echo "no ($icotool_version_major.$icotool_version_minor)" >&6; }
5944 as_fn_error $? "You need icotool version 0.29.0 or newer to rebuild icons in maintainer mode." "$LINENO" 5
5945 else
5946 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes ($icotool_version_major.$icotool_version_minor)" >&5
5947 $as_echo "yes ($icotool_version_major.$icotool_version_minor)" >&6; }
5951 with_gettext=yes
5952 with_gettextpo=yes
5953 { ac_cv_header_gettext_po_h=; unset ac_cv_header_gettext_po_h;}
5956 test "x$with_gettext" != xno || MSGFMT=false
5957 if test "$MSGFMT" != "false"
5958 then
5959 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether msgfmt supports contexts" >&5
5960 $as_echo_n "checking whether msgfmt supports contexts... " >&6; }
5961 cat >conftest.po <<EOF
5962 # comment
5963 msgctxt "ctxt"
5964 msgid "id"
5965 msgstr "str"
5967 if $MSGFMT -o /dev/null conftest.po 2>&5
5968 then
5969 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
5970 $as_echo "yes" >&6; }
5971 else
5972 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5973 $as_echo "no" >&6; }
5974 MSGFMT=false
5977 if test "$MSGFMT" = false; then :
5978 case "x$with_gettext" in
5979 x) as_fn_append wine_warnings "|gettext tools not found (or too old), translations won't be built." ;;
5980 xno) ;;
5981 *) as_fn_error $? "gettext tools not found (or too old), translations won't be built.
5982 This is an error since --with-gettext was requested." "$LINENO" 5 ;;
5983 esac
5987 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for i386_set_ldt in -li386" >&5
5988 $as_echo_n "checking for i386_set_ldt in -li386... " >&6; }
5989 if ${ac_cv_lib_i386_i386_set_ldt+:} false; then :
5990 $as_echo_n "(cached) " >&6
5991 else
5992 ac_check_lib_save_LIBS=$LIBS
5993 LIBS="-li386 $LIBS"
5994 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
5995 /* end confdefs.h. */
5997 /* Override any GCC internal prototype to avoid an error.
5998 Use char because int might match the return type of a GCC
5999 builtin and then its argument prototype would still apply. */
6000 #ifdef __cplusplus
6001 extern "C"
6002 #endif
6003 char i386_set_ldt ();
6005 main ()
6007 return i386_set_ldt ();
6009 return 0;
6011 _ACEOF
6012 if ac_fn_c_try_link "$LINENO"; then :
6013 ac_cv_lib_i386_i386_set_ldt=yes
6014 else
6015 ac_cv_lib_i386_i386_set_ldt=no
6017 rm -f core conftest.err conftest.$ac_objext \
6018 conftest$ac_exeext conftest.$ac_ext
6019 LIBS=$ac_check_lib_save_LIBS
6021 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_i386_i386_set_ldt" >&5
6022 $as_echo "$ac_cv_lib_i386_i386_set_ldt" >&6; }
6023 if test "x$ac_cv_lib_i386_i386_set_ldt" = xyes; then :
6024 cat >>confdefs.h <<_ACEOF
6025 #define HAVE_LIBI386 1
6026 _ACEOF
6028 LIBS="-li386 $LIBS"
6032 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _oss_ioctl in -lossaudio" >&5
6033 $as_echo_n "checking for _oss_ioctl in -lossaudio... " >&6; }
6034 if ${ac_cv_lib_ossaudio__oss_ioctl+:} false; then :
6035 $as_echo_n "(cached) " >&6
6036 else
6037 ac_check_lib_save_LIBS=$LIBS
6038 LIBS="-lossaudio $LIBS"
6039 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
6040 /* end confdefs.h. */
6042 /* Override any GCC internal prototype to avoid an error.
6043 Use char because int might match the return type of a GCC
6044 builtin and then its argument prototype would still apply. */
6045 #ifdef __cplusplus
6046 extern "C"
6047 #endif
6048 char _oss_ioctl ();
6050 main ()
6052 return _oss_ioctl ();
6054 return 0;
6056 _ACEOF
6057 if ac_fn_c_try_link "$LINENO"; then :
6058 ac_cv_lib_ossaudio__oss_ioctl=yes
6059 else
6060 ac_cv_lib_ossaudio__oss_ioctl=no
6062 rm -f core conftest.err conftest.$ac_objext \
6063 conftest$ac_exeext conftest.$ac_ext
6064 LIBS=$ac_check_lib_save_LIBS
6066 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_ossaudio__oss_ioctl" >&5
6067 $as_echo "$ac_cv_lib_ossaudio__oss_ioctl" >&6; }
6068 if test "x$ac_cv_lib_ossaudio__oss_ioctl" = xyes; then :
6069 cat >>confdefs.h <<_ACEOF
6070 #define HAVE_LIBOSSAUDIO 1
6071 _ACEOF
6073 LIBS="-lossaudio $LIBS"
6078 XLIB=""
6080 OPENGL_LIBS=""
6084 test "x$with_fontconfig" != "xno" || ac_cv_header_fontconfig_fontconfig_h=no
6086 # Check whether --enable-largefile was given.
6087 if test "${enable_largefile+set}" = set; then :
6088 enableval=$enable_largefile;
6091 if test "$enable_largefile" != no; then
6093 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for special C compiler options needed for large files" >&5
6094 $as_echo_n "checking for special C compiler options needed for large files... " >&6; }
6095 if ${ac_cv_sys_largefile_CC+:} false; then :
6096 $as_echo_n "(cached) " >&6
6097 else
6098 ac_cv_sys_largefile_CC=no
6099 if test "$GCC" != yes; then
6100 ac_save_CC=$CC
6101 while :; do
6102 # IRIX 6.2 and later do not support large files by default,
6103 # so use the C compiler's -n32 option if that helps.
6104 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
6105 /* end confdefs.h. */
6106 #include <sys/types.h>
6107 /* Check that off_t can represent 2**63 - 1 correctly.
6108 We can't simply define LARGE_OFF_T to be 9223372036854775807,
6109 since some C++ compilers masquerading as C compilers
6110 incorrectly reject 9223372036854775807. */
6111 #define LARGE_OFF_T (((off_t) 1 << 62) - 1 + ((off_t) 1 << 62))
6112 int off_t_is_large[(LARGE_OFF_T % 2147483629 == 721
6113 && LARGE_OFF_T % 2147483647 == 1)
6114 ? 1 : -1];
6116 main ()
6120 return 0;
6122 _ACEOF
6123 if ac_fn_c_try_compile "$LINENO"; then :
6124 break
6126 rm -f core conftest.err conftest.$ac_objext
6127 CC="$CC -n32"
6128 if ac_fn_c_try_compile "$LINENO"; then :
6129 ac_cv_sys_largefile_CC=' -n32'; break
6131 rm -f core conftest.err conftest.$ac_objext
6132 break
6133 done
6134 CC=$ac_save_CC
6135 rm -f conftest.$ac_ext
6138 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_sys_largefile_CC" >&5
6139 $as_echo "$ac_cv_sys_largefile_CC" >&6; }
6140 if test "$ac_cv_sys_largefile_CC" != no; then
6141 CC=$CC$ac_cv_sys_largefile_CC
6144 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _FILE_OFFSET_BITS value needed for large files" >&5
6145 $as_echo_n "checking for _FILE_OFFSET_BITS value needed for large files... " >&6; }
6146 if ${ac_cv_sys_file_offset_bits+:} false; then :
6147 $as_echo_n "(cached) " >&6
6148 else
6149 while :; do
6150 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
6151 /* end confdefs.h. */
6152 #include <sys/types.h>
6153 /* Check that off_t can represent 2**63 - 1 correctly.
6154 We can't simply define LARGE_OFF_T to be 9223372036854775807,
6155 since some C++ compilers masquerading as C compilers
6156 incorrectly reject 9223372036854775807. */
6157 #define LARGE_OFF_T (((off_t) 1 << 62) - 1 + ((off_t) 1 << 62))
6158 int off_t_is_large[(LARGE_OFF_T % 2147483629 == 721
6159 && LARGE_OFF_T % 2147483647 == 1)
6160 ? 1 : -1];
6162 main ()
6166 return 0;
6168 _ACEOF
6169 if ac_fn_c_try_compile "$LINENO"; then :
6170 ac_cv_sys_file_offset_bits=no; break
6172 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
6173 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
6174 /* end confdefs.h. */
6175 #define _FILE_OFFSET_BITS 64
6176 #include <sys/types.h>
6177 /* Check that off_t can represent 2**63 - 1 correctly.
6178 We can't simply define LARGE_OFF_T to be 9223372036854775807,
6179 since some C++ compilers masquerading as C compilers
6180 incorrectly reject 9223372036854775807. */
6181 #define LARGE_OFF_T (((off_t) 1 << 62) - 1 + ((off_t) 1 << 62))
6182 int off_t_is_large[(LARGE_OFF_T % 2147483629 == 721
6183 && LARGE_OFF_T % 2147483647 == 1)
6184 ? 1 : -1];
6186 main ()
6190 return 0;
6192 _ACEOF
6193 if ac_fn_c_try_compile "$LINENO"; then :
6194 ac_cv_sys_file_offset_bits=64; break
6196 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
6197 ac_cv_sys_file_offset_bits=unknown
6198 break
6199 done
6201 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_sys_file_offset_bits" >&5
6202 $as_echo "$ac_cv_sys_file_offset_bits" >&6; }
6203 case $ac_cv_sys_file_offset_bits in #(
6204 no | unknown) ;;
6206 cat >>confdefs.h <<_ACEOF
6207 #define _FILE_OFFSET_BITS $ac_cv_sys_file_offset_bits
6208 _ACEOF
6210 esac
6211 rm -rf conftest*
6212 if test $ac_cv_sys_file_offset_bits = unknown; then
6213 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _LARGE_FILES value needed for large files" >&5
6214 $as_echo_n "checking for _LARGE_FILES value needed for large files... " >&6; }
6215 if ${ac_cv_sys_large_files+:} false; then :
6216 $as_echo_n "(cached) " >&6
6217 else
6218 while :; do
6219 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
6220 /* end confdefs.h. */
6221 #include <sys/types.h>
6222 /* Check that off_t can represent 2**63 - 1 correctly.
6223 We can't simply define LARGE_OFF_T to be 9223372036854775807,
6224 since some C++ compilers masquerading as C compilers
6225 incorrectly reject 9223372036854775807. */
6226 #define LARGE_OFF_T (((off_t) 1 << 62) - 1 + ((off_t) 1 << 62))
6227 int off_t_is_large[(LARGE_OFF_T % 2147483629 == 721
6228 && LARGE_OFF_T % 2147483647 == 1)
6229 ? 1 : -1];
6231 main ()
6235 return 0;
6237 _ACEOF
6238 if ac_fn_c_try_compile "$LINENO"; then :
6239 ac_cv_sys_large_files=no; break
6241 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
6242 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
6243 /* end confdefs.h. */
6244 #define _LARGE_FILES 1
6245 #include <sys/types.h>
6246 /* Check that off_t can represent 2**63 - 1 correctly.
6247 We can't simply define LARGE_OFF_T to be 9223372036854775807,
6248 since some C++ compilers masquerading as C compilers
6249 incorrectly reject 9223372036854775807. */
6250 #define LARGE_OFF_T (((off_t) 1 << 62) - 1 + ((off_t) 1 << 62))
6251 int off_t_is_large[(LARGE_OFF_T % 2147483629 == 721
6252 && LARGE_OFF_T % 2147483647 == 1)
6253 ? 1 : -1];
6255 main ()
6259 return 0;
6261 _ACEOF
6262 if ac_fn_c_try_compile "$LINENO"; then :
6263 ac_cv_sys_large_files=1; break
6265 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
6266 ac_cv_sys_large_files=unknown
6267 break
6268 done
6270 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_sys_large_files" >&5
6271 $as_echo "$ac_cv_sys_large_files" >&6; }
6272 case $ac_cv_sys_large_files in #(
6273 no | unknown) ;;
6275 cat >>confdefs.h <<_ACEOF
6276 #define _LARGE_FILES $ac_cv_sys_large_files
6277 _ACEOF
6279 esac
6280 rm -rf conftest*
6287 ac_ext=c
6288 ac_cpp='$CPP $CPPFLAGS'
6289 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
6290 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
6291 ac_compiler_gnu=$ac_cv_c_compiler_gnu
6292 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to run the C preprocessor" >&5
6293 $as_echo_n "checking how to run the C preprocessor... " >&6; }
6294 # On Suns, sometimes $CPP names a directory.
6295 if test -n "$CPP" && test -d "$CPP"; then
6296 CPP=
6298 if test -z "$CPP"; then
6299 if ${ac_cv_prog_CPP+:} false; then :
6300 $as_echo_n "(cached) " >&6
6301 else
6302 # Double quotes because CPP needs to be expanded
6303 for CPP in "$CC -E" "$CC -E -traditional-cpp" "/lib/cpp"
6305 ac_preproc_ok=false
6306 for ac_c_preproc_warn_flag in '' yes
6308 # Use a header file that comes with gcc, so configuring glibc
6309 # with a fresh cross-compiler works.
6310 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
6311 # <limits.h> exists even on freestanding compilers.
6312 # On the NeXT, cc -E runs the code through the compiler's parser,
6313 # not just through cpp. "Syntax error" is here to catch this case.
6314 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
6315 /* end confdefs.h. */
6316 #ifdef __STDC__
6317 # include <limits.h>
6318 #else
6319 # include <assert.h>
6320 #endif
6321 Syntax error
6322 _ACEOF
6323 if ac_fn_c_try_cpp "$LINENO"; then :
6325 else
6326 # Broken: fails on valid input.
6327 continue
6329 rm -f conftest.err conftest.i conftest.$ac_ext
6331 # OK, works on sane cases. Now check whether nonexistent headers
6332 # can be detected and how.
6333 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
6334 /* end confdefs.h. */
6335 #include <ac_nonexistent.h>
6336 _ACEOF
6337 if ac_fn_c_try_cpp "$LINENO"; then :
6338 # Broken: success on invalid input.
6339 continue
6340 else
6341 # Passes both tests.
6342 ac_preproc_ok=:
6343 break
6345 rm -f conftest.err conftest.i conftest.$ac_ext
6347 done
6348 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
6349 rm -f conftest.i conftest.err conftest.$ac_ext
6350 if $ac_preproc_ok; then :
6351 break
6354 done
6355 ac_cv_prog_CPP=$CPP
6358 CPP=$ac_cv_prog_CPP
6359 else
6360 ac_cv_prog_CPP=$CPP
6362 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CPP" >&5
6363 $as_echo "$CPP" >&6; }
6364 ac_preproc_ok=false
6365 for ac_c_preproc_warn_flag in '' yes
6367 # Use a header file that comes with gcc, so configuring glibc
6368 # with a fresh cross-compiler works.
6369 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
6370 # <limits.h> exists even on freestanding compilers.
6371 # On the NeXT, cc -E runs the code through the compiler's parser,
6372 # not just through cpp. "Syntax error" is here to catch this case.
6373 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
6374 /* end confdefs.h. */
6375 #ifdef __STDC__
6376 # include <limits.h>
6377 #else
6378 # include <assert.h>
6379 #endif
6380 Syntax error
6381 _ACEOF
6382 if ac_fn_c_try_cpp "$LINENO"; then :
6384 else
6385 # Broken: fails on valid input.
6386 continue
6388 rm -f conftest.err conftest.i conftest.$ac_ext
6390 # OK, works on sane cases. Now check whether nonexistent headers
6391 # can be detected and how.
6392 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
6393 /* end confdefs.h. */
6394 #include <ac_nonexistent.h>
6395 _ACEOF
6396 if ac_fn_c_try_cpp "$LINENO"; then :
6397 # Broken: success on invalid input.
6398 continue
6399 else
6400 # Passes both tests.
6401 ac_preproc_ok=:
6402 break
6404 rm -f conftest.err conftest.i conftest.$ac_ext
6406 done
6407 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
6408 rm -f conftest.i conftest.err conftest.$ac_ext
6409 if $ac_preproc_ok; then :
6411 else
6412 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
6413 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
6414 as_fn_error $? "C preprocessor \"$CPP\" fails sanity check
6415 See \`config.log' for more details" "$LINENO" 5; }
6418 ac_ext=c
6419 ac_cpp='$CPP $CPPFLAGS'
6420 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
6421 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
6422 ac_compiler_gnu=$ac_cv_c_compiler_gnu
6425 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ANSI C header files" >&5
6426 $as_echo_n "checking for ANSI C header files... " >&6; }
6427 if ${ac_cv_header_stdc+:} false; then :
6428 $as_echo_n "(cached) " >&6
6429 else
6430 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
6431 /* end confdefs.h. */
6432 #include <stdlib.h>
6433 #include <stdarg.h>
6434 #include <string.h>
6435 #include <float.h>
6438 main ()
6442 return 0;
6444 _ACEOF
6445 if ac_fn_c_try_compile "$LINENO"; then :
6446 ac_cv_header_stdc=yes
6447 else
6448 ac_cv_header_stdc=no
6450 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
6452 if test $ac_cv_header_stdc = yes; then
6453 # SunOS 4.x string.h does not declare mem*, contrary to ANSI.
6454 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
6455 /* end confdefs.h. */
6456 #include <string.h>
6458 _ACEOF
6459 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
6460 $EGREP "memchr" >/dev/null 2>&1; then :
6462 else
6463 ac_cv_header_stdc=no
6465 rm -f conftest*
6469 if test $ac_cv_header_stdc = yes; then
6470 # ISC 2.0.2 stdlib.h does not declare free, contrary to ANSI.
6471 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
6472 /* end confdefs.h. */
6473 #include <stdlib.h>
6475 _ACEOF
6476 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
6477 $EGREP "free" >/dev/null 2>&1; then :
6479 else
6480 ac_cv_header_stdc=no
6482 rm -f conftest*
6486 if test $ac_cv_header_stdc = yes; then
6487 # /bin/cc in Irix-4.0.5 gets non-ANSI ctype macros unless using -ansi.
6488 if test "$cross_compiling" = yes; then :
6490 else
6491 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
6492 /* end confdefs.h. */
6493 #include <ctype.h>
6494 #include <stdlib.h>
6495 #if ((' ' & 0x0FF) == 0x020)
6496 # define ISLOWER(c) ('a' <= (c) && (c) <= 'z')
6497 # define TOUPPER(c) (ISLOWER(c) ? 'A' + ((c) - 'a') : (c))
6498 #else
6499 # define ISLOWER(c) \
6500 (('a' <= (c) && (c) <= 'i') \
6501 || ('j' <= (c) && (c) <= 'r') \
6502 || ('s' <= (c) && (c) <= 'z'))
6503 # define TOUPPER(c) (ISLOWER(c) ? ((c) | 0x40) : (c))
6504 #endif
6506 #define XOR(e, f) (((e) && !(f)) || (!(e) && (f)))
6508 main ()
6510 int i;
6511 for (i = 0; i < 256; i++)
6512 if (XOR (islower (i), ISLOWER (i))
6513 || toupper (i) != TOUPPER (i))
6514 return 2;
6515 return 0;
6517 _ACEOF
6518 if ac_fn_c_try_run "$LINENO"; then :
6520 else
6521 ac_cv_header_stdc=no
6523 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \
6524 conftest.$ac_objext conftest.beam conftest.$ac_ext
6529 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_header_stdc" >&5
6530 $as_echo "$ac_cv_header_stdc" >&6; }
6531 if test $ac_cv_header_stdc = yes; then
6533 $as_echo "#define STDC_HEADERS 1" >>confdefs.h
6537 # On IRIX 5.3, sys/types and inttypes.h are conflicting.
6538 for ac_header in sys/types.h sys/stat.h stdlib.h string.h memory.h strings.h \
6539 inttypes.h stdint.h unistd.h
6540 do :
6541 as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
6542 ac_fn_c_check_header_compile "$LINENO" "$ac_header" "$as_ac_Header" "$ac_includes_default
6544 if eval test \"x\$"$as_ac_Header"\" = x"yes"; then :
6545 cat >>confdefs.h <<_ACEOF
6546 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
6547 _ACEOF
6551 done
6554 for ac_header in \
6555 AL/al.h \
6556 ApplicationServices/ApplicationServices.h \
6557 AudioToolbox/AudioConverter.h \
6558 AudioUnit/AudioUnit.h \
6559 AudioUnit/AudioComponent.h \
6560 CL/cl.h \
6561 Carbon/Carbon.h \
6562 CoreAudio/CoreAudio.h \
6563 CoreServices/CoreServices.h \
6564 DiskArbitration/DiskArbitration.h \
6565 IOKit/IOKitLib.h \
6566 IOKit/hid/IOHIDLib.h \
6567 OpenAL/al.h \
6568 OpenCL/opencl.h \
6569 QuickTime/ImageCompression.h \
6570 Security/Security.h \
6571 alias.h \
6572 alsa/asoundlib.h \
6573 arpa/inet.h \
6574 arpa/nameser.h \
6575 asm/types.h \
6576 asm/user.h \
6577 curses.h \
6578 direct.h \
6579 dirent.h \
6580 dlfcn.h \
6581 elf.h \
6582 float.h \
6583 fnmatch.h \
6584 fontconfig/fontconfig.h \
6585 getopt.h \
6586 gettext-po.h \
6587 grp.h \
6588 gsm.h \
6589 gsm/gsm.h \
6590 ieeefp.h \
6591 inet/mib2.h \
6592 io.h \
6593 kstat.h \
6594 lber.h \
6595 ldap.h \
6596 libproc.h \
6597 link.h \
6598 linux/cdrom.h \
6599 linux/compiler.h \
6600 linux/filter.h \
6601 linux/hdreg.h \
6602 linux/input.h \
6603 linux/ioctl.h \
6604 linux/joystick.h \
6605 linux/major.h \
6606 linux/param.h \
6607 linux/serial.h \
6608 linux/types.h \
6609 linux/ucdrom.h \
6610 lwp.h \
6611 mach-o/nlist.h \
6612 mach-o/loader.h \
6613 mach/mach.h \
6614 mach/machine.h \
6615 machine/cpu.h \
6616 machine/limits.h \
6617 machine/sysarch.h \
6618 mntent.h \
6619 ncurses.h \
6620 netdb.h \
6621 netinet/in.h \
6622 netinet/in_systm.h \
6623 netinet/tcp.h \
6624 netinet/tcp_fsm.h \
6625 poll.h \
6626 port.h \
6627 process.h \
6628 pthread.h \
6629 pwd.h \
6630 sched.h \
6631 scsi/scsi.h \
6632 scsi/scsi_ioctl.h \
6633 scsi/sg.h \
6634 stdbool.h \
6635 stdint.h \
6636 stropts.h \
6637 sys/asoundlib.h \
6638 sys/attr.h \
6639 sys/cdio.h \
6640 sys/elf32.h \
6641 sys/epoll.h \
6642 sys/event.h \
6643 sys/exec_elf.h \
6644 sys/filio.h \
6645 sys/inotify.h \
6646 sys/ioctl.h \
6647 sys/ipc.h \
6648 sys/limits.h \
6649 sys/link.h \
6650 sys/mman.h \
6651 sys/modem.h \
6652 sys/msg.h \
6653 sys/mtio.h \
6654 sys/param.h \
6655 sys/poll.h \
6656 sys/prctl.h \
6657 sys/protosw.h \
6658 sys/ptrace.h \
6659 sys/queue.h \
6660 sys/resource.h \
6661 sys/scsiio.h \
6662 sys/shm.h \
6663 sys/signal.h \
6664 sys/socket.h \
6665 sys/socketvar.h \
6666 sys/sockio.h \
6667 sys/statvfs.h \
6668 sys/strtio.h \
6669 sys/syscall.h \
6670 sys/tihdr.h \
6671 sys/time.h \
6672 sys/timeout.h \
6673 sys/times.h \
6674 sys/uio.h \
6675 sys/user.h \
6676 sys/utsname.h \
6677 sys/vm86.h \
6678 sys/wait.h \
6679 syscall.h \
6680 termios.h \
6681 unistd.h \
6682 utime.h \
6683 valgrind/memcheck.h \
6684 valgrind/valgrind.h \
6685 zlib.h
6687 do :
6688 as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
6689 ac_fn_c_check_header_mongrel "$LINENO" "$ac_header" "$as_ac_Header" "$ac_includes_default"
6690 if eval test \"x\$"$as_ac_Header"\" = x"yes"; then :
6691 cat >>confdefs.h <<_ACEOF
6692 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
6693 _ACEOF
6697 done
6699 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether stat file-mode macros are broken" >&5
6700 $as_echo_n "checking whether stat file-mode macros are broken... " >&6; }
6701 if ${ac_cv_header_stat_broken+:} false; then :
6702 $as_echo_n "(cached) " >&6
6703 else
6704 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
6705 /* end confdefs.h. */
6706 #include <sys/types.h>
6707 #include <sys/stat.h>
6709 #if defined S_ISBLK && defined S_IFDIR
6710 extern char c1[S_ISBLK (S_IFDIR) ? -1 : 1];
6711 #endif
6713 #if defined S_ISBLK && defined S_IFCHR
6714 extern char c2[S_ISBLK (S_IFCHR) ? -1 : 1];
6715 #endif
6717 #if defined S_ISLNK && defined S_IFREG
6718 extern char c3[S_ISLNK (S_IFREG) ? -1 : 1];
6719 #endif
6721 #if defined S_ISSOCK && defined S_IFREG
6722 extern char c4[S_ISSOCK (S_IFREG) ? -1 : 1];
6723 #endif
6725 _ACEOF
6726 if ac_fn_c_try_compile "$LINENO"; then :
6727 ac_cv_header_stat_broken=no
6728 else
6729 ac_cv_header_stat_broken=yes
6731 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
6733 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_header_stat_broken" >&5
6734 $as_echo "$ac_cv_header_stat_broken" >&6; }
6735 if test $ac_cv_header_stat_broken = yes; then
6737 $as_echo "#define STAT_MACROS_BROKEN 1" >>confdefs.h
6743 for ac_header in sys/mount.h sys/statfs.h sys/sysctl.h sys/user.h sys/vfs.h
6744 do :
6745 as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
6746 ac_fn_c_check_header_compile "$LINENO" "$ac_header" "$as_ac_Header" "#include <sys/types.h>
6747 #ifdef HAVE_SYS_PARAM_H
6748 # include <sys/param.h>
6749 #endif
6751 if eval test \"x\$"$as_ac_Header"\" = x"yes"; then :
6752 cat >>confdefs.h <<_ACEOF
6753 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
6754 _ACEOF
6758 done
6761 for ac_header in \
6762 netinet/ip.h \
6763 net/if.h \
6764 net/if_arp.h \
6765 net/if_dl.h \
6766 net/if_types.h \
6767 net/route.h \
6768 netinet/if_ether.h \
6769 netinet/if_inarp.h \
6770 netinet/in_pcb.h \
6771 netinet/ip_icmp.h \
6772 netinet/ip_var.h \
6773 netinet/udp.h \
6774 netipx/ipx.h \
6775 sys/un.h \
6777 do :
6778 as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
6779 ac_fn_c_check_header_compile "$LINENO" "$ac_header" "$as_ac_Header" "#include <sys/types.h>
6780 #ifdef HAVE_SYS_SOCKET_H
6781 # include <sys/socket.h>
6782 #endif
6783 #ifdef HAVE_SYS_SOCKETVAR_H
6784 # include <sys/socketvar.h>
6785 #endif
6786 #ifdef HAVE_NET_ROUTE_H
6787 # include <net/route.h>
6788 #endif
6789 #ifdef HAVE_NETINET_IN_H
6790 # include <netinet/in.h>
6791 #endif
6792 #ifdef HAVE_NETINET_IN_SYSTM_H
6793 # include <netinet/in_systm.h>
6794 #endif
6795 #ifdef HAVE_NET_IF_H
6796 # include <net/if.h>
6797 #endif
6798 #ifdef HAVE_NETINET_IP_H
6799 # include <netinet/ip.h>
6800 #endif
6802 if eval test \"x\$"$as_ac_Header"\" = x"yes"; then :
6803 cat >>confdefs.h <<_ACEOF
6804 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
6805 _ACEOF
6809 done
6812 for ac_header in netinet/tcp_timer.h netinet/udp_var.h netinet/icmp_var.h netinet/tcp_var.h
6813 do :
6814 as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
6815 ac_fn_c_check_header_compile "$LINENO" "$ac_header" "$as_ac_Header" "#include <sys/types.h>
6816 #ifdef HAVE_ALIAS_H
6817 # include <alias.h>
6818 #endif
6819 #ifdef HAVE_SYS_SOCKET_H
6820 # include <sys/socket.h>
6821 #endif
6822 #ifdef HAVE_SYS_SOCKETVAR_H
6823 # include <sys/socketvar.h>
6824 #endif
6825 #ifdef HAVE_SYS_TIMEOUT_H
6826 # include <sys/timeout.h>
6827 #endif
6828 #ifdef HAVE_NETINET_IN_H
6829 # include <netinet/in.h>
6830 #endif
6831 #ifdef HAVE_NETINET_IN_SYSTM_H
6832 # include <netinet/in_systm.h>
6833 #endif
6834 #ifdef HAVE_NETINET_IP_H
6835 # include <netinet/ip.h>
6836 #endif
6837 #ifdef HAVE_NETINET_IP_VAR_H
6838 # include <netinet/ip_var.h>
6839 #endif
6840 #ifdef HAVE_NETINET_IP_ICMP_H
6841 # include <netinet/ip_icmp.h>
6842 #endif
6843 #ifdef HAVE_NETINET_UDP_H
6844 # include <netinet/udp.h>
6845 #endif
6846 #ifdef HAVE_NETINET_TCP_H
6847 # include <netinet/tcp.h>
6848 #endif
6849 #ifdef HAVE_NETINET_TCP_TIMER_H
6850 #include <netinet/tcp_timer.h>
6851 #endif
6853 if eval test \"x\$"$as_ac_Header"\" = x"yes"; then :
6854 cat >>confdefs.h <<_ACEOF
6855 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
6856 _ACEOF
6860 done
6863 for ac_header in linux/ipx.h linux/irda.h linux/rtnetlink.h
6864 do :
6865 as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
6866 ac_fn_c_check_header_compile "$LINENO" "$ac_header" "$as_ac_Header" "#include <sys/types.h>
6867 #ifdef HAVE_ASM_TYPES_H
6868 # include <asm/types.h>
6869 #endif
6870 #ifdef HAVE_SYS_SOCKET_H
6871 # include <sys/socket.h>
6872 #endif
6873 #ifdef HAVE_LINUX_TYPES_H
6874 # include <linux/types.h>
6875 #endif
6877 if eval test \"x\$"$as_ac_Header"\" = x"yes"; then :
6878 cat >>confdefs.h <<_ACEOF
6879 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
6880 _ACEOF
6884 done
6887 for ac_header in mach-o/dyld_images.h
6888 do :
6889 ac_fn_c_check_header_compile "$LINENO" "mach-o/dyld_images.h" "ac_cv_header_mach_o_dyld_images_h" "#ifdef HAVE_STDBOOL_H
6890 # include <stdbool.h>
6891 #endif
6892 #ifdef HAVE_STDINT_H
6893 # include <stdint.h>
6894 #endif
6896 if test "x$ac_cv_header_mach_o_dyld_images_h" = xyes; then :
6897 cat >>confdefs.h <<_ACEOF
6898 #define HAVE_MACH_O_DYLD_IMAGES_H 1
6899 _ACEOF
6903 done
6906 for ac_header in resolv.h
6907 do :
6908 ac_fn_c_check_header_compile "$LINENO" "resolv.h" "ac_cv_header_resolv_h" "#include <sys/types.h>
6909 #ifdef HAVE_SYS_SOCKET_H
6910 # include <sys/socket.h>
6911 #endif
6912 #ifdef HAVE_NETINET_IN_H
6913 # include <netinet/in.h>
6914 #endif
6915 #ifdef HAVE_ARPA_NAMESER_H
6916 # include <arpa/nameser.h>
6917 #endif
6919 if test "x$ac_cv_header_resolv_h" = xyes; then :
6920 cat >>confdefs.h <<_ACEOF
6921 #define HAVE_RESOLV_H 1
6922 _ACEOF
6926 done
6929 for ac_header in ifaddrs.h
6930 do :
6931 ac_fn_c_check_header_compile "$LINENO" "ifaddrs.h" "ac_cv_header_ifaddrs_h" "#include <sys/types.h>
6933 if test "x$ac_cv_header_ifaddrs_h" = xyes; then :
6934 cat >>confdefs.h <<_ACEOF
6935 #define HAVE_IFADDRS_H 1
6936 _ACEOF
6940 done
6943 for ac_header in ucontext.h
6944 do :
6945 ac_fn_c_check_header_compile "$LINENO" "ucontext.h" "ac_cv_header_ucontext_h" "#include <signal.h>
6947 if test "x$ac_cv_header_ucontext_h" = xyes; then :
6948 cat >>confdefs.h <<_ACEOF
6949 #define HAVE_UCONTEXT_H 1
6950 _ACEOF
6954 done
6957 for ac_header in sys/thr.h
6958 do :
6959 ac_fn_c_check_header_compile "$LINENO" "sys/thr.h" "ac_cv_header_sys_thr_h" "#include <sys/types.h>
6960 #ifdef HAVE_UCONTEXT_H
6961 #include <ucontext.h>
6962 #endif
6964 if test "x$ac_cv_header_sys_thr_h" = xyes; then :
6965 cat >>confdefs.h <<_ACEOF
6966 #define HAVE_SYS_THR_H 1
6967 _ACEOF
6971 done
6974 for ac_header in pthread_np.h
6975 do :
6976 ac_fn_c_check_header_compile "$LINENO" "pthread_np.h" "ac_cv_header_pthread_np_h" "#ifdef HAVE_PTHREAD_H
6977 #include <pthread.h>
6978 #endif
6980 if test "x$ac_cv_header_pthread_np_h" = xyes; then :
6981 cat >>confdefs.h <<_ACEOF
6982 #define HAVE_PTHREAD_NP_H 1
6983 _ACEOF
6987 done
6990 for ac_header in linux/videodev.h linux/videodev2.h libv4l1.h
6991 do :
6992 as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
6993 ac_fn_c_check_header_compile "$LINENO" "$ac_header" "$as_ac_Header" "#ifdef HAVE_SYS_TIME_H
6994 #include <sys/time.h>
6995 #endif
6996 #include <sys/types.h>
6997 #ifdef HAVE_ASM_TYPES_H
6998 #include <asm/types.h>
6999 #endif
7001 if eval test \"x\$"$as_ac_Header"\" = x"yes"; then :
7002 cat >>confdefs.h <<_ACEOF
7003 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
7004 _ACEOF
7008 done
7011 for ac_header in libprocstat.h
7012 do :
7013 ac_fn_c_check_header_compile "$LINENO" "libprocstat.h" "ac_cv_header_libprocstat_h" "#ifdef HAVE_SYS_PARAM_H
7014 #include <sys/param.h>
7015 #endif
7016 #ifdef HAVE_SYS_QUEUE_H
7017 #include <sys/queue.h>
7018 #endif
7019 #ifdef HAVE_SYS_SOCKET_H
7020 #include <sys/socket.h>
7021 #endif
7023 if test "x$ac_cv_header_libprocstat_h" = xyes; then :
7024 cat >>confdefs.h <<_ACEOF
7025 #define HAVE_LIBPROCSTAT_H 1
7026 _ACEOF
7030 done
7034 dlldir="\${libdir}/wine"
7036 DLLEXT=""
7038 DLLPREFIX=""
7040 DLLFLAGS="-D_REENTRANT"
7042 IMPLIBEXT="def"
7044 LDRPATH_INSTALL=""
7046 LDRPATH_LOCAL=""
7048 LIBEXT="so"
7049 STATIC_IMPLIBEXT="def.a"
7050 # Extract the first word of "ldd", so it can be a program name with args.
7051 set dummy ldd; ac_word=$2
7052 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7053 $as_echo_n "checking for $ac_word... " >&6; }
7054 if ${ac_cv_path_LDD+:} false; then :
7055 $as_echo_n "(cached) " >&6
7056 else
7057 case $LDD in
7058 [\\/]* | ?:[\\/]*)
7059 ac_cv_path_LDD="$LDD" # Let the user override the test with a path.
7062 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7063 as_dummy="/sbin:/usr/sbin:$PATH"
7064 for as_dir in $as_dummy
7066 IFS=$as_save_IFS
7067 test -z "$as_dir" && as_dir=.
7068 for ac_exec_ext in '' $ac_executable_extensions; do
7069 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
7070 ac_cv_path_LDD="$as_dir/$ac_word$ac_exec_ext"
7071 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
7072 break 2
7074 done
7075 done
7076 IFS=$as_save_IFS
7078 test -z "$ac_cv_path_LDD" && ac_cv_path_LDD="true"
7080 esac
7082 LDD=$ac_cv_path_LDD
7083 if test -n "$LDD"; then
7084 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $LDD" >&5
7085 $as_echo "$LDD" >&6; }
7086 else
7087 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7088 $as_echo "no" >&6; }
7092 if test -n "$ac_tool_prefix"; then
7093 # Extract the first word of "${ac_tool_prefix}readelf", so it can be a program name with args.
7094 set dummy ${ac_tool_prefix}readelf; ac_word=$2
7095 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7096 $as_echo_n "checking for $ac_word... " >&6; }
7097 if ${ac_cv_prog_READELF+:} false; then :
7098 $as_echo_n "(cached) " >&6
7099 else
7100 if test -n "$READELF"; then
7101 ac_cv_prog_READELF="$READELF" # Let the user override the test.
7102 else
7103 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7104 for as_dir in $PATH
7106 IFS=$as_save_IFS
7107 test -z "$as_dir" && as_dir=.
7108 for ac_exec_ext in '' $ac_executable_extensions; do
7109 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
7110 ac_cv_prog_READELF="${ac_tool_prefix}readelf"
7111 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
7112 break 2
7114 done
7115 done
7116 IFS=$as_save_IFS
7120 READELF=$ac_cv_prog_READELF
7121 if test -n "$READELF"; then
7122 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $READELF" >&5
7123 $as_echo "$READELF" >&6; }
7124 else
7125 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7126 $as_echo "no" >&6; }
7131 if test -z "$ac_cv_prog_READELF"; then
7132 ac_ct_READELF=$READELF
7133 # Extract the first word of "readelf", so it can be a program name with args.
7134 set dummy readelf; ac_word=$2
7135 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7136 $as_echo_n "checking for $ac_word... " >&6; }
7137 if ${ac_cv_prog_ac_ct_READELF+:} false; then :
7138 $as_echo_n "(cached) " >&6
7139 else
7140 if test -n "$ac_ct_READELF"; then
7141 ac_cv_prog_ac_ct_READELF="$ac_ct_READELF" # Let the user override the test.
7142 else
7143 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7144 for as_dir in $PATH
7146 IFS=$as_save_IFS
7147 test -z "$as_dir" && as_dir=.
7148 for ac_exec_ext in '' $ac_executable_extensions; do
7149 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
7150 ac_cv_prog_ac_ct_READELF="readelf"
7151 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
7152 break 2
7154 done
7155 done
7156 IFS=$as_save_IFS
7160 ac_ct_READELF=$ac_cv_prog_ac_ct_READELF
7161 if test -n "$ac_ct_READELF"; then
7162 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_READELF" >&5
7163 $as_echo "$ac_ct_READELF" >&6; }
7164 else
7165 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7166 $as_echo "no" >&6; }
7169 if test "x$ac_ct_READELF" = x; then
7170 READELF="true"
7171 else
7172 case $cross_compiling:$ac_tool_warned in
7173 yes:)
7174 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
7175 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
7176 ac_tool_warned=yes ;;
7177 esac
7178 READELF=$ac_ct_READELF
7180 else
7181 READELF="$ac_cv_prog_READELF"
7185 case $host_os in
7186 cygwin*|mingw32*)
7187 if test -n "$ac_tool_prefix"; then
7188 # Extract the first word of "${ac_tool_prefix}dlltool", so it can be a program name with args.
7189 set dummy ${ac_tool_prefix}dlltool; ac_word=$2
7190 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7191 $as_echo_n "checking for $ac_word... " >&6; }
7192 if ${ac_cv_prog_DLLTOOL+:} false; then :
7193 $as_echo_n "(cached) " >&6
7194 else
7195 if test -n "$DLLTOOL"; then
7196 ac_cv_prog_DLLTOOL="$DLLTOOL" # Let the user override the test.
7197 else
7198 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7199 for as_dir in $PATH
7201 IFS=$as_save_IFS
7202 test -z "$as_dir" && as_dir=.
7203 for ac_exec_ext in '' $ac_executable_extensions; do
7204 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
7205 ac_cv_prog_DLLTOOL="${ac_tool_prefix}dlltool"
7206 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
7207 break 2
7209 done
7210 done
7211 IFS=$as_save_IFS
7215 DLLTOOL=$ac_cv_prog_DLLTOOL
7216 if test -n "$DLLTOOL"; then
7217 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $DLLTOOL" >&5
7218 $as_echo "$DLLTOOL" >&6; }
7219 else
7220 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7221 $as_echo "no" >&6; }
7226 if test -z "$ac_cv_prog_DLLTOOL"; then
7227 ac_ct_DLLTOOL=$DLLTOOL
7228 # Extract the first word of "dlltool", so it can be a program name with args.
7229 set dummy dlltool; ac_word=$2
7230 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7231 $as_echo_n "checking for $ac_word... " >&6; }
7232 if ${ac_cv_prog_ac_ct_DLLTOOL+:} false; then :
7233 $as_echo_n "(cached) " >&6
7234 else
7235 if test -n "$ac_ct_DLLTOOL"; then
7236 ac_cv_prog_ac_ct_DLLTOOL="$ac_ct_DLLTOOL" # Let the user override the test.
7237 else
7238 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7239 for as_dir in $PATH
7241 IFS=$as_save_IFS
7242 test -z "$as_dir" && as_dir=.
7243 for ac_exec_ext in '' $ac_executable_extensions; do
7244 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
7245 ac_cv_prog_ac_ct_DLLTOOL="dlltool"
7246 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
7247 break 2
7249 done
7250 done
7251 IFS=$as_save_IFS
7255 ac_ct_DLLTOOL=$ac_cv_prog_ac_ct_DLLTOOL
7256 if test -n "$ac_ct_DLLTOOL"; then
7257 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_DLLTOOL" >&5
7258 $as_echo "$ac_ct_DLLTOOL" >&6; }
7259 else
7260 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7261 $as_echo "no" >&6; }
7264 if test "x$ac_ct_DLLTOOL" = x; then
7265 DLLTOOL="false"
7266 else
7267 case $cross_compiling:$ac_tool_warned in
7268 yes:)
7269 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
7270 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
7271 ac_tool_warned=yes ;;
7272 esac
7273 DLLTOOL=$ac_ct_DLLTOOL
7275 else
7276 DLLTOOL="$ac_cv_prog_DLLTOOL"
7279 LIBEXT="dll"
7280 IMPLIBEXT="a"
7281 STATIC_IMPLIBEXT="a"
7282 enable_iphlpapi=${enable_iphlpapi:-no}
7283 enable_kernel32=${enable_kernel32:-no}
7284 enable_msvcrt=${enable_msvcrt:-no}
7285 enable_ntdll=${enable_ntdll:-no}
7286 enable_ws2_32=${enable_ws2_32:-no}
7287 enable_loader=${enable_loader:-no}
7288 enable_server=${enable_server:-no}
7289 with_x=${with_x:-no}
7290 with_pthread=${with_pthread:-no}
7292 crtlibs=""
7293 case $host_os in
7294 mingw32*)
7295 crtlibs="-lmsvcrt"
7296 SOCKETLIBS="-L\$(top_builddir)/dlls/ws2_32 -lws2_32"
7298 esac
7300 LIBWINE_RULES="
7301 all: libwine.dll libwine.a
7303 libwine.a: wine.def
7304 \$(DLLTOOL) -l \$@ -d \$(srcdir)/wine.def
7306 libwine.dll: \$(OBJS) wine.def Makefile.in
7307 \$(CC) -shared \$(srcdir)/wine.def -o \$@ \$(OBJS) $crtlibs \$(EXTRALIBS)
7309 install install-lib:: libwine.dll \$(DESTDIR)\$(libdir) dummy
7310 \$(INSTALL_DATA) libwine.dll \$(DESTDIR)\$(libdir)/libwine.dll
7312 install install-dev:: libwine.a \$(DESTDIR)\$(libdir) dummy
7313 \$(INSTALL_DATA) libwine.a \$(DESTDIR)\$(libdir)/libwine.a
7315 uninstall::
7316 -cd \$(DESTDIR)\$(libdir) && \$(RM) libwine.a libwine.dll
7318 clean::
7319 \$(RM) libwine.dll version.c
7324 darwin*|macosx*)
7325 DLLEXT=".so"
7326 LIBEXT="dylib"
7327 DLLFLAGS="$DLLFLAGS -fPIC"
7328 LIBWINE_LDFLAGS="-multiply_defined suppress"
7329 LDRPATH_INSTALL="-Wl,-rpath,@loader_path/\`\$(RELPATH) \$(bindir) \$(libdir)\`"
7330 LDRPATH_LOCAL="-Wl,-rpath,@loader_path/\$(top_builddir)/libs/wine"
7331 COREFOUNDATIONLIB="-framework CoreFoundation"
7333 IOKITLIB="-framework IOKit -framework CoreFoundation"
7335 FORCEFEEDBACKLIB="-framework ForceFeedback -framework CoreFoundation"
7337 APPLICATIONSERVICESLIB="-framework ApplicationServices"
7339 CORESERVICESLIB="-framework CoreServices"
7341 APPKITLIB="-framework AppKit"
7343 case $host_os in
7344 darwin11*)
7345 LDEXECFLAGS="-image_base 0x7bf00000 -Wl,-macosx_version_min,10.6,-segaddr,WINE_DOS,0x00001000,-segaddr,WINE_SHAREDHEAP,0x7f000000,-sectcreate,__TEXT,__info_plist,wine_info.plist"
7348 LDEXECFLAGS="-image_base 0x7bf00000 -Wl,-segaddr,WINE_DOS,0x00001000,-segaddr,WINE_SHAREDHEAP,0x7f000000,-sectcreate,__TEXT,__info_plist,wine_info.plist"
7350 esac
7351 if test "$ac_cv_header_DiskArbitration_DiskArbitration_h" = "yes"
7352 then
7353 DISKARBITRATIONLIB="-framework DiskArbitration -framework CoreFoundation"
7356 if test "$ac_cv_header_Security_Security_h" = "yes"
7357 then
7358 SECURITYLIB="-framework Security -framework CoreFoundation"
7360 ac_save_LIBS="$LIBS"
7361 LIBS="$LIBS $SECURITYLIB"
7362 for ac_func in SSLCopyPeerCertificates
7363 do :
7364 ac_fn_c_check_func "$LINENO" "SSLCopyPeerCertificates" "ac_cv_func_SSLCopyPeerCertificates"
7365 if test "x$ac_cv_func_SSLCopyPeerCertificates" = xyes; then :
7366 cat >>confdefs.h <<_ACEOF
7367 #define HAVE_SSLCOPYPEERCERTIFICATES 1
7368 _ACEOF
7371 done
7373 LIBS="$ac_save_LIBS"
7374 with_gnutls=${with_gnutls:-no}
7376 if test "$ac_cv_header_CoreAudio_CoreAudio_h" = "yes" -a "$ac_cv_header_AudioUnit_AudioUnit_h" = "yes"
7377 then
7378 if test "$ac_cv_header_AudioUnit_AudioComponent_h" = "yes"
7379 then
7380 COREAUDIO="-framework CoreFoundation -framework CoreAudio -framework AudioUnit -framework AudioToolbox -framework CoreMIDI"
7382 else
7383 COREAUDIO="-framework CoreAudio -framework AudioUnit -framework CoreServices -framework AudioToolbox -framework CoreMIDI"
7386 ac_save_LIBS="$LIBS"
7387 LIBS="$LIBS $COREAUDIO"
7388 for ac_func in AUGraphAddNode
7389 do :
7390 ac_fn_c_check_func "$LINENO" "AUGraphAddNode" "ac_cv_func_AUGraphAddNode"
7391 if test "x$ac_cv_func_AUGraphAddNode" = xyes; then :
7392 cat >>confdefs.h <<_ACEOF
7393 #define HAVE_AUGRAPHADDNODE 1
7394 _ACEOF
7397 done
7399 LIBS="$ac_save_LIBS"
7401 if test "$ac_cv_header_OpenAL_al_h" = "yes"
7402 then
7403 FRAMEWORK_OPENAL="-framework OpenAL"
7406 cat >>confdefs.h <<_ACEOF
7407 #define HAVE_OPENAL 1
7408 _ACEOF
7410 ac_cv_lib_openal=yes
7412 if test "$ac_cv_header_OpenCL_opencl_h" = "yes"
7413 then
7414 LIBOPENCL="-framework OpenCL"
7416 ac_cv_lib_OpenCL_clGetPlatformInfo=yes
7418 if test "$ac_cv_header_IOKit_hid_IOHIDLib_h" = "yes"
7419 then
7420 ac_save_LIBS="$LIBS"
7421 LIBS="$LIBS $IOKITLIB"
7422 for ac_func in IOHIDManagerCreate
7423 do :
7424 ac_fn_c_check_func "$LINENO" "IOHIDManagerCreate" "ac_cv_func_IOHIDManagerCreate"
7425 if test "x$ac_cv_func_IOHIDManagerCreate" = xyes; then :
7426 cat >>confdefs.h <<_ACEOF
7427 #define HAVE_IOHIDMANAGERCREATE 1
7428 _ACEOF
7431 done
7433 LIBS="$ac_save_LIBS"
7435 if test "$ac_cv_header_QuickTime_ImageCompression_h" = "yes"
7436 then
7437 QUICKTIMELIB="-framework QuickTime -framework ApplicationServices -framework CoreVideo"
7439 enable_wineqtdecoder=${enable_wineqtdecoder:-yes}
7440 else
7441 as_fn_append wine_notices "|QuickTime ${notice_platform}development files not found, video decoding won't be supported."
7443 if test "$ac_cv_header_Carbon_Carbon_h" = "yes"
7444 then
7445 CARBONLIB="-framework Carbon"
7449 if test "$ac_cv_header_ApplicationServices_ApplicationServices_h" = "yes"
7450 then
7451 ac_save_LIBS="$LIBS"
7452 LIBS="$LIBS $APPLICATIONSERVICESLIB"
7453 ac_fn_c_check_func "$LINENO" "CGDisplayModeGetWidth" "ac_cv_func_CGDisplayModeGetWidth"
7454 if test "x$ac_cv_func_CGDisplayModeGetWidth" = xyes; then :
7455 enable_winemac_drv=${enable_winemac_drv:-yes}
7458 LIBS="$ac_save_LIBS"
7461 if test "x$enable_win16" = "xyes"
7462 then
7463 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether 16-bit code can be built correctly" >&5
7464 $as_echo_n "checking whether 16-bit code can be built correctly... " >&6; }
7465 if test "$cross_compiling" = yes; then :
7466 { $as_echo "$as_me:${as_lineno-$LINENO}: result: cross-compiling, assuming yes" >&5
7467 $as_echo "cross-compiling, assuming yes" >&6; }
7468 else
7469 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
7470 /* end confdefs.h. */
7471 asm(".text\n"
7472 "bad:\tnop;nop\n"
7473 "good:\tnop;nop\n\t"
7474 ".globl _testfunc\n"
7475 "_testfunc:\tcallw good");
7476 extern void testfunc();
7478 main ()
7480 unsigned short *p = (unsigned short *)testfunc;
7481 return p[0] != 0xe866 || p[1] != 0xfffa
7483 return 0;
7485 _ACEOF
7486 if ac_fn_c_try_run "$LINENO"; then :
7487 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
7488 $as_echo "yes" >&6; }
7489 else
7490 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7491 $as_echo "no" >&6; }
7492 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
7494 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \
7495 conftest.$ac_objext conftest.beam conftest.$ac_ext
7500 LIBWINE_RULES="
7501 all: libwine.dylib
7503 libwine.\$(VERSION).dylib: \$(OBJS) \$(RELPATH) Makefile.in
7504 \$(CC) -dynamiclib -install_name @rpath/libwine.\$(SOVERSION).dylib -Wl,-rpath,@loader_path/ -compatibility_version \$(SOVERSION) -current_version \$(VERSION) \$(OBJS) \$(EXTRALIBS) \$(LDFLAGS) \$(LIBS) -o \$@
7506 libwine.\$(SOVERSION).dylib: libwine.\$(VERSION).dylib
7507 \$(RM) \$@ && \$(LN_S) libwine.\$(VERSION).dylib \$@
7509 libwine.dylib: libwine.\$(SOVERSION).dylib
7510 \$(RM) \$@ && \$(LN_S) libwine.\$(SOVERSION).dylib \$@
7512 install install-lib:: libwine.\$(VERSION).dylib \$(DESTDIR)\$(libdir) dummy
7513 \$(INSTALL_PROGRAM) libwine.\$(VERSION).dylib \$(DESTDIR)\$(libdir)/libwine.\$(VERSION).dylib
7514 cd \$(DESTDIR)\$(libdir) && \$(RM) libwine.\$(SOVERSION).dylib && \$(LN_S) libwine.\$(VERSION).dylib libwine.\$(SOVERSION).dylib
7516 install install-dev:: \$(DESTDIR)\$(libdir) dummy
7517 cd \$(DESTDIR)\$(libdir) && \$(RM) libwine.dylib && \$(LN_S) libwine.\$(VERSION).dylib libwine.dylib
7519 uninstall::
7520 -cd \$(DESTDIR)\$(libdir) && \$(RM) libwine.dylib libwine.\$(VERSION).dylib libwine.\$(SOVERSION).dylib
7522 clean::
7523 \$(RM) libwine.dylib libwine.\$(VERSION).dylib libwine.\$(SOVERSION).dylib version.c
7528 linux-android*)
7529 DLLFLAGS="$DLLFLAGS -fPIC"
7530 DLLEXT=".so"
7531 DLLPREFIX="lib"
7532 dlldir="\${libdir}"
7533 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -fPIC -Wl,--export-dynamic" >&5
7534 $as_echo_n "checking whether the compiler supports -fPIC -Wl,--export-dynamic... " >&6; }
7535 if ${ac_cv_cflags__fPIC__Wl___export_dynamic+:} false; then :
7536 $as_echo_n "(cached) " >&6
7537 else
7538 ac_wine_try_cflags_saved=$CFLAGS
7539 CFLAGS="$CFLAGS -fPIC -Wl,--export-dynamic"
7540 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
7541 /* end confdefs.h. */
7542 int main(int argc, char **argv) { return 0; }
7543 _ACEOF
7544 if ac_fn_c_try_link "$LINENO"; then :
7545 ac_cv_cflags__fPIC__Wl___export_dynamic=yes
7546 else
7547 ac_cv_cflags__fPIC__Wl___export_dynamic=no
7549 rm -f core conftest.err conftest.$ac_objext \
7550 conftest$ac_exeext conftest.$ac_ext
7551 CFLAGS=$ac_wine_try_cflags_saved
7553 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__fPIC__Wl___export_dynamic" >&5
7554 $as_echo "$ac_cv_cflags__fPIC__Wl___export_dynamic" >&6; }
7555 if test $ac_cv_cflags__fPIC__Wl___export_dynamic = yes; then :
7556 LDEXECFLAGS="-Wl,--export-dynamic"
7559 as_ac_var=`$as_echo "ac_cv_cflags_-fPIC -Wl,--rpath,\\$ORIGIN/../lib" | $as_tr_sh`
7560 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -fPIC -Wl,--rpath,\$ORIGIN/../lib" >&5
7561 $as_echo_n "checking whether the compiler supports -fPIC -Wl,--rpath,\$ORIGIN/../lib... " >&6; }
7562 if eval \${$as_ac_var+:} false; then :
7563 $as_echo_n "(cached) " >&6
7564 else
7565 ac_wine_try_cflags_saved=$CFLAGS
7566 CFLAGS="$CFLAGS -fPIC -Wl,--rpath,\$ORIGIN/../lib"
7567 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
7568 /* end confdefs.h. */
7569 int main(int argc, char **argv) { return 0; }
7570 _ACEOF
7571 if ac_fn_c_try_link "$LINENO"; then :
7572 eval "$as_ac_var=yes"
7573 else
7574 eval "$as_ac_var=no"
7576 rm -f core conftest.err conftest.$ac_objext \
7577 conftest$ac_exeext conftest.$ac_ext
7578 CFLAGS=$ac_wine_try_cflags_saved
7580 eval ac_res=\$$as_ac_var
7581 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
7582 $as_echo "$ac_res" >&6; }
7583 if test `eval 'as_val=${'$as_ac_var'};$as_echo "$as_val"'` = yes; then :
7584 LDRPATH_INSTALL="-Wl,--rpath,\\\$\$ORIGIN/\`\$(RELPATH) \$(bindir) \$(libdir)\`"
7585 LDRPATH_LOCAL="-Wl,--rpath,\\\$\$ORIGIN/\$(top_builddir)/libs/wine"
7586 else
7587 as_ac_var=`$as_echo "ac_cv_cflags_-fPIC -Wl,-R,\\$ORIGIN/../lib" | $as_tr_sh`
7588 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -fPIC -Wl,-R,\$ORIGIN/../lib" >&5
7589 $as_echo_n "checking whether the compiler supports -fPIC -Wl,-R,\$ORIGIN/../lib... " >&6; }
7590 if eval \${$as_ac_var+:} false; then :
7591 $as_echo_n "(cached) " >&6
7592 else
7593 ac_wine_try_cflags_saved=$CFLAGS
7594 CFLAGS="$CFLAGS -fPIC -Wl,-R,\$ORIGIN/../lib"
7595 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
7596 /* end confdefs.h. */
7597 int main(int argc, char **argv) { return 0; }
7598 _ACEOF
7599 if ac_fn_c_try_link "$LINENO"; then :
7600 eval "$as_ac_var=yes"
7601 else
7602 eval "$as_ac_var=no"
7604 rm -f core conftest.err conftest.$ac_objext \
7605 conftest$ac_exeext conftest.$ac_ext
7606 CFLAGS=$ac_wine_try_cflags_saved
7608 eval ac_res=\$$as_ac_var
7609 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
7610 $as_echo "$ac_res" >&6; }
7611 if test `eval 'as_val=${'$as_ac_var'};$as_echo "$as_val"'` = yes; then :
7612 LDRPATH_INSTALL="-Wl,-R,\\\$\$ORIGIN/\`\$(RELPATH) \$(bindir) \$(libdir)\`"
7613 LDRPATH_LOCAL="-Wl,-R,\\\$\$ORIGIN/\$(top_builddir)/libs/wine"
7617 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wl,--enable-new-dtags" >&5
7618 $as_echo_n "checking whether the compiler supports -Wl,--enable-new-dtags... " >&6; }
7619 if ${ac_cv_cflags__Wl___enable_new_dtags+:} false; then :
7620 $as_echo_n "(cached) " >&6
7621 else
7622 ac_wine_try_cflags_saved=$CFLAGS
7623 CFLAGS="$CFLAGS -Wl,--enable-new-dtags"
7624 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
7625 /* end confdefs.h. */
7626 int main(int argc, char **argv) { return 0; }
7627 _ACEOF
7628 if ac_fn_c_try_link "$LINENO"; then :
7629 ac_cv_cflags__Wl___enable_new_dtags=yes
7630 else
7631 ac_cv_cflags__Wl___enable_new_dtags=no
7633 rm -f core conftest.err conftest.$ac_objext \
7634 conftest$ac_exeext conftest.$ac_ext
7635 CFLAGS=$ac_wine_try_cflags_saved
7637 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wl___enable_new_dtags" >&5
7638 $as_echo "$ac_cv_cflags__Wl___enable_new_dtags" >&6; }
7639 if test $ac_cv_cflags__Wl___enable_new_dtags = yes; then :
7640 LDRPATH_INSTALL="$LDRPATH_INSTALL -Wl,--enable-new-dtags"
7643 case $host_cpu in
7644 *i[3456789]86* | x86_64)
7645 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wl,--section-start,.interp=0x7bf00400" >&5
7646 $as_echo_n "checking whether the compiler supports -Wl,--section-start,.interp=0x7bf00400... " >&6; }
7647 if ${ac_cv_cflags__Wl___section_start__interp_0x7bf00400+:} false; then :
7648 $as_echo_n "(cached) " >&6
7649 else
7650 ac_wine_try_cflags_saved=$CFLAGS
7651 CFLAGS="$CFLAGS -Wl,--section-start,.interp=0x7bf00400"
7652 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
7653 /* end confdefs.h. */
7654 int main(int argc, char **argv) { return 0; }
7655 _ACEOF
7656 if ac_fn_c_try_link "$LINENO"; then :
7657 ac_cv_cflags__Wl___section_start__interp_0x7bf00400=yes
7658 else
7659 ac_cv_cflags__Wl___section_start__interp_0x7bf00400=no
7661 rm -f core conftest.err conftest.$ac_objext \
7662 conftest$ac_exeext conftest.$ac_ext
7663 CFLAGS=$ac_wine_try_cflags_saved
7665 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wl___section_start__interp_0x7bf00400" >&5
7666 $as_echo "$ac_cv_cflags__Wl___section_start__interp_0x7bf00400" >&6; }
7667 if test $ac_cv_cflags__Wl___section_start__interp_0x7bf00400 = yes; then :
7668 LDEXECFLAGS="$LDEXECFLAGS -Wl,--section-start,.interp=0x7bf00400"
7671 esac
7673 LIBWINE_RULES="
7674 all: libwine.so
7676 libwine.so: \$(OBJS) Makefile.in
7677 \$(CC) -shared \$(OBJS) \$(EXTRALIBS) \$(LDFLAGS) \$(LIBS) -o \$@
7679 install install-lib:: libwine.so \$(DESTDIR)\$(libdir) dummy
7680 \$(INSTALL_PROGRAM) libwine.so \$(DESTDIR)\$(libdir)/libwine.so
7682 uninstall::
7683 \$(RM) \$(DESTDIR)\$(libdir)/libwine.so
7685 clean::
7686 \$(RM) libwine.so version.c
7692 DLLFLAGS="$DLLFLAGS -fPIC"
7693 DLLEXT=".so"
7694 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we can build a GNU style ELF dll" >&5
7695 $as_echo_n "checking whether we can build a GNU style ELF dll... " >&6; }
7696 if ${ac_cv_c_dll_gnuelf+:} false; then :
7697 $as_echo_n "(cached) " >&6
7698 else
7699 ac_wine_try_cflags_saved=$CFLAGS
7700 CFLAGS="$CFLAGS -fPIC -shared -Wl,-Bsymbolic"
7701 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
7702 /* end confdefs.h. */
7703 void myfunc() {}
7704 _ACEOF
7705 if ac_fn_c_try_link "$LINENO"; then :
7706 ac_cv_c_dll_gnuelf="yes"
7707 else
7708 ac_cv_c_dll_gnuelf="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_c_dll_gnuelf" >&5
7715 $as_echo "$ac_cv_c_dll_gnuelf" >&6; }
7716 if test "$ac_cv_c_dll_gnuelf" = "yes"
7717 then
7718 LDSHARED="\$(CC) -shared"
7719 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -fPIC -shared -Wl,-soname,confest.so.1" >&5
7720 $as_echo_n "checking whether the compiler supports -fPIC -shared -Wl,-soname,confest.so.1... " >&6; }
7721 if ${ac_cv_cflags__fPIC__shared__Wl__soname_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,-soname,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__soname_confest_so_1=yes
7732 else
7733 ac_cv_cflags__fPIC__shared__Wl__soname_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__soname_confest_so_1" >&5
7740 $as_echo "$ac_cv_cflags__fPIC__shared__Wl__soname_confest_so_1" >&6; }
7741 if test $ac_cv_cflags__fPIC__shared__Wl__soname_confest_so_1 = yes; then :
7742 LDSHARED="\$(CC) -shared -Wl,-soname,libwine.so.\$(SOVERSION)"
7743 else
7744 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -fPIC -shared -Wl,-h,confest.so.1" >&5
7745 $as_echo_n "checking whether the compiler supports -fPIC -shared -Wl,-h,confest.so.1... " >&6; }
7746 if ${ac_cv_cflags__fPIC__shared__Wl__h_confest_so_1+:} false; then :
7747 $as_echo_n "(cached) " >&6
7748 else
7749 ac_wine_try_cflags_saved=$CFLAGS
7750 CFLAGS="$CFLAGS -fPIC -shared -Wl,-h,confest.so.1"
7751 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
7752 /* end confdefs.h. */
7753 int main(int argc, char **argv) { return 0; }
7754 _ACEOF
7755 if ac_fn_c_try_link "$LINENO"; then :
7756 ac_cv_cflags__fPIC__shared__Wl__h_confest_so_1=yes
7757 else
7758 ac_cv_cflags__fPIC__shared__Wl__h_confest_so_1=no
7760 rm -f core conftest.err conftest.$ac_objext \
7761 conftest$ac_exeext conftest.$ac_ext
7762 CFLAGS=$ac_wine_try_cflags_saved
7764 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__fPIC__shared__Wl__h_confest_so_1" >&5
7765 $as_echo "$ac_cv_cflags__fPIC__shared__Wl__h_confest_so_1" >&6; }
7766 if test $ac_cv_cflags__fPIC__shared__Wl__h_confest_so_1 = yes; then :
7767 LDSHARED="\$(CC) -shared -Wl,-h,libwine.so.\$(SOVERSION)"
7771 echo '{ global: *; };' >conftest.map
7772 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -fPIC -shared -Wl,--version-script=conftest.map" >&5
7773 $as_echo_n "checking whether the compiler supports -fPIC -shared -Wl,--version-script=conftest.map... " >&6; }
7774 if ${ac_cv_cflags__fPIC__shared__Wl___version_script_conftest_map+:} false; then :
7775 $as_echo_n "(cached) " >&6
7776 else
7777 ac_wine_try_cflags_saved=$CFLAGS
7778 CFLAGS="$CFLAGS -fPIC -shared -Wl,--version-script=conftest.map"
7779 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
7780 /* end confdefs.h. */
7781 int main(int argc, char **argv) { return 0; }
7782 _ACEOF
7783 if ac_fn_c_try_link "$LINENO"; then :
7784 ac_cv_cflags__fPIC__shared__Wl___version_script_conftest_map=yes
7785 else
7786 ac_cv_cflags__fPIC__shared__Wl___version_script_conftest_map=no
7788 rm -f core conftest.err conftest.$ac_objext \
7789 conftest$ac_exeext conftest.$ac_ext
7790 CFLAGS=$ac_wine_try_cflags_saved
7792 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__fPIC__shared__Wl___version_script_conftest_map" >&5
7793 $as_echo "$ac_cv_cflags__fPIC__shared__Wl___version_script_conftest_map" >&6; }
7794 if test $ac_cv_cflags__fPIC__shared__Wl___version_script_conftest_map = yes; then :
7795 LDSHARED="$LDSHARED -Wl,--version-script=\$(srcdir)/wine.map"
7797 rm -f conftest.map
7799 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -fPIC -Wl,--export-dynamic" >&5
7800 $as_echo_n "checking whether the compiler supports -fPIC -Wl,--export-dynamic... " >&6; }
7801 if ${ac_cv_cflags__fPIC__Wl___export_dynamic+:} false; then :
7802 $as_echo_n "(cached) " >&6
7803 else
7804 ac_wine_try_cflags_saved=$CFLAGS
7805 CFLAGS="$CFLAGS -fPIC -Wl,--export-dynamic"
7806 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
7807 /* end confdefs.h. */
7808 int main(int argc, char **argv) { return 0; }
7809 _ACEOF
7810 if ac_fn_c_try_link "$LINENO"; then :
7811 ac_cv_cflags__fPIC__Wl___export_dynamic=yes
7812 else
7813 ac_cv_cflags__fPIC__Wl___export_dynamic=no
7815 rm -f core conftest.err conftest.$ac_objext \
7816 conftest$ac_exeext conftest.$ac_ext
7817 CFLAGS=$ac_wine_try_cflags_saved
7819 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__fPIC__Wl___export_dynamic" >&5
7820 $as_echo "$ac_cv_cflags__fPIC__Wl___export_dynamic" >&6; }
7821 if test $ac_cv_cflags__fPIC__Wl___export_dynamic = yes; then :
7822 LDEXECFLAGS="-Wl,--export-dynamic"
7826 as_ac_var=`$as_echo "ac_cv_cflags_-fPIC -Wl,--rpath,\\$ORIGIN/../lib" | $as_tr_sh`
7827 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -fPIC -Wl,--rpath,\$ORIGIN/../lib" >&5
7828 $as_echo_n "checking whether the compiler supports -fPIC -Wl,--rpath,\$ORIGIN/../lib... " >&6; }
7829 if eval \${$as_ac_var+:} false; then :
7830 $as_echo_n "(cached) " >&6
7831 else
7832 ac_wine_try_cflags_saved=$CFLAGS
7833 CFLAGS="$CFLAGS -fPIC -Wl,--rpath,\$ORIGIN/../lib"
7834 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
7835 /* end confdefs.h. */
7836 int main(int argc, char **argv) { return 0; }
7837 _ACEOF
7838 if ac_fn_c_try_link "$LINENO"; then :
7839 eval "$as_ac_var=yes"
7840 else
7841 eval "$as_ac_var=no"
7843 rm -f core conftest.err conftest.$ac_objext \
7844 conftest$ac_exeext conftest.$ac_ext
7845 CFLAGS=$ac_wine_try_cflags_saved
7847 eval ac_res=\$$as_ac_var
7848 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
7849 $as_echo "$ac_res" >&6; }
7850 if test `eval 'as_val=${'$as_ac_var'};$as_echo "$as_val"'` = yes; then :
7851 LDRPATH_INSTALL="-Wl,--rpath,\\\$\$ORIGIN/\`\$(RELPATH) \$(bindir) \$(libdir)\`"
7852 LDRPATH_LOCAL="-Wl,--rpath,\\\$\$ORIGIN/\$(top_builddir)/libs/wine"
7853 else
7854 as_ac_var=`$as_echo "ac_cv_cflags_-fPIC -Wl,-R,\\$ORIGIN/../lib" | $as_tr_sh`
7855 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -fPIC -Wl,-R,\$ORIGIN/../lib" >&5
7856 $as_echo_n "checking whether the compiler supports -fPIC -Wl,-R,\$ORIGIN/../lib... " >&6; }
7857 if eval \${$as_ac_var+:} false; then :
7858 $as_echo_n "(cached) " >&6
7859 else
7860 ac_wine_try_cflags_saved=$CFLAGS
7861 CFLAGS="$CFLAGS -fPIC -Wl,-R,\$ORIGIN/../lib"
7862 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
7863 /* end confdefs.h. */
7864 int main(int argc, char **argv) { return 0; }
7865 _ACEOF
7866 if ac_fn_c_try_link "$LINENO"; then :
7867 eval "$as_ac_var=yes"
7868 else
7869 eval "$as_ac_var=no"
7871 rm -f core conftest.err conftest.$ac_objext \
7872 conftest$ac_exeext conftest.$ac_ext
7873 CFLAGS=$ac_wine_try_cflags_saved
7875 eval ac_res=\$$as_ac_var
7876 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
7877 $as_echo "$ac_res" >&6; }
7878 if test `eval 'as_val=${'$as_ac_var'};$as_echo "$as_val"'` = yes; then :
7879 LDRPATH_INSTALL="-Wl,-R,\\\$\$ORIGIN/\`\$(RELPATH) \$(bindir) \$(libdir)\`"
7880 LDRPATH_LOCAL="-Wl,-R,\\\$\$ORIGIN/\$(top_builddir)/libs/wine"
7884 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wl,--enable-new-dtags" >&5
7885 $as_echo_n "checking whether the compiler supports -Wl,--enable-new-dtags... " >&6; }
7886 if ${ac_cv_cflags__Wl___enable_new_dtags+:} false; then :
7887 $as_echo_n "(cached) " >&6
7888 else
7889 ac_wine_try_cflags_saved=$CFLAGS
7890 CFLAGS="$CFLAGS -Wl,--enable-new-dtags"
7891 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
7892 /* end confdefs.h. */
7893 int main(int argc, char **argv) { return 0; }
7894 _ACEOF
7895 if ac_fn_c_try_link "$LINENO"; then :
7896 ac_cv_cflags__Wl___enable_new_dtags=yes
7897 else
7898 ac_cv_cflags__Wl___enable_new_dtags=no
7900 rm -f core conftest.err conftest.$ac_objext \
7901 conftest$ac_exeext conftest.$ac_ext
7902 CFLAGS=$ac_wine_try_cflags_saved
7904 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wl___enable_new_dtags" >&5
7905 $as_echo "$ac_cv_cflags__Wl___enable_new_dtags" >&6; }
7906 if test $ac_cv_cflags__Wl___enable_new_dtags = yes; then :
7907 LDRPATH_INSTALL="$LDRPATH_INSTALL -Wl,--enable-new-dtags"
7910 case $host_cpu in
7911 *i[3456789]86* | x86_64)
7912 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wl,--section-start,.interp=0x7bf00400" >&5
7913 $as_echo_n "checking whether the compiler supports -Wl,--section-start,.interp=0x7bf00400... " >&6; }
7914 if ${ac_cv_cflags__Wl___section_start__interp_0x7bf00400+:} false; then :
7915 $as_echo_n "(cached) " >&6
7916 else
7917 ac_wine_try_cflags_saved=$CFLAGS
7918 CFLAGS="$CFLAGS -Wl,--section-start,.interp=0x7bf00400"
7919 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
7920 /* end confdefs.h. */
7921 int main(int argc, char **argv) { return 0; }
7922 _ACEOF
7923 if ac_fn_c_try_link "$LINENO"; then :
7924 ac_cv_cflags__Wl___section_start__interp_0x7bf00400=yes
7925 else
7926 ac_cv_cflags__Wl___section_start__interp_0x7bf00400=no
7928 rm -f core conftest.err conftest.$ac_objext \
7929 conftest$ac_exeext conftest.$ac_ext
7930 CFLAGS=$ac_wine_try_cflags_saved
7932 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wl___section_start__interp_0x7bf00400" >&5
7933 $as_echo "$ac_cv_cflags__Wl___section_start__interp_0x7bf00400" >&6; }
7934 if test $ac_cv_cflags__Wl___section_start__interp_0x7bf00400 = yes; then :
7935 case $host_os in
7936 freebsd* | kfreebsd*-gnu) LDEXECFLAGS="$LDEXECFLAGS -Wl,--section-start,.interp=0x60000400" ;;
7937 *) LDEXECFLAGS="$LDEXECFLAGS -Wl,--section-start,.interp=0x7bf00400" ;;
7938 esac
7941 # Extract the first word of "prelink", so it can be a program name with args.
7942 set dummy prelink; ac_word=$2
7943 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7944 $as_echo_n "checking for $ac_word... " >&6; }
7945 if ${ac_cv_path_PRELINK+:} false; then :
7946 $as_echo_n "(cached) " >&6
7947 else
7948 case $PRELINK in
7949 [\\/]* | ?:[\\/]*)
7950 ac_cv_path_PRELINK="$PRELINK" # Let the user override the test with a path.
7953 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7954 for as_dir in /sbin /usr/sbin $PATH
7956 IFS=$as_save_IFS
7957 test -z "$as_dir" && as_dir=.
7958 for ac_exec_ext in '' $ac_executable_extensions; do
7959 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
7960 ac_cv_path_PRELINK="$as_dir/$ac_word$ac_exec_ext"
7961 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
7962 break 2
7964 done
7965 done
7966 IFS=$as_save_IFS
7968 test -z "$ac_cv_path_PRELINK" && ac_cv_path_PRELINK="false"
7970 esac
7972 PRELINK=$ac_cv_path_PRELINK
7973 if test -n "$PRELINK"; then
7974 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $PRELINK" >&5
7975 $as_echo "$PRELINK" >&6; }
7976 else
7977 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7978 $as_echo "no" >&6; }
7982 if test "x$PRELINK" = xfalse
7983 then
7984 as_fn_append wine_warnings "|prelink not found, base address of core dlls won't be set correctly."
7987 esac
7989 else
7990 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we can build a UnixWare (Solaris) dll" >&5
7991 $as_echo_n "checking whether we can build a UnixWare (Solaris) dll... " >&6; }
7992 if ${ac_cv_c_dll_unixware+:} false; then :
7993 $as_echo_n "(cached) " >&6
7994 else
7995 ac_wine_try_cflags_saved=$CFLAGS
7996 CFLAGS="$CFLAGS -fPIC -Wl,-G,-h,conftest.so.1.0,-B,symbolic"
7997 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
7998 /* end confdefs.h. */
7999 void myfunc() {}
8000 _ACEOF
8001 if ac_fn_c_try_link "$LINENO"; then :
8002 ac_cv_c_dll_unixware="yes"
8003 else
8004 ac_cv_c_dll_unixware="no"
8006 rm -f core conftest.err conftest.$ac_objext \
8007 conftest$ac_exeext conftest.$ac_ext
8008 CFLAGS=$ac_wine_try_cflags_saved
8010 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_dll_unixware" >&5
8011 $as_echo "$ac_cv_c_dll_unixware" >&6; }
8012 if test "$ac_cv_c_dll_unixware" = "yes"
8013 then
8014 LDSHARED="\$(CC) -Wl,-G,-h,libwine.so.\$(SOVERSION)"
8017 LIBWINE_RULES="
8018 all: libwine.so
8020 libwine.so.\$(VERSION): \$(OBJS) wine.map Makefile.in
8021 $LDSHARED \$(OBJS) \$(EXTRALIBS) \$(LDFLAGS) \$(LIBS) -o \$@
8023 libwine.so.\$(SOVERSION): libwine.so.\$(VERSION)
8024 \$(RM) \$@ && \$(LN_S) libwine.so.\$(VERSION) \$@
8026 libwine.so: libwine.so.\$(SOVERSION)
8027 \$(RM) \$@ && \$(LN_S) libwine.so.\$(SOVERSION) \$@
8029 install install-lib:: libwine.so.\$(VERSION) \$(DESTDIR)\$(libdir) dummy
8030 \$(INSTALL_PROGRAM) libwine.so.\$(VERSION) \$(DESTDIR)\$(libdir)/libwine.so.\$(VERSION)
8031 cd \$(DESTDIR)\$(libdir) && \$(RM) libwine.so.\$(SOVERSION) && \$(LN_S) libwine.so.\$(VERSION) libwine.so.\$(SOVERSION)
8033 install install-dev:: \$(DESTDIR)\$(libdir) dummy
8034 cd \$(DESTDIR)\$(libdir) && \$(RM) libwine.so && \$(LN_S) libwine.so.\$(VERSION) libwine.so
8036 uninstall::
8037 -cd \$(DESTDIR)\$(libdir) && \$(RM) libwine.so libwine.so.\$(VERSION) libwine.so.\$(SOVERSION)
8039 clean::
8040 \$(RM) libwine.so.\$(SOVERSION) libwine.so.\$(VERSION) version.c
8044 esac
8046 enable_wineqtdecoder=${enable_wineqtdecoder:-no}
8047 enable_winemac_drv=${enable_winemac_drv:-no}
8049 CROSSTEST_DISABLE=\#
8051 if test "$cross_compiling" = "no" -a "x$enable_tests" != xno -a "$LIBEXT" != "dll"
8052 then
8053 case "$host_cpu" in
8054 i[3456789]86*)
8055 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
8056 mingw32-gcc" ;;
8057 x86_64)
8058 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 " ;;
8060 ac_prefix_list="" ;;
8061 esac
8062 for ac_prog in $ac_prefix_list
8064 # Extract the first word of "$ac_prog", so it can be a program name with args.
8065 set dummy $ac_prog; ac_word=$2
8066 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
8067 $as_echo_n "checking for $ac_word... " >&6; }
8068 if ${ac_cv_prog_CROSSCC+:} false; then :
8069 $as_echo_n "(cached) " >&6
8070 else
8071 if test -n "$CROSSCC"; then
8072 ac_cv_prog_CROSSCC="$CROSSCC" # Let the user override the test.
8073 else
8074 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
8075 for as_dir in $PATH
8077 IFS=$as_save_IFS
8078 test -z "$as_dir" && as_dir=.
8079 for ac_exec_ext in '' $ac_executable_extensions; do
8080 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
8081 ac_cv_prog_CROSSCC="$ac_prog"
8082 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
8083 break 2
8085 done
8086 done
8087 IFS=$as_save_IFS
8091 CROSSCC=$ac_cv_prog_CROSSCC
8092 if test -n "$CROSSCC"; then
8093 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CROSSCC" >&5
8094 $as_echo "$CROSSCC" >&6; }
8095 else
8096 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
8097 $as_echo "no" >&6; }
8101 test -n "$CROSSCC" && break
8102 done
8103 test -n "$CROSSCC" || CROSSCC="false"
8105 if test "$CROSSCC" != "false"
8106 then
8107 ac_save_CC="$CC"
8108 CC="$CROSSCC"
8109 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CROSSCC works" >&5
8110 $as_echo_n "checking whether $CROSSCC works... " >&6; }
8111 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
8112 /* end confdefs.h. */
8115 main ()
8119 return 0;
8121 _ACEOF
8122 if ac_fn_c_try_compile "$LINENO"; then :
8123 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
8124 $as_echo "yes" >&6; }
8125 set x $CROSSCC
8126 shift
8127 target=""
8128 while test $# -ge 1
8130 case "$1" in
8131 *-gcc) target=`expr "$1" : '\(.*\)-gcc'` ;;
8132 esac
8133 shift
8134 done
8135 if test -n "$target"
8136 then
8137 CROSSTEST_DISABLE=""
8138 CROSSTARGET="$target"
8141 else
8142 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
8143 $as_echo "no" >&6; }
8145 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
8146 CC="$ac_save_CC"
8151 if test "$ac_cv_header_pthread_h" = "yes"
8152 then
8153 ac_fn_c_check_func "$LINENO" "pthread_create" "ac_cv_func_pthread_create"
8154 if test "x$ac_cv_func_pthread_create" = xyes; then :
8156 else
8157 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for pthread_create in -lpthread" >&5
8158 $as_echo_n "checking for pthread_create in -lpthread... " >&6; }
8159 if ${ac_cv_lib_pthread_pthread_create+:} false; then :
8160 $as_echo_n "(cached) " >&6
8161 else
8162 ac_check_lib_save_LIBS=$LIBS
8163 LIBS="-lpthread $LIBS"
8164 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
8165 /* end confdefs.h. */
8167 /* Override any GCC internal prototype to avoid an error.
8168 Use char because int might match the return type of a GCC
8169 builtin and then its argument prototype would still apply. */
8170 #ifdef __cplusplus
8171 extern "C"
8172 #endif
8173 char pthread_create ();
8175 main ()
8177 return pthread_create ();
8179 return 0;
8181 _ACEOF
8182 if ac_fn_c_try_link "$LINENO"; then :
8183 ac_cv_lib_pthread_pthread_create=yes
8184 else
8185 ac_cv_lib_pthread_pthread_create=no
8187 rm -f core conftest.err conftest.$ac_objext \
8188 conftest$ac_exeext conftest.$ac_ext
8189 LIBS=$ac_check_lib_save_LIBS
8191 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_pthread_pthread_create" >&5
8192 $as_echo "$ac_cv_lib_pthread_pthread_create" >&6; }
8193 if test "x$ac_cv_lib_pthread_pthread_create" = xyes; then :
8194 LIBPTHREAD="-lpthread"
8201 if test "x$ac_cv_func_pthread_create" != xyes -a "x$LIBPTHREAD" = x; then :
8202 case "x$with_pthread" in
8203 xno) ;;
8204 *) as_fn_error $? "pthread ${notice_platform}development files not found.
8205 Wine cannot support threads without libpthread.
8206 Use the --without-pthread option if you really want this." "$LINENO" 5 ;;
8207 esac
8211 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for X" >&5
8212 $as_echo_n "checking for X... " >&6; }
8215 # Check whether --with-x was given.
8216 if test "${with_x+set}" = set; then :
8217 withval=$with_x;
8220 # $have_x is `yes', `no', `disabled', or empty when we do not yet know.
8221 if test "x$with_x" = xno; then
8222 # The user explicitly disabled X.
8223 have_x=disabled
8224 else
8225 case $x_includes,$x_libraries in #(
8226 *\'*) as_fn_error $? "cannot use X directory names containing '" "$LINENO" 5;; #(
8227 *,NONE | NONE,*) if ${ac_cv_have_x+:} false; then :
8228 $as_echo_n "(cached) " >&6
8229 else
8230 # One or both of the vars are not set, and there is no cached value.
8231 ac_x_includes=no ac_x_libraries=no
8232 rm -f -r conftest.dir
8233 if mkdir conftest.dir; then
8234 cd conftest.dir
8235 cat >Imakefile <<'_ACEOF'
8236 incroot:
8237 @echo incroot='${INCROOT}'
8238 usrlibdir:
8239 @echo usrlibdir='${USRLIBDIR}'
8240 libdir:
8241 @echo libdir='${LIBDIR}'
8242 _ACEOF
8243 if (export CC; ${XMKMF-xmkmf}) >/dev/null 2>/dev/null && test -f Makefile; then
8244 # GNU make sometimes prints "make[1]: Entering ...", which would confuse us.
8245 for ac_var in incroot usrlibdir libdir; do
8246 eval "ac_im_$ac_var=\`\${MAKE-make} $ac_var 2>/dev/null | sed -n 's/^$ac_var=//p'\`"
8247 done
8248 # Open Windows xmkmf reportedly sets LIBDIR instead of USRLIBDIR.
8249 for ac_extension in a so sl dylib la dll; do
8250 if test ! -f "$ac_im_usrlibdir/libX11.$ac_extension" &&
8251 test -f "$ac_im_libdir/libX11.$ac_extension"; then
8252 ac_im_usrlibdir=$ac_im_libdir; break
8254 done
8255 # Screen out bogus values from the imake configuration. They are
8256 # bogus both because they are the default anyway, and because
8257 # using them would break gcc on systems where it needs fixed includes.
8258 case $ac_im_incroot in
8259 /usr/include) ac_x_includes= ;;
8260 *) test -f "$ac_im_incroot/X11/Xos.h" && ac_x_includes=$ac_im_incroot;;
8261 esac
8262 case $ac_im_usrlibdir in
8263 /usr/lib | /usr/lib64 | /lib | /lib64) ;;
8264 *) test -d "$ac_im_usrlibdir" && ac_x_libraries=$ac_im_usrlibdir ;;
8265 esac
8267 cd ..
8268 rm -f -r conftest.dir
8271 # Standard set of common directories for X headers.
8272 # Check X11 before X11Rn because it is often a symlink to the current release.
8273 ac_x_header_dirs='
8274 /usr/X11/include
8275 /usr/X11R7/include
8276 /usr/X11R6/include
8277 /usr/X11R5/include
8278 /usr/X11R4/include
8280 /usr/include/X11
8281 /usr/include/X11R7
8282 /usr/include/X11R6
8283 /usr/include/X11R5
8284 /usr/include/X11R4
8286 /usr/local/X11/include
8287 /usr/local/X11R7/include
8288 /usr/local/X11R6/include
8289 /usr/local/X11R5/include
8290 /usr/local/X11R4/include
8292 /usr/local/include/X11
8293 /usr/local/include/X11R7
8294 /usr/local/include/X11R6
8295 /usr/local/include/X11R5
8296 /usr/local/include/X11R4
8298 /usr/X386/include
8299 /usr/x386/include
8300 /usr/XFree86/include/X11
8302 /usr/include
8303 /usr/local/include
8304 /usr/unsupported/include
8305 /usr/athena/include
8306 /usr/local/x11r5/include
8307 /usr/lpp/Xamples/include
8309 /usr/openwin/include
8310 /usr/openwin/share/include'
8312 if test "$ac_x_includes" = no; then
8313 # Guess where to find include files, by looking for Xlib.h.
8314 # First, try using that file with no special directory specified.
8315 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
8316 /* end confdefs.h. */
8317 #include <X11/Xlib.h>
8318 _ACEOF
8319 if ac_fn_c_try_cpp "$LINENO"; then :
8320 # We can compile using X headers with no special include directory.
8321 ac_x_includes=
8322 else
8323 for ac_dir in $ac_x_header_dirs; do
8324 if test -r "$ac_dir/X11/Xlib.h"; then
8325 ac_x_includes=$ac_dir
8326 break
8328 done
8330 rm -f conftest.err conftest.i conftest.$ac_ext
8331 fi # $ac_x_includes = no
8333 if test "$ac_x_libraries" = no; then
8334 # Check for the libraries.
8335 # See if we find them without any special options.
8336 # Don't add to $LIBS permanently.
8337 ac_save_LIBS=$LIBS
8338 LIBS="-lX11 $LIBS"
8339 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
8340 /* end confdefs.h. */
8341 #include <X11/Xlib.h>
8343 main ()
8345 XrmInitialize ()
8347 return 0;
8349 _ACEOF
8350 if ac_fn_c_try_link "$LINENO"; then :
8351 LIBS=$ac_save_LIBS
8352 # We can link X programs with no special library path.
8353 ac_x_libraries=
8354 else
8355 LIBS=$ac_save_LIBS
8356 for ac_dir in `$as_echo "$ac_x_includes $ac_x_header_dirs" | sed s/include/lib/g`
8358 # Don't even attempt the hair of trying to link an X program!
8359 for ac_extension in a so sl dylib la dll; do
8360 if test -r "$ac_dir/libX11.$ac_extension"; then
8361 ac_x_libraries=$ac_dir
8362 break 2
8364 done
8365 done
8367 rm -f core conftest.err conftest.$ac_objext \
8368 conftest$ac_exeext conftest.$ac_ext
8369 fi # $ac_x_libraries = no
8371 case $ac_x_includes,$ac_x_libraries in #(
8372 no,* | *,no | *\'*)
8373 # Didn't find X, or a directory has "'" in its name.
8374 ac_cv_have_x="have_x=no";; #(
8376 # Record where we found X for the cache.
8377 ac_cv_have_x="have_x=yes\
8378 ac_x_includes='$ac_x_includes'\
8379 ac_x_libraries='$ac_x_libraries'"
8380 esac
8382 ;; #(
8383 *) have_x=yes;;
8384 esac
8385 eval "$ac_cv_have_x"
8386 fi # $with_x != no
8388 if test "$have_x" != yes; then
8389 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $have_x" >&5
8390 $as_echo "$have_x" >&6; }
8391 no_x=yes
8392 else
8393 # If each of the values was on the command line, it overrides each guess.
8394 test "x$x_includes" = xNONE && x_includes=$ac_x_includes
8395 test "x$x_libraries" = xNONE && x_libraries=$ac_x_libraries
8396 # Update the cache value to reflect the command line values.
8397 ac_cv_have_x="have_x=yes\
8398 ac_x_includes='$x_includes'\
8399 ac_x_libraries='$x_libraries'"
8400 { $as_echo "$as_me:${as_lineno-$LINENO}: result: libraries $x_libraries, headers $x_includes" >&5
8401 $as_echo "libraries $x_libraries, headers $x_includes" >&6; }
8404 if test "$no_x" = yes; then
8405 # Not all programs may use this symbol, but it does not hurt to define it.
8407 $as_echo "#define X_DISPLAY_MISSING 1" >>confdefs.h
8409 X_CFLAGS= X_PRE_LIBS= X_LIBS= X_EXTRA_LIBS=
8410 else
8411 if test -n "$x_includes"; then
8412 X_CFLAGS="$X_CFLAGS -I$x_includes"
8415 # It would also be nice to do this for all -L options, not just this one.
8416 if test -n "$x_libraries"; then
8417 X_LIBS="$X_LIBS -L$x_libraries"
8418 # For Solaris; some versions of Sun CC require a space after -R and
8419 # others require no space. Words are not sufficient . . . .
8420 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether -R must be followed by a space" >&5
8421 $as_echo_n "checking whether -R must be followed by a space... " >&6; }
8422 ac_xsave_LIBS=$LIBS; LIBS="$LIBS -R$x_libraries"
8423 ac_xsave_c_werror_flag=$ac_c_werror_flag
8424 ac_c_werror_flag=yes
8425 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
8426 /* end confdefs.h. */
8429 main ()
8433 return 0;
8435 _ACEOF
8436 if ac_fn_c_try_link "$LINENO"; then :
8437 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
8438 $as_echo "no" >&6; }
8439 X_LIBS="$X_LIBS -R$x_libraries"
8440 else
8441 LIBS="$ac_xsave_LIBS -R $x_libraries"
8442 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
8443 /* end confdefs.h. */
8446 main ()
8450 return 0;
8452 _ACEOF
8453 if ac_fn_c_try_link "$LINENO"; then :
8454 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
8455 $as_echo "yes" >&6; }
8456 X_LIBS="$X_LIBS -R $x_libraries"
8457 else
8458 { $as_echo "$as_me:${as_lineno-$LINENO}: result: neither works" >&5
8459 $as_echo "neither works" >&6; }
8461 rm -f core conftest.err conftest.$ac_objext \
8462 conftest$ac_exeext conftest.$ac_ext
8464 rm -f core conftest.err conftest.$ac_objext \
8465 conftest$ac_exeext conftest.$ac_ext
8466 ac_c_werror_flag=$ac_xsave_c_werror_flag
8467 LIBS=$ac_xsave_LIBS
8470 # Check for system-dependent libraries X programs must link with.
8471 # Do this before checking for the system-independent R6 libraries
8472 # (-lICE), since we may need -lsocket or whatever for X linking.
8474 if test "$ISC" = yes; then
8475 X_EXTRA_LIBS="$X_EXTRA_LIBS -lnsl_s -linet"
8476 else
8477 # Martyn Johnson says this is needed for Ultrix, if the X
8478 # libraries were built with DECnet support. And Karl Berry says
8479 # the Alpha needs dnet_stub (dnet does not exist).
8480 ac_xsave_LIBS="$LIBS"; LIBS="$LIBS $X_LIBS -lX11"
8481 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
8482 /* end confdefs.h. */
8484 /* Override any GCC internal prototype to avoid an error.
8485 Use char because int might match the return type of a GCC
8486 builtin and then its argument prototype would still apply. */
8487 #ifdef __cplusplus
8488 extern "C"
8489 #endif
8490 char XOpenDisplay ();
8492 main ()
8494 return XOpenDisplay ();
8496 return 0;
8498 _ACEOF
8499 if ac_fn_c_try_link "$LINENO"; then :
8501 else
8502 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dnet_ntoa in -ldnet" >&5
8503 $as_echo_n "checking for dnet_ntoa in -ldnet... " >&6; }
8504 if ${ac_cv_lib_dnet_dnet_ntoa+:} false; then :
8505 $as_echo_n "(cached) " >&6
8506 else
8507 ac_check_lib_save_LIBS=$LIBS
8508 LIBS="-ldnet $LIBS"
8509 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
8510 /* end confdefs.h. */
8512 /* Override any GCC internal prototype to avoid an error.
8513 Use char because int might match the return type of a GCC
8514 builtin and then its argument prototype would still apply. */
8515 #ifdef __cplusplus
8516 extern "C"
8517 #endif
8518 char dnet_ntoa ();
8520 main ()
8522 return dnet_ntoa ();
8524 return 0;
8526 _ACEOF
8527 if ac_fn_c_try_link "$LINENO"; then :
8528 ac_cv_lib_dnet_dnet_ntoa=yes
8529 else
8530 ac_cv_lib_dnet_dnet_ntoa=no
8532 rm -f core conftest.err conftest.$ac_objext \
8533 conftest$ac_exeext conftest.$ac_ext
8534 LIBS=$ac_check_lib_save_LIBS
8536 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dnet_dnet_ntoa" >&5
8537 $as_echo "$ac_cv_lib_dnet_dnet_ntoa" >&6; }
8538 if test "x$ac_cv_lib_dnet_dnet_ntoa" = xyes; then :
8539 X_EXTRA_LIBS="$X_EXTRA_LIBS -ldnet"
8542 if test $ac_cv_lib_dnet_dnet_ntoa = no; then
8543 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dnet_ntoa in -ldnet_stub" >&5
8544 $as_echo_n "checking for dnet_ntoa in -ldnet_stub... " >&6; }
8545 if ${ac_cv_lib_dnet_stub_dnet_ntoa+:} false; then :
8546 $as_echo_n "(cached) " >&6
8547 else
8548 ac_check_lib_save_LIBS=$LIBS
8549 LIBS="-ldnet_stub $LIBS"
8550 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
8551 /* end confdefs.h. */
8553 /* Override any GCC internal prototype to avoid an error.
8554 Use char because int might match the return type of a GCC
8555 builtin and then its argument prototype would still apply. */
8556 #ifdef __cplusplus
8557 extern "C"
8558 #endif
8559 char dnet_ntoa ();
8561 main ()
8563 return dnet_ntoa ();
8565 return 0;
8567 _ACEOF
8568 if ac_fn_c_try_link "$LINENO"; then :
8569 ac_cv_lib_dnet_stub_dnet_ntoa=yes
8570 else
8571 ac_cv_lib_dnet_stub_dnet_ntoa=no
8573 rm -f core conftest.err conftest.$ac_objext \
8574 conftest$ac_exeext conftest.$ac_ext
8575 LIBS=$ac_check_lib_save_LIBS
8577 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dnet_stub_dnet_ntoa" >&5
8578 $as_echo "$ac_cv_lib_dnet_stub_dnet_ntoa" >&6; }
8579 if test "x$ac_cv_lib_dnet_stub_dnet_ntoa" = xyes; then :
8580 X_EXTRA_LIBS="$X_EXTRA_LIBS -ldnet_stub"
8585 rm -f core conftest.err conftest.$ac_objext \
8586 conftest$ac_exeext conftest.$ac_ext
8587 LIBS="$ac_xsave_LIBS"
8589 # msh@cis.ufl.edu says -lnsl (and -lsocket) are needed for his 386/AT,
8590 # to get the SysV transport functions.
8591 # Chad R. Larson says the Pyramis MIS-ES running DC/OSx (SVR4)
8592 # needs -lnsl.
8593 # The nsl library prevents programs from opening the X display
8594 # on Irix 5.2, according to T.E. Dickey.
8595 # The functions gethostbyname, getservbyname, and inet_addr are
8596 # in -lbsd on LynxOS 3.0.1/i386, according to Lars Hecking.
8597 ac_fn_c_check_func "$LINENO" "gethostbyname" "ac_cv_func_gethostbyname"
8598 if test "x$ac_cv_func_gethostbyname" = xyes; then :
8602 if test $ac_cv_func_gethostbyname = no; then
8603 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for gethostbyname in -lnsl" >&5
8604 $as_echo_n "checking for gethostbyname in -lnsl... " >&6; }
8605 if ${ac_cv_lib_nsl_gethostbyname+:} false; then :
8606 $as_echo_n "(cached) " >&6
8607 else
8608 ac_check_lib_save_LIBS=$LIBS
8609 LIBS="-lnsl $LIBS"
8610 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
8611 /* end confdefs.h. */
8613 /* Override any GCC internal prototype to avoid an error.
8614 Use char because int might match the return type of a GCC
8615 builtin and then its argument prototype would still apply. */
8616 #ifdef __cplusplus
8617 extern "C"
8618 #endif
8619 char gethostbyname ();
8621 main ()
8623 return gethostbyname ();
8625 return 0;
8627 _ACEOF
8628 if ac_fn_c_try_link "$LINENO"; then :
8629 ac_cv_lib_nsl_gethostbyname=yes
8630 else
8631 ac_cv_lib_nsl_gethostbyname=no
8633 rm -f core conftest.err conftest.$ac_objext \
8634 conftest$ac_exeext conftest.$ac_ext
8635 LIBS=$ac_check_lib_save_LIBS
8637 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_nsl_gethostbyname" >&5
8638 $as_echo "$ac_cv_lib_nsl_gethostbyname" >&6; }
8639 if test "x$ac_cv_lib_nsl_gethostbyname" = xyes; then :
8640 X_EXTRA_LIBS="$X_EXTRA_LIBS -lnsl"
8643 if test $ac_cv_lib_nsl_gethostbyname = no; then
8644 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for gethostbyname in -lbsd" >&5
8645 $as_echo_n "checking for gethostbyname in -lbsd... " >&6; }
8646 if ${ac_cv_lib_bsd_gethostbyname+:} false; then :
8647 $as_echo_n "(cached) " >&6
8648 else
8649 ac_check_lib_save_LIBS=$LIBS
8650 LIBS="-lbsd $LIBS"
8651 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
8652 /* end confdefs.h. */
8654 /* Override any GCC internal prototype to avoid an error.
8655 Use char because int might match the return type of a GCC
8656 builtin and then its argument prototype would still apply. */
8657 #ifdef __cplusplus
8658 extern "C"
8659 #endif
8660 char gethostbyname ();
8662 main ()
8664 return gethostbyname ();
8666 return 0;
8668 _ACEOF
8669 if ac_fn_c_try_link "$LINENO"; then :
8670 ac_cv_lib_bsd_gethostbyname=yes
8671 else
8672 ac_cv_lib_bsd_gethostbyname=no
8674 rm -f core conftest.err conftest.$ac_objext \
8675 conftest$ac_exeext conftest.$ac_ext
8676 LIBS=$ac_check_lib_save_LIBS
8678 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_bsd_gethostbyname" >&5
8679 $as_echo "$ac_cv_lib_bsd_gethostbyname" >&6; }
8680 if test "x$ac_cv_lib_bsd_gethostbyname" = xyes; then :
8681 X_EXTRA_LIBS="$X_EXTRA_LIBS -lbsd"
8687 # lieder@skyler.mavd.honeywell.com says without -lsocket,
8688 # socket/setsockopt and other routines are undefined under SCO ODT
8689 # 2.0. But -lsocket is broken on IRIX 5.2 (and is not necessary
8690 # on later versions), says Simon Leinen: it contains gethostby*
8691 # variants that don't use the name server (or something). -lsocket
8692 # must be given before -lnsl if both are needed. We assume that
8693 # if connect needs -lnsl, so does gethostbyname.
8694 ac_fn_c_check_func "$LINENO" "connect" "ac_cv_func_connect"
8695 if test "x$ac_cv_func_connect" = xyes; then :
8699 if test $ac_cv_func_connect = no; then
8700 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for connect in -lsocket" >&5
8701 $as_echo_n "checking for connect in -lsocket... " >&6; }
8702 if ${ac_cv_lib_socket_connect+:} false; then :
8703 $as_echo_n "(cached) " >&6
8704 else
8705 ac_check_lib_save_LIBS=$LIBS
8706 LIBS="-lsocket $X_EXTRA_LIBS $LIBS"
8707 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
8708 /* end confdefs.h. */
8710 /* Override any GCC internal prototype to avoid an error.
8711 Use char because int might match the return type of a GCC
8712 builtin and then its argument prototype would still apply. */
8713 #ifdef __cplusplus
8714 extern "C"
8715 #endif
8716 char connect ();
8718 main ()
8720 return connect ();
8722 return 0;
8724 _ACEOF
8725 if ac_fn_c_try_link "$LINENO"; then :
8726 ac_cv_lib_socket_connect=yes
8727 else
8728 ac_cv_lib_socket_connect=no
8730 rm -f core conftest.err conftest.$ac_objext \
8731 conftest$ac_exeext conftest.$ac_ext
8732 LIBS=$ac_check_lib_save_LIBS
8734 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_socket_connect" >&5
8735 $as_echo "$ac_cv_lib_socket_connect" >&6; }
8736 if test "x$ac_cv_lib_socket_connect" = xyes; then :
8737 X_EXTRA_LIBS="-lsocket $X_EXTRA_LIBS"
8742 # Guillermo Gomez says -lposix is necessary on A/UX.
8743 ac_fn_c_check_func "$LINENO" "remove" "ac_cv_func_remove"
8744 if test "x$ac_cv_func_remove" = xyes; then :
8748 if test $ac_cv_func_remove = no; then
8749 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for remove in -lposix" >&5
8750 $as_echo_n "checking for remove in -lposix... " >&6; }
8751 if ${ac_cv_lib_posix_remove+:} false; then :
8752 $as_echo_n "(cached) " >&6
8753 else
8754 ac_check_lib_save_LIBS=$LIBS
8755 LIBS="-lposix $LIBS"
8756 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
8757 /* end confdefs.h. */
8759 /* Override any GCC internal prototype to avoid an error.
8760 Use char because int might match the return type of a GCC
8761 builtin and then its argument prototype would still apply. */
8762 #ifdef __cplusplus
8763 extern "C"
8764 #endif
8765 char remove ();
8767 main ()
8769 return remove ();
8771 return 0;
8773 _ACEOF
8774 if ac_fn_c_try_link "$LINENO"; then :
8775 ac_cv_lib_posix_remove=yes
8776 else
8777 ac_cv_lib_posix_remove=no
8779 rm -f core conftest.err conftest.$ac_objext \
8780 conftest$ac_exeext conftest.$ac_ext
8781 LIBS=$ac_check_lib_save_LIBS
8783 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_posix_remove" >&5
8784 $as_echo "$ac_cv_lib_posix_remove" >&6; }
8785 if test "x$ac_cv_lib_posix_remove" = xyes; then :
8786 X_EXTRA_LIBS="$X_EXTRA_LIBS -lposix"
8791 # BSDI BSD/OS 2.1 needs -lipc for XOpenDisplay.
8792 ac_fn_c_check_func "$LINENO" "shmat" "ac_cv_func_shmat"
8793 if test "x$ac_cv_func_shmat" = xyes; then :
8797 if test $ac_cv_func_shmat = no; then
8798 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for shmat in -lipc" >&5
8799 $as_echo_n "checking for shmat in -lipc... " >&6; }
8800 if ${ac_cv_lib_ipc_shmat+:} false; then :
8801 $as_echo_n "(cached) " >&6
8802 else
8803 ac_check_lib_save_LIBS=$LIBS
8804 LIBS="-lipc $LIBS"
8805 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
8806 /* end confdefs.h. */
8808 /* Override any GCC internal prototype to avoid an error.
8809 Use char because int might match the return type of a GCC
8810 builtin and then its argument prototype would still apply. */
8811 #ifdef __cplusplus
8812 extern "C"
8813 #endif
8814 char shmat ();
8816 main ()
8818 return shmat ();
8820 return 0;
8822 _ACEOF
8823 if ac_fn_c_try_link "$LINENO"; then :
8824 ac_cv_lib_ipc_shmat=yes
8825 else
8826 ac_cv_lib_ipc_shmat=no
8828 rm -f core conftest.err conftest.$ac_objext \
8829 conftest$ac_exeext conftest.$ac_ext
8830 LIBS=$ac_check_lib_save_LIBS
8832 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_ipc_shmat" >&5
8833 $as_echo "$ac_cv_lib_ipc_shmat" >&6; }
8834 if test "x$ac_cv_lib_ipc_shmat" = xyes; then :
8835 X_EXTRA_LIBS="$X_EXTRA_LIBS -lipc"
8841 # Check for libraries that X11R6 Xt/Xaw programs need.
8842 ac_save_LDFLAGS=$LDFLAGS
8843 test -n "$x_libraries" && LDFLAGS="$LDFLAGS -L$x_libraries"
8844 # SM needs ICE to (dynamically) link under SunOS 4.x (so we have to
8845 # check for ICE first), but we must link in the order -lSM -lICE or
8846 # we get undefined symbols. So assume we have SM if we have ICE.
8847 # These have to be linked with before -lX11, unlike the other
8848 # libraries we check for below, so use a different variable.
8849 # John Interrante, Karl Berry
8850 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for IceConnectionNumber in -lICE" >&5
8851 $as_echo_n "checking for IceConnectionNumber in -lICE... " >&6; }
8852 if ${ac_cv_lib_ICE_IceConnectionNumber+:} false; then :
8853 $as_echo_n "(cached) " >&6
8854 else
8855 ac_check_lib_save_LIBS=$LIBS
8856 LIBS="-lICE $X_EXTRA_LIBS $LIBS"
8857 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
8858 /* end confdefs.h. */
8860 /* Override any GCC internal prototype to avoid an error.
8861 Use char because int might match the return type of a GCC
8862 builtin and then its argument prototype would still apply. */
8863 #ifdef __cplusplus
8864 extern "C"
8865 #endif
8866 char IceConnectionNumber ();
8868 main ()
8870 return IceConnectionNumber ();
8872 return 0;
8874 _ACEOF
8875 if ac_fn_c_try_link "$LINENO"; then :
8876 ac_cv_lib_ICE_IceConnectionNumber=yes
8877 else
8878 ac_cv_lib_ICE_IceConnectionNumber=no
8880 rm -f core conftest.err conftest.$ac_objext \
8881 conftest$ac_exeext conftest.$ac_ext
8882 LIBS=$ac_check_lib_save_LIBS
8884 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_ICE_IceConnectionNumber" >&5
8885 $as_echo "$ac_cv_lib_ICE_IceConnectionNumber" >&6; }
8886 if test "x$ac_cv_lib_ICE_IceConnectionNumber" = xyes; then :
8887 X_PRE_LIBS="$X_PRE_LIBS -lSM -lICE"
8890 LDFLAGS=$ac_save_LDFLAGS
8895 if test "$have_x" = "yes"
8896 then
8897 XLIB="-lX11"
8898 ac_save_CPPFLAGS="$CPPFLAGS"
8899 CPPFLAGS="$CPPFLAGS $X_CFLAGS"
8901 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lX11" >&5
8902 $as_echo_n "checking for -lX11... " >&6; }
8903 if ${ac_cv_lib_soname_X11+:} false; then :
8904 $as_echo_n "(cached) " >&6
8905 else
8906 ac_check_soname_save_LIBS=$LIBS
8907 LIBS="-lX11 $X_LIBS $X_EXTRA_LIBS $LIBS"
8908 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
8909 /* end confdefs.h. */
8911 /* Override any GCC internal prototype to avoid an error.
8912 Use char because int might match the return type of a GCC
8913 builtin and then its argument prototype would still apply. */
8914 #ifdef __cplusplus
8915 extern "C"
8916 #endif
8917 char XCreateWindow ();
8919 main ()
8921 return XCreateWindow ();
8923 return 0;
8925 _ACEOF
8926 if ac_fn_c_try_link "$LINENO"; then :
8927 case "$LIBEXT" in
8928 dll) ac_cv_lib_soname_X11=`$ac_cv_path_LDD conftest.exe | grep "X11" | sed -e "s/dll.*/dll/"';2,$d'` ;;
8929 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'` ;;
8930 *) ac_cv_lib_soname_X11=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libX11\\.$LIBEXT" | sed -e "s/^.*\\[\\(libX11\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
8931 if test "x$ac_cv_lib_soname_X11" = x; then :
8932 ac_cv_lib_soname_X11=`$LDD conftest$ac_exeext | grep "libX11\\.$LIBEXT" | sed -e "s/^.*\(libX11\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
8933 fi ;;
8934 esac
8936 rm -f core conftest.err conftest.$ac_objext \
8937 conftest$ac_exeext conftest.$ac_ext
8938 LIBS=$ac_check_soname_save_LIBS
8940 if test "x$ac_cv_lib_soname_X11" = "x"; then :
8941 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
8942 $as_echo "not found" >&6; }
8944 else
8945 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_X11" >&5
8946 $as_echo "$ac_cv_lib_soname_X11" >&6; }
8948 cat >>confdefs.h <<_ACEOF
8949 #define SONAME_LIBX11 "$ac_cv_lib_soname_X11"
8950 _ACEOF
8954 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lXext" >&5
8955 $as_echo_n "checking for -lXext... " >&6; }
8956 if ${ac_cv_lib_soname_Xext+:} false; then :
8957 $as_echo_n "(cached) " >&6
8958 else
8959 ac_check_soname_save_LIBS=$LIBS
8960 LIBS="-lXext $X_LIBS -lX11 $X_EXTRA_LIBS $LIBS"
8961 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
8962 /* end confdefs.h. */
8964 /* Override any GCC internal prototype to avoid an error.
8965 Use char because int might match the return type of a GCC
8966 builtin and then its argument prototype would still apply. */
8967 #ifdef __cplusplus
8968 extern "C"
8969 #endif
8970 char XextCreateExtension ();
8972 main ()
8974 return XextCreateExtension ();
8976 return 0;
8978 _ACEOF
8979 if ac_fn_c_try_link "$LINENO"; then :
8980 case "$LIBEXT" in
8981 dll) ac_cv_lib_soname_Xext=`$ac_cv_path_LDD conftest.exe | grep "Xext" | sed -e "s/dll.*/dll/"';2,$d'` ;;
8982 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'` ;;
8983 *) ac_cv_lib_soname_Xext=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libXext\\.$LIBEXT" | sed -e "s/^.*\\[\\(libXext\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
8984 if test "x$ac_cv_lib_soname_Xext" = x; then :
8985 ac_cv_lib_soname_Xext=`$LDD conftest$ac_exeext | grep "libXext\\.$LIBEXT" | sed -e "s/^.*\(libXext\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
8986 fi ;;
8987 esac
8989 rm -f core conftest.err conftest.$ac_objext \
8990 conftest$ac_exeext conftest.$ac_ext
8991 LIBS=$ac_check_soname_save_LIBS
8993 if test "x$ac_cv_lib_soname_Xext" = "x"; then :
8994 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
8995 $as_echo "not found" >&6; }
8997 else
8998 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_Xext" >&5
8999 $as_echo "$ac_cv_lib_soname_Xext" >&6; }
9001 cat >>confdefs.h <<_ACEOF
9002 #define SONAME_LIBXEXT "$ac_cv_lib_soname_Xext"
9003 _ACEOF
9005 XLIB="-lXext $XLIB"
9008 for ac_header in X11/Xlib.h \
9009 X11/XKBlib.h \
9010 X11/Xutil.h \
9011 X11/Xcursor/Xcursor.h \
9012 X11/extensions/shape.h \
9013 X11/extensions/XInput.h \
9014 X11/extensions/XInput2.h \
9015 X11/extensions/XShm.h \
9016 X11/extensions/Xcomposite.h \
9017 X11/extensions/Xinerama.h \
9018 X11/extensions/Xrandr.h \
9019 X11/extensions/Xrender.h \
9020 X11/extensions/xf86vmode.h \
9021 X11/extensions/xf86vmproto.h
9022 do :
9023 as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
9024 ac_fn_c_check_header_compile "$LINENO" "$ac_header" "$as_ac_Header" "#ifdef HAVE_X11_XLIB_H
9025 # include <X11/Xlib.h>
9026 #endif
9027 #ifdef HAVE_X11_XUTIL_H
9028 # include <X11/Xutil.h>
9029 #endif
9031 if eval test \"x\$"$as_ac_Header"\" = x"yes"; then :
9032 cat >>confdefs.h <<_ACEOF
9033 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
9034 _ACEOF
9038 done
9041 if test "$ac_cv_header_X11_XKBlib_h" = "yes"
9042 then
9043 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for XkbQueryExtension in -lX11" >&5
9044 $as_echo_n "checking for XkbQueryExtension in -lX11... " >&6; }
9045 if ${ac_cv_lib_X11_XkbQueryExtension+:} false; then :
9046 $as_echo_n "(cached) " >&6
9047 else
9048 ac_check_lib_save_LIBS=$LIBS
9049 LIBS="-lX11 $X_LIBS $XLIB $X_EXTRA_LIBS $LIBS"
9050 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9051 /* end confdefs.h. */
9053 /* Override any GCC internal prototype to avoid an error.
9054 Use char because int might match the return type of a GCC
9055 builtin and then its argument prototype would still apply. */
9056 #ifdef __cplusplus
9057 extern "C"
9058 #endif
9059 char XkbQueryExtension ();
9061 main ()
9063 return XkbQueryExtension ();
9065 return 0;
9067 _ACEOF
9068 if ac_fn_c_try_link "$LINENO"; then :
9069 ac_cv_lib_X11_XkbQueryExtension=yes
9070 else
9071 ac_cv_lib_X11_XkbQueryExtension=no
9073 rm -f core conftest.err conftest.$ac_objext \
9074 conftest$ac_exeext conftest.$ac_ext
9075 LIBS=$ac_check_lib_save_LIBS
9077 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_X11_XkbQueryExtension" >&5
9078 $as_echo "$ac_cv_lib_X11_XkbQueryExtension" >&6; }
9079 if test "x$ac_cv_lib_X11_XkbQueryExtension" = xyes; then :
9081 $as_echo "#define HAVE_XKB 1" >>confdefs.h
9087 if test "$ac_cv_header_X11_Xcursor_Xcursor_h" = "yes"
9088 then
9089 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lXcursor" >&5
9090 $as_echo_n "checking for -lXcursor... " >&6; }
9091 if ${ac_cv_lib_soname_Xcursor+:} false; then :
9092 $as_echo_n "(cached) " >&6
9093 else
9094 ac_check_soname_save_LIBS=$LIBS
9095 LIBS="-lXcursor $X_LIBS $XLIB $X_EXTRA_LIBS $LIBS"
9096 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9097 /* end confdefs.h. */
9099 /* Override any GCC internal prototype to avoid an error.
9100 Use char because int might match the return type of a GCC
9101 builtin and then its argument prototype would still apply. */
9102 #ifdef __cplusplus
9103 extern "C"
9104 #endif
9105 char XcursorImageLoadCursor ();
9107 main ()
9109 return XcursorImageLoadCursor ();
9111 return 0;
9113 _ACEOF
9114 if ac_fn_c_try_link "$LINENO"; then :
9115 case "$LIBEXT" in
9116 dll) ac_cv_lib_soname_Xcursor=`$ac_cv_path_LDD conftest.exe | grep "Xcursor" | sed -e "s/dll.*/dll/"';2,$d'` ;;
9117 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'` ;;
9118 *) ac_cv_lib_soname_Xcursor=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libXcursor\\.$LIBEXT" | sed -e "s/^.*\\[\\(libXcursor\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
9119 if test "x$ac_cv_lib_soname_Xcursor" = x; then :
9120 ac_cv_lib_soname_Xcursor=`$LDD conftest$ac_exeext | grep "libXcursor\\.$LIBEXT" | sed -e "s/^.*\(libXcursor\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
9121 fi ;;
9122 esac
9124 rm -f core conftest.err conftest.$ac_objext \
9125 conftest$ac_exeext conftest.$ac_ext
9126 LIBS=$ac_check_soname_save_LIBS
9128 if test "x$ac_cv_lib_soname_Xcursor" = "x"; then :
9129 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
9130 $as_echo "not found" >&6; }
9132 else
9133 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_Xcursor" >&5
9134 $as_echo "$ac_cv_lib_soname_Xcursor" >&6; }
9136 cat >>confdefs.h <<_ACEOF
9137 #define SONAME_LIBXCURSOR "$ac_cv_lib_soname_Xcursor"
9138 _ACEOF
9143 if test "x$ac_cv_lib_soname_Xcursor" = "x"; then :
9144 case "x$with_xcursor" in
9145 x) as_fn_append wine_notices "|libxcursor ${notice_platform}development files not found, the Xcursor extension won't be supported." ;;
9146 xno) ;;
9147 *) as_fn_error $? "libxcursor ${notice_platform}development files not found, the Xcursor extension won't be supported.
9148 This is an error since --with-xcursor was requested." "$LINENO" 5 ;;
9149 esac
9152 if test "$ac_cv_header_X11_extensions_XInput_h" = "yes"
9153 then
9154 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lXi" >&5
9155 $as_echo_n "checking for -lXi... " >&6; }
9156 if ${ac_cv_lib_soname_Xi+:} false; then :
9157 $as_echo_n "(cached) " >&6
9158 else
9159 ac_check_soname_save_LIBS=$LIBS
9160 LIBS="-lXi $X_LIBS $XLIB $X_EXTRA_LIBS $LIBS"
9161 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9162 /* end confdefs.h. */
9164 /* Override any GCC internal prototype to avoid an error.
9165 Use char because int might match the return type of a GCC
9166 builtin and then its argument prototype would still apply. */
9167 #ifdef __cplusplus
9168 extern "C"
9169 #endif
9170 char XOpenDevice ();
9172 main ()
9174 return XOpenDevice ();
9176 return 0;
9178 _ACEOF
9179 if ac_fn_c_try_link "$LINENO"; then :
9180 case "$LIBEXT" in
9181 dll) ac_cv_lib_soname_Xi=`$ac_cv_path_LDD conftest.exe | grep "Xi" | sed -e "s/dll.*/dll/"';2,$d'` ;;
9182 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'` ;;
9183 *) ac_cv_lib_soname_Xi=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libXi\\.$LIBEXT" | sed -e "s/^.*\\[\\(libXi\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
9184 if test "x$ac_cv_lib_soname_Xi" = x; then :
9185 ac_cv_lib_soname_Xi=`$LDD conftest$ac_exeext | grep "libXi\\.$LIBEXT" | sed -e "s/^.*\(libXi\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
9186 fi ;;
9187 esac
9189 rm -f core conftest.err conftest.$ac_objext \
9190 conftest$ac_exeext conftest.$ac_ext
9191 LIBS=$ac_check_soname_save_LIBS
9193 if test "x$ac_cv_lib_soname_Xi" = "x"; then :
9194 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
9195 $as_echo "not found" >&6; }
9197 else
9198 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_Xi" >&5
9199 $as_echo "$ac_cv_lib_soname_Xi" >&6; }
9201 cat >>confdefs.h <<_ACEOF
9202 #define SONAME_LIBXI "$ac_cv_lib_soname_Xi"
9203 _ACEOF
9208 if test "x$ac_cv_lib_soname_Xi" = "x"; then :
9209 case "x$with_xinput" in
9210 x) as_fn_append wine_notices "|libxi ${notice_platform}development files not found, the Xinput extension won't be supported." ;;
9211 xno) ;;
9212 *) as_fn_error $? "libxi ${notice_platform}development files not found, the Xinput extension won't be supported.
9213 This is an error since --with-xinput was requested." "$LINENO" 5 ;;
9214 esac
9217 if test "x$ac_cv_lib_soname_Xi" != x
9218 then
9219 if test "$ac_cv_header_X11_extensions_XInput2_h" != "yes"; then :
9220 case "x$with_xinput2" in
9221 x) as_fn_append wine_notices "|XInput2 headers not found, the XInput 2 extension won't be supported." ;;
9222 xno) ;;
9223 *) as_fn_error $? "XInput2 headers not found, the XInput 2 extension won't be supported.
9224 This is an error since --with-xinput2 was requested." "$LINENO" 5 ;;
9225 esac
9229 if test "$ac_cv_header_X11_extensions_XShm_h" = "yes"
9230 then
9231 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for XShmQueryExtension in -lXext" >&5
9232 $as_echo_n "checking for XShmQueryExtension in -lXext... " >&6; }
9233 if ${ac_cv_lib_Xext_XShmQueryExtension+:} false; then :
9234 $as_echo_n "(cached) " >&6
9235 else
9236 ac_check_lib_save_LIBS=$LIBS
9237 LIBS="-lXext $X_LIBS $XLIB $X_EXTRA_LIBS $LIBS"
9238 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9239 /* end confdefs.h. */
9241 /* Override any GCC internal prototype to avoid an error.
9242 Use char because int might match the return type of a GCC
9243 builtin and then its argument prototype would still apply. */
9244 #ifdef __cplusplus
9245 extern "C"
9246 #endif
9247 char XShmQueryExtension ();
9249 main ()
9251 return XShmQueryExtension ();
9253 return 0;
9255 _ACEOF
9256 if ac_fn_c_try_link "$LINENO"; then :
9257 ac_cv_lib_Xext_XShmQueryExtension=yes
9258 else
9259 ac_cv_lib_Xext_XShmQueryExtension=no
9261 rm -f core conftest.err conftest.$ac_objext \
9262 conftest$ac_exeext conftest.$ac_ext
9263 LIBS=$ac_check_lib_save_LIBS
9265 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_Xext_XShmQueryExtension" >&5
9266 $as_echo "$ac_cv_lib_Xext_XShmQueryExtension" >&6; }
9267 if test "x$ac_cv_lib_Xext_XShmQueryExtension" = xyes; then :
9269 $as_echo "#define HAVE_LIBXXSHM 1" >>confdefs.h
9274 if test "$ac_cv_lib_Xext_XShmQueryExtension" != "yes"; then :
9275 case "x$with_xshm" in
9276 x) as_fn_append wine_notices "|XShm ${notice_platform}development files not found, X Shared Memory won't be supported." ;;
9277 xno) ;;
9278 *) as_fn_error $? "XShm ${notice_platform}development files not found, X Shared Memory won't be supported.
9279 This is an error since --with-xshm was requested." "$LINENO" 5 ;;
9280 esac
9283 if test "$ac_cv_header_X11_extensions_shape_h" = "yes"
9284 then
9285 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for XShapeQueryExtension in -lXext" >&5
9286 $as_echo_n "checking for XShapeQueryExtension in -lXext... " >&6; }
9287 if ${ac_cv_lib_Xext_XShapeQueryExtension+:} false; then :
9288 $as_echo_n "(cached) " >&6
9289 else
9290 ac_check_lib_save_LIBS=$LIBS
9291 LIBS="-lXext $X_LIBS $XLIB $X_EXTRA_LIBS $LIBS"
9292 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9293 /* end confdefs.h. */
9295 /* Override any GCC internal prototype to avoid an error.
9296 Use char because int might match the return type of a GCC
9297 builtin and then its argument prototype would still apply. */
9298 #ifdef __cplusplus
9299 extern "C"
9300 #endif
9301 char XShapeQueryExtension ();
9303 main ()
9305 return XShapeQueryExtension ();
9307 return 0;
9309 _ACEOF
9310 if ac_fn_c_try_link "$LINENO"; then :
9311 ac_cv_lib_Xext_XShapeQueryExtension=yes
9312 else
9313 ac_cv_lib_Xext_XShapeQueryExtension=no
9315 rm -f core conftest.err conftest.$ac_objext \
9316 conftest$ac_exeext conftest.$ac_ext
9317 LIBS=$ac_check_lib_save_LIBS
9319 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_Xext_XShapeQueryExtension" >&5
9320 $as_echo "$ac_cv_lib_Xext_XShapeQueryExtension" >&6; }
9321 if test "x$ac_cv_lib_Xext_XShapeQueryExtension" = xyes; then :
9323 $as_echo "#define HAVE_LIBXSHAPE 1" >>confdefs.h
9328 if test "$ac_cv_lib_Xext_XShapeQueryExtension" != "yes"; then :
9329 case "x$with_xshape" in
9330 x) as_fn_append wine_notices "|XShape ${notice_platform}development files not found, XShape won't be supported." ;;
9331 xno) ;;
9332 *) as_fn_error $? "XShape ${notice_platform}development files not found, XShape won't be supported.
9333 This is an error since --with-xshape was requested." "$LINENO" 5 ;;
9334 esac
9337 if test "$ac_cv_header_X11_extensions_xf86vmode_h" = "yes" -o "$ac_cv_header_X11_extensions_xf86vmproto_h" = "yes"
9338 then
9339 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lXxf86vm" >&5
9340 $as_echo_n "checking for -lXxf86vm... " >&6; }
9341 if ${ac_cv_lib_soname_Xxf86vm+:} false; then :
9342 $as_echo_n "(cached) " >&6
9343 else
9344 ac_check_soname_save_LIBS=$LIBS
9345 LIBS="-lXxf86vm $X_LIBS $XLIB $X_EXTRA_LIBS $LIBS"
9346 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9347 /* end confdefs.h. */
9349 /* Override any GCC internal prototype to avoid an error.
9350 Use char because int might match the return type of a GCC
9351 builtin and then its argument prototype would still apply. */
9352 #ifdef __cplusplus
9353 extern "C"
9354 #endif
9355 char XF86VidModeQueryExtension ();
9357 main ()
9359 return XF86VidModeQueryExtension ();
9361 return 0;
9363 _ACEOF
9364 if ac_fn_c_try_link "$LINENO"; then :
9365 case "$LIBEXT" in
9366 dll) ac_cv_lib_soname_Xxf86vm=`$ac_cv_path_LDD conftest.exe | grep "Xxf86vm" | sed -e "s/dll.*/dll/"';2,$d'` ;;
9367 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'` ;;
9368 *) ac_cv_lib_soname_Xxf86vm=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libXxf86vm\\.$LIBEXT" | sed -e "s/^.*\\[\\(libXxf86vm\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
9369 if test "x$ac_cv_lib_soname_Xxf86vm" = x; then :
9370 ac_cv_lib_soname_Xxf86vm=`$LDD conftest$ac_exeext | grep "libXxf86vm\\.$LIBEXT" | sed -e "s/^.*\(libXxf86vm\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
9371 fi ;;
9372 esac
9374 rm -f core conftest.err conftest.$ac_objext \
9375 conftest$ac_exeext conftest.$ac_ext
9376 LIBS=$ac_check_soname_save_LIBS
9378 if test "x$ac_cv_lib_soname_Xxf86vm" = "x"; then :
9379 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
9380 $as_echo "not found" >&6; }
9382 else
9383 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_Xxf86vm" >&5
9384 $as_echo "$ac_cv_lib_soname_Xxf86vm" >&6; }
9386 cat >>confdefs.h <<_ACEOF
9387 #define SONAME_LIBXXF86VM "$ac_cv_lib_soname_Xxf86vm"
9388 _ACEOF
9393 if test "x$ac_cv_lib_soname_Xxf86vm" = "x"; then :
9394 case "x$with_xxf86vm" in
9395 x) as_fn_append wine_notices "|libXxf86vm ${notice_platform}development files not found, XFree86 Vidmode won't be supported." ;;
9396 xno) ;;
9397 *) as_fn_error $? "libXxf86vm ${notice_platform}development files not found, XFree86 Vidmode won't be supported.
9398 This is an error since --with-xxf86vm was requested." "$LINENO" 5 ;;
9399 esac
9402 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"
9403 then
9404 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lXrender" >&5
9405 $as_echo_n "checking for -lXrender... " >&6; }
9406 if ${ac_cv_lib_soname_Xrender+:} false; then :
9407 $as_echo_n "(cached) " >&6
9408 else
9409 ac_check_soname_save_LIBS=$LIBS
9410 LIBS="-lXrender $X_LIBS $XLIB $X_EXTRA_LIBS $LIBS"
9411 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9412 /* end confdefs.h. */
9414 /* Override any GCC internal prototype to avoid an error.
9415 Use char because int might match the return type of a GCC
9416 builtin and then its argument prototype would still apply. */
9417 #ifdef __cplusplus
9418 extern "C"
9419 #endif
9420 char XRenderQueryExtension ();
9422 main ()
9424 return XRenderQueryExtension ();
9426 return 0;
9428 _ACEOF
9429 if ac_fn_c_try_link "$LINENO"; then :
9430 case "$LIBEXT" in
9431 dll) ac_cv_lib_soname_Xrender=`$ac_cv_path_LDD conftest.exe | grep "Xrender" | sed -e "s/dll.*/dll/"';2,$d'` ;;
9432 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'` ;;
9433 *) ac_cv_lib_soname_Xrender=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libXrender\\.$LIBEXT" | sed -e "s/^.*\\[\\(libXrender\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
9434 if test "x$ac_cv_lib_soname_Xrender" = x; then :
9435 ac_cv_lib_soname_Xrender=`$LDD conftest$ac_exeext | grep "libXrender\\.$LIBEXT" | sed -e "s/^.*\(libXrender\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
9436 fi ;;
9437 esac
9439 rm -f core conftest.err conftest.$ac_objext \
9440 conftest$ac_exeext conftest.$ac_ext
9441 LIBS=$ac_check_soname_save_LIBS
9443 if test "x$ac_cv_lib_soname_Xrender" = "x"; then :
9444 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
9445 $as_echo "not found" >&6; }
9447 else
9448 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_Xrender" >&5
9449 $as_echo "$ac_cv_lib_soname_Xrender" >&6; }
9451 cat >>confdefs.h <<_ACEOF
9452 #define SONAME_LIBXRENDER "$ac_cv_lib_soname_Xrender"
9453 _ACEOF
9455 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for XRenderSetPictureTransform in -lXrender" >&5
9456 $as_echo_n "checking for XRenderSetPictureTransform in -lXrender... " >&6; }
9457 if ${ac_cv_lib_Xrender_XRenderSetPictureTransform+:} false; then :
9458 $as_echo_n "(cached) " >&6
9459 else
9460 ac_check_lib_save_LIBS=$LIBS
9461 LIBS="-lXrender $X_LIBS $XLIB $X_EXTRA_LIBS $LIBS"
9462 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9463 /* end confdefs.h. */
9465 /* Override any GCC internal prototype to avoid an error.
9466 Use char because int might match the return type of a GCC
9467 builtin and then its argument prototype would still apply. */
9468 #ifdef __cplusplus
9469 extern "C"
9470 #endif
9471 char XRenderSetPictureTransform ();
9473 main ()
9475 return XRenderSetPictureTransform ();
9477 return 0;
9479 _ACEOF
9480 if ac_fn_c_try_link "$LINENO"; then :
9481 ac_cv_lib_Xrender_XRenderSetPictureTransform=yes
9482 else
9483 ac_cv_lib_Xrender_XRenderSetPictureTransform=no
9485 rm -f core conftest.err conftest.$ac_objext \
9486 conftest$ac_exeext conftest.$ac_ext
9487 LIBS=$ac_check_lib_save_LIBS
9489 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_Xrender_XRenderSetPictureTransform" >&5
9490 $as_echo "$ac_cv_lib_Xrender_XRenderSetPictureTransform" >&6; }
9491 if test "x$ac_cv_lib_Xrender_XRenderSetPictureTransform" = xyes; then :
9493 $as_echo "#define HAVE_XRENDERSETPICTURETRANSFORM 1" >>confdefs.h
9497 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for XRenderCreateLinearGradient in -lXrender" >&5
9498 $as_echo_n "checking for XRenderCreateLinearGradient in -lXrender... " >&6; }
9499 if ${ac_cv_lib_Xrender_XRenderCreateLinearGradient+:} false; then :
9500 $as_echo_n "(cached) " >&6
9501 else
9502 ac_check_lib_save_LIBS=$LIBS
9503 LIBS="-lXrender $X_LIBS $XLIB $X_EXTRA_LIBS $LIBS"
9504 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9505 /* end confdefs.h. */
9507 /* Override any GCC internal prototype to avoid an error.
9508 Use char because int might match the return type of a GCC
9509 builtin and then its argument prototype would still apply. */
9510 #ifdef __cplusplus
9511 extern "C"
9512 #endif
9513 char XRenderCreateLinearGradient ();
9515 main ()
9517 return XRenderCreateLinearGradient ();
9519 return 0;
9521 _ACEOF
9522 if ac_fn_c_try_link "$LINENO"; then :
9523 ac_cv_lib_Xrender_XRenderCreateLinearGradient=yes
9524 else
9525 ac_cv_lib_Xrender_XRenderCreateLinearGradient=no
9527 rm -f core conftest.err conftest.$ac_objext \
9528 conftest$ac_exeext conftest.$ac_ext
9529 LIBS=$ac_check_lib_save_LIBS
9531 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_Xrender_XRenderCreateLinearGradient" >&5
9532 $as_echo "$ac_cv_lib_Xrender_XRenderCreateLinearGradient" >&6; }
9533 if test "x$ac_cv_lib_Xrender_XRenderCreateLinearGradient" = xyes; then :
9535 $as_echo "#define HAVE_XRENDERCREATELINEARGRADIENT 1" >>confdefs.h
9542 if test "x$ac_cv_lib_soname_Xrender" = "x"; then :
9543 case "x$with_xrender" in
9544 x) as_fn_append wine_warnings "|libxrender ${notice_platform}development files not found, XRender won't be supported." ;;
9545 xno) ;;
9546 *) as_fn_error $? "libxrender ${notice_platform}development files not found, XRender won't be supported.
9547 This is an error since --with-xrender was requested." "$LINENO" 5 ;;
9548 esac
9551 if test "$ac_cv_header_X11_extensions_Xrandr_h" = "yes" -a "x$ac_cv_lib_soname_Xrender" != "x"
9552 then
9553 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9554 /* end confdefs.h. */
9555 #include <X11/Xlib.h>
9556 #include <X11/extensions/Xrandr.h>
9558 main ()
9560 static typeof(XRRSetScreenConfigAndRate) * func; if (func) return 0;
9562 return 0;
9564 _ACEOF
9565 if ac_fn_c_try_compile "$LINENO"; then :
9566 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lXrandr" >&5
9567 $as_echo_n "checking for -lXrandr... " >&6; }
9568 if ${ac_cv_lib_soname_Xrandr+:} false; then :
9569 $as_echo_n "(cached) " >&6
9570 else
9571 ac_check_soname_save_LIBS=$LIBS
9572 LIBS="-lXrandr $X_LIBS $XLIB $X_EXTRA_LIBS $LIBS"
9573 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9574 /* end confdefs.h. */
9576 /* Override any GCC internal prototype to avoid an error.
9577 Use char because int might match the return type of a GCC
9578 builtin and then its argument prototype would still apply. */
9579 #ifdef __cplusplus
9580 extern "C"
9581 #endif
9582 char XRRQueryExtension ();
9584 main ()
9586 return XRRQueryExtension ();
9588 return 0;
9590 _ACEOF
9591 if ac_fn_c_try_link "$LINENO"; then :
9592 case "$LIBEXT" in
9593 dll) ac_cv_lib_soname_Xrandr=`$ac_cv_path_LDD conftest.exe | grep "Xrandr" | sed -e "s/dll.*/dll/"';2,$d'` ;;
9594 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'` ;;
9595 *) ac_cv_lib_soname_Xrandr=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libXrandr\\.$LIBEXT" | sed -e "s/^.*\\[\\(libXrandr\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
9596 if test "x$ac_cv_lib_soname_Xrandr" = x; then :
9597 ac_cv_lib_soname_Xrandr=`$LDD conftest$ac_exeext | grep "libXrandr\\.$LIBEXT" | sed -e "s/^.*\(libXrandr\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
9598 fi ;;
9599 esac
9601 rm -f core conftest.err conftest.$ac_objext \
9602 conftest$ac_exeext conftest.$ac_ext
9603 LIBS=$ac_check_soname_save_LIBS
9605 if test "x$ac_cv_lib_soname_Xrandr" = "x"; then :
9606 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
9607 $as_echo "not found" >&6; }
9609 else
9610 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_Xrandr" >&5
9611 $as_echo "$ac_cv_lib_soname_Xrandr" >&6; }
9613 cat >>confdefs.h <<_ACEOF
9614 #define SONAME_LIBXRANDR "$ac_cv_lib_soname_Xrandr"
9615 _ACEOF
9617 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9618 /* end confdefs.h. */
9619 #include <X11/Xlib.h>
9620 #include <X11/extensions/Xrandr.h>
9622 main ()
9624 static typeof(XRRGetScreenResources) *f; if (f) return 0;
9626 return 0;
9628 _ACEOF
9629 if ac_fn_c_try_compile "$LINENO"; then :
9631 $as_echo "#define HAVE_XRRGETSCREENRESOURCES 1" >>confdefs.h
9634 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
9637 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
9639 if test "x$ac_cv_lib_soname_Xrandr" = "x"; then :
9640 case "x$with_xrandr" in
9641 x) as_fn_append wine_notices "|libxrandr ${notice_platform}development files not found, XRandr won't be supported." ;;
9642 xno) ;;
9643 *) as_fn_error $? "libxrandr ${notice_platform}development files not found, XRandr won't be supported.
9644 This is an error since --with-xrandr was requested." "$LINENO" 5 ;;
9645 esac
9648 if test "$ac_cv_header_X11_extensions_Xinerama_h" = "yes"
9649 then
9650 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9651 /* end confdefs.h. */
9652 #include <X11/Xlib.h>
9653 #include <X11/extensions/Xinerama.h>
9655 main ()
9657 static typeof(XineramaQueryScreens) * func; if (func) return 0;
9659 return 0;
9661 _ACEOF
9662 if ac_fn_c_try_compile "$LINENO"; then :
9663 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lXinerama" >&5
9664 $as_echo_n "checking for -lXinerama... " >&6; }
9665 if ${ac_cv_lib_soname_Xinerama+:} false; then :
9666 $as_echo_n "(cached) " >&6
9667 else
9668 ac_check_soname_save_LIBS=$LIBS
9669 LIBS="-lXinerama $X_LIBS $XLIB $X_EXTRA_LIBS $LIBS"
9670 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9671 /* end confdefs.h. */
9673 /* Override any GCC internal prototype to avoid an error.
9674 Use char because int might match the return type of a GCC
9675 builtin and then its argument prototype would still apply. */
9676 #ifdef __cplusplus
9677 extern "C"
9678 #endif
9679 char XineramaQueryScreens ();
9681 main ()
9683 return XineramaQueryScreens ();
9685 return 0;
9687 _ACEOF
9688 if ac_fn_c_try_link "$LINENO"; then :
9689 case "$LIBEXT" in
9690 dll) ac_cv_lib_soname_Xinerama=`$ac_cv_path_LDD conftest.exe | grep "Xinerama" | sed -e "s/dll.*/dll/"';2,$d'` ;;
9691 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'` ;;
9692 *) ac_cv_lib_soname_Xinerama=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libXinerama\\.$LIBEXT" | sed -e "s/^.*\\[\\(libXinerama\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
9693 if test "x$ac_cv_lib_soname_Xinerama" = x; then :
9694 ac_cv_lib_soname_Xinerama=`$LDD conftest$ac_exeext | grep "libXinerama\\.$LIBEXT" | sed -e "s/^.*\(libXinerama\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
9695 fi ;;
9696 esac
9698 rm -f core conftest.err conftest.$ac_objext \
9699 conftest$ac_exeext conftest.$ac_ext
9700 LIBS=$ac_check_soname_save_LIBS
9702 if test "x$ac_cv_lib_soname_Xinerama" = "x"; then :
9703 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
9704 $as_echo "not found" >&6; }
9706 else
9707 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_Xinerama" >&5
9708 $as_echo "$ac_cv_lib_soname_Xinerama" >&6; }
9710 cat >>confdefs.h <<_ACEOF
9711 #define SONAME_LIBXINERAMA "$ac_cv_lib_soname_Xinerama"
9712 _ACEOF
9717 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
9719 if test "x$ac_cv_lib_soname_Xinerama" = "x"; then :
9720 case "x$with_xinerama" in
9721 x) as_fn_append wine_notices "|libxinerama ${notice_platform}development files not found, multi-monitor setups won't be supported." ;;
9722 xno) ;;
9723 *) as_fn_error $? "libxinerama ${notice_platform}development files not found, multi-monitor setups won't be supported.
9724 This is an error since --with-xinerama was requested." "$LINENO" 5 ;;
9725 esac
9728 if test "$ac_cv_header_X11_extensions_Xcomposite_h" = "yes"
9729 then
9730 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lXcomposite" >&5
9731 $as_echo_n "checking for -lXcomposite... " >&6; }
9732 if ${ac_cv_lib_soname_Xcomposite+:} false; then :
9733 $as_echo_n "(cached) " >&6
9734 else
9735 ac_check_soname_save_LIBS=$LIBS
9736 LIBS="-lXcomposite $X_LIBS $XLIB $X_EXTRA_LIBS $LIBS"
9737 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9738 /* end confdefs.h. */
9740 /* Override any GCC internal prototype to avoid an error.
9741 Use char because int might match the return type of a GCC
9742 builtin and then its argument prototype would still apply. */
9743 #ifdef __cplusplus
9744 extern "C"
9745 #endif
9746 char XCompositeRedirectWindow ();
9748 main ()
9750 return XCompositeRedirectWindow ();
9752 return 0;
9754 _ACEOF
9755 if ac_fn_c_try_link "$LINENO"; then :
9756 case "$LIBEXT" in
9757 dll) ac_cv_lib_soname_Xcomposite=`$ac_cv_path_LDD conftest.exe | grep "Xcomposite" | sed -e "s/dll.*/dll/"';2,$d'` ;;
9758 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'` ;;
9759 *) ac_cv_lib_soname_Xcomposite=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libXcomposite\\.$LIBEXT" | sed -e "s/^.*\\[\\(libXcomposite\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
9760 if test "x$ac_cv_lib_soname_Xcomposite" = x; then :
9761 ac_cv_lib_soname_Xcomposite=`$LDD conftest$ac_exeext | grep "libXcomposite\\.$LIBEXT" | sed -e "s/^.*\(libXcomposite\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
9762 fi ;;
9763 esac
9765 rm -f core conftest.err conftest.$ac_objext \
9766 conftest$ac_exeext conftest.$ac_ext
9767 LIBS=$ac_check_soname_save_LIBS
9769 if test "x$ac_cv_lib_soname_Xcomposite" = "x"; then :
9770 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
9771 $as_echo "not found" >&6; }
9773 else
9774 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_Xcomposite" >&5
9775 $as_echo "$ac_cv_lib_soname_Xcomposite" >&6; }
9777 cat >>confdefs.h <<_ACEOF
9778 #define SONAME_LIBXCOMPOSITE "$ac_cv_lib_soname_Xcomposite"
9779 _ACEOF
9784 if test "x$ac_cv_lib_soname_Xcomposite" = "x"; then :
9785 case "x$with_xcomposite" in
9786 x) as_fn_append wine_notices "|libxcomposite ${notice_platform}development files not found, Xcomposite won't be supported." ;;
9787 xno) ;;
9788 *) as_fn_error $? "libxcomposite ${notice_platform}development files not found, Xcomposite won't be supported.
9789 This is an error since --with-xcomposite was requested." "$LINENO" 5 ;;
9790 esac
9793 ac_fn_c_check_member "$LINENO" "XICCallback" "callback" "ac_cv_member_XICCallback_callback" "#ifdef HAVE_X11_XLIB_H
9794 #include <X11/Xlib.h>
9795 #endif
9797 if test "x$ac_cv_member_XICCallback_callback" = xyes; then :
9799 cat >>confdefs.h <<_ACEOF
9800 #define HAVE_XICCALLBACK_CALLBACK 1
9801 _ACEOF
9805 ac_fn_c_check_member "$LINENO" "XEvent" "xcookie" "ac_cv_member_XEvent_xcookie" "#ifdef HAVE_X11_XLIB_H
9806 #include <X11/Xlib.h>
9807 #endif
9809 if test "x$ac_cv_member_XEvent_xcookie" = xyes; then :
9811 cat >>confdefs.h <<_ACEOF
9812 #define HAVE_XEVENT_XCOOKIE 1
9813 _ACEOF
9820 opengl_msg=""
9821 if test "x$with_opengl" != "xno"
9822 then
9823 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lGL" >&5
9824 $as_echo_n "checking for -lGL... " >&6; }
9825 if ${ac_cv_lib_soname_GL+:} false; then :
9826 $as_echo_n "(cached) " >&6
9827 else
9828 ac_check_soname_save_LIBS=$LIBS
9829 LIBS="-lGL $X_LIBS $XLIB -lm $X_EXTRA_LIBS $LIBS"
9830 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9831 /* end confdefs.h. */
9833 /* Override any GCC internal prototype to avoid an error.
9834 Use char because int might match the return type of a GCC
9835 builtin and then its argument prototype would still apply. */
9836 #ifdef __cplusplus
9837 extern "C"
9838 #endif
9839 char glXCreateContext ();
9841 main ()
9843 return glXCreateContext ();
9845 return 0;
9847 _ACEOF
9848 if ac_fn_c_try_link "$LINENO"; then :
9849 case "$LIBEXT" in
9850 dll) ac_cv_lib_soname_GL=`$ac_cv_path_LDD conftest.exe | grep "GL" | sed -e "s/dll.*/dll/"';2,$d'` ;;
9851 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'` ;;
9852 *) ac_cv_lib_soname_GL=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libGL\\.$LIBEXT" | sed -e "s/^.*\\[\\(libGL\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
9853 if test "x$ac_cv_lib_soname_GL" = x; then :
9854 ac_cv_lib_soname_GL=`$LDD conftest$ac_exeext | grep "libGL\\.$LIBEXT" | sed -e "s/^.*\(libGL\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
9855 fi ;;
9856 esac
9858 rm -f core conftest.err conftest.$ac_objext \
9859 conftest$ac_exeext conftest.$ac_ext
9860 LIBS=$ac_check_soname_save_LIBS
9862 if test "x$ac_cv_lib_soname_GL" = "x"; then :
9863 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
9864 $as_echo "not found" >&6; }
9865 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lGL" >&5
9866 $as_echo_n "checking for -lGL... " >&6; }
9867 if ${ac_cv_lib_soname_GL+:} false; then :
9868 $as_echo_n "(cached) " >&6
9869 else
9870 ac_check_soname_save_LIBS=$LIBS
9871 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"
9872 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9873 /* end confdefs.h. */
9875 /* Override any GCC internal prototype to avoid an error.
9876 Use char because int might match the return type of a GCC
9877 builtin and then its argument prototype would still apply. */
9878 #ifdef __cplusplus
9879 extern "C"
9880 #endif
9881 char glXCreateContext ();
9883 main ()
9885 return glXCreateContext ();
9887 return 0;
9889 _ACEOF
9890 if ac_fn_c_try_link "$LINENO"; then :
9891 case "$LIBEXT" in
9892 dll) ac_cv_lib_soname_GL=`$ac_cv_path_LDD conftest.exe | grep "GL" | sed -e "s/dll.*/dll/"';2,$d'` ;;
9893 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'` ;;
9894 *) ac_cv_lib_soname_GL=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libGL\\.$LIBEXT" | sed -e "s/^.*\\[\\(libGL\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
9895 if test "x$ac_cv_lib_soname_GL" = x; then :
9896 ac_cv_lib_soname_GL=`$LDD conftest$ac_exeext | grep "libGL\\.$LIBEXT" | sed -e "s/^.*\(libGL\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
9897 fi ;;
9898 esac
9900 rm -f core conftest.err conftest.$ac_objext \
9901 conftest$ac_exeext conftest.$ac_ext
9902 LIBS=$ac_check_soname_save_LIBS
9904 if test "x$ac_cv_lib_soname_GL" = "x"; then :
9905 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
9906 $as_echo "not found" >&6; }
9907 if test -f /usr/X11R6/lib/libGL.a
9908 then
9909 opengl_msg="/usr/X11R6/lib/libGL.a is present on your system.
9910 This probably prevents linking to OpenGL. Try deleting the file and restarting configure."
9911 else
9912 opengl_msg="No OpenGL library found on this system."
9914 else
9915 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_GL" >&5
9916 $as_echo "$ac_cv_lib_soname_GL" >&6; }
9918 cat >>confdefs.h <<_ACEOF
9919 #define SONAME_LIBGL "$ac_cv_lib_soname_GL"
9920 _ACEOF
9922 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"
9924 else
9925 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_GL" >&5
9926 $as_echo "$ac_cv_lib_soname_GL" >&6; }
9928 cat >>confdefs.h <<_ACEOF
9929 #define SONAME_LIBGL "$ac_cv_lib_soname_GL"
9930 _ACEOF
9932 OPENGL_LIBS="-lGL"
9934 if test "x$with_glu" != "xno"
9935 then
9936 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for gluLookAt in -lGLU" >&5
9937 $as_echo_n "checking for gluLookAt in -lGLU... " >&6; }
9938 if ${ac_cv_lib_GLU_gluLookAt+:} false; then :
9939 $as_echo_n "(cached) " >&6
9940 else
9941 ac_check_lib_save_LIBS=$LIBS
9942 LIBS="-lGLU $OPENGL_LIBS $X_LIBS $XLIB -lm $X_EXTRA_LIBS $LIBS"
9943 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9944 /* end confdefs.h. */
9946 /* Override any GCC internal prototype to avoid an error.
9947 Use char because int might match the return type of a GCC
9948 builtin and then its argument prototype would still apply. */
9949 #ifdef __cplusplus
9950 extern "C"
9951 #endif
9952 char gluLookAt ();
9954 main ()
9956 return gluLookAt ();
9958 return 0;
9960 _ACEOF
9961 if ac_fn_c_try_link "$LINENO"; then :
9962 ac_cv_lib_GLU_gluLookAt=yes
9963 else
9964 ac_cv_lib_GLU_gluLookAt=no
9966 rm -f core conftest.err conftest.$ac_objext \
9967 conftest$ac_exeext conftest.$ac_ext
9968 LIBS=$ac_check_lib_save_LIBS
9970 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_GLU_gluLookAt" >&5
9971 $as_echo "$ac_cv_lib_GLU_gluLookAt" >&6; }
9972 if test "x$ac_cv_lib_GLU_gluLookAt" = xyes; then :
9976 if test "x$ac_cv_lib_GLU_gluLookAt" != xyes; then :
9977 case "x$with_glu" in
9978 x) as_fn_append wine_notices "|libGLU ${notice_platform}development files not found, GLU won't be supported." ;;
9979 xno) ;;
9980 *) as_fn_error $? "libGLU ${notice_platform}development files not found, GLU won't be supported.
9981 This is an error since --with-glu was requested." "$LINENO" 5 ;;
9982 esac
9986 if test "x$with_osmesa" != "xno"
9987 then
9988 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lOSMesa" >&5
9989 $as_echo_n "checking for -lOSMesa... " >&6; }
9990 if ${ac_cv_lib_soname_OSMesa+:} false; then :
9991 $as_echo_n "(cached) " >&6
9992 else
9993 ac_check_soname_save_LIBS=$LIBS
9994 LIBS="-lOSMesa $X_LIBS $XLIB -lm $X_EXTRA_LIBS $LIBS"
9995 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9996 /* end confdefs.h. */
9998 /* Override any GCC internal prototype to avoid an error.
9999 Use char because int might match the return type of a GCC
10000 builtin and then its argument prototype would still apply. */
10001 #ifdef __cplusplus
10002 extern "C"
10003 #endif
10004 char glAccum ();
10006 main ()
10008 return glAccum ();
10010 return 0;
10012 _ACEOF
10013 if ac_fn_c_try_link "$LINENO"; then :
10014 case "$LIBEXT" in
10015 dll) ac_cv_lib_soname_OSMesa=`$ac_cv_path_LDD conftest.exe | grep "OSMesa" | sed -e "s/dll.*/dll/"';2,$d'` ;;
10016 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'` ;;
10017 *) ac_cv_lib_soname_OSMesa=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libOSMesa\\.$LIBEXT" | sed -e "s/^.*\\[\\(libOSMesa\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
10018 if test "x$ac_cv_lib_soname_OSMesa" = x; then :
10019 ac_cv_lib_soname_OSMesa=`$LDD conftest$ac_exeext | grep "libOSMesa\\.$LIBEXT" | sed -e "s/^.*\(libOSMesa\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
10020 fi ;;
10021 esac
10023 rm -f core conftest.err conftest.$ac_objext \
10024 conftest$ac_exeext conftest.$ac_ext
10025 LIBS=$ac_check_soname_save_LIBS
10027 if test "x$ac_cv_lib_soname_OSMesa" = "x"; then :
10028 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
10029 $as_echo "not found" >&6; }
10031 else
10032 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_OSMesa" >&5
10033 $as_echo "$ac_cv_lib_soname_OSMesa" >&6; }
10035 cat >>confdefs.h <<_ACEOF
10036 #define SONAME_LIBOSMESA "$ac_cv_lib_soname_OSMesa"
10037 _ACEOF
10041 if test "x$ac_cv_lib_soname_OSMesa" = "x"; then :
10042 case "x$with_osmesa" in
10043 x) as_fn_append wine_notices "|libOSMesa ${notice_platform}development files not found (or too old), OpenGL rendering in bitmaps won't be supported." ;;
10044 xno) ;;
10045 *) as_fn_error $? "libOSMesa ${notice_platform}development files not found (or too old), OpenGL rendering in bitmaps won't be supported.
10046 This is an error since --with-osmesa was requested." "$LINENO" 5 ;;
10047 esac
10051 if test -n "$opengl_msg"; then :
10052 case "x$with_opengl" in
10053 x) as_fn_append wine_warnings "|$opengl_msg
10054 OpenGL and Direct3D won't be supported." ;;
10055 xno) ;;
10056 *) as_fn_error $? "$opengl_msg
10057 OpenGL and Direct3D won't be supported.
10058 This is an error since --with-opengl was requested." "$LINENO" 5 ;;
10059 esac
10062 CPPFLAGS="$ac_save_CPPFLAGS"
10063 else
10064 XLIB=""
10065 X_CFLAGS=""
10066 X_LIBS=""
10067 enable_winex11_drv=${enable_winex11_drv:-no}
10069 if test "x$XLIB" = "x"; then :
10070 case "x$with_x" in
10071 xno) ;;
10072 *) as_fn_error $? "X ${notice_platform}development files not found. Wine will be built
10073 without X support, which probably isn't what you want. You will need
10074 to install ${notice_platform}development packages of Xlib/Xfree86 at the very least.
10075 Use the --without-x option if you really want this." "$LINENO" 5 ;;
10076 esac
10079 test "x$ac_cv_lib_GLU_gluLookAt" != xyes && enable_glu32=${enable_glu32:-no}
10081 if test "$ac_cv_header_CL_cl_h" = "yes"
10082 then
10083 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for clGetPlatformInfo in -lOpenCL" >&5
10084 $as_echo_n "checking for clGetPlatformInfo in -lOpenCL... " >&6; }
10085 if ${ac_cv_lib_OpenCL_clGetPlatformInfo+:} false; then :
10086 $as_echo_n "(cached) " >&6
10087 else
10088 ac_check_lib_save_LIBS=$LIBS
10089 LIBS="-lOpenCL $LIBS"
10090 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10091 /* end confdefs.h. */
10093 /* Override any GCC internal prototype to avoid an error.
10094 Use char because int might match the return type of a GCC
10095 builtin and then its argument prototype would still apply. */
10096 #ifdef __cplusplus
10097 extern "C"
10098 #endif
10099 char clGetPlatformInfo ();
10101 main ()
10103 return clGetPlatformInfo ();
10105 return 0;
10107 _ACEOF
10108 if ac_fn_c_try_link "$LINENO"; then :
10109 ac_cv_lib_OpenCL_clGetPlatformInfo=yes
10110 else
10111 ac_cv_lib_OpenCL_clGetPlatformInfo=no
10113 rm -f core conftest.err conftest.$ac_objext \
10114 conftest$ac_exeext conftest.$ac_ext
10115 LIBS=$ac_check_lib_save_LIBS
10117 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_OpenCL_clGetPlatformInfo" >&5
10118 $as_echo "$ac_cv_lib_OpenCL_clGetPlatformInfo" >&6; }
10119 if test "x$ac_cv_lib_OpenCL_clGetPlatformInfo" = xyes; then :
10120 LIBOPENCL="-lOpenCL"
10125 if test "x$ac_cv_lib_OpenCL_clGetPlatformInfo" != xyes; then :
10126 case "x$with_opencl" in
10127 x) as_fn_append wine_notices "|OpenCL ${notice_platform}development files not found, OpenCL won't be supported." ;;
10128 xno) ;;
10129 *) as_fn_error $? "OpenCL ${notice_platform}development files not found, OpenCL won't be supported.
10130 This is an error since --with-opencl was requested." "$LINENO" 5 ;;
10131 esac
10133 test "x$ac_cv_lib_OpenCL_clGetPlatformInfo" != xyes && enable_opencl=${enable_opencl:-no}
10136 if test "x$with_xml" != "xno"
10137 then
10138 if test -n "$XML2_CFLAGS"; then :
10140 elif test -n "$PKG_CONFIG"; then :
10141 XML2_CFLAGS=`$PKG_CONFIG --cflags libxml-2.0 2>/dev/null`
10143 test "$cross_compiling" = yes || XML2_CFLAGS=${XML2_CFLAGS:-`xml2-config --cflags 2>/dev/null`}
10144 if test -n "$XML2_LIBS"; then :
10146 elif test -n "$PKG_CONFIG"; then :
10147 XML2_LIBS=`$PKG_CONFIG --libs libxml-2.0 2>/dev/null`
10149 test "$cross_compiling" = yes || XML2_LIBS=${XML2_LIBS:-`xml2-config --libs 2>/dev/null`}
10150 XML2_LIBS=${XML2_LIBS:-"-lxml2"}
10151 ac_save_CPPFLAGS=$CPPFLAGS
10152 CPPFLAGS="$CPPFLAGS $XML2_CFLAGS"
10153 for ac_header in libxml/parser.h libxml/xmlsave.h libxml/SAX2.h
10154 do :
10155 as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
10156 ac_fn_c_check_header_mongrel "$LINENO" "$ac_header" "$as_ac_Header" "$ac_includes_default"
10157 if eval test \"x\$"$as_ac_Header"\" = x"yes"; then :
10158 cat >>confdefs.h <<_ACEOF
10159 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
10160 _ACEOF
10164 done
10166 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"
10167 then
10168 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for xmlParseMemory in -lxml2" >&5
10169 $as_echo_n "checking for xmlParseMemory in -lxml2... " >&6; }
10170 if ${ac_cv_lib_xml2_xmlParseMemory+:} false; then :
10171 $as_echo_n "(cached) " >&6
10172 else
10173 ac_check_lib_save_LIBS=$LIBS
10174 LIBS="-lxml2 $XML2_LIBS $LIBS"
10175 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10176 /* end confdefs.h. */
10178 /* Override any GCC internal prototype to avoid an error.
10179 Use char because int might match the return type of a GCC
10180 builtin and then its argument prototype would still apply. */
10181 #ifdef __cplusplus
10182 extern "C"
10183 #endif
10184 char xmlParseMemory ();
10186 main ()
10188 return xmlParseMemory ();
10190 return 0;
10192 _ACEOF
10193 if ac_fn_c_try_link "$LINENO"; then :
10194 ac_cv_lib_xml2_xmlParseMemory=yes
10195 else
10196 ac_cv_lib_xml2_xmlParseMemory=no
10198 rm -f core conftest.err conftest.$ac_objext \
10199 conftest$ac_exeext conftest.$ac_ext
10200 LIBS=$ac_check_lib_save_LIBS
10202 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_xml2_xmlParseMemory" >&5
10203 $as_echo "$ac_cv_lib_xml2_xmlParseMemory" >&6; }
10204 if test "x$ac_cv_lib_xml2_xmlParseMemory" = xyes; then :
10206 $as_echo "#define HAVE_LIBXML2 1" >>confdefs.h
10208 else
10209 XML2_LIBS=""
10212 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for xmlReadMemory in -lxml2" >&5
10213 $as_echo_n "checking for xmlReadMemory in -lxml2... " >&6; }
10214 if ${ac_cv_lib_xml2_xmlReadMemory+:} false; then :
10215 $as_echo_n "(cached) " >&6
10216 else
10217 ac_check_lib_save_LIBS=$LIBS
10218 LIBS="-lxml2 $XML2_LIBS $LIBS"
10219 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10220 /* end confdefs.h. */
10222 /* Override any GCC internal prototype to avoid an error.
10223 Use char because int might match the return type of a GCC
10224 builtin and then its argument prototype would still apply. */
10225 #ifdef __cplusplus
10226 extern "C"
10227 #endif
10228 char xmlReadMemory ();
10230 main ()
10232 return xmlReadMemory ();
10234 return 0;
10236 _ACEOF
10237 if ac_fn_c_try_link "$LINENO"; then :
10238 ac_cv_lib_xml2_xmlReadMemory=yes
10239 else
10240 ac_cv_lib_xml2_xmlReadMemory=no
10242 rm -f core conftest.err conftest.$ac_objext \
10243 conftest$ac_exeext conftest.$ac_ext
10244 LIBS=$ac_check_lib_save_LIBS
10246 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_xml2_xmlReadMemory" >&5
10247 $as_echo "$ac_cv_lib_xml2_xmlReadMemory" >&6; }
10248 if test "x$ac_cv_lib_xml2_xmlReadMemory" = xyes; then :
10250 $as_echo "#define HAVE_XMLREADMEMORY 1" >>confdefs.h
10254 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for xmlNewDocPI in -lxml2" >&5
10255 $as_echo_n "checking for xmlNewDocPI in -lxml2... " >&6; }
10256 if ${ac_cv_lib_xml2_xmlNewDocPI+:} false; then :
10257 $as_echo_n "(cached) " >&6
10258 else
10259 ac_check_lib_save_LIBS=$LIBS
10260 LIBS="-lxml2 $XML2_LIBS $LIBS"
10261 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10262 /* end confdefs.h. */
10264 /* Override any GCC internal prototype to avoid an error.
10265 Use char because int might match the return type of a GCC
10266 builtin and then its argument prototype would still apply. */
10267 #ifdef __cplusplus
10268 extern "C"
10269 #endif
10270 char xmlNewDocPI ();
10272 main ()
10274 return xmlNewDocPI ();
10276 return 0;
10278 _ACEOF
10279 if ac_fn_c_try_link "$LINENO"; then :
10280 ac_cv_lib_xml2_xmlNewDocPI=yes
10281 else
10282 ac_cv_lib_xml2_xmlNewDocPI=no
10284 rm -f core conftest.err conftest.$ac_objext \
10285 conftest$ac_exeext conftest.$ac_ext
10286 LIBS=$ac_check_lib_save_LIBS
10288 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_xml2_xmlNewDocPI" >&5
10289 $as_echo "$ac_cv_lib_xml2_xmlNewDocPI" >&6; }
10290 if test "x$ac_cv_lib_xml2_xmlNewDocPI" = xyes; then :
10292 $as_echo "#define HAVE_XMLNEWDOCPI 1" >>confdefs.h
10296 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for xmlSchemaSetParserStructuredErrors in -lxml2" >&5
10297 $as_echo_n "checking for xmlSchemaSetParserStructuredErrors in -lxml2... " >&6; }
10298 if ${ac_cv_lib_xml2_xmlSchemaSetParserStructuredErrors+:} false; then :
10299 $as_echo_n "(cached) " >&6
10300 else
10301 ac_check_lib_save_LIBS=$LIBS
10302 LIBS="-lxml2 $XML2_LIBS $LIBS"
10303 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10304 /* end confdefs.h. */
10306 /* Override any GCC internal prototype to avoid an error.
10307 Use char because int might match the return type of a GCC
10308 builtin and then its argument prototype would still apply. */
10309 #ifdef __cplusplus
10310 extern "C"
10311 #endif
10312 char xmlSchemaSetParserStructuredErrors ();
10314 main ()
10316 return xmlSchemaSetParserStructuredErrors ();
10318 return 0;
10320 _ACEOF
10321 if ac_fn_c_try_link "$LINENO"; then :
10322 ac_cv_lib_xml2_xmlSchemaSetParserStructuredErrors=yes
10323 else
10324 ac_cv_lib_xml2_xmlSchemaSetParserStructuredErrors=no
10326 rm -f core conftest.err conftest.$ac_objext \
10327 conftest$ac_exeext conftest.$ac_ext
10328 LIBS=$ac_check_lib_save_LIBS
10330 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_xml2_xmlSchemaSetParserStructuredErrors" >&5
10331 $as_echo "$ac_cv_lib_xml2_xmlSchemaSetParserStructuredErrors" >&6; }
10332 if test "x$ac_cv_lib_xml2_xmlSchemaSetParserStructuredErrors" = xyes; then :
10334 $as_echo "#define HAVE_XMLSCHEMASSETPARSERSTRUCTUREDERRORS 1" >>confdefs.h
10338 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for xmlSchemaSetValidStructuredErrors in -lxml2" >&5
10339 $as_echo_n "checking for xmlSchemaSetValidStructuredErrors in -lxml2... " >&6; }
10340 if ${ac_cv_lib_xml2_xmlSchemaSetValidStructuredErrors+:} false; then :
10341 $as_echo_n "(cached) " >&6
10342 else
10343 ac_check_lib_save_LIBS=$LIBS
10344 LIBS="-lxml2 $XML2_LIBS $LIBS"
10345 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10346 /* end confdefs.h. */
10348 /* Override any GCC internal prototype to avoid an error.
10349 Use char because int might match the return type of a GCC
10350 builtin and then its argument prototype would still apply. */
10351 #ifdef __cplusplus
10352 extern "C"
10353 #endif
10354 char xmlSchemaSetValidStructuredErrors ();
10356 main ()
10358 return xmlSchemaSetValidStructuredErrors ();
10360 return 0;
10362 _ACEOF
10363 if ac_fn_c_try_link "$LINENO"; then :
10364 ac_cv_lib_xml2_xmlSchemaSetValidStructuredErrors=yes
10365 else
10366 ac_cv_lib_xml2_xmlSchemaSetValidStructuredErrors=no
10368 rm -f core conftest.err conftest.$ac_objext \
10369 conftest$ac_exeext conftest.$ac_ext
10370 LIBS=$ac_check_lib_save_LIBS
10372 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_xml2_xmlSchemaSetValidStructuredErrors" >&5
10373 $as_echo "$ac_cv_lib_xml2_xmlSchemaSetValidStructuredErrors" >&6; }
10374 if test "x$ac_cv_lib_xml2_xmlSchemaSetValidStructuredErrors" = xyes; then :
10376 $as_echo "#define HAVE_XMLSCHEMASSETVALIDSTRUCTUREDERRORS 1" >>confdefs.h
10380 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for xmlFirstElementChild in -lxml2" >&5
10381 $as_echo_n "checking for xmlFirstElementChild in -lxml2... " >&6; }
10382 if ${ac_cv_lib_xml2_xmlFirstElementChild+:} false; then :
10383 $as_echo_n "(cached) " >&6
10384 else
10385 ac_check_lib_save_LIBS=$LIBS
10386 LIBS="-lxml2 $XML2_LIBS $LIBS"
10387 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10388 /* end confdefs.h. */
10390 /* Override any GCC internal prototype to avoid an error.
10391 Use char because int might match the return type of a GCC
10392 builtin and then its argument prototype would still apply. */
10393 #ifdef __cplusplus
10394 extern "C"
10395 #endif
10396 char xmlFirstElementChild ();
10398 main ()
10400 return xmlFirstElementChild ();
10402 return 0;
10404 _ACEOF
10405 if ac_fn_c_try_link "$LINENO"; then :
10406 ac_cv_lib_xml2_xmlFirstElementChild=yes
10407 else
10408 ac_cv_lib_xml2_xmlFirstElementChild=no
10410 rm -f core conftest.err conftest.$ac_objext \
10411 conftest$ac_exeext conftest.$ac_ext
10412 LIBS=$ac_check_lib_save_LIBS
10414 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_xml2_xmlFirstElementChild" >&5
10415 $as_echo "$ac_cv_lib_xml2_xmlFirstElementChild" >&6; }
10416 if test "x$ac_cv_lib_xml2_xmlFirstElementChild" = xyes; then :
10418 $as_echo "#define HAVE_XMLFIRSTELEMENTCHILD 1" >>confdefs.h
10422 ac_fn_c_check_type "$LINENO" "xmlDocProperties" "ac_cv_type_xmlDocProperties" "#include <libxml/tree.h>
10424 if test "x$ac_cv_type_xmlDocProperties" = xyes; then :
10426 $as_echo "#define HAVE_XMLDOC_PROPERTIES 1" >>confdefs.h
10430 else
10431 XML2_CFLAGS=""
10432 XML2_LIBS=""
10434 CPPFLAGS=$ac_save_CPPFLAGS
10435 test -z "$XML2_CFLAGS" || XML2_CFLAGS=`echo " $XML2_CFLAGS" | sed 's/ -I\([^/]\)/ -I\$(top_builddir)\/\1/g'`
10436 test -z "$XML2_LIBS" || XML2_LIBS=`echo " $XML2_LIBS" | sed 's/ -L\([^/]\)/ -L\$(top_builddir)\/\1/g'`
10439 if test "$ac_cv_lib_xml2_xmlParseMemory" != "yes"; then :
10440 case "x$with_xml" in
10441 x) as_fn_append wine_warnings "|libxml2 ${notice_platform}development files not found (or too old), XML won't be supported." ;;
10442 xno) ;;
10443 *) as_fn_error $? "libxml2 ${notice_platform}development files not found (or too old), XML won't be supported.
10444 This is an error since --with-xml was requested." "$LINENO" 5 ;;
10445 esac
10448 if test "x$with_xslt" != "xno"
10449 then
10450 if test -n "$XSLT_CFLAGS"; then :
10452 elif test -n "$PKG_CONFIG"; then :
10453 XSLT_CFLAGS=`$PKG_CONFIG --cflags libxslt 2>/dev/null`
10455 test "$cross_compiling" = yes || XSLT_CFLAGS=${XSLT_CFLAGS:-`xslt-config --cflags 2>/dev/null`}
10456 if test -n "$XSLT_LIBS"; then :
10458 elif test -n "$PKG_CONFIG"; then :
10459 XSLT_LIBS=`$PKG_CONFIG --libs libxslt 2>/dev/null`
10461 test "$cross_compiling" = yes || XSLT_LIBS=${XSLT_LIBS:-`xslt-config --libs 2>/dev/null`}
10462 XSLT_LIBS=${XSLT_LIBS:-"-lxml2"}
10463 ac_save_CPPFLAGS=$CPPFLAGS
10464 CPPFLAGS="$CPPFLAGS $XSLT_CFLAGS"
10465 for ac_header in libxslt/pattern.h libxslt/transform.h
10466 do :
10467 as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
10468 ac_fn_c_check_header_compile "$LINENO" "$ac_header" "$as_ac_Header" "#ifdef HAVE_LIBXSLT_PATTERN_H
10469 # include <libxslt/pattern.h>
10470 #endif
10472 if eval test \"x\$"$as_ac_Header"\" = x"yes"; then :
10473 cat >>confdefs.h <<_ACEOF
10474 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
10475 _ACEOF
10479 done
10481 if test "$ac_cv_header_libxslt_transform_h" = "yes"
10482 then
10483 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lxslt" >&5
10484 $as_echo_n "checking for -lxslt... " >&6; }
10485 if ${ac_cv_lib_soname_xslt+:} false; then :
10486 $as_echo_n "(cached) " >&6
10487 else
10488 ac_check_soname_save_LIBS=$LIBS
10489 LIBS="-lxslt $XSLT_LIBS $LIBS"
10490 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10491 /* end confdefs.h. */
10493 /* Override any GCC internal prototype to avoid an error.
10494 Use char because int might match the return type of a GCC
10495 builtin and then its argument prototype would still apply. */
10496 #ifdef __cplusplus
10497 extern "C"
10498 #endif
10499 char xsltCompilePattern ();
10501 main ()
10503 return xsltCompilePattern ();
10505 return 0;
10507 _ACEOF
10508 if ac_fn_c_try_link "$LINENO"; then :
10509 case "$LIBEXT" in
10510 dll) ac_cv_lib_soname_xslt=`$ac_cv_path_LDD conftest.exe | grep "xslt" | sed -e "s/dll.*/dll/"';2,$d'` ;;
10511 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'` ;;
10512 *) ac_cv_lib_soname_xslt=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libxslt\\.$LIBEXT" | sed -e "s/^.*\\[\\(libxslt\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
10513 if test "x$ac_cv_lib_soname_xslt" = x; then :
10514 ac_cv_lib_soname_xslt=`$LDD conftest$ac_exeext | grep "libxslt\\.$LIBEXT" | sed -e "s/^.*\(libxslt\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
10515 fi ;;
10516 esac
10518 rm -f core conftest.err conftest.$ac_objext \
10519 conftest$ac_exeext conftest.$ac_ext
10520 LIBS=$ac_check_soname_save_LIBS
10522 if test "x$ac_cv_lib_soname_xslt" = "x"; then :
10523 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
10524 $as_echo "not found" >&6; }
10526 else
10527 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_xslt" >&5
10528 $as_echo "$ac_cv_lib_soname_xslt" >&6; }
10530 cat >>confdefs.h <<_ACEOF
10531 #define SONAME_LIBXSLT "$ac_cv_lib_soname_xslt"
10532 _ACEOF
10536 else
10537 XSLT_CFLAGS=""
10539 CPPFLAGS=$ac_save_CPPFLAGS
10540 test -z "$XSLT_CFLAGS" || XSLT_CFLAGS=`echo " $XSLT_CFLAGS" | sed 's/ -I\([^/]\)/ -I\$(top_builddir)\/\1/g'`
10541 test -z "$XSLT_LIBS" || XSLT_LIBS=`echo " $XSLT_LIBS" | sed 's/ -L\([^/]\)/ -L\$(top_builddir)\/\1/g'`
10544 if test "x$ac_cv_lib_soname_xslt" = "x"; then :
10545 case "x$with_xslt" in
10546 x) as_fn_append wine_warnings "|libxslt ${notice_platform}development files not found, xslt won't be supported." ;;
10547 xno) ;;
10548 *) as_fn_error $? "libxslt ${notice_platform}development files not found, xslt won't be supported.
10549 This is an error since --with-xslt was requested." "$LINENO" 5 ;;
10550 esac
10553 if test "x$with_dbus" != "xno"
10554 then
10555 if test -n "$DBUS_CFLAGS"; then :
10557 elif test -n "$PKG_CONFIG"; then :
10558 DBUS_CFLAGS=`$PKG_CONFIG --cflags dbus-1 2>/dev/null`
10561 if test -n "$DBUS_LIBS"; then :
10563 elif test -n "$PKG_CONFIG"; then :
10564 DBUS_LIBS=`$PKG_CONFIG --libs dbus-1 2>/dev/null`
10568 ac_save_CPPFLAGS=$CPPFLAGS
10569 CPPFLAGS="$CPPFLAGS $DBUS_CFLAGS"
10570 ac_fn_c_check_header_mongrel "$LINENO" "dbus/dbus.h" "ac_cv_header_dbus_dbus_h" "$ac_includes_default"
10571 if test "x$ac_cv_header_dbus_dbus_h" = xyes; then :
10572 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -ldbus-1" >&5
10573 $as_echo_n "checking for -ldbus-1... " >&6; }
10574 if ${ac_cv_lib_soname_dbus_1+:} false; then :
10575 $as_echo_n "(cached) " >&6
10576 else
10577 ac_check_soname_save_LIBS=$LIBS
10578 LIBS="-ldbus-1 $DBUS_LIBS $LIBS"
10579 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10580 /* end confdefs.h. */
10582 /* Override any GCC internal prototype to avoid an error.
10583 Use char because int might match the return type of a GCC
10584 builtin and then its argument prototype would still apply. */
10585 #ifdef __cplusplus
10586 extern "C"
10587 #endif
10588 char dbus_connection_close ();
10590 main ()
10592 return dbus_connection_close ();
10594 return 0;
10596 _ACEOF
10597 if ac_fn_c_try_link "$LINENO"; then :
10598 case "$LIBEXT" in
10599 dll) ac_cv_lib_soname_dbus_1=`$ac_cv_path_LDD conftest.exe | grep "dbus-1" | sed -e "s/dll.*/dll/"';2,$d'` ;;
10600 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'` ;;
10601 *) 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'`
10602 if test "x$ac_cv_lib_soname_dbus_1" = x; then :
10603 ac_cv_lib_soname_dbus_1=`$LDD conftest$ac_exeext | grep "libdbus-1\\.$LIBEXT" | sed -e "s/^.*\(libdbus-1\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
10604 fi ;;
10605 esac
10607 rm -f core conftest.err conftest.$ac_objext \
10608 conftest$ac_exeext conftest.$ac_ext
10609 LIBS=$ac_check_soname_save_LIBS
10611 if test "x$ac_cv_lib_soname_dbus_1" = "x"; then :
10612 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
10613 $as_echo "not found" >&6; }
10614 DBUS_CFLAGS=""
10615 else
10616 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_dbus_1" >&5
10617 $as_echo "$ac_cv_lib_soname_dbus_1" >&6; }
10619 cat >>confdefs.h <<_ACEOF
10620 #define SONAME_LIBDBUS_1 "$ac_cv_lib_soname_dbus_1"
10621 _ACEOF
10625 else
10626 DBUS_CFLAGS=""
10630 CPPFLAGS=$ac_save_CPPFLAGS
10631 test -z "$DBUS_CFLAGS" || DBUS_CFLAGS=`echo " $DBUS_CFLAGS" | sed 's/ -I\([^/]\)/ -I\$(top_builddir)\/\1/g'`
10632 test -z "$DBUS_LIBS" || DBUS_LIBS=`echo " $DBUS_LIBS" | sed 's/ -L\([^/]\)/ -L\$(top_builddir)\/\1/g'`
10635 if test "x$ac_cv_lib_soname_dbus_1" = "x" -a \
10636 "x$ac_cv_header_DiskArbitration_DiskArbitration_h" != "xyes"; then :
10637 case "x$with_dbus" in
10638 x) as_fn_append wine_notices "|libdbus ${notice_platform}development files not found, no dynamic device support." ;;
10639 xno) ;;
10640 *) as_fn_error $? "libdbus ${notice_platform}development files not found, no dynamic device support.
10641 This is an error since --with-dbus was requested." "$LINENO" 5 ;;
10642 esac
10645 if test "x$with_hal" != "xno" -a "x$ac_cv_lib_soname_dbus_1" != x
10646 then
10647 if test -n "$HAL_CFLAGS"; then :
10649 elif test -n "$PKG_CONFIG"; then :
10650 HAL_CFLAGS=`$PKG_CONFIG --cflags hal 2>/dev/null`
10653 if test -n "$HAL_LIBS"; then :
10655 elif test -n "$PKG_CONFIG"; then :
10656 HAL_LIBS=`$PKG_CONFIG --libs hal 2>/dev/null`
10659 HAL_LIBS=${HAL_LIBS:-"-ldbus-1"}
10660 ac_save_CPPFLAGS=$CPPFLAGS
10661 CPPFLAGS="$CPPFLAGS $HAL_CFLAGS"
10662 ac_fn_c_check_header_mongrel "$LINENO" "hal/libhal.h" "ac_cv_header_hal_libhal_h" "$ac_includes_default"
10663 if test "x$ac_cv_header_hal_libhal_h" = xyes; then :
10664 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lhal" >&5
10665 $as_echo_n "checking for -lhal... " >&6; }
10666 if ${ac_cv_lib_soname_hal+:} false; then :
10667 $as_echo_n "(cached) " >&6
10668 else
10669 ac_check_soname_save_LIBS=$LIBS
10670 LIBS="-lhal $HAL_LIBS $LIBS"
10671 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10672 /* end confdefs.h. */
10674 /* Override any GCC internal prototype to avoid an error.
10675 Use char because int might match the return type of a GCC
10676 builtin and then its argument prototype would still apply. */
10677 #ifdef __cplusplus
10678 extern "C"
10679 #endif
10680 char libhal_ctx_new ();
10682 main ()
10684 return libhal_ctx_new ();
10686 return 0;
10688 _ACEOF
10689 if ac_fn_c_try_link "$LINENO"; then :
10690 case "$LIBEXT" in
10691 dll) ac_cv_lib_soname_hal=`$ac_cv_path_LDD conftest.exe | grep "hal" | sed -e "s/dll.*/dll/"';2,$d'` ;;
10692 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'` ;;
10693 *) ac_cv_lib_soname_hal=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libhal\\.$LIBEXT" | sed -e "s/^.*\\[\\(libhal\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
10694 if test "x$ac_cv_lib_soname_hal" = x; then :
10695 ac_cv_lib_soname_hal=`$LDD conftest$ac_exeext | grep "libhal\\.$LIBEXT" | sed -e "s/^.*\(libhal\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
10696 fi ;;
10697 esac
10699 rm -f core conftest.err conftest.$ac_objext \
10700 conftest$ac_exeext conftest.$ac_ext
10701 LIBS=$ac_check_soname_save_LIBS
10703 if test "x$ac_cv_lib_soname_hal" = "x"; then :
10704 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
10705 $as_echo "not found" >&6; }
10706 HAL_CFLAGS=""
10707 else
10708 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_hal" >&5
10709 $as_echo "$ac_cv_lib_soname_hal" >&6; }
10711 cat >>confdefs.h <<_ACEOF
10712 #define SONAME_LIBHAL "$ac_cv_lib_soname_hal"
10713 _ACEOF
10717 else
10718 HAL_CFLAGS=""
10722 CPPFLAGS=$ac_save_CPPFLAGS
10723 test -z "$HAL_CFLAGS" || HAL_CFLAGS=`echo " $HAL_CFLAGS" | sed 's/ -I\([^/]\)/ -I\$(top_builddir)\/\1/g'`
10724 test -z "$HAL_LIBS" || HAL_LIBS=`echo " $HAL_LIBS" | sed 's/ -L\([^/]\)/ -L\$(top_builddir)\/\1/g'`
10726 if test "x$ac_cv_lib_soname_hal" = "x" -a \
10727 "x$ac_cv_header_DiskArbitration_DiskArbitration_h" != "xyes"; then :
10728 case "x$with_hal" in
10729 x) as_fn_append wine_notices "|libhal ${notice_platform}development files not found, no legacy dynamic device support." ;;
10730 xno) ;;
10731 *) as_fn_error $? "libhal ${notice_platform}development files not found, no legacy dynamic device support.
10732 This is an error since --with-hal was requested." "$LINENO" 5 ;;
10733 esac
10737 if test "x$with_gnutls" != "xno"
10738 then
10739 if test -n "$GNUTLS_CFLAGS"; then :
10741 elif test -n "$PKG_CONFIG"; then :
10742 GNUTLS_CFLAGS=`$PKG_CONFIG --cflags gnutls 2>/dev/null`
10745 if test -n "$GNUTLS_LIBS"; then :
10747 elif test -n "$PKG_CONFIG"; then :
10748 GNUTLS_LIBS=`$PKG_CONFIG --libs gnutls 2>/dev/null`
10752 ac_save_CPPFLAGS=$CPPFLAGS
10753 CPPFLAGS="$CPPFLAGS $GNUTLS_CFLAGS"
10754 ac_fn_c_check_header_mongrel "$LINENO" "gnutls/gnutls.h" "ac_cv_header_gnutls_gnutls_h" "$ac_includes_default"
10755 if test "x$ac_cv_header_gnutls_gnutls_h" = xyes; then :
10756 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10757 /* end confdefs.h. */
10758 #include <gnutls/gnutls.h>
10759 #include <gnutls/crypto.h>
10761 main ()
10763 static typeof(gnutls_mac_get_key_size) *func; if (func) return 0;
10765 return 0;
10767 _ACEOF
10768 if ac_fn_c_try_compile "$LINENO"; then :
10769 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lgnutls" >&5
10770 $as_echo_n "checking for -lgnutls... " >&6; }
10771 if ${ac_cv_lib_soname_gnutls+:} false; then :
10772 $as_echo_n "(cached) " >&6
10773 else
10774 ac_check_soname_save_LIBS=$LIBS
10775 LIBS="-lgnutls $GNUTLS_LIBS $LIBS"
10776 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10777 /* end confdefs.h. */
10779 /* Override any GCC internal prototype to avoid an error.
10780 Use char because int might match the return type of a GCC
10781 builtin and then its argument prototype would still apply. */
10782 #ifdef __cplusplus
10783 extern "C"
10784 #endif
10785 char gnutls_global_init ();
10787 main ()
10789 return gnutls_global_init ();
10791 return 0;
10793 _ACEOF
10794 if ac_fn_c_try_link "$LINENO"; then :
10795 case "$LIBEXT" in
10796 dll) ac_cv_lib_soname_gnutls=`$ac_cv_path_LDD conftest.exe | grep "gnutls" | sed -e "s/dll.*/dll/"';2,$d'` ;;
10797 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'` ;;
10798 *) ac_cv_lib_soname_gnutls=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libgnutls\\.$LIBEXT" | sed -e "s/^.*\\[\\(libgnutls\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
10799 if test "x$ac_cv_lib_soname_gnutls" = x; then :
10800 ac_cv_lib_soname_gnutls=`$LDD conftest$ac_exeext | grep "libgnutls\\.$LIBEXT" | sed -e "s/^.*\(libgnutls\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
10801 fi ;;
10802 esac
10804 rm -f core conftest.err conftest.$ac_objext \
10805 conftest$ac_exeext conftest.$ac_ext
10806 LIBS=$ac_check_soname_save_LIBS
10808 if test "x$ac_cv_lib_soname_gnutls" = "x"; then :
10809 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
10810 $as_echo "not found" >&6; }
10811 GNUTLS_CFLAGS=""
10812 else
10813 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_gnutls" >&5
10814 $as_echo "$ac_cv_lib_soname_gnutls" >&6; }
10816 cat >>confdefs.h <<_ACEOF
10817 #define SONAME_LIBGNUTLS "$ac_cv_lib_soname_gnutls"
10818 _ACEOF
10823 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
10824 else
10825 GNUTLS_CFLAGS=""
10829 CPPFLAGS=$ac_save_CPPFLAGS
10830 test -z "$GNUTLS_CFLAGS" || GNUTLS_CFLAGS=`echo " $GNUTLS_CFLAGS" | sed 's/ -I\([^/]\)/ -I\$(top_builddir)\/\1/g'`
10831 test -z "$GNUTLS_LIBS" || GNUTLS_LIBS=`echo " $GNUTLS_LIBS" | sed 's/ -L\([^/]\)/ -L\$(top_builddir)\/\1/g'`
10834 if test "x$ac_cv_lib_soname_gnutls" = "x"; then :
10835 case "x$with_gnutls" in
10836 x) as_fn_append wine_notices "|libgnutls ${notice_platform}development files not found, no schannel support." ;;
10837 xno) ;;
10838 *) as_fn_error $? "libgnutls ${notice_platform}development files not found, no schannel support.
10839 This is an error since --with-gnutls was requested." "$LINENO" 5 ;;
10840 esac
10843 CURSESLIBS=""
10844 if test "$ac_cv_header_ncurses_h" = "yes"
10845 then
10846 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lncurses" >&5
10847 $as_echo_n "checking for -lncurses... " >&6; }
10848 if ${ac_cv_lib_soname_ncurses+:} false; then :
10849 $as_echo_n "(cached) " >&6
10850 else
10851 ac_check_soname_save_LIBS=$LIBS
10852 LIBS="-lncurses $LIBS"
10853 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10854 /* end confdefs.h. */
10856 /* Override any GCC internal prototype to avoid an error.
10857 Use char because int might match the return type of a GCC
10858 builtin and then its argument prototype would still apply. */
10859 #ifdef __cplusplus
10860 extern "C"
10861 #endif
10862 char waddch ();
10864 main ()
10866 return waddch ();
10868 return 0;
10870 _ACEOF
10871 if ac_fn_c_try_link "$LINENO"; then :
10872 case "$LIBEXT" in
10873 dll) ac_cv_lib_soname_ncurses=`$ac_cv_path_LDD conftest.exe | grep "ncurses" | sed -e "s/dll.*/dll/"';2,$d'` ;;
10874 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'` ;;
10875 *) ac_cv_lib_soname_ncurses=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libncurses\\.$LIBEXT" | sed -e "s/^.*\\[\\(libncurses\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
10876 if test "x$ac_cv_lib_soname_ncurses" = x; then :
10877 ac_cv_lib_soname_ncurses=`$LDD conftest$ac_exeext | grep "libncurses\\.$LIBEXT" | sed -e "s/^.*\(libncurses\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
10878 fi ;;
10879 esac
10881 rm -f core conftest.err conftest.$ac_objext \
10882 conftest$ac_exeext conftest.$ac_ext
10883 LIBS=$ac_check_soname_save_LIBS
10885 if test "x$ac_cv_lib_soname_ncurses" = "x"; then :
10886 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
10887 $as_echo "not found" >&6; }
10889 else
10890 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_ncurses" >&5
10891 $as_echo "$ac_cv_lib_soname_ncurses" >&6; }
10893 cat >>confdefs.h <<_ACEOF
10894 #define SONAME_LIBNCURSES "$ac_cv_lib_soname_ncurses"
10895 _ACEOF
10897 CURSESLIBS="-lncurses"
10899 elif test "$ac_cv_header_curses_h" = "yes"
10900 then
10901 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lcurses" >&5
10902 $as_echo_n "checking for -lcurses... " >&6; }
10903 if ${ac_cv_lib_soname_curses+:} false; then :
10904 $as_echo_n "(cached) " >&6
10905 else
10906 ac_check_soname_save_LIBS=$LIBS
10907 LIBS="-lcurses $LIBS"
10908 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10909 /* end confdefs.h. */
10911 /* Override any GCC internal prototype to avoid an error.
10912 Use char because int might match the return type of a GCC
10913 builtin and then its argument prototype would still apply. */
10914 #ifdef __cplusplus
10915 extern "C"
10916 #endif
10917 char waddch ();
10919 main ()
10921 return waddch ();
10923 return 0;
10925 _ACEOF
10926 if ac_fn_c_try_link "$LINENO"; then :
10927 case "$LIBEXT" in
10928 dll) ac_cv_lib_soname_curses=`$ac_cv_path_LDD conftest.exe | grep "curses" | sed -e "s/dll.*/dll/"';2,$d'` ;;
10929 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'` ;;
10930 *) ac_cv_lib_soname_curses=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libcurses\\.$LIBEXT" | sed -e "s/^.*\\[\\(libcurses\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
10931 if test "x$ac_cv_lib_soname_curses" = x; then :
10932 ac_cv_lib_soname_curses=`$LDD conftest$ac_exeext | grep "libcurses\\.$LIBEXT" | sed -e "s/^.*\(libcurses\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
10933 fi ;;
10934 esac
10936 rm -f core conftest.err conftest.$ac_objext \
10937 conftest$ac_exeext conftest.$ac_ext
10938 LIBS=$ac_check_soname_save_LIBS
10940 if test "x$ac_cv_lib_soname_curses" = "x"; then :
10941 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
10942 $as_echo "not found" >&6; }
10944 else
10945 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_curses" >&5
10946 $as_echo "$ac_cv_lib_soname_curses" >&6; }
10948 cat >>confdefs.h <<_ACEOF
10949 #define SONAME_LIBCURSES "$ac_cv_lib_soname_curses"
10950 _ACEOF
10952 CURSESLIBS="-lcurses"
10955 ac_save_LIBS="$LIBS"
10956 LIBS="$LIBS $CURSESLIBS"
10957 for ac_func in mousemask
10958 do :
10959 ac_fn_c_check_func "$LINENO" "mousemask" "ac_cv_func_mousemask"
10960 if test "x$ac_cv_func_mousemask" = xyes; then :
10961 cat >>confdefs.h <<_ACEOF
10962 #define HAVE_MOUSEMASK 1
10963 _ACEOF
10966 done
10968 LIBS="$ac_save_LIBS"
10969 if test "x$ac_cv_lib_soname_curses$ac_cv_lib_soname_ncurses" = "x"; then :
10970 case "x$with_curses" in
10971 x) as_fn_append wine_notices "|lib(n)curses ${notice_platform}development files not found, curses won't be supported." ;;
10972 xno) ;;
10973 *) as_fn_error $? "lib(n)curses ${notice_platform}development files not found, curses won't be supported.
10974 This is an error since --with-curses was requested." "$LINENO" 5 ;;
10975 esac
10978 if test "x$with_sane" != "xno"
10979 then
10980 if test -n "$SANE_CFLAGS"; then :
10982 elif test -n "$PKG_CONFIG"; then :
10983 SANE_CFLAGS=`$PKG_CONFIG --cflags libsane 2>/dev/null`
10985 test "$cross_compiling" = yes || SANE_CFLAGS=${SANE_CFLAGS:-`sane-config --cflags 2>/dev/null`}
10986 if test -n "$SANE_LIBS"; then :
10988 elif test -n "$PKG_CONFIG"; then :
10989 SANE_LIBS=`$PKG_CONFIG --libs libsane 2>/dev/null`
10991 test "$cross_compiling" = yes || SANE_LIBS=${SANE_LIBS:-`sane-config --ldflags 2>/dev/null`}
10993 ac_save_CPPFLAGS=$CPPFLAGS
10994 CPPFLAGS="$CPPFLAGS $SANE_CFLAGS"
10995 ac_fn_c_check_header_mongrel "$LINENO" "sane/sane.h" "ac_cv_header_sane_sane_h" "$ac_includes_default"
10996 if test "x$ac_cv_header_sane_sane_h" = xyes; then :
10997 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lsane" >&5
10998 $as_echo_n "checking for -lsane... " >&6; }
10999 if ${ac_cv_lib_soname_sane+:} false; then :
11000 $as_echo_n "(cached) " >&6
11001 else
11002 ac_check_soname_save_LIBS=$LIBS
11003 LIBS="-lsane $SANE_LIBS $LIBS"
11004 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11005 /* end confdefs.h. */
11007 /* Override any GCC internal prototype to avoid an error.
11008 Use char because int might match the return type of a GCC
11009 builtin and then its argument prototype would still apply. */
11010 #ifdef __cplusplus
11011 extern "C"
11012 #endif
11013 char sane_init ();
11015 main ()
11017 return sane_init ();
11019 return 0;
11021 _ACEOF
11022 if ac_fn_c_try_link "$LINENO"; then :
11023 case "$LIBEXT" in
11024 dll) ac_cv_lib_soname_sane=`$ac_cv_path_LDD conftest.exe | grep "sane" | sed -e "s/dll.*/dll/"';2,$d'` ;;
11025 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'` ;;
11026 *) ac_cv_lib_soname_sane=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libsane\\.$LIBEXT" | sed -e "s/^.*\\[\\(libsane\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
11027 if test "x$ac_cv_lib_soname_sane" = x; then :
11028 ac_cv_lib_soname_sane=`$LDD conftest$ac_exeext | grep "libsane\\.$LIBEXT" | sed -e "s/^.*\(libsane\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
11029 fi ;;
11030 esac
11032 rm -f core conftest.err conftest.$ac_objext \
11033 conftest$ac_exeext conftest.$ac_ext
11034 LIBS=$ac_check_soname_save_LIBS
11036 if test "x$ac_cv_lib_soname_sane" = "x"; then :
11037 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
11038 $as_echo "not found" >&6; }
11039 SANE_CFLAGS=""
11040 else
11041 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_sane" >&5
11042 $as_echo "$ac_cv_lib_soname_sane" >&6; }
11044 cat >>confdefs.h <<_ACEOF
11045 #define SONAME_LIBSANE "$ac_cv_lib_soname_sane"
11046 _ACEOF
11050 else
11051 SANE_CFLAGS=""
11055 CPPFLAGS=$ac_save_CPPFLAGS
11056 test -z "$SANE_CFLAGS" || SANE_CFLAGS=`echo " $SANE_CFLAGS" | sed 's/ -I\([^/]\)/ -I\$(top_builddir)\/\1/g'`
11057 test -z "$SANE_LIBS" || SANE_LIBS=`echo " $SANE_LIBS" | sed 's/ -L\([^/]\)/ -L\$(top_builddir)\/\1/g'`
11060 if test "x$ac_cv_lib_soname_sane" = "x"; then :
11061 case "x$with_sane" in
11062 x) as_fn_append wine_notices "|libsane ${notice_platform}development files not found, scanners won't be supported." ;;
11063 xno) ;;
11064 *) as_fn_error $? "libsane ${notice_platform}development files not found, scanners won't be supported.
11065 This is an error since --with-sane was requested." "$LINENO" 5 ;;
11066 esac
11069 if test "x$with_v4l" != "xno"
11070 then
11071 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lv4l1" >&5
11072 $as_echo_n "checking for -lv4l1... " >&6; }
11073 if ${ac_cv_lib_soname_v4l1+:} false; then :
11074 $as_echo_n "(cached) " >&6
11075 else
11076 ac_check_soname_save_LIBS=$LIBS
11077 LIBS="-lv4l1 $LIBS"
11078 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11079 /* end confdefs.h. */
11081 /* Override any GCC internal prototype to avoid an error.
11082 Use char because int might match the return type of a GCC
11083 builtin and then its argument prototype would still apply. */
11084 #ifdef __cplusplus
11085 extern "C"
11086 #endif
11087 char v4l1_open ();
11089 main ()
11091 return v4l1_open ();
11093 return 0;
11095 _ACEOF
11096 if ac_fn_c_try_link "$LINENO"; then :
11097 case "$LIBEXT" in
11098 dll) ac_cv_lib_soname_v4l1=`$ac_cv_path_LDD conftest.exe | grep "v4l1" | sed -e "s/dll.*/dll/"';2,$d'` ;;
11099 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'` ;;
11100 *) ac_cv_lib_soname_v4l1=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libv4l1\\.$LIBEXT" | sed -e "s/^.*\\[\\(libv4l1\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
11101 if test "x$ac_cv_lib_soname_v4l1" = x; then :
11102 ac_cv_lib_soname_v4l1=`$LDD conftest$ac_exeext | grep "libv4l1\\.$LIBEXT" | sed -e "s/^.*\(libv4l1\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
11103 fi ;;
11104 esac
11106 rm -f core conftest.err conftest.$ac_objext \
11107 conftest$ac_exeext conftest.$ac_ext
11108 LIBS=$ac_check_soname_save_LIBS
11110 if test "x$ac_cv_lib_soname_v4l1" = "x"; then :
11111 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
11112 $as_echo "not found" >&6; }
11114 else
11115 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_v4l1" >&5
11116 $as_echo "$ac_cv_lib_soname_v4l1" >&6; }
11118 cat >>confdefs.h <<_ACEOF
11119 #define SONAME_LIBV4L1 "$ac_cv_lib_soname_v4l1"
11120 _ACEOF
11125 if test "x$ac_cv_lib_soname_v4l1" = "x"; then :
11126 case "x$with_v4l" in
11127 x) as_fn_append wine_notices "|libv4l ${notice_platform}development files not found." ;;
11128 xno) ;;
11129 *) as_fn_error $? "libv4l ${notice_platform}development files not found.
11130 This is an error since --with-v4l was requested." "$LINENO" 5 ;;
11131 esac
11134 if test "x$with_gphoto" != "xno"
11135 then
11136 if test -n "$GPHOTO2_CFLAGS"; then :
11138 elif test -n "$PKG_CONFIG"; then :
11139 GPHOTO2_CFLAGS=`$PKG_CONFIG --cflags libgphoto2 2>/dev/null`
11141 test "$cross_compiling" = yes || GPHOTO2_CFLAGS=${GPHOTO2_CFLAGS:-`gphoto2-config --cflags 2>/dev/null`}
11142 if test -n "$GPHOTO2_LIBS"; then :
11144 elif test -n "$PKG_CONFIG"; then :
11145 GPHOTO2_LIBS=`$PKG_CONFIG --libs libgphoto2 2>/dev/null`
11147 test "$cross_compiling" = yes || GPHOTO2_LIBS=${GPHOTO2_LIBS:-`gphoto2-config --libs 2>/dev/null`}
11148 GPHOTO2_LIBS=${GPHOTO2_LIBS:-"-lgphoto2"}
11149 ac_save_CPPFLAGS=$CPPFLAGS
11150 CPPFLAGS="$CPPFLAGS $GPHOTO2_CFLAGS"
11151 ac_fn_c_check_header_mongrel "$LINENO" "gphoto2-camera.h" "ac_cv_header_gphoto2_camera_h" "$ac_includes_default"
11152 if test "x$ac_cv_header_gphoto2_camera_h" = xyes; then :
11153 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for gp_camera_new in -lgphoto2" >&5
11154 $as_echo_n "checking for gp_camera_new in -lgphoto2... " >&6; }
11155 if ${ac_cv_lib_gphoto2_gp_camera_new+:} false; then :
11156 $as_echo_n "(cached) " >&6
11157 else
11158 ac_check_lib_save_LIBS=$LIBS
11159 LIBS="-lgphoto2 $GPHOTO2_LIBS $LIBS"
11160 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11161 /* end confdefs.h. */
11163 /* Override any GCC internal prototype to avoid an error.
11164 Use char because int might match the return type of a GCC
11165 builtin and then its argument prototype would still apply. */
11166 #ifdef __cplusplus
11167 extern "C"
11168 #endif
11169 char gp_camera_new ();
11171 main ()
11173 return gp_camera_new ();
11175 return 0;
11177 _ACEOF
11178 if ac_fn_c_try_link "$LINENO"; then :
11179 ac_cv_lib_gphoto2_gp_camera_new=yes
11180 else
11181 ac_cv_lib_gphoto2_gp_camera_new=no
11183 rm -f core conftest.err conftest.$ac_objext \
11184 conftest$ac_exeext conftest.$ac_ext
11185 LIBS=$ac_check_lib_save_LIBS
11187 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_gphoto2_gp_camera_new" >&5
11188 $as_echo "$ac_cv_lib_gphoto2_gp_camera_new" >&6; }
11189 if test "x$ac_cv_lib_gphoto2_gp_camera_new" = xyes; then :
11191 $as_echo "#define HAVE_GPHOTO2 1" >>confdefs.h
11193 else
11194 GPHOTO2_LIBS=""; GPHOTO2_CFLAGS=""
11197 else
11198 GPHOTO2_LIBS=""; GPHOTO2_CFLAGS=""
11202 CPPFLAGS=$ac_save_CPPFLAGS
11203 test -z "$GPHOTO2_CFLAGS" || GPHOTO2_CFLAGS=`echo " $GPHOTO2_CFLAGS" | sed 's/ -I\([^/]\)/ -I\$(top_builddir)\/\1/g'`
11204 test -z "$GPHOTO2_LIBS" || GPHOTO2_LIBS=`echo " $GPHOTO2_LIBS" | sed 's/ -L\([^/]\)/ -L\$(top_builddir)\/\1/g'`
11206 if test -n "$GPHOTO2_PORT_CFLAGS"; then :
11208 elif test -n "$PKG_CONFIG"; then :
11209 GPHOTO2_PORT_CFLAGS=`$PKG_CONFIG --cflags libgphoto2_port 2>/dev/null`
11211 test "$cross_compiling" = yes || GPHOTO2_PORT_CFLAGS=${GPHOTO2_PORT_CFLAGS:-`gphoto2-port-config --cflags 2>/dev/null`}
11212 if test -n "$GPHOTO2_PORT_LIBS"; then :
11214 elif test -n "$PKG_CONFIG"; then :
11215 GPHOTO2_PORT_LIBS=`$PKG_CONFIG --libs libgphoto2_port 2>/dev/null`
11217 test "$cross_compiling" = yes || GPHOTO2_PORT_LIBS=${GPHOTO2_PORT_LIBS:-`gphoto2-port-config --libs 2>/dev/null`}
11218 GPHOTO2_PORT_LIBS=${GPHOTO2_PORT_LIBS:-"-lgphoto2_port"}
11219 ac_save_CPPFLAGS=$CPPFLAGS
11220 CPPFLAGS="$CPPFLAGS $GPHOTO2_PORT_CFLAGS"
11221 ac_fn_c_check_header_mongrel "$LINENO" "gphoto2-port.h" "ac_cv_header_gphoto2_port_h" "$ac_includes_default"
11222 if test "x$ac_cv_header_gphoto2_port_h" = xyes; then :
11223 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for gp_port_info_list_new in -lgphoto2_port" >&5
11224 $as_echo_n "checking for gp_port_info_list_new in -lgphoto2_port... " >&6; }
11225 if ${ac_cv_lib_gphoto2_port_gp_port_info_list_new+:} false; then :
11226 $as_echo_n "(cached) " >&6
11227 else
11228 ac_check_lib_save_LIBS=$LIBS
11229 LIBS="-lgphoto2_port $GPHOTO2_PORT_LIBS $LIBS"
11230 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11231 /* end confdefs.h. */
11233 /* Override any GCC internal prototype to avoid an error.
11234 Use char because int might match the return type of a GCC
11235 builtin and then its argument prototype would still apply. */
11236 #ifdef __cplusplus
11237 extern "C"
11238 #endif
11239 char gp_port_info_list_new ();
11241 main ()
11243 return gp_port_info_list_new ();
11245 return 0;
11247 _ACEOF
11248 if ac_fn_c_try_link "$LINENO"; then :
11249 ac_cv_lib_gphoto2_port_gp_port_info_list_new=yes
11250 else
11251 ac_cv_lib_gphoto2_port_gp_port_info_list_new=no
11253 rm -f core conftest.err conftest.$ac_objext \
11254 conftest$ac_exeext conftest.$ac_ext
11255 LIBS=$ac_check_lib_save_LIBS
11257 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_gphoto2_port_gp_port_info_list_new" >&5
11258 $as_echo "$ac_cv_lib_gphoto2_port_gp_port_info_list_new" >&6; }
11259 if test "x$ac_cv_lib_gphoto2_port_gp_port_info_list_new" = xyes; then :
11261 $as_echo "#define HAVE_GPHOTO2_PORT 1" >>confdefs.h
11263 else
11264 GPHOTO2_PORT_LIBS=""; GPHOTO2_PORT_CFLAGS=""
11267 else
11268 GPHOTO2_PORT_LIBS=""; GPHOTO2_PORT_CFLAGS=""
11272 CPPFLAGS=$ac_save_CPPFLAGS
11273 test -z "$GPHOTO2_PORT_CFLAGS" || GPHOTO2_PORT_CFLAGS=`echo " $GPHOTO2_PORT_CFLAGS" | sed 's/ -I\([^/]\)/ -I\$(top_builddir)\/\1/g'`
11274 test -z "$GPHOTO2_PORT_LIBS" || GPHOTO2_PORT_LIBS=`echo " $GPHOTO2_PORT_LIBS" | sed 's/ -L\([^/]\)/ -L\$(top_builddir)\/\1/g'`
11277 if test "$ac_cv_lib_gphoto2_gp_camera_new" != "yes"; then :
11278 case "x$with_gphoto" in
11279 x) as_fn_append wine_notices "|libgphoto2 ${notice_platform}development files not found, digital cameras won't be supported." ;;
11280 xno) ;;
11281 *) as_fn_error $? "libgphoto2 ${notice_platform}development files not found, digital cameras won't be supported.
11282 This is an error since --with-gphoto was requested." "$LINENO" 5 ;;
11283 esac
11285 if test "$ac_cv_lib_gphoto2_port_gp_port_info_list_new" != "yes"; then :
11286 case "x$with_gphoto" in
11287 x) as_fn_append wine_notices "|libgphoto2_port ${notice_platform}development files not found, digital cameras won't be auto-detected." ;;
11288 xno) ;;
11289 *) as_fn_error $? "libgphoto2_port ${notice_platform}development files not found, digital cameras won't be auto-detected.
11290 This is an error since --with-gphoto was requested." "$LINENO" 5 ;;
11291 esac
11295 if test "$ac_cv_header_resolv_h" = "yes"
11296 then
11297 ac_save_LIBS="$LIBS"
11298 for lib in '' -lresolv
11300 LIBS="$lib $ac_save_LIBS"
11301 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11302 /* end confdefs.h. */
11303 #ifdef HAVE_NETINET_IN_H
11304 #include <netinet/in.h>
11305 #endif
11306 #include <resolv.h>
11308 main ()
11310 res_query("foo",ns_c_in,0,0,0);
11312 return 0;
11314 _ACEOF
11315 if ac_fn_c_try_link "$LINENO"; then :
11317 $as_echo "#define HAVE_RESOLV 1" >>confdefs.h
11319 RESOLVLIBS="$lib"
11322 rm -f core conftest.err conftest.$ac_objext \
11323 conftest$ac_exeext conftest.$ac_ext
11324 if test "${RESOLVLIBS+set}" = set; then
11325 break
11327 done
11328 LIBS="$ac_save_LIBS"
11331 if test "x$with_lcms2" != "xno"
11332 then
11333 if test -n "$LCMS2_CFLAGS"; then :
11335 elif test -n "$PKG_CONFIG"; then :
11336 LCMS2_CFLAGS=`$PKG_CONFIG --cflags lcms2 2>/dev/null`
11339 if test -n "$LCMS2_LIBS"; then :
11341 elif test -n "$PKG_CONFIG"; then :
11342 LCMS2_LIBS=`$PKG_CONFIG --libs lcms2 2>/dev/null`
11345 LCMS2_LIBS=${LCMS2_LIBS:-"-llcms2"}
11346 ac_save_CPPFLAGS=$CPPFLAGS
11347 CPPFLAGS="$CPPFLAGS $LCMS2_CFLAGS"
11348 for ac_header in lcms2.h
11349 do :
11350 ac_fn_c_check_header_mongrel "$LINENO" "lcms2.h" "ac_cv_header_lcms2_h" "$ac_includes_default"
11351 if test "x$ac_cv_header_lcms2_h" = xyes; then :
11352 cat >>confdefs.h <<_ACEOF
11353 #define HAVE_LCMS2_H 1
11354 _ACEOF
11358 done
11360 if test "$ac_cv_header_lcms2_h" = "yes"
11361 then
11362 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for cmsOpenProfileFromFile in -llcms2" >&5
11363 $as_echo_n "checking for cmsOpenProfileFromFile in -llcms2... " >&6; }
11364 if ${ac_cv_lib_lcms2_cmsOpenProfileFromFile+:} false; then :
11365 $as_echo_n "(cached) " >&6
11366 else
11367 ac_check_lib_save_LIBS=$LIBS
11368 LIBS="-llcms2 $LIBS"
11369 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11370 /* end confdefs.h. */
11372 /* Override any GCC internal prototype to avoid an error.
11373 Use char because int might match the return type of a GCC
11374 builtin and then its argument prototype would still apply. */
11375 #ifdef __cplusplus
11376 extern "C"
11377 #endif
11378 char cmsOpenProfileFromFile ();
11380 main ()
11382 return cmsOpenProfileFromFile ();
11384 return 0;
11386 _ACEOF
11387 if ac_fn_c_try_link "$LINENO"; then :
11388 ac_cv_lib_lcms2_cmsOpenProfileFromFile=yes
11389 else
11390 ac_cv_lib_lcms2_cmsOpenProfileFromFile=no
11392 rm -f core conftest.err conftest.$ac_objext \
11393 conftest$ac_exeext conftest.$ac_ext
11394 LIBS=$ac_check_lib_save_LIBS
11396 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_lcms2_cmsOpenProfileFromFile" >&5
11397 $as_echo "$ac_cv_lib_lcms2_cmsOpenProfileFromFile" >&6; }
11398 if test "x$ac_cv_lib_lcms2_cmsOpenProfileFromFile" = xyes; then :
11400 $as_echo "#define HAVE_LCMS2 1" >>confdefs.h
11402 else
11403 LCMS2_LIBS=""
11406 else
11407 LCMS2_CFLAGS=""
11408 LCMS2_LIBS=""
11410 CPPFLAGS=$ac_save_CPPFLAGS
11411 test -z "$LCMS2_CFLAGS" || LCMS2_CFLAGS=`echo " $LCMS2_CFLAGS" | sed 's/ -I\([^/]\)/ -I\$(top_builddir)\/\1/g'`
11412 test -z "$LCMS2_LIBS" || LCMS2_LIBS=`echo " $LCMS2_LIBS" | sed 's/ -L\([^/]\)/ -L\$(top_builddir)\/\1/g'`
11415 if test "$ac_cv_lib_lcms2_cmsOpenProfileFromFile" != "yes"; then :
11416 case "x$with_cms" in
11417 x) as_fn_append wine_notices "|liblcms2 ${notice_platform}development files not found, Color Management won't be supported." ;;
11418 xno) ;;
11419 *) as_fn_error $? "liblcms2 ${notice_platform}development files not found, Color Management won't be supported.
11420 This is an error since --with-cms was requested." "$LINENO" 5 ;;
11421 esac
11424 if test "x$with_freetype" != "xno"
11425 then
11426 if test -n "$FREETYPE_CFLAGS"; then :
11428 elif test -n "$PKG_CONFIG"; then :
11429 FREETYPE_CFLAGS=`$PKG_CONFIG --cflags freetype2 2>/dev/null`
11431 test "$cross_compiling" = yes || FREETYPE_CFLAGS=${FREETYPE_CFLAGS:-`(freetype-config --cflags || freetype2-config --cflags) 2>/dev/null`}
11432 if test -n "$FREETYPE_LIBS"; then :
11434 elif test -n "$PKG_CONFIG"; then :
11435 FREETYPE_LIBS=`$PKG_CONFIG --libs freetype2 2>/dev/null`
11437 test "$cross_compiling" = yes || FREETYPE_LIBS=${FREETYPE_LIBS:-`(freetype-config --libs || freetype2-config --libs) 2>/dev/null`}
11438 FREETYPE_LIBS=${FREETYPE_LIBS:-"-lfreetype"}
11439 ac_save_CPPFLAGS=$CPPFLAGS
11440 CPPFLAGS="$CPPFLAGS $FREETYPE_CFLAGS"
11441 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lfreetype" >&5
11442 $as_echo_n "checking for -lfreetype... " >&6; }
11443 if ${ac_cv_lib_soname_freetype+:} false; then :
11444 $as_echo_n "(cached) " >&6
11445 else
11446 ac_check_soname_save_LIBS=$LIBS
11447 LIBS="-lfreetype $FREETYPE_LIBS $LIBS"
11448 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11449 /* end confdefs.h. */
11451 /* Override any GCC internal prototype to avoid an error.
11452 Use char because int might match the return type of a GCC
11453 builtin and then its argument prototype would still apply. */
11454 #ifdef __cplusplus
11455 extern "C"
11456 #endif
11457 char FT_Init_FreeType ();
11459 main ()
11461 return FT_Init_FreeType ();
11463 return 0;
11465 _ACEOF
11466 if ac_fn_c_try_link "$LINENO"; then :
11467 case "$LIBEXT" in
11468 dll) ac_cv_lib_soname_freetype=`$ac_cv_path_LDD conftest.exe | grep "freetype" | sed -e "s/dll.*/dll/"';2,$d'` ;;
11469 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'` ;;
11470 *) ac_cv_lib_soname_freetype=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libfreetype\\.$LIBEXT" | sed -e "s/^.*\\[\\(libfreetype\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
11471 if test "x$ac_cv_lib_soname_freetype" = x; then :
11472 ac_cv_lib_soname_freetype=`$LDD conftest$ac_exeext | grep "libfreetype\\.$LIBEXT" | sed -e "s/^.*\(libfreetype\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
11473 fi ;;
11474 esac
11476 rm -f core conftest.err conftest.$ac_objext \
11477 conftest$ac_exeext conftest.$ac_ext
11478 LIBS=$ac_check_soname_save_LIBS
11480 if test "x$ac_cv_lib_soname_freetype" = "x"; then :
11481 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
11482 $as_echo "not found" >&6; }
11483 ft_lib=no
11484 else
11485 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_freetype" >&5
11486 $as_echo "$ac_cv_lib_soname_freetype" >&6; }
11488 cat >>confdefs.h <<_ACEOF
11489 #define SONAME_LIBFREETYPE "$ac_cv_lib_soname_freetype"
11490 _ACEOF
11492 ft_lib=yes
11494 if test "$ft_lib" = "yes"
11495 then
11496 for ac_header in ft2build.h \
11497 freetype/freetype.h \
11498 freetype/ftglyph.h \
11499 freetype/fttypes.h \
11500 freetype/tttables.h \
11501 freetype/ftsnames.h \
11502 freetype/ttnameid.h \
11503 freetype/ftoutln.h \
11504 freetype/ftwinfnt.h \
11505 freetype/ftmodapi.h \
11506 freetype/ftlcdfil.h
11507 do :
11508 as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
11509 ac_fn_c_check_header_compile "$LINENO" "$ac_header" "$as_ac_Header" "#ifdef HAVE_FT2BUILD_H
11510 # include <ft2build.h>
11511 #endif
11513 if eval test \"x\$"$as_ac_Header"\" = x"yes"; then :
11514 cat >>confdefs.h <<_ACEOF
11515 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
11516 _ACEOF
11520 done
11522 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11523 /* end confdefs.h. */
11524 #include <ft2build.h>
11525 #include <freetype/fttrigon.h>
11526 _ACEOF
11527 if ac_fn_c_try_cpp "$LINENO"; then :
11529 $as_echo "#define HAVE_FREETYPE_FTTRIGON_H 1" >>confdefs.h
11531 wine_cv_fttrigon=yes
11532 else
11533 wine_cv_fttrigon=no
11535 rm -f conftest.err conftest.i conftest.$ac_ext
11536 ac_fn_c_check_type "$LINENO" "FT_TrueTypeEngineType" "ac_cv_type_FT_TrueTypeEngineType" "#include <freetype/ftmodapi.h>
11538 if test "x$ac_cv_type_FT_TrueTypeEngineType" = xyes; then :
11540 cat >>confdefs.h <<_ACEOF
11541 #define HAVE_FT_TRUETYPEENGINETYPE 1
11542 _ACEOF
11547 if test "$ac_cv_header_freetype_freetype_h" = "yes" -a "$wine_cv_fttrigon" = "yes"
11548 then
11550 $as_echo "#define HAVE_FREETYPE 1" >>confdefs.h
11552 else
11553 FREETYPE_LIBS=""
11555 else
11556 FREETYPE_LIBS=""
11558 CPPFLAGS=$ac_save_CPPFLAGS
11559 test -z "$FREETYPE_CFLAGS" || FREETYPE_CFLAGS=`echo " $FREETYPE_CFLAGS" | sed 's/ -I\([^/]\)/ -I\$(top_builddir)\/\1/g'`
11560 test -z "$FREETYPE_LIBS" || FREETYPE_LIBS=`echo " $FREETYPE_LIBS" | sed 's/ -L\([^/]\)/ -L\$(top_builddir)\/\1/g'`
11563 if test "x$ac_cv_header_freetype_freetype_h" != xyes -o "x$wine_cv_fttrigon" != xyes; then :
11564 case "x$with_freetype" in
11565 xno) ;;
11566 *) as_fn_error $? "FreeType ${notice_platform}development files not found. Fonts will not be built.
11567 Use the --without-freetype option if you really want this." "$LINENO" 5 ;;
11568 esac
11570 test "x$ac_cv_header_freetype_freetype_h" = xyes -a "x$wine_cv_fttrigon" = xyes || enable_fonts=${enable_fonts:-no}
11572 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for parport header/ppdev.h" >&5
11573 $as_echo_n "checking for parport header/ppdev.h... " >&6; }
11574 if ${ac_cv_c_ppdev+:} false; then :
11575 $as_echo_n "(cached) " >&6
11576 else
11577 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11578 /* end confdefs.h. */
11579 #ifdef HAVE_SYS_IOCTL_H
11580 # include <sys/ioctl.h>
11581 #endif
11582 #include <linux/ppdev.h>
11584 main ()
11586 ioctl (1,PPCLAIM,0)
11588 return 0;
11590 _ACEOF
11591 if ac_fn_c_try_compile "$LINENO"; then :
11592 ac_cv_c_ppdev="yes"
11593 else
11594 ac_cv_c_ppdev="no"
11596 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
11598 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_ppdev" >&5
11599 $as_echo "$ac_cv_c_ppdev" >&6; }
11600 if test "$ac_cv_c_ppdev" = "yes"
11601 then
11603 $as_echo "#define HAVE_PPDEV 1" >>confdefs.h
11607 ac_wine_check_funcs_save_LIBS="$LIBS"
11608 LIBS="$LIBS $LIBPTHREAD"
11609 for ac_func in \
11610 pthread_attr_get_np \
11611 pthread_getattr_np \
11612 pthread_getthreadid_np \
11613 pthread_get_stackaddr_np \
11614 pthread_get_stacksize_np
11615 do :
11616 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
11617 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
11618 if eval test \"x\$"$as_ac_var"\" = x"yes"; then :
11619 cat >>confdefs.h <<_ACEOF
11620 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
11621 _ACEOF
11624 done
11626 LIBS="$ac_wine_check_funcs_save_LIBS"
11628 if test "$ac_cv_header_zlib_h" = "yes"
11629 then
11630 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for inflate in -lz" >&5
11631 $as_echo_n "checking for inflate in -lz... " >&6; }
11632 if ${ac_cv_lib_z_inflate+:} false; then :
11633 $as_echo_n "(cached) " >&6
11634 else
11635 ac_check_lib_save_LIBS=$LIBS
11636 LIBS="-lz $LIBS"
11637 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11638 /* end confdefs.h. */
11640 /* Override any GCC internal prototype to avoid an error.
11641 Use char because int might match the return type of a GCC
11642 builtin and then its argument prototype would still apply. */
11643 #ifdef __cplusplus
11644 extern "C"
11645 #endif
11646 char inflate ();
11648 main ()
11650 return inflate ();
11652 return 0;
11654 _ACEOF
11655 if ac_fn_c_try_link "$LINENO"; then :
11656 ac_cv_lib_z_inflate=yes
11657 else
11658 ac_cv_lib_z_inflate=no
11660 rm -f core conftest.err conftest.$ac_objext \
11661 conftest$ac_exeext conftest.$ac_ext
11662 LIBS=$ac_check_lib_save_LIBS
11664 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_z_inflate" >&5
11665 $as_echo "$ac_cv_lib_z_inflate" >&6; }
11666 if test "x$ac_cv_lib_z_inflate" = xyes; then :
11668 $as_echo "#define HAVE_ZLIB 1" >>confdefs.h
11670 ZLIB="-lz"
11675 if test "x$ZLIB" = "x"; then :
11676 case "x$with_zlib" in
11677 x) as_fn_append wine_notices "|libz ${notice_platform}development files not found, data compression won't be supported." ;;
11678 xno) ;;
11679 *) as_fn_error $? "libz ${notice_platform}development files not found, data compression won't be supported.
11680 This is an error since --with-zlib was requested." "$LINENO" 5 ;;
11681 esac
11684 if test "x$enable_tools" != xno
11685 then
11686 if test "$ac_cv_header_gettext_po_h" = "yes"
11687 then
11688 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for po_message_msgctxt in -lgettextpo" >&5
11689 $as_echo_n "checking for po_message_msgctxt in -lgettextpo... " >&6; }
11690 if ${ac_cv_lib_gettextpo_po_message_msgctxt+:} false; then :
11691 $as_echo_n "(cached) " >&6
11692 else
11693 ac_check_lib_save_LIBS=$LIBS
11694 LIBS="-lgettextpo $LIBS"
11695 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11696 /* end confdefs.h. */
11698 /* Override any GCC internal prototype to avoid an error.
11699 Use char because int might match the return type of a GCC
11700 builtin and then its argument prototype would still apply. */
11701 #ifdef __cplusplus
11702 extern "C"
11703 #endif
11704 char po_message_msgctxt ();
11706 main ()
11708 return po_message_msgctxt ();
11710 return 0;
11712 _ACEOF
11713 if ac_fn_c_try_link "$LINENO"; then :
11714 ac_cv_lib_gettextpo_po_message_msgctxt=yes
11715 else
11716 ac_cv_lib_gettextpo_po_message_msgctxt=no
11718 rm -f core conftest.err conftest.$ac_objext \
11719 conftest$ac_exeext conftest.$ac_ext
11720 LIBS=$ac_check_lib_save_LIBS
11722 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_gettextpo_po_message_msgctxt" >&5
11723 $as_echo "$ac_cv_lib_gettextpo_po_message_msgctxt" >&6; }
11724 if test "x$ac_cv_lib_gettextpo_po_message_msgctxt" = xyes; then :
11726 $as_echo "#define HAVE_LIBGETTEXTPO 1" >>confdefs.h
11728 LIBGETTEXTPO="-lgettextpo"
11733 test "x$with_gettextpo" != xyes || if test "x$LIBGETTEXTPO" = "x"; then :
11734 case "x$with_gettextpo" in
11735 x) as_fn_append wine_notices "|GetText ${notice_platform}development files not found (or too old), po files can't be rebuilt." ;;
11736 xno) ;;
11737 *) as_fn_error $? "GetText ${notice_platform}development files not found (or too old), po files can't be rebuilt.
11738 This is an error since --with-gettextpo was requested." "$LINENO" 5 ;;
11739 esac
11743 if test "x$with_gstreamer" != "xno"
11744 then
11745 if test -n "$GSTREAMER_CFLAGS"; then :
11747 elif test -n "$PKG_CONFIG"; then :
11748 GSTREAMER_CFLAGS=`$PKG_CONFIG --cflags gstreamer-app-0.10 2>/dev/null`
11751 if test -n "$GSTREAMER_LIBS"; then :
11753 elif test -n "$PKG_CONFIG"; then :
11754 GSTREAMER_LIBS=`$PKG_CONFIG --libs gstreamer-app-0.10 2>/dev/null`
11758 ac_save_CPPFLAGS=$CPPFLAGS
11759 CPPFLAGS="$CPPFLAGS $GSTREAMER_CFLAGS"
11760 ac_gst_incl=""
11761 for i in $GSTREAMER_CFLAGS
11763 case "$i" in
11764 -I*) ac_gst_incl="$ac_gst_incl $i";;
11765 esac
11766 done
11767 GSTREAMER_CFLAGS=$ac_gst_incl
11768 CPPFLAGS="$ac_save_CPPFLAGS $GSTREAMER_CFLAGS"
11769 ac_fn_c_check_header_mongrel "$LINENO" "gst/gstpad.h" "ac_cv_header_gst_gstpad_h" "$ac_includes_default"
11770 if test "x$ac_cv_header_gst_gstpad_h" = xyes; then :
11771 ac_fn_c_check_header_mongrel "$LINENO" "gst/app/gstappsink.h" "ac_cv_header_gst_app_gstappsink_h" "$ac_includes_default"
11772 if test "x$ac_cv_header_gst_app_gstappsink_h" = xyes; then :
11773 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether gint64 defined by gst/app/gstappsink.h is indeed 64-bit" >&5
11774 $as_echo_n "checking whether gint64 defined by gst/app/gstappsink.h is indeed 64-bit... " >&6; }
11775 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11776 /* end confdefs.h. */
11777 #include <gst/app/gstappsink.h>
11779 main ()
11781 static int a[sizeof(gint64) > 4 ? 1 : -1]; if (a[0]) return 0;
11783 return 0;
11785 _ACEOF
11786 if ac_fn_c_try_compile "$LINENO"; then :
11787 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
11788 $as_echo "yes" >&6; }
11789 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for gst_pad_get_caps_reffed in -lgstreamer-0.10" >&5
11790 $as_echo_n "checking for gst_pad_get_caps_reffed in -lgstreamer-0.10... " >&6; }
11791 if ${ac_cv_lib_gstreamer_0_10_gst_pad_get_caps_reffed+:} false; then :
11792 $as_echo_n "(cached) " >&6
11793 else
11794 ac_check_lib_save_LIBS=$LIBS
11795 LIBS="-lgstreamer-0.10 $LIBS"
11796 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11797 /* end confdefs.h. */
11799 /* Override any GCC internal prototype to avoid an error.
11800 Use char because int might match the return type of a GCC
11801 builtin and then its argument prototype would still apply. */
11802 #ifdef __cplusplus
11803 extern "C"
11804 #endif
11805 char gst_pad_get_caps_reffed ();
11807 main ()
11809 return gst_pad_get_caps_reffed ();
11811 return 0;
11813 _ACEOF
11814 if ac_fn_c_try_link "$LINENO"; then :
11815 ac_cv_lib_gstreamer_0_10_gst_pad_get_caps_reffed=yes
11816 else
11817 ac_cv_lib_gstreamer_0_10_gst_pad_get_caps_reffed=no
11819 rm -f core conftest.err conftest.$ac_objext \
11820 conftest$ac_exeext conftest.$ac_ext
11821 LIBS=$ac_check_lib_save_LIBS
11823 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_gstreamer_0_10_gst_pad_get_caps_reffed" >&5
11824 $as_echo "$ac_cv_lib_gstreamer_0_10_gst_pad_get_caps_reffed" >&6; }
11825 if test "x$ac_cv_lib_gstreamer_0_10_gst_pad_get_caps_reffed" = xyes; then :
11826 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for gst_app_buffer_new in -lgstapp-0.10" >&5
11827 $as_echo_n "checking for gst_app_buffer_new in -lgstapp-0.10... " >&6; }
11828 if ${ac_cv_lib_gstapp_0_10_gst_app_buffer_new+:} false; then :
11829 $as_echo_n "(cached) " >&6
11830 else
11831 ac_check_lib_save_LIBS=$LIBS
11832 LIBS="-lgstapp-0.10 $GSTREAMER_LIBS $LIBS"
11833 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11834 /* end confdefs.h. */
11836 /* Override any GCC internal prototype to avoid an error.
11837 Use char because int might match the return type of a GCC
11838 builtin and then its argument prototype would still apply. */
11839 #ifdef __cplusplus
11840 extern "C"
11841 #endif
11842 char gst_app_buffer_new ();
11844 main ()
11846 return gst_app_buffer_new ();
11848 return 0;
11850 _ACEOF
11851 if ac_fn_c_try_link "$LINENO"; then :
11852 ac_cv_lib_gstapp_0_10_gst_app_buffer_new=yes
11853 else
11854 ac_cv_lib_gstapp_0_10_gst_app_buffer_new=no
11856 rm -f core conftest.err conftest.$ac_objext \
11857 conftest$ac_exeext conftest.$ac_ext
11858 LIBS=$ac_check_lib_save_LIBS
11860 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_gstapp_0_10_gst_app_buffer_new" >&5
11861 $as_echo "$ac_cv_lib_gstapp_0_10_gst_app_buffer_new" >&6; }
11862 if test "x$ac_cv_lib_gstapp_0_10_gst_app_buffer_new" = xyes; then :
11868 else
11869 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
11870 $as_echo "no" >&6; }
11872 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
11876 else
11877 GSTREAMER_CFLAGS=""
11881 CPPFLAGS=$ac_save_CPPFLAGS
11882 test -z "$GSTREAMER_CFLAGS" || GSTREAMER_CFLAGS=`echo " $GSTREAMER_CFLAGS" | sed 's/ -I\([^/]\)/ -I\$(top_builddir)\/\1/g'`
11883 test -z "$GSTREAMER_LIBS" || GSTREAMER_LIBS=`echo " $GSTREAMER_LIBS" | sed 's/ -L\([^/]\)/ -L\$(top_builddir)\/\1/g'`
11886 if test "x$ac_cv_lib_gstapp_0_10_gst_app_buffer_new" != xyes -a "x$ac_cv_header_QuickTime_ImageCompression_h" != xyes; then :
11887 case "x$with_gstreamer" in
11888 x) as_fn_append wine_notices "|gstreamer-0.10 base plugins ${notice_platform}development files not found, gstreamer support disabled" ;;
11889 xno) ;;
11890 *) as_fn_error $? "gstreamer-0.10 base plugins ${notice_platform}development files not found, gstreamer support disabled
11891 This is an error since --with-gstreamer was requested." "$LINENO" 5 ;;
11892 esac
11894 test "x$ac_cv_lib_gstapp_0_10_gst_app_buffer_new" = xyes || enable_winegstreamer=${enable_winegstreamer:-no}
11896 ALSALIBS=""
11898 if test "$ac_cv_header_sys_asoundlib_h" = "yes" -o "$ac_cv_header_alsa_asoundlib_h" = "yes"
11899 then
11900 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for snd_pcm_hw_params_get_access_mask in -lasound" >&5
11901 $as_echo_n "checking for snd_pcm_hw_params_get_access_mask in -lasound... " >&6; }
11902 if ${ac_cv_lib_asound_snd_pcm_hw_params_get_access_mask+:} false; then :
11903 $as_echo_n "(cached) " >&6
11904 else
11905 ac_check_lib_save_LIBS=$LIBS
11906 LIBS="-lasound $LIBS"
11907 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11908 /* end confdefs.h. */
11910 /* Override any GCC internal prototype to avoid an error.
11911 Use char because int might match the return type of a GCC
11912 builtin and then its argument prototype would still apply. */
11913 #ifdef __cplusplus
11914 extern "C"
11915 #endif
11916 char snd_pcm_hw_params_get_access_mask ();
11918 main ()
11920 return snd_pcm_hw_params_get_access_mask ();
11922 return 0;
11924 _ACEOF
11925 if ac_fn_c_try_link "$LINENO"; then :
11926 ac_cv_lib_asound_snd_pcm_hw_params_get_access_mask=yes
11927 else
11928 ac_cv_lib_asound_snd_pcm_hw_params_get_access_mask=no
11930 rm -f core conftest.err conftest.$ac_objext \
11931 conftest$ac_exeext conftest.$ac_ext
11932 LIBS=$ac_check_lib_save_LIBS
11934 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_asound_snd_pcm_hw_params_get_access_mask" >&5
11935 $as_echo "$ac_cv_lib_asound_snd_pcm_hw_params_get_access_mask" >&6; }
11936 if test "x$ac_cv_lib_asound_snd_pcm_hw_params_get_access_mask" = xyes; then :
11937 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11938 /* end confdefs.h. */
11939 #ifdef HAVE_ALSA_ASOUNDLIB_H
11940 #include <alsa/asoundlib.h>
11941 #elif defined(HAVE_SYS_ASOUNDLIB_H)
11942 #include <sys/asoundlib.h>
11943 #endif
11945 main ()
11947 snd_pcm_hw_params_get_access_mask(NULL, NULL)
11949 return 0;
11951 _ACEOF
11952 if ac_fn_c_try_compile "$LINENO"; then :
11953 ALSALIBS="-lasound"
11955 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
11960 if test "x$with_oss" != xno
11961 then
11962 ac_save_CPPFLAGS="$CPPFLAGS"
11963 if test -f /etc/oss.conf
11964 then
11965 . /etc/oss.conf
11967 ac_oss_incl="-I${OSSLIBDIR:-/usr/lib/oss}/include"
11968 CPPFLAGS="$CPPFLAGS $ac_oss_incl"
11969 ac_fn_c_check_header_mongrel "$LINENO" "sys/soundcard.h" "ac_cv_header_sys_soundcard_h" "$ac_includes_default"
11970 if test "x$ac_cv_header_sys_soundcard_h" = xyes; then :
11971 ac_fn_c_check_member "$LINENO" "oss_sysinfo" "numaudioengines" "ac_cv_member_oss_sysinfo_numaudioengines" "#include <sys/soundcard.h>
11973 if test "x$ac_cv_member_oss_sysinfo_numaudioengines" = xyes; then :
11975 cat >>confdefs.h <<_ACEOF
11976 #define HAVE_OSS_SYSINFO_NUMAUDIOENGINES 1
11977 _ACEOF
11979 OSS4INCL="$ac_oss_incl"
11986 CPPFLAGS="$ac_save_CPPFLAGS"
11987 if test "x$ac_cv_member_oss_sysinfo_numaudioengines" != xyes
11988 then
11989 as_fn_append wine_notices "|OSS sound system found but too old (OSSv4 needed), OSS won't be supported."
11993 if test "x$with_capi" != "xno"
11994 then
11995 if test -n "$CAPI20_CFLAGS"; then :
11997 elif test -n "$PKG_CONFIG"; then :
11998 CAPI20_CFLAGS=`$PKG_CONFIG --cflags capi20 2>/dev/null`
12001 if test -n "$CAPI20_LIBS"; then :
12003 elif test -n "$PKG_CONFIG"; then :
12004 CAPI20_LIBS=`$PKG_CONFIG --libs capi20 2>/dev/null`
12008 ac_save_CPPFLAGS=$CPPFLAGS
12009 CPPFLAGS="$CPPFLAGS $CAPI20_CFLAGS"
12010 for ac_header in capi20.h linux/capi.h
12011 do :
12012 as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
12013 ac_fn_c_check_header_compile "$LINENO" "$ac_header" "$as_ac_Header" "#define __user
12015 if eval test \"x\$"$as_ac_Header"\" = x"yes"; then :
12016 cat >>confdefs.h <<_ACEOF
12017 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
12018 _ACEOF
12022 done
12024 if test "$ac_cv_header_capi20_h" = "yes" -a "$ac_cv_header_linux_capi_h" = "yes"
12025 then
12026 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lcapi20" >&5
12027 $as_echo_n "checking for -lcapi20... " >&6; }
12028 if ${ac_cv_lib_soname_capi20+:} false; then :
12029 $as_echo_n "(cached) " >&6
12030 else
12031 ac_check_soname_save_LIBS=$LIBS
12032 LIBS="-lcapi20 $CAPI20_LIBS $LIBS"
12033 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12034 /* end confdefs.h. */
12036 /* Override any GCC internal prototype to avoid an error.
12037 Use char because int might match the return type of a GCC
12038 builtin and then its argument prototype would still apply. */
12039 #ifdef __cplusplus
12040 extern "C"
12041 #endif
12042 char capi20_register ();
12044 main ()
12046 return capi20_register ();
12048 return 0;
12050 _ACEOF
12051 if ac_fn_c_try_link "$LINENO"; then :
12052 case "$LIBEXT" in
12053 dll) ac_cv_lib_soname_capi20=`$ac_cv_path_LDD conftest.exe | grep "capi20" | sed -e "s/dll.*/dll/"';2,$d'` ;;
12054 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'` ;;
12055 *) ac_cv_lib_soname_capi20=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libcapi20\\.$LIBEXT" | sed -e "s/^.*\\[\\(libcapi20\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
12056 if test "x$ac_cv_lib_soname_capi20" = x; then :
12057 ac_cv_lib_soname_capi20=`$LDD conftest$ac_exeext | grep "libcapi20\\.$LIBEXT" | sed -e "s/^.*\(libcapi20\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
12058 fi ;;
12059 esac
12061 rm -f core conftest.err conftest.$ac_objext \
12062 conftest$ac_exeext conftest.$ac_ext
12063 LIBS=$ac_check_soname_save_LIBS
12065 if test "x$ac_cv_lib_soname_capi20" = "x"; then :
12066 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
12067 $as_echo "not found" >&6; }
12069 else
12070 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_capi20" >&5
12071 $as_echo "$ac_cv_lib_soname_capi20" >&6; }
12073 cat >>confdefs.h <<_ACEOF
12074 #define SONAME_LIBCAPI20 "$ac_cv_lib_soname_capi20"
12075 _ACEOF
12080 CPPFLAGS=$ac_save_CPPFLAGS
12081 test -z "$CAPI20_CFLAGS" || CAPI20_CFLAGS=`echo " $CAPI20_CFLAGS" | sed 's/ -I\([^/]\)/ -I\$(top_builddir)\/\1/g'`
12082 test -z "$CAPI20_LIBS" || CAPI20_LIBS=`echo " $CAPI20_LIBS" | sed 's/ -L\([^/]\)/ -L\$(top_builddir)\/\1/g'`
12085 if test "x$ac_cv_lib_soname_capi20" = "x"; then :
12086 case "x$with_capi" in
12087 x) as_fn_append wine_notices "|libcapi20 ${notice_platform}development files not found, ISDN won't be supported." ;;
12088 xno) ;;
12089 *) as_fn_error $? "libcapi20 ${notice_platform}development files not found, ISDN won't be supported.
12090 This is an error since --with-capi was requested." "$LINENO" 5 ;;
12091 esac
12094 CUPSINCL=""
12096 if test "x$with_cups" != "xno"
12097 then
12098 ac_save_CPPFLAGS="$CPPFLAGS"
12099 ac_cups_cflags=`cups-config --cflags 2>/dev/null`
12100 ac_cups_libs=`cups-config --ldflags 2>/dev/null`
12101 CPPFLAGS="$CPPFLAGS $ac_cups_cflags"
12102 for ac_header in cups/cups.h
12103 do :
12104 ac_fn_c_check_header_mongrel "$LINENO" "cups/cups.h" "ac_cv_header_cups_cups_h" "$ac_includes_default"
12105 if test "x$ac_cv_header_cups_cups_h" = xyes; then :
12106 cat >>confdefs.h <<_ACEOF
12107 #define HAVE_CUPS_CUPS_H 1
12108 _ACEOF
12109 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lcups" >&5
12110 $as_echo_n "checking for -lcups... " >&6; }
12111 if ${ac_cv_lib_soname_cups+:} false; then :
12112 $as_echo_n "(cached) " >&6
12113 else
12114 ac_check_soname_save_LIBS=$LIBS
12115 LIBS="-lcups $ac_cups_libs $LIBS"
12116 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12117 /* end confdefs.h. */
12119 /* Override any GCC internal prototype to avoid an error.
12120 Use char because int might match the return type of a GCC
12121 builtin and then its argument prototype would still apply. */
12122 #ifdef __cplusplus
12123 extern "C"
12124 #endif
12125 char cupsGetDefault ();
12127 main ()
12129 return cupsGetDefault ();
12131 return 0;
12133 _ACEOF
12134 if ac_fn_c_try_link "$LINENO"; then :
12135 case "$LIBEXT" in
12136 dll) ac_cv_lib_soname_cups=`$ac_cv_path_LDD conftest.exe | grep "cups" | sed -e "s/dll.*/dll/"';2,$d'` ;;
12137 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'` ;;
12138 *) ac_cv_lib_soname_cups=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libcups\\.$LIBEXT" | sed -e "s/^.*\\[\\(libcups\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
12139 if test "x$ac_cv_lib_soname_cups" = x; then :
12140 ac_cv_lib_soname_cups=`$LDD conftest$ac_exeext | grep "libcups\\.$LIBEXT" | sed -e "s/^.*\(libcups\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
12141 fi ;;
12142 esac
12144 rm -f core conftest.err conftest.$ac_objext \
12145 conftest$ac_exeext conftest.$ac_ext
12146 LIBS=$ac_check_soname_save_LIBS
12148 if test "x$ac_cv_lib_soname_cups" = "x"; then :
12149 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
12150 $as_echo "not found" >&6; }
12152 else
12153 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_cups" >&5
12154 $as_echo "$ac_cv_lib_soname_cups" >&6; }
12156 cat >>confdefs.h <<_ACEOF
12157 #define SONAME_LIBCUPS "$ac_cv_lib_soname_cups"
12158 _ACEOF
12160 CUPSINCL="$ac_cups_cflags"
12164 done
12166 CPPFLAGS="$ac_save_CPPFLAGS"
12168 if test "x$ac_cv_lib_soname_cups" = "x"; then :
12169 case "x$with_cups" in
12170 x) as_fn_append wine_notices "|libcups ${notice_platform}development files not found, CUPS won't be supported." ;;
12171 xno) ;;
12172 *) as_fn_error $? "libcups ${notice_platform}development files not found, CUPS won't be supported.
12173 This is an error since --with-cups was requested." "$LINENO" 5 ;;
12174 esac
12177 if test "$ac_cv_header_fontconfig_fontconfig_h" = "yes"
12178 then
12179 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lfontconfig" >&5
12180 $as_echo_n "checking for -lfontconfig... " >&6; }
12181 if ${ac_cv_lib_soname_fontconfig+:} false; then :
12182 $as_echo_n "(cached) " >&6
12183 else
12184 ac_check_soname_save_LIBS=$LIBS
12185 LIBS="-lfontconfig $LIBS"
12186 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12187 /* end confdefs.h. */
12189 /* Override any GCC internal prototype to avoid an error.
12190 Use char because int might match the return type of a GCC
12191 builtin and then its argument prototype would still apply. */
12192 #ifdef __cplusplus
12193 extern "C"
12194 #endif
12195 char FcInit ();
12197 main ()
12199 return FcInit ();
12201 return 0;
12203 _ACEOF
12204 if ac_fn_c_try_link "$LINENO"; then :
12205 case "$LIBEXT" in
12206 dll) ac_cv_lib_soname_fontconfig=`$ac_cv_path_LDD conftest.exe | grep "fontconfig" | sed -e "s/dll.*/dll/"';2,$d'` ;;
12207 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'` ;;
12208 *) ac_cv_lib_soname_fontconfig=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libfontconfig\\.$LIBEXT" | sed -e "s/^.*\\[\\(libfontconfig\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
12209 if test "x$ac_cv_lib_soname_fontconfig" = x; then :
12210 ac_cv_lib_soname_fontconfig=`$LDD conftest$ac_exeext | grep "libfontconfig\\.$LIBEXT" | sed -e "s/^.*\(libfontconfig\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
12211 fi ;;
12212 esac
12214 rm -f core conftest.err conftest.$ac_objext \
12215 conftest$ac_exeext conftest.$ac_ext
12216 LIBS=$ac_check_soname_save_LIBS
12218 if test "x$ac_cv_lib_soname_fontconfig" = "x"; then :
12219 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
12220 $as_echo "not found" >&6; }
12222 else
12223 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_fontconfig" >&5
12224 $as_echo "$ac_cv_lib_soname_fontconfig" >&6; }
12226 cat >>confdefs.h <<_ACEOF
12227 #define SONAME_LIBFONTCONFIG "$ac_cv_lib_soname_fontconfig"
12228 _ACEOF
12232 elif test -n "$X_CFLAGS" -a "x$with_fontconfig" != "xno"
12233 then
12234 ac_save_CPPFLAGS="$CPPFLAGS"
12235 CPPFLAGS="$CPPFLAGS $X_CFLAGS"
12236 $as_unset ac_cv_header_fontconfig_fontconfig_h
12237 for ac_header in fontconfig/fontconfig.h
12238 do :
12239 ac_fn_c_check_header_mongrel "$LINENO" "fontconfig/fontconfig.h" "ac_cv_header_fontconfig_fontconfig_h" "$ac_includes_default"
12240 if test "x$ac_cv_header_fontconfig_fontconfig_h" = xyes; then :
12241 cat >>confdefs.h <<_ACEOF
12242 #define HAVE_FONTCONFIG_FONTCONFIG_H 1
12243 _ACEOF
12247 done
12249 CPPFLAGS="$ac_save_CPPFLAGS"
12250 if test "$ac_cv_header_fontconfig_fontconfig_h" = "yes"
12251 then
12252 FONTCONFIGINCL="$X_CFLAGS"
12254 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lfontconfig" >&5
12255 $as_echo_n "checking for -lfontconfig... " >&6; }
12256 if ${ac_cv_lib_soname_fontconfig+:} false; then :
12257 $as_echo_n "(cached) " >&6
12258 else
12259 ac_check_soname_save_LIBS=$LIBS
12260 LIBS="-lfontconfig $X_LIBS $LIBS"
12261 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12262 /* end confdefs.h. */
12264 /* Override any GCC internal prototype to avoid an error.
12265 Use char because int might match the return type of a GCC
12266 builtin and then its argument prototype would still apply. */
12267 #ifdef __cplusplus
12268 extern "C"
12269 #endif
12270 char FcInit ();
12272 main ()
12274 return FcInit ();
12276 return 0;
12278 _ACEOF
12279 if ac_fn_c_try_link "$LINENO"; then :
12280 case "$LIBEXT" in
12281 dll) ac_cv_lib_soname_fontconfig=`$ac_cv_path_LDD conftest.exe | grep "fontconfig" | sed -e "s/dll.*/dll/"';2,$d'` ;;
12282 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'` ;;
12283 *) ac_cv_lib_soname_fontconfig=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libfontconfig\\.$LIBEXT" | sed -e "s/^.*\\[\\(libfontconfig\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
12284 if test "x$ac_cv_lib_soname_fontconfig" = x; then :
12285 ac_cv_lib_soname_fontconfig=`$LDD conftest$ac_exeext | grep "libfontconfig\\.$LIBEXT" | sed -e "s/^.*\(libfontconfig\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
12286 fi ;;
12287 esac
12289 rm -f core conftest.err conftest.$ac_objext \
12290 conftest$ac_exeext conftest.$ac_ext
12291 LIBS=$ac_check_soname_save_LIBS
12293 if test "x$ac_cv_lib_soname_fontconfig" = "x"; then :
12294 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
12295 $as_echo "not found" >&6; }
12297 else
12298 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_fontconfig" >&5
12299 $as_echo "$ac_cv_lib_soname_fontconfig" >&6; }
12301 cat >>confdefs.h <<_ACEOF
12302 #define SONAME_LIBFONTCONFIG "$ac_cv_lib_soname_fontconfig"
12303 _ACEOF
12309 if test "x$ac_cv_lib_soname_fontconfig" = "x"; then :
12310 case "x$with_fontconfig" in
12311 x) as_fn_append wine_notices "|fontconfig ${notice_platform}development files not found, fontconfig won't be supported." ;;
12312 xno) ;;
12313 *) as_fn_error $? "fontconfig ${notice_platform}development files not found, fontconfig won't be supported.
12314 This is an error since --with-fontconfig was requested." "$LINENO" 5 ;;
12315 esac
12318 if test "$ac_cv_header_gsm_h" = "yes" -o "$ac_cv_header_gsm_gsm_h" = "yes"
12319 then
12320 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lgsm" >&5
12321 $as_echo_n "checking for -lgsm... " >&6; }
12322 if ${ac_cv_lib_soname_gsm+:} false; then :
12323 $as_echo_n "(cached) " >&6
12324 else
12325 ac_check_soname_save_LIBS=$LIBS
12326 LIBS="-lgsm $LIBS"
12327 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12328 /* end confdefs.h. */
12330 /* Override any GCC internal prototype to avoid an error.
12331 Use char because int might match the return type of a GCC
12332 builtin and then its argument prototype would still apply. */
12333 #ifdef __cplusplus
12334 extern "C"
12335 #endif
12336 char gsm_create ();
12338 main ()
12340 return gsm_create ();
12342 return 0;
12344 _ACEOF
12345 if ac_fn_c_try_link "$LINENO"; then :
12346 case "$LIBEXT" in
12347 dll) ac_cv_lib_soname_gsm=`$ac_cv_path_LDD conftest.exe | grep "gsm" | sed -e "s/dll.*/dll/"';2,$d'` ;;
12348 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'` ;;
12349 *) ac_cv_lib_soname_gsm=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libgsm\\.$LIBEXT" | sed -e "s/^.*\\[\\(libgsm\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
12350 if test "x$ac_cv_lib_soname_gsm" = x; then :
12351 ac_cv_lib_soname_gsm=`$LDD conftest$ac_exeext | grep "libgsm\\.$LIBEXT" | sed -e "s/^.*\(libgsm\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
12352 fi ;;
12353 esac
12355 rm -f core conftest.err conftest.$ac_objext \
12356 conftest$ac_exeext conftest.$ac_ext
12357 LIBS=$ac_check_soname_save_LIBS
12359 if test "x$ac_cv_lib_soname_gsm" = "x"; then :
12360 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
12361 $as_echo "not found" >&6; }
12363 else
12364 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_gsm" >&5
12365 $as_echo "$ac_cv_lib_soname_gsm" >&6; }
12367 cat >>confdefs.h <<_ACEOF
12368 #define SONAME_LIBGSM "$ac_cv_lib_soname_gsm"
12369 _ACEOF
12374 if test "x$ac_cv_lib_soname_gsm" = "x"; then :
12375 case "x$with_gsm" in
12376 x) as_fn_append wine_notices "|libgsm ${notice_platform}development files not found, gsm 06.10 codec won't be supported." ;;
12377 xno) ;;
12378 *) as_fn_error $? "libgsm ${notice_platform}development files not found, gsm 06.10 codec won't be supported.
12379 This is an error since --with-gsm was requested." "$LINENO" 5 ;;
12380 esac
12383 if test "x$with_jpeg" != "xno"
12384 then
12385 if test -n "$JPEG_CFLAGS"; then :
12387 elif test -n "$PKG_CONFIG"; then :
12388 JPEG_CFLAGS=`$PKG_CONFIG --cflags libjpeg 2>/dev/null`
12391 if test -n "$JPEG_LIBS"; then :
12393 elif test -n "$PKG_CONFIG"; then :
12394 JPEG_LIBS=`$PKG_CONFIG --libs libjpeg 2>/dev/null`
12398 ac_save_CPPFLAGS=$CPPFLAGS
12399 CPPFLAGS="$CPPFLAGS $JPEG_CFLAGS"
12400 for ac_header in jpeglib.h
12401 do :
12402 ac_fn_c_check_header_mongrel "$LINENO" "jpeglib.h" "ac_cv_header_jpeglib_h" "$ac_includes_default"
12403 if test "x$ac_cv_header_jpeglib_h" = xyes; then :
12404 cat >>confdefs.h <<_ACEOF
12405 #define HAVE_JPEGLIB_H 1
12406 _ACEOF
12410 done
12412 if test "$ac_cv_header_jpeglib_h" = "yes"
12413 then
12414 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -ljpeg" >&5
12415 $as_echo_n "checking for -ljpeg... " >&6; }
12416 if ${ac_cv_lib_soname_jpeg+:} false; then :
12417 $as_echo_n "(cached) " >&6
12418 else
12419 ac_check_soname_save_LIBS=$LIBS
12420 LIBS="-ljpeg $JPEG_LIBS $LIBS"
12421 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12422 /* end confdefs.h. */
12424 /* Override any GCC internal prototype to avoid an error.
12425 Use char because int might match the return type of a GCC
12426 builtin and then its argument prototype would still apply. */
12427 #ifdef __cplusplus
12428 extern "C"
12429 #endif
12430 char jpeg_start_decompress ();
12432 main ()
12434 return jpeg_start_decompress ();
12436 return 0;
12438 _ACEOF
12439 if ac_fn_c_try_link "$LINENO"; then :
12440 case "$LIBEXT" in
12441 dll) ac_cv_lib_soname_jpeg=`$ac_cv_path_LDD conftest.exe | grep "jpeg" | sed -e "s/dll.*/dll/"';2,$d'` ;;
12442 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'` ;;
12443 *) ac_cv_lib_soname_jpeg=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libjpeg\\.$LIBEXT" | sed -e "s/^.*\\[\\(libjpeg\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
12444 if test "x$ac_cv_lib_soname_jpeg" = x; then :
12445 ac_cv_lib_soname_jpeg=`$LDD conftest$ac_exeext | grep "libjpeg\\.$LIBEXT" | sed -e "s/^.*\(libjpeg\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
12446 fi ;;
12447 esac
12449 rm -f core conftest.err conftest.$ac_objext \
12450 conftest$ac_exeext conftest.$ac_ext
12451 LIBS=$ac_check_soname_save_LIBS
12453 if test "x$ac_cv_lib_soname_jpeg" = "x"; then :
12454 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
12455 $as_echo "not found" >&6; }
12456 JPEG_CFLAGS=""
12457 else
12458 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_jpeg" >&5
12459 $as_echo "$ac_cv_lib_soname_jpeg" >&6; }
12461 cat >>confdefs.h <<_ACEOF
12462 #define SONAME_LIBJPEG "$ac_cv_lib_soname_jpeg"
12463 _ACEOF
12467 else
12468 JPEG_CFLAGS=""
12470 CPPFLAGS=$ac_save_CPPFLAGS
12471 test -z "$JPEG_CFLAGS" || JPEG_CFLAGS=`echo " $JPEG_CFLAGS" | sed 's/ -I\([^/]\)/ -I\$(top_builddir)\/\1/g'`
12472 test -z "$JPEG_LIBS" || JPEG_LIBS=`echo " $JPEG_LIBS" | sed 's/ -L\([^/]\)/ -L\$(top_builddir)\/\1/g'`
12475 if test "x$ac_cv_lib_soname_jpeg" = "x"; then :
12476 case "x$with_jpeg" in
12477 x) as_fn_append wine_warnings "|libjpeg ${notice_platform}development files not found, JPEG won't be supported." ;;
12478 xno) ;;
12479 *) as_fn_error $? "libjpeg ${notice_platform}development files not found, JPEG won't be supported.
12480 This is an error since --with-jpeg was requested." "$LINENO" 5 ;;
12481 esac
12484 if test "x$with_png" != "xno"
12485 then
12486 if test -n "$PNG_CFLAGS"; then :
12488 elif test -n "$PKG_CONFIG"; then :
12489 PNG_CFLAGS=`$PKG_CONFIG --cflags libpng 2>/dev/null`
12491 test "$cross_compiling" = yes || PNG_CFLAGS=${PNG_CFLAGS:-$X_CFLAGS}
12492 if test -n "$PNG_LIBS"; then :
12494 elif test -n "$PKG_CONFIG"; then :
12495 PNG_LIBS=`$PKG_CONFIG --libs libpng 2>/dev/null`
12497 test "$cross_compiling" = yes || PNG_LIBS=${PNG_LIBS:-$X_LIBS}
12499 ac_save_CPPFLAGS=$CPPFLAGS
12500 CPPFLAGS="$CPPFLAGS $PNG_CFLAGS"
12501 for ac_header in png.h
12502 do :
12503 ac_fn_c_check_header_mongrel "$LINENO" "png.h" "ac_cv_header_png_h" "$ac_includes_default"
12504 if test "x$ac_cv_header_png_h" = xyes; then :
12505 cat >>confdefs.h <<_ACEOF
12506 #define HAVE_PNG_H 1
12507 _ACEOF
12511 done
12513 if test "$ac_cv_header_png_h" = "yes"
12514 then
12515 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lpng" >&5
12516 $as_echo_n "checking for -lpng... " >&6; }
12517 if ${ac_cv_lib_soname_png+:} false; then :
12518 $as_echo_n "(cached) " >&6
12519 else
12520 ac_check_soname_save_LIBS=$LIBS
12521 LIBS="-lpng $PNG_LIBS -lm -lz $LIBS"
12522 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12523 /* end confdefs.h. */
12525 /* Override any GCC internal prototype to avoid an error.
12526 Use char because int might match the return type of a GCC
12527 builtin and then its argument prototype would still apply. */
12528 #ifdef __cplusplus
12529 extern "C"
12530 #endif
12531 char png_create_read_struct ();
12533 main ()
12535 return png_create_read_struct ();
12537 return 0;
12539 _ACEOF
12540 if ac_fn_c_try_link "$LINENO"; then :
12541 case "$LIBEXT" in
12542 dll) ac_cv_lib_soname_png=`$ac_cv_path_LDD conftest.exe | grep "png" | sed -e "s/dll.*/dll/"';2,$d'` ;;
12543 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'` ;;
12544 *) 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'`
12545 if test "x$ac_cv_lib_soname_png" = x; then :
12546 ac_cv_lib_soname_png=`$LDD conftest$ac_exeext | grep "libpng[0-9]*\\.$LIBEXT" | sed -e "s/^.*\(libpng[0-9]*\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
12547 fi ;;
12548 esac
12550 rm -f core conftest.err conftest.$ac_objext \
12551 conftest$ac_exeext conftest.$ac_ext
12552 LIBS=$ac_check_soname_save_LIBS
12554 if test "x$ac_cv_lib_soname_png" = "x"; then :
12555 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
12556 $as_echo "not found" >&6; }
12557 PNG_CFLAGS=""
12558 else
12559 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_png" >&5
12560 $as_echo "$ac_cv_lib_soname_png" >&6; }
12562 cat >>confdefs.h <<_ACEOF
12563 #define SONAME_LIBPNG "$ac_cv_lib_soname_png"
12564 _ACEOF
12566 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12567 /* end confdefs.h. */
12568 #include <png.h>
12570 main ()
12572 typeof(png_set_expand_gray_1_2_4_to_8) *p
12574 return 0;
12576 _ACEOF
12577 if ac_fn_c_try_compile "$LINENO"; then :
12579 $as_echo "#define HAVE_PNG_SET_EXPAND_GRAY_1_2_4_TO_8 1" >>confdefs.h
12582 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
12584 else
12585 PNG_CFLAGS=""
12587 CPPFLAGS=$ac_save_CPPFLAGS
12588 test -z "$PNG_CFLAGS" || PNG_CFLAGS=`echo " $PNG_CFLAGS" | sed 's/ -I\([^/]\)/ -I\$(top_builddir)\/\1/g'`
12589 test -z "$PNG_LIBS" || PNG_LIBS=`echo " $PNG_LIBS" | sed 's/ -L\([^/]\)/ -L\$(top_builddir)\/\1/g'`
12592 if test "x$ac_cv_lib_soname_png" = "x"; then :
12593 case "x$with_png" in
12594 x) as_fn_append wine_warnings "|libpng ${notice_platform}development files not found, PNG won't be supported." ;;
12595 xno) ;;
12596 *) as_fn_error $? "libpng ${notice_platform}development files not found, PNG won't be supported.
12597 This is an error since --with-png was requested." "$LINENO" 5 ;;
12598 esac
12601 if test "x$with_tiff" != "xno"
12602 then
12603 if test -n "$TIFF_CFLAGS"; then :
12605 elif test -n "$PKG_CONFIG"; then :
12606 TIFF_CFLAGS=`$PKG_CONFIG --cflags libtiff 2>/dev/null`
12609 if test -n "$TIFF_LIBS"; then :
12611 elif test -n "$PKG_CONFIG"; then :
12612 TIFF_LIBS=`$PKG_CONFIG --libs libtiff 2>/dev/null`
12616 ac_save_CPPFLAGS=$CPPFLAGS
12617 CPPFLAGS="$CPPFLAGS $TIFF_CFLAGS"
12618 for ac_header in tiffio.h
12619 do :
12620 ac_fn_c_check_header_mongrel "$LINENO" "tiffio.h" "ac_cv_header_tiffio_h" "$ac_includes_default"
12621 if test "x$ac_cv_header_tiffio_h" = xyes; then :
12622 cat >>confdefs.h <<_ACEOF
12623 #define HAVE_TIFFIO_H 1
12624 _ACEOF
12628 done
12630 if test "$ac_cv_header_tiffio_h" = "yes"
12631 then
12632 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -ltiff" >&5
12633 $as_echo_n "checking for -ltiff... " >&6; }
12634 if ${ac_cv_lib_soname_tiff+:} false; then :
12635 $as_echo_n "(cached) " >&6
12636 else
12637 ac_check_soname_save_LIBS=$LIBS
12638 LIBS="-ltiff $TIFF_LIBS $LIBS"
12639 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12640 /* end confdefs.h. */
12642 /* Override any GCC internal prototype to avoid an error.
12643 Use char because int might match the return type of a GCC
12644 builtin and then its argument prototype would still apply. */
12645 #ifdef __cplusplus
12646 extern "C"
12647 #endif
12648 char TIFFClientOpen ();
12650 main ()
12652 return TIFFClientOpen ();
12654 return 0;
12656 _ACEOF
12657 if ac_fn_c_try_link "$LINENO"; then :
12658 case "$LIBEXT" in
12659 dll) ac_cv_lib_soname_tiff=`$ac_cv_path_LDD conftest.exe | grep "tiff" | sed -e "s/dll.*/dll/"';2,$d'` ;;
12660 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'` ;;
12661 *) ac_cv_lib_soname_tiff=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libtiff\\.$LIBEXT" | sed -e "s/^.*\\[\\(libtiff\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
12662 if test "x$ac_cv_lib_soname_tiff" = x; then :
12663 ac_cv_lib_soname_tiff=`$LDD conftest$ac_exeext | grep "libtiff\\.$LIBEXT" | sed -e "s/^.*\(libtiff\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
12664 fi ;;
12665 esac
12667 rm -f core conftest.err conftest.$ac_objext \
12668 conftest$ac_exeext conftest.$ac_ext
12669 LIBS=$ac_check_soname_save_LIBS
12671 if test "x$ac_cv_lib_soname_tiff" = "x"; then :
12672 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
12673 $as_echo "not found" >&6; }
12675 else
12676 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_tiff" >&5
12677 $as_echo "$ac_cv_lib_soname_tiff" >&6; }
12679 cat >>confdefs.h <<_ACEOF
12680 #define SONAME_LIBTIFF "$ac_cv_lib_soname_tiff"
12681 _ACEOF
12686 CPPFLAGS=$ac_save_CPPFLAGS
12687 test -z "$TIFF_CFLAGS" || TIFF_CFLAGS=`echo " $TIFF_CFLAGS" | sed 's/ -I\([^/]\)/ -I\$(top_builddir)\/\1/g'`
12688 test -z "$TIFF_LIBS" || TIFF_LIBS=`echo " $TIFF_LIBS" | sed 's/ -L\([^/]\)/ -L\$(top_builddir)\/\1/g'`
12691 if test "x$ac_cv_lib_soname_tiff" = "x"; then :
12692 case "x$with_tiff" in
12693 x) as_fn_append wine_notices "|libtiff ${notice_platform}development files not found, TIFF won't be supported." ;;
12694 xno) ;;
12695 *) as_fn_error $? "libtiff ${notice_platform}development files not found, TIFF won't be supported.
12696 This is an error since --with-tiff was requested." "$LINENO" 5 ;;
12697 esac
12700 if test "x$with_mpg123" != "xno"
12701 then
12702 if test -n "$MPG123_CFLAGS"; then :
12704 elif test -n "$PKG_CONFIG"; then :
12705 MPG123_CFLAGS=`$PKG_CONFIG --cflags libmpg123 2>/dev/null`
12708 if test -n "$MPG123_LIBS"; then :
12710 elif test -n "$PKG_CONFIG"; then :
12711 MPG123_LIBS=`$PKG_CONFIG --libs libmpg123 2>/dev/null`
12714 MPG123_LIBS=${MPG123_LIBS:-"-lmpg123"}
12715 ac_save_CPPFLAGS=$CPPFLAGS
12716 CPPFLAGS="$CPPFLAGS $MPG123_CFLAGS"
12717 for ac_header in mpg123.h
12718 do :
12719 ac_fn_c_check_header_mongrel "$LINENO" "mpg123.h" "ac_cv_header_mpg123_h" "$ac_includes_default"
12720 if test "x$ac_cv_header_mpg123_h" = xyes; then :
12721 cat >>confdefs.h <<_ACEOF
12722 #define HAVE_MPG123_H 1
12723 _ACEOF
12727 done
12729 if test "$ac_cv_header_mpg123_h" = "yes"
12730 then
12731 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for mpg123_feed in -lmpg123" >&5
12732 $as_echo_n "checking for mpg123_feed in -lmpg123... " >&6; }
12733 if ${ac_cv_lib_mpg123_mpg123_feed+:} false; then :
12734 $as_echo_n "(cached) " >&6
12735 else
12736 ac_check_lib_save_LIBS=$LIBS
12737 LIBS="-lmpg123 $MPG123_LIBS $LIBS"
12738 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12739 /* end confdefs.h. */
12741 /* Override any GCC internal prototype to avoid an error.
12742 Use char because int might match the return type of a GCC
12743 builtin and then its argument prototype would still apply. */
12744 #ifdef __cplusplus
12745 extern "C"
12746 #endif
12747 char mpg123_feed ();
12749 main ()
12751 return mpg123_feed ();
12753 return 0;
12755 _ACEOF
12756 if ac_fn_c_try_link "$LINENO"; then :
12757 ac_cv_lib_mpg123_mpg123_feed=yes
12758 else
12759 ac_cv_lib_mpg123_mpg123_feed=no
12761 rm -f core conftest.err conftest.$ac_objext \
12762 conftest$ac_exeext conftest.$ac_ext
12763 LIBS=$ac_check_lib_save_LIBS
12765 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_mpg123_mpg123_feed" >&5
12766 $as_echo "$ac_cv_lib_mpg123_mpg123_feed" >&6; }
12767 if test "x$ac_cv_lib_mpg123_mpg123_feed" = xyes; then :
12769 else
12770 MPG123_LIBS=""
12773 else
12774 MPG123_CFLAGS=""
12775 MPG123_LIBS=""
12777 CPPFLAGS=$ac_save_CPPFLAGS
12778 test -z "$MPG123_CFLAGS" || MPG123_CFLAGS=`echo " $MPG123_CFLAGS" | sed 's/ -I\([^/]\)/ -I\$(top_builddir)\/\1/g'`
12779 test -z "$MPG123_LIBS" || MPG123_LIBS=`echo " $MPG123_LIBS" | sed 's/ -L\([^/]\)/ -L\$(top_builddir)\/\1/g'`
12782 if test "x$ac_cv_lib_mpg123_mpg123_feed" != xyes -a x"$ac_cv_header_CoreAudio_CoreAudio_h" != xyes; then :
12783 case "x$with_mpg123" in
12784 x) as_fn_append wine_notices "|libmpg123 ${notice_platform}development files not found (or too old), mp3 codec won't be supported." ;;
12785 xno) ;;
12786 *) as_fn_error $? "libmpg123 ${notice_platform}development files not found (or too old), mp3 codec won't be supported.
12787 This is an error since --with-mpg123 was requested." "$LINENO" 5 ;;
12788 esac
12790 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}
12792 if test "$ac_cv_header_AL_al_h" = "yes"
12793 then
12794 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lopenal" >&5
12795 $as_echo_n "checking for -lopenal... " >&6; }
12796 if ${ac_cv_lib_soname_openal+:} false; then :
12797 $as_echo_n "(cached) " >&6
12798 else
12799 ac_check_soname_save_LIBS=$LIBS
12800 LIBS="-lopenal $LIBS"
12801 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12802 /* end confdefs.h. */
12804 /* Override any GCC internal prototype to avoid an error.
12805 Use char because int might match the return type of a GCC
12806 builtin and then its argument prototype would still apply. */
12807 #ifdef __cplusplus
12808 extern "C"
12809 #endif
12810 char alGetSource3i ();
12812 main ()
12814 return alGetSource3i ();
12816 return 0;
12818 _ACEOF
12819 if ac_fn_c_try_link "$LINENO"; then :
12820 case "$LIBEXT" in
12821 dll) ac_cv_lib_soname_openal=`$ac_cv_path_LDD conftest.exe | grep "openal" | sed -e "s/dll.*/dll/"';2,$d'` ;;
12822 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'` ;;
12823 *) ac_cv_lib_soname_openal=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libopenal\\.$LIBEXT" | sed -e "s/^.*\\[\\(libopenal\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
12824 if test "x$ac_cv_lib_soname_openal" = x; then :
12825 ac_cv_lib_soname_openal=`$LDD conftest$ac_exeext | grep "libopenal\\.$LIBEXT" | sed -e "s/^.*\(libopenal\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
12826 fi ;;
12827 esac
12829 rm -f core conftest.err conftest.$ac_objext \
12830 conftest$ac_exeext conftest.$ac_ext
12831 LIBS=$ac_check_soname_save_LIBS
12833 if test "x$ac_cv_lib_soname_openal" = "x"; then :
12834 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
12835 $as_echo "not found" >&6; }
12837 else
12838 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_openal" >&5
12839 $as_echo "$ac_cv_lib_soname_openal" >&6; }
12841 cat >>confdefs.h <<_ACEOF
12842 #define SONAME_LIBOPENAL "$ac_cv_lib_soname_openal"
12843 _ACEOF
12845 LIBOPENAL="-lopenal"
12847 ac_cv_lib_openal=yes
12849 cat >>confdefs.h <<_ACEOF
12850 #define HAVE_OPENAL 1
12851 _ACEOF
12855 if test "x$ac_cv_lib_openal" != xyes; then :
12856 case "x$with_openal" in
12857 x) as_fn_append wine_notices "|libopenal ${notice_platform}development files not found (or too old), OpenAL won't be supported." ;;
12858 xno) ;;
12859 *) as_fn_error $? "libopenal ${notice_platform}development files not found (or too old), OpenAL won't be supported.
12860 This is an error since --with-openal was requested." "$LINENO" 5 ;;
12861 esac
12863 test "x$ac_cv_lib_openal" = xyes || enable_openal32=${enable_openal32:-no}
12865 if test "$ac_cv_header_kstat_h" = "yes"
12866 then
12867 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for kstat_open in -lkstat" >&5
12868 $as_echo_n "checking for kstat_open in -lkstat... " >&6; }
12869 if ${ac_cv_lib_kstat_kstat_open+:} false; then :
12870 $as_echo_n "(cached) " >&6
12871 else
12872 ac_check_lib_save_LIBS=$LIBS
12873 LIBS="-lkstat $LIBS"
12874 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12875 /* end confdefs.h. */
12877 /* Override any GCC internal prototype to avoid an error.
12878 Use char because int might match the return type of a GCC
12879 builtin and then its argument prototype would still apply. */
12880 #ifdef __cplusplus
12881 extern "C"
12882 #endif
12883 char kstat_open ();
12885 main ()
12887 return kstat_open ();
12889 return 0;
12891 _ACEOF
12892 if ac_fn_c_try_link "$LINENO"; then :
12893 ac_cv_lib_kstat_kstat_open=yes
12894 else
12895 ac_cv_lib_kstat_kstat_open=no
12897 rm -f core conftest.err conftest.$ac_objext \
12898 conftest$ac_exeext conftest.$ac_ext
12899 LIBS=$ac_check_lib_save_LIBS
12901 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_kstat_kstat_open" >&5
12902 $as_echo "$ac_cv_lib_kstat_kstat_open" >&6; }
12903 if test "x$ac_cv_lib_kstat_kstat_open" = xyes; then :
12905 $as_echo "#define HAVE_LIBKSTAT 1" >>confdefs.h
12907 LIBKSTAT="-lkstat"
12913 if test "$ac_cv_header_libprocstat_h" = "yes"
12914 then
12915 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for procstat_open_sysctl in -lprocstat" >&5
12916 $as_echo_n "checking for procstat_open_sysctl in -lprocstat... " >&6; }
12917 if ${ac_cv_lib_procstat_procstat_open_sysctl+:} false; then :
12918 $as_echo_n "(cached) " >&6
12919 else
12920 ac_check_lib_save_LIBS=$LIBS
12921 LIBS="-lprocstat $LIBS"
12922 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12923 /* end confdefs.h. */
12925 /* Override any GCC internal prototype to avoid an error.
12926 Use char because int might match the return type of a GCC
12927 builtin and then its argument prototype would still apply. */
12928 #ifdef __cplusplus
12929 extern "C"
12930 #endif
12931 char procstat_open_sysctl ();
12933 main ()
12935 return procstat_open_sysctl ();
12937 return 0;
12939 _ACEOF
12940 if ac_fn_c_try_link "$LINENO"; then :
12941 ac_cv_lib_procstat_procstat_open_sysctl=yes
12942 else
12943 ac_cv_lib_procstat_procstat_open_sysctl=no
12945 rm -f core conftest.err conftest.$ac_objext \
12946 conftest$ac_exeext conftest.$ac_ext
12947 LIBS=$ac_check_lib_save_LIBS
12949 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_procstat_procstat_open_sysctl" >&5
12950 $as_echo "$ac_cv_lib_procstat_procstat_open_sysctl" >&6; }
12951 if test "x$ac_cv_lib_procstat_procstat_open_sysctl" = xyes; then :
12953 $as_echo "#define HAVE_LIBPROCSTAT 1" >>confdefs.h
12955 LIBPROCSTAT="-lprocstat"
12961 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lodbc" >&5
12962 $as_echo_n "checking for -lodbc... " >&6; }
12963 if ${ac_cv_lib_soname_odbc+:} false; then :
12964 $as_echo_n "(cached) " >&6
12965 else
12966 ac_check_soname_save_LIBS=$LIBS
12967 LIBS="-lodbc $LIBS"
12968 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12969 /* end confdefs.h. */
12971 /* Override any GCC internal prototype to avoid an error.
12972 Use char because int might match the return type of a GCC
12973 builtin and then its argument prototype would still apply. */
12974 #ifdef __cplusplus
12975 extern "C"
12976 #endif
12977 char SQLConnect ();
12979 main ()
12981 return SQLConnect ();
12983 return 0;
12985 _ACEOF
12986 if ac_fn_c_try_link "$LINENO"; then :
12987 case "$LIBEXT" in
12988 dll) ac_cv_lib_soname_odbc=`$ac_cv_path_LDD conftest.exe | grep "odbc" | sed -e "s/dll.*/dll/"';2,$d'` ;;
12989 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'` ;;
12990 *) ac_cv_lib_soname_odbc=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libodbc\\.$LIBEXT" | sed -e "s/^.*\\[\\(libodbc\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
12991 if test "x$ac_cv_lib_soname_odbc" = x; then :
12992 ac_cv_lib_soname_odbc=`$LDD conftest$ac_exeext | grep "libodbc\\.$LIBEXT" | sed -e "s/^.*\(libodbc\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
12993 fi ;;
12994 esac
12996 rm -f core conftest.err conftest.$ac_objext \
12997 conftest$ac_exeext conftest.$ac_ext
12998 LIBS=$ac_check_soname_save_LIBS
13000 if test "x$ac_cv_lib_soname_odbc" = "x"; then :
13001 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
13002 $as_echo "not found" >&6; }
13003 cat >>confdefs.h <<_ACEOF
13004 #define SONAME_LIBODBC "libodbc.$LIBEXT"
13005 _ACEOF
13007 else
13008 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_odbc" >&5
13009 $as_echo "$ac_cv_lib_soname_odbc" >&6; }
13011 cat >>confdefs.h <<_ACEOF
13012 #define SONAME_LIBODBC "$ac_cv_lib_soname_odbc"
13013 _ACEOF
13018 test -n "$ALSALIBS" || enable_winealsa_drv=${enable_winealsa_drv:-no}
13019 test -n "$COREAUDIO" || enable_winecoreaudio_drv=${enable_winecoreaudio_drv:-no}
13020 test "x$ac_cv_member_oss_sysinfo_numaudioengines" = xyes || enable_wineoss_drv=${enable_wineoss_drv:-no}
13021 test "$ac_cv_header_linux_joystick_h" = "yes" || enable_winejoystick_drv=${enable_winejoystick_drv:-no}
13023 if test "x$ALSALIBS$COREAUDIO" = "x" -a \
13024 "x$ac_cv_member_oss_sysinfo_numaudioengines" != xyes -a \
13025 "x$with_alsa$with_coreaudio$with_oss" != xnonono
13026 then
13027 as_fn_append wine_warnings "|No sound system was found. Windows applications will be silent."
13031 EXTRACFLAGS=""
13033 if test "x${GCC}" = "xyes"
13034 then
13035 EXTRACFLAGS="-Wall -pipe"
13037 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for gcc strength-reduce bug" >&5
13038 $as_echo_n "checking for gcc strength-reduce bug... " >&6; }
13039 if ${ac_cv_c_gcc_strength_bug+:} false; then :
13040 $as_echo_n "(cached) " >&6
13041 else
13042 if test "$cross_compiling" = yes; then :
13043 ac_cv_c_gcc_strength_bug="yes"
13044 else
13045 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13046 /* end confdefs.h. */
13047 int L[4] = {0,1,2,3};
13049 main ()
13051 static int Array[3];
13052 unsigned int B = 3;
13053 int i;
13054 for(i=0; i<B; i++) Array[i] = i - 3;
13055 for(i=0; i<4 - 1; i++) L[i] = L[i + 1];
13056 L[i] = 4;
13057 return (Array[1] != -2 || L[2] != 3)
13059 return 0;
13061 _ACEOF
13062 if ac_fn_c_try_run "$LINENO"; then :
13063 ac_cv_c_gcc_strength_bug="no"
13064 else
13065 ac_cv_c_gcc_strength_bug="yes"
13067 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \
13068 conftest.$ac_objext conftest.beam conftest.$ac_ext
13072 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_gcc_strength_bug" >&5
13073 $as_echo "$ac_cv_c_gcc_strength_bug" >&6; }
13074 if test "$ac_cv_c_gcc_strength_bug" = "yes"
13075 then
13076 EXTRACFLAGS="$EXTRACFLAGS -fno-strength-reduce"
13079 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -fno-builtin" >&5
13080 $as_echo_n "checking whether the compiler supports -fno-builtin... " >&6; }
13081 if ${ac_cv_cflags__fno_builtin+:} false; then :
13082 $as_echo_n "(cached) " >&6
13083 else
13084 ac_wine_try_cflags_saved=$CFLAGS
13085 CFLAGS="$CFLAGS -fno-builtin"
13086 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13087 /* end confdefs.h. */
13088 int main(int argc, char **argv) { return 0; }
13089 _ACEOF
13090 if ac_fn_c_try_link "$LINENO"; then :
13091 ac_cv_cflags__fno_builtin=yes
13092 else
13093 ac_cv_cflags__fno_builtin=no
13095 rm -f core conftest.err conftest.$ac_objext \
13096 conftest$ac_exeext conftest.$ac_ext
13097 CFLAGS=$ac_wine_try_cflags_saved
13099 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__fno_builtin" >&5
13100 $as_echo "$ac_cv_cflags__fno_builtin" >&6; }
13101 if test $ac_cv_cflags__fno_builtin = yes; then :
13102 BUILTINFLAG="-fno-builtin"
13105 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -fno-strict-aliasing" >&5
13106 $as_echo_n "checking whether the compiler supports -fno-strict-aliasing... " >&6; }
13107 if ${ac_cv_cflags__fno_strict_aliasing+:} false; then :
13108 $as_echo_n "(cached) " >&6
13109 else
13110 ac_wine_try_cflags_saved=$CFLAGS
13111 CFLAGS="$CFLAGS -fno-strict-aliasing"
13112 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13113 /* end confdefs.h. */
13114 int main(int argc, char **argv) { return 0; }
13115 _ACEOF
13116 if ac_fn_c_try_link "$LINENO"; then :
13117 ac_cv_cflags__fno_strict_aliasing=yes
13118 else
13119 ac_cv_cflags__fno_strict_aliasing=no
13121 rm -f core conftest.err conftest.$ac_objext \
13122 conftest$ac_exeext conftest.$ac_ext
13123 CFLAGS=$ac_wine_try_cflags_saved
13125 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__fno_strict_aliasing" >&5
13126 $as_echo "$ac_cv_cflags__fno_strict_aliasing" >&6; }
13127 if test $ac_cv_cflags__fno_strict_aliasing = yes; then :
13128 EXTRACFLAGS="$EXTRACFLAGS -fno-strict-aliasing"
13130 saved_CFLAGS=$CFLAGS
13131 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Werror=unknown-warning-option" >&5
13132 $as_echo_n "checking whether the compiler supports -Werror=unknown-warning-option... " >&6; }
13133 if ${ac_cv_cflags__Werror_unknown_warning_option+:} false; then :
13134 $as_echo_n "(cached) " >&6
13135 else
13136 ac_wine_try_cflags_saved=$CFLAGS
13137 CFLAGS="$CFLAGS -Werror=unknown-warning-option"
13138 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13139 /* end confdefs.h. */
13140 int main(int argc, char **argv) { return 0; }
13141 _ACEOF
13142 if ac_fn_c_try_link "$LINENO"; then :
13143 ac_cv_cflags__Werror_unknown_warning_option=yes
13144 else
13145 ac_cv_cflags__Werror_unknown_warning_option=no
13147 rm -f core conftest.err conftest.$ac_objext \
13148 conftest$ac_exeext conftest.$ac_ext
13149 CFLAGS=$ac_wine_try_cflags_saved
13151 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Werror_unknown_warning_option" >&5
13152 $as_echo "$ac_cv_cflags__Werror_unknown_warning_option" >&6; }
13153 if test $ac_cv_cflags__Werror_unknown_warning_option = yes; then :
13154 CFLAGS="$CFLAGS -Werror=unknown-warning-option"
13156 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wdeclaration-after-statement" >&5
13157 $as_echo_n "checking whether the compiler supports -Wdeclaration-after-statement... " >&6; }
13158 if ${ac_cv_cflags__Wdeclaration_after_statement+:} false; then :
13159 $as_echo_n "(cached) " >&6
13160 else
13161 ac_wine_try_cflags_saved=$CFLAGS
13162 CFLAGS="$CFLAGS -Wdeclaration-after-statement"
13163 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13164 /* end confdefs.h. */
13165 int main(int argc, char **argv) { return 0; }
13166 _ACEOF
13167 if ac_fn_c_try_link "$LINENO"; then :
13168 ac_cv_cflags__Wdeclaration_after_statement=yes
13169 else
13170 ac_cv_cflags__Wdeclaration_after_statement=no
13172 rm -f core conftest.err conftest.$ac_objext \
13173 conftest$ac_exeext conftest.$ac_ext
13174 CFLAGS=$ac_wine_try_cflags_saved
13176 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wdeclaration_after_statement" >&5
13177 $as_echo "$ac_cv_cflags__Wdeclaration_after_statement" >&6; }
13178 if test $ac_cv_cflags__Wdeclaration_after_statement = yes; then :
13179 EXTRACFLAGS="$EXTRACFLAGS -Wdeclaration-after-statement"
13181 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wempty-body" >&5
13182 $as_echo_n "checking whether the compiler supports -Wempty-body... " >&6; }
13183 if ${ac_cv_cflags__Wempty_body+:} false; then :
13184 $as_echo_n "(cached) " >&6
13185 else
13186 ac_wine_try_cflags_saved=$CFLAGS
13187 CFLAGS="$CFLAGS -Wempty-body"
13188 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13189 /* end confdefs.h. */
13190 int main(int argc, char **argv) { return 0; }
13191 _ACEOF
13192 if ac_fn_c_try_link "$LINENO"; then :
13193 ac_cv_cflags__Wempty_body=yes
13194 else
13195 ac_cv_cflags__Wempty_body=no
13197 rm -f core conftest.err conftest.$ac_objext \
13198 conftest$ac_exeext conftest.$ac_ext
13199 CFLAGS=$ac_wine_try_cflags_saved
13201 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wempty_body" >&5
13202 $as_echo "$ac_cv_cflags__Wempty_body" >&6; }
13203 if test $ac_cv_cflags__Wempty_body = yes; then :
13204 EXTRACFLAGS="$EXTRACFLAGS -Wempty-body"
13206 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wignored-qualifiers" >&5
13207 $as_echo_n "checking whether the compiler supports -Wignored-qualifiers... " >&6; }
13208 if ${ac_cv_cflags__Wignored_qualifiers+:} false; then :
13209 $as_echo_n "(cached) " >&6
13210 else
13211 ac_wine_try_cflags_saved=$CFLAGS
13212 CFLAGS="$CFLAGS -Wignored-qualifiers"
13213 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13214 /* end confdefs.h. */
13215 int main(int argc, char **argv) { return 0; }
13216 _ACEOF
13217 if ac_fn_c_try_link "$LINENO"; then :
13218 ac_cv_cflags__Wignored_qualifiers=yes
13219 else
13220 ac_cv_cflags__Wignored_qualifiers=no
13222 rm -f core conftest.err conftest.$ac_objext \
13223 conftest$ac_exeext conftest.$ac_ext
13224 CFLAGS=$ac_wine_try_cflags_saved
13226 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wignored_qualifiers" >&5
13227 $as_echo "$ac_cv_cflags__Wignored_qualifiers" >&6; }
13228 if test $ac_cv_cflags__Wignored_qualifiers = yes; then :
13229 EXTRACFLAGS="$EXTRACFLAGS -Wignored-qualifiers"
13231 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wstrict-prototypes" >&5
13232 $as_echo_n "checking whether the compiler supports -Wstrict-prototypes... " >&6; }
13233 if ${ac_cv_cflags__Wstrict_prototypes+:} false; then :
13234 $as_echo_n "(cached) " >&6
13235 else
13236 ac_wine_try_cflags_saved=$CFLAGS
13237 CFLAGS="$CFLAGS -Wstrict-prototypes"
13238 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13239 /* end confdefs.h. */
13240 int main(int argc, char **argv) { return 0; }
13241 _ACEOF
13242 if ac_fn_c_try_link "$LINENO"; then :
13243 ac_cv_cflags__Wstrict_prototypes=yes
13244 else
13245 ac_cv_cflags__Wstrict_prototypes=no
13247 rm -f core conftest.err conftest.$ac_objext \
13248 conftest$ac_exeext conftest.$ac_ext
13249 CFLAGS=$ac_wine_try_cflags_saved
13251 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wstrict_prototypes" >&5
13252 $as_echo "$ac_cv_cflags__Wstrict_prototypes" >&6; }
13253 if test $ac_cv_cflags__Wstrict_prototypes = yes; then :
13254 EXTRACFLAGS="$EXTRACFLAGS -Wstrict-prototypes"
13256 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wtype-limits" >&5
13257 $as_echo_n "checking whether the compiler supports -Wtype-limits... " >&6; }
13258 if ${ac_cv_cflags__Wtype_limits+:} false; then :
13259 $as_echo_n "(cached) " >&6
13260 else
13261 ac_wine_try_cflags_saved=$CFLAGS
13262 CFLAGS="$CFLAGS -Wtype-limits"
13263 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13264 /* end confdefs.h. */
13265 int main(int argc, char **argv) { return 0; }
13266 _ACEOF
13267 if ac_fn_c_try_link "$LINENO"; then :
13268 ac_cv_cflags__Wtype_limits=yes
13269 else
13270 ac_cv_cflags__Wtype_limits=no
13272 rm -f core conftest.err conftest.$ac_objext \
13273 conftest$ac_exeext conftest.$ac_ext
13274 CFLAGS=$ac_wine_try_cflags_saved
13276 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wtype_limits" >&5
13277 $as_echo "$ac_cv_cflags__Wtype_limits" >&6; }
13278 if test $ac_cv_cflags__Wtype_limits = yes; then :
13279 EXTRACFLAGS="$EXTRACFLAGS -Wtype-limits"
13281 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wunused-but-set-parameter" >&5
13282 $as_echo_n "checking whether the compiler supports -Wunused-but-set-parameter... " >&6; }
13283 if ${ac_cv_cflags__Wunused_but_set_parameter+:} false; then :
13284 $as_echo_n "(cached) " >&6
13285 else
13286 ac_wine_try_cflags_saved=$CFLAGS
13287 CFLAGS="$CFLAGS -Wunused-but-set-parameter"
13288 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13289 /* end confdefs.h. */
13290 int main(int argc, char **argv) { return 0; }
13291 _ACEOF
13292 if ac_fn_c_try_link "$LINENO"; then :
13293 ac_cv_cflags__Wunused_but_set_parameter=yes
13294 else
13295 ac_cv_cflags__Wunused_but_set_parameter=no
13297 rm -f core conftest.err conftest.$ac_objext \
13298 conftest$ac_exeext conftest.$ac_ext
13299 CFLAGS=$ac_wine_try_cflags_saved
13301 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wunused_but_set_parameter" >&5
13302 $as_echo "$ac_cv_cflags__Wunused_but_set_parameter" >&6; }
13303 if test $ac_cv_cflags__Wunused_but_set_parameter = yes; then :
13304 EXTRACFLAGS="$EXTRACFLAGS -Wunused-but-set-parameter"
13306 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wwrite-strings" >&5
13307 $as_echo_n "checking whether the compiler supports -Wwrite-strings... " >&6; }
13308 if ${ac_cv_cflags__Wwrite_strings+:} false; then :
13309 $as_echo_n "(cached) " >&6
13310 else
13311 ac_wine_try_cflags_saved=$CFLAGS
13312 CFLAGS="$CFLAGS -Wwrite-strings"
13313 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13314 /* end confdefs.h. */
13315 int main(int argc, char **argv) { return 0; }
13316 _ACEOF
13317 if ac_fn_c_try_link "$LINENO"; then :
13318 ac_cv_cflags__Wwrite_strings=yes
13319 else
13320 ac_cv_cflags__Wwrite_strings=no
13322 rm -f core conftest.err conftest.$ac_objext \
13323 conftest$ac_exeext conftest.$ac_ext
13324 CFLAGS=$ac_wine_try_cflags_saved
13326 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wwrite_strings" >&5
13327 $as_echo "$ac_cv_cflags__Wwrite_strings" >&6; }
13328 if test $ac_cv_cflags__Wwrite_strings = yes; then :
13329 EXTRACFLAGS="$EXTRACFLAGS -Wwrite-strings"
13332 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wpointer-arith" >&5
13333 $as_echo_n "checking whether the compiler supports -Wpointer-arith... " >&6; }
13334 if ${ac_cv_cflags__Wpointer_arith+:} false; then :
13335 $as_echo_n "(cached) " >&6
13336 else
13337 ac_wine_try_cflags_saved=$CFLAGS
13338 CFLAGS="$CFLAGS -Wpointer-arith"
13339 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13340 /* end confdefs.h. */
13341 int main(int argc, char **argv) { return 0; }
13342 _ACEOF
13343 if ac_fn_c_try_link "$LINENO"; then :
13344 ac_cv_cflags__Wpointer_arith=yes
13345 else
13346 ac_cv_cflags__Wpointer_arith=no
13348 rm -f core conftest.err conftest.$ac_objext \
13349 conftest$ac_exeext conftest.$ac_ext
13350 CFLAGS=$ac_wine_try_cflags_saved
13352 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wpointer_arith" >&5
13353 $as_echo "$ac_cv_cflags__Wpointer_arith" >&6; }
13354 if test $ac_cv_cflags__Wpointer_arith = yes; then :
13355 saved_string_h_CFLAGS=$CFLAGS
13356 CFLAGS="$CFLAGS -Wpointer-arith -Werror"
13357 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for broken string.h that generates warnings with -Wpointer-arith" >&5
13358 $as_echo_n "checking for broken string.h that generates warnings with -Wpointer-arith... " >&6; }
13359 if ${ac_cv_c_string_h_warnings+:} false; then :
13360 $as_echo_n "(cached) " >&6
13361 else
13362 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13363 /* end confdefs.h. */
13364 #include <string.h>
13366 main ()
13370 return 0;
13372 _ACEOF
13373 if ac_fn_c_try_compile "$LINENO"; then :
13374 ac_cv_c_string_h_warnings=no
13375 else
13376 ac_cv_c_string_h_warnings=yes
13378 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
13380 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_string_h_warnings" >&5
13381 $as_echo "$ac_cv_c_string_h_warnings" >&6; }
13382 test "$ac_cv_c_string_h_warnings" = yes || EXTRACFLAGS="$EXTRACFLAGS -Wpointer-arith"
13383 CFLAGS=$saved_string_h_CFLAGS
13386 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wlogical-op" >&5
13387 $as_echo_n "checking whether the compiler supports -Wlogical-op... " >&6; }
13388 if ${ac_cv_cflags__Wlogical_op+:} false; then :
13389 $as_echo_n "(cached) " >&6
13390 else
13391 ac_wine_try_cflags_saved=$CFLAGS
13392 CFLAGS="$CFLAGS -Wlogical-op"
13393 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13394 /* end confdefs.h. */
13395 int main(int argc, char **argv) { return 0; }
13396 _ACEOF
13397 if ac_fn_c_try_link "$LINENO"; then :
13398 ac_cv_cflags__Wlogical_op=yes
13399 else
13400 ac_cv_cflags__Wlogical_op=no
13402 rm -f core conftest.err conftest.$ac_objext \
13403 conftest$ac_exeext conftest.$ac_ext
13404 CFLAGS=$ac_wine_try_cflags_saved
13406 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wlogical_op" >&5
13407 $as_echo "$ac_cv_cflags__Wlogical_op" >&6; }
13408 if test $ac_cv_cflags__Wlogical_op = yes; then :
13409 saved_string_h_CFLAGS=$CFLAGS
13410 CFLAGS="$CFLAGS -Wlogical-op -Werror"
13411 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for broken string.h that generates warnings with -Wlogical-op" >&5
13412 $as_echo_n "checking for broken string.h that generates warnings with -Wlogical-op... " >&6; }
13413 if ${ac_cv_c_logicalop_noisy+:} false; then :
13414 $as_echo_n "(cached) " >&6
13415 else
13416 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13417 /* end confdefs.h. */
13418 #include <string.h>
13419 char*f(const char *h,char n) {return strchr(h,n);}
13421 main ()
13425 return 0;
13427 _ACEOF
13428 if ac_fn_c_try_compile "$LINENO"; then :
13429 ac_cv_c_logicalop_noisy=no
13430 else
13431 ac_cv_c_logicalop_noisy=yes
13433 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
13435 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_logicalop_noisy" >&5
13436 $as_echo "$ac_cv_c_logicalop_noisy" >&6; }
13437 CFLAGS=$saved_string_h_CFLAGS
13438 test "$ac_cv_c_logicalop_noisy" = yes || EXTRACFLAGS="$EXTRACFLAGS -Wlogical-op"
13441 CFLAGS=$saved_CFLAGS
13443 for ac_flag in $CFLAGS; do
13444 case $ac_flag in
13445 -g) case $host_os in
13446 darwin*) { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -gstabs+" >&5
13447 $as_echo_n "checking whether the compiler supports -gstabs+... " >&6; }
13448 if ${ac_cv_cflags__gstabsp+:} false; then :
13449 $as_echo_n "(cached) " >&6
13450 else
13451 ac_wine_try_cflags_saved=$CFLAGS
13452 CFLAGS="$CFLAGS -gstabs+"
13453 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13454 /* end confdefs.h. */
13455 int main(int argc, char **argv) { return 0; }
13456 _ACEOF
13457 if ac_fn_c_try_link "$LINENO"; then :
13458 ac_cv_cflags__gstabsp=yes
13459 else
13460 ac_cv_cflags__gstabsp=no
13462 rm -f core conftest.err conftest.$ac_objext \
13463 conftest$ac_exeext conftest.$ac_ext
13464 CFLAGS=$ac_wine_try_cflags_saved
13466 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__gstabsp" >&5
13467 $as_echo "$ac_cv_cflags__gstabsp" >&6; }
13468 if test $ac_cv_cflags__gstabsp = yes; then :
13469 EXTRACFLAGS="$EXTRACFLAGS -gstabs+"
13470 fi ;;
13471 *) { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -gdwarf-2" >&5
13472 $as_echo_n "checking whether the compiler supports -gdwarf-2... " >&6; }
13473 if ${ac_cv_cflags__gdwarf_2+:} false; then :
13474 $as_echo_n "(cached) " >&6
13475 else
13476 ac_wine_try_cflags_saved=$CFLAGS
13477 CFLAGS="$CFLAGS -gdwarf-2"
13478 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13479 /* end confdefs.h. */
13480 int main(int argc, char **argv) { return 0; }
13481 _ACEOF
13482 if ac_fn_c_try_link "$LINENO"; then :
13483 ac_cv_cflags__gdwarf_2=yes
13484 else
13485 ac_cv_cflags__gdwarf_2=no
13487 rm -f core conftest.err conftest.$ac_objext \
13488 conftest$ac_exeext conftest.$ac_ext
13489 CFLAGS=$ac_wine_try_cflags_saved
13491 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__gdwarf_2" >&5
13492 $as_echo "$ac_cv_cflags__gdwarf_2" >&6; }
13493 if test $ac_cv_cflags__gdwarf_2 = yes; then :
13494 EXTRACFLAGS="$EXTRACFLAGS -gdwarf-2"
13496 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -gstrict-dwarf" >&5
13497 $as_echo_n "checking whether the compiler supports -gstrict-dwarf... " >&6; }
13498 if ${ac_cv_cflags__gstrict_dwarf+:} false; then :
13499 $as_echo_n "(cached) " >&6
13500 else
13501 ac_wine_try_cflags_saved=$CFLAGS
13502 CFLAGS="$CFLAGS -gstrict-dwarf"
13503 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13504 /* end confdefs.h. */
13505 int main(int argc, char **argv) { return 0; }
13506 _ACEOF
13507 if ac_fn_c_try_link "$LINENO"; then :
13508 ac_cv_cflags__gstrict_dwarf=yes
13509 else
13510 ac_cv_cflags__gstrict_dwarf=no
13512 rm -f core conftest.err conftest.$ac_objext \
13513 conftest$ac_exeext conftest.$ac_ext
13514 CFLAGS=$ac_wine_try_cflags_saved
13516 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__gstrict_dwarf" >&5
13517 $as_echo "$ac_cv_cflags__gstrict_dwarf" >&6; }
13518 if test $ac_cv_cflags__gstrict_dwarf = yes; then :
13519 EXTRACFLAGS="$EXTRACFLAGS -gstrict-dwarf"
13520 fi ;;
13521 esac ;;
13522 esac
13523 done
13525 case $host_cpu in
13526 *i[3456789]86*) { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -fno-omit-frame-pointer" >&5
13527 $as_echo_n "checking whether the compiler supports -fno-omit-frame-pointer... " >&6; }
13528 if ${ac_cv_cflags__fno_omit_frame_pointer+:} false; then :
13529 $as_echo_n "(cached) " >&6
13530 else
13531 ac_wine_try_cflags_saved=$CFLAGS
13532 CFLAGS="$CFLAGS -fno-omit-frame-pointer"
13533 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13534 /* end confdefs.h. */
13535 int main(int argc, char **argv) { return 0; }
13536 _ACEOF
13537 if ac_fn_c_try_link "$LINENO"; then :
13538 ac_cv_cflags__fno_omit_frame_pointer=yes
13539 else
13540 ac_cv_cflags__fno_omit_frame_pointer=no
13542 rm -f core conftest.err conftest.$ac_objext \
13543 conftest$ac_exeext conftest.$ac_ext
13544 CFLAGS=$ac_wine_try_cflags_saved
13546 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__fno_omit_frame_pointer" >&5
13547 $as_echo "$ac_cv_cflags__fno_omit_frame_pointer" >&6; }
13548 if test $ac_cv_cflags__fno_omit_frame_pointer = yes; then :
13549 EXTRACFLAGS="$EXTRACFLAGS -fno-omit-frame-pointer"
13550 fi ;;
13551 esac
13553 case $host in
13554 x86_64-*mingw32*|x86_64-*cygwin*) { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wno-format" >&5
13555 $as_echo_n "checking whether the compiler supports -Wno-format... " >&6; }
13556 if ${ac_cv_cflags__Wno_format+:} false; then :
13557 $as_echo_n "(cached) " >&6
13558 else
13559 ac_wine_try_cflags_saved=$CFLAGS
13560 CFLAGS="$CFLAGS -Wno-format"
13561 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13562 /* end confdefs.h. */
13563 int main(int argc, char **argv) { return 0; }
13564 _ACEOF
13565 if ac_fn_c_try_link "$LINENO"; then :
13566 ac_cv_cflags__Wno_format=yes
13567 else
13568 ac_cv_cflags__Wno_format=no
13570 rm -f core conftest.err conftest.$ac_objext \
13571 conftest$ac_exeext conftest.$ac_ext
13572 CFLAGS=$ac_wine_try_cflags_saved
13574 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wno_format" >&5
13575 $as_echo "$ac_cv_cflags__Wno_format" >&6; }
13576 if test $ac_cv_cflags__Wno_format = yes; then :
13577 EXTRACFLAGS="$EXTRACFLAGS -Wno-format"
13578 fi ;;
13579 esac
13581 if test "x$enable_maintainer_mode" = "xyes"
13582 then
13583 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Werror" >&5
13584 $as_echo_n "checking whether the compiler supports -Werror... " >&6; }
13585 if ${ac_cv_cflags__Werror+:} false; then :
13586 $as_echo_n "(cached) " >&6
13587 else
13588 ac_wine_try_cflags_saved=$CFLAGS
13589 CFLAGS="$CFLAGS -Werror"
13590 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13591 /* end confdefs.h. */
13592 int main(int argc, char **argv) { return 0; }
13593 _ACEOF
13594 if ac_fn_c_try_link "$LINENO"; then :
13595 ac_cv_cflags__Werror=yes
13596 else
13597 ac_cv_cflags__Werror=no
13599 rm -f core conftest.err conftest.$ac_objext \
13600 conftest$ac_exeext conftest.$ac_ext
13601 CFLAGS=$ac_wine_try_cflags_saved
13603 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Werror" >&5
13604 $as_echo "$ac_cv_cflags__Werror" >&6; }
13605 if test $ac_cv_cflags__Werror = yes; then :
13606 EXTRACFLAGS="$EXTRACFLAGS -Werror"
13610 saved_CFLAGS="$CFLAGS"
13611 CFLAGS="$CFLAGS -Werror"
13612 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ms_hook_prologue attribute" >&5
13613 $as_echo_n "checking for ms_hook_prologue attribute... " >&6; }
13614 if ${ac_cv_have_ms_hook_prologue+:} false; then :
13615 $as_echo_n "(cached) " >&6
13616 else
13617 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13618 /* end confdefs.h. */
13619 int __attribute__((__ms_hook_prologue__)) test(void) { return 0; }
13621 main ()
13625 return 0;
13627 _ACEOF
13628 if ac_fn_c_try_compile "$LINENO"; then :
13629 ac_cv_have_ms_hook_prologue="yes"
13630 else
13631 ac_cv_have_ms_hook_prologue="no"
13633 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
13635 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_have_ms_hook_prologue" >&5
13636 $as_echo "$ac_cv_have_ms_hook_prologue" >&6; }
13637 CFLAGS="$saved_CFLAGS"
13638 if test "$ac_cv_have_ms_hook_prologue" = "yes"
13639 then
13641 $as_echo "#define DECLSPEC_HOTPATCH __attribute__((__ms_hook_prologue__))" >>confdefs.h
13643 else
13644 $as_echo "#define DECLSPEC_HOTPATCH /* */" >>confdefs.h
13650 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for the need to disable Fortify" >&5
13651 $as_echo_n "checking for the need to disable Fortify... " >&6; }
13652 if ${ac_cv_c_fortify_enabled+:} false; then :
13653 $as_echo_n "(cached) " >&6
13654 else
13655 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13656 /* end confdefs.h. */
13657 #include <string.h>
13659 main ()
13661 #if defined(__USE_FORTIFY_LEVEL) && __USE_FORTIFY_LEVEL > 0
13662 #error Fortify enabled
13663 #endif
13665 return 0;
13667 _ACEOF
13668 if ac_fn_c_try_compile "$LINENO"; then :
13669 ac_cv_c_fortify_enabled=no
13670 else
13671 ac_cv_c_fortify_enabled=yes
13673 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
13675 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_fortify_enabled" >&5
13676 $as_echo "$ac_cv_c_fortify_enabled" >&6; }
13677 if test "$ac_cv_c_fortify_enabled" = yes
13678 then
13679 CFLAGS="$CFLAGS -U_FORTIFY_SOURCE -D_FORTIFY_SOURCE=0"
13683 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether external symbols need an underscore prefix" >&5
13684 $as_echo_n "checking whether external symbols need an underscore prefix... " >&6; }
13685 if ${ac_cv_c_extern_prefix+:} false; then :
13686 $as_echo_n "(cached) " >&6
13687 else
13688 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13689 /* end confdefs.h. */
13690 extern int ac_test;
13692 main ()
13694 asm(".globl _ac_test\n_ac_test:\t.long 0"); if (ac_test) return 1
13696 return 0;
13698 _ACEOF
13699 if ac_fn_c_try_link "$LINENO"; then :
13700 ac_cv_c_extern_prefix="yes"
13701 else
13702 ac_cv_c_extern_prefix="no"
13704 rm -f core conftest.err conftest.$ac_objext \
13705 conftest$ac_exeext conftest.$ac_ext
13707 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_extern_prefix" >&5
13708 $as_echo "$ac_cv_c_extern_prefix" >&6; }
13710 case $host_cpu in
13711 *i[3456789]86*)
13712 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether external symbols need stdcall decoration" >&5
13713 $as_echo_n "checking whether external symbols need stdcall decoration... " >&6; }
13714 if ${ac_cv_c_stdcall_suffix+:} false; then :
13715 $as_echo_n "(cached) " >&6
13716 else
13717 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13718 /* end confdefs.h. */
13719 #ifndef _MSC_VER
13720 #define __stdcall __attribute__((__stdcall__))
13721 #endif
13722 int __stdcall ac_test(int i) { return i; }
13724 main ()
13726 asm("jmp _ac_test@4"); if (ac_test(1)) return 1
13728 return 0;
13730 _ACEOF
13731 if ac_fn_c_try_link "$LINENO"; then :
13732 ac_cv_c_stdcall_suffix="yes"
13733 else
13734 ac_cv_c_stdcall_suffix="no"
13736 rm -f core conftest.err conftest.$ac_objext \
13737 conftest$ac_exeext conftest.$ac_ext
13739 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_stdcall_suffix" >&5
13740 $as_echo "$ac_cv_c_stdcall_suffix" >&6; } ;;
13741 *) ac_cv_c_stdcall_suffix="no" ;;
13742 esac
13745 if test "$ac_cv_c_extern_prefix" = "yes"
13746 then
13747 $as_echo "#define __ASM_NAME(name) \"_\" name" >>confdefs.h
13749 asm_name_prefix="_"
13750 else
13751 $as_echo "#define __ASM_NAME(name) name" >>confdefs.h
13753 asm_name_prefix=""
13757 if test "$ac_cv_c_stdcall_suffix" = "yes"
13758 then
13759 $as_echo "#define __ASM_STDCALL(args) \"@\" #args" >>confdefs.h
13761 else
13762 $as_echo "#define __ASM_STDCALL(args) \"\"" >>confdefs.h
13767 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to define a function in assembly code" >&5
13768 $as_echo_n "checking how to define a function in assembly code... " >&6; }
13769 if ${ac_cv_asm_func_def+:} false; then :
13770 $as_echo_n "(cached) " >&6
13771 else
13772 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13773 /* end confdefs.h. */
13776 main ()
13778 asm("\t.globl _ac_test\n\t.def _ac_test; .scl 2; .type 32; .endef\n_ac_test:\t.long 0");
13780 return 0;
13782 _ACEOF
13783 if ac_fn_c_try_link "$LINENO"; then :
13784 ac_cv_asm_func_def=".def"
13785 else
13786 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13787 /* end confdefs.h. */
13790 main ()
13792 asm("\t.globl _ac_test\n\t.type _ac_test,@function\n_ac_test:\t.long 0");
13794 return 0;
13796 _ACEOF
13797 if ac_fn_c_try_link "$LINENO"; then :
13798 ac_cv_asm_func_def=".type @function"
13799 else
13800 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13801 /* end confdefs.h. */
13804 main ()
13806 asm("\t.globl _ac_test\n\t.type _ac_test,2\n_ac_test:\t.long 0");
13808 return 0;
13810 _ACEOF
13811 if ac_fn_c_try_link "$LINENO"; then :
13812 ac_cv_asm_func_def=".type 2"
13813 else
13814 ac_cv_asm_func_def="unknown"
13816 rm -f core conftest.err conftest.$ac_objext \
13817 conftest$ac_exeext conftest.$ac_ext
13819 rm -f core conftest.err conftest.$ac_objext \
13820 conftest$ac_exeext conftest.$ac_ext
13822 rm -f core conftest.err conftest.$ac_objext \
13823 conftest$ac_exeext conftest.$ac_ext
13825 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_asm_func_def" >&5
13826 $as_echo "$ac_cv_asm_func_def" >&6; }
13829 case "$ac_cv_asm_func_def" in
13830 ".def")
13831 $as_echo "#define __ASM_FUNC(name) \".def \" __ASM_NAME(name) \"; .scl 2; .type 32; .endef\"" >>confdefs.h
13833 asm_func_header=".def $asm_name_prefix\" #name suffix \"; .scl 2; .type 32; .endef" ;;
13834 ".type @function")
13835 $as_echo "#define __ASM_FUNC(name) \".type \" __ASM_NAME(name) \",@function\"" >>confdefs.h
13837 asm_func_header=".type $asm_name_prefix\" #name suffix \",@function" ;;
13838 ".type 2")
13839 $as_echo "#define __ASM_FUNC(name) \".type \" __ASM_NAME(name) \",2\"" >>confdefs.h
13841 asm_func_header=".type $asm_name_prefix\" #name suffix \",2" ;;
13843 $as_echo "#define __ASM_FUNC(name) \"\"" >>confdefs.h
13845 asm_func_header="" ;;
13846 esac
13848 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether asm() works outside of functions" >&5
13849 $as_echo_n "checking whether asm() works outside of functions... " >&6; }
13850 if ${ac_cv_c_asm_outside_funcs+:} false; then :
13851 $as_echo_n "(cached) " >&6
13852 else
13853 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13854 /* end confdefs.h. */
13855 asm(".text\n\t.long 0");
13857 main ()
13861 return 0;
13863 _ACEOF
13864 if ac_fn_c_try_compile "$LINENO"; then :
13865 ac_cv_c_asm_outside_funcs="yes"
13866 else
13867 ac_cv_c_asm_outside_funcs="no"
13869 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
13871 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_asm_outside_funcs" >&5
13872 $as_echo "$ac_cv_c_asm_outside_funcs" >&6; }
13874 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether .previous is supported in assembly code" >&5
13875 $as_echo_n "checking whether .previous is supported in assembly code... " >&6; }
13876 if ${ac_cv_c_dot_previous+:} false; then :
13877 $as_echo_n "(cached) " >&6
13878 else
13879 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13880 /* end confdefs.h. */
13883 main ()
13885 asm(".text\nac_test:\t.long 0\n\t.previous");
13887 return 0;
13889 _ACEOF
13890 if ac_fn_c_try_link "$LINENO"; then :
13891 ac_cv_c_dot_previous="yes"
13892 else
13893 ac_cv_c_dot_previous="no"
13895 rm -f core conftest.err conftest.$ac_objext \
13896 conftest$ac_exeext conftest.$ac_ext
13898 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_dot_previous" >&5
13899 $as_echo "$ac_cv_c_dot_previous" >&6; }
13901 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether CFI directives are supported in assembly code" >&5
13902 $as_echo_n "checking whether CFI directives are supported in assembly code... " >&6; }
13903 if ${ac_cv_c_cfi_support+:} false; then :
13904 $as_echo_n "(cached) " >&6
13905 else
13906 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13907 /* end confdefs.h. */
13908 asm(".text\nac_test:\t.cfi_startproc\n\t.long 0\n\t.cfi_endproc");
13910 main ()
13914 return 0;
13916 _ACEOF
13917 if ac_fn_c_try_compile "$LINENO"; then :
13918 ac_cv_c_cfi_support="yes"
13919 else
13920 ac_cv_c_cfi_support="no"
13922 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
13924 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_cfi_support" >&5
13925 $as_echo "$ac_cv_c_cfi_support" >&6; }
13927 asm_func_header=".globl $asm_name_prefix\" #name suffix \"\\n\\t$asm_func_header\\n$asm_name_prefix\" #name suffix \":\\n\\t"
13928 asm_func_trailer=""
13929 if test "$ac_cv_c_dot_previous" = "yes"
13930 then
13931 asm_func_trailer="\\n\\t.previous"
13933 if test "$ac_cv_c_cfi_support" = "yes"
13934 then
13935 asm_func_header="$asm_func_header.cfi_startproc\\n\\t"
13936 asm_func_trailer="\\n\\t.cfi_endproc$asm_func_trailer"
13938 $as_echo "#define __ASM_CFI(str) str" >>confdefs.h
13940 UNWINDFLAGS=-fasynchronous-unwind-tables
13942 else
13943 $as_echo "#define __ASM_CFI(str) \"\"" >>confdefs.h
13947 asm_func_code="$asm_func_header\" code \"$asm_func_trailer"
13950 if test "$ac_cv_c_asm_outside_funcs" = "yes"
13951 then
13952 cat >>confdefs.h <<_ACEOF
13953 #define __ASM_DEFINE_FUNC(name,suffix,code) asm(".text\n\t.align 4\n\t$asm_func_code");
13954 _ACEOF
13956 else
13957 cat >>confdefs.h <<_ACEOF
13958 #define __ASM_DEFINE_FUNC(name,suffix,code) void __asm_dummy_##name(void) { asm(".text\n\t.align 4\n\t$asm_func_code"); }
13959 _ACEOF
13963 $as_echo "#define __ASM_GLOBAL_FUNC(name,code) __ASM_DEFINE_FUNC(name,\"\",code)" >>confdefs.h
13966 $as_echo "#define __ASM_STDCALL_FUNC(name,args,code) __ASM_DEFINE_FUNC(name,__ASM_STDCALL(args),code)" >>confdefs.h
13970 case $build_os in
13971 cygwin*|mingw32*) TOOLSEXT=".exe"
13973 esac
13975 MAIN_BINARY="wine"
13977 test "x$enable_win64" != "xyes" || MAIN_BINARY="wine64"
13979 case $host_os in
13980 linux*)
13981 case $host_cpu in
13982 *i[3456789]86*) EXTRA_BINARIES="wine-preloader"
13984 x86_64*) EXTRA_BINARIES="wine64-preloader"
13986 esac
13988 esac
13991 ac_save_CFLAGS="$CFLAGS"
13992 CFLAGS="$CFLAGS $BUILTINFLAG"
13993 for ac_func in \
13994 __res_get_state \
13995 __res_getservers \
13996 _finite \
13997 _isnan \
13998 _pclose \
13999 _popen \
14000 _snprintf \
14001 _spawnvp \
14002 _strdup \
14003 _stricmp \
14004 _strnicmp \
14005 _strtoi64 \
14006 _strtoui64 \
14007 _vsnprintf \
14008 asctime_r \
14009 chsize \
14010 dlopen \
14011 epoll_create \
14012 ffs \
14013 finite \
14014 fnmatch \
14015 fork \
14016 fpclass \
14017 fstatfs \
14018 fstatvfs \
14019 ftruncate \
14020 futimens \
14021 futimes \
14022 futimesat \
14023 getattrlist \
14024 getdirentries \
14025 getopt_long_only \
14026 getpwuid \
14027 gettimeofday \
14028 getuid \
14029 if_nameindex \
14030 kqueue \
14031 lstat \
14032 memmove \
14033 mmap \
14034 pclose \
14035 pipe2 \
14036 poll \
14037 popen \
14038 port_create \
14039 prctl \
14040 pread \
14041 proc_pidinfo \
14042 pwrite \
14043 readdir \
14044 readlink \
14045 sched_yield \
14046 select \
14047 setproctitle \
14048 setrlimit \
14049 settimeofday \
14050 sigaltstack \
14051 sigprocmask \
14052 snprintf \
14053 statfs \
14054 statvfs \
14055 strcasecmp \
14056 strdup \
14057 strerror \
14058 strncasecmp \
14059 strtold \
14060 strtoll \
14061 strtoull \
14062 symlink \
14063 tcdrain \
14064 thr_kill2 \
14065 timegm \
14066 usleep \
14067 vsnprintf
14069 do :
14070 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
14071 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
14072 if eval test \"x\$"$as_ac_var"\" = x"yes"; then :
14073 cat >>confdefs.h <<_ACEOF
14074 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
14075 _ACEOF
14078 done
14080 CFLAGS="$ac_save_CFLAGS"
14082 if test "$ac_cv_func_dlopen" = no
14083 then
14084 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dlopen in -ldl" >&5
14085 $as_echo_n "checking for dlopen in -ldl... " >&6; }
14086 if ${ac_cv_lib_dl_dlopen+:} false; then :
14087 $as_echo_n "(cached) " >&6
14088 else
14089 ac_check_lib_save_LIBS=$LIBS
14090 LIBS="-ldl $LIBS"
14091 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14092 /* end confdefs.h. */
14094 /* Override any GCC internal prototype to avoid an error.
14095 Use char because int might match the return type of a GCC
14096 builtin and then its argument prototype would still apply. */
14097 #ifdef __cplusplus
14098 extern "C"
14099 #endif
14100 char dlopen ();
14102 main ()
14104 return dlopen ();
14106 return 0;
14108 _ACEOF
14109 if ac_fn_c_try_link "$LINENO"; then :
14110 ac_cv_lib_dl_dlopen=yes
14111 else
14112 ac_cv_lib_dl_dlopen=no
14114 rm -f core conftest.err conftest.$ac_objext \
14115 conftest$ac_exeext conftest.$ac_ext
14116 LIBS=$ac_check_lib_save_LIBS
14118 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dl_dlopen" >&5
14119 $as_echo "$ac_cv_lib_dl_dlopen" >&6; }
14120 if test "x$ac_cv_lib_dl_dlopen" = xyes; then :
14121 $as_echo "#define HAVE_DLOPEN 1" >>confdefs.h
14122 LIBDL="-ldl"
14127 ac_wine_check_funcs_save_LIBS="$LIBS"
14128 LIBS="$LIBS $LIBDL"
14129 for ac_func in dladdr
14130 do :
14131 ac_fn_c_check_func "$LINENO" "dladdr" "ac_cv_func_dladdr"
14132 if test "x$ac_cv_func_dladdr" = xyes; then :
14133 cat >>confdefs.h <<_ACEOF
14134 #define HAVE_DLADDR 1
14135 _ACEOF
14138 done
14140 LIBS="$ac_wine_check_funcs_save_LIBS"
14142 if test "$ac_cv_func_poll" = no
14143 then
14144 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for poll in -lpoll" >&5
14145 $as_echo_n "checking for poll in -lpoll... " >&6; }
14146 if ${ac_cv_lib_poll_poll+:} false; then :
14147 $as_echo_n "(cached) " >&6
14148 else
14149 ac_check_lib_save_LIBS=$LIBS
14150 LIBS="-lpoll $LIBS"
14151 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14152 /* end confdefs.h. */
14154 /* Override any GCC internal prototype to avoid an error.
14155 Use char because int might match the return type of a GCC
14156 builtin and then its argument prototype would still apply. */
14157 #ifdef __cplusplus
14158 extern "C"
14159 #endif
14160 char poll ();
14162 main ()
14164 return poll ();
14166 return 0;
14168 _ACEOF
14169 if ac_fn_c_try_link "$LINENO"; then :
14170 ac_cv_lib_poll_poll=yes
14171 else
14172 ac_cv_lib_poll_poll=no
14174 rm -f core conftest.err conftest.$ac_objext \
14175 conftest$ac_exeext conftest.$ac_ext
14176 LIBS=$ac_check_lib_save_LIBS
14178 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_poll_poll" >&5
14179 $as_echo "$ac_cv_lib_poll_poll" >&6; }
14180 if test "x$ac_cv_lib_poll_poll" = xyes; then :
14181 $as_echo "#define HAVE_POLL 1" >>confdefs.h
14182 LIBPOLL="-lpoll"
14188 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for library containing gethostbyname" >&5
14189 $as_echo_n "checking for library containing gethostbyname... " >&6; }
14190 if ${ac_cv_search_gethostbyname+:} false; then :
14191 $as_echo_n "(cached) " >&6
14192 else
14193 ac_func_search_save_LIBS=$LIBS
14194 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14195 /* end confdefs.h. */
14197 /* Override any GCC internal prototype to avoid an error.
14198 Use char because int might match the return type of a GCC
14199 builtin and then its argument prototype would still apply. */
14200 #ifdef __cplusplus
14201 extern "C"
14202 #endif
14203 char gethostbyname ();
14205 main ()
14207 return gethostbyname ();
14209 return 0;
14211 _ACEOF
14212 for ac_lib in '' nsl; do
14213 if test -z "$ac_lib"; then
14214 ac_res="none required"
14215 else
14216 ac_res=-l$ac_lib
14217 LIBS="-l$ac_lib $ac_func_search_save_LIBS"
14219 if ac_fn_c_try_link "$LINENO"; then :
14220 ac_cv_search_gethostbyname=$ac_res
14222 rm -f core conftest.err conftest.$ac_objext \
14223 conftest$ac_exeext
14224 if ${ac_cv_search_gethostbyname+:} false; then :
14225 break
14227 done
14228 if ${ac_cv_search_gethostbyname+:} false; then :
14230 else
14231 ac_cv_search_gethostbyname=no
14233 rm conftest.$ac_ext
14234 LIBS=$ac_func_search_save_LIBS
14236 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_search_gethostbyname" >&5
14237 $as_echo "$ac_cv_search_gethostbyname" >&6; }
14238 ac_res=$ac_cv_search_gethostbyname
14239 if test "$ac_res" != no; then :
14240 test "$ac_res" = "none required" || LIBS="$ac_res $LIBS"
14245 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for library containing connect" >&5
14246 $as_echo_n "checking for library containing connect... " >&6; }
14247 if ${ac_cv_search_connect+:} false; then :
14248 $as_echo_n "(cached) " >&6
14249 else
14250 ac_func_search_save_LIBS=$LIBS
14251 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14252 /* end confdefs.h. */
14254 /* Override any GCC internal prototype to avoid an error.
14255 Use char because int might match the return type of a GCC
14256 builtin and then its argument prototype would still apply. */
14257 #ifdef __cplusplus
14258 extern "C"
14259 #endif
14260 char connect ();
14262 main ()
14264 return connect ();
14266 return 0;
14268 _ACEOF
14269 for ac_lib in '' socket; do
14270 if test -z "$ac_lib"; then
14271 ac_res="none required"
14272 else
14273 ac_res=-l$ac_lib
14274 LIBS="-l$ac_lib $ac_func_search_save_LIBS"
14276 if ac_fn_c_try_link "$LINENO"; then :
14277 ac_cv_search_connect=$ac_res
14279 rm -f core conftest.err conftest.$ac_objext \
14280 conftest$ac_exeext
14281 if ${ac_cv_search_connect+:} false; then :
14282 break
14284 done
14285 if ${ac_cv_search_connect+:} false; then :
14287 else
14288 ac_cv_search_connect=no
14290 rm conftest.$ac_ext
14291 LIBS=$ac_func_search_save_LIBS
14293 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_search_connect" >&5
14294 $as_echo "$ac_cv_search_connect" >&6; }
14295 ac_res=$ac_cv_search_connect
14296 if test "$ac_res" != no; then :
14297 test "$ac_res" = "none required" || LIBS="$ac_res $LIBS"
14302 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for library containing inet_aton" >&5
14303 $as_echo_n "checking for library containing inet_aton... " >&6; }
14304 if ${ac_cv_search_inet_aton+:} false; then :
14305 $as_echo_n "(cached) " >&6
14306 else
14307 ac_func_search_save_LIBS=$LIBS
14308 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14309 /* end confdefs.h. */
14311 /* Override any GCC internal prototype to avoid an error.
14312 Use char because int might match the return type of a GCC
14313 builtin and then its argument prototype would still apply. */
14314 #ifdef __cplusplus
14315 extern "C"
14316 #endif
14317 char inet_aton ();
14319 main ()
14321 return inet_aton ();
14323 return 0;
14325 _ACEOF
14326 for ac_lib in '' resolv; do
14327 if test -z "$ac_lib"; then
14328 ac_res="none required"
14329 else
14330 ac_res=-l$ac_lib
14331 LIBS="-l$ac_lib $ac_func_search_save_LIBS"
14333 if ac_fn_c_try_link "$LINENO"; then :
14334 ac_cv_search_inet_aton=$ac_res
14336 rm -f core conftest.err conftest.$ac_objext \
14337 conftest$ac_exeext
14338 if ${ac_cv_search_inet_aton+:} false; then :
14339 break
14341 done
14342 if ${ac_cv_search_inet_aton+:} false; then :
14344 else
14345 ac_cv_search_inet_aton=no
14347 rm conftest.$ac_ext
14348 LIBS=$ac_func_search_save_LIBS
14350 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_search_inet_aton" >&5
14351 $as_echo "$ac_cv_search_inet_aton" >&6; }
14352 ac_res=$ac_cv_search_inet_aton
14353 if test "$ac_res" != no; then :
14354 test "$ac_res" = "none required" || LIBS="$ac_res $LIBS"
14359 for ac_func in \
14360 getaddrinfo \
14361 getnameinfo \
14362 getnetbyname \
14363 getprotobyname \
14364 getprotobynumber \
14365 getservbyport \
14366 inet_network \
14367 inet_ntop \
14368 inet_pton \
14369 sendmsg \
14370 socketpair \
14372 do :
14373 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
14374 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
14375 if eval test \"x\$"$as_ac_var"\" = x"yes"; then :
14376 cat >>confdefs.h <<_ACEOF
14377 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
14378 _ACEOF
14381 done
14384 ac_save_LIBS=$LIBS
14385 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for library containing clock_gettime" >&5
14386 $as_echo_n "checking for library containing clock_gettime... " >&6; }
14387 if ${ac_cv_search_clock_gettime+:} false; then :
14388 $as_echo_n "(cached) " >&6
14389 else
14390 ac_func_search_save_LIBS=$LIBS
14391 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14392 /* end confdefs.h. */
14394 /* Override any GCC internal prototype to avoid an error.
14395 Use char because int might match the return type of a GCC
14396 builtin and then its argument prototype would still apply. */
14397 #ifdef __cplusplus
14398 extern "C"
14399 #endif
14400 char clock_gettime ();
14402 main ()
14404 return clock_gettime ();
14406 return 0;
14408 _ACEOF
14409 for ac_lib in '' rt; do
14410 if test -z "$ac_lib"; then
14411 ac_res="none required"
14412 else
14413 ac_res=-l$ac_lib
14414 LIBS="-l$ac_lib $ac_func_search_save_LIBS"
14416 if ac_fn_c_try_link "$LINENO"; then :
14417 ac_cv_search_clock_gettime=$ac_res
14419 rm -f core conftest.err conftest.$ac_objext \
14420 conftest$ac_exeext
14421 if ${ac_cv_search_clock_gettime+:} false; then :
14422 break
14424 done
14425 if ${ac_cv_search_clock_gettime+:} false; then :
14427 else
14428 ac_cv_search_clock_gettime=no
14430 rm conftest.$ac_ext
14431 LIBS=$ac_func_search_save_LIBS
14433 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_search_clock_gettime" >&5
14434 $as_echo "$ac_cv_search_clock_gettime" >&6; }
14435 ac_res=$ac_cv_search_clock_gettime
14436 if test "$ac_res" != no; then :
14437 test "$ac_res" = "none required" || LIBS="$ac_res $LIBS"
14439 $as_echo "#define HAVE_CLOCK_GETTIME 1" >>confdefs.h
14441 test "$ac_res" = "none required" || LIBRT="$ac_res"
14445 LIBS=$ac_save_LIBS
14447 LDAPLIBS=""
14449 if test "$ac_cv_header_ldap_h" = "yes" -a "$ac_cv_header_lber_h" = "yes"
14450 then
14451 ac_fn_c_check_type "$LINENO" "LDAPSortKey" "ac_cv_type_LDAPSortKey" "#include <ldap.h>
14453 if test "x$ac_cv_type_LDAPSortKey" = xyes; then :
14454 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ldap_initialize in -lldap_r" >&5
14455 $as_echo_n "checking for ldap_initialize in -lldap_r... " >&6; }
14456 if ${ac_cv_lib_ldap_r_ldap_initialize+:} false; then :
14457 $as_echo_n "(cached) " >&6
14458 else
14459 ac_check_lib_save_LIBS=$LIBS
14460 LIBS="-lldap_r $LIBPTHREAD $LIBS"
14461 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14462 /* end confdefs.h. */
14464 /* Override any GCC internal prototype to avoid an error.
14465 Use char because int might match the return type of a GCC
14466 builtin and then its argument prototype would still apply. */
14467 #ifdef __cplusplus
14468 extern "C"
14469 #endif
14470 char ldap_initialize ();
14472 main ()
14474 return ldap_initialize ();
14476 return 0;
14478 _ACEOF
14479 if ac_fn_c_try_link "$LINENO"; then :
14480 ac_cv_lib_ldap_r_ldap_initialize=yes
14481 else
14482 ac_cv_lib_ldap_r_ldap_initialize=no
14484 rm -f core conftest.err conftest.$ac_objext \
14485 conftest$ac_exeext conftest.$ac_ext
14486 LIBS=$ac_check_lib_save_LIBS
14488 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_ldap_r_ldap_initialize" >&5
14489 $as_echo "$ac_cv_lib_ldap_r_ldap_initialize" >&6; }
14490 if test "x$ac_cv_lib_ldap_r_ldap_initialize" = xyes; then :
14491 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ber_init in -llber" >&5
14492 $as_echo_n "checking for ber_init in -llber... " >&6; }
14493 if ${ac_cv_lib_lber_ber_init+:} false; then :
14494 $as_echo_n "(cached) " >&6
14495 else
14496 ac_check_lib_save_LIBS=$LIBS
14497 LIBS="-llber $LIBPTHREAD $LIBS"
14498 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14499 /* end confdefs.h. */
14501 /* Override any GCC internal prototype to avoid an error.
14502 Use char because int might match the return type of a GCC
14503 builtin and then its argument prototype would still apply. */
14504 #ifdef __cplusplus
14505 extern "C"
14506 #endif
14507 char ber_init ();
14509 main ()
14511 return ber_init ();
14513 return 0;
14515 _ACEOF
14516 if ac_fn_c_try_link "$LINENO"; then :
14517 ac_cv_lib_lber_ber_init=yes
14518 else
14519 ac_cv_lib_lber_ber_init=no
14521 rm -f core conftest.err conftest.$ac_objext \
14522 conftest$ac_exeext conftest.$ac_ext
14523 LIBS=$ac_check_lib_save_LIBS
14525 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_lber_ber_init" >&5
14526 $as_echo "$ac_cv_lib_lber_ber_init" >&6; }
14527 if test "x$ac_cv_lib_lber_ber_init" = xyes; then :
14529 $as_echo "#define HAVE_LDAP 1" >>confdefs.h
14531 LDAPLIBS="-lldap_r -llber"
14538 ac_wine_check_funcs_save_LIBS="$LIBS"
14539 LIBS="$LIBS $LDAPLIBS $LIBPTHREAD"
14540 for ac_func in \
14541 ldap_count_references \
14542 ldap_first_reference \
14543 ldap_next_reference \
14544 ldap_parse_reference \
14545 ldap_parse_sort_control \
14546 ldap_parse_sortresponse_control \
14547 ldap_parse_vlv_control \
14548 ldap_parse_vlvresponse_control
14549 do :
14550 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
14551 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
14552 if eval test \"x\$"$as_ac_var"\" = x"yes"; then :
14553 cat >>confdefs.h <<_ACEOF
14554 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
14555 _ACEOF
14558 done
14560 LIBS="$ac_wine_check_funcs_save_LIBS"
14562 if test "x$LDAPLIBS" = "x"; then :
14563 case "x$with_ldap" in
14564 x) as_fn_append wine_notices "|libldap (OpenLDAP) ${notice_platform}development files not found, LDAP won't be supported." ;;
14565 xno) ;;
14566 *) as_fn_error $? "libldap (OpenLDAP) ${notice_platform}development files not found, LDAP won't be supported.
14567 This is an error since --with-ldap was requested." "$LINENO" 5 ;;
14568 esac
14571 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether mkdir takes only one argument" >&5
14572 $as_echo_n "checking whether mkdir takes only one argument... " >&6; }
14573 if ${wine_cv_one_arg_mkdir+:} false; then :
14574 $as_echo_n "(cached) " >&6
14575 else
14576 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14577 /* end confdefs.h. */
14578 #include <sys/stat.h>
14580 main ()
14582 mkdir("foo");
14584 return 0;
14586 _ACEOF
14587 if ac_fn_c_try_compile "$LINENO"; then :
14588 wine_cv_one_arg_mkdir=yes
14589 else
14590 wine_cv_one_arg_mkdir=no
14592 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
14594 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $wine_cv_one_arg_mkdir" >&5
14595 $as_echo "$wine_cv_one_arg_mkdir" >&6; }
14596 if test "$wine_cv_one_arg_mkdir" = "yes"
14597 then
14599 $as_echo "#define HAVE_ONE_ARG_MKDIR 1" >>confdefs.h
14603 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sched_setaffinity" >&5
14604 $as_echo_n "checking for sched_setaffinity... " >&6; }
14605 if ${wine_cv_have_sched_setaffinity+:} false; then :
14606 $as_echo_n "(cached) " >&6
14607 else
14608 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14609 /* end confdefs.h. */
14610 #define _GNU_SOURCE
14611 #include <sched.h>
14613 main ()
14615 sched_setaffinity(0, 0, 0);
14617 return 0;
14619 _ACEOF
14620 if ac_fn_c_try_link "$LINENO"; then :
14621 wine_cv_have_sched_setaffinity=yes
14622 else
14623 wine_cv_have_sched_setaffinity=no
14625 rm -f core conftest.err conftest.$ac_objext \
14626 conftest$ac_exeext conftest.$ac_ext
14628 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $wine_cv_have_sched_setaffinity" >&5
14629 $as_echo "$wine_cv_have_sched_setaffinity" >&6; }
14630 if test "$wine_cv_have_sched_setaffinity" = "yes"
14631 then
14633 $as_echo "#define HAVE_SCHED_SETAFFINITY 1" >>confdefs.h
14637 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for fallocate" >&5
14638 $as_echo_n "checking for fallocate... " >&6; }
14639 if ${wine_cv_have_fallocate+:} false; then :
14640 $as_echo_n "(cached) " >&6
14641 else
14642 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14643 /* end confdefs.h. */
14644 #define _GNU_SOURCE
14645 #include <fcntl.h>
14647 main ()
14649 fallocate(-1, 0, 0, 0);
14651 return 0;
14653 _ACEOF
14654 if ac_fn_c_try_link "$LINENO"; then :
14655 wine_cv_have_fallocate=yes
14656 else
14657 wine_cv_have_fallocate=no
14659 rm -f core conftest.err conftest.$ac_objext \
14660 conftest$ac_exeext conftest.$ac_ext
14662 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $wine_cv_have_fallocate" >&5
14663 $as_echo "$wine_cv_have_fallocate" >&6; }
14664 if test "$wine_cv_have_fallocate" = "yes"
14665 then
14667 $as_echo "#define HAVE_FALLOCATE 1" >>confdefs.h
14672 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for inline" >&5
14673 $as_echo_n "checking for inline... " >&6; }
14674 if ${ac_cv_c_inline+:} false; then :
14675 $as_echo_n "(cached) " >&6
14676 else
14677 ac_cv_c_inline=no
14678 for ac_kw in inline __inline__ __inline; do
14679 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14680 /* end confdefs.h. */
14681 #ifndef __cplusplus
14682 typedef int foo_t;
14683 static $ac_kw foo_t static_foo () {return 0; }
14684 $ac_kw foo_t foo () {return 0; }
14685 #endif
14687 _ACEOF
14688 if ac_fn_c_try_compile "$LINENO"; then :
14689 ac_cv_c_inline=$ac_kw
14691 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
14692 test "$ac_cv_c_inline" != no && break
14693 done
14696 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_inline" >&5
14697 $as_echo "$ac_cv_c_inline" >&6; }
14699 case $ac_cv_c_inline in
14700 inline | yes) ;;
14702 case $ac_cv_c_inline in
14703 no) ac_val=;;
14704 *) ac_val=$ac_cv_c_inline;;
14705 esac
14706 cat >>confdefs.h <<_ACEOF
14707 #ifndef __cplusplus
14708 #define inline $ac_val
14709 #endif
14710 _ACEOF
14712 esac
14714 ac_fn_c_check_type "$LINENO" "mode_t" "ac_cv_type_mode_t" "$ac_includes_default"
14715 if test "x$ac_cv_type_mode_t" = xyes; then :
14717 cat >>confdefs.h <<_ACEOF
14718 #define HAVE_MODE_T 1
14719 _ACEOF
14723 ac_fn_c_check_type "$LINENO" "off_t" "ac_cv_type_off_t" "$ac_includes_default"
14724 if test "x$ac_cv_type_off_t" = xyes; then :
14726 cat >>confdefs.h <<_ACEOF
14727 #define HAVE_OFF_T 1
14728 _ACEOF
14732 ac_fn_c_check_type "$LINENO" "pid_t" "ac_cv_type_pid_t" "$ac_includes_default"
14733 if test "x$ac_cv_type_pid_t" = xyes; then :
14735 cat >>confdefs.h <<_ACEOF
14736 #define HAVE_PID_T 1
14737 _ACEOF
14741 ac_fn_c_check_type "$LINENO" "size_t" "ac_cv_type_size_t" "$ac_includes_default"
14742 if test "x$ac_cv_type_size_t" = xyes; then :
14744 cat >>confdefs.h <<_ACEOF
14745 #define HAVE_SIZE_T 1
14746 _ACEOF
14750 ac_fn_c_check_type "$LINENO" "ssize_t" "ac_cv_type_ssize_t" "$ac_includes_default"
14751 if test "x$ac_cv_type_ssize_t" = xyes; then :
14753 cat >>confdefs.h <<_ACEOF
14754 #define HAVE_SSIZE_T 1
14755 _ACEOF
14759 ac_fn_c_check_type "$LINENO" "long long" "ac_cv_type_long_long" "$ac_includes_default"
14760 if test "x$ac_cv_type_long_long" = xyes; then :
14762 cat >>confdefs.h <<_ACEOF
14763 #define HAVE_LONG_LONG 1
14764 _ACEOF
14768 ac_fn_c_check_type "$LINENO" "fsblkcnt_t" "ac_cv_type_fsblkcnt_t" "$ac_includes_default"
14769 if test "x$ac_cv_type_fsblkcnt_t" = xyes; then :
14771 cat >>confdefs.h <<_ACEOF
14772 #define HAVE_FSBLKCNT_T 1
14773 _ACEOF
14777 ac_fn_c_check_type "$LINENO" "fsfilcnt_t" "ac_cv_type_fsfilcnt_t" "$ac_includes_default"
14778 if test "x$ac_cv_type_fsfilcnt_t" = xyes; then :
14780 cat >>confdefs.h <<_ACEOF
14781 #define HAVE_FSFILCNT_T 1
14782 _ACEOF
14787 ac_fn_c_check_type "$LINENO" "sigset_t" "ac_cv_type_sigset_t" "#include <sys/types.h>
14788 #include <signal.h>
14790 if test "x$ac_cv_type_sigset_t" = xyes; then :
14792 cat >>confdefs.h <<_ACEOF
14793 #define HAVE_SIGSET_T 1
14794 _ACEOF
14799 ac_fn_c_check_type "$LINENO" "request_sense" "ac_cv_type_request_sense" "#include <linux/cdrom.h>
14801 if test "x$ac_cv_type_request_sense" = xyes; then :
14803 cat >>confdefs.h <<_ACEOF
14804 #define HAVE_REQUEST_SENSE 1
14805 _ACEOF
14811 ac_fn_c_check_type "$LINENO" "struct xinpgen" "ac_cv_type_struct_xinpgen" "#include <sys/types.h>
14812 #ifdef HAVE_SYS_SOCKET_H
14813 #include <sys/socket.h>
14814 #endif
14815 #ifdef HAVE_SYS_SOCKETVAR_H
14816 #include <sys/socketvar.h>
14817 #endif
14818 #ifdef HAVE_NET_ROUTE_H
14819 #include <net/route.h>
14820 #endif
14821 #ifdef HAVE_NETINET_IN_H
14822 #include <netinet/in.h>
14823 #endif
14824 #ifdef HAVE_NETINET_IN_SYSTM_H
14825 #include <netinet/in_systm.h>
14826 #endif
14827 #ifdef HAVE_NETINET_IP_H
14828 #include <netinet/ip.h>
14829 #endif
14830 #ifdef HAVE_NETINET_IN_PCB_H
14831 #include <netinet/in_pcb.h>
14832 #endif
14834 if test "x$ac_cv_type_struct_xinpgen" = xyes; then :
14836 cat >>confdefs.h <<_ACEOF
14837 #define HAVE_STRUCT_XINPGEN 1
14838 _ACEOF
14844 ac_fn_c_check_type "$LINENO" "struct r_debug" "ac_cv_type_struct_r_debug" "#ifdef HAVE_LINK_H
14845 #include <link.h>
14846 #endif
14847 #ifdef HAVE_SYS_LINK_H
14848 #include <sys/link.h>
14849 #endif
14851 if test "x$ac_cv_type_struct_r_debug" = xyes; then :
14853 cat >>confdefs.h <<_ACEOF
14854 #define HAVE_STRUCT_R_DEBUG 1
14855 _ACEOF
14859 ac_fn_c_check_type "$LINENO" "struct link_map" "ac_cv_type_struct_link_map" "#ifdef HAVE_LINK_H
14860 #include <link.h>
14861 #endif
14862 #ifdef HAVE_SYS_LINK_H
14863 #include <sys/link.h>
14864 #endif
14866 if test "x$ac_cv_type_struct_link_map" = xyes; then :
14868 cat >>confdefs.h <<_ACEOF
14869 #define HAVE_STRUCT_LINK_MAP 1
14870 _ACEOF
14876 ac_fn_c_check_member "$LINENO" "struct ff_effect" "direction" "ac_cv_member_struct_ff_effect_direction" "#ifdef HAVE_LINUX_INPUT_H
14877 #include <linux/input.h>
14878 #endif
14880 if test "x$ac_cv_member_struct_ff_effect_direction" = xyes; then :
14882 cat >>confdefs.h <<_ACEOF
14883 #define HAVE_STRUCT_FF_EFFECT_DIRECTION 1
14884 _ACEOF
14890 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sigaddset" >&5
14891 $as_echo_n "checking for sigaddset... " >&6; }
14892 if ${wine_cv_have_sigaddset+:} false; then :
14893 $as_echo_n "(cached) " >&6
14894 else
14895 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14896 /* end confdefs.h. */
14897 #include <signal.h>
14899 main ()
14901 sigset_t set; sigaddset(&set,SIGTERM);
14903 return 0;
14905 _ACEOF
14906 if ac_fn_c_try_link "$LINENO"; then :
14907 wine_cv_have_sigaddset=yes
14908 else
14909 wine_cv_have_sigaddset=no
14911 rm -f core conftest.err conftest.$ac_objext \
14912 conftest$ac_exeext conftest.$ac_ext
14914 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $wine_cv_have_sigaddset" >&5
14915 $as_echo "$wine_cv_have_sigaddset" >&6; }
14916 if test "$wine_cv_have_sigaddset" = "yes"
14917 then
14919 $as_echo "#define HAVE_SIGADDSET 1" >>confdefs.h
14924 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we can use re-entrant gethostbyname_r Linux style" >&5
14925 $as_echo_n "checking whether we can use re-entrant gethostbyname_r Linux style... " >&6; }
14926 if ${wine_cv_linux_gethostbyname_r_6+:} false; then :
14927 $as_echo_n "(cached) " >&6
14928 else
14929 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14930 /* end confdefs.h. */
14931 #include <netdb.h>
14933 main ()
14936 char *name=0;
14937 struct hostent he;
14938 struct hostent *result;
14939 char *buf=0;
14940 int bufsize=0;
14941 int errnr;
14942 char *addr=0;
14943 int addrlen=0;
14944 int addrtype=0;
14945 gethostbyname_r(name,&he,buf,bufsize,&result,&errnr);
14946 gethostbyaddr_r(addr, addrlen, addrtype,&he,buf,bufsize,&result,&errnr);
14949 return 0;
14951 _ACEOF
14952 if ac_fn_c_try_link "$LINENO"; then :
14953 wine_cv_linux_gethostbyname_r_6=yes
14954 else
14955 wine_cv_linux_gethostbyname_r_6=no
14958 rm -f core conftest.err conftest.$ac_objext \
14959 conftest$ac_exeext conftest.$ac_ext
14962 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $wine_cv_linux_gethostbyname_r_6" >&5
14963 $as_echo "$wine_cv_linux_gethostbyname_r_6" >&6; }
14964 if test "$wine_cv_linux_gethostbyname_r_6" = "yes"
14965 then
14967 $as_echo "#define HAVE_LINUX_GETHOSTBYNAME_R_6 1" >>confdefs.h
14971 if test "$ac_cv_header_linux_joystick_h" = "yes"
14972 then
14973 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether linux/joystick.h uses the Linux 2.2+ API" >&5
14974 $as_echo_n "checking whether linux/joystick.h uses the Linux 2.2+ API... " >&6; }
14975 if ${wine_cv_linux_joystick_22_api+:} false; then :
14976 $as_echo_n "(cached) " >&6
14977 else
14978 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14979 /* end confdefs.h. */
14981 #include <sys/ioctl.h>
14982 #include <sys/types.h>
14983 #include <linux/joystick.h>
14985 struct js_event blub;
14986 #if !defined(JS_EVENT_AXIS) || !defined(JS_EVENT_BUTTON)
14987 #error "no 2.2 header"
14988 #endif
14991 main ()
14993 /*empty*/
14995 return 0;
14997 _ACEOF
14998 if ac_fn_c_try_compile "$LINENO"; then :
14999 wine_cv_linux_joystick_22_api=yes
15000 else
15001 wine_cv_linux_joystick_22_api=no
15003 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
15006 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $wine_cv_linux_joystick_22_api" >&5
15007 $as_echo "$wine_cv_linux_joystick_22_api" >&6; }
15008 if test "$wine_cv_linux_joystick_22_api" = "yes"
15009 then
15011 $as_echo "#define HAVE_LINUX_22_JOYSTICK_API 1" >>confdefs.h
15017 ac_fn_c_check_member "$LINENO" "struct statfs" "f_bfree" "ac_cv_member_struct_statfs_f_bfree" "#include <sys/types.h>
15018 #ifdef HAVE_SYS_PARAM_H
15019 # include <sys/param.h>
15020 #endif
15021 #ifdef HAVE_SYS_MOUNT_H
15022 # include <sys/mount.h>
15023 #endif
15024 #ifdef HAVE_SYS_VFS_H
15025 # include <sys/vfs.h>
15026 #endif
15027 #ifdef HAVE_SYS_STATFS_H
15028 # include <sys/statfs.h>
15029 #endif
15031 if test "x$ac_cv_member_struct_statfs_f_bfree" = xyes; then :
15033 cat >>confdefs.h <<_ACEOF
15034 #define HAVE_STRUCT_STATFS_F_BFREE 1
15035 _ACEOF
15039 ac_fn_c_check_member "$LINENO" "struct statfs" "f_bavail" "ac_cv_member_struct_statfs_f_bavail" "#include <sys/types.h>
15040 #ifdef HAVE_SYS_PARAM_H
15041 # include <sys/param.h>
15042 #endif
15043 #ifdef HAVE_SYS_MOUNT_H
15044 # include <sys/mount.h>
15045 #endif
15046 #ifdef HAVE_SYS_VFS_H
15047 # include <sys/vfs.h>
15048 #endif
15049 #ifdef HAVE_SYS_STATFS_H
15050 # include <sys/statfs.h>
15051 #endif
15053 if test "x$ac_cv_member_struct_statfs_f_bavail" = xyes; then :
15055 cat >>confdefs.h <<_ACEOF
15056 #define HAVE_STRUCT_STATFS_F_BAVAIL 1
15057 _ACEOF
15061 ac_fn_c_check_member "$LINENO" "struct statfs" "f_frsize" "ac_cv_member_struct_statfs_f_frsize" "#include <sys/types.h>
15062 #ifdef HAVE_SYS_PARAM_H
15063 # include <sys/param.h>
15064 #endif
15065 #ifdef HAVE_SYS_MOUNT_H
15066 # include <sys/mount.h>
15067 #endif
15068 #ifdef HAVE_SYS_VFS_H
15069 # include <sys/vfs.h>
15070 #endif
15071 #ifdef HAVE_SYS_STATFS_H
15072 # include <sys/statfs.h>
15073 #endif
15075 if test "x$ac_cv_member_struct_statfs_f_frsize" = xyes; then :
15077 cat >>confdefs.h <<_ACEOF
15078 #define HAVE_STRUCT_STATFS_F_FRSIZE 1
15079 _ACEOF
15083 ac_fn_c_check_member "$LINENO" "struct statfs" "f_ffree" "ac_cv_member_struct_statfs_f_ffree" "#include <sys/types.h>
15084 #ifdef HAVE_SYS_PARAM_H
15085 # include <sys/param.h>
15086 #endif
15087 #ifdef HAVE_SYS_MOUNT_H
15088 # include <sys/mount.h>
15089 #endif
15090 #ifdef HAVE_SYS_VFS_H
15091 # include <sys/vfs.h>
15092 #endif
15093 #ifdef HAVE_SYS_STATFS_H
15094 # include <sys/statfs.h>
15095 #endif
15097 if test "x$ac_cv_member_struct_statfs_f_ffree" = xyes; then :
15099 cat >>confdefs.h <<_ACEOF
15100 #define HAVE_STRUCT_STATFS_F_FFREE 1
15101 _ACEOF
15105 ac_fn_c_check_member "$LINENO" "struct statfs" "f_favail" "ac_cv_member_struct_statfs_f_favail" "#include <sys/types.h>
15106 #ifdef HAVE_SYS_PARAM_H
15107 # include <sys/param.h>
15108 #endif
15109 #ifdef HAVE_SYS_MOUNT_H
15110 # include <sys/mount.h>
15111 #endif
15112 #ifdef HAVE_SYS_VFS_H
15113 # include <sys/vfs.h>
15114 #endif
15115 #ifdef HAVE_SYS_STATFS_H
15116 # include <sys/statfs.h>
15117 #endif
15119 if test "x$ac_cv_member_struct_statfs_f_favail" = xyes; then :
15121 cat >>confdefs.h <<_ACEOF
15122 #define HAVE_STRUCT_STATFS_F_FAVAIL 1
15123 _ACEOF
15127 ac_fn_c_check_member "$LINENO" "struct statfs" "f_namelen" "ac_cv_member_struct_statfs_f_namelen" "#include <sys/types.h>
15128 #ifdef HAVE_SYS_PARAM_H
15129 # include <sys/param.h>
15130 #endif
15131 #ifdef HAVE_SYS_MOUNT_H
15132 # include <sys/mount.h>
15133 #endif
15134 #ifdef HAVE_SYS_VFS_H
15135 # include <sys/vfs.h>
15136 #endif
15137 #ifdef HAVE_SYS_STATFS_H
15138 # include <sys/statfs.h>
15139 #endif
15141 if test "x$ac_cv_member_struct_statfs_f_namelen" = xyes; then :
15143 cat >>confdefs.h <<_ACEOF
15144 #define HAVE_STRUCT_STATFS_F_NAMELEN 1
15145 _ACEOF
15151 ac_fn_c_check_member "$LINENO" "struct statvfs" "f_blocks" "ac_cv_member_struct_statvfs_f_blocks" "#ifdef HAVE_SYS_STATVFS_H
15152 #include <sys/statvfs.h>
15153 #endif
15155 if test "x$ac_cv_member_struct_statvfs_f_blocks" = xyes; then :
15157 cat >>confdefs.h <<_ACEOF
15158 #define HAVE_STRUCT_STATVFS_F_BLOCKS 1
15159 _ACEOF
15165 ac_fn_c_check_member "$LINENO" "struct dirent" "d_reclen" "ac_cv_member_struct_dirent_d_reclen" "#ifdef HAVE_DIRENT_H
15166 #include <dirent.h>
15167 #endif
15169 if test "x$ac_cv_member_struct_dirent_d_reclen" = xyes; then :
15171 cat >>confdefs.h <<_ACEOF
15172 #define HAVE_STRUCT_DIRENT_D_RECLEN 1
15173 _ACEOF
15179 ac_fn_c_check_member "$LINENO" "struct msghdr" "msg_accrights" "ac_cv_member_struct_msghdr_msg_accrights" "#include <sys/types.h>
15180 #ifdef HAVE_SYS_SOCKET_H
15181 # include <sys/socket.h>
15182 #endif
15183 #ifdef HAVE_SYS_UN_H
15184 # include <sys/un.h>
15185 #endif
15187 if test "x$ac_cv_member_struct_msghdr_msg_accrights" = xyes; then :
15189 cat >>confdefs.h <<_ACEOF
15190 #define HAVE_STRUCT_MSGHDR_MSG_ACCRIGHTS 1
15191 _ACEOF
15195 ac_fn_c_check_member "$LINENO" "struct sockaddr" "sa_len" "ac_cv_member_struct_sockaddr_sa_len" "#include <sys/types.h>
15196 #ifdef HAVE_SYS_SOCKET_H
15197 # include <sys/socket.h>
15198 #endif
15199 #ifdef HAVE_SYS_UN_H
15200 # include <sys/un.h>
15201 #endif
15203 if test "x$ac_cv_member_struct_sockaddr_sa_len" = xyes; then :
15205 cat >>confdefs.h <<_ACEOF
15206 #define HAVE_STRUCT_SOCKADDR_SA_LEN 1
15207 _ACEOF
15211 ac_fn_c_check_member "$LINENO" "struct sockaddr_un" "sun_len" "ac_cv_member_struct_sockaddr_un_sun_len" "#include <sys/types.h>
15212 #ifdef HAVE_SYS_SOCKET_H
15213 # include <sys/socket.h>
15214 #endif
15215 #ifdef HAVE_SYS_UN_H
15216 # include <sys/un.h>
15217 #endif
15219 if test "x$ac_cv_member_struct_sockaddr_un_sun_len" = xyes; then :
15221 cat >>confdefs.h <<_ACEOF
15222 #define HAVE_STRUCT_SOCKADDR_UN_SUN_LEN 1
15223 _ACEOF
15229 ac_fn_c_check_member "$LINENO" "scsireq_t" "cmd" "ac_cv_member_scsireq_t_cmd" "#include <sys/types.h>
15230 #ifdef HAVE_SCSI_SG_H
15231 #include <scsi/sg.h>
15232 #endif
15234 if test "x$ac_cv_member_scsireq_t_cmd" = xyes; then :
15236 cat >>confdefs.h <<_ACEOF
15237 #define HAVE_SCSIREQ_T_CMD 1
15238 _ACEOF
15242 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>
15243 #ifdef HAVE_SCSI_SG_H
15244 #include <scsi/sg.h>
15245 #endif
15247 if test "x$ac_cv_member_sg_io_hdr_t_interface_id" = xyes; then :
15249 cat >>confdefs.h <<_ACEOF
15250 #define HAVE_SG_IO_HDR_T_INTERFACE_ID 1
15251 _ACEOF
15257 ac_fn_c_check_member "$LINENO" "siginfo_t" "si_fd" "ac_cv_member_siginfo_t_si_fd" "#include <signal.h>
15259 if test "x$ac_cv_member_siginfo_t_si_fd" = xyes; then :
15261 cat >>confdefs.h <<_ACEOF
15262 #define HAVE_SIGINFO_T_SI_FD 1
15263 _ACEOF
15269 ac_fn_c_check_member "$LINENO" "struct mtget" "mt_blksiz" "ac_cv_member_struct_mtget_mt_blksiz" "#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_blksiz" = xyes; then :
15276 cat >>confdefs.h <<_ACEOF
15277 #define HAVE_STRUCT_MTGET_MT_BLKSIZ 1
15278 _ACEOF
15282 ac_fn_c_check_member "$LINENO" "struct mtget" "mt_gstat" "ac_cv_member_struct_mtget_mt_gstat" "#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_gstat" = xyes; then :
15289 cat >>confdefs.h <<_ACEOF
15290 #define HAVE_STRUCT_MTGET_MT_GSTAT 1
15291 _ACEOF
15295 ac_fn_c_check_member "$LINENO" "struct mtget" "mt_blkno" "ac_cv_member_struct_mtget_mt_blkno" "#include <sys/types.h>
15296 #ifdef HAVE_SYS_MTIO_H
15297 #include <sys/mtio.h>
15298 #endif
15300 if test "x$ac_cv_member_struct_mtget_mt_blkno" = xyes; then :
15302 cat >>confdefs.h <<_ACEOF
15303 #define HAVE_STRUCT_MTGET_MT_BLKNO 1
15304 _ACEOF
15310 ac_fn_c_check_member "$LINENO" "struct option" "name" "ac_cv_member_struct_option_name" "#ifdef HAVE_GETOPT_H
15311 #include <getopt.h>
15312 #endif
15314 if test "x$ac_cv_member_struct_option_name" = xyes; then :
15316 cat >>confdefs.h <<_ACEOF
15317 #define HAVE_STRUCT_OPTION_NAME 1
15318 _ACEOF
15324 ac_fn_c_check_member "$LINENO" "struct stat" "st_blocks" "ac_cv_member_struct_stat_st_blocks" "$ac_includes_default"
15325 if test "x$ac_cv_member_struct_stat_st_blocks" = xyes; then :
15327 cat >>confdefs.h <<_ACEOF
15328 #define HAVE_STRUCT_STAT_ST_BLOCKS 1
15329 _ACEOF
15333 ac_fn_c_check_member "$LINENO" "struct stat" "st_mtim" "ac_cv_member_struct_stat_st_mtim" "$ac_includes_default"
15334 if test "x$ac_cv_member_struct_stat_st_mtim" = xyes; then :
15336 cat >>confdefs.h <<_ACEOF
15337 #define HAVE_STRUCT_STAT_ST_MTIM 1
15338 _ACEOF
15342 ac_fn_c_check_member "$LINENO" "struct stat" "st_mtimespec" "ac_cv_member_struct_stat_st_mtimespec" "$ac_includes_default"
15343 if test "x$ac_cv_member_struct_stat_st_mtimespec" = xyes; then :
15345 cat >>confdefs.h <<_ACEOF
15346 #define HAVE_STRUCT_STAT_ST_MTIMESPEC 1
15347 _ACEOF
15351 ac_fn_c_check_member "$LINENO" "struct stat" "st_ctim" "ac_cv_member_struct_stat_st_ctim" "$ac_includes_default"
15352 if test "x$ac_cv_member_struct_stat_st_ctim" = xyes; then :
15354 cat >>confdefs.h <<_ACEOF
15355 #define HAVE_STRUCT_STAT_ST_CTIM 1
15356 _ACEOF
15360 ac_fn_c_check_member "$LINENO" "struct stat" "st_ctimespec" "ac_cv_member_struct_stat_st_ctimespec" "$ac_includes_default"
15361 if test "x$ac_cv_member_struct_stat_st_ctimespec" = xyes; then :
15363 cat >>confdefs.h <<_ACEOF
15364 #define HAVE_STRUCT_STAT_ST_CTIMESPEC 1
15365 _ACEOF
15369 ac_fn_c_check_member "$LINENO" "struct stat" "st_atim" "ac_cv_member_struct_stat_st_atim" "$ac_includes_default"
15370 if test "x$ac_cv_member_struct_stat_st_atim" = xyes; then :
15372 cat >>confdefs.h <<_ACEOF
15373 #define HAVE_STRUCT_STAT_ST_ATIM 1
15374 _ACEOF
15378 ac_fn_c_check_member "$LINENO" "struct stat" "st_atimespec" "ac_cv_member_struct_stat_st_atimespec" "$ac_includes_default"
15379 if test "x$ac_cv_member_struct_stat_st_atimespec" = xyes; then :
15381 cat >>confdefs.h <<_ACEOF
15382 #define HAVE_STRUCT_STAT_ST_ATIMESPEC 1
15383 _ACEOF
15387 ac_fn_c_check_member "$LINENO" "struct stat" "st_birthtime" "ac_cv_member_struct_stat_st_birthtime" "$ac_includes_default"
15388 if test "x$ac_cv_member_struct_stat_st_birthtime" = xyes; then :
15390 cat >>confdefs.h <<_ACEOF
15391 #define HAVE_STRUCT_STAT_ST_BIRTHTIME 1
15392 _ACEOF
15396 ac_fn_c_check_member "$LINENO" "struct stat" "st_birthtim" "ac_cv_member_struct_stat_st_birthtim" "$ac_includes_default"
15397 if test "x$ac_cv_member_struct_stat_st_birthtim" = xyes; then :
15399 cat >>confdefs.h <<_ACEOF
15400 #define HAVE_STRUCT_STAT_ST_BIRTHTIM 1
15401 _ACEOF
15405 ac_fn_c_check_member "$LINENO" "struct stat" "st_birthtimespec" "ac_cv_member_struct_stat_st_birthtimespec" "$ac_includes_default"
15406 if test "x$ac_cv_member_struct_stat_st_birthtimespec" = xyes; then :
15408 cat >>confdefs.h <<_ACEOF
15409 #define HAVE_STRUCT_STAT_ST_BIRTHTIMESPEC 1
15410 _ACEOF
15414 ac_fn_c_check_member "$LINENO" "struct stat" "__st_birthtime" "ac_cv_member_struct_stat___st_birthtime" "$ac_includes_default"
15415 if test "x$ac_cv_member_struct_stat___st_birthtime" = xyes; then :
15417 cat >>confdefs.h <<_ACEOF
15418 #define HAVE_STRUCT_STAT___ST_BIRTHTIME 1
15419 _ACEOF
15423 ac_fn_c_check_member "$LINENO" "struct stat" "__st_birthtim" "ac_cv_member_struct_stat___st_birthtim" "$ac_includes_default"
15424 if test "x$ac_cv_member_struct_stat___st_birthtim" = xyes; then :
15426 cat >>confdefs.h <<_ACEOF
15427 #define HAVE_STRUCT_STAT___ST_BIRTHTIM 1
15428 _ACEOF
15434 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
15435 #include <sys/types.h>
15436 #endif
15437 #ifdef HAVE_NETINET_IN_H
15438 #include <netinet/in.h>
15439 #endif
15441 if test "x$ac_cv_member_struct_sockaddr_in6_sin6_scope_id" = xyes; then :
15443 cat >>confdefs.h <<_ACEOF
15444 #define HAVE_STRUCT_SOCKADDR_IN6_SIN6_SCOPE_ID 1
15445 _ACEOF
15451 ac_fn_c_check_type "$LINENO" "struct __res_state" "ac_cv_type_struct___res_state" "#ifdef HAVE_RESOLV_H
15452 #include <resolv.h>
15453 #endif
15455 if test "x$ac_cv_type_struct___res_state" = xyes; then :
15457 cat >>confdefs.h <<_ACEOF
15458 #define HAVE_STRUCT___RES_STATE 1
15459 _ACEOF
15465 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
15466 #include <resolv.h>
15467 #endif
15469 if test "x$ac_cv_member_struct___res_state__u__ext_nscount6" = xyes; then :
15471 cat >>confdefs.h <<_ACEOF
15472 #define HAVE_STRUCT___RES_STATE__U__EXT_NSCOUNT6 1
15473 _ACEOF
15479 ac_fn_c_check_member "$LINENO" "ns_msg" "_msg_ptr" "ac_cv_member_ns_msg__msg_ptr" "#ifdef HAVE_SYS_TYPES_H
15480 #include <sys/types.h>
15481 #endif
15482 #ifdef HAVE_NETINET_IN_H
15483 # include <netinet/in.h>
15484 #endif
15485 #ifdef HAVE_ARPA_NAMESER_H
15486 # include <arpa/nameser.h>
15487 #endif
15489 if test "x$ac_cv_member_ns_msg__msg_ptr" = xyes; then :
15491 cat >>confdefs.h <<_ACEOF
15492 #define HAVE_NS_MSG__MSG_PTR 1
15493 _ACEOF
15499 ac_fn_c_check_member "$LINENO" "struct icmpstat" "icps_inhist" "ac_cv_member_struct_icmpstat_icps_inhist" "#ifdef HAVE_SYS_TYPES_H
15500 #include <sys/types.h>
15501 #endif
15502 #ifdef HAVE_NETINET_IP_H
15503 #include <netinet/ip.h>
15504 #endif
15505 #ifdef HAVE_NETINET_IP_ICMP_H
15506 #include <netinet/ip_icmp.h>
15507 #endif
15508 #ifdef HAVE_NETINET_ICMP_VAR_H
15509 #include <netinet/icmp_var.h>
15510 #endif
15512 if test "x$ac_cv_member_struct_icmpstat_icps_inhist" = xyes; then :
15514 cat >>confdefs.h <<_ACEOF
15515 #define HAVE_STRUCT_ICMPSTAT_ICPS_INHIST 1
15516 _ACEOF
15522 ac_fn_c_check_member "$LINENO" "struct icmpstat" "icps_outhist" "ac_cv_member_struct_icmpstat_icps_outhist" "#ifdef HAVE_SYS_TYPES_H
15523 #include <sys/types.h>
15524 #endif
15525 #ifdef HAVE_ALIAS_H
15526 #include <alias.h>
15527 #endif
15528 #ifdef HAVE_SYS_SOCKET_H
15529 #include <sys/socket.h>
15530 #endif
15531 #ifdef HAVE_SYS_SOCKETVAR_H
15532 #include <sys/socketvar.h>
15533 #endif
15534 #ifdef HAVE_SYS_TIMEOUT_H
15535 #include <sys/timeout.h>
15536 #endif
15537 #ifdef HAVE_NETINET_IN_H
15538 #include <netinet/in.h>
15539 #endif
15540 #ifdef HAVE_NETINET_IN_SYSTM_H
15541 #include <netinet/in_systm.h>
15542 #endif
15543 #ifdef HAVE_NETINET_IP_H
15544 #include <netinet/ip.h>
15545 #endif
15546 #ifdef HAVE_NETINET_IP_VAR_H
15547 #include <netinet/ip_var.h>
15548 #endif
15549 #ifdef HAVE_NETINET_IP_ICMP_H
15550 #include <netinet/ip_icmp.h>
15551 #endif
15552 #ifdef HAVE_NETINET_ICMP_VAR_H
15553 #include <netinet/icmp_var.h>
15554 #endif
15556 if test "x$ac_cv_member_struct_icmpstat_icps_outhist" = xyes; then :
15558 cat >>confdefs.h <<_ACEOF
15559 #define HAVE_STRUCT_ICMPSTAT_ICPS_OUTHIST 1
15560 _ACEOF
15566 ac_fn_c_check_member "$LINENO" "struct ipstat" "ips_total" "ac_cv_member_struct_ipstat_ips_total" "#ifdef HAVE_SYS_TYPES_H
15567 #include <sys/types.h>
15568 #endif
15569 #ifdef HAVE_SYS_SOCKETVAR_H
15570 #include <sys/socketvar.h>
15571 #endif
15572 #ifdef HAVE_NETINET_IN_H
15573 #include <netinet/in.h>
15574 #endif
15575 #ifdef HAVE_NETINET_IP_VAR_H
15576 #include <netinet/ip_var.h>
15577 #endif
15579 if test "x$ac_cv_member_struct_ipstat_ips_total" = xyes; then :
15581 cat >>confdefs.h <<_ACEOF
15582 #define HAVE_STRUCT_IPSTAT_IPS_TOTAL 1
15583 _ACEOF
15589 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
15590 #include <netinet/ip_var.h>
15591 #endif
15593 if test "x$ac_cv_member_struct_ip_stats_ips_total" = xyes; then :
15595 cat >>confdefs.h <<_ACEOF
15596 #define HAVE_STRUCT_IP_STATS_IPS_TOTAL 1
15597 _ACEOF
15603 ac_fn_c_check_member "$LINENO" "struct tcpstat" "tcps_connattempt" "ac_cv_member_struct_tcpstat_tcps_connattempt" "#ifdef HAVE_SYS_TYPES_H
15604 #include <sys/types.h>
15605 #endif
15606 #ifdef HAVE_SYS_SOCKETVAR_H
15607 #include <sys/socketvar.h>
15608 #endif
15609 #ifdef HAVE_NETINET_IN_H
15610 #include <netinet/in.h>
15611 #endif
15612 #ifdef HAVE_NETINET_TCP_H
15613 #include <netinet/tcp.h>
15614 #endif
15615 #ifdef HAVE_NETINET_TCP_VAR_H
15616 #include <netinet/tcp_var.h>
15617 #endif
15619 if test "x$ac_cv_member_struct_tcpstat_tcps_connattempt" = xyes; then :
15621 cat >>confdefs.h <<_ACEOF
15622 #define HAVE_STRUCT_TCPSTAT_TCPS_CONNATTEMPT 1
15623 _ACEOF
15629 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
15630 #include <netinet/tcp_var.h>
15631 #endif
15633 if test "x$ac_cv_member_struct_tcp_stats_tcps_connattempt" = xyes; then :
15635 cat >>confdefs.h <<_ACEOF
15636 #define HAVE_STRUCT_TCP_STATS_TCPS_CONNATTEMPT 1
15637 _ACEOF
15643 ac_fn_c_check_member "$LINENO" "struct udpstat" "udps_ipackets" "ac_cv_member_struct_udpstat_udps_ipackets" "#ifdef HAVE_SYS_TYPES_H
15644 #include <sys/types.h>
15645 #endif
15646 #ifdef HAVE_NETINET_IN_H
15647 #include <netinet/in.h>
15648 #endif
15649 #ifdef HAVE_NETINET_IP_VAR_H
15650 #include <netinet/ip_var.h>
15651 #endif
15652 #ifdef HAVE_NETINET_UDP_H
15653 #include <netinet/udp.h>
15654 #endif
15655 #ifdef HAVE_NETINET_UDP_VAR_H
15656 #include <netinet/udp_var.h>
15657 #endif
15659 if test "x$ac_cv_member_struct_udpstat_udps_ipackets" = xyes; then :
15661 cat >>confdefs.h <<_ACEOF
15662 #define HAVE_STRUCT_UDPSTAT_UDPS_IPACKETS 1
15663 _ACEOF
15669 ac_fn_c_check_member "$LINENO" "struct ifreq" "ifr_hwaddr" "ac_cv_member_struct_ifreq_ifr_hwaddr" "#ifdef HAVE_SYS_TYPES_H
15670 #include <sys/types.h>
15671 #endif
15672 #ifdef HAVE_NET_IF_H
15673 # include <net/if.h>
15674 #endif
15676 if test "x$ac_cv_member_struct_ifreq_ifr_hwaddr" = xyes; then :
15678 cat >>confdefs.h <<_ACEOF
15679 #define HAVE_STRUCT_IFREQ_IFR_HWADDR 1
15680 _ACEOF
15686 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for timezone variable" >&5
15687 $as_echo_n "checking for timezone variable... " >&6; }
15688 if ${ac_cv_have_timezone+:} false; then :
15689 $as_echo_n "(cached) " >&6
15690 else
15691 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15692 /* end confdefs.h. */
15693 #include <time.h>
15695 main ()
15697 timezone = 1
15699 return 0;
15701 _ACEOF
15702 if ac_fn_c_try_link "$LINENO"; then :
15703 ac_cv_have_timezone="yes"
15704 else
15705 ac_cv_have_timezone="no"
15707 rm -f core conftest.err conftest.$ac_objext \
15708 conftest$ac_exeext conftest.$ac_ext
15710 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_have_timezone" >&5
15711 $as_echo "$ac_cv_have_timezone" >&6; }
15712 if test "$ac_cv_have_timezone" = "yes"
15713 then
15715 $as_echo "#define HAVE_TIMEZONE 1" >>confdefs.h
15718 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for daylight variable" >&5
15719 $as_echo_n "checking for daylight variable... " >&6; }
15720 if ${ac_cv_have_daylight+:} false; then :
15721 $as_echo_n "(cached) " >&6
15722 else
15723 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15724 /* end confdefs.h. */
15725 #include <time.h>
15727 main ()
15729 daylight = 1
15731 return 0;
15733 _ACEOF
15734 if ac_fn_c_try_link "$LINENO"; then :
15735 ac_cv_have_daylight="yes"
15736 else
15737 ac_cv_have_daylight="no"
15739 rm -f core conftest.err conftest.$ac_objext \
15740 conftest$ac_exeext conftest.$ac_ext
15742 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_have_daylight" >&5
15743 $as_echo "$ac_cv_have_daylight" >&6; }
15744 if test "$ac_cv_have_daylight" = "yes"
15745 then
15747 $as_echo "#define HAVE_DAYLIGHT 1" >>confdefs.h
15751 ac_save_LIBS="$LIBS"
15752 LIBS="$LIBS -lm"
15753 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for isinf" >&5
15754 $as_echo_n "checking for isinf... " >&6; }
15755 if ${ac_cv_have_isinf+:} false; then :
15756 $as_echo_n "(cached) " >&6
15757 else
15758 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15759 /* end confdefs.h. */
15760 #include <math.h>
15762 main ()
15764 float f = 0.0; return isinf(f)
15766 return 0;
15768 _ACEOF
15769 if ac_fn_c_try_link "$LINENO"; then :
15770 ac_cv_have_isinf="yes"
15771 else
15772 ac_cv_have_isinf="no"
15774 rm -f core conftest.err conftest.$ac_objext \
15775 conftest$ac_exeext conftest.$ac_ext
15777 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_have_isinf" >&5
15778 $as_echo "$ac_cv_have_isinf" >&6; }
15779 if test "$ac_cv_have_isinf" = "yes"
15780 then
15782 $as_echo "#define HAVE_ISINF 1" >>confdefs.h
15786 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for isnan" >&5
15787 $as_echo_n "checking for isnan... " >&6; }
15788 if ${ac_cv_have_isnan+:} false; then :
15789 $as_echo_n "(cached) " >&6
15790 else
15791 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15792 /* end confdefs.h. */
15793 #include <math.h>
15795 main ()
15797 float f = 0.0; return isnan(f)
15799 return 0;
15801 _ACEOF
15802 if ac_fn_c_try_link "$LINENO"; then :
15803 ac_cv_have_isnan="yes"
15804 else
15805 ac_cv_have_isnan="no"
15807 rm -f core conftest.err conftest.$ac_objext \
15808 conftest$ac_exeext conftest.$ac_ext
15810 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_have_isnan" >&5
15811 $as_echo "$ac_cv_have_isnan" >&6; }
15812 if test "$ac_cv_have_isnan" = "yes"
15813 then
15815 $as_echo "#define HAVE_ISNAN 1" >>confdefs.h
15818 LIBS="$ac_save_LIBS"
15821 case $host_cpu in
15822 *i[3456789]86*) { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we need to define __i386__" >&5
15823 $as_echo_n "checking whether we need to define __i386__... " >&6; }
15824 if ${ac_cv_cpp_def___i386__+:} false; then :
15825 $as_echo_n "(cached) " >&6
15826 else
15827 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15828 /* end confdefs.h. */
15829 #ifndef __i386__
15831 #endif
15832 _ACEOF
15833 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
15834 $EGREP "yes" >/dev/null 2>&1; then :
15835 ac_cv_cpp_def___i386__=yes
15836 else
15837 ac_cv_cpp_def___i386__=no
15839 rm -f conftest*
15842 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cpp_def___i386__" >&5
15843 $as_echo "$ac_cv_cpp_def___i386__" >&6; }
15844 if test $ac_cv_cpp_def___i386__ = yes; then :
15845 CFLAGS="$CFLAGS -D__i386__"
15846 LINTFLAGS="$LINTFLAGS -D__i386__"
15847 fi ;;
15848 *x86_64*) { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we need to define __x86_64__" >&5
15849 $as_echo_n "checking whether we need to define __x86_64__... " >&6; }
15850 if ${ac_cv_cpp_def___x86_64__+:} false; then :
15851 $as_echo_n "(cached) " >&6
15852 else
15853 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15854 /* end confdefs.h. */
15855 #ifndef __x86_64__
15857 #endif
15858 _ACEOF
15859 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
15860 $EGREP "yes" >/dev/null 2>&1; then :
15861 ac_cv_cpp_def___x86_64__=yes
15862 else
15863 ac_cv_cpp_def___x86_64__=no
15865 rm -f conftest*
15868 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cpp_def___x86_64__" >&5
15869 $as_echo "$ac_cv_cpp_def___x86_64__" >&6; }
15870 if test $ac_cv_cpp_def___x86_64__ = yes; then :
15871 CFLAGS="$CFLAGS -D__x86_64__"
15872 LINTFLAGS="$LINTFLAGS -D__x86_64__"
15873 fi ;;
15874 *sparc64*) { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we need to define __sparc64__" >&5
15875 $as_echo_n "checking whether we need to define __sparc64__... " >&6; }
15876 if ${ac_cv_cpp_def___sparc64__+:} false; then :
15877 $as_echo_n "(cached) " >&6
15878 else
15879 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15880 /* end confdefs.h. */
15881 #ifndef __sparc64__
15883 #endif
15884 _ACEOF
15885 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
15886 $EGREP "yes" >/dev/null 2>&1; then :
15887 ac_cv_cpp_def___sparc64__=yes
15888 else
15889 ac_cv_cpp_def___sparc64__=no
15891 rm -f conftest*
15894 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cpp_def___sparc64__" >&5
15895 $as_echo "$ac_cv_cpp_def___sparc64__" >&6; }
15896 if test $ac_cv_cpp_def___sparc64__ = yes; then :
15897 CFLAGS="$CFLAGS -D__sparc64__"
15898 LINTFLAGS="$LINTFLAGS -D__sparc64__"
15899 fi ;;
15900 *sparc*) { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we need to define __sparc__" >&5
15901 $as_echo_n "checking whether we need to define __sparc__... " >&6; }
15902 if ${ac_cv_cpp_def___sparc__+:} false; then :
15903 $as_echo_n "(cached) " >&6
15904 else
15905 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15906 /* end confdefs.h. */
15907 #ifndef __sparc__
15909 #endif
15910 _ACEOF
15911 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
15912 $EGREP "yes" >/dev/null 2>&1; then :
15913 ac_cv_cpp_def___sparc__=yes
15914 else
15915 ac_cv_cpp_def___sparc__=no
15917 rm -f conftest*
15920 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cpp_def___sparc__" >&5
15921 $as_echo "$ac_cv_cpp_def___sparc__" >&6; }
15922 if test $ac_cv_cpp_def___sparc__ = yes; then :
15923 CFLAGS="$CFLAGS -D__sparc__"
15924 LINTFLAGS="$LINTFLAGS -D__sparc__"
15925 fi ;;
15926 *powerpc64*) { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we need to define __powerpc64__" >&5
15927 $as_echo_n "checking whether we need to define __powerpc64__... " >&6; }
15928 if ${ac_cv_cpp_def___powerpc64__+:} false; then :
15929 $as_echo_n "(cached) " >&6
15930 else
15931 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15932 /* end confdefs.h. */
15933 #ifndef __powerpc64__
15935 #endif
15936 _ACEOF
15937 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
15938 $EGREP "yes" >/dev/null 2>&1; then :
15939 ac_cv_cpp_def___powerpc64__=yes
15940 else
15941 ac_cv_cpp_def___powerpc64__=no
15943 rm -f conftest*
15946 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cpp_def___powerpc64__" >&5
15947 $as_echo "$ac_cv_cpp_def___powerpc64__" >&6; }
15948 if test $ac_cv_cpp_def___powerpc64__ = yes; then :
15949 CFLAGS="$CFLAGS -D__powerpc64__"
15950 LINTFLAGS="$LINTFLAGS -D__powerpc64__"
15951 fi ;;
15952 *powerpc*) { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we need to define __powerpc__" >&5
15953 $as_echo_n "checking whether we need to define __powerpc__... " >&6; }
15954 if ${ac_cv_cpp_def___powerpc__+:} false; then :
15955 $as_echo_n "(cached) " >&6
15956 else
15957 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15958 /* end confdefs.h. */
15959 #ifndef __powerpc__
15961 #endif
15962 _ACEOF
15963 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
15964 $EGREP "yes" >/dev/null 2>&1; then :
15965 ac_cv_cpp_def___powerpc__=yes
15966 else
15967 ac_cv_cpp_def___powerpc__=no
15969 rm -f conftest*
15972 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cpp_def___powerpc__" >&5
15973 $as_echo "$ac_cv_cpp_def___powerpc__" >&6; }
15974 if test $ac_cv_cpp_def___powerpc__ = yes; then :
15975 CFLAGS="$CFLAGS -D__powerpc__"
15976 LINTFLAGS="$LINTFLAGS -D__powerpc__"
15977 fi ;;
15978 *aarch64*) { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we need to define __aarch64__" >&5
15979 $as_echo_n "checking whether we need to define __aarch64__... " >&6; }
15980 if ${ac_cv_cpp_def___aarch64__+:} false; then :
15981 $as_echo_n "(cached) " >&6
15982 else
15983 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15984 /* end confdefs.h. */
15985 #ifndef __aarch64__
15987 #endif
15988 _ACEOF
15989 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
15990 $EGREP "yes" >/dev/null 2>&1; then :
15991 ac_cv_cpp_def___aarch64__=yes
15992 else
15993 ac_cv_cpp_def___aarch64__=no
15995 rm -f conftest*
15998 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cpp_def___aarch64__" >&5
15999 $as_echo "$ac_cv_cpp_def___aarch64__" >&6; }
16000 if test $ac_cv_cpp_def___aarch64__ = yes; then :
16001 CFLAGS="$CFLAGS -D__aarch64__"
16002 LINTFLAGS="$LINTFLAGS -D__aarch64__"
16003 fi ;;
16004 *arm*) { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we need to define __arm__" >&5
16005 $as_echo_n "checking whether we need to define __arm__... " >&6; }
16006 if ${ac_cv_cpp_def___arm__+:} false; then :
16007 $as_echo_n "(cached) " >&6
16008 else
16009 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
16010 /* end confdefs.h. */
16011 #ifndef __arm__
16013 #endif
16014 _ACEOF
16015 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
16016 $EGREP "yes" >/dev/null 2>&1; then :
16017 ac_cv_cpp_def___arm__=yes
16018 else
16019 ac_cv_cpp_def___arm__=no
16021 rm -f conftest*
16024 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cpp_def___arm__" >&5
16025 $as_echo "$ac_cv_cpp_def___arm__" >&6; }
16026 if test $ac_cv_cpp_def___arm__ = yes; then :
16027 CFLAGS="$CFLAGS -D__arm__"
16028 LINTFLAGS="$LINTFLAGS -D__arm__"
16029 fi ;;
16030 esac
16032 case $host_vendor in
16033 *sun*) { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we need to define __sun__" >&5
16034 $as_echo_n "checking whether we need to define __sun__... " >&6; }
16035 if ${ac_cv_cpp_def___sun__+:} false; then :
16036 $as_echo_n "(cached) " >&6
16037 else
16038 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
16039 /* end confdefs.h. */
16040 #ifndef __sun__
16042 #endif
16043 _ACEOF
16044 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
16045 $EGREP "yes" >/dev/null 2>&1; then :
16046 ac_cv_cpp_def___sun__=yes
16047 else
16048 ac_cv_cpp_def___sun__=no
16050 rm -f conftest*
16053 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cpp_def___sun__" >&5
16054 $as_echo "$ac_cv_cpp_def___sun__" >&6; }
16055 if test $ac_cv_cpp_def___sun__ = yes; then :
16056 CFLAGS="$CFLAGS -D__sun__"
16057 LINTFLAGS="$LINTFLAGS -D__sun__"
16058 fi ;;
16059 esac
16065 ac_config_commands="$ac_config_commands include/stamp-h"
16067 $as_echo_n "creating Makefile rules..." >&6
16069 wine_rules_file=conf$$rules.make
16070 rm -f $wine_rules_file
16071 ALL_POT_FILES=""
16072 ALL_TEST_RESOURCES=""
16075 wine_fn_append_file ()
16077 as_fn_append $1 " \\$as_nl $2"
16080 wine_fn_append_rule ()
16082 $as_echo "$1" >>$wine_rules_file
16085 wine_fn_has_flag ()
16087 expr ",$2," : ".*,$1,.*" >/dev/null
16090 wine_fn_all_dir_rules ()
16092 ac_dir=$1
16093 ac_alldeps=$2
16094 ac_makedep="\$(MAKEDEP)"
16095 ac_input=Make.vars.in:$ac_dir/Makefile.in
16096 if test $ac_dir != tools
16097 then
16098 ac_alldeps="$2 $ac_makedep"
16099 else
16100 ac_alldeps="$2 include/config.h"
16102 case $2 in
16103 *.in) ac_input=$ac_input:$2 ;;
16104 *) ac_makedep="$2 $ac_makedep" ;;
16105 esac
16107 wine_fn_append_rule \
16108 "$ac_dir/Makefile: $ac_dir/Makefile.in Make.vars.in config.status $ac_alldeps
16109 @./config.status --file $ac_dir/Makefile:$ac_input && cd $ac_dir && \$(MAKE) depend
16110 depend: $ac_dir/__depend__
16111 .PHONY: $ac_dir/__depend__
16112 $ac_dir/__depend__: $ac_makedep dummy
16113 @./config.status --file $ac_dir/Makefile:$ac_input && cd $ac_dir && \$(MAKE) depend"
16116 wine_fn_pot_rules ()
16118 ac_dir=$1
16119 ac_flags=$2
16121 test "x$with_gettextpo" = xyes || return
16123 if wine_fn_has_flag mc $ac_flags
16124 then
16125 wine_fn_append_file ALL_POT_FILES $ac_dir/msg.pot
16126 wine_fn_append_rule \
16127 "$ac_dir/msg.pot: $ac_dir/Makefile dummy
16128 @cd $ac_dir && \$(MAKE) msg.pot
16129 $ac_dir/msg.pot: tools/wmc include"
16131 if wine_fn_has_flag po $ac_flags
16132 then
16133 wine_fn_append_file ALL_POT_FILES $ac_dir/rsrc.pot
16134 wine_fn_append_rule \
16135 "$ac_dir/rsrc.pot: $ac_dir/Makefile dummy
16136 @cd $ac_dir && \$(MAKE) rsrc.pot
16137 $ac_dir/rsrc.pot: tools/wrc include"
16141 wine_fn_config_all_make_rules ()
16143 ac_dir=$1
16144 ac_enable=$2
16145 ac_flags=$3
16146 ac_rules=$4
16147 if eval test \"x\$"$ac_enable"\" = x"no"; then :
16148 return 0
16151 wine_fn_all_dir_rules $ac_dir ${ac_rules:-Make.rules}
16152 wine_fn_append_rule \
16153 "all: $ac_dir
16154 .PHONY: $ac_dir
16155 $ac_dir: $ac_dir/Makefile dummy
16156 @cd $ac_dir && \$(MAKE)"
16158 wine_fn_has_flag install-lib $ac_flags || wine_fn_has_flag install-dev $ac_flags || return
16160 wine_fn_append_rule \
16161 ".PHONY: $ac_dir/__install__ $ac_dir/__uninstall__
16162 $ac_dir/__install__:: $ac_dir
16163 @cd $ac_dir && \$(MAKE) install
16164 $ac_dir/__uninstall__:: $ac_dir/Makefile
16165 @cd $ac_dir && \$(MAKE) uninstall
16166 install:: $ac_dir/__install__
16167 __uninstall__: $ac_dir/__uninstall__"
16169 if wine_fn_has_flag install-lib $ac_flags
16170 then
16171 wine_fn_append_rule \
16172 ".PHONY: $ac_dir/__install-lib__
16173 $ac_dir/__install-lib__:: $ac_dir
16174 @cd $ac_dir && \$(MAKE) install-lib
16175 install-lib:: $ac_dir/__install-lib__"
16178 if wine_fn_has_flag install-dev $ac_flags
16179 then
16180 wine_fn_append_rule \
16181 ".PHONY: $ac_dir/__install-dev
16182 $ac_dir/__install-dev__:: $ac_dir
16183 @cd $ac_dir && \$(MAKE) install-dev
16184 install-dev:: $ac_dir/__install-dev__"
16188 wine_fn_clean_rules ()
16190 ac_dir=$1
16191 ac_flags=$2
16192 shift; shift
16193 ac_clean=$@
16195 if wine_fn_has_flag clean $ac_flags
16196 then
16197 wine_fn_append_rule \
16198 "__clean__: $ac_dir/__clean__
16199 .PHONY: $ac_dir/__clean__
16200 $ac_dir/__clean__: $ac_dir/Makefile
16201 @cd $ac_dir && \$(MAKE) clean
16202 \$(RM) $ac_dir/Makefile"
16203 else
16204 wine_fn_append_rule \
16205 "clean::
16206 \$(RM) \$(CLEAN_FILES:%=$ac_dir/%) $ac_clean $ac_dir/Makefile"
16210 wine_fn_config_makefile ()
16212 ac_dir=$1
16213 ac_enable=$2
16214 ac_flags=$3
16216 wine_fn_config_all_make_rules $ac_dir $ac_enable $ac_flags
16217 wine_fn_clean_rules $ac_dir $ac_flags
16220 wine_fn_config_lib ()
16222 ac_name=$1
16223 ac_flags=$2
16224 ac_dir=dlls/$ac_name
16225 wine_fn_config_all_make_rules $ac_dir enable_$ac_name "$ac_flags" dlls/Makeimplib.rules
16226 wine_fn_clean_rules $ac_dir $ac_flags
16228 if wine_fn_has_flag install-dev $ac_flags
16229 then :
16230 else
16231 wine_fn_append_rule \
16232 ".PHONY: $ac_dir/__install__ $ac_dir/__uninstall__
16233 $ac_dir/__install__:: $ac_dir \$(DESTDIR)\$(dlldir)
16234 \$(INSTALL_DATA) $ac_dir/lib$ac_name.a \$(DESTDIR)\$(dlldir)/lib$ac_name.a
16235 $ac_dir/__uninstall__::
16236 \$(RM) \$(DESTDIR)\$(dlldir)/lib$ac_name.a
16237 install install-dev:: $ac_dir/__install__
16238 __uninstall__: $ac_dir/__uninstall__"
16241 wine_fn_append_rule \
16242 "__builddeps__: $ac_dir
16243 $ac_dir: tools/widl tools/winebuild tools/winegcc include"
16246 wine_fn_config_dll ()
16248 ac_name=$1
16249 ac_dir=dlls/$ac_name
16250 ac_enable=$2
16251 ac_flags=$3
16252 ac_implib=${4:-$ac_name}
16253 ac_file=$ac_dir/lib$ac_implib
16254 ac_dll=$ac_name
16255 ac_deps="tools/widl tools/winebuild tools/winegcc include"
16256 ac_implibflags=""
16258 case $ac_name in
16259 *16) ac_implibflags=" -m16" ;;
16260 *.*) ;;
16261 *) ac_dll=$ac_dll.dll ;;
16262 esac
16264 wine_fn_config_all_make_rules $ac_dir $ac_enable "$ac_flags" dlls/Makedll.rules
16266 ac_clean=
16267 wine_fn_has_flag implib $ac_flags && ac_clean="$ac_clean $ac_file.$IMPLIBEXT"
16268 wine_fn_has_flag mc $ac_flags && ac_clean="$ac_clean $ac_dir/msg.pot"
16269 wine_fn_has_flag po $ac_flags && ac_clean="$ac_clean $ac_dir/rsrc.pot"
16270 wine_fn_clean_rules $ac_dir "$ac_flags" $ac_clean
16272 if eval test \"x\$"$ac_enable"\" = x"no"; then :
16273 test "$ac_enable" != enable_win16 || return 0
16274 wine_fn_has_flag implib $ac_flags && wine_fn_all_dir_rules $ac_dir dlls/Makedll.rules
16275 else
16276 wine_fn_append_rule \
16277 "$ac_dir: __builddeps__
16278 manpages htmlpages sgmlpages xmlpages:: $ac_dir/Makefile
16279 @cd $ac_dir && \$(MAKE) \$@"
16281 if wine_fn_has_flag install-lib $ac_flags
16282 then :
16283 else
16284 wine_fn_append_rule \
16285 ".PHONY: $ac_dir/__install-lib__ $ac_dir/__uninstall__
16286 install install-lib:: $ac_dir/__install-lib__
16287 __uninstall__: $ac_dir/__uninstall__"
16288 if test -n "$DLLEXT"
16289 then
16290 wine_fn_append_rule \
16291 "$ac_dir/__install-lib__:: $ac_dir \$(DESTDIR)\$(dlldir) \$(DESTDIR)\$(fakedlldir)
16292 \$(INSTALL_PROGRAM) $ac_dir/$ac_dll$DLLEXT \$(DESTDIR)\$(dlldir)/$DLLPREFIX$ac_dll$DLLEXT
16293 \$(INSTALL_DATA) $ac_dir/$ac_dll.fake \$(DESTDIR)\$(fakedlldir)/$ac_dll
16294 $ac_dir/__uninstall__::
16295 \$(RM) \$(DESTDIR)\$(dlldir)/$DLLPREFIX$ac_dll$DLLEXT \$(DESTDIR)\$(fakedlldir)/$ac_dll"
16296 else
16297 wine_fn_append_rule \
16298 "$ac_dir/__install-lib__:: $ac_dir \$(DESTDIR)\$(dlldir)
16299 \$(INSTALL_PROGRAM) $ac_dir/$ac_dll \$(DESTDIR)\$(dlldir)/$ac_dll
16300 $ac_dir/__uninstall__::
16301 \$(RM) \$(DESTDIR)\$(dlldir)/$ac_dll"
16305 wine_fn_pot_rules $ac_dir $ac_flags
16308 if wine_fn_has_flag staticimplib $ac_flags
16309 then
16310 wine_fn_append_rule \
16311 "__builddeps__: $ac_file.$IMPLIBEXT $ac_file.$STATIC_IMPLIBEXT
16312 $ac_file.$IMPLIBEXT $ac_file.$STATIC_IMPLIBEXT $ac_file.cross.a: $ac_deps
16313 $ac_file.def: $ac_dir/$ac_name.spec $ac_dir/Makefile
16314 @cd $ac_dir && \$(MAKE) lib$ac_implib.def
16315 $ac_file.$STATIC_IMPLIBEXT: $ac_dir/Makefile dummy
16316 @cd $ac_dir && \$(MAKE) lib$ac_implib.$STATIC_IMPLIBEXT
16317 .PHONY: $ac_dir/__install-dev__ $ac_dir/__uninstall__
16318 $ac_dir/__install-dev__:: $ac_file.$IMPLIBEXT \$(DESTDIR)\$(dlldir)
16319 \$(INSTALL_DATA) $ac_file.$IMPLIBEXT \$(DESTDIR)\$(dlldir)/lib$ac_implib.$IMPLIBEXT
16320 $ac_dir/__uninstall__::
16321 \$(RM) \$(DESTDIR)\$(dlldir)/lib$ac_implib.$IMPLIBEXT
16322 install install-dev:: $ac_dir/__install-dev__
16323 __uninstall__: $ac_dir/__uninstall__"
16325 if test "$IMPLIBEXT" != "$STATIC_IMPLIBEXT"
16326 then
16327 wine_fn_append_rule \
16328 "$ac_dir/__install-dev__:: $ac_file.$STATIC_IMPLIBEXT \$(DESTDIR)\$(dlldir) __builddeps__
16329 \$(INSTALL_DATA) $ac_file.$STATIC_IMPLIBEXT \$(DESTDIR)\$(dlldir)/lib$ac_implib.$STATIC_IMPLIBEXT
16330 $ac_dir/__uninstall__::
16331 \$(RM) \$(DESTDIR)\$(dlldir)/lib$ac_implib.$STATIC_IMPLIBEXT"
16334 if test "x$CROSSTEST_DISABLE" = x
16335 then
16336 wine_fn_append_rule \
16337 "__builddeps__: $ac_file.cross.a
16338 $ac_file.cross.a: $ac_dir/Makefile dummy
16339 @cd $ac_dir && \$(MAKE) lib$ac_implib.cross.a"
16342 elif wine_fn_has_flag implib $ac_flags
16343 then
16344 wine_fn_append_rule \
16345 "__builddeps__: $ac_file.$IMPLIBEXT
16346 $ac_file.def: $ac_dir/$ac_name.spec $ac_dir/Makefile \$(WINEBUILD)
16347 \$(WINEBUILD) \$(TARGETFLAGS)$ac_implibflags -w --def -o \$@ --export \$(srcdir)/$ac_dir/$ac_name.spec
16348 $ac_file.a: $ac_dir/$ac_name.spec $ac_dir/Makefile \$(WINEBUILD)
16349 \$(WINEBUILD) \$(TARGETFLAGS)$ac_implibflags -w --implib -o \$@ --export \$(srcdir)/$ac_dir/$ac_name.spec
16350 .PHONY: $ac_dir/__install-dev__ $ac_dir/__uninstall__
16351 $ac_dir/__install-dev__:: $ac_file.$IMPLIBEXT \$(DESTDIR)\$(dlldir)
16352 \$(INSTALL_DATA) $ac_file.$IMPLIBEXT \$(DESTDIR)\$(dlldir)/lib$ac_implib.$IMPLIBEXT
16353 $ac_dir/__uninstall__::
16354 \$(RM) \$(DESTDIR)\$(dlldir)/lib$ac_implib.$IMPLIBEXT
16355 install install-dev:: $ac_dir/__install-dev__
16356 __uninstall__: $ac_dir/__uninstall__"
16357 if test "x$CROSSTEST_DISABLE" = x
16358 then
16359 wine_fn_append_rule \
16360 "__builddeps__: $ac_file.cross.a
16361 $ac_file.cross.a: $ac_dir/$ac_name.spec $ac_dir/Makefile \$(WINEBUILD)
16362 \$(WINEBUILD) \$(CROSSTARGET:%=-b %)$ac_implibflags -w --implib -o \$@ --export \$(srcdir)/$ac_dir/$ac_name.spec"
16365 if test "$ac_name" != "$ac_implib"
16366 then
16367 wine_fn_append_rule \
16368 "__builddeps__: dlls/lib$ac_implib.$IMPLIBEXT
16369 dlls/lib$ac_implib.$IMPLIBEXT: $ac_file.$IMPLIBEXT
16370 \$(RM) \$@ && \$(LN_S) $ac_name/lib$ac_implib.$IMPLIBEXT \$@
16371 clean::
16372 \$(RM) dlls/lib$ac_implib.$IMPLIBEXT"
16373 if test "x$CROSSTEST_DISABLE" = x
16374 then
16375 wine_fn_append_rule \
16376 "__builddeps__: dlls/lib$ac_implib.cross.a
16377 dlls/lib$ac_implib.cross.a: $ac_file.cross.a
16378 \$(RM) \$@ && \$(LN_S) $ac_name/lib$ac_implib.cross.a \$@"
16384 wine_fn_config_program ()
16386 ac_name=$1
16387 ac_dir=programs/$ac_name
16388 ac_enable=$2
16389 ac_flags=$3
16390 ac_program=$ac_name
16392 case $ac_name in
16393 *.*) ;;
16394 *) ac_program=$ac_program.exe ;;
16395 esac
16397 wine_fn_config_all_make_rules $ac_dir $ac_enable "$ac_flags" programs/Makeprog.rules
16399 ac_clean=
16400 wine_fn_has_flag mc $ac_flags && ac_clean="$ac_clean $ac_dir/msg.pot"
16401 wine_fn_has_flag po $ac_flags && ac_clean="$ac_clean $ac_dir/rsrc.pot"
16402 wine_fn_has_flag manpage $ac_flags && ac_clean="$ac_clean $ac_dir/$ac_name.man"
16403 test -n "$DLLEXT" || ac_clean="$ac_clean $ac_dir/$ac_program"
16404 wine_fn_clean_rules $ac_dir "$ac_flags" $ac_clean
16406 if eval test \"x\$"$ac_enable"\" = x"no"; then :
16408 else
16409 wine_fn_append_rule "$ac_dir: __builddeps__"
16411 wine_fn_pot_rules $ac_dir $ac_flags
16413 wine_fn_has_flag install $ac_flags || return
16414 wine_fn_append_rule \
16415 ".PHONY: $ac_dir/__install__ $ac_dir/__uninstall__
16416 install install-lib:: $ac_dir/__install__
16417 __uninstall__: $ac_dir/__uninstall__"
16419 if test -n "$DLLEXT"
16420 then
16421 wine_fn_append_rule \
16422 "$ac_dir/__install__:: $ac_dir \$(DESTDIR)\$(dlldir) \$(DESTDIR)\$(fakedlldir)
16423 \$(INSTALL_PROGRAM) $ac_dir/$ac_program$DLLEXT \$(DESTDIR)\$(dlldir)/$DLLPREFIX$ac_program$DLLEXT
16424 \$(INSTALL_DATA) $ac_dir/$ac_program.fake \$(DESTDIR)\$(fakedlldir)/$ac_program
16425 $ac_dir/__uninstall__::
16426 \$(RM) \$(DESTDIR)\$(dlldir)/$DLLPREFIX$ac_program$DLLEXT \$(DESTDIR)\$(fakedlldir)/$ac_program"
16428 if test "x$enable_tools" != xno && wine_fn_has_flag installbin $ac_flags
16429 then
16430 wine_fn_append_rule \
16431 "$ac_dir/__install__:: tools \$(DESTDIR)\$(bindir)
16432 \$(INSTALL_SCRIPT) tools/wineapploader \$(DESTDIR)\$(bindir)/$ac_name
16433 $ac_dir/__uninstall__::
16434 \$(RM) \$(DESTDIR)\$(bindir)/$ac_name"
16436 else
16437 wine_fn_append_rule \
16438 "$ac_dir/__install-lib__:: $ac_dir \$(DESTDIR)\$(dlldir)
16439 \$(INSTALL_PROGRAM) $ac_dir/$ac_program \$(DESTDIR)\$(dlldir)/$ac_program
16440 $ac_dir/__uninstall__::
16441 \$(RM) \$(DESTDIR)\$(dlldir)/$ac_program"
16444 if test "x$enable_tools" != xno && wine_fn_has_flag manpage $ac_flags
16445 then
16446 wine_fn_append_rule \
16447 "$ac_dir/__install__:: $ac_dir \$(DESTDIR)\$(mandir)/man\$(prog_manext)
16448 \$(INSTALL_DATA) $ac_dir/$ac_name.man \$(DESTDIR)\$(mandir)/man\$(prog_manext)/$ac_name.\$(prog_manext)
16449 $ac_dir/__uninstall__::
16450 \$(RM) \$(DESTDIR)\$(mandir)/man\$(prog_manext)/$ac_name.\$(prog_manext)"
16455 wine_fn_config_test ()
16457 ac_dir=$1
16458 ac_name=$2
16459 ac_flags=$3
16461 ac_clean=
16462 test "x$CROSSTEST_DISABLE" = x && ac_clean=`expr $ac_dir/${ac_name} : "\\(.*\\)_test"`_crosstest.exe
16463 test -n "$DLLEXT" || ac_clean=$ac_dir/${ac_name}.exe
16464 ac_clean="$ac_clean $ac_dir/*.ok $ac_dir/testlist.c"
16466 wine_fn_append_file ALL_TEST_RESOURCES $ac_name.res
16467 wine_fn_all_dir_rules $ac_dir Maketest.rules
16468 wine_fn_clean_rules $ac_dir "$ac_flags" $ac_clean
16470 if test "x$enable_tests" = xno; then :
16472 else
16473 wine_fn_append_rule \
16474 "all: $ac_dir
16475 .PHONY: $ac_dir
16476 $ac_dir: $ac_dir/Makefile programs/winetest/Makefile __builddeps__ dummy
16477 @cd $ac_dir && \$(MAKE)
16478 programs/winetest: $ac_dir
16479 check test: $ac_dir/__test__
16480 .PHONY: $ac_dir/__test__
16481 $ac_dir/__test__: dummy
16482 @cd $ac_dir && \$(MAKE) test
16483 testclean::
16484 \$(RM) $ac_dir/*.ok"
16486 if test "x$CROSSTEST_DISABLE" = x
16487 then
16488 wine_fn_append_rule \
16489 "crosstest: $ac_dir/__crosstest__
16490 .PHONY: $ac_dir/__crosstest__
16491 $ac_dir/__crosstest__: $ac_dir/Makefile __builddeps__ dummy
16492 @cd $ac_dir && \$(MAKE) crosstest"
16497 wine_fn_config_tool ()
16499 ac_dir=$1
16500 ac_flags=$2
16501 if test "x$enable_tools" = xno; then :
16502 return 0
16505 wine_fn_config_all_make_rules $ac_dir enable_tools $ac_flags
16506 wine_fn_clean_rules $ac_dir $ac_flags
16508 wine_fn_append_rule "__tooldeps__: $ac_dir"
16509 wine_fn_append_rule "$ac_dir: libs/port"
16510 case $ac_dir in
16511 tools/winebuild) wine_fn_append_rule "\$(WINEBUILD): $ac_dir" ;;
16512 esac
16515 wine_fn_config_makerules ()
16517 ac_rules=$1
16518 ac_deps=$2
16519 wine_fn_append_rule \
16520 "$ac_rules: $ac_rules.in $ac_deps config.status
16521 @./config.status $ac_rules
16522 distclean::
16523 \$(RM) $ac_rules"
16526 wine_fn_config_symlink ()
16528 ac_linkdir=
16529 if test "x$1" = "x-d"
16530 then
16531 ac_linkdir=$2
16532 shift; shift
16534 ac_links=$@
16535 wine_fn_append_rule \
16536 "$ac_links:
16537 @./config.status \$@
16538 distclean::
16539 \$(RM) $ac_links"
16540 test -n "$ac_linkdir" || return
16541 wine_fn_append_rule "$ac_linkdir/Makefile $ac_linkdir/__depend__: $ac_links"
16544 if test "x$CROSSTEST_DISABLE" != x
16545 then
16546 wine_fn_append_rule \
16547 "crosstest:
16548 @echo \"crosstest is not supported (mingw not installed?)\" && false"
16550 wine_fn_append_rule "
16551 # Rules automatically generated by configure
16553 .INIT: Makefile
16554 .MAKEFILEDEPS:
16555 all: Makefile
16556 Makefile: Makefile.in Make.vars.in Make.rules config.status
16557 @./config.status Make.tmp Makefile"
16559 ac_config_links="$ac_config_links dlls/shell32/AUTHORS:AUTHORS"
16560 wine_fn_config_symlink -d dlls/shell32 dlls/shell32/AUTHORS
16561 ac_config_links="$ac_config_links dlls/wineps.drv/generic.ppd:dlls/wineps.drv/generic.ppd"
16562 test "$srcdir" = "." || wine_fn_config_symlink dlls/wineps.drv/generic.ppd
16563 if test "x$enable_fonts" != xno; then
16564 ac_config_links="$ac_config_links fonts/marlett.ttf:fonts/marlett.ttf"
16565 ac_config_links="$ac_config_links fonts/symbol.ttf:fonts/symbol.ttf"
16566 ac_config_links="$ac_config_links fonts/tahoma.ttf:fonts/tahoma.ttf"
16567 ac_config_links="$ac_config_links fonts/tahomabd.ttf:fonts/tahomabd.ttf"
16568 test "$srcdir" = "." || wine_fn_config_symlink fonts/marlett.ttf fonts/symbol.ttf fonts/tahoma.ttf fonts/tahomabd.ttf
16570 ac_config_links="$ac_config_links po/LINGUAS:po/LINGUAS"
16571 test "$srcdir" = "." || wine_fn_config_symlink po/LINGUAS
16572 if test "x$enable_tools" != xno; then
16573 ac_config_links="$ac_config_links tools/l_intl.nls:tools/l_intl.nls"
16574 test "$srcdir" = "." || wine_fn_config_symlink tools/l_intl.nls
16576 ac_config_links="$ac_config_links wine:tools/winewrapper"
16577 wine_fn_config_symlink wine
16578 if test "x$enable_win64" != xno; then
16579 ac_config_links="$ac_config_links wine64:tools/winewrapper"
16580 wine_fn_config_symlink wine64
16583 ac_config_commands="$ac_config_commands dlls/gdi32/dibdrv"
16584 wine_fn_append_rule \
16585 "clean::
16586 \$(RM) \$(CLEAN_FILES:%=dlls/gdi32/dibdrv/%)"
16587 ac_config_commands="$ac_config_commands dlls/gdi32/enhmfdrv"
16588 wine_fn_append_rule \
16589 "clean::
16590 \$(RM) \$(CLEAN_FILES:%=dlls/gdi32/enhmfdrv/%)"
16591 ac_config_commands="$ac_config_commands dlls/gdi32/mfdrv"
16592 wine_fn_append_rule \
16593 "clean::
16594 \$(RM) \$(CLEAN_FILES:%=dlls/gdi32/mfdrv/%)"
16595 ac_config_commands="$ac_config_commands dlls/kernel32/nls"
16596 wine_fn_append_rule \
16597 "clean::
16598 \$(RM) \$(CLEAN_FILES:%=dlls/kernel32/nls/%)"
16599 ac_config_commands="$ac_config_commands dlls/user32/resources"
16600 wine_fn_append_rule \
16601 "clean::
16602 \$(RM) \$(CLEAN_FILES:%=dlls/user32/resources/%)"
16603 ac_config_commands="$ac_config_commands dlls/wineps.drv/data"
16604 wine_fn_append_rule \
16605 "clean::
16606 \$(RM) \$(CLEAN_FILES:%=dlls/wineps.drv/data/%)"
16607 ac_config_commands="$ac_config_commands include/wine"
16608 wine_fn_append_rule \
16609 "clean::
16610 \$(RM) \$(CLEAN_FILES:%=include/wine/%)"
16612 wine_fn_config_makerules Make.rules
16613 MAKE_RULES=Make.rules
16614 ac_config_files="$ac_config_files Make.rules"
16616 wine_fn_config_makerules Maketest.rules Make.rules
16617 MAKE_TEST_RULES=Maketest.rules
16618 ac_config_files="$ac_config_files Maketest.rules"
16620 wine_fn_config_makerules dlls/Makedll.rules Make.rules
16621 MAKE_DLL_RULES=dlls/Makedll.rules
16622 ac_config_files="$ac_config_files dlls/Makedll.rules"
16624 wine_fn_config_makerules dlls/Makeimplib.rules Make.rules
16625 MAKE_IMPLIB_RULES=dlls/Makeimplib.rules
16626 ac_config_files="$ac_config_files dlls/Makeimplib.rules"
16628 wine_fn_config_makerules programs/Makeprog.rules Make.rules
16629 MAKE_PROG_RULES=programs/Makeprog.rules
16630 ac_config_files="$ac_config_files programs/Makeprog.rules"
16633 wine_fn_config_dll acledit enable_acledit
16634 wine_fn_config_dll aclui enable_aclui implib
16635 wine_fn_config_dll activeds enable_activeds implib
16636 wine_fn_config_dll actxprxy enable_actxprxy clean
16637 wine_fn_config_lib adsiid
16638 wine_fn_config_dll advapi32 enable_advapi32 clean,implib
16639 wine_fn_config_test dlls/advapi32/tests advapi32_test
16640 wine_fn_config_dll advpack enable_advpack implib
16641 wine_fn_config_test dlls/advpack/tests advpack_test
16642 wine_fn_config_dll amstream enable_amstream clean
16643 wine_fn_config_test dlls/amstream/tests amstream_test
16644 wine_fn_config_dll api-ms-win-core-localregistry-l1-1-0 enable_api_ms_win_core_localregistry_l1_1_0
16645 wine_fn_config_dll api-ms-win-core-processthreads-l1-1-0 enable_api_ms_win_core_processthreads_l1_1_0
16646 wine_fn_config_dll api-ms-win-core-winrt-error-l1-1-0 enable_api_ms_win_core_winrt_error_l1_1_0
16647 wine_fn_config_dll api-ms-win-core-winrt-string-l1-1-0 enable_api_ms_win_core_winrt_string_l1_1_0
16648 wine_fn_config_dll api-ms-win-downlevel-advapi32-l1-1-0 enable_api_ms_win_downlevel_advapi32_l1_1_0
16649 wine_fn_config_dll api-ms-win-downlevel-advapi32-l2-1-0 enable_api_ms_win_downlevel_advapi32_l2_1_0
16650 wine_fn_config_dll api-ms-win-downlevel-normaliz-l1-1-0 enable_api_ms_win_downlevel_normaliz_l1_1_0
16651 wine_fn_config_dll api-ms-win-downlevel-ole32-l1-1-0 enable_api_ms_win_downlevel_ole32_l1_1_0
16652 wine_fn_config_dll api-ms-win-downlevel-shell32-l1-1-0 enable_api_ms_win_downlevel_shell32_l1_1_0
16653 wine_fn_config_dll api-ms-win-downlevel-shlwapi-l1-1-0 enable_api_ms_win_downlevel_shlwapi_l1_1_0
16654 wine_fn_config_dll api-ms-win-downlevel-shlwapi-l2-1-0 enable_api_ms_win_downlevel_shlwapi_l2_1_0
16655 wine_fn_config_dll api-ms-win-downlevel-user32-l1-1-0 enable_api_ms_win_downlevel_user32_l1_1_0
16656 wine_fn_config_dll api-ms-win-downlevel-version-l1-1-0 enable_api_ms_win_downlevel_version_l1_1_0
16657 wine_fn_config_dll api-ms-win-security-base-l1-1-0 enable_api_ms_win_security_base_l1_1_0
16658 wine_fn_config_dll apphelp enable_apphelp
16659 wine_fn_config_test dlls/apphelp/tests apphelp_test
16660 wine_fn_config_dll appwiz.cpl enable_appwiz_cpl po
16661 wine_fn_config_dll atl enable_atl clean,implib
16662 wine_fn_config_test dlls/atl/tests atl_test
16663 wine_fn_config_dll atl100 enable_atl100 implib
16664 wine_fn_config_test dlls/atl100/tests atl100_test
16665 wine_fn_config_dll atl110 enable_atl110
16666 wine_fn_config_dll atl80 enable_atl80 implib
16667 wine_fn_config_test dlls/atl80/tests atl80_test
16668 wine_fn_config_dll authz enable_authz
16669 wine_fn_config_dll avicap32 enable_avicap32 implib
16670 wine_fn_config_dll avifil32 enable_avifil32 clean,implib,po
16671 wine_fn_config_test dlls/avifil32/tests avifil32_test
16672 wine_fn_config_dll avifile.dll16 enable_win16
16673 wine_fn_config_dll avrt enable_avrt implib
16674 wine_fn_config_dll bcrypt enable_bcrypt
16675 wine_fn_config_dll browseui enable_browseui clean,po
16676 wine_fn_config_test dlls/browseui/tests browseui_test
16677 wine_fn_config_dll cabinet enable_cabinet implib
16678 wine_fn_config_test dlls/cabinet/tests cabinet_test
16679 wine_fn_config_dll capi2032 enable_capi2032 implib
16680 wine_fn_config_dll cards enable_cards implib
16681 wine_fn_config_dll cfgmgr32 enable_cfgmgr32 implib
16682 wine_fn_config_dll clusapi enable_clusapi implib
16683 wine_fn_config_dll comcat enable_comcat
16684 wine_fn_config_test dlls/comcat/tests comcat_test
16685 wine_fn_config_dll comctl32 enable_comctl32 implib,po
16686 wine_fn_config_test dlls/comctl32/tests comctl32_test
16687 wine_fn_config_dll comdlg32 enable_comdlg32 clean,implib,po
16688 wine_fn_config_test dlls/comdlg32/tests comdlg32_test
16689 wine_fn_config_dll comm.drv16 enable_win16
16690 wine_fn_config_dll commdlg.dll16 enable_win16
16691 wine_fn_config_dll compobj.dll16 enable_win16
16692 wine_fn_config_dll compstui enable_compstui implib
16693 wine_fn_config_dll comsvcs enable_comsvcs implib
16694 wine_fn_config_dll credui enable_credui implib,po
16695 wine_fn_config_test dlls/credui/tests credui_test
16696 wine_fn_config_dll crtdll enable_crtdll implib
16697 wine_fn_config_dll crypt32 enable_crypt32 implib,po
16698 wine_fn_config_test dlls/crypt32/tests crypt32_test
16699 wine_fn_config_dll cryptdlg enable_cryptdlg po
16700 wine_fn_config_dll cryptdll enable_cryptdll implib
16701 wine_fn_config_dll cryptnet enable_cryptnet implib
16702 wine_fn_config_test dlls/cryptnet/tests cryptnet_test
16703 wine_fn_config_dll cryptui enable_cryptui implib,po
16704 wine_fn_config_test dlls/cryptui/tests cryptui_test
16705 wine_fn_config_dll ctapi32 enable_ctapi32
16706 wine_fn_config_dll ctl3d.dll16 enable_win16
16707 wine_fn_config_dll ctl3d32 enable_ctl3d32 implib
16708 wine_fn_config_dll ctl3dv2.dll16 enable_win16
16709 wine_fn_config_dll d3d10 enable_d3d10 implib
16710 wine_fn_config_test dlls/d3d10/tests d3d10_test
16711 wine_fn_config_dll d3d10core enable_d3d10core implib
16712 wine_fn_config_test dlls/d3d10core/tests d3d10core_test
16713 wine_fn_config_dll d3d11 enable_d3d11
16714 wine_fn_config_dll d3d8 enable_d3d8 implib
16715 wine_fn_config_test dlls/d3d8/tests d3d8_test
16716 wine_fn_config_dll d3d9 enable_d3d9 implib
16717 wine_fn_config_test dlls/d3d9/tests d3d9_test
16718 wine_fn_config_dll d3dcompiler_33 enable_d3dcompiler_33
16719 wine_fn_config_dll d3dcompiler_34 enable_d3dcompiler_34
16720 wine_fn_config_dll d3dcompiler_35 enable_d3dcompiler_35
16721 wine_fn_config_dll d3dcompiler_36 enable_d3dcompiler_36
16722 wine_fn_config_dll d3dcompiler_37 enable_d3dcompiler_37
16723 wine_fn_config_dll d3dcompiler_38 enable_d3dcompiler_38
16724 wine_fn_config_dll d3dcompiler_39 enable_d3dcompiler_39
16725 wine_fn_config_dll d3dcompiler_40 enable_d3dcompiler_40
16726 wine_fn_config_dll d3dcompiler_41 enable_d3dcompiler_41
16727 wine_fn_config_dll d3dcompiler_42 enable_d3dcompiler_42
16728 wine_fn_config_dll d3dcompiler_43 enable_d3dcompiler_43 implib d3dcompiler
16729 wine_fn_config_test dlls/d3dcompiler_43/tests d3dcompiler_43_test
16730 wine_fn_config_dll d3dim enable_d3dim implib
16731 wine_fn_config_dll d3drm enable_d3drm implib
16732 wine_fn_config_test dlls/d3drm/tests d3drm_test
16733 wine_fn_config_dll d3dx10_33 enable_d3dx10_33
16734 wine_fn_config_dll d3dx10_34 enable_d3dx10_34
16735 wine_fn_config_dll d3dx10_35 enable_d3dx10_35
16736 wine_fn_config_dll d3dx10_36 enable_d3dx10_36
16737 wine_fn_config_dll d3dx10_37 enable_d3dx10_37
16738 wine_fn_config_dll d3dx10_38 enable_d3dx10_38
16739 wine_fn_config_dll d3dx10_39 enable_d3dx10_39
16740 wine_fn_config_dll d3dx10_40 enable_d3dx10_40
16741 wine_fn_config_dll d3dx10_41 enable_d3dx10_41
16742 wine_fn_config_dll d3dx10_42 enable_d3dx10_42
16743 wine_fn_config_dll d3dx10_43 enable_d3dx10_43
16744 wine_fn_config_dll d3dx11_42 enable_d3dx11_42
16745 wine_fn_config_dll d3dx11_43 enable_d3dx11_43
16746 wine_fn_config_dll d3dx9_24 enable_d3dx9_24
16747 wine_fn_config_dll d3dx9_25 enable_d3dx9_25
16748 wine_fn_config_dll d3dx9_26 enable_d3dx9_26
16749 wine_fn_config_dll d3dx9_27 enable_d3dx9_27
16750 wine_fn_config_dll d3dx9_28 enable_d3dx9_28
16751 wine_fn_config_dll d3dx9_29 enable_d3dx9_29
16752 wine_fn_config_dll d3dx9_30 enable_d3dx9_30
16753 wine_fn_config_dll d3dx9_31 enable_d3dx9_31
16754 wine_fn_config_dll d3dx9_32 enable_d3dx9_32
16755 wine_fn_config_dll d3dx9_33 enable_d3dx9_33
16756 wine_fn_config_dll d3dx9_34 enable_d3dx9_34
16757 wine_fn_config_dll d3dx9_35 enable_d3dx9_35
16758 wine_fn_config_dll d3dx9_36 enable_d3dx9_36 implib d3dx9
16759 wine_fn_config_test dlls/d3dx9_36/tests d3dx9_36_test
16760 wine_fn_config_dll d3dx9_37 enable_d3dx9_37
16761 wine_fn_config_dll d3dx9_38 enable_d3dx9_38
16762 wine_fn_config_dll d3dx9_39 enable_d3dx9_39
16763 wine_fn_config_dll d3dx9_40 enable_d3dx9_40
16764 wine_fn_config_dll d3dx9_41 enable_d3dx9_41
16765 wine_fn_config_dll d3dx9_42 enable_d3dx9_42
16766 wine_fn_config_dll d3dx9_43 enable_d3dx9_43
16767 wine_fn_config_dll d3dxof enable_d3dxof clean,implib
16768 wine_fn_config_test dlls/d3dxof/tests d3dxof_test
16769 wine_fn_config_dll dbgeng enable_dbgeng implib
16770 wine_fn_config_dll dbghelp enable_dbghelp implib
16771 wine_fn_config_dll dciman32 enable_dciman32 implib
16772 wine_fn_config_dll ddeml.dll16 enable_win16
16773 wine_fn_config_dll ddraw enable_ddraw clean,implib
16774 wine_fn_config_test dlls/ddraw/tests ddraw_test
16775 wine_fn_config_dll ddrawex enable_ddrawex clean
16776 wine_fn_config_test dlls/ddrawex/tests ddrawex_test
16777 wine_fn_config_dll devenum enable_devenum clean,po
16778 wine_fn_config_test dlls/devenum/tests devenum_test
16779 wine_fn_config_dll dhcpcsvc enable_dhcpcsvc
16780 wine_fn_config_dll difxapi enable_difxapi
16781 wine_fn_config_dll dinput enable_dinput clean,implib,po,staticimplib
16782 wine_fn_config_test dlls/dinput/tests dinput_test
16783 wine_fn_config_dll dinput8 enable_dinput8 clean,implib
16784 wine_fn_config_test dlls/dinput8/tests dinput8_test
16785 wine_fn_config_dll dispdib.dll16 enable_win16
16786 wine_fn_config_dll dispex enable_dispex clean
16787 wine_fn_config_test dlls/dispex/tests dispex_test
16788 wine_fn_config_dll display.drv16 enable_win16
16789 wine_fn_config_dll dmband enable_dmband clean
16790 wine_fn_config_test dlls/dmband/tests dmband_test
16791 wine_fn_config_dll dmcompos enable_dmcompos clean
16792 wine_fn_config_dll dmime enable_dmime clean
16793 wine_fn_config_test dlls/dmime/tests dmime_test
16794 wine_fn_config_dll dmloader enable_dmloader clean
16795 wine_fn_config_test dlls/dmloader/tests dmloader_test
16796 wine_fn_config_dll dmscript enable_dmscript clean
16797 wine_fn_config_dll dmstyle enable_dmstyle clean
16798 wine_fn_config_dll dmsynth enable_dmsynth clean
16799 wine_fn_config_test dlls/dmsynth/tests dmsynth_test
16800 wine_fn_config_dll dmusic enable_dmusic clean
16801 wine_fn_config_test dlls/dmusic/tests dmusic_test
16802 wine_fn_config_dll dmusic32 enable_dmusic32 implib
16803 wine_fn_config_dll dnsapi enable_dnsapi implib
16804 wine_fn_config_test dlls/dnsapi/tests dnsapi_test
16805 wine_fn_config_dll dplay enable_dplay implib
16806 wine_fn_config_dll dplayx enable_dplayx clean,implib
16807 wine_fn_config_test dlls/dplayx/tests dplayx_test
16808 wine_fn_config_dll dpnaddr enable_dpnaddr
16809 wine_fn_config_dll dpnet enable_dpnet clean,implib
16810 wine_fn_config_test dlls/dpnet/tests dpnet_test
16811 wine_fn_config_dll dpnhpast enable_dpnhpast
16812 wine_fn_config_dll dpnlobby enable_dpnlobby
16813 wine_fn_config_dll dpwsockx enable_dpwsockx
16814 wine_fn_config_dll drmclien enable_drmclien
16815 wine_fn_config_dll dsound enable_dsound clean,implib
16816 wine_fn_config_test dlls/dsound/tests dsound_test
16817 wine_fn_config_dll dssenh enable_dssenh
16818 wine_fn_config_test dlls/dssenh/tests dssenh_test
16819 wine_fn_config_dll dswave enable_dswave clean
16820 wine_fn_config_dll dwmapi enable_dwmapi implib
16821 wine_fn_config_dll dwrite enable_dwrite implib
16822 wine_fn_config_test dlls/dwrite/tests dwrite_test
16823 wine_fn_config_dll dxdiagn enable_dxdiagn clean,po
16824 wine_fn_config_test dlls/dxdiagn/tests dxdiagn_test
16825 wine_fn_config_lib dxerr8
16826 wine_fn_config_lib dxerr9
16827 wine_fn_config_dll dxgi enable_dxgi implib
16828 wine_fn_config_test dlls/dxgi/tests dxgi_test
16829 wine_fn_config_lib dxguid
16830 wine_fn_config_dll explorerframe enable_explorerframe clean
16831 wine_fn_config_test dlls/explorerframe/tests explorerframe_test
16832 wine_fn_config_dll faultrep enable_faultrep implib
16833 wine_fn_config_test dlls/faultrep/tests faultrep_test
16834 wine_fn_config_dll fltlib enable_fltlib
16835 wine_fn_config_dll fusion enable_fusion
16836 wine_fn_config_test dlls/fusion/tests fusion_test
16837 wine_fn_config_dll fwpuclnt enable_fwpuclnt
16838 wine_fn_config_dll gameux enable_gameux clean
16839 wine_fn_config_test dlls/gameux/tests gameux_test
16840 wine_fn_config_dll gdi.exe16 enable_win16
16841 wine_fn_config_dll gdi32 enable_gdi32 implib,po
16842 wine_fn_config_test dlls/gdi32/tests gdi32_test
16843 wine_fn_config_dll gdiplus enable_gdiplus implib
16844 wine_fn_config_test dlls/gdiplus/tests gdiplus_test
16845 wine_fn_config_dll glu32 enable_glu32 implib
16846 wine_fn_config_dll gphoto2.ds enable_gphoto2_ds po
16847 wine_fn_config_dll gpkcsp enable_gpkcsp
16848 wine_fn_config_dll hal enable_hal
16849 wine_fn_config_dll hhctrl.ocx enable_hhctrl_ocx clean,implib,po htmlhelp
16850 wine_fn_config_dll hid enable_hid implib
16851 wine_fn_config_dll hlink enable_hlink clean,implib
16852 wine_fn_config_test dlls/hlink/tests hlink_test
16853 wine_fn_config_dll hnetcfg enable_hnetcfg clean
16854 wine_fn_config_dll httpapi enable_httpapi
16855 wine_fn_config_dll iccvid enable_iccvid po
16856 wine_fn_config_dll icmp enable_icmp
16857 wine_fn_config_dll ieframe enable_ieframe clean,implib,po
16858 wine_fn_config_test dlls/ieframe/tests ieframe_test
16859 wine_fn_config_dll ifsmgr.vxd enable_win16
16860 wine_fn_config_dll imaadp32.acm enable_imaadp32_acm
16861 wine_fn_config_dll imagehlp enable_imagehlp implib
16862 wine_fn_config_test dlls/imagehlp/tests imagehlp_test
16863 wine_fn_config_dll imm.dll16 enable_win16
16864 wine_fn_config_dll imm32 enable_imm32 implib
16865 wine_fn_config_test dlls/imm32/tests imm32_test
16866 wine_fn_config_dll inetcomm enable_inetcomm clean,implib
16867 wine_fn_config_test dlls/inetcomm/tests inetcomm_test
16868 wine_fn_config_dll inetcpl.cpl enable_inetcpl_cpl po
16869 wine_fn_config_dll inetmib1 enable_inetmib1
16870 wine_fn_config_test dlls/inetmib1/tests inetmib1_test
16871 wine_fn_config_dll infosoft enable_infosoft clean
16872 wine_fn_config_test dlls/infosoft/tests infosoft_test
16873 wine_fn_config_dll initpki enable_initpki
16874 wine_fn_config_dll inkobj enable_inkobj
16875 wine_fn_config_dll inseng enable_inseng clean
16876 wine_fn_config_dll iphlpapi enable_iphlpapi implib
16877 wine_fn_config_test dlls/iphlpapi/tests iphlpapi_test
16878 wine_fn_config_dll itircl enable_itircl
16879 wine_fn_config_dll itss enable_itss clean
16880 wine_fn_config_test dlls/itss/tests itss_test
16881 wine_fn_config_dll joy.cpl enable_joy_cpl po
16882 wine_fn_config_dll jscript enable_jscript clean,po
16883 wine_fn_config_test dlls/jscript/tests jscript_test
16884 wine_fn_config_dll kernel32 enable_kernel32 implib,mc
16885 wine_fn_config_test dlls/kernel32/tests kernel32_test
16886 wine_fn_config_dll keyboard.drv16 enable_win16
16887 wine_fn_config_dll krnl386.exe16 enable_win16 implib kernel
16888 wine_fn_config_dll ktmw32 enable_ktmw32
16889 wine_fn_config_dll loadperf enable_loadperf implib
16890 wine_fn_config_dll localspl enable_localspl po
16891 wine_fn_config_test dlls/localspl/tests localspl_test
16892 wine_fn_config_dll localui enable_localui po
16893 wine_fn_config_test dlls/localui/tests localui_test
16894 wine_fn_config_dll lz32 enable_lz32 implib
16895 wine_fn_config_test dlls/lz32/tests lz32_test
16896 wine_fn_config_dll lzexpand.dll16 enable_win16
16897 wine_fn_config_dll mapi32 enable_mapi32 implib,po
16898 wine_fn_config_test dlls/mapi32/tests mapi32_test
16899 wine_fn_config_dll mapistub enable_mapistub
16900 wine_fn_config_dll mciavi32 enable_mciavi32
16901 wine_fn_config_dll mcicda enable_mcicda
16902 wine_fn_config_dll mciqtz32 enable_mciqtz32
16903 wine_fn_config_dll mciseq enable_mciseq
16904 wine_fn_config_dll mciwave enable_mciwave
16905 wine_fn_config_dll mgmtapi enable_mgmtapi
16906 wine_fn_config_dll midimap enable_midimap
16907 wine_fn_config_dll mlang enable_mlang clean,implib
16908 wine_fn_config_test dlls/mlang/tests mlang_test
16909 wine_fn_config_dll mmcndmgr enable_mmcndmgr clean
16910 wine_fn_config_test dlls/mmcndmgr/tests mmcndmgr_test
16911 wine_fn_config_dll mmdevapi enable_mmdevapi clean
16912 wine_fn_config_test dlls/mmdevapi/tests mmdevapi_test
16913 wine_fn_config_dll mmdevldr.vxd enable_win16
16914 wine_fn_config_dll mmsystem.dll16 enable_win16
16915 wine_fn_config_dll monodebg.vxd enable_win16
16916 wine_fn_config_dll mountmgr.sys enable_mountmgr_sys
16917 wine_fn_config_dll mouse.drv16 enable_win16
16918 wine_fn_config_dll mpr enable_mpr implib,po
16919 wine_fn_config_test dlls/mpr/tests mpr_test
16920 wine_fn_config_dll mprapi enable_mprapi implib
16921 wine_fn_config_dll msacm.dll16 enable_win16
16922 wine_fn_config_dll msacm32.drv enable_msacm32_drv
16923 wine_fn_config_dll msacm32 enable_msacm32 implib,po
16924 wine_fn_config_test dlls/msacm32/tests msacm32_test
16925 wine_fn_config_dll msadp32.acm enable_msadp32_acm
16926 wine_fn_config_dll mscat32 enable_mscat32
16927 wine_fn_config_dll mscms enable_mscms implib
16928 wine_fn_config_test dlls/mscms/tests mscms_test
16929 wine_fn_config_dll mscoree enable_mscoree clean
16930 wine_fn_config_test dlls/mscoree/tests mscoree_test
16931 wine_fn_config_dll msctf enable_msctf clean
16932 wine_fn_config_test dlls/msctf/tests msctf_test
16933 wine_fn_config_dll msdaps enable_msdaps clean
16934 wine_fn_config_dll msdmo enable_msdmo implib
16935 wine_fn_config_dll msftedit enable_msftedit
16936 wine_fn_config_dll msg711.acm enable_msg711_acm
16937 wine_fn_config_dll msgsm32.acm enable_msgsm32_acm
16938 wine_fn_config_dll mshtml.tlb enable_mshtml_tlb clean
16939 wine_fn_config_dll mshtml enable_mshtml clean,implib,po
16940 wine_fn_config_test dlls/mshtml/tests mshtml_test clean
16941 wine_fn_config_dll msi enable_msi clean,implib,po
16942 wine_fn_config_test dlls/msi/tests msi_test
16943 wine_fn_config_dll msident enable_msident clean
16944 wine_fn_config_dll msimg32 enable_msimg32 implib
16945 wine_fn_config_dll msimsg enable_msimsg
16946 wine_fn_config_dll msimtf enable_msimtf clean
16947 wine_fn_config_dll msisip enable_msisip
16948 wine_fn_config_dll msisys.ocx enable_msisys_ocx
16949 wine_fn_config_dll msls31 enable_msls31
16950 wine_fn_config_dll msnet32 enable_msnet32
16951 wine_fn_config_dll mspatcha enable_mspatcha
16952 wine_fn_config_dll msrle32 enable_msrle32 po
16953 wine_fn_config_dll mssign32 enable_mssign32
16954 wine_fn_config_dll mssip32 enable_mssip32
16955 wine_fn_config_dll mstask enable_mstask clean
16956 wine_fn_config_test dlls/mstask/tests mstask_test
16957 wine_fn_config_dll msvcirt enable_msvcirt
16958 wine_fn_config_dll msvcm80 enable_msvcm80
16959 wine_fn_config_dll msvcm90 enable_msvcm90
16960 wine_fn_config_dll msvcp100 enable_msvcp100
16961 wine_fn_config_test dlls/msvcp100/tests msvcp100_test
16962 wine_fn_config_dll msvcp110 enable_msvcp110
16963 wine_fn_config_dll msvcp60 enable_msvcp60
16964 wine_fn_config_test dlls/msvcp60/tests msvcp60_test
16965 wine_fn_config_dll msvcp70 enable_msvcp70
16966 wine_fn_config_dll msvcp71 enable_msvcp71
16967 wine_fn_config_dll msvcp80 enable_msvcp80
16968 wine_fn_config_dll msvcp90 enable_msvcp90
16969 wine_fn_config_test dlls/msvcp90/tests msvcp90_test
16970 wine_fn_config_dll msvcr100 enable_msvcr100
16971 wine_fn_config_test dlls/msvcr100/tests msvcr100_test
16972 wine_fn_config_dll msvcr110 enable_msvcr110
16973 wine_fn_config_dll msvcr70 enable_msvcr70 implib
16974 wine_fn_config_dll msvcr71 enable_msvcr71 implib
16975 wine_fn_config_dll msvcr80 enable_msvcr80
16976 wine_fn_config_dll msvcr90 enable_msvcr90
16977 wine_fn_config_test dlls/msvcr90/tests msvcr90_test
16978 wine_fn_config_dll msvcrt enable_msvcrt implib
16979 wine_fn_config_test dlls/msvcrt/tests msvcrt_test
16980 wine_fn_config_dll msvcrt20 enable_msvcrt20 implib
16981 wine_fn_config_dll msvcrt40 enable_msvcrt40 implib
16982 wine_fn_config_dll msvcrtd enable_msvcrtd implib
16983 wine_fn_config_test dlls/msvcrtd/tests msvcrtd_test
16984 wine_fn_config_dll msvfw32 enable_msvfw32 implib,po
16985 wine_fn_config_test dlls/msvfw32/tests msvfw32_test
16986 wine_fn_config_dll msvidc32 enable_msvidc32 po
16987 wine_fn_config_dll msvideo.dll16 enable_win16
16988 wine_fn_config_dll mswsock enable_mswsock implib
16989 wine_fn_config_dll msxml enable_msxml clean
16990 wine_fn_config_dll msxml2 enable_msxml2 clean
16991 wine_fn_config_dll msxml3 enable_msxml3 clean
16992 wine_fn_config_test dlls/msxml3/tests msxml3_test clean
16993 wine_fn_config_dll msxml4 enable_msxml4 clean
16994 wine_fn_config_dll msxml6 enable_msxml6 clean
16995 wine_fn_config_dll nddeapi enable_nddeapi implib
16996 wine_fn_config_dll netapi32 enable_netapi32 implib
16997 wine_fn_config_test dlls/netapi32/tests netapi32_test
16998 wine_fn_config_dll netcfgx enable_netcfgx
16999 wine_fn_config_dll newdev enable_newdev implib
17000 wine_fn_config_dll normaliz enable_normaliz implib
17001 wine_fn_config_dll npmshtml enable_npmshtml
17002 wine_fn_config_dll ntdll enable_ntdll implib
17003 wine_fn_config_test dlls/ntdll/tests ntdll_test
17004 wine_fn_config_dll ntdsapi enable_ntdsapi implib
17005 wine_fn_config_test dlls/ntdsapi/tests ntdsapi_test
17006 wine_fn_config_dll ntoskrnl.exe enable_ntoskrnl_exe implib
17007 wine_fn_config_dll ntprint enable_ntprint
17008 wine_fn_config_test dlls/ntprint/tests ntprint_test
17009 wine_fn_config_dll objsel enable_objsel clean
17010 wine_fn_config_dll odbc32 enable_odbc32 implib
17011 wine_fn_config_dll odbccp32 enable_odbccp32 implib
17012 wine_fn_config_test dlls/odbccp32/tests odbccp32_test
17013 wine_fn_config_dll odbccu32 enable_odbccu32
17014 wine_fn_config_dll ole2.dll16 enable_win16
17015 wine_fn_config_dll ole2conv.dll16 enable_win16
17016 wine_fn_config_dll ole2disp.dll16 enable_win16
17017 wine_fn_config_dll ole2nls.dll16 enable_win16
17018 wine_fn_config_dll ole2prox.dll16 enable_win16
17019 wine_fn_config_dll ole2thk.dll16 enable_win16
17020 wine_fn_config_dll ole32 enable_ole32 clean,implib
17021 wine_fn_config_test dlls/ole32/tests ole32_test
17022 wine_fn_config_dll oleacc enable_oleacc clean,implib,po
17023 wine_fn_config_test dlls/oleacc/tests oleacc_test
17024 wine_fn_config_dll oleaut32 enable_oleaut32 clean,implib,po
17025 wine_fn_config_test dlls/oleaut32/tests oleaut32_test clean
17026 wine_fn_config_dll olecli.dll16 enable_win16
17027 wine_fn_config_dll olecli32 enable_olecli32 implib
17028 wine_fn_config_dll oledb32 enable_oledb32 clean
17029 wine_fn_config_test dlls/oledb32/tests oledb32_test clean
17030 wine_fn_config_dll oledlg enable_oledlg implib,po
17031 wine_fn_config_dll olepro32 enable_olepro32 implib
17032 wine_fn_config_dll olesvr.dll16 enable_win16
17033 wine_fn_config_dll olesvr32 enable_olesvr32 implib
17034 wine_fn_config_dll olethk32 enable_olethk32
17035 wine_fn_config_dll openal32 enable_openal32
17036 wine_fn_config_dll opencl enable_opencl
17037 wine_fn_config_dll opengl32 enable_opengl32 implib
17038 wine_fn_config_test dlls/opengl32/tests opengl32_test
17039 wine_fn_config_dll pdh enable_pdh implib
17040 wine_fn_config_test dlls/pdh/tests pdh_test
17041 wine_fn_config_dll photometadatahandler enable_photometadatahandler
17042 wine_fn_config_dll pidgen enable_pidgen
17043 wine_fn_config_dll powrprof enable_powrprof implib
17044 wine_fn_config_dll printui enable_printui
17045 wine_fn_config_dll propsys enable_propsys clean,implib
17046 wine_fn_config_test dlls/propsys/tests propsys_test
17047 wine_fn_config_dll psapi enable_psapi implib
17048 wine_fn_config_test dlls/psapi/tests psapi_test
17049 wine_fn_config_dll pstorec enable_pstorec clean
17050 wine_fn_config_dll qcap enable_qcap
17051 wine_fn_config_test dlls/qcap/tests qcap_test
17052 wine_fn_config_dll qedit enable_qedit clean
17053 wine_fn_config_test dlls/qedit/tests qedit_test
17054 wine_fn_config_dll qmgr enable_qmgr clean
17055 wine_fn_config_test dlls/qmgr/tests qmgr_test
17056 wine_fn_config_dll qmgrprxy enable_qmgrprxy clean
17057 wine_fn_config_dll quartz enable_quartz clean,implib
17058 wine_fn_config_test dlls/quartz/tests quartz_test clean
17059 wine_fn_config_dll query enable_query
17060 wine_fn_config_dll rasapi16.dll16 enable_win16
17061 wine_fn_config_dll rasapi32 enable_rasapi32 implib
17062 wine_fn_config_test dlls/rasapi32/tests rasapi32_test
17063 wine_fn_config_dll rasdlg enable_rasdlg implib
17064 wine_fn_config_dll regapi enable_regapi
17065 wine_fn_config_dll resutils enable_resutils implib
17066 wine_fn_config_dll riched20 enable_riched20 implib
17067 wine_fn_config_test dlls/riched20/tests riched20_test
17068 wine_fn_config_dll riched32 enable_riched32
17069 wine_fn_config_test dlls/riched32/tests riched32_test
17070 wine_fn_config_dll rpcrt4 enable_rpcrt4 clean,implib
17071 wine_fn_config_test dlls/rpcrt4/tests rpcrt4_test clean
17072 wine_fn_config_dll rsabase enable_rsabase
17073 wine_fn_config_dll rsaenh enable_rsaenh implib
17074 wine_fn_config_test dlls/rsaenh/tests rsaenh_test
17075 wine_fn_config_dll rstrtmgr enable_rstrtmgr
17076 wine_fn_config_dll rtutils enable_rtutils implib
17077 wine_fn_config_dll samlib enable_samlib
17078 wine_fn_config_dll sane.ds enable_sane_ds po
17079 wine_fn_config_dll scarddlg enable_scarddlg
17080 wine_fn_config_dll sccbase enable_sccbase
17081 wine_fn_config_dll schannel enable_schannel
17082 wine_fn_config_test dlls/schannel/tests schannel_test
17083 wine_fn_config_dll scrrun enable_scrrun clean
17084 wine_fn_config_test dlls/scrrun/tests scrrun_test clean
17085 wine_fn_config_dll scsiport.sys enable_scsiport_sys
17086 wine_fn_config_dll secur32 enable_secur32 implib
17087 wine_fn_config_test dlls/secur32/tests secur32_test
17088 wine_fn_config_dll security enable_security
17089 wine_fn_config_dll sensapi enable_sensapi implib
17090 wine_fn_config_dll serialui enable_serialui implib,po
17091 wine_fn_config_test dlls/serialui/tests serialui_test
17092 wine_fn_config_dll setupapi enable_setupapi implib,po
17093 wine_fn_config_test dlls/setupapi/tests setupapi_test
17094 wine_fn_config_dll setupx.dll16 enable_win16
17095 wine_fn_config_dll sfc enable_sfc implib
17096 wine_fn_config_dll sfc_os enable_sfc_os implib
17097 wine_fn_config_dll shdoclc enable_shdoclc po
17098 wine_fn_config_dll shdocvw enable_shdocvw clean,implib
17099 wine_fn_config_test dlls/shdocvw/tests shdocvw_test
17100 wine_fn_config_dll shell.dll16 enable_win16
17101 wine_fn_config_dll shell32 enable_shell32 clean,implib,po
17102 wine_fn_config_test dlls/shell32/tests shell32_test
17103 wine_fn_config_dll shfolder enable_shfolder implib
17104 wine_fn_config_dll shlwapi enable_shlwapi implib,po
17105 wine_fn_config_test dlls/shlwapi/tests shlwapi_test
17106 wine_fn_config_dll slbcsp enable_slbcsp
17107 wine_fn_config_dll slc enable_slc implib
17108 wine_fn_config_dll snmpapi enable_snmpapi implib
17109 wine_fn_config_test dlls/snmpapi/tests snmpapi_test
17110 wine_fn_config_dll softpub enable_softpub
17111 wine_fn_config_dll sound.drv16 enable_win16
17112 wine_fn_config_dll spoolss enable_spoolss implib
17113 wine_fn_config_test dlls/spoolss/tests spoolss_test
17114 wine_fn_config_dll stdole2.tlb enable_stdole2_tlb clean
17115 wine_fn_config_dll stdole32.tlb enable_stdole32_tlb clean
17116 wine_fn_config_dll sti enable_sti clean,implib
17117 wine_fn_config_test dlls/sti/tests sti_test
17118 wine_fn_config_dll storage.dll16 enable_win16
17119 wine_fn_config_dll stress.dll16 enable_win16
17120 wine_fn_config_lib strmbase
17121 wine_fn_config_lib strmiids
17122 wine_fn_config_dll svrapi enable_svrapi
17123 wine_fn_config_dll sxs enable_sxs implib
17124 wine_fn_config_test dlls/sxs/tests sxs_test
17125 wine_fn_config_dll system.drv16 enable_win16
17126 wine_fn_config_dll t2embed enable_t2embed
17127 wine_fn_config_dll tapi32 enable_tapi32 implib
17128 wine_fn_config_dll toolhelp.dll16 enable_win16
17129 wine_fn_config_dll traffic enable_traffic
17130 wine_fn_config_dll twain.dll16 enable_win16
17131 wine_fn_config_dll twain_32 enable_twain_32
17132 wine_fn_config_test dlls/twain_32/tests twain_32_test
17133 wine_fn_config_dll typelib.dll16 enable_win16
17134 wine_fn_config_dll unicows enable_unicows implib
17135 wine_fn_config_dll updspapi enable_updspapi
17136 wine_fn_config_dll url enable_url implib
17137 wine_fn_config_dll urlmon enable_urlmon clean,implib,po
17138 wine_fn_config_test dlls/urlmon/tests urlmon_test
17139 wine_fn_config_dll usbd.sys enable_usbd_sys implib
17140 wine_fn_config_dll user.exe16 enable_win16
17141 wine_fn_config_dll user32 enable_user32 implib,po
17142 wine_fn_config_test dlls/user32/tests user32_test
17143 wine_fn_config_dll userenv enable_userenv implib
17144 wine_fn_config_test dlls/userenv/tests userenv_test
17145 wine_fn_config_dll usp10 enable_usp10 implib
17146 wine_fn_config_test dlls/usp10/tests usp10_test
17147 wine_fn_config_lib uuid
17148 wine_fn_config_dll uxtheme enable_uxtheme implib
17149 wine_fn_config_test dlls/uxtheme/tests uxtheme_test
17150 wine_fn_config_dll vbscript enable_vbscript clean
17151 wine_fn_config_test dlls/vbscript/tests vbscript_test clean
17152 wine_fn_config_dll vcomp enable_vcomp
17153 wine_fn_config_dll vcomp100 enable_vcomp100
17154 wine_fn_config_dll vcomp90 enable_vcomp90
17155 wine_fn_config_dll vdhcp.vxd enable_win16
17156 wine_fn_config_dll vdmdbg enable_vdmdbg implib
17157 wine_fn_config_dll ver.dll16 enable_win16
17158 wine_fn_config_dll version enable_version implib
17159 wine_fn_config_test dlls/version/tests version_test
17160 wine_fn_config_dll vmm.vxd enable_win16
17161 wine_fn_config_dll vnbt.vxd enable_win16
17162 wine_fn_config_dll vnetbios.vxd enable_win16
17163 wine_fn_config_dll vtdapi.vxd enable_win16
17164 wine_fn_config_dll vwin32.vxd enable_win16
17165 wine_fn_config_dll w32skrnl enable_win16
17166 wine_fn_config_dll w32sys.dll16 enable_win16
17167 wine_fn_config_dll wbemdisp enable_wbemdisp clean
17168 wine_fn_config_dll wbemprox enable_wbemprox clean
17169 wine_fn_config_test dlls/wbemprox/tests wbemprox_test
17170 wine_fn_config_dll webservices enable_webservices implib
17171 wine_fn_config_dll wer enable_wer implib
17172 wine_fn_config_test dlls/wer/tests wer_test
17173 wine_fn_config_dll wevtapi enable_wevtapi
17174 wine_fn_config_dll wiaservc enable_wiaservc clean
17175 wine_fn_config_dll win32s16.dll16 enable_win16
17176 wine_fn_config_dll win87em.dll16 enable_win16
17177 wine_fn_config_dll winaspi.dll16 enable_win16
17178 wine_fn_config_dll windebug.dll16 enable_win16
17179 wine_fn_config_dll windowscodecs enable_windowscodecs clean,implib
17180 wine_fn_config_test dlls/windowscodecs/tests windowscodecs_test
17181 wine_fn_config_dll windowscodecsext enable_windowscodecsext implib
17182 wine_fn_config_test dlls/windowscodecsext/tests windowscodecsext_test
17183 wine_fn_config_dll winealsa.drv enable_winealsa_drv
17184 wine_fn_config_dll winecoreaudio.drv enable_winecoreaudio_drv
17185 wine_fn_config_lib winecrt0
17186 wine_fn_config_dll wined3d enable_wined3d implib
17187 wine_fn_config_dll winegstreamer enable_winegstreamer
17188 wine_fn_config_dll winejoystick.drv enable_winejoystick_drv
17189 wine_fn_config_dll winemac.drv enable_winemac_drv
17190 wine_fn_config_dll winemapi enable_winemapi
17191 wine_fn_config_dll winemp3.acm enable_winemp3_acm
17192 wine_fn_config_dll wineoss.drv enable_wineoss_drv
17193 wine_fn_config_dll wineps.drv enable_wineps_drv install-lib,po
17194 wine_fn_config_dll wineps16.drv16 enable_win16
17195 wine_fn_config_dll wineqtdecoder enable_wineqtdecoder
17196 wine_fn_config_dll winex11.drv enable_winex11_drv
17197 wine_fn_config_dll wing.dll16 enable_win16
17198 wine_fn_config_dll wing32 enable_wing32
17199 wine_fn_config_dll winhttp enable_winhttp clean,implib
17200 wine_fn_config_test dlls/winhttp/tests winhttp_test
17201 wine_fn_config_dll wininet enable_wininet implib,po
17202 wine_fn_config_test dlls/wininet/tests wininet_test
17203 wine_fn_config_dll winmm enable_winmm implib,po
17204 wine_fn_config_test dlls/winmm/tests winmm_test
17205 wine_fn_config_dll winnls.dll16 enable_win16
17206 wine_fn_config_dll winnls32 enable_winnls32 implib
17207 wine_fn_config_dll winscard enable_winscard implib
17208 wine_fn_config_dll winsock.dll16 enable_win16
17209 wine_fn_config_dll winspool.drv enable_winspool_drv implib,po winspool
17210 wine_fn_config_test dlls/winspool.drv/tests winspool.drv_test
17211 wine_fn_config_dll winsta enable_winsta
17212 wine_fn_config_dll wintab.dll16 enable_win16
17213 wine_fn_config_dll wintab32 enable_wintab32 implib
17214 wine_fn_config_test dlls/wintab32/tests wintab32_test
17215 wine_fn_config_dll wintrust enable_wintrust implib
17216 wine_fn_config_test dlls/wintrust/tests wintrust_test
17217 wine_fn_config_dll wlanapi enable_wlanapi
17218 wine_fn_config_dll wldap32 enable_wldap32 implib,po
17219 wine_fn_config_test dlls/wldap32/tests wldap32_test
17220 wine_fn_config_dll wmi enable_wmi
17221 wine_fn_config_dll wmiutils enable_wmiutils clean
17222 wine_fn_config_test dlls/wmiutils/tests wmiutils_test
17223 wine_fn_config_dll wmvcore enable_wmvcore
17224 wine_fn_config_dll wnaspi32 enable_wnaspi32 implib
17225 wine_fn_config_dll wow32 enable_win16 implib
17226 wine_fn_config_dll ws2_32 enable_ws2_32 implib
17227 wine_fn_config_test dlls/ws2_32/tests ws2_32_test
17228 wine_fn_config_dll wshom.ocx enable_wshom_ocx clean
17229 wine_fn_config_test dlls/wshom.ocx/tests wshom.ocx_test clean
17230 wine_fn_config_dll wsnmp32 enable_wsnmp32 implib
17231 wine_fn_config_test dlls/wsnmp32/tests wsnmp32_test
17232 wine_fn_config_dll wsock32 enable_wsock32 implib
17233 wine_fn_config_dll wtsapi32 enable_wtsapi32 implib
17234 wine_fn_config_dll wuapi enable_wuapi clean
17235 wine_fn_config_dll wuaueng enable_wuaueng
17236 wine_fn_config_dll xapofx1_1 enable_xapofx1_1
17237 wine_fn_config_dll xinput1_1 enable_xinput1_1
17238 wine_fn_config_dll xinput1_2 enable_xinput1_2
17239 wine_fn_config_dll xinput1_3 enable_xinput1_3 implib xinput
17240 wine_fn_config_test dlls/xinput1_3/tests xinput1_3_test
17241 wine_fn_config_dll xinput1_4 enable_xinput1_4
17242 wine_fn_config_dll xinput9_1_0 enable_xinput9_1_0
17243 wine_fn_config_dll xmllite enable_xmllite
17244 wine_fn_config_test dlls/xmllite/tests xmllite_test
17245 wine_fn_config_dll xolehlp enable_xolehlp
17246 wine_fn_config_dll xpsprint enable_xpsprint
17247 wine_fn_config_dll xpssvcs enable_xpssvcs
17248 wine_fn_config_makefile documentation enable_documentation clean
17249 wine_fn_config_makefile fonts enable_fonts clean,install-lib
17250 wine_fn_config_makefile include enable_include clean,install-dev
17251 wine_fn_config_makefile libs/port enable_libs_port
17252 wine_fn_config_makefile libs/wine enable_libs_wine clean,install-dev,install-lib
17253 wine_fn_config_makefile libs/wpp enable_libs_wpp
17254 wine_fn_config_makefile loader enable_loader clean,install-lib,manpage
17255 wine_fn_config_program aspnet_regiis enable_aspnet_regiis install
17256 wine_fn_config_program attrib enable_attrib install,po
17257 wine_fn_config_program cabarc enable_cabarc install
17258 wine_fn_config_program cacls enable_cacls install
17259 wine_fn_config_program clock enable_clock install,po
17260 wine_fn_config_program cmd enable_cmd install,po
17261 wine_fn_config_test programs/cmd/tests cmd.exe_test
17262 wine_fn_config_program conhost enable_conhost install
17263 wine_fn_config_program control enable_control install
17264 wine_fn_config_program cscript enable_cscript install
17265 wine_fn_config_program dxdiag enable_dxdiag install,po
17266 wine_fn_config_program eject enable_eject install
17267 wine_fn_config_program expand enable_expand install
17268 wine_fn_config_program explorer enable_explorer install,po
17269 wine_fn_config_program extrac32 enable_extrac32 install
17270 wine_fn_config_program findstr enable_findstr install
17271 wine_fn_config_program hh enable_hh install
17272 wine_fn_config_program hostname enable_hostname install,po
17273 wine_fn_config_program icinfo enable_icinfo install
17274 wine_fn_config_program iexplore enable_iexplore install
17275 wine_fn_config_program ipconfig enable_ipconfig install,po
17276 wine_fn_config_program lodctr enable_lodctr install
17277 wine_fn_config_program mofcomp enable_mofcomp install
17278 wine_fn_config_program mshta enable_mshta install
17279 wine_fn_config_program msiexec enable_msiexec install,installbin,manpage
17280 wine_fn_config_program net enable_net install,po
17281 wine_fn_config_program netsh enable_netsh install
17282 wine_fn_config_program netstat enable_netstat install,po
17283 wine_fn_config_program ngen enable_ngen install
17284 wine_fn_config_program notepad enable_notepad install,installbin,manpage,po
17285 wine_fn_config_program oleview enable_oleview install,po
17286 wine_fn_config_program ping enable_ping install
17287 wine_fn_config_program plugplay enable_plugplay install
17288 wine_fn_config_program presentationfontcache enable_presentationfontcache install
17289 wine_fn_config_program progman enable_progman install,po
17290 wine_fn_config_program reg enable_reg install,po
17291 wine_fn_config_program regasm enable_regasm install
17292 wine_fn_config_program regedit enable_regedit install,installbin,manpage,po
17293 wine_fn_config_test programs/regedit/tests regedit.exe_test
17294 wine_fn_config_program regsvcs enable_regsvcs install
17295 wine_fn_config_program regsvr32 enable_regsvr32 install,installbin,manpage
17296 wine_fn_config_program rpcss enable_rpcss clean,install
17297 wine_fn_config_program rundll.exe16 enable_win16 install
17298 wine_fn_config_program rundll32 enable_rundll32 install
17299 wine_fn_config_program sc enable_sc install
17300 wine_fn_config_program schtasks enable_schtasks install
17301 wine_fn_config_program secedit enable_secedit install
17302 wine_fn_config_program servicemodelreg enable_servicemodelreg install
17303 wine_fn_config_program services enable_services clean,install
17304 wine_fn_config_test programs/services/tests services.exe_test
17305 wine_fn_config_program spoolsv enable_spoolsv install
17306 wine_fn_config_program start enable_start install,po
17307 wine_fn_config_program svchost enable_svchost install
17308 wine_fn_config_program taskkill enable_taskkill install,po
17309 wine_fn_config_program tasklist enable_tasklist install
17310 wine_fn_config_program taskmgr enable_taskmgr install,po
17311 wine_fn_config_program termsv enable_termsv install
17312 wine_fn_config_program uninstaller enable_uninstaller install,po
17313 wine_fn_config_program unlodctr enable_unlodctr install
17314 wine_fn_config_program view enable_view install,po
17315 wine_fn_config_program wineboot enable_wineboot install,installbin,manpage,po
17316 wine_fn_config_program winebrowser enable_winebrowser install
17317 wine_fn_config_program winecfg enable_winecfg install,installbin,manpage,po
17318 wine_fn_config_program wineconsole enable_wineconsole install,installbin,manpage,po
17319 wine_fn_config_program winedbg enable_winedbg install,installbin,manpage,po
17320 wine_fn_config_program winedevice enable_winedevice install
17321 wine_fn_config_program winefile enable_winefile install,installbin,manpage,po
17322 wine_fn_config_program winemenubuilder enable_winemenubuilder install
17323 wine_fn_config_program winemine enable_winemine install,installbin,manpage,po
17324 wine_fn_config_program winemsibuilder enable_winemsibuilder install
17325 wine_fn_config_program winepath enable_winepath install,installbin,manpage
17326 wine_fn_config_program winetest enable_winetest clean
17327 wine_fn_config_program winevdm enable_win16 install
17328 wine_fn_config_program winhelp.exe16 enable_win16 install
17329 wine_fn_config_program winhlp32 enable_winhlp32 install,po
17330 wine_fn_config_program winoldap.mod16 enable_win16 install
17331 wine_fn_config_program winver enable_winver install
17332 wine_fn_config_program wmic enable_wmic install,po
17333 wine_fn_config_program wordpad enable_wordpad install,po
17334 wine_fn_config_program write enable_write install,po
17335 wine_fn_config_program wscript enable_wscript clean,install
17336 wine_fn_config_test programs/wscript/tests wscript.exe_test
17337 wine_fn_config_program wusa enable_wusa install
17338 wine_fn_config_program xcopy enable_xcopy install,po
17339 wine_fn_config_makefile server enable_server clean,install-lib,manpage
17340 wine_fn_config_tool tools clean,install-dev,install-lib,manpage
17341 wine_fn_config_tool tools/widl clean,install-dev,manpage
17342 wine_fn_config_tool tools/winebuild clean,install-dev,manpage
17343 wine_fn_config_tool tools/winedump clean,install-dev,manpage
17344 wine_fn_config_tool tools/winegcc clean,install-dev,manpage
17345 wine_fn_config_tool tools/wmc clean,install-dev,manpage
17346 wine_fn_config_tool tools/wrc clean,install-dev,manpage
17348 LINGUAS="\
17349 ar \
17350 bg \
17351 ca \
17352 cs \
17353 da \
17354 de \
17355 el \
17356 en \
17357 en_US \
17358 eo \
17359 es \
17360 fa \
17361 fi \
17362 fr \
17363 he \
17364 hi \
17365 hr \
17366 hu \
17367 it \
17368 ja \
17369 ko \
17370 lt \
17371 ml \
17372 nb_NO \
17373 nl \
17374 or \
17375 pa \
17376 pl \
17377 pt_BR \
17378 pt_PT \
17379 rm \
17380 ro \
17381 ru \
17382 sk \
17383 sl \
17384 sr_RS@cyrillic \
17385 sr_RS@latin \
17386 sv \
17387 te \
17388 th \
17389 tr \
17390 uk \
17391 wa \
17392 zh_CN \
17393 zh_TW"
17397 ac_config_commands="$ac_config_commands Makefile"
17400 ac_config_files="$ac_config_files Make.tmp:Make.vars.in:Makefile.in"
17404 if test "x$enable_maintainer_mode" = xyes
17405 then
17406 wine_fn_append_rule "\$(srcdir)/configure: configure.ac aclocal.m4
17407 cd \$(srcdir) && autoconf --warnings=all
17408 \$(srcdir)/include/config.h.in: include/stamp-h.in
17409 \$(srcdir)/include/stamp-h.in: configure.ac aclocal.m4
17410 cd \$(srcdir) && autoheader --warnings=all
17411 @echo timestamp > \$@"
17414 if test "x$with_gettextpo" = xyes
17415 then
17416 test "$srcdir" = . || as_fn_error $? "Rebuilding po files is not supported for out of tree builds." "$LINENO" 5
17417 wine_fn_append_rule "ALL_POT_FILES =$ALL_POT_FILES
17418 \$(LINGUAS:%=po/%.po): \$(srcdir)/po/wine.pot
17419 msgmerge --previous -q \$@ \$(srcdir)/po/wine.pot | msgattrib --no-obsolete -o \$@.new && mv \$@.new \$@
17420 \$(srcdir)/po/wine.pot: \$(ALL_POT_FILES)
17421 msgcat -o \$@ \$(ALL_POT_FILES)"
17424 if test "$MSGFMT" != false
17425 then
17426 PORCFLAGS="--po-dir=\$(top_builddir)/po"
17428 wine_fn_append_rule "__builddeps__: \$(ALL_MO_FILES)"
17429 else
17430 LINGUAS=
17433 if test "x$enable_tools" != xno
17434 then
17435 wine_fn_append_rule "\$(MAKEDEP): tools/Makefile
17436 clean:: __clean__
17437 \$(RM) tools/makedep\$(EXEEXT)"
17440 if test -n "$with_wine64"
17441 then
17442 wine_fn_append_rule "all: fonts server tools $with_wine64/loader/wine $with_wine64/loader/wine-preloader
17443 fonts server tools:
17444 \$(RM) \$@ && \$(LN_S) $with_wine64/\$@ \$@
17445 $with_wine64/loader/wine:
17446 \$(RM) \$@ && \$(LN_S) $ac_pwd/loader/wine \$@
17447 $with_wine64/loader/wine-preloader:
17448 \$(RM) \$@ && \$(LN_S) $ac_pwd/loader/wine-preloader \$@
17449 clean::
17450 \$(RM) fonts server tools $with_wine64/loader/wine $with_wine64/loader/wine-preloader"
17453 $as_echo " done" >&6
17454 cat >confcache <<\_ACEOF
17455 # This file is a shell script that caches the results of configure
17456 # tests run on this system so they can be shared between configure
17457 # scripts and configure runs, see configure's option --config-cache.
17458 # It is not useful on other systems. If it contains results you don't
17459 # want to keep, you may remove or edit it.
17461 # config.status only pays attention to the cache file if you give it
17462 # the --recheck option to rerun configure.
17464 # `ac_cv_env_foo' variables (set or unset) will be overridden when
17465 # loading this file, other *unset* `ac_cv_foo' will be assigned the
17466 # following values.
17468 _ACEOF
17470 # The following way of writing the cache mishandles newlines in values,
17471 # but we know of no workaround that is simple, portable, and efficient.
17472 # So, we kill variables containing newlines.
17473 # Ultrix sh set writes to stderr and can't be redirected directly,
17474 # and sets the high bit in the cache file unless we assign to the vars.
17476 for ac_var in `(set) 2>&1 | sed -n 's/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'`; do
17477 eval ac_val=\$$ac_var
17478 case $ac_val in #(
17479 *${as_nl}*)
17480 case $ac_var in #(
17481 *_cv_*) { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: cache variable $ac_var contains a newline" >&5
17482 $as_echo "$as_me: WARNING: cache variable $ac_var contains a newline" >&2;} ;;
17483 esac
17484 case $ac_var in #(
17485 _ | IFS | as_nl) ;; #(
17486 BASH_ARGV | BASH_SOURCE) eval $ac_var= ;; #(
17487 *) { eval $ac_var=; unset $ac_var;} ;;
17488 esac ;;
17489 esac
17490 done
17492 (set) 2>&1 |
17493 case $as_nl`(ac_space=' '; set) 2>&1` in #(
17494 *${as_nl}ac_space=\ *)
17495 # `set' does not quote correctly, so add quotes: double-quote
17496 # substitution turns \\\\ into \\, and sed turns \\ into \.
17497 sed -n \
17498 "s/'/'\\\\''/g;
17499 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\\2'/p"
17500 ;; #(
17502 # `set' quotes correctly as required by POSIX, so do not add quotes.
17503 sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
17505 esac |
17506 sort
17508 sed '
17509 /^ac_cv_env_/b end
17510 t clear
17511 :clear
17512 s/^\([^=]*\)=\(.*[{}].*\)$/test "${\1+set}" = set || &/
17513 t end
17514 s/^\([^=]*\)=\(.*\)$/\1=${\1=\2}/
17515 :end' >>confcache
17516 if diff "$cache_file" confcache >/dev/null 2>&1; then :; else
17517 if test -w "$cache_file"; then
17518 if test "x$cache_file" != "x/dev/null"; then
17519 { $as_echo "$as_me:${as_lineno-$LINENO}: updating cache $cache_file" >&5
17520 $as_echo "$as_me: updating cache $cache_file" >&6;}
17521 if test ! -f "$cache_file" || test -h "$cache_file"; then
17522 cat confcache >"$cache_file"
17523 else
17524 case $cache_file in #(
17525 */* | ?:*)
17526 mv -f confcache "$cache_file"$$ &&
17527 mv -f "$cache_file"$$ "$cache_file" ;; #(
17529 mv -f confcache "$cache_file" ;;
17530 esac
17533 else
17534 { $as_echo "$as_me:${as_lineno-$LINENO}: not updating unwritable cache $cache_file" >&5
17535 $as_echo "$as_me: not updating unwritable cache $cache_file" >&6;}
17538 rm -f confcache
17540 test "x$prefix" = xNONE && prefix=$ac_default_prefix
17541 # Let make expand exec_prefix.
17542 test "x$exec_prefix" = xNONE && exec_prefix='${prefix}'
17544 DEFS=-DHAVE_CONFIG_H
17546 ac_libobjs=
17547 ac_ltlibobjs=
17549 for ac_i in : $LIBOBJS; do test "x$ac_i" = x: && continue
17550 # 1. Remove the extension, and $U if already installed.
17551 ac_script='s/\$U\././;s/\.o$//;s/\.obj$//'
17552 ac_i=`$as_echo "$ac_i" | sed "$ac_script"`
17553 # 2. Prepend LIBOBJDIR. When used with automake>=1.10 LIBOBJDIR
17554 # will be set to the directory where LIBOBJS objects are built.
17555 as_fn_append ac_libobjs " \${LIBOBJDIR}$ac_i\$U.$ac_objext"
17556 as_fn_append ac_ltlibobjs " \${LIBOBJDIR}$ac_i"'$U.lo'
17557 done
17558 LIBOBJS=$ac_libobjs
17560 LTLIBOBJS=$ac_ltlibobjs
17564 : "${CONFIG_STATUS=./config.status}"
17565 ac_write_fail=0
17566 ac_clean_files_save=$ac_clean_files
17567 ac_clean_files="$ac_clean_files $CONFIG_STATUS"
17568 { $as_echo "$as_me:${as_lineno-$LINENO}: creating $CONFIG_STATUS" >&5
17569 $as_echo "$as_me: creating $CONFIG_STATUS" >&6;}
17570 as_write_fail=0
17571 cat >$CONFIG_STATUS <<_ASEOF || as_write_fail=1
17572 #! $SHELL
17573 # Generated by $as_me.
17574 # Run this file to recreate the current configuration.
17575 # Compiler output produced by configure, useful for debugging
17576 # configure, is in config.log if it exists.
17578 debug=false
17579 ac_cs_recheck=false
17580 ac_cs_silent=false
17582 SHELL=\${CONFIG_SHELL-$SHELL}
17583 export SHELL
17584 _ASEOF
17585 cat >>$CONFIG_STATUS <<\_ASEOF || as_write_fail=1
17586 ## -------------------- ##
17587 ## M4sh Initialization. ##
17588 ## -------------------- ##
17590 # Be more Bourne compatible
17591 DUALCASE=1; export DUALCASE # for MKS sh
17592 if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then :
17593 emulate sh
17594 NULLCMD=:
17595 # Pre-4.2 versions of Zsh do word splitting on ${1+"$@"}, which
17596 # is contrary to our usage. Disable this feature.
17597 alias -g '${1+"$@"}'='"$@"'
17598 setopt NO_GLOB_SUBST
17599 else
17600 case `(set -o) 2>/dev/null` in #(
17601 *posix*) :
17602 set -o posix ;; #(
17603 *) :
17605 esac
17609 as_nl='
17611 export as_nl
17612 # Printing a long string crashes Solaris 7 /usr/bin/printf.
17613 as_echo='\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\'
17614 as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo
17615 as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo$as_echo
17616 # Prefer a ksh shell builtin over an external printf program on Solaris,
17617 # but without wasting forks for bash or zsh.
17618 if test -z "$BASH_VERSION$ZSH_VERSION" \
17619 && (test "X`print -r -- $as_echo`" = "X$as_echo") 2>/dev/null; then
17620 as_echo='print -r --'
17621 as_echo_n='print -rn --'
17622 elif (test "X`printf %s $as_echo`" = "X$as_echo") 2>/dev/null; then
17623 as_echo='printf %s\n'
17624 as_echo_n='printf %s'
17625 else
17626 if test "X`(/usr/ucb/echo -n -n $as_echo) 2>/dev/null`" = "X-n $as_echo"; then
17627 as_echo_body='eval /usr/ucb/echo -n "$1$as_nl"'
17628 as_echo_n='/usr/ucb/echo -n'
17629 else
17630 as_echo_body='eval expr "X$1" : "X\\(.*\\)"'
17631 as_echo_n_body='eval
17632 arg=$1;
17633 case $arg in #(
17634 *"$as_nl"*)
17635 expr "X$arg" : "X\\(.*\\)$as_nl";
17636 arg=`expr "X$arg" : ".*$as_nl\\(.*\\)"`;;
17637 esac;
17638 expr "X$arg" : "X\\(.*\\)" | tr -d "$as_nl"
17640 export as_echo_n_body
17641 as_echo_n='sh -c $as_echo_n_body as_echo'
17643 export as_echo_body
17644 as_echo='sh -c $as_echo_body as_echo'
17647 # The user is always right.
17648 if test "${PATH_SEPARATOR+set}" != set; then
17649 PATH_SEPARATOR=:
17650 (PATH='/bin;/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 && {
17651 (PATH='/bin:/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 ||
17652 PATH_SEPARATOR=';'
17657 # IFS
17658 # We need space, tab and new line, in precisely that order. Quoting is
17659 # there to prevent editors from complaining about space-tab.
17660 # (If _AS_PATH_WALK were called with IFS unset, it would disable word
17661 # splitting by setting IFS to empty value.)
17662 IFS=" "" $as_nl"
17664 # Find who we are. Look in the path if we contain no directory separator.
17665 as_myself=
17666 case $0 in #((
17667 *[\\/]* ) as_myself=$0 ;;
17668 *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
17669 for as_dir in $PATH
17671 IFS=$as_save_IFS
17672 test -z "$as_dir" && as_dir=.
17673 test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break
17674 done
17675 IFS=$as_save_IFS
17678 esac
17679 # We did not find ourselves, most probably we were run as `sh COMMAND'
17680 # in which case we are not to be found in the path.
17681 if test "x$as_myself" = x; then
17682 as_myself=$0
17684 if test ! -f "$as_myself"; then
17685 $as_echo "$as_myself: error: cannot find myself; rerun with an absolute file name" >&2
17686 exit 1
17689 # Unset variables that we do not need and which cause bugs (e.g. in
17690 # pre-3.0 UWIN ksh). But do not cause bugs in bash 2.01; the "|| exit 1"
17691 # suppresses any "Segmentation fault" message there. '((' could
17692 # trigger a bug in pdksh 5.2.14.
17693 for as_var in BASH_ENV ENV MAIL MAILPATH
17694 do eval test x\${$as_var+set} = xset \
17695 && ( (unset $as_var) || exit 1) >/dev/null 2>&1 && unset $as_var || :
17696 done
17697 PS1='$ '
17698 PS2='> '
17699 PS4='+ '
17701 # NLS nuisances.
17702 LC_ALL=C
17703 export LC_ALL
17704 LANGUAGE=C
17705 export LANGUAGE
17707 # CDPATH.
17708 (unset CDPATH) >/dev/null 2>&1 && unset CDPATH
17711 # as_fn_error STATUS ERROR [LINENO LOG_FD]
17712 # ----------------------------------------
17713 # Output "`basename $0`: error: ERROR" to stderr. If LINENO and LOG_FD are
17714 # provided, also output the error to LOG_FD, referencing LINENO. Then exit the
17715 # script with STATUS, using 1 if that was 0.
17716 as_fn_error ()
17718 as_status=$1; test $as_status -eq 0 && as_status=1
17719 if test "$4"; then
17720 as_lineno=${as_lineno-"$3"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
17721 $as_echo "$as_me:${as_lineno-$LINENO}: error: $2" >&$4
17723 $as_echo "$as_me: error: $2" >&2
17724 as_fn_exit $as_status
17725 } # as_fn_error
17728 # as_fn_set_status STATUS
17729 # -----------------------
17730 # Set $? to STATUS, without forking.
17731 as_fn_set_status ()
17733 return $1
17734 } # as_fn_set_status
17736 # as_fn_exit STATUS
17737 # -----------------
17738 # Exit the shell with STATUS, even in a "trap 0" or "set -e" context.
17739 as_fn_exit ()
17741 set +e
17742 as_fn_set_status $1
17743 exit $1
17744 } # as_fn_exit
17746 # as_fn_unset VAR
17747 # ---------------
17748 # Portably unset VAR.
17749 as_fn_unset ()
17751 { eval $1=; unset $1;}
17753 as_unset=as_fn_unset
17754 # as_fn_append VAR VALUE
17755 # ----------------------
17756 # Append the text in VALUE to the end of the definition contained in VAR. Take
17757 # advantage of any shell optimizations that allow amortized linear growth over
17758 # repeated appends, instead of the typical quadratic growth present in naive
17759 # implementations.
17760 if (eval "as_var=1; as_var+=2; test x\$as_var = x12") 2>/dev/null; then :
17761 eval 'as_fn_append ()
17763 eval $1+=\$2
17765 else
17766 as_fn_append ()
17768 eval $1=\$$1\$2
17770 fi # as_fn_append
17772 # as_fn_arith ARG...
17773 # ------------------
17774 # Perform arithmetic evaluation on the ARGs, and store the result in the
17775 # global $as_val. Take advantage of shells that can avoid forks. The arguments
17776 # must be portable across $(()) and expr.
17777 if (eval "test \$(( 1 + 1 )) = 2") 2>/dev/null; then :
17778 eval 'as_fn_arith ()
17780 as_val=$(( $* ))
17782 else
17783 as_fn_arith ()
17785 as_val=`expr "$@" || test $? -eq 1`
17787 fi # as_fn_arith
17790 if expr a : '\(a\)' >/dev/null 2>&1 &&
17791 test "X`expr 00001 : '.*\(...\)'`" = X001; then
17792 as_expr=expr
17793 else
17794 as_expr=false
17797 if (basename -- /) >/dev/null 2>&1 && test "X`basename -- / 2>&1`" = "X/"; then
17798 as_basename=basename
17799 else
17800 as_basename=false
17803 if (as_dir=`dirname -- /` && test "X$as_dir" = X/) >/dev/null 2>&1; then
17804 as_dirname=dirname
17805 else
17806 as_dirname=false
17809 as_me=`$as_basename -- "$0" ||
17810 $as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
17811 X"$0" : 'X\(//\)$' \| \
17812 X"$0" : 'X\(/\)' \| . 2>/dev/null ||
17813 $as_echo X/"$0" |
17814 sed '/^.*\/\([^/][^/]*\)\/*$/{
17815 s//\1/
17818 /^X\/\(\/\/\)$/{
17819 s//\1/
17822 /^X\/\(\/\).*/{
17823 s//\1/
17826 s/.*/./; q'`
17828 # Avoid depending upon Character Ranges.
17829 as_cr_letters='abcdefghijklmnopqrstuvwxyz'
17830 as_cr_LETTERS='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
17831 as_cr_Letters=$as_cr_letters$as_cr_LETTERS
17832 as_cr_digits='0123456789'
17833 as_cr_alnum=$as_cr_Letters$as_cr_digits
17835 ECHO_C= ECHO_N= ECHO_T=
17836 case `echo -n x` in #(((((
17837 -n*)
17838 case `echo 'xy\c'` in
17839 *c*) ECHO_T=' ';; # ECHO_T is single tab character.
17840 xy) ECHO_C='\c';;
17841 *) echo `echo ksh88 bug on AIX 6.1` > /dev/null
17842 ECHO_T=' ';;
17843 esac;;
17845 ECHO_N='-n';;
17846 esac
17848 rm -f conf$$ conf$$.exe conf$$.file
17849 if test -d conf$$.dir; then
17850 rm -f conf$$.dir/conf$$.file
17851 else
17852 rm -f conf$$.dir
17853 mkdir conf$$.dir 2>/dev/null
17855 if (echo >conf$$.file) 2>/dev/null; then
17856 if ln -s conf$$.file conf$$ 2>/dev/null; then
17857 as_ln_s='ln -s'
17858 # ... but there are two gotchas:
17859 # 1) On MSYS, both `ln -s file dir' and `ln file dir' fail.
17860 # 2) DJGPP < 2.04 has no symlinks; `ln -s' creates a wrapper executable.
17861 # In both cases, we have to default to `cp -pR'.
17862 ln -s conf$$.file conf$$.dir 2>/dev/null && test ! -f conf$$.exe ||
17863 as_ln_s='cp -pR'
17864 elif ln conf$$.file conf$$ 2>/dev/null; then
17865 as_ln_s=ln
17866 else
17867 as_ln_s='cp -pR'
17869 else
17870 as_ln_s='cp -pR'
17872 rm -f conf$$ conf$$.exe conf$$.dir/conf$$.file conf$$.file
17873 rmdir conf$$.dir 2>/dev/null
17876 # as_fn_mkdir_p
17877 # -------------
17878 # Create "$as_dir" as a directory, including parents if necessary.
17879 as_fn_mkdir_p ()
17882 case $as_dir in #(
17883 -*) as_dir=./$as_dir;;
17884 esac
17885 test -d "$as_dir" || eval $as_mkdir_p || {
17886 as_dirs=
17887 while :; do
17888 case $as_dir in #(
17889 *\'*) as_qdir=`$as_echo "$as_dir" | sed "s/'/'\\\\\\\\''/g"`;; #'(
17890 *) as_qdir=$as_dir;;
17891 esac
17892 as_dirs="'$as_qdir' $as_dirs"
17893 as_dir=`$as_dirname -- "$as_dir" ||
17894 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
17895 X"$as_dir" : 'X\(//\)[^/]' \| \
17896 X"$as_dir" : 'X\(//\)$' \| \
17897 X"$as_dir" : 'X\(/\)' \| . 2>/dev/null ||
17898 $as_echo X"$as_dir" |
17899 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
17900 s//\1/
17903 /^X\(\/\/\)[^/].*/{
17904 s//\1/
17907 /^X\(\/\/\)$/{
17908 s//\1/
17911 /^X\(\/\).*/{
17912 s//\1/
17915 s/.*/./; q'`
17916 test -d "$as_dir" && break
17917 done
17918 test -z "$as_dirs" || eval "mkdir $as_dirs"
17919 } || test -d "$as_dir" || as_fn_error $? "cannot create directory $as_dir"
17922 } # as_fn_mkdir_p
17923 if mkdir -p . 2>/dev/null; then
17924 as_mkdir_p='mkdir -p "$as_dir"'
17925 else
17926 test -d ./-p && rmdir ./-p
17927 as_mkdir_p=false
17931 # as_fn_executable_p FILE
17932 # -----------------------
17933 # Test if FILE is an executable regular file.
17934 as_fn_executable_p ()
17936 test -f "$1" && test -x "$1"
17937 } # as_fn_executable_p
17938 as_test_x='test -x'
17939 as_executable_p=as_fn_executable_p
17941 # Sed expression to map a string onto a valid CPP name.
17942 as_tr_cpp="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'"
17944 # Sed expression to map a string onto a valid variable name.
17945 as_tr_sh="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'"
17948 exec 6>&1
17949 ## ----------------------------------- ##
17950 ## Main body of $CONFIG_STATUS script. ##
17951 ## ----------------------------------- ##
17952 _ASEOF
17953 test $as_write_fail = 0 && chmod +x $CONFIG_STATUS || ac_write_fail=1
17955 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
17956 # Save the log message, to keep $0 and so on meaningful, and to
17957 # report actual input values of CONFIG_FILES etc. instead of their
17958 # values after options handling.
17959 ac_log="
17960 This file was extended by Wine $as_me 1.7.3, which was
17961 generated by GNU Autoconf 2.69. Invocation command line was
17963 CONFIG_FILES = $CONFIG_FILES
17964 CONFIG_HEADERS = $CONFIG_HEADERS
17965 CONFIG_LINKS = $CONFIG_LINKS
17966 CONFIG_COMMANDS = $CONFIG_COMMANDS
17967 $ $0 $@
17969 on `(hostname || uname -n) 2>/dev/null | sed 1q`
17972 _ACEOF
17974 case $ac_config_files in *"
17975 "*) set x $ac_config_files; shift; ac_config_files=$*;;
17976 esac
17978 case $ac_config_headers in *"
17979 "*) set x $ac_config_headers; shift; ac_config_headers=$*;;
17980 esac
17983 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
17984 # Files that config.status was made for.
17985 config_files="$ac_config_files"
17986 config_headers="$ac_config_headers"
17987 config_links="$ac_config_links"
17988 config_commands="$ac_config_commands"
17990 _ACEOF
17992 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
17993 ac_cs_usage="\
17994 \`$as_me' instantiates files and other configuration actions
17995 from templates according to the current configuration. Unless the files
17996 and actions are specified as TAGs, all are instantiated by default.
17998 Usage: $0 [OPTION]... [TAG]...
18000 -h, --help print this help, then exit
18001 -V, --version print version number and configuration settings, then exit
18002 --config print configuration, then exit
18003 -q, --quiet, --silent
18004 do not print progress messages
18005 -d, --debug don't remove temporary files
18006 --recheck update $as_me by reconfiguring in the same conditions
18007 --file=FILE[:TEMPLATE]
18008 instantiate the configuration file FILE
18009 --header=FILE[:TEMPLATE]
18010 instantiate the configuration header FILE
18012 Configuration files:
18013 $config_files
18015 Configuration headers:
18016 $config_headers
18018 Configuration links:
18019 $config_links
18021 Configuration commands:
18022 $config_commands
18024 Report bugs to <wine-devel@winehq.org>.
18025 Wine home page: <http://www.winehq.org>."
18027 _ACEOF
18028 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
18029 ac_cs_config="`$as_echo "$ac_configure_args" | sed 's/^ //; s/[\\""\`\$]/\\\\&/g'`"
18030 ac_cs_version="\\
18031 Wine config.status 1.7.3
18032 configured by $0, generated by GNU Autoconf 2.69,
18033 with options \\"\$ac_cs_config\\"
18035 Copyright (C) 2012 Free Software Foundation, Inc.
18036 This config.status script is free software; the Free Software Foundation
18037 gives unlimited permission to copy, distribute and modify it."
18039 ac_pwd='$ac_pwd'
18040 srcdir='$srcdir'
18041 INSTALL='$INSTALL'
18042 MKDIR_P='$MKDIR_P'
18043 test -n "\$AWK" || AWK=awk
18044 _ACEOF
18046 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
18047 # The default lists apply if the user does not specify any file.
18048 ac_need_defaults=:
18049 while test $# != 0
18051 case $1 in
18052 --*=?*)
18053 ac_option=`expr "X$1" : 'X\([^=]*\)='`
18054 ac_optarg=`expr "X$1" : 'X[^=]*=\(.*\)'`
18055 ac_shift=:
18057 --*=)
18058 ac_option=`expr "X$1" : 'X\([^=]*\)='`
18059 ac_optarg=
18060 ac_shift=:
18063 ac_option=$1
18064 ac_optarg=$2
18065 ac_shift=shift
18067 esac
18069 case $ac_option in
18070 # Handling of the options.
18071 -recheck | --recheck | --rechec | --reche | --rech | --rec | --re | --r)
18072 ac_cs_recheck=: ;;
18073 --version | --versio | --versi | --vers | --ver | --ve | --v | -V )
18074 $as_echo "$ac_cs_version"; exit ;;
18075 --config | --confi | --conf | --con | --co | --c )
18076 $as_echo "$ac_cs_config"; exit ;;
18077 --debug | --debu | --deb | --de | --d | -d )
18078 debug=: ;;
18079 --file | --fil | --fi | --f )
18080 $ac_shift
18081 case $ac_optarg in
18082 *\'*) ac_optarg=`$as_echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"` ;;
18083 '') as_fn_error $? "missing file argument" ;;
18084 esac
18085 as_fn_append CONFIG_FILES " '$ac_optarg'"
18086 ac_need_defaults=false;;
18087 --header | --heade | --head | --hea )
18088 $ac_shift
18089 case $ac_optarg in
18090 *\'*) ac_optarg=`$as_echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"` ;;
18091 esac
18092 as_fn_append CONFIG_HEADERS " '$ac_optarg'"
18093 ac_need_defaults=false;;
18094 --he | --h)
18095 # Conflict between --help and --header
18096 as_fn_error $? "ambiguous option: \`$1'
18097 Try \`$0 --help' for more information.";;
18098 --help | --hel | -h )
18099 $as_echo "$ac_cs_usage"; exit ;;
18100 -q | -quiet | --quiet | --quie | --qui | --qu | --q \
18101 | -silent | --silent | --silen | --sile | --sil | --si | --s)
18102 ac_cs_silent=: ;;
18104 # This is an error.
18105 -*) as_fn_error $? "unrecognized option: \`$1'
18106 Try \`$0 --help' for more information." ;;
18108 *) as_fn_append ac_config_targets " $1"
18109 ac_need_defaults=false ;;
18111 esac
18112 shift
18113 done
18115 ac_configure_extra_args=
18117 if $ac_cs_silent; then
18118 exec 6>/dev/null
18119 ac_configure_extra_args="$ac_configure_extra_args --silent"
18122 _ACEOF
18123 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
18124 if \$ac_cs_recheck; then
18125 set X $SHELL '$0' $ac_configure_args \$ac_configure_extra_args --no-create --no-recursion
18126 shift
18127 \$as_echo "running CONFIG_SHELL=$SHELL \$*" >&6
18128 CONFIG_SHELL='$SHELL'
18129 export CONFIG_SHELL
18130 exec "\$@"
18133 _ACEOF
18134 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
18135 exec 5>>config.log
18137 echo
18138 sed 'h;s/./-/g;s/^.../## /;s/...$/ ##/;p;x;p;x' <<_ASBOX
18139 ## Running $as_me. ##
18140 _ASBOX
18141 $as_echo "$ac_log"
18142 } >&5
18144 _ACEOF
18145 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
18147 # INIT-COMMANDS
18149 wine_fn_output_makefile ()
18151 cat Make.tmp - <<\_WINE_EOF >\$tmp/makefile && mv -f \$tmp/makefile \$1 && rm -f Make.tmp && return
18152 `cat $wine_rules_file`
18153 _WINE_EOF
18154 as_fn_error $? "could not create Makefile" "$LINENO" 5
18157 _ACEOF
18159 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
18161 # Handling of arguments.
18162 for ac_config_target in $ac_config_targets
18164 case $ac_config_target in
18165 "include/config.h") CONFIG_HEADERS="$CONFIG_HEADERS include/config.h" ;;
18166 "include/stamp-h") CONFIG_COMMANDS="$CONFIG_COMMANDS include/stamp-h" ;;
18167 "dlls/shell32/AUTHORS") CONFIG_LINKS="$CONFIG_LINKS dlls/shell32/AUTHORS:AUTHORS" ;;
18168 "dlls/wineps.drv/generic.ppd") CONFIG_LINKS="$CONFIG_LINKS dlls/wineps.drv/generic.ppd:dlls/wineps.drv/generic.ppd" ;;
18169 "fonts/marlett.ttf") CONFIG_LINKS="$CONFIG_LINKS fonts/marlett.ttf:fonts/marlett.ttf" ;;
18170 "fonts/symbol.ttf") CONFIG_LINKS="$CONFIG_LINKS fonts/symbol.ttf:fonts/symbol.ttf" ;;
18171 "fonts/tahoma.ttf") CONFIG_LINKS="$CONFIG_LINKS fonts/tahoma.ttf:fonts/tahoma.ttf" ;;
18172 "fonts/tahomabd.ttf") CONFIG_LINKS="$CONFIG_LINKS fonts/tahomabd.ttf:fonts/tahomabd.ttf" ;;
18173 "po/LINGUAS") CONFIG_LINKS="$CONFIG_LINKS po/LINGUAS:po/LINGUAS" ;;
18174 "tools/l_intl.nls") CONFIG_LINKS="$CONFIG_LINKS tools/l_intl.nls:tools/l_intl.nls" ;;
18175 "wine") CONFIG_LINKS="$CONFIG_LINKS wine:tools/winewrapper" ;;
18176 "wine64") CONFIG_LINKS="$CONFIG_LINKS wine64:tools/winewrapper" ;;
18177 "dlls/gdi32/dibdrv") CONFIG_COMMANDS="$CONFIG_COMMANDS dlls/gdi32/dibdrv" ;;
18178 "dlls/gdi32/enhmfdrv") CONFIG_COMMANDS="$CONFIG_COMMANDS dlls/gdi32/enhmfdrv" ;;
18179 "dlls/gdi32/mfdrv") CONFIG_COMMANDS="$CONFIG_COMMANDS dlls/gdi32/mfdrv" ;;
18180 "dlls/kernel32/nls") CONFIG_COMMANDS="$CONFIG_COMMANDS dlls/kernel32/nls" ;;
18181 "dlls/user32/resources") CONFIG_COMMANDS="$CONFIG_COMMANDS dlls/user32/resources" ;;
18182 "dlls/wineps.drv/data") CONFIG_COMMANDS="$CONFIG_COMMANDS dlls/wineps.drv/data" ;;
18183 "include/wine") CONFIG_COMMANDS="$CONFIG_COMMANDS include/wine" ;;
18184 "Make.rules") CONFIG_FILES="$CONFIG_FILES Make.rules" ;;
18185 "Maketest.rules") CONFIG_FILES="$CONFIG_FILES Maketest.rules" ;;
18186 "dlls/Makedll.rules") CONFIG_FILES="$CONFIG_FILES dlls/Makedll.rules" ;;
18187 "dlls/Makeimplib.rules") CONFIG_FILES="$CONFIG_FILES dlls/Makeimplib.rules" ;;
18188 "programs/Makeprog.rules") CONFIG_FILES="$CONFIG_FILES programs/Makeprog.rules" ;;
18189 "Makefile") CONFIG_COMMANDS="$CONFIG_COMMANDS Makefile" ;;
18190 "Make.tmp") CONFIG_FILES="$CONFIG_FILES Make.tmp:Make.vars.in:Makefile.in" ;;
18192 *) as_fn_error $? "invalid argument: \`$ac_config_target'" "$LINENO" 5;;
18193 esac
18194 done
18197 # If the user did not use the arguments to specify the items to instantiate,
18198 # then the envvar interface is used. Set only those that are not.
18199 # We use the long form for the default assignment because of an extremely
18200 # bizarre bug on SunOS 4.1.3.
18201 if $ac_need_defaults; then
18202 test "${CONFIG_FILES+set}" = set || CONFIG_FILES=$config_files
18203 test "${CONFIG_HEADERS+set}" = set || CONFIG_HEADERS=$config_headers
18204 test "${CONFIG_LINKS+set}" = set || CONFIG_LINKS=$config_links
18205 test "${CONFIG_COMMANDS+set}" = set || CONFIG_COMMANDS=$config_commands
18208 # Have a temporary directory for convenience. Make it in the build tree
18209 # simply because there is no reason against having it here, and in addition,
18210 # creating and moving files from /tmp can sometimes cause problems.
18211 # Hook for its removal unless debugging.
18212 # Note that there is a small window in which the directory will not be cleaned:
18213 # after its creation but before its name has been assigned to `$tmp'.
18214 $debug ||
18216 tmp= ac_tmp=
18217 trap 'exit_status=$?
18218 : "${ac_tmp:=$tmp}"
18219 { test ! -d "$ac_tmp" || rm -fr "$ac_tmp"; } && exit $exit_status
18221 trap 'as_fn_exit 1' 1 2 13 15
18223 # Create a (secure) tmp directory for tmp files.
18226 tmp=`(umask 077 && mktemp -d "./confXXXXXX") 2>/dev/null` &&
18227 test -d "$tmp"
18228 } ||
18230 tmp=./conf$$-$RANDOM
18231 (umask 077 && mkdir "$tmp")
18232 } || as_fn_error $? "cannot create a temporary directory in ." "$LINENO" 5
18233 ac_tmp=$tmp
18235 # Set up the scripts for CONFIG_FILES section.
18236 # No need to generate them if there are no CONFIG_FILES.
18237 # This happens for instance with `./config.status config.h'.
18238 if test -n "$CONFIG_FILES"; then
18240 if $AWK 'BEGIN { getline <"/dev/null" }' </dev/null 2>/dev/null; then
18241 ac_cs_awk_getline=:
18242 ac_cs_awk_pipe_init=
18243 ac_cs_awk_read_file='
18244 while ((getline aline < (F[key])) > 0)
18245 print(aline)
18246 close(F[key])'
18247 ac_cs_awk_pipe_fini=
18248 else
18249 ac_cs_awk_getline=false
18250 ac_cs_awk_pipe_init="print \"cat <<'|#_!!_#|' &&\""
18251 ac_cs_awk_read_file='
18252 print "|#_!!_#|"
18253 print "cat " F[key] " &&"
18254 '$ac_cs_awk_pipe_init
18255 # The final `:' finishes the AND list.
18256 ac_cs_awk_pipe_fini='END { print "|#_!!_#|"; print ":" }'
18258 ac_cr=`echo X | tr X '\015'`
18259 # On cygwin, bash can eat \r inside `` if the user requested igncr.
18260 # But we know of no other shell where ac_cr would be empty at this
18261 # point, so we can use a bashism as a fallback.
18262 if test "x$ac_cr" = x; then
18263 eval ac_cr=\$\'\\r\'
18265 ac_cs_awk_cr=`$AWK 'BEGIN { print "a\rb" }' </dev/null 2>/dev/null`
18266 if test "$ac_cs_awk_cr" = "a${ac_cr}b"; then
18267 ac_cs_awk_cr='\\r'
18268 else
18269 ac_cs_awk_cr=$ac_cr
18272 echo 'BEGIN {' >"$ac_tmp/subs1.awk" &&
18273 _ACEOF
18275 # Create commands to substitute file output variables.
18277 echo "cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1" &&
18278 echo 'cat >>"\$ac_tmp/subs1.awk" <<\\_ACAWK &&' &&
18279 echo "$ac_subst_files" | sed 's/.*/F["&"]="$&"/' &&
18280 echo "_ACAWK" &&
18281 echo "_ACEOF"
18282 } >conf$$files.sh &&
18283 . ./conf$$files.sh ||
18284 as_fn_error $? "could not make $CONFIG_STATUS" "$LINENO" 5
18285 rm -f conf$$files.sh
18288 echo "cat >conf$$subs.awk <<_ACEOF" &&
18289 echo "$ac_subst_vars" | sed 's/.*/&!$&$ac_delim/' &&
18290 echo "_ACEOF"
18291 } >conf$$subs.sh ||
18292 as_fn_error $? "could not make $CONFIG_STATUS" "$LINENO" 5
18293 ac_delim_num=`echo "$ac_subst_vars" | grep -c '^'`
18294 ac_delim='%!_!# '
18295 for ac_last_try in false false false false false :; do
18296 . ./conf$$subs.sh ||
18297 as_fn_error $? "could not make $CONFIG_STATUS" "$LINENO" 5
18299 ac_delim_n=`sed -n "s/.*$ac_delim\$/X/p" conf$$subs.awk | grep -c X`
18300 if test $ac_delim_n = $ac_delim_num; then
18301 break
18302 elif $ac_last_try; then
18303 as_fn_error $? "could not make $CONFIG_STATUS" "$LINENO" 5
18304 else
18305 ac_delim="$ac_delim!$ac_delim _$ac_delim!! "
18307 done
18308 rm -f conf$$subs.sh
18310 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
18311 cat >>"\$ac_tmp/subs1.awk" <<\\_ACAWK &&
18312 _ACEOF
18313 sed -n '
18315 s/^/S["/; s/!.*/"]=/
18318 s/^[^!]*!//
18319 :repl
18320 t repl
18321 s/'"$ac_delim"'$//
18322 t delim
18325 s/\(.\{148\}\)..*/\1/
18326 t more1
18327 s/["\\]/\\&/g; s/^/"/; s/$/\\n"\\/
18330 b repl
18331 :more1
18332 s/["\\]/\\&/g; s/^/"/; s/$/"\\/
18335 s/.\{148\}//
18336 t nl
18337 :delim
18339 s/\(.\{148\}\)..*/\1/
18340 t more2
18341 s/["\\]/\\&/g; s/^/"/; s/$/"/
18344 :more2
18345 s/["\\]/\\&/g; s/^/"/; s/$/"\\/
18348 s/.\{148\}//
18349 t delim
18350 ' <conf$$subs.awk | sed '
18351 /^[^""]/{
18353 s/\n//
18355 ' >>$CONFIG_STATUS || ac_write_fail=1
18356 rm -f conf$$subs.awk
18357 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
18358 _ACAWK
18359 cat >>"\$ac_tmp/subs1.awk" <<_ACAWK &&
18360 for (key in S) S_is_set[key] = 1
18361 FS = "\a"
18362 \$ac_cs_awk_pipe_init
18365 line = $ 0
18366 nfields = split(line, field, "@")
18367 substed = 0
18368 len = length(field[1])
18369 for (i = 2; i < nfields; i++) {
18370 key = field[i]
18371 keylen = length(key)
18372 if (S_is_set[key]) {
18373 value = S[key]
18374 line = substr(line, 1, len) "" value "" substr(line, len + keylen + 3)
18375 len += length(value) + length(field[++i])
18376 substed = 1
18377 } else
18378 len += 1 + keylen
18380 if (nfields == 3 && !substed) {
18381 key = field[2]
18382 if (F[key] != "" && line ~ /^[ ]*@.*@[ ]*$/) {
18383 \$ac_cs_awk_read_file
18384 next
18387 print line
18389 \$ac_cs_awk_pipe_fini
18390 _ACAWK
18391 _ACEOF
18392 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
18393 if sed "s/$ac_cr//" < /dev/null > /dev/null 2>&1; then
18394 sed "s/$ac_cr\$//; s/$ac_cr/$ac_cs_awk_cr/g"
18395 else
18397 fi < "$ac_tmp/subs1.awk" > "$ac_tmp/subs.awk" \
18398 || as_fn_error $? "could not setup config files machinery" "$LINENO" 5
18399 _ACEOF
18401 # VPATH may cause trouble with some makes, so we remove sole $(srcdir),
18402 # ${srcdir} and @srcdir@ entries from VPATH if srcdir is ".", strip leading and
18403 # trailing colons and then remove the whole line if VPATH becomes empty
18404 # (actually we leave an empty line to preserve line numbers).
18405 if test "x$srcdir" = x.; then
18406 ac_vpsub='/^[ ]*VPATH[ ]*=[ ]*/{
18408 s///
18409 s/^/:/
18410 s/[ ]*$/:/
18411 s/:\$(srcdir):/:/g
18412 s/:\${srcdir}:/:/g
18413 s/:@srcdir@:/:/g
18414 s/^:*//
18415 s/:*$//
18417 s/\(=[ ]*\).*/\1/
18419 s/\n//
18420 s/^[^=]*=[ ]*$//
18424 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
18425 fi # test -n "$CONFIG_FILES"
18427 # Set up the scripts for CONFIG_HEADERS section.
18428 # No need to generate them if there are no CONFIG_HEADERS.
18429 # This happens for instance with `./config.status Makefile'.
18430 if test -n "$CONFIG_HEADERS"; then
18431 cat >"$ac_tmp/defines.awk" <<\_ACAWK ||
18432 BEGIN {
18433 _ACEOF
18435 # Transform confdefs.h into an awk script `defines.awk', embedded as
18436 # here-document in config.status, that substitutes the proper values into
18437 # config.h.in to produce config.h.
18439 # Create a delimiter string that does not exist in confdefs.h, to ease
18440 # handling of long lines.
18441 ac_delim='%!_!# '
18442 for ac_last_try in false false :; do
18443 ac_tt=`sed -n "/$ac_delim/p" confdefs.h`
18444 if test -z "$ac_tt"; then
18445 break
18446 elif $ac_last_try; then
18447 as_fn_error $? "could not make $CONFIG_HEADERS" "$LINENO" 5
18448 else
18449 ac_delim="$ac_delim!$ac_delim _$ac_delim!! "
18451 done
18453 # For the awk script, D is an array of macro values keyed by name,
18454 # likewise P contains macro parameters if any. Preserve backslash
18455 # newline sequences.
18457 ac_word_re=[_$as_cr_Letters][_$as_cr_alnum]*
18458 sed -n '
18459 s/.\{148\}/&'"$ac_delim"'/g
18460 t rset
18461 :rset
18462 s/^[ ]*#[ ]*define[ ][ ]*/ /
18463 t def
18465 :def
18466 s/\\$//
18467 t bsnl
18468 s/["\\]/\\&/g
18469 s/^ \('"$ac_word_re"'\)\(([^()]*)\)[ ]*\(.*\)/P["\1"]="\2"\
18470 D["\1"]=" \3"/p
18471 s/^ \('"$ac_word_re"'\)[ ]*\(.*\)/D["\1"]=" \2"/p
18473 :bsnl
18474 s/["\\]/\\&/g
18475 s/^ \('"$ac_word_re"'\)\(([^()]*)\)[ ]*\(.*\)/P["\1"]="\2"\
18476 D["\1"]=" \3\\\\\\n"\\/p
18477 t cont
18478 s/^ \('"$ac_word_re"'\)[ ]*\(.*\)/D["\1"]=" \2\\\\\\n"\\/p
18479 t cont
18481 :cont
18483 s/.\{148\}/&'"$ac_delim"'/g
18484 t clear
18485 :clear
18486 s/\\$//
18487 t bsnlc
18488 s/["\\]/\\&/g; s/^/"/; s/$/"/p
18490 :bsnlc
18491 s/["\\]/\\&/g; s/^/"/; s/$/\\\\\\n"\\/p
18492 b cont
18493 ' <confdefs.h | sed '
18494 s/'"$ac_delim"'/"\\\
18495 "/g' >>$CONFIG_STATUS || ac_write_fail=1
18497 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
18498 for (key in D) D_is_set[key] = 1
18499 FS = "\a"
18501 /^[\t ]*#[\t ]*(define|undef)[\t ]+$ac_word_re([\t (]|\$)/ {
18502 line = \$ 0
18503 split(line, arg, " ")
18504 if (arg[1] == "#") {
18505 defundef = arg[2]
18506 mac1 = arg[3]
18507 } else {
18508 defundef = substr(arg[1], 2)
18509 mac1 = arg[2]
18511 split(mac1, mac2, "(") #)
18512 macro = mac2[1]
18513 prefix = substr(line, 1, index(line, defundef) - 1)
18514 if (D_is_set[macro]) {
18515 # Preserve the white space surrounding the "#".
18516 print prefix "define", macro P[macro] D[macro]
18517 next
18518 } else {
18519 # Replace #undef with comments. This is necessary, for example,
18520 # in the case of _POSIX_SOURCE, which is predefined and required
18521 # on some systems where configure will not decide to define it.
18522 if (defundef == "undef") {
18523 print "/*", prefix defundef, macro, "*/"
18524 next
18528 { print }
18529 _ACAWK
18530 _ACEOF
18531 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
18532 as_fn_error $? "could not setup config headers machinery" "$LINENO" 5
18533 fi # test -n "$CONFIG_HEADERS"
18536 eval set X " :F $CONFIG_FILES :H $CONFIG_HEADERS :L $CONFIG_LINKS :C $CONFIG_COMMANDS"
18537 shift
18538 for ac_tag
18540 case $ac_tag in
18541 :[FHLC]) ac_mode=$ac_tag; continue;;
18542 esac
18543 case $ac_mode$ac_tag in
18544 :[FHL]*:*);;
18545 :L* | :C*:*) as_fn_error $? "invalid tag \`$ac_tag'" "$LINENO" 5;;
18546 :[FH]-) ac_tag=-:-;;
18547 :[FH]*) ac_tag=$ac_tag:$ac_tag.in;;
18548 esac
18549 ac_save_IFS=$IFS
18550 IFS=:
18551 set x $ac_tag
18552 IFS=$ac_save_IFS
18553 shift
18554 ac_file=$1
18555 shift
18557 case $ac_mode in
18558 :L) ac_source=$1;;
18559 :[FH])
18560 ac_file_inputs=
18561 for ac_f
18563 case $ac_f in
18564 -) ac_f="$ac_tmp/stdin";;
18565 *) # Look for the file first in the build tree, then in the source tree
18566 # (if the path is not absolute). The absolute path cannot be DOS-style,
18567 # because $ac_f cannot contain `:'.
18568 test -f "$ac_f" ||
18569 case $ac_f in
18570 [\\/$]*) false;;
18571 *) test -f "$srcdir/$ac_f" && ac_f="$srcdir/$ac_f";;
18572 esac ||
18573 as_fn_error 1 "cannot find input file: \`$ac_f'" "$LINENO" 5;;
18574 esac
18575 case $ac_f in *\'*) ac_f=`$as_echo "$ac_f" | sed "s/'/'\\\\\\\\''/g"`;; esac
18576 as_fn_append ac_file_inputs " '$ac_f'"
18577 done
18579 # Let's still pretend it is `configure' which instantiates (i.e., don't
18580 # use $as_me), people would be surprised to read:
18581 # /* config.h. Generated by config.status. */
18582 configure_input='Generated from '`
18583 $as_echo "$*" | sed 's|^[^:]*/||;s|:[^:]*/|, |g'
18584 `' by configure.'
18585 if test x"$ac_file" != x-; then
18586 configure_input="$ac_file. $configure_input"
18587 { $as_echo "$as_me:${as_lineno-$LINENO}: creating $ac_file" >&5
18588 $as_echo "$as_me: creating $ac_file" >&6;}
18590 # Neutralize special characters interpreted by sed in replacement strings.
18591 case $configure_input in #(
18592 *\&* | *\|* | *\\* )
18593 ac_sed_conf_input=`$as_echo "$configure_input" |
18594 sed 's/[\\\\&|]/\\\\&/g'`;; #(
18595 *) ac_sed_conf_input=$configure_input;;
18596 esac
18598 case $ac_tag in
18599 *:-:* | *:-) cat >"$ac_tmp/stdin" \
18600 || as_fn_error $? "could not create $ac_file" "$LINENO" 5 ;;
18601 esac
18603 esac
18605 ac_dir=`$as_dirname -- "$ac_file" ||
18606 $as_expr X"$ac_file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
18607 X"$ac_file" : 'X\(//\)[^/]' \| \
18608 X"$ac_file" : 'X\(//\)$' \| \
18609 X"$ac_file" : 'X\(/\)' \| . 2>/dev/null ||
18610 $as_echo X"$ac_file" |
18611 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
18612 s//\1/
18615 /^X\(\/\/\)[^/].*/{
18616 s//\1/
18619 /^X\(\/\/\)$/{
18620 s//\1/
18623 /^X\(\/\).*/{
18624 s//\1/
18627 s/.*/./; q'`
18628 as_dir="$ac_dir"; as_fn_mkdir_p
18629 ac_builddir=.
18631 case "$ac_dir" in
18632 .) ac_dir_suffix= ac_top_builddir_sub=. ac_top_build_prefix= ;;
18634 ac_dir_suffix=/`$as_echo "$ac_dir" | sed 's|^\.[\\/]||'`
18635 # A ".." for each directory in $ac_dir_suffix.
18636 ac_top_builddir_sub=`$as_echo "$ac_dir_suffix" | sed 's|/[^\\/]*|/..|g;s|/||'`
18637 case $ac_top_builddir_sub in
18638 "") ac_top_builddir_sub=. ac_top_build_prefix= ;;
18639 *) ac_top_build_prefix=$ac_top_builddir_sub/ ;;
18640 esac ;;
18641 esac
18642 ac_abs_top_builddir=$ac_pwd
18643 ac_abs_builddir=$ac_pwd$ac_dir_suffix
18644 # for backward compatibility:
18645 ac_top_builddir=$ac_top_build_prefix
18647 case $srcdir in
18648 .) # We are building in place.
18649 ac_srcdir=.
18650 ac_top_srcdir=$ac_top_builddir_sub
18651 ac_abs_top_srcdir=$ac_pwd ;;
18652 [\\/]* | ?:[\\/]* ) # Absolute name.
18653 ac_srcdir=$srcdir$ac_dir_suffix;
18654 ac_top_srcdir=$srcdir
18655 ac_abs_top_srcdir=$srcdir ;;
18656 *) # Relative name.
18657 ac_srcdir=$ac_top_build_prefix$srcdir$ac_dir_suffix
18658 ac_top_srcdir=$ac_top_build_prefix$srcdir
18659 ac_abs_top_srcdir=$ac_pwd/$srcdir ;;
18660 esac
18661 ac_abs_srcdir=$ac_abs_top_srcdir$ac_dir_suffix
18664 case $ac_mode in
18667 # CONFIG_FILE
18670 case $INSTALL in
18671 [\\/$]* | ?:[\\/]* ) ac_INSTALL=$INSTALL ;;
18672 *) ac_INSTALL=$ac_top_build_prefix$INSTALL ;;
18673 esac
18674 ac_MKDIR_P=$MKDIR_P
18675 case $MKDIR_P in
18676 [\\/$]* | ?:[\\/]* ) ;;
18677 */*) ac_MKDIR_P=$ac_top_build_prefix$MKDIR_P ;;
18678 esac
18679 _ACEOF
18681 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
18682 # If the template does not know about datarootdir, expand it.
18683 # FIXME: This hack should be removed a few years after 2.60.
18684 ac_datarootdir_hack=; ac_datarootdir_seen=
18685 ac_sed_dataroot='
18686 /datarootdir/ {
18690 /@datadir@/p
18691 /@docdir@/p
18692 /@infodir@/p
18693 /@localedir@/p
18694 /@mandir@/p'
18695 case `eval "sed -n \"\$ac_sed_dataroot\" $ac_file_inputs"` in
18696 *datarootdir*) ac_datarootdir_seen=yes;;
18697 *@datadir@*|*@docdir@*|*@infodir@*|*@localedir@*|*@mandir@*)
18698 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&5
18699 $as_echo "$as_me: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&2;}
18700 _ACEOF
18701 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
18702 ac_datarootdir_hack='
18703 s&@datadir@&$datadir&g
18704 s&@docdir@&$docdir&g
18705 s&@infodir@&$infodir&g
18706 s&@localedir@&$localedir&g
18707 s&@mandir@&$mandir&g
18708 s&\\\${datarootdir}&$datarootdir&g' ;;
18709 esac
18710 _ACEOF
18712 # Neutralize VPATH when `$srcdir' = `.'.
18713 # Shell code in configure.ac might set extrasub.
18714 # FIXME: do we really want to maintain this feature?
18715 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
18716 ac_sed_extra="$ac_vpsub
18717 $extrasub
18718 _ACEOF
18719 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
18721 /@[a-zA-Z_][a-zA-Z_0-9]*@/!b
18722 s|@configure_input@|$ac_sed_conf_input|;t t
18723 s&@top_builddir@&$ac_top_builddir_sub&;t t
18724 s&@top_build_prefix@&$ac_top_build_prefix&;t t
18725 s&@srcdir@&$ac_srcdir&;t t
18726 s&@abs_srcdir@&$ac_abs_srcdir&;t t
18727 s&@top_srcdir@&$ac_top_srcdir&;t t
18728 s&@abs_top_srcdir@&$ac_abs_top_srcdir&;t t
18729 s&@builddir@&$ac_builddir&;t t
18730 s&@abs_builddir@&$ac_abs_builddir&;t t
18731 s&@abs_top_builddir@&$ac_abs_top_builddir&;t t
18732 s&@INSTALL@&$ac_INSTALL&;t t
18733 s&@MKDIR_P@&$ac_MKDIR_P&;t t
18734 $ac_datarootdir_hack
18736 eval sed \"\$ac_sed_extra\" "$ac_file_inputs" |
18737 if $ac_cs_awk_getline; then
18738 $AWK -f "$ac_tmp/subs.awk"
18739 else
18740 $AWK -f "$ac_tmp/subs.awk" | $SHELL
18741 fi \
18742 >$ac_tmp/out || as_fn_error $? "could not create $ac_file" "$LINENO" 5
18744 test -z "$ac_datarootdir_hack$ac_datarootdir_seen" &&
18745 { ac_out=`sed -n '/\${datarootdir}/p' "$ac_tmp/out"`; test -n "$ac_out"; } &&
18746 { ac_out=`sed -n '/^[ ]*datarootdir[ ]*:*=/p' \
18747 "$ac_tmp/out"`; test -z "$ac_out"; } &&
18748 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $ac_file contains a reference to the variable \`datarootdir'
18749 which seems to be undefined. Please make sure it is defined" >&5
18750 $as_echo "$as_me: WARNING: $ac_file contains a reference to the variable \`datarootdir'
18751 which seems to be undefined. Please make sure it is defined" >&2;}
18753 rm -f "$ac_tmp/stdin"
18754 case $ac_file in
18755 -) cat "$ac_tmp/out" && rm -f "$ac_tmp/out";;
18756 *) rm -f "$ac_file" && mv "$ac_tmp/out" "$ac_file";;
18757 esac \
18758 || as_fn_error $? "could not create $ac_file" "$LINENO" 5
18762 # CONFIG_HEADER
18764 if test x"$ac_file" != x-; then
18766 $as_echo "/* $configure_input */" \
18767 && eval '$AWK -f "$ac_tmp/defines.awk"' "$ac_file_inputs"
18768 } >"$ac_tmp/config.h" \
18769 || as_fn_error $? "could not create $ac_file" "$LINENO" 5
18770 if diff "$ac_file" "$ac_tmp/config.h" >/dev/null 2>&1; then
18771 { $as_echo "$as_me:${as_lineno-$LINENO}: $ac_file is unchanged" >&5
18772 $as_echo "$as_me: $ac_file is unchanged" >&6;}
18773 else
18774 rm -f "$ac_file"
18775 mv "$ac_tmp/config.h" "$ac_file" \
18776 || as_fn_error $? "could not create $ac_file" "$LINENO" 5
18778 else
18779 $as_echo "/* $configure_input */" \
18780 && eval '$AWK -f "$ac_tmp/defines.awk"' "$ac_file_inputs" \
18781 || as_fn_error $? "could not create -" "$LINENO" 5
18786 # CONFIG_LINK
18789 if test "$ac_source" = "$ac_file" && test "$srcdir" = '.'; then
18791 else
18792 # Prefer the file from the source tree if names are identical.
18793 if test "$ac_source" = "$ac_file" || test ! -r "$ac_source"; then
18794 ac_source=$srcdir/$ac_source
18797 { $as_echo "$as_me:${as_lineno-$LINENO}: linking $ac_source to $ac_file" >&5
18798 $as_echo "$as_me: linking $ac_source to $ac_file" >&6;}
18800 if test ! -r "$ac_source"; then
18801 as_fn_error $? "$ac_source: file not found" "$LINENO" 5
18803 rm -f "$ac_file"
18805 # Try a relative symlink, then a hard link, then a copy.
18806 case $ac_source in
18807 [\\/$]* | ?:[\\/]* ) ac_rel_source=$ac_source ;;
18808 *) ac_rel_source=$ac_top_build_prefix$ac_source ;;
18809 esac
18810 ln -s "$ac_rel_source" "$ac_file" 2>/dev/null ||
18811 ln "$ac_source" "$ac_file" 2>/dev/null ||
18812 cp -p "$ac_source" "$ac_file" ||
18813 as_fn_error $? "cannot link or copy $ac_source to $ac_file" "$LINENO" 5
18816 :C) { $as_echo "$as_me:${as_lineno-$LINENO}: executing $ac_file commands" >&5
18817 $as_echo "$as_me: executing $ac_file commands" >&6;}
18819 esac
18822 case $ac_file$ac_mode in
18823 "include/stamp-h":C) echo timestamp > include/stamp-h ;;
18824 "dlls/gdi32/dibdrv":C) test -d "dlls/gdi32/dibdrv" || { { $as_echo "$as_me:${as_lineno-$LINENO}: creating dlls/gdi32/dibdrv" >&5
18825 $as_echo "$as_me: creating dlls/gdi32/dibdrv" >&6;}; as_dir="dlls/gdi32/dibdrv"; as_fn_mkdir_p; } ;;
18826 "dlls/gdi32/enhmfdrv":C) test -d "dlls/gdi32/enhmfdrv" || { { $as_echo "$as_me:${as_lineno-$LINENO}: creating dlls/gdi32/enhmfdrv" >&5
18827 $as_echo "$as_me: creating dlls/gdi32/enhmfdrv" >&6;}; as_dir="dlls/gdi32/enhmfdrv"; as_fn_mkdir_p; } ;;
18828 "dlls/gdi32/mfdrv":C) test -d "dlls/gdi32/mfdrv" || { { $as_echo "$as_me:${as_lineno-$LINENO}: creating dlls/gdi32/mfdrv" >&5
18829 $as_echo "$as_me: creating dlls/gdi32/mfdrv" >&6;}; as_dir="dlls/gdi32/mfdrv"; as_fn_mkdir_p; } ;;
18830 "dlls/kernel32/nls":C) test -d "dlls/kernel32/nls" || { { $as_echo "$as_me:${as_lineno-$LINENO}: creating dlls/kernel32/nls" >&5
18831 $as_echo "$as_me: creating dlls/kernel32/nls" >&6;}; as_dir="dlls/kernel32/nls"; as_fn_mkdir_p; } ;;
18832 "dlls/user32/resources":C) test -d "dlls/user32/resources" || { { $as_echo "$as_me:${as_lineno-$LINENO}: creating dlls/user32/resources" >&5
18833 $as_echo "$as_me: creating dlls/user32/resources" >&6;}; as_dir="dlls/user32/resources"; as_fn_mkdir_p; } ;;
18834 "dlls/wineps.drv/data":C) test -d "dlls/wineps.drv/data" || { { $as_echo "$as_me:${as_lineno-$LINENO}: creating dlls/wineps.drv/data" >&5
18835 $as_echo "$as_me: creating dlls/wineps.drv/data" >&6;}; as_dir="dlls/wineps.drv/data"; as_fn_mkdir_p; } ;;
18836 "include/wine":C) test -d "include/wine" || { { $as_echo "$as_me:${as_lineno-$LINENO}: creating include/wine" >&5
18837 $as_echo "$as_me: creating include/wine" >&6;}; as_dir="include/wine"; as_fn_mkdir_p; } ;;
18838 "Makefile":C) wine_fn_output_makefile Makefile ;;
18840 esac
18841 done # for ac_tag
18844 as_fn_exit 0
18845 _ACEOF
18846 ac_clean_files=$ac_clean_files_save
18848 test $ac_write_fail = 0 ||
18849 as_fn_error $? "write failure creating $CONFIG_STATUS" "$LINENO" 5
18852 # configure is writing to config.log, and then calls config.status.
18853 # config.status does its own redirection, appending to config.log.
18854 # Unfortunately, on DOS this fails, as config.log is still kept open
18855 # by configure, so config.status won't be able to write to it; its
18856 # output is simply discarded. So we exec the FD to /dev/null,
18857 # effectively closing config.log, so it can be properly (re)opened and
18858 # appended to by config.status. When coming back to configure, we
18859 # need to make the FD available again.
18860 if test "$no_create" != yes; then
18861 ac_cs_success=:
18862 ac_config_status_args=
18863 test "$silent" = yes &&
18864 ac_config_status_args="$ac_config_status_args --quiet"
18865 exec 5>/dev/null
18866 $SHELL $CONFIG_STATUS $ac_config_status_args || ac_cs_success=false
18867 exec 5>>config.log
18868 # Use ||, not &&, to avoid exiting from the if with $? = 1, which
18869 # would make configure fail if this is the last instruction.
18870 $ac_cs_success || as_fn_exit 1
18872 if test -n "$ac_unrecognized_opts" && test "$enable_option_checking" != no; then
18873 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: unrecognized options: $ac_unrecognized_opts" >&5
18874 $as_echo "$as_me: WARNING: unrecognized options: $ac_unrecognized_opts" >&2;}
18878 if test "$no_create" = "yes"
18879 then
18880 exit 0
18883 ac_save_IFS="$IFS"
18884 if test "x$wine_notices != "x; then
18885 echo >&6
18886 IFS="|"
18887 for msg in $wine_notices; do
18888 IFS="$ac_save_IFS"
18889 if test -n "$msg"; then
18890 { $as_echo "$as_me:${as_lineno-$LINENO}: $msg" >&5
18891 $as_echo "$as_me: $msg" >&6;}
18893 done
18895 IFS="|"
18896 for msg in $wine_warnings; do
18897 IFS="$ac_save_IFS"
18898 if test -n "$msg"; then
18899 echo >&2
18900 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $msg" >&5
18901 $as_echo "$as_me: WARNING: $msg" >&2;}
18903 done
18904 IFS="$ac_save_IFS"
18906 $as_echo "
18907 $as_me: Finished. Do '${ac_make}' to compile Wine.
18908 " >&6