wbemprox: Fixed leaks in fill_datafile (Coverity).
[wine.git] / configure
blob4d039705b6a7642872b05a03ae35d1aa2d867f1e
1 #! /bin/sh
2 # Guess values for system-dependent variables and create Makefiles.
3 # Generated by GNU Autoconf 2.69 for Wine 1.7.15.
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.15'
584 PACKAGE_STRING='Wine 1.7.15'
585 PACKAGE_BUGREPORT='wine-devel@winehq.org'
586 PACKAGE_URL='http://www.winehq.org'
588 ac_unique_file="server/atom.c"
589 # Factoring default headers for most tests.
590 ac_includes_default="\
591 #include <stdio.h>
592 #ifdef HAVE_SYS_TYPES_H
593 # include <sys/types.h>
594 #endif
595 #ifdef HAVE_SYS_STAT_H
596 # include <sys/stat.h>
597 #endif
598 #ifdef STDC_HEADERS
599 # include <stdlib.h>
600 # include <stddef.h>
601 #else
602 # ifdef HAVE_STDLIB_H
603 # include <stdlib.h>
604 # endif
605 #endif
606 #ifdef HAVE_STRING_H
607 # if !defined STDC_HEADERS && defined HAVE_MEMORY_H
608 # include <memory.h>
609 # endif
610 # include <string.h>
611 #endif
612 #ifdef HAVE_STRINGS_H
613 # include <strings.h>
614 #endif
615 #ifdef HAVE_INTTYPES_H
616 # include <inttypes.h>
617 #endif
618 #ifdef HAVE_STDINT_H
619 # include <stdint.h>
620 #endif
621 #ifdef HAVE_UNISTD_H
622 # include <unistd.h>
623 #endif"
625 ac_subst_vars='LTLIBOBJS
626 LIBOBJS
627 LINGUAS
628 ALL_VARS_RULES
629 LDAP_LIBS
630 RT_LIBS
631 POLL_LIBS
632 DL_LIBS
633 TOOLSEXT
634 UNWINDFLAGS
635 BUILTINFLAG
636 EXTRACFLAGS
637 PROCSTAT_LIBS
638 KSTAT_LIBS
639 MPG123_LIBS
640 MPG123_CFLAGS
641 TIFF_LIBS
642 TIFF_CFLAGS
643 PNG_LIBS
644 PNG_CFLAGS
645 JPEG_LIBS
646 JPEG_CFLAGS
647 FONTCONFIG_LIBS
648 FONTCONFIG_CFLAGS
649 CUPS_CFLAGS
650 CAPI20_LIBS
651 CAPI20_CFLAGS
652 OSS4_CFLAGS
653 ALSA_LIBS
654 GSTREAMER_LIBS
655 GSTREAMER_CFLAGS
656 GETTEXTPO_LIBS
657 Z_LIBS
658 FREETYPE_LIBS
659 FREETYPE_CFLAGS
660 LCMS2_LIBS
661 LCMS2_CFLAGS
662 RESOLV_LIBS
663 GPHOTO2_PORT_LIBS
664 GPHOTO2_PORT_CFLAGS
665 GPHOTO2_LIBS
666 GPHOTO2_CFLAGS
667 SANE_LIBS
668 SANE_CFLAGS
669 GNUTLS_LIBS
670 GNUTLS_CFLAGS
671 HAL_LIBS
672 HAL_CFLAGS
673 DBUS_LIBS
674 DBUS_CFLAGS
675 XSLT_LIBS
676 XSLT_CFLAGS
677 XML2_LIBS
678 XML2_CFLAGS
679 X_EXTRA_LIBS
680 X_LIBS
681 X_PRE_LIBS
682 X_CFLAGS
683 XMKMF
684 PTHREAD_LIBS
685 CROSSCC
686 CROSSTARGET
687 PRELINK
688 CARBON_LIBS
689 QUICKTIME_LIBS
690 OPENCL_LIBS
691 OPENAL_LIBS
692 COREAUDIO_LIBS
693 SECURITY_LIBS
694 DISKARBITRATION_LIBS
695 APPKIT_LIBS
696 CORESERVICES_LIBS
697 APPLICATIONSERVICES_LIBS
698 FORCEFEEDBACK_LIBS
699 IOKIT_LIBS
700 COREFOUNDATION_LIBS
701 LIBWINE_RULES
702 SOCKET_LIBS
703 DLLTOOL
704 LOADER_RULES
705 ALL_TEST_RESOURCES
706 READELF
708 LDRPATH_LOCAL
709 LDRPATH_INSTALL
710 DLLFLAGS
711 DLLPREFIX
712 dlldir
714 OPENGL_LIBS
715 ICOTOOL
716 CONVERT
717 RSVG
718 FONTFORGE
719 PKG_CONFIG
720 MSGFMT
721 LDCONFIG
722 EGREP
723 GREP
724 LN_S
725 RANLIB
726 ARFLAGS
727 STRIP
728 ac_ct_AR
730 BISON
731 FLEX
732 TOOLSDIR
733 TARGETFLAGS
734 CPPBIN
735 ac_ct_CXX
736 CXXFLAGS
738 OBJEXT
739 EXEEXT
740 ac_ct_CC
741 CPPFLAGS
742 LDFLAGS
743 CFLAGS
745 SET_MAKE
746 host_os
747 host_vendor
748 host_cpu
749 host
750 build_os
751 build_vendor
752 build_cpu
753 build
754 target_alias
755 host_alias
756 build_alias
757 LIBS
758 ECHO_T
759 ECHO_N
760 ECHO_C
761 DEFS
762 mandir
763 localedir
764 libdir
765 psdir
766 pdfdir
767 dvidir
768 htmldir
769 infodir
770 docdir
771 oldincludedir
772 includedir
773 localstatedir
774 sharedstatedir
775 sysconfdir
776 datadir
777 datarootdir
778 libexecdir
779 sbindir
780 bindir
781 program_transform_name
782 prefix
783 exec_prefix
784 PACKAGE_URL
785 PACKAGE_BUGREPORT
786 PACKAGE_STRING
787 PACKAGE_VERSION
788 PACKAGE_TARNAME
789 PACKAGE_NAME
790 PATH_SEPARATOR
791 SHELL'
792 ac_subst_files=''
793 ac_user_opts='
794 enable_option_checking
795 enable_win16
796 enable_win64
797 enable_tests
798 enable_maintainer_mode
799 with_alsa
800 with_capi
801 with_cms
802 with_coreaudio
803 with_cups
804 with_curses
805 with_dbus
806 with_fontconfig
807 with_freetype
808 with_gettext
809 with_gettextpo
810 with_gphoto
811 with_glu
812 with_gnutls
813 with_gsm
814 with_gstreamer
815 with_hal
816 with_jpeg
817 with_ldap
818 with_mpg123
819 with_netapi
820 with_openal
821 with_opencl
822 with_opengl
823 with_osmesa
824 with_oss
825 with_png
826 with_pthread
827 with_sane
828 with_tiff
829 with_v4l
830 with_xcomposite
831 with_xcursor
832 with_xinerama
833 with_xinput
834 with_xinput2
835 with_xml
836 with_xrandr
837 with_xrender
838 with_xshape
839 with_xshm
840 with_xslt
841 with_xxf86vm
842 with_zlib
843 with_wine_tools
844 with_wine64
845 enable_largefile
846 with_x
847 enable_acledit
848 enable_aclui
849 enable_activeds
850 enable_actxprxy
851 enable_advapi32
852 enable_advpack
853 enable_amstream
854 enable_api_ms_win_core_com_l1_1_0
855 enable_api_ms_win_core_console_l1_1_0
856 enable_api_ms_win_core_debug_l1_1_1
857 enable_api_ms_win_core_errorhandling_l1_1_1
858 enable_api_ms_win_core_file_l1_2_0
859 enable_api_ms_win_core_handle_l1_1_0
860 enable_api_ms_win_core_heap_l1_2_0
861 enable_api_ms_win_core_heap_obsolete_l1_1_0
862 enable_api_ms_win_core_interlocked_l1_2_0
863 enable_api_ms_win_core_io_l1_1_1
864 enable_api_ms_win_core_kernel32_legacy_l1_1_0
865 enable_api_ms_win_core_libraryloader_l1_1_1
866 enable_api_ms_win_core_localization_l1_2_0
867 enable_api_ms_win_core_localization_obsolete_l1_1_0
868 enable_api_ms_win_core_localregistry_l1_1_0
869 enable_api_ms_win_core_memory_l1_1_1
870 enable_api_ms_win_core_namedpipe_l1_2_0
871 enable_api_ms_win_core_processenvironment_l1_2_0
872 enable_api_ms_win_core_processthreads_l1_1_0
873 enable_api_ms_win_core_processthreads_l1_1_1
874 enable_api_ms_win_core_profile_l1_1_0
875 enable_api_ms_win_core_psapi_l1_1_0
876 enable_api_ms_win_core_registry_l1_1_0
877 enable_api_ms_win_core_rtlsupport_l1_2_0
878 enable_api_ms_win_core_shlwapi_legacy_l1_1_0
879 enable_api_ms_win_core_string_l1_1_0
880 enable_api_ms_win_core_synch_l1_2_0
881 enable_api_ms_win_core_sysinfo_l1_2_0
882 enable_api_ms_win_core_threadpool_legacy_l1_1_0
883 enable_api_ms_win_core_timezone_l1_1_0
884 enable_api_ms_win_core_url_l1_1_0
885 enable_api_ms_win_core_util_l1_1_0
886 enable_api_ms_win_core_winrt_error_l1_1_0
887 enable_api_ms_win_core_winrt_string_l1_1_0
888 enable_api_ms_win_downlevel_advapi32_l1_1_0
889 enable_api_ms_win_downlevel_advapi32_l2_1_0
890 enable_api_ms_win_downlevel_normaliz_l1_1_0
891 enable_api_ms_win_downlevel_ole32_l1_1_0
892 enable_api_ms_win_downlevel_shell32_l1_1_0
893 enable_api_ms_win_downlevel_shlwapi_l1_1_0
894 enable_api_ms_win_downlevel_shlwapi_l2_1_0
895 enable_api_ms_win_downlevel_user32_l1_1_0
896 enable_api_ms_win_downlevel_version_l1_1_0
897 enable_api_ms_win_eventing_provider_l1_1_0
898 enable_api_ms_win_ntuser_dc_access_l1_1_0
899 enable_api_ms_win_security_base_l1_1_0
900 enable_api_ms_win_security_base_l1_2_0
901 enable_api_ms_win_security_sddl_l1_1_0
902 enable_api_ms_win_service_core_l1_1_1
903 enable_api_ms_win_service_management_l1_1_0
904 enable_api_ms_win_service_winsvc_l1_2_0
905 enable_apphelp
906 enable_appwiz_cpl
907 enable_atl
908 enable_atl100
909 enable_atl110
910 enable_atl80
911 enable_atl90
912 enable_authz
913 enable_avicap32
914 enable_avifil32
915 enable_avrt
916 enable_bcrypt
917 enable_browseui
918 enable_cabinet
919 enable_capi2032
920 enable_cards
921 enable_cfgmgr32
922 enable_clusapi
923 enable_comcat
924 enable_comctl32
925 enable_comdlg32
926 enable_compstui
927 enable_comsvcs
928 enable_credui
929 enable_crtdll
930 enable_crypt32
931 enable_cryptdlg
932 enable_cryptdll
933 enable_cryptnet
934 enable_cryptui
935 enable_ctapi32
936 enable_ctl3d32
937 enable_d2d1
938 enable_d3d10
939 enable_d3d10_1
940 enable_d3d10core
941 enable_d3d11
942 enable_d3d8
943 enable_d3d9
944 enable_d3dcompiler_33
945 enable_d3dcompiler_34
946 enable_d3dcompiler_35
947 enable_d3dcompiler_36
948 enable_d3dcompiler_37
949 enable_d3dcompiler_38
950 enable_d3dcompiler_39
951 enable_d3dcompiler_40
952 enable_d3dcompiler_41
953 enable_d3dcompiler_42
954 enable_d3dcompiler_43
955 enable_d3dim
956 enable_d3drm
957 enable_d3dx10_33
958 enable_d3dx10_34
959 enable_d3dx10_35
960 enable_d3dx10_36
961 enable_d3dx10_37
962 enable_d3dx10_38
963 enable_d3dx10_39
964 enable_d3dx10_40
965 enable_d3dx10_41
966 enable_d3dx10_42
967 enable_d3dx10_43
968 enable_d3dx11_42
969 enable_d3dx11_43
970 enable_d3dx9_24
971 enable_d3dx9_25
972 enable_d3dx9_26
973 enable_d3dx9_27
974 enable_d3dx9_28
975 enable_d3dx9_29
976 enable_d3dx9_30
977 enable_d3dx9_31
978 enable_d3dx9_32
979 enable_d3dx9_33
980 enable_d3dx9_34
981 enable_d3dx9_35
982 enable_d3dx9_36
983 enable_d3dx9_37
984 enable_d3dx9_38
985 enable_d3dx9_39
986 enable_d3dx9_40
987 enable_d3dx9_41
988 enable_d3dx9_42
989 enable_d3dx9_43
990 enable_d3dxof
991 enable_dbgeng
992 enable_dbghelp
993 enable_dciman32
994 enable_ddraw
995 enable_ddrawex
996 enable_devenum
997 enable_dhcpcsvc
998 enable_difxapi
999 enable_dinput
1000 enable_dinput8
1001 enable_dispex
1002 enable_dmband
1003 enable_dmcompos
1004 enable_dmime
1005 enable_dmloader
1006 enable_dmscript
1007 enable_dmstyle
1008 enable_dmsynth
1009 enable_dmusic
1010 enable_dmusic32
1011 enable_dnsapi
1012 enable_dplay
1013 enable_dplayx
1014 enable_dpnaddr
1015 enable_dpnet
1016 enable_dpnhpast
1017 enable_dpnlobby
1018 enable_dpwsockx
1019 enable_drmclien
1020 enable_dsound
1021 enable_dssenh
1022 enable_dswave
1023 enable_dwmapi
1024 enable_dwrite
1025 enable_dxdiagn
1026 enable_dxgi
1027 enable_dxva2
1028 enable_explorerframe
1029 enable_ext_ms_win_gdi_devcaps_l1_1_0
1030 enable_faultrep
1031 enable_fltlib
1032 enable_fntcache
1033 enable_fontsub
1034 enable_fusion
1035 enable_fwpuclnt
1036 enable_gameux
1037 enable_gdi32
1038 enable_gdiplus
1039 enable_glu32
1040 enable_gphoto2_ds
1041 enable_gpkcsp
1042 enable_hal
1043 enable_hhctrl_ocx
1044 enable_hid
1045 enable_hlink
1046 enable_hnetcfg
1047 enable_httpapi
1048 enable_iccvid
1049 enable_icmp
1050 enable_ieframe
1051 enable_imaadp32_acm
1052 enable_imagehlp
1053 enable_imm32
1054 enable_inetcomm
1055 enable_inetcpl_cpl
1056 enable_inetmib1
1057 enable_infosoft
1058 enable_initpki
1059 enable_inkobj
1060 enable_inseng
1061 enable_iphlpapi
1062 enable_itircl
1063 enable_itss
1064 enable_joy_cpl
1065 enable_jscript
1066 enable_kernel32
1067 enable_ktmw32
1068 enable_loadperf
1069 enable_localspl
1070 enable_localui
1071 enable_lz32
1072 enable_mapi32
1073 enable_mapistub
1074 enable_mciavi32
1075 enable_mcicda
1076 enable_mciqtz32
1077 enable_mciseq
1078 enable_mciwave
1079 enable_mgmtapi
1080 enable_midimap
1081 enable_mlang
1082 enable_mmcndmgr
1083 enable_mmdevapi
1084 enable_mountmgr_sys
1085 enable_mpr
1086 enable_mprapi
1087 enable_msacm32_drv
1088 enable_msacm32
1089 enable_msadp32_acm
1090 enable_mscat32
1091 enable_mscms
1092 enable_mscoree
1093 enable_msctf
1094 enable_msdaps
1095 enable_msdmo
1096 enable_msftedit
1097 enable_msg711_acm
1098 enable_msgsm32_acm
1099 enable_mshtml_tlb
1100 enable_mshtml
1101 enable_msi
1102 enable_msident
1103 enable_msimg32
1104 enable_msimsg
1105 enable_msimtf
1106 enable_msisip
1107 enable_msisys_ocx
1108 enable_msls31
1109 enable_msnet32
1110 enable_mspatcha
1111 enable_msrle32
1112 enable_mssign32
1113 enable_mssip32
1114 enable_mstask
1115 enable_msvcirt
1116 enable_msvcm80
1117 enable_msvcm90
1118 enable_msvcp100
1119 enable_msvcp110
1120 enable_msvcp60
1121 enable_msvcp70
1122 enable_msvcp71
1123 enable_msvcp80
1124 enable_msvcp90
1125 enable_msvcr100
1126 enable_msvcr110
1127 enable_msvcr70
1128 enable_msvcr71
1129 enable_msvcr80
1130 enable_msvcr90
1131 enable_msvcrt
1132 enable_msvcrt20
1133 enable_msvcrt40
1134 enable_msvcrtd
1135 enable_msvfw32
1136 enable_msvidc32
1137 enable_mswsock
1138 enable_msxml
1139 enable_msxml2
1140 enable_msxml3
1141 enable_msxml4
1142 enable_msxml6
1143 enable_nddeapi
1144 enable_netapi32
1145 enable_netcfgx
1146 enable_newdev
1147 enable_normaliz
1148 enable_npmshtml
1149 enable_ntdll
1150 enable_ntdsapi
1151 enable_ntoskrnl_exe
1152 enable_ntprint
1153 enable_objsel
1154 enable_odbc32
1155 enable_odbccp32
1156 enable_odbccu32
1157 enable_ole32
1158 enable_oleacc
1159 enable_oleaut32
1160 enable_olecli32
1161 enable_oledb32
1162 enable_oledlg
1163 enable_olepro32
1164 enable_olesvr32
1165 enable_olethk32
1166 enable_openal32
1167 enable_opencl
1168 enable_opengl32
1169 enable_pdh
1170 enable_photometadatahandler
1171 enable_pidgen
1172 enable_powrprof
1173 enable_printui
1174 enable_propsys
1175 enable_psapi
1176 enable_pstorec
1177 enable_qcap
1178 enable_qedit
1179 enable_qmgr
1180 enable_qmgrprxy
1181 enable_quartz
1182 enable_query
1183 enable_rasapi32
1184 enable_rasdlg
1185 enable_regapi
1186 enable_resutils
1187 enable_riched20
1188 enable_riched32
1189 enable_rpcrt4
1190 enable_rsabase
1191 enable_rsaenh
1192 enable_rstrtmgr
1193 enable_rtutils
1194 enable_samlib
1195 enable_sane_ds
1196 enable_scarddlg
1197 enable_sccbase
1198 enable_schannel
1199 enable_schedsvc
1200 enable_scrrun
1201 enable_scsiport_sys
1202 enable_secur32
1203 enable_security
1204 enable_sensapi
1205 enable_serialui
1206 enable_setupapi
1207 enable_sfc
1208 enable_sfc_os
1209 enable_shdoclc
1210 enable_shdocvw
1211 enable_shell32
1212 enable_shfolder
1213 enable_shlwapi
1214 enable_slbcsp
1215 enable_slc
1216 enable_snmpapi
1217 enable_softpub
1218 enable_spoolss
1219 enable_stdole2_tlb
1220 enable_stdole32_tlb
1221 enable_sti
1222 enable_svrapi
1223 enable_sxs
1224 enable_t2embed
1225 enable_tapi32
1226 enable_taskschd
1227 enable_traffic
1228 enable_twain_32
1229 enable_unicows
1230 enable_updspapi
1231 enable_url
1232 enable_urlmon
1233 enable_usbd_sys
1234 enable_user32
1235 enable_userenv
1236 enable_usp10
1237 enable_uxtheme
1238 enable_vbscript
1239 enable_vcomp
1240 enable_vcomp100
1241 enable_vcomp90
1242 enable_vdmdbg
1243 enable_version
1244 enable_wbemdisp
1245 enable_wbemprox
1246 enable_webservices
1247 enable_wer
1248 enable_wevtapi
1249 enable_wiaservc
1250 enable_windowscodecs
1251 enable_windowscodecsext
1252 enable_winealsa_drv
1253 enable_winecoreaudio_drv
1254 enable_wined3d
1255 enable_winegstreamer
1256 enable_winejoystick_drv
1257 enable_winemac_drv
1258 enable_winemapi
1259 enable_winemp3_acm
1260 enable_wineoss_drv
1261 enable_wineps_drv
1262 enable_wineqtdecoder
1263 enable_winex11_drv
1264 enable_wing32
1265 enable_winhttp
1266 enable_wininet
1267 enable_winmm
1268 enable_winnls32
1269 enable_winscard
1270 enable_winspool_drv
1271 enable_winsta
1272 enable_wintab32
1273 enable_wintrust
1274 enable_wlanapi
1275 enable_wldap32
1276 enable_wmi
1277 enable_wmiutils
1278 enable_wmp
1279 enable_wmvcore
1280 enable_wnaspi32
1281 enable_ws2_32
1282 enable_wshom_ocx
1283 enable_wsnmp32
1284 enable_wsock32
1285 enable_wtsapi32
1286 enable_wuapi
1287 enable_wuaueng
1288 enable_xapofx1_1
1289 enable_xinput1_1
1290 enable_xinput1_2
1291 enable_xinput1_3
1292 enable_xinput1_4
1293 enable_xinput9_1_0
1294 enable_xmllite
1295 enable_xolehlp
1296 enable_xpsprint
1297 enable_xpssvcs
1298 enable_documentation
1299 enable_fonts
1300 enable_include
1301 enable_libs_port
1302 enable_libs_wine
1303 enable_libs_wpp
1304 enable_loader
1305 enable_arp
1306 enable_aspnet_regiis
1307 enable_attrib
1308 enable_cabarc
1309 enable_cacls
1310 enable_clock
1311 enable_cmd
1312 enable_conhost
1313 enable_control
1314 enable_cscript
1315 enable_dpnsvr
1316 enable_dxdiag
1317 enable_eject
1318 enable_expand
1319 enable_explorer
1320 enable_extrac32
1321 enable_findstr
1322 enable_hh
1323 enable_hostname
1324 enable_icinfo
1325 enable_iexplore
1326 enable_ipconfig
1327 enable_lodctr
1328 enable_mofcomp
1329 enable_mshta
1330 enable_msiexec
1331 enable_net
1332 enable_netsh
1333 enable_netstat
1334 enable_ngen
1335 enable_notepad
1336 enable_oleview
1337 enable_ping
1338 enable_plugplay
1339 enable_presentationfontcache
1340 enable_progman
1341 enable_reg
1342 enable_regasm
1343 enable_regedit
1344 enable_regsvcs
1345 enable_regsvr32
1346 enable_rpcss
1347 enable_rundll32
1348 enable_sc
1349 enable_schtasks
1350 enable_secedit
1351 enable_servicemodelreg
1352 enable_services
1353 enable_spoolsv
1354 enable_start
1355 enable_svchost
1356 enable_taskkill
1357 enable_tasklist
1358 enable_taskmgr
1359 enable_termsv
1360 enable_uninstaller
1361 enable_unlodctr
1362 enable_view
1363 enable_wevtutil
1364 enable_wineboot
1365 enable_winebrowser
1366 enable_winecfg
1367 enable_wineconsole
1368 enable_winedbg
1369 enable_winedevice
1370 enable_winefile
1371 enable_winemenubuilder
1372 enable_winemine
1373 enable_winemsibuilder
1374 enable_winepath
1375 enable_winetest
1376 enable_winhlp32
1377 enable_winver
1378 enable_wmic
1379 enable_wordpad
1380 enable_write
1381 enable_wscript
1382 enable_wusa
1383 enable_xcopy
1384 enable_server
1385 enable_tools
1387 ac_precious_vars='build_alias
1388 host_alias
1389 target_alias
1391 CFLAGS
1392 LDFLAGS
1393 LIBS
1394 CPPFLAGS
1396 CXXFLAGS
1399 XMKMF
1400 XML2_CFLAGS
1401 XML2_LIBS
1402 XSLT_CFLAGS
1403 XSLT_LIBS
1404 DBUS_CFLAGS
1405 DBUS_LIBS
1406 HAL_CFLAGS
1407 HAL_LIBS
1408 GNUTLS_CFLAGS
1409 GNUTLS_LIBS
1410 SANE_CFLAGS
1411 SANE_LIBS
1412 GPHOTO2_CFLAGS
1413 GPHOTO2_LIBS
1414 GPHOTO2_PORT_CFLAGS
1415 GPHOTO2_PORT_LIBS
1416 LCMS2_CFLAGS
1417 LCMS2_LIBS
1418 FREETYPE_CFLAGS
1419 FREETYPE_LIBS
1420 GSTREAMER_CFLAGS
1421 GSTREAMER_LIBS
1422 CAPI20_CFLAGS
1423 CAPI20_LIBS
1424 FONTCONFIG_CFLAGS
1425 FONTCONFIG_LIBS
1426 JPEG_CFLAGS
1427 JPEG_LIBS
1428 PNG_CFLAGS
1429 PNG_LIBS
1430 TIFF_CFLAGS
1431 TIFF_LIBS
1432 MPG123_CFLAGS
1433 MPG123_LIBS'
1436 # Initialize some variables set by options.
1437 ac_init_help=
1438 ac_init_version=false
1439 ac_unrecognized_opts=
1440 ac_unrecognized_sep=
1441 # The variables have the same names as the options, with
1442 # dashes changed to underlines.
1443 cache_file=/dev/null
1444 exec_prefix=NONE
1445 no_create=
1446 no_recursion=
1447 prefix=NONE
1448 program_prefix=NONE
1449 program_suffix=NONE
1450 program_transform_name=s,x,x,
1451 silent=
1452 site=
1453 srcdir=
1454 verbose=
1455 x_includes=NONE
1456 x_libraries=NONE
1458 # Installation directory options.
1459 # These are left unexpanded so users can "make install exec_prefix=/foo"
1460 # and all the variables that are supposed to be based on exec_prefix
1461 # by default will actually change.
1462 # Use braces instead of parens because sh, perl, etc. also accept them.
1463 # (The list follows the same order as the GNU Coding Standards.)
1464 bindir='${exec_prefix}/bin'
1465 sbindir='${exec_prefix}/sbin'
1466 libexecdir='${exec_prefix}/libexec'
1467 datarootdir='${prefix}/share'
1468 datadir='${datarootdir}'
1469 sysconfdir='${prefix}/etc'
1470 sharedstatedir='${prefix}/com'
1471 localstatedir='${prefix}/var'
1472 includedir='${prefix}/include'
1473 oldincludedir='/usr/include'
1474 docdir='${datarootdir}/doc/${PACKAGE_TARNAME}'
1475 infodir='${datarootdir}/info'
1476 htmldir='${docdir}'
1477 dvidir='${docdir}'
1478 pdfdir='${docdir}'
1479 psdir='${docdir}'
1480 libdir='${exec_prefix}/lib'
1481 localedir='${datarootdir}/locale'
1482 mandir='${datarootdir}/man'
1484 ac_prev=
1485 ac_dashdash=
1486 for ac_option
1488 # If the previous option needs an argument, assign it.
1489 if test -n "$ac_prev"; then
1490 eval $ac_prev=\$ac_option
1491 ac_prev=
1492 continue
1495 case $ac_option in
1496 *=?*) ac_optarg=`expr "X$ac_option" : '[^=]*=\(.*\)'` ;;
1497 *=) ac_optarg= ;;
1498 *) ac_optarg=yes ;;
1499 esac
1501 # Accept the important Cygnus configure options, so we can diagnose typos.
1503 case $ac_dashdash$ac_option in
1505 ac_dashdash=yes ;;
1507 -bindir | --bindir | --bindi | --bind | --bin | --bi)
1508 ac_prev=bindir ;;
1509 -bindir=* | --bindir=* | --bindi=* | --bind=* | --bin=* | --bi=*)
1510 bindir=$ac_optarg ;;
1512 -build | --build | --buil | --bui | --bu)
1513 ac_prev=build_alias ;;
1514 -build=* | --build=* | --buil=* | --bui=* | --bu=*)
1515 build_alias=$ac_optarg ;;
1517 -cache-file | --cache-file | --cache-fil | --cache-fi \
1518 | --cache-f | --cache- | --cache | --cach | --cac | --ca | --c)
1519 ac_prev=cache_file ;;
1520 -cache-file=* | --cache-file=* | --cache-fil=* | --cache-fi=* \
1521 | --cache-f=* | --cache-=* | --cache=* | --cach=* | --cac=* | --ca=* | --c=*)
1522 cache_file=$ac_optarg ;;
1524 --config-cache | -C)
1525 cache_file=config.cache ;;
1527 -datadir | --datadir | --datadi | --datad)
1528 ac_prev=datadir ;;
1529 -datadir=* | --datadir=* | --datadi=* | --datad=*)
1530 datadir=$ac_optarg ;;
1532 -datarootdir | --datarootdir | --datarootdi | --datarootd | --dataroot \
1533 | --dataroo | --dataro | --datar)
1534 ac_prev=datarootdir ;;
1535 -datarootdir=* | --datarootdir=* | --datarootdi=* | --datarootd=* \
1536 | --dataroot=* | --dataroo=* | --dataro=* | --datar=*)
1537 datarootdir=$ac_optarg ;;
1539 -disable-* | --disable-*)
1540 ac_useropt=`expr "x$ac_option" : 'x-*disable-\(.*\)'`
1541 # Reject names that are not valid shell variable names.
1542 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
1543 as_fn_error $? "invalid feature name: $ac_useropt"
1544 ac_useropt_orig=$ac_useropt
1545 ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
1546 case $ac_user_opts in
1548 "enable_$ac_useropt"
1549 "*) ;;
1550 *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--disable-$ac_useropt_orig"
1551 ac_unrecognized_sep=', ';;
1552 esac
1553 eval enable_$ac_useropt=no ;;
1555 -docdir | --docdir | --docdi | --doc | --do)
1556 ac_prev=docdir ;;
1557 -docdir=* | --docdir=* | --docdi=* | --doc=* | --do=*)
1558 docdir=$ac_optarg ;;
1560 -dvidir | --dvidir | --dvidi | --dvid | --dvi | --dv)
1561 ac_prev=dvidir ;;
1562 -dvidir=* | --dvidir=* | --dvidi=* | --dvid=* | --dvi=* | --dv=*)
1563 dvidir=$ac_optarg ;;
1565 -enable-* | --enable-*)
1566 ac_useropt=`expr "x$ac_option" : 'x-*enable-\([^=]*\)'`
1567 # Reject names that are not valid shell variable names.
1568 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
1569 as_fn_error $? "invalid feature name: $ac_useropt"
1570 ac_useropt_orig=$ac_useropt
1571 ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
1572 case $ac_user_opts in
1574 "enable_$ac_useropt"
1575 "*) ;;
1576 *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--enable-$ac_useropt_orig"
1577 ac_unrecognized_sep=', ';;
1578 esac
1579 eval enable_$ac_useropt=\$ac_optarg ;;
1581 -exec-prefix | --exec_prefix | --exec-prefix | --exec-prefi \
1582 | --exec-pref | --exec-pre | --exec-pr | --exec-p | --exec- \
1583 | --exec | --exe | --ex)
1584 ac_prev=exec_prefix ;;
1585 -exec-prefix=* | --exec_prefix=* | --exec-prefix=* | --exec-prefi=* \
1586 | --exec-pref=* | --exec-pre=* | --exec-pr=* | --exec-p=* | --exec-=* \
1587 | --exec=* | --exe=* | --ex=*)
1588 exec_prefix=$ac_optarg ;;
1590 -gas | --gas | --ga | --g)
1591 # Obsolete; use --with-gas.
1592 with_gas=yes ;;
1594 -help | --help | --hel | --he | -h)
1595 ac_init_help=long ;;
1596 -help=r* | --help=r* | --hel=r* | --he=r* | -hr*)
1597 ac_init_help=recursive ;;
1598 -help=s* | --help=s* | --hel=s* | --he=s* | -hs*)
1599 ac_init_help=short ;;
1601 -host | --host | --hos | --ho)
1602 ac_prev=host_alias ;;
1603 -host=* | --host=* | --hos=* | --ho=*)
1604 host_alias=$ac_optarg ;;
1606 -htmldir | --htmldir | --htmldi | --htmld | --html | --htm | --ht)
1607 ac_prev=htmldir ;;
1608 -htmldir=* | --htmldir=* | --htmldi=* | --htmld=* | --html=* | --htm=* \
1609 | --ht=*)
1610 htmldir=$ac_optarg ;;
1612 -includedir | --includedir | --includedi | --included | --include \
1613 | --includ | --inclu | --incl | --inc)
1614 ac_prev=includedir ;;
1615 -includedir=* | --includedir=* | --includedi=* | --included=* | --include=* \
1616 | --includ=* | --inclu=* | --incl=* | --inc=*)
1617 includedir=$ac_optarg ;;
1619 -infodir | --infodir | --infodi | --infod | --info | --inf)
1620 ac_prev=infodir ;;
1621 -infodir=* | --infodir=* | --infodi=* | --infod=* | --info=* | --inf=*)
1622 infodir=$ac_optarg ;;
1624 -libdir | --libdir | --libdi | --libd)
1625 ac_prev=libdir ;;
1626 -libdir=* | --libdir=* | --libdi=* | --libd=*)
1627 libdir=$ac_optarg ;;
1629 -libexecdir | --libexecdir | --libexecdi | --libexecd | --libexec \
1630 | --libexe | --libex | --libe)
1631 ac_prev=libexecdir ;;
1632 -libexecdir=* | --libexecdir=* | --libexecdi=* | --libexecd=* | --libexec=* \
1633 | --libexe=* | --libex=* | --libe=*)
1634 libexecdir=$ac_optarg ;;
1636 -localedir | --localedir | --localedi | --localed | --locale)
1637 ac_prev=localedir ;;
1638 -localedir=* | --localedir=* | --localedi=* | --localed=* | --locale=*)
1639 localedir=$ac_optarg ;;
1641 -localstatedir | --localstatedir | --localstatedi | --localstated \
1642 | --localstate | --localstat | --localsta | --localst | --locals)
1643 ac_prev=localstatedir ;;
1644 -localstatedir=* | --localstatedir=* | --localstatedi=* | --localstated=* \
1645 | --localstate=* | --localstat=* | --localsta=* | --localst=* | --locals=*)
1646 localstatedir=$ac_optarg ;;
1648 -mandir | --mandir | --mandi | --mand | --man | --ma | --m)
1649 ac_prev=mandir ;;
1650 -mandir=* | --mandir=* | --mandi=* | --mand=* | --man=* | --ma=* | --m=*)
1651 mandir=$ac_optarg ;;
1653 -nfp | --nfp | --nf)
1654 # Obsolete; use --without-fp.
1655 with_fp=no ;;
1657 -no-create | --no-create | --no-creat | --no-crea | --no-cre \
1658 | --no-cr | --no-c | -n)
1659 no_create=yes ;;
1661 -no-recursion | --no-recursion | --no-recursio | --no-recursi \
1662 | --no-recurs | --no-recur | --no-recu | --no-rec | --no-re | --no-r)
1663 no_recursion=yes ;;
1665 -oldincludedir | --oldincludedir | --oldincludedi | --oldincluded \
1666 | --oldinclude | --oldinclud | --oldinclu | --oldincl | --oldinc \
1667 | --oldin | --oldi | --old | --ol | --o)
1668 ac_prev=oldincludedir ;;
1669 -oldincludedir=* | --oldincludedir=* | --oldincludedi=* | --oldincluded=* \
1670 | --oldinclude=* | --oldinclud=* | --oldinclu=* | --oldincl=* | --oldinc=* \
1671 | --oldin=* | --oldi=* | --old=* | --ol=* | --o=*)
1672 oldincludedir=$ac_optarg ;;
1674 -prefix | --prefix | --prefi | --pref | --pre | --pr | --p)
1675 ac_prev=prefix ;;
1676 -prefix=* | --prefix=* | --prefi=* | --pref=* | --pre=* | --pr=* | --p=*)
1677 prefix=$ac_optarg ;;
1679 -program-prefix | --program-prefix | --program-prefi | --program-pref \
1680 | --program-pre | --program-pr | --program-p)
1681 ac_prev=program_prefix ;;
1682 -program-prefix=* | --program-prefix=* | --program-prefi=* \
1683 | --program-pref=* | --program-pre=* | --program-pr=* | --program-p=*)
1684 program_prefix=$ac_optarg ;;
1686 -program-suffix | --program-suffix | --program-suffi | --program-suff \
1687 | --program-suf | --program-su | --program-s)
1688 ac_prev=program_suffix ;;
1689 -program-suffix=* | --program-suffix=* | --program-suffi=* \
1690 | --program-suff=* | --program-suf=* | --program-su=* | --program-s=*)
1691 program_suffix=$ac_optarg ;;
1693 -program-transform-name | --program-transform-name \
1694 | --program-transform-nam | --program-transform-na \
1695 | --program-transform-n | --program-transform- \
1696 | --program-transform | --program-transfor \
1697 | --program-transfo | --program-transf \
1698 | --program-trans | --program-tran \
1699 | --progr-tra | --program-tr | --program-t)
1700 ac_prev=program_transform_name ;;
1701 -program-transform-name=* | --program-transform-name=* \
1702 | --program-transform-nam=* | --program-transform-na=* \
1703 | --program-transform-n=* | --program-transform-=* \
1704 | --program-transform=* | --program-transfor=* \
1705 | --program-transfo=* | --program-transf=* \
1706 | --program-trans=* | --program-tran=* \
1707 | --progr-tra=* | --program-tr=* | --program-t=*)
1708 program_transform_name=$ac_optarg ;;
1710 -pdfdir | --pdfdir | --pdfdi | --pdfd | --pdf | --pd)
1711 ac_prev=pdfdir ;;
1712 -pdfdir=* | --pdfdir=* | --pdfdi=* | --pdfd=* | --pdf=* | --pd=*)
1713 pdfdir=$ac_optarg ;;
1715 -psdir | --psdir | --psdi | --psd | --ps)
1716 ac_prev=psdir ;;
1717 -psdir=* | --psdir=* | --psdi=* | --psd=* | --ps=*)
1718 psdir=$ac_optarg ;;
1720 -q | -quiet | --quiet | --quie | --qui | --qu | --q \
1721 | -silent | --silent | --silen | --sile | --sil)
1722 silent=yes ;;
1724 -sbindir | --sbindir | --sbindi | --sbind | --sbin | --sbi | --sb)
1725 ac_prev=sbindir ;;
1726 -sbindir=* | --sbindir=* | --sbindi=* | --sbind=* | --sbin=* \
1727 | --sbi=* | --sb=*)
1728 sbindir=$ac_optarg ;;
1730 -sharedstatedir | --sharedstatedir | --sharedstatedi \
1731 | --sharedstated | --sharedstate | --sharedstat | --sharedsta \
1732 | --sharedst | --shareds | --shared | --share | --shar \
1733 | --sha | --sh)
1734 ac_prev=sharedstatedir ;;
1735 -sharedstatedir=* | --sharedstatedir=* | --sharedstatedi=* \
1736 | --sharedstated=* | --sharedstate=* | --sharedstat=* | --sharedsta=* \
1737 | --sharedst=* | --shareds=* | --shared=* | --share=* | --shar=* \
1738 | --sha=* | --sh=*)
1739 sharedstatedir=$ac_optarg ;;
1741 -site | --site | --sit)
1742 ac_prev=site ;;
1743 -site=* | --site=* | --sit=*)
1744 site=$ac_optarg ;;
1746 -srcdir | --srcdir | --srcdi | --srcd | --src | --sr)
1747 ac_prev=srcdir ;;
1748 -srcdir=* | --srcdir=* | --srcdi=* | --srcd=* | --src=* | --sr=*)
1749 srcdir=$ac_optarg ;;
1751 -sysconfdir | --sysconfdir | --sysconfdi | --sysconfd | --sysconf \
1752 | --syscon | --sysco | --sysc | --sys | --sy)
1753 ac_prev=sysconfdir ;;
1754 -sysconfdir=* | --sysconfdir=* | --sysconfdi=* | --sysconfd=* | --sysconf=* \
1755 | --syscon=* | --sysco=* | --sysc=* | --sys=* | --sy=*)
1756 sysconfdir=$ac_optarg ;;
1758 -target | --target | --targe | --targ | --tar | --ta | --t)
1759 ac_prev=target_alias ;;
1760 -target=* | --target=* | --targe=* | --targ=* | --tar=* | --ta=* | --t=*)
1761 target_alias=$ac_optarg ;;
1763 -v | -verbose | --verbose | --verbos | --verbo | --verb)
1764 verbose=yes ;;
1766 -version | --version | --versio | --versi | --vers | -V)
1767 ac_init_version=: ;;
1769 -with-* | --with-*)
1770 ac_useropt=`expr "x$ac_option" : 'x-*with-\([^=]*\)'`
1771 # Reject names that are not valid shell variable names.
1772 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
1773 as_fn_error $? "invalid package name: $ac_useropt"
1774 ac_useropt_orig=$ac_useropt
1775 ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
1776 case $ac_user_opts in
1778 "with_$ac_useropt"
1779 "*) ;;
1780 *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--with-$ac_useropt_orig"
1781 ac_unrecognized_sep=', ';;
1782 esac
1783 eval with_$ac_useropt=\$ac_optarg ;;
1785 -without-* | --without-*)
1786 ac_useropt=`expr "x$ac_option" : 'x-*without-\(.*\)'`
1787 # Reject names that are not valid shell variable names.
1788 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
1789 as_fn_error $? "invalid package name: $ac_useropt"
1790 ac_useropt_orig=$ac_useropt
1791 ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
1792 case $ac_user_opts in
1794 "with_$ac_useropt"
1795 "*) ;;
1796 *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--without-$ac_useropt_orig"
1797 ac_unrecognized_sep=', ';;
1798 esac
1799 eval with_$ac_useropt=no ;;
1801 --x)
1802 # Obsolete; use --with-x.
1803 with_x=yes ;;
1805 -x-includes | --x-includes | --x-include | --x-includ | --x-inclu \
1806 | --x-incl | --x-inc | --x-in | --x-i)
1807 ac_prev=x_includes ;;
1808 -x-includes=* | --x-includes=* | --x-include=* | --x-includ=* | --x-inclu=* \
1809 | --x-incl=* | --x-inc=* | --x-in=* | --x-i=*)
1810 x_includes=$ac_optarg ;;
1812 -x-libraries | --x-libraries | --x-librarie | --x-librari \
1813 | --x-librar | --x-libra | --x-libr | --x-lib | --x-li | --x-l)
1814 ac_prev=x_libraries ;;
1815 -x-libraries=* | --x-libraries=* | --x-librarie=* | --x-librari=* \
1816 | --x-librar=* | --x-libra=* | --x-libr=* | --x-lib=* | --x-li=* | --x-l=*)
1817 x_libraries=$ac_optarg ;;
1819 -*) as_fn_error $? "unrecognized option: \`$ac_option'
1820 Try \`$0 --help' for more information"
1823 *=*)
1824 ac_envvar=`expr "x$ac_option" : 'x\([^=]*\)='`
1825 # Reject names that are not valid shell variable names.
1826 case $ac_envvar in #(
1827 '' | [0-9]* | *[!_$as_cr_alnum]* )
1828 as_fn_error $? "invalid variable name: \`$ac_envvar'" ;;
1829 esac
1830 eval $ac_envvar=\$ac_optarg
1831 export $ac_envvar ;;
1834 # FIXME: should be removed in autoconf 3.0.
1835 $as_echo "$as_me: WARNING: you should use --build, --host, --target" >&2
1836 expr "x$ac_option" : ".*[^-._$as_cr_alnum]" >/dev/null &&
1837 $as_echo "$as_me: WARNING: invalid host type: $ac_option" >&2
1838 : "${build_alias=$ac_option} ${host_alias=$ac_option} ${target_alias=$ac_option}"
1841 esac
1842 done
1844 if test -n "$ac_prev"; then
1845 ac_option=--`echo $ac_prev | sed 's/_/-/g'`
1846 as_fn_error $? "missing argument to $ac_option"
1849 if test -n "$ac_unrecognized_opts"; then
1850 case $enable_option_checking in
1851 no) ;;
1852 fatal) as_fn_error $? "unrecognized options: $ac_unrecognized_opts" ;;
1853 *) $as_echo "$as_me: WARNING: unrecognized options: $ac_unrecognized_opts" >&2 ;;
1854 esac
1857 # Check all directory arguments for consistency.
1858 for ac_var in exec_prefix prefix bindir sbindir libexecdir datarootdir \
1859 datadir sysconfdir sharedstatedir localstatedir includedir \
1860 oldincludedir docdir infodir htmldir dvidir pdfdir psdir \
1861 libdir localedir mandir
1863 eval ac_val=\$$ac_var
1864 # Remove trailing slashes.
1865 case $ac_val in
1866 */ )
1867 ac_val=`expr "X$ac_val" : 'X\(.*[^/]\)' \| "X$ac_val" : 'X\(.*\)'`
1868 eval $ac_var=\$ac_val;;
1869 esac
1870 # Be sure to have absolute directory names.
1871 case $ac_val in
1872 [\\/$]* | ?:[\\/]* ) continue;;
1873 NONE | '' ) case $ac_var in *prefix ) continue;; esac;;
1874 esac
1875 as_fn_error $? "expected an absolute directory name for --$ac_var: $ac_val"
1876 done
1878 # There might be people who depend on the old broken behavior: `$host'
1879 # used to hold the argument of --host etc.
1880 # FIXME: To remove some day.
1881 build=$build_alias
1882 host=$host_alias
1883 target=$target_alias
1885 # FIXME: To remove some day.
1886 if test "x$host_alias" != x; then
1887 if test "x$build_alias" = x; then
1888 cross_compiling=maybe
1889 elif test "x$build_alias" != "x$host_alias"; then
1890 cross_compiling=yes
1894 ac_tool_prefix=
1895 test -n "$host_alias" && ac_tool_prefix=$host_alias-
1897 test "$silent" = yes && exec 6>/dev/null
1900 ac_pwd=`pwd` && test -n "$ac_pwd" &&
1901 ac_ls_di=`ls -di .` &&
1902 ac_pwd_ls_di=`cd "$ac_pwd" && ls -di .` ||
1903 as_fn_error $? "working directory cannot be determined"
1904 test "X$ac_ls_di" = "X$ac_pwd_ls_di" ||
1905 as_fn_error $? "pwd does not report name of working directory"
1908 # Find the source files, if location was not specified.
1909 if test -z "$srcdir"; then
1910 ac_srcdir_defaulted=yes
1911 # Try the directory containing this script, then the parent directory.
1912 ac_confdir=`$as_dirname -- "$as_myself" ||
1913 $as_expr X"$as_myself" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
1914 X"$as_myself" : 'X\(//\)[^/]' \| \
1915 X"$as_myself" : 'X\(//\)$' \| \
1916 X"$as_myself" : 'X\(/\)' \| . 2>/dev/null ||
1917 $as_echo X"$as_myself" |
1918 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
1919 s//\1/
1922 /^X\(\/\/\)[^/].*/{
1923 s//\1/
1926 /^X\(\/\/\)$/{
1927 s//\1/
1930 /^X\(\/\).*/{
1931 s//\1/
1934 s/.*/./; q'`
1935 srcdir=$ac_confdir
1936 if test ! -r "$srcdir/$ac_unique_file"; then
1937 srcdir=..
1939 else
1940 ac_srcdir_defaulted=no
1942 if test ! -r "$srcdir/$ac_unique_file"; then
1943 test "$ac_srcdir_defaulted" = yes && srcdir="$ac_confdir or .."
1944 as_fn_error $? "cannot find sources ($ac_unique_file) in $srcdir"
1946 ac_msg="sources are in $srcdir, but \`cd $srcdir' does not work"
1947 ac_abs_confdir=`(
1948 cd "$srcdir" && test -r "./$ac_unique_file" || as_fn_error $? "$ac_msg"
1949 pwd)`
1950 # When building in place, set srcdir=.
1951 if test "$ac_abs_confdir" = "$ac_pwd"; then
1952 srcdir=.
1954 # Remove unnecessary trailing slashes from srcdir.
1955 # Double slashes in file names in object file debugging info
1956 # mess up M-x gdb in Emacs.
1957 case $srcdir in
1958 */) srcdir=`expr "X$srcdir" : 'X\(.*[^/]\)' \| "X$srcdir" : 'X\(.*\)'`;;
1959 esac
1960 for ac_var in $ac_precious_vars; do
1961 eval ac_env_${ac_var}_set=\${${ac_var}+set}
1962 eval ac_env_${ac_var}_value=\$${ac_var}
1963 eval ac_cv_env_${ac_var}_set=\${${ac_var}+set}
1964 eval ac_cv_env_${ac_var}_value=\$${ac_var}
1965 done
1968 # Report the --help message.
1970 if test "$ac_init_help" = "long"; then
1971 # Omit some internal or obsolete options to make the list less imposing.
1972 # This message is too long to be a string in the A/UX 3.1 sh.
1973 cat <<_ACEOF
1974 \`configure' configures Wine 1.7.15 to adapt to many kinds of systems.
1976 Usage: $0 [OPTION]... [VAR=VALUE]...
1978 To assign environment variables (e.g., CC, CFLAGS...), specify them as
1979 VAR=VALUE. See below for descriptions of some of the useful variables.
1981 Defaults for the options are specified in brackets.
1983 Configuration:
1984 -h, --help display this help and exit
1985 --help=short display options specific to this package
1986 --help=recursive display the short help of all the included packages
1987 -V, --version display version information and exit
1988 -q, --quiet, --silent do not print \`checking ...' messages
1989 --cache-file=FILE cache test results in FILE [disabled]
1990 -C, --config-cache alias for \`--cache-file=config.cache'
1991 -n, --no-create do not create output files
1992 --srcdir=DIR find the sources in DIR [configure dir or \`..']
1994 Installation directories:
1995 --prefix=PREFIX install architecture-independent files in PREFIX
1996 [$ac_default_prefix]
1997 --exec-prefix=EPREFIX install architecture-dependent files in EPREFIX
1998 [PREFIX]
2000 By default, \`make install' will install all the files in
2001 \`$ac_default_prefix/bin', \`$ac_default_prefix/lib' etc. You can specify
2002 an installation prefix other than \`$ac_default_prefix' using \`--prefix',
2003 for instance \`--prefix=\$HOME'.
2005 For better control, use the options below.
2007 Fine tuning of the installation directories:
2008 --bindir=DIR user executables [EPREFIX/bin]
2009 --sbindir=DIR system admin executables [EPREFIX/sbin]
2010 --libexecdir=DIR program executables [EPREFIX/libexec]
2011 --sysconfdir=DIR read-only single-machine data [PREFIX/etc]
2012 --sharedstatedir=DIR modifiable architecture-independent data [PREFIX/com]
2013 --localstatedir=DIR modifiable single-machine data [PREFIX/var]
2014 --libdir=DIR object code libraries [EPREFIX/lib]
2015 --includedir=DIR C header files [PREFIX/include]
2016 --oldincludedir=DIR C header files for non-gcc [/usr/include]
2017 --datarootdir=DIR read-only arch.-independent data root [PREFIX/share]
2018 --datadir=DIR read-only architecture-independent data [DATAROOTDIR]
2019 --infodir=DIR info documentation [DATAROOTDIR/info]
2020 --localedir=DIR locale-dependent data [DATAROOTDIR/locale]
2021 --mandir=DIR man documentation [DATAROOTDIR/man]
2022 --docdir=DIR documentation root [DATAROOTDIR/doc/wine]
2023 --htmldir=DIR html documentation [DOCDIR]
2024 --dvidir=DIR dvi documentation [DOCDIR]
2025 --pdfdir=DIR pdf documentation [DOCDIR]
2026 --psdir=DIR ps documentation [DOCDIR]
2027 _ACEOF
2029 cat <<\_ACEOF
2031 X features:
2032 --x-includes=DIR X include files are in DIR
2033 --x-libraries=DIR X library files are in DIR
2035 System types:
2036 --build=BUILD configure for building on BUILD [guessed]
2037 --host=HOST cross-compile to build programs to run on HOST [BUILD]
2038 _ACEOF
2041 if test -n "$ac_init_help"; then
2042 case $ac_init_help in
2043 short | recursive ) echo "Configuration of Wine 1.7.15:";;
2044 esac
2045 cat <<\_ACEOF
2047 Optional Features:
2048 --disable-option-checking ignore unrecognized --enable/--with options
2049 --disable-FEATURE do not include FEATURE (same as --enable-FEATURE=no)
2050 --enable-FEATURE[=ARG] include FEATURE [ARG=yes]
2051 --disable-win16 do not include Win16 support
2052 --enable-win64 build a Win64 emulator on AMD64 (won't run Win32
2053 binaries)
2054 --disable-tests do not build the regression tests
2055 --enable-maintainer-mode
2056 enable maintainer-specific build rules
2057 --disable-largefile omit support for large files
2059 Optional Packages:
2060 --with-PACKAGE[=ARG] use PACKAGE [ARG=yes]
2061 --without-PACKAGE do not use PACKAGE (same as --with-PACKAGE=no)
2062 --without-alsa do not use the Alsa sound support
2063 --without-capi do not use CAPI (ISDN support)
2064 --without-cms do not use CMS (color management support)
2065 --without-coreaudio do not use the CoreAudio sound support
2066 --without-cups do not use CUPS
2067 --without-curses do not use (n)curses
2068 --without-dbus do not use DBus (dynamic device support)
2069 --without-fontconfig do not use fontconfig
2070 --without-freetype do not use the FreeType library
2071 --without-gettext do not use gettext
2072 --with-gettextpo use the GetTextPO library to rebuild po files
2073 --without-gphoto do not use gphoto (Digital Camera support)
2074 --without-glu do not use the GLU library
2075 --without-gnutls do not use GnuTLS (schannel support)
2076 --without-gsm do not use libgsm (GSM 06.10 codec support)
2077 --without-gstreamer do not use GStreamer (codecs support)
2078 --without-hal do not use HAL (dynamic device support)
2079 --without-jpeg do not use JPEG
2080 --without-ldap do not use LDAP
2081 --without-mpg123 do not use the mpg123 library
2082 --without-netapi do not use the Samba NetAPI library
2083 --without-openal do not use OpenAL
2084 --without-opencl do not use OpenCL
2085 --without-opengl do not use OpenGL
2086 --without-osmesa do not use the OSMesa library
2087 --without-oss do not use the OSS sound support
2088 --without-png do not use PNG
2089 --without-pthread do not use the pthread library
2090 --without-sane do not use SANE (scanner support)
2091 --without-tiff do not use TIFF
2092 --without-v4l do not use v4l1 (v4l support)
2093 --without-xcomposite do not use the Xcomposite extension
2094 --without-xcursor do not use the Xcursor extension
2095 --without-xinerama do not use Xinerama (multi-monitor support)
2096 --without-xinput do not use the Xinput extension
2097 --without-xinput2 do not use the Xinput 2 extension
2098 --without-xml do not use XML
2099 --without-xrandr do not use Xrandr (resolution changes)
2100 --without-xrender do not use the Xrender extension
2101 --without-xshape do not use the Xshape extension
2102 --without-xshm do not use XShm (shared memory extension)
2103 --without-xslt do not use XSLT
2104 --without-xxf86vm do not use XFree video mode extension
2105 --without-zlib do not use Zlib (data compression)
2106 --with-wine-tools=DIR use Wine tools from directory DIR
2107 --with-wine64=DIR use the 64-bit Wine in DIR for a Wow64 build
2108 --with-x use the X Window System
2110 Some influential environment variables:
2111 CC C compiler command
2112 CFLAGS C compiler flags
2113 LDFLAGS linker flags, e.g. -L<lib dir> if you have libraries in a
2114 nonstandard directory <lib dir>
2115 LIBS libraries to pass to the linker, e.g. -l<library>
2116 CPPFLAGS (Objective) C/C++ preprocessor flags, e.g. -I<include dir> if
2117 you have headers in a nonstandard directory <include dir>
2118 CXX C++ compiler command
2119 CXXFLAGS C++ compiler flags
2120 CPP C preprocessor
2121 XMKMF Path to xmkmf, Makefile generator for X Window System
2122 XML2_CFLAGS C compiler flags for libxml-2.0, overriding pkg-config
2123 XML2_LIBS Linker flags for libxml-2.0, overriding pkg-config
2124 XSLT_CFLAGS C compiler flags for libxslt, overriding pkg-config
2125 XSLT_LIBS Linker flags for libxslt, overriding pkg-config
2126 DBUS_CFLAGS C compiler flags for dbus-1, overriding pkg-config
2127 DBUS_LIBS Linker flags for dbus-1, overriding pkg-config
2128 HAL_CFLAGS C compiler flags for hal, overriding pkg-config
2129 HAL_LIBS Linker flags for hal, overriding pkg-config
2130 GNUTLS_CFLAGS
2131 C compiler flags for gnutls, overriding pkg-config
2132 GNUTLS_LIBS Linker flags for gnutls, overriding pkg-config
2133 SANE_CFLAGS C compiler flags for libsane, overriding pkg-config
2134 SANE_LIBS Linker flags for libsane, overriding pkg-config
2135 GPHOTO2_CFLAGS
2136 C compiler flags for libgphoto2, overriding pkg-config
2137 GPHOTO2_LIBS
2138 Linker flags for libgphoto2, overriding pkg-config
2139 GPHOTO2_PORT_CFLAGS
2140 C compiler flags for libgphoto2_port, overriding pkg-config
2141 GPHOTO2_PORT_LIBS
2142 Linker flags for libgphoto2_port, overriding pkg-config
2143 LCMS2_CFLAGS
2144 C compiler flags for lcms2, overriding pkg-config
2145 LCMS2_LIBS Linker flags for lcms2, overriding pkg-config
2146 FREETYPE_CFLAGS
2147 C compiler flags for freetype2, overriding pkg-config
2148 FREETYPE_LIBS
2149 Linker flags for freetype2, overriding pkg-config
2150 GSTREAMER_CFLAGS
2151 C compiler flags for gstreamer-app-0.10, overriding pkg-config
2152 GSTREAMER_LIBS
2153 Linker flags for gstreamer-app-0.10, overriding pkg-config
2154 CAPI20_CFLAGS
2155 C compiler flags for capi20, overriding pkg-config
2156 CAPI20_LIBS Linker flags for capi20, overriding pkg-config
2157 FONTCONFIG_CFLAGS
2158 C compiler flags for fontconfig, overriding pkg-config
2159 FONTCONFIG_LIBS
2160 Linker flags for fontconfig, overriding pkg-config
2161 JPEG_CFLAGS C compiler flags for libjpeg, overriding pkg-config
2162 JPEG_LIBS Linker flags for libjpeg, overriding pkg-config
2163 PNG_CFLAGS C compiler flags for libpng, overriding pkg-config
2164 PNG_LIBS Linker flags for libpng, overriding pkg-config
2165 TIFF_CFLAGS C compiler flags for libtiff, overriding pkg-config
2166 TIFF_LIBS Linker flags for libtiff, overriding pkg-config
2167 MPG123_CFLAGS
2168 C compiler flags for libmpg123, overriding pkg-config
2169 MPG123_LIBS Linker flags for libmpg123, overriding pkg-config
2171 Use these variables to override the choices made by `configure' or to help
2172 it to find libraries and programs with nonstandard names/locations.
2174 Report bugs to <wine-devel@winehq.org>.
2175 Wine home page: <http://www.winehq.org>.
2176 _ACEOF
2177 ac_status=$?
2180 if test "$ac_init_help" = "recursive"; then
2181 # If there are subdirs, report their specific --help.
2182 for ac_dir in : $ac_subdirs_all; do test "x$ac_dir" = x: && continue
2183 test -d "$ac_dir" ||
2184 { cd "$srcdir" && ac_pwd=`pwd` && srcdir=. && test -d "$ac_dir"; } ||
2185 continue
2186 ac_builddir=.
2188 case "$ac_dir" in
2189 .) ac_dir_suffix= ac_top_builddir_sub=. ac_top_build_prefix= ;;
2191 ac_dir_suffix=/`$as_echo "$ac_dir" | sed 's|^\.[\\/]||'`
2192 # A ".." for each directory in $ac_dir_suffix.
2193 ac_top_builddir_sub=`$as_echo "$ac_dir_suffix" | sed 's|/[^\\/]*|/..|g;s|/||'`
2194 case $ac_top_builddir_sub in
2195 "") ac_top_builddir_sub=. ac_top_build_prefix= ;;
2196 *) ac_top_build_prefix=$ac_top_builddir_sub/ ;;
2197 esac ;;
2198 esac
2199 ac_abs_top_builddir=$ac_pwd
2200 ac_abs_builddir=$ac_pwd$ac_dir_suffix
2201 # for backward compatibility:
2202 ac_top_builddir=$ac_top_build_prefix
2204 case $srcdir in
2205 .) # We are building in place.
2206 ac_srcdir=.
2207 ac_top_srcdir=$ac_top_builddir_sub
2208 ac_abs_top_srcdir=$ac_pwd ;;
2209 [\\/]* | ?:[\\/]* ) # Absolute name.
2210 ac_srcdir=$srcdir$ac_dir_suffix;
2211 ac_top_srcdir=$srcdir
2212 ac_abs_top_srcdir=$srcdir ;;
2213 *) # Relative name.
2214 ac_srcdir=$ac_top_build_prefix$srcdir$ac_dir_suffix
2215 ac_top_srcdir=$ac_top_build_prefix$srcdir
2216 ac_abs_top_srcdir=$ac_pwd/$srcdir ;;
2217 esac
2218 ac_abs_srcdir=$ac_abs_top_srcdir$ac_dir_suffix
2220 cd "$ac_dir" || { ac_status=$?; continue; }
2221 # Check for guested configure.
2222 if test -f "$ac_srcdir/configure.gnu"; then
2223 echo &&
2224 $SHELL "$ac_srcdir/configure.gnu" --help=recursive
2225 elif test -f "$ac_srcdir/configure"; then
2226 echo &&
2227 $SHELL "$ac_srcdir/configure" --help=recursive
2228 else
2229 $as_echo "$as_me: WARNING: no configuration information is in $ac_dir" >&2
2230 fi || ac_status=$?
2231 cd "$ac_pwd" || { ac_status=$?; break; }
2232 done
2235 test -n "$ac_init_help" && exit $ac_status
2236 if $ac_init_version; then
2237 cat <<\_ACEOF
2238 Wine configure 1.7.15
2239 generated by GNU Autoconf 2.69
2241 Copyright (C) 2012 Free Software Foundation, Inc.
2242 This configure script is free software; the Free Software Foundation
2243 gives unlimited permission to copy, distribute and modify it.
2244 _ACEOF
2245 exit
2248 ## ------------------------ ##
2249 ## Autoconf initialization. ##
2250 ## ------------------------ ##
2252 # ac_fn_c_try_compile LINENO
2253 # --------------------------
2254 # Try to compile conftest.$ac_ext, and return whether this succeeded.
2255 ac_fn_c_try_compile ()
2257 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
2258 rm -f conftest.$ac_objext
2259 if { { ac_try="$ac_compile"
2260 case "(($ac_try" in
2261 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2262 *) ac_try_echo=$ac_try;;
2263 esac
2264 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
2265 $as_echo "$ac_try_echo"; } >&5
2266 (eval "$ac_compile") 2>conftest.err
2267 ac_status=$?
2268 if test -s conftest.err; then
2269 grep -v '^ *+' conftest.err >conftest.er1
2270 cat conftest.er1 >&5
2271 mv -f conftest.er1 conftest.err
2273 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
2274 test $ac_status = 0; } && {
2275 test -z "$ac_c_werror_flag" ||
2276 test ! -s conftest.err
2277 } && test -s conftest.$ac_objext; then :
2278 ac_retval=0
2279 else
2280 $as_echo "$as_me: failed program was:" >&5
2281 sed 's/^/| /' conftest.$ac_ext >&5
2283 ac_retval=1
2285 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
2286 as_fn_set_status $ac_retval
2288 } # ac_fn_c_try_compile
2290 # ac_fn_cxx_try_compile LINENO
2291 # ----------------------------
2292 # Try to compile conftest.$ac_ext, and return whether this succeeded.
2293 ac_fn_cxx_try_compile ()
2295 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
2296 rm -f conftest.$ac_objext
2297 if { { ac_try="$ac_compile"
2298 case "(($ac_try" in
2299 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2300 *) ac_try_echo=$ac_try;;
2301 esac
2302 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
2303 $as_echo "$ac_try_echo"; } >&5
2304 (eval "$ac_compile") 2>conftest.err
2305 ac_status=$?
2306 if test -s conftest.err; then
2307 grep -v '^ *+' conftest.err >conftest.er1
2308 cat conftest.er1 >&5
2309 mv -f conftest.er1 conftest.err
2311 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
2312 test $ac_status = 0; } && {
2313 test -z "$ac_cxx_werror_flag" ||
2314 test ! -s conftest.err
2315 } && test -s conftest.$ac_objext; then :
2316 ac_retval=0
2317 else
2318 $as_echo "$as_me: failed program was:" >&5
2319 sed 's/^/| /' conftest.$ac_ext >&5
2321 ac_retval=1
2323 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
2324 as_fn_set_status $ac_retval
2326 } # ac_fn_cxx_try_compile
2328 # ac_fn_c_try_link LINENO
2329 # -----------------------
2330 # Try to link conftest.$ac_ext, and return whether this succeeded.
2331 ac_fn_c_try_link ()
2333 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
2334 rm -f conftest.$ac_objext conftest$ac_exeext
2335 if { { ac_try="$ac_link"
2336 case "(($ac_try" in
2337 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2338 *) ac_try_echo=$ac_try;;
2339 esac
2340 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
2341 $as_echo "$ac_try_echo"; } >&5
2342 (eval "$ac_link") 2>conftest.err
2343 ac_status=$?
2344 if test -s conftest.err; then
2345 grep -v '^ *+' conftest.err >conftest.er1
2346 cat conftest.er1 >&5
2347 mv -f conftest.er1 conftest.err
2349 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
2350 test $ac_status = 0; } && {
2351 test -z "$ac_c_werror_flag" ||
2352 test ! -s conftest.err
2353 } && test -s conftest$ac_exeext && {
2354 test "$cross_compiling" = yes ||
2355 test -x conftest$ac_exeext
2356 }; then :
2357 ac_retval=0
2358 else
2359 $as_echo "$as_me: failed program was:" >&5
2360 sed 's/^/| /' conftest.$ac_ext >&5
2362 ac_retval=1
2364 # Delete the IPA/IPO (Inter Procedural Analysis/Optimization) information
2365 # created by the PGI compiler (conftest_ipa8_conftest.oo), as it would
2366 # interfere with the next link command; also delete a directory that is
2367 # left behind by Apple's compiler. We do this before executing the actions.
2368 rm -rf conftest.dSYM conftest_ipa8_conftest.oo
2369 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
2370 as_fn_set_status $ac_retval
2372 } # ac_fn_c_try_link
2374 # ac_fn_c_try_cpp LINENO
2375 # ----------------------
2376 # Try to preprocess conftest.$ac_ext, and return whether this succeeded.
2377 ac_fn_c_try_cpp ()
2379 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
2380 if { { ac_try="$ac_cpp conftest.$ac_ext"
2381 case "(($ac_try" in
2382 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2383 *) ac_try_echo=$ac_try;;
2384 esac
2385 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
2386 $as_echo "$ac_try_echo"; } >&5
2387 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.err
2388 ac_status=$?
2389 if test -s conftest.err; then
2390 grep -v '^ *+' conftest.err >conftest.er1
2391 cat conftest.er1 >&5
2392 mv -f conftest.er1 conftest.err
2394 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
2395 test $ac_status = 0; } > conftest.i && {
2396 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
2397 test ! -s conftest.err
2398 }; then :
2399 ac_retval=0
2400 else
2401 $as_echo "$as_me: failed program was:" >&5
2402 sed 's/^/| /' conftest.$ac_ext >&5
2404 ac_retval=1
2406 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
2407 as_fn_set_status $ac_retval
2409 } # ac_fn_c_try_cpp
2411 # ac_fn_c_check_header_mongrel LINENO HEADER VAR INCLUDES
2412 # -------------------------------------------------------
2413 # Tests whether HEADER exists, giving a warning if it cannot be compiled using
2414 # the include files in INCLUDES and setting the cache variable VAR
2415 # accordingly.
2416 ac_fn_c_check_header_mongrel ()
2418 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
2419 if eval \${$3+:} false; then :
2420 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
2421 $as_echo_n "checking for $2... " >&6; }
2422 if eval \${$3+:} false; then :
2423 $as_echo_n "(cached) " >&6
2425 eval ac_res=\$$3
2426 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
2427 $as_echo "$ac_res" >&6; }
2428 else
2429 # Is the header compilable?
2430 { $as_echo "$as_me:${as_lineno-$LINENO}: checking $2 usability" >&5
2431 $as_echo_n "checking $2 usability... " >&6; }
2432 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2433 /* end confdefs.h. */
2435 #include <$2>
2436 _ACEOF
2437 if ac_fn_c_try_compile "$LINENO"; then :
2438 ac_header_compiler=yes
2439 else
2440 ac_header_compiler=no
2442 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
2443 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_header_compiler" >&5
2444 $as_echo "$ac_header_compiler" >&6; }
2446 # Is the header present?
2447 { $as_echo "$as_me:${as_lineno-$LINENO}: checking $2 presence" >&5
2448 $as_echo_n "checking $2 presence... " >&6; }
2449 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2450 /* end confdefs.h. */
2451 #include <$2>
2452 _ACEOF
2453 if ac_fn_c_try_cpp "$LINENO"; then :
2454 ac_header_preproc=yes
2455 else
2456 ac_header_preproc=no
2458 rm -f conftest.err conftest.i conftest.$ac_ext
2459 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_header_preproc" >&5
2460 $as_echo "$ac_header_preproc" >&6; }
2462 # So? What about this header?
2463 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in #((
2464 yes:no: )
2465 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: accepted by the compiler, rejected by the preprocessor!" >&5
2466 $as_echo "$as_me: WARNING: $2: accepted by the compiler, rejected by the preprocessor!" >&2;}
2467 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: proceeding with the compiler's result" >&5
2468 $as_echo "$as_me: WARNING: $2: proceeding with the compiler's result" >&2;}
2470 no:yes:* )
2471 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: present but cannot be compiled" >&5
2472 $as_echo "$as_me: WARNING: $2: present but cannot be compiled" >&2;}
2473 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: check for missing prerequisite headers?" >&5
2474 $as_echo "$as_me: WARNING: $2: check for missing prerequisite headers?" >&2;}
2475 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: see the Autoconf documentation" >&5
2476 $as_echo "$as_me: WARNING: $2: see the Autoconf documentation" >&2;}
2477 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: section \"Present But Cannot Be Compiled\"" >&5
2478 $as_echo "$as_me: WARNING: $2: section \"Present But Cannot Be Compiled\"" >&2;}
2479 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: proceeding with the compiler's result" >&5
2480 $as_echo "$as_me: WARNING: $2: proceeding with the compiler's result" >&2;}
2481 ( $as_echo "## ------------------------------------ ##
2482 ## Report this to wine-devel@winehq.org ##
2483 ## ------------------------------------ ##"
2484 ) | sed "s/^/$as_me: WARNING: /" >&2
2486 esac
2487 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
2488 $as_echo_n "checking for $2... " >&6; }
2489 if eval \${$3+:} false; then :
2490 $as_echo_n "(cached) " >&6
2491 else
2492 eval "$3=\$ac_header_compiler"
2494 eval ac_res=\$$3
2495 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
2496 $as_echo "$ac_res" >&6; }
2498 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
2500 } # ac_fn_c_check_header_mongrel
2502 # ac_fn_c_try_run LINENO
2503 # ----------------------
2504 # Try to link conftest.$ac_ext, and return whether this succeeded. Assumes
2505 # that executables *can* be run.
2506 ac_fn_c_try_run ()
2508 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
2509 if { { ac_try="$ac_link"
2510 case "(($ac_try" in
2511 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2512 *) ac_try_echo=$ac_try;;
2513 esac
2514 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
2515 $as_echo "$ac_try_echo"; } >&5
2516 (eval "$ac_link") 2>&5
2517 ac_status=$?
2518 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
2519 test $ac_status = 0; } && { ac_try='./conftest$ac_exeext'
2520 { { case "(($ac_try" in
2521 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2522 *) ac_try_echo=$ac_try;;
2523 esac
2524 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
2525 $as_echo "$ac_try_echo"; } >&5
2526 (eval "$ac_try") 2>&5
2527 ac_status=$?
2528 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
2529 test $ac_status = 0; }; }; then :
2530 ac_retval=0
2531 else
2532 $as_echo "$as_me: program exited with status $ac_status" >&5
2533 $as_echo "$as_me: failed program was:" >&5
2534 sed 's/^/| /' conftest.$ac_ext >&5
2536 ac_retval=$ac_status
2538 rm -rf conftest.dSYM conftest_ipa8_conftest.oo
2539 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
2540 as_fn_set_status $ac_retval
2542 } # ac_fn_c_try_run
2544 # ac_fn_c_check_header_compile LINENO HEADER VAR INCLUDES
2545 # -------------------------------------------------------
2546 # Tests whether HEADER exists and can be compiled using the include files in
2547 # INCLUDES, setting the cache variable VAR accordingly.
2548 ac_fn_c_check_header_compile ()
2550 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
2551 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
2552 $as_echo_n "checking for $2... " >&6; }
2553 if eval \${$3+:} false; then :
2554 $as_echo_n "(cached) " >&6
2555 else
2556 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2557 /* end confdefs.h. */
2559 #include <$2>
2560 _ACEOF
2561 if ac_fn_c_try_compile "$LINENO"; then :
2562 eval "$3=yes"
2563 else
2564 eval "$3=no"
2566 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
2568 eval ac_res=\$$3
2569 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
2570 $as_echo "$ac_res" >&6; }
2571 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
2573 } # ac_fn_c_check_header_compile
2575 # ac_fn_c_check_func LINENO FUNC VAR
2576 # ----------------------------------
2577 # Tests whether FUNC exists, setting the cache variable VAR accordingly
2578 ac_fn_c_check_func ()
2580 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
2581 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
2582 $as_echo_n "checking for $2... " >&6; }
2583 if eval \${$3+:} false; then :
2584 $as_echo_n "(cached) " >&6
2585 else
2586 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2587 /* end confdefs.h. */
2588 /* Define $2 to an innocuous variant, in case <limits.h> declares $2.
2589 For example, HP-UX 11i <limits.h> declares gettimeofday. */
2590 #define $2 innocuous_$2
2592 /* System header to define __stub macros and hopefully few prototypes,
2593 which can conflict with char $2 (); below.
2594 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
2595 <limits.h> exists even on freestanding compilers. */
2597 #ifdef __STDC__
2598 # include <limits.h>
2599 #else
2600 # include <assert.h>
2601 #endif
2603 #undef $2
2605 /* Override any GCC internal prototype to avoid an error.
2606 Use char because int might match the return type of a GCC
2607 builtin and then its argument prototype would still apply. */
2608 #ifdef __cplusplus
2609 extern "C"
2610 #endif
2611 char $2 ();
2612 /* The GNU C library defines this for functions which it implements
2613 to always fail with ENOSYS. Some functions are actually named
2614 something starting with __ and the normal name is an alias. */
2615 #if defined __stub_$2 || defined __stub___$2
2616 choke me
2617 #endif
2620 main ()
2622 return $2 ();
2624 return 0;
2626 _ACEOF
2627 if ac_fn_c_try_link "$LINENO"; then :
2628 eval "$3=yes"
2629 else
2630 eval "$3=no"
2632 rm -f core conftest.err conftest.$ac_objext \
2633 conftest$ac_exeext conftest.$ac_ext
2635 eval ac_res=\$$3
2636 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
2637 $as_echo "$ac_res" >&6; }
2638 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
2640 } # ac_fn_c_check_func
2642 # ac_fn_c_check_member LINENO AGGR MEMBER VAR INCLUDES
2643 # ----------------------------------------------------
2644 # Tries to find if the field MEMBER exists in type AGGR, after including
2645 # INCLUDES, setting cache variable VAR accordingly.
2646 ac_fn_c_check_member ()
2648 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
2649 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2.$3" >&5
2650 $as_echo_n "checking for $2.$3... " >&6; }
2651 if eval \${$4+:} false; then :
2652 $as_echo_n "(cached) " >&6
2653 else
2654 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2655 /* end confdefs.h. */
2658 main ()
2660 static $2 ac_aggr;
2661 if (ac_aggr.$3)
2662 return 0;
2664 return 0;
2666 _ACEOF
2667 if ac_fn_c_try_compile "$LINENO"; then :
2668 eval "$4=yes"
2669 else
2670 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2671 /* end confdefs.h. */
2674 main ()
2676 static $2 ac_aggr;
2677 if (sizeof ac_aggr.$3)
2678 return 0;
2680 return 0;
2682 _ACEOF
2683 if ac_fn_c_try_compile "$LINENO"; then :
2684 eval "$4=yes"
2685 else
2686 eval "$4=no"
2688 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
2690 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
2692 eval ac_res=\$$4
2693 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
2694 $as_echo "$ac_res" >&6; }
2695 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
2697 } # ac_fn_c_check_member
2699 # ac_fn_c_check_type LINENO TYPE VAR INCLUDES
2700 # -------------------------------------------
2701 # Tests whether TYPE exists after having included INCLUDES, setting cache
2702 # variable VAR accordingly.
2703 ac_fn_c_check_type ()
2705 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
2706 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
2707 $as_echo_n "checking for $2... " >&6; }
2708 if eval \${$3+:} false; then :
2709 $as_echo_n "(cached) " >&6
2710 else
2711 eval "$3=no"
2712 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2713 /* end confdefs.h. */
2716 main ()
2718 if (sizeof ($2))
2719 return 0;
2721 return 0;
2723 _ACEOF
2724 if ac_fn_c_try_compile "$LINENO"; then :
2725 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2726 /* end confdefs.h. */
2729 main ()
2731 if (sizeof (($2)))
2732 return 0;
2734 return 0;
2736 _ACEOF
2737 if ac_fn_c_try_compile "$LINENO"; then :
2739 else
2740 eval "$3=yes"
2742 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
2744 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
2746 eval ac_res=\$$3
2747 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
2748 $as_echo "$ac_res" >&6; }
2749 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
2751 } # ac_fn_c_check_type
2752 cat >config.log <<_ACEOF
2753 This file contains any messages produced by compilers while
2754 running configure, to aid debugging if configure makes a mistake.
2756 It was created by Wine $as_me 1.7.15, which was
2757 generated by GNU Autoconf 2.69. Invocation command line was
2759 $ $0 $@
2761 _ACEOF
2762 exec 5>>config.log
2764 cat <<_ASUNAME
2765 ## --------- ##
2766 ## Platform. ##
2767 ## --------- ##
2769 hostname = `(hostname || uname -n) 2>/dev/null | sed 1q`
2770 uname -m = `(uname -m) 2>/dev/null || echo unknown`
2771 uname -r = `(uname -r) 2>/dev/null || echo unknown`
2772 uname -s = `(uname -s) 2>/dev/null || echo unknown`
2773 uname -v = `(uname -v) 2>/dev/null || echo unknown`
2775 /usr/bin/uname -p = `(/usr/bin/uname -p) 2>/dev/null || echo unknown`
2776 /bin/uname -X = `(/bin/uname -X) 2>/dev/null || echo unknown`
2778 /bin/arch = `(/bin/arch) 2>/dev/null || echo unknown`
2779 /usr/bin/arch -k = `(/usr/bin/arch -k) 2>/dev/null || echo unknown`
2780 /usr/convex/getsysinfo = `(/usr/convex/getsysinfo) 2>/dev/null || echo unknown`
2781 /usr/bin/hostinfo = `(/usr/bin/hostinfo) 2>/dev/null || echo unknown`
2782 /bin/machine = `(/bin/machine) 2>/dev/null || echo unknown`
2783 /usr/bin/oslevel = `(/usr/bin/oslevel) 2>/dev/null || echo unknown`
2784 /bin/universe = `(/bin/universe) 2>/dev/null || echo unknown`
2786 _ASUNAME
2788 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2789 for as_dir in $PATH
2791 IFS=$as_save_IFS
2792 test -z "$as_dir" && as_dir=.
2793 $as_echo "PATH: $as_dir"
2794 done
2795 IFS=$as_save_IFS
2797 } >&5
2799 cat >&5 <<_ACEOF
2802 ## ----------- ##
2803 ## Core tests. ##
2804 ## ----------- ##
2806 _ACEOF
2809 # Keep a trace of the command line.
2810 # Strip out --no-create and --no-recursion so they do not pile up.
2811 # Strip out --silent because we don't want to record it for future runs.
2812 # Also quote any args containing shell meta-characters.
2813 # Make two passes to allow for proper duplicate-argument suppression.
2814 ac_configure_args=
2815 ac_configure_args0=
2816 ac_configure_args1=
2817 ac_must_keep_next=false
2818 for ac_pass in 1 2
2820 for ac_arg
2822 case $ac_arg in
2823 -no-create | --no-c* | -n | -no-recursion | --no-r*) continue ;;
2824 -q | -quiet | --quiet | --quie | --qui | --qu | --q \
2825 | -silent | --silent | --silen | --sile | --sil)
2826 continue ;;
2827 *\'*)
2828 ac_arg=`$as_echo "$ac_arg" | sed "s/'/'\\\\\\\\''/g"` ;;
2829 esac
2830 case $ac_pass in
2831 1) as_fn_append ac_configure_args0 " '$ac_arg'" ;;
2833 as_fn_append ac_configure_args1 " '$ac_arg'"
2834 if test $ac_must_keep_next = true; then
2835 ac_must_keep_next=false # Got value, back to normal.
2836 else
2837 case $ac_arg in
2838 *=* | --config-cache | -C | -disable-* | --disable-* \
2839 | -enable-* | --enable-* | -gas | --g* | -nfp | --nf* \
2840 | -q | -quiet | --q* | -silent | --sil* | -v | -verb* \
2841 | -with-* | --with-* | -without-* | --without-* | --x)
2842 case "$ac_configure_args0 " in
2843 "$ac_configure_args1"*" '$ac_arg' "* ) continue ;;
2844 esac
2846 -* ) ac_must_keep_next=true ;;
2847 esac
2849 as_fn_append ac_configure_args " '$ac_arg'"
2851 esac
2852 done
2853 done
2854 { ac_configure_args0=; unset ac_configure_args0;}
2855 { ac_configure_args1=; unset ac_configure_args1;}
2857 # When interrupted or exit'd, cleanup temporary files, and complete
2858 # config.log. We remove comments because anyway the quotes in there
2859 # would cause problems or look ugly.
2860 # WARNING: Use '\'' to represent an apostrophe within the trap.
2861 # WARNING: Do not start the trap code with a newline, due to a FreeBSD 4.0 bug.
2862 trap 'exit_status=$?
2863 # Save into config.log some information that might help in debugging.
2865 echo
2867 $as_echo "## ---------------- ##
2868 ## Cache variables. ##
2869 ## ---------------- ##"
2870 echo
2871 # The following way of writing the cache mishandles newlines in values,
2873 for ac_var in `(set) 2>&1 | sed -n '\''s/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'\''`; do
2874 eval ac_val=\$$ac_var
2875 case $ac_val in #(
2876 *${as_nl}*)
2877 case $ac_var in #(
2878 *_cv_*) { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: cache variable $ac_var contains a newline" >&5
2879 $as_echo "$as_me: WARNING: cache variable $ac_var contains a newline" >&2;} ;;
2880 esac
2881 case $ac_var in #(
2882 _ | IFS | as_nl) ;; #(
2883 BASH_ARGV | BASH_SOURCE) eval $ac_var= ;; #(
2884 *) { eval $ac_var=; unset $ac_var;} ;;
2885 esac ;;
2886 esac
2887 done
2888 (set) 2>&1 |
2889 case $as_nl`(ac_space='\'' '\''; set) 2>&1` in #(
2890 *${as_nl}ac_space=\ *)
2891 sed -n \
2892 "s/'\''/'\''\\\\'\'''\''/g;
2893 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\''\\2'\''/p"
2894 ;; #(
2896 sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
2898 esac |
2899 sort
2901 echo
2903 $as_echo "## ----------------- ##
2904 ## Output variables. ##
2905 ## ----------------- ##"
2906 echo
2907 for ac_var in $ac_subst_vars
2909 eval ac_val=\$$ac_var
2910 case $ac_val in
2911 *\'\''*) ac_val=`$as_echo "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;;
2912 esac
2913 $as_echo "$ac_var='\''$ac_val'\''"
2914 done | sort
2915 echo
2917 if test -n "$ac_subst_files"; then
2918 $as_echo "## ------------------- ##
2919 ## File substitutions. ##
2920 ## ------------------- ##"
2921 echo
2922 for ac_var in $ac_subst_files
2924 eval ac_val=\$$ac_var
2925 case $ac_val in
2926 *\'\''*) ac_val=`$as_echo "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;;
2927 esac
2928 $as_echo "$ac_var='\''$ac_val'\''"
2929 done | sort
2930 echo
2933 if test -s confdefs.h; then
2934 $as_echo "## ----------- ##
2935 ## confdefs.h. ##
2936 ## ----------- ##"
2937 echo
2938 cat confdefs.h
2939 echo
2941 test "$ac_signal" != 0 &&
2942 $as_echo "$as_me: caught signal $ac_signal"
2943 $as_echo "$as_me: exit $exit_status"
2944 } >&5
2945 rm -f core *.core core.conftest.* &&
2946 rm -f -r conftest* confdefs* conf$$* $ac_clean_files &&
2947 exit $exit_status
2949 for ac_signal in 1 2 13 15; do
2950 trap 'ac_signal='$ac_signal'; as_fn_exit 1' $ac_signal
2951 done
2952 ac_signal=0
2954 # confdefs.h avoids OS command line length limits that DEFS can exceed.
2955 rm -f -r conftest* confdefs.h
2957 $as_echo "/* confdefs.h */" > confdefs.h
2959 # Predefined preprocessor variables.
2961 cat >>confdefs.h <<_ACEOF
2962 #define PACKAGE_NAME "$PACKAGE_NAME"
2963 _ACEOF
2965 cat >>confdefs.h <<_ACEOF
2966 #define PACKAGE_TARNAME "$PACKAGE_TARNAME"
2967 _ACEOF
2969 cat >>confdefs.h <<_ACEOF
2970 #define PACKAGE_VERSION "$PACKAGE_VERSION"
2971 _ACEOF
2973 cat >>confdefs.h <<_ACEOF
2974 #define PACKAGE_STRING "$PACKAGE_STRING"
2975 _ACEOF
2977 cat >>confdefs.h <<_ACEOF
2978 #define PACKAGE_BUGREPORT "$PACKAGE_BUGREPORT"
2979 _ACEOF
2981 cat >>confdefs.h <<_ACEOF
2982 #define PACKAGE_URL "$PACKAGE_URL"
2983 _ACEOF
2986 # Let the site file select an alternate cache file if it wants to.
2987 # Prefer an explicitly selected file to automatically selected ones.
2988 ac_site_file1=NONE
2989 ac_site_file2=NONE
2990 if test -n "$CONFIG_SITE"; then
2991 # We do not want a PATH search for config.site.
2992 case $CONFIG_SITE in #((
2993 -*) ac_site_file1=./$CONFIG_SITE;;
2994 */*) ac_site_file1=$CONFIG_SITE;;
2995 *) ac_site_file1=./$CONFIG_SITE;;
2996 esac
2997 elif test "x$prefix" != xNONE; then
2998 ac_site_file1=$prefix/share/config.site
2999 ac_site_file2=$prefix/etc/config.site
3000 else
3001 ac_site_file1=$ac_default_prefix/share/config.site
3002 ac_site_file2=$ac_default_prefix/etc/config.site
3004 for ac_site_file in "$ac_site_file1" "$ac_site_file2"
3006 test "x$ac_site_file" = xNONE && continue
3007 if test /dev/null != "$ac_site_file" && test -r "$ac_site_file"; then
3008 { $as_echo "$as_me:${as_lineno-$LINENO}: loading site script $ac_site_file" >&5
3009 $as_echo "$as_me: loading site script $ac_site_file" >&6;}
3010 sed 's/^/| /' "$ac_site_file" >&5
3011 . "$ac_site_file" \
3012 || { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
3013 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
3014 as_fn_error $? "failed to load site script $ac_site_file
3015 See \`config.log' for more details" "$LINENO" 5; }
3017 done
3019 if test -r "$cache_file"; then
3020 # Some versions of bash will fail to source /dev/null (special files
3021 # actually), so we avoid doing that. DJGPP emulates it as a regular file.
3022 if test /dev/null != "$cache_file" && test -f "$cache_file"; then
3023 { $as_echo "$as_me:${as_lineno-$LINENO}: loading cache $cache_file" >&5
3024 $as_echo "$as_me: loading cache $cache_file" >&6;}
3025 case $cache_file in
3026 [\\/]* | ?:[\\/]* ) . "$cache_file";;
3027 *) . "./$cache_file";;
3028 esac
3030 else
3031 { $as_echo "$as_me:${as_lineno-$LINENO}: creating cache $cache_file" >&5
3032 $as_echo "$as_me: creating cache $cache_file" >&6;}
3033 >$cache_file
3036 # Check that the precious variables saved in the cache have kept the same
3037 # value.
3038 ac_cache_corrupted=false
3039 for ac_var in $ac_precious_vars; do
3040 eval ac_old_set=\$ac_cv_env_${ac_var}_set
3041 eval ac_new_set=\$ac_env_${ac_var}_set
3042 eval ac_old_val=\$ac_cv_env_${ac_var}_value
3043 eval ac_new_val=\$ac_env_${ac_var}_value
3044 case $ac_old_set,$ac_new_set in
3045 set,)
3046 { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&5
3047 $as_echo "$as_me: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&2;}
3048 ac_cache_corrupted=: ;;
3049 ,set)
3050 { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' was not set in the previous run" >&5
3051 $as_echo "$as_me: error: \`$ac_var' was not set in the previous run" >&2;}
3052 ac_cache_corrupted=: ;;
3053 ,);;
3055 if test "x$ac_old_val" != "x$ac_new_val"; then
3056 # differences in whitespace do not lead to failure.
3057 ac_old_val_w=`echo x $ac_old_val`
3058 ac_new_val_w=`echo x $ac_new_val`
3059 if test "$ac_old_val_w" != "$ac_new_val_w"; then
3060 { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' has changed since the previous run:" >&5
3061 $as_echo "$as_me: error: \`$ac_var' has changed since the previous run:" >&2;}
3062 ac_cache_corrupted=:
3063 else
3064 { $as_echo "$as_me:${as_lineno-$LINENO}: warning: ignoring whitespace changes in \`$ac_var' since the previous run:" >&5
3065 $as_echo "$as_me: warning: ignoring whitespace changes in \`$ac_var' since the previous run:" >&2;}
3066 eval $ac_var=\$ac_old_val
3068 { $as_echo "$as_me:${as_lineno-$LINENO}: former value: \`$ac_old_val'" >&5
3069 $as_echo "$as_me: former value: \`$ac_old_val'" >&2;}
3070 { $as_echo "$as_me:${as_lineno-$LINENO}: current value: \`$ac_new_val'" >&5
3071 $as_echo "$as_me: current value: \`$ac_new_val'" >&2;}
3072 fi;;
3073 esac
3074 # Pass precious variables to config.status.
3075 if test "$ac_new_set" = set; then
3076 case $ac_new_val in
3077 *\'*) ac_arg=$ac_var=`$as_echo "$ac_new_val" | sed "s/'/'\\\\\\\\''/g"` ;;
3078 *) ac_arg=$ac_var=$ac_new_val ;;
3079 esac
3080 case " $ac_configure_args " in
3081 *" '$ac_arg' "*) ;; # Avoid dups. Use of quotes ensures accuracy.
3082 *) as_fn_append ac_configure_args " '$ac_arg'" ;;
3083 esac
3085 done
3086 if $ac_cache_corrupted; then
3087 { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
3088 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
3089 { $as_echo "$as_me:${as_lineno-$LINENO}: error: changes in the environment can compromise the build" >&5
3090 $as_echo "$as_me: error: changes in the environment can compromise the build" >&2;}
3091 as_fn_error $? "run \`make distclean' and/or \`rm $cache_file' and start over" "$LINENO" 5
3093 ## -------------------- ##
3094 ## Main body of script. ##
3095 ## -------------------- ##
3097 ac_ext=c
3098 ac_cpp='$CPP $CPPFLAGS'
3099 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
3100 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
3101 ac_compiler_gnu=$ac_cv_c_compiler_gnu
3105 ac_config_headers="$ac_config_headers include/config.h"
3107 ac_aux_dir=
3108 for ac_dir in tools "$srcdir"/tools; do
3109 if test -f "$ac_dir/install-sh"; then
3110 ac_aux_dir=$ac_dir
3111 ac_install_sh="$ac_aux_dir/install-sh -c"
3112 break
3113 elif test -f "$ac_dir/install.sh"; then
3114 ac_aux_dir=$ac_dir
3115 ac_install_sh="$ac_aux_dir/install.sh -c"
3116 break
3117 elif test -f "$ac_dir/shtool"; then
3118 ac_aux_dir=$ac_dir
3119 ac_install_sh="$ac_aux_dir/shtool install -c"
3120 break
3122 done
3123 if test -z "$ac_aux_dir"; then
3124 as_fn_error $? "cannot find install-sh, install.sh, or shtool in tools \"$srcdir\"/tools" "$LINENO" 5
3127 # These three variables are undocumented and unsupported,
3128 # and are intended to be withdrawn in a future Autoconf release.
3129 # They can cause serious problems if a builder's source tree is in a directory
3130 # whose full name contains unusual characters.
3131 ac_config_guess="$SHELL $ac_aux_dir/config.guess" # Please don't use this var.
3132 ac_config_sub="$SHELL $ac_aux_dir/config.sub" # Please don't use this var.
3133 ac_configure="$SHELL $ac_aux_dir/configure" # Please don't use this var.
3137 libwine_version="1.0"
3141 # Check whether --enable-win16 was given.
3142 if test "${enable_win16+set}" = set; then :
3143 enableval=$enable_win16;
3146 # Check whether --enable-win64 was given.
3147 if test "${enable_win64+set}" = set; then :
3148 enableval=$enable_win64;
3151 # Check whether --enable-tests was given.
3152 if test "${enable_tests+set}" = set; then :
3153 enableval=$enable_tests;
3156 # Check whether --enable-maintainer-mode was given.
3157 if test "${enable_maintainer_mode+set}" = set; then :
3158 enableval=$enable_maintainer_mode;
3163 # Check whether --with-alsa was given.
3164 if test "${with_alsa+set}" = set; then :
3165 withval=$with_alsa; if test "x$withval" = "xno"; then ac_cv_header_sys_asoundlib_h=no; ac_cv_header_alsa_asoundlib_h=no; fi
3169 # Check whether --with-capi was given.
3170 if test "${with_capi+set}" = set; then :
3171 withval=$with_capi;
3175 # Check whether --with-cms was given.
3176 if test "${with_cms+set}" = set; then :
3177 withval=$with_cms;
3181 # Check whether --with-coreaudio was given.
3182 if test "${with_coreaudio+set}" = set; then :
3183 withval=$with_coreaudio; if test "x$withval" = "xno"; then ac_cv_header_CoreAudio_CoreAudio_h=no; fi
3187 # Check whether --with-cups was given.
3188 if test "${with_cups+set}" = set; then :
3189 withval=$with_cups;
3193 # Check whether --with-curses was given.
3194 if test "${with_curses+set}" = set; then :
3195 withval=$with_curses; if test "x$withval" = "xno"; then ac_cv_header_ncurses_h=no; ac_cv_header_curses_h=no; fi
3199 # Check whether --with-dbus was given.
3200 if test "${with_dbus+set}" = set; then :
3201 withval=$with_dbus;
3205 # Check whether --with-fontconfig was given.
3206 if test "${with_fontconfig+set}" = set; then :
3207 withval=$with_fontconfig;
3211 # Check whether --with-freetype was given.
3212 if test "${with_freetype+set}" = set; then :
3213 withval=$with_freetype;
3217 # Check whether --with-gettext was given.
3218 if test "${with_gettext+set}" = set; then :
3219 withval=$with_gettext;
3223 # Check whether --with-gettextpo was given.
3224 if test "${with_gettextpo+set}" = set; then :
3225 withval=$with_gettextpo; if test "x$withval" = "xno"; then ac_cv_header_gettext_po_h=no; fi
3229 # Check whether --with-gphoto was given.
3230 if test "${with_gphoto+set}" = set; then :
3231 withval=$with_gphoto;
3235 # Check whether --with-glu was given.
3236 if test "${with_glu+set}" = set; then :
3237 withval=$with_glu;
3241 # Check whether --with-gnutls was given.
3242 if test "${with_gnutls+set}" = set; then :
3243 withval=$with_gnutls;
3247 # Check whether --with-gsm was given.
3248 if test "${with_gsm+set}" = set; then :
3249 withval=$with_gsm; if test "x$withval" = "xno"; then ac_cv_header_gsm_h=no; ac_cv_header_gsm_gsm_h=no; fi
3253 # Check whether --with-gstreamer was given.
3254 if test "${with_gstreamer+set}" = set; then :
3255 withval=$with_gstreamer;
3259 # Check whether --with-hal was given.
3260 if test "${with_hal+set}" = set; then :
3261 withval=$with_hal;
3265 # Check whether --with-jpeg was given.
3266 if test "${with_jpeg+set}" = set; then :
3267 withval=$with_jpeg;
3271 # Check whether --with-ldap was given.
3272 if test "${with_ldap+set}" = set; then :
3273 withval=$with_ldap; if test "x$withval" = "xno"; then ac_cv_header_ldap_h=no; ac_cv_header_lber_h=no; fi
3277 # Check whether --with-mpg123 was given.
3278 if test "${with_mpg123+set}" = set; then :
3279 withval=$with_mpg123;
3283 # Check whether --with-netapi was given.
3284 if test "${with_netapi+set}" = set; then :
3285 withval=$with_netapi;
3289 # Check whether --with-openal was given.
3290 if test "${with_openal+set}" = set; then :
3291 withval=$with_openal; if test "x$withval" = "xno"; then ac_cv_header_AL_al_h=no; ac_cv_header_OpenAL_al_h=no; fi
3295 # Check whether --with-opencl was given.
3296 if test "${with_opencl+set}" = set; then :
3297 withval=$with_opencl; if test "x$withval" = "xno"; then ac_cv_header_CL_cl_h=no; ac_cv_header_OpenCL_opencl_h=no; fi
3301 # Check whether --with-opengl was given.
3302 if test "${with_opengl+set}" = set; then :
3303 withval=$with_opengl;
3307 # Check whether --with-osmesa was given.
3308 if test "${with_osmesa+set}" = set; then :
3309 withval=$with_osmesa;
3313 # Check whether --with-oss was given.
3314 if test "${with_oss+set}" = set; then :
3315 withval=$with_oss;
3319 # Check whether --with-png was given.
3320 if test "${with_png+set}" = set; then :
3321 withval=$with_png;
3325 # Check whether --with-pthread was given.
3326 if test "${with_pthread+set}" = set; then :
3327 withval=$with_pthread; if test "x$withval" = "xno"; then ac_cv_header_pthread_h=no; fi
3331 # Check whether --with-sane was given.
3332 if test "${with_sane+set}" = set; then :
3333 withval=$with_sane;
3337 # Check whether --with-tiff was given.
3338 if test "${with_tiff+set}" = set; then :
3339 withval=$with_tiff;
3343 # Check whether --with-v4l was given.
3344 if test "${with_v4l+set}" = set; then :
3345 withval=$with_v4l;
3349 # Check whether --with-xcomposite was given.
3350 if test "${with_xcomposite+set}" = set; then :
3351 withval=$with_xcomposite; if test "x$withval" = "xno"; then ac_cv_header_X11_extensions_Xcomposite_h=no; fi
3355 # Check whether --with-xcursor was given.
3356 if test "${with_xcursor+set}" = set; then :
3357 withval=$with_xcursor; if test "x$withval" = "xno"; then ac_cv_header_X11_Xcursor_Xcursor_h=no; fi
3361 # Check whether --with-xinerama was given.
3362 if test "${with_xinerama+set}" = set; then :
3363 withval=$with_xinerama; if test "x$withval" = "xno"; then ac_cv_header_X11_extensions_Xinerama_h=no; fi
3367 # Check whether --with-xinput was given.
3368 if test "${with_xinput+set}" = set; then :
3369 withval=$with_xinput; if test "x$withval" = "xno"; then ac_cv_header_X11_extensions_XInput_h=no; fi
3373 # Check whether --with-xinput2 was given.
3374 if test "${with_xinput2+set}" = set; then :
3375 withval=$with_xinput2; if test "x$withval" = "xno"; then ac_cv_header_X11_extensions_XInput2_h=no; fi
3379 # Check whether --with-xml was given.
3380 if test "${with_xml+set}" = set; then :
3381 withval=$with_xml;
3385 # Check whether --with-xrandr was given.
3386 if test "${with_xrandr+set}" = set; then :
3387 withval=$with_xrandr; if test "x$withval" = "xno"; then ac_cv_header_X11_extensions_Xrandr_h=no; fi
3391 # Check whether --with-xrender was given.
3392 if test "${with_xrender+set}" = set; then :
3393 withval=$with_xrender; if test "x$withval" = "xno"; then ac_cv_header_X11_extensions_Xrender_h=no; fi
3397 # Check whether --with-xshape was given.
3398 if test "${with_xshape+set}" = set; then :
3399 withval=$with_xshape; if test "x$withval" = "xno"; then ac_cv_header_X11_extensions_shape_h=no; fi
3403 # Check whether --with-xshm was given.
3404 if test "${with_xshm+set}" = set; then :
3405 withval=$with_xshm; if test "x$withval" = "xno"; then ac_cv_header_X11_extensions_XShm_h=no; fi
3409 # Check whether --with-xslt was given.
3410 if test "${with_xslt+set}" = set; then :
3411 withval=$with_xslt;
3415 # Check whether --with-xxf86vm was given.
3416 if test "${with_xxf86vm+set}" = set; then :
3417 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
3421 # Check whether --with-zlib was given.
3422 if test "${with_zlib+set}" = set; then :
3423 withval=$with_zlib; if test "x$withval" = "xno"; then ac_cv_header_zlib_h=no; fi
3428 # Check whether --with-wine-tools was given.
3429 if test "${with_wine_tools+set}" = set; then :
3430 withval=$with_wine_tools;
3434 # Check whether --with-wine64 was given.
3435 if test "${with_wine64+set}" = set; then :
3436 withval=$with_wine64;
3440 # Make sure we can run config.sub.
3441 $SHELL "$ac_aux_dir/config.sub" sun4 >/dev/null 2>&1 ||
3442 as_fn_error $? "cannot run $SHELL $ac_aux_dir/config.sub" "$LINENO" 5
3444 { $as_echo "$as_me:${as_lineno-$LINENO}: checking build system type" >&5
3445 $as_echo_n "checking build system type... " >&6; }
3446 if ${ac_cv_build+:} false; then :
3447 $as_echo_n "(cached) " >&6
3448 else
3449 ac_build_alias=$build_alias
3450 test "x$ac_build_alias" = x &&
3451 ac_build_alias=`$SHELL "$ac_aux_dir/config.guess"`
3452 test "x$ac_build_alias" = x &&
3453 as_fn_error $? "cannot guess build type; you must specify one" "$LINENO" 5
3454 ac_cv_build=`$SHELL "$ac_aux_dir/config.sub" $ac_build_alias` ||
3455 as_fn_error $? "$SHELL $ac_aux_dir/config.sub $ac_build_alias failed" "$LINENO" 5
3458 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_build" >&5
3459 $as_echo "$ac_cv_build" >&6; }
3460 case $ac_cv_build in
3461 *-*-*) ;;
3462 *) as_fn_error $? "invalid value of canonical build" "$LINENO" 5;;
3463 esac
3464 build=$ac_cv_build
3465 ac_save_IFS=$IFS; IFS='-'
3466 set x $ac_cv_build
3467 shift
3468 build_cpu=$1
3469 build_vendor=$2
3470 shift; shift
3471 # Remember, the first character of IFS is used to create $*,
3472 # except with old shells:
3473 build_os=$*
3474 IFS=$ac_save_IFS
3475 case $build_os in *\ *) build_os=`echo "$build_os" | sed 's/ /-/g'`;; esac
3478 { $as_echo "$as_me:${as_lineno-$LINENO}: checking host system type" >&5
3479 $as_echo_n "checking host system type... " >&6; }
3480 if ${ac_cv_host+:} false; then :
3481 $as_echo_n "(cached) " >&6
3482 else
3483 if test "x$host_alias" = x; then
3484 ac_cv_host=$ac_cv_build
3485 else
3486 ac_cv_host=`$SHELL "$ac_aux_dir/config.sub" $host_alias` ||
3487 as_fn_error $? "$SHELL $ac_aux_dir/config.sub $host_alias failed" "$LINENO" 5
3491 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_host" >&5
3492 $as_echo "$ac_cv_host" >&6; }
3493 case $ac_cv_host in
3494 *-*-*) ;;
3495 *) as_fn_error $? "invalid value of canonical host" "$LINENO" 5;;
3496 esac
3497 host=$ac_cv_host
3498 ac_save_IFS=$IFS; IFS='-'
3499 set x $ac_cv_host
3500 shift
3501 host_cpu=$1
3502 host_vendor=$2
3503 shift; shift
3504 # Remember, the first character of IFS is used to create $*,
3505 # except with old shells:
3506 host_os=$*
3507 IFS=$ac_save_IFS
3508 case $host_os in *\ *) host_os=`echo "$host_os" | sed 's/ /-/g'`;; esac
3512 case "$srcdir" in
3513 .) ;;
3514 *) if test -f "$srcdir/Makefile" -o -f "$srcdir/include/config.h"; then
3515 as_fn_error $? "you are building out of the source tree, but the source tree contains object files.
3516 You need to run 'make distclean' in the source tree first." "$LINENO" 5
3517 fi ;;
3518 esac
3521 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ${MAKE-make} sets \$(MAKE)" >&5
3522 $as_echo_n "checking whether ${MAKE-make} sets \$(MAKE)... " >&6; }
3523 set x ${MAKE-make}
3524 ac_make=`$as_echo "$2" | sed 's/+/p/g; s/[^a-zA-Z0-9_]/_/g'`
3525 if eval \${ac_cv_prog_make_${ac_make}_set+:} false; then :
3526 $as_echo_n "(cached) " >&6
3527 else
3528 cat >conftest.make <<\_ACEOF
3529 SHELL = /bin/sh
3530 all:
3531 @echo '@@@%%%=$(MAKE)=@@@%%%'
3532 _ACEOF
3533 # GNU make sometimes prints "make[1]: Entering ...", which would confuse us.
3534 case `${MAKE-make} -f conftest.make 2>/dev/null` in
3535 *@@@%%%=?*=@@@%%%*)
3536 eval ac_cv_prog_make_${ac_make}_set=yes;;
3538 eval ac_cv_prog_make_${ac_make}_set=no;;
3539 esac
3540 rm -f conftest.make
3542 if eval test \$ac_cv_prog_make_${ac_make}_set = yes; then
3543 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
3544 $as_echo "yes" >&6; }
3545 SET_MAKE=
3546 else
3547 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3548 $as_echo "no" >&6; }
3549 SET_MAKE="MAKE=${MAKE-make}"
3552 ac_ext=c
3553 ac_cpp='$CPP $CPPFLAGS'
3554 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
3555 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
3556 ac_compiler_gnu=$ac_cv_c_compiler_gnu
3557 if test -n "$ac_tool_prefix"; then
3558 # Extract the first word of "${ac_tool_prefix}gcc", so it can be a program name with args.
3559 set dummy ${ac_tool_prefix}gcc; ac_word=$2
3560 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3561 $as_echo_n "checking for $ac_word... " >&6; }
3562 if ${ac_cv_prog_CC+:} false; then :
3563 $as_echo_n "(cached) " >&6
3564 else
3565 if test -n "$CC"; then
3566 ac_cv_prog_CC="$CC" # Let the user override the test.
3567 else
3568 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3569 for as_dir in $PATH
3571 IFS=$as_save_IFS
3572 test -z "$as_dir" && as_dir=.
3573 for ac_exec_ext in '' $ac_executable_extensions; do
3574 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
3575 ac_cv_prog_CC="${ac_tool_prefix}gcc"
3576 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3577 break 2
3579 done
3580 done
3581 IFS=$as_save_IFS
3585 CC=$ac_cv_prog_CC
3586 if test -n "$CC"; then
3587 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
3588 $as_echo "$CC" >&6; }
3589 else
3590 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3591 $as_echo "no" >&6; }
3596 if test -z "$ac_cv_prog_CC"; then
3597 ac_ct_CC=$CC
3598 # Extract the first word of "gcc", so it can be a program name with args.
3599 set dummy gcc; ac_word=$2
3600 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3601 $as_echo_n "checking for $ac_word... " >&6; }
3602 if ${ac_cv_prog_ac_ct_CC+:} false; then :
3603 $as_echo_n "(cached) " >&6
3604 else
3605 if test -n "$ac_ct_CC"; then
3606 ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
3607 else
3608 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3609 for as_dir in $PATH
3611 IFS=$as_save_IFS
3612 test -z "$as_dir" && as_dir=.
3613 for ac_exec_ext in '' $ac_executable_extensions; do
3614 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
3615 ac_cv_prog_ac_ct_CC="gcc"
3616 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3617 break 2
3619 done
3620 done
3621 IFS=$as_save_IFS
3625 ac_ct_CC=$ac_cv_prog_ac_ct_CC
3626 if test -n "$ac_ct_CC"; then
3627 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CC" >&5
3628 $as_echo "$ac_ct_CC" >&6; }
3629 else
3630 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3631 $as_echo "no" >&6; }
3634 if test "x$ac_ct_CC" = x; then
3635 CC=""
3636 else
3637 case $cross_compiling:$ac_tool_warned in
3638 yes:)
3639 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
3640 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
3641 ac_tool_warned=yes ;;
3642 esac
3643 CC=$ac_ct_CC
3645 else
3646 CC="$ac_cv_prog_CC"
3649 if test -z "$CC"; then
3650 if test -n "$ac_tool_prefix"; then
3651 # Extract the first word of "${ac_tool_prefix}cc", so it can be a program name with args.
3652 set dummy ${ac_tool_prefix}cc; ac_word=$2
3653 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3654 $as_echo_n "checking for $ac_word... " >&6; }
3655 if ${ac_cv_prog_CC+:} false; then :
3656 $as_echo_n "(cached) " >&6
3657 else
3658 if test -n "$CC"; then
3659 ac_cv_prog_CC="$CC" # Let the user override the test.
3660 else
3661 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3662 for as_dir in $PATH
3664 IFS=$as_save_IFS
3665 test -z "$as_dir" && as_dir=.
3666 for ac_exec_ext in '' $ac_executable_extensions; do
3667 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
3668 ac_cv_prog_CC="${ac_tool_prefix}cc"
3669 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3670 break 2
3672 done
3673 done
3674 IFS=$as_save_IFS
3678 CC=$ac_cv_prog_CC
3679 if test -n "$CC"; then
3680 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
3681 $as_echo "$CC" >&6; }
3682 else
3683 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3684 $as_echo "no" >&6; }
3690 if test -z "$CC"; then
3691 # Extract the first word of "cc", so it can be a program name with args.
3692 set dummy cc; ac_word=$2
3693 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3694 $as_echo_n "checking for $ac_word... " >&6; }
3695 if ${ac_cv_prog_CC+:} false; then :
3696 $as_echo_n "(cached) " >&6
3697 else
3698 if test -n "$CC"; then
3699 ac_cv_prog_CC="$CC" # Let the user override the test.
3700 else
3701 ac_prog_rejected=no
3702 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3703 for as_dir in $PATH
3705 IFS=$as_save_IFS
3706 test -z "$as_dir" && as_dir=.
3707 for ac_exec_ext in '' $ac_executable_extensions; do
3708 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
3709 if test "$as_dir/$ac_word$ac_exec_ext" = "/usr/ucb/cc"; then
3710 ac_prog_rejected=yes
3711 continue
3713 ac_cv_prog_CC="cc"
3714 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3715 break 2
3717 done
3718 done
3719 IFS=$as_save_IFS
3721 if test $ac_prog_rejected = yes; then
3722 # We found a bogon in the path, so make sure we never use it.
3723 set dummy $ac_cv_prog_CC
3724 shift
3725 if test $# != 0; then
3726 # We chose a different compiler from the bogus one.
3727 # However, it has the same basename, so the bogon will be chosen
3728 # first if we set CC to just the basename; use the full file name.
3729 shift
3730 ac_cv_prog_CC="$as_dir/$ac_word${1+' '}$@"
3735 CC=$ac_cv_prog_CC
3736 if test -n "$CC"; then
3737 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
3738 $as_echo "$CC" >&6; }
3739 else
3740 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3741 $as_echo "no" >&6; }
3746 if test -z "$CC"; then
3747 if test -n "$ac_tool_prefix"; then
3748 for ac_prog in cl.exe
3750 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
3751 set dummy $ac_tool_prefix$ac_prog; ac_word=$2
3752 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3753 $as_echo_n "checking for $ac_word... " >&6; }
3754 if ${ac_cv_prog_CC+:} false; then :
3755 $as_echo_n "(cached) " >&6
3756 else
3757 if test -n "$CC"; then
3758 ac_cv_prog_CC="$CC" # Let the user override the test.
3759 else
3760 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3761 for as_dir in $PATH
3763 IFS=$as_save_IFS
3764 test -z "$as_dir" && as_dir=.
3765 for ac_exec_ext in '' $ac_executable_extensions; do
3766 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
3767 ac_cv_prog_CC="$ac_tool_prefix$ac_prog"
3768 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3769 break 2
3771 done
3772 done
3773 IFS=$as_save_IFS
3777 CC=$ac_cv_prog_CC
3778 if test -n "$CC"; then
3779 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
3780 $as_echo "$CC" >&6; }
3781 else
3782 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3783 $as_echo "no" >&6; }
3787 test -n "$CC" && break
3788 done
3790 if test -z "$CC"; then
3791 ac_ct_CC=$CC
3792 for ac_prog in cl.exe
3794 # Extract the first word of "$ac_prog", so it can be a program name with args.
3795 set dummy $ac_prog; ac_word=$2
3796 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3797 $as_echo_n "checking for $ac_word... " >&6; }
3798 if ${ac_cv_prog_ac_ct_CC+:} false; then :
3799 $as_echo_n "(cached) " >&6
3800 else
3801 if test -n "$ac_ct_CC"; then
3802 ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
3803 else
3804 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3805 for as_dir in $PATH
3807 IFS=$as_save_IFS
3808 test -z "$as_dir" && as_dir=.
3809 for ac_exec_ext in '' $ac_executable_extensions; do
3810 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
3811 ac_cv_prog_ac_ct_CC="$ac_prog"
3812 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3813 break 2
3815 done
3816 done
3817 IFS=$as_save_IFS
3821 ac_ct_CC=$ac_cv_prog_ac_ct_CC
3822 if test -n "$ac_ct_CC"; then
3823 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CC" >&5
3824 $as_echo "$ac_ct_CC" >&6; }
3825 else
3826 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3827 $as_echo "no" >&6; }
3831 test -n "$ac_ct_CC" && break
3832 done
3834 if test "x$ac_ct_CC" = x; then
3835 CC=""
3836 else
3837 case $cross_compiling:$ac_tool_warned in
3838 yes:)
3839 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
3840 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
3841 ac_tool_warned=yes ;;
3842 esac
3843 CC=$ac_ct_CC
3850 test -z "$CC" && { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
3851 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
3852 as_fn_error $? "no acceptable C compiler found in \$PATH
3853 See \`config.log' for more details" "$LINENO" 5; }
3855 # Provide some information about the compiler.
3856 $as_echo "$as_me:${as_lineno-$LINENO}: checking for C compiler version" >&5
3857 set X $ac_compile
3858 ac_compiler=$2
3859 for ac_option in --version -v -V -qversion; do
3860 { { ac_try="$ac_compiler $ac_option >&5"
3861 case "(($ac_try" in
3862 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3863 *) ac_try_echo=$ac_try;;
3864 esac
3865 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
3866 $as_echo "$ac_try_echo"; } >&5
3867 (eval "$ac_compiler $ac_option >&5") 2>conftest.err
3868 ac_status=$?
3869 if test -s conftest.err; then
3870 sed '10a\
3871 ... rest of stderr output deleted ...
3872 10q' conftest.err >conftest.er1
3873 cat conftest.er1 >&5
3875 rm -f conftest.er1 conftest.err
3876 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
3877 test $ac_status = 0; }
3878 done
3880 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3881 /* end confdefs.h. */
3884 main ()
3888 return 0;
3890 _ACEOF
3891 ac_clean_files_save=$ac_clean_files
3892 ac_clean_files="$ac_clean_files a.out a.out.dSYM a.exe b.out"
3893 # Try to create an executable without -o first, disregard a.out.
3894 # It will help us diagnose broken compilers, and finding out an intuition
3895 # of exeext.
3896 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the C compiler works" >&5
3897 $as_echo_n "checking whether the C compiler works... " >&6; }
3898 ac_link_default=`$as_echo "$ac_link" | sed 's/ -o *conftest[^ ]*//'`
3900 # The possible output files:
3901 ac_files="a.out conftest.exe conftest a.exe a_out.exe b.out conftest.*"
3903 ac_rmfiles=
3904 for ac_file in $ac_files
3906 case $ac_file in
3907 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj ) ;;
3908 * ) ac_rmfiles="$ac_rmfiles $ac_file";;
3909 esac
3910 done
3911 rm -f $ac_rmfiles
3913 if { { ac_try="$ac_link_default"
3914 case "(($ac_try" in
3915 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3916 *) ac_try_echo=$ac_try;;
3917 esac
3918 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
3919 $as_echo "$ac_try_echo"; } >&5
3920 (eval "$ac_link_default") 2>&5
3921 ac_status=$?
3922 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
3923 test $ac_status = 0; }; then :
3924 # Autoconf-2.13 could set the ac_cv_exeext variable to `no'.
3925 # So ignore a value of `no', otherwise this would lead to `EXEEXT = no'
3926 # in a Makefile. We should not override ac_cv_exeext if it was cached,
3927 # so that the user can short-circuit this test for compilers unknown to
3928 # Autoconf.
3929 for ac_file in $ac_files ''
3931 test -f "$ac_file" || continue
3932 case $ac_file in
3933 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj )
3935 [ab].out )
3936 # We found the default executable, but exeext='' is most
3937 # certainly right.
3938 break;;
3939 *.* )
3940 if test "${ac_cv_exeext+set}" = set && test "$ac_cv_exeext" != no;
3941 then :; else
3942 ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'`
3944 # We set ac_cv_exeext here because the later test for it is not
3945 # safe: cross compilers may not add the suffix if given an `-o'
3946 # argument, so we may need to know it at that point already.
3947 # Even if this section looks crufty: it has the advantage of
3948 # actually working.
3949 break;;
3951 break;;
3952 esac
3953 done
3954 test "$ac_cv_exeext" = no && ac_cv_exeext=
3956 else
3957 ac_file=''
3959 if test -z "$ac_file"; then :
3960 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3961 $as_echo "no" >&6; }
3962 $as_echo "$as_me: failed program was:" >&5
3963 sed 's/^/| /' conftest.$ac_ext >&5
3965 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
3966 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
3967 as_fn_error 77 "C compiler cannot create executables
3968 See \`config.log' for more details" "$LINENO" 5; }
3969 else
3970 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
3971 $as_echo "yes" >&6; }
3973 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for C compiler default output file name" >&5
3974 $as_echo_n "checking for C compiler default output file name... " >&6; }
3975 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_file" >&5
3976 $as_echo "$ac_file" >&6; }
3977 ac_exeext=$ac_cv_exeext
3979 rm -f -r a.out a.out.dSYM a.exe conftest$ac_cv_exeext b.out
3980 ac_clean_files=$ac_clean_files_save
3981 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for suffix of executables" >&5
3982 $as_echo_n "checking for suffix of executables... " >&6; }
3983 if { { ac_try="$ac_link"
3984 case "(($ac_try" in
3985 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3986 *) ac_try_echo=$ac_try;;
3987 esac
3988 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
3989 $as_echo "$ac_try_echo"; } >&5
3990 (eval "$ac_link") 2>&5
3991 ac_status=$?
3992 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
3993 test $ac_status = 0; }; then :
3994 # If both `conftest.exe' and `conftest' are `present' (well, observable)
3995 # catch `conftest.exe'. For instance with Cygwin, `ls conftest' will
3996 # work properly (i.e., refer to `conftest.exe'), while it won't with
3997 # `rm'.
3998 for ac_file in conftest.exe conftest conftest.*; do
3999 test -f "$ac_file" || continue
4000 case $ac_file in
4001 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj ) ;;
4002 *.* ) ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'`
4003 break;;
4004 * ) break;;
4005 esac
4006 done
4007 else
4008 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
4009 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
4010 as_fn_error $? "cannot compute suffix of executables: cannot compile and link
4011 See \`config.log' for more details" "$LINENO" 5; }
4013 rm -f conftest conftest$ac_cv_exeext
4014 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_exeext" >&5
4015 $as_echo "$ac_cv_exeext" >&6; }
4017 rm -f conftest.$ac_ext
4018 EXEEXT=$ac_cv_exeext
4019 ac_exeext=$EXEEXT
4020 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4021 /* end confdefs.h. */
4022 #include <stdio.h>
4024 main ()
4026 FILE *f = fopen ("conftest.out", "w");
4027 return ferror (f) || fclose (f) != 0;
4030 return 0;
4032 _ACEOF
4033 ac_clean_files="$ac_clean_files conftest.out"
4034 # Check that the compiler produces executables we can run. If not, either
4035 # the compiler is broken, or we cross compile.
4036 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are cross compiling" >&5
4037 $as_echo_n "checking whether we are cross compiling... " >&6; }
4038 if test "$cross_compiling" != yes; then
4039 { { ac_try="$ac_link"
4040 case "(($ac_try" in
4041 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
4042 *) ac_try_echo=$ac_try;;
4043 esac
4044 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
4045 $as_echo "$ac_try_echo"; } >&5
4046 (eval "$ac_link") 2>&5
4047 ac_status=$?
4048 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
4049 test $ac_status = 0; }
4050 if { ac_try='./conftest$ac_cv_exeext'
4051 { { case "(($ac_try" in
4052 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
4053 *) ac_try_echo=$ac_try;;
4054 esac
4055 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
4056 $as_echo "$ac_try_echo"; } >&5
4057 (eval "$ac_try") 2>&5
4058 ac_status=$?
4059 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
4060 test $ac_status = 0; }; }; then
4061 cross_compiling=no
4062 else
4063 if test "$cross_compiling" = maybe; then
4064 cross_compiling=yes
4065 else
4066 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
4067 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
4068 as_fn_error $? "cannot run C compiled programs.
4069 If you meant to cross compile, use \`--host'.
4070 See \`config.log' for more details" "$LINENO" 5; }
4074 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $cross_compiling" >&5
4075 $as_echo "$cross_compiling" >&6; }
4077 rm -f conftest.$ac_ext conftest$ac_cv_exeext conftest.out
4078 ac_clean_files=$ac_clean_files_save
4079 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for suffix of object files" >&5
4080 $as_echo_n "checking for suffix of object files... " >&6; }
4081 if ${ac_cv_objext+:} false; then :
4082 $as_echo_n "(cached) " >&6
4083 else
4084 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4085 /* end confdefs.h. */
4088 main ()
4092 return 0;
4094 _ACEOF
4095 rm -f conftest.o conftest.obj
4096 if { { ac_try="$ac_compile"
4097 case "(($ac_try" in
4098 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
4099 *) ac_try_echo=$ac_try;;
4100 esac
4101 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
4102 $as_echo "$ac_try_echo"; } >&5
4103 (eval "$ac_compile") 2>&5
4104 ac_status=$?
4105 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
4106 test $ac_status = 0; }; then :
4107 for ac_file in conftest.o conftest.obj conftest.*; do
4108 test -f "$ac_file" || continue;
4109 case $ac_file in
4110 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM ) ;;
4111 *) ac_cv_objext=`expr "$ac_file" : '.*\.\(.*\)'`
4112 break;;
4113 esac
4114 done
4115 else
4116 $as_echo "$as_me: failed program was:" >&5
4117 sed 's/^/| /' conftest.$ac_ext >&5
4119 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
4120 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
4121 as_fn_error $? "cannot compute suffix of object files: cannot compile
4122 See \`config.log' for more details" "$LINENO" 5; }
4124 rm -f conftest.$ac_cv_objext conftest.$ac_ext
4126 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_objext" >&5
4127 $as_echo "$ac_cv_objext" >&6; }
4128 OBJEXT=$ac_cv_objext
4129 ac_objext=$OBJEXT
4130 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are using the GNU C compiler" >&5
4131 $as_echo_n "checking whether we are using the GNU C compiler... " >&6; }
4132 if ${ac_cv_c_compiler_gnu+:} false; then :
4133 $as_echo_n "(cached) " >&6
4134 else
4135 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4136 /* end confdefs.h. */
4139 main ()
4141 #ifndef __GNUC__
4142 choke me
4143 #endif
4146 return 0;
4148 _ACEOF
4149 if ac_fn_c_try_compile "$LINENO"; then :
4150 ac_compiler_gnu=yes
4151 else
4152 ac_compiler_gnu=no
4154 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4155 ac_cv_c_compiler_gnu=$ac_compiler_gnu
4158 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_compiler_gnu" >&5
4159 $as_echo "$ac_cv_c_compiler_gnu" >&6; }
4160 if test $ac_compiler_gnu = yes; then
4161 GCC=yes
4162 else
4163 GCC=
4165 ac_test_CFLAGS=${CFLAGS+set}
4166 ac_save_CFLAGS=$CFLAGS
4167 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CC accepts -g" >&5
4168 $as_echo_n "checking whether $CC accepts -g... " >&6; }
4169 if ${ac_cv_prog_cc_g+:} false; then :
4170 $as_echo_n "(cached) " >&6
4171 else
4172 ac_save_c_werror_flag=$ac_c_werror_flag
4173 ac_c_werror_flag=yes
4174 ac_cv_prog_cc_g=no
4175 CFLAGS="-g"
4176 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4177 /* end confdefs.h. */
4180 main ()
4184 return 0;
4186 _ACEOF
4187 if ac_fn_c_try_compile "$LINENO"; then :
4188 ac_cv_prog_cc_g=yes
4189 else
4190 CFLAGS=""
4191 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4192 /* end confdefs.h. */
4195 main ()
4199 return 0;
4201 _ACEOF
4202 if ac_fn_c_try_compile "$LINENO"; then :
4204 else
4205 ac_c_werror_flag=$ac_save_c_werror_flag
4206 CFLAGS="-g"
4207 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4208 /* end confdefs.h. */
4211 main ()
4215 return 0;
4217 _ACEOF
4218 if ac_fn_c_try_compile "$LINENO"; then :
4219 ac_cv_prog_cc_g=yes
4221 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4223 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4225 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4226 ac_c_werror_flag=$ac_save_c_werror_flag
4228 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_g" >&5
4229 $as_echo "$ac_cv_prog_cc_g" >&6; }
4230 if test "$ac_test_CFLAGS" = set; then
4231 CFLAGS=$ac_save_CFLAGS
4232 elif test $ac_cv_prog_cc_g = yes; then
4233 if test "$GCC" = yes; then
4234 CFLAGS="-g -O2"
4235 else
4236 CFLAGS="-g"
4238 else
4239 if test "$GCC" = yes; then
4240 CFLAGS="-O2"
4241 else
4242 CFLAGS=
4245 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $CC option to accept ISO C89" >&5
4246 $as_echo_n "checking for $CC option to accept ISO C89... " >&6; }
4247 if ${ac_cv_prog_cc_c89+:} false; then :
4248 $as_echo_n "(cached) " >&6
4249 else
4250 ac_cv_prog_cc_c89=no
4251 ac_save_CC=$CC
4252 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4253 /* end confdefs.h. */
4254 #include <stdarg.h>
4255 #include <stdio.h>
4256 struct stat;
4257 /* Most of the following tests are stolen from RCS 5.7's src/conf.sh. */
4258 struct buf { int x; };
4259 FILE * (*rcsopen) (struct buf *, struct stat *, int);
4260 static char *e (p, i)
4261 char **p;
4262 int i;
4264 return p[i];
4266 static char *f (char * (*g) (char **, int), char **p, ...)
4268 char *s;
4269 va_list v;
4270 va_start (v,p);
4271 s = g (p, va_arg (v,int));
4272 va_end (v);
4273 return s;
4276 /* OSF 4.0 Compaq cc is some sort of almost-ANSI by default. It has
4277 function prototypes and stuff, but not '\xHH' hex character constants.
4278 These don't provoke an error unfortunately, instead are silently treated
4279 as 'x'. The following induces an error, until -std is added to get
4280 proper ANSI mode. Curiously '\x00'!='x' always comes out true, for an
4281 array size at least. It's necessary to write '\x00'==0 to get something
4282 that's true only with -std. */
4283 int osf4_cc_array ['\x00' == 0 ? 1 : -1];
4285 /* IBM C 6 for AIX is almost-ANSI by default, but it replaces macro parameters
4286 inside strings and character constants. */
4287 #define FOO(x) 'x'
4288 int xlc6_cc_array[FOO(a) == 'x' ? 1 : -1];
4290 int test (int i, double x);
4291 struct s1 {int (*f) (int a);};
4292 struct s2 {int (*f) (double a);};
4293 int pairnames (int, char **, FILE *(*)(struct buf *, struct stat *, int), int, int);
4294 int argc;
4295 char **argv;
4297 main ()
4299 return f (e, argv, 0) != argv[0] || f (e, argv, 1) != argv[1];
4301 return 0;
4303 _ACEOF
4304 for ac_arg in '' -qlanglvl=extc89 -qlanglvl=ansi -std \
4305 -Ae "-Aa -D_HPUX_SOURCE" "-Xc -D__EXTENSIONS__"
4307 CC="$ac_save_CC $ac_arg"
4308 if ac_fn_c_try_compile "$LINENO"; then :
4309 ac_cv_prog_cc_c89=$ac_arg
4311 rm -f core conftest.err conftest.$ac_objext
4312 test "x$ac_cv_prog_cc_c89" != "xno" && break
4313 done
4314 rm -f conftest.$ac_ext
4315 CC=$ac_save_CC
4318 # AC_CACHE_VAL
4319 case "x$ac_cv_prog_cc_c89" in
4321 { $as_echo "$as_me:${as_lineno-$LINENO}: result: none needed" >&5
4322 $as_echo "none needed" >&6; } ;;
4323 xno)
4324 { $as_echo "$as_me:${as_lineno-$LINENO}: result: unsupported" >&5
4325 $as_echo "unsupported" >&6; } ;;
4327 CC="$CC $ac_cv_prog_cc_c89"
4328 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_c89" >&5
4329 $as_echo "$ac_cv_prog_cc_c89" >&6; } ;;
4330 esac
4331 if test "x$ac_cv_prog_cc_c89" != xno; then :
4335 ac_ext=c
4336 ac_cpp='$CPP $CPPFLAGS'
4337 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
4338 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
4339 ac_compiler_gnu=$ac_cv_c_compiler_gnu
4341 ac_ext=cpp
4342 ac_cpp='$CXXCPP $CPPFLAGS'
4343 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
4344 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
4345 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
4346 if test -z "$CXX"; then
4347 if test -n "$CCC"; then
4348 CXX=$CCC
4349 else
4350 if test -n "$ac_tool_prefix"; then
4351 for ac_prog in g++ c++ gpp aCC CC cxx cc++ cl.exe FCC KCC RCC xlC_r xlC
4353 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
4354 set dummy $ac_tool_prefix$ac_prog; ac_word=$2
4355 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4356 $as_echo_n "checking for $ac_word... " >&6; }
4357 if ${ac_cv_prog_CXX+:} false; then :
4358 $as_echo_n "(cached) " >&6
4359 else
4360 if test -n "$CXX"; then
4361 ac_cv_prog_CXX="$CXX" # Let the user override the test.
4362 else
4363 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4364 for as_dir in $PATH
4366 IFS=$as_save_IFS
4367 test -z "$as_dir" && as_dir=.
4368 for ac_exec_ext in '' $ac_executable_extensions; do
4369 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
4370 ac_cv_prog_CXX="$ac_tool_prefix$ac_prog"
4371 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4372 break 2
4374 done
4375 done
4376 IFS=$as_save_IFS
4380 CXX=$ac_cv_prog_CXX
4381 if test -n "$CXX"; then
4382 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CXX" >&5
4383 $as_echo "$CXX" >&6; }
4384 else
4385 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4386 $as_echo "no" >&6; }
4390 test -n "$CXX" && break
4391 done
4393 if test -z "$CXX"; then
4394 ac_ct_CXX=$CXX
4395 for ac_prog in g++ c++ gpp aCC CC cxx cc++ cl.exe FCC KCC RCC xlC_r xlC
4397 # Extract the first word of "$ac_prog", so it can be a program name with args.
4398 set dummy $ac_prog; ac_word=$2
4399 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4400 $as_echo_n "checking for $ac_word... " >&6; }
4401 if ${ac_cv_prog_ac_ct_CXX+:} false; then :
4402 $as_echo_n "(cached) " >&6
4403 else
4404 if test -n "$ac_ct_CXX"; then
4405 ac_cv_prog_ac_ct_CXX="$ac_ct_CXX" # Let the user override the test.
4406 else
4407 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4408 for as_dir in $PATH
4410 IFS=$as_save_IFS
4411 test -z "$as_dir" && as_dir=.
4412 for ac_exec_ext in '' $ac_executable_extensions; do
4413 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
4414 ac_cv_prog_ac_ct_CXX="$ac_prog"
4415 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4416 break 2
4418 done
4419 done
4420 IFS=$as_save_IFS
4424 ac_ct_CXX=$ac_cv_prog_ac_ct_CXX
4425 if test -n "$ac_ct_CXX"; then
4426 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CXX" >&5
4427 $as_echo "$ac_ct_CXX" >&6; }
4428 else
4429 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4430 $as_echo "no" >&6; }
4434 test -n "$ac_ct_CXX" && break
4435 done
4437 if test "x$ac_ct_CXX" = x; then
4438 CXX="g++"
4439 else
4440 case $cross_compiling:$ac_tool_warned in
4441 yes:)
4442 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
4443 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
4444 ac_tool_warned=yes ;;
4445 esac
4446 CXX=$ac_ct_CXX
4452 # Provide some information about the compiler.
4453 $as_echo "$as_me:${as_lineno-$LINENO}: checking for C++ compiler version" >&5
4454 set X $ac_compile
4455 ac_compiler=$2
4456 for ac_option in --version -v -V -qversion; do
4457 { { ac_try="$ac_compiler $ac_option >&5"
4458 case "(($ac_try" in
4459 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
4460 *) ac_try_echo=$ac_try;;
4461 esac
4462 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
4463 $as_echo "$ac_try_echo"; } >&5
4464 (eval "$ac_compiler $ac_option >&5") 2>conftest.err
4465 ac_status=$?
4466 if test -s conftest.err; then
4467 sed '10a\
4468 ... rest of stderr output deleted ...
4469 10q' conftest.err >conftest.er1
4470 cat conftest.er1 >&5
4472 rm -f conftest.er1 conftest.err
4473 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
4474 test $ac_status = 0; }
4475 done
4477 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are using the GNU C++ compiler" >&5
4478 $as_echo_n "checking whether we are using the GNU C++ compiler... " >&6; }
4479 if ${ac_cv_cxx_compiler_gnu+:} false; then :
4480 $as_echo_n "(cached) " >&6
4481 else
4482 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4483 /* end confdefs.h. */
4486 main ()
4488 #ifndef __GNUC__
4489 choke me
4490 #endif
4493 return 0;
4495 _ACEOF
4496 if ac_fn_cxx_try_compile "$LINENO"; then :
4497 ac_compiler_gnu=yes
4498 else
4499 ac_compiler_gnu=no
4501 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4502 ac_cv_cxx_compiler_gnu=$ac_compiler_gnu
4505 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cxx_compiler_gnu" >&5
4506 $as_echo "$ac_cv_cxx_compiler_gnu" >&6; }
4507 if test $ac_compiler_gnu = yes; then
4508 GXX=yes
4509 else
4510 GXX=
4512 ac_test_CXXFLAGS=${CXXFLAGS+set}
4513 ac_save_CXXFLAGS=$CXXFLAGS
4514 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CXX accepts -g" >&5
4515 $as_echo_n "checking whether $CXX accepts -g... " >&6; }
4516 if ${ac_cv_prog_cxx_g+:} false; then :
4517 $as_echo_n "(cached) " >&6
4518 else
4519 ac_save_cxx_werror_flag=$ac_cxx_werror_flag
4520 ac_cxx_werror_flag=yes
4521 ac_cv_prog_cxx_g=no
4522 CXXFLAGS="-g"
4523 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4524 /* end confdefs.h. */
4527 main ()
4531 return 0;
4533 _ACEOF
4534 if ac_fn_cxx_try_compile "$LINENO"; then :
4535 ac_cv_prog_cxx_g=yes
4536 else
4537 CXXFLAGS=""
4538 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4539 /* end confdefs.h. */
4542 main ()
4546 return 0;
4548 _ACEOF
4549 if ac_fn_cxx_try_compile "$LINENO"; then :
4551 else
4552 ac_cxx_werror_flag=$ac_save_cxx_werror_flag
4553 CXXFLAGS="-g"
4554 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4555 /* end confdefs.h. */
4558 main ()
4562 return 0;
4564 _ACEOF
4565 if ac_fn_cxx_try_compile "$LINENO"; then :
4566 ac_cv_prog_cxx_g=yes
4568 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4570 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4572 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4573 ac_cxx_werror_flag=$ac_save_cxx_werror_flag
4575 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cxx_g" >&5
4576 $as_echo "$ac_cv_prog_cxx_g" >&6; }
4577 if test "$ac_test_CXXFLAGS" = set; then
4578 CXXFLAGS=$ac_save_CXXFLAGS
4579 elif test $ac_cv_prog_cxx_g = yes; then
4580 if test "$GXX" = yes; then
4581 CXXFLAGS="-g -O2"
4582 else
4583 CXXFLAGS="-g"
4585 else
4586 if test "$GXX" = yes; then
4587 CXXFLAGS="-O2"
4588 else
4589 CXXFLAGS=
4592 ac_ext=c
4593 ac_cpp='$CPP $CPPFLAGS'
4594 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
4595 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
4596 ac_compiler_gnu=$ac_cv_c_compiler_gnu
4598 if test -n "$ac_tool_prefix"; then
4599 # Extract the first word of "${ac_tool_prefix}cpp", so it can be a program name with args.
4600 set dummy ${ac_tool_prefix}cpp; ac_word=$2
4601 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4602 $as_echo_n "checking for $ac_word... " >&6; }
4603 if ${ac_cv_prog_CPPBIN+:} false; then :
4604 $as_echo_n "(cached) " >&6
4605 else
4606 if test -n "$CPPBIN"; then
4607 ac_cv_prog_CPPBIN="$CPPBIN" # Let the user override the test.
4608 else
4609 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4610 for as_dir in $PATH
4612 IFS=$as_save_IFS
4613 test -z "$as_dir" && as_dir=.
4614 for ac_exec_ext in '' $ac_executable_extensions; do
4615 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
4616 ac_cv_prog_CPPBIN="${ac_tool_prefix}cpp"
4617 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4618 break 2
4620 done
4621 done
4622 IFS=$as_save_IFS
4626 CPPBIN=$ac_cv_prog_CPPBIN
4627 if test -n "$CPPBIN"; then
4628 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CPPBIN" >&5
4629 $as_echo "$CPPBIN" >&6; }
4630 else
4631 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4632 $as_echo "no" >&6; }
4637 if test -z "$ac_cv_prog_CPPBIN"; then
4638 ac_ct_CPPBIN=$CPPBIN
4639 # Extract the first word of "cpp", so it can be a program name with args.
4640 set dummy cpp; ac_word=$2
4641 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4642 $as_echo_n "checking for $ac_word... " >&6; }
4643 if ${ac_cv_prog_ac_ct_CPPBIN+:} false; then :
4644 $as_echo_n "(cached) " >&6
4645 else
4646 if test -n "$ac_ct_CPPBIN"; then
4647 ac_cv_prog_ac_ct_CPPBIN="$ac_ct_CPPBIN" # Let the user override the test.
4648 else
4649 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4650 for as_dir in $PATH
4652 IFS=$as_save_IFS
4653 test -z "$as_dir" && as_dir=.
4654 for ac_exec_ext in '' $ac_executable_extensions; do
4655 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
4656 ac_cv_prog_ac_ct_CPPBIN="cpp"
4657 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4658 break 2
4660 done
4661 done
4662 IFS=$as_save_IFS
4666 ac_ct_CPPBIN=$ac_cv_prog_ac_ct_CPPBIN
4667 if test -n "$ac_ct_CPPBIN"; then
4668 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CPPBIN" >&5
4669 $as_echo "$ac_ct_CPPBIN" >&6; }
4670 else
4671 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4672 $as_echo "no" >&6; }
4675 if test "x$ac_ct_CPPBIN" = x; then
4676 CPPBIN="cpp"
4677 else
4678 case $cross_compiling:$ac_tool_warned in
4679 yes:)
4680 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
4681 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
4682 ac_tool_warned=yes ;;
4683 esac
4684 CPPBIN=$ac_ct_CPPBIN
4686 else
4687 CPPBIN="$ac_cv_prog_CPPBIN"
4691 cat >>confdefs.h <<_ACEOF
4692 #define EXEEXT "$ac_exeext"
4693 _ACEOF
4696 case $host in
4697 *-darwin*)
4698 if test "x$enable_win64" = "xyes"
4699 then
4700 CC="$CC -m64"
4701 CXX="$CXX -m64"
4702 host_cpu="x86_64"
4703 notice_platform="64-bit "
4704 TARGETFLAGS="-m64"
4706 else
4707 CC="$CC -m32"
4708 CXX="$CXX -m32"
4709 host_cpu="i386"
4710 notice_platform="32-bit "
4711 TARGETFLAGS="-m32"
4713 enable_win16=${enable_win16:-yes}
4715 with_fontconfig=${with_fontconfig:-no}
4717 x86_64*)
4718 if test "x$enable_win64" != "xyes" -a "$cross_compiling" != "yes"
4719 then
4720 CC="$CC -m32"
4721 CXX="$CXX -m32"
4722 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CC works" >&5
4723 $as_echo_n "checking whether $CC works... " >&6; }
4725 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4726 /* end confdefs.h. */
4729 main ()
4733 return 0;
4735 _ACEOF
4736 if ac_fn_c_try_link "$LINENO"; then :
4737 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
4738 $as_echo "yes" >&6; }
4739 else
4740 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4741 $as_echo "no" >&6; }
4742 as_fn_error $? "Cannot build a 32-bit program, you need to install 32-bit development libraries." "$LINENO" 5
4744 rm -f core conftest.err conftest.$ac_objext \
4745 conftest$ac_exeext conftest.$ac_ext
4746 host_cpu="i386"
4747 notice_platform="32-bit "
4748 TARGETFLAGS="-m32"
4750 enable_win16=${enable_win16:-yes}
4751 else
4752 if test "x${GCC}" = "xyes"
4753 then
4754 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CC supports __builtin_ms_va_list" >&5
4755 $as_echo_n "checking whether $CC supports __builtin_ms_va_list... " >&6; }
4756 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4757 /* end confdefs.h. */
4758 #include <stdarg.h>
4760 main ()
4762 void func(__builtin_ms_va_list *args);
4764 return 0;
4766 _ACEOF
4767 if ac_fn_c_try_compile "$LINENO"; then :
4768 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
4769 $as_echo "yes" >&6; }
4770 else
4771 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4772 $as_echo "no" >&6; }
4773 as_fn_error $? "You need gcc >= 4.4 to build Wine as 64-bit." "$LINENO" 5
4775 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4777 TARGETFLAGS="-m64"
4781 arm*)
4782 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CC supports Thumb" >&5
4783 $as_echo_n "checking whether $CC supports Thumb... " >&6; }
4784 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4785 /* end confdefs.h. */
4786 int ac_test(int i) { return i; }
4788 main ()
4790 asm(".thumb\nblx ac_test\n.arm"); if (ac_test(1)) return 1
4792 return 0;
4794 _ACEOF
4795 if ac_fn_c_try_link "$LINENO"; then :
4796 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
4797 $as_echo "yes" >&6; }
4798 else
4799 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4800 $as_echo "no" >&6; }
4801 as_fn_error $? "You need a target with Thumb support to build Wine for ARM." "$LINENO" 5
4803 rm -f core conftest.err conftest.$ac_objext \
4804 conftest$ac_exeext conftest.$ac_ext
4805 CFLAGS="$CFLAGS -marm"
4806 TARGETFLAGS="-marm"
4809 *-mingw32*|*-cygwin*)
4810 enable_win16=${enable_win16:-no}
4811 CFLAGS="$CFLAGS -D_WIN32"
4813 i[3456789]86*)
4814 enable_win16=${enable_win16:-yes}
4816 esac
4818 enable_win16=${enable_win16:-no}
4819 enable_win64=${enable_win64:-no}
4821 enable_winetest=${enable_winetest:-$enable_tests}
4823 if test -n "$with_wine64"
4824 then
4825 if test "x$enable_win64" = "xyes"
4826 then
4827 as_fn_error $? "--enable-win64 and --with-wine64 are mutually exclusive.
4828 --enable-win64 should be used in the 64-bit build tree, --with-wine64 in the 32-bit Wow64 build tree." "$LINENO" 5
4830 enable_fonts=${enable_fonts:-no}
4831 enable_server=${enable_server:-no}
4832 elif test "x$enable_win64" = "xyes"
4833 then
4834 test "x$libdir" != "x\${exec_prefix}/lib" || libdir="\${exec_prefix}/lib64"
4837 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for the directory containing the Wine tools" >&5
4838 $as_echo_n "checking for the directory containing the Wine tools... " >&6; }
4839 if ${wine_cv_toolsdir+:} false; then :
4840 $as_echo_n "(cached) " >&6
4841 else
4842 wine_cv_toolsdir="$with_wine_tools"
4843 if test -z "$with_wine_tools"; then
4844 if test "$cross_compiling" = "yes"; then
4845 as_fn_error $? "you must use the --with-wine-tools option when cross-compiling." "$LINENO" 5
4846 elif test -n "$with_wine64"; then
4847 wine_cv_toolsdir="$with_wine64"
4850 if test -z "$wine_cv_toolsdir"; then
4851 wine_makedep=tools/makedep
4852 wine_cv_toolsdir="\$(top_builddir)"
4853 elif test -d "$wine_cv_toolsdir/tools/winebuild"; then
4854 wine_makedep=$wine_cv_toolsdir/tools/makedep
4855 case "$wine_cv_toolsdir" in
4856 /*) ;;
4857 *) wine_cv_toolsdir="\$(top_builddir)/$wine_cv_toolsdir" ;;
4858 esac
4859 enable_tools=${enable_tools:-no}
4860 test -f "$wine_makedep" || as_fn_error $? "the Wine tools have not yet been built in $wine_cv_toolsdir" "$LINENO" 5
4861 else
4862 as_fn_error $? "could not find Wine tools in $wine_cv_toolsdir" "$LINENO" 5
4865 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $wine_cv_toolsdir" >&5
4866 $as_echo "$wine_cv_toolsdir" >&6; }
4867 TOOLSDIR=$wine_cv_toolsdir
4869 if test -n "$host_alias" -a "$host_alias" != "$build_alias"
4870 then
4871 TARGETFLAGS="-b $host_alias $TARGETFLAGS"
4875 for ac_prog in flex
4877 # Extract the first word of "$ac_prog", so it can be a program name with args.
4878 set dummy $ac_prog; ac_word=$2
4879 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4880 $as_echo_n "checking for $ac_word... " >&6; }
4881 if ${ac_cv_prog_FLEX+:} false; then :
4882 $as_echo_n "(cached) " >&6
4883 else
4884 if test -n "$FLEX"; then
4885 ac_cv_prog_FLEX="$FLEX" # Let the user override the test.
4886 else
4887 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4888 for as_dir in $PATH
4890 IFS=$as_save_IFS
4891 test -z "$as_dir" && as_dir=.
4892 for ac_exec_ext in '' $ac_executable_extensions; do
4893 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
4894 ac_cv_prog_FLEX="$ac_prog"
4895 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4896 break 2
4898 done
4899 done
4900 IFS=$as_save_IFS
4904 FLEX=$ac_cv_prog_FLEX
4905 if test -n "$FLEX"; then
4906 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $FLEX" >&5
4907 $as_echo "$FLEX" >&6; }
4908 else
4909 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4910 $as_echo "no" >&6; }
4914 test -n "$FLEX" && break
4915 done
4916 test -n "$FLEX" || FLEX="none"
4918 if test "$FLEX" = "none"
4919 then
4920 as_fn_error $? "no suitable flex found. Please install the 'flex' package." "$LINENO" 5
4922 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether flex is recent enough" >&5
4923 $as_echo_n "checking whether flex is recent enough... " >&6; }
4924 cat >conftest.l <<EOF
4925 %top{
4926 #include "prediluvian.h"
4930 if $FLEX -t conftest.l >/dev/null 2>&5
4931 then
4932 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
4933 $as_echo "yes" >&6; }
4934 else
4935 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4936 $as_echo "no" >&6; }
4937 as_fn_error $? "Your flex version is too old. Please install flex version 2.5.33 or newer." "$LINENO" 5
4940 for ac_prog in bison
4942 # Extract the first word of "$ac_prog", so it can be a program name with args.
4943 set dummy $ac_prog; ac_word=$2
4944 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4945 $as_echo_n "checking for $ac_word... " >&6; }
4946 if ${ac_cv_prog_BISON+:} false; then :
4947 $as_echo_n "(cached) " >&6
4948 else
4949 if test -n "$BISON"; then
4950 ac_cv_prog_BISON="$BISON" # Let the user override the test.
4951 else
4952 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4953 for as_dir in $PATH
4955 IFS=$as_save_IFS
4956 test -z "$as_dir" && as_dir=.
4957 for ac_exec_ext in '' $ac_executable_extensions; do
4958 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
4959 ac_cv_prog_BISON="$ac_prog"
4960 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4961 break 2
4963 done
4964 done
4965 IFS=$as_save_IFS
4969 BISON=$ac_cv_prog_BISON
4970 if test -n "$BISON"; then
4971 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $BISON" >&5
4972 $as_echo "$BISON" >&6; }
4973 else
4974 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4975 $as_echo "no" >&6; }
4979 test -n "$BISON" && break
4980 done
4981 test -n "$BISON" || BISON="none"
4983 if test "$BISON" = "none"
4984 then
4985 as_fn_error $? "no suitable bison found. Please install the 'bison' package." "$LINENO" 5
4988 if test -n "$ac_tool_prefix"; then
4989 for ac_prog in ar gar
4991 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
4992 set dummy $ac_tool_prefix$ac_prog; ac_word=$2
4993 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4994 $as_echo_n "checking for $ac_word... " >&6; }
4995 if ${ac_cv_prog_AR+:} false; then :
4996 $as_echo_n "(cached) " >&6
4997 else
4998 if test -n "$AR"; then
4999 ac_cv_prog_AR="$AR" # Let the user override the test.
5000 else
5001 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5002 for as_dir in $PATH
5004 IFS=$as_save_IFS
5005 test -z "$as_dir" && as_dir=.
5006 for ac_exec_ext in '' $ac_executable_extensions; do
5007 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
5008 ac_cv_prog_AR="$ac_tool_prefix$ac_prog"
5009 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5010 break 2
5012 done
5013 done
5014 IFS=$as_save_IFS
5018 AR=$ac_cv_prog_AR
5019 if test -n "$AR"; then
5020 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $AR" >&5
5021 $as_echo "$AR" >&6; }
5022 else
5023 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5024 $as_echo "no" >&6; }
5028 test -n "$AR" && break
5029 done
5031 if test -z "$AR"; then
5032 ac_ct_AR=$AR
5033 for ac_prog in ar gar
5035 # Extract the first word of "$ac_prog", so it can be a program name with args.
5036 set dummy $ac_prog; ac_word=$2
5037 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5038 $as_echo_n "checking for $ac_word... " >&6; }
5039 if ${ac_cv_prog_ac_ct_AR+:} false; then :
5040 $as_echo_n "(cached) " >&6
5041 else
5042 if test -n "$ac_ct_AR"; then
5043 ac_cv_prog_ac_ct_AR="$ac_ct_AR" # Let the user override the test.
5044 else
5045 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5046 for as_dir in $PATH
5048 IFS=$as_save_IFS
5049 test -z "$as_dir" && as_dir=.
5050 for ac_exec_ext in '' $ac_executable_extensions; do
5051 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
5052 ac_cv_prog_ac_ct_AR="$ac_prog"
5053 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5054 break 2
5056 done
5057 done
5058 IFS=$as_save_IFS
5062 ac_ct_AR=$ac_cv_prog_ac_ct_AR
5063 if test -n "$ac_ct_AR"; then
5064 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_AR" >&5
5065 $as_echo "$ac_ct_AR" >&6; }
5066 else
5067 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5068 $as_echo "no" >&6; }
5072 test -n "$ac_ct_AR" && break
5073 done
5075 if test "x$ac_ct_AR" = x; then
5076 AR="ar"
5077 else
5078 case $cross_compiling:$ac_tool_warned in
5079 yes:)
5080 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
5081 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
5082 ac_tool_warned=yes ;;
5083 esac
5084 AR=$ac_ct_AR
5088 if test -n "$ac_tool_prefix"; then
5089 # Extract the first word of "${ac_tool_prefix}strip", so it can be a program name with args.
5090 set dummy ${ac_tool_prefix}strip; ac_word=$2
5091 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5092 $as_echo_n "checking for $ac_word... " >&6; }
5093 if ${ac_cv_prog_STRIP+:} false; then :
5094 $as_echo_n "(cached) " >&6
5095 else
5096 if test -n "$STRIP"; then
5097 ac_cv_prog_STRIP="$STRIP" # Let the user override the test.
5098 else
5099 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5100 for as_dir in $PATH
5102 IFS=$as_save_IFS
5103 test -z "$as_dir" && as_dir=.
5104 for ac_exec_ext in '' $ac_executable_extensions; do
5105 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
5106 ac_cv_prog_STRIP="${ac_tool_prefix}strip"
5107 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5108 break 2
5110 done
5111 done
5112 IFS=$as_save_IFS
5116 STRIP=$ac_cv_prog_STRIP
5117 if test -n "$STRIP"; then
5118 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $STRIP" >&5
5119 $as_echo "$STRIP" >&6; }
5120 else
5121 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5122 $as_echo "no" >&6; }
5127 if test -z "$ac_cv_prog_STRIP"; then
5128 ac_ct_STRIP=$STRIP
5129 # Extract the first word of "strip", so it can be a program name with args.
5130 set dummy strip; ac_word=$2
5131 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5132 $as_echo_n "checking for $ac_word... " >&6; }
5133 if ${ac_cv_prog_ac_ct_STRIP+:} false; then :
5134 $as_echo_n "(cached) " >&6
5135 else
5136 if test -n "$ac_ct_STRIP"; then
5137 ac_cv_prog_ac_ct_STRIP="$ac_ct_STRIP" # Let the user override the test.
5138 else
5139 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5140 for as_dir in $PATH
5142 IFS=$as_save_IFS
5143 test -z "$as_dir" && as_dir=.
5144 for ac_exec_ext in '' $ac_executable_extensions; do
5145 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
5146 ac_cv_prog_ac_ct_STRIP="strip"
5147 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5148 break 2
5150 done
5151 done
5152 IFS=$as_save_IFS
5156 ac_ct_STRIP=$ac_cv_prog_ac_ct_STRIP
5157 if test -n "$ac_ct_STRIP"; then
5158 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_STRIP" >&5
5159 $as_echo "$ac_ct_STRIP" >&6; }
5160 else
5161 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5162 $as_echo "no" >&6; }
5165 if test "x$ac_ct_STRIP" = x; then
5166 STRIP="strip"
5167 else
5168 case $cross_compiling:$ac_tool_warned in
5169 yes:)
5170 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
5171 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
5172 ac_tool_warned=yes ;;
5173 esac
5174 STRIP=$ac_ct_STRIP
5176 else
5177 STRIP="$ac_cv_prog_STRIP"
5180 ARFLAGS=rc
5182 if test -n "$ac_tool_prefix"; then
5183 # Extract the first word of "${ac_tool_prefix}ranlib", so it can be a program name with args.
5184 set dummy ${ac_tool_prefix}ranlib; ac_word=$2
5185 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5186 $as_echo_n "checking for $ac_word... " >&6; }
5187 if ${ac_cv_prog_RANLIB+:} false; then :
5188 $as_echo_n "(cached) " >&6
5189 else
5190 if test -n "$RANLIB"; then
5191 ac_cv_prog_RANLIB="$RANLIB" # Let the user override the test.
5192 else
5193 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5194 for as_dir in $PATH
5196 IFS=$as_save_IFS
5197 test -z "$as_dir" && as_dir=.
5198 for ac_exec_ext in '' $ac_executable_extensions; do
5199 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
5200 ac_cv_prog_RANLIB="${ac_tool_prefix}ranlib"
5201 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5202 break 2
5204 done
5205 done
5206 IFS=$as_save_IFS
5210 RANLIB=$ac_cv_prog_RANLIB
5211 if test -n "$RANLIB"; then
5212 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $RANLIB" >&5
5213 $as_echo "$RANLIB" >&6; }
5214 else
5215 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5216 $as_echo "no" >&6; }
5221 if test -z "$ac_cv_prog_RANLIB"; then
5222 ac_ct_RANLIB=$RANLIB
5223 # Extract the first word of "ranlib", so it can be a program name with args.
5224 set dummy ranlib; ac_word=$2
5225 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5226 $as_echo_n "checking for $ac_word... " >&6; }
5227 if ${ac_cv_prog_ac_ct_RANLIB+:} false; then :
5228 $as_echo_n "(cached) " >&6
5229 else
5230 if test -n "$ac_ct_RANLIB"; then
5231 ac_cv_prog_ac_ct_RANLIB="$ac_ct_RANLIB" # Let the user override the test.
5232 else
5233 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5234 for as_dir in $PATH
5236 IFS=$as_save_IFS
5237 test -z "$as_dir" && as_dir=.
5238 for ac_exec_ext in '' $ac_executable_extensions; do
5239 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
5240 ac_cv_prog_ac_ct_RANLIB="ranlib"
5241 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5242 break 2
5244 done
5245 done
5246 IFS=$as_save_IFS
5250 ac_ct_RANLIB=$ac_cv_prog_ac_ct_RANLIB
5251 if test -n "$ac_ct_RANLIB"; then
5252 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_RANLIB" >&5
5253 $as_echo "$ac_ct_RANLIB" >&6; }
5254 else
5255 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5256 $as_echo "no" >&6; }
5259 if test "x$ac_ct_RANLIB" = x; then
5260 RANLIB=":"
5261 else
5262 case $cross_compiling:$ac_tool_warned in
5263 yes:)
5264 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
5265 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
5266 ac_tool_warned=yes ;;
5267 esac
5268 RANLIB=$ac_ct_RANLIB
5270 else
5271 RANLIB="$ac_cv_prog_RANLIB"
5274 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ln -s works" >&5
5275 $as_echo_n "checking whether ln -s works... " >&6; }
5276 LN_S=$as_ln_s
5277 if test "$LN_S" = "ln -s"; then
5278 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
5279 $as_echo "yes" >&6; }
5280 else
5281 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no, using $LN_S" >&5
5282 $as_echo "no, using $LN_S" >&6; }
5285 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for grep that handles long lines and -e" >&5
5286 $as_echo_n "checking for grep that handles long lines and -e... " >&6; }
5287 if ${ac_cv_path_GREP+:} false; then :
5288 $as_echo_n "(cached) " >&6
5289 else
5290 if test -z "$GREP"; then
5291 ac_path_GREP_found=false
5292 # Loop through the user's path and test for each of PROGNAME-LIST
5293 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5294 for as_dir in $PATH$PATH_SEPARATOR/usr/xpg4/bin
5296 IFS=$as_save_IFS
5297 test -z "$as_dir" && as_dir=.
5298 for ac_prog in grep ggrep; do
5299 for ac_exec_ext in '' $ac_executable_extensions; do
5300 ac_path_GREP="$as_dir/$ac_prog$ac_exec_ext"
5301 as_fn_executable_p "$ac_path_GREP" || continue
5302 # Check for GNU ac_path_GREP and select it if it is found.
5303 # Check for GNU $ac_path_GREP
5304 case `"$ac_path_GREP" --version 2>&1` in
5305 *GNU*)
5306 ac_cv_path_GREP="$ac_path_GREP" ac_path_GREP_found=:;;
5308 ac_count=0
5309 $as_echo_n 0123456789 >"conftest.in"
5310 while :
5312 cat "conftest.in" "conftest.in" >"conftest.tmp"
5313 mv "conftest.tmp" "conftest.in"
5314 cp "conftest.in" "conftest.nl"
5315 $as_echo 'GREP' >> "conftest.nl"
5316 "$ac_path_GREP" -e 'GREP$' -e '-(cannot match)-' < "conftest.nl" >"conftest.out" 2>/dev/null || break
5317 diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break
5318 as_fn_arith $ac_count + 1 && ac_count=$as_val
5319 if test $ac_count -gt ${ac_path_GREP_max-0}; then
5320 # Best one so far, save it but keep looking for a better one
5321 ac_cv_path_GREP="$ac_path_GREP"
5322 ac_path_GREP_max=$ac_count
5324 # 10*(2^10) chars as input seems more than enough
5325 test $ac_count -gt 10 && break
5326 done
5327 rm -f conftest.in conftest.tmp conftest.nl conftest.out;;
5328 esac
5330 $ac_path_GREP_found && break 3
5331 done
5332 done
5333 done
5334 IFS=$as_save_IFS
5335 if test -z "$ac_cv_path_GREP"; then
5336 as_fn_error $? "no acceptable grep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" "$LINENO" 5
5338 else
5339 ac_cv_path_GREP=$GREP
5343 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_GREP" >&5
5344 $as_echo "$ac_cv_path_GREP" >&6; }
5345 GREP="$ac_cv_path_GREP"
5348 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for egrep" >&5
5349 $as_echo_n "checking for egrep... " >&6; }
5350 if ${ac_cv_path_EGREP+:} false; then :
5351 $as_echo_n "(cached) " >&6
5352 else
5353 if echo a | $GREP -E '(a|b)' >/dev/null 2>&1
5354 then ac_cv_path_EGREP="$GREP -E"
5355 else
5356 if test -z "$EGREP"; then
5357 ac_path_EGREP_found=false
5358 # Loop through the user's path and test for each of PROGNAME-LIST
5359 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5360 for as_dir in $PATH$PATH_SEPARATOR/usr/xpg4/bin
5362 IFS=$as_save_IFS
5363 test -z "$as_dir" && as_dir=.
5364 for ac_prog in egrep; do
5365 for ac_exec_ext in '' $ac_executable_extensions; do
5366 ac_path_EGREP="$as_dir/$ac_prog$ac_exec_ext"
5367 as_fn_executable_p "$ac_path_EGREP" || continue
5368 # Check for GNU ac_path_EGREP and select it if it is found.
5369 # Check for GNU $ac_path_EGREP
5370 case `"$ac_path_EGREP" --version 2>&1` in
5371 *GNU*)
5372 ac_cv_path_EGREP="$ac_path_EGREP" ac_path_EGREP_found=:;;
5374 ac_count=0
5375 $as_echo_n 0123456789 >"conftest.in"
5376 while :
5378 cat "conftest.in" "conftest.in" >"conftest.tmp"
5379 mv "conftest.tmp" "conftest.in"
5380 cp "conftest.in" "conftest.nl"
5381 $as_echo 'EGREP' >> "conftest.nl"
5382 "$ac_path_EGREP" 'EGREP$' < "conftest.nl" >"conftest.out" 2>/dev/null || break
5383 diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break
5384 as_fn_arith $ac_count + 1 && ac_count=$as_val
5385 if test $ac_count -gt ${ac_path_EGREP_max-0}; then
5386 # Best one so far, save it but keep looking for a better one
5387 ac_cv_path_EGREP="$ac_path_EGREP"
5388 ac_path_EGREP_max=$ac_count
5390 # 10*(2^10) chars as input seems more than enough
5391 test $ac_count -gt 10 && break
5392 done
5393 rm -f conftest.in conftest.tmp conftest.nl conftest.out;;
5394 esac
5396 $ac_path_EGREP_found && break 3
5397 done
5398 done
5399 done
5400 IFS=$as_save_IFS
5401 if test -z "$ac_cv_path_EGREP"; then
5402 as_fn_error $? "no acceptable egrep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" "$LINENO" 5
5404 else
5405 ac_cv_path_EGREP=$EGREP
5410 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_EGREP" >&5
5411 $as_echo "$ac_cv_path_EGREP" >&6; }
5412 EGREP="$ac_cv_path_EGREP"
5415 # Extract the first word of "ldconfig", so it can be a program name with args.
5416 set dummy ldconfig; ac_word=$2
5417 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5418 $as_echo_n "checking for $ac_word... " >&6; }
5419 if ${ac_cv_path_LDCONFIG+:} false; then :
5420 $as_echo_n "(cached) " >&6
5421 else
5422 case $LDCONFIG in
5423 [\\/]* | ?:[\\/]*)
5424 ac_cv_path_LDCONFIG="$LDCONFIG" # Let the user override the test with a path.
5427 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5428 for as_dir in /sbin /usr/sbin $PATH
5430 IFS=$as_save_IFS
5431 test -z "$as_dir" && as_dir=.
5432 for ac_exec_ext in '' $ac_executable_extensions; do
5433 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
5434 ac_cv_path_LDCONFIG="$as_dir/$ac_word$ac_exec_ext"
5435 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5436 break 2
5438 done
5439 done
5440 IFS=$as_save_IFS
5442 test -z "$ac_cv_path_LDCONFIG" && ac_cv_path_LDCONFIG="true"
5444 esac
5446 LDCONFIG=$ac_cv_path_LDCONFIG
5447 if test -n "$LDCONFIG"; then
5448 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $LDCONFIG" >&5
5449 $as_echo "$LDCONFIG" >&6; }
5450 else
5451 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5452 $as_echo "no" >&6; }
5456 for ac_prog in msgfmt
5458 # Extract the first word of "$ac_prog", so it can be a program name with args.
5459 set dummy $ac_prog; ac_word=$2
5460 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5461 $as_echo_n "checking for $ac_word... " >&6; }
5462 if ${ac_cv_prog_MSGFMT+:} false; then :
5463 $as_echo_n "(cached) " >&6
5464 else
5465 if test -n "$MSGFMT"; then
5466 ac_cv_prog_MSGFMT="$MSGFMT" # Let the user override the test.
5467 else
5468 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5469 for as_dir in $PATH
5471 IFS=$as_save_IFS
5472 test -z "$as_dir" && as_dir=.
5473 for ac_exec_ext in '' $ac_executable_extensions; do
5474 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
5475 ac_cv_prog_MSGFMT="$ac_prog"
5476 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5477 break 2
5479 done
5480 done
5481 IFS=$as_save_IFS
5485 MSGFMT=$ac_cv_prog_MSGFMT
5486 if test -n "$MSGFMT"; then
5487 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $MSGFMT" >&5
5488 $as_echo "$MSGFMT" >&6; }
5489 else
5490 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5491 $as_echo "no" >&6; }
5495 test -n "$MSGFMT" && break
5496 done
5497 test -n "$MSGFMT" || MSGFMT="false"
5499 if ${ac_tool_prefix+:} false; then :
5500 # Extract the first word of "${ac_tool_prefix}pkg-config", so it can be a program name with args.
5501 set dummy ${ac_tool_prefix}pkg-config; ac_word=$2
5502 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5503 $as_echo_n "checking for $ac_word... " >&6; }
5504 if ${ac_cv_prog_PKG_CONFIG+:} false; then :
5505 $as_echo_n "(cached) " >&6
5506 else
5507 if test -n "$PKG_CONFIG"; then
5508 ac_cv_prog_PKG_CONFIG="$PKG_CONFIG" # Let the user override the test.
5509 else
5510 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5511 for as_dir in $PATH
5513 IFS=$as_save_IFS
5514 test -z "$as_dir" && as_dir=.
5515 for ac_exec_ext in '' $ac_executable_extensions; do
5516 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
5517 ac_cv_prog_PKG_CONFIG="${ac_tool_prefix}pkg-config"
5518 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5519 break 2
5521 done
5522 done
5523 IFS=$as_save_IFS
5527 PKG_CONFIG=$ac_cv_prog_PKG_CONFIG
5528 if test -n "$PKG_CONFIG"; then
5529 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $PKG_CONFIG" >&5
5530 $as_echo "$PKG_CONFIG" >&6; }
5531 else
5532 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5533 $as_echo "no" >&6; }
5538 if ${ac_cv_prog_PKG_CONFIG:+false} :; then :
5539 if test "x$cross_compiling" = xyes; then :
5541 else
5542 { ac_cv_prog_PKG_CONFIG=; unset ac_cv_prog_PKG_CONFIG;}
5543 # Extract the first word of "pkg-config", so it can be a program name with args.
5544 set dummy pkg-config; ac_word=$2
5545 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5546 $as_echo_n "checking for $ac_word... " >&6; }
5547 if ${ac_cv_prog_PKG_CONFIG+:} false; then :
5548 $as_echo_n "(cached) " >&6
5549 else
5550 if test -n "$PKG_CONFIG"; then
5551 ac_cv_prog_PKG_CONFIG="$PKG_CONFIG" # Let the user override the test.
5552 else
5553 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5554 for as_dir in $PATH
5556 IFS=$as_save_IFS
5557 test -z "$as_dir" && as_dir=.
5558 for ac_exec_ext in '' $ac_executable_extensions; do
5559 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
5560 ac_cv_prog_PKG_CONFIG="pkg-config"
5561 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5562 break 2
5564 done
5565 done
5566 IFS=$as_save_IFS
5570 PKG_CONFIG=$ac_cv_prog_PKG_CONFIG
5571 if test -n "$PKG_CONFIG"; then
5572 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $PKG_CONFIG" >&5
5573 $as_echo "$PKG_CONFIG" >&6; }
5574 else
5575 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5576 $as_echo "no" >&6; }
5581 else
5582 PKG_CONFIG=$ac_cv_prog_PKG_CONFIG
5585 if test "x$enable_maintainer_mode" != "xyes"
5586 then
5587 FONTFORGE=""
5588 RSVG=""
5589 CONVERT=""
5590 ICOTOOL=""
5591 else
5592 test "$srcdir" = . || as_fn_error $? "Maintainer mode cannot work out of tree." "$LINENO" 5
5593 for ac_prog in fontforge
5595 # Extract the first word of "$ac_prog", so it can be a program name with args.
5596 set dummy $ac_prog; ac_word=$2
5597 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5598 $as_echo_n "checking for $ac_word... " >&6; }
5599 if ${ac_cv_prog_FONTFORGE+:} false; then :
5600 $as_echo_n "(cached) " >&6
5601 else
5602 if test -n "$FONTFORGE"; then
5603 ac_cv_prog_FONTFORGE="$FONTFORGE" # Let the user override the test.
5604 else
5605 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5606 for as_dir in $PATH
5608 IFS=$as_save_IFS
5609 test -z "$as_dir" && as_dir=.
5610 for ac_exec_ext in '' $ac_executable_extensions; do
5611 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
5612 ac_cv_prog_FONTFORGE="$ac_prog"
5613 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5614 break 2
5616 done
5617 done
5618 IFS=$as_save_IFS
5622 FONTFORGE=$ac_cv_prog_FONTFORGE
5623 if test -n "$FONTFORGE"; then
5624 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $FONTFORGE" >&5
5625 $as_echo "$FONTFORGE" >&6; }
5626 else
5627 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5628 $as_echo "no" >&6; }
5632 test -n "$FONTFORGE" && break
5633 done
5634 test -n "$FONTFORGE" || FONTFORGE="false"
5636 for ac_prog in rsvg
5638 # Extract the first word of "$ac_prog", so it can be a program name with args.
5639 set dummy $ac_prog; ac_word=$2
5640 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5641 $as_echo_n "checking for $ac_word... " >&6; }
5642 if ${ac_cv_prog_RSVG+:} false; then :
5643 $as_echo_n "(cached) " >&6
5644 else
5645 if test -n "$RSVG"; then
5646 ac_cv_prog_RSVG="$RSVG" # Let the user override the test.
5647 else
5648 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5649 for as_dir in $PATH
5651 IFS=$as_save_IFS
5652 test -z "$as_dir" && as_dir=.
5653 for ac_exec_ext in '' $ac_executable_extensions; do
5654 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
5655 ac_cv_prog_RSVG="$ac_prog"
5656 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5657 break 2
5659 done
5660 done
5661 IFS=$as_save_IFS
5665 RSVG=$ac_cv_prog_RSVG
5666 if test -n "$RSVG"; then
5667 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $RSVG" >&5
5668 $as_echo "$RSVG" >&6; }
5669 else
5670 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5671 $as_echo "no" >&6; }
5675 test -n "$RSVG" && break
5676 done
5677 test -n "$RSVG" || RSVG="false"
5679 for ac_prog in convert
5681 # Extract the first word of "$ac_prog", so it can be a program name with args.
5682 set dummy $ac_prog; ac_word=$2
5683 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5684 $as_echo_n "checking for $ac_word... " >&6; }
5685 if ${ac_cv_prog_CONVERT+:} false; then :
5686 $as_echo_n "(cached) " >&6
5687 else
5688 if test -n "$CONVERT"; then
5689 ac_cv_prog_CONVERT="$CONVERT" # Let the user override the test.
5690 else
5691 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5692 for as_dir in $PATH
5694 IFS=$as_save_IFS
5695 test -z "$as_dir" && as_dir=.
5696 for ac_exec_ext in '' $ac_executable_extensions; do
5697 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
5698 ac_cv_prog_CONVERT="$ac_prog"
5699 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5700 break 2
5702 done
5703 done
5704 IFS=$as_save_IFS
5708 CONVERT=$ac_cv_prog_CONVERT
5709 if test -n "$CONVERT"; then
5710 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CONVERT" >&5
5711 $as_echo "$CONVERT" >&6; }
5712 else
5713 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5714 $as_echo "no" >&6; }
5718 test -n "$CONVERT" && break
5719 done
5720 test -n "$CONVERT" || CONVERT="false"
5722 for ac_prog in icotool
5724 # Extract the first word of "$ac_prog", so it can be a program name with args.
5725 set dummy $ac_prog; ac_word=$2
5726 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5727 $as_echo_n "checking for $ac_word... " >&6; }
5728 if ${ac_cv_prog_ICOTOOL+:} false; then :
5729 $as_echo_n "(cached) " >&6
5730 else
5731 if test -n "$ICOTOOL"; then
5732 ac_cv_prog_ICOTOOL="$ICOTOOL" # Let the user override the test.
5733 else
5734 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5735 for as_dir in $PATH
5737 IFS=$as_save_IFS
5738 test -z "$as_dir" && as_dir=.
5739 for ac_exec_ext in '' $ac_executable_extensions; do
5740 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
5741 ac_cv_prog_ICOTOOL="$ac_prog"
5742 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5743 break 2
5745 done
5746 done
5747 IFS=$as_save_IFS
5751 ICOTOOL=$ac_cv_prog_ICOTOOL
5752 if test -n "$ICOTOOL"; then
5753 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ICOTOOL" >&5
5754 $as_echo "$ICOTOOL" >&6; }
5755 else
5756 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5757 $as_echo "no" >&6; }
5761 test -n "$ICOTOOL" && break
5762 done
5763 test -n "$ICOTOOL" || ICOTOOL="false"
5765 test "$FONTFORGE" != "false" || as_fn_error $? "You need fontforge to rebuild fonts in maintainer mode." "$LINENO" 5
5766 test "$RSVG" != "false" || as_fn_error $? "You need rsvg to rebuild icons in maintainer mode." "$LINENO" 5
5768 if test "$CONVERT" = false
5769 then
5770 as_fn_error $? "You need imagemagick to rebuild icons in maintainer mode." "$LINENO" 5
5771 else
5772 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for recent enough imagemagick" >&5
5773 $as_echo_n "checking for recent enough imagemagick... " >&6; }
5774 convert_version=`convert --version | head -n1`
5775 if test "x$convert_version" != "x"
5776 then
5777 convert_version_major=`expr "$convert_version" : '.* \([0-9]*\)\.[0-9]*'`
5778 convert_version_minor=`expr "$convert_version" : '.* [0-9]*\.\([0-9]*\)'`
5779 if test "$convert_version_major" -eq 6 -a "$convert_version_minor" -lt 6
5780 then
5781 CONVERT=false
5784 if test "$CONVERT" = false
5785 then
5786 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no ($convert_version_major.$convert_version_minor)" >&5
5787 $as_echo "no ($convert_version_major.$convert_version_minor)" >&6; }
5788 as_fn_error $? "You need imagemagick version 6.6 or newer to rebuild icons in maintainer mode." "$LINENO" 5
5789 else
5790 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes ($convert_version_major.$convert_version_minor)" >&5
5791 $as_echo "yes ($convert_version_major.$convert_version_minor)" >&6; }
5795 if test "$ICOTOOL" = false
5796 then
5797 as_fn_error $? "You need icotool to rebuild icons in maintainer mode." "$LINENO" 5
5798 else
5799 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for recent enough icotool" >&5
5800 $as_echo_n "checking for recent enough icotool... " >&6; }
5801 icotool_version=`icotool --version | head -n1`
5802 if test "x$icotool_version" != "x"
5803 then
5804 icotool_version_major=`expr "$icotool_version" : '.* \([0-9]*\)\.[0-9]*'`
5805 icotool_version_minor=`expr "$icotool_version" : '.* [0-9]*\.\([0-9]*\)'`
5806 if test "$icotool_version_major" -eq 0 -a "$icotool_version_minor" -lt 29
5807 then
5808 ICOTOOL=false
5809 as_fn_append wine_warnings "|icotool version 0.29.0 or newer is needed to rebuild icons."
5812 if test "$ICOTOOL" = false
5813 then
5814 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no ($icotool_version_major.$icotool_version_minor)" >&5
5815 $as_echo "no ($icotool_version_major.$icotool_version_minor)" >&6; }
5816 as_fn_error $? "You need icotool version 0.29.0 or newer to rebuild icons in maintainer mode." "$LINENO" 5
5817 else
5818 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes ($icotool_version_major.$icotool_version_minor)" >&5
5819 $as_echo "yes ($icotool_version_major.$icotool_version_minor)" >&6; }
5823 with_gettext=yes
5824 with_gettextpo=yes
5825 { ac_cv_header_gettext_po_h=; unset ac_cv_header_gettext_po_h;}
5828 test "x$with_gettext" != xno || MSGFMT=false
5829 if test "$MSGFMT" != "false"
5830 then
5831 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether msgfmt supports contexts" >&5
5832 $as_echo_n "checking whether msgfmt supports contexts... " >&6; }
5833 cat >conftest.po <<EOF
5834 # comment
5835 msgctxt "ctxt"
5836 msgid "id"
5837 msgstr "str"
5839 if $MSGFMT -o /dev/null conftest.po 2>&5
5840 then
5841 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
5842 $as_echo "yes" >&6; }
5843 else
5844 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5845 $as_echo "no" >&6; }
5846 MSGFMT=false
5849 if test "$MSGFMT" = false; then :
5850 case "x$with_gettext" in
5851 x) as_fn_append wine_warnings "|gettext tools not found (or too old), translations won't be built." ;;
5852 xno) ;;
5853 *) as_fn_error $? "gettext tools not found (or too old), translations won't be built.
5854 This is an error since --with-gettext was requested." "$LINENO" 5 ;;
5855 esac
5859 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for i386_set_ldt in -li386" >&5
5860 $as_echo_n "checking for i386_set_ldt in -li386... " >&6; }
5861 if ${ac_cv_lib_i386_i386_set_ldt+:} false; then :
5862 $as_echo_n "(cached) " >&6
5863 else
5864 ac_check_lib_save_LIBS=$LIBS
5865 LIBS="-li386 $LIBS"
5866 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
5867 /* end confdefs.h. */
5869 /* Override any GCC internal prototype to avoid an error.
5870 Use char because int might match the return type of a GCC
5871 builtin and then its argument prototype would still apply. */
5872 #ifdef __cplusplus
5873 extern "C"
5874 #endif
5875 char i386_set_ldt ();
5877 main ()
5879 return i386_set_ldt ();
5881 return 0;
5883 _ACEOF
5884 if ac_fn_c_try_link "$LINENO"; then :
5885 ac_cv_lib_i386_i386_set_ldt=yes
5886 else
5887 ac_cv_lib_i386_i386_set_ldt=no
5889 rm -f core conftest.err conftest.$ac_objext \
5890 conftest$ac_exeext conftest.$ac_ext
5891 LIBS=$ac_check_lib_save_LIBS
5893 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_i386_i386_set_ldt" >&5
5894 $as_echo "$ac_cv_lib_i386_i386_set_ldt" >&6; }
5895 if test "x$ac_cv_lib_i386_i386_set_ldt" = xyes; then :
5896 cat >>confdefs.h <<_ACEOF
5897 #define HAVE_LIBI386 1
5898 _ACEOF
5900 LIBS="-li386 $LIBS"
5904 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _oss_ioctl in -lossaudio" >&5
5905 $as_echo_n "checking for _oss_ioctl in -lossaudio... " >&6; }
5906 if ${ac_cv_lib_ossaudio__oss_ioctl+:} false; then :
5907 $as_echo_n "(cached) " >&6
5908 else
5909 ac_check_lib_save_LIBS=$LIBS
5910 LIBS="-lossaudio $LIBS"
5911 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
5912 /* end confdefs.h. */
5914 /* Override any GCC internal prototype to avoid an error.
5915 Use char because int might match the return type of a GCC
5916 builtin and then its argument prototype would still apply. */
5917 #ifdef __cplusplus
5918 extern "C"
5919 #endif
5920 char _oss_ioctl ();
5922 main ()
5924 return _oss_ioctl ();
5926 return 0;
5928 _ACEOF
5929 if ac_fn_c_try_link "$LINENO"; then :
5930 ac_cv_lib_ossaudio__oss_ioctl=yes
5931 else
5932 ac_cv_lib_ossaudio__oss_ioctl=no
5934 rm -f core conftest.err conftest.$ac_objext \
5935 conftest$ac_exeext conftest.$ac_ext
5936 LIBS=$ac_check_lib_save_LIBS
5938 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_ossaudio__oss_ioctl" >&5
5939 $as_echo "$ac_cv_lib_ossaudio__oss_ioctl" >&6; }
5940 if test "x$ac_cv_lib_ossaudio__oss_ioctl" = xyes; then :
5941 cat >>confdefs.h <<_ACEOF
5942 #define HAVE_LIBOSSAUDIO 1
5943 _ACEOF
5945 LIBS="-lossaudio $LIBS"
5950 OPENGL_LIBS=""
5954 # Check whether --enable-largefile was given.
5955 if test "${enable_largefile+set}" = set; then :
5956 enableval=$enable_largefile;
5959 if test "$enable_largefile" != no; then
5961 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for special C compiler options needed for large files" >&5
5962 $as_echo_n "checking for special C compiler options needed for large files... " >&6; }
5963 if ${ac_cv_sys_largefile_CC+:} false; then :
5964 $as_echo_n "(cached) " >&6
5965 else
5966 ac_cv_sys_largefile_CC=no
5967 if test "$GCC" != yes; then
5968 ac_save_CC=$CC
5969 while :; do
5970 # IRIX 6.2 and later do not support large files by default,
5971 # so use the C compiler's -n32 option if that helps.
5972 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
5973 /* end confdefs.h. */
5974 #include <sys/types.h>
5975 /* Check that off_t can represent 2**63 - 1 correctly.
5976 We can't simply define LARGE_OFF_T to be 9223372036854775807,
5977 since some C++ compilers masquerading as C compilers
5978 incorrectly reject 9223372036854775807. */
5979 #define LARGE_OFF_T (((off_t) 1 << 62) - 1 + ((off_t) 1 << 62))
5980 int off_t_is_large[(LARGE_OFF_T % 2147483629 == 721
5981 && LARGE_OFF_T % 2147483647 == 1)
5982 ? 1 : -1];
5984 main ()
5988 return 0;
5990 _ACEOF
5991 if ac_fn_c_try_compile "$LINENO"; then :
5992 break
5994 rm -f core conftest.err conftest.$ac_objext
5995 CC="$CC -n32"
5996 if ac_fn_c_try_compile "$LINENO"; then :
5997 ac_cv_sys_largefile_CC=' -n32'; break
5999 rm -f core conftest.err conftest.$ac_objext
6000 break
6001 done
6002 CC=$ac_save_CC
6003 rm -f conftest.$ac_ext
6006 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_sys_largefile_CC" >&5
6007 $as_echo "$ac_cv_sys_largefile_CC" >&6; }
6008 if test "$ac_cv_sys_largefile_CC" != no; then
6009 CC=$CC$ac_cv_sys_largefile_CC
6012 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _FILE_OFFSET_BITS value needed for large files" >&5
6013 $as_echo_n "checking for _FILE_OFFSET_BITS value needed for large files... " >&6; }
6014 if ${ac_cv_sys_file_offset_bits+:} false; then :
6015 $as_echo_n "(cached) " >&6
6016 else
6017 while :; do
6018 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
6019 /* end confdefs.h. */
6020 #include <sys/types.h>
6021 /* Check that off_t can represent 2**63 - 1 correctly.
6022 We can't simply define LARGE_OFF_T to be 9223372036854775807,
6023 since some C++ compilers masquerading as C compilers
6024 incorrectly reject 9223372036854775807. */
6025 #define LARGE_OFF_T (((off_t) 1 << 62) - 1 + ((off_t) 1 << 62))
6026 int off_t_is_large[(LARGE_OFF_T % 2147483629 == 721
6027 && LARGE_OFF_T % 2147483647 == 1)
6028 ? 1 : -1];
6030 main ()
6034 return 0;
6036 _ACEOF
6037 if ac_fn_c_try_compile "$LINENO"; then :
6038 ac_cv_sys_file_offset_bits=no; break
6040 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
6041 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
6042 /* end confdefs.h. */
6043 #define _FILE_OFFSET_BITS 64
6044 #include <sys/types.h>
6045 /* Check that off_t can represent 2**63 - 1 correctly.
6046 We can't simply define LARGE_OFF_T to be 9223372036854775807,
6047 since some C++ compilers masquerading as C compilers
6048 incorrectly reject 9223372036854775807. */
6049 #define LARGE_OFF_T (((off_t) 1 << 62) - 1 + ((off_t) 1 << 62))
6050 int off_t_is_large[(LARGE_OFF_T % 2147483629 == 721
6051 && LARGE_OFF_T % 2147483647 == 1)
6052 ? 1 : -1];
6054 main ()
6058 return 0;
6060 _ACEOF
6061 if ac_fn_c_try_compile "$LINENO"; then :
6062 ac_cv_sys_file_offset_bits=64; break
6064 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
6065 ac_cv_sys_file_offset_bits=unknown
6066 break
6067 done
6069 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_sys_file_offset_bits" >&5
6070 $as_echo "$ac_cv_sys_file_offset_bits" >&6; }
6071 case $ac_cv_sys_file_offset_bits in #(
6072 no | unknown) ;;
6074 cat >>confdefs.h <<_ACEOF
6075 #define _FILE_OFFSET_BITS $ac_cv_sys_file_offset_bits
6076 _ACEOF
6078 esac
6079 rm -rf conftest*
6080 if test $ac_cv_sys_file_offset_bits = unknown; then
6081 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _LARGE_FILES value needed for large files" >&5
6082 $as_echo_n "checking for _LARGE_FILES value needed for large files... " >&6; }
6083 if ${ac_cv_sys_large_files+:} false; then :
6084 $as_echo_n "(cached) " >&6
6085 else
6086 while :; do
6087 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
6088 /* end confdefs.h. */
6089 #include <sys/types.h>
6090 /* Check that off_t can represent 2**63 - 1 correctly.
6091 We can't simply define LARGE_OFF_T to be 9223372036854775807,
6092 since some C++ compilers masquerading as C compilers
6093 incorrectly reject 9223372036854775807. */
6094 #define LARGE_OFF_T (((off_t) 1 << 62) - 1 + ((off_t) 1 << 62))
6095 int off_t_is_large[(LARGE_OFF_T % 2147483629 == 721
6096 && LARGE_OFF_T % 2147483647 == 1)
6097 ? 1 : -1];
6099 main ()
6103 return 0;
6105 _ACEOF
6106 if ac_fn_c_try_compile "$LINENO"; then :
6107 ac_cv_sys_large_files=no; break
6109 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
6110 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
6111 /* end confdefs.h. */
6112 #define _LARGE_FILES 1
6113 #include <sys/types.h>
6114 /* Check that off_t can represent 2**63 - 1 correctly.
6115 We can't simply define LARGE_OFF_T to be 9223372036854775807,
6116 since some C++ compilers masquerading as C compilers
6117 incorrectly reject 9223372036854775807. */
6118 #define LARGE_OFF_T (((off_t) 1 << 62) - 1 + ((off_t) 1 << 62))
6119 int off_t_is_large[(LARGE_OFF_T % 2147483629 == 721
6120 && LARGE_OFF_T % 2147483647 == 1)
6121 ? 1 : -1];
6123 main ()
6127 return 0;
6129 _ACEOF
6130 if ac_fn_c_try_compile "$LINENO"; then :
6131 ac_cv_sys_large_files=1; break
6133 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
6134 ac_cv_sys_large_files=unknown
6135 break
6136 done
6138 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_sys_large_files" >&5
6139 $as_echo "$ac_cv_sys_large_files" >&6; }
6140 case $ac_cv_sys_large_files in #(
6141 no | unknown) ;;
6143 cat >>confdefs.h <<_ACEOF
6144 #define _LARGE_FILES $ac_cv_sys_large_files
6145 _ACEOF
6147 esac
6148 rm -rf conftest*
6155 ac_ext=c
6156 ac_cpp='$CPP $CPPFLAGS'
6157 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
6158 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
6159 ac_compiler_gnu=$ac_cv_c_compiler_gnu
6160 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to run the C preprocessor" >&5
6161 $as_echo_n "checking how to run the C preprocessor... " >&6; }
6162 # On Suns, sometimes $CPP names a directory.
6163 if test -n "$CPP" && test -d "$CPP"; then
6164 CPP=
6166 if test -z "$CPP"; then
6167 if ${ac_cv_prog_CPP+:} false; then :
6168 $as_echo_n "(cached) " >&6
6169 else
6170 # Double quotes because CPP needs to be expanded
6171 for CPP in "$CC -E" "$CC -E -traditional-cpp" "/lib/cpp"
6173 ac_preproc_ok=false
6174 for ac_c_preproc_warn_flag in '' yes
6176 # Use a header file that comes with gcc, so configuring glibc
6177 # with a fresh cross-compiler works.
6178 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
6179 # <limits.h> exists even on freestanding compilers.
6180 # On the NeXT, cc -E runs the code through the compiler's parser,
6181 # not just through cpp. "Syntax error" is here to catch this case.
6182 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
6183 /* end confdefs.h. */
6184 #ifdef __STDC__
6185 # include <limits.h>
6186 #else
6187 # include <assert.h>
6188 #endif
6189 Syntax error
6190 _ACEOF
6191 if ac_fn_c_try_cpp "$LINENO"; then :
6193 else
6194 # Broken: fails on valid input.
6195 continue
6197 rm -f conftest.err conftest.i conftest.$ac_ext
6199 # OK, works on sane cases. Now check whether nonexistent headers
6200 # can be detected and how.
6201 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
6202 /* end confdefs.h. */
6203 #include <ac_nonexistent.h>
6204 _ACEOF
6205 if ac_fn_c_try_cpp "$LINENO"; then :
6206 # Broken: success on invalid input.
6207 continue
6208 else
6209 # Passes both tests.
6210 ac_preproc_ok=:
6211 break
6213 rm -f conftest.err conftest.i conftest.$ac_ext
6215 done
6216 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
6217 rm -f conftest.i conftest.err conftest.$ac_ext
6218 if $ac_preproc_ok; then :
6219 break
6222 done
6223 ac_cv_prog_CPP=$CPP
6226 CPP=$ac_cv_prog_CPP
6227 else
6228 ac_cv_prog_CPP=$CPP
6230 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CPP" >&5
6231 $as_echo "$CPP" >&6; }
6232 ac_preproc_ok=false
6233 for ac_c_preproc_warn_flag in '' yes
6235 # Use a header file that comes with gcc, so configuring glibc
6236 # with a fresh cross-compiler works.
6237 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
6238 # <limits.h> exists even on freestanding compilers.
6239 # On the NeXT, cc -E runs the code through the compiler's parser,
6240 # not just through cpp. "Syntax error" is here to catch this case.
6241 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
6242 /* end confdefs.h. */
6243 #ifdef __STDC__
6244 # include <limits.h>
6245 #else
6246 # include <assert.h>
6247 #endif
6248 Syntax error
6249 _ACEOF
6250 if ac_fn_c_try_cpp "$LINENO"; then :
6252 else
6253 # Broken: fails on valid input.
6254 continue
6256 rm -f conftest.err conftest.i conftest.$ac_ext
6258 # OK, works on sane cases. Now check whether nonexistent headers
6259 # can be detected and how.
6260 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
6261 /* end confdefs.h. */
6262 #include <ac_nonexistent.h>
6263 _ACEOF
6264 if ac_fn_c_try_cpp "$LINENO"; then :
6265 # Broken: success on invalid input.
6266 continue
6267 else
6268 # Passes both tests.
6269 ac_preproc_ok=:
6270 break
6272 rm -f conftest.err conftest.i conftest.$ac_ext
6274 done
6275 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
6276 rm -f conftest.i conftest.err conftest.$ac_ext
6277 if $ac_preproc_ok; then :
6279 else
6280 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
6281 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
6282 as_fn_error $? "C preprocessor \"$CPP\" fails sanity check
6283 See \`config.log' for more details" "$LINENO" 5; }
6286 ac_ext=c
6287 ac_cpp='$CPP $CPPFLAGS'
6288 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
6289 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
6290 ac_compiler_gnu=$ac_cv_c_compiler_gnu
6293 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ANSI C header files" >&5
6294 $as_echo_n "checking for ANSI C header files... " >&6; }
6295 if ${ac_cv_header_stdc+:} false; then :
6296 $as_echo_n "(cached) " >&6
6297 else
6298 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
6299 /* end confdefs.h. */
6300 #include <stdlib.h>
6301 #include <stdarg.h>
6302 #include <string.h>
6303 #include <float.h>
6306 main ()
6310 return 0;
6312 _ACEOF
6313 if ac_fn_c_try_compile "$LINENO"; then :
6314 ac_cv_header_stdc=yes
6315 else
6316 ac_cv_header_stdc=no
6318 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
6320 if test $ac_cv_header_stdc = yes; then
6321 # SunOS 4.x string.h does not declare mem*, contrary to ANSI.
6322 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
6323 /* end confdefs.h. */
6324 #include <string.h>
6326 _ACEOF
6327 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
6328 $EGREP "memchr" >/dev/null 2>&1; then :
6330 else
6331 ac_cv_header_stdc=no
6333 rm -f conftest*
6337 if test $ac_cv_header_stdc = yes; then
6338 # ISC 2.0.2 stdlib.h does not declare free, contrary to ANSI.
6339 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
6340 /* end confdefs.h. */
6341 #include <stdlib.h>
6343 _ACEOF
6344 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
6345 $EGREP "free" >/dev/null 2>&1; then :
6347 else
6348 ac_cv_header_stdc=no
6350 rm -f conftest*
6354 if test $ac_cv_header_stdc = yes; then
6355 # /bin/cc in Irix-4.0.5 gets non-ANSI ctype macros unless using -ansi.
6356 if test "$cross_compiling" = yes; then :
6358 else
6359 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
6360 /* end confdefs.h. */
6361 #include <ctype.h>
6362 #include <stdlib.h>
6363 #if ((' ' & 0x0FF) == 0x020)
6364 # define ISLOWER(c) ('a' <= (c) && (c) <= 'z')
6365 # define TOUPPER(c) (ISLOWER(c) ? 'A' + ((c) - 'a') : (c))
6366 #else
6367 # define ISLOWER(c) \
6368 (('a' <= (c) && (c) <= 'i') \
6369 || ('j' <= (c) && (c) <= 'r') \
6370 || ('s' <= (c) && (c) <= 'z'))
6371 # define TOUPPER(c) (ISLOWER(c) ? ((c) | 0x40) : (c))
6372 #endif
6374 #define XOR(e, f) (((e) && !(f)) || (!(e) && (f)))
6376 main ()
6378 int i;
6379 for (i = 0; i < 256; i++)
6380 if (XOR (islower (i), ISLOWER (i))
6381 || toupper (i) != TOUPPER (i))
6382 return 2;
6383 return 0;
6385 _ACEOF
6386 if ac_fn_c_try_run "$LINENO"; then :
6388 else
6389 ac_cv_header_stdc=no
6391 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \
6392 conftest.$ac_objext conftest.beam conftest.$ac_ext
6397 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_header_stdc" >&5
6398 $as_echo "$ac_cv_header_stdc" >&6; }
6399 if test $ac_cv_header_stdc = yes; then
6401 $as_echo "#define STDC_HEADERS 1" >>confdefs.h
6405 # On IRIX 5.3, sys/types and inttypes.h are conflicting.
6406 for ac_header in sys/types.h sys/stat.h stdlib.h string.h memory.h strings.h \
6407 inttypes.h stdint.h unistd.h
6408 do :
6409 as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
6410 ac_fn_c_check_header_compile "$LINENO" "$ac_header" "$as_ac_Header" "$ac_includes_default
6412 if eval test \"x\$"$as_ac_Header"\" = x"yes"; then :
6413 cat >>confdefs.h <<_ACEOF
6414 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
6415 _ACEOF
6419 done
6422 for ac_header in \
6423 AL/al.h \
6424 ApplicationServices/ApplicationServices.h \
6425 AudioToolbox/AudioConverter.h \
6426 AudioUnit/AudioUnit.h \
6427 AudioUnit/AudioComponent.h \
6428 CL/cl.h \
6429 Carbon/Carbon.h \
6430 CoreAudio/CoreAudio.h \
6431 CoreServices/CoreServices.h \
6432 DiskArbitration/DiskArbitration.h \
6433 IOKit/IOKitLib.h \
6434 IOKit/hid/IOHIDLib.h \
6435 OpenAL/al.h \
6436 OpenCL/opencl.h \
6437 QuickTime/ImageCompression.h \
6438 Security/Security.h \
6439 alias.h \
6440 alsa/asoundlib.h \
6441 arpa/inet.h \
6442 arpa/nameser.h \
6443 asm/types.h \
6444 asm/user.h \
6445 curses.h \
6446 direct.h \
6447 dirent.h \
6448 dlfcn.h \
6449 elf.h \
6450 float.h \
6451 fnmatch.h \
6452 getopt.h \
6453 gettext-po.h \
6454 grp.h \
6455 gsm.h \
6456 gsm/gsm.h \
6457 ieeefp.h \
6458 inet/mib2.h \
6459 io.h \
6460 kstat.h \
6461 lber.h \
6462 ldap.h \
6463 libproc.h \
6464 link.h \
6465 linux/cdrom.h \
6466 linux/compiler.h \
6467 linux/filter.h \
6468 linux/hdreg.h \
6469 linux/input.h \
6470 linux/ioctl.h \
6471 linux/joystick.h \
6472 linux/major.h \
6473 linux/param.h \
6474 linux/serial.h \
6475 linux/types.h \
6476 linux/ucdrom.h \
6477 lwp.h \
6478 mach-o/nlist.h \
6479 mach-o/loader.h \
6480 mach/mach.h \
6481 mach/machine.h \
6482 machine/cpu.h \
6483 machine/limits.h \
6484 machine/sysarch.h \
6485 mntent.h \
6486 ncurses.h \
6487 netdb.h \
6488 netinet/in.h \
6489 netinet/in_systm.h \
6490 netinet/tcp.h \
6491 netinet/tcp_fsm.h \
6492 poll.h \
6493 port.h \
6494 process.h \
6495 pthread.h \
6496 pwd.h \
6497 sched.h \
6498 scsi/scsi.h \
6499 scsi/scsi_ioctl.h \
6500 scsi/sg.h \
6501 stdbool.h \
6502 stdint.h \
6503 stropts.h \
6504 sys/asoundlib.h \
6505 sys/attr.h \
6506 sys/cdio.h \
6507 sys/elf32.h \
6508 sys/epoll.h \
6509 sys/event.h \
6510 sys/exec_elf.h \
6511 sys/filio.h \
6512 sys/inotify.h \
6513 sys/ioctl.h \
6514 sys/ipc.h \
6515 sys/limits.h \
6516 sys/link.h \
6517 sys/mman.h \
6518 sys/modem.h \
6519 sys/msg.h \
6520 sys/mtio.h \
6521 sys/param.h \
6522 sys/poll.h \
6523 sys/prctl.h \
6524 sys/protosw.h \
6525 sys/ptrace.h \
6526 sys/queue.h \
6527 sys/resource.h \
6528 sys/scsiio.h \
6529 sys/shm.h \
6530 sys/signal.h \
6531 sys/socket.h \
6532 sys/socketvar.h \
6533 sys/sockio.h \
6534 sys/statvfs.h \
6535 sys/strtio.h \
6536 sys/syscall.h \
6537 sys/tihdr.h \
6538 sys/time.h \
6539 sys/timeout.h \
6540 sys/times.h \
6541 sys/uio.h \
6542 sys/user.h \
6543 sys/utsname.h \
6544 sys/vm86.h \
6545 sys/wait.h \
6546 syscall.h \
6547 termios.h \
6548 unistd.h \
6549 utime.h \
6550 valgrind/memcheck.h \
6551 valgrind/valgrind.h \
6552 zlib.h
6554 do :
6555 as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
6556 ac_fn_c_check_header_mongrel "$LINENO" "$ac_header" "$as_ac_Header" "$ac_includes_default"
6557 if eval test \"x\$"$as_ac_Header"\" = x"yes"; then :
6558 cat >>confdefs.h <<_ACEOF
6559 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
6560 _ACEOF
6564 done
6566 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether stat file-mode macros are broken" >&5
6567 $as_echo_n "checking whether stat file-mode macros are broken... " >&6; }
6568 if ${ac_cv_header_stat_broken+:} false; then :
6569 $as_echo_n "(cached) " >&6
6570 else
6571 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
6572 /* end confdefs.h. */
6573 #include <sys/types.h>
6574 #include <sys/stat.h>
6576 #if defined S_ISBLK && defined S_IFDIR
6577 extern char c1[S_ISBLK (S_IFDIR) ? -1 : 1];
6578 #endif
6580 #if defined S_ISBLK && defined S_IFCHR
6581 extern char c2[S_ISBLK (S_IFCHR) ? -1 : 1];
6582 #endif
6584 #if defined S_ISLNK && defined S_IFREG
6585 extern char c3[S_ISLNK (S_IFREG) ? -1 : 1];
6586 #endif
6588 #if defined S_ISSOCK && defined S_IFREG
6589 extern char c4[S_ISSOCK (S_IFREG) ? -1 : 1];
6590 #endif
6592 _ACEOF
6593 if ac_fn_c_try_compile "$LINENO"; then :
6594 ac_cv_header_stat_broken=no
6595 else
6596 ac_cv_header_stat_broken=yes
6598 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
6600 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_header_stat_broken" >&5
6601 $as_echo "$ac_cv_header_stat_broken" >&6; }
6602 if test $ac_cv_header_stat_broken = yes; then
6604 $as_echo "#define STAT_MACROS_BROKEN 1" >>confdefs.h
6610 for ac_header in sys/mount.h sys/statfs.h sys/sysctl.h sys/user.h sys/vfs.h
6611 do :
6612 as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
6613 ac_fn_c_check_header_compile "$LINENO" "$ac_header" "$as_ac_Header" "#include <sys/types.h>
6614 #ifdef HAVE_SYS_PARAM_H
6615 # include <sys/param.h>
6616 #endif
6618 if eval test \"x\$"$as_ac_Header"\" = x"yes"; then :
6619 cat >>confdefs.h <<_ACEOF
6620 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
6621 _ACEOF
6625 done
6628 for ac_header in \
6629 netinet/ip.h \
6630 net/if.h \
6631 net/if_arp.h \
6632 net/if_dl.h \
6633 net/if_types.h \
6634 net/route.h \
6635 netinet/if_ether.h \
6636 netinet/if_inarp.h \
6637 netinet/in_pcb.h \
6638 netinet/ip_icmp.h \
6639 netinet/ip_var.h \
6640 netinet/udp.h \
6641 netipx/ipx.h \
6642 sys/un.h \
6644 do :
6645 as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
6646 ac_fn_c_check_header_compile "$LINENO" "$ac_header" "$as_ac_Header" "#include <sys/types.h>
6647 #ifdef HAVE_SYS_SOCKET_H
6648 # include <sys/socket.h>
6649 #endif
6650 #ifdef HAVE_SYS_SOCKETVAR_H
6651 # include <sys/socketvar.h>
6652 #endif
6653 #ifdef HAVE_NET_ROUTE_H
6654 # include <net/route.h>
6655 #endif
6656 #ifdef HAVE_NETINET_IN_H
6657 # include <netinet/in.h>
6658 #endif
6659 #ifdef HAVE_NETINET_IN_SYSTM_H
6660 # include <netinet/in_systm.h>
6661 #endif
6662 #ifdef HAVE_NET_IF_H
6663 # include <net/if.h>
6664 #endif
6665 #ifdef HAVE_NETINET_IP_H
6666 # include <netinet/ip.h>
6667 #endif
6669 if eval test \"x\$"$as_ac_Header"\" = x"yes"; then :
6670 cat >>confdefs.h <<_ACEOF
6671 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
6672 _ACEOF
6676 done
6679 for ac_header in netinet/tcp_timer.h netinet/udp_var.h netinet/icmp_var.h netinet/tcp_var.h
6680 do :
6681 as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
6682 ac_fn_c_check_header_compile "$LINENO" "$ac_header" "$as_ac_Header" "#include <sys/types.h>
6683 #ifdef HAVE_ALIAS_H
6684 # include <alias.h>
6685 #endif
6686 #ifdef HAVE_SYS_SOCKET_H
6687 # include <sys/socket.h>
6688 #endif
6689 #ifdef HAVE_SYS_SOCKETVAR_H
6690 # include <sys/socketvar.h>
6691 #endif
6692 #ifdef HAVE_SYS_TIMEOUT_H
6693 # include <sys/timeout.h>
6694 #endif
6695 #ifdef HAVE_NETINET_IN_H
6696 # include <netinet/in.h>
6697 #endif
6698 #ifdef HAVE_NETINET_IN_SYSTM_H
6699 # include <netinet/in_systm.h>
6700 #endif
6701 #ifdef HAVE_NETINET_IP_H
6702 # include <netinet/ip.h>
6703 #endif
6704 #ifdef HAVE_NETINET_IP_VAR_H
6705 # include <netinet/ip_var.h>
6706 #endif
6707 #ifdef HAVE_NETINET_IP_ICMP_H
6708 # include <netinet/ip_icmp.h>
6709 #endif
6710 #ifdef HAVE_NETINET_UDP_H
6711 # include <netinet/udp.h>
6712 #endif
6713 #ifdef HAVE_NETINET_TCP_H
6714 # include <netinet/tcp.h>
6715 #endif
6716 #ifdef HAVE_NETINET_TCP_TIMER_H
6717 #include <netinet/tcp_timer.h>
6718 #endif
6720 if eval test \"x\$"$as_ac_Header"\" = x"yes"; then :
6721 cat >>confdefs.h <<_ACEOF
6722 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
6723 _ACEOF
6727 done
6730 for ac_header in linux/ipx.h linux/irda.h linux/rtnetlink.h
6731 do :
6732 as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
6733 ac_fn_c_check_header_compile "$LINENO" "$ac_header" "$as_ac_Header" "#include <sys/types.h>
6734 #ifdef HAVE_ASM_TYPES_H
6735 # include <asm/types.h>
6736 #endif
6737 #ifdef HAVE_SYS_SOCKET_H
6738 # include <sys/socket.h>
6739 #endif
6740 #ifdef HAVE_LINUX_TYPES_H
6741 # include <linux/types.h>
6742 #endif
6744 if eval test \"x\$"$as_ac_Header"\" = x"yes"; then :
6745 cat >>confdefs.h <<_ACEOF
6746 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
6747 _ACEOF
6751 done
6754 for ac_header in mach-o/dyld_images.h
6755 do :
6756 ac_fn_c_check_header_compile "$LINENO" "mach-o/dyld_images.h" "ac_cv_header_mach_o_dyld_images_h" "#ifdef HAVE_STDBOOL_H
6757 # include <stdbool.h>
6758 #endif
6759 #ifdef HAVE_STDINT_H
6760 # include <stdint.h>
6761 #endif
6763 if test "x$ac_cv_header_mach_o_dyld_images_h" = xyes; then :
6764 cat >>confdefs.h <<_ACEOF
6765 #define HAVE_MACH_O_DYLD_IMAGES_H 1
6766 _ACEOF
6770 done
6773 for ac_header in resolv.h
6774 do :
6775 ac_fn_c_check_header_compile "$LINENO" "resolv.h" "ac_cv_header_resolv_h" "#include <sys/types.h>
6776 #ifdef HAVE_SYS_SOCKET_H
6777 # include <sys/socket.h>
6778 #endif
6779 #ifdef HAVE_NETINET_IN_H
6780 # include <netinet/in.h>
6781 #endif
6782 #ifdef HAVE_ARPA_NAMESER_H
6783 # include <arpa/nameser.h>
6784 #endif
6786 if test "x$ac_cv_header_resolv_h" = xyes; then :
6787 cat >>confdefs.h <<_ACEOF
6788 #define HAVE_RESOLV_H 1
6789 _ACEOF
6793 done
6796 for ac_header in ifaddrs.h
6797 do :
6798 ac_fn_c_check_header_compile "$LINENO" "ifaddrs.h" "ac_cv_header_ifaddrs_h" "#include <sys/types.h>
6800 if test "x$ac_cv_header_ifaddrs_h" = xyes; then :
6801 cat >>confdefs.h <<_ACEOF
6802 #define HAVE_IFADDRS_H 1
6803 _ACEOF
6807 done
6810 for ac_header in ucontext.h
6811 do :
6812 ac_fn_c_check_header_compile "$LINENO" "ucontext.h" "ac_cv_header_ucontext_h" "#include <signal.h>
6814 if test "x$ac_cv_header_ucontext_h" = xyes; then :
6815 cat >>confdefs.h <<_ACEOF
6816 #define HAVE_UCONTEXT_H 1
6817 _ACEOF
6821 done
6824 for ac_header in sys/thr.h
6825 do :
6826 ac_fn_c_check_header_compile "$LINENO" "sys/thr.h" "ac_cv_header_sys_thr_h" "#include <sys/types.h>
6827 #ifdef HAVE_UCONTEXT_H
6828 #include <ucontext.h>
6829 #endif
6831 if test "x$ac_cv_header_sys_thr_h" = xyes; then :
6832 cat >>confdefs.h <<_ACEOF
6833 #define HAVE_SYS_THR_H 1
6834 _ACEOF
6838 done
6841 for ac_header in pthread_np.h
6842 do :
6843 ac_fn_c_check_header_compile "$LINENO" "pthread_np.h" "ac_cv_header_pthread_np_h" "#ifdef HAVE_PTHREAD_H
6844 #include <pthread.h>
6845 #endif
6847 if test "x$ac_cv_header_pthread_np_h" = xyes; then :
6848 cat >>confdefs.h <<_ACEOF
6849 #define HAVE_PTHREAD_NP_H 1
6850 _ACEOF
6854 done
6857 for ac_header in linux/videodev.h linux/videodev2.h libv4l1.h
6858 do :
6859 as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
6860 ac_fn_c_check_header_compile "$LINENO" "$ac_header" "$as_ac_Header" "#ifdef HAVE_SYS_TIME_H
6861 #include <sys/time.h>
6862 #endif
6863 #include <sys/types.h>
6864 #ifdef HAVE_ASM_TYPES_H
6865 #include <asm/types.h>
6866 #endif
6868 if eval test \"x\$"$as_ac_Header"\" = x"yes"; then :
6869 cat >>confdefs.h <<_ACEOF
6870 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
6871 _ACEOF
6875 done
6878 for ac_header in libprocstat.h
6879 do :
6880 ac_fn_c_check_header_compile "$LINENO" "libprocstat.h" "ac_cv_header_libprocstat_h" "#ifdef HAVE_SYS_PARAM_H
6881 #include <sys/param.h>
6882 #endif
6883 #ifdef HAVE_SYS_QUEUE_H
6884 #include <sys/queue.h>
6885 #endif
6886 #ifdef HAVE_SYS_SOCKET_H
6887 #include <sys/socket.h>
6888 #endif
6890 if test "x$ac_cv_header_libprocstat_h" = xyes; then :
6891 cat >>confdefs.h <<_ACEOF
6892 #define HAVE_LIBPROCSTAT_H 1
6893 _ACEOF
6897 done
6901 dlldir="\${libdir}/wine"
6903 DLLPREFIX=""
6905 DLLFLAGS="-D_REENTRANT"
6907 LDRPATH_INSTALL=""
6909 LDRPATH_LOCAL=""
6911 LIBEXT="so"
6912 DLLEXT=".so"
6913 IMPLIBEXT="def"
6914 STATIC_IMPLIBEXT="def.a"
6915 # Extract the first word of "ldd", so it can be a program name with args.
6916 set dummy ldd; ac_word=$2
6917 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6918 $as_echo_n "checking for $ac_word... " >&6; }
6919 if ${ac_cv_path_LDD+:} false; then :
6920 $as_echo_n "(cached) " >&6
6921 else
6922 case $LDD in
6923 [\\/]* | ?:[\\/]*)
6924 ac_cv_path_LDD="$LDD" # Let the user override the test with a path.
6927 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6928 as_dummy="/sbin:/usr/sbin:$PATH"
6929 for as_dir in $as_dummy
6931 IFS=$as_save_IFS
6932 test -z "$as_dir" && as_dir=.
6933 for ac_exec_ext in '' $ac_executable_extensions; do
6934 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
6935 ac_cv_path_LDD="$as_dir/$ac_word$ac_exec_ext"
6936 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6937 break 2
6939 done
6940 done
6941 IFS=$as_save_IFS
6943 test -z "$ac_cv_path_LDD" && ac_cv_path_LDD="true"
6945 esac
6947 LDD=$ac_cv_path_LDD
6948 if test -n "$LDD"; then
6949 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $LDD" >&5
6950 $as_echo "$LDD" >&6; }
6951 else
6952 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6953 $as_echo "no" >&6; }
6957 if test -n "$ac_tool_prefix"; then
6958 # Extract the first word of "${ac_tool_prefix}readelf", so it can be a program name with args.
6959 set dummy ${ac_tool_prefix}readelf; ac_word=$2
6960 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6961 $as_echo_n "checking for $ac_word... " >&6; }
6962 if ${ac_cv_prog_READELF+:} false; then :
6963 $as_echo_n "(cached) " >&6
6964 else
6965 if test -n "$READELF"; then
6966 ac_cv_prog_READELF="$READELF" # Let the user override the test.
6967 else
6968 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6969 for as_dir in $PATH
6971 IFS=$as_save_IFS
6972 test -z "$as_dir" && as_dir=.
6973 for ac_exec_ext in '' $ac_executable_extensions; do
6974 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
6975 ac_cv_prog_READELF="${ac_tool_prefix}readelf"
6976 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6977 break 2
6979 done
6980 done
6981 IFS=$as_save_IFS
6985 READELF=$ac_cv_prog_READELF
6986 if test -n "$READELF"; then
6987 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $READELF" >&5
6988 $as_echo "$READELF" >&6; }
6989 else
6990 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6991 $as_echo "no" >&6; }
6996 if test -z "$ac_cv_prog_READELF"; then
6997 ac_ct_READELF=$READELF
6998 # Extract the first word of "readelf", so it can be a program name with args.
6999 set dummy readelf; ac_word=$2
7000 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7001 $as_echo_n "checking for $ac_word... " >&6; }
7002 if ${ac_cv_prog_ac_ct_READELF+:} false; then :
7003 $as_echo_n "(cached) " >&6
7004 else
7005 if test -n "$ac_ct_READELF"; then
7006 ac_cv_prog_ac_ct_READELF="$ac_ct_READELF" # Let the user override the test.
7007 else
7008 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7009 for as_dir in $PATH
7011 IFS=$as_save_IFS
7012 test -z "$as_dir" && as_dir=.
7013 for ac_exec_ext in '' $ac_executable_extensions; do
7014 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
7015 ac_cv_prog_ac_ct_READELF="readelf"
7016 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
7017 break 2
7019 done
7020 done
7021 IFS=$as_save_IFS
7025 ac_ct_READELF=$ac_cv_prog_ac_ct_READELF
7026 if test -n "$ac_ct_READELF"; then
7027 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_READELF" >&5
7028 $as_echo "$ac_ct_READELF" >&6; }
7029 else
7030 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7031 $as_echo "no" >&6; }
7034 if test "x$ac_ct_READELF" = x; then
7035 READELF="true"
7036 else
7037 case $cross_compiling:$ac_tool_warned in
7038 yes:)
7039 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
7040 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
7041 ac_tool_warned=yes ;;
7042 esac
7043 READELF=$ac_ct_READELF
7045 else
7046 READELF="$ac_cv_prog_READELF"
7049 wine_rules_file=conf$$rules.make
7050 rm -f $wine_rules_file
7051 ALL_POT_FILES=""
7052 GITIGNORE="# Automatically generated by configure; DO NOT EDIT!!"
7053 ALL_TEST_RESOURCES=""
7056 wine_fn_append_file ()
7058 as_fn_append $1 " \\$as_nl $2"
7061 wine_fn_ignore_file ()
7063 case "$1" in
7064 */*) as_fn_append GITIGNORE "$as_nl$1" ;;
7065 \**) as_fn_append GITIGNORE "$as_nl$1" ;;
7066 *) as_fn_append GITIGNORE "$as_nl/$1" ;;
7067 esac
7070 wine_fn_append_rule ()
7072 $as_echo "$1" >>$wine_rules_file
7075 wine_fn_has_flag ()
7077 expr ",$ac_flags," : ".*,$1,.*" >/dev/null
7080 wine_fn_depend_rules ()
7082 wine_fn_append_rule \
7083 "$ac_dir/Makefile: $srcdir/$ac_dir/Makefile.in $srcdir/Make.vars.in config.status \$(MAKEDEP)
7084 @./config.status --file $ac_dir/Makefile:Make.vars.in:$ac_dir/Makefile.in && \$(MAKEDEP) $ac_dir
7085 depend: $ac_dir/depend
7086 .PHONY: $ac_dir/depend
7087 $ac_dir/depend: \$(MAKEDEP) dummy
7088 @./config.status --file $ac_dir/Makefile:Make.vars.in:$ac_dir/Makefile.in && \$(MAKEDEP) $ac_dir"
7091 wine_fn_pot_rules ()
7093 test "x$with_gettextpo" = xyes || return
7095 if wine_fn_has_flag mc
7096 then
7097 wine_fn_append_file ALL_POT_FILES $ac_dir/msg.pot
7098 wine_fn_append_rule \
7099 "$ac_dir/msg.pot: $ac_dir/Makefile dummy
7100 @cd $ac_dir && \$(MAKE) msg.pot
7101 $ac_dir/msg.pot: tools/wmc include"
7103 if wine_fn_has_flag po
7104 then
7105 wine_fn_append_file ALL_POT_FILES $ac_dir/rsrc.pot
7106 wine_fn_append_rule \
7107 "$ac_dir/rsrc.pot: $ac_dir/Makefile dummy
7108 @cd $ac_dir && \$(MAKE) rsrc.pot
7109 $ac_dir/rsrc.pot: tools/wrc include"
7113 wine_fn_all_rules ()
7115 wine_fn_depend_rules
7116 wine_fn_append_rule \
7117 "all: $ac_dir
7118 .PHONY: $ac_dir
7119 $ac_dir: $ac_dir/Makefile dummy
7120 @cd $ac_dir && \$(MAKE)"
7123 wine_fn_install_rules ()
7125 wine_fn_has_flag install-lib || wine_fn_has_flag install-dev || return
7127 wine_fn_append_rule \
7128 ".PHONY: $ac_dir/install $ac_dir/uninstall
7129 $ac_dir/install:: $ac_dir
7130 @cd $ac_dir && \$(MAKE) install
7131 $ac_dir/uninstall:: $ac_dir/Makefile
7132 @cd $ac_dir && \$(MAKE) uninstall
7133 install:: $ac_dir/install
7134 __uninstall__: $ac_dir/uninstall"
7136 if wine_fn_has_flag install-lib
7137 then
7138 wine_fn_append_rule \
7139 ".PHONY: $ac_dir/install-lib
7140 $ac_dir/install-lib:: $ac_dir
7141 @cd $ac_dir && \$(MAKE) install-lib
7142 install-lib:: $ac_dir/install-lib"
7145 if wine_fn_has_flag install-dev
7146 then
7147 wine_fn_append_rule \
7148 ".PHONY: $ac_dir/install-dev
7149 $ac_dir/install-dev:: $ac_dir
7150 @cd $ac_dir && \$(MAKE) install-dev
7151 install-dev:: $ac_dir/install-dev"
7155 wine_fn_clean_rules ()
7157 ac_clean=$@
7158 ac_extraclean="$ac_dir/Makefile"
7159 test "$srcdir" = . && ac_extraclean="$ac_extraclean $ac_dir/.gitignore"
7160 case $ac_dir in
7161 */tests) ac_extraclean="$ac_extraclean $ac_dir/testlist.c" ;;
7162 esac
7164 if wine_fn_has_flag clean
7165 then
7166 wine_fn_append_rule \
7167 "__clean__: $ac_dir/clean
7168 .PHONY: $ac_dir/clean
7169 $ac_dir/clean: $ac_dir/Makefile
7170 @cd $ac_dir && \$(MAKE) clean
7171 \$(RM) $ac_extraclean"
7172 else
7173 wine_fn_append_rule \
7174 "__clean__: $ac_dir/clean
7175 .PHONY: $ac_dir/clean
7176 $ac_dir/clean: dummy
7177 \$(RM) \$(CLEAN_FILES:%=$ac_dir/%) $ac_clean $ac_extraclean"
7181 wine_fn_disabled_rules ()
7183 ac_clean=$@
7184 ac_extraclean="$ac_dir/Makefile"
7185 test "$srcdir" = . && ac_extraclean="$ac_extraclean $ac_dir/.gitignore"
7187 wine_fn_append_rule \
7188 "__clean__: $ac_dir/clean
7189 .PHONY: $ac_dir/clean
7190 $ac_dir/clean: dummy
7191 \$(RM) \$(CLEAN_FILES:%=$ac_dir/%) $ac_clean $ac_extraclean"
7194 wine_fn_config_makefile ()
7196 ac_dir=$1
7197 ac_enable=$2
7198 ac_flags=$3
7200 if eval test \"x\$"$ac_enable"\" = x"no"; then :
7201 wine_fn_disabled_rules; return
7203 wine_fn_all_rules
7204 wine_fn_install_rules
7205 wine_fn_clean_rules
7208 wine_fn_config_lib ()
7210 ac_name=$1
7211 ac_flags=$2
7212 ac_dir=dlls/$ac_name
7213 ac_deps="include"
7215 if test "x$enable_tools" = xno; then :
7217 else
7218 ac_deps="tools/widl tools/winebuild tools/winegcc $ac_deps"
7220 wine_fn_all_rules
7221 wine_fn_clean_rules
7223 wine_fn_append_rule \
7224 ".PHONY: $ac_dir/install $ac_dir/uninstall
7225 $ac_dir/install:: $ac_dir
7226 \$(INSTALL_DATA) $ac_dir/lib$ac_name.a \$(DESTDIR)\$(dlldir)/lib$ac_name.a
7227 $ac_dir/uninstall::
7228 \$(RM) \$(DESTDIR)\$(dlldir)/lib$ac_name.a
7229 install install-dev:: $ac_dir/install
7230 __uninstall__: $ac_dir/uninstall
7231 __builddeps__: $ac_dir
7232 $ac_dir: $ac_deps"
7235 wine_fn_config_dll ()
7237 ac_name=$1
7238 ac_dir=dlls/$ac_name
7239 ac_enable=$2
7240 ac_flags=$3
7241 ac_implib=${4:-$ac_name}
7242 ac_file=$ac_dir/lib$ac_implib
7243 ac_dll=$ac_name
7244 ac_deps="include"
7245 ac_implibflags=""
7247 if test "x$enable_tools" = xno; then :
7249 else
7250 ac_deps="tools/widl tools/winebuild tools/winegcc $ac_deps"
7252 case $ac_name in
7253 *16) ac_implibflags=" -m16" ;;
7254 *.*) ;;
7255 *) ac_dll=$ac_dll.dll ;;
7256 esac
7258 ac_clean=
7259 wine_fn_has_flag implib && ac_clean="$ac_clean $ac_file.$IMPLIBEXT"
7260 wine_fn_has_flag mc && ac_clean="$ac_clean $ac_dir/msg.pot"
7261 wine_fn_has_flag po && ac_clean="$ac_clean $ac_dir/rsrc.pot"
7262 test -n "$DLLEXT" || ac_clean="$ac_clean $ac_dir/$ac_dll"
7264 if eval test \"x\$"$ac_enable"\" = x"no"; then :
7265 if wine_fn_has_flag implib && test "$ac_enable" != enable_win16
7266 then
7267 wine_fn_depend_rules
7268 wine_fn_clean_rules $ac_clean
7269 else
7270 wine_fn_disabled_rules $ac_clean
7271 return
7273 else
7274 wine_fn_all_rules
7275 wine_fn_clean_rules $ac_clean
7276 wine_fn_append_rule \
7277 "$ac_dir: __builddeps__
7278 manpages htmlpages sgmlpages xmlpages:: $ac_dir/Makefile
7279 @cd $ac_dir && \$(MAKE) \$@
7280 .PHONY: $ac_dir/install-lib $ac_dir/uninstall
7281 install install-lib:: $ac_dir/install-lib
7282 __uninstall__: $ac_dir/uninstall"
7283 if test -n "$DLLEXT"
7284 then
7285 wine_fn_append_rule \
7286 "$ac_dir/install-lib:: $ac_dir
7287 \$(INSTALL_PROGRAM) $ac_dir/$ac_dll$DLLEXT \$(DESTDIR)\$(dlldir)/$DLLPREFIX$ac_dll$DLLEXT
7288 \$(INSTALL_DATA) $ac_dir/$ac_dll.fake \$(DESTDIR)\$(fakedlldir)/$ac_dll
7289 $ac_dir/uninstall::
7290 \$(RM) \$(DESTDIR)\$(dlldir)/$DLLPREFIX$ac_dll$DLLEXT \$(DESTDIR)\$(fakedlldir)/$ac_dll"
7291 else
7292 wine_fn_append_rule \
7293 "$ac_dir/install-lib:: $ac_dir
7294 \$(INSTALL_PROGRAM) $ac_dir/$ac_dll \$(DESTDIR)\$(dlldir)/$ac_dll
7295 $ac_dir/uninstall::
7296 \$(RM) \$(DESTDIR)\$(dlldir)/$ac_dll"
7299 wine_fn_pot_rules
7302 if wine_fn_has_flag staticimplib
7303 then
7304 wine_fn_append_rule \
7305 "__builddeps__: $ac_file.$IMPLIBEXT $ac_file.$STATIC_IMPLIBEXT
7306 $ac_file.$IMPLIBEXT $ac_file.$STATIC_IMPLIBEXT $ac_file.cross.a: $ac_deps
7307 $ac_file.def: $srcdir/$ac_dir/$ac_name.spec $ac_dir/Makefile \$(WINEBUILD)
7308 \$(WINEBUILD) \$(TARGETFLAGS)$ac_implibflags -w --def -o \$@ --export $srcdir/$ac_dir/$ac_name.spec
7309 $ac_file.$STATIC_IMPLIBEXT: $ac_dir/Makefile dummy
7310 @cd $ac_dir && \$(MAKE) lib$ac_implib.$STATIC_IMPLIBEXT
7311 .PHONY: $ac_dir/install-dev $ac_dir/uninstall
7312 $ac_dir/install-dev:: $ac_file.$IMPLIBEXT
7313 \$(INSTALL_DATA) $ac_file.$IMPLIBEXT \$(DESTDIR)\$(dlldir)/lib$ac_implib.$IMPLIBEXT
7314 $ac_dir/uninstall::
7315 \$(RM) \$(DESTDIR)\$(dlldir)/lib$ac_implib.$IMPLIBEXT
7316 install install-dev:: $ac_dir/install-dev
7317 __uninstall__: $ac_dir/uninstall"
7319 if test "$IMPLIBEXT" != "$STATIC_IMPLIBEXT"
7320 then
7321 wine_fn_append_rule \
7322 "$ac_dir/install-dev:: $ac_file.$STATIC_IMPLIBEXT __builddeps__
7323 \$(INSTALL_DATA) $ac_file.$STATIC_IMPLIBEXT \$(DESTDIR)\$(dlldir)/lib$ac_implib.$STATIC_IMPLIBEXT
7324 $ac_dir/uninstall::
7325 \$(RM) \$(DESTDIR)\$(dlldir)/lib$ac_implib.$STATIC_IMPLIBEXT"
7328 if test -n "$CROSSTARGET" -a -z "$ac_implibflags"
7329 then
7330 wine_fn_append_rule \
7331 "__builddeps__: $ac_file.cross.a
7332 $ac_file.cross.a: $ac_dir/Makefile dummy
7333 @cd $ac_dir && \$(MAKE) lib$ac_implib.cross.a"
7336 elif wine_fn_has_flag implib
7337 then
7338 wine_fn_append_rule \
7339 "__builddeps__: $ac_file.$IMPLIBEXT
7340 $ac_file.def: $srcdir/$ac_dir/$ac_name.spec $ac_dir/Makefile \$(WINEBUILD)
7341 \$(WINEBUILD) \$(TARGETFLAGS)$ac_implibflags -w --def -o \$@ --export $srcdir/$ac_dir/$ac_name.spec
7342 $ac_file.a: $srcdir/$ac_dir/$ac_name.spec $ac_dir/Makefile \$(WINEBUILD)
7343 \$(WINEBUILD) \$(TARGETFLAGS)$ac_implibflags -w --implib -o \$@ --export $srcdir/$ac_dir/$ac_name.spec
7344 .PHONY: $ac_dir/install-dev $ac_dir/uninstall
7345 $ac_dir/install-dev:: $ac_file.$IMPLIBEXT
7346 \$(INSTALL_DATA) $ac_file.$IMPLIBEXT \$(DESTDIR)\$(dlldir)/lib$ac_implib.$IMPLIBEXT
7347 $ac_dir/uninstall::
7348 \$(RM) \$(DESTDIR)\$(dlldir)/lib$ac_implib.$IMPLIBEXT
7349 install install-dev:: $ac_dir/install-dev
7350 __uninstall__: $ac_dir/uninstall"
7351 if test -n "$CROSSTARGET" -a -z "$ac_implibflags"
7352 then
7353 wine_fn_append_rule \
7354 "__builddeps__: $ac_file.cross.a
7355 $ac_file.cross.a: $srcdir/$ac_dir/$ac_name.spec $ac_dir/Makefile \$(WINEBUILD)
7356 \$(WINEBUILD) \$(CROSSTARGET:%=-b %)$ac_implibflags -w --implib -o \$@ --export $srcdir/$ac_dir/$ac_name.spec"
7359 if test "$ac_name" != "$ac_implib"
7360 then
7361 wine_fn_append_rule \
7362 "__builddeps__: dlls/lib$ac_implib.$IMPLIBEXT
7363 dlls/lib$ac_implib.$IMPLIBEXT: $ac_file.$IMPLIBEXT
7364 \$(RM) \$@ && \$(LN_S) $ac_name/lib$ac_implib.$IMPLIBEXT \$@
7365 clean::
7366 \$(RM) dlls/lib$ac_implib.$IMPLIBEXT"
7367 wine_fn_ignore_file "dlls/lib$ac_implib.$IMPLIBEXT"
7368 if test -n "$CROSSTARGET" -a -z "$ac_implibflags"
7369 then
7370 wine_fn_append_rule \
7371 "__builddeps__: dlls/lib$ac_implib.cross.a
7372 dlls/lib$ac_implib.cross.a: $ac_file.cross.a
7373 \$(RM) \$@ && \$(LN_S) $ac_name/lib$ac_implib.cross.a \$@
7374 clean::
7375 \$(RM) dlls/lib$ac_implib.cross.a"
7376 wine_fn_ignore_file "dlls/lib$ac_implib.cross.a"
7382 wine_fn_config_program ()
7384 ac_name=$1
7385 ac_dir=programs/$ac_name
7386 ac_enable=$2
7387 ac_flags=$3
7388 ac_program=$ac_name
7390 case $ac_name in
7391 *.*) ;;
7392 *) ac_program=$ac_program.exe ;;
7393 esac
7395 ac_clean=
7396 wine_fn_has_flag mc && ac_clean="$ac_clean $ac_dir/msg.pot"
7397 wine_fn_has_flag po && ac_clean="$ac_clean $ac_dir/rsrc.pot"
7398 wine_fn_has_flag manpage && ac_clean="$ac_clean $ac_dir/$ac_name.man"
7399 test -n "$DLLEXT" || ac_clean="$ac_clean $ac_dir/$ac_program"
7401 if eval test \"x\$"$ac_enable"\" = x"no"; then :
7402 wine_fn_disabled_rules $ac_clean; return
7405 wine_fn_all_rules
7406 wine_fn_clean_rules $ac_clean
7407 wine_fn_append_rule "$ac_dir: __builddeps__"
7408 wine_fn_pot_rules
7410 wine_fn_has_flag install || return
7411 wine_fn_append_rule \
7412 ".PHONY: $ac_dir/install $ac_dir/uninstall
7413 install install-lib:: $ac_dir/install
7414 __uninstall__: $ac_dir/uninstall"
7416 if test -n "$DLLEXT"
7417 then
7418 wine_fn_append_rule \
7419 "$ac_dir/install:: $ac_dir
7420 \$(INSTALL_PROGRAM) $ac_dir/$ac_program$DLLEXT \$(DESTDIR)\$(dlldir)/$DLLPREFIX$ac_program$DLLEXT
7421 \$(INSTALL_DATA) $ac_dir/$ac_program.fake \$(DESTDIR)\$(fakedlldir)/$ac_program
7422 $ac_dir/uninstall::
7423 \$(RM) \$(DESTDIR)\$(dlldir)/$DLLPREFIX$ac_program$DLLEXT \$(DESTDIR)\$(fakedlldir)/$ac_program"
7425 if test -z "$with_wine64" && wine_fn_has_flag installbin
7426 then
7427 wine_fn_append_rule \
7428 "$ac_dir/install:: __tooldeps__
7429 \$(INSTALL_SCRIPT) \$(TOOLSDIR)/tools/wineapploader \$(DESTDIR)\$(bindir)/$ac_name
7430 $ac_dir/uninstall::
7431 \$(RM) \$(DESTDIR)\$(bindir)/$ac_name"
7433 else
7434 wine_fn_append_rule \
7435 "$ac_dir/install:: $ac_dir
7436 \$(INSTALL_PROGRAM) $ac_dir/$ac_program \$(DESTDIR)\$(bindir)/$ac_program
7437 $ac_dir/uninstall::
7438 \$(RM) \$(DESTDIR)\$(bindir)/$ac_program"
7441 if test -z "$with_wine64" && wine_fn_has_flag manpage
7442 then
7443 wine_fn_append_rule \
7444 "$ac_dir/install:: $ac_dir
7445 \$(INSTALL_DATA) $ac_dir/$ac_name.man \$(DESTDIR)\$(mandir)/man\$(prog_manext)/$ac_name.\$(prog_manext)
7446 $ac_dir/uninstall::
7447 \$(RM) \$(DESTDIR)\$(mandir)/man\$(prog_manext)/$ac_name.\$(prog_manext)"
7451 wine_fn_config_test ()
7453 ac_dir=$1
7454 ac_name=$2
7455 ac_flags=$3
7457 ac_clean=
7458 test -n "$CROSSTARGET" && ac_clean=`expr $ac_dir/${ac_name} : "\\(.*\\)_test"`_crosstest.exe
7459 test -n "$DLLEXT" || ac_clean="$ac_dir/${ac_name}.exe $ac_dir/${ac_name}-stripped.exe"
7461 if test "x$enable_tests" = xno; then :
7462 wine_fn_disabled_rules $ac_clean; return
7465 wine_fn_append_file ALL_TEST_RESOURCES $ac_name.res
7466 wine_fn_all_rules
7467 wine_fn_clean_rules $ac_clean
7469 wine_fn_append_rule \
7470 "$ac_dir: programs/winetest/Makefile __builddeps__
7471 programs/winetest: $ac_dir
7472 check test: $ac_dir/test
7473 .PHONY: $ac_dir/test
7474 $ac_dir/test: dummy
7475 @cd $ac_dir && \$(MAKE) test
7476 testclean::
7477 \$(RM) $ac_dir/*.ok"
7479 if test -n "$CROSSTARGET"
7480 then
7481 wine_fn_append_rule \
7482 "crosstest: $ac_dir/crosstest
7483 .PHONY: $ac_dir/crosstest
7484 $ac_dir/crosstest: $ac_dir/Makefile __builddeps__ dummy
7485 @cd $ac_dir && \$(MAKE) crosstest"
7489 wine_fn_config_tool ()
7491 ac_dir=$1
7492 ac_flags=$2
7493 if test "x$enable_tools" = xno; then :
7494 return
7497 wine_fn_all_rules
7498 wine_fn_install_rules
7499 wine_fn_clean_rules
7501 wine_fn_append_rule "__tooldeps__: $ac_dir"
7502 wine_fn_append_rule "$ac_dir: libs/port"
7503 case $ac_dir in
7504 tools/winebuild) wine_fn_append_rule "\$(WINEBUILD): $ac_dir" ;;
7505 esac
7508 wine_fn_config_symlink ()
7510 ac_linkdir=
7511 if test "x$1" = "x-d"
7512 then
7513 ac_linkdir=$2
7514 shift; shift
7516 ac_links=$@
7517 wine_fn_append_rule \
7518 "$ac_links:
7519 @./config.status \$@
7520 distclean::
7521 \$(RM) $ac_links"
7522 for f in $ac_links; do wine_fn_ignore_file $f; done
7523 test -n "$ac_linkdir" || return
7524 wine_fn_append_rule "$ac_linkdir/Makefile $ac_linkdir/depend: $ac_links"
7527 wine_binary="wine"
7528 test "x$enable_win64" != "xyes" || wine_binary="wine64"
7529 loader_programs="$wine_binary wine-installed"
7530 libwine_soversion=`expr $libwine_version : '\([0-9]*\)\..*'`
7532 LOADER_RULES="
7533 install install-lib:: wine-installed
7534 \$(INSTALL_PROGRAM) wine-installed \$(DESTDIR)\$(bindir)/$wine_binary
7536 uninstall::
7537 \$(RM) \$(DESTDIR)\$(bindir)/$wine_binary
7541 case $host_os in
7542 cygwin*|mingw32*)
7543 if test -n "$ac_tool_prefix"; then
7544 # Extract the first word of "${ac_tool_prefix}dlltool", so it can be a program name with args.
7545 set dummy ${ac_tool_prefix}dlltool; ac_word=$2
7546 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7547 $as_echo_n "checking for $ac_word... " >&6; }
7548 if ${ac_cv_prog_DLLTOOL+:} false; then :
7549 $as_echo_n "(cached) " >&6
7550 else
7551 if test -n "$DLLTOOL"; then
7552 ac_cv_prog_DLLTOOL="$DLLTOOL" # Let the user override the test.
7553 else
7554 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7555 for as_dir in $PATH
7557 IFS=$as_save_IFS
7558 test -z "$as_dir" && as_dir=.
7559 for ac_exec_ext in '' $ac_executable_extensions; do
7560 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
7561 ac_cv_prog_DLLTOOL="${ac_tool_prefix}dlltool"
7562 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
7563 break 2
7565 done
7566 done
7567 IFS=$as_save_IFS
7571 DLLTOOL=$ac_cv_prog_DLLTOOL
7572 if test -n "$DLLTOOL"; then
7573 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $DLLTOOL" >&5
7574 $as_echo "$DLLTOOL" >&6; }
7575 else
7576 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7577 $as_echo "no" >&6; }
7582 if test -z "$ac_cv_prog_DLLTOOL"; then
7583 ac_ct_DLLTOOL=$DLLTOOL
7584 # Extract the first word of "dlltool", so it can be a program name with args.
7585 set dummy dlltool; ac_word=$2
7586 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7587 $as_echo_n "checking for $ac_word... " >&6; }
7588 if ${ac_cv_prog_ac_ct_DLLTOOL+:} false; then :
7589 $as_echo_n "(cached) " >&6
7590 else
7591 if test -n "$ac_ct_DLLTOOL"; then
7592 ac_cv_prog_ac_ct_DLLTOOL="$ac_ct_DLLTOOL" # Let the user override the test.
7593 else
7594 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7595 for as_dir in $PATH
7597 IFS=$as_save_IFS
7598 test -z "$as_dir" && as_dir=.
7599 for ac_exec_ext in '' $ac_executable_extensions; do
7600 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
7601 ac_cv_prog_ac_ct_DLLTOOL="dlltool"
7602 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
7603 break 2
7605 done
7606 done
7607 IFS=$as_save_IFS
7611 ac_ct_DLLTOOL=$ac_cv_prog_ac_ct_DLLTOOL
7612 if test -n "$ac_ct_DLLTOOL"; then
7613 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_DLLTOOL" >&5
7614 $as_echo "$ac_ct_DLLTOOL" >&6; }
7615 else
7616 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7617 $as_echo "no" >&6; }
7620 if test "x$ac_ct_DLLTOOL" = x; then
7621 DLLTOOL="false"
7622 else
7623 case $cross_compiling:$ac_tool_warned in
7624 yes:)
7625 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
7626 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
7627 ac_tool_warned=yes ;;
7628 esac
7629 DLLTOOL=$ac_ct_DLLTOOL
7631 else
7632 DLLTOOL="$ac_cv_prog_DLLTOOL"
7635 LIBEXT="dll"
7636 DLLEXT=""
7637 IMPLIBEXT="a"
7638 STATIC_IMPLIBEXT="a"
7639 enable_iphlpapi=${enable_iphlpapi:-no}
7640 enable_kernel32=${enable_kernel32:-no}
7641 enable_msvcrt=${enable_msvcrt:-no}
7642 enable_ntdll=${enable_ntdll:-no}
7643 enable_ws2_32=${enable_ws2_32:-no}
7644 enable_loader=${enable_loader:-no}
7645 enable_server=${enable_server:-no}
7646 with_x=${with_x:-no}
7647 with_pthread=${with_pthread:-no}
7649 crtlibs=""
7650 case $host_os in
7651 mingw32*)
7652 crtlibs="-lmsvcrt"
7653 SOCKET_LIBS="-L\$(top_builddir)/dlls/ws2_32 -lws2_32"
7655 esac
7657 libwine_targets="libwine.dll libwine.a"
7658 LIBWINE_RULES="
7659 OBJS = \$(C_SRCS:.c=.o) \$(EXTRA_OBJS)
7661 all: libwine.dll libwine.a
7663 libwine.a: \$(srcdir)/wine.def
7664 \$(DLLTOOL) -l \$@ -d \$(srcdir)/wine.def
7666 libwine.dll: \$(OBJS) \$(srcdir)/wine.def
7667 \$(CC) -shared \$(srcdir)/wine.def -o \$@ \$(OBJS) $crtlibs \$(EXTRALIBS)
7669 install install-lib:: libwine.dll
7670 \$(INSTALL_DATA) libwine.dll \$(DESTDIR)\$(libdir)/libwine.dll
7672 install install-dev:: libwine.a
7673 \$(INSTALL_DATA) libwine.a \$(DESTDIR)\$(libdir)/libwine.a
7675 uninstall::
7676 -cd \$(DESTDIR)\$(libdir) && \$(RM) libwine.a libwine.dll
7681 darwin*|macosx*)
7682 LIBEXT="dylib"
7683 DLLFLAGS="$DLLFLAGS -fPIC"
7684 LIBWINE_LDFLAGS="-multiply_defined suppress"
7685 LDRPATH_INSTALL="-Wl,-rpath,@loader_path/\`\$(MAKEDEP) -R \$(bindir) \$(libdir)\`"
7686 LDRPATH_LOCAL="-Wl,-rpath,@loader_path/\$(top_builddir)/libs/wine"
7687 COREFOUNDATION_LIBS="-framework CoreFoundation"
7689 IOKIT_LIBS="-framework IOKit -framework CoreFoundation"
7691 FORCEFEEDBACK_LIBS="-framework ForceFeedback -framework CoreFoundation"
7693 APPLICATIONSERVICES_LIBS="-framework ApplicationServices"
7695 CORESERVICES_LIBS="-framework CoreServices"
7697 APPKIT_LIBS="-framework AppKit"
7699 LDEXECFLAGS="-image_base 0x7bf00000 -Wl,-segaddr,WINE_DOS,0x00001000,-segaddr,WINE_SHAREDHEAP,0x7f000000,-sectcreate,__TEXT,__info_plist,wine_info.plist"
7700 case $host_os in
7701 darwin11*) LDEXECFLAGS="-Wl,-macosx_version_min,10.6 $LDEXECFLAGS" ;;
7702 esac
7703 if test "$ac_cv_header_DiskArbitration_DiskArbitration_h" = "yes"
7704 then
7705 DISKARBITRATION_LIBS="-framework DiskArbitration -framework CoreFoundation"
7708 if test "$ac_cv_header_Security_Security_h" = "yes"
7709 then
7710 SECURITY_LIBS="-framework Security -framework CoreFoundation"
7712 ac_save_LIBS="$LIBS"
7713 LIBS="$LIBS $SECURITY_LIBS"
7714 for ac_func in SSLCopyPeerCertificates
7715 do :
7716 ac_fn_c_check_func "$LINENO" "SSLCopyPeerCertificates" "ac_cv_func_SSLCopyPeerCertificates"
7717 if test "x$ac_cv_func_SSLCopyPeerCertificates" = xyes; then :
7718 cat >>confdefs.h <<_ACEOF
7719 #define HAVE_SSLCOPYPEERCERTIFICATES 1
7720 _ACEOF
7723 done
7725 LIBS="$ac_save_LIBS"
7726 with_gnutls=${with_gnutls:-no}
7728 if test "$ac_cv_header_CoreAudio_CoreAudio_h" = "yes" -a "$ac_cv_header_AudioUnit_AudioUnit_h" = "yes"
7729 then
7730 if test "$ac_cv_header_AudioUnit_AudioComponent_h" = "yes"
7731 then
7732 COREAUDIO_LIBS="-framework CoreFoundation -framework CoreAudio -framework AudioUnit -framework AudioToolbox -framework CoreMIDI"
7734 else
7735 COREAUDIO_LIBS="-framework CoreAudio -framework AudioUnit -framework CoreServices -framework AudioToolbox -framework CoreMIDI"
7738 ac_save_LIBS="$LIBS"
7739 LIBS="$LIBS $COREAUDIO_LIBS"
7740 for ac_func in AUGraphAddNode
7741 do :
7742 ac_fn_c_check_func "$LINENO" "AUGraphAddNode" "ac_cv_func_AUGraphAddNode"
7743 if test "x$ac_cv_func_AUGraphAddNode" = xyes; then :
7744 cat >>confdefs.h <<_ACEOF
7745 #define HAVE_AUGRAPHADDNODE 1
7746 _ACEOF
7749 done
7751 LIBS="$ac_save_LIBS"
7753 if test "$ac_cv_header_OpenAL_al_h" = "yes"
7754 then
7755 OPENAL_LIBS="-framework OpenAL"
7758 cat >>confdefs.h <<_ACEOF
7759 #define HAVE_OPENAL 1
7760 _ACEOF
7762 ac_cv_lib_openal=yes
7764 if test "$ac_cv_header_OpenCL_opencl_h" = "yes"
7765 then
7766 OPENCL_LIBS="-framework OpenCL"
7768 ac_cv_lib_OpenCL_clGetPlatformInfo=yes
7770 if test "$ac_cv_header_IOKit_hid_IOHIDLib_h" = "yes"
7771 then
7772 ac_save_LIBS="$LIBS"
7773 LIBS="$LIBS $IOKIT_LIBS"
7774 for ac_func in IOHIDManagerCreate
7775 do :
7776 ac_fn_c_check_func "$LINENO" "IOHIDManagerCreate" "ac_cv_func_IOHIDManagerCreate"
7777 if test "x$ac_cv_func_IOHIDManagerCreate" = xyes; then :
7778 cat >>confdefs.h <<_ACEOF
7779 #define HAVE_IOHIDMANAGERCREATE 1
7780 _ACEOF
7783 done
7785 LIBS="$ac_save_LIBS"
7787 if test "$ac_cv_header_QuickTime_ImageCompression_h" = "yes"
7788 then
7789 QUICKTIME_LIBS="-framework QuickTime -framework ApplicationServices -framework CoreVideo"
7791 enable_wineqtdecoder=${enable_wineqtdecoder:-yes}
7792 else
7793 as_fn_append wine_notices "|QuickTime ${notice_platform}development files not found, video decoding won't be supported."
7795 if test "$ac_cv_header_Carbon_Carbon_h" = "yes"
7796 then
7797 CARBON_LIBS="-framework Carbon"
7801 if test "$ac_cv_header_ApplicationServices_ApplicationServices_h" = "yes"
7802 then
7803 ac_save_LIBS="$LIBS"
7804 LIBS="$LIBS $APPLICATIONSERVICES_LIBS"
7805 ac_fn_c_check_func "$LINENO" "CGDisplayModeGetWidth" "ac_cv_func_CGDisplayModeGetWidth"
7806 if test "x$ac_cv_func_CGDisplayModeGetWidth" = xyes; then :
7807 enable_winemac_drv=${enable_winemac_drv:-yes}
7810 LIBS="$ac_save_LIBS"
7813 if test "x$enable_win16" = "xyes"
7814 then
7815 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether 16-bit code can be built correctly" >&5
7816 $as_echo_n "checking whether 16-bit code can be built correctly... " >&6; }
7817 if test "$cross_compiling" = yes; then :
7818 { $as_echo "$as_me:${as_lineno-$LINENO}: result: cross-compiling, assuming yes" >&5
7819 $as_echo "cross-compiling, assuming yes" >&6; }
7820 else
7821 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
7822 /* end confdefs.h. */
7823 asm(".text\n"
7824 "bad:\tnop;nop\n"
7825 "good:\tnop;nop\n\t"
7826 ".globl _testfunc\n"
7827 "_testfunc:\tcallw good");
7828 extern void testfunc();
7830 main ()
7832 unsigned short *p = (unsigned short *)testfunc;
7833 return p[0] != 0xe866 || p[1] != 0xfffa
7835 return 0;
7837 _ACEOF
7838 if ac_fn_c_try_run "$LINENO"; then :
7839 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
7840 $as_echo "yes" >&6; }
7841 else
7842 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7843 $as_echo "no" >&6; }
7844 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
7846 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \
7847 conftest.$ac_objext conftest.beam conftest.$ac_ext
7852 libwine_targets="libwine.dylib libwine.$libwine_soversion.dylib libwine.$libwine_version.dylib"
7853 LIBWINE_RULES="
7854 OBJS = \$(C_SRCS:.c=.o) \$(EXTRA_OBJS)
7856 all: libwine.dylib
7858 libwine.$libwine_version.dylib: \$(OBJS)
7859 \$(CC) -dynamiclib -install_name @rpath/libwine.$libwine_soversion.dylib -Wl,-rpath,@loader_path/ -compatibility_version $libwine_soversion -current_version $libwine_version \$(OBJS) \$(EXTRALIBS) \$(LDFLAGS) \$(LIBS) -o \$@
7861 libwine.$libwine_soversion.dylib: libwine.$libwine_version.dylib
7862 \$(RM) \$@ && \$(LN_S) libwine.$libwine_version.dylib \$@
7864 libwine.dylib: libwine.$libwine_soversion.dylib
7865 \$(RM) \$@ && \$(LN_S) libwine.$libwine_soversion.dylib \$@
7867 install install-lib:: libwine.$libwine_version.dylib
7868 \$(INSTALL_PROGRAM) libwine.$libwine_version.dylib \$(DESTDIR)\$(libdir)/libwine.$libwine_version.dylib
7869 cd \$(DESTDIR)\$(libdir) && \$(RM) libwine.$libwine_soversion.dylib && \$(LN_S) libwine.$libwine_version.dylib libwine.$libwine_soversion.dylib
7871 install install-dev::
7872 cd \$(DESTDIR)\$(libdir) && \$(RM) libwine.dylib && \$(LN_S) libwine.$libwine_version.dylib libwine.dylib
7874 uninstall::
7875 -cd \$(DESTDIR)\$(libdir) && \$(RM) libwine.dylib libwine.$libwine_soversion.dylib libwine.$libwine_version.dylib
7879 as_fn_append LOADER_RULES "
7880 $wine_binary: main.o wine_info.plist
7881 \$(CC) -o \$@ $LDEXECFLAGS main.o \$(LIBWINE) \$(LIBPORT) \$(EXTRALIBS) \$(LDFLAGS) \$(LDRPATH_LOCAL)
7883 wine-installed: main.o wine_info.plist
7884 \$(CC) -o \$@ $LDEXECFLAGS main.o \$(LIBWINE) \$(LIBPORT) \$(EXTRALIBS) \$(LDFLAGS) \$(LDRPATH_INSTALL)
7888 linux-android*)
7889 DLLFLAGS="$DLLFLAGS -fPIC"
7890 DLLPREFIX="lib"
7891 LDEXECFLAGS=""
7892 dlldir="\${libdir}"
7893 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -fPIC -Wl,--export-dynamic" >&5
7894 $as_echo_n "checking whether the compiler supports -fPIC -Wl,--export-dynamic... " >&6; }
7895 if ${ac_cv_cflags__fPIC__Wl___export_dynamic+:} false; then :
7896 $as_echo_n "(cached) " >&6
7897 else
7898 ac_wine_try_cflags_saved=$CFLAGS
7899 CFLAGS="$CFLAGS -fPIC -Wl,--export-dynamic"
7900 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
7901 /* end confdefs.h. */
7902 int main(int argc, char **argv) { return 0; }
7903 _ACEOF
7904 if ac_fn_c_try_link "$LINENO"; then :
7905 ac_cv_cflags__fPIC__Wl___export_dynamic=yes
7906 else
7907 ac_cv_cflags__fPIC__Wl___export_dynamic=no
7909 rm -f core conftest.err conftest.$ac_objext \
7910 conftest$ac_exeext conftest.$ac_ext
7911 CFLAGS=$ac_wine_try_cflags_saved
7913 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__fPIC__Wl___export_dynamic" >&5
7914 $as_echo "$ac_cv_cflags__fPIC__Wl___export_dynamic" >&6; }
7915 if test "x$ac_cv_cflags__fPIC__Wl___export_dynamic" = xyes; then :
7916 LDEXECFLAGS="-Wl,--export-dynamic"
7918 as_ac_var=`$as_echo "ac_cv_cflags_-fPIC -Wl,--rpath,\\$ORIGIN/../lib" | $as_tr_sh`
7919 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -fPIC -Wl,--rpath,\$ORIGIN/../lib" >&5
7920 $as_echo_n "checking whether the compiler supports -fPIC -Wl,--rpath,\$ORIGIN/../lib... " >&6; }
7921 if eval \${$as_ac_var+:} false; then :
7922 $as_echo_n "(cached) " >&6
7923 else
7924 ac_wine_try_cflags_saved=$CFLAGS
7925 CFLAGS="$CFLAGS -fPIC -Wl,--rpath,\$ORIGIN/../lib"
7926 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
7927 /* end confdefs.h. */
7928 int main(int argc, char **argv) { return 0; }
7929 _ACEOF
7930 if ac_fn_c_try_link "$LINENO"; then :
7931 eval "$as_ac_var=yes"
7932 else
7933 eval "$as_ac_var=no"
7935 rm -f core conftest.err conftest.$ac_objext \
7936 conftest$ac_exeext conftest.$ac_ext
7937 CFLAGS=$ac_wine_try_cflags_saved
7939 eval ac_res=\$$as_ac_var
7940 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
7941 $as_echo "$ac_res" >&6; }
7942 if eval test \"x\$"$as_ac_var"\" = x"yes"; then :
7943 LDRPATH_INSTALL="-Wl,--rpath,\\\$\$ORIGIN/\`\$(MAKEDEP) -R \$(bindir) \$(libdir)\`"
7944 LDRPATH_LOCAL="-Wl,--rpath,\\\$\$ORIGIN/\$(top_builddir)/libs/wine"
7945 else
7946 as_ac_var=`$as_echo "ac_cv_cflags_-fPIC -Wl,-R,\\$ORIGIN/../lib" | $as_tr_sh`
7947 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -fPIC -Wl,-R,\$ORIGIN/../lib" >&5
7948 $as_echo_n "checking whether the compiler supports -fPIC -Wl,-R,\$ORIGIN/../lib... " >&6; }
7949 if eval \${$as_ac_var+:} false; then :
7950 $as_echo_n "(cached) " >&6
7951 else
7952 ac_wine_try_cflags_saved=$CFLAGS
7953 CFLAGS="$CFLAGS -fPIC -Wl,-R,\$ORIGIN/../lib"
7954 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
7955 /* end confdefs.h. */
7956 int main(int argc, char **argv) { return 0; }
7957 _ACEOF
7958 if ac_fn_c_try_link "$LINENO"; then :
7959 eval "$as_ac_var=yes"
7960 else
7961 eval "$as_ac_var=no"
7963 rm -f core conftest.err conftest.$ac_objext \
7964 conftest$ac_exeext conftest.$ac_ext
7965 CFLAGS=$ac_wine_try_cflags_saved
7967 eval ac_res=\$$as_ac_var
7968 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
7969 $as_echo "$ac_res" >&6; }
7970 if eval test \"x\$"$as_ac_var"\" = x"yes"; then :
7971 LDRPATH_INSTALL="-Wl,-R,\\\$\$ORIGIN/\`\$(MAKEDEP) -R \$(bindir) \$(libdir)\`"
7972 LDRPATH_LOCAL="-Wl,-R,\\\$\$ORIGIN/\$(top_builddir)/libs/wine"
7976 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wl,--enable-new-dtags" >&5
7977 $as_echo_n "checking whether the compiler supports -Wl,--enable-new-dtags... " >&6; }
7978 if ${ac_cv_cflags__Wl___enable_new_dtags+:} false; then :
7979 $as_echo_n "(cached) " >&6
7980 else
7981 ac_wine_try_cflags_saved=$CFLAGS
7982 CFLAGS="$CFLAGS -Wl,--enable-new-dtags"
7983 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
7984 /* end confdefs.h. */
7985 int main(int argc, char **argv) { return 0; }
7986 _ACEOF
7987 if ac_fn_c_try_link "$LINENO"; then :
7988 ac_cv_cflags__Wl___enable_new_dtags=yes
7989 else
7990 ac_cv_cflags__Wl___enable_new_dtags=no
7992 rm -f core conftest.err conftest.$ac_objext \
7993 conftest$ac_exeext conftest.$ac_ext
7994 CFLAGS=$ac_wine_try_cflags_saved
7996 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wl___enable_new_dtags" >&5
7997 $as_echo "$ac_cv_cflags__Wl___enable_new_dtags" >&6; }
7998 if test "x$ac_cv_cflags__Wl___enable_new_dtags" = xyes; then :
7999 LDRPATH_INSTALL="$LDRPATH_INSTALL -Wl,--enable-new-dtags"
8002 case $host_cpu in
8003 *i[3456789]86* | x86_64)
8004 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wl,--section-start,.interp=0x7bf00400" >&5
8005 $as_echo_n "checking whether the compiler supports -Wl,--section-start,.interp=0x7bf00400... " >&6; }
8006 if ${ac_cv_cflags__Wl___section_start__interp_0x7bf00400+:} false; then :
8007 $as_echo_n "(cached) " >&6
8008 else
8009 ac_wine_try_cflags_saved=$CFLAGS
8010 CFLAGS="$CFLAGS -Wl,--section-start,.interp=0x7bf00400"
8011 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
8012 /* end confdefs.h. */
8013 int main(int argc, char **argv) { return 0; }
8014 _ACEOF
8015 if ac_fn_c_try_link "$LINENO"; then :
8016 ac_cv_cflags__Wl___section_start__interp_0x7bf00400=yes
8017 else
8018 ac_cv_cflags__Wl___section_start__interp_0x7bf00400=no
8020 rm -f core conftest.err conftest.$ac_objext \
8021 conftest$ac_exeext conftest.$ac_ext
8022 CFLAGS=$ac_wine_try_cflags_saved
8024 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wl___section_start__interp_0x7bf00400" >&5
8025 $as_echo "$ac_cv_cflags__Wl___section_start__interp_0x7bf00400" >&6; }
8026 if test "x$ac_cv_cflags__Wl___section_start__interp_0x7bf00400" = xyes; then :
8027 LDEXECFLAGS="$LDEXECFLAGS -Wl,--section-start,.interp=0x7bf00400"
8030 esac
8032 libwine_targets="libwine.so"
8033 LIBWINE_RULES="
8034 OBJS = \$(C_SRCS:.c=.o) \$(EXTRA_OBJS)
8036 all: libwine.so
8038 libwine.so: \$(OBJS)
8039 \$(CC) -shared \$(OBJS) \$(EXTRALIBS) \$(LDFLAGS) \$(LIBS) -o \$@
8041 install install-lib:: libwine.so
8042 \$(INSTALL_PROGRAM) libwine.so \$(DESTDIR)\$(libdir)/libwine.so
8044 uninstall::
8045 \$(RM) \$(DESTDIR)\$(libdir)/libwine.so
8049 as_fn_append LOADER_RULES "
8050 $wine_binary: main.o
8051 \$(CC) -o \$@ $LDEXECFLAGS main.o \$(LIBWINE) \$(LIBPORT) \$(EXTRALIBS) \$(LDFLAGS) \$(LDRPATH_LOCAL)
8053 wine-installed: main.o
8054 \$(CC) -o \$@ $LDEXECFLAGS main.o \$(LIBWINE) \$(LIBPORT) \$(EXTRALIBS) \$(LDFLAGS) \$(LDRPATH_INSTALL)
8059 DLLFLAGS="$DLLFLAGS -fPIC"
8060 LDEXECFLAGS=""
8061 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we can build a GNU style ELF dll" >&5
8062 $as_echo_n "checking whether we can build a GNU style ELF dll... " >&6; }
8063 if ${ac_cv_c_dll_gnuelf+:} false; then :
8064 $as_echo_n "(cached) " >&6
8065 else
8066 ac_wine_try_cflags_saved=$CFLAGS
8067 CFLAGS="$CFLAGS -fPIC -shared -Wl,-Bsymbolic"
8068 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
8069 /* end confdefs.h. */
8070 void myfunc() {}
8071 _ACEOF
8072 if ac_fn_c_try_link "$LINENO"; then :
8073 ac_cv_c_dll_gnuelf="yes"
8074 else
8075 ac_cv_c_dll_gnuelf="no"
8077 rm -f core conftest.err conftest.$ac_objext \
8078 conftest$ac_exeext conftest.$ac_ext
8079 CFLAGS=$ac_wine_try_cflags_saved
8081 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_dll_gnuelf" >&5
8082 $as_echo "$ac_cv_c_dll_gnuelf" >&6; }
8083 if test "$ac_cv_c_dll_gnuelf" = "yes"
8084 then
8085 LDSHARED="\$(CC) -shared"
8086 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -fPIC -shared -Wl,-soname,confest.so.1" >&5
8087 $as_echo_n "checking whether the compiler supports -fPIC -shared -Wl,-soname,confest.so.1... " >&6; }
8088 if ${ac_cv_cflags__fPIC__shared__Wl__soname_confest_so_1+:} false; then :
8089 $as_echo_n "(cached) " >&6
8090 else
8091 ac_wine_try_cflags_saved=$CFLAGS
8092 CFLAGS="$CFLAGS -fPIC -shared -Wl,-soname,confest.so.1"
8093 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
8094 /* end confdefs.h. */
8095 int main(int argc, char **argv) { return 0; }
8096 _ACEOF
8097 if ac_fn_c_try_link "$LINENO"; then :
8098 ac_cv_cflags__fPIC__shared__Wl__soname_confest_so_1=yes
8099 else
8100 ac_cv_cflags__fPIC__shared__Wl__soname_confest_so_1=no
8102 rm -f core conftest.err conftest.$ac_objext \
8103 conftest$ac_exeext conftest.$ac_ext
8104 CFLAGS=$ac_wine_try_cflags_saved
8106 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__fPIC__shared__Wl__soname_confest_so_1" >&5
8107 $as_echo "$ac_cv_cflags__fPIC__shared__Wl__soname_confest_so_1" >&6; }
8108 if test "x$ac_cv_cflags__fPIC__shared__Wl__soname_confest_so_1" = xyes; then :
8109 LDSHARED="\$(CC) -shared -Wl,-soname,libwine.so.$libwine_soversion"
8110 else
8111 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -fPIC -shared -Wl,-h,confest.so.1" >&5
8112 $as_echo_n "checking whether the compiler supports -fPIC -shared -Wl,-h,confest.so.1... " >&6; }
8113 if ${ac_cv_cflags__fPIC__shared__Wl__h_confest_so_1+:} false; then :
8114 $as_echo_n "(cached) " >&6
8115 else
8116 ac_wine_try_cflags_saved=$CFLAGS
8117 CFLAGS="$CFLAGS -fPIC -shared -Wl,-h,confest.so.1"
8118 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
8119 /* end confdefs.h. */
8120 int main(int argc, char **argv) { return 0; }
8121 _ACEOF
8122 if ac_fn_c_try_link "$LINENO"; then :
8123 ac_cv_cflags__fPIC__shared__Wl__h_confest_so_1=yes
8124 else
8125 ac_cv_cflags__fPIC__shared__Wl__h_confest_so_1=no
8127 rm -f core conftest.err conftest.$ac_objext \
8128 conftest$ac_exeext conftest.$ac_ext
8129 CFLAGS=$ac_wine_try_cflags_saved
8131 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__fPIC__shared__Wl__h_confest_so_1" >&5
8132 $as_echo "$ac_cv_cflags__fPIC__shared__Wl__h_confest_so_1" >&6; }
8133 if test "x$ac_cv_cflags__fPIC__shared__Wl__h_confest_so_1" = xyes; then :
8134 LDSHARED="\$(CC) -shared -Wl,-h,libwine.so.$libwine_soversion"
8138 echo '{ global: *; };' >conftest.map
8139 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -fPIC -shared -Wl,--version-script=conftest.map" >&5
8140 $as_echo_n "checking whether the compiler supports -fPIC -shared -Wl,--version-script=conftest.map... " >&6; }
8141 if ${ac_cv_cflags__fPIC__shared__Wl___version_script_conftest_map+:} false; then :
8142 $as_echo_n "(cached) " >&6
8143 else
8144 ac_wine_try_cflags_saved=$CFLAGS
8145 CFLAGS="$CFLAGS -fPIC -shared -Wl,--version-script=conftest.map"
8146 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
8147 /* end confdefs.h. */
8148 int main(int argc, char **argv) { return 0; }
8149 _ACEOF
8150 if ac_fn_c_try_link "$LINENO"; then :
8151 ac_cv_cflags__fPIC__shared__Wl___version_script_conftest_map=yes
8152 else
8153 ac_cv_cflags__fPIC__shared__Wl___version_script_conftest_map=no
8155 rm -f core conftest.err conftest.$ac_objext \
8156 conftest$ac_exeext conftest.$ac_ext
8157 CFLAGS=$ac_wine_try_cflags_saved
8159 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__fPIC__shared__Wl___version_script_conftest_map" >&5
8160 $as_echo "$ac_cv_cflags__fPIC__shared__Wl___version_script_conftest_map" >&6; }
8161 if test "x$ac_cv_cflags__fPIC__shared__Wl___version_script_conftest_map" = xyes; then :
8162 LDSHARED="$LDSHARED -Wl,--version-script=\$(srcdir)/wine.map"
8164 rm -f conftest.map
8166 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -fPIC -Wl,--export-dynamic" >&5
8167 $as_echo_n "checking whether the compiler supports -fPIC -Wl,--export-dynamic... " >&6; }
8168 if ${ac_cv_cflags__fPIC__Wl___export_dynamic+:} false; then :
8169 $as_echo_n "(cached) " >&6
8170 else
8171 ac_wine_try_cflags_saved=$CFLAGS
8172 CFLAGS="$CFLAGS -fPIC -Wl,--export-dynamic"
8173 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
8174 /* end confdefs.h. */
8175 int main(int argc, char **argv) { return 0; }
8176 _ACEOF
8177 if ac_fn_c_try_link "$LINENO"; then :
8178 ac_cv_cflags__fPIC__Wl___export_dynamic=yes
8179 else
8180 ac_cv_cflags__fPIC__Wl___export_dynamic=no
8182 rm -f core conftest.err conftest.$ac_objext \
8183 conftest$ac_exeext conftest.$ac_ext
8184 CFLAGS=$ac_wine_try_cflags_saved
8186 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__fPIC__Wl___export_dynamic" >&5
8187 $as_echo "$ac_cv_cflags__fPIC__Wl___export_dynamic" >&6; }
8188 if test "x$ac_cv_cflags__fPIC__Wl___export_dynamic" = xyes; then :
8189 LDEXECFLAGS="-Wl,--export-dynamic"
8192 as_ac_var=`$as_echo "ac_cv_cflags_-fPIC -Wl,--rpath,\\$ORIGIN/../lib" | $as_tr_sh`
8193 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -fPIC -Wl,--rpath,\$ORIGIN/../lib" >&5
8194 $as_echo_n "checking whether the compiler supports -fPIC -Wl,--rpath,\$ORIGIN/../lib... " >&6; }
8195 if eval \${$as_ac_var+:} false; then :
8196 $as_echo_n "(cached) " >&6
8197 else
8198 ac_wine_try_cflags_saved=$CFLAGS
8199 CFLAGS="$CFLAGS -fPIC -Wl,--rpath,\$ORIGIN/../lib"
8200 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
8201 /* end confdefs.h. */
8202 int main(int argc, char **argv) { return 0; }
8203 _ACEOF
8204 if ac_fn_c_try_link "$LINENO"; then :
8205 eval "$as_ac_var=yes"
8206 else
8207 eval "$as_ac_var=no"
8209 rm -f core conftest.err conftest.$ac_objext \
8210 conftest$ac_exeext conftest.$ac_ext
8211 CFLAGS=$ac_wine_try_cflags_saved
8213 eval ac_res=\$$as_ac_var
8214 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
8215 $as_echo "$ac_res" >&6; }
8216 if eval test \"x\$"$as_ac_var"\" = x"yes"; then :
8217 LDRPATH_INSTALL="-Wl,--rpath,\\\$\$ORIGIN/\`\$(MAKEDEP) -R \$(bindir) \$(libdir)\`"
8218 LDRPATH_LOCAL="-Wl,--rpath,\\\$\$ORIGIN/\$(top_builddir)/libs/wine"
8219 else
8220 as_ac_var=`$as_echo "ac_cv_cflags_-fPIC -Wl,-R,\\$ORIGIN/../lib" | $as_tr_sh`
8221 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -fPIC -Wl,-R,\$ORIGIN/../lib" >&5
8222 $as_echo_n "checking whether the compiler supports -fPIC -Wl,-R,\$ORIGIN/../lib... " >&6; }
8223 if eval \${$as_ac_var+:} false; then :
8224 $as_echo_n "(cached) " >&6
8225 else
8226 ac_wine_try_cflags_saved=$CFLAGS
8227 CFLAGS="$CFLAGS -fPIC -Wl,-R,\$ORIGIN/../lib"
8228 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
8229 /* end confdefs.h. */
8230 int main(int argc, char **argv) { return 0; }
8231 _ACEOF
8232 if ac_fn_c_try_link "$LINENO"; then :
8233 eval "$as_ac_var=yes"
8234 else
8235 eval "$as_ac_var=no"
8237 rm -f core conftest.err conftest.$ac_objext \
8238 conftest$ac_exeext conftest.$ac_ext
8239 CFLAGS=$ac_wine_try_cflags_saved
8241 eval ac_res=\$$as_ac_var
8242 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
8243 $as_echo "$ac_res" >&6; }
8244 if eval test \"x\$"$as_ac_var"\" = x"yes"; then :
8245 LDRPATH_INSTALL="-Wl,-R,\\\$\$ORIGIN/\`\$(MAKEDEP) -R \$(bindir) \$(libdir)\`"
8246 LDRPATH_LOCAL="-Wl,-R,\\\$\$ORIGIN/\$(top_builddir)/libs/wine"
8250 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wl,--enable-new-dtags" >&5
8251 $as_echo_n "checking whether the compiler supports -Wl,--enable-new-dtags... " >&6; }
8252 if ${ac_cv_cflags__Wl___enable_new_dtags+:} false; then :
8253 $as_echo_n "(cached) " >&6
8254 else
8255 ac_wine_try_cflags_saved=$CFLAGS
8256 CFLAGS="$CFLAGS -Wl,--enable-new-dtags"
8257 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
8258 /* end confdefs.h. */
8259 int main(int argc, char **argv) { return 0; }
8260 _ACEOF
8261 if ac_fn_c_try_link "$LINENO"; then :
8262 ac_cv_cflags__Wl___enable_new_dtags=yes
8263 else
8264 ac_cv_cflags__Wl___enable_new_dtags=no
8266 rm -f core conftest.err conftest.$ac_objext \
8267 conftest$ac_exeext conftest.$ac_ext
8268 CFLAGS=$ac_wine_try_cflags_saved
8270 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wl___enable_new_dtags" >&5
8271 $as_echo "$ac_cv_cflags__Wl___enable_new_dtags" >&6; }
8272 if test "x$ac_cv_cflags__Wl___enable_new_dtags" = xyes; then :
8273 LDRPATH_INSTALL="$LDRPATH_INSTALL -Wl,--enable-new-dtags"
8276 case $host_cpu in
8277 *i[3456789]86* | x86_64)
8278 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wl,--section-start,.interp=0x7bf00400" >&5
8279 $as_echo_n "checking whether the compiler supports -Wl,--section-start,.interp=0x7bf00400... " >&6; }
8280 if ${ac_cv_cflags__Wl___section_start__interp_0x7bf00400+:} false; then :
8281 $as_echo_n "(cached) " >&6
8282 else
8283 ac_wine_try_cflags_saved=$CFLAGS
8284 CFLAGS="$CFLAGS -Wl,--section-start,.interp=0x7bf00400"
8285 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
8286 /* end confdefs.h. */
8287 int main(int argc, char **argv) { return 0; }
8288 _ACEOF
8289 if ac_fn_c_try_link "$LINENO"; then :
8290 ac_cv_cflags__Wl___section_start__interp_0x7bf00400=yes
8291 else
8292 ac_cv_cflags__Wl___section_start__interp_0x7bf00400=no
8294 rm -f core conftest.err conftest.$ac_objext \
8295 conftest$ac_exeext conftest.$ac_ext
8296 CFLAGS=$ac_wine_try_cflags_saved
8298 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wl___section_start__interp_0x7bf00400" >&5
8299 $as_echo "$ac_cv_cflags__Wl___section_start__interp_0x7bf00400" >&6; }
8300 if test "x$ac_cv_cflags__Wl___section_start__interp_0x7bf00400" = xyes; then :
8301 case $host_os in
8302 freebsd* | kfreebsd*-gnu) LDEXECFLAGS="$LDEXECFLAGS -Wl,--section-start,.interp=0x60000400" ;;
8303 *) LDEXECFLAGS="$LDEXECFLAGS -Wl,--section-start,.interp=0x7bf00400" ;;
8304 esac
8307 # Extract the first word of "prelink", so it can be a program name with args.
8308 set dummy prelink; ac_word=$2
8309 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
8310 $as_echo_n "checking for $ac_word... " >&6; }
8311 if ${ac_cv_path_PRELINK+:} false; then :
8312 $as_echo_n "(cached) " >&6
8313 else
8314 case $PRELINK in
8315 [\\/]* | ?:[\\/]*)
8316 ac_cv_path_PRELINK="$PRELINK" # Let the user override the test with a path.
8319 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
8320 for as_dir in /sbin /usr/sbin $PATH
8322 IFS=$as_save_IFS
8323 test -z "$as_dir" && as_dir=.
8324 for ac_exec_ext in '' $ac_executable_extensions; do
8325 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
8326 ac_cv_path_PRELINK="$as_dir/$ac_word$ac_exec_ext"
8327 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
8328 break 2
8330 done
8331 done
8332 IFS=$as_save_IFS
8334 test -z "$ac_cv_path_PRELINK" && ac_cv_path_PRELINK="false"
8336 esac
8338 PRELINK=$ac_cv_path_PRELINK
8339 if test -n "$PRELINK"; then
8340 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $PRELINK" >&5
8341 $as_echo "$PRELINK" >&6; }
8342 else
8343 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
8344 $as_echo "no" >&6; }
8348 if test "x$PRELINK" = xfalse
8349 then
8350 as_fn_append wine_warnings "|prelink not found, base address of core dlls won't be set correctly."
8353 esac
8355 else
8356 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we can build a UnixWare (Solaris) dll" >&5
8357 $as_echo_n "checking whether we can build a UnixWare (Solaris) dll... " >&6; }
8358 if ${ac_cv_c_dll_unixware+:} false; then :
8359 $as_echo_n "(cached) " >&6
8360 else
8361 ac_wine_try_cflags_saved=$CFLAGS
8362 CFLAGS="$CFLAGS -fPIC -Wl,-G,-h,conftest.so.1.0,-B,symbolic"
8363 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
8364 /* end confdefs.h. */
8365 void myfunc() {}
8366 _ACEOF
8367 if ac_fn_c_try_link "$LINENO"; then :
8368 ac_cv_c_dll_unixware="yes"
8369 else
8370 ac_cv_c_dll_unixware="no"
8372 rm -f core conftest.err conftest.$ac_objext \
8373 conftest$ac_exeext conftest.$ac_ext
8374 CFLAGS=$ac_wine_try_cflags_saved
8376 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_dll_unixware" >&5
8377 $as_echo "$ac_cv_c_dll_unixware" >&6; }
8378 if test "$ac_cv_c_dll_unixware" = "yes"
8379 then
8380 LDSHARED="\$(CC) -Wl,-G,-h,libwine.so.$libwine_soversion"
8383 libwine_targets="libwine.so libwine.so.$libwine_soversion libwine.so.$libwine_version"
8384 LIBWINE_RULES="
8385 OBJS = \$(C_SRCS:.c=.o) \$(EXTRA_OBJS)
8387 all: libwine.so
8389 libwine.so.$libwine_version: \$(OBJS) \$(srcdir)/wine.map
8390 $LDSHARED \$(OBJS) \$(EXTRALIBS) \$(LDFLAGS) \$(LIBS) -o \$@
8392 libwine.so.$libwine_soversion: libwine.so.$libwine_version
8393 \$(RM) \$@ && \$(LN_S) libwine.so.$libwine_version \$@
8395 libwine.so: libwine.so.$libwine_soversion
8396 \$(RM) \$@ && \$(LN_S) libwine.so.$libwine_soversion \$@
8398 install install-lib:: libwine.so.$libwine_version
8399 \$(INSTALL_PROGRAM) libwine.so.$libwine_version \$(DESTDIR)\$(libdir)/libwine.so.$libwine_version
8400 cd \$(DESTDIR)\$(libdir) && \$(RM) libwine.so.$libwine_soversion && \$(LN_S) libwine.so.$libwine_version libwine.so.$libwine_soversion
8402 install install-dev::
8403 cd \$(DESTDIR)\$(libdir) && \$(RM) libwine.so && \$(LN_S) libwine.so.$libwine_version libwine.so
8405 uninstall::
8406 -cd \$(DESTDIR)\$(libdir) && \$(RM) libwine.so libwine.so.$libwine_soversion libwine.so.$libwine_version
8410 as_fn_append LOADER_RULES "
8411 $wine_binary: main.o
8412 \$(CC) -o \$@ $LDEXECFLAGS main.o \$(LIBWINE) \$(LIBPORT) \$(EXTRALIBS) \$(LDFLAGS) \$(LDRPATH_LOCAL)
8414 wine-installed: main.o
8415 \$(CC) -o \$@ $LDEXECFLAGS main.o \$(LIBWINE) \$(LIBPORT) \$(EXTRALIBS) \$(LDFLAGS) \$(LDRPATH_INSTALL)
8418 esac
8420 as_fn_append LIBWINE_RULES "
8421 EXTRA_TARGETS = $libwine_targets
8424 enable_wineqtdecoder=${enable_wineqtdecoder:-no}
8425 enable_winemac_drv=${enable_winemac_drv:-no}
8427 CROSSTARGET=""
8429 if test "$cross_compiling" = "no" -a "x$enable_tests" != xno -a "$LIBEXT" != "dll"
8430 then
8431 case "$host_cpu" in
8432 i[3456789]86*)
8433 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
8434 mingw32-gcc" ;;
8435 x86_64)
8436 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 " ;;
8438 ac_prefix_list="" ;;
8439 esac
8440 for ac_prog in $ac_prefix_list
8442 # Extract the first word of "$ac_prog", so it can be a program name with args.
8443 set dummy $ac_prog; ac_word=$2
8444 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
8445 $as_echo_n "checking for $ac_word... " >&6; }
8446 if ${ac_cv_prog_CROSSCC+:} false; then :
8447 $as_echo_n "(cached) " >&6
8448 else
8449 if test -n "$CROSSCC"; then
8450 ac_cv_prog_CROSSCC="$CROSSCC" # Let the user override the test.
8451 else
8452 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
8453 for as_dir in $PATH
8455 IFS=$as_save_IFS
8456 test -z "$as_dir" && as_dir=.
8457 for ac_exec_ext in '' $ac_executable_extensions; do
8458 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
8459 ac_cv_prog_CROSSCC="$ac_prog"
8460 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
8461 break 2
8463 done
8464 done
8465 IFS=$as_save_IFS
8469 CROSSCC=$ac_cv_prog_CROSSCC
8470 if test -n "$CROSSCC"; then
8471 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CROSSCC" >&5
8472 $as_echo "$CROSSCC" >&6; }
8473 else
8474 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
8475 $as_echo "no" >&6; }
8479 test -n "$CROSSCC" && break
8480 done
8481 test -n "$CROSSCC" || CROSSCC="false"
8483 if test "$CROSSCC" != "false"
8484 then
8485 ac_save_CC="$CC"
8486 CC="$CROSSCC"
8487 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CROSSCC works" >&5
8488 $as_echo_n "checking whether $CROSSCC works... " >&6; }
8489 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
8490 /* end confdefs.h. */
8493 main ()
8497 return 0;
8499 _ACEOF
8500 if ac_fn_c_try_compile "$LINENO"; then :
8501 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
8502 $as_echo "yes" >&6; }
8503 set x $CROSSCC
8504 shift
8505 while test $# -ge 1
8507 case "$1" in
8508 *-gcc) CROSSTARGET=`expr "$1" : '\(.*\)-gcc'` ;;
8509 esac
8510 shift
8511 done
8512 else
8513 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
8514 $as_echo "no" >&6; }
8516 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
8517 CC="$ac_save_CC"
8522 if test "$ac_cv_header_pthread_h" = "yes"
8523 then
8524 ac_fn_c_check_func "$LINENO" "pthread_create" "ac_cv_func_pthread_create"
8525 if test "x$ac_cv_func_pthread_create" = xyes; then :
8527 else
8528 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for pthread_create in -lpthread" >&5
8529 $as_echo_n "checking for pthread_create in -lpthread... " >&6; }
8530 if ${ac_cv_lib_pthread_pthread_create+:} false; then :
8531 $as_echo_n "(cached) " >&6
8532 else
8533 ac_check_lib_save_LIBS=$LIBS
8534 LIBS="-lpthread $LIBS"
8535 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
8536 /* end confdefs.h. */
8538 /* Override any GCC internal prototype to avoid an error.
8539 Use char because int might match the return type of a GCC
8540 builtin and then its argument prototype would still apply. */
8541 #ifdef __cplusplus
8542 extern "C"
8543 #endif
8544 char pthread_create ();
8546 main ()
8548 return pthread_create ();
8550 return 0;
8552 _ACEOF
8553 if ac_fn_c_try_link "$LINENO"; then :
8554 ac_cv_lib_pthread_pthread_create=yes
8555 else
8556 ac_cv_lib_pthread_pthread_create=no
8558 rm -f core conftest.err conftest.$ac_objext \
8559 conftest$ac_exeext conftest.$ac_ext
8560 LIBS=$ac_check_lib_save_LIBS
8562 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_pthread_pthread_create" >&5
8563 $as_echo "$ac_cv_lib_pthread_pthread_create" >&6; }
8564 if test "x$ac_cv_lib_pthread_pthread_create" = xyes; then :
8565 PTHREAD_LIBS="-lpthread"
8572 if test "x$ac_cv_func_pthread_create" != xyes -a "x$PTHREAD_LIBS" = x; then :
8573 case "x$with_pthread" in
8574 xno) ;;
8575 *) as_fn_error $? "pthread ${notice_platform}development files not found.
8576 Wine cannot support threads without libpthread.
8577 Use the --without-pthread option if you really want this." "$LINENO" 5 ;;
8578 esac
8582 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for X" >&5
8583 $as_echo_n "checking for X... " >&6; }
8586 # Check whether --with-x was given.
8587 if test "${with_x+set}" = set; then :
8588 withval=$with_x;
8591 # $have_x is `yes', `no', `disabled', or empty when we do not yet know.
8592 if test "x$with_x" = xno; then
8593 # The user explicitly disabled X.
8594 have_x=disabled
8595 else
8596 case $x_includes,$x_libraries in #(
8597 *\'*) as_fn_error $? "cannot use X directory names containing '" "$LINENO" 5;; #(
8598 *,NONE | NONE,*) if ${ac_cv_have_x+:} false; then :
8599 $as_echo_n "(cached) " >&6
8600 else
8601 # One or both of the vars are not set, and there is no cached value.
8602 ac_x_includes=no ac_x_libraries=no
8603 rm -f -r conftest.dir
8604 if mkdir conftest.dir; then
8605 cd conftest.dir
8606 cat >Imakefile <<'_ACEOF'
8607 incroot:
8608 @echo incroot='${INCROOT}'
8609 usrlibdir:
8610 @echo usrlibdir='${USRLIBDIR}'
8611 libdir:
8612 @echo libdir='${LIBDIR}'
8613 _ACEOF
8614 if (export CC; ${XMKMF-xmkmf}) >/dev/null 2>/dev/null && test -f Makefile; then
8615 # GNU make sometimes prints "make[1]: Entering ...", which would confuse us.
8616 for ac_var in incroot usrlibdir libdir; do
8617 eval "ac_im_$ac_var=\`\${MAKE-make} $ac_var 2>/dev/null | sed -n 's/^$ac_var=//p'\`"
8618 done
8619 # Open Windows xmkmf reportedly sets LIBDIR instead of USRLIBDIR.
8620 for ac_extension in a so sl dylib la dll; do
8621 if test ! -f "$ac_im_usrlibdir/libX11.$ac_extension" &&
8622 test -f "$ac_im_libdir/libX11.$ac_extension"; then
8623 ac_im_usrlibdir=$ac_im_libdir; break
8625 done
8626 # Screen out bogus values from the imake configuration. They are
8627 # bogus both because they are the default anyway, and because
8628 # using them would break gcc on systems where it needs fixed includes.
8629 case $ac_im_incroot in
8630 /usr/include) ac_x_includes= ;;
8631 *) test -f "$ac_im_incroot/X11/Xos.h" && ac_x_includes=$ac_im_incroot;;
8632 esac
8633 case $ac_im_usrlibdir in
8634 /usr/lib | /usr/lib64 | /lib | /lib64) ;;
8635 *) test -d "$ac_im_usrlibdir" && ac_x_libraries=$ac_im_usrlibdir ;;
8636 esac
8638 cd ..
8639 rm -f -r conftest.dir
8642 # Standard set of common directories for X headers.
8643 # Check X11 before X11Rn because it is often a symlink to the current release.
8644 ac_x_header_dirs='
8645 /usr/X11/include
8646 /usr/X11R7/include
8647 /usr/X11R6/include
8648 /usr/X11R5/include
8649 /usr/X11R4/include
8651 /usr/include/X11
8652 /usr/include/X11R7
8653 /usr/include/X11R6
8654 /usr/include/X11R5
8655 /usr/include/X11R4
8657 /usr/local/X11/include
8658 /usr/local/X11R7/include
8659 /usr/local/X11R6/include
8660 /usr/local/X11R5/include
8661 /usr/local/X11R4/include
8663 /usr/local/include/X11
8664 /usr/local/include/X11R7
8665 /usr/local/include/X11R6
8666 /usr/local/include/X11R5
8667 /usr/local/include/X11R4
8669 /usr/X386/include
8670 /usr/x386/include
8671 /usr/XFree86/include/X11
8673 /usr/include
8674 /usr/local/include
8675 /usr/unsupported/include
8676 /usr/athena/include
8677 /usr/local/x11r5/include
8678 /usr/lpp/Xamples/include
8680 /usr/openwin/include
8681 /usr/openwin/share/include'
8683 if test "$ac_x_includes" = no; then
8684 # Guess where to find include files, by looking for Xlib.h.
8685 # First, try using that file with no special directory specified.
8686 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
8687 /* end confdefs.h. */
8688 #include <X11/Xlib.h>
8689 _ACEOF
8690 if ac_fn_c_try_cpp "$LINENO"; then :
8691 # We can compile using X headers with no special include directory.
8692 ac_x_includes=
8693 else
8694 for ac_dir in $ac_x_header_dirs; do
8695 if test -r "$ac_dir/X11/Xlib.h"; then
8696 ac_x_includes=$ac_dir
8697 break
8699 done
8701 rm -f conftest.err conftest.i conftest.$ac_ext
8702 fi # $ac_x_includes = no
8704 if test "$ac_x_libraries" = no; then
8705 # Check for the libraries.
8706 # See if we find them without any special options.
8707 # Don't add to $LIBS permanently.
8708 ac_save_LIBS=$LIBS
8709 LIBS="-lX11 $LIBS"
8710 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
8711 /* end confdefs.h. */
8712 #include <X11/Xlib.h>
8714 main ()
8716 XrmInitialize ()
8718 return 0;
8720 _ACEOF
8721 if ac_fn_c_try_link "$LINENO"; then :
8722 LIBS=$ac_save_LIBS
8723 # We can link X programs with no special library path.
8724 ac_x_libraries=
8725 else
8726 LIBS=$ac_save_LIBS
8727 for ac_dir in `$as_echo "$ac_x_includes $ac_x_header_dirs" | sed s/include/lib/g`
8729 # Don't even attempt the hair of trying to link an X program!
8730 for ac_extension in a so sl dylib la dll; do
8731 if test -r "$ac_dir/libX11.$ac_extension"; then
8732 ac_x_libraries=$ac_dir
8733 break 2
8735 done
8736 done
8738 rm -f core conftest.err conftest.$ac_objext \
8739 conftest$ac_exeext conftest.$ac_ext
8740 fi # $ac_x_libraries = no
8742 case $ac_x_includes,$ac_x_libraries in #(
8743 no,* | *,no | *\'*)
8744 # Didn't find X, or a directory has "'" in its name.
8745 ac_cv_have_x="have_x=no";; #(
8747 # Record where we found X for the cache.
8748 ac_cv_have_x="have_x=yes\
8749 ac_x_includes='$ac_x_includes'\
8750 ac_x_libraries='$ac_x_libraries'"
8751 esac
8753 ;; #(
8754 *) have_x=yes;;
8755 esac
8756 eval "$ac_cv_have_x"
8757 fi # $with_x != no
8759 if test "$have_x" != yes; then
8760 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $have_x" >&5
8761 $as_echo "$have_x" >&6; }
8762 no_x=yes
8763 else
8764 # If each of the values was on the command line, it overrides each guess.
8765 test "x$x_includes" = xNONE && x_includes=$ac_x_includes
8766 test "x$x_libraries" = xNONE && x_libraries=$ac_x_libraries
8767 # Update the cache value to reflect the command line values.
8768 ac_cv_have_x="have_x=yes\
8769 ac_x_includes='$x_includes'\
8770 ac_x_libraries='$x_libraries'"
8771 { $as_echo "$as_me:${as_lineno-$LINENO}: result: libraries $x_libraries, headers $x_includes" >&5
8772 $as_echo "libraries $x_libraries, headers $x_includes" >&6; }
8775 if test "$no_x" = yes; then
8776 # Not all programs may use this symbol, but it does not hurt to define it.
8778 $as_echo "#define X_DISPLAY_MISSING 1" >>confdefs.h
8780 X_CFLAGS= X_PRE_LIBS= X_LIBS= X_EXTRA_LIBS=
8781 else
8782 if test -n "$x_includes"; then
8783 X_CFLAGS="$X_CFLAGS -I$x_includes"
8786 # It would also be nice to do this for all -L options, not just this one.
8787 if test -n "$x_libraries"; then
8788 X_LIBS="$X_LIBS -L$x_libraries"
8789 # For Solaris; some versions of Sun CC require a space after -R and
8790 # others require no space. Words are not sufficient . . . .
8791 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether -R must be followed by a space" >&5
8792 $as_echo_n "checking whether -R must be followed by a space... " >&6; }
8793 ac_xsave_LIBS=$LIBS; LIBS="$LIBS -R$x_libraries"
8794 ac_xsave_c_werror_flag=$ac_c_werror_flag
8795 ac_c_werror_flag=yes
8796 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
8797 /* end confdefs.h. */
8800 main ()
8804 return 0;
8806 _ACEOF
8807 if ac_fn_c_try_link "$LINENO"; then :
8808 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
8809 $as_echo "no" >&6; }
8810 X_LIBS="$X_LIBS -R$x_libraries"
8811 else
8812 LIBS="$ac_xsave_LIBS -R $x_libraries"
8813 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
8814 /* end confdefs.h. */
8817 main ()
8821 return 0;
8823 _ACEOF
8824 if ac_fn_c_try_link "$LINENO"; then :
8825 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
8826 $as_echo "yes" >&6; }
8827 X_LIBS="$X_LIBS -R $x_libraries"
8828 else
8829 { $as_echo "$as_me:${as_lineno-$LINENO}: result: neither works" >&5
8830 $as_echo "neither works" >&6; }
8832 rm -f core conftest.err conftest.$ac_objext \
8833 conftest$ac_exeext conftest.$ac_ext
8835 rm -f core conftest.err conftest.$ac_objext \
8836 conftest$ac_exeext conftest.$ac_ext
8837 ac_c_werror_flag=$ac_xsave_c_werror_flag
8838 LIBS=$ac_xsave_LIBS
8841 # Check for system-dependent libraries X programs must link with.
8842 # Do this before checking for the system-independent R6 libraries
8843 # (-lICE), since we may need -lsocket or whatever for X linking.
8845 if test "$ISC" = yes; then
8846 X_EXTRA_LIBS="$X_EXTRA_LIBS -lnsl_s -linet"
8847 else
8848 # Martyn Johnson says this is needed for Ultrix, if the X
8849 # libraries were built with DECnet support. And Karl Berry says
8850 # the Alpha needs dnet_stub (dnet does not exist).
8851 ac_xsave_LIBS="$LIBS"; LIBS="$LIBS $X_LIBS -lX11"
8852 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
8853 /* end confdefs.h. */
8855 /* Override any GCC internal prototype to avoid an error.
8856 Use char because int might match the return type of a GCC
8857 builtin and then its argument prototype would still apply. */
8858 #ifdef __cplusplus
8859 extern "C"
8860 #endif
8861 char XOpenDisplay ();
8863 main ()
8865 return XOpenDisplay ();
8867 return 0;
8869 _ACEOF
8870 if ac_fn_c_try_link "$LINENO"; then :
8872 else
8873 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dnet_ntoa in -ldnet" >&5
8874 $as_echo_n "checking for dnet_ntoa in -ldnet... " >&6; }
8875 if ${ac_cv_lib_dnet_dnet_ntoa+:} false; then :
8876 $as_echo_n "(cached) " >&6
8877 else
8878 ac_check_lib_save_LIBS=$LIBS
8879 LIBS="-ldnet $LIBS"
8880 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
8881 /* end confdefs.h. */
8883 /* Override any GCC internal prototype to avoid an error.
8884 Use char because int might match the return type of a GCC
8885 builtin and then its argument prototype would still apply. */
8886 #ifdef __cplusplus
8887 extern "C"
8888 #endif
8889 char dnet_ntoa ();
8891 main ()
8893 return dnet_ntoa ();
8895 return 0;
8897 _ACEOF
8898 if ac_fn_c_try_link "$LINENO"; then :
8899 ac_cv_lib_dnet_dnet_ntoa=yes
8900 else
8901 ac_cv_lib_dnet_dnet_ntoa=no
8903 rm -f core conftest.err conftest.$ac_objext \
8904 conftest$ac_exeext conftest.$ac_ext
8905 LIBS=$ac_check_lib_save_LIBS
8907 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dnet_dnet_ntoa" >&5
8908 $as_echo "$ac_cv_lib_dnet_dnet_ntoa" >&6; }
8909 if test "x$ac_cv_lib_dnet_dnet_ntoa" = xyes; then :
8910 X_EXTRA_LIBS="$X_EXTRA_LIBS -ldnet"
8913 if test $ac_cv_lib_dnet_dnet_ntoa = no; then
8914 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dnet_ntoa in -ldnet_stub" >&5
8915 $as_echo_n "checking for dnet_ntoa in -ldnet_stub... " >&6; }
8916 if ${ac_cv_lib_dnet_stub_dnet_ntoa+:} false; then :
8917 $as_echo_n "(cached) " >&6
8918 else
8919 ac_check_lib_save_LIBS=$LIBS
8920 LIBS="-ldnet_stub $LIBS"
8921 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
8922 /* end confdefs.h. */
8924 /* Override any GCC internal prototype to avoid an error.
8925 Use char because int might match the return type of a GCC
8926 builtin and then its argument prototype would still apply. */
8927 #ifdef __cplusplus
8928 extern "C"
8929 #endif
8930 char dnet_ntoa ();
8932 main ()
8934 return dnet_ntoa ();
8936 return 0;
8938 _ACEOF
8939 if ac_fn_c_try_link "$LINENO"; then :
8940 ac_cv_lib_dnet_stub_dnet_ntoa=yes
8941 else
8942 ac_cv_lib_dnet_stub_dnet_ntoa=no
8944 rm -f core conftest.err conftest.$ac_objext \
8945 conftest$ac_exeext conftest.$ac_ext
8946 LIBS=$ac_check_lib_save_LIBS
8948 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dnet_stub_dnet_ntoa" >&5
8949 $as_echo "$ac_cv_lib_dnet_stub_dnet_ntoa" >&6; }
8950 if test "x$ac_cv_lib_dnet_stub_dnet_ntoa" = xyes; then :
8951 X_EXTRA_LIBS="$X_EXTRA_LIBS -ldnet_stub"
8956 rm -f core conftest.err conftest.$ac_objext \
8957 conftest$ac_exeext conftest.$ac_ext
8958 LIBS="$ac_xsave_LIBS"
8960 # msh@cis.ufl.edu says -lnsl (and -lsocket) are needed for his 386/AT,
8961 # to get the SysV transport functions.
8962 # Chad R. Larson says the Pyramis MIS-ES running DC/OSx (SVR4)
8963 # needs -lnsl.
8964 # The nsl library prevents programs from opening the X display
8965 # on Irix 5.2, according to T.E. Dickey.
8966 # The functions gethostbyname, getservbyname, and inet_addr are
8967 # in -lbsd on LynxOS 3.0.1/i386, according to Lars Hecking.
8968 ac_fn_c_check_func "$LINENO" "gethostbyname" "ac_cv_func_gethostbyname"
8969 if test "x$ac_cv_func_gethostbyname" = xyes; then :
8973 if test $ac_cv_func_gethostbyname = no; then
8974 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for gethostbyname in -lnsl" >&5
8975 $as_echo_n "checking for gethostbyname in -lnsl... " >&6; }
8976 if ${ac_cv_lib_nsl_gethostbyname+:} false; then :
8977 $as_echo_n "(cached) " >&6
8978 else
8979 ac_check_lib_save_LIBS=$LIBS
8980 LIBS="-lnsl $LIBS"
8981 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
8982 /* end confdefs.h. */
8984 /* Override any GCC internal prototype to avoid an error.
8985 Use char because int might match the return type of a GCC
8986 builtin and then its argument prototype would still apply. */
8987 #ifdef __cplusplus
8988 extern "C"
8989 #endif
8990 char gethostbyname ();
8992 main ()
8994 return gethostbyname ();
8996 return 0;
8998 _ACEOF
8999 if ac_fn_c_try_link "$LINENO"; then :
9000 ac_cv_lib_nsl_gethostbyname=yes
9001 else
9002 ac_cv_lib_nsl_gethostbyname=no
9004 rm -f core conftest.err conftest.$ac_objext \
9005 conftest$ac_exeext conftest.$ac_ext
9006 LIBS=$ac_check_lib_save_LIBS
9008 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_nsl_gethostbyname" >&5
9009 $as_echo "$ac_cv_lib_nsl_gethostbyname" >&6; }
9010 if test "x$ac_cv_lib_nsl_gethostbyname" = xyes; then :
9011 X_EXTRA_LIBS="$X_EXTRA_LIBS -lnsl"
9014 if test $ac_cv_lib_nsl_gethostbyname = no; then
9015 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for gethostbyname in -lbsd" >&5
9016 $as_echo_n "checking for gethostbyname in -lbsd... " >&6; }
9017 if ${ac_cv_lib_bsd_gethostbyname+:} false; then :
9018 $as_echo_n "(cached) " >&6
9019 else
9020 ac_check_lib_save_LIBS=$LIBS
9021 LIBS="-lbsd $LIBS"
9022 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9023 /* end confdefs.h. */
9025 /* Override any GCC internal prototype to avoid an error.
9026 Use char because int might match the return type of a GCC
9027 builtin and then its argument prototype would still apply. */
9028 #ifdef __cplusplus
9029 extern "C"
9030 #endif
9031 char gethostbyname ();
9033 main ()
9035 return gethostbyname ();
9037 return 0;
9039 _ACEOF
9040 if ac_fn_c_try_link "$LINENO"; then :
9041 ac_cv_lib_bsd_gethostbyname=yes
9042 else
9043 ac_cv_lib_bsd_gethostbyname=no
9045 rm -f core conftest.err conftest.$ac_objext \
9046 conftest$ac_exeext conftest.$ac_ext
9047 LIBS=$ac_check_lib_save_LIBS
9049 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_bsd_gethostbyname" >&5
9050 $as_echo "$ac_cv_lib_bsd_gethostbyname" >&6; }
9051 if test "x$ac_cv_lib_bsd_gethostbyname" = xyes; then :
9052 X_EXTRA_LIBS="$X_EXTRA_LIBS -lbsd"
9058 # lieder@skyler.mavd.honeywell.com says without -lsocket,
9059 # socket/setsockopt and other routines are undefined under SCO ODT
9060 # 2.0. But -lsocket is broken on IRIX 5.2 (and is not necessary
9061 # on later versions), says Simon Leinen: it contains gethostby*
9062 # variants that don't use the name server (or something). -lsocket
9063 # must be given before -lnsl if both are needed. We assume that
9064 # if connect needs -lnsl, so does gethostbyname.
9065 ac_fn_c_check_func "$LINENO" "connect" "ac_cv_func_connect"
9066 if test "x$ac_cv_func_connect" = xyes; then :
9070 if test $ac_cv_func_connect = no; then
9071 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for connect in -lsocket" >&5
9072 $as_echo_n "checking for connect in -lsocket... " >&6; }
9073 if ${ac_cv_lib_socket_connect+:} false; then :
9074 $as_echo_n "(cached) " >&6
9075 else
9076 ac_check_lib_save_LIBS=$LIBS
9077 LIBS="-lsocket $X_EXTRA_LIBS $LIBS"
9078 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9079 /* end confdefs.h. */
9081 /* Override any GCC internal prototype to avoid an error.
9082 Use char because int might match the return type of a GCC
9083 builtin and then its argument prototype would still apply. */
9084 #ifdef __cplusplus
9085 extern "C"
9086 #endif
9087 char connect ();
9089 main ()
9091 return connect ();
9093 return 0;
9095 _ACEOF
9096 if ac_fn_c_try_link "$LINENO"; then :
9097 ac_cv_lib_socket_connect=yes
9098 else
9099 ac_cv_lib_socket_connect=no
9101 rm -f core conftest.err conftest.$ac_objext \
9102 conftest$ac_exeext conftest.$ac_ext
9103 LIBS=$ac_check_lib_save_LIBS
9105 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_socket_connect" >&5
9106 $as_echo "$ac_cv_lib_socket_connect" >&6; }
9107 if test "x$ac_cv_lib_socket_connect" = xyes; then :
9108 X_EXTRA_LIBS="-lsocket $X_EXTRA_LIBS"
9113 # Guillermo Gomez says -lposix is necessary on A/UX.
9114 ac_fn_c_check_func "$LINENO" "remove" "ac_cv_func_remove"
9115 if test "x$ac_cv_func_remove" = xyes; then :
9119 if test $ac_cv_func_remove = no; then
9120 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for remove in -lposix" >&5
9121 $as_echo_n "checking for remove in -lposix... " >&6; }
9122 if ${ac_cv_lib_posix_remove+:} false; then :
9123 $as_echo_n "(cached) " >&6
9124 else
9125 ac_check_lib_save_LIBS=$LIBS
9126 LIBS="-lposix $LIBS"
9127 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9128 /* end confdefs.h. */
9130 /* Override any GCC internal prototype to avoid an error.
9131 Use char because int might match the return type of a GCC
9132 builtin and then its argument prototype would still apply. */
9133 #ifdef __cplusplus
9134 extern "C"
9135 #endif
9136 char remove ();
9138 main ()
9140 return remove ();
9142 return 0;
9144 _ACEOF
9145 if ac_fn_c_try_link "$LINENO"; then :
9146 ac_cv_lib_posix_remove=yes
9147 else
9148 ac_cv_lib_posix_remove=no
9150 rm -f core conftest.err conftest.$ac_objext \
9151 conftest$ac_exeext conftest.$ac_ext
9152 LIBS=$ac_check_lib_save_LIBS
9154 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_posix_remove" >&5
9155 $as_echo "$ac_cv_lib_posix_remove" >&6; }
9156 if test "x$ac_cv_lib_posix_remove" = xyes; then :
9157 X_EXTRA_LIBS="$X_EXTRA_LIBS -lposix"
9162 # BSDI BSD/OS 2.1 needs -lipc for XOpenDisplay.
9163 ac_fn_c_check_func "$LINENO" "shmat" "ac_cv_func_shmat"
9164 if test "x$ac_cv_func_shmat" = xyes; then :
9168 if test $ac_cv_func_shmat = no; then
9169 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for shmat in -lipc" >&5
9170 $as_echo_n "checking for shmat in -lipc... " >&6; }
9171 if ${ac_cv_lib_ipc_shmat+:} false; then :
9172 $as_echo_n "(cached) " >&6
9173 else
9174 ac_check_lib_save_LIBS=$LIBS
9175 LIBS="-lipc $LIBS"
9176 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9177 /* end confdefs.h. */
9179 /* Override any GCC internal prototype to avoid an error.
9180 Use char because int might match the return type of a GCC
9181 builtin and then its argument prototype would still apply. */
9182 #ifdef __cplusplus
9183 extern "C"
9184 #endif
9185 char shmat ();
9187 main ()
9189 return shmat ();
9191 return 0;
9193 _ACEOF
9194 if ac_fn_c_try_link "$LINENO"; then :
9195 ac_cv_lib_ipc_shmat=yes
9196 else
9197 ac_cv_lib_ipc_shmat=no
9199 rm -f core conftest.err conftest.$ac_objext \
9200 conftest$ac_exeext conftest.$ac_ext
9201 LIBS=$ac_check_lib_save_LIBS
9203 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_ipc_shmat" >&5
9204 $as_echo "$ac_cv_lib_ipc_shmat" >&6; }
9205 if test "x$ac_cv_lib_ipc_shmat" = xyes; then :
9206 X_EXTRA_LIBS="$X_EXTRA_LIBS -lipc"
9212 # Check for libraries that X11R6 Xt/Xaw programs need.
9213 ac_save_LDFLAGS=$LDFLAGS
9214 test -n "$x_libraries" && LDFLAGS="$LDFLAGS -L$x_libraries"
9215 # SM needs ICE to (dynamically) link under SunOS 4.x (so we have to
9216 # check for ICE first), but we must link in the order -lSM -lICE or
9217 # we get undefined symbols. So assume we have SM if we have ICE.
9218 # These have to be linked with before -lX11, unlike the other
9219 # libraries we check for below, so use a different variable.
9220 # John Interrante, Karl Berry
9221 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for IceConnectionNumber in -lICE" >&5
9222 $as_echo_n "checking for IceConnectionNumber in -lICE... " >&6; }
9223 if ${ac_cv_lib_ICE_IceConnectionNumber+:} false; then :
9224 $as_echo_n "(cached) " >&6
9225 else
9226 ac_check_lib_save_LIBS=$LIBS
9227 LIBS="-lICE $X_EXTRA_LIBS $LIBS"
9228 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9229 /* end confdefs.h. */
9231 /* Override any GCC internal prototype to avoid an error.
9232 Use char because int might match the return type of a GCC
9233 builtin and then its argument prototype would still apply. */
9234 #ifdef __cplusplus
9235 extern "C"
9236 #endif
9237 char IceConnectionNumber ();
9239 main ()
9241 return IceConnectionNumber ();
9243 return 0;
9245 _ACEOF
9246 if ac_fn_c_try_link "$LINENO"; then :
9247 ac_cv_lib_ICE_IceConnectionNumber=yes
9248 else
9249 ac_cv_lib_ICE_IceConnectionNumber=no
9251 rm -f core conftest.err conftest.$ac_objext \
9252 conftest$ac_exeext conftest.$ac_ext
9253 LIBS=$ac_check_lib_save_LIBS
9255 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_ICE_IceConnectionNumber" >&5
9256 $as_echo "$ac_cv_lib_ICE_IceConnectionNumber" >&6; }
9257 if test "x$ac_cv_lib_ICE_IceConnectionNumber" = xyes; then :
9258 X_PRE_LIBS="$X_PRE_LIBS -lSM -lICE"
9261 LDFLAGS=$ac_save_LDFLAGS
9266 if test "$have_x" = "yes"
9267 then
9268 ac_save_CPPFLAGS="$CPPFLAGS"
9269 CPPFLAGS="$CPPFLAGS $X_CFLAGS"
9271 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lX11" >&5
9272 $as_echo_n "checking for -lX11... " >&6; }
9273 if ${ac_cv_lib_soname_X11+:} false; then :
9274 $as_echo_n "(cached) " >&6
9275 else
9276 ac_check_soname_save_LIBS=$LIBS
9277 LIBS="-lX11 $X_LIBS $X_EXTRA_LIBS $LIBS"
9278 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9279 /* end confdefs.h. */
9281 /* Override any GCC internal prototype to avoid an error.
9282 Use char because int might match the return type of a GCC
9283 builtin and then its argument prototype would still apply. */
9284 #ifdef __cplusplus
9285 extern "C"
9286 #endif
9287 char XCreateWindow ();
9289 main ()
9291 return XCreateWindow ();
9293 return 0;
9295 _ACEOF
9296 if ac_fn_c_try_link "$LINENO"; then :
9297 case "$LIBEXT" in
9298 dll) ac_cv_lib_soname_X11=`$ac_cv_path_LDD conftest.exe | grep "X11" | sed -e "s/dll.*/dll/"';2,$d'` ;;
9299 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'` ;;
9300 *) ac_cv_lib_soname_X11=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libX11\\.$LIBEXT" | sed -e "s/^.*\\[\\(libX11\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
9301 if ${ac_cv_lib_soname_X11:+false} :; then :
9302 ac_cv_lib_soname_X11=`$LDD conftest$ac_exeext | grep "libX11\\.$LIBEXT" | sed -e "s/^.*\(libX11\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
9303 fi ;;
9304 esac
9306 rm -f core conftest.err conftest.$ac_objext \
9307 conftest$ac_exeext conftest.$ac_ext
9308 LIBS=$ac_check_soname_save_LIBS
9310 if ${ac_cv_lib_soname_X11:+false} :; then :
9311 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
9312 $as_echo "not found" >&6; }
9314 else
9315 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_X11" >&5
9316 $as_echo "$ac_cv_lib_soname_X11" >&6; }
9318 cat >>confdefs.h <<_ACEOF
9319 #define SONAME_LIBX11 "$ac_cv_lib_soname_X11"
9320 _ACEOF
9324 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lXext" >&5
9325 $as_echo_n "checking for -lXext... " >&6; }
9326 if ${ac_cv_lib_soname_Xext+:} false; then :
9327 $as_echo_n "(cached) " >&6
9328 else
9329 ac_check_soname_save_LIBS=$LIBS
9330 LIBS="-lXext $X_LIBS -lX11 $X_EXTRA_LIBS $LIBS"
9331 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9332 /* end confdefs.h. */
9334 /* Override any GCC internal prototype to avoid an error.
9335 Use char because int might match the return type of a GCC
9336 builtin and then its argument prototype would still apply. */
9337 #ifdef __cplusplus
9338 extern "C"
9339 #endif
9340 char XextCreateExtension ();
9342 main ()
9344 return XextCreateExtension ();
9346 return 0;
9348 _ACEOF
9349 if ac_fn_c_try_link "$LINENO"; then :
9350 case "$LIBEXT" in
9351 dll) ac_cv_lib_soname_Xext=`$ac_cv_path_LDD conftest.exe | grep "Xext" | sed -e "s/dll.*/dll/"';2,$d'` ;;
9352 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'` ;;
9353 *) ac_cv_lib_soname_Xext=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libXext\\.$LIBEXT" | sed -e "s/^.*\\[\\(libXext\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
9354 if ${ac_cv_lib_soname_Xext:+false} :; then :
9355 ac_cv_lib_soname_Xext=`$LDD conftest$ac_exeext | grep "libXext\\.$LIBEXT" | sed -e "s/^.*\(libXext\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
9356 fi ;;
9357 esac
9359 rm -f core conftest.err conftest.$ac_objext \
9360 conftest$ac_exeext conftest.$ac_ext
9361 LIBS=$ac_check_soname_save_LIBS
9363 if ${ac_cv_lib_soname_Xext:+false} :; then :
9364 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
9365 $as_echo "not found" >&6; }
9367 else
9368 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_Xext" >&5
9369 $as_echo "$ac_cv_lib_soname_Xext" >&6; }
9371 cat >>confdefs.h <<_ACEOF
9372 #define SONAME_LIBXEXT "$ac_cv_lib_soname_Xext"
9373 _ACEOF
9375 X_LIBS="$X_LIBS -lXext"
9377 X_LIBS="$X_LIBS -lX11"
9379 for ac_header in X11/Xlib.h \
9380 X11/XKBlib.h \
9381 X11/Xutil.h \
9382 X11/Xcursor/Xcursor.h \
9383 X11/extensions/shape.h \
9384 X11/extensions/XInput.h \
9385 X11/extensions/XInput2.h \
9386 X11/extensions/XShm.h \
9387 X11/extensions/Xcomposite.h \
9388 X11/extensions/Xinerama.h \
9389 X11/extensions/Xrandr.h \
9390 X11/extensions/Xrender.h \
9391 X11/extensions/xf86vmode.h \
9392 X11/extensions/xf86vmproto.h
9393 do :
9394 as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
9395 ac_fn_c_check_header_compile "$LINENO" "$ac_header" "$as_ac_Header" "#ifdef HAVE_X11_XLIB_H
9396 # include <X11/Xlib.h>
9397 #endif
9398 #ifdef HAVE_X11_XUTIL_H
9399 # include <X11/Xutil.h>
9400 #endif
9402 if eval test \"x\$"$as_ac_Header"\" = x"yes"; then :
9403 cat >>confdefs.h <<_ACEOF
9404 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
9405 _ACEOF
9409 done
9412 if test "$ac_cv_header_X11_XKBlib_h" = "yes"
9413 then
9414 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for XkbQueryExtension in -lX11" >&5
9415 $as_echo_n "checking for XkbQueryExtension in -lX11... " >&6; }
9416 if ${ac_cv_lib_X11_XkbQueryExtension+:} false; then :
9417 $as_echo_n "(cached) " >&6
9418 else
9419 ac_check_lib_save_LIBS=$LIBS
9420 LIBS="-lX11 $X_LIBS $X_EXTRA_LIBS $LIBS"
9421 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9422 /* end confdefs.h. */
9424 /* Override any GCC internal prototype to avoid an error.
9425 Use char because int might match the return type of a GCC
9426 builtin and then its argument prototype would still apply. */
9427 #ifdef __cplusplus
9428 extern "C"
9429 #endif
9430 char XkbQueryExtension ();
9432 main ()
9434 return XkbQueryExtension ();
9436 return 0;
9438 _ACEOF
9439 if ac_fn_c_try_link "$LINENO"; then :
9440 ac_cv_lib_X11_XkbQueryExtension=yes
9441 else
9442 ac_cv_lib_X11_XkbQueryExtension=no
9444 rm -f core conftest.err conftest.$ac_objext \
9445 conftest$ac_exeext conftest.$ac_ext
9446 LIBS=$ac_check_lib_save_LIBS
9448 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_X11_XkbQueryExtension" >&5
9449 $as_echo "$ac_cv_lib_X11_XkbQueryExtension" >&6; }
9450 if test "x$ac_cv_lib_X11_XkbQueryExtension" = xyes; then :
9452 $as_echo "#define HAVE_XKB 1" >>confdefs.h
9458 if test "$ac_cv_header_X11_Xcursor_Xcursor_h" = "yes"
9459 then
9460 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lXcursor" >&5
9461 $as_echo_n "checking for -lXcursor... " >&6; }
9462 if ${ac_cv_lib_soname_Xcursor+:} false; then :
9463 $as_echo_n "(cached) " >&6
9464 else
9465 ac_check_soname_save_LIBS=$LIBS
9466 LIBS="-lXcursor $X_LIBS $X_EXTRA_LIBS $LIBS"
9467 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9468 /* end confdefs.h. */
9470 /* Override any GCC internal prototype to avoid an error.
9471 Use char because int might match the return type of a GCC
9472 builtin and then its argument prototype would still apply. */
9473 #ifdef __cplusplus
9474 extern "C"
9475 #endif
9476 char XcursorImageLoadCursor ();
9478 main ()
9480 return XcursorImageLoadCursor ();
9482 return 0;
9484 _ACEOF
9485 if ac_fn_c_try_link "$LINENO"; then :
9486 case "$LIBEXT" in
9487 dll) ac_cv_lib_soname_Xcursor=`$ac_cv_path_LDD conftest.exe | grep "Xcursor" | sed -e "s/dll.*/dll/"';2,$d'` ;;
9488 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'` ;;
9489 *) ac_cv_lib_soname_Xcursor=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libXcursor\\.$LIBEXT" | sed -e "s/^.*\\[\\(libXcursor\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
9490 if ${ac_cv_lib_soname_Xcursor:+false} :; then :
9491 ac_cv_lib_soname_Xcursor=`$LDD conftest$ac_exeext | grep "libXcursor\\.$LIBEXT" | sed -e "s/^.*\(libXcursor\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
9492 fi ;;
9493 esac
9495 rm -f core conftest.err conftest.$ac_objext \
9496 conftest$ac_exeext conftest.$ac_ext
9497 LIBS=$ac_check_soname_save_LIBS
9499 if ${ac_cv_lib_soname_Xcursor:+false} :; then :
9500 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
9501 $as_echo "not found" >&6; }
9503 else
9504 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_Xcursor" >&5
9505 $as_echo "$ac_cv_lib_soname_Xcursor" >&6; }
9507 cat >>confdefs.h <<_ACEOF
9508 #define SONAME_LIBXCURSOR "$ac_cv_lib_soname_Xcursor"
9509 _ACEOF
9514 if test "x$ac_cv_lib_soname_Xcursor" = "x"; then :
9515 case "x$with_xcursor" in
9516 x) as_fn_append wine_notices "|libxcursor ${notice_platform}development files not found, the Xcursor extension won't be supported." ;;
9517 xno) ;;
9518 *) as_fn_error $? "libxcursor ${notice_platform}development files not found, the Xcursor extension won't be supported.
9519 This is an error since --with-xcursor was requested." "$LINENO" 5 ;;
9520 esac
9523 if test "$ac_cv_header_X11_extensions_XInput_h" = "yes"
9524 then
9525 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lXi" >&5
9526 $as_echo_n "checking for -lXi... " >&6; }
9527 if ${ac_cv_lib_soname_Xi+:} false; then :
9528 $as_echo_n "(cached) " >&6
9529 else
9530 ac_check_soname_save_LIBS=$LIBS
9531 LIBS="-lXi $X_LIBS $X_EXTRA_LIBS $LIBS"
9532 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9533 /* end confdefs.h. */
9535 /* Override any GCC internal prototype to avoid an error.
9536 Use char because int might match the return type of a GCC
9537 builtin and then its argument prototype would still apply. */
9538 #ifdef __cplusplus
9539 extern "C"
9540 #endif
9541 char XOpenDevice ();
9543 main ()
9545 return XOpenDevice ();
9547 return 0;
9549 _ACEOF
9550 if ac_fn_c_try_link "$LINENO"; then :
9551 case "$LIBEXT" in
9552 dll) ac_cv_lib_soname_Xi=`$ac_cv_path_LDD conftest.exe | grep "Xi" | sed -e "s/dll.*/dll/"';2,$d'` ;;
9553 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'` ;;
9554 *) ac_cv_lib_soname_Xi=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libXi\\.$LIBEXT" | sed -e "s/^.*\\[\\(libXi\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
9555 if ${ac_cv_lib_soname_Xi:+false} :; then :
9556 ac_cv_lib_soname_Xi=`$LDD conftest$ac_exeext | grep "libXi\\.$LIBEXT" | sed -e "s/^.*\(libXi\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
9557 fi ;;
9558 esac
9560 rm -f core conftest.err conftest.$ac_objext \
9561 conftest$ac_exeext conftest.$ac_ext
9562 LIBS=$ac_check_soname_save_LIBS
9564 if ${ac_cv_lib_soname_Xi:+false} :; then :
9565 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
9566 $as_echo "not found" >&6; }
9568 else
9569 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_Xi" >&5
9570 $as_echo "$ac_cv_lib_soname_Xi" >&6; }
9572 cat >>confdefs.h <<_ACEOF
9573 #define SONAME_LIBXI "$ac_cv_lib_soname_Xi"
9574 _ACEOF
9579 if test "x$ac_cv_lib_soname_Xi" = "x"; then :
9580 case "x$with_xinput" in
9581 x) as_fn_append wine_notices "|libxi ${notice_platform}development files not found, the Xinput extension won't be supported." ;;
9582 xno) ;;
9583 *) as_fn_error $? "libxi ${notice_platform}development files not found, the Xinput extension won't be supported.
9584 This is an error since --with-xinput was requested." "$LINENO" 5 ;;
9585 esac
9588 if test "x$ac_cv_lib_soname_Xi" != x
9589 then
9590 if test "$ac_cv_header_X11_extensions_XInput2_h" != "yes"; then :
9591 case "x$with_xinput2" in
9592 x) as_fn_append wine_notices "|XInput2 headers not found, the XInput 2 extension won't be supported." ;;
9593 xno) ;;
9594 *) as_fn_error $? "XInput2 headers not found, the XInput 2 extension won't be supported.
9595 This is an error since --with-xinput2 was requested." "$LINENO" 5 ;;
9596 esac
9600 if test "$ac_cv_header_X11_extensions_XShm_h" = "yes"
9601 then
9602 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for XShmQueryExtension in -lXext" >&5
9603 $as_echo_n "checking for XShmQueryExtension in -lXext... " >&6; }
9604 if ${ac_cv_lib_Xext_XShmQueryExtension+:} false; then :
9605 $as_echo_n "(cached) " >&6
9606 else
9607 ac_check_lib_save_LIBS=$LIBS
9608 LIBS="-lXext $X_LIBS $X_EXTRA_LIBS $LIBS"
9609 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9610 /* end confdefs.h. */
9612 /* Override any GCC internal prototype to avoid an error.
9613 Use char because int might match the return type of a GCC
9614 builtin and then its argument prototype would still apply. */
9615 #ifdef __cplusplus
9616 extern "C"
9617 #endif
9618 char XShmQueryExtension ();
9620 main ()
9622 return XShmQueryExtension ();
9624 return 0;
9626 _ACEOF
9627 if ac_fn_c_try_link "$LINENO"; then :
9628 ac_cv_lib_Xext_XShmQueryExtension=yes
9629 else
9630 ac_cv_lib_Xext_XShmQueryExtension=no
9632 rm -f core conftest.err conftest.$ac_objext \
9633 conftest$ac_exeext conftest.$ac_ext
9634 LIBS=$ac_check_lib_save_LIBS
9636 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_Xext_XShmQueryExtension" >&5
9637 $as_echo "$ac_cv_lib_Xext_XShmQueryExtension" >&6; }
9638 if test "x$ac_cv_lib_Xext_XShmQueryExtension" = xyes; then :
9640 $as_echo "#define HAVE_LIBXXSHM 1" >>confdefs.h
9645 if test "$ac_cv_lib_Xext_XShmQueryExtension" != "yes"; then :
9646 case "x$with_xshm" in
9647 x) as_fn_append wine_notices "|XShm ${notice_platform}development files not found, X Shared Memory won't be supported." ;;
9648 xno) ;;
9649 *) as_fn_error $? "XShm ${notice_platform}development files not found, X Shared Memory won't be supported.
9650 This is an error since --with-xshm was requested." "$LINENO" 5 ;;
9651 esac
9654 if test "$ac_cv_header_X11_extensions_shape_h" = "yes"
9655 then
9656 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for XShapeQueryExtension in -lXext" >&5
9657 $as_echo_n "checking for XShapeQueryExtension in -lXext... " >&6; }
9658 if ${ac_cv_lib_Xext_XShapeQueryExtension+:} false; then :
9659 $as_echo_n "(cached) " >&6
9660 else
9661 ac_check_lib_save_LIBS=$LIBS
9662 LIBS="-lXext $X_LIBS $X_EXTRA_LIBS $LIBS"
9663 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9664 /* end confdefs.h. */
9666 /* Override any GCC internal prototype to avoid an error.
9667 Use char because int might match the return type of a GCC
9668 builtin and then its argument prototype would still apply. */
9669 #ifdef __cplusplus
9670 extern "C"
9671 #endif
9672 char XShapeQueryExtension ();
9674 main ()
9676 return XShapeQueryExtension ();
9678 return 0;
9680 _ACEOF
9681 if ac_fn_c_try_link "$LINENO"; then :
9682 ac_cv_lib_Xext_XShapeQueryExtension=yes
9683 else
9684 ac_cv_lib_Xext_XShapeQueryExtension=no
9686 rm -f core conftest.err conftest.$ac_objext \
9687 conftest$ac_exeext conftest.$ac_ext
9688 LIBS=$ac_check_lib_save_LIBS
9690 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_Xext_XShapeQueryExtension" >&5
9691 $as_echo "$ac_cv_lib_Xext_XShapeQueryExtension" >&6; }
9692 if test "x$ac_cv_lib_Xext_XShapeQueryExtension" = xyes; then :
9694 $as_echo "#define HAVE_LIBXSHAPE 1" >>confdefs.h
9699 if test "$ac_cv_lib_Xext_XShapeQueryExtension" != "yes"; then :
9700 case "x$with_xshape" in
9701 x) as_fn_append wine_notices "|XShape ${notice_platform}development files not found, XShape won't be supported." ;;
9702 xno) ;;
9703 *) as_fn_error $? "XShape ${notice_platform}development files not found, XShape won't be supported.
9704 This is an error since --with-xshape was requested." "$LINENO" 5 ;;
9705 esac
9708 if test "$ac_cv_header_X11_extensions_xf86vmode_h" = "yes" -o "$ac_cv_header_X11_extensions_xf86vmproto_h" = "yes"
9709 then
9710 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lXxf86vm" >&5
9711 $as_echo_n "checking for -lXxf86vm... " >&6; }
9712 if ${ac_cv_lib_soname_Xxf86vm+:} false; then :
9713 $as_echo_n "(cached) " >&6
9714 else
9715 ac_check_soname_save_LIBS=$LIBS
9716 LIBS="-lXxf86vm $X_LIBS $X_EXTRA_LIBS $LIBS"
9717 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9718 /* end confdefs.h. */
9720 /* Override any GCC internal prototype to avoid an error.
9721 Use char because int might match the return type of a GCC
9722 builtin and then its argument prototype would still apply. */
9723 #ifdef __cplusplus
9724 extern "C"
9725 #endif
9726 char XF86VidModeQueryExtension ();
9728 main ()
9730 return XF86VidModeQueryExtension ();
9732 return 0;
9734 _ACEOF
9735 if ac_fn_c_try_link "$LINENO"; then :
9736 case "$LIBEXT" in
9737 dll) ac_cv_lib_soname_Xxf86vm=`$ac_cv_path_LDD conftest.exe | grep "Xxf86vm" | sed -e "s/dll.*/dll/"';2,$d'` ;;
9738 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'` ;;
9739 *) ac_cv_lib_soname_Xxf86vm=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libXxf86vm\\.$LIBEXT" | sed -e "s/^.*\\[\\(libXxf86vm\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
9740 if ${ac_cv_lib_soname_Xxf86vm:+false} :; then :
9741 ac_cv_lib_soname_Xxf86vm=`$LDD conftest$ac_exeext | grep "libXxf86vm\\.$LIBEXT" | sed -e "s/^.*\(libXxf86vm\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
9742 fi ;;
9743 esac
9745 rm -f core conftest.err conftest.$ac_objext \
9746 conftest$ac_exeext conftest.$ac_ext
9747 LIBS=$ac_check_soname_save_LIBS
9749 if ${ac_cv_lib_soname_Xxf86vm:+false} :; then :
9750 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
9751 $as_echo "not found" >&6; }
9753 else
9754 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_Xxf86vm" >&5
9755 $as_echo "$ac_cv_lib_soname_Xxf86vm" >&6; }
9757 cat >>confdefs.h <<_ACEOF
9758 #define SONAME_LIBXXF86VM "$ac_cv_lib_soname_Xxf86vm"
9759 _ACEOF
9764 if test "x$ac_cv_lib_soname_Xxf86vm" = "x"; then :
9765 case "x$with_xxf86vm" in
9766 x) as_fn_append wine_notices "|libXxf86vm ${notice_platform}development files not found, XFree86 Vidmode won't be supported." ;;
9767 xno) ;;
9768 *) as_fn_error $? "libXxf86vm ${notice_platform}development files not found, XFree86 Vidmode won't be supported.
9769 This is an error since --with-xxf86vm was requested." "$LINENO" 5 ;;
9770 esac
9773 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"
9774 then
9775 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lXrender" >&5
9776 $as_echo_n "checking for -lXrender... " >&6; }
9777 if ${ac_cv_lib_soname_Xrender+:} false; then :
9778 $as_echo_n "(cached) " >&6
9779 else
9780 ac_check_soname_save_LIBS=$LIBS
9781 LIBS="-lXrender $X_LIBS $X_EXTRA_LIBS $LIBS"
9782 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9783 /* end confdefs.h. */
9785 /* Override any GCC internal prototype to avoid an error.
9786 Use char because int might match the return type of a GCC
9787 builtin and then its argument prototype would still apply. */
9788 #ifdef __cplusplus
9789 extern "C"
9790 #endif
9791 char XRenderQueryExtension ();
9793 main ()
9795 return XRenderQueryExtension ();
9797 return 0;
9799 _ACEOF
9800 if ac_fn_c_try_link "$LINENO"; then :
9801 case "$LIBEXT" in
9802 dll) ac_cv_lib_soname_Xrender=`$ac_cv_path_LDD conftest.exe | grep "Xrender" | sed -e "s/dll.*/dll/"';2,$d'` ;;
9803 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'` ;;
9804 *) ac_cv_lib_soname_Xrender=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libXrender\\.$LIBEXT" | sed -e "s/^.*\\[\\(libXrender\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
9805 if ${ac_cv_lib_soname_Xrender:+false} :; then :
9806 ac_cv_lib_soname_Xrender=`$LDD conftest$ac_exeext | grep "libXrender\\.$LIBEXT" | sed -e "s/^.*\(libXrender\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
9807 fi ;;
9808 esac
9810 rm -f core conftest.err conftest.$ac_objext \
9811 conftest$ac_exeext conftest.$ac_ext
9812 LIBS=$ac_check_soname_save_LIBS
9814 if ${ac_cv_lib_soname_Xrender:+false} :; then :
9815 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
9816 $as_echo "not found" >&6; }
9818 else
9819 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_Xrender" >&5
9820 $as_echo "$ac_cv_lib_soname_Xrender" >&6; }
9822 cat >>confdefs.h <<_ACEOF
9823 #define SONAME_LIBXRENDER "$ac_cv_lib_soname_Xrender"
9824 _ACEOF
9826 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for XRenderSetPictureTransform in -lXrender" >&5
9827 $as_echo_n "checking for XRenderSetPictureTransform in -lXrender... " >&6; }
9828 if ${ac_cv_lib_Xrender_XRenderSetPictureTransform+:} false; then :
9829 $as_echo_n "(cached) " >&6
9830 else
9831 ac_check_lib_save_LIBS=$LIBS
9832 LIBS="-lXrender $X_LIBS $X_EXTRA_LIBS $LIBS"
9833 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9834 /* end confdefs.h. */
9836 /* Override any GCC internal prototype to avoid an error.
9837 Use char because int might match the return type of a GCC
9838 builtin and then its argument prototype would still apply. */
9839 #ifdef __cplusplus
9840 extern "C"
9841 #endif
9842 char XRenderSetPictureTransform ();
9844 main ()
9846 return XRenderSetPictureTransform ();
9848 return 0;
9850 _ACEOF
9851 if ac_fn_c_try_link "$LINENO"; then :
9852 ac_cv_lib_Xrender_XRenderSetPictureTransform=yes
9853 else
9854 ac_cv_lib_Xrender_XRenderSetPictureTransform=no
9856 rm -f core conftest.err conftest.$ac_objext \
9857 conftest$ac_exeext conftest.$ac_ext
9858 LIBS=$ac_check_lib_save_LIBS
9860 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_Xrender_XRenderSetPictureTransform" >&5
9861 $as_echo "$ac_cv_lib_Xrender_XRenderSetPictureTransform" >&6; }
9862 if test "x$ac_cv_lib_Xrender_XRenderSetPictureTransform" = xyes; then :
9864 $as_echo "#define HAVE_XRENDERSETPICTURETRANSFORM 1" >>confdefs.h
9868 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for XRenderCreateLinearGradient in -lXrender" >&5
9869 $as_echo_n "checking for XRenderCreateLinearGradient in -lXrender... " >&6; }
9870 if ${ac_cv_lib_Xrender_XRenderCreateLinearGradient+:} false; then :
9871 $as_echo_n "(cached) " >&6
9872 else
9873 ac_check_lib_save_LIBS=$LIBS
9874 LIBS="-lXrender $X_LIBS $X_EXTRA_LIBS $LIBS"
9875 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9876 /* end confdefs.h. */
9878 /* Override any GCC internal prototype to avoid an error.
9879 Use char because int might match the return type of a GCC
9880 builtin and then its argument prototype would still apply. */
9881 #ifdef __cplusplus
9882 extern "C"
9883 #endif
9884 char XRenderCreateLinearGradient ();
9886 main ()
9888 return XRenderCreateLinearGradient ();
9890 return 0;
9892 _ACEOF
9893 if ac_fn_c_try_link "$LINENO"; then :
9894 ac_cv_lib_Xrender_XRenderCreateLinearGradient=yes
9895 else
9896 ac_cv_lib_Xrender_XRenderCreateLinearGradient=no
9898 rm -f core conftest.err conftest.$ac_objext \
9899 conftest$ac_exeext conftest.$ac_ext
9900 LIBS=$ac_check_lib_save_LIBS
9902 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_Xrender_XRenderCreateLinearGradient" >&5
9903 $as_echo "$ac_cv_lib_Xrender_XRenderCreateLinearGradient" >&6; }
9904 if test "x$ac_cv_lib_Xrender_XRenderCreateLinearGradient" = xyes; then :
9906 $as_echo "#define HAVE_XRENDERCREATELINEARGRADIENT 1" >>confdefs.h
9913 if test "x$ac_cv_lib_soname_Xrender" = "x"; then :
9914 case "x$with_xrender" in
9915 x) as_fn_append wine_warnings "|libxrender ${notice_platform}development files not found, XRender won't be supported." ;;
9916 xno) ;;
9917 *) as_fn_error $? "libxrender ${notice_platform}development files not found, XRender won't be supported.
9918 This is an error since --with-xrender was requested." "$LINENO" 5 ;;
9919 esac
9922 if test "$ac_cv_header_X11_extensions_Xrandr_h" = "yes" -a "x$ac_cv_lib_soname_Xrender" != "x"
9923 then
9924 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9925 /* end confdefs.h. */
9926 #include <X11/Xlib.h>
9927 #include <X11/extensions/Xrandr.h>
9929 main ()
9931 static typeof(XRRSetScreenConfigAndRate) * func; if (func) return 0;
9933 return 0;
9935 _ACEOF
9936 if ac_fn_c_try_compile "$LINENO"; then :
9937 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lXrandr" >&5
9938 $as_echo_n "checking for -lXrandr... " >&6; }
9939 if ${ac_cv_lib_soname_Xrandr+:} false; then :
9940 $as_echo_n "(cached) " >&6
9941 else
9942 ac_check_soname_save_LIBS=$LIBS
9943 LIBS="-lXrandr $X_LIBS $X_EXTRA_LIBS $LIBS"
9944 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9945 /* end confdefs.h. */
9947 /* Override any GCC internal prototype to avoid an error.
9948 Use char because int might match the return type of a GCC
9949 builtin and then its argument prototype would still apply. */
9950 #ifdef __cplusplus
9951 extern "C"
9952 #endif
9953 char XRRQueryExtension ();
9955 main ()
9957 return XRRQueryExtension ();
9959 return 0;
9961 _ACEOF
9962 if ac_fn_c_try_link "$LINENO"; then :
9963 case "$LIBEXT" in
9964 dll) ac_cv_lib_soname_Xrandr=`$ac_cv_path_LDD conftest.exe | grep "Xrandr" | sed -e "s/dll.*/dll/"';2,$d'` ;;
9965 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'` ;;
9966 *) ac_cv_lib_soname_Xrandr=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libXrandr\\.$LIBEXT" | sed -e "s/^.*\\[\\(libXrandr\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
9967 if ${ac_cv_lib_soname_Xrandr:+false} :; then :
9968 ac_cv_lib_soname_Xrandr=`$LDD conftest$ac_exeext | grep "libXrandr\\.$LIBEXT" | sed -e "s/^.*\(libXrandr\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
9969 fi ;;
9970 esac
9972 rm -f core conftest.err conftest.$ac_objext \
9973 conftest$ac_exeext conftest.$ac_ext
9974 LIBS=$ac_check_soname_save_LIBS
9976 if ${ac_cv_lib_soname_Xrandr:+false} :; then :
9977 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
9978 $as_echo "not found" >&6; }
9980 else
9981 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_Xrandr" >&5
9982 $as_echo "$ac_cv_lib_soname_Xrandr" >&6; }
9984 cat >>confdefs.h <<_ACEOF
9985 #define SONAME_LIBXRANDR "$ac_cv_lib_soname_Xrandr"
9986 _ACEOF
9988 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9989 /* end confdefs.h. */
9990 #include <X11/Xlib.h>
9991 #include <X11/extensions/Xrandr.h>
9993 main ()
9995 static typeof(XRRGetScreenResources) *f; if (f) return 0;
9997 return 0;
9999 _ACEOF
10000 if ac_fn_c_try_compile "$LINENO"; then :
10002 $as_echo "#define HAVE_XRRGETSCREENRESOURCES 1" >>confdefs.h
10005 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
10008 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
10010 if test "x$ac_cv_lib_soname_Xrandr" = "x"; then :
10011 case "x$with_xrandr" in
10012 x) as_fn_append wine_notices "|libxrandr ${notice_platform}development files not found, XRandr won't be supported." ;;
10013 xno) ;;
10014 *) as_fn_error $? "libxrandr ${notice_platform}development files not found, XRandr won't be supported.
10015 This is an error since --with-xrandr was requested." "$LINENO" 5 ;;
10016 esac
10019 if test "$ac_cv_header_X11_extensions_Xinerama_h" = "yes"
10020 then
10021 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10022 /* end confdefs.h. */
10023 #include <X11/Xlib.h>
10024 #include <X11/extensions/Xinerama.h>
10026 main ()
10028 static typeof(XineramaQueryScreens) * func; if (func) return 0;
10030 return 0;
10032 _ACEOF
10033 if ac_fn_c_try_compile "$LINENO"; then :
10034 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lXinerama" >&5
10035 $as_echo_n "checking for -lXinerama... " >&6; }
10036 if ${ac_cv_lib_soname_Xinerama+:} false; then :
10037 $as_echo_n "(cached) " >&6
10038 else
10039 ac_check_soname_save_LIBS=$LIBS
10040 LIBS="-lXinerama $X_LIBS $X_EXTRA_LIBS $LIBS"
10041 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10042 /* end confdefs.h. */
10044 /* Override any GCC internal prototype to avoid an error.
10045 Use char because int might match the return type of a GCC
10046 builtin and then its argument prototype would still apply. */
10047 #ifdef __cplusplus
10048 extern "C"
10049 #endif
10050 char XineramaQueryScreens ();
10052 main ()
10054 return XineramaQueryScreens ();
10056 return 0;
10058 _ACEOF
10059 if ac_fn_c_try_link "$LINENO"; then :
10060 case "$LIBEXT" in
10061 dll) ac_cv_lib_soname_Xinerama=`$ac_cv_path_LDD conftest.exe | grep "Xinerama" | sed -e "s/dll.*/dll/"';2,$d'` ;;
10062 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'` ;;
10063 *) ac_cv_lib_soname_Xinerama=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libXinerama\\.$LIBEXT" | sed -e "s/^.*\\[\\(libXinerama\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
10064 if ${ac_cv_lib_soname_Xinerama:+false} :; then :
10065 ac_cv_lib_soname_Xinerama=`$LDD conftest$ac_exeext | grep "libXinerama\\.$LIBEXT" | sed -e "s/^.*\(libXinerama\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
10066 fi ;;
10067 esac
10069 rm -f core conftest.err conftest.$ac_objext \
10070 conftest$ac_exeext conftest.$ac_ext
10071 LIBS=$ac_check_soname_save_LIBS
10073 if ${ac_cv_lib_soname_Xinerama:+false} :; then :
10074 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
10075 $as_echo "not found" >&6; }
10077 else
10078 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_Xinerama" >&5
10079 $as_echo "$ac_cv_lib_soname_Xinerama" >&6; }
10081 cat >>confdefs.h <<_ACEOF
10082 #define SONAME_LIBXINERAMA "$ac_cv_lib_soname_Xinerama"
10083 _ACEOF
10088 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
10090 if test "x$ac_cv_lib_soname_Xinerama" = "x"; then :
10091 case "x$with_xinerama" in
10092 x) as_fn_append wine_notices "|libxinerama ${notice_platform}development files not found, multi-monitor setups won't be supported." ;;
10093 xno) ;;
10094 *) as_fn_error $? "libxinerama ${notice_platform}development files not found, multi-monitor setups won't be supported.
10095 This is an error since --with-xinerama was requested." "$LINENO" 5 ;;
10096 esac
10099 if test "$ac_cv_header_X11_extensions_Xcomposite_h" = "yes"
10100 then
10101 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lXcomposite" >&5
10102 $as_echo_n "checking for -lXcomposite... " >&6; }
10103 if ${ac_cv_lib_soname_Xcomposite+:} false; then :
10104 $as_echo_n "(cached) " >&6
10105 else
10106 ac_check_soname_save_LIBS=$LIBS
10107 LIBS="-lXcomposite $X_LIBS $X_EXTRA_LIBS $LIBS"
10108 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10109 /* end confdefs.h. */
10111 /* Override any GCC internal prototype to avoid an error.
10112 Use char because int might match the return type of a GCC
10113 builtin and then its argument prototype would still apply. */
10114 #ifdef __cplusplus
10115 extern "C"
10116 #endif
10117 char XCompositeRedirectWindow ();
10119 main ()
10121 return XCompositeRedirectWindow ();
10123 return 0;
10125 _ACEOF
10126 if ac_fn_c_try_link "$LINENO"; then :
10127 case "$LIBEXT" in
10128 dll) ac_cv_lib_soname_Xcomposite=`$ac_cv_path_LDD conftest.exe | grep "Xcomposite" | sed -e "s/dll.*/dll/"';2,$d'` ;;
10129 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'` ;;
10130 *) ac_cv_lib_soname_Xcomposite=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libXcomposite\\.$LIBEXT" | sed -e "s/^.*\\[\\(libXcomposite\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
10131 if ${ac_cv_lib_soname_Xcomposite:+false} :; then :
10132 ac_cv_lib_soname_Xcomposite=`$LDD conftest$ac_exeext | grep "libXcomposite\\.$LIBEXT" | sed -e "s/^.*\(libXcomposite\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
10133 fi ;;
10134 esac
10136 rm -f core conftest.err conftest.$ac_objext \
10137 conftest$ac_exeext conftest.$ac_ext
10138 LIBS=$ac_check_soname_save_LIBS
10140 if ${ac_cv_lib_soname_Xcomposite:+false} :; then :
10141 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
10142 $as_echo "not found" >&6; }
10144 else
10145 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_Xcomposite" >&5
10146 $as_echo "$ac_cv_lib_soname_Xcomposite" >&6; }
10148 cat >>confdefs.h <<_ACEOF
10149 #define SONAME_LIBXCOMPOSITE "$ac_cv_lib_soname_Xcomposite"
10150 _ACEOF
10155 if test "x$ac_cv_lib_soname_Xcomposite" = "x"; then :
10156 case "x$with_xcomposite" in
10157 x) as_fn_append wine_notices "|libxcomposite ${notice_platform}development files not found, Xcomposite won't be supported." ;;
10158 xno) ;;
10159 *) as_fn_error $? "libxcomposite ${notice_platform}development files not found, Xcomposite won't be supported.
10160 This is an error since --with-xcomposite was requested." "$LINENO" 5 ;;
10161 esac
10164 ac_fn_c_check_member "$LINENO" "XICCallback" "callback" "ac_cv_member_XICCallback_callback" "#ifdef HAVE_X11_XLIB_H
10165 #include <X11/Xlib.h>
10166 #endif
10168 if test "x$ac_cv_member_XICCallback_callback" = xyes; then :
10170 cat >>confdefs.h <<_ACEOF
10171 #define HAVE_XICCALLBACK_CALLBACK 1
10172 _ACEOF
10176 ac_fn_c_check_member "$LINENO" "XEvent" "xcookie" "ac_cv_member_XEvent_xcookie" "#ifdef HAVE_X11_XLIB_H
10177 #include <X11/Xlib.h>
10178 #endif
10180 if test "x$ac_cv_member_XEvent_xcookie" = xyes; then :
10182 cat >>confdefs.h <<_ACEOF
10183 #define HAVE_XEVENT_XCOOKIE 1
10184 _ACEOF
10191 opengl_msg=""
10192 if test "x$with_opengl" != "xno"
10193 then
10194 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lGL" >&5
10195 $as_echo_n "checking for -lGL... " >&6; }
10196 if ${ac_cv_lib_soname_GL+:} false; then :
10197 $as_echo_n "(cached) " >&6
10198 else
10199 ac_check_soname_save_LIBS=$LIBS
10200 LIBS="-lGL $X_LIBS -lm $X_EXTRA_LIBS $LIBS"
10201 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10202 /* end confdefs.h. */
10204 /* Override any GCC internal prototype to avoid an error.
10205 Use char because int might match the return type of a GCC
10206 builtin and then its argument prototype would still apply. */
10207 #ifdef __cplusplus
10208 extern "C"
10209 #endif
10210 char glXCreateContext ();
10212 main ()
10214 return glXCreateContext ();
10216 return 0;
10218 _ACEOF
10219 if ac_fn_c_try_link "$LINENO"; then :
10220 case "$LIBEXT" in
10221 dll) ac_cv_lib_soname_GL=`$ac_cv_path_LDD conftest.exe | grep "GL" | sed -e "s/dll.*/dll/"';2,$d'` ;;
10222 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'` ;;
10223 *) ac_cv_lib_soname_GL=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libGL\\.$LIBEXT" | sed -e "s/^.*\\[\\(libGL\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
10224 if ${ac_cv_lib_soname_GL:+false} :; then :
10225 ac_cv_lib_soname_GL=`$LDD conftest$ac_exeext | grep "libGL\\.$LIBEXT" | sed -e "s/^.*\(libGL\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
10226 fi ;;
10227 esac
10229 rm -f core conftest.err conftest.$ac_objext \
10230 conftest$ac_exeext conftest.$ac_ext
10231 LIBS=$ac_check_soname_save_LIBS
10233 if ${ac_cv_lib_soname_GL:+false} :; then :
10234 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
10235 $as_echo "not found" >&6; }
10236 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lGL" >&5
10237 $as_echo_n "checking for -lGL... " >&6; }
10238 if ${ac_cv_lib_soname_GL+:} false; then :
10239 $as_echo_n "(cached) " >&6
10240 else
10241 ac_check_soname_save_LIBS=$LIBS
10242 LIBS="-lGL $X_LIBS -lm $X_EXTRA_LIBS -dylib_file /System/Library/Frameworks/OpenGL.framework/Versions/A/Libraries/libGL.dylib:/System/Library/Frameworks/OpenGL.framework/Versions/A/Libraries/libGL.dylib $LIBS"
10243 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10244 /* end confdefs.h. */
10246 /* Override any GCC internal prototype to avoid an error.
10247 Use char because int might match the return type of a GCC
10248 builtin and then its argument prototype would still apply. */
10249 #ifdef __cplusplus
10250 extern "C"
10251 #endif
10252 char glXCreateContext ();
10254 main ()
10256 return glXCreateContext ();
10258 return 0;
10260 _ACEOF
10261 if ac_fn_c_try_link "$LINENO"; then :
10262 case "$LIBEXT" in
10263 dll) ac_cv_lib_soname_GL=`$ac_cv_path_LDD conftest.exe | grep "GL" | sed -e "s/dll.*/dll/"';2,$d'` ;;
10264 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'` ;;
10265 *) ac_cv_lib_soname_GL=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libGL\\.$LIBEXT" | sed -e "s/^.*\\[\\(libGL\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
10266 if ${ac_cv_lib_soname_GL:+false} :; then :
10267 ac_cv_lib_soname_GL=`$LDD conftest$ac_exeext | grep "libGL\\.$LIBEXT" | sed -e "s/^.*\(libGL\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
10268 fi ;;
10269 esac
10271 rm -f core conftest.err conftest.$ac_objext \
10272 conftest$ac_exeext conftest.$ac_ext
10273 LIBS=$ac_check_soname_save_LIBS
10275 if ${ac_cv_lib_soname_GL:+false} :; then :
10276 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
10277 $as_echo "not found" >&6; }
10278 if test -f /usr/X11R6/lib/libGL.a
10279 then
10280 opengl_msg="/usr/X11R6/lib/libGL.a is present on your system.
10281 This probably prevents linking to OpenGL. Try deleting the file and restarting configure."
10282 else
10283 opengl_msg="No OpenGL library found on this system."
10285 else
10286 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_GL" >&5
10287 $as_echo "$ac_cv_lib_soname_GL" >&6; }
10289 cat >>confdefs.h <<_ACEOF
10290 #define SONAME_LIBGL "$ac_cv_lib_soname_GL"
10291 _ACEOF
10293 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"
10295 else
10296 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_GL" >&5
10297 $as_echo "$ac_cv_lib_soname_GL" >&6; }
10299 cat >>confdefs.h <<_ACEOF
10300 #define SONAME_LIBGL "$ac_cv_lib_soname_GL"
10301 _ACEOF
10303 OPENGL_LIBS="-lGL"
10305 if test "x$with_glu" != "xno"
10306 then
10307 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for gluLookAt in -lGLU" >&5
10308 $as_echo_n "checking for gluLookAt in -lGLU... " >&6; }
10309 if ${ac_cv_lib_GLU_gluLookAt+:} false; then :
10310 $as_echo_n "(cached) " >&6
10311 else
10312 ac_check_lib_save_LIBS=$LIBS
10313 LIBS="-lGLU $OPENGL_LIBS $X_LIBS -lm $X_EXTRA_LIBS $LIBS"
10314 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10315 /* end confdefs.h. */
10317 /* Override any GCC internal prototype to avoid an error.
10318 Use char because int might match the return type of a GCC
10319 builtin and then its argument prototype would still apply. */
10320 #ifdef __cplusplus
10321 extern "C"
10322 #endif
10323 char gluLookAt ();
10325 main ()
10327 return gluLookAt ();
10329 return 0;
10331 _ACEOF
10332 if ac_fn_c_try_link "$LINENO"; then :
10333 ac_cv_lib_GLU_gluLookAt=yes
10334 else
10335 ac_cv_lib_GLU_gluLookAt=no
10337 rm -f core conftest.err conftest.$ac_objext \
10338 conftest$ac_exeext conftest.$ac_ext
10339 LIBS=$ac_check_lib_save_LIBS
10341 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_GLU_gluLookAt" >&5
10342 $as_echo "$ac_cv_lib_GLU_gluLookAt" >&6; }
10343 if test "x$ac_cv_lib_GLU_gluLookAt" = xyes; then :
10347 if test "x$ac_cv_lib_GLU_gluLookAt" != xyes; then :
10348 case "x$with_glu" in
10349 x) as_fn_append wine_notices "|libGLU ${notice_platform}development files not found, GLU won't be supported." ;;
10350 xno) ;;
10351 *) as_fn_error $? "libGLU ${notice_platform}development files not found, GLU won't be supported.
10352 This is an error since --with-glu was requested." "$LINENO" 5 ;;
10353 esac
10357 if test "x$with_osmesa" != "xno"
10358 then
10359 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lOSMesa" >&5
10360 $as_echo_n "checking for -lOSMesa... " >&6; }
10361 if ${ac_cv_lib_soname_OSMesa+:} false; then :
10362 $as_echo_n "(cached) " >&6
10363 else
10364 ac_check_soname_save_LIBS=$LIBS
10365 LIBS="-lOSMesa $X_LIBS -lm $X_EXTRA_LIBS $LIBS"
10366 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10367 /* end confdefs.h. */
10369 /* Override any GCC internal prototype to avoid an error.
10370 Use char because int might match the return type of a GCC
10371 builtin and then its argument prototype would still apply. */
10372 #ifdef __cplusplus
10373 extern "C"
10374 #endif
10375 char glAccum ();
10377 main ()
10379 return glAccum ();
10381 return 0;
10383 _ACEOF
10384 if ac_fn_c_try_link "$LINENO"; then :
10385 case "$LIBEXT" in
10386 dll) ac_cv_lib_soname_OSMesa=`$ac_cv_path_LDD conftest.exe | grep "OSMesa" | sed -e "s/dll.*/dll/"';2,$d'` ;;
10387 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'` ;;
10388 *) ac_cv_lib_soname_OSMesa=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libOSMesa\\.$LIBEXT" | sed -e "s/^.*\\[\\(libOSMesa\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
10389 if ${ac_cv_lib_soname_OSMesa:+false} :; then :
10390 ac_cv_lib_soname_OSMesa=`$LDD conftest$ac_exeext | grep "libOSMesa\\.$LIBEXT" | sed -e "s/^.*\(libOSMesa\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
10391 fi ;;
10392 esac
10394 rm -f core conftest.err conftest.$ac_objext \
10395 conftest$ac_exeext conftest.$ac_ext
10396 LIBS=$ac_check_soname_save_LIBS
10398 if ${ac_cv_lib_soname_OSMesa:+false} :; then :
10399 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
10400 $as_echo "not found" >&6; }
10402 else
10403 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_OSMesa" >&5
10404 $as_echo "$ac_cv_lib_soname_OSMesa" >&6; }
10406 cat >>confdefs.h <<_ACEOF
10407 #define SONAME_LIBOSMESA "$ac_cv_lib_soname_OSMesa"
10408 _ACEOF
10412 if test "x$ac_cv_lib_soname_OSMesa" = "x"; then :
10413 case "x$with_osmesa" in
10414 x) as_fn_append wine_notices "|libOSMesa ${notice_platform}development files not found (or too old), OpenGL rendering in bitmaps won't be supported." ;;
10415 xno) ;;
10416 *) as_fn_error $? "libOSMesa ${notice_platform}development files not found (or too old), OpenGL rendering in bitmaps won't be supported.
10417 This is an error since --with-osmesa was requested." "$LINENO" 5 ;;
10418 esac
10422 if test -n "$opengl_msg"; then :
10423 case "x$with_opengl" in
10424 x) as_fn_append wine_warnings "|$opengl_msg
10425 OpenGL and Direct3D won't be supported." ;;
10426 xno) ;;
10427 *) as_fn_error $? "$opengl_msg
10428 OpenGL and Direct3D won't be supported.
10429 This is an error since --with-opengl was requested." "$LINENO" 5 ;;
10430 esac
10433 CPPFLAGS="$ac_save_CPPFLAGS"
10434 else
10435 X_CFLAGS=""
10436 X_LIBS=""
10437 enable_winex11_drv=${enable_winex11_drv:-no}
10439 if test "x$X_LIBS" = "x"; then :
10440 case "x$with_x" in
10441 xno) ;;
10442 *) as_fn_error $? "X ${notice_platform}development files not found. Wine will be built
10443 without X support, which probably isn't what you want. You will need
10444 to install ${notice_platform}development packages of Xlib/Xfree86 at the very least.
10445 Use the --without-x option if you really want this." "$LINENO" 5 ;;
10446 esac
10449 test "x$ac_cv_lib_GLU_gluLookAt" != xyes && enable_glu32=${enable_glu32:-no}
10451 if test "$ac_cv_header_CL_cl_h" = "yes"
10452 then
10453 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for clGetPlatformInfo in -lOpenCL" >&5
10454 $as_echo_n "checking for clGetPlatformInfo in -lOpenCL... " >&6; }
10455 if ${ac_cv_lib_OpenCL_clGetPlatformInfo+:} false; then :
10456 $as_echo_n "(cached) " >&6
10457 else
10458 ac_check_lib_save_LIBS=$LIBS
10459 LIBS="-lOpenCL $LIBS"
10460 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10461 /* end confdefs.h. */
10463 /* Override any GCC internal prototype to avoid an error.
10464 Use char because int might match the return type of a GCC
10465 builtin and then its argument prototype would still apply. */
10466 #ifdef __cplusplus
10467 extern "C"
10468 #endif
10469 char clGetPlatformInfo ();
10471 main ()
10473 return clGetPlatformInfo ();
10475 return 0;
10477 _ACEOF
10478 if ac_fn_c_try_link "$LINENO"; then :
10479 ac_cv_lib_OpenCL_clGetPlatformInfo=yes
10480 else
10481 ac_cv_lib_OpenCL_clGetPlatformInfo=no
10483 rm -f core conftest.err conftest.$ac_objext \
10484 conftest$ac_exeext conftest.$ac_ext
10485 LIBS=$ac_check_lib_save_LIBS
10487 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_OpenCL_clGetPlatformInfo" >&5
10488 $as_echo "$ac_cv_lib_OpenCL_clGetPlatformInfo" >&6; }
10489 if test "x$ac_cv_lib_OpenCL_clGetPlatformInfo" = xyes; then :
10490 OPENCL_LIBS="-lOpenCL"
10495 if test "x$ac_cv_lib_OpenCL_clGetPlatformInfo" != xyes; then :
10496 case "x$with_opencl" in
10497 x) as_fn_append wine_notices "|OpenCL ${notice_platform}development files not found, OpenCL won't be supported." ;;
10498 xno) ;;
10499 *) as_fn_error $? "OpenCL ${notice_platform}development files not found, OpenCL won't be supported.
10500 This is an error since --with-opencl was requested." "$LINENO" 5 ;;
10501 esac
10503 test "x$ac_cv_lib_OpenCL_clGetPlatformInfo" != xyes && enable_opencl=${enable_opencl:-no}
10506 if test "x$with_xml" != "xno"
10507 then
10508 if ${XML2_CFLAGS:+false} :; then :
10509 if ${PKG_CONFIG+:} false; then :
10510 XML2_CFLAGS=`$PKG_CONFIG --cflags libxml-2.0 2>/dev/null`
10513 test "$cross_compiling" = yes || XML2_CFLAGS=${XML2_CFLAGS:-`xml2-config --cflags 2>/dev/null`}
10514 if ${XML2_LIBS:+false} :; then :
10515 if ${PKG_CONFIG+:} false; then :
10516 XML2_LIBS=`$PKG_CONFIG --libs libxml-2.0 2>/dev/null`
10519 test "$cross_compiling" = yes || XML2_LIBS=${XML2_LIBS:-`xml2-config --libs 2>/dev/null`}
10520 XML2_LIBS=${XML2_LIBS:-"-lxml2"}
10521 $as_echo "$as_me:${as_lineno-$LINENO}: libxml-2.0 cflags: $XML2_CFLAGS" >&5
10522 $as_echo "$as_me:${as_lineno-$LINENO}: libxml-2.0 libs: $XML2_LIBS" >&5
10523 ac_save_CPPFLAGS=$CPPFLAGS
10524 CPPFLAGS="$CPPFLAGS $XML2_CFLAGS"
10525 for ac_header in libxml/parser.h libxml/xmlsave.h libxml/SAX2.h
10526 do :
10527 as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
10528 ac_fn_c_check_header_mongrel "$LINENO" "$ac_header" "$as_ac_Header" "$ac_includes_default"
10529 if eval test \"x\$"$as_ac_Header"\" = x"yes"; then :
10530 cat >>confdefs.h <<_ACEOF
10531 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
10532 _ACEOF
10536 done
10538 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"
10539 then
10540 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for xmlParseMemory in -lxml2" >&5
10541 $as_echo_n "checking for xmlParseMemory in -lxml2... " >&6; }
10542 if ${ac_cv_lib_xml2_xmlParseMemory+:} false; then :
10543 $as_echo_n "(cached) " >&6
10544 else
10545 ac_check_lib_save_LIBS=$LIBS
10546 LIBS="-lxml2 $XML2_LIBS $LIBS"
10547 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10548 /* end confdefs.h. */
10550 /* Override any GCC internal prototype to avoid an error.
10551 Use char because int might match the return type of a GCC
10552 builtin and then its argument prototype would still apply. */
10553 #ifdef __cplusplus
10554 extern "C"
10555 #endif
10556 char xmlParseMemory ();
10558 main ()
10560 return xmlParseMemory ();
10562 return 0;
10564 _ACEOF
10565 if ac_fn_c_try_link "$LINENO"; then :
10566 ac_cv_lib_xml2_xmlParseMemory=yes
10567 else
10568 ac_cv_lib_xml2_xmlParseMemory=no
10570 rm -f core conftest.err conftest.$ac_objext \
10571 conftest$ac_exeext conftest.$ac_ext
10572 LIBS=$ac_check_lib_save_LIBS
10574 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_xml2_xmlParseMemory" >&5
10575 $as_echo "$ac_cv_lib_xml2_xmlParseMemory" >&6; }
10576 if test "x$ac_cv_lib_xml2_xmlParseMemory" = xyes; then :
10578 $as_echo "#define HAVE_LIBXML2 1" >>confdefs.h
10580 else
10581 XML2_LIBS=""
10584 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for xmlReadMemory in -lxml2" >&5
10585 $as_echo_n "checking for xmlReadMemory in -lxml2... " >&6; }
10586 if ${ac_cv_lib_xml2_xmlReadMemory+:} false; then :
10587 $as_echo_n "(cached) " >&6
10588 else
10589 ac_check_lib_save_LIBS=$LIBS
10590 LIBS="-lxml2 $XML2_LIBS $LIBS"
10591 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10592 /* end confdefs.h. */
10594 /* Override any GCC internal prototype to avoid an error.
10595 Use char because int might match the return type of a GCC
10596 builtin and then its argument prototype would still apply. */
10597 #ifdef __cplusplus
10598 extern "C"
10599 #endif
10600 char xmlReadMemory ();
10602 main ()
10604 return xmlReadMemory ();
10606 return 0;
10608 _ACEOF
10609 if ac_fn_c_try_link "$LINENO"; then :
10610 ac_cv_lib_xml2_xmlReadMemory=yes
10611 else
10612 ac_cv_lib_xml2_xmlReadMemory=no
10614 rm -f core conftest.err conftest.$ac_objext \
10615 conftest$ac_exeext conftest.$ac_ext
10616 LIBS=$ac_check_lib_save_LIBS
10618 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_xml2_xmlReadMemory" >&5
10619 $as_echo "$ac_cv_lib_xml2_xmlReadMemory" >&6; }
10620 if test "x$ac_cv_lib_xml2_xmlReadMemory" = xyes; then :
10622 $as_echo "#define HAVE_XMLREADMEMORY 1" >>confdefs.h
10626 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for xmlNewDocPI in -lxml2" >&5
10627 $as_echo_n "checking for xmlNewDocPI in -lxml2... " >&6; }
10628 if ${ac_cv_lib_xml2_xmlNewDocPI+:} false; then :
10629 $as_echo_n "(cached) " >&6
10630 else
10631 ac_check_lib_save_LIBS=$LIBS
10632 LIBS="-lxml2 $XML2_LIBS $LIBS"
10633 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10634 /* end confdefs.h. */
10636 /* Override any GCC internal prototype to avoid an error.
10637 Use char because int might match the return type of a GCC
10638 builtin and then its argument prototype would still apply. */
10639 #ifdef __cplusplus
10640 extern "C"
10641 #endif
10642 char xmlNewDocPI ();
10644 main ()
10646 return xmlNewDocPI ();
10648 return 0;
10650 _ACEOF
10651 if ac_fn_c_try_link "$LINENO"; then :
10652 ac_cv_lib_xml2_xmlNewDocPI=yes
10653 else
10654 ac_cv_lib_xml2_xmlNewDocPI=no
10656 rm -f core conftest.err conftest.$ac_objext \
10657 conftest$ac_exeext conftest.$ac_ext
10658 LIBS=$ac_check_lib_save_LIBS
10660 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_xml2_xmlNewDocPI" >&5
10661 $as_echo "$ac_cv_lib_xml2_xmlNewDocPI" >&6; }
10662 if test "x$ac_cv_lib_xml2_xmlNewDocPI" = xyes; then :
10664 $as_echo "#define HAVE_XMLNEWDOCPI 1" >>confdefs.h
10668 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for xmlSchemaSetParserStructuredErrors in -lxml2" >&5
10669 $as_echo_n "checking for xmlSchemaSetParserStructuredErrors in -lxml2... " >&6; }
10670 if ${ac_cv_lib_xml2_xmlSchemaSetParserStructuredErrors+:} false; then :
10671 $as_echo_n "(cached) " >&6
10672 else
10673 ac_check_lib_save_LIBS=$LIBS
10674 LIBS="-lxml2 $XML2_LIBS $LIBS"
10675 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10676 /* end confdefs.h. */
10678 /* Override any GCC internal prototype to avoid an error.
10679 Use char because int might match the return type of a GCC
10680 builtin and then its argument prototype would still apply. */
10681 #ifdef __cplusplus
10682 extern "C"
10683 #endif
10684 char xmlSchemaSetParserStructuredErrors ();
10686 main ()
10688 return xmlSchemaSetParserStructuredErrors ();
10690 return 0;
10692 _ACEOF
10693 if ac_fn_c_try_link "$LINENO"; then :
10694 ac_cv_lib_xml2_xmlSchemaSetParserStructuredErrors=yes
10695 else
10696 ac_cv_lib_xml2_xmlSchemaSetParserStructuredErrors=no
10698 rm -f core conftest.err conftest.$ac_objext \
10699 conftest$ac_exeext conftest.$ac_ext
10700 LIBS=$ac_check_lib_save_LIBS
10702 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_xml2_xmlSchemaSetParserStructuredErrors" >&5
10703 $as_echo "$ac_cv_lib_xml2_xmlSchemaSetParserStructuredErrors" >&6; }
10704 if test "x$ac_cv_lib_xml2_xmlSchemaSetParserStructuredErrors" = xyes; then :
10706 $as_echo "#define HAVE_XMLSCHEMASSETPARSERSTRUCTUREDERRORS 1" >>confdefs.h
10710 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for xmlSchemaSetValidStructuredErrors in -lxml2" >&5
10711 $as_echo_n "checking for xmlSchemaSetValidStructuredErrors in -lxml2... " >&6; }
10712 if ${ac_cv_lib_xml2_xmlSchemaSetValidStructuredErrors+:} false; then :
10713 $as_echo_n "(cached) " >&6
10714 else
10715 ac_check_lib_save_LIBS=$LIBS
10716 LIBS="-lxml2 $XML2_LIBS $LIBS"
10717 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10718 /* end confdefs.h. */
10720 /* Override any GCC internal prototype to avoid an error.
10721 Use char because int might match the return type of a GCC
10722 builtin and then its argument prototype would still apply. */
10723 #ifdef __cplusplus
10724 extern "C"
10725 #endif
10726 char xmlSchemaSetValidStructuredErrors ();
10728 main ()
10730 return xmlSchemaSetValidStructuredErrors ();
10732 return 0;
10734 _ACEOF
10735 if ac_fn_c_try_link "$LINENO"; then :
10736 ac_cv_lib_xml2_xmlSchemaSetValidStructuredErrors=yes
10737 else
10738 ac_cv_lib_xml2_xmlSchemaSetValidStructuredErrors=no
10740 rm -f core conftest.err conftest.$ac_objext \
10741 conftest$ac_exeext conftest.$ac_ext
10742 LIBS=$ac_check_lib_save_LIBS
10744 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_xml2_xmlSchemaSetValidStructuredErrors" >&5
10745 $as_echo "$ac_cv_lib_xml2_xmlSchemaSetValidStructuredErrors" >&6; }
10746 if test "x$ac_cv_lib_xml2_xmlSchemaSetValidStructuredErrors" = xyes; then :
10748 $as_echo "#define HAVE_XMLSCHEMASSETVALIDSTRUCTUREDERRORS 1" >>confdefs.h
10752 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for xmlFirstElementChild in -lxml2" >&5
10753 $as_echo_n "checking for xmlFirstElementChild in -lxml2... " >&6; }
10754 if ${ac_cv_lib_xml2_xmlFirstElementChild+:} false; then :
10755 $as_echo_n "(cached) " >&6
10756 else
10757 ac_check_lib_save_LIBS=$LIBS
10758 LIBS="-lxml2 $XML2_LIBS $LIBS"
10759 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10760 /* end confdefs.h. */
10762 /* Override any GCC internal prototype to avoid an error.
10763 Use char because int might match the return type of a GCC
10764 builtin and then its argument prototype would still apply. */
10765 #ifdef __cplusplus
10766 extern "C"
10767 #endif
10768 char xmlFirstElementChild ();
10770 main ()
10772 return xmlFirstElementChild ();
10774 return 0;
10776 _ACEOF
10777 if ac_fn_c_try_link "$LINENO"; then :
10778 ac_cv_lib_xml2_xmlFirstElementChild=yes
10779 else
10780 ac_cv_lib_xml2_xmlFirstElementChild=no
10782 rm -f core conftest.err conftest.$ac_objext \
10783 conftest$ac_exeext conftest.$ac_ext
10784 LIBS=$ac_check_lib_save_LIBS
10786 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_xml2_xmlFirstElementChild" >&5
10787 $as_echo "$ac_cv_lib_xml2_xmlFirstElementChild" >&6; }
10788 if test "x$ac_cv_lib_xml2_xmlFirstElementChild" = xyes; then :
10790 $as_echo "#define HAVE_XMLFIRSTELEMENTCHILD 1" >>confdefs.h
10794 ac_fn_c_check_type "$LINENO" "xmlDocProperties" "ac_cv_type_xmlDocProperties" "#include <libxml/tree.h>
10796 if test "x$ac_cv_type_xmlDocProperties" = xyes; then :
10798 $as_echo "#define HAVE_XMLDOC_PROPERTIES 1" >>confdefs.h
10802 else
10803 XML2_CFLAGS=""
10804 XML2_LIBS=""
10806 CPPFLAGS=$ac_save_CPPFLAGS
10807 test -z "$XML2_CFLAGS" || XML2_CFLAGS=`echo " $XML2_CFLAGS" | sed 's/ -I\([^/]\)/ -I\$(top_builddir)\/\1/g'`
10808 test -z "$XML2_LIBS" || XML2_LIBS=`echo " $XML2_LIBS" | sed 's/ -L\([^/]\)/ -L\$(top_builddir)\/\1/g'`
10811 if test "$ac_cv_lib_xml2_xmlParseMemory" != "yes"; then :
10812 case "x$with_xml" in
10813 x) as_fn_append wine_warnings "|libxml2 ${notice_platform}development files not found (or too old), XML won't be supported." ;;
10814 xno) ;;
10815 *) as_fn_error $? "libxml2 ${notice_platform}development files not found (or too old), XML won't be supported.
10816 This is an error since --with-xml was requested." "$LINENO" 5 ;;
10817 esac
10820 if test "x$with_xslt" != "xno"
10821 then
10822 if ${XSLT_CFLAGS:+false} :; then :
10823 if ${PKG_CONFIG+:} false; then :
10824 XSLT_CFLAGS=`$PKG_CONFIG --cflags libxslt 2>/dev/null`
10827 test "$cross_compiling" = yes || XSLT_CFLAGS=${XSLT_CFLAGS:-`xslt-config --cflags 2>/dev/null`}
10828 if ${XSLT_LIBS:+false} :; then :
10829 if ${PKG_CONFIG+:} false; then :
10830 XSLT_LIBS=`$PKG_CONFIG --libs libxslt 2>/dev/null`
10833 test "$cross_compiling" = yes || XSLT_LIBS=${XSLT_LIBS:-`xslt-config --libs 2>/dev/null`}
10834 XSLT_LIBS=${XSLT_LIBS:-"-lxml2"}
10835 $as_echo "$as_me:${as_lineno-$LINENO}: libxslt cflags: $XSLT_CFLAGS" >&5
10836 $as_echo "$as_me:${as_lineno-$LINENO}: libxslt libs: $XSLT_LIBS" >&5
10837 ac_save_CPPFLAGS=$CPPFLAGS
10838 CPPFLAGS="$CPPFLAGS $XSLT_CFLAGS"
10839 for ac_header in libxslt/pattern.h libxslt/transform.h
10840 do :
10841 as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
10842 ac_fn_c_check_header_compile "$LINENO" "$ac_header" "$as_ac_Header" "#ifdef HAVE_LIBXSLT_PATTERN_H
10843 # include <libxslt/pattern.h>
10844 #endif
10846 if eval test \"x\$"$as_ac_Header"\" = x"yes"; then :
10847 cat >>confdefs.h <<_ACEOF
10848 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
10849 _ACEOF
10853 done
10855 if test "$ac_cv_header_libxslt_transform_h" = "yes"
10856 then
10857 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lxslt" >&5
10858 $as_echo_n "checking for -lxslt... " >&6; }
10859 if ${ac_cv_lib_soname_xslt+:} false; then :
10860 $as_echo_n "(cached) " >&6
10861 else
10862 ac_check_soname_save_LIBS=$LIBS
10863 LIBS="-lxslt $XSLT_LIBS $LIBS"
10864 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10865 /* end confdefs.h. */
10867 /* Override any GCC internal prototype to avoid an error.
10868 Use char because int might match the return type of a GCC
10869 builtin and then its argument prototype would still apply. */
10870 #ifdef __cplusplus
10871 extern "C"
10872 #endif
10873 char xsltCompilePattern ();
10875 main ()
10877 return xsltCompilePattern ();
10879 return 0;
10881 _ACEOF
10882 if ac_fn_c_try_link "$LINENO"; then :
10883 case "$LIBEXT" in
10884 dll) ac_cv_lib_soname_xslt=`$ac_cv_path_LDD conftest.exe | grep "xslt" | sed -e "s/dll.*/dll/"';2,$d'` ;;
10885 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'` ;;
10886 *) ac_cv_lib_soname_xslt=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libxslt\\.$LIBEXT" | sed -e "s/^.*\\[\\(libxslt\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
10887 if ${ac_cv_lib_soname_xslt:+false} :; then :
10888 ac_cv_lib_soname_xslt=`$LDD conftest$ac_exeext | grep "libxslt\\.$LIBEXT" | sed -e "s/^.*\(libxslt\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
10889 fi ;;
10890 esac
10892 rm -f core conftest.err conftest.$ac_objext \
10893 conftest$ac_exeext conftest.$ac_ext
10894 LIBS=$ac_check_soname_save_LIBS
10896 if ${ac_cv_lib_soname_xslt:+false} :; then :
10897 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
10898 $as_echo "not found" >&6; }
10900 else
10901 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_xslt" >&5
10902 $as_echo "$ac_cv_lib_soname_xslt" >&6; }
10904 cat >>confdefs.h <<_ACEOF
10905 #define SONAME_LIBXSLT "$ac_cv_lib_soname_xslt"
10906 _ACEOF
10910 else
10911 XSLT_CFLAGS=""
10913 CPPFLAGS=$ac_save_CPPFLAGS
10914 test -z "$XSLT_CFLAGS" || XSLT_CFLAGS=`echo " $XSLT_CFLAGS" | sed 's/ -I\([^/]\)/ -I\$(top_builddir)\/\1/g'`
10915 test -z "$XSLT_LIBS" || XSLT_LIBS=`echo " $XSLT_LIBS" | sed 's/ -L\([^/]\)/ -L\$(top_builddir)\/\1/g'`
10918 if test "x$ac_cv_lib_soname_xslt" = "x"; then :
10919 case "x$with_xslt" in
10920 x) as_fn_append wine_warnings "|libxslt ${notice_platform}development files not found, xslt won't be supported." ;;
10921 xno) ;;
10922 *) as_fn_error $? "libxslt ${notice_platform}development files not found, xslt won't be supported.
10923 This is an error since --with-xslt was requested." "$LINENO" 5 ;;
10924 esac
10927 if test "x$with_dbus" != "xno"
10928 then
10929 if ${DBUS_CFLAGS:+false} :; then :
10930 if ${PKG_CONFIG+:} false; then :
10931 DBUS_CFLAGS=`$PKG_CONFIG --cflags dbus-1 2>/dev/null`
10935 if ${DBUS_LIBS:+false} :; then :
10936 if ${PKG_CONFIG+:} false; then :
10937 DBUS_LIBS=`$PKG_CONFIG --libs dbus-1 2>/dev/null`
10942 $as_echo "$as_me:${as_lineno-$LINENO}: dbus-1 cflags: $DBUS_CFLAGS" >&5
10943 $as_echo "$as_me:${as_lineno-$LINENO}: dbus-1 libs: $DBUS_LIBS" >&5
10944 ac_save_CPPFLAGS=$CPPFLAGS
10945 CPPFLAGS="$CPPFLAGS $DBUS_CFLAGS"
10946 ac_fn_c_check_header_mongrel "$LINENO" "dbus/dbus.h" "ac_cv_header_dbus_dbus_h" "$ac_includes_default"
10947 if test "x$ac_cv_header_dbus_dbus_h" = xyes; then :
10948 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -ldbus-1" >&5
10949 $as_echo_n "checking for -ldbus-1... " >&6; }
10950 if ${ac_cv_lib_soname_dbus_1+:} false; then :
10951 $as_echo_n "(cached) " >&6
10952 else
10953 ac_check_soname_save_LIBS=$LIBS
10954 LIBS="-ldbus-1 $DBUS_LIBS $LIBS"
10955 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10956 /* end confdefs.h. */
10958 /* Override any GCC internal prototype to avoid an error.
10959 Use char because int might match the return type of a GCC
10960 builtin and then its argument prototype would still apply. */
10961 #ifdef __cplusplus
10962 extern "C"
10963 #endif
10964 char dbus_connection_close ();
10966 main ()
10968 return dbus_connection_close ();
10970 return 0;
10972 _ACEOF
10973 if ac_fn_c_try_link "$LINENO"; then :
10974 case "$LIBEXT" in
10975 dll) ac_cv_lib_soname_dbus_1=`$ac_cv_path_LDD conftest.exe | grep "dbus-1" | sed -e "s/dll.*/dll/"';2,$d'` ;;
10976 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'` ;;
10977 *) 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'`
10978 if ${ac_cv_lib_soname_dbus_1:+false} :; then :
10979 ac_cv_lib_soname_dbus_1=`$LDD conftest$ac_exeext | grep "libdbus-1\\.$LIBEXT" | sed -e "s/^.*\(libdbus-1\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
10980 fi ;;
10981 esac
10983 rm -f core conftest.err conftest.$ac_objext \
10984 conftest$ac_exeext conftest.$ac_ext
10985 LIBS=$ac_check_soname_save_LIBS
10987 if ${ac_cv_lib_soname_dbus_1:+false} :; then :
10988 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
10989 $as_echo "not found" >&6; }
10990 DBUS_CFLAGS=""
10991 else
10992 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_dbus_1" >&5
10993 $as_echo "$ac_cv_lib_soname_dbus_1" >&6; }
10995 cat >>confdefs.h <<_ACEOF
10996 #define SONAME_LIBDBUS_1 "$ac_cv_lib_soname_dbus_1"
10997 _ACEOF
11001 else
11002 DBUS_CFLAGS=""
11006 CPPFLAGS=$ac_save_CPPFLAGS
11007 test -z "$DBUS_CFLAGS" || DBUS_CFLAGS=`echo " $DBUS_CFLAGS" | sed 's/ -I\([^/]\)/ -I\$(top_builddir)\/\1/g'`
11008 test -z "$DBUS_LIBS" || DBUS_LIBS=`echo " $DBUS_LIBS" | sed 's/ -L\([^/]\)/ -L\$(top_builddir)\/\1/g'`
11011 if test "x$ac_cv_lib_soname_dbus_1" = "x" -a \
11012 "x$ac_cv_header_DiskArbitration_DiskArbitration_h" != "xyes"; then :
11013 case "x$with_dbus" in
11014 x) as_fn_append wine_notices "|libdbus ${notice_platform}development files not found, no dynamic device support." ;;
11015 xno) ;;
11016 *) as_fn_error $? "libdbus ${notice_platform}development files not found, no dynamic device support.
11017 This is an error since --with-dbus was requested." "$LINENO" 5 ;;
11018 esac
11021 if test "x$with_hal" != "xno" -a "x$ac_cv_lib_soname_dbus_1" != x
11022 then
11023 if ${HAL_CFLAGS:+false} :; then :
11024 if ${PKG_CONFIG+:} false; then :
11025 HAL_CFLAGS=`$PKG_CONFIG --cflags hal 2>/dev/null`
11029 if ${HAL_LIBS:+false} :; then :
11030 if ${PKG_CONFIG+:} false; then :
11031 HAL_LIBS=`$PKG_CONFIG --libs hal 2>/dev/null`
11035 HAL_LIBS=${HAL_LIBS:-"-ldbus-1"}
11036 $as_echo "$as_me:${as_lineno-$LINENO}: hal cflags: $HAL_CFLAGS" >&5
11037 $as_echo "$as_me:${as_lineno-$LINENO}: hal libs: $HAL_LIBS" >&5
11038 ac_save_CPPFLAGS=$CPPFLAGS
11039 CPPFLAGS="$CPPFLAGS $HAL_CFLAGS"
11040 ac_fn_c_check_header_mongrel "$LINENO" "hal/libhal.h" "ac_cv_header_hal_libhal_h" "$ac_includes_default"
11041 if test "x$ac_cv_header_hal_libhal_h" = xyes; then :
11042 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lhal" >&5
11043 $as_echo_n "checking for -lhal... " >&6; }
11044 if ${ac_cv_lib_soname_hal+:} false; then :
11045 $as_echo_n "(cached) " >&6
11046 else
11047 ac_check_soname_save_LIBS=$LIBS
11048 LIBS="-lhal $HAL_LIBS $LIBS"
11049 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11050 /* end confdefs.h. */
11052 /* Override any GCC internal prototype to avoid an error.
11053 Use char because int might match the return type of a GCC
11054 builtin and then its argument prototype would still apply. */
11055 #ifdef __cplusplus
11056 extern "C"
11057 #endif
11058 char libhal_ctx_new ();
11060 main ()
11062 return libhal_ctx_new ();
11064 return 0;
11066 _ACEOF
11067 if ac_fn_c_try_link "$LINENO"; then :
11068 case "$LIBEXT" in
11069 dll) ac_cv_lib_soname_hal=`$ac_cv_path_LDD conftest.exe | grep "hal" | sed -e "s/dll.*/dll/"';2,$d'` ;;
11070 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'` ;;
11071 *) ac_cv_lib_soname_hal=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libhal\\.$LIBEXT" | sed -e "s/^.*\\[\\(libhal\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
11072 if ${ac_cv_lib_soname_hal:+false} :; then :
11073 ac_cv_lib_soname_hal=`$LDD conftest$ac_exeext | grep "libhal\\.$LIBEXT" | sed -e "s/^.*\(libhal\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
11074 fi ;;
11075 esac
11077 rm -f core conftest.err conftest.$ac_objext \
11078 conftest$ac_exeext conftest.$ac_ext
11079 LIBS=$ac_check_soname_save_LIBS
11081 if ${ac_cv_lib_soname_hal:+false} :; then :
11082 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
11083 $as_echo "not found" >&6; }
11084 HAL_CFLAGS=""
11085 else
11086 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_hal" >&5
11087 $as_echo "$ac_cv_lib_soname_hal" >&6; }
11089 cat >>confdefs.h <<_ACEOF
11090 #define SONAME_LIBHAL "$ac_cv_lib_soname_hal"
11091 _ACEOF
11095 else
11096 HAL_CFLAGS=""
11100 CPPFLAGS=$ac_save_CPPFLAGS
11101 test -z "$HAL_CFLAGS" || HAL_CFLAGS=`echo " $HAL_CFLAGS" | sed 's/ -I\([^/]\)/ -I\$(top_builddir)\/\1/g'`
11102 test -z "$HAL_LIBS" || HAL_LIBS=`echo " $HAL_LIBS" | sed 's/ -L\([^/]\)/ -L\$(top_builddir)\/\1/g'`
11104 if test "x$ac_cv_lib_soname_hal" = "x" -a \
11105 "x$ac_cv_header_DiskArbitration_DiskArbitration_h" != "xyes"; then :
11106 case "x$with_hal" in
11107 x) as_fn_append wine_notices "|libhal ${notice_platform}development files not found, no legacy dynamic device support." ;;
11108 xno) ;;
11109 *) as_fn_error $? "libhal ${notice_platform}development files not found, no legacy dynamic device support.
11110 This is an error since --with-hal was requested." "$LINENO" 5 ;;
11111 esac
11115 if test "x$with_gnutls" != "xno"
11116 then
11117 if ${GNUTLS_CFLAGS:+false} :; then :
11118 if ${PKG_CONFIG+:} false; then :
11119 GNUTLS_CFLAGS=`$PKG_CONFIG --cflags gnutls 2>/dev/null`
11123 if ${GNUTLS_LIBS:+false} :; then :
11124 if ${PKG_CONFIG+:} false; then :
11125 GNUTLS_LIBS=`$PKG_CONFIG --libs gnutls 2>/dev/null`
11130 $as_echo "$as_me:${as_lineno-$LINENO}: gnutls cflags: $GNUTLS_CFLAGS" >&5
11131 $as_echo "$as_me:${as_lineno-$LINENO}: gnutls libs: $GNUTLS_LIBS" >&5
11132 ac_save_CPPFLAGS=$CPPFLAGS
11133 CPPFLAGS="$CPPFLAGS $GNUTLS_CFLAGS"
11134 ac_fn_c_check_header_mongrel "$LINENO" "gnutls/gnutls.h" "ac_cv_header_gnutls_gnutls_h" "$ac_includes_default"
11135 if test "x$ac_cv_header_gnutls_gnutls_h" = xyes; then :
11136 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11137 /* end confdefs.h. */
11138 #include <gnutls/gnutls.h>
11139 #include <gnutls/crypto.h>
11141 main ()
11143 static typeof(gnutls_mac_get_key_size) *func; if (func) return 0;
11145 return 0;
11147 _ACEOF
11148 if ac_fn_c_try_compile "$LINENO"; then :
11149 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lgnutls" >&5
11150 $as_echo_n "checking for -lgnutls... " >&6; }
11151 if ${ac_cv_lib_soname_gnutls+:} false; then :
11152 $as_echo_n "(cached) " >&6
11153 else
11154 ac_check_soname_save_LIBS=$LIBS
11155 LIBS="-lgnutls $GNUTLS_LIBS $LIBS"
11156 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11157 /* end confdefs.h. */
11159 /* Override any GCC internal prototype to avoid an error.
11160 Use char because int might match the return type of a GCC
11161 builtin and then its argument prototype would still apply. */
11162 #ifdef __cplusplus
11163 extern "C"
11164 #endif
11165 char gnutls_global_init ();
11167 main ()
11169 return gnutls_global_init ();
11171 return 0;
11173 _ACEOF
11174 if ac_fn_c_try_link "$LINENO"; then :
11175 case "$LIBEXT" in
11176 dll) ac_cv_lib_soname_gnutls=`$ac_cv_path_LDD conftest.exe | grep "gnutls" | sed -e "s/dll.*/dll/"';2,$d'` ;;
11177 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'` ;;
11178 *) ac_cv_lib_soname_gnutls=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libgnutls\\.$LIBEXT" | sed -e "s/^.*\\[\\(libgnutls\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
11179 if ${ac_cv_lib_soname_gnutls:+false} :; then :
11180 ac_cv_lib_soname_gnutls=`$LDD conftest$ac_exeext | grep "libgnutls\\.$LIBEXT" | sed -e "s/^.*\(libgnutls\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
11181 fi ;;
11182 esac
11184 rm -f core conftest.err conftest.$ac_objext \
11185 conftest$ac_exeext conftest.$ac_ext
11186 LIBS=$ac_check_soname_save_LIBS
11188 if ${ac_cv_lib_soname_gnutls:+false} :; then :
11189 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
11190 $as_echo "not found" >&6; }
11191 GNUTLS_CFLAGS=""
11192 else
11193 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_gnutls" >&5
11194 $as_echo "$ac_cv_lib_soname_gnutls" >&6; }
11196 cat >>confdefs.h <<_ACEOF
11197 #define SONAME_LIBGNUTLS "$ac_cv_lib_soname_gnutls"
11198 _ACEOF
11203 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
11204 else
11205 GNUTLS_CFLAGS=""
11209 CPPFLAGS=$ac_save_CPPFLAGS
11210 test -z "$GNUTLS_CFLAGS" || GNUTLS_CFLAGS=`echo " $GNUTLS_CFLAGS" | sed 's/ -I\([^/]\)/ -I\$(top_builddir)\/\1/g'`
11211 test -z "$GNUTLS_LIBS" || GNUTLS_LIBS=`echo " $GNUTLS_LIBS" | sed 's/ -L\([^/]\)/ -L\$(top_builddir)\/\1/g'`
11214 if test "x$ac_cv_lib_soname_gnutls" = "x"; then :
11215 case "x$with_gnutls" in
11216 x) as_fn_append wine_warnings "|libgnutls ${notice_platform}development files not found, no schannel support." ;;
11217 xno) ;;
11218 *) as_fn_error $? "libgnutls ${notice_platform}development files not found, no schannel support.
11219 This is an error since --with-gnutls was requested." "$LINENO" 5 ;;
11220 esac
11223 CURSES_LIBS=""
11224 if test "$ac_cv_header_ncurses_h" = "yes"
11225 then
11226 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lncurses" >&5
11227 $as_echo_n "checking for -lncurses... " >&6; }
11228 if ${ac_cv_lib_soname_ncurses+:} false; then :
11229 $as_echo_n "(cached) " >&6
11230 else
11231 ac_check_soname_save_LIBS=$LIBS
11232 LIBS="-lncurses $LIBS"
11233 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11234 /* end confdefs.h. */
11236 /* Override any GCC internal prototype to avoid an error.
11237 Use char because int might match the return type of a GCC
11238 builtin and then its argument prototype would still apply. */
11239 #ifdef __cplusplus
11240 extern "C"
11241 #endif
11242 char waddch ();
11244 main ()
11246 return waddch ();
11248 return 0;
11250 _ACEOF
11251 if ac_fn_c_try_link "$LINENO"; then :
11252 case "$LIBEXT" in
11253 dll) ac_cv_lib_soname_ncurses=`$ac_cv_path_LDD conftest.exe | grep "ncurses" | sed -e "s/dll.*/dll/"';2,$d'` ;;
11254 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'` ;;
11255 *) ac_cv_lib_soname_ncurses=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libncurses\\.$LIBEXT" | sed -e "s/^.*\\[\\(libncurses\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
11256 if ${ac_cv_lib_soname_ncurses:+false} :; then :
11257 ac_cv_lib_soname_ncurses=`$LDD conftest$ac_exeext | grep "libncurses\\.$LIBEXT" | sed -e "s/^.*\(libncurses\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
11258 fi ;;
11259 esac
11261 rm -f core conftest.err conftest.$ac_objext \
11262 conftest$ac_exeext conftest.$ac_ext
11263 LIBS=$ac_check_soname_save_LIBS
11265 if ${ac_cv_lib_soname_ncurses:+false} :; then :
11266 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
11267 $as_echo "not found" >&6; }
11269 else
11270 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_ncurses" >&5
11271 $as_echo "$ac_cv_lib_soname_ncurses" >&6; }
11273 cat >>confdefs.h <<_ACEOF
11274 #define SONAME_LIBNCURSES "$ac_cv_lib_soname_ncurses"
11275 _ACEOF
11277 CURSES_LIBS="-lncurses"
11279 elif test "$ac_cv_header_curses_h" = "yes"
11280 then
11281 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lcurses" >&5
11282 $as_echo_n "checking for -lcurses... " >&6; }
11283 if ${ac_cv_lib_soname_curses+:} false; then :
11284 $as_echo_n "(cached) " >&6
11285 else
11286 ac_check_soname_save_LIBS=$LIBS
11287 LIBS="-lcurses $LIBS"
11288 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11289 /* end confdefs.h. */
11291 /* Override any GCC internal prototype to avoid an error.
11292 Use char because int might match the return type of a GCC
11293 builtin and then its argument prototype would still apply. */
11294 #ifdef __cplusplus
11295 extern "C"
11296 #endif
11297 char waddch ();
11299 main ()
11301 return waddch ();
11303 return 0;
11305 _ACEOF
11306 if ac_fn_c_try_link "$LINENO"; then :
11307 case "$LIBEXT" in
11308 dll) ac_cv_lib_soname_curses=`$ac_cv_path_LDD conftest.exe | grep "curses" | sed -e "s/dll.*/dll/"';2,$d'` ;;
11309 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'` ;;
11310 *) ac_cv_lib_soname_curses=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libcurses\\.$LIBEXT" | sed -e "s/^.*\\[\\(libcurses\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
11311 if ${ac_cv_lib_soname_curses:+false} :; then :
11312 ac_cv_lib_soname_curses=`$LDD conftest$ac_exeext | grep "libcurses\\.$LIBEXT" | sed -e "s/^.*\(libcurses\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
11313 fi ;;
11314 esac
11316 rm -f core conftest.err conftest.$ac_objext \
11317 conftest$ac_exeext conftest.$ac_ext
11318 LIBS=$ac_check_soname_save_LIBS
11320 if ${ac_cv_lib_soname_curses:+false} :; then :
11321 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
11322 $as_echo "not found" >&6; }
11324 else
11325 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_curses" >&5
11326 $as_echo "$ac_cv_lib_soname_curses" >&6; }
11328 cat >>confdefs.h <<_ACEOF
11329 #define SONAME_LIBCURSES "$ac_cv_lib_soname_curses"
11330 _ACEOF
11332 CURSES_LIBS="-lcurses"
11335 ac_save_LIBS="$LIBS"
11336 LIBS="$LIBS $CURSES_LIBS"
11337 for ac_func in mousemask
11338 do :
11339 ac_fn_c_check_func "$LINENO" "mousemask" "ac_cv_func_mousemask"
11340 if test "x$ac_cv_func_mousemask" = xyes; then :
11341 cat >>confdefs.h <<_ACEOF
11342 #define HAVE_MOUSEMASK 1
11343 _ACEOF
11346 done
11348 LIBS="$ac_save_LIBS"
11349 if test "x$ac_cv_lib_soname_curses$ac_cv_lib_soname_ncurses" = "x"; then :
11350 case "x$with_curses" in
11351 x) as_fn_append wine_notices "|lib(n)curses ${notice_platform}development files not found, curses won't be supported." ;;
11352 xno) ;;
11353 *) as_fn_error $? "lib(n)curses ${notice_platform}development files not found, curses won't be supported.
11354 This is an error since --with-curses was requested." "$LINENO" 5 ;;
11355 esac
11358 if test "x$with_sane" != "xno"
11359 then
11360 if ${SANE_CFLAGS:+false} :; then :
11361 if ${PKG_CONFIG+:} false; then :
11362 SANE_CFLAGS=`$PKG_CONFIG --cflags libsane 2>/dev/null`
11365 test "$cross_compiling" = yes || SANE_CFLAGS=${SANE_CFLAGS:-`sane-config --cflags 2>/dev/null`}
11366 if ${SANE_LIBS:+false} :; then :
11367 if ${PKG_CONFIG+:} false; then :
11368 SANE_LIBS=`$PKG_CONFIG --libs libsane 2>/dev/null`
11371 test "$cross_compiling" = yes || SANE_LIBS=${SANE_LIBS:-`sane-config --ldflags 2>/dev/null`}
11373 $as_echo "$as_me:${as_lineno-$LINENO}: libsane cflags: $SANE_CFLAGS" >&5
11374 $as_echo "$as_me:${as_lineno-$LINENO}: libsane libs: $SANE_LIBS" >&5
11375 ac_save_CPPFLAGS=$CPPFLAGS
11376 CPPFLAGS="$CPPFLAGS $SANE_CFLAGS"
11377 ac_fn_c_check_header_mongrel "$LINENO" "sane/sane.h" "ac_cv_header_sane_sane_h" "$ac_includes_default"
11378 if test "x$ac_cv_header_sane_sane_h" = xyes; then :
11379 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lsane" >&5
11380 $as_echo_n "checking for -lsane... " >&6; }
11381 if ${ac_cv_lib_soname_sane+:} false; then :
11382 $as_echo_n "(cached) " >&6
11383 else
11384 ac_check_soname_save_LIBS=$LIBS
11385 LIBS="-lsane $SANE_LIBS $LIBS"
11386 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11387 /* end confdefs.h. */
11389 /* Override any GCC internal prototype to avoid an error.
11390 Use char because int might match the return type of a GCC
11391 builtin and then its argument prototype would still apply. */
11392 #ifdef __cplusplus
11393 extern "C"
11394 #endif
11395 char sane_init ();
11397 main ()
11399 return sane_init ();
11401 return 0;
11403 _ACEOF
11404 if ac_fn_c_try_link "$LINENO"; then :
11405 case "$LIBEXT" in
11406 dll) ac_cv_lib_soname_sane=`$ac_cv_path_LDD conftest.exe | grep "sane" | sed -e "s/dll.*/dll/"';2,$d'` ;;
11407 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'` ;;
11408 *) ac_cv_lib_soname_sane=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libsane\\.$LIBEXT" | sed -e "s/^.*\\[\\(libsane\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
11409 if ${ac_cv_lib_soname_sane:+false} :; then :
11410 ac_cv_lib_soname_sane=`$LDD conftest$ac_exeext | grep "libsane\\.$LIBEXT" | sed -e "s/^.*\(libsane\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
11411 fi ;;
11412 esac
11414 rm -f core conftest.err conftest.$ac_objext \
11415 conftest$ac_exeext conftest.$ac_ext
11416 LIBS=$ac_check_soname_save_LIBS
11418 if ${ac_cv_lib_soname_sane:+false} :; then :
11419 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
11420 $as_echo "not found" >&6; }
11421 SANE_CFLAGS=""
11422 else
11423 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_sane" >&5
11424 $as_echo "$ac_cv_lib_soname_sane" >&6; }
11426 cat >>confdefs.h <<_ACEOF
11427 #define SONAME_LIBSANE "$ac_cv_lib_soname_sane"
11428 _ACEOF
11432 else
11433 SANE_CFLAGS=""
11437 CPPFLAGS=$ac_save_CPPFLAGS
11438 test -z "$SANE_CFLAGS" || SANE_CFLAGS=`echo " $SANE_CFLAGS" | sed 's/ -I\([^/]\)/ -I\$(top_builddir)\/\1/g'`
11439 test -z "$SANE_LIBS" || SANE_LIBS=`echo " $SANE_LIBS" | sed 's/ -L\([^/]\)/ -L\$(top_builddir)\/\1/g'`
11442 if test "x$ac_cv_lib_soname_sane" = "x"; then :
11443 case "x$with_sane" in
11444 x) as_fn_append wine_notices "|libsane ${notice_platform}development files not found, scanners won't be supported." ;;
11445 xno) ;;
11446 *) as_fn_error $? "libsane ${notice_platform}development files not found, scanners won't be supported.
11447 This is an error since --with-sane was requested." "$LINENO" 5 ;;
11448 esac
11451 if test "x$with_v4l" != "xno"
11452 then
11453 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lv4l1" >&5
11454 $as_echo_n "checking for -lv4l1... " >&6; }
11455 if ${ac_cv_lib_soname_v4l1+:} false; then :
11456 $as_echo_n "(cached) " >&6
11457 else
11458 ac_check_soname_save_LIBS=$LIBS
11459 LIBS="-lv4l1 $LIBS"
11460 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11461 /* end confdefs.h. */
11463 /* Override any GCC internal prototype to avoid an error.
11464 Use char because int might match the return type of a GCC
11465 builtin and then its argument prototype would still apply. */
11466 #ifdef __cplusplus
11467 extern "C"
11468 #endif
11469 char v4l1_open ();
11471 main ()
11473 return v4l1_open ();
11475 return 0;
11477 _ACEOF
11478 if ac_fn_c_try_link "$LINENO"; then :
11479 case "$LIBEXT" in
11480 dll) ac_cv_lib_soname_v4l1=`$ac_cv_path_LDD conftest.exe | grep "v4l1" | sed -e "s/dll.*/dll/"';2,$d'` ;;
11481 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'` ;;
11482 *) ac_cv_lib_soname_v4l1=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libv4l1\\.$LIBEXT" | sed -e "s/^.*\\[\\(libv4l1\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
11483 if ${ac_cv_lib_soname_v4l1:+false} :; then :
11484 ac_cv_lib_soname_v4l1=`$LDD conftest$ac_exeext | grep "libv4l1\\.$LIBEXT" | sed -e "s/^.*\(libv4l1\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
11485 fi ;;
11486 esac
11488 rm -f core conftest.err conftest.$ac_objext \
11489 conftest$ac_exeext conftest.$ac_ext
11490 LIBS=$ac_check_soname_save_LIBS
11492 if ${ac_cv_lib_soname_v4l1:+false} :; then :
11493 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
11494 $as_echo "not found" >&6; }
11496 else
11497 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_v4l1" >&5
11498 $as_echo "$ac_cv_lib_soname_v4l1" >&6; }
11500 cat >>confdefs.h <<_ACEOF
11501 #define SONAME_LIBV4L1 "$ac_cv_lib_soname_v4l1"
11502 _ACEOF
11507 if test "x$ac_cv_lib_soname_v4l1" = "x"; then :
11508 case "x$with_v4l" in
11509 x) as_fn_append wine_notices "|libv4l ${notice_platform}development files not found." ;;
11510 xno) ;;
11511 *) as_fn_error $? "libv4l ${notice_platform}development files not found.
11512 This is an error since --with-v4l was requested." "$LINENO" 5 ;;
11513 esac
11516 if test "x$with_gphoto" != "xno"
11517 then
11518 if ${GPHOTO2_CFLAGS:+false} :; then :
11519 if ${PKG_CONFIG+:} false; then :
11520 GPHOTO2_CFLAGS=`$PKG_CONFIG --cflags libgphoto2 2>/dev/null`
11523 test "$cross_compiling" = yes || GPHOTO2_CFLAGS=${GPHOTO2_CFLAGS:-`gphoto2-config --cflags 2>/dev/null`}
11524 if ${GPHOTO2_LIBS:+false} :; then :
11525 if ${PKG_CONFIG+:} false; then :
11526 GPHOTO2_LIBS=`$PKG_CONFIG --libs libgphoto2 2>/dev/null`
11529 test "$cross_compiling" = yes || GPHOTO2_LIBS=${GPHOTO2_LIBS:-`gphoto2-config --libs 2>/dev/null`}
11530 GPHOTO2_LIBS=${GPHOTO2_LIBS:-"-lgphoto2"}
11531 $as_echo "$as_me:${as_lineno-$LINENO}: libgphoto2 cflags: $GPHOTO2_CFLAGS" >&5
11532 $as_echo "$as_me:${as_lineno-$LINENO}: libgphoto2 libs: $GPHOTO2_LIBS" >&5
11533 ac_save_CPPFLAGS=$CPPFLAGS
11534 CPPFLAGS="$CPPFLAGS $GPHOTO2_CFLAGS"
11535 ac_fn_c_check_header_mongrel "$LINENO" "gphoto2-camera.h" "ac_cv_header_gphoto2_camera_h" "$ac_includes_default"
11536 if test "x$ac_cv_header_gphoto2_camera_h" = xyes; then :
11537 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for gp_camera_new in -lgphoto2" >&5
11538 $as_echo_n "checking for gp_camera_new in -lgphoto2... " >&6; }
11539 if ${ac_cv_lib_gphoto2_gp_camera_new+:} false; then :
11540 $as_echo_n "(cached) " >&6
11541 else
11542 ac_check_lib_save_LIBS=$LIBS
11543 LIBS="-lgphoto2 $GPHOTO2_LIBS $LIBS"
11544 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11545 /* end confdefs.h. */
11547 /* Override any GCC internal prototype to avoid an error.
11548 Use char because int might match the return type of a GCC
11549 builtin and then its argument prototype would still apply. */
11550 #ifdef __cplusplus
11551 extern "C"
11552 #endif
11553 char gp_camera_new ();
11555 main ()
11557 return gp_camera_new ();
11559 return 0;
11561 _ACEOF
11562 if ac_fn_c_try_link "$LINENO"; then :
11563 ac_cv_lib_gphoto2_gp_camera_new=yes
11564 else
11565 ac_cv_lib_gphoto2_gp_camera_new=no
11567 rm -f core conftest.err conftest.$ac_objext \
11568 conftest$ac_exeext conftest.$ac_ext
11569 LIBS=$ac_check_lib_save_LIBS
11571 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_gphoto2_gp_camera_new" >&5
11572 $as_echo "$ac_cv_lib_gphoto2_gp_camera_new" >&6; }
11573 if test "x$ac_cv_lib_gphoto2_gp_camera_new" = xyes; then :
11575 $as_echo "#define HAVE_GPHOTO2 1" >>confdefs.h
11577 else
11578 GPHOTO2_LIBS=""; GPHOTO2_CFLAGS=""
11581 else
11582 GPHOTO2_LIBS=""; GPHOTO2_CFLAGS=""
11586 CPPFLAGS=$ac_save_CPPFLAGS
11587 test -z "$GPHOTO2_CFLAGS" || GPHOTO2_CFLAGS=`echo " $GPHOTO2_CFLAGS" | sed 's/ -I\([^/]\)/ -I\$(top_builddir)\/\1/g'`
11588 test -z "$GPHOTO2_LIBS" || GPHOTO2_LIBS=`echo " $GPHOTO2_LIBS" | sed 's/ -L\([^/]\)/ -L\$(top_builddir)\/\1/g'`
11590 if ${GPHOTO2_PORT_CFLAGS:+false} :; then :
11591 if ${PKG_CONFIG+:} false; then :
11592 GPHOTO2_PORT_CFLAGS=`$PKG_CONFIG --cflags libgphoto2_port 2>/dev/null`
11595 test "$cross_compiling" = yes || GPHOTO2_PORT_CFLAGS=${GPHOTO2_PORT_CFLAGS:-`gphoto2-port-config --cflags 2>/dev/null`}
11596 if ${GPHOTO2_PORT_LIBS:+false} :; then :
11597 if ${PKG_CONFIG+:} false; then :
11598 GPHOTO2_PORT_LIBS=`$PKG_CONFIG --libs libgphoto2_port 2>/dev/null`
11601 test "$cross_compiling" = yes || GPHOTO2_PORT_LIBS=${GPHOTO2_PORT_LIBS:-`gphoto2-port-config --libs 2>/dev/null`}
11602 GPHOTO2_PORT_LIBS=${GPHOTO2_PORT_LIBS:-"-lgphoto2_port"}
11603 $as_echo "$as_me:${as_lineno-$LINENO}: libgphoto2_port cflags: $GPHOTO2_PORT_CFLAGS" >&5
11604 $as_echo "$as_me:${as_lineno-$LINENO}: libgphoto2_port libs: $GPHOTO2_PORT_LIBS" >&5
11605 ac_save_CPPFLAGS=$CPPFLAGS
11606 CPPFLAGS="$CPPFLAGS $GPHOTO2_PORT_CFLAGS"
11607 ac_fn_c_check_header_mongrel "$LINENO" "gphoto2-port.h" "ac_cv_header_gphoto2_port_h" "$ac_includes_default"
11608 if test "x$ac_cv_header_gphoto2_port_h" = xyes; then :
11609 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for gp_port_info_list_new in -lgphoto2_port" >&5
11610 $as_echo_n "checking for gp_port_info_list_new in -lgphoto2_port... " >&6; }
11611 if ${ac_cv_lib_gphoto2_port_gp_port_info_list_new+:} false; then :
11612 $as_echo_n "(cached) " >&6
11613 else
11614 ac_check_lib_save_LIBS=$LIBS
11615 LIBS="-lgphoto2_port $GPHOTO2_PORT_LIBS $LIBS"
11616 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11617 /* end confdefs.h. */
11619 /* Override any GCC internal prototype to avoid an error.
11620 Use char because int might match the return type of a GCC
11621 builtin and then its argument prototype would still apply. */
11622 #ifdef __cplusplus
11623 extern "C"
11624 #endif
11625 char gp_port_info_list_new ();
11627 main ()
11629 return gp_port_info_list_new ();
11631 return 0;
11633 _ACEOF
11634 if ac_fn_c_try_link "$LINENO"; then :
11635 ac_cv_lib_gphoto2_port_gp_port_info_list_new=yes
11636 else
11637 ac_cv_lib_gphoto2_port_gp_port_info_list_new=no
11639 rm -f core conftest.err conftest.$ac_objext \
11640 conftest$ac_exeext conftest.$ac_ext
11641 LIBS=$ac_check_lib_save_LIBS
11643 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_gphoto2_port_gp_port_info_list_new" >&5
11644 $as_echo "$ac_cv_lib_gphoto2_port_gp_port_info_list_new" >&6; }
11645 if test "x$ac_cv_lib_gphoto2_port_gp_port_info_list_new" = xyes; then :
11647 $as_echo "#define HAVE_GPHOTO2_PORT 1" >>confdefs.h
11649 else
11650 GPHOTO2_PORT_LIBS=""; GPHOTO2_PORT_CFLAGS=""
11653 else
11654 GPHOTO2_PORT_LIBS=""; GPHOTO2_PORT_CFLAGS=""
11658 CPPFLAGS=$ac_save_CPPFLAGS
11659 test -z "$GPHOTO2_PORT_CFLAGS" || GPHOTO2_PORT_CFLAGS=`echo " $GPHOTO2_PORT_CFLAGS" | sed 's/ -I\([^/]\)/ -I\$(top_builddir)\/\1/g'`
11660 test -z "$GPHOTO2_PORT_LIBS" || GPHOTO2_PORT_LIBS=`echo " $GPHOTO2_PORT_LIBS" | sed 's/ -L\([^/]\)/ -L\$(top_builddir)\/\1/g'`
11663 if test "$ac_cv_lib_gphoto2_gp_camera_new" != "yes"; then :
11664 case "x$with_gphoto" in
11665 x) as_fn_append wine_notices "|libgphoto2 ${notice_platform}development files not found, digital cameras won't be supported." ;;
11666 xno) ;;
11667 *) as_fn_error $? "libgphoto2 ${notice_platform}development files not found, digital cameras won't be supported.
11668 This is an error since --with-gphoto was requested." "$LINENO" 5 ;;
11669 esac
11671 if test "$ac_cv_lib_gphoto2_port_gp_port_info_list_new" != "yes"; then :
11672 case "x$with_gphoto" in
11673 x) as_fn_append wine_notices "|libgphoto2_port ${notice_platform}development files not found, digital cameras won't be auto-detected." ;;
11674 xno) ;;
11675 *) as_fn_error $? "libgphoto2_port ${notice_platform}development files not found, digital cameras won't be auto-detected.
11676 This is an error since --with-gphoto was requested." "$LINENO" 5 ;;
11677 esac
11681 if test "$ac_cv_header_resolv_h" = "yes"
11682 then
11683 ac_save_LIBS="$LIBS"
11684 for lib in '' -lresolv
11686 LIBS="$lib $ac_save_LIBS"
11687 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11688 /* end confdefs.h. */
11689 #ifdef HAVE_NETINET_IN_H
11690 #include <netinet/in.h>
11691 #endif
11692 #include <resolv.h>
11694 main ()
11696 res_query("foo",ns_c_in,0,0,0);
11698 return 0;
11700 _ACEOF
11701 if ac_fn_c_try_link "$LINENO"; then :
11703 $as_echo "#define HAVE_RESOLV 1" >>confdefs.h
11705 RESOLV_LIBS="$lib"
11708 rm -f core conftest.err conftest.$ac_objext \
11709 conftest$ac_exeext conftest.$ac_ext
11710 if test "${RESOLV_LIBS+set}" = set; then
11711 break
11713 done
11714 LIBS="$ac_save_LIBS"
11717 if test "x$with_lcms2" != "xno"
11718 then
11719 if ${LCMS2_CFLAGS:+false} :; then :
11720 if ${PKG_CONFIG+:} false; then :
11721 LCMS2_CFLAGS=`$PKG_CONFIG --cflags lcms2 2>/dev/null`
11725 if ${LCMS2_LIBS:+false} :; then :
11726 if ${PKG_CONFIG+:} false; then :
11727 LCMS2_LIBS=`$PKG_CONFIG --libs lcms2 2>/dev/null`
11731 LCMS2_LIBS=${LCMS2_LIBS:-"-llcms2"}
11732 $as_echo "$as_me:${as_lineno-$LINENO}: lcms2 cflags: $LCMS2_CFLAGS" >&5
11733 $as_echo "$as_me:${as_lineno-$LINENO}: lcms2 libs: $LCMS2_LIBS" >&5
11734 ac_save_CPPFLAGS=$CPPFLAGS
11735 CPPFLAGS="$CPPFLAGS $LCMS2_CFLAGS"
11736 for ac_header in lcms2.h
11737 do :
11738 ac_fn_c_check_header_mongrel "$LINENO" "lcms2.h" "ac_cv_header_lcms2_h" "$ac_includes_default"
11739 if test "x$ac_cv_header_lcms2_h" = xyes; then :
11740 cat >>confdefs.h <<_ACEOF
11741 #define HAVE_LCMS2_H 1
11742 _ACEOF
11746 done
11748 if test "$ac_cv_header_lcms2_h" = "yes"
11749 then
11750 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for cmsOpenProfileFromFile in -llcms2" >&5
11751 $as_echo_n "checking for cmsOpenProfileFromFile in -llcms2... " >&6; }
11752 if ${ac_cv_lib_lcms2_cmsOpenProfileFromFile+:} false; then :
11753 $as_echo_n "(cached) " >&6
11754 else
11755 ac_check_lib_save_LIBS=$LIBS
11756 LIBS="-llcms2 $LIBS"
11757 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11758 /* end confdefs.h. */
11760 /* Override any GCC internal prototype to avoid an error.
11761 Use char because int might match the return type of a GCC
11762 builtin and then its argument prototype would still apply. */
11763 #ifdef __cplusplus
11764 extern "C"
11765 #endif
11766 char cmsOpenProfileFromFile ();
11768 main ()
11770 return cmsOpenProfileFromFile ();
11772 return 0;
11774 _ACEOF
11775 if ac_fn_c_try_link "$LINENO"; then :
11776 ac_cv_lib_lcms2_cmsOpenProfileFromFile=yes
11777 else
11778 ac_cv_lib_lcms2_cmsOpenProfileFromFile=no
11780 rm -f core conftest.err conftest.$ac_objext \
11781 conftest$ac_exeext conftest.$ac_ext
11782 LIBS=$ac_check_lib_save_LIBS
11784 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_lcms2_cmsOpenProfileFromFile" >&5
11785 $as_echo "$ac_cv_lib_lcms2_cmsOpenProfileFromFile" >&6; }
11786 if test "x$ac_cv_lib_lcms2_cmsOpenProfileFromFile" = xyes; then :
11788 $as_echo "#define HAVE_LCMS2 1" >>confdefs.h
11790 else
11791 LCMS2_LIBS=""
11794 else
11795 LCMS2_CFLAGS=""
11796 LCMS2_LIBS=""
11798 CPPFLAGS=$ac_save_CPPFLAGS
11799 test -z "$LCMS2_CFLAGS" || LCMS2_CFLAGS=`echo " $LCMS2_CFLAGS" | sed 's/ -I\([^/]\)/ -I\$(top_builddir)\/\1/g'`
11800 test -z "$LCMS2_LIBS" || LCMS2_LIBS=`echo " $LCMS2_LIBS" | sed 's/ -L\([^/]\)/ -L\$(top_builddir)\/\1/g'`
11803 if test "$ac_cv_lib_lcms2_cmsOpenProfileFromFile" != "yes"; then :
11804 case "x$with_cms" in
11805 x) as_fn_append wine_notices "|liblcms2 ${notice_platform}development files not found, Color Management won't be supported." ;;
11806 xno) ;;
11807 *) as_fn_error $? "liblcms2 ${notice_platform}development files not found, Color Management won't be supported.
11808 This is an error since --with-cms was requested." "$LINENO" 5 ;;
11809 esac
11812 if test "x$with_freetype" != "xno"
11813 then
11814 if ${FREETYPE_CFLAGS:+false} :; then :
11815 if ${PKG_CONFIG+:} false; then :
11816 FREETYPE_CFLAGS=`$PKG_CONFIG --cflags freetype2 2>/dev/null`
11819 test "$cross_compiling" = yes || FREETYPE_CFLAGS=${FREETYPE_CFLAGS:-`(freetype-config --cflags || freetype2-config --cflags) 2>/dev/null`}
11820 if ${FREETYPE_LIBS:+false} :; then :
11821 if ${PKG_CONFIG+:} false; then :
11822 FREETYPE_LIBS=`$PKG_CONFIG --libs freetype2 2>/dev/null`
11825 test "$cross_compiling" = yes || FREETYPE_LIBS=${FREETYPE_LIBS:-`(freetype-config --libs || freetype2-config --libs) 2>/dev/null`}
11826 FREETYPE_LIBS=${FREETYPE_LIBS:-"-lfreetype"}
11827 $as_echo "$as_me:${as_lineno-$LINENO}: freetype2 cflags: $FREETYPE_CFLAGS" >&5
11828 $as_echo "$as_me:${as_lineno-$LINENO}: freetype2 libs: $FREETYPE_LIBS" >&5
11829 ac_save_CPPFLAGS=$CPPFLAGS
11830 CPPFLAGS="$CPPFLAGS $FREETYPE_CFLAGS"
11831 for ac_header in ft2build.h
11832 do :
11833 ac_fn_c_check_header_mongrel "$LINENO" "ft2build.h" "ac_cv_header_ft2build_h" "$ac_includes_default"
11834 if test "x$ac_cv_header_ft2build_h" = xyes; then :
11835 cat >>confdefs.h <<_ACEOF
11836 #define HAVE_FT2BUILD_H 1
11837 _ACEOF
11841 done
11843 if test "$ac_cv_header_ft2build_h" = "yes"
11844 then
11845 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lfreetype" >&5
11846 $as_echo_n "checking for -lfreetype... " >&6; }
11847 if ${ac_cv_lib_soname_freetype+:} false; then :
11848 $as_echo_n "(cached) " >&6
11849 else
11850 ac_check_soname_save_LIBS=$LIBS
11851 LIBS="-lfreetype $FREETYPE_LIBS $LIBS"
11852 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11853 /* end confdefs.h. */
11855 /* Override any GCC internal prototype to avoid an error.
11856 Use char because int might match the return type of a GCC
11857 builtin and then its argument prototype would still apply. */
11858 #ifdef __cplusplus
11859 extern "C"
11860 #endif
11861 char FT_Init_FreeType ();
11863 main ()
11865 return FT_Init_FreeType ();
11867 return 0;
11869 _ACEOF
11870 if ac_fn_c_try_link "$LINENO"; then :
11871 case "$LIBEXT" in
11872 dll) ac_cv_lib_soname_freetype=`$ac_cv_path_LDD conftest.exe | grep "freetype" | sed -e "s/dll.*/dll/"';2,$d'` ;;
11873 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'` ;;
11874 *) ac_cv_lib_soname_freetype=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libfreetype\\.$LIBEXT" | sed -e "s/^.*\\[\\(libfreetype\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
11875 if ${ac_cv_lib_soname_freetype:+false} :; then :
11876 ac_cv_lib_soname_freetype=`$LDD conftest$ac_exeext | grep "libfreetype\\.$LIBEXT" | sed -e "s/^.*\(libfreetype\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
11877 fi ;;
11878 esac
11880 rm -f core conftest.err conftest.$ac_objext \
11881 conftest$ac_exeext conftest.$ac_ext
11882 LIBS=$ac_check_soname_save_LIBS
11884 if ${ac_cv_lib_soname_freetype:+false} :; then :
11885 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
11886 $as_echo "not found" >&6; }
11887 FREETYPE_LIBS=""
11888 else
11889 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_freetype" >&5
11890 $as_echo "$ac_cv_lib_soname_freetype" >&6; }
11892 cat >>confdefs.h <<_ACEOF
11893 #define SONAME_LIBFREETYPE "$ac_cv_lib_soname_freetype"
11894 _ACEOF
11897 $as_echo "#define HAVE_FREETYPE 1" >>confdefs.h
11899 ac_fn_c_check_type "$LINENO" "FT_TrueTypeEngineType" "ac_cv_type_FT_TrueTypeEngineType" "#include <ft2build.h>
11900 #include FT_MODULE_H
11902 if test "x$ac_cv_type_FT_TrueTypeEngineType" = xyes; then :
11904 cat >>confdefs.h <<_ACEOF
11905 #define HAVE_FT_TRUETYPEENGINETYPE 1
11906 _ACEOF
11912 else
11913 FREETYPE_CFLAGS=""
11914 FREETYPE_LIBS=""
11916 CPPFLAGS=$ac_save_CPPFLAGS
11917 test -z "$FREETYPE_CFLAGS" || FREETYPE_CFLAGS=`echo " $FREETYPE_CFLAGS" | sed 's/ -I\([^/]\)/ -I\$(top_builddir)\/\1/g'`
11918 test -z "$FREETYPE_LIBS" || FREETYPE_LIBS=`echo " $FREETYPE_LIBS" | sed 's/ -L\([^/]\)/ -L\$(top_builddir)\/\1/g'`
11921 if test "x$ac_cv_lib_soname_freetype" = x; then :
11922 case "x$with_freetype" in
11923 xno) ;;
11924 *) as_fn_error $? "FreeType ${notice_platform}development files not found. Fonts will not be built.
11925 Use the --without-freetype option if you really want this." "$LINENO" 5 ;;
11926 esac
11928 test "x$ac_cv_lib_soname_freetype" = x && enable_fonts=${enable_fonts:-no}
11930 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for parport header/ppdev.h" >&5
11931 $as_echo_n "checking for parport header/ppdev.h... " >&6; }
11932 if ${ac_cv_c_ppdev+:} false; then :
11933 $as_echo_n "(cached) " >&6
11934 else
11935 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11936 /* end confdefs.h. */
11937 #ifdef HAVE_SYS_IOCTL_H
11938 # include <sys/ioctl.h>
11939 #endif
11940 #include <linux/ppdev.h>
11942 main ()
11944 ioctl (1,PPCLAIM,0)
11946 return 0;
11948 _ACEOF
11949 if ac_fn_c_try_compile "$LINENO"; then :
11950 ac_cv_c_ppdev="yes"
11951 else
11952 ac_cv_c_ppdev="no"
11954 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
11956 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_ppdev" >&5
11957 $as_echo "$ac_cv_c_ppdev" >&6; }
11958 if test "$ac_cv_c_ppdev" = "yes"
11959 then
11961 $as_echo "#define HAVE_PPDEV 1" >>confdefs.h
11965 ac_wine_check_funcs_save_LIBS="$LIBS"
11966 LIBS="$LIBS $PTHREAD_LIBS"
11967 for ac_func in \
11968 pthread_attr_get_np \
11969 pthread_getattr_np \
11970 pthread_getthreadid_np \
11971 pthread_get_stackaddr_np \
11972 pthread_get_stacksize_np
11973 do :
11974 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
11975 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
11976 if eval test \"x\$"$as_ac_var"\" = x"yes"; then :
11977 cat >>confdefs.h <<_ACEOF
11978 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
11979 _ACEOF
11982 done
11984 LIBS="$ac_wine_check_funcs_save_LIBS"
11986 if test "$ac_cv_header_zlib_h" = "yes"
11987 then
11988 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for inflate in -lz" >&5
11989 $as_echo_n "checking for inflate in -lz... " >&6; }
11990 if ${ac_cv_lib_z_inflate+:} false; then :
11991 $as_echo_n "(cached) " >&6
11992 else
11993 ac_check_lib_save_LIBS=$LIBS
11994 LIBS="-lz $LIBS"
11995 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11996 /* end confdefs.h. */
11998 /* Override any GCC internal prototype to avoid an error.
11999 Use char because int might match the return type of a GCC
12000 builtin and then its argument prototype would still apply. */
12001 #ifdef __cplusplus
12002 extern "C"
12003 #endif
12004 char inflate ();
12006 main ()
12008 return inflate ();
12010 return 0;
12012 _ACEOF
12013 if ac_fn_c_try_link "$LINENO"; then :
12014 ac_cv_lib_z_inflate=yes
12015 else
12016 ac_cv_lib_z_inflate=no
12018 rm -f core conftest.err conftest.$ac_objext \
12019 conftest$ac_exeext conftest.$ac_ext
12020 LIBS=$ac_check_lib_save_LIBS
12022 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_z_inflate" >&5
12023 $as_echo "$ac_cv_lib_z_inflate" >&6; }
12024 if test "x$ac_cv_lib_z_inflate" = xyes; then :
12026 $as_echo "#define HAVE_ZLIB 1" >>confdefs.h
12028 Z_LIBS="-lz"
12033 if test "x$Z_LIBS" = "x"; then :
12034 case "x$with_zlib" in
12035 x) as_fn_append wine_notices "|libz ${notice_platform}development files not found, data compression won't be supported." ;;
12036 xno) ;;
12037 *) as_fn_error $? "libz ${notice_platform}development files not found, data compression won't be supported.
12038 This is an error since --with-zlib was requested." "$LINENO" 5 ;;
12039 esac
12042 if test "x$enable_tools" != xno
12043 then
12044 if test "$ac_cv_header_gettext_po_h" = "yes"
12045 then
12046 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for po_message_msgctxt in -lgettextpo" >&5
12047 $as_echo_n "checking for po_message_msgctxt in -lgettextpo... " >&6; }
12048 if ${ac_cv_lib_gettextpo_po_message_msgctxt+:} false; then :
12049 $as_echo_n "(cached) " >&6
12050 else
12051 ac_check_lib_save_LIBS=$LIBS
12052 LIBS="-lgettextpo $LIBS"
12053 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12054 /* end confdefs.h. */
12056 /* Override any GCC internal prototype to avoid an error.
12057 Use char because int might match the return type of a GCC
12058 builtin and then its argument prototype would still apply. */
12059 #ifdef __cplusplus
12060 extern "C"
12061 #endif
12062 char po_message_msgctxt ();
12064 main ()
12066 return po_message_msgctxt ();
12068 return 0;
12070 _ACEOF
12071 if ac_fn_c_try_link "$LINENO"; then :
12072 ac_cv_lib_gettextpo_po_message_msgctxt=yes
12073 else
12074 ac_cv_lib_gettextpo_po_message_msgctxt=no
12076 rm -f core conftest.err conftest.$ac_objext \
12077 conftest$ac_exeext conftest.$ac_ext
12078 LIBS=$ac_check_lib_save_LIBS
12080 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_gettextpo_po_message_msgctxt" >&5
12081 $as_echo "$ac_cv_lib_gettextpo_po_message_msgctxt" >&6; }
12082 if test "x$ac_cv_lib_gettextpo_po_message_msgctxt" = xyes; then :
12084 $as_echo "#define HAVE_LIBGETTEXTPO 1" >>confdefs.h
12086 GETTEXTPO_LIBS="-lgettextpo"
12091 test "x$with_gettextpo" != xyes || if test "x$GETTEXTPO_LIBS" = "x"; then :
12092 case "x$with_gettextpo" in
12093 x) as_fn_append wine_notices "|GetText ${notice_platform}development files not found (or too old), po files can't be rebuilt." ;;
12094 xno) ;;
12095 *) as_fn_error $? "GetText ${notice_platform}development files not found (or too old), po files can't be rebuilt.
12096 This is an error since --with-gettextpo was requested." "$LINENO" 5 ;;
12097 esac
12101 if test "x$with_gstreamer" != "xno"
12102 then
12103 if ${GSTREAMER_CFLAGS:+false} :; then :
12104 if ${PKG_CONFIG+:} false; then :
12105 GSTREAMER_CFLAGS=`$PKG_CONFIG --cflags gstreamer-app-0.10 2>/dev/null`
12109 if ${GSTREAMER_LIBS:+false} :; then :
12110 if ${PKG_CONFIG+:} false; then :
12111 GSTREAMER_LIBS=`$PKG_CONFIG --libs gstreamer-app-0.10 2>/dev/null`
12116 $as_echo "$as_me:${as_lineno-$LINENO}: gstreamer-app-0.10 cflags: $GSTREAMER_CFLAGS" >&5
12117 $as_echo "$as_me:${as_lineno-$LINENO}: gstreamer-app-0.10 libs: $GSTREAMER_LIBS" >&5
12118 ac_save_CPPFLAGS=$CPPFLAGS
12119 CPPFLAGS="$CPPFLAGS $GSTREAMER_CFLAGS"
12120 ac_gst_incl=""
12121 for i in $GSTREAMER_CFLAGS
12123 case "$i" in
12124 -I*) ac_gst_incl="$ac_gst_incl $i";;
12125 esac
12126 done
12127 GSTREAMER_CFLAGS=$ac_gst_incl
12128 CPPFLAGS="$ac_save_CPPFLAGS $GSTREAMER_CFLAGS"
12129 ac_fn_c_check_header_mongrel "$LINENO" "gst/gstpad.h" "ac_cv_header_gst_gstpad_h" "$ac_includes_default"
12130 if test "x$ac_cv_header_gst_gstpad_h" = xyes; then :
12131 ac_fn_c_check_header_mongrel "$LINENO" "gst/app/gstappsink.h" "ac_cv_header_gst_app_gstappsink_h" "$ac_includes_default"
12132 if test "x$ac_cv_header_gst_app_gstappsink_h" = xyes; then :
12133 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether gint64 defined by gst/app/gstappsink.h is indeed 64-bit" >&5
12134 $as_echo_n "checking whether gint64 defined by gst/app/gstappsink.h is indeed 64-bit... " >&6; }
12135 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12136 /* end confdefs.h. */
12137 #include <gst/app/gstappsink.h>
12139 main ()
12141 static int a[sizeof(gint64) > 4 ? 1 : -1]; if (a[0]) return 0;
12143 return 0;
12145 _ACEOF
12146 if ac_fn_c_try_compile "$LINENO"; then :
12147 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
12148 $as_echo "yes" >&6; }
12149 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for gst_pad_get_caps_reffed in -lgstreamer-0.10" >&5
12150 $as_echo_n "checking for gst_pad_get_caps_reffed in -lgstreamer-0.10... " >&6; }
12151 if ${ac_cv_lib_gstreamer_0_10_gst_pad_get_caps_reffed+:} false; then :
12152 $as_echo_n "(cached) " >&6
12153 else
12154 ac_check_lib_save_LIBS=$LIBS
12155 LIBS="-lgstreamer-0.10 $LIBS"
12156 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12157 /* end confdefs.h. */
12159 /* Override any GCC internal prototype to avoid an error.
12160 Use char because int might match the return type of a GCC
12161 builtin and then its argument prototype would still apply. */
12162 #ifdef __cplusplus
12163 extern "C"
12164 #endif
12165 char gst_pad_get_caps_reffed ();
12167 main ()
12169 return gst_pad_get_caps_reffed ();
12171 return 0;
12173 _ACEOF
12174 if ac_fn_c_try_link "$LINENO"; then :
12175 ac_cv_lib_gstreamer_0_10_gst_pad_get_caps_reffed=yes
12176 else
12177 ac_cv_lib_gstreamer_0_10_gst_pad_get_caps_reffed=no
12179 rm -f core conftest.err conftest.$ac_objext \
12180 conftest$ac_exeext conftest.$ac_ext
12181 LIBS=$ac_check_lib_save_LIBS
12183 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_gstreamer_0_10_gst_pad_get_caps_reffed" >&5
12184 $as_echo "$ac_cv_lib_gstreamer_0_10_gst_pad_get_caps_reffed" >&6; }
12185 if test "x$ac_cv_lib_gstreamer_0_10_gst_pad_get_caps_reffed" = xyes; then :
12186 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for gst_app_buffer_new in -lgstapp-0.10" >&5
12187 $as_echo_n "checking for gst_app_buffer_new in -lgstapp-0.10... " >&6; }
12188 if ${ac_cv_lib_gstapp_0_10_gst_app_buffer_new+:} false; then :
12189 $as_echo_n "(cached) " >&6
12190 else
12191 ac_check_lib_save_LIBS=$LIBS
12192 LIBS="-lgstapp-0.10 $GSTREAMER_LIBS $LIBS"
12193 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12194 /* end confdefs.h. */
12196 /* Override any GCC internal prototype to avoid an error.
12197 Use char because int might match the return type of a GCC
12198 builtin and then its argument prototype would still apply. */
12199 #ifdef __cplusplus
12200 extern "C"
12201 #endif
12202 char gst_app_buffer_new ();
12204 main ()
12206 return gst_app_buffer_new ();
12208 return 0;
12210 _ACEOF
12211 if ac_fn_c_try_link "$LINENO"; then :
12212 ac_cv_lib_gstapp_0_10_gst_app_buffer_new=yes
12213 else
12214 ac_cv_lib_gstapp_0_10_gst_app_buffer_new=no
12216 rm -f core conftest.err conftest.$ac_objext \
12217 conftest$ac_exeext conftest.$ac_ext
12218 LIBS=$ac_check_lib_save_LIBS
12220 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_gstapp_0_10_gst_app_buffer_new" >&5
12221 $as_echo "$ac_cv_lib_gstapp_0_10_gst_app_buffer_new" >&6; }
12222 if test "x$ac_cv_lib_gstapp_0_10_gst_app_buffer_new" = xyes; then :
12228 else
12229 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
12230 $as_echo "no" >&6; }
12232 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
12236 else
12237 GSTREAMER_CFLAGS=""
12241 CPPFLAGS=$ac_save_CPPFLAGS
12242 test -z "$GSTREAMER_CFLAGS" || GSTREAMER_CFLAGS=`echo " $GSTREAMER_CFLAGS" | sed 's/ -I\([^/]\)/ -I\$(top_builddir)\/\1/g'`
12243 test -z "$GSTREAMER_LIBS" || GSTREAMER_LIBS=`echo " $GSTREAMER_LIBS" | sed 's/ -L\([^/]\)/ -L\$(top_builddir)\/\1/g'`
12246 if test "x$ac_cv_lib_gstapp_0_10_gst_app_buffer_new" != xyes -a "x$ac_cv_header_QuickTime_ImageCompression_h" != xyes; then :
12247 case "x$with_gstreamer" in
12248 x) as_fn_append wine_notices "|gstreamer-0.10 base plugins ${notice_platform}development files not found, gstreamer support disabled" ;;
12249 xno) ;;
12250 *) as_fn_error $? "gstreamer-0.10 base plugins ${notice_platform}development files not found, gstreamer support disabled
12251 This is an error since --with-gstreamer was requested." "$LINENO" 5 ;;
12252 esac
12254 test "x$ac_cv_lib_gstapp_0_10_gst_app_buffer_new" = xyes || enable_winegstreamer=${enable_winegstreamer:-no}
12256 ALSA_LIBS=""
12258 if test "$ac_cv_header_sys_asoundlib_h" = "yes" -o "$ac_cv_header_alsa_asoundlib_h" = "yes"
12259 then
12260 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for snd_pcm_hw_params_get_access_mask in -lasound" >&5
12261 $as_echo_n "checking for snd_pcm_hw_params_get_access_mask in -lasound... " >&6; }
12262 if ${ac_cv_lib_asound_snd_pcm_hw_params_get_access_mask+:} false; then :
12263 $as_echo_n "(cached) " >&6
12264 else
12265 ac_check_lib_save_LIBS=$LIBS
12266 LIBS="-lasound $LIBS"
12267 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12268 /* end confdefs.h. */
12270 /* Override any GCC internal prototype to avoid an error.
12271 Use char because int might match the return type of a GCC
12272 builtin and then its argument prototype would still apply. */
12273 #ifdef __cplusplus
12274 extern "C"
12275 #endif
12276 char snd_pcm_hw_params_get_access_mask ();
12278 main ()
12280 return snd_pcm_hw_params_get_access_mask ();
12282 return 0;
12284 _ACEOF
12285 if ac_fn_c_try_link "$LINENO"; then :
12286 ac_cv_lib_asound_snd_pcm_hw_params_get_access_mask=yes
12287 else
12288 ac_cv_lib_asound_snd_pcm_hw_params_get_access_mask=no
12290 rm -f core conftest.err conftest.$ac_objext \
12291 conftest$ac_exeext conftest.$ac_ext
12292 LIBS=$ac_check_lib_save_LIBS
12294 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_asound_snd_pcm_hw_params_get_access_mask" >&5
12295 $as_echo "$ac_cv_lib_asound_snd_pcm_hw_params_get_access_mask" >&6; }
12296 if test "x$ac_cv_lib_asound_snd_pcm_hw_params_get_access_mask" = xyes; then :
12297 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12298 /* end confdefs.h. */
12299 #ifdef HAVE_ALSA_ASOUNDLIB_H
12300 #include <alsa/asoundlib.h>
12301 #elif defined(HAVE_SYS_ASOUNDLIB_H)
12302 #include <sys/asoundlib.h>
12303 #endif
12305 main ()
12307 snd_pcm_hw_params_get_access_mask(NULL, NULL)
12309 return 0;
12311 _ACEOF
12312 if ac_fn_c_try_compile "$LINENO"; then :
12313 ALSA_LIBS="-lasound"
12315 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
12320 if test "x$with_oss" != xno
12321 then
12322 ac_save_CPPFLAGS="$CPPFLAGS"
12323 if test -f /etc/oss.conf
12324 then
12325 . /etc/oss.conf
12327 ac_oss_incl="-I${OSSLIBDIR:-/usr/lib/oss}/include"
12328 CPPFLAGS="$CPPFLAGS $ac_oss_incl"
12329 ac_fn_c_check_header_mongrel "$LINENO" "sys/soundcard.h" "ac_cv_header_sys_soundcard_h" "$ac_includes_default"
12330 if test "x$ac_cv_header_sys_soundcard_h" = xyes; then :
12331 ac_fn_c_check_member "$LINENO" "oss_sysinfo" "numaudioengines" "ac_cv_member_oss_sysinfo_numaudioengines" "#include <sys/soundcard.h>
12333 if test "x$ac_cv_member_oss_sysinfo_numaudioengines" = xyes; then :
12335 cat >>confdefs.h <<_ACEOF
12336 #define HAVE_OSS_SYSINFO_NUMAUDIOENGINES 1
12337 _ACEOF
12339 OSS4_CFLAGS="$ac_oss_incl"
12346 CPPFLAGS="$ac_save_CPPFLAGS"
12347 if test "x$ac_cv_member_oss_sysinfo_numaudioengines" != xyes
12348 then
12349 as_fn_append wine_notices "|OSS sound system found but too old (OSSv4 needed), OSS won't be supported."
12353 if test "x$with_capi" != "xno"
12354 then
12355 if ${CAPI20_CFLAGS:+false} :; then :
12356 if ${PKG_CONFIG+:} false; then :
12357 CAPI20_CFLAGS=`$PKG_CONFIG --cflags capi20 2>/dev/null`
12361 if ${CAPI20_LIBS:+false} :; then :
12362 if ${PKG_CONFIG+:} false; then :
12363 CAPI20_LIBS=`$PKG_CONFIG --libs capi20 2>/dev/null`
12368 $as_echo "$as_me:${as_lineno-$LINENO}: capi20 cflags: $CAPI20_CFLAGS" >&5
12369 $as_echo "$as_me:${as_lineno-$LINENO}: capi20 libs: $CAPI20_LIBS" >&5
12370 ac_save_CPPFLAGS=$CPPFLAGS
12371 CPPFLAGS="$CPPFLAGS $CAPI20_CFLAGS"
12372 for ac_header in capi20.h linux/capi.h
12373 do :
12374 as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
12375 ac_fn_c_check_header_compile "$LINENO" "$ac_header" "$as_ac_Header" "#define __user
12377 if eval test \"x\$"$as_ac_Header"\" = x"yes"; then :
12378 cat >>confdefs.h <<_ACEOF
12379 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
12380 _ACEOF
12384 done
12386 if test "$ac_cv_header_capi20_h" = "yes" -a "$ac_cv_header_linux_capi_h" = "yes"
12387 then
12388 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lcapi20" >&5
12389 $as_echo_n "checking for -lcapi20... " >&6; }
12390 if ${ac_cv_lib_soname_capi20+:} false; then :
12391 $as_echo_n "(cached) " >&6
12392 else
12393 ac_check_soname_save_LIBS=$LIBS
12394 LIBS="-lcapi20 $CAPI20_LIBS $LIBS"
12395 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12396 /* end confdefs.h. */
12398 /* Override any GCC internal prototype to avoid an error.
12399 Use char because int might match the return type of a GCC
12400 builtin and then its argument prototype would still apply. */
12401 #ifdef __cplusplus
12402 extern "C"
12403 #endif
12404 char capi20_register ();
12406 main ()
12408 return capi20_register ();
12410 return 0;
12412 _ACEOF
12413 if ac_fn_c_try_link "$LINENO"; then :
12414 case "$LIBEXT" in
12415 dll) ac_cv_lib_soname_capi20=`$ac_cv_path_LDD conftest.exe | grep "capi20" | sed -e "s/dll.*/dll/"';2,$d'` ;;
12416 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'` ;;
12417 *) ac_cv_lib_soname_capi20=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libcapi20\\.$LIBEXT" | sed -e "s/^.*\\[\\(libcapi20\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
12418 if ${ac_cv_lib_soname_capi20:+false} :; then :
12419 ac_cv_lib_soname_capi20=`$LDD conftest$ac_exeext | grep "libcapi20\\.$LIBEXT" | sed -e "s/^.*\(libcapi20\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
12420 fi ;;
12421 esac
12423 rm -f core conftest.err conftest.$ac_objext \
12424 conftest$ac_exeext conftest.$ac_ext
12425 LIBS=$ac_check_soname_save_LIBS
12427 if ${ac_cv_lib_soname_capi20:+false} :; then :
12428 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
12429 $as_echo "not found" >&6; }
12431 else
12432 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_capi20" >&5
12433 $as_echo "$ac_cv_lib_soname_capi20" >&6; }
12435 cat >>confdefs.h <<_ACEOF
12436 #define SONAME_LIBCAPI20 "$ac_cv_lib_soname_capi20"
12437 _ACEOF
12442 CPPFLAGS=$ac_save_CPPFLAGS
12443 test -z "$CAPI20_CFLAGS" || CAPI20_CFLAGS=`echo " $CAPI20_CFLAGS" | sed 's/ -I\([^/]\)/ -I\$(top_builddir)\/\1/g'`
12444 test -z "$CAPI20_LIBS" || CAPI20_LIBS=`echo " $CAPI20_LIBS" | sed 's/ -L\([^/]\)/ -L\$(top_builddir)\/\1/g'`
12447 if test "x$ac_cv_lib_soname_capi20" = "x"; then :
12448 case "x$with_capi" in
12449 x) as_fn_append wine_notices "|libcapi20 ${notice_platform}development files not found, ISDN won't be supported." ;;
12450 xno) ;;
12451 *) as_fn_error $? "libcapi20 ${notice_platform}development files not found, ISDN won't be supported.
12452 This is an error since --with-capi was requested." "$LINENO" 5 ;;
12453 esac
12456 CUPS_CFLAGS=""
12458 if test "x$with_cups" != "xno"
12459 then
12460 ac_save_CPPFLAGS="$CPPFLAGS"
12461 ac_cups_cflags=`cups-config --cflags 2>/dev/null`
12462 ac_cups_libs=`cups-config --ldflags 2>/dev/null`
12463 CPPFLAGS="$CPPFLAGS $ac_cups_cflags"
12464 for ac_header in cups/cups.h
12465 do :
12466 ac_fn_c_check_header_mongrel "$LINENO" "cups/cups.h" "ac_cv_header_cups_cups_h" "$ac_includes_default"
12467 if test "x$ac_cv_header_cups_cups_h" = xyes; then :
12468 cat >>confdefs.h <<_ACEOF
12469 #define HAVE_CUPS_CUPS_H 1
12470 _ACEOF
12471 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lcups" >&5
12472 $as_echo_n "checking for -lcups... " >&6; }
12473 if ${ac_cv_lib_soname_cups+:} false; then :
12474 $as_echo_n "(cached) " >&6
12475 else
12476 ac_check_soname_save_LIBS=$LIBS
12477 LIBS="-lcups $ac_cups_libs $LIBS"
12478 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12479 /* end confdefs.h. */
12481 /* Override any GCC internal prototype to avoid an error.
12482 Use char because int might match the return type of a GCC
12483 builtin and then its argument prototype would still apply. */
12484 #ifdef __cplusplus
12485 extern "C"
12486 #endif
12487 char cupsGetDefault ();
12489 main ()
12491 return cupsGetDefault ();
12493 return 0;
12495 _ACEOF
12496 if ac_fn_c_try_link "$LINENO"; then :
12497 case "$LIBEXT" in
12498 dll) ac_cv_lib_soname_cups=`$ac_cv_path_LDD conftest.exe | grep "cups" | sed -e "s/dll.*/dll/"';2,$d'` ;;
12499 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'` ;;
12500 *) ac_cv_lib_soname_cups=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libcups\\.$LIBEXT" | sed -e "s/^.*\\[\\(libcups\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
12501 if ${ac_cv_lib_soname_cups:+false} :; then :
12502 ac_cv_lib_soname_cups=`$LDD conftest$ac_exeext | grep "libcups\\.$LIBEXT" | sed -e "s/^.*\(libcups\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
12503 fi ;;
12504 esac
12506 rm -f core conftest.err conftest.$ac_objext \
12507 conftest$ac_exeext conftest.$ac_ext
12508 LIBS=$ac_check_soname_save_LIBS
12510 if ${ac_cv_lib_soname_cups:+false} :; then :
12511 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
12512 $as_echo "not found" >&6; }
12514 else
12515 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_cups" >&5
12516 $as_echo "$ac_cv_lib_soname_cups" >&6; }
12518 cat >>confdefs.h <<_ACEOF
12519 #define SONAME_LIBCUPS "$ac_cv_lib_soname_cups"
12520 _ACEOF
12522 CUPS_CFLAGS="$ac_cups_cflags"
12526 done
12528 CPPFLAGS="$ac_save_CPPFLAGS"
12530 if test "x$ac_cv_lib_soname_cups" = "x"; then :
12531 case "x$with_cups" in
12532 x) as_fn_append wine_notices "|libcups ${notice_platform}development files not found, CUPS won't be supported." ;;
12533 xno) ;;
12534 *) as_fn_error $? "libcups ${notice_platform}development files not found, CUPS won't be supported.
12535 This is an error since --with-cups was requested." "$LINENO" 5 ;;
12536 esac
12539 if test "x$with_fontconfig" != "xno"
12540 then
12541 if ${FONTCONFIG_CFLAGS:+false} :; then :
12542 if ${PKG_CONFIG+:} false; then :
12543 FONTCONFIG_CFLAGS=`$PKG_CONFIG --cflags fontconfig 2>/dev/null`
12546 test "$cross_compiling" = yes || FONTCONFIG_CFLAGS=${FONTCONFIG_CFLAGS:-$X_CFLAGS}
12547 if ${FONTCONFIG_LIBS:+false} :; then :
12548 if ${PKG_CONFIG+:} false; then :
12549 FONTCONFIG_LIBS=`$PKG_CONFIG --libs fontconfig 2>/dev/null`
12552 test "$cross_compiling" = yes || FONTCONFIG_LIBS=${FONTCONFIG_LIBS:-$X_LIBS}
12554 $as_echo "$as_me:${as_lineno-$LINENO}: fontconfig cflags: $FONTCONFIG_CFLAGS" >&5
12555 $as_echo "$as_me:${as_lineno-$LINENO}: fontconfig libs: $FONTCONFIG_LIBS" >&5
12556 ac_save_CPPFLAGS=$CPPFLAGS
12557 CPPFLAGS="$CPPFLAGS $FONTCONFIG_CFLAGS"
12558 for ac_header in fontconfig/fontconfig.h
12559 do :
12560 ac_fn_c_check_header_mongrel "$LINENO" "fontconfig/fontconfig.h" "ac_cv_header_fontconfig_fontconfig_h" "$ac_includes_default"
12561 if test "x$ac_cv_header_fontconfig_fontconfig_h" = xyes; then :
12562 cat >>confdefs.h <<_ACEOF
12563 #define HAVE_FONTCONFIG_FONTCONFIG_H 1
12564 _ACEOF
12568 done
12570 if test "$ac_cv_header_fontconfig_fontconfig_h" = "yes"
12571 then
12572 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lfontconfig" >&5
12573 $as_echo_n "checking for -lfontconfig... " >&6; }
12574 if ${ac_cv_lib_soname_fontconfig+:} false; then :
12575 $as_echo_n "(cached) " >&6
12576 else
12577 ac_check_soname_save_LIBS=$LIBS
12578 LIBS="-lfontconfig $FONTCONFIG_LIBS $LIBS"
12579 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12580 /* end confdefs.h. */
12582 /* Override any GCC internal prototype to avoid an error.
12583 Use char because int might match the return type of a GCC
12584 builtin and then its argument prototype would still apply. */
12585 #ifdef __cplusplus
12586 extern "C"
12587 #endif
12588 char FcInit ();
12590 main ()
12592 return FcInit ();
12594 return 0;
12596 _ACEOF
12597 if ac_fn_c_try_link "$LINENO"; then :
12598 case "$LIBEXT" in
12599 dll) ac_cv_lib_soname_fontconfig=`$ac_cv_path_LDD conftest.exe | grep "fontconfig" | sed -e "s/dll.*/dll/"';2,$d'` ;;
12600 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'` ;;
12601 *) ac_cv_lib_soname_fontconfig=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libfontconfig\\.$LIBEXT" | sed -e "s/^.*\\[\\(libfontconfig\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
12602 if ${ac_cv_lib_soname_fontconfig:+false} :; then :
12603 ac_cv_lib_soname_fontconfig=`$LDD conftest$ac_exeext | grep "libfontconfig\\.$LIBEXT" | sed -e "s/^.*\(libfontconfig\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
12604 fi ;;
12605 esac
12607 rm -f core conftest.err conftest.$ac_objext \
12608 conftest$ac_exeext conftest.$ac_ext
12609 LIBS=$ac_check_soname_save_LIBS
12611 if ${ac_cv_lib_soname_fontconfig:+false} :; then :
12612 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
12613 $as_echo "not found" >&6; }
12614 FONTCONFIG_CFLAGS=""
12615 else
12616 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_fontconfig" >&5
12617 $as_echo "$ac_cv_lib_soname_fontconfig" >&6; }
12619 cat >>confdefs.h <<_ACEOF
12620 #define SONAME_LIBFONTCONFIG "$ac_cv_lib_soname_fontconfig"
12621 _ACEOF
12625 else
12626 FONTCONFIG_CFLAGS=""
12628 CPPFLAGS=$ac_save_CPPFLAGS
12629 test -z "$FONTCONFIG_CFLAGS" || FONTCONFIG_CFLAGS=`echo " $FONTCONFIG_CFLAGS" | sed 's/ -I\([^/]\)/ -I\$(top_builddir)\/\1/g'`
12630 test -z "$FONTCONFIG_LIBS" || FONTCONFIG_LIBS=`echo " $FONTCONFIG_LIBS" | sed 's/ -L\([^/]\)/ -L\$(top_builddir)\/\1/g'`
12633 if test "x$ac_cv_lib_soname_fontconfig" = "x"; then :
12634 case "x$with_fontconfig" in
12635 x) as_fn_append wine_notices "|fontconfig ${notice_platform}development files not found, fontconfig won't be supported." ;;
12636 xno) ;;
12637 *) as_fn_error $? "fontconfig ${notice_platform}development files not found, fontconfig won't be supported.
12638 This is an error since --with-fontconfig was requested." "$LINENO" 5 ;;
12639 esac
12642 if test "$ac_cv_header_gsm_h" = "yes" -o "$ac_cv_header_gsm_gsm_h" = "yes"
12643 then
12644 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lgsm" >&5
12645 $as_echo_n "checking for -lgsm... " >&6; }
12646 if ${ac_cv_lib_soname_gsm+:} false; then :
12647 $as_echo_n "(cached) " >&6
12648 else
12649 ac_check_soname_save_LIBS=$LIBS
12650 LIBS="-lgsm $LIBS"
12651 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12652 /* end confdefs.h. */
12654 /* Override any GCC internal prototype to avoid an error.
12655 Use char because int might match the return type of a GCC
12656 builtin and then its argument prototype would still apply. */
12657 #ifdef __cplusplus
12658 extern "C"
12659 #endif
12660 char gsm_create ();
12662 main ()
12664 return gsm_create ();
12666 return 0;
12668 _ACEOF
12669 if ac_fn_c_try_link "$LINENO"; then :
12670 case "$LIBEXT" in
12671 dll) ac_cv_lib_soname_gsm=`$ac_cv_path_LDD conftest.exe | grep "gsm" | sed -e "s/dll.*/dll/"';2,$d'` ;;
12672 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'` ;;
12673 *) ac_cv_lib_soname_gsm=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libgsm\\.$LIBEXT" | sed -e "s/^.*\\[\\(libgsm\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
12674 if ${ac_cv_lib_soname_gsm:+false} :; then :
12675 ac_cv_lib_soname_gsm=`$LDD conftest$ac_exeext | grep "libgsm\\.$LIBEXT" | sed -e "s/^.*\(libgsm\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
12676 fi ;;
12677 esac
12679 rm -f core conftest.err conftest.$ac_objext \
12680 conftest$ac_exeext conftest.$ac_ext
12681 LIBS=$ac_check_soname_save_LIBS
12683 if ${ac_cv_lib_soname_gsm:+false} :; then :
12684 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
12685 $as_echo "not found" >&6; }
12687 else
12688 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_gsm" >&5
12689 $as_echo "$ac_cv_lib_soname_gsm" >&6; }
12691 cat >>confdefs.h <<_ACEOF
12692 #define SONAME_LIBGSM "$ac_cv_lib_soname_gsm"
12693 _ACEOF
12698 if test "x$ac_cv_lib_soname_gsm" = "x"; then :
12699 case "x$with_gsm" in
12700 x) as_fn_append wine_notices "|libgsm ${notice_platform}development files not found, gsm 06.10 codec won't be supported." ;;
12701 xno) ;;
12702 *) as_fn_error $? "libgsm ${notice_platform}development files not found, gsm 06.10 codec won't be supported.
12703 This is an error since --with-gsm was requested." "$LINENO" 5 ;;
12704 esac
12707 if test "x$with_jpeg" != "xno"
12708 then
12709 if ${JPEG_CFLAGS:+false} :; then :
12710 if ${PKG_CONFIG+:} false; then :
12711 JPEG_CFLAGS=`$PKG_CONFIG --cflags libjpeg 2>/dev/null`
12715 if ${JPEG_LIBS:+false} :; then :
12716 if ${PKG_CONFIG+:} false; then :
12717 JPEG_LIBS=`$PKG_CONFIG --libs libjpeg 2>/dev/null`
12722 $as_echo "$as_me:${as_lineno-$LINENO}: libjpeg cflags: $JPEG_CFLAGS" >&5
12723 $as_echo "$as_me:${as_lineno-$LINENO}: libjpeg libs: $JPEG_LIBS" >&5
12724 ac_save_CPPFLAGS=$CPPFLAGS
12725 CPPFLAGS="$CPPFLAGS $JPEG_CFLAGS"
12726 for ac_header in jpeglib.h
12727 do :
12728 ac_fn_c_check_header_mongrel "$LINENO" "jpeglib.h" "ac_cv_header_jpeglib_h" "$ac_includes_default"
12729 if test "x$ac_cv_header_jpeglib_h" = xyes; then :
12730 cat >>confdefs.h <<_ACEOF
12731 #define HAVE_JPEGLIB_H 1
12732 _ACEOF
12736 done
12738 if test "$ac_cv_header_jpeglib_h" = "yes"
12739 then
12740 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -ljpeg" >&5
12741 $as_echo_n "checking for -ljpeg... " >&6; }
12742 if ${ac_cv_lib_soname_jpeg+:} false; then :
12743 $as_echo_n "(cached) " >&6
12744 else
12745 ac_check_soname_save_LIBS=$LIBS
12746 LIBS="-ljpeg $JPEG_LIBS $LIBS"
12747 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12748 /* end confdefs.h. */
12750 /* Override any GCC internal prototype to avoid an error.
12751 Use char because int might match the return type of a GCC
12752 builtin and then its argument prototype would still apply. */
12753 #ifdef __cplusplus
12754 extern "C"
12755 #endif
12756 char jpeg_start_decompress ();
12758 main ()
12760 return jpeg_start_decompress ();
12762 return 0;
12764 _ACEOF
12765 if ac_fn_c_try_link "$LINENO"; then :
12766 case "$LIBEXT" in
12767 dll) ac_cv_lib_soname_jpeg=`$ac_cv_path_LDD conftest.exe | grep "jpeg" | sed -e "s/dll.*/dll/"';2,$d'` ;;
12768 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'` ;;
12769 *) ac_cv_lib_soname_jpeg=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libjpeg\\.$LIBEXT" | sed -e "s/^.*\\[\\(libjpeg\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
12770 if ${ac_cv_lib_soname_jpeg:+false} :; then :
12771 ac_cv_lib_soname_jpeg=`$LDD conftest$ac_exeext | grep "libjpeg\\.$LIBEXT" | sed -e "s/^.*\(libjpeg\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
12772 fi ;;
12773 esac
12775 rm -f core conftest.err conftest.$ac_objext \
12776 conftest$ac_exeext conftest.$ac_ext
12777 LIBS=$ac_check_soname_save_LIBS
12779 if ${ac_cv_lib_soname_jpeg:+false} :; then :
12780 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
12781 $as_echo "not found" >&6; }
12782 JPEG_CFLAGS=""
12783 else
12784 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_jpeg" >&5
12785 $as_echo "$ac_cv_lib_soname_jpeg" >&6; }
12787 cat >>confdefs.h <<_ACEOF
12788 #define SONAME_LIBJPEG "$ac_cv_lib_soname_jpeg"
12789 _ACEOF
12793 else
12794 JPEG_CFLAGS=""
12796 CPPFLAGS=$ac_save_CPPFLAGS
12797 test -z "$JPEG_CFLAGS" || JPEG_CFLAGS=`echo " $JPEG_CFLAGS" | sed 's/ -I\([^/]\)/ -I\$(top_builddir)\/\1/g'`
12798 test -z "$JPEG_LIBS" || JPEG_LIBS=`echo " $JPEG_LIBS" | sed 's/ -L\([^/]\)/ -L\$(top_builddir)\/\1/g'`
12801 if test "x$ac_cv_lib_soname_jpeg" = "x"; then :
12802 case "x$with_jpeg" in
12803 x) as_fn_append wine_warnings "|libjpeg ${notice_platform}development files not found, JPEG won't be supported." ;;
12804 xno) ;;
12805 *) as_fn_error $? "libjpeg ${notice_platform}development files not found, JPEG won't be supported.
12806 This is an error since --with-jpeg was requested." "$LINENO" 5 ;;
12807 esac
12810 if test "x$with_png" != "xno"
12811 then
12812 if ${PNG_CFLAGS:+false} :; then :
12813 if ${PKG_CONFIG+:} false; then :
12814 PNG_CFLAGS=`$PKG_CONFIG --cflags libpng 2>/dev/null`
12817 test "$cross_compiling" = yes || PNG_CFLAGS=${PNG_CFLAGS:-$X_CFLAGS}
12818 if ${PNG_LIBS:+false} :; then :
12819 if ${PKG_CONFIG+:} false; then :
12820 PNG_LIBS=`$PKG_CONFIG --libs libpng 2>/dev/null`
12823 test "$cross_compiling" = yes || PNG_LIBS=${PNG_LIBS:-$X_LIBS}
12825 $as_echo "$as_me:${as_lineno-$LINENO}: libpng cflags: $PNG_CFLAGS" >&5
12826 $as_echo "$as_me:${as_lineno-$LINENO}: libpng libs: $PNG_LIBS" >&5
12827 ac_save_CPPFLAGS=$CPPFLAGS
12828 CPPFLAGS="$CPPFLAGS $PNG_CFLAGS"
12829 for ac_header in png.h
12830 do :
12831 ac_fn_c_check_header_mongrel "$LINENO" "png.h" "ac_cv_header_png_h" "$ac_includes_default"
12832 if test "x$ac_cv_header_png_h" = xyes; then :
12833 cat >>confdefs.h <<_ACEOF
12834 #define HAVE_PNG_H 1
12835 _ACEOF
12839 done
12841 if test "$ac_cv_header_png_h" = "yes"
12842 then
12843 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lpng" >&5
12844 $as_echo_n "checking for -lpng... " >&6; }
12845 if ${ac_cv_lib_soname_png+:} false; then :
12846 $as_echo_n "(cached) " >&6
12847 else
12848 ac_check_soname_save_LIBS=$LIBS
12849 LIBS="-lpng $PNG_LIBS -lm -lz $LIBS"
12850 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12851 /* end confdefs.h. */
12853 /* Override any GCC internal prototype to avoid an error.
12854 Use char because int might match the return type of a GCC
12855 builtin and then its argument prototype would still apply. */
12856 #ifdef __cplusplus
12857 extern "C"
12858 #endif
12859 char png_create_read_struct ();
12861 main ()
12863 return png_create_read_struct ();
12865 return 0;
12867 _ACEOF
12868 if ac_fn_c_try_link "$LINENO"; then :
12869 case "$LIBEXT" in
12870 dll) ac_cv_lib_soname_png=`$ac_cv_path_LDD conftest.exe | grep "png" | sed -e "s/dll.*/dll/"';2,$d'` ;;
12871 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'` ;;
12872 *) 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'`
12873 if ${ac_cv_lib_soname_png:+false} :; then :
12874 ac_cv_lib_soname_png=`$LDD conftest$ac_exeext | grep "libpng[0-9]*\\.$LIBEXT" | sed -e "s/^.*\(libpng[0-9]*\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
12875 fi ;;
12876 esac
12878 rm -f core conftest.err conftest.$ac_objext \
12879 conftest$ac_exeext conftest.$ac_ext
12880 LIBS=$ac_check_soname_save_LIBS
12882 if ${ac_cv_lib_soname_png:+false} :; then :
12883 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
12884 $as_echo "not found" >&6; }
12885 PNG_CFLAGS=""
12886 else
12887 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_png" >&5
12888 $as_echo "$ac_cv_lib_soname_png" >&6; }
12890 cat >>confdefs.h <<_ACEOF
12891 #define SONAME_LIBPNG "$ac_cv_lib_soname_png"
12892 _ACEOF
12894 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12895 /* end confdefs.h. */
12896 #include <png.h>
12898 main ()
12900 typeof(png_set_expand_gray_1_2_4_to_8) *p
12902 return 0;
12904 _ACEOF
12905 if ac_fn_c_try_compile "$LINENO"; then :
12907 $as_echo "#define HAVE_PNG_SET_EXPAND_GRAY_1_2_4_TO_8 1" >>confdefs.h
12910 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
12912 else
12913 PNG_CFLAGS=""
12915 CPPFLAGS=$ac_save_CPPFLAGS
12916 test -z "$PNG_CFLAGS" || PNG_CFLAGS=`echo " $PNG_CFLAGS" | sed 's/ -I\([^/]\)/ -I\$(top_builddir)\/\1/g'`
12917 test -z "$PNG_LIBS" || PNG_LIBS=`echo " $PNG_LIBS" | sed 's/ -L\([^/]\)/ -L\$(top_builddir)\/\1/g'`
12920 if test "x$ac_cv_lib_soname_png" = "x"; then :
12921 case "x$with_png" in
12922 x) as_fn_append wine_warnings "|libpng ${notice_platform}development files not found, PNG won't be supported." ;;
12923 xno) ;;
12924 *) as_fn_error $? "libpng ${notice_platform}development files not found, PNG won't be supported.
12925 This is an error since --with-png was requested." "$LINENO" 5 ;;
12926 esac
12929 if test "x$with_tiff" != "xno"
12930 then
12931 if ${TIFF_CFLAGS:+false} :; then :
12932 if ${PKG_CONFIG+:} false; then :
12933 TIFF_CFLAGS=`$PKG_CONFIG --cflags libtiff 2>/dev/null`
12937 if ${TIFF_LIBS:+false} :; then :
12938 if ${PKG_CONFIG+:} false; then :
12939 TIFF_LIBS=`$PKG_CONFIG --libs libtiff 2>/dev/null`
12944 $as_echo "$as_me:${as_lineno-$LINENO}: libtiff cflags: $TIFF_CFLAGS" >&5
12945 $as_echo "$as_me:${as_lineno-$LINENO}: libtiff libs: $TIFF_LIBS" >&5
12946 ac_save_CPPFLAGS=$CPPFLAGS
12947 CPPFLAGS="$CPPFLAGS $TIFF_CFLAGS"
12948 for ac_header in tiffio.h
12949 do :
12950 ac_fn_c_check_header_mongrel "$LINENO" "tiffio.h" "ac_cv_header_tiffio_h" "$ac_includes_default"
12951 if test "x$ac_cv_header_tiffio_h" = xyes; then :
12952 cat >>confdefs.h <<_ACEOF
12953 #define HAVE_TIFFIO_H 1
12954 _ACEOF
12958 done
12960 if test "$ac_cv_header_tiffio_h" = "yes"
12961 then
12962 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -ltiff" >&5
12963 $as_echo_n "checking for -ltiff... " >&6; }
12964 if ${ac_cv_lib_soname_tiff+:} false; then :
12965 $as_echo_n "(cached) " >&6
12966 else
12967 ac_check_soname_save_LIBS=$LIBS
12968 LIBS="-ltiff $TIFF_LIBS $LIBS"
12969 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12970 /* end confdefs.h. */
12972 /* Override any GCC internal prototype to avoid an error.
12973 Use char because int might match the return type of a GCC
12974 builtin and then its argument prototype would still apply. */
12975 #ifdef __cplusplus
12976 extern "C"
12977 #endif
12978 char TIFFClientOpen ();
12980 main ()
12982 return TIFFClientOpen ();
12984 return 0;
12986 _ACEOF
12987 if ac_fn_c_try_link "$LINENO"; then :
12988 case "$LIBEXT" in
12989 dll) ac_cv_lib_soname_tiff=`$ac_cv_path_LDD conftest.exe | grep "tiff" | sed -e "s/dll.*/dll/"';2,$d'` ;;
12990 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'` ;;
12991 *) ac_cv_lib_soname_tiff=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libtiff\\.$LIBEXT" | sed -e "s/^.*\\[\\(libtiff\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
12992 if ${ac_cv_lib_soname_tiff:+false} :; then :
12993 ac_cv_lib_soname_tiff=`$LDD conftest$ac_exeext | grep "libtiff\\.$LIBEXT" | sed -e "s/^.*\(libtiff\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
12994 fi ;;
12995 esac
12997 rm -f core conftest.err conftest.$ac_objext \
12998 conftest$ac_exeext conftest.$ac_ext
12999 LIBS=$ac_check_soname_save_LIBS
13001 if ${ac_cv_lib_soname_tiff:+false} :; then :
13002 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
13003 $as_echo "not found" >&6; }
13005 else
13006 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_tiff" >&5
13007 $as_echo "$ac_cv_lib_soname_tiff" >&6; }
13009 cat >>confdefs.h <<_ACEOF
13010 #define SONAME_LIBTIFF "$ac_cv_lib_soname_tiff"
13011 _ACEOF
13016 CPPFLAGS=$ac_save_CPPFLAGS
13017 test -z "$TIFF_CFLAGS" || TIFF_CFLAGS=`echo " $TIFF_CFLAGS" | sed 's/ -I\([^/]\)/ -I\$(top_builddir)\/\1/g'`
13018 test -z "$TIFF_LIBS" || TIFF_LIBS=`echo " $TIFF_LIBS" | sed 's/ -L\([^/]\)/ -L\$(top_builddir)\/\1/g'`
13021 if test "x$ac_cv_lib_soname_tiff" = "x"; then :
13022 case "x$with_tiff" in
13023 x) as_fn_append wine_notices "|libtiff ${notice_platform}development files not found, TIFF won't be supported." ;;
13024 xno) ;;
13025 *) as_fn_error $? "libtiff ${notice_platform}development files not found, TIFF won't be supported.
13026 This is an error since --with-tiff was requested." "$LINENO" 5 ;;
13027 esac
13030 if test "x$with_mpg123" != "xno"
13031 then
13032 if ${MPG123_CFLAGS:+false} :; then :
13033 if ${PKG_CONFIG+:} false; then :
13034 MPG123_CFLAGS=`$PKG_CONFIG --cflags libmpg123 2>/dev/null`
13038 if ${MPG123_LIBS:+false} :; then :
13039 if ${PKG_CONFIG+:} false; then :
13040 MPG123_LIBS=`$PKG_CONFIG --libs libmpg123 2>/dev/null`
13044 MPG123_LIBS=${MPG123_LIBS:-"-lmpg123"}
13045 $as_echo "$as_me:${as_lineno-$LINENO}: libmpg123 cflags: $MPG123_CFLAGS" >&5
13046 $as_echo "$as_me:${as_lineno-$LINENO}: libmpg123 libs: $MPG123_LIBS" >&5
13047 ac_save_CPPFLAGS=$CPPFLAGS
13048 CPPFLAGS="$CPPFLAGS $MPG123_CFLAGS"
13049 for ac_header in mpg123.h
13050 do :
13051 ac_fn_c_check_header_mongrel "$LINENO" "mpg123.h" "ac_cv_header_mpg123_h" "$ac_includes_default"
13052 if test "x$ac_cv_header_mpg123_h" = xyes; then :
13053 cat >>confdefs.h <<_ACEOF
13054 #define HAVE_MPG123_H 1
13055 _ACEOF
13059 done
13061 if test "$ac_cv_header_mpg123_h" = "yes"
13062 then
13063 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for mpg123_feed in -lmpg123" >&5
13064 $as_echo_n "checking for mpg123_feed in -lmpg123... " >&6; }
13065 if ${ac_cv_lib_mpg123_mpg123_feed+:} false; then :
13066 $as_echo_n "(cached) " >&6
13067 else
13068 ac_check_lib_save_LIBS=$LIBS
13069 LIBS="-lmpg123 $MPG123_LIBS $LIBS"
13070 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13071 /* end confdefs.h. */
13073 /* Override any GCC internal prototype to avoid an error.
13074 Use char because int might match the return type of a GCC
13075 builtin and then its argument prototype would still apply. */
13076 #ifdef __cplusplus
13077 extern "C"
13078 #endif
13079 char mpg123_feed ();
13081 main ()
13083 return mpg123_feed ();
13085 return 0;
13087 _ACEOF
13088 if ac_fn_c_try_link "$LINENO"; then :
13089 ac_cv_lib_mpg123_mpg123_feed=yes
13090 else
13091 ac_cv_lib_mpg123_mpg123_feed=no
13093 rm -f core conftest.err conftest.$ac_objext \
13094 conftest$ac_exeext conftest.$ac_ext
13095 LIBS=$ac_check_lib_save_LIBS
13097 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_mpg123_mpg123_feed" >&5
13098 $as_echo "$ac_cv_lib_mpg123_mpg123_feed" >&6; }
13099 if test "x$ac_cv_lib_mpg123_mpg123_feed" = xyes; then :
13101 else
13102 MPG123_LIBS=""
13105 else
13106 MPG123_CFLAGS=""
13107 MPG123_LIBS=""
13109 CPPFLAGS=$ac_save_CPPFLAGS
13110 test -z "$MPG123_CFLAGS" || MPG123_CFLAGS=`echo " $MPG123_CFLAGS" | sed 's/ -I\([^/]\)/ -I\$(top_builddir)\/\1/g'`
13111 test -z "$MPG123_LIBS" || MPG123_LIBS=`echo " $MPG123_LIBS" | sed 's/ -L\([^/]\)/ -L\$(top_builddir)\/\1/g'`
13114 if test "x$ac_cv_lib_mpg123_mpg123_feed" != xyes -a x"$ac_cv_header_CoreAudio_CoreAudio_h" != xyes; then :
13115 case "x$with_mpg123" in
13116 x) as_fn_append wine_notices "|libmpg123 ${notice_platform}development files not found (or too old), mp3 codec won't be supported." ;;
13117 xno) ;;
13118 *) as_fn_error $? "libmpg123 ${notice_platform}development files not found (or too old), mp3 codec won't be supported.
13119 This is an error since --with-mpg123 was requested." "$LINENO" 5 ;;
13120 esac
13122 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}
13124 if test "$ac_cv_header_AL_al_h" = "yes"
13125 then
13126 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lopenal" >&5
13127 $as_echo_n "checking for -lopenal... " >&6; }
13128 if ${ac_cv_lib_soname_openal+:} false; then :
13129 $as_echo_n "(cached) " >&6
13130 else
13131 ac_check_soname_save_LIBS=$LIBS
13132 LIBS="-lopenal $LIBS"
13133 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13134 /* end confdefs.h. */
13136 /* Override any GCC internal prototype to avoid an error.
13137 Use char because int might match the return type of a GCC
13138 builtin and then its argument prototype would still apply. */
13139 #ifdef __cplusplus
13140 extern "C"
13141 #endif
13142 char alGetSource3i ();
13144 main ()
13146 return alGetSource3i ();
13148 return 0;
13150 _ACEOF
13151 if ac_fn_c_try_link "$LINENO"; then :
13152 case "$LIBEXT" in
13153 dll) ac_cv_lib_soname_openal=`$ac_cv_path_LDD conftest.exe | grep "openal" | sed -e "s/dll.*/dll/"';2,$d'` ;;
13154 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'` ;;
13155 *) ac_cv_lib_soname_openal=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libopenal\\.$LIBEXT" | sed -e "s/^.*\\[\\(libopenal\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
13156 if ${ac_cv_lib_soname_openal:+false} :; then :
13157 ac_cv_lib_soname_openal=`$LDD conftest$ac_exeext | grep "libopenal\\.$LIBEXT" | sed -e "s/^.*\(libopenal\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
13158 fi ;;
13159 esac
13161 rm -f core conftest.err conftest.$ac_objext \
13162 conftest$ac_exeext conftest.$ac_ext
13163 LIBS=$ac_check_soname_save_LIBS
13165 if ${ac_cv_lib_soname_openal:+false} :; then :
13166 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
13167 $as_echo "not found" >&6; }
13169 else
13170 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_openal" >&5
13171 $as_echo "$ac_cv_lib_soname_openal" >&6; }
13173 cat >>confdefs.h <<_ACEOF
13174 #define SONAME_LIBOPENAL "$ac_cv_lib_soname_openal"
13175 _ACEOF
13177 OPENAL_LIBS="-lopenal"
13179 ac_cv_lib_openal=yes
13181 cat >>confdefs.h <<_ACEOF
13182 #define HAVE_OPENAL 1
13183 _ACEOF
13187 if test "x$ac_cv_lib_openal" != xyes; then :
13188 case "x$with_openal" in
13189 x) as_fn_append wine_notices "|libopenal ${notice_platform}development files not found (or too old), OpenAL won't be supported." ;;
13190 xno) ;;
13191 *) as_fn_error $? "libopenal ${notice_platform}development files not found (or too old), OpenAL won't be supported.
13192 This is an error since --with-openal was requested." "$LINENO" 5 ;;
13193 esac
13195 test "x$ac_cv_lib_openal" = xyes || enable_openal32=${enable_openal32:-no}
13197 if test "$ac_cv_header_kstat_h" = "yes"
13198 then
13199 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for kstat_open in -lkstat" >&5
13200 $as_echo_n "checking for kstat_open in -lkstat... " >&6; }
13201 if ${ac_cv_lib_kstat_kstat_open+:} false; then :
13202 $as_echo_n "(cached) " >&6
13203 else
13204 ac_check_lib_save_LIBS=$LIBS
13205 LIBS="-lkstat $LIBS"
13206 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13207 /* end confdefs.h. */
13209 /* Override any GCC internal prototype to avoid an error.
13210 Use char because int might match the return type of a GCC
13211 builtin and then its argument prototype would still apply. */
13212 #ifdef __cplusplus
13213 extern "C"
13214 #endif
13215 char kstat_open ();
13217 main ()
13219 return kstat_open ();
13221 return 0;
13223 _ACEOF
13224 if ac_fn_c_try_link "$LINENO"; then :
13225 ac_cv_lib_kstat_kstat_open=yes
13226 else
13227 ac_cv_lib_kstat_kstat_open=no
13229 rm -f core conftest.err conftest.$ac_objext \
13230 conftest$ac_exeext conftest.$ac_ext
13231 LIBS=$ac_check_lib_save_LIBS
13233 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_kstat_kstat_open" >&5
13234 $as_echo "$ac_cv_lib_kstat_kstat_open" >&6; }
13235 if test "x$ac_cv_lib_kstat_kstat_open" = xyes; then :
13237 $as_echo "#define HAVE_LIBKSTAT 1" >>confdefs.h
13239 KSTAT_LIBS="-lkstat"
13245 if test "$ac_cv_header_libprocstat_h" = "yes"
13246 then
13247 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for procstat_open_sysctl in -lprocstat" >&5
13248 $as_echo_n "checking for procstat_open_sysctl in -lprocstat... " >&6; }
13249 if ${ac_cv_lib_procstat_procstat_open_sysctl+:} false; then :
13250 $as_echo_n "(cached) " >&6
13251 else
13252 ac_check_lib_save_LIBS=$LIBS
13253 LIBS="-lprocstat $LIBS"
13254 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13255 /* end confdefs.h. */
13257 /* Override any GCC internal prototype to avoid an error.
13258 Use char because int might match the return type of a GCC
13259 builtin and then its argument prototype would still apply. */
13260 #ifdef __cplusplus
13261 extern "C"
13262 #endif
13263 char procstat_open_sysctl ();
13265 main ()
13267 return procstat_open_sysctl ();
13269 return 0;
13271 _ACEOF
13272 if ac_fn_c_try_link "$LINENO"; then :
13273 ac_cv_lib_procstat_procstat_open_sysctl=yes
13274 else
13275 ac_cv_lib_procstat_procstat_open_sysctl=no
13277 rm -f core conftest.err conftest.$ac_objext \
13278 conftest$ac_exeext conftest.$ac_ext
13279 LIBS=$ac_check_lib_save_LIBS
13281 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_procstat_procstat_open_sysctl" >&5
13282 $as_echo "$ac_cv_lib_procstat_procstat_open_sysctl" >&6; }
13283 if test "x$ac_cv_lib_procstat_procstat_open_sysctl" = xyes; then :
13285 $as_echo "#define HAVE_LIBPROCSTAT 1" >>confdefs.h
13287 PROCSTAT_LIBS="-lprocstat"
13293 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lodbc" >&5
13294 $as_echo_n "checking for -lodbc... " >&6; }
13295 if ${ac_cv_lib_soname_odbc+:} false; then :
13296 $as_echo_n "(cached) " >&6
13297 else
13298 ac_check_soname_save_LIBS=$LIBS
13299 LIBS="-lodbc $LIBS"
13300 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13301 /* end confdefs.h. */
13303 /* Override any GCC internal prototype to avoid an error.
13304 Use char because int might match the return type of a GCC
13305 builtin and then its argument prototype would still apply. */
13306 #ifdef __cplusplus
13307 extern "C"
13308 #endif
13309 char SQLConnect ();
13311 main ()
13313 return SQLConnect ();
13315 return 0;
13317 _ACEOF
13318 if ac_fn_c_try_link "$LINENO"; then :
13319 case "$LIBEXT" in
13320 dll) ac_cv_lib_soname_odbc=`$ac_cv_path_LDD conftest.exe | grep "odbc" | sed -e "s/dll.*/dll/"';2,$d'` ;;
13321 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'` ;;
13322 *) ac_cv_lib_soname_odbc=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libodbc\\.$LIBEXT" | sed -e "s/^.*\\[\\(libodbc\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
13323 if ${ac_cv_lib_soname_odbc:+false} :; then :
13324 ac_cv_lib_soname_odbc=`$LDD conftest$ac_exeext | grep "libodbc\\.$LIBEXT" | sed -e "s/^.*\(libodbc\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
13325 fi ;;
13326 esac
13328 rm -f core conftest.err conftest.$ac_objext \
13329 conftest$ac_exeext conftest.$ac_ext
13330 LIBS=$ac_check_soname_save_LIBS
13332 if ${ac_cv_lib_soname_odbc:+false} :; then :
13333 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
13334 $as_echo "not found" >&6; }
13335 cat >>confdefs.h <<_ACEOF
13336 #define SONAME_LIBODBC "libodbc.$LIBEXT"
13337 _ACEOF
13339 else
13340 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_odbc" >&5
13341 $as_echo "$ac_cv_lib_soname_odbc" >&6; }
13343 cat >>confdefs.h <<_ACEOF
13344 #define SONAME_LIBODBC "$ac_cv_lib_soname_odbc"
13345 _ACEOF
13350 if test "x$with_netapi" != "xno"
13351 then
13352 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lnetapi" >&5
13353 $as_echo_n "checking for -lnetapi... " >&6; }
13354 if ${ac_cv_lib_soname_netapi+:} false; then :
13355 $as_echo_n "(cached) " >&6
13356 else
13357 ac_check_soname_save_LIBS=$LIBS
13358 LIBS="-lnetapi $LIBS"
13359 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13360 /* end confdefs.h. */
13362 /* Override any GCC internal prototype to avoid an error.
13363 Use char because int might match the return type of a GCC
13364 builtin and then its argument prototype would still apply. */
13365 #ifdef __cplusplus
13366 extern "C"
13367 #endif
13368 char libnetapi_init ();
13370 main ()
13372 return libnetapi_init ();
13374 return 0;
13376 _ACEOF
13377 if ac_fn_c_try_link "$LINENO"; then :
13378 case "$LIBEXT" in
13379 dll) ac_cv_lib_soname_netapi=`$ac_cv_path_LDD conftest.exe | grep "netapi" | sed -e "s/dll.*/dll/"';2,$d'` ;;
13380 dylib) ac_cv_lib_soname_netapi=`otool -L conftest$ac_exeext | grep "libnetapi\\.[0-9A-Za-z.]*dylib" | sed -e "s/^.*\/\(libnetapi\.[0-9A-Za-z.]*dylib\).*$/\1/"';2,$d'` ;;
13381 *) ac_cv_lib_soname_netapi=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libnetapi\\.$LIBEXT" | sed -e "s/^.*\\[\\(libnetapi\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
13382 if ${ac_cv_lib_soname_netapi:+false} :; then :
13383 ac_cv_lib_soname_netapi=`$LDD conftest$ac_exeext | grep "libnetapi\\.$LIBEXT" | sed -e "s/^.*\(libnetapi\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
13384 fi ;;
13385 esac
13387 rm -f core conftest.err conftest.$ac_objext \
13388 conftest$ac_exeext conftest.$ac_ext
13389 LIBS=$ac_check_soname_save_LIBS
13391 if ${ac_cv_lib_soname_netapi:+false} :; then :
13392 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
13393 $as_echo "not found" >&6; }
13394 cat >>confdefs.h <<_ACEOF
13395 #define SONAME_LIBNETAPI "libnetapi.$LIBEXT"
13396 _ACEOF
13398 else
13399 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_netapi" >&5
13400 $as_echo "$ac_cv_lib_soname_netapi" >&6; }
13402 cat >>confdefs.h <<_ACEOF
13403 #define SONAME_LIBNETAPI "$ac_cv_lib_soname_netapi"
13404 _ACEOF
13410 test -n "$ALSA_LIBS" || enable_winealsa_drv=${enable_winealsa_drv:-no}
13411 test -n "$COREAUDIO_LIBS" || enable_winecoreaudio_drv=${enable_winecoreaudio_drv:-no}
13412 test "x$ac_cv_member_oss_sysinfo_numaudioengines" = xyes || enable_wineoss_drv=${enable_wineoss_drv:-no}
13413 test "$ac_cv_header_linux_joystick_h" = "yes" || enable_winejoystick_drv=${enable_winejoystick_drv:-no}
13415 if test "x$ALSA_LIBS$COREAUDIO_LIBS" = "x" -a \
13416 "x$ac_cv_member_oss_sysinfo_numaudioengines" != xyes -a \
13417 "x$with_alsa$with_coreaudio$with_oss" != xnonono
13418 then
13419 as_fn_append wine_warnings "|No sound system was found. Windows applications will be silent."
13423 EXTRACFLAGS=""
13425 if test "x${GCC}" = "xyes"
13426 then
13427 EXTRACFLAGS="-Wall -pipe"
13429 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for gcc strength-reduce bug" >&5
13430 $as_echo_n "checking for gcc strength-reduce bug... " >&6; }
13431 if ${ac_cv_c_gcc_strength_bug+:} false; then :
13432 $as_echo_n "(cached) " >&6
13433 else
13434 if test "$cross_compiling" = yes; then :
13435 ac_cv_c_gcc_strength_bug="yes"
13436 else
13437 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13438 /* end confdefs.h. */
13439 int L[4] = {0,1,2,3};
13441 main ()
13443 static int Array[3];
13444 unsigned int B = 3;
13445 int i;
13446 for(i=0; i<B; i++) Array[i] = i - 3;
13447 for(i=0; i<4 - 1; i++) L[i] = L[i + 1];
13448 L[i] = 4;
13449 return (Array[1] != -2 || L[2] != 3)
13451 return 0;
13453 _ACEOF
13454 if ac_fn_c_try_run "$LINENO"; then :
13455 ac_cv_c_gcc_strength_bug="no"
13456 else
13457 ac_cv_c_gcc_strength_bug="yes"
13459 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \
13460 conftest.$ac_objext conftest.beam conftest.$ac_ext
13464 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_gcc_strength_bug" >&5
13465 $as_echo "$ac_cv_c_gcc_strength_bug" >&6; }
13466 if test "$ac_cv_c_gcc_strength_bug" = "yes"
13467 then
13468 EXTRACFLAGS="$EXTRACFLAGS -fno-strength-reduce"
13471 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -fno-builtin" >&5
13472 $as_echo_n "checking whether the compiler supports -fno-builtin... " >&6; }
13473 if ${ac_cv_cflags__fno_builtin+:} false; then :
13474 $as_echo_n "(cached) " >&6
13475 else
13476 ac_wine_try_cflags_saved=$CFLAGS
13477 CFLAGS="$CFLAGS -fno-builtin"
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__fno_builtin=yes
13484 else
13485 ac_cv_cflags__fno_builtin=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__fno_builtin" >&5
13492 $as_echo "$ac_cv_cflags__fno_builtin" >&6; }
13493 if test "x$ac_cv_cflags__fno_builtin" = xyes; then :
13494 BUILTINFLAG="-fno-builtin"
13497 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -fno-strict-aliasing" >&5
13498 $as_echo_n "checking whether the compiler supports -fno-strict-aliasing... " >&6; }
13499 if ${ac_cv_cflags__fno_strict_aliasing+:} false; then :
13500 $as_echo_n "(cached) " >&6
13501 else
13502 ac_wine_try_cflags_saved=$CFLAGS
13503 CFLAGS="$CFLAGS -fno-strict-aliasing"
13504 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13505 /* end confdefs.h. */
13506 int main(int argc, char **argv) { return 0; }
13507 _ACEOF
13508 if ac_fn_c_try_link "$LINENO"; then :
13509 ac_cv_cflags__fno_strict_aliasing=yes
13510 else
13511 ac_cv_cflags__fno_strict_aliasing=no
13513 rm -f core conftest.err conftest.$ac_objext \
13514 conftest$ac_exeext conftest.$ac_ext
13515 CFLAGS=$ac_wine_try_cflags_saved
13517 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__fno_strict_aliasing" >&5
13518 $as_echo "$ac_cv_cflags__fno_strict_aliasing" >&6; }
13519 if test "x$ac_cv_cflags__fno_strict_aliasing" = xyes; then :
13520 EXTRACFLAGS="$EXTRACFLAGS -fno-strict-aliasing"
13522 saved_CFLAGS=$CFLAGS
13523 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Werror=unknown-warning-option" >&5
13524 $as_echo_n "checking whether the compiler supports -Werror=unknown-warning-option... " >&6; }
13525 if ${ac_cv_cflags__Werror_unknown_warning_option+:} false; then :
13526 $as_echo_n "(cached) " >&6
13527 else
13528 ac_wine_try_cflags_saved=$CFLAGS
13529 CFLAGS="$CFLAGS -Werror=unknown-warning-option"
13530 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13531 /* end confdefs.h. */
13532 int main(int argc, char **argv) { return 0; }
13533 _ACEOF
13534 if ac_fn_c_try_link "$LINENO"; then :
13535 ac_cv_cflags__Werror_unknown_warning_option=yes
13536 else
13537 ac_cv_cflags__Werror_unknown_warning_option=no
13539 rm -f core conftest.err conftest.$ac_objext \
13540 conftest$ac_exeext conftest.$ac_ext
13541 CFLAGS=$ac_wine_try_cflags_saved
13543 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Werror_unknown_warning_option" >&5
13544 $as_echo "$ac_cv_cflags__Werror_unknown_warning_option" >&6; }
13545 if test "x$ac_cv_cflags__Werror_unknown_warning_option" = xyes; then :
13546 CFLAGS="$CFLAGS -Werror=unknown-warning-option"
13548 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wdeclaration-after-statement" >&5
13549 $as_echo_n "checking whether the compiler supports -Wdeclaration-after-statement... " >&6; }
13550 if ${ac_cv_cflags__Wdeclaration_after_statement+:} false; then :
13551 $as_echo_n "(cached) " >&6
13552 else
13553 ac_wine_try_cflags_saved=$CFLAGS
13554 CFLAGS="$CFLAGS -Wdeclaration-after-statement"
13555 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13556 /* end confdefs.h. */
13557 int main(int argc, char **argv) { return 0; }
13558 _ACEOF
13559 if ac_fn_c_try_link "$LINENO"; then :
13560 ac_cv_cflags__Wdeclaration_after_statement=yes
13561 else
13562 ac_cv_cflags__Wdeclaration_after_statement=no
13564 rm -f core conftest.err conftest.$ac_objext \
13565 conftest$ac_exeext conftest.$ac_ext
13566 CFLAGS=$ac_wine_try_cflags_saved
13568 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wdeclaration_after_statement" >&5
13569 $as_echo "$ac_cv_cflags__Wdeclaration_after_statement" >&6; }
13570 if test "x$ac_cv_cflags__Wdeclaration_after_statement" = xyes; then :
13571 EXTRACFLAGS="$EXTRACFLAGS -Wdeclaration-after-statement"
13573 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wempty-body" >&5
13574 $as_echo_n "checking whether the compiler supports -Wempty-body... " >&6; }
13575 if ${ac_cv_cflags__Wempty_body+:} false; then :
13576 $as_echo_n "(cached) " >&6
13577 else
13578 ac_wine_try_cflags_saved=$CFLAGS
13579 CFLAGS="$CFLAGS -Wempty-body"
13580 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13581 /* end confdefs.h. */
13582 int main(int argc, char **argv) { return 0; }
13583 _ACEOF
13584 if ac_fn_c_try_link "$LINENO"; then :
13585 ac_cv_cflags__Wempty_body=yes
13586 else
13587 ac_cv_cflags__Wempty_body=no
13589 rm -f core conftest.err conftest.$ac_objext \
13590 conftest$ac_exeext conftest.$ac_ext
13591 CFLAGS=$ac_wine_try_cflags_saved
13593 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wempty_body" >&5
13594 $as_echo "$ac_cv_cflags__Wempty_body" >&6; }
13595 if test "x$ac_cv_cflags__Wempty_body" = xyes; then :
13596 EXTRACFLAGS="$EXTRACFLAGS -Wempty-body"
13598 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wignored-qualifiers" >&5
13599 $as_echo_n "checking whether the compiler supports -Wignored-qualifiers... " >&6; }
13600 if ${ac_cv_cflags__Wignored_qualifiers+:} false; then :
13601 $as_echo_n "(cached) " >&6
13602 else
13603 ac_wine_try_cflags_saved=$CFLAGS
13604 CFLAGS="$CFLAGS -Wignored-qualifiers"
13605 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13606 /* end confdefs.h. */
13607 int main(int argc, char **argv) { return 0; }
13608 _ACEOF
13609 if ac_fn_c_try_link "$LINENO"; then :
13610 ac_cv_cflags__Wignored_qualifiers=yes
13611 else
13612 ac_cv_cflags__Wignored_qualifiers=no
13614 rm -f core conftest.err conftest.$ac_objext \
13615 conftest$ac_exeext conftest.$ac_ext
13616 CFLAGS=$ac_wine_try_cflags_saved
13618 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wignored_qualifiers" >&5
13619 $as_echo "$ac_cv_cflags__Wignored_qualifiers" >&6; }
13620 if test "x$ac_cv_cflags__Wignored_qualifiers" = xyes; then :
13621 EXTRACFLAGS="$EXTRACFLAGS -Wignored-qualifiers"
13623 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wstrict-prototypes" >&5
13624 $as_echo_n "checking whether the compiler supports -Wstrict-prototypes... " >&6; }
13625 if ${ac_cv_cflags__Wstrict_prototypes+:} false; then :
13626 $as_echo_n "(cached) " >&6
13627 else
13628 ac_wine_try_cflags_saved=$CFLAGS
13629 CFLAGS="$CFLAGS -Wstrict-prototypes"
13630 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13631 /* end confdefs.h. */
13632 int main(int argc, char **argv) { return 0; }
13633 _ACEOF
13634 if ac_fn_c_try_link "$LINENO"; then :
13635 ac_cv_cflags__Wstrict_prototypes=yes
13636 else
13637 ac_cv_cflags__Wstrict_prototypes=no
13639 rm -f core conftest.err conftest.$ac_objext \
13640 conftest$ac_exeext conftest.$ac_ext
13641 CFLAGS=$ac_wine_try_cflags_saved
13643 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wstrict_prototypes" >&5
13644 $as_echo "$ac_cv_cflags__Wstrict_prototypes" >&6; }
13645 if test "x$ac_cv_cflags__Wstrict_prototypes" = xyes; then :
13646 EXTRACFLAGS="$EXTRACFLAGS -Wstrict-prototypes"
13648 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wtype-limits" >&5
13649 $as_echo_n "checking whether the compiler supports -Wtype-limits... " >&6; }
13650 if ${ac_cv_cflags__Wtype_limits+:} false; then :
13651 $as_echo_n "(cached) " >&6
13652 else
13653 ac_wine_try_cflags_saved=$CFLAGS
13654 CFLAGS="$CFLAGS -Wtype-limits"
13655 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13656 /* end confdefs.h. */
13657 int main(int argc, char **argv) { return 0; }
13658 _ACEOF
13659 if ac_fn_c_try_link "$LINENO"; then :
13660 ac_cv_cflags__Wtype_limits=yes
13661 else
13662 ac_cv_cflags__Wtype_limits=no
13664 rm -f core conftest.err conftest.$ac_objext \
13665 conftest$ac_exeext conftest.$ac_ext
13666 CFLAGS=$ac_wine_try_cflags_saved
13668 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wtype_limits" >&5
13669 $as_echo "$ac_cv_cflags__Wtype_limits" >&6; }
13670 if test "x$ac_cv_cflags__Wtype_limits" = xyes; then :
13671 EXTRACFLAGS="$EXTRACFLAGS -Wtype-limits"
13673 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wunused-but-set-parameter" >&5
13674 $as_echo_n "checking whether the compiler supports -Wunused-but-set-parameter... " >&6; }
13675 if ${ac_cv_cflags__Wunused_but_set_parameter+:} false; then :
13676 $as_echo_n "(cached) " >&6
13677 else
13678 ac_wine_try_cflags_saved=$CFLAGS
13679 CFLAGS="$CFLAGS -Wunused-but-set-parameter"
13680 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13681 /* end confdefs.h. */
13682 int main(int argc, char **argv) { return 0; }
13683 _ACEOF
13684 if ac_fn_c_try_link "$LINENO"; then :
13685 ac_cv_cflags__Wunused_but_set_parameter=yes
13686 else
13687 ac_cv_cflags__Wunused_but_set_parameter=no
13689 rm -f core conftest.err conftest.$ac_objext \
13690 conftest$ac_exeext conftest.$ac_ext
13691 CFLAGS=$ac_wine_try_cflags_saved
13693 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wunused_but_set_parameter" >&5
13694 $as_echo "$ac_cv_cflags__Wunused_but_set_parameter" >&6; }
13695 if test "x$ac_cv_cflags__Wunused_but_set_parameter" = xyes; then :
13696 EXTRACFLAGS="$EXTRACFLAGS -Wunused-but-set-parameter"
13698 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wwrite-strings" >&5
13699 $as_echo_n "checking whether the compiler supports -Wwrite-strings... " >&6; }
13700 if ${ac_cv_cflags__Wwrite_strings+:} false; then :
13701 $as_echo_n "(cached) " >&6
13702 else
13703 ac_wine_try_cflags_saved=$CFLAGS
13704 CFLAGS="$CFLAGS -Wwrite-strings"
13705 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13706 /* end confdefs.h. */
13707 int main(int argc, char **argv) { return 0; }
13708 _ACEOF
13709 if ac_fn_c_try_link "$LINENO"; then :
13710 ac_cv_cflags__Wwrite_strings=yes
13711 else
13712 ac_cv_cflags__Wwrite_strings=no
13714 rm -f core conftest.err conftest.$ac_objext \
13715 conftest$ac_exeext conftest.$ac_ext
13716 CFLAGS=$ac_wine_try_cflags_saved
13718 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wwrite_strings" >&5
13719 $as_echo "$ac_cv_cflags__Wwrite_strings" >&6; }
13720 if test "x$ac_cv_cflags__Wwrite_strings" = xyes; then :
13721 EXTRACFLAGS="$EXTRACFLAGS -Wwrite-strings"
13724 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wpointer-arith" >&5
13725 $as_echo_n "checking whether the compiler supports -Wpointer-arith... " >&6; }
13726 if ${ac_cv_cflags__Wpointer_arith+:} false; then :
13727 $as_echo_n "(cached) " >&6
13728 else
13729 ac_wine_try_cflags_saved=$CFLAGS
13730 CFLAGS="$CFLAGS -Wpointer-arith"
13731 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13732 /* end confdefs.h. */
13733 int main(int argc, char **argv) { return 0; }
13734 _ACEOF
13735 if ac_fn_c_try_link "$LINENO"; then :
13736 ac_cv_cflags__Wpointer_arith=yes
13737 else
13738 ac_cv_cflags__Wpointer_arith=no
13740 rm -f core conftest.err conftest.$ac_objext \
13741 conftest$ac_exeext conftest.$ac_ext
13742 CFLAGS=$ac_wine_try_cflags_saved
13744 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wpointer_arith" >&5
13745 $as_echo "$ac_cv_cflags__Wpointer_arith" >&6; }
13746 if test "x$ac_cv_cflags__Wpointer_arith" = xyes; then :
13747 saved_string_h_CFLAGS=$CFLAGS
13748 CFLAGS="$CFLAGS -Wpointer-arith -Werror"
13749 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for broken string.h that generates warnings with -Wpointer-arith" >&5
13750 $as_echo_n "checking for broken string.h that generates warnings with -Wpointer-arith... " >&6; }
13751 if ${ac_cv_c_string_h_warnings+:} false; then :
13752 $as_echo_n "(cached) " >&6
13753 else
13754 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13755 /* end confdefs.h. */
13756 #include <string.h>
13758 main ()
13762 return 0;
13764 _ACEOF
13765 if ac_fn_c_try_compile "$LINENO"; then :
13766 ac_cv_c_string_h_warnings=no
13767 else
13768 ac_cv_c_string_h_warnings=yes
13770 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
13772 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_string_h_warnings" >&5
13773 $as_echo "$ac_cv_c_string_h_warnings" >&6; }
13774 test "$ac_cv_c_string_h_warnings" = yes || EXTRACFLAGS="$EXTRACFLAGS -Wpointer-arith"
13775 CFLAGS=$saved_string_h_CFLAGS
13778 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wlogical-op" >&5
13779 $as_echo_n "checking whether the compiler supports -Wlogical-op... " >&6; }
13780 if ${ac_cv_cflags__Wlogical_op+:} false; then :
13781 $as_echo_n "(cached) " >&6
13782 else
13783 ac_wine_try_cflags_saved=$CFLAGS
13784 CFLAGS="$CFLAGS -Wlogical-op"
13785 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13786 /* end confdefs.h. */
13787 int main(int argc, char **argv) { return 0; }
13788 _ACEOF
13789 if ac_fn_c_try_link "$LINENO"; then :
13790 ac_cv_cflags__Wlogical_op=yes
13791 else
13792 ac_cv_cflags__Wlogical_op=no
13794 rm -f core conftest.err conftest.$ac_objext \
13795 conftest$ac_exeext conftest.$ac_ext
13796 CFLAGS=$ac_wine_try_cflags_saved
13798 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wlogical_op" >&5
13799 $as_echo "$ac_cv_cflags__Wlogical_op" >&6; }
13800 if test "x$ac_cv_cflags__Wlogical_op" = xyes; then :
13801 saved_string_h_CFLAGS=$CFLAGS
13802 CFLAGS="$CFLAGS -Wlogical-op -Werror"
13803 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for broken string.h that generates warnings with -Wlogical-op" >&5
13804 $as_echo_n "checking for broken string.h that generates warnings with -Wlogical-op... " >&6; }
13805 if ${ac_cv_c_logicalop_noisy+:} false; then :
13806 $as_echo_n "(cached) " >&6
13807 else
13808 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13809 /* end confdefs.h. */
13810 #include <string.h>
13811 char*f(const char *h,char n) {return strchr(h,n);}
13813 main ()
13817 return 0;
13819 _ACEOF
13820 if ac_fn_c_try_compile "$LINENO"; then :
13821 ac_cv_c_logicalop_noisy=no
13822 else
13823 ac_cv_c_logicalop_noisy=yes
13825 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
13827 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_logicalop_noisy" >&5
13828 $as_echo "$ac_cv_c_logicalop_noisy" >&6; }
13829 CFLAGS=$saved_string_h_CFLAGS
13830 test "$ac_cv_c_logicalop_noisy" = yes || EXTRACFLAGS="$EXTRACFLAGS -Wlogical-op"
13833 CFLAGS=$saved_CFLAGS
13835 for ac_flag in $CFLAGS; do
13836 case $ac_flag in
13837 -g) case $host_os in
13838 darwin*) { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -gstabs+" >&5
13839 $as_echo_n "checking whether the compiler supports -gstabs+... " >&6; }
13840 if ${ac_cv_cflags__gstabsp+:} false; then :
13841 $as_echo_n "(cached) " >&6
13842 else
13843 ac_wine_try_cflags_saved=$CFLAGS
13844 CFLAGS="$CFLAGS -gstabs+"
13845 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13846 /* end confdefs.h. */
13847 int main(int argc, char **argv) { return 0; }
13848 _ACEOF
13849 if ac_fn_c_try_link "$LINENO"; then :
13850 ac_cv_cflags__gstabsp=yes
13851 else
13852 ac_cv_cflags__gstabsp=no
13854 rm -f core conftest.err conftest.$ac_objext \
13855 conftest$ac_exeext conftest.$ac_ext
13856 CFLAGS=$ac_wine_try_cflags_saved
13858 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__gstabsp" >&5
13859 $as_echo "$ac_cv_cflags__gstabsp" >&6; }
13860 if test "x$ac_cv_cflags__gstabsp" = xyes; then :
13861 EXTRACFLAGS="$EXTRACFLAGS -gstabs+"
13862 fi ;;
13863 *) { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -gdwarf-2" >&5
13864 $as_echo_n "checking whether the compiler supports -gdwarf-2... " >&6; }
13865 if ${ac_cv_cflags__gdwarf_2+:} false; then :
13866 $as_echo_n "(cached) " >&6
13867 else
13868 ac_wine_try_cflags_saved=$CFLAGS
13869 CFLAGS="$CFLAGS -gdwarf-2"
13870 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13871 /* end confdefs.h. */
13872 int main(int argc, char **argv) { return 0; }
13873 _ACEOF
13874 if ac_fn_c_try_link "$LINENO"; then :
13875 ac_cv_cflags__gdwarf_2=yes
13876 else
13877 ac_cv_cflags__gdwarf_2=no
13879 rm -f core conftest.err conftest.$ac_objext \
13880 conftest$ac_exeext conftest.$ac_ext
13881 CFLAGS=$ac_wine_try_cflags_saved
13883 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__gdwarf_2" >&5
13884 $as_echo "$ac_cv_cflags__gdwarf_2" >&6; }
13885 if test "x$ac_cv_cflags__gdwarf_2" = xyes; then :
13886 EXTRACFLAGS="$EXTRACFLAGS -gdwarf-2"
13888 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -gstrict-dwarf" >&5
13889 $as_echo_n "checking whether the compiler supports -gstrict-dwarf... " >&6; }
13890 if ${ac_cv_cflags__gstrict_dwarf+:} false; then :
13891 $as_echo_n "(cached) " >&6
13892 else
13893 ac_wine_try_cflags_saved=$CFLAGS
13894 CFLAGS="$CFLAGS -gstrict-dwarf"
13895 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13896 /* end confdefs.h. */
13897 int main(int argc, char **argv) { return 0; }
13898 _ACEOF
13899 if ac_fn_c_try_link "$LINENO"; then :
13900 ac_cv_cflags__gstrict_dwarf=yes
13901 else
13902 ac_cv_cflags__gstrict_dwarf=no
13904 rm -f core conftest.err conftest.$ac_objext \
13905 conftest$ac_exeext conftest.$ac_ext
13906 CFLAGS=$ac_wine_try_cflags_saved
13908 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__gstrict_dwarf" >&5
13909 $as_echo "$ac_cv_cflags__gstrict_dwarf" >&6; }
13910 if test "x$ac_cv_cflags__gstrict_dwarf" = xyes; then :
13911 EXTRACFLAGS="$EXTRACFLAGS -gstrict-dwarf"
13912 fi ;;
13913 esac ;;
13914 esac
13915 done
13917 case $host_cpu in
13918 *i[3456789]86*) { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -fno-omit-frame-pointer" >&5
13919 $as_echo_n "checking whether the compiler supports -fno-omit-frame-pointer... " >&6; }
13920 if ${ac_cv_cflags__fno_omit_frame_pointer+:} false; then :
13921 $as_echo_n "(cached) " >&6
13922 else
13923 ac_wine_try_cflags_saved=$CFLAGS
13924 CFLAGS="$CFLAGS -fno-omit-frame-pointer"
13925 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13926 /* end confdefs.h. */
13927 int main(int argc, char **argv) { return 0; }
13928 _ACEOF
13929 if ac_fn_c_try_link "$LINENO"; then :
13930 ac_cv_cflags__fno_omit_frame_pointer=yes
13931 else
13932 ac_cv_cflags__fno_omit_frame_pointer=no
13934 rm -f core conftest.err conftest.$ac_objext \
13935 conftest$ac_exeext conftest.$ac_ext
13936 CFLAGS=$ac_wine_try_cflags_saved
13938 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__fno_omit_frame_pointer" >&5
13939 $as_echo "$ac_cv_cflags__fno_omit_frame_pointer" >&6; }
13940 if test "x$ac_cv_cflags__fno_omit_frame_pointer" = xyes; then :
13941 EXTRACFLAGS="$EXTRACFLAGS -fno-omit-frame-pointer"
13942 fi ;;
13943 esac
13945 case $host in
13946 x86_64-*mingw32*|x86_64-*cygwin*) { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wno-format" >&5
13947 $as_echo_n "checking whether the compiler supports -Wno-format... " >&6; }
13948 if ${ac_cv_cflags__Wno_format+:} false; then :
13949 $as_echo_n "(cached) " >&6
13950 else
13951 ac_wine_try_cflags_saved=$CFLAGS
13952 CFLAGS="$CFLAGS -Wno-format"
13953 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13954 /* end confdefs.h. */
13955 int main(int argc, char **argv) { return 0; }
13956 _ACEOF
13957 if ac_fn_c_try_link "$LINENO"; then :
13958 ac_cv_cflags__Wno_format=yes
13959 else
13960 ac_cv_cflags__Wno_format=no
13962 rm -f core conftest.err conftest.$ac_objext \
13963 conftest$ac_exeext conftest.$ac_ext
13964 CFLAGS=$ac_wine_try_cflags_saved
13966 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wno_format" >&5
13967 $as_echo "$ac_cv_cflags__Wno_format" >&6; }
13968 if test "x$ac_cv_cflags__Wno_format" = xyes; then :
13969 EXTRACFLAGS="$EXTRACFLAGS -Wno-format"
13970 fi ;;
13971 esac
13973 if test "x$enable_maintainer_mode" = "xyes"
13974 then
13975 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Werror" >&5
13976 $as_echo_n "checking whether the compiler supports -Werror... " >&6; }
13977 if ${ac_cv_cflags__Werror+:} false; then :
13978 $as_echo_n "(cached) " >&6
13979 else
13980 ac_wine_try_cflags_saved=$CFLAGS
13981 CFLAGS="$CFLAGS -Werror"
13982 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13983 /* end confdefs.h. */
13984 int main(int argc, char **argv) { return 0; }
13985 _ACEOF
13986 if ac_fn_c_try_link "$LINENO"; then :
13987 ac_cv_cflags__Werror=yes
13988 else
13989 ac_cv_cflags__Werror=no
13991 rm -f core conftest.err conftest.$ac_objext \
13992 conftest$ac_exeext conftest.$ac_ext
13993 CFLAGS=$ac_wine_try_cflags_saved
13995 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Werror" >&5
13996 $as_echo "$ac_cv_cflags__Werror" >&6; }
13997 if test "x$ac_cv_cflags__Werror" = xyes; then :
13998 EXTRACFLAGS="$EXTRACFLAGS -Werror"
14002 saved_CFLAGS="$CFLAGS"
14003 CFLAGS="$CFLAGS -Werror"
14004 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ms_hook_prologue attribute" >&5
14005 $as_echo_n "checking for ms_hook_prologue attribute... " >&6; }
14006 if ${ac_cv_have_ms_hook_prologue+:} false; then :
14007 $as_echo_n "(cached) " >&6
14008 else
14009 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14010 /* end confdefs.h. */
14011 int __attribute__((__ms_hook_prologue__)) test(void) { return 0; }
14013 main ()
14017 return 0;
14019 _ACEOF
14020 if ac_fn_c_try_compile "$LINENO"; then :
14021 ac_cv_have_ms_hook_prologue="yes"
14022 else
14023 ac_cv_have_ms_hook_prologue="no"
14025 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
14027 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_have_ms_hook_prologue" >&5
14028 $as_echo "$ac_cv_have_ms_hook_prologue" >&6; }
14029 CFLAGS="$saved_CFLAGS"
14030 if test "$ac_cv_have_ms_hook_prologue" = "yes"
14031 then
14033 $as_echo "#define DECLSPEC_HOTPATCH __attribute__((__ms_hook_prologue__))" >>confdefs.h
14035 else
14036 $as_echo "#define DECLSPEC_HOTPATCH /* */" >>confdefs.h
14042 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for the need to disable Fortify" >&5
14043 $as_echo_n "checking for the need to disable Fortify... " >&6; }
14044 if ${ac_cv_c_fortify_enabled+:} false; then :
14045 $as_echo_n "(cached) " >&6
14046 else
14047 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14048 /* end confdefs.h. */
14049 #include <string.h>
14051 main ()
14053 #if defined(__USE_FORTIFY_LEVEL) && __USE_FORTIFY_LEVEL > 0
14054 #error Fortify enabled
14055 #endif
14057 return 0;
14059 _ACEOF
14060 if ac_fn_c_try_compile "$LINENO"; then :
14061 ac_cv_c_fortify_enabled=no
14062 else
14063 ac_cv_c_fortify_enabled=yes
14065 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
14067 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_fortify_enabled" >&5
14068 $as_echo "$ac_cv_c_fortify_enabled" >&6; }
14069 if test "$ac_cv_c_fortify_enabled" = yes
14070 then
14071 CFLAGS="$CFLAGS -U_FORTIFY_SOURCE -D_FORTIFY_SOURCE=0"
14075 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether external symbols need an underscore prefix" >&5
14076 $as_echo_n "checking whether external symbols need an underscore prefix... " >&6; }
14077 if ${ac_cv_c_extern_prefix+:} false; then :
14078 $as_echo_n "(cached) " >&6
14079 else
14080 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14081 /* end confdefs.h. */
14082 extern int ac_test;
14084 main ()
14086 asm(".globl _ac_test\n_ac_test:\t.long 0"); if (ac_test) return 1
14088 return 0;
14090 _ACEOF
14091 if ac_fn_c_try_link "$LINENO"; then :
14092 ac_cv_c_extern_prefix="yes"
14093 else
14094 ac_cv_c_extern_prefix="no"
14096 rm -f core conftest.err conftest.$ac_objext \
14097 conftest$ac_exeext conftest.$ac_ext
14099 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_extern_prefix" >&5
14100 $as_echo "$ac_cv_c_extern_prefix" >&6; }
14102 case $host_cpu in
14103 *i[3456789]86*)
14104 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether external symbols need stdcall decoration" >&5
14105 $as_echo_n "checking whether external symbols need stdcall decoration... " >&6; }
14106 if ${ac_cv_c_stdcall_suffix+:} false; then :
14107 $as_echo_n "(cached) " >&6
14108 else
14109 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14110 /* end confdefs.h. */
14111 #ifndef _MSC_VER
14112 #define __stdcall __attribute__((__stdcall__))
14113 #endif
14114 int __stdcall ac_test(int i) { return i; }
14116 main ()
14118 asm("jmp _ac_test@4"); if (ac_test(1)) return 1
14120 return 0;
14122 _ACEOF
14123 if ac_fn_c_try_link "$LINENO"; then :
14124 ac_cv_c_stdcall_suffix="yes"
14125 else
14126 ac_cv_c_stdcall_suffix="no"
14128 rm -f core conftest.err conftest.$ac_objext \
14129 conftest$ac_exeext conftest.$ac_ext
14131 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_stdcall_suffix" >&5
14132 $as_echo "$ac_cv_c_stdcall_suffix" >&6; } ;;
14133 *) ac_cv_c_stdcall_suffix="no" ;;
14134 esac
14137 if test "$ac_cv_c_extern_prefix" = "yes"
14138 then
14139 $as_echo "#define __ASM_NAME(name) \"_\" name" >>confdefs.h
14141 asm_name_prefix="_"
14142 else
14143 $as_echo "#define __ASM_NAME(name) name" >>confdefs.h
14145 asm_name_prefix=""
14149 if test "$ac_cv_c_stdcall_suffix" = "yes"
14150 then
14151 $as_echo "#define __ASM_STDCALL(args) \"@\" #args" >>confdefs.h
14153 else
14154 $as_echo "#define __ASM_STDCALL(args) \"\"" >>confdefs.h
14159 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to define a function in assembly code" >&5
14160 $as_echo_n "checking how to define a function in assembly code... " >&6; }
14161 if ${ac_cv_asm_func_def+:} false; then :
14162 $as_echo_n "(cached) " >&6
14163 else
14164 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14165 /* end confdefs.h. */
14168 main ()
14170 asm("\t.globl _ac_test\n\t.def _ac_test; .scl 2; .type 32; .endef\n_ac_test:\t.long 0");
14172 return 0;
14174 _ACEOF
14175 if ac_fn_c_try_link "$LINENO"; then :
14176 ac_cv_asm_func_def=".def"
14177 else
14178 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14179 /* end confdefs.h. */
14182 main ()
14184 asm("\t.globl _ac_test\n\t.type _ac_test,@function\n_ac_test:\t.long 0");
14186 return 0;
14188 _ACEOF
14189 if ac_fn_c_try_link "$LINENO"; then :
14190 ac_cv_asm_func_def=".type @function"
14191 else
14192 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14193 /* end confdefs.h. */
14196 main ()
14198 asm("\t.globl _ac_test\n\t.type _ac_test,2\n_ac_test:\t.long 0");
14200 return 0;
14202 _ACEOF
14203 if ac_fn_c_try_link "$LINENO"; then :
14204 ac_cv_asm_func_def=".type 2"
14205 else
14206 ac_cv_asm_func_def="unknown"
14208 rm -f core conftest.err conftest.$ac_objext \
14209 conftest$ac_exeext conftest.$ac_ext
14211 rm -f core conftest.err conftest.$ac_objext \
14212 conftest$ac_exeext conftest.$ac_ext
14214 rm -f core conftest.err conftest.$ac_objext \
14215 conftest$ac_exeext conftest.$ac_ext
14217 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_asm_func_def" >&5
14218 $as_echo "$ac_cv_asm_func_def" >&6; }
14221 case "$ac_cv_asm_func_def" in
14222 ".def")
14223 $as_echo "#define __ASM_FUNC(name) \".def \" __ASM_NAME(name) \"; .scl 2; .type 32; .endef\"" >>confdefs.h
14225 asm_func_header=".def $asm_name_prefix\" #name suffix \"; .scl 2; .type 32; .endef" ;;
14226 ".type @function")
14227 $as_echo "#define __ASM_FUNC(name) \".type \" __ASM_NAME(name) \",@function\"" >>confdefs.h
14229 asm_func_header=".type $asm_name_prefix\" #name suffix \",@function" ;;
14230 ".type 2")
14231 $as_echo "#define __ASM_FUNC(name) \".type \" __ASM_NAME(name) \",2\"" >>confdefs.h
14233 asm_func_header=".type $asm_name_prefix\" #name suffix \",2" ;;
14235 $as_echo "#define __ASM_FUNC(name) \"\"" >>confdefs.h
14237 asm_func_header="" ;;
14238 esac
14240 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether asm() works outside of functions" >&5
14241 $as_echo_n "checking whether asm() works outside of functions... " >&6; }
14242 if ${ac_cv_c_asm_outside_funcs+:} false; then :
14243 $as_echo_n "(cached) " >&6
14244 else
14245 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14246 /* end confdefs.h. */
14247 asm(".text\n\t.long 0");
14249 main ()
14253 return 0;
14255 _ACEOF
14256 if ac_fn_c_try_compile "$LINENO"; then :
14257 ac_cv_c_asm_outside_funcs="yes"
14258 else
14259 ac_cv_c_asm_outside_funcs="no"
14261 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
14263 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_asm_outside_funcs" >&5
14264 $as_echo "$ac_cv_c_asm_outside_funcs" >&6; }
14266 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether .previous is supported in assembly code" >&5
14267 $as_echo_n "checking whether .previous is supported in assembly code... " >&6; }
14268 if ${ac_cv_c_dot_previous+:} false; then :
14269 $as_echo_n "(cached) " >&6
14270 else
14271 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14272 /* end confdefs.h. */
14275 main ()
14277 asm(".text\nac_test:\t.long 0\n\t.previous");
14279 return 0;
14281 _ACEOF
14282 if ac_fn_c_try_link "$LINENO"; then :
14283 ac_cv_c_dot_previous="yes"
14284 else
14285 ac_cv_c_dot_previous="no"
14287 rm -f core conftest.err conftest.$ac_objext \
14288 conftest$ac_exeext conftest.$ac_ext
14290 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_dot_previous" >&5
14291 $as_echo "$ac_cv_c_dot_previous" >&6; }
14293 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether CFI directives are supported in assembly code" >&5
14294 $as_echo_n "checking whether CFI directives are supported in assembly code... " >&6; }
14295 if ${ac_cv_c_cfi_support+:} false; then :
14296 $as_echo_n "(cached) " >&6
14297 else
14298 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14299 /* end confdefs.h. */
14300 asm(".text\nac_test:\t.cfi_startproc\n\t.long 0\n\t.cfi_endproc");
14302 main ()
14306 return 0;
14308 _ACEOF
14309 if ac_fn_c_try_compile "$LINENO"; then :
14310 ac_cv_c_cfi_support="yes"
14311 else
14312 ac_cv_c_cfi_support="no"
14314 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
14316 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_cfi_support" >&5
14317 $as_echo "$ac_cv_c_cfi_support" >&6; }
14319 asm_func_header=".globl $asm_name_prefix\" #name suffix \"\\n\\t$asm_func_header\\n$asm_name_prefix\" #name suffix \":\\n\\t"
14320 asm_func_trailer=""
14321 if test "$ac_cv_c_dot_previous" = "yes"
14322 then
14323 asm_func_trailer="\\n\\t.previous"
14325 if test "$ac_cv_c_cfi_support" = "yes"
14326 then
14327 asm_func_header="$asm_func_header.cfi_startproc\\n\\t"
14328 asm_func_trailer="\\n\\t.cfi_endproc$asm_func_trailer"
14330 $as_echo "#define __ASM_CFI(str) str" >>confdefs.h
14332 UNWINDFLAGS=-fasynchronous-unwind-tables
14334 else
14335 $as_echo "#define __ASM_CFI(str) \"\"" >>confdefs.h
14339 asm_func_code="$asm_func_header\" code \"$asm_func_trailer"
14342 if test "$ac_cv_c_asm_outside_funcs" = "yes"
14343 then
14344 cat >>confdefs.h <<_ACEOF
14345 #define __ASM_DEFINE_FUNC(name,suffix,code) asm(".text\n\t.align 4\n\t$asm_func_code");
14346 _ACEOF
14348 else
14349 cat >>confdefs.h <<_ACEOF
14350 #define __ASM_DEFINE_FUNC(name,suffix,code) void __asm_dummy_##name(void) { asm(".text\n\t.align 4\n\t$asm_func_code"); }
14351 _ACEOF
14355 $as_echo "#define __ASM_GLOBAL_FUNC(name,code) __ASM_DEFINE_FUNC(name,\"\",code)" >>confdefs.h
14358 $as_echo "#define __ASM_STDCALL_FUNC(name,args,code) __ASM_DEFINE_FUNC(name,__ASM_STDCALL(args),code)" >>confdefs.h
14362 case $build_os in
14363 cygwin*|mingw32*) TOOLSEXT=".exe"
14365 esac
14367 case $host_os in
14368 linux*)
14369 case $host_cpu in
14370 *i[3456789]86*|x86_64*)
14371 test "$wine_binary" = wine || wine_fn_ignore_file "loader/wine-preloader"
14372 loader_programs="$loader_programs $wine_binary-preloader"
14373 as_fn_append LOADER_RULES "
14374 $wine_binary-preloader: preloader.o
14375 \$(CC) -o \$@ -static -nostartfiles -nodefaultlibs -Wl,-Ttext=0x7c400000 preloader.o \$(LIBPORT) \$(LDFLAGS)
14377 install install-lib:: $wine_binary-preloader
14378 \$(INSTALL_PROGRAM) $wine_binary-preloader \$(DESTDIR)\$(bindir)/$wine_binary-preloader
14380 uninstall::
14381 \$(RM) \$(DESTDIR)\$(bindir)/$wine_binary-preloader
14383 preloader_EXTRADEFS = $BUILTINFLAG
14384 " ;;
14385 esac
14387 esac
14388 as_fn_append LOADER_RULES "
14389 PROGRAMS = $loader_programs
14393 ac_save_CFLAGS="$CFLAGS"
14394 CFLAGS="$CFLAGS $BUILTINFLAG"
14395 for ac_func in \
14396 __res_get_state \
14397 __res_getservers \
14398 _finite \
14399 _isnan \
14400 _pclose \
14401 _popen \
14402 _snprintf \
14403 _spawnvp \
14404 _strdup \
14405 _stricmp \
14406 _strnicmp \
14407 _strtoi64 \
14408 _strtoui64 \
14409 _vsnprintf \
14410 asctime_r \
14411 chsize \
14412 dlopen \
14413 epoll_create \
14414 ffs \
14415 fnmatch \
14416 fork \
14417 fpclass \
14418 fstatfs \
14419 fstatvfs \
14420 ftruncate \
14421 futimens \
14422 futimes \
14423 futimesat \
14424 getattrlist \
14425 getdirentries \
14426 getopt_long_only \
14427 getpwuid \
14428 gettimeofday \
14429 getuid \
14430 if_nameindex \
14431 kqueue \
14432 lstat \
14433 memmove \
14434 mmap \
14435 pclose \
14436 pipe2 \
14437 poll \
14438 popen \
14439 port_create \
14440 prctl \
14441 pread \
14442 proc_pidinfo \
14443 pwrite \
14444 readdir \
14445 readlink \
14446 sched_yield \
14447 select \
14448 setproctitle \
14449 setrlimit \
14450 settimeofday \
14451 sigaltstack \
14452 sigprocmask \
14453 snprintf \
14454 statfs \
14455 statvfs \
14456 strcasecmp \
14457 strdup \
14458 strerror \
14459 strncasecmp \
14460 strtold \
14461 strtoll \
14462 strtoull \
14463 symlink \
14464 tcdrain \
14465 thr_kill2 \
14466 timegm \
14467 usleep \
14468 vsnprintf
14470 do :
14471 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
14472 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
14473 if eval test \"x\$"$as_ac_var"\" = x"yes"; then :
14474 cat >>confdefs.h <<_ACEOF
14475 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
14476 _ACEOF
14479 done
14481 CFLAGS="$ac_save_CFLAGS"
14483 if test "$ac_cv_func_dlopen" = no
14484 then
14485 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dlopen in -ldl" >&5
14486 $as_echo_n "checking for dlopen in -ldl... " >&6; }
14487 if ${ac_cv_lib_dl_dlopen+:} false; then :
14488 $as_echo_n "(cached) " >&6
14489 else
14490 ac_check_lib_save_LIBS=$LIBS
14491 LIBS="-ldl $LIBS"
14492 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14493 /* end confdefs.h. */
14495 /* Override any GCC internal prototype to avoid an error.
14496 Use char because int might match the return type of a GCC
14497 builtin and then its argument prototype would still apply. */
14498 #ifdef __cplusplus
14499 extern "C"
14500 #endif
14501 char dlopen ();
14503 main ()
14505 return dlopen ();
14507 return 0;
14509 _ACEOF
14510 if ac_fn_c_try_link "$LINENO"; then :
14511 ac_cv_lib_dl_dlopen=yes
14512 else
14513 ac_cv_lib_dl_dlopen=no
14515 rm -f core conftest.err conftest.$ac_objext \
14516 conftest$ac_exeext conftest.$ac_ext
14517 LIBS=$ac_check_lib_save_LIBS
14519 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dl_dlopen" >&5
14520 $as_echo "$ac_cv_lib_dl_dlopen" >&6; }
14521 if test "x$ac_cv_lib_dl_dlopen" = xyes; then :
14522 $as_echo "#define HAVE_DLOPEN 1" >>confdefs.h
14523 DL_LIBS="-ldl"
14528 ac_wine_check_funcs_save_LIBS="$LIBS"
14529 LIBS="$LIBS $DL_LIBS"
14530 for ac_func in dladdr
14531 do :
14532 ac_fn_c_check_func "$LINENO" "dladdr" "ac_cv_func_dladdr"
14533 if test "x$ac_cv_func_dladdr" = xyes; then :
14534 cat >>confdefs.h <<_ACEOF
14535 #define HAVE_DLADDR 1
14536 _ACEOF
14539 done
14541 LIBS="$ac_wine_check_funcs_save_LIBS"
14543 if test "$ac_cv_func_poll" = no
14544 then
14545 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for poll in -lpoll" >&5
14546 $as_echo_n "checking for poll in -lpoll... " >&6; }
14547 if ${ac_cv_lib_poll_poll+:} false; then :
14548 $as_echo_n "(cached) " >&6
14549 else
14550 ac_check_lib_save_LIBS=$LIBS
14551 LIBS="-lpoll $LIBS"
14552 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14553 /* end confdefs.h. */
14555 /* Override any GCC internal prototype to avoid an error.
14556 Use char because int might match the return type of a GCC
14557 builtin and then its argument prototype would still apply. */
14558 #ifdef __cplusplus
14559 extern "C"
14560 #endif
14561 char poll ();
14563 main ()
14565 return poll ();
14567 return 0;
14569 _ACEOF
14570 if ac_fn_c_try_link "$LINENO"; then :
14571 ac_cv_lib_poll_poll=yes
14572 else
14573 ac_cv_lib_poll_poll=no
14575 rm -f core conftest.err conftest.$ac_objext \
14576 conftest$ac_exeext conftest.$ac_ext
14577 LIBS=$ac_check_lib_save_LIBS
14579 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_poll_poll" >&5
14580 $as_echo "$ac_cv_lib_poll_poll" >&6; }
14581 if test "x$ac_cv_lib_poll_poll" = xyes; then :
14582 $as_echo "#define HAVE_POLL 1" >>confdefs.h
14583 POLL_LIBS="-lpoll"
14589 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for library containing gethostbyname" >&5
14590 $as_echo_n "checking for library containing gethostbyname... " >&6; }
14591 if ${ac_cv_search_gethostbyname+:} false; then :
14592 $as_echo_n "(cached) " >&6
14593 else
14594 ac_func_search_save_LIBS=$LIBS
14595 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14596 /* end confdefs.h. */
14598 /* Override any GCC internal prototype to avoid an error.
14599 Use char because int might match the return type of a GCC
14600 builtin and then its argument prototype would still apply. */
14601 #ifdef __cplusplus
14602 extern "C"
14603 #endif
14604 char gethostbyname ();
14606 main ()
14608 return gethostbyname ();
14610 return 0;
14612 _ACEOF
14613 for ac_lib in '' nsl; do
14614 if test -z "$ac_lib"; then
14615 ac_res="none required"
14616 else
14617 ac_res=-l$ac_lib
14618 LIBS="-l$ac_lib $ac_func_search_save_LIBS"
14620 if ac_fn_c_try_link "$LINENO"; then :
14621 ac_cv_search_gethostbyname=$ac_res
14623 rm -f core conftest.err conftest.$ac_objext \
14624 conftest$ac_exeext
14625 if ${ac_cv_search_gethostbyname+:} false; then :
14626 break
14628 done
14629 if ${ac_cv_search_gethostbyname+:} false; then :
14631 else
14632 ac_cv_search_gethostbyname=no
14634 rm conftest.$ac_ext
14635 LIBS=$ac_func_search_save_LIBS
14637 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_search_gethostbyname" >&5
14638 $as_echo "$ac_cv_search_gethostbyname" >&6; }
14639 ac_res=$ac_cv_search_gethostbyname
14640 if test "$ac_res" != no; then :
14641 test "$ac_res" = "none required" || LIBS="$ac_res $LIBS"
14646 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for library containing connect" >&5
14647 $as_echo_n "checking for library containing connect... " >&6; }
14648 if ${ac_cv_search_connect+:} false; then :
14649 $as_echo_n "(cached) " >&6
14650 else
14651 ac_func_search_save_LIBS=$LIBS
14652 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14653 /* end confdefs.h. */
14655 /* Override any GCC internal prototype to avoid an error.
14656 Use char because int might match the return type of a GCC
14657 builtin and then its argument prototype would still apply. */
14658 #ifdef __cplusplus
14659 extern "C"
14660 #endif
14661 char connect ();
14663 main ()
14665 return connect ();
14667 return 0;
14669 _ACEOF
14670 for ac_lib in '' socket; do
14671 if test -z "$ac_lib"; then
14672 ac_res="none required"
14673 else
14674 ac_res=-l$ac_lib
14675 LIBS="-l$ac_lib $ac_func_search_save_LIBS"
14677 if ac_fn_c_try_link "$LINENO"; then :
14678 ac_cv_search_connect=$ac_res
14680 rm -f core conftest.err conftest.$ac_objext \
14681 conftest$ac_exeext
14682 if ${ac_cv_search_connect+:} false; then :
14683 break
14685 done
14686 if ${ac_cv_search_connect+:} false; then :
14688 else
14689 ac_cv_search_connect=no
14691 rm conftest.$ac_ext
14692 LIBS=$ac_func_search_save_LIBS
14694 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_search_connect" >&5
14695 $as_echo "$ac_cv_search_connect" >&6; }
14696 ac_res=$ac_cv_search_connect
14697 if test "$ac_res" != no; then :
14698 test "$ac_res" = "none required" || LIBS="$ac_res $LIBS"
14703 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for library containing inet_aton" >&5
14704 $as_echo_n "checking for library containing inet_aton... " >&6; }
14705 if ${ac_cv_search_inet_aton+:} false; then :
14706 $as_echo_n "(cached) " >&6
14707 else
14708 ac_func_search_save_LIBS=$LIBS
14709 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14710 /* end confdefs.h. */
14712 /* Override any GCC internal prototype to avoid an error.
14713 Use char because int might match the return type of a GCC
14714 builtin and then its argument prototype would still apply. */
14715 #ifdef __cplusplus
14716 extern "C"
14717 #endif
14718 char inet_aton ();
14720 main ()
14722 return inet_aton ();
14724 return 0;
14726 _ACEOF
14727 for ac_lib in '' resolv; do
14728 if test -z "$ac_lib"; then
14729 ac_res="none required"
14730 else
14731 ac_res=-l$ac_lib
14732 LIBS="-l$ac_lib $ac_func_search_save_LIBS"
14734 if ac_fn_c_try_link "$LINENO"; then :
14735 ac_cv_search_inet_aton=$ac_res
14737 rm -f core conftest.err conftest.$ac_objext \
14738 conftest$ac_exeext
14739 if ${ac_cv_search_inet_aton+:} false; then :
14740 break
14742 done
14743 if ${ac_cv_search_inet_aton+:} false; then :
14745 else
14746 ac_cv_search_inet_aton=no
14748 rm conftest.$ac_ext
14749 LIBS=$ac_func_search_save_LIBS
14751 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_search_inet_aton" >&5
14752 $as_echo "$ac_cv_search_inet_aton" >&6; }
14753 ac_res=$ac_cv_search_inet_aton
14754 if test "$ac_res" != no; then :
14755 test "$ac_res" = "none required" || LIBS="$ac_res $LIBS"
14760 for ac_func in \
14761 getaddrinfo \
14762 getnameinfo \
14763 getnetbyname \
14764 getprotobyname \
14765 getprotobynumber \
14766 getservbyport \
14767 inet_addr \
14768 inet_network \
14769 inet_ntop \
14770 inet_pton \
14771 sendmsg \
14772 socketpair \
14774 do :
14775 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
14776 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
14777 if eval test \"x\$"$as_ac_var"\" = x"yes"; then :
14778 cat >>confdefs.h <<_ACEOF
14779 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
14780 _ACEOF
14783 done
14786 ac_save_LIBS=$LIBS
14787 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for library containing clock_gettime" >&5
14788 $as_echo_n "checking for library containing clock_gettime... " >&6; }
14789 if ${ac_cv_search_clock_gettime+:} false; then :
14790 $as_echo_n "(cached) " >&6
14791 else
14792 ac_func_search_save_LIBS=$LIBS
14793 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14794 /* end confdefs.h. */
14796 /* Override any GCC internal prototype to avoid an error.
14797 Use char because int might match the return type of a GCC
14798 builtin and then its argument prototype would still apply. */
14799 #ifdef __cplusplus
14800 extern "C"
14801 #endif
14802 char clock_gettime ();
14804 main ()
14806 return clock_gettime ();
14808 return 0;
14810 _ACEOF
14811 for ac_lib in '' rt; do
14812 if test -z "$ac_lib"; then
14813 ac_res="none required"
14814 else
14815 ac_res=-l$ac_lib
14816 LIBS="-l$ac_lib $ac_func_search_save_LIBS"
14818 if ac_fn_c_try_link "$LINENO"; then :
14819 ac_cv_search_clock_gettime=$ac_res
14821 rm -f core conftest.err conftest.$ac_objext \
14822 conftest$ac_exeext
14823 if ${ac_cv_search_clock_gettime+:} false; then :
14824 break
14826 done
14827 if ${ac_cv_search_clock_gettime+:} false; then :
14829 else
14830 ac_cv_search_clock_gettime=no
14832 rm conftest.$ac_ext
14833 LIBS=$ac_func_search_save_LIBS
14835 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_search_clock_gettime" >&5
14836 $as_echo "$ac_cv_search_clock_gettime" >&6; }
14837 ac_res=$ac_cv_search_clock_gettime
14838 if test "$ac_res" != no; then :
14839 test "$ac_res" = "none required" || LIBS="$ac_res $LIBS"
14841 $as_echo "#define HAVE_CLOCK_GETTIME 1" >>confdefs.h
14843 test "$ac_res" = "none required" || RT_LIBS="$ac_res"
14847 LIBS=$ac_save_LIBS
14849 LDAP_LIBS=""
14851 if test "$ac_cv_header_ldap_h" = "yes" -a "$ac_cv_header_lber_h" = "yes"
14852 then
14853 ac_fn_c_check_type "$LINENO" "LDAPSortKey" "ac_cv_type_LDAPSortKey" "#include <ldap.h>
14855 if test "x$ac_cv_type_LDAPSortKey" = xyes; then :
14856 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ldap_initialize in -lldap_r" >&5
14857 $as_echo_n "checking for ldap_initialize in -lldap_r... " >&6; }
14858 if ${ac_cv_lib_ldap_r_ldap_initialize+:} false; then :
14859 $as_echo_n "(cached) " >&6
14860 else
14861 ac_check_lib_save_LIBS=$LIBS
14862 LIBS="-lldap_r $PTHREAD_LIBS $LIBS"
14863 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14864 /* end confdefs.h. */
14866 /* Override any GCC internal prototype to avoid an error.
14867 Use char because int might match the return type of a GCC
14868 builtin and then its argument prototype would still apply. */
14869 #ifdef __cplusplus
14870 extern "C"
14871 #endif
14872 char ldap_initialize ();
14874 main ()
14876 return ldap_initialize ();
14878 return 0;
14880 _ACEOF
14881 if ac_fn_c_try_link "$LINENO"; then :
14882 ac_cv_lib_ldap_r_ldap_initialize=yes
14883 else
14884 ac_cv_lib_ldap_r_ldap_initialize=no
14886 rm -f core conftest.err conftest.$ac_objext \
14887 conftest$ac_exeext conftest.$ac_ext
14888 LIBS=$ac_check_lib_save_LIBS
14890 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_ldap_r_ldap_initialize" >&5
14891 $as_echo "$ac_cv_lib_ldap_r_ldap_initialize" >&6; }
14892 if test "x$ac_cv_lib_ldap_r_ldap_initialize" = xyes; then :
14893 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ber_init in -llber" >&5
14894 $as_echo_n "checking for ber_init in -llber... " >&6; }
14895 if ${ac_cv_lib_lber_ber_init+:} false; then :
14896 $as_echo_n "(cached) " >&6
14897 else
14898 ac_check_lib_save_LIBS=$LIBS
14899 LIBS="-llber $PTHREAD_LIBS $LIBS"
14900 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14901 /* end confdefs.h. */
14903 /* Override any GCC internal prototype to avoid an error.
14904 Use char because int might match the return type of a GCC
14905 builtin and then its argument prototype would still apply. */
14906 #ifdef __cplusplus
14907 extern "C"
14908 #endif
14909 char ber_init ();
14911 main ()
14913 return ber_init ();
14915 return 0;
14917 _ACEOF
14918 if ac_fn_c_try_link "$LINENO"; then :
14919 ac_cv_lib_lber_ber_init=yes
14920 else
14921 ac_cv_lib_lber_ber_init=no
14923 rm -f core conftest.err conftest.$ac_objext \
14924 conftest$ac_exeext conftest.$ac_ext
14925 LIBS=$ac_check_lib_save_LIBS
14927 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_lber_ber_init" >&5
14928 $as_echo "$ac_cv_lib_lber_ber_init" >&6; }
14929 if test "x$ac_cv_lib_lber_ber_init" = xyes; then :
14931 $as_echo "#define HAVE_LDAP 1" >>confdefs.h
14933 LDAP_LIBS="-lldap_r -llber"
14940 ac_wine_check_funcs_save_LIBS="$LIBS"
14941 LIBS="$LIBS $LDAP_LIBS $PTHREAD_LIBS"
14942 for ac_func in \
14943 ldap_count_references \
14944 ldap_first_reference \
14945 ldap_next_reference \
14946 ldap_parse_reference \
14947 ldap_parse_sort_control \
14948 ldap_parse_sortresponse_control \
14949 ldap_parse_vlv_control \
14950 ldap_parse_vlvresponse_control
14951 do :
14952 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
14953 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
14954 if eval test \"x\$"$as_ac_var"\" = x"yes"; then :
14955 cat >>confdefs.h <<_ACEOF
14956 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
14957 _ACEOF
14960 done
14962 LIBS="$ac_wine_check_funcs_save_LIBS"
14964 if test "x$LDAP_LIBS" = "x"; then :
14965 case "x$with_ldap" in
14966 x) as_fn_append wine_notices "|libldap (OpenLDAP) ${notice_platform}development files not found, LDAP won't be supported." ;;
14967 xno) ;;
14968 *) as_fn_error $? "libldap (OpenLDAP) ${notice_platform}development files not found, LDAP won't be supported.
14969 This is an error since --with-ldap was requested." "$LINENO" 5 ;;
14970 esac
14973 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether mkdir takes only one argument" >&5
14974 $as_echo_n "checking whether mkdir takes only one argument... " >&6; }
14975 if ${wine_cv_one_arg_mkdir+:} false; then :
14976 $as_echo_n "(cached) " >&6
14977 else
14978 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14979 /* end confdefs.h. */
14980 #include <sys/stat.h>
14982 main ()
14984 mkdir("foo");
14986 return 0;
14988 _ACEOF
14989 if ac_fn_c_try_compile "$LINENO"; then :
14990 wine_cv_one_arg_mkdir=yes
14991 else
14992 wine_cv_one_arg_mkdir=no
14994 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
14996 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $wine_cv_one_arg_mkdir" >&5
14997 $as_echo "$wine_cv_one_arg_mkdir" >&6; }
14998 if test "$wine_cv_one_arg_mkdir" = "yes"
14999 then
15001 $as_echo "#define HAVE_ONE_ARG_MKDIR 1" >>confdefs.h
15005 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sched_setaffinity" >&5
15006 $as_echo_n "checking for sched_setaffinity... " >&6; }
15007 if ${wine_cv_have_sched_setaffinity+:} false; then :
15008 $as_echo_n "(cached) " >&6
15009 else
15010 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15011 /* end confdefs.h. */
15012 #define _GNU_SOURCE
15013 #include <sched.h>
15015 main ()
15017 sched_setaffinity(0, 0, 0);
15019 return 0;
15021 _ACEOF
15022 if ac_fn_c_try_link "$LINENO"; then :
15023 wine_cv_have_sched_setaffinity=yes
15024 else
15025 wine_cv_have_sched_setaffinity=no
15027 rm -f core conftest.err conftest.$ac_objext \
15028 conftest$ac_exeext conftest.$ac_ext
15030 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $wine_cv_have_sched_setaffinity" >&5
15031 $as_echo "$wine_cv_have_sched_setaffinity" >&6; }
15032 if test "$wine_cv_have_sched_setaffinity" = "yes"
15033 then
15035 $as_echo "#define HAVE_SCHED_SETAFFINITY 1" >>confdefs.h
15039 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for fallocate" >&5
15040 $as_echo_n "checking for fallocate... " >&6; }
15041 if ${wine_cv_have_fallocate+:} false; then :
15042 $as_echo_n "(cached) " >&6
15043 else
15044 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15045 /* end confdefs.h. */
15046 #define _GNU_SOURCE
15047 #include <fcntl.h>
15049 main ()
15051 fallocate(-1, 0, 0, 0);
15053 return 0;
15055 _ACEOF
15056 if ac_fn_c_try_link "$LINENO"; then :
15057 wine_cv_have_fallocate=yes
15058 else
15059 wine_cv_have_fallocate=no
15061 rm -f core conftest.err conftest.$ac_objext \
15062 conftest$ac_exeext conftest.$ac_ext
15064 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $wine_cv_have_fallocate" >&5
15065 $as_echo "$wine_cv_have_fallocate" >&6; }
15066 if test "$wine_cv_have_fallocate" = "yes"
15067 then
15069 $as_echo "#define HAVE_FALLOCATE 1" >>confdefs.h
15074 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for inline" >&5
15075 $as_echo_n "checking for inline... " >&6; }
15076 if ${ac_cv_c_inline+:} false; then :
15077 $as_echo_n "(cached) " >&6
15078 else
15079 ac_cv_c_inline=no
15080 for ac_kw in inline __inline__ __inline; do
15081 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15082 /* end confdefs.h. */
15083 #ifndef __cplusplus
15084 typedef int foo_t;
15085 static $ac_kw foo_t static_foo () {return 0; }
15086 $ac_kw foo_t foo () {return 0; }
15087 #endif
15089 _ACEOF
15090 if ac_fn_c_try_compile "$LINENO"; then :
15091 ac_cv_c_inline=$ac_kw
15093 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
15094 test "$ac_cv_c_inline" != no && break
15095 done
15098 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_inline" >&5
15099 $as_echo "$ac_cv_c_inline" >&6; }
15101 case $ac_cv_c_inline in
15102 inline | yes) ;;
15104 case $ac_cv_c_inline in
15105 no) ac_val=;;
15106 *) ac_val=$ac_cv_c_inline;;
15107 esac
15108 cat >>confdefs.h <<_ACEOF
15109 #ifndef __cplusplus
15110 #define inline $ac_val
15111 #endif
15112 _ACEOF
15114 esac
15116 ac_fn_c_check_type "$LINENO" "mode_t" "ac_cv_type_mode_t" "$ac_includes_default"
15117 if test "x$ac_cv_type_mode_t" = xyes; then :
15119 cat >>confdefs.h <<_ACEOF
15120 #define HAVE_MODE_T 1
15121 _ACEOF
15125 ac_fn_c_check_type "$LINENO" "off_t" "ac_cv_type_off_t" "$ac_includes_default"
15126 if test "x$ac_cv_type_off_t" = xyes; then :
15128 cat >>confdefs.h <<_ACEOF
15129 #define HAVE_OFF_T 1
15130 _ACEOF
15134 ac_fn_c_check_type "$LINENO" "pid_t" "ac_cv_type_pid_t" "$ac_includes_default"
15135 if test "x$ac_cv_type_pid_t" = xyes; then :
15137 cat >>confdefs.h <<_ACEOF
15138 #define HAVE_PID_T 1
15139 _ACEOF
15143 ac_fn_c_check_type "$LINENO" "size_t" "ac_cv_type_size_t" "$ac_includes_default"
15144 if test "x$ac_cv_type_size_t" = xyes; then :
15146 cat >>confdefs.h <<_ACEOF
15147 #define HAVE_SIZE_T 1
15148 _ACEOF
15152 ac_fn_c_check_type "$LINENO" "ssize_t" "ac_cv_type_ssize_t" "$ac_includes_default"
15153 if test "x$ac_cv_type_ssize_t" = xyes; then :
15155 cat >>confdefs.h <<_ACEOF
15156 #define HAVE_SSIZE_T 1
15157 _ACEOF
15161 ac_fn_c_check_type "$LINENO" "long long" "ac_cv_type_long_long" "$ac_includes_default"
15162 if test "x$ac_cv_type_long_long" = xyes; then :
15164 cat >>confdefs.h <<_ACEOF
15165 #define HAVE_LONG_LONG 1
15166 _ACEOF
15170 ac_fn_c_check_type "$LINENO" "fsblkcnt_t" "ac_cv_type_fsblkcnt_t" "$ac_includes_default"
15171 if test "x$ac_cv_type_fsblkcnt_t" = xyes; then :
15173 cat >>confdefs.h <<_ACEOF
15174 #define HAVE_FSBLKCNT_T 1
15175 _ACEOF
15179 ac_fn_c_check_type "$LINENO" "fsfilcnt_t" "ac_cv_type_fsfilcnt_t" "$ac_includes_default"
15180 if test "x$ac_cv_type_fsfilcnt_t" = xyes; then :
15182 cat >>confdefs.h <<_ACEOF
15183 #define HAVE_FSFILCNT_T 1
15184 _ACEOF
15189 ac_fn_c_check_type "$LINENO" "sigset_t" "ac_cv_type_sigset_t" "#include <sys/types.h>
15190 #include <signal.h>
15192 if test "x$ac_cv_type_sigset_t" = xyes; then :
15194 cat >>confdefs.h <<_ACEOF
15195 #define HAVE_SIGSET_T 1
15196 _ACEOF
15201 ac_fn_c_check_type "$LINENO" "request_sense" "ac_cv_type_request_sense" "#include <linux/cdrom.h>
15203 if test "x$ac_cv_type_request_sense" = xyes; then :
15205 cat >>confdefs.h <<_ACEOF
15206 #define HAVE_REQUEST_SENSE 1
15207 _ACEOF
15213 ac_fn_c_check_type "$LINENO" "struct xinpgen" "ac_cv_type_struct_xinpgen" "#include <sys/types.h>
15214 #ifdef HAVE_SYS_SOCKET_H
15215 #include <sys/socket.h>
15216 #endif
15217 #ifdef HAVE_SYS_SOCKETVAR_H
15218 #include <sys/socketvar.h>
15219 #endif
15220 #ifdef HAVE_NET_ROUTE_H
15221 #include <net/route.h>
15222 #endif
15223 #ifdef HAVE_NETINET_IN_H
15224 #include <netinet/in.h>
15225 #endif
15226 #ifdef HAVE_NETINET_IN_SYSTM_H
15227 #include <netinet/in_systm.h>
15228 #endif
15229 #ifdef HAVE_NETINET_IP_H
15230 #include <netinet/ip.h>
15231 #endif
15232 #ifdef HAVE_NETINET_IN_PCB_H
15233 #include <netinet/in_pcb.h>
15234 #endif
15236 if test "x$ac_cv_type_struct_xinpgen" = xyes; then :
15238 cat >>confdefs.h <<_ACEOF
15239 #define HAVE_STRUCT_XINPGEN 1
15240 _ACEOF
15246 ac_fn_c_check_type "$LINENO" "struct r_debug" "ac_cv_type_struct_r_debug" "#ifdef HAVE_LINK_H
15247 #include <link.h>
15248 #endif
15249 #ifdef HAVE_SYS_LINK_H
15250 #include <sys/link.h>
15251 #endif
15253 if test "x$ac_cv_type_struct_r_debug" = xyes; then :
15255 cat >>confdefs.h <<_ACEOF
15256 #define HAVE_STRUCT_R_DEBUG 1
15257 _ACEOF
15261 ac_fn_c_check_type "$LINENO" "struct link_map" "ac_cv_type_struct_link_map" "#ifdef HAVE_LINK_H
15262 #include <link.h>
15263 #endif
15264 #ifdef HAVE_SYS_LINK_H
15265 #include <sys/link.h>
15266 #endif
15268 if test "x$ac_cv_type_struct_link_map" = xyes; then :
15270 cat >>confdefs.h <<_ACEOF
15271 #define HAVE_STRUCT_LINK_MAP 1
15272 _ACEOF
15278 ac_fn_c_check_member "$LINENO" "struct ff_effect" "direction" "ac_cv_member_struct_ff_effect_direction" "#ifdef HAVE_LINUX_INPUT_H
15279 #include <linux/input.h>
15280 #endif
15282 if test "x$ac_cv_member_struct_ff_effect_direction" = xyes; then :
15284 cat >>confdefs.h <<_ACEOF
15285 #define HAVE_STRUCT_FF_EFFECT_DIRECTION 1
15286 _ACEOF
15292 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sigaddset" >&5
15293 $as_echo_n "checking for sigaddset... " >&6; }
15294 if ${wine_cv_have_sigaddset+:} false; then :
15295 $as_echo_n "(cached) " >&6
15296 else
15297 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15298 /* end confdefs.h. */
15299 #include <signal.h>
15301 main ()
15303 sigset_t set; sigaddset(&set,SIGTERM);
15305 return 0;
15307 _ACEOF
15308 if ac_fn_c_try_link "$LINENO"; then :
15309 wine_cv_have_sigaddset=yes
15310 else
15311 wine_cv_have_sigaddset=no
15313 rm -f core conftest.err conftest.$ac_objext \
15314 conftest$ac_exeext conftest.$ac_ext
15316 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $wine_cv_have_sigaddset" >&5
15317 $as_echo "$wine_cv_have_sigaddset" >&6; }
15318 if test "$wine_cv_have_sigaddset" = "yes"
15319 then
15321 $as_echo "#define HAVE_SIGADDSET 1" >>confdefs.h
15326 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we can use re-entrant gethostbyname_r Linux style" >&5
15327 $as_echo_n "checking whether we can use re-entrant gethostbyname_r Linux style... " >&6; }
15328 if ${wine_cv_linux_gethostbyname_r_6+:} false; then :
15329 $as_echo_n "(cached) " >&6
15330 else
15331 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15332 /* end confdefs.h. */
15333 #include <netdb.h>
15335 main ()
15338 char *name=0;
15339 struct hostent he;
15340 struct hostent *result;
15341 char *buf=0;
15342 int bufsize=0;
15343 int errnr;
15344 char *addr=0;
15345 int addrlen=0;
15346 int addrtype=0;
15347 gethostbyname_r(name,&he,buf,bufsize,&result,&errnr);
15348 gethostbyaddr_r(addr, addrlen, addrtype,&he,buf,bufsize,&result,&errnr);
15351 return 0;
15353 _ACEOF
15354 if ac_fn_c_try_link "$LINENO"; then :
15355 wine_cv_linux_gethostbyname_r_6=yes
15356 else
15357 wine_cv_linux_gethostbyname_r_6=no
15360 rm -f core conftest.err conftest.$ac_objext \
15361 conftest$ac_exeext conftest.$ac_ext
15364 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $wine_cv_linux_gethostbyname_r_6" >&5
15365 $as_echo "$wine_cv_linux_gethostbyname_r_6" >&6; }
15366 if test "$wine_cv_linux_gethostbyname_r_6" = "yes"
15367 then
15369 $as_echo "#define HAVE_LINUX_GETHOSTBYNAME_R_6 1" >>confdefs.h
15373 if test "$ac_cv_header_linux_joystick_h" = "yes"
15374 then
15375 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether linux/joystick.h uses the Linux 2.2+ API" >&5
15376 $as_echo_n "checking whether linux/joystick.h uses the Linux 2.2+ API... " >&6; }
15377 if ${wine_cv_linux_joystick_22_api+:} false; then :
15378 $as_echo_n "(cached) " >&6
15379 else
15380 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15381 /* end confdefs.h. */
15383 #include <sys/ioctl.h>
15384 #include <sys/types.h>
15385 #include <linux/joystick.h>
15387 struct js_event blub;
15388 #if !defined(JS_EVENT_AXIS) || !defined(JS_EVENT_BUTTON)
15389 #error "no 2.2 header"
15390 #endif
15393 main ()
15395 /*empty*/
15397 return 0;
15399 _ACEOF
15400 if ac_fn_c_try_compile "$LINENO"; then :
15401 wine_cv_linux_joystick_22_api=yes
15402 else
15403 wine_cv_linux_joystick_22_api=no
15405 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
15408 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $wine_cv_linux_joystick_22_api" >&5
15409 $as_echo "$wine_cv_linux_joystick_22_api" >&6; }
15410 if test "$wine_cv_linux_joystick_22_api" = "yes"
15411 then
15413 $as_echo "#define HAVE_LINUX_22_JOYSTICK_API 1" >>confdefs.h
15419 ac_fn_c_check_member "$LINENO" "struct statfs" "f_bfree" "ac_cv_member_struct_statfs_f_bfree" "#include <sys/types.h>
15420 #ifdef HAVE_SYS_PARAM_H
15421 # include <sys/param.h>
15422 #endif
15423 #ifdef HAVE_SYS_MOUNT_H
15424 # include <sys/mount.h>
15425 #endif
15426 #ifdef HAVE_SYS_VFS_H
15427 # include <sys/vfs.h>
15428 #endif
15429 #ifdef HAVE_SYS_STATFS_H
15430 # include <sys/statfs.h>
15431 #endif
15433 if test "x$ac_cv_member_struct_statfs_f_bfree" = xyes; then :
15435 cat >>confdefs.h <<_ACEOF
15436 #define HAVE_STRUCT_STATFS_F_BFREE 1
15437 _ACEOF
15441 ac_fn_c_check_member "$LINENO" "struct statfs" "f_bavail" "ac_cv_member_struct_statfs_f_bavail" "#include <sys/types.h>
15442 #ifdef HAVE_SYS_PARAM_H
15443 # include <sys/param.h>
15444 #endif
15445 #ifdef HAVE_SYS_MOUNT_H
15446 # include <sys/mount.h>
15447 #endif
15448 #ifdef HAVE_SYS_VFS_H
15449 # include <sys/vfs.h>
15450 #endif
15451 #ifdef HAVE_SYS_STATFS_H
15452 # include <sys/statfs.h>
15453 #endif
15455 if test "x$ac_cv_member_struct_statfs_f_bavail" = xyes; then :
15457 cat >>confdefs.h <<_ACEOF
15458 #define HAVE_STRUCT_STATFS_F_BAVAIL 1
15459 _ACEOF
15463 ac_fn_c_check_member "$LINENO" "struct statfs" "f_frsize" "ac_cv_member_struct_statfs_f_frsize" "#include <sys/types.h>
15464 #ifdef HAVE_SYS_PARAM_H
15465 # include <sys/param.h>
15466 #endif
15467 #ifdef HAVE_SYS_MOUNT_H
15468 # include <sys/mount.h>
15469 #endif
15470 #ifdef HAVE_SYS_VFS_H
15471 # include <sys/vfs.h>
15472 #endif
15473 #ifdef HAVE_SYS_STATFS_H
15474 # include <sys/statfs.h>
15475 #endif
15477 if test "x$ac_cv_member_struct_statfs_f_frsize" = xyes; then :
15479 cat >>confdefs.h <<_ACEOF
15480 #define HAVE_STRUCT_STATFS_F_FRSIZE 1
15481 _ACEOF
15485 ac_fn_c_check_member "$LINENO" "struct statfs" "f_ffree" "ac_cv_member_struct_statfs_f_ffree" "#include <sys/types.h>
15486 #ifdef HAVE_SYS_PARAM_H
15487 # include <sys/param.h>
15488 #endif
15489 #ifdef HAVE_SYS_MOUNT_H
15490 # include <sys/mount.h>
15491 #endif
15492 #ifdef HAVE_SYS_VFS_H
15493 # include <sys/vfs.h>
15494 #endif
15495 #ifdef HAVE_SYS_STATFS_H
15496 # include <sys/statfs.h>
15497 #endif
15499 if test "x$ac_cv_member_struct_statfs_f_ffree" = xyes; then :
15501 cat >>confdefs.h <<_ACEOF
15502 #define HAVE_STRUCT_STATFS_F_FFREE 1
15503 _ACEOF
15507 ac_fn_c_check_member "$LINENO" "struct statfs" "f_favail" "ac_cv_member_struct_statfs_f_favail" "#include <sys/types.h>
15508 #ifdef HAVE_SYS_PARAM_H
15509 # include <sys/param.h>
15510 #endif
15511 #ifdef HAVE_SYS_MOUNT_H
15512 # include <sys/mount.h>
15513 #endif
15514 #ifdef HAVE_SYS_VFS_H
15515 # include <sys/vfs.h>
15516 #endif
15517 #ifdef HAVE_SYS_STATFS_H
15518 # include <sys/statfs.h>
15519 #endif
15521 if test "x$ac_cv_member_struct_statfs_f_favail" = xyes; then :
15523 cat >>confdefs.h <<_ACEOF
15524 #define HAVE_STRUCT_STATFS_F_FAVAIL 1
15525 _ACEOF
15529 ac_fn_c_check_member "$LINENO" "struct statfs" "f_namelen" "ac_cv_member_struct_statfs_f_namelen" "#include <sys/types.h>
15530 #ifdef HAVE_SYS_PARAM_H
15531 # include <sys/param.h>
15532 #endif
15533 #ifdef HAVE_SYS_MOUNT_H
15534 # include <sys/mount.h>
15535 #endif
15536 #ifdef HAVE_SYS_VFS_H
15537 # include <sys/vfs.h>
15538 #endif
15539 #ifdef HAVE_SYS_STATFS_H
15540 # include <sys/statfs.h>
15541 #endif
15543 if test "x$ac_cv_member_struct_statfs_f_namelen" = xyes; then :
15545 cat >>confdefs.h <<_ACEOF
15546 #define HAVE_STRUCT_STATFS_F_NAMELEN 1
15547 _ACEOF
15553 ac_fn_c_check_member "$LINENO" "struct statvfs" "f_blocks" "ac_cv_member_struct_statvfs_f_blocks" "#ifdef HAVE_SYS_STATVFS_H
15554 #include <sys/statvfs.h>
15555 #endif
15557 if test "x$ac_cv_member_struct_statvfs_f_blocks" = xyes; then :
15559 cat >>confdefs.h <<_ACEOF
15560 #define HAVE_STRUCT_STATVFS_F_BLOCKS 1
15561 _ACEOF
15567 ac_fn_c_check_member "$LINENO" "struct dirent" "d_reclen" "ac_cv_member_struct_dirent_d_reclen" "#ifdef HAVE_DIRENT_H
15568 #include <dirent.h>
15569 #endif
15571 if test "x$ac_cv_member_struct_dirent_d_reclen" = xyes; then :
15573 cat >>confdefs.h <<_ACEOF
15574 #define HAVE_STRUCT_DIRENT_D_RECLEN 1
15575 _ACEOF
15581 ac_fn_c_check_member "$LINENO" "struct msghdr" "msg_accrights" "ac_cv_member_struct_msghdr_msg_accrights" "#include <sys/types.h>
15582 #ifdef HAVE_SYS_SOCKET_H
15583 # include <sys/socket.h>
15584 #endif
15585 #ifdef HAVE_SYS_UN_H
15586 # include <sys/un.h>
15587 #endif
15589 if test "x$ac_cv_member_struct_msghdr_msg_accrights" = xyes; then :
15591 cat >>confdefs.h <<_ACEOF
15592 #define HAVE_STRUCT_MSGHDR_MSG_ACCRIGHTS 1
15593 _ACEOF
15597 ac_fn_c_check_member "$LINENO" "struct sockaddr" "sa_len" "ac_cv_member_struct_sockaddr_sa_len" "#include <sys/types.h>
15598 #ifdef HAVE_SYS_SOCKET_H
15599 # include <sys/socket.h>
15600 #endif
15601 #ifdef HAVE_SYS_UN_H
15602 # include <sys/un.h>
15603 #endif
15605 if test "x$ac_cv_member_struct_sockaddr_sa_len" = xyes; then :
15607 cat >>confdefs.h <<_ACEOF
15608 #define HAVE_STRUCT_SOCKADDR_SA_LEN 1
15609 _ACEOF
15613 ac_fn_c_check_member "$LINENO" "struct sockaddr_un" "sun_len" "ac_cv_member_struct_sockaddr_un_sun_len" "#include <sys/types.h>
15614 #ifdef HAVE_SYS_SOCKET_H
15615 # include <sys/socket.h>
15616 #endif
15617 #ifdef HAVE_SYS_UN_H
15618 # include <sys/un.h>
15619 #endif
15621 if test "x$ac_cv_member_struct_sockaddr_un_sun_len" = xyes; then :
15623 cat >>confdefs.h <<_ACEOF
15624 #define HAVE_STRUCT_SOCKADDR_UN_SUN_LEN 1
15625 _ACEOF
15631 ac_fn_c_check_member "$LINENO" "scsireq_t" "cmd" "ac_cv_member_scsireq_t_cmd" "#include <sys/types.h>
15632 #ifdef HAVE_SCSI_SG_H
15633 #include <scsi/sg.h>
15634 #endif
15636 if test "x$ac_cv_member_scsireq_t_cmd" = xyes; then :
15638 cat >>confdefs.h <<_ACEOF
15639 #define HAVE_SCSIREQ_T_CMD 1
15640 _ACEOF
15644 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>
15645 #ifdef HAVE_SCSI_SG_H
15646 #include <scsi/sg.h>
15647 #endif
15649 if test "x$ac_cv_member_sg_io_hdr_t_interface_id" = xyes; then :
15651 cat >>confdefs.h <<_ACEOF
15652 #define HAVE_SG_IO_HDR_T_INTERFACE_ID 1
15653 _ACEOF
15659 ac_fn_c_check_member "$LINENO" "siginfo_t" "si_fd" "ac_cv_member_siginfo_t_si_fd" "#include <signal.h>
15661 if test "x$ac_cv_member_siginfo_t_si_fd" = xyes; then :
15663 cat >>confdefs.h <<_ACEOF
15664 #define HAVE_SIGINFO_T_SI_FD 1
15665 _ACEOF
15671 ac_fn_c_check_member "$LINENO" "struct mtget" "mt_blksiz" "ac_cv_member_struct_mtget_mt_blksiz" "#include <sys/types.h>
15672 #ifdef HAVE_SYS_MTIO_H
15673 #include <sys/mtio.h>
15674 #endif
15676 if test "x$ac_cv_member_struct_mtget_mt_blksiz" = xyes; then :
15678 cat >>confdefs.h <<_ACEOF
15679 #define HAVE_STRUCT_MTGET_MT_BLKSIZ 1
15680 _ACEOF
15684 ac_fn_c_check_member "$LINENO" "struct mtget" "mt_gstat" "ac_cv_member_struct_mtget_mt_gstat" "#include <sys/types.h>
15685 #ifdef HAVE_SYS_MTIO_H
15686 #include <sys/mtio.h>
15687 #endif
15689 if test "x$ac_cv_member_struct_mtget_mt_gstat" = xyes; then :
15691 cat >>confdefs.h <<_ACEOF
15692 #define HAVE_STRUCT_MTGET_MT_GSTAT 1
15693 _ACEOF
15697 ac_fn_c_check_member "$LINENO" "struct mtget" "mt_blkno" "ac_cv_member_struct_mtget_mt_blkno" "#include <sys/types.h>
15698 #ifdef HAVE_SYS_MTIO_H
15699 #include <sys/mtio.h>
15700 #endif
15702 if test "x$ac_cv_member_struct_mtget_mt_blkno" = xyes; then :
15704 cat >>confdefs.h <<_ACEOF
15705 #define HAVE_STRUCT_MTGET_MT_BLKNO 1
15706 _ACEOF
15712 ac_fn_c_check_member "$LINENO" "struct option" "name" "ac_cv_member_struct_option_name" "#ifdef HAVE_GETOPT_H
15713 #include <getopt.h>
15714 #endif
15716 if test "x$ac_cv_member_struct_option_name" = xyes; then :
15718 cat >>confdefs.h <<_ACEOF
15719 #define HAVE_STRUCT_OPTION_NAME 1
15720 _ACEOF
15726 ac_fn_c_check_member "$LINENO" "struct stat" "st_blocks" "ac_cv_member_struct_stat_st_blocks" "$ac_includes_default"
15727 if test "x$ac_cv_member_struct_stat_st_blocks" = xyes; then :
15729 cat >>confdefs.h <<_ACEOF
15730 #define HAVE_STRUCT_STAT_ST_BLOCKS 1
15731 _ACEOF
15735 ac_fn_c_check_member "$LINENO" "struct stat" "st_mtim" "ac_cv_member_struct_stat_st_mtim" "$ac_includes_default"
15736 if test "x$ac_cv_member_struct_stat_st_mtim" = xyes; then :
15738 cat >>confdefs.h <<_ACEOF
15739 #define HAVE_STRUCT_STAT_ST_MTIM 1
15740 _ACEOF
15744 ac_fn_c_check_member "$LINENO" "struct stat" "st_mtimespec" "ac_cv_member_struct_stat_st_mtimespec" "$ac_includes_default"
15745 if test "x$ac_cv_member_struct_stat_st_mtimespec" = xyes; then :
15747 cat >>confdefs.h <<_ACEOF
15748 #define HAVE_STRUCT_STAT_ST_MTIMESPEC 1
15749 _ACEOF
15753 ac_fn_c_check_member "$LINENO" "struct stat" "st_ctim" "ac_cv_member_struct_stat_st_ctim" "$ac_includes_default"
15754 if test "x$ac_cv_member_struct_stat_st_ctim" = xyes; then :
15756 cat >>confdefs.h <<_ACEOF
15757 #define HAVE_STRUCT_STAT_ST_CTIM 1
15758 _ACEOF
15762 ac_fn_c_check_member "$LINENO" "struct stat" "st_ctimespec" "ac_cv_member_struct_stat_st_ctimespec" "$ac_includes_default"
15763 if test "x$ac_cv_member_struct_stat_st_ctimespec" = xyes; then :
15765 cat >>confdefs.h <<_ACEOF
15766 #define HAVE_STRUCT_STAT_ST_CTIMESPEC 1
15767 _ACEOF
15771 ac_fn_c_check_member "$LINENO" "struct stat" "st_atim" "ac_cv_member_struct_stat_st_atim" "$ac_includes_default"
15772 if test "x$ac_cv_member_struct_stat_st_atim" = xyes; then :
15774 cat >>confdefs.h <<_ACEOF
15775 #define HAVE_STRUCT_STAT_ST_ATIM 1
15776 _ACEOF
15780 ac_fn_c_check_member "$LINENO" "struct stat" "st_atimespec" "ac_cv_member_struct_stat_st_atimespec" "$ac_includes_default"
15781 if test "x$ac_cv_member_struct_stat_st_atimespec" = xyes; then :
15783 cat >>confdefs.h <<_ACEOF
15784 #define HAVE_STRUCT_STAT_ST_ATIMESPEC 1
15785 _ACEOF
15789 ac_fn_c_check_member "$LINENO" "struct stat" "st_birthtime" "ac_cv_member_struct_stat_st_birthtime" "$ac_includes_default"
15790 if test "x$ac_cv_member_struct_stat_st_birthtime" = xyes; then :
15792 cat >>confdefs.h <<_ACEOF
15793 #define HAVE_STRUCT_STAT_ST_BIRTHTIME 1
15794 _ACEOF
15798 ac_fn_c_check_member "$LINENO" "struct stat" "st_birthtim" "ac_cv_member_struct_stat_st_birthtim" "$ac_includes_default"
15799 if test "x$ac_cv_member_struct_stat_st_birthtim" = xyes; then :
15801 cat >>confdefs.h <<_ACEOF
15802 #define HAVE_STRUCT_STAT_ST_BIRTHTIM 1
15803 _ACEOF
15807 ac_fn_c_check_member "$LINENO" "struct stat" "st_birthtimespec" "ac_cv_member_struct_stat_st_birthtimespec" "$ac_includes_default"
15808 if test "x$ac_cv_member_struct_stat_st_birthtimespec" = xyes; then :
15810 cat >>confdefs.h <<_ACEOF
15811 #define HAVE_STRUCT_STAT_ST_BIRTHTIMESPEC 1
15812 _ACEOF
15816 ac_fn_c_check_member "$LINENO" "struct stat" "__st_birthtime" "ac_cv_member_struct_stat___st_birthtime" "$ac_includes_default"
15817 if test "x$ac_cv_member_struct_stat___st_birthtime" = xyes; then :
15819 cat >>confdefs.h <<_ACEOF
15820 #define HAVE_STRUCT_STAT___ST_BIRTHTIME 1
15821 _ACEOF
15825 ac_fn_c_check_member "$LINENO" "struct stat" "__st_birthtim" "ac_cv_member_struct_stat___st_birthtim" "$ac_includes_default"
15826 if test "x$ac_cv_member_struct_stat___st_birthtim" = xyes; then :
15828 cat >>confdefs.h <<_ACEOF
15829 #define HAVE_STRUCT_STAT___ST_BIRTHTIM 1
15830 _ACEOF
15836 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
15837 #include <sys/types.h>
15838 #endif
15839 #ifdef HAVE_NETINET_IN_H
15840 #include <netinet/in.h>
15841 #endif
15843 if test "x$ac_cv_member_struct_sockaddr_in6_sin6_scope_id" = xyes; then :
15845 cat >>confdefs.h <<_ACEOF
15846 #define HAVE_STRUCT_SOCKADDR_IN6_SIN6_SCOPE_ID 1
15847 _ACEOF
15853 ac_fn_c_check_type "$LINENO" "struct __res_state" "ac_cv_type_struct___res_state" "#ifdef HAVE_RESOLV_H
15854 #include <resolv.h>
15855 #endif
15857 if test "x$ac_cv_type_struct___res_state" = xyes; then :
15859 cat >>confdefs.h <<_ACEOF
15860 #define HAVE_STRUCT___RES_STATE 1
15861 _ACEOF
15867 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
15868 #include <resolv.h>
15869 #endif
15871 if test "x$ac_cv_member_struct___res_state__u__ext_nscount6" = xyes; then :
15873 cat >>confdefs.h <<_ACEOF
15874 #define HAVE_STRUCT___RES_STATE__U__EXT_NSCOUNT6 1
15875 _ACEOF
15881 ac_fn_c_check_member "$LINENO" "ns_msg" "_msg_ptr" "ac_cv_member_ns_msg__msg_ptr" "#ifdef HAVE_SYS_TYPES_H
15882 #include <sys/types.h>
15883 #endif
15884 #ifdef HAVE_NETINET_IN_H
15885 # include <netinet/in.h>
15886 #endif
15887 #ifdef HAVE_ARPA_NAMESER_H
15888 # include <arpa/nameser.h>
15889 #endif
15891 if test "x$ac_cv_member_ns_msg__msg_ptr" = xyes; then :
15893 cat >>confdefs.h <<_ACEOF
15894 #define HAVE_NS_MSG__MSG_PTR 1
15895 _ACEOF
15901 ac_fn_c_check_member "$LINENO" "struct icmpstat" "icps_inhist" "ac_cv_member_struct_icmpstat_icps_inhist" "#ifdef HAVE_SYS_TYPES_H
15902 #include <sys/types.h>
15903 #endif
15904 #ifdef HAVE_NETINET_IP_H
15905 #include <netinet/ip.h>
15906 #endif
15907 #ifdef HAVE_NETINET_IP_ICMP_H
15908 #include <netinet/ip_icmp.h>
15909 #endif
15910 #ifdef HAVE_NETINET_ICMP_VAR_H
15911 #include <netinet/icmp_var.h>
15912 #endif
15914 if test "x$ac_cv_member_struct_icmpstat_icps_inhist" = xyes; then :
15916 cat >>confdefs.h <<_ACEOF
15917 #define HAVE_STRUCT_ICMPSTAT_ICPS_INHIST 1
15918 _ACEOF
15924 ac_fn_c_check_member "$LINENO" "struct icmpstat" "icps_outhist" "ac_cv_member_struct_icmpstat_icps_outhist" "#ifdef HAVE_SYS_TYPES_H
15925 #include <sys/types.h>
15926 #endif
15927 #ifdef HAVE_ALIAS_H
15928 #include <alias.h>
15929 #endif
15930 #ifdef HAVE_SYS_SOCKET_H
15931 #include <sys/socket.h>
15932 #endif
15933 #ifdef HAVE_SYS_SOCKETVAR_H
15934 #include <sys/socketvar.h>
15935 #endif
15936 #ifdef HAVE_SYS_TIMEOUT_H
15937 #include <sys/timeout.h>
15938 #endif
15939 #ifdef HAVE_NETINET_IN_H
15940 #include <netinet/in.h>
15941 #endif
15942 #ifdef HAVE_NETINET_IN_SYSTM_H
15943 #include <netinet/in_systm.h>
15944 #endif
15945 #ifdef HAVE_NETINET_IP_H
15946 #include <netinet/ip.h>
15947 #endif
15948 #ifdef HAVE_NETINET_IP_VAR_H
15949 #include <netinet/ip_var.h>
15950 #endif
15951 #ifdef HAVE_NETINET_IP_ICMP_H
15952 #include <netinet/ip_icmp.h>
15953 #endif
15954 #ifdef HAVE_NETINET_ICMP_VAR_H
15955 #include <netinet/icmp_var.h>
15956 #endif
15958 if test "x$ac_cv_member_struct_icmpstat_icps_outhist" = xyes; then :
15960 cat >>confdefs.h <<_ACEOF
15961 #define HAVE_STRUCT_ICMPSTAT_ICPS_OUTHIST 1
15962 _ACEOF
15968 ac_fn_c_check_member "$LINENO" "struct ipstat" "ips_total" "ac_cv_member_struct_ipstat_ips_total" "#ifdef HAVE_SYS_TYPES_H
15969 #include <sys/types.h>
15970 #endif
15971 #ifdef HAVE_SYS_SOCKETVAR_H
15972 #include <sys/socketvar.h>
15973 #endif
15974 #ifdef HAVE_NETINET_IN_H
15975 #include <netinet/in.h>
15976 #endif
15977 #ifdef HAVE_NETINET_IP_VAR_H
15978 #include <netinet/ip_var.h>
15979 #endif
15981 if test "x$ac_cv_member_struct_ipstat_ips_total" = xyes; then :
15983 cat >>confdefs.h <<_ACEOF
15984 #define HAVE_STRUCT_IPSTAT_IPS_TOTAL 1
15985 _ACEOF
15991 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
15992 #include <netinet/ip_var.h>
15993 #endif
15995 if test "x$ac_cv_member_struct_ip_stats_ips_total" = xyes; then :
15997 cat >>confdefs.h <<_ACEOF
15998 #define HAVE_STRUCT_IP_STATS_IPS_TOTAL 1
15999 _ACEOF
16005 ac_fn_c_check_member "$LINENO" "struct tcpstat" "tcps_connattempt" "ac_cv_member_struct_tcpstat_tcps_connattempt" "#ifdef HAVE_SYS_TYPES_H
16006 #include <sys/types.h>
16007 #endif
16008 #ifdef HAVE_SYS_SOCKETVAR_H
16009 #include <sys/socketvar.h>
16010 #endif
16011 #ifdef HAVE_NETINET_IN_H
16012 #include <netinet/in.h>
16013 #endif
16014 #ifdef HAVE_NETINET_TCP_H
16015 #include <netinet/tcp.h>
16016 #endif
16017 #ifdef HAVE_NETINET_TCP_VAR_H
16018 #include <netinet/tcp_var.h>
16019 #endif
16021 if test "x$ac_cv_member_struct_tcpstat_tcps_connattempt" = xyes; then :
16023 cat >>confdefs.h <<_ACEOF
16024 #define HAVE_STRUCT_TCPSTAT_TCPS_CONNATTEMPT 1
16025 _ACEOF
16031 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
16032 #include <netinet/tcp_var.h>
16033 #endif
16035 if test "x$ac_cv_member_struct_tcp_stats_tcps_connattempt" = xyes; then :
16037 cat >>confdefs.h <<_ACEOF
16038 #define HAVE_STRUCT_TCP_STATS_TCPS_CONNATTEMPT 1
16039 _ACEOF
16045 ac_fn_c_check_member "$LINENO" "struct udpstat" "udps_ipackets" "ac_cv_member_struct_udpstat_udps_ipackets" "#ifdef HAVE_SYS_TYPES_H
16046 #include <sys/types.h>
16047 #endif
16048 #ifdef HAVE_NETINET_IN_H
16049 #include <netinet/in.h>
16050 #endif
16051 #ifdef HAVE_NETINET_IP_VAR_H
16052 #include <netinet/ip_var.h>
16053 #endif
16054 #ifdef HAVE_NETINET_UDP_H
16055 #include <netinet/udp.h>
16056 #endif
16057 #ifdef HAVE_NETINET_UDP_VAR_H
16058 #include <netinet/udp_var.h>
16059 #endif
16061 if test "x$ac_cv_member_struct_udpstat_udps_ipackets" = xyes; then :
16063 cat >>confdefs.h <<_ACEOF
16064 #define HAVE_STRUCT_UDPSTAT_UDPS_IPACKETS 1
16065 _ACEOF
16071 ac_fn_c_check_member "$LINENO" "struct ifreq" "ifr_hwaddr" "ac_cv_member_struct_ifreq_ifr_hwaddr" "#ifdef HAVE_SYS_TYPES_H
16072 #include <sys/types.h>
16073 #endif
16074 #ifdef HAVE_NET_IF_H
16075 # include <net/if.h>
16076 #endif
16078 if test "x$ac_cv_member_struct_ifreq_ifr_hwaddr" = xyes; then :
16080 cat >>confdefs.h <<_ACEOF
16081 #define HAVE_STRUCT_IFREQ_IFR_HWADDR 1
16082 _ACEOF
16088 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for timezone variable" >&5
16089 $as_echo_n "checking for timezone variable... " >&6; }
16090 if ${ac_cv_have_timezone+:} false; then :
16091 $as_echo_n "(cached) " >&6
16092 else
16093 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
16094 /* end confdefs.h. */
16095 #include <time.h>
16097 main ()
16099 timezone = 1
16101 return 0;
16103 _ACEOF
16104 if ac_fn_c_try_link "$LINENO"; then :
16105 ac_cv_have_timezone="yes"
16106 else
16107 ac_cv_have_timezone="no"
16109 rm -f core conftest.err conftest.$ac_objext \
16110 conftest$ac_exeext conftest.$ac_ext
16112 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_have_timezone" >&5
16113 $as_echo "$ac_cv_have_timezone" >&6; }
16114 if test "$ac_cv_have_timezone" = "yes"
16115 then
16117 $as_echo "#define HAVE_TIMEZONE 1" >>confdefs.h
16120 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for daylight variable" >&5
16121 $as_echo_n "checking for daylight variable... " >&6; }
16122 if ${ac_cv_have_daylight+:} false; then :
16123 $as_echo_n "(cached) " >&6
16124 else
16125 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
16126 /* end confdefs.h. */
16127 #include <time.h>
16129 main ()
16131 daylight = 1
16133 return 0;
16135 _ACEOF
16136 if ac_fn_c_try_link "$LINENO"; then :
16137 ac_cv_have_daylight="yes"
16138 else
16139 ac_cv_have_daylight="no"
16141 rm -f core conftest.err conftest.$ac_objext \
16142 conftest$ac_exeext conftest.$ac_ext
16144 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_have_daylight" >&5
16145 $as_echo "$ac_cv_have_daylight" >&6; }
16146 if test "$ac_cv_have_daylight" = "yes"
16147 then
16149 $as_echo "#define HAVE_DAYLIGHT 1" >>confdefs.h
16153 ac_save_LIBS="$LIBS"
16154 LIBS="$LIBS -lm"
16155 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for isfinite" >&5
16156 $as_echo_n "checking for isfinite... " >&6; }
16157 if ${ac_cv_have_isfinite+:} false; then :
16158 $as_echo_n "(cached) " >&6
16159 else
16160 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
16161 /* end confdefs.h. */
16162 #define _GNU_SOURCE
16163 #include <math.h>
16165 main ()
16167 float f = 0.0; return isfinite(f)
16169 return 0;
16171 _ACEOF
16172 if ac_fn_c_try_link "$LINENO"; then :
16173 ac_cv_have_isfinite="yes"
16174 else
16175 ac_cv_have_isfinite="no"
16177 rm -f core conftest.err conftest.$ac_objext \
16178 conftest$ac_exeext conftest.$ac_ext
16180 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_have_isfinite" >&5
16181 $as_echo "$ac_cv_have_isfinite" >&6; }
16182 if test "$ac_cv_have_isfinite" = "yes"
16183 then
16185 $as_echo "#define HAVE_ISFINITE 1" >>confdefs.h
16189 ac_save_LIBS="$LIBS"
16190 LIBS="$LIBS -lm"
16191 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for isinf" >&5
16192 $as_echo_n "checking for isinf... " >&6; }
16193 if ${ac_cv_have_isinf+:} false; then :
16194 $as_echo_n "(cached) " >&6
16195 else
16196 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
16197 /* end confdefs.h. */
16198 #include <math.h>
16200 main ()
16202 float f = 0.0; return isinf(f)
16204 return 0;
16206 _ACEOF
16207 if ac_fn_c_try_link "$LINENO"; then :
16208 ac_cv_have_isinf="yes"
16209 else
16210 ac_cv_have_isinf="no"
16212 rm -f core conftest.err conftest.$ac_objext \
16213 conftest$ac_exeext conftest.$ac_ext
16215 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_have_isinf" >&5
16216 $as_echo "$ac_cv_have_isinf" >&6; }
16217 if test "$ac_cv_have_isinf" = "yes"
16218 then
16220 $as_echo "#define HAVE_ISINF 1" >>confdefs.h
16224 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for isnan" >&5
16225 $as_echo_n "checking for isnan... " >&6; }
16226 if ${ac_cv_have_isnan+:} false; then :
16227 $as_echo_n "(cached) " >&6
16228 else
16229 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
16230 /* end confdefs.h. */
16231 #include <math.h>
16233 main ()
16235 float f = 0.0; return isnan(f)
16237 return 0;
16239 _ACEOF
16240 if ac_fn_c_try_link "$LINENO"; then :
16241 ac_cv_have_isnan="yes"
16242 else
16243 ac_cv_have_isnan="no"
16245 rm -f core conftest.err conftest.$ac_objext \
16246 conftest$ac_exeext conftest.$ac_ext
16248 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_have_isnan" >&5
16249 $as_echo "$ac_cv_have_isnan" >&6; }
16250 if test "$ac_cv_have_isnan" = "yes"
16251 then
16253 $as_echo "#define HAVE_ISNAN 1" >>confdefs.h
16256 LIBS="$ac_save_LIBS"
16259 case $host_cpu in
16260 *i[3456789]86*) { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we need to define __i386__" >&5
16261 $as_echo_n "checking whether we need to define __i386__... " >&6; }
16262 if ${ac_cv_cpp_def___i386__+:} false; then :
16263 $as_echo_n "(cached) " >&6
16264 else
16265 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
16266 /* end confdefs.h. */
16267 #ifndef __i386__
16269 #endif
16270 _ACEOF
16271 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
16272 $EGREP "yes" >/dev/null 2>&1; then :
16273 ac_cv_cpp_def___i386__=yes
16274 else
16275 ac_cv_cpp_def___i386__=no
16277 rm -f conftest*
16280 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cpp_def___i386__" >&5
16281 $as_echo "$ac_cv_cpp_def___i386__" >&6; }
16282 if test "x$ac_cv_cpp_def___i386__" = xyes; then :
16283 CFLAGS="$CFLAGS -D__i386__"
16284 LINTFLAGS="$LINTFLAGS -D__i386__"
16285 fi ;;
16286 *x86_64*) { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we need to define __x86_64__" >&5
16287 $as_echo_n "checking whether we need to define __x86_64__... " >&6; }
16288 if ${ac_cv_cpp_def___x86_64__+:} false; then :
16289 $as_echo_n "(cached) " >&6
16290 else
16291 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
16292 /* end confdefs.h. */
16293 #ifndef __x86_64__
16295 #endif
16296 _ACEOF
16297 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
16298 $EGREP "yes" >/dev/null 2>&1; then :
16299 ac_cv_cpp_def___x86_64__=yes
16300 else
16301 ac_cv_cpp_def___x86_64__=no
16303 rm -f conftest*
16306 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cpp_def___x86_64__" >&5
16307 $as_echo "$ac_cv_cpp_def___x86_64__" >&6; }
16308 if test "x$ac_cv_cpp_def___x86_64__" = xyes; then :
16309 CFLAGS="$CFLAGS -D__x86_64__"
16310 LINTFLAGS="$LINTFLAGS -D__x86_64__"
16311 fi ;;
16312 *sparc64*) { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we need to define __sparc64__" >&5
16313 $as_echo_n "checking whether we need to define __sparc64__... " >&6; }
16314 if ${ac_cv_cpp_def___sparc64__+:} false; then :
16315 $as_echo_n "(cached) " >&6
16316 else
16317 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
16318 /* end confdefs.h. */
16319 #ifndef __sparc64__
16321 #endif
16322 _ACEOF
16323 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
16324 $EGREP "yes" >/dev/null 2>&1; then :
16325 ac_cv_cpp_def___sparc64__=yes
16326 else
16327 ac_cv_cpp_def___sparc64__=no
16329 rm -f conftest*
16332 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cpp_def___sparc64__" >&5
16333 $as_echo "$ac_cv_cpp_def___sparc64__" >&6; }
16334 if test "x$ac_cv_cpp_def___sparc64__" = xyes; then :
16335 CFLAGS="$CFLAGS -D__sparc64__"
16336 LINTFLAGS="$LINTFLAGS -D__sparc64__"
16337 fi ;;
16338 *sparc*) { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we need to define __sparc__" >&5
16339 $as_echo_n "checking whether we need to define __sparc__... " >&6; }
16340 if ${ac_cv_cpp_def___sparc__+:} false; then :
16341 $as_echo_n "(cached) " >&6
16342 else
16343 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
16344 /* end confdefs.h. */
16345 #ifndef __sparc__
16347 #endif
16348 _ACEOF
16349 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
16350 $EGREP "yes" >/dev/null 2>&1; then :
16351 ac_cv_cpp_def___sparc__=yes
16352 else
16353 ac_cv_cpp_def___sparc__=no
16355 rm -f conftest*
16358 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cpp_def___sparc__" >&5
16359 $as_echo "$ac_cv_cpp_def___sparc__" >&6; }
16360 if test "x$ac_cv_cpp_def___sparc__" = xyes; then :
16361 CFLAGS="$CFLAGS -D__sparc__"
16362 LINTFLAGS="$LINTFLAGS -D__sparc__"
16363 fi ;;
16364 *powerpc64*) { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we need to define __powerpc64__" >&5
16365 $as_echo_n "checking whether we need to define __powerpc64__... " >&6; }
16366 if ${ac_cv_cpp_def___powerpc64__+:} false; then :
16367 $as_echo_n "(cached) " >&6
16368 else
16369 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
16370 /* end confdefs.h. */
16371 #ifndef __powerpc64__
16373 #endif
16374 _ACEOF
16375 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
16376 $EGREP "yes" >/dev/null 2>&1; then :
16377 ac_cv_cpp_def___powerpc64__=yes
16378 else
16379 ac_cv_cpp_def___powerpc64__=no
16381 rm -f conftest*
16384 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cpp_def___powerpc64__" >&5
16385 $as_echo "$ac_cv_cpp_def___powerpc64__" >&6; }
16386 if test "x$ac_cv_cpp_def___powerpc64__" = xyes; then :
16387 CFLAGS="$CFLAGS -D__powerpc64__"
16388 LINTFLAGS="$LINTFLAGS -D__powerpc64__"
16389 fi ;;
16390 *powerpc*) { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we need to define __powerpc__" >&5
16391 $as_echo_n "checking whether we need to define __powerpc__... " >&6; }
16392 if ${ac_cv_cpp_def___powerpc__+:} false; then :
16393 $as_echo_n "(cached) " >&6
16394 else
16395 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
16396 /* end confdefs.h. */
16397 #ifndef __powerpc__
16399 #endif
16400 _ACEOF
16401 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
16402 $EGREP "yes" >/dev/null 2>&1; then :
16403 ac_cv_cpp_def___powerpc__=yes
16404 else
16405 ac_cv_cpp_def___powerpc__=no
16407 rm -f conftest*
16410 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cpp_def___powerpc__" >&5
16411 $as_echo "$ac_cv_cpp_def___powerpc__" >&6; }
16412 if test "x$ac_cv_cpp_def___powerpc__" = xyes; then :
16413 CFLAGS="$CFLAGS -D__powerpc__"
16414 LINTFLAGS="$LINTFLAGS -D__powerpc__"
16415 fi ;;
16416 *aarch64*) { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we need to define __aarch64__" >&5
16417 $as_echo_n "checking whether we need to define __aarch64__... " >&6; }
16418 if ${ac_cv_cpp_def___aarch64__+:} false; then :
16419 $as_echo_n "(cached) " >&6
16420 else
16421 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
16422 /* end confdefs.h. */
16423 #ifndef __aarch64__
16425 #endif
16426 _ACEOF
16427 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
16428 $EGREP "yes" >/dev/null 2>&1; then :
16429 ac_cv_cpp_def___aarch64__=yes
16430 else
16431 ac_cv_cpp_def___aarch64__=no
16433 rm -f conftest*
16436 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cpp_def___aarch64__" >&5
16437 $as_echo "$ac_cv_cpp_def___aarch64__" >&6; }
16438 if test "x$ac_cv_cpp_def___aarch64__" = xyes; then :
16439 CFLAGS="$CFLAGS -D__aarch64__"
16440 LINTFLAGS="$LINTFLAGS -D__aarch64__"
16441 fi ;;
16442 *arm*) { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we need to define __arm__" >&5
16443 $as_echo_n "checking whether we need to define __arm__... " >&6; }
16444 if ${ac_cv_cpp_def___arm__+:} false; then :
16445 $as_echo_n "(cached) " >&6
16446 else
16447 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
16448 /* end confdefs.h. */
16449 #ifndef __arm__
16451 #endif
16452 _ACEOF
16453 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
16454 $EGREP "yes" >/dev/null 2>&1; then :
16455 ac_cv_cpp_def___arm__=yes
16456 else
16457 ac_cv_cpp_def___arm__=no
16459 rm -f conftest*
16462 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cpp_def___arm__" >&5
16463 $as_echo "$ac_cv_cpp_def___arm__" >&6; }
16464 if test "x$ac_cv_cpp_def___arm__" = xyes; then :
16465 CFLAGS="$CFLAGS -D__arm__"
16466 LINTFLAGS="$LINTFLAGS -D__arm__"
16467 fi ;;
16468 esac
16470 case $host_vendor in
16471 *sun*) { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we need to define __sun__" >&5
16472 $as_echo_n "checking whether we need to define __sun__... " >&6; }
16473 if ${ac_cv_cpp_def___sun__+:} false; then :
16474 $as_echo_n "(cached) " >&6
16475 else
16476 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
16477 /* end confdefs.h. */
16478 #ifndef __sun__
16480 #endif
16481 _ACEOF
16482 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
16483 $EGREP "yes" >/dev/null 2>&1; then :
16484 ac_cv_cpp_def___sun__=yes
16485 else
16486 ac_cv_cpp_def___sun__=no
16488 rm -f conftest*
16491 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cpp_def___sun__" >&5
16492 $as_echo "$ac_cv_cpp_def___sun__" >&6; }
16493 if test "x$ac_cv_cpp_def___sun__" = xyes; then :
16494 CFLAGS="$CFLAGS -D__sun__"
16495 LINTFLAGS="$LINTFLAGS -D__sun__"
16496 fi ;;
16497 esac
16503 ac_config_commands="$ac_config_commands include/stamp-h"
16505 $as_echo_n "creating Makefile rules..." >&6
16507 ALL_VARS_RULES="OPENGL_LIBS = $OPENGL_LIBS
16508 SOCKET_LIBS = $SOCKET_LIBS
16509 COREFOUNDATION_LIBS = $COREFOUNDATION_LIBS
16510 IOKIT_LIBS = $IOKIT_LIBS
16511 FORCEFEEDBACK_LIBS = $FORCEFEEDBACK_LIBS
16512 APPLICATIONSERVICES_LIBS = $APPLICATIONSERVICES_LIBS
16513 CORESERVICES_LIBS = $CORESERVICES_LIBS
16514 APPKIT_LIBS = $APPKIT_LIBS
16515 DISKARBITRATION_LIBS = $DISKARBITRATION_LIBS
16516 SECURITY_LIBS = $SECURITY_LIBS
16517 COREAUDIO_LIBS = $COREAUDIO_LIBS
16518 OPENAL_LIBS = $OPENAL_LIBS
16519 OPENCL_LIBS = $OPENCL_LIBS
16520 QUICKTIME_LIBS = $QUICKTIME_LIBS
16521 CARBON_LIBS = $CARBON_LIBS
16522 PTHREAD_LIBS = $PTHREAD_LIBS
16523 X_CFLAGS = $X_CFLAGS
16524 X_PRE_LIBS = $X_PRE_LIBS
16525 X_LIBS = $X_LIBS
16526 X_EXTRA_LIBS = $X_EXTRA_LIBS
16527 XML2_CFLAGS = $XML2_CFLAGS
16528 XML2_LIBS = $XML2_LIBS
16529 XSLT_CFLAGS = $XSLT_CFLAGS
16530 XSLT_LIBS = $XSLT_LIBS
16531 DBUS_CFLAGS = $DBUS_CFLAGS
16532 DBUS_LIBS = $DBUS_LIBS
16533 HAL_CFLAGS = $HAL_CFLAGS
16534 HAL_LIBS = $HAL_LIBS
16535 GNUTLS_CFLAGS = $GNUTLS_CFLAGS
16536 GNUTLS_LIBS = $GNUTLS_LIBS
16537 SANE_CFLAGS = $SANE_CFLAGS
16538 SANE_LIBS = $SANE_LIBS
16539 GPHOTO2_CFLAGS = $GPHOTO2_CFLAGS
16540 GPHOTO2_LIBS = $GPHOTO2_LIBS
16541 GPHOTO2_PORT_CFLAGS = $GPHOTO2_PORT_CFLAGS
16542 GPHOTO2_PORT_LIBS = $GPHOTO2_PORT_LIBS
16543 RESOLV_LIBS = $RESOLV_LIBS
16544 LCMS2_CFLAGS = $LCMS2_CFLAGS
16545 LCMS2_LIBS = $LCMS2_LIBS
16546 FREETYPE_CFLAGS = $FREETYPE_CFLAGS
16547 FREETYPE_LIBS = $FREETYPE_LIBS
16548 Z_LIBS = $Z_LIBS
16549 GETTEXTPO_LIBS = $GETTEXTPO_LIBS
16550 GSTREAMER_CFLAGS = $GSTREAMER_CFLAGS
16551 GSTREAMER_LIBS = $GSTREAMER_LIBS
16552 ALSA_LIBS = $ALSA_LIBS
16553 OSS4_CFLAGS = $OSS4_CFLAGS
16554 CAPI20_CFLAGS = $CAPI20_CFLAGS
16555 CAPI20_LIBS = $CAPI20_LIBS
16556 CUPS_CFLAGS = $CUPS_CFLAGS
16557 FONTCONFIG_CFLAGS = $FONTCONFIG_CFLAGS
16558 FONTCONFIG_LIBS = $FONTCONFIG_LIBS
16559 JPEG_CFLAGS = $JPEG_CFLAGS
16560 JPEG_LIBS = $JPEG_LIBS
16561 PNG_CFLAGS = $PNG_CFLAGS
16562 PNG_LIBS = $PNG_LIBS
16563 TIFF_CFLAGS = $TIFF_CFLAGS
16564 TIFF_LIBS = $TIFF_LIBS
16565 MPG123_CFLAGS = $MPG123_CFLAGS
16566 MPG123_LIBS = $MPG123_LIBS
16567 KSTAT_LIBS = $KSTAT_LIBS
16568 PROCSTAT_LIBS = $PROCSTAT_LIBS
16569 DL_LIBS = $DL_LIBS
16570 POLL_LIBS = $POLL_LIBS
16571 RT_LIBS = $RT_LIBS
16572 LDAP_LIBS = $LDAP_LIBS
16577 wine_fn_append_rule "
16578 # Rules automatically generated by configure
16580 CLEAN_FILES = *.o *.a *.so *.res *.fake *.ok *.tab.[ch] *.yy.c
16582 .INIT: Makefile
16583 .MAKEFILEDEPS:
16584 all: Makefile
16585 Makefile: $srcdir/Makefile.in $srcdir/Make.vars.in config.status \$(MAKEDEP)
16586 @./config.status Make.tmp Makefile"
16588 test "$srcdir" = . && wine_fn_append_rule "all: .gitignore
16589 .gitignore: config.status
16590 @./config.status .gitignore"
16592 test -n "$CROSSTARGET" || wine_fn_append_rule "crosstest:
16593 @echo \"crosstest is not supported (mingw not installed?)\" && false"
16595 if test "x$enable_fonts" != xno; then
16596 ac_config_links="$ac_config_links fonts/marlett.ttf:fonts/marlett.ttf"
16597 ac_config_links="$ac_config_links fonts/symbol.ttf:fonts/symbol.ttf"
16598 ac_config_links="$ac_config_links fonts/tahoma.ttf:fonts/tahoma.ttf"
16599 ac_config_links="$ac_config_links fonts/tahomabd.ttf:fonts/tahomabd.ttf"
16600 test "$srcdir" = "." || wine_fn_config_symlink fonts/marlett.ttf fonts/symbol.ttf fonts/tahoma.ttf fonts/tahomabd.ttf
16602 ac_config_links="$ac_config_links loader/l_intl.nls:loader/l_intl.nls"
16603 test "$srcdir" = "." || wine_fn_config_symlink loader/l_intl.nls
16604 ac_config_links="$ac_config_links po/LINGUAS:po/LINGUAS"
16605 test "$srcdir" = "." || wine_fn_config_symlink po/LINGUAS
16606 ac_config_links="$ac_config_links wine:tools/winewrapper"
16607 wine_fn_config_symlink wine
16608 if test "x$enable_win64" != xno; then
16609 ac_config_links="$ac_config_links wine64:tools/winewrapper"
16610 wine_fn_config_symlink wine64
16613 wine_fn_config_dll acledit enable_acledit
16614 wine_fn_config_dll aclui enable_aclui implib
16615 wine_fn_config_dll activeds enable_activeds implib
16616 wine_fn_config_dll actxprxy enable_actxprxy clean
16617 wine_fn_config_lib adsiid
16618 wine_fn_config_dll advapi32 enable_advapi32 clean,implib
16619 wine_fn_config_test dlls/advapi32/tests advapi32_test
16620 wine_fn_config_dll advpack enable_advpack implib
16621 wine_fn_config_test dlls/advpack/tests advpack_test
16622 wine_fn_config_dll amstream enable_amstream clean
16623 wine_fn_config_test dlls/amstream/tests amstream_test
16624 wine_fn_config_dll api-ms-win-core-com-l1-1-0 enable_api_ms_win_core_com_l1_1_0
16625 wine_fn_config_dll api-ms-win-core-console-l1-1-0 enable_api_ms_win_core_console_l1_1_0
16626 wine_fn_config_dll api-ms-win-core-debug-l1-1-1 enable_api_ms_win_core_debug_l1_1_1
16627 wine_fn_config_dll api-ms-win-core-errorhandling-l1-1-1 enable_api_ms_win_core_errorhandling_l1_1_1
16628 wine_fn_config_dll api-ms-win-core-file-l1-2-0 enable_api_ms_win_core_file_l1_2_0
16629 wine_fn_config_dll api-ms-win-core-handle-l1-1-0 enable_api_ms_win_core_handle_l1_1_0
16630 wine_fn_config_dll api-ms-win-core-heap-l1-2-0 enable_api_ms_win_core_heap_l1_2_0
16631 wine_fn_config_dll api-ms-win-core-heap-obsolete-l1-1-0 enable_api_ms_win_core_heap_obsolete_l1_1_0
16632 wine_fn_config_dll api-ms-win-core-interlocked-l1-2-0 enable_api_ms_win_core_interlocked_l1_2_0
16633 wine_fn_config_dll api-ms-win-core-io-l1-1-1 enable_api_ms_win_core_io_l1_1_1
16634 wine_fn_config_dll api-ms-win-core-kernel32-legacy-l1-1-0 enable_api_ms_win_core_kernel32_legacy_l1_1_0
16635 wine_fn_config_dll api-ms-win-core-libraryloader-l1-1-1 enable_api_ms_win_core_libraryloader_l1_1_1
16636 wine_fn_config_dll api-ms-win-core-localization-l1-2-0 enable_api_ms_win_core_localization_l1_2_0
16637 wine_fn_config_dll api-ms-win-core-localization-obsolete-l1-1-0 enable_api_ms_win_core_localization_obsolete_l1_1_0
16638 wine_fn_config_dll api-ms-win-core-localregistry-l1-1-0 enable_api_ms_win_core_localregistry_l1_1_0
16639 wine_fn_config_dll api-ms-win-core-memory-l1-1-1 enable_api_ms_win_core_memory_l1_1_1
16640 wine_fn_config_dll api-ms-win-core-namedpipe-l1-2-0 enable_api_ms_win_core_namedpipe_l1_2_0
16641 wine_fn_config_dll api-ms-win-core-processenvironment-l1-2-0 enable_api_ms_win_core_processenvironment_l1_2_0
16642 wine_fn_config_dll api-ms-win-core-processthreads-l1-1-0 enable_api_ms_win_core_processthreads_l1_1_0
16643 wine_fn_config_dll api-ms-win-core-processthreads-l1-1-1 enable_api_ms_win_core_processthreads_l1_1_1
16644 wine_fn_config_dll api-ms-win-core-profile-l1-1-0 enable_api_ms_win_core_profile_l1_1_0
16645 wine_fn_config_dll api-ms-win-core-psapi-l1-1-0 enable_api_ms_win_core_psapi_l1_1_0
16646 wine_fn_config_dll api-ms-win-core-registry-l1-1-0 enable_api_ms_win_core_registry_l1_1_0
16647 wine_fn_config_dll api-ms-win-core-rtlsupport-l1-2-0 enable_api_ms_win_core_rtlsupport_l1_2_0
16648 wine_fn_config_dll api-ms-win-core-shlwapi-legacy-l1-1-0 enable_api_ms_win_core_shlwapi_legacy_l1_1_0
16649 wine_fn_config_dll api-ms-win-core-string-l1-1-0 enable_api_ms_win_core_string_l1_1_0
16650 wine_fn_config_dll api-ms-win-core-synch-l1-2-0 enable_api_ms_win_core_synch_l1_2_0
16651 wine_fn_config_dll api-ms-win-core-sysinfo-l1-2-0 enable_api_ms_win_core_sysinfo_l1_2_0
16652 wine_fn_config_dll api-ms-win-core-threadpool-legacy-l1-1-0 enable_api_ms_win_core_threadpool_legacy_l1_1_0
16653 wine_fn_config_dll api-ms-win-core-timezone-l1-1-0 enable_api_ms_win_core_timezone_l1_1_0
16654 wine_fn_config_dll api-ms-win-core-url-l1-1-0 enable_api_ms_win_core_url_l1_1_0
16655 wine_fn_config_dll api-ms-win-core-util-l1-1-0 enable_api_ms_win_core_util_l1_1_0
16656 wine_fn_config_dll api-ms-win-core-winrt-error-l1-1-0 enable_api_ms_win_core_winrt_error_l1_1_0
16657 wine_fn_config_dll api-ms-win-core-winrt-string-l1-1-0 enable_api_ms_win_core_winrt_string_l1_1_0
16658 wine_fn_config_dll api-ms-win-downlevel-advapi32-l1-1-0 enable_api_ms_win_downlevel_advapi32_l1_1_0
16659 wine_fn_config_dll api-ms-win-downlevel-advapi32-l2-1-0 enable_api_ms_win_downlevel_advapi32_l2_1_0
16660 wine_fn_config_dll api-ms-win-downlevel-normaliz-l1-1-0 enable_api_ms_win_downlevel_normaliz_l1_1_0
16661 wine_fn_config_dll api-ms-win-downlevel-ole32-l1-1-0 enable_api_ms_win_downlevel_ole32_l1_1_0
16662 wine_fn_config_dll api-ms-win-downlevel-shell32-l1-1-0 enable_api_ms_win_downlevel_shell32_l1_1_0
16663 wine_fn_config_dll api-ms-win-downlevel-shlwapi-l1-1-0 enable_api_ms_win_downlevel_shlwapi_l1_1_0
16664 wine_fn_config_dll api-ms-win-downlevel-shlwapi-l2-1-0 enable_api_ms_win_downlevel_shlwapi_l2_1_0
16665 wine_fn_config_dll api-ms-win-downlevel-user32-l1-1-0 enable_api_ms_win_downlevel_user32_l1_1_0
16666 wine_fn_config_dll api-ms-win-downlevel-version-l1-1-0 enable_api_ms_win_downlevel_version_l1_1_0
16667 wine_fn_config_dll api-ms-win-eventing-provider-l1-1-0 enable_api_ms_win_eventing_provider_l1_1_0
16668 wine_fn_config_dll api-ms-win-ntuser-dc-access-l1-1-0 enable_api_ms_win_ntuser_dc_access_l1_1_0
16669 wine_fn_config_dll api-ms-win-security-base-l1-1-0 enable_api_ms_win_security_base_l1_1_0
16670 wine_fn_config_dll api-ms-win-security-base-l1-2-0 enable_api_ms_win_security_base_l1_2_0
16671 wine_fn_config_dll api-ms-win-security-sddl-l1-1-0 enable_api_ms_win_security_sddl_l1_1_0
16672 wine_fn_config_dll api-ms-win-service-core-l1-1-1 enable_api_ms_win_service_core_l1_1_1
16673 wine_fn_config_dll api-ms-win-service-management-l1-1-0 enable_api_ms_win_service_management_l1_1_0
16674 wine_fn_config_dll api-ms-win-service-winsvc-l1-2-0 enable_api_ms_win_service_winsvc_l1_2_0
16675 wine_fn_config_dll apphelp enable_apphelp
16676 wine_fn_config_test dlls/apphelp/tests apphelp_test
16677 wine_fn_config_dll appwiz.cpl enable_appwiz_cpl po
16678 wine_fn_config_dll atl enable_atl clean,implib
16679 wine_fn_config_test dlls/atl/tests atl_test
16680 wine_fn_config_dll atl100 enable_atl100 implib
16681 wine_fn_config_test dlls/atl100/tests atl100_test
16682 wine_fn_config_dll atl110 enable_atl110
16683 wine_fn_config_dll atl80 enable_atl80 implib
16684 wine_fn_config_test dlls/atl80/tests atl80_test
16685 wine_fn_config_dll atl90 enable_atl90
16686 wine_fn_config_dll authz enable_authz
16687 wine_fn_config_dll avicap32 enable_avicap32 implib
16688 wine_fn_config_dll avifil32 enable_avifil32 clean,implib,po
16689 wine_fn_config_test dlls/avifil32/tests avifil32_test
16690 wine_fn_config_dll avifile.dll16 enable_win16
16691 wine_fn_config_dll avrt enable_avrt implib
16692 wine_fn_config_dll bcrypt enable_bcrypt
16693 wine_fn_config_test dlls/bcrypt/tests bcrypt_test
16694 wine_fn_config_dll browseui enable_browseui clean,po
16695 wine_fn_config_test dlls/browseui/tests browseui_test
16696 wine_fn_config_dll cabinet enable_cabinet implib
16697 wine_fn_config_test dlls/cabinet/tests cabinet_test
16698 wine_fn_config_dll capi2032 enable_capi2032 implib
16699 wine_fn_config_dll cards enable_cards implib
16700 wine_fn_config_dll cfgmgr32 enable_cfgmgr32 implib
16701 wine_fn_config_dll clusapi enable_clusapi implib
16702 wine_fn_config_dll comcat enable_comcat
16703 wine_fn_config_test dlls/comcat/tests comcat_test
16704 wine_fn_config_dll comctl32 enable_comctl32 implib,po
16705 wine_fn_config_test dlls/comctl32/tests comctl32_test
16706 wine_fn_config_dll comdlg32 enable_comdlg32 clean,implib,po
16707 wine_fn_config_test dlls/comdlg32/tests comdlg32_test
16708 wine_fn_config_dll comm.drv16 enable_win16
16709 wine_fn_config_dll commdlg.dll16 enable_win16
16710 wine_fn_config_dll compobj.dll16 enable_win16
16711 wine_fn_config_dll compstui enable_compstui implib
16712 wine_fn_config_dll comsvcs enable_comsvcs implib
16713 wine_fn_config_dll credui enable_credui implib,po
16714 wine_fn_config_test dlls/credui/tests credui_test
16715 wine_fn_config_dll crtdll enable_crtdll implib
16716 wine_fn_config_dll crypt32 enable_crypt32 implib,po
16717 wine_fn_config_test dlls/crypt32/tests crypt32_test
16718 wine_fn_config_dll cryptdlg enable_cryptdlg po
16719 wine_fn_config_dll cryptdll enable_cryptdll implib
16720 wine_fn_config_dll cryptnet enable_cryptnet implib
16721 wine_fn_config_test dlls/cryptnet/tests cryptnet_test
16722 wine_fn_config_dll cryptui enable_cryptui implib,po
16723 wine_fn_config_test dlls/cryptui/tests cryptui_test
16724 wine_fn_config_dll ctapi32 enable_ctapi32
16725 wine_fn_config_dll ctl3d.dll16 enable_win16
16726 wine_fn_config_dll ctl3d32 enable_ctl3d32 implib
16727 wine_fn_config_dll ctl3dv2.dll16 enable_win16
16728 wine_fn_config_dll d2d1 enable_d2d1 implib
16729 wine_fn_config_dll d3d10 enable_d3d10 implib
16730 wine_fn_config_test dlls/d3d10/tests d3d10_test
16731 wine_fn_config_dll d3d10_1 enable_d3d10_1 implib
16732 wine_fn_config_dll d3d10core enable_d3d10core implib
16733 wine_fn_config_test dlls/d3d10core/tests d3d10core_test
16734 wine_fn_config_dll d3d11 enable_d3d11
16735 wine_fn_config_dll d3d8 enable_d3d8 implib
16736 wine_fn_config_test dlls/d3d8/tests d3d8_test
16737 wine_fn_config_dll d3d9 enable_d3d9 implib
16738 wine_fn_config_test dlls/d3d9/tests d3d9_test
16739 wine_fn_config_dll d3dcompiler_33 enable_d3dcompiler_33
16740 wine_fn_config_dll d3dcompiler_34 enable_d3dcompiler_34
16741 wine_fn_config_dll d3dcompiler_35 enable_d3dcompiler_35
16742 wine_fn_config_dll d3dcompiler_36 enable_d3dcompiler_36
16743 wine_fn_config_dll d3dcompiler_37 enable_d3dcompiler_37
16744 wine_fn_config_dll d3dcompiler_38 enable_d3dcompiler_38
16745 wine_fn_config_dll d3dcompiler_39 enable_d3dcompiler_39
16746 wine_fn_config_dll d3dcompiler_40 enable_d3dcompiler_40
16747 wine_fn_config_dll d3dcompiler_41 enable_d3dcompiler_41
16748 wine_fn_config_dll d3dcompiler_42 enable_d3dcompiler_42
16749 wine_fn_config_dll d3dcompiler_43 enable_d3dcompiler_43 implib d3dcompiler
16750 wine_fn_config_test dlls/d3dcompiler_43/tests d3dcompiler_43_test
16751 wine_fn_config_dll d3dim enable_d3dim implib
16752 wine_fn_config_dll d3drm enable_d3drm implib
16753 wine_fn_config_test dlls/d3drm/tests d3drm_test
16754 wine_fn_config_dll d3dx10_33 enable_d3dx10_33
16755 wine_fn_config_dll d3dx10_34 enable_d3dx10_34
16756 wine_fn_config_dll d3dx10_35 enable_d3dx10_35
16757 wine_fn_config_dll d3dx10_36 enable_d3dx10_36
16758 wine_fn_config_dll d3dx10_37 enable_d3dx10_37
16759 wine_fn_config_dll d3dx10_38 enable_d3dx10_38
16760 wine_fn_config_dll d3dx10_39 enable_d3dx10_39
16761 wine_fn_config_dll d3dx10_40 enable_d3dx10_40
16762 wine_fn_config_dll d3dx10_41 enable_d3dx10_41
16763 wine_fn_config_dll d3dx10_42 enable_d3dx10_42
16764 wine_fn_config_dll d3dx10_43 enable_d3dx10_43
16765 wine_fn_config_dll d3dx11_42 enable_d3dx11_42
16766 wine_fn_config_dll d3dx11_43 enable_d3dx11_43
16767 wine_fn_config_dll d3dx9_24 enable_d3dx9_24
16768 wine_fn_config_dll d3dx9_25 enable_d3dx9_25
16769 wine_fn_config_dll d3dx9_26 enable_d3dx9_26
16770 wine_fn_config_dll d3dx9_27 enable_d3dx9_27
16771 wine_fn_config_dll d3dx9_28 enable_d3dx9_28
16772 wine_fn_config_dll d3dx9_29 enable_d3dx9_29
16773 wine_fn_config_dll d3dx9_30 enable_d3dx9_30
16774 wine_fn_config_dll d3dx9_31 enable_d3dx9_31
16775 wine_fn_config_dll d3dx9_32 enable_d3dx9_32
16776 wine_fn_config_dll d3dx9_33 enable_d3dx9_33
16777 wine_fn_config_dll d3dx9_34 enable_d3dx9_34
16778 wine_fn_config_dll d3dx9_35 enable_d3dx9_35
16779 wine_fn_config_dll d3dx9_36 enable_d3dx9_36 implib d3dx9
16780 wine_fn_config_test dlls/d3dx9_36/tests d3dx9_36_test
16781 wine_fn_config_dll d3dx9_37 enable_d3dx9_37
16782 wine_fn_config_dll d3dx9_38 enable_d3dx9_38
16783 wine_fn_config_dll d3dx9_39 enable_d3dx9_39
16784 wine_fn_config_dll d3dx9_40 enable_d3dx9_40
16785 wine_fn_config_dll d3dx9_41 enable_d3dx9_41
16786 wine_fn_config_dll d3dx9_42 enable_d3dx9_42
16787 wine_fn_config_dll d3dx9_43 enable_d3dx9_43
16788 wine_fn_config_dll d3dxof enable_d3dxof clean,implib
16789 wine_fn_config_test dlls/d3dxof/tests d3dxof_test
16790 wine_fn_config_dll dbgeng enable_dbgeng implib
16791 wine_fn_config_dll dbghelp enable_dbghelp implib
16792 wine_fn_config_dll dciman32 enable_dciman32 implib
16793 wine_fn_config_dll ddeml.dll16 enable_win16
16794 wine_fn_config_dll ddraw enable_ddraw clean,implib
16795 wine_fn_config_test dlls/ddraw/tests ddraw_test
16796 wine_fn_config_dll ddrawex enable_ddrawex clean
16797 wine_fn_config_test dlls/ddrawex/tests ddrawex_test
16798 wine_fn_config_dll devenum enable_devenum clean,po
16799 wine_fn_config_test dlls/devenum/tests devenum_test
16800 wine_fn_config_dll dhcpcsvc enable_dhcpcsvc
16801 wine_fn_config_dll difxapi enable_difxapi
16802 wine_fn_config_dll dinput enable_dinput clean,implib,po,staticimplib
16803 wine_fn_config_test dlls/dinput/tests dinput_test
16804 wine_fn_config_dll dinput8 enable_dinput8 clean,implib
16805 wine_fn_config_test dlls/dinput8/tests dinput8_test
16806 wine_fn_config_dll dispdib.dll16 enable_win16
16807 wine_fn_config_dll dispex enable_dispex clean
16808 wine_fn_config_test dlls/dispex/tests dispex_test
16809 wine_fn_config_dll display.drv16 enable_win16
16810 wine_fn_config_dll dmband enable_dmband clean
16811 wine_fn_config_test dlls/dmband/tests dmband_test
16812 wine_fn_config_dll dmcompos enable_dmcompos clean
16813 wine_fn_config_test dlls/dmcompos/tests dmcompos_test
16814 wine_fn_config_dll dmime enable_dmime clean
16815 wine_fn_config_test dlls/dmime/tests dmime_test
16816 wine_fn_config_dll dmloader enable_dmloader clean
16817 wine_fn_config_test dlls/dmloader/tests dmloader_test
16818 wine_fn_config_dll dmscript enable_dmscript clean
16819 wine_fn_config_test dlls/dmscript/tests dmscript_test
16820 wine_fn_config_dll dmstyle enable_dmstyle clean
16821 wine_fn_config_test dlls/dmstyle/tests dmstyle_test
16822 wine_fn_config_dll dmsynth enable_dmsynth clean
16823 wine_fn_config_test dlls/dmsynth/tests dmsynth_test
16824 wine_fn_config_dll dmusic enable_dmusic clean
16825 wine_fn_config_test dlls/dmusic/tests dmusic_test
16826 wine_fn_config_dll dmusic32 enable_dmusic32 implib
16827 wine_fn_config_dll dnsapi enable_dnsapi implib
16828 wine_fn_config_test dlls/dnsapi/tests dnsapi_test
16829 wine_fn_config_dll dplay enable_dplay implib
16830 wine_fn_config_dll dplayx enable_dplayx clean,implib
16831 wine_fn_config_test dlls/dplayx/tests dplayx_test
16832 wine_fn_config_dll dpnaddr enable_dpnaddr
16833 wine_fn_config_dll dpnet enable_dpnet clean,implib
16834 wine_fn_config_test dlls/dpnet/tests dpnet_test
16835 wine_fn_config_dll dpnhpast enable_dpnhpast
16836 wine_fn_config_dll dpnlobby enable_dpnlobby
16837 wine_fn_config_dll dpwsockx enable_dpwsockx
16838 wine_fn_config_dll drmclien enable_drmclien
16839 wine_fn_config_dll dsound enable_dsound clean,implib
16840 wine_fn_config_test dlls/dsound/tests dsound_test
16841 wine_fn_config_dll dssenh enable_dssenh
16842 wine_fn_config_test dlls/dssenh/tests dssenh_test
16843 wine_fn_config_dll dswave enable_dswave clean
16844 wine_fn_config_test dlls/dswave/tests dswave_test
16845 wine_fn_config_dll dwmapi enable_dwmapi implib
16846 wine_fn_config_dll dwrite enable_dwrite implib
16847 wine_fn_config_test dlls/dwrite/tests dwrite_test
16848 wine_fn_config_dll dxdiagn enable_dxdiagn clean,po
16849 wine_fn_config_test dlls/dxdiagn/tests dxdiagn_test
16850 wine_fn_config_lib dxerr8
16851 wine_fn_config_lib dxerr9
16852 wine_fn_config_dll dxgi enable_dxgi implib
16853 wine_fn_config_test dlls/dxgi/tests dxgi_test
16854 wine_fn_config_lib dxguid
16855 wine_fn_config_dll dxva2 enable_dxva2
16856 wine_fn_config_dll explorerframe enable_explorerframe clean
16857 wine_fn_config_test dlls/explorerframe/tests explorerframe_test
16858 wine_fn_config_dll ext-ms-win-gdi-devcaps-l1-1-0 enable_ext_ms_win_gdi_devcaps_l1_1_0
16859 wine_fn_config_dll faultrep enable_faultrep implib
16860 wine_fn_config_test dlls/faultrep/tests faultrep_test
16861 wine_fn_config_dll fltlib enable_fltlib
16862 wine_fn_config_dll fntcache enable_fntcache
16863 wine_fn_config_dll fontsub enable_fontsub
16864 wine_fn_config_dll fusion enable_fusion
16865 wine_fn_config_test dlls/fusion/tests fusion_test
16866 wine_fn_config_dll fwpuclnt enable_fwpuclnt
16867 wine_fn_config_dll gameux enable_gameux clean
16868 wine_fn_config_test dlls/gameux/tests gameux_test
16869 wine_fn_config_dll gdi.exe16 enable_win16
16870 wine_fn_config_dll gdi32 enable_gdi32 clean,implib,po
16871 wine_fn_config_test dlls/gdi32/tests gdi32_test
16872 wine_fn_config_dll gdiplus enable_gdiplus implib
16873 wine_fn_config_test dlls/gdiplus/tests gdiplus_test
16874 wine_fn_config_dll glu32 enable_glu32 implib
16875 wine_fn_config_dll gphoto2.ds enable_gphoto2_ds po
16876 wine_fn_config_dll gpkcsp enable_gpkcsp
16877 wine_fn_config_dll hal enable_hal
16878 wine_fn_config_dll hhctrl.ocx enable_hhctrl_ocx clean,implib,po htmlhelp
16879 wine_fn_config_dll hid enable_hid implib
16880 wine_fn_config_dll hlink enable_hlink clean,implib
16881 wine_fn_config_test dlls/hlink/tests hlink_test
16882 wine_fn_config_dll hnetcfg enable_hnetcfg clean
16883 wine_fn_config_dll httpapi enable_httpapi
16884 wine_fn_config_dll iccvid enable_iccvid po
16885 wine_fn_config_dll icmp enable_icmp
16886 wine_fn_config_dll ieframe enable_ieframe clean,implib,po
16887 wine_fn_config_test dlls/ieframe/tests ieframe_test
16888 wine_fn_config_dll ifsmgr.vxd enable_win16
16889 wine_fn_config_dll imaadp32.acm enable_imaadp32_acm
16890 wine_fn_config_dll imagehlp enable_imagehlp implib
16891 wine_fn_config_test dlls/imagehlp/tests imagehlp_test
16892 wine_fn_config_dll imm.dll16 enable_win16
16893 wine_fn_config_dll imm32 enable_imm32 implib
16894 wine_fn_config_test dlls/imm32/tests imm32_test
16895 wine_fn_config_dll inetcomm enable_inetcomm clean,implib
16896 wine_fn_config_test dlls/inetcomm/tests inetcomm_test
16897 wine_fn_config_dll inetcpl.cpl enable_inetcpl_cpl po
16898 wine_fn_config_dll inetmib1 enable_inetmib1
16899 wine_fn_config_test dlls/inetmib1/tests inetmib1_test
16900 wine_fn_config_dll infosoft enable_infosoft clean
16901 wine_fn_config_test dlls/infosoft/tests infosoft_test
16902 wine_fn_config_dll initpki enable_initpki
16903 wine_fn_config_dll inkobj enable_inkobj
16904 wine_fn_config_dll inseng enable_inseng clean
16905 wine_fn_config_dll iphlpapi enable_iphlpapi implib
16906 wine_fn_config_test dlls/iphlpapi/tests iphlpapi_test
16907 wine_fn_config_dll itircl enable_itircl
16908 wine_fn_config_dll itss enable_itss clean
16909 wine_fn_config_test dlls/itss/tests itss_test
16910 wine_fn_config_dll joy.cpl enable_joy_cpl po
16911 wine_fn_config_dll jscript enable_jscript clean,po
16912 wine_fn_config_test dlls/jscript/tests jscript_test
16913 wine_fn_config_dll kernel32 enable_kernel32 clean,implib,mc
16914 wine_fn_config_test dlls/kernel32/tests kernel32_test
16915 wine_fn_config_dll keyboard.drv16 enable_win16
16916 wine_fn_config_dll krnl386.exe16 enable_win16 implib kernel
16917 wine_fn_config_dll ktmw32 enable_ktmw32
16918 wine_fn_config_dll loadperf enable_loadperf implib
16919 wine_fn_config_dll localspl enable_localspl po
16920 wine_fn_config_test dlls/localspl/tests localspl_test
16921 wine_fn_config_dll localui enable_localui po
16922 wine_fn_config_test dlls/localui/tests localui_test
16923 wine_fn_config_dll lz32 enable_lz32 implib
16924 wine_fn_config_test dlls/lz32/tests lz32_test
16925 wine_fn_config_dll lzexpand.dll16 enable_win16
16926 wine_fn_config_dll mapi32 enable_mapi32 implib,po
16927 wine_fn_config_test dlls/mapi32/tests mapi32_test
16928 wine_fn_config_dll mapistub enable_mapistub
16929 wine_fn_config_dll mciavi32 enable_mciavi32
16930 wine_fn_config_dll mcicda enable_mcicda
16931 wine_fn_config_dll mciqtz32 enable_mciqtz32
16932 wine_fn_config_dll mciseq enable_mciseq
16933 wine_fn_config_dll mciwave enable_mciwave
16934 wine_fn_config_dll mgmtapi enable_mgmtapi
16935 wine_fn_config_dll midimap enable_midimap
16936 wine_fn_config_dll mlang enable_mlang clean,implib
16937 wine_fn_config_test dlls/mlang/tests mlang_test
16938 wine_fn_config_dll mmcndmgr enable_mmcndmgr clean
16939 wine_fn_config_test dlls/mmcndmgr/tests mmcndmgr_test
16940 wine_fn_config_dll mmdevapi enable_mmdevapi clean
16941 wine_fn_config_test dlls/mmdevapi/tests mmdevapi_test
16942 wine_fn_config_dll mmdevldr.vxd enable_win16
16943 wine_fn_config_dll mmsystem.dll16 enable_win16
16944 wine_fn_config_dll monodebg.vxd enable_win16
16945 wine_fn_config_dll mountmgr.sys enable_mountmgr_sys
16946 wine_fn_config_dll mouse.drv16 enable_win16
16947 wine_fn_config_dll mpr enable_mpr implib,po
16948 wine_fn_config_test dlls/mpr/tests mpr_test
16949 wine_fn_config_dll mprapi enable_mprapi implib
16950 wine_fn_config_dll msacm.dll16 enable_win16
16951 wine_fn_config_dll msacm32.drv enable_msacm32_drv
16952 wine_fn_config_dll msacm32 enable_msacm32 implib,po
16953 wine_fn_config_test dlls/msacm32/tests msacm32_test
16954 wine_fn_config_dll msadp32.acm enable_msadp32_acm
16955 wine_fn_config_dll mscat32 enable_mscat32
16956 wine_fn_config_dll mscms enable_mscms implib
16957 wine_fn_config_test dlls/mscms/tests mscms_test
16958 wine_fn_config_dll mscoree enable_mscoree clean
16959 wine_fn_config_test dlls/mscoree/tests mscoree_test
16960 wine_fn_config_dll msctf enable_msctf clean
16961 wine_fn_config_test dlls/msctf/tests msctf_test
16962 wine_fn_config_dll msdaps enable_msdaps clean
16963 wine_fn_config_dll msdmo enable_msdmo implib
16964 wine_fn_config_dll msftedit enable_msftedit
16965 wine_fn_config_dll msg711.acm enable_msg711_acm
16966 wine_fn_config_dll msgsm32.acm enable_msgsm32_acm
16967 wine_fn_config_dll mshtml.tlb enable_mshtml_tlb clean
16968 wine_fn_config_dll mshtml enable_mshtml clean,implib,po
16969 wine_fn_config_test dlls/mshtml/tests mshtml_test clean
16970 wine_fn_config_dll msi enable_msi clean,implib,po
16971 wine_fn_config_test dlls/msi/tests msi_test
16972 wine_fn_config_dll msident enable_msident clean
16973 wine_fn_config_dll msimg32 enable_msimg32 implib
16974 wine_fn_config_dll msimsg enable_msimsg
16975 wine_fn_config_dll msimtf enable_msimtf clean
16976 wine_fn_config_dll msisip enable_msisip
16977 wine_fn_config_dll msisys.ocx enable_msisys_ocx
16978 wine_fn_config_dll msls31 enable_msls31
16979 wine_fn_config_dll msnet32 enable_msnet32
16980 wine_fn_config_dll mspatcha enable_mspatcha
16981 wine_fn_config_dll msrle32 enable_msrle32 po
16982 wine_fn_config_test dlls/msrle32/tests msrle32_test
16983 wine_fn_config_dll mssign32 enable_mssign32
16984 wine_fn_config_dll mssip32 enable_mssip32
16985 wine_fn_config_dll mstask enable_mstask clean
16986 wine_fn_config_test dlls/mstask/tests mstask_test
16987 wine_fn_config_dll msvcirt enable_msvcirt
16988 wine_fn_config_dll msvcm80 enable_msvcm80
16989 wine_fn_config_dll msvcm90 enable_msvcm90
16990 wine_fn_config_dll msvcp100 enable_msvcp100
16991 wine_fn_config_test dlls/msvcp100/tests msvcp100_test
16992 wine_fn_config_dll msvcp110 enable_msvcp110
16993 wine_fn_config_dll msvcp60 enable_msvcp60
16994 wine_fn_config_test dlls/msvcp60/tests msvcp60_test
16995 wine_fn_config_dll msvcp70 enable_msvcp70
16996 wine_fn_config_dll msvcp71 enable_msvcp71
16997 wine_fn_config_dll msvcp80 enable_msvcp80
16998 wine_fn_config_dll msvcp90 enable_msvcp90
16999 wine_fn_config_test dlls/msvcp90/tests msvcp90_test
17000 wine_fn_config_dll msvcr100 enable_msvcr100 implib
17001 wine_fn_config_test dlls/msvcr100/tests msvcr100_test
17002 wine_fn_config_dll msvcr110 enable_msvcr110 implib
17003 wine_fn_config_dll msvcr70 enable_msvcr70 implib
17004 wine_fn_config_dll msvcr71 enable_msvcr71 implib
17005 wine_fn_config_dll msvcr80 enable_msvcr80 implib
17006 wine_fn_config_dll msvcr90 enable_msvcr90 implib
17007 wine_fn_config_test dlls/msvcr90/tests msvcr90_test
17008 wine_fn_config_dll msvcrt enable_msvcrt implib
17009 wine_fn_config_test dlls/msvcrt/tests msvcrt_test
17010 wine_fn_config_dll msvcrt20 enable_msvcrt20 implib
17011 wine_fn_config_dll msvcrt40 enable_msvcrt40 implib
17012 wine_fn_config_dll msvcrtd enable_msvcrtd implib
17013 wine_fn_config_test dlls/msvcrtd/tests msvcrtd_test
17014 wine_fn_config_dll msvfw32 enable_msvfw32 implib,po
17015 wine_fn_config_test dlls/msvfw32/tests msvfw32_test
17016 wine_fn_config_dll msvidc32 enable_msvidc32 po
17017 wine_fn_config_dll msvideo.dll16 enable_win16
17018 wine_fn_config_dll mswsock enable_mswsock implib
17019 wine_fn_config_dll msxml enable_msxml clean
17020 wine_fn_config_dll msxml2 enable_msxml2 clean
17021 wine_fn_config_dll msxml3 enable_msxml3 clean
17022 wine_fn_config_test dlls/msxml3/tests msxml3_test clean
17023 wine_fn_config_dll msxml4 enable_msxml4 clean
17024 wine_fn_config_dll msxml6 enable_msxml6 clean
17025 wine_fn_config_dll nddeapi enable_nddeapi implib
17026 wine_fn_config_dll netapi32 enable_netapi32 implib
17027 wine_fn_config_test dlls/netapi32/tests netapi32_test
17028 wine_fn_config_dll netcfgx enable_netcfgx clean
17029 wine_fn_config_test dlls/netcfgx/tests netcfgx_test
17030 wine_fn_config_dll newdev enable_newdev implib
17031 wine_fn_config_dll normaliz enable_normaliz implib
17032 wine_fn_config_dll npmshtml enable_npmshtml
17033 wine_fn_config_dll ntdll enable_ntdll implib
17034 wine_fn_config_test dlls/ntdll/tests ntdll_test
17035 wine_fn_config_dll ntdsapi enable_ntdsapi implib
17036 wine_fn_config_test dlls/ntdsapi/tests ntdsapi_test
17037 wine_fn_config_dll ntoskrnl.exe enable_ntoskrnl_exe implib
17038 wine_fn_config_dll ntprint enable_ntprint
17039 wine_fn_config_test dlls/ntprint/tests ntprint_test
17040 wine_fn_config_dll objsel enable_objsel clean
17041 wine_fn_config_dll odbc32 enable_odbc32 implib
17042 wine_fn_config_dll odbccp32 enable_odbccp32 implib
17043 wine_fn_config_test dlls/odbccp32/tests odbccp32_test
17044 wine_fn_config_dll odbccu32 enable_odbccu32
17045 wine_fn_config_dll ole2.dll16 enable_win16
17046 wine_fn_config_dll ole2conv.dll16 enable_win16
17047 wine_fn_config_dll ole2disp.dll16 enable_win16
17048 wine_fn_config_dll ole2nls.dll16 enable_win16
17049 wine_fn_config_dll ole2prox.dll16 enable_win16
17050 wine_fn_config_dll ole2thk.dll16 enable_win16
17051 wine_fn_config_dll ole32 enable_ole32 clean,implib
17052 wine_fn_config_test dlls/ole32/tests ole32_test
17053 wine_fn_config_dll oleacc enable_oleacc clean,implib,po
17054 wine_fn_config_test dlls/oleacc/tests oleacc_test
17055 wine_fn_config_dll oleaut32 enable_oleaut32 clean,implib,po
17056 wine_fn_config_test dlls/oleaut32/tests oleaut32_test clean
17057 wine_fn_config_dll olecli.dll16 enable_win16
17058 wine_fn_config_dll olecli32 enable_olecli32 implib
17059 wine_fn_config_dll oledb32 enable_oledb32 clean
17060 wine_fn_config_test dlls/oledb32/tests oledb32_test clean
17061 wine_fn_config_dll oledlg enable_oledlg implib,po
17062 wine_fn_config_dll olepro32 enable_olepro32 implib
17063 wine_fn_config_dll olesvr.dll16 enable_win16
17064 wine_fn_config_dll olesvr32 enable_olesvr32 implib
17065 wine_fn_config_dll olethk32 enable_olethk32
17066 wine_fn_config_dll openal32 enable_openal32
17067 wine_fn_config_dll opencl enable_opencl
17068 wine_fn_config_dll opengl32 enable_opengl32 implib
17069 wine_fn_config_test dlls/opengl32/tests opengl32_test
17070 wine_fn_config_dll pdh enable_pdh implib
17071 wine_fn_config_test dlls/pdh/tests pdh_test
17072 wine_fn_config_dll photometadatahandler enable_photometadatahandler
17073 wine_fn_config_dll pidgen enable_pidgen
17074 wine_fn_config_dll powrprof enable_powrprof implib
17075 wine_fn_config_dll printui enable_printui
17076 wine_fn_config_dll propsys enable_propsys clean,implib
17077 wine_fn_config_test dlls/propsys/tests propsys_test
17078 wine_fn_config_dll psapi enable_psapi implib
17079 wine_fn_config_test dlls/psapi/tests psapi_test
17080 wine_fn_config_dll pstorec enable_pstorec clean
17081 wine_fn_config_dll qcap enable_qcap
17082 wine_fn_config_test dlls/qcap/tests qcap_test
17083 wine_fn_config_dll qedit enable_qedit clean
17084 wine_fn_config_test dlls/qedit/tests qedit_test
17085 wine_fn_config_dll qmgr enable_qmgr clean
17086 wine_fn_config_test dlls/qmgr/tests qmgr_test
17087 wine_fn_config_dll qmgrprxy enable_qmgrprxy clean
17088 wine_fn_config_dll quartz enable_quartz clean,implib
17089 wine_fn_config_test dlls/quartz/tests quartz_test clean
17090 wine_fn_config_dll query enable_query
17091 wine_fn_config_dll rasapi16.dll16 enable_win16
17092 wine_fn_config_dll rasapi32 enable_rasapi32 implib
17093 wine_fn_config_test dlls/rasapi32/tests rasapi32_test
17094 wine_fn_config_dll rasdlg enable_rasdlg implib
17095 wine_fn_config_dll regapi enable_regapi
17096 wine_fn_config_dll resutils enable_resutils implib
17097 wine_fn_config_dll riched20 enable_riched20 implib
17098 wine_fn_config_test dlls/riched20/tests riched20_test
17099 wine_fn_config_dll riched32 enable_riched32
17100 wine_fn_config_test dlls/riched32/tests riched32_test
17101 wine_fn_config_dll rpcrt4 enable_rpcrt4 clean,implib
17102 wine_fn_config_test dlls/rpcrt4/tests rpcrt4_test clean
17103 wine_fn_config_dll rsabase enable_rsabase
17104 wine_fn_config_dll rsaenh enable_rsaenh implib
17105 wine_fn_config_test dlls/rsaenh/tests rsaenh_test
17106 wine_fn_config_dll rstrtmgr enable_rstrtmgr
17107 wine_fn_config_dll rtutils enable_rtutils implib
17108 wine_fn_config_dll samlib enable_samlib
17109 wine_fn_config_dll sane.ds enable_sane_ds po
17110 wine_fn_config_dll scarddlg enable_scarddlg
17111 wine_fn_config_dll sccbase enable_sccbase
17112 wine_fn_config_dll schannel enable_schannel
17113 wine_fn_config_test dlls/schannel/tests schannel_test
17114 wine_fn_config_dll schedsvc enable_schedsvc clean
17115 wine_fn_config_dll scrrun enable_scrrun clean
17116 wine_fn_config_test dlls/scrrun/tests scrrun_test clean
17117 wine_fn_config_dll scsiport.sys enable_scsiport_sys
17118 wine_fn_config_dll secur32 enable_secur32 implib
17119 wine_fn_config_test dlls/secur32/tests secur32_test
17120 wine_fn_config_dll security enable_security
17121 wine_fn_config_dll sensapi enable_sensapi implib
17122 wine_fn_config_dll serialui enable_serialui implib,po
17123 wine_fn_config_test dlls/serialui/tests serialui_test
17124 wine_fn_config_dll setupapi enable_setupapi implib,po
17125 wine_fn_config_test dlls/setupapi/tests setupapi_test
17126 wine_fn_config_dll setupx.dll16 enable_win16
17127 wine_fn_config_dll sfc enable_sfc implib
17128 wine_fn_config_dll sfc_os enable_sfc_os implib
17129 wine_fn_config_dll shdoclc enable_shdoclc po
17130 wine_fn_config_dll shdocvw enable_shdocvw clean,implib
17131 wine_fn_config_test dlls/shdocvw/tests shdocvw_test
17132 wine_fn_config_dll shell.dll16 enable_win16
17133 wine_fn_config_dll shell32 enable_shell32 clean,implib,po
17134 wine_fn_config_test dlls/shell32/tests shell32_test
17135 wine_fn_config_dll shfolder enable_shfolder implib
17136 wine_fn_config_dll shlwapi enable_shlwapi implib,po
17137 wine_fn_config_test dlls/shlwapi/tests shlwapi_test
17138 wine_fn_config_dll slbcsp enable_slbcsp
17139 wine_fn_config_dll slc enable_slc implib
17140 wine_fn_config_dll snmpapi enable_snmpapi implib
17141 wine_fn_config_test dlls/snmpapi/tests snmpapi_test
17142 wine_fn_config_dll softpub enable_softpub
17143 wine_fn_config_dll sound.drv16 enable_win16
17144 wine_fn_config_dll spoolss enable_spoolss implib
17145 wine_fn_config_test dlls/spoolss/tests spoolss_test
17146 wine_fn_config_dll stdole2.tlb enable_stdole2_tlb clean
17147 wine_fn_config_dll stdole32.tlb enable_stdole32_tlb clean
17148 wine_fn_config_dll sti enable_sti clean,implib
17149 wine_fn_config_test dlls/sti/tests sti_test
17150 wine_fn_config_dll storage.dll16 enable_win16
17151 wine_fn_config_dll stress.dll16 enable_win16
17152 wine_fn_config_lib strmbase
17153 wine_fn_config_lib strmiids
17154 wine_fn_config_dll svrapi enable_svrapi
17155 wine_fn_config_dll sxs enable_sxs implib
17156 wine_fn_config_test dlls/sxs/tests sxs_test
17157 wine_fn_config_dll system.drv16 enable_win16
17158 wine_fn_config_dll t2embed enable_t2embed
17159 wine_fn_config_dll tapi32 enable_tapi32 implib
17160 wine_fn_config_dll taskschd enable_taskschd clean
17161 wine_fn_config_test dlls/taskschd/tests taskschd_test
17162 wine_fn_config_dll toolhelp.dll16 enable_win16
17163 wine_fn_config_dll traffic enable_traffic
17164 wine_fn_config_dll twain.dll16 enable_win16
17165 wine_fn_config_dll twain_32 enable_twain_32
17166 wine_fn_config_test dlls/twain_32/tests twain_32_test
17167 wine_fn_config_dll typelib.dll16 enable_win16
17168 wine_fn_config_dll unicows enable_unicows implib
17169 wine_fn_config_dll updspapi enable_updspapi
17170 wine_fn_config_dll url enable_url implib
17171 wine_fn_config_dll urlmon enable_urlmon clean,implib,po
17172 wine_fn_config_test dlls/urlmon/tests urlmon_test
17173 wine_fn_config_dll usbd.sys enable_usbd_sys implib
17174 wine_fn_config_dll user.exe16 enable_win16
17175 wine_fn_config_dll user32 enable_user32 clean,implib,po
17176 wine_fn_config_test dlls/user32/tests user32_test
17177 wine_fn_config_dll userenv enable_userenv implib
17178 wine_fn_config_test dlls/userenv/tests userenv_test
17179 wine_fn_config_dll usp10 enable_usp10 implib
17180 wine_fn_config_test dlls/usp10/tests usp10_test
17181 wine_fn_config_lib uuid
17182 wine_fn_config_dll uxtheme enable_uxtheme implib
17183 wine_fn_config_test dlls/uxtheme/tests uxtheme_test
17184 wine_fn_config_dll vbscript enable_vbscript clean
17185 wine_fn_config_test dlls/vbscript/tests vbscript_test clean
17186 wine_fn_config_dll vcomp enable_vcomp
17187 wine_fn_config_dll vcomp100 enable_vcomp100
17188 wine_fn_config_dll vcomp90 enable_vcomp90
17189 wine_fn_config_dll vdhcp.vxd enable_win16
17190 wine_fn_config_dll vdmdbg enable_vdmdbg implib
17191 wine_fn_config_dll ver.dll16 enable_win16
17192 wine_fn_config_dll version enable_version implib
17193 wine_fn_config_test dlls/version/tests version_test
17194 wine_fn_config_dll vmm.vxd enable_win16
17195 wine_fn_config_dll vnbt.vxd enable_win16
17196 wine_fn_config_dll vnetbios.vxd enable_win16
17197 wine_fn_config_dll vtdapi.vxd enable_win16
17198 wine_fn_config_dll vwin32.vxd enable_win16
17199 wine_fn_config_dll w32skrnl enable_win16
17200 wine_fn_config_dll w32sys.dll16 enable_win16
17201 wine_fn_config_dll wbemdisp enable_wbemdisp clean
17202 wine_fn_config_dll wbemprox enable_wbemprox clean
17203 wine_fn_config_test dlls/wbemprox/tests wbemprox_test
17204 wine_fn_config_dll webservices enable_webservices implib
17205 wine_fn_config_dll wer enable_wer implib
17206 wine_fn_config_test dlls/wer/tests wer_test
17207 wine_fn_config_dll wevtapi enable_wevtapi
17208 wine_fn_config_dll wiaservc enable_wiaservc clean
17209 wine_fn_config_dll win32s16.dll16 enable_win16
17210 wine_fn_config_dll win87em.dll16 enable_win16
17211 wine_fn_config_dll winaspi.dll16 enable_win16
17212 wine_fn_config_dll windebug.dll16 enable_win16
17213 wine_fn_config_dll windowscodecs enable_windowscodecs clean,implib
17214 wine_fn_config_test dlls/windowscodecs/tests windowscodecs_test
17215 wine_fn_config_dll windowscodecsext enable_windowscodecsext implib
17216 wine_fn_config_test dlls/windowscodecsext/tests windowscodecsext_test
17217 wine_fn_config_dll winealsa.drv enable_winealsa_drv
17218 wine_fn_config_dll winecoreaudio.drv enable_winecoreaudio_drv
17219 wine_fn_config_lib winecrt0
17220 wine_fn_config_dll wined3d enable_wined3d implib
17221 wine_fn_config_dll winegstreamer enable_winegstreamer
17222 wine_fn_config_dll winejoystick.drv enable_winejoystick_drv
17223 wine_fn_config_dll winemac.drv enable_winemac_drv
17224 wine_fn_config_dll winemapi enable_winemapi
17225 wine_fn_config_dll winemp3.acm enable_winemp3_acm
17226 wine_fn_config_dll wineoss.drv enable_wineoss_drv
17227 wine_fn_config_dll wineps.drv enable_wineps_drv clean,po
17228 wine_fn_config_dll wineps16.drv16 enable_win16
17229 wine_fn_config_dll wineqtdecoder enable_wineqtdecoder
17230 wine_fn_config_dll winex11.drv enable_winex11_drv
17231 wine_fn_config_dll wing.dll16 enable_win16
17232 wine_fn_config_dll wing32 enable_wing32
17233 wine_fn_config_dll winhttp enable_winhttp clean,implib
17234 wine_fn_config_test dlls/winhttp/tests winhttp_test
17235 wine_fn_config_dll wininet enable_wininet implib,po
17236 wine_fn_config_test dlls/wininet/tests wininet_test
17237 wine_fn_config_dll winmm enable_winmm implib,po
17238 wine_fn_config_test dlls/winmm/tests winmm_test
17239 wine_fn_config_dll winnls.dll16 enable_win16
17240 wine_fn_config_dll winnls32 enable_winnls32 implib
17241 wine_fn_config_dll winscard enable_winscard implib
17242 wine_fn_config_dll winsock.dll16 enable_win16
17243 wine_fn_config_dll winspool.drv enable_winspool_drv implib,po winspool
17244 wine_fn_config_test dlls/winspool.drv/tests winspool.drv_test
17245 wine_fn_config_dll winsta enable_winsta
17246 wine_fn_config_dll wintab.dll16 enable_win16
17247 wine_fn_config_dll wintab32 enable_wintab32 implib
17248 wine_fn_config_test dlls/wintab32/tests wintab32_test
17249 wine_fn_config_dll wintrust enable_wintrust implib
17250 wine_fn_config_test dlls/wintrust/tests wintrust_test
17251 wine_fn_config_dll wlanapi enable_wlanapi
17252 wine_fn_config_dll wldap32 enable_wldap32 implib,po
17253 wine_fn_config_test dlls/wldap32/tests wldap32_test
17254 wine_fn_config_dll wmi enable_wmi
17255 wine_fn_config_dll wmiutils enable_wmiutils clean
17256 wine_fn_config_test dlls/wmiutils/tests wmiutils_test
17257 wine_fn_config_dll wmp enable_wmp clean
17258 wine_fn_config_test dlls/wmp/tests wmp_test
17259 wine_fn_config_dll wmvcore enable_wmvcore
17260 wine_fn_config_dll wnaspi32 enable_wnaspi32 implib
17261 wine_fn_config_dll wow32 enable_win16 implib
17262 wine_fn_config_dll ws2_32 enable_ws2_32 implib
17263 wine_fn_config_test dlls/ws2_32/tests ws2_32_test
17264 wine_fn_config_dll wshom.ocx enable_wshom_ocx clean
17265 wine_fn_config_test dlls/wshom.ocx/tests wshom.ocx_test clean
17266 wine_fn_config_dll wsnmp32 enable_wsnmp32 implib
17267 wine_fn_config_test dlls/wsnmp32/tests wsnmp32_test
17268 wine_fn_config_dll wsock32 enable_wsock32 implib
17269 wine_fn_config_dll wtsapi32 enable_wtsapi32 implib
17270 wine_fn_config_test dlls/wtsapi32/tests wtsapi32_test
17271 wine_fn_config_dll wuapi enable_wuapi clean
17272 wine_fn_config_dll wuaueng enable_wuaueng
17273 wine_fn_config_dll xapofx1_1 enable_xapofx1_1
17274 wine_fn_config_dll xinput1_1 enable_xinput1_1
17275 wine_fn_config_dll xinput1_2 enable_xinput1_2
17276 wine_fn_config_dll xinput1_3 enable_xinput1_3 implib xinput
17277 wine_fn_config_test dlls/xinput1_3/tests xinput1_3_test
17278 wine_fn_config_dll xinput1_4 enable_xinput1_4
17279 wine_fn_config_dll xinput9_1_0 enable_xinput9_1_0
17280 wine_fn_config_dll xmllite enable_xmllite implib
17281 wine_fn_config_test dlls/xmllite/tests xmllite_test
17282 wine_fn_config_dll xolehlp enable_xolehlp
17283 wine_fn_config_dll xpsprint enable_xpsprint
17284 wine_fn_config_dll xpssvcs enable_xpssvcs
17285 wine_fn_config_makefile documentation enable_documentation clean
17286 wine_fn_config_makefile fonts enable_fonts clean,install-lib
17287 wine_fn_config_makefile include enable_include clean,install-dev
17288 wine_fn_config_makefile libs/port enable_libs_port
17289 wine_fn_config_makefile libs/wine enable_libs_wine clean,install-dev,install-lib
17290 wine_fn_config_makefile libs/wpp enable_libs_wpp
17291 wine_fn_config_makefile loader enable_loader clean,install-lib,manpage
17292 wine_fn_config_program arp enable_arp install
17293 wine_fn_config_program aspnet_regiis enable_aspnet_regiis install
17294 wine_fn_config_program attrib enable_attrib install,po
17295 wine_fn_config_program cabarc enable_cabarc install
17296 wine_fn_config_program cacls enable_cacls install
17297 wine_fn_config_program clock enable_clock install,po
17298 wine_fn_config_program cmd enable_cmd install,po
17299 wine_fn_config_test programs/cmd/tests cmd.exe_test
17300 wine_fn_config_program conhost enable_conhost install
17301 wine_fn_config_program control enable_control install
17302 wine_fn_config_program cscript enable_cscript install
17303 wine_fn_config_program dpnsvr enable_dpnsvr install
17304 wine_fn_config_program dxdiag enable_dxdiag install,po
17305 wine_fn_config_program eject enable_eject install
17306 wine_fn_config_program expand enable_expand install
17307 wine_fn_config_program explorer enable_explorer install,po
17308 wine_fn_config_program extrac32 enable_extrac32 install
17309 wine_fn_config_program findstr enable_findstr install
17310 wine_fn_config_program hh enable_hh install
17311 wine_fn_config_program hostname enable_hostname install,po
17312 wine_fn_config_program icinfo enable_icinfo install
17313 wine_fn_config_program iexplore enable_iexplore install
17314 wine_fn_config_program ipconfig enable_ipconfig install,po
17315 wine_fn_config_program lodctr enable_lodctr install
17316 wine_fn_config_program mofcomp enable_mofcomp install
17317 wine_fn_config_program mshta enable_mshta install
17318 wine_fn_config_program msiexec enable_msiexec install,installbin,manpage
17319 wine_fn_config_program net enable_net install,po
17320 wine_fn_config_program netsh enable_netsh install
17321 wine_fn_config_program netstat enable_netstat install,po
17322 wine_fn_config_program ngen enable_ngen install
17323 wine_fn_config_program notepad enable_notepad install,installbin,manpage,po
17324 wine_fn_config_program oleview enable_oleview install,po
17325 wine_fn_config_program ping enable_ping install
17326 wine_fn_config_program plugplay enable_plugplay install
17327 wine_fn_config_program presentationfontcache enable_presentationfontcache install
17328 wine_fn_config_program progman enable_progman install,po
17329 wine_fn_config_program reg enable_reg install,po
17330 wine_fn_config_program regasm enable_regasm install
17331 wine_fn_config_program regedit enable_regedit install,installbin,manpage,po
17332 wine_fn_config_test programs/regedit/tests regedit.exe_test
17333 wine_fn_config_program regsvcs enable_regsvcs install
17334 wine_fn_config_program regsvr32 enable_regsvr32 install,installbin,manpage
17335 wine_fn_config_program rpcss enable_rpcss clean,install
17336 wine_fn_config_program rundll.exe16 enable_win16 install
17337 wine_fn_config_program rundll32 enable_rundll32 install
17338 wine_fn_config_program sc enable_sc install
17339 wine_fn_config_program schtasks enable_schtasks install
17340 wine_fn_config_program secedit enable_secedit install
17341 wine_fn_config_program servicemodelreg enable_servicemodelreg install
17342 wine_fn_config_program services enable_services clean,install
17343 wine_fn_config_test programs/services/tests services.exe_test
17344 wine_fn_config_program spoolsv enable_spoolsv install
17345 wine_fn_config_program start enable_start install,po
17346 wine_fn_config_program svchost enable_svchost install
17347 wine_fn_config_program taskkill enable_taskkill install,po
17348 wine_fn_config_program tasklist enable_tasklist install
17349 wine_fn_config_program taskmgr enable_taskmgr install,po
17350 wine_fn_config_program termsv enable_termsv install
17351 wine_fn_config_program uninstaller enable_uninstaller install,po
17352 wine_fn_config_program unlodctr enable_unlodctr install
17353 wine_fn_config_program view enable_view install,po
17354 wine_fn_config_program wevtutil enable_wevtutil install
17355 wine_fn_config_program wineboot enable_wineboot install,installbin,manpage,po
17356 wine_fn_config_program winebrowser enable_winebrowser install
17357 wine_fn_config_program winecfg enable_winecfg install,installbin,manpage,po
17358 wine_fn_config_program wineconsole enable_wineconsole install,installbin,manpage,po
17359 wine_fn_config_program winedbg enable_winedbg install,installbin,manpage,po
17360 wine_fn_config_program winedevice enable_winedevice install
17361 wine_fn_config_program winefile enable_winefile install,installbin,manpage,po
17362 wine_fn_config_program winemenubuilder enable_winemenubuilder install
17363 wine_fn_config_program winemine enable_winemine install,installbin,manpage,po
17364 wine_fn_config_program winemsibuilder enable_winemsibuilder install
17365 wine_fn_config_program winepath enable_winepath install,installbin,manpage
17366 wine_fn_config_program winetest enable_winetest clean
17367 wine_fn_config_program winevdm enable_win16 install
17368 wine_fn_config_program winhelp.exe16 enable_win16 install
17369 wine_fn_config_program winhlp32 enable_winhlp32 install,po
17370 wine_fn_config_program winoldap.mod16 enable_win16 install
17371 wine_fn_config_program winver enable_winver install
17372 wine_fn_config_program wmic enable_wmic install,po
17373 wine_fn_config_program wordpad enable_wordpad install,po
17374 wine_fn_config_program write enable_write install,po
17375 wine_fn_config_program wscript enable_wscript clean,install
17376 wine_fn_config_test programs/wscript/tests wscript.exe_test
17377 wine_fn_config_program wusa enable_wusa install
17378 wine_fn_config_program xcopy enable_xcopy install,po
17379 wine_fn_config_test programs/xcopy/tests xcopy.exe_test
17380 wine_fn_config_makefile server enable_server clean,install-lib,manpage
17381 wine_fn_config_tool tools clean,install-dev,install-lib,manpage
17382 wine_fn_config_tool tools/sfnt2fon clean
17383 wine_fn_config_tool tools/widl clean,install-dev,manpage
17384 wine_fn_config_tool tools/winebuild clean,install-dev,manpage
17385 wine_fn_config_tool tools/winedump clean,install-dev,manpage
17386 wine_fn_config_tool tools/winegcc clean,install-dev,manpage
17387 wine_fn_config_tool tools/wmc clean,install-dev,manpage
17388 wine_fn_config_tool tools/wrc clean,install-dev,manpage
17390 LINGUAS="\
17391 ar \
17392 bg \
17393 ca \
17394 cs \
17395 da \
17396 de \
17397 el \
17398 en \
17399 en_US \
17400 eo \
17401 es \
17402 fa \
17403 fi \
17404 fr \
17405 he \
17406 hi \
17407 hr \
17408 hu \
17409 it \
17410 ja \
17411 ko \
17412 lt \
17413 ml \
17414 nb_NO \
17415 nl \
17416 or \
17417 pa \
17418 pl \
17419 pt_BR \
17420 pt_PT \
17421 rm \
17422 ro \
17423 ru \
17424 sk \
17425 sl \
17426 sr_RS@cyrillic \
17427 sr_RS@latin \
17428 sv \
17429 te \
17430 th \
17431 tr \
17432 uk \
17433 wa \
17434 zh_CN \
17435 zh_TW"
17440 wine_fn_ignore_file ".gitignore"
17441 wine_fn_ignore_file "Makefile"
17442 wine_fn_ignore_file "TAGS"
17443 wine_fn_ignore_file "tags"
17444 wine_fn_ignore_file "autom4te.cache"
17445 wine_fn_ignore_file "config.cache"
17446 wine_fn_ignore_file "config.log"
17447 wine_fn_ignore_file "config.status"
17448 wine_fn_ignore_file "configure.lineno"
17449 wine_fn_ignore_file "include/config.h"
17450 wine_fn_ignore_file "include/stamp-h"
17451 test "$wine_binary" = wine || wine_fn_ignore_file "loader/wine"
17453 if test "x$enable_tools" != xno
17454 then
17455 wine_fn_ignore_file "tools/makedep$ac_exeext"
17456 ac_config_commands="$ac_config_commands tools/makedep"
17460 ac_config_commands="$ac_config_commands Makefile"
17463 ac_config_files="$ac_config_files Make.tmp:Make.vars.in:Makefile.in"
17467 if test "x$enable_maintainer_mode" = xyes
17468 then
17469 wine_fn_append_rule "configure: configure.ac aclocal.m4
17470 autoconf --warnings=all
17471 include/config.h.in: include/stamp-h.in
17472 include/stamp-h.in: configure.ac aclocal.m4
17473 autoheader --warnings=all
17474 @echo timestamp > \$@"
17477 if test "x$with_gettextpo" = xyes
17478 then
17479 test "$srcdir" = . || as_fn_error $? "Rebuilding po files is not supported for out of tree builds." "$LINENO" 5
17480 wine_fn_append_rule "ALL_POT_FILES =$ALL_POT_FILES
17481 \$(LINGUAS:%=po/%.po): po/wine.pot
17482 msgmerge --previous -q \$@ po/wine.pot | msgattrib --no-obsolete -o \$@.new && mv \$@.new \$@
17483 po/wine.pot: \$(ALL_POT_FILES)
17484 msgcat -o \$@ \$(ALL_POT_FILES)"
17487 if test "$MSGFMT" != false
17488 then
17489 wine_fn_append_rule "__builddeps__: \$(LINGUAS:%=po/%.mo)
17490 clean::
17491 \$(RM) \$(LINGUAS:%=po/%.mo)"
17493 posrc="po"
17494 test "$srcdir" = . || posrc="$srcdir/po"
17495 for i in $LINGUAS
17497 wine_fn_ignore_file "po/$i.mo"
17498 wine_fn_append_rule "po/$i.mo: $posrc/$i.po
17499 \$(MSGFMT) -o \$@ $posrc/$i.po"
17500 done
17501 else
17502 LINGUAS=
17505 if test "x$enable_tools" != xno
17506 then
17507 wine_fn_append_rule "tools/makedep$ac_exeext: $srcdir/tools/makedep.c include/config.h config.status
17508 @./config.status tools/makedep
17509 Makefile: tools/makedep$ac_exeext
17510 distclean:: clean
17511 \$(RM) tools/makedep$ac_exeext"
17512 else
17513 wine_fn_append_rule "\$(MAKEDEP):
17514 @echo \"You need to run make in $TOOLSDIR first\" && false"
17517 if test -n "$with_wine64"
17518 then
17519 wine_fn_append_rule "all: fonts server tools $with_wine64/loader/wine $with_wine64/loader/wine-preloader
17520 fonts server tools:
17521 \$(RM) \$@ && \$(LN_S) $with_wine64/\$@ \$@
17522 $with_wine64/loader/wine:
17523 \$(RM) \$@ && \$(LN_S) $ac_pwd/loader/wine \$@
17524 $with_wine64/loader/wine-preloader:
17525 \$(RM) \$@ && \$(LN_S) $ac_pwd/loader/wine-preloader \$@
17526 clean::
17527 \$(RM) fonts server tools $with_wine64/loader/wine $with_wine64/loader/wine-preloader"
17528 else
17529 as_fn_append LOADER_RULES "
17530 all: wine.inf
17532 install install-lib:: wine.inf install-man-pages
17533 \$(INSTALL_DATA) wine.inf \$(DESTDIR)\$(datadir)/wine/wine.inf
17534 \$(INSTALL_DATA) \$(srcdir)/l_intl.nls \$(DESTDIR)\$(datadir)/wine/l_intl.nls
17536 uninstall::
17537 \$(RM) \$(DESTDIR)\$(datadir)/wine/wine.inf \$(DESTDIR)\$(datadir)/wine/l_intl.nls
17541 if test "$srcdir" = .
17542 then
17543 ac_config_commands="$ac_config_commands .gitignore"
17547 $as_echo " done" >&6
17548 cat >confcache <<\_ACEOF
17549 # This file is a shell script that caches the results of configure
17550 # tests run on this system so they can be shared between configure
17551 # scripts and configure runs, see configure's option --config-cache.
17552 # It is not useful on other systems. If it contains results you don't
17553 # want to keep, you may remove or edit it.
17555 # config.status only pays attention to the cache file if you give it
17556 # the --recheck option to rerun configure.
17558 # `ac_cv_env_foo' variables (set or unset) will be overridden when
17559 # loading this file, other *unset* `ac_cv_foo' will be assigned the
17560 # following values.
17562 _ACEOF
17564 # The following way of writing the cache mishandles newlines in values,
17565 # but we know of no workaround that is simple, portable, and efficient.
17566 # So, we kill variables containing newlines.
17567 # Ultrix sh set writes to stderr and can't be redirected directly,
17568 # and sets the high bit in the cache file unless we assign to the vars.
17570 for ac_var in `(set) 2>&1 | sed -n 's/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'`; do
17571 eval ac_val=\$$ac_var
17572 case $ac_val in #(
17573 *${as_nl}*)
17574 case $ac_var in #(
17575 *_cv_*) { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: cache variable $ac_var contains a newline" >&5
17576 $as_echo "$as_me: WARNING: cache variable $ac_var contains a newline" >&2;} ;;
17577 esac
17578 case $ac_var in #(
17579 _ | IFS | as_nl) ;; #(
17580 BASH_ARGV | BASH_SOURCE) eval $ac_var= ;; #(
17581 *) { eval $ac_var=; unset $ac_var;} ;;
17582 esac ;;
17583 esac
17584 done
17586 (set) 2>&1 |
17587 case $as_nl`(ac_space=' '; set) 2>&1` in #(
17588 *${as_nl}ac_space=\ *)
17589 # `set' does not quote correctly, so add quotes: double-quote
17590 # substitution turns \\\\ into \\, and sed turns \\ into \.
17591 sed -n \
17592 "s/'/'\\\\''/g;
17593 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\\2'/p"
17594 ;; #(
17596 # `set' quotes correctly as required by POSIX, so do not add quotes.
17597 sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
17599 esac |
17600 sort
17602 sed '
17603 /^ac_cv_env_/b end
17604 t clear
17605 :clear
17606 s/^\([^=]*\)=\(.*[{}].*\)$/test "${\1+set}" = set || &/
17607 t end
17608 s/^\([^=]*\)=\(.*\)$/\1=${\1=\2}/
17609 :end' >>confcache
17610 if diff "$cache_file" confcache >/dev/null 2>&1; then :; else
17611 if test -w "$cache_file"; then
17612 if test "x$cache_file" != "x/dev/null"; then
17613 { $as_echo "$as_me:${as_lineno-$LINENO}: updating cache $cache_file" >&5
17614 $as_echo "$as_me: updating cache $cache_file" >&6;}
17615 if test ! -f "$cache_file" || test -h "$cache_file"; then
17616 cat confcache >"$cache_file"
17617 else
17618 case $cache_file in #(
17619 */* | ?:*)
17620 mv -f confcache "$cache_file"$$ &&
17621 mv -f "$cache_file"$$ "$cache_file" ;; #(
17623 mv -f confcache "$cache_file" ;;
17624 esac
17627 else
17628 { $as_echo "$as_me:${as_lineno-$LINENO}: not updating unwritable cache $cache_file" >&5
17629 $as_echo "$as_me: not updating unwritable cache $cache_file" >&6;}
17632 rm -f confcache
17634 test "x$prefix" = xNONE && prefix=$ac_default_prefix
17635 # Let make expand exec_prefix.
17636 test "x$exec_prefix" = xNONE && exec_prefix='${prefix}'
17638 DEFS=-DHAVE_CONFIG_H
17640 ac_libobjs=
17641 ac_ltlibobjs=
17643 for ac_i in : $LIBOBJS; do test "x$ac_i" = x: && continue
17644 # 1. Remove the extension, and $U if already installed.
17645 ac_script='s/\$U\././;s/\.o$//;s/\.obj$//'
17646 ac_i=`$as_echo "$ac_i" | sed "$ac_script"`
17647 # 2. Prepend LIBOBJDIR. When used with automake>=1.10 LIBOBJDIR
17648 # will be set to the directory where LIBOBJS objects are built.
17649 as_fn_append ac_libobjs " \${LIBOBJDIR}$ac_i\$U.$ac_objext"
17650 as_fn_append ac_ltlibobjs " \${LIBOBJDIR}$ac_i"'$U.lo'
17651 done
17652 LIBOBJS=$ac_libobjs
17654 LTLIBOBJS=$ac_ltlibobjs
17658 : "${CONFIG_STATUS=./config.status}"
17659 ac_write_fail=0
17660 ac_clean_files_save=$ac_clean_files
17661 ac_clean_files="$ac_clean_files $CONFIG_STATUS"
17662 { $as_echo "$as_me:${as_lineno-$LINENO}: creating $CONFIG_STATUS" >&5
17663 $as_echo "$as_me: creating $CONFIG_STATUS" >&6;}
17664 as_write_fail=0
17665 cat >$CONFIG_STATUS <<_ASEOF || as_write_fail=1
17666 #! $SHELL
17667 # Generated by $as_me.
17668 # Run this file to recreate the current configuration.
17669 # Compiler output produced by configure, useful for debugging
17670 # configure, is in config.log if it exists.
17672 debug=false
17673 ac_cs_recheck=false
17674 ac_cs_silent=false
17676 SHELL=\${CONFIG_SHELL-$SHELL}
17677 export SHELL
17678 _ASEOF
17679 cat >>$CONFIG_STATUS <<\_ASEOF || as_write_fail=1
17680 ## -------------------- ##
17681 ## M4sh Initialization. ##
17682 ## -------------------- ##
17684 # Be more Bourne compatible
17685 DUALCASE=1; export DUALCASE # for MKS sh
17686 if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then :
17687 emulate sh
17688 NULLCMD=:
17689 # Pre-4.2 versions of Zsh do word splitting on ${1+"$@"}, which
17690 # is contrary to our usage. Disable this feature.
17691 alias -g '${1+"$@"}'='"$@"'
17692 setopt NO_GLOB_SUBST
17693 else
17694 case `(set -o) 2>/dev/null` in #(
17695 *posix*) :
17696 set -o posix ;; #(
17697 *) :
17699 esac
17703 as_nl='
17705 export as_nl
17706 # Printing a long string crashes Solaris 7 /usr/bin/printf.
17707 as_echo='\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\'
17708 as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo
17709 as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo$as_echo
17710 # Prefer a ksh shell builtin over an external printf program on Solaris,
17711 # but without wasting forks for bash or zsh.
17712 if test -z "$BASH_VERSION$ZSH_VERSION" \
17713 && (test "X`print -r -- $as_echo`" = "X$as_echo") 2>/dev/null; then
17714 as_echo='print -r --'
17715 as_echo_n='print -rn --'
17716 elif (test "X`printf %s $as_echo`" = "X$as_echo") 2>/dev/null; then
17717 as_echo='printf %s\n'
17718 as_echo_n='printf %s'
17719 else
17720 if test "X`(/usr/ucb/echo -n -n $as_echo) 2>/dev/null`" = "X-n $as_echo"; then
17721 as_echo_body='eval /usr/ucb/echo -n "$1$as_nl"'
17722 as_echo_n='/usr/ucb/echo -n'
17723 else
17724 as_echo_body='eval expr "X$1" : "X\\(.*\\)"'
17725 as_echo_n_body='eval
17726 arg=$1;
17727 case $arg in #(
17728 *"$as_nl"*)
17729 expr "X$arg" : "X\\(.*\\)$as_nl";
17730 arg=`expr "X$arg" : ".*$as_nl\\(.*\\)"`;;
17731 esac;
17732 expr "X$arg" : "X\\(.*\\)" | tr -d "$as_nl"
17734 export as_echo_n_body
17735 as_echo_n='sh -c $as_echo_n_body as_echo'
17737 export as_echo_body
17738 as_echo='sh -c $as_echo_body as_echo'
17741 # The user is always right.
17742 if test "${PATH_SEPARATOR+set}" != set; then
17743 PATH_SEPARATOR=:
17744 (PATH='/bin;/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 && {
17745 (PATH='/bin:/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 ||
17746 PATH_SEPARATOR=';'
17751 # IFS
17752 # We need space, tab and new line, in precisely that order. Quoting is
17753 # there to prevent editors from complaining about space-tab.
17754 # (If _AS_PATH_WALK were called with IFS unset, it would disable word
17755 # splitting by setting IFS to empty value.)
17756 IFS=" "" $as_nl"
17758 # Find who we are. Look in the path if we contain no directory separator.
17759 as_myself=
17760 case $0 in #((
17761 *[\\/]* ) as_myself=$0 ;;
17762 *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
17763 for as_dir in $PATH
17765 IFS=$as_save_IFS
17766 test -z "$as_dir" && as_dir=.
17767 test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break
17768 done
17769 IFS=$as_save_IFS
17772 esac
17773 # We did not find ourselves, most probably we were run as `sh COMMAND'
17774 # in which case we are not to be found in the path.
17775 if test "x$as_myself" = x; then
17776 as_myself=$0
17778 if test ! -f "$as_myself"; then
17779 $as_echo "$as_myself: error: cannot find myself; rerun with an absolute file name" >&2
17780 exit 1
17783 # Unset variables that we do not need and which cause bugs (e.g. in
17784 # pre-3.0 UWIN ksh). But do not cause bugs in bash 2.01; the "|| exit 1"
17785 # suppresses any "Segmentation fault" message there. '((' could
17786 # trigger a bug in pdksh 5.2.14.
17787 for as_var in BASH_ENV ENV MAIL MAILPATH
17788 do eval test x\${$as_var+set} = xset \
17789 && ( (unset $as_var) || exit 1) >/dev/null 2>&1 && unset $as_var || :
17790 done
17791 PS1='$ '
17792 PS2='> '
17793 PS4='+ '
17795 # NLS nuisances.
17796 LC_ALL=C
17797 export LC_ALL
17798 LANGUAGE=C
17799 export LANGUAGE
17801 # CDPATH.
17802 (unset CDPATH) >/dev/null 2>&1 && unset CDPATH
17805 # as_fn_error STATUS ERROR [LINENO LOG_FD]
17806 # ----------------------------------------
17807 # Output "`basename $0`: error: ERROR" to stderr. If LINENO and LOG_FD are
17808 # provided, also output the error to LOG_FD, referencing LINENO. Then exit the
17809 # script with STATUS, using 1 if that was 0.
17810 as_fn_error ()
17812 as_status=$1; test $as_status -eq 0 && as_status=1
17813 if test "$4"; then
17814 as_lineno=${as_lineno-"$3"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
17815 $as_echo "$as_me:${as_lineno-$LINENO}: error: $2" >&$4
17817 $as_echo "$as_me: error: $2" >&2
17818 as_fn_exit $as_status
17819 } # as_fn_error
17822 # as_fn_set_status STATUS
17823 # -----------------------
17824 # Set $? to STATUS, without forking.
17825 as_fn_set_status ()
17827 return $1
17828 } # as_fn_set_status
17830 # as_fn_exit STATUS
17831 # -----------------
17832 # Exit the shell with STATUS, even in a "trap 0" or "set -e" context.
17833 as_fn_exit ()
17835 set +e
17836 as_fn_set_status $1
17837 exit $1
17838 } # as_fn_exit
17840 # as_fn_unset VAR
17841 # ---------------
17842 # Portably unset VAR.
17843 as_fn_unset ()
17845 { eval $1=; unset $1;}
17847 as_unset=as_fn_unset
17848 # as_fn_append VAR VALUE
17849 # ----------------------
17850 # Append the text in VALUE to the end of the definition contained in VAR. Take
17851 # advantage of any shell optimizations that allow amortized linear growth over
17852 # repeated appends, instead of the typical quadratic growth present in naive
17853 # implementations.
17854 if (eval "as_var=1; as_var+=2; test x\$as_var = x12") 2>/dev/null; then :
17855 eval 'as_fn_append ()
17857 eval $1+=\$2
17859 else
17860 as_fn_append ()
17862 eval $1=\$$1\$2
17864 fi # as_fn_append
17866 # as_fn_arith ARG...
17867 # ------------------
17868 # Perform arithmetic evaluation on the ARGs, and store the result in the
17869 # global $as_val. Take advantage of shells that can avoid forks. The arguments
17870 # must be portable across $(()) and expr.
17871 if (eval "test \$(( 1 + 1 )) = 2") 2>/dev/null; then :
17872 eval 'as_fn_arith ()
17874 as_val=$(( $* ))
17876 else
17877 as_fn_arith ()
17879 as_val=`expr "$@" || test $? -eq 1`
17881 fi # as_fn_arith
17884 if expr a : '\(a\)' >/dev/null 2>&1 &&
17885 test "X`expr 00001 : '.*\(...\)'`" = X001; then
17886 as_expr=expr
17887 else
17888 as_expr=false
17891 if (basename -- /) >/dev/null 2>&1 && test "X`basename -- / 2>&1`" = "X/"; then
17892 as_basename=basename
17893 else
17894 as_basename=false
17897 if (as_dir=`dirname -- /` && test "X$as_dir" = X/) >/dev/null 2>&1; then
17898 as_dirname=dirname
17899 else
17900 as_dirname=false
17903 as_me=`$as_basename -- "$0" ||
17904 $as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
17905 X"$0" : 'X\(//\)$' \| \
17906 X"$0" : 'X\(/\)' \| . 2>/dev/null ||
17907 $as_echo X/"$0" |
17908 sed '/^.*\/\([^/][^/]*\)\/*$/{
17909 s//\1/
17912 /^X\/\(\/\/\)$/{
17913 s//\1/
17916 /^X\/\(\/\).*/{
17917 s//\1/
17920 s/.*/./; q'`
17922 # Avoid depending upon Character Ranges.
17923 as_cr_letters='abcdefghijklmnopqrstuvwxyz'
17924 as_cr_LETTERS='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
17925 as_cr_Letters=$as_cr_letters$as_cr_LETTERS
17926 as_cr_digits='0123456789'
17927 as_cr_alnum=$as_cr_Letters$as_cr_digits
17929 ECHO_C= ECHO_N= ECHO_T=
17930 case `echo -n x` in #(((((
17931 -n*)
17932 case `echo 'xy\c'` in
17933 *c*) ECHO_T=' ';; # ECHO_T is single tab character.
17934 xy) ECHO_C='\c';;
17935 *) echo `echo ksh88 bug on AIX 6.1` > /dev/null
17936 ECHO_T=' ';;
17937 esac;;
17939 ECHO_N='-n';;
17940 esac
17942 rm -f conf$$ conf$$.exe conf$$.file
17943 if test -d conf$$.dir; then
17944 rm -f conf$$.dir/conf$$.file
17945 else
17946 rm -f conf$$.dir
17947 mkdir conf$$.dir 2>/dev/null
17949 if (echo >conf$$.file) 2>/dev/null; then
17950 if ln -s conf$$.file conf$$ 2>/dev/null; then
17951 as_ln_s='ln -s'
17952 # ... but there are two gotchas:
17953 # 1) On MSYS, both `ln -s file dir' and `ln file dir' fail.
17954 # 2) DJGPP < 2.04 has no symlinks; `ln -s' creates a wrapper executable.
17955 # In both cases, we have to default to `cp -pR'.
17956 ln -s conf$$.file conf$$.dir 2>/dev/null && test ! -f conf$$.exe ||
17957 as_ln_s='cp -pR'
17958 elif ln conf$$.file conf$$ 2>/dev/null; then
17959 as_ln_s=ln
17960 else
17961 as_ln_s='cp -pR'
17963 else
17964 as_ln_s='cp -pR'
17966 rm -f conf$$ conf$$.exe conf$$.dir/conf$$.file conf$$.file
17967 rmdir conf$$.dir 2>/dev/null
17970 # as_fn_mkdir_p
17971 # -------------
17972 # Create "$as_dir" as a directory, including parents if necessary.
17973 as_fn_mkdir_p ()
17976 case $as_dir in #(
17977 -*) as_dir=./$as_dir;;
17978 esac
17979 test -d "$as_dir" || eval $as_mkdir_p || {
17980 as_dirs=
17981 while :; do
17982 case $as_dir in #(
17983 *\'*) as_qdir=`$as_echo "$as_dir" | sed "s/'/'\\\\\\\\''/g"`;; #'(
17984 *) as_qdir=$as_dir;;
17985 esac
17986 as_dirs="'$as_qdir' $as_dirs"
17987 as_dir=`$as_dirname -- "$as_dir" ||
17988 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
17989 X"$as_dir" : 'X\(//\)[^/]' \| \
17990 X"$as_dir" : 'X\(//\)$' \| \
17991 X"$as_dir" : 'X\(/\)' \| . 2>/dev/null ||
17992 $as_echo X"$as_dir" |
17993 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
17994 s//\1/
17997 /^X\(\/\/\)[^/].*/{
17998 s//\1/
18001 /^X\(\/\/\)$/{
18002 s//\1/
18005 /^X\(\/\).*/{
18006 s//\1/
18009 s/.*/./; q'`
18010 test -d "$as_dir" && break
18011 done
18012 test -z "$as_dirs" || eval "mkdir $as_dirs"
18013 } || test -d "$as_dir" || as_fn_error $? "cannot create directory $as_dir"
18016 } # as_fn_mkdir_p
18017 if mkdir -p . 2>/dev/null; then
18018 as_mkdir_p='mkdir -p "$as_dir"'
18019 else
18020 test -d ./-p && rmdir ./-p
18021 as_mkdir_p=false
18025 # as_fn_executable_p FILE
18026 # -----------------------
18027 # Test if FILE is an executable regular file.
18028 as_fn_executable_p ()
18030 test -f "$1" && test -x "$1"
18031 } # as_fn_executable_p
18032 as_test_x='test -x'
18033 as_executable_p=as_fn_executable_p
18035 # Sed expression to map a string onto a valid CPP name.
18036 as_tr_cpp="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'"
18038 # Sed expression to map a string onto a valid variable name.
18039 as_tr_sh="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'"
18042 exec 6>&1
18043 ## ----------------------------------- ##
18044 ## Main body of $CONFIG_STATUS script. ##
18045 ## ----------------------------------- ##
18046 _ASEOF
18047 test $as_write_fail = 0 && chmod +x $CONFIG_STATUS || ac_write_fail=1
18049 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
18050 # Save the log message, to keep $0 and so on meaningful, and to
18051 # report actual input values of CONFIG_FILES etc. instead of their
18052 # values after options handling.
18053 ac_log="
18054 This file was extended by Wine $as_me 1.7.15, which was
18055 generated by GNU Autoconf 2.69. Invocation command line was
18057 CONFIG_FILES = $CONFIG_FILES
18058 CONFIG_HEADERS = $CONFIG_HEADERS
18059 CONFIG_LINKS = $CONFIG_LINKS
18060 CONFIG_COMMANDS = $CONFIG_COMMANDS
18061 $ $0 $@
18063 on `(hostname || uname -n) 2>/dev/null | sed 1q`
18066 _ACEOF
18068 case $ac_config_files in *"
18069 "*) set x $ac_config_files; shift; ac_config_files=$*;;
18070 esac
18072 case $ac_config_headers in *"
18073 "*) set x $ac_config_headers; shift; ac_config_headers=$*;;
18074 esac
18077 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
18078 # Files that config.status was made for.
18079 config_files="$ac_config_files"
18080 config_headers="$ac_config_headers"
18081 config_links="$ac_config_links"
18082 config_commands="$ac_config_commands"
18084 _ACEOF
18086 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
18087 ac_cs_usage="\
18088 \`$as_me' instantiates files and other configuration actions
18089 from templates according to the current configuration. Unless the files
18090 and actions are specified as TAGs, all are instantiated by default.
18092 Usage: $0 [OPTION]... [TAG]...
18094 -h, --help print this help, then exit
18095 -V, --version print version number and configuration settings, then exit
18096 --config print configuration, then exit
18097 -q, --quiet, --silent
18098 do not print progress messages
18099 -d, --debug don't remove temporary files
18100 --recheck update $as_me by reconfiguring in the same conditions
18101 --file=FILE[:TEMPLATE]
18102 instantiate the configuration file FILE
18103 --header=FILE[:TEMPLATE]
18104 instantiate the configuration header FILE
18106 Configuration files:
18107 $config_files
18109 Configuration headers:
18110 $config_headers
18112 Configuration links:
18113 $config_links
18115 Configuration commands:
18116 $config_commands
18118 Report bugs to <wine-devel@winehq.org>.
18119 Wine home page: <http://www.winehq.org>."
18121 _ACEOF
18122 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
18123 ac_cs_config="`$as_echo "$ac_configure_args" | sed 's/^ //; s/[\\""\`\$]/\\\\&/g'`"
18124 ac_cs_version="\\
18125 Wine config.status 1.7.15
18126 configured by $0, generated by GNU Autoconf 2.69,
18127 with options \\"\$ac_cs_config\\"
18129 Copyright (C) 2012 Free Software Foundation, Inc.
18130 This config.status script is free software; the Free Software Foundation
18131 gives unlimited permission to copy, distribute and modify it."
18133 ac_pwd='$ac_pwd'
18134 srcdir='$srcdir'
18135 test -n "\$AWK" || AWK=awk
18136 _ACEOF
18138 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
18139 # The default lists apply if the user does not specify any file.
18140 ac_need_defaults=:
18141 while test $# != 0
18143 case $1 in
18144 --*=?*)
18145 ac_option=`expr "X$1" : 'X\([^=]*\)='`
18146 ac_optarg=`expr "X$1" : 'X[^=]*=\(.*\)'`
18147 ac_shift=:
18149 --*=)
18150 ac_option=`expr "X$1" : 'X\([^=]*\)='`
18151 ac_optarg=
18152 ac_shift=:
18155 ac_option=$1
18156 ac_optarg=$2
18157 ac_shift=shift
18159 esac
18161 case $ac_option in
18162 # Handling of the options.
18163 -recheck | --recheck | --rechec | --reche | --rech | --rec | --re | --r)
18164 ac_cs_recheck=: ;;
18165 --version | --versio | --versi | --vers | --ver | --ve | --v | -V )
18166 $as_echo "$ac_cs_version"; exit ;;
18167 --config | --confi | --conf | --con | --co | --c )
18168 $as_echo "$ac_cs_config"; exit ;;
18169 --debug | --debu | --deb | --de | --d | -d )
18170 debug=: ;;
18171 --file | --fil | --fi | --f )
18172 $ac_shift
18173 case $ac_optarg in
18174 *\'*) ac_optarg=`$as_echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"` ;;
18175 '') as_fn_error $? "missing file argument" ;;
18176 esac
18177 as_fn_append CONFIG_FILES " '$ac_optarg'"
18178 ac_need_defaults=false;;
18179 --header | --heade | --head | --hea )
18180 $ac_shift
18181 case $ac_optarg in
18182 *\'*) ac_optarg=`$as_echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"` ;;
18183 esac
18184 as_fn_append CONFIG_HEADERS " '$ac_optarg'"
18185 ac_need_defaults=false;;
18186 --he | --h)
18187 # Conflict between --help and --header
18188 as_fn_error $? "ambiguous option: \`$1'
18189 Try \`$0 --help' for more information.";;
18190 --help | --hel | -h )
18191 $as_echo "$ac_cs_usage"; exit ;;
18192 -q | -quiet | --quiet | --quie | --qui | --qu | --q \
18193 | -silent | --silent | --silen | --sile | --sil | --si | --s)
18194 ac_cs_silent=: ;;
18196 # This is an error.
18197 -*) as_fn_error $? "unrecognized option: \`$1'
18198 Try \`$0 --help' for more information." ;;
18200 *) as_fn_append ac_config_targets " $1"
18201 ac_need_defaults=false ;;
18203 esac
18204 shift
18205 done
18207 ac_configure_extra_args=
18209 if $ac_cs_silent; then
18210 exec 6>/dev/null
18211 ac_configure_extra_args="$ac_configure_extra_args --silent"
18214 _ACEOF
18215 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
18216 if \$ac_cs_recheck; then
18217 set X $SHELL '$0' $ac_configure_args \$ac_configure_extra_args --no-create --no-recursion
18218 shift
18219 \$as_echo "running CONFIG_SHELL=$SHELL \$*" >&6
18220 CONFIG_SHELL='$SHELL'
18221 export CONFIG_SHELL
18222 exec "\$@"
18225 _ACEOF
18226 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
18227 exec 5>>config.log
18229 echo
18230 sed 'h;s/./-/g;s/^.../## /;s/...$/ ##/;p;x;p;x' <<_ASBOX
18231 ## Running $as_me. ##
18232 _ASBOX
18233 $as_echo "$ac_log"
18234 } >&5
18236 _ACEOF
18237 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
18239 # INIT-COMMANDS
18241 wine_fn_output_makedep ()
18243 as_dir=tools; as_fn_mkdir_p
18244 $CC -Iinclude -I$srcdir/include -D__WINESRC__ $EXTRACFLAGS $CPPFLAGS $CFLAGS -o tools/makedep$ac_exeext $srcdir/tools/makedep.c $LDFLAGS
18246 wine_fn_output_makefile ()
18248 cat Make.tmp - <<\_WINE_EOF >\$tmp/makefile && mv -f \$tmp/makefile \$1 && rm -f Make.tmp && "$wine_makedep" . && return
18249 `cat $wine_rules_file`
18250 _WINE_EOF
18251 as_fn_error $? "could not create Makefile" "$LINENO" 5
18253 wine_fn_output_gitignore ()
18255 sort <<\_WINE_EOF >\$tmp/gitignore && mv -f \$tmp/gitignore \$1 && return
18256 $GITIGNORE
18257 _WINE_EOF
18258 as_fn_error $? "could not create .gitignore" "$LINENO" 5
18261 _ACEOF
18263 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
18265 # Handling of arguments.
18266 for ac_config_target in $ac_config_targets
18268 case $ac_config_target in
18269 "include/config.h") CONFIG_HEADERS="$CONFIG_HEADERS include/config.h" ;;
18270 "include/stamp-h") CONFIG_COMMANDS="$CONFIG_COMMANDS include/stamp-h" ;;
18271 "fonts/marlett.ttf") CONFIG_LINKS="$CONFIG_LINKS fonts/marlett.ttf:fonts/marlett.ttf" ;;
18272 "fonts/symbol.ttf") CONFIG_LINKS="$CONFIG_LINKS fonts/symbol.ttf:fonts/symbol.ttf" ;;
18273 "fonts/tahoma.ttf") CONFIG_LINKS="$CONFIG_LINKS fonts/tahoma.ttf:fonts/tahoma.ttf" ;;
18274 "fonts/tahomabd.ttf") CONFIG_LINKS="$CONFIG_LINKS fonts/tahomabd.ttf:fonts/tahomabd.ttf" ;;
18275 "loader/l_intl.nls") CONFIG_LINKS="$CONFIG_LINKS loader/l_intl.nls:loader/l_intl.nls" ;;
18276 "po/LINGUAS") CONFIG_LINKS="$CONFIG_LINKS po/LINGUAS:po/LINGUAS" ;;
18277 "wine") CONFIG_LINKS="$CONFIG_LINKS wine:tools/winewrapper" ;;
18278 "wine64") CONFIG_LINKS="$CONFIG_LINKS wine64:tools/winewrapper" ;;
18279 "tools/makedep") CONFIG_COMMANDS="$CONFIG_COMMANDS tools/makedep" ;;
18280 "Makefile") CONFIG_COMMANDS="$CONFIG_COMMANDS Makefile" ;;
18281 "Make.tmp") CONFIG_FILES="$CONFIG_FILES Make.tmp:Make.vars.in:Makefile.in" ;;
18282 ".gitignore") CONFIG_COMMANDS="$CONFIG_COMMANDS .gitignore" ;;
18284 *) as_fn_error $? "invalid argument: \`$ac_config_target'" "$LINENO" 5;;
18285 esac
18286 done
18289 # If the user did not use the arguments to specify the items to instantiate,
18290 # then the envvar interface is used. Set only those that are not.
18291 # We use the long form for the default assignment because of an extremely
18292 # bizarre bug on SunOS 4.1.3.
18293 if $ac_need_defaults; then
18294 test "${CONFIG_FILES+set}" = set || CONFIG_FILES=$config_files
18295 test "${CONFIG_HEADERS+set}" = set || CONFIG_HEADERS=$config_headers
18296 test "${CONFIG_LINKS+set}" = set || CONFIG_LINKS=$config_links
18297 test "${CONFIG_COMMANDS+set}" = set || CONFIG_COMMANDS=$config_commands
18300 # Have a temporary directory for convenience. Make it in the build tree
18301 # simply because there is no reason against having it here, and in addition,
18302 # creating and moving files from /tmp can sometimes cause problems.
18303 # Hook for its removal unless debugging.
18304 # Note that there is a small window in which the directory will not be cleaned:
18305 # after its creation but before its name has been assigned to `$tmp'.
18306 $debug ||
18308 tmp= ac_tmp=
18309 trap 'exit_status=$?
18310 : "${ac_tmp:=$tmp}"
18311 { test ! -d "$ac_tmp" || rm -fr "$ac_tmp"; } && exit $exit_status
18313 trap 'as_fn_exit 1' 1 2 13 15
18315 # Create a (secure) tmp directory for tmp files.
18318 tmp=`(umask 077 && mktemp -d "./confXXXXXX") 2>/dev/null` &&
18319 test -d "$tmp"
18320 } ||
18322 tmp=./conf$$-$RANDOM
18323 (umask 077 && mkdir "$tmp")
18324 } || as_fn_error $? "cannot create a temporary directory in ." "$LINENO" 5
18325 ac_tmp=$tmp
18327 # Set up the scripts for CONFIG_FILES section.
18328 # No need to generate them if there are no CONFIG_FILES.
18329 # This happens for instance with `./config.status config.h'.
18330 if test -n "$CONFIG_FILES"; then
18333 ac_cr=`echo X | tr X '\015'`
18334 # On cygwin, bash can eat \r inside `` if the user requested igncr.
18335 # But we know of no other shell where ac_cr would be empty at this
18336 # point, so we can use a bashism as a fallback.
18337 if test "x$ac_cr" = x; then
18338 eval ac_cr=\$\'\\r\'
18340 ac_cs_awk_cr=`$AWK 'BEGIN { print "a\rb" }' </dev/null 2>/dev/null`
18341 if test "$ac_cs_awk_cr" = "a${ac_cr}b"; then
18342 ac_cs_awk_cr='\\r'
18343 else
18344 ac_cs_awk_cr=$ac_cr
18347 echo 'BEGIN {' >"$ac_tmp/subs1.awk" &&
18348 _ACEOF
18352 echo "cat >conf$$subs.awk <<_ACEOF" &&
18353 echo "$ac_subst_vars" | sed 's/.*/&!$&$ac_delim/' &&
18354 echo "_ACEOF"
18355 } >conf$$subs.sh ||
18356 as_fn_error $? "could not make $CONFIG_STATUS" "$LINENO" 5
18357 ac_delim_num=`echo "$ac_subst_vars" | grep -c '^'`
18358 ac_delim='%!_!# '
18359 for ac_last_try in false false false false false :; do
18360 . ./conf$$subs.sh ||
18361 as_fn_error $? "could not make $CONFIG_STATUS" "$LINENO" 5
18363 ac_delim_n=`sed -n "s/.*$ac_delim\$/X/p" conf$$subs.awk | grep -c X`
18364 if test $ac_delim_n = $ac_delim_num; then
18365 break
18366 elif $ac_last_try; then
18367 as_fn_error $? "could not make $CONFIG_STATUS" "$LINENO" 5
18368 else
18369 ac_delim="$ac_delim!$ac_delim _$ac_delim!! "
18371 done
18372 rm -f conf$$subs.sh
18374 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
18375 cat >>"\$ac_tmp/subs1.awk" <<\\_ACAWK &&
18376 _ACEOF
18377 sed -n '
18379 s/^/S["/; s/!.*/"]=/
18382 s/^[^!]*!//
18383 :repl
18384 t repl
18385 s/'"$ac_delim"'$//
18386 t delim
18389 s/\(.\{148\}\)..*/\1/
18390 t more1
18391 s/["\\]/\\&/g; s/^/"/; s/$/\\n"\\/
18394 b repl
18395 :more1
18396 s/["\\]/\\&/g; s/^/"/; s/$/"\\/
18399 s/.\{148\}//
18400 t nl
18401 :delim
18403 s/\(.\{148\}\)..*/\1/
18404 t more2
18405 s/["\\]/\\&/g; s/^/"/; s/$/"/
18408 :more2
18409 s/["\\]/\\&/g; s/^/"/; s/$/"\\/
18412 s/.\{148\}//
18413 t delim
18414 ' <conf$$subs.awk | sed '
18415 /^[^""]/{
18417 s/\n//
18419 ' >>$CONFIG_STATUS || ac_write_fail=1
18420 rm -f conf$$subs.awk
18421 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
18422 _ACAWK
18423 cat >>"\$ac_tmp/subs1.awk" <<_ACAWK &&
18424 for (key in S) S_is_set[key] = 1
18425 FS = "\a"
18429 line = $ 0
18430 nfields = split(line, field, "@")
18431 substed = 0
18432 len = length(field[1])
18433 for (i = 2; i < nfields; i++) {
18434 key = field[i]
18435 keylen = length(key)
18436 if (S_is_set[key]) {
18437 value = S[key]
18438 line = substr(line, 1, len) "" value "" substr(line, len + keylen + 3)
18439 len += length(value) + length(field[++i])
18440 substed = 1
18441 } else
18442 len += 1 + keylen
18445 print line
18448 _ACAWK
18449 _ACEOF
18450 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
18451 if sed "s/$ac_cr//" < /dev/null > /dev/null 2>&1; then
18452 sed "s/$ac_cr\$//; s/$ac_cr/$ac_cs_awk_cr/g"
18453 else
18455 fi < "$ac_tmp/subs1.awk" > "$ac_tmp/subs.awk" \
18456 || as_fn_error $? "could not setup config files machinery" "$LINENO" 5
18457 _ACEOF
18459 # VPATH may cause trouble with some makes, so we remove sole $(srcdir),
18460 # ${srcdir} and @srcdir@ entries from VPATH if srcdir is ".", strip leading and
18461 # trailing colons and then remove the whole line if VPATH becomes empty
18462 # (actually we leave an empty line to preserve line numbers).
18463 if test "x$srcdir" = x.; then
18464 ac_vpsub='/^[ ]*VPATH[ ]*=[ ]*/{
18466 s///
18467 s/^/:/
18468 s/[ ]*$/:/
18469 s/:\$(srcdir):/:/g
18470 s/:\${srcdir}:/:/g
18471 s/:@srcdir@:/:/g
18472 s/^:*//
18473 s/:*$//
18475 s/\(=[ ]*\).*/\1/
18477 s/\n//
18478 s/^[^=]*=[ ]*$//
18482 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
18483 fi # test -n "$CONFIG_FILES"
18485 # Set up the scripts for CONFIG_HEADERS section.
18486 # No need to generate them if there are no CONFIG_HEADERS.
18487 # This happens for instance with `./config.status Makefile'.
18488 if test -n "$CONFIG_HEADERS"; then
18489 cat >"$ac_tmp/defines.awk" <<\_ACAWK ||
18490 BEGIN {
18491 _ACEOF
18493 # Transform confdefs.h into an awk script `defines.awk', embedded as
18494 # here-document in config.status, that substitutes the proper values into
18495 # config.h.in to produce config.h.
18497 # Create a delimiter string that does not exist in confdefs.h, to ease
18498 # handling of long lines.
18499 ac_delim='%!_!# '
18500 for ac_last_try in false false :; do
18501 ac_tt=`sed -n "/$ac_delim/p" confdefs.h`
18502 if test -z "$ac_tt"; then
18503 break
18504 elif $ac_last_try; then
18505 as_fn_error $? "could not make $CONFIG_HEADERS" "$LINENO" 5
18506 else
18507 ac_delim="$ac_delim!$ac_delim _$ac_delim!! "
18509 done
18511 # For the awk script, D is an array of macro values keyed by name,
18512 # likewise P contains macro parameters if any. Preserve backslash
18513 # newline sequences.
18515 ac_word_re=[_$as_cr_Letters][_$as_cr_alnum]*
18516 sed -n '
18517 s/.\{148\}/&'"$ac_delim"'/g
18518 t rset
18519 :rset
18520 s/^[ ]*#[ ]*define[ ][ ]*/ /
18521 t def
18523 :def
18524 s/\\$//
18525 t bsnl
18526 s/["\\]/\\&/g
18527 s/^ \('"$ac_word_re"'\)\(([^()]*)\)[ ]*\(.*\)/P["\1"]="\2"\
18528 D["\1"]=" \3"/p
18529 s/^ \('"$ac_word_re"'\)[ ]*\(.*\)/D["\1"]=" \2"/p
18531 :bsnl
18532 s/["\\]/\\&/g
18533 s/^ \('"$ac_word_re"'\)\(([^()]*)\)[ ]*\(.*\)/P["\1"]="\2"\
18534 D["\1"]=" \3\\\\\\n"\\/p
18535 t cont
18536 s/^ \('"$ac_word_re"'\)[ ]*\(.*\)/D["\1"]=" \2\\\\\\n"\\/p
18537 t cont
18539 :cont
18541 s/.\{148\}/&'"$ac_delim"'/g
18542 t clear
18543 :clear
18544 s/\\$//
18545 t bsnlc
18546 s/["\\]/\\&/g; s/^/"/; s/$/"/p
18548 :bsnlc
18549 s/["\\]/\\&/g; s/^/"/; s/$/\\\\\\n"\\/p
18550 b cont
18551 ' <confdefs.h | sed '
18552 s/'"$ac_delim"'/"\\\
18553 "/g' >>$CONFIG_STATUS || ac_write_fail=1
18555 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
18556 for (key in D) D_is_set[key] = 1
18557 FS = "\a"
18559 /^[\t ]*#[\t ]*(define|undef)[\t ]+$ac_word_re([\t (]|\$)/ {
18560 line = \$ 0
18561 split(line, arg, " ")
18562 if (arg[1] == "#") {
18563 defundef = arg[2]
18564 mac1 = arg[3]
18565 } else {
18566 defundef = substr(arg[1], 2)
18567 mac1 = arg[2]
18569 split(mac1, mac2, "(") #)
18570 macro = mac2[1]
18571 prefix = substr(line, 1, index(line, defundef) - 1)
18572 if (D_is_set[macro]) {
18573 # Preserve the white space surrounding the "#".
18574 print prefix "define", macro P[macro] D[macro]
18575 next
18576 } else {
18577 # Replace #undef with comments. This is necessary, for example,
18578 # in the case of _POSIX_SOURCE, which is predefined and required
18579 # on some systems where configure will not decide to define it.
18580 if (defundef == "undef") {
18581 print "/*", prefix defundef, macro, "*/"
18582 next
18586 { print }
18587 _ACAWK
18588 _ACEOF
18589 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
18590 as_fn_error $? "could not setup config headers machinery" "$LINENO" 5
18591 fi # test -n "$CONFIG_HEADERS"
18594 eval set X " :F $CONFIG_FILES :H $CONFIG_HEADERS :L $CONFIG_LINKS :C $CONFIG_COMMANDS"
18595 shift
18596 for ac_tag
18598 case $ac_tag in
18599 :[FHLC]) ac_mode=$ac_tag; continue;;
18600 esac
18601 case $ac_mode$ac_tag in
18602 :[FHL]*:*);;
18603 :L* | :C*:*) as_fn_error $? "invalid tag \`$ac_tag'" "$LINENO" 5;;
18604 :[FH]-) ac_tag=-:-;;
18605 :[FH]*) ac_tag=$ac_tag:$ac_tag.in;;
18606 esac
18607 ac_save_IFS=$IFS
18608 IFS=:
18609 set x $ac_tag
18610 IFS=$ac_save_IFS
18611 shift
18612 ac_file=$1
18613 shift
18615 case $ac_mode in
18616 :L) ac_source=$1;;
18617 :[FH])
18618 ac_file_inputs=
18619 for ac_f
18621 case $ac_f in
18622 -) ac_f="$ac_tmp/stdin";;
18623 *) # Look for the file first in the build tree, then in the source tree
18624 # (if the path is not absolute). The absolute path cannot be DOS-style,
18625 # because $ac_f cannot contain `:'.
18626 test -f "$ac_f" ||
18627 case $ac_f in
18628 [\\/$]*) false;;
18629 *) test -f "$srcdir/$ac_f" && ac_f="$srcdir/$ac_f";;
18630 esac ||
18631 as_fn_error 1 "cannot find input file: \`$ac_f'" "$LINENO" 5;;
18632 esac
18633 case $ac_f in *\'*) ac_f=`$as_echo "$ac_f" | sed "s/'/'\\\\\\\\''/g"`;; esac
18634 as_fn_append ac_file_inputs " '$ac_f'"
18635 done
18637 # Let's still pretend it is `configure' which instantiates (i.e., don't
18638 # use $as_me), people would be surprised to read:
18639 # /* config.h. Generated by config.status. */
18640 configure_input='Generated from '`
18641 $as_echo "$*" | sed 's|^[^:]*/||;s|:[^:]*/|, |g'
18642 `' by configure.'
18643 if test x"$ac_file" != x-; then
18644 configure_input="$ac_file. $configure_input"
18645 { $as_echo "$as_me:${as_lineno-$LINENO}: creating $ac_file" >&5
18646 $as_echo "$as_me: creating $ac_file" >&6;}
18648 # Neutralize special characters interpreted by sed in replacement strings.
18649 case $configure_input in #(
18650 *\&* | *\|* | *\\* )
18651 ac_sed_conf_input=`$as_echo "$configure_input" |
18652 sed 's/[\\\\&|]/\\\\&/g'`;; #(
18653 *) ac_sed_conf_input=$configure_input;;
18654 esac
18656 case $ac_tag in
18657 *:-:* | *:-) cat >"$ac_tmp/stdin" \
18658 || as_fn_error $? "could not create $ac_file" "$LINENO" 5 ;;
18659 esac
18661 esac
18663 ac_dir=`$as_dirname -- "$ac_file" ||
18664 $as_expr X"$ac_file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
18665 X"$ac_file" : 'X\(//\)[^/]' \| \
18666 X"$ac_file" : 'X\(//\)$' \| \
18667 X"$ac_file" : 'X\(/\)' \| . 2>/dev/null ||
18668 $as_echo X"$ac_file" |
18669 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
18670 s//\1/
18673 /^X\(\/\/\)[^/].*/{
18674 s//\1/
18677 /^X\(\/\/\)$/{
18678 s//\1/
18681 /^X\(\/\).*/{
18682 s//\1/
18685 s/.*/./; q'`
18686 as_dir="$ac_dir"; as_fn_mkdir_p
18687 ac_builddir=.
18689 case "$ac_dir" in
18690 .) ac_dir_suffix= ac_top_builddir_sub=. ac_top_build_prefix= ;;
18692 ac_dir_suffix=/`$as_echo "$ac_dir" | sed 's|^\.[\\/]||'`
18693 # A ".." for each directory in $ac_dir_suffix.
18694 ac_top_builddir_sub=`$as_echo "$ac_dir_suffix" | sed 's|/[^\\/]*|/..|g;s|/||'`
18695 case $ac_top_builddir_sub in
18696 "") ac_top_builddir_sub=. ac_top_build_prefix= ;;
18697 *) ac_top_build_prefix=$ac_top_builddir_sub/ ;;
18698 esac ;;
18699 esac
18700 ac_abs_top_builddir=$ac_pwd
18701 ac_abs_builddir=$ac_pwd$ac_dir_suffix
18702 # for backward compatibility:
18703 ac_top_builddir=$ac_top_build_prefix
18705 case $srcdir in
18706 .) # We are building in place.
18707 ac_srcdir=.
18708 ac_top_srcdir=$ac_top_builddir_sub
18709 ac_abs_top_srcdir=$ac_pwd ;;
18710 [\\/]* | ?:[\\/]* ) # Absolute name.
18711 ac_srcdir=$srcdir$ac_dir_suffix;
18712 ac_top_srcdir=$srcdir
18713 ac_abs_top_srcdir=$srcdir ;;
18714 *) # Relative name.
18715 ac_srcdir=$ac_top_build_prefix$srcdir$ac_dir_suffix
18716 ac_top_srcdir=$ac_top_build_prefix$srcdir
18717 ac_abs_top_srcdir=$ac_pwd/$srcdir ;;
18718 esac
18719 ac_abs_srcdir=$ac_abs_top_srcdir$ac_dir_suffix
18722 case $ac_mode in
18725 # CONFIG_FILE
18728 _ACEOF
18730 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
18731 # If the template does not know about datarootdir, expand it.
18732 # FIXME: This hack should be removed a few years after 2.60.
18733 ac_datarootdir_hack=; ac_datarootdir_seen=
18734 ac_sed_dataroot='
18735 /datarootdir/ {
18739 /@datadir@/p
18740 /@docdir@/p
18741 /@infodir@/p
18742 /@localedir@/p
18743 /@mandir@/p'
18744 case `eval "sed -n \"\$ac_sed_dataroot\" $ac_file_inputs"` in
18745 *datarootdir*) ac_datarootdir_seen=yes;;
18746 *@datadir@*|*@docdir@*|*@infodir@*|*@localedir@*|*@mandir@*)
18747 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&5
18748 $as_echo "$as_me: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&2;}
18749 _ACEOF
18750 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
18751 ac_datarootdir_hack='
18752 s&@datadir@&$datadir&g
18753 s&@docdir@&$docdir&g
18754 s&@infodir@&$infodir&g
18755 s&@localedir@&$localedir&g
18756 s&@mandir@&$mandir&g
18757 s&\\\${datarootdir}&$datarootdir&g' ;;
18758 esac
18759 _ACEOF
18761 # Neutralize VPATH when `$srcdir' = `.'.
18762 # Shell code in configure.ac might set extrasub.
18763 # FIXME: do we really want to maintain this feature?
18764 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
18765 ac_sed_extra="$ac_vpsub
18766 $extrasub
18767 _ACEOF
18768 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
18770 /@[a-zA-Z_][a-zA-Z_0-9]*@/!b
18771 s|@configure_input@|$ac_sed_conf_input|;t t
18772 s&@top_builddir@&$ac_top_builddir_sub&;t t
18773 s&@top_build_prefix@&$ac_top_build_prefix&;t t
18774 s&@srcdir@&$ac_srcdir&;t t
18775 s&@abs_srcdir@&$ac_abs_srcdir&;t t
18776 s&@top_srcdir@&$ac_top_srcdir&;t t
18777 s&@abs_top_srcdir@&$ac_abs_top_srcdir&;t t
18778 s&@builddir@&$ac_builddir&;t t
18779 s&@abs_builddir@&$ac_abs_builddir&;t t
18780 s&@abs_top_builddir@&$ac_abs_top_builddir&;t t
18781 $ac_datarootdir_hack
18783 eval sed \"\$ac_sed_extra\" "$ac_file_inputs" | $AWK -f "$ac_tmp/subs.awk" \
18784 >$ac_tmp/out || as_fn_error $? "could not create $ac_file" "$LINENO" 5
18786 test -z "$ac_datarootdir_hack$ac_datarootdir_seen" &&
18787 { ac_out=`sed -n '/\${datarootdir}/p' "$ac_tmp/out"`; test -n "$ac_out"; } &&
18788 { ac_out=`sed -n '/^[ ]*datarootdir[ ]*:*=/p' \
18789 "$ac_tmp/out"`; test -z "$ac_out"; } &&
18790 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $ac_file contains a reference to the variable \`datarootdir'
18791 which seems to be undefined. Please make sure it is defined" >&5
18792 $as_echo "$as_me: WARNING: $ac_file contains a reference to the variable \`datarootdir'
18793 which seems to be undefined. Please make sure it is defined" >&2;}
18795 rm -f "$ac_tmp/stdin"
18796 case $ac_file in
18797 -) cat "$ac_tmp/out" && rm -f "$ac_tmp/out";;
18798 *) rm -f "$ac_file" && mv "$ac_tmp/out" "$ac_file";;
18799 esac \
18800 || as_fn_error $? "could not create $ac_file" "$LINENO" 5
18804 # CONFIG_HEADER
18806 if test x"$ac_file" != x-; then
18808 $as_echo "/* $configure_input */" \
18809 && eval '$AWK -f "$ac_tmp/defines.awk"' "$ac_file_inputs"
18810 } >"$ac_tmp/config.h" \
18811 || as_fn_error $? "could not create $ac_file" "$LINENO" 5
18812 if diff "$ac_file" "$ac_tmp/config.h" >/dev/null 2>&1; then
18813 { $as_echo "$as_me:${as_lineno-$LINENO}: $ac_file is unchanged" >&5
18814 $as_echo "$as_me: $ac_file is unchanged" >&6;}
18815 else
18816 rm -f "$ac_file"
18817 mv "$ac_tmp/config.h" "$ac_file" \
18818 || as_fn_error $? "could not create $ac_file" "$LINENO" 5
18820 else
18821 $as_echo "/* $configure_input */" \
18822 && eval '$AWK -f "$ac_tmp/defines.awk"' "$ac_file_inputs" \
18823 || as_fn_error $? "could not create -" "$LINENO" 5
18828 # CONFIG_LINK
18831 if test "$ac_source" = "$ac_file" && test "$srcdir" = '.'; then
18833 else
18834 # Prefer the file from the source tree if names are identical.
18835 if test "$ac_source" = "$ac_file" || test ! -r "$ac_source"; then
18836 ac_source=$srcdir/$ac_source
18839 { $as_echo "$as_me:${as_lineno-$LINENO}: linking $ac_source to $ac_file" >&5
18840 $as_echo "$as_me: linking $ac_source to $ac_file" >&6;}
18842 if test ! -r "$ac_source"; then
18843 as_fn_error $? "$ac_source: file not found" "$LINENO" 5
18845 rm -f "$ac_file"
18847 # Try a relative symlink, then a hard link, then a copy.
18848 case $ac_source in
18849 [\\/$]* | ?:[\\/]* ) ac_rel_source=$ac_source ;;
18850 *) ac_rel_source=$ac_top_build_prefix$ac_source ;;
18851 esac
18852 ln -s "$ac_rel_source" "$ac_file" 2>/dev/null ||
18853 ln "$ac_source" "$ac_file" 2>/dev/null ||
18854 cp -p "$ac_source" "$ac_file" ||
18855 as_fn_error $? "cannot link or copy $ac_source to $ac_file" "$LINENO" 5
18858 :C) { $as_echo "$as_me:${as_lineno-$LINENO}: executing $ac_file commands" >&5
18859 $as_echo "$as_me: executing $ac_file commands" >&6;}
18861 esac
18864 case $ac_file$ac_mode in
18865 "include/stamp-h":C) echo timestamp > include/stamp-h ;;
18866 "tools/makedep":C) wine_fn_output_makedep || as_fn_exit $? ;;
18867 "Makefile":C) wine_fn_output_makefile Makefile ;;
18868 ".gitignore":C) wine_fn_output_gitignore .gitignore ;;
18870 esac
18871 done # for ac_tag
18874 as_fn_exit 0
18875 _ACEOF
18876 ac_clean_files=$ac_clean_files_save
18878 test $ac_write_fail = 0 ||
18879 as_fn_error $? "write failure creating $CONFIG_STATUS" "$LINENO" 5
18882 # configure is writing to config.log, and then calls config.status.
18883 # config.status does its own redirection, appending to config.log.
18884 # Unfortunately, on DOS this fails, as config.log is still kept open
18885 # by configure, so config.status won't be able to write to it; its
18886 # output is simply discarded. So we exec the FD to /dev/null,
18887 # effectively closing config.log, so it can be properly (re)opened and
18888 # appended to by config.status. When coming back to configure, we
18889 # need to make the FD available again.
18890 if test "$no_create" != yes; then
18891 ac_cs_success=:
18892 ac_config_status_args=
18893 test "$silent" = yes &&
18894 ac_config_status_args="$ac_config_status_args --quiet"
18895 exec 5>/dev/null
18896 $SHELL $CONFIG_STATUS $ac_config_status_args || ac_cs_success=false
18897 exec 5>>config.log
18898 # Use ||, not &&, to avoid exiting from the if with $? = 1, which
18899 # would make configure fail if this is the last instruction.
18900 $ac_cs_success || as_fn_exit 1
18902 if test -n "$ac_unrecognized_opts" && test "$enable_option_checking" != no; then
18903 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: unrecognized options: $ac_unrecognized_opts" >&5
18904 $as_echo "$as_me: WARNING: unrecognized options: $ac_unrecognized_opts" >&2;}
18908 if test "$no_create" = "yes"
18909 then
18910 exit 0
18913 ac_save_IFS="$IFS"
18914 if test "x$wine_notices != "x; then
18915 echo >&6
18916 IFS="|"
18917 for msg in $wine_notices; do
18918 IFS="$ac_save_IFS"
18919 if ${msg:+false} :; then :
18921 else
18922 { $as_echo "$as_me:${as_lineno-$LINENO}: $msg" >&5
18923 $as_echo "$as_me: $msg" >&6;}
18925 done
18927 IFS="|"
18928 for msg in $wine_warnings; do
18929 IFS="$ac_save_IFS"
18930 if ${msg:+false} :; then :
18932 else
18933 echo >&2
18934 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $msg" >&5
18935 $as_echo "$as_me: WARNING: $msg" >&2;}
18937 done
18938 IFS="$ac_save_IFS"
18940 $as_echo "
18941 $as_me: Finished. Do '${ac_make}' to compile Wine.
18942 " >&6