d3d8/tests: Ignore broken CheckDeviceType() behavior on 64-bit Windows 8.
[wine/multimedia.git] / configure
blobbb68c51928d0c738865b4c9d55b38e9c0d0fd459
1 #! /bin/sh
2 # Guess values for system-dependent variables and create Makefiles.
3 # Generated by GNU Autoconf 2.69 for Wine 1.7.12.
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.12'
584 PACKAGE_STRING='Wine 1.7.12'
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_d3d10
938 enable_d3d10_1
939 enable_d3d10core
940 enable_d3d11
941 enable_d3d8
942 enable_d3d9
943 enable_d3dcompiler_33
944 enable_d3dcompiler_34
945 enable_d3dcompiler_35
946 enable_d3dcompiler_36
947 enable_d3dcompiler_37
948 enable_d3dcompiler_38
949 enable_d3dcompiler_39
950 enable_d3dcompiler_40
951 enable_d3dcompiler_41
952 enable_d3dcompiler_42
953 enable_d3dcompiler_43
954 enable_d3dim
955 enable_d3drm
956 enable_d3dx10_33
957 enable_d3dx10_34
958 enable_d3dx10_35
959 enable_d3dx10_36
960 enable_d3dx10_37
961 enable_d3dx10_38
962 enable_d3dx10_39
963 enable_d3dx10_40
964 enable_d3dx10_41
965 enable_d3dx10_42
966 enable_d3dx10_43
967 enable_d3dx11_42
968 enable_d3dx11_43
969 enable_d3dx9_24
970 enable_d3dx9_25
971 enable_d3dx9_26
972 enable_d3dx9_27
973 enable_d3dx9_28
974 enable_d3dx9_29
975 enable_d3dx9_30
976 enable_d3dx9_31
977 enable_d3dx9_32
978 enable_d3dx9_33
979 enable_d3dx9_34
980 enable_d3dx9_35
981 enable_d3dx9_36
982 enable_d3dx9_37
983 enable_d3dx9_38
984 enable_d3dx9_39
985 enable_d3dx9_40
986 enable_d3dx9_41
987 enable_d3dx9_42
988 enable_d3dx9_43
989 enable_d3dxof
990 enable_dbgeng
991 enable_dbghelp
992 enable_dciman32
993 enable_ddraw
994 enable_ddrawex
995 enable_devenum
996 enable_dhcpcsvc
997 enable_difxapi
998 enable_dinput
999 enable_dinput8
1000 enable_dispex
1001 enable_dmband
1002 enable_dmcompos
1003 enable_dmime
1004 enable_dmloader
1005 enable_dmscript
1006 enable_dmstyle
1007 enable_dmsynth
1008 enable_dmusic
1009 enable_dmusic32
1010 enable_dnsapi
1011 enable_dplay
1012 enable_dplayx
1013 enable_dpnaddr
1014 enable_dpnet
1015 enable_dpnhpast
1016 enable_dpnlobby
1017 enable_dpwsockx
1018 enable_drmclien
1019 enable_dsound
1020 enable_dssenh
1021 enable_dswave
1022 enable_dwmapi
1023 enable_dwrite
1024 enable_dxdiagn
1025 enable_dxgi
1026 enable_explorerframe
1027 enable_ext_ms_win_gdi_devcaps_l1_1_0
1028 enable_faultrep
1029 enable_fltlib
1030 enable_fusion
1031 enable_fwpuclnt
1032 enable_gameux
1033 enable_gdi32
1034 enable_gdiplus
1035 enable_glu32
1036 enable_gphoto2_ds
1037 enable_gpkcsp
1038 enable_hal
1039 enable_hhctrl_ocx
1040 enable_hid
1041 enable_hlink
1042 enable_hnetcfg
1043 enable_httpapi
1044 enable_iccvid
1045 enable_icmp
1046 enable_ieframe
1047 enable_imaadp32_acm
1048 enable_imagehlp
1049 enable_imm32
1050 enable_inetcomm
1051 enable_inetcpl_cpl
1052 enable_inetmib1
1053 enable_infosoft
1054 enable_initpki
1055 enable_inkobj
1056 enable_inseng
1057 enable_iphlpapi
1058 enable_itircl
1059 enable_itss
1060 enable_joy_cpl
1061 enable_jscript
1062 enable_kernel32
1063 enable_ktmw32
1064 enable_loadperf
1065 enable_localspl
1066 enable_localui
1067 enable_lz32
1068 enable_mapi32
1069 enable_mapistub
1070 enable_mciavi32
1071 enable_mcicda
1072 enable_mciqtz32
1073 enable_mciseq
1074 enable_mciwave
1075 enable_mgmtapi
1076 enable_midimap
1077 enable_mlang
1078 enable_mmcndmgr
1079 enable_mmdevapi
1080 enable_mountmgr_sys
1081 enable_mpr
1082 enable_mprapi
1083 enable_msacm32_drv
1084 enable_msacm32
1085 enable_msadp32_acm
1086 enable_mscat32
1087 enable_mscms
1088 enable_mscoree
1089 enable_msctf
1090 enable_msdaps
1091 enable_msdmo
1092 enable_msftedit
1093 enable_msg711_acm
1094 enable_msgsm32_acm
1095 enable_mshtml_tlb
1096 enable_mshtml
1097 enable_msi
1098 enable_msident
1099 enable_msimg32
1100 enable_msimsg
1101 enable_msimtf
1102 enable_msisip
1103 enable_msisys_ocx
1104 enable_msls31
1105 enable_msnet32
1106 enable_mspatcha
1107 enable_msrle32
1108 enable_mssign32
1109 enable_mssip32
1110 enable_mstask
1111 enable_msvcirt
1112 enable_msvcm80
1113 enable_msvcm90
1114 enable_msvcp100
1115 enable_msvcp110
1116 enable_msvcp60
1117 enable_msvcp70
1118 enable_msvcp71
1119 enable_msvcp80
1120 enable_msvcp90
1121 enable_msvcr100
1122 enable_msvcr110
1123 enable_msvcr70
1124 enable_msvcr71
1125 enable_msvcr80
1126 enable_msvcr90
1127 enable_msvcrt
1128 enable_msvcrt20
1129 enable_msvcrt40
1130 enable_msvcrtd
1131 enable_msvfw32
1132 enable_msvidc32
1133 enable_mswsock
1134 enable_msxml
1135 enable_msxml2
1136 enable_msxml3
1137 enable_msxml4
1138 enable_msxml6
1139 enable_nddeapi
1140 enable_netapi32
1141 enable_netcfgx
1142 enable_newdev
1143 enable_normaliz
1144 enable_npmshtml
1145 enable_ntdll
1146 enable_ntdsapi
1147 enable_ntoskrnl_exe
1148 enable_ntprint
1149 enable_objsel
1150 enable_odbc32
1151 enable_odbccp32
1152 enable_odbccu32
1153 enable_ole32
1154 enable_oleacc
1155 enable_oleaut32
1156 enable_olecli32
1157 enable_oledb32
1158 enable_oledlg
1159 enable_olepro32
1160 enable_olesvr32
1161 enable_olethk32
1162 enable_openal32
1163 enable_opencl
1164 enable_opengl32
1165 enable_pdh
1166 enable_photometadatahandler
1167 enable_pidgen
1168 enable_powrprof
1169 enable_printui
1170 enable_propsys
1171 enable_psapi
1172 enable_pstorec
1173 enable_qcap
1174 enable_qedit
1175 enable_qmgr
1176 enable_qmgrprxy
1177 enable_quartz
1178 enable_query
1179 enable_rasapi32
1180 enable_rasdlg
1181 enable_regapi
1182 enable_resutils
1183 enable_riched20
1184 enable_riched32
1185 enable_rpcrt4
1186 enable_rsabase
1187 enable_rsaenh
1188 enable_rstrtmgr
1189 enable_rtutils
1190 enable_samlib
1191 enable_sane_ds
1192 enable_scarddlg
1193 enable_sccbase
1194 enable_schannel
1195 enable_scrrun
1196 enable_scsiport_sys
1197 enable_secur32
1198 enable_security
1199 enable_sensapi
1200 enable_serialui
1201 enable_setupapi
1202 enable_sfc
1203 enable_sfc_os
1204 enable_shdoclc
1205 enable_shdocvw
1206 enable_shell32
1207 enable_shfolder
1208 enable_shlwapi
1209 enable_slbcsp
1210 enable_slc
1211 enable_snmpapi
1212 enable_softpub
1213 enable_spoolss
1214 enable_stdole2_tlb
1215 enable_stdole32_tlb
1216 enable_sti
1217 enable_svrapi
1218 enable_sxs
1219 enable_t2embed
1220 enable_tapi32
1221 enable_taskschd
1222 enable_traffic
1223 enable_twain_32
1224 enable_unicows
1225 enable_updspapi
1226 enable_url
1227 enable_urlmon
1228 enable_usbd_sys
1229 enable_user32
1230 enable_userenv
1231 enable_usp10
1232 enable_uxtheme
1233 enable_vbscript
1234 enable_vcomp
1235 enable_vcomp100
1236 enable_vcomp90
1237 enable_vdmdbg
1238 enable_version
1239 enable_wbemdisp
1240 enable_wbemprox
1241 enable_webservices
1242 enable_wer
1243 enable_wevtapi
1244 enable_wiaservc
1245 enable_windowscodecs
1246 enable_windowscodecsext
1247 enable_winealsa_drv
1248 enable_winecoreaudio_drv
1249 enable_wined3d
1250 enable_winegstreamer
1251 enable_winejoystick_drv
1252 enable_winemac_drv
1253 enable_winemapi
1254 enable_winemp3_acm
1255 enable_wineoss_drv
1256 enable_wineps_drv
1257 enable_wineqtdecoder
1258 enable_winex11_drv
1259 enable_wing32
1260 enable_winhttp
1261 enable_wininet
1262 enable_winmm
1263 enable_winnls32
1264 enable_winscard
1265 enable_winspool_drv
1266 enable_winsta
1267 enable_wintab32
1268 enable_wintrust
1269 enable_wlanapi
1270 enable_wldap32
1271 enable_wmi
1272 enable_wmiutils
1273 enable_wmp
1274 enable_wmvcore
1275 enable_wnaspi32
1276 enable_ws2_32
1277 enable_wshom_ocx
1278 enable_wsnmp32
1279 enable_wsock32
1280 enable_wtsapi32
1281 enable_wuapi
1282 enable_wuaueng
1283 enable_xapofx1_1
1284 enable_xinput1_1
1285 enable_xinput1_2
1286 enable_xinput1_3
1287 enable_xinput1_4
1288 enable_xinput9_1_0
1289 enable_xmllite
1290 enable_xolehlp
1291 enable_xpsprint
1292 enable_xpssvcs
1293 enable_documentation
1294 enable_fonts
1295 enable_include
1296 enable_libs_port
1297 enable_libs_wine
1298 enable_libs_wpp
1299 enable_loader
1300 enable_arp
1301 enable_aspnet_regiis
1302 enable_attrib
1303 enable_cabarc
1304 enable_cacls
1305 enable_clock
1306 enable_cmd
1307 enable_conhost
1308 enable_control
1309 enable_cscript
1310 enable_dxdiag
1311 enable_eject
1312 enable_expand
1313 enable_explorer
1314 enable_extrac32
1315 enable_findstr
1316 enable_hh
1317 enable_hostname
1318 enable_icinfo
1319 enable_iexplore
1320 enable_ipconfig
1321 enable_lodctr
1322 enable_mofcomp
1323 enable_mshta
1324 enable_msiexec
1325 enable_net
1326 enable_netsh
1327 enable_netstat
1328 enable_ngen
1329 enable_notepad
1330 enable_oleview
1331 enable_ping
1332 enable_plugplay
1333 enable_presentationfontcache
1334 enable_progman
1335 enable_reg
1336 enable_regasm
1337 enable_regedit
1338 enable_regsvcs
1339 enable_regsvr32
1340 enable_rpcss
1341 enable_rundll32
1342 enable_sc
1343 enable_schtasks
1344 enable_secedit
1345 enable_servicemodelreg
1346 enable_services
1347 enable_spoolsv
1348 enable_start
1349 enable_svchost
1350 enable_taskkill
1351 enable_tasklist
1352 enable_taskmgr
1353 enable_termsv
1354 enable_uninstaller
1355 enable_unlodctr
1356 enable_view
1357 enable_wineboot
1358 enable_winebrowser
1359 enable_winecfg
1360 enable_wineconsole
1361 enable_winedbg
1362 enable_winedevice
1363 enable_winefile
1364 enable_winemenubuilder
1365 enable_winemine
1366 enable_winemsibuilder
1367 enable_winepath
1368 enable_winetest
1369 enable_winhlp32
1370 enable_winver
1371 enable_wmic
1372 enable_wordpad
1373 enable_write
1374 enable_wscript
1375 enable_wusa
1376 enable_xcopy
1377 enable_server
1378 enable_tools
1380 ac_precious_vars='build_alias
1381 host_alias
1382 target_alias
1384 CFLAGS
1385 LDFLAGS
1386 LIBS
1387 CPPFLAGS
1389 CXXFLAGS
1392 XMKMF
1393 XML2_CFLAGS
1394 XML2_LIBS
1395 XSLT_CFLAGS
1396 XSLT_LIBS
1397 DBUS_CFLAGS
1398 DBUS_LIBS
1399 HAL_CFLAGS
1400 HAL_LIBS
1401 GNUTLS_CFLAGS
1402 GNUTLS_LIBS
1403 SANE_CFLAGS
1404 SANE_LIBS
1405 GPHOTO2_CFLAGS
1406 GPHOTO2_LIBS
1407 GPHOTO2_PORT_CFLAGS
1408 GPHOTO2_PORT_LIBS
1409 LCMS2_CFLAGS
1410 LCMS2_LIBS
1411 FREETYPE_CFLAGS
1412 FREETYPE_LIBS
1413 GSTREAMER_CFLAGS
1414 GSTREAMER_LIBS
1415 CAPI20_CFLAGS
1416 CAPI20_LIBS
1417 FONTCONFIG_CFLAGS
1418 FONTCONFIG_LIBS
1419 JPEG_CFLAGS
1420 JPEG_LIBS
1421 PNG_CFLAGS
1422 PNG_LIBS
1423 TIFF_CFLAGS
1424 TIFF_LIBS
1425 MPG123_CFLAGS
1426 MPG123_LIBS'
1429 # Initialize some variables set by options.
1430 ac_init_help=
1431 ac_init_version=false
1432 ac_unrecognized_opts=
1433 ac_unrecognized_sep=
1434 # The variables have the same names as the options, with
1435 # dashes changed to underlines.
1436 cache_file=/dev/null
1437 exec_prefix=NONE
1438 no_create=
1439 no_recursion=
1440 prefix=NONE
1441 program_prefix=NONE
1442 program_suffix=NONE
1443 program_transform_name=s,x,x,
1444 silent=
1445 site=
1446 srcdir=
1447 verbose=
1448 x_includes=NONE
1449 x_libraries=NONE
1451 # Installation directory options.
1452 # These are left unexpanded so users can "make install exec_prefix=/foo"
1453 # and all the variables that are supposed to be based on exec_prefix
1454 # by default will actually change.
1455 # Use braces instead of parens because sh, perl, etc. also accept them.
1456 # (The list follows the same order as the GNU Coding Standards.)
1457 bindir='${exec_prefix}/bin'
1458 sbindir='${exec_prefix}/sbin'
1459 libexecdir='${exec_prefix}/libexec'
1460 datarootdir='${prefix}/share'
1461 datadir='${datarootdir}'
1462 sysconfdir='${prefix}/etc'
1463 sharedstatedir='${prefix}/com'
1464 localstatedir='${prefix}/var'
1465 includedir='${prefix}/include'
1466 oldincludedir='/usr/include'
1467 docdir='${datarootdir}/doc/${PACKAGE_TARNAME}'
1468 infodir='${datarootdir}/info'
1469 htmldir='${docdir}'
1470 dvidir='${docdir}'
1471 pdfdir='${docdir}'
1472 psdir='${docdir}'
1473 libdir='${exec_prefix}/lib'
1474 localedir='${datarootdir}/locale'
1475 mandir='${datarootdir}/man'
1477 ac_prev=
1478 ac_dashdash=
1479 for ac_option
1481 # If the previous option needs an argument, assign it.
1482 if test -n "$ac_prev"; then
1483 eval $ac_prev=\$ac_option
1484 ac_prev=
1485 continue
1488 case $ac_option in
1489 *=?*) ac_optarg=`expr "X$ac_option" : '[^=]*=\(.*\)'` ;;
1490 *=) ac_optarg= ;;
1491 *) ac_optarg=yes ;;
1492 esac
1494 # Accept the important Cygnus configure options, so we can diagnose typos.
1496 case $ac_dashdash$ac_option in
1498 ac_dashdash=yes ;;
1500 -bindir | --bindir | --bindi | --bind | --bin | --bi)
1501 ac_prev=bindir ;;
1502 -bindir=* | --bindir=* | --bindi=* | --bind=* | --bin=* | --bi=*)
1503 bindir=$ac_optarg ;;
1505 -build | --build | --buil | --bui | --bu)
1506 ac_prev=build_alias ;;
1507 -build=* | --build=* | --buil=* | --bui=* | --bu=*)
1508 build_alias=$ac_optarg ;;
1510 -cache-file | --cache-file | --cache-fil | --cache-fi \
1511 | --cache-f | --cache- | --cache | --cach | --cac | --ca | --c)
1512 ac_prev=cache_file ;;
1513 -cache-file=* | --cache-file=* | --cache-fil=* | --cache-fi=* \
1514 | --cache-f=* | --cache-=* | --cache=* | --cach=* | --cac=* | --ca=* | --c=*)
1515 cache_file=$ac_optarg ;;
1517 --config-cache | -C)
1518 cache_file=config.cache ;;
1520 -datadir | --datadir | --datadi | --datad)
1521 ac_prev=datadir ;;
1522 -datadir=* | --datadir=* | --datadi=* | --datad=*)
1523 datadir=$ac_optarg ;;
1525 -datarootdir | --datarootdir | --datarootdi | --datarootd | --dataroot \
1526 | --dataroo | --dataro | --datar)
1527 ac_prev=datarootdir ;;
1528 -datarootdir=* | --datarootdir=* | --datarootdi=* | --datarootd=* \
1529 | --dataroot=* | --dataroo=* | --dataro=* | --datar=*)
1530 datarootdir=$ac_optarg ;;
1532 -disable-* | --disable-*)
1533 ac_useropt=`expr "x$ac_option" : 'x-*disable-\(.*\)'`
1534 # Reject names that are not valid shell variable names.
1535 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
1536 as_fn_error $? "invalid feature name: $ac_useropt"
1537 ac_useropt_orig=$ac_useropt
1538 ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
1539 case $ac_user_opts in
1541 "enable_$ac_useropt"
1542 "*) ;;
1543 *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--disable-$ac_useropt_orig"
1544 ac_unrecognized_sep=', ';;
1545 esac
1546 eval enable_$ac_useropt=no ;;
1548 -docdir | --docdir | --docdi | --doc | --do)
1549 ac_prev=docdir ;;
1550 -docdir=* | --docdir=* | --docdi=* | --doc=* | --do=*)
1551 docdir=$ac_optarg ;;
1553 -dvidir | --dvidir | --dvidi | --dvid | --dvi | --dv)
1554 ac_prev=dvidir ;;
1555 -dvidir=* | --dvidir=* | --dvidi=* | --dvid=* | --dvi=* | --dv=*)
1556 dvidir=$ac_optarg ;;
1558 -enable-* | --enable-*)
1559 ac_useropt=`expr "x$ac_option" : 'x-*enable-\([^=]*\)'`
1560 # Reject names that are not valid shell variable names.
1561 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
1562 as_fn_error $? "invalid feature name: $ac_useropt"
1563 ac_useropt_orig=$ac_useropt
1564 ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
1565 case $ac_user_opts in
1567 "enable_$ac_useropt"
1568 "*) ;;
1569 *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--enable-$ac_useropt_orig"
1570 ac_unrecognized_sep=', ';;
1571 esac
1572 eval enable_$ac_useropt=\$ac_optarg ;;
1574 -exec-prefix | --exec_prefix | --exec-prefix | --exec-prefi \
1575 | --exec-pref | --exec-pre | --exec-pr | --exec-p | --exec- \
1576 | --exec | --exe | --ex)
1577 ac_prev=exec_prefix ;;
1578 -exec-prefix=* | --exec_prefix=* | --exec-prefix=* | --exec-prefi=* \
1579 | --exec-pref=* | --exec-pre=* | --exec-pr=* | --exec-p=* | --exec-=* \
1580 | --exec=* | --exe=* | --ex=*)
1581 exec_prefix=$ac_optarg ;;
1583 -gas | --gas | --ga | --g)
1584 # Obsolete; use --with-gas.
1585 with_gas=yes ;;
1587 -help | --help | --hel | --he | -h)
1588 ac_init_help=long ;;
1589 -help=r* | --help=r* | --hel=r* | --he=r* | -hr*)
1590 ac_init_help=recursive ;;
1591 -help=s* | --help=s* | --hel=s* | --he=s* | -hs*)
1592 ac_init_help=short ;;
1594 -host | --host | --hos | --ho)
1595 ac_prev=host_alias ;;
1596 -host=* | --host=* | --hos=* | --ho=*)
1597 host_alias=$ac_optarg ;;
1599 -htmldir | --htmldir | --htmldi | --htmld | --html | --htm | --ht)
1600 ac_prev=htmldir ;;
1601 -htmldir=* | --htmldir=* | --htmldi=* | --htmld=* | --html=* | --htm=* \
1602 | --ht=*)
1603 htmldir=$ac_optarg ;;
1605 -includedir | --includedir | --includedi | --included | --include \
1606 | --includ | --inclu | --incl | --inc)
1607 ac_prev=includedir ;;
1608 -includedir=* | --includedir=* | --includedi=* | --included=* | --include=* \
1609 | --includ=* | --inclu=* | --incl=* | --inc=*)
1610 includedir=$ac_optarg ;;
1612 -infodir | --infodir | --infodi | --infod | --info | --inf)
1613 ac_prev=infodir ;;
1614 -infodir=* | --infodir=* | --infodi=* | --infod=* | --info=* | --inf=*)
1615 infodir=$ac_optarg ;;
1617 -libdir | --libdir | --libdi | --libd)
1618 ac_prev=libdir ;;
1619 -libdir=* | --libdir=* | --libdi=* | --libd=*)
1620 libdir=$ac_optarg ;;
1622 -libexecdir | --libexecdir | --libexecdi | --libexecd | --libexec \
1623 | --libexe | --libex | --libe)
1624 ac_prev=libexecdir ;;
1625 -libexecdir=* | --libexecdir=* | --libexecdi=* | --libexecd=* | --libexec=* \
1626 | --libexe=* | --libex=* | --libe=*)
1627 libexecdir=$ac_optarg ;;
1629 -localedir | --localedir | --localedi | --localed | --locale)
1630 ac_prev=localedir ;;
1631 -localedir=* | --localedir=* | --localedi=* | --localed=* | --locale=*)
1632 localedir=$ac_optarg ;;
1634 -localstatedir | --localstatedir | --localstatedi | --localstated \
1635 | --localstate | --localstat | --localsta | --localst | --locals)
1636 ac_prev=localstatedir ;;
1637 -localstatedir=* | --localstatedir=* | --localstatedi=* | --localstated=* \
1638 | --localstate=* | --localstat=* | --localsta=* | --localst=* | --locals=*)
1639 localstatedir=$ac_optarg ;;
1641 -mandir | --mandir | --mandi | --mand | --man | --ma | --m)
1642 ac_prev=mandir ;;
1643 -mandir=* | --mandir=* | --mandi=* | --mand=* | --man=* | --ma=* | --m=*)
1644 mandir=$ac_optarg ;;
1646 -nfp | --nfp | --nf)
1647 # Obsolete; use --without-fp.
1648 with_fp=no ;;
1650 -no-create | --no-create | --no-creat | --no-crea | --no-cre \
1651 | --no-cr | --no-c | -n)
1652 no_create=yes ;;
1654 -no-recursion | --no-recursion | --no-recursio | --no-recursi \
1655 | --no-recurs | --no-recur | --no-recu | --no-rec | --no-re | --no-r)
1656 no_recursion=yes ;;
1658 -oldincludedir | --oldincludedir | --oldincludedi | --oldincluded \
1659 | --oldinclude | --oldinclud | --oldinclu | --oldincl | --oldinc \
1660 | --oldin | --oldi | --old | --ol | --o)
1661 ac_prev=oldincludedir ;;
1662 -oldincludedir=* | --oldincludedir=* | --oldincludedi=* | --oldincluded=* \
1663 | --oldinclude=* | --oldinclud=* | --oldinclu=* | --oldincl=* | --oldinc=* \
1664 | --oldin=* | --oldi=* | --old=* | --ol=* | --o=*)
1665 oldincludedir=$ac_optarg ;;
1667 -prefix | --prefix | --prefi | --pref | --pre | --pr | --p)
1668 ac_prev=prefix ;;
1669 -prefix=* | --prefix=* | --prefi=* | --pref=* | --pre=* | --pr=* | --p=*)
1670 prefix=$ac_optarg ;;
1672 -program-prefix | --program-prefix | --program-prefi | --program-pref \
1673 | --program-pre | --program-pr | --program-p)
1674 ac_prev=program_prefix ;;
1675 -program-prefix=* | --program-prefix=* | --program-prefi=* \
1676 | --program-pref=* | --program-pre=* | --program-pr=* | --program-p=*)
1677 program_prefix=$ac_optarg ;;
1679 -program-suffix | --program-suffix | --program-suffi | --program-suff \
1680 | --program-suf | --program-su | --program-s)
1681 ac_prev=program_suffix ;;
1682 -program-suffix=* | --program-suffix=* | --program-suffi=* \
1683 | --program-suff=* | --program-suf=* | --program-su=* | --program-s=*)
1684 program_suffix=$ac_optarg ;;
1686 -program-transform-name | --program-transform-name \
1687 | --program-transform-nam | --program-transform-na \
1688 | --program-transform-n | --program-transform- \
1689 | --program-transform | --program-transfor \
1690 | --program-transfo | --program-transf \
1691 | --program-trans | --program-tran \
1692 | --progr-tra | --program-tr | --program-t)
1693 ac_prev=program_transform_name ;;
1694 -program-transform-name=* | --program-transform-name=* \
1695 | --program-transform-nam=* | --program-transform-na=* \
1696 | --program-transform-n=* | --program-transform-=* \
1697 | --program-transform=* | --program-transfor=* \
1698 | --program-transfo=* | --program-transf=* \
1699 | --program-trans=* | --program-tran=* \
1700 | --progr-tra=* | --program-tr=* | --program-t=*)
1701 program_transform_name=$ac_optarg ;;
1703 -pdfdir | --pdfdir | --pdfdi | --pdfd | --pdf | --pd)
1704 ac_prev=pdfdir ;;
1705 -pdfdir=* | --pdfdir=* | --pdfdi=* | --pdfd=* | --pdf=* | --pd=*)
1706 pdfdir=$ac_optarg ;;
1708 -psdir | --psdir | --psdi | --psd | --ps)
1709 ac_prev=psdir ;;
1710 -psdir=* | --psdir=* | --psdi=* | --psd=* | --ps=*)
1711 psdir=$ac_optarg ;;
1713 -q | -quiet | --quiet | --quie | --qui | --qu | --q \
1714 | -silent | --silent | --silen | --sile | --sil)
1715 silent=yes ;;
1717 -sbindir | --sbindir | --sbindi | --sbind | --sbin | --sbi | --sb)
1718 ac_prev=sbindir ;;
1719 -sbindir=* | --sbindir=* | --sbindi=* | --sbind=* | --sbin=* \
1720 | --sbi=* | --sb=*)
1721 sbindir=$ac_optarg ;;
1723 -sharedstatedir | --sharedstatedir | --sharedstatedi \
1724 | --sharedstated | --sharedstate | --sharedstat | --sharedsta \
1725 | --sharedst | --shareds | --shared | --share | --shar \
1726 | --sha | --sh)
1727 ac_prev=sharedstatedir ;;
1728 -sharedstatedir=* | --sharedstatedir=* | --sharedstatedi=* \
1729 | --sharedstated=* | --sharedstate=* | --sharedstat=* | --sharedsta=* \
1730 | --sharedst=* | --shareds=* | --shared=* | --share=* | --shar=* \
1731 | --sha=* | --sh=*)
1732 sharedstatedir=$ac_optarg ;;
1734 -site | --site | --sit)
1735 ac_prev=site ;;
1736 -site=* | --site=* | --sit=*)
1737 site=$ac_optarg ;;
1739 -srcdir | --srcdir | --srcdi | --srcd | --src | --sr)
1740 ac_prev=srcdir ;;
1741 -srcdir=* | --srcdir=* | --srcdi=* | --srcd=* | --src=* | --sr=*)
1742 srcdir=$ac_optarg ;;
1744 -sysconfdir | --sysconfdir | --sysconfdi | --sysconfd | --sysconf \
1745 | --syscon | --sysco | --sysc | --sys | --sy)
1746 ac_prev=sysconfdir ;;
1747 -sysconfdir=* | --sysconfdir=* | --sysconfdi=* | --sysconfd=* | --sysconf=* \
1748 | --syscon=* | --sysco=* | --sysc=* | --sys=* | --sy=*)
1749 sysconfdir=$ac_optarg ;;
1751 -target | --target | --targe | --targ | --tar | --ta | --t)
1752 ac_prev=target_alias ;;
1753 -target=* | --target=* | --targe=* | --targ=* | --tar=* | --ta=* | --t=*)
1754 target_alias=$ac_optarg ;;
1756 -v | -verbose | --verbose | --verbos | --verbo | --verb)
1757 verbose=yes ;;
1759 -version | --version | --versio | --versi | --vers | -V)
1760 ac_init_version=: ;;
1762 -with-* | --with-*)
1763 ac_useropt=`expr "x$ac_option" : 'x-*with-\([^=]*\)'`
1764 # Reject names that are not valid shell variable names.
1765 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
1766 as_fn_error $? "invalid package name: $ac_useropt"
1767 ac_useropt_orig=$ac_useropt
1768 ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
1769 case $ac_user_opts in
1771 "with_$ac_useropt"
1772 "*) ;;
1773 *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--with-$ac_useropt_orig"
1774 ac_unrecognized_sep=', ';;
1775 esac
1776 eval with_$ac_useropt=\$ac_optarg ;;
1778 -without-* | --without-*)
1779 ac_useropt=`expr "x$ac_option" : 'x-*without-\(.*\)'`
1780 # Reject names that are not valid shell variable names.
1781 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
1782 as_fn_error $? "invalid package name: $ac_useropt"
1783 ac_useropt_orig=$ac_useropt
1784 ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
1785 case $ac_user_opts in
1787 "with_$ac_useropt"
1788 "*) ;;
1789 *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--without-$ac_useropt_orig"
1790 ac_unrecognized_sep=', ';;
1791 esac
1792 eval with_$ac_useropt=no ;;
1794 --x)
1795 # Obsolete; use --with-x.
1796 with_x=yes ;;
1798 -x-includes | --x-includes | --x-include | --x-includ | --x-inclu \
1799 | --x-incl | --x-inc | --x-in | --x-i)
1800 ac_prev=x_includes ;;
1801 -x-includes=* | --x-includes=* | --x-include=* | --x-includ=* | --x-inclu=* \
1802 | --x-incl=* | --x-inc=* | --x-in=* | --x-i=*)
1803 x_includes=$ac_optarg ;;
1805 -x-libraries | --x-libraries | --x-librarie | --x-librari \
1806 | --x-librar | --x-libra | --x-libr | --x-lib | --x-li | --x-l)
1807 ac_prev=x_libraries ;;
1808 -x-libraries=* | --x-libraries=* | --x-librarie=* | --x-librari=* \
1809 | --x-librar=* | --x-libra=* | --x-libr=* | --x-lib=* | --x-li=* | --x-l=*)
1810 x_libraries=$ac_optarg ;;
1812 -*) as_fn_error $? "unrecognized option: \`$ac_option'
1813 Try \`$0 --help' for more information"
1816 *=*)
1817 ac_envvar=`expr "x$ac_option" : 'x\([^=]*\)='`
1818 # Reject names that are not valid shell variable names.
1819 case $ac_envvar in #(
1820 '' | [0-9]* | *[!_$as_cr_alnum]* )
1821 as_fn_error $? "invalid variable name: \`$ac_envvar'" ;;
1822 esac
1823 eval $ac_envvar=\$ac_optarg
1824 export $ac_envvar ;;
1827 # FIXME: should be removed in autoconf 3.0.
1828 $as_echo "$as_me: WARNING: you should use --build, --host, --target" >&2
1829 expr "x$ac_option" : ".*[^-._$as_cr_alnum]" >/dev/null &&
1830 $as_echo "$as_me: WARNING: invalid host type: $ac_option" >&2
1831 : "${build_alias=$ac_option} ${host_alias=$ac_option} ${target_alias=$ac_option}"
1834 esac
1835 done
1837 if test -n "$ac_prev"; then
1838 ac_option=--`echo $ac_prev | sed 's/_/-/g'`
1839 as_fn_error $? "missing argument to $ac_option"
1842 if test -n "$ac_unrecognized_opts"; then
1843 case $enable_option_checking in
1844 no) ;;
1845 fatal) as_fn_error $? "unrecognized options: $ac_unrecognized_opts" ;;
1846 *) $as_echo "$as_me: WARNING: unrecognized options: $ac_unrecognized_opts" >&2 ;;
1847 esac
1850 # Check all directory arguments for consistency.
1851 for ac_var in exec_prefix prefix bindir sbindir libexecdir datarootdir \
1852 datadir sysconfdir sharedstatedir localstatedir includedir \
1853 oldincludedir docdir infodir htmldir dvidir pdfdir psdir \
1854 libdir localedir mandir
1856 eval ac_val=\$$ac_var
1857 # Remove trailing slashes.
1858 case $ac_val in
1859 */ )
1860 ac_val=`expr "X$ac_val" : 'X\(.*[^/]\)' \| "X$ac_val" : 'X\(.*\)'`
1861 eval $ac_var=\$ac_val;;
1862 esac
1863 # Be sure to have absolute directory names.
1864 case $ac_val in
1865 [\\/$]* | ?:[\\/]* ) continue;;
1866 NONE | '' ) case $ac_var in *prefix ) continue;; esac;;
1867 esac
1868 as_fn_error $? "expected an absolute directory name for --$ac_var: $ac_val"
1869 done
1871 # There might be people who depend on the old broken behavior: `$host'
1872 # used to hold the argument of --host etc.
1873 # FIXME: To remove some day.
1874 build=$build_alias
1875 host=$host_alias
1876 target=$target_alias
1878 # FIXME: To remove some day.
1879 if test "x$host_alias" != x; then
1880 if test "x$build_alias" = x; then
1881 cross_compiling=maybe
1882 elif test "x$build_alias" != "x$host_alias"; then
1883 cross_compiling=yes
1887 ac_tool_prefix=
1888 test -n "$host_alias" && ac_tool_prefix=$host_alias-
1890 test "$silent" = yes && exec 6>/dev/null
1893 ac_pwd=`pwd` && test -n "$ac_pwd" &&
1894 ac_ls_di=`ls -di .` &&
1895 ac_pwd_ls_di=`cd "$ac_pwd" && ls -di .` ||
1896 as_fn_error $? "working directory cannot be determined"
1897 test "X$ac_ls_di" = "X$ac_pwd_ls_di" ||
1898 as_fn_error $? "pwd does not report name of working directory"
1901 # Find the source files, if location was not specified.
1902 if test -z "$srcdir"; then
1903 ac_srcdir_defaulted=yes
1904 # Try the directory containing this script, then the parent directory.
1905 ac_confdir=`$as_dirname -- "$as_myself" ||
1906 $as_expr X"$as_myself" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
1907 X"$as_myself" : 'X\(//\)[^/]' \| \
1908 X"$as_myself" : 'X\(//\)$' \| \
1909 X"$as_myself" : 'X\(/\)' \| . 2>/dev/null ||
1910 $as_echo X"$as_myself" |
1911 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
1912 s//\1/
1915 /^X\(\/\/\)[^/].*/{
1916 s//\1/
1919 /^X\(\/\/\)$/{
1920 s//\1/
1923 /^X\(\/\).*/{
1924 s//\1/
1927 s/.*/./; q'`
1928 srcdir=$ac_confdir
1929 if test ! -r "$srcdir/$ac_unique_file"; then
1930 srcdir=..
1932 else
1933 ac_srcdir_defaulted=no
1935 if test ! -r "$srcdir/$ac_unique_file"; then
1936 test "$ac_srcdir_defaulted" = yes && srcdir="$ac_confdir or .."
1937 as_fn_error $? "cannot find sources ($ac_unique_file) in $srcdir"
1939 ac_msg="sources are in $srcdir, but \`cd $srcdir' does not work"
1940 ac_abs_confdir=`(
1941 cd "$srcdir" && test -r "./$ac_unique_file" || as_fn_error $? "$ac_msg"
1942 pwd)`
1943 # When building in place, set srcdir=.
1944 if test "$ac_abs_confdir" = "$ac_pwd"; then
1945 srcdir=.
1947 # Remove unnecessary trailing slashes from srcdir.
1948 # Double slashes in file names in object file debugging info
1949 # mess up M-x gdb in Emacs.
1950 case $srcdir in
1951 */) srcdir=`expr "X$srcdir" : 'X\(.*[^/]\)' \| "X$srcdir" : 'X\(.*\)'`;;
1952 esac
1953 for ac_var in $ac_precious_vars; do
1954 eval ac_env_${ac_var}_set=\${${ac_var}+set}
1955 eval ac_env_${ac_var}_value=\$${ac_var}
1956 eval ac_cv_env_${ac_var}_set=\${${ac_var}+set}
1957 eval ac_cv_env_${ac_var}_value=\$${ac_var}
1958 done
1961 # Report the --help message.
1963 if test "$ac_init_help" = "long"; then
1964 # Omit some internal or obsolete options to make the list less imposing.
1965 # This message is too long to be a string in the A/UX 3.1 sh.
1966 cat <<_ACEOF
1967 \`configure' configures Wine 1.7.12 to adapt to many kinds of systems.
1969 Usage: $0 [OPTION]... [VAR=VALUE]...
1971 To assign environment variables (e.g., CC, CFLAGS...), specify them as
1972 VAR=VALUE. See below for descriptions of some of the useful variables.
1974 Defaults for the options are specified in brackets.
1976 Configuration:
1977 -h, --help display this help and exit
1978 --help=short display options specific to this package
1979 --help=recursive display the short help of all the included packages
1980 -V, --version display version information and exit
1981 -q, --quiet, --silent do not print \`checking ...' messages
1982 --cache-file=FILE cache test results in FILE [disabled]
1983 -C, --config-cache alias for \`--cache-file=config.cache'
1984 -n, --no-create do not create output files
1985 --srcdir=DIR find the sources in DIR [configure dir or \`..']
1987 Installation directories:
1988 --prefix=PREFIX install architecture-independent files in PREFIX
1989 [$ac_default_prefix]
1990 --exec-prefix=EPREFIX install architecture-dependent files in EPREFIX
1991 [PREFIX]
1993 By default, \`make install' will install all the files in
1994 \`$ac_default_prefix/bin', \`$ac_default_prefix/lib' etc. You can specify
1995 an installation prefix other than \`$ac_default_prefix' using \`--prefix',
1996 for instance \`--prefix=\$HOME'.
1998 For better control, use the options below.
2000 Fine tuning of the installation directories:
2001 --bindir=DIR user executables [EPREFIX/bin]
2002 --sbindir=DIR system admin executables [EPREFIX/sbin]
2003 --libexecdir=DIR program executables [EPREFIX/libexec]
2004 --sysconfdir=DIR read-only single-machine data [PREFIX/etc]
2005 --sharedstatedir=DIR modifiable architecture-independent data [PREFIX/com]
2006 --localstatedir=DIR modifiable single-machine data [PREFIX/var]
2007 --libdir=DIR object code libraries [EPREFIX/lib]
2008 --includedir=DIR C header files [PREFIX/include]
2009 --oldincludedir=DIR C header files for non-gcc [/usr/include]
2010 --datarootdir=DIR read-only arch.-independent data root [PREFIX/share]
2011 --datadir=DIR read-only architecture-independent data [DATAROOTDIR]
2012 --infodir=DIR info documentation [DATAROOTDIR/info]
2013 --localedir=DIR locale-dependent data [DATAROOTDIR/locale]
2014 --mandir=DIR man documentation [DATAROOTDIR/man]
2015 --docdir=DIR documentation root [DATAROOTDIR/doc/wine]
2016 --htmldir=DIR html documentation [DOCDIR]
2017 --dvidir=DIR dvi documentation [DOCDIR]
2018 --pdfdir=DIR pdf documentation [DOCDIR]
2019 --psdir=DIR ps documentation [DOCDIR]
2020 _ACEOF
2022 cat <<\_ACEOF
2024 X features:
2025 --x-includes=DIR X include files are in DIR
2026 --x-libraries=DIR X library files are in DIR
2028 System types:
2029 --build=BUILD configure for building on BUILD [guessed]
2030 --host=HOST cross-compile to build programs to run on HOST [BUILD]
2031 _ACEOF
2034 if test -n "$ac_init_help"; then
2035 case $ac_init_help in
2036 short | recursive ) echo "Configuration of Wine 1.7.12:";;
2037 esac
2038 cat <<\_ACEOF
2040 Optional Features:
2041 --disable-option-checking ignore unrecognized --enable/--with options
2042 --disable-FEATURE do not include FEATURE (same as --enable-FEATURE=no)
2043 --enable-FEATURE[=ARG] include FEATURE [ARG=yes]
2044 --disable-win16 do not include Win16 support
2045 --enable-win64 build a Win64 emulator on AMD64 (won't run Win32
2046 binaries)
2047 --disable-tests do not build the regression tests
2048 --enable-maintainer-mode
2049 enable maintainer-specific build rules
2050 --disable-largefile omit support for large files
2052 Optional Packages:
2053 --with-PACKAGE[=ARG] use PACKAGE [ARG=yes]
2054 --without-PACKAGE do not use PACKAGE (same as --with-PACKAGE=no)
2055 --without-alsa do not use the Alsa sound support
2056 --without-capi do not use CAPI (ISDN support)
2057 --without-cms do not use CMS (color management support)
2058 --without-coreaudio do not use the CoreAudio sound support
2059 --without-cups do not use CUPS
2060 --without-curses do not use (n)curses
2061 --without-dbus do not use DBus (dynamic device support)
2062 --without-fontconfig do not use fontconfig
2063 --without-freetype do not use the FreeType library
2064 --without-gettext do not use gettext
2065 --with-gettextpo use the GetTextPO library to rebuild po files
2066 --without-gphoto do not use gphoto (Digital Camera support)
2067 --without-glu do not use the GLU library
2068 --without-gnutls do not use GnuTLS (schannel support)
2069 --without-gsm do not use libgsm (GSM 06.10 codec support)
2070 --without-gstreamer do not use GStreamer (codecs support)
2071 --without-hal do not use HAL (dynamic device support)
2072 --without-jpeg do not use JPEG
2073 --without-ldap do not use LDAP
2074 --without-mpg123 do not use the mpg123 library
2075 --without-netapi do not use the Samba NetAPI library
2076 --without-openal do not use OpenAL
2077 --without-opencl do not use OpenCL
2078 --without-opengl do not use OpenGL
2079 --without-osmesa do not use the OSMesa library
2080 --without-oss do not use the OSS sound support
2081 --without-png do not use PNG
2082 --without-pthread do not use the pthread library
2083 --without-sane do not use SANE (scanner support)
2084 --without-tiff do not use TIFF
2085 --without-v4l do not use v4l1 (v4l support)
2086 --without-xcomposite do not use the Xcomposite extension
2087 --without-xcursor do not use the Xcursor extension
2088 --without-xinerama do not use Xinerama (multi-monitor support)
2089 --without-xinput do not use the Xinput extension
2090 --without-xinput2 do not use the Xinput 2 extension
2091 --without-xml do not use XML
2092 --without-xrandr do not use Xrandr (resolution changes)
2093 --without-xrender do not use the Xrender extension
2094 --without-xshape do not use the Xshape extension
2095 --without-xshm do not use XShm (shared memory extension)
2096 --without-xslt do not use XSLT
2097 --without-xxf86vm do not use XFree video mode extension
2098 --without-zlib do not use Zlib (data compression)
2099 --with-wine-tools=DIR use Wine tools from directory DIR
2100 --with-wine64=DIR use the 64-bit Wine in DIR for a Wow64 build
2101 --with-x use the X Window System
2103 Some influential environment variables:
2104 CC C compiler command
2105 CFLAGS C compiler flags
2106 LDFLAGS linker flags, e.g. -L<lib dir> if you have libraries in a
2107 nonstandard directory <lib dir>
2108 LIBS libraries to pass to the linker, e.g. -l<library>
2109 CPPFLAGS (Objective) C/C++ preprocessor flags, e.g. -I<include dir> if
2110 you have headers in a nonstandard directory <include dir>
2111 CXX C++ compiler command
2112 CXXFLAGS C++ compiler flags
2113 CPP C preprocessor
2114 XMKMF Path to xmkmf, Makefile generator for X Window System
2115 XML2_CFLAGS C compiler flags for libxml-2.0, overriding pkg-config
2116 XML2_LIBS Linker flags for libxml-2.0, overriding pkg-config
2117 XSLT_CFLAGS C compiler flags for libxslt, overriding pkg-config
2118 XSLT_LIBS Linker flags for libxslt, overriding pkg-config
2119 DBUS_CFLAGS C compiler flags for dbus-1, overriding pkg-config
2120 DBUS_LIBS Linker flags for dbus-1, overriding pkg-config
2121 HAL_CFLAGS C compiler flags for hal, overriding pkg-config
2122 HAL_LIBS Linker flags for hal, overriding pkg-config
2123 GNUTLS_CFLAGS
2124 C compiler flags for gnutls, overriding pkg-config
2125 GNUTLS_LIBS Linker flags for gnutls, overriding pkg-config
2126 SANE_CFLAGS C compiler flags for libsane, overriding pkg-config
2127 SANE_LIBS Linker flags for libsane, overriding pkg-config
2128 GPHOTO2_CFLAGS
2129 C compiler flags for libgphoto2, overriding pkg-config
2130 GPHOTO2_LIBS
2131 Linker flags for libgphoto2, overriding pkg-config
2132 GPHOTO2_PORT_CFLAGS
2133 C compiler flags for libgphoto2_port, overriding pkg-config
2134 GPHOTO2_PORT_LIBS
2135 Linker flags for libgphoto2_port, overriding pkg-config
2136 LCMS2_CFLAGS
2137 C compiler flags for lcms2, overriding pkg-config
2138 LCMS2_LIBS Linker flags for lcms2, overriding pkg-config
2139 FREETYPE_CFLAGS
2140 C compiler flags for freetype2, overriding pkg-config
2141 FREETYPE_LIBS
2142 Linker flags for freetype2, overriding pkg-config
2143 GSTREAMER_CFLAGS
2144 C compiler flags for gstreamer-app-0.10, overriding pkg-config
2145 GSTREAMER_LIBS
2146 Linker flags for gstreamer-app-0.10, overriding pkg-config
2147 CAPI20_CFLAGS
2148 C compiler flags for capi20, overriding pkg-config
2149 CAPI20_LIBS Linker flags for capi20, overriding pkg-config
2150 FONTCONFIG_CFLAGS
2151 C compiler flags for fontconfig, overriding pkg-config
2152 FONTCONFIG_LIBS
2153 Linker flags for fontconfig, overriding pkg-config
2154 JPEG_CFLAGS C compiler flags for libjpeg, overriding pkg-config
2155 JPEG_LIBS Linker flags for libjpeg, overriding pkg-config
2156 PNG_CFLAGS C compiler flags for libpng, overriding pkg-config
2157 PNG_LIBS Linker flags for libpng, overriding pkg-config
2158 TIFF_CFLAGS C compiler flags for libtiff, overriding pkg-config
2159 TIFF_LIBS Linker flags for libtiff, overriding pkg-config
2160 MPG123_CFLAGS
2161 C compiler flags for libmpg123, overriding pkg-config
2162 MPG123_LIBS Linker flags for libmpg123, overriding pkg-config
2164 Use these variables to override the choices made by `configure' or to help
2165 it to find libraries and programs with nonstandard names/locations.
2167 Report bugs to <wine-devel@winehq.org>.
2168 Wine home page: <http://www.winehq.org>.
2169 _ACEOF
2170 ac_status=$?
2173 if test "$ac_init_help" = "recursive"; then
2174 # If there are subdirs, report their specific --help.
2175 for ac_dir in : $ac_subdirs_all; do test "x$ac_dir" = x: && continue
2176 test -d "$ac_dir" ||
2177 { cd "$srcdir" && ac_pwd=`pwd` && srcdir=. && test -d "$ac_dir"; } ||
2178 continue
2179 ac_builddir=.
2181 case "$ac_dir" in
2182 .) ac_dir_suffix= ac_top_builddir_sub=. ac_top_build_prefix= ;;
2184 ac_dir_suffix=/`$as_echo "$ac_dir" | sed 's|^\.[\\/]||'`
2185 # A ".." for each directory in $ac_dir_suffix.
2186 ac_top_builddir_sub=`$as_echo "$ac_dir_suffix" | sed 's|/[^\\/]*|/..|g;s|/||'`
2187 case $ac_top_builddir_sub in
2188 "") ac_top_builddir_sub=. ac_top_build_prefix= ;;
2189 *) ac_top_build_prefix=$ac_top_builddir_sub/ ;;
2190 esac ;;
2191 esac
2192 ac_abs_top_builddir=$ac_pwd
2193 ac_abs_builddir=$ac_pwd$ac_dir_suffix
2194 # for backward compatibility:
2195 ac_top_builddir=$ac_top_build_prefix
2197 case $srcdir in
2198 .) # We are building in place.
2199 ac_srcdir=.
2200 ac_top_srcdir=$ac_top_builddir_sub
2201 ac_abs_top_srcdir=$ac_pwd ;;
2202 [\\/]* | ?:[\\/]* ) # Absolute name.
2203 ac_srcdir=$srcdir$ac_dir_suffix;
2204 ac_top_srcdir=$srcdir
2205 ac_abs_top_srcdir=$srcdir ;;
2206 *) # Relative name.
2207 ac_srcdir=$ac_top_build_prefix$srcdir$ac_dir_suffix
2208 ac_top_srcdir=$ac_top_build_prefix$srcdir
2209 ac_abs_top_srcdir=$ac_pwd/$srcdir ;;
2210 esac
2211 ac_abs_srcdir=$ac_abs_top_srcdir$ac_dir_suffix
2213 cd "$ac_dir" || { ac_status=$?; continue; }
2214 # Check for guested configure.
2215 if test -f "$ac_srcdir/configure.gnu"; then
2216 echo &&
2217 $SHELL "$ac_srcdir/configure.gnu" --help=recursive
2218 elif test -f "$ac_srcdir/configure"; then
2219 echo &&
2220 $SHELL "$ac_srcdir/configure" --help=recursive
2221 else
2222 $as_echo "$as_me: WARNING: no configuration information is in $ac_dir" >&2
2223 fi || ac_status=$?
2224 cd "$ac_pwd" || { ac_status=$?; break; }
2225 done
2228 test -n "$ac_init_help" && exit $ac_status
2229 if $ac_init_version; then
2230 cat <<\_ACEOF
2231 Wine configure 1.7.12
2232 generated by GNU Autoconf 2.69
2234 Copyright (C) 2012 Free Software Foundation, Inc.
2235 This configure script is free software; the Free Software Foundation
2236 gives unlimited permission to copy, distribute and modify it.
2237 _ACEOF
2238 exit
2241 ## ------------------------ ##
2242 ## Autoconf initialization. ##
2243 ## ------------------------ ##
2245 # ac_fn_c_try_compile LINENO
2246 # --------------------------
2247 # Try to compile conftest.$ac_ext, and return whether this succeeded.
2248 ac_fn_c_try_compile ()
2250 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
2251 rm -f conftest.$ac_objext
2252 if { { ac_try="$ac_compile"
2253 case "(($ac_try" in
2254 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2255 *) ac_try_echo=$ac_try;;
2256 esac
2257 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
2258 $as_echo "$ac_try_echo"; } >&5
2259 (eval "$ac_compile") 2>conftest.err
2260 ac_status=$?
2261 if test -s conftest.err; then
2262 grep -v '^ *+' conftest.err >conftest.er1
2263 cat conftest.er1 >&5
2264 mv -f conftest.er1 conftest.err
2266 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
2267 test $ac_status = 0; } && {
2268 test -z "$ac_c_werror_flag" ||
2269 test ! -s conftest.err
2270 } && test -s conftest.$ac_objext; then :
2271 ac_retval=0
2272 else
2273 $as_echo "$as_me: failed program was:" >&5
2274 sed 's/^/| /' conftest.$ac_ext >&5
2276 ac_retval=1
2278 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
2279 as_fn_set_status $ac_retval
2281 } # ac_fn_c_try_compile
2283 # ac_fn_cxx_try_compile LINENO
2284 # ----------------------------
2285 # Try to compile conftest.$ac_ext, and return whether this succeeded.
2286 ac_fn_cxx_try_compile ()
2288 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
2289 rm -f conftest.$ac_objext
2290 if { { ac_try="$ac_compile"
2291 case "(($ac_try" in
2292 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2293 *) ac_try_echo=$ac_try;;
2294 esac
2295 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
2296 $as_echo "$ac_try_echo"; } >&5
2297 (eval "$ac_compile") 2>conftest.err
2298 ac_status=$?
2299 if test -s conftest.err; then
2300 grep -v '^ *+' conftest.err >conftest.er1
2301 cat conftest.er1 >&5
2302 mv -f conftest.er1 conftest.err
2304 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
2305 test $ac_status = 0; } && {
2306 test -z "$ac_cxx_werror_flag" ||
2307 test ! -s conftest.err
2308 } && test -s conftest.$ac_objext; then :
2309 ac_retval=0
2310 else
2311 $as_echo "$as_me: failed program was:" >&5
2312 sed 's/^/| /' conftest.$ac_ext >&5
2314 ac_retval=1
2316 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
2317 as_fn_set_status $ac_retval
2319 } # ac_fn_cxx_try_compile
2321 # ac_fn_c_try_link LINENO
2322 # -----------------------
2323 # Try to link conftest.$ac_ext, and return whether this succeeded.
2324 ac_fn_c_try_link ()
2326 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
2327 rm -f conftest.$ac_objext conftest$ac_exeext
2328 if { { ac_try="$ac_link"
2329 case "(($ac_try" in
2330 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2331 *) ac_try_echo=$ac_try;;
2332 esac
2333 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
2334 $as_echo "$ac_try_echo"; } >&5
2335 (eval "$ac_link") 2>conftest.err
2336 ac_status=$?
2337 if test -s conftest.err; then
2338 grep -v '^ *+' conftest.err >conftest.er1
2339 cat conftest.er1 >&5
2340 mv -f conftest.er1 conftest.err
2342 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
2343 test $ac_status = 0; } && {
2344 test -z "$ac_c_werror_flag" ||
2345 test ! -s conftest.err
2346 } && test -s conftest$ac_exeext && {
2347 test "$cross_compiling" = yes ||
2348 test -x conftest$ac_exeext
2349 }; then :
2350 ac_retval=0
2351 else
2352 $as_echo "$as_me: failed program was:" >&5
2353 sed 's/^/| /' conftest.$ac_ext >&5
2355 ac_retval=1
2357 # Delete the IPA/IPO (Inter Procedural Analysis/Optimization) information
2358 # created by the PGI compiler (conftest_ipa8_conftest.oo), as it would
2359 # interfere with the next link command; also delete a directory that is
2360 # left behind by Apple's compiler. We do this before executing the actions.
2361 rm -rf conftest.dSYM conftest_ipa8_conftest.oo
2362 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
2363 as_fn_set_status $ac_retval
2365 } # ac_fn_c_try_link
2367 # ac_fn_c_try_cpp LINENO
2368 # ----------------------
2369 # Try to preprocess conftest.$ac_ext, and return whether this succeeded.
2370 ac_fn_c_try_cpp ()
2372 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
2373 if { { ac_try="$ac_cpp conftest.$ac_ext"
2374 case "(($ac_try" in
2375 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2376 *) ac_try_echo=$ac_try;;
2377 esac
2378 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
2379 $as_echo "$ac_try_echo"; } >&5
2380 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.err
2381 ac_status=$?
2382 if test -s conftest.err; then
2383 grep -v '^ *+' conftest.err >conftest.er1
2384 cat conftest.er1 >&5
2385 mv -f conftest.er1 conftest.err
2387 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
2388 test $ac_status = 0; } > conftest.i && {
2389 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
2390 test ! -s conftest.err
2391 }; then :
2392 ac_retval=0
2393 else
2394 $as_echo "$as_me: failed program was:" >&5
2395 sed 's/^/| /' conftest.$ac_ext >&5
2397 ac_retval=1
2399 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
2400 as_fn_set_status $ac_retval
2402 } # ac_fn_c_try_cpp
2404 # ac_fn_c_check_header_mongrel LINENO HEADER VAR INCLUDES
2405 # -------------------------------------------------------
2406 # Tests whether HEADER exists, giving a warning if it cannot be compiled using
2407 # the include files in INCLUDES and setting the cache variable VAR
2408 # accordingly.
2409 ac_fn_c_check_header_mongrel ()
2411 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
2412 if eval \${$3+:} false; then :
2413 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
2414 $as_echo_n "checking for $2... " >&6; }
2415 if eval \${$3+:} false; then :
2416 $as_echo_n "(cached) " >&6
2418 eval ac_res=\$$3
2419 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
2420 $as_echo "$ac_res" >&6; }
2421 else
2422 # Is the header compilable?
2423 { $as_echo "$as_me:${as_lineno-$LINENO}: checking $2 usability" >&5
2424 $as_echo_n "checking $2 usability... " >&6; }
2425 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2426 /* end confdefs.h. */
2428 #include <$2>
2429 _ACEOF
2430 if ac_fn_c_try_compile "$LINENO"; then :
2431 ac_header_compiler=yes
2432 else
2433 ac_header_compiler=no
2435 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
2436 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_header_compiler" >&5
2437 $as_echo "$ac_header_compiler" >&6; }
2439 # Is the header present?
2440 { $as_echo "$as_me:${as_lineno-$LINENO}: checking $2 presence" >&5
2441 $as_echo_n "checking $2 presence... " >&6; }
2442 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2443 /* end confdefs.h. */
2444 #include <$2>
2445 _ACEOF
2446 if ac_fn_c_try_cpp "$LINENO"; then :
2447 ac_header_preproc=yes
2448 else
2449 ac_header_preproc=no
2451 rm -f conftest.err conftest.i conftest.$ac_ext
2452 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_header_preproc" >&5
2453 $as_echo "$ac_header_preproc" >&6; }
2455 # So? What about this header?
2456 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in #((
2457 yes:no: )
2458 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: accepted by the compiler, rejected by the preprocessor!" >&5
2459 $as_echo "$as_me: WARNING: $2: accepted by the compiler, rejected by the preprocessor!" >&2;}
2460 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: proceeding with the compiler's result" >&5
2461 $as_echo "$as_me: WARNING: $2: proceeding with the compiler's result" >&2;}
2463 no:yes:* )
2464 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: present but cannot be compiled" >&5
2465 $as_echo "$as_me: WARNING: $2: present but cannot be compiled" >&2;}
2466 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: check for missing prerequisite headers?" >&5
2467 $as_echo "$as_me: WARNING: $2: check for missing prerequisite headers?" >&2;}
2468 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: see the Autoconf documentation" >&5
2469 $as_echo "$as_me: WARNING: $2: see the Autoconf documentation" >&2;}
2470 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: section \"Present But Cannot Be Compiled\"" >&5
2471 $as_echo "$as_me: WARNING: $2: section \"Present But Cannot Be Compiled\"" >&2;}
2472 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: proceeding with the compiler's result" >&5
2473 $as_echo "$as_me: WARNING: $2: proceeding with the compiler's result" >&2;}
2474 ( $as_echo "## ------------------------------------ ##
2475 ## Report this to wine-devel@winehq.org ##
2476 ## ------------------------------------ ##"
2477 ) | sed "s/^/$as_me: WARNING: /" >&2
2479 esac
2480 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
2481 $as_echo_n "checking for $2... " >&6; }
2482 if eval \${$3+:} false; then :
2483 $as_echo_n "(cached) " >&6
2484 else
2485 eval "$3=\$ac_header_compiler"
2487 eval ac_res=\$$3
2488 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
2489 $as_echo "$ac_res" >&6; }
2491 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
2493 } # ac_fn_c_check_header_mongrel
2495 # ac_fn_c_try_run LINENO
2496 # ----------------------
2497 # Try to link conftest.$ac_ext, and return whether this succeeded. Assumes
2498 # that executables *can* be run.
2499 ac_fn_c_try_run ()
2501 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
2502 if { { ac_try="$ac_link"
2503 case "(($ac_try" in
2504 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2505 *) ac_try_echo=$ac_try;;
2506 esac
2507 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
2508 $as_echo "$ac_try_echo"; } >&5
2509 (eval "$ac_link") 2>&5
2510 ac_status=$?
2511 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
2512 test $ac_status = 0; } && { ac_try='./conftest$ac_exeext'
2513 { { case "(($ac_try" in
2514 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2515 *) ac_try_echo=$ac_try;;
2516 esac
2517 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
2518 $as_echo "$ac_try_echo"; } >&5
2519 (eval "$ac_try") 2>&5
2520 ac_status=$?
2521 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
2522 test $ac_status = 0; }; }; then :
2523 ac_retval=0
2524 else
2525 $as_echo "$as_me: program exited with status $ac_status" >&5
2526 $as_echo "$as_me: failed program was:" >&5
2527 sed 's/^/| /' conftest.$ac_ext >&5
2529 ac_retval=$ac_status
2531 rm -rf conftest.dSYM conftest_ipa8_conftest.oo
2532 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
2533 as_fn_set_status $ac_retval
2535 } # ac_fn_c_try_run
2537 # ac_fn_c_check_header_compile LINENO HEADER VAR INCLUDES
2538 # -------------------------------------------------------
2539 # Tests whether HEADER exists and can be compiled using the include files in
2540 # INCLUDES, setting the cache variable VAR accordingly.
2541 ac_fn_c_check_header_compile ()
2543 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
2544 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
2545 $as_echo_n "checking for $2... " >&6; }
2546 if eval \${$3+:} false; then :
2547 $as_echo_n "(cached) " >&6
2548 else
2549 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2550 /* end confdefs.h. */
2552 #include <$2>
2553 _ACEOF
2554 if ac_fn_c_try_compile "$LINENO"; then :
2555 eval "$3=yes"
2556 else
2557 eval "$3=no"
2559 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
2561 eval ac_res=\$$3
2562 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
2563 $as_echo "$ac_res" >&6; }
2564 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
2566 } # ac_fn_c_check_header_compile
2568 # ac_fn_c_check_func LINENO FUNC VAR
2569 # ----------------------------------
2570 # Tests whether FUNC exists, setting the cache variable VAR accordingly
2571 ac_fn_c_check_func ()
2573 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
2574 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
2575 $as_echo_n "checking for $2... " >&6; }
2576 if eval \${$3+:} false; then :
2577 $as_echo_n "(cached) " >&6
2578 else
2579 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2580 /* end confdefs.h. */
2581 /* Define $2 to an innocuous variant, in case <limits.h> declares $2.
2582 For example, HP-UX 11i <limits.h> declares gettimeofday. */
2583 #define $2 innocuous_$2
2585 /* System header to define __stub macros and hopefully few prototypes,
2586 which can conflict with char $2 (); below.
2587 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
2588 <limits.h> exists even on freestanding compilers. */
2590 #ifdef __STDC__
2591 # include <limits.h>
2592 #else
2593 # include <assert.h>
2594 #endif
2596 #undef $2
2598 /* Override any GCC internal prototype to avoid an error.
2599 Use char because int might match the return type of a GCC
2600 builtin and then its argument prototype would still apply. */
2601 #ifdef __cplusplus
2602 extern "C"
2603 #endif
2604 char $2 ();
2605 /* The GNU C library defines this for functions which it implements
2606 to always fail with ENOSYS. Some functions are actually named
2607 something starting with __ and the normal name is an alias. */
2608 #if defined __stub_$2 || defined __stub___$2
2609 choke me
2610 #endif
2613 main ()
2615 return $2 ();
2617 return 0;
2619 _ACEOF
2620 if ac_fn_c_try_link "$LINENO"; then :
2621 eval "$3=yes"
2622 else
2623 eval "$3=no"
2625 rm -f core conftest.err conftest.$ac_objext \
2626 conftest$ac_exeext conftest.$ac_ext
2628 eval ac_res=\$$3
2629 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
2630 $as_echo "$ac_res" >&6; }
2631 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
2633 } # ac_fn_c_check_func
2635 # ac_fn_c_check_member LINENO AGGR MEMBER VAR INCLUDES
2636 # ----------------------------------------------------
2637 # Tries to find if the field MEMBER exists in type AGGR, after including
2638 # INCLUDES, setting cache variable VAR accordingly.
2639 ac_fn_c_check_member ()
2641 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
2642 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2.$3" >&5
2643 $as_echo_n "checking for $2.$3... " >&6; }
2644 if eval \${$4+:} false; then :
2645 $as_echo_n "(cached) " >&6
2646 else
2647 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2648 /* end confdefs.h. */
2651 main ()
2653 static $2 ac_aggr;
2654 if (ac_aggr.$3)
2655 return 0;
2657 return 0;
2659 _ACEOF
2660 if ac_fn_c_try_compile "$LINENO"; then :
2661 eval "$4=yes"
2662 else
2663 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2664 /* end confdefs.h. */
2667 main ()
2669 static $2 ac_aggr;
2670 if (sizeof ac_aggr.$3)
2671 return 0;
2673 return 0;
2675 _ACEOF
2676 if ac_fn_c_try_compile "$LINENO"; then :
2677 eval "$4=yes"
2678 else
2679 eval "$4=no"
2681 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
2683 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
2685 eval ac_res=\$$4
2686 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
2687 $as_echo "$ac_res" >&6; }
2688 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
2690 } # ac_fn_c_check_member
2692 # ac_fn_c_check_type LINENO TYPE VAR INCLUDES
2693 # -------------------------------------------
2694 # Tests whether TYPE exists after having included INCLUDES, setting cache
2695 # variable VAR accordingly.
2696 ac_fn_c_check_type ()
2698 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
2699 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
2700 $as_echo_n "checking for $2... " >&6; }
2701 if eval \${$3+:} false; then :
2702 $as_echo_n "(cached) " >&6
2703 else
2704 eval "$3=no"
2705 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2706 /* end confdefs.h. */
2709 main ()
2711 if (sizeof ($2))
2712 return 0;
2714 return 0;
2716 _ACEOF
2717 if ac_fn_c_try_compile "$LINENO"; then :
2718 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2719 /* end confdefs.h. */
2722 main ()
2724 if (sizeof (($2)))
2725 return 0;
2727 return 0;
2729 _ACEOF
2730 if ac_fn_c_try_compile "$LINENO"; then :
2732 else
2733 eval "$3=yes"
2735 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
2737 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
2739 eval ac_res=\$$3
2740 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
2741 $as_echo "$ac_res" >&6; }
2742 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
2744 } # ac_fn_c_check_type
2745 cat >config.log <<_ACEOF
2746 This file contains any messages produced by compilers while
2747 running configure, to aid debugging if configure makes a mistake.
2749 It was created by Wine $as_me 1.7.12, which was
2750 generated by GNU Autoconf 2.69. Invocation command line was
2752 $ $0 $@
2754 _ACEOF
2755 exec 5>>config.log
2757 cat <<_ASUNAME
2758 ## --------- ##
2759 ## Platform. ##
2760 ## --------- ##
2762 hostname = `(hostname || uname -n) 2>/dev/null | sed 1q`
2763 uname -m = `(uname -m) 2>/dev/null || echo unknown`
2764 uname -r = `(uname -r) 2>/dev/null || echo unknown`
2765 uname -s = `(uname -s) 2>/dev/null || echo unknown`
2766 uname -v = `(uname -v) 2>/dev/null || echo unknown`
2768 /usr/bin/uname -p = `(/usr/bin/uname -p) 2>/dev/null || echo unknown`
2769 /bin/uname -X = `(/bin/uname -X) 2>/dev/null || echo unknown`
2771 /bin/arch = `(/bin/arch) 2>/dev/null || echo unknown`
2772 /usr/bin/arch -k = `(/usr/bin/arch -k) 2>/dev/null || echo unknown`
2773 /usr/convex/getsysinfo = `(/usr/convex/getsysinfo) 2>/dev/null || echo unknown`
2774 /usr/bin/hostinfo = `(/usr/bin/hostinfo) 2>/dev/null || echo unknown`
2775 /bin/machine = `(/bin/machine) 2>/dev/null || echo unknown`
2776 /usr/bin/oslevel = `(/usr/bin/oslevel) 2>/dev/null || echo unknown`
2777 /bin/universe = `(/bin/universe) 2>/dev/null || echo unknown`
2779 _ASUNAME
2781 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2782 for as_dir in $PATH
2784 IFS=$as_save_IFS
2785 test -z "$as_dir" && as_dir=.
2786 $as_echo "PATH: $as_dir"
2787 done
2788 IFS=$as_save_IFS
2790 } >&5
2792 cat >&5 <<_ACEOF
2795 ## ----------- ##
2796 ## Core tests. ##
2797 ## ----------- ##
2799 _ACEOF
2802 # Keep a trace of the command line.
2803 # Strip out --no-create and --no-recursion so they do not pile up.
2804 # Strip out --silent because we don't want to record it for future runs.
2805 # Also quote any args containing shell meta-characters.
2806 # Make two passes to allow for proper duplicate-argument suppression.
2807 ac_configure_args=
2808 ac_configure_args0=
2809 ac_configure_args1=
2810 ac_must_keep_next=false
2811 for ac_pass in 1 2
2813 for ac_arg
2815 case $ac_arg in
2816 -no-create | --no-c* | -n | -no-recursion | --no-r*) continue ;;
2817 -q | -quiet | --quiet | --quie | --qui | --qu | --q \
2818 | -silent | --silent | --silen | --sile | --sil)
2819 continue ;;
2820 *\'*)
2821 ac_arg=`$as_echo "$ac_arg" | sed "s/'/'\\\\\\\\''/g"` ;;
2822 esac
2823 case $ac_pass in
2824 1) as_fn_append ac_configure_args0 " '$ac_arg'" ;;
2826 as_fn_append ac_configure_args1 " '$ac_arg'"
2827 if test $ac_must_keep_next = true; then
2828 ac_must_keep_next=false # Got value, back to normal.
2829 else
2830 case $ac_arg in
2831 *=* | --config-cache | -C | -disable-* | --disable-* \
2832 | -enable-* | --enable-* | -gas | --g* | -nfp | --nf* \
2833 | -q | -quiet | --q* | -silent | --sil* | -v | -verb* \
2834 | -with-* | --with-* | -without-* | --without-* | --x)
2835 case "$ac_configure_args0 " in
2836 "$ac_configure_args1"*" '$ac_arg' "* ) continue ;;
2837 esac
2839 -* ) ac_must_keep_next=true ;;
2840 esac
2842 as_fn_append ac_configure_args " '$ac_arg'"
2844 esac
2845 done
2846 done
2847 { ac_configure_args0=; unset ac_configure_args0;}
2848 { ac_configure_args1=; unset ac_configure_args1;}
2850 # When interrupted or exit'd, cleanup temporary files, and complete
2851 # config.log. We remove comments because anyway the quotes in there
2852 # would cause problems or look ugly.
2853 # WARNING: Use '\'' to represent an apostrophe within the trap.
2854 # WARNING: Do not start the trap code with a newline, due to a FreeBSD 4.0 bug.
2855 trap 'exit_status=$?
2856 # Save into config.log some information that might help in debugging.
2858 echo
2860 $as_echo "## ---------------- ##
2861 ## Cache variables. ##
2862 ## ---------------- ##"
2863 echo
2864 # The following way of writing the cache mishandles newlines in values,
2866 for ac_var in `(set) 2>&1 | sed -n '\''s/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'\''`; do
2867 eval ac_val=\$$ac_var
2868 case $ac_val in #(
2869 *${as_nl}*)
2870 case $ac_var in #(
2871 *_cv_*) { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: cache variable $ac_var contains a newline" >&5
2872 $as_echo "$as_me: WARNING: cache variable $ac_var contains a newline" >&2;} ;;
2873 esac
2874 case $ac_var in #(
2875 _ | IFS | as_nl) ;; #(
2876 BASH_ARGV | BASH_SOURCE) eval $ac_var= ;; #(
2877 *) { eval $ac_var=; unset $ac_var;} ;;
2878 esac ;;
2879 esac
2880 done
2881 (set) 2>&1 |
2882 case $as_nl`(ac_space='\'' '\''; set) 2>&1` in #(
2883 *${as_nl}ac_space=\ *)
2884 sed -n \
2885 "s/'\''/'\''\\\\'\'''\''/g;
2886 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\''\\2'\''/p"
2887 ;; #(
2889 sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
2891 esac |
2892 sort
2894 echo
2896 $as_echo "## ----------------- ##
2897 ## Output variables. ##
2898 ## ----------------- ##"
2899 echo
2900 for ac_var in $ac_subst_vars
2902 eval ac_val=\$$ac_var
2903 case $ac_val in
2904 *\'\''*) ac_val=`$as_echo "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;;
2905 esac
2906 $as_echo "$ac_var='\''$ac_val'\''"
2907 done | sort
2908 echo
2910 if test -n "$ac_subst_files"; then
2911 $as_echo "## ------------------- ##
2912 ## File substitutions. ##
2913 ## ------------------- ##"
2914 echo
2915 for ac_var in $ac_subst_files
2917 eval ac_val=\$$ac_var
2918 case $ac_val in
2919 *\'\''*) ac_val=`$as_echo "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;;
2920 esac
2921 $as_echo "$ac_var='\''$ac_val'\''"
2922 done | sort
2923 echo
2926 if test -s confdefs.h; then
2927 $as_echo "## ----------- ##
2928 ## confdefs.h. ##
2929 ## ----------- ##"
2930 echo
2931 cat confdefs.h
2932 echo
2934 test "$ac_signal" != 0 &&
2935 $as_echo "$as_me: caught signal $ac_signal"
2936 $as_echo "$as_me: exit $exit_status"
2937 } >&5
2938 rm -f core *.core core.conftest.* &&
2939 rm -f -r conftest* confdefs* conf$$* $ac_clean_files &&
2940 exit $exit_status
2942 for ac_signal in 1 2 13 15; do
2943 trap 'ac_signal='$ac_signal'; as_fn_exit 1' $ac_signal
2944 done
2945 ac_signal=0
2947 # confdefs.h avoids OS command line length limits that DEFS can exceed.
2948 rm -f -r conftest* confdefs.h
2950 $as_echo "/* confdefs.h */" > confdefs.h
2952 # Predefined preprocessor variables.
2954 cat >>confdefs.h <<_ACEOF
2955 #define PACKAGE_NAME "$PACKAGE_NAME"
2956 _ACEOF
2958 cat >>confdefs.h <<_ACEOF
2959 #define PACKAGE_TARNAME "$PACKAGE_TARNAME"
2960 _ACEOF
2962 cat >>confdefs.h <<_ACEOF
2963 #define PACKAGE_VERSION "$PACKAGE_VERSION"
2964 _ACEOF
2966 cat >>confdefs.h <<_ACEOF
2967 #define PACKAGE_STRING "$PACKAGE_STRING"
2968 _ACEOF
2970 cat >>confdefs.h <<_ACEOF
2971 #define PACKAGE_BUGREPORT "$PACKAGE_BUGREPORT"
2972 _ACEOF
2974 cat >>confdefs.h <<_ACEOF
2975 #define PACKAGE_URL "$PACKAGE_URL"
2976 _ACEOF
2979 # Let the site file select an alternate cache file if it wants to.
2980 # Prefer an explicitly selected file to automatically selected ones.
2981 ac_site_file1=NONE
2982 ac_site_file2=NONE
2983 if test -n "$CONFIG_SITE"; then
2984 # We do not want a PATH search for config.site.
2985 case $CONFIG_SITE in #((
2986 -*) ac_site_file1=./$CONFIG_SITE;;
2987 */*) ac_site_file1=$CONFIG_SITE;;
2988 *) ac_site_file1=./$CONFIG_SITE;;
2989 esac
2990 elif test "x$prefix" != xNONE; then
2991 ac_site_file1=$prefix/share/config.site
2992 ac_site_file2=$prefix/etc/config.site
2993 else
2994 ac_site_file1=$ac_default_prefix/share/config.site
2995 ac_site_file2=$ac_default_prefix/etc/config.site
2997 for ac_site_file in "$ac_site_file1" "$ac_site_file2"
2999 test "x$ac_site_file" = xNONE && continue
3000 if test /dev/null != "$ac_site_file" && test -r "$ac_site_file"; then
3001 { $as_echo "$as_me:${as_lineno-$LINENO}: loading site script $ac_site_file" >&5
3002 $as_echo "$as_me: loading site script $ac_site_file" >&6;}
3003 sed 's/^/| /' "$ac_site_file" >&5
3004 . "$ac_site_file" \
3005 || { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
3006 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
3007 as_fn_error $? "failed to load site script $ac_site_file
3008 See \`config.log' for more details" "$LINENO" 5; }
3010 done
3012 if test -r "$cache_file"; then
3013 # Some versions of bash will fail to source /dev/null (special files
3014 # actually), so we avoid doing that. DJGPP emulates it as a regular file.
3015 if test /dev/null != "$cache_file" && test -f "$cache_file"; then
3016 { $as_echo "$as_me:${as_lineno-$LINENO}: loading cache $cache_file" >&5
3017 $as_echo "$as_me: loading cache $cache_file" >&6;}
3018 case $cache_file in
3019 [\\/]* | ?:[\\/]* ) . "$cache_file";;
3020 *) . "./$cache_file";;
3021 esac
3023 else
3024 { $as_echo "$as_me:${as_lineno-$LINENO}: creating cache $cache_file" >&5
3025 $as_echo "$as_me: creating cache $cache_file" >&6;}
3026 >$cache_file
3029 # Check that the precious variables saved in the cache have kept the same
3030 # value.
3031 ac_cache_corrupted=false
3032 for ac_var in $ac_precious_vars; do
3033 eval ac_old_set=\$ac_cv_env_${ac_var}_set
3034 eval ac_new_set=\$ac_env_${ac_var}_set
3035 eval ac_old_val=\$ac_cv_env_${ac_var}_value
3036 eval ac_new_val=\$ac_env_${ac_var}_value
3037 case $ac_old_set,$ac_new_set in
3038 set,)
3039 { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&5
3040 $as_echo "$as_me: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&2;}
3041 ac_cache_corrupted=: ;;
3042 ,set)
3043 { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' was not set in the previous run" >&5
3044 $as_echo "$as_me: error: \`$ac_var' was not set in the previous run" >&2;}
3045 ac_cache_corrupted=: ;;
3046 ,);;
3048 if test "x$ac_old_val" != "x$ac_new_val"; then
3049 # differences in whitespace do not lead to failure.
3050 ac_old_val_w=`echo x $ac_old_val`
3051 ac_new_val_w=`echo x $ac_new_val`
3052 if test "$ac_old_val_w" != "$ac_new_val_w"; then
3053 { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' has changed since the previous run:" >&5
3054 $as_echo "$as_me: error: \`$ac_var' has changed since the previous run:" >&2;}
3055 ac_cache_corrupted=:
3056 else
3057 { $as_echo "$as_me:${as_lineno-$LINENO}: warning: ignoring whitespace changes in \`$ac_var' since the previous run:" >&5
3058 $as_echo "$as_me: warning: ignoring whitespace changes in \`$ac_var' since the previous run:" >&2;}
3059 eval $ac_var=\$ac_old_val
3061 { $as_echo "$as_me:${as_lineno-$LINENO}: former value: \`$ac_old_val'" >&5
3062 $as_echo "$as_me: former value: \`$ac_old_val'" >&2;}
3063 { $as_echo "$as_me:${as_lineno-$LINENO}: current value: \`$ac_new_val'" >&5
3064 $as_echo "$as_me: current value: \`$ac_new_val'" >&2;}
3065 fi;;
3066 esac
3067 # Pass precious variables to config.status.
3068 if test "$ac_new_set" = set; then
3069 case $ac_new_val in
3070 *\'*) ac_arg=$ac_var=`$as_echo "$ac_new_val" | sed "s/'/'\\\\\\\\''/g"` ;;
3071 *) ac_arg=$ac_var=$ac_new_val ;;
3072 esac
3073 case " $ac_configure_args " in
3074 *" '$ac_arg' "*) ;; # Avoid dups. Use of quotes ensures accuracy.
3075 *) as_fn_append ac_configure_args " '$ac_arg'" ;;
3076 esac
3078 done
3079 if $ac_cache_corrupted; then
3080 { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
3081 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
3082 { $as_echo "$as_me:${as_lineno-$LINENO}: error: changes in the environment can compromise the build" >&5
3083 $as_echo "$as_me: error: changes in the environment can compromise the build" >&2;}
3084 as_fn_error $? "run \`make distclean' and/or \`rm $cache_file' and start over" "$LINENO" 5
3086 ## -------------------- ##
3087 ## Main body of script. ##
3088 ## -------------------- ##
3090 ac_ext=c
3091 ac_cpp='$CPP $CPPFLAGS'
3092 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
3093 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
3094 ac_compiler_gnu=$ac_cv_c_compiler_gnu
3098 ac_config_headers="$ac_config_headers include/config.h"
3100 ac_aux_dir=
3101 for ac_dir in tools "$srcdir"/tools; do
3102 if test -f "$ac_dir/install-sh"; then
3103 ac_aux_dir=$ac_dir
3104 ac_install_sh="$ac_aux_dir/install-sh -c"
3105 break
3106 elif test -f "$ac_dir/install.sh"; then
3107 ac_aux_dir=$ac_dir
3108 ac_install_sh="$ac_aux_dir/install.sh -c"
3109 break
3110 elif test -f "$ac_dir/shtool"; then
3111 ac_aux_dir=$ac_dir
3112 ac_install_sh="$ac_aux_dir/shtool install -c"
3113 break
3115 done
3116 if test -z "$ac_aux_dir"; then
3117 as_fn_error $? "cannot find install-sh, install.sh, or shtool in tools \"$srcdir\"/tools" "$LINENO" 5
3120 # These three variables are undocumented and unsupported,
3121 # and are intended to be withdrawn in a future Autoconf release.
3122 # They can cause serious problems if a builder's source tree is in a directory
3123 # whose full name contains unusual characters.
3124 ac_config_guess="$SHELL $ac_aux_dir/config.guess" # Please don't use this var.
3125 ac_config_sub="$SHELL $ac_aux_dir/config.sub" # Please don't use this var.
3126 ac_configure="$SHELL $ac_aux_dir/configure" # Please don't use this var.
3130 libwine_version="1.0"
3134 # Check whether --enable-win16 was given.
3135 if test "${enable_win16+set}" = set; then :
3136 enableval=$enable_win16;
3139 # Check whether --enable-win64 was given.
3140 if test "${enable_win64+set}" = set; then :
3141 enableval=$enable_win64;
3144 # Check whether --enable-tests was given.
3145 if test "${enable_tests+set}" = set; then :
3146 enableval=$enable_tests;
3149 # Check whether --enable-maintainer-mode was given.
3150 if test "${enable_maintainer_mode+set}" = set; then :
3151 enableval=$enable_maintainer_mode;
3156 # Check whether --with-alsa was given.
3157 if test "${with_alsa+set}" = set; then :
3158 withval=$with_alsa; if test "x$withval" = "xno"; then ac_cv_header_sys_asoundlib_h=no; ac_cv_header_alsa_asoundlib_h=no; fi
3162 # Check whether --with-capi was given.
3163 if test "${with_capi+set}" = set; then :
3164 withval=$with_capi;
3168 # Check whether --with-cms was given.
3169 if test "${with_cms+set}" = set; then :
3170 withval=$with_cms;
3174 # Check whether --with-coreaudio was given.
3175 if test "${with_coreaudio+set}" = set; then :
3176 withval=$with_coreaudio; if test "x$withval" = "xno"; then ac_cv_header_CoreAudio_CoreAudio_h=no; fi
3180 # Check whether --with-cups was given.
3181 if test "${with_cups+set}" = set; then :
3182 withval=$with_cups;
3186 # Check whether --with-curses was given.
3187 if test "${with_curses+set}" = set; then :
3188 withval=$with_curses; if test "x$withval" = "xno"; then ac_cv_header_ncurses_h=no; ac_cv_header_curses_h=no; fi
3192 # Check whether --with-dbus was given.
3193 if test "${with_dbus+set}" = set; then :
3194 withval=$with_dbus;
3198 # Check whether --with-fontconfig was given.
3199 if test "${with_fontconfig+set}" = set; then :
3200 withval=$with_fontconfig;
3204 # Check whether --with-freetype was given.
3205 if test "${with_freetype+set}" = set; then :
3206 withval=$with_freetype;
3210 # Check whether --with-gettext was given.
3211 if test "${with_gettext+set}" = set; then :
3212 withval=$with_gettext;
3216 # Check whether --with-gettextpo was given.
3217 if test "${with_gettextpo+set}" = set; then :
3218 withval=$with_gettextpo; if test "x$withval" = "xno"; then ac_cv_header_gettext_po_h=no; fi
3222 # Check whether --with-gphoto was given.
3223 if test "${with_gphoto+set}" = set; then :
3224 withval=$with_gphoto;
3228 # Check whether --with-glu was given.
3229 if test "${with_glu+set}" = set; then :
3230 withval=$with_glu;
3234 # Check whether --with-gnutls was given.
3235 if test "${with_gnutls+set}" = set; then :
3236 withval=$with_gnutls;
3240 # Check whether --with-gsm was given.
3241 if test "${with_gsm+set}" = set; then :
3242 withval=$with_gsm; if test "x$withval" = "xno"; then ac_cv_header_gsm_h=no; ac_cv_header_gsm_gsm_h=no; fi
3246 # Check whether --with-gstreamer was given.
3247 if test "${with_gstreamer+set}" = set; then :
3248 withval=$with_gstreamer;
3252 # Check whether --with-hal was given.
3253 if test "${with_hal+set}" = set; then :
3254 withval=$with_hal;
3258 # Check whether --with-jpeg was given.
3259 if test "${with_jpeg+set}" = set; then :
3260 withval=$with_jpeg;
3264 # Check whether --with-ldap was given.
3265 if test "${with_ldap+set}" = set; then :
3266 withval=$with_ldap; if test "x$withval" = "xno"; then ac_cv_header_ldap_h=no; ac_cv_header_lber_h=no; fi
3270 # Check whether --with-mpg123 was given.
3271 if test "${with_mpg123+set}" = set; then :
3272 withval=$with_mpg123;
3276 # Check whether --with-netapi was given.
3277 if test "${with_netapi+set}" = set; then :
3278 withval=$with_netapi;
3282 # Check whether --with-openal was given.
3283 if test "${with_openal+set}" = set; then :
3284 withval=$with_openal; if test "x$withval" = "xno"; then ac_cv_header_AL_al_h=no; ac_cv_header_OpenAL_al_h=no; fi
3288 # Check whether --with-opencl was given.
3289 if test "${with_opencl+set}" = set; then :
3290 withval=$with_opencl; if test "x$withval" = "xno"; then ac_cv_header_CL_cl_h=no; ac_cv_header_OpenCL_opencl_h=no; fi
3294 # Check whether --with-opengl was given.
3295 if test "${with_opengl+set}" = set; then :
3296 withval=$with_opengl;
3300 # Check whether --with-osmesa was given.
3301 if test "${with_osmesa+set}" = set; then :
3302 withval=$with_osmesa;
3306 # Check whether --with-oss was given.
3307 if test "${with_oss+set}" = set; then :
3308 withval=$with_oss;
3312 # Check whether --with-png was given.
3313 if test "${with_png+set}" = set; then :
3314 withval=$with_png;
3318 # Check whether --with-pthread was given.
3319 if test "${with_pthread+set}" = set; then :
3320 withval=$with_pthread; if test "x$withval" = "xno"; then ac_cv_header_pthread_h=no; fi
3324 # Check whether --with-sane was given.
3325 if test "${with_sane+set}" = set; then :
3326 withval=$with_sane;
3330 # Check whether --with-tiff was given.
3331 if test "${with_tiff+set}" = set; then :
3332 withval=$with_tiff;
3336 # Check whether --with-v4l was given.
3337 if test "${with_v4l+set}" = set; then :
3338 withval=$with_v4l;
3342 # Check whether --with-xcomposite was given.
3343 if test "${with_xcomposite+set}" = set; then :
3344 withval=$with_xcomposite; if test "x$withval" = "xno"; then ac_cv_header_X11_extensions_Xcomposite_h=no; fi
3348 # Check whether --with-xcursor was given.
3349 if test "${with_xcursor+set}" = set; then :
3350 withval=$with_xcursor; if test "x$withval" = "xno"; then ac_cv_header_X11_Xcursor_Xcursor_h=no; fi
3354 # Check whether --with-xinerama was given.
3355 if test "${with_xinerama+set}" = set; then :
3356 withval=$with_xinerama; if test "x$withval" = "xno"; then ac_cv_header_X11_extensions_Xinerama_h=no; fi
3360 # Check whether --with-xinput was given.
3361 if test "${with_xinput+set}" = set; then :
3362 withval=$with_xinput; if test "x$withval" = "xno"; then ac_cv_header_X11_extensions_XInput_h=no; fi
3366 # Check whether --with-xinput2 was given.
3367 if test "${with_xinput2+set}" = set; then :
3368 withval=$with_xinput2; if test "x$withval" = "xno"; then ac_cv_header_X11_extensions_XInput2_h=no; fi
3372 # Check whether --with-xml was given.
3373 if test "${with_xml+set}" = set; then :
3374 withval=$with_xml;
3378 # Check whether --with-xrandr was given.
3379 if test "${with_xrandr+set}" = set; then :
3380 withval=$with_xrandr; if test "x$withval" = "xno"; then ac_cv_header_X11_extensions_Xrandr_h=no; fi
3384 # Check whether --with-xrender was given.
3385 if test "${with_xrender+set}" = set; then :
3386 withval=$with_xrender; if test "x$withval" = "xno"; then ac_cv_header_X11_extensions_Xrender_h=no; fi
3390 # Check whether --with-xshape was given.
3391 if test "${with_xshape+set}" = set; then :
3392 withval=$with_xshape; if test "x$withval" = "xno"; then ac_cv_header_X11_extensions_shape_h=no; fi
3396 # Check whether --with-xshm was given.
3397 if test "${with_xshm+set}" = set; then :
3398 withval=$with_xshm; if test "x$withval" = "xno"; then ac_cv_header_X11_extensions_XShm_h=no; fi
3402 # Check whether --with-xslt was given.
3403 if test "${with_xslt+set}" = set; then :
3404 withval=$with_xslt;
3408 # Check whether --with-xxf86vm was given.
3409 if test "${with_xxf86vm+set}" = set; then :
3410 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
3414 # Check whether --with-zlib was given.
3415 if test "${with_zlib+set}" = set; then :
3416 withval=$with_zlib; if test "x$withval" = "xno"; then ac_cv_header_zlib_h=no; fi
3421 # Check whether --with-wine-tools was given.
3422 if test "${with_wine_tools+set}" = set; then :
3423 withval=$with_wine_tools;
3427 # Check whether --with-wine64 was given.
3428 if test "${with_wine64+set}" = set; then :
3429 withval=$with_wine64;
3433 # Make sure we can run config.sub.
3434 $SHELL "$ac_aux_dir/config.sub" sun4 >/dev/null 2>&1 ||
3435 as_fn_error $? "cannot run $SHELL $ac_aux_dir/config.sub" "$LINENO" 5
3437 { $as_echo "$as_me:${as_lineno-$LINENO}: checking build system type" >&5
3438 $as_echo_n "checking build system type... " >&6; }
3439 if ${ac_cv_build+:} false; then :
3440 $as_echo_n "(cached) " >&6
3441 else
3442 ac_build_alias=$build_alias
3443 test "x$ac_build_alias" = x &&
3444 ac_build_alias=`$SHELL "$ac_aux_dir/config.guess"`
3445 test "x$ac_build_alias" = x &&
3446 as_fn_error $? "cannot guess build type; you must specify one" "$LINENO" 5
3447 ac_cv_build=`$SHELL "$ac_aux_dir/config.sub" $ac_build_alias` ||
3448 as_fn_error $? "$SHELL $ac_aux_dir/config.sub $ac_build_alias failed" "$LINENO" 5
3451 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_build" >&5
3452 $as_echo "$ac_cv_build" >&6; }
3453 case $ac_cv_build in
3454 *-*-*) ;;
3455 *) as_fn_error $? "invalid value of canonical build" "$LINENO" 5;;
3456 esac
3457 build=$ac_cv_build
3458 ac_save_IFS=$IFS; IFS='-'
3459 set x $ac_cv_build
3460 shift
3461 build_cpu=$1
3462 build_vendor=$2
3463 shift; shift
3464 # Remember, the first character of IFS is used to create $*,
3465 # except with old shells:
3466 build_os=$*
3467 IFS=$ac_save_IFS
3468 case $build_os in *\ *) build_os=`echo "$build_os" | sed 's/ /-/g'`;; esac
3471 { $as_echo "$as_me:${as_lineno-$LINENO}: checking host system type" >&5
3472 $as_echo_n "checking host system type... " >&6; }
3473 if ${ac_cv_host+:} false; then :
3474 $as_echo_n "(cached) " >&6
3475 else
3476 if test "x$host_alias" = x; then
3477 ac_cv_host=$ac_cv_build
3478 else
3479 ac_cv_host=`$SHELL "$ac_aux_dir/config.sub" $host_alias` ||
3480 as_fn_error $? "$SHELL $ac_aux_dir/config.sub $host_alias failed" "$LINENO" 5
3484 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_host" >&5
3485 $as_echo "$ac_cv_host" >&6; }
3486 case $ac_cv_host in
3487 *-*-*) ;;
3488 *) as_fn_error $? "invalid value of canonical host" "$LINENO" 5;;
3489 esac
3490 host=$ac_cv_host
3491 ac_save_IFS=$IFS; IFS='-'
3492 set x $ac_cv_host
3493 shift
3494 host_cpu=$1
3495 host_vendor=$2
3496 shift; shift
3497 # Remember, the first character of IFS is used to create $*,
3498 # except with old shells:
3499 host_os=$*
3500 IFS=$ac_save_IFS
3501 case $host_os in *\ *) host_os=`echo "$host_os" | sed 's/ /-/g'`;; esac
3505 case "$srcdir" in
3506 .) ;;
3507 *) if test -f "$srcdir/Makefile" -o -f "$srcdir/include/config.h"; then
3508 as_fn_error $? "you are building out of the source tree, but the source tree contains object files.
3509 You need to run 'make distclean' in the source tree first." "$LINENO" 5
3510 fi ;;
3511 esac
3514 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ${MAKE-make} sets \$(MAKE)" >&5
3515 $as_echo_n "checking whether ${MAKE-make} sets \$(MAKE)... " >&6; }
3516 set x ${MAKE-make}
3517 ac_make=`$as_echo "$2" | sed 's/+/p/g; s/[^a-zA-Z0-9_]/_/g'`
3518 if eval \${ac_cv_prog_make_${ac_make}_set+:} false; then :
3519 $as_echo_n "(cached) " >&6
3520 else
3521 cat >conftest.make <<\_ACEOF
3522 SHELL = /bin/sh
3523 all:
3524 @echo '@@@%%%=$(MAKE)=@@@%%%'
3525 _ACEOF
3526 # GNU make sometimes prints "make[1]: Entering ...", which would confuse us.
3527 case `${MAKE-make} -f conftest.make 2>/dev/null` in
3528 *@@@%%%=?*=@@@%%%*)
3529 eval ac_cv_prog_make_${ac_make}_set=yes;;
3531 eval ac_cv_prog_make_${ac_make}_set=no;;
3532 esac
3533 rm -f conftest.make
3535 if eval test \$ac_cv_prog_make_${ac_make}_set = yes; then
3536 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
3537 $as_echo "yes" >&6; }
3538 SET_MAKE=
3539 else
3540 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3541 $as_echo "no" >&6; }
3542 SET_MAKE="MAKE=${MAKE-make}"
3545 ac_ext=c
3546 ac_cpp='$CPP $CPPFLAGS'
3547 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
3548 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
3549 ac_compiler_gnu=$ac_cv_c_compiler_gnu
3550 if test -n "$ac_tool_prefix"; then
3551 # Extract the first word of "${ac_tool_prefix}gcc", so it can be a program name with args.
3552 set dummy ${ac_tool_prefix}gcc; ac_word=$2
3553 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3554 $as_echo_n "checking for $ac_word... " >&6; }
3555 if ${ac_cv_prog_CC+:} false; then :
3556 $as_echo_n "(cached) " >&6
3557 else
3558 if test -n "$CC"; then
3559 ac_cv_prog_CC="$CC" # Let the user override the test.
3560 else
3561 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3562 for as_dir in $PATH
3564 IFS=$as_save_IFS
3565 test -z "$as_dir" && as_dir=.
3566 for ac_exec_ext in '' $ac_executable_extensions; do
3567 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
3568 ac_cv_prog_CC="${ac_tool_prefix}gcc"
3569 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3570 break 2
3572 done
3573 done
3574 IFS=$as_save_IFS
3578 CC=$ac_cv_prog_CC
3579 if test -n "$CC"; then
3580 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
3581 $as_echo "$CC" >&6; }
3582 else
3583 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3584 $as_echo "no" >&6; }
3589 if test -z "$ac_cv_prog_CC"; then
3590 ac_ct_CC=$CC
3591 # Extract the first word of "gcc", so it can be a program name with args.
3592 set dummy gcc; ac_word=$2
3593 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3594 $as_echo_n "checking for $ac_word... " >&6; }
3595 if ${ac_cv_prog_ac_ct_CC+:} false; then :
3596 $as_echo_n "(cached) " >&6
3597 else
3598 if test -n "$ac_ct_CC"; then
3599 ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
3600 else
3601 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3602 for as_dir in $PATH
3604 IFS=$as_save_IFS
3605 test -z "$as_dir" && as_dir=.
3606 for ac_exec_ext in '' $ac_executable_extensions; do
3607 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
3608 ac_cv_prog_ac_ct_CC="gcc"
3609 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3610 break 2
3612 done
3613 done
3614 IFS=$as_save_IFS
3618 ac_ct_CC=$ac_cv_prog_ac_ct_CC
3619 if test -n "$ac_ct_CC"; then
3620 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CC" >&5
3621 $as_echo "$ac_ct_CC" >&6; }
3622 else
3623 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3624 $as_echo "no" >&6; }
3627 if test "x$ac_ct_CC" = x; then
3628 CC=""
3629 else
3630 case $cross_compiling:$ac_tool_warned in
3631 yes:)
3632 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
3633 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
3634 ac_tool_warned=yes ;;
3635 esac
3636 CC=$ac_ct_CC
3638 else
3639 CC="$ac_cv_prog_CC"
3642 if test -z "$CC"; then
3643 if test -n "$ac_tool_prefix"; then
3644 # Extract the first word of "${ac_tool_prefix}cc", so it can be a program name with args.
3645 set dummy ${ac_tool_prefix}cc; ac_word=$2
3646 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3647 $as_echo_n "checking for $ac_word... " >&6; }
3648 if ${ac_cv_prog_CC+:} false; then :
3649 $as_echo_n "(cached) " >&6
3650 else
3651 if test -n "$CC"; then
3652 ac_cv_prog_CC="$CC" # Let the user override the test.
3653 else
3654 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3655 for as_dir in $PATH
3657 IFS=$as_save_IFS
3658 test -z "$as_dir" && as_dir=.
3659 for ac_exec_ext in '' $ac_executable_extensions; do
3660 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
3661 ac_cv_prog_CC="${ac_tool_prefix}cc"
3662 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3663 break 2
3665 done
3666 done
3667 IFS=$as_save_IFS
3671 CC=$ac_cv_prog_CC
3672 if test -n "$CC"; then
3673 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
3674 $as_echo "$CC" >&6; }
3675 else
3676 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3677 $as_echo "no" >&6; }
3683 if test -z "$CC"; then
3684 # Extract the first word of "cc", so it can be a program name with args.
3685 set dummy cc; ac_word=$2
3686 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3687 $as_echo_n "checking for $ac_word... " >&6; }
3688 if ${ac_cv_prog_CC+:} false; then :
3689 $as_echo_n "(cached) " >&6
3690 else
3691 if test -n "$CC"; then
3692 ac_cv_prog_CC="$CC" # Let the user override the test.
3693 else
3694 ac_prog_rejected=no
3695 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3696 for as_dir in $PATH
3698 IFS=$as_save_IFS
3699 test -z "$as_dir" && as_dir=.
3700 for ac_exec_ext in '' $ac_executable_extensions; do
3701 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
3702 if test "$as_dir/$ac_word$ac_exec_ext" = "/usr/ucb/cc"; then
3703 ac_prog_rejected=yes
3704 continue
3706 ac_cv_prog_CC="cc"
3707 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3708 break 2
3710 done
3711 done
3712 IFS=$as_save_IFS
3714 if test $ac_prog_rejected = yes; then
3715 # We found a bogon in the path, so make sure we never use it.
3716 set dummy $ac_cv_prog_CC
3717 shift
3718 if test $# != 0; then
3719 # We chose a different compiler from the bogus one.
3720 # However, it has the same basename, so the bogon will be chosen
3721 # first if we set CC to just the basename; use the full file name.
3722 shift
3723 ac_cv_prog_CC="$as_dir/$ac_word${1+' '}$@"
3728 CC=$ac_cv_prog_CC
3729 if test -n "$CC"; then
3730 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
3731 $as_echo "$CC" >&6; }
3732 else
3733 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3734 $as_echo "no" >&6; }
3739 if test -z "$CC"; then
3740 if test -n "$ac_tool_prefix"; then
3741 for ac_prog in cl.exe
3743 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
3744 set dummy $ac_tool_prefix$ac_prog; ac_word=$2
3745 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3746 $as_echo_n "checking for $ac_word... " >&6; }
3747 if ${ac_cv_prog_CC+:} false; then :
3748 $as_echo_n "(cached) " >&6
3749 else
3750 if test -n "$CC"; then
3751 ac_cv_prog_CC="$CC" # Let the user override the test.
3752 else
3753 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3754 for as_dir in $PATH
3756 IFS=$as_save_IFS
3757 test -z "$as_dir" && as_dir=.
3758 for ac_exec_ext in '' $ac_executable_extensions; do
3759 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
3760 ac_cv_prog_CC="$ac_tool_prefix$ac_prog"
3761 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3762 break 2
3764 done
3765 done
3766 IFS=$as_save_IFS
3770 CC=$ac_cv_prog_CC
3771 if test -n "$CC"; then
3772 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
3773 $as_echo "$CC" >&6; }
3774 else
3775 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3776 $as_echo "no" >&6; }
3780 test -n "$CC" && break
3781 done
3783 if test -z "$CC"; then
3784 ac_ct_CC=$CC
3785 for ac_prog in cl.exe
3787 # Extract the first word of "$ac_prog", so it can be a program name with args.
3788 set dummy $ac_prog; ac_word=$2
3789 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3790 $as_echo_n "checking for $ac_word... " >&6; }
3791 if ${ac_cv_prog_ac_ct_CC+:} false; then :
3792 $as_echo_n "(cached) " >&6
3793 else
3794 if test -n "$ac_ct_CC"; then
3795 ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
3796 else
3797 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3798 for as_dir in $PATH
3800 IFS=$as_save_IFS
3801 test -z "$as_dir" && as_dir=.
3802 for ac_exec_ext in '' $ac_executable_extensions; do
3803 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
3804 ac_cv_prog_ac_ct_CC="$ac_prog"
3805 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3806 break 2
3808 done
3809 done
3810 IFS=$as_save_IFS
3814 ac_ct_CC=$ac_cv_prog_ac_ct_CC
3815 if test -n "$ac_ct_CC"; then
3816 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CC" >&5
3817 $as_echo "$ac_ct_CC" >&6; }
3818 else
3819 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3820 $as_echo "no" >&6; }
3824 test -n "$ac_ct_CC" && break
3825 done
3827 if test "x$ac_ct_CC" = x; then
3828 CC=""
3829 else
3830 case $cross_compiling:$ac_tool_warned in
3831 yes:)
3832 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
3833 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
3834 ac_tool_warned=yes ;;
3835 esac
3836 CC=$ac_ct_CC
3843 test -z "$CC" && { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
3844 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
3845 as_fn_error $? "no acceptable C compiler found in \$PATH
3846 See \`config.log' for more details" "$LINENO" 5; }
3848 # Provide some information about the compiler.
3849 $as_echo "$as_me:${as_lineno-$LINENO}: checking for C compiler version" >&5
3850 set X $ac_compile
3851 ac_compiler=$2
3852 for ac_option in --version -v -V -qversion; do
3853 { { ac_try="$ac_compiler $ac_option >&5"
3854 case "(($ac_try" in
3855 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3856 *) ac_try_echo=$ac_try;;
3857 esac
3858 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
3859 $as_echo "$ac_try_echo"; } >&5
3860 (eval "$ac_compiler $ac_option >&5") 2>conftest.err
3861 ac_status=$?
3862 if test -s conftest.err; then
3863 sed '10a\
3864 ... rest of stderr output deleted ...
3865 10q' conftest.err >conftest.er1
3866 cat conftest.er1 >&5
3868 rm -f conftest.er1 conftest.err
3869 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
3870 test $ac_status = 0; }
3871 done
3873 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3874 /* end confdefs.h. */
3877 main ()
3881 return 0;
3883 _ACEOF
3884 ac_clean_files_save=$ac_clean_files
3885 ac_clean_files="$ac_clean_files a.out a.out.dSYM a.exe b.out"
3886 # Try to create an executable without -o first, disregard a.out.
3887 # It will help us diagnose broken compilers, and finding out an intuition
3888 # of exeext.
3889 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the C compiler works" >&5
3890 $as_echo_n "checking whether the C compiler works... " >&6; }
3891 ac_link_default=`$as_echo "$ac_link" | sed 's/ -o *conftest[^ ]*//'`
3893 # The possible output files:
3894 ac_files="a.out conftest.exe conftest a.exe a_out.exe b.out conftest.*"
3896 ac_rmfiles=
3897 for ac_file in $ac_files
3899 case $ac_file in
3900 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj ) ;;
3901 * ) ac_rmfiles="$ac_rmfiles $ac_file";;
3902 esac
3903 done
3904 rm -f $ac_rmfiles
3906 if { { ac_try="$ac_link_default"
3907 case "(($ac_try" in
3908 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3909 *) ac_try_echo=$ac_try;;
3910 esac
3911 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
3912 $as_echo "$ac_try_echo"; } >&5
3913 (eval "$ac_link_default") 2>&5
3914 ac_status=$?
3915 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
3916 test $ac_status = 0; }; then :
3917 # Autoconf-2.13 could set the ac_cv_exeext variable to `no'.
3918 # So ignore a value of `no', otherwise this would lead to `EXEEXT = no'
3919 # in a Makefile. We should not override ac_cv_exeext if it was cached,
3920 # so that the user can short-circuit this test for compilers unknown to
3921 # Autoconf.
3922 for ac_file in $ac_files ''
3924 test -f "$ac_file" || continue
3925 case $ac_file in
3926 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj )
3928 [ab].out )
3929 # We found the default executable, but exeext='' is most
3930 # certainly right.
3931 break;;
3932 *.* )
3933 if test "${ac_cv_exeext+set}" = set && test "$ac_cv_exeext" != no;
3934 then :; else
3935 ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'`
3937 # We set ac_cv_exeext here because the later test for it is not
3938 # safe: cross compilers may not add the suffix if given an `-o'
3939 # argument, so we may need to know it at that point already.
3940 # Even if this section looks crufty: it has the advantage of
3941 # actually working.
3942 break;;
3944 break;;
3945 esac
3946 done
3947 test "$ac_cv_exeext" = no && ac_cv_exeext=
3949 else
3950 ac_file=''
3952 if test -z "$ac_file"; then :
3953 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3954 $as_echo "no" >&6; }
3955 $as_echo "$as_me: failed program was:" >&5
3956 sed 's/^/| /' conftest.$ac_ext >&5
3958 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
3959 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
3960 as_fn_error 77 "C compiler cannot create executables
3961 See \`config.log' for more details" "$LINENO" 5; }
3962 else
3963 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
3964 $as_echo "yes" >&6; }
3966 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for C compiler default output file name" >&5
3967 $as_echo_n "checking for C compiler default output file name... " >&6; }
3968 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_file" >&5
3969 $as_echo "$ac_file" >&6; }
3970 ac_exeext=$ac_cv_exeext
3972 rm -f -r a.out a.out.dSYM a.exe conftest$ac_cv_exeext b.out
3973 ac_clean_files=$ac_clean_files_save
3974 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for suffix of executables" >&5
3975 $as_echo_n "checking for suffix of executables... " >&6; }
3976 if { { ac_try="$ac_link"
3977 case "(($ac_try" in
3978 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3979 *) ac_try_echo=$ac_try;;
3980 esac
3981 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
3982 $as_echo "$ac_try_echo"; } >&5
3983 (eval "$ac_link") 2>&5
3984 ac_status=$?
3985 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
3986 test $ac_status = 0; }; then :
3987 # If both `conftest.exe' and `conftest' are `present' (well, observable)
3988 # catch `conftest.exe'. For instance with Cygwin, `ls conftest' will
3989 # work properly (i.e., refer to `conftest.exe'), while it won't with
3990 # `rm'.
3991 for ac_file in conftest.exe conftest conftest.*; do
3992 test -f "$ac_file" || continue
3993 case $ac_file in
3994 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj ) ;;
3995 *.* ) ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'`
3996 break;;
3997 * ) break;;
3998 esac
3999 done
4000 else
4001 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
4002 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
4003 as_fn_error $? "cannot compute suffix of executables: cannot compile and link
4004 See \`config.log' for more details" "$LINENO" 5; }
4006 rm -f conftest conftest$ac_cv_exeext
4007 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_exeext" >&5
4008 $as_echo "$ac_cv_exeext" >&6; }
4010 rm -f conftest.$ac_ext
4011 EXEEXT=$ac_cv_exeext
4012 ac_exeext=$EXEEXT
4013 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4014 /* end confdefs.h. */
4015 #include <stdio.h>
4017 main ()
4019 FILE *f = fopen ("conftest.out", "w");
4020 return ferror (f) || fclose (f) != 0;
4023 return 0;
4025 _ACEOF
4026 ac_clean_files="$ac_clean_files conftest.out"
4027 # Check that the compiler produces executables we can run. If not, either
4028 # the compiler is broken, or we cross compile.
4029 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are cross compiling" >&5
4030 $as_echo_n "checking whether we are cross compiling... " >&6; }
4031 if test "$cross_compiling" != yes; then
4032 { { ac_try="$ac_link"
4033 case "(($ac_try" in
4034 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
4035 *) ac_try_echo=$ac_try;;
4036 esac
4037 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
4038 $as_echo "$ac_try_echo"; } >&5
4039 (eval "$ac_link") 2>&5
4040 ac_status=$?
4041 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
4042 test $ac_status = 0; }
4043 if { ac_try='./conftest$ac_cv_exeext'
4044 { { case "(($ac_try" in
4045 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
4046 *) ac_try_echo=$ac_try;;
4047 esac
4048 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
4049 $as_echo "$ac_try_echo"; } >&5
4050 (eval "$ac_try") 2>&5
4051 ac_status=$?
4052 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
4053 test $ac_status = 0; }; }; then
4054 cross_compiling=no
4055 else
4056 if test "$cross_compiling" = maybe; then
4057 cross_compiling=yes
4058 else
4059 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
4060 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
4061 as_fn_error $? "cannot run C compiled programs.
4062 If you meant to cross compile, use \`--host'.
4063 See \`config.log' for more details" "$LINENO" 5; }
4067 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $cross_compiling" >&5
4068 $as_echo "$cross_compiling" >&6; }
4070 rm -f conftest.$ac_ext conftest$ac_cv_exeext conftest.out
4071 ac_clean_files=$ac_clean_files_save
4072 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for suffix of object files" >&5
4073 $as_echo_n "checking for suffix of object files... " >&6; }
4074 if ${ac_cv_objext+:} false; then :
4075 $as_echo_n "(cached) " >&6
4076 else
4077 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4078 /* end confdefs.h. */
4081 main ()
4085 return 0;
4087 _ACEOF
4088 rm -f conftest.o conftest.obj
4089 if { { ac_try="$ac_compile"
4090 case "(($ac_try" in
4091 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
4092 *) ac_try_echo=$ac_try;;
4093 esac
4094 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
4095 $as_echo "$ac_try_echo"; } >&5
4096 (eval "$ac_compile") 2>&5
4097 ac_status=$?
4098 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
4099 test $ac_status = 0; }; then :
4100 for ac_file in conftest.o conftest.obj conftest.*; do
4101 test -f "$ac_file" || continue;
4102 case $ac_file in
4103 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM ) ;;
4104 *) ac_cv_objext=`expr "$ac_file" : '.*\.\(.*\)'`
4105 break;;
4106 esac
4107 done
4108 else
4109 $as_echo "$as_me: failed program was:" >&5
4110 sed 's/^/| /' conftest.$ac_ext >&5
4112 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
4113 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
4114 as_fn_error $? "cannot compute suffix of object files: cannot compile
4115 See \`config.log' for more details" "$LINENO" 5; }
4117 rm -f conftest.$ac_cv_objext conftest.$ac_ext
4119 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_objext" >&5
4120 $as_echo "$ac_cv_objext" >&6; }
4121 OBJEXT=$ac_cv_objext
4122 ac_objext=$OBJEXT
4123 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are using the GNU C compiler" >&5
4124 $as_echo_n "checking whether we are using the GNU C compiler... " >&6; }
4125 if ${ac_cv_c_compiler_gnu+:} false; then :
4126 $as_echo_n "(cached) " >&6
4127 else
4128 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4129 /* end confdefs.h. */
4132 main ()
4134 #ifndef __GNUC__
4135 choke me
4136 #endif
4139 return 0;
4141 _ACEOF
4142 if ac_fn_c_try_compile "$LINENO"; then :
4143 ac_compiler_gnu=yes
4144 else
4145 ac_compiler_gnu=no
4147 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4148 ac_cv_c_compiler_gnu=$ac_compiler_gnu
4151 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_compiler_gnu" >&5
4152 $as_echo "$ac_cv_c_compiler_gnu" >&6; }
4153 if test $ac_compiler_gnu = yes; then
4154 GCC=yes
4155 else
4156 GCC=
4158 ac_test_CFLAGS=${CFLAGS+set}
4159 ac_save_CFLAGS=$CFLAGS
4160 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CC accepts -g" >&5
4161 $as_echo_n "checking whether $CC accepts -g... " >&6; }
4162 if ${ac_cv_prog_cc_g+:} false; then :
4163 $as_echo_n "(cached) " >&6
4164 else
4165 ac_save_c_werror_flag=$ac_c_werror_flag
4166 ac_c_werror_flag=yes
4167 ac_cv_prog_cc_g=no
4168 CFLAGS="-g"
4169 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4170 /* end confdefs.h. */
4173 main ()
4177 return 0;
4179 _ACEOF
4180 if ac_fn_c_try_compile "$LINENO"; then :
4181 ac_cv_prog_cc_g=yes
4182 else
4183 CFLAGS=""
4184 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4185 /* end confdefs.h. */
4188 main ()
4192 return 0;
4194 _ACEOF
4195 if ac_fn_c_try_compile "$LINENO"; then :
4197 else
4198 ac_c_werror_flag=$ac_save_c_werror_flag
4199 CFLAGS="-g"
4200 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4201 /* end confdefs.h. */
4204 main ()
4208 return 0;
4210 _ACEOF
4211 if ac_fn_c_try_compile "$LINENO"; then :
4212 ac_cv_prog_cc_g=yes
4214 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4216 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4218 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4219 ac_c_werror_flag=$ac_save_c_werror_flag
4221 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_g" >&5
4222 $as_echo "$ac_cv_prog_cc_g" >&6; }
4223 if test "$ac_test_CFLAGS" = set; then
4224 CFLAGS=$ac_save_CFLAGS
4225 elif test $ac_cv_prog_cc_g = yes; then
4226 if test "$GCC" = yes; then
4227 CFLAGS="-g -O2"
4228 else
4229 CFLAGS="-g"
4231 else
4232 if test "$GCC" = yes; then
4233 CFLAGS="-O2"
4234 else
4235 CFLAGS=
4238 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $CC option to accept ISO C89" >&5
4239 $as_echo_n "checking for $CC option to accept ISO C89... " >&6; }
4240 if ${ac_cv_prog_cc_c89+:} false; then :
4241 $as_echo_n "(cached) " >&6
4242 else
4243 ac_cv_prog_cc_c89=no
4244 ac_save_CC=$CC
4245 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4246 /* end confdefs.h. */
4247 #include <stdarg.h>
4248 #include <stdio.h>
4249 struct stat;
4250 /* Most of the following tests are stolen from RCS 5.7's src/conf.sh. */
4251 struct buf { int x; };
4252 FILE * (*rcsopen) (struct buf *, struct stat *, int);
4253 static char *e (p, i)
4254 char **p;
4255 int i;
4257 return p[i];
4259 static char *f (char * (*g) (char **, int), char **p, ...)
4261 char *s;
4262 va_list v;
4263 va_start (v,p);
4264 s = g (p, va_arg (v,int));
4265 va_end (v);
4266 return s;
4269 /* OSF 4.0 Compaq cc is some sort of almost-ANSI by default. It has
4270 function prototypes and stuff, but not '\xHH' hex character constants.
4271 These don't provoke an error unfortunately, instead are silently treated
4272 as 'x'. The following induces an error, until -std is added to get
4273 proper ANSI mode. Curiously '\x00'!='x' always comes out true, for an
4274 array size at least. It's necessary to write '\x00'==0 to get something
4275 that's true only with -std. */
4276 int osf4_cc_array ['\x00' == 0 ? 1 : -1];
4278 /* IBM C 6 for AIX is almost-ANSI by default, but it replaces macro parameters
4279 inside strings and character constants. */
4280 #define FOO(x) 'x'
4281 int xlc6_cc_array[FOO(a) == 'x' ? 1 : -1];
4283 int test (int i, double x);
4284 struct s1 {int (*f) (int a);};
4285 struct s2 {int (*f) (double a);};
4286 int pairnames (int, char **, FILE *(*)(struct buf *, struct stat *, int), int, int);
4287 int argc;
4288 char **argv;
4290 main ()
4292 return f (e, argv, 0) != argv[0] || f (e, argv, 1) != argv[1];
4294 return 0;
4296 _ACEOF
4297 for ac_arg in '' -qlanglvl=extc89 -qlanglvl=ansi -std \
4298 -Ae "-Aa -D_HPUX_SOURCE" "-Xc -D__EXTENSIONS__"
4300 CC="$ac_save_CC $ac_arg"
4301 if ac_fn_c_try_compile "$LINENO"; then :
4302 ac_cv_prog_cc_c89=$ac_arg
4304 rm -f core conftest.err conftest.$ac_objext
4305 test "x$ac_cv_prog_cc_c89" != "xno" && break
4306 done
4307 rm -f conftest.$ac_ext
4308 CC=$ac_save_CC
4311 # AC_CACHE_VAL
4312 case "x$ac_cv_prog_cc_c89" in
4314 { $as_echo "$as_me:${as_lineno-$LINENO}: result: none needed" >&5
4315 $as_echo "none needed" >&6; } ;;
4316 xno)
4317 { $as_echo "$as_me:${as_lineno-$LINENO}: result: unsupported" >&5
4318 $as_echo "unsupported" >&6; } ;;
4320 CC="$CC $ac_cv_prog_cc_c89"
4321 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_c89" >&5
4322 $as_echo "$ac_cv_prog_cc_c89" >&6; } ;;
4323 esac
4324 if test "x$ac_cv_prog_cc_c89" != xno; then :
4328 ac_ext=c
4329 ac_cpp='$CPP $CPPFLAGS'
4330 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
4331 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
4332 ac_compiler_gnu=$ac_cv_c_compiler_gnu
4334 ac_ext=cpp
4335 ac_cpp='$CXXCPP $CPPFLAGS'
4336 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
4337 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
4338 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
4339 if test -z "$CXX"; then
4340 if test -n "$CCC"; then
4341 CXX=$CCC
4342 else
4343 if test -n "$ac_tool_prefix"; then
4344 for ac_prog in g++ c++ gpp aCC CC cxx cc++ cl.exe FCC KCC RCC xlC_r xlC
4346 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
4347 set dummy $ac_tool_prefix$ac_prog; ac_word=$2
4348 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4349 $as_echo_n "checking for $ac_word... " >&6; }
4350 if ${ac_cv_prog_CXX+:} false; then :
4351 $as_echo_n "(cached) " >&6
4352 else
4353 if test -n "$CXX"; then
4354 ac_cv_prog_CXX="$CXX" # Let the user override the test.
4355 else
4356 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4357 for as_dir in $PATH
4359 IFS=$as_save_IFS
4360 test -z "$as_dir" && as_dir=.
4361 for ac_exec_ext in '' $ac_executable_extensions; do
4362 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
4363 ac_cv_prog_CXX="$ac_tool_prefix$ac_prog"
4364 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4365 break 2
4367 done
4368 done
4369 IFS=$as_save_IFS
4373 CXX=$ac_cv_prog_CXX
4374 if test -n "$CXX"; then
4375 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CXX" >&5
4376 $as_echo "$CXX" >&6; }
4377 else
4378 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4379 $as_echo "no" >&6; }
4383 test -n "$CXX" && break
4384 done
4386 if test -z "$CXX"; then
4387 ac_ct_CXX=$CXX
4388 for ac_prog in g++ c++ gpp aCC CC cxx cc++ cl.exe FCC KCC RCC xlC_r xlC
4390 # Extract the first word of "$ac_prog", so it can be a program name with args.
4391 set dummy $ac_prog; ac_word=$2
4392 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4393 $as_echo_n "checking for $ac_word... " >&6; }
4394 if ${ac_cv_prog_ac_ct_CXX+:} false; then :
4395 $as_echo_n "(cached) " >&6
4396 else
4397 if test -n "$ac_ct_CXX"; then
4398 ac_cv_prog_ac_ct_CXX="$ac_ct_CXX" # Let the user override the test.
4399 else
4400 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4401 for as_dir in $PATH
4403 IFS=$as_save_IFS
4404 test -z "$as_dir" && as_dir=.
4405 for ac_exec_ext in '' $ac_executable_extensions; do
4406 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
4407 ac_cv_prog_ac_ct_CXX="$ac_prog"
4408 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4409 break 2
4411 done
4412 done
4413 IFS=$as_save_IFS
4417 ac_ct_CXX=$ac_cv_prog_ac_ct_CXX
4418 if test -n "$ac_ct_CXX"; then
4419 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CXX" >&5
4420 $as_echo "$ac_ct_CXX" >&6; }
4421 else
4422 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4423 $as_echo "no" >&6; }
4427 test -n "$ac_ct_CXX" && break
4428 done
4430 if test "x$ac_ct_CXX" = x; then
4431 CXX="g++"
4432 else
4433 case $cross_compiling:$ac_tool_warned in
4434 yes:)
4435 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
4436 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
4437 ac_tool_warned=yes ;;
4438 esac
4439 CXX=$ac_ct_CXX
4445 # Provide some information about the compiler.
4446 $as_echo "$as_me:${as_lineno-$LINENO}: checking for C++ compiler version" >&5
4447 set X $ac_compile
4448 ac_compiler=$2
4449 for ac_option in --version -v -V -qversion; do
4450 { { ac_try="$ac_compiler $ac_option >&5"
4451 case "(($ac_try" in
4452 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
4453 *) ac_try_echo=$ac_try;;
4454 esac
4455 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
4456 $as_echo "$ac_try_echo"; } >&5
4457 (eval "$ac_compiler $ac_option >&5") 2>conftest.err
4458 ac_status=$?
4459 if test -s conftest.err; then
4460 sed '10a\
4461 ... rest of stderr output deleted ...
4462 10q' conftest.err >conftest.er1
4463 cat conftest.er1 >&5
4465 rm -f conftest.er1 conftest.err
4466 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
4467 test $ac_status = 0; }
4468 done
4470 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are using the GNU C++ compiler" >&5
4471 $as_echo_n "checking whether we are using the GNU C++ compiler... " >&6; }
4472 if ${ac_cv_cxx_compiler_gnu+:} false; then :
4473 $as_echo_n "(cached) " >&6
4474 else
4475 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4476 /* end confdefs.h. */
4479 main ()
4481 #ifndef __GNUC__
4482 choke me
4483 #endif
4486 return 0;
4488 _ACEOF
4489 if ac_fn_cxx_try_compile "$LINENO"; then :
4490 ac_compiler_gnu=yes
4491 else
4492 ac_compiler_gnu=no
4494 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4495 ac_cv_cxx_compiler_gnu=$ac_compiler_gnu
4498 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cxx_compiler_gnu" >&5
4499 $as_echo "$ac_cv_cxx_compiler_gnu" >&6; }
4500 if test $ac_compiler_gnu = yes; then
4501 GXX=yes
4502 else
4503 GXX=
4505 ac_test_CXXFLAGS=${CXXFLAGS+set}
4506 ac_save_CXXFLAGS=$CXXFLAGS
4507 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CXX accepts -g" >&5
4508 $as_echo_n "checking whether $CXX accepts -g... " >&6; }
4509 if ${ac_cv_prog_cxx_g+:} false; then :
4510 $as_echo_n "(cached) " >&6
4511 else
4512 ac_save_cxx_werror_flag=$ac_cxx_werror_flag
4513 ac_cxx_werror_flag=yes
4514 ac_cv_prog_cxx_g=no
4515 CXXFLAGS="-g"
4516 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4517 /* end confdefs.h. */
4520 main ()
4524 return 0;
4526 _ACEOF
4527 if ac_fn_cxx_try_compile "$LINENO"; then :
4528 ac_cv_prog_cxx_g=yes
4529 else
4530 CXXFLAGS=""
4531 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4532 /* end confdefs.h. */
4535 main ()
4539 return 0;
4541 _ACEOF
4542 if ac_fn_cxx_try_compile "$LINENO"; then :
4544 else
4545 ac_cxx_werror_flag=$ac_save_cxx_werror_flag
4546 CXXFLAGS="-g"
4547 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4548 /* end confdefs.h. */
4551 main ()
4555 return 0;
4557 _ACEOF
4558 if ac_fn_cxx_try_compile "$LINENO"; then :
4559 ac_cv_prog_cxx_g=yes
4561 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4563 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4565 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4566 ac_cxx_werror_flag=$ac_save_cxx_werror_flag
4568 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cxx_g" >&5
4569 $as_echo "$ac_cv_prog_cxx_g" >&6; }
4570 if test "$ac_test_CXXFLAGS" = set; then
4571 CXXFLAGS=$ac_save_CXXFLAGS
4572 elif test $ac_cv_prog_cxx_g = yes; then
4573 if test "$GXX" = yes; then
4574 CXXFLAGS="-g -O2"
4575 else
4576 CXXFLAGS="-g"
4578 else
4579 if test "$GXX" = yes; then
4580 CXXFLAGS="-O2"
4581 else
4582 CXXFLAGS=
4585 ac_ext=c
4586 ac_cpp='$CPP $CPPFLAGS'
4587 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
4588 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
4589 ac_compiler_gnu=$ac_cv_c_compiler_gnu
4591 if test -n "$ac_tool_prefix"; then
4592 # Extract the first word of "${ac_tool_prefix}cpp", so it can be a program name with args.
4593 set dummy ${ac_tool_prefix}cpp; ac_word=$2
4594 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4595 $as_echo_n "checking for $ac_word... " >&6; }
4596 if ${ac_cv_prog_CPPBIN+:} false; then :
4597 $as_echo_n "(cached) " >&6
4598 else
4599 if test -n "$CPPBIN"; then
4600 ac_cv_prog_CPPBIN="$CPPBIN" # Let the user override the test.
4601 else
4602 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4603 for as_dir in $PATH
4605 IFS=$as_save_IFS
4606 test -z "$as_dir" && as_dir=.
4607 for ac_exec_ext in '' $ac_executable_extensions; do
4608 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
4609 ac_cv_prog_CPPBIN="${ac_tool_prefix}cpp"
4610 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4611 break 2
4613 done
4614 done
4615 IFS=$as_save_IFS
4619 CPPBIN=$ac_cv_prog_CPPBIN
4620 if test -n "$CPPBIN"; then
4621 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CPPBIN" >&5
4622 $as_echo "$CPPBIN" >&6; }
4623 else
4624 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4625 $as_echo "no" >&6; }
4630 if test -z "$ac_cv_prog_CPPBIN"; then
4631 ac_ct_CPPBIN=$CPPBIN
4632 # Extract the first word of "cpp", so it can be a program name with args.
4633 set dummy cpp; ac_word=$2
4634 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4635 $as_echo_n "checking for $ac_word... " >&6; }
4636 if ${ac_cv_prog_ac_ct_CPPBIN+:} false; then :
4637 $as_echo_n "(cached) " >&6
4638 else
4639 if test -n "$ac_ct_CPPBIN"; then
4640 ac_cv_prog_ac_ct_CPPBIN="$ac_ct_CPPBIN" # Let the user override the test.
4641 else
4642 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4643 for as_dir in $PATH
4645 IFS=$as_save_IFS
4646 test -z "$as_dir" && as_dir=.
4647 for ac_exec_ext in '' $ac_executable_extensions; do
4648 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
4649 ac_cv_prog_ac_ct_CPPBIN="cpp"
4650 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4651 break 2
4653 done
4654 done
4655 IFS=$as_save_IFS
4659 ac_ct_CPPBIN=$ac_cv_prog_ac_ct_CPPBIN
4660 if test -n "$ac_ct_CPPBIN"; then
4661 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CPPBIN" >&5
4662 $as_echo "$ac_ct_CPPBIN" >&6; }
4663 else
4664 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4665 $as_echo "no" >&6; }
4668 if test "x$ac_ct_CPPBIN" = x; then
4669 CPPBIN="cpp"
4670 else
4671 case $cross_compiling:$ac_tool_warned in
4672 yes:)
4673 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
4674 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
4675 ac_tool_warned=yes ;;
4676 esac
4677 CPPBIN=$ac_ct_CPPBIN
4679 else
4680 CPPBIN="$ac_cv_prog_CPPBIN"
4684 cat >>confdefs.h <<_ACEOF
4685 #define EXEEXT "$ac_exeext"
4686 _ACEOF
4689 case $host in
4690 *-darwin*)
4691 if test "x$enable_win64" = "xyes"
4692 then
4693 CC="$CC -m64"
4694 CXX="$CXX -m64"
4695 host_cpu="x86_64"
4696 notice_platform="64-bit "
4697 TARGETFLAGS="-m64"
4699 else
4700 CC="$CC -m32"
4701 CXX="$CXX -m32"
4702 host_cpu="i386"
4703 notice_platform="32-bit "
4704 TARGETFLAGS="-m32"
4706 enable_win16=${enable_win16:-yes}
4708 with_fontconfig=${with_fontconfig:-no}
4710 x86_64*)
4711 if test "x$enable_win64" != "xyes" -a "$cross_compiling" != "yes"
4712 then
4713 CC="$CC -m32"
4714 CXX="$CXX -m32"
4715 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CC works" >&5
4716 $as_echo_n "checking whether $CC works... " >&6; }
4718 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4719 /* end confdefs.h. */
4722 main ()
4726 return 0;
4728 _ACEOF
4729 if ac_fn_c_try_link "$LINENO"; then :
4730 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
4731 $as_echo "yes" >&6; }
4732 else
4733 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4734 $as_echo "no" >&6; }
4735 as_fn_error $? "Cannot build a 32-bit program, you need to install 32-bit development libraries." "$LINENO" 5
4737 rm -f core conftest.err conftest.$ac_objext \
4738 conftest$ac_exeext conftest.$ac_ext
4739 host_cpu="i386"
4740 notice_platform="32-bit "
4741 TARGETFLAGS="-m32"
4743 enable_win16=${enable_win16:-yes}
4744 else
4745 if test "x${GCC}" = "xyes"
4746 then
4747 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CC supports __builtin_ms_va_list" >&5
4748 $as_echo_n "checking whether $CC supports __builtin_ms_va_list... " >&6; }
4749 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4750 /* end confdefs.h. */
4751 #include <stdarg.h>
4753 main ()
4755 void func(__builtin_ms_va_list *args);
4757 return 0;
4759 _ACEOF
4760 if ac_fn_c_try_compile "$LINENO"; then :
4761 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
4762 $as_echo "yes" >&6; }
4763 else
4764 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4765 $as_echo "no" >&6; }
4766 as_fn_error $? "You need gcc >= 4.4 to build Wine as 64-bit." "$LINENO" 5
4768 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4770 TARGETFLAGS="-m64"
4774 arm*)
4775 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CC supports Thumb" >&5
4776 $as_echo_n "checking whether $CC supports Thumb... " >&6; }
4777 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4778 /* end confdefs.h. */
4779 int ac_test(int i) { return i; }
4781 main ()
4783 asm(".thumb\nblx ac_test\n.arm"); if (ac_test(1)) return 1
4785 return 0;
4787 _ACEOF
4788 if ac_fn_c_try_link "$LINENO"; then :
4789 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
4790 $as_echo "yes" >&6; }
4791 else
4792 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4793 $as_echo "no" >&6; }
4794 as_fn_error $? "You need a target with Thumb support to build Wine for ARM." "$LINENO" 5
4796 rm -f core conftest.err conftest.$ac_objext \
4797 conftest$ac_exeext conftest.$ac_ext
4798 CFLAGS="$CFLAGS -marm"
4799 TARGETFLAGS="-marm"
4802 *-mingw32*|*-cygwin*)
4803 enable_win16=${enable_win16:-no}
4804 CFLAGS="$CFLAGS -D_WIN32"
4806 i[3456789]86*)
4807 enable_win16=${enable_win16:-yes}
4809 esac
4811 enable_win16=${enable_win16:-no}
4812 enable_win64=${enable_win64:-no}
4814 enable_winetest=${enable_winetest:-$enable_tests}
4816 if test -n "$with_wine64"
4817 then
4818 if test "x$enable_win64" = "xyes"
4819 then
4820 as_fn_error $? "--enable-win64 and --with-wine64 are mutually exclusive.
4821 --enable-win64 should be used in the 64-bit build tree, --with-wine64 in the 32-bit Wow64 build tree." "$LINENO" 5
4823 enable_fonts=${enable_fonts:-no}
4824 enable_server=${enable_server:-no}
4825 elif test "x$enable_win64" = "xyes"
4826 then
4827 test "x$libdir" != "x\${exec_prefix}/lib" || libdir="\${exec_prefix}/lib64"
4830 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for the directory containing the Wine tools" >&5
4831 $as_echo_n "checking for the directory containing the Wine tools... " >&6; }
4832 if ${wine_cv_toolsdir+:} false; then :
4833 $as_echo_n "(cached) " >&6
4834 else
4835 wine_cv_toolsdir="$with_wine_tools"
4836 if test -z "$with_wine_tools"; then
4837 if test "$cross_compiling" = "yes"; then
4838 as_fn_error $? "you must use the --with-wine-tools option when cross-compiling." "$LINENO" 5
4839 elif test -n "$with_wine64"; then
4840 wine_cv_toolsdir="$with_wine64"
4843 if test -z "$wine_cv_toolsdir"; then
4844 wine_cv_toolsdir="\$(top_builddir)"
4845 elif test -d "$wine_cv_toolsdir/tools/winebuild"; then
4846 case "$wine_cv_toolsdir" in
4847 /*) ;;
4848 *) wine_cv_toolsdir="\$(top_builddir)/$wine_cv_toolsdir" ;;
4849 esac
4850 enable_tools=${enable_tools:-no}
4851 else
4852 as_fn_error $? "could not find Wine tools in $wine_cv_toolsdir" "$LINENO" 5
4855 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $wine_cv_toolsdir" >&5
4856 $as_echo "$wine_cv_toolsdir" >&6; }
4857 TOOLSDIR=$wine_cv_toolsdir
4859 if test -n "$host_alias" -a "$host_alias" != "$build_alias"
4860 then
4861 TARGETFLAGS="-b $host_alias $TARGETFLAGS"
4865 for ac_prog in flex
4867 # Extract the first word of "$ac_prog", so it can be a program name with args.
4868 set dummy $ac_prog; ac_word=$2
4869 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4870 $as_echo_n "checking for $ac_word... " >&6; }
4871 if ${ac_cv_prog_FLEX+:} false; then :
4872 $as_echo_n "(cached) " >&6
4873 else
4874 if test -n "$FLEX"; then
4875 ac_cv_prog_FLEX="$FLEX" # Let the user override the test.
4876 else
4877 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4878 for as_dir in $PATH
4880 IFS=$as_save_IFS
4881 test -z "$as_dir" && as_dir=.
4882 for ac_exec_ext in '' $ac_executable_extensions; do
4883 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
4884 ac_cv_prog_FLEX="$ac_prog"
4885 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4886 break 2
4888 done
4889 done
4890 IFS=$as_save_IFS
4894 FLEX=$ac_cv_prog_FLEX
4895 if test -n "$FLEX"; then
4896 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $FLEX" >&5
4897 $as_echo "$FLEX" >&6; }
4898 else
4899 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4900 $as_echo "no" >&6; }
4904 test -n "$FLEX" && break
4905 done
4906 test -n "$FLEX" || FLEX="none"
4908 if test "$FLEX" = "none"
4909 then
4910 as_fn_error $? "no suitable flex found. Please install the 'flex' package." "$LINENO" 5
4912 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether flex is recent enough" >&5
4913 $as_echo_n "checking whether flex is recent enough... " >&6; }
4914 cat >conftest.l <<EOF
4915 %top{
4916 #include "prediluvian.h"
4920 if $FLEX -t conftest.l >/dev/null 2>&5
4921 then
4922 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
4923 $as_echo "yes" >&6; }
4924 else
4925 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4926 $as_echo "no" >&6; }
4927 as_fn_error $? "Your flex version is too old. Please install flex version 2.5.33 or newer." "$LINENO" 5
4930 for ac_prog in bison
4932 # Extract the first word of "$ac_prog", so it can be a program name with args.
4933 set dummy $ac_prog; ac_word=$2
4934 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4935 $as_echo_n "checking for $ac_word... " >&6; }
4936 if ${ac_cv_prog_BISON+:} false; then :
4937 $as_echo_n "(cached) " >&6
4938 else
4939 if test -n "$BISON"; then
4940 ac_cv_prog_BISON="$BISON" # Let the user override the test.
4941 else
4942 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4943 for as_dir in $PATH
4945 IFS=$as_save_IFS
4946 test -z "$as_dir" && as_dir=.
4947 for ac_exec_ext in '' $ac_executable_extensions; do
4948 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
4949 ac_cv_prog_BISON="$ac_prog"
4950 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4951 break 2
4953 done
4954 done
4955 IFS=$as_save_IFS
4959 BISON=$ac_cv_prog_BISON
4960 if test -n "$BISON"; then
4961 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $BISON" >&5
4962 $as_echo "$BISON" >&6; }
4963 else
4964 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4965 $as_echo "no" >&6; }
4969 test -n "$BISON" && break
4970 done
4971 test -n "$BISON" || BISON="none"
4973 if test "$BISON" = "none"
4974 then
4975 as_fn_error $? "no suitable bison found. Please install the 'bison' package." "$LINENO" 5
4978 if test -n "$ac_tool_prefix"; then
4979 for ac_prog in ar gar
4981 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
4982 set dummy $ac_tool_prefix$ac_prog; ac_word=$2
4983 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4984 $as_echo_n "checking for $ac_word... " >&6; }
4985 if ${ac_cv_prog_AR+:} false; then :
4986 $as_echo_n "(cached) " >&6
4987 else
4988 if test -n "$AR"; then
4989 ac_cv_prog_AR="$AR" # Let the user override the test.
4990 else
4991 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4992 for as_dir in $PATH
4994 IFS=$as_save_IFS
4995 test -z "$as_dir" && as_dir=.
4996 for ac_exec_ext in '' $ac_executable_extensions; do
4997 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
4998 ac_cv_prog_AR="$ac_tool_prefix$ac_prog"
4999 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5000 break 2
5002 done
5003 done
5004 IFS=$as_save_IFS
5008 AR=$ac_cv_prog_AR
5009 if test -n "$AR"; then
5010 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $AR" >&5
5011 $as_echo "$AR" >&6; }
5012 else
5013 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5014 $as_echo "no" >&6; }
5018 test -n "$AR" && break
5019 done
5021 if test -z "$AR"; then
5022 ac_ct_AR=$AR
5023 for ac_prog in ar gar
5025 # Extract the first word of "$ac_prog", so it can be a program name with args.
5026 set dummy $ac_prog; ac_word=$2
5027 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5028 $as_echo_n "checking for $ac_word... " >&6; }
5029 if ${ac_cv_prog_ac_ct_AR+:} false; then :
5030 $as_echo_n "(cached) " >&6
5031 else
5032 if test -n "$ac_ct_AR"; then
5033 ac_cv_prog_ac_ct_AR="$ac_ct_AR" # Let the user override the test.
5034 else
5035 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5036 for as_dir in $PATH
5038 IFS=$as_save_IFS
5039 test -z "$as_dir" && as_dir=.
5040 for ac_exec_ext in '' $ac_executable_extensions; do
5041 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
5042 ac_cv_prog_ac_ct_AR="$ac_prog"
5043 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5044 break 2
5046 done
5047 done
5048 IFS=$as_save_IFS
5052 ac_ct_AR=$ac_cv_prog_ac_ct_AR
5053 if test -n "$ac_ct_AR"; then
5054 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_AR" >&5
5055 $as_echo "$ac_ct_AR" >&6; }
5056 else
5057 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5058 $as_echo "no" >&6; }
5062 test -n "$ac_ct_AR" && break
5063 done
5065 if test "x$ac_ct_AR" = x; then
5066 AR="ar"
5067 else
5068 case $cross_compiling:$ac_tool_warned in
5069 yes:)
5070 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
5071 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
5072 ac_tool_warned=yes ;;
5073 esac
5074 AR=$ac_ct_AR
5078 if test -n "$ac_tool_prefix"; then
5079 # Extract the first word of "${ac_tool_prefix}strip", so it can be a program name with args.
5080 set dummy ${ac_tool_prefix}strip; ac_word=$2
5081 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5082 $as_echo_n "checking for $ac_word... " >&6; }
5083 if ${ac_cv_prog_STRIP+:} false; then :
5084 $as_echo_n "(cached) " >&6
5085 else
5086 if test -n "$STRIP"; then
5087 ac_cv_prog_STRIP="$STRIP" # Let the user override the test.
5088 else
5089 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5090 for as_dir in $PATH
5092 IFS=$as_save_IFS
5093 test -z "$as_dir" && as_dir=.
5094 for ac_exec_ext in '' $ac_executable_extensions; do
5095 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
5096 ac_cv_prog_STRIP="${ac_tool_prefix}strip"
5097 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5098 break 2
5100 done
5101 done
5102 IFS=$as_save_IFS
5106 STRIP=$ac_cv_prog_STRIP
5107 if test -n "$STRIP"; then
5108 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $STRIP" >&5
5109 $as_echo "$STRIP" >&6; }
5110 else
5111 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5112 $as_echo "no" >&6; }
5117 if test -z "$ac_cv_prog_STRIP"; then
5118 ac_ct_STRIP=$STRIP
5119 # Extract the first word of "strip", so it can be a program name with args.
5120 set dummy strip; ac_word=$2
5121 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5122 $as_echo_n "checking for $ac_word... " >&6; }
5123 if ${ac_cv_prog_ac_ct_STRIP+:} false; then :
5124 $as_echo_n "(cached) " >&6
5125 else
5126 if test -n "$ac_ct_STRIP"; then
5127 ac_cv_prog_ac_ct_STRIP="$ac_ct_STRIP" # Let the user override the test.
5128 else
5129 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5130 for as_dir in $PATH
5132 IFS=$as_save_IFS
5133 test -z "$as_dir" && as_dir=.
5134 for ac_exec_ext in '' $ac_executable_extensions; do
5135 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
5136 ac_cv_prog_ac_ct_STRIP="strip"
5137 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5138 break 2
5140 done
5141 done
5142 IFS=$as_save_IFS
5146 ac_ct_STRIP=$ac_cv_prog_ac_ct_STRIP
5147 if test -n "$ac_ct_STRIP"; then
5148 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_STRIP" >&5
5149 $as_echo "$ac_ct_STRIP" >&6; }
5150 else
5151 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5152 $as_echo "no" >&6; }
5155 if test "x$ac_ct_STRIP" = x; then
5156 STRIP="strip"
5157 else
5158 case $cross_compiling:$ac_tool_warned in
5159 yes:)
5160 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
5161 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
5162 ac_tool_warned=yes ;;
5163 esac
5164 STRIP=$ac_ct_STRIP
5166 else
5167 STRIP="$ac_cv_prog_STRIP"
5170 ARFLAGS=rc
5172 if test -n "$ac_tool_prefix"; then
5173 # Extract the first word of "${ac_tool_prefix}ranlib", so it can be a program name with args.
5174 set dummy ${ac_tool_prefix}ranlib; ac_word=$2
5175 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5176 $as_echo_n "checking for $ac_word... " >&6; }
5177 if ${ac_cv_prog_RANLIB+:} false; then :
5178 $as_echo_n "(cached) " >&6
5179 else
5180 if test -n "$RANLIB"; then
5181 ac_cv_prog_RANLIB="$RANLIB" # Let the user override the test.
5182 else
5183 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5184 for as_dir in $PATH
5186 IFS=$as_save_IFS
5187 test -z "$as_dir" && as_dir=.
5188 for ac_exec_ext in '' $ac_executable_extensions; do
5189 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
5190 ac_cv_prog_RANLIB="${ac_tool_prefix}ranlib"
5191 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5192 break 2
5194 done
5195 done
5196 IFS=$as_save_IFS
5200 RANLIB=$ac_cv_prog_RANLIB
5201 if test -n "$RANLIB"; then
5202 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $RANLIB" >&5
5203 $as_echo "$RANLIB" >&6; }
5204 else
5205 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5206 $as_echo "no" >&6; }
5211 if test -z "$ac_cv_prog_RANLIB"; then
5212 ac_ct_RANLIB=$RANLIB
5213 # Extract the first word of "ranlib", so it can be a program name with args.
5214 set dummy ranlib; ac_word=$2
5215 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5216 $as_echo_n "checking for $ac_word... " >&6; }
5217 if ${ac_cv_prog_ac_ct_RANLIB+:} false; then :
5218 $as_echo_n "(cached) " >&6
5219 else
5220 if test -n "$ac_ct_RANLIB"; then
5221 ac_cv_prog_ac_ct_RANLIB="$ac_ct_RANLIB" # Let the user override the test.
5222 else
5223 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5224 for as_dir in $PATH
5226 IFS=$as_save_IFS
5227 test -z "$as_dir" && as_dir=.
5228 for ac_exec_ext in '' $ac_executable_extensions; do
5229 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
5230 ac_cv_prog_ac_ct_RANLIB="ranlib"
5231 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5232 break 2
5234 done
5235 done
5236 IFS=$as_save_IFS
5240 ac_ct_RANLIB=$ac_cv_prog_ac_ct_RANLIB
5241 if test -n "$ac_ct_RANLIB"; then
5242 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_RANLIB" >&5
5243 $as_echo "$ac_ct_RANLIB" >&6; }
5244 else
5245 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5246 $as_echo "no" >&6; }
5249 if test "x$ac_ct_RANLIB" = x; then
5250 RANLIB=":"
5251 else
5252 case $cross_compiling:$ac_tool_warned in
5253 yes:)
5254 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
5255 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
5256 ac_tool_warned=yes ;;
5257 esac
5258 RANLIB=$ac_ct_RANLIB
5260 else
5261 RANLIB="$ac_cv_prog_RANLIB"
5264 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ln -s works" >&5
5265 $as_echo_n "checking whether ln -s works... " >&6; }
5266 LN_S=$as_ln_s
5267 if test "$LN_S" = "ln -s"; then
5268 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
5269 $as_echo "yes" >&6; }
5270 else
5271 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no, using $LN_S" >&5
5272 $as_echo "no, using $LN_S" >&6; }
5275 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for grep that handles long lines and -e" >&5
5276 $as_echo_n "checking for grep that handles long lines and -e... " >&6; }
5277 if ${ac_cv_path_GREP+:} false; then :
5278 $as_echo_n "(cached) " >&6
5279 else
5280 if test -z "$GREP"; then
5281 ac_path_GREP_found=false
5282 # Loop through the user's path and test for each of PROGNAME-LIST
5283 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5284 for as_dir in $PATH$PATH_SEPARATOR/usr/xpg4/bin
5286 IFS=$as_save_IFS
5287 test -z "$as_dir" && as_dir=.
5288 for ac_prog in grep ggrep; do
5289 for ac_exec_ext in '' $ac_executable_extensions; do
5290 ac_path_GREP="$as_dir/$ac_prog$ac_exec_ext"
5291 as_fn_executable_p "$ac_path_GREP" || continue
5292 # Check for GNU ac_path_GREP and select it if it is found.
5293 # Check for GNU $ac_path_GREP
5294 case `"$ac_path_GREP" --version 2>&1` in
5295 *GNU*)
5296 ac_cv_path_GREP="$ac_path_GREP" ac_path_GREP_found=:;;
5298 ac_count=0
5299 $as_echo_n 0123456789 >"conftest.in"
5300 while :
5302 cat "conftest.in" "conftest.in" >"conftest.tmp"
5303 mv "conftest.tmp" "conftest.in"
5304 cp "conftest.in" "conftest.nl"
5305 $as_echo 'GREP' >> "conftest.nl"
5306 "$ac_path_GREP" -e 'GREP$' -e '-(cannot match)-' < "conftest.nl" >"conftest.out" 2>/dev/null || break
5307 diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break
5308 as_fn_arith $ac_count + 1 && ac_count=$as_val
5309 if test $ac_count -gt ${ac_path_GREP_max-0}; then
5310 # Best one so far, save it but keep looking for a better one
5311 ac_cv_path_GREP="$ac_path_GREP"
5312 ac_path_GREP_max=$ac_count
5314 # 10*(2^10) chars as input seems more than enough
5315 test $ac_count -gt 10 && break
5316 done
5317 rm -f conftest.in conftest.tmp conftest.nl conftest.out;;
5318 esac
5320 $ac_path_GREP_found && break 3
5321 done
5322 done
5323 done
5324 IFS=$as_save_IFS
5325 if test -z "$ac_cv_path_GREP"; then
5326 as_fn_error $? "no acceptable grep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" "$LINENO" 5
5328 else
5329 ac_cv_path_GREP=$GREP
5333 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_GREP" >&5
5334 $as_echo "$ac_cv_path_GREP" >&6; }
5335 GREP="$ac_cv_path_GREP"
5338 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for egrep" >&5
5339 $as_echo_n "checking for egrep... " >&6; }
5340 if ${ac_cv_path_EGREP+:} false; then :
5341 $as_echo_n "(cached) " >&6
5342 else
5343 if echo a | $GREP -E '(a|b)' >/dev/null 2>&1
5344 then ac_cv_path_EGREP="$GREP -E"
5345 else
5346 if test -z "$EGREP"; then
5347 ac_path_EGREP_found=false
5348 # Loop through the user's path and test for each of PROGNAME-LIST
5349 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5350 for as_dir in $PATH$PATH_SEPARATOR/usr/xpg4/bin
5352 IFS=$as_save_IFS
5353 test -z "$as_dir" && as_dir=.
5354 for ac_prog in egrep; do
5355 for ac_exec_ext in '' $ac_executable_extensions; do
5356 ac_path_EGREP="$as_dir/$ac_prog$ac_exec_ext"
5357 as_fn_executable_p "$ac_path_EGREP" || continue
5358 # Check for GNU ac_path_EGREP and select it if it is found.
5359 # Check for GNU $ac_path_EGREP
5360 case `"$ac_path_EGREP" --version 2>&1` in
5361 *GNU*)
5362 ac_cv_path_EGREP="$ac_path_EGREP" ac_path_EGREP_found=:;;
5364 ac_count=0
5365 $as_echo_n 0123456789 >"conftest.in"
5366 while :
5368 cat "conftest.in" "conftest.in" >"conftest.tmp"
5369 mv "conftest.tmp" "conftest.in"
5370 cp "conftest.in" "conftest.nl"
5371 $as_echo 'EGREP' >> "conftest.nl"
5372 "$ac_path_EGREP" 'EGREP$' < "conftest.nl" >"conftest.out" 2>/dev/null || break
5373 diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break
5374 as_fn_arith $ac_count + 1 && ac_count=$as_val
5375 if test $ac_count -gt ${ac_path_EGREP_max-0}; then
5376 # Best one so far, save it but keep looking for a better one
5377 ac_cv_path_EGREP="$ac_path_EGREP"
5378 ac_path_EGREP_max=$ac_count
5380 # 10*(2^10) chars as input seems more than enough
5381 test $ac_count -gt 10 && break
5382 done
5383 rm -f conftest.in conftest.tmp conftest.nl conftest.out;;
5384 esac
5386 $ac_path_EGREP_found && break 3
5387 done
5388 done
5389 done
5390 IFS=$as_save_IFS
5391 if test -z "$ac_cv_path_EGREP"; then
5392 as_fn_error $? "no acceptable egrep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" "$LINENO" 5
5394 else
5395 ac_cv_path_EGREP=$EGREP
5400 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_EGREP" >&5
5401 $as_echo "$ac_cv_path_EGREP" >&6; }
5402 EGREP="$ac_cv_path_EGREP"
5405 # Extract the first word of "ldconfig", so it can be a program name with args.
5406 set dummy ldconfig; ac_word=$2
5407 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5408 $as_echo_n "checking for $ac_word... " >&6; }
5409 if ${ac_cv_path_LDCONFIG+:} false; then :
5410 $as_echo_n "(cached) " >&6
5411 else
5412 case $LDCONFIG in
5413 [\\/]* | ?:[\\/]*)
5414 ac_cv_path_LDCONFIG="$LDCONFIG" # Let the user override the test with a path.
5417 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5418 for as_dir in /sbin /usr/sbin $PATH
5420 IFS=$as_save_IFS
5421 test -z "$as_dir" && as_dir=.
5422 for ac_exec_ext in '' $ac_executable_extensions; do
5423 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
5424 ac_cv_path_LDCONFIG="$as_dir/$ac_word$ac_exec_ext"
5425 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5426 break 2
5428 done
5429 done
5430 IFS=$as_save_IFS
5432 test -z "$ac_cv_path_LDCONFIG" && ac_cv_path_LDCONFIG="true"
5434 esac
5436 LDCONFIG=$ac_cv_path_LDCONFIG
5437 if test -n "$LDCONFIG"; then
5438 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $LDCONFIG" >&5
5439 $as_echo "$LDCONFIG" >&6; }
5440 else
5441 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5442 $as_echo "no" >&6; }
5446 for ac_prog in msgfmt
5448 # Extract the first word of "$ac_prog", so it can be a program name with args.
5449 set dummy $ac_prog; ac_word=$2
5450 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5451 $as_echo_n "checking for $ac_word... " >&6; }
5452 if ${ac_cv_prog_MSGFMT+:} false; then :
5453 $as_echo_n "(cached) " >&6
5454 else
5455 if test -n "$MSGFMT"; then
5456 ac_cv_prog_MSGFMT="$MSGFMT" # Let the user override the test.
5457 else
5458 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5459 for as_dir in $PATH
5461 IFS=$as_save_IFS
5462 test -z "$as_dir" && as_dir=.
5463 for ac_exec_ext in '' $ac_executable_extensions; do
5464 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
5465 ac_cv_prog_MSGFMT="$ac_prog"
5466 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5467 break 2
5469 done
5470 done
5471 IFS=$as_save_IFS
5475 MSGFMT=$ac_cv_prog_MSGFMT
5476 if test -n "$MSGFMT"; then
5477 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $MSGFMT" >&5
5478 $as_echo "$MSGFMT" >&6; }
5479 else
5480 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5481 $as_echo "no" >&6; }
5485 test -n "$MSGFMT" && break
5486 done
5487 test -n "$MSGFMT" || MSGFMT="false"
5489 if ${ac_tool_prefix+:} false; then :
5490 # Extract the first word of "${ac_tool_prefix}pkg-config", so it can be a program name with args.
5491 set dummy ${ac_tool_prefix}pkg-config; ac_word=$2
5492 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5493 $as_echo_n "checking for $ac_word... " >&6; }
5494 if ${ac_cv_prog_PKG_CONFIG+:} false; then :
5495 $as_echo_n "(cached) " >&6
5496 else
5497 if test -n "$PKG_CONFIG"; then
5498 ac_cv_prog_PKG_CONFIG="$PKG_CONFIG" # Let the user override the test.
5499 else
5500 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5501 for as_dir in $PATH
5503 IFS=$as_save_IFS
5504 test -z "$as_dir" && as_dir=.
5505 for ac_exec_ext in '' $ac_executable_extensions; do
5506 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
5507 ac_cv_prog_PKG_CONFIG="${ac_tool_prefix}pkg-config"
5508 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5509 break 2
5511 done
5512 done
5513 IFS=$as_save_IFS
5517 PKG_CONFIG=$ac_cv_prog_PKG_CONFIG
5518 if test -n "$PKG_CONFIG"; then
5519 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $PKG_CONFIG" >&5
5520 $as_echo "$PKG_CONFIG" >&6; }
5521 else
5522 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5523 $as_echo "no" >&6; }
5528 if ${ac_cv_prog_PKG_CONFIG:+false} :; then :
5529 if test "x$cross_compiling" = xyes; then :
5531 else
5532 { ac_cv_prog_PKG_CONFIG=; unset ac_cv_prog_PKG_CONFIG;}
5533 # Extract the first word of "pkg-config", so it can be a program name with args.
5534 set dummy pkg-config; ac_word=$2
5535 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5536 $as_echo_n "checking for $ac_word... " >&6; }
5537 if ${ac_cv_prog_PKG_CONFIG+:} false; then :
5538 $as_echo_n "(cached) " >&6
5539 else
5540 if test -n "$PKG_CONFIG"; then
5541 ac_cv_prog_PKG_CONFIG="$PKG_CONFIG" # Let the user override the test.
5542 else
5543 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5544 for as_dir in $PATH
5546 IFS=$as_save_IFS
5547 test -z "$as_dir" && as_dir=.
5548 for ac_exec_ext in '' $ac_executable_extensions; do
5549 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
5550 ac_cv_prog_PKG_CONFIG="pkg-config"
5551 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5552 break 2
5554 done
5555 done
5556 IFS=$as_save_IFS
5560 PKG_CONFIG=$ac_cv_prog_PKG_CONFIG
5561 if test -n "$PKG_CONFIG"; then
5562 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $PKG_CONFIG" >&5
5563 $as_echo "$PKG_CONFIG" >&6; }
5564 else
5565 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5566 $as_echo "no" >&6; }
5571 else
5572 PKG_CONFIG=$ac_cv_prog_PKG_CONFIG
5575 if test "x$enable_maintainer_mode" != "xyes"
5576 then
5577 FONTFORGE=""
5578 RSVG=""
5579 CONVERT=""
5580 ICOTOOL=""
5581 else
5582 test "$srcdir" = . || as_fn_error $? "Maintainer mode cannot work out of tree." "$LINENO" 5
5583 for ac_prog in fontforge
5585 # Extract the first word of "$ac_prog", so it can be a program name with args.
5586 set dummy $ac_prog; ac_word=$2
5587 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5588 $as_echo_n "checking for $ac_word... " >&6; }
5589 if ${ac_cv_prog_FONTFORGE+:} false; then :
5590 $as_echo_n "(cached) " >&6
5591 else
5592 if test -n "$FONTFORGE"; then
5593 ac_cv_prog_FONTFORGE="$FONTFORGE" # Let the user override the test.
5594 else
5595 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5596 for as_dir in $PATH
5598 IFS=$as_save_IFS
5599 test -z "$as_dir" && as_dir=.
5600 for ac_exec_ext in '' $ac_executable_extensions; do
5601 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
5602 ac_cv_prog_FONTFORGE="$ac_prog"
5603 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5604 break 2
5606 done
5607 done
5608 IFS=$as_save_IFS
5612 FONTFORGE=$ac_cv_prog_FONTFORGE
5613 if test -n "$FONTFORGE"; then
5614 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $FONTFORGE" >&5
5615 $as_echo "$FONTFORGE" >&6; }
5616 else
5617 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5618 $as_echo "no" >&6; }
5622 test -n "$FONTFORGE" && break
5623 done
5624 test -n "$FONTFORGE" || FONTFORGE="false"
5626 for ac_prog in rsvg
5628 # Extract the first word of "$ac_prog", so it can be a program name with args.
5629 set dummy $ac_prog; ac_word=$2
5630 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5631 $as_echo_n "checking for $ac_word... " >&6; }
5632 if ${ac_cv_prog_RSVG+:} false; then :
5633 $as_echo_n "(cached) " >&6
5634 else
5635 if test -n "$RSVG"; then
5636 ac_cv_prog_RSVG="$RSVG" # Let the user override the test.
5637 else
5638 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5639 for as_dir in $PATH
5641 IFS=$as_save_IFS
5642 test -z "$as_dir" && as_dir=.
5643 for ac_exec_ext in '' $ac_executable_extensions; do
5644 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
5645 ac_cv_prog_RSVG="$ac_prog"
5646 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5647 break 2
5649 done
5650 done
5651 IFS=$as_save_IFS
5655 RSVG=$ac_cv_prog_RSVG
5656 if test -n "$RSVG"; then
5657 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $RSVG" >&5
5658 $as_echo "$RSVG" >&6; }
5659 else
5660 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5661 $as_echo "no" >&6; }
5665 test -n "$RSVG" && break
5666 done
5667 test -n "$RSVG" || RSVG="false"
5669 for ac_prog in convert
5671 # Extract the first word of "$ac_prog", so it can be a program name with args.
5672 set dummy $ac_prog; ac_word=$2
5673 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5674 $as_echo_n "checking for $ac_word... " >&6; }
5675 if ${ac_cv_prog_CONVERT+:} false; then :
5676 $as_echo_n "(cached) " >&6
5677 else
5678 if test -n "$CONVERT"; then
5679 ac_cv_prog_CONVERT="$CONVERT" # Let the user override the test.
5680 else
5681 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5682 for as_dir in $PATH
5684 IFS=$as_save_IFS
5685 test -z "$as_dir" && as_dir=.
5686 for ac_exec_ext in '' $ac_executable_extensions; do
5687 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
5688 ac_cv_prog_CONVERT="$ac_prog"
5689 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5690 break 2
5692 done
5693 done
5694 IFS=$as_save_IFS
5698 CONVERT=$ac_cv_prog_CONVERT
5699 if test -n "$CONVERT"; then
5700 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CONVERT" >&5
5701 $as_echo "$CONVERT" >&6; }
5702 else
5703 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5704 $as_echo "no" >&6; }
5708 test -n "$CONVERT" && break
5709 done
5710 test -n "$CONVERT" || CONVERT="false"
5712 for ac_prog in icotool
5714 # Extract the first word of "$ac_prog", so it can be a program name with args.
5715 set dummy $ac_prog; ac_word=$2
5716 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5717 $as_echo_n "checking for $ac_word... " >&6; }
5718 if ${ac_cv_prog_ICOTOOL+:} false; then :
5719 $as_echo_n "(cached) " >&6
5720 else
5721 if test -n "$ICOTOOL"; then
5722 ac_cv_prog_ICOTOOL="$ICOTOOL" # Let the user override the test.
5723 else
5724 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5725 for as_dir in $PATH
5727 IFS=$as_save_IFS
5728 test -z "$as_dir" && as_dir=.
5729 for ac_exec_ext in '' $ac_executable_extensions; do
5730 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
5731 ac_cv_prog_ICOTOOL="$ac_prog"
5732 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5733 break 2
5735 done
5736 done
5737 IFS=$as_save_IFS
5741 ICOTOOL=$ac_cv_prog_ICOTOOL
5742 if test -n "$ICOTOOL"; then
5743 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ICOTOOL" >&5
5744 $as_echo "$ICOTOOL" >&6; }
5745 else
5746 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5747 $as_echo "no" >&6; }
5751 test -n "$ICOTOOL" && break
5752 done
5753 test -n "$ICOTOOL" || ICOTOOL="false"
5755 test "$FONTFORGE" != "false" || as_fn_error $? "You need fontforge to rebuild fonts in maintainer mode." "$LINENO" 5
5756 test "$RSVG" != "false" || as_fn_error $? "You need rsvg to rebuild icons in maintainer mode." "$LINENO" 5
5758 if test "$CONVERT" = false
5759 then
5760 as_fn_error $? "You need imagemagick to rebuild icons in maintainer mode." "$LINENO" 5
5761 else
5762 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for recent enough imagemagick" >&5
5763 $as_echo_n "checking for recent enough imagemagick... " >&6; }
5764 convert_version=`convert --version | head -n1`
5765 if test "x$convert_version" != "x"
5766 then
5767 convert_version_major=`expr "$convert_version" : '.* \([0-9]*\)\.[0-9]*'`
5768 convert_version_minor=`expr "$convert_version" : '.* [0-9]*\.\([0-9]*\)'`
5769 if test "$convert_version_major" -eq 6 -a "$convert_version_minor" -lt 6
5770 then
5771 CONVERT=false
5774 if test "$CONVERT" = false
5775 then
5776 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no ($convert_version_major.$convert_version_minor)" >&5
5777 $as_echo "no ($convert_version_major.$convert_version_minor)" >&6; }
5778 as_fn_error $? "You need imagemagick version 6.6 or newer to rebuild icons in maintainer mode." "$LINENO" 5
5779 else
5780 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes ($convert_version_major.$convert_version_minor)" >&5
5781 $as_echo "yes ($convert_version_major.$convert_version_minor)" >&6; }
5785 if test "$ICOTOOL" = false
5786 then
5787 as_fn_error $? "You need icotool to rebuild icons in maintainer mode." "$LINENO" 5
5788 else
5789 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for recent enough icotool" >&5
5790 $as_echo_n "checking for recent enough icotool... " >&6; }
5791 icotool_version=`icotool --version | head -n1`
5792 if test "x$icotool_version" != "x"
5793 then
5794 icotool_version_major=`expr "$icotool_version" : '.* \([0-9]*\)\.[0-9]*'`
5795 icotool_version_minor=`expr "$icotool_version" : '.* [0-9]*\.\([0-9]*\)'`
5796 if test "$icotool_version_major" -eq 0 -a "$icotool_version_minor" -lt 29
5797 then
5798 ICOTOOL=false
5799 as_fn_append wine_warnings "|icotool version 0.29.0 or newer is needed to rebuild icons."
5802 if test "$ICOTOOL" = false
5803 then
5804 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no ($icotool_version_major.$icotool_version_minor)" >&5
5805 $as_echo "no ($icotool_version_major.$icotool_version_minor)" >&6; }
5806 as_fn_error $? "You need icotool version 0.29.0 or newer to rebuild icons in maintainer mode." "$LINENO" 5
5807 else
5808 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes ($icotool_version_major.$icotool_version_minor)" >&5
5809 $as_echo "yes ($icotool_version_major.$icotool_version_minor)" >&6; }
5813 with_gettext=yes
5814 with_gettextpo=yes
5815 { ac_cv_header_gettext_po_h=; unset ac_cv_header_gettext_po_h;}
5818 test "x$with_gettext" != xno || MSGFMT=false
5819 if test "$MSGFMT" != "false"
5820 then
5821 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether msgfmt supports contexts" >&5
5822 $as_echo_n "checking whether msgfmt supports contexts... " >&6; }
5823 cat >conftest.po <<EOF
5824 # comment
5825 msgctxt "ctxt"
5826 msgid "id"
5827 msgstr "str"
5829 if $MSGFMT -o /dev/null conftest.po 2>&5
5830 then
5831 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
5832 $as_echo "yes" >&6; }
5833 else
5834 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5835 $as_echo "no" >&6; }
5836 MSGFMT=false
5839 if test "$MSGFMT" = false; then :
5840 case "x$with_gettext" in
5841 x) as_fn_append wine_warnings "|gettext tools not found (or too old), translations won't be built." ;;
5842 xno) ;;
5843 *) as_fn_error $? "gettext tools not found (or too old), translations won't be built.
5844 This is an error since --with-gettext was requested." "$LINENO" 5 ;;
5845 esac
5849 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for i386_set_ldt in -li386" >&5
5850 $as_echo_n "checking for i386_set_ldt in -li386... " >&6; }
5851 if ${ac_cv_lib_i386_i386_set_ldt+:} false; then :
5852 $as_echo_n "(cached) " >&6
5853 else
5854 ac_check_lib_save_LIBS=$LIBS
5855 LIBS="-li386 $LIBS"
5856 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
5857 /* end confdefs.h. */
5859 /* Override any GCC internal prototype to avoid an error.
5860 Use char because int might match the return type of a GCC
5861 builtin and then its argument prototype would still apply. */
5862 #ifdef __cplusplus
5863 extern "C"
5864 #endif
5865 char i386_set_ldt ();
5867 main ()
5869 return i386_set_ldt ();
5871 return 0;
5873 _ACEOF
5874 if ac_fn_c_try_link "$LINENO"; then :
5875 ac_cv_lib_i386_i386_set_ldt=yes
5876 else
5877 ac_cv_lib_i386_i386_set_ldt=no
5879 rm -f core conftest.err conftest.$ac_objext \
5880 conftest$ac_exeext conftest.$ac_ext
5881 LIBS=$ac_check_lib_save_LIBS
5883 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_i386_i386_set_ldt" >&5
5884 $as_echo "$ac_cv_lib_i386_i386_set_ldt" >&6; }
5885 if test "x$ac_cv_lib_i386_i386_set_ldt" = xyes; then :
5886 cat >>confdefs.h <<_ACEOF
5887 #define HAVE_LIBI386 1
5888 _ACEOF
5890 LIBS="-li386 $LIBS"
5894 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _oss_ioctl in -lossaudio" >&5
5895 $as_echo_n "checking for _oss_ioctl in -lossaudio... " >&6; }
5896 if ${ac_cv_lib_ossaudio__oss_ioctl+:} false; then :
5897 $as_echo_n "(cached) " >&6
5898 else
5899 ac_check_lib_save_LIBS=$LIBS
5900 LIBS="-lossaudio $LIBS"
5901 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
5902 /* end confdefs.h. */
5904 /* Override any GCC internal prototype to avoid an error.
5905 Use char because int might match the return type of a GCC
5906 builtin and then its argument prototype would still apply. */
5907 #ifdef __cplusplus
5908 extern "C"
5909 #endif
5910 char _oss_ioctl ();
5912 main ()
5914 return _oss_ioctl ();
5916 return 0;
5918 _ACEOF
5919 if ac_fn_c_try_link "$LINENO"; then :
5920 ac_cv_lib_ossaudio__oss_ioctl=yes
5921 else
5922 ac_cv_lib_ossaudio__oss_ioctl=no
5924 rm -f core conftest.err conftest.$ac_objext \
5925 conftest$ac_exeext conftest.$ac_ext
5926 LIBS=$ac_check_lib_save_LIBS
5928 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_ossaudio__oss_ioctl" >&5
5929 $as_echo "$ac_cv_lib_ossaudio__oss_ioctl" >&6; }
5930 if test "x$ac_cv_lib_ossaudio__oss_ioctl" = xyes; then :
5931 cat >>confdefs.h <<_ACEOF
5932 #define HAVE_LIBOSSAUDIO 1
5933 _ACEOF
5935 LIBS="-lossaudio $LIBS"
5940 OPENGL_LIBS=""
5944 # Check whether --enable-largefile was given.
5945 if test "${enable_largefile+set}" = set; then :
5946 enableval=$enable_largefile;
5949 if test "$enable_largefile" != no; then
5951 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for special C compiler options needed for large files" >&5
5952 $as_echo_n "checking for special C compiler options needed for large files... " >&6; }
5953 if ${ac_cv_sys_largefile_CC+:} false; then :
5954 $as_echo_n "(cached) " >&6
5955 else
5956 ac_cv_sys_largefile_CC=no
5957 if test "$GCC" != yes; then
5958 ac_save_CC=$CC
5959 while :; do
5960 # IRIX 6.2 and later do not support large files by default,
5961 # so use the C compiler's -n32 option if that helps.
5962 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
5963 /* end confdefs.h. */
5964 #include <sys/types.h>
5965 /* Check that off_t can represent 2**63 - 1 correctly.
5966 We can't simply define LARGE_OFF_T to be 9223372036854775807,
5967 since some C++ compilers masquerading as C compilers
5968 incorrectly reject 9223372036854775807. */
5969 #define LARGE_OFF_T (((off_t) 1 << 62) - 1 + ((off_t) 1 << 62))
5970 int off_t_is_large[(LARGE_OFF_T % 2147483629 == 721
5971 && LARGE_OFF_T % 2147483647 == 1)
5972 ? 1 : -1];
5974 main ()
5978 return 0;
5980 _ACEOF
5981 if ac_fn_c_try_compile "$LINENO"; then :
5982 break
5984 rm -f core conftest.err conftest.$ac_objext
5985 CC="$CC -n32"
5986 if ac_fn_c_try_compile "$LINENO"; then :
5987 ac_cv_sys_largefile_CC=' -n32'; break
5989 rm -f core conftest.err conftest.$ac_objext
5990 break
5991 done
5992 CC=$ac_save_CC
5993 rm -f conftest.$ac_ext
5996 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_sys_largefile_CC" >&5
5997 $as_echo "$ac_cv_sys_largefile_CC" >&6; }
5998 if test "$ac_cv_sys_largefile_CC" != no; then
5999 CC=$CC$ac_cv_sys_largefile_CC
6002 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _FILE_OFFSET_BITS value needed for large files" >&5
6003 $as_echo_n "checking for _FILE_OFFSET_BITS value needed for large files... " >&6; }
6004 if ${ac_cv_sys_file_offset_bits+:} false; then :
6005 $as_echo_n "(cached) " >&6
6006 else
6007 while :; do
6008 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
6009 /* end confdefs.h. */
6010 #include <sys/types.h>
6011 /* Check that off_t can represent 2**63 - 1 correctly.
6012 We can't simply define LARGE_OFF_T to be 9223372036854775807,
6013 since some C++ compilers masquerading as C compilers
6014 incorrectly reject 9223372036854775807. */
6015 #define LARGE_OFF_T (((off_t) 1 << 62) - 1 + ((off_t) 1 << 62))
6016 int off_t_is_large[(LARGE_OFF_T % 2147483629 == 721
6017 && LARGE_OFF_T % 2147483647 == 1)
6018 ? 1 : -1];
6020 main ()
6024 return 0;
6026 _ACEOF
6027 if ac_fn_c_try_compile "$LINENO"; then :
6028 ac_cv_sys_file_offset_bits=no; break
6030 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
6031 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
6032 /* end confdefs.h. */
6033 #define _FILE_OFFSET_BITS 64
6034 #include <sys/types.h>
6035 /* Check that off_t can represent 2**63 - 1 correctly.
6036 We can't simply define LARGE_OFF_T to be 9223372036854775807,
6037 since some C++ compilers masquerading as C compilers
6038 incorrectly reject 9223372036854775807. */
6039 #define LARGE_OFF_T (((off_t) 1 << 62) - 1 + ((off_t) 1 << 62))
6040 int off_t_is_large[(LARGE_OFF_T % 2147483629 == 721
6041 && LARGE_OFF_T % 2147483647 == 1)
6042 ? 1 : -1];
6044 main ()
6048 return 0;
6050 _ACEOF
6051 if ac_fn_c_try_compile "$LINENO"; then :
6052 ac_cv_sys_file_offset_bits=64; break
6054 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
6055 ac_cv_sys_file_offset_bits=unknown
6056 break
6057 done
6059 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_sys_file_offset_bits" >&5
6060 $as_echo "$ac_cv_sys_file_offset_bits" >&6; }
6061 case $ac_cv_sys_file_offset_bits in #(
6062 no | unknown) ;;
6064 cat >>confdefs.h <<_ACEOF
6065 #define _FILE_OFFSET_BITS $ac_cv_sys_file_offset_bits
6066 _ACEOF
6068 esac
6069 rm -rf conftest*
6070 if test $ac_cv_sys_file_offset_bits = unknown; then
6071 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _LARGE_FILES value needed for large files" >&5
6072 $as_echo_n "checking for _LARGE_FILES value needed for large files... " >&6; }
6073 if ${ac_cv_sys_large_files+:} false; then :
6074 $as_echo_n "(cached) " >&6
6075 else
6076 while :; do
6077 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
6078 /* end confdefs.h. */
6079 #include <sys/types.h>
6080 /* Check that off_t can represent 2**63 - 1 correctly.
6081 We can't simply define LARGE_OFF_T to be 9223372036854775807,
6082 since some C++ compilers masquerading as C compilers
6083 incorrectly reject 9223372036854775807. */
6084 #define LARGE_OFF_T (((off_t) 1 << 62) - 1 + ((off_t) 1 << 62))
6085 int off_t_is_large[(LARGE_OFF_T % 2147483629 == 721
6086 && LARGE_OFF_T % 2147483647 == 1)
6087 ? 1 : -1];
6089 main ()
6093 return 0;
6095 _ACEOF
6096 if ac_fn_c_try_compile "$LINENO"; then :
6097 ac_cv_sys_large_files=no; break
6099 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
6100 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
6101 /* end confdefs.h. */
6102 #define _LARGE_FILES 1
6103 #include <sys/types.h>
6104 /* Check that off_t can represent 2**63 - 1 correctly.
6105 We can't simply define LARGE_OFF_T to be 9223372036854775807,
6106 since some C++ compilers masquerading as C compilers
6107 incorrectly reject 9223372036854775807. */
6108 #define LARGE_OFF_T (((off_t) 1 << 62) - 1 + ((off_t) 1 << 62))
6109 int off_t_is_large[(LARGE_OFF_T % 2147483629 == 721
6110 && LARGE_OFF_T % 2147483647 == 1)
6111 ? 1 : -1];
6113 main ()
6117 return 0;
6119 _ACEOF
6120 if ac_fn_c_try_compile "$LINENO"; then :
6121 ac_cv_sys_large_files=1; break
6123 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
6124 ac_cv_sys_large_files=unknown
6125 break
6126 done
6128 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_sys_large_files" >&5
6129 $as_echo "$ac_cv_sys_large_files" >&6; }
6130 case $ac_cv_sys_large_files in #(
6131 no | unknown) ;;
6133 cat >>confdefs.h <<_ACEOF
6134 #define _LARGE_FILES $ac_cv_sys_large_files
6135 _ACEOF
6137 esac
6138 rm -rf conftest*
6145 ac_ext=c
6146 ac_cpp='$CPP $CPPFLAGS'
6147 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
6148 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
6149 ac_compiler_gnu=$ac_cv_c_compiler_gnu
6150 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to run the C preprocessor" >&5
6151 $as_echo_n "checking how to run the C preprocessor... " >&6; }
6152 # On Suns, sometimes $CPP names a directory.
6153 if test -n "$CPP" && test -d "$CPP"; then
6154 CPP=
6156 if test -z "$CPP"; then
6157 if ${ac_cv_prog_CPP+:} false; then :
6158 $as_echo_n "(cached) " >&6
6159 else
6160 # Double quotes because CPP needs to be expanded
6161 for CPP in "$CC -E" "$CC -E -traditional-cpp" "/lib/cpp"
6163 ac_preproc_ok=false
6164 for ac_c_preproc_warn_flag in '' yes
6166 # Use a header file that comes with gcc, so configuring glibc
6167 # with a fresh cross-compiler works.
6168 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
6169 # <limits.h> exists even on freestanding compilers.
6170 # On the NeXT, cc -E runs the code through the compiler's parser,
6171 # not just through cpp. "Syntax error" is here to catch this case.
6172 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
6173 /* end confdefs.h. */
6174 #ifdef __STDC__
6175 # include <limits.h>
6176 #else
6177 # include <assert.h>
6178 #endif
6179 Syntax error
6180 _ACEOF
6181 if ac_fn_c_try_cpp "$LINENO"; then :
6183 else
6184 # Broken: fails on valid input.
6185 continue
6187 rm -f conftest.err conftest.i conftest.$ac_ext
6189 # OK, works on sane cases. Now check whether nonexistent headers
6190 # can be detected and how.
6191 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
6192 /* end confdefs.h. */
6193 #include <ac_nonexistent.h>
6194 _ACEOF
6195 if ac_fn_c_try_cpp "$LINENO"; then :
6196 # Broken: success on invalid input.
6197 continue
6198 else
6199 # Passes both tests.
6200 ac_preproc_ok=:
6201 break
6203 rm -f conftest.err conftest.i conftest.$ac_ext
6205 done
6206 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
6207 rm -f conftest.i conftest.err conftest.$ac_ext
6208 if $ac_preproc_ok; then :
6209 break
6212 done
6213 ac_cv_prog_CPP=$CPP
6216 CPP=$ac_cv_prog_CPP
6217 else
6218 ac_cv_prog_CPP=$CPP
6220 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CPP" >&5
6221 $as_echo "$CPP" >&6; }
6222 ac_preproc_ok=false
6223 for ac_c_preproc_warn_flag in '' yes
6225 # Use a header file that comes with gcc, so configuring glibc
6226 # with a fresh cross-compiler works.
6227 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
6228 # <limits.h> exists even on freestanding compilers.
6229 # On the NeXT, cc -E runs the code through the compiler's parser,
6230 # not just through cpp. "Syntax error" is here to catch this case.
6231 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
6232 /* end confdefs.h. */
6233 #ifdef __STDC__
6234 # include <limits.h>
6235 #else
6236 # include <assert.h>
6237 #endif
6238 Syntax error
6239 _ACEOF
6240 if ac_fn_c_try_cpp "$LINENO"; then :
6242 else
6243 # Broken: fails on valid input.
6244 continue
6246 rm -f conftest.err conftest.i conftest.$ac_ext
6248 # OK, works on sane cases. Now check whether nonexistent headers
6249 # can be detected and how.
6250 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
6251 /* end confdefs.h. */
6252 #include <ac_nonexistent.h>
6253 _ACEOF
6254 if ac_fn_c_try_cpp "$LINENO"; then :
6255 # Broken: success on invalid input.
6256 continue
6257 else
6258 # Passes both tests.
6259 ac_preproc_ok=:
6260 break
6262 rm -f conftest.err conftest.i conftest.$ac_ext
6264 done
6265 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
6266 rm -f conftest.i conftest.err conftest.$ac_ext
6267 if $ac_preproc_ok; then :
6269 else
6270 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
6271 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
6272 as_fn_error $? "C preprocessor \"$CPP\" fails sanity check
6273 See \`config.log' for more details" "$LINENO" 5; }
6276 ac_ext=c
6277 ac_cpp='$CPP $CPPFLAGS'
6278 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
6279 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
6280 ac_compiler_gnu=$ac_cv_c_compiler_gnu
6283 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ANSI C header files" >&5
6284 $as_echo_n "checking for ANSI C header files... " >&6; }
6285 if ${ac_cv_header_stdc+:} false; then :
6286 $as_echo_n "(cached) " >&6
6287 else
6288 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
6289 /* end confdefs.h. */
6290 #include <stdlib.h>
6291 #include <stdarg.h>
6292 #include <string.h>
6293 #include <float.h>
6296 main ()
6300 return 0;
6302 _ACEOF
6303 if ac_fn_c_try_compile "$LINENO"; then :
6304 ac_cv_header_stdc=yes
6305 else
6306 ac_cv_header_stdc=no
6308 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
6310 if test $ac_cv_header_stdc = yes; then
6311 # SunOS 4.x string.h does not declare mem*, contrary to ANSI.
6312 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
6313 /* end confdefs.h. */
6314 #include <string.h>
6316 _ACEOF
6317 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
6318 $EGREP "memchr" >/dev/null 2>&1; then :
6320 else
6321 ac_cv_header_stdc=no
6323 rm -f conftest*
6327 if test $ac_cv_header_stdc = yes; then
6328 # ISC 2.0.2 stdlib.h does not declare free, contrary to ANSI.
6329 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
6330 /* end confdefs.h. */
6331 #include <stdlib.h>
6333 _ACEOF
6334 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
6335 $EGREP "free" >/dev/null 2>&1; then :
6337 else
6338 ac_cv_header_stdc=no
6340 rm -f conftest*
6344 if test $ac_cv_header_stdc = yes; then
6345 # /bin/cc in Irix-4.0.5 gets non-ANSI ctype macros unless using -ansi.
6346 if test "$cross_compiling" = yes; then :
6348 else
6349 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
6350 /* end confdefs.h. */
6351 #include <ctype.h>
6352 #include <stdlib.h>
6353 #if ((' ' & 0x0FF) == 0x020)
6354 # define ISLOWER(c) ('a' <= (c) && (c) <= 'z')
6355 # define TOUPPER(c) (ISLOWER(c) ? 'A' + ((c) - 'a') : (c))
6356 #else
6357 # define ISLOWER(c) \
6358 (('a' <= (c) && (c) <= 'i') \
6359 || ('j' <= (c) && (c) <= 'r') \
6360 || ('s' <= (c) && (c) <= 'z'))
6361 # define TOUPPER(c) (ISLOWER(c) ? ((c) | 0x40) : (c))
6362 #endif
6364 #define XOR(e, f) (((e) && !(f)) || (!(e) && (f)))
6366 main ()
6368 int i;
6369 for (i = 0; i < 256; i++)
6370 if (XOR (islower (i), ISLOWER (i))
6371 || toupper (i) != TOUPPER (i))
6372 return 2;
6373 return 0;
6375 _ACEOF
6376 if ac_fn_c_try_run "$LINENO"; then :
6378 else
6379 ac_cv_header_stdc=no
6381 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \
6382 conftest.$ac_objext conftest.beam conftest.$ac_ext
6387 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_header_stdc" >&5
6388 $as_echo "$ac_cv_header_stdc" >&6; }
6389 if test $ac_cv_header_stdc = yes; then
6391 $as_echo "#define STDC_HEADERS 1" >>confdefs.h
6395 # On IRIX 5.3, sys/types and inttypes.h are conflicting.
6396 for ac_header in sys/types.h sys/stat.h stdlib.h string.h memory.h strings.h \
6397 inttypes.h stdint.h unistd.h
6398 do :
6399 as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
6400 ac_fn_c_check_header_compile "$LINENO" "$ac_header" "$as_ac_Header" "$ac_includes_default
6402 if eval test \"x\$"$as_ac_Header"\" = x"yes"; then :
6403 cat >>confdefs.h <<_ACEOF
6404 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
6405 _ACEOF
6409 done
6412 for ac_header in \
6413 AL/al.h \
6414 ApplicationServices/ApplicationServices.h \
6415 AudioToolbox/AudioConverter.h \
6416 AudioUnit/AudioUnit.h \
6417 AudioUnit/AudioComponent.h \
6418 CL/cl.h \
6419 Carbon/Carbon.h \
6420 CoreAudio/CoreAudio.h \
6421 CoreServices/CoreServices.h \
6422 DiskArbitration/DiskArbitration.h \
6423 IOKit/IOKitLib.h \
6424 IOKit/hid/IOHIDLib.h \
6425 OpenAL/al.h \
6426 OpenCL/opencl.h \
6427 QuickTime/ImageCompression.h \
6428 Security/Security.h \
6429 alias.h \
6430 alsa/asoundlib.h \
6431 arpa/inet.h \
6432 arpa/nameser.h \
6433 asm/types.h \
6434 asm/user.h \
6435 curses.h \
6436 direct.h \
6437 dirent.h \
6438 dlfcn.h \
6439 elf.h \
6440 float.h \
6441 fnmatch.h \
6442 getopt.h \
6443 gettext-po.h \
6444 grp.h \
6445 gsm.h \
6446 gsm/gsm.h \
6447 ieeefp.h \
6448 inet/mib2.h \
6449 io.h \
6450 kstat.h \
6451 lber.h \
6452 ldap.h \
6453 libproc.h \
6454 link.h \
6455 linux/cdrom.h \
6456 linux/compiler.h \
6457 linux/filter.h \
6458 linux/hdreg.h \
6459 linux/input.h \
6460 linux/ioctl.h \
6461 linux/joystick.h \
6462 linux/major.h \
6463 linux/param.h \
6464 linux/serial.h \
6465 linux/types.h \
6466 linux/ucdrom.h \
6467 lwp.h \
6468 mach-o/nlist.h \
6469 mach-o/loader.h \
6470 mach/mach.h \
6471 mach/machine.h \
6472 machine/cpu.h \
6473 machine/limits.h \
6474 machine/sysarch.h \
6475 mntent.h \
6476 ncurses.h \
6477 netdb.h \
6478 netinet/in.h \
6479 netinet/in_systm.h \
6480 netinet/tcp.h \
6481 netinet/tcp_fsm.h \
6482 poll.h \
6483 port.h \
6484 process.h \
6485 pthread.h \
6486 pwd.h \
6487 sched.h \
6488 scsi/scsi.h \
6489 scsi/scsi_ioctl.h \
6490 scsi/sg.h \
6491 stdbool.h \
6492 stdint.h \
6493 stropts.h \
6494 sys/asoundlib.h \
6495 sys/attr.h \
6496 sys/cdio.h \
6497 sys/elf32.h \
6498 sys/epoll.h \
6499 sys/event.h \
6500 sys/exec_elf.h \
6501 sys/filio.h \
6502 sys/inotify.h \
6503 sys/ioctl.h \
6504 sys/ipc.h \
6505 sys/limits.h \
6506 sys/link.h \
6507 sys/mman.h \
6508 sys/modem.h \
6509 sys/msg.h \
6510 sys/mtio.h \
6511 sys/param.h \
6512 sys/poll.h \
6513 sys/prctl.h \
6514 sys/protosw.h \
6515 sys/ptrace.h \
6516 sys/queue.h \
6517 sys/resource.h \
6518 sys/scsiio.h \
6519 sys/shm.h \
6520 sys/signal.h \
6521 sys/socket.h \
6522 sys/socketvar.h \
6523 sys/sockio.h \
6524 sys/statvfs.h \
6525 sys/strtio.h \
6526 sys/syscall.h \
6527 sys/tihdr.h \
6528 sys/time.h \
6529 sys/timeout.h \
6530 sys/times.h \
6531 sys/uio.h \
6532 sys/user.h \
6533 sys/utsname.h \
6534 sys/vm86.h \
6535 sys/wait.h \
6536 syscall.h \
6537 termios.h \
6538 unistd.h \
6539 utime.h \
6540 valgrind/memcheck.h \
6541 valgrind/valgrind.h \
6542 zlib.h
6544 do :
6545 as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
6546 ac_fn_c_check_header_mongrel "$LINENO" "$ac_header" "$as_ac_Header" "$ac_includes_default"
6547 if eval test \"x\$"$as_ac_Header"\" = x"yes"; then :
6548 cat >>confdefs.h <<_ACEOF
6549 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
6550 _ACEOF
6554 done
6556 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether stat file-mode macros are broken" >&5
6557 $as_echo_n "checking whether stat file-mode macros are broken... " >&6; }
6558 if ${ac_cv_header_stat_broken+:} false; then :
6559 $as_echo_n "(cached) " >&6
6560 else
6561 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
6562 /* end confdefs.h. */
6563 #include <sys/types.h>
6564 #include <sys/stat.h>
6566 #if defined S_ISBLK && defined S_IFDIR
6567 extern char c1[S_ISBLK (S_IFDIR) ? -1 : 1];
6568 #endif
6570 #if defined S_ISBLK && defined S_IFCHR
6571 extern char c2[S_ISBLK (S_IFCHR) ? -1 : 1];
6572 #endif
6574 #if defined S_ISLNK && defined S_IFREG
6575 extern char c3[S_ISLNK (S_IFREG) ? -1 : 1];
6576 #endif
6578 #if defined S_ISSOCK && defined S_IFREG
6579 extern char c4[S_ISSOCK (S_IFREG) ? -1 : 1];
6580 #endif
6582 _ACEOF
6583 if ac_fn_c_try_compile "$LINENO"; then :
6584 ac_cv_header_stat_broken=no
6585 else
6586 ac_cv_header_stat_broken=yes
6588 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
6590 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_header_stat_broken" >&5
6591 $as_echo "$ac_cv_header_stat_broken" >&6; }
6592 if test $ac_cv_header_stat_broken = yes; then
6594 $as_echo "#define STAT_MACROS_BROKEN 1" >>confdefs.h
6600 for ac_header in sys/mount.h sys/statfs.h sys/sysctl.h sys/user.h sys/vfs.h
6601 do :
6602 as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
6603 ac_fn_c_check_header_compile "$LINENO" "$ac_header" "$as_ac_Header" "#include <sys/types.h>
6604 #ifdef HAVE_SYS_PARAM_H
6605 # include <sys/param.h>
6606 #endif
6608 if eval test \"x\$"$as_ac_Header"\" = x"yes"; then :
6609 cat >>confdefs.h <<_ACEOF
6610 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
6611 _ACEOF
6615 done
6618 for ac_header in \
6619 netinet/ip.h \
6620 net/if.h \
6621 net/if_arp.h \
6622 net/if_dl.h \
6623 net/if_types.h \
6624 net/route.h \
6625 netinet/if_ether.h \
6626 netinet/if_inarp.h \
6627 netinet/in_pcb.h \
6628 netinet/ip_icmp.h \
6629 netinet/ip_var.h \
6630 netinet/udp.h \
6631 netipx/ipx.h \
6632 sys/un.h \
6634 do :
6635 as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
6636 ac_fn_c_check_header_compile "$LINENO" "$ac_header" "$as_ac_Header" "#include <sys/types.h>
6637 #ifdef HAVE_SYS_SOCKET_H
6638 # include <sys/socket.h>
6639 #endif
6640 #ifdef HAVE_SYS_SOCKETVAR_H
6641 # include <sys/socketvar.h>
6642 #endif
6643 #ifdef HAVE_NET_ROUTE_H
6644 # include <net/route.h>
6645 #endif
6646 #ifdef HAVE_NETINET_IN_H
6647 # include <netinet/in.h>
6648 #endif
6649 #ifdef HAVE_NETINET_IN_SYSTM_H
6650 # include <netinet/in_systm.h>
6651 #endif
6652 #ifdef HAVE_NET_IF_H
6653 # include <net/if.h>
6654 #endif
6655 #ifdef HAVE_NETINET_IP_H
6656 # include <netinet/ip.h>
6657 #endif
6659 if eval test \"x\$"$as_ac_Header"\" = x"yes"; then :
6660 cat >>confdefs.h <<_ACEOF
6661 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
6662 _ACEOF
6666 done
6669 for ac_header in netinet/tcp_timer.h netinet/udp_var.h netinet/icmp_var.h netinet/tcp_var.h
6670 do :
6671 as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
6672 ac_fn_c_check_header_compile "$LINENO" "$ac_header" "$as_ac_Header" "#include <sys/types.h>
6673 #ifdef HAVE_ALIAS_H
6674 # include <alias.h>
6675 #endif
6676 #ifdef HAVE_SYS_SOCKET_H
6677 # include <sys/socket.h>
6678 #endif
6679 #ifdef HAVE_SYS_SOCKETVAR_H
6680 # include <sys/socketvar.h>
6681 #endif
6682 #ifdef HAVE_SYS_TIMEOUT_H
6683 # include <sys/timeout.h>
6684 #endif
6685 #ifdef HAVE_NETINET_IN_H
6686 # include <netinet/in.h>
6687 #endif
6688 #ifdef HAVE_NETINET_IN_SYSTM_H
6689 # include <netinet/in_systm.h>
6690 #endif
6691 #ifdef HAVE_NETINET_IP_H
6692 # include <netinet/ip.h>
6693 #endif
6694 #ifdef HAVE_NETINET_IP_VAR_H
6695 # include <netinet/ip_var.h>
6696 #endif
6697 #ifdef HAVE_NETINET_IP_ICMP_H
6698 # include <netinet/ip_icmp.h>
6699 #endif
6700 #ifdef HAVE_NETINET_UDP_H
6701 # include <netinet/udp.h>
6702 #endif
6703 #ifdef HAVE_NETINET_TCP_H
6704 # include <netinet/tcp.h>
6705 #endif
6706 #ifdef HAVE_NETINET_TCP_TIMER_H
6707 #include <netinet/tcp_timer.h>
6708 #endif
6710 if eval test \"x\$"$as_ac_Header"\" = x"yes"; then :
6711 cat >>confdefs.h <<_ACEOF
6712 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
6713 _ACEOF
6717 done
6720 for ac_header in linux/ipx.h linux/irda.h linux/rtnetlink.h
6721 do :
6722 as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
6723 ac_fn_c_check_header_compile "$LINENO" "$ac_header" "$as_ac_Header" "#include <sys/types.h>
6724 #ifdef HAVE_ASM_TYPES_H
6725 # include <asm/types.h>
6726 #endif
6727 #ifdef HAVE_SYS_SOCKET_H
6728 # include <sys/socket.h>
6729 #endif
6730 #ifdef HAVE_LINUX_TYPES_H
6731 # include <linux/types.h>
6732 #endif
6734 if eval test \"x\$"$as_ac_Header"\" = x"yes"; then :
6735 cat >>confdefs.h <<_ACEOF
6736 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
6737 _ACEOF
6741 done
6744 for ac_header in mach-o/dyld_images.h
6745 do :
6746 ac_fn_c_check_header_compile "$LINENO" "mach-o/dyld_images.h" "ac_cv_header_mach_o_dyld_images_h" "#ifdef HAVE_STDBOOL_H
6747 # include <stdbool.h>
6748 #endif
6749 #ifdef HAVE_STDINT_H
6750 # include <stdint.h>
6751 #endif
6753 if test "x$ac_cv_header_mach_o_dyld_images_h" = xyes; then :
6754 cat >>confdefs.h <<_ACEOF
6755 #define HAVE_MACH_O_DYLD_IMAGES_H 1
6756 _ACEOF
6760 done
6763 for ac_header in resolv.h
6764 do :
6765 ac_fn_c_check_header_compile "$LINENO" "resolv.h" "ac_cv_header_resolv_h" "#include <sys/types.h>
6766 #ifdef HAVE_SYS_SOCKET_H
6767 # include <sys/socket.h>
6768 #endif
6769 #ifdef HAVE_NETINET_IN_H
6770 # include <netinet/in.h>
6771 #endif
6772 #ifdef HAVE_ARPA_NAMESER_H
6773 # include <arpa/nameser.h>
6774 #endif
6776 if test "x$ac_cv_header_resolv_h" = xyes; then :
6777 cat >>confdefs.h <<_ACEOF
6778 #define HAVE_RESOLV_H 1
6779 _ACEOF
6783 done
6786 for ac_header in ifaddrs.h
6787 do :
6788 ac_fn_c_check_header_compile "$LINENO" "ifaddrs.h" "ac_cv_header_ifaddrs_h" "#include <sys/types.h>
6790 if test "x$ac_cv_header_ifaddrs_h" = xyes; then :
6791 cat >>confdefs.h <<_ACEOF
6792 #define HAVE_IFADDRS_H 1
6793 _ACEOF
6797 done
6800 for ac_header in ucontext.h
6801 do :
6802 ac_fn_c_check_header_compile "$LINENO" "ucontext.h" "ac_cv_header_ucontext_h" "#include <signal.h>
6804 if test "x$ac_cv_header_ucontext_h" = xyes; then :
6805 cat >>confdefs.h <<_ACEOF
6806 #define HAVE_UCONTEXT_H 1
6807 _ACEOF
6811 done
6814 for ac_header in sys/thr.h
6815 do :
6816 ac_fn_c_check_header_compile "$LINENO" "sys/thr.h" "ac_cv_header_sys_thr_h" "#include <sys/types.h>
6817 #ifdef HAVE_UCONTEXT_H
6818 #include <ucontext.h>
6819 #endif
6821 if test "x$ac_cv_header_sys_thr_h" = xyes; then :
6822 cat >>confdefs.h <<_ACEOF
6823 #define HAVE_SYS_THR_H 1
6824 _ACEOF
6828 done
6831 for ac_header in pthread_np.h
6832 do :
6833 ac_fn_c_check_header_compile "$LINENO" "pthread_np.h" "ac_cv_header_pthread_np_h" "#ifdef HAVE_PTHREAD_H
6834 #include <pthread.h>
6835 #endif
6837 if test "x$ac_cv_header_pthread_np_h" = xyes; then :
6838 cat >>confdefs.h <<_ACEOF
6839 #define HAVE_PTHREAD_NP_H 1
6840 _ACEOF
6844 done
6847 for ac_header in linux/videodev.h linux/videodev2.h libv4l1.h
6848 do :
6849 as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
6850 ac_fn_c_check_header_compile "$LINENO" "$ac_header" "$as_ac_Header" "#ifdef HAVE_SYS_TIME_H
6851 #include <sys/time.h>
6852 #endif
6853 #include <sys/types.h>
6854 #ifdef HAVE_ASM_TYPES_H
6855 #include <asm/types.h>
6856 #endif
6858 if eval test \"x\$"$as_ac_Header"\" = x"yes"; then :
6859 cat >>confdefs.h <<_ACEOF
6860 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
6861 _ACEOF
6865 done
6868 for ac_header in libprocstat.h
6869 do :
6870 ac_fn_c_check_header_compile "$LINENO" "libprocstat.h" "ac_cv_header_libprocstat_h" "#ifdef HAVE_SYS_PARAM_H
6871 #include <sys/param.h>
6872 #endif
6873 #ifdef HAVE_SYS_QUEUE_H
6874 #include <sys/queue.h>
6875 #endif
6876 #ifdef HAVE_SYS_SOCKET_H
6877 #include <sys/socket.h>
6878 #endif
6880 if test "x$ac_cv_header_libprocstat_h" = xyes; then :
6881 cat >>confdefs.h <<_ACEOF
6882 #define HAVE_LIBPROCSTAT_H 1
6883 _ACEOF
6887 done
6891 dlldir="\${libdir}/wine"
6893 DLLPREFIX=""
6895 DLLFLAGS="-D_REENTRANT"
6897 LDRPATH_INSTALL=""
6899 LDRPATH_LOCAL=""
6901 LIBEXT="so"
6902 DLLEXT=".so"
6903 IMPLIBEXT="def"
6904 STATIC_IMPLIBEXT="def.a"
6905 # Extract the first word of "ldd", so it can be a program name with args.
6906 set dummy ldd; ac_word=$2
6907 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6908 $as_echo_n "checking for $ac_word... " >&6; }
6909 if ${ac_cv_path_LDD+:} false; then :
6910 $as_echo_n "(cached) " >&6
6911 else
6912 case $LDD in
6913 [\\/]* | ?:[\\/]*)
6914 ac_cv_path_LDD="$LDD" # Let the user override the test with a path.
6917 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6918 as_dummy="/sbin:/usr/sbin:$PATH"
6919 for as_dir in $as_dummy
6921 IFS=$as_save_IFS
6922 test -z "$as_dir" && as_dir=.
6923 for ac_exec_ext in '' $ac_executable_extensions; do
6924 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
6925 ac_cv_path_LDD="$as_dir/$ac_word$ac_exec_ext"
6926 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6927 break 2
6929 done
6930 done
6931 IFS=$as_save_IFS
6933 test -z "$ac_cv_path_LDD" && ac_cv_path_LDD="true"
6935 esac
6937 LDD=$ac_cv_path_LDD
6938 if test -n "$LDD"; then
6939 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $LDD" >&5
6940 $as_echo "$LDD" >&6; }
6941 else
6942 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6943 $as_echo "no" >&6; }
6947 if test -n "$ac_tool_prefix"; then
6948 # Extract the first word of "${ac_tool_prefix}readelf", so it can be a program name with args.
6949 set dummy ${ac_tool_prefix}readelf; ac_word=$2
6950 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6951 $as_echo_n "checking for $ac_word... " >&6; }
6952 if ${ac_cv_prog_READELF+:} false; then :
6953 $as_echo_n "(cached) " >&6
6954 else
6955 if test -n "$READELF"; then
6956 ac_cv_prog_READELF="$READELF" # Let the user override the test.
6957 else
6958 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6959 for as_dir in $PATH
6961 IFS=$as_save_IFS
6962 test -z "$as_dir" && as_dir=.
6963 for ac_exec_ext in '' $ac_executable_extensions; do
6964 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
6965 ac_cv_prog_READELF="${ac_tool_prefix}readelf"
6966 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6967 break 2
6969 done
6970 done
6971 IFS=$as_save_IFS
6975 READELF=$ac_cv_prog_READELF
6976 if test -n "$READELF"; then
6977 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $READELF" >&5
6978 $as_echo "$READELF" >&6; }
6979 else
6980 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6981 $as_echo "no" >&6; }
6986 if test -z "$ac_cv_prog_READELF"; then
6987 ac_ct_READELF=$READELF
6988 # Extract the first word of "readelf", so it can be a program name with args.
6989 set dummy readelf; ac_word=$2
6990 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6991 $as_echo_n "checking for $ac_word... " >&6; }
6992 if ${ac_cv_prog_ac_ct_READELF+:} false; then :
6993 $as_echo_n "(cached) " >&6
6994 else
6995 if test -n "$ac_ct_READELF"; then
6996 ac_cv_prog_ac_ct_READELF="$ac_ct_READELF" # Let the user override the test.
6997 else
6998 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6999 for as_dir in $PATH
7001 IFS=$as_save_IFS
7002 test -z "$as_dir" && as_dir=.
7003 for ac_exec_ext in '' $ac_executable_extensions; do
7004 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
7005 ac_cv_prog_ac_ct_READELF="readelf"
7006 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
7007 break 2
7009 done
7010 done
7011 IFS=$as_save_IFS
7015 ac_ct_READELF=$ac_cv_prog_ac_ct_READELF
7016 if test -n "$ac_ct_READELF"; then
7017 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_READELF" >&5
7018 $as_echo "$ac_ct_READELF" >&6; }
7019 else
7020 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7021 $as_echo "no" >&6; }
7024 if test "x$ac_ct_READELF" = x; then
7025 READELF="true"
7026 else
7027 case $cross_compiling:$ac_tool_warned in
7028 yes:)
7029 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
7030 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
7031 ac_tool_warned=yes ;;
7032 esac
7033 READELF=$ac_ct_READELF
7035 else
7036 READELF="$ac_cv_prog_READELF"
7039 wine_rules_file=conf$$rules.make
7040 rm -f $wine_rules_file
7041 ALL_POT_FILES=""
7042 GITIGNORE="# Automatically generated by configure; DO NOT EDIT!!"
7043 ALL_TEST_RESOURCES=""
7046 wine_fn_append_file ()
7048 as_fn_append $1 " \\$as_nl $2"
7051 wine_fn_ignore_file ()
7053 case "$1" in
7054 */*) as_fn_append GITIGNORE "$as_nl$1" ;;
7055 \**) as_fn_append GITIGNORE "$as_nl$1" ;;
7056 *) as_fn_append GITIGNORE "$as_nl/$1" ;;
7057 esac
7060 wine_fn_append_rule ()
7062 $as_echo "$1" >>$wine_rules_file
7065 wine_fn_has_flag ()
7067 expr ",$ac_flags," : ".*,$1,.*" >/dev/null
7070 wine_fn_depend_rules ()
7072 wine_fn_append_rule \
7073 "$ac_dir/Makefile: $srcdir/$ac_dir/Makefile.in $srcdir/Make.vars.in config.status \$(MAKEDEP)
7074 @./config.status --file $ac_dir/Makefile:Make.vars.in:$ac_dir/Makefile.in && \$(MAKEDEP) $ac_dir
7075 depend: $ac_dir/depend
7076 .PHONY: $ac_dir/depend
7077 $ac_dir/depend: \$(MAKEDEP) dummy
7078 @./config.status --file $ac_dir/Makefile:Make.vars.in:$ac_dir/Makefile.in && \$(MAKEDEP) $ac_dir"
7081 wine_fn_pot_rules ()
7083 test "x$with_gettextpo" = xyes || return
7085 if wine_fn_has_flag mc
7086 then
7087 wine_fn_append_file ALL_POT_FILES $ac_dir/msg.pot
7088 wine_fn_append_rule \
7089 "$ac_dir/msg.pot: $ac_dir/Makefile dummy
7090 @cd $ac_dir && \$(MAKE) msg.pot
7091 $ac_dir/msg.pot: tools/wmc include"
7093 if wine_fn_has_flag po
7094 then
7095 wine_fn_append_file ALL_POT_FILES $ac_dir/rsrc.pot
7096 wine_fn_append_rule \
7097 "$ac_dir/rsrc.pot: $ac_dir/Makefile dummy
7098 @cd $ac_dir && \$(MAKE) rsrc.pot
7099 $ac_dir/rsrc.pot: tools/wrc include"
7103 wine_fn_all_rules ()
7105 wine_fn_depend_rules
7106 wine_fn_append_rule \
7107 "all: $ac_dir
7108 .PHONY: $ac_dir
7109 $ac_dir: $ac_dir/Makefile dummy
7110 @cd $ac_dir && \$(MAKE)"
7113 wine_fn_install_rules ()
7115 wine_fn_has_flag install-lib || wine_fn_has_flag install-dev || return
7117 wine_fn_append_rule \
7118 ".PHONY: $ac_dir/install $ac_dir/uninstall
7119 $ac_dir/install:: $ac_dir
7120 @cd $ac_dir && \$(MAKE) install
7121 $ac_dir/uninstall:: $ac_dir/Makefile
7122 @cd $ac_dir && \$(MAKE) uninstall
7123 install:: $ac_dir/install
7124 __uninstall__: $ac_dir/uninstall"
7126 if wine_fn_has_flag install-lib
7127 then
7128 wine_fn_append_rule \
7129 ".PHONY: $ac_dir/install-lib
7130 $ac_dir/install-lib:: $ac_dir
7131 @cd $ac_dir && \$(MAKE) install-lib
7132 install-lib:: $ac_dir/install-lib"
7135 if wine_fn_has_flag install-dev
7136 then
7137 wine_fn_append_rule \
7138 ".PHONY: $ac_dir/install-dev
7139 $ac_dir/install-dev:: $ac_dir
7140 @cd $ac_dir && \$(MAKE) install-dev
7141 install-dev:: $ac_dir/install-dev"
7145 wine_fn_clean_rules ()
7147 ac_clean=$@
7148 ac_extraclean="$ac_dir/Makefile"
7149 test "$srcdir" = . && ac_extraclean="$ac_extraclean $ac_dir/.gitignore"
7150 case $ac_dir in
7151 */tests) ac_extraclean="$ac_extraclean $ac_dir/testlist.c" ;;
7152 esac
7154 if wine_fn_has_flag clean
7155 then
7156 wine_fn_append_rule \
7157 "__clean__: $ac_dir/clean
7158 .PHONY: $ac_dir/clean
7159 $ac_dir/clean: $ac_dir/Makefile
7160 @cd $ac_dir && \$(MAKE) clean
7161 \$(RM) $ac_extraclean"
7162 else
7163 wine_fn_append_rule \
7164 "__clean__: $ac_dir/clean
7165 .PHONY: $ac_dir/clean
7166 $ac_dir/clean: dummy
7167 \$(RM) \$(CLEAN_FILES:%=$ac_dir/%) $ac_clean $ac_extraclean"
7171 wine_fn_disabled_rules ()
7173 ac_clean=$@
7174 ac_extraclean="$ac_dir/Makefile"
7175 test "$srcdir" = . && ac_extraclean="$ac_extraclean $ac_dir/.gitignore"
7177 wine_fn_append_rule \
7178 "__clean__: $ac_dir/clean
7179 .PHONY: $ac_dir/clean
7180 $ac_dir/clean: dummy
7181 \$(RM) \$(CLEAN_FILES:%=$ac_dir/%) $ac_clean $ac_extraclean"
7184 wine_fn_config_makefile ()
7186 ac_dir=$1
7187 ac_enable=$2
7188 ac_flags=$3
7190 if eval test \"x\$"$ac_enable"\" = x"no"; then :
7191 wine_fn_disabled_rules; return
7193 wine_fn_all_rules
7194 wine_fn_install_rules
7195 wine_fn_clean_rules
7198 wine_fn_config_lib ()
7200 ac_name=$1
7201 ac_flags=$2
7202 ac_dir=dlls/$ac_name
7203 ac_deps="include"
7205 if test "x$enable_tools" = xno; then :
7207 else
7208 ac_deps="tools/widl tools/winebuild tools/winegcc $ac_deps"
7210 wine_fn_all_rules
7211 wine_fn_clean_rules
7213 wine_fn_append_rule \
7214 ".PHONY: $ac_dir/install $ac_dir/uninstall
7215 $ac_dir/install:: $ac_dir
7216 \$(INSTALL_DATA) $ac_dir/lib$ac_name.a \$(DESTDIR)\$(dlldir)/lib$ac_name.a
7217 $ac_dir/uninstall::
7218 \$(RM) \$(DESTDIR)\$(dlldir)/lib$ac_name.a
7219 install install-dev:: $ac_dir/install
7220 __uninstall__: $ac_dir/uninstall
7221 __builddeps__: $ac_dir
7222 $ac_dir: $ac_deps"
7225 wine_fn_config_dll ()
7227 ac_name=$1
7228 ac_dir=dlls/$ac_name
7229 ac_enable=$2
7230 ac_flags=$3
7231 ac_implib=${4:-$ac_name}
7232 ac_file=$ac_dir/lib$ac_implib
7233 ac_dll=$ac_name
7234 ac_deps="include"
7235 ac_implibflags=""
7237 if test "x$enable_tools" = xno; then :
7239 else
7240 ac_deps="tools/widl tools/winebuild tools/winegcc $ac_deps"
7242 case $ac_name in
7243 *16) ac_implibflags=" -m16" ;;
7244 *.*) ;;
7245 *) ac_dll=$ac_dll.dll ;;
7246 esac
7248 ac_clean=
7249 wine_fn_has_flag implib && ac_clean="$ac_clean $ac_file.$IMPLIBEXT"
7250 wine_fn_has_flag mc && ac_clean="$ac_clean $ac_dir/msg.pot"
7251 wine_fn_has_flag po && ac_clean="$ac_clean $ac_dir/rsrc.pot"
7252 test -n "$DLLEXT" || ac_clean="$ac_clean $ac_dir/$ac_dll"
7254 if eval test \"x\$"$ac_enable"\" = x"no"; then :
7255 if wine_fn_has_flag implib && test "$ac_enable" != enable_win16
7256 then
7257 wine_fn_depend_rules
7258 wine_fn_clean_rules $ac_clean
7259 else
7260 wine_fn_disabled_rules $ac_clean
7261 return
7263 else
7264 wine_fn_all_rules
7265 wine_fn_clean_rules $ac_clean
7266 wine_fn_append_rule \
7267 "$ac_dir: __builddeps__
7268 manpages htmlpages sgmlpages xmlpages:: $ac_dir/Makefile
7269 @cd $ac_dir && \$(MAKE) \$@
7270 .PHONY: $ac_dir/install-lib $ac_dir/uninstall
7271 install install-lib:: $ac_dir/install-lib
7272 __uninstall__: $ac_dir/uninstall"
7273 if test -n "$DLLEXT"
7274 then
7275 wine_fn_append_rule \
7276 "$ac_dir/install-lib:: $ac_dir
7277 \$(INSTALL_PROGRAM) $ac_dir/$ac_dll$DLLEXT \$(DESTDIR)\$(dlldir)/$DLLPREFIX$ac_dll$DLLEXT
7278 \$(INSTALL_DATA) $ac_dir/$ac_dll.fake \$(DESTDIR)\$(fakedlldir)/$ac_dll
7279 $ac_dir/uninstall::
7280 \$(RM) \$(DESTDIR)\$(dlldir)/$DLLPREFIX$ac_dll$DLLEXT \$(DESTDIR)\$(fakedlldir)/$ac_dll"
7281 else
7282 wine_fn_append_rule \
7283 "$ac_dir/install-lib:: $ac_dir
7284 \$(INSTALL_PROGRAM) $ac_dir/$ac_dll \$(DESTDIR)\$(dlldir)/$ac_dll
7285 $ac_dir/uninstall::
7286 \$(RM) \$(DESTDIR)\$(dlldir)/$ac_dll"
7289 wine_fn_pot_rules
7292 if wine_fn_has_flag staticimplib
7293 then
7294 wine_fn_append_rule \
7295 "__builddeps__: $ac_file.$IMPLIBEXT $ac_file.$STATIC_IMPLIBEXT
7296 $ac_file.$IMPLIBEXT $ac_file.$STATIC_IMPLIBEXT $ac_file.cross.a: $ac_deps
7297 $ac_file.def: $srcdir/$ac_dir/$ac_name.spec $ac_dir/Makefile \$(WINEBUILD)
7298 \$(WINEBUILD) \$(TARGETFLAGS)$ac_implibflags -w --def -o \$@ --export $srcdir/$ac_dir/$ac_name.spec
7299 $ac_file.$STATIC_IMPLIBEXT: $ac_dir/Makefile dummy
7300 @cd $ac_dir && \$(MAKE) lib$ac_implib.$STATIC_IMPLIBEXT
7301 .PHONY: $ac_dir/install-dev $ac_dir/uninstall
7302 $ac_dir/install-dev:: $ac_file.$IMPLIBEXT
7303 \$(INSTALL_DATA) $ac_file.$IMPLIBEXT \$(DESTDIR)\$(dlldir)/lib$ac_implib.$IMPLIBEXT
7304 $ac_dir/uninstall::
7305 \$(RM) \$(DESTDIR)\$(dlldir)/lib$ac_implib.$IMPLIBEXT
7306 install install-dev:: $ac_dir/install-dev
7307 __uninstall__: $ac_dir/uninstall"
7309 if test "$IMPLIBEXT" != "$STATIC_IMPLIBEXT"
7310 then
7311 wine_fn_append_rule \
7312 "$ac_dir/install-dev:: $ac_file.$STATIC_IMPLIBEXT __builddeps__
7313 \$(INSTALL_DATA) $ac_file.$STATIC_IMPLIBEXT \$(DESTDIR)\$(dlldir)/lib$ac_implib.$STATIC_IMPLIBEXT
7314 $ac_dir/uninstall::
7315 \$(RM) \$(DESTDIR)\$(dlldir)/lib$ac_implib.$STATIC_IMPLIBEXT"
7318 if test -n "$CROSSTARGET" -a -z "$ac_implibflags"
7319 then
7320 wine_fn_append_rule \
7321 "__builddeps__: $ac_file.cross.a
7322 $ac_file.cross.a: $ac_dir/Makefile dummy
7323 @cd $ac_dir && \$(MAKE) lib$ac_implib.cross.a"
7326 elif wine_fn_has_flag implib
7327 then
7328 wine_fn_append_rule \
7329 "__builddeps__: $ac_file.$IMPLIBEXT
7330 $ac_file.def: $srcdir/$ac_dir/$ac_name.spec $ac_dir/Makefile \$(WINEBUILD)
7331 \$(WINEBUILD) \$(TARGETFLAGS)$ac_implibflags -w --def -o \$@ --export $srcdir/$ac_dir/$ac_name.spec
7332 $ac_file.a: $srcdir/$ac_dir/$ac_name.spec $ac_dir/Makefile \$(WINEBUILD)
7333 \$(WINEBUILD) \$(TARGETFLAGS)$ac_implibflags -w --implib -o \$@ --export $srcdir/$ac_dir/$ac_name.spec
7334 .PHONY: $ac_dir/install-dev $ac_dir/uninstall
7335 $ac_dir/install-dev:: $ac_file.$IMPLIBEXT
7336 \$(INSTALL_DATA) $ac_file.$IMPLIBEXT \$(DESTDIR)\$(dlldir)/lib$ac_implib.$IMPLIBEXT
7337 $ac_dir/uninstall::
7338 \$(RM) \$(DESTDIR)\$(dlldir)/lib$ac_implib.$IMPLIBEXT
7339 install install-dev:: $ac_dir/install-dev
7340 __uninstall__: $ac_dir/uninstall"
7341 if test -n "$CROSSTARGET" -a -z "$ac_implibflags"
7342 then
7343 wine_fn_append_rule \
7344 "__builddeps__: $ac_file.cross.a
7345 $ac_file.cross.a: $srcdir/$ac_dir/$ac_name.spec $ac_dir/Makefile \$(WINEBUILD)
7346 \$(WINEBUILD) \$(CROSSTARGET:%=-b %)$ac_implibflags -w --implib -o \$@ --export $srcdir/$ac_dir/$ac_name.spec"
7349 if test "$ac_name" != "$ac_implib"
7350 then
7351 wine_fn_append_rule \
7352 "__builddeps__: dlls/lib$ac_implib.$IMPLIBEXT
7353 dlls/lib$ac_implib.$IMPLIBEXT: $ac_file.$IMPLIBEXT
7354 \$(RM) \$@ && \$(LN_S) $ac_name/lib$ac_implib.$IMPLIBEXT \$@
7355 clean::
7356 \$(RM) dlls/lib$ac_implib.$IMPLIBEXT"
7357 wine_fn_ignore_file "dlls/lib$ac_implib.$IMPLIBEXT"
7358 if test -n "$CROSSTARGET" -a -z "$ac_implibflags"
7359 then
7360 wine_fn_append_rule \
7361 "__builddeps__: dlls/lib$ac_implib.cross.a
7362 dlls/lib$ac_implib.cross.a: $ac_file.cross.a
7363 \$(RM) \$@ && \$(LN_S) $ac_name/lib$ac_implib.cross.a \$@
7364 clean::
7365 \$(RM) dlls/lib$ac_implib.cross.a"
7366 wine_fn_ignore_file "dlls/lib$ac_implib.cross.a"
7372 wine_fn_config_program ()
7374 ac_name=$1
7375 ac_dir=programs/$ac_name
7376 ac_enable=$2
7377 ac_flags=$3
7378 ac_program=$ac_name
7380 case $ac_name in
7381 *.*) ;;
7382 *) ac_program=$ac_program.exe ;;
7383 esac
7385 ac_clean=
7386 wine_fn_has_flag mc && ac_clean="$ac_clean $ac_dir/msg.pot"
7387 wine_fn_has_flag po && ac_clean="$ac_clean $ac_dir/rsrc.pot"
7388 wine_fn_has_flag manpage && ac_clean="$ac_clean $ac_dir/$ac_name.man"
7389 test -n "$DLLEXT" || ac_clean="$ac_clean $ac_dir/$ac_program"
7391 if eval test \"x\$"$ac_enable"\" = x"no"; then :
7392 wine_fn_disabled_rules $ac_clean; return
7395 wine_fn_all_rules
7396 wine_fn_clean_rules $ac_clean
7397 wine_fn_append_rule "$ac_dir: __builddeps__"
7398 wine_fn_pot_rules
7400 wine_fn_has_flag install || return
7401 wine_fn_append_rule \
7402 ".PHONY: $ac_dir/install $ac_dir/uninstall
7403 install install-lib:: $ac_dir/install
7404 __uninstall__: $ac_dir/uninstall"
7406 if test -n "$DLLEXT"
7407 then
7408 wine_fn_append_rule \
7409 "$ac_dir/install:: $ac_dir
7410 \$(INSTALL_PROGRAM) $ac_dir/$ac_program$DLLEXT \$(DESTDIR)\$(dlldir)/$DLLPREFIX$ac_program$DLLEXT
7411 \$(INSTALL_DATA) $ac_dir/$ac_program.fake \$(DESTDIR)\$(fakedlldir)/$ac_program
7412 $ac_dir/uninstall::
7413 \$(RM) \$(DESTDIR)\$(dlldir)/$DLLPREFIX$ac_program$DLLEXT \$(DESTDIR)\$(fakedlldir)/$ac_program"
7415 if test -z "$with_wine64" && wine_fn_has_flag installbin
7416 then
7417 wine_fn_append_rule \
7418 "$ac_dir/install:: __tooldeps__
7419 \$(INSTALL_SCRIPT) \$(TOOLSDIR)/tools/wineapploader \$(DESTDIR)\$(bindir)/$ac_name
7420 $ac_dir/uninstall::
7421 \$(RM) \$(DESTDIR)\$(bindir)/$ac_name"
7423 else
7424 wine_fn_append_rule \
7425 "$ac_dir/install:: $ac_dir
7426 \$(INSTALL_PROGRAM) $ac_dir/$ac_program \$(DESTDIR)\$(bindir)/$ac_program
7427 $ac_dir/uninstall::
7428 \$(RM) \$(DESTDIR)\$(bindir)/$ac_program"
7431 if test -z "$with_wine64" && wine_fn_has_flag manpage
7432 then
7433 wine_fn_append_rule \
7434 "$ac_dir/install:: $ac_dir
7435 \$(INSTALL_DATA) $ac_dir/$ac_name.man \$(DESTDIR)\$(mandir)/man\$(prog_manext)/$ac_name.\$(prog_manext)
7436 $ac_dir/uninstall::
7437 \$(RM) \$(DESTDIR)\$(mandir)/man\$(prog_manext)/$ac_name.\$(prog_manext)"
7441 wine_fn_config_test ()
7443 ac_dir=$1
7444 ac_name=$2
7445 ac_flags=$3
7447 ac_clean=
7448 test -n "$CROSSTARGET" && ac_clean=`expr $ac_dir/${ac_name} : "\\(.*\\)_test"`_crosstest.exe
7449 test -n "$DLLEXT" || ac_clean="$ac_dir/${ac_name}.exe $ac_dir/${ac_name}-stripped.exe"
7451 if test "x$enable_tests" = xno; then :
7452 wine_fn_disabled_rules $ac_clean; return
7455 wine_fn_append_file ALL_TEST_RESOURCES $ac_name.res
7456 wine_fn_all_rules
7457 wine_fn_clean_rules $ac_clean
7459 wine_fn_append_rule \
7460 "$ac_dir: programs/winetest/Makefile __builddeps__
7461 programs/winetest: $ac_dir
7462 check test: $ac_dir/test
7463 .PHONY: $ac_dir/test
7464 $ac_dir/test: dummy
7465 @cd $ac_dir && \$(MAKE) test
7466 testclean::
7467 \$(RM) $ac_dir/*.ok"
7469 if test -n "$CROSSTARGET"
7470 then
7471 wine_fn_append_rule \
7472 "crosstest: $ac_dir/crosstest
7473 .PHONY: $ac_dir/crosstest
7474 $ac_dir/crosstest: $ac_dir/Makefile __builddeps__ dummy
7475 @cd $ac_dir && \$(MAKE) crosstest"
7479 wine_fn_config_tool ()
7481 ac_dir=$1
7482 ac_flags=$2
7483 if test "x$enable_tools" = xno; then :
7484 return
7487 wine_fn_all_rules
7488 wine_fn_install_rules
7489 wine_fn_clean_rules
7491 wine_fn_append_rule "__tooldeps__: $ac_dir"
7492 wine_fn_append_rule "$ac_dir: libs/port"
7493 case $ac_dir in
7494 tools/winebuild) wine_fn_append_rule "\$(WINEBUILD): $ac_dir" ;;
7495 esac
7498 wine_fn_config_symlink ()
7500 ac_linkdir=
7501 if test "x$1" = "x-d"
7502 then
7503 ac_linkdir=$2
7504 shift; shift
7506 ac_links=$@
7507 wine_fn_append_rule \
7508 "$ac_links:
7509 @./config.status \$@
7510 distclean::
7511 \$(RM) $ac_links"
7512 for f in $ac_links; do wine_fn_ignore_file $f; done
7513 test -n "$ac_linkdir" || return
7514 wine_fn_append_rule "$ac_linkdir/Makefile $ac_linkdir/depend: $ac_links"
7517 wine_binary="wine"
7518 test "x$enable_win64" != "xyes" || wine_binary="wine64"
7519 loader_programs="$wine_binary wine-installed"
7520 libwine_soversion=`expr $libwine_version : '\([0-9]*\)\..*'`
7522 LOADER_RULES="
7523 install install-lib:: wine-installed
7524 \$(INSTALL_PROGRAM) wine-installed \$(DESTDIR)\$(bindir)/$wine_binary
7526 uninstall::
7527 \$(RM) \$(DESTDIR)\$(bindir)/$wine_binary
7531 case $host_os in
7532 cygwin*|mingw32*)
7533 if test -n "$ac_tool_prefix"; then
7534 # Extract the first word of "${ac_tool_prefix}dlltool", so it can be a program name with args.
7535 set dummy ${ac_tool_prefix}dlltool; ac_word=$2
7536 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7537 $as_echo_n "checking for $ac_word... " >&6; }
7538 if ${ac_cv_prog_DLLTOOL+:} false; then :
7539 $as_echo_n "(cached) " >&6
7540 else
7541 if test -n "$DLLTOOL"; then
7542 ac_cv_prog_DLLTOOL="$DLLTOOL" # Let the user override the test.
7543 else
7544 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7545 for as_dir in $PATH
7547 IFS=$as_save_IFS
7548 test -z "$as_dir" && as_dir=.
7549 for ac_exec_ext in '' $ac_executable_extensions; do
7550 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
7551 ac_cv_prog_DLLTOOL="${ac_tool_prefix}dlltool"
7552 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
7553 break 2
7555 done
7556 done
7557 IFS=$as_save_IFS
7561 DLLTOOL=$ac_cv_prog_DLLTOOL
7562 if test -n "$DLLTOOL"; then
7563 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $DLLTOOL" >&5
7564 $as_echo "$DLLTOOL" >&6; }
7565 else
7566 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7567 $as_echo "no" >&6; }
7572 if test -z "$ac_cv_prog_DLLTOOL"; then
7573 ac_ct_DLLTOOL=$DLLTOOL
7574 # Extract the first word of "dlltool", so it can be a program name with args.
7575 set dummy dlltool; ac_word=$2
7576 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7577 $as_echo_n "checking for $ac_word... " >&6; }
7578 if ${ac_cv_prog_ac_ct_DLLTOOL+:} false; then :
7579 $as_echo_n "(cached) " >&6
7580 else
7581 if test -n "$ac_ct_DLLTOOL"; then
7582 ac_cv_prog_ac_ct_DLLTOOL="$ac_ct_DLLTOOL" # Let the user override the test.
7583 else
7584 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7585 for as_dir in $PATH
7587 IFS=$as_save_IFS
7588 test -z "$as_dir" && as_dir=.
7589 for ac_exec_ext in '' $ac_executable_extensions; do
7590 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
7591 ac_cv_prog_ac_ct_DLLTOOL="dlltool"
7592 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
7593 break 2
7595 done
7596 done
7597 IFS=$as_save_IFS
7601 ac_ct_DLLTOOL=$ac_cv_prog_ac_ct_DLLTOOL
7602 if test -n "$ac_ct_DLLTOOL"; then
7603 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_DLLTOOL" >&5
7604 $as_echo "$ac_ct_DLLTOOL" >&6; }
7605 else
7606 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7607 $as_echo "no" >&6; }
7610 if test "x$ac_ct_DLLTOOL" = x; then
7611 DLLTOOL="false"
7612 else
7613 case $cross_compiling:$ac_tool_warned in
7614 yes:)
7615 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
7616 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
7617 ac_tool_warned=yes ;;
7618 esac
7619 DLLTOOL=$ac_ct_DLLTOOL
7621 else
7622 DLLTOOL="$ac_cv_prog_DLLTOOL"
7625 LIBEXT="dll"
7626 DLLEXT=""
7627 IMPLIBEXT="a"
7628 STATIC_IMPLIBEXT="a"
7629 enable_iphlpapi=${enable_iphlpapi:-no}
7630 enable_kernel32=${enable_kernel32:-no}
7631 enable_msvcrt=${enable_msvcrt:-no}
7632 enable_ntdll=${enable_ntdll:-no}
7633 enable_ws2_32=${enable_ws2_32:-no}
7634 enable_loader=${enable_loader:-no}
7635 enable_server=${enable_server:-no}
7636 with_x=${with_x:-no}
7637 with_pthread=${with_pthread:-no}
7639 crtlibs=""
7640 case $host_os in
7641 mingw32*)
7642 crtlibs="-lmsvcrt"
7643 SOCKET_LIBS="-L\$(top_builddir)/dlls/ws2_32 -lws2_32"
7645 esac
7647 libwine_targets="libwine.dll libwine.a"
7648 LIBWINE_RULES="
7649 OBJS = \$(C_SRCS:.c=.o) \$(EXTRA_OBJS)
7651 all: libwine.dll libwine.a
7653 libwine.a: \$(srcdir)/wine.def
7654 \$(DLLTOOL) -l \$@ -d \$(srcdir)/wine.def
7656 libwine.dll: \$(OBJS) \$(srcdir)/wine.def
7657 \$(CC) -shared \$(srcdir)/wine.def -o \$@ \$(OBJS) $crtlibs \$(EXTRALIBS)
7659 install install-lib:: libwine.dll
7660 \$(INSTALL_DATA) libwine.dll \$(DESTDIR)\$(libdir)/libwine.dll
7662 install install-dev:: libwine.a
7663 \$(INSTALL_DATA) libwine.a \$(DESTDIR)\$(libdir)/libwine.a
7665 uninstall::
7666 -cd \$(DESTDIR)\$(libdir) && \$(RM) libwine.a libwine.dll
7671 darwin*|macosx*)
7672 LIBEXT="dylib"
7673 DLLFLAGS="$DLLFLAGS -fPIC"
7674 LIBWINE_LDFLAGS="-multiply_defined suppress"
7675 LDRPATH_INSTALL="-Wl,-rpath,@loader_path/\`\$(MAKEDEP) -R \$(bindir) \$(libdir)\`"
7676 LDRPATH_LOCAL="-Wl,-rpath,@loader_path/\$(top_builddir)/libs/wine"
7677 COREFOUNDATION_LIBS="-framework CoreFoundation"
7679 IOKIT_LIBS="-framework IOKit -framework CoreFoundation"
7681 FORCEFEEDBACK_LIBS="-framework ForceFeedback -framework CoreFoundation"
7683 APPLICATIONSERVICES_LIBS="-framework ApplicationServices"
7685 CORESERVICES_LIBS="-framework CoreServices"
7687 APPKIT_LIBS="-framework AppKit"
7689 LDEXECFLAGS="-image_base 0x7bf00000 -Wl,-segaddr,WINE_DOS,0x00001000,-segaddr,WINE_SHAREDHEAP,0x7f000000,-sectcreate,__TEXT,__info_plist,wine_info.plist"
7690 case $host_os in
7691 darwin11*) LDEXECFLAGS="-Wl,-macosx_version_min,10.6 $LDEXECFLAGS" ;;
7692 esac
7693 if test "$ac_cv_header_DiskArbitration_DiskArbitration_h" = "yes"
7694 then
7695 DISKARBITRATION_LIBS="-framework DiskArbitration -framework CoreFoundation"
7698 if test "$ac_cv_header_Security_Security_h" = "yes"
7699 then
7700 SECURITY_LIBS="-framework Security -framework CoreFoundation"
7702 ac_save_LIBS="$LIBS"
7703 LIBS="$LIBS $SECURITY_LIBS"
7704 for ac_func in SSLCopyPeerCertificates
7705 do :
7706 ac_fn_c_check_func "$LINENO" "SSLCopyPeerCertificates" "ac_cv_func_SSLCopyPeerCertificates"
7707 if test "x$ac_cv_func_SSLCopyPeerCertificates" = xyes; then :
7708 cat >>confdefs.h <<_ACEOF
7709 #define HAVE_SSLCOPYPEERCERTIFICATES 1
7710 _ACEOF
7713 done
7715 LIBS="$ac_save_LIBS"
7716 with_gnutls=${with_gnutls:-no}
7718 if test "$ac_cv_header_CoreAudio_CoreAudio_h" = "yes" -a "$ac_cv_header_AudioUnit_AudioUnit_h" = "yes"
7719 then
7720 if test "$ac_cv_header_AudioUnit_AudioComponent_h" = "yes"
7721 then
7722 COREAUDIO_LIBS="-framework CoreFoundation -framework CoreAudio -framework AudioUnit -framework AudioToolbox -framework CoreMIDI"
7724 else
7725 COREAUDIO_LIBS="-framework CoreAudio -framework AudioUnit -framework CoreServices -framework AudioToolbox -framework CoreMIDI"
7728 ac_save_LIBS="$LIBS"
7729 LIBS="$LIBS $COREAUDIO_LIBS"
7730 for ac_func in AUGraphAddNode
7731 do :
7732 ac_fn_c_check_func "$LINENO" "AUGraphAddNode" "ac_cv_func_AUGraphAddNode"
7733 if test "x$ac_cv_func_AUGraphAddNode" = xyes; then :
7734 cat >>confdefs.h <<_ACEOF
7735 #define HAVE_AUGRAPHADDNODE 1
7736 _ACEOF
7739 done
7741 LIBS="$ac_save_LIBS"
7743 if test "$ac_cv_header_OpenAL_al_h" = "yes"
7744 then
7745 OPENAL_LIBS="-framework OpenAL"
7748 cat >>confdefs.h <<_ACEOF
7749 #define HAVE_OPENAL 1
7750 _ACEOF
7752 ac_cv_lib_openal=yes
7754 if test "$ac_cv_header_OpenCL_opencl_h" = "yes"
7755 then
7756 OPENCL_LIBS="-framework OpenCL"
7758 ac_cv_lib_OpenCL_clGetPlatformInfo=yes
7760 if test "$ac_cv_header_IOKit_hid_IOHIDLib_h" = "yes"
7761 then
7762 ac_save_LIBS="$LIBS"
7763 LIBS="$LIBS $IOKIT_LIBS"
7764 for ac_func in IOHIDManagerCreate
7765 do :
7766 ac_fn_c_check_func "$LINENO" "IOHIDManagerCreate" "ac_cv_func_IOHIDManagerCreate"
7767 if test "x$ac_cv_func_IOHIDManagerCreate" = xyes; then :
7768 cat >>confdefs.h <<_ACEOF
7769 #define HAVE_IOHIDMANAGERCREATE 1
7770 _ACEOF
7773 done
7775 LIBS="$ac_save_LIBS"
7777 if test "$ac_cv_header_QuickTime_ImageCompression_h" = "yes"
7778 then
7779 QUICKTIME_LIBS="-framework QuickTime -framework ApplicationServices -framework CoreVideo"
7781 enable_wineqtdecoder=${enable_wineqtdecoder:-yes}
7782 else
7783 as_fn_append wine_notices "|QuickTime ${notice_platform}development files not found, video decoding won't be supported."
7785 if test "$ac_cv_header_Carbon_Carbon_h" = "yes"
7786 then
7787 CARBON_LIBS="-framework Carbon"
7791 if test "$ac_cv_header_ApplicationServices_ApplicationServices_h" = "yes"
7792 then
7793 ac_save_LIBS="$LIBS"
7794 LIBS="$LIBS $APPLICATIONSERVICES_LIBS"
7795 ac_fn_c_check_func "$LINENO" "CGDisplayModeGetWidth" "ac_cv_func_CGDisplayModeGetWidth"
7796 if test "x$ac_cv_func_CGDisplayModeGetWidth" = xyes; then :
7797 enable_winemac_drv=${enable_winemac_drv:-yes}
7800 LIBS="$ac_save_LIBS"
7803 if test "x$enable_win16" = "xyes"
7804 then
7805 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether 16-bit code can be built correctly" >&5
7806 $as_echo_n "checking whether 16-bit code can be built correctly... " >&6; }
7807 if test "$cross_compiling" = yes; then :
7808 { $as_echo "$as_me:${as_lineno-$LINENO}: result: cross-compiling, assuming yes" >&5
7809 $as_echo "cross-compiling, assuming yes" >&6; }
7810 else
7811 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
7812 /* end confdefs.h. */
7813 asm(".text\n"
7814 "bad:\tnop;nop\n"
7815 "good:\tnop;nop\n\t"
7816 ".globl _testfunc\n"
7817 "_testfunc:\tcallw good");
7818 extern void testfunc();
7820 main ()
7822 unsigned short *p = (unsigned short *)testfunc;
7823 return p[0] != 0xe866 || p[1] != 0xfffa
7825 return 0;
7827 _ACEOF
7828 if ac_fn_c_try_run "$LINENO"; then :
7829 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
7830 $as_echo "yes" >&6; }
7831 else
7832 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7833 $as_echo "no" >&6; }
7834 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
7836 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \
7837 conftest.$ac_objext conftest.beam conftest.$ac_ext
7842 libwine_targets="libwine.dylib libwine.$libwine_soversion.dylib libwine.$libwine_version.dylib"
7843 LIBWINE_RULES="
7844 OBJS = \$(C_SRCS:.c=.o) \$(EXTRA_OBJS)
7846 all: libwine.dylib
7848 libwine.$libwine_version.dylib: \$(OBJS)
7849 \$(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 \$@
7851 libwine.$libwine_soversion.dylib: libwine.$libwine_version.dylib
7852 \$(RM) \$@ && \$(LN_S) libwine.$libwine_version.dylib \$@
7854 libwine.dylib: libwine.$libwine_soversion.dylib
7855 \$(RM) \$@ && \$(LN_S) libwine.$libwine_soversion.dylib \$@
7857 install install-lib:: libwine.$libwine_version.dylib
7858 \$(INSTALL_PROGRAM) libwine.$libwine_version.dylib \$(DESTDIR)\$(libdir)/libwine.$libwine_version.dylib
7859 cd \$(DESTDIR)\$(libdir) && \$(RM) libwine.$libwine_soversion.dylib && \$(LN_S) libwine.$libwine_version.dylib libwine.$libwine_soversion.dylib
7861 install install-dev::
7862 cd \$(DESTDIR)\$(libdir) && \$(RM) libwine.dylib && \$(LN_S) libwine.$libwine_version.dylib libwine.dylib
7864 uninstall::
7865 -cd \$(DESTDIR)\$(libdir) && \$(RM) libwine.dylib libwine.$libwine_soversion.dylib libwine.$libwine_version.dylib
7869 as_fn_append LOADER_RULES "
7870 $wine_binary: main.o wine_info.plist
7871 \$(CC) -o \$@ $LDEXECFLAGS main.o \$(LIBWINE) \$(LIBPORT) \$(EXTRALIBS) \$(LDFLAGS) \$(LDRPATH_LOCAL)
7873 wine-installed: main.o wine_info.plist
7874 \$(CC) -o \$@ $LDEXECFLAGS main.o \$(LIBWINE) \$(LIBPORT) \$(EXTRALIBS) \$(LDFLAGS) \$(LDRPATH_INSTALL)
7878 linux-android*)
7879 DLLFLAGS="$DLLFLAGS -fPIC"
7880 DLLPREFIX="lib"
7881 LDEXECFLAGS=""
7882 dlldir="\${libdir}"
7883 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -fPIC -Wl,--export-dynamic" >&5
7884 $as_echo_n "checking whether the compiler supports -fPIC -Wl,--export-dynamic... " >&6; }
7885 if ${ac_cv_cflags__fPIC__Wl___export_dynamic+:} false; then :
7886 $as_echo_n "(cached) " >&6
7887 else
7888 ac_wine_try_cflags_saved=$CFLAGS
7889 CFLAGS="$CFLAGS -fPIC -Wl,--export-dynamic"
7890 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
7891 /* end confdefs.h. */
7892 int main(int argc, char **argv) { return 0; }
7893 _ACEOF
7894 if ac_fn_c_try_link "$LINENO"; then :
7895 ac_cv_cflags__fPIC__Wl___export_dynamic=yes
7896 else
7897 ac_cv_cflags__fPIC__Wl___export_dynamic=no
7899 rm -f core conftest.err conftest.$ac_objext \
7900 conftest$ac_exeext conftest.$ac_ext
7901 CFLAGS=$ac_wine_try_cflags_saved
7903 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__fPIC__Wl___export_dynamic" >&5
7904 $as_echo "$ac_cv_cflags__fPIC__Wl___export_dynamic" >&6; }
7905 if test "x$ac_cv_cflags__fPIC__Wl___export_dynamic" = xyes; then :
7906 LDEXECFLAGS="-Wl,--export-dynamic"
7908 as_ac_var=`$as_echo "ac_cv_cflags_-fPIC -Wl,--rpath,\\$ORIGIN/../lib" | $as_tr_sh`
7909 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -fPIC -Wl,--rpath,\$ORIGIN/../lib" >&5
7910 $as_echo_n "checking whether the compiler supports -fPIC -Wl,--rpath,\$ORIGIN/../lib... " >&6; }
7911 if eval \${$as_ac_var+:} false; then :
7912 $as_echo_n "(cached) " >&6
7913 else
7914 ac_wine_try_cflags_saved=$CFLAGS
7915 CFLAGS="$CFLAGS -fPIC -Wl,--rpath,\$ORIGIN/../lib"
7916 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
7917 /* end confdefs.h. */
7918 int main(int argc, char **argv) { return 0; }
7919 _ACEOF
7920 if ac_fn_c_try_link "$LINENO"; then :
7921 eval "$as_ac_var=yes"
7922 else
7923 eval "$as_ac_var=no"
7925 rm -f core conftest.err conftest.$ac_objext \
7926 conftest$ac_exeext conftest.$ac_ext
7927 CFLAGS=$ac_wine_try_cflags_saved
7929 eval ac_res=\$$as_ac_var
7930 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
7931 $as_echo "$ac_res" >&6; }
7932 if eval test \"x\$"$as_ac_var"\" = x"yes"; then :
7933 LDRPATH_INSTALL="-Wl,--rpath,\\\$\$ORIGIN/\`\$(MAKEDEP) -R \$(bindir) \$(libdir)\`"
7934 LDRPATH_LOCAL="-Wl,--rpath,\\\$\$ORIGIN/\$(top_builddir)/libs/wine"
7935 else
7936 as_ac_var=`$as_echo "ac_cv_cflags_-fPIC -Wl,-R,\\$ORIGIN/../lib" | $as_tr_sh`
7937 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -fPIC -Wl,-R,\$ORIGIN/../lib" >&5
7938 $as_echo_n "checking whether the compiler supports -fPIC -Wl,-R,\$ORIGIN/../lib... " >&6; }
7939 if eval \${$as_ac_var+:} false; then :
7940 $as_echo_n "(cached) " >&6
7941 else
7942 ac_wine_try_cflags_saved=$CFLAGS
7943 CFLAGS="$CFLAGS -fPIC -Wl,-R,\$ORIGIN/../lib"
7944 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
7945 /* end confdefs.h. */
7946 int main(int argc, char **argv) { return 0; }
7947 _ACEOF
7948 if ac_fn_c_try_link "$LINENO"; then :
7949 eval "$as_ac_var=yes"
7950 else
7951 eval "$as_ac_var=no"
7953 rm -f core conftest.err conftest.$ac_objext \
7954 conftest$ac_exeext conftest.$ac_ext
7955 CFLAGS=$ac_wine_try_cflags_saved
7957 eval ac_res=\$$as_ac_var
7958 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
7959 $as_echo "$ac_res" >&6; }
7960 if eval test \"x\$"$as_ac_var"\" = x"yes"; then :
7961 LDRPATH_INSTALL="-Wl,-R,\\\$\$ORIGIN/\`\$(MAKEDEP) -R \$(bindir) \$(libdir)\`"
7962 LDRPATH_LOCAL="-Wl,-R,\\\$\$ORIGIN/\$(top_builddir)/libs/wine"
7966 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wl,--enable-new-dtags" >&5
7967 $as_echo_n "checking whether the compiler supports -Wl,--enable-new-dtags... " >&6; }
7968 if ${ac_cv_cflags__Wl___enable_new_dtags+:} false; then :
7969 $as_echo_n "(cached) " >&6
7970 else
7971 ac_wine_try_cflags_saved=$CFLAGS
7972 CFLAGS="$CFLAGS -Wl,--enable-new-dtags"
7973 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
7974 /* end confdefs.h. */
7975 int main(int argc, char **argv) { return 0; }
7976 _ACEOF
7977 if ac_fn_c_try_link "$LINENO"; then :
7978 ac_cv_cflags__Wl___enable_new_dtags=yes
7979 else
7980 ac_cv_cflags__Wl___enable_new_dtags=no
7982 rm -f core conftest.err conftest.$ac_objext \
7983 conftest$ac_exeext conftest.$ac_ext
7984 CFLAGS=$ac_wine_try_cflags_saved
7986 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wl___enable_new_dtags" >&5
7987 $as_echo "$ac_cv_cflags__Wl___enable_new_dtags" >&6; }
7988 if test "x$ac_cv_cflags__Wl___enable_new_dtags" = xyes; then :
7989 LDRPATH_INSTALL="$LDRPATH_INSTALL -Wl,--enable-new-dtags"
7992 case $host_cpu in
7993 *i[3456789]86* | x86_64)
7994 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wl,--section-start,.interp=0x7bf00400" >&5
7995 $as_echo_n "checking whether the compiler supports -Wl,--section-start,.interp=0x7bf00400... " >&6; }
7996 if ${ac_cv_cflags__Wl___section_start__interp_0x7bf00400+:} false; then :
7997 $as_echo_n "(cached) " >&6
7998 else
7999 ac_wine_try_cflags_saved=$CFLAGS
8000 CFLAGS="$CFLAGS -Wl,--section-start,.interp=0x7bf00400"
8001 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
8002 /* end confdefs.h. */
8003 int main(int argc, char **argv) { return 0; }
8004 _ACEOF
8005 if ac_fn_c_try_link "$LINENO"; then :
8006 ac_cv_cflags__Wl___section_start__interp_0x7bf00400=yes
8007 else
8008 ac_cv_cflags__Wl___section_start__interp_0x7bf00400=no
8010 rm -f core conftest.err conftest.$ac_objext \
8011 conftest$ac_exeext conftest.$ac_ext
8012 CFLAGS=$ac_wine_try_cflags_saved
8014 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wl___section_start__interp_0x7bf00400" >&5
8015 $as_echo "$ac_cv_cflags__Wl___section_start__interp_0x7bf00400" >&6; }
8016 if test "x$ac_cv_cflags__Wl___section_start__interp_0x7bf00400" = xyes; then :
8017 LDEXECFLAGS="$LDEXECFLAGS -Wl,--section-start,.interp=0x7bf00400"
8020 esac
8022 libwine_targets="libwine.so"
8023 LIBWINE_RULES="
8024 OBJS = \$(C_SRCS:.c=.o) \$(EXTRA_OBJS)
8026 all: libwine.so
8028 libwine.so: \$(OBJS)
8029 \$(CC) -shared \$(OBJS) \$(EXTRALIBS) \$(LDFLAGS) \$(LIBS) -o \$@
8031 install install-lib:: libwine.so
8032 \$(INSTALL_PROGRAM) libwine.so \$(DESTDIR)\$(libdir)/libwine.so
8034 uninstall::
8035 \$(RM) \$(DESTDIR)\$(libdir)/libwine.so
8039 as_fn_append LOADER_RULES "
8040 $wine_binary: main.o
8041 \$(CC) -o \$@ $LDEXECFLAGS main.o \$(LIBWINE) \$(LIBPORT) \$(EXTRALIBS) \$(LDFLAGS) \$(LDRPATH_LOCAL)
8043 wine-installed: main.o
8044 \$(CC) -o \$@ $LDEXECFLAGS main.o \$(LIBWINE) \$(LIBPORT) \$(EXTRALIBS) \$(LDFLAGS) \$(LDRPATH_INSTALL)
8049 DLLFLAGS="$DLLFLAGS -fPIC"
8050 LDEXECFLAGS=""
8051 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we can build a GNU style ELF dll" >&5
8052 $as_echo_n "checking whether we can build a GNU style ELF dll... " >&6; }
8053 if ${ac_cv_c_dll_gnuelf+:} false; then :
8054 $as_echo_n "(cached) " >&6
8055 else
8056 ac_wine_try_cflags_saved=$CFLAGS
8057 CFLAGS="$CFLAGS -fPIC -shared -Wl,-Bsymbolic"
8058 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
8059 /* end confdefs.h. */
8060 void myfunc() {}
8061 _ACEOF
8062 if ac_fn_c_try_link "$LINENO"; then :
8063 ac_cv_c_dll_gnuelf="yes"
8064 else
8065 ac_cv_c_dll_gnuelf="no"
8067 rm -f core conftest.err conftest.$ac_objext \
8068 conftest$ac_exeext conftest.$ac_ext
8069 CFLAGS=$ac_wine_try_cflags_saved
8071 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_dll_gnuelf" >&5
8072 $as_echo "$ac_cv_c_dll_gnuelf" >&6; }
8073 if test "$ac_cv_c_dll_gnuelf" = "yes"
8074 then
8075 LDSHARED="\$(CC) -shared"
8076 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -fPIC -shared -Wl,-soname,confest.so.1" >&5
8077 $as_echo_n "checking whether the compiler supports -fPIC -shared -Wl,-soname,confest.so.1... " >&6; }
8078 if ${ac_cv_cflags__fPIC__shared__Wl__soname_confest_so_1+:} false; then :
8079 $as_echo_n "(cached) " >&6
8080 else
8081 ac_wine_try_cflags_saved=$CFLAGS
8082 CFLAGS="$CFLAGS -fPIC -shared -Wl,-soname,confest.so.1"
8083 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
8084 /* end confdefs.h. */
8085 int main(int argc, char **argv) { return 0; }
8086 _ACEOF
8087 if ac_fn_c_try_link "$LINENO"; then :
8088 ac_cv_cflags__fPIC__shared__Wl__soname_confest_so_1=yes
8089 else
8090 ac_cv_cflags__fPIC__shared__Wl__soname_confest_so_1=no
8092 rm -f core conftest.err conftest.$ac_objext \
8093 conftest$ac_exeext conftest.$ac_ext
8094 CFLAGS=$ac_wine_try_cflags_saved
8096 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__fPIC__shared__Wl__soname_confest_so_1" >&5
8097 $as_echo "$ac_cv_cflags__fPIC__shared__Wl__soname_confest_so_1" >&6; }
8098 if test "x$ac_cv_cflags__fPIC__shared__Wl__soname_confest_so_1" = xyes; then :
8099 LDSHARED="\$(CC) -shared -Wl,-soname,libwine.so.$libwine_soversion"
8100 else
8101 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -fPIC -shared -Wl,-h,confest.so.1" >&5
8102 $as_echo_n "checking whether the compiler supports -fPIC -shared -Wl,-h,confest.so.1... " >&6; }
8103 if ${ac_cv_cflags__fPIC__shared__Wl__h_confest_so_1+:} false; then :
8104 $as_echo_n "(cached) " >&6
8105 else
8106 ac_wine_try_cflags_saved=$CFLAGS
8107 CFLAGS="$CFLAGS -fPIC -shared -Wl,-h,confest.so.1"
8108 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
8109 /* end confdefs.h. */
8110 int main(int argc, char **argv) { return 0; }
8111 _ACEOF
8112 if ac_fn_c_try_link "$LINENO"; then :
8113 ac_cv_cflags__fPIC__shared__Wl__h_confest_so_1=yes
8114 else
8115 ac_cv_cflags__fPIC__shared__Wl__h_confest_so_1=no
8117 rm -f core conftest.err conftest.$ac_objext \
8118 conftest$ac_exeext conftest.$ac_ext
8119 CFLAGS=$ac_wine_try_cflags_saved
8121 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__fPIC__shared__Wl__h_confest_so_1" >&5
8122 $as_echo "$ac_cv_cflags__fPIC__shared__Wl__h_confest_so_1" >&6; }
8123 if test "x$ac_cv_cflags__fPIC__shared__Wl__h_confest_so_1" = xyes; then :
8124 LDSHARED="\$(CC) -shared -Wl,-h,libwine.so.$libwine_soversion"
8128 echo '{ global: *; };' >conftest.map
8129 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -fPIC -shared -Wl,--version-script=conftest.map" >&5
8130 $as_echo_n "checking whether the compiler supports -fPIC -shared -Wl,--version-script=conftest.map... " >&6; }
8131 if ${ac_cv_cflags__fPIC__shared__Wl___version_script_conftest_map+:} false; then :
8132 $as_echo_n "(cached) " >&6
8133 else
8134 ac_wine_try_cflags_saved=$CFLAGS
8135 CFLAGS="$CFLAGS -fPIC -shared -Wl,--version-script=conftest.map"
8136 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
8137 /* end confdefs.h. */
8138 int main(int argc, char **argv) { return 0; }
8139 _ACEOF
8140 if ac_fn_c_try_link "$LINENO"; then :
8141 ac_cv_cflags__fPIC__shared__Wl___version_script_conftest_map=yes
8142 else
8143 ac_cv_cflags__fPIC__shared__Wl___version_script_conftest_map=no
8145 rm -f core conftest.err conftest.$ac_objext \
8146 conftest$ac_exeext conftest.$ac_ext
8147 CFLAGS=$ac_wine_try_cflags_saved
8149 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__fPIC__shared__Wl___version_script_conftest_map" >&5
8150 $as_echo "$ac_cv_cflags__fPIC__shared__Wl___version_script_conftest_map" >&6; }
8151 if test "x$ac_cv_cflags__fPIC__shared__Wl___version_script_conftest_map" = xyes; then :
8152 LDSHARED="$LDSHARED -Wl,--version-script=\$(srcdir)/wine.map"
8154 rm -f conftest.map
8156 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -fPIC -Wl,--export-dynamic" >&5
8157 $as_echo_n "checking whether the compiler supports -fPIC -Wl,--export-dynamic... " >&6; }
8158 if ${ac_cv_cflags__fPIC__Wl___export_dynamic+:} false; then :
8159 $as_echo_n "(cached) " >&6
8160 else
8161 ac_wine_try_cflags_saved=$CFLAGS
8162 CFLAGS="$CFLAGS -fPIC -Wl,--export-dynamic"
8163 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
8164 /* end confdefs.h. */
8165 int main(int argc, char **argv) { return 0; }
8166 _ACEOF
8167 if ac_fn_c_try_link "$LINENO"; then :
8168 ac_cv_cflags__fPIC__Wl___export_dynamic=yes
8169 else
8170 ac_cv_cflags__fPIC__Wl___export_dynamic=no
8172 rm -f core conftest.err conftest.$ac_objext \
8173 conftest$ac_exeext conftest.$ac_ext
8174 CFLAGS=$ac_wine_try_cflags_saved
8176 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__fPIC__Wl___export_dynamic" >&5
8177 $as_echo "$ac_cv_cflags__fPIC__Wl___export_dynamic" >&6; }
8178 if test "x$ac_cv_cflags__fPIC__Wl___export_dynamic" = xyes; then :
8179 LDEXECFLAGS="-Wl,--export-dynamic"
8182 as_ac_var=`$as_echo "ac_cv_cflags_-fPIC -Wl,--rpath,\\$ORIGIN/../lib" | $as_tr_sh`
8183 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -fPIC -Wl,--rpath,\$ORIGIN/../lib" >&5
8184 $as_echo_n "checking whether the compiler supports -fPIC -Wl,--rpath,\$ORIGIN/../lib... " >&6; }
8185 if eval \${$as_ac_var+:} false; then :
8186 $as_echo_n "(cached) " >&6
8187 else
8188 ac_wine_try_cflags_saved=$CFLAGS
8189 CFLAGS="$CFLAGS -fPIC -Wl,--rpath,\$ORIGIN/../lib"
8190 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
8191 /* end confdefs.h. */
8192 int main(int argc, char **argv) { return 0; }
8193 _ACEOF
8194 if ac_fn_c_try_link "$LINENO"; then :
8195 eval "$as_ac_var=yes"
8196 else
8197 eval "$as_ac_var=no"
8199 rm -f core conftest.err conftest.$ac_objext \
8200 conftest$ac_exeext conftest.$ac_ext
8201 CFLAGS=$ac_wine_try_cflags_saved
8203 eval ac_res=\$$as_ac_var
8204 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
8205 $as_echo "$ac_res" >&6; }
8206 if eval test \"x\$"$as_ac_var"\" = x"yes"; then :
8207 LDRPATH_INSTALL="-Wl,--rpath,\\\$\$ORIGIN/\`\$(MAKEDEP) -R \$(bindir) \$(libdir)\`"
8208 LDRPATH_LOCAL="-Wl,--rpath,\\\$\$ORIGIN/\$(top_builddir)/libs/wine"
8209 else
8210 as_ac_var=`$as_echo "ac_cv_cflags_-fPIC -Wl,-R,\\$ORIGIN/../lib" | $as_tr_sh`
8211 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -fPIC -Wl,-R,\$ORIGIN/../lib" >&5
8212 $as_echo_n "checking whether the compiler supports -fPIC -Wl,-R,\$ORIGIN/../lib... " >&6; }
8213 if eval \${$as_ac_var+:} false; then :
8214 $as_echo_n "(cached) " >&6
8215 else
8216 ac_wine_try_cflags_saved=$CFLAGS
8217 CFLAGS="$CFLAGS -fPIC -Wl,-R,\$ORIGIN/../lib"
8218 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
8219 /* end confdefs.h. */
8220 int main(int argc, char **argv) { return 0; }
8221 _ACEOF
8222 if ac_fn_c_try_link "$LINENO"; then :
8223 eval "$as_ac_var=yes"
8224 else
8225 eval "$as_ac_var=no"
8227 rm -f core conftest.err conftest.$ac_objext \
8228 conftest$ac_exeext conftest.$ac_ext
8229 CFLAGS=$ac_wine_try_cflags_saved
8231 eval ac_res=\$$as_ac_var
8232 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
8233 $as_echo "$ac_res" >&6; }
8234 if eval test \"x\$"$as_ac_var"\" = x"yes"; then :
8235 LDRPATH_INSTALL="-Wl,-R,\\\$\$ORIGIN/\`\$(MAKEDEP) -R \$(bindir) \$(libdir)\`"
8236 LDRPATH_LOCAL="-Wl,-R,\\\$\$ORIGIN/\$(top_builddir)/libs/wine"
8240 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wl,--enable-new-dtags" >&5
8241 $as_echo_n "checking whether the compiler supports -Wl,--enable-new-dtags... " >&6; }
8242 if ${ac_cv_cflags__Wl___enable_new_dtags+:} false; then :
8243 $as_echo_n "(cached) " >&6
8244 else
8245 ac_wine_try_cflags_saved=$CFLAGS
8246 CFLAGS="$CFLAGS -Wl,--enable-new-dtags"
8247 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
8248 /* end confdefs.h. */
8249 int main(int argc, char **argv) { return 0; }
8250 _ACEOF
8251 if ac_fn_c_try_link "$LINENO"; then :
8252 ac_cv_cflags__Wl___enable_new_dtags=yes
8253 else
8254 ac_cv_cflags__Wl___enable_new_dtags=no
8256 rm -f core conftest.err conftest.$ac_objext \
8257 conftest$ac_exeext conftest.$ac_ext
8258 CFLAGS=$ac_wine_try_cflags_saved
8260 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wl___enable_new_dtags" >&5
8261 $as_echo "$ac_cv_cflags__Wl___enable_new_dtags" >&6; }
8262 if test "x$ac_cv_cflags__Wl___enable_new_dtags" = xyes; then :
8263 LDRPATH_INSTALL="$LDRPATH_INSTALL -Wl,--enable-new-dtags"
8266 case $host_cpu in
8267 *i[3456789]86* | x86_64)
8268 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wl,--section-start,.interp=0x7bf00400" >&5
8269 $as_echo_n "checking whether the compiler supports -Wl,--section-start,.interp=0x7bf00400... " >&6; }
8270 if ${ac_cv_cflags__Wl___section_start__interp_0x7bf00400+:} false; then :
8271 $as_echo_n "(cached) " >&6
8272 else
8273 ac_wine_try_cflags_saved=$CFLAGS
8274 CFLAGS="$CFLAGS -Wl,--section-start,.interp=0x7bf00400"
8275 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
8276 /* end confdefs.h. */
8277 int main(int argc, char **argv) { return 0; }
8278 _ACEOF
8279 if ac_fn_c_try_link "$LINENO"; then :
8280 ac_cv_cflags__Wl___section_start__interp_0x7bf00400=yes
8281 else
8282 ac_cv_cflags__Wl___section_start__interp_0x7bf00400=no
8284 rm -f core conftest.err conftest.$ac_objext \
8285 conftest$ac_exeext conftest.$ac_ext
8286 CFLAGS=$ac_wine_try_cflags_saved
8288 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wl___section_start__interp_0x7bf00400" >&5
8289 $as_echo "$ac_cv_cflags__Wl___section_start__interp_0x7bf00400" >&6; }
8290 if test "x$ac_cv_cflags__Wl___section_start__interp_0x7bf00400" = xyes; then :
8291 case $host_os in
8292 freebsd* | kfreebsd*-gnu) LDEXECFLAGS="$LDEXECFLAGS -Wl,--section-start,.interp=0x60000400" ;;
8293 *) LDEXECFLAGS="$LDEXECFLAGS -Wl,--section-start,.interp=0x7bf00400" ;;
8294 esac
8297 # Extract the first word of "prelink", so it can be a program name with args.
8298 set dummy prelink; ac_word=$2
8299 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
8300 $as_echo_n "checking for $ac_word... " >&6; }
8301 if ${ac_cv_path_PRELINK+:} false; then :
8302 $as_echo_n "(cached) " >&6
8303 else
8304 case $PRELINK in
8305 [\\/]* | ?:[\\/]*)
8306 ac_cv_path_PRELINK="$PRELINK" # Let the user override the test with a path.
8309 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
8310 for as_dir in /sbin /usr/sbin $PATH
8312 IFS=$as_save_IFS
8313 test -z "$as_dir" && as_dir=.
8314 for ac_exec_ext in '' $ac_executable_extensions; do
8315 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
8316 ac_cv_path_PRELINK="$as_dir/$ac_word$ac_exec_ext"
8317 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
8318 break 2
8320 done
8321 done
8322 IFS=$as_save_IFS
8324 test -z "$ac_cv_path_PRELINK" && ac_cv_path_PRELINK="false"
8326 esac
8328 PRELINK=$ac_cv_path_PRELINK
8329 if test -n "$PRELINK"; then
8330 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $PRELINK" >&5
8331 $as_echo "$PRELINK" >&6; }
8332 else
8333 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
8334 $as_echo "no" >&6; }
8338 if test "x$PRELINK" = xfalse
8339 then
8340 as_fn_append wine_warnings "|prelink not found, base address of core dlls won't be set correctly."
8343 esac
8345 else
8346 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we can build a UnixWare (Solaris) dll" >&5
8347 $as_echo_n "checking whether we can build a UnixWare (Solaris) dll... " >&6; }
8348 if ${ac_cv_c_dll_unixware+:} false; then :
8349 $as_echo_n "(cached) " >&6
8350 else
8351 ac_wine_try_cflags_saved=$CFLAGS
8352 CFLAGS="$CFLAGS -fPIC -Wl,-G,-h,conftest.so.1.0,-B,symbolic"
8353 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
8354 /* end confdefs.h. */
8355 void myfunc() {}
8356 _ACEOF
8357 if ac_fn_c_try_link "$LINENO"; then :
8358 ac_cv_c_dll_unixware="yes"
8359 else
8360 ac_cv_c_dll_unixware="no"
8362 rm -f core conftest.err conftest.$ac_objext \
8363 conftest$ac_exeext conftest.$ac_ext
8364 CFLAGS=$ac_wine_try_cflags_saved
8366 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_dll_unixware" >&5
8367 $as_echo "$ac_cv_c_dll_unixware" >&6; }
8368 if test "$ac_cv_c_dll_unixware" = "yes"
8369 then
8370 LDSHARED="\$(CC) -Wl,-G,-h,libwine.so.$libwine_soversion"
8373 libwine_targets="libwine.so libwine.so.$libwine_soversion libwine.so.$libwine_version"
8374 LIBWINE_RULES="
8375 OBJS = \$(C_SRCS:.c=.o) \$(EXTRA_OBJS)
8377 all: libwine.so
8379 libwine.so.$libwine_version: \$(OBJS) \$(srcdir)/wine.map
8380 $LDSHARED \$(OBJS) \$(EXTRALIBS) \$(LDFLAGS) \$(LIBS) -o \$@
8382 libwine.so.$libwine_soversion: libwine.so.$libwine_version
8383 \$(RM) \$@ && \$(LN_S) libwine.so.$libwine_version \$@
8385 libwine.so: libwine.so.$libwine_soversion
8386 \$(RM) \$@ && \$(LN_S) libwine.so.$libwine_soversion \$@
8388 install install-lib:: libwine.so.$libwine_version
8389 \$(INSTALL_PROGRAM) libwine.so.$libwine_version \$(DESTDIR)\$(libdir)/libwine.so.$libwine_version
8390 cd \$(DESTDIR)\$(libdir) && \$(RM) libwine.so.$libwine_soversion && \$(LN_S) libwine.so.$libwine_version libwine.so.$libwine_soversion
8392 install install-dev::
8393 cd \$(DESTDIR)\$(libdir) && \$(RM) libwine.so && \$(LN_S) libwine.so.$libwine_version libwine.so
8395 uninstall::
8396 -cd \$(DESTDIR)\$(libdir) && \$(RM) libwine.so libwine.so.$libwine_soversion libwine.so.$libwine_version
8400 as_fn_append LOADER_RULES "
8401 $wine_binary: main.o
8402 \$(CC) -o \$@ $LDEXECFLAGS main.o \$(LIBWINE) \$(LIBPORT) \$(EXTRALIBS) \$(LDFLAGS) \$(LDRPATH_LOCAL)
8404 wine-installed: main.o
8405 \$(CC) -o \$@ $LDEXECFLAGS main.o \$(LIBWINE) \$(LIBPORT) \$(EXTRALIBS) \$(LDFLAGS) \$(LDRPATH_INSTALL)
8408 esac
8410 as_fn_append LIBWINE_RULES "
8411 EXTRA_TARGETS = $libwine_targets
8414 enable_wineqtdecoder=${enable_wineqtdecoder:-no}
8415 enable_winemac_drv=${enable_winemac_drv:-no}
8417 CROSSTARGET=""
8419 if test "$cross_compiling" = "no" -a "x$enable_tests" != xno -a "$LIBEXT" != "dll"
8420 then
8421 case "$host_cpu" in
8422 i[3456789]86*)
8423 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
8424 mingw32-gcc" ;;
8425 x86_64)
8426 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 " ;;
8428 ac_prefix_list="" ;;
8429 esac
8430 for ac_prog in $ac_prefix_list
8432 # Extract the first word of "$ac_prog", so it can be a program name with args.
8433 set dummy $ac_prog; ac_word=$2
8434 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
8435 $as_echo_n "checking for $ac_word... " >&6; }
8436 if ${ac_cv_prog_CROSSCC+:} false; then :
8437 $as_echo_n "(cached) " >&6
8438 else
8439 if test -n "$CROSSCC"; then
8440 ac_cv_prog_CROSSCC="$CROSSCC" # Let the user override the test.
8441 else
8442 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
8443 for as_dir in $PATH
8445 IFS=$as_save_IFS
8446 test -z "$as_dir" && as_dir=.
8447 for ac_exec_ext in '' $ac_executable_extensions; do
8448 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
8449 ac_cv_prog_CROSSCC="$ac_prog"
8450 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
8451 break 2
8453 done
8454 done
8455 IFS=$as_save_IFS
8459 CROSSCC=$ac_cv_prog_CROSSCC
8460 if test -n "$CROSSCC"; then
8461 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CROSSCC" >&5
8462 $as_echo "$CROSSCC" >&6; }
8463 else
8464 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
8465 $as_echo "no" >&6; }
8469 test -n "$CROSSCC" && break
8470 done
8471 test -n "$CROSSCC" || CROSSCC="false"
8473 if test "$CROSSCC" != "false"
8474 then
8475 ac_save_CC="$CC"
8476 CC="$CROSSCC"
8477 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CROSSCC works" >&5
8478 $as_echo_n "checking whether $CROSSCC works... " >&6; }
8479 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
8480 /* end confdefs.h. */
8483 main ()
8487 return 0;
8489 _ACEOF
8490 if ac_fn_c_try_compile "$LINENO"; then :
8491 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
8492 $as_echo "yes" >&6; }
8493 set x $CROSSCC
8494 shift
8495 while test $# -ge 1
8497 case "$1" in
8498 *-gcc) CROSSTARGET=`expr "$1" : '\(.*\)-gcc'` ;;
8499 esac
8500 shift
8501 done
8502 else
8503 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
8504 $as_echo "no" >&6; }
8506 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
8507 CC="$ac_save_CC"
8512 if test "$ac_cv_header_pthread_h" = "yes"
8513 then
8514 ac_fn_c_check_func "$LINENO" "pthread_create" "ac_cv_func_pthread_create"
8515 if test "x$ac_cv_func_pthread_create" = xyes; then :
8517 else
8518 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for pthread_create in -lpthread" >&5
8519 $as_echo_n "checking for pthread_create in -lpthread... " >&6; }
8520 if ${ac_cv_lib_pthread_pthread_create+:} false; then :
8521 $as_echo_n "(cached) " >&6
8522 else
8523 ac_check_lib_save_LIBS=$LIBS
8524 LIBS="-lpthread $LIBS"
8525 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
8526 /* end confdefs.h. */
8528 /* Override any GCC internal prototype to avoid an error.
8529 Use char because int might match the return type of a GCC
8530 builtin and then its argument prototype would still apply. */
8531 #ifdef __cplusplus
8532 extern "C"
8533 #endif
8534 char pthread_create ();
8536 main ()
8538 return pthread_create ();
8540 return 0;
8542 _ACEOF
8543 if ac_fn_c_try_link "$LINENO"; then :
8544 ac_cv_lib_pthread_pthread_create=yes
8545 else
8546 ac_cv_lib_pthread_pthread_create=no
8548 rm -f core conftest.err conftest.$ac_objext \
8549 conftest$ac_exeext conftest.$ac_ext
8550 LIBS=$ac_check_lib_save_LIBS
8552 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_pthread_pthread_create" >&5
8553 $as_echo "$ac_cv_lib_pthread_pthread_create" >&6; }
8554 if test "x$ac_cv_lib_pthread_pthread_create" = xyes; then :
8555 PTHREAD_LIBS="-lpthread"
8562 if test "x$ac_cv_func_pthread_create" != xyes -a "x$PTHREAD_LIBS" = x; then :
8563 case "x$with_pthread" in
8564 xno) ;;
8565 *) as_fn_error $? "pthread ${notice_platform}development files not found.
8566 Wine cannot support threads without libpthread.
8567 Use the --without-pthread option if you really want this." "$LINENO" 5 ;;
8568 esac
8572 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for X" >&5
8573 $as_echo_n "checking for X... " >&6; }
8576 # Check whether --with-x was given.
8577 if test "${with_x+set}" = set; then :
8578 withval=$with_x;
8581 # $have_x is `yes', `no', `disabled', or empty when we do not yet know.
8582 if test "x$with_x" = xno; then
8583 # The user explicitly disabled X.
8584 have_x=disabled
8585 else
8586 case $x_includes,$x_libraries in #(
8587 *\'*) as_fn_error $? "cannot use X directory names containing '" "$LINENO" 5;; #(
8588 *,NONE | NONE,*) if ${ac_cv_have_x+:} false; then :
8589 $as_echo_n "(cached) " >&6
8590 else
8591 # One or both of the vars are not set, and there is no cached value.
8592 ac_x_includes=no ac_x_libraries=no
8593 rm -f -r conftest.dir
8594 if mkdir conftest.dir; then
8595 cd conftest.dir
8596 cat >Imakefile <<'_ACEOF'
8597 incroot:
8598 @echo incroot='${INCROOT}'
8599 usrlibdir:
8600 @echo usrlibdir='${USRLIBDIR}'
8601 libdir:
8602 @echo libdir='${LIBDIR}'
8603 _ACEOF
8604 if (export CC; ${XMKMF-xmkmf}) >/dev/null 2>/dev/null && test -f Makefile; then
8605 # GNU make sometimes prints "make[1]: Entering ...", which would confuse us.
8606 for ac_var in incroot usrlibdir libdir; do
8607 eval "ac_im_$ac_var=\`\${MAKE-make} $ac_var 2>/dev/null | sed -n 's/^$ac_var=//p'\`"
8608 done
8609 # Open Windows xmkmf reportedly sets LIBDIR instead of USRLIBDIR.
8610 for ac_extension in a so sl dylib la dll; do
8611 if test ! -f "$ac_im_usrlibdir/libX11.$ac_extension" &&
8612 test -f "$ac_im_libdir/libX11.$ac_extension"; then
8613 ac_im_usrlibdir=$ac_im_libdir; break
8615 done
8616 # Screen out bogus values from the imake configuration. They are
8617 # bogus both because they are the default anyway, and because
8618 # using them would break gcc on systems where it needs fixed includes.
8619 case $ac_im_incroot in
8620 /usr/include) ac_x_includes= ;;
8621 *) test -f "$ac_im_incroot/X11/Xos.h" && ac_x_includes=$ac_im_incroot;;
8622 esac
8623 case $ac_im_usrlibdir in
8624 /usr/lib | /usr/lib64 | /lib | /lib64) ;;
8625 *) test -d "$ac_im_usrlibdir" && ac_x_libraries=$ac_im_usrlibdir ;;
8626 esac
8628 cd ..
8629 rm -f -r conftest.dir
8632 # Standard set of common directories for X headers.
8633 # Check X11 before X11Rn because it is often a symlink to the current release.
8634 ac_x_header_dirs='
8635 /usr/X11/include
8636 /usr/X11R7/include
8637 /usr/X11R6/include
8638 /usr/X11R5/include
8639 /usr/X11R4/include
8641 /usr/include/X11
8642 /usr/include/X11R7
8643 /usr/include/X11R6
8644 /usr/include/X11R5
8645 /usr/include/X11R4
8647 /usr/local/X11/include
8648 /usr/local/X11R7/include
8649 /usr/local/X11R6/include
8650 /usr/local/X11R5/include
8651 /usr/local/X11R4/include
8653 /usr/local/include/X11
8654 /usr/local/include/X11R7
8655 /usr/local/include/X11R6
8656 /usr/local/include/X11R5
8657 /usr/local/include/X11R4
8659 /usr/X386/include
8660 /usr/x386/include
8661 /usr/XFree86/include/X11
8663 /usr/include
8664 /usr/local/include
8665 /usr/unsupported/include
8666 /usr/athena/include
8667 /usr/local/x11r5/include
8668 /usr/lpp/Xamples/include
8670 /usr/openwin/include
8671 /usr/openwin/share/include'
8673 if test "$ac_x_includes" = no; then
8674 # Guess where to find include files, by looking for Xlib.h.
8675 # First, try using that file with no special directory specified.
8676 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
8677 /* end confdefs.h. */
8678 #include <X11/Xlib.h>
8679 _ACEOF
8680 if ac_fn_c_try_cpp "$LINENO"; then :
8681 # We can compile using X headers with no special include directory.
8682 ac_x_includes=
8683 else
8684 for ac_dir in $ac_x_header_dirs; do
8685 if test -r "$ac_dir/X11/Xlib.h"; then
8686 ac_x_includes=$ac_dir
8687 break
8689 done
8691 rm -f conftest.err conftest.i conftest.$ac_ext
8692 fi # $ac_x_includes = no
8694 if test "$ac_x_libraries" = no; then
8695 # Check for the libraries.
8696 # See if we find them without any special options.
8697 # Don't add to $LIBS permanently.
8698 ac_save_LIBS=$LIBS
8699 LIBS="-lX11 $LIBS"
8700 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
8701 /* end confdefs.h. */
8702 #include <X11/Xlib.h>
8704 main ()
8706 XrmInitialize ()
8708 return 0;
8710 _ACEOF
8711 if ac_fn_c_try_link "$LINENO"; then :
8712 LIBS=$ac_save_LIBS
8713 # We can link X programs with no special library path.
8714 ac_x_libraries=
8715 else
8716 LIBS=$ac_save_LIBS
8717 for ac_dir in `$as_echo "$ac_x_includes $ac_x_header_dirs" | sed s/include/lib/g`
8719 # Don't even attempt the hair of trying to link an X program!
8720 for ac_extension in a so sl dylib la dll; do
8721 if test -r "$ac_dir/libX11.$ac_extension"; then
8722 ac_x_libraries=$ac_dir
8723 break 2
8725 done
8726 done
8728 rm -f core conftest.err conftest.$ac_objext \
8729 conftest$ac_exeext conftest.$ac_ext
8730 fi # $ac_x_libraries = no
8732 case $ac_x_includes,$ac_x_libraries in #(
8733 no,* | *,no | *\'*)
8734 # Didn't find X, or a directory has "'" in its name.
8735 ac_cv_have_x="have_x=no";; #(
8737 # Record where we found X for the cache.
8738 ac_cv_have_x="have_x=yes\
8739 ac_x_includes='$ac_x_includes'\
8740 ac_x_libraries='$ac_x_libraries'"
8741 esac
8743 ;; #(
8744 *) have_x=yes;;
8745 esac
8746 eval "$ac_cv_have_x"
8747 fi # $with_x != no
8749 if test "$have_x" != yes; then
8750 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $have_x" >&5
8751 $as_echo "$have_x" >&6; }
8752 no_x=yes
8753 else
8754 # If each of the values was on the command line, it overrides each guess.
8755 test "x$x_includes" = xNONE && x_includes=$ac_x_includes
8756 test "x$x_libraries" = xNONE && x_libraries=$ac_x_libraries
8757 # Update the cache value to reflect the command line values.
8758 ac_cv_have_x="have_x=yes\
8759 ac_x_includes='$x_includes'\
8760 ac_x_libraries='$x_libraries'"
8761 { $as_echo "$as_me:${as_lineno-$LINENO}: result: libraries $x_libraries, headers $x_includes" >&5
8762 $as_echo "libraries $x_libraries, headers $x_includes" >&6; }
8765 if test "$no_x" = yes; then
8766 # Not all programs may use this symbol, but it does not hurt to define it.
8768 $as_echo "#define X_DISPLAY_MISSING 1" >>confdefs.h
8770 X_CFLAGS= X_PRE_LIBS= X_LIBS= X_EXTRA_LIBS=
8771 else
8772 if test -n "$x_includes"; then
8773 X_CFLAGS="$X_CFLAGS -I$x_includes"
8776 # It would also be nice to do this for all -L options, not just this one.
8777 if test -n "$x_libraries"; then
8778 X_LIBS="$X_LIBS -L$x_libraries"
8779 # For Solaris; some versions of Sun CC require a space after -R and
8780 # others require no space. Words are not sufficient . . . .
8781 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether -R must be followed by a space" >&5
8782 $as_echo_n "checking whether -R must be followed by a space... " >&6; }
8783 ac_xsave_LIBS=$LIBS; LIBS="$LIBS -R$x_libraries"
8784 ac_xsave_c_werror_flag=$ac_c_werror_flag
8785 ac_c_werror_flag=yes
8786 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
8787 /* end confdefs.h. */
8790 main ()
8794 return 0;
8796 _ACEOF
8797 if ac_fn_c_try_link "$LINENO"; then :
8798 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
8799 $as_echo "no" >&6; }
8800 X_LIBS="$X_LIBS -R$x_libraries"
8801 else
8802 LIBS="$ac_xsave_LIBS -R $x_libraries"
8803 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
8804 /* end confdefs.h. */
8807 main ()
8811 return 0;
8813 _ACEOF
8814 if ac_fn_c_try_link "$LINENO"; then :
8815 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
8816 $as_echo "yes" >&6; }
8817 X_LIBS="$X_LIBS -R $x_libraries"
8818 else
8819 { $as_echo "$as_me:${as_lineno-$LINENO}: result: neither works" >&5
8820 $as_echo "neither works" >&6; }
8822 rm -f core conftest.err conftest.$ac_objext \
8823 conftest$ac_exeext conftest.$ac_ext
8825 rm -f core conftest.err conftest.$ac_objext \
8826 conftest$ac_exeext conftest.$ac_ext
8827 ac_c_werror_flag=$ac_xsave_c_werror_flag
8828 LIBS=$ac_xsave_LIBS
8831 # Check for system-dependent libraries X programs must link with.
8832 # Do this before checking for the system-independent R6 libraries
8833 # (-lICE), since we may need -lsocket or whatever for X linking.
8835 if test "$ISC" = yes; then
8836 X_EXTRA_LIBS="$X_EXTRA_LIBS -lnsl_s -linet"
8837 else
8838 # Martyn Johnson says this is needed for Ultrix, if the X
8839 # libraries were built with DECnet support. And Karl Berry says
8840 # the Alpha needs dnet_stub (dnet does not exist).
8841 ac_xsave_LIBS="$LIBS"; LIBS="$LIBS $X_LIBS -lX11"
8842 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
8843 /* end confdefs.h. */
8845 /* Override any GCC internal prototype to avoid an error.
8846 Use char because int might match the return type of a GCC
8847 builtin and then its argument prototype would still apply. */
8848 #ifdef __cplusplus
8849 extern "C"
8850 #endif
8851 char XOpenDisplay ();
8853 main ()
8855 return XOpenDisplay ();
8857 return 0;
8859 _ACEOF
8860 if ac_fn_c_try_link "$LINENO"; then :
8862 else
8863 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dnet_ntoa in -ldnet" >&5
8864 $as_echo_n "checking for dnet_ntoa in -ldnet... " >&6; }
8865 if ${ac_cv_lib_dnet_dnet_ntoa+:} false; then :
8866 $as_echo_n "(cached) " >&6
8867 else
8868 ac_check_lib_save_LIBS=$LIBS
8869 LIBS="-ldnet $LIBS"
8870 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
8871 /* end confdefs.h. */
8873 /* Override any GCC internal prototype to avoid an error.
8874 Use char because int might match the return type of a GCC
8875 builtin and then its argument prototype would still apply. */
8876 #ifdef __cplusplus
8877 extern "C"
8878 #endif
8879 char dnet_ntoa ();
8881 main ()
8883 return dnet_ntoa ();
8885 return 0;
8887 _ACEOF
8888 if ac_fn_c_try_link "$LINENO"; then :
8889 ac_cv_lib_dnet_dnet_ntoa=yes
8890 else
8891 ac_cv_lib_dnet_dnet_ntoa=no
8893 rm -f core conftest.err conftest.$ac_objext \
8894 conftest$ac_exeext conftest.$ac_ext
8895 LIBS=$ac_check_lib_save_LIBS
8897 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dnet_dnet_ntoa" >&5
8898 $as_echo "$ac_cv_lib_dnet_dnet_ntoa" >&6; }
8899 if test "x$ac_cv_lib_dnet_dnet_ntoa" = xyes; then :
8900 X_EXTRA_LIBS="$X_EXTRA_LIBS -ldnet"
8903 if test $ac_cv_lib_dnet_dnet_ntoa = no; then
8904 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dnet_ntoa in -ldnet_stub" >&5
8905 $as_echo_n "checking for dnet_ntoa in -ldnet_stub... " >&6; }
8906 if ${ac_cv_lib_dnet_stub_dnet_ntoa+:} false; then :
8907 $as_echo_n "(cached) " >&6
8908 else
8909 ac_check_lib_save_LIBS=$LIBS
8910 LIBS="-ldnet_stub $LIBS"
8911 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
8912 /* end confdefs.h. */
8914 /* Override any GCC internal prototype to avoid an error.
8915 Use char because int might match the return type of a GCC
8916 builtin and then its argument prototype would still apply. */
8917 #ifdef __cplusplus
8918 extern "C"
8919 #endif
8920 char dnet_ntoa ();
8922 main ()
8924 return dnet_ntoa ();
8926 return 0;
8928 _ACEOF
8929 if ac_fn_c_try_link "$LINENO"; then :
8930 ac_cv_lib_dnet_stub_dnet_ntoa=yes
8931 else
8932 ac_cv_lib_dnet_stub_dnet_ntoa=no
8934 rm -f core conftest.err conftest.$ac_objext \
8935 conftest$ac_exeext conftest.$ac_ext
8936 LIBS=$ac_check_lib_save_LIBS
8938 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dnet_stub_dnet_ntoa" >&5
8939 $as_echo "$ac_cv_lib_dnet_stub_dnet_ntoa" >&6; }
8940 if test "x$ac_cv_lib_dnet_stub_dnet_ntoa" = xyes; then :
8941 X_EXTRA_LIBS="$X_EXTRA_LIBS -ldnet_stub"
8946 rm -f core conftest.err conftest.$ac_objext \
8947 conftest$ac_exeext conftest.$ac_ext
8948 LIBS="$ac_xsave_LIBS"
8950 # msh@cis.ufl.edu says -lnsl (and -lsocket) are needed for his 386/AT,
8951 # to get the SysV transport functions.
8952 # Chad R. Larson says the Pyramis MIS-ES running DC/OSx (SVR4)
8953 # needs -lnsl.
8954 # The nsl library prevents programs from opening the X display
8955 # on Irix 5.2, according to T.E. Dickey.
8956 # The functions gethostbyname, getservbyname, and inet_addr are
8957 # in -lbsd on LynxOS 3.0.1/i386, according to Lars Hecking.
8958 ac_fn_c_check_func "$LINENO" "gethostbyname" "ac_cv_func_gethostbyname"
8959 if test "x$ac_cv_func_gethostbyname" = xyes; then :
8963 if test $ac_cv_func_gethostbyname = no; then
8964 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for gethostbyname in -lnsl" >&5
8965 $as_echo_n "checking for gethostbyname in -lnsl... " >&6; }
8966 if ${ac_cv_lib_nsl_gethostbyname+:} false; then :
8967 $as_echo_n "(cached) " >&6
8968 else
8969 ac_check_lib_save_LIBS=$LIBS
8970 LIBS="-lnsl $LIBS"
8971 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
8972 /* end confdefs.h. */
8974 /* Override any GCC internal prototype to avoid an error.
8975 Use char because int might match the return type of a GCC
8976 builtin and then its argument prototype would still apply. */
8977 #ifdef __cplusplus
8978 extern "C"
8979 #endif
8980 char gethostbyname ();
8982 main ()
8984 return gethostbyname ();
8986 return 0;
8988 _ACEOF
8989 if ac_fn_c_try_link "$LINENO"; then :
8990 ac_cv_lib_nsl_gethostbyname=yes
8991 else
8992 ac_cv_lib_nsl_gethostbyname=no
8994 rm -f core conftest.err conftest.$ac_objext \
8995 conftest$ac_exeext conftest.$ac_ext
8996 LIBS=$ac_check_lib_save_LIBS
8998 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_nsl_gethostbyname" >&5
8999 $as_echo "$ac_cv_lib_nsl_gethostbyname" >&6; }
9000 if test "x$ac_cv_lib_nsl_gethostbyname" = xyes; then :
9001 X_EXTRA_LIBS="$X_EXTRA_LIBS -lnsl"
9004 if test $ac_cv_lib_nsl_gethostbyname = no; then
9005 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for gethostbyname in -lbsd" >&5
9006 $as_echo_n "checking for gethostbyname in -lbsd... " >&6; }
9007 if ${ac_cv_lib_bsd_gethostbyname+:} false; then :
9008 $as_echo_n "(cached) " >&6
9009 else
9010 ac_check_lib_save_LIBS=$LIBS
9011 LIBS="-lbsd $LIBS"
9012 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9013 /* end confdefs.h. */
9015 /* Override any GCC internal prototype to avoid an error.
9016 Use char because int might match the return type of a GCC
9017 builtin and then its argument prototype would still apply. */
9018 #ifdef __cplusplus
9019 extern "C"
9020 #endif
9021 char gethostbyname ();
9023 main ()
9025 return gethostbyname ();
9027 return 0;
9029 _ACEOF
9030 if ac_fn_c_try_link "$LINENO"; then :
9031 ac_cv_lib_bsd_gethostbyname=yes
9032 else
9033 ac_cv_lib_bsd_gethostbyname=no
9035 rm -f core conftest.err conftest.$ac_objext \
9036 conftest$ac_exeext conftest.$ac_ext
9037 LIBS=$ac_check_lib_save_LIBS
9039 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_bsd_gethostbyname" >&5
9040 $as_echo "$ac_cv_lib_bsd_gethostbyname" >&6; }
9041 if test "x$ac_cv_lib_bsd_gethostbyname" = xyes; then :
9042 X_EXTRA_LIBS="$X_EXTRA_LIBS -lbsd"
9048 # lieder@skyler.mavd.honeywell.com says without -lsocket,
9049 # socket/setsockopt and other routines are undefined under SCO ODT
9050 # 2.0. But -lsocket is broken on IRIX 5.2 (and is not necessary
9051 # on later versions), says Simon Leinen: it contains gethostby*
9052 # variants that don't use the name server (or something). -lsocket
9053 # must be given before -lnsl if both are needed. We assume that
9054 # if connect needs -lnsl, so does gethostbyname.
9055 ac_fn_c_check_func "$LINENO" "connect" "ac_cv_func_connect"
9056 if test "x$ac_cv_func_connect" = xyes; then :
9060 if test $ac_cv_func_connect = no; then
9061 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for connect in -lsocket" >&5
9062 $as_echo_n "checking for connect in -lsocket... " >&6; }
9063 if ${ac_cv_lib_socket_connect+:} false; then :
9064 $as_echo_n "(cached) " >&6
9065 else
9066 ac_check_lib_save_LIBS=$LIBS
9067 LIBS="-lsocket $X_EXTRA_LIBS $LIBS"
9068 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9069 /* end confdefs.h. */
9071 /* Override any GCC internal prototype to avoid an error.
9072 Use char because int might match the return type of a GCC
9073 builtin and then its argument prototype would still apply. */
9074 #ifdef __cplusplus
9075 extern "C"
9076 #endif
9077 char connect ();
9079 main ()
9081 return connect ();
9083 return 0;
9085 _ACEOF
9086 if ac_fn_c_try_link "$LINENO"; then :
9087 ac_cv_lib_socket_connect=yes
9088 else
9089 ac_cv_lib_socket_connect=no
9091 rm -f core conftest.err conftest.$ac_objext \
9092 conftest$ac_exeext conftest.$ac_ext
9093 LIBS=$ac_check_lib_save_LIBS
9095 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_socket_connect" >&5
9096 $as_echo "$ac_cv_lib_socket_connect" >&6; }
9097 if test "x$ac_cv_lib_socket_connect" = xyes; then :
9098 X_EXTRA_LIBS="-lsocket $X_EXTRA_LIBS"
9103 # Guillermo Gomez says -lposix is necessary on A/UX.
9104 ac_fn_c_check_func "$LINENO" "remove" "ac_cv_func_remove"
9105 if test "x$ac_cv_func_remove" = xyes; then :
9109 if test $ac_cv_func_remove = no; then
9110 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for remove in -lposix" >&5
9111 $as_echo_n "checking for remove in -lposix... " >&6; }
9112 if ${ac_cv_lib_posix_remove+:} false; then :
9113 $as_echo_n "(cached) " >&6
9114 else
9115 ac_check_lib_save_LIBS=$LIBS
9116 LIBS="-lposix $LIBS"
9117 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9118 /* end confdefs.h. */
9120 /* Override any GCC internal prototype to avoid an error.
9121 Use char because int might match the return type of a GCC
9122 builtin and then its argument prototype would still apply. */
9123 #ifdef __cplusplus
9124 extern "C"
9125 #endif
9126 char remove ();
9128 main ()
9130 return remove ();
9132 return 0;
9134 _ACEOF
9135 if ac_fn_c_try_link "$LINENO"; then :
9136 ac_cv_lib_posix_remove=yes
9137 else
9138 ac_cv_lib_posix_remove=no
9140 rm -f core conftest.err conftest.$ac_objext \
9141 conftest$ac_exeext conftest.$ac_ext
9142 LIBS=$ac_check_lib_save_LIBS
9144 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_posix_remove" >&5
9145 $as_echo "$ac_cv_lib_posix_remove" >&6; }
9146 if test "x$ac_cv_lib_posix_remove" = xyes; then :
9147 X_EXTRA_LIBS="$X_EXTRA_LIBS -lposix"
9152 # BSDI BSD/OS 2.1 needs -lipc for XOpenDisplay.
9153 ac_fn_c_check_func "$LINENO" "shmat" "ac_cv_func_shmat"
9154 if test "x$ac_cv_func_shmat" = xyes; then :
9158 if test $ac_cv_func_shmat = no; then
9159 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for shmat in -lipc" >&5
9160 $as_echo_n "checking for shmat in -lipc... " >&6; }
9161 if ${ac_cv_lib_ipc_shmat+:} false; then :
9162 $as_echo_n "(cached) " >&6
9163 else
9164 ac_check_lib_save_LIBS=$LIBS
9165 LIBS="-lipc $LIBS"
9166 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9167 /* end confdefs.h. */
9169 /* Override any GCC internal prototype to avoid an error.
9170 Use char because int might match the return type of a GCC
9171 builtin and then its argument prototype would still apply. */
9172 #ifdef __cplusplus
9173 extern "C"
9174 #endif
9175 char shmat ();
9177 main ()
9179 return shmat ();
9181 return 0;
9183 _ACEOF
9184 if ac_fn_c_try_link "$LINENO"; then :
9185 ac_cv_lib_ipc_shmat=yes
9186 else
9187 ac_cv_lib_ipc_shmat=no
9189 rm -f core conftest.err conftest.$ac_objext \
9190 conftest$ac_exeext conftest.$ac_ext
9191 LIBS=$ac_check_lib_save_LIBS
9193 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_ipc_shmat" >&5
9194 $as_echo "$ac_cv_lib_ipc_shmat" >&6; }
9195 if test "x$ac_cv_lib_ipc_shmat" = xyes; then :
9196 X_EXTRA_LIBS="$X_EXTRA_LIBS -lipc"
9202 # Check for libraries that X11R6 Xt/Xaw programs need.
9203 ac_save_LDFLAGS=$LDFLAGS
9204 test -n "$x_libraries" && LDFLAGS="$LDFLAGS -L$x_libraries"
9205 # SM needs ICE to (dynamically) link under SunOS 4.x (so we have to
9206 # check for ICE first), but we must link in the order -lSM -lICE or
9207 # we get undefined symbols. So assume we have SM if we have ICE.
9208 # These have to be linked with before -lX11, unlike the other
9209 # libraries we check for below, so use a different variable.
9210 # John Interrante, Karl Berry
9211 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for IceConnectionNumber in -lICE" >&5
9212 $as_echo_n "checking for IceConnectionNumber in -lICE... " >&6; }
9213 if ${ac_cv_lib_ICE_IceConnectionNumber+:} false; then :
9214 $as_echo_n "(cached) " >&6
9215 else
9216 ac_check_lib_save_LIBS=$LIBS
9217 LIBS="-lICE $X_EXTRA_LIBS $LIBS"
9218 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9219 /* end confdefs.h. */
9221 /* Override any GCC internal prototype to avoid an error.
9222 Use char because int might match the return type of a GCC
9223 builtin and then its argument prototype would still apply. */
9224 #ifdef __cplusplus
9225 extern "C"
9226 #endif
9227 char IceConnectionNumber ();
9229 main ()
9231 return IceConnectionNumber ();
9233 return 0;
9235 _ACEOF
9236 if ac_fn_c_try_link "$LINENO"; then :
9237 ac_cv_lib_ICE_IceConnectionNumber=yes
9238 else
9239 ac_cv_lib_ICE_IceConnectionNumber=no
9241 rm -f core conftest.err conftest.$ac_objext \
9242 conftest$ac_exeext conftest.$ac_ext
9243 LIBS=$ac_check_lib_save_LIBS
9245 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_ICE_IceConnectionNumber" >&5
9246 $as_echo "$ac_cv_lib_ICE_IceConnectionNumber" >&6; }
9247 if test "x$ac_cv_lib_ICE_IceConnectionNumber" = xyes; then :
9248 X_PRE_LIBS="$X_PRE_LIBS -lSM -lICE"
9251 LDFLAGS=$ac_save_LDFLAGS
9256 if test "$have_x" = "yes"
9257 then
9258 ac_save_CPPFLAGS="$CPPFLAGS"
9259 CPPFLAGS="$CPPFLAGS $X_CFLAGS"
9261 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lX11" >&5
9262 $as_echo_n "checking for -lX11... " >&6; }
9263 if ${ac_cv_lib_soname_X11+:} false; then :
9264 $as_echo_n "(cached) " >&6
9265 else
9266 ac_check_soname_save_LIBS=$LIBS
9267 LIBS="-lX11 $X_LIBS $X_EXTRA_LIBS $LIBS"
9268 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9269 /* end confdefs.h. */
9271 /* Override any GCC internal prototype to avoid an error.
9272 Use char because int might match the return type of a GCC
9273 builtin and then its argument prototype would still apply. */
9274 #ifdef __cplusplus
9275 extern "C"
9276 #endif
9277 char XCreateWindow ();
9279 main ()
9281 return XCreateWindow ();
9283 return 0;
9285 _ACEOF
9286 if ac_fn_c_try_link "$LINENO"; then :
9287 case "$LIBEXT" in
9288 dll) ac_cv_lib_soname_X11=`$ac_cv_path_LDD conftest.exe | grep "X11" | sed -e "s/dll.*/dll/"';2,$d'` ;;
9289 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'` ;;
9290 *) ac_cv_lib_soname_X11=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libX11\\.$LIBEXT" | sed -e "s/^.*\\[\\(libX11\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
9291 if ${ac_cv_lib_soname_X11:+false} :; then :
9292 ac_cv_lib_soname_X11=`$LDD conftest$ac_exeext | grep "libX11\\.$LIBEXT" | sed -e "s/^.*\(libX11\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
9293 fi ;;
9294 esac
9296 rm -f core conftest.err conftest.$ac_objext \
9297 conftest$ac_exeext conftest.$ac_ext
9298 LIBS=$ac_check_soname_save_LIBS
9300 if ${ac_cv_lib_soname_X11:+false} :; then :
9301 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
9302 $as_echo "not found" >&6; }
9304 else
9305 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_X11" >&5
9306 $as_echo "$ac_cv_lib_soname_X11" >&6; }
9308 cat >>confdefs.h <<_ACEOF
9309 #define SONAME_LIBX11 "$ac_cv_lib_soname_X11"
9310 _ACEOF
9314 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lXext" >&5
9315 $as_echo_n "checking for -lXext... " >&6; }
9316 if ${ac_cv_lib_soname_Xext+:} false; then :
9317 $as_echo_n "(cached) " >&6
9318 else
9319 ac_check_soname_save_LIBS=$LIBS
9320 LIBS="-lXext $X_LIBS -lX11 $X_EXTRA_LIBS $LIBS"
9321 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9322 /* end confdefs.h. */
9324 /* Override any GCC internal prototype to avoid an error.
9325 Use char because int might match the return type of a GCC
9326 builtin and then its argument prototype would still apply. */
9327 #ifdef __cplusplus
9328 extern "C"
9329 #endif
9330 char XextCreateExtension ();
9332 main ()
9334 return XextCreateExtension ();
9336 return 0;
9338 _ACEOF
9339 if ac_fn_c_try_link "$LINENO"; then :
9340 case "$LIBEXT" in
9341 dll) ac_cv_lib_soname_Xext=`$ac_cv_path_LDD conftest.exe | grep "Xext" | sed -e "s/dll.*/dll/"';2,$d'` ;;
9342 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'` ;;
9343 *) ac_cv_lib_soname_Xext=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libXext\\.$LIBEXT" | sed -e "s/^.*\\[\\(libXext\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
9344 if ${ac_cv_lib_soname_Xext:+false} :; then :
9345 ac_cv_lib_soname_Xext=`$LDD conftest$ac_exeext | grep "libXext\\.$LIBEXT" | sed -e "s/^.*\(libXext\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
9346 fi ;;
9347 esac
9349 rm -f core conftest.err conftest.$ac_objext \
9350 conftest$ac_exeext conftest.$ac_ext
9351 LIBS=$ac_check_soname_save_LIBS
9353 if ${ac_cv_lib_soname_Xext:+false} :; then :
9354 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
9355 $as_echo "not found" >&6; }
9357 else
9358 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_Xext" >&5
9359 $as_echo "$ac_cv_lib_soname_Xext" >&6; }
9361 cat >>confdefs.h <<_ACEOF
9362 #define SONAME_LIBXEXT "$ac_cv_lib_soname_Xext"
9363 _ACEOF
9365 X_LIBS="$X_LIBS -lXext"
9367 X_LIBS="$X_LIBS -lX11"
9369 for ac_header in X11/Xlib.h \
9370 X11/XKBlib.h \
9371 X11/Xutil.h \
9372 X11/Xcursor/Xcursor.h \
9373 X11/extensions/shape.h \
9374 X11/extensions/XInput.h \
9375 X11/extensions/XInput2.h \
9376 X11/extensions/XShm.h \
9377 X11/extensions/Xcomposite.h \
9378 X11/extensions/Xinerama.h \
9379 X11/extensions/Xrandr.h \
9380 X11/extensions/Xrender.h \
9381 X11/extensions/xf86vmode.h \
9382 X11/extensions/xf86vmproto.h
9383 do :
9384 as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
9385 ac_fn_c_check_header_compile "$LINENO" "$ac_header" "$as_ac_Header" "#ifdef HAVE_X11_XLIB_H
9386 # include <X11/Xlib.h>
9387 #endif
9388 #ifdef HAVE_X11_XUTIL_H
9389 # include <X11/Xutil.h>
9390 #endif
9392 if eval test \"x\$"$as_ac_Header"\" = x"yes"; then :
9393 cat >>confdefs.h <<_ACEOF
9394 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
9395 _ACEOF
9399 done
9402 if test "$ac_cv_header_X11_XKBlib_h" = "yes"
9403 then
9404 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for XkbQueryExtension in -lX11" >&5
9405 $as_echo_n "checking for XkbQueryExtension in -lX11... " >&6; }
9406 if ${ac_cv_lib_X11_XkbQueryExtension+:} false; then :
9407 $as_echo_n "(cached) " >&6
9408 else
9409 ac_check_lib_save_LIBS=$LIBS
9410 LIBS="-lX11 $X_LIBS $X_EXTRA_LIBS $LIBS"
9411 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9412 /* end confdefs.h. */
9414 /* Override any GCC internal prototype to avoid an error.
9415 Use char because int might match the return type of a GCC
9416 builtin and then its argument prototype would still apply. */
9417 #ifdef __cplusplus
9418 extern "C"
9419 #endif
9420 char XkbQueryExtension ();
9422 main ()
9424 return XkbQueryExtension ();
9426 return 0;
9428 _ACEOF
9429 if ac_fn_c_try_link "$LINENO"; then :
9430 ac_cv_lib_X11_XkbQueryExtension=yes
9431 else
9432 ac_cv_lib_X11_XkbQueryExtension=no
9434 rm -f core conftest.err conftest.$ac_objext \
9435 conftest$ac_exeext conftest.$ac_ext
9436 LIBS=$ac_check_lib_save_LIBS
9438 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_X11_XkbQueryExtension" >&5
9439 $as_echo "$ac_cv_lib_X11_XkbQueryExtension" >&6; }
9440 if test "x$ac_cv_lib_X11_XkbQueryExtension" = xyes; then :
9442 $as_echo "#define HAVE_XKB 1" >>confdefs.h
9448 if test "$ac_cv_header_X11_Xcursor_Xcursor_h" = "yes"
9449 then
9450 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lXcursor" >&5
9451 $as_echo_n "checking for -lXcursor... " >&6; }
9452 if ${ac_cv_lib_soname_Xcursor+:} false; then :
9453 $as_echo_n "(cached) " >&6
9454 else
9455 ac_check_soname_save_LIBS=$LIBS
9456 LIBS="-lXcursor $X_LIBS $X_EXTRA_LIBS $LIBS"
9457 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9458 /* end confdefs.h. */
9460 /* Override any GCC internal prototype to avoid an error.
9461 Use char because int might match the return type of a GCC
9462 builtin and then its argument prototype would still apply. */
9463 #ifdef __cplusplus
9464 extern "C"
9465 #endif
9466 char XcursorImageLoadCursor ();
9468 main ()
9470 return XcursorImageLoadCursor ();
9472 return 0;
9474 _ACEOF
9475 if ac_fn_c_try_link "$LINENO"; then :
9476 case "$LIBEXT" in
9477 dll) ac_cv_lib_soname_Xcursor=`$ac_cv_path_LDD conftest.exe | grep "Xcursor" | sed -e "s/dll.*/dll/"';2,$d'` ;;
9478 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'` ;;
9479 *) ac_cv_lib_soname_Xcursor=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libXcursor\\.$LIBEXT" | sed -e "s/^.*\\[\\(libXcursor\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
9480 if ${ac_cv_lib_soname_Xcursor:+false} :; then :
9481 ac_cv_lib_soname_Xcursor=`$LDD conftest$ac_exeext | grep "libXcursor\\.$LIBEXT" | sed -e "s/^.*\(libXcursor\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
9482 fi ;;
9483 esac
9485 rm -f core conftest.err conftest.$ac_objext \
9486 conftest$ac_exeext conftest.$ac_ext
9487 LIBS=$ac_check_soname_save_LIBS
9489 if ${ac_cv_lib_soname_Xcursor:+false} :; then :
9490 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
9491 $as_echo "not found" >&6; }
9493 else
9494 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_Xcursor" >&5
9495 $as_echo "$ac_cv_lib_soname_Xcursor" >&6; }
9497 cat >>confdefs.h <<_ACEOF
9498 #define SONAME_LIBXCURSOR "$ac_cv_lib_soname_Xcursor"
9499 _ACEOF
9504 if test "x$ac_cv_lib_soname_Xcursor" = "x"; then :
9505 case "x$with_xcursor" in
9506 x) as_fn_append wine_notices "|libxcursor ${notice_platform}development files not found, the Xcursor extension won't be supported." ;;
9507 xno) ;;
9508 *) as_fn_error $? "libxcursor ${notice_platform}development files not found, the Xcursor extension won't be supported.
9509 This is an error since --with-xcursor was requested." "$LINENO" 5 ;;
9510 esac
9513 if test "$ac_cv_header_X11_extensions_XInput_h" = "yes"
9514 then
9515 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lXi" >&5
9516 $as_echo_n "checking for -lXi... " >&6; }
9517 if ${ac_cv_lib_soname_Xi+:} false; then :
9518 $as_echo_n "(cached) " >&6
9519 else
9520 ac_check_soname_save_LIBS=$LIBS
9521 LIBS="-lXi $X_LIBS $X_EXTRA_LIBS $LIBS"
9522 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9523 /* end confdefs.h. */
9525 /* Override any GCC internal prototype to avoid an error.
9526 Use char because int might match the return type of a GCC
9527 builtin and then its argument prototype would still apply. */
9528 #ifdef __cplusplus
9529 extern "C"
9530 #endif
9531 char XOpenDevice ();
9533 main ()
9535 return XOpenDevice ();
9537 return 0;
9539 _ACEOF
9540 if ac_fn_c_try_link "$LINENO"; then :
9541 case "$LIBEXT" in
9542 dll) ac_cv_lib_soname_Xi=`$ac_cv_path_LDD conftest.exe | grep "Xi" | sed -e "s/dll.*/dll/"';2,$d'` ;;
9543 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'` ;;
9544 *) ac_cv_lib_soname_Xi=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libXi\\.$LIBEXT" | sed -e "s/^.*\\[\\(libXi\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
9545 if ${ac_cv_lib_soname_Xi:+false} :; then :
9546 ac_cv_lib_soname_Xi=`$LDD conftest$ac_exeext | grep "libXi\\.$LIBEXT" | sed -e "s/^.*\(libXi\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
9547 fi ;;
9548 esac
9550 rm -f core conftest.err conftest.$ac_objext \
9551 conftest$ac_exeext conftest.$ac_ext
9552 LIBS=$ac_check_soname_save_LIBS
9554 if ${ac_cv_lib_soname_Xi:+false} :; then :
9555 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
9556 $as_echo "not found" >&6; }
9558 else
9559 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_Xi" >&5
9560 $as_echo "$ac_cv_lib_soname_Xi" >&6; }
9562 cat >>confdefs.h <<_ACEOF
9563 #define SONAME_LIBXI "$ac_cv_lib_soname_Xi"
9564 _ACEOF
9569 if test "x$ac_cv_lib_soname_Xi" = "x"; then :
9570 case "x$with_xinput" in
9571 x) as_fn_append wine_notices "|libxi ${notice_platform}development files not found, the Xinput extension won't be supported." ;;
9572 xno) ;;
9573 *) as_fn_error $? "libxi ${notice_platform}development files not found, the Xinput extension won't be supported.
9574 This is an error since --with-xinput was requested." "$LINENO" 5 ;;
9575 esac
9578 if test "x$ac_cv_lib_soname_Xi" != x
9579 then
9580 if test "$ac_cv_header_X11_extensions_XInput2_h" != "yes"; then :
9581 case "x$with_xinput2" in
9582 x) as_fn_append wine_notices "|XInput2 headers not found, the XInput 2 extension won't be supported." ;;
9583 xno) ;;
9584 *) as_fn_error $? "XInput2 headers not found, the XInput 2 extension won't be supported.
9585 This is an error since --with-xinput2 was requested." "$LINENO" 5 ;;
9586 esac
9590 if test "$ac_cv_header_X11_extensions_XShm_h" = "yes"
9591 then
9592 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for XShmQueryExtension in -lXext" >&5
9593 $as_echo_n "checking for XShmQueryExtension in -lXext... " >&6; }
9594 if ${ac_cv_lib_Xext_XShmQueryExtension+:} false; then :
9595 $as_echo_n "(cached) " >&6
9596 else
9597 ac_check_lib_save_LIBS=$LIBS
9598 LIBS="-lXext $X_LIBS $X_EXTRA_LIBS $LIBS"
9599 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9600 /* end confdefs.h. */
9602 /* Override any GCC internal prototype to avoid an error.
9603 Use char because int might match the return type of a GCC
9604 builtin and then its argument prototype would still apply. */
9605 #ifdef __cplusplus
9606 extern "C"
9607 #endif
9608 char XShmQueryExtension ();
9610 main ()
9612 return XShmQueryExtension ();
9614 return 0;
9616 _ACEOF
9617 if ac_fn_c_try_link "$LINENO"; then :
9618 ac_cv_lib_Xext_XShmQueryExtension=yes
9619 else
9620 ac_cv_lib_Xext_XShmQueryExtension=no
9622 rm -f core conftest.err conftest.$ac_objext \
9623 conftest$ac_exeext conftest.$ac_ext
9624 LIBS=$ac_check_lib_save_LIBS
9626 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_Xext_XShmQueryExtension" >&5
9627 $as_echo "$ac_cv_lib_Xext_XShmQueryExtension" >&6; }
9628 if test "x$ac_cv_lib_Xext_XShmQueryExtension" = xyes; then :
9630 $as_echo "#define HAVE_LIBXXSHM 1" >>confdefs.h
9635 if test "$ac_cv_lib_Xext_XShmQueryExtension" != "yes"; then :
9636 case "x$with_xshm" in
9637 x) as_fn_append wine_notices "|XShm ${notice_platform}development files not found, X Shared Memory won't be supported." ;;
9638 xno) ;;
9639 *) as_fn_error $? "XShm ${notice_platform}development files not found, X Shared Memory won't be supported.
9640 This is an error since --with-xshm was requested." "$LINENO" 5 ;;
9641 esac
9644 if test "$ac_cv_header_X11_extensions_shape_h" = "yes"
9645 then
9646 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for XShapeQueryExtension in -lXext" >&5
9647 $as_echo_n "checking for XShapeQueryExtension in -lXext... " >&6; }
9648 if ${ac_cv_lib_Xext_XShapeQueryExtension+:} false; then :
9649 $as_echo_n "(cached) " >&6
9650 else
9651 ac_check_lib_save_LIBS=$LIBS
9652 LIBS="-lXext $X_LIBS $X_EXTRA_LIBS $LIBS"
9653 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9654 /* end confdefs.h. */
9656 /* Override any GCC internal prototype to avoid an error.
9657 Use char because int might match the return type of a GCC
9658 builtin and then its argument prototype would still apply. */
9659 #ifdef __cplusplus
9660 extern "C"
9661 #endif
9662 char XShapeQueryExtension ();
9664 main ()
9666 return XShapeQueryExtension ();
9668 return 0;
9670 _ACEOF
9671 if ac_fn_c_try_link "$LINENO"; then :
9672 ac_cv_lib_Xext_XShapeQueryExtension=yes
9673 else
9674 ac_cv_lib_Xext_XShapeQueryExtension=no
9676 rm -f core conftest.err conftest.$ac_objext \
9677 conftest$ac_exeext conftest.$ac_ext
9678 LIBS=$ac_check_lib_save_LIBS
9680 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_Xext_XShapeQueryExtension" >&5
9681 $as_echo "$ac_cv_lib_Xext_XShapeQueryExtension" >&6; }
9682 if test "x$ac_cv_lib_Xext_XShapeQueryExtension" = xyes; then :
9684 $as_echo "#define HAVE_LIBXSHAPE 1" >>confdefs.h
9689 if test "$ac_cv_lib_Xext_XShapeQueryExtension" != "yes"; then :
9690 case "x$with_xshape" in
9691 x) as_fn_append wine_notices "|XShape ${notice_platform}development files not found, XShape won't be supported." ;;
9692 xno) ;;
9693 *) as_fn_error $? "XShape ${notice_platform}development files not found, XShape won't be supported.
9694 This is an error since --with-xshape was requested." "$LINENO" 5 ;;
9695 esac
9698 if test "$ac_cv_header_X11_extensions_xf86vmode_h" = "yes" -o "$ac_cv_header_X11_extensions_xf86vmproto_h" = "yes"
9699 then
9700 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lXxf86vm" >&5
9701 $as_echo_n "checking for -lXxf86vm... " >&6; }
9702 if ${ac_cv_lib_soname_Xxf86vm+:} false; then :
9703 $as_echo_n "(cached) " >&6
9704 else
9705 ac_check_soname_save_LIBS=$LIBS
9706 LIBS="-lXxf86vm $X_LIBS $X_EXTRA_LIBS $LIBS"
9707 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9708 /* end confdefs.h. */
9710 /* Override any GCC internal prototype to avoid an error.
9711 Use char because int might match the return type of a GCC
9712 builtin and then its argument prototype would still apply. */
9713 #ifdef __cplusplus
9714 extern "C"
9715 #endif
9716 char XF86VidModeQueryExtension ();
9718 main ()
9720 return XF86VidModeQueryExtension ();
9722 return 0;
9724 _ACEOF
9725 if ac_fn_c_try_link "$LINENO"; then :
9726 case "$LIBEXT" in
9727 dll) ac_cv_lib_soname_Xxf86vm=`$ac_cv_path_LDD conftest.exe | grep "Xxf86vm" | sed -e "s/dll.*/dll/"';2,$d'` ;;
9728 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'` ;;
9729 *) ac_cv_lib_soname_Xxf86vm=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libXxf86vm\\.$LIBEXT" | sed -e "s/^.*\\[\\(libXxf86vm\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
9730 if ${ac_cv_lib_soname_Xxf86vm:+false} :; then :
9731 ac_cv_lib_soname_Xxf86vm=`$LDD conftest$ac_exeext | grep "libXxf86vm\\.$LIBEXT" | sed -e "s/^.*\(libXxf86vm\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
9732 fi ;;
9733 esac
9735 rm -f core conftest.err conftest.$ac_objext \
9736 conftest$ac_exeext conftest.$ac_ext
9737 LIBS=$ac_check_soname_save_LIBS
9739 if ${ac_cv_lib_soname_Xxf86vm:+false} :; then :
9740 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
9741 $as_echo "not found" >&6; }
9743 else
9744 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_Xxf86vm" >&5
9745 $as_echo "$ac_cv_lib_soname_Xxf86vm" >&6; }
9747 cat >>confdefs.h <<_ACEOF
9748 #define SONAME_LIBXXF86VM "$ac_cv_lib_soname_Xxf86vm"
9749 _ACEOF
9754 if test "x$ac_cv_lib_soname_Xxf86vm" = "x"; then :
9755 case "x$with_xxf86vm" in
9756 x) as_fn_append wine_notices "|libXxf86vm ${notice_platform}development files not found, XFree86 Vidmode won't be supported." ;;
9757 xno) ;;
9758 *) as_fn_error $? "libXxf86vm ${notice_platform}development files not found, XFree86 Vidmode won't be supported.
9759 This is an error since --with-xxf86vm was requested." "$LINENO" 5 ;;
9760 esac
9763 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"
9764 then
9765 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lXrender" >&5
9766 $as_echo_n "checking for -lXrender... " >&6; }
9767 if ${ac_cv_lib_soname_Xrender+:} false; then :
9768 $as_echo_n "(cached) " >&6
9769 else
9770 ac_check_soname_save_LIBS=$LIBS
9771 LIBS="-lXrender $X_LIBS $X_EXTRA_LIBS $LIBS"
9772 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9773 /* end confdefs.h. */
9775 /* Override any GCC internal prototype to avoid an error.
9776 Use char because int might match the return type of a GCC
9777 builtin and then its argument prototype would still apply. */
9778 #ifdef __cplusplus
9779 extern "C"
9780 #endif
9781 char XRenderQueryExtension ();
9783 main ()
9785 return XRenderQueryExtension ();
9787 return 0;
9789 _ACEOF
9790 if ac_fn_c_try_link "$LINENO"; then :
9791 case "$LIBEXT" in
9792 dll) ac_cv_lib_soname_Xrender=`$ac_cv_path_LDD conftest.exe | grep "Xrender" | sed -e "s/dll.*/dll/"';2,$d'` ;;
9793 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'` ;;
9794 *) ac_cv_lib_soname_Xrender=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libXrender\\.$LIBEXT" | sed -e "s/^.*\\[\\(libXrender\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
9795 if ${ac_cv_lib_soname_Xrender:+false} :; then :
9796 ac_cv_lib_soname_Xrender=`$LDD conftest$ac_exeext | grep "libXrender\\.$LIBEXT" | sed -e "s/^.*\(libXrender\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
9797 fi ;;
9798 esac
9800 rm -f core conftest.err conftest.$ac_objext \
9801 conftest$ac_exeext conftest.$ac_ext
9802 LIBS=$ac_check_soname_save_LIBS
9804 if ${ac_cv_lib_soname_Xrender:+false} :; then :
9805 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
9806 $as_echo "not found" >&6; }
9808 else
9809 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_Xrender" >&5
9810 $as_echo "$ac_cv_lib_soname_Xrender" >&6; }
9812 cat >>confdefs.h <<_ACEOF
9813 #define SONAME_LIBXRENDER "$ac_cv_lib_soname_Xrender"
9814 _ACEOF
9816 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for XRenderSetPictureTransform in -lXrender" >&5
9817 $as_echo_n "checking for XRenderSetPictureTransform in -lXrender... " >&6; }
9818 if ${ac_cv_lib_Xrender_XRenderSetPictureTransform+:} false; then :
9819 $as_echo_n "(cached) " >&6
9820 else
9821 ac_check_lib_save_LIBS=$LIBS
9822 LIBS="-lXrender $X_LIBS $X_EXTRA_LIBS $LIBS"
9823 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9824 /* end confdefs.h. */
9826 /* Override any GCC internal prototype to avoid an error.
9827 Use char because int might match the return type of a GCC
9828 builtin and then its argument prototype would still apply. */
9829 #ifdef __cplusplus
9830 extern "C"
9831 #endif
9832 char XRenderSetPictureTransform ();
9834 main ()
9836 return XRenderSetPictureTransform ();
9838 return 0;
9840 _ACEOF
9841 if ac_fn_c_try_link "$LINENO"; then :
9842 ac_cv_lib_Xrender_XRenderSetPictureTransform=yes
9843 else
9844 ac_cv_lib_Xrender_XRenderSetPictureTransform=no
9846 rm -f core conftest.err conftest.$ac_objext \
9847 conftest$ac_exeext conftest.$ac_ext
9848 LIBS=$ac_check_lib_save_LIBS
9850 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_Xrender_XRenderSetPictureTransform" >&5
9851 $as_echo "$ac_cv_lib_Xrender_XRenderSetPictureTransform" >&6; }
9852 if test "x$ac_cv_lib_Xrender_XRenderSetPictureTransform" = xyes; then :
9854 $as_echo "#define HAVE_XRENDERSETPICTURETRANSFORM 1" >>confdefs.h
9858 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for XRenderCreateLinearGradient in -lXrender" >&5
9859 $as_echo_n "checking for XRenderCreateLinearGradient in -lXrender... " >&6; }
9860 if ${ac_cv_lib_Xrender_XRenderCreateLinearGradient+:} false; then :
9861 $as_echo_n "(cached) " >&6
9862 else
9863 ac_check_lib_save_LIBS=$LIBS
9864 LIBS="-lXrender $X_LIBS $X_EXTRA_LIBS $LIBS"
9865 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9866 /* end confdefs.h. */
9868 /* Override any GCC internal prototype to avoid an error.
9869 Use char because int might match the return type of a GCC
9870 builtin and then its argument prototype would still apply. */
9871 #ifdef __cplusplus
9872 extern "C"
9873 #endif
9874 char XRenderCreateLinearGradient ();
9876 main ()
9878 return XRenderCreateLinearGradient ();
9880 return 0;
9882 _ACEOF
9883 if ac_fn_c_try_link "$LINENO"; then :
9884 ac_cv_lib_Xrender_XRenderCreateLinearGradient=yes
9885 else
9886 ac_cv_lib_Xrender_XRenderCreateLinearGradient=no
9888 rm -f core conftest.err conftest.$ac_objext \
9889 conftest$ac_exeext conftest.$ac_ext
9890 LIBS=$ac_check_lib_save_LIBS
9892 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_Xrender_XRenderCreateLinearGradient" >&5
9893 $as_echo "$ac_cv_lib_Xrender_XRenderCreateLinearGradient" >&6; }
9894 if test "x$ac_cv_lib_Xrender_XRenderCreateLinearGradient" = xyes; then :
9896 $as_echo "#define HAVE_XRENDERCREATELINEARGRADIENT 1" >>confdefs.h
9903 if test "x$ac_cv_lib_soname_Xrender" = "x"; then :
9904 case "x$with_xrender" in
9905 x) as_fn_append wine_warnings "|libxrender ${notice_platform}development files not found, XRender won't be supported." ;;
9906 xno) ;;
9907 *) as_fn_error $? "libxrender ${notice_platform}development files not found, XRender won't be supported.
9908 This is an error since --with-xrender was requested." "$LINENO" 5 ;;
9909 esac
9912 if test "$ac_cv_header_X11_extensions_Xrandr_h" = "yes" -a "x$ac_cv_lib_soname_Xrender" != "x"
9913 then
9914 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9915 /* end confdefs.h. */
9916 #include <X11/Xlib.h>
9917 #include <X11/extensions/Xrandr.h>
9919 main ()
9921 static typeof(XRRSetScreenConfigAndRate) * func; if (func) return 0;
9923 return 0;
9925 _ACEOF
9926 if ac_fn_c_try_compile "$LINENO"; then :
9927 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lXrandr" >&5
9928 $as_echo_n "checking for -lXrandr... " >&6; }
9929 if ${ac_cv_lib_soname_Xrandr+:} false; then :
9930 $as_echo_n "(cached) " >&6
9931 else
9932 ac_check_soname_save_LIBS=$LIBS
9933 LIBS="-lXrandr $X_LIBS $X_EXTRA_LIBS $LIBS"
9934 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9935 /* end confdefs.h. */
9937 /* Override any GCC internal prototype to avoid an error.
9938 Use char because int might match the return type of a GCC
9939 builtin and then its argument prototype would still apply. */
9940 #ifdef __cplusplus
9941 extern "C"
9942 #endif
9943 char XRRQueryExtension ();
9945 main ()
9947 return XRRQueryExtension ();
9949 return 0;
9951 _ACEOF
9952 if ac_fn_c_try_link "$LINENO"; then :
9953 case "$LIBEXT" in
9954 dll) ac_cv_lib_soname_Xrandr=`$ac_cv_path_LDD conftest.exe | grep "Xrandr" | sed -e "s/dll.*/dll/"';2,$d'` ;;
9955 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'` ;;
9956 *) ac_cv_lib_soname_Xrandr=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libXrandr\\.$LIBEXT" | sed -e "s/^.*\\[\\(libXrandr\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
9957 if ${ac_cv_lib_soname_Xrandr:+false} :; then :
9958 ac_cv_lib_soname_Xrandr=`$LDD conftest$ac_exeext | grep "libXrandr\\.$LIBEXT" | sed -e "s/^.*\(libXrandr\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
9959 fi ;;
9960 esac
9962 rm -f core conftest.err conftest.$ac_objext \
9963 conftest$ac_exeext conftest.$ac_ext
9964 LIBS=$ac_check_soname_save_LIBS
9966 if ${ac_cv_lib_soname_Xrandr:+false} :; then :
9967 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
9968 $as_echo "not found" >&6; }
9970 else
9971 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_Xrandr" >&5
9972 $as_echo "$ac_cv_lib_soname_Xrandr" >&6; }
9974 cat >>confdefs.h <<_ACEOF
9975 #define SONAME_LIBXRANDR "$ac_cv_lib_soname_Xrandr"
9976 _ACEOF
9978 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9979 /* end confdefs.h. */
9980 #include <X11/Xlib.h>
9981 #include <X11/extensions/Xrandr.h>
9983 main ()
9985 static typeof(XRRGetScreenResources) *f; if (f) return 0;
9987 return 0;
9989 _ACEOF
9990 if ac_fn_c_try_compile "$LINENO"; then :
9992 $as_echo "#define HAVE_XRRGETSCREENRESOURCES 1" >>confdefs.h
9995 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
9998 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
10000 if test "x$ac_cv_lib_soname_Xrandr" = "x"; then :
10001 case "x$with_xrandr" in
10002 x) as_fn_append wine_notices "|libxrandr ${notice_platform}development files not found, XRandr won't be supported." ;;
10003 xno) ;;
10004 *) as_fn_error $? "libxrandr ${notice_platform}development files not found, XRandr won't be supported.
10005 This is an error since --with-xrandr was requested." "$LINENO" 5 ;;
10006 esac
10009 if test "$ac_cv_header_X11_extensions_Xinerama_h" = "yes"
10010 then
10011 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10012 /* end confdefs.h. */
10013 #include <X11/Xlib.h>
10014 #include <X11/extensions/Xinerama.h>
10016 main ()
10018 static typeof(XineramaQueryScreens) * func; if (func) return 0;
10020 return 0;
10022 _ACEOF
10023 if ac_fn_c_try_compile "$LINENO"; then :
10024 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lXinerama" >&5
10025 $as_echo_n "checking for -lXinerama... " >&6; }
10026 if ${ac_cv_lib_soname_Xinerama+:} false; then :
10027 $as_echo_n "(cached) " >&6
10028 else
10029 ac_check_soname_save_LIBS=$LIBS
10030 LIBS="-lXinerama $X_LIBS $X_EXTRA_LIBS $LIBS"
10031 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10032 /* end confdefs.h. */
10034 /* Override any GCC internal prototype to avoid an error.
10035 Use char because int might match the return type of a GCC
10036 builtin and then its argument prototype would still apply. */
10037 #ifdef __cplusplus
10038 extern "C"
10039 #endif
10040 char XineramaQueryScreens ();
10042 main ()
10044 return XineramaQueryScreens ();
10046 return 0;
10048 _ACEOF
10049 if ac_fn_c_try_link "$LINENO"; then :
10050 case "$LIBEXT" in
10051 dll) ac_cv_lib_soname_Xinerama=`$ac_cv_path_LDD conftest.exe | grep "Xinerama" | sed -e "s/dll.*/dll/"';2,$d'` ;;
10052 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'` ;;
10053 *) ac_cv_lib_soname_Xinerama=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libXinerama\\.$LIBEXT" | sed -e "s/^.*\\[\\(libXinerama\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
10054 if ${ac_cv_lib_soname_Xinerama:+false} :; then :
10055 ac_cv_lib_soname_Xinerama=`$LDD conftest$ac_exeext | grep "libXinerama\\.$LIBEXT" | sed -e "s/^.*\(libXinerama\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
10056 fi ;;
10057 esac
10059 rm -f core conftest.err conftest.$ac_objext \
10060 conftest$ac_exeext conftest.$ac_ext
10061 LIBS=$ac_check_soname_save_LIBS
10063 if ${ac_cv_lib_soname_Xinerama:+false} :; then :
10064 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
10065 $as_echo "not found" >&6; }
10067 else
10068 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_Xinerama" >&5
10069 $as_echo "$ac_cv_lib_soname_Xinerama" >&6; }
10071 cat >>confdefs.h <<_ACEOF
10072 #define SONAME_LIBXINERAMA "$ac_cv_lib_soname_Xinerama"
10073 _ACEOF
10078 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
10080 if test "x$ac_cv_lib_soname_Xinerama" = "x"; then :
10081 case "x$with_xinerama" in
10082 x) as_fn_append wine_notices "|libxinerama ${notice_platform}development files not found, multi-monitor setups won't be supported." ;;
10083 xno) ;;
10084 *) as_fn_error $? "libxinerama ${notice_platform}development files not found, multi-monitor setups won't be supported.
10085 This is an error since --with-xinerama was requested." "$LINENO" 5 ;;
10086 esac
10089 if test "$ac_cv_header_X11_extensions_Xcomposite_h" = "yes"
10090 then
10091 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lXcomposite" >&5
10092 $as_echo_n "checking for -lXcomposite... " >&6; }
10093 if ${ac_cv_lib_soname_Xcomposite+:} false; then :
10094 $as_echo_n "(cached) " >&6
10095 else
10096 ac_check_soname_save_LIBS=$LIBS
10097 LIBS="-lXcomposite $X_LIBS $X_EXTRA_LIBS $LIBS"
10098 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10099 /* end confdefs.h. */
10101 /* Override any GCC internal prototype to avoid an error.
10102 Use char because int might match the return type of a GCC
10103 builtin and then its argument prototype would still apply. */
10104 #ifdef __cplusplus
10105 extern "C"
10106 #endif
10107 char XCompositeRedirectWindow ();
10109 main ()
10111 return XCompositeRedirectWindow ();
10113 return 0;
10115 _ACEOF
10116 if ac_fn_c_try_link "$LINENO"; then :
10117 case "$LIBEXT" in
10118 dll) ac_cv_lib_soname_Xcomposite=`$ac_cv_path_LDD conftest.exe | grep "Xcomposite" | sed -e "s/dll.*/dll/"';2,$d'` ;;
10119 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'` ;;
10120 *) ac_cv_lib_soname_Xcomposite=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libXcomposite\\.$LIBEXT" | sed -e "s/^.*\\[\\(libXcomposite\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
10121 if ${ac_cv_lib_soname_Xcomposite:+false} :; then :
10122 ac_cv_lib_soname_Xcomposite=`$LDD conftest$ac_exeext | grep "libXcomposite\\.$LIBEXT" | sed -e "s/^.*\(libXcomposite\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
10123 fi ;;
10124 esac
10126 rm -f core conftest.err conftest.$ac_objext \
10127 conftest$ac_exeext conftest.$ac_ext
10128 LIBS=$ac_check_soname_save_LIBS
10130 if ${ac_cv_lib_soname_Xcomposite:+false} :; then :
10131 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
10132 $as_echo "not found" >&6; }
10134 else
10135 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_Xcomposite" >&5
10136 $as_echo "$ac_cv_lib_soname_Xcomposite" >&6; }
10138 cat >>confdefs.h <<_ACEOF
10139 #define SONAME_LIBXCOMPOSITE "$ac_cv_lib_soname_Xcomposite"
10140 _ACEOF
10145 if test "x$ac_cv_lib_soname_Xcomposite" = "x"; then :
10146 case "x$with_xcomposite" in
10147 x) as_fn_append wine_notices "|libxcomposite ${notice_platform}development files not found, Xcomposite won't be supported." ;;
10148 xno) ;;
10149 *) as_fn_error $? "libxcomposite ${notice_platform}development files not found, Xcomposite won't be supported.
10150 This is an error since --with-xcomposite was requested." "$LINENO" 5 ;;
10151 esac
10154 ac_fn_c_check_member "$LINENO" "XICCallback" "callback" "ac_cv_member_XICCallback_callback" "#ifdef HAVE_X11_XLIB_H
10155 #include <X11/Xlib.h>
10156 #endif
10158 if test "x$ac_cv_member_XICCallback_callback" = xyes; then :
10160 cat >>confdefs.h <<_ACEOF
10161 #define HAVE_XICCALLBACK_CALLBACK 1
10162 _ACEOF
10166 ac_fn_c_check_member "$LINENO" "XEvent" "xcookie" "ac_cv_member_XEvent_xcookie" "#ifdef HAVE_X11_XLIB_H
10167 #include <X11/Xlib.h>
10168 #endif
10170 if test "x$ac_cv_member_XEvent_xcookie" = xyes; then :
10172 cat >>confdefs.h <<_ACEOF
10173 #define HAVE_XEVENT_XCOOKIE 1
10174 _ACEOF
10181 opengl_msg=""
10182 if test "x$with_opengl" != "xno"
10183 then
10184 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lGL" >&5
10185 $as_echo_n "checking for -lGL... " >&6; }
10186 if ${ac_cv_lib_soname_GL+:} false; then :
10187 $as_echo_n "(cached) " >&6
10188 else
10189 ac_check_soname_save_LIBS=$LIBS
10190 LIBS="-lGL $X_LIBS -lm $X_EXTRA_LIBS $LIBS"
10191 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10192 /* end confdefs.h. */
10194 /* Override any GCC internal prototype to avoid an error.
10195 Use char because int might match the return type of a GCC
10196 builtin and then its argument prototype would still apply. */
10197 #ifdef __cplusplus
10198 extern "C"
10199 #endif
10200 char glXCreateContext ();
10202 main ()
10204 return glXCreateContext ();
10206 return 0;
10208 _ACEOF
10209 if ac_fn_c_try_link "$LINENO"; then :
10210 case "$LIBEXT" in
10211 dll) ac_cv_lib_soname_GL=`$ac_cv_path_LDD conftest.exe | grep "GL" | sed -e "s/dll.*/dll/"';2,$d'` ;;
10212 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'` ;;
10213 *) ac_cv_lib_soname_GL=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libGL\\.$LIBEXT" | sed -e "s/^.*\\[\\(libGL\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
10214 if ${ac_cv_lib_soname_GL:+false} :; then :
10215 ac_cv_lib_soname_GL=`$LDD conftest$ac_exeext | grep "libGL\\.$LIBEXT" | sed -e "s/^.*\(libGL\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
10216 fi ;;
10217 esac
10219 rm -f core conftest.err conftest.$ac_objext \
10220 conftest$ac_exeext conftest.$ac_ext
10221 LIBS=$ac_check_soname_save_LIBS
10223 if ${ac_cv_lib_soname_GL:+false} :; then :
10224 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
10225 $as_echo "not found" >&6; }
10226 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lGL" >&5
10227 $as_echo_n "checking for -lGL... " >&6; }
10228 if ${ac_cv_lib_soname_GL+:} false; then :
10229 $as_echo_n "(cached) " >&6
10230 else
10231 ac_check_soname_save_LIBS=$LIBS
10232 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"
10233 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10234 /* end confdefs.h. */
10236 /* Override any GCC internal prototype to avoid an error.
10237 Use char because int might match the return type of a GCC
10238 builtin and then its argument prototype would still apply. */
10239 #ifdef __cplusplus
10240 extern "C"
10241 #endif
10242 char glXCreateContext ();
10244 main ()
10246 return glXCreateContext ();
10248 return 0;
10250 _ACEOF
10251 if ac_fn_c_try_link "$LINENO"; then :
10252 case "$LIBEXT" in
10253 dll) ac_cv_lib_soname_GL=`$ac_cv_path_LDD conftest.exe | grep "GL" | sed -e "s/dll.*/dll/"';2,$d'` ;;
10254 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'` ;;
10255 *) ac_cv_lib_soname_GL=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libGL\\.$LIBEXT" | sed -e "s/^.*\\[\\(libGL\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
10256 if ${ac_cv_lib_soname_GL:+false} :; then :
10257 ac_cv_lib_soname_GL=`$LDD conftest$ac_exeext | grep "libGL\\.$LIBEXT" | sed -e "s/^.*\(libGL\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
10258 fi ;;
10259 esac
10261 rm -f core conftest.err conftest.$ac_objext \
10262 conftest$ac_exeext conftest.$ac_ext
10263 LIBS=$ac_check_soname_save_LIBS
10265 if ${ac_cv_lib_soname_GL:+false} :; then :
10266 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
10267 $as_echo "not found" >&6; }
10268 if test -f /usr/X11R6/lib/libGL.a
10269 then
10270 opengl_msg="/usr/X11R6/lib/libGL.a is present on your system.
10271 This probably prevents linking to OpenGL. Try deleting the file and restarting configure."
10272 else
10273 opengl_msg="No OpenGL library found on this system."
10275 else
10276 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_GL" >&5
10277 $as_echo "$ac_cv_lib_soname_GL" >&6; }
10279 cat >>confdefs.h <<_ACEOF
10280 #define SONAME_LIBGL "$ac_cv_lib_soname_GL"
10281 _ACEOF
10283 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"
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="-lGL"
10295 if test "x$with_glu" != "xno"
10296 then
10297 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for gluLookAt in -lGLU" >&5
10298 $as_echo_n "checking for gluLookAt in -lGLU... " >&6; }
10299 if ${ac_cv_lib_GLU_gluLookAt+:} false; then :
10300 $as_echo_n "(cached) " >&6
10301 else
10302 ac_check_lib_save_LIBS=$LIBS
10303 LIBS="-lGLU $OPENGL_LIBS $X_LIBS -lm $X_EXTRA_LIBS $LIBS"
10304 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10305 /* end confdefs.h. */
10307 /* Override any GCC internal prototype to avoid an error.
10308 Use char because int might match the return type of a GCC
10309 builtin and then its argument prototype would still apply. */
10310 #ifdef __cplusplus
10311 extern "C"
10312 #endif
10313 char gluLookAt ();
10315 main ()
10317 return gluLookAt ();
10319 return 0;
10321 _ACEOF
10322 if ac_fn_c_try_link "$LINENO"; then :
10323 ac_cv_lib_GLU_gluLookAt=yes
10324 else
10325 ac_cv_lib_GLU_gluLookAt=no
10327 rm -f core conftest.err conftest.$ac_objext \
10328 conftest$ac_exeext conftest.$ac_ext
10329 LIBS=$ac_check_lib_save_LIBS
10331 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_GLU_gluLookAt" >&5
10332 $as_echo "$ac_cv_lib_GLU_gluLookAt" >&6; }
10333 if test "x$ac_cv_lib_GLU_gluLookAt" = xyes; then :
10337 if test "x$ac_cv_lib_GLU_gluLookAt" != xyes; then :
10338 case "x$with_glu" in
10339 x) as_fn_append wine_notices "|libGLU ${notice_platform}development files not found, GLU won't be supported." ;;
10340 xno) ;;
10341 *) as_fn_error $? "libGLU ${notice_platform}development files not found, GLU won't be supported.
10342 This is an error since --with-glu was requested." "$LINENO" 5 ;;
10343 esac
10347 if test "x$with_osmesa" != "xno"
10348 then
10349 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lOSMesa" >&5
10350 $as_echo_n "checking for -lOSMesa... " >&6; }
10351 if ${ac_cv_lib_soname_OSMesa+:} false; then :
10352 $as_echo_n "(cached) " >&6
10353 else
10354 ac_check_soname_save_LIBS=$LIBS
10355 LIBS="-lOSMesa $X_LIBS -lm $X_EXTRA_LIBS $LIBS"
10356 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10357 /* end confdefs.h. */
10359 /* Override any GCC internal prototype to avoid an error.
10360 Use char because int might match the return type of a GCC
10361 builtin and then its argument prototype would still apply. */
10362 #ifdef __cplusplus
10363 extern "C"
10364 #endif
10365 char glAccum ();
10367 main ()
10369 return glAccum ();
10371 return 0;
10373 _ACEOF
10374 if ac_fn_c_try_link "$LINENO"; then :
10375 case "$LIBEXT" in
10376 dll) ac_cv_lib_soname_OSMesa=`$ac_cv_path_LDD conftest.exe | grep "OSMesa" | sed -e "s/dll.*/dll/"';2,$d'` ;;
10377 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'` ;;
10378 *) ac_cv_lib_soname_OSMesa=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libOSMesa\\.$LIBEXT" | sed -e "s/^.*\\[\\(libOSMesa\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
10379 if ${ac_cv_lib_soname_OSMesa:+false} :; then :
10380 ac_cv_lib_soname_OSMesa=`$LDD conftest$ac_exeext | grep "libOSMesa\\.$LIBEXT" | sed -e "s/^.*\(libOSMesa\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
10381 fi ;;
10382 esac
10384 rm -f core conftest.err conftest.$ac_objext \
10385 conftest$ac_exeext conftest.$ac_ext
10386 LIBS=$ac_check_soname_save_LIBS
10388 if ${ac_cv_lib_soname_OSMesa:+false} :; then :
10389 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
10390 $as_echo "not found" >&6; }
10392 else
10393 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_OSMesa" >&5
10394 $as_echo "$ac_cv_lib_soname_OSMesa" >&6; }
10396 cat >>confdefs.h <<_ACEOF
10397 #define SONAME_LIBOSMESA "$ac_cv_lib_soname_OSMesa"
10398 _ACEOF
10402 if test "x$ac_cv_lib_soname_OSMesa" = "x"; then :
10403 case "x$with_osmesa" in
10404 x) as_fn_append wine_notices "|libOSMesa ${notice_platform}development files not found (or too old), OpenGL rendering in bitmaps won't be supported." ;;
10405 xno) ;;
10406 *) as_fn_error $? "libOSMesa ${notice_platform}development files not found (or too old), OpenGL rendering in bitmaps won't be supported.
10407 This is an error since --with-osmesa was requested." "$LINENO" 5 ;;
10408 esac
10412 if test -n "$opengl_msg"; then :
10413 case "x$with_opengl" in
10414 x) as_fn_append wine_warnings "|$opengl_msg
10415 OpenGL and Direct3D won't be supported." ;;
10416 xno) ;;
10417 *) as_fn_error $? "$opengl_msg
10418 OpenGL and Direct3D won't be supported.
10419 This is an error since --with-opengl was requested." "$LINENO" 5 ;;
10420 esac
10423 CPPFLAGS="$ac_save_CPPFLAGS"
10424 else
10425 X_CFLAGS=""
10426 X_LIBS=""
10427 enable_winex11_drv=${enable_winex11_drv:-no}
10429 if test "x$X_LIBS" = "x"; then :
10430 case "x$with_x" in
10431 xno) ;;
10432 *) as_fn_error $? "X ${notice_platform}development files not found. Wine will be built
10433 without X support, which probably isn't what you want. You will need
10434 to install ${notice_platform}development packages of Xlib/Xfree86 at the very least.
10435 Use the --without-x option if you really want this." "$LINENO" 5 ;;
10436 esac
10439 test "x$ac_cv_lib_GLU_gluLookAt" != xyes && enable_glu32=${enable_glu32:-no}
10441 if test "$ac_cv_header_CL_cl_h" = "yes"
10442 then
10443 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for clGetPlatformInfo in -lOpenCL" >&5
10444 $as_echo_n "checking for clGetPlatformInfo in -lOpenCL... " >&6; }
10445 if ${ac_cv_lib_OpenCL_clGetPlatformInfo+:} false; then :
10446 $as_echo_n "(cached) " >&6
10447 else
10448 ac_check_lib_save_LIBS=$LIBS
10449 LIBS="-lOpenCL $LIBS"
10450 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10451 /* end confdefs.h. */
10453 /* Override any GCC internal prototype to avoid an error.
10454 Use char because int might match the return type of a GCC
10455 builtin and then its argument prototype would still apply. */
10456 #ifdef __cplusplus
10457 extern "C"
10458 #endif
10459 char clGetPlatformInfo ();
10461 main ()
10463 return clGetPlatformInfo ();
10465 return 0;
10467 _ACEOF
10468 if ac_fn_c_try_link "$LINENO"; then :
10469 ac_cv_lib_OpenCL_clGetPlatformInfo=yes
10470 else
10471 ac_cv_lib_OpenCL_clGetPlatformInfo=no
10473 rm -f core conftest.err conftest.$ac_objext \
10474 conftest$ac_exeext conftest.$ac_ext
10475 LIBS=$ac_check_lib_save_LIBS
10477 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_OpenCL_clGetPlatformInfo" >&5
10478 $as_echo "$ac_cv_lib_OpenCL_clGetPlatformInfo" >&6; }
10479 if test "x$ac_cv_lib_OpenCL_clGetPlatformInfo" = xyes; then :
10480 OPENCL_LIBS="-lOpenCL"
10485 if test "x$ac_cv_lib_OpenCL_clGetPlatformInfo" != xyes; then :
10486 case "x$with_opencl" in
10487 x) as_fn_append wine_notices "|OpenCL ${notice_platform}development files not found, OpenCL won't be supported." ;;
10488 xno) ;;
10489 *) as_fn_error $? "OpenCL ${notice_platform}development files not found, OpenCL won't be supported.
10490 This is an error since --with-opencl was requested." "$LINENO" 5 ;;
10491 esac
10493 test "x$ac_cv_lib_OpenCL_clGetPlatformInfo" != xyes && enable_opencl=${enable_opencl:-no}
10496 if test "x$with_xml" != "xno"
10497 then
10498 if ${XML2_CFLAGS:+false} :; then :
10499 if ${PKG_CONFIG+:} false; then :
10500 XML2_CFLAGS=`$PKG_CONFIG --cflags libxml-2.0 2>/dev/null`
10503 test "$cross_compiling" = yes || XML2_CFLAGS=${XML2_CFLAGS:-`xml2-config --cflags 2>/dev/null`}
10504 if ${XML2_LIBS:+false} :; then :
10505 if ${PKG_CONFIG+:} false; then :
10506 XML2_LIBS=`$PKG_CONFIG --libs libxml-2.0 2>/dev/null`
10509 test "$cross_compiling" = yes || XML2_LIBS=${XML2_LIBS:-`xml2-config --libs 2>/dev/null`}
10510 XML2_LIBS=${XML2_LIBS:-"-lxml2"}
10511 $as_echo "$as_me:${as_lineno-$LINENO}: libxml-2.0 cflags: $XML2_CFLAGS" >&5
10512 $as_echo "$as_me:${as_lineno-$LINENO}: libxml-2.0 libs: $XML2_LIBS" >&5
10513 ac_save_CPPFLAGS=$CPPFLAGS
10514 CPPFLAGS="$CPPFLAGS $XML2_CFLAGS"
10515 for ac_header in libxml/parser.h libxml/xmlsave.h libxml/SAX2.h
10516 do :
10517 as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
10518 ac_fn_c_check_header_mongrel "$LINENO" "$ac_header" "$as_ac_Header" "$ac_includes_default"
10519 if eval test \"x\$"$as_ac_Header"\" = x"yes"; then :
10520 cat >>confdefs.h <<_ACEOF
10521 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
10522 _ACEOF
10526 done
10528 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"
10529 then
10530 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for xmlParseMemory in -lxml2" >&5
10531 $as_echo_n "checking for xmlParseMemory in -lxml2... " >&6; }
10532 if ${ac_cv_lib_xml2_xmlParseMemory+:} false; then :
10533 $as_echo_n "(cached) " >&6
10534 else
10535 ac_check_lib_save_LIBS=$LIBS
10536 LIBS="-lxml2 $XML2_LIBS $LIBS"
10537 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10538 /* end confdefs.h. */
10540 /* Override any GCC internal prototype to avoid an error.
10541 Use char because int might match the return type of a GCC
10542 builtin and then its argument prototype would still apply. */
10543 #ifdef __cplusplus
10544 extern "C"
10545 #endif
10546 char xmlParseMemory ();
10548 main ()
10550 return xmlParseMemory ();
10552 return 0;
10554 _ACEOF
10555 if ac_fn_c_try_link "$LINENO"; then :
10556 ac_cv_lib_xml2_xmlParseMemory=yes
10557 else
10558 ac_cv_lib_xml2_xmlParseMemory=no
10560 rm -f core conftest.err conftest.$ac_objext \
10561 conftest$ac_exeext conftest.$ac_ext
10562 LIBS=$ac_check_lib_save_LIBS
10564 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_xml2_xmlParseMemory" >&5
10565 $as_echo "$ac_cv_lib_xml2_xmlParseMemory" >&6; }
10566 if test "x$ac_cv_lib_xml2_xmlParseMemory" = xyes; then :
10568 $as_echo "#define HAVE_LIBXML2 1" >>confdefs.h
10570 else
10571 XML2_LIBS=""
10574 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for xmlReadMemory in -lxml2" >&5
10575 $as_echo_n "checking for xmlReadMemory in -lxml2... " >&6; }
10576 if ${ac_cv_lib_xml2_xmlReadMemory+:} false; then :
10577 $as_echo_n "(cached) " >&6
10578 else
10579 ac_check_lib_save_LIBS=$LIBS
10580 LIBS="-lxml2 $XML2_LIBS $LIBS"
10581 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10582 /* end confdefs.h. */
10584 /* Override any GCC internal prototype to avoid an error.
10585 Use char because int might match the return type of a GCC
10586 builtin and then its argument prototype would still apply. */
10587 #ifdef __cplusplus
10588 extern "C"
10589 #endif
10590 char xmlReadMemory ();
10592 main ()
10594 return xmlReadMemory ();
10596 return 0;
10598 _ACEOF
10599 if ac_fn_c_try_link "$LINENO"; then :
10600 ac_cv_lib_xml2_xmlReadMemory=yes
10601 else
10602 ac_cv_lib_xml2_xmlReadMemory=no
10604 rm -f core conftest.err conftest.$ac_objext \
10605 conftest$ac_exeext conftest.$ac_ext
10606 LIBS=$ac_check_lib_save_LIBS
10608 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_xml2_xmlReadMemory" >&5
10609 $as_echo "$ac_cv_lib_xml2_xmlReadMemory" >&6; }
10610 if test "x$ac_cv_lib_xml2_xmlReadMemory" = xyes; then :
10612 $as_echo "#define HAVE_XMLREADMEMORY 1" >>confdefs.h
10616 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for xmlNewDocPI in -lxml2" >&5
10617 $as_echo_n "checking for xmlNewDocPI in -lxml2... " >&6; }
10618 if ${ac_cv_lib_xml2_xmlNewDocPI+:} false; then :
10619 $as_echo_n "(cached) " >&6
10620 else
10621 ac_check_lib_save_LIBS=$LIBS
10622 LIBS="-lxml2 $XML2_LIBS $LIBS"
10623 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10624 /* end confdefs.h. */
10626 /* Override any GCC internal prototype to avoid an error.
10627 Use char because int might match the return type of a GCC
10628 builtin and then its argument prototype would still apply. */
10629 #ifdef __cplusplus
10630 extern "C"
10631 #endif
10632 char xmlNewDocPI ();
10634 main ()
10636 return xmlNewDocPI ();
10638 return 0;
10640 _ACEOF
10641 if ac_fn_c_try_link "$LINENO"; then :
10642 ac_cv_lib_xml2_xmlNewDocPI=yes
10643 else
10644 ac_cv_lib_xml2_xmlNewDocPI=no
10646 rm -f core conftest.err conftest.$ac_objext \
10647 conftest$ac_exeext conftest.$ac_ext
10648 LIBS=$ac_check_lib_save_LIBS
10650 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_xml2_xmlNewDocPI" >&5
10651 $as_echo "$ac_cv_lib_xml2_xmlNewDocPI" >&6; }
10652 if test "x$ac_cv_lib_xml2_xmlNewDocPI" = xyes; then :
10654 $as_echo "#define HAVE_XMLNEWDOCPI 1" >>confdefs.h
10658 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for xmlSchemaSetParserStructuredErrors in -lxml2" >&5
10659 $as_echo_n "checking for xmlSchemaSetParserStructuredErrors in -lxml2... " >&6; }
10660 if ${ac_cv_lib_xml2_xmlSchemaSetParserStructuredErrors+:} false; then :
10661 $as_echo_n "(cached) " >&6
10662 else
10663 ac_check_lib_save_LIBS=$LIBS
10664 LIBS="-lxml2 $XML2_LIBS $LIBS"
10665 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10666 /* end confdefs.h. */
10668 /* Override any GCC internal prototype to avoid an error.
10669 Use char because int might match the return type of a GCC
10670 builtin and then its argument prototype would still apply. */
10671 #ifdef __cplusplus
10672 extern "C"
10673 #endif
10674 char xmlSchemaSetParserStructuredErrors ();
10676 main ()
10678 return xmlSchemaSetParserStructuredErrors ();
10680 return 0;
10682 _ACEOF
10683 if ac_fn_c_try_link "$LINENO"; then :
10684 ac_cv_lib_xml2_xmlSchemaSetParserStructuredErrors=yes
10685 else
10686 ac_cv_lib_xml2_xmlSchemaSetParserStructuredErrors=no
10688 rm -f core conftest.err conftest.$ac_objext \
10689 conftest$ac_exeext conftest.$ac_ext
10690 LIBS=$ac_check_lib_save_LIBS
10692 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_xml2_xmlSchemaSetParserStructuredErrors" >&5
10693 $as_echo "$ac_cv_lib_xml2_xmlSchemaSetParserStructuredErrors" >&6; }
10694 if test "x$ac_cv_lib_xml2_xmlSchemaSetParserStructuredErrors" = xyes; then :
10696 $as_echo "#define HAVE_XMLSCHEMASSETPARSERSTRUCTUREDERRORS 1" >>confdefs.h
10700 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for xmlSchemaSetValidStructuredErrors in -lxml2" >&5
10701 $as_echo_n "checking for xmlSchemaSetValidStructuredErrors in -lxml2... " >&6; }
10702 if ${ac_cv_lib_xml2_xmlSchemaSetValidStructuredErrors+:} false; then :
10703 $as_echo_n "(cached) " >&6
10704 else
10705 ac_check_lib_save_LIBS=$LIBS
10706 LIBS="-lxml2 $XML2_LIBS $LIBS"
10707 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10708 /* end confdefs.h. */
10710 /* Override any GCC internal prototype to avoid an error.
10711 Use char because int might match the return type of a GCC
10712 builtin and then its argument prototype would still apply. */
10713 #ifdef __cplusplus
10714 extern "C"
10715 #endif
10716 char xmlSchemaSetValidStructuredErrors ();
10718 main ()
10720 return xmlSchemaSetValidStructuredErrors ();
10722 return 0;
10724 _ACEOF
10725 if ac_fn_c_try_link "$LINENO"; then :
10726 ac_cv_lib_xml2_xmlSchemaSetValidStructuredErrors=yes
10727 else
10728 ac_cv_lib_xml2_xmlSchemaSetValidStructuredErrors=no
10730 rm -f core conftest.err conftest.$ac_objext \
10731 conftest$ac_exeext conftest.$ac_ext
10732 LIBS=$ac_check_lib_save_LIBS
10734 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_xml2_xmlSchemaSetValidStructuredErrors" >&5
10735 $as_echo "$ac_cv_lib_xml2_xmlSchemaSetValidStructuredErrors" >&6; }
10736 if test "x$ac_cv_lib_xml2_xmlSchemaSetValidStructuredErrors" = xyes; then :
10738 $as_echo "#define HAVE_XMLSCHEMASSETVALIDSTRUCTUREDERRORS 1" >>confdefs.h
10742 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for xmlFirstElementChild in -lxml2" >&5
10743 $as_echo_n "checking for xmlFirstElementChild in -lxml2... " >&6; }
10744 if ${ac_cv_lib_xml2_xmlFirstElementChild+:} false; then :
10745 $as_echo_n "(cached) " >&6
10746 else
10747 ac_check_lib_save_LIBS=$LIBS
10748 LIBS="-lxml2 $XML2_LIBS $LIBS"
10749 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10750 /* end confdefs.h. */
10752 /* Override any GCC internal prototype to avoid an error.
10753 Use char because int might match the return type of a GCC
10754 builtin and then its argument prototype would still apply. */
10755 #ifdef __cplusplus
10756 extern "C"
10757 #endif
10758 char xmlFirstElementChild ();
10760 main ()
10762 return xmlFirstElementChild ();
10764 return 0;
10766 _ACEOF
10767 if ac_fn_c_try_link "$LINENO"; then :
10768 ac_cv_lib_xml2_xmlFirstElementChild=yes
10769 else
10770 ac_cv_lib_xml2_xmlFirstElementChild=no
10772 rm -f core conftest.err conftest.$ac_objext \
10773 conftest$ac_exeext conftest.$ac_ext
10774 LIBS=$ac_check_lib_save_LIBS
10776 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_xml2_xmlFirstElementChild" >&5
10777 $as_echo "$ac_cv_lib_xml2_xmlFirstElementChild" >&6; }
10778 if test "x$ac_cv_lib_xml2_xmlFirstElementChild" = xyes; then :
10780 $as_echo "#define HAVE_XMLFIRSTELEMENTCHILD 1" >>confdefs.h
10784 ac_fn_c_check_type "$LINENO" "xmlDocProperties" "ac_cv_type_xmlDocProperties" "#include <libxml/tree.h>
10786 if test "x$ac_cv_type_xmlDocProperties" = xyes; then :
10788 $as_echo "#define HAVE_XMLDOC_PROPERTIES 1" >>confdefs.h
10792 else
10793 XML2_CFLAGS=""
10794 XML2_LIBS=""
10796 CPPFLAGS=$ac_save_CPPFLAGS
10797 test -z "$XML2_CFLAGS" || XML2_CFLAGS=`echo " $XML2_CFLAGS" | sed 's/ -I\([^/]\)/ -I\$(top_builddir)\/\1/g'`
10798 test -z "$XML2_LIBS" || XML2_LIBS=`echo " $XML2_LIBS" | sed 's/ -L\([^/]\)/ -L\$(top_builddir)\/\1/g'`
10801 if test "$ac_cv_lib_xml2_xmlParseMemory" != "yes"; then :
10802 case "x$with_xml" in
10803 x) as_fn_append wine_warnings "|libxml2 ${notice_platform}development files not found (or too old), XML won't be supported." ;;
10804 xno) ;;
10805 *) as_fn_error $? "libxml2 ${notice_platform}development files not found (or too old), XML won't be supported.
10806 This is an error since --with-xml was requested." "$LINENO" 5 ;;
10807 esac
10810 if test "x$with_xslt" != "xno"
10811 then
10812 if ${XSLT_CFLAGS:+false} :; then :
10813 if ${PKG_CONFIG+:} false; then :
10814 XSLT_CFLAGS=`$PKG_CONFIG --cflags libxslt 2>/dev/null`
10817 test "$cross_compiling" = yes || XSLT_CFLAGS=${XSLT_CFLAGS:-`xslt-config --cflags 2>/dev/null`}
10818 if ${XSLT_LIBS:+false} :; then :
10819 if ${PKG_CONFIG+:} false; then :
10820 XSLT_LIBS=`$PKG_CONFIG --libs libxslt 2>/dev/null`
10823 test "$cross_compiling" = yes || XSLT_LIBS=${XSLT_LIBS:-`xslt-config --libs 2>/dev/null`}
10824 XSLT_LIBS=${XSLT_LIBS:-"-lxml2"}
10825 $as_echo "$as_me:${as_lineno-$LINENO}: libxslt cflags: $XSLT_CFLAGS" >&5
10826 $as_echo "$as_me:${as_lineno-$LINENO}: libxslt libs: $XSLT_LIBS" >&5
10827 ac_save_CPPFLAGS=$CPPFLAGS
10828 CPPFLAGS="$CPPFLAGS $XSLT_CFLAGS"
10829 for ac_header in libxslt/pattern.h libxslt/transform.h
10830 do :
10831 as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
10832 ac_fn_c_check_header_compile "$LINENO" "$ac_header" "$as_ac_Header" "#ifdef HAVE_LIBXSLT_PATTERN_H
10833 # include <libxslt/pattern.h>
10834 #endif
10836 if eval test \"x\$"$as_ac_Header"\" = x"yes"; then :
10837 cat >>confdefs.h <<_ACEOF
10838 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
10839 _ACEOF
10843 done
10845 if test "$ac_cv_header_libxslt_transform_h" = "yes"
10846 then
10847 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lxslt" >&5
10848 $as_echo_n "checking for -lxslt... " >&6; }
10849 if ${ac_cv_lib_soname_xslt+:} false; then :
10850 $as_echo_n "(cached) " >&6
10851 else
10852 ac_check_soname_save_LIBS=$LIBS
10853 LIBS="-lxslt $XSLT_LIBS $LIBS"
10854 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10855 /* end confdefs.h. */
10857 /* Override any GCC internal prototype to avoid an error.
10858 Use char because int might match the return type of a GCC
10859 builtin and then its argument prototype would still apply. */
10860 #ifdef __cplusplus
10861 extern "C"
10862 #endif
10863 char xsltCompilePattern ();
10865 main ()
10867 return xsltCompilePattern ();
10869 return 0;
10871 _ACEOF
10872 if ac_fn_c_try_link "$LINENO"; then :
10873 case "$LIBEXT" in
10874 dll) ac_cv_lib_soname_xslt=`$ac_cv_path_LDD conftest.exe | grep "xslt" | sed -e "s/dll.*/dll/"';2,$d'` ;;
10875 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'` ;;
10876 *) ac_cv_lib_soname_xslt=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libxslt\\.$LIBEXT" | sed -e "s/^.*\\[\\(libxslt\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
10877 if ${ac_cv_lib_soname_xslt:+false} :; then :
10878 ac_cv_lib_soname_xslt=`$LDD conftest$ac_exeext | grep "libxslt\\.$LIBEXT" | sed -e "s/^.*\(libxslt\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
10879 fi ;;
10880 esac
10882 rm -f core conftest.err conftest.$ac_objext \
10883 conftest$ac_exeext conftest.$ac_ext
10884 LIBS=$ac_check_soname_save_LIBS
10886 if ${ac_cv_lib_soname_xslt:+false} :; then :
10887 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
10888 $as_echo "not found" >&6; }
10890 else
10891 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_xslt" >&5
10892 $as_echo "$ac_cv_lib_soname_xslt" >&6; }
10894 cat >>confdefs.h <<_ACEOF
10895 #define SONAME_LIBXSLT "$ac_cv_lib_soname_xslt"
10896 _ACEOF
10900 else
10901 XSLT_CFLAGS=""
10903 CPPFLAGS=$ac_save_CPPFLAGS
10904 test -z "$XSLT_CFLAGS" || XSLT_CFLAGS=`echo " $XSLT_CFLAGS" | sed 's/ -I\([^/]\)/ -I\$(top_builddir)\/\1/g'`
10905 test -z "$XSLT_LIBS" || XSLT_LIBS=`echo " $XSLT_LIBS" | sed 's/ -L\([^/]\)/ -L\$(top_builddir)\/\1/g'`
10908 if test "x$ac_cv_lib_soname_xslt" = "x"; then :
10909 case "x$with_xslt" in
10910 x) as_fn_append wine_warnings "|libxslt ${notice_platform}development files not found, xslt won't be supported." ;;
10911 xno) ;;
10912 *) as_fn_error $? "libxslt ${notice_platform}development files not found, xslt won't be supported.
10913 This is an error since --with-xslt was requested." "$LINENO" 5 ;;
10914 esac
10917 if test "x$with_dbus" != "xno"
10918 then
10919 if ${DBUS_CFLAGS:+false} :; then :
10920 if ${PKG_CONFIG+:} false; then :
10921 DBUS_CFLAGS=`$PKG_CONFIG --cflags dbus-1 2>/dev/null`
10925 if ${DBUS_LIBS:+false} :; then :
10926 if ${PKG_CONFIG+:} false; then :
10927 DBUS_LIBS=`$PKG_CONFIG --libs dbus-1 2>/dev/null`
10932 $as_echo "$as_me:${as_lineno-$LINENO}: dbus-1 cflags: $DBUS_CFLAGS" >&5
10933 $as_echo "$as_me:${as_lineno-$LINENO}: dbus-1 libs: $DBUS_LIBS" >&5
10934 ac_save_CPPFLAGS=$CPPFLAGS
10935 CPPFLAGS="$CPPFLAGS $DBUS_CFLAGS"
10936 ac_fn_c_check_header_mongrel "$LINENO" "dbus/dbus.h" "ac_cv_header_dbus_dbus_h" "$ac_includes_default"
10937 if test "x$ac_cv_header_dbus_dbus_h" = xyes; then :
10938 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -ldbus-1" >&5
10939 $as_echo_n "checking for -ldbus-1... " >&6; }
10940 if ${ac_cv_lib_soname_dbus_1+:} false; then :
10941 $as_echo_n "(cached) " >&6
10942 else
10943 ac_check_soname_save_LIBS=$LIBS
10944 LIBS="-ldbus-1 $DBUS_LIBS $LIBS"
10945 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10946 /* end confdefs.h. */
10948 /* Override any GCC internal prototype to avoid an error.
10949 Use char because int might match the return type of a GCC
10950 builtin and then its argument prototype would still apply. */
10951 #ifdef __cplusplus
10952 extern "C"
10953 #endif
10954 char dbus_connection_close ();
10956 main ()
10958 return dbus_connection_close ();
10960 return 0;
10962 _ACEOF
10963 if ac_fn_c_try_link "$LINENO"; then :
10964 case "$LIBEXT" in
10965 dll) ac_cv_lib_soname_dbus_1=`$ac_cv_path_LDD conftest.exe | grep "dbus-1" | sed -e "s/dll.*/dll/"';2,$d'` ;;
10966 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'` ;;
10967 *) 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'`
10968 if ${ac_cv_lib_soname_dbus_1:+false} :; then :
10969 ac_cv_lib_soname_dbus_1=`$LDD conftest$ac_exeext | grep "libdbus-1\\.$LIBEXT" | sed -e "s/^.*\(libdbus-1\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
10970 fi ;;
10971 esac
10973 rm -f core conftest.err conftest.$ac_objext \
10974 conftest$ac_exeext conftest.$ac_ext
10975 LIBS=$ac_check_soname_save_LIBS
10977 if ${ac_cv_lib_soname_dbus_1:+false} :; then :
10978 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
10979 $as_echo "not found" >&6; }
10980 DBUS_CFLAGS=""
10981 else
10982 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_dbus_1" >&5
10983 $as_echo "$ac_cv_lib_soname_dbus_1" >&6; }
10985 cat >>confdefs.h <<_ACEOF
10986 #define SONAME_LIBDBUS_1 "$ac_cv_lib_soname_dbus_1"
10987 _ACEOF
10991 else
10992 DBUS_CFLAGS=""
10996 CPPFLAGS=$ac_save_CPPFLAGS
10997 test -z "$DBUS_CFLAGS" || DBUS_CFLAGS=`echo " $DBUS_CFLAGS" | sed 's/ -I\([^/]\)/ -I\$(top_builddir)\/\1/g'`
10998 test -z "$DBUS_LIBS" || DBUS_LIBS=`echo " $DBUS_LIBS" | sed 's/ -L\([^/]\)/ -L\$(top_builddir)\/\1/g'`
11001 if test "x$ac_cv_lib_soname_dbus_1" = "x" -a \
11002 "x$ac_cv_header_DiskArbitration_DiskArbitration_h" != "xyes"; then :
11003 case "x$with_dbus" in
11004 x) as_fn_append wine_notices "|libdbus ${notice_platform}development files not found, no dynamic device support." ;;
11005 xno) ;;
11006 *) as_fn_error $? "libdbus ${notice_platform}development files not found, no dynamic device support.
11007 This is an error since --with-dbus was requested." "$LINENO" 5 ;;
11008 esac
11011 if test "x$with_hal" != "xno" -a "x$ac_cv_lib_soname_dbus_1" != x
11012 then
11013 if ${HAL_CFLAGS:+false} :; then :
11014 if ${PKG_CONFIG+:} false; then :
11015 HAL_CFLAGS=`$PKG_CONFIG --cflags hal 2>/dev/null`
11019 if ${HAL_LIBS:+false} :; then :
11020 if ${PKG_CONFIG+:} false; then :
11021 HAL_LIBS=`$PKG_CONFIG --libs hal 2>/dev/null`
11025 HAL_LIBS=${HAL_LIBS:-"-ldbus-1"}
11026 $as_echo "$as_me:${as_lineno-$LINENO}: hal cflags: $HAL_CFLAGS" >&5
11027 $as_echo "$as_me:${as_lineno-$LINENO}: hal libs: $HAL_LIBS" >&5
11028 ac_save_CPPFLAGS=$CPPFLAGS
11029 CPPFLAGS="$CPPFLAGS $HAL_CFLAGS"
11030 ac_fn_c_check_header_mongrel "$LINENO" "hal/libhal.h" "ac_cv_header_hal_libhal_h" "$ac_includes_default"
11031 if test "x$ac_cv_header_hal_libhal_h" = xyes; then :
11032 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lhal" >&5
11033 $as_echo_n "checking for -lhal... " >&6; }
11034 if ${ac_cv_lib_soname_hal+:} false; then :
11035 $as_echo_n "(cached) " >&6
11036 else
11037 ac_check_soname_save_LIBS=$LIBS
11038 LIBS="-lhal $HAL_LIBS $LIBS"
11039 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11040 /* end confdefs.h. */
11042 /* Override any GCC internal prototype to avoid an error.
11043 Use char because int might match the return type of a GCC
11044 builtin and then its argument prototype would still apply. */
11045 #ifdef __cplusplus
11046 extern "C"
11047 #endif
11048 char libhal_ctx_new ();
11050 main ()
11052 return libhal_ctx_new ();
11054 return 0;
11056 _ACEOF
11057 if ac_fn_c_try_link "$LINENO"; then :
11058 case "$LIBEXT" in
11059 dll) ac_cv_lib_soname_hal=`$ac_cv_path_LDD conftest.exe | grep "hal" | sed -e "s/dll.*/dll/"';2,$d'` ;;
11060 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'` ;;
11061 *) ac_cv_lib_soname_hal=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libhal\\.$LIBEXT" | sed -e "s/^.*\\[\\(libhal\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
11062 if ${ac_cv_lib_soname_hal:+false} :; then :
11063 ac_cv_lib_soname_hal=`$LDD conftest$ac_exeext | grep "libhal\\.$LIBEXT" | sed -e "s/^.*\(libhal\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
11064 fi ;;
11065 esac
11067 rm -f core conftest.err conftest.$ac_objext \
11068 conftest$ac_exeext conftest.$ac_ext
11069 LIBS=$ac_check_soname_save_LIBS
11071 if ${ac_cv_lib_soname_hal:+false} :; then :
11072 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
11073 $as_echo "not found" >&6; }
11074 HAL_CFLAGS=""
11075 else
11076 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_hal" >&5
11077 $as_echo "$ac_cv_lib_soname_hal" >&6; }
11079 cat >>confdefs.h <<_ACEOF
11080 #define SONAME_LIBHAL "$ac_cv_lib_soname_hal"
11081 _ACEOF
11085 else
11086 HAL_CFLAGS=""
11090 CPPFLAGS=$ac_save_CPPFLAGS
11091 test -z "$HAL_CFLAGS" || HAL_CFLAGS=`echo " $HAL_CFLAGS" | sed 's/ -I\([^/]\)/ -I\$(top_builddir)\/\1/g'`
11092 test -z "$HAL_LIBS" || HAL_LIBS=`echo " $HAL_LIBS" | sed 's/ -L\([^/]\)/ -L\$(top_builddir)\/\1/g'`
11094 if test "x$ac_cv_lib_soname_hal" = "x" -a \
11095 "x$ac_cv_header_DiskArbitration_DiskArbitration_h" != "xyes"; then :
11096 case "x$with_hal" in
11097 x) as_fn_append wine_notices "|libhal ${notice_platform}development files not found, no legacy dynamic device support." ;;
11098 xno) ;;
11099 *) as_fn_error $? "libhal ${notice_platform}development files not found, no legacy dynamic device support.
11100 This is an error since --with-hal was requested." "$LINENO" 5 ;;
11101 esac
11105 if test "x$with_gnutls" != "xno"
11106 then
11107 if ${GNUTLS_CFLAGS:+false} :; then :
11108 if ${PKG_CONFIG+:} false; then :
11109 GNUTLS_CFLAGS=`$PKG_CONFIG --cflags gnutls 2>/dev/null`
11113 if ${GNUTLS_LIBS:+false} :; then :
11114 if ${PKG_CONFIG+:} false; then :
11115 GNUTLS_LIBS=`$PKG_CONFIG --libs gnutls 2>/dev/null`
11120 $as_echo "$as_me:${as_lineno-$LINENO}: gnutls cflags: $GNUTLS_CFLAGS" >&5
11121 $as_echo "$as_me:${as_lineno-$LINENO}: gnutls libs: $GNUTLS_LIBS" >&5
11122 ac_save_CPPFLAGS=$CPPFLAGS
11123 CPPFLAGS="$CPPFLAGS $GNUTLS_CFLAGS"
11124 ac_fn_c_check_header_mongrel "$LINENO" "gnutls/gnutls.h" "ac_cv_header_gnutls_gnutls_h" "$ac_includes_default"
11125 if test "x$ac_cv_header_gnutls_gnutls_h" = xyes; then :
11126 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11127 /* end confdefs.h. */
11128 #include <gnutls/gnutls.h>
11129 #include <gnutls/crypto.h>
11131 main ()
11133 static typeof(gnutls_mac_get_key_size) *func; if (func) return 0;
11135 return 0;
11137 _ACEOF
11138 if ac_fn_c_try_compile "$LINENO"; then :
11139 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lgnutls" >&5
11140 $as_echo_n "checking for -lgnutls... " >&6; }
11141 if ${ac_cv_lib_soname_gnutls+:} false; then :
11142 $as_echo_n "(cached) " >&6
11143 else
11144 ac_check_soname_save_LIBS=$LIBS
11145 LIBS="-lgnutls $GNUTLS_LIBS $LIBS"
11146 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11147 /* end confdefs.h. */
11149 /* Override any GCC internal prototype to avoid an error.
11150 Use char because int might match the return type of a GCC
11151 builtin and then its argument prototype would still apply. */
11152 #ifdef __cplusplus
11153 extern "C"
11154 #endif
11155 char gnutls_global_init ();
11157 main ()
11159 return gnutls_global_init ();
11161 return 0;
11163 _ACEOF
11164 if ac_fn_c_try_link "$LINENO"; then :
11165 case "$LIBEXT" in
11166 dll) ac_cv_lib_soname_gnutls=`$ac_cv_path_LDD conftest.exe | grep "gnutls" | sed -e "s/dll.*/dll/"';2,$d'` ;;
11167 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'` ;;
11168 *) ac_cv_lib_soname_gnutls=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libgnutls\\.$LIBEXT" | sed -e "s/^.*\\[\\(libgnutls\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
11169 if ${ac_cv_lib_soname_gnutls:+false} :; then :
11170 ac_cv_lib_soname_gnutls=`$LDD conftest$ac_exeext | grep "libgnutls\\.$LIBEXT" | sed -e "s/^.*\(libgnutls\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
11171 fi ;;
11172 esac
11174 rm -f core conftest.err conftest.$ac_objext \
11175 conftest$ac_exeext conftest.$ac_ext
11176 LIBS=$ac_check_soname_save_LIBS
11178 if ${ac_cv_lib_soname_gnutls:+false} :; then :
11179 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
11180 $as_echo "not found" >&6; }
11181 GNUTLS_CFLAGS=""
11182 else
11183 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_gnutls" >&5
11184 $as_echo "$ac_cv_lib_soname_gnutls" >&6; }
11186 cat >>confdefs.h <<_ACEOF
11187 #define SONAME_LIBGNUTLS "$ac_cv_lib_soname_gnutls"
11188 _ACEOF
11193 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
11194 else
11195 GNUTLS_CFLAGS=""
11199 CPPFLAGS=$ac_save_CPPFLAGS
11200 test -z "$GNUTLS_CFLAGS" || GNUTLS_CFLAGS=`echo " $GNUTLS_CFLAGS" | sed 's/ -I\([^/]\)/ -I\$(top_builddir)\/\1/g'`
11201 test -z "$GNUTLS_LIBS" || GNUTLS_LIBS=`echo " $GNUTLS_LIBS" | sed 's/ -L\([^/]\)/ -L\$(top_builddir)\/\1/g'`
11204 if test "x$ac_cv_lib_soname_gnutls" = "x"; then :
11205 case "x$with_gnutls" in
11206 x) as_fn_append wine_warnings "|libgnutls ${notice_platform}development files not found, no schannel support." ;;
11207 xno) ;;
11208 *) as_fn_error $? "libgnutls ${notice_platform}development files not found, no schannel support.
11209 This is an error since --with-gnutls was requested." "$LINENO" 5 ;;
11210 esac
11213 CURSES_LIBS=""
11214 if test "$ac_cv_header_ncurses_h" = "yes"
11215 then
11216 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lncurses" >&5
11217 $as_echo_n "checking for -lncurses... " >&6; }
11218 if ${ac_cv_lib_soname_ncurses+:} false; then :
11219 $as_echo_n "(cached) " >&6
11220 else
11221 ac_check_soname_save_LIBS=$LIBS
11222 LIBS="-lncurses $LIBS"
11223 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11224 /* end confdefs.h. */
11226 /* Override any GCC internal prototype to avoid an error.
11227 Use char because int might match the return type of a GCC
11228 builtin and then its argument prototype would still apply. */
11229 #ifdef __cplusplus
11230 extern "C"
11231 #endif
11232 char waddch ();
11234 main ()
11236 return waddch ();
11238 return 0;
11240 _ACEOF
11241 if ac_fn_c_try_link "$LINENO"; then :
11242 case "$LIBEXT" in
11243 dll) ac_cv_lib_soname_ncurses=`$ac_cv_path_LDD conftest.exe | grep "ncurses" | sed -e "s/dll.*/dll/"';2,$d'` ;;
11244 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'` ;;
11245 *) ac_cv_lib_soname_ncurses=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libncurses\\.$LIBEXT" | sed -e "s/^.*\\[\\(libncurses\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
11246 if ${ac_cv_lib_soname_ncurses:+false} :; then :
11247 ac_cv_lib_soname_ncurses=`$LDD conftest$ac_exeext | grep "libncurses\\.$LIBEXT" | sed -e "s/^.*\(libncurses\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
11248 fi ;;
11249 esac
11251 rm -f core conftest.err conftest.$ac_objext \
11252 conftest$ac_exeext conftest.$ac_ext
11253 LIBS=$ac_check_soname_save_LIBS
11255 if ${ac_cv_lib_soname_ncurses:+false} :; then :
11256 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
11257 $as_echo "not found" >&6; }
11259 else
11260 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_ncurses" >&5
11261 $as_echo "$ac_cv_lib_soname_ncurses" >&6; }
11263 cat >>confdefs.h <<_ACEOF
11264 #define SONAME_LIBNCURSES "$ac_cv_lib_soname_ncurses"
11265 _ACEOF
11267 CURSES_LIBS="-lncurses"
11269 elif test "$ac_cv_header_curses_h" = "yes"
11270 then
11271 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lcurses" >&5
11272 $as_echo_n "checking for -lcurses... " >&6; }
11273 if ${ac_cv_lib_soname_curses+:} false; then :
11274 $as_echo_n "(cached) " >&6
11275 else
11276 ac_check_soname_save_LIBS=$LIBS
11277 LIBS="-lcurses $LIBS"
11278 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11279 /* end confdefs.h. */
11281 /* Override any GCC internal prototype to avoid an error.
11282 Use char because int might match the return type of a GCC
11283 builtin and then its argument prototype would still apply. */
11284 #ifdef __cplusplus
11285 extern "C"
11286 #endif
11287 char waddch ();
11289 main ()
11291 return waddch ();
11293 return 0;
11295 _ACEOF
11296 if ac_fn_c_try_link "$LINENO"; then :
11297 case "$LIBEXT" in
11298 dll) ac_cv_lib_soname_curses=`$ac_cv_path_LDD conftest.exe | grep "curses" | sed -e "s/dll.*/dll/"';2,$d'` ;;
11299 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'` ;;
11300 *) ac_cv_lib_soname_curses=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libcurses\\.$LIBEXT" | sed -e "s/^.*\\[\\(libcurses\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
11301 if ${ac_cv_lib_soname_curses:+false} :; then :
11302 ac_cv_lib_soname_curses=`$LDD conftest$ac_exeext | grep "libcurses\\.$LIBEXT" | sed -e "s/^.*\(libcurses\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
11303 fi ;;
11304 esac
11306 rm -f core conftest.err conftest.$ac_objext \
11307 conftest$ac_exeext conftest.$ac_ext
11308 LIBS=$ac_check_soname_save_LIBS
11310 if ${ac_cv_lib_soname_curses:+false} :; then :
11311 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
11312 $as_echo "not found" >&6; }
11314 else
11315 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_curses" >&5
11316 $as_echo "$ac_cv_lib_soname_curses" >&6; }
11318 cat >>confdefs.h <<_ACEOF
11319 #define SONAME_LIBCURSES "$ac_cv_lib_soname_curses"
11320 _ACEOF
11322 CURSES_LIBS="-lcurses"
11325 ac_save_LIBS="$LIBS"
11326 LIBS="$LIBS $CURSES_LIBS"
11327 for ac_func in mousemask
11328 do :
11329 ac_fn_c_check_func "$LINENO" "mousemask" "ac_cv_func_mousemask"
11330 if test "x$ac_cv_func_mousemask" = xyes; then :
11331 cat >>confdefs.h <<_ACEOF
11332 #define HAVE_MOUSEMASK 1
11333 _ACEOF
11336 done
11338 LIBS="$ac_save_LIBS"
11339 if test "x$ac_cv_lib_soname_curses$ac_cv_lib_soname_ncurses" = "x"; then :
11340 case "x$with_curses" in
11341 x) as_fn_append wine_notices "|lib(n)curses ${notice_platform}development files not found, curses won't be supported." ;;
11342 xno) ;;
11343 *) as_fn_error $? "lib(n)curses ${notice_platform}development files not found, curses won't be supported.
11344 This is an error since --with-curses was requested." "$LINENO" 5 ;;
11345 esac
11348 if test "x$with_sane" != "xno"
11349 then
11350 if ${SANE_CFLAGS:+false} :; then :
11351 if ${PKG_CONFIG+:} false; then :
11352 SANE_CFLAGS=`$PKG_CONFIG --cflags libsane 2>/dev/null`
11355 test "$cross_compiling" = yes || SANE_CFLAGS=${SANE_CFLAGS:-`sane-config --cflags 2>/dev/null`}
11356 if ${SANE_LIBS:+false} :; then :
11357 if ${PKG_CONFIG+:} false; then :
11358 SANE_LIBS=`$PKG_CONFIG --libs libsane 2>/dev/null`
11361 test "$cross_compiling" = yes || SANE_LIBS=${SANE_LIBS:-`sane-config --ldflags 2>/dev/null`}
11363 $as_echo "$as_me:${as_lineno-$LINENO}: libsane cflags: $SANE_CFLAGS" >&5
11364 $as_echo "$as_me:${as_lineno-$LINENO}: libsane libs: $SANE_LIBS" >&5
11365 ac_save_CPPFLAGS=$CPPFLAGS
11366 CPPFLAGS="$CPPFLAGS $SANE_CFLAGS"
11367 ac_fn_c_check_header_mongrel "$LINENO" "sane/sane.h" "ac_cv_header_sane_sane_h" "$ac_includes_default"
11368 if test "x$ac_cv_header_sane_sane_h" = xyes; then :
11369 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lsane" >&5
11370 $as_echo_n "checking for -lsane... " >&6; }
11371 if ${ac_cv_lib_soname_sane+:} false; then :
11372 $as_echo_n "(cached) " >&6
11373 else
11374 ac_check_soname_save_LIBS=$LIBS
11375 LIBS="-lsane $SANE_LIBS $LIBS"
11376 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11377 /* end confdefs.h. */
11379 /* Override any GCC internal prototype to avoid an error.
11380 Use char because int might match the return type of a GCC
11381 builtin and then its argument prototype would still apply. */
11382 #ifdef __cplusplus
11383 extern "C"
11384 #endif
11385 char sane_init ();
11387 main ()
11389 return sane_init ();
11391 return 0;
11393 _ACEOF
11394 if ac_fn_c_try_link "$LINENO"; then :
11395 case "$LIBEXT" in
11396 dll) ac_cv_lib_soname_sane=`$ac_cv_path_LDD conftest.exe | grep "sane" | sed -e "s/dll.*/dll/"';2,$d'` ;;
11397 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'` ;;
11398 *) ac_cv_lib_soname_sane=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libsane\\.$LIBEXT" | sed -e "s/^.*\\[\\(libsane\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
11399 if ${ac_cv_lib_soname_sane:+false} :; then :
11400 ac_cv_lib_soname_sane=`$LDD conftest$ac_exeext | grep "libsane\\.$LIBEXT" | sed -e "s/^.*\(libsane\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
11401 fi ;;
11402 esac
11404 rm -f core conftest.err conftest.$ac_objext \
11405 conftest$ac_exeext conftest.$ac_ext
11406 LIBS=$ac_check_soname_save_LIBS
11408 if ${ac_cv_lib_soname_sane:+false} :; then :
11409 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
11410 $as_echo "not found" >&6; }
11411 SANE_CFLAGS=""
11412 else
11413 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_sane" >&5
11414 $as_echo "$ac_cv_lib_soname_sane" >&6; }
11416 cat >>confdefs.h <<_ACEOF
11417 #define SONAME_LIBSANE "$ac_cv_lib_soname_sane"
11418 _ACEOF
11422 else
11423 SANE_CFLAGS=""
11427 CPPFLAGS=$ac_save_CPPFLAGS
11428 test -z "$SANE_CFLAGS" || SANE_CFLAGS=`echo " $SANE_CFLAGS" | sed 's/ -I\([^/]\)/ -I\$(top_builddir)\/\1/g'`
11429 test -z "$SANE_LIBS" || SANE_LIBS=`echo " $SANE_LIBS" | sed 's/ -L\([^/]\)/ -L\$(top_builddir)\/\1/g'`
11432 if test "x$ac_cv_lib_soname_sane" = "x"; then :
11433 case "x$with_sane" in
11434 x) as_fn_append wine_notices "|libsane ${notice_platform}development files not found, scanners won't be supported." ;;
11435 xno) ;;
11436 *) as_fn_error $? "libsane ${notice_platform}development files not found, scanners won't be supported.
11437 This is an error since --with-sane was requested." "$LINENO" 5 ;;
11438 esac
11441 if test "x$with_v4l" != "xno"
11442 then
11443 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lv4l1" >&5
11444 $as_echo_n "checking for -lv4l1... " >&6; }
11445 if ${ac_cv_lib_soname_v4l1+:} false; then :
11446 $as_echo_n "(cached) " >&6
11447 else
11448 ac_check_soname_save_LIBS=$LIBS
11449 LIBS="-lv4l1 $LIBS"
11450 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11451 /* end confdefs.h. */
11453 /* Override any GCC internal prototype to avoid an error.
11454 Use char because int might match the return type of a GCC
11455 builtin and then its argument prototype would still apply. */
11456 #ifdef __cplusplus
11457 extern "C"
11458 #endif
11459 char v4l1_open ();
11461 main ()
11463 return v4l1_open ();
11465 return 0;
11467 _ACEOF
11468 if ac_fn_c_try_link "$LINENO"; then :
11469 case "$LIBEXT" in
11470 dll) ac_cv_lib_soname_v4l1=`$ac_cv_path_LDD conftest.exe | grep "v4l1" | sed -e "s/dll.*/dll/"';2,$d'` ;;
11471 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'` ;;
11472 *) ac_cv_lib_soname_v4l1=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libv4l1\\.$LIBEXT" | sed -e "s/^.*\\[\\(libv4l1\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
11473 if ${ac_cv_lib_soname_v4l1:+false} :; then :
11474 ac_cv_lib_soname_v4l1=`$LDD conftest$ac_exeext | grep "libv4l1\\.$LIBEXT" | sed -e "s/^.*\(libv4l1\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
11475 fi ;;
11476 esac
11478 rm -f core conftest.err conftest.$ac_objext \
11479 conftest$ac_exeext conftest.$ac_ext
11480 LIBS=$ac_check_soname_save_LIBS
11482 if ${ac_cv_lib_soname_v4l1:+false} :; then :
11483 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
11484 $as_echo "not found" >&6; }
11486 else
11487 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_v4l1" >&5
11488 $as_echo "$ac_cv_lib_soname_v4l1" >&6; }
11490 cat >>confdefs.h <<_ACEOF
11491 #define SONAME_LIBV4L1 "$ac_cv_lib_soname_v4l1"
11492 _ACEOF
11497 if test "x$ac_cv_lib_soname_v4l1" = "x"; then :
11498 case "x$with_v4l" in
11499 x) as_fn_append wine_notices "|libv4l ${notice_platform}development files not found." ;;
11500 xno) ;;
11501 *) as_fn_error $? "libv4l ${notice_platform}development files not found.
11502 This is an error since --with-v4l was requested." "$LINENO" 5 ;;
11503 esac
11506 if test "x$with_gphoto" != "xno"
11507 then
11508 if ${GPHOTO2_CFLAGS:+false} :; then :
11509 if ${PKG_CONFIG+:} false; then :
11510 GPHOTO2_CFLAGS=`$PKG_CONFIG --cflags libgphoto2 2>/dev/null`
11513 test "$cross_compiling" = yes || GPHOTO2_CFLAGS=${GPHOTO2_CFLAGS:-`gphoto2-config --cflags 2>/dev/null`}
11514 if ${GPHOTO2_LIBS:+false} :; then :
11515 if ${PKG_CONFIG+:} false; then :
11516 GPHOTO2_LIBS=`$PKG_CONFIG --libs libgphoto2 2>/dev/null`
11519 test "$cross_compiling" = yes || GPHOTO2_LIBS=${GPHOTO2_LIBS:-`gphoto2-config --libs 2>/dev/null`}
11520 GPHOTO2_LIBS=${GPHOTO2_LIBS:-"-lgphoto2"}
11521 $as_echo "$as_me:${as_lineno-$LINENO}: libgphoto2 cflags: $GPHOTO2_CFLAGS" >&5
11522 $as_echo "$as_me:${as_lineno-$LINENO}: libgphoto2 libs: $GPHOTO2_LIBS" >&5
11523 ac_save_CPPFLAGS=$CPPFLAGS
11524 CPPFLAGS="$CPPFLAGS $GPHOTO2_CFLAGS"
11525 ac_fn_c_check_header_mongrel "$LINENO" "gphoto2-camera.h" "ac_cv_header_gphoto2_camera_h" "$ac_includes_default"
11526 if test "x$ac_cv_header_gphoto2_camera_h" = xyes; then :
11527 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for gp_camera_new in -lgphoto2" >&5
11528 $as_echo_n "checking for gp_camera_new in -lgphoto2... " >&6; }
11529 if ${ac_cv_lib_gphoto2_gp_camera_new+:} false; then :
11530 $as_echo_n "(cached) " >&6
11531 else
11532 ac_check_lib_save_LIBS=$LIBS
11533 LIBS="-lgphoto2 $GPHOTO2_LIBS $LIBS"
11534 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11535 /* end confdefs.h. */
11537 /* Override any GCC internal prototype to avoid an error.
11538 Use char because int might match the return type of a GCC
11539 builtin and then its argument prototype would still apply. */
11540 #ifdef __cplusplus
11541 extern "C"
11542 #endif
11543 char gp_camera_new ();
11545 main ()
11547 return gp_camera_new ();
11549 return 0;
11551 _ACEOF
11552 if ac_fn_c_try_link "$LINENO"; then :
11553 ac_cv_lib_gphoto2_gp_camera_new=yes
11554 else
11555 ac_cv_lib_gphoto2_gp_camera_new=no
11557 rm -f core conftest.err conftest.$ac_objext \
11558 conftest$ac_exeext conftest.$ac_ext
11559 LIBS=$ac_check_lib_save_LIBS
11561 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_gphoto2_gp_camera_new" >&5
11562 $as_echo "$ac_cv_lib_gphoto2_gp_camera_new" >&6; }
11563 if test "x$ac_cv_lib_gphoto2_gp_camera_new" = xyes; then :
11565 $as_echo "#define HAVE_GPHOTO2 1" >>confdefs.h
11567 else
11568 GPHOTO2_LIBS=""; GPHOTO2_CFLAGS=""
11571 else
11572 GPHOTO2_LIBS=""; GPHOTO2_CFLAGS=""
11576 CPPFLAGS=$ac_save_CPPFLAGS
11577 test -z "$GPHOTO2_CFLAGS" || GPHOTO2_CFLAGS=`echo " $GPHOTO2_CFLAGS" | sed 's/ -I\([^/]\)/ -I\$(top_builddir)\/\1/g'`
11578 test -z "$GPHOTO2_LIBS" || GPHOTO2_LIBS=`echo " $GPHOTO2_LIBS" | sed 's/ -L\([^/]\)/ -L\$(top_builddir)\/\1/g'`
11580 if ${GPHOTO2_PORT_CFLAGS:+false} :; then :
11581 if ${PKG_CONFIG+:} false; then :
11582 GPHOTO2_PORT_CFLAGS=`$PKG_CONFIG --cflags libgphoto2_port 2>/dev/null`
11585 test "$cross_compiling" = yes || GPHOTO2_PORT_CFLAGS=${GPHOTO2_PORT_CFLAGS:-`gphoto2-port-config --cflags 2>/dev/null`}
11586 if ${GPHOTO2_PORT_LIBS:+false} :; then :
11587 if ${PKG_CONFIG+:} false; then :
11588 GPHOTO2_PORT_LIBS=`$PKG_CONFIG --libs libgphoto2_port 2>/dev/null`
11591 test "$cross_compiling" = yes || GPHOTO2_PORT_LIBS=${GPHOTO2_PORT_LIBS:-`gphoto2-port-config --libs 2>/dev/null`}
11592 GPHOTO2_PORT_LIBS=${GPHOTO2_PORT_LIBS:-"-lgphoto2_port"}
11593 $as_echo "$as_me:${as_lineno-$LINENO}: libgphoto2_port cflags: $GPHOTO2_PORT_CFLAGS" >&5
11594 $as_echo "$as_me:${as_lineno-$LINENO}: libgphoto2_port libs: $GPHOTO2_PORT_LIBS" >&5
11595 ac_save_CPPFLAGS=$CPPFLAGS
11596 CPPFLAGS="$CPPFLAGS $GPHOTO2_PORT_CFLAGS"
11597 ac_fn_c_check_header_mongrel "$LINENO" "gphoto2-port.h" "ac_cv_header_gphoto2_port_h" "$ac_includes_default"
11598 if test "x$ac_cv_header_gphoto2_port_h" = xyes; then :
11599 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for gp_port_info_list_new in -lgphoto2_port" >&5
11600 $as_echo_n "checking for gp_port_info_list_new in -lgphoto2_port... " >&6; }
11601 if ${ac_cv_lib_gphoto2_port_gp_port_info_list_new+:} false; then :
11602 $as_echo_n "(cached) " >&6
11603 else
11604 ac_check_lib_save_LIBS=$LIBS
11605 LIBS="-lgphoto2_port $GPHOTO2_PORT_LIBS $LIBS"
11606 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11607 /* end confdefs.h. */
11609 /* Override any GCC internal prototype to avoid an error.
11610 Use char because int might match the return type of a GCC
11611 builtin and then its argument prototype would still apply. */
11612 #ifdef __cplusplus
11613 extern "C"
11614 #endif
11615 char gp_port_info_list_new ();
11617 main ()
11619 return gp_port_info_list_new ();
11621 return 0;
11623 _ACEOF
11624 if ac_fn_c_try_link "$LINENO"; then :
11625 ac_cv_lib_gphoto2_port_gp_port_info_list_new=yes
11626 else
11627 ac_cv_lib_gphoto2_port_gp_port_info_list_new=no
11629 rm -f core conftest.err conftest.$ac_objext \
11630 conftest$ac_exeext conftest.$ac_ext
11631 LIBS=$ac_check_lib_save_LIBS
11633 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_gphoto2_port_gp_port_info_list_new" >&5
11634 $as_echo "$ac_cv_lib_gphoto2_port_gp_port_info_list_new" >&6; }
11635 if test "x$ac_cv_lib_gphoto2_port_gp_port_info_list_new" = xyes; then :
11637 $as_echo "#define HAVE_GPHOTO2_PORT 1" >>confdefs.h
11639 else
11640 GPHOTO2_PORT_LIBS=""; GPHOTO2_PORT_CFLAGS=""
11643 else
11644 GPHOTO2_PORT_LIBS=""; GPHOTO2_PORT_CFLAGS=""
11648 CPPFLAGS=$ac_save_CPPFLAGS
11649 test -z "$GPHOTO2_PORT_CFLAGS" || GPHOTO2_PORT_CFLAGS=`echo " $GPHOTO2_PORT_CFLAGS" | sed 's/ -I\([^/]\)/ -I\$(top_builddir)\/\1/g'`
11650 test -z "$GPHOTO2_PORT_LIBS" || GPHOTO2_PORT_LIBS=`echo " $GPHOTO2_PORT_LIBS" | sed 's/ -L\([^/]\)/ -L\$(top_builddir)\/\1/g'`
11653 if test "$ac_cv_lib_gphoto2_gp_camera_new" != "yes"; then :
11654 case "x$with_gphoto" in
11655 x) as_fn_append wine_notices "|libgphoto2 ${notice_platform}development files not found, digital cameras won't be supported." ;;
11656 xno) ;;
11657 *) as_fn_error $? "libgphoto2 ${notice_platform}development files not found, digital cameras won't be supported.
11658 This is an error since --with-gphoto was requested." "$LINENO" 5 ;;
11659 esac
11661 if test "$ac_cv_lib_gphoto2_port_gp_port_info_list_new" != "yes"; then :
11662 case "x$with_gphoto" in
11663 x) as_fn_append wine_notices "|libgphoto2_port ${notice_platform}development files not found, digital cameras won't be auto-detected." ;;
11664 xno) ;;
11665 *) as_fn_error $? "libgphoto2_port ${notice_platform}development files not found, digital cameras won't be auto-detected.
11666 This is an error since --with-gphoto was requested." "$LINENO" 5 ;;
11667 esac
11671 if test "$ac_cv_header_resolv_h" = "yes"
11672 then
11673 ac_save_LIBS="$LIBS"
11674 for lib in '' -lresolv
11676 LIBS="$lib $ac_save_LIBS"
11677 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11678 /* end confdefs.h. */
11679 #ifdef HAVE_NETINET_IN_H
11680 #include <netinet/in.h>
11681 #endif
11682 #include <resolv.h>
11684 main ()
11686 res_query("foo",ns_c_in,0,0,0);
11688 return 0;
11690 _ACEOF
11691 if ac_fn_c_try_link "$LINENO"; then :
11693 $as_echo "#define HAVE_RESOLV 1" >>confdefs.h
11695 RESOLV_LIBS="$lib"
11698 rm -f core conftest.err conftest.$ac_objext \
11699 conftest$ac_exeext conftest.$ac_ext
11700 if test "${RESOLV_LIBS+set}" = set; then
11701 break
11703 done
11704 LIBS="$ac_save_LIBS"
11707 if test "x$with_lcms2" != "xno"
11708 then
11709 if ${LCMS2_CFLAGS:+false} :; then :
11710 if ${PKG_CONFIG+:} false; then :
11711 LCMS2_CFLAGS=`$PKG_CONFIG --cflags lcms2 2>/dev/null`
11715 if ${LCMS2_LIBS:+false} :; then :
11716 if ${PKG_CONFIG+:} false; then :
11717 LCMS2_LIBS=`$PKG_CONFIG --libs lcms2 2>/dev/null`
11721 LCMS2_LIBS=${LCMS2_LIBS:-"-llcms2"}
11722 $as_echo "$as_me:${as_lineno-$LINENO}: lcms2 cflags: $LCMS2_CFLAGS" >&5
11723 $as_echo "$as_me:${as_lineno-$LINENO}: lcms2 libs: $LCMS2_LIBS" >&5
11724 ac_save_CPPFLAGS=$CPPFLAGS
11725 CPPFLAGS="$CPPFLAGS $LCMS2_CFLAGS"
11726 for ac_header in lcms2.h
11727 do :
11728 ac_fn_c_check_header_mongrel "$LINENO" "lcms2.h" "ac_cv_header_lcms2_h" "$ac_includes_default"
11729 if test "x$ac_cv_header_lcms2_h" = xyes; then :
11730 cat >>confdefs.h <<_ACEOF
11731 #define HAVE_LCMS2_H 1
11732 _ACEOF
11736 done
11738 if test "$ac_cv_header_lcms2_h" = "yes"
11739 then
11740 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for cmsOpenProfileFromFile in -llcms2" >&5
11741 $as_echo_n "checking for cmsOpenProfileFromFile in -llcms2... " >&6; }
11742 if ${ac_cv_lib_lcms2_cmsOpenProfileFromFile+:} false; then :
11743 $as_echo_n "(cached) " >&6
11744 else
11745 ac_check_lib_save_LIBS=$LIBS
11746 LIBS="-llcms2 $LIBS"
11747 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11748 /* end confdefs.h. */
11750 /* Override any GCC internal prototype to avoid an error.
11751 Use char because int might match the return type of a GCC
11752 builtin and then its argument prototype would still apply. */
11753 #ifdef __cplusplus
11754 extern "C"
11755 #endif
11756 char cmsOpenProfileFromFile ();
11758 main ()
11760 return cmsOpenProfileFromFile ();
11762 return 0;
11764 _ACEOF
11765 if ac_fn_c_try_link "$LINENO"; then :
11766 ac_cv_lib_lcms2_cmsOpenProfileFromFile=yes
11767 else
11768 ac_cv_lib_lcms2_cmsOpenProfileFromFile=no
11770 rm -f core conftest.err conftest.$ac_objext \
11771 conftest$ac_exeext conftest.$ac_ext
11772 LIBS=$ac_check_lib_save_LIBS
11774 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_lcms2_cmsOpenProfileFromFile" >&5
11775 $as_echo "$ac_cv_lib_lcms2_cmsOpenProfileFromFile" >&6; }
11776 if test "x$ac_cv_lib_lcms2_cmsOpenProfileFromFile" = xyes; then :
11778 $as_echo "#define HAVE_LCMS2 1" >>confdefs.h
11780 else
11781 LCMS2_LIBS=""
11784 else
11785 LCMS2_CFLAGS=""
11786 LCMS2_LIBS=""
11788 CPPFLAGS=$ac_save_CPPFLAGS
11789 test -z "$LCMS2_CFLAGS" || LCMS2_CFLAGS=`echo " $LCMS2_CFLAGS" | sed 's/ -I\([^/]\)/ -I\$(top_builddir)\/\1/g'`
11790 test -z "$LCMS2_LIBS" || LCMS2_LIBS=`echo " $LCMS2_LIBS" | sed 's/ -L\([^/]\)/ -L\$(top_builddir)\/\1/g'`
11793 if test "$ac_cv_lib_lcms2_cmsOpenProfileFromFile" != "yes"; then :
11794 case "x$with_cms" in
11795 x) as_fn_append wine_notices "|liblcms2 ${notice_platform}development files not found, Color Management won't be supported." ;;
11796 xno) ;;
11797 *) as_fn_error $? "liblcms2 ${notice_platform}development files not found, Color Management won't be supported.
11798 This is an error since --with-cms was requested." "$LINENO" 5 ;;
11799 esac
11802 if test "x$with_freetype" != "xno"
11803 then
11804 if ${FREETYPE_CFLAGS:+false} :; then :
11805 if ${PKG_CONFIG+:} false; then :
11806 FREETYPE_CFLAGS=`$PKG_CONFIG --cflags freetype2 2>/dev/null`
11809 test "$cross_compiling" = yes || FREETYPE_CFLAGS=${FREETYPE_CFLAGS:-`(freetype-config --cflags || freetype2-config --cflags) 2>/dev/null`}
11810 if ${FREETYPE_LIBS:+false} :; then :
11811 if ${PKG_CONFIG+:} false; then :
11812 FREETYPE_LIBS=`$PKG_CONFIG --libs freetype2 2>/dev/null`
11815 test "$cross_compiling" = yes || FREETYPE_LIBS=${FREETYPE_LIBS:-`(freetype-config --libs || freetype2-config --libs) 2>/dev/null`}
11816 FREETYPE_LIBS=${FREETYPE_LIBS:-"-lfreetype"}
11817 $as_echo "$as_me:${as_lineno-$LINENO}: freetype2 cflags: $FREETYPE_CFLAGS" >&5
11818 $as_echo "$as_me:${as_lineno-$LINENO}: freetype2 libs: $FREETYPE_LIBS" >&5
11819 ac_save_CPPFLAGS=$CPPFLAGS
11820 CPPFLAGS="$CPPFLAGS $FREETYPE_CFLAGS"
11821 for ac_header in ft2build.h
11822 do :
11823 ac_fn_c_check_header_mongrel "$LINENO" "ft2build.h" "ac_cv_header_ft2build_h" "$ac_includes_default"
11824 if test "x$ac_cv_header_ft2build_h" = xyes; then :
11825 cat >>confdefs.h <<_ACEOF
11826 #define HAVE_FT2BUILD_H 1
11827 _ACEOF
11831 done
11833 if test "$ac_cv_header_ft2build_h" = "yes"
11834 then
11835 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lfreetype" >&5
11836 $as_echo_n "checking for -lfreetype... " >&6; }
11837 if ${ac_cv_lib_soname_freetype+:} false; then :
11838 $as_echo_n "(cached) " >&6
11839 else
11840 ac_check_soname_save_LIBS=$LIBS
11841 LIBS="-lfreetype $FREETYPE_LIBS $LIBS"
11842 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11843 /* end confdefs.h. */
11845 /* Override any GCC internal prototype to avoid an error.
11846 Use char because int might match the return type of a GCC
11847 builtin and then its argument prototype would still apply. */
11848 #ifdef __cplusplus
11849 extern "C"
11850 #endif
11851 char FT_Init_FreeType ();
11853 main ()
11855 return FT_Init_FreeType ();
11857 return 0;
11859 _ACEOF
11860 if ac_fn_c_try_link "$LINENO"; then :
11861 case "$LIBEXT" in
11862 dll) ac_cv_lib_soname_freetype=`$ac_cv_path_LDD conftest.exe | grep "freetype" | sed -e "s/dll.*/dll/"';2,$d'` ;;
11863 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'` ;;
11864 *) ac_cv_lib_soname_freetype=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libfreetype\\.$LIBEXT" | sed -e "s/^.*\\[\\(libfreetype\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
11865 if ${ac_cv_lib_soname_freetype:+false} :; then :
11866 ac_cv_lib_soname_freetype=`$LDD conftest$ac_exeext | grep "libfreetype\\.$LIBEXT" | sed -e "s/^.*\(libfreetype\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
11867 fi ;;
11868 esac
11870 rm -f core conftest.err conftest.$ac_objext \
11871 conftest$ac_exeext conftest.$ac_ext
11872 LIBS=$ac_check_soname_save_LIBS
11874 if ${ac_cv_lib_soname_freetype:+false} :; then :
11875 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
11876 $as_echo "not found" >&6; }
11877 FREETYPE_LIBS=""
11878 else
11879 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_freetype" >&5
11880 $as_echo "$ac_cv_lib_soname_freetype" >&6; }
11882 cat >>confdefs.h <<_ACEOF
11883 #define SONAME_LIBFREETYPE "$ac_cv_lib_soname_freetype"
11884 _ACEOF
11887 $as_echo "#define HAVE_FREETYPE 1" >>confdefs.h
11889 ac_fn_c_check_type "$LINENO" "FT_TrueTypeEngineType" "ac_cv_type_FT_TrueTypeEngineType" "#include <ft2build.h>
11890 #include FT_MODULE_H
11892 if test "x$ac_cv_type_FT_TrueTypeEngineType" = xyes; then :
11894 cat >>confdefs.h <<_ACEOF
11895 #define HAVE_FT_TRUETYPEENGINETYPE 1
11896 _ACEOF
11902 else
11903 FREETYPE_CFLAGS=""
11904 FREETYPE_LIBS=""
11906 CPPFLAGS=$ac_save_CPPFLAGS
11907 test -z "$FREETYPE_CFLAGS" || FREETYPE_CFLAGS=`echo " $FREETYPE_CFLAGS" | sed 's/ -I\([^/]\)/ -I\$(top_builddir)\/\1/g'`
11908 test -z "$FREETYPE_LIBS" || FREETYPE_LIBS=`echo " $FREETYPE_LIBS" | sed 's/ -L\([^/]\)/ -L\$(top_builddir)\/\1/g'`
11911 if test "x$ac_cv_lib_soname_freetype" = x; then :
11912 case "x$with_freetype" in
11913 xno) ;;
11914 *) as_fn_error $? "FreeType ${notice_platform}development files not found. Fonts will not be built.
11915 Use the --without-freetype option if you really want this." "$LINENO" 5 ;;
11916 esac
11918 test "x$ac_cv_lib_soname_freetype" = x && enable_fonts=${enable_fonts:-no}
11920 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for parport header/ppdev.h" >&5
11921 $as_echo_n "checking for parport header/ppdev.h... " >&6; }
11922 if ${ac_cv_c_ppdev+:} false; then :
11923 $as_echo_n "(cached) " >&6
11924 else
11925 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11926 /* end confdefs.h. */
11927 #ifdef HAVE_SYS_IOCTL_H
11928 # include <sys/ioctl.h>
11929 #endif
11930 #include <linux/ppdev.h>
11932 main ()
11934 ioctl (1,PPCLAIM,0)
11936 return 0;
11938 _ACEOF
11939 if ac_fn_c_try_compile "$LINENO"; then :
11940 ac_cv_c_ppdev="yes"
11941 else
11942 ac_cv_c_ppdev="no"
11944 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
11946 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_ppdev" >&5
11947 $as_echo "$ac_cv_c_ppdev" >&6; }
11948 if test "$ac_cv_c_ppdev" = "yes"
11949 then
11951 $as_echo "#define HAVE_PPDEV 1" >>confdefs.h
11955 ac_wine_check_funcs_save_LIBS="$LIBS"
11956 LIBS="$LIBS $PTHREAD_LIBS"
11957 for ac_func in \
11958 pthread_attr_get_np \
11959 pthread_getattr_np \
11960 pthread_getthreadid_np \
11961 pthread_get_stackaddr_np \
11962 pthread_get_stacksize_np
11963 do :
11964 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
11965 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
11966 if eval test \"x\$"$as_ac_var"\" = x"yes"; then :
11967 cat >>confdefs.h <<_ACEOF
11968 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
11969 _ACEOF
11972 done
11974 LIBS="$ac_wine_check_funcs_save_LIBS"
11976 if test "$ac_cv_header_zlib_h" = "yes"
11977 then
11978 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for inflate in -lz" >&5
11979 $as_echo_n "checking for inflate in -lz... " >&6; }
11980 if ${ac_cv_lib_z_inflate+:} false; then :
11981 $as_echo_n "(cached) " >&6
11982 else
11983 ac_check_lib_save_LIBS=$LIBS
11984 LIBS="-lz $LIBS"
11985 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11986 /* end confdefs.h. */
11988 /* Override any GCC internal prototype to avoid an error.
11989 Use char because int might match the return type of a GCC
11990 builtin and then its argument prototype would still apply. */
11991 #ifdef __cplusplus
11992 extern "C"
11993 #endif
11994 char inflate ();
11996 main ()
11998 return inflate ();
12000 return 0;
12002 _ACEOF
12003 if ac_fn_c_try_link "$LINENO"; then :
12004 ac_cv_lib_z_inflate=yes
12005 else
12006 ac_cv_lib_z_inflate=no
12008 rm -f core conftest.err conftest.$ac_objext \
12009 conftest$ac_exeext conftest.$ac_ext
12010 LIBS=$ac_check_lib_save_LIBS
12012 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_z_inflate" >&5
12013 $as_echo "$ac_cv_lib_z_inflate" >&6; }
12014 if test "x$ac_cv_lib_z_inflate" = xyes; then :
12016 $as_echo "#define HAVE_ZLIB 1" >>confdefs.h
12018 Z_LIBS="-lz"
12023 if test "x$Z_LIBS" = "x"; then :
12024 case "x$with_zlib" in
12025 x) as_fn_append wine_notices "|libz ${notice_platform}development files not found, data compression won't be supported." ;;
12026 xno) ;;
12027 *) as_fn_error $? "libz ${notice_platform}development files not found, data compression won't be supported.
12028 This is an error since --with-zlib was requested." "$LINENO" 5 ;;
12029 esac
12032 if test "x$enable_tools" != xno
12033 then
12034 if test "$ac_cv_header_gettext_po_h" = "yes"
12035 then
12036 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for po_message_msgctxt in -lgettextpo" >&5
12037 $as_echo_n "checking for po_message_msgctxt in -lgettextpo... " >&6; }
12038 if ${ac_cv_lib_gettextpo_po_message_msgctxt+:} false; then :
12039 $as_echo_n "(cached) " >&6
12040 else
12041 ac_check_lib_save_LIBS=$LIBS
12042 LIBS="-lgettextpo $LIBS"
12043 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12044 /* end confdefs.h. */
12046 /* Override any GCC internal prototype to avoid an error.
12047 Use char because int might match the return type of a GCC
12048 builtin and then its argument prototype would still apply. */
12049 #ifdef __cplusplus
12050 extern "C"
12051 #endif
12052 char po_message_msgctxt ();
12054 main ()
12056 return po_message_msgctxt ();
12058 return 0;
12060 _ACEOF
12061 if ac_fn_c_try_link "$LINENO"; then :
12062 ac_cv_lib_gettextpo_po_message_msgctxt=yes
12063 else
12064 ac_cv_lib_gettextpo_po_message_msgctxt=no
12066 rm -f core conftest.err conftest.$ac_objext \
12067 conftest$ac_exeext conftest.$ac_ext
12068 LIBS=$ac_check_lib_save_LIBS
12070 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_gettextpo_po_message_msgctxt" >&5
12071 $as_echo "$ac_cv_lib_gettextpo_po_message_msgctxt" >&6; }
12072 if test "x$ac_cv_lib_gettextpo_po_message_msgctxt" = xyes; then :
12074 $as_echo "#define HAVE_LIBGETTEXTPO 1" >>confdefs.h
12076 GETTEXTPO_LIBS="-lgettextpo"
12081 test "x$with_gettextpo" != xyes || if test "x$GETTEXTPO_LIBS" = "x"; then :
12082 case "x$with_gettextpo" in
12083 x) as_fn_append wine_notices "|GetText ${notice_platform}development files not found (or too old), po files can't be rebuilt." ;;
12084 xno) ;;
12085 *) as_fn_error $? "GetText ${notice_platform}development files not found (or too old), po files can't be rebuilt.
12086 This is an error since --with-gettextpo was requested." "$LINENO" 5 ;;
12087 esac
12091 if test "x$with_gstreamer" != "xno"
12092 then
12093 if ${GSTREAMER_CFLAGS:+false} :; then :
12094 if ${PKG_CONFIG+:} false; then :
12095 GSTREAMER_CFLAGS=`$PKG_CONFIG --cflags gstreamer-app-0.10 2>/dev/null`
12099 if ${GSTREAMER_LIBS:+false} :; then :
12100 if ${PKG_CONFIG+:} false; then :
12101 GSTREAMER_LIBS=`$PKG_CONFIG --libs gstreamer-app-0.10 2>/dev/null`
12106 $as_echo "$as_me:${as_lineno-$LINENO}: gstreamer-app-0.10 cflags: $GSTREAMER_CFLAGS" >&5
12107 $as_echo "$as_me:${as_lineno-$LINENO}: gstreamer-app-0.10 libs: $GSTREAMER_LIBS" >&5
12108 ac_save_CPPFLAGS=$CPPFLAGS
12109 CPPFLAGS="$CPPFLAGS $GSTREAMER_CFLAGS"
12110 ac_gst_incl=""
12111 for i in $GSTREAMER_CFLAGS
12113 case "$i" in
12114 -I*) ac_gst_incl="$ac_gst_incl $i";;
12115 esac
12116 done
12117 GSTREAMER_CFLAGS=$ac_gst_incl
12118 CPPFLAGS="$ac_save_CPPFLAGS $GSTREAMER_CFLAGS"
12119 ac_fn_c_check_header_mongrel "$LINENO" "gst/gstpad.h" "ac_cv_header_gst_gstpad_h" "$ac_includes_default"
12120 if test "x$ac_cv_header_gst_gstpad_h" = xyes; then :
12121 ac_fn_c_check_header_mongrel "$LINENO" "gst/app/gstappsink.h" "ac_cv_header_gst_app_gstappsink_h" "$ac_includes_default"
12122 if test "x$ac_cv_header_gst_app_gstappsink_h" = xyes; then :
12123 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether gint64 defined by gst/app/gstappsink.h is indeed 64-bit" >&5
12124 $as_echo_n "checking whether gint64 defined by gst/app/gstappsink.h is indeed 64-bit... " >&6; }
12125 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12126 /* end confdefs.h. */
12127 #include <gst/app/gstappsink.h>
12129 main ()
12131 static int a[sizeof(gint64) > 4 ? 1 : -1]; if (a[0]) return 0;
12133 return 0;
12135 _ACEOF
12136 if ac_fn_c_try_compile "$LINENO"; then :
12137 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
12138 $as_echo "yes" >&6; }
12139 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for gst_pad_get_caps_reffed in -lgstreamer-0.10" >&5
12140 $as_echo_n "checking for gst_pad_get_caps_reffed in -lgstreamer-0.10... " >&6; }
12141 if ${ac_cv_lib_gstreamer_0_10_gst_pad_get_caps_reffed+:} false; then :
12142 $as_echo_n "(cached) " >&6
12143 else
12144 ac_check_lib_save_LIBS=$LIBS
12145 LIBS="-lgstreamer-0.10 $LIBS"
12146 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12147 /* end confdefs.h. */
12149 /* Override any GCC internal prototype to avoid an error.
12150 Use char because int might match the return type of a GCC
12151 builtin and then its argument prototype would still apply. */
12152 #ifdef __cplusplus
12153 extern "C"
12154 #endif
12155 char gst_pad_get_caps_reffed ();
12157 main ()
12159 return gst_pad_get_caps_reffed ();
12161 return 0;
12163 _ACEOF
12164 if ac_fn_c_try_link "$LINENO"; then :
12165 ac_cv_lib_gstreamer_0_10_gst_pad_get_caps_reffed=yes
12166 else
12167 ac_cv_lib_gstreamer_0_10_gst_pad_get_caps_reffed=no
12169 rm -f core conftest.err conftest.$ac_objext \
12170 conftest$ac_exeext conftest.$ac_ext
12171 LIBS=$ac_check_lib_save_LIBS
12173 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_gstreamer_0_10_gst_pad_get_caps_reffed" >&5
12174 $as_echo "$ac_cv_lib_gstreamer_0_10_gst_pad_get_caps_reffed" >&6; }
12175 if test "x$ac_cv_lib_gstreamer_0_10_gst_pad_get_caps_reffed" = xyes; then :
12176 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for gst_app_buffer_new in -lgstapp-0.10" >&5
12177 $as_echo_n "checking for gst_app_buffer_new in -lgstapp-0.10... " >&6; }
12178 if ${ac_cv_lib_gstapp_0_10_gst_app_buffer_new+:} false; then :
12179 $as_echo_n "(cached) " >&6
12180 else
12181 ac_check_lib_save_LIBS=$LIBS
12182 LIBS="-lgstapp-0.10 $GSTREAMER_LIBS $LIBS"
12183 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12184 /* end confdefs.h. */
12186 /* Override any GCC internal prototype to avoid an error.
12187 Use char because int might match the return type of a GCC
12188 builtin and then its argument prototype would still apply. */
12189 #ifdef __cplusplus
12190 extern "C"
12191 #endif
12192 char gst_app_buffer_new ();
12194 main ()
12196 return gst_app_buffer_new ();
12198 return 0;
12200 _ACEOF
12201 if ac_fn_c_try_link "$LINENO"; then :
12202 ac_cv_lib_gstapp_0_10_gst_app_buffer_new=yes
12203 else
12204 ac_cv_lib_gstapp_0_10_gst_app_buffer_new=no
12206 rm -f core conftest.err conftest.$ac_objext \
12207 conftest$ac_exeext conftest.$ac_ext
12208 LIBS=$ac_check_lib_save_LIBS
12210 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_gstapp_0_10_gst_app_buffer_new" >&5
12211 $as_echo "$ac_cv_lib_gstapp_0_10_gst_app_buffer_new" >&6; }
12212 if test "x$ac_cv_lib_gstapp_0_10_gst_app_buffer_new" = xyes; then :
12218 else
12219 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
12220 $as_echo "no" >&6; }
12222 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
12226 else
12227 GSTREAMER_CFLAGS=""
12231 CPPFLAGS=$ac_save_CPPFLAGS
12232 test -z "$GSTREAMER_CFLAGS" || GSTREAMER_CFLAGS=`echo " $GSTREAMER_CFLAGS" | sed 's/ -I\([^/]\)/ -I\$(top_builddir)\/\1/g'`
12233 test -z "$GSTREAMER_LIBS" || GSTREAMER_LIBS=`echo " $GSTREAMER_LIBS" | sed 's/ -L\([^/]\)/ -L\$(top_builddir)\/\1/g'`
12236 if test "x$ac_cv_lib_gstapp_0_10_gst_app_buffer_new" != xyes -a "x$ac_cv_header_QuickTime_ImageCompression_h" != xyes; then :
12237 case "x$with_gstreamer" in
12238 x) as_fn_append wine_notices "|gstreamer-0.10 base plugins ${notice_platform}development files not found, gstreamer support disabled" ;;
12239 xno) ;;
12240 *) as_fn_error $? "gstreamer-0.10 base plugins ${notice_platform}development files not found, gstreamer support disabled
12241 This is an error since --with-gstreamer was requested." "$LINENO" 5 ;;
12242 esac
12244 test "x$ac_cv_lib_gstapp_0_10_gst_app_buffer_new" = xyes || enable_winegstreamer=${enable_winegstreamer:-no}
12246 ALSA_LIBS=""
12248 if test "$ac_cv_header_sys_asoundlib_h" = "yes" -o "$ac_cv_header_alsa_asoundlib_h" = "yes"
12249 then
12250 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for snd_pcm_hw_params_get_access_mask in -lasound" >&5
12251 $as_echo_n "checking for snd_pcm_hw_params_get_access_mask in -lasound... " >&6; }
12252 if ${ac_cv_lib_asound_snd_pcm_hw_params_get_access_mask+:} false; then :
12253 $as_echo_n "(cached) " >&6
12254 else
12255 ac_check_lib_save_LIBS=$LIBS
12256 LIBS="-lasound $LIBS"
12257 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12258 /* end confdefs.h. */
12260 /* Override any GCC internal prototype to avoid an error.
12261 Use char because int might match the return type of a GCC
12262 builtin and then its argument prototype would still apply. */
12263 #ifdef __cplusplus
12264 extern "C"
12265 #endif
12266 char snd_pcm_hw_params_get_access_mask ();
12268 main ()
12270 return snd_pcm_hw_params_get_access_mask ();
12272 return 0;
12274 _ACEOF
12275 if ac_fn_c_try_link "$LINENO"; then :
12276 ac_cv_lib_asound_snd_pcm_hw_params_get_access_mask=yes
12277 else
12278 ac_cv_lib_asound_snd_pcm_hw_params_get_access_mask=no
12280 rm -f core conftest.err conftest.$ac_objext \
12281 conftest$ac_exeext conftest.$ac_ext
12282 LIBS=$ac_check_lib_save_LIBS
12284 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_asound_snd_pcm_hw_params_get_access_mask" >&5
12285 $as_echo "$ac_cv_lib_asound_snd_pcm_hw_params_get_access_mask" >&6; }
12286 if test "x$ac_cv_lib_asound_snd_pcm_hw_params_get_access_mask" = xyes; then :
12287 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12288 /* end confdefs.h. */
12289 #ifdef HAVE_ALSA_ASOUNDLIB_H
12290 #include <alsa/asoundlib.h>
12291 #elif defined(HAVE_SYS_ASOUNDLIB_H)
12292 #include <sys/asoundlib.h>
12293 #endif
12295 main ()
12297 snd_pcm_hw_params_get_access_mask(NULL, NULL)
12299 return 0;
12301 _ACEOF
12302 if ac_fn_c_try_compile "$LINENO"; then :
12303 ALSA_LIBS="-lasound"
12305 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
12310 if test "x$with_oss" != xno
12311 then
12312 ac_save_CPPFLAGS="$CPPFLAGS"
12313 if test -f /etc/oss.conf
12314 then
12315 . /etc/oss.conf
12317 ac_oss_incl="-I${OSSLIBDIR:-/usr/lib/oss}/include"
12318 CPPFLAGS="$CPPFLAGS $ac_oss_incl"
12319 ac_fn_c_check_header_mongrel "$LINENO" "sys/soundcard.h" "ac_cv_header_sys_soundcard_h" "$ac_includes_default"
12320 if test "x$ac_cv_header_sys_soundcard_h" = xyes; then :
12321 ac_fn_c_check_member "$LINENO" "oss_sysinfo" "numaudioengines" "ac_cv_member_oss_sysinfo_numaudioengines" "#include <sys/soundcard.h>
12323 if test "x$ac_cv_member_oss_sysinfo_numaudioengines" = xyes; then :
12325 cat >>confdefs.h <<_ACEOF
12326 #define HAVE_OSS_SYSINFO_NUMAUDIOENGINES 1
12327 _ACEOF
12329 OSS4_CFLAGS="$ac_oss_incl"
12336 CPPFLAGS="$ac_save_CPPFLAGS"
12337 if test "x$ac_cv_member_oss_sysinfo_numaudioengines" != xyes
12338 then
12339 as_fn_append wine_notices "|OSS sound system found but too old (OSSv4 needed), OSS won't be supported."
12343 if test "x$with_capi" != "xno"
12344 then
12345 if ${CAPI20_CFLAGS:+false} :; then :
12346 if ${PKG_CONFIG+:} false; then :
12347 CAPI20_CFLAGS=`$PKG_CONFIG --cflags capi20 2>/dev/null`
12351 if ${CAPI20_LIBS:+false} :; then :
12352 if ${PKG_CONFIG+:} false; then :
12353 CAPI20_LIBS=`$PKG_CONFIG --libs capi20 2>/dev/null`
12358 $as_echo "$as_me:${as_lineno-$LINENO}: capi20 cflags: $CAPI20_CFLAGS" >&5
12359 $as_echo "$as_me:${as_lineno-$LINENO}: capi20 libs: $CAPI20_LIBS" >&5
12360 ac_save_CPPFLAGS=$CPPFLAGS
12361 CPPFLAGS="$CPPFLAGS $CAPI20_CFLAGS"
12362 for ac_header in capi20.h linux/capi.h
12363 do :
12364 as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
12365 ac_fn_c_check_header_compile "$LINENO" "$ac_header" "$as_ac_Header" "#define __user
12367 if eval test \"x\$"$as_ac_Header"\" = x"yes"; then :
12368 cat >>confdefs.h <<_ACEOF
12369 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
12370 _ACEOF
12374 done
12376 if test "$ac_cv_header_capi20_h" = "yes" -a "$ac_cv_header_linux_capi_h" = "yes"
12377 then
12378 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lcapi20" >&5
12379 $as_echo_n "checking for -lcapi20... " >&6; }
12380 if ${ac_cv_lib_soname_capi20+:} false; then :
12381 $as_echo_n "(cached) " >&6
12382 else
12383 ac_check_soname_save_LIBS=$LIBS
12384 LIBS="-lcapi20 $CAPI20_LIBS $LIBS"
12385 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12386 /* end confdefs.h. */
12388 /* Override any GCC internal prototype to avoid an error.
12389 Use char because int might match the return type of a GCC
12390 builtin and then its argument prototype would still apply. */
12391 #ifdef __cplusplus
12392 extern "C"
12393 #endif
12394 char capi20_register ();
12396 main ()
12398 return capi20_register ();
12400 return 0;
12402 _ACEOF
12403 if ac_fn_c_try_link "$LINENO"; then :
12404 case "$LIBEXT" in
12405 dll) ac_cv_lib_soname_capi20=`$ac_cv_path_LDD conftest.exe | grep "capi20" | sed -e "s/dll.*/dll/"';2,$d'` ;;
12406 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'` ;;
12407 *) ac_cv_lib_soname_capi20=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libcapi20\\.$LIBEXT" | sed -e "s/^.*\\[\\(libcapi20\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
12408 if ${ac_cv_lib_soname_capi20:+false} :; then :
12409 ac_cv_lib_soname_capi20=`$LDD conftest$ac_exeext | grep "libcapi20\\.$LIBEXT" | sed -e "s/^.*\(libcapi20\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
12410 fi ;;
12411 esac
12413 rm -f core conftest.err conftest.$ac_objext \
12414 conftest$ac_exeext conftest.$ac_ext
12415 LIBS=$ac_check_soname_save_LIBS
12417 if ${ac_cv_lib_soname_capi20:+false} :; then :
12418 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
12419 $as_echo "not found" >&6; }
12421 else
12422 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_capi20" >&5
12423 $as_echo "$ac_cv_lib_soname_capi20" >&6; }
12425 cat >>confdefs.h <<_ACEOF
12426 #define SONAME_LIBCAPI20 "$ac_cv_lib_soname_capi20"
12427 _ACEOF
12432 CPPFLAGS=$ac_save_CPPFLAGS
12433 test -z "$CAPI20_CFLAGS" || CAPI20_CFLAGS=`echo " $CAPI20_CFLAGS" | sed 's/ -I\([^/]\)/ -I\$(top_builddir)\/\1/g'`
12434 test -z "$CAPI20_LIBS" || CAPI20_LIBS=`echo " $CAPI20_LIBS" | sed 's/ -L\([^/]\)/ -L\$(top_builddir)\/\1/g'`
12437 if test "x$ac_cv_lib_soname_capi20" = "x"; then :
12438 case "x$with_capi" in
12439 x) as_fn_append wine_notices "|libcapi20 ${notice_platform}development files not found, ISDN won't be supported." ;;
12440 xno) ;;
12441 *) as_fn_error $? "libcapi20 ${notice_platform}development files not found, ISDN won't be supported.
12442 This is an error since --with-capi was requested." "$LINENO" 5 ;;
12443 esac
12446 CUPS_CFLAGS=""
12448 if test "x$with_cups" != "xno"
12449 then
12450 ac_save_CPPFLAGS="$CPPFLAGS"
12451 ac_cups_cflags=`cups-config --cflags 2>/dev/null`
12452 ac_cups_libs=`cups-config --ldflags 2>/dev/null`
12453 CPPFLAGS="$CPPFLAGS $ac_cups_cflags"
12454 for ac_header in cups/cups.h
12455 do :
12456 ac_fn_c_check_header_mongrel "$LINENO" "cups/cups.h" "ac_cv_header_cups_cups_h" "$ac_includes_default"
12457 if test "x$ac_cv_header_cups_cups_h" = xyes; then :
12458 cat >>confdefs.h <<_ACEOF
12459 #define HAVE_CUPS_CUPS_H 1
12460 _ACEOF
12461 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lcups" >&5
12462 $as_echo_n "checking for -lcups... " >&6; }
12463 if ${ac_cv_lib_soname_cups+:} false; then :
12464 $as_echo_n "(cached) " >&6
12465 else
12466 ac_check_soname_save_LIBS=$LIBS
12467 LIBS="-lcups $ac_cups_libs $LIBS"
12468 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12469 /* end confdefs.h. */
12471 /* Override any GCC internal prototype to avoid an error.
12472 Use char because int might match the return type of a GCC
12473 builtin and then its argument prototype would still apply. */
12474 #ifdef __cplusplus
12475 extern "C"
12476 #endif
12477 char cupsGetDefault ();
12479 main ()
12481 return cupsGetDefault ();
12483 return 0;
12485 _ACEOF
12486 if ac_fn_c_try_link "$LINENO"; then :
12487 case "$LIBEXT" in
12488 dll) ac_cv_lib_soname_cups=`$ac_cv_path_LDD conftest.exe | grep "cups" | sed -e "s/dll.*/dll/"';2,$d'` ;;
12489 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'` ;;
12490 *) ac_cv_lib_soname_cups=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libcups\\.$LIBEXT" | sed -e "s/^.*\\[\\(libcups\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
12491 if ${ac_cv_lib_soname_cups:+false} :; then :
12492 ac_cv_lib_soname_cups=`$LDD conftest$ac_exeext | grep "libcups\\.$LIBEXT" | sed -e "s/^.*\(libcups\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
12493 fi ;;
12494 esac
12496 rm -f core conftest.err conftest.$ac_objext \
12497 conftest$ac_exeext conftest.$ac_ext
12498 LIBS=$ac_check_soname_save_LIBS
12500 if ${ac_cv_lib_soname_cups:+false} :; then :
12501 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
12502 $as_echo "not found" >&6; }
12504 else
12505 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_cups" >&5
12506 $as_echo "$ac_cv_lib_soname_cups" >&6; }
12508 cat >>confdefs.h <<_ACEOF
12509 #define SONAME_LIBCUPS "$ac_cv_lib_soname_cups"
12510 _ACEOF
12512 CUPS_CFLAGS="$ac_cups_cflags"
12516 done
12518 CPPFLAGS="$ac_save_CPPFLAGS"
12520 if test "x$ac_cv_lib_soname_cups" = "x"; then :
12521 case "x$with_cups" in
12522 x) as_fn_append wine_notices "|libcups ${notice_platform}development files not found, CUPS won't be supported." ;;
12523 xno) ;;
12524 *) as_fn_error $? "libcups ${notice_platform}development files not found, CUPS won't be supported.
12525 This is an error since --with-cups was requested." "$LINENO" 5 ;;
12526 esac
12529 if test "x$with_fontconfig" != "xno"
12530 then
12531 if ${FONTCONFIG_CFLAGS:+false} :; then :
12532 if ${PKG_CONFIG+:} false; then :
12533 FONTCONFIG_CFLAGS=`$PKG_CONFIG --cflags fontconfig 2>/dev/null`
12536 test "$cross_compiling" = yes || FONTCONFIG_CFLAGS=${FONTCONFIG_CFLAGS:-$X_CFLAGS}
12537 if ${FONTCONFIG_LIBS:+false} :; then :
12538 if ${PKG_CONFIG+:} false; then :
12539 FONTCONFIG_LIBS=`$PKG_CONFIG --libs fontconfig 2>/dev/null`
12542 test "$cross_compiling" = yes || FONTCONFIG_LIBS=${FONTCONFIG_LIBS:-$X_LIBS}
12544 $as_echo "$as_me:${as_lineno-$LINENO}: fontconfig cflags: $FONTCONFIG_CFLAGS" >&5
12545 $as_echo "$as_me:${as_lineno-$LINENO}: fontconfig libs: $FONTCONFIG_LIBS" >&5
12546 ac_save_CPPFLAGS=$CPPFLAGS
12547 CPPFLAGS="$CPPFLAGS $FONTCONFIG_CFLAGS"
12548 for ac_header in fontconfig/fontconfig.h
12549 do :
12550 ac_fn_c_check_header_mongrel "$LINENO" "fontconfig/fontconfig.h" "ac_cv_header_fontconfig_fontconfig_h" "$ac_includes_default"
12551 if test "x$ac_cv_header_fontconfig_fontconfig_h" = xyes; then :
12552 cat >>confdefs.h <<_ACEOF
12553 #define HAVE_FONTCONFIG_FONTCONFIG_H 1
12554 _ACEOF
12558 done
12560 if test "$ac_cv_header_fontconfig_fontconfig_h" = "yes"
12561 then
12562 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lfontconfig" >&5
12563 $as_echo_n "checking for -lfontconfig... " >&6; }
12564 if ${ac_cv_lib_soname_fontconfig+:} false; then :
12565 $as_echo_n "(cached) " >&6
12566 else
12567 ac_check_soname_save_LIBS=$LIBS
12568 LIBS="-lfontconfig $FONTCONFIG_LIBS $LIBS"
12569 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12570 /* end confdefs.h. */
12572 /* Override any GCC internal prototype to avoid an error.
12573 Use char because int might match the return type of a GCC
12574 builtin and then its argument prototype would still apply. */
12575 #ifdef __cplusplus
12576 extern "C"
12577 #endif
12578 char FcInit ();
12580 main ()
12582 return FcInit ();
12584 return 0;
12586 _ACEOF
12587 if ac_fn_c_try_link "$LINENO"; then :
12588 case "$LIBEXT" in
12589 dll) ac_cv_lib_soname_fontconfig=`$ac_cv_path_LDD conftest.exe | grep "fontconfig" | sed -e "s/dll.*/dll/"';2,$d'` ;;
12590 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'` ;;
12591 *) ac_cv_lib_soname_fontconfig=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libfontconfig\\.$LIBEXT" | sed -e "s/^.*\\[\\(libfontconfig\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
12592 if ${ac_cv_lib_soname_fontconfig:+false} :; then :
12593 ac_cv_lib_soname_fontconfig=`$LDD conftest$ac_exeext | grep "libfontconfig\\.$LIBEXT" | sed -e "s/^.*\(libfontconfig\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
12594 fi ;;
12595 esac
12597 rm -f core conftest.err conftest.$ac_objext \
12598 conftest$ac_exeext conftest.$ac_ext
12599 LIBS=$ac_check_soname_save_LIBS
12601 if ${ac_cv_lib_soname_fontconfig:+false} :; then :
12602 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
12603 $as_echo "not found" >&6; }
12604 FONTCONFIG_CFLAGS=""
12605 else
12606 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_fontconfig" >&5
12607 $as_echo "$ac_cv_lib_soname_fontconfig" >&6; }
12609 cat >>confdefs.h <<_ACEOF
12610 #define SONAME_LIBFONTCONFIG "$ac_cv_lib_soname_fontconfig"
12611 _ACEOF
12615 else
12616 FONTCONFIG_CFLAGS=""
12618 CPPFLAGS=$ac_save_CPPFLAGS
12619 test -z "$FONTCONFIG_CFLAGS" || FONTCONFIG_CFLAGS=`echo " $FONTCONFIG_CFLAGS" | sed 's/ -I\([^/]\)/ -I\$(top_builddir)\/\1/g'`
12620 test -z "$FONTCONFIG_LIBS" || FONTCONFIG_LIBS=`echo " $FONTCONFIG_LIBS" | sed 's/ -L\([^/]\)/ -L\$(top_builddir)\/\1/g'`
12623 if test "x$ac_cv_lib_soname_fontconfig" = "x"; then :
12624 case "x$with_fontconfig" in
12625 x) as_fn_append wine_notices "|fontconfig ${notice_platform}development files not found, fontconfig won't be supported." ;;
12626 xno) ;;
12627 *) as_fn_error $? "fontconfig ${notice_platform}development files not found, fontconfig won't be supported.
12628 This is an error since --with-fontconfig was requested." "$LINENO" 5 ;;
12629 esac
12632 if test "$ac_cv_header_gsm_h" = "yes" -o "$ac_cv_header_gsm_gsm_h" = "yes"
12633 then
12634 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lgsm" >&5
12635 $as_echo_n "checking for -lgsm... " >&6; }
12636 if ${ac_cv_lib_soname_gsm+:} false; then :
12637 $as_echo_n "(cached) " >&6
12638 else
12639 ac_check_soname_save_LIBS=$LIBS
12640 LIBS="-lgsm $LIBS"
12641 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12642 /* end confdefs.h. */
12644 /* Override any GCC internal prototype to avoid an error.
12645 Use char because int might match the return type of a GCC
12646 builtin and then its argument prototype would still apply. */
12647 #ifdef __cplusplus
12648 extern "C"
12649 #endif
12650 char gsm_create ();
12652 main ()
12654 return gsm_create ();
12656 return 0;
12658 _ACEOF
12659 if ac_fn_c_try_link "$LINENO"; then :
12660 case "$LIBEXT" in
12661 dll) ac_cv_lib_soname_gsm=`$ac_cv_path_LDD conftest.exe | grep "gsm" | sed -e "s/dll.*/dll/"';2,$d'` ;;
12662 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'` ;;
12663 *) ac_cv_lib_soname_gsm=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libgsm\\.$LIBEXT" | sed -e "s/^.*\\[\\(libgsm\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
12664 if ${ac_cv_lib_soname_gsm:+false} :; then :
12665 ac_cv_lib_soname_gsm=`$LDD conftest$ac_exeext | grep "libgsm\\.$LIBEXT" | sed -e "s/^.*\(libgsm\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
12666 fi ;;
12667 esac
12669 rm -f core conftest.err conftest.$ac_objext \
12670 conftest$ac_exeext conftest.$ac_ext
12671 LIBS=$ac_check_soname_save_LIBS
12673 if ${ac_cv_lib_soname_gsm:+false} :; then :
12674 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
12675 $as_echo "not found" >&6; }
12677 else
12678 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_gsm" >&5
12679 $as_echo "$ac_cv_lib_soname_gsm" >&6; }
12681 cat >>confdefs.h <<_ACEOF
12682 #define SONAME_LIBGSM "$ac_cv_lib_soname_gsm"
12683 _ACEOF
12688 if test "x$ac_cv_lib_soname_gsm" = "x"; then :
12689 case "x$with_gsm" in
12690 x) as_fn_append wine_notices "|libgsm ${notice_platform}development files not found, gsm 06.10 codec won't be supported." ;;
12691 xno) ;;
12692 *) as_fn_error $? "libgsm ${notice_platform}development files not found, gsm 06.10 codec won't be supported.
12693 This is an error since --with-gsm was requested." "$LINENO" 5 ;;
12694 esac
12697 if test "x$with_jpeg" != "xno"
12698 then
12699 if ${JPEG_CFLAGS:+false} :; then :
12700 if ${PKG_CONFIG+:} false; then :
12701 JPEG_CFLAGS=`$PKG_CONFIG --cflags libjpeg 2>/dev/null`
12705 if ${JPEG_LIBS:+false} :; then :
12706 if ${PKG_CONFIG+:} false; then :
12707 JPEG_LIBS=`$PKG_CONFIG --libs libjpeg 2>/dev/null`
12712 $as_echo "$as_me:${as_lineno-$LINENO}: libjpeg cflags: $JPEG_CFLAGS" >&5
12713 $as_echo "$as_me:${as_lineno-$LINENO}: libjpeg libs: $JPEG_LIBS" >&5
12714 ac_save_CPPFLAGS=$CPPFLAGS
12715 CPPFLAGS="$CPPFLAGS $JPEG_CFLAGS"
12716 for ac_header in jpeglib.h
12717 do :
12718 ac_fn_c_check_header_mongrel "$LINENO" "jpeglib.h" "ac_cv_header_jpeglib_h" "$ac_includes_default"
12719 if test "x$ac_cv_header_jpeglib_h" = xyes; then :
12720 cat >>confdefs.h <<_ACEOF
12721 #define HAVE_JPEGLIB_H 1
12722 _ACEOF
12726 done
12728 if test "$ac_cv_header_jpeglib_h" = "yes"
12729 then
12730 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -ljpeg" >&5
12731 $as_echo_n "checking for -ljpeg... " >&6; }
12732 if ${ac_cv_lib_soname_jpeg+:} false; then :
12733 $as_echo_n "(cached) " >&6
12734 else
12735 ac_check_soname_save_LIBS=$LIBS
12736 LIBS="-ljpeg $JPEG_LIBS $LIBS"
12737 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12738 /* end confdefs.h. */
12740 /* Override any GCC internal prototype to avoid an error.
12741 Use char because int might match the return type of a GCC
12742 builtin and then its argument prototype would still apply. */
12743 #ifdef __cplusplus
12744 extern "C"
12745 #endif
12746 char jpeg_start_decompress ();
12748 main ()
12750 return jpeg_start_decompress ();
12752 return 0;
12754 _ACEOF
12755 if ac_fn_c_try_link "$LINENO"; then :
12756 case "$LIBEXT" in
12757 dll) ac_cv_lib_soname_jpeg=`$ac_cv_path_LDD conftest.exe | grep "jpeg" | sed -e "s/dll.*/dll/"';2,$d'` ;;
12758 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'` ;;
12759 *) ac_cv_lib_soname_jpeg=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libjpeg\\.$LIBEXT" | sed -e "s/^.*\\[\\(libjpeg\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
12760 if ${ac_cv_lib_soname_jpeg:+false} :; then :
12761 ac_cv_lib_soname_jpeg=`$LDD conftest$ac_exeext | grep "libjpeg\\.$LIBEXT" | sed -e "s/^.*\(libjpeg\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
12762 fi ;;
12763 esac
12765 rm -f core conftest.err conftest.$ac_objext \
12766 conftest$ac_exeext conftest.$ac_ext
12767 LIBS=$ac_check_soname_save_LIBS
12769 if ${ac_cv_lib_soname_jpeg:+false} :; then :
12770 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
12771 $as_echo "not found" >&6; }
12772 JPEG_CFLAGS=""
12773 else
12774 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_jpeg" >&5
12775 $as_echo "$ac_cv_lib_soname_jpeg" >&6; }
12777 cat >>confdefs.h <<_ACEOF
12778 #define SONAME_LIBJPEG "$ac_cv_lib_soname_jpeg"
12779 _ACEOF
12783 else
12784 JPEG_CFLAGS=""
12786 CPPFLAGS=$ac_save_CPPFLAGS
12787 test -z "$JPEG_CFLAGS" || JPEG_CFLAGS=`echo " $JPEG_CFLAGS" | sed 's/ -I\([^/]\)/ -I\$(top_builddir)\/\1/g'`
12788 test -z "$JPEG_LIBS" || JPEG_LIBS=`echo " $JPEG_LIBS" | sed 's/ -L\([^/]\)/ -L\$(top_builddir)\/\1/g'`
12791 if test "x$ac_cv_lib_soname_jpeg" = "x"; then :
12792 case "x$with_jpeg" in
12793 x) as_fn_append wine_warnings "|libjpeg ${notice_platform}development files not found, JPEG won't be supported." ;;
12794 xno) ;;
12795 *) as_fn_error $? "libjpeg ${notice_platform}development files not found, JPEG won't be supported.
12796 This is an error since --with-jpeg was requested." "$LINENO" 5 ;;
12797 esac
12800 if test "x$with_png" != "xno"
12801 then
12802 if ${PNG_CFLAGS:+false} :; then :
12803 if ${PKG_CONFIG+:} false; then :
12804 PNG_CFLAGS=`$PKG_CONFIG --cflags libpng 2>/dev/null`
12807 test "$cross_compiling" = yes || PNG_CFLAGS=${PNG_CFLAGS:-$X_CFLAGS}
12808 if ${PNG_LIBS:+false} :; then :
12809 if ${PKG_CONFIG+:} false; then :
12810 PNG_LIBS=`$PKG_CONFIG --libs libpng 2>/dev/null`
12813 test "$cross_compiling" = yes || PNG_LIBS=${PNG_LIBS:-$X_LIBS}
12815 $as_echo "$as_me:${as_lineno-$LINENO}: libpng cflags: $PNG_CFLAGS" >&5
12816 $as_echo "$as_me:${as_lineno-$LINENO}: libpng libs: $PNG_LIBS" >&5
12817 ac_save_CPPFLAGS=$CPPFLAGS
12818 CPPFLAGS="$CPPFLAGS $PNG_CFLAGS"
12819 for ac_header in png.h
12820 do :
12821 ac_fn_c_check_header_mongrel "$LINENO" "png.h" "ac_cv_header_png_h" "$ac_includes_default"
12822 if test "x$ac_cv_header_png_h" = xyes; then :
12823 cat >>confdefs.h <<_ACEOF
12824 #define HAVE_PNG_H 1
12825 _ACEOF
12829 done
12831 if test "$ac_cv_header_png_h" = "yes"
12832 then
12833 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lpng" >&5
12834 $as_echo_n "checking for -lpng... " >&6; }
12835 if ${ac_cv_lib_soname_png+:} false; then :
12836 $as_echo_n "(cached) " >&6
12837 else
12838 ac_check_soname_save_LIBS=$LIBS
12839 LIBS="-lpng $PNG_LIBS -lm -lz $LIBS"
12840 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12841 /* end confdefs.h. */
12843 /* Override any GCC internal prototype to avoid an error.
12844 Use char because int might match the return type of a GCC
12845 builtin and then its argument prototype would still apply. */
12846 #ifdef __cplusplus
12847 extern "C"
12848 #endif
12849 char png_create_read_struct ();
12851 main ()
12853 return png_create_read_struct ();
12855 return 0;
12857 _ACEOF
12858 if ac_fn_c_try_link "$LINENO"; then :
12859 case "$LIBEXT" in
12860 dll) ac_cv_lib_soname_png=`$ac_cv_path_LDD conftest.exe | grep "png" | sed -e "s/dll.*/dll/"';2,$d'` ;;
12861 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'` ;;
12862 *) 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'`
12863 if ${ac_cv_lib_soname_png:+false} :; then :
12864 ac_cv_lib_soname_png=`$LDD conftest$ac_exeext | grep "libpng[0-9]*\\.$LIBEXT" | sed -e "s/^.*\(libpng[0-9]*\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
12865 fi ;;
12866 esac
12868 rm -f core conftest.err conftest.$ac_objext \
12869 conftest$ac_exeext conftest.$ac_ext
12870 LIBS=$ac_check_soname_save_LIBS
12872 if ${ac_cv_lib_soname_png:+false} :; then :
12873 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
12874 $as_echo "not found" >&6; }
12875 PNG_CFLAGS=""
12876 else
12877 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_png" >&5
12878 $as_echo "$ac_cv_lib_soname_png" >&6; }
12880 cat >>confdefs.h <<_ACEOF
12881 #define SONAME_LIBPNG "$ac_cv_lib_soname_png"
12882 _ACEOF
12884 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12885 /* end confdefs.h. */
12886 #include <png.h>
12888 main ()
12890 typeof(png_set_expand_gray_1_2_4_to_8) *p
12892 return 0;
12894 _ACEOF
12895 if ac_fn_c_try_compile "$LINENO"; then :
12897 $as_echo "#define HAVE_PNG_SET_EXPAND_GRAY_1_2_4_TO_8 1" >>confdefs.h
12900 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
12902 else
12903 PNG_CFLAGS=""
12905 CPPFLAGS=$ac_save_CPPFLAGS
12906 test -z "$PNG_CFLAGS" || PNG_CFLAGS=`echo " $PNG_CFLAGS" | sed 's/ -I\([^/]\)/ -I\$(top_builddir)\/\1/g'`
12907 test -z "$PNG_LIBS" || PNG_LIBS=`echo " $PNG_LIBS" | sed 's/ -L\([^/]\)/ -L\$(top_builddir)\/\1/g'`
12910 if test "x$ac_cv_lib_soname_png" = "x"; then :
12911 case "x$with_png" in
12912 x) as_fn_append wine_warnings "|libpng ${notice_platform}development files not found, PNG won't be supported." ;;
12913 xno) ;;
12914 *) as_fn_error $? "libpng ${notice_platform}development files not found, PNG won't be supported.
12915 This is an error since --with-png was requested." "$LINENO" 5 ;;
12916 esac
12919 if test "x$with_tiff" != "xno"
12920 then
12921 if ${TIFF_CFLAGS:+false} :; then :
12922 if ${PKG_CONFIG+:} false; then :
12923 TIFF_CFLAGS=`$PKG_CONFIG --cflags libtiff 2>/dev/null`
12927 if ${TIFF_LIBS:+false} :; then :
12928 if ${PKG_CONFIG+:} false; then :
12929 TIFF_LIBS=`$PKG_CONFIG --libs libtiff 2>/dev/null`
12934 $as_echo "$as_me:${as_lineno-$LINENO}: libtiff cflags: $TIFF_CFLAGS" >&5
12935 $as_echo "$as_me:${as_lineno-$LINENO}: libtiff libs: $TIFF_LIBS" >&5
12936 ac_save_CPPFLAGS=$CPPFLAGS
12937 CPPFLAGS="$CPPFLAGS $TIFF_CFLAGS"
12938 for ac_header in tiffio.h
12939 do :
12940 ac_fn_c_check_header_mongrel "$LINENO" "tiffio.h" "ac_cv_header_tiffio_h" "$ac_includes_default"
12941 if test "x$ac_cv_header_tiffio_h" = xyes; then :
12942 cat >>confdefs.h <<_ACEOF
12943 #define HAVE_TIFFIO_H 1
12944 _ACEOF
12948 done
12950 if test "$ac_cv_header_tiffio_h" = "yes"
12951 then
12952 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -ltiff" >&5
12953 $as_echo_n "checking for -ltiff... " >&6; }
12954 if ${ac_cv_lib_soname_tiff+:} false; then :
12955 $as_echo_n "(cached) " >&6
12956 else
12957 ac_check_soname_save_LIBS=$LIBS
12958 LIBS="-ltiff $TIFF_LIBS $LIBS"
12959 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12960 /* end confdefs.h. */
12962 /* Override any GCC internal prototype to avoid an error.
12963 Use char because int might match the return type of a GCC
12964 builtin and then its argument prototype would still apply. */
12965 #ifdef __cplusplus
12966 extern "C"
12967 #endif
12968 char TIFFClientOpen ();
12970 main ()
12972 return TIFFClientOpen ();
12974 return 0;
12976 _ACEOF
12977 if ac_fn_c_try_link "$LINENO"; then :
12978 case "$LIBEXT" in
12979 dll) ac_cv_lib_soname_tiff=`$ac_cv_path_LDD conftest.exe | grep "tiff" | sed -e "s/dll.*/dll/"';2,$d'` ;;
12980 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'` ;;
12981 *) ac_cv_lib_soname_tiff=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libtiff\\.$LIBEXT" | sed -e "s/^.*\\[\\(libtiff\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
12982 if ${ac_cv_lib_soname_tiff:+false} :; then :
12983 ac_cv_lib_soname_tiff=`$LDD conftest$ac_exeext | grep "libtiff\\.$LIBEXT" | sed -e "s/^.*\(libtiff\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
12984 fi ;;
12985 esac
12987 rm -f core conftest.err conftest.$ac_objext \
12988 conftest$ac_exeext conftest.$ac_ext
12989 LIBS=$ac_check_soname_save_LIBS
12991 if ${ac_cv_lib_soname_tiff:+false} :; then :
12992 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
12993 $as_echo "not found" >&6; }
12995 else
12996 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_tiff" >&5
12997 $as_echo "$ac_cv_lib_soname_tiff" >&6; }
12999 cat >>confdefs.h <<_ACEOF
13000 #define SONAME_LIBTIFF "$ac_cv_lib_soname_tiff"
13001 _ACEOF
13006 CPPFLAGS=$ac_save_CPPFLAGS
13007 test -z "$TIFF_CFLAGS" || TIFF_CFLAGS=`echo " $TIFF_CFLAGS" | sed 's/ -I\([^/]\)/ -I\$(top_builddir)\/\1/g'`
13008 test -z "$TIFF_LIBS" || TIFF_LIBS=`echo " $TIFF_LIBS" | sed 's/ -L\([^/]\)/ -L\$(top_builddir)\/\1/g'`
13011 if test "x$ac_cv_lib_soname_tiff" = "x"; then :
13012 case "x$with_tiff" in
13013 x) as_fn_append wine_notices "|libtiff ${notice_platform}development files not found, TIFF won't be supported." ;;
13014 xno) ;;
13015 *) as_fn_error $? "libtiff ${notice_platform}development files not found, TIFF won't be supported.
13016 This is an error since --with-tiff was requested." "$LINENO" 5 ;;
13017 esac
13020 if test "x$with_mpg123" != "xno"
13021 then
13022 if ${MPG123_CFLAGS:+false} :; then :
13023 if ${PKG_CONFIG+:} false; then :
13024 MPG123_CFLAGS=`$PKG_CONFIG --cflags libmpg123 2>/dev/null`
13028 if ${MPG123_LIBS:+false} :; then :
13029 if ${PKG_CONFIG+:} false; then :
13030 MPG123_LIBS=`$PKG_CONFIG --libs libmpg123 2>/dev/null`
13034 MPG123_LIBS=${MPG123_LIBS:-"-lmpg123"}
13035 $as_echo "$as_me:${as_lineno-$LINENO}: libmpg123 cflags: $MPG123_CFLAGS" >&5
13036 $as_echo "$as_me:${as_lineno-$LINENO}: libmpg123 libs: $MPG123_LIBS" >&5
13037 ac_save_CPPFLAGS=$CPPFLAGS
13038 CPPFLAGS="$CPPFLAGS $MPG123_CFLAGS"
13039 for ac_header in mpg123.h
13040 do :
13041 ac_fn_c_check_header_mongrel "$LINENO" "mpg123.h" "ac_cv_header_mpg123_h" "$ac_includes_default"
13042 if test "x$ac_cv_header_mpg123_h" = xyes; then :
13043 cat >>confdefs.h <<_ACEOF
13044 #define HAVE_MPG123_H 1
13045 _ACEOF
13049 done
13051 if test "$ac_cv_header_mpg123_h" = "yes"
13052 then
13053 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for mpg123_feed in -lmpg123" >&5
13054 $as_echo_n "checking for mpg123_feed in -lmpg123... " >&6; }
13055 if ${ac_cv_lib_mpg123_mpg123_feed+:} false; then :
13056 $as_echo_n "(cached) " >&6
13057 else
13058 ac_check_lib_save_LIBS=$LIBS
13059 LIBS="-lmpg123 $MPG123_LIBS $LIBS"
13060 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13061 /* end confdefs.h. */
13063 /* Override any GCC internal prototype to avoid an error.
13064 Use char because int might match the return type of a GCC
13065 builtin and then its argument prototype would still apply. */
13066 #ifdef __cplusplus
13067 extern "C"
13068 #endif
13069 char mpg123_feed ();
13071 main ()
13073 return mpg123_feed ();
13075 return 0;
13077 _ACEOF
13078 if ac_fn_c_try_link "$LINENO"; then :
13079 ac_cv_lib_mpg123_mpg123_feed=yes
13080 else
13081 ac_cv_lib_mpg123_mpg123_feed=no
13083 rm -f core conftest.err conftest.$ac_objext \
13084 conftest$ac_exeext conftest.$ac_ext
13085 LIBS=$ac_check_lib_save_LIBS
13087 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_mpg123_mpg123_feed" >&5
13088 $as_echo "$ac_cv_lib_mpg123_mpg123_feed" >&6; }
13089 if test "x$ac_cv_lib_mpg123_mpg123_feed" = xyes; then :
13091 else
13092 MPG123_LIBS=""
13095 else
13096 MPG123_CFLAGS=""
13097 MPG123_LIBS=""
13099 CPPFLAGS=$ac_save_CPPFLAGS
13100 test -z "$MPG123_CFLAGS" || MPG123_CFLAGS=`echo " $MPG123_CFLAGS" | sed 's/ -I\([^/]\)/ -I\$(top_builddir)\/\1/g'`
13101 test -z "$MPG123_LIBS" || MPG123_LIBS=`echo " $MPG123_LIBS" | sed 's/ -L\([^/]\)/ -L\$(top_builddir)\/\1/g'`
13104 if test "x$ac_cv_lib_mpg123_mpg123_feed" != xyes -a x"$ac_cv_header_CoreAudio_CoreAudio_h" != xyes; then :
13105 case "x$with_mpg123" in
13106 x) as_fn_append wine_notices "|libmpg123 ${notice_platform}development files not found (or too old), mp3 codec won't be supported." ;;
13107 xno) ;;
13108 *) as_fn_error $? "libmpg123 ${notice_platform}development files not found (or too old), mp3 codec won't be supported.
13109 This is an error since --with-mpg123 was requested." "$LINENO" 5 ;;
13110 esac
13112 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}
13114 if test "$ac_cv_header_AL_al_h" = "yes"
13115 then
13116 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lopenal" >&5
13117 $as_echo_n "checking for -lopenal... " >&6; }
13118 if ${ac_cv_lib_soname_openal+:} false; then :
13119 $as_echo_n "(cached) " >&6
13120 else
13121 ac_check_soname_save_LIBS=$LIBS
13122 LIBS="-lopenal $LIBS"
13123 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13124 /* end confdefs.h. */
13126 /* Override any GCC internal prototype to avoid an error.
13127 Use char because int might match the return type of a GCC
13128 builtin and then its argument prototype would still apply. */
13129 #ifdef __cplusplus
13130 extern "C"
13131 #endif
13132 char alGetSource3i ();
13134 main ()
13136 return alGetSource3i ();
13138 return 0;
13140 _ACEOF
13141 if ac_fn_c_try_link "$LINENO"; then :
13142 case "$LIBEXT" in
13143 dll) ac_cv_lib_soname_openal=`$ac_cv_path_LDD conftest.exe | grep "openal" | sed -e "s/dll.*/dll/"';2,$d'` ;;
13144 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'` ;;
13145 *) ac_cv_lib_soname_openal=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libopenal\\.$LIBEXT" | sed -e "s/^.*\\[\\(libopenal\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
13146 if ${ac_cv_lib_soname_openal:+false} :; then :
13147 ac_cv_lib_soname_openal=`$LDD conftest$ac_exeext | grep "libopenal\\.$LIBEXT" | sed -e "s/^.*\(libopenal\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
13148 fi ;;
13149 esac
13151 rm -f core conftest.err conftest.$ac_objext \
13152 conftest$ac_exeext conftest.$ac_ext
13153 LIBS=$ac_check_soname_save_LIBS
13155 if ${ac_cv_lib_soname_openal:+false} :; then :
13156 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
13157 $as_echo "not found" >&6; }
13159 else
13160 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_openal" >&5
13161 $as_echo "$ac_cv_lib_soname_openal" >&6; }
13163 cat >>confdefs.h <<_ACEOF
13164 #define SONAME_LIBOPENAL "$ac_cv_lib_soname_openal"
13165 _ACEOF
13167 OPENAL_LIBS="-lopenal"
13169 ac_cv_lib_openal=yes
13171 cat >>confdefs.h <<_ACEOF
13172 #define HAVE_OPENAL 1
13173 _ACEOF
13177 if test "x$ac_cv_lib_openal" != xyes; then :
13178 case "x$with_openal" in
13179 x) as_fn_append wine_notices "|libopenal ${notice_platform}development files not found (or too old), OpenAL won't be supported." ;;
13180 xno) ;;
13181 *) as_fn_error $? "libopenal ${notice_platform}development files not found (or too old), OpenAL won't be supported.
13182 This is an error since --with-openal was requested." "$LINENO" 5 ;;
13183 esac
13185 test "x$ac_cv_lib_openal" = xyes || enable_openal32=${enable_openal32:-no}
13187 if test "$ac_cv_header_kstat_h" = "yes"
13188 then
13189 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for kstat_open in -lkstat" >&5
13190 $as_echo_n "checking for kstat_open in -lkstat... " >&6; }
13191 if ${ac_cv_lib_kstat_kstat_open+:} false; then :
13192 $as_echo_n "(cached) " >&6
13193 else
13194 ac_check_lib_save_LIBS=$LIBS
13195 LIBS="-lkstat $LIBS"
13196 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13197 /* end confdefs.h. */
13199 /* Override any GCC internal prototype to avoid an error.
13200 Use char because int might match the return type of a GCC
13201 builtin and then its argument prototype would still apply. */
13202 #ifdef __cplusplus
13203 extern "C"
13204 #endif
13205 char kstat_open ();
13207 main ()
13209 return kstat_open ();
13211 return 0;
13213 _ACEOF
13214 if ac_fn_c_try_link "$LINENO"; then :
13215 ac_cv_lib_kstat_kstat_open=yes
13216 else
13217 ac_cv_lib_kstat_kstat_open=no
13219 rm -f core conftest.err conftest.$ac_objext \
13220 conftest$ac_exeext conftest.$ac_ext
13221 LIBS=$ac_check_lib_save_LIBS
13223 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_kstat_kstat_open" >&5
13224 $as_echo "$ac_cv_lib_kstat_kstat_open" >&6; }
13225 if test "x$ac_cv_lib_kstat_kstat_open" = xyes; then :
13227 $as_echo "#define HAVE_LIBKSTAT 1" >>confdefs.h
13229 KSTAT_LIBS="-lkstat"
13235 if test "$ac_cv_header_libprocstat_h" = "yes"
13236 then
13237 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for procstat_open_sysctl in -lprocstat" >&5
13238 $as_echo_n "checking for procstat_open_sysctl in -lprocstat... " >&6; }
13239 if ${ac_cv_lib_procstat_procstat_open_sysctl+:} false; then :
13240 $as_echo_n "(cached) " >&6
13241 else
13242 ac_check_lib_save_LIBS=$LIBS
13243 LIBS="-lprocstat $LIBS"
13244 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13245 /* end confdefs.h. */
13247 /* Override any GCC internal prototype to avoid an error.
13248 Use char because int might match the return type of a GCC
13249 builtin and then its argument prototype would still apply. */
13250 #ifdef __cplusplus
13251 extern "C"
13252 #endif
13253 char procstat_open_sysctl ();
13255 main ()
13257 return procstat_open_sysctl ();
13259 return 0;
13261 _ACEOF
13262 if ac_fn_c_try_link "$LINENO"; then :
13263 ac_cv_lib_procstat_procstat_open_sysctl=yes
13264 else
13265 ac_cv_lib_procstat_procstat_open_sysctl=no
13267 rm -f core conftest.err conftest.$ac_objext \
13268 conftest$ac_exeext conftest.$ac_ext
13269 LIBS=$ac_check_lib_save_LIBS
13271 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_procstat_procstat_open_sysctl" >&5
13272 $as_echo "$ac_cv_lib_procstat_procstat_open_sysctl" >&6; }
13273 if test "x$ac_cv_lib_procstat_procstat_open_sysctl" = xyes; then :
13275 $as_echo "#define HAVE_LIBPROCSTAT 1" >>confdefs.h
13277 PROCSTAT_LIBS="-lprocstat"
13283 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lodbc" >&5
13284 $as_echo_n "checking for -lodbc... " >&6; }
13285 if ${ac_cv_lib_soname_odbc+:} false; then :
13286 $as_echo_n "(cached) " >&6
13287 else
13288 ac_check_soname_save_LIBS=$LIBS
13289 LIBS="-lodbc $LIBS"
13290 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13291 /* end confdefs.h. */
13293 /* Override any GCC internal prototype to avoid an error.
13294 Use char because int might match the return type of a GCC
13295 builtin and then its argument prototype would still apply. */
13296 #ifdef __cplusplus
13297 extern "C"
13298 #endif
13299 char SQLConnect ();
13301 main ()
13303 return SQLConnect ();
13305 return 0;
13307 _ACEOF
13308 if ac_fn_c_try_link "$LINENO"; then :
13309 case "$LIBEXT" in
13310 dll) ac_cv_lib_soname_odbc=`$ac_cv_path_LDD conftest.exe | grep "odbc" | sed -e "s/dll.*/dll/"';2,$d'` ;;
13311 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'` ;;
13312 *) ac_cv_lib_soname_odbc=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libodbc\\.$LIBEXT" | sed -e "s/^.*\\[\\(libodbc\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
13313 if ${ac_cv_lib_soname_odbc:+false} :; then :
13314 ac_cv_lib_soname_odbc=`$LDD conftest$ac_exeext | grep "libodbc\\.$LIBEXT" | sed -e "s/^.*\(libodbc\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
13315 fi ;;
13316 esac
13318 rm -f core conftest.err conftest.$ac_objext \
13319 conftest$ac_exeext conftest.$ac_ext
13320 LIBS=$ac_check_soname_save_LIBS
13322 if ${ac_cv_lib_soname_odbc:+false} :; then :
13323 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
13324 $as_echo "not found" >&6; }
13325 cat >>confdefs.h <<_ACEOF
13326 #define SONAME_LIBODBC "libodbc.$LIBEXT"
13327 _ACEOF
13329 else
13330 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_odbc" >&5
13331 $as_echo "$ac_cv_lib_soname_odbc" >&6; }
13333 cat >>confdefs.h <<_ACEOF
13334 #define SONAME_LIBODBC "$ac_cv_lib_soname_odbc"
13335 _ACEOF
13340 if test "x$with_netapi" != "xno"
13341 then
13342 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lnetapi" >&5
13343 $as_echo_n "checking for -lnetapi... " >&6; }
13344 if ${ac_cv_lib_soname_netapi+:} false; then :
13345 $as_echo_n "(cached) " >&6
13346 else
13347 ac_check_soname_save_LIBS=$LIBS
13348 LIBS="-lnetapi $LIBS"
13349 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13350 /* end confdefs.h. */
13352 /* Override any GCC internal prototype to avoid an error.
13353 Use char because int might match the return type of a GCC
13354 builtin and then its argument prototype would still apply. */
13355 #ifdef __cplusplus
13356 extern "C"
13357 #endif
13358 char libnetapi_init ();
13360 main ()
13362 return libnetapi_init ();
13364 return 0;
13366 _ACEOF
13367 if ac_fn_c_try_link "$LINENO"; then :
13368 case "$LIBEXT" in
13369 dll) ac_cv_lib_soname_netapi=`$ac_cv_path_LDD conftest.exe | grep "netapi" | sed -e "s/dll.*/dll/"';2,$d'` ;;
13370 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'` ;;
13371 *) ac_cv_lib_soname_netapi=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libnetapi\\.$LIBEXT" | sed -e "s/^.*\\[\\(libnetapi\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
13372 if ${ac_cv_lib_soname_netapi:+false} :; then :
13373 ac_cv_lib_soname_netapi=`$LDD conftest$ac_exeext | grep "libnetapi\\.$LIBEXT" | sed -e "s/^.*\(libnetapi\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
13374 fi ;;
13375 esac
13377 rm -f core conftest.err conftest.$ac_objext \
13378 conftest$ac_exeext conftest.$ac_ext
13379 LIBS=$ac_check_soname_save_LIBS
13381 if ${ac_cv_lib_soname_netapi:+false} :; then :
13382 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
13383 $as_echo "not found" >&6; }
13384 cat >>confdefs.h <<_ACEOF
13385 #define SONAME_LIBNETAPI "libnetapi.$LIBEXT"
13386 _ACEOF
13388 else
13389 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_netapi" >&5
13390 $as_echo "$ac_cv_lib_soname_netapi" >&6; }
13392 cat >>confdefs.h <<_ACEOF
13393 #define SONAME_LIBNETAPI "$ac_cv_lib_soname_netapi"
13394 _ACEOF
13400 test -n "$ALSA_LIBS" || enable_winealsa_drv=${enable_winealsa_drv:-no}
13401 test -n "$COREAUDIO_LIBS" || enable_winecoreaudio_drv=${enable_winecoreaudio_drv:-no}
13402 test "x$ac_cv_member_oss_sysinfo_numaudioengines" = xyes || enable_wineoss_drv=${enable_wineoss_drv:-no}
13403 test "$ac_cv_header_linux_joystick_h" = "yes" || enable_winejoystick_drv=${enable_winejoystick_drv:-no}
13405 if test "x$ALSA_LIBS$COREAUDIO_LIBS" = "x" -a \
13406 "x$ac_cv_member_oss_sysinfo_numaudioengines" != xyes -a \
13407 "x$with_alsa$with_coreaudio$with_oss" != xnonono
13408 then
13409 as_fn_append wine_warnings "|No sound system was found. Windows applications will be silent."
13413 EXTRACFLAGS=""
13415 if test "x${GCC}" = "xyes"
13416 then
13417 EXTRACFLAGS="-Wall -pipe"
13419 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for gcc strength-reduce bug" >&5
13420 $as_echo_n "checking for gcc strength-reduce bug... " >&6; }
13421 if ${ac_cv_c_gcc_strength_bug+:} false; then :
13422 $as_echo_n "(cached) " >&6
13423 else
13424 if test "$cross_compiling" = yes; then :
13425 ac_cv_c_gcc_strength_bug="yes"
13426 else
13427 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13428 /* end confdefs.h. */
13429 int L[4] = {0,1,2,3};
13431 main ()
13433 static int Array[3];
13434 unsigned int B = 3;
13435 int i;
13436 for(i=0; i<B; i++) Array[i] = i - 3;
13437 for(i=0; i<4 - 1; i++) L[i] = L[i + 1];
13438 L[i] = 4;
13439 return (Array[1] != -2 || L[2] != 3)
13441 return 0;
13443 _ACEOF
13444 if ac_fn_c_try_run "$LINENO"; then :
13445 ac_cv_c_gcc_strength_bug="no"
13446 else
13447 ac_cv_c_gcc_strength_bug="yes"
13449 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \
13450 conftest.$ac_objext conftest.beam conftest.$ac_ext
13454 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_gcc_strength_bug" >&5
13455 $as_echo "$ac_cv_c_gcc_strength_bug" >&6; }
13456 if test "$ac_cv_c_gcc_strength_bug" = "yes"
13457 then
13458 EXTRACFLAGS="$EXTRACFLAGS -fno-strength-reduce"
13461 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -fno-builtin" >&5
13462 $as_echo_n "checking whether the compiler supports -fno-builtin... " >&6; }
13463 if ${ac_cv_cflags__fno_builtin+:} false; then :
13464 $as_echo_n "(cached) " >&6
13465 else
13466 ac_wine_try_cflags_saved=$CFLAGS
13467 CFLAGS="$CFLAGS -fno-builtin"
13468 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13469 /* end confdefs.h. */
13470 int main(int argc, char **argv) { return 0; }
13471 _ACEOF
13472 if ac_fn_c_try_link "$LINENO"; then :
13473 ac_cv_cflags__fno_builtin=yes
13474 else
13475 ac_cv_cflags__fno_builtin=no
13477 rm -f core conftest.err conftest.$ac_objext \
13478 conftest$ac_exeext conftest.$ac_ext
13479 CFLAGS=$ac_wine_try_cflags_saved
13481 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__fno_builtin" >&5
13482 $as_echo "$ac_cv_cflags__fno_builtin" >&6; }
13483 if test "x$ac_cv_cflags__fno_builtin" = xyes; then :
13484 BUILTINFLAG="-fno-builtin"
13487 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -fno-strict-aliasing" >&5
13488 $as_echo_n "checking whether the compiler supports -fno-strict-aliasing... " >&6; }
13489 if ${ac_cv_cflags__fno_strict_aliasing+:} false; then :
13490 $as_echo_n "(cached) " >&6
13491 else
13492 ac_wine_try_cflags_saved=$CFLAGS
13493 CFLAGS="$CFLAGS -fno-strict-aliasing"
13494 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13495 /* end confdefs.h. */
13496 int main(int argc, char **argv) { return 0; }
13497 _ACEOF
13498 if ac_fn_c_try_link "$LINENO"; then :
13499 ac_cv_cflags__fno_strict_aliasing=yes
13500 else
13501 ac_cv_cflags__fno_strict_aliasing=no
13503 rm -f core conftest.err conftest.$ac_objext \
13504 conftest$ac_exeext conftest.$ac_ext
13505 CFLAGS=$ac_wine_try_cflags_saved
13507 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__fno_strict_aliasing" >&5
13508 $as_echo "$ac_cv_cflags__fno_strict_aliasing" >&6; }
13509 if test "x$ac_cv_cflags__fno_strict_aliasing" = xyes; then :
13510 EXTRACFLAGS="$EXTRACFLAGS -fno-strict-aliasing"
13512 saved_CFLAGS=$CFLAGS
13513 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Werror=unknown-warning-option" >&5
13514 $as_echo_n "checking whether the compiler supports -Werror=unknown-warning-option... " >&6; }
13515 if ${ac_cv_cflags__Werror_unknown_warning_option+:} false; then :
13516 $as_echo_n "(cached) " >&6
13517 else
13518 ac_wine_try_cflags_saved=$CFLAGS
13519 CFLAGS="$CFLAGS -Werror=unknown-warning-option"
13520 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13521 /* end confdefs.h. */
13522 int main(int argc, char **argv) { return 0; }
13523 _ACEOF
13524 if ac_fn_c_try_link "$LINENO"; then :
13525 ac_cv_cflags__Werror_unknown_warning_option=yes
13526 else
13527 ac_cv_cflags__Werror_unknown_warning_option=no
13529 rm -f core conftest.err conftest.$ac_objext \
13530 conftest$ac_exeext conftest.$ac_ext
13531 CFLAGS=$ac_wine_try_cflags_saved
13533 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Werror_unknown_warning_option" >&5
13534 $as_echo "$ac_cv_cflags__Werror_unknown_warning_option" >&6; }
13535 if test "x$ac_cv_cflags__Werror_unknown_warning_option" = xyes; then :
13536 CFLAGS="$CFLAGS -Werror=unknown-warning-option"
13538 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wdeclaration-after-statement" >&5
13539 $as_echo_n "checking whether the compiler supports -Wdeclaration-after-statement... " >&6; }
13540 if ${ac_cv_cflags__Wdeclaration_after_statement+:} false; then :
13541 $as_echo_n "(cached) " >&6
13542 else
13543 ac_wine_try_cflags_saved=$CFLAGS
13544 CFLAGS="$CFLAGS -Wdeclaration-after-statement"
13545 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13546 /* end confdefs.h. */
13547 int main(int argc, char **argv) { return 0; }
13548 _ACEOF
13549 if ac_fn_c_try_link "$LINENO"; then :
13550 ac_cv_cflags__Wdeclaration_after_statement=yes
13551 else
13552 ac_cv_cflags__Wdeclaration_after_statement=no
13554 rm -f core conftest.err conftest.$ac_objext \
13555 conftest$ac_exeext conftest.$ac_ext
13556 CFLAGS=$ac_wine_try_cflags_saved
13558 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wdeclaration_after_statement" >&5
13559 $as_echo "$ac_cv_cflags__Wdeclaration_after_statement" >&6; }
13560 if test "x$ac_cv_cflags__Wdeclaration_after_statement" = xyes; then :
13561 EXTRACFLAGS="$EXTRACFLAGS -Wdeclaration-after-statement"
13563 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wempty-body" >&5
13564 $as_echo_n "checking whether the compiler supports -Wempty-body... " >&6; }
13565 if ${ac_cv_cflags__Wempty_body+:} false; then :
13566 $as_echo_n "(cached) " >&6
13567 else
13568 ac_wine_try_cflags_saved=$CFLAGS
13569 CFLAGS="$CFLAGS -Wempty-body"
13570 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13571 /* end confdefs.h. */
13572 int main(int argc, char **argv) { return 0; }
13573 _ACEOF
13574 if ac_fn_c_try_link "$LINENO"; then :
13575 ac_cv_cflags__Wempty_body=yes
13576 else
13577 ac_cv_cflags__Wempty_body=no
13579 rm -f core conftest.err conftest.$ac_objext \
13580 conftest$ac_exeext conftest.$ac_ext
13581 CFLAGS=$ac_wine_try_cflags_saved
13583 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wempty_body" >&5
13584 $as_echo "$ac_cv_cflags__Wempty_body" >&6; }
13585 if test "x$ac_cv_cflags__Wempty_body" = xyes; then :
13586 EXTRACFLAGS="$EXTRACFLAGS -Wempty-body"
13588 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wignored-qualifiers" >&5
13589 $as_echo_n "checking whether the compiler supports -Wignored-qualifiers... " >&6; }
13590 if ${ac_cv_cflags__Wignored_qualifiers+:} false; then :
13591 $as_echo_n "(cached) " >&6
13592 else
13593 ac_wine_try_cflags_saved=$CFLAGS
13594 CFLAGS="$CFLAGS -Wignored-qualifiers"
13595 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13596 /* end confdefs.h. */
13597 int main(int argc, char **argv) { return 0; }
13598 _ACEOF
13599 if ac_fn_c_try_link "$LINENO"; then :
13600 ac_cv_cflags__Wignored_qualifiers=yes
13601 else
13602 ac_cv_cflags__Wignored_qualifiers=no
13604 rm -f core conftest.err conftest.$ac_objext \
13605 conftest$ac_exeext conftest.$ac_ext
13606 CFLAGS=$ac_wine_try_cflags_saved
13608 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wignored_qualifiers" >&5
13609 $as_echo "$ac_cv_cflags__Wignored_qualifiers" >&6; }
13610 if test "x$ac_cv_cflags__Wignored_qualifiers" = xyes; then :
13611 EXTRACFLAGS="$EXTRACFLAGS -Wignored-qualifiers"
13613 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wstrict-prototypes" >&5
13614 $as_echo_n "checking whether the compiler supports -Wstrict-prototypes... " >&6; }
13615 if ${ac_cv_cflags__Wstrict_prototypes+:} false; then :
13616 $as_echo_n "(cached) " >&6
13617 else
13618 ac_wine_try_cflags_saved=$CFLAGS
13619 CFLAGS="$CFLAGS -Wstrict-prototypes"
13620 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13621 /* end confdefs.h. */
13622 int main(int argc, char **argv) { return 0; }
13623 _ACEOF
13624 if ac_fn_c_try_link "$LINENO"; then :
13625 ac_cv_cflags__Wstrict_prototypes=yes
13626 else
13627 ac_cv_cflags__Wstrict_prototypes=no
13629 rm -f core conftest.err conftest.$ac_objext \
13630 conftest$ac_exeext conftest.$ac_ext
13631 CFLAGS=$ac_wine_try_cflags_saved
13633 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wstrict_prototypes" >&5
13634 $as_echo "$ac_cv_cflags__Wstrict_prototypes" >&6; }
13635 if test "x$ac_cv_cflags__Wstrict_prototypes" = xyes; then :
13636 EXTRACFLAGS="$EXTRACFLAGS -Wstrict-prototypes"
13638 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wtype-limits" >&5
13639 $as_echo_n "checking whether the compiler supports -Wtype-limits... " >&6; }
13640 if ${ac_cv_cflags__Wtype_limits+:} false; then :
13641 $as_echo_n "(cached) " >&6
13642 else
13643 ac_wine_try_cflags_saved=$CFLAGS
13644 CFLAGS="$CFLAGS -Wtype-limits"
13645 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13646 /* end confdefs.h. */
13647 int main(int argc, char **argv) { return 0; }
13648 _ACEOF
13649 if ac_fn_c_try_link "$LINENO"; then :
13650 ac_cv_cflags__Wtype_limits=yes
13651 else
13652 ac_cv_cflags__Wtype_limits=no
13654 rm -f core conftest.err conftest.$ac_objext \
13655 conftest$ac_exeext conftest.$ac_ext
13656 CFLAGS=$ac_wine_try_cflags_saved
13658 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wtype_limits" >&5
13659 $as_echo "$ac_cv_cflags__Wtype_limits" >&6; }
13660 if test "x$ac_cv_cflags__Wtype_limits" = xyes; then :
13661 EXTRACFLAGS="$EXTRACFLAGS -Wtype-limits"
13663 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wunused-but-set-parameter" >&5
13664 $as_echo_n "checking whether the compiler supports -Wunused-but-set-parameter... " >&6; }
13665 if ${ac_cv_cflags__Wunused_but_set_parameter+:} false; then :
13666 $as_echo_n "(cached) " >&6
13667 else
13668 ac_wine_try_cflags_saved=$CFLAGS
13669 CFLAGS="$CFLAGS -Wunused-but-set-parameter"
13670 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13671 /* end confdefs.h. */
13672 int main(int argc, char **argv) { return 0; }
13673 _ACEOF
13674 if ac_fn_c_try_link "$LINENO"; then :
13675 ac_cv_cflags__Wunused_but_set_parameter=yes
13676 else
13677 ac_cv_cflags__Wunused_but_set_parameter=no
13679 rm -f core conftest.err conftest.$ac_objext \
13680 conftest$ac_exeext conftest.$ac_ext
13681 CFLAGS=$ac_wine_try_cflags_saved
13683 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wunused_but_set_parameter" >&5
13684 $as_echo "$ac_cv_cflags__Wunused_but_set_parameter" >&6; }
13685 if test "x$ac_cv_cflags__Wunused_but_set_parameter" = xyes; then :
13686 EXTRACFLAGS="$EXTRACFLAGS -Wunused-but-set-parameter"
13688 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wwrite-strings" >&5
13689 $as_echo_n "checking whether the compiler supports -Wwrite-strings... " >&6; }
13690 if ${ac_cv_cflags__Wwrite_strings+:} false; then :
13691 $as_echo_n "(cached) " >&6
13692 else
13693 ac_wine_try_cflags_saved=$CFLAGS
13694 CFLAGS="$CFLAGS -Wwrite-strings"
13695 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13696 /* end confdefs.h. */
13697 int main(int argc, char **argv) { return 0; }
13698 _ACEOF
13699 if ac_fn_c_try_link "$LINENO"; then :
13700 ac_cv_cflags__Wwrite_strings=yes
13701 else
13702 ac_cv_cflags__Wwrite_strings=no
13704 rm -f core conftest.err conftest.$ac_objext \
13705 conftest$ac_exeext conftest.$ac_ext
13706 CFLAGS=$ac_wine_try_cflags_saved
13708 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wwrite_strings" >&5
13709 $as_echo "$ac_cv_cflags__Wwrite_strings" >&6; }
13710 if test "x$ac_cv_cflags__Wwrite_strings" = xyes; then :
13711 EXTRACFLAGS="$EXTRACFLAGS -Wwrite-strings"
13714 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wpointer-arith" >&5
13715 $as_echo_n "checking whether the compiler supports -Wpointer-arith... " >&6; }
13716 if ${ac_cv_cflags__Wpointer_arith+:} false; then :
13717 $as_echo_n "(cached) " >&6
13718 else
13719 ac_wine_try_cflags_saved=$CFLAGS
13720 CFLAGS="$CFLAGS -Wpointer-arith"
13721 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13722 /* end confdefs.h. */
13723 int main(int argc, char **argv) { return 0; }
13724 _ACEOF
13725 if ac_fn_c_try_link "$LINENO"; then :
13726 ac_cv_cflags__Wpointer_arith=yes
13727 else
13728 ac_cv_cflags__Wpointer_arith=no
13730 rm -f core conftest.err conftest.$ac_objext \
13731 conftest$ac_exeext conftest.$ac_ext
13732 CFLAGS=$ac_wine_try_cflags_saved
13734 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wpointer_arith" >&5
13735 $as_echo "$ac_cv_cflags__Wpointer_arith" >&6; }
13736 if test "x$ac_cv_cflags__Wpointer_arith" = xyes; then :
13737 saved_string_h_CFLAGS=$CFLAGS
13738 CFLAGS="$CFLAGS -Wpointer-arith -Werror"
13739 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for broken string.h that generates warnings with -Wpointer-arith" >&5
13740 $as_echo_n "checking for broken string.h that generates warnings with -Wpointer-arith... " >&6; }
13741 if ${ac_cv_c_string_h_warnings+:} false; then :
13742 $as_echo_n "(cached) " >&6
13743 else
13744 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13745 /* end confdefs.h. */
13746 #include <string.h>
13748 main ()
13752 return 0;
13754 _ACEOF
13755 if ac_fn_c_try_compile "$LINENO"; then :
13756 ac_cv_c_string_h_warnings=no
13757 else
13758 ac_cv_c_string_h_warnings=yes
13760 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
13762 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_string_h_warnings" >&5
13763 $as_echo "$ac_cv_c_string_h_warnings" >&6; }
13764 test "$ac_cv_c_string_h_warnings" = yes || EXTRACFLAGS="$EXTRACFLAGS -Wpointer-arith"
13765 CFLAGS=$saved_string_h_CFLAGS
13768 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wlogical-op" >&5
13769 $as_echo_n "checking whether the compiler supports -Wlogical-op... " >&6; }
13770 if ${ac_cv_cflags__Wlogical_op+:} false; then :
13771 $as_echo_n "(cached) " >&6
13772 else
13773 ac_wine_try_cflags_saved=$CFLAGS
13774 CFLAGS="$CFLAGS -Wlogical-op"
13775 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13776 /* end confdefs.h. */
13777 int main(int argc, char **argv) { return 0; }
13778 _ACEOF
13779 if ac_fn_c_try_link "$LINENO"; then :
13780 ac_cv_cflags__Wlogical_op=yes
13781 else
13782 ac_cv_cflags__Wlogical_op=no
13784 rm -f core conftest.err conftest.$ac_objext \
13785 conftest$ac_exeext conftest.$ac_ext
13786 CFLAGS=$ac_wine_try_cflags_saved
13788 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wlogical_op" >&5
13789 $as_echo "$ac_cv_cflags__Wlogical_op" >&6; }
13790 if test "x$ac_cv_cflags__Wlogical_op" = xyes; then :
13791 saved_string_h_CFLAGS=$CFLAGS
13792 CFLAGS="$CFLAGS -Wlogical-op -Werror"
13793 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for broken string.h that generates warnings with -Wlogical-op" >&5
13794 $as_echo_n "checking for broken string.h that generates warnings with -Wlogical-op... " >&6; }
13795 if ${ac_cv_c_logicalop_noisy+:} false; then :
13796 $as_echo_n "(cached) " >&6
13797 else
13798 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13799 /* end confdefs.h. */
13800 #include <string.h>
13801 char*f(const char *h,char n) {return strchr(h,n);}
13803 main ()
13807 return 0;
13809 _ACEOF
13810 if ac_fn_c_try_compile "$LINENO"; then :
13811 ac_cv_c_logicalop_noisy=no
13812 else
13813 ac_cv_c_logicalop_noisy=yes
13815 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
13817 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_logicalop_noisy" >&5
13818 $as_echo "$ac_cv_c_logicalop_noisy" >&6; }
13819 CFLAGS=$saved_string_h_CFLAGS
13820 test "$ac_cv_c_logicalop_noisy" = yes || EXTRACFLAGS="$EXTRACFLAGS -Wlogical-op"
13823 CFLAGS=$saved_CFLAGS
13825 for ac_flag in $CFLAGS; do
13826 case $ac_flag in
13827 -g) case $host_os in
13828 darwin*) { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -gstabs+" >&5
13829 $as_echo_n "checking whether the compiler supports -gstabs+... " >&6; }
13830 if ${ac_cv_cflags__gstabsp+:} false; then :
13831 $as_echo_n "(cached) " >&6
13832 else
13833 ac_wine_try_cflags_saved=$CFLAGS
13834 CFLAGS="$CFLAGS -gstabs+"
13835 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13836 /* end confdefs.h. */
13837 int main(int argc, char **argv) { return 0; }
13838 _ACEOF
13839 if ac_fn_c_try_link "$LINENO"; then :
13840 ac_cv_cflags__gstabsp=yes
13841 else
13842 ac_cv_cflags__gstabsp=no
13844 rm -f core conftest.err conftest.$ac_objext \
13845 conftest$ac_exeext conftest.$ac_ext
13846 CFLAGS=$ac_wine_try_cflags_saved
13848 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__gstabsp" >&5
13849 $as_echo "$ac_cv_cflags__gstabsp" >&6; }
13850 if test "x$ac_cv_cflags__gstabsp" = xyes; then :
13851 EXTRACFLAGS="$EXTRACFLAGS -gstabs+"
13852 fi ;;
13853 *) { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -gdwarf-2" >&5
13854 $as_echo_n "checking whether the compiler supports -gdwarf-2... " >&6; }
13855 if ${ac_cv_cflags__gdwarf_2+:} false; then :
13856 $as_echo_n "(cached) " >&6
13857 else
13858 ac_wine_try_cflags_saved=$CFLAGS
13859 CFLAGS="$CFLAGS -gdwarf-2"
13860 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13861 /* end confdefs.h. */
13862 int main(int argc, char **argv) { return 0; }
13863 _ACEOF
13864 if ac_fn_c_try_link "$LINENO"; then :
13865 ac_cv_cflags__gdwarf_2=yes
13866 else
13867 ac_cv_cflags__gdwarf_2=no
13869 rm -f core conftest.err conftest.$ac_objext \
13870 conftest$ac_exeext conftest.$ac_ext
13871 CFLAGS=$ac_wine_try_cflags_saved
13873 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__gdwarf_2" >&5
13874 $as_echo "$ac_cv_cflags__gdwarf_2" >&6; }
13875 if test "x$ac_cv_cflags__gdwarf_2" = xyes; then :
13876 EXTRACFLAGS="$EXTRACFLAGS -gdwarf-2"
13878 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -gstrict-dwarf" >&5
13879 $as_echo_n "checking whether the compiler supports -gstrict-dwarf... " >&6; }
13880 if ${ac_cv_cflags__gstrict_dwarf+:} false; then :
13881 $as_echo_n "(cached) " >&6
13882 else
13883 ac_wine_try_cflags_saved=$CFLAGS
13884 CFLAGS="$CFLAGS -gstrict-dwarf"
13885 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13886 /* end confdefs.h. */
13887 int main(int argc, char **argv) { return 0; }
13888 _ACEOF
13889 if ac_fn_c_try_link "$LINENO"; then :
13890 ac_cv_cflags__gstrict_dwarf=yes
13891 else
13892 ac_cv_cflags__gstrict_dwarf=no
13894 rm -f core conftest.err conftest.$ac_objext \
13895 conftest$ac_exeext conftest.$ac_ext
13896 CFLAGS=$ac_wine_try_cflags_saved
13898 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__gstrict_dwarf" >&5
13899 $as_echo "$ac_cv_cflags__gstrict_dwarf" >&6; }
13900 if test "x$ac_cv_cflags__gstrict_dwarf" = xyes; then :
13901 EXTRACFLAGS="$EXTRACFLAGS -gstrict-dwarf"
13902 fi ;;
13903 esac ;;
13904 esac
13905 done
13907 case $host_cpu in
13908 *i[3456789]86*) { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -fno-omit-frame-pointer" >&5
13909 $as_echo_n "checking whether the compiler supports -fno-omit-frame-pointer... " >&6; }
13910 if ${ac_cv_cflags__fno_omit_frame_pointer+:} false; then :
13911 $as_echo_n "(cached) " >&6
13912 else
13913 ac_wine_try_cflags_saved=$CFLAGS
13914 CFLAGS="$CFLAGS -fno-omit-frame-pointer"
13915 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13916 /* end confdefs.h. */
13917 int main(int argc, char **argv) { return 0; }
13918 _ACEOF
13919 if ac_fn_c_try_link "$LINENO"; then :
13920 ac_cv_cflags__fno_omit_frame_pointer=yes
13921 else
13922 ac_cv_cflags__fno_omit_frame_pointer=no
13924 rm -f core conftest.err conftest.$ac_objext \
13925 conftest$ac_exeext conftest.$ac_ext
13926 CFLAGS=$ac_wine_try_cflags_saved
13928 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__fno_omit_frame_pointer" >&5
13929 $as_echo "$ac_cv_cflags__fno_omit_frame_pointer" >&6; }
13930 if test "x$ac_cv_cflags__fno_omit_frame_pointer" = xyes; then :
13931 EXTRACFLAGS="$EXTRACFLAGS -fno-omit-frame-pointer"
13932 fi ;;
13933 esac
13935 case $host in
13936 x86_64-*mingw32*|x86_64-*cygwin*) { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wno-format" >&5
13937 $as_echo_n "checking whether the compiler supports -Wno-format... " >&6; }
13938 if ${ac_cv_cflags__Wno_format+:} false; then :
13939 $as_echo_n "(cached) " >&6
13940 else
13941 ac_wine_try_cflags_saved=$CFLAGS
13942 CFLAGS="$CFLAGS -Wno-format"
13943 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13944 /* end confdefs.h. */
13945 int main(int argc, char **argv) { return 0; }
13946 _ACEOF
13947 if ac_fn_c_try_link "$LINENO"; then :
13948 ac_cv_cflags__Wno_format=yes
13949 else
13950 ac_cv_cflags__Wno_format=no
13952 rm -f core conftest.err conftest.$ac_objext \
13953 conftest$ac_exeext conftest.$ac_ext
13954 CFLAGS=$ac_wine_try_cflags_saved
13956 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wno_format" >&5
13957 $as_echo "$ac_cv_cflags__Wno_format" >&6; }
13958 if test "x$ac_cv_cflags__Wno_format" = xyes; then :
13959 EXTRACFLAGS="$EXTRACFLAGS -Wno-format"
13960 fi ;;
13961 esac
13963 if test "x$enable_maintainer_mode" = "xyes"
13964 then
13965 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Werror" >&5
13966 $as_echo_n "checking whether the compiler supports -Werror... " >&6; }
13967 if ${ac_cv_cflags__Werror+:} false; then :
13968 $as_echo_n "(cached) " >&6
13969 else
13970 ac_wine_try_cflags_saved=$CFLAGS
13971 CFLAGS="$CFLAGS -Werror"
13972 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13973 /* end confdefs.h. */
13974 int main(int argc, char **argv) { return 0; }
13975 _ACEOF
13976 if ac_fn_c_try_link "$LINENO"; then :
13977 ac_cv_cflags__Werror=yes
13978 else
13979 ac_cv_cflags__Werror=no
13981 rm -f core conftest.err conftest.$ac_objext \
13982 conftest$ac_exeext conftest.$ac_ext
13983 CFLAGS=$ac_wine_try_cflags_saved
13985 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Werror" >&5
13986 $as_echo "$ac_cv_cflags__Werror" >&6; }
13987 if test "x$ac_cv_cflags__Werror" = xyes; then :
13988 EXTRACFLAGS="$EXTRACFLAGS -Werror"
13992 saved_CFLAGS="$CFLAGS"
13993 CFLAGS="$CFLAGS -Werror"
13994 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ms_hook_prologue attribute" >&5
13995 $as_echo_n "checking for ms_hook_prologue attribute... " >&6; }
13996 if ${ac_cv_have_ms_hook_prologue+:} false; then :
13997 $as_echo_n "(cached) " >&6
13998 else
13999 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14000 /* end confdefs.h. */
14001 int __attribute__((__ms_hook_prologue__)) test(void) { return 0; }
14003 main ()
14007 return 0;
14009 _ACEOF
14010 if ac_fn_c_try_compile "$LINENO"; then :
14011 ac_cv_have_ms_hook_prologue="yes"
14012 else
14013 ac_cv_have_ms_hook_prologue="no"
14015 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
14017 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_have_ms_hook_prologue" >&5
14018 $as_echo "$ac_cv_have_ms_hook_prologue" >&6; }
14019 CFLAGS="$saved_CFLAGS"
14020 if test "$ac_cv_have_ms_hook_prologue" = "yes"
14021 then
14023 $as_echo "#define DECLSPEC_HOTPATCH __attribute__((__ms_hook_prologue__))" >>confdefs.h
14025 else
14026 $as_echo "#define DECLSPEC_HOTPATCH /* */" >>confdefs.h
14032 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for the need to disable Fortify" >&5
14033 $as_echo_n "checking for the need to disable Fortify... " >&6; }
14034 if ${ac_cv_c_fortify_enabled+:} false; then :
14035 $as_echo_n "(cached) " >&6
14036 else
14037 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14038 /* end confdefs.h. */
14039 #include <string.h>
14041 main ()
14043 #if defined(__USE_FORTIFY_LEVEL) && __USE_FORTIFY_LEVEL > 0
14044 #error Fortify enabled
14045 #endif
14047 return 0;
14049 _ACEOF
14050 if ac_fn_c_try_compile "$LINENO"; then :
14051 ac_cv_c_fortify_enabled=no
14052 else
14053 ac_cv_c_fortify_enabled=yes
14055 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
14057 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_fortify_enabled" >&5
14058 $as_echo "$ac_cv_c_fortify_enabled" >&6; }
14059 if test "$ac_cv_c_fortify_enabled" = yes
14060 then
14061 CFLAGS="$CFLAGS -U_FORTIFY_SOURCE -D_FORTIFY_SOURCE=0"
14065 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether external symbols need an underscore prefix" >&5
14066 $as_echo_n "checking whether external symbols need an underscore prefix... " >&6; }
14067 if ${ac_cv_c_extern_prefix+:} false; then :
14068 $as_echo_n "(cached) " >&6
14069 else
14070 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14071 /* end confdefs.h. */
14072 extern int ac_test;
14074 main ()
14076 asm(".globl _ac_test\n_ac_test:\t.long 0"); if (ac_test) return 1
14078 return 0;
14080 _ACEOF
14081 if ac_fn_c_try_link "$LINENO"; then :
14082 ac_cv_c_extern_prefix="yes"
14083 else
14084 ac_cv_c_extern_prefix="no"
14086 rm -f core conftest.err conftest.$ac_objext \
14087 conftest$ac_exeext conftest.$ac_ext
14089 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_extern_prefix" >&5
14090 $as_echo "$ac_cv_c_extern_prefix" >&6; }
14092 case $host_cpu in
14093 *i[3456789]86*)
14094 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether external symbols need stdcall decoration" >&5
14095 $as_echo_n "checking whether external symbols need stdcall decoration... " >&6; }
14096 if ${ac_cv_c_stdcall_suffix+:} false; then :
14097 $as_echo_n "(cached) " >&6
14098 else
14099 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14100 /* end confdefs.h. */
14101 #ifndef _MSC_VER
14102 #define __stdcall __attribute__((__stdcall__))
14103 #endif
14104 int __stdcall ac_test(int i) { return i; }
14106 main ()
14108 asm("jmp _ac_test@4"); if (ac_test(1)) return 1
14110 return 0;
14112 _ACEOF
14113 if ac_fn_c_try_link "$LINENO"; then :
14114 ac_cv_c_stdcall_suffix="yes"
14115 else
14116 ac_cv_c_stdcall_suffix="no"
14118 rm -f core conftest.err conftest.$ac_objext \
14119 conftest$ac_exeext conftest.$ac_ext
14121 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_stdcall_suffix" >&5
14122 $as_echo "$ac_cv_c_stdcall_suffix" >&6; } ;;
14123 *) ac_cv_c_stdcall_suffix="no" ;;
14124 esac
14127 if test "$ac_cv_c_extern_prefix" = "yes"
14128 then
14129 $as_echo "#define __ASM_NAME(name) \"_\" name" >>confdefs.h
14131 asm_name_prefix="_"
14132 else
14133 $as_echo "#define __ASM_NAME(name) name" >>confdefs.h
14135 asm_name_prefix=""
14139 if test "$ac_cv_c_stdcall_suffix" = "yes"
14140 then
14141 $as_echo "#define __ASM_STDCALL(args) \"@\" #args" >>confdefs.h
14143 else
14144 $as_echo "#define __ASM_STDCALL(args) \"\"" >>confdefs.h
14149 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to define a function in assembly code" >&5
14150 $as_echo_n "checking how to define a function in assembly code... " >&6; }
14151 if ${ac_cv_asm_func_def+:} false; then :
14152 $as_echo_n "(cached) " >&6
14153 else
14154 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14155 /* end confdefs.h. */
14158 main ()
14160 asm("\t.globl _ac_test\n\t.def _ac_test; .scl 2; .type 32; .endef\n_ac_test:\t.long 0");
14162 return 0;
14164 _ACEOF
14165 if ac_fn_c_try_link "$LINENO"; then :
14166 ac_cv_asm_func_def=".def"
14167 else
14168 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14169 /* end confdefs.h. */
14172 main ()
14174 asm("\t.globl _ac_test\n\t.type _ac_test,@function\n_ac_test:\t.long 0");
14176 return 0;
14178 _ACEOF
14179 if ac_fn_c_try_link "$LINENO"; then :
14180 ac_cv_asm_func_def=".type @function"
14181 else
14182 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14183 /* end confdefs.h. */
14186 main ()
14188 asm("\t.globl _ac_test\n\t.type _ac_test,2\n_ac_test:\t.long 0");
14190 return 0;
14192 _ACEOF
14193 if ac_fn_c_try_link "$LINENO"; then :
14194 ac_cv_asm_func_def=".type 2"
14195 else
14196 ac_cv_asm_func_def="unknown"
14198 rm -f core conftest.err conftest.$ac_objext \
14199 conftest$ac_exeext conftest.$ac_ext
14201 rm -f core conftest.err conftest.$ac_objext \
14202 conftest$ac_exeext conftest.$ac_ext
14204 rm -f core conftest.err conftest.$ac_objext \
14205 conftest$ac_exeext conftest.$ac_ext
14207 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_asm_func_def" >&5
14208 $as_echo "$ac_cv_asm_func_def" >&6; }
14211 case "$ac_cv_asm_func_def" in
14212 ".def")
14213 $as_echo "#define __ASM_FUNC(name) \".def \" __ASM_NAME(name) \"; .scl 2; .type 32; .endef\"" >>confdefs.h
14215 asm_func_header=".def $asm_name_prefix\" #name suffix \"; .scl 2; .type 32; .endef" ;;
14216 ".type @function")
14217 $as_echo "#define __ASM_FUNC(name) \".type \" __ASM_NAME(name) \",@function\"" >>confdefs.h
14219 asm_func_header=".type $asm_name_prefix\" #name suffix \",@function" ;;
14220 ".type 2")
14221 $as_echo "#define __ASM_FUNC(name) \".type \" __ASM_NAME(name) \",2\"" >>confdefs.h
14223 asm_func_header=".type $asm_name_prefix\" #name suffix \",2" ;;
14225 $as_echo "#define __ASM_FUNC(name) \"\"" >>confdefs.h
14227 asm_func_header="" ;;
14228 esac
14230 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether asm() works outside of functions" >&5
14231 $as_echo_n "checking whether asm() works outside of functions... " >&6; }
14232 if ${ac_cv_c_asm_outside_funcs+:} false; then :
14233 $as_echo_n "(cached) " >&6
14234 else
14235 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14236 /* end confdefs.h. */
14237 asm(".text\n\t.long 0");
14239 main ()
14243 return 0;
14245 _ACEOF
14246 if ac_fn_c_try_compile "$LINENO"; then :
14247 ac_cv_c_asm_outside_funcs="yes"
14248 else
14249 ac_cv_c_asm_outside_funcs="no"
14251 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
14253 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_asm_outside_funcs" >&5
14254 $as_echo "$ac_cv_c_asm_outside_funcs" >&6; }
14256 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether .previous is supported in assembly code" >&5
14257 $as_echo_n "checking whether .previous is supported in assembly code... " >&6; }
14258 if ${ac_cv_c_dot_previous+:} false; then :
14259 $as_echo_n "(cached) " >&6
14260 else
14261 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14262 /* end confdefs.h. */
14265 main ()
14267 asm(".text\nac_test:\t.long 0\n\t.previous");
14269 return 0;
14271 _ACEOF
14272 if ac_fn_c_try_link "$LINENO"; then :
14273 ac_cv_c_dot_previous="yes"
14274 else
14275 ac_cv_c_dot_previous="no"
14277 rm -f core conftest.err conftest.$ac_objext \
14278 conftest$ac_exeext conftest.$ac_ext
14280 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_dot_previous" >&5
14281 $as_echo "$ac_cv_c_dot_previous" >&6; }
14283 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether CFI directives are supported in assembly code" >&5
14284 $as_echo_n "checking whether CFI directives are supported in assembly code... " >&6; }
14285 if ${ac_cv_c_cfi_support+:} false; then :
14286 $as_echo_n "(cached) " >&6
14287 else
14288 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14289 /* end confdefs.h. */
14290 asm(".text\nac_test:\t.cfi_startproc\n\t.long 0\n\t.cfi_endproc");
14292 main ()
14296 return 0;
14298 _ACEOF
14299 if ac_fn_c_try_compile "$LINENO"; then :
14300 ac_cv_c_cfi_support="yes"
14301 else
14302 ac_cv_c_cfi_support="no"
14304 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
14306 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_cfi_support" >&5
14307 $as_echo "$ac_cv_c_cfi_support" >&6; }
14309 asm_func_header=".globl $asm_name_prefix\" #name suffix \"\\n\\t$asm_func_header\\n$asm_name_prefix\" #name suffix \":\\n\\t"
14310 asm_func_trailer=""
14311 if test "$ac_cv_c_dot_previous" = "yes"
14312 then
14313 asm_func_trailer="\\n\\t.previous"
14315 if test "$ac_cv_c_cfi_support" = "yes"
14316 then
14317 asm_func_header="$asm_func_header.cfi_startproc\\n\\t"
14318 asm_func_trailer="\\n\\t.cfi_endproc$asm_func_trailer"
14320 $as_echo "#define __ASM_CFI(str) str" >>confdefs.h
14322 UNWINDFLAGS=-fasynchronous-unwind-tables
14324 else
14325 $as_echo "#define __ASM_CFI(str) \"\"" >>confdefs.h
14329 asm_func_code="$asm_func_header\" code \"$asm_func_trailer"
14332 if test "$ac_cv_c_asm_outside_funcs" = "yes"
14333 then
14334 cat >>confdefs.h <<_ACEOF
14335 #define __ASM_DEFINE_FUNC(name,suffix,code) asm(".text\n\t.align 4\n\t$asm_func_code");
14336 _ACEOF
14338 else
14339 cat >>confdefs.h <<_ACEOF
14340 #define __ASM_DEFINE_FUNC(name,suffix,code) void __asm_dummy_##name(void) { asm(".text\n\t.align 4\n\t$asm_func_code"); }
14341 _ACEOF
14345 $as_echo "#define __ASM_GLOBAL_FUNC(name,code) __ASM_DEFINE_FUNC(name,\"\",code)" >>confdefs.h
14348 $as_echo "#define __ASM_STDCALL_FUNC(name,args,code) __ASM_DEFINE_FUNC(name,__ASM_STDCALL(args),code)" >>confdefs.h
14352 case $build_os in
14353 cygwin*|mingw32*) TOOLSEXT=".exe"
14355 esac
14357 case $host_os in
14358 linux*)
14359 case $host_cpu in
14360 *i[3456789]86*|x86_64*)
14361 test "$wine_binary" = wine || wine_fn_ignore_file "loader/wine-preloader"
14362 loader_programs="$loader_programs $wine_binary-preloader"
14363 as_fn_append LOADER_RULES "
14364 $wine_binary-preloader: preloader.o
14365 \$(CC) -o \$@ -static -nostartfiles -nodefaultlibs -Wl,-Ttext=0x7c400000 preloader.o \$(LIBPORT) \$(LDFLAGS)
14367 install install-lib:: $wine_binary-preloader
14368 \$(INSTALL_PROGRAM) $wine_binary-preloader \$(DESTDIR)\$(bindir)/$wine_binary-preloader
14370 uninstall::
14371 \$(RM) \$(DESTDIR)\$(bindir)/$wine_binary-preloader
14373 preloader_EXTRADEFS = $BUILTINFLAG
14374 " ;;
14375 esac
14377 esac
14378 as_fn_append LOADER_RULES "
14379 PROGRAMS = $loader_programs
14383 ac_save_CFLAGS="$CFLAGS"
14384 CFLAGS="$CFLAGS $BUILTINFLAG"
14385 for ac_func in \
14386 __res_get_state \
14387 __res_getservers \
14388 _finite \
14389 _isnan \
14390 _pclose \
14391 _popen \
14392 _snprintf \
14393 _spawnvp \
14394 _strdup \
14395 _stricmp \
14396 _strnicmp \
14397 _strtoi64 \
14398 _strtoui64 \
14399 _vsnprintf \
14400 asctime_r \
14401 chsize \
14402 dlopen \
14403 epoll_create \
14404 ffs \
14405 fnmatch \
14406 fork \
14407 fpclass \
14408 fstatfs \
14409 fstatvfs \
14410 ftruncate \
14411 futimens \
14412 futimes \
14413 futimesat \
14414 getattrlist \
14415 getdirentries \
14416 getopt_long_only \
14417 getpwuid \
14418 gettimeofday \
14419 getuid \
14420 if_nameindex \
14421 kqueue \
14422 lstat \
14423 memmove \
14424 mmap \
14425 pclose \
14426 pipe2 \
14427 poll \
14428 popen \
14429 port_create \
14430 prctl \
14431 pread \
14432 proc_pidinfo \
14433 pwrite \
14434 readdir \
14435 readlink \
14436 sched_yield \
14437 select \
14438 setproctitle \
14439 setrlimit \
14440 settimeofday \
14441 sigaltstack \
14442 sigprocmask \
14443 snprintf \
14444 statfs \
14445 statvfs \
14446 strcasecmp \
14447 strdup \
14448 strerror \
14449 strncasecmp \
14450 strtold \
14451 strtoll \
14452 strtoull \
14453 symlink \
14454 tcdrain \
14455 thr_kill2 \
14456 timegm \
14457 usleep \
14458 vsnprintf
14460 do :
14461 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
14462 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
14463 if eval test \"x\$"$as_ac_var"\" = x"yes"; then :
14464 cat >>confdefs.h <<_ACEOF
14465 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
14466 _ACEOF
14469 done
14471 CFLAGS="$ac_save_CFLAGS"
14473 if test "$ac_cv_func_dlopen" = no
14474 then
14475 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dlopen in -ldl" >&5
14476 $as_echo_n "checking for dlopen in -ldl... " >&6; }
14477 if ${ac_cv_lib_dl_dlopen+:} false; then :
14478 $as_echo_n "(cached) " >&6
14479 else
14480 ac_check_lib_save_LIBS=$LIBS
14481 LIBS="-ldl $LIBS"
14482 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14483 /* end confdefs.h. */
14485 /* Override any GCC internal prototype to avoid an error.
14486 Use char because int might match the return type of a GCC
14487 builtin and then its argument prototype would still apply. */
14488 #ifdef __cplusplus
14489 extern "C"
14490 #endif
14491 char dlopen ();
14493 main ()
14495 return dlopen ();
14497 return 0;
14499 _ACEOF
14500 if ac_fn_c_try_link "$LINENO"; then :
14501 ac_cv_lib_dl_dlopen=yes
14502 else
14503 ac_cv_lib_dl_dlopen=no
14505 rm -f core conftest.err conftest.$ac_objext \
14506 conftest$ac_exeext conftest.$ac_ext
14507 LIBS=$ac_check_lib_save_LIBS
14509 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dl_dlopen" >&5
14510 $as_echo "$ac_cv_lib_dl_dlopen" >&6; }
14511 if test "x$ac_cv_lib_dl_dlopen" = xyes; then :
14512 $as_echo "#define HAVE_DLOPEN 1" >>confdefs.h
14513 DL_LIBS="-ldl"
14518 ac_wine_check_funcs_save_LIBS="$LIBS"
14519 LIBS="$LIBS $DL_LIBS"
14520 for ac_func in dladdr
14521 do :
14522 ac_fn_c_check_func "$LINENO" "dladdr" "ac_cv_func_dladdr"
14523 if test "x$ac_cv_func_dladdr" = xyes; then :
14524 cat >>confdefs.h <<_ACEOF
14525 #define HAVE_DLADDR 1
14526 _ACEOF
14529 done
14531 LIBS="$ac_wine_check_funcs_save_LIBS"
14533 if test "$ac_cv_func_poll" = no
14534 then
14535 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for poll in -lpoll" >&5
14536 $as_echo_n "checking for poll in -lpoll... " >&6; }
14537 if ${ac_cv_lib_poll_poll+:} false; then :
14538 $as_echo_n "(cached) " >&6
14539 else
14540 ac_check_lib_save_LIBS=$LIBS
14541 LIBS="-lpoll $LIBS"
14542 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14543 /* end confdefs.h. */
14545 /* Override any GCC internal prototype to avoid an error.
14546 Use char because int might match the return type of a GCC
14547 builtin and then its argument prototype would still apply. */
14548 #ifdef __cplusplus
14549 extern "C"
14550 #endif
14551 char poll ();
14553 main ()
14555 return poll ();
14557 return 0;
14559 _ACEOF
14560 if ac_fn_c_try_link "$LINENO"; then :
14561 ac_cv_lib_poll_poll=yes
14562 else
14563 ac_cv_lib_poll_poll=no
14565 rm -f core conftest.err conftest.$ac_objext \
14566 conftest$ac_exeext conftest.$ac_ext
14567 LIBS=$ac_check_lib_save_LIBS
14569 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_poll_poll" >&5
14570 $as_echo "$ac_cv_lib_poll_poll" >&6; }
14571 if test "x$ac_cv_lib_poll_poll" = xyes; then :
14572 $as_echo "#define HAVE_POLL 1" >>confdefs.h
14573 POLL_LIBS="-lpoll"
14579 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for library containing gethostbyname" >&5
14580 $as_echo_n "checking for library containing gethostbyname... " >&6; }
14581 if ${ac_cv_search_gethostbyname+:} false; then :
14582 $as_echo_n "(cached) " >&6
14583 else
14584 ac_func_search_save_LIBS=$LIBS
14585 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14586 /* end confdefs.h. */
14588 /* Override any GCC internal prototype to avoid an error.
14589 Use char because int might match the return type of a GCC
14590 builtin and then its argument prototype would still apply. */
14591 #ifdef __cplusplus
14592 extern "C"
14593 #endif
14594 char gethostbyname ();
14596 main ()
14598 return gethostbyname ();
14600 return 0;
14602 _ACEOF
14603 for ac_lib in '' nsl; do
14604 if test -z "$ac_lib"; then
14605 ac_res="none required"
14606 else
14607 ac_res=-l$ac_lib
14608 LIBS="-l$ac_lib $ac_func_search_save_LIBS"
14610 if ac_fn_c_try_link "$LINENO"; then :
14611 ac_cv_search_gethostbyname=$ac_res
14613 rm -f core conftest.err conftest.$ac_objext \
14614 conftest$ac_exeext
14615 if ${ac_cv_search_gethostbyname+:} false; then :
14616 break
14618 done
14619 if ${ac_cv_search_gethostbyname+:} false; then :
14621 else
14622 ac_cv_search_gethostbyname=no
14624 rm conftest.$ac_ext
14625 LIBS=$ac_func_search_save_LIBS
14627 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_search_gethostbyname" >&5
14628 $as_echo "$ac_cv_search_gethostbyname" >&6; }
14629 ac_res=$ac_cv_search_gethostbyname
14630 if test "$ac_res" != no; then :
14631 test "$ac_res" = "none required" || LIBS="$ac_res $LIBS"
14636 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for library containing connect" >&5
14637 $as_echo_n "checking for library containing connect... " >&6; }
14638 if ${ac_cv_search_connect+:} false; then :
14639 $as_echo_n "(cached) " >&6
14640 else
14641 ac_func_search_save_LIBS=$LIBS
14642 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14643 /* end confdefs.h. */
14645 /* Override any GCC internal prototype to avoid an error.
14646 Use char because int might match the return type of a GCC
14647 builtin and then its argument prototype would still apply. */
14648 #ifdef __cplusplus
14649 extern "C"
14650 #endif
14651 char connect ();
14653 main ()
14655 return connect ();
14657 return 0;
14659 _ACEOF
14660 for ac_lib in '' socket; do
14661 if test -z "$ac_lib"; then
14662 ac_res="none required"
14663 else
14664 ac_res=-l$ac_lib
14665 LIBS="-l$ac_lib $ac_func_search_save_LIBS"
14667 if ac_fn_c_try_link "$LINENO"; then :
14668 ac_cv_search_connect=$ac_res
14670 rm -f core conftest.err conftest.$ac_objext \
14671 conftest$ac_exeext
14672 if ${ac_cv_search_connect+:} false; then :
14673 break
14675 done
14676 if ${ac_cv_search_connect+:} false; then :
14678 else
14679 ac_cv_search_connect=no
14681 rm conftest.$ac_ext
14682 LIBS=$ac_func_search_save_LIBS
14684 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_search_connect" >&5
14685 $as_echo "$ac_cv_search_connect" >&6; }
14686 ac_res=$ac_cv_search_connect
14687 if test "$ac_res" != no; then :
14688 test "$ac_res" = "none required" || LIBS="$ac_res $LIBS"
14693 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for library containing inet_aton" >&5
14694 $as_echo_n "checking for library containing inet_aton... " >&6; }
14695 if ${ac_cv_search_inet_aton+:} false; then :
14696 $as_echo_n "(cached) " >&6
14697 else
14698 ac_func_search_save_LIBS=$LIBS
14699 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14700 /* end confdefs.h. */
14702 /* Override any GCC internal prototype to avoid an error.
14703 Use char because int might match the return type of a GCC
14704 builtin and then its argument prototype would still apply. */
14705 #ifdef __cplusplus
14706 extern "C"
14707 #endif
14708 char inet_aton ();
14710 main ()
14712 return inet_aton ();
14714 return 0;
14716 _ACEOF
14717 for ac_lib in '' resolv; do
14718 if test -z "$ac_lib"; then
14719 ac_res="none required"
14720 else
14721 ac_res=-l$ac_lib
14722 LIBS="-l$ac_lib $ac_func_search_save_LIBS"
14724 if ac_fn_c_try_link "$LINENO"; then :
14725 ac_cv_search_inet_aton=$ac_res
14727 rm -f core conftest.err conftest.$ac_objext \
14728 conftest$ac_exeext
14729 if ${ac_cv_search_inet_aton+:} false; then :
14730 break
14732 done
14733 if ${ac_cv_search_inet_aton+:} false; then :
14735 else
14736 ac_cv_search_inet_aton=no
14738 rm conftest.$ac_ext
14739 LIBS=$ac_func_search_save_LIBS
14741 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_search_inet_aton" >&5
14742 $as_echo "$ac_cv_search_inet_aton" >&6; }
14743 ac_res=$ac_cv_search_inet_aton
14744 if test "$ac_res" != no; then :
14745 test "$ac_res" = "none required" || LIBS="$ac_res $LIBS"
14750 for ac_func in \
14751 getaddrinfo \
14752 getnameinfo \
14753 getnetbyname \
14754 getprotobyname \
14755 getprotobynumber \
14756 getservbyport \
14757 inet_addr \
14758 inet_network \
14759 inet_ntop \
14760 inet_pton \
14761 sendmsg \
14762 socketpair \
14764 do :
14765 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
14766 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
14767 if eval test \"x\$"$as_ac_var"\" = x"yes"; then :
14768 cat >>confdefs.h <<_ACEOF
14769 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
14770 _ACEOF
14773 done
14776 ac_save_LIBS=$LIBS
14777 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for library containing clock_gettime" >&5
14778 $as_echo_n "checking for library containing clock_gettime... " >&6; }
14779 if ${ac_cv_search_clock_gettime+:} false; then :
14780 $as_echo_n "(cached) " >&6
14781 else
14782 ac_func_search_save_LIBS=$LIBS
14783 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14784 /* end confdefs.h. */
14786 /* Override any GCC internal prototype to avoid an error.
14787 Use char because int might match the return type of a GCC
14788 builtin and then its argument prototype would still apply. */
14789 #ifdef __cplusplus
14790 extern "C"
14791 #endif
14792 char clock_gettime ();
14794 main ()
14796 return clock_gettime ();
14798 return 0;
14800 _ACEOF
14801 for ac_lib in '' rt; do
14802 if test -z "$ac_lib"; then
14803 ac_res="none required"
14804 else
14805 ac_res=-l$ac_lib
14806 LIBS="-l$ac_lib $ac_func_search_save_LIBS"
14808 if ac_fn_c_try_link "$LINENO"; then :
14809 ac_cv_search_clock_gettime=$ac_res
14811 rm -f core conftest.err conftest.$ac_objext \
14812 conftest$ac_exeext
14813 if ${ac_cv_search_clock_gettime+:} false; then :
14814 break
14816 done
14817 if ${ac_cv_search_clock_gettime+:} false; then :
14819 else
14820 ac_cv_search_clock_gettime=no
14822 rm conftest.$ac_ext
14823 LIBS=$ac_func_search_save_LIBS
14825 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_search_clock_gettime" >&5
14826 $as_echo "$ac_cv_search_clock_gettime" >&6; }
14827 ac_res=$ac_cv_search_clock_gettime
14828 if test "$ac_res" != no; then :
14829 test "$ac_res" = "none required" || LIBS="$ac_res $LIBS"
14831 $as_echo "#define HAVE_CLOCK_GETTIME 1" >>confdefs.h
14833 test "$ac_res" = "none required" || RT_LIBS="$ac_res"
14837 LIBS=$ac_save_LIBS
14839 LDAP_LIBS=""
14841 if test "$ac_cv_header_ldap_h" = "yes" -a "$ac_cv_header_lber_h" = "yes"
14842 then
14843 ac_fn_c_check_type "$LINENO" "LDAPSortKey" "ac_cv_type_LDAPSortKey" "#include <ldap.h>
14845 if test "x$ac_cv_type_LDAPSortKey" = xyes; then :
14846 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ldap_initialize in -lldap_r" >&5
14847 $as_echo_n "checking for ldap_initialize in -lldap_r... " >&6; }
14848 if ${ac_cv_lib_ldap_r_ldap_initialize+:} false; then :
14849 $as_echo_n "(cached) " >&6
14850 else
14851 ac_check_lib_save_LIBS=$LIBS
14852 LIBS="-lldap_r $PTHREAD_LIBS $LIBS"
14853 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14854 /* end confdefs.h. */
14856 /* Override any GCC internal prototype to avoid an error.
14857 Use char because int might match the return type of a GCC
14858 builtin and then its argument prototype would still apply. */
14859 #ifdef __cplusplus
14860 extern "C"
14861 #endif
14862 char ldap_initialize ();
14864 main ()
14866 return ldap_initialize ();
14868 return 0;
14870 _ACEOF
14871 if ac_fn_c_try_link "$LINENO"; then :
14872 ac_cv_lib_ldap_r_ldap_initialize=yes
14873 else
14874 ac_cv_lib_ldap_r_ldap_initialize=no
14876 rm -f core conftest.err conftest.$ac_objext \
14877 conftest$ac_exeext conftest.$ac_ext
14878 LIBS=$ac_check_lib_save_LIBS
14880 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_ldap_r_ldap_initialize" >&5
14881 $as_echo "$ac_cv_lib_ldap_r_ldap_initialize" >&6; }
14882 if test "x$ac_cv_lib_ldap_r_ldap_initialize" = xyes; then :
14883 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ber_init in -llber" >&5
14884 $as_echo_n "checking for ber_init in -llber... " >&6; }
14885 if ${ac_cv_lib_lber_ber_init+:} false; then :
14886 $as_echo_n "(cached) " >&6
14887 else
14888 ac_check_lib_save_LIBS=$LIBS
14889 LIBS="-llber $PTHREAD_LIBS $LIBS"
14890 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14891 /* end confdefs.h. */
14893 /* Override any GCC internal prototype to avoid an error.
14894 Use char because int might match the return type of a GCC
14895 builtin and then its argument prototype would still apply. */
14896 #ifdef __cplusplus
14897 extern "C"
14898 #endif
14899 char ber_init ();
14901 main ()
14903 return ber_init ();
14905 return 0;
14907 _ACEOF
14908 if ac_fn_c_try_link "$LINENO"; then :
14909 ac_cv_lib_lber_ber_init=yes
14910 else
14911 ac_cv_lib_lber_ber_init=no
14913 rm -f core conftest.err conftest.$ac_objext \
14914 conftest$ac_exeext conftest.$ac_ext
14915 LIBS=$ac_check_lib_save_LIBS
14917 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_lber_ber_init" >&5
14918 $as_echo "$ac_cv_lib_lber_ber_init" >&6; }
14919 if test "x$ac_cv_lib_lber_ber_init" = xyes; then :
14921 $as_echo "#define HAVE_LDAP 1" >>confdefs.h
14923 LDAP_LIBS="-lldap_r -llber"
14930 ac_wine_check_funcs_save_LIBS="$LIBS"
14931 LIBS="$LIBS $LDAP_LIBS $PTHREAD_LIBS"
14932 for ac_func in \
14933 ldap_count_references \
14934 ldap_first_reference \
14935 ldap_next_reference \
14936 ldap_parse_reference \
14937 ldap_parse_sort_control \
14938 ldap_parse_sortresponse_control \
14939 ldap_parse_vlv_control \
14940 ldap_parse_vlvresponse_control
14941 do :
14942 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
14943 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
14944 if eval test \"x\$"$as_ac_var"\" = x"yes"; then :
14945 cat >>confdefs.h <<_ACEOF
14946 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
14947 _ACEOF
14950 done
14952 LIBS="$ac_wine_check_funcs_save_LIBS"
14954 if test "x$LDAP_LIBS" = "x"; then :
14955 case "x$with_ldap" in
14956 x) as_fn_append wine_notices "|libldap (OpenLDAP) ${notice_platform}development files not found, LDAP won't be supported." ;;
14957 xno) ;;
14958 *) as_fn_error $? "libldap (OpenLDAP) ${notice_platform}development files not found, LDAP won't be supported.
14959 This is an error since --with-ldap was requested." "$LINENO" 5 ;;
14960 esac
14963 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether mkdir takes only one argument" >&5
14964 $as_echo_n "checking whether mkdir takes only one argument... " >&6; }
14965 if ${wine_cv_one_arg_mkdir+:} false; then :
14966 $as_echo_n "(cached) " >&6
14967 else
14968 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14969 /* end confdefs.h. */
14970 #include <sys/stat.h>
14972 main ()
14974 mkdir("foo");
14976 return 0;
14978 _ACEOF
14979 if ac_fn_c_try_compile "$LINENO"; then :
14980 wine_cv_one_arg_mkdir=yes
14981 else
14982 wine_cv_one_arg_mkdir=no
14984 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
14986 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $wine_cv_one_arg_mkdir" >&5
14987 $as_echo "$wine_cv_one_arg_mkdir" >&6; }
14988 if test "$wine_cv_one_arg_mkdir" = "yes"
14989 then
14991 $as_echo "#define HAVE_ONE_ARG_MKDIR 1" >>confdefs.h
14995 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sched_setaffinity" >&5
14996 $as_echo_n "checking for sched_setaffinity... " >&6; }
14997 if ${wine_cv_have_sched_setaffinity+:} false; then :
14998 $as_echo_n "(cached) " >&6
14999 else
15000 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15001 /* end confdefs.h. */
15002 #define _GNU_SOURCE
15003 #include <sched.h>
15005 main ()
15007 sched_setaffinity(0, 0, 0);
15009 return 0;
15011 _ACEOF
15012 if ac_fn_c_try_link "$LINENO"; then :
15013 wine_cv_have_sched_setaffinity=yes
15014 else
15015 wine_cv_have_sched_setaffinity=no
15017 rm -f core conftest.err conftest.$ac_objext \
15018 conftest$ac_exeext conftest.$ac_ext
15020 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $wine_cv_have_sched_setaffinity" >&5
15021 $as_echo "$wine_cv_have_sched_setaffinity" >&6; }
15022 if test "$wine_cv_have_sched_setaffinity" = "yes"
15023 then
15025 $as_echo "#define HAVE_SCHED_SETAFFINITY 1" >>confdefs.h
15029 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for fallocate" >&5
15030 $as_echo_n "checking for fallocate... " >&6; }
15031 if ${wine_cv_have_fallocate+:} false; then :
15032 $as_echo_n "(cached) " >&6
15033 else
15034 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15035 /* end confdefs.h. */
15036 #define _GNU_SOURCE
15037 #include <fcntl.h>
15039 main ()
15041 fallocate(-1, 0, 0, 0);
15043 return 0;
15045 _ACEOF
15046 if ac_fn_c_try_link "$LINENO"; then :
15047 wine_cv_have_fallocate=yes
15048 else
15049 wine_cv_have_fallocate=no
15051 rm -f core conftest.err conftest.$ac_objext \
15052 conftest$ac_exeext conftest.$ac_ext
15054 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $wine_cv_have_fallocate" >&5
15055 $as_echo "$wine_cv_have_fallocate" >&6; }
15056 if test "$wine_cv_have_fallocate" = "yes"
15057 then
15059 $as_echo "#define HAVE_FALLOCATE 1" >>confdefs.h
15064 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for inline" >&5
15065 $as_echo_n "checking for inline... " >&6; }
15066 if ${ac_cv_c_inline+:} false; then :
15067 $as_echo_n "(cached) " >&6
15068 else
15069 ac_cv_c_inline=no
15070 for ac_kw in inline __inline__ __inline; do
15071 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15072 /* end confdefs.h. */
15073 #ifndef __cplusplus
15074 typedef int foo_t;
15075 static $ac_kw foo_t static_foo () {return 0; }
15076 $ac_kw foo_t foo () {return 0; }
15077 #endif
15079 _ACEOF
15080 if ac_fn_c_try_compile "$LINENO"; then :
15081 ac_cv_c_inline=$ac_kw
15083 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
15084 test "$ac_cv_c_inline" != no && break
15085 done
15088 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_inline" >&5
15089 $as_echo "$ac_cv_c_inline" >&6; }
15091 case $ac_cv_c_inline in
15092 inline | yes) ;;
15094 case $ac_cv_c_inline in
15095 no) ac_val=;;
15096 *) ac_val=$ac_cv_c_inline;;
15097 esac
15098 cat >>confdefs.h <<_ACEOF
15099 #ifndef __cplusplus
15100 #define inline $ac_val
15101 #endif
15102 _ACEOF
15104 esac
15106 ac_fn_c_check_type "$LINENO" "mode_t" "ac_cv_type_mode_t" "$ac_includes_default"
15107 if test "x$ac_cv_type_mode_t" = xyes; then :
15109 cat >>confdefs.h <<_ACEOF
15110 #define HAVE_MODE_T 1
15111 _ACEOF
15115 ac_fn_c_check_type "$LINENO" "off_t" "ac_cv_type_off_t" "$ac_includes_default"
15116 if test "x$ac_cv_type_off_t" = xyes; then :
15118 cat >>confdefs.h <<_ACEOF
15119 #define HAVE_OFF_T 1
15120 _ACEOF
15124 ac_fn_c_check_type "$LINENO" "pid_t" "ac_cv_type_pid_t" "$ac_includes_default"
15125 if test "x$ac_cv_type_pid_t" = xyes; then :
15127 cat >>confdefs.h <<_ACEOF
15128 #define HAVE_PID_T 1
15129 _ACEOF
15133 ac_fn_c_check_type "$LINENO" "size_t" "ac_cv_type_size_t" "$ac_includes_default"
15134 if test "x$ac_cv_type_size_t" = xyes; then :
15136 cat >>confdefs.h <<_ACEOF
15137 #define HAVE_SIZE_T 1
15138 _ACEOF
15142 ac_fn_c_check_type "$LINENO" "ssize_t" "ac_cv_type_ssize_t" "$ac_includes_default"
15143 if test "x$ac_cv_type_ssize_t" = xyes; then :
15145 cat >>confdefs.h <<_ACEOF
15146 #define HAVE_SSIZE_T 1
15147 _ACEOF
15151 ac_fn_c_check_type "$LINENO" "long long" "ac_cv_type_long_long" "$ac_includes_default"
15152 if test "x$ac_cv_type_long_long" = xyes; then :
15154 cat >>confdefs.h <<_ACEOF
15155 #define HAVE_LONG_LONG 1
15156 _ACEOF
15160 ac_fn_c_check_type "$LINENO" "fsblkcnt_t" "ac_cv_type_fsblkcnt_t" "$ac_includes_default"
15161 if test "x$ac_cv_type_fsblkcnt_t" = xyes; then :
15163 cat >>confdefs.h <<_ACEOF
15164 #define HAVE_FSBLKCNT_T 1
15165 _ACEOF
15169 ac_fn_c_check_type "$LINENO" "fsfilcnt_t" "ac_cv_type_fsfilcnt_t" "$ac_includes_default"
15170 if test "x$ac_cv_type_fsfilcnt_t" = xyes; then :
15172 cat >>confdefs.h <<_ACEOF
15173 #define HAVE_FSFILCNT_T 1
15174 _ACEOF
15179 ac_fn_c_check_type "$LINENO" "sigset_t" "ac_cv_type_sigset_t" "#include <sys/types.h>
15180 #include <signal.h>
15182 if test "x$ac_cv_type_sigset_t" = xyes; then :
15184 cat >>confdefs.h <<_ACEOF
15185 #define HAVE_SIGSET_T 1
15186 _ACEOF
15191 ac_fn_c_check_type "$LINENO" "request_sense" "ac_cv_type_request_sense" "#include <linux/cdrom.h>
15193 if test "x$ac_cv_type_request_sense" = xyes; then :
15195 cat >>confdefs.h <<_ACEOF
15196 #define HAVE_REQUEST_SENSE 1
15197 _ACEOF
15203 ac_fn_c_check_type "$LINENO" "struct xinpgen" "ac_cv_type_struct_xinpgen" "#include <sys/types.h>
15204 #ifdef HAVE_SYS_SOCKET_H
15205 #include <sys/socket.h>
15206 #endif
15207 #ifdef HAVE_SYS_SOCKETVAR_H
15208 #include <sys/socketvar.h>
15209 #endif
15210 #ifdef HAVE_NET_ROUTE_H
15211 #include <net/route.h>
15212 #endif
15213 #ifdef HAVE_NETINET_IN_H
15214 #include <netinet/in.h>
15215 #endif
15216 #ifdef HAVE_NETINET_IN_SYSTM_H
15217 #include <netinet/in_systm.h>
15218 #endif
15219 #ifdef HAVE_NETINET_IP_H
15220 #include <netinet/ip.h>
15221 #endif
15222 #ifdef HAVE_NETINET_IN_PCB_H
15223 #include <netinet/in_pcb.h>
15224 #endif
15226 if test "x$ac_cv_type_struct_xinpgen" = xyes; then :
15228 cat >>confdefs.h <<_ACEOF
15229 #define HAVE_STRUCT_XINPGEN 1
15230 _ACEOF
15236 ac_fn_c_check_type "$LINENO" "struct r_debug" "ac_cv_type_struct_r_debug" "#ifdef HAVE_LINK_H
15237 #include <link.h>
15238 #endif
15239 #ifdef HAVE_SYS_LINK_H
15240 #include <sys/link.h>
15241 #endif
15243 if test "x$ac_cv_type_struct_r_debug" = xyes; then :
15245 cat >>confdefs.h <<_ACEOF
15246 #define HAVE_STRUCT_R_DEBUG 1
15247 _ACEOF
15251 ac_fn_c_check_type "$LINENO" "struct link_map" "ac_cv_type_struct_link_map" "#ifdef HAVE_LINK_H
15252 #include <link.h>
15253 #endif
15254 #ifdef HAVE_SYS_LINK_H
15255 #include <sys/link.h>
15256 #endif
15258 if test "x$ac_cv_type_struct_link_map" = xyes; then :
15260 cat >>confdefs.h <<_ACEOF
15261 #define HAVE_STRUCT_LINK_MAP 1
15262 _ACEOF
15268 ac_fn_c_check_member "$LINENO" "struct ff_effect" "direction" "ac_cv_member_struct_ff_effect_direction" "#ifdef HAVE_LINUX_INPUT_H
15269 #include <linux/input.h>
15270 #endif
15272 if test "x$ac_cv_member_struct_ff_effect_direction" = xyes; then :
15274 cat >>confdefs.h <<_ACEOF
15275 #define HAVE_STRUCT_FF_EFFECT_DIRECTION 1
15276 _ACEOF
15282 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sigaddset" >&5
15283 $as_echo_n "checking for sigaddset... " >&6; }
15284 if ${wine_cv_have_sigaddset+:} false; then :
15285 $as_echo_n "(cached) " >&6
15286 else
15287 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15288 /* end confdefs.h. */
15289 #include <signal.h>
15291 main ()
15293 sigset_t set; sigaddset(&set,SIGTERM);
15295 return 0;
15297 _ACEOF
15298 if ac_fn_c_try_link "$LINENO"; then :
15299 wine_cv_have_sigaddset=yes
15300 else
15301 wine_cv_have_sigaddset=no
15303 rm -f core conftest.err conftest.$ac_objext \
15304 conftest$ac_exeext conftest.$ac_ext
15306 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $wine_cv_have_sigaddset" >&5
15307 $as_echo "$wine_cv_have_sigaddset" >&6; }
15308 if test "$wine_cv_have_sigaddset" = "yes"
15309 then
15311 $as_echo "#define HAVE_SIGADDSET 1" >>confdefs.h
15316 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we can use re-entrant gethostbyname_r Linux style" >&5
15317 $as_echo_n "checking whether we can use re-entrant gethostbyname_r Linux style... " >&6; }
15318 if ${wine_cv_linux_gethostbyname_r_6+:} false; then :
15319 $as_echo_n "(cached) " >&6
15320 else
15321 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15322 /* end confdefs.h. */
15323 #include <netdb.h>
15325 main ()
15328 char *name=0;
15329 struct hostent he;
15330 struct hostent *result;
15331 char *buf=0;
15332 int bufsize=0;
15333 int errnr;
15334 char *addr=0;
15335 int addrlen=0;
15336 int addrtype=0;
15337 gethostbyname_r(name,&he,buf,bufsize,&result,&errnr);
15338 gethostbyaddr_r(addr, addrlen, addrtype,&he,buf,bufsize,&result,&errnr);
15341 return 0;
15343 _ACEOF
15344 if ac_fn_c_try_link "$LINENO"; then :
15345 wine_cv_linux_gethostbyname_r_6=yes
15346 else
15347 wine_cv_linux_gethostbyname_r_6=no
15350 rm -f core conftest.err conftest.$ac_objext \
15351 conftest$ac_exeext conftest.$ac_ext
15354 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $wine_cv_linux_gethostbyname_r_6" >&5
15355 $as_echo "$wine_cv_linux_gethostbyname_r_6" >&6; }
15356 if test "$wine_cv_linux_gethostbyname_r_6" = "yes"
15357 then
15359 $as_echo "#define HAVE_LINUX_GETHOSTBYNAME_R_6 1" >>confdefs.h
15363 if test "$ac_cv_header_linux_joystick_h" = "yes"
15364 then
15365 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether linux/joystick.h uses the Linux 2.2+ API" >&5
15366 $as_echo_n "checking whether linux/joystick.h uses the Linux 2.2+ API... " >&6; }
15367 if ${wine_cv_linux_joystick_22_api+:} false; then :
15368 $as_echo_n "(cached) " >&6
15369 else
15370 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15371 /* end confdefs.h. */
15373 #include <sys/ioctl.h>
15374 #include <sys/types.h>
15375 #include <linux/joystick.h>
15377 struct js_event blub;
15378 #if !defined(JS_EVENT_AXIS) || !defined(JS_EVENT_BUTTON)
15379 #error "no 2.2 header"
15380 #endif
15383 main ()
15385 /*empty*/
15387 return 0;
15389 _ACEOF
15390 if ac_fn_c_try_compile "$LINENO"; then :
15391 wine_cv_linux_joystick_22_api=yes
15392 else
15393 wine_cv_linux_joystick_22_api=no
15395 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
15398 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $wine_cv_linux_joystick_22_api" >&5
15399 $as_echo "$wine_cv_linux_joystick_22_api" >&6; }
15400 if test "$wine_cv_linux_joystick_22_api" = "yes"
15401 then
15403 $as_echo "#define HAVE_LINUX_22_JOYSTICK_API 1" >>confdefs.h
15409 ac_fn_c_check_member "$LINENO" "struct statfs" "f_bfree" "ac_cv_member_struct_statfs_f_bfree" "#include <sys/types.h>
15410 #ifdef HAVE_SYS_PARAM_H
15411 # include <sys/param.h>
15412 #endif
15413 #ifdef HAVE_SYS_MOUNT_H
15414 # include <sys/mount.h>
15415 #endif
15416 #ifdef HAVE_SYS_VFS_H
15417 # include <sys/vfs.h>
15418 #endif
15419 #ifdef HAVE_SYS_STATFS_H
15420 # include <sys/statfs.h>
15421 #endif
15423 if test "x$ac_cv_member_struct_statfs_f_bfree" = xyes; then :
15425 cat >>confdefs.h <<_ACEOF
15426 #define HAVE_STRUCT_STATFS_F_BFREE 1
15427 _ACEOF
15431 ac_fn_c_check_member "$LINENO" "struct statfs" "f_bavail" "ac_cv_member_struct_statfs_f_bavail" "#include <sys/types.h>
15432 #ifdef HAVE_SYS_PARAM_H
15433 # include <sys/param.h>
15434 #endif
15435 #ifdef HAVE_SYS_MOUNT_H
15436 # include <sys/mount.h>
15437 #endif
15438 #ifdef HAVE_SYS_VFS_H
15439 # include <sys/vfs.h>
15440 #endif
15441 #ifdef HAVE_SYS_STATFS_H
15442 # include <sys/statfs.h>
15443 #endif
15445 if test "x$ac_cv_member_struct_statfs_f_bavail" = xyes; then :
15447 cat >>confdefs.h <<_ACEOF
15448 #define HAVE_STRUCT_STATFS_F_BAVAIL 1
15449 _ACEOF
15453 ac_fn_c_check_member "$LINENO" "struct statfs" "f_frsize" "ac_cv_member_struct_statfs_f_frsize" "#include <sys/types.h>
15454 #ifdef HAVE_SYS_PARAM_H
15455 # include <sys/param.h>
15456 #endif
15457 #ifdef HAVE_SYS_MOUNT_H
15458 # include <sys/mount.h>
15459 #endif
15460 #ifdef HAVE_SYS_VFS_H
15461 # include <sys/vfs.h>
15462 #endif
15463 #ifdef HAVE_SYS_STATFS_H
15464 # include <sys/statfs.h>
15465 #endif
15467 if test "x$ac_cv_member_struct_statfs_f_frsize" = xyes; then :
15469 cat >>confdefs.h <<_ACEOF
15470 #define HAVE_STRUCT_STATFS_F_FRSIZE 1
15471 _ACEOF
15475 ac_fn_c_check_member "$LINENO" "struct statfs" "f_ffree" "ac_cv_member_struct_statfs_f_ffree" "#include <sys/types.h>
15476 #ifdef HAVE_SYS_PARAM_H
15477 # include <sys/param.h>
15478 #endif
15479 #ifdef HAVE_SYS_MOUNT_H
15480 # include <sys/mount.h>
15481 #endif
15482 #ifdef HAVE_SYS_VFS_H
15483 # include <sys/vfs.h>
15484 #endif
15485 #ifdef HAVE_SYS_STATFS_H
15486 # include <sys/statfs.h>
15487 #endif
15489 if test "x$ac_cv_member_struct_statfs_f_ffree" = xyes; then :
15491 cat >>confdefs.h <<_ACEOF
15492 #define HAVE_STRUCT_STATFS_F_FFREE 1
15493 _ACEOF
15497 ac_fn_c_check_member "$LINENO" "struct statfs" "f_favail" "ac_cv_member_struct_statfs_f_favail" "#include <sys/types.h>
15498 #ifdef HAVE_SYS_PARAM_H
15499 # include <sys/param.h>
15500 #endif
15501 #ifdef HAVE_SYS_MOUNT_H
15502 # include <sys/mount.h>
15503 #endif
15504 #ifdef HAVE_SYS_VFS_H
15505 # include <sys/vfs.h>
15506 #endif
15507 #ifdef HAVE_SYS_STATFS_H
15508 # include <sys/statfs.h>
15509 #endif
15511 if test "x$ac_cv_member_struct_statfs_f_favail" = xyes; then :
15513 cat >>confdefs.h <<_ACEOF
15514 #define HAVE_STRUCT_STATFS_F_FAVAIL 1
15515 _ACEOF
15519 ac_fn_c_check_member "$LINENO" "struct statfs" "f_namelen" "ac_cv_member_struct_statfs_f_namelen" "#include <sys/types.h>
15520 #ifdef HAVE_SYS_PARAM_H
15521 # include <sys/param.h>
15522 #endif
15523 #ifdef HAVE_SYS_MOUNT_H
15524 # include <sys/mount.h>
15525 #endif
15526 #ifdef HAVE_SYS_VFS_H
15527 # include <sys/vfs.h>
15528 #endif
15529 #ifdef HAVE_SYS_STATFS_H
15530 # include <sys/statfs.h>
15531 #endif
15533 if test "x$ac_cv_member_struct_statfs_f_namelen" = xyes; then :
15535 cat >>confdefs.h <<_ACEOF
15536 #define HAVE_STRUCT_STATFS_F_NAMELEN 1
15537 _ACEOF
15543 ac_fn_c_check_member "$LINENO" "struct statvfs" "f_blocks" "ac_cv_member_struct_statvfs_f_blocks" "#ifdef HAVE_SYS_STATVFS_H
15544 #include <sys/statvfs.h>
15545 #endif
15547 if test "x$ac_cv_member_struct_statvfs_f_blocks" = xyes; then :
15549 cat >>confdefs.h <<_ACEOF
15550 #define HAVE_STRUCT_STATVFS_F_BLOCKS 1
15551 _ACEOF
15557 ac_fn_c_check_member "$LINENO" "struct dirent" "d_reclen" "ac_cv_member_struct_dirent_d_reclen" "#ifdef HAVE_DIRENT_H
15558 #include <dirent.h>
15559 #endif
15561 if test "x$ac_cv_member_struct_dirent_d_reclen" = xyes; then :
15563 cat >>confdefs.h <<_ACEOF
15564 #define HAVE_STRUCT_DIRENT_D_RECLEN 1
15565 _ACEOF
15571 ac_fn_c_check_member "$LINENO" "struct msghdr" "msg_accrights" "ac_cv_member_struct_msghdr_msg_accrights" "#include <sys/types.h>
15572 #ifdef HAVE_SYS_SOCKET_H
15573 # include <sys/socket.h>
15574 #endif
15575 #ifdef HAVE_SYS_UN_H
15576 # include <sys/un.h>
15577 #endif
15579 if test "x$ac_cv_member_struct_msghdr_msg_accrights" = xyes; then :
15581 cat >>confdefs.h <<_ACEOF
15582 #define HAVE_STRUCT_MSGHDR_MSG_ACCRIGHTS 1
15583 _ACEOF
15587 ac_fn_c_check_member "$LINENO" "struct sockaddr" "sa_len" "ac_cv_member_struct_sockaddr_sa_len" "#include <sys/types.h>
15588 #ifdef HAVE_SYS_SOCKET_H
15589 # include <sys/socket.h>
15590 #endif
15591 #ifdef HAVE_SYS_UN_H
15592 # include <sys/un.h>
15593 #endif
15595 if test "x$ac_cv_member_struct_sockaddr_sa_len" = xyes; then :
15597 cat >>confdefs.h <<_ACEOF
15598 #define HAVE_STRUCT_SOCKADDR_SA_LEN 1
15599 _ACEOF
15603 ac_fn_c_check_member "$LINENO" "struct sockaddr_un" "sun_len" "ac_cv_member_struct_sockaddr_un_sun_len" "#include <sys/types.h>
15604 #ifdef HAVE_SYS_SOCKET_H
15605 # include <sys/socket.h>
15606 #endif
15607 #ifdef HAVE_SYS_UN_H
15608 # include <sys/un.h>
15609 #endif
15611 if test "x$ac_cv_member_struct_sockaddr_un_sun_len" = xyes; then :
15613 cat >>confdefs.h <<_ACEOF
15614 #define HAVE_STRUCT_SOCKADDR_UN_SUN_LEN 1
15615 _ACEOF
15621 ac_fn_c_check_member "$LINENO" "scsireq_t" "cmd" "ac_cv_member_scsireq_t_cmd" "#include <sys/types.h>
15622 #ifdef HAVE_SCSI_SG_H
15623 #include <scsi/sg.h>
15624 #endif
15626 if test "x$ac_cv_member_scsireq_t_cmd" = xyes; then :
15628 cat >>confdefs.h <<_ACEOF
15629 #define HAVE_SCSIREQ_T_CMD 1
15630 _ACEOF
15634 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>
15635 #ifdef HAVE_SCSI_SG_H
15636 #include <scsi/sg.h>
15637 #endif
15639 if test "x$ac_cv_member_sg_io_hdr_t_interface_id" = xyes; then :
15641 cat >>confdefs.h <<_ACEOF
15642 #define HAVE_SG_IO_HDR_T_INTERFACE_ID 1
15643 _ACEOF
15649 ac_fn_c_check_member "$LINENO" "siginfo_t" "si_fd" "ac_cv_member_siginfo_t_si_fd" "#include <signal.h>
15651 if test "x$ac_cv_member_siginfo_t_si_fd" = xyes; then :
15653 cat >>confdefs.h <<_ACEOF
15654 #define HAVE_SIGINFO_T_SI_FD 1
15655 _ACEOF
15661 ac_fn_c_check_member "$LINENO" "struct mtget" "mt_blksiz" "ac_cv_member_struct_mtget_mt_blksiz" "#include <sys/types.h>
15662 #ifdef HAVE_SYS_MTIO_H
15663 #include <sys/mtio.h>
15664 #endif
15666 if test "x$ac_cv_member_struct_mtget_mt_blksiz" = xyes; then :
15668 cat >>confdefs.h <<_ACEOF
15669 #define HAVE_STRUCT_MTGET_MT_BLKSIZ 1
15670 _ACEOF
15674 ac_fn_c_check_member "$LINENO" "struct mtget" "mt_gstat" "ac_cv_member_struct_mtget_mt_gstat" "#include <sys/types.h>
15675 #ifdef HAVE_SYS_MTIO_H
15676 #include <sys/mtio.h>
15677 #endif
15679 if test "x$ac_cv_member_struct_mtget_mt_gstat" = xyes; then :
15681 cat >>confdefs.h <<_ACEOF
15682 #define HAVE_STRUCT_MTGET_MT_GSTAT 1
15683 _ACEOF
15687 ac_fn_c_check_member "$LINENO" "struct mtget" "mt_blkno" "ac_cv_member_struct_mtget_mt_blkno" "#include <sys/types.h>
15688 #ifdef HAVE_SYS_MTIO_H
15689 #include <sys/mtio.h>
15690 #endif
15692 if test "x$ac_cv_member_struct_mtget_mt_blkno" = xyes; then :
15694 cat >>confdefs.h <<_ACEOF
15695 #define HAVE_STRUCT_MTGET_MT_BLKNO 1
15696 _ACEOF
15702 ac_fn_c_check_member "$LINENO" "struct option" "name" "ac_cv_member_struct_option_name" "#ifdef HAVE_GETOPT_H
15703 #include <getopt.h>
15704 #endif
15706 if test "x$ac_cv_member_struct_option_name" = xyes; then :
15708 cat >>confdefs.h <<_ACEOF
15709 #define HAVE_STRUCT_OPTION_NAME 1
15710 _ACEOF
15716 ac_fn_c_check_member "$LINENO" "struct stat" "st_blocks" "ac_cv_member_struct_stat_st_blocks" "$ac_includes_default"
15717 if test "x$ac_cv_member_struct_stat_st_blocks" = xyes; then :
15719 cat >>confdefs.h <<_ACEOF
15720 #define HAVE_STRUCT_STAT_ST_BLOCKS 1
15721 _ACEOF
15725 ac_fn_c_check_member "$LINENO" "struct stat" "st_mtim" "ac_cv_member_struct_stat_st_mtim" "$ac_includes_default"
15726 if test "x$ac_cv_member_struct_stat_st_mtim" = xyes; then :
15728 cat >>confdefs.h <<_ACEOF
15729 #define HAVE_STRUCT_STAT_ST_MTIM 1
15730 _ACEOF
15734 ac_fn_c_check_member "$LINENO" "struct stat" "st_mtimespec" "ac_cv_member_struct_stat_st_mtimespec" "$ac_includes_default"
15735 if test "x$ac_cv_member_struct_stat_st_mtimespec" = xyes; then :
15737 cat >>confdefs.h <<_ACEOF
15738 #define HAVE_STRUCT_STAT_ST_MTIMESPEC 1
15739 _ACEOF
15743 ac_fn_c_check_member "$LINENO" "struct stat" "st_ctim" "ac_cv_member_struct_stat_st_ctim" "$ac_includes_default"
15744 if test "x$ac_cv_member_struct_stat_st_ctim" = xyes; then :
15746 cat >>confdefs.h <<_ACEOF
15747 #define HAVE_STRUCT_STAT_ST_CTIM 1
15748 _ACEOF
15752 ac_fn_c_check_member "$LINENO" "struct stat" "st_ctimespec" "ac_cv_member_struct_stat_st_ctimespec" "$ac_includes_default"
15753 if test "x$ac_cv_member_struct_stat_st_ctimespec" = xyes; then :
15755 cat >>confdefs.h <<_ACEOF
15756 #define HAVE_STRUCT_STAT_ST_CTIMESPEC 1
15757 _ACEOF
15761 ac_fn_c_check_member "$LINENO" "struct stat" "st_atim" "ac_cv_member_struct_stat_st_atim" "$ac_includes_default"
15762 if test "x$ac_cv_member_struct_stat_st_atim" = xyes; then :
15764 cat >>confdefs.h <<_ACEOF
15765 #define HAVE_STRUCT_STAT_ST_ATIM 1
15766 _ACEOF
15770 ac_fn_c_check_member "$LINENO" "struct stat" "st_atimespec" "ac_cv_member_struct_stat_st_atimespec" "$ac_includes_default"
15771 if test "x$ac_cv_member_struct_stat_st_atimespec" = xyes; then :
15773 cat >>confdefs.h <<_ACEOF
15774 #define HAVE_STRUCT_STAT_ST_ATIMESPEC 1
15775 _ACEOF
15779 ac_fn_c_check_member "$LINENO" "struct stat" "st_birthtime" "ac_cv_member_struct_stat_st_birthtime" "$ac_includes_default"
15780 if test "x$ac_cv_member_struct_stat_st_birthtime" = xyes; then :
15782 cat >>confdefs.h <<_ACEOF
15783 #define HAVE_STRUCT_STAT_ST_BIRTHTIME 1
15784 _ACEOF
15788 ac_fn_c_check_member "$LINENO" "struct stat" "st_birthtim" "ac_cv_member_struct_stat_st_birthtim" "$ac_includes_default"
15789 if test "x$ac_cv_member_struct_stat_st_birthtim" = xyes; then :
15791 cat >>confdefs.h <<_ACEOF
15792 #define HAVE_STRUCT_STAT_ST_BIRTHTIM 1
15793 _ACEOF
15797 ac_fn_c_check_member "$LINENO" "struct stat" "st_birthtimespec" "ac_cv_member_struct_stat_st_birthtimespec" "$ac_includes_default"
15798 if test "x$ac_cv_member_struct_stat_st_birthtimespec" = xyes; then :
15800 cat >>confdefs.h <<_ACEOF
15801 #define HAVE_STRUCT_STAT_ST_BIRTHTIMESPEC 1
15802 _ACEOF
15806 ac_fn_c_check_member "$LINENO" "struct stat" "__st_birthtime" "ac_cv_member_struct_stat___st_birthtime" "$ac_includes_default"
15807 if test "x$ac_cv_member_struct_stat___st_birthtime" = xyes; then :
15809 cat >>confdefs.h <<_ACEOF
15810 #define HAVE_STRUCT_STAT___ST_BIRTHTIME 1
15811 _ACEOF
15815 ac_fn_c_check_member "$LINENO" "struct stat" "__st_birthtim" "ac_cv_member_struct_stat___st_birthtim" "$ac_includes_default"
15816 if test "x$ac_cv_member_struct_stat___st_birthtim" = xyes; then :
15818 cat >>confdefs.h <<_ACEOF
15819 #define HAVE_STRUCT_STAT___ST_BIRTHTIM 1
15820 _ACEOF
15826 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
15827 #include <sys/types.h>
15828 #endif
15829 #ifdef HAVE_NETINET_IN_H
15830 #include <netinet/in.h>
15831 #endif
15833 if test "x$ac_cv_member_struct_sockaddr_in6_sin6_scope_id" = xyes; then :
15835 cat >>confdefs.h <<_ACEOF
15836 #define HAVE_STRUCT_SOCKADDR_IN6_SIN6_SCOPE_ID 1
15837 _ACEOF
15843 ac_fn_c_check_type "$LINENO" "struct __res_state" "ac_cv_type_struct___res_state" "#ifdef HAVE_RESOLV_H
15844 #include <resolv.h>
15845 #endif
15847 if test "x$ac_cv_type_struct___res_state" = xyes; then :
15849 cat >>confdefs.h <<_ACEOF
15850 #define HAVE_STRUCT___RES_STATE 1
15851 _ACEOF
15857 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
15858 #include <resolv.h>
15859 #endif
15861 if test "x$ac_cv_member_struct___res_state__u__ext_nscount6" = xyes; then :
15863 cat >>confdefs.h <<_ACEOF
15864 #define HAVE_STRUCT___RES_STATE__U__EXT_NSCOUNT6 1
15865 _ACEOF
15871 ac_fn_c_check_member "$LINENO" "ns_msg" "_msg_ptr" "ac_cv_member_ns_msg__msg_ptr" "#ifdef HAVE_SYS_TYPES_H
15872 #include <sys/types.h>
15873 #endif
15874 #ifdef HAVE_NETINET_IN_H
15875 # include <netinet/in.h>
15876 #endif
15877 #ifdef HAVE_ARPA_NAMESER_H
15878 # include <arpa/nameser.h>
15879 #endif
15881 if test "x$ac_cv_member_ns_msg__msg_ptr" = xyes; then :
15883 cat >>confdefs.h <<_ACEOF
15884 #define HAVE_NS_MSG__MSG_PTR 1
15885 _ACEOF
15891 ac_fn_c_check_member "$LINENO" "struct icmpstat" "icps_inhist" "ac_cv_member_struct_icmpstat_icps_inhist" "#ifdef HAVE_SYS_TYPES_H
15892 #include <sys/types.h>
15893 #endif
15894 #ifdef HAVE_NETINET_IP_H
15895 #include <netinet/ip.h>
15896 #endif
15897 #ifdef HAVE_NETINET_IP_ICMP_H
15898 #include <netinet/ip_icmp.h>
15899 #endif
15900 #ifdef HAVE_NETINET_ICMP_VAR_H
15901 #include <netinet/icmp_var.h>
15902 #endif
15904 if test "x$ac_cv_member_struct_icmpstat_icps_inhist" = xyes; then :
15906 cat >>confdefs.h <<_ACEOF
15907 #define HAVE_STRUCT_ICMPSTAT_ICPS_INHIST 1
15908 _ACEOF
15914 ac_fn_c_check_member "$LINENO" "struct icmpstat" "icps_outhist" "ac_cv_member_struct_icmpstat_icps_outhist" "#ifdef HAVE_SYS_TYPES_H
15915 #include <sys/types.h>
15916 #endif
15917 #ifdef HAVE_ALIAS_H
15918 #include <alias.h>
15919 #endif
15920 #ifdef HAVE_SYS_SOCKET_H
15921 #include <sys/socket.h>
15922 #endif
15923 #ifdef HAVE_SYS_SOCKETVAR_H
15924 #include <sys/socketvar.h>
15925 #endif
15926 #ifdef HAVE_SYS_TIMEOUT_H
15927 #include <sys/timeout.h>
15928 #endif
15929 #ifdef HAVE_NETINET_IN_H
15930 #include <netinet/in.h>
15931 #endif
15932 #ifdef HAVE_NETINET_IN_SYSTM_H
15933 #include <netinet/in_systm.h>
15934 #endif
15935 #ifdef HAVE_NETINET_IP_H
15936 #include <netinet/ip.h>
15937 #endif
15938 #ifdef HAVE_NETINET_IP_VAR_H
15939 #include <netinet/ip_var.h>
15940 #endif
15941 #ifdef HAVE_NETINET_IP_ICMP_H
15942 #include <netinet/ip_icmp.h>
15943 #endif
15944 #ifdef HAVE_NETINET_ICMP_VAR_H
15945 #include <netinet/icmp_var.h>
15946 #endif
15948 if test "x$ac_cv_member_struct_icmpstat_icps_outhist" = xyes; then :
15950 cat >>confdefs.h <<_ACEOF
15951 #define HAVE_STRUCT_ICMPSTAT_ICPS_OUTHIST 1
15952 _ACEOF
15958 ac_fn_c_check_member "$LINENO" "struct ipstat" "ips_total" "ac_cv_member_struct_ipstat_ips_total" "#ifdef HAVE_SYS_TYPES_H
15959 #include <sys/types.h>
15960 #endif
15961 #ifdef HAVE_SYS_SOCKETVAR_H
15962 #include <sys/socketvar.h>
15963 #endif
15964 #ifdef HAVE_NETINET_IN_H
15965 #include <netinet/in.h>
15966 #endif
15967 #ifdef HAVE_NETINET_IP_VAR_H
15968 #include <netinet/ip_var.h>
15969 #endif
15971 if test "x$ac_cv_member_struct_ipstat_ips_total" = xyes; then :
15973 cat >>confdefs.h <<_ACEOF
15974 #define HAVE_STRUCT_IPSTAT_IPS_TOTAL 1
15975 _ACEOF
15981 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
15982 #include <netinet/ip_var.h>
15983 #endif
15985 if test "x$ac_cv_member_struct_ip_stats_ips_total" = xyes; then :
15987 cat >>confdefs.h <<_ACEOF
15988 #define HAVE_STRUCT_IP_STATS_IPS_TOTAL 1
15989 _ACEOF
15995 ac_fn_c_check_member "$LINENO" "struct tcpstat" "tcps_connattempt" "ac_cv_member_struct_tcpstat_tcps_connattempt" "#ifdef HAVE_SYS_TYPES_H
15996 #include <sys/types.h>
15997 #endif
15998 #ifdef HAVE_SYS_SOCKETVAR_H
15999 #include <sys/socketvar.h>
16000 #endif
16001 #ifdef HAVE_NETINET_IN_H
16002 #include <netinet/in.h>
16003 #endif
16004 #ifdef HAVE_NETINET_TCP_H
16005 #include <netinet/tcp.h>
16006 #endif
16007 #ifdef HAVE_NETINET_TCP_VAR_H
16008 #include <netinet/tcp_var.h>
16009 #endif
16011 if test "x$ac_cv_member_struct_tcpstat_tcps_connattempt" = xyes; then :
16013 cat >>confdefs.h <<_ACEOF
16014 #define HAVE_STRUCT_TCPSTAT_TCPS_CONNATTEMPT 1
16015 _ACEOF
16021 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
16022 #include <netinet/tcp_var.h>
16023 #endif
16025 if test "x$ac_cv_member_struct_tcp_stats_tcps_connattempt" = xyes; then :
16027 cat >>confdefs.h <<_ACEOF
16028 #define HAVE_STRUCT_TCP_STATS_TCPS_CONNATTEMPT 1
16029 _ACEOF
16035 ac_fn_c_check_member "$LINENO" "struct udpstat" "udps_ipackets" "ac_cv_member_struct_udpstat_udps_ipackets" "#ifdef HAVE_SYS_TYPES_H
16036 #include <sys/types.h>
16037 #endif
16038 #ifdef HAVE_NETINET_IN_H
16039 #include <netinet/in.h>
16040 #endif
16041 #ifdef HAVE_NETINET_IP_VAR_H
16042 #include <netinet/ip_var.h>
16043 #endif
16044 #ifdef HAVE_NETINET_UDP_H
16045 #include <netinet/udp.h>
16046 #endif
16047 #ifdef HAVE_NETINET_UDP_VAR_H
16048 #include <netinet/udp_var.h>
16049 #endif
16051 if test "x$ac_cv_member_struct_udpstat_udps_ipackets" = xyes; then :
16053 cat >>confdefs.h <<_ACEOF
16054 #define HAVE_STRUCT_UDPSTAT_UDPS_IPACKETS 1
16055 _ACEOF
16061 ac_fn_c_check_member "$LINENO" "struct ifreq" "ifr_hwaddr" "ac_cv_member_struct_ifreq_ifr_hwaddr" "#ifdef HAVE_SYS_TYPES_H
16062 #include <sys/types.h>
16063 #endif
16064 #ifdef HAVE_NET_IF_H
16065 # include <net/if.h>
16066 #endif
16068 if test "x$ac_cv_member_struct_ifreq_ifr_hwaddr" = xyes; then :
16070 cat >>confdefs.h <<_ACEOF
16071 #define HAVE_STRUCT_IFREQ_IFR_HWADDR 1
16072 _ACEOF
16078 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for timezone variable" >&5
16079 $as_echo_n "checking for timezone variable... " >&6; }
16080 if ${ac_cv_have_timezone+:} false; then :
16081 $as_echo_n "(cached) " >&6
16082 else
16083 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
16084 /* end confdefs.h. */
16085 #include <time.h>
16087 main ()
16089 timezone = 1
16091 return 0;
16093 _ACEOF
16094 if ac_fn_c_try_link "$LINENO"; then :
16095 ac_cv_have_timezone="yes"
16096 else
16097 ac_cv_have_timezone="no"
16099 rm -f core conftest.err conftest.$ac_objext \
16100 conftest$ac_exeext conftest.$ac_ext
16102 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_have_timezone" >&5
16103 $as_echo "$ac_cv_have_timezone" >&6; }
16104 if test "$ac_cv_have_timezone" = "yes"
16105 then
16107 $as_echo "#define HAVE_TIMEZONE 1" >>confdefs.h
16110 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for daylight variable" >&5
16111 $as_echo_n "checking for daylight variable... " >&6; }
16112 if ${ac_cv_have_daylight+:} false; then :
16113 $as_echo_n "(cached) " >&6
16114 else
16115 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
16116 /* end confdefs.h. */
16117 #include <time.h>
16119 main ()
16121 daylight = 1
16123 return 0;
16125 _ACEOF
16126 if ac_fn_c_try_link "$LINENO"; then :
16127 ac_cv_have_daylight="yes"
16128 else
16129 ac_cv_have_daylight="no"
16131 rm -f core conftest.err conftest.$ac_objext \
16132 conftest$ac_exeext conftest.$ac_ext
16134 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_have_daylight" >&5
16135 $as_echo "$ac_cv_have_daylight" >&6; }
16136 if test "$ac_cv_have_daylight" = "yes"
16137 then
16139 $as_echo "#define HAVE_DAYLIGHT 1" >>confdefs.h
16143 ac_save_LIBS="$LIBS"
16144 LIBS="$LIBS -lm"
16145 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for isfinite" >&5
16146 $as_echo_n "checking for isfinite... " >&6; }
16147 if ${ac_cv_have_isfinite+:} false; then :
16148 $as_echo_n "(cached) " >&6
16149 else
16150 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
16151 /* end confdefs.h. */
16152 #define _GNU_SOURCE
16153 #include <math.h>
16155 main ()
16157 float f = 0.0; return isfinite(f)
16159 return 0;
16161 _ACEOF
16162 if ac_fn_c_try_link "$LINENO"; then :
16163 ac_cv_have_isfinite="yes"
16164 else
16165 ac_cv_have_isfinite="no"
16167 rm -f core conftest.err conftest.$ac_objext \
16168 conftest$ac_exeext conftest.$ac_ext
16170 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_have_isfinite" >&5
16171 $as_echo "$ac_cv_have_isfinite" >&6; }
16172 if test "$ac_cv_have_isfinite" = "yes"
16173 then
16175 $as_echo "#define HAVE_ISFINITE 1" >>confdefs.h
16179 ac_save_LIBS="$LIBS"
16180 LIBS="$LIBS -lm"
16181 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for isinf" >&5
16182 $as_echo_n "checking for isinf... " >&6; }
16183 if ${ac_cv_have_isinf+:} false; then :
16184 $as_echo_n "(cached) " >&6
16185 else
16186 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
16187 /* end confdefs.h. */
16188 #include <math.h>
16190 main ()
16192 float f = 0.0; return isinf(f)
16194 return 0;
16196 _ACEOF
16197 if ac_fn_c_try_link "$LINENO"; then :
16198 ac_cv_have_isinf="yes"
16199 else
16200 ac_cv_have_isinf="no"
16202 rm -f core conftest.err conftest.$ac_objext \
16203 conftest$ac_exeext conftest.$ac_ext
16205 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_have_isinf" >&5
16206 $as_echo "$ac_cv_have_isinf" >&6; }
16207 if test "$ac_cv_have_isinf" = "yes"
16208 then
16210 $as_echo "#define HAVE_ISINF 1" >>confdefs.h
16214 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for isnan" >&5
16215 $as_echo_n "checking for isnan... " >&6; }
16216 if ${ac_cv_have_isnan+:} false; then :
16217 $as_echo_n "(cached) " >&6
16218 else
16219 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
16220 /* end confdefs.h. */
16221 #include <math.h>
16223 main ()
16225 float f = 0.0; return isnan(f)
16227 return 0;
16229 _ACEOF
16230 if ac_fn_c_try_link "$LINENO"; then :
16231 ac_cv_have_isnan="yes"
16232 else
16233 ac_cv_have_isnan="no"
16235 rm -f core conftest.err conftest.$ac_objext \
16236 conftest$ac_exeext conftest.$ac_ext
16238 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_have_isnan" >&5
16239 $as_echo "$ac_cv_have_isnan" >&6; }
16240 if test "$ac_cv_have_isnan" = "yes"
16241 then
16243 $as_echo "#define HAVE_ISNAN 1" >>confdefs.h
16246 LIBS="$ac_save_LIBS"
16249 case $host_cpu in
16250 *i[3456789]86*) { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we need to define __i386__" >&5
16251 $as_echo_n "checking whether we need to define __i386__... " >&6; }
16252 if ${ac_cv_cpp_def___i386__+:} false; then :
16253 $as_echo_n "(cached) " >&6
16254 else
16255 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
16256 /* end confdefs.h. */
16257 #ifndef __i386__
16259 #endif
16260 _ACEOF
16261 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
16262 $EGREP "yes" >/dev/null 2>&1; then :
16263 ac_cv_cpp_def___i386__=yes
16264 else
16265 ac_cv_cpp_def___i386__=no
16267 rm -f conftest*
16270 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cpp_def___i386__" >&5
16271 $as_echo "$ac_cv_cpp_def___i386__" >&6; }
16272 if test "x$ac_cv_cpp_def___i386__" = xyes; then :
16273 CFLAGS="$CFLAGS -D__i386__"
16274 LINTFLAGS="$LINTFLAGS -D__i386__"
16275 fi ;;
16276 *x86_64*) { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we need to define __x86_64__" >&5
16277 $as_echo_n "checking whether we need to define __x86_64__... " >&6; }
16278 if ${ac_cv_cpp_def___x86_64__+:} false; then :
16279 $as_echo_n "(cached) " >&6
16280 else
16281 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
16282 /* end confdefs.h. */
16283 #ifndef __x86_64__
16285 #endif
16286 _ACEOF
16287 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
16288 $EGREP "yes" >/dev/null 2>&1; then :
16289 ac_cv_cpp_def___x86_64__=yes
16290 else
16291 ac_cv_cpp_def___x86_64__=no
16293 rm -f conftest*
16296 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cpp_def___x86_64__" >&5
16297 $as_echo "$ac_cv_cpp_def___x86_64__" >&6; }
16298 if test "x$ac_cv_cpp_def___x86_64__" = xyes; then :
16299 CFLAGS="$CFLAGS -D__x86_64__"
16300 LINTFLAGS="$LINTFLAGS -D__x86_64__"
16301 fi ;;
16302 *sparc64*) { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we need to define __sparc64__" >&5
16303 $as_echo_n "checking whether we need to define __sparc64__... " >&6; }
16304 if ${ac_cv_cpp_def___sparc64__+:} false; then :
16305 $as_echo_n "(cached) " >&6
16306 else
16307 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
16308 /* end confdefs.h. */
16309 #ifndef __sparc64__
16311 #endif
16312 _ACEOF
16313 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
16314 $EGREP "yes" >/dev/null 2>&1; then :
16315 ac_cv_cpp_def___sparc64__=yes
16316 else
16317 ac_cv_cpp_def___sparc64__=no
16319 rm -f conftest*
16322 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cpp_def___sparc64__" >&5
16323 $as_echo "$ac_cv_cpp_def___sparc64__" >&6; }
16324 if test "x$ac_cv_cpp_def___sparc64__" = xyes; then :
16325 CFLAGS="$CFLAGS -D__sparc64__"
16326 LINTFLAGS="$LINTFLAGS -D__sparc64__"
16327 fi ;;
16328 *sparc*) { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we need to define __sparc__" >&5
16329 $as_echo_n "checking whether we need to define __sparc__... " >&6; }
16330 if ${ac_cv_cpp_def___sparc__+:} false; then :
16331 $as_echo_n "(cached) " >&6
16332 else
16333 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
16334 /* end confdefs.h. */
16335 #ifndef __sparc__
16337 #endif
16338 _ACEOF
16339 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
16340 $EGREP "yes" >/dev/null 2>&1; then :
16341 ac_cv_cpp_def___sparc__=yes
16342 else
16343 ac_cv_cpp_def___sparc__=no
16345 rm -f conftest*
16348 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cpp_def___sparc__" >&5
16349 $as_echo "$ac_cv_cpp_def___sparc__" >&6; }
16350 if test "x$ac_cv_cpp_def___sparc__" = xyes; then :
16351 CFLAGS="$CFLAGS -D__sparc__"
16352 LINTFLAGS="$LINTFLAGS -D__sparc__"
16353 fi ;;
16354 *powerpc64*) { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we need to define __powerpc64__" >&5
16355 $as_echo_n "checking whether we need to define __powerpc64__... " >&6; }
16356 if ${ac_cv_cpp_def___powerpc64__+:} false; then :
16357 $as_echo_n "(cached) " >&6
16358 else
16359 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
16360 /* end confdefs.h. */
16361 #ifndef __powerpc64__
16363 #endif
16364 _ACEOF
16365 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
16366 $EGREP "yes" >/dev/null 2>&1; then :
16367 ac_cv_cpp_def___powerpc64__=yes
16368 else
16369 ac_cv_cpp_def___powerpc64__=no
16371 rm -f conftest*
16374 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cpp_def___powerpc64__" >&5
16375 $as_echo "$ac_cv_cpp_def___powerpc64__" >&6; }
16376 if test "x$ac_cv_cpp_def___powerpc64__" = xyes; then :
16377 CFLAGS="$CFLAGS -D__powerpc64__"
16378 LINTFLAGS="$LINTFLAGS -D__powerpc64__"
16379 fi ;;
16380 *powerpc*) { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we need to define __powerpc__" >&5
16381 $as_echo_n "checking whether we need to define __powerpc__... " >&6; }
16382 if ${ac_cv_cpp_def___powerpc__+:} false; then :
16383 $as_echo_n "(cached) " >&6
16384 else
16385 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
16386 /* end confdefs.h. */
16387 #ifndef __powerpc__
16389 #endif
16390 _ACEOF
16391 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
16392 $EGREP "yes" >/dev/null 2>&1; then :
16393 ac_cv_cpp_def___powerpc__=yes
16394 else
16395 ac_cv_cpp_def___powerpc__=no
16397 rm -f conftest*
16400 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cpp_def___powerpc__" >&5
16401 $as_echo "$ac_cv_cpp_def___powerpc__" >&6; }
16402 if test "x$ac_cv_cpp_def___powerpc__" = xyes; then :
16403 CFLAGS="$CFLAGS -D__powerpc__"
16404 LINTFLAGS="$LINTFLAGS -D__powerpc__"
16405 fi ;;
16406 *aarch64*) { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we need to define __aarch64__" >&5
16407 $as_echo_n "checking whether we need to define __aarch64__... " >&6; }
16408 if ${ac_cv_cpp_def___aarch64__+:} false; then :
16409 $as_echo_n "(cached) " >&6
16410 else
16411 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
16412 /* end confdefs.h. */
16413 #ifndef __aarch64__
16415 #endif
16416 _ACEOF
16417 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
16418 $EGREP "yes" >/dev/null 2>&1; then :
16419 ac_cv_cpp_def___aarch64__=yes
16420 else
16421 ac_cv_cpp_def___aarch64__=no
16423 rm -f conftest*
16426 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cpp_def___aarch64__" >&5
16427 $as_echo "$ac_cv_cpp_def___aarch64__" >&6; }
16428 if test "x$ac_cv_cpp_def___aarch64__" = xyes; then :
16429 CFLAGS="$CFLAGS -D__aarch64__"
16430 LINTFLAGS="$LINTFLAGS -D__aarch64__"
16431 fi ;;
16432 *arm*) { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we need to define __arm__" >&5
16433 $as_echo_n "checking whether we need to define __arm__... " >&6; }
16434 if ${ac_cv_cpp_def___arm__+:} false; then :
16435 $as_echo_n "(cached) " >&6
16436 else
16437 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
16438 /* end confdefs.h. */
16439 #ifndef __arm__
16441 #endif
16442 _ACEOF
16443 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
16444 $EGREP "yes" >/dev/null 2>&1; then :
16445 ac_cv_cpp_def___arm__=yes
16446 else
16447 ac_cv_cpp_def___arm__=no
16449 rm -f conftest*
16452 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cpp_def___arm__" >&5
16453 $as_echo "$ac_cv_cpp_def___arm__" >&6; }
16454 if test "x$ac_cv_cpp_def___arm__" = xyes; then :
16455 CFLAGS="$CFLAGS -D__arm__"
16456 LINTFLAGS="$LINTFLAGS -D__arm__"
16457 fi ;;
16458 esac
16460 case $host_vendor in
16461 *sun*) { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we need to define __sun__" >&5
16462 $as_echo_n "checking whether we need to define __sun__... " >&6; }
16463 if ${ac_cv_cpp_def___sun__+:} false; then :
16464 $as_echo_n "(cached) " >&6
16465 else
16466 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
16467 /* end confdefs.h. */
16468 #ifndef __sun__
16470 #endif
16471 _ACEOF
16472 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
16473 $EGREP "yes" >/dev/null 2>&1; then :
16474 ac_cv_cpp_def___sun__=yes
16475 else
16476 ac_cv_cpp_def___sun__=no
16478 rm -f conftest*
16481 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cpp_def___sun__" >&5
16482 $as_echo "$ac_cv_cpp_def___sun__" >&6; }
16483 if test "x$ac_cv_cpp_def___sun__" = xyes; then :
16484 CFLAGS="$CFLAGS -D__sun__"
16485 LINTFLAGS="$LINTFLAGS -D__sun__"
16486 fi ;;
16487 esac
16493 ac_config_commands="$ac_config_commands include/stamp-h"
16495 $as_echo_n "creating Makefile rules..." >&6
16497 ALL_VARS_RULES="OPENGL_LIBS = $OPENGL_LIBS
16498 SOCKET_LIBS = $SOCKET_LIBS
16499 COREFOUNDATION_LIBS = $COREFOUNDATION_LIBS
16500 IOKIT_LIBS = $IOKIT_LIBS
16501 FORCEFEEDBACK_LIBS = $FORCEFEEDBACK_LIBS
16502 APPLICATIONSERVICES_LIBS = $APPLICATIONSERVICES_LIBS
16503 CORESERVICES_LIBS = $CORESERVICES_LIBS
16504 APPKIT_LIBS = $APPKIT_LIBS
16505 DISKARBITRATION_LIBS = $DISKARBITRATION_LIBS
16506 SECURITY_LIBS = $SECURITY_LIBS
16507 COREAUDIO_LIBS = $COREAUDIO_LIBS
16508 OPENAL_LIBS = $OPENAL_LIBS
16509 OPENCL_LIBS = $OPENCL_LIBS
16510 QUICKTIME_LIBS = $QUICKTIME_LIBS
16511 CARBON_LIBS = $CARBON_LIBS
16512 PTHREAD_LIBS = $PTHREAD_LIBS
16513 X_CFLAGS = $X_CFLAGS
16514 X_PRE_LIBS = $X_PRE_LIBS
16515 X_LIBS = $X_LIBS
16516 X_EXTRA_LIBS = $X_EXTRA_LIBS
16517 XML2_CFLAGS = $XML2_CFLAGS
16518 XML2_LIBS = $XML2_LIBS
16519 XSLT_CFLAGS = $XSLT_CFLAGS
16520 XSLT_LIBS = $XSLT_LIBS
16521 DBUS_CFLAGS = $DBUS_CFLAGS
16522 DBUS_LIBS = $DBUS_LIBS
16523 HAL_CFLAGS = $HAL_CFLAGS
16524 HAL_LIBS = $HAL_LIBS
16525 GNUTLS_CFLAGS = $GNUTLS_CFLAGS
16526 GNUTLS_LIBS = $GNUTLS_LIBS
16527 SANE_CFLAGS = $SANE_CFLAGS
16528 SANE_LIBS = $SANE_LIBS
16529 GPHOTO2_CFLAGS = $GPHOTO2_CFLAGS
16530 GPHOTO2_LIBS = $GPHOTO2_LIBS
16531 GPHOTO2_PORT_CFLAGS = $GPHOTO2_PORT_CFLAGS
16532 GPHOTO2_PORT_LIBS = $GPHOTO2_PORT_LIBS
16533 RESOLV_LIBS = $RESOLV_LIBS
16534 LCMS2_CFLAGS = $LCMS2_CFLAGS
16535 LCMS2_LIBS = $LCMS2_LIBS
16536 FREETYPE_CFLAGS = $FREETYPE_CFLAGS
16537 FREETYPE_LIBS = $FREETYPE_LIBS
16538 Z_LIBS = $Z_LIBS
16539 GETTEXTPO_LIBS = $GETTEXTPO_LIBS
16540 GSTREAMER_CFLAGS = $GSTREAMER_CFLAGS
16541 GSTREAMER_LIBS = $GSTREAMER_LIBS
16542 ALSA_LIBS = $ALSA_LIBS
16543 OSS4_CFLAGS = $OSS4_CFLAGS
16544 CAPI20_CFLAGS = $CAPI20_CFLAGS
16545 CAPI20_LIBS = $CAPI20_LIBS
16546 CUPS_CFLAGS = $CUPS_CFLAGS
16547 FONTCONFIG_CFLAGS = $FONTCONFIG_CFLAGS
16548 FONTCONFIG_LIBS = $FONTCONFIG_LIBS
16549 JPEG_CFLAGS = $JPEG_CFLAGS
16550 JPEG_LIBS = $JPEG_LIBS
16551 PNG_CFLAGS = $PNG_CFLAGS
16552 PNG_LIBS = $PNG_LIBS
16553 TIFF_CFLAGS = $TIFF_CFLAGS
16554 TIFF_LIBS = $TIFF_LIBS
16555 MPG123_CFLAGS = $MPG123_CFLAGS
16556 MPG123_LIBS = $MPG123_LIBS
16557 KSTAT_LIBS = $KSTAT_LIBS
16558 PROCSTAT_LIBS = $PROCSTAT_LIBS
16559 DL_LIBS = $DL_LIBS
16560 POLL_LIBS = $POLL_LIBS
16561 RT_LIBS = $RT_LIBS
16562 LDAP_LIBS = $LDAP_LIBS
16567 wine_fn_append_rule "
16568 # Rules automatically generated by configure
16570 CLEAN_FILES = *.o *.a *.so *.res *.fake *.ok *.tab.[ch] *.yy.c
16572 .INIT: Makefile
16573 .MAKEFILEDEPS:
16574 all: Makefile
16575 Makefile: $srcdir/Makefile.in $srcdir/Make.vars.in config.status \$(MAKEDEP)
16576 @./config.status Make.tmp Makefile && \$(MAKEDEP) ."
16578 test "$srcdir" = . && wine_fn_append_rule "all: .gitignore
16579 .gitignore: config.status
16580 @./config.status .gitignore"
16582 test -n "$CROSSTARGET" || wine_fn_append_rule "crosstest:
16583 @echo \"crosstest is not supported (mingw not installed?)\" && false"
16585 if test "x$enable_fonts" != xno; then
16586 ac_config_links="$ac_config_links fonts/marlett.ttf:fonts/marlett.ttf"
16587 ac_config_links="$ac_config_links fonts/symbol.ttf:fonts/symbol.ttf"
16588 ac_config_links="$ac_config_links fonts/tahoma.ttf:fonts/tahoma.ttf"
16589 ac_config_links="$ac_config_links fonts/tahomabd.ttf:fonts/tahomabd.ttf"
16590 test "$srcdir" = "." || wine_fn_config_symlink fonts/marlett.ttf fonts/symbol.ttf fonts/tahoma.ttf fonts/tahomabd.ttf
16592 ac_config_links="$ac_config_links loader/l_intl.nls:loader/l_intl.nls"
16593 test "$srcdir" = "." || wine_fn_config_symlink loader/l_intl.nls
16594 ac_config_links="$ac_config_links po/LINGUAS:po/LINGUAS"
16595 test "$srcdir" = "." || wine_fn_config_symlink po/LINGUAS
16596 ac_config_links="$ac_config_links wine:tools/winewrapper"
16597 wine_fn_config_symlink wine
16598 if test "x$enable_win64" != xno; then
16599 ac_config_links="$ac_config_links wine64:tools/winewrapper"
16600 wine_fn_config_symlink wine64
16603 wine_fn_config_dll acledit enable_acledit
16604 wine_fn_config_dll aclui enable_aclui implib
16605 wine_fn_config_dll activeds enable_activeds implib
16606 wine_fn_config_dll actxprxy enable_actxprxy clean
16607 wine_fn_config_lib adsiid
16608 wine_fn_config_dll advapi32 enable_advapi32 clean,implib
16609 wine_fn_config_test dlls/advapi32/tests advapi32_test
16610 wine_fn_config_dll advpack enable_advpack implib
16611 wine_fn_config_test dlls/advpack/tests advpack_test
16612 wine_fn_config_dll amstream enable_amstream clean
16613 wine_fn_config_test dlls/amstream/tests amstream_test
16614 wine_fn_config_dll api-ms-win-core-com-l1-1-0 enable_api_ms_win_core_com_l1_1_0
16615 wine_fn_config_dll api-ms-win-core-console-l1-1-0 enable_api_ms_win_core_console_l1_1_0
16616 wine_fn_config_dll api-ms-win-core-debug-l1-1-1 enable_api_ms_win_core_debug_l1_1_1
16617 wine_fn_config_dll api-ms-win-core-errorhandling-l1-1-1 enable_api_ms_win_core_errorhandling_l1_1_1
16618 wine_fn_config_dll api-ms-win-core-file-l1-2-0 enable_api_ms_win_core_file_l1_2_0
16619 wine_fn_config_dll api-ms-win-core-handle-l1-1-0 enable_api_ms_win_core_handle_l1_1_0
16620 wine_fn_config_dll api-ms-win-core-heap-l1-2-0 enable_api_ms_win_core_heap_l1_2_0
16621 wine_fn_config_dll api-ms-win-core-heap-obsolete-l1-1-0 enable_api_ms_win_core_heap_obsolete_l1_1_0
16622 wine_fn_config_dll api-ms-win-core-interlocked-l1-2-0 enable_api_ms_win_core_interlocked_l1_2_0
16623 wine_fn_config_dll api-ms-win-core-io-l1-1-1 enable_api_ms_win_core_io_l1_1_1
16624 wine_fn_config_dll api-ms-win-core-kernel32-legacy-l1-1-0 enable_api_ms_win_core_kernel32_legacy_l1_1_0
16625 wine_fn_config_dll api-ms-win-core-libraryloader-l1-1-1 enable_api_ms_win_core_libraryloader_l1_1_1
16626 wine_fn_config_dll api-ms-win-core-localization-l1-2-0 enable_api_ms_win_core_localization_l1_2_0
16627 wine_fn_config_dll api-ms-win-core-localization-obsolete-l1-1-0 enable_api_ms_win_core_localization_obsolete_l1_1_0
16628 wine_fn_config_dll api-ms-win-core-localregistry-l1-1-0 enable_api_ms_win_core_localregistry_l1_1_0
16629 wine_fn_config_dll api-ms-win-core-memory-l1-1-1 enable_api_ms_win_core_memory_l1_1_1
16630 wine_fn_config_dll api-ms-win-core-namedpipe-l1-2-0 enable_api_ms_win_core_namedpipe_l1_2_0
16631 wine_fn_config_dll api-ms-win-core-processenvironment-l1-2-0 enable_api_ms_win_core_processenvironment_l1_2_0
16632 wine_fn_config_dll api-ms-win-core-processthreads-l1-1-0 enable_api_ms_win_core_processthreads_l1_1_0
16633 wine_fn_config_dll api-ms-win-core-processthreads-l1-1-1 enable_api_ms_win_core_processthreads_l1_1_1
16634 wine_fn_config_dll api-ms-win-core-profile-l1-1-0 enable_api_ms_win_core_profile_l1_1_0
16635 wine_fn_config_dll api-ms-win-core-psapi-l1-1-0 enable_api_ms_win_core_psapi_l1_1_0
16636 wine_fn_config_dll api-ms-win-core-registry-l1-1-0 enable_api_ms_win_core_registry_l1_1_0
16637 wine_fn_config_dll api-ms-win-core-rtlsupport-l1-2-0 enable_api_ms_win_core_rtlsupport_l1_2_0
16638 wine_fn_config_dll api-ms-win-core-shlwapi-legacy-l1-1-0 enable_api_ms_win_core_shlwapi_legacy_l1_1_0
16639 wine_fn_config_dll api-ms-win-core-string-l1-1-0 enable_api_ms_win_core_string_l1_1_0
16640 wine_fn_config_dll api-ms-win-core-synch-l1-2-0 enable_api_ms_win_core_synch_l1_2_0
16641 wine_fn_config_dll api-ms-win-core-sysinfo-l1-2-0 enable_api_ms_win_core_sysinfo_l1_2_0
16642 wine_fn_config_dll api-ms-win-core-threadpool-legacy-l1-1-0 enable_api_ms_win_core_threadpool_legacy_l1_1_0
16643 wine_fn_config_dll api-ms-win-core-timezone-l1-1-0 enable_api_ms_win_core_timezone_l1_1_0
16644 wine_fn_config_dll api-ms-win-core-url-l1-1-0 enable_api_ms_win_core_url_l1_1_0
16645 wine_fn_config_dll api-ms-win-core-util-l1-1-0 enable_api_ms_win_core_util_l1_1_0
16646 wine_fn_config_dll api-ms-win-core-winrt-error-l1-1-0 enable_api_ms_win_core_winrt_error_l1_1_0
16647 wine_fn_config_dll api-ms-win-core-winrt-string-l1-1-0 enable_api_ms_win_core_winrt_string_l1_1_0
16648 wine_fn_config_dll api-ms-win-downlevel-advapi32-l1-1-0 enable_api_ms_win_downlevel_advapi32_l1_1_0
16649 wine_fn_config_dll api-ms-win-downlevel-advapi32-l2-1-0 enable_api_ms_win_downlevel_advapi32_l2_1_0
16650 wine_fn_config_dll api-ms-win-downlevel-normaliz-l1-1-0 enable_api_ms_win_downlevel_normaliz_l1_1_0
16651 wine_fn_config_dll api-ms-win-downlevel-ole32-l1-1-0 enable_api_ms_win_downlevel_ole32_l1_1_0
16652 wine_fn_config_dll api-ms-win-downlevel-shell32-l1-1-0 enable_api_ms_win_downlevel_shell32_l1_1_0
16653 wine_fn_config_dll api-ms-win-downlevel-shlwapi-l1-1-0 enable_api_ms_win_downlevel_shlwapi_l1_1_0
16654 wine_fn_config_dll api-ms-win-downlevel-shlwapi-l2-1-0 enable_api_ms_win_downlevel_shlwapi_l2_1_0
16655 wine_fn_config_dll api-ms-win-downlevel-user32-l1-1-0 enable_api_ms_win_downlevel_user32_l1_1_0
16656 wine_fn_config_dll api-ms-win-downlevel-version-l1-1-0 enable_api_ms_win_downlevel_version_l1_1_0
16657 wine_fn_config_dll api-ms-win-eventing-provider-l1-1-0 enable_api_ms_win_eventing_provider_l1_1_0
16658 wine_fn_config_dll api-ms-win-ntuser-dc-access-l1-1-0 enable_api_ms_win_ntuser_dc_access_l1_1_0
16659 wine_fn_config_dll api-ms-win-security-base-l1-1-0 enable_api_ms_win_security_base_l1_1_0
16660 wine_fn_config_dll api-ms-win-security-base-l1-2-0 enable_api_ms_win_security_base_l1_2_0
16661 wine_fn_config_dll api-ms-win-security-sddl-l1-1-0 enable_api_ms_win_security_sddl_l1_1_0
16662 wine_fn_config_dll api-ms-win-service-core-l1-1-1 enable_api_ms_win_service_core_l1_1_1
16663 wine_fn_config_dll api-ms-win-service-management-l1-1-0 enable_api_ms_win_service_management_l1_1_0
16664 wine_fn_config_dll api-ms-win-service-winsvc-l1-2-0 enable_api_ms_win_service_winsvc_l1_2_0
16665 wine_fn_config_dll apphelp enable_apphelp
16666 wine_fn_config_test dlls/apphelp/tests apphelp_test
16667 wine_fn_config_dll appwiz.cpl enable_appwiz_cpl po
16668 wine_fn_config_dll atl enable_atl clean,implib
16669 wine_fn_config_test dlls/atl/tests atl_test
16670 wine_fn_config_dll atl100 enable_atl100 implib
16671 wine_fn_config_test dlls/atl100/tests atl100_test
16672 wine_fn_config_dll atl110 enable_atl110
16673 wine_fn_config_dll atl80 enable_atl80 implib
16674 wine_fn_config_test dlls/atl80/tests atl80_test
16675 wine_fn_config_dll atl90 enable_atl90
16676 wine_fn_config_dll authz enable_authz
16677 wine_fn_config_dll avicap32 enable_avicap32 implib
16678 wine_fn_config_dll avifil32 enable_avifil32 clean,implib,po
16679 wine_fn_config_test dlls/avifil32/tests avifil32_test
16680 wine_fn_config_dll avifile.dll16 enable_win16
16681 wine_fn_config_dll avrt enable_avrt implib
16682 wine_fn_config_dll bcrypt enable_bcrypt
16683 wine_fn_config_test dlls/bcrypt/tests bcrypt_test
16684 wine_fn_config_dll browseui enable_browseui clean,po
16685 wine_fn_config_test dlls/browseui/tests browseui_test
16686 wine_fn_config_dll cabinet enable_cabinet implib
16687 wine_fn_config_test dlls/cabinet/tests cabinet_test
16688 wine_fn_config_dll capi2032 enable_capi2032 implib
16689 wine_fn_config_dll cards enable_cards implib
16690 wine_fn_config_dll cfgmgr32 enable_cfgmgr32 implib
16691 wine_fn_config_dll clusapi enable_clusapi implib
16692 wine_fn_config_dll comcat enable_comcat
16693 wine_fn_config_test dlls/comcat/tests comcat_test
16694 wine_fn_config_dll comctl32 enable_comctl32 implib,po
16695 wine_fn_config_test dlls/comctl32/tests comctl32_test
16696 wine_fn_config_dll comdlg32 enable_comdlg32 clean,implib,po
16697 wine_fn_config_test dlls/comdlg32/tests comdlg32_test
16698 wine_fn_config_dll comm.drv16 enable_win16
16699 wine_fn_config_dll commdlg.dll16 enable_win16
16700 wine_fn_config_dll compobj.dll16 enable_win16
16701 wine_fn_config_dll compstui enable_compstui implib
16702 wine_fn_config_dll comsvcs enable_comsvcs implib
16703 wine_fn_config_dll credui enable_credui implib,po
16704 wine_fn_config_test dlls/credui/tests credui_test
16705 wine_fn_config_dll crtdll enable_crtdll implib
16706 wine_fn_config_dll crypt32 enable_crypt32 implib,po
16707 wine_fn_config_test dlls/crypt32/tests crypt32_test
16708 wine_fn_config_dll cryptdlg enable_cryptdlg po
16709 wine_fn_config_dll cryptdll enable_cryptdll implib
16710 wine_fn_config_dll cryptnet enable_cryptnet implib
16711 wine_fn_config_test dlls/cryptnet/tests cryptnet_test
16712 wine_fn_config_dll cryptui enable_cryptui implib,po
16713 wine_fn_config_test dlls/cryptui/tests cryptui_test
16714 wine_fn_config_dll ctapi32 enable_ctapi32
16715 wine_fn_config_dll ctl3d.dll16 enable_win16
16716 wine_fn_config_dll ctl3d32 enable_ctl3d32 implib
16717 wine_fn_config_dll ctl3dv2.dll16 enable_win16
16718 wine_fn_config_dll d3d10 enable_d3d10 implib
16719 wine_fn_config_test dlls/d3d10/tests d3d10_test
16720 wine_fn_config_dll d3d10_1 enable_d3d10_1 implib
16721 wine_fn_config_dll d3d10core enable_d3d10core implib
16722 wine_fn_config_test dlls/d3d10core/tests d3d10core_test
16723 wine_fn_config_dll d3d11 enable_d3d11
16724 wine_fn_config_dll d3d8 enable_d3d8 implib
16725 wine_fn_config_test dlls/d3d8/tests d3d8_test
16726 wine_fn_config_dll d3d9 enable_d3d9 implib
16727 wine_fn_config_test dlls/d3d9/tests d3d9_test
16728 wine_fn_config_dll d3dcompiler_33 enable_d3dcompiler_33
16729 wine_fn_config_dll d3dcompiler_34 enable_d3dcompiler_34
16730 wine_fn_config_dll d3dcompiler_35 enable_d3dcompiler_35
16731 wine_fn_config_dll d3dcompiler_36 enable_d3dcompiler_36
16732 wine_fn_config_dll d3dcompiler_37 enable_d3dcompiler_37
16733 wine_fn_config_dll d3dcompiler_38 enable_d3dcompiler_38
16734 wine_fn_config_dll d3dcompiler_39 enable_d3dcompiler_39
16735 wine_fn_config_dll d3dcompiler_40 enable_d3dcompiler_40
16736 wine_fn_config_dll d3dcompiler_41 enable_d3dcompiler_41
16737 wine_fn_config_dll d3dcompiler_42 enable_d3dcompiler_42
16738 wine_fn_config_dll d3dcompiler_43 enable_d3dcompiler_43 implib d3dcompiler
16739 wine_fn_config_test dlls/d3dcompiler_43/tests d3dcompiler_43_test
16740 wine_fn_config_dll d3dim enable_d3dim implib
16741 wine_fn_config_dll d3drm enable_d3drm implib
16742 wine_fn_config_test dlls/d3drm/tests d3drm_test
16743 wine_fn_config_dll d3dx10_33 enable_d3dx10_33
16744 wine_fn_config_dll d3dx10_34 enable_d3dx10_34
16745 wine_fn_config_dll d3dx10_35 enable_d3dx10_35
16746 wine_fn_config_dll d3dx10_36 enable_d3dx10_36
16747 wine_fn_config_dll d3dx10_37 enable_d3dx10_37
16748 wine_fn_config_dll d3dx10_38 enable_d3dx10_38
16749 wine_fn_config_dll d3dx10_39 enable_d3dx10_39
16750 wine_fn_config_dll d3dx10_40 enable_d3dx10_40
16751 wine_fn_config_dll d3dx10_41 enable_d3dx10_41
16752 wine_fn_config_dll d3dx10_42 enable_d3dx10_42
16753 wine_fn_config_dll d3dx10_43 enable_d3dx10_43
16754 wine_fn_config_dll d3dx11_42 enable_d3dx11_42
16755 wine_fn_config_dll d3dx11_43 enable_d3dx11_43
16756 wine_fn_config_dll d3dx9_24 enable_d3dx9_24
16757 wine_fn_config_dll d3dx9_25 enable_d3dx9_25
16758 wine_fn_config_dll d3dx9_26 enable_d3dx9_26
16759 wine_fn_config_dll d3dx9_27 enable_d3dx9_27
16760 wine_fn_config_dll d3dx9_28 enable_d3dx9_28
16761 wine_fn_config_dll d3dx9_29 enable_d3dx9_29
16762 wine_fn_config_dll d3dx9_30 enable_d3dx9_30
16763 wine_fn_config_dll d3dx9_31 enable_d3dx9_31
16764 wine_fn_config_dll d3dx9_32 enable_d3dx9_32
16765 wine_fn_config_dll d3dx9_33 enable_d3dx9_33
16766 wine_fn_config_dll d3dx9_34 enable_d3dx9_34
16767 wine_fn_config_dll d3dx9_35 enable_d3dx9_35
16768 wine_fn_config_dll d3dx9_36 enable_d3dx9_36 implib d3dx9
16769 wine_fn_config_test dlls/d3dx9_36/tests d3dx9_36_test
16770 wine_fn_config_dll d3dx9_37 enable_d3dx9_37
16771 wine_fn_config_dll d3dx9_38 enable_d3dx9_38
16772 wine_fn_config_dll d3dx9_39 enable_d3dx9_39
16773 wine_fn_config_dll d3dx9_40 enable_d3dx9_40
16774 wine_fn_config_dll d3dx9_41 enable_d3dx9_41
16775 wine_fn_config_dll d3dx9_42 enable_d3dx9_42
16776 wine_fn_config_dll d3dx9_43 enable_d3dx9_43
16777 wine_fn_config_dll d3dxof enable_d3dxof clean,implib
16778 wine_fn_config_test dlls/d3dxof/tests d3dxof_test
16779 wine_fn_config_dll dbgeng enable_dbgeng implib
16780 wine_fn_config_dll dbghelp enable_dbghelp implib
16781 wine_fn_config_dll dciman32 enable_dciman32 implib
16782 wine_fn_config_dll ddeml.dll16 enable_win16
16783 wine_fn_config_dll ddraw enable_ddraw clean,implib
16784 wine_fn_config_test dlls/ddraw/tests ddraw_test
16785 wine_fn_config_dll ddrawex enable_ddrawex clean
16786 wine_fn_config_test dlls/ddrawex/tests ddrawex_test
16787 wine_fn_config_dll devenum enable_devenum clean,po
16788 wine_fn_config_test dlls/devenum/tests devenum_test
16789 wine_fn_config_dll dhcpcsvc enable_dhcpcsvc
16790 wine_fn_config_dll difxapi enable_difxapi
16791 wine_fn_config_dll dinput enable_dinput clean,implib,po,staticimplib
16792 wine_fn_config_test dlls/dinput/tests dinput_test
16793 wine_fn_config_dll dinput8 enable_dinput8 clean,implib
16794 wine_fn_config_test dlls/dinput8/tests dinput8_test
16795 wine_fn_config_dll dispdib.dll16 enable_win16
16796 wine_fn_config_dll dispex enable_dispex clean
16797 wine_fn_config_test dlls/dispex/tests dispex_test
16798 wine_fn_config_dll display.drv16 enable_win16
16799 wine_fn_config_dll dmband enable_dmband clean
16800 wine_fn_config_test dlls/dmband/tests dmband_test
16801 wine_fn_config_dll dmcompos enable_dmcompos clean
16802 wine_fn_config_test dlls/dmcompos/tests dmcompos_test
16803 wine_fn_config_dll dmime enable_dmime clean
16804 wine_fn_config_test dlls/dmime/tests dmime_test
16805 wine_fn_config_dll dmloader enable_dmloader clean
16806 wine_fn_config_test dlls/dmloader/tests dmloader_test
16807 wine_fn_config_dll dmscript enable_dmscript clean
16808 wine_fn_config_test dlls/dmscript/tests dmscript_test
16809 wine_fn_config_dll dmstyle enable_dmstyle clean
16810 wine_fn_config_test dlls/dmstyle/tests dmstyle_test
16811 wine_fn_config_dll dmsynth enable_dmsynth clean
16812 wine_fn_config_test dlls/dmsynth/tests dmsynth_test
16813 wine_fn_config_dll dmusic enable_dmusic clean
16814 wine_fn_config_test dlls/dmusic/tests dmusic_test
16815 wine_fn_config_dll dmusic32 enable_dmusic32 implib
16816 wine_fn_config_dll dnsapi enable_dnsapi implib
16817 wine_fn_config_test dlls/dnsapi/tests dnsapi_test
16818 wine_fn_config_dll dplay enable_dplay implib
16819 wine_fn_config_dll dplayx enable_dplayx clean,implib
16820 wine_fn_config_test dlls/dplayx/tests dplayx_test
16821 wine_fn_config_dll dpnaddr enable_dpnaddr
16822 wine_fn_config_dll dpnet enable_dpnet clean,implib
16823 wine_fn_config_test dlls/dpnet/tests dpnet_test
16824 wine_fn_config_dll dpnhpast enable_dpnhpast
16825 wine_fn_config_dll dpnlobby enable_dpnlobby
16826 wine_fn_config_dll dpwsockx enable_dpwsockx
16827 wine_fn_config_dll drmclien enable_drmclien
16828 wine_fn_config_dll dsound enable_dsound clean,implib
16829 wine_fn_config_test dlls/dsound/tests dsound_test
16830 wine_fn_config_dll dssenh enable_dssenh
16831 wine_fn_config_test dlls/dssenh/tests dssenh_test
16832 wine_fn_config_dll dswave enable_dswave clean
16833 wine_fn_config_dll dwmapi enable_dwmapi implib
16834 wine_fn_config_dll dwrite enable_dwrite implib
16835 wine_fn_config_test dlls/dwrite/tests dwrite_test
16836 wine_fn_config_dll dxdiagn enable_dxdiagn clean,po
16837 wine_fn_config_test dlls/dxdiagn/tests dxdiagn_test
16838 wine_fn_config_lib dxerr8
16839 wine_fn_config_lib dxerr9
16840 wine_fn_config_dll dxgi enable_dxgi implib
16841 wine_fn_config_test dlls/dxgi/tests dxgi_test
16842 wine_fn_config_lib dxguid
16843 wine_fn_config_dll explorerframe enable_explorerframe clean
16844 wine_fn_config_test dlls/explorerframe/tests explorerframe_test
16845 wine_fn_config_dll ext-ms-win-gdi-devcaps-l1-1-0 enable_ext_ms_win_gdi_devcaps_l1_1_0
16846 wine_fn_config_dll faultrep enable_faultrep implib
16847 wine_fn_config_test dlls/faultrep/tests faultrep_test
16848 wine_fn_config_dll fltlib enable_fltlib
16849 wine_fn_config_dll fusion enable_fusion
16850 wine_fn_config_test dlls/fusion/tests fusion_test
16851 wine_fn_config_dll fwpuclnt enable_fwpuclnt
16852 wine_fn_config_dll gameux enable_gameux clean
16853 wine_fn_config_test dlls/gameux/tests gameux_test
16854 wine_fn_config_dll gdi.exe16 enable_win16
16855 wine_fn_config_dll gdi32 enable_gdi32 clean,implib,po
16856 wine_fn_config_test dlls/gdi32/tests gdi32_test
16857 wine_fn_config_dll gdiplus enable_gdiplus implib
16858 wine_fn_config_test dlls/gdiplus/tests gdiplus_test
16859 wine_fn_config_dll glu32 enable_glu32 implib
16860 wine_fn_config_dll gphoto2.ds enable_gphoto2_ds po
16861 wine_fn_config_dll gpkcsp enable_gpkcsp
16862 wine_fn_config_dll hal enable_hal
16863 wine_fn_config_dll hhctrl.ocx enable_hhctrl_ocx clean,implib,po htmlhelp
16864 wine_fn_config_dll hid enable_hid implib
16865 wine_fn_config_dll hlink enable_hlink clean,implib
16866 wine_fn_config_test dlls/hlink/tests hlink_test
16867 wine_fn_config_dll hnetcfg enable_hnetcfg clean
16868 wine_fn_config_dll httpapi enable_httpapi
16869 wine_fn_config_dll iccvid enable_iccvid po
16870 wine_fn_config_dll icmp enable_icmp
16871 wine_fn_config_dll ieframe enable_ieframe clean,implib,po
16872 wine_fn_config_test dlls/ieframe/tests ieframe_test
16873 wine_fn_config_dll ifsmgr.vxd enable_win16
16874 wine_fn_config_dll imaadp32.acm enable_imaadp32_acm
16875 wine_fn_config_dll imagehlp enable_imagehlp implib
16876 wine_fn_config_test dlls/imagehlp/tests imagehlp_test
16877 wine_fn_config_dll imm.dll16 enable_win16
16878 wine_fn_config_dll imm32 enable_imm32 implib
16879 wine_fn_config_test dlls/imm32/tests imm32_test
16880 wine_fn_config_dll inetcomm enable_inetcomm clean,implib
16881 wine_fn_config_test dlls/inetcomm/tests inetcomm_test
16882 wine_fn_config_dll inetcpl.cpl enable_inetcpl_cpl po
16883 wine_fn_config_dll inetmib1 enable_inetmib1
16884 wine_fn_config_test dlls/inetmib1/tests inetmib1_test
16885 wine_fn_config_dll infosoft enable_infosoft clean
16886 wine_fn_config_test dlls/infosoft/tests infosoft_test
16887 wine_fn_config_dll initpki enable_initpki
16888 wine_fn_config_dll inkobj enable_inkobj
16889 wine_fn_config_dll inseng enable_inseng clean
16890 wine_fn_config_dll iphlpapi enable_iphlpapi implib
16891 wine_fn_config_test dlls/iphlpapi/tests iphlpapi_test
16892 wine_fn_config_dll itircl enable_itircl
16893 wine_fn_config_dll itss enable_itss clean
16894 wine_fn_config_test dlls/itss/tests itss_test
16895 wine_fn_config_dll joy.cpl enable_joy_cpl po
16896 wine_fn_config_dll jscript enable_jscript clean,po
16897 wine_fn_config_test dlls/jscript/tests jscript_test
16898 wine_fn_config_dll kernel32 enable_kernel32 clean,implib,mc
16899 wine_fn_config_test dlls/kernel32/tests kernel32_test
16900 wine_fn_config_dll keyboard.drv16 enable_win16
16901 wine_fn_config_dll krnl386.exe16 enable_win16 implib kernel
16902 wine_fn_config_dll ktmw32 enable_ktmw32
16903 wine_fn_config_dll loadperf enable_loadperf implib
16904 wine_fn_config_dll localspl enable_localspl po
16905 wine_fn_config_test dlls/localspl/tests localspl_test
16906 wine_fn_config_dll localui enable_localui po
16907 wine_fn_config_test dlls/localui/tests localui_test
16908 wine_fn_config_dll lz32 enable_lz32 implib
16909 wine_fn_config_test dlls/lz32/tests lz32_test
16910 wine_fn_config_dll lzexpand.dll16 enable_win16
16911 wine_fn_config_dll mapi32 enable_mapi32 implib,po
16912 wine_fn_config_test dlls/mapi32/tests mapi32_test
16913 wine_fn_config_dll mapistub enable_mapistub
16914 wine_fn_config_dll mciavi32 enable_mciavi32
16915 wine_fn_config_dll mcicda enable_mcicda
16916 wine_fn_config_dll mciqtz32 enable_mciqtz32
16917 wine_fn_config_dll mciseq enable_mciseq
16918 wine_fn_config_dll mciwave enable_mciwave
16919 wine_fn_config_dll mgmtapi enable_mgmtapi
16920 wine_fn_config_dll midimap enable_midimap
16921 wine_fn_config_dll mlang enable_mlang clean,implib
16922 wine_fn_config_test dlls/mlang/tests mlang_test
16923 wine_fn_config_dll mmcndmgr enable_mmcndmgr clean
16924 wine_fn_config_test dlls/mmcndmgr/tests mmcndmgr_test
16925 wine_fn_config_dll mmdevapi enable_mmdevapi clean
16926 wine_fn_config_test dlls/mmdevapi/tests mmdevapi_test
16927 wine_fn_config_dll mmdevldr.vxd enable_win16
16928 wine_fn_config_dll mmsystem.dll16 enable_win16
16929 wine_fn_config_dll monodebg.vxd enable_win16
16930 wine_fn_config_dll mountmgr.sys enable_mountmgr_sys
16931 wine_fn_config_dll mouse.drv16 enable_win16
16932 wine_fn_config_dll mpr enable_mpr implib,po
16933 wine_fn_config_test dlls/mpr/tests mpr_test
16934 wine_fn_config_dll mprapi enable_mprapi implib
16935 wine_fn_config_dll msacm.dll16 enable_win16
16936 wine_fn_config_dll msacm32.drv enable_msacm32_drv
16937 wine_fn_config_dll msacm32 enable_msacm32 implib,po
16938 wine_fn_config_test dlls/msacm32/tests msacm32_test
16939 wine_fn_config_dll msadp32.acm enable_msadp32_acm
16940 wine_fn_config_dll mscat32 enable_mscat32
16941 wine_fn_config_dll mscms enable_mscms implib
16942 wine_fn_config_test dlls/mscms/tests mscms_test
16943 wine_fn_config_dll mscoree enable_mscoree clean
16944 wine_fn_config_test dlls/mscoree/tests mscoree_test
16945 wine_fn_config_dll msctf enable_msctf clean
16946 wine_fn_config_test dlls/msctf/tests msctf_test
16947 wine_fn_config_dll msdaps enable_msdaps clean
16948 wine_fn_config_dll msdmo enable_msdmo implib
16949 wine_fn_config_dll msftedit enable_msftedit
16950 wine_fn_config_dll msg711.acm enable_msg711_acm
16951 wine_fn_config_dll msgsm32.acm enable_msgsm32_acm
16952 wine_fn_config_dll mshtml.tlb enable_mshtml_tlb clean
16953 wine_fn_config_dll mshtml enable_mshtml clean,implib,po
16954 wine_fn_config_test dlls/mshtml/tests mshtml_test clean
16955 wine_fn_config_dll msi enable_msi clean,implib,po
16956 wine_fn_config_test dlls/msi/tests msi_test
16957 wine_fn_config_dll msident enable_msident clean
16958 wine_fn_config_dll msimg32 enable_msimg32 implib
16959 wine_fn_config_dll msimsg enable_msimsg
16960 wine_fn_config_dll msimtf enable_msimtf clean
16961 wine_fn_config_dll msisip enable_msisip
16962 wine_fn_config_dll msisys.ocx enable_msisys_ocx
16963 wine_fn_config_dll msls31 enable_msls31
16964 wine_fn_config_dll msnet32 enable_msnet32
16965 wine_fn_config_dll mspatcha enable_mspatcha
16966 wine_fn_config_dll msrle32 enable_msrle32 po
16967 wine_fn_config_test dlls/msrle32/tests msrle32_test
16968 wine_fn_config_dll mssign32 enable_mssign32
16969 wine_fn_config_dll mssip32 enable_mssip32
16970 wine_fn_config_dll mstask enable_mstask clean
16971 wine_fn_config_test dlls/mstask/tests mstask_test
16972 wine_fn_config_dll msvcirt enable_msvcirt
16973 wine_fn_config_dll msvcm80 enable_msvcm80
16974 wine_fn_config_dll msvcm90 enable_msvcm90
16975 wine_fn_config_dll msvcp100 enable_msvcp100
16976 wine_fn_config_test dlls/msvcp100/tests msvcp100_test
16977 wine_fn_config_dll msvcp110 enable_msvcp110
16978 wine_fn_config_dll msvcp60 enable_msvcp60
16979 wine_fn_config_test dlls/msvcp60/tests msvcp60_test
16980 wine_fn_config_dll msvcp70 enable_msvcp70
16981 wine_fn_config_dll msvcp71 enable_msvcp71
16982 wine_fn_config_dll msvcp80 enable_msvcp80
16983 wine_fn_config_dll msvcp90 enable_msvcp90
16984 wine_fn_config_test dlls/msvcp90/tests msvcp90_test
16985 wine_fn_config_dll msvcr100 enable_msvcr100 implib
16986 wine_fn_config_test dlls/msvcr100/tests msvcr100_test
16987 wine_fn_config_dll msvcr110 enable_msvcr110 implib
16988 wine_fn_config_dll msvcr70 enable_msvcr70 implib
16989 wine_fn_config_dll msvcr71 enable_msvcr71 implib
16990 wine_fn_config_dll msvcr80 enable_msvcr80 implib
16991 wine_fn_config_dll msvcr90 enable_msvcr90 implib
16992 wine_fn_config_test dlls/msvcr90/tests msvcr90_test
16993 wine_fn_config_dll msvcrt enable_msvcrt implib
16994 wine_fn_config_test dlls/msvcrt/tests msvcrt_test
16995 wine_fn_config_dll msvcrt20 enable_msvcrt20 implib
16996 wine_fn_config_dll msvcrt40 enable_msvcrt40 implib
16997 wine_fn_config_dll msvcrtd enable_msvcrtd implib
16998 wine_fn_config_test dlls/msvcrtd/tests msvcrtd_test
16999 wine_fn_config_dll msvfw32 enable_msvfw32 implib,po
17000 wine_fn_config_test dlls/msvfw32/tests msvfw32_test
17001 wine_fn_config_dll msvidc32 enable_msvidc32 po
17002 wine_fn_config_dll msvideo.dll16 enable_win16
17003 wine_fn_config_dll mswsock enable_mswsock implib
17004 wine_fn_config_dll msxml enable_msxml clean
17005 wine_fn_config_dll msxml2 enable_msxml2 clean
17006 wine_fn_config_dll msxml3 enable_msxml3 clean
17007 wine_fn_config_test dlls/msxml3/tests msxml3_test clean
17008 wine_fn_config_dll msxml4 enable_msxml4 clean
17009 wine_fn_config_dll msxml6 enable_msxml6 clean
17010 wine_fn_config_dll nddeapi enable_nddeapi implib
17011 wine_fn_config_dll netapi32 enable_netapi32 implib
17012 wine_fn_config_test dlls/netapi32/tests netapi32_test
17013 wine_fn_config_dll netcfgx enable_netcfgx
17014 wine_fn_config_dll newdev enable_newdev implib
17015 wine_fn_config_dll normaliz enable_normaliz implib
17016 wine_fn_config_dll npmshtml enable_npmshtml
17017 wine_fn_config_dll ntdll enable_ntdll implib
17018 wine_fn_config_test dlls/ntdll/tests ntdll_test
17019 wine_fn_config_dll ntdsapi enable_ntdsapi implib
17020 wine_fn_config_test dlls/ntdsapi/tests ntdsapi_test
17021 wine_fn_config_dll ntoskrnl.exe enable_ntoskrnl_exe implib
17022 wine_fn_config_dll ntprint enable_ntprint
17023 wine_fn_config_test dlls/ntprint/tests ntprint_test
17024 wine_fn_config_dll objsel enable_objsel clean
17025 wine_fn_config_dll odbc32 enable_odbc32 implib
17026 wine_fn_config_dll odbccp32 enable_odbccp32 implib
17027 wine_fn_config_test dlls/odbccp32/tests odbccp32_test
17028 wine_fn_config_dll odbccu32 enable_odbccu32
17029 wine_fn_config_dll ole2.dll16 enable_win16
17030 wine_fn_config_dll ole2conv.dll16 enable_win16
17031 wine_fn_config_dll ole2disp.dll16 enable_win16
17032 wine_fn_config_dll ole2nls.dll16 enable_win16
17033 wine_fn_config_dll ole2prox.dll16 enable_win16
17034 wine_fn_config_dll ole2thk.dll16 enable_win16
17035 wine_fn_config_dll ole32 enable_ole32 clean,implib
17036 wine_fn_config_test dlls/ole32/tests ole32_test
17037 wine_fn_config_dll oleacc enable_oleacc clean,implib,po
17038 wine_fn_config_test dlls/oleacc/tests oleacc_test
17039 wine_fn_config_dll oleaut32 enable_oleaut32 clean,implib,po
17040 wine_fn_config_test dlls/oleaut32/tests oleaut32_test clean
17041 wine_fn_config_dll olecli.dll16 enable_win16
17042 wine_fn_config_dll olecli32 enable_olecli32 implib
17043 wine_fn_config_dll oledb32 enable_oledb32 clean
17044 wine_fn_config_test dlls/oledb32/tests oledb32_test clean
17045 wine_fn_config_dll oledlg enable_oledlg implib,po
17046 wine_fn_config_dll olepro32 enable_olepro32 implib
17047 wine_fn_config_dll olesvr.dll16 enable_win16
17048 wine_fn_config_dll olesvr32 enable_olesvr32 implib
17049 wine_fn_config_dll olethk32 enable_olethk32
17050 wine_fn_config_dll openal32 enable_openal32
17051 wine_fn_config_dll opencl enable_opencl
17052 wine_fn_config_dll opengl32 enable_opengl32 implib
17053 wine_fn_config_test dlls/opengl32/tests opengl32_test
17054 wine_fn_config_dll pdh enable_pdh implib
17055 wine_fn_config_test dlls/pdh/tests pdh_test
17056 wine_fn_config_dll photometadatahandler enable_photometadatahandler
17057 wine_fn_config_dll pidgen enable_pidgen
17058 wine_fn_config_dll powrprof enable_powrprof implib
17059 wine_fn_config_dll printui enable_printui
17060 wine_fn_config_dll propsys enable_propsys clean,implib
17061 wine_fn_config_test dlls/propsys/tests propsys_test
17062 wine_fn_config_dll psapi enable_psapi implib
17063 wine_fn_config_test dlls/psapi/tests psapi_test
17064 wine_fn_config_dll pstorec enable_pstorec clean
17065 wine_fn_config_dll qcap enable_qcap
17066 wine_fn_config_test dlls/qcap/tests qcap_test
17067 wine_fn_config_dll qedit enable_qedit clean
17068 wine_fn_config_test dlls/qedit/tests qedit_test
17069 wine_fn_config_dll qmgr enable_qmgr clean
17070 wine_fn_config_test dlls/qmgr/tests qmgr_test
17071 wine_fn_config_dll qmgrprxy enable_qmgrprxy clean
17072 wine_fn_config_dll quartz enable_quartz clean,implib
17073 wine_fn_config_test dlls/quartz/tests quartz_test clean
17074 wine_fn_config_dll query enable_query
17075 wine_fn_config_dll rasapi16.dll16 enable_win16
17076 wine_fn_config_dll rasapi32 enable_rasapi32 implib
17077 wine_fn_config_test dlls/rasapi32/tests rasapi32_test
17078 wine_fn_config_dll rasdlg enable_rasdlg implib
17079 wine_fn_config_dll regapi enable_regapi
17080 wine_fn_config_dll resutils enable_resutils implib
17081 wine_fn_config_dll riched20 enable_riched20 implib
17082 wine_fn_config_test dlls/riched20/tests riched20_test
17083 wine_fn_config_dll riched32 enable_riched32
17084 wine_fn_config_test dlls/riched32/tests riched32_test
17085 wine_fn_config_dll rpcrt4 enable_rpcrt4 clean,implib
17086 wine_fn_config_test dlls/rpcrt4/tests rpcrt4_test clean
17087 wine_fn_config_dll rsabase enable_rsabase
17088 wine_fn_config_dll rsaenh enable_rsaenh implib
17089 wine_fn_config_test dlls/rsaenh/tests rsaenh_test
17090 wine_fn_config_dll rstrtmgr enable_rstrtmgr
17091 wine_fn_config_dll rtutils enable_rtutils implib
17092 wine_fn_config_dll samlib enable_samlib
17093 wine_fn_config_dll sane.ds enable_sane_ds po
17094 wine_fn_config_dll scarddlg enable_scarddlg
17095 wine_fn_config_dll sccbase enable_sccbase
17096 wine_fn_config_dll schannel enable_schannel
17097 wine_fn_config_test dlls/schannel/tests schannel_test
17098 wine_fn_config_dll scrrun enable_scrrun clean
17099 wine_fn_config_test dlls/scrrun/tests scrrun_test clean
17100 wine_fn_config_dll scsiport.sys enable_scsiport_sys
17101 wine_fn_config_dll secur32 enable_secur32 implib
17102 wine_fn_config_test dlls/secur32/tests secur32_test
17103 wine_fn_config_dll security enable_security
17104 wine_fn_config_dll sensapi enable_sensapi implib
17105 wine_fn_config_dll serialui enable_serialui implib,po
17106 wine_fn_config_test dlls/serialui/tests serialui_test
17107 wine_fn_config_dll setupapi enable_setupapi implib,po
17108 wine_fn_config_test dlls/setupapi/tests setupapi_test
17109 wine_fn_config_dll setupx.dll16 enable_win16
17110 wine_fn_config_dll sfc enable_sfc implib
17111 wine_fn_config_dll sfc_os enable_sfc_os implib
17112 wine_fn_config_dll shdoclc enable_shdoclc po
17113 wine_fn_config_dll shdocvw enable_shdocvw clean,implib
17114 wine_fn_config_test dlls/shdocvw/tests shdocvw_test
17115 wine_fn_config_dll shell.dll16 enable_win16
17116 wine_fn_config_dll shell32 enable_shell32 clean,implib,po
17117 wine_fn_config_test dlls/shell32/tests shell32_test
17118 wine_fn_config_dll shfolder enable_shfolder implib
17119 wine_fn_config_dll shlwapi enable_shlwapi implib,po
17120 wine_fn_config_test dlls/shlwapi/tests shlwapi_test
17121 wine_fn_config_dll slbcsp enable_slbcsp
17122 wine_fn_config_dll slc enable_slc implib
17123 wine_fn_config_dll snmpapi enable_snmpapi implib
17124 wine_fn_config_test dlls/snmpapi/tests snmpapi_test
17125 wine_fn_config_dll softpub enable_softpub
17126 wine_fn_config_dll sound.drv16 enable_win16
17127 wine_fn_config_dll spoolss enable_spoolss implib
17128 wine_fn_config_test dlls/spoolss/tests spoolss_test
17129 wine_fn_config_dll stdole2.tlb enable_stdole2_tlb clean
17130 wine_fn_config_dll stdole32.tlb enable_stdole32_tlb clean
17131 wine_fn_config_dll sti enable_sti clean,implib
17132 wine_fn_config_test dlls/sti/tests sti_test
17133 wine_fn_config_dll storage.dll16 enable_win16
17134 wine_fn_config_dll stress.dll16 enable_win16
17135 wine_fn_config_lib strmbase
17136 wine_fn_config_lib strmiids
17137 wine_fn_config_dll svrapi enable_svrapi
17138 wine_fn_config_dll sxs enable_sxs implib
17139 wine_fn_config_test dlls/sxs/tests sxs_test
17140 wine_fn_config_dll system.drv16 enable_win16
17141 wine_fn_config_dll t2embed enable_t2embed
17142 wine_fn_config_dll tapi32 enable_tapi32 implib
17143 wine_fn_config_dll taskschd enable_taskschd clean
17144 wine_fn_config_test dlls/taskschd/tests taskschd_test
17145 wine_fn_config_dll toolhelp.dll16 enable_win16
17146 wine_fn_config_dll traffic enable_traffic
17147 wine_fn_config_dll twain.dll16 enable_win16
17148 wine_fn_config_dll twain_32 enable_twain_32
17149 wine_fn_config_test dlls/twain_32/tests twain_32_test
17150 wine_fn_config_dll typelib.dll16 enable_win16
17151 wine_fn_config_dll unicows enable_unicows implib
17152 wine_fn_config_dll updspapi enable_updspapi
17153 wine_fn_config_dll url enable_url implib
17154 wine_fn_config_dll urlmon enable_urlmon clean,implib,po
17155 wine_fn_config_test dlls/urlmon/tests urlmon_test
17156 wine_fn_config_dll usbd.sys enable_usbd_sys implib
17157 wine_fn_config_dll user.exe16 enable_win16
17158 wine_fn_config_dll user32 enable_user32 clean,implib,po
17159 wine_fn_config_test dlls/user32/tests user32_test
17160 wine_fn_config_dll userenv enable_userenv implib
17161 wine_fn_config_test dlls/userenv/tests userenv_test
17162 wine_fn_config_dll usp10 enable_usp10 implib
17163 wine_fn_config_test dlls/usp10/tests usp10_test
17164 wine_fn_config_lib uuid
17165 wine_fn_config_dll uxtheme enable_uxtheme implib
17166 wine_fn_config_test dlls/uxtheme/tests uxtheme_test
17167 wine_fn_config_dll vbscript enable_vbscript clean
17168 wine_fn_config_test dlls/vbscript/tests vbscript_test clean
17169 wine_fn_config_dll vcomp enable_vcomp
17170 wine_fn_config_dll vcomp100 enable_vcomp100
17171 wine_fn_config_dll vcomp90 enable_vcomp90
17172 wine_fn_config_dll vdhcp.vxd enable_win16
17173 wine_fn_config_dll vdmdbg enable_vdmdbg implib
17174 wine_fn_config_dll ver.dll16 enable_win16
17175 wine_fn_config_dll version enable_version implib
17176 wine_fn_config_test dlls/version/tests version_test
17177 wine_fn_config_dll vmm.vxd enable_win16
17178 wine_fn_config_dll vnbt.vxd enable_win16
17179 wine_fn_config_dll vnetbios.vxd enable_win16
17180 wine_fn_config_dll vtdapi.vxd enable_win16
17181 wine_fn_config_dll vwin32.vxd enable_win16
17182 wine_fn_config_dll w32skrnl enable_win16
17183 wine_fn_config_dll w32sys.dll16 enable_win16
17184 wine_fn_config_dll wbemdisp enable_wbemdisp clean
17185 wine_fn_config_dll wbemprox enable_wbemprox clean
17186 wine_fn_config_test dlls/wbemprox/tests wbemprox_test
17187 wine_fn_config_dll webservices enable_webservices implib
17188 wine_fn_config_dll wer enable_wer implib
17189 wine_fn_config_test dlls/wer/tests wer_test
17190 wine_fn_config_dll wevtapi enable_wevtapi
17191 wine_fn_config_dll wiaservc enable_wiaservc clean
17192 wine_fn_config_dll win32s16.dll16 enable_win16
17193 wine_fn_config_dll win87em.dll16 enable_win16
17194 wine_fn_config_dll winaspi.dll16 enable_win16
17195 wine_fn_config_dll windebug.dll16 enable_win16
17196 wine_fn_config_dll windowscodecs enable_windowscodecs clean,implib
17197 wine_fn_config_test dlls/windowscodecs/tests windowscodecs_test
17198 wine_fn_config_dll windowscodecsext enable_windowscodecsext implib
17199 wine_fn_config_test dlls/windowscodecsext/tests windowscodecsext_test
17200 wine_fn_config_dll winealsa.drv enable_winealsa_drv
17201 wine_fn_config_dll winecoreaudio.drv enable_winecoreaudio_drv
17202 wine_fn_config_lib winecrt0
17203 wine_fn_config_dll wined3d enable_wined3d implib
17204 wine_fn_config_dll winegstreamer enable_winegstreamer
17205 wine_fn_config_dll winejoystick.drv enable_winejoystick_drv
17206 wine_fn_config_dll winemac.drv enable_winemac_drv
17207 wine_fn_config_dll winemapi enable_winemapi
17208 wine_fn_config_dll winemp3.acm enable_winemp3_acm
17209 wine_fn_config_dll wineoss.drv enable_wineoss_drv
17210 wine_fn_config_dll wineps.drv enable_wineps_drv clean,po
17211 wine_fn_config_dll wineps16.drv16 enable_win16
17212 wine_fn_config_dll wineqtdecoder enable_wineqtdecoder
17213 wine_fn_config_dll winex11.drv enable_winex11_drv
17214 wine_fn_config_dll wing.dll16 enable_win16
17215 wine_fn_config_dll wing32 enable_wing32
17216 wine_fn_config_dll winhttp enable_winhttp clean,implib
17217 wine_fn_config_test dlls/winhttp/tests winhttp_test
17218 wine_fn_config_dll wininet enable_wininet implib,po
17219 wine_fn_config_test dlls/wininet/tests wininet_test
17220 wine_fn_config_dll winmm enable_winmm implib,po
17221 wine_fn_config_test dlls/winmm/tests winmm_test
17222 wine_fn_config_dll winnls.dll16 enable_win16
17223 wine_fn_config_dll winnls32 enable_winnls32 implib
17224 wine_fn_config_dll winscard enable_winscard implib
17225 wine_fn_config_dll winsock.dll16 enable_win16
17226 wine_fn_config_dll winspool.drv enable_winspool_drv implib,po winspool
17227 wine_fn_config_test dlls/winspool.drv/tests winspool.drv_test
17228 wine_fn_config_dll winsta enable_winsta
17229 wine_fn_config_dll wintab.dll16 enable_win16
17230 wine_fn_config_dll wintab32 enable_wintab32 implib
17231 wine_fn_config_test dlls/wintab32/tests wintab32_test
17232 wine_fn_config_dll wintrust enable_wintrust implib
17233 wine_fn_config_test dlls/wintrust/tests wintrust_test
17234 wine_fn_config_dll wlanapi enable_wlanapi
17235 wine_fn_config_dll wldap32 enable_wldap32 implib,po
17236 wine_fn_config_test dlls/wldap32/tests wldap32_test
17237 wine_fn_config_dll wmi enable_wmi
17238 wine_fn_config_dll wmiutils enable_wmiutils clean
17239 wine_fn_config_test dlls/wmiutils/tests wmiutils_test
17240 wine_fn_config_dll wmp enable_wmp clean
17241 wine_fn_config_test dlls/wmp/tests wmp_test
17242 wine_fn_config_dll wmvcore enable_wmvcore
17243 wine_fn_config_dll wnaspi32 enable_wnaspi32 implib
17244 wine_fn_config_dll wow32 enable_win16 implib
17245 wine_fn_config_dll ws2_32 enable_ws2_32 implib
17246 wine_fn_config_test dlls/ws2_32/tests ws2_32_test
17247 wine_fn_config_dll wshom.ocx enable_wshom_ocx clean
17248 wine_fn_config_test dlls/wshom.ocx/tests wshom.ocx_test clean
17249 wine_fn_config_dll wsnmp32 enable_wsnmp32 implib
17250 wine_fn_config_test dlls/wsnmp32/tests wsnmp32_test
17251 wine_fn_config_dll wsock32 enable_wsock32 implib
17252 wine_fn_config_dll wtsapi32 enable_wtsapi32 implib
17253 wine_fn_config_dll wuapi enable_wuapi clean
17254 wine_fn_config_dll wuaueng enable_wuaueng
17255 wine_fn_config_dll xapofx1_1 enable_xapofx1_1
17256 wine_fn_config_dll xinput1_1 enable_xinput1_1
17257 wine_fn_config_dll xinput1_2 enable_xinput1_2
17258 wine_fn_config_dll xinput1_3 enable_xinput1_3 implib xinput
17259 wine_fn_config_test dlls/xinput1_3/tests xinput1_3_test
17260 wine_fn_config_dll xinput1_4 enable_xinput1_4
17261 wine_fn_config_dll xinput9_1_0 enable_xinput9_1_0
17262 wine_fn_config_dll xmllite enable_xmllite
17263 wine_fn_config_test dlls/xmllite/tests xmllite_test
17264 wine_fn_config_dll xolehlp enable_xolehlp
17265 wine_fn_config_dll xpsprint enable_xpsprint
17266 wine_fn_config_dll xpssvcs enable_xpssvcs
17267 wine_fn_config_makefile documentation enable_documentation clean
17268 wine_fn_config_makefile fonts enable_fonts clean,install-lib
17269 wine_fn_config_makefile include enable_include clean,install-dev
17270 wine_fn_config_makefile libs/port enable_libs_port
17271 wine_fn_config_makefile libs/wine enable_libs_wine clean,install-dev,install-lib
17272 wine_fn_config_makefile libs/wpp enable_libs_wpp
17273 wine_fn_config_makefile loader enable_loader clean,install-lib,manpage
17274 wine_fn_config_program arp enable_arp install
17275 wine_fn_config_program aspnet_regiis enable_aspnet_regiis install
17276 wine_fn_config_program attrib enable_attrib install,po
17277 wine_fn_config_program cabarc enable_cabarc install
17278 wine_fn_config_program cacls enable_cacls install
17279 wine_fn_config_program clock enable_clock install,po
17280 wine_fn_config_program cmd enable_cmd install,po
17281 wine_fn_config_test programs/cmd/tests cmd.exe_test
17282 wine_fn_config_program conhost enable_conhost install
17283 wine_fn_config_program control enable_control install
17284 wine_fn_config_program cscript enable_cscript install
17285 wine_fn_config_program dxdiag enable_dxdiag install,po
17286 wine_fn_config_program eject enable_eject install
17287 wine_fn_config_program expand enable_expand install
17288 wine_fn_config_program explorer enable_explorer install,po
17289 wine_fn_config_program extrac32 enable_extrac32 install
17290 wine_fn_config_program findstr enable_findstr install
17291 wine_fn_config_program hh enable_hh install
17292 wine_fn_config_program hostname enable_hostname install,po
17293 wine_fn_config_program icinfo enable_icinfo install
17294 wine_fn_config_program iexplore enable_iexplore install
17295 wine_fn_config_program ipconfig enable_ipconfig install,po
17296 wine_fn_config_program lodctr enable_lodctr install
17297 wine_fn_config_program mofcomp enable_mofcomp install
17298 wine_fn_config_program mshta enable_mshta install
17299 wine_fn_config_program msiexec enable_msiexec install,installbin,manpage
17300 wine_fn_config_program net enable_net install,po
17301 wine_fn_config_program netsh enable_netsh install
17302 wine_fn_config_program netstat enable_netstat install,po
17303 wine_fn_config_program ngen enable_ngen install
17304 wine_fn_config_program notepad enable_notepad install,installbin,manpage,po
17305 wine_fn_config_program oleview enable_oleview install,po
17306 wine_fn_config_program ping enable_ping install
17307 wine_fn_config_program plugplay enable_plugplay install
17308 wine_fn_config_program presentationfontcache enable_presentationfontcache install
17309 wine_fn_config_program progman enable_progman install,po
17310 wine_fn_config_program reg enable_reg install,po
17311 wine_fn_config_program regasm enable_regasm install
17312 wine_fn_config_program regedit enable_regedit install,installbin,manpage,po
17313 wine_fn_config_test programs/regedit/tests regedit.exe_test
17314 wine_fn_config_program regsvcs enable_regsvcs install
17315 wine_fn_config_program regsvr32 enable_regsvr32 install,installbin,manpage
17316 wine_fn_config_program rpcss enable_rpcss clean,install
17317 wine_fn_config_program rundll.exe16 enable_win16 install
17318 wine_fn_config_program rundll32 enable_rundll32 install
17319 wine_fn_config_program sc enable_sc install
17320 wine_fn_config_program schtasks enable_schtasks install
17321 wine_fn_config_program secedit enable_secedit install
17322 wine_fn_config_program servicemodelreg enable_servicemodelreg install
17323 wine_fn_config_program services enable_services clean,install
17324 wine_fn_config_test programs/services/tests services.exe_test
17325 wine_fn_config_program spoolsv enable_spoolsv install
17326 wine_fn_config_program start enable_start install,po
17327 wine_fn_config_program svchost enable_svchost install
17328 wine_fn_config_program taskkill enable_taskkill install,po
17329 wine_fn_config_program tasklist enable_tasklist install
17330 wine_fn_config_program taskmgr enable_taskmgr install,po
17331 wine_fn_config_program termsv enable_termsv install
17332 wine_fn_config_program uninstaller enable_uninstaller install,po
17333 wine_fn_config_program unlodctr enable_unlodctr install
17334 wine_fn_config_program view enable_view install,po
17335 wine_fn_config_program wineboot enable_wineboot install,installbin,manpage,po
17336 wine_fn_config_program winebrowser enable_winebrowser install
17337 wine_fn_config_program winecfg enable_winecfg install,installbin,manpage,po
17338 wine_fn_config_program wineconsole enable_wineconsole install,installbin,manpage,po
17339 wine_fn_config_program winedbg enable_winedbg install,installbin,manpage,po
17340 wine_fn_config_program winedevice enable_winedevice install
17341 wine_fn_config_program winefile enable_winefile install,installbin,manpage,po
17342 wine_fn_config_program winemenubuilder enable_winemenubuilder install
17343 wine_fn_config_program winemine enable_winemine install,installbin,manpage,po
17344 wine_fn_config_program winemsibuilder enable_winemsibuilder install
17345 wine_fn_config_program winepath enable_winepath install,installbin,manpage
17346 wine_fn_config_program winetest enable_winetest clean
17347 wine_fn_config_program winevdm enable_win16 install
17348 wine_fn_config_program winhelp.exe16 enable_win16 install
17349 wine_fn_config_program winhlp32 enable_winhlp32 install,po
17350 wine_fn_config_program winoldap.mod16 enable_win16 install
17351 wine_fn_config_program winver enable_winver install
17352 wine_fn_config_program wmic enable_wmic install,po
17353 wine_fn_config_program wordpad enable_wordpad install,po
17354 wine_fn_config_program write enable_write install,po
17355 wine_fn_config_program wscript enable_wscript clean,install
17356 wine_fn_config_test programs/wscript/tests wscript.exe_test
17357 wine_fn_config_program wusa enable_wusa install
17358 wine_fn_config_program xcopy enable_xcopy install,po
17359 wine_fn_config_test programs/xcopy/tests xcopy.exe_test
17360 wine_fn_config_makefile server enable_server clean,install-lib,manpage
17361 wine_fn_config_tool tools clean,install-dev,install-lib,manpage
17362 wine_fn_config_tool tools/sfnt2fon clean
17363 wine_fn_config_tool tools/widl clean,install-dev,manpage
17364 wine_fn_config_tool tools/winebuild clean,install-dev,manpage
17365 wine_fn_config_tool tools/winedump clean,install-dev,manpage
17366 wine_fn_config_tool tools/winegcc clean,install-dev,manpage
17367 wine_fn_config_tool tools/wmc clean,install-dev,manpage
17368 wine_fn_config_tool tools/wrc clean,install-dev,manpage
17370 LINGUAS="\
17371 ar \
17372 bg \
17373 ca \
17374 cs \
17375 da \
17376 de \
17377 el \
17378 en \
17379 en_US \
17380 eo \
17381 es \
17382 fa \
17383 fi \
17384 fr \
17385 he \
17386 hi \
17387 hr \
17388 hu \
17389 it \
17390 ja \
17391 ko \
17392 lt \
17393 ml \
17394 nb_NO \
17395 nl \
17396 or \
17397 pa \
17398 pl \
17399 pt_BR \
17400 pt_PT \
17401 rm \
17402 ro \
17403 ru \
17404 sk \
17405 sl \
17406 sr_RS@cyrillic \
17407 sr_RS@latin \
17408 sv \
17409 te \
17410 th \
17411 tr \
17412 uk \
17413 wa \
17414 zh_CN \
17415 zh_TW"
17420 wine_fn_ignore_file ".gitignore"
17421 wine_fn_ignore_file "Makefile"
17422 wine_fn_ignore_file "TAGS"
17423 wine_fn_ignore_file "tags"
17424 wine_fn_ignore_file "autom4te.cache"
17425 wine_fn_ignore_file "config.cache"
17426 wine_fn_ignore_file "config.log"
17427 wine_fn_ignore_file "config.status"
17428 wine_fn_ignore_file "configure.lineno"
17429 wine_fn_ignore_file "include/config.h"
17430 wine_fn_ignore_file "include/stamp-h"
17431 test "$wine_binary" = wine || wine_fn_ignore_file "loader/wine"
17433 if test "x$enable_tools" != xno
17434 then
17435 wine_fn_ignore_file "tools/makedep$ac_exeext"
17436 ac_config_commands="$ac_config_commands tools/makedep"
17440 ac_config_commands="$ac_config_commands Makefile"
17443 ac_config_files="$ac_config_files Make.tmp:Make.vars.in:Makefile.in"
17447 if test "x$enable_maintainer_mode" = xyes
17448 then
17449 wine_fn_append_rule "configure: configure.ac aclocal.m4
17450 autoconf --warnings=all
17451 include/config.h.in: include/stamp-h.in
17452 include/stamp-h.in: configure.ac aclocal.m4
17453 autoheader --warnings=all
17454 @echo timestamp > \$@"
17457 if test "x$with_gettextpo" = xyes
17458 then
17459 test "$srcdir" = . || as_fn_error $? "Rebuilding po files is not supported for out of tree builds." "$LINENO" 5
17460 wine_fn_append_rule "ALL_POT_FILES =$ALL_POT_FILES
17461 \$(LINGUAS:%=po/%.po): po/wine.pot
17462 msgmerge --previous -q \$@ po/wine.pot | msgattrib --no-obsolete -o \$@.new && mv \$@.new \$@
17463 po/wine.pot: \$(ALL_POT_FILES)
17464 msgcat -o \$@ \$(ALL_POT_FILES)"
17467 if test "$MSGFMT" != false
17468 then
17469 wine_fn_append_rule "__builddeps__: \$(LINGUAS:%=po/%.mo)
17470 clean::
17471 \$(RM) \$(LINGUAS:%=po/%.mo)"
17473 posrc="po"
17474 test "$srcdir" = . || posrc="$srcdir/po"
17475 for i in $LINGUAS
17477 wine_fn_ignore_file "po/$i.mo"
17478 wine_fn_append_rule "po/$i.mo: $posrc/$i.po
17479 \$(MSGFMT) -o \$@ $posrc/$i.po"
17480 done
17481 else
17482 LINGUAS=
17485 if test "x$enable_tools" != xno
17486 then
17487 wine_fn_append_rule "tools/makedep$ac_exeext: $srcdir/tools/makedep.c include/config.h config.status
17488 @./config.status tools/makedep
17489 Makefile: tools/makedep$ac_exeext
17490 distclean:: clean
17491 \$(RM) tools/makedep$ac_exeext"
17492 else
17493 wine_fn_append_rule "\$(MAKEDEP):
17494 @echo \"You need to run make in $TOOLSDIR first\" && false"
17497 if test -n "$with_wine64"
17498 then
17499 wine_fn_append_rule "all: fonts server tools $with_wine64/loader/wine $with_wine64/loader/wine-preloader
17500 fonts server tools:
17501 \$(RM) \$@ && \$(LN_S) $with_wine64/\$@ \$@
17502 $with_wine64/loader/wine:
17503 \$(RM) \$@ && \$(LN_S) $ac_pwd/loader/wine \$@
17504 $with_wine64/loader/wine-preloader:
17505 \$(RM) \$@ && \$(LN_S) $ac_pwd/loader/wine-preloader \$@
17506 clean::
17507 \$(RM) fonts server tools $with_wine64/loader/wine $with_wine64/loader/wine-preloader"
17508 else
17509 as_fn_append LOADER_RULES "
17510 all: wine.inf
17512 install install-lib:: wine.inf install-man-pages
17513 \$(INSTALL_DATA) wine.inf \$(DESTDIR)\$(datadir)/wine/wine.inf
17514 \$(INSTALL_DATA) \$(srcdir)/l_intl.nls \$(DESTDIR)\$(datadir)/wine/l_intl.nls
17516 uninstall::
17517 \$(RM) \$(DESTDIR)\$(datadir)/wine/wine.inf \$(DESTDIR)\$(datadir)/wine/l_intl.nls
17521 if test "$srcdir" = .
17522 then
17523 ac_config_commands="$ac_config_commands .gitignore"
17527 $as_echo " done" >&6
17528 cat >confcache <<\_ACEOF
17529 # This file is a shell script that caches the results of configure
17530 # tests run on this system so they can be shared between configure
17531 # scripts and configure runs, see configure's option --config-cache.
17532 # It is not useful on other systems. If it contains results you don't
17533 # want to keep, you may remove or edit it.
17535 # config.status only pays attention to the cache file if you give it
17536 # the --recheck option to rerun configure.
17538 # `ac_cv_env_foo' variables (set or unset) will be overridden when
17539 # loading this file, other *unset* `ac_cv_foo' will be assigned the
17540 # following values.
17542 _ACEOF
17544 # The following way of writing the cache mishandles newlines in values,
17545 # but we know of no workaround that is simple, portable, and efficient.
17546 # So, we kill variables containing newlines.
17547 # Ultrix sh set writes to stderr and can't be redirected directly,
17548 # and sets the high bit in the cache file unless we assign to the vars.
17550 for ac_var in `(set) 2>&1 | sed -n 's/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'`; do
17551 eval ac_val=\$$ac_var
17552 case $ac_val in #(
17553 *${as_nl}*)
17554 case $ac_var in #(
17555 *_cv_*) { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: cache variable $ac_var contains a newline" >&5
17556 $as_echo "$as_me: WARNING: cache variable $ac_var contains a newline" >&2;} ;;
17557 esac
17558 case $ac_var in #(
17559 _ | IFS | as_nl) ;; #(
17560 BASH_ARGV | BASH_SOURCE) eval $ac_var= ;; #(
17561 *) { eval $ac_var=; unset $ac_var;} ;;
17562 esac ;;
17563 esac
17564 done
17566 (set) 2>&1 |
17567 case $as_nl`(ac_space=' '; set) 2>&1` in #(
17568 *${as_nl}ac_space=\ *)
17569 # `set' does not quote correctly, so add quotes: double-quote
17570 # substitution turns \\\\ into \\, and sed turns \\ into \.
17571 sed -n \
17572 "s/'/'\\\\''/g;
17573 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\\2'/p"
17574 ;; #(
17576 # `set' quotes correctly as required by POSIX, so do not add quotes.
17577 sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
17579 esac |
17580 sort
17582 sed '
17583 /^ac_cv_env_/b end
17584 t clear
17585 :clear
17586 s/^\([^=]*\)=\(.*[{}].*\)$/test "${\1+set}" = set || &/
17587 t end
17588 s/^\([^=]*\)=\(.*\)$/\1=${\1=\2}/
17589 :end' >>confcache
17590 if diff "$cache_file" confcache >/dev/null 2>&1; then :; else
17591 if test -w "$cache_file"; then
17592 if test "x$cache_file" != "x/dev/null"; then
17593 { $as_echo "$as_me:${as_lineno-$LINENO}: updating cache $cache_file" >&5
17594 $as_echo "$as_me: updating cache $cache_file" >&6;}
17595 if test ! -f "$cache_file" || test -h "$cache_file"; then
17596 cat confcache >"$cache_file"
17597 else
17598 case $cache_file in #(
17599 */* | ?:*)
17600 mv -f confcache "$cache_file"$$ &&
17601 mv -f "$cache_file"$$ "$cache_file" ;; #(
17603 mv -f confcache "$cache_file" ;;
17604 esac
17607 else
17608 { $as_echo "$as_me:${as_lineno-$LINENO}: not updating unwritable cache $cache_file" >&5
17609 $as_echo "$as_me: not updating unwritable cache $cache_file" >&6;}
17612 rm -f confcache
17614 test "x$prefix" = xNONE && prefix=$ac_default_prefix
17615 # Let make expand exec_prefix.
17616 test "x$exec_prefix" = xNONE && exec_prefix='${prefix}'
17618 DEFS=-DHAVE_CONFIG_H
17620 ac_libobjs=
17621 ac_ltlibobjs=
17623 for ac_i in : $LIBOBJS; do test "x$ac_i" = x: && continue
17624 # 1. Remove the extension, and $U if already installed.
17625 ac_script='s/\$U\././;s/\.o$//;s/\.obj$//'
17626 ac_i=`$as_echo "$ac_i" | sed "$ac_script"`
17627 # 2. Prepend LIBOBJDIR. When used with automake>=1.10 LIBOBJDIR
17628 # will be set to the directory where LIBOBJS objects are built.
17629 as_fn_append ac_libobjs " \${LIBOBJDIR}$ac_i\$U.$ac_objext"
17630 as_fn_append ac_ltlibobjs " \${LIBOBJDIR}$ac_i"'$U.lo'
17631 done
17632 LIBOBJS=$ac_libobjs
17634 LTLIBOBJS=$ac_ltlibobjs
17638 : "${CONFIG_STATUS=./config.status}"
17639 ac_write_fail=0
17640 ac_clean_files_save=$ac_clean_files
17641 ac_clean_files="$ac_clean_files $CONFIG_STATUS"
17642 { $as_echo "$as_me:${as_lineno-$LINENO}: creating $CONFIG_STATUS" >&5
17643 $as_echo "$as_me: creating $CONFIG_STATUS" >&6;}
17644 as_write_fail=0
17645 cat >$CONFIG_STATUS <<_ASEOF || as_write_fail=1
17646 #! $SHELL
17647 # Generated by $as_me.
17648 # Run this file to recreate the current configuration.
17649 # Compiler output produced by configure, useful for debugging
17650 # configure, is in config.log if it exists.
17652 debug=false
17653 ac_cs_recheck=false
17654 ac_cs_silent=false
17656 SHELL=\${CONFIG_SHELL-$SHELL}
17657 export SHELL
17658 _ASEOF
17659 cat >>$CONFIG_STATUS <<\_ASEOF || as_write_fail=1
17660 ## -------------------- ##
17661 ## M4sh Initialization. ##
17662 ## -------------------- ##
17664 # Be more Bourne compatible
17665 DUALCASE=1; export DUALCASE # for MKS sh
17666 if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then :
17667 emulate sh
17668 NULLCMD=:
17669 # Pre-4.2 versions of Zsh do word splitting on ${1+"$@"}, which
17670 # is contrary to our usage. Disable this feature.
17671 alias -g '${1+"$@"}'='"$@"'
17672 setopt NO_GLOB_SUBST
17673 else
17674 case `(set -o) 2>/dev/null` in #(
17675 *posix*) :
17676 set -o posix ;; #(
17677 *) :
17679 esac
17683 as_nl='
17685 export as_nl
17686 # Printing a long string crashes Solaris 7 /usr/bin/printf.
17687 as_echo='\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\'
17688 as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo
17689 as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo$as_echo
17690 # Prefer a ksh shell builtin over an external printf program on Solaris,
17691 # but without wasting forks for bash or zsh.
17692 if test -z "$BASH_VERSION$ZSH_VERSION" \
17693 && (test "X`print -r -- $as_echo`" = "X$as_echo") 2>/dev/null; then
17694 as_echo='print -r --'
17695 as_echo_n='print -rn --'
17696 elif (test "X`printf %s $as_echo`" = "X$as_echo") 2>/dev/null; then
17697 as_echo='printf %s\n'
17698 as_echo_n='printf %s'
17699 else
17700 if test "X`(/usr/ucb/echo -n -n $as_echo) 2>/dev/null`" = "X-n $as_echo"; then
17701 as_echo_body='eval /usr/ucb/echo -n "$1$as_nl"'
17702 as_echo_n='/usr/ucb/echo -n'
17703 else
17704 as_echo_body='eval expr "X$1" : "X\\(.*\\)"'
17705 as_echo_n_body='eval
17706 arg=$1;
17707 case $arg in #(
17708 *"$as_nl"*)
17709 expr "X$arg" : "X\\(.*\\)$as_nl";
17710 arg=`expr "X$arg" : ".*$as_nl\\(.*\\)"`;;
17711 esac;
17712 expr "X$arg" : "X\\(.*\\)" | tr -d "$as_nl"
17714 export as_echo_n_body
17715 as_echo_n='sh -c $as_echo_n_body as_echo'
17717 export as_echo_body
17718 as_echo='sh -c $as_echo_body as_echo'
17721 # The user is always right.
17722 if test "${PATH_SEPARATOR+set}" != set; then
17723 PATH_SEPARATOR=:
17724 (PATH='/bin;/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 && {
17725 (PATH='/bin:/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 ||
17726 PATH_SEPARATOR=';'
17731 # IFS
17732 # We need space, tab and new line, in precisely that order. Quoting is
17733 # there to prevent editors from complaining about space-tab.
17734 # (If _AS_PATH_WALK were called with IFS unset, it would disable word
17735 # splitting by setting IFS to empty value.)
17736 IFS=" "" $as_nl"
17738 # Find who we are. Look in the path if we contain no directory separator.
17739 as_myself=
17740 case $0 in #((
17741 *[\\/]* ) as_myself=$0 ;;
17742 *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
17743 for as_dir in $PATH
17745 IFS=$as_save_IFS
17746 test -z "$as_dir" && as_dir=.
17747 test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break
17748 done
17749 IFS=$as_save_IFS
17752 esac
17753 # We did not find ourselves, most probably we were run as `sh COMMAND'
17754 # in which case we are not to be found in the path.
17755 if test "x$as_myself" = x; then
17756 as_myself=$0
17758 if test ! -f "$as_myself"; then
17759 $as_echo "$as_myself: error: cannot find myself; rerun with an absolute file name" >&2
17760 exit 1
17763 # Unset variables that we do not need and which cause bugs (e.g. in
17764 # pre-3.0 UWIN ksh). But do not cause bugs in bash 2.01; the "|| exit 1"
17765 # suppresses any "Segmentation fault" message there. '((' could
17766 # trigger a bug in pdksh 5.2.14.
17767 for as_var in BASH_ENV ENV MAIL MAILPATH
17768 do eval test x\${$as_var+set} = xset \
17769 && ( (unset $as_var) || exit 1) >/dev/null 2>&1 && unset $as_var || :
17770 done
17771 PS1='$ '
17772 PS2='> '
17773 PS4='+ '
17775 # NLS nuisances.
17776 LC_ALL=C
17777 export LC_ALL
17778 LANGUAGE=C
17779 export LANGUAGE
17781 # CDPATH.
17782 (unset CDPATH) >/dev/null 2>&1 && unset CDPATH
17785 # as_fn_error STATUS ERROR [LINENO LOG_FD]
17786 # ----------------------------------------
17787 # Output "`basename $0`: error: ERROR" to stderr. If LINENO and LOG_FD are
17788 # provided, also output the error to LOG_FD, referencing LINENO. Then exit the
17789 # script with STATUS, using 1 if that was 0.
17790 as_fn_error ()
17792 as_status=$1; test $as_status -eq 0 && as_status=1
17793 if test "$4"; then
17794 as_lineno=${as_lineno-"$3"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
17795 $as_echo "$as_me:${as_lineno-$LINENO}: error: $2" >&$4
17797 $as_echo "$as_me: error: $2" >&2
17798 as_fn_exit $as_status
17799 } # as_fn_error
17802 # as_fn_set_status STATUS
17803 # -----------------------
17804 # Set $? to STATUS, without forking.
17805 as_fn_set_status ()
17807 return $1
17808 } # as_fn_set_status
17810 # as_fn_exit STATUS
17811 # -----------------
17812 # Exit the shell with STATUS, even in a "trap 0" or "set -e" context.
17813 as_fn_exit ()
17815 set +e
17816 as_fn_set_status $1
17817 exit $1
17818 } # as_fn_exit
17820 # as_fn_unset VAR
17821 # ---------------
17822 # Portably unset VAR.
17823 as_fn_unset ()
17825 { eval $1=; unset $1;}
17827 as_unset=as_fn_unset
17828 # as_fn_append VAR VALUE
17829 # ----------------------
17830 # Append the text in VALUE to the end of the definition contained in VAR. Take
17831 # advantage of any shell optimizations that allow amortized linear growth over
17832 # repeated appends, instead of the typical quadratic growth present in naive
17833 # implementations.
17834 if (eval "as_var=1; as_var+=2; test x\$as_var = x12") 2>/dev/null; then :
17835 eval 'as_fn_append ()
17837 eval $1+=\$2
17839 else
17840 as_fn_append ()
17842 eval $1=\$$1\$2
17844 fi # as_fn_append
17846 # as_fn_arith ARG...
17847 # ------------------
17848 # Perform arithmetic evaluation on the ARGs, and store the result in the
17849 # global $as_val. Take advantage of shells that can avoid forks. The arguments
17850 # must be portable across $(()) and expr.
17851 if (eval "test \$(( 1 + 1 )) = 2") 2>/dev/null; then :
17852 eval 'as_fn_arith ()
17854 as_val=$(( $* ))
17856 else
17857 as_fn_arith ()
17859 as_val=`expr "$@" || test $? -eq 1`
17861 fi # as_fn_arith
17864 if expr a : '\(a\)' >/dev/null 2>&1 &&
17865 test "X`expr 00001 : '.*\(...\)'`" = X001; then
17866 as_expr=expr
17867 else
17868 as_expr=false
17871 if (basename -- /) >/dev/null 2>&1 && test "X`basename -- / 2>&1`" = "X/"; then
17872 as_basename=basename
17873 else
17874 as_basename=false
17877 if (as_dir=`dirname -- /` && test "X$as_dir" = X/) >/dev/null 2>&1; then
17878 as_dirname=dirname
17879 else
17880 as_dirname=false
17883 as_me=`$as_basename -- "$0" ||
17884 $as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
17885 X"$0" : 'X\(//\)$' \| \
17886 X"$0" : 'X\(/\)' \| . 2>/dev/null ||
17887 $as_echo X/"$0" |
17888 sed '/^.*\/\([^/][^/]*\)\/*$/{
17889 s//\1/
17892 /^X\/\(\/\/\)$/{
17893 s//\1/
17896 /^X\/\(\/\).*/{
17897 s//\1/
17900 s/.*/./; q'`
17902 # Avoid depending upon Character Ranges.
17903 as_cr_letters='abcdefghijklmnopqrstuvwxyz'
17904 as_cr_LETTERS='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
17905 as_cr_Letters=$as_cr_letters$as_cr_LETTERS
17906 as_cr_digits='0123456789'
17907 as_cr_alnum=$as_cr_Letters$as_cr_digits
17909 ECHO_C= ECHO_N= ECHO_T=
17910 case `echo -n x` in #(((((
17911 -n*)
17912 case `echo 'xy\c'` in
17913 *c*) ECHO_T=' ';; # ECHO_T is single tab character.
17914 xy) ECHO_C='\c';;
17915 *) echo `echo ksh88 bug on AIX 6.1` > /dev/null
17916 ECHO_T=' ';;
17917 esac;;
17919 ECHO_N='-n';;
17920 esac
17922 rm -f conf$$ conf$$.exe conf$$.file
17923 if test -d conf$$.dir; then
17924 rm -f conf$$.dir/conf$$.file
17925 else
17926 rm -f conf$$.dir
17927 mkdir conf$$.dir 2>/dev/null
17929 if (echo >conf$$.file) 2>/dev/null; then
17930 if ln -s conf$$.file conf$$ 2>/dev/null; then
17931 as_ln_s='ln -s'
17932 # ... but there are two gotchas:
17933 # 1) On MSYS, both `ln -s file dir' and `ln file dir' fail.
17934 # 2) DJGPP < 2.04 has no symlinks; `ln -s' creates a wrapper executable.
17935 # In both cases, we have to default to `cp -pR'.
17936 ln -s conf$$.file conf$$.dir 2>/dev/null && test ! -f conf$$.exe ||
17937 as_ln_s='cp -pR'
17938 elif ln conf$$.file conf$$ 2>/dev/null; then
17939 as_ln_s=ln
17940 else
17941 as_ln_s='cp -pR'
17943 else
17944 as_ln_s='cp -pR'
17946 rm -f conf$$ conf$$.exe conf$$.dir/conf$$.file conf$$.file
17947 rmdir conf$$.dir 2>/dev/null
17950 # as_fn_mkdir_p
17951 # -------------
17952 # Create "$as_dir" as a directory, including parents if necessary.
17953 as_fn_mkdir_p ()
17956 case $as_dir in #(
17957 -*) as_dir=./$as_dir;;
17958 esac
17959 test -d "$as_dir" || eval $as_mkdir_p || {
17960 as_dirs=
17961 while :; do
17962 case $as_dir in #(
17963 *\'*) as_qdir=`$as_echo "$as_dir" | sed "s/'/'\\\\\\\\''/g"`;; #'(
17964 *) as_qdir=$as_dir;;
17965 esac
17966 as_dirs="'$as_qdir' $as_dirs"
17967 as_dir=`$as_dirname -- "$as_dir" ||
17968 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
17969 X"$as_dir" : 'X\(//\)[^/]' \| \
17970 X"$as_dir" : 'X\(//\)$' \| \
17971 X"$as_dir" : 'X\(/\)' \| . 2>/dev/null ||
17972 $as_echo X"$as_dir" |
17973 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
17974 s//\1/
17977 /^X\(\/\/\)[^/].*/{
17978 s//\1/
17981 /^X\(\/\/\)$/{
17982 s//\1/
17985 /^X\(\/\).*/{
17986 s//\1/
17989 s/.*/./; q'`
17990 test -d "$as_dir" && break
17991 done
17992 test -z "$as_dirs" || eval "mkdir $as_dirs"
17993 } || test -d "$as_dir" || as_fn_error $? "cannot create directory $as_dir"
17996 } # as_fn_mkdir_p
17997 if mkdir -p . 2>/dev/null; then
17998 as_mkdir_p='mkdir -p "$as_dir"'
17999 else
18000 test -d ./-p && rmdir ./-p
18001 as_mkdir_p=false
18005 # as_fn_executable_p FILE
18006 # -----------------------
18007 # Test if FILE is an executable regular file.
18008 as_fn_executable_p ()
18010 test -f "$1" && test -x "$1"
18011 } # as_fn_executable_p
18012 as_test_x='test -x'
18013 as_executable_p=as_fn_executable_p
18015 # Sed expression to map a string onto a valid CPP name.
18016 as_tr_cpp="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'"
18018 # Sed expression to map a string onto a valid variable name.
18019 as_tr_sh="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'"
18022 exec 6>&1
18023 ## ----------------------------------- ##
18024 ## Main body of $CONFIG_STATUS script. ##
18025 ## ----------------------------------- ##
18026 _ASEOF
18027 test $as_write_fail = 0 && chmod +x $CONFIG_STATUS || ac_write_fail=1
18029 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
18030 # Save the log message, to keep $0 and so on meaningful, and to
18031 # report actual input values of CONFIG_FILES etc. instead of their
18032 # values after options handling.
18033 ac_log="
18034 This file was extended by Wine $as_me 1.7.12, which was
18035 generated by GNU Autoconf 2.69. Invocation command line was
18037 CONFIG_FILES = $CONFIG_FILES
18038 CONFIG_HEADERS = $CONFIG_HEADERS
18039 CONFIG_LINKS = $CONFIG_LINKS
18040 CONFIG_COMMANDS = $CONFIG_COMMANDS
18041 $ $0 $@
18043 on `(hostname || uname -n) 2>/dev/null | sed 1q`
18046 _ACEOF
18048 case $ac_config_files in *"
18049 "*) set x $ac_config_files; shift; ac_config_files=$*;;
18050 esac
18052 case $ac_config_headers in *"
18053 "*) set x $ac_config_headers; shift; ac_config_headers=$*;;
18054 esac
18057 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
18058 # Files that config.status was made for.
18059 config_files="$ac_config_files"
18060 config_headers="$ac_config_headers"
18061 config_links="$ac_config_links"
18062 config_commands="$ac_config_commands"
18064 _ACEOF
18066 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
18067 ac_cs_usage="\
18068 \`$as_me' instantiates files and other configuration actions
18069 from templates according to the current configuration. Unless the files
18070 and actions are specified as TAGs, all are instantiated by default.
18072 Usage: $0 [OPTION]... [TAG]...
18074 -h, --help print this help, then exit
18075 -V, --version print version number and configuration settings, then exit
18076 --config print configuration, then exit
18077 -q, --quiet, --silent
18078 do not print progress messages
18079 -d, --debug don't remove temporary files
18080 --recheck update $as_me by reconfiguring in the same conditions
18081 --file=FILE[:TEMPLATE]
18082 instantiate the configuration file FILE
18083 --header=FILE[:TEMPLATE]
18084 instantiate the configuration header FILE
18086 Configuration files:
18087 $config_files
18089 Configuration headers:
18090 $config_headers
18092 Configuration links:
18093 $config_links
18095 Configuration commands:
18096 $config_commands
18098 Report bugs to <wine-devel@winehq.org>.
18099 Wine home page: <http://www.winehq.org>."
18101 _ACEOF
18102 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
18103 ac_cs_config="`$as_echo "$ac_configure_args" | sed 's/^ //; s/[\\""\`\$]/\\\\&/g'`"
18104 ac_cs_version="\\
18105 Wine config.status 1.7.12
18106 configured by $0, generated by GNU Autoconf 2.69,
18107 with options \\"\$ac_cs_config\\"
18109 Copyright (C) 2012 Free Software Foundation, Inc.
18110 This config.status script is free software; the Free Software Foundation
18111 gives unlimited permission to copy, distribute and modify it."
18113 ac_pwd='$ac_pwd'
18114 srcdir='$srcdir'
18115 test -n "\$AWK" || AWK=awk
18116 _ACEOF
18118 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
18119 # The default lists apply if the user does not specify any file.
18120 ac_need_defaults=:
18121 while test $# != 0
18123 case $1 in
18124 --*=?*)
18125 ac_option=`expr "X$1" : 'X\([^=]*\)='`
18126 ac_optarg=`expr "X$1" : 'X[^=]*=\(.*\)'`
18127 ac_shift=:
18129 --*=)
18130 ac_option=`expr "X$1" : 'X\([^=]*\)='`
18131 ac_optarg=
18132 ac_shift=:
18135 ac_option=$1
18136 ac_optarg=$2
18137 ac_shift=shift
18139 esac
18141 case $ac_option in
18142 # Handling of the options.
18143 -recheck | --recheck | --rechec | --reche | --rech | --rec | --re | --r)
18144 ac_cs_recheck=: ;;
18145 --version | --versio | --versi | --vers | --ver | --ve | --v | -V )
18146 $as_echo "$ac_cs_version"; exit ;;
18147 --config | --confi | --conf | --con | --co | --c )
18148 $as_echo "$ac_cs_config"; exit ;;
18149 --debug | --debu | --deb | --de | --d | -d )
18150 debug=: ;;
18151 --file | --fil | --fi | --f )
18152 $ac_shift
18153 case $ac_optarg in
18154 *\'*) ac_optarg=`$as_echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"` ;;
18155 '') as_fn_error $? "missing file argument" ;;
18156 esac
18157 as_fn_append CONFIG_FILES " '$ac_optarg'"
18158 ac_need_defaults=false;;
18159 --header | --heade | --head | --hea )
18160 $ac_shift
18161 case $ac_optarg in
18162 *\'*) ac_optarg=`$as_echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"` ;;
18163 esac
18164 as_fn_append CONFIG_HEADERS " '$ac_optarg'"
18165 ac_need_defaults=false;;
18166 --he | --h)
18167 # Conflict between --help and --header
18168 as_fn_error $? "ambiguous option: \`$1'
18169 Try \`$0 --help' for more information.";;
18170 --help | --hel | -h )
18171 $as_echo "$ac_cs_usage"; exit ;;
18172 -q | -quiet | --quiet | --quie | --qui | --qu | --q \
18173 | -silent | --silent | --silen | --sile | --sil | --si | --s)
18174 ac_cs_silent=: ;;
18176 # This is an error.
18177 -*) as_fn_error $? "unrecognized option: \`$1'
18178 Try \`$0 --help' for more information." ;;
18180 *) as_fn_append ac_config_targets " $1"
18181 ac_need_defaults=false ;;
18183 esac
18184 shift
18185 done
18187 ac_configure_extra_args=
18189 if $ac_cs_silent; then
18190 exec 6>/dev/null
18191 ac_configure_extra_args="$ac_configure_extra_args --silent"
18194 _ACEOF
18195 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
18196 if \$ac_cs_recheck; then
18197 set X $SHELL '$0' $ac_configure_args \$ac_configure_extra_args --no-create --no-recursion
18198 shift
18199 \$as_echo "running CONFIG_SHELL=$SHELL \$*" >&6
18200 CONFIG_SHELL='$SHELL'
18201 export CONFIG_SHELL
18202 exec "\$@"
18205 _ACEOF
18206 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
18207 exec 5>>config.log
18209 echo
18210 sed 'h;s/./-/g;s/^.../## /;s/...$/ ##/;p;x;p;x' <<_ASBOX
18211 ## Running $as_me. ##
18212 _ASBOX
18213 $as_echo "$ac_log"
18214 } >&5
18216 _ACEOF
18217 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
18219 # INIT-COMMANDS
18221 wine_fn_output_makedep ()
18223 as_dir=tools; as_fn_mkdir_p
18224 $CC -Iinclude -I$srcdir/include -D__WINESRC__ $EXTRACFLAGS $CPPFLAGS $CFLAGS -o tools/makedep$ac_exeext $srcdir/tools/makedep.c $LDFLAGS
18226 wine_fn_output_makefile ()
18228 cat Make.tmp - <<\_WINE_EOF >\$tmp/makefile && mv -f \$tmp/makefile \$1 && rm -f Make.tmp && return
18229 `cat $wine_rules_file`
18230 _WINE_EOF
18231 as_fn_error $? "could not create Makefile" "$LINENO" 5
18233 wine_fn_output_gitignore ()
18235 sort <<\_WINE_EOF >\$tmp/gitignore && mv -f \$tmp/gitignore \$1 && return
18236 $GITIGNORE
18237 _WINE_EOF
18238 as_fn_error $? "could not create .gitignore" "$LINENO" 5
18241 _ACEOF
18243 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
18245 # Handling of arguments.
18246 for ac_config_target in $ac_config_targets
18248 case $ac_config_target in
18249 "include/config.h") CONFIG_HEADERS="$CONFIG_HEADERS include/config.h" ;;
18250 "include/stamp-h") CONFIG_COMMANDS="$CONFIG_COMMANDS include/stamp-h" ;;
18251 "fonts/marlett.ttf") CONFIG_LINKS="$CONFIG_LINKS fonts/marlett.ttf:fonts/marlett.ttf" ;;
18252 "fonts/symbol.ttf") CONFIG_LINKS="$CONFIG_LINKS fonts/symbol.ttf:fonts/symbol.ttf" ;;
18253 "fonts/tahoma.ttf") CONFIG_LINKS="$CONFIG_LINKS fonts/tahoma.ttf:fonts/tahoma.ttf" ;;
18254 "fonts/tahomabd.ttf") CONFIG_LINKS="$CONFIG_LINKS fonts/tahomabd.ttf:fonts/tahomabd.ttf" ;;
18255 "loader/l_intl.nls") CONFIG_LINKS="$CONFIG_LINKS loader/l_intl.nls:loader/l_intl.nls" ;;
18256 "po/LINGUAS") CONFIG_LINKS="$CONFIG_LINKS po/LINGUAS:po/LINGUAS" ;;
18257 "wine") CONFIG_LINKS="$CONFIG_LINKS wine:tools/winewrapper" ;;
18258 "wine64") CONFIG_LINKS="$CONFIG_LINKS wine64:tools/winewrapper" ;;
18259 "tools/makedep") CONFIG_COMMANDS="$CONFIG_COMMANDS tools/makedep" ;;
18260 "Makefile") CONFIG_COMMANDS="$CONFIG_COMMANDS Makefile" ;;
18261 "Make.tmp") CONFIG_FILES="$CONFIG_FILES Make.tmp:Make.vars.in:Makefile.in" ;;
18262 ".gitignore") CONFIG_COMMANDS="$CONFIG_COMMANDS .gitignore" ;;
18264 *) as_fn_error $? "invalid argument: \`$ac_config_target'" "$LINENO" 5;;
18265 esac
18266 done
18269 # If the user did not use the arguments to specify the items to instantiate,
18270 # then the envvar interface is used. Set only those that are not.
18271 # We use the long form for the default assignment because of an extremely
18272 # bizarre bug on SunOS 4.1.3.
18273 if $ac_need_defaults; then
18274 test "${CONFIG_FILES+set}" = set || CONFIG_FILES=$config_files
18275 test "${CONFIG_HEADERS+set}" = set || CONFIG_HEADERS=$config_headers
18276 test "${CONFIG_LINKS+set}" = set || CONFIG_LINKS=$config_links
18277 test "${CONFIG_COMMANDS+set}" = set || CONFIG_COMMANDS=$config_commands
18280 # Have a temporary directory for convenience. Make it in the build tree
18281 # simply because there is no reason against having it here, and in addition,
18282 # creating and moving files from /tmp can sometimes cause problems.
18283 # Hook for its removal unless debugging.
18284 # Note that there is a small window in which the directory will not be cleaned:
18285 # after its creation but before its name has been assigned to `$tmp'.
18286 $debug ||
18288 tmp= ac_tmp=
18289 trap 'exit_status=$?
18290 : "${ac_tmp:=$tmp}"
18291 { test ! -d "$ac_tmp" || rm -fr "$ac_tmp"; } && exit $exit_status
18293 trap 'as_fn_exit 1' 1 2 13 15
18295 # Create a (secure) tmp directory for tmp files.
18298 tmp=`(umask 077 && mktemp -d "./confXXXXXX") 2>/dev/null` &&
18299 test -d "$tmp"
18300 } ||
18302 tmp=./conf$$-$RANDOM
18303 (umask 077 && mkdir "$tmp")
18304 } || as_fn_error $? "cannot create a temporary directory in ." "$LINENO" 5
18305 ac_tmp=$tmp
18307 # Set up the scripts for CONFIG_FILES section.
18308 # No need to generate them if there are no CONFIG_FILES.
18309 # This happens for instance with `./config.status config.h'.
18310 if test -n "$CONFIG_FILES"; then
18313 ac_cr=`echo X | tr X '\015'`
18314 # On cygwin, bash can eat \r inside `` if the user requested igncr.
18315 # But we know of no other shell where ac_cr would be empty at this
18316 # point, so we can use a bashism as a fallback.
18317 if test "x$ac_cr" = x; then
18318 eval ac_cr=\$\'\\r\'
18320 ac_cs_awk_cr=`$AWK 'BEGIN { print "a\rb" }' </dev/null 2>/dev/null`
18321 if test "$ac_cs_awk_cr" = "a${ac_cr}b"; then
18322 ac_cs_awk_cr='\\r'
18323 else
18324 ac_cs_awk_cr=$ac_cr
18327 echo 'BEGIN {' >"$ac_tmp/subs1.awk" &&
18328 _ACEOF
18332 echo "cat >conf$$subs.awk <<_ACEOF" &&
18333 echo "$ac_subst_vars" | sed 's/.*/&!$&$ac_delim/' &&
18334 echo "_ACEOF"
18335 } >conf$$subs.sh ||
18336 as_fn_error $? "could not make $CONFIG_STATUS" "$LINENO" 5
18337 ac_delim_num=`echo "$ac_subst_vars" | grep -c '^'`
18338 ac_delim='%!_!# '
18339 for ac_last_try in false false false false false :; do
18340 . ./conf$$subs.sh ||
18341 as_fn_error $? "could not make $CONFIG_STATUS" "$LINENO" 5
18343 ac_delim_n=`sed -n "s/.*$ac_delim\$/X/p" conf$$subs.awk | grep -c X`
18344 if test $ac_delim_n = $ac_delim_num; then
18345 break
18346 elif $ac_last_try; then
18347 as_fn_error $? "could not make $CONFIG_STATUS" "$LINENO" 5
18348 else
18349 ac_delim="$ac_delim!$ac_delim _$ac_delim!! "
18351 done
18352 rm -f conf$$subs.sh
18354 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
18355 cat >>"\$ac_tmp/subs1.awk" <<\\_ACAWK &&
18356 _ACEOF
18357 sed -n '
18359 s/^/S["/; s/!.*/"]=/
18362 s/^[^!]*!//
18363 :repl
18364 t repl
18365 s/'"$ac_delim"'$//
18366 t delim
18369 s/\(.\{148\}\)..*/\1/
18370 t more1
18371 s/["\\]/\\&/g; s/^/"/; s/$/\\n"\\/
18374 b repl
18375 :more1
18376 s/["\\]/\\&/g; s/^/"/; s/$/"\\/
18379 s/.\{148\}//
18380 t nl
18381 :delim
18383 s/\(.\{148\}\)..*/\1/
18384 t more2
18385 s/["\\]/\\&/g; s/^/"/; s/$/"/
18388 :more2
18389 s/["\\]/\\&/g; s/^/"/; s/$/"\\/
18392 s/.\{148\}//
18393 t delim
18394 ' <conf$$subs.awk | sed '
18395 /^[^""]/{
18397 s/\n//
18399 ' >>$CONFIG_STATUS || ac_write_fail=1
18400 rm -f conf$$subs.awk
18401 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
18402 _ACAWK
18403 cat >>"\$ac_tmp/subs1.awk" <<_ACAWK &&
18404 for (key in S) S_is_set[key] = 1
18405 FS = "\a"
18409 line = $ 0
18410 nfields = split(line, field, "@")
18411 substed = 0
18412 len = length(field[1])
18413 for (i = 2; i < nfields; i++) {
18414 key = field[i]
18415 keylen = length(key)
18416 if (S_is_set[key]) {
18417 value = S[key]
18418 line = substr(line, 1, len) "" value "" substr(line, len + keylen + 3)
18419 len += length(value) + length(field[++i])
18420 substed = 1
18421 } else
18422 len += 1 + keylen
18425 print line
18428 _ACAWK
18429 _ACEOF
18430 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
18431 if sed "s/$ac_cr//" < /dev/null > /dev/null 2>&1; then
18432 sed "s/$ac_cr\$//; s/$ac_cr/$ac_cs_awk_cr/g"
18433 else
18435 fi < "$ac_tmp/subs1.awk" > "$ac_tmp/subs.awk" \
18436 || as_fn_error $? "could not setup config files machinery" "$LINENO" 5
18437 _ACEOF
18439 # VPATH may cause trouble with some makes, so we remove sole $(srcdir),
18440 # ${srcdir} and @srcdir@ entries from VPATH if srcdir is ".", strip leading and
18441 # trailing colons and then remove the whole line if VPATH becomes empty
18442 # (actually we leave an empty line to preserve line numbers).
18443 if test "x$srcdir" = x.; then
18444 ac_vpsub='/^[ ]*VPATH[ ]*=[ ]*/{
18446 s///
18447 s/^/:/
18448 s/[ ]*$/:/
18449 s/:\$(srcdir):/:/g
18450 s/:\${srcdir}:/:/g
18451 s/:@srcdir@:/:/g
18452 s/^:*//
18453 s/:*$//
18455 s/\(=[ ]*\).*/\1/
18457 s/\n//
18458 s/^[^=]*=[ ]*$//
18462 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
18463 fi # test -n "$CONFIG_FILES"
18465 # Set up the scripts for CONFIG_HEADERS section.
18466 # No need to generate them if there are no CONFIG_HEADERS.
18467 # This happens for instance with `./config.status Makefile'.
18468 if test -n "$CONFIG_HEADERS"; then
18469 cat >"$ac_tmp/defines.awk" <<\_ACAWK ||
18470 BEGIN {
18471 _ACEOF
18473 # Transform confdefs.h into an awk script `defines.awk', embedded as
18474 # here-document in config.status, that substitutes the proper values into
18475 # config.h.in to produce config.h.
18477 # Create a delimiter string that does not exist in confdefs.h, to ease
18478 # handling of long lines.
18479 ac_delim='%!_!# '
18480 for ac_last_try in false false :; do
18481 ac_tt=`sed -n "/$ac_delim/p" confdefs.h`
18482 if test -z "$ac_tt"; then
18483 break
18484 elif $ac_last_try; then
18485 as_fn_error $? "could not make $CONFIG_HEADERS" "$LINENO" 5
18486 else
18487 ac_delim="$ac_delim!$ac_delim _$ac_delim!! "
18489 done
18491 # For the awk script, D is an array of macro values keyed by name,
18492 # likewise P contains macro parameters if any. Preserve backslash
18493 # newline sequences.
18495 ac_word_re=[_$as_cr_Letters][_$as_cr_alnum]*
18496 sed -n '
18497 s/.\{148\}/&'"$ac_delim"'/g
18498 t rset
18499 :rset
18500 s/^[ ]*#[ ]*define[ ][ ]*/ /
18501 t def
18503 :def
18504 s/\\$//
18505 t bsnl
18506 s/["\\]/\\&/g
18507 s/^ \('"$ac_word_re"'\)\(([^()]*)\)[ ]*\(.*\)/P["\1"]="\2"\
18508 D["\1"]=" \3"/p
18509 s/^ \('"$ac_word_re"'\)[ ]*\(.*\)/D["\1"]=" \2"/p
18511 :bsnl
18512 s/["\\]/\\&/g
18513 s/^ \('"$ac_word_re"'\)\(([^()]*)\)[ ]*\(.*\)/P["\1"]="\2"\
18514 D["\1"]=" \3\\\\\\n"\\/p
18515 t cont
18516 s/^ \('"$ac_word_re"'\)[ ]*\(.*\)/D["\1"]=" \2\\\\\\n"\\/p
18517 t cont
18519 :cont
18521 s/.\{148\}/&'"$ac_delim"'/g
18522 t clear
18523 :clear
18524 s/\\$//
18525 t bsnlc
18526 s/["\\]/\\&/g; s/^/"/; s/$/"/p
18528 :bsnlc
18529 s/["\\]/\\&/g; s/^/"/; s/$/\\\\\\n"\\/p
18530 b cont
18531 ' <confdefs.h | sed '
18532 s/'"$ac_delim"'/"\\\
18533 "/g' >>$CONFIG_STATUS || ac_write_fail=1
18535 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
18536 for (key in D) D_is_set[key] = 1
18537 FS = "\a"
18539 /^[\t ]*#[\t ]*(define|undef)[\t ]+$ac_word_re([\t (]|\$)/ {
18540 line = \$ 0
18541 split(line, arg, " ")
18542 if (arg[1] == "#") {
18543 defundef = arg[2]
18544 mac1 = arg[3]
18545 } else {
18546 defundef = substr(arg[1], 2)
18547 mac1 = arg[2]
18549 split(mac1, mac2, "(") #)
18550 macro = mac2[1]
18551 prefix = substr(line, 1, index(line, defundef) - 1)
18552 if (D_is_set[macro]) {
18553 # Preserve the white space surrounding the "#".
18554 print prefix "define", macro P[macro] D[macro]
18555 next
18556 } else {
18557 # Replace #undef with comments. This is necessary, for example,
18558 # in the case of _POSIX_SOURCE, which is predefined and required
18559 # on some systems where configure will not decide to define it.
18560 if (defundef == "undef") {
18561 print "/*", prefix defundef, macro, "*/"
18562 next
18566 { print }
18567 _ACAWK
18568 _ACEOF
18569 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
18570 as_fn_error $? "could not setup config headers machinery" "$LINENO" 5
18571 fi # test -n "$CONFIG_HEADERS"
18574 eval set X " :F $CONFIG_FILES :H $CONFIG_HEADERS :L $CONFIG_LINKS :C $CONFIG_COMMANDS"
18575 shift
18576 for ac_tag
18578 case $ac_tag in
18579 :[FHLC]) ac_mode=$ac_tag; continue;;
18580 esac
18581 case $ac_mode$ac_tag in
18582 :[FHL]*:*);;
18583 :L* | :C*:*) as_fn_error $? "invalid tag \`$ac_tag'" "$LINENO" 5;;
18584 :[FH]-) ac_tag=-:-;;
18585 :[FH]*) ac_tag=$ac_tag:$ac_tag.in;;
18586 esac
18587 ac_save_IFS=$IFS
18588 IFS=:
18589 set x $ac_tag
18590 IFS=$ac_save_IFS
18591 shift
18592 ac_file=$1
18593 shift
18595 case $ac_mode in
18596 :L) ac_source=$1;;
18597 :[FH])
18598 ac_file_inputs=
18599 for ac_f
18601 case $ac_f in
18602 -) ac_f="$ac_tmp/stdin";;
18603 *) # Look for the file first in the build tree, then in the source tree
18604 # (if the path is not absolute). The absolute path cannot be DOS-style,
18605 # because $ac_f cannot contain `:'.
18606 test -f "$ac_f" ||
18607 case $ac_f in
18608 [\\/$]*) false;;
18609 *) test -f "$srcdir/$ac_f" && ac_f="$srcdir/$ac_f";;
18610 esac ||
18611 as_fn_error 1 "cannot find input file: \`$ac_f'" "$LINENO" 5;;
18612 esac
18613 case $ac_f in *\'*) ac_f=`$as_echo "$ac_f" | sed "s/'/'\\\\\\\\''/g"`;; esac
18614 as_fn_append ac_file_inputs " '$ac_f'"
18615 done
18617 # Let's still pretend it is `configure' which instantiates (i.e., don't
18618 # use $as_me), people would be surprised to read:
18619 # /* config.h. Generated by config.status. */
18620 configure_input='Generated from '`
18621 $as_echo "$*" | sed 's|^[^:]*/||;s|:[^:]*/|, |g'
18622 `' by configure.'
18623 if test x"$ac_file" != x-; then
18624 configure_input="$ac_file. $configure_input"
18625 { $as_echo "$as_me:${as_lineno-$LINENO}: creating $ac_file" >&5
18626 $as_echo "$as_me: creating $ac_file" >&6;}
18628 # Neutralize special characters interpreted by sed in replacement strings.
18629 case $configure_input in #(
18630 *\&* | *\|* | *\\* )
18631 ac_sed_conf_input=`$as_echo "$configure_input" |
18632 sed 's/[\\\\&|]/\\\\&/g'`;; #(
18633 *) ac_sed_conf_input=$configure_input;;
18634 esac
18636 case $ac_tag in
18637 *:-:* | *:-) cat >"$ac_tmp/stdin" \
18638 || as_fn_error $? "could not create $ac_file" "$LINENO" 5 ;;
18639 esac
18641 esac
18643 ac_dir=`$as_dirname -- "$ac_file" ||
18644 $as_expr X"$ac_file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
18645 X"$ac_file" : 'X\(//\)[^/]' \| \
18646 X"$ac_file" : 'X\(//\)$' \| \
18647 X"$ac_file" : 'X\(/\)' \| . 2>/dev/null ||
18648 $as_echo X"$ac_file" |
18649 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
18650 s//\1/
18653 /^X\(\/\/\)[^/].*/{
18654 s//\1/
18657 /^X\(\/\/\)$/{
18658 s//\1/
18661 /^X\(\/\).*/{
18662 s//\1/
18665 s/.*/./; q'`
18666 as_dir="$ac_dir"; as_fn_mkdir_p
18667 ac_builddir=.
18669 case "$ac_dir" in
18670 .) ac_dir_suffix= ac_top_builddir_sub=. ac_top_build_prefix= ;;
18672 ac_dir_suffix=/`$as_echo "$ac_dir" | sed 's|^\.[\\/]||'`
18673 # A ".." for each directory in $ac_dir_suffix.
18674 ac_top_builddir_sub=`$as_echo "$ac_dir_suffix" | sed 's|/[^\\/]*|/..|g;s|/||'`
18675 case $ac_top_builddir_sub in
18676 "") ac_top_builddir_sub=. ac_top_build_prefix= ;;
18677 *) ac_top_build_prefix=$ac_top_builddir_sub/ ;;
18678 esac ;;
18679 esac
18680 ac_abs_top_builddir=$ac_pwd
18681 ac_abs_builddir=$ac_pwd$ac_dir_suffix
18682 # for backward compatibility:
18683 ac_top_builddir=$ac_top_build_prefix
18685 case $srcdir in
18686 .) # We are building in place.
18687 ac_srcdir=.
18688 ac_top_srcdir=$ac_top_builddir_sub
18689 ac_abs_top_srcdir=$ac_pwd ;;
18690 [\\/]* | ?:[\\/]* ) # Absolute name.
18691 ac_srcdir=$srcdir$ac_dir_suffix;
18692 ac_top_srcdir=$srcdir
18693 ac_abs_top_srcdir=$srcdir ;;
18694 *) # Relative name.
18695 ac_srcdir=$ac_top_build_prefix$srcdir$ac_dir_suffix
18696 ac_top_srcdir=$ac_top_build_prefix$srcdir
18697 ac_abs_top_srcdir=$ac_pwd/$srcdir ;;
18698 esac
18699 ac_abs_srcdir=$ac_abs_top_srcdir$ac_dir_suffix
18702 case $ac_mode in
18705 # CONFIG_FILE
18708 _ACEOF
18710 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
18711 # If the template does not know about datarootdir, expand it.
18712 # FIXME: This hack should be removed a few years after 2.60.
18713 ac_datarootdir_hack=; ac_datarootdir_seen=
18714 ac_sed_dataroot='
18715 /datarootdir/ {
18719 /@datadir@/p
18720 /@docdir@/p
18721 /@infodir@/p
18722 /@localedir@/p
18723 /@mandir@/p'
18724 case `eval "sed -n \"\$ac_sed_dataroot\" $ac_file_inputs"` in
18725 *datarootdir*) ac_datarootdir_seen=yes;;
18726 *@datadir@*|*@docdir@*|*@infodir@*|*@localedir@*|*@mandir@*)
18727 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&5
18728 $as_echo "$as_me: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&2;}
18729 _ACEOF
18730 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
18731 ac_datarootdir_hack='
18732 s&@datadir@&$datadir&g
18733 s&@docdir@&$docdir&g
18734 s&@infodir@&$infodir&g
18735 s&@localedir@&$localedir&g
18736 s&@mandir@&$mandir&g
18737 s&\\\${datarootdir}&$datarootdir&g' ;;
18738 esac
18739 _ACEOF
18741 # Neutralize VPATH when `$srcdir' = `.'.
18742 # Shell code in configure.ac might set extrasub.
18743 # FIXME: do we really want to maintain this feature?
18744 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
18745 ac_sed_extra="$ac_vpsub
18746 $extrasub
18747 _ACEOF
18748 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
18750 /@[a-zA-Z_][a-zA-Z_0-9]*@/!b
18751 s|@configure_input@|$ac_sed_conf_input|;t t
18752 s&@top_builddir@&$ac_top_builddir_sub&;t t
18753 s&@top_build_prefix@&$ac_top_build_prefix&;t t
18754 s&@srcdir@&$ac_srcdir&;t t
18755 s&@abs_srcdir@&$ac_abs_srcdir&;t t
18756 s&@top_srcdir@&$ac_top_srcdir&;t t
18757 s&@abs_top_srcdir@&$ac_abs_top_srcdir&;t t
18758 s&@builddir@&$ac_builddir&;t t
18759 s&@abs_builddir@&$ac_abs_builddir&;t t
18760 s&@abs_top_builddir@&$ac_abs_top_builddir&;t t
18761 $ac_datarootdir_hack
18763 eval sed \"\$ac_sed_extra\" "$ac_file_inputs" | $AWK -f "$ac_tmp/subs.awk" \
18764 >$ac_tmp/out || as_fn_error $? "could not create $ac_file" "$LINENO" 5
18766 test -z "$ac_datarootdir_hack$ac_datarootdir_seen" &&
18767 { ac_out=`sed -n '/\${datarootdir}/p' "$ac_tmp/out"`; test -n "$ac_out"; } &&
18768 { ac_out=`sed -n '/^[ ]*datarootdir[ ]*:*=/p' \
18769 "$ac_tmp/out"`; test -z "$ac_out"; } &&
18770 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $ac_file contains a reference to the variable \`datarootdir'
18771 which seems to be undefined. Please make sure it is defined" >&5
18772 $as_echo "$as_me: WARNING: $ac_file contains a reference to the variable \`datarootdir'
18773 which seems to be undefined. Please make sure it is defined" >&2;}
18775 rm -f "$ac_tmp/stdin"
18776 case $ac_file in
18777 -) cat "$ac_tmp/out" && rm -f "$ac_tmp/out";;
18778 *) rm -f "$ac_file" && mv "$ac_tmp/out" "$ac_file";;
18779 esac \
18780 || as_fn_error $? "could not create $ac_file" "$LINENO" 5
18784 # CONFIG_HEADER
18786 if test x"$ac_file" != x-; then
18788 $as_echo "/* $configure_input */" \
18789 && eval '$AWK -f "$ac_tmp/defines.awk"' "$ac_file_inputs"
18790 } >"$ac_tmp/config.h" \
18791 || as_fn_error $? "could not create $ac_file" "$LINENO" 5
18792 if diff "$ac_file" "$ac_tmp/config.h" >/dev/null 2>&1; then
18793 { $as_echo "$as_me:${as_lineno-$LINENO}: $ac_file is unchanged" >&5
18794 $as_echo "$as_me: $ac_file is unchanged" >&6;}
18795 else
18796 rm -f "$ac_file"
18797 mv "$ac_tmp/config.h" "$ac_file" \
18798 || as_fn_error $? "could not create $ac_file" "$LINENO" 5
18800 else
18801 $as_echo "/* $configure_input */" \
18802 && eval '$AWK -f "$ac_tmp/defines.awk"' "$ac_file_inputs" \
18803 || as_fn_error $? "could not create -" "$LINENO" 5
18808 # CONFIG_LINK
18811 if test "$ac_source" = "$ac_file" && test "$srcdir" = '.'; then
18813 else
18814 # Prefer the file from the source tree if names are identical.
18815 if test "$ac_source" = "$ac_file" || test ! -r "$ac_source"; then
18816 ac_source=$srcdir/$ac_source
18819 { $as_echo "$as_me:${as_lineno-$LINENO}: linking $ac_source to $ac_file" >&5
18820 $as_echo "$as_me: linking $ac_source to $ac_file" >&6;}
18822 if test ! -r "$ac_source"; then
18823 as_fn_error $? "$ac_source: file not found" "$LINENO" 5
18825 rm -f "$ac_file"
18827 # Try a relative symlink, then a hard link, then a copy.
18828 case $ac_source in
18829 [\\/$]* | ?:[\\/]* ) ac_rel_source=$ac_source ;;
18830 *) ac_rel_source=$ac_top_build_prefix$ac_source ;;
18831 esac
18832 ln -s "$ac_rel_source" "$ac_file" 2>/dev/null ||
18833 ln "$ac_source" "$ac_file" 2>/dev/null ||
18834 cp -p "$ac_source" "$ac_file" ||
18835 as_fn_error $? "cannot link or copy $ac_source to $ac_file" "$LINENO" 5
18838 :C) { $as_echo "$as_me:${as_lineno-$LINENO}: executing $ac_file commands" >&5
18839 $as_echo "$as_me: executing $ac_file commands" >&6;}
18841 esac
18844 case $ac_file$ac_mode in
18845 "include/stamp-h":C) echo timestamp > include/stamp-h ;;
18846 "tools/makedep":C) wine_fn_output_makedep || as_fn_exit $? ;;
18847 "Makefile":C) wine_fn_output_makefile Makefile ;;
18848 ".gitignore":C) wine_fn_output_gitignore .gitignore ;;
18850 esac
18851 done # for ac_tag
18854 as_fn_exit 0
18855 _ACEOF
18856 ac_clean_files=$ac_clean_files_save
18858 test $ac_write_fail = 0 ||
18859 as_fn_error $? "write failure creating $CONFIG_STATUS" "$LINENO" 5
18862 # configure is writing to config.log, and then calls config.status.
18863 # config.status does its own redirection, appending to config.log.
18864 # Unfortunately, on DOS this fails, as config.log is still kept open
18865 # by configure, so config.status won't be able to write to it; its
18866 # output is simply discarded. So we exec the FD to /dev/null,
18867 # effectively closing config.log, so it can be properly (re)opened and
18868 # appended to by config.status. When coming back to configure, we
18869 # need to make the FD available again.
18870 if test "$no_create" != yes; then
18871 ac_cs_success=:
18872 ac_config_status_args=
18873 test "$silent" = yes &&
18874 ac_config_status_args="$ac_config_status_args --quiet"
18875 exec 5>/dev/null
18876 $SHELL $CONFIG_STATUS $ac_config_status_args || ac_cs_success=false
18877 exec 5>>config.log
18878 # Use ||, not &&, to avoid exiting from the if with $? = 1, which
18879 # would make configure fail if this is the last instruction.
18880 $ac_cs_success || as_fn_exit 1
18882 if test -n "$ac_unrecognized_opts" && test "$enable_option_checking" != no; then
18883 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: unrecognized options: $ac_unrecognized_opts" >&5
18884 $as_echo "$as_me: WARNING: unrecognized options: $ac_unrecognized_opts" >&2;}
18888 if test "$no_create" = "yes"
18889 then
18890 exit 0
18893 ac_save_IFS="$IFS"
18894 if test "x$wine_notices != "x; then
18895 echo >&6
18896 IFS="|"
18897 for msg in $wine_notices; do
18898 IFS="$ac_save_IFS"
18899 if ${msg+:} false; then :
18900 { $as_echo "$as_me:${as_lineno-$LINENO}: $msg" >&5
18901 $as_echo "$as_me: $msg" >&6;}
18903 done
18905 IFS="|"
18906 for msg in $wine_warnings; do
18907 IFS="$ac_save_IFS"
18908 if ${msg+:} false; then :
18909 echo >&2
18910 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $msg" >&5
18911 $as_echo "$as_me: WARNING: $msg" >&2;}
18913 done
18914 IFS="$ac_save_IFS"
18916 $as_echo "
18917 $as_me: Finished. Do '${ac_make}' to compile Wine.
18918 " >&6