2 # Guess values for system-dependent variables and create Makefiles.
3 # Generated by GNU Autoconf 2.59d for Wine 0.9.14.
5 # Report bugs to <wine-devel@winehq.org>.
7 # Copyright (C) 1992, 1993, 1994, 1995, 1996, 1998, 1999, 2000, 2001,
8 # 2002, 2003, 2004, 2005, 2006 Free Software Foundation, Inc.
9 # This configure script is free software; the Free Software Foundation
10 # gives unlimited permission to copy, distribute and modify it.
11 ## --------------------- ##
12 ## M4sh Initialization. ##
13 ## --------------------- ##
15 # Be Bourne compatible
16 if test -n "${ZSH_VERSION+set}" && (emulate sh
) >/dev
/null
2>&1; then
19 # Zsh 3.x and 4.x performs word splitting on ${1+"$@"}, which
20 # is contrary to our usage. Disable this feature.
21 alias -g '${1+"$@"}'='"$@"'
24 case `(set -o) 2>/dev/null` in *posix
*) set -o posix
;; esac
26 BIN_SH
=xpg4
; export BIN_SH
# for Tru64
27 DUALCASE
=1; export DUALCASE
# for MKS sh
31 # Avoid depending upon Character Ranges.
32 as_cr_letters
='abcdefghijklmnopqrstuvwxyz'
33 as_cr_LETTERS
='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
34 as_cr_Letters
=$as_cr_letters$as_cr_LETTERS
35 as_cr_digits
='0123456789'
36 as_cr_alnum
=$as_cr_Letters$as_cr_digits
38 # The user is always right.
39 if test "${PATH_SEPARATOR+set}" != set; then
40 echo "#! /bin/sh" >conf$$.sh
41 echo "exit 0" >>conf$$.sh
43 if (PATH
="/nonexistent;."; conf$$.sh
) >/dev
/null
2>&1; then
51 # Support unset when possible.
52 if ( (MAIL
=60; unset MAIL
) ||
exit) >/dev
/null
2>&1; then
60 # We need space, tab and new line, in precisely that order. Quoting is
61 # there to prevent editors from complaining about space-tab.
62 # (If _AS_PATH_WALK were called with IFS unset, it would disable word
63 # splitting by setting IFS to empty value.)
68 # Find who we are. Look in the path if we contain no directory separator.
70 *[\\/]* ) as_myself
=$0 ;;
71 *) as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
75 test -z "$as_dir" && as_dir
=.
76 test -r "$as_dir/$0" && as_myself
=$as_dir/$0 && break
82 # We did not find ourselves, most probably we were run as `sh COMMAND'
83 # in which case we are not to be found in the path.
84 if test "x$as_myself" = x
; then
87 if test ! -f "$as_myself"; then
88 echo "$as_myself: error: cannot find myself; rerun with an absolute file name" >&2
92 # Work around bugs in pre-3.0 UWIN ksh.
93 for as_var
in ENV MAIL MAILPATH
94 do ($as_unset $as_var) >/dev
/null
2>&1 && $as_unset $as_var
102 LANG LANGUAGE LC_ADDRESS LC_ALL LC_COLLATE LC_CTYPE LC_IDENTIFICATION \
103 LC_MEASUREMENT LC_MESSAGES LC_MONETARY LC_NAME LC_NUMERIC LC_PAPER \
106 if (set +x
; test -z "`(eval $as_var=C; export $as_var) 2>&1`"); then
107 eval $as_var=C
; export $as_var
109 ($as_unset $as_var) >/dev
/null
2>&1 && $as_unset $as_var
113 # Required to use basename.
114 if expr a
: '\(a\)' >/dev
/null
2>&1 &&
115 test "X`expr 00001 : '.*\(...\)'`" = X001
; then
121 if (basename -- /) >/dev
/null
2>&1 && test "X`basename -- / 2>&1`" = "X/"; then
128 # Name of the executable.
129 as_me
=`$as_basename -- "$0" ||
130 $as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
131 X"$0" : 'X\(//\)$' \| \
132 X"$0" : 'X\(/\)' \| . 2>/dev/null ||
134 sed '/^.*\/\([^/][^/]*\)\/*$/{
152 if test "x$CONFIG_SHELL" = x
; then
153 if (eval ":") 2>/dev
/null
; then
159 if test $as_have_required = yes && (eval ":
169 as_func_ret_success () {
172 as_func_ret_failure () {
177 if as_func_success; then
181 echo as_func_success failed.
184 if as_func_failure; then
186 echo as_func_failure succeeded.
189 if as_func_ret_success; then
193 echo as_func_ret_success failed.
196 if as_func_ret_failure; then
198 echo as_func_ret_failure succeeded.
201 if ( set x; as_func_ret_success y && test x = \"\$1\" ); then
205 echo positional parameters were not saved.
208 test \$exitcode = 0) || { (exit 1); exit 1; }
213 test \"x\$as_lineno_1\" != \"x\$as_lineno_2\" &&
214 test \"x\`expr \$as_lineno_1 + 1\`\" = \"x\$as_lineno_2\") || { (exit 1); exit 1; }
215 ") 2> /dev
/null
; then
219 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
220 for as_dir
in /usr
/bin
/posix
$PATH_SEPARATOR/bin
$PATH_SEPARATOR/usr
/bin
$PATH_SEPARATOR$PATH
223 test -z "$as_dir" && as_dir
=.
226 for as_base
in sh bash ksh sh5
; do
227 as_candidate_shells
="$as_candidate_shells $as_dir/$as_base"
234 for as_shell
in $as_candidate_shells $SHELL; do
235 # Try only shells which exist, to save several forks.
236 if test -f $as_shell &&
237 { ($as_shell) 2> /dev
/null
<<\_ASEOF
238 # Be Bourne compatible
239 if test -n "${ZSH_VERSION+set}" && (emulate sh
) >/dev
/null
2>&1; then
242 # Zsh 3.x and 4.x performs word splitting on ${1+"$@"}, which
243 # is contrary to our usage. Disable this feature.
244 alias -g '${1+"$@"}'='"$@"'
247 case `(set -o) 2>/dev/null` in *posix
*) set -o posix
;; esac
249 BIN_SH
=xpg4
; export BIN_SH
# for Tru64
250 DUALCASE
=1; export DUALCASE
# for MKS sh
255 CONFIG_SHELL
=$as_shell
257 if { $as_shell 2> /dev
/null
<<\_ASEOF
258 # Be Bourne compatible
259 if test -n "${ZSH_VERSION+set}" && (emulate sh
) >/dev
/null
2>&1; then
262 # Zsh 3.x and 4.x performs word splitting on ${1+"$@"}, which
263 # is contrary to our usage. Disable this feature.
264 alias -g '${1+"$@"}'='"$@"'
267 case `(set -o) 2>/dev/null` in *posix
*) set -o posix
;; esac
269 BIN_SH
=xpg4
; export BIN_SH
# for Tru64
270 DUALCASE
=1; export DUALCASE
# for MKS sh
282 as_func_ret_success
() {
285 as_func_ret_failure
() {
290 if as_func_success
; then
294 echo as_func_success failed.
297 if as_func_failure
; then
299 echo as_func_failure succeeded.
302 if as_func_ret_success
; then
306 echo as_func_ret_success failed.
309 if as_func_ret_failure
; then
311 echo as_func_ret_failure succeeded.
314 if ( set x
; as_func_ret_success y
&& test x
= "$1" ); then
318 echo positional parameters were not saved.
321 test $exitcode = 0) ||
{ (exit 1); exit 1; }
326 test "x$as_lineno_1" != "x$as_lineno_2" &&
327 test "x`expr $as_lineno_1 + 1`" = "x$as_lineno_2") ||
{ (exit 1); exit 1; }
338 if test "x$CONFIG_SHELL" != x
; then
339 for as_var
in BASH_ENV ENV
340 do ($as_unset $as_var) >/dev
/null
2>&1 && $as_unset $as_var
343 exec "$CONFIG_SHELL" "$as_myself" ${1+"$@"}
347 if test $as_have_required = no
; then
348 echo This
script requires a shell
more modern than all the
349 echo shells that I found on your system. Please
install a
350 echo modern shell
, or manually run the
script under such a
351 echo shell
if you
do have one.
352 { (exit 1); exit 1; }
362 (eval "as_func_return () {
371 as_func_ret_success () {
374 as_func_ret_failure () {
379 if as_func_success; then
383 echo as_func_success failed.
386 if as_func_failure; then
388 echo as_func_failure succeeded.
391 if as_func_ret_success; then
395 echo as_func_ret_success failed.
398 if as_func_ret_failure; then
400 echo as_func_ret_failure succeeded.
403 if ( set x; as_func_ret_success y && test x = \"\$1\" ); then
407 echo positional parameters were not saved.
410 test \$exitcode = 0") ||
{
411 echo No shell found that supports shell functions.
412 echo Please tell autoconf@gnu.org about your system
,
413 echo including any error possibly output before this
421 test "x$as_lineno_1" != "x$as_lineno_2" &&
422 test "x`expr $as_lineno_1 + 1`" = "x$as_lineno_2" ||
{
424 # Create $as_me.lineno as a copy of $as_myself, but with $LINENO
425 # uniformly replaced by the line number. The first 'sed' inserts a
426 # line-number line after each line using $LINENO; the second 'sed'
427 # does the real work. The second script uses 'N' to pair each
428 # line-number line with the line containing $LINENO, and appends
429 # trailing '-' during substitution so that $LINENO is not a special
431 # (Raja R Harinath suggested sed '=', and Paul Eggert wrote the
432 # scripts with optimization help from Paolo Bonzini. Blame Lee
433 # E. McMahon (1931-1989) for sed's syntax. :-)
445 s/[$]LINENO\([^'$as_cr_alnum'_].*\n\)\(.*\)/\2\1\2/
449 chmod +x
"$as_me.lineno" ||
450 { echo "$as_me: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&2
451 { (exit 1); exit 1; }; }
453 # Don't try to exec as it changes $[0], causing all sort of problems
454 # (the dirname of $[0] is not the place where we might find the
455 # original and so on. Autoconf is especially sensitive to this).
457 # Exit status is that of the last command.
462 if (dirname -- /) >/dev
/null
2>&1; then
468 ECHO_C
= ECHO_N
= ECHO_T
=
472 *c
*) ECHO_T
=' ';; # ECHO_T is single tab character.
479 if expr a
: '\(a\)' >/dev
/null
2>&1 &&
480 test "X`expr 00001 : '.*\(...\)'`" = X001
; then
486 rm -f conf$$ conf$$.exe conf$$.
file
487 if test -d conf$$.dir
; then
488 rm -f conf$$.dir
/conf$$.
file
494 if ln -s conf$$.
file conf$$
2>/dev
/null
; then
496 # ... but there are two gotchas:
497 # 1) On MSYS, both `ln -s file dir' and `ln file dir' fail.
498 # 2) DJGPP < 2.04 has no symlinks; `ln -s' creates a wrapper executable.
499 # In both cases, we have to default to `cp -p'.
500 ln -s conf$$.
file conf$$.dir
2>/dev
/null
&& test ! -f conf$$.exe ||
502 elif ln conf$$.
file conf$$
2>/dev
/null
; then
507 rm -f conf$$ conf$$.exe conf$$.dir
/conf$$.
file conf$$.
file
508 rmdir conf$$.dir
2>/dev
/null
510 if mkdir
-p .
2>/dev
/null
; then
513 test -d .
/-p && rmdir .
/-p
517 # Find out whether ``test -x'' works. Don't use a zero-byte file, as
518 # systems may use methods other than mode bits to determine executability.
519 cat >conf$$.
file <<_ASEOF
524 if test -x conf$$.
file >/dev
/null
2>&1; then
525 as_executable_p
="test -x"
531 # Sed expression to map a string onto a valid CPP name.
532 as_tr_cpp
="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'"
534 # Sed expression to map a string onto a valid variable name.
535 as_tr_sh
="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'"
539 exec 7<&0 </dev
/null
6>&1
542 # hostname on some systems (SVR3.2, Linux) returns a bogus exit status,
543 # so uname gets run too.
544 ac_hostname
=`(hostname || uname -n) 2>/dev/null | sed 1q`
549 ac_default_prefix
=/usr
/local
551 ac_config_libobj_dir
=.
557 SHELL
=${CONFIG_SHELL-/bin/sh}
559 # Identity of this package.
561 PACKAGE_TARNAME
='wine'
562 PACKAGE_VERSION
='0.9.14'
563 PACKAGE_STRING
='Wine 0.9.14'
564 PACKAGE_BUGREPORT
='wine-devel@winehq.org'
566 ac_unique_file
="server/atom.c"
567 # Factoring default headers for most tests.
568 ac_includes_default
="\
571 # include <sys/types.h>
574 # include <sys/stat.h>
585 # if !STDC_HEADERS && HAVE_MEMORY_H
591 # include <strings.h>
594 # include <inttypes.h>
612 program_transform_name
760 ac_subst_files
='MAKE_RULES
766 ac_precious_vars
='build_alias
780 # Initialize some variables set by options.
782 ac_init_version
=false
783 # The variables have the same names as the options, with
784 # dashes changed to underlines.
792 program_transform_name
=s
,x
,x
,
800 # Installation directory options.
801 # These are left unexpanded so users can "make install exec_prefix=/foo"
802 # and all the variables that are supposed to be based on exec_prefix
803 # by default will actually change.
804 # Use braces instead of parens because sh, perl, etc. also accept them.
805 # (The list follows the same order as the GNU Coding Standards.)
806 bindir
='${exec_prefix}/bin'
807 sbindir
='${exec_prefix}/sbin'
808 libexecdir
='${exec_prefix}/libexec'
809 datarootdir
='${prefix}/share'
810 datadir
='${datarootdir}'
811 sysconfdir
='${prefix}/etc'
812 sharedstatedir
='${prefix}/com'
813 localstatedir
='${prefix}/var'
814 includedir
='${prefix}/include'
815 oldincludedir
='/usr/include'
816 docdir
='${datarootdir}/doc/${PACKAGE_TARNAME}'
817 infodir
='${datarootdir}/info'
822 libdir
='${exec_prefix}/lib'
823 localedir
='${datarootdir}/locale'
824 mandir
='${datarootdir}/man'
830 # If the previous option needs an argument, assign it.
831 if test -n "$ac_prev"; then
832 eval $ac_prev=\
$ac_option
838 *=*) ac_optarg
=`expr "X$ac_option" : '[^=]*=\(.*\)'` ;;
842 # Accept the important Cygnus configure options, so we can diagnose typos.
844 case $ac_dashdash$ac_option in
848 -bindir |
--bindir |
--bindi |
--bind |
--bin |
--bi)
850 -bindir=* |
--bindir=* |
--bindi=* |
--bind=* |
--bin=* |
--bi=*)
853 -build |
--build |
--buil |
--bui |
--bu)
854 ac_prev
=build_alias
;;
855 -build=* |
--build=* |
--buil=* |
--bui=* |
--bu=*)
856 build_alias
=$ac_optarg ;;
858 -cache-file |
--cache-file |
--cache-fil |
--cache-fi \
859 |
--cache-f |
--cache- |
--cache |
--cach |
--cac |
--ca |
--c)
860 ac_prev
=cache_file
;;
861 -cache-file=* |
--cache-file=* |
--cache-fil=* |
--cache-fi=* \
862 |
--cache-f=* |
--cache-=* |
--cache=* |
--cach=* |
--cac=* |
--ca=* |
--c=*)
863 cache_file
=$ac_optarg ;;
866 cache_file
=config.cache
;;
868 -datadir |
--datadir |
--datadi |
--datad)
870 -datadir=* |
--datadir=* |
--datadi=* |
--datad=*)
871 datadir
=$ac_optarg ;;
873 -datarootdir |
--datarootdir |
--datarootdi |
--datarootd |
--dataroot \
874 |
--dataroo |
--dataro |
--datar)
875 ac_prev
=datarootdir
;;
876 -datarootdir=* |
--datarootdir=* |
--datarootdi=* |
--datarootd=* \
877 |
--dataroot=* |
--dataroo=* |
--dataro=* |
--datar=*)
878 datarootdir
=$ac_optarg ;;
880 -disable-* |
--disable-*)
881 ac_feature
=`expr "x$ac_option" : 'x-*disable-\(.*\)'`
882 # Reject names that are not valid shell variable names.
883 expr "x$ac_feature" : ".*[^-_$as_cr_alnum]" >/dev
/null
&&
884 { echo "$as_me: error: invalid feature name: $ac_feature" >&2
885 { (exit 1); exit 1; }; }
886 ac_feature
=`echo $ac_feature | sed 's/-/_/g'`
887 eval enable_
$ac_feature=no
;;
889 -docdir |
--docdir |
--docdi |
--doc |
--do)
891 -docdir=* |
--docdir=* |
--docdi=* |
--doc=* |
--do=*)
894 -dvidir |
--dvidir |
--dvidi |
--dvid |
--dvi |
--dv)
896 -dvidir=* |
--dvidir=* |
--dvidi=* |
--dvid=* |
--dvi=* |
--dv=*)
899 -enable-* |
--enable-*)
900 ac_feature
=`expr "x$ac_option" : 'x-*enable-\([^=]*\)'`
901 # Reject names that are not valid shell variable names.
902 expr "x$ac_feature" : ".*[^-_$as_cr_alnum]" >/dev
/null
&&
903 { echo "$as_me: error: invalid feature name: $ac_feature" >&2
904 { (exit 1); exit 1; }; }
905 ac_feature
=`echo $ac_feature | sed 's/-/_/g'`
906 eval enable_
$ac_feature=\
$ac_optarg ;;
908 -exec-prefix |
--exec_prefix |
--exec-prefix |
--exec-prefi \
909 |
--exec-pref |
--exec-pre |
--exec-pr |
--exec-p |
--exec- \
910 |
--exec |
--exe |
--ex)
911 ac_prev
=exec_prefix
;;
912 -exec-prefix=* |
--exec_prefix=* |
--exec-prefix=* |
--exec-prefi=* \
913 |
--exec-pref=* |
--exec-pre=* |
--exec-pr=* |
--exec-p=* |
--exec-=* \
914 |
--exec=* |
--exe=* |
--ex=*)
915 exec_prefix
=$ac_optarg ;;
917 -gas |
--gas |
--ga |
--g)
918 # Obsolete; use --with-gas.
921 -help |
--help |
--hel |
--he |
-h)
923 -help=r
* |
--help=r
* |
--hel=r
* |
--he=r
* |
-hr*)
924 ac_init_help
=recursive
;;
925 -help=s
* |
--help=s
* |
--hel=s
* |
--he=s
* |
-hs*)
926 ac_init_help
=short
;;
928 -host |
--host |
--hos |
--ho)
929 ac_prev
=host_alias
;;
930 -host=* |
--host=* |
--hos=* |
--ho=*)
931 host_alias
=$ac_optarg ;;
933 -htmldir |
--htmldir |
--htmldi |
--htmld |
--html |
--htm |
--ht)
935 -htmldir=* |
--htmldir=* |
--htmldi=* |
--htmld=* |
--html=* |
--htm=* \
937 htmldir
=$ac_optarg ;;
939 -includedir |
--includedir |
--includedi |
--included |
--include \
940 |
--includ |
--inclu |
--incl |
--inc)
941 ac_prev
=includedir
;;
942 -includedir=* |
--includedir=* |
--includedi=* |
--included=* |
--include=* \
943 |
--includ=* |
--inclu=* |
--incl=* |
--inc=*)
944 includedir
=$ac_optarg ;;
946 -infodir |
--infodir |
--infodi |
--infod |
--info |
--inf)
948 -infodir=* |
--infodir=* |
--infodi=* |
--infod=* |
--info=* |
--inf=*)
949 infodir
=$ac_optarg ;;
951 -libdir |
--libdir |
--libdi |
--libd)
953 -libdir=* |
--libdir=* |
--libdi=* |
--libd=*)
956 -libexecdir |
--libexecdir |
--libexecdi |
--libexecd |
--libexec \
957 |
--libexe |
--libex |
--libe)
958 ac_prev
=libexecdir
;;
959 -libexecdir=* |
--libexecdir=* |
--libexecdi=* |
--libexecd=* |
--libexec=* \
960 |
--libexe=* |
--libex=* |
--libe=*)
961 libexecdir
=$ac_optarg ;;
963 -localedir |
--localedir |
--localedi |
--localed |
--locale)
965 -localedir=* |
--localedir=* |
--localedi=* |
--localed=* |
--locale=*)
966 localedir
=$ac_optarg ;;
968 -localstatedir |
--localstatedir |
--localstatedi |
--localstated \
969 |
--localstate |
--localstat |
--localsta |
--localst |
--locals)
970 ac_prev
=localstatedir
;;
971 -localstatedir=* |
--localstatedir=* |
--localstatedi=* |
--localstated=* \
972 |
--localstate=* |
--localstat=* |
--localsta=* |
--localst=* |
--locals=*)
973 localstatedir
=$ac_optarg ;;
975 -mandir |
--mandir |
--mandi |
--mand |
--man |
--ma |
--m)
977 -mandir=* |
--mandir=* |
--mandi=* |
--mand=* |
--man=* |
--ma=* |
--m=*)
981 # Obsolete; use --without-fp.
984 -no-create |
--no-create |
--no-creat |
--no-crea |
--no-cre \
985 |
--no-cr |
--no-c |
-n)
988 -no-recursion |
--no-recursion |
--no-recursio |
--no-recursi \
989 |
--no-recurs |
--no-recur |
--no-recu |
--no-rec |
--no-re |
--no-r)
992 -oldincludedir |
--oldincludedir |
--oldincludedi |
--oldincluded \
993 |
--oldinclude |
--oldinclud |
--oldinclu |
--oldincl |
--oldinc \
994 |
--oldin |
--oldi |
--old |
--ol |
--o)
995 ac_prev
=oldincludedir
;;
996 -oldincludedir=* |
--oldincludedir=* |
--oldincludedi=* |
--oldincluded=* \
997 |
--oldinclude=* |
--oldinclud=* |
--oldinclu=* |
--oldincl=* |
--oldinc=* \
998 |
--oldin=* |
--oldi=* |
--old=* |
--ol=* |
--o=*)
999 oldincludedir
=$ac_optarg ;;
1001 -prefix |
--prefix |
--prefi |
--pref |
--pre |
--pr |
--p)
1003 -prefix=* |
--prefix=* |
--prefi=* |
--pref=* |
--pre=* |
--pr=* |
--p=*)
1004 prefix
=$ac_optarg ;;
1006 -program-prefix |
--program-prefix |
--program-prefi |
--program-pref \
1007 |
--program-pre |
--program-pr |
--program-p)
1008 ac_prev
=program_prefix
;;
1009 -program-prefix=* |
--program-prefix=* |
--program-prefi=* \
1010 |
--program-pref=* |
--program-pre=* |
--program-pr=* |
--program-p=*)
1011 program_prefix
=$ac_optarg ;;
1013 -program-suffix |
--program-suffix |
--program-suffi |
--program-suff \
1014 |
--program-suf |
--program-su |
--program-s)
1015 ac_prev
=program_suffix
;;
1016 -program-suffix=* |
--program-suffix=* |
--program-suffi=* \
1017 |
--program-suff=* |
--program-suf=* |
--program-su=* |
--program-s=*)
1018 program_suffix
=$ac_optarg ;;
1020 -program-transform-name |
--program-transform-name \
1021 |
--program-transform-nam |
--program-transform-na \
1022 |
--program-transform-n |
--program-transform- \
1023 |
--program-transform |
--program-transfor \
1024 |
--program-transfo |
--program-transf \
1025 |
--program-trans |
--program-tran \
1026 |
--progr-tra |
--program-tr |
--program-t)
1027 ac_prev
=program_transform_name
;;
1028 -program-transform-name=* |
--program-transform-name=* \
1029 |
--program-transform-nam=* |
--program-transform-na=* \
1030 |
--program-transform-n=* |
--program-transform-=* \
1031 |
--program-transform=* |
--program-transfor=* \
1032 |
--program-transfo=* |
--program-transf=* \
1033 |
--program-trans=* |
--program-tran=* \
1034 |
--progr-tra=* |
--program-tr=* |
--program-t=*)
1035 program_transform_name
=$ac_optarg ;;
1037 -pdfdir |
--pdfdir |
--pdfdi |
--pdfd |
--pdf |
--pd)
1039 -pdfdir=* |
--pdfdir=* |
--pdfdi=* |
--pdfd=* |
--pdf=* |
--pd=*)
1040 pdfdir
=$ac_optarg ;;
1042 -psdir |
--psdir |
--psdi |
--psd |
--ps)
1044 -psdir=* |
--psdir=* |
--psdi=* |
--psd=* |
--ps=*)
1047 -q |
-quiet |
--quiet |
--quie |
--qui |
--qu |
--q \
1048 |
-silent |
--silent |
--silen |
--sile |
--sil)
1051 -sbindir |
--sbindir |
--sbindi |
--sbind |
--sbin |
--sbi |
--sb)
1053 -sbindir=* |
--sbindir=* |
--sbindi=* |
--sbind=* |
--sbin=* \
1055 sbindir
=$ac_optarg ;;
1057 -sharedstatedir |
--sharedstatedir |
--sharedstatedi \
1058 |
--sharedstated |
--sharedstate |
--sharedstat |
--sharedsta \
1059 |
--sharedst |
--shareds |
--shared |
--share |
--shar \
1061 ac_prev
=sharedstatedir
;;
1062 -sharedstatedir=* |
--sharedstatedir=* |
--sharedstatedi=* \
1063 |
--sharedstated=* |
--sharedstate=* |
--sharedstat=* |
--sharedsta=* \
1064 |
--sharedst=* |
--shareds=* |
--shared=* |
--share=* |
--shar=* \
1066 sharedstatedir
=$ac_optarg ;;
1068 -site |
--site |
--sit)
1070 -site=* |
--site=* |
--sit=*)
1073 -srcdir |
--srcdir |
--srcdi |
--srcd |
--src |
--sr)
1075 -srcdir=* |
--srcdir=* |
--srcdi=* |
--srcd=* |
--src=* |
--sr=*)
1076 srcdir
=$ac_optarg ;;
1078 -sysconfdir |
--sysconfdir |
--sysconfdi |
--sysconfd |
--sysconf \
1079 |
--syscon |
--sysco |
--sysc |
--sys |
--sy)
1080 ac_prev
=sysconfdir
;;
1081 -sysconfdir=* |
--sysconfdir=* |
--sysconfdi=* |
--sysconfd=* |
--sysconf=* \
1082 |
--syscon=* |
--sysco=* |
--sysc=* |
--sys=* |
--sy=*)
1083 sysconfdir
=$ac_optarg ;;
1085 -target |
--target |
--targe |
--targ |
--tar |
--ta |
--t)
1086 ac_prev
=target_alias
;;
1087 -target=* |
--target=* |
--targe=* |
--targ=* |
--tar=* |
--ta=* |
--t=*)
1088 target_alias
=$ac_optarg ;;
1090 -v |
-verbose |
--verbose |
--verbos |
--verbo |
--verb)
1093 -version |
--version |
--versio |
--versi |
--vers |
-V)
1094 ac_init_version
=: ;;
1097 ac_package
=`expr "x$ac_option" : 'x-*with-\([^=]*\)'`
1098 # Reject names that are not valid shell variable names.
1099 expr "x$ac_package" : ".*[^-_$as_cr_alnum]" >/dev
/null
&&
1100 { echo "$as_me: error: invalid package name: $ac_package" >&2
1101 { (exit 1); exit 1; }; }
1102 ac_package
=`echo $ac_package| sed 's/-/_/g'`
1103 eval with_
$ac_package=\
$ac_optarg ;;
1105 -without-* |
--without-*)
1106 ac_package
=`expr "x$ac_option" : 'x-*without-\(.*\)'`
1107 # Reject names that are not valid shell variable names.
1108 expr "x$ac_package" : ".*[^-_$as_cr_alnum]" >/dev
/null
&&
1109 { echo "$as_me: error: invalid package name: $ac_package" >&2
1110 { (exit 1); exit 1; }; }
1111 ac_package
=`echo $ac_package | sed 's/-/_/g'`
1112 eval with_
$ac_package=no
;;
1115 # Obsolete; use --with-x.
1118 -x-includes |
--x-includes |
--x-include |
--x-includ |
--x-inclu \
1119 |
--x-incl |
--x-inc |
--x-in |
--x-i)
1120 ac_prev
=x_includes
;;
1121 -x-includes=* |
--x-includes=* |
--x-include=* |
--x-includ=* |
--x-inclu=* \
1122 |
--x-incl=* |
--x-inc=* |
--x-in=* |
--x-i=*)
1123 x_includes
=$ac_optarg ;;
1125 -x-libraries |
--x-libraries |
--x-librarie |
--x-librari \
1126 |
--x-librar |
--x-libra |
--x-libr |
--x-lib |
--x-li |
--x-l)
1127 ac_prev
=x_libraries
;;
1128 -x-libraries=* |
--x-libraries=* |
--x-librarie=* |
--x-librari=* \
1129 |
--x-librar=* |
--x-libra=* |
--x-libr=* |
--x-lib=* |
--x-li=* |
--x-l=*)
1130 x_libraries
=$ac_optarg ;;
1132 -*) { echo "$as_me: error: unrecognized option: $ac_option
1133 Try \`$0 --help' for more information." >&2
1134 { (exit 1); exit 1; }; }
1138 ac_envvar
=`expr "x$ac_option" : 'x\([^=]*\)='`
1139 # Reject names that are not valid shell variable names.
1140 expr "x$ac_envvar" : ".*[^_$as_cr_alnum]" >/dev
/null
&&
1141 { echo "$as_me: error: invalid variable name: $ac_envvar" >&2
1142 { (exit 1); exit 1; }; }
1143 eval $ac_envvar=\
$ac_optarg
1144 export $ac_envvar ;;
1147 # FIXME: should be removed in autoconf 3.0.
1148 echo "$as_me: WARNING: you should use --build, --host, --target" >&2
1149 expr "x$ac_option" : ".*[^-._$as_cr_alnum]" >/dev
/null
&&
1150 echo "$as_me: WARNING: invalid host type: $ac_option" >&2
1151 : ${build_alias=$ac_option} ${host_alias=$ac_option} ${target_alias=$ac_option}
1157 if test -n "$ac_prev"; then
1158 ac_option
=--`echo $ac_prev | sed 's/_/-/g'`
1159 { echo "$as_me: error: missing argument to $ac_option" >&2
1160 { (exit 1); exit 1; }; }
1163 # Be sure to have absolute directory names.
1164 for ac_var
in exec_prefix prefix bindir sbindir libexecdir datarootdir \
1165 datadir sysconfdir sharedstatedir localstatedir includedir \
1166 oldincludedir docdir infodir htmldir dvidir pdfdir psdir \
1167 libdir localedir mandir
1169 eval ac_val
=\$
$ac_var
1171 [\\/$
]* | ?
:[\\/]* ) continue;;
1172 NONE |
'' ) case $ac_var in *prefix
) continue;; esac;;
1174 { echo "$as_me: error: expected an absolute directory name for --$ac_var: $ac_val" >&2
1175 { (exit 1); exit 1; }; }
1178 # There might be people who depend on the old broken behavior: `$host'
1179 # used to hold the argument of --host etc.
1180 # FIXME: To remove some day.
1183 target
=$target_alias
1185 # FIXME: To remove some day.
1186 if test "x$host_alias" != x
; then
1187 if test "x$build_alias" = x
; then
1188 cross_compiling
=maybe
1189 echo "$as_me: WARNING: If you wanted to set the --build type, don't use --host.
1190 If a cross compiler is detected then cross compile mode will be used." >&2
1191 elif test "x$build_alias" != "x$host_alias"; then
1197 test -n "$host_alias" && ac_tool_prefix
=$host_alias-
1199 test "$silent" = yes && exec 6>/dev
/null
1202 ac_pwd
=`pwd` && test -n "$ac_pwd" &&
1203 ac_ls_di
=`ls -di .` &&
1204 ac_pwd_ls_di
=`cd "$ac_pwd" && ls -di .` ||
1205 { echo "$as_me: error: Working directory cannot be determined" >&2
1206 { (exit 1); exit 1; }; }
1207 test "X$ac_ls_di" = "X$ac_pwd_ls_di" ||
1208 { echo "$as_me: error: pwd does not report name of working directory" >&2
1209 { (exit 1); exit 1; }; }
1212 # Find the source files, if location was not specified.
1213 if test -z "$srcdir"; then
1214 ac_srcdir_defaulted
=yes
1215 # Try the directory containing this script, then the parent directory.
1216 ac_confdir
=`$as_dirname -- "$0" ||
1217 $as_expr X"$0" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
1218 X"$0" : 'X\(//\)[^/]' \| \
1219 X"$0" : 'X\(//\)$' \| \
1220 X"$0" : 'X\(/\)' \| . 2>/dev/null ||
1222 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
1240 if test ! -r "$srcdir/$ac_unique_file"; then
1244 ac_srcdir_defaulted
=no
1246 if test ! -r "$srcdir/$ac_unique_file"; then
1247 test "$ac_srcdir_defaulted" = yes && srcdir
="$ac_confdir or .."
1248 { echo "$as_me: error: cannot find sources ($ac_unique_file) in $srcdir" >&2
1249 { (exit 1); exit 1; }; }
1251 ac_msg
="sources are in $srcdir, but \`cd $srcdir' does not work"
1253 cd "$srcdir" && test -r "./$ac_unique_file" || { echo "$as_me: error: $ac_msg" >&2
1254 { (exit 1); exit 1; }; }
1256 # When building in place, set srcdir=.
1257 if test "$ac_abs_confdir" = "$ac_pwd"; then
1260 # Remove unnecessary trailing slashes from srcdir.
1261 # Double slashes in file names in object file debugging info
1262 # mess up M-x gdb in Emacs.
1264 */) srcdir
=`expr "X$srcdir" : 'X\(.*[^/]\)' \| "X$srcdir" : 'X\(.*\)'`;;
1266 for ac_var
in $ac_precious_vars; do
1267 eval ac_env_
${ac_var}_set=\${${ac_var}+set}
1268 eval ac_env_
${ac_var}_value
=\$
${ac_var}
1269 eval ac_cv_env_
${ac_var}_set=\${${ac_var}+set}
1270 eval ac_cv_env_
${ac_var}_value
=\$
${ac_var}
1274 # Report the --help message.
1276 if test "$ac_init_help" = "long"; then
1277 # Omit some internal or obsolete options to make the list less imposing.
1278 # This message is too long to be a string in the A/UX 3.1 sh.
1280 \`configure' configures Wine 0.9.14 to adapt to many kinds of systems.
1282 Usage: $0 [OPTION]... [VAR=VALUE]...
1284 To assign environment variables (e.g., CC, CFLAGS...), specify them as
1285 VAR=VALUE. See below for descriptions of some of the useful variables.
1287 Defaults for the options are specified in brackets.
1290 -h, --help display this help and exit
1291 --help=short display options specific to this package
1292 --help=recursive display the short help of all the included packages
1293 -V, --version display version information and exit
1294 -q, --quiet, --silent do not print \`checking...' messages
1295 --cache-file=FILE cache test results in FILE [disabled]
1296 -C, --config-cache alias for \`--cache-file=config.cache'
1297 -n, --no-create do not create output files
1298 --srcdir=DIR find the sources in DIR [configure dir or \`..']
1300 Installation directories:
1301 --prefix=PREFIX install architecture-independent files in PREFIX
1302 [$ac_default_prefix]
1303 --exec-prefix=EPREFIX install architecture-dependent files in EPREFIX
1306 By default, \`make install' will install all the files in
1307 \`$ac_default_prefix/bin', \`$ac_default_prefix/lib' etc. You can specify
1308 an installation prefix other than \`$ac_default_prefix' using \`--prefix',
1309 for instance \`--prefix=\$HOME'.
1311 For better control, use the options below.
1313 Fine tuning of the installation directories:
1314 --bindir=DIR user executables [EPREFIX/bin]
1315 --sbindir=DIR system admin executables [EPREFIX/sbin]
1316 --libexecdir=DIR program executables [EPREFIX/libexec]
1317 --sysconfdir=DIR read-only single-machine data [PREFIX/etc]
1318 --sharedstatedir=DIR modifiable architecture-independent data [PREFIX/com]
1319 --localstatedir=DIR modifiable single-machine data [PREFIX/var]
1320 --libdir=DIR object code libraries [EPREFIX/lib]
1321 --includedir=DIR C header files [PREFIX/include]
1322 --oldincludedir=DIR C header files for non-gcc [/usr/include]
1323 --datarootdir=DIR read-only arch.-independent data root [PREFIX/share]
1324 --datadir=DIR read-only architecture-independent data [DATAROOTDIR]
1325 --infodir=DIR info documentation [DATAROOTDIR/info]
1326 --localedir=DIR locale-dependent data [DATAROOTDIR/locale]
1327 --mandir=DIR man documentation [DATAROOTDIR/man]
1328 --docdir=DIR documentation root [DATAROOTDIR/doc/wine]
1329 --htmldir=DIR html documentation [DOCDIR]
1330 --dvidir=DIR dvi documentation [DOCDIR]
1331 --pdfdir=DIR pdf documentation [DOCDIR]
1332 --psdir=DIR ps documentation [DOCDIR]
1338 --x-includes=DIR X include files are
in DIR
1339 --x-libraries=DIR X library files are
in DIR
1342 --build=BUILD configure
for building on BUILD
[guessed
]
1343 --host=HOST cross-compile to build programs to run on HOST
[BUILD
]
1347 if test -n "$ac_init_help"; then
1348 case $ac_init_help in
1349 short | recursive
) echo "Configuration of Wine 0.9.14:";;
1354 --disable-FEATURE do not include FEATURE
(same as
--enable-FEATURE=no
)
1355 --enable-FEATURE[=ARG
] include FEATURE
[ARG
=yes]
1356 --disable-win16 do not include Win16 support
1357 --enable-win64 build a Win64 emulator on AMD64
(won
't run Win32
1361 --with-PACKAGE[=ARG] use PACKAGE [ARG=yes]
1362 --without-PACKAGE do not use PACKAGE (same as --with-PACKAGE=no)
1363 --without-opengl do not use OpenGL
1364 --without-curses do not use curses
1365 --with-wine-tools=<dir> use Wine tools from directory <dir>
1366 --with-x use the X Window System
1368 Some influential environment variables:
1369 CC C compiler command
1370 CFLAGS C compiler flags
1371 LDFLAGS linker flags, e.g. -L<lib dir> if you have libraries in a
1372 nonstandard directory <lib dir>
1373 CPPFLAGS C/C++/Objective C preprocessor flags, e.g. -I<include dir> if
1374 you have headers in a nonstandard directory <include dir>
1375 CXX C++ compiler command
1376 CXXFLAGS C++ compiler flags
1377 XMKMF Path to xmkmf, Makefile generator for X Window System
1380 Use these variables to override the choices made by `configure' or to
help
1381 it to
find libraries and programs with nonstandard names
/locations.
1383 Report bugs to
<wine-devel@winehq.org
>.
1388 if test "$ac_init_help" = "recursive"; then
1389 # If there are subdirs, report their specific --help.
1390 for ac_dir
in : $ac_subdirs_all; do test "x$ac_dir" = x
: && continue
1391 test -d $ac_dir ||
continue
1395 .
) ac_dir_suffix
= ac_top_builddir_sub
=. ac_top_build_prefix
= ;;
1397 ac_dir_suffix
=/`echo "$ac_dir" | sed 's,^\.[\\/],,'`
1398 # A ".." for each directory in $ac_dir_suffix.
1399 ac_top_builddir_sub
=`echo "$ac_dir_suffix" | sed 's,/[^\\/]*,/..,g;s,/,,'`
1400 case $ac_top_builddir_sub in
1401 "") ac_top_builddir_sub
=. ac_top_build_prefix
= ;;
1402 *) ac_top_build_prefix
=$ac_top_builddir_sub/ ;;
1405 ac_abs_top_builddir
=$ac_pwd
1406 ac_abs_builddir
=$ac_pwd$ac_dir_suffix
1407 # for backward compatibility:
1408 ac_top_builddir
=$ac_top_build_prefix
1411 .
) # We are building in place.
1413 ac_top_srcdir
=$ac_top_builddir_sub
1414 ac_abs_top_srcdir
=$ac_pwd ;;
1415 [\\/]* | ?
:[\\/]* ) # Absolute name.
1416 ac_srcdir
=$srcdir$ac_dir_suffix;
1417 ac_top_srcdir
=$srcdir
1418 ac_abs_top_srcdir
=$srcdir ;;
1420 ac_srcdir
=$ac_top_build_prefix$srcdir$ac_dir_suffix
1421 ac_top_srcdir
=$ac_top_build_prefix$srcdir
1422 ac_abs_top_srcdir
=$ac_pwd/$srcdir ;;
1424 ac_abs_srcdir
=$ac_abs_top_srcdir$ac_dir_suffix
1426 cd "$ac_dir" ||
{ ac_status
=$?
; continue; }
1427 # Check for guested configure.
1428 if test -f $ac_srcdir/configure.gnu
; then
1430 $SHELL $ac_srcdir/configure.gnu
--help=recursive
1431 elif test -f $ac_srcdir/configure
; then
1433 $SHELL $ac_srcdir/configure
--help=recursive
1435 echo "$as_me: WARNING: no configuration information is in $ac_dir" >&2
1437 cd "$ac_pwd" ||
{ ac_status
=$?
; break; }
1441 test -n "$ac_init_help" && exit $ac_status
1442 if $ac_init_version; then
1444 Wine configure
0.9.14
1445 generated by GNU Autoconf
2.59d
1447 Copyright
(C
) 1992, 1993, 1994, 1995, 1996, 1998, 1999, 2000, 2001,
1448 2002, 2003, 2004, 2005, 2006 Free Software Foundation
, Inc.
1449 This configure
script is free software
; the Free Software Foundation
1450 gives unlimited permission to copy
, distribute and modify it.
1454 cat >config.log
<<_ACEOF
1455 This file contains any messages produced by compilers while
1456 running configure, to aid debugging if configure makes a mistake.
1458 It was created by Wine $as_me 0.9.14, which was
1459 generated by GNU Autoconf 2.59d. Invocation command line was
1471 hostname = `(hostname || uname -n) 2>/dev/null | sed 1q`
1472 uname -m = `(uname -m) 2>/dev/null || echo unknown`
1473 uname -r = `(uname -r) 2>/dev/null || echo unknown`
1474 uname -s = `(uname -s) 2>/dev/null || echo unknown`
1475 uname -v = `(uname -v) 2>/dev/null || echo unknown`
1477 /usr/bin/uname -p = `(/usr/bin/uname -p) 2>/dev/null || echo unknown`
1478 /bin/uname -X = `(/bin/uname -X) 2>/dev/null || echo unknown`
1480 /bin/arch = `(/bin/arch) 2>/dev/null || echo unknown`
1481 /usr/bin/arch -k = `(/usr/bin/arch -k) 2>/dev/null || echo unknown`
1482 /usr/convex/getsysinfo = `(/usr/convex/getsysinfo) 2>/dev/null || echo unknown`
1483 /usr/bin/hostinfo = `(/usr/bin/hostinfo) 2>/dev/null || echo unknown`
1484 /bin/machine = `(/bin/machine) 2>/dev/null || echo unknown`
1485 /usr/bin/oslevel = `(/usr/bin/oslevel) 2>/dev/null || echo unknown`
1486 /bin/universe = `(/bin/universe) 2>/dev/null || echo unknown`
1490 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
1494 test -z "$as_dir" && as_dir
=.
1495 echo "PATH: $as_dir"
1511 # Keep a trace of the command line.
1512 # Strip out --no-create and --no-recursion so they do not pile up.
1513 # Strip out --silent because we don't want to record it for future runs.
1514 # Also quote any args containing shell meta-characters.
1515 # Make two passes to allow for proper duplicate-argument suppression.
1520 ac_must_keep_next
=false
1526 -no-create |
--no-c* |
-n |
-no-recursion |
--no-r*) continue ;;
1527 -q |
-quiet |
--quiet |
--quie |
--qui |
--qu |
--q \
1528 |
-silent |
--silent |
--silen |
--sile |
--sil)
1531 ac_arg
=`echo "$ac_arg" | sed "s/'/'\\\\\\\\''/g"` ;;
1534 1) ac_configure_args0
="$ac_configure_args0 '$ac_arg'" ;;
1536 ac_configure_args1
="$ac_configure_args1 '$ac_arg'"
1537 if test $ac_must_keep_next = true
; then
1538 ac_must_keep_next
=false
# Got value, back to normal.
1541 *=* |
--config-cache |
-C |
-disable-* |
--disable-* \
1542 |
-enable-* |
--enable-* |
-gas |
--g* |
-nfp |
--nf* \
1543 |
-q |
-quiet |
--q* |
-silent |
--sil* |
-v |
-verb* \
1544 |
-with-* |
--with-* |
-without-* |
--without-* |
--x)
1545 case "$ac_configure_args0 " in
1546 "$ac_configure_args1"*" '$ac_arg' "* ) continue ;;
1549 -* ) ac_must_keep_next
=true
;;
1552 ac_configure_args
="$ac_configure_args$ac_sep'$ac_arg'"
1553 # Get rid of the leading space.
1559 $as_unset ac_configure_args0 ||
test "${ac_configure_args0+set}" != set ||
{ ac_configure_args0
=; export ac_configure_args0
; }
1560 $as_unset ac_configure_args1 ||
test "${ac_configure_args1+set}" != set ||
{ ac_configure_args1
=; export ac_configure_args1
; }
1562 # When interrupted or exit'd, cleanup temporary files, and complete
1563 # config.log. We remove comments because anyway the quotes in there
1564 # would cause problems or look ugly.
1565 # WARNING: Use '\'' to represent an apostrophe within the trap.
1566 # WARNING: Do not start the trap code with a newline, due to a FreeBSD 4.0 bug.
1567 trap 'exit_status=$?
1568 # Save into config.log some information that might help in debugging.
1573 ## ---------------- ##
1574 ## Cache variables. ##
1575 ## ---------------- ##
1578 # The following way of writing the cache mishandles newlines in values,
1580 for ac_var in `(set) 2>&1 | sed -n '\''s/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'\''`; do
1581 eval ac_val=\$$ac_var
1585 *_cv_*) { echo "$as_me:$LINENO: WARNING: Cache variable $ac_var contains a newline." >&5
1586 echo "$as_me: WARNING: Cache variable $ac_var contains a newline." >&2;} ;;
1589 _ | IFS | as_nl) ;; #(
1590 *) $as_unset $ac_var ;;
1595 case $as_nl`(ac_space='\'' '\''; set) 2>&1` in #(
1596 *${as_nl}ac_space=\ *)
1598 "s/'\''/'\''\\\\'\'''\''/g;
1599 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\''\\2'\''/p"
1602 sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
1610 ## ----------------- ##
1611 ## Output variables. ##
1612 ## ----------------- ##
1615 for ac_var in $ac_subst_vars
1617 eval ac_val=\$$ac_var
1618 echo "$ac_var='\''$ac_val'\''"
1622 if test -n "$ac_subst_files"; then
1624 ## ------------------- ##
1625 ## File substitutions. ##
1626 ## ------------------- ##
1629 for ac_var in $ac_subst_files
1631 eval ac_val=\$$ac_var
1632 echo "$ac_var='\''$ac_val'\''"
1637 if test -s confdefs.h; then
1647 test "$ac_signal" != 0 &&
1648 echo "$as_me: caught signal $ac_signal"
1649 echo "$as_me: exit $exit_status"
1651 rm -f core *.core core.conftest.* &&
1652 rm -f -r conftest* confdefs* conf$$* $ac_clean_files &&
1655 for ac_signal
in 1 2 13 15; do
1656 trap 'ac_signal='$ac_signal'; { (exit 1); exit 1; }' $ac_signal
1660 # confdefs.h avoids OS command line length limits that DEFS can exceed.
1661 rm -f -r conftest
* confdefs.h
1663 # Predefined preprocessor variables.
1665 cat >>confdefs.h
<<_ACEOF
1666 #define PACKAGE_NAME "$PACKAGE_NAME"
1670 cat >>confdefs.h
<<_ACEOF
1671 #define PACKAGE_TARNAME "$PACKAGE_TARNAME"
1675 cat >>confdefs.h
<<_ACEOF
1676 #define PACKAGE_VERSION "$PACKAGE_VERSION"
1680 cat >>confdefs.h
<<_ACEOF
1681 #define PACKAGE_STRING "$PACKAGE_STRING"
1685 cat >>confdefs.h
<<_ACEOF
1686 #define PACKAGE_BUGREPORT "$PACKAGE_BUGREPORT"
1690 # Let the site file select an alternate cache file if it wants to.
1691 # Prefer explicitly selected file to automatically selected ones.
1692 if test -n "$CONFIG_SITE"; then
1693 set x
"$CONFIG_SITE"
1694 elif test "x$prefix" != xNONE
; then
1695 set x
"$prefix/share/config.site" "$prefix/etc/config.site"
1697 set x
"$ac_default_prefix/share/config.site" \
1698 "$ac_default_prefix/etc/config.site"
1703 if test -r "$ac_site_file"; then
1704 { echo "$as_me:$LINENO: loading site script $ac_site_file" >&5
1705 echo "$as_me: loading site script $ac_site_file" >&6;}
1706 sed 's/^/| /' "$ac_site_file" >&5
1711 if test -r "$cache_file"; then
1712 # Some versions of bash will fail to source /dev/null (special
1713 # files actually), so we avoid doing that.
1714 if test -f "$cache_file"; then
1715 { echo "$as_me:$LINENO: loading cache $cache_file" >&5
1716 echo "$as_me: loading cache $cache_file" >&6;}
1718 [\\/]* | ?
:[\\/]* ) .
$cache_file;;
1719 *) . .
/$cache_file;;
1723 { echo "$as_me:$LINENO: creating cache $cache_file" >&5
1724 echo "$as_me: creating cache $cache_file" >&6;}
1728 # Check that the precious variables saved in the cache have kept the same
1730 ac_cache_corrupted
=false
1731 for ac_var
in $ac_precious_vars; do
1732 eval ac_old_set
=\
$ac_cv_env_${ac_var}_set
1733 eval ac_new_set
=\
$ac_env_${ac_var}_set
1734 eval ac_old_val
=\
$ac_cv_env_${ac_var}_value
1735 eval ac_new_val
=\
$ac_env_${ac_var}_value
1736 case $ac_old_set,$ac_new_set in
1738 { echo "$as_me:$LINENO: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&5
1739 echo "$as_me: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&2;}
1740 ac_cache_corrupted
=: ;;
1742 { echo "$as_me:$LINENO: error: \`$ac_var' was not set in the previous run" >&5
1743 echo "$as_me: error: \`$ac_var' was not set in the previous run" >&2;}
1744 ac_cache_corrupted
=: ;;
1747 if test "x$ac_old_val" != "x$ac_new_val"; then
1748 { echo "$as_me:$LINENO: error: \`$ac_var' has changed since the previous run:" >&5
1749 echo "$as_me: error: \`$ac_var' has changed since the previous run:" >&2;}
1750 { echo "$as_me:$LINENO: former value: $ac_old_val" >&5
1751 echo "$as_me: former value: $ac_old_val" >&2;}
1752 { echo "$as_me:$LINENO: current value: $ac_new_val" >&5
1753 echo "$as_me: current value: $ac_new_val" >&2;}
1754 ac_cache_corrupted
=:
1757 # Pass precious variables to config.status.
1758 if test "$ac_new_set" = set; then
1760 *\'*) ac_arg
=$ac_var=`echo "$ac_new_val" | sed "s/'/'\\\\\\\\''/g"` ;;
1761 *) ac_arg
=$ac_var=$ac_new_val ;;
1763 case " $ac_configure_args " in
1764 *" '$ac_arg' "*) ;; # Avoid dups. Use of quotes ensures accuracy.
1765 *) ac_configure_args
="$ac_configure_args '$ac_arg'" ;;
1769 if $ac_cache_corrupted; then
1770 { echo "$as_me:$LINENO: error: changes in the environment can compromise the build" >&5
1771 echo "$as_me: error: changes in the environment can compromise the build" >&2;}
1772 { { echo "$as_me:$LINENO: error: run \`make distclean' and/or \`rm $cache_file' and start over" >&5
1773 echo "$as_me: error: run \`make distclean' and/or \`rm $cache_file' and start over" >&2;}
1774 { (exit 1); exit 1; }; }
1802 ac_cpp
='$CPP $CPPFLAGS'
1803 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
1804 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
1805 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
1809 ac_config_headers
="$ac_config_headers include/config.h"
1812 for ac_dir
in tools
$srcdir/tools
; do
1813 if test -f $ac_dir/install-sh
; then
1815 ac_install_sh
="$ac_aux_dir/install-sh -c"
1817 elif test -f $ac_dir/install.sh
; then
1819 ac_install_sh
="$ac_aux_dir/install.sh -c"
1821 elif test -f $ac_dir/shtool
; then
1823 ac_install_sh
="$ac_aux_dir/shtool install -c"
1827 if test -z "$ac_aux_dir"; then
1828 { { echo "$as_me:$LINENO: error: cannot find install-sh or install.sh in tools $srcdir/tools" >&5
1829 echo "$as_me: error: cannot find install-sh or install.sh in tools $srcdir/tools" >&2;}
1830 { (exit 1); exit 1; }; }
1832 ac_config_guess
="$SHELL $ac_aux_dir/config.guess"
1833 ac_config_sub
="$SHELL $ac_aux_dir/config.sub"
1834 ac_configure
="$SHELL $ac_aux_dir/configure" # This should be Cygnus configure.
1838 # Check whether --enable-win16 was given.
1839 if test "${enable_win16+set}" = set; then
1840 enableval
=$enable_win16;
1843 # Check whether --enable-win64 was given.
1844 if test "${enable_win64+set}" = set; then
1845 enableval
=$enable_win64;
1850 # Check whether --with-opengl was given.
1851 if test "${with_opengl+set}" = set; then
1852 withval
=$with_opengl;
1856 # Check whether --with-curses was given.
1857 if test "${with_curses+set}" = set; then
1858 withval
=$with_curses;
1862 # Check whether --with-wine-tools was given.
1863 if test "${with_wine_tools+set}" = set; then
1864 withval
=$with_wine_tools;
1868 # Make sure we can run config.sub.
1869 $ac_config_sub sun4
>/dev
/null
2>&1 ||
1870 { { echo "$as_me:$LINENO: error: cannot run $ac_config_sub" >&5
1871 echo "$as_me: error: cannot run $ac_config_sub" >&2;}
1872 { (exit 1); exit 1; }; }
1874 { echo "$as_me:$LINENO: checking build system type" >&5
1875 echo $ECHO_N "checking build system type... $ECHO_C" >&6; }
1876 if test "${ac_cv_build+set}" = set; then
1877 echo $ECHO_N "(cached) $ECHO_C" >&6
1879 ac_build_alias
=$build_alias
1880 test "x$ac_build_alias" = x
&&
1881 ac_build_alias
=`$ac_config_guess`
1882 test "x$ac_build_alias" = x
&&
1883 { { echo "$as_me:$LINENO: error: cannot guess build type; you must specify one" >&5
1884 echo "$as_me: error: cannot guess build type; you must specify one" >&2;}
1885 { (exit 1); exit 1; }; }
1886 ac_cv_build
=`$ac_config_sub $ac_build_alias` ||
1887 { { echo "$as_me:$LINENO: error: $ac_config_sub $ac_build_alias failed" >&5
1888 echo "$as_me: error: $ac_config_sub $ac_build_alias failed" >&2;}
1889 { (exit 1); exit 1; }; }
1892 { echo "$as_me:$LINENO: result: $ac_cv_build" >&5
1893 echo "${ECHO_T}$ac_cv_build" >&6; }
1894 case $ac_cv_build in
1896 *) { { echo "$as_me:$LINENO: error: invalid value of canonical build" >&5
1897 echo "$as_me: error: invalid value of canonical build" >&2;}
1898 { (exit 1); exit 1; }; };;
1901 ac_save_IFS
=$IFS; IFS
='-'
1907 # Remember, the first character of IFS is used to create $*,
1908 # except with old shells:
1911 case $build_os in *\
*) build_os
=`echo "$build_os" | sed 's/ /-/g'`;; esac
1914 { echo "$as_me:$LINENO: checking host system type" >&5
1915 echo $ECHO_N "checking host system type... $ECHO_C" >&6; }
1916 if test "${ac_cv_host+set}" = set; then
1917 echo $ECHO_N "(cached) $ECHO_C" >&6
1919 if test "x$host_alias" = x
; then
1920 ac_cv_host
=$ac_cv_build
1922 ac_cv_host
=`$ac_config_sub $host_alias` ||
1923 { { echo "$as_me:$LINENO: error: $ac_config_sub $host_alias failed" >&5
1924 echo "$as_me: error: $ac_config_sub $host_alias failed" >&2;}
1925 { (exit 1); exit 1; }; }
1929 { echo "$as_me:$LINENO: result: $ac_cv_host" >&5
1930 echo "${ECHO_T}$ac_cv_host" >&6; }
1933 *) { { echo "$as_me:$LINENO: error: invalid value of canonical host" >&5
1934 echo "$as_me: error: invalid value of canonical host" >&2;}
1935 { (exit 1); exit 1; }; };;
1938 ac_save_IFS
=$IFS; IFS
='-'
1944 # Remember, the first character of IFS is used to create $*,
1945 # except with old shells:
1948 case $host_os in *\
*) host_os
=`echo "$host_os" | sed 's/ /-/g'`;; esac
1953 if test "x$enable_win64" != "xyes"
1955 test -n "$CC" || CC
="gcc -m32"
1956 test -n "$LD" || LD
="ld -m elf_i386"
1957 test -n "$AS" || AS
="as --32"
1965 if test "x$enable_win16" != "xno"
1972 WIN16_FILES
="\$(WIN16_FILES)"
1974 WIN16_INSTALL
="\$(WIN16_INSTALL)"
1976 if test "x$enable_win16" != "xyes"
1983 { echo "$as_me:$LINENO: checking whether ${MAKE-make} sets \$(MAKE)" >&5
1984 echo $ECHO_N "checking whether ${MAKE-make} sets \$(MAKE)... $ECHO_C" >&6; }
1985 set dummy
${MAKE-make}; ac_make
=`echo "$2" | sed 'y,:./+-,___p_,'`
1986 if { as_var
=ac_cv_prog_make_
${ac_make}_set; eval "test \"\${$as_var+set}\" = set"; }; then
1987 echo $ECHO_N "(cached) $ECHO_C" >&6
1989 cat >conftest.
make <<\_ACEOF
1992 @
echo 'ac_maketemp=X"$(MAKE)"'
1994 # GNU make sometimes prints "make[1]: Entering...", which would confuse us.
1995 eval `${MAKE-make} -f conftest.make 2>/dev/null | grep temp=`
1996 if test "$ac_maketemp" != X
; then
1997 eval ac_cv_prog_make_
${ac_make}_set
=yes
1999 eval ac_cv_prog_make_
${ac_make}_set
=no
2003 if eval "test \"`echo '$ac_cv_prog_make_'${ac_make}_set`\" = yes"; then
2004 { echo "$as_me:$LINENO: result: yes" >&5
2005 echo "${ECHO_T}yes" >&6; }
2008 { echo "$as_me:$LINENO: result: no" >&5
2009 echo "${ECHO_T}no" >&6; }
2010 SET_MAKE
="MAKE=${MAKE-make}"
2014 ac_cpp
='$CPP $CPPFLAGS'
2015 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
2016 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
2017 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
2018 if test -n "$ac_tool_prefix"; then
2019 # Extract the first word of "${ac_tool_prefix}gcc", so it can be a program name with args.
2020 set dummy
${ac_tool_prefix}gcc
; ac_word
=$2
2021 { echo "$as_me:$LINENO: checking for $ac_word" >&5
2022 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
2023 if test "${ac_cv_prog_CC+set}" = set; then
2024 echo $ECHO_N "(cached) $ECHO_C" >&6
2026 if test -n "$CC"; then
2027 ac_cv_prog_CC
="$CC" # Let the user override the test.
2029 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
2033 test -z "$as_dir" && as_dir
=.
2034 for ac_exec_ext
in '' $ac_executable_extensions; do
2035 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; }; then
2036 ac_cv_prog_CC
="${ac_tool_prefix}gcc"
2037 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
2047 if test -n "$CC"; then
2048 { echo "$as_me:$LINENO: result: $CC" >&5
2049 echo "${ECHO_T}$CC" >&6; }
2051 { echo "$as_me:$LINENO: result: no" >&5
2052 echo "${ECHO_T}no" >&6; }
2057 if test -z "$ac_cv_prog_CC"; then
2059 # Extract the first word of "gcc", so it can be a program name with args.
2060 set dummy gcc
; ac_word
=$2
2061 { echo "$as_me:$LINENO: checking for $ac_word" >&5
2062 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
2063 if test "${ac_cv_prog_ac_ct_CC+set}" = set; then
2064 echo $ECHO_N "(cached) $ECHO_C" >&6
2066 if test -n "$ac_ct_CC"; then
2067 ac_cv_prog_ac_ct_CC
="$ac_ct_CC" # Let the user override the test.
2069 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
2073 test -z "$as_dir" && as_dir
=.
2074 for ac_exec_ext
in '' $ac_executable_extensions; do
2075 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; }; then
2076 ac_cv_prog_ac_ct_CC
="gcc"
2077 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
2086 ac_ct_CC
=$ac_cv_prog_ac_ct_CC
2087 if test -n "$ac_ct_CC"; then
2088 { echo "$as_me:$LINENO: result: $ac_ct_CC" >&5
2089 echo "${ECHO_T}$ac_ct_CC" >&6; }
2091 { echo "$as_me:$LINENO: result: no" >&5
2092 echo "${ECHO_T}no" >&6; }
2095 if test "x$ac_ct_CC" = x
; then
2098 case $cross_compiling:$ac_tool_warned in
2100 { echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools
2101 whose name does not start with the host triplet. If you think this
2102 configuration is useful to you, please write to autoconf@gnu.org." >&5
2103 echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools
2104 whose name does not start with the host triplet. If you think this
2105 configuration is useful to you, please write to autoconf@gnu.org." >&2;}
2106 ac_tool_warned
=yes ;;
2114 if test -z "$CC"; then
2115 if test -n "$ac_tool_prefix"; then
2116 # Extract the first word of "${ac_tool_prefix}cc", so it can be a program name with args.
2117 set dummy
${ac_tool_prefix}cc
; ac_word
=$2
2118 { echo "$as_me:$LINENO: checking for $ac_word" >&5
2119 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
2120 if test "${ac_cv_prog_CC+set}" = set; then
2121 echo $ECHO_N "(cached) $ECHO_C" >&6
2123 if test -n "$CC"; then
2124 ac_cv_prog_CC
="$CC" # Let the user override the test.
2126 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
2130 test -z "$as_dir" && as_dir
=.
2131 for ac_exec_ext
in '' $ac_executable_extensions; do
2132 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; }; then
2133 ac_cv_prog_CC
="${ac_tool_prefix}cc"
2134 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
2144 if test -n "$CC"; then
2145 { echo "$as_me:$LINENO: result: $CC" >&5
2146 echo "${ECHO_T}$CC" >&6; }
2148 { echo "$as_me:$LINENO: result: no" >&5
2149 echo "${ECHO_T}no" >&6; }
2155 if test -z "$CC"; then
2156 # Extract the first word of "cc", so it can be a program name with args.
2157 set dummy cc
; ac_word
=$2
2158 { echo "$as_me:$LINENO: checking for $ac_word" >&5
2159 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
2160 if test "${ac_cv_prog_CC+set}" = set; then
2161 echo $ECHO_N "(cached) $ECHO_C" >&6
2163 if test -n "$CC"; then
2164 ac_cv_prog_CC
="$CC" # Let the user override the test.
2167 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
2171 test -z "$as_dir" && as_dir
=.
2172 for ac_exec_ext
in '' $ac_executable_extensions; do
2173 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; }; then
2174 if test "$as_dir/$ac_word$ac_exec_ext" = "/usr/ucb/cc"; then
2175 ac_prog_rejected
=yes
2179 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
2186 if test $ac_prog_rejected = yes; then
2187 # We found a bogon in the path, so make sure we never use it.
2188 set dummy
$ac_cv_prog_CC
2190 if test $# != 0; then
2191 # We chose a different compiler from the bogus one.
2192 # However, it has the same basename, so the bogon will be chosen
2193 # first if we set CC to just the basename; use the full file name.
2195 ac_cv_prog_CC
="$as_dir/$ac_word${1+' '}$@"
2201 if test -n "$CC"; then
2202 { echo "$as_me:$LINENO: result: $CC" >&5
2203 echo "${ECHO_T}$CC" >&6; }
2205 { echo "$as_me:$LINENO: result: no" >&5
2206 echo "${ECHO_T}no" >&6; }
2211 if test -z "$CC"; then
2212 if test -n "$ac_tool_prefix"; then
2213 for ac_prog
in cl.exe
2215 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
2216 set dummy
$ac_tool_prefix$ac_prog; ac_word
=$2
2217 { echo "$as_me:$LINENO: checking for $ac_word" >&5
2218 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
2219 if test "${ac_cv_prog_CC+set}" = set; then
2220 echo $ECHO_N "(cached) $ECHO_C" >&6
2222 if test -n "$CC"; then
2223 ac_cv_prog_CC
="$CC" # Let the user override the test.
2225 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
2229 test -z "$as_dir" && as_dir
=.
2230 for ac_exec_ext
in '' $ac_executable_extensions; do
2231 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; }; then
2232 ac_cv_prog_CC
="$ac_tool_prefix$ac_prog"
2233 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
2243 if test -n "$CC"; then
2244 { echo "$as_me:$LINENO: result: $CC" >&5
2245 echo "${ECHO_T}$CC" >&6; }
2247 { echo "$as_me:$LINENO: result: no" >&5
2248 echo "${ECHO_T}no" >&6; }
2252 test -n "$CC" && break
2255 if test -z "$CC"; then
2257 for ac_prog
in cl.exe
2259 # Extract the first word of "$ac_prog", so it can be a program name with args.
2260 set dummy
$ac_prog; ac_word
=$2
2261 { echo "$as_me:$LINENO: checking for $ac_word" >&5
2262 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
2263 if test "${ac_cv_prog_ac_ct_CC+set}" = set; then
2264 echo $ECHO_N "(cached) $ECHO_C" >&6
2266 if test -n "$ac_ct_CC"; then
2267 ac_cv_prog_ac_ct_CC
="$ac_ct_CC" # Let the user override the test.
2269 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
2273 test -z "$as_dir" && as_dir
=.
2274 for ac_exec_ext
in '' $ac_executable_extensions; do
2275 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; }; then
2276 ac_cv_prog_ac_ct_CC
="$ac_prog"
2277 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
2286 ac_ct_CC
=$ac_cv_prog_ac_ct_CC
2287 if test -n "$ac_ct_CC"; then
2288 { echo "$as_me:$LINENO: result: $ac_ct_CC" >&5
2289 echo "${ECHO_T}$ac_ct_CC" >&6; }
2291 { echo "$as_me:$LINENO: result: no" >&5
2292 echo "${ECHO_T}no" >&6; }
2296 test -n "$ac_ct_CC" && break
2299 if test "x$ac_ct_CC" = x
; then
2302 case $cross_compiling:$ac_tool_warned in
2304 { echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools
2305 whose name does not start with the host triplet. If you think this
2306 configuration is useful to you, please write to autoconf@gnu.org." >&5
2307 echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools
2308 whose name does not start with the host triplet. If you think this
2309 configuration is useful to you, please write to autoconf@gnu.org." >&2;}
2310 ac_tool_warned
=yes ;;
2319 test -z "$CC" && { { echo "$as_me:$LINENO: error: no acceptable C compiler found in \$PATH
2320 See \`config.log' for more details." >&5
2321 echo "$as_me: error: no acceptable C compiler found in \$PATH
2322 See \`config.log' for more details." >&2;}
2323 { (exit 1); exit 1; }; }
2325 # Provide some information about the compiler.
2326 echo "$as_me:$LINENO: checking for C compiler version" >&5
2327 ac_compiler
=`set X $ac_compile; echo $2`
2328 { (eval echo "$as_me:$LINENO: \"$ac_compiler --version >&5\"") >&5
2329 (eval $ac_compiler --version >&5) 2>&5
2331 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2332 (exit $ac_status); }
2333 { (eval echo "$as_me:$LINENO: \"$ac_compiler -v >&5\"") >&5
2334 (eval $ac_compiler -v >&5) 2>&5
2336 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2337 (exit $ac_status); }
2338 { (eval echo "$as_me:$LINENO: \"$ac_compiler -V >&5\"") >&5
2339 (eval $ac_compiler -V >&5) 2>&5
2341 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2342 (exit $ac_status); }
2345 # List of possible output files. We want to start from the most likely,
2346 # but we have to check foo.exe before foo, because Cygwin `test -f' looks
2347 # also for foo.exe. b.out is created by i960 compilers.
2348 # As a last resort, we also try wildcards: `conftest.*' and `a.*'.
2349 # But we are not allowed to rm a.*, and we do not want always remove
2350 # conftest.*, so we will list them literally, when appropriate.
2351 ac_outfiles
="a_out.exe a.out conftest.exe conftest a.exe b.out"
2353 # The IRIX 6 linker writes into existing files which may not be
2354 # executable, retaining their permissions. Remove them first so a
2355 # subsequent execution test works.
2356 rm -f $ac_outfiles conftest.
*
2358 cat >conftest.
$ac_ext <<_ACEOF
2361 cat confdefs.h
>>conftest.
$ac_ext
2362 cat >>conftest.
$ac_ext <<_ACEOF
2363 /* end confdefs.h. */
2374 ac_clean_files_save
=$ac_clean_files
2375 ac_clean_files
="$ac_clean_files $ac_outfiles"
2377 # The following tests should remove their output except files matching conftest.*.
2378 # Try to create an executable without -o first, disregard a.out.
2379 # It will help us diagnose broken compilers, and finding out an intuition
2381 { echo "$as_me:$LINENO: checking for C compiler default output file name" >&5
2382 echo $ECHO_N "checking for C compiler default output file name... $ECHO_C" >&6; }
2383 ac_link_default
=`echo "$ac_link" | sed 's/ -o *conftest[^ ]*//'`
2385 if { (eval echo "$as_me:$LINENO: \"$ac_link_default\"") >&5
2386 (eval $ac_link_default) 2>&5
2388 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2389 (exit $ac_status); }; then
2390 for ac_file
in $ac_outfiles a.
* conftest.
* NO
2392 test -f "$ac_file" ||
continue
2394 *.
$ac_ext |
*.xcoff |
*.tds |
*.d |
*.pdb |
*.xSYM |
*.bb |
*.bbg |
*.map |
*.inf |
*.o |
*.obj
) ;;
2398 if test "$ac_file" = NO
; then
2399 { { echo "$as_me:$LINENO: error: no output file found
2400 See \`config.log' for more details." >&5
2401 echo "$as_me: error: no output file found
2402 See \`config.log' for more details." >&2;}
2403 { (exit 1); exit 1; }; }
2408 echo "$as_me: failed program was:" >&5
2409 sed 's/^/| /' conftest.
$ac_ext >&5
2411 { { echo "$as_me:$LINENO: error: C compiler cannot create executables
2412 See \`config.log' for more details." >&5
2413 echo "$as_me: error: C compiler cannot create executables
2414 See \`config.log' for more details." >&2;}
2415 { (exit 77); exit 77; }; }
2418 { echo "$as_me:$LINENO: result: $ac_file" >&5
2419 echo "${ECHO_T}$ac_file" >&6; }
2420 # Check that the compiler produces executables we can run. If not, either
2421 # the compiler is broken, or we cross compile.
2422 { echo "$as_me:$LINENO: checking whether the C compiler works" >&5
2423 echo $ECHO_N "checking whether the C compiler works... $ECHO_C" >&6; }
2424 # FIXME: These cross compiler hacks should be removed for Autoconf 3.0
2425 # If not cross compiling, check that we can run a simple program.
2426 if test "$cross_compiling" != yes; then
2427 if { ac_try
='./$ac_file'
2428 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2431 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2432 (exit $ac_status); }; }; then
2435 if test "$cross_compiling" = maybe
; then
2438 { { echo "$as_me:$LINENO: error: cannot run C compiled programs.
2439 If you meant to cross compile, use \`--host'.
2440 See \`config.log' for more details." >&5
2441 echo "$as_me: error: cannot run C compiled programs.
2442 If you meant to cross compile, use \`--host'.
2443 See \`config.log' for more details." >&2;}
2444 { (exit 1); exit 1; }; }
2448 { echo "$as_me:$LINENO: result: yes" >&5
2449 echo "${ECHO_T}yes" >&6; }
2451 # Clean up; list also $ac_file, in case it matched a wildcard entry.
2452 rm -f $ac_outfiles $ac_file
2454 { echo "$as_me:$LINENO: checking whether we are cross compiling" >&5
2455 echo $ECHO_N "checking whether we are cross compiling... $ECHO_C" >&6; }
2456 { echo "$as_me:$LINENO: result: $cross_compiling" >&5
2457 echo "${ECHO_T}$cross_compiling" >&6; }
2459 { echo "$as_me:$LINENO: checking for suffix of executables" >&5
2460 echo $ECHO_N "checking for suffix of executables... $ECHO_C" >&6; }
2461 if test "${ac_cv_exeext+set}" = set; then
2462 echo $ECHO_N "(cached) $ECHO_C" >&6
2464 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
2465 (eval $ac_link) 2>&5
2467 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2468 (exit $ac_status); }; then
2469 # If both `conftest.exe' and `conftest' are `present' (well, observable),
2470 # catch `conftest.exe'. For instance with Cygwin, `ls conftest' will
2471 # work properly (i.e., refer to `conftest.exe'), while it won't with `rm'.
2472 for ac_file
in conftest.exe conftest conftest.
* NO
; do
2473 test -f "$ac_file" ||
continue
2475 *.
$ac_ext |
*.xcoff |
*.tds |
*.d |
*.pdb |
*.xSYM |
*.bb |
*.bbg |
*.map |
*.inf |
*.o |
*.obj
) ;;
2476 *.
* ) ac_cv_exeext
=`expr "$ac_file" : '[^.]*\(\..*\)'`
2481 if test "$ac_file" = NO
; then
2482 { { echo "$as_me:$LINENO: error: cannot compute suffix of executables: no output file found
2483 See \`config.log' for more details." >&5
2484 echo "$as_me: error: cannot compute suffix of executables: no output file found
2485 See \`config.log' for more details." >&2;}
2486 { (exit 1); exit 1; }; }
2489 # Clean up; list also $ac_file, in case it matched conftest.*.
2490 rm -f $ac_outfiles $ac_file
2493 { { echo "$as_me:$LINENO: error: cannot compute suffix of executables: cannot compile and link
2494 See \`config.log' for more details." >&5
2495 echo "$as_me: error: cannot compute suffix of executables: cannot compile and link
2496 See \`config.log' for more details." >&2;}
2497 { (exit 1); exit 1; }; }
2503 { echo "$as_me:$LINENO: result: $ac_cv_exeext" >&5
2504 echo "${ECHO_T}$ac_cv_exeext" >&6; }
2505 EXEEXT
=$ac_cv_exeext
2509 ac_clean_files
=$ac_clean_files_save
2511 { echo "$as_me:$LINENO: checking for suffix of object files" >&5
2512 echo $ECHO_N "checking for suffix of object files... $ECHO_C" >&6; }
2513 if test "${ac_cv_objext+set}" = set; then
2514 echo $ECHO_N "(cached) $ECHO_C" >&6
2516 rm -f conftest.o conftest.obj
2517 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
2518 (eval $ac_compile) 2>&5
2520 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2521 (exit $ac_status); }; then
2522 for ac_file
in conftest.o conftest.obj conftest.
*; do
2523 test -f "$ac_file" ||
continue;
2525 *.
$ac_ext |
*.xcoff |
*.tds |
*.d |
*.pdb |
*.xSYM |
*.bb |
*.bbg |
*.map |
*.inf
) ;;
2526 *) ac_cv_objext
=`expr "$ac_file" : '.*\.\(.*\)'`
2531 echo "$as_me: failed program was:" >&5
2532 sed 's/^/| /' conftest.
$ac_ext >&5
2534 { { echo "$as_me:$LINENO: error: cannot compute suffix of object files: cannot compile
2535 See \`config.log' for more details." >&5
2536 echo "$as_me: error: cannot compute suffix of object files: cannot compile
2537 See \`config.log' for more details." >&2;}
2538 { (exit 1); exit 1; }; }
2542 { echo "$as_me:$LINENO: result: $ac_cv_objext" >&5
2543 echo "${ECHO_T}$ac_cv_objext" >&6; }
2544 OBJEXT
=$ac_cv_objext
2549 { echo "$as_me:$LINENO: checking whether we are using the GNU C compiler" >&5
2550 echo $ECHO_N "checking whether we are using the GNU C compiler... $ECHO_C" >&6; }
2551 if test "${ac_cv_c_compiler_gnu+set}" = set; then
2552 echo $ECHO_N "(cached) $ECHO_C" >&6
2554 cat >conftest.
$ac_ext <<_ACEOF
2557 cat confdefs.h
>>conftest.
$ac_ext
2558 cat >>conftest.
$ac_ext <<_ACEOF
2559 /* end confdefs.h. */
2572 rm -f conftest.
$ac_objext
2573 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
2574 (eval $ac_compile) 2>conftest.er1
2576 grep -v '^ *+' conftest.er1
>conftest.err
2578 cat conftest.err
>&5
2579 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2580 (exit $ac_status); } &&
2581 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
2582 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2585 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2586 (exit $ac_status); }; } &&
2587 { ac_try
='test -s conftest.$ac_objext'
2588 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2591 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2592 (exit $ac_status); }; }; then
2595 echo "$as_me: failed program was:" >&5
2596 sed 's/^/| /' conftest.
$ac_ext >&5
2601 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
2602 ac_cv_c_compiler_gnu
=$ac_compiler_gnu
2605 { echo "$as_me:$LINENO: result: $ac_cv_c_compiler_gnu" >&5
2606 echo "${ECHO_T}$ac_cv_c_compiler_gnu" >&6; }
2607 GCC
=`test $ac_compiler_gnu = yes && echo yes`
2608 ac_test_CFLAGS
=${CFLAGS+set}
2609 ac_save_CFLAGS
=$CFLAGS
2610 { echo "$as_me:$LINENO: checking whether $CC accepts -g" >&5
2611 echo $ECHO_N "checking whether $CC accepts -g... $ECHO_C" >&6; }
2612 if test "${ac_cv_prog_cc_g+set}" = set; then
2613 echo $ECHO_N "(cached) $ECHO_C" >&6
2615 ac_save_c_werror_flag
=$ac_c_werror_flag
2616 ac_c_werror_flag
=yes
2619 cat >conftest.
$ac_ext <<_ACEOF
2622 cat confdefs.h
>>conftest.
$ac_ext
2623 cat >>conftest.
$ac_ext <<_ACEOF
2624 /* end confdefs.h. */
2634 rm -f conftest.
$ac_objext
2635 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
2636 (eval $ac_compile) 2>conftest.er1
2638 grep -v '^ *+' conftest.er1
>conftest.err
2640 cat conftest.err
>&5
2641 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2642 (exit $ac_status); } &&
2643 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
2644 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2647 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2648 (exit $ac_status); }; } &&
2649 { ac_try
='test -s conftest.$ac_objext'
2650 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2653 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2654 (exit $ac_status); }; }; then
2657 echo "$as_me: failed program was:" >&5
2658 sed 's/^/| /' conftest.
$ac_ext >&5
2661 cat >conftest.
$ac_ext <<_ACEOF
2664 cat confdefs.h
>>conftest.
$ac_ext
2665 cat >>conftest.
$ac_ext <<_ACEOF
2666 /* end confdefs.h. */
2676 rm -f conftest.
$ac_objext
2677 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
2678 (eval $ac_compile) 2>conftest.er1
2680 grep -v '^ *+' conftest.er1
>conftest.err
2682 cat conftest.err
>&5
2683 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2684 (exit $ac_status); } &&
2685 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
2686 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2689 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2690 (exit $ac_status); }; } &&
2691 { ac_try
='test -s conftest.$ac_objext'
2692 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2695 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2696 (exit $ac_status); }; }; then
2699 echo "$as_me: failed program was:" >&5
2700 sed 's/^/| /' conftest.
$ac_ext >&5
2702 ac_c_werror_flag
=$ac_save_c_werror_flag
2704 cat >conftest.
$ac_ext <<_ACEOF
2707 cat confdefs.h
>>conftest.
$ac_ext
2708 cat >>conftest.
$ac_ext <<_ACEOF
2709 /* end confdefs.h. */
2719 rm -f conftest.
$ac_objext
2720 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
2721 (eval $ac_compile) 2>conftest.er1
2723 grep -v '^ *+' conftest.er1
>conftest.err
2725 cat conftest.err
>&5
2726 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2727 (exit $ac_status); } &&
2728 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
2729 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2732 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2733 (exit $ac_status); }; } &&
2734 { ac_try
='test -s conftest.$ac_objext'
2735 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2738 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2739 (exit $ac_status); }; }; then
2742 echo "$as_me: failed program was:" >&5
2743 sed 's/^/| /' conftest.
$ac_ext >&5
2748 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
2751 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
2754 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
2755 ac_c_werror_flag
=$ac_save_c_werror_flag
2757 { echo "$as_me:$LINENO: result: $ac_cv_prog_cc_g" >&5
2758 echo "${ECHO_T}$ac_cv_prog_cc_g" >&6; }
2759 if test "$ac_test_CFLAGS" = set; then
2760 CFLAGS
=$ac_save_CFLAGS
2761 elif test $ac_cv_prog_cc_g = yes; then
2762 if test "$GCC" = yes; then
2768 if test "$GCC" = yes; then
2774 { echo "$as_me:$LINENO: checking for $CC option to accept ISO C89" >&5
2775 echo $ECHO_N "checking for $CC option to accept ISO C89... $ECHO_C" >&6; }
2776 if test "${ac_cv_prog_cc_c89+set}" = set; then
2777 echo $ECHO_N "(cached) $ECHO_C" >&6
2779 ac_cv_prog_cc_c89
=no
2781 cat >conftest.
$ac_ext <<_ACEOF
2784 cat confdefs.h
>>conftest.
$ac_ext
2785 cat >>conftest.
$ac_ext <<_ACEOF
2786 /* end confdefs.h. */
2789 #include <sys/types.h>
2790 #include <sys/stat.h>
2791 /* Most of the following tests are stolen from RCS 5.7's src/conf.sh. */
2792 struct buf { int x; };
2793 FILE * (*rcsopen) (struct buf *, struct stat *, int);
2794 static char *e (p, i)
2800 static char *f (char * (*g) (char **, int), char **p, ...)
2805 s = g (p, va_arg (v,int));
2810 /* OSF 4.0 Compaq cc is some sort of almost-ANSI by default. It has
2811 function prototypes and stuff, but not '\xHH' hex character constants.
2812 These don't provoke an error unfortunately, instead are silently treated
2813 as 'x'. The following induces an error, until -std is added to get
2814 proper ANSI mode. Curiously '\x00'!='x' always comes out true, for an
2815 array size at least. It's necessary to write '\x00'==0 to get something
2816 that's true only with -std. */
2817 int osf4_cc_array ['\x00' == 0 ? 1 : -1];
2819 int test (int i, double x);
2820 struct s1 {int (*f) (int a);};
2821 struct s2 {int (*f) (double a);};
2822 int pairnames (int, char **, FILE *(*)(struct buf *, struct stat *, int), int, int);
2828 return f (e, argv, 0) != argv[0] || f (e, argv, 1) != argv[1];
2833 for ac_arg
in '' -qlanglvl=extc89
-qlanglvl=ansi
-std \
2834 -Ae "-Aa -D_HPUX_SOURCE" "-Xc -D__EXTENSIONS__"
2836 CC
="$ac_save_CC $ac_arg"
2837 rm -f conftest.
$ac_objext
2838 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
2839 (eval $ac_compile) 2>conftest.er1
2841 grep -v '^ *+' conftest.er1
>conftest.err
2843 cat conftest.err
>&5
2844 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2845 (exit $ac_status); } &&
2846 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
2847 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2850 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2851 (exit $ac_status); }; } &&
2852 { ac_try
='test -s conftest.$ac_objext'
2853 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2856 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2857 (exit $ac_status); }; }; then
2858 ac_cv_prog_cc_c89
=$ac_arg
2860 echo "$as_me: failed program was:" >&5
2861 sed 's/^/| /' conftest.
$ac_ext >&5
2866 rm -f conftest.err conftest.
$ac_objext
2867 test "x$ac_cv_prog_cc_c89" != "xno" && break
2869 rm -f conftest.
$ac_ext
2874 case "x$ac_cv_prog_cc_c89" in
2876 { echo "$as_me:$LINENO: result: none needed" >&5
2877 echo "${ECHO_T}none needed" >&6; } ;;
2879 { echo "$as_me:$LINENO: result: unsupported" >&5
2880 echo "${ECHO_T}unsupported" >&6; } ;;
2882 CC
="$CC $ac_cv_prog_cc_c89"
2883 { echo "$as_me:$LINENO: result: $ac_cv_prog_cc_c89" >&5
2884 echo "${ECHO_T}$ac_cv_prog_cc_c89" >&6; } ;;
2889 ac_cpp
='$CPP $CPPFLAGS'
2890 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
2891 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
2892 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
2895 ac_cpp
='$CXXCPP $CPPFLAGS'
2896 ac_compile
='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
2897 ac_link
='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
2898 ac_compiler_gnu
=$ac_cv_cxx_compiler_gnu
2899 if test -z "$CXX"; then
2900 if test -n "$CCC"; then
2903 if test -n "$ac_tool_prefix"; then
2904 for ac_prog
in g
++ c
++ gpp aCC CC cxx cc
++ cl.exe FCC KCC RCC xlC_r xlC
2906 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
2907 set dummy
$ac_tool_prefix$ac_prog; ac_word
=$2
2908 { echo "$as_me:$LINENO: checking for $ac_word" >&5
2909 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
2910 if test "${ac_cv_prog_CXX+set}" = set; then
2911 echo $ECHO_N "(cached) $ECHO_C" >&6
2913 if test -n "$CXX"; then
2914 ac_cv_prog_CXX
="$CXX" # Let the user override the test.
2916 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
2920 test -z "$as_dir" && as_dir
=.
2921 for ac_exec_ext
in '' $ac_executable_extensions; do
2922 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; }; then
2923 ac_cv_prog_CXX
="$ac_tool_prefix$ac_prog"
2924 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
2934 if test -n "$CXX"; then
2935 { echo "$as_me:$LINENO: result: $CXX" >&5
2936 echo "${ECHO_T}$CXX" >&6; }
2938 { echo "$as_me:$LINENO: result: no" >&5
2939 echo "${ECHO_T}no" >&6; }
2943 test -n "$CXX" && break
2946 if test -z "$CXX"; then
2948 for ac_prog
in g
++ c
++ gpp aCC CC cxx cc
++ cl.exe FCC KCC RCC xlC_r xlC
2950 # Extract the first word of "$ac_prog", so it can be a program name with args.
2951 set dummy
$ac_prog; ac_word
=$2
2952 { echo "$as_me:$LINENO: checking for $ac_word" >&5
2953 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
2954 if test "${ac_cv_prog_ac_ct_CXX+set}" = set; then
2955 echo $ECHO_N "(cached) $ECHO_C" >&6
2957 if test -n "$ac_ct_CXX"; then
2958 ac_cv_prog_ac_ct_CXX
="$ac_ct_CXX" # Let the user override the test.
2960 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
2964 test -z "$as_dir" && as_dir
=.
2965 for ac_exec_ext
in '' $ac_executable_extensions; do
2966 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; }; then
2967 ac_cv_prog_ac_ct_CXX
="$ac_prog"
2968 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
2977 ac_ct_CXX
=$ac_cv_prog_ac_ct_CXX
2978 if test -n "$ac_ct_CXX"; then
2979 { echo "$as_me:$LINENO: result: $ac_ct_CXX" >&5
2980 echo "${ECHO_T}$ac_ct_CXX" >&6; }
2982 { echo "$as_me:$LINENO: result: no" >&5
2983 echo "${ECHO_T}no" >&6; }
2987 test -n "$ac_ct_CXX" && break
2990 if test "x$ac_ct_CXX" = x
; then
2993 case $cross_compiling:$ac_tool_warned in
2995 { echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools
2996 whose name does not start with the host triplet. If you think this
2997 configuration is useful to you, please write to autoconf@gnu.org." >&5
2998 echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools
2999 whose name does not start with the host triplet. If you think this
3000 configuration is useful to you, please write to autoconf@gnu.org." >&2;}
3001 ac_tool_warned
=yes ;;
3009 # Provide some information about the compiler.
3010 echo "$as_me:$LINENO: checking for C++ compiler version" >&5
3011 ac_compiler
=`set X $ac_compile; echo $2`
3012 { (eval echo "$as_me:$LINENO: \"$ac_compiler --version >&5\"") >&5
3013 (eval $ac_compiler --version >&5) 2>&5
3015 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3016 (exit $ac_status); }
3017 { (eval echo "$as_me:$LINENO: \"$ac_compiler -v >&5\"") >&5
3018 (eval $ac_compiler -v >&5) 2>&5
3020 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3021 (exit $ac_status); }
3022 { (eval echo "$as_me:$LINENO: \"$ac_compiler -V >&5\"") >&5
3023 (eval $ac_compiler -V >&5) 2>&5
3025 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3026 (exit $ac_status); }
3028 { echo "$as_me:$LINENO: checking whether we are using the GNU C++ compiler" >&5
3029 echo $ECHO_N "checking whether we are using the GNU C++ compiler... $ECHO_C" >&6; }
3030 if test "${ac_cv_cxx_compiler_gnu+set}" = set; then
3031 echo $ECHO_N "(cached) $ECHO_C" >&6
3033 cat >conftest.
$ac_ext <<_ACEOF
3036 cat confdefs.h
>>conftest.
$ac_ext
3037 cat >>conftest.
$ac_ext <<_ACEOF
3038 /* end confdefs.h. */
3051 rm -f conftest.
$ac_objext
3052 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
3053 (eval $ac_compile) 2>conftest.er1
3055 grep -v '^ *+' conftest.er1
>conftest.err
3057 cat conftest.err
>&5
3058 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3059 (exit $ac_status); } &&
3060 { ac_try
='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
3061 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3064 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3065 (exit $ac_status); }; } &&
3066 { ac_try
='test -s conftest.$ac_objext'
3067 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3070 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3071 (exit $ac_status); }; }; then
3074 echo "$as_me: failed program was:" >&5
3075 sed 's/^/| /' conftest.
$ac_ext >&5
3080 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
3081 ac_cv_cxx_compiler_gnu
=$ac_compiler_gnu
3084 { echo "$as_me:$LINENO: result: $ac_cv_cxx_compiler_gnu" >&5
3085 echo "${ECHO_T}$ac_cv_cxx_compiler_gnu" >&6; }
3086 GXX
=`test $ac_compiler_gnu = yes && echo yes`
3087 ac_test_CXXFLAGS
=${CXXFLAGS+set}
3088 ac_save_CXXFLAGS
=$CXXFLAGS
3089 { echo "$as_me:$LINENO: checking whether $CXX accepts -g" >&5
3090 echo $ECHO_N "checking whether $CXX accepts -g... $ECHO_C" >&6; }
3091 if test "${ac_cv_prog_cxx_g+set}" = set; then
3092 echo $ECHO_N "(cached) $ECHO_C" >&6
3094 ac_save_cxx_werror_flag
=$ac_cxx_werror_flag
3095 ac_cxx_werror_flag
=yes
3098 cat >conftest.
$ac_ext <<_ACEOF
3101 cat confdefs.h
>>conftest.
$ac_ext
3102 cat >>conftest.
$ac_ext <<_ACEOF
3103 /* end confdefs.h. */
3113 rm -f conftest.
$ac_objext
3114 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
3115 (eval $ac_compile) 2>conftest.er1
3117 grep -v '^ *+' conftest.er1
>conftest.err
3119 cat conftest.err
>&5
3120 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3121 (exit $ac_status); } &&
3122 { ac_try
='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
3123 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3126 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3127 (exit $ac_status); }; } &&
3128 { ac_try
='test -s conftest.$ac_objext'
3129 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3132 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3133 (exit $ac_status); }; }; then
3134 ac_cv_prog_cxx_g
=yes
3136 echo "$as_me: failed program was:" >&5
3137 sed 's/^/| /' conftest.
$ac_ext >&5
3140 cat >conftest.
$ac_ext <<_ACEOF
3143 cat confdefs.h
>>conftest.
$ac_ext
3144 cat >>conftest.
$ac_ext <<_ACEOF
3145 /* end confdefs.h. */
3155 rm -f conftest.
$ac_objext
3156 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
3157 (eval $ac_compile) 2>conftest.er1
3159 grep -v '^ *+' conftest.er1
>conftest.err
3161 cat conftest.err
>&5
3162 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3163 (exit $ac_status); } &&
3164 { ac_try
='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
3165 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3168 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3169 (exit $ac_status); }; } &&
3170 { ac_try
='test -s conftest.$ac_objext'
3171 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3174 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3175 (exit $ac_status); }; }; then
3178 echo "$as_me: failed program was:" >&5
3179 sed 's/^/| /' conftest.
$ac_ext >&5
3181 ac_cxx_werror_flag
=$ac_save_cxx_werror_flag
3183 cat >conftest.
$ac_ext <<_ACEOF
3186 cat confdefs.h
>>conftest.
$ac_ext
3187 cat >>conftest.
$ac_ext <<_ACEOF
3188 /* end confdefs.h. */
3198 rm -f conftest.
$ac_objext
3199 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
3200 (eval $ac_compile) 2>conftest.er1
3202 grep -v '^ *+' conftest.er1
>conftest.err
3204 cat conftest.err
>&5
3205 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3206 (exit $ac_status); } &&
3207 { ac_try
='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
3208 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3211 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3212 (exit $ac_status); }; } &&
3213 { ac_try
='test -s conftest.$ac_objext'
3214 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3217 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3218 (exit $ac_status); }; }; then
3219 ac_cv_prog_cxx_g
=yes
3221 echo "$as_me: failed program was:" >&5
3222 sed 's/^/| /' conftest.
$ac_ext >&5
3227 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
3230 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
3233 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
3234 ac_cxx_werror_flag
=$ac_save_cxx_werror_flag
3236 { echo "$as_me:$LINENO: result: $ac_cv_prog_cxx_g" >&5
3237 echo "${ECHO_T}$ac_cv_prog_cxx_g" >&6; }
3238 if test "$ac_test_CXXFLAGS" = set; then
3239 CXXFLAGS
=$ac_save_CXXFLAGS
3240 elif test $ac_cv_prog_cxx_g = yes; then
3241 if test "$GXX" = yes; then
3247 if test "$GXX" = yes; then
3254 ac_cpp
='$CPP $CPPFLAGS'
3255 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
3256 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
3257 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
3259 if test -n "$ac_tool_prefix"; then
3260 # Extract the first word of "${ac_tool_prefix}cpp", so it can be a program name with args.
3261 set dummy
${ac_tool_prefix}cpp
; ac_word
=$2
3262 { echo "$as_me:$LINENO: checking for $ac_word" >&5
3263 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
3264 if test "${ac_cv_prog_CPPBIN+set}" = set; then
3265 echo $ECHO_N "(cached) $ECHO_C" >&6
3267 if test -n "$CPPBIN"; then
3268 ac_cv_prog_CPPBIN
="$CPPBIN" # Let the user override the test.
3270 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
3274 test -z "$as_dir" && as_dir
=.
3275 for ac_exec_ext
in '' $ac_executable_extensions; do
3276 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; }; then
3277 ac_cv_prog_CPPBIN
="${ac_tool_prefix}cpp"
3278 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
3287 CPPBIN
=$ac_cv_prog_CPPBIN
3288 if test -n "$CPPBIN"; then
3289 { echo "$as_me:$LINENO: result: $CPPBIN" >&5
3290 echo "${ECHO_T}$CPPBIN" >&6; }
3292 { echo "$as_me:$LINENO: result: no" >&5
3293 echo "${ECHO_T}no" >&6; }
3298 if test -z "$ac_cv_prog_CPPBIN"; then
3299 ac_ct_CPPBIN
=$CPPBIN
3300 # Extract the first word of "cpp", so it can be a program name with args.
3301 set dummy cpp
; ac_word
=$2
3302 { echo "$as_me:$LINENO: checking for $ac_word" >&5
3303 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
3304 if test "${ac_cv_prog_ac_ct_CPPBIN+set}" = set; then
3305 echo $ECHO_N "(cached) $ECHO_C" >&6
3307 if test -n "$ac_ct_CPPBIN"; then
3308 ac_cv_prog_ac_ct_CPPBIN
="$ac_ct_CPPBIN" # Let the user override the test.
3310 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
3314 test -z "$as_dir" && as_dir
=.
3315 for ac_exec_ext
in '' $ac_executable_extensions; do
3316 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; }; then
3317 ac_cv_prog_ac_ct_CPPBIN
="cpp"
3318 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
3327 ac_ct_CPPBIN
=$ac_cv_prog_ac_ct_CPPBIN
3328 if test -n "$ac_ct_CPPBIN"; then
3329 { echo "$as_me:$LINENO: result: $ac_ct_CPPBIN" >&5
3330 echo "${ECHO_T}$ac_ct_CPPBIN" >&6; }
3332 { echo "$as_me:$LINENO: result: no" >&5
3333 echo "${ECHO_T}no" >&6; }
3336 if test "x$ac_ct_CPPBIN" = x
; then
3339 case $cross_compiling:$ac_tool_warned in
3341 { echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools
3342 whose name does not start with the host triplet. If you think this
3343 configuration is useful to you, please write to autoconf@gnu.org." >&5
3344 echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools
3345 whose name does not start with the host triplet. If you think this
3346 configuration is useful to you, please write to autoconf@gnu.org." >&2;}
3347 ac_tool_warned
=yes ;;
3349 CPPBIN
=$ac_ct_CPPBIN
3352 CPPBIN
="$ac_cv_prog_CPPBIN"
3356 { echo "$as_me:$LINENO: checking for the directory containing the Wine tools" >&5
3357 echo $ECHO_N "checking for the directory containing the Wine tools... $ECHO_C" >&6; }
3358 if test "${wine_cv_toolsdir+set}" = set; then
3359 echo $ECHO_N "(cached) $ECHO_C" >&6
3361 if test -z "$with_wine_tools"; then
3362 if test "$cross_compiling" = "yes"; then
3363 { { echo "$as_me:$LINENO: error: you must use the --with-wine-tools option when cross-compiling." >&5
3364 echo "$as_me: error: you must use the --with-wine-tools option when cross-compiling." >&2;}
3365 { (exit 1); exit 1; }; }
3367 wine_cv_toolsdir
="\$(TOPOBJDIR)"
3369 elif test -d "$with_wine_tools/tools/winebuild"; then
3370 case $with_wine_tools in
3371 /*) wine_cv_toolsdir
="$with_wine_tools" ;;
3372 *) wine_cv_toolsdir
="\$(TOPOBJDIR)/$with_wine_tools" ;;
3375 { { echo "$as_me:$LINENO: error: could not find Wine tools in $with_wine_tools." >&5
3376 echo "$as_me: error: could not find Wine tools in $with_wine_tools." >&2;}
3377 { (exit 1); exit 1; }; }
3380 { echo "$as_me:$LINENO: result: $wine_cv_toolsdir" >&5
3381 echo "${ECHO_T}$wine_cv_toolsdir" >&6; }
3382 TOOLSDIR
=$wine_cv_toolsdir
3387 ac_cpp
='$CPP $CPPFLAGS'
3388 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
3389 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
3390 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
3391 { echo "$as_me:$LINENO: checking how to run the C preprocessor" >&5
3392 echo $ECHO_N "checking how to run the C preprocessor... $ECHO_C" >&6; }
3393 # On Suns, sometimes $CPP names a directory.
3394 if test -n "$CPP" && test -d "$CPP"; then
3397 if test -z "$CPP"; then
3398 if test "${ac_cv_prog_CPP+set}" = set; then
3399 echo $ECHO_N "(cached) $ECHO_C" >&6
3401 # Double quotes because CPP needs to be expanded
3402 for CPP
in "$CC -E" "$CC -E -traditional-cpp" "/lib/cpp"
3405 for ac_c_preproc_warn_flag
in '' yes
3407 # Use a header file that comes with gcc, so configuring glibc
3408 # with a fresh cross-compiler works.
3409 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
3410 # <limits.h> exists even on freestanding compilers.
3411 # On the NeXT, cc -E runs the code through the compiler's parser,
3412 # not just through cpp. "Syntax error" is here to catch this case.
3413 cat >conftest.
$ac_ext <<_ACEOF
3416 cat confdefs.h
>>conftest.
$ac_ext
3417 cat >>conftest.
$ac_ext <<_ACEOF
3418 /* end confdefs.h. */
3420 # include <limits.h>
3422 # include <assert.h>
3426 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
3427 (eval $ac_cpp conftest.
$ac_ext) 2>conftest.er1
3429 grep -v '^ *+' conftest.er1
>conftest.err
3431 cat conftest.err
>&5
3432 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3433 (exit $ac_status); } >/dev
/null
; then
3434 if test -s conftest.err
; then
3435 ac_cpp_err
=$ac_c_preproc_warn_flag
3436 ac_cpp_err
=$ac_cpp_err$ac_c_werror_flag
3443 if test -z "$ac_cpp_err"; then
3446 echo "$as_me: failed program was:" >&5
3447 sed 's/^/| /' conftest.
$ac_ext >&5
3449 # Broken: fails on valid input.
3453 rm -f conftest.err conftest.
$ac_ext
3455 # OK, works on sane cases. Now check whether nonexistent headers
3456 # can be detected and how.
3457 cat >conftest.
$ac_ext <<_ACEOF
3460 cat confdefs.h
>>conftest.
$ac_ext
3461 cat >>conftest.
$ac_ext <<_ACEOF
3462 /* end confdefs.h. */
3463 #include <ac_nonexistent.h>
3465 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
3466 (eval $ac_cpp conftest.
$ac_ext) 2>conftest.er1
3468 grep -v '^ *+' conftest.er1
>conftest.err
3470 cat conftest.err
>&5
3471 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3472 (exit $ac_status); } >/dev
/null
; then
3473 if test -s conftest.err
; then
3474 ac_cpp_err
=$ac_c_preproc_warn_flag
3475 ac_cpp_err
=$ac_cpp_err$ac_c_werror_flag
3482 if test -z "$ac_cpp_err"; then
3483 # Broken: success on invalid input.
3486 echo "$as_me: failed program was:" >&5
3487 sed 's/^/| /' conftest.
$ac_ext >&5
3489 # Passes both tests.
3494 rm -f conftest.err conftest.
$ac_ext
3497 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
3498 rm -f conftest.err conftest.
$ac_ext
3499 if $ac_preproc_ok; then
3511 { echo "$as_me:$LINENO: result: $CPP" >&5
3512 echo "${ECHO_T}$CPP" >&6; }
3514 for ac_c_preproc_warn_flag
in '' yes
3516 # Use a header file that comes with gcc, so configuring glibc
3517 # with a fresh cross-compiler works.
3518 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
3519 # <limits.h> exists even on freestanding compilers.
3520 # On the NeXT, cc -E runs the code through the compiler's parser,
3521 # not just through cpp. "Syntax error" is here to catch this case.
3522 cat >conftest.
$ac_ext <<_ACEOF
3525 cat confdefs.h
>>conftest.
$ac_ext
3526 cat >>conftest.
$ac_ext <<_ACEOF
3527 /* end confdefs.h. */
3529 # include <limits.h>
3531 # include <assert.h>
3535 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
3536 (eval $ac_cpp conftest.
$ac_ext) 2>conftest.er1
3538 grep -v '^ *+' conftest.er1
>conftest.err
3540 cat conftest.err
>&5
3541 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3542 (exit $ac_status); } >/dev
/null
; then
3543 if test -s conftest.err
; then
3544 ac_cpp_err
=$ac_c_preproc_warn_flag
3545 ac_cpp_err
=$ac_cpp_err$ac_c_werror_flag
3552 if test -z "$ac_cpp_err"; then
3555 echo "$as_me: failed program was:" >&5
3556 sed 's/^/| /' conftest.
$ac_ext >&5
3558 # Broken: fails on valid input.
3562 rm -f conftest.err conftest.
$ac_ext
3564 # OK, works on sane cases. Now check whether nonexistent headers
3565 # can be detected and how.
3566 cat >conftest.
$ac_ext <<_ACEOF
3569 cat confdefs.h
>>conftest.
$ac_ext
3570 cat >>conftest.
$ac_ext <<_ACEOF
3571 /* end confdefs.h. */
3572 #include <ac_nonexistent.h>
3574 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
3575 (eval $ac_cpp conftest.
$ac_ext) 2>conftest.er1
3577 grep -v '^ *+' conftest.er1
>conftest.err
3579 cat conftest.err
>&5
3580 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3581 (exit $ac_status); } >/dev
/null
; then
3582 if test -s conftest.err
; then
3583 ac_cpp_err
=$ac_c_preproc_warn_flag
3584 ac_cpp_err
=$ac_cpp_err$ac_c_werror_flag
3591 if test -z "$ac_cpp_err"; then
3592 # Broken: success on invalid input.
3595 echo "$as_me: failed program was:" >&5
3596 sed 's/^/| /' conftest.
$ac_ext >&5
3598 # Passes both tests.
3603 rm -f conftest.err conftest.
$ac_ext
3606 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
3607 rm -f conftest.err conftest.
$ac_ext
3608 if $ac_preproc_ok; then
3611 { { echo "$as_me:$LINENO: error: C preprocessor \"$CPP\" fails sanity check
3612 See \`config.log' for more details." >&5
3613 echo "$as_me: error: C preprocessor \"$CPP\" fails sanity check
3614 See \`config.log' for more details." >&2;}
3615 { (exit 1); exit 1; }; }
3619 ac_cpp
='$CPP $CPPFLAGS'
3620 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
3621 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
3622 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
3626 if test "x$ac_path_x_has_been_run" != xyes
; then
3627 { echo "$as_me:$LINENO: checking for X" >&5
3628 echo $ECHO_N "checking for X... $ECHO_C" >&6; }
3630 ac_path_x_has_been_run
=yes
3632 # Check whether --with-x was given.
3633 if test "${with_x+set}" = set; then
3637 # $have_x is `yes', `no', `disabled', or empty when we do not yet know.
3638 if test "x$with_x" = xno
; then
3639 # The user explicitly disabled X.
3642 if test "x$x_includes" != xNONE
&& test "x$x_libraries" != xNONE
; then
3643 # Both variables are already set.
3646 if test "${ac_cv_have_x+set}" = set; then
3647 echo $ECHO_N "(cached) $ECHO_C" >&6
3649 # One or both of the vars are not set, and there is no cached value.
3650 ac_x_includes
=no ac_x_libraries
=no
3651 rm -f -r conftest.dir
3652 if mkdir conftest.dir
; then
3654 # Make sure to not put "make" in the Imakefile rules, since we grep it out.
3655 cat >Imakefile
<<'_ACEOF'
3657 @echo 'ac_im_incroot="${INCROOT}"; ac_im_usrlibdir="${USRLIBDIR}"; ac_im_libdir="${LIBDIR}"'
3659 if (export CC
; ${XMKMF-xmkmf}) >/dev
/null
2>/dev
/null
&& test -f Makefile
; then
3660 # GNU make sometimes prints "make[1]: Entering...", which would confuse us.
3661 eval `${MAKE-make} acfindx 2>/dev/null | grep -v make`
3662 # Open Windows xmkmf reportedly sets LIBDIR instead of USRLIBDIR.
3663 for ac_extension
in a so sl
; do
3664 if test ! -f $ac_im_usrlibdir/libX11.
$ac_extension &&
3665 test -f $ac_im_libdir/libX11.
$ac_extension; then
3666 ac_im_usrlibdir
=$ac_im_libdir; break
3669 # Screen out bogus values from the imake configuration. They are
3670 # bogus both because they are the default anyway, and because
3671 # using them would break gcc on systems where it needs fixed includes.
3672 case $ac_im_incroot in
3673 /usr
/include
) ac_x_includes
= ;;
3674 *) test -f "$ac_im_incroot/X11/Xos.h" && ac_x_includes
=$ac_im_incroot;;
3676 case $ac_im_usrlibdir in
3678 *) test -d "$ac_im_usrlibdir" && ac_x_libraries
=$ac_im_usrlibdir ;;
3682 rm -f -r conftest.dir
3685 # Standard set of common directories for X headers.
3686 # Check X11 before X11Rn because it is often a symlink to the current release.
3698 /usr/local/X11/include
3699 /usr/local/X11R6/include
3700 /usr/local/X11R5/include
3701 /usr/local/X11R4/include
3703 /usr/local/include/X11
3704 /usr/local/include/X11R6
3705 /usr/local/include/X11R5
3706 /usr/local/include/X11R4
3710 /usr/XFree86/include/X11
3714 /usr/unsupported/include
3716 /usr/local/x11r5/include
3717 /usr/lpp/Xamples/include
3719 /usr/openwin/include
3720 /usr/openwin/share/include'
3722 if test "$ac_x_includes" = no
; then
3723 # Guess where to find include files, by looking for Xlib.h.
3724 # First, try using that file with no special directory specified.
3725 cat >conftest.
$ac_ext <<_ACEOF
3728 cat confdefs.h
>>conftest.
$ac_ext
3729 cat >>conftest.
$ac_ext <<_ACEOF
3730 /* end confdefs.h. */
3731 #include <X11/Xlib.h.h>
3733 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
3734 (eval $ac_cpp conftest.
$ac_ext) 2>conftest.er1
3736 grep -v '^ *+' conftest.er1
>conftest.err
3738 cat conftest.err
>&5
3739 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3740 (exit $ac_status); } >/dev
/null
; then
3741 if test -s conftest.err
; then
3742 ac_cpp_err
=$ac_c_preproc_warn_flag
3743 ac_cpp_err
=$ac_cpp_err$ac_c_werror_flag
3750 if test -z "$ac_cpp_err"; then
3751 # We can compile using X headers with no special include directory.
3754 echo "$as_me: failed program was:" >&5
3755 sed 's/^/| /' conftest.
$ac_ext >&5
3757 for ac_dir
in $ac_x_header_dirs; do
3758 if test -r "$ac_dir/X11/Xlib.h"; then
3759 ac_x_includes
=$ac_dir
3765 rm -f conftest.err conftest.
$ac_ext
3766 fi # $ac_x_includes = no
3768 if test "$ac_x_libraries" = no
; then
3769 # Check for the libraries.
3770 # See if we find them without any special options.
3771 # Don't add to $LIBS permanently.
3774 cat >conftest.
$ac_ext <<_ACEOF
3777 cat confdefs.h
>>conftest.
$ac_ext
3778 cat >>conftest.
$ac_ext <<_ACEOF
3779 /* end confdefs.h. */
3780 #include <X11/Xlib.h>
3789 rm -f conftest.
$ac_objext conftest
$ac_exeext
3790 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
3791 (eval $ac_link) 2>conftest.er1
3793 grep -v '^ *+' conftest.er1
>conftest.err
3795 cat conftest.err
>&5
3796 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3797 (exit $ac_status); } &&
3798 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
3799 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3802 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3803 (exit $ac_status); }; } &&
3804 { ac_try
='test -s conftest$ac_exeext'
3805 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3808 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3809 (exit $ac_status); }; }; then
3811 # We can link X programs with no special library path.
3814 echo "$as_me: failed program was:" >&5
3815 sed 's/^/| /' conftest.
$ac_ext >&5
3818 for ac_dir
in `echo "$ac_x_includes $ac_x_header_dirs" | sed s/include/lib/g`
3820 # Don't even attempt the hair of trying to link an X program!
3821 for ac_extension
in a so sl
; do
3822 if test -r $ac_dir/libX11.
$ac_extension; then
3823 ac_x_libraries
=$ac_dir
3830 rm -f conftest.err conftest.
$ac_objext \
3831 conftest
$ac_exeext conftest.
$ac_ext
3832 fi # $ac_x_libraries = no
3834 if test "$ac_x_includes" = no ||
test "$ac_x_libraries" = no
; then
3835 # Didn't find X anywhere. Cache the known absence of X.
3836 ac_cv_have_x
="have_x=no"
3838 # Record where we found X for the cache.
3839 ac_cv_have_x
="have_x=yes \
3840 ac_x_includes=$ac_x_includes ac_x_libraries=$ac_x_libraries"
3845 eval "$ac_cv_have_x"
3848 if test "$have_x" != yes; then
3849 { echo "$as_me:$LINENO: result: $have_x" >&5
3850 echo "${ECHO_T}$have_x" >&6; }
3853 # If each of the values was on the command line, it overrides each guess.
3854 test "x$x_includes" = xNONE
&& x_includes
=$ac_x_includes
3855 test "x$x_libraries" = xNONE
&& x_libraries
=$ac_x_libraries
3856 # Update the cache value to reflect the command line values.
3857 ac_cv_have_x
="have_x=yes \
3858 ac_x_includes=$x_includes ac_x_libraries=$x_libraries"
3859 # It might be that x_includes is empty (headers are found in the
3860 # standard search path. Then output the corresponding message
3861 ac_out_x_includes
=$x_includes
3862 test "x$x_includes" = x
&& ac_out_x_includes
="in standard search path"
3863 { echo "$as_me:$LINENO: result: libraries $x_libraries, headers $ac_out_x_includes" >&5
3864 echo "${ECHO_T}libraries $x_libraries, headers $ac_out_x_includes" >&6; }
3868 if test "$no_x" = yes; then
3869 # Not all programs may use this symbol, but it does not hurt to define it.
3871 cat >>confdefs.h
<<\_ACEOF
3872 #define X_DISPLAY_MISSING 1
3875 X_CFLAGS
= X_PRE_LIBS
= X_LIBS
= X_EXTRA_LIBS
=
3877 if test -n "$x_includes"; then
3878 X_CFLAGS
="$X_CFLAGS -I$x_includes"
3881 # It would also be nice to do this for all -L options, not just this one.
3882 if test -n "$x_libraries"; then
3883 X_LIBS
="$X_LIBS -L$x_libraries"
3884 # For Solaris; some versions of Sun CC require a space after -R and
3885 # others require no space. Words are not sufficient . . . .
3886 case `(uname -sr) 2>/dev/null` in
3888 { echo "$as_me:$LINENO: checking whether -R must be followed by a space" >&5
3889 echo $ECHO_N "checking whether -R must be followed by a space... $ECHO_C" >&6; }
3890 ac_xsave_LIBS
=$LIBS; LIBS
="$LIBS -R$x_libraries"
3891 cat >conftest.
$ac_ext <<_ACEOF
3894 cat confdefs.h
>>conftest.
$ac_ext
3895 cat >>conftest.
$ac_ext <<_ACEOF
3896 /* end confdefs.h. */
3906 rm -f conftest.
$ac_objext conftest
$ac_exeext
3907 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
3908 (eval $ac_link) 2>conftest.er1
3910 grep -v '^ *+' conftest.er1
>conftest.err
3912 cat conftest.err
>&5
3913 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3914 (exit $ac_status); } &&
3915 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
3916 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3919 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3920 (exit $ac_status); }; } &&
3921 { ac_try
='test -s conftest$ac_exeext'
3922 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3925 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3926 (exit $ac_status); }; }; then
3929 echo "$as_me: failed program was:" >&5
3930 sed 's/^/| /' conftest.
$ac_ext >&5
3935 rm -f conftest.err conftest.
$ac_objext \
3936 conftest
$ac_exeext conftest.
$ac_ext
3937 if test $ac_R_nospace = yes; then
3938 { echo "$as_me:$LINENO: result: no" >&5
3939 echo "${ECHO_T}no" >&6; }
3940 X_LIBS
="$X_LIBS -R$x_libraries"
3942 LIBS
="$ac_xsave_LIBS -R $x_libraries"
3943 cat >conftest.
$ac_ext <<_ACEOF
3946 cat confdefs.h
>>conftest.
$ac_ext
3947 cat >>conftest.
$ac_ext <<_ACEOF
3948 /* end confdefs.h. */
3958 rm -f conftest.
$ac_objext conftest
$ac_exeext
3959 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
3960 (eval $ac_link) 2>conftest.er1
3962 grep -v '^ *+' conftest.er1
>conftest.err
3964 cat conftest.err
>&5
3965 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3966 (exit $ac_status); } &&
3967 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
3968 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3971 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3972 (exit $ac_status); }; } &&
3973 { ac_try
='test -s conftest$ac_exeext'
3974 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3977 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3978 (exit $ac_status); }; }; then
3981 echo "$as_me: failed program was:" >&5
3982 sed 's/^/| /' conftest.
$ac_ext >&5
3987 rm -f conftest.err conftest.
$ac_objext \
3988 conftest
$ac_exeext conftest.
$ac_ext
3989 if test $ac_R_space = yes; then
3990 { echo "$as_me:$LINENO: result: yes" >&5
3991 echo "${ECHO_T}yes" >&6; }
3992 X_LIBS
="$X_LIBS -R $x_libraries"
3994 { echo "$as_me:$LINENO: result: neither works" >&5
3995 echo "${ECHO_T}neither works" >&6; }
4002 # Check for system-dependent libraries X programs must link with.
4003 # Do this before checking for the system-independent R6 libraries
4004 # (-lICE), since we may need -lsocket or whatever for X linking.
4006 if test "$ISC" = yes; then
4007 X_EXTRA_LIBS
="$X_EXTRA_LIBS -lnsl_s -linet"
4009 # Martyn Johnson says this is needed for Ultrix, if the X
4010 # libraries were built with DECnet support. And Karl Berry says
4011 # the Alpha needs dnet_stub (dnet does not exist).
4012 ac_xsave_LIBS
="$LIBS"; LIBS
="$LIBS $X_LIBS -lX11"
4013 cat >conftest.
$ac_ext <<_ACEOF
4016 cat confdefs.h
>>conftest.
$ac_ext
4017 cat >>conftest.
$ac_ext <<_ACEOF
4018 /* end confdefs.h. */
4020 /* Override any GCC internal prototype to avoid an error.
4021 Use char because int might match the return type of a GCC
4022 builtin and then its argument prototype would still apply. */
4026 char XOpenDisplay ();
4030 return XOpenDisplay ();
4035 rm -f conftest.
$ac_objext conftest
$ac_exeext
4036 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
4037 (eval $ac_link) 2>conftest.er1
4039 grep -v '^ *+' conftest.er1
>conftest.err
4041 cat conftest.err
>&5
4042 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4043 (exit $ac_status); } &&
4044 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
4045 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
4048 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4049 (exit $ac_status); }; } &&
4050 { ac_try
='test -s conftest$ac_exeext'
4051 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
4054 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4055 (exit $ac_status); }; }; then
4058 echo "$as_me: failed program was:" >&5
4059 sed 's/^/| /' conftest.
$ac_ext >&5
4061 { echo "$as_me:$LINENO: checking for dnet_ntoa in -ldnet" >&5
4062 echo $ECHO_N "checking for dnet_ntoa in -ldnet... $ECHO_C" >&6; }
4063 if test "${ac_cv_lib_dnet_dnet_ntoa+set}" = set; then
4064 echo $ECHO_N "(cached) $ECHO_C" >&6
4066 ac_check_lib_save_LIBS
=$LIBS
4068 cat >conftest.
$ac_ext <<_ACEOF
4071 cat confdefs.h
>>conftest.
$ac_ext
4072 cat >>conftest.
$ac_ext <<_ACEOF
4073 /* end confdefs.h. */
4075 /* Override any GCC internal prototype to avoid an error.
4076 Use char because int might match the return type of a GCC
4077 builtin and then its argument prototype would still apply. */
4085 return dnet_ntoa ();
4090 rm -f conftest.
$ac_objext conftest
$ac_exeext
4091 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
4092 (eval $ac_link) 2>conftest.er1
4094 grep -v '^ *+' conftest.er1
>conftest.err
4096 cat conftest.err
>&5
4097 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4098 (exit $ac_status); } &&
4099 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
4100 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
4103 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4104 (exit $ac_status); }; } &&
4105 { ac_try
='test -s conftest$ac_exeext'
4106 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
4109 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4110 (exit $ac_status); }; }; then
4111 ac_cv_lib_dnet_dnet_ntoa
=yes
4113 echo "$as_me: failed program was:" >&5
4114 sed 's/^/| /' conftest.
$ac_ext >&5
4116 ac_cv_lib_dnet_dnet_ntoa
=no
4119 rm -f conftest.err conftest.
$ac_objext \
4120 conftest
$ac_exeext conftest.
$ac_ext
4121 LIBS
=$ac_check_lib_save_LIBS
4123 { echo "$as_me:$LINENO: result: $ac_cv_lib_dnet_dnet_ntoa" >&5
4124 echo "${ECHO_T}$ac_cv_lib_dnet_dnet_ntoa" >&6; }
4125 if test $ac_cv_lib_dnet_dnet_ntoa = yes; then
4126 X_EXTRA_LIBS
="$X_EXTRA_LIBS -ldnet"
4129 if test $ac_cv_lib_dnet_dnet_ntoa = no
; then
4130 { echo "$as_me:$LINENO: checking for dnet_ntoa in -ldnet_stub" >&5
4131 echo $ECHO_N "checking for dnet_ntoa in -ldnet_stub... $ECHO_C" >&6; }
4132 if test "${ac_cv_lib_dnet_stub_dnet_ntoa+set}" = set; then
4133 echo $ECHO_N "(cached) $ECHO_C" >&6
4135 ac_check_lib_save_LIBS
=$LIBS
4136 LIBS
="-ldnet_stub $LIBS"
4137 cat >conftest.
$ac_ext <<_ACEOF
4140 cat confdefs.h
>>conftest.
$ac_ext
4141 cat >>conftest.
$ac_ext <<_ACEOF
4142 /* end confdefs.h. */
4144 /* Override any GCC internal prototype to avoid an error.
4145 Use char because int might match the return type of a GCC
4146 builtin and then its argument prototype would still apply. */
4154 return dnet_ntoa ();
4159 rm -f conftest.
$ac_objext conftest
$ac_exeext
4160 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
4161 (eval $ac_link) 2>conftest.er1
4163 grep -v '^ *+' conftest.er1
>conftest.err
4165 cat conftest.err
>&5
4166 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4167 (exit $ac_status); } &&
4168 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
4169 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
4172 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4173 (exit $ac_status); }; } &&
4174 { ac_try
='test -s conftest$ac_exeext'
4175 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
4178 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4179 (exit $ac_status); }; }; then
4180 ac_cv_lib_dnet_stub_dnet_ntoa
=yes
4182 echo "$as_me: failed program was:" >&5
4183 sed 's/^/| /' conftest.
$ac_ext >&5
4185 ac_cv_lib_dnet_stub_dnet_ntoa
=no
4188 rm -f conftest.err conftest.
$ac_objext \
4189 conftest
$ac_exeext conftest.
$ac_ext
4190 LIBS
=$ac_check_lib_save_LIBS
4192 { echo "$as_me:$LINENO: result: $ac_cv_lib_dnet_stub_dnet_ntoa" >&5
4193 echo "${ECHO_T}$ac_cv_lib_dnet_stub_dnet_ntoa" >&6; }
4194 if test $ac_cv_lib_dnet_stub_dnet_ntoa = yes; then
4195 X_EXTRA_LIBS
="$X_EXTRA_LIBS -ldnet_stub"
4201 rm -f conftest.err conftest.
$ac_objext \
4202 conftest
$ac_exeext conftest.
$ac_ext
4203 LIBS
="$ac_xsave_LIBS"
4205 # msh@cis.ufl.edu says -lnsl (and -lsocket) are needed for his 386/AT,
4206 # to get the SysV transport functions.
4207 # Chad R. Larson says the Pyramis MIS-ES running DC/OSx (SVR4)
4209 # The nsl library prevents programs from opening the X display
4210 # on Irix 5.2, according to T.E. Dickey.
4211 # The functions gethostbyname, getservbyname, and inet_addr are
4212 # in -lbsd on LynxOS 3.0.1/i386, according to Lars Hecking.
4213 { echo "$as_me:$LINENO: checking for gethostbyname" >&5
4214 echo $ECHO_N "checking for gethostbyname... $ECHO_C" >&6; }
4215 if test "${ac_cv_func_gethostbyname+set}" = set; then
4216 echo $ECHO_N "(cached) $ECHO_C" >&6
4218 cat >conftest.
$ac_ext <<_ACEOF
4221 cat confdefs.h
>>conftest.
$ac_ext
4222 cat >>conftest.
$ac_ext <<_ACEOF
4223 /* end confdefs.h. */
4224 /* Define gethostbyname to an innocuous variant, in case <limits.h> declares gethostbyname.
4225 For example, HP-UX 11i <limits.h> declares gettimeofday. */
4226 #define gethostbyname innocuous_gethostbyname
4228 /* System header to define __stub macros and hopefully few prototypes,
4229 which can conflict with char gethostbyname (); below.
4230 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
4231 <limits.h> exists even on freestanding compilers. */
4234 # include <limits.h>
4236 # include <assert.h>
4239 #undef gethostbyname
4241 /* Override any GCC internal prototype to avoid an error.
4242 Use char because int might match the return type of a GCC
4243 builtin and then its argument prototype would still apply. */
4247 char gethostbyname ();
4248 /* The GNU C library defines this for functions which it implements
4249 to always fail with ENOSYS. Some functions are actually named
4250 something starting with __ and the normal name is an alias. */
4251 #if defined __stub_gethostbyname || defined __stub___gethostbyname
4258 return gethostbyname ();
4263 rm -f conftest.
$ac_objext conftest
$ac_exeext
4264 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
4265 (eval $ac_link) 2>conftest.er1
4267 grep -v '^ *+' conftest.er1
>conftest.err
4269 cat conftest.err
>&5
4270 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4271 (exit $ac_status); } &&
4272 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
4273 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
4276 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4277 (exit $ac_status); }; } &&
4278 { ac_try
='test -s conftest$ac_exeext'
4279 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
4282 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4283 (exit $ac_status); }; }; then
4284 ac_cv_func_gethostbyname
=yes
4286 echo "$as_me: failed program was:" >&5
4287 sed 's/^/| /' conftest.
$ac_ext >&5
4289 ac_cv_func_gethostbyname
=no
4292 rm -f conftest.err conftest.
$ac_objext \
4293 conftest
$ac_exeext conftest.
$ac_ext
4295 { echo "$as_me:$LINENO: result: $ac_cv_func_gethostbyname" >&5
4296 echo "${ECHO_T}$ac_cv_func_gethostbyname" >&6; }
4298 if test $ac_cv_func_gethostbyname = no
; then
4299 { echo "$as_me:$LINENO: checking for gethostbyname in -lnsl" >&5
4300 echo $ECHO_N "checking for gethostbyname in -lnsl... $ECHO_C" >&6; }
4301 if test "${ac_cv_lib_nsl_gethostbyname+set}" = set; then
4302 echo $ECHO_N "(cached) $ECHO_C" >&6
4304 ac_check_lib_save_LIBS
=$LIBS
4306 cat >conftest.
$ac_ext <<_ACEOF
4309 cat confdefs.h
>>conftest.
$ac_ext
4310 cat >>conftest.
$ac_ext <<_ACEOF
4311 /* end confdefs.h. */
4313 /* Override any GCC internal prototype to avoid an error.
4314 Use char because int might match the return type of a GCC
4315 builtin and then its argument prototype would still apply. */
4319 char gethostbyname ();
4323 return gethostbyname ();
4328 rm -f conftest.
$ac_objext conftest
$ac_exeext
4329 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
4330 (eval $ac_link) 2>conftest.er1
4332 grep -v '^ *+' conftest.er1
>conftest.err
4334 cat conftest.err
>&5
4335 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4336 (exit $ac_status); } &&
4337 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
4338 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
4341 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4342 (exit $ac_status); }; } &&
4343 { ac_try
='test -s conftest$ac_exeext'
4344 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
4347 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4348 (exit $ac_status); }; }; then
4349 ac_cv_lib_nsl_gethostbyname
=yes
4351 echo "$as_me: failed program was:" >&5
4352 sed 's/^/| /' conftest.
$ac_ext >&5
4354 ac_cv_lib_nsl_gethostbyname
=no
4357 rm -f conftest.err conftest.
$ac_objext \
4358 conftest
$ac_exeext conftest.
$ac_ext
4359 LIBS
=$ac_check_lib_save_LIBS
4361 { echo "$as_me:$LINENO: result: $ac_cv_lib_nsl_gethostbyname" >&5
4362 echo "${ECHO_T}$ac_cv_lib_nsl_gethostbyname" >&6; }
4363 if test $ac_cv_lib_nsl_gethostbyname = yes; then
4364 X_EXTRA_LIBS
="$X_EXTRA_LIBS -lnsl"
4367 if test $ac_cv_lib_nsl_gethostbyname = no
; then
4368 { echo "$as_me:$LINENO: checking for gethostbyname in -lbsd" >&5
4369 echo $ECHO_N "checking for gethostbyname in -lbsd... $ECHO_C" >&6; }
4370 if test "${ac_cv_lib_bsd_gethostbyname+set}" = set; then
4371 echo $ECHO_N "(cached) $ECHO_C" >&6
4373 ac_check_lib_save_LIBS
=$LIBS
4375 cat >conftest.
$ac_ext <<_ACEOF
4378 cat confdefs.h
>>conftest.
$ac_ext
4379 cat >>conftest.
$ac_ext <<_ACEOF
4380 /* end confdefs.h. */
4382 /* Override any GCC internal prototype to avoid an error.
4383 Use char because int might match the return type of a GCC
4384 builtin and then its argument prototype would still apply. */
4388 char gethostbyname ();
4392 return gethostbyname ();
4397 rm -f conftest.
$ac_objext conftest
$ac_exeext
4398 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
4399 (eval $ac_link) 2>conftest.er1
4401 grep -v '^ *+' conftest.er1
>conftest.err
4403 cat conftest.err
>&5
4404 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4405 (exit $ac_status); } &&
4406 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
4407 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
4410 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4411 (exit $ac_status); }; } &&
4412 { ac_try
='test -s conftest$ac_exeext'
4413 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
4416 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4417 (exit $ac_status); }; }; then
4418 ac_cv_lib_bsd_gethostbyname
=yes
4420 echo "$as_me: failed program was:" >&5
4421 sed 's/^/| /' conftest.
$ac_ext >&5
4423 ac_cv_lib_bsd_gethostbyname
=no
4426 rm -f conftest.err conftest.
$ac_objext \
4427 conftest
$ac_exeext conftest.
$ac_ext
4428 LIBS
=$ac_check_lib_save_LIBS
4430 { echo "$as_me:$LINENO: result: $ac_cv_lib_bsd_gethostbyname" >&5
4431 echo "${ECHO_T}$ac_cv_lib_bsd_gethostbyname" >&6; }
4432 if test $ac_cv_lib_bsd_gethostbyname = yes; then
4433 X_EXTRA_LIBS
="$X_EXTRA_LIBS -lbsd"
4439 # lieder@skyler.mavd.honeywell.com says without -lsocket,
4440 # socket/setsockopt and other routines are undefined under SCO ODT
4441 # 2.0. But -lsocket is broken on IRIX 5.2 (and is not necessary
4442 # on later versions), says Simon Leinen: it contains gethostby*
4443 # variants that don't use the name server (or something). -lsocket
4444 # must be given before -lnsl if both are needed. We assume that
4445 # if connect needs -lnsl, so does gethostbyname.
4446 { echo "$as_me:$LINENO: checking for connect" >&5
4447 echo $ECHO_N "checking for connect... $ECHO_C" >&6; }
4448 if test "${ac_cv_func_connect+set}" = set; then
4449 echo $ECHO_N "(cached) $ECHO_C" >&6
4451 cat >conftest.
$ac_ext <<_ACEOF
4454 cat confdefs.h
>>conftest.
$ac_ext
4455 cat >>conftest.
$ac_ext <<_ACEOF
4456 /* end confdefs.h. */
4457 /* Define connect to an innocuous variant, in case <limits.h> declares connect.
4458 For example, HP-UX 11i <limits.h> declares gettimeofday. */
4459 #define connect innocuous_connect
4461 /* System header to define __stub macros and hopefully few prototypes,
4462 which can conflict with char connect (); below.
4463 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
4464 <limits.h> exists even on freestanding compilers. */
4467 # include <limits.h>
4469 # include <assert.h>
4474 /* Override any GCC internal prototype to avoid an error.
4475 Use char because int might match the return type of a GCC
4476 builtin and then its argument prototype would still apply. */
4481 /* The GNU C library defines this for functions which it implements
4482 to always fail with ENOSYS. Some functions are actually named
4483 something starting with __ and the normal name is an alias. */
4484 #if defined __stub_connect || defined __stub___connect
4496 rm -f conftest.
$ac_objext conftest
$ac_exeext
4497 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
4498 (eval $ac_link) 2>conftest.er1
4500 grep -v '^ *+' conftest.er1
>conftest.err
4502 cat conftest.err
>&5
4503 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4504 (exit $ac_status); } &&
4505 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
4506 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
4509 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4510 (exit $ac_status); }; } &&
4511 { ac_try
='test -s conftest$ac_exeext'
4512 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
4515 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4516 (exit $ac_status); }; }; then
4517 ac_cv_func_connect
=yes
4519 echo "$as_me: failed program was:" >&5
4520 sed 's/^/| /' conftest.
$ac_ext >&5
4522 ac_cv_func_connect
=no
4525 rm -f conftest.err conftest.
$ac_objext \
4526 conftest
$ac_exeext conftest.
$ac_ext
4528 { echo "$as_me:$LINENO: result: $ac_cv_func_connect" >&5
4529 echo "${ECHO_T}$ac_cv_func_connect" >&6; }
4531 if test $ac_cv_func_connect = no
; then
4532 { echo "$as_me:$LINENO: checking for connect in -lsocket" >&5
4533 echo $ECHO_N "checking for connect in -lsocket... $ECHO_C" >&6; }
4534 if test "${ac_cv_lib_socket_connect+set}" = set; then
4535 echo $ECHO_N "(cached) $ECHO_C" >&6
4537 ac_check_lib_save_LIBS
=$LIBS
4538 LIBS
="-lsocket $X_EXTRA_LIBS $LIBS"
4539 cat >conftest.
$ac_ext <<_ACEOF
4542 cat confdefs.h
>>conftest.
$ac_ext
4543 cat >>conftest.
$ac_ext <<_ACEOF
4544 /* end confdefs.h. */
4546 /* Override any GCC internal prototype to avoid an error.
4547 Use char because int might match the return type of a GCC
4548 builtin and then its argument prototype would still apply. */
4561 rm -f conftest.
$ac_objext conftest
$ac_exeext
4562 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
4563 (eval $ac_link) 2>conftest.er1
4565 grep -v '^ *+' conftest.er1
>conftest.err
4567 cat conftest.err
>&5
4568 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4569 (exit $ac_status); } &&
4570 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
4571 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
4574 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4575 (exit $ac_status); }; } &&
4576 { ac_try
='test -s conftest$ac_exeext'
4577 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
4580 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4581 (exit $ac_status); }; }; then
4582 ac_cv_lib_socket_connect
=yes
4584 echo "$as_me: failed program was:" >&5
4585 sed 's/^/| /' conftest.
$ac_ext >&5
4587 ac_cv_lib_socket_connect
=no
4590 rm -f conftest.err conftest.
$ac_objext \
4591 conftest
$ac_exeext conftest.
$ac_ext
4592 LIBS
=$ac_check_lib_save_LIBS
4594 { echo "$as_me:$LINENO: result: $ac_cv_lib_socket_connect" >&5
4595 echo "${ECHO_T}$ac_cv_lib_socket_connect" >&6; }
4596 if test $ac_cv_lib_socket_connect = yes; then
4597 X_EXTRA_LIBS
="-lsocket $X_EXTRA_LIBS"
4602 # Guillermo Gomez says -lposix is necessary on A/UX.
4603 { echo "$as_me:$LINENO: checking for remove" >&5
4604 echo $ECHO_N "checking for remove... $ECHO_C" >&6; }
4605 if test "${ac_cv_func_remove+set}" = set; then
4606 echo $ECHO_N "(cached) $ECHO_C" >&6
4608 cat >conftest.
$ac_ext <<_ACEOF
4611 cat confdefs.h
>>conftest.
$ac_ext
4612 cat >>conftest.
$ac_ext <<_ACEOF
4613 /* end confdefs.h. */
4614 /* Define remove to an innocuous variant, in case <limits.h> declares remove.
4615 For example, HP-UX 11i <limits.h> declares gettimeofday. */
4616 #define remove innocuous_remove
4618 /* System header to define __stub macros and hopefully few prototypes,
4619 which can conflict with char remove (); below.
4620 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
4621 <limits.h> exists even on freestanding compilers. */
4624 # include <limits.h>
4626 # include <assert.h>
4631 /* Override any GCC internal prototype to avoid an error.
4632 Use char because int might match the return type of a GCC
4633 builtin and then its argument prototype would still apply. */
4638 /* The GNU C library defines this for functions which it implements
4639 to always fail with ENOSYS. Some functions are actually named
4640 something starting with __ and the normal name is an alias. */
4641 #if defined __stub_remove || defined __stub___remove
4653 rm -f conftest.
$ac_objext conftest
$ac_exeext
4654 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
4655 (eval $ac_link) 2>conftest.er1
4657 grep -v '^ *+' conftest.er1
>conftest.err
4659 cat conftest.err
>&5
4660 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4661 (exit $ac_status); } &&
4662 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
4663 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
4666 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4667 (exit $ac_status); }; } &&
4668 { ac_try
='test -s conftest$ac_exeext'
4669 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
4672 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4673 (exit $ac_status); }; }; then
4674 ac_cv_func_remove
=yes
4676 echo "$as_me: failed program was:" >&5
4677 sed 's/^/| /' conftest.
$ac_ext >&5
4679 ac_cv_func_remove
=no
4682 rm -f conftest.err conftest.
$ac_objext \
4683 conftest
$ac_exeext conftest.
$ac_ext
4685 { echo "$as_me:$LINENO: result: $ac_cv_func_remove" >&5
4686 echo "${ECHO_T}$ac_cv_func_remove" >&6; }
4688 if test $ac_cv_func_remove = no
; then
4689 { echo "$as_me:$LINENO: checking for remove in -lposix" >&5
4690 echo $ECHO_N "checking for remove in -lposix... $ECHO_C" >&6; }
4691 if test "${ac_cv_lib_posix_remove+set}" = set; then
4692 echo $ECHO_N "(cached) $ECHO_C" >&6
4694 ac_check_lib_save_LIBS
=$LIBS
4695 LIBS
="-lposix $LIBS"
4696 cat >conftest.
$ac_ext <<_ACEOF
4699 cat confdefs.h
>>conftest.
$ac_ext
4700 cat >>conftest.
$ac_ext <<_ACEOF
4701 /* end confdefs.h. */
4703 /* Override any GCC internal prototype to avoid an error.
4704 Use char because int might match the return type of a GCC
4705 builtin and then its argument prototype would still apply. */
4718 rm -f conftest.
$ac_objext conftest
$ac_exeext
4719 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
4720 (eval $ac_link) 2>conftest.er1
4722 grep -v '^ *+' conftest.er1
>conftest.err
4724 cat conftest.err
>&5
4725 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4726 (exit $ac_status); } &&
4727 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
4728 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
4731 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4732 (exit $ac_status); }; } &&
4733 { ac_try
='test -s conftest$ac_exeext'
4734 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
4737 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4738 (exit $ac_status); }; }; then
4739 ac_cv_lib_posix_remove
=yes
4741 echo "$as_me: failed program was:" >&5
4742 sed 's/^/| /' conftest.
$ac_ext >&5
4744 ac_cv_lib_posix_remove
=no
4747 rm -f conftest.err conftest.
$ac_objext \
4748 conftest
$ac_exeext conftest.
$ac_ext
4749 LIBS
=$ac_check_lib_save_LIBS
4751 { echo "$as_me:$LINENO: result: $ac_cv_lib_posix_remove" >&5
4752 echo "${ECHO_T}$ac_cv_lib_posix_remove" >&6; }
4753 if test $ac_cv_lib_posix_remove = yes; then
4754 X_EXTRA_LIBS
="$X_EXTRA_LIBS -lposix"
4759 # BSDI BSD/OS 2.1 needs -lipc for XOpenDisplay.
4760 { echo "$as_me:$LINENO: checking for shmat" >&5
4761 echo $ECHO_N "checking for shmat... $ECHO_C" >&6; }
4762 if test "${ac_cv_func_shmat+set}" = set; then
4763 echo $ECHO_N "(cached) $ECHO_C" >&6
4765 cat >conftest.
$ac_ext <<_ACEOF
4768 cat confdefs.h
>>conftest.
$ac_ext
4769 cat >>conftest.
$ac_ext <<_ACEOF
4770 /* end confdefs.h. */
4771 /* Define shmat to an innocuous variant, in case <limits.h> declares shmat.
4772 For example, HP-UX 11i <limits.h> declares gettimeofday. */
4773 #define shmat innocuous_shmat
4775 /* System header to define __stub macros and hopefully few prototypes,
4776 which can conflict with char shmat (); below.
4777 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
4778 <limits.h> exists even on freestanding compilers. */
4781 # include <limits.h>
4783 # include <assert.h>
4788 /* Override any GCC internal prototype to avoid an error.
4789 Use char because int might match the return type of a GCC
4790 builtin and then its argument prototype would still apply. */
4795 /* The GNU C library defines this for functions which it implements
4796 to always fail with ENOSYS. Some functions are actually named
4797 something starting with __ and the normal name is an alias. */
4798 #if defined __stub_shmat || defined __stub___shmat
4810 rm -f conftest.
$ac_objext conftest
$ac_exeext
4811 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
4812 (eval $ac_link) 2>conftest.er1
4814 grep -v '^ *+' conftest.er1
>conftest.err
4816 cat conftest.err
>&5
4817 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4818 (exit $ac_status); } &&
4819 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
4820 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
4823 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4824 (exit $ac_status); }; } &&
4825 { ac_try
='test -s conftest$ac_exeext'
4826 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
4829 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4830 (exit $ac_status); }; }; then
4831 ac_cv_func_shmat
=yes
4833 echo "$as_me: failed program was:" >&5
4834 sed 's/^/| /' conftest.
$ac_ext >&5
4839 rm -f conftest.err conftest.
$ac_objext \
4840 conftest
$ac_exeext conftest.
$ac_ext
4842 { echo "$as_me:$LINENO: result: $ac_cv_func_shmat" >&5
4843 echo "${ECHO_T}$ac_cv_func_shmat" >&6; }
4845 if test $ac_cv_func_shmat = no
; then
4846 { echo "$as_me:$LINENO: checking for shmat in -lipc" >&5
4847 echo $ECHO_N "checking for shmat in -lipc... $ECHO_C" >&6; }
4848 if test "${ac_cv_lib_ipc_shmat+set}" = set; then
4849 echo $ECHO_N "(cached) $ECHO_C" >&6
4851 ac_check_lib_save_LIBS
=$LIBS
4853 cat >conftest.
$ac_ext <<_ACEOF
4856 cat confdefs.h
>>conftest.
$ac_ext
4857 cat >>conftest.
$ac_ext <<_ACEOF
4858 /* end confdefs.h. */
4860 /* Override any GCC internal prototype to avoid an error.
4861 Use char because int might match the return type of a GCC
4862 builtin and then its argument prototype would still apply. */
4875 rm -f conftest.
$ac_objext conftest
$ac_exeext
4876 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
4877 (eval $ac_link) 2>conftest.er1
4879 grep -v '^ *+' conftest.er1
>conftest.err
4881 cat conftest.err
>&5
4882 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4883 (exit $ac_status); } &&
4884 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
4885 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
4888 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4889 (exit $ac_status); }; } &&
4890 { ac_try
='test -s conftest$ac_exeext'
4891 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
4894 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4895 (exit $ac_status); }; }; then
4896 ac_cv_lib_ipc_shmat
=yes
4898 echo "$as_me: failed program was:" >&5
4899 sed 's/^/| /' conftest.
$ac_ext >&5
4901 ac_cv_lib_ipc_shmat
=no
4904 rm -f conftest.err conftest.
$ac_objext \
4905 conftest
$ac_exeext conftest.
$ac_ext
4906 LIBS
=$ac_check_lib_save_LIBS
4908 { echo "$as_me:$LINENO: result: $ac_cv_lib_ipc_shmat" >&5
4909 echo "${ECHO_T}$ac_cv_lib_ipc_shmat" >&6; }
4910 if test $ac_cv_lib_ipc_shmat = yes; then
4911 X_EXTRA_LIBS
="$X_EXTRA_LIBS -lipc"
4917 # Check for libraries that X11R6 Xt/Xaw programs need.
4918 ac_save_LDFLAGS
=$LDFLAGS
4919 test -n "$x_libraries" && LDFLAGS
="$LDFLAGS -L$x_libraries"
4920 # SM needs ICE to (dynamically) link under SunOS 4.x (so we have to
4921 # check for ICE first), but we must link in the order -lSM -lICE or
4922 # we get undefined symbols. So assume we have SM if we have ICE.
4923 # These have to be linked with before -lX11, unlike the other
4924 # libraries we check for below, so use a different variable.
4925 # John Interrante, Karl Berry
4926 { echo "$as_me:$LINENO: checking for IceConnectionNumber in -lICE" >&5
4927 echo $ECHO_N "checking for IceConnectionNumber in -lICE... $ECHO_C" >&6; }
4928 if test "${ac_cv_lib_ICE_IceConnectionNumber+set}" = set; then
4929 echo $ECHO_N "(cached) $ECHO_C" >&6
4931 ac_check_lib_save_LIBS
=$LIBS
4932 LIBS
="-lICE $X_EXTRA_LIBS $LIBS"
4933 cat >conftest.
$ac_ext <<_ACEOF
4936 cat confdefs.h
>>conftest.
$ac_ext
4937 cat >>conftest.
$ac_ext <<_ACEOF
4938 /* end confdefs.h. */
4940 /* Override any GCC internal prototype to avoid an error.
4941 Use char because int might match the return type of a GCC
4942 builtin and then its argument prototype would still apply. */
4946 char IceConnectionNumber ();
4950 return IceConnectionNumber ();
4955 rm -f conftest.
$ac_objext conftest
$ac_exeext
4956 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
4957 (eval $ac_link) 2>conftest.er1
4959 grep -v '^ *+' conftest.er1
>conftest.err
4961 cat conftest.err
>&5
4962 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4963 (exit $ac_status); } &&
4964 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
4965 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
4968 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4969 (exit $ac_status); }; } &&
4970 { ac_try
='test -s conftest$ac_exeext'
4971 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
4974 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4975 (exit $ac_status); }; }; then
4976 ac_cv_lib_ICE_IceConnectionNumber
=yes
4978 echo "$as_me: failed program was:" >&5
4979 sed 's/^/| /' conftest.
$ac_ext >&5
4981 ac_cv_lib_ICE_IceConnectionNumber
=no
4984 rm -f conftest.err conftest.
$ac_objext \
4985 conftest
$ac_exeext conftest.
$ac_ext
4986 LIBS
=$ac_check_lib_save_LIBS
4988 { echo "$as_me:$LINENO: result: $ac_cv_lib_ICE_IceConnectionNumber" >&5
4989 echo "${ECHO_T}$ac_cv_lib_ICE_IceConnectionNumber" >&6; }
4990 if test $ac_cv_lib_ICE_IceConnectionNumber = yes; then
4991 X_PRE_LIBS
="$X_PRE_LIBS -lSM -lICE"
4994 LDFLAGS
=$ac_save_LDFLAGS
4998 for ac_prog
in flex
lex
5000 # Extract the first word of "$ac_prog", so it can be a program name with args.
5001 set dummy
$ac_prog; ac_word
=$2
5002 { echo "$as_me:$LINENO: checking for $ac_word" >&5
5003 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
5004 if test "${ac_cv_prog_LEX+set}" = set; then
5005 echo $ECHO_N "(cached) $ECHO_C" >&6
5007 if test -n "$LEX"; then
5008 ac_cv_prog_LEX
="$LEX" # Let the user override the test.
5010 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
5014 test -z "$as_dir" && as_dir
=.
5015 for ac_exec_ext
in '' $ac_executable_extensions; do
5016 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; }; then
5017 ac_cv_prog_LEX
="$ac_prog"
5018 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
5028 if test -n "$LEX"; then
5029 { echo "$as_me:$LINENO: result: $LEX" >&5
5030 echo "${ECHO_T}$LEX" >&6; }
5032 { echo "$as_me:$LINENO: result: no" >&5
5033 echo "${ECHO_T}no" >&6; }
5037 test -n "$LEX" && break
5039 test -n "$LEX" || LEX
=":"
5041 if test -z "$LEXLIB"
5043 { echo "$as_me:$LINENO: checking for yywrap in -lfl" >&5
5044 echo $ECHO_N "checking for yywrap in -lfl... $ECHO_C" >&6; }
5045 if test "${ac_cv_lib_fl_yywrap+set}" = set; then
5046 echo $ECHO_N "(cached) $ECHO_C" >&6
5048 ac_check_lib_save_LIBS
=$LIBS
5050 cat >conftest.
$ac_ext <<_ACEOF
5053 cat confdefs.h
>>conftest.
$ac_ext
5054 cat >>conftest.
$ac_ext <<_ACEOF
5055 /* end confdefs.h. */
5057 /* Override any GCC internal prototype to avoid an error.
5058 Use char because int might match the return type of a GCC
5059 builtin and then its argument prototype would still apply. */
5072 rm -f conftest.
$ac_objext conftest
$ac_exeext
5073 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
5074 (eval $ac_link) 2>conftest.er1
5076 grep -v '^ *+' conftest.er1
>conftest.err
5078 cat conftest.err
>&5
5079 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5080 (exit $ac_status); } &&
5081 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
5082 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
5085 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5086 (exit $ac_status); }; } &&
5087 { ac_try
='test -s conftest$ac_exeext'
5088 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
5091 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5092 (exit $ac_status); }; }; then
5093 ac_cv_lib_fl_yywrap
=yes
5095 echo "$as_me: failed program was:" >&5
5096 sed 's/^/| /' conftest.
$ac_ext >&5
5098 ac_cv_lib_fl_yywrap
=no
5101 rm -f conftest.err conftest.
$ac_objext \
5102 conftest
$ac_exeext conftest.
$ac_ext
5103 LIBS
=$ac_check_lib_save_LIBS
5105 { echo "$as_me:$LINENO: result: $ac_cv_lib_fl_yywrap" >&5
5106 echo "${ECHO_T}$ac_cv_lib_fl_yywrap" >&6; }
5107 if test $ac_cv_lib_fl_yywrap = yes; then
5110 { echo "$as_me:$LINENO: checking for yywrap in -ll" >&5
5111 echo $ECHO_N "checking for yywrap in -ll... $ECHO_C" >&6; }
5112 if test "${ac_cv_lib_l_yywrap+set}" = set; then
5113 echo $ECHO_N "(cached) $ECHO_C" >&6
5115 ac_check_lib_save_LIBS
=$LIBS
5117 cat >conftest.
$ac_ext <<_ACEOF
5120 cat confdefs.h
>>conftest.
$ac_ext
5121 cat >>conftest.
$ac_ext <<_ACEOF
5122 /* end confdefs.h. */
5124 /* Override any GCC internal prototype to avoid an error.
5125 Use char because int might match the return type of a GCC
5126 builtin and then its argument prototype would still apply. */
5139 rm -f conftest.
$ac_objext conftest
$ac_exeext
5140 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
5141 (eval $ac_link) 2>conftest.er1
5143 grep -v '^ *+' conftest.er1
>conftest.err
5145 cat conftest.err
>&5
5146 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5147 (exit $ac_status); } &&
5148 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
5149 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
5152 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5153 (exit $ac_status); }; } &&
5154 { ac_try
='test -s conftest$ac_exeext'
5155 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
5158 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5159 (exit $ac_status); }; }; then
5160 ac_cv_lib_l_yywrap
=yes
5162 echo "$as_me: failed program was:" >&5
5163 sed 's/^/| /' conftest.
$ac_ext >&5
5165 ac_cv_lib_l_yywrap
=no
5168 rm -f conftest.err conftest.
$ac_objext \
5169 conftest
$ac_exeext conftest.
$ac_ext
5170 LIBS
=$ac_check_lib_save_LIBS
5172 { echo "$as_me:$LINENO: result: $ac_cv_lib_l_yywrap" >&5
5173 echo "${ECHO_T}$ac_cv_lib_l_yywrap" >&6; }
5174 if test $ac_cv_lib_l_yywrap = yes; then
5182 if test "x$LEX" != "x:"; then
5183 { echo "$as_me:$LINENO: checking lex output file root" >&5
5184 echo $ECHO_N "checking lex output file root... $ECHO_C" >&6; }
5185 if test "${ac_cv_prog_lex_root+set}" = set; then
5186 echo $ECHO_N "(cached) $ECHO_C" >&6
5188 # The minimal lex program is just a single line: %%. But some broken lexes
5189 # (Solaris, I think it was) want two %% lines, so accommodate them.
5190 cat >conftest.l
<<_ACEOF
5194 { (eval echo "$as_me:$LINENO: \"$LEX conftest.l\"") >&5
5195 (eval $LEX conftest.l
) 2>&5
5197 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5198 (exit $ac_status); }
5199 if test -f lex.yy.c
; then
5200 ac_cv_prog_lex_root
=lex.yy
5201 elif test -f lexyy.c
; then
5202 ac_cv_prog_lex_root
=lexyy
5204 { { echo "$as_me:$LINENO: error: cannot find output from $LEX; giving up" >&5
5205 echo "$as_me: error: cannot find output from $LEX; giving up" >&2;}
5206 { (exit 1); exit 1; }; }
5209 { echo "$as_me:$LINENO: result: $ac_cv_prog_lex_root" >&5
5210 echo "${ECHO_T}$ac_cv_prog_lex_root" >&6; }
5212 LEX_OUTPUT_ROOT
=$ac_cv_prog_lex_root
5214 { echo "$as_me:$LINENO: checking whether yytext is a pointer" >&5
5215 echo $ECHO_N "checking whether yytext is a pointer... $ECHO_C" >&6; }
5216 if test "${ac_cv_prog_lex_yytext_pointer+set}" = set; then
5217 echo $ECHO_N "(cached) $ECHO_C" >&6
5219 # POSIX says lex can declare yytext either as a pointer or an array; the
5220 # default is implementation-dependent. Figure out which it is, since
5221 # not all implementations provide the %pointer and %array declarations.
5222 ac_cv_prog_lex_yytext_pointer
=no
5223 echo 'extern char *yytext;' >>$LEX_OUTPUT_ROOT.c
5225 LIBS
="$LIBS $LEXLIB"
5226 cat >conftest.
$ac_ext <<_ACEOF
5227 `cat $LEX_OUTPUT_ROOT.c`
5229 rm -f conftest.
$ac_objext conftest
$ac_exeext
5230 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
5231 (eval $ac_link) 2>conftest.er1
5233 grep -v '^ *+' conftest.er1
>conftest.err
5235 cat conftest.err
>&5
5236 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5237 (exit $ac_status); } &&
5238 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
5239 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
5242 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5243 (exit $ac_status); }; } &&
5244 { ac_try
='test -s conftest$ac_exeext'
5245 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
5248 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5249 (exit $ac_status); }; }; then
5250 ac_cv_prog_lex_yytext_pointer
=yes
5252 echo "$as_me: failed program was:" >&5
5253 sed 's/^/| /' conftest.
$ac_ext >&5
5258 rm -f conftest.err conftest.
$ac_objext \
5259 conftest
$ac_exeext conftest.
$ac_ext
5261 rm -f "${LEX_OUTPUT_ROOT}.c"
5264 { echo "$as_me:$LINENO: result: $ac_cv_prog_lex_yytext_pointer" >&5
5265 echo "${ECHO_T}$ac_cv_prog_lex_yytext_pointer" >&6; }
5266 if test $ac_cv_prog_lex_yytext_pointer = yes; then
5268 cat >>confdefs.h
<<\_ACEOF
5269 #define YYTEXT_POINTER 1
5276 for ac_prog
in $LEX flex
lex
5278 # Extract the first word of "$ac_prog", so it can be a program name with args.
5279 set dummy
$ac_prog; ac_word
=$2
5280 { echo "$as_me:$LINENO: checking for $ac_word" >&5
5281 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
5282 if test "${ac_cv_prog_XLEX+set}" = set; then
5283 echo $ECHO_N "(cached) $ECHO_C" >&6
5285 if test -n "$XLEX"; then
5286 ac_cv_prog_XLEX
="$XLEX" # Let the user override the test.
5288 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
5292 test -z "$as_dir" && as_dir
=.
5293 for ac_exec_ext
in '' $ac_executable_extensions; do
5294 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; }; then
5295 ac_cv_prog_XLEX
="$ac_prog"
5296 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
5305 XLEX
=$ac_cv_prog_XLEX
5306 if test -n "$XLEX"; then
5307 { echo "$as_me:$LINENO: result: $XLEX" >&5
5308 echo "${ECHO_T}$XLEX" >&6; }
5310 { echo "$as_me:$LINENO: result: no" >&5
5311 echo "${ECHO_T}no" >&6; }
5315 test -n "$XLEX" && break
5317 test -n "$XLEX" || XLEX
="none"
5319 if test "$XLEX" = "none"
5321 { { echo "$as_me:$LINENO: error: no suitable lex found. Please install the 'flex' package." >&5
5322 echo "$as_me: error: no suitable lex found. Please install the 'flex' package." >&2;}
5323 { (exit 1); exit 1; }; }
5326 for ac_prog
in bison
5328 # Extract the first word of "$ac_prog", so it can be a program name with args.
5329 set dummy
$ac_prog; ac_word
=$2
5330 { echo "$as_me:$LINENO: checking for $ac_word" >&5
5331 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
5332 if test "${ac_cv_prog_BISON+set}" = set; then
5333 echo $ECHO_N "(cached) $ECHO_C" >&6
5335 if test -n "$BISON"; then
5336 ac_cv_prog_BISON
="$BISON" # Let the user override the test.
5338 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
5342 test -z "$as_dir" && as_dir
=.
5343 for ac_exec_ext
in '' $ac_executable_extensions; do
5344 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; }; then
5345 ac_cv_prog_BISON
="$ac_prog"
5346 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
5355 BISON
=$ac_cv_prog_BISON
5356 if test -n "$BISON"; then
5357 { echo "$as_me:$LINENO: result: $BISON" >&5
5358 echo "${ECHO_T}$BISON" >&6; }
5360 { echo "$as_me:$LINENO: result: no" >&5
5361 echo "${ECHO_T}no" >&6; }
5365 test -n "$BISON" && break
5367 test -n "$BISON" || BISON
="none"
5369 if test "$BISON" = "none"
5371 { { echo "$as_me:$LINENO: error: no suitable bison found. Please install the 'bison' package." >&5
5372 echo "$as_me: error: no suitable bison found. Please install the 'bison' package." >&2;}
5373 { (exit 1); exit 1; }; }
5376 if test -n "$ac_tool_prefix"; then
5377 for ac_prog
in gas as
5379 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
5380 set dummy
$ac_tool_prefix$ac_prog; ac_word
=$2
5381 { echo "$as_me:$LINENO: checking for $ac_word" >&5
5382 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
5383 if test "${ac_cv_prog_AS+set}" = set; then
5384 echo $ECHO_N "(cached) $ECHO_C" >&6
5386 if test -n "$AS"; then
5387 ac_cv_prog_AS
="$AS" # Let the user override the test.
5389 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
5393 test -z "$as_dir" && as_dir
=.
5394 for ac_exec_ext
in '' $ac_executable_extensions; do
5395 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; }; then
5396 ac_cv_prog_AS
="$ac_tool_prefix$ac_prog"
5397 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
5407 if test -n "$AS"; then
5408 { echo "$as_me:$LINENO: result: $AS" >&5
5409 echo "${ECHO_T}$AS" >&6; }
5411 { echo "$as_me:$LINENO: result: no" >&5
5412 echo "${ECHO_T}no" >&6; }
5416 test -n "$AS" && break
5419 if test -z "$AS"; then
5421 for ac_prog
in gas as
5423 # Extract the first word of "$ac_prog", so it can be a program name with args.
5424 set dummy
$ac_prog; ac_word
=$2
5425 { echo "$as_me:$LINENO: checking for $ac_word" >&5
5426 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
5427 if test "${ac_cv_prog_ac_ct_AS+set}" = set; then
5428 echo $ECHO_N "(cached) $ECHO_C" >&6
5430 if test -n "$ac_ct_AS"; then
5431 ac_cv_prog_ac_ct_AS
="$ac_ct_AS" # Let the user override the test.
5433 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
5437 test -z "$as_dir" && as_dir
=.
5438 for ac_exec_ext
in '' $ac_executable_extensions; do
5439 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; }; then
5440 ac_cv_prog_ac_ct_AS
="$ac_prog"
5441 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
5450 ac_ct_AS
=$ac_cv_prog_ac_ct_AS
5451 if test -n "$ac_ct_AS"; then
5452 { echo "$as_me:$LINENO: result: $ac_ct_AS" >&5
5453 echo "${ECHO_T}$ac_ct_AS" >&6; }
5455 { echo "$as_me:$LINENO: result: no" >&5
5456 echo "${ECHO_T}no" >&6; }
5460 test -n "$ac_ct_AS" && break
5463 if test "x$ac_ct_AS" = x
; then
5466 case $cross_compiling:$ac_tool_warned in
5468 { echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools
5469 whose name does not start with the host triplet. If you think this
5470 configuration is useful to you, please write to autoconf@gnu.org." >&5
5471 echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools
5472 whose name does not start with the host triplet. If you think this
5473 configuration is useful to you, please write to autoconf@gnu.org." >&2;}
5474 ac_tool_warned
=yes ;;
5480 if test -n "$ac_tool_prefix"; then
5481 # Extract the first word of "${ac_tool_prefix}ld", so it can be a program name with args.
5482 set dummy
${ac_tool_prefix}ld
; ac_word
=$2
5483 { echo "$as_me:$LINENO: checking for $ac_word" >&5
5484 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
5485 if test "${ac_cv_prog_LD+set}" = set; then
5486 echo $ECHO_N "(cached) $ECHO_C" >&6
5488 if test -n "$LD"; then
5489 ac_cv_prog_LD
="$LD" # Let the user override the test.
5491 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
5495 test -z "$as_dir" && as_dir
=.
5496 for ac_exec_ext
in '' $ac_executable_extensions; do
5497 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; }; then
5498 ac_cv_prog_LD
="${ac_tool_prefix}ld"
5499 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
5509 if test -n "$LD"; then
5510 { echo "$as_me:$LINENO: result: $LD" >&5
5511 echo "${ECHO_T}$LD" >&6; }
5513 { echo "$as_me:$LINENO: result: no" >&5
5514 echo "${ECHO_T}no" >&6; }
5519 if test -z "$ac_cv_prog_LD"; then
5521 # Extract the first word of "ld", so it can be a program name with args.
5522 set dummy ld
; ac_word
=$2
5523 { echo "$as_me:$LINENO: checking for $ac_word" >&5
5524 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
5525 if test "${ac_cv_prog_ac_ct_LD+set}" = set; then
5526 echo $ECHO_N "(cached) $ECHO_C" >&6
5528 if test -n "$ac_ct_LD"; then
5529 ac_cv_prog_ac_ct_LD
="$ac_ct_LD" # Let the user override the test.
5531 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
5535 test -z "$as_dir" && as_dir
=.
5536 for ac_exec_ext
in '' $ac_executable_extensions; do
5537 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; }; then
5538 ac_cv_prog_ac_ct_LD
="ld"
5539 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
5548 ac_ct_LD
=$ac_cv_prog_ac_ct_LD
5549 if test -n "$ac_ct_LD"; then
5550 { echo "$as_me:$LINENO: result: $ac_ct_LD" >&5
5551 echo "${ECHO_T}$ac_ct_LD" >&6; }
5553 { echo "$as_me:$LINENO: result: no" >&5
5554 echo "${ECHO_T}no" >&6; }
5557 if test "x$ac_ct_LD" = x
; then
5560 case $cross_compiling:$ac_tool_warned in
5562 { echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools
5563 whose name does not start with the host triplet. If you think this
5564 configuration is useful to you, please write to autoconf@gnu.org." >&5
5565 echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools
5566 whose name does not start with the host triplet. If you think this
5567 configuration is useful to you, please write to autoconf@gnu.org." >&2;}
5568 ac_tool_warned
=yes ;;
5576 if test -n "$ac_tool_prefix"; then
5577 # Extract the first word of "${ac_tool_prefix}ar", so it can be a program name with args.
5578 set dummy
${ac_tool_prefix}ar; ac_word
=$2
5579 { echo "$as_me:$LINENO: checking for $ac_word" >&5
5580 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
5581 if test "${ac_cv_prog_AR+set}" = set; then
5582 echo $ECHO_N "(cached) $ECHO_C" >&6
5584 if test -n "$AR"; then
5585 ac_cv_prog_AR
="$AR" # Let the user override the test.
5587 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
5591 test -z "$as_dir" && as_dir
=.
5592 for ac_exec_ext
in '' $ac_executable_extensions; do
5593 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; }; then
5594 ac_cv_prog_AR
="${ac_tool_prefix}ar"
5595 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
5605 if test -n "$AR"; then
5606 { echo "$as_me:$LINENO: result: $AR" >&5
5607 echo "${ECHO_T}$AR" >&6; }
5609 { echo "$as_me:$LINENO: result: no" >&5
5610 echo "${ECHO_T}no" >&6; }
5615 if test -z "$ac_cv_prog_AR"; then
5617 # Extract the first word of "ar", so it can be a program name with args.
5618 set dummy
ar; ac_word
=$2
5619 { echo "$as_me:$LINENO: checking for $ac_word" >&5
5620 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
5621 if test "${ac_cv_prog_ac_ct_AR+set}" = set; then
5622 echo $ECHO_N "(cached) $ECHO_C" >&6
5624 if test -n "$ac_ct_AR"; then
5625 ac_cv_prog_ac_ct_AR
="$ac_ct_AR" # Let the user override the test.
5627 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
5631 test -z "$as_dir" && as_dir
=.
5632 for ac_exec_ext
in '' $ac_executable_extensions; do
5633 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; }; then
5634 ac_cv_prog_ac_ct_AR
="ar"
5635 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
5644 ac_ct_AR
=$ac_cv_prog_ac_ct_AR
5645 if test -n "$ac_ct_AR"; then
5646 { echo "$as_me:$LINENO: result: $ac_ct_AR" >&5
5647 echo "${ECHO_T}$ac_ct_AR" >&6; }
5649 { echo "$as_me:$LINENO: result: no" >&5
5650 echo "${ECHO_T}no" >&6; }
5653 if test "x$ac_ct_AR" = x
; then
5656 case $cross_compiling:$ac_tool_warned in
5658 { echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools
5659 whose name does not start with the host triplet. If you think this
5660 configuration is useful to you, please write to autoconf@gnu.org." >&5
5661 echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools
5662 whose name does not start with the host triplet. If you think this
5663 configuration is useful to you, please write to autoconf@gnu.org." >&2;}
5664 ac_tool_warned
=yes ;;
5672 if test -n "$ac_tool_prefix"; then
5673 # Extract the first word of "${ac_tool_prefix}ranlib", so it can be a program name with args.
5674 set dummy
${ac_tool_prefix}ranlib
; ac_word
=$2
5675 { echo "$as_me:$LINENO: checking for $ac_word" >&5
5676 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
5677 if test "${ac_cv_prog_RANLIB+set}" = set; then
5678 echo $ECHO_N "(cached) $ECHO_C" >&6
5680 if test -n "$RANLIB"; then
5681 ac_cv_prog_RANLIB
="$RANLIB" # Let the user override the test.
5683 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
5687 test -z "$as_dir" && as_dir
=.
5688 for ac_exec_ext
in '' $ac_executable_extensions; do
5689 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; }; then
5690 ac_cv_prog_RANLIB
="${ac_tool_prefix}ranlib"
5691 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
5700 RANLIB
=$ac_cv_prog_RANLIB
5701 if test -n "$RANLIB"; then
5702 { echo "$as_me:$LINENO: result: $RANLIB" >&5
5703 echo "${ECHO_T}$RANLIB" >&6; }
5705 { echo "$as_me:$LINENO: result: no" >&5
5706 echo "${ECHO_T}no" >&6; }
5711 if test -z "$ac_cv_prog_RANLIB"; then
5712 ac_ct_RANLIB
=$RANLIB
5713 # Extract the first word of "ranlib", so it can be a program name with args.
5714 set dummy ranlib
; ac_word
=$2
5715 { echo "$as_me:$LINENO: checking for $ac_word" >&5
5716 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
5717 if test "${ac_cv_prog_ac_ct_RANLIB+set}" = set; then
5718 echo $ECHO_N "(cached) $ECHO_C" >&6
5720 if test -n "$ac_ct_RANLIB"; then
5721 ac_cv_prog_ac_ct_RANLIB
="$ac_ct_RANLIB" # Let the user override the test.
5723 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
5727 test -z "$as_dir" && as_dir
=.
5728 for ac_exec_ext
in '' $ac_executable_extensions; do
5729 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; }; then
5730 ac_cv_prog_ac_ct_RANLIB
="ranlib"
5731 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
5740 ac_ct_RANLIB
=$ac_cv_prog_ac_ct_RANLIB
5741 if test -n "$ac_ct_RANLIB"; then
5742 { echo "$as_me:$LINENO: result: $ac_ct_RANLIB" >&5
5743 echo "${ECHO_T}$ac_ct_RANLIB" >&6; }
5745 { echo "$as_me:$LINENO: result: no" >&5
5746 echo "${ECHO_T}no" >&6; }
5749 if test "x$ac_ct_RANLIB" = x
; then
5752 case $cross_compiling:$ac_tool_warned in
5754 { echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools
5755 whose name does not start with the host triplet. If you think this
5756 configuration is useful to you, please write to autoconf@gnu.org." >&5
5757 echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools
5758 whose name does not start with the host triplet. If you think this
5759 configuration is useful to you, please write to autoconf@gnu.org." >&2;}
5760 ac_tool_warned
=yes ;;
5762 RANLIB
=$ac_ct_RANLIB
5765 RANLIB
="$ac_cv_prog_RANLIB"
5768 if test -n "$ac_tool_prefix"; then
5769 # Extract the first word of "${ac_tool_prefix}strip", so it can be a program name with args.
5770 set dummy
${ac_tool_prefix}strip
; ac_word
=$2
5771 { echo "$as_me:$LINENO: checking for $ac_word" >&5
5772 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
5773 if test "${ac_cv_prog_STRIP+set}" = set; then
5774 echo $ECHO_N "(cached) $ECHO_C" >&6
5776 if test -n "$STRIP"; then
5777 ac_cv_prog_STRIP
="$STRIP" # Let the user override the test.
5779 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
5783 test -z "$as_dir" && as_dir
=.
5784 for ac_exec_ext
in '' $ac_executable_extensions; do
5785 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; }; then
5786 ac_cv_prog_STRIP
="${ac_tool_prefix}strip"
5787 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
5796 STRIP
=$ac_cv_prog_STRIP
5797 if test -n "$STRIP"; then
5798 { echo "$as_me:$LINENO: result: $STRIP" >&5
5799 echo "${ECHO_T}$STRIP" >&6; }
5801 { echo "$as_me:$LINENO: result: no" >&5
5802 echo "${ECHO_T}no" >&6; }
5807 if test -z "$ac_cv_prog_STRIP"; then
5809 # Extract the first word of "strip", so it can be a program name with args.
5810 set dummy strip
; ac_word
=$2
5811 { echo "$as_me:$LINENO: checking for $ac_word" >&5
5812 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
5813 if test "${ac_cv_prog_ac_ct_STRIP+set}" = set; then
5814 echo $ECHO_N "(cached) $ECHO_C" >&6
5816 if test -n "$ac_ct_STRIP"; then
5817 ac_cv_prog_ac_ct_STRIP
="$ac_ct_STRIP" # Let the user override the test.
5819 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
5823 test -z "$as_dir" && as_dir
=.
5824 for ac_exec_ext
in '' $ac_executable_extensions; do
5825 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; }; then
5826 ac_cv_prog_ac_ct_STRIP
="strip"
5827 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
5836 ac_ct_STRIP
=$ac_cv_prog_ac_ct_STRIP
5837 if test -n "$ac_ct_STRIP"; then
5838 { echo "$as_me:$LINENO: result: $ac_ct_STRIP" >&5
5839 echo "${ECHO_T}$ac_ct_STRIP" >&6; }
5841 { echo "$as_me:$LINENO: result: no" >&5
5842 echo "${ECHO_T}no" >&6; }
5845 if test "x$ac_ct_STRIP" = x
; then
5848 case $cross_compiling:$ac_tool_warned in
5850 { echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools
5851 whose name does not start with the host triplet. If you think this
5852 configuration is useful to you, please write to autoconf@gnu.org." >&5
5853 echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools
5854 whose name does not start with the host triplet. If you think this
5855 configuration is useful to you, please write to autoconf@gnu.org." >&2;}
5856 ac_tool_warned
=yes ;;
5861 STRIP
="$ac_cv_prog_STRIP"
5864 if test -n "$ac_tool_prefix"; then
5865 # Extract the first word of "${ac_tool_prefix}windres", so it can be a program name with args.
5866 set dummy
${ac_tool_prefix}windres
; ac_word
=$2
5867 { echo "$as_me:$LINENO: checking for $ac_word" >&5
5868 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
5869 if test "${ac_cv_prog_WINDRES+set}" = set; then
5870 echo $ECHO_N "(cached) $ECHO_C" >&6
5872 if test -n "$WINDRES"; then
5873 ac_cv_prog_WINDRES
="$WINDRES" # Let the user override the test.
5875 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
5879 test -z "$as_dir" && as_dir
=.
5880 for ac_exec_ext
in '' $ac_executable_extensions; do
5881 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; }; then
5882 ac_cv_prog_WINDRES
="${ac_tool_prefix}windres"
5883 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
5892 WINDRES
=$ac_cv_prog_WINDRES
5893 if test -n "$WINDRES"; then
5894 { echo "$as_me:$LINENO: result: $WINDRES" >&5
5895 echo "${ECHO_T}$WINDRES" >&6; }
5897 { echo "$as_me:$LINENO: result: no" >&5
5898 echo "${ECHO_T}no" >&6; }
5903 if test -z "$ac_cv_prog_WINDRES"; then
5904 ac_ct_WINDRES
=$WINDRES
5905 # Extract the first word of "windres", so it can be a program name with args.
5906 set dummy windres
; ac_word
=$2
5907 { echo "$as_me:$LINENO: checking for $ac_word" >&5
5908 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
5909 if test "${ac_cv_prog_ac_ct_WINDRES+set}" = set; then
5910 echo $ECHO_N "(cached) $ECHO_C" >&6
5912 if test -n "$ac_ct_WINDRES"; then
5913 ac_cv_prog_ac_ct_WINDRES
="$ac_ct_WINDRES" # Let the user override the test.
5915 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
5919 test -z "$as_dir" && as_dir
=.
5920 for ac_exec_ext
in '' $ac_executable_extensions; do
5921 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; }; then
5922 ac_cv_prog_ac_ct_WINDRES
="windres"
5923 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
5932 ac_ct_WINDRES
=$ac_cv_prog_ac_ct_WINDRES
5933 if test -n "$ac_ct_WINDRES"; then
5934 { echo "$as_me:$LINENO: result: $ac_ct_WINDRES" >&5
5935 echo "${ECHO_T}$ac_ct_WINDRES" >&6; }
5937 { echo "$as_me:$LINENO: result: no" >&5
5938 echo "${ECHO_T}no" >&6; }
5941 if test "x$ac_ct_WINDRES" = x
; then
5944 case $cross_compiling:$ac_tool_warned in
5946 { echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools
5947 whose name does not start with the host triplet. If you think this
5948 configuration is useful to you, please write to autoconf@gnu.org." >&5
5949 echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools
5950 whose name does not start with the host triplet. If you think this
5951 configuration is useful to you, please write to autoconf@gnu.org." >&2;}
5952 ac_tool_warned
=yes ;;
5954 WINDRES
=$ac_ct_WINDRES
5957 WINDRES
="$ac_cv_prog_WINDRES"
5960 { echo "$as_me:$LINENO: checking whether ln -s works" >&5
5961 echo $ECHO_N "checking whether ln -s works... $ECHO_C" >&6; }
5963 if test "$LN_S" = "ln -s"; then
5964 { echo "$as_me:$LINENO: result: yes" >&5
5965 echo "${ECHO_T}yes" >&6; }
5967 { echo "$as_me:$LINENO: result: no, using $LN_S" >&5
5968 echo "${ECHO_T}no, using $LN_S" >&6; }
5971 { echo "$as_me:$LINENO: checking whether ln works" >&5
5972 echo $ECHO_N "checking whether ln works... $ECHO_C" >&6; }
5973 rm -f conf$$ conf$$.
file
5975 if ln conf$$.
file conf$$
2>/dev
/null
; then
5978 { echo "$as_me:$LINENO: result: yes" >&5
5979 echo "${ECHO_T}yes" >&6; }
5983 { echo "$as_me:$LINENO: result: no, using $LN" >&5
5984 echo "${ECHO_T}no, using $LN" >&6; }
5986 rm -f conf$$ conf$$.
file
5987 { echo "$as_me:$LINENO: checking for grep that handles long lines and -e" >&5
5988 echo $ECHO_N "checking for grep that handles long lines and -e... $ECHO_C" >&6; }
5989 if test "${ac_cv_path_GREP+set}" = set; then
5990 echo $ECHO_N "(cached) $ECHO_C" >&6
5992 # Extract the first word of "grep ggrep" to use in msg output
5993 if test -z "$GREP"; then
5994 set dummy
grep ggrep
; ac_prog_name
=$2
5995 if test "${ac_cv_path_GREP+set}" = set; then
5996 echo $ECHO_N "(cached) $ECHO_C" >&6
5998 ac_path_GREP_found
=false
5999 # Loop through the user's path and test for each of PROGNAME-LIST
6000 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
6001 for as_dir
in $PATH$PATH_SEPARATOR/usr
/xpg
4/bin
6004 test -z "$as_dir" && as_dir
=.
6005 for ac_prog
in grep ggrep
; do
6006 for ac_exec_ext
in '' $ac_executable_extensions; do
6007 ac_path_GREP
="$as_dir/$ac_prog$ac_exec_ext"
6008 { test -f "$ac_path_GREP" && $as_executable_p "$ac_path_GREP"; } ||
continue
6009 # Check for GNU ac_path_GREP and select it if it is found.
6010 # Check for GNU $ac_path_GREP
6011 case `"$ac_path_GREP" --version 2>&1` in
6013 ac_cv_path_GREP
="$ac_path_GREP" ac_path_GREP_found
=:;;
6016 echo $ECHO_N "0123456789$ECHO_C" >"conftest.in"
6019 cat "conftest.in" "conftest.in" >"conftest.tmp"
6020 mv "conftest.tmp" "conftest.in"
6021 cp "conftest.in" "conftest.nl"
6022 echo 'GREP' >> "conftest.nl"
6023 "$ac_path_GREP" -e 'GREP$' -e '-(cannot match)-' < "conftest.nl" >"conftest.out" 2>/dev
/null ||
break
6024 diff "conftest.out" "conftest.nl" >/dev
/null
2>&1 ||
break
6025 ac_count
=`expr $ac_count + 1`
6026 if test $ac_count -gt ${ac_path_GREP_max-0}; then
6027 # Best one so far, save it but keep looking for a better one
6028 ac_cv_path_GREP
="$ac_path_GREP"
6029 ac_path_GREP_max
=$ac_count
6031 # 10*(2^10) chars as input seems more than enough
6032 test $ac_count -gt 10 && break
6038 $ac_path_GREP_found && break 3
6048 GREP
="$ac_cv_path_GREP"
6049 if test -z "$GREP"; then
6050 { { echo "$as_me:$LINENO: error: no acceptable $ac_prog_name could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" >&5
6051 echo "$as_me: error: no acceptable $ac_prog_name could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" >&2;}
6052 { (exit 1); exit 1; }; }
6056 ac_cv_path_GREP
=$GREP
6061 { echo "$as_me:$LINENO: result: $ac_cv_path_GREP" >&5
6062 echo "${ECHO_T}$ac_cv_path_GREP" >&6; }
6063 GREP
="$ac_cv_path_GREP"
6066 { echo "$as_me:$LINENO: checking for egrep" >&5
6067 echo $ECHO_N "checking for egrep... $ECHO_C" >&6; }
6068 if test "${ac_cv_path_EGREP+set}" = set; then
6069 echo $ECHO_N "(cached) $ECHO_C" >&6
6071 if echo a |
$GREP -E '(a|b)' >/dev
/null
2>&1
6072 then ac_cv_path_EGREP
="$GREP -E"
6074 # Extract the first word of "egrep" to use in msg output
6075 if test -z "$EGREP"; then
6076 set dummy
egrep; ac_prog_name
=$2
6077 if test "${ac_cv_path_EGREP+set}" = set; then
6078 echo $ECHO_N "(cached) $ECHO_C" >&6
6080 ac_path_EGREP_found
=false
6081 # Loop through the user's path and test for each of PROGNAME-LIST
6082 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
6083 for as_dir
in $PATH$PATH_SEPARATOR/usr
/xpg
4/bin
6086 test -z "$as_dir" && as_dir
=.
6087 for ac_prog
in egrep; do
6088 for ac_exec_ext
in '' $ac_executable_extensions; do
6089 ac_path_EGREP
="$as_dir/$ac_prog$ac_exec_ext"
6090 { test -f "$ac_path_EGREP" && $as_executable_p "$ac_path_EGREP"; } ||
continue
6091 # Check for GNU ac_path_EGREP and select it if it is found.
6092 # Check for GNU $ac_path_EGREP
6093 case `"$ac_path_EGREP" --version 2>&1` in
6095 ac_cv_path_EGREP
="$ac_path_EGREP" ac_path_EGREP_found
=:;;
6098 echo $ECHO_N "0123456789$ECHO_C" >"conftest.in"
6101 cat "conftest.in" "conftest.in" >"conftest.tmp"
6102 mv "conftest.tmp" "conftest.in"
6103 cp "conftest.in" "conftest.nl"
6104 echo 'EGREP' >> "conftest.nl"
6105 "$ac_path_EGREP" 'EGREP$' < "conftest.nl" >"conftest.out" 2>/dev
/null ||
break
6106 diff "conftest.out" "conftest.nl" >/dev
/null
2>&1 ||
break
6107 ac_count
=`expr $ac_count + 1`
6108 if test $ac_count -gt ${ac_path_EGREP_max-0}; then
6109 # Best one so far, save it but keep looking for a better one
6110 ac_cv_path_EGREP
="$ac_path_EGREP"
6111 ac_path_EGREP_max
=$ac_count
6113 # 10*(2^10) chars as input seems more than enough
6114 test $ac_count -gt 10 && break
6120 $ac_path_EGREP_found && break 3
6130 EGREP
="$ac_cv_path_EGREP"
6131 if test -z "$EGREP"; then
6132 { { echo "$as_me:$LINENO: error: no acceptable $ac_prog_name could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" >&5
6133 echo "$as_me: error: no acceptable $ac_prog_name could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" >&2;}
6134 { (exit 1); exit 1; }; }
6138 ac_cv_path_EGREP
=$EGREP
6144 { echo "$as_me:$LINENO: result: $ac_cv_path_EGREP" >&5
6145 echo "${ECHO_T}$ac_cv_path_EGREP" >&6; }
6146 EGREP
="$ac_cv_path_EGREP"
6149 # Extract the first word of "ldconfig", so it can be a program name with args.
6150 set dummy ldconfig
; ac_word
=$2
6151 { echo "$as_me:$LINENO: checking for $ac_word" >&5
6152 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
6153 if test "${ac_cv_path_LDCONFIG+set}" = set; then
6154 echo $ECHO_N "(cached) $ECHO_C" >&6
6158 ac_cv_path_LDCONFIG
="$LDCONFIG" # Let the user override the test with a path.
6161 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
6162 for as_dir
in /sbin
/usr
/sbin
$PATH
6165 test -z "$as_dir" && as_dir
=.
6166 for ac_exec_ext
in '' $ac_executable_extensions; do
6167 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; }; then
6168 ac_cv_path_LDCONFIG
="$as_dir/$ac_word$ac_exec_ext"
6169 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
6176 test -z "$ac_cv_path_LDCONFIG" && ac_cv_path_LDCONFIG
="true"
6180 LDCONFIG
=$ac_cv_path_LDCONFIG
6181 if test -n "$LDCONFIG"; then
6182 { echo "$as_me:$LINENO: result: $LDCONFIG" >&5
6183 echo "${ECHO_T}$LDCONFIG" >&6; }
6185 { echo "$as_me:$LINENO: result: no" >&5
6186 echo "${ECHO_T}no" >&6; }
6190 # Find a good install program. We prefer a C program (faster),
6191 # so one script is as good as another. But avoid the broken or
6192 # incompatible versions:
6193 # SysV /etc/install, /usr/sbin/install
6194 # SunOS /usr/etc/install
6195 # IRIX /sbin/install
6197 # AmigaOS /C/install, which installs bootblocks on floppy discs
6198 # AIX 4 /usr/bin/installbsd, which doesn't work without a -g flag
6199 # AFS /usr/afsws/bin/install, which mishandles nonexistent args
6200 # SVR4 /usr/ucb/install, which tries to use the nonexistent group "staff"
6201 # OS/2's system install, which has a completely different semantic
6202 # ./install, which can be erroneously created by make from ./install.sh.
6203 { echo "$as_me:$LINENO: checking for a BSD-compatible install" >&5
6204 echo $ECHO_N "checking for a BSD-compatible install... $ECHO_C" >&6; }
6205 if test -z "$INSTALL"; then
6206 if test "${ac_cv_path_install+set}" = set; then
6207 echo $ECHO_N "(cached) $ECHO_C" >&6
6209 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
6213 test -z "$as_dir" && as_dir
=.
6214 # Account for people who put trailing slashes in PATH elements.
6216 .
/ | .
// |
/cC
/* | \
6217 /etc
/* |
/usr
/sbin
/* |
/usr
/etc
/* |
/sbin
/* |
/usr
/afsws
/bin
/* | \
6218 ?
:\\/os2
\\/install\\/* | ?
:\\/OS2
\\/INSTALL
\\/* | \
6221 # OSF1 and SCO ODT 3.0 have their own names for install.
6222 # Don't use installbsd from OSF since it installs stuff as root
6224 for ac_prog
in ginstall scoinst
install; do
6225 for ac_exec_ext
in '' $ac_executable_extensions; do
6226 if { test -f "$as_dir/$ac_prog$ac_exec_ext" && $as_executable_p "$as_dir/$ac_prog$ac_exec_ext"; }; then
6227 if test $ac_prog = install &&
6228 grep dspmsg
"$as_dir/$ac_prog$ac_exec_ext" >/dev
/null
2>&1; then
6229 # AIX install. It has an incompatible calling convention.
6231 elif test $ac_prog = install &&
6232 grep pwplus
"$as_dir/$ac_prog$ac_exec_ext" >/dev
/null
2>&1; then
6233 # program-specific install script used by HP pwplus--don't use.
6236 ac_cv_path_install
="$as_dir/$ac_prog$ac_exec_ext -c"
6249 if test "${ac_cv_path_install+set}" = set; then
6250 INSTALL
=$ac_cv_path_install
6252 # As a last resort, use the slow shell script. Don't cache a
6253 # value for INSTALL within a source directory, because that will
6254 # break other packages using the cache if that directory is
6255 # removed, or if the value is a relative name.
6256 INSTALL
=$ac_install_sh
6259 { echo "$as_me:$LINENO: result: $INSTALL" >&5
6260 echo "${ECHO_T}$INSTALL" >&6; }
6262 # Use test -z because SunOS4 sh mishandles braces in ${var-val}.
6263 # It thinks the first close brace ends the variable substitution.
6264 test -z "$INSTALL_PROGRAM" && INSTALL_PROGRAM
='${INSTALL}'
6266 test -z "$INSTALL_SCRIPT" && INSTALL_SCRIPT
='${INSTALL}'
6268 test -z "$INSTALL_DATA" && INSTALL_DATA
='${INSTALL} -m 644'
6271 [\\/$
]* | ?
:[\\/]* ) ;;
6272 *) INSTALL
="\\\$(TOPSRCDIR)/$INSTALL" ;;
6275 for ac_prog
in lclint lint
6277 # Extract the first word of "$ac_prog", so it can be a program name with args.
6278 set dummy
$ac_prog; ac_word
=$2
6279 { echo "$as_me:$LINENO: checking for $ac_word" >&5
6280 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
6281 if test "${ac_cv_prog_LINT+set}" = set; then
6282 echo $ECHO_N "(cached) $ECHO_C" >&6
6284 if test -n "$LINT"; then
6285 ac_cv_prog_LINT
="$LINT" # Let the user override the test.
6287 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
6291 test -z "$as_dir" && as_dir
=.
6292 for ac_exec_ext
in '' $ac_executable_extensions; do
6293 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; }; then
6294 ac_cv_prog_LINT
="$ac_prog"
6295 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
6304 LINT
=$ac_cv_prog_LINT
6305 if test -n "$LINT"; then
6306 { echo "$as_me:$LINENO: result: $LINT" >&5
6307 echo "${ECHO_T}$LINT" >&6; }
6309 { echo "$as_me:$LINENO: result: no" >&5
6310 echo "${ECHO_T}no" >&6; }
6314 test -n "$LINT" && break
6317 if test "$LINT" = "lint"
6319 LINTFLAGS
="$LINTFLAGS -errchk=%all,no%longptr64 -errhdr=%user -Ncheck=macro -Nlevel=4"
6324 for ac_prog
in fontforge
6326 # Extract the first word of "$ac_prog", so it can be a program name with args.
6327 set dummy
$ac_prog; ac_word
=$2
6328 { echo "$as_me:$LINENO: checking for $ac_word" >&5
6329 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
6330 if test "${ac_cv_prog_FONTFORGE+set}" = set; then
6331 echo $ECHO_N "(cached) $ECHO_C" >&6
6333 if test -n "$FONTFORGE"; then
6334 ac_cv_prog_FONTFORGE
="$FONTFORGE" # Let the user override the test.
6336 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
6340 test -z "$as_dir" && as_dir
=.
6341 for ac_exec_ext
in '' $ac_executable_extensions; do
6342 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; }; then
6343 ac_cv_prog_FONTFORGE
="$ac_prog"
6344 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
6353 FONTFORGE
=$ac_cv_prog_FONTFORGE
6354 if test -n "$FONTFORGE"; then
6355 { echo "$as_me:$LINENO: result: $FONTFORGE" >&5
6356 echo "${ECHO_T}$FONTFORGE" >&6; }
6358 { echo "$as_me:$LINENO: result: no" >&5
6359 echo "${ECHO_T}no" >&6; }
6363 test -n "$FONTFORGE" && break
6365 test -n "$FONTFORGE" || FONTFORGE
="false"
6367 for ac_prog
in pkg-config
6369 # Extract the first word of "$ac_prog", so it can be a program name with args.
6370 set dummy
$ac_prog; ac_word
=$2
6371 { echo "$as_me:$LINENO: checking for $ac_word" >&5
6372 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
6373 if test "${ac_cv_prog_PKG_CONFIG+set}" = set; then
6374 echo $ECHO_N "(cached) $ECHO_C" >&6
6376 if test -n "$PKG_CONFIG"; then
6377 ac_cv_prog_PKG_CONFIG
="$PKG_CONFIG" # Let the user override the test.
6379 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
6383 test -z "$as_dir" && as_dir
=.
6384 for ac_exec_ext
in '' $ac_executable_extensions; do
6385 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; }; then
6386 ac_cv_prog_PKG_CONFIG
="$ac_prog"
6387 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
6396 PKG_CONFIG
=$ac_cv_prog_PKG_CONFIG
6397 if test -n "$PKG_CONFIG"; then
6398 { echo "$as_me:$LINENO: result: $PKG_CONFIG" >&5
6399 echo "${ECHO_T}$PKG_CONFIG" >&6; }
6401 { echo "$as_me:$LINENO: result: no" >&5
6402 echo "${ECHO_T}no" >&6; }
6406 test -n "$PKG_CONFIG" && break
6408 test -n "$PKG_CONFIG" || PKG_CONFIG
="false"
6413 for ac_prog
in prelink
6415 # Extract the first word of "$ac_prog", so it can be a program name with args.
6416 set dummy
$ac_prog; ac_word
=$2
6417 { echo "$as_me:$LINENO: checking for $ac_word" >&5
6418 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
6419 if test "${ac_cv_prog_PRELINK+set}" = set; then
6420 echo $ECHO_N "(cached) $ECHO_C" >&6
6422 if test -n "$PRELINK"; then
6423 ac_cv_prog_PRELINK
="$PRELINK" # Let the user override the test.
6425 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
6426 for as_dir
in /sbin
/usr
/sbin
$PATH
6429 test -z "$as_dir" && as_dir
=.
6430 for ac_exec_ext
in '' $ac_executable_extensions; do
6431 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; }; then
6432 ac_cv_prog_PRELINK
="$ac_prog"
6433 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
6442 PRELINK
=$ac_cv_prog_PRELINK
6443 if test -n "$PRELINK"; then
6444 { echo "$as_me:$LINENO: result: $PRELINK" >&5
6445 echo "${ECHO_T}$PRELINK" >&6; }
6447 { echo "$as_me:$LINENO: result: no" >&5
6448 echo "${ECHO_T}no" >&6; }
6452 test -n "$PRELINK" && break
6454 test -n "$PRELINK" || PRELINK
="false"
6461 { echo "$as_me:$LINENO: checking for i386_set_ldt in -li386" >&5
6462 echo $ECHO_N "checking for i386_set_ldt in -li386... $ECHO_C" >&6; }
6463 if test "${ac_cv_lib_i386_i386_set_ldt+set}" = set; then
6464 echo $ECHO_N "(cached) $ECHO_C" >&6
6466 ac_check_lib_save_LIBS
=$LIBS
6468 cat >conftest.
$ac_ext <<_ACEOF
6471 cat confdefs.h
>>conftest.
$ac_ext
6472 cat >>conftest.
$ac_ext <<_ACEOF
6473 /* end confdefs.h. */
6475 /* Override any GCC internal prototype to avoid an error.
6476 Use char because int might match the return type of a GCC
6477 builtin and then its argument prototype would still apply. */
6481 char i386_set_ldt ();
6485 return i386_set_ldt ();
6490 rm -f conftest.
$ac_objext conftest
$ac_exeext
6491 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
6492 (eval $ac_link) 2>conftest.er1
6494 grep -v '^ *+' conftest.er1
>conftest.err
6496 cat conftest.err
>&5
6497 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6498 (exit $ac_status); } &&
6499 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
6500 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
6503 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6504 (exit $ac_status); }; } &&
6505 { ac_try
='test -s conftest$ac_exeext'
6506 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
6509 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6510 (exit $ac_status); }; }; then
6511 ac_cv_lib_i386_i386_set_ldt
=yes
6513 echo "$as_me: failed program was:" >&5
6514 sed 's/^/| /' conftest.
$ac_ext >&5
6516 ac_cv_lib_i386_i386_set_ldt
=no
6519 rm -f conftest.err conftest.
$ac_objext \
6520 conftest
$ac_exeext conftest.
$ac_ext
6521 LIBS
=$ac_check_lib_save_LIBS
6523 { echo "$as_me:$LINENO: result: $ac_cv_lib_i386_i386_set_ldt" >&5
6524 echo "${ECHO_T}$ac_cv_lib_i386_i386_set_ldt" >&6; }
6525 if test $ac_cv_lib_i386_i386_set_ldt = yes; then
6526 cat >>confdefs.h
<<_ACEOF
6527 #define HAVE_LIBI386 1
6535 { echo "$as_me:$LINENO: checking for _oss_ioctl in -lossaudio" >&5
6536 echo $ECHO_N "checking for _oss_ioctl in -lossaudio... $ECHO_C" >&6; }
6537 if test "${ac_cv_lib_ossaudio__oss_ioctl+set}" = set; then
6538 echo $ECHO_N "(cached) $ECHO_C" >&6
6540 ac_check_lib_save_LIBS
=$LIBS
6541 LIBS
="-lossaudio $LIBS"
6542 cat >conftest.
$ac_ext <<_ACEOF
6545 cat confdefs.h
>>conftest.
$ac_ext
6546 cat >>conftest.
$ac_ext <<_ACEOF
6547 /* end confdefs.h. */
6549 /* Override any GCC internal prototype to avoid an error.
6550 Use char because int might match the return type of a GCC
6551 builtin and then its argument prototype would still apply. */
6559 return _oss_ioctl ();
6564 rm -f conftest.
$ac_objext conftest
$ac_exeext
6565 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
6566 (eval $ac_link) 2>conftest.er1
6568 grep -v '^ *+' conftest.er1
>conftest.err
6570 cat conftest.err
>&5
6571 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6572 (exit $ac_status); } &&
6573 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
6574 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
6577 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6578 (exit $ac_status); }; } &&
6579 { ac_try
='test -s conftest$ac_exeext'
6580 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
6583 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6584 (exit $ac_status); }; }; then
6585 ac_cv_lib_ossaudio__oss_ioctl
=yes
6587 echo "$as_me: failed program was:" >&5
6588 sed 's/^/| /' conftest.
$ac_ext >&5
6590 ac_cv_lib_ossaudio__oss_ioctl
=no
6593 rm -f conftest.err conftest.
$ac_objext \
6594 conftest
$ac_exeext conftest.
$ac_ext
6595 LIBS
=$ac_check_lib_save_LIBS
6597 { echo "$as_me:$LINENO: result: $ac_cv_lib_ossaudio__oss_ioctl" >&5
6598 echo "${ECHO_T}$ac_cv_lib_ossaudio__oss_ioctl" >&6; }
6599 if test $ac_cv_lib_ossaudio__oss_ioctl = yes; then
6600 cat >>confdefs.h
<<_ACEOF
6601 #define HAVE_LIBOSSAUDIO 1
6604 LIBS
="-lossaudio $LIBS"
6609 for ac_func
in gethostbyname
6611 as_ac_var
=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
6612 { echo "$as_me:$LINENO: checking for $ac_func" >&5
6613 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; }
6614 if { as_var
=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
6615 echo $ECHO_N "(cached) $ECHO_C" >&6
6617 cat >conftest.
$ac_ext <<_ACEOF
6620 cat confdefs.h
>>conftest.
$ac_ext
6621 cat >>conftest.
$ac_ext <<_ACEOF
6622 /* end confdefs.h. */
6623 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
6624 For example, HP-UX 11i <limits.h> declares gettimeofday. */
6625 #define $ac_func innocuous_$ac_func
6627 /* System header to define __stub macros and hopefully few prototypes,
6628 which can conflict with char $ac_func (); below.
6629 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
6630 <limits.h> exists even on freestanding compilers. */
6633 # include <limits.h>
6635 # include <assert.h>
6640 /* Override any GCC internal prototype to avoid an error.
6641 Use char because int might match the return type of a GCC
6642 builtin and then its argument prototype would still apply. */
6647 /* The GNU C library defines this for functions which it implements
6648 to always fail with ENOSYS. Some functions are actually named
6649 something starting with __ and the normal name is an alias. */
6650 #if defined __stub_$ac_func || defined __stub___$ac_func
6662 rm -f conftest.
$ac_objext conftest
$ac_exeext
6663 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
6664 (eval $ac_link) 2>conftest.er1
6666 grep -v '^ *+' conftest.er1
>conftest.err
6668 cat conftest.err
>&5
6669 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6670 (exit $ac_status); } &&
6671 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
6672 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
6675 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6676 (exit $ac_status); }; } &&
6677 { ac_try
='test -s conftest$ac_exeext'
6678 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
6681 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6682 (exit $ac_status); }; }; then
6683 eval "$as_ac_var=yes"
6685 echo "$as_me: failed program was:" >&5
6686 sed 's/^/| /' conftest.
$ac_ext >&5
6688 eval "$as_ac_var=no"
6691 rm -f conftest.err conftest.
$ac_objext \
6692 conftest
$ac_exeext conftest.
$ac_ext
6694 ac_res
=`eval echo '${'$as_ac_var'}'`
6695 { echo "$as_me:$LINENO: result: $ac_res" >&5
6696 echo "${ECHO_T}$ac_res" >&6; }
6697 if test `eval echo '${'$as_ac_var'}'` = yes; then
6698 cat >>confdefs.h
<<_ACEOF
6699 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
6704 { echo "$as_me:$LINENO: checking for gethostbyname in -lnsl" >&5
6705 echo $ECHO_N "checking for gethostbyname in -lnsl... $ECHO_C" >&6; }
6706 if test "${ac_cv_lib_nsl_gethostbyname+set}" = set; then
6707 echo $ECHO_N "(cached) $ECHO_C" >&6
6709 ac_check_lib_save_LIBS
=$LIBS
6711 cat >conftest.
$ac_ext <<_ACEOF
6714 cat confdefs.h
>>conftest.
$ac_ext
6715 cat >>conftest.
$ac_ext <<_ACEOF
6716 /* end confdefs.h. */
6718 /* Override any GCC internal prototype to avoid an error.
6719 Use char because int might match the return type of a GCC
6720 builtin and then its argument prototype would still apply. */
6724 char gethostbyname ();
6728 return gethostbyname ();
6733 rm -f conftest.
$ac_objext conftest
$ac_exeext
6734 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
6735 (eval $ac_link) 2>conftest.er1
6737 grep -v '^ *+' conftest.er1
>conftest.err
6739 cat conftest.err
>&5
6740 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6741 (exit $ac_status); } &&
6742 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
6743 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
6746 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6747 (exit $ac_status); }; } &&
6748 { ac_try
='test -s conftest$ac_exeext'
6749 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
6752 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6753 (exit $ac_status); }; }; then
6754 ac_cv_lib_nsl_gethostbyname
=yes
6756 echo "$as_me: failed program was:" >&5
6757 sed 's/^/| /' conftest.
$ac_ext >&5
6759 ac_cv_lib_nsl_gethostbyname
=no
6762 rm -f conftest.err conftest.
$ac_objext \
6763 conftest
$ac_exeext conftest.
$ac_ext
6764 LIBS
=$ac_check_lib_save_LIBS
6766 { echo "$as_me:$LINENO: result: $ac_cv_lib_nsl_gethostbyname" >&5
6767 echo "${ECHO_T}$ac_cv_lib_nsl_gethostbyname" >&6; }
6768 if test $ac_cv_lib_nsl_gethostbyname = yes; then
6769 cat >>confdefs.h
<<_ACEOF
6770 #define HAVE_LIBNSL 1
6781 for ac_func
in connect
6783 as_ac_var
=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
6784 { echo "$as_me:$LINENO: checking for $ac_func" >&5
6785 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; }
6786 if { as_var
=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
6787 echo $ECHO_N "(cached) $ECHO_C" >&6
6789 cat >conftest.
$ac_ext <<_ACEOF
6792 cat confdefs.h
>>conftest.
$ac_ext
6793 cat >>conftest.
$ac_ext <<_ACEOF
6794 /* end confdefs.h. */
6795 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
6796 For example, HP-UX 11i <limits.h> declares gettimeofday. */
6797 #define $ac_func innocuous_$ac_func
6799 /* System header to define __stub macros and hopefully few prototypes,
6800 which can conflict with char $ac_func (); below.
6801 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
6802 <limits.h> exists even on freestanding compilers. */
6805 # include <limits.h>
6807 # include <assert.h>
6812 /* Override any GCC internal prototype to avoid an error.
6813 Use char because int might match the return type of a GCC
6814 builtin and then its argument prototype would still apply. */
6819 /* The GNU C library defines this for functions which it implements
6820 to always fail with ENOSYS. Some functions are actually named
6821 something starting with __ and the normal name is an alias. */
6822 #if defined __stub_$ac_func || defined __stub___$ac_func
6834 rm -f conftest.
$ac_objext conftest
$ac_exeext
6835 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
6836 (eval $ac_link) 2>conftest.er1
6838 grep -v '^ *+' conftest.er1
>conftest.err
6840 cat conftest.err
>&5
6841 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6842 (exit $ac_status); } &&
6843 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
6844 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
6847 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6848 (exit $ac_status); }; } &&
6849 { ac_try
='test -s conftest$ac_exeext'
6850 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
6853 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6854 (exit $ac_status); }; }; then
6855 eval "$as_ac_var=yes"
6857 echo "$as_me: failed program was:" >&5
6858 sed 's/^/| /' conftest.
$ac_ext >&5
6860 eval "$as_ac_var=no"
6863 rm -f conftest.err conftest.
$ac_objext \
6864 conftest
$ac_exeext conftest.
$ac_ext
6866 ac_res
=`eval echo '${'$as_ac_var'}'`
6867 { echo "$as_me:$LINENO: result: $ac_res" >&5
6868 echo "${ECHO_T}$ac_res" >&6; }
6869 if test `eval echo '${'$as_ac_var'}'` = yes; then
6870 cat >>confdefs.h
<<_ACEOF
6871 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
6876 { echo "$as_me:$LINENO: checking for connect in -lsocket" >&5
6877 echo $ECHO_N "checking for connect in -lsocket... $ECHO_C" >&6; }
6878 if test "${ac_cv_lib_socket_connect+set}" = set; then
6879 echo $ECHO_N "(cached) $ECHO_C" >&6
6881 ac_check_lib_save_LIBS
=$LIBS
6882 LIBS
="-lsocket $LIBS"
6883 cat >conftest.
$ac_ext <<_ACEOF
6886 cat confdefs.h
>>conftest.
$ac_ext
6887 cat >>conftest.
$ac_ext <<_ACEOF
6888 /* end confdefs.h. */
6890 /* Override any GCC internal prototype to avoid an error.
6891 Use char because int might match the return type of a GCC
6892 builtin and then its argument prototype would still apply. */
6905 rm -f conftest.
$ac_objext conftest
$ac_exeext
6906 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
6907 (eval $ac_link) 2>conftest.er1
6909 grep -v '^ *+' conftest.er1
>conftest.err
6911 cat conftest.err
>&5
6912 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6913 (exit $ac_status); } &&
6914 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
6915 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
6918 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6919 (exit $ac_status); }; } &&
6920 { ac_try
='test -s conftest$ac_exeext'
6921 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
6924 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6925 (exit $ac_status); }; }; then
6926 ac_cv_lib_socket_connect
=yes
6928 echo "$as_me: failed program was:" >&5
6929 sed 's/^/| /' conftest.
$ac_ext >&5
6931 ac_cv_lib_socket_connect
=no
6934 rm -f conftest.err conftest.
$ac_objext \
6935 conftest
$ac_exeext conftest.
$ac_ext
6936 LIBS
=$ac_check_lib_save_LIBS
6938 { echo "$as_me:$LINENO: result: $ac_cv_lib_socket_connect" >&5
6939 echo "${ECHO_T}$ac_cv_lib_socket_connect" >&6; }
6940 if test $ac_cv_lib_socket_connect = yes; then
6941 cat >>confdefs.h
<<_ACEOF
6942 #define HAVE_LIBSOCKET 1
6945 LIBS
="-lsocket $LIBS"
6953 for ac_func
in inet_aton
6955 as_ac_var
=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
6956 { echo "$as_me:$LINENO: checking for $ac_func" >&5
6957 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; }
6958 if { as_var
=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
6959 echo $ECHO_N "(cached) $ECHO_C" >&6
6961 cat >conftest.
$ac_ext <<_ACEOF
6964 cat confdefs.h
>>conftest.
$ac_ext
6965 cat >>conftest.
$ac_ext <<_ACEOF
6966 /* end confdefs.h. */
6967 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
6968 For example, HP-UX 11i <limits.h> declares gettimeofday. */
6969 #define $ac_func innocuous_$ac_func
6971 /* System header to define __stub macros and hopefully few prototypes,
6972 which can conflict with char $ac_func (); below.
6973 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
6974 <limits.h> exists even on freestanding compilers. */
6977 # include <limits.h>
6979 # include <assert.h>
6984 /* Override any GCC internal prototype to avoid an error.
6985 Use char because int might match the return type of a GCC
6986 builtin and then its argument prototype would still apply. */
6991 /* The GNU C library defines this for functions which it implements
6992 to always fail with ENOSYS. Some functions are actually named
6993 something starting with __ and the normal name is an alias. */
6994 #if defined __stub_$ac_func || defined __stub___$ac_func
7006 rm -f conftest.
$ac_objext conftest
$ac_exeext
7007 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
7008 (eval $ac_link) 2>conftest.er1
7010 grep -v '^ *+' conftest.er1
>conftest.err
7012 cat conftest.err
>&5
7013 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7014 (exit $ac_status); } &&
7015 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
7016 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
7019 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7020 (exit $ac_status); }; } &&
7021 { ac_try
='test -s conftest$ac_exeext'
7022 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
7025 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7026 (exit $ac_status); }; }; then
7027 eval "$as_ac_var=yes"
7029 echo "$as_me: failed program was:" >&5
7030 sed 's/^/| /' conftest.
$ac_ext >&5
7032 eval "$as_ac_var=no"
7035 rm -f conftest.err conftest.
$ac_objext \
7036 conftest
$ac_exeext conftest.
$ac_ext
7038 ac_res
=`eval echo '${'$as_ac_var'}'`
7039 { echo "$as_me:$LINENO: result: $ac_res" >&5
7040 echo "${ECHO_T}$ac_res" >&6; }
7041 if test `eval echo '${'$as_ac_var'}'` = yes; then
7042 cat >>confdefs.h
<<_ACEOF
7043 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
7048 { echo "$as_me:$LINENO: checking for inet_aton in -lresolv" >&5
7049 echo $ECHO_N "checking for inet_aton in -lresolv... $ECHO_C" >&6; }
7050 if test "${ac_cv_lib_resolv_inet_aton+set}" = set; then
7051 echo $ECHO_N "(cached) $ECHO_C" >&6
7053 ac_check_lib_save_LIBS
=$LIBS
7054 LIBS
="-lresolv $LIBS"
7055 cat >conftest.
$ac_ext <<_ACEOF
7058 cat confdefs.h
>>conftest.
$ac_ext
7059 cat >>conftest.
$ac_ext <<_ACEOF
7060 /* end confdefs.h. */
7062 /* Override any GCC internal prototype to avoid an error.
7063 Use char because int might match the return type of a GCC
7064 builtin and then its argument prototype would still apply. */
7072 return inet_aton ();
7077 rm -f conftest.
$ac_objext conftest
$ac_exeext
7078 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
7079 (eval $ac_link) 2>conftest.er1
7081 grep -v '^ *+' conftest.er1
>conftest.err
7083 cat conftest.err
>&5
7084 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7085 (exit $ac_status); } &&
7086 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
7087 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
7090 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7091 (exit $ac_status); }; } &&
7092 { ac_try
='test -s conftest$ac_exeext'
7093 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
7096 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7097 (exit $ac_status); }; }; then
7098 ac_cv_lib_resolv_inet_aton
=yes
7100 echo "$as_me: failed program was:" >&5
7101 sed 's/^/| /' conftest.
$ac_ext >&5
7103 ac_cv_lib_resolv_inet_aton
=no
7106 rm -f conftest.err conftest.
$ac_objext \
7107 conftest
$ac_exeext conftest.
$ac_ext
7108 LIBS
=$ac_check_lib_save_LIBS
7110 { echo "$as_me:$LINENO: result: $ac_cv_lib_resolv_inet_aton" >&5
7111 echo "${ECHO_T}$ac_cv_lib_resolv_inet_aton" >&6; }
7112 if test $ac_cv_lib_resolv_inet_aton = yes; then
7113 cat >>confdefs.h
<<_ACEOF
7114 #define HAVE_LIBRESOLV 1
7117 LIBS
="-lresolv $LIBS"
7125 { echo "$as_me:$LINENO: checking for _xpg4_setrunelocale in -lxpg4" >&5
7126 echo $ECHO_N "checking for _xpg4_setrunelocale in -lxpg4... $ECHO_C" >&6; }
7127 if test "${ac_cv_lib_xpg4__xpg4_setrunelocale+set}" = set; then
7128 echo $ECHO_N "(cached) $ECHO_C" >&6
7130 ac_check_lib_save_LIBS
=$LIBS
7132 cat >conftest.
$ac_ext <<_ACEOF
7135 cat confdefs.h
>>conftest.
$ac_ext
7136 cat >>conftest.
$ac_ext <<_ACEOF
7137 /* end confdefs.h. */
7139 /* Override any GCC internal prototype to avoid an error.
7140 Use char because int might match the return type of a GCC
7141 builtin and then its argument prototype would still apply. */
7145 char _xpg4_setrunelocale ();
7149 return _xpg4_setrunelocale ();
7154 rm -f conftest.
$ac_objext conftest
$ac_exeext
7155 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
7156 (eval $ac_link) 2>conftest.er1
7158 grep -v '^ *+' conftest.er1
>conftest.err
7160 cat conftest.err
>&5
7161 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7162 (exit $ac_status); } &&
7163 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
7164 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
7167 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7168 (exit $ac_status); }; } &&
7169 { ac_try
='test -s conftest$ac_exeext'
7170 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
7173 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7174 (exit $ac_status); }; }; then
7175 ac_cv_lib_xpg4__xpg4_setrunelocale
=yes
7177 echo "$as_me: failed program was:" >&5
7178 sed 's/^/| /' conftest.
$ac_ext >&5
7180 ac_cv_lib_xpg4__xpg4_setrunelocale
=no
7183 rm -f conftest.err conftest.
$ac_objext \
7184 conftest
$ac_exeext conftest.
$ac_ext
7185 LIBS
=$ac_check_lib_save_LIBS
7187 { echo "$as_me:$LINENO: result: $ac_cv_lib_xpg4__xpg4_setrunelocale" >&5
7188 echo "${ECHO_T}$ac_cv_lib_xpg4__xpg4_setrunelocale" >&6; }
7189 if test $ac_cv_lib_xpg4__xpg4_setrunelocale = yes; then
7190 cat >>confdefs.h
<<_ACEOF
7191 #define HAVE_LIBXPG4 1
7199 { echo "$as_me:$LINENO: checking for poll in -lpoll" >&5
7200 echo $ECHO_N "checking for poll in -lpoll... $ECHO_C" >&6; }
7201 if test "${ac_cv_lib_poll_poll+set}" = set; then
7202 echo $ECHO_N "(cached) $ECHO_C" >&6
7204 ac_check_lib_save_LIBS
=$LIBS
7206 cat >conftest.
$ac_ext <<_ACEOF
7209 cat confdefs.h
>>conftest.
$ac_ext
7210 cat >>conftest.
$ac_ext <<_ACEOF
7211 /* end confdefs.h. */
7213 /* Override any GCC internal prototype to avoid an error.
7214 Use char because int might match the return type of a GCC
7215 builtin and then its argument prototype would still apply. */
7228 rm -f conftest.
$ac_objext conftest
$ac_exeext
7229 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
7230 (eval $ac_link) 2>conftest.er1
7232 grep -v '^ *+' conftest.er1
>conftest.err
7234 cat conftest.err
>&5
7235 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7236 (exit $ac_status); } &&
7237 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
7238 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
7241 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7242 (exit $ac_status); }; } &&
7243 { ac_try
='test -s conftest$ac_exeext'
7244 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
7247 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7248 (exit $ac_status); }; }; then
7249 ac_cv_lib_poll_poll
=yes
7251 echo "$as_me: failed program was:" >&5
7252 sed 's/^/| /' conftest.
$ac_ext >&5
7254 ac_cv_lib_poll_poll
=no
7257 rm -f conftest.err conftest.
$ac_objext \
7258 conftest
$ac_exeext conftest.
$ac_ext
7259 LIBS
=$ac_check_lib_save_LIBS
7261 { echo "$as_me:$LINENO: result: $ac_cv_lib_poll_poll" >&5
7262 echo "${ECHO_T}$ac_cv_lib_poll_poll" >&6; }
7263 if test $ac_cv_lib_poll_poll = yes; then
7264 cat >>confdefs.h
<<_ACEOF
7265 #define HAVE_LIBPOLL 1
7273 { echo "$as_me:$LINENO: checking for res_9_init in -lresolv" >&5
7274 echo $ECHO_N "checking for res_9_init in -lresolv... $ECHO_C" >&6; }
7275 if test "${ac_cv_lib_resolv_res_9_init+set}" = set; then
7276 echo $ECHO_N "(cached) $ECHO_C" >&6
7278 ac_check_lib_save_LIBS
=$LIBS
7279 LIBS
="-lresolv $LIBS"
7280 cat >conftest.
$ac_ext <<_ACEOF
7283 cat confdefs.h
>>conftest.
$ac_ext
7284 cat >>conftest.
$ac_ext <<_ACEOF
7285 /* end confdefs.h. */
7287 /* Override any GCC internal prototype to avoid an error.
7288 Use char because int might match the return type of a GCC
7289 builtin and then its argument prototype would still apply. */
7297 return res_9_init ();
7302 rm -f conftest.
$ac_objext conftest
$ac_exeext
7303 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
7304 (eval $ac_link) 2>conftest.er1
7306 grep -v '^ *+' conftest.er1
>conftest.err
7308 cat conftest.err
>&5
7309 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7310 (exit $ac_status); } &&
7311 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
7312 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
7315 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7316 (exit $ac_status); }; } &&
7317 { ac_try
='test -s conftest$ac_exeext'
7318 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
7321 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7322 (exit $ac_status); }; }; then
7323 ac_cv_lib_resolv_res_9_init
=yes
7325 echo "$as_me: failed program was:" >&5
7326 sed 's/^/| /' conftest.
$ac_ext >&5
7328 ac_cv_lib_resolv_res_9_init
=no
7331 rm -f conftest.err conftest.
$ac_objext \
7332 conftest
$ac_exeext conftest.
$ac_ext
7333 LIBS
=$ac_check_lib_save_LIBS
7335 { echo "$as_me:$LINENO: result: $ac_cv_lib_resolv_res_9_init" >&5
7336 echo "${ECHO_T}$ac_cv_lib_resolv_res_9_init" >&6; }
7337 if test $ac_cv_lib_resolv_res_9_init = yes; then
7338 cat >>confdefs.h
<<_ACEOF
7339 #define HAVE_LIBRESOLV 1
7342 LIBS
="-lresolv $LIBS"
7346 { echo "$as_me:$LINENO: checking for pthread_create in -lpthread" >&5
7347 echo $ECHO_N "checking for pthread_create in -lpthread... $ECHO_C" >&6; }
7348 if test "${ac_cv_lib_pthread_pthread_create+set}" = set; then
7349 echo $ECHO_N "(cached) $ECHO_C" >&6
7351 ac_check_lib_save_LIBS
=$LIBS
7352 LIBS
="-lpthread $LIBS"
7353 cat >conftest.
$ac_ext <<_ACEOF
7356 cat confdefs.h
>>conftest.
$ac_ext
7357 cat >>conftest.
$ac_ext <<_ACEOF
7358 /* end confdefs.h. */
7360 /* Override any GCC internal prototype to avoid an error.
7361 Use char because int might match the return type of a GCC
7362 builtin and then its argument prototype would still apply. */
7366 char pthread_create ();
7370 return pthread_create ();
7375 rm -f conftest.
$ac_objext conftest
$ac_exeext
7376 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
7377 (eval $ac_link) 2>conftest.er1
7379 grep -v '^ *+' conftest.er1
>conftest.err
7381 cat conftest.err
>&5
7382 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7383 (exit $ac_status); } &&
7384 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
7385 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
7388 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7389 (exit $ac_status); }; } &&
7390 { ac_try
='test -s conftest$ac_exeext'
7391 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
7394 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7395 (exit $ac_status); }; }; then
7396 ac_cv_lib_pthread_pthread_create
=yes
7398 echo "$as_me: failed program was:" >&5
7399 sed 's/^/| /' conftest.
$ac_ext >&5
7401 ac_cv_lib_pthread_pthread_create
=no
7404 rm -f conftest.err conftest.
$ac_objext \
7405 conftest
$ac_exeext conftest.
$ac_ext
7406 LIBS
=$ac_check_lib_save_LIBS
7408 { echo "$as_me:$LINENO: result: $ac_cv_lib_pthread_pthread_create" >&5
7409 echo "${ECHO_T}$ac_cv_lib_pthread_pthread_create" >&6; }
7410 if test $ac_cv_lib_pthread_pthread_create = yes; then
7411 LIBPTHREAD
="-lpthread"
7428 { echo "$as_me:$LINENO: checking for ANSI C header files" >&5
7429 echo $ECHO_N "checking for ANSI C header files... $ECHO_C" >&6; }
7430 if test "${ac_cv_header_stdc+set}" = set; then
7431 echo $ECHO_N "(cached) $ECHO_C" >&6
7433 cat >conftest.
$ac_ext <<_ACEOF
7436 cat confdefs.h
>>conftest.
$ac_ext
7437 cat >>conftest.
$ac_ext <<_ACEOF
7438 /* end confdefs.h. */
7452 rm -f conftest.
$ac_objext
7453 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
7454 (eval $ac_compile) 2>conftest.er1
7456 grep -v '^ *+' conftest.er1
>conftest.err
7458 cat conftest.err
>&5
7459 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7460 (exit $ac_status); } &&
7461 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
7462 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
7465 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7466 (exit $ac_status); }; } &&
7467 { ac_try
='test -s conftest.$ac_objext'
7468 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
7471 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7472 (exit $ac_status); }; }; then
7473 ac_cv_header_stdc
=yes
7475 echo "$as_me: failed program was:" >&5
7476 sed 's/^/| /' conftest.
$ac_ext >&5
7478 ac_cv_header_stdc
=no
7481 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
7483 if test $ac_cv_header_stdc = yes; then
7484 # SunOS 4.x string.h does not declare mem*, contrary to ANSI.
7485 cat >conftest.
$ac_ext <<_ACEOF
7488 cat confdefs.h
>>conftest.
$ac_ext
7489 cat >>conftest.
$ac_ext <<_ACEOF
7490 /* end confdefs.h. */
7494 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
7495 $EGREP "memchr" >/dev
/null
2>&1; then
7498 ac_cv_header_stdc
=no
7504 if test $ac_cv_header_stdc = yes; then
7505 # ISC 2.0.2 stdlib.h does not declare free, contrary to ANSI.
7506 cat >conftest.
$ac_ext <<_ACEOF
7509 cat confdefs.h
>>conftest.
$ac_ext
7510 cat >>conftest.
$ac_ext <<_ACEOF
7511 /* end confdefs.h. */
7515 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
7516 $EGREP "free" >/dev
/null
2>&1; then
7519 ac_cv_header_stdc
=no
7525 if test $ac_cv_header_stdc = yes; then
7526 # /bin/cc in Irix-4.0.5 gets non-ANSI ctype macros unless using -ansi.
7527 if test "$cross_compiling" = yes; then
7530 cat >conftest.
$ac_ext <<_ACEOF
7533 cat confdefs.h
>>conftest.
$ac_ext
7534 cat >>conftest.
$ac_ext <<_ACEOF
7535 /* end confdefs.h. */
7538 #if ((' ' & 0x0FF) == 0x020)
7539 # define ISLOWER(c) ('a' <= (c) && (c) <= 'z')
7540 # define TOUPPER(c) (ISLOWER(c) ? 'A' + ((c) - 'a') : (c))
7542 # define ISLOWER(c) \
7543 (('a' <= (c) && (c) <= 'i') \
7544 || ('j' <= (c) && (c) <= 'r') \
7545 || ('s' <= (c) && (c) <= 'z'))
7546 # define TOUPPER(c) (ISLOWER(c) ? ((c) | 0x40) : (c))
7549 #define XOR(e, f) (((e) && !(f)) || (!(e) && (f)))
7554 for (i = 0; i < 256; i++)
7555 if (XOR (islower (i), ISLOWER (i))
7556 || toupper (i) != TOUPPER (i))
7561 rm -f conftest
$ac_exeext
7562 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
7563 (eval $ac_link) 2>&5
7565 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7566 (exit $ac_status); } && { ac_try
='./conftest$ac_exeext'
7567 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
7570 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7571 (exit $ac_status); }; }; then
7574 echo "$as_me: program exited with status $ac_status" >&5
7575 echo "$as_me: failed program was:" >&5
7576 sed 's/^/| /' conftest.
$ac_ext >&5
7579 ac_cv_header_stdc
=no
7581 rm -f core
*.core core.conftest.
* gmon.out bb.out conftest
$ac_exeext conftest.
$ac_objext conftest.
$ac_ext
7587 { echo "$as_me:$LINENO: result: $ac_cv_header_stdc" >&5
7588 echo "${ECHO_T}$ac_cv_header_stdc" >&6; }
7589 if test $ac_cv_header_stdc = yes; then
7591 cat >>confdefs.h
<<\_ACEOF
7592 #define STDC_HEADERS 1
7597 # On IRIX 5.3, sys/types and inttypes.h are conflicting.
7607 for ac_header
in sys
/types.h sys
/stat.h stdlib.h string.h memory.h
strings.h \
7608 inttypes.h stdint.h unistd.h
7610 as_ac_Header
=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
7611 { echo "$as_me:$LINENO: checking for $ac_header" >&5
7612 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
7613 if { as_var
=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
7614 echo $ECHO_N "(cached) $ECHO_C" >&6
7616 cat >conftest.
$ac_ext <<_ACEOF
7619 cat confdefs.h
>>conftest.
$ac_ext
7620 cat >>conftest.
$ac_ext <<_ACEOF
7621 /* end confdefs.h. */
7622 $ac_includes_default
7624 #include <$ac_header>
7626 rm -f conftest.
$ac_objext
7627 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
7628 (eval $ac_compile) 2>conftest.er1
7630 grep -v '^ *+' conftest.er1
>conftest.err
7632 cat conftest.err
>&5
7633 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7634 (exit $ac_status); } &&
7635 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
7636 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
7639 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7640 (exit $ac_status); }; } &&
7641 { ac_try
='test -s conftest.$ac_objext'
7642 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
7645 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7646 (exit $ac_status); }; }; then
7647 eval "$as_ac_Header=yes"
7649 echo "$as_me: failed program was:" >&5
7650 sed 's/^/| /' conftest.
$ac_ext >&5
7652 eval "$as_ac_Header=no"
7655 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
7657 ac_res
=`eval echo '${'$as_ac_Header'}'`
7658 { echo "$as_me:$LINENO: result: $ac_res" >&5
7659 echo "${ECHO_T}$ac_res" >&6; }
7660 if test `eval echo '${'$as_ac_Header'}'` = yes; then
7661 cat >>confdefs.h
<<_ACEOF
7662 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
7787 fontconfig
/fontconfig.h \
7813 machine
/soundcard.h \
7818 netinet
/in_systm.h \
7881 as_ac_Header
=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
7882 if { as_var
=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
7883 { echo "$as_me:$LINENO: checking for $ac_header" >&5
7884 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
7885 if { as_var
=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
7886 echo $ECHO_N "(cached) $ECHO_C" >&6
7888 ac_res
=`eval echo '${'$as_ac_Header'}'`
7889 { echo "$as_me:$LINENO: result: $ac_res" >&5
7890 echo "${ECHO_T}$ac_res" >&6; }
7892 # Is the header compilable?
7893 { echo "$as_me:$LINENO: checking $ac_header usability" >&5
7894 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6; }
7895 cat >conftest.
$ac_ext <<_ACEOF
7898 cat confdefs.h
>>conftest.
$ac_ext
7899 cat >>conftest.
$ac_ext <<_ACEOF
7900 /* end confdefs.h. */
7901 $ac_includes_default
7902 #include <$ac_header>
7904 rm -f conftest.
$ac_objext
7905 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
7906 (eval $ac_compile) 2>conftest.er1
7908 grep -v '^ *+' conftest.er1
>conftest.err
7910 cat conftest.err
>&5
7911 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7912 (exit $ac_status); } &&
7913 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
7914 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
7917 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7918 (exit $ac_status); }; } &&
7919 { ac_try
='test -s conftest.$ac_objext'
7920 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
7923 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7924 (exit $ac_status); }; }; then
7925 ac_header_compiler
=yes
7927 echo "$as_me: failed program was:" >&5
7928 sed 's/^/| /' conftest.
$ac_ext >&5
7930 ac_header_compiler
=no
7933 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
7934 { echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
7935 echo "${ECHO_T}$ac_header_compiler" >&6; }
7937 # Is the header present?
7938 { echo "$as_me:$LINENO: checking $ac_header presence" >&5
7939 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6; }
7940 cat >conftest.
$ac_ext <<_ACEOF
7943 cat confdefs.h
>>conftest.
$ac_ext
7944 cat >>conftest.
$ac_ext <<_ACEOF
7945 /* end confdefs.h. */
7946 #include <$ac_header>
7948 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
7949 (eval $ac_cpp conftest.
$ac_ext) 2>conftest.er1
7951 grep -v '^ *+' conftest.er1
>conftest.err
7953 cat conftest.err
>&5
7954 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7955 (exit $ac_status); } >/dev
/null
; then
7956 if test -s conftest.err
; then
7957 ac_cpp_err
=$ac_c_preproc_warn_flag
7958 ac_cpp_err
=$ac_cpp_err$ac_c_werror_flag
7965 if test -z "$ac_cpp_err"; then
7966 ac_header_preproc
=yes
7968 echo "$as_me: failed program was:" >&5
7969 sed 's/^/| /' conftest.
$ac_ext >&5
7971 ac_header_preproc
=no
7974 rm -f conftest.err conftest.
$ac_ext
7975 { echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
7976 echo "${ECHO_T}$ac_header_preproc" >&6; }
7978 # So? What about this header?
7979 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
7981 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
7982 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
7983 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
7984 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
7985 ac_header_preproc
=yes
7988 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
7989 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
7990 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
7991 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
7992 { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
7993 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
7994 { echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
7995 echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
7996 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
7997 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
7998 { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
7999 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
8001 ## ------------------------------------ ##
8002 ## Report this to wine-devel@winehq.org ##
8003 ## ------------------------------------ ##
8005 ) |
sed "s/^/$as_me: WARNING: /" >&2
8008 { echo "$as_me:$LINENO: checking for $ac_header" >&5
8009 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
8010 if { as_var
=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
8011 echo $ECHO_N "(cached) $ECHO_C" >&6
8013 eval "$as_ac_Header=\$ac_header_preproc"
8015 ac_res
=`eval echo '${'$as_ac_Header'}'`
8016 { echo "$as_me:$LINENO: result: $ac_res" >&5
8017 echo "${ECHO_T}$ac_res" >&6; }
8020 if test `eval echo '${'$as_ac_Header'}'` = yes; then
8021 cat >>confdefs.h
<<_ACEOF
8022 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
8029 { echo "$as_me:$LINENO: checking whether stat file-mode macros are broken" >&5
8030 echo $ECHO_N "checking whether stat file-mode macros are broken... $ECHO_C" >&6; }
8031 if test "${ac_cv_header_stat_broken+set}" = set; then
8032 echo $ECHO_N "(cached) $ECHO_C" >&6
8034 cat >conftest.
$ac_ext <<_ACEOF
8037 cat confdefs.h
>>conftest.
$ac_ext
8038 cat >>conftest.
$ac_ext <<_ACEOF
8039 /* end confdefs.h. */
8040 #include <sys/types.h>
8041 #include <sys/stat.h>
8043 #if defined S_ISBLK && defined S_IFDIR
8044 # if S_ISBLK (S_IFDIR)
8049 #if defined S_ISBLK && defined S_IFCHR
8050 # if S_ISBLK (S_IFCHR)
8055 #if defined S_ISLNK && defined S_IFREG
8056 # if S_ISLNK (S_IFREG)
8061 #if defined S_ISSOCK && defined S_IFREG
8062 # if S_ISSOCK (S_IFREG)
8068 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
8069 $EGREP "You lose" >/dev
/null
2>&1; then
8070 ac_cv_header_stat_broken
=yes
8072 ac_cv_header_stat_broken
=no
8077 { echo "$as_me:$LINENO: result: $ac_cv_header_stat_broken" >&5
8078 echo "${ECHO_T}$ac_cv_header_stat_broken" >&6; }
8079 if test $ac_cv_header_stat_broken = yes; then
8081 cat >>confdefs.h
<<\_ACEOF
8082 #define STAT_MACROS_BROKEN 1
8093 for ac_header
in sys
/mount.h sys
/statfs.h sys
/user.h sys
/vfs.h
8095 as_ac_Header
=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
8096 { echo "$as_me:$LINENO: checking for $ac_header" >&5
8097 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
8098 if { as_var
=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
8099 echo $ECHO_N "(cached) $ECHO_C" >&6
8101 cat >conftest.
$ac_ext <<_ACEOF
8104 cat confdefs.h
>>conftest.
$ac_ext
8105 cat >>conftest.
$ac_ext <<_ACEOF
8106 /* end confdefs.h. */
8107 #include <sys/types.h>
8108 #if HAVE_SYS_PARAM_H
8109 # include <sys/param.h>
8112 #include <$ac_header>
8114 rm -f conftest.
$ac_objext
8115 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
8116 (eval $ac_compile) 2>conftest.er1
8118 grep -v '^ *+' conftest.er1
>conftest.err
8120 cat conftest.err
>&5
8121 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8122 (exit $ac_status); } &&
8123 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
8124 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
8127 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8128 (exit $ac_status); }; } &&
8129 { ac_try
='test -s conftest.$ac_objext'
8130 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
8133 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8134 (exit $ac_status); }; }; then
8135 eval "$as_ac_Header=yes"
8137 echo "$as_me: failed program was:" >&5
8138 sed 's/^/| /' conftest.
$ac_ext >&5
8140 eval "$as_ac_Header=no"
8143 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
8145 ac_res
=`eval echo '${'$as_ac_Header'}'`
8146 { echo "$as_me:$LINENO: result: $ac_res" >&5
8147 echo "${ECHO_T}$ac_res" >&6; }
8148 if test `eval echo '${'$as_ac_Header'}'` = yes; then
8149 cat >>confdefs.h
<<_ACEOF
8150 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
8164 for ac_header
in net
/if.h net
/if_arp.h net
/if_dl.h net
/if_types.h net
/route.h netipx
/ipx.h
8166 as_ac_Header
=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
8167 { echo "$as_me:$LINENO: checking for $ac_header" >&5
8168 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
8169 if { as_var
=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
8170 echo $ECHO_N "(cached) $ECHO_C" >&6
8172 cat >conftest.
$ac_ext <<_ACEOF
8175 cat confdefs.h
>>conftest.
$ac_ext
8176 cat >>conftest.
$ac_ext <<_ACEOF
8177 /* end confdefs.h. */
8178 #include <sys/types.h>
8179 #if HAVE_SYS_SOCKET_H
8180 # include <sys/socket.h>
8183 #include <$ac_header>
8185 rm -f conftest.
$ac_objext
8186 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
8187 (eval $ac_compile) 2>conftest.er1
8189 grep -v '^ *+' conftest.er1
>conftest.err
8191 cat conftest.err
>&5
8192 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8193 (exit $ac_status); } &&
8194 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
8195 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
8198 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8199 (exit $ac_status); }; } &&
8200 { ac_try
='test -s conftest.$ac_objext'
8201 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
8204 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8205 (exit $ac_status); }; }; then
8206 eval "$as_ac_Header=yes"
8208 echo "$as_me: failed program was:" >&5
8209 sed 's/^/| /' conftest.
$ac_ext >&5
8211 eval "$as_ac_Header=no"
8214 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
8216 ac_res
=`eval echo '${'$as_ac_Header'}'`
8217 { echo "$as_me:$LINENO: result: $ac_res" >&5
8218 echo "${ECHO_T}$ac_res" >&6; }
8219 if test `eval echo '${'$as_ac_Header'}'` = yes; then
8220 cat >>confdefs.h
<<_ACEOF
8221 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
8230 for ac_header
in resolv.h
8232 as_ac_Header
=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
8233 { echo "$as_me:$LINENO: checking for $ac_header" >&5
8234 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
8235 if { as_var
=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
8236 echo $ECHO_N "(cached) $ECHO_C" >&6
8238 cat >conftest.
$ac_ext <<_ACEOF
8241 cat confdefs.h
>>conftest.
$ac_ext
8242 cat >>conftest.
$ac_ext <<_ACEOF
8243 /* end confdefs.h. */
8244 #include <sys/types.h>
8245 #if HAVE_SYS_SOCKET_H
8246 # include <sys/socket.h>
8248 #if HAVE_NETINET_IN_H
8249 # include <netinet/in.h>
8251 #if HAVE_ARPA_NAMESER_H
8252 # include <arpa/nameser.h>
8255 #include <$ac_header>
8257 rm -f conftest.
$ac_objext
8258 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
8259 (eval $ac_compile) 2>conftest.er1
8261 grep -v '^ *+' conftest.er1
>conftest.err
8263 cat conftest.err
>&5
8264 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8265 (exit $ac_status); } &&
8266 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
8267 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
8270 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8271 (exit $ac_status); }; } &&
8272 { ac_try
='test -s conftest.$ac_objext'
8273 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
8276 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8277 (exit $ac_status); }; }; then
8278 eval "$as_ac_Header=yes"
8280 echo "$as_me: failed program was:" >&5
8281 sed 's/^/| /' conftest.
$ac_ext >&5
8283 eval "$as_ac_Header=no"
8286 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
8288 ac_res
=`eval echo '${'$as_ac_Header'}'`
8289 { echo "$as_me:$LINENO: result: $ac_res" >&5
8290 echo "${ECHO_T}$ac_res" >&6; }
8291 if test `eval echo '${'$as_ac_Header'}'` = yes; then
8292 cat >>confdefs.h
<<_ACEOF
8293 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
8302 for ac_header
in ucontext.h
8304 as_ac_Header
=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
8305 { echo "$as_me:$LINENO: checking for $ac_header" >&5
8306 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
8307 if { as_var
=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
8308 echo $ECHO_N "(cached) $ECHO_C" >&6
8310 cat >conftest.
$ac_ext <<_ACEOF
8313 cat confdefs.h
>>conftest.
$ac_ext
8314 cat >>conftest.
$ac_ext <<_ACEOF
8315 /* end confdefs.h. */
8318 #include <$ac_header>
8320 rm -f conftest.
$ac_objext
8321 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
8322 (eval $ac_compile) 2>conftest.er1
8324 grep -v '^ *+' conftest.er1
>conftest.err
8326 cat conftest.err
>&5
8327 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8328 (exit $ac_status); } &&
8329 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
8330 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
8333 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8334 (exit $ac_status); }; } &&
8335 { ac_try
='test -s conftest.$ac_objext'
8336 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
8339 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8340 (exit $ac_status); }; }; then
8341 eval "$as_ac_Header=yes"
8343 echo "$as_me: failed program was:" >&5
8344 sed 's/^/| /' conftest.
$ac_ext >&5
8346 eval "$as_ac_Header=no"
8349 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
8351 ac_res
=`eval echo '${'$as_ac_Header'}'`
8352 { echo "$as_me:$LINENO: result: $ac_res" >&5
8353 echo "${ECHO_T}$ac_res" >&6; }
8354 if test `eval echo '${'$as_ac_Header'}'` = yes; then
8355 cat >>confdefs.h
<<_ACEOF
8356 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
8366 for ac_header
in linux
/ipx.h linux
/videodev.h
8368 as_ac_Header
=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
8369 { echo "$as_me:$LINENO: checking for $ac_header" >&5
8370 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
8371 if { as_var
=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
8372 echo $ECHO_N "(cached) $ECHO_C" >&6
8374 cat >conftest.
$ac_ext <<_ACEOF
8377 cat confdefs.h
>>conftest.
$ac_ext
8378 cat >>conftest.
$ac_ext <<_ACEOF
8379 /* end confdefs.h. */
8380 #ifdef HAVE_SYS_TIME_H
8381 #include <sys/time.h>
8383 #include <sys/types.h>
8384 #ifdef HAVE_ASM_TYPES_H
8385 #include <asm/types.h>
8388 #include <$ac_header>
8390 rm -f conftest.
$ac_objext
8391 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
8392 (eval $ac_compile) 2>conftest.er1
8394 grep -v '^ *+' conftest.er1
>conftest.err
8396 cat conftest.err
>&5
8397 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8398 (exit $ac_status); } &&
8399 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
8400 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
8403 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8404 (exit $ac_status); }; } &&
8405 { ac_try
='test -s conftest.$ac_objext'
8406 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
8409 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8410 (exit $ac_status); }; }; then
8411 eval "$as_ac_Header=yes"
8413 echo "$as_me: failed program was:" >&5
8414 sed 's/^/| /' conftest.
$ac_ext >&5
8416 eval "$as_ac_Header=no"
8419 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
8421 ac_res
=`eval echo '${'$as_ac_Header'}'`
8422 { echo "$as_me:$LINENO: result: $ac_res" >&5
8423 echo "${ECHO_T}$ac_res" >&6; }
8424 if test `eval echo '${'$as_ac_Header'}'` = yes; then
8425 cat >>confdefs.h
<<_ACEOF
8426 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
8435 for ac_header
in linux
/capi.h
8437 as_ac_Header
=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
8438 { echo "$as_me:$LINENO: checking for $ac_header" >&5
8439 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
8440 if { as_var
=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
8441 echo $ECHO_N "(cached) $ECHO_C" >&6
8443 cat >conftest.
$ac_ext <<_ACEOF
8446 cat confdefs.h
>>conftest.
$ac_ext
8447 cat >>conftest.
$ac_ext <<_ACEOF
8448 /* end confdefs.h. */
8451 #include <$ac_header>
8453 rm -f conftest.
$ac_objext
8454 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
8455 (eval $ac_compile) 2>conftest.er1
8457 grep -v '^ *+' conftest.er1
>conftest.err
8459 cat conftest.err
>&5
8460 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8461 (exit $ac_status); } &&
8462 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
8463 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
8466 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8467 (exit $ac_status); }; } &&
8468 { ac_try
='test -s conftest.$ac_objext'
8469 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
8472 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8473 (exit $ac_status); }; }; then
8474 eval "$as_ac_Header=yes"
8476 echo "$as_me: failed program was:" >&5
8477 sed 's/^/| /' conftest.
$ac_ext >&5
8479 eval "$as_ac_Header=no"
8482 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
8484 ac_res
=`eval echo '${'$as_ac_Header'}'`
8485 { echo "$as_me:$LINENO: result: $ac_res" >&5
8486 echo "${ECHO_T}$ac_res" >&6; }
8487 if test `eval echo '${'$as_ac_Header'}'` = yes; then
8488 cat >>confdefs.h
<<_ACEOF
8489 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
8498 if test "$have_x" = "yes"
8501 ac_save_CPPFLAGS
="$CPPFLAGS"
8502 CPPFLAGS
="$CPPFLAGS $X_CFLAGS"
8514 for ac_header
in X11
/Xlib.h \
8517 X11
/extensions
/shape.h \
8518 X11
/extensions
/XInput.h \
8519 X11
/extensions
/XShm.h \
8520 X11
/extensions
/Xrandr.h \
8521 X11
/extensions
/Xrender.h \
8522 X11
/extensions
/xf86dga.h \
8523 X11
/extensions
/xf86vmode.h
8525 as_ac_Header
=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
8526 { echo "$as_me:$LINENO: checking for $ac_header" >&5
8527 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
8528 if { as_var
=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
8529 echo $ECHO_N "(cached) $ECHO_C" >&6
8531 cat >conftest.
$ac_ext <<_ACEOF
8534 cat confdefs.h
>>conftest.
$ac_ext
8535 cat >>conftest.
$ac_ext <<_ACEOF
8536 /* end confdefs.h. */
8537 #ifdef HAVE_X11_XLIB_H
8538 # include <X11/Xlib.h>
8540 #ifdef HAVE_X11_XUTIL_H
8541 # include <X11/Xutil.h>
8544 #include <$ac_header>
8546 rm -f conftest.
$ac_objext
8547 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
8548 (eval $ac_compile) 2>conftest.er1
8550 grep -v '^ *+' conftest.er1
>conftest.err
8552 cat conftest.err
>&5
8553 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8554 (exit $ac_status); } &&
8555 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
8556 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
8559 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8560 (exit $ac_status); }; } &&
8561 { ac_try
='test -s conftest.$ac_objext'
8562 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
8565 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8566 (exit $ac_status); }; }; then
8567 eval "$as_ac_Header=yes"
8569 echo "$as_me: failed program was:" >&5
8570 sed 's/^/| /' conftest.
$ac_ext >&5
8572 eval "$as_ac_Header=no"
8575 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
8577 ac_res
=`eval echo '${'$as_ac_Header'}'`
8578 { echo "$as_me:$LINENO: result: $ac_res" >&5
8579 echo "${ECHO_T}$ac_res" >&6; }
8580 if test `eval echo '${'$as_ac_Header'}'` = yes; then
8581 cat >>confdefs.h
<<_ACEOF
8582 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
8590 if test "$ac_cv_header_X11_XKBlib_h" = "yes"
8592 { echo "$as_me:$LINENO: checking for XkbQueryExtension in -lX11" >&5
8593 echo $ECHO_N "checking for XkbQueryExtension in -lX11... $ECHO_C" >&6; }
8594 if test "${ac_cv_lib_X11_XkbQueryExtension+set}" = set; then
8595 echo $ECHO_N "(cached) $ECHO_C" >&6
8597 ac_check_lib_save_LIBS
=$LIBS
8598 LIBS
="-lX11 $X_LIBS -lXext -lX11 $X_EXTRA_LIBS $LIBS"
8599 cat >conftest.
$ac_ext <<_ACEOF
8602 cat confdefs.h
>>conftest.
$ac_ext
8603 cat >>conftest.
$ac_ext <<_ACEOF
8604 /* end confdefs.h. */
8606 /* Override any GCC internal prototype to avoid an error.
8607 Use char because int might match the return type of a GCC
8608 builtin and then its argument prototype would still apply. */
8612 char XkbQueryExtension ();
8616 return XkbQueryExtension ();
8621 rm -f conftest.
$ac_objext conftest
$ac_exeext
8622 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
8623 (eval $ac_link) 2>conftest.er1
8625 grep -v '^ *+' conftest.er1
>conftest.err
8627 cat conftest.err
>&5
8628 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8629 (exit $ac_status); } &&
8630 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
8631 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
8634 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8635 (exit $ac_status); }; } &&
8636 { ac_try
='test -s conftest$ac_exeext'
8637 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
8640 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8641 (exit $ac_status); }; }; then
8642 ac_cv_lib_X11_XkbQueryExtension
=yes
8644 echo "$as_me: failed program was:" >&5
8645 sed 's/^/| /' conftest.
$ac_ext >&5
8647 ac_cv_lib_X11_XkbQueryExtension
=no
8650 rm -f conftest.err conftest.
$ac_objext \
8651 conftest
$ac_exeext conftest.
$ac_ext
8652 LIBS
=$ac_check_lib_save_LIBS
8654 { echo "$as_me:$LINENO: result: $ac_cv_lib_X11_XkbQueryExtension" >&5
8655 echo "${ECHO_T}$ac_cv_lib_X11_XkbQueryExtension" >&6; }
8656 if test $ac_cv_lib_X11_XkbQueryExtension = yes; then
8658 cat >>confdefs.h
<<\_ACEOF
8666 if test "$ac_cv_header_X11_extensions_XShm_h" = "yes"
8668 { echo "$as_me:$LINENO: checking for XShmQueryExtension in -lXext" >&5
8669 echo $ECHO_N "checking for XShmQueryExtension in -lXext... $ECHO_C" >&6; }
8670 if test "${ac_cv_lib_Xext_XShmQueryExtension+set}" = set; then
8671 echo $ECHO_N "(cached) $ECHO_C" >&6
8673 ac_check_lib_save_LIBS
=$LIBS
8674 LIBS
="-lXext $X_LIBS -lXext -lX11 $X_EXTRA_LIBS $LIBS"
8675 cat >conftest.
$ac_ext <<_ACEOF
8678 cat confdefs.h
>>conftest.
$ac_ext
8679 cat >>conftest.
$ac_ext <<_ACEOF
8680 /* end confdefs.h. */
8682 /* Override any GCC internal prototype to avoid an error.
8683 Use char because int might match the return type of a GCC
8684 builtin and then its argument prototype would still apply. */
8688 char XShmQueryExtension ();
8692 return XShmQueryExtension ();
8697 rm -f conftest.
$ac_objext conftest
$ac_exeext
8698 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
8699 (eval $ac_link) 2>conftest.er1
8701 grep -v '^ *+' conftest.er1
>conftest.err
8703 cat conftest.err
>&5
8704 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8705 (exit $ac_status); } &&
8706 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
8707 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
8710 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8711 (exit $ac_status); }; } &&
8712 { ac_try
='test -s conftest$ac_exeext'
8713 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
8716 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8717 (exit $ac_status); }; }; then
8718 ac_cv_lib_Xext_XShmQueryExtension
=yes
8720 echo "$as_me: failed program was:" >&5
8721 sed 's/^/| /' conftest.
$ac_ext >&5
8723 ac_cv_lib_Xext_XShmQueryExtension
=no
8726 rm -f conftest.err conftest.
$ac_objext \
8727 conftest
$ac_exeext conftest.
$ac_ext
8728 LIBS
=$ac_check_lib_save_LIBS
8730 { echo "$as_me:$LINENO: result: $ac_cv_lib_Xext_XShmQueryExtension" >&5
8731 echo "${ECHO_T}$ac_cv_lib_Xext_XShmQueryExtension" >&6; }
8732 if test $ac_cv_lib_Xext_XShmQueryExtension = yes; then
8734 cat >>confdefs.h
<<\_ACEOF
8735 #define HAVE_LIBXXSHM 1
8742 if test "$ac_cv_header_X11_extensions_shape_h" = "yes"
8744 { echo "$as_me:$LINENO: checking for XShapeQueryExtension in -lXext" >&5
8745 echo $ECHO_N "checking for XShapeQueryExtension in -lXext... $ECHO_C" >&6; }
8746 if test "${ac_cv_lib_Xext_XShapeQueryExtension+set}" = set; then
8747 echo $ECHO_N "(cached) $ECHO_C" >&6
8749 ac_check_lib_save_LIBS
=$LIBS
8750 LIBS
="-lXext $X_LIBS -lXext -lX11 $X_EXTRA_LIBS $LIBS"
8751 cat >conftest.
$ac_ext <<_ACEOF
8754 cat confdefs.h
>>conftest.
$ac_ext
8755 cat >>conftest.
$ac_ext <<_ACEOF
8756 /* end confdefs.h. */
8758 /* Override any GCC internal prototype to avoid an error.
8759 Use char because int might match the return type of a GCC
8760 builtin and then its argument prototype would still apply. */
8764 char XShapeQueryExtension ();
8768 return XShapeQueryExtension ();
8773 rm -f conftest.
$ac_objext conftest
$ac_exeext
8774 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
8775 (eval $ac_link) 2>conftest.er1
8777 grep -v '^ *+' conftest.er1
>conftest.err
8779 cat conftest.err
>&5
8780 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8781 (exit $ac_status); } &&
8782 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
8783 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
8786 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8787 (exit $ac_status); }; } &&
8788 { ac_try
='test -s conftest$ac_exeext'
8789 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
8792 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8793 (exit $ac_status); }; }; then
8794 ac_cv_lib_Xext_XShapeQueryExtension
=yes
8796 echo "$as_me: failed program was:" >&5
8797 sed 's/^/| /' conftest.
$ac_ext >&5
8799 ac_cv_lib_Xext_XShapeQueryExtension
=no
8802 rm -f conftest.err conftest.
$ac_objext \
8803 conftest
$ac_exeext conftest.
$ac_ext
8804 LIBS
=$ac_check_lib_save_LIBS
8806 { echo "$as_me:$LINENO: result: $ac_cv_lib_Xext_XShapeQueryExtension" >&5
8807 echo "${ECHO_T}$ac_cv_lib_Xext_XShapeQueryExtension" >&6; }
8808 if test $ac_cv_lib_Xext_XShapeQueryExtension = yes; then
8810 cat >>confdefs.h
<<\_ACEOF
8811 #define HAVE_LIBXSHAPE 1
8818 if test "$ac_cv_header_X11_extensions_xf86dga_h" = "yes"
8820 { echo "$as_me:$LINENO: checking for XDGAQueryExtension in -lXxf86dga" >&5
8821 echo $ECHO_N "checking for XDGAQueryExtension in -lXxf86dga... $ECHO_C" >&6; }
8822 if test "${ac_cv_lib_Xxf86dga_XDGAQueryExtension+set}" = set; then
8823 echo $ECHO_N "(cached) $ECHO_C" >&6
8825 ac_check_lib_save_LIBS
=$LIBS
8826 LIBS
="-lXxf86dga $X_LIBS -lXext -lX11 $X_EXTRA_LIBS $LIBS"
8827 cat >conftest.
$ac_ext <<_ACEOF
8830 cat confdefs.h
>>conftest.
$ac_ext
8831 cat >>conftest.
$ac_ext <<_ACEOF
8832 /* end confdefs.h. */
8834 /* Override any GCC internal prototype to avoid an error.
8835 Use char because int might match the return type of a GCC
8836 builtin and then its argument prototype would still apply. */
8840 char XDGAQueryExtension ();
8844 return XDGAQueryExtension ();
8849 rm -f conftest.
$ac_objext conftest
$ac_exeext
8850 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
8851 (eval $ac_link) 2>conftest.er1
8853 grep -v '^ *+' conftest.er1
>conftest.err
8855 cat conftest.err
>&5
8856 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8857 (exit $ac_status); } &&
8858 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
8859 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
8862 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8863 (exit $ac_status); }; } &&
8864 { ac_try
='test -s conftest$ac_exeext'
8865 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
8868 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8869 (exit $ac_status); }; }; then
8870 ac_cv_lib_Xxf86dga_XDGAQueryExtension
=yes
8872 echo "$as_me: failed program was:" >&5
8873 sed 's/^/| /' conftest.
$ac_ext >&5
8875 ac_cv_lib_Xxf86dga_XDGAQueryExtension
=no
8878 rm -f conftest.err conftest.
$ac_objext \
8879 conftest
$ac_exeext conftest.
$ac_ext
8880 LIBS
=$ac_check_lib_save_LIBS
8882 { echo "$as_me:$LINENO: result: $ac_cv_lib_Xxf86dga_XDGAQueryExtension" >&5
8883 echo "${ECHO_T}$ac_cv_lib_Xxf86dga_XDGAQueryExtension" >&6; }
8884 if test $ac_cv_lib_Xxf86dga_XDGAQueryExtension = yes; then
8886 cat >>confdefs.h
<<\_ACEOF
8887 #define HAVE_LIBXXF86DGA2 1
8890 X_PRE_LIBS
="$X_PRE_LIBS -lXxf86dga"
8896 if test "$ac_cv_header_X11_extensions_xf86vmode_h" = "yes"
8898 { echo "$as_me:$LINENO: checking for XF86VidModeQueryExtension in -lXxf86vm" >&5
8899 echo $ECHO_N "checking for XF86VidModeQueryExtension in -lXxf86vm... $ECHO_C" >&6; }
8900 if test "${ac_cv_lib_Xxf86vm_XF86VidModeQueryExtension+set}" = set; then
8901 echo $ECHO_N "(cached) $ECHO_C" >&6
8903 ac_check_lib_save_LIBS
=$LIBS
8904 LIBS
="-lXxf86vm $X_LIBS -lXext -lX11 $X_EXTRA_LIBS $LIBS"
8905 cat >conftest.
$ac_ext <<_ACEOF
8908 cat confdefs.h
>>conftest.
$ac_ext
8909 cat >>conftest.
$ac_ext <<_ACEOF
8910 /* end confdefs.h. */
8912 /* Override any GCC internal prototype to avoid an error.
8913 Use char because int might match the return type of a GCC
8914 builtin and then its argument prototype would still apply. */
8918 char XF86VidModeQueryExtension ();
8922 return XF86VidModeQueryExtension ();
8927 rm -f conftest.
$ac_objext conftest
$ac_exeext
8928 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
8929 (eval $ac_link) 2>conftest.er1
8931 grep -v '^ *+' conftest.er1
>conftest.err
8933 cat conftest.err
>&5
8934 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8935 (exit $ac_status); } &&
8936 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
8937 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
8940 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8941 (exit $ac_status); }; } &&
8942 { ac_try
='test -s conftest$ac_exeext'
8943 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
8946 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8947 (exit $ac_status); }; }; then
8948 ac_cv_lib_Xxf86vm_XF86VidModeQueryExtension
=yes
8950 echo "$as_me: failed program was:" >&5
8951 sed 's/^/| /' conftest.
$ac_ext >&5
8953 ac_cv_lib_Xxf86vm_XF86VidModeQueryExtension
=no
8956 rm -f conftest.err conftest.
$ac_objext \
8957 conftest
$ac_exeext conftest.
$ac_ext
8958 LIBS
=$ac_check_lib_save_LIBS
8960 { echo "$as_me:$LINENO: result: $ac_cv_lib_Xxf86vm_XF86VidModeQueryExtension" >&5
8961 echo "${ECHO_T}$ac_cv_lib_Xxf86vm_XF86VidModeQueryExtension" >&6; }
8962 if test $ac_cv_lib_Xxf86vm_XF86VidModeQueryExtension = yes; then
8964 cat >>confdefs.h
<<\_ACEOF
8965 #define HAVE_LIBXXF86VM 1
8968 X_PRE_LIBS
="$X_PRE_LIBS -lXxf86vm"
8974 if test "$ac_cv_header_X11_extensions_Xrandr_h" = "yes"
8976 cat >conftest.
$ac_ext <<_ACEOF
8979 cat confdefs.h
>>conftest.
$ac_ext
8980 cat >>conftest.
$ac_ext <<_ACEOF
8981 /* end confdefs.h. */
8982 #include <X11/Xlib.h>
8983 #include <X11/extensions/Xrandr.h>
8987 static typeof(XRRSetScreenConfigAndRate) * func;
8992 rm -f conftest.
$ac_objext
8993 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
8994 (eval $ac_compile) 2>conftest.er1
8996 grep -v '^ *+' conftest.er1
>conftest.err
8998 cat conftest.err
>&5
8999 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9000 (exit $ac_status); } &&
9001 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
9002 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
9005 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9006 (exit $ac_status); }; } &&
9007 { ac_try
='test -s conftest.$ac_objext'
9008 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
9011 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9012 (exit $ac_status); }; }; then
9014 cat >>confdefs.h
<<\_ACEOF
9015 #define HAVE_LIBXRANDR 1
9019 echo "$as_me: failed program was:" >&5
9020 sed 's/^/| /' conftest.
$ac_ext >&5
9025 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
9028 if test "$ac_cv_header_X11_extensions_Xrender_h" = "yes"
9030 { echo "$as_me:$LINENO: checking for XRenderSetPictureTransform in -lXrender" >&5
9031 echo $ECHO_N "checking for XRenderSetPictureTransform in -lXrender... $ECHO_C" >&6; }
9032 if test "${ac_cv_lib_Xrender_XRenderSetPictureTransform+set}" = set; then
9033 echo $ECHO_N "(cached) $ECHO_C" >&6
9035 ac_check_lib_save_LIBS
=$LIBS
9036 LIBS
="-lXrender $X_LIBS -lXext -lX11 $X_EXTRA_LIBS $LIBS"
9037 cat >conftest.
$ac_ext <<_ACEOF
9040 cat confdefs.h
>>conftest.
$ac_ext
9041 cat >>conftest.
$ac_ext <<_ACEOF
9042 /* end confdefs.h. */
9044 /* Override any GCC internal prototype to avoid an error.
9045 Use char because int might match the return type of a GCC
9046 builtin and then its argument prototype would still apply. */
9050 char XRenderSetPictureTransform ();
9054 return XRenderSetPictureTransform ();
9059 rm -f conftest.
$ac_objext conftest
$ac_exeext
9060 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
9061 (eval $ac_link) 2>conftest.er1
9063 grep -v '^ *+' conftest.er1
>conftest.err
9065 cat conftest.err
>&5
9066 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9067 (exit $ac_status); } &&
9068 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
9069 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
9072 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9073 (exit $ac_status); }; } &&
9074 { ac_try
='test -s conftest$ac_exeext'
9075 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
9078 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9079 (exit $ac_status); }; }; then
9080 ac_cv_lib_Xrender_XRenderSetPictureTransform
=yes
9082 echo "$as_me: failed program was:" >&5
9083 sed 's/^/| /' conftest.
$ac_ext >&5
9085 ac_cv_lib_Xrender_XRenderSetPictureTransform
=no
9088 rm -f conftest.err conftest.
$ac_objext \
9089 conftest
$ac_exeext conftest.
$ac_ext
9090 LIBS
=$ac_check_lib_save_LIBS
9092 { echo "$as_me:$LINENO: result: $ac_cv_lib_Xrender_XRenderSetPictureTransform" >&5
9093 echo "${ECHO_T}$ac_cv_lib_Xrender_XRenderSetPictureTransform" >&6; }
9094 if test $ac_cv_lib_Xrender_XRenderSetPictureTransform = yes; then
9096 cat >>confdefs.h
<<\_ACEOF
9097 #define HAVE_XRENDERSETPICTURETRANSFORM 1
9104 if test "x$with_opengl" != "xno"
9110 for ac_header
in GL
/gl.h GL
/glx.h GL
/glext.h GL
/glu.h
9112 as_ac_Header
=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
9113 { echo "$as_me:$LINENO: checking for $ac_header" >&5
9114 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
9115 if { as_var
=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
9116 echo $ECHO_N "(cached) $ECHO_C" >&6
9118 cat >conftest.
$ac_ext <<_ACEOF
9121 cat confdefs.h
>>conftest.
$ac_ext
9122 cat >>conftest.
$ac_ext <<_ACEOF
9123 /* end confdefs.h. */
9124 #ifdef HAVE_GL_GLX_H
9125 # include <GL/glx.h>
9128 #include <$ac_header>
9130 rm -f conftest.
$ac_objext
9131 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
9132 (eval $ac_compile) 2>conftest.er1
9134 grep -v '^ *+' conftest.er1
>conftest.err
9136 cat conftest.err
>&5
9137 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9138 (exit $ac_status); } &&
9139 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
9140 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
9143 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9144 (exit $ac_status); }; } &&
9145 { ac_try
='test -s conftest.$ac_objext'
9146 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
9149 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9150 (exit $ac_status); }; }; then
9151 eval "$as_ac_Header=yes"
9153 echo "$as_me: failed program was:" >&5
9154 sed 's/^/| /' conftest.
$ac_ext >&5
9156 eval "$as_ac_Header=no"
9159 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
9161 ac_res
=`eval echo '${'$as_ac_Header'}'`
9162 { echo "$as_me:$LINENO: result: $ac_res" >&5
9163 echo "${ECHO_T}$ac_res" >&6; }
9164 if test `eval echo '${'$as_ac_Header'}'` = yes; then
9165 cat >>confdefs.h
<<_ACEOF
9166 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
9173 if test "$ac_cv_header_GL_gl_h" = "yes" -a "$ac_cv_header_GL_glx_h" = "yes"
9175 { echo "$as_me:$LINENO: checking for up-to-date OpenGL version" >&5
9176 echo $ECHO_N "checking for up-to-date OpenGL version... $ECHO_C" >&6; }
9177 if test "${wine_cv_opengl_version_OK+set}" = set; then
9178 echo $ECHO_N "(cached) $ECHO_C" >&6
9180 cat >conftest.
$ac_ext <<_ACEOF
9183 cat confdefs.h
>>conftest.
$ac_ext
9184 cat >>conftest.
$ac_ext <<_ACEOF
9185 /* end confdefs.h. */
9190 GLenum test = GL_UNSIGNED_SHORT_5_6_5;
9195 rm -f conftest.
$ac_objext
9196 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
9197 (eval $ac_compile) 2>conftest.er1
9199 grep -v '^ *+' conftest.er1
>conftest.err
9201 cat conftest.err
>&5
9202 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9203 (exit $ac_status); } &&
9204 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
9205 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
9208 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9209 (exit $ac_status); }; } &&
9210 { ac_try
='test -s conftest.$ac_objext'
9211 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
9214 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9215 (exit $ac_status); }; }; then
9216 wine_cv_opengl_version_OK
="yes"
9218 echo "$as_me: failed program was:" >&5
9219 sed 's/^/| /' conftest.
$ac_ext >&5
9221 wine_cv_opengl_version_OK
="no"
9225 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
9228 { echo "$as_me:$LINENO: result: $wine_cv_opengl_version_OK" >&5
9229 echo "${ECHO_T}$wine_cv_opengl_version_OK" >&6; }
9231 if test "$wine_cv_opengl_version_OK" = "yes"
9233 { echo "$as_me:$LINENO: checking for glXCreateContext in -lGL" >&5
9234 echo $ECHO_N "checking for glXCreateContext in -lGL... $ECHO_C" >&6; }
9235 if test "${ac_cv_lib_GL_glXCreateContext+set}" = set; then
9236 echo $ECHO_N "(cached) $ECHO_C" >&6
9238 ac_check_lib_save_LIBS
=$LIBS
9239 LIBS
="-lGL $X_LIBS -lXext -lX11 -lm $X_EXTRA_LIBS $LIBS"
9240 cat >conftest.
$ac_ext <<_ACEOF
9243 cat confdefs.h
>>conftest.
$ac_ext
9244 cat >>conftest.
$ac_ext <<_ACEOF
9245 /* end confdefs.h. */
9247 /* Override any GCC internal prototype to avoid an error.
9248 Use char because int might match the return type of a GCC
9249 builtin and then its argument prototype would still apply. */
9253 char glXCreateContext ();
9257 return glXCreateContext ();
9262 rm -f conftest.
$ac_objext conftest
$ac_exeext
9263 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
9264 (eval $ac_link) 2>conftest.er1
9266 grep -v '^ *+' conftest.er1
>conftest.err
9268 cat conftest.err
>&5
9269 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9270 (exit $ac_status); } &&
9271 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
9272 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
9275 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9276 (exit $ac_status); }; } &&
9277 { ac_try
='test -s conftest$ac_exeext'
9278 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
9281 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9282 (exit $ac_status); }; }; then
9283 ac_cv_lib_GL_glXCreateContext
=yes
9285 echo "$as_me: failed program was:" >&5
9286 sed 's/^/| /' conftest.
$ac_ext >&5
9288 ac_cv_lib_GL_glXCreateContext
=no
9291 rm -f conftest.err conftest.
$ac_objext \
9292 conftest
$ac_exeext conftest.
$ac_ext
9293 LIBS
=$ac_check_lib_save_LIBS
9295 { echo "$as_me:$LINENO: result: $ac_cv_lib_GL_glXCreateContext" >&5
9296 echo "${ECHO_T}$ac_cv_lib_GL_glXCreateContext" >&6; }
9297 if test $ac_cv_lib_GL_glXCreateContext = yes; then
9303 if test "$ac_cv_lib_GL_glXCreateContext" = "yes"
9305 OPENGLFILES
='$(OPENGLFILES)'
9307 cat >>confdefs.h
<<\_ACEOF
9308 #define HAVE_OPENGL 1
9312 if test -f /usr
/X11R
6/lib
/libGL.a
9314 { { echo "$as_me:$LINENO: error: /usr/X11R6/lib/libGL.a is present on your system.
9315 This prevents linking to OpenGL. Delete the file and restart configure." >&5
9316 echo "$as_me: error: /usr/X11R6/lib/libGL.a is present on your system.
9317 This prevents linking to OpenGL. Delete the file and restart configure." >&2;}
9318 { (exit 1); exit 1; }; }
9322 { echo "$as_me:$LINENO: checking for gluLookAt in -lGLU" >&5
9323 echo $ECHO_N "checking for gluLookAt in -lGLU... $ECHO_C" >&6; }
9324 if test "${ac_cv_lib_GLU_gluLookAt+set}" = set; then
9325 echo $ECHO_N "(cached) $ECHO_C" >&6
9327 ac_check_lib_save_LIBS
=$LIBS
9328 LIBS
="-lGLU $OPENGL_LIBS $X_LIBS $X_PRE_LIBS -lXext -lX11 -lm $X_EXTRA_LIBS
9330 cat >conftest.
$ac_ext <<_ACEOF
9333 cat confdefs.h
>>conftest.
$ac_ext
9334 cat >>conftest.
$ac_ext <<_ACEOF
9335 /* end confdefs.h. */
9337 /* Override any GCC internal prototype to avoid an error.
9338 Use char because int might match the return type of a GCC
9339 builtin and then its argument prototype would still apply. */
9347 return gluLookAt ();
9352 rm -f conftest.
$ac_objext conftest
$ac_exeext
9353 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
9354 (eval $ac_link) 2>conftest.er1
9356 grep -v '^ *+' conftest.er1
>conftest.err
9358 cat conftest.err
>&5
9359 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9360 (exit $ac_status); } &&
9361 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
9362 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
9365 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9366 (exit $ac_status); }; } &&
9367 { ac_try
='test -s conftest$ac_exeext'
9368 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
9371 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9372 (exit $ac_status); }; }; then
9373 ac_cv_lib_GLU_gluLookAt
=yes
9375 echo "$as_me: failed program was:" >&5
9376 sed 's/^/| /' conftest.
$ac_ext >&5
9378 ac_cv_lib_GLU_gluLookAt
=no
9381 rm -f conftest.err conftest.
$ac_objext \
9382 conftest
$ac_exeext conftest.
$ac_ext
9383 LIBS
=$ac_check_lib_save_LIBS
9385 { echo "$as_me:$LINENO: result: $ac_cv_lib_GLU_gluLookAt" >&5
9386 echo "${ECHO_T}$ac_cv_lib_GLU_gluLookAt" >&6; }
9387 if test $ac_cv_lib_GLU_gluLookAt = yes; then
9388 OPENGL_LIBS
="$OPENGL_LIBS -lGLU"
9389 GLU32FILES
='$(GLU32FILES)'
9395 { echo "$as_me:$LINENO: checking for glutMainLoop in -lglut" >&5
9396 echo $ECHO_N "checking for glutMainLoop in -lglut... $ECHO_C" >&6; }
9397 if test "${ac_cv_lib_glut_glutMainLoop+set}" = set; then
9398 echo $ECHO_N "(cached) $ECHO_C" >&6
9400 ac_check_lib_save_LIBS
=$LIBS
9401 LIBS
="-lglut $OPENGL_LIBS $X_LIBS $X_PRE_LIBS -lXmu -lXi -lX11 $X_EXTRA_LIBS $LIBS"
9402 cat >conftest.
$ac_ext <<_ACEOF
9405 cat confdefs.h
>>conftest.
$ac_ext
9406 cat >>conftest.
$ac_ext <<_ACEOF
9407 /* end confdefs.h. */
9409 /* Override any GCC internal prototype to avoid an error.
9410 Use char because int might match the return type of a GCC
9411 builtin and then its argument prototype would still apply. */
9415 char glutMainLoop ();
9419 return glutMainLoop ();
9424 rm -f conftest.
$ac_objext conftest
$ac_exeext
9425 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
9426 (eval $ac_link) 2>conftest.er1
9428 grep -v '^ *+' conftest.er1
>conftest.err
9430 cat conftest.err
>&5
9431 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9432 (exit $ac_status); } &&
9433 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
9434 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
9437 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9438 (exit $ac_status); }; } &&
9439 { ac_try
='test -s conftest$ac_exeext'
9440 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
9443 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9444 (exit $ac_status); }; }; then
9445 ac_cv_lib_glut_glutMainLoop
=yes
9447 echo "$as_me: failed program was:" >&5
9448 sed 's/^/| /' conftest.
$ac_ext >&5
9450 ac_cv_lib_glut_glutMainLoop
=no
9453 rm -f conftest.err conftest.
$ac_objext \
9454 conftest
$ac_exeext conftest.
$ac_ext
9455 LIBS
=$ac_check_lib_save_LIBS
9457 { echo "$as_me:$LINENO: result: $ac_cv_lib_glut_glutMainLoop" >&5
9458 echo "${ECHO_T}$ac_cv_lib_glut_glutMainLoop" >&6; }
9459 if test $ac_cv_lib_glut_glutMainLoop = yes; then
9460 GLUT_LIBS
="-lglut -lXmu -lXi"
9462 GLUT32FILES
='$(GLUT32FILES)'
9472 for ac_header
in audio
/audiolib.h
9474 as_ac_Header
=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
9475 if { as_var
=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
9476 { echo "$as_me:$LINENO: checking for $ac_header" >&5
9477 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
9478 if { as_var
=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
9479 echo $ECHO_N "(cached) $ECHO_C" >&6
9481 ac_res
=`eval echo '${'$as_ac_Header'}'`
9482 { echo "$as_me:$LINENO: result: $ac_res" >&5
9483 echo "${ECHO_T}$ac_res" >&6; }
9485 # Is the header compilable?
9486 { echo "$as_me:$LINENO: checking $ac_header usability" >&5
9487 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6; }
9488 cat >conftest.
$ac_ext <<_ACEOF
9491 cat confdefs.h
>>conftest.
$ac_ext
9492 cat >>conftest.
$ac_ext <<_ACEOF
9493 /* end confdefs.h. */
9494 $ac_includes_default
9495 #include <$ac_header>
9497 rm -f conftest.
$ac_objext
9498 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
9499 (eval $ac_compile) 2>conftest.er1
9501 grep -v '^ *+' conftest.er1
>conftest.err
9503 cat conftest.err
>&5
9504 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9505 (exit $ac_status); } &&
9506 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
9507 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
9510 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9511 (exit $ac_status); }; } &&
9512 { ac_try
='test -s conftest.$ac_objext'
9513 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
9516 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9517 (exit $ac_status); }; }; then
9518 ac_header_compiler
=yes
9520 echo "$as_me: failed program was:" >&5
9521 sed 's/^/| /' conftest.
$ac_ext >&5
9523 ac_header_compiler
=no
9526 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
9527 { echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
9528 echo "${ECHO_T}$ac_header_compiler" >&6; }
9530 # Is the header present?
9531 { echo "$as_me:$LINENO: checking $ac_header presence" >&5
9532 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6; }
9533 cat >conftest.
$ac_ext <<_ACEOF
9536 cat confdefs.h
>>conftest.
$ac_ext
9537 cat >>conftest.
$ac_ext <<_ACEOF
9538 /* end confdefs.h. */
9539 #include <$ac_header>
9541 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
9542 (eval $ac_cpp conftest.
$ac_ext) 2>conftest.er1
9544 grep -v '^ *+' conftest.er1
>conftest.err
9546 cat conftest.err
>&5
9547 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9548 (exit $ac_status); } >/dev
/null
; then
9549 if test -s conftest.err
; then
9550 ac_cpp_err
=$ac_c_preproc_warn_flag
9551 ac_cpp_err
=$ac_cpp_err$ac_c_werror_flag
9558 if test -z "$ac_cpp_err"; then
9559 ac_header_preproc
=yes
9561 echo "$as_me: failed program was:" >&5
9562 sed 's/^/| /' conftest.
$ac_ext >&5
9564 ac_header_preproc
=no
9567 rm -f conftest.err conftest.
$ac_ext
9568 { echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
9569 echo "${ECHO_T}$ac_header_preproc" >&6; }
9571 # So? What about this header?
9572 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
9574 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
9575 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
9576 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
9577 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
9578 ac_header_preproc
=yes
9581 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
9582 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
9583 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
9584 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
9585 { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
9586 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
9587 { echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
9588 echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
9589 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
9590 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
9591 { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
9592 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
9594 ## ------------------------------------ ##
9595 ## Report this to wine-devel@winehq.org ##
9596 ## ------------------------------------ ##
9598 ) |
sed "s/^/$as_me: WARNING: /" >&2
9601 { echo "$as_me:$LINENO: checking for $ac_header" >&5
9602 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
9603 if { as_var
=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
9604 echo $ECHO_N "(cached) $ECHO_C" >&6
9606 eval "$as_ac_Header=\$ac_header_preproc"
9608 ac_res
=`eval echo '${'$as_ac_Header'}'`
9609 { echo "$as_me:$LINENO: result: $ac_res" >&5
9610 echo "${ECHO_T}$ac_res" >&6; }
9613 if test `eval echo '${'$as_ac_Header'}'` = yes; then
9614 cat >>confdefs.h
<<_ACEOF
9615 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
9618 for ac_header
in audio
/soundlib.h
9620 as_ac_Header
=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
9621 { echo "$as_me:$LINENO: checking for $ac_header" >&5
9622 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
9623 if { as_var
=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
9624 echo $ECHO_N "(cached) $ECHO_C" >&6
9626 cat >conftest.
$ac_ext <<_ACEOF
9629 cat confdefs.h
>>conftest.
$ac_ext
9630 cat >>conftest.
$ac_ext <<_ACEOF
9631 /* end confdefs.h. */
9632 #include <audio/audiolib.h>
9634 #include <$ac_header>
9636 rm -f conftest.
$ac_objext
9637 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
9638 (eval $ac_compile) 2>conftest.er1
9640 grep -v '^ *+' conftest.er1
>conftest.err
9642 cat conftest.err
>&5
9643 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9644 (exit $ac_status); } &&
9645 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
9646 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
9649 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9650 (exit $ac_status); }; } &&
9651 { ac_try
='test -s conftest.$ac_objext'
9652 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
9655 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9656 (exit $ac_status); }; }; then
9657 eval "$as_ac_Header=yes"
9659 echo "$as_me: failed program was:" >&5
9660 sed 's/^/| /' conftest.
$ac_ext >&5
9662 eval "$as_ac_Header=no"
9665 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
9667 ac_res
=`eval echo '${'$as_ac_Header'}'`
9668 { echo "$as_me:$LINENO: result: $ac_res" >&5
9669 echo "${ECHO_T}$ac_res" >&6; }
9670 if test `eval echo '${'$as_ac_Header'}'` = yes; then
9671 cat >>confdefs.h
<<_ACEOF
9672 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
9679 { echo "$as_me:$LINENO: checking for AuCreateFlow in -laudio" >&5
9680 echo $ECHO_N "checking for AuCreateFlow in -laudio... $ECHO_C" >&6; }
9681 if test "${ac_cv_lib_audio_AuCreateFlow+set}" = set; then
9682 echo $ECHO_N "(cached) $ECHO_C" >&6
9684 ac_check_lib_save_LIBS
=$LIBS
9685 LIBS
="-laudio -lXt $X_LIBS -lXext -lX11 $X_EXTRA_LIBS $LIBS"
9686 cat >conftest.
$ac_ext <<_ACEOF
9689 cat confdefs.h
>>conftest.
$ac_ext
9690 cat >>conftest.
$ac_ext <<_ACEOF
9691 /* end confdefs.h. */
9693 /* Override any GCC internal prototype to avoid an error.
9694 Use char because int might match the return type of a GCC
9695 builtin and then its argument prototype would still apply. */
9699 char AuCreateFlow ();
9703 return AuCreateFlow ();
9708 rm -f conftest.
$ac_objext conftest
$ac_exeext
9709 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
9710 (eval $ac_link) 2>conftest.er1
9712 grep -v '^ *+' conftest.er1
>conftest.err
9714 cat conftest.err
>&5
9715 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9716 (exit $ac_status); } &&
9717 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
9718 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
9721 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9722 (exit $ac_status); }; } &&
9723 { ac_try
='test -s conftest$ac_exeext'
9724 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
9727 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9728 (exit $ac_status); }; }; then
9729 ac_cv_lib_audio_AuCreateFlow
=yes
9731 echo "$as_me: failed program was:" >&5
9732 sed 's/^/| /' conftest.
$ac_ext >&5
9734 ac_cv_lib_audio_AuCreateFlow
=no
9737 rm -f conftest.err conftest.
$ac_objext \
9738 conftest
$ac_exeext conftest.
$ac_ext
9739 LIBS
=$ac_check_lib_save_LIBS
9741 { echo "$as_me:$LINENO: result: $ac_cv_lib_audio_AuCreateFlow" >&5
9742 echo "${ECHO_T}$ac_cv_lib_audio_AuCreateFlow" >&6; }
9743 if test $ac_cv_lib_audio_AuCreateFlow = yes; then
9745 cat >>confdefs.h
<<\_ACEOF
9749 NASLIBS
="-laudio -lXt $X_LIBS -lXext -lX11 $X_EXTRA_LIBS"
9757 CPPFLAGS
="$ac_save_CPPFLAGS"
9774 if test "$PKG_CONFIG" != "false"
9776 ac_save_CPPFLAGS
="$CPPFLAGS"
9777 ac_xml_libs
="`$PKG_CONFIG --libs libxml-2.0`"
9778 ac_xml_cflags
="`$PKG_CONFIG --cflags libxml-2.0`"
9779 CPPFLAGS
="$CPPFLAGS $ac_xml_cflags"
9781 for ac_header
in libxml
/parser.h
9783 as_ac_Header
=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
9784 if { as_var
=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
9785 { echo "$as_me:$LINENO: checking for $ac_header" >&5
9786 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
9787 if { as_var
=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
9788 echo $ECHO_N "(cached) $ECHO_C" >&6
9790 ac_res
=`eval echo '${'$as_ac_Header'}'`
9791 { echo "$as_me:$LINENO: result: $ac_res" >&5
9792 echo "${ECHO_T}$ac_res" >&6; }
9794 # Is the header compilable?
9795 { echo "$as_me:$LINENO: checking $ac_header usability" >&5
9796 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6; }
9797 cat >conftest.
$ac_ext <<_ACEOF
9800 cat confdefs.h
>>conftest.
$ac_ext
9801 cat >>conftest.
$ac_ext <<_ACEOF
9802 /* end confdefs.h. */
9803 $ac_includes_default
9804 #include <$ac_header>
9806 rm -f conftest.
$ac_objext
9807 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
9808 (eval $ac_compile) 2>conftest.er1
9810 grep -v '^ *+' conftest.er1
>conftest.err
9812 cat conftest.err
>&5
9813 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9814 (exit $ac_status); } &&
9815 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
9816 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
9819 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9820 (exit $ac_status); }; } &&
9821 { ac_try
='test -s conftest.$ac_objext'
9822 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
9825 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9826 (exit $ac_status); }; }; then
9827 ac_header_compiler
=yes
9829 echo "$as_me: failed program was:" >&5
9830 sed 's/^/| /' conftest.
$ac_ext >&5
9832 ac_header_compiler
=no
9835 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
9836 { echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
9837 echo "${ECHO_T}$ac_header_compiler" >&6; }
9839 # Is the header present?
9840 { echo "$as_me:$LINENO: checking $ac_header presence" >&5
9841 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6; }
9842 cat >conftest.
$ac_ext <<_ACEOF
9845 cat confdefs.h
>>conftest.
$ac_ext
9846 cat >>conftest.
$ac_ext <<_ACEOF
9847 /* end confdefs.h. */
9848 #include <$ac_header>
9850 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
9851 (eval $ac_cpp conftest.
$ac_ext) 2>conftest.er1
9853 grep -v '^ *+' conftest.er1
>conftest.err
9855 cat conftest.err
>&5
9856 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9857 (exit $ac_status); } >/dev
/null
; then
9858 if test -s conftest.err
; then
9859 ac_cpp_err
=$ac_c_preproc_warn_flag
9860 ac_cpp_err
=$ac_cpp_err$ac_c_werror_flag
9867 if test -z "$ac_cpp_err"; then
9868 ac_header_preproc
=yes
9870 echo "$as_me: failed program was:" >&5
9871 sed 's/^/| /' conftest.
$ac_ext >&5
9873 ac_header_preproc
=no
9876 rm -f conftest.err conftest.
$ac_ext
9877 { echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
9878 echo "${ECHO_T}$ac_header_preproc" >&6; }
9880 # So? What about this header?
9881 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
9883 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
9884 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
9885 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
9886 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
9887 ac_header_preproc
=yes
9890 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
9891 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
9892 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
9893 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
9894 { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
9895 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
9896 { echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
9897 echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
9898 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
9899 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
9900 { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
9901 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
9903 ## ------------------------------------ ##
9904 ## Report this to wine-devel@winehq.org ##
9905 ## ------------------------------------ ##
9907 ) |
sed "s/^/$as_me: WARNING: /" >&2
9910 { echo "$as_me:$LINENO: checking for $ac_header" >&5
9911 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
9912 if { as_var
=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
9913 echo $ECHO_N "(cached) $ECHO_C" >&6
9915 eval "$as_ac_Header=\$ac_header_preproc"
9917 ac_res
=`eval echo '${'$as_ac_Header'}'`
9918 { echo "$as_me:$LINENO: result: $ac_res" >&5
9919 echo "${ECHO_T}$ac_res" >&6; }
9922 if test `eval echo '${'$as_ac_Header'}'` = yes; then
9923 cat >>confdefs.h
<<_ACEOF
9924 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
9926 { echo "$as_me:$LINENO: checking for xmlParseMemory in -lxml2" >&5
9927 echo $ECHO_N "checking for xmlParseMemory in -lxml2... $ECHO_C" >&6; }
9928 if test "${ac_cv_lib_xml2_xmlParseMemory+set}" = set; then
9929 echo $ECHO_N "(cached) $ECHO_C" >&6
9931 ac_check_lib_save_LIBS
=$LIBS
9932 LIBS
="-lxml2 $ac_xml_libs $LIBS"
9933 cat >conftest.
$ac_ext <<_ACEOF
9936 cat confdefs.h
>>conftest.
$ac_ext
9937 cat >>conftest.
$ac_ext <<_ACEOF
9938 /* end confdefs.h. */
9940 /* Override any GCC internal prototype to avoid an error.
9941 Use char because int might match the return type of a GCC
9942 builtin and then its argument prototype would still apply. */
9946 char xmlParseMemory ();
9950 return xmlParseMemory ();
9955 rm -f conftest.
$ac_objext conftest
$ac_exeext
9956 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
9957 (eval $ac_link) 2>conftest.er1
9959 grep -v '^ *+' conftest.er1
>conftest.err
9961 cat conftest.err
>&5
9962 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9963 (exit $ac_status); } &&
9964 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
9965 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
9968 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9969 (exit $ac_status); }; } &&
9970 { ac_try
='test -s conftest$ac_exeext'
9971 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
9974 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9975 (exit $ac_status); }; }; then
9976 ac_cv_lib_xml2_xmlParseMemory
=yes
9978 echo "$as_me: failed program was:" >&5
9979 sed 's/^/| /' conftest.
$ac_ext >&5
9981 ac_cv_lib_xml2_xmlParseMemory
=no
9984 rm -f conftest.err conftest.
$ac_objext \
9985 conftest
$ac_exeext conftest.
$ac_ext
9986 LIBS
=$ac_check_lib_save_LIBS
9988 { echo "$as_me:$LINENO: result: $ac_cv_lib_xml2_xmlParseMemory" >&5
9989 echo "${ECHO_T}$ac_cv_lib_xml2_xmlParseMemory" >&6; }
9990 if test $ac_cv_lib_xml2_xmlParseMemory = yes; then
9992 cat >>confdefs.h
<<\_ACEOF
9993 #define HAVE_LIBXML2 1
9996 XML2LIBS
="$ac_xml_libs"
9997 XML2INCL
="$ac_xml_cflags"
10000 { echo "$as_me:$LINENO: checking for xmlReadMemory in -lxml2" >&5
10001 echo $ECHO_N "checking for xmlReadMemory in -lxml2... $ECHO_C" >&6; }
10002 if test "${ac_cv_lib_xml2_xmlReadMemory+set}" = set; then
10003 echo $ECHO_N "(cached) $ECHO_C" >&6
10005 ac_check_lib_save_LIBS
=$LIBS
10006 LIBS
="-lxml2 $ac_xml_libs $LIBS"
10007 cat >conftest.
$ac_ext <<_ACEOF
10010 cat confdefs.h
>>conftest.
$ac_ext
10011 cat >>conftest.
$ac_ext <<_ACEOF
10012 /* end confdefs.h. */
10014 /* Override any GCC internal prototype to avoid an error.
10015 Use char because int might match the return type of a GCC
10016 builtin and then its argument prototype would still apply. */
10020 char xmlReadMemory ();
10024 return xmlReadMemory ();
10029 rm -f conftest.
$ac_objext conftest
$ac_exeext
10030 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
10031 (eval $ac_link) 2>conftest.er1
10033 grep -v '^ *+' conftest.er1
>conftest.err
10035 cat conftest.err
>&5
10036 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10037 (exit $ac_status); } &&
10038 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
10039 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
10040 (eval $ac_try) 2>&5
10042 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10043 (exit $ac_status); }; } &&
10044 { ac_try
='test -s conftest$ac_exeext'
10045 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
10046 (eval $ac_try) 2>&5
10048 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10049 (exit $ac_status); }; }; then
10050 ac_cv_lib_xml2_xmlReadMemory
=yes
10052 echo "$as_me: failed program was:" >&5
10053 sed 's/^/| /' conftest.
$ac_ext >&5
10055 ac_cv_lib_xml2_xmlReadMemory
=no
10058 rm -f conftest.err conftest.
$ac_objext \
10059 conftest
$ac_exeext conftest.
$ac_ext
10060 LIBS
=$ac_check_lib_save_LIBS
10062 { echo "$as_me:$LINENO: result: $ac_cv_lib_xml2_xmlReadMemory" >&5
10063 echo "${ECHO_T}$ac_cv_lib_xml2_xmlReadMemory" >&6; }
10064 if test $ac_cv_lib_xml2_xmlReadMemory = yes; then
10066 cat >>confdefs.h
<<\_ACEOF
10067 #define HAVE_XMLREADMEMORY 1
10077 CPPFLAGS
="$ac_save_CPPFLAGS"
10078 ac_xslt_libs
="`$PKG_CONFIG --libs libxslt`"
10079 ac_xslt_cflags
="`$PKG_CONFIG --cflags libxslt`"
10080 CPPFLAGS
="$CPPFLAGS $ac_xslt_cflags"
10083 for ac_header
in libxslt
/pattern.h libxslt
/transform.h
10085 as_ac_Header
=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
10086 { echo "$as_me:$LINENO: checking for $ac_header" >&5
10087 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
10088 if { as_var
=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
10089 echo $ECHO_N "(cached) $ECHO_C" >&6
10091 cat >conftest.
$ac_ext <<_ACEOF
10094 cat confdefs.h
>>conftest.
$ac_ext
10095 cat >>conftest.
$ac_ext <<_ACEOF
10096 /* end confdefs.h. */
10097 #ifdef HAVE_LIBXSLT_PATTERN_H
10098 # include <libxslt/pattern.h>
10101 #include <$ac_header>
10103 rm -f conftest.
$ac_objext
10104 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
10105 (eval $ac_compile) 2>conftest.er1
10107 grep -v '^ *+' conftest.er1
>conftest.err
10109 cat conftest.err
>&5
10110 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10111 (exit $ac_status); } &&
10112 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
10113 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
10114 (eval $ac_try) 2>&5
10116 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10117 (exit $ac_status); }; } &&
10118 { ac_try
='test -s conftest.$ac_objext'
10119 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
10120 (eval $ac_try) 2>&5
10122 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10123 (exit $ac_status); }; }; then
10124 eval "$as_ac_Header=yes"
10126 echo "$as_me: failed program was:" >&5
10127 sed 's/^/| /' conftest.
$ac_ext >&5
10129 eval "$as_ac_Header=no"
10132 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
10134 ac_res
=`eval echo '${'$as_ac_Header'}'`
10135 { echo "$as_me:$LINENO: result: $ac_res" >&5
10136 echo "${ECHO_T}$ac_res" >&6; }
10137 if test `eval echo '${'$as_ac_Header'}'` = yes; then
10138 cat >>confdefs.h
<<_ACEOF
10139 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
10141 { echo "$as_me:$LINENO: checking for xsltCompilePattern in -lxslt" >&5
10142 echo $ECHO_N "checking for xsltCompilePattern in -lxslt... $ECHO_C" >&6; }
10143 if test "${ac_cv_lib_xslt_xsltCompilePattern+set}" = set; then
10144 echo $ECHO_N "(cached) $ECHO_C" >&6
10146 ac_check_lib_save_LIBS
=$LIBS
10147 LIBS
="-lxslt $ac_xslt_libs $LIBS"
10148 cat >conftest.
$ac_ext <<_ACEOF
10151 cat confdefs.h
>>conftest.
$ac_ext
10152 cat >>conftest.
$ac_ext <<_ACEOF
10153 /* end confdefs.h. */
10155 /* Override any GCC internal prototype to avoid an error.
10156 Use char because int might match the return type of a GCC
10157 builtin and then its argument prototype would still apply. */
10161 char xsltCompilePattern ();
10165 return xsltCompilePattern ();
10170 rm -f conftest.
$ac_objext conftest
$ac_exeext
10171 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
10172 (eval $ac_link) 2>conftest.er1
10174 grep -v '^ *+' conftest.er1
>conftest.err
10176 cat conftest.err
>&5
10177 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10178 (exit $ac_status); } &&
10179 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
10180 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
10181 (eval $ac_try) 2>&5
10183 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10184 (exit $ac_status); }; } &&
10185 { ac_try
='test -s conftest$ac_exeext'
10186 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
10187 (eval $ac_try) 2>&5
10189 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10190 (exit $ac_status); }; }; then
10191 ac_cv_lib_xslt_xsltCompilePattern
=yes
10193 echo "$as_me: failed program was:" >&5
10194 sed 's/^/| /' conftest.
$ac_ext >&5
10196 ac_cv_lib_xslt_xsltCompilePattern
=no
10199 rm -f conftest.err conftest.
$ac_objext \
10200 conftest
$ac_exeext conftest.
$ac_ext
10201 LIBS
=$ac_check_lib_save_LIBS
10203 { echo "$as_me:$LINENO: result: $ac_cv_lib_xslt_xsltCompilePattern" >&5
10204 echo "${ECHO_T}$ac_cv_lib_xslt_xsltCompilePattern" >&6; }
10205 if test $ac_cv_lib_xslt_xsltCompilePattern = yes; then
10207 cat >>confdefs.h
<<\_ACEOF
10208 #define HAVE_LIBXSLT 1
10211 XSLTLIBS
="$ac_xslt_libs"
10212 XSLTINCL
="$ac_xslt_cflags"
10220 CPPFLAGS
="$ac_save_CPPFLAGS"
10225 if test "$PKG_CONFIG" != "false"
10227 ac_save_CPPFLAGS
="$CPPFLAGS"
10228 ac_hal_libs
="`$PKG_CONFIG --libs hal`"
10229 ac_hal_cflags
="`$PKG_CONFIG --cflags hal`"
10230 CPPFLAGS
="$CPPFLAGS $ac_hal_cflags"
10233 for ac_header
in dbus
/dbus.h hal
/libhal.h
10235 as_ac_Header
=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
10236 if { as_var
=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
10237 { echo "$as_me:$LINENO: checking for $ac_header" >&5
10238 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
10239 if { as_var
=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
10240 echo $ECHO_N "(cached) $ECHO_C" >&6
10242 ac_res
=`eval echo '${'$as_ac_Header'}'`
10243 { echo "$as_me:$LINENO: result: $ac_res" >&5
10244 echo "${ECHO_T}$ac_res" >&6; }
10246 # Is the header compilable?
10247 { echo "$as_me:$LINENO: checking $ac_header usability" >&5
10248 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6; }
10249 cat >conftest.
$ac_ext <<_ACEOF
10252 cat confdefs.h
>>conftest.
$ac_ext
10253 cat >>conftest.
$ac_ext <<_ACEOF
10254 /* end confdefs.h. */
10255 $ac_includes_default
10256 #include <$ac_header>
10258 rm -f conftest.
$ac_objext
10259 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
10260 (eval $ac_compile) 2>conftest.er1
10262 grep -v '^ *+' conftest.er1
>conftest.err
10264 cat conftest.err
>&5
10265 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10266 (exit $ac_status); } &&
10267 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
10268 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
10269 (eval $ac_try) 2>&5
10271 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10272 (exit $ac_status); }; } &&
10273 { ac_try
='test -s conftest.$ac_objext'
10274 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
10275 (eval $ac_try) 2>&5
10277 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10278 (exit $ac_status); }; }; then
10279 ac_header_compiler
=yes
10281 echo "$as_me: failed program was:" >&5
10282 sed 's/^/| /' conftest.
$ac_ext >&5
10284 ac_header_compiler
=no
10287 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
10288 { echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
10289 echo "${ECHO_T}$ac_header_compiler" >&6; }
10291 # Is the header present?
10292 { echo "$as_me:$LINENO: checking $ac_header presence" >&5
10293 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6; }
10294 cat >conftest.
$ac_ext <<_ACEOF
10297 cat confdefs.h
>>conftest.
$ac_ext
10298 cat >>conftest.
$ac_ext <<_ACEOF
10299 /* end confdefs.h. */
10300 #include <$ac_header>
10302 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
10303 (eval $ac_cpp conftest.
$ac_ext) 2>conftest.er1
10305 grep -v '^ *+' conftest.er1
>conftest.err
10307 cat conftest.err
>&5
10308 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10309 (exit $ac_status); } >/dev
/null
; then
10310 if test -s conftest.err
; then
10311 ac_cpp_err
=$ac_c_preproc_warn_flag
10312 ac_cpp_err
=$ac_cpp_err$ac_c_werror_flag
10319 if test -z "$ac_cpp_err"; then
10320 ac_header_preproc
=yes
10322 echo "$as_me: failed program was:" >&5
10323 sed 's/^/| /' conftest.
$ac_ext >&5
10325 ac_header_preproc
=no
10328 rm -f conftest.err conftest.
$ac_ext
10329 { echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
10330 echo "${ECHO_T}$ac_header_preproc" >&6; }
10332 # So? What about this header?
10333 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
10335 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
10336 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
10337 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
10338 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
10339 ac_header_preproc
=yes
10342 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
10343 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
10344 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
10345 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
10346 { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
10347 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
10348 { echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
10349 echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
10350 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
10351 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
10352 { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
10353 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
10355 ## ------------------------------------ ##
10356 ## Report this to wine-devel@winehq.org ##
10357 ## ------------------------------------ ##
10359 ) |
sed "s/^/$as_me: WARNING: /" >&2
10362 { echo "$as_me:$LINENO: checking for $ac_header" >&5
10363 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
10364 if { as_var
=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
10365 echo $ECHO_N "(cached) $ECHO_C" >&6
10367 eval "$as_ac_Header=\$ac_header_preproc"
10369 ac_res
=`eval echo '${'$as_ac_Header'}'`
10370 { echo "$as_me:$LINENO: result: $ac_res" >&5
10371 echo "${ECHO_T}$ac_res" >&6; }
10374 if test `eval echo '${'$as_ac_Header'}'` = yes; then
10375 cat >>confdefs.h
<<_ACEOF
10376 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
10383 if test "$ac_cv_header_dbus_dbus_h" = "yes" -a "$ac_cv_header_hal_libhal_h" = "yes"
10385 { echo "$as_me:$LINENO: checking for libhal_ctx_new in -lhal" >&5
10386 echo $ECHO_N "checking for libhal_ctx_new in -lhal... $ECHO_C" >&6; }
10387 if test "${ac_cv_lib_hal_libhal_ctx_new+set}" = set; then
10388 echo $ECHO_N "(cached) $ECHO_C" >&6
10390 ac_check_lib_save_LIBS
=$LIBS
10392 cat >conftest.
$ac_ext <<_ACEOF
10395 cat confdefs.h
>>conftest.
$ac_ext
10396 cat >>conftest.
$ac_ext <<_ACEOF
10397 /* end confdefs.h. */
10399 /* Override any GCC internal prototype to avoid an error.
10400 Use char because int might match the return type of a GCC
10401 builtin and then its argument prototype would still apply. */
10405 char libhal_ctx_new ();
10409 return libhal_ctx_new ();
10414 rm -f conftest.
$ac_objext conftest
$ac_exeext
10415 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
10416 (eval $ac_link) 2>conftest.er1
10418 grep -v '^ *+' conftest.er1
>conftest.err
10420 cat conftest.err
>&5
10421 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10422 (exit $ac_status); } &&
10423 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
10424 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
10425 (eval $ac_try) 2>&5
10427 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10428 (exit $ac_status); }; } &&
10429 { ac_try
='test -s conftest$ac_exeext'
10430 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
10431 (eval $ac_try) 2>&5
10433 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10434 (exit $ac_status); }; }; then
10435 ac_cv_lib_hal_libhal_ctx_new
=yes
10437 echo "$as_me: failed program was:" >&5
10438 sed 's/^/| /' conftest.
$ac_ext >&5
10440 ac_cv_lib_hal_libhal_ctx_new
=no
10443 rm -f conftest.err conftest.
$ac_objext \
10444 conftest
$ac_exeext conftest.
$ac_ext
10445 LIBS
=$ac_check_lib_save_LIBS
10447 { echo "$as_me:$LINENO: result: $ac_cv_lib_hal_libhal_ctx_new" >&5
10448 echo "${ECHO_T}$ac_cv_lib_hal_libhal_ctx_new" >&6; }
10449 if test $ac_cv_lib_hal_libhal_ctx_new = yes; then
10450 { echo "$as_me:$LINENO: checking for dbus_connection_close in -ldbus-1" >&5
10451 echo $ECHO_N "checking for dbus_connection_close in -ldbus-1... $ECHO_C" >&6; }
10452 if test "${ac_cv_lib_dbus_1_dbus_connection_close+set}" = set; then
10453 echo $ECHO_N "(cached) $ECHO_C" >&6
10455 ac_check_lib_save_LIBS
=$LIBS
10456 LIBS
="-ldbus-1 $ac_hal_libs $LIBS"
10457 cat >conftest.
$ac_ext <<_ACEOF
10460 cat confdefs.h
>>conftest.
$ac_ext
10461 cat >>conftest.
$ac_ext <<_ACEOF
10462 /* end confdefs.h. */
10464 /* Override any GCC internal prototype to avoid an error.
10465 Use char because int might match the return type of a GCC
10466 builtin and then its argument prototype would still apply. */
10470 char dbus_connection_close ();
10474 return dbus_connection_close ();
10479 rm -f conftest.
$ac_objext conftest
$ac_exeext
10480 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
10481 (eval $ac_link) 2>conftest.er1
10483 grep -v '^ *+' conftest.er1
>conftest.err
10485 cat conftest.err
>&5
10486 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10487 (exit $ac_status); } &&
10488 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
10489 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
10490 (eval $ac_try) 2>&5
10492 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10493 (exit $ac_status); }; } &&
10494 { ac_try
='test -s conftest$ac_exeext'
10495 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
10496 (eval $ac_try) 2>&5
10498 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10499 (exit $ac_status); }; }; then
10500 ac_cv_lib_dbus_1_dbus_connection_close
=yes
10502 echo "$as_me: failed program was:" >&5
10503 sed 's/^/| /' conftest.
$ac_ext >&5
10505 ac_cv_lib_dbus_1_dbus_connection_close
=no
10508 rm -f conftest.err conftest.
$ac_objext \
10509 conftest
$ac_exeext conftest.
$ac_ext
10510 LIBS
=$ac_check_lib_save_LIBS
10512 { echo "$as_me:$LINENO: result: $ac_cv_lib_dbus_1_dbus_connection_close" >&5
10513 echo "${ECHO_T}$ac_cv_lib_dbus_1_dbus_connection_close" >&6; }
10514 if test $ac_cv_lib_dbus_1_dbus_connection_close = yes; then
10516 cat >>confdefs.h
<<\_ACEOF
10517 #define HAVE_LIBHAL 1
10520 HALINCL
="$ac_hal_cflags"
10526 CPPFLAGS
="$ac_save_CPPFLAGS"
10530 if test "x$with_curses" != "xno"
10532 if test "$ac_cv_header_ncurses_h" = "yes"
10534 { echo "$as_me:$LINENO: checking for waddch in -lncurses" >&5
10535 echo $ECHO_N "checking for waddch in -lncurses... $ECHO_C" >&6; }
10536 if test "${ac_cv_lib_ncurses_waddch+set}" = set; then
10537 echo $ECHO_N "(cached) $ECHO_C" >&6
10539 ac_check_lib_save_LIBS
=$LIBS
10540 LIBS
="-lncurses $LIBS"
10541 cat >conftest.
$ac_ext <<_ACEOF
10544 cat confdefs.h
>>conftest.
$ac_ext
10545 cat >>conftest.
$ac_ext <<_ACEOF
10546 /* end confdefs.h. */
10548 /* Override any GCC internal prototype to avoid an error.
10549 Use char because int might match the return type of a GCC
10550 builtin and then its argument prototype would still apply. */
10563 rm -f conftest.
$ac_objext conftest
$ac_exeext
10564 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
10565 (eval $ac_link) 2>conftest.er1
10567 grep -v '^ *+' conftest.er1
>conftest.err
10569 cat conftest.err
>&5
10570 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10571 (exit $ac_status); } &&
10572 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
10573 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
10574 (eval $ac_try) 2>&5
10576 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10577 (exit $ac_status); }; } &&
10578 { ac_try
='test -s conftest$ac_exeext'
10579 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
10580 (eval $ac_try) 2>&5
10582 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10583 (exit $ac_status); }; }; then
10584 ac_cv_lib_ncurses_waddch
=yes
10586 echo "$as_me: failed program was:" >&5
10587 sed 's/^/| /' conftest.
$ac_ext >&5
10589 ac_cv_lib_ncurses_waddch
=no
10592 rm -f conftest.err conftest.
$ac_objext \
10593 conftest
$ac_exeext conftest.
$ac_ext
10594 LIBS
=$ac_check_lib_save_LIBS
10596 { echo "$as_me:$LINENO: result: $ac_cv_lib_ncurses_waddch" >&5
10597 echo "${ECHO_T}$ac_cv_lib_ncurses_waddch" >&6; }
10598 if test $ac_cv_lib_ncurses_waddch = yes; then
10600 cat >>confdefs.h
<<\_ACEOF
10601 #define HAVE_LIBNCURSES 1
10604 CURSESLIBS
="-lncurses"
10607 elif test "$ac_cv_header_curses_h" = "yes"
10609 { echo "$as_me:$LINENO: checking for waddch in -lcurses" >&5
10610 echo $ECHO_N "checking for waddch in -lcurses... $ECHO_C" >&6; }
10611 if test "${ac_cv_lib_curses_waddch+set}" = set; then
10612 echo $ECHO_N "(cached) $ECHO_C" >&6
10614 ac_check_lib_save_LIBS
=$LIBS
10615 LIBS
="-lcurses $LIBS"
10616 cat >conftest.
$ac_ext <<_ACEOF
10619 cat confdefs.h
>>conftest.
$ac_ext
10620 cat >>conftest.
$ac_ext <<_ACEOF
10621 /* end confdefs.h. */
10623 /* Override any GCC internal prototype to avoid an error.
10624 Use char because int might match the return type of a GCC
10625 builtin and then its argument prototype would still apply. */
10638 rm -f conftest.
$ac_objext conftest
$ac_exeext
10639 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
10640 (eval $ac_link) 2>conftest.er1
10642 grep -v '^ *+' conftest.er1
>conftest.err
10644 cat conftest.err
>&5
10645 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10646 (exit $ac_status); } &&
10647 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
10648 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
10649 (eval $ac_try) 2>&5
10651 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10652 (exit $ac_status); }; } &&
10653 { ac_try
='test -s conftest$ac_exeext'
10654 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
10655 (eval $ac_try) 2>&5
10657 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10658 (exit $ac_status); }; }; then
10659 ac_cv_lib_curses_waddch
=yes
10661 echo "$as_me: failed program was:" >&5
10662 sed 's/^/| /' conftest.
$ac_ext >&5
10664 ac_cv_lib_curses_waddch
=no
10667 rm -f conftest.err conftest.
$ac_objext \
10668 conftest
$ac_exeext conftest.
$ac_ext
10669 LIBS
=$ac_check_lib_save_LIBS
10671 { echo "$as_me:$LINENO: result: $ac_cv_lib_curses_waddch" >&5
10672 echo "${ECHO_T}$ac_cv_lib_curses_waddch" >&6; }
10673 if test $ac_cv_lib_curses_waddch = yes; then
10675 cat >>confdefs.h
<<\_ACEOF
10676 #define HAVE_LIBCURSES 1
10679 CURSESLIBS
="-lcurses"
10686 # Extract the first word of "sane-config", so it can be a program name with args.
10687 set dummy sane-config
; ac_word
=$2
10688 { echo "$as_me:$LINENO: checking for $ac_word" >&5
10689 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
10690 if test "${ac_cv_prog_sane_devel+set}" = set; then
10691 echo $ECHO_N "(cached) $ECHO_C" >&6
10693 if test -n "$sane_devel"; then
10694 ac_cv_prog_sane_devel
="$sane_devel" # Let the user override the test.
10696 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
10697 for as_dir
in $PATH
10700 test -z "$as_dir" && as_dir
=.
10701 for ac_exec_ext
in '' $ac_executable_extensions; do
10702 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; }; then
10703 ac_cv_prog_sane_devel
="sane-config"
10704 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
10711 test -z "$ac_cv_prog_sane_devel" && ac_cv_prog_sane_devel
="no"
10714 sane_devel
=$ac_cv_prog_sane_devel
10715 if test -n "$sane_devel"; then
10716 { echo "$as_me:$LINENO: result: $sane_devel" >&5
10717 echo "${ECHO_T}$sane_devel" >&6; }
10719 { echo "$as_me:$LINENO: result: no" >&5
10720 echo "${ECHO_T}no" >&6; }
10728 if test "$sane_devel" != "no"
10730 SANELIBS
="`$sane_devel --libs`"
10731 SANEINCL
="`$sane_devel --cflags`"
10732 ac_save_CPPFLAGS
="$CPPFLAGS"
10733 ac_save_LIBS
="$LIBS"
10734 CPPFLAGS
="$CPPFLAGS $SANEINCL"
10735 LIBS
="$LIBS $SANELIBS"
10736 if test "${ac_cv_header_sane_sane_h+set}" = set; then
10737 { echo "$as_me:$LINENO: checking for sane/sane.h" >&5
10738 echo $ECHO_N "checking for sane/sane.h... $ECHO_C" >&6; }
10739 if test "${ac_cv_header_sane_sane_h+set}" = set; then
10740 echo $ECHO_N "(cached) $ECHO_C" >&6
10742 { echo "$as_me:$LINENO: result: $ac_cv_header_sane_sane_h" >&5
10743 echo "${ECHO_T}$ac_cv_header_sane_sane_h" >&6; }
10745 # Is the header compilable?
10746 { echo "$as_me:$LINENO: checking sane/sane.h usability" >&5
10747 echo $ECHO_N "checking sane/sane.h usability... $ECHO_C" >&6; }
10748 cat >conftest.
$ac_ext <<_ACEOF
10751 cat confdefs.h
>>conftest.
$ac_ext
10752 cat >>conftest.
$ac_ext <<_ACEOF
10753 /* end confdefs.h. */
10754 $ac_includes_default
10755 #include <sane/sane.h>
10757 rm -f conftest.
$ac_objext
10758 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
10759 (eval $ac_compile) 2>conftest.er1
10761 grep -v '^ *+' conftest.er1
>conftest.err
10763 cat conftest.err
>&5
10764 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10765 (exit $ac_status); } &&
10766 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
10767 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
10768 (eval $ac_try) 2>&5
10770 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10771 (exit $ac_status); }; } &&
10772 { ac_try
='test -s conftest.$ac_objext'
10773 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
10774 (eval $ac_try) 2>&5
10776 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10777 (exit $ac_status); }; }; then
10778 ac_header_compiler
=yes
10780 echo "$as_me: failed program was:" >&5
10781 sed 's/^/| /' conftest.
$ac_ext >&5
10783 ac_header_compiler
=no
10786 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
10787 { echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
10788 echo "${ECHO_T}$ac_header_compiler" >&6; }
10790 # Is the header present?
10791 { echo "$as_me:$LINENO: checking sane/sane.h presence" >&5
10792 echo $ECHO_N "checking sane/sane.h presence... $ECHO_C" >&6; }
10793 cat >conftest.
$ac_ext <<_ACEOF
10796 cat confdefs.h
>>conftest.
$ac_ext
10797 cat >>conftest.
$ac_ext <<_ACEOF
10798 /* end confdefs.h. */
10799 #include <sane/sane.h>
10801 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
10802 (eval $ac_cpp conftest.
$ac_ext) 2>conftest.er1
10804 grep -v '^ *+' conftest.er1
>conftest.err
10806 cat conftest.err
>&5
10807 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10808 (exit $ac_status); } >/dev
/null
; then
10809 if test -s conftest.err
; then
10810 ac_cpp_err
=$ac_c_preproc_warn_flag
10811 ac_cpp_err
=$ac_cpp_err$ac_c_werror_flag
10818 if test -z "$ac_cpp_err"; then
10819 ac_header_preproc
=yes
10821 echo "$as_me: failed program was:" >&5
10822 sed 's/^/| /' conftest.
$ac_ext >&5
10824 ac_header_preproc
=no
10827 rm -f conftest.err conftest.
$ac_ext
10828 { echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
10829 echo "${ECHO_T}$ac_header_preproc" >&6; }
10831 # So? What about this header?
10832 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
10834 { echo "$as_me:$LINENO: WARNING: sane/sane.h: accepted by the compiler, rejected by the preprocessor!" >&5
10835 echo "$as_me: WARNING: sane/sane.h: accepted by the compiler, rejected by the preprocessor!" >&2;}
10836 { echo "$as_me:$LINENO: WARNING: sane/sane.h: proceeding with the compiler's result" >&5
10837 echo "$as_me: WARNING: sane/sane.h: proceeding with the compiler's result" >&2;}
10838 ac_header_preproc
=yes
10841 { echo "$as_me:$LINENO: WARNING: sane/sane.h: present but cannot be compiled" >&5
10842 echo "$as_me: WARNING: sane/sane.h: present but cannot be compiled" >&2;}
10843 { echo "$as_me:$LINENO: WARNING: sane/sane.h: check for missing prerequisite headers?" >&5
10844 echo "$as_me: WARNING: sane/sane.h: check for missing prerequisite headers?" >&2;}
10845 { echo "$as_me:$LINENO: WARNING: sane/sane.h: see the Autoconf documentation" >&5
10846 echo "$as_me: WARNING: sane/sane.h: see the Autoconf documentation" >&2;}
10847 { echo "$as_me:$LINENO: WARNING: sane/sane.h: section \"Present But Cannot Be Compiled\"" >&5
10848 echo "$as_me: WARNING: sane/sane.h: section \"Present But Cannot Be Compiled\"" >&2;}
10849 { echo "$as_me:$LINENO: WARNING: sane/sane.h: proceeding with the preprocessor's result" >&5
10850 echo "$as_me: WARNING: sane/sane.h: proceeding with the preprocessor's result" >&2;}
10851 { echo "$as_me:$LINENO: WARNING: sane/sane.h: in the future, the compiler will take precedence" >&5
10852 echo "$as_me: WARNING: sane/sane.h: in the future, the compiler will take precedence" >&2;}
10854 ## ------------------------------------ ##
10855 ## Report this to wine-devel@winehq.org ##
10856 ## ------------------------------------ ##
10858 ) |
sed "s/^/$as_me: WARNING: /" >&2
10861 { echo "$as_me:$LINENO: checking for sane/sane.h" >&5
10862 echo $ECHO_N "checking for sane/sane.h... $ECHO_C" >&6; }
10863 if test "${ac_cv_header_sane_sane_h+set}" = set; then
10864 echo $ECHO_N "(cached) $ECHO_C" >&6
10866 ac_cv_header_sane_sane_h
=$ac_header_preproc
10868 { echo "$as_me:$LINENO: result: $ac_cv_header_sane_sane_h" >&5
10869 echo "${ECHO_T}$ac_cv_header_sane_sane_h" >&6; }
10872 if test $ac_cv_header_sane_sane_h = yes; then
10873 { echo "$as_me:$LINENO: checking for sane_open in -lsane" >&5
10874 echo $ECHO_N "checking for sane_open in -lsane... $ECHO_C" >&6; }
10875 if test "${ac_cv_lib_sane_sane_open+set}" = set; then
10876 echo $ECHO_N "(cached) $ECHO_C" >&6
10878 ac_check_lib_save_LIBS
=$LIBS
10879 LIBS
="-lsane $LIBS"
10880 cat >conftest.
$ac_ext <<_ACEOF
10883 cat confdefs.h
>>conftest.
$ac_ext
10884 cat >>conftest.
$ac_ext <<_ACEOF
10885 /* end confdefs.h. */
10887 /* Override any GCC internal prototype to avoid an error.
10888 Use char because int might match the return type of a GCC
10889 builtin and then its argument prototype would still apply. */
10897 return sane_open ();
10902 rm -f conftest.
$ac_objext conftest
$ac_exeext
10903 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
10904 (eval $ac_link) 2>conftest.er1
10906 grep -v '^ *+' conftest.er1
>conftest.err
10908 cat conftest.err
>&5
10909 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10910 (exit $ac_status); } &&
10911 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
10912 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
10913 (eval $ac_try) 2>&5
10915 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10916 (exit $ac_status); }; } &&
10917 { ac_try
='test -s conftest$ac_exeext'
10918 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
10919 (eval $ac_try) 2>&5
10921 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10922 (exit $ac_status); }; }; then
10923 ac_cv_lib_sane_sane_open
=yes
10925 echo "$as_me: failed program was:" >&5
10926 sed 's/^/| /' conftest.
$ac_ext >&5
10928 ac_cv_lib_sane_sane_open
=no
10931 rm -f conftest.err conftest.
$ac_objext \
10932 conftest
$ac_exeext conftest.
$ac_ext
10933 LIBS
=$ac_check_lib_save_LIBS
10935 { echo "$as_me:$LINENO: result: $ac_cv_lib_sane_sane_open" >&5
10936 echo "${ECHO_T}$ac_cv_lib_sane_sane_open" >&6; }
10937 if test $ac_cv_lib_sane_sane_open = yes; then
10939 cat >>confdefs.h
<<\_ACEOF
10940 #define HAVE_SANE 1
10954 LIBS
="$ac_save_LIBS"
10955 CPPFLAGS
="$ac_save_CPPFLAGS"
10958 # Extract the first word of "gphoto2-config", so it can be a program name with args.
10959 set dummy gphoto2-config
; ac_word
=$2
10960 { echo "$as_me:$LINENO: checking for $ac_word" >&5
10961 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
10962 if test "${ac_cv_prog_gphoto2_devel+set}" = set; then
10963 echo $ECHO_N "(cached) $ECHO_C" >&6
10965 if test -n "$gphoto2_devel"; then
10966 ac_cv_prog_gphoto2_devel
="$gphoto2_devel" # Let the user override the test.
10968 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
10969 for as_dir
in $PATH
10972 test -z "$as_dir" && as_dir
=.
10973 for ac_exec_ext
in '' $ac_executable_extensions; do
10974 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; }; then
10975 ac_cv_prog_gphoto2_devel
="gphoto2-config"
10976 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
10983 test -z "$ac_cv_prog_gphoto2_devel" && ac_cv_prog_gphoto2_devel
="no"
10986 gphoto2_devel
=$ac_cv_prog_gphoto2_devel
10987 if test -n "$gphoto2_devel"; then
10988 { echo "$as_me:$LINENO: result: $gphoto2_devel" >&5
10989 echo "${ECHO_T}$gphoto2_devel" >&6; }
10991 { echo "$as_me:$LINENO: result: no" >&5
10992 echo "${ECHO_T}no" >&6; }
10996 # Extract the first word of "gphoto2-port-config", so it can be a program name with args.
10997 set dummy gphoto2-port-config
; ac_word
=$2
10998 { echo "$as_me:$LINENO: checking for $ac_word" >&5
10999 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
11000 if test "${ac_cv_prog_gphoto2port_devel+set}" = set; then
11001 echo $ECHO_N "(cached) $ECHO_C" >&6
11003 if test -n "$gphoto2port_devel"; then
11004 ac_cv_prog_gphoto2port_devel
="$gphoto2port_devel" # Let the user override the test.
11006 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
11007 for as_dir
in $PATH
11010 test -z "$as_dir" && as_dir
=.
11011 for ac_exec_ext
in '' $ac_executable_extensions; do
11012 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; }; then
11013 ac_cv_prog_gphoto2port_devel
="gphoto2-port-config"
11014 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
11021 test -z "$ac_cv_prog_gphoto2port_devel" && ac_cv_prog_gphoto2port_devel
="no"
11024 gphoto2port_devel
=$ac_cv_prog_gphoto2port_devel
11025 if test -n "$gphoto2port_devel"; then
11026 { echo "$as_me:$LINENO: result: $gphoto2port_devel" >&5
11027 echo "${ECHO_T}$gphoto2port_devel" >&6; }
11029 { echo "$as_me:$LINENO: result: no" >&5
11030 echo "${ECHO_T}no" >&6; }
11038 if test "$gphoto2_devel" != "no" -a "$gphoto2port_devel" != "no"
11040 GPHOTO2INCL
="`$gphoto2_devel --cflags` `$gphoto2port_devel --cflags`"
11042 for i
in `$gphoto2_devel --libs` `$gphoto2port_devel --libs`
11045 -L/usr
/lib|
-L/usr
/lib64
) ;;
11046 -L*|
-l*) GPHOTO2LIBS
="$GPHOTO2LIBS $i";;
11049 ac_save_CPPFLAGS
="$CPPFLAGS"
11050 ac_save_LIBS
="$LIBS"
11051 CPPFLAGS
="$CPPFLAGS $GPHOTO2INCL"
11052 LIBS
="$LIBS $GPHOTO2LIBS"
11053 if test "${ac_cv_header_gphoto2_camera_h+set}" = set; then
11054 { echo "$as_me:$LINENO: checking for gphoto2-camera.h" >&5
11055 echo $ECHO_N "checking for gphoto2-camera.h... $ECHO_C" >&6; }
11056 if test "${ac_cv_header_gphoto2_camera_h+set}" = set; then
11057 echo $ECHO_N "(cached) $ECHO_C" >&6
11059 { echo "$as_me:$LINENO: result: $ac_cv_header_gphoto2_camera_h" >&5
11060 echo "${ECHO_T}$ac_cv_header_gphoto2_camera_h" >&6; }
11062 # Is the header compilable?
11063 { echo "$as_me:$LINENO: checking gphoto2-camera.h usability" >&5
11064 echo $ECHO_N "checking gphoto2-camera.h usability... $ECHO_C" >&6; }
11065 cat >conftest.
$ac_ext <<_ACEOF
11068 cat confdefs.h
>>conftest.
$ac_ext
11069 cat >>conftest.
$ac_ext <<_ACEOF
11070 /* end confdefs.h. */
11071 $ac_includes_default
11072 #include <gphoto2-camera.h>
11074 rm -f conftest.
$ac_objext
11075 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
11076 (eval $ac_compile) 2>conftest.er1
11078 grep -v '^ *+' conftest.er1
>conftest.err
11080 cat conftest.err
>&5
11081 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11082 (exit $ac_status); } &&
11083 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
11084 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
11085 (eval $ac_try) 2>&5
11087 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11088 (exit $ac_status); }; } &&
11089 { ac_try
='test -s conftest.$ac_objext'
11090 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
11091 (eval $ac_try) 2>&5
11093 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11094 (exit $ac_status); }; }; then
11095 ac_header_compiler
=yes
11097 echo "$as_me: failed program was:" >&5
11098 sed 's/^/| /' conftest.
$ac_ext >&5
11100 ac_header_compiler
=no
11103 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
11104 { echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
11105 echo "${ECHO_T}$ac_header_compiler" >&6; }
11107 # Is the header present?
11108 { echo "$as_me:$LINENO: checking gphoto2-camera.h presence" >&5
11109 echo $ECHO_N "checking gphoto2-camera.h presence... $ECHO_C" >&6; }
11110 cat >conftest.
$ac_ext <<_ACEOF
11113 cat confdefs.h
>>conftest.
$ac_ext
11114 cat >>conftest.
$ac_ext <<_ACEOF
11115 /* end confdefs.h. */
11116 #include <gphoto2-camera.h>
11118 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
11119 (eval $ac_cpp conftest.
$ac_ext) 2>conftest.er1
11121 grep -v '^ *+' conftest.er1
>conftest.err
11123 cat conftest.err
>&5
11124 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11125 (exit $ac_status); } >/dev
/null
; then
11126 if test -s conftest.err
; then
11127 ac_cpp_err
=$ac_c_preproc_warn_flag
11128 ac_cpp_err
=$ac_cpp_err$ac_c_werror_flag
11135 if test -z "$ac_cpp_err"; then
11136 ac_header_preproc
=yes
11138 echo "$as_me: failed program was:" >&5
11139 sed 's/^/| /' conftest.
$ac_ext >&5
11141 ac_header_preproc
=no
11144 rm -f conftest.err conftest.
$ac_ext
11145 { echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
11146 echo "${ECHO_T}$ac_header_preproc" >&6; }
11148 # So? What about this header?
11149 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
11151 { echo "$as_me:$LINENO: WARNING: gphoto2-camera.h: accepted by the compiler, rejected by the preprocessor!" >&5
11152 echo "$as_me: WARNING: gphoto2-camera.h: accepted by the compiler, rejected by the preprocessor!" >&2;}
11153 { echo "$as_me:$LINENO: WARNING: gphoto2-camera.h: proceeding with the compiler's result" >&5
11154 echo "$as_me: WARNING: gphoto2-camera.h: proceeding with the compiler's result" >&2;}
11155 ac_header_preproc
=yes
11158 { echo "$as_me:$LINENO: WARNING: gphoto2-camera.h: present but cannot be compiled" >&5
11159 echo "$as_me: WARNING: gphoto2-camera.h: present but cannot be compiled" >&2;}
11160 { echo "$as_me:$LINENO: WARNING: gphoto2-camera.h: check for missing prerequisite headers?" >&5
11161 echo "$as_me: WARNING: gphoto2-camera.h: check for missing prerequisite headers?" >&2;}
11162 { echo "$as_me:$LINENO: WARNING: gphoto2-camera.h: see the Autoconf documentation" >&5
11163 echo "$as_me: WARNING: gphoto2-camera.h: see the Autoconf documentation" >&2;}
11164 { echo "$as_me:$LINENO: WARNING: gphoto2-camera.h: section \"Present But Cannot Be Compiled\"" >&5
11165 echo "$as_me: WARNING: gphoto2-camera.h: section \"Present But Cannot Be Compiled\"" >&2;}
11166 { echo "$as_me:$LINENO: WARNING: gphoto2-camera.h: proceeding with the preprocessor's result" >&5
11167 echo "$as_me: WARNING: gphoto2-camera.h: proceeding with the preprocessor's result" >&2;}
11168 { echo "$as_me:$LINENO: WARNING: gphoto2-camera.h: in the future, the compiler will take precedence" >&5
11169 echo "$as_me: WARNING: gphoto2-camera.h: in the future, the compiler will take precedence" >&2;}
11171 ## ------------------------------------ ##
11172 ## Report this to wine-devel@winehq.org ##
11173 ## ------------------------------------ ##
11175 ) |
sed "s/^/$as_me: WARNING: /" >&2
11178 { echo "$as_me:$LINENO: checking for gphoto2-camera.h" >&5
11179 echo $ECHO_N "checking for gphoto2-camera.h... $ECHO_C" >&6; }
11180 if test "${ac_cv_header_gphoto2_camera_h+set}" = set; then
11181 echo $ECHO_N "(cached) $ECHO_C" >&6
11183 ac_cv_header_gphoto2_camera_h
=$ac_header_preproc
11185 { echo "$as_me:$LINENO: result: $ac_cv_header_gphoto2_camera_h" >&5
11186 echo "${ECHO_T}$ac_cv_header_gphoto2_camera_h" >&6; }
11189 if test $ac_cv_header_gphoto2_camera_h = yes; then
11190 { echo "$as_me:$LINENO: checking for gp_camera_new in -lgphoto2" >&5
11191 echo $ECHO_N "checking for gp_camera_new in -lgphoto2... $ECHO_C" >&6; }
11192 if test "${ac_cv_lib_gphoto2_gp_camera_new+set}" = set; then
11193 echo $ECHO_N "(cached) $ECHO_C" >&6
11195 ac_check_lib_save_LIBS
=$LIBS
11196 LIBS
="-lgphoto2 $LIBS"
11197 cat >conftest.
$ac_ext <<_ACEOF
11200 cat confdefs.h
>>conftest.
$ac_ext
11201 cat >>conftest.
$ac_ext <<_ACEOF
11202 /* end confdefs.h. */
11204 /* Override any GCC internal prototype to avoid an error.
11205 Use char because int might match the return type of a GCC
11206 builtin and then its argument prototype would still apply. */
11210 char gp_camera_new ();
11214 return gp_camera_new ();
11219 rm -f conftest.
$ac_objext conftest
$ac_exeext
11220 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
11221 (eval $ac_link) 2>conftest.er1
11223 grep -v '^ *+' conftest.er1
>conftest.err
11225 cat conftest.err
>&5
11226 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11227 (exit $ac_status); } &&
11228 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
11229 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
11230 (eval $ac_try) 2>&5
11232 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11233 (exit $ac_status); }; } &&
11234 { ac_try
='test -s conftest$ac_exeext'
11235 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
11236 (eval $ac_try) 2>&5
11238 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11239 (exit $ac_status); }; }; then
11240 ac_cv_lib_gphoto2_gp_camera_new
=yes
11242 echo "$as_me: failed program was:" >&5
11243 sed 's/^/| /' conftest.
$ac_ext >&5
11245 ac_cv_lib_gphoto2_gp_camera_new
=no
11248 rm -f conftest.err conftest.
$ac_objext \
11249 conftest
$ac_exeext conftest.
$ac_ext
11250 LIBS
=$ac_check_lib_save_LIBS
11252 { echo "$as_me:$LINENO: result: $ac_cv_lib_gphoto2_gp_camera_new" >&5
11253 echo "${ECHO_T}$ac_cv_lib_gphoto2_gp_camera_new" >&6; }
11254 if test $ac_cv_lib_gphoto2_gp_camera_new = yes; then
11256 cat >>confdefs.h
<<\_ACEOF
11257 #define HAVE_GPHOTO2 1
11271 LIBS
="$ac_save_LIBS"
11272 CPPFLAGS
="$ac_save_CPPFLAGS"
11275 if test "$ac_cv_header_unicode_ubidi_h" = "yes"
11278 ICU_LIB_DIR
="${ICU_LIB_DIR-/usr/lib}"
11279 ICUUC_LIB
="${ICUUC_LIB-$ICU_LIB_DIR/libsicuuc.a}"
11280 ICUDATA_LIB
="${ICUDATA_LIB-$ICU_LIB_DIR/libsicudata.a}"
11281 { echo "$as_me:$LINENO: checking whether can link with ICU libraries $ICUUC_LIB and $ICUDATA_LIB" >&5
11282 echo $ECHO_N "checking whether can link with ICU libraries $ICUUC_LIB and $ICUDATA_LIB... $ECHO_C" >&6; }
11283 LIBS
="$LIBS $ICUUC_LIB $ICUDATA_LIB -lstdc++ -lgcc_s"
11284 cat >conftest.
$ac_ext <<_ACEOF
11287 cat confdefs.h
>>conftest.
$ac_ext
11288 cat >>conftest.
$ac_ext <<_ACEOF
11289 /* end confdefs.h. */
11290 #include <unicode/ubidi.h>
11299 rm -f conftest.
$ac_objext conftest
$ac_exeext
11300 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
11301 (eval $ac_link) 2>conftest.er1
11303 grep -v '^ *+' conftest.er1
>conftest.err
11305 cat conftest.err
>&5
11306 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11307 (exit $ac_status); } &&
11308 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
11309 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
11310 (eval $ac_try) 2>&5
11312 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11313 (exit $ac_status); }; } &&
11314 { ac_try
='test -s conftest$ac_exeext'
11315 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
11316 (eval $ac_try) 2>&5
11318 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11319 (exit $ac_status); }; }; then
11321 cat >>confdefs.h
<<\_ACEOF
11325 ICULIBS
="$ICUUC_LIB $ICUDATA_LIB -lstdc++ -lgcc_s"
11327 { echo "$as_me:$LINENO: result: yes" >&5
11328 echo "${ECHO_T}yes" >&6; }
11330 echo "$as_me: failed program was:" >&5
11331 sed 's/^/| /' conftest.
$ac_ext >&5
11333 { echo "$as_me:$LINENO: result: no" >&5
11334 echo "${ECHO_T}no" >&6; }
11337 rm -f conftest.err conftest.
$ac_objext \
11338 conftest
$ac_exeext conftest.
$ac_ext
11344 if test "$ac_cv_header_resolv_h" = "yes"
11346 { echo "$as_me:$LINENO: checking for res_query in -lresolv" >&5
11347 echo $ECHO_N "checking for res_query in -lresolv... $ECHO_C" >&6; }
11348 if test "${ac_cv_lib_resolv_res_query+set}" = set; then
11349 echo $ECHO_N "(cached) $ECHO_C" >&6
11351 ac_check_lib_save_LIBS
=$LIBS
11352 LIBS
="-lresolv $LIBS"
11353 cat >conftest.
$ac_ext <<_ACEOF
11356 cat confdefs.h
>>conftest.
$ac_ext
11357 cat >>conftest.
$ac_ext <<_ACEOF
11358 /* end confdefs.h. */
11360 /* Override any GCC internal prototype to avoid an error.
11361 Use char because int might match the return type of a GCC
11362 builtin and then its argument prototype would still apply. */
11370 return res_query ();
11375 rm -f conftest.
$ac_objext conftest
$ac_exeext
11376 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
11377 (eval $ac_link) 2>conftest.er1
11379 grep -v '^ *+' conftest.er1
>conftest.err
11381 cat conftest.err
>&5
11382 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11383 (exit $ac_status); } &&
11384 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
11385 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
11386 (eval $ac_try) 2>&5
11388 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11389 (exit $ac_status); }; } &&
11390 { ac_try
='test -s conftest$ac_exeext'
11391 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
11392 (eval $ac_try) 2>&5
11394 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11395 (exit $ac_status); }; }; then
11396 ac_cv_lib_resolv_res_query
=yes
11398 echo "$as_me: failed program was:" >&5
11399 sed 's/^/| /' conftest.
$ac_ext >&5
11401 ac_cv_lib_resolv_res_query
=no
11404 rm -f conftest.err conftest.
$ac_objext \
11405 conftest
$ac_exeext conftest.
$ac_ext
11406 LIBS
=$ac_check_lib_save_LIBS
11408 { echo "$as_me:$LINENO: result: $ac_cv_lib_resolv_res_query" >&5
11409 echo "${ECHO_T}$ac_cv_lib_resolv_res_query" >&6; }
11410 if test $ac_cv_lib_resolv_res_query = yes; then
11412 cat >>confdefs.h
<<\_ACEOF
11413 #define HAVE_RESOLV 1
11416 RESOLVLIBS
="-lresolv"
11423 if test "$ac_cv_header_lcms_h" = "yes" -o "$ac_cv_header_lcms_lcms_h" = "yes"
11425 { echo "$as_me:$LINENO: checking for cmsOpenProfileFromFile in -llcms" >&5
11426 echo $ECHO_N "checking for cmsOpenProfileFromFile in -llcms... $ECHO_C" >&6; }
11427 if test "${ac_cv_lib_lcms_cmsOpenProfileFromFile+set}" = set; then
11428 echo $ECHO_N "(cached) $ECHO_C" >&6
11430 ac_check_lib_save_LIBS
=$LIBS
11431 LIBS
="-llcms $LIBS"
11432 cat >conftest.
$ac_ext <<_ACEOF
11435 cat confdefs.h
>>conftest.
$ac_ext
11436 cat >>conftest.
$ac_ext <<_ACEOF
11437 /* end confdefs.h. */
11439 /* Override any GCC internal prototype to avoid an error.
11440 Use char because int might match the return type of a GCC
11441 builtin and then its argument prototype would still apply. */
11445 char cmsOpenProfileFromFile ();
11449 return cmsOpenProfileFromFile ();
11454 rm -f conftest.
$ac_objext conftest
$ac_exeext
11455 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
11456 (eval $ac_link) 2>conftest.er1
11458 grep -v '^ *+' conftest.er1
>conftest.err
11460 cat conftest.err
>&5
11461 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11462 (exit $ac_status); } &&
11463 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
11464 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
11465 (eval $ac_try) 2>&5
11467 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11468 (exit $ac_status); }; } &&
11469 { ac_try
='test -s conftest$ac_exeext'
11470 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
11471 (eval $ac_try) 2>&5
11473 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11474 (exit $ac_status); }; }; then
11475 ac_cv_lib_lcms_cmsOpenProfileFromFile
=yes
11477 echo "$as_me: failed program was:" >&5
11478 sed 's/^/| /' conftest.
$ac_ext >&5
11480 ac_cv_lib_lcms_cmsOpenProfileFromFile
=no
11483 rm -f conftest.err conftest.
$ac_objext \
11484 conftest
$ac_exeext conftest.
$ac_ext
11485 LIBS
=$ac_check_lib_save_LIBS
11487 { echo "$as_me:$LINENO: result: $ac_cv_lib_lcms_cmsOpenProfileFromFile" >&5
11488 echo "${ECHO_T}$ac_cv_lib_lcms_cmsOpenProfileFromFile" >&6; }
11489 if test $ac_cv_lib_lcms_cmsOpenProfileFromFile = yes; then
11491 cat >>confdefs.h
<<\_ACEOF
11492 #define HAVE_LCMS 1
11502 if test "$ac_cv_header_ldap_h" = "yes" -a "$ac_cv_header_lber_h" = "yes"
11504 { echo "$as_me:$LINENO: checking for ldap_initialize in -lldap_r" >&5
11505 echo $ECHO_N "checking for ldap_initialize in -lldap_r... $ECHO_C" >&6; }
11506 if test "${ac_cv_lib_ldap_r_ldap_initialize+set}" = set; then
11507 echo $ECHO_N "(cached) $ECHO_C" >&6
11509 ac_check_lib_save_LIBS
=$LIBS
11510 LIBS
="-lldap_r $LIBPTHREAD $LIBS"
11511 cat >conftest.
$ac_ext <<_ACEOF
11514 cat confdefs.h
>>conftest.
$ac_ext
11515 cat >>conftest.
$ac_ext <<_ACEOF
11516 /* end confdefs.h. */
11518 /* Override any GCC internal prototype to avoid an error.
11519 Use char because int might match the return type of a GCC
11520 builtin and then its argument prototype would still apply. */
11524 char ldap_initialize ();
11528 return ldap_initialize ();
11533 rm -f conftest.
$ac_objext conftest
$ac_exeext
11534 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
11535 (eval $ac_link) 2>conftest.er1
11537 grep -v '^ *+' conftest.er1
>conftest.err
11539 cat conftest.err
>&5
11540 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11541 (exit $ac_status); } &&
11542 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
11543 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
11544 (eval $ac_try) 2>&5
11546 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11547 (exit $ac_status); }; } &&
11548 { ac_try
='test -s conftest$ac_exeext'
11549 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
11550 (eval $ac_try) 2>&5
11552 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11553 (exit $ac_status); }; }; then
11554 ac_cv_lib_ldap_r_ldap_initialize
=yes
11556 echo "$as_me: failed program was:" >&5
11557 sed 's/^/| /' conftest.
$ac_ext >&5
11559 ac_cv_lib_ldap_r_ldap_initialize
=no
11562 rm -f conftest.err conftest.
$ac_objext \
11563 conftest
$ac_exeext conftest.
$ac_ext
11564 LIBS
=$ac_check_lib_save_LIBS
11566 { echo "$as_me:$LINENO: result: $ac_cv_lib_ldap_r_ldap_initialize" >&5
11567 echo "${ECHO_T}$ac_cv_lib_ldap_r_ldap_initialize" >&6; }
11568 if test $ac_cv_lib_ldap_r_ldap_initialize = yes; then
11569 { echo "$as_me:$LINENO: checking for ber_init in -llber" >&5
11570 echo $ECHO_N "checking for ber_init in -llber... $ECHO_C" >&6; }
11571 if test "${ac_cv_lib_lber_ber_init+set}" = set; then
11572 echo $ECHO_N "(cached) $ECHO_C" >&6
11574 ac_check_lib_save_LIBS
=$LIBS
11575 LIBS
="-llber $LIBPTHREAD $LIBS"
11576 cat >conftest.
$ac_ext <<_ACEOF
11579 cat confdefs.h
>>conftest.
$ac_ext
11580 cat >>conftest.
$ac_ext <<_ACEOF
11581 /* end confdefs.h. */
11583 /* Override any GCC internal prototype to avoid an error.
11584 Use char because int might match the return type of a GCC
11585 builtin and then its argument prototype would still apply. */
11593 return ber_init ();
11598 rm -f conftest.
$ac_objext conftest
$ac_exeext
11599 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
11600 (eval $ac_link) 2>conftest.er1
11602 grep -v '^ *+' conftest.er1
>conftest.err
11604 cat conftest.err
>&5
11605 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11606 (exit $ac_status); } &&
11607 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
11608 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
11609 (eval $ac_try) 2>&5
11611 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11612 (exit $ac_status); }; } &&
11613 { ac_try
='test -s conftest$ac_exeext'
11614 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
11615 (eval $ac_try) 2>&5
11617 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11618 (exit $ac_status); }; }; then
11619 ac_cv_lib_lber_ber_init
=yes
11621 echo "$as_me: failed program was:" >&5
11622 sed 's/^/| /' conftest.
$ac_ext >&5
11624 ac_cv_lib_lber_ber_init
=no
11627 rm -f conftest.err conftest.
$ac_objext \
11628 conftest
$ac_exeext conftest.
$ac_ext
11629 LIBS
=$ac_check_lib_save_LIBS
11631 { echo "$as_me:$LINENO: result: $ac_cv_lib_lber_ber_init" >&5
11632 echo "${ECHO_T}$ac_cv_lib_lber_ber_init" >&6; }
11633 if test $ac_cv_lib_lber_ber_init = yes; then
11635 cat >>confdefs.h
<<\_ACEOF
11636 #define HAVE_LDAP 1
11639 LDAPLIBS
="-lldap_r -llber"
11644 ac_wine_check_funcs_save_LIBS
="$LIBS"
11645 LIBS
="$LIBS $LDAPLIBS $LIBPTHREAD"
11651 ldap_count_references \
11652 ldap_first_reference \
11653 ldap_next_reference \
11654 ldap_parse_reference
11656 as_ac_var
=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
11657 { echo "$as_me:$LINENO: checking for $ac_func" >&5
11658 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; }
11659 if { as_var
=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
11660 echo $ECHO_N "(cached) $ECHO_C" >&6
11662 cat >conftest.
$ac_ext <<_ACEOF
11665 cat confdefs.h
>>conftest.
$ac_ext
11666 cat >>conftest.
$ac_ext <<_ACEOF
11667 /* end confdefs.h. */
11668 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
11669 For example, HP-UX 11i <limits.h> declares gettimeofday. */
11670 #define $ac_func innocuous_$ac_func
11672 /* System header to define __stub macros and hopefully few prototypes,
11673 which can conflict with char $ac_func (); below.
11674 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
11675 <limits.h> exists even on freestanding compilers. */
11678 # include <limits.h>
11680 # include <assert.h>
11685 /* Override any GCC internal prototype to avoid an error.
11686 Use char because int might match the return type of a GCC
11687 builtin and then its argument prototype would still apply. */
11692 /* The GNU C library defines this for functions which it implements
11693 to always fail with ENOSYS. Some functions are actually named
11694 something starting with __ and the normal name is an alias. */
11695 #if defined __stub_$ac_func || defined __stub___$ac_func
11702 return $ac_func ();
11707 rm -f conftest.
$ac_objext conftest
$ac_exeext
11708 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
11709 (eval $ac_link) 2>conftest.er1
11711 grep -v '^ *+' conftest.er1
>conftest.err
11713 cat conftest.err
>&5
11714 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11715 (exit $ac_status); } &&
11716 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
11717 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
11718 (eval $ac_try) 2>&5
11720 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11721 (exit $ac_status); }; } &&
11722 { ac_try
='test -s conftest$ac_exeext'
11723 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
11724 (eval $ac_try) 2>&5
11726 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11727 (exit $ac_status); }; }; then
11728 eval "$as_ac_var=yes"
11730 echo "$as_me: failed program was:" >&5
11731 sed 's/^/| /' conftest.
$ac_ext >&5
11733 eval "$as_ac_var=no"
11736 rm -f conftest.err conftest.
$ac_objext \
11737 conftest
$ac_exeext conftest.
$ac_ext
11739 ac_res
=`eval echo '${'$as_ac_var'}'`
11740 { echo "$as_me:$LINENO: result: $ac_res" >&5
11741 echo "${ECHO_T}$ac_res" >&6; }
11742 if test `eval echo '${'$as_ac_var'}'` = yes; then
11743 cat >>confdefs.h
<<_ACEOF
11744 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
11750 LIBS
="$ac_wine_check_funcs_save_LIBS"
11757 { echo "$as_me:$LINENO: checking for FT_Init_FreeType in -lfreetype" >&5
11758 echo $ECHO_N "checking for FT_Init_FreeType in -lfreetype... $ECHO_C" >&6; }
11759 if test "${ac_cv_lib_freetype_FT_Init_FreeType+set}" = set; then
11760 echo $ECHO_N "(cached) $ECHO_C" >&6
11762 ac_check_lib_save_LIBS
=$LIBS
11763 LIBS
="-lfreetype $X_LIBS $LIBS"
11764 cat >conftest.
$ac_ext <<_ACEOF
11767 cat confdefs.h
>>conftest.
$ac_ext
11768 cat >>conftest.
$ac_ext <<_ACEOF
11769 /* end confdefs.h. */
11771 /* Override any GCC internal prototype to avoid an error.
11772 Use char because int might match the return type of a GCC
11773 builtin and then its argument prototype would still apply. */
11777 char FT_Init_FreeType ();
11781 return FT_Init_FreeType ();
11786 rm -f conftest.
$ac_objext conftest
$ac_exeext
11787 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
11788 (eval $ac_link) 2>conftest.er1
11790 grep -v '^ *+' conftest.er1
>conftest.err
11792 cat conftest.err
>&5
11793 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11794 (exit $ac_status); } &&
11795 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
11796 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
11797 (eval $ac_try) 2>&5
11799 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11800 (exit $ac_status); }; } &&
11801 { ac_try
='test -s conftest$ac_exeext'
11802 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
11803 (eval $ac_try) 2>&5
11805 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11806 (exit $ac_status); }; }; then
11807 ac_cv_lib_freetype_FT_Init_FreeType
=yes
11809 echo "$as_me: failed program was:" >&5
11810 sed 's/^/| /' conftest.
$ac_ext >&5
11812 ac_cv_lib_freetype_FT_Init_FreeType
=no
11815 rm -f conftest.err conftest.
$ac_objext \
11816 conftest
$ac_exeext conftest.
$ac_ext
11817 LIBS
=$ac_check_lib_save_LIBS
11819 { echo "$as_me:$LINENO: result: $ac_cv_lib_freetype_FT_Init_FreeType" >&5
11820 echo "${ECHO_T}$ac_cv_lib_freetype_FT_Init_FreeType" >&6; }
11821 if test $ac_cv_lib_freetype_FT_Init_FreeType = yes; then
11827 if test "$ft_lib" = "no"
11829 wine_cv_msg_freetype
=no
11831 # Extract the first word of "freetype-config", so it can be a program name with args.
11832 set dummy freetype-config
; ac_word
=$2
11833 { echo "$as_me:$LINENO: checking for $ac_word" >&5
11834 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
11835 if test "${ac_cv_prog_ft_devel+set}" = set; then
11836 echo $ECHO_N "(cached) $ECHO_C" >&6
11838 if test -n "$ft_devel"; then
11839 ac_cv_prog_ft_devel
="$ft_devel" # Let the user override the test.
11841 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
11842 for as_dir
in $PATH
11845 test -z "$as_dir" && as_dir
=.
11846 for ac_exec_ext
in '' $ac_executable_extensions; do
11847 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; }; then
11848 ac_cv_prog_ft_devel
="freetype-config"
11849 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
11856 test -z "$ac_cv_prog_ft_devel" && ac_cv_prog_ft_devel
="no"
11859 ft_devel
=$ac_cv_prog_ft_devel
11860 if test -n "$ft_devel"; then
11861 { echo "$as_me:$LINENO: result: $ft_devel" >&5
11862 echo "${ECHO_T}$ft_devel" >&6; }
11864 { echo "$as_me:$LINENO: result: no" >&5
11865 echo "${ECHO_T}no" >&6; }
11869 if test "$ft_devel" = "no"
11871 # Extract the first word of "freetype2-config", so it can be a program name with args.
11872 set dummy freetype2-config
; ac_word
=$2
11873 { echo "$as_me:$LINENO: checking for $ac_word" >&5
11874 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
11875 if test "${ac_cv_prog_ft_devel2+set}" = set; then
11876 echo $ECHO_N "(cached) $ECHO_C" >&6
11878 if test -n "$ft_devel2"; then
11879 ac_cv_prog_ft_devel2
="$ft_devel2" # Let the user override the test.
11881 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
11882 for as_dir
in $PATH
11885 test -z "$as_dir" && as_dir
=.
11886 for ac_exec_ext
in '' $ac_executable_extensions; do
11887 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; }; then
11888 ac_cv_prog_ft_devel2
="freetype2-config"
11889 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
11896 test -z "$ac_cv_prog_ft_devel2" && ac_cv_prog_ft_devel2
="no"
11899 ft_devel2
=$ac_cv_prog_ft_devel2
11900 if test -n "$ft_devel2"; then
11901 { echo "$as_me:$LINENO: result: $ft_devel2" >&5
11902 echo "${ECHO_T}$ft_devel2" >&6; }
11904 { echo "$as_me:$LINENO: result: no" >&5
11905 echo "${ECHO_T}no" >&6; }
11909 if test "$ft_devel2" = "freetype2-config"
11911 ft_devel
=$ft_devel2
11914 if test "$ft_devel" = "no"
11916 wine_cv_msg_freetype
=yes
11918 FREETYPELIBS
=`$ft_devel --libs`
11919 FREETYPEINCL
=`$ft_devel --cflags`
11920 ac_save_CPPFLAGS
="$CPPFLAGS"
11921 CPPFLAGS
="$FREETYPEINCL $CPPFLAGS"
11933 for ac_header
in ft2build.h \
11934 freetype
/freetype.h \
11935 freetype
/ftglyph.h \
11936 freetype
/tttables.h \
11937 freetype
/ftnames.h \
11938 freetype
/ftsnames.h \
11939 freetype
/ttnameid.h \
11940 freetype
/ftoutln.h \
11941 freetype
/ftwinfnt.h \
11942 freetype
/ftmodapi.h \
11943 freetype
/internal
/sfnt.h
11945 as_ac_Header
=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
11946 { echo "$as_me:$LINENO: checking for $ac_header" >&5
11947 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
11948 if { as_var
=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
11949 echo $ECHO_N "(cached) $ECHO_C" >&6
11951 cat >conftest.
$ac_ext <<_ACEOF
11954 cat confdefs.h
>>conftest.
$ac_ext
11955 cat >>conftest.
$ac_ext <<_ACEOF
11956 /* end confdefs.h. */
11957 #if HAVE_FT2BUILD_H
11958 #include <ft2build.h>
11961 #include <$ac_header>
11963 rm -f conftest.
$ac_objext
11964 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
11965 (eval $ac_compile) 2>conftest.er1
11967 grep -v '^ *+' conftest.er1
>conftest.err
11969 cat conftest.err
>&5
11970 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11971 (exit $ac_status); } &&
11972 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
11973 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
11974 (eval $ac_try) 2>&5
11976 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11977 (exit $ac_status); }; } &&
11978 { ac_try
='test -s conftest.$ac_objext'
11979 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
11980 (eval $ac_try) 2>&5
11982 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11983 (exit $ac_status); }; }; then
11984 eval "$as_ac_Header=yes"
11986 echo "$as_me: failed program was:" >&5
11987 sed 's/^/| /' conftest.
$ac_ext >&5
11989 eval "$as_ac_Header=no"
11992 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
11994 ac_res
=`eval echo '${'$as_ac_Header'}'`
11995 { echo "$as_me:$LINENO: result: $ac_res" >&5
11996 echo "${ECHO_T}$ac_res" >&6; }
11997 if test `eval echo '${'$as_ac_Header'}'` = yes; then
11998 cat >>confdefs.h
<<_ACEOF
11999 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
12006 cat >conftest.
$ac_ext <<_ACEOF
12009 cat confdefs.h
>>conftest.
$ac_ext
12010 cat >>conftest.
$ac_ext <<_ACEOF
12011 /* end confdefs.h. */
12012 #include <ft2build.h>
12013 #include <freetype/fttrigon.h>
12015 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
12016 (eval $ac_cpp conftest.
$ac_ext) 2>conftest.er1
12018 grep -v '^ *+' conftest.er1
>conftest.err
12020 cat conftest.err
>&5
12021 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12022 (exit $ac_status); } >/dev
/null
; then
12023 if test -s conftest.err
; then
12024 ac_cpp_err
=$ac_c_preproc_warn_flag
12025 ac_cpp_err
=$ac_cpp_err$ac_c_werror_flag
12032 if test -z "$ac_cpp_err"; then
12034 cat >>confdefs.h
<<\_ACEOF
12035 #define HAVE_FREETYPE_FTTRIGON_H 1
12038 wine_cv_fttrigon
=yes
12040 echo "$as_me: failed program was:" >&5
12041 sed 's/^/| /' conftest.
$ac_ext >&5
12043 wine_cv_fttrigon
=no
12046 rm -f conftest.err conftest.
$ac_ext
12047 { echo "$as_me:$LINENO: checking for FT_TrueTypeEngineType" >&5
12048 echo $ECHO_N "checking for FT_TrueTypeEngineType... $ECHO_C" >&6; }
12049 if test "${ac_cv_type_FT_TrueTypeEngineType+set}" = set; then
12050 echo $ECHO_N "(cached) $ECHO_C" >&6
12052 cat >conftest.
$ac_ext <<_ACEOF
12055 cat confdefs.h
>>conftest.
$ac_ext
12056 cat >>conftest.
$ac_ext <<_ACEOF
12057 /* end confdefs.h. */
12058 #include <freetype/ftmodapi.h>
12060 typedef FT_TrueTypeEngineType ac__type_new_;
12064 if ((ac__type_new_ *) 0)
12066 if (sizeof (ac__type_new_))
12072 rm -f conftest.
$ac_objext
12073 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
12074 (eval $ac_compile) 2>conftest.er1
12076 grep -v '^ *+' conftest.er1
>conftest.err
12078 cat conftest.err
>&5
12079 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12080 (exit $ac_status); } &&
12081 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
12082 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12083 (eval $ac_try) 2>&5
12085 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12086 (exit $ac_status); }; } &&
12087 { ac_try
='test -s conftest.$ac_objext'
12088 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12089 (eval $ac_try) 2>&5
12091 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12092 (exit $ac_status); }; }; then
12093 ac_cv_type_FT_TrueTypeEngineType
=yes
12095 echo "$as_me: failed program was:" >&5
12096 sed 's/^/| /' conftest.
$ac_ext >&5
12098 ac_cv_type_FT_TrueTypeEngineType
=no
12101 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
12103 { echo "$as_me:$LINENO: result: $ac_cv_type_FT_TrueTypeEngineType" >&5
12104 echo "${ECHO_T}$ac_cv_type_FT_TrueTypeEngineType" >&6; }
12105 if test $ac_cv_type_FT_TrueTypeEngineType = yes; then
12107 cat >>confdefs.h
<<_ACEOF
12108 #define HAVE_FT_TRUETYPEENGINETYPE 1
12114 ac_save_CFLAGS
="$CFLAGS"
12115 CFLAGS
="$CFLAGS $FREETYPELIBS"
12117 for ac_func
in FT_Load_Sfnt_Table
12119 as_ac_var
=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
12120 { echo "$as_me:$LINENO: checking for $ac_func" >&5
12121 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; }
12122 if { as_var
=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
12123 echo $ECHO_N "(cached) $ECHO_C" >&6
12125 cat >conftest.
$ac_ext <<_ACEOF
12128 cat confdefs.h
>>conftest.
$ac_ext
12129 cat >>conftest.
$ac_ext <<_ACEOF
12130 /* end confdefs.h. */
12131 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
12132 For example, HP-UX 11i <limits.h> declares gettimeofday. */
12133 #define $ac_func innocuous_$ac_func
12135 /* System header to define __stub macros and hopefully few prototypes,
12136 which can conflict with char $ac_func (); below.
12137 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
12138 <limits.h> exists even on freestanding compilers. */
12141 # include <limits.h>
12143 # include <assert.h>
12148 /* Override any GCC internal prototype to avoid an error.
12149 Use char because int might match the return type of a GCC
12150 builtin and then its argument prototype would still apply. */
12155 /* The GNU C library defines this for functions which it implements
12156 to always fail with ENOSYS. Some functions are actually named
12157 something starting with __ and the normal name is an alias. */
12158 #if defined __stub_$ac_func || defined __stub___$ac_func
12165 return $ac_func ();
12170 rm -f conftest.
$ac_objext conftest
$ac_exeext
12171 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
12172 (eval $ac_link) 2>conftest.er1
12174 grep -v '^ *+' conftest.er1
>conftest.err
12176 cat conftest.err
>&5
12177 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12178 (exit $ac_status); } &&
12179 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
12180 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12181 (eval $ac_try) 2>&5
12183 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12184 (exit $ac_status); }; } &&
12185 { ac_try
='test -s conftest$ac_exeext'
12186 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12187 (eval $ac_try) 2>&5
12189 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12190 (exit $ac_status); }; }; then
12191 eval "$as_ac_var=yes"
12193 echo "$as_me: failed program was:" >&5
12194 sed 's/^/| /' conftest.
$ac_ext >&5
12196 eval "$as_ac_var=no"
12199 rm -f conftest.err conftest.
$ac_objext \
12200 conftest
$ac_exeext conftest.
$ac_ext
12202 ac_res
=`eval echo '${'$as_ac_var'}'`
12203 { echo "$as_me:$LINENO: result: $ac_res" >&5
12204 echo "${ECHO_T}$ac_res" >&6; }
12205 if test `eval echo '${'$as_ac_var'}'` = yes; then
12206 cat >>confdefs.h
<<_ACEOF
12207 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
12213 CFLAGS
="$ac_save_CFLAGS"
12214 CPPFLAGS
="$ac_save_CPPFLAGS"
12215 if test "$ac_cv_header_freetype_freetype_h" = "yes" -a "$wine_cv_fttrigon" = "yes"
12218 cat >>confdefs.h
<<\_ACEOF
12219 #define HAVE_FREETYPE 1
12222 wine_cv_msg_freetype
=no
12226 wine_cv_msg_freetype
=yes
12231 if test "$FONTFORGE" != "false" -a -n "$FREETYPELIBS"
12233 FONTSSUBDIRS
="fonts"
12235 wine_cv_msg_fonts
=no
12237 wine_cv_msg_fonts
=yes
12240 { echo "$as_me:$LINENO: checking for parport header/ppdev.h" >&5
12241 echo $ECHO_N "checking for parport header/ppdev.h... $ECHO_C" >&6; }
12242 if test "${ac_cv_c_ppdev+set}" = set; then
12243 echo $ECHO_N "(cached) $ECHO_C" >&6
12245 cat >conftest.
$ac_ext <<_ACEOF
12248 cat confdefs.h
>>conftest.
$ac_ext
12249 cat >>conftest.
$ac_ext <<_ACEOF
12250 /* end confdefs.h. */
12251 #include <linux/ppdev.h>
12255 ioctl (1,PPCLAIM,0)
12260 rm -f conftest.
$ac_objext
12261 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
12262 (eval $ac_compile) 2>conftest.er1
12264 grep -v '^ *+' conftest.er1
>conftest.err
12266 cat conftest.err
>&5
12267 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12268 (exit $ac_status); } &&
12269 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
12270 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12271 (eval $ac_try) 2>&5
12273 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12274 (exit $ac_status); }; } &&
12275 { ac_try
='test -s conftest.$ac_objext'
12276 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12277 (eval $ac_try) 2>&5
12279 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12280 (exit $ac_status); }; }; then
12281 ac_cv_c_ppdev
="yes"
12283 echo "$as_me: failed program was:" >&5
12284 sed 's/^/| /' conftest.
$ac_ext >&5
12289 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
12292 { echo "$as_me:$LINENO: result: $ac_cv_c_ppdev" >&5
12293 echo "${ECHO_T}$ac_cv_c_ppdev" >&6; }
12294 if test "$ac_cv_c_ppdev" = "yes"
12297 cat >>confdefs.h
<<\_ACEOF
12298 #define HAVE_PPDEV 1
12303 { echo "$as_me:$LINENO: checking for va_copy" >&5
12304 echo $ECHO_N "checking for va_copy... $ECHO_C" >&6; }
12305 if test "${ac_cv_c_va_copy+set}" = set; then
12306 echo $ECHO_N "(cached) $ECHO_C" >&6
12308 cat >conftest.
$ac_ext <<_ACEOF
12311 cat confdefs.h
>>conftest.
$ac_ext
12312 cat >>conftest.
$ac_ext <<_ACEOF
12313 /* end confdefs.h. */
12314 #include <stdarg.h>
12325 rm -f conftest.
$ac_objext conftest
$ac_exeext
12326 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
12327 (eval $ac_link) 2>conftest.er1
12329 grep -v '^ *+' conftest.er1
>conftest.err
12331 cat conftest.err
>&5
12332 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12333 (exit $ac_status); } &&
12334 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
12335 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12336 (eval $ac_try) 2>&5
12338 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12339 (exit $ac_status); }; } &&
12340 { ac_try
='test -s conftest$ac_exeext'
12341 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12342 (eval $ac_try) 2>&5
12344 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12345 (exit $ac_status); }; }; then
12346 ac_cv_c_va_copy
="yes"
12348 echo "$as_me: failed program was:" >&5
12349 sed 's/^/| /' conftest.
$ac_ext >&5
12351 ac_cv_c_va_copy
="no"
12354 rm -f conftest.err conftest.
$ac_objext \
12355 conftest
$ac_exeext conftest.
$ac_ext
12358 { echo "$as_me:$LINENO: result: $ac_cv_c_va_copy" >&5
12359 echo "${ECHO_T}$ac_cv_c_va_copy" >&6; }
12360 if test "$ac_cv_c_va_copy" = "yes"
12363 cat >>confdefs.h
<<\_ACEOF
12364 #define HAVE_VA_COPY 1
12368 { echo "$as_me:$LINENO: checking for __va_copy" >&5
12369 echo $ECHO_N "checking for __va_copy... $ECHO_C" >&6; }
12370 if test "${ac_cv_c___va_copy+set}" = set; then
12371 echo $ECHO_N "(cached) $ECHO_C" >&6
12373 cat >conftest.
$ac_ext <<_ACEOF
12376 cat confdefs.h
>>conftest.
$ac_ext
12377 cat >>conftest.
$ac_ext <<_ACEOF
12378 /* end confdefs.h. */
12379 #include <stdarg.h>
12384 __va_copy(ap1,ap2);
12390 rm -f conftest.
$ac_objext conftest
$ac_exeext
12391 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
12392 (eval $ac_link) 2>conftest.er1
12394 grep -v '^ *+' conftest.er1
>conftest.err
12396 cat conftest.err
>&5
12397 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12398 (exit $ac_status); } &&
12399 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
12400 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12401 (eval $ac_try) 2>&5
12403 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12404 (exit $ac_status); }; } &&
12405 { ac_try
='test -s conftest$ac_exeext'
12406 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12407 (eval $ac_try) 2>&5
12409 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12410 (exit $ac_status); }; }; then
12411 ac_cv_c___va_copy
="yes"
12413 echo "$as_me: failed program was:" >&5
12414 sed 's/^/| /' conftest.
$ac_ext >&5
12416 ac_cv_c___va_copy
="no"
12419 rm -f conftest.err conftest.
$ac_objext \
12420 conftest
$ac_exeext conftest.
$ac_ext
12423 { echo "$as_me:$LINENO: result: $ac_cv_c___va_copy" >&5
12424 echo "${ECHO_T}$ac_cv_c___va_copy" >&6; }
12425 if test "$ac_cv_c___va_copy" = "yes"
12428 cat >>confdefs.h
<<\_ACEOF
12429 #define HAVE___VA_COPY 1
12434 { echo "$as_me:$LINENO: checking for sigsetjmp" >&5
12435 echo $ECHO_N "checking for sigsetjmp... $ECHO_C" >&6; }
12436 if test "${ac_cv_c_sigsetjmp+set}" = set; then
12437 echo $ECHO_N "(cached) $ECHO_C" >&6
12439 cat >conftest.
$ac_ext <<_ACEOF
12442 cat confdefs.h
>>conftest.
$ac_ext
12443 cat >>conftest.
$ac_ext <<_ACEOF
12444 /* end confdefs.h. */
12445 #include <setjmp.h>
12450 sigsetjmp( buf, 1 );
12451 siglongjmp( buf, 1 );
12456 rm -f conftest.
$ac_objext conftest
$ac_exeext
12457 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
12458 (eval $ac_link) 2>conftest.er1
12460 grep -v '^ *+' conftest.er1
>conftest.err
12462 cat conftest.err
>&5
12463 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12464 (exit $ac_status); } &&
12465 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
12466 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12467 (eval $ac_try) 2>&5
12469 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12470 (exit $ac_status); }; } &&
12471 { ac_try
='test -s conftest$ac_exeext'
12472 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12473 (eval $ac_try) 2>&5
12475 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12476 (exit $ac_status); }; }; then
12477 ac_cv_c_sigsetjmp
="yes"
12479 echo "$as_me: failed program was:" >&5
12480 sed 's/^/| /' conftest.
$ac_ext >&5
12482 ac_cv_c_sigsetjmp
="no"
12485 rm -f conftest.err conftest.
$ac_objext \
12486 conftest
$ac_exeext conftest.
$ac_ext
12489 { echo "$as_me:$LINENO: result: $ac_cv_c_sigsetjmp" >&5
12490 echo "${ECHO_T}$ac_cv_c_sigsetjmp" >&6; }
12491 if test "$ac_cv_c_sigsetjmp" = "yes"
12494 cat >>confdefs.h
<<\_ACEOF
12495 #define HAVE_SIGSETJMP 1
12500 { echo "$as_me:$LINENO: checking for pthread_rwlock_t" >&5
12501 echo $ECHO_N "checking for pthread_rwlock_t... $ECHO_C" >&6; }
12502 if test "${ac_cv_type_pthread_rwlock_t+set}" = set; then
12503 echo $ECHO_N "(cached) $ECHO_C" >&6
12505 cat >conftest.
$ac_ext <<_ACEOF
12508 cat confdefs.h
>>conftest.
$ac_ext
12509 cat >>conftest.
$ac_ext <<_ACEOF
12510 /* end confdefs.h. */
12511 #define _GNU_SOURCE
12512 #include <pthread.h>
12514 typedef pthread_rwlock_t ac__type_new_;
12518 if ((ac__type_new_ *) 0)
12520 if (sizeof (ac__type_new_))
12526 rm -f conftest.
$ac_objext
12527 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
12528 (eval $ac_compile) 2>conftest.er1
12530 grep -v '^ *+' conftest.er1
>conftest.err
12532 cat conftest.err
>&5
12533 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12534 (exit $ac_status); } &&
12535 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
12536 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12537 (eval $ac_try) 2>&5
12539 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12540 (exit $ac_status); }; } &&
12541 { ac_try
='test -s conftest.$ac_objext'
12542 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12543 (eval $ac_try) 2>&5
12545 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12546 (exit $ac_status); }; }; then
12547 ac_cv_type_pthread_rwlock_t
=yes
12549 echo "$as_me: failed program was:" >&5
12550 sed 's/^/| /' conftest.
$ac_ext >&5
12552 ac_cv_type_pthread_rwlock_t
=no
12555 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
12557 { echo "$as_me:$LINENO: result: $ac_cv_type_pthread_rwlock_t" >&5
12558 echo "${ECHO_T}$ac_cv_type_pthread_rwlock_t" >&6; }
12559 if test $ac_cv_type_pthread_rwlock_t = yes; then
12561 cat >>confdefs.h
<<_ACEOF
12562 #define HAVE_PTHREAD_RWLOCK_T 1
12567 { echo "$as_me:$LINENO: checking for pthread_rwlockattr_t" >&5
12568 echo $ECHO_N "checking for pthread_rwlockattr_t... $ECHO_C" >&6; }
12569 if test "${ac_cv_type_pthread_rwlockattr_t+set}" = set; then
12570 echo $ECHO_N "(cached) $ECHO_C" >&6
12572 cat >conftest.
$ac_ext <<_ACEOF
12575 cat confdefs.h
>>conftest.
$ac_ext
12576 cat >>conftest.
$ac_ext <<_ACEOF
12577 /* end confdefs.h. */
12578 #define _GNU_SOURCE
12579 #include <pthread.h>
12581 typedef pthread_rwlockattr_t ac__type_new_;
12585 if ((ac__type_new_ *) 0)
12587 if (sizeof (ac__type_new_))
12593 rm -f conftest.
$ac_objext
12594 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
12595 (eval $ac_compile) 2>conftest.er1
12597 grep -v '^ *+' conftest.er1
>conftest.err
12599 cat conftest.err
>&5
12600 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12601 (exit $ac_status); } &&
12602 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
12603 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12604 (eval $ac_try) 2>&5
12606 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12607 (exit $ac_status); }; } &&
12608 { ac_try
='test -s conftest.$ac_objext'
12609 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12610 (eval $ac_try) 2>&5
12612 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12613 (exit $ac_status); }; }; then
12614 ac_cv_type_pthread_rwlockattr_t
=yes
12616 echo "$as_me: failed program was:" >&5
12617 sed 's/^/| /' conftest.
$ac_ext >&5
12619 ac_cv_type_pthread_rwlockattr_t
=no
12622 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
12624 { echo "$as_me:$LINENO: result: $ac_cv_type_pthread_rwlockattr_t" >&5
12625 echo "${ECHO_T}$ac_cv_type_pthread_rwlockattr_t" >&6; }
12626 if test $ac_cv_type_pthread_rwlockattr_t = yes; then
12628 cat >>confdefs.h
<<_ACEOF
12629 #define HAVE_PTHREAD_RWLOCKATTR_T 1
12636 ac_wine_check_funcs_save_LIBS
="$LIBS"
12637 LIBS
="$LIBS $LIBPTHREAD"
12642 pthread_getattr_np \
12643 pthread_get_stackaddr_np \
12644 pthread_get_stacksize_np
12646 as_ac_var
=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
12647 { echo "$as_me:$LINENO: checking for $ac_func" >&5
12648 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; }
12649 if { as_var
=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
12650 echo $ECHO_N "(cached) $ECHO_C" >&6
12652 cat >conftest.
$ac_ext <<_ACEOF
12655 cat confdefs.h
>>conftest.
$ac_ext
12656 cat >>conftest.
$ac_ext <<_ACEOF
12657 /* end confdefs.h. */
12658 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
12659 For example, HP-UX 11i <limits.h> declares gettimeofday. */
12660 #define $ac_func innocuous_$ac_func
12662 /* System header to define __stub macros and hopefully few prototypes,
12663 which can conflict with char $ac_func (); below.
12664 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
12665 <limits.h> exists even on freestanding compilers. */
12668 # include <limits.h>
12670 # include <assert.h>
12675 /* Override any GCC internal prototype to avoid an error.
12676 Use char because int might match the return type of a GCC
12677 builtin and then its argument prototype would still apply. */
12682 /* The GNU C library defines this for functions which it implements
12683 to always fail with ENOSYS. Some functions are actually named
12684 something starting with __ and the normal name is an alias. */
12685 #if defined __stub_$ac_func || defined __stub___$ac_func
12692 return $ac_func ();
12697 rm -f conftest.
$ac_objext conftest
$ac_exeext
12698 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
12699 (eval $ac_link) 2>conftest.er1
12701 grep -v '^ *+' conftest.er1
>conftest.err
12703 cat conftest.err
>&5
12704 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12705 (exit $ac_status); } &&
12706 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
12707 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12708 (eval $ac_try) 2>&5
12710 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12711 (exit $ac_status); }; } &&
12712 { ac_try
='test -s conftest$ac_exeext'
12713 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12714 (eval $ac_try) 2>&5
12716 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12717 (exit $ac_status); }; }; then
12718 eval "$as_ac_var=yes"
12720 echo "$as_me: failed program was:" >&5
12721 sed 's/^/| /' conftest.
$ac_ext >&5
12723 eval "$as_ac_var=no"
12726 rm -f conftest.err conftest.
$ac_objext \
12727 conftest
$ac_exeext conftest.
$ac_ext
12729 ac_res
=`eval echo '${'$as_ac_var'}'`
12730 { echo "$as_me:$LINENO: result: $ac_res" >&5
12731 echo "${ECHO_T}$ac_res" >&6; }
12732 if test `eval echo '${'$as_ac_var'}'` = yes; then
12733 cat >>confdefs.h
<<_ACEOF
12734 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
12740 LIBS
="$ac_wine_check_funcs_save_LIBS"
12742 # Extract the first word of "artsc-config", so it can be a program name with args.
12743 set dummy artsc-config
; ac_word
=$2
12744 { echo "$as_me:$LINENO: checking for $ac_word" >&5
12745 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
12746 if test "${ac_cv_path_ARTSCCONFIG+set}" = set; then
12747 echo $ECHO_N "(cached) $ECHO_C" >&6
12749 case $ARTSCCONFIG in
12751 ac_cv_path_ARTSCCONFIG
="$ARTSCCONFIG" # Let the user override the test with a path.
12754 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
12755 for as_dir
in $PATH
12758 test -z "$as_dir" && as_dir
=.
12759 for ac_exec_ext
in '' $ac_executable_extensions; do
12760 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; }; then
12761 ac_cv_path_ARTSCCONFIG
="$as_dir/$ac_word$ac_exec_ext"
12762 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
12772 ARTSCCONFIG
=$ac_cv_path_ARTSCCONFIG
12773 if test -n "$ARTSCCONFIG"; then
12774 { echo "$as_me:$LINENO: result: $ARTSCCONFIG" >&5
12775 echo "${ECHO_T}$ARTSCCONFIG" >&6; }
12777 { echo "$as_me:$LINENO: result: no" >&5
12778 echo "${ECHO_T}no" >&6; }
12782 if test x
$ARTSCCONFIG != x
-a x
$ARTSCCONFIG != x
'"$ARTSCCONFIG"';
12785 for i
in `$ARTSCCONFIG --cflags`
12788 -I*) ARTSC_CFLAGS
="$ARTSC_CFLAGS $i";;
12792 for i
in `$ARTSCCONFIG --libs`
12795 -L/usr
/lib|
-L/usr
/lib64
) ;;
12796 -L*|
-l*) ARTSC_LIBS
="$ARTSC_LIBS $i";;
12799 save_CFLAGS
="$CFLAGS"
12800 CFLAGS
="$CFLAGS $ARTSC_CFLAGS"
12801 { echo "$as_me:$LINENO: checking for arts_init in -lartsc" >&5
12802 echo $ECHO_N "checking for arts_init in -lartsc... $ECHO_C" >&6; }
12803 if test "${ac_cv_lib_artsc_arts_init+set}" = set; then
12804 echo $ECHO_N "(cached) $ECHO_C" >&6
12806 ac_check_lib_save_LIBS
=$LIBS
12807 LIBS
="-lartsc $ARTSC_LIBS $LIBS"
12808 cat >conftest.
$ac_ext <<_ACEOF
12811 cat confdefs.h
>>conftest.
$ac_ext
12812 cat >>conftest.
$ac_ext <<_ACEOF
12813 /* end confdefs.h. */
12815 /* Override any GCC internal prototype to avoid an error.
12816 Use char because int might match the return type of a GCC
12817 builtin and then its argument prototype would still apply. */
12825 return arts_init ();
12830 rm -f conftest.
$ac_objext conftest
$ac_exeext
12831 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
12832 (eval $ac_link) 2>conftest.er1
12834 grep -v '^ *+' conftest.er1
>conftest.err
12836 cat conftest.err
>&5
12837 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12838 (exit $ac_status); } &&
12839 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
12840 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12841 (eval $ac_try) 2>&5
12843 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12844 (exit $ac_status); }; } &&
12845 { ac_try
='test -s conftest$ac_exeext'
12846 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12847 (eval $ac_try) 2>&5
12849 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12850 (exit $ac_status); }; }; then
12851 ac_cv_lib_artsc_arts_init
=yes
12853 echo "$as_me: failed program was:" >&5
12854 sed 's/^/| /' conftest.
$ac_ext >&5
12856 ac_cv_lib_artsc_arts_init
=no
12859 rm -f conftest.err conftest.
$ac_objext \
12860 conftest
$ac_exeext conftest.
$ac_ext
12861 LIBS
=$ac_check_lib_save_LIBS
12863 { echo "$as_me:$LINENO: result: $ac_cv_lib_artsc_arts_init" >&5
12864 echo "${ECHO_T}$ac_cv_lib_artsc_arts_init" >&6; }
12865 if test $ac_cv_lib_artsc_arts_init = yes; then
12866 cat >conftest.
$ac_ext <<_ACEOF
12869 cat confdefs.h
>>conftest.
$ac_ext
12870 cat >>conftest.
$ac_ext <<_ACEOF
12871 /* end confdefs.h. */
12876 arts_stream_t stream;
12881 rm -f conftest.
$ac_objext
12882 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
12883 (eval $ac_compile) 2>conftest.er1
12885 grep -v '^ *+' conftest.er1
>conftest.err
12887 cat conftest.err
>&5
12888 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12889 (exit $ac_status); } &&
12890 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
12891 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12892 (eval $ac_try) 2>&5
12894 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12895 (exit $ac_status); }; } &&
12896 { ac_try
='test -s conftest.$ac_objext'
12897 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12898 (eval $ac_try) 2>&5
12900 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12901 (exit $ac_status); }; }; then
12902 ARTSLIBS
=$ARTSC_LIBS
12904 ARTSINCL
=$ARTSC_CFLAGS
12907 cat >>confdefs.h
<<\_ACEOF
12908 #define HAVE_ARTS 1
12912 echo "$as_me: failed program was:" >&5
12913 sed 's/^/| /' conftest.
$ac_ext >&5
12918 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
12921 CFLAGS
="$save_CFLAGS"
12924 # Extract the first word of "esd-config", so it can be a program name with args.
12925 set dummy esd-config
; ac_word
=$2
12926 { echo "$as_me:$LINENO: checking for $ac_word" >&5
12927 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
12928 if test "${ac_cv_path_ESDCONFIG+set}" = set; then
12929 echo $ECHO_N "(cached) $ECHO_C" >&6
12933 ac_cv_path_ESDCONFIG
="$ESDCONFIG" # Let the user override the test with a path.
12936 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
12937 for as_dir
in $PATH
12940 test -z "$as_dir" && as_dir
=.
12941 for ac_exec_ext
in '' $ac_executable_extensions; do
12942 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; }; then
12943 ac_cv_path_ESDCONFIG
="$as_dir/$ac_word$ac_exec_ext"
12944 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
12954 ESDCONFIG
=$ac_cv_path_ESDCONFIG
12955 if test -n "$ESDCONFIG"; then
12956 { echo "$as_me:$LINENO: result: $ESDCONFIG" >&5
12957 echo "${ECHO_T}$ESDCONFIG" >&6; }
12959 { echo "$as_me:$LINENO: result: no" >&5
12960 echo "${ECHO_T}no" >&6; }
12964 if test x
$ESDCONFIG != x
-a x
$ESDCONFIG != x
'"$ESDCONFIG"';
12967 for i
in `$ESDCONFIG --cflags`
12970 -I*) ESD_CFLAGS
="$ESD_CFLAGS $i";;
12973 ESD_LIBS
=`$ESDCONFIG --libs`
12974 save_CFLAGS
="$CFLAGS"
12975 CFLAGS
="$CFLAGS $ESD_CFLAGS"
12976 { echo "$as_me:$LINENO: checking for esd_open_sound in -lesd" >&5
12977 echo $ECHO_N "checking for esd_open_sound in -lesd... $ECHO_C" >&6; }
12978 if test "${ac_cv_lib_esd_esd_open_sound+set}" = set; then
12979 echo $ECHO_N "(cached) $ECHO_C" >&6
12981 ac_check_lib_save_LIBS
=$LIBS
12983 cat >conftest.
$ac_ext <<_ACEOF
12986 cat confdefs.h
>>conftest.
$ac_ext
12987 cat >>conftest.
$ac_ext <<_ACEOF
12988 /* end confdefs.h. */
12990 /* Override any GCC internal prototype to avoid an error.
12991 Use char because int might match the return type of a GCC
12992 builtin and then its argument prototype would still apply. */
12996 char esd_open_sound ();
13000 return esd_open_sound ();
13005 rm -f conftest.
$ac_objext conftest
$ac_exeext
13006 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
13007 (eval $ac_link) 2>conftest.er1
13009 grep -v '^ *+' conftest.er1
>conftest.err
13011 cat conftest.err
>&5
13012 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13013 (exit $ac_status); } &&
13014 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
13015 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
13016 (eval $ac_try) 2>&5
13018 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13019 (exit $ac_status); }; } &&
13020 { ac_try
='test -s conftest$ac_exeext'
13021 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
13022 (eval $ac_try) 2>&5
13024 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13025 (exit $ac_status); }; }; then
13026 ac_cv_lib_esd_esd_open_sound
=yes
13028 echo "$as_me: failed program was:" >&5
13029 sed 's/^/| /' conftest.
$ac_ext >&5
13031 ac_cv_lib_esd_esd_open_sound
=no
13034 rm -f conftest.err conftest.
$ac_objext \
13035 conftest
$ac_exeext conftest.
$ac_ext
13036 LIBS
=$ac_check_lib_save_LIBS
13038 { echo "$as_me:$LINENO: result: $ac_cv_lib_esd_esd_open_sound" >&5
13039 echo "${ECHO_T}$ac_cv_lib_esd_esd_open_sound" >&6; }
13040 if test $ac_cv_lib_esd_esd_open_sound = yes; then
13043 ESDINCL
=$ESD_CFLAGS
13046 cat >>confdefs.h
<<\_ACEOF
13052 CFLAGS
="$save_CFLAGS"
13057 if test "$ac_cv_header_sys_asoundlib_h" = "yes" -o "$ac_cv_header_alsa_asoundlib_h" = "yes"
13059 { echo "$as_me:$LINENO: checking for snd_pcm_hw_params_get_access in -lasound" >&5
13060 echo $ECHO_N "checking for snd_pcm_hw_params_get_access in -lasound... $ECHO_C" >&6; }
13061 if test "${ac_cv_lib_asound_snd_pcm_hw_params_get_access+set}" = set; then
13062 echo $ECHO_N "(cached) $ECHO_C" >&6
13064 ac_check_lib_save_LIBS
=$LIBS
13065 LIBS
="-lasound $LIBS"
13066 cat >conftest.
$ac_ext <<_ACEOF
13069 cat confdefs.h
>>conftest.
$ac_ext
13070 cat >>conftest.
$ac_ext <<_ACEOF
13071 /* end confdefs.h. */
13073 /* Override any GCC internal prototype to avoid an error.
13074 Use char because int might match the return type of a GCC
13075 builtin and then its argument prototype would still apply. */
13079 char snd_pcm_hw_params_get_access ();
13083 return snd_pcm_hw_params_get_access ();
13088 rm -f conftest.
$ac_objext conftest
$ac_exeext
13089 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
13090 (eval $ac_link) 2>conftest.er1
13092 grep -v '^ *+' conftest.er1
>conftest.err
13094 cat conftest.err
>&5
13095 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13096 (exit $ac_status); } &&
13097 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
13098 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
13099 (eval $ac_try) 2>&5
13101 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13102 (exit $ac_status); }; } &&
13103 { ac_try
='test -s conftest$ac_exeext'
13104 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
13105 (eval $ac_try) 2>&5
13107 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13108 (exit $ac_status); }; }; then
13109 ac_cv_lib_asound_snd_pcm_hw_params_get_access
=yes
13111 echo "$as_me: failed program was:" >&5
13112 sed 's/^/| /' conftest.
$ac_ext >&5
13114 ac_cv_lib_asound_snd_pcm_hw_params_get_access
=no
13117 rm -f conftest.err conftest.
$ac_objext \
13118 conftest
$ac_exeext conftest.
$ac_ext
13119 LIBS
=$ac_check_lib_save_LIBS
13121 { echo "$as_me:$LINENO: result: $ac_cv_lib_asound_snd_pcm_hw_params_get_access" >&5
13122 echo "${ECHO_T}$ac_cv_lib_asound_snd_pcm_hw_params_get_access" >&6; }
13123 if test $ac_cv_lib_asound_snd_pcm_hw_params_get_access = yes; then
13124 cat >conftest.
$ac_ext <<_ACEOF
13127 cat confdefs.h
>>conftest.
$ac_ext
13128 cat >>conftest.
$ac_ext <<_ACEOF
13129 /* end confdefs.h. */
13130 #ifdef HAVE_ALSA_ASOUNDLIB_H
13131 #include <alsa/asoundlib.h>
13132 #elif defined(HAVE_SYS_ASOUNDLIB_H)
13133 #include <sys/asoundlib.h>
13138 int ret = snd_pcm_hw_params_get_access(NULL, NULL)
13143 rm -f conftest.
$ac_objext
13144 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
13145 (eval $ac_compile) 2>conftest.er1
13147 grep -v '^ *+' conftest.er1
>conftest.err
13149 cat conftest.err
>&5
13150 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13151 (exit $ac_status); } &&
13152 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
13153 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
13154 (eval $ac_try) 2>&5
13156 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13157 (exit $ac_status); }; } &&
13158 { ac_try
='test -s conftest.$ac_objext'
13159 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
13160 (eval $ac_try) 2>&5
13162 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13163 (exit $ac_status); }; }; then
13165 cat >>confdefs.h
<<\_ACEOF
13166 #define HAVE_ALSA 1
13169 ALSALIBS
="-lasound"
13171 echo "$as_me: failed program was:" >&5
13172 sed 's/^/| /' conftest.
$ac_ext >&5
13177 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
13185 if test "$ac_cv_header_libaudioio_h" = "yes"
13187 { echo "$as_me:$LINENO: checking for AudioIOGetVersion in -laudioio" >&5
13188 echo $ECHO_N "checking for AudioIOGetVersion in -laudioio... $ECHO_C" >&6; }
13189 if test "${ac_cv_lib_audioio_AudioIOGetVersion+set}" = set; then
13190 echo $ECHO_N "(cached) $ECHO_C" >&6
13192 ac_check_lib_save_LIBS
=$LIBS
13193 LIBS
="-laudioio $LIBS"
13194 cat >conftest.
$ac_ext <<_ACEOF
13197 cat confdefs.h
>>conftest.
$ac_ext
13198 cat >>conftest.
$ac_ext <<_ACEOF
13199 /* end confdefs.h. */
13201 /* Override any GCC internal prototype to avoid an error.
13202 Use char because int might match the return type of a GCC
13203 builtin and then its argument prototype would still apply. */
13207 char AudioIOGetVersion ();
13211 return AudioIOGetVersion ();
13216 rm -f conftest.
$ac_objext conftest
$ac_exeext
13217 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
13218 (eval $ac_link) 2>conftest.er1
13220 grep -v '^ *+' conftest.er1
>conftest.err
13222 cat conftest.err
>&5
13223 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13224 (exit $ac_status); } &&
13225 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
13226 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
13227 (eval $ac_try) 2>&5
13229 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13230 (exit $ac_status); }; } &&
13231 { ac_try
='test -s conftest$ac_exeext'
13232 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
13233 (eval $ac_try) 2>&5
13235 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13236 (exit $ac_status); }; }; then
13237 ac_cv_lib_audioio_AudioIOGetVersion
=yes
13239 echo "$as_me: failed program was:" >&5
13240 sed 's/^/| /' conftest.
$ac_ext >&5
13242 ac_cv_lib_audioio_AudioIOGetVersion
=no
13245 rm -f conftest.err conftest.
$ac_objext \
13246 conftest
$ac_exeext conftest.
$ac_ext
13247 LIBS
=$ac_check_lib_save_LIBS
13249 { echo "$as_me:$LINENO: result: $ac_cv_lib_audioio_AudioIOGetVersion" >&5
13250 echo "${ECHO_T}$ac_cv_lib_audioio_AudioIOGetVersion" >&6; }
13251 if test $ac_cv_lib_audioio_AudioIOGetVersion = yes; then
13252 AUDIOIOLIBS
="-laudioio"
13254 cat >>confdefs.h
<<\_ACEOF
13255 #define HAVE_LIBAUDIOIO 1
13263 if test "$ac_cv_header_capi20_h" = "yes" -a "$ac_cv_header_linux_capi_h" = "yes"
13265 { echo "$as_me:$LINENO: checking for capi20_register in -lcapi20" >&5
13266 echo $ECHO_N "checking for capi20_register in -lcapi20... $ECHO_C" >&6; }
13267 if test "${ac_cv_lib_capi20_capi20_register+set}" = set; then
13268 echo $ECHO_N "(cached) $ECHO_C" >&6
13270 ac_check_lib_save_LIBS
=$LIBS
13271 LIBS
="-lcapi20 $LIBS"
13272 cat >conftest.
$ac_ext <<_ACEOF
13275 cat confdefs.h
>>conftest.
$ac_ext
13276 cat >>conftest.
$ac_ext <<_ACEOF
13277 /* end confdefs.h. */
13279 /* Override any GCC internal prototype to avoid an error.
13280 Use char because int might match the return type of a GCC
13281 builtin and then its argument prototype would still apply. */
13285 char capi20_register ();
13289 return capi20_register ();
13294 rm -f conftest.
$ac_objext conftest
$ac_exeext
13295 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
13296 (eval $ac_link) 2>conftest.er1
13298 grep -v '^ *+' conftest.er1
>conftest.err
13300 cat conftest.err
>&5
13301 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13302 (exit $ac_status); } &&
13303 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
13304 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
13305 (eval $ac_try) 2>&5
13307 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13308 (exit $ac_status); }; } &&
13309 { ac_try
='test -s conftest$ac_exeext'
13310 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
13311 (eval $ac_try) 2>&5
13313 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13314 (exit $ac_status); }; }; then
13315 ac_cv_lib_capi20_capi20_register
=yes
13317 echo "$as_me: failed program was:" >&5
13318 sed 's/^/| /' conftest.
$ac_ext >&5
13320 ac_cv_lib_capi20_capi20_register
=no
13323 rm -f conftest.err conftest.
$ac_objext \
13324 conftest
$ac_exeext conftest.
$ac_ext
13325 LIBS
=$ac_check_lib_save_LIBS
13327 { echo "$as_me:$LINENO: result: $ac_cv_lib_capi20_capi20_register" >&5
13328 echo "${ECHO_T}$ac_cv_lib_capi20_capi20_register" >&6; }
13329 if test $ac_cv_lib_capi20_capi20_register = yes; then
13331 cat >>confdefs.h
<<\_ACEOF
13332 #define HAVE_CAPI4LINUX 1
13342 if test "x${GCC}" = "xyes"
13344 EXTRACFLAGS
="-Wall -pipe"
13346 { echo "$as_me:$LINENO: checking for gcc strength-reduce bug" >&5
13347 echo $ECHO_N "checking for gcc strength-reduce bug... $ECHO_C" >&6; }
13348 if test "${ac_cv_c_gcc_strength_bug+set}" = set; then
13349 echo $ECHO_N "(cached) $ECHO_C" >&6
13351 if test "$cross_compiling" = yes; then
13352 ac_cv_c_gcc_strength_bug
="yes"
13354 cat >conftest.
$ac_ext <<_ACEOF
13357 cat confdefs.h
>>conftest.
$ac_ext
13358 cat >>conftest.
$ac_ext <<_ACEOF
13359 /* end confdefs.h. */
13361 int L[4] = {0,1,2,3};
13363 static int Array[3];
13364 unsigned int B = 3;
13366 for(i=0; i<B; i++) Array[i] = i - 3;
13367 for(i=0; i<4 - 1; i++) L[i] = L[i + 1];
13370 exit( Array[1] != -2 || L[2] != 3);
13373 rm -f conftest
$ac_exeext
13374 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
13375 (eval $ac_link) 2>&5
13377 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13378 (exit $ac_status); } && { ac_try
='./conftest$ac_exeext'
13379 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
13380 (eval $ac_try) 2>&5
13382 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13383 (exit $ac_status); }; }; then
13384 ac_cv_c_gcc_strength_bug
="no"
13386 echo "$as_me: program exited with status $ac_status" >&5
13387 echo "$as_me: failed program was:" >&5
13388 sed 's/^/| /' conftest.
$ac_ext >&5
13390 ( exit $ac_status )
13391 ac_cv_c_gcc_strength_bug
="yes"
13393 rm -f core
*.core core.conftest.
* gmon.out bb.out conftest
$ac_exeext conftest.
$ac_objext conftest.
$ac_ext
13398 { echo "$as_me:$LINENO: result: $ac_cv_c_gcc_strength_bug" >&5
13399 echo "${ECHO_T}$ac_cv_c_gcc_strength_bug" >&6; }
13400 if test "$ac_cv_c_gcc_strength_bug" = "yes"
13402 EXTRACFLAGS
="$EXTRACFLAGS -fno-strength-reduce"
13405 { echo "$as_me:$LINENO: checking for gcc -fshort-wchar support" >&5
13406 echo $ECHO_N "checking for gcc -fshort-wchar support... $ECHO_C" >&6; }
13407 if test "${ac_cv_c_gcc_fshort_wchar+set}" = set; then
13408 echo $ECHO_N "(cached) $ECHO_C" >&6
13410 ac_wine_try_cflags_saved
=$CFLAGS
13411 CFLAGS
="$CFLAGS -fshort-wchar"
13412 cat >conftest.
$ac_ext <<_ACEOF
13415 cat confdefs.h
>>conftest.
$ac_ext
13416 cat >>conftest.
$ac_ext <<_ACEOF
13417 /* end confdefs.h. */
13427 rm -f conftest.
$ac_objext conftest
$ac_exeext
13428 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
13429 (eval $ac_link) 2>conftest.er1
13431 grep -v '^ *+' conftest.er1
>conftest.err
13433 cat conftest.err
>&5
13434 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13435 (exit $ac_status); } &&
13436 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
13437 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
13438 (eval $ac_try) 2>&5
13440 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13441 (exit $ac_status); }; } &&
13442 { ac_try
='test -s conftest$ac_exeext'
13443 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
13444 (eval $ac_try) 2>&5
13446 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13447 (exit $ac_status); }; }; then
13448 ac_cv_c_gcc_fshort_wchar
="yes"
13450 echo "$as_me: failed program was:" >&5
13451 sed 's/^/| /' conftest.
$ac_ext >&5
13453 ac_cv_c_gcc_fshort_wchar
="no"
13456 rm -f conftest.err conftest.
$ac_objext \
13457 conftest
$ac_exeext conftest.
$ac_ext
13458 CFLAGS
=$ac_wine_try_cflags_saved
13460 { echo "$as_me:$LINENO: result: $ac_cv_c_gcc_fshort_wchar" >&5
13461 echo "${ECHO_T}$ac_cv_c_gcc_fshort_wchar" >&6; }
13462 if test "$ac_cv_c_gcc_fshort_wchar" = "yes"
13465 cat >>confdefs.h
<<\_ACEOF
13466 #define CC_FLAG_SHORT_WCHAR "-fshort-wchar"
13471 { echo "$as_me:$LINENO: checking for gcc -fno-strict-aliasing support" >&5
13472 echo $ECHO_N "checking for gcc -fno-strict-aliasing support... $ECHO_C" >&6; }
13473 if test "${ac_cv_c_gcc_no_strict_aliasing+set}" = set; then
13474 echo $ECHO_N "(cached) $ECHO_C" >&6
13476 ac_wine_try_cflags_saved
=$CFLAGS
13477 CFLAGS
="$CFLAGS -fno-strict-aliasing"
13478 cat >conftest.
$ac_ext <<_ACEOF
13481 cat confdefs.h
>>conftest.
$ac_ext
13482 cat >>conftest.
$ac_ext <<_ACEOF
13483 /* end confdefs.h. */
13493 rm -f conftest.
$ac_objext conftest
$ac_exeext
13494 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
13495 (eval $ac_link) 2>conftest.er1
13497 grep -v '^ *+' conftest.er1
>conftest.err
13499 cat conftest.err
>&5
13500 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13501 (exit $ac_status); } &&
13502 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
13503 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
13504 (eval $ac_try) 2>&5
13506 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13507 (exit $ac_status); }; } &&
13508 { ac_try
='test -s conftest$ac_exeext'
13509 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
13510 (eval $ac_try) 2>&5
13512 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13513 (exit $ac_status); }; }; then
13514 ac_cv_c_gcc_no_strict_aliasing
="yes"
13516 echo "$as_me: failed program was:" >&5
13517 sed 's/^/| /' conftest.
$ac_ext >&5
13519 ac_cv_c_gcc_no_strict_aliasing
="no"
13522 rm -f conftest.err conftest.
$ac_objext \
13523 conftest
$ac_exeext conftest.
$ac_ext
13524 CFLAGS
=$ac_wine_try_cflags_saved
13526 { echo "$as_me:$LINENO: result: $ac_cv_c_gcc_no_strict_aliasing" >&5
13527 echo "${ECHO_T}$ac_cv_c_gcc_no_strict_aliasing" >&6; }
13528 if test "$ac_cv_c_gcc_no_strict_aliasing" = "yes"
13530 EXTRACFLAGS
="$EXTRACFLAGS -fno-strict-aliasing"
13533 { echo "$as_me:$LINENO: checking for gcc -gstabs+ support" >&5
13534 echo $ECHO_N "checking for gcc -gstabs+ support... $ECHO_C" >&6; }
13535 if test "${ac_cv_c_gcc_gstabs+set}" = set; then
13536 echo $ECHO_N "(cached) $ECHO_C" >&6
13538 ac_wine_try_cflags_saved
=$CFLAGS
13539 CFLAGS
="$CFLAGS -gstabs+"
13540 cat >conftest.
$ac_ext <<_ACEOF
13543 cat confdefs.h
>>conftest.
$ac_ext
13544 cat >>conftest.
$ac_ext <<_ACEOF
13545 /* end confdefs.h. */
13555 rm -f conftest.
$ac_objext conftest
$ac_exeext
13556 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
13557 (eval $ac_link) 2>conftest.er1
13559 grep -v '^ *+' conftest.er1
>conftest.err
13561 cat conftest.err
>&5
13562 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13563 (exit $ac_status); } &&
13564 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
13565 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
13566 (eval $ac_try) 2>&5
13568 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13569 (exit $ac_status); }; } &&
13570 { ac_try
='test -s conftest$ac_exeext'
13571 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
13572 (eval $ac_try) 2>&5
13574 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13575 (exit $ac_status); }; }; then
13576 ac_cv_c_gcc_gstabs
="yes"
13578 echo "$as_me: failed program was:" >&5
13579 sed 's/^/| /' conftest.
$ac_ext >&5
13581 ac_cv_c_gcc_gstabs
="no"
13584 rm -f conftest.err conftest.
$ac_objext \
13585 conftest
$ac_exeext conftest.
$ac_ext
13586 CFLAGS
=$ac_wine_try_cflags_saved
13588 { echo "$as_me:$LINENO: result: $ac_cv_c_gcc_gstabs" >&5
13589 echo "${ECHO_T}$ac_cv_c_gcc_gstabs" >&6; }
13590 if test "$ac_cv_c_gcc_gstabs" = "yes"
13592 EXTRACFLAGS
="$EXTRACFLAGS -gstabs+"
13595 { echo "$as_me:$LINENO: checking for gcc -Wdeclaration-after-statement support" >&5
13596 echo $ECHO_N "checking for gcc -Wdeclaration-after-statement support... $ECHO_C" >&6; }
13597 if test "${ac_cv_c_gcc_decl_after_statement+set}" = set; then
13598 echo $ECHO_N "(cached) $ECHO_C" >&6
13600 ac_wine_try_cflags_saved
=$CFLAGS
13601 CFLAGS
="$CFLAGS -Wdeclaration-after-statement"
13602 cat >conftest.
$ac_ext <<_ACEOF
13605 cat confdefs.h
>>conftest.
$ac_ext
13606 cat >>conftest.
$ac_ext <<_ACEOF
13607 /* end confdefs.h. */
13617 rm -f conftest.
$ac_objext conftest
$ac_exeext
13618 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
13619 (eval $ac_link) 2>conftest.er1
13621 grep -v '^ *+' conftest.er1
>conftest.err
13623 cat conftest.err
>&5
13624 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13625 (exit $ac_status); } &&
13626 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
13627 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
13628 (eval $ac_try) 2>&5
13630 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13631 (exit $ac_status); }; } &&
13632 { ac_try
='test -s conftest$ac_exeext'
13633 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
13634 (eval $ac_try) 2>&5
13636 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13637 (exit $ac_status); }; }; then
13638 ac_cv_c_gcc_decl_after_statement
="yes"
13640 echo "$as_me: failed program was:" >&5
13641 sed 's/^/| /' conftest.
$ac_ext >&5
13643 ac_cv_c_gcc_decl_after_statement
="no"
13646 rm -f conftest.err conftest.
$ac_objext \
13647 conftest
$ac_exeext conftest.
$ac_ext
13648 CFLAGS
=$ac_wine_try_cflags_saved
13650 { echo "$as_me:$LINENO: result: $ac_cv_c_gcc_decl_after_statement" >&5
13651 echo "${ECHO_T}$ac_cv_c_gcc_decl_after_statement" >&6; }
13652 if test "$ac_cv_c_gcc_decl_after_statement" = "yes"
13654 EXTRACFLAGS
="$EXTRACFLAGS -Wdeclaration-after-statement"
13657 saved_CFLAGS
="$CFLAGS"
13658 CFLAGS
="$CFLAGS -Wpointer-arith -Werror"
13659 { echo "$as_me:$LINENO: checking for broken string.h that generates warnings" >&5
13660 echo $ECHO_N "checking for broken string.h that generates warnings... $ECHO_C" >&6; }
13661 if test "${ac_cv_c_string_h_warnings+set}" = set; then
13662 echo $ECHO_N "(cached) $ECHO_C" >&6
13664 cat >conftest.
$ac_ext <<_ACEOF
13667 cat confdefs.h
>>conftest.
$ac_ext
13668 cat >>conftest.
$ac_ext <<_ACEOF
13669 /* end confdefs.h. */
13670 #include <string.h>
13679 rm -f conftest.
$ac_objext
13680 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
13681 (eval $ac_compile) 2>conftest.er1
13683 grep -v '^ *+' conftest.er1
>conftest.err
13685 cat conftest.err
>&5
13686 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13687 (exit $ac_status); } &&
13688 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
13689 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
13690 (eval $ac_try) 2>&5
13692 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13693 (exit $ac_status); }; } &&
13694 { ac_try
='test -s conftest.$ac_objext'
13695 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
13696 (eval $ac_try) 2>&5
13698 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13699 (exit $ac_status); }; }; then
13700 ac_cv_c_string_h_warnings
=no
13702 echo "$as_me: failed program was:" >&5
13703 sed 's/^/| /' conftest.
$ac_ext >&5
13705 ac_cv_c_string_h_warnings
=yes
13708 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
13710 { echo "$as_me:$LINENO: result: $ac_cv_c_string_h_warnings" >&5
13711 echo "${ECHO_T}$ac_cv_c_string_h_warnings" >&6; }
13712 CFLAGS
="$saved_CFLAGS"
13713 if test "$ac_cv_c_string_h_warnings" = "no"
13715 EXTRACFLAGS
="$EXTRACFLAGS -Wpointer-arith"
13720 saved_CFLAGS
="$CFLAGS"
13721 CFLAGS
="$CFLAGS -Werror"
13722 { echo "$as_me:$LINENO: checking for builtin wchar inlines" >&5
13723 echo $ECHO_N "checking for builtin wchar inlines... $ECHO_C" >&6; }
13724 if test "${ac_cv_c_builtin_wchar_ctype+set}" = set; then
13725 echo $ECHO_N "(cached) $ECHO_C" >&6
13727 cat >conftest.
$ac_ext <<_ACEOF
13730 cat confdefs.h
>>conftest.
$ac_ext
13731 cat >>conftest.
$ac_ext <<_ACEOF
13732 /* end confdefs.h. */
13737 int iswlower(unsigned short);
13742 rm -f conftest.
$ac_objext
13743 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
13744 (eval $ac_compile) 2>conftest.er1
13746 grep -v '^ *+' conftest.er1
>conftest.err
13748 cat conftest.err
>&5
13749 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13750 (exit $ac_status); } &&
13751 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
13752 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
13753 (eval $ac_try) 2>&5
13755 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13756 (exit $ac_status); }; } &&
13757 { ac_try
='test -s conftest.$ac_objext'
13758 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
13759 (eval $ac_try) 2>&5
13761 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13762 (exit $ac_status); }; }; then
13763 ac_cv_c_builtin_wchar_ctype
=no
13765 echo "$as_me: failed program was:" >&5
13766 sed 's/^/| /' conftest.
$ac_ext >&5
13768 ac_cv_c_builtin_wchar_ctype
=yes
13771 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
13773 { echo "$as_me:$LINENO: result: $ac_cv_c_builtin_wchar_ctype" >&5
13774 echo "${ECHO_T}$ac_cv_c_builtin_wchar_ctype" >&6; }
13775 CFLAGS
="$saved_CFLAGS"
13776 if test "$ac_cv_c_builtin_wchar_ctype" = "yes"
13780 iswalnum iswalpha iswcntrl iswdigit iswgraph iswlower \
13781 iswprint iswpunct iswspace iswupper iswxdigit towlower towupper
13783 BUILTINFLAG
="$BUILTINFLAG -fno-builtin-$builtin"
13789 { echo "$as_me:$LINENO: checking how to define a function in assembly code" >&5
13790 echo $ECHO_N "checking how to define a function in assembly code... $ECHO_C" >&6; }
13791 if test "${ac_cv_asm_func_def+set}" = set; then
13792 echo $ECHO_N "(cached) $ECHO_C" >&6
13794 cat >conftest.
$ac_ext <<_ACEOF
13797 cat confdefs.h
>>conftest.
$ac_ext
13798 cat >>conftest.
$ac_ext <<_ACEOF
13799 /* end confdefs.h. */
13800 void ac_asm(void) { asm("\t.globl _ac_test\n\t.def _ac_test; .scl 2; .type 32; .endef\n_ac_test:\t.long 0"); }
13810 rm -f conftest.
$ac_objext conftest
$ac_exeext
13811 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
13812 (eval $ac_link) 2>conftest.er1
13814 grep -v '^ *+' conftest.er1
>conftest.err
13816 cat conftest.err
>&5
13817 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13818 (exit $ac_status); } &&
13819 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
13820 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
13821 (eval $ac_try) 2>&5
13823 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13824 (exit $ac_status); }; } &&
13825 { ac_try
='test -s conftest$ac_exeext'
13826 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
13827 (eval $ac_try) 2>&5
13829 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13830 (exit $ac_status); }; }; then
13831 ac_cv_asm_func_def
=".def"
13833 echo "$as_me: failed program was:" >&5
13834 sed 's/^/| /' conftest.
$ac_ext >&5
13836 cat >conftest.
$ac_ext <<_ACEOF
13839 cat confdefs.h
>>conftest.
$ac_ext
13840 cat >>conftest.
$ac_ext <<_ACEOF
13841 /* end confdefs.h. */
13842 void ac_asm(void) { asm("\t.globl _ac_test\n\t.type _ac_test,@function\n_ac_test:\t.long 0"); }
13852 rm -f conftest.
$ac_objext conftest
$ac_exeext
13853 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
13854 (eval $ac_link) 2>conftest.er1
13856 grep -v '^ *+' conftest.er1
>conftest.err
13858 cat conftest.err
>&5
13859 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13860 (exit $ac_status); } &&
13861 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
13862 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
13863 (eval $ac_try) 2>&5
13865 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13866 (exit $ac_status); }; } &&
13867 { ac_try
='test -s conftest$ac_exeext'
13868 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
13869 (eval $ac_try) 2>&5
13871 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13872 (exit $ac_status); }; }; then
13873 ac_cv_asm_func_def
=".type @function"
13875 echo "$as_me: failed program was:" >&5
13876 sed 's/^/| /' conftest.
$ac_ext >&5
13878 cat >conftest.
$ac_ext <<_ACEOF
13881 cat confdefs.h
>>conftest.
$ac_ext
13882 cat >>conftest.
$ac_ext <<_ACEOF
13883 /* end confdefs.h. */
13884 void ac_asm(void) { asm("\t.globl _ac_test\n\t.type _ac_test,2\n_ac_test:\t.long 0"); }
13894 rm -f conftest.
$ac_objext conftest
$ac_exeext
13895 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
13896 (eval $ac_link) 2>conftest.er1
13898 grep -v '^ *+' conftest.er1
>conftest.err
13900 cat conftest.err
>&5
13901 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13902 (exit $ac_status); } &&
13903 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
13904 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
13905 (eval $ac_try) 2>&5
13907 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13908 (exit $ac_status); }; } &&
13909 { ac_try
='test -s conftest$ac_exeext'
13910 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
13911 (eval $ac_try) 2>&5
13913 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13914 (exit $ac_status); }; }; then
13915 ac_cv_asm_func_def
=".type 2"
13917 echo "$as_me: failed program was:" >&5
13918 sed 's/^/| /' conftest.
$ac_ext >&5
13920 ac_cv_asm_func_def
="unknown"
13923 rm -f conftest.err conftest.
$ac_objext \
13924 conftest
$ac_exeext conftest.
$ac_ext
13927 rm -f conftest.err conftest.
$ac_objext \
13928 conftest
$ac_exeext conftest.
$ac_ext
13931 rm -f conftest.err conftest.
$ac_objext \
13932 conftest
$ac_exeext conftest.
$ac_ext
13934 { echo "$as_me:$LINENO: result: $ac_cv_asm_func_def" >&5
13935 echo "${ECHO_T}$ac_cv_asm_func_def" >&6; }
13939 case "$ac_cv_asm_func_def" in
13941 cat >>confdefs.h
<<\_ACEOF
13942 #define __ASM_FUNC(name) ".def " __ASM_NAME(name) "; .scl 2; .type 32; .endef"
13946 cat >>confdefs.h
<<\_ACEOF
13947 #define __ASM_FUNC(name) ".type " __ASM_NAME(name) ",@function"
13951 cat >>confdefs.h
<<\_ACEOF
13952 #define __ASM_FUNC(name) ".type " __ASM_NAME(name) ",2"
13956 cat >>confdefs.h
<<\_ACEOF
13957 #define __ASM_FUNC(name) ""
13963 { echo "$as_me:$LINENO: checking whether external symbols need an underscore prefix" >&5
13964 echo $ECHO_N "checking whether external symbols need an underscore prefix... $ECHO_C" >&6; }
13965 if test "${ac_cv_c_extern_prefix+set}" = set; then
13966 echo $ECHO_N "(cached) $ECHO_C" >&6
13968 cat >conftest.
$ac_ext <<_ACEOF
13971 cat confdefs.h
>>conftest.
$ac_ext
13972 cat >>conftest.
$ac_ext <<_ACEOF
13973 /* end confdefs.h. */
13974 void ac_asm(void) { asm(".globl _ac_test\n_ac_test:\t.long 0"); }
13975 extern int ac_test;
13979 if (ac_test) return 1
13984 rm -f conftest.
$ac_objext conftest
$ac_exeext
13985 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
13986 (eval $ac_link) 2>conftest.er1
13988 grep -v '^ *+' conftest.er1
>conftest.err
13990 cat conftest.err
>&5
13991 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13992 (exit $ac_status); } &&
13993 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
13994 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
13995 (eval $ac_try) 2>&5
13997 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13998 (exit $ac_status); }; } &&
13999 { ac_try
='test -s conftest$ac_exeext'
14000 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14001 (eval $ac_try) 2>&5
14003 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14004 (exit $ac_status); }; }; then
14005 ac_cv_c_extern_prefix
="yes"
14007 echo "$as_me: failed program was:" >&5
14008 sed 's/^/| /' conftest.
$ac_ext >&5
14010 ac_cv_c_extern_prefix
="no"
14013 rm -f conftest.err conftest.
$ac_objext \
14014 conftest
$ac_exeext conftest.
$ac_ext
14016 { echo "$as_me:$LINENO: result: $ac_cv_c_extern_prefix" >&5
14017 echo "${ECHO_T}$ac_cv_c_extern_prefix" >&6; }
14021 if test "$ac_cv_c_extern_prefix" = "yes"
14023 cat >>confdefs.h
<<\_ACEOF
14024 #define __ASM_NAME(name) "_" name
14028 cat >>confdefs.h
<<\_ACEOF
14029 #define __ASM_NAME(name) name
14037 DLLFLAGS
="-D_REENTRANT"
14052 if test -n "$ac_tool_prefix"; then
14053 # Extract the first word of "${ac_tool_prefix}dlltool", so it can be a program name with args.
14054 set dummy
${ac_tool_prefix}dlltool
; ac_word
=$2
14055 { echo "$as_me:$LINENO: checking for $ac_word" >&5
14056 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
14057 if test "${ac_cv_prog_DLLTOOL+set}" = set; then
14058 echo $ECHO_N "(cached) $ECHO_C" >&6
14060 if test -n "$DLLTOOL"; then
14061 ac_cv_prog_DLLTOOL
="$DLLTOOL" # Let the user override the test.
14063 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
14064 for as_dir
in $PATH
14067 test -z "$as_dir" && as_dir
=.
14068 for ac_exec_ext
in '' $ac_executable_extensions; do
14069 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; }; then
14070 ac_cv_prog_DLLTOOL
="${ac_tool_prefix}dlltool"
14071 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
14080 DLLTOOL
=$ac_cv_prog_DLLTOOL
14081 if test -n "$DLLTOOL"; then
14082 { echo "$as_me:$LINENO: result: $DLLTOOL" >&5
14083 echo "${ECHO_T}$DLLTOOL" >&6; }
14085 { echo "$as_me:$LINENO: result: no" >&5
14086 echo "${ECHO_T}no" >&6; }
14091 if test -z "$ac_cv_prog_DLLTOOL"; then
14092 ac_ct_DLLTOOL
=$DLLTOOL
14093 # Extract the first word of "dlltool", so it can be a program name with args.
14094 set dummy dlltool
; ac_word
=$2
14095 { echo "$as_me:$LINENO: checking for $ac_word" >&5
14096 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
14097 if test "${ac_cv_prog_ac_ct_DLLTOOL+set}" = set; then
14098 echo $ECHO_N "(cached) $ECHO_C" >&6
14100 if test -n "$ac_ct_DLLTOOL"; then
14101 ac_cv_prog_ac_ct_DLLTOOL
="$ac_ct_DLLTOOL" # Let the user override the test.
14103 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
14104 for as_dir
in $PATH
14107 test -z "$as_dir" && as_dir
=.
14108 for ac_exec_ext
in '' $ac_executable_extensions; do
14109 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; }; then
14110 ac_cv_prog_ac_ct_DLLTOOL
="dlltool"
14111 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
14120 ac_ct_DLLTOOL
=$ac_cv_prog_ac_ct_DLLTOOL
14121 if test -n "$ac_ct_DLLTOOL"; then
14122 { echo "$as_me:$LINENO: result: $ac_ct_DLLTOOL" >&5
14123 echo "${ECHO_T}$ac_ct_DLLTOOL" >&6; }
14125 { echo "$as_me:$LINENO: result: no" >&5
14126 echo "${ECHO_T}no" >&6; }
14129 if test "x$ac_ct_DLLTOOL" = x
; then
14132 case $cross_compiling:$ac_tool_warned in
14134 { echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools
14135 whose name does not start with the host triplet. If you think this
14136 configuration is useful to you, please write to autoconf@gnu.org." >&5
14137 echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools
14138 whose name does not start with the host triplet. If you think this
14139 configuration is useful to you, please write to autoconf@gnu.org." >&2;}
14140 ac_tool_warned
=yes ;;
14142 DLLTOOL
=$ac_ct_DLLTOOL
14145 DLLTOOL
="$ac_cv_prog_DLLTOOL"
14148 if test -n "$ac_tool_prefix"; then
14149 # Extract the first word of "${ac_tool_prefix}dllwrap", so it can be a program name with args.
14150 set dummy
${ac_tool_prefix}dllwrap
; ac_word
=$2
14151 { echo "$as_me:$LINENO: checking for $ac_word" >&5
14152 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
14153 if test "${ac_cv_prog_DLLWRAP+set}" = set; then
14154 echo $ECHO_N "(cached) $ECHO_C" >&6
14156 if test -n "$DLLWRAP"; then
14157 ac_cv_prog_DLLWRAP
="$DLLWRAP" # Let the user override the test.
14159 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
14160 for as_dir
in $PATH
14163 test -z "$as_dir" && as_dir
=.
14164 for ac_exec_ext
in '' $ac_executable_extensions; do
14165 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; }; then
14166 ac_cv_prog_DLLWRAP
="${ac_tool_prefix}dllwrap"
14167 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
14176 DLLWRAP
=$ac_cv_prog_DLLWRAP
14177 if test -n "$DLLWRAP"; then
14178 { echo "$as_me:$LINENO: result: $DLLWRAP" >&5
14179 echo "${ECHO_T}$DLLWRAP" >&6; }
14181 { echo "$as_me:$LINENO: result: no" >&5
14182 echo "${ECHO_T}no" >&6; }
14187 if test -z "$ac_cv_prog_DLLWRAP"; then
14188 ac_ct_DLLWRAP
=$DLLWRAP
14189 # Extract the first word of "dllwrap", so it can be a program name with args.
14190 set dummy dllwrap
; ac_word
=$2
14191 { echo "$as_me:$LINENO: checking for $ac_word" >&5
14192 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
14193 if test "${ac_cv_prog_ac_ct_DLLWRAP+set}" = set; then
14194 echo $ECHO_N "(cached) $ECHO_C" >&6
14196 if test -n "$ac_ct_DLLWRAP"; then
14197 ac_cv_prog_ac_ct_DLLWRAP
="$ac_ct_DLLWRAP" # Let the user override the test.
14199 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
14200 for as_dir
in $PATH
14203 test -z "$as_dir" && as_dir
=.
14204 for ac_exec_ext
in '' $ac_executable_extensions; do
14205 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; }; then
14206 ac_cv_prog_ac_ct_DLLWRAP
="dllwrap"
14207 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
14216 ac_ct_DLLWRAP
=$ac_cv_prog_ac_ct_DLLWRAP
14217 if test -n "$ac_ct_DLLWRAP"; then
14218 { echo "$as_me:$LINENO: result: $ac_ct_DLLWRAP" >&5
14219 echo "${ECHO_T}$ac_ct_DLLWRAP" >&6; }
14221 { echo "$as_me:$LINENO: result: no" >&5
14222 echo "${ECHO_T}no" >&6; }
14225 if test "x$ac_ct_DLLWRAP" = x
; then
14228 case $cross_compiling:$ac_tool_warned in
14230 { echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools
14231 whose name does not start with the host triplet. If you think this
14232 configuration is useful to you, please write to autoconf@gnu.org." >&5
14233 echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools
14234 whose name does not start with the host triplet. If you think this
14235 configuration is useful to you, please write to autoconf@gnu.org." >&2;}
14236 ac_tool_warned
=yes ;;
14238 DLLWRAP
=$ac_ct_DLLWRAP
14241 DLLWRAP
="$ac_cv_prog_DLLWRAP"
14244 if test "$DLLWRAP" = "false"; then
14254 if test "$ac_cv_header_dlfcn_h" = "yes"
14257 for ac_func
in dlopen
14259 as_ac_var
=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
14260 { echo "$as_me:$LINENO: checking for $ac_func" >&5
14261 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; }
14262 if { as_var
=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
14263 echo $ECHO_N "(cached) $ECHO_C" >&6
14265 cat >conftest.
$ac_ext <<_ACEOF
14268 cat confdefs.h
>>conftest.
$ac_ext
14269 cat >>conftest.
$ac_ext <<_ACEOF
14270 /* end confdefs.h. */
14271 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
14272 For example, HP-UX 11i <limits.h> declares gettimeofday. */
14273 #define $ac_func innocuous_$ac_func
14275 /* System header to define __stub macros and hopefully few prototypes,
14276 which can conflict with char $ac_func (); below.
14277 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
14278 <limits.h> exists even on freestanding compilers. */
14281 # include <limits.h>
14283 # include <assert.h>
14288 /* Override any GCC internal prototype to avoid an error.
14289 Use char because int might match the return type of a GCC
14290 builtin and then its argument prototype would still apply. */
14295 /* The GNU C library defines this for functions which it implements
14296 to always fail with ENOSYS. Some functions are actually named
14297 something starting with __ and the normal name is an alias. */
14298 #if defined __stub_$ac_func || defined __stub___$ac_func
14305 return $ac_func ();
14310 rm -f conftest.
$ac_objext conftest
$ac_exeext
14311 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
14312 (eval $ac_link) 2>conftest.er1
14314 grep -v '^ *+' conftest.er1
>conftest.err
14316 cat conftest.err
>&5
14317 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14318 (exit $ac_status); } &&
14319 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
14320 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14321 (eval $ac_try) 2>&5
14323 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14324 (exit $ac_status); }; } &&
14325 { ac_try
='test -s conftest$ac_exeext'
14326 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14327 (eval $ac_try) 2>&5
14329 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14330 (exit $ac_status); }; }; then
14331 eval "$as_ac_var=yes"
14333 echo "$as_me: failed program was:" >&5
14334 sed 's/^/| /' conftest.
$ac_ext >&5
14336 eval "$as_ac_var=no"
14339 rm -f conftest.err conftest.
$ac_objext \
14340 conftest
$ac_exeext conftest.
$ac_ext
14342 ac_res
=`eval echo '${'$as_ac_var'}'`
14343 { echo "$as_me:$LINENO: result: $ac_res" >&5
14344 echo "${ECHO_T}$ac_res" >&6; }
14345 if test `eval echo '${'$as_ac_var'}'` = yes; then
14346 cat >>confdefs.h
<<_ACEOF
14347 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
14351 { echo "$as_me:$LINENO: checking for dlopen in -ldl" >&5
14352 echo $ECHO_N "checking for dlopen in -ldl... $ECHO_C" >&6; }
14353 if test "${ac_cv_lib_dl_dlopen+set}" = set; then
14354 echo $ECHO_N "(cached) $ECHO_C" >&6
14356 ac_check_lib_save_LIBS
=$LIBS
14358 cat >conftest.
$ac_ext <<_ACEOF
14361 cat confdefs.h
>>conftest.
$ac_ext
14362 cat >>conftest.
$ac_ext <<_ACEOF
14363 /* end confdefs.h. */
14365 /* Override any GCC internal prototype to avoid an error.
14366 Use char because int might match the return type of a GCC
14367 builtin and then its argument prototype would still apply. */
14380 rm -f conftest.
$ac_objext conftest
$ac_exeext
14381 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
14382 (eval $ac_link) 2>conftest.er1
14384 grep -v '^ *+' conftest.er1
>conftest.err
14386 cat conftest.err
>&5
14387 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14388 (exit $ac_status); } &&
14389 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
14390 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14391 (eval $ac_try) 2>&5
14393 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14394 (exit $ac_status); }; } &&
14395 { ac_try
='test -s conftest$ac_exeext'
14396 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14397 (eval $ac_try) 2>&5
14399 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14400 (exit $ac_status); }; }; then
14401 ac_cv_lib_dl_dlopen
=yes
14403 echo "$as_me: failed program was:" >&5
14404 sed 's/^/| /' conftest.
$ac_ext >&5
14406 ac_cv_lib_dl_dlopen
=no
14409 rm -f conftest.err conftest.
$ac_objext \
14410 conftest
$ac_exeext conftest.
$ac_ext
14411 LIBS
=$ac_check_lib_save_LIBS
14413 { echo "$as_me:$LINENO: result: $ac_cv_lib_dl_dlopen" >&5
14414 echo "${ECHO_T}$ac_cv_lib_dl_dlopen" >&6; }
14415 if test $ac_cv_lib_dl_dlopen = yes; then
14417 cat >>confdefs.h
<<\_ACEOF
14418 #define HAVE_DLOPEN 1
14429 ac_wine_check_funcs_save_LIBS
="$LIBS"
14430 LIBS
="$LIBS $DLLIBS"
14432 for ac_func
in dladdr
14434 as_ac_var
=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
14435 { echo "$as_me:$LINENO: checking for $ac_func" >&5
14436 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; }
14437 if { as_var
=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
14438 echo $ECHO_N "(cached) $ECHO_C" >&6
14440 cat >conftest.
$ac_ext <<_ACEOF
14443 cat confdefs.h
>>conftest.
$ac_ext
14444 cat >>conftest.
$ac_ext <<_ACEOF
14445 /* end confdefs.h. */
14446 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
14447 For example, HP-UX 11i <limits.h> declares gettimeofday. */
14448 #define $ac_func innocuous_$ac_func
14450 /* System header to define __stub macros and hopefully few prototypes,
14451 which can conflict with char $ac_func (); below.
14452 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
14453 <limits.h> exists even on freestanding compilers. */
14456 # include <limits.h>
14458 # include <assert.h>
14463 /* Override any GCC internal prototype to avoid an error.
14464 Use char because int might match the return type of a GCC
14465 builtin and then its argument prototype would still apply. */
14470 /* The GNU C library defines this for functions which it implements
14471 to always fail with ENOSYS. Some functions are actually named
14472 something starting with __ and the normal name is an alias. */
14473 #if defined __stub_$ac_func || defined __stub___$ac_func
14480 return $ac_func ();
14485 rm -f conftest.
$ac_objext conftest
$ac_exeext
14486 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
14487 (eval $ac_link) 2>conftest.er1
14489 grep -v '^ *+' conftest.er1
>conftest.err
14491 cat conftest.err
>&5
14492 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14493 (exit $ac_status); } &&
14494 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
14495 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14496 (eval $ac_try) 2>&5
14498 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14499 (exit $ac_status); }; } &&
14500 { ac_try
='test -s conftest$ac_exeext'
14501 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14502 (eval $ac_try) 2>&5
14504 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14505 (exit $ac_status); }; }; then
14506 eval "$as_ac_var=yes"
14508 echo "$as_me: failed program was:" >&5
14509 sed 's/^/| /' conftest.
$ac_ext >&5
14511 eval "$as_ac_var=no"
14514 rm -f conftest.err conftest.
$ac_objext \
14515 conftest
$ac_exeext conftest.
$ac_ext
14517 ac_res
=`eval echo '${'$as_ac_var'}'`
14518 { echo "$as_me:$LINENO: result: $ac_res" >&5
14519 echo "${ECHO_T}$ac_res" >&6; }
14520 if test `eval echo '${'$as_ac_var'}'` = yes; then
14521 cat >>confdefs.h
<<_ACEOF
14522 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
14528 LIBS
="$ac_wine_check_funcs_save_LIBS"
14533 if test "$LIBEXT" = "so"
14535 DLLFLAGS
="$DLLFLAGS -fPIC"
14537 { echo "$as_me:$LINENO: checking whether we can build a GNU style ELF dll" >&5
14538 echo $ECHO_N "checking whether we can build a GNU style ELF dll... $ECHO_C" >&6; }
14539 if test "${ac_cv_c_dll_gnuelf+set}" = set; then
14540 echo $ECHO_N "(cached) $ECHO_C" >&6
14542 ac_wine_try_cflags_saved
=$CFLAGS
14543 CFLAGS
="$CFLAGS -fPIC -shared -Wl,-soname,conftest.so.1.0,-Bsymbolic"
14544 cat >conftest.
$ac_ext <<_ACEOF
14547 rm -f conftest.
$ac_objext conftest
$ac_exeext
14548 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
14549 (eval $ac_link) 2>conftest.er1
14551 grep -v '^ *+' conftest.er1
>conftest.err
14553 cat conftest.err
>&5
14554 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14555 (exit $ac_status); } &&
14556 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
14557 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14558 (eval $ac_try) 2>&5
14560 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14561 (exit $ac_status); }; } &&
14562 { ac_try
='test -s conftest$ac_exeext'
14563 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14564 (eval $ac_try) 2>&5
14566 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14567 (exit $ac_status); }; }; then
14568 ac_cv_c_dll_gnuelf
="yes"
14570 echo "$as_me: failed program was:" >&5
14571 sed 's/^/| /' conftest.
$ac_ext >&5
14573 ac_cv_c_dll_gnuelf
="no"
14576 rm -f conftest.err conftest.
$ac_objext \
14577 conftest
$ac_exeext conftest.
$ac_ext
14578 CFLAGS
=$ac_wine_try_cflags_saved
14580 { echo "$as_me:$LINENO: result: $ac_cv_c_dll_gnuelf" >&5
14581 echo "${ECHO_T}$ac_cv_c_dll_gnuelf" >&6; }
14582 if test "$ac_cv_c_dll_gnuelf" = "yes"
14584 LDSHARED
="\$(CC) -shared \$(SONAME:%=-Wl,-soname,%)"
14585 LDDLLFLAGS
="-shared -Wl,-Bsymbolic"
14586 { echo "$as_me:$LINENO: checking whether the linker accepts -z defs" >&5
14587 echo $ECHO_N "checking whether the linker accepts -z defs... $ECHO_C" >&6; }
14588 if test "${ac_cv_c_dll_zdefs+set}" = set; then
14589 echo $ECHO_N "(cached) $ECHO_C" >&6
14591 ac_wine_try_cflags_saved
=$CFLAGS
14592 CFLAGS
="$CFLAGS -fPIC -shared -Wl,-Bsymbolic,-z,defs"
14593 cat >conftest.
$ac_ext <<_ACEOF
14596 cat confdefs.h
>>conftest.
$ac_ext
14597 cat >>conftest.
$ac_ext <<_ACEOF
14598 /* end confdefs.h. */
14608 rm -f conftest.
$ac_objext conftest
$ac_exeext
14609 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
14610 (eval $ac_link) 2>conftest.er1
14612 grep -v '^ *+' conftest.er1
>conftest.err
14614 cat conftest.err
>&5
14615 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14616 (exit $ac_status); } &&
14617 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
14618 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14619 (eval $ac_try) 2>&5
14621 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14622 (exit $ac_status); }; } &&
14623 { ac_try
='test -s conftest$ac_exeext'
14624 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14625 (eval $ac_try) 2>&5
14627 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14628 (exit $ac_status); }; }; then
14629 ac_cv_c_dll_zdefs
="yes"
14631 echo "$as_me: failed program was:" >&5
14632 sed 's/^/| /' conftest.
$ac_ext >&5
14634 ac_cv_c_dll_zdefs
="no"
14637 rm -f conftest.err conftest.
$ac_objext \
14638 conftest
$ac_exeext conftest.
$ac_ext
14639 CFLAGS
=$ac_wine_try_cflags_saved
14641 { echo "$as_me:$LINENO: result: $ac_cv_c_dll_zdefs" >&5
14642 echo "${ECHO_T}$ac_cv_c_dll_zdefs" >&6; }
14643 if test "$ac_cv_c_dll_zdefs" = "yes"
14645 LDDLLFLAGS
="$LDDLLFLAGS,-z,defs"
14648 { echo "$as_me:$LINENO: checking whether the linker accepts -init and -fini" >&5
14649 echo $ECHO_N "checking whether the linker accepts -init and -fini... $ECHO_C" >&6; }
14650 if test "${ac_cv_c_dll_init_fini+set}" = set; then
14651 echo $ECHO_N "(cached) $ECHO_C" >&6
14653 ac_wine_try_cflags_saved
=$CFLAGS
14654 CFLAGS
="$CFLAGS -fPIC -shared -Wl,-Bsymbolic,-init,__wine_spec_init,-fini,__wine_spec_fini"
14655 cat >conftest.
$ac_ext <<_ACEOF
14658 cat confdefs.h
>>conftest.
$ac_ext
14659 cat >>conftest.
$ac_ext <<_ACEOF
14660 /* end confdefs.h. */
14670 rm -f conftest.
$ac_objext conftest
$ac_exeext
14671 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
14672 (eval $ac_link) 2>conftest.er1
14674 grep -v '^ *+' conftest.er1
>conftest.err
14676 cat conftest.err
>&5
14677 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14678 (exit $ac_status); } &&
14679 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
14680 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14681 (eval $ac_try) 2>&5
14683 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14684 (exit $ac_status); }; } &&
14685 { ac_try
='test -s conftest$ac_exeext'
14686 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14687 (eval $ac_try) 2>&5
14689 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14690 (exit $ac_status); }; }; then
14691 ac_cv_c_dll_init_fini
="yes"
14693 echo "$as_me: failed program was:" >&5
14694 sed 's/^/| /' conftest.
$ac_ext >&5
14696 ac_cv_c_dll_init_fini
="no"
14699 rm -f conftest.err conftest.
$ac_objext \
14700 conftest
$ac_exeext conftest.
$ac_ext
14701 CFLAGS
=$ac_wine_try_cflags_saved
14703 { echo "$as_me:$LINENO: result: $ac_cv_c_dll_init_fini" >&5
14704 echo "${ECHO_T}$ac_cv_c_dll_init_fini" >&6; }
14705 if test "$ac_cv_c_dll_init_fini" = "yes"
14707 LDDLLFLAGS
="$LDDLLFLAGS,-init,__wine_spec_init,-fini,__wine_spec_fini"
14710 { echo "$as_me:$LINENO: checking whether the linker accepts version scripts" >&5
14711 echo $ECHO_N "checking whether the linker accepts version scripts... $ECHO_C" >&6; }
14712 if test "${ac_cv_c_ld_version_scripts+set}" = set; then
14713 echo $ECHO_N "(cached) $ECHO_C" >&6
14715 echo '{ global: *; };' >conftest.map
14716 ac_wine_try_cflags_saved
=$CFLAGS
14717 CFLAGS
="$CFLAGS -fPIC -shared -Wl,--version-script=conftest.map"
14718 cat >conftest.
$ac_ext <<_ACEOF
14721 cat confdefs.h
>>conftest.
$ac_ext
14722 cat >>conftest.
$ac_ext <<_ACEOF
14723 /* end confdefs.h. */
14733 rm -f conftest.
$ac_objext conftest
$ac_exeext
14734 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
14735 (eval $ac_link) 2>conftest.er1
14737 grep -v '^ *+' conftest.er1
>conftest.err
14739 cat conftest.err
>&5
14740 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14741 (exit $ac_status); } &&
14742 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
14743 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14744 (eval $ac_try) 2>&5
14746 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14747 (exit $ac_status); }; } &&
14748 { ac_try
='test -s conftest$ac_exeext'
14749 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14750 (eval $ac_try) 2>&5
14752 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14753 (exit $ac_status); }; }; then
14754 ac_cv_c_ld_version_scripts
="yes"
14756 echo "$as_me: failed program was:" >&5
14757 sed 's/^/| /' conftest.
$ac_ext >&5
14759 ac_cv_c_ld_version_scripts
="no"
14762 rm -f conftest.err conftest.
$ac_objext \
14763 conftest
$ac_exeext conftest.
$ac_ext
14764 CFLAGS
=$ac_wine_try_cflags_saved
14767 { echo "$as_me:$LINENO: result: $ac_cv_c_ld_version_scripts" >&5
14768 echo "${ECHO_T}$ac_cv_c_ld_version_scripts" >&6; }
14769 if test "$ac_cv_c_ld_version_scripts" = "yes"
14771 LDSHARED
="$LDSHARED \$(VERSCRIPT:%=-Wl,--version-script=%)"
14774 { echo "$as_me:$LINENO: checking whether the linker accepts --export-dynamic" >&5
14775 echo $ECHO_N "checking whether the linker accepts --export-dynamic... $ECHO_C" >&6; }
14776 if test "${ac_cv_c_export_dynamic+set}" = set; then
14777 echo $ECHO_N "(cached) $ECHO_C" >&6
14779 ac_wine_try_cflags_saved
=$CFLAGS
14780 CFLAGS
="$CFLAGS -fPIC -Wl,--export-dynamic"
14781 cat >conftest.
$ac_ext <<_ACEOF
14784 cat confdefs.h
>>conftest.
$ac_ext
14785 cat >>conftest.
$ac_ext <<_ACEOF
14786 /* end confdefs.h. */
14796 rm -f conftest.
$ac_objext conftest
$ac_exeext
14797 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
14798 (eval $ac_link) 2>conftest.er1
14800 grep -v '^ *+' conftest.er1
>conftest.err
14802 cat conftest.err
>&5
14803 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14804 (exit $ac_status); } &&
14805 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
14806 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14807 (eval $ac_try) 2>&5
14809 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14810 (exit $ac_status); }; } &&
14811 { ac_try
='test -s conftest$ac_exeext'
14812 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14813 (eval $ac_try) 2>&5
14815 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14816 (exit $ac_status); }; }; then
14817 ac_cv_c_export_dynamic
="yes"
14819 echo "$as_me: failed program was:" >&5
14820 sed 's/^/| /' conftest.
$ac_ext >&5
14822 ac_cv_c_export_dynamic
="no"
14825 rm -f conftest.err conftest.
$ac_objext \
14826 conftest
$ac_exeext conftest.
$ac_ext
14827 CFLAGS
=$ac_wine_try_cflags_saved
14829 { echo "$as_me:$LINENO: result: $ac_cv_c_export_dynamic" >&5
14830 echo "${ECHO_T}$ac_cv_c_export_dynamic" >&6; }
14831 if test "$ac_cv_c_export_dynamic" = "yes"
14833 LDEXECFLAGS
="-Wl,--export-dynamic"
14837 { echo "$as_me:$LINENO: checking whether the linker accepts --rpath" >&5
14838 echo $ECHO_N "checking whether the linker accepts --rpath... $ECHO_C" >&6; }
14839 if test "${ac_cv_ld_rpath+set}" = set; then
14840 echo $ECHO_N "(cached) $ECHO_C" >&6
14842 ac_wine_try_cflags_saved
=$CFLAGS
14843 CFLAGS
="$CFLAGS -fPIC -Wl,--rpath,\$ORIGIN/../lib"
14844 cat >conftest.
$ac_ext <<_ACEOF
14847 cat confdefs.h
>>conftest.
$ac_ext
14848 cat >>conftest.
$ac_ext <<_ACEOF
14849 /* end confdefs.h. */
14859 rm -f conftest.
$ac_objext conftest
$ac_exeext
14860 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
14861 (eval $ac_link) 2>conftest.er1
14863 grep -v '^ *+' conftest.er1
>conftest.err
14865 cat conftest.err
>&5
14866 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14867 (exit $ac_status); } &&
14868 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
14869 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14870 (eval $ac_try) 2>&5
14872 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14873 (exit $ac_status); }; } &&
14874 { ac_try
='test -s conftest$ac_exeext'
14875 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14876 (eval $ac_try) 2>&5
14878 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14879 (exit $ac_status); }; }; then
14880 ac_cv_ld_rpath
="yes"
14882 echo "$as_me: failed program was:" >&5
14883 sed 's/^/| /' conftest.
$ac_ext >&5
14885 ac_cv_ld_rpath
="no"
14888 rm -f conftest.err conftest.
$ac_objext \
14889 conftest
$ac_exeext conftest.
$ac_ext
14890 CFLAGS
=$ac_wine_try_cflags_saved
14892 { echo "$as_me:$LINENO: result: $ac_cv_ld_rpath" >&5
14893 echo "${ECHO_T}$ac_cv_ld_rpath" >&6; }
14894 if test "$ac_cv_ld_rpath" = "yes"
14896 LDEXERPATH
="-Wl,--rpath,\\\$\$ORIGIN/\`\$(RELPATH) \$(bindir) \$(libdir)\`"
14898 LDDLLRPATH
="-Wl,--rpath,\\\$\$ORIGIN/\`\$(RELPATH) \$(dlldir) \$(libdir)\`"
14904 { echo "$as_me:$LINENO: checking whether we can relocate the executable to 0x7bf00000" >&5
14905 echo $ECHO_N "checking whether we can relocate the executable to 0x7bf00000... $ECHO_C" >&6; }
14906 if test "${ac_cv_ld_reloc_exec+set}" = set; then
14907 echo $ECHO_N "(cached) $ECHO_C" >&6
14909 ac_wine_try_cflags_saved
=$CFLAGS
14910 CFLAGS
="$CFLAGS -Wl,--section-start,.interp=0x7bf00400"
14911 cat >conftest.
$ac_ext <<_ACEOF
14914 cat confdefs.h
>>conftest.
$ac_ext
14915 cat >>conftest.
$ac_ext <<_ACEOF
14916 /* end confdefs.h. */
14926 rm -f conftest.
$ac_objext conftest
$ac_exeext
14927 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
14928 (eval $ac_link) 2>conftest.er1
14930 grep -v '^ *+' conftest.er1
>conftest.err
14932 cat conftest.err
>&5
14933 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14934 (exit $ac_status); } &&
14935 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
14936 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14937 (eval $ac_try) 2>&5
14939 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14940 (exit $ac_status); }; } &&
14941 { ac_try
='test -s conftest$ac_exeext'
14942 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14943 (eval $ac_try) 2>&5
14945 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14946 (exit $ac_status); }; }; then
14947 ac_cv_ld_reloc_exec
="yes"
14949 echo "$as_me: failed program was:" >&5
14950 sed 's/^/| /' conftest.
$ac_ext >&5
14952 ac_cv_ld_reloc_exec
="no"
14955 rm -f conftest.err conftest.
$ac_objext \
14956 conftest
$ac_exeext conftest.
$ac_ext
14957 CFLAGS
=$ac_wine_try_cflags_saved
14959 { echo "$as_me:$LINENO: result: $ac_cv_ld_reloc_exec" >&5
14960 echo "${ECHO_T}$ac_cv_ld_reloc_exec" >&6; }
14961 if test "$ac_cv_ld_reloc_exec" = "yes"
14963 LDEXECFLAGS
="$LDEXECFLAGS -Wl,--section-start,.interp=0x7bf00400"
14969 { echo "$as_me:$LINENO: checking whether we can build a UnixWare (Solaris) dll" >&5
14970 echo $ECHO_N "checking whether we can build a UnixWare (Solaris) dll... $ECHO_C" >&6; }
14971 if test "${ac_cv_c_dll_unixware+set}" = set; then
14972 echo $ECHO_N "(cached) $ECHO_C" >&6
14974 ac_wine_try_cflags_saved
=$CFLAGS
14975 CFLAGS
="$CFLAGS -fPIC -Wl,-G,-h,conftest.so.1.0,-B,symbolic"
14976 cat >conftest.
$ac_ext <<_ACEOF
14979 rm -f conftest.
$ac_objext conftest
$ac_exeext
14980 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
14981 (eval $ac_link) 2>conftest.er1
14983 grep -v '^ *+' conftest.er1
>conftest.err
14985 cat conftest.err
>&5
14986 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14987 (exit $ac_status); } &&
14988 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
14989 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14990 (eval $ac_try) 2>&5
14992 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14993 (exit $ac_status); }; } &&
14994 { ac_try
='test -s conftest$ac_exeext'
14995 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14996 (eval $ac_try) 2>&5
14998 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14999 (exit $ac_status); }; }; then
15000 ac_cv_c_dll_unixware
="yes"
15002 echo "$as_me: failed program was:" >&5
15003 sed 's/^/| /' conftest.
$ac_ext >&5
15005 ac_cv_c_dll_unixware
="no"
15008 rm -f conftest.err conftest.
$ac_objext \
15009 conftest
$ac_exeext conftest.
$ac_ext
15010 CFLAGS
=$ac_wine_try_cflags_saved
15012 { echo "$as_me:$LINENO: result: $ac_cv_c_dll_unixware" >&5
15013 echo "${ECHO_T}$ac_cv_c_dll_unixware" >&6; }
15014 if test "$ac_cv_c_dll_unixware" = "yes"
15016 LDSHARED
="\$(CC) -Wl,-G \$(SONAME:%=-Wl,-h,%)"
15017 LDDLLFLAGS
="-Wl,-G,-B,symbolic"
15020 { echo "$as_me:$LINENO: checking whether we can build a Mach-O (Mac OS X/Darwin) dll" >&5
15021 echo $ECHO_N "checking whether we can build a Mach-O (Mac OS X/Darwin) dll... $ECHO_C" >&6; }
15022 if test "${ac_cv_c_dll_macho+set}" = set; then
15023 echo $ECHO_N "(cached) $ECHO_C" >&6
15025 ac_wine_try_cflags_saved
=$CFLAGS
15026 CFLAGS
="$CFLAGS -bundle"
15027 cat >conftest.
$ac_ext <<_ACEOF
15030 rm -f conftest.
$ac_objext conftest
$ac_exeext
15031 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
15032 (eval $ac_link) 2>conftest.er1
15034 grep -v '^ *+' conftest.er1
>conftest.err
15036 cat conftest.err
>&5
15037 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15038 (exit $ac_status); } &&
15039 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
15040 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15041 (eval $ac_try) 2>&5
15043 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15044 (exit $ac_status); }; } &&
15045 { ac_try
='test -s conftest$ac_exeext'
15046 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15047 (eval $ac_try) 2>&5
15049 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15050 (exit $ac_status); }; }; then
15051 ac_cv_c_dll_macho
="yes"
15053 echo "$as_me: failed program was:" >&5
15054 sed 's/^/| /' conftest.
$ac_ext >&5
15056 ac_cv_c_dll_macho
="no"
15059 rm -f conftest.err conftest.
$ac_objext \
15060 conftest
$ac_exeext conftest.
$ac_ext
15061 CFLAGS
=$ac_wine_try_cflags_saved
15063 { echo "$as_me:$LINENO: result: $ac_cv_c_dll_macho" >&5
15064 echo "${ECHO_T}$ac_cv_c_dll_macho" >&6; }
15065 if test "$ac_cv_c_dll_macho" = "yes"
15068 LDDLLFLAGS
="-bundle"
15069 LDSHARED
="\$(CC) -dynamiclib -install_name @executable_path/\`\$(RELPATH) \$(bindir) \$(libdir)\`/\$(DYNAME) \$(SOVERSION:%=-compatibility_version %)"
15070 STRIP
="$STRIP -u -r"
15071 COREFOUNDATIONLIB
="-framework CoreFoundation"
15073 IOKITLIB
="-framework IOKit -framework CoreFoundation"
15075 LDEXECFLAGS
="-image_base 0x7bf00000 -Wl,-segaddr,WINE_DOS,0x00000000,-segaddr,WINE_SHARED_HEAP,0x7ffe0000"
15079 CFLAGS
="$CFLAGS -ffixed-r13"
15080 LDDLLFLAGS
="$LDDLLFLAGS -read_only_relocs warning"
15085 { echo "$as_me:$LINENO: checking whether we can build an HP-UX dll" >&5
15086 echo $ECHO_N "checking whether we can build an HP-UX dll... $ECHO_C" >&6; }
15087 if test "${ac_cv_c_dll_hpux+set}" = set; then
15088 echo $ECHO_N "(cached) $ECHO_C" >&6
15090 ac_wine_try_cflags_saved
=$CFLAGS
15091 CFLAGS
="$CFLAGS -shared"
15092 cat >conftest.
$ac_ext <<_ACEOF
15095 rm -f conftest.
$ac_objext conftest
$ac_exeext
15096 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
15097 (eval $ac_link) 2>conftest.er1
15099 grep -v '^ *+' conftest.er1
>conftest.err
15101 cat conftest.err
>&5
15102 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15103 (exit $ac_status); } &&
15104 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
15105 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15106 (eval $ac_try) 2>&5
15108 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15109 (exit $ac_status); }; } &&
15110 { ac_try
='test -s conftest$ac_exeext'
15111 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15112 (eval $ac_try) 2>&5
15114 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15115 (exit $ac_status); }; }; then
15116 ac_cv_c_dll_hpux
="yes"
15118 echo "$as_me: failed program was:" >&5
15119 sed 's/^/| /' conftest.
$ac_ext >&5
15121 ac_cv_c_dll_hpux
="no"
15124 rm -f conftest.err conftest.
$ac_objext \
15125 conftest
$ac_exeext conftest.
$ac_ext
15126 CFLAGS
=$ac_wine_try_cflags_saved
15128 { echo "$as_me:$LINENO: result: $ac_cv_c_dll_hpux" >&5
15129 echo "${ECHO_T}$ac_cv_c_dll_hpux" >&6; }
15130 if test "$ac_cv_c_dll_hpux" = "yes"
15134 LDDLLFLAGS
="-shared -fPIC"
15135 LDSHARED
="\$(CC) -shared"
15144 if test "$cross_compiling" = "no"
15146 for ac_prog
in i586-mingw32msvc-gcc i386-mingw32msvc-gcc i386-mingw32-gcc mingw-gcc
15148 # Extract the first word of "$ac_prog", so it can be a program name with args.
15149 set dummy
$ac_prog; ac_word
=$2
15150 { echo "$as_me:$LINENO: checking for $ac_word" >&5
15151 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
15152 if test "${ac_cv_prog_CROSSCC+set}" = set; then
15153 echo $ECHO_N "(cached) $ECHO_C" >&6
15155 if test -n "$CROSSCC"; then
15156 ac_cv_prog_CROSSCC
="$CROSSCC" # Let the user override the test.
15158 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
15159 for as_dir
in $PATH
15162 test -z "$as_dir" && as_dir
=.
15163 for ac_exec_ext
in '' $ac_executable_extensions; do
15164 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; }; then
15165 ac_cv_prog_CROSSCC
="$ac_prog"
15166 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
15175 CROSSCC
=$ac_cv_prog_CROSSCC
15176 if test -n "$CROSSCC"; then
15177 { echo "$as_me:$LINENO: result: $CROSSCC" >&5
15178 echo "${ECHO_T}$CROSSCC" >&6; }
15180 { echo "$as_me:$LINENO: result: no" >&5
15181 echo "${ECHO_T}no" >&6; }
15185 test -n "$CROSSCC" && break
15187 test -n "$CROSSCC" || CROSSCC
="false"
15189 for ac_prog
in i586-mingw32msvc-dlltool i386-mingw32msvc-dlltool i386-mingw32-dlltool mingw-dlltool
15191 # Extract the first word of "$ac_prog", so it can be a program name with args.
15192 set dummy
$ac_prog; ac_word
=$2
15193 { echo "$as_me:$LINENO: checking for $ac_word" >&5
15194 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
15195 if test "${ac_cv_prog_DLLTOOL+set}" = set; then
15196 echo $ECHO_N "(cached) $ECHO_C" >&6
15198 if test -n "$DLLTOOL"; then
15199 ac_cv_prog_DLLTOOL
="$DLLTOOL" # Let the user override the test.
15201 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
15202 for as_dir
in $PATH
15205 test -z "$as_dir" && as_dir
=.
15206 for ac_exec_ext
in '' $ac_executable_extensions; do
15207 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; }; then
15208 ac_cv_prog_DLLTOOL
="$ac_prog"
15209 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
15218 DLLTOOL
=$ac_cv_prog_DLLTOOL
15219 if test -n "$DLLTOOL"; then
15220 { echo "$as_me:$LINENO: result: $DLLTOOL" >&5
15221 echo "${ECHO_T}$DLLTOOL" >&6; }
15223 { echo "$as_me:$LINENO: result: no" >&5
15224 echo "${ECHO_T}no" >&6; }
15228 test -n "$DLLTOOL" && break
15230 test -n "$DLLTOOL" || DLLTOOL
="false"
15232 for ac_prog
in i586-mingw32msvc-windres i386-mingw32msvc-windres i386-mingw32-windres mingw-windres
15234 # Extract the first word of "$ac_prog", so it can be a program name with args.
15235 set dummy
$ac_prog; ac_word
=$2
15236 { echo "$as_me:$LINENO: checking for $ac_word" >&5
15237 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
15238 if test "${ac_cv_prog_CROSSWINDRES+set}" = set; then
15239 echo $ECHO_N "(cached) $ECHO_C" >&6
15241 if test -n "$CROSSWINDRES"; then
15242 ac_cv_prog_CROSSWINDRES
="$CROSSWINDRES" # Let the user override the test.
15244 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
15245 for as_dir
in $PATH
15248 test -z "$as_dir" && as_dir
=.
15249 for ac_exec_ext
in '' $ac_executable_extensions; do
15250 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; }; then
15251 ac_cv_prog_CROSSWINDRES
="$ac_prog"
15252 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
15261 CROSSWINDRES
=$ac_cv_prog_CROSSWINDRES
15262 if test -n "$CROSSWINDRES"; then
15263 { echo "$as_me:$LINENO: result: $CROSSWINDRES" >&5
15264 echo "${ECHO_T}$CROSSWINDRES" >&6; }
15266 { echo "$as_me:$LINENO: result: no" >&5
15267 echo "${ECHO_T}no" >&6; }
15271 test -n "$CROSSWINDRES" && break
15273 test -n "$CROSSWINDRES" || CROSSWINDRES
="false"
15275 if test "$CROSSCC" != "false"; then CROSSTEST
="\$(CROSSTEST)"; fi
15280 if test "$LIBEXT" = "a"; then
15281 { { echo "$as_me:$LINENO: error: could not find a way to build shared libraries.
15282 It is currently not possible to build Wine without shared library
15283 (.so) support to allow transparent switch between .so and .dll files.
15284 If you are using Linux, you will need a newer binutils.
15286 echo "$as_me: error: could not find a way to build shared libraries.
15287 It is currently not possible to build Wine without shared library
15288 (.so) support to allow transparent switch between .so and .dll files.
15289 If you are using Linux, you will need a newer binutils.
15291 { (exit 1); exit 1; }; }
15296 LDPATH
="PATH=\"\$(TOOLSDIR)/libs/unicode:\$\$PATH\""
15299 LDPATH
="DYLD_LIBRARY_PATH=\"\$(TOOLSDIR)/libs/unicode:\$\$DYLD_LIBRARY_PATH\""
15302 LDPATH
="LD_LIBRARY_PATH=\"\$(TOOLSDIR)/libs/unicode:\$\$LD_LIBRARY_PATH\""
15310 SOCKETLIBS
="-lws2_32"
15318 linux
* | k
*bsd
*-gnu)
15319 MAIN_BINARY
="wine-glibc"
15321 EXTRA_BINARIES
="wine-kthread wine-pthread wine-preloader"
15324 MAIN_BINARY
="wine-pthread"
15327 MAIN_BINARY
="wine-kthread"
15331 *) MAIN_BINARY
="wine-pthread"
15336 if test "$LIBEXT" = "so" -o "$LIBEXT" = "dylib"
15338 # Extract the first word of "ldd", so it can be a program name with args.
15339 set dummy ldd
; ac_word
=$2
15340 { echo "$as_me:$LINENO: checking for $ac_word" >&5
15341 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
15342 if test "${ac_cv_path_LDD+set}" = set; then
15343 echo $ECHO_N "(cached) $ECHO_C" >&6
15347 ac_cv_path_LDD
="$LDD" # Let the user override the test with a path.
15350 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
15351 as_dummy
="/sbin:/usr/sbin:$PATH"
15352 for as_dir
in $as_dummy
15355 test -z "$as_dir" && as_dir
=.
15356 for ac_exec_ext
in '' $ac_executable_extensions; do
15357 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; }; then
15358 ac_cv_path_LDD
="$as_dir/$ac_word$ac_exec_ext"
15359 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
15366 test -z "$ac_cv_path_LDD" && ac_cv_path_LDD
="true"
15370 LDD
=$ac_cv_path_LDD
15371 if test -n "$LDD"; then
15372 { echo "$as_me:$LINENO: result: $LDD" >&5
15373 echo "${ECHO_T}$LDD" >&6; }
15375 { echo "$as_me:$LINENO: result: no" >&5
15376 echo "${ECHO_T}no" >&6; }
15380 { echo "$as_me:$LINENO: checking for -lX11 soname" >&5
15381 echo $ECHO_N "checking for -lX11 soname... $ECHO_C" >&6; }
15382 if test "${ac_cv_lib_soname_X11+set}" = set; then
15383 echo $ECHO_N "(cached) $ECHO_C" >&6
15385 ac_get_soname_save_LIBS
=$LIBS
15386 LIBS
="-lX11 $X_LIBS $X_EXTRA_LIBS $LIBS"
15387 cat >conftest.
$ac_ext <<_ACEOF
15390 cat confdefs.h
>>conftest.
$ac_ext
15391 cat >>conftest.
$ac_ext <<_ACEOF
15392 /* end confdefs.h. */
15394 /* Override any GCC internal prototype to avoid an error.
15395 Use char because int might match the return type of a GCC
15396 builtin and then its argument prototype would still apply. */
15400 char XCreateWindow ();
15404 return XCreateWindow ();
15409 rm -f conftest.
$ac_objext conftest
$ac_exeext
15410 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
15411 (eval $ac_link) 2>conftest.er1
15413 grep -v '^ *+' conftest.er1
>conftest.err
15415 cat conftest.err
>&5
15416 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15417 (exit $ac_status); } &&
15418 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
15419 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15420 (eval $ac_try) 2>&5
15422 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15423 (exit $ac_status); }; } &&
15424 { ac_try
='test -s conftest$ac_exeext'
15425 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15426 (eval $ac_try) 2>&5
15428 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15429 (exit $ac_status); }; }; then
15430 ac_cv_lib_soname_X11
=`$ac_cv_path_LDD conftest$ac_exeext | grep libX11\\.$LIBEXT | sed -e "s/^.*\(libX11\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
15431 if test "x$ac_cv_lib_soname_X11" = "x"
15433 ac_cv_lib_soname_X11
="libX11.$LIBEXT"
15436 echo "$as_me: failed program was:" >&5
15437 sed 's/^/| /' conftest.
$ac_ext >&5
15439 ac_cv_lib_soname_X11
="libX11.$LIBEXT"
15442 rm -f conftest.err conftest.
$ac_objext \
15443 conftest
$ac_exeext conftest.
$ac_ext
15444 LIBS
=$ac_get_soname_save_LIBS
15446 { echo "$as_me:$LINENO: result: $ac_cv_lib_soname_X11" >&5
15447 echo "${ECHO_T}$ac_cv_lib_soname_X11" >&6; }
15448 if test "${ac_cv_lib_soname_X11+set}" = set; then
15450 cat >>confdefs.h
<<_ACEOF
15451 #define SONAME_LIBX11 "$ac_cv_lib_soname_X11"
15456 { echo "$as_me:$LINENO: checking for -lXext soname" >&5
15457 echo $ECHO_N "checking for -lXext soname... $ECHO_C" >&6; }
15458 if test "${ac_cv_lib_soname_Xext+set}" = set; then
15459 echo $ECHO_N "(cached) $ECHO_C" >&6
15461 ac_get_soname_save_LIBS
=$LIBS
15462 LIBS
="-lXext $X_LIBS -lX11 $X_EXTRA_LIBS $LIBS"
15463 cat >conftest.
$ac_ext <<_ACEOF
15466 cat confdefs.h
>>conftest.
$ac_ext
15467 cat >>conftest.
$ac_ext <<_ACEOF
15468 /* end confdefs.h. */
15470 /* Override any GCC internal prototype to avoid an error.
15471 Use char because int might match the return type of a GCC
15472 builtin and then its argument prototype would still apply. */
15476 char XextCreateExtension ();
15480 return XextCreateExtension ();
15485 rm -f conftest.
$ac_objext conftest
$ac_exeext
15486 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
15487 (eval $ac_link) 2>conftest.er1
15489 grep -v '^ *+' conftest.er1
>conftest.err
15491 cat conftest.err
>&5
15492 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15493 (exit $ac_status); } &&
15494 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
15495 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15496 (eval $ac_try) 2>&5
15498 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15499 (exit $ac_status); }; } &&
15500 { ac_try
='test -s conftest$ac_exeext'
15501 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15502 (eval $ac_try) 2>&5
15504 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15505 (exit $ac_status); }; }; then
15506 ac_cv_lib_soname_Xext
=`$ac_cv_path_LDD conftest$ac_exeext | grep libXext\\.$LIBEXT | sed -e "s/^.*\(libXext\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
15507 if test "x$ac_cv_lib_soname_Xext" = "x"
15509 ac_cv_lib_soname_Xext
="libXext.$LIBEXT"
15512 echo "$as_me: failed program was:" >&5
15513 sed 's/^/| /' conftest.
$ac_ext >&5
15515 ac_cv_lib_soname_Xext
="libXext.$LIBEXT"
15518 rm -f conftest.err conftest.
$ac_objext \
15519 conftest
$ac_exeext conftest.
$ac_ext
15520 LIBS
=$ac_get_soname_save_LIBS
15522 { echo "$as_me:$LINENO: result: $ac_cv_lib_soname_Xext" >&5
15523 echo "${ECHO_T}$ac_cv_lib_soname_Xext" >&6; }
15524 if test "${ac_cv_lib_soname_Xext+set}" = set; then
15526 cat >>confdefs.h
<<_ACEOF
15527 #define SONAME_LIBXEXT "$ac_cv_lib_soname_Xext"
15532 { echo "$as_me:$LINENO: checking for -lXi soname" >&5
15533 echo $ECHO_N "checking for -lXi soname... $ECHO_C" >&6; }
15534 if test "${ac_cv_lib_soname_Xi+set}" = set; then
15535 echo $ECHO_N "(cached) $ECHO_C" >&6
15537 ac_get_soname_save_LIBS
=$LIBS
15538 LIBS
="-lXi $X_LIBS -lXext -lX11 $X_EXTRA_LIBS $LIBS"
15539 cat >conftest.
$ac_ext <<_ACEOF
15542 cat confdefs.h
>>conftest.
$ac_ext
15543 cat >>conftest.
$ac_ext <<_ACEOF
15544 /* end confdefs.h. */
15546 /* Override any GCC internal prototype to avoid an error.
15547 Use char because int might match the return type of a GCC
15548 builtin and then its argument prototype would still apply. */
15552 char XOpenDevice ();
15556 return XOpenDevice ();
15561 rm -f conftest.
$ac_objext conftest
$ac_exeext
15562 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
15563 (eval $ac_link) 2>conftest.er1
15565 grep -v '^ *+' conftest.er1
>conftest.err
15567 cat conftest.err
>&5
15568 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15569 (exit $ac_status); } &&
15570 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
15571 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15572 (eval $ac_try) 2>&5
15574 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15575 (exit $ac_status); }; } &&
15576 { ac_try
='test -s conftest$ac_exeext'
15577 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15578 (eval $ac_try) 2>&5
15580 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15581 (exit $ac_status); }; }; then
15582 ac_cv_lib_soname_Xi
=`$ac_cv_path_LDD conftest$ac_exeext | grep libXi\\.$LIBEXT | sed -e "s/^.*\(libXi\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
15583 if test "x$ac_cv_lib_soname_Xi" = "x"
15585 ac_cv_lib_soname_Xi
="libXi.$LIBEXT"
15588 echo "$as_me: failed program was:" >&5
15589 sed 's/^/| /' conftest.
$ac_ext >&5
15591 ac_cv_lib_soname_Xi
="libXi.$LIBEXT"
15594 rm -f conftest.err conftest.
$ac_objext \
15595 conftest
$ac_exeext conftest.
$ac_ext
15596 LIBS
=$ac_get_soname_save_LIBS
15598 { echo "$as_me:$LINENO: result: $ac_cv_lib_soname_Xi" >&5
15599 echo "${ECHO_T}$ac_cv_lib_soname_Xi" >&6; }
15600 if test "${ac_cv_lib_soname_Xi+set}" = set; then
15602 cat >>confdefs.h
<<_ACEOF
15603 #define SONAME_LIBXI "$ac_cv_lib_soname_Xi"
15608 { echo "$as_me:$LINENO: checking for -lXrender soname" >&5
15609 echo $ECHO_N "checking for -lXrender soname... $ECHO_C" >&6; }
15610 if test "${ac_cv_lib_soname_Xrender+set}" = set; then
15611 echo $ECHO_N "(cached) $ECHO_C" >&6
15613 ac_get_soname_save_LIBS
=$LIBS
15614 LIBS
="-lXrender $X_LIBS -lXext -lX11 $X_EXTRA_LIBS $LIBS"
15615 cat >conftest.
$ac_ext <<_ACEOF
15618 cat confdefs.h
>>conftest.
$ac_ext
15619 cat >>conftest.
$ac_ext <<_ACEOF
15620 /* end confdefs.h. */
15622 /* Override any GCC internal prototype to avoid an error.
15623 Use char because int might match the return type of a GCC
15624 builtin and then its argument prototype would still apply. */
15628 char XRenderQueryExtension ();
15632 return XRenderQueryExtension ();
15637 rm -f conftest.
$ac_objext conftest
$ac_exeext
15638 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
15639 (eval $ac_link) 2>conftest.er1
15641 grep -v '^ *+' conftest.er1
>conftest.err
15643 cat conftest.err
>&5
15644 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15645 (exit $ac_status); } &&
15646 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
15647 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15648 (eval $ac_try) 2>&5
15650 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15651 (exit $ac_status); }; } &&
15652 { ac_try
='test -s conftest$ac_exeext'
15653 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15654 (eval $ac_try) 2>&5
15656 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15657 (exit $ac_status); }; }; then
15658 ac_cv_lib_soname_Xrender
=`$ac_cv_path_LDD conftest$ac_exeext | grep libXrender\\.$LIBEXT | sed -e "s/^.*\(libXrender\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
15659 if test "x$ac_cv_lib_soname_Xrender" = "x"
15661 ac_cv_lib_soname_Xrender
="libXrender.$LIBEXT"
15664 echo "$as_me: failed program was:" >&5
15665 sed 's/^/| /' conftest.
$ac_ext >&5
15667 ac_cv_lib_soname_Xrender
="libXrender.$LIBEXT"
15670 rm -f conftest.err conftest.
$ac_objext \
15671 conftest
$ac_exeext conftest.
$ac_ext
15672 LIBS
=$ac_get_soname_save_LIBS
15674 { echo "$as_me:$LINENO: result: $ac_cv_lib_soname_Xrender" >&5
15675 echo "${ECHO_T}$ac_cv_lib_soname_Xrender" >&6; }
15676 if test "${ac_cv_lib_soname_Xrender+set}" = set; then
15678 cat >>confdefs.h
<<_ACEOF
15679 #define SONAME_LIBXRENDER "$ac_cv_lib_soname_Xrender"
15684 { echo "$as_me:$LINENO: checking for -lXrandr soname" >&5
15685 echo $ECHO_N "checking for -lXrandr soname... $ECHO_C" >&6; }
15686 if test "${ac_cv_lib_soname_Xrandr+set}" = set; then
15687 echo $ECHO_N "(cached) $ECHO_C" >&6
15689 ac_get_soname_save_LIBS
=$LIBS
15690 LIBS
="-lXrandr $X_LIBS -lXext -lX11 $X_EXTRA_LIBS $LIBS"
15691 cat >conftest.
$ac_ext <<_ACEOF
15694 cat confdefs.h
>>conftest.
$ac_ext
15695 cat >>conftest.
$ac_ext <<_ACEOF
15696 /* end confdefs.h. */
15698 /* Override any GCC internal prototype to avoid an error.
15699 Use char because int might match the return type of a GCC
15700 builtin and then its argument prototype would still apply. */
15704 char XRRQueryExtension ();
15708 return XRRQueryExtension ();
15713 rm -f conftest.
$ac_objext conftest
$ac_exeext
15714 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
15715 (eval $ac_link) 2>conftest.er1
15717 grep -v '^ *+' conftest.er1
>conftest.err
15719 cat conftest.err
>&5
15720 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15721 (exit $ac_status); } &&
15722 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
15723 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15724 (eval $ac_try) 2>&5
15726 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15727 (exit $ac_status); }; } &&
15728 { ac_try
='test -s conftest$ac_exeext'
15729 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15730 (eval $ac_try) 2>&5
15732 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15733 (exit $ac_status); }; }; then
15734 ac_cv_lib_soname_Xrandr
=`$ac_cv_path_LDD conftest$ac_exeext | grep libXrandr\\.$LIBEXT | sed -e "s/^.*\(libXrandr\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
15735 if test "x$ac_cv_lib_soname_Xrandr" = "x"
15737 ac_cv_lib_soname_Xrandr
="libXrandr.$LIBEXT"
15740 echo "$as_me: failed program was:" >&5
15741 sed 's/^/| /' conftest.
$ac_ext >&5
15743 ac_cv_lib_soname_Xrandr
="libXrandr.$LIBEXT"
15746 rm -f conftest.err conftest.
$ac_objext \
15747 conftest
$ac_exeext conftest.
$ac_ext
15748 LIBS
=$ac_get_soname_save_LIBS
15750 { echo "$as_me:$LINENO: result: $ac_cv_lib_soname_Xrandr" >&5
15751 echo "${ECHO_T}$ac_cv_lib_soname_Xrandr" >&6; }
15752 if test "${ac_cv_lib_soname_Xrandr+set}" = set; then
15754 cat >>confdefs.h
<<_ACEOF
15755 #define SONAME_LIBXRANDR "$ac_cv_lib_soname_Xrandr"
15760 { echo "$as_me:$LINENO: checking for -lfreetype soname" >&5
15761 echo $ECHO_N "checking for -lfreetype soname... $ECHO_C" >&6; }
15762 if test "${ac_cv_lib_soname_freetype+set}" = set; then
15763 echo $ECHO_N "(cached) $ECHO_C" >&6
15765 ac_get_soname_save_LIBS
=$LIBS
15766 LIBS
="-lfreetype $X_LIBS $LIBS"
15767 cat >conftest.
$ac_ext <<_ACEOF
15770 cat confdefs.h
>>conftest.
$ac_ext
15771 cat >>conftest.
$ac_ext <<_ACEOF
15772 /* end confdefs.h. */
15774 /* Override any GCC internal prototype to avoid an error.
15775 Use char because int might match the return type of a GCC
15776 builtin and then its argument prototype would still apply. */
15780 char FT_Init_FreeType ();
15784 return FT_Init_FreeType ();
15789 rm -f conftest.
$ac_objext conftest
$ac_exeext
15790 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
15791 (eval $ac_link) 2>conftest.er1
15793 grep -v '^ *+' conftest.er1
>conftest.err
15795 cat conftest.err
>&5
15796 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15797 (exit $ac_status); } &&
15798 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
15799 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15800 (eval $ac_try) 2>&5
15802 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15803 (exit $ac_status); }; } &&
15804 { ac_try
='test -s conftest$ac_exeext'
15805 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15806 (eval $ac_try) 2>&5
15808 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15809 (exit $ac_status); }; }; then
15810 ac_cv_lib_soname_freetype
=`$ac_cv_path_LDD conftest$ac_exeext | grep libfreetype\\.$LIBEXT | sed -e "s/^.*\(libfreetype\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
15811 if test "x$ac_cv_lib_soname_freetype" = "x"
15813 ac_cv_lib_soname_freetype
="libfreetype.$LIBEXT"
15816 echo "$as_me: failed program was:" >&5
15817 sed 's/^/| /' conftest.
$ac_ext >&5
15819 ac_cv_lib_soname_freetype
="libfreetype.$LIBEXT"
15822 rm -f conftest.err conftest.
$ac_objext \
15823 conftest
$ac_exeext conftest.
$ac_ext
15824 LIBS
=$ac_get_soname_save_LIBS
15826 { echo "$as_me:$LINENO: result: $ac_cv_lib_soname_freetype" >&5
15827 echo "${ECHO_T}$ac_cv_lib_soname_freetype" >&6; }
15828 if test "${ac_cv_lib_soname_freetype+set}" = set; then
15830 cat >>confdefs.h
<<_ACEOF
15831 #define SONAME_LIBFREETYPE "$ac_cv_lib_soname_freetype"
15836 { echo "$as_me:$LINENO: checking for -lGL soname" >&5
15837 echo $ECHO_N "checking for -lGL soname... $ECHO_C" >&6; }
15838 if test "${ac_cv_lib_soname_GL+set}" = set; then
15839 echo $ECHO_N "(cached) $ECHO_C" >&6
15841 ac_get_soname_save_LIBS
=$LIBS
15842 LIBS
="-lGL $X_LIBS $X_EXTRA_LIBS $LIBS"
15843 cat >conftest.
$ac_ext <<_ACEOF
15846 cat confdefs.h
>>conftest.
$ac_ext
15847 cat >>conftest.
$ac_ext <<_ACEOF
15848 /* end confdefs.h. */
15850 /* Override any GCC internal prototype to avoid an error.
15851 Use char because int might match the return type of a GCC
15852 builtin and then its argument prototype would still apply. */
15856 char glXQueryExtension ();
15860 return glXQueryExtension ();
15865 rm -f conftest.
$ac_objext conftest
$ac_exeext
15866 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
15867 (eval $ac_link) 2>conftest.er1
15869 grep -v '^ *+' conftest.er1
>conftest.err
15871 cat conftest.err
>&5
15872 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15873 (exit $ac_status); } &&
15874 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
15875 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15876 (eval $ac_try) 2>&5
15878 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15879 (exit $ac_status); }; } &&
15880 { ac_try
='test -s conftest$ac_exeext'
15881 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15882 (eval $ac_try) 2>&5
15884 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15885 (exit $ac_status); }; }; then
15886 ac_cv_lib_soname_GL
=`$ac_cv_path_LDD conftest$ac_exeext | grep libGL\\.$LIBEXT | sed -e "s/^.*\(libGL\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
15887 if test "x$ac_cv_lib_soname_GL" = "x"
15889 ac_cv_lib_soname_GL
="libGL.$LIBEXT"
15892 echo "$as_me: failed program was:" >&5
15893 sed 's/^/| /' conftest.
$ac_ext >&5
15895 ac_cv_lib_soname_GL
="libGL.$LIBEXT"
15898 rm -f conftest.err conftest.
$ac_objext \
15899 conftest
$ac_exeext conftest.
$ac_ext
15900 LIBS
=$ac_get_soname_save_LIBS
15902 { echo "$as_me:$LINENO: result: $ac_cv_lib_soname_GL" >&5
15903 echo "${ECHO_T}$ac_cv_lib_soname_GL" >&6; }
15904 if test "${ac_cv_lib_soname_GL+set}" = set; then
15906 cat >>confdefs.h
<<_ACEOF
15907 #define SONAME_LIBGL "$ac_cv_lib_soname_GL"
15912 { echo "$as_me:$LINENO: checking for -ldbus-1 soname" >&5
15913 echo $ECHO_N "checking for -ldbus-1 soname... $ECHO_C" >&6; }
15914 if test "${ac_cv_lib_soname_dbus_1+set}" = set; then
15915 echo $ECHO_N "(cached) $ECHO_C" >&6
15917 ac_get_soname_save_LIBS
=$LIBS
15918 LIBS
="-ldbus-1 $LIBS"
15919 cat >conftest.
$ac_ext <<_ACEOF
15922 cat confdefs.h
>>conftest.
$ac_ext
15923 cat >>conftest.
$ac_ext <<_ACEOF
15924 /* end confdefs.h. */
15926 /* Override any GCC internal prototype to avoid an error.
15927 Use char because int might match the return type of a GCC
15928 builtin and then its argument prototype would still apply. */
15932 char dbus_error_init ();
15936 return dbus_error_init ();
15941 rm -f conftest.
$ac_objext conftest
$ac_exeext
15942 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
15943 (eval $ac_link) 2>conftest.er1
15945 grep -v '^ *+' conftest.er1
>conftest.err
15947 cat conftest.err
>&5
15948 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15949 (exit $ac_status); } &&
15950 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
15951 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15952 (eval $ac_try) 2>&5
15954 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15955 (exit $ac_status); }; } &&
15956 { ac_try
='test -s conftest$ac_exeext'
15957 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15958 (eval $ac_try) 2>&5
15960 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15961 (exit $ac_status); }; }; then
15962 ac_cv_lib_soname_dbus_1
=`$ac_cv_path_LDD conftest$ac_exeext | grep libdbus-1\\.$LIBEXT | sed -e "s/^.*\(libdbus-1\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
15963 if test "x$ac_cv_lib_soname_dbus_1" = "x"
15965 ac_cv_lib_soname_dbus_1
="libdbus-1.$LIBEXT"
15968 echo "$as_me: failed program was:" >&5
15969 sed 's/^/| /' conftest.
$ac_ext >&5
15971 ac_cv_lib_soname_dbus_1
="libdbus-1.$LIBEXT"
15974 rm -f conftest.err conftest.
$ac_objext \
15975 conftest
$ac_exeext conftest.
$ac_ext
15976 LIBS
=$ac_get_soname_save_LIBS
15978 { echo "$as_me:$LINENO: result: $ac_cv_lib_soname_dbus_1" >&5
15979 echo "${ECHO_T}$ac_cv_lib_soname_dbus_1" >&6; }
15980 if test "${ac_cv_lib_soname_dbus_1+set}" = set; then
15982 cat >>confdefs.h
<<_ACEOF
15983 #define SONAME_LIBDBUS_1 "$ac_cv_lib_soname_dbus_1"
15988 { echo "$as_me:$LINENO: checking for -lhal soname" >&5
15989 echo $ECHO_N "checking for -lhal soname... $ECHO_C" >&6; }
15990 if test "${ac_cv_lib_soname_hal+set}" = set; then
15991 echo $ECHO_N "(cached) $ECHO_C" >&6
15993 ac_get_soname_save_LIBS
=$LIBS
15995 cat >conftest.
$ac_ext <<_ACEOF
15998 cat confdefs.h
>>conftest.
$ac_ext
15999 cat >>conftest.
$ac_ext <<_ACEOF
16000 /* end confdefs.h. */
16002 /* Override any GCC internal prototype to avoid an error.
16003 Use char because int might match the return type of a GCC
16004 builtin and then its argument prototype would still apply. */
16008 char libhal_ctx_new ();
16012 return libhal_ctx_new ();
16017 rm -f conftest.
$ac_objext conftest
$ac_exeext
16018 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
16019 (eval $ac_link) 2>conftest.er1
16021 grep -v '^ *+' conftest.er1
>conftest.err
16023 cat conftest.err
>&5
16024 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16025 (exit $ac_status); } &&
16026 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
16027 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16028 (eval $ac_try) 2>&5
16030 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16031 (exit $ac_status); }; } &&
16032 { ac_try
='test -s conftest$ac_exeext'
16033 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16034 (eval $ac_try) 2>&5
16036 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16037 (exit $ac_status); }; }; then
16038 ac_cv_lib_soname_hal
=`$ac_cv_path_LDD conftest$ac_exeext | grep libhal\\.$LIBEXT | sed -e "s/^.*\(libhal\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
16039 if test "x$ac_cv_lib_soname_hal" = "x"
16041 ac_cv_lib_soname_hal
="libhal.$LIBEXT"
16044 echo "$as_me: failed program was:" >&5
16045 sed 's/^/| /' conftest.
$ac_ext >&5
16047 ac_cv_lib_soname_hal
="libhal.$LIBEXT"
16050 rm -f conftest.err conftest.
$ac_objext \
16051 conftest
$ac_exeext conftest.
$ac_ext
16052 LIBS
=$ac_get_soname_save_LIBS
16054 { echo "$as_me:$LINENO: result: $ac_cv_lib_soname_hal" >&5
16055 echo "${ECHO_T}$ac_cv_lib_soname_hal" >&6; }
16056 if test "${ac_cv_lib_soname_hal+set}" = set; then
16058 cat >>confdefs.h
<<_ACEOF
16059 #define SONAME_LIBHAL "$ac_cv_lib_soname_hal"
16064 { echo "$as_me:$LINENO: checking for -ltxc_dxtn soname" >&5
16065 echo $ECHO_N "checking for -ltxc_dxtn soname... $ECHO_C" >&6; }
16066 if test "${ac_cv_lib_soname_txc_dxtn+set}" = set; then
16067 echo $ECHO_N "(cached) $ECHO_C" >&6
16069 ac_get_soname_save_LIBS
=$LIBS
16070 LIBS
="-ltxc_dxtn $LIBS"
16071 cat >conftest.
$ac_ext <<_ACEOF
16074 cat confdefs.h
>>conftest.
$ac_ext
16075 cat >>conftest.
$ac_ext <<_ACEOF
16076 /* end confdefs.h. */
16078 /* Override any GCC internal prototype to avoid an error.
16079 Use char because int might match the return type of a GCC
16080 builtin and then its argument prototype would still apply. */
16084 char fetch_2d_texel_rgba_dxt1 ();
16088 return fetch_2d_texel_rgba_dxt1 ();
16093 rm -f conftest.
$ac_objext conftest
$ac_exeext
16094 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
16095 (eval $ac_link) 2>conftest.er1
16097 grep -v '^ *+' conftest.er1
>conftest.err
16099 cat conftest.err
>&5
16100 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16101 (exit $ac_status); } &&
16102 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
16103 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16104 (eval $ac_try) 2>&5
16106 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16107 (exit $ac_status); }; } &&
16108 { ac_try
='test -s conftest$ac_exeext'
16109 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16110 (eval $ac_try) 2>&5
16112 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16113 (exit $ac_status); }; }; then
16114 ac_cv_lib_soname_txc_dxtn
=`$ac_cv_path_LDD conftest$ac_exeext | grep libtxc_dxtn\\.$LIBEXT | sed -e "s/^.*\(libtxc_dxtn\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
16115 if test "x$ac_cv_lib_soname_txc_dxtn" = "x"
16117 ac_cv_lib_soname_txc_dxtn
="libtxc_dxtn.$LIBEXT"
16120 echo "$as_me: failed program was:" >&5
16121 sed 's/^/| /' conftest.
$ac_ext >&5
16123 ac_cv_lib_soname_txc_dxtn
="libtxc_dxtn.$LIBEXT"
16126 rm -f conftest.err conftest.
$ac_objext \
16127 conftest
$ac_exeext conftest.
$ac_ext
16128 LIBS
=$ac_get_soname_save_LIBS
16130 { echo "$as_me:$LINENO: result: $ac_cv_lib_soname_txc_dxtn" >&5
16131 echo "${ECHO_T}$ac_cv_lib_soname_txc_dxtn" >&6; }
16132 if test "${ac_cv_lib_soname_txc_dxtn+set}" = set; then
16134 cat >>confdefs.h
<<_ACEOF
16135 #define SONAME_LIBTXC_DXTN "$ac_cv_lib_soname_txc_dxtn"
16140 { echo "$as_me:$LINENO: checking for -lcups soname" >&5
16141 echo $ECHO_N "checking for -lcups soname... $ECHO_C" >&6; }
16142 if test "${ac_cv_lib_soname_cups+set}" = set; then
16143 echo $ECHO_N "(cached) $ECHO_C" >&6
16145 ac_get_soname_save_LIBS
=$LIBS
16146 LIBS
="-lcups $LIBS"
16147 cat >conftest.
$ac_ext <<_ACEOF
16150 cat confdefs.h
>>conftest.
$ac_ext
16151 cat >>conftest.
$ac_ext <<_ACEOF
16152 /* end confdefs.h. */
16154 /* Override any GCC internal prototype to avoid an error.
16155 Use char because int might match the return type of a GCC
16156 builtin and then its argument prototype would still apply. */
16160 char cupsGetDefault ();
16164 return cupsGetDefault ();
16169 rm -f conftest.
$ac_objext conftest
$ac_exeext
16170 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
16171 (eval $ac_link) 2>conftest.er1
16173 grep -v '^ *+' conftest.er1
>conftest.err
16175 cat conftest.err
>&5
16176 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16177 (exit $ac_status); } &&
16178 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
16179 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16180 (eval $ac_try) 2>&5
16182 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16183 (exit $ac_status); }; } &&
16184 { ac_try
='test -s conftest$ac_exeext'
16185 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16186 (eval $ac_try) 2>&5
16188 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16189 (exit $ac_status); }; }; then
16190 ac_cv_lib_soname_cups
=`$ac_cv_path_LDD conftest$ac_exeext | grep libcups\\.$LIBEXT | sed -e "s/^.*\(libcups\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
16191 if test "x$ac_cv_lib_soname_cups" = "x"
16193 ac_cv_lib_soname_cups
="libcups.$LIBEXT"
16196 echo "$as_me: failed program was:" >&5
16197 sed 's/^/| /' conftest.
$ac_ext >&5
16199 ac_cv_lib_soname_cups
="libcups.$LIBEXT"
16202 rm -f conftest.err conftest.
$ac_objext \
16203 conftest
$ac_exeext conftest.
$ac_ext
16204 LIBS
=$ac_get_soname_save_LIBS
16206 { echo "$as_me:$LINENO: result: $ac_cv_lib_soname_cups" >&5
16207 echo "${ECHO_T}$ac_cv_lib_soname_cups" >&6; }
16208 if test "${ac_cv_lib_soname_cups+set}" = set; then
16210 cat >>confdefs.h
<<_ACEOF
16211 #define SONAME_LIBCUPS "$ac_cv_lib_soname_cups"
16216 { echo "$as_me:$LINENO: checking for -ljack soname" >&5
16217 echo $ECHO_N "checking for -ljack soname... $ECHO_C" >&6; }
16218 if test "${ac_cv_lib_soname_jack+set}" = set; then
16219 echo $ECHO_N "(cached) $ECHO_C" >&6
16221 ac_get_soname_save_LIBS
=$LIBS
16222 LIBS
="-ljack $LIBS"
16223 cat >conftest.
$ac_ext <<_ACEOF
16226 cat confdefs.h
>>conftest.
$ac_ext
16227 cat >>conftest.
$ac_ext <<_ACEOF
16228 /* end confdefs.h. */
16230 /* Override any GCC internal prototype to avoid an error.
16231 Use char because int might match the return type of a GCC
16232 builtin and then its argument prototype would still apply. */
16236 char jack_client_new ();
16240 return jack_client_new ();
16245 rm -f conftest.
$ac_objext conftest
$ac_exeext
16246 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
16247 (eval $ac_link) 2>conftest.er1
16249 grep -v '^ *+' conftest.er1
>conftest.err
16251 cat conftest.err
>&5
16252 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16253 (exit $ac_status); } &&
16254 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
16255 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16256 (eval $ac_try) 2>&5
16258 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16259 (exit $ac_status); }; } &&
16260 { ac_try
='test -s conftest$ac_exeext'
16261 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16262 (eval $ac_try) 2>&5
16264 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16265 (exit $ac_status); }; }; then
16266 ac_cv_lib_soname_jack
=`$ac_cv_path_LDD conftest$ac_exeext | grep libjack\\.$LIBEXT | sed -e "s/^.*\(libjack\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
16267 if test "x$ac_cv_lib_soname_jack" = "x"
16269 ac_cv_lib_soname_jack
="libjack.$LIBEXT"
16272 echo "$as_me: failed program was:" >&5
16273 sed 's/^/| /' conftest.
$ac_ext >&5
16275 ac_cv_lib_soname_jack
="libjack.$LIBEXT"
16278 rm -f conftest.err conftest.
$ac_objext \
16279 conftest
$ac_exeext conftest.
$ac_ext
16280 LIBS
=$ac_get_soname_save_LIBS
16282 { echo "$as_me:$LINENO: result: $ac_cv_lib_soname_jack" >&5
16283 echo "${ECHO_T}$ac_cv_lib_soname_jack" >&6; }
16284 if test "${ac_cv_lib_soname_jack+set}" = set; then
16286 cat >>confdefs.h
<<_ACEOF
16287 #define SONAME_LIBJACK "$ac_cv_lib_soname_jack"
16292 { echo "$as_me:$LINENO: checking for -lfontconfig soname" >&5
16293 echo $ECHO_N "checking for -lfontconfig soname... $ECHO_C" >&6; }
16294 if test "${ac_cv_lib_soname_fontconfig+set}" = set; then
16295 echo $ECHO_N "(cached) $ECHO_C" >&6
16297 ac_get_soname_save_LIBS
=$LIBS
16298 LIBS
="-lfontconfig $LIBS"
16299 cat >conftest.
$ac_ext <<_ACEOF
16302 cat confdefs.h
>>conftest.
$ac_ext
16303 cat >>conftest.
$ac_ext <<_ACEOF
16304 /* end confdefs.h. */
16306 /* Override any GCC internal prototype to avoid an error.
16307 Use char because int might match the return type of a GCC
16308 builtin and then its argument prototype would still apply. */
16321 rm -f conftest.
$ac_objext conftest
$ac_exeext
16322 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
16323 (eval $ac_link) 2>conftest.er1
16325 grep -v '^ *+' conftest.er1
>conftest.err
16327 cat conftest.err
>&5
16328 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16329 (exit $ac_status); } &&
16330 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
16331 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16332 (eval $ac_try) 2>&5
16334 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16335 (exit $ac_status); }; } &&
16336 { ac_try
='test -s conftest$ac_exeext'
16337 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16338 (eval $ac_try) 2>&5
16340 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16341 (exit $ac_status); }; }; then
16342 ac_cv_lib_soname_fontconfig
=`$ac_cv_path_LDD conftest$ac_exeext | grep libfontconfig\\.$LIBEXT | sed -e "s/^.*\(libfontconfig\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
16343 if test "x$ac_cv_lib_soname_fontconfig" = "x"
16345 ac_cv_lib_soname_fontconfig
="libfontconfig.$LIBEXT"
16348 echo "$as_me: failed program was:" >&5
16349 sed 's/^/| /' conftest.
$ac_ext >&5
16351 ac_cv_lib_soname_fontconfig
="libfontconfig.$LIBEXT"
16354 rm -f conftest.err conftest.
$ac_objext \
16355 conftest
$ac_exeext conftest.
$ac_ext
16356 LIBS
=$ac_get_soname_save_LIBS
16358 { echo "$as_me:$LINENO: result: $ac_cv_lib_soname_fontconfig" >&5
16359 echo "${ECHO_T}$ac_cv_lib_soname_fontconfig" >&6; }
16360 if test "${ac_cv_lib_soname_fontconfig+set}" = set; then
16362 cat >>confdefs.h
<<_ACEOF
16363 #define SONAME_LIBFONTCONFIG "$ac_cv_lib_soname_fontconfig"
16368 { echo "$as_me:$LINENO: checking for -lssl soname" >&5
16369 echo $ECHO_N "checking for -lssl soname... $ECHO_C" >&6; }
16370 if test "${ac_cv_lib_soname_ssl+set}" = set; then
16371 echo $ECHO_N "(cached) $ECHO_C" >&6
16373 ac_get_soname_save_LIBS
=$LIBS
16375 cat >conftest.
$ac_ext <<_ACEOF
16378 cat confdefs.h
>>conftest.
$ac_ext
16379 cat >>conftest.
$ac_ext <<_ACEOF
16380 /* end confdefs.h. */
16382 /* Override any GCC internal prototype to avoid an error.
16383 Use char because int might match the return type of a GCC
16384 builtin and then its argument prototype would still apply. */
16388 char SSL_library_init ();
16392 return SSL_library_init ();
16397 rm -f conftest.
$ac_objext conftest
$ac_exeext
16398 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
16399 (eval $ac_link) 2>conftest.er1
16401 grep -v '^ *+' conftest.er1
>conftest.err
16403 cat conftest.err
>&5
16404 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16405 (exit $ac_status); } &&
16406 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
16407 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16408 (eval $ac_try) 2>&5
16410 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16411 (exit $ac_status); }; } &&
16412 { ac_try
='test -s conftest$ac_exeext'
16413 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16414 (eval $ac_try) 2>&5
16416 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16417 (exit $ac_status); }; }; then
16418 ac_cv_lib_soname_ssl
=`$ac_cv_path_LDD conftest$ac_exeext | grep libssl\\.$LIBEXT | sed -e "s/^.*\(libssl\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
16419 if test "x$ac_cv_lib_soname_ssl" = "x"
16421 ac_cv_lib_soname_ssl
="libssl.$LIBEXT"
16424 echo "$as_me: failed program was:" >&5
16425 sed 's/^/| /' conftest.
$ac_ext >&5
16427 ac_cv_lib_soname_ssl
="libssl.$LIBEXT"
16430 rm -f conftest.err conftest.
$ac_objext \
16431 conftest
$ac_exeext conftest.
$ac_ext
16432 LIBS
=$ac_get_soname_save_LIBS
16434 { echo "$as_me:$LINENO: result: $ac_cv_lib_soname_ssl" >&5
16435 echo "${ECHO_T}$ac_cv_lib_soname_ssl" >&6; }
16436 if test "${ac_cv_lib_soname_ssl+set}" = set; then
16438 cat >>confdefs.h
<<_ACEOF
16439 #define SONAME_LIBSSL "$ac_cv_lib_soname_ssl"
16444 { echo "$as_me:$LINENO: checking for -lcrypto soname" >&5
16445 echo $ECHO_N "checking for -lcrypto soname... $ECHO_C" >&6; }
16446 if test "${ac_cv_lib_soname_crypto+set}" = set; then
16447 echo $ECHO_N "(cached) $ECHO_C" >&6
16449 ac_get_soname_save_LIBS
=$LIBS
16450 LIBS
="-lcrypto $LIBS"
16451 cat >conftest.
$ac_ext <<_ACEOF
16454 cat confdefs.h
>>conftest.
$ac_ext
16455 cat >>conftest.
$ac_ext <<_ACEOF
16456 /* end confdefs.h. */
16458 /* Override any GCC internal prototype to avoid an error.
16459 Use char because int might match the return type of a GCC
16460 builtin and then its argument prototype would still apply. */
16464 char BIO_new_socket ();
16468 return BIO_new_socket ();
16473 rm -f conftest.
$ac_objext conftest
$ac_exeext
16474 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
16475 (eval $ac_link) 2>conftest.er1
16477 grep -v '^ *+' conftest.er1
>conftest.err
16479 cat conftest.err
>&5
16480 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16481 (exit $ac_status); } &&
16482 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
16483 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16484 (eval $ac_try) 2>&5
16486 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16487 (exit $ac_status); }; } &&
16488 { ac_try
='test -s conftest$ac_exeext'
16489 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16490 (eval $ac_try) 2>&5
16492 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16493 (exit $ac_status); }; }; then
16494 ac_cv_lib_soname_crypto
=`$ac_cv_path_LDD conftest$ac_exeext | grep libcrypto\\.$LIBEXT | sed -e "s/^.*\(libcrypto\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
16495 if test "x$ac_cv_lib_soname_crypto" = "x"
16497 ac_cv_lib_soname_crypto
="libcrypto.$LIBEXT"
16500 echo "$as_me: failed program was:" >&5
16501 sed 's/^/| /' conftest.
$ac_ext >&5
16503 ac_cv_lib_soname_crypto
="libcrypto.$LIBEXT"
16506 rm -f conftest.err conftest.
$ac_objext \
16507 conftest
$ac_exeext conftest.
$ac_ext
16508 LIBS
=$ac_get_soname_save_LIBS
16510 { echo "$as_me:$LINENO: result: $ac_cv_lib_soname_crypto" >&5
16511 echo "${ECHO_T}$ac_cv_lib_soname_crypto" >&6; }
16512 if test "${ac_cv_lib_soname_crypto+set}" = set; then
16514 cat >>confdefs.h
<<_ACEOF
16515 #define SONAME_LIBCRYPTO "$ac_cv_lib_soname_crypto"
16520 { echo "$as_me:$LINENO: checking for -lncurses soname" >&5
16521 echo $ECHO_N "checking for -lncurses soname... $ECHO_C" >&6; }
16522 if test "${ac_cv_lib_soname_ncurses+set}" = set; then
16523 echo $ECHO_N "(cached) $ECHO_C" >&6
16525 ac_get_soname_save_LIBS
=$LIBS
16526 LIBS
="-lncurses $LIBS"
16527 cat >conftest.
$ac_ext <<_ACEOF
16530 cat confdefs.h
>>conftest.
$ac_ext
16531 cat >>conftest.
$ac_ext <<_ACEOF
16532 /* end confdefs.h. */
16534 /* Override any GCC internal prototype to avoid an error.
16535 Use char because int might match the return type of a GCC
16536 builtin and then its argument prototype would still apply. */
16549 rm -f conftest.
$ac_objext conftest
$ac_exeext
16550 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
16551 (eval $ac_link) 2>conftest.er1
16553 grep -v '^ *+' conftest.er1
>conftest.err
16555 cat conftest.err
>&5
16556 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16557 (exit $ac_status); } &&
16558 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
16559 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16560 (eval $ac_try) 2>&5
16562 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16563 (exit $ac_status); }; } &&
16564 { ac_try
='test -s conftest$ac_exeext'
16565 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16566 (eval $ac_try) 2>&5
16568 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16569 (exit $ac_status); }; }; then
16570 ac_cv_lib_soname_ncurses
=`$ac_cv_path_LDD conftest$ac_exeext | grep libncurses\\.$LIBEXT | sed -e "s/^.*\(libncurses\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
16571 if test "x$ac_cv_lib_soname_ncurses" = "x"
16573 ac_cv_lib_soname_ncurses
="libncurses.$LIBEXT"
16576 echo "$as_me: failed program was:" >&5
16577 sed 's/^/| /' conftest.
$ac_ext >&5
16579 ac_cv_lib_soname_ncurses
="libncurses.$LIBEXT"
16582 rm -f conftest.err conftest.
$ac_objext \
16583 conftest
$ac_exeext conftest.
$ac_ext
16584 LIBS
=$ac_get_soname_save_LIBS
16586 { echo "$as_me:$LINENO: result: $ac_cv_lib_soname_ncurses" >&5
16587 echo "${ECHO_T}$ac_cv_lib_soname_ncurses" >&6; }
16588 if test "${ac_cv_lib_soname_ncurses+set}" = set; then
16590 cat >>confdefs.h
<<_ACEOF
16591 #define SONAME_LIBNCURSES "$ac_cv_lib_soname_ncurses"
16596 { echo "$as_me:$LINENO: checking for -lcurses soname" >&5
16597 echo $ECHO_N "checking for -lcurses soname... $ECHO_C" >&6; }
16598 if test "${ac_cv_lib_soname_curses+set}" = set; then
16599 echo $ECHO_N "(cached) $ECHO_C" >&6
16601 ac_get_soname_save_LIBS
=$LIBS
16602 LIBS
="-lcurses $LIBS"
16603 cat >conftest.
$ac_ext <<_ACEOF
16606 cat confdefs.h
>>conftest.
$ac_ext
16607 cat >>conftest.
$ac_ext <<_ACEOF
16608 /* end confdefs.h. */
16610 /* Override any GCC internal prototype to avoid an error.
16611 Use char because int might match the return type of a GCC
16612 builtin and then its argument prototype would still apply. */
16625 rm -f conftest.
$ac_objext conftest
$ac_exeext
16626 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
16627 (eval $ac_link) 2>conftest.er1
16629 grep -v '^ *+' conftest.er1
>conftest.err
16631 cat conftest.err
>&5
16632 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16633 (exit $ac_status); } &&
16634 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
16635 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16636 (eval $ac_try) 2>&5
16638 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16639 (exit $ac_status); }; } &&
16640 { ac_try
='test -s conftest$ac_exeext'
16641 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16642 (eval $ac_try) 2>&5
16644 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16645 (exit $ac_status); }; }; then
16646 ac_cv_lib_soname_curses
=`$ac_cv_path_LDD conftest$ac_exeext | grep libcurses\\.$LIBEXT | sed -e "s/^.*\(libcurses\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
16647 if test "x$ac_cv_lib_soname_curses" = "x"
16649 ac_cv_lib_soname_curses
="libcurses.$LIBEXT"
16652 echo "$as_me: failed program was:" >&5
16653 sed 's/^/| /' conftest.
$ac_ext >&5
16655 ac_cv_lib_soname_curses
="libcurses.$LIBEXT"
16658 rm -f conftest.err conftest.
$ac_objext \
16659 conftest
$ac_exeext conftest.
$ac_ext
16660 LIBS
=$ac_get_soname_save_LIBS
16662 { echo "$as_me:$LINENO: result: $ac_cv_lib_soname_curses" >&5
16663 echo "${ECHO_T}$ac_cv_lib_soname_curses" >&6; }
16664 if test "${ac_cv_lib_soname_curses+set}" = set; then
16666 cat >>confdefs.h
<<_ACEOF
16667 #define SONAME_LIBCURSES "$ac_cv_lib_soname_curses"
16672 { echo "$as_me:$LINENO: checking for -ljpeg soname" >&5
16673 echo $ECHO_N "checking for -ljpeg soname... $ECHO_C" >&6; }
16674 if test "${ac_cv_lib_soname_jpeg+set}" = set; then
16675 echo $ECHO_N "(cached) $ECHO_C" >&6
16677 ac_get_soname_save_LIBS
=$LIBS
16678 LIBS
="-ljpeg $LIBS"
16679 cat >conftest.
$ac_ext <<_ACEOF
16682 cat confdefs.h
>>conftest.
$ac_ext
16683 cat >>conftest.
$ac_ext <<_ACEOF
16684 /* end confdefs.h. */
16686 /* Override any GCC internal prototype to avoid an error.
16687 Use char because int might match the return type of a GCC
16688 builtin and then its argument prototype would still apply. */
16692 char jpeg_start_decompress ();
16696 return jpeg_start_decompress ();
16701 rm -f conftest.
$ac_objext conftest
$ac_exeext
16702 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
16703 (eval $ac_link) 2>conftest.er1
16705 grep -v '^ *+' conftest.er1
>conftest.err
16707 cat conftest.err
>&5
16708 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16709 (exit $ac_status); } &&
16710 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
16711 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16712 (eval $ac_try) 2>&5
16714 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16715 (exit $ac_status); }; } &&
16716 { ac_try
='test -s conftest$ac_exeext'
16717 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16718 (eval $ac_try) 2>&5
16720 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16721 (exit $ac_status); }; }; then
16722 ac_cv_lib_soname_jpeg
=`$ac_cv_path_LDD conftest$ac_exeext | grep libjpeg\\.$LIBEXT | sed -e "s/^.*\(libjpeg\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
16723 if test "x$ac_cv_lib_soname_jpeg" = "x"
16725 ac_cv_lib_soname_jpeg
="libjpeg.$LIBEXT"
16728 echo "$as_me: failed program was:" >&5
16729 sed 's/^/| /' conftest.
$ac_ext >&5
16731 ac_cv_lib_soname_jpeg
="libjpeg.$LIBEXT"
16734 rm -f conftest.err conftest.
$ac_objext \
16735 conftest
$ac_exeext conftest.
$ac_ext
16736 LIBS
=$ac_get_soname_save_LIBS
16738 { echo "$as_me:$LINENO: result: $ac_cv_lib_soname_jpeg" >&5
16739 echo "${ECHO_T}$ac_cv_lib_soname_jpeg" >&6; }
16740 if test "${ac_cv_lib_soname_jpeg+set}" = set; then
16742 cat >>confdefs.h
<<_ACEOF
16743 #define SONAME_LIBJPEG "$ac_cv_lib_soname_jpeg"
16748 { echo "$as_me:$LINENO: checking for -lungif soname" >&5
16749 echo $ECHO_N "checking for -lungif soname... $ECHO_C" >&6; }
16750 if test "${ac_cv_lib_soname_ungif+set}" = set; then
16751 echo $ECHO_N "(cached) $ECHO_C" >&6
16753 ac_get_soname_save_LIBS
=$LIBS
16754 LIBS
="-lungif $LIBS"
16755 cat >conftest.
$ac_ext <<_ACEOF
16758 cat confdefs.h
>>conftest.
$ac_ext
16759 cat >>conftest.
$ac_ext <<_ACEOF
16760 /* end confdefs.h. */
16762 /* Override any GCC internal prototype to avoid an error.
16763 Use char because int might match the return type of a GCC
16764 builtin and then its argument prototype would still apply. */
16772 return DGifOpen ();
16777 rm -f conftest.
$ac_objext conftest
$ac_exeext
16778 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
16779 (eval $ac_link) 2>conftest.er1
16781 grep -v '^ *+' conftest.er1
>conftest.err
16783 cat conftest.err
>&5
16784 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16785 (exit $ac_status); } &&
16786 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
16787 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16788 (eval $ac_try) 2>&5
16790 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16791 (exit $ac_status); }; } &&
16792 { ac_try
='test -s conftest$ac_exeext'
16793 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16794 (eval $ac_try) 2>&5
16796 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16797 (exit $ac_status); }; }; then
16798 ac_cv_lib_soname_ungif
=`$ac_cv_path_LDD conftest$ac_exeext | grep libungif\\.$LIBEXT | sed -e "s/^.*\(libungif\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
16799 if test "x$ac_cv_lib_soname_ungif" = "x"
16801 ac_cv_lib_soname_ungif
="libungif.$LIBEXT"
16804 echo "$as_me: failed program was:" >&5
16805 sed 's/^/| /' conftest.
$ac_ext >&5
16807 ac_cv_lib_soname_ungif
="libungif.$LIBEXT"
16810 rm -f conftest.err conftest.
$ac_objext \
16811 conftest
$ac_exeext conftest.
$ac_ext
16812 LIBS
=$ac_get_soname_save_LIBS
16814 { echo "$as_me:$LINENO: result: $ac_cv_lib_soname_ungif" >&5
16815 echo "${ECHO_T}$ac_cv_lib_soname_ungif" >&6; }
16816 if test "${ac_cv_lib_soname_ungif+set}" = set; then
16818 cat >>confdefs.h
<<_ACEOF
16819 #define SONAME_LIBUNGIF "$ac_cv_lib_soname_ungif"
16824 { echo "$as_me:$LINENO: checking for -lgif soname" >&5
16825 echo $ECHO_N "checking for -lgif soname... $ECHO_C" >&6; }
16826 if test "${ac_cv_lib_soname_gif+set}" = set; then
16827 echo $ECHO_N "(cached) $ECHO_C" >&6
16829 ac_get_soname_save_LIBS
=$LIBS
16831 cat >conftest.
$ac_ext <<_ACEOF
16834 cat confdefs.h
>>conftest.
$ac_ext
16835 cat >>conftest.
$ac_ext <<_ACEOF
16836 /* end confdefs.h. */
16838 /* Override any GCC internal prototype to avoid an error.
16839 Use char because int might match the return type of a GCC
16840 builtin and then its argument prototype would still apply. */
16848 return DGifOpen ();
16853 rm -f conftest.
$ac_objext conftest
$ac_exeext
16854 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
16855 (eval $ac_link) 2>conftest.er1
16857 grep -v '^ *+' conftest.er1
>conftest.err
16859 cat conftest.err
>&5
16860 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16861 (exit $ac_status); } &&
16862 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
16863 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16864 (eval $ac_try) 2>&5
16866 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16867 (exit $ac_status); }; } &&
16868 { ac_try
='test -s conftest$ac_exeext'
16869 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16870 (eval $ac_try) 2>&5
16872 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16873 (exit $ac_status); }; }; then
16874 ac_cv_lib_soname_gif
=`$ac_cv_path_LDD conftest$ac_exeext | grep libgif\\.$LIBEXT | sed -e "s/^.*\(libgif\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
16875 if test "x$ac_cv_lib_soname_gif" = "x"
16877 ac_cv_lib_soname_gif
="libgif.$LIBEXT"
16880 echo "$as_me: failed program was:" >&5
16881 sed 's/^/| /' conftest.
$ac_ext >&5
16883 ac_cv_lib_soname_gif
="libgif.$LIBEXT"
16886 rm -f conftest.err conftest.
$ac_objext \
16887 conftest
$ac_exeext conftest.
$ac_ext
16888 LIBS
=$ac_get_soname_save_LIBS
16890 { echo "$as_me:$LINENO: result: $ac_cv_lib_soname_gif" >&5
16891 echo "${ECHO_T}$ac_cv_lib_soname_gif" >&6; }
16892 if test "${ac_cv_lib_soname_gif+set}" = set; then
16894 cat >>confdefs.h
<<_ACEOF
16895 #define SONAME_LIBGIF "$ac_cv_lib_soname_gif"
16900 { echo "$as_me:$LINENO: checking for -lcapi20 soname" >&5
16901 echo $ECHO_N "checking for -lcapi20 soname... $ECHO_C" >&6; }
16902 if test "${ac_cv_lib_soname_capi20+set}" = set; then
16903 echo $ECHO_N "(cached) $ECHO_C" >&6
16905 ac_get_soname_save_LIBS
=$LIBS
16906 LIBS
="-lcapi20 $LIBS"
16907 cat >conftest.
$ac_ext <<_ACEOF
16910 cat confdefs.h
>>conftest.
$ac_ext
16911 cat >>conftest.
$ac_ext <<_ACEOF
16912 /* end confdefs.h. */
16914 /* Override any GCC internal prototype to avoid an error.
16915 Use char because int might match the return type of a GCC
16916 builtin and then its argument prototype would still apply. */
16920 char capi20_isinstalled ();
16924 return capi20_isinstalled ();
16929 rm -f conftest.
$ac_objext conftest
$ac_exeext
16930 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
16931 (eval $ac_link) 2>conftest.er1
16933 grep -v '^ *+' conftest.er1
>conftest.err
16935 cat conftest.err
>&5
16936 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16937 (exit $ac_status); } &&
16938 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
16939 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16940 (eval $ac_try) 2>&5
16942 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16943 (exit $ac_status); }; } &&
16944 { ac_try
='test -s conftest$ac_exeext'
16945 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16946 (eval $ac_try) 2>&5
16948 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16949 (exit $ac_status); }; }; then
16950 ac_cv_lib_soname_capi20
=`$ac_cv_path_LDD conftest$ac_exeext | grep libcapi20\\.$LIBEXT | sed -e "s/^.*\(libcapi20\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
16951 if test "x$ac_cv_lib_soname_capi20" = "x"
16953 ac_cv_lib_soname_capi20
="libcapi20.$LIBEXT"
16956 echo "$as_me: failed program was:" >&5
16957 sed 's/^/| /' conftest.
$ac_ext >&5
16959 ac_cv_lib_soname_capi20
="libcapi20.$LIBEXT"
16962 rm -f conftest.err conftest.
$ac_objext \
16963 conftest
$ac_exeext conftest.
$ac_ext
16964 LIBS
=$ac_get_soname_save_LIBS
16966 { echo "$as_me:$LINENO: result: $ac_cv_lib_soname_capi20" >&5
16967 echo "${ECHO_T}$ac_cv_lib_soname_capi20" >&6; }
16968 if test "${ac_cv_lib_soname_capi20+set}" = set; then
16970 cat >>confdefs.h
<<_ACEOF
16971 #define SONAME_LIBCAPI20 "$ac_cv_lib_soname_capi20"
17111 as_ac_var
=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
17112 { echo "$as_me:$LINENO: checking for $ac_func" >&5
17113 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; }
17114 if { as_var
=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
17115 echo $ECHO_N "(cached) $ECHO_C" >&6
17117 cat >conftest.
$ac_ext <<_ACEOF
17120 cat confdefs.h
>>conftest.
$ac_ext
17121 cat >>conftest.
$ac_ext <<_ACEOF
17122 /* end confdefs.h. */
17123 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
17124 For example, HP-UX 11i <limits.h> declares gettimeofday. */
17125 #define $ac_func innocuous_$ac_func
17127 /* System header to define __stub macros and hopefully few prototypes,
17128 which can conflict with char $ac_func (); below.
17129 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
17130 <limits.h> exists even on freestanding compilers. */
17133 # include <limits.h>
17135 # include <assert.h>
17140 /* Override any GCC internal prototype to avoid an error.
17141 Use char because int might match the return type of a GCC
17142 builtin and then its argument prototype would still apply. */
17147 /* The GNU C library defines this for functions which it implements
17148 to always fail with ENOSYS. Some functions are actually named
17149 something starting with __ and the normal name is an alias. */
17150 #if defined __stub_$ac_func || defined __stub___$ac_func
17157 return $ac_func ();
17162 rm -f conftest.
$ac_objext conftest
$ac_exeext
17163 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
17164 (eval $ac_link) 2>conftest.er1
17166 grep -v '^ *+' conftest.er1
>conftest.err
17168 cat conftest.err
>&5
17169 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17170 (exit $ac_status); } &&
17171 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
17172 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17173 (eval $ac_try) 2>&5
17175 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17176 (exit $ac_status); }; } &&
17177 { ac_try
='test -s conftest$ac_exeext'
17178 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17179 (eval $ac_try) 2>&5
17181 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17182 (exit $ac_status); }; }; then
17183 eval "$as_ac_var=yes"
17185 echo "$as_me: failed program was:" >&5
17186 sed 's/^/| /' conftest.
$ac_ext >&5
17188 eval "$as_ac_var=no"
17191 rm -f conftest.err conftest.
$ac_objext \
17192 conftest
$ac_exeext conftest.
$ac_ext
17194 ac_res
=`eval echo '${'$as_ac_var'}'`
17195 { echo "$as_me:$LINENO: result: $ac_res" >&5
17196 echo "${ECHO_T}$ac_res" >&6; }
17197 if test `eval echo '${'$as_ac_var'}'` = yes; then
17198 cat >>confdefs.h
<<_ACEOF
17199 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
17208 { echo "$as_me:$LINENO: checking for an ANSI C-conforming const" >&5
17209 echo $ECHO_N "checking for an ANSI C-conforming const... $ECHO_C" >&6; }
17210 if test "${ac_cv_c_const+set}" = set; then
17211 echo $ECHO_N "(cached) $ECHO_C" >&6
17213 cat >conftest.
$ac_ext <<_ACEOF
17216 cat confdefs.h
>>conftest.
$ac_ext
17217 cat >>conftest.
$ac_ext <<_ACEOF
17218 /* end confdefs.h. */
17223 /* FIXME: Include the comments suggested by Paul. */
17224 #ifndef __cplusplus
17225 /* Ultrix mips cc rejects this. */
17226 typedef int charset[2];
17228 /* SunOS 4.1.1 cc rejects this. */
17229 char const *const *ccp;
17231 /* NEC SVR4.0.2 mips cc rejects this. */
17232 struct point {int x, y;};
17233 static struct point const zero = {0,0};
17234 /* AIX XL C 1.02.0.0 rejects this.
17235 It does not let you subtract one const X* pointer from another in
17236 an arm of an if-expression whose if-part is not a constant
17238 const char *g = "string";
17239 ccp = &g + (g ? g-g : 0);
17240 /* HPUX 7.0 cc rejects these. */
17243 ccp = (char const *const *) p;
17244 { /* SCO 3.2v4 cc rejects this. */
17246 char const *s = 0 ? (char *) 0 : (char const *) 0;
17251 { /* Someone thinks the Sun supposedly-ANSI compiler will reject this. */
17252 int x[] = {25, 17};
17253 const int *foo = &x[0];
17256 { /* Sun SC1.0 ANSI compiler rejects this -- but not the above. */
17257 typedef const int *iptr;
17261 { /* AIX XL C 1.02.0.0 rejects this saying
17262 "k.c", line 2.27: 1506-025 (S) Operand must be a modifiable lvalue. */
17263 struct s { int j; const int *ap[3]; };
17264 struct s *b; b->j = 5;
17266 { /* ULTRIX-32 V3.1 (Rev 9) vcc rejects this */
17267 const int foo = 10;
17268 if (!foo) return 0;
17270 return !x[0] && !zero.x;
17277 rm -f conftest.
$ac_objext
17278 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
17279 (eval $ac_compile) 2>conftest.er1
17281 grep -v '^ *+' conftest.er1
>conftest.err
17283 cat conftest.err
>&5
17284 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17285 (exit $ac_status); } &&
17286 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
17287 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17288 (eval $ac_try) 2>&5
17290 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17291 (exit $ac_status); }; } &&
17292 { ac_try
='test -s conftest.$ac_objext'
17293 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17294 (eval $ac_try) 2>&5
17296 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17297 (exit $ac_status); }; }; then
17300 echo "$as_me: failed program was:" >&5
17301 sed 's/^/| /' conftest.
$ac_ext >&5
17306 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
17308 { echo "$as_me:$LINENO: result: $ac_cv_c_const" >&5
17309 echo "${ECHO_T}$ac_cv_c_const" >&6; }
17310 if test $ac_cv_c_const = no
; then
17312 cat >>confdefs.h
<<\_ACEOF
17318 { echo "$as_me:$LINENO: checking for inline" >&5
17319 echo $ECHO_N "checking for inline... $ECHO_C" >&6; }
17320 if test "${ac_cv_c_inline+set}" = set; then
17321 echo $ECHO_N "(cached) $ECHO_C" >&6
17324 for ac_kw
in inline __inline__ __inline
; do
17325 cat >conftest.
$ac_ext <<_ACEOF
17328 cat confdefs.h
>>conftest.
$ac_ext
17329 cat >>conftest.
$ac_ext <<_ACEOF
17330 /* end confdefs.h. */
17331 #ifndef __cplusplus
17333 static $ac_kw foo_t static_foo () {return 0; }
17334 $ac_kw foo_t foo () {return 0; }
17338 rm -f conftest.
$ac_objext
17339 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
17340 (eval $ac_compile) 2>conftest.er1
17342 grep -v '^ *+' conftest.er1
>conftest.err
17344 cat conftest.err
>&5
17345 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17346 (exit $ac_status); } &&
17347 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
17348 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17349 (eval $ac_try) 2>&5
17351 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17352 (exit $ac_status); }; } &&
17353 { ac_try
='test -s conftest.$ac_objext'
17354 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17355 (eval $ac_try) 2>&5
17357 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17358 (exit $ac_status); }; }; then
17359 ac_cv_c_inline
=$ac_kw
17361 echo "$as_me: failed program was:" >&5
17362 sed 's/^/| /' conftest.
$ac_ext >&5
17367 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
17368 test "$ac_cv_c_inline" != no
&& break
17372 { echo "$as_me:$LINENO: result: $ac_cv_c_inline" >&5
17373 echo "${ECHO_T}$ac_cv_c_inline" >&6; }
17376 case $ac_cv_c_inline in
17379 case $ac_cv_c_inline in
17381 *) ac_val
=$ac_cv_c_inline;;
17383 cat >>confdefs.h
<<_ACEOF
17384 #ifndef __cplusplus
17385 #define inline $ac_val
17391 { echo "$as_me:$LINENO: checking for mode_t" >&5
17392 echo $ECHO_N "checking for mode_t... $ECHO_C" >&6; }
17393 if test "${ac_cv_type_mode_t+set}" = set; then
17394 echo $ECHO_N "(cached) $ECHO_C" >&6
17396 cat >conftest.
$ac_ext <<_ACEOF
17399 cat confdefs.h
>>conftest.
$ac_ext
17400 cat >>conftest.
$ac_ext <<_ACEOF
17401 /* end confdefs.h. */
17402 $ac_includes_default
17403 typedef mode_t ac__type_new_;
17407 if ((ac__type_new_ *) 0)
17409 if (sizeof (ac__type_new_))
17415 rm -f conftest.
$ac_objext
17416 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
17417 (eval $ac_compile) 2>conftest.er1
17419 grep -v '^ *+' conftest.er1
>conftest.err
17421 cat conftest.err
>&5
17422 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17423 (exit $ac_status); } &&
17424 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
17425 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17426 (eval $ac_try) 2>&5
17428 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17429 (exit $ac_status); }; } &&
17430 { ac_try
='test -s conftest.$ac_objext'
17431 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17432 (eval $ac_try) 2>&5
17434 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17435 (exit $ac_status); }; }; then
17436 ac_cv_type_mode_t
=yes
17438 echo "$as_me: failed program was:" >&5
17439 sed 's/^/| /' conftest.
$ac_ext >&5
17441 ac_cv_type_mode_t
=no
17444 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
17446 { echo "$as_me:$LINENO: result: $ac_cv_type_mode_t" >&5
17447 echo "${ECHO_T}$ac_cv_type_mode_t" >&6; }
17448 if test $ac_cv_type_mode_t = yes; then
17450 cat >>confdefs.h
<<_ACEOF
17451 #define HAVE_MODE_T 1
17456 { echo "$as_me:$LINENO: checking for off_t" >&5
17457 echo $ECHO_N "checking for off_t... $ECHO_C" >&6; }
17458 if test "${ac_cv_type_off_t+set}" = set; then
17459 echo $ECHO_N "(cached) $ECHO_C" >&6
17461 cat >conftest.
$ac_ext <<_ACEOF
17464 cat confdefs.h
>>conftest.
$ac_ext
17465 cat >>conftest.
$ac_ext <<_ACEOF
17466 /* end confdefs.h. */
17467 $ac_includes_default
17468 typedef off_t ac__type_new_;
17472 if ((ac__type_new_ *) 0)
17474 if (sizeof (ac__type_new_))
17480 rm -f conftest.
$ac_objext
17481 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
17482 (eval $ac_compile) 2>conftest.er1
17484 grep -v '^ *+' conftest.er1
>conftest.err
17486 cat conftest.err
>&5
17487 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17488 (exit $ac_status); } &&
17489 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
17490 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17491 (eval $ac_try) 2>&5
17493 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17494 (exit $ac_status); }; } &&
17495 { ac_try
='test -s conftest.$ac_objext'
17496 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17497 (eval $ac_try) 2>&5
17499 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17500 (exit $ac_status); }; }; then
17501 ac_cv_type_off_t
=yes
17503 echo "$as_me: failed program was:" >&5
17504 sed 's/^/| /' conftest.
$ac_ext >&5
17506 ac_cv_type_off_t
=no
17509 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
17511 { echo "$as_me:$LINENO: result: $ac_cv_type_off_t" >&5
17512 echo "${ECHO_T}$ac_cv_type_off_t" >&6; }
17513 if test $ac_cv_type_off_t = yes; then
17515 cat >>confdefs.h
<<_ACEOF
17516 #define HAVE_OFF_T 1
17521 { echo "$as_me:$LINENO: checking for pid_t" >&5
17522 echo $ECHO_N "checking for pid_t... $ECHO_C" >&6; }
17523 if test "${ac_cv_type_pid_t+set}" = set; then
17524 echo $ECHO_N "(cached) $ECHO_C" >&6
17526 cat >conftest.
$ac_ext <<_ACEOF
17529 cat confdefs.h
>>conftest.
$ac_ext
17530 cat >>conftest.
$ac_ext <<_ACEOF
17531 /* end confdefs.h. */
17532 $ac_includes_default
17533 typedef pid_t ac__type_new_;
17537 if ((ac__type_new_ *) 0)
17539 if (sizeof (ac__type_new_))
17545 rm -f conftest.
$ac_objext
17546 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
17547 (eval $ac_compile) 2>conftest.er1
17549 grep -v '^ *+' conftest.er1
>conftest.err
17551 cat conftest.err
>&5
17552 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17553 (exit $ac_status); } &&
17554 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
17555 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17556 (eval $ac_try) 2>&5
17558 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17559 (exit $ac_status); }; } &&
17560 { ac_try
='test -s conftest.$ac_objext'
17561 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17562 (eval $ac_try) 2>&5
17564 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17565 (exit $ac_status); }; }; then
17566 ac_cv_type_pid_t
=yes
17568 echo "$as_me: failed program was:" >&5
17569 sed 's/^/| /' conftest.
$ac_ext >&5
17571 ac_cv_type_pid_t
=no
17574 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
17576 { echo "$as_me:$LINENO: result: $ac_cv_type_pid_t" >&5
17577 echo "${ECHO_T}$ac_cv_type_pid_t" >&6; }
17578 if test $ac_cv_type_pid_t = yes; then
17580 cat >>confdefs.h
<<_ACEOF
17581 #define HAVE_PID_T 1
17586 { echo "$as_me:$LINENO: checking for size_t" >&5
17587 echo $ECHO_N "checking for size_t... $ECHO_C" >&6; }
17588 if test "${ac_cv_type_size_t+set}" = set; then
17589 echo $ECHO_N "(cached) $ECHO_C" >&6
17591 cat >conftest.
$ac_ext <<_ACEOF
17594 cat confdefs.h
>>conftest.
$ac_ext
17595 cat >>conftest.
$ac_ext <<_ACEOF
17596 /* end confdefs.h. */
17597 $ac_includes_default
17598 typedef size_t ac__type_new_;
17602 if ((ac__type_new_ *) 0)
17604 if (sizeof (ac__type_new_))
17610 rm -f conftest.
$ac_objext
17611 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
17612 (eval $ac_compile) 2>conftest.er1
17614 grep -v '^ *+' conftest.er1
>conftest.err
17616 cat conftest.err
>&5
17617 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17618 (exit $ac_status); } &&
17619 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
17620 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17621 (eval $ac_try) 2>&5
17623 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17624 (exit $ac_status); }; } &&
17625 { ac_try
='test -s conftest.$ac_objext'
17626 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17627 (eval $ac_try) 2>&5
17629 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17630 (exit $ac_status); }; }; then
17631 ac_cv_type_size_t
=yes
17633 echo "$as_me: failed program was:" >&5
17634 sed 's/^/| /' conftest.
$ac_ext >&5
17636 ac_cv_type_size_t
=no
17639 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
17641 { echo "$as_me:$LINENO: result: $ac_cv_type_size_t" >&5
17642 echo "${ECHO_T}$ac_cv_type_size_t" >&6; }
17643 if test $ac_cv_type_size_t = yes; then
17645 cat >>confdefs.h
<<_ACEOF
17646 #define HAVE_SIZE_T 1
17651 { echo "$as_me:$LINENO: checking for ssize_t" >&5
17652 echo $ECHO_N "checking for ssize_t... $ECHO_C" >&6; }
17653 if test "${ac_cv_type_ssize_t+set}" = set; then
17654 echo $ECHO_N "(cached) $ECHO_C" >&6
17656 cat >conftest.
$ac_ext <<_ACEOF
17659 cat confdefs.h
>>conftest.
$ac_ext
17660 cat >>conftest.
$ac_ext <<_ACEOF
17661 /* end confdefs.h. */
17662 $ac_includes_default
17663 typedef ssize_t ac__type_new_;
17667 if ((ac__type_new_ *) 0)
17669 if (sizeof (ac__type_new_))
17675 rm -f conftest.
$ac_objext
17676 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
17677 (eval $ac_compile) 2>conftest.er1
17679 grep -v '^ *+' conftest.er1
>conftest.err
17681 cat conftest.err
>&5
17682 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17683 (exit $ac_status); } &&
17684 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
17685 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17686 (eval $ac_try) 2>&5
17688 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17689 (exit $ac_status); }; } &&
17690 { ac_try
='test -s conftest.$ac_objext'
17691 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17692 (eval $ac_try) 2>&5
17694 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17695 (exit $ac_status); }; }; then
17696 ac_cv_type_ssize_t
=yes
17698 echo "$as_me: failed program was:" >&5
17699 sed 's/^/| /' conftest.
$ac_ext >&5
17701 ac_cv_type_ssize_t
=no
17704 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
17706 { echo "$as_me:$LINENO: result: $ac_cv_type_ssize_t" >&5
17707 echo "${ECHO_T}$ac_cv_type_ssize_t" >&6; }
17708 if test $ac_cv_type_ssize_t = yes; then
17710 cat >>confdefs.h
<<_ACEOF
17711 #define HAVE_SSIZE_T 1
17716 { echo "$as_me:$LINENO: checking for long long" >&5
17717 echo $ECHO_N "checking for long long... $ECHO_C" >&6; }
17718 if test "${ac_cv_type_long_long+set}" = set; then
17719 echo $ECHO_N "(cached) $ECHO_C" >&6
17721 cat >conftest.
$ac_ext <<_ACEOF
17724 cat confdefs.h
>>conftest.
$ac_ext
17725 cat >>conftest.
$ac_ext <<_ACEOF
17726 /* end confdefs.h. */
17727 $ac_includes_default
17728 typedef long long ac__type_new_;
17732 if ((ac__type_new_ *) 0)
17734 if (sizeof (ac__type_new_))
17740 rm -f conftest.
$ac_objext
17741 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
17742 (eval $ac_compile) 2>conftest.er1
17744 grep -v '^ *+' conftest.er1
>conftest.err
17746 cat conftest.err
>&5
17747 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17748 (exit $ac_status); } &&
17749 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
17750 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17751 (eval $ac_try) 2>&5
17753 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17754 (exit $ac_status); }; } &&
17755 { ac_try
='test -s conftest.$ac_objext'
17756 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17757 (eval $ac_try) 2>&5
17759 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17760 (exit $ac_status); }; }; then
17761 ac_cv_type_long_long
=yes
17763 echo "$as_me: failed program was:" >&5
17764 sed 's/^/| /' conftest.
$ac_ext >&5
17766 ac_cv_type_long_long
=no
17769 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
17771 { echo "$as_me:$LINENO: result: $ac_cv_type_long_long" >&5
17772 echo "${ECHO_T}$ac_cv_type_long_long" >&6; }
17773 if test $ac_cv_type_long_long = yes; then
17775 cat >>confdefs.h
<<_ACEOF
17776 #define HAVE_LONG_LONG 1
17781 { echo "$as_me:$LINENO: checking for fsblkcnt_t" >&5
17782 echo $ECHO_N "checking for fsblkcnt_t... $ECHO_C" >&6; }
17783 if test "${ac_cv_type_fsblkcnt_t+set}" = set; then
17784 echo $ECHO_N "(cached) $ECHO_C" >&6
17786 cat >conftest.
$ac_ext <<_ACEOF
17789 cat confdefs.h
>>conftest.
$ac_ext
17790 cat >>conftest.
$ac_ext <<_ACEOF
17791 /* end confdefs.h. */
17792 $ac_includes_default
17793 typedef fsblkcnt_t ac__type_new_;
17797 if ((ac__type_new_ *) 0)
17799 if (sizeof (ac__type_new_))
17805 rm -f conftest.
$ac_objext
17806 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
17807 (eval $ac_compile) 2>conftest.er1
17809 grep -v '^ *+' conftest.er1
>conftest.err
17811 cat conftest.err
>&5
17812 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17813 (exit $ac_status); } &&
17814 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
17815 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17816 (eval $ac_try) 2>&5
17818 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17819 (exit $ac_status); }; } &&
17820 { ac_try
='test -s conftest.$ac_objext'
17821 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17822 (eval $ac_try) 2>&5
17824 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17825 (exit $ac_status); }; }; then
17826 ac_cv_type_fsblkcnt_t
=yes
17828 echo "$as_me: failed program was:" >&5
17829 sed 's/^/| /' conftest.
$ac_ext >&5
17831 ac_cv_type_fsblkcnt_t
=no
17834 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
17836 { echo "$as_me:$LINENO: result: $ac_cv_type_fsblkcnt_t" >&5
17837 echo "${ECHO_T}$ac_cv_type_fsblkcnt_t" >&6; }
17838 if test $ac_cv_type_fsblkcnt_t = yes; then
17840 cat >>confdefs.h
<<_ACEOF
17841 #define HAVE_FSBLKCNT_T 1
17846 { echo "$as_me:$LINENO: checking for fsfilcnt_t" >&5
17847 echo $ECHO_N "checking for fsfilcnt_t... $ECHO_C" >&6; }
17848 if test "${ac_cv_type_fsfilcnt_t+set}" = set; then
17849 echo $ECHO_N "(cached) $ECHO_C" >&6
17851 cat >conftest.
$ac_ext <<_ACEOF
17854 cat confdefs.h
>>conftest.
$ac_ext
17855 cat >>conftest.
$ac_ext <<_ACEOF
17856 /* end confdefs.h. */
17857 $ac_includes_default
17858 typedef fsfilcnt_t ac__type_new_;
17862 if ((ac__type_new_ *) 0)
17864 if (sizeof (ac__type_new_))
17870 rm -f conftest.
$ac_objext
17871 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
17872 (eval $ac_compile) 2>conftest.er1
17874 grep -v '^ *+' conftest.er1
>conftest.err
17876 cat conftest.err
>&5
17877 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17878 (exit $ac_status); } &&
17879 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
17880 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17881 (eval $ac_try) 2>&5
17883 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17884 (exit $ac_status); }; } &&
17885 { ac_try
='test -s conftest.$ac_objext'
17886 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17887 (eval $ac_try) 2>&5
17889 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17890 (exit $ac_status); }; }; then
17891 ac_cv_type_fsfilcnt_t
=yes
17893 echo "$as_me: failed program was:" >&5
17894 sed 's/^/| /' conftest.
$ac_ext >&5
17896 ac_cv_type_fsfilcnt_t
=no
17899 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
17901 { echo "$as_me:$LINENO: result: $ac_cv_type_fsfilcnt_t" >&5
17902 echo "${ECHO_T}$ac_cv_type_fsfilcnt_t" >&6; }
17903 if test $ac_cv_type_fsfilcnt_t = yes; then
17905 cat >>confdefs.h
<<_ACEOF
17906 #define HAVE_FSFILCNT_T 1
17912 { echo "$as_me:$LINENO: checking for sigset_t" >&5
17913 echo $ECHO_N "checking for sigset_t... $ECHO_C" >&6; }
17914 if test "${ac_cv_type_sigset_t+set}" = set; then
17915 echo $ECHO_N "(cached) $ECHO_C" >&6
17917 cat >conftest.
$ac_ext <<_ACEOF
17920 cat confdefs.h
>>conftest.
$ac_ext
17921 cat >>conftest.
$ac_ext <<_ACEOF
17922 /* end confdefs.h. */
17923 #include <signal.h>
17925 typedef sigset_t ac__type_new_;
17929 if ((ac__type_new_ *) 0)
17931 if (sizeof (ac__type_new_))
17937 rm -f conftest.
$ac_objext
17938 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
17939 (eval $ac_compile) 2>conftest.er1
17941 grep -v '^ *+' conftest.er1
>conftest.err
17943 cat conftest.err
>&5
17944 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17945 (exit $ac_status); } &&
17946 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
17947 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17948 (eval $ac_try) 2>&5
17950 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17951 (exit $ac_status); }; } &&
17952 { ac_try
='test -s conftest.$ac_objext'
17953 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17954 (eval $ac_try) 2>&5
17956 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17957 (exit $ac_status); }; }; then
17958 ac_cv_type_sigset_t
=yes
17960 echo "$as_me: failed program was:" >&5
17961 sed 's/^/| /' conftest.
$ac_ext >&5
17963 ac_cv_type_sigset_t
=no
17966 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
17968 { echo "$as_me:$LINENO: result: $ac_cv_type_sigset_t" >&5
17969 echo "${ECHO_T}$ac_cv_type_sigset_t" >&6; }
17970 if test $ac_cv_type_sigset_t = yes; then
17972 cat >>confdefs.h
<<_ACEOF
17973 #define HAVE_SIGSET_T 1
17979 { echo "$as_me:$LINENO: checking for request_sense" >&5
17980 echo $ECHO_N "checking for request_sense... $ECHO_C" >&6; }
17981 if test "${ac_cv_type_request_sense+set}" = set; then
17982 echo $ECHO_N "(cached) $ECHO_C" >&6
17984 cat >conftest.
$ac_ext <<_ACEOF
17987 cat confdefs.h
>>conftest.
$ac_ext
17988 cat >>conftest.
$ac_ext <<_ACEOF
17989 /* end confdefs.h. */
17990 #include <linux/cdrom.h>
17992 typedef request_sense ac__type_new_;
17996 if ((ac__type_new_ *) 0)
17998 if (sizeof (ac__type_new_))
18004 rm -f conftest.
$ac_objext
18005 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
18006 (eval $ac_compile) 2>conftest.er1
18008 grep -v '^ *+' conftest.er1
>conftest.err
18010 cat conftest.err
>&5
18011 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18012 (exit $ac_status); } &&
18013 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
18014 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18015 (eval $ac_try) 2>&5
18017 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18018 (exit $ac_status); }; } &&
18019 { ac_try
='test -s conftest.$ac_objext'
18020 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18021 (eval $ac_try) 2>&5
18023 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18024 (exit $ac_status); }; }; then
18025 ac_cv_type_request_sense
=yes
18027 echo "$as_me: failed program was:" >&5
18028 sed 's/^/| /' conftest.
$ac_ext >&5
18030 ac_cv_type_request_sense
=no
18033 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
18035 { echo "$as_me:$LINENO: result: $ac_cv_type_request_sense" >&5
18036 echo "${ECHO_T}$ac_cv_type_request_sense" >&6; }
18037 if test $ac_cv_type_request_sense = yes; then
18039 cat >>confdefs.h
<<_ACEOF
18040 #define HAVE_REQUEST_SENSE 1
18047 { echo "$as_me:$LINENO: checking for struct ff_effect.direction" >&5
18048 echo $ECHO_N "checking for struct ff_effect.direction... $ECHO_C" >&6; }
18049 if test "${ac_cv_member_struct_ff_effect_direction+set}" = set; then
18050 echo $ECHO_N "(cached) $ECHO_C" >&6
18052 cat >conftest.
$ac_ext <<_ACEOF
18055 cat confdefs.h
>>conftest.
$ac_ext
18056 cat >>conftest.
$ac_ext <<_ACEOF
18057 /* end confdefs.h. */
18058 #ifdef HAVE_LINUX_INPUT_H
18059 #include <linux/input.h>
18065 static struct ff_effect ac_aggr;
18066 if (ac_aggr.direction)
18072 rm -f conftest.
$ac_objext
18073 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
18074 (eval $ac_compile) 2>conftest.er1
18076 grep -v '^ *+' conftest.er1
>conftest.err
18078 cat conftest.err
>&5
18079 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18080 (exit $ac_status); } &&
18081 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
18082 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18083 (eval $ac_try) 2>&5
18085 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18086 (exit $ac_status); }; } &&
18087 { ac_try
='test -s conftest.$ac_objext'
18088 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18089 (eval $ac_try) 2>&5
18091 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18092 (exit $ac_status); }; }; then
18093 ac_cv_member_struct_ff_effect_direction
=yes
18095 echo "$as_me: failed program was:" >&5
18096 sed 's/^/| /' conftest.
$ac_ext >&5
18098 cat >conftest.
$ac_ext <<_ACEOF
18101 cat confdefs.h
>>conftest.
$ac_ext
18102 cat >>conftest.
$ac_ext <<_ACEOF
18103 /* end confdefs.h. */
18104 #ifdef HAVE_LINUX_INPUT_H
18105 #include <linux/input.h>
18111 static struct ff_effect ac_aggr;
18112 if (sizeof ac_aggr.direction)
18118 rm -f conftest.
$ac_objext
18119 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
18120 (eval $ac_compile) 2>conftest.er1
18122 grep -v '^ *+' conftest.er1
>conftest.err
18124 cat conftest.err
>&5
18125 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18126 (exit $ac_status); } &&
18127 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
18128 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18129 (eval $ac_try) 2>&5
18131 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18132 (exit $ac_status); }; } &&
18133 { ac_try
='test -s conftest.$ac_objext'
18134 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18135 (eval $ac_try) 2>&5
18137 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18138 (exit $ac_status); }; }; then
18139 ac_cv_member_struct_ff_effect_direction
=yes
18141 echo "$as_me: failed program was:" >&5
18142 sed 's/^/| /' conftest.
$ac_ext >&5
18144 ac_cv_member_struct_ff_effect_direction
=no
18147 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
18150 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
18152 { echo "$as_me:$LINENO: result: $ac_cv_member_struct_ff_effect_direction" >&5
18153 echo "${ECHO_T}$ac_cv_member_struct_ff_effect_direction" >&6; }
18154 if test $ac_cv_member_struct_ff_effect_direction = yes; then
18156 cat >>confdefs.h
<<_ACEOF
18157 #define HAVE_STRUCT_FF_EFFECT_DIRECTION 1
18164 { echo "$as_me:$LINENO: checking for sigaddset" >&5
18165 echo $ECHO_N "checking for sigaddset... $ECHO_C" >&6; }
18166 if test "${wine_cv_have_sigaddset+set}" = set; then
18167 echo $ECHO_N "(cached) $ECHO_C" >&6
18169 cat >conftest.
$ac_ext <<_ACEOF
18172 cat confdefs.h
>>conftest.
$ac_ext
18173 cat >>conftest.
$ac_ext <<_ACEOF
18174 /* end confdefs.h. */
18175 #include <signal.h>
18179 sigset_t set; sigaddset(&set,SIGTERM);
18184 rm -f conftest.
$ac_objext conftest
$ac_exeext
18185 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
18186 (eval $ac_link) 2>conftest.er1
18188 grep -v '^ *+' conftest.er1
>conftest.err
18190 cat conftest.err
>&5
18191 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18192 (exit $ac_status); } &&
18193 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
18194 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18195 (eval $ac_try) 2>&5
18197 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18198 (exit $ac_status); }; } &&
18199 { ac_try
='test -s conftest$ac_exeext'
18200 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18201 (eval $ac_try) 2>&5
18203 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18204 (exit $ac_status); }; }; then
18205 wine_cv_have_sigaddset
=yes
18207 echo "$as_me: failed program was:" >&5
18208 sed 's/^/| /' conftest.
$ac_ext >&5
18210 wine_cv_have_sigaddset
=no
18213 rm -f conftest.err conftest.
$ac_objext \
18214 conftest
$ac_exeext conftest.
$ac_ext
18216 { echo "$as_me:$LINENO: result: $wine_cv_have_sigaddset" >&5
18217 echo "${ECHO_T}$wine_cv_have_sigaddset" >&6; }
18218 if test "$wine_cv_have_sigaddset" = "yes"
18221 cat >>confdefs.h
<<\_ACEOF
18222 #define HAVE_SIGADDSET 1
18228 { echo "$as_me:$LINENO: checking whether we can use re-entrant gethostbyname_r Linux style" >&5
18229 echo $ECHO_N "checking whether we can use re-entrant gethostbyname_r Linux style... $ECHO_C" >&6; }
18230 if test "${wine_cv_linux_gethostbyname_r_6+set}" = set; then
18231 echo $ECHO_N "(cached) $ECHO_C" >&6
18233 cat >conftest.
$ac_ext <<_ACEOF
18236 cat confdefs.h
>>conftest.
$ac_ext
18237 cat >>conftest.
$ac_ext <<_ACEOF
18238 /* end confdefs.h. */
18248 struct hostent *result;
18255 res=gethostbyname_r(name,&he,buf,bufsize,&result,&errnr);
18256 res=gethostbyaddr_r(addr, addrlen, addrtype,&he,buf,bufsize,&result,&errnr);
18262 rm -f conftest.
$ac_objext conftest
$ac_exeext
18263 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
18264 (eval $ac_link) 2>conftest.er1
18266 grep -v '^ *+' conftest.er1
>conftest.err
18268 cat conftest.err
>&5
18269 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18270 (exit $ac_status); } &&
18271 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
18272 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18273 (eval $ac_try) 2>&5
18275 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18276 (exit $ac_status); }; } &&
18277 { ac_try
='test -s conftest$ac_exeext'
18278 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18279 (eval $ac_try) 2>&5
18281 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18282 (exit $ac_status); }; }; then
18283 wine_cv_linux_gethostbyname_r_6
=yes
18285 echo "$as_me: failed program was:" >&5
18286 sed 's/^/| /' conftest.
$ac_ext >&5
18288 wine_cv_linux_gethostbyname_r_6
=no
18292 rm -f conftest.err conftest.
$ac_objext \
18293 conftest
$ac_exeext conftest.
$ac_ext
18296 { echo "$as_me:$LINENO: result: $wine_cv_linux_gethostbyname_r_6" >&5
18297 echo "${ECHO_T}$wine_cv_linux_gethostbyname_r_6" >&6; }
18298 if test "$wine_cv_linux_gethostbyname_r_6" = "yes"
18301 cat >>confdefs.h
<<\_ACEOF
18302 #define HAVE_LINUX_GETHOSTBYNAME_R_6 1
18307 if test "$ac_cv_header_linux_joystick_h" = "yes"
18309 { echo "$as_me:$LINENO: checking whether linux/joystick.h uses the Linux 2.2+ API" >&5
18310 echo $ECHO_N "checking whether linux/joystick.h uses the Linux 2.2+ API... $ECHO_C" >&6; }
18311 if test "${wine_cv_linux_joystick_22_api+set}" = set; then
18312 echo $ECHO_N "(cached) $ECHO_C" >&6
18314 cat >conftest.
$ac_ext <<_ACEOF
18317 cat confdefs.h
>>conftest.
$ac_ext
18318 cat >>conftest.
$ac_ext <<_ACEOF
18319 /* end confdefs.h. */
18321 #include <sys/ioctl.h>
18322 #include <linux/joystick.h>
18324 struct js_event blub;
18325 #if !defined(JS_EVENT_AXIS) || !defined(JS_EVENT_BUTTON)
18326 #error "no 2.2 header"
18337 rm -f conftest.
$ac_objext
18338 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
18339 (eval $ac_compile) 2>conftest.er1
18341 grep -v '^ *+' conftest.er1
>conftest.err
18343 cat conftest.err
>&5
18344 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18345 (exit $ac_status); } &&
18346 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
18347 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18348 (eval $ac_try) 2>&5
18350 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18351 (exit $ac_status); }; } &&
18352 { ac_try
='test -s conftest.$ac_objext'
18353 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18354 (eval $ac_try) 2>&5
18356 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18357 (exit $ac_status); }; }; then
18358 wine_cv_linux_joystick_22_api
=yes
18360 echo "$as_me: failed program was:" >&5
18361 sed 's/^/| /' conftest.
$ac_ext >&5
18363 wine_cv_linux_joystick_22_api
=no
18366 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
18369 { echo "$as_me:$LINENO: result: $wine_cv_linux_joystick_22_api" >&5
18370 echo "${ECHO_T}$wine_cv_linux_joystick_22_api" >&6; }
18371 if test "$wine_cv_linux_joystick_22_api" = "yes"
18374 cat >>confdefs.h
<<\_ACEOF
18375 #define HAVE_LINUX_22_JOYSTICK_API 1
18382 { echo "$as_me:$LINENO: checking for struct statfs.f_bfree" >&5
18383 echo $ECHO_N "checking for struct statfs.f_bfree... $ECHO_C" >&6; }
18384 if test "${ac_cv_member_struct_statfs_f_bfree+set}" = set; then
18385 echo $ECHO_N "(cached) $ECHO_C" >&6
18387 cat >conftest.
$ac_ext <<_ACEOF
18390 cat confdefs.h
>>conftest.
$ac_ext
18391 cat >>conftest.
$ac_ext <<_ACEOF
18392 /* end confdefs.h. */
18393 #include <sys/types.h>
18394 #ifdef HAVE_SYS_PARAM_H
18395 # include <sys/param.h>
18397 #ifdef HAVE_SYS_MOUNT_H
18398 # include <sys/mount.h>
18400 #ifdef HAVE_SYS_VFS_H
18401 # include <sys/vfs.h>
18403 #ifdef HAVE_SYS_STATFS_H
18404 # include <sys/statfs.h>
18410 static struct statfs ac_aggr;
18411 if (ac_aggr.f_bfree)
18417 rm -f conftest.
$ac_objext
18418 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
18419 (eval $ac_compile) 2>conftest.er1
18421 grep -v '^ *+' conftest.er1
>conftest.err
18423 cat conftest.err
>&5
18424 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18425 (exit $ac_status); } &&
18426 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
18427 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18428 (eval $ac_try) 2>&5
18430 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18431 (exit $ac_status); }; } &&
18432 { ac_try
='test -s conftest.$ac_objext'
18433 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18434 (eval $ac_try) 2>&5
18436 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18437 (exit $ac_status); }; }; then
18438 ac_cv_member_struct_statfs_f_bfree
=yes
18440 echo "$as_me: failed program was:" >&5
18441 sed 's/^/| /' conftest.
$ac_ext >&5
18443 cat >conftest.
$ac_ext <<_ACEOF
18446 cat confdefs.h
>>conftest.
$ac_ext
18447 cat >>conftest.
$ac_ext <<_ACEOF
18448 /* end confdefs.h. */
18449 #include <sys/types.h>
18450 #ifdef HAVE_SYS_PARAM_H
18451 # include <sys/param.h>
18453 #ifdef HAVE_SYS_MOUNT_H
18454 # include <sys/mount.h>
18456 #ifdef HAVE_SYS_VFS_H
18457 # include <sys/vfs.h>
18459 #ifdef HAVE_SYS_STATFS_H
18460 # include <sys/statfs.h>
18466 static struct statfs ac_aggr;
18467 if (sizeof ac_aggr.f_bfree)
18473 rm -f conftest.
$ac_objext
18474 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
18475 (eval $ac_compile) 2>conftest.er1
18477 grep -v '^ *+' conftest.er1
>conftest.err
18479 cat conftest.err
>&5
18480 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18481 (exit $ac_status); } &&
18482 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
18483 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18484 (eval $ac_try) 2>&5
18486 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18487 (exit $ac_status); }; } &&
18488 { ac_try
='test -s conftest.$ac_objext'
18489 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18490 (eval $ac_try) 2>&5
18492 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18493 (exit $ac_status); }; }; then
18494 ac_cv_member_struct_statfs_f_bfree
=yes
18496 echo "$as_me: failed program was:" >&5
18497 sed 's/^/| /' conftest.
$ac_ext >&5
18499 ac_cv_member_struct_statfs_f_bfree
=no
18502 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
18505 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
18507 { echo "$as_me:$LINENO: result: $ac_cv_member_struct_statfs_f_bfree" >&5
18508 echo "${ECHO_T}$ac_cv_member_struct_statfs_f_bfree" >&6; }
18509 if test $ac_cv_member_struct_statfs_f_bfree = yes; then
18511 cat >>confdefs.h
<<_ACEOF
18512 #define HAVE_STRUCT_STATFS_F_BFREE 1
18517 { echo "$as_me:$LINENO: checking for struct statfs.f_bavail" >&5
18518 echo $ECHO_N "checking for struct statfs.f_bavail... $ECHO_C" >&6; }
18519 if test "${ac_cv_member_struct_statfs_f_bavail+set}" = set; then
18520 echo $ECHO_N "(cached) $ECHO_C" >&6
18522 cat >conftest.
$ac_ext <<_ACEOF
18525 cat confdefs.h
>>conftest.
$ac_ext
18526 cat >>conftest.
$ac_ext <<_ACEOF
18527 /* end confdefs.h. */
18528 #include <sys/types.h>
18529 #ifdef HAVE_SYS_PARAM_H
18530 # include <sys/param.h>
18532 #ifdef HAVE_SYS_MOUNT_H
18533 # include <sys/mount.h>
18535 #ifdef HAVE_SYS_VFS_H
18536 # include <sys/vfs.h>
18538 #ifdef HAVE_SYS_STATFS_H
18539 # include <sys/statfs.h>
18545 static struct statfs ac_aggr;
18546 if (ac_aggr.f_bavail)
18552 rm -f conftest.
$ac_objext
18553 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
18554 (eval $ac_compile) 2>conftest.er1
18556 grep -v '^ *+' conftest.er1
>conftest.err
18558 cat conftest.err
>&5
18559 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18560 (exit $ac_status); } &&
18561 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
18562 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18563 (eval $ac_try) 2>&5
18565 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18566 (exit $ac_status); }; } &&
18567 { ac_try
='test -s conftest.$ac_objext'
18568 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18569 (eval $ac_try) 2>&5
18571 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18572 (exit $ac_status); }; }; then
18573 ac_cv_member_struct_statfs_f_bavail
=yes
18575 echo "$as_me: failed program was:" >&5
18576 sed 's/^/| /' conftest.
$ac_ext >&5
18578 cat >conftest.
$ac_ext <<_ACEOF
18581 cat confdefs.h
>>conftest.
$ac_ext
18582 cat >>conftest.
$ac_ext <<_ACEOF
18583 /* end confdefs.h. */
18584 #include <sys/types.h>
18585 #ifdef HAVE_SYS_PARAM_H
18586 # include <sys/param.h>
18588 #ifdef HAVE_SYS_MOUNT_H
18589 # include <sys/mount.h>
18591 #ifdef HAVE_SYS_VFS_H
18592 # include <sys/vfs.h>
18594 #ifdef HAVE_SYS_STATFS_H
18595 # include <sys/statfs.h>
18601 static struct statfs ac_aggr;
18602 if (sizeof ac_aggr.f_bavail)
18608 rm -f conftest.
$ac_objext
18609 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
18610 (eval $ac_compile) 2>conftest.er1
18612 grep -v '^ *+' conftest.er1
>conftest.err
18614 cat conftest.err
>&5
18615 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18616 (exit $ac_status); } &&
18617 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
18618 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18619 (eval $ac_try) 2>&5
18621 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18622 (exit $ac_status); }; } &&
18623 { ac_try
='test -s conftest.$ac_objext'
18624 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18625 (eval $ac_try) 2>&5
18627 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18628 (exit $ac_status); }; }; then
18629 ac_cv_member_struct_statfs_f_bavail
=yes
18631 echo "$as_me: failed program was:" >&5
18632 sed 's/^/| /' conftest.
$ac_ext >&5
18634 ac_cv_member_struct_statfs_f_bavail
=no
18637 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
18640 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
18642 { echo "$as_me:$LINENO: result: $ac_cv_member_struct_statfs_f_bavail" >&5
18643 echo "${ECHO_T}$ac_cv_member_struct_statfs_f_bavail" >&6; }
18644 if test $ac_cv_member_struct_statfs_f_bavail = yes; then
18646 cat >>confdefs.h
<<_ACEOF
18647 #define HAVE_STRUCT_STATFS_F_BAVAIL 1
18652 { echo "$as_me:$LINENO: checking for struct statfs.f_frsize" >&5
18653 echo $ECHO_N "checking for struct statfs.f_frsize... $ECHO_C" >&6; }
18654 if test "${ac_cv_member_struct_statfs_f_frsize+set}" = set; then
18655 echo $ECHO_N "(cached) $ECHO_C" >&6
18657 cat >conftest.
$ac_ext <<_ACEOF
18660 cat confdefs.h
>>conftest.
$ac_ext
18661 cat >>conftest.
$ac_ext <<_ACEOF
18662 /* end confdefs.h. */
18663 #include <sys/types.h>
18664 #ifdef HAVE_SYS_PARAM_H
18665 # include <sys/param.h>
18667 #ifdef HAVE_SYS_MOUNT_H
18668 # include <sys/mount.h>
18670 #ifdef HAVE_SYS_VFS_H
18671 # include <sys/vfs.h>
18673 #ifdef HAVE_SYS_STATFS_H
18674 # include <sys/statfs.h>
18680 static struct statfs ac_aggr;
18681 if (ac_aggr.f_frsize)
18687 rm -f conftest.
$ac_objext
18688 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
18689 (eval $ac_compile) 2>conftest.er1
18691 grep -v '^ *+' conftest.er1
>conftest.err
18693 cat conftest.err
>&5
18694 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18695 (exit $ac_status); } &&
18696 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
18697 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18698 (eval $ac_try) 2>&5
18700 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18701 (exit $ac_status); }; } &&
18702 { ac_try
='test -s conftest.$ac_objext'
18703 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18704 (eval $ac_try) 2>&5
18706 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18707 (exit $ac_status); }; }; then
18708 ac_cv_member_struct_statfs_f_frsize
=yes
18710 echo "$as_me: failed program was:" >&5
18711 sed 's/^/| /' conftest.
$ac_ext >&5
18713 cat >conftest.
$ac_ext <<_ACEOF
18716 cat confdefs.h
>>conftest.
$ac_ext
18717 cat >>conftest.
$ac_ext <<_ACEOF
18718 /* end confdefs.h. */
18719 #include <sys/types.h>
18720 #ifdef HAVE_SYS_PARAM_H
18721 # include <sys/param.h>
18723 #ifdef HAVE_SYS_MOUNT_H
18724 # include <sys/mount.h>
18726 #ifdef HAVE_SYS_VFS_H
18727 # include <sys/vfs.h>
18729 #ifdef HAVE_SYS_STATFS_H
18730 # include <sys/statfs.h>
18736 static struct statfs ac_aggr;
18737 if (sizeof ac_aggr.f_frsize)
18743 rm -f conftest.
$ac_objext
18744 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
18745 (eval $ac_compile) 2>conftest.er1
18747 grep -v '^ *+' conftest.er1
>conftest.err
18749 cat conftest.err
>&5
18750 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18751 (exit $ac_status); } &&
18752 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
18753 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18754 (eval $ac_try) 2>&5
18756 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18757 (exit $ac_status); }; } &&
18758 { ac_try
='test -s conftest.$ac_objext'
18759 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18760 (eval $ac_try) 2>&5
18762 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18763 (exit $ac_status); }; }; then
18764 ac_cv_member_struct_statfs_f_frsize
=yes
18766 echo "$as_me: failed program was:" >&5
18767 sed 's/^/| /' conftest.
$ac_ext >&5
18769 ac_cv_member_struct_statfs_f_frsize
=no
18772 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
18775 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
18777 { echo "$as_me:$LINENO: result: $ac_cv_member_struct_statfs_f_frsize" >&5
18778 echo "${ECHO_T}$ac_cv_member_struct_statfs_f_frsize" >&6; }
18779 if test $ac_cv_member_struct_statfs_f_frsize = yes; then
18781 cat >>confdefs.h
<<_ACEOF
18782 #define HAVE_STRUCT_STATFS_F_FRSIZE 1
18787 { echo "$as_me:$LINENO: checking for struct statfs.f_ffree" >&5
18788 echo $ECHO_N "checking for struct statfs.f_ffree... $ECHO_C" >&6; }
18789 if test "${ac_cv_member_struct_statfs_f_ffree+set}" = set; then
18790 echo $ECHO_N "(cached) $ECHO_C" >&6
18792 cat >conftest.
$ac_ext <<_ACEOF
18795 cat confdefs.h
>>conftest.
$ac_ext
18796 cat >>conftest.
$ac_ext <<_ACEOF
18797 /* end confdefs.h. */
18798 #include <sys/types.h>
18799 #ifdef HAVE_SYS_PARAM_H
18800 # include <sys/param.h>
18802 #ifdef HAVE_SYS_MOUNT_H
18803 # include <sys/mount.h>
18805 #ifdef HAVE_SYS_VFS_H
18806 # include <sys/vfs.h>
18808 #ifdef HAVE_SYS_STATFS_H
18809 # include <sys/statfs.h>
18815 static struct statfs ac_aggr;
18816 if (ac_aggr.f_ffree)
18822 rm -f conftest.
$ac_objext
18823 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
18824 (eval $ac_compile) 2>conftest.er1
18826 grep -v '^ *+' conftest.er1
>conftest.err
18828 cat conftest.err
>&5
18829 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18830 (exit $ac_status); } &&
18831 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
18832 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18833 (eval $ac_try) 2>&5
18835 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18836 (exit $ac_status); }; } &&
18837 { ac_try
='test -s conftest.$ac_objext'
18838 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18839 (eval $ac_try) 2>&5
18841 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18842 (exit $ac_status); }; }; then
18843 ac_cv_member_struct_statfs_f_ffree
=yes
18845 echo "$as_me: failed program was:" >&5
18846 sed 's/^/| /' conftest.
$ac_ext >&5
18848 cat >conftest.
$ac_ext <<_ACEOF
18851 cat confdefs.h
>>conftest.
$ac_ext
18852 cat >>conftest.
$ac_ext <<_ACEOF
18853 /* end confdefs.h. */
18854 #include <sys/types.h>
18855 #ifdef HAVE_SYS_PARAM_H
18856 # include <sys/param.h>
18858 #ifdef HAVE_SYS_MOUNT_H
18859 # include <sys/mount.h>
18861 #ifdef HAVE_SYS_VFS_H
18862 # include <sys/vfs.h>
18864 #ifdef HAVE_SYS_STATFS_H
18865 # include <sys/statfs.h>
18871 static struct statfs ac_aggr;
18872 if (sizeof ac_aggr.f_ffree)
18878 rm -f conftest.
$ac_objext
18879 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
18880 (eval $ac_compile) 2>conftest.er1
18882 grep -v '^ *+' conftest.er1
>conftest.err
18884 cat conftest.err
>&5
18885 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18886 (exit $ac_status); } &&
18887 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
18888 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18889 (eval $ac_try) 2>&5
18891 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18892 (exit $ac_status); }; } &&
18893 { ac_try
='test -s conftest.$ac_objext'
18894 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18895 (eval $ac_try) 2>&5
18897 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18898 (exit $ac_status); }; }; then
18899 ac_cv_member_struct_statfs_f_ffree
=yes
18901 echo "$as_me: failed program was:" >&5
18902 sed 's/^/| /' conftest.
$ac_ext >&5
18904 ac_cv_member_struct_statfs_f_ffree
=no
18907 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
18910 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
18912 { echo "$as_me:$LINENO: result: $ac_cv_member_struct_statfs_f_ffree" >&5
18913 echo "${ECHO_T}$ac_cv_member_struct_statfs_f_ffree" >&6; }
18914 if test $ac_cv_member_struct_statfs_f_ffree = yes; then
18916 cat >>confdefs.h
<<_ACEOF
18917 #define HAVE_STRUCT_STATFS_F_FFREE 1
18922 { echo "$as_me:$LINENO: checking for struct statfs.f_favail" >&5
18923 echo $ECHO_N "checking for struct statfs.f_favail... $ECHO_C" >&6; }
18924 if test "${ac_cv_member_struct_statfs_f_favail+set}" = set; then
18925 echo $ECHO_N "(cached) $ECHO_C" >&6
18927 cat >conftest.
$ac_ext <<_ACEOF
18930 cat confdefs.h
>>conftest.
$ac_ext
18931 cat >>conftest.
$ac_ext <<_ACEOF
18932 /* end confdefs.h. */
18933 #include <sys/types.h>
18934 #ifdef HAVE_SYS_PARAM_H
18935 # include <sys/param.h>
18937 #ifdef HAVE_SYS_MOUNT_H
18938 # include <sys/mount.h>
18940 #ifdef HAVE_SYS_VFS_H
18941 # include <sys/vfs.h>
18943 #ifdef HAVE_SYS_STATFS_H
18944 # include <sys/statfs.h>
18950 static struct statfs ac_aggr;
18951 if (ac_aggr.f_favail)
18957 rm -f conftest.
$ac_objext
18958 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
18959 (eval $ac_compile) 2>conftest.er1
18961 grep -v '^ *+' conftest.er1
>conftest.err
18963 cat conftest.err
>&5
18964 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18965 (exit $ac_status); } &&
18966 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
18967 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18968 (eval $ac_try) 2>&5
18970 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18971 (exit $ac_status); }; } &&
18972 { ac_try
='test -s conftest.$ac_objext'
18973 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18974 (eval $ac_try) 2>&5
18976 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18977 (exit $ac_status); }; }; then
18978 ac_cv_member_struct_statfs_f_favail
=yes
18980 echo "$as_me: failed program was:" >&5
18981 sed 's/^/| /' conftest.
$ac_ext >&5
18983 cat >conftest.
$ac_ext <<_ACEOF
18986 cat confdefs.h
>>conftest.
$ac_ext
18987 cat >>conftest.
$ac_ext <<_ACEOF
18988 /* end confdefs.h. */
18989 #include <sys/types.h>
18990 #ifdef HAVE_SYS_PARAM_H
18991 # include <sys/param.h>
18993 #ifdef HAVE_SYS_MOUNT_H
18994 # include <sys/mount.h>
18996 #ifdef HAVE_SYS_VFS_H
18997 # include <sys/vfs.h>
18999 #ifdef HAVE_SYS_STATFS_H
19000 # include <sys/statfs.h>
19006 static struct statfs ac_aggr;
19007 if (sizeof ac_aggr.f_favail)
19013 rm -f conftest.
$ac_objext
19014 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
19015 (eval $ac_compile) 2>conftest.er1
19017 grep -v '^ *+' conftest.er1
>conftest.err
19019 cat conftest.err
>&5
19020 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19021 (exit $ac_status); } &&
19022 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
19023 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19024 (eval $ac_try) 2>&5
19026 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19027 (exit $ac_status); }; } &&
19028 { ac_try
='test -s conftest.$ac_objext'
19029 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19030 (eval $ac_try) 2>&5
19032 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19033 (exit $ac_status); }; }; then
19034 ac_cv_member_struct_statfs_f_favail
=yes
19036 echo "$as_me: failed program was:" >&5
19037 sed 's/^/| /' conftest.
$ac_ext >&5
19039 ac_cv_member_struct_statfs_f_favail
=no
19042 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
19045 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
19047 { echo "$as_me:$LINENO: result: $ac_cv_member_struct_statfs_f_favail" >&5
19048 echo "${ECHO_T}$ac_cv_member_struct_statfs_f_favail" >&6; }
19049 if test $ac_cv_member_struct_statfs_f_favail = yes; then
19051 cat >>confdefs.h
<<_ACEOF
19052 #define HAVE_STRUCT_STATFS_F_FAVAIL 1
19057 { echo "$as_me:$LINENO: checking for struct statfs.f_namelen" >&5
19058 echo $ECHO_N "checking for struct statfs.f_namelen... $ECHO_C" >&6; }
19059 if test "${ac_cv_member_struct_statfs_f_namelen+set}" = set; then
19060 echo $ECHO_N "(cached) $ECHO_C" >&6
19062 cat >conftest.
$ac_ext <<_ACEOF
19065 cat confdefs.h
>>conftest.
$ac_ext
19066 cat >>conftest.
$ac_ext <<_ACEOF
19067 /* end confdefs.h. */
19068 #include <sys/types.h>
19069 #ifdef HAVE_SYS_PARAM_H
19070 # include <sys/param.h>
19072 #ifdef HAVE_SYS_MOUNT_H
19073 # include <sys/mount.h>
19075 #ifdef HAVE_SYS_VFS_H
19076 # include <sys/vfs.h>
19078 #ifdef HAVE_SYS_STATFS_H
19079 # include <sys/statfs.h>
19085 static struct statfs ac_aggr;
19086 if (ac_aggr.f_namelen)
19092 rm -f conftest.
$ac_objext
19093 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
19094 (eval $ac_compile) 2>conftest.er1
19096 grep -v '^ *+' conftest.er1
>conftest.err
19098 cat conftest.err
>&5
19099 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19100 (exit $ac_status); } &&
19101 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
19102 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19103 (eval $ac_try) 2>&5
19105 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19106 (exit $ac_status); }; } &&
19107 { ac_try
='test -s conftest.$ac_objext'
19108 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19109 (eval $ac_try) 2>&5
19111 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19112 (exit $ac_status); }; }; then
19113 ac_cv_member_struct_statfs_f_namelen
=yes
19115 echo "$as_me: failed program was:" >&5
19116 sed 's/^/| /' conftest.
$ac_ext >&5
19118 cat >conftest.
$ac_ext <<_ACEOF
19121 cat confdefs.h
>>conftest.
$ac_ext
19122 cat >>conftest.
$ac_ext <<_ACEOF
19123 /* end confdefs.h. */
19124 #include <sys/types.h>
19125 #ifdef HAVE_SYS_PARAM_H
19126 # include <sys/param.h>
19128 #ifdef HAVE_SYS_MOUNT_H
19129 # include <sys/mount.h>
19131 #ifdef HAVE_SYS_VFS_H
19132 # include <sys/vfs.h>
19134 #ifdef HAVE_SYS_STATFS_H
19135 # include <sys/statfs.h>
19141 static struct statfs ac_aggr;
19142 if (sizeof ac_aggr.f_namelen)
19148 rm -f conftest.
$ac_objext
19149 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
19150 (eval $ac_compile) 2>conftest.er1
19152 grep -v '^ *+' conftest.er1
>conftest.err
19154 cat conftest.err
>&5
19155 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19156 (exit $ac_status); } &&
19157 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
19158 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19159 (eval $ac_try) 2>&5
19161 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19162 (exit $ac_status); }; } &&
19163 { ac_try
='test -s conftest.$ac_objext'
19164 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19165 (eval $ac_try) 2>&5
19167 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19168 (exit $ac_status); }; }; then
19169 ac_cv_member_struct_statfs_f_namelen
=yes
19171 echo "$as_me: failed program was:" >&5
19172 sed 's/^/| /' conftest.
$ac_ext >&5
19174 ac_cv_member_struct_statfs_f_namelen
=no
19177 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
19180 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
19182 { echo "$as_me:$LINENO: result: $ac_cv_member_struct_statfs_f_namelen" >&5
19183 echo "${ECHO_T}$ac_cv_member_struct_statfs_f_namelen" >&6; }
19184 if test $ac_cv_member_struct_statfs_f_namelen = yes; then
19186 cat >>confdefs.h
<<_ACEOF
19187 #define HAVE_STRUCT_STATFS_F_NAMELEN 1
19194 { echo "$as_me:$LINENO: checking for struct statvfs.f_blocks" >&5
19195 echo $ECHO_N "checking for struct statvfs.f_blocks... $ECHO_C" >&6; }
19196 if test "${ac_cv_member_struct_statvfs_f_blocks+set}" = set; then
19197 echo $ECHO_N "(cached) $ECHO_C" >&6
19199 cat >conftest.
$ac_ext <<_ACEOF
19202 cat confdefs.h
>>conftest.
$ac_ext
19203 cat >>conftest.
$ac_ext <<_ACEOF
19204 /* end confdefs.h. */
19205 #ifdef HAVE_SYS_STATVFS_H
19206 #include <sys/statvfs.h>
19212 static struct statvfs ac_aggr;
19213 if (ac_aggr.f_blocks)
19219 rm -f conftest.
$ac_objext
19220 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
19221 (eval $ac_compile) 2>conftest.er1
19223 grep -v '^ *+' conftest.er1
>conftest.err
19225 cat conftest.err
>&5
19226 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19227 (exit $ac_status); } &&
19228 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
19229 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19230 (eval $ac_try) 2>&5
19232 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19233 (exit $ac_status); }; } &&
19234 { ac_try
='test -s conftest.$ac_objext'
19235 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19236 (eval $ac_try) 2>&5
19238 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19239 (exit $ac_status); }; }; then
19240 ac_cv_member_struct_statvfs_f_blocks
=yes
19242 echo "$as_me: failed program was:" >&5
19243 sed 's/^/| /' conftest.
$ac_ext >&5
19245 cat >conftest.
$ac_ext <<_ACEOF
19248 cat confdefs.h
>>conftest.
$ac_ext
19249 cat >>conftest.
$ac_ext <<_ACEOF
19250 /* end confdefs.h. */
19251 #ifdef HAVE_SYS_STATVFS_H
19252 #include <sys/statvfs.h>
19258 static struct statvfs ac_aggr;
19259 if (sizeof ac_aggr.f_blocks)
19265 rm -f conftest.
$ac_objext
19266 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
19267 (eval $ac_compile) 2>conftest.er1
19269 grep -v '^ *+' conftest.er1
>conftest.err
19271 cat conftest.err
>&5
19272 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19273 (exit $ac_status); } &&
19274 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
19275 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19276 (eval $ac_try) 2>&5
19278 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19279 (exit $ac_status); }; } &&
19280 { ac_try
='test -s conftest.$ac_objext'
19281 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19282 (eval $ac_try) 2>&5
19284 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19285 (exit $ac_status); }; }; then
19286 ac_cv_member_struct_statvfs_f_blocks
=yes
19288 echo "$as_me: failed program was:" >&5
19289 sed 's/^/| /' conftest.
$ac_ext >&5
19291 ac_cv_member_struct_statvfs_f_blocks
=no
19294 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
19297 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
19299 { echo "$as_me:$LINENO: result: $ac_cv_member_struct_statvfs_f_blocks" >&5
19300 echo "${ECHO_T}$ac_cv_member_struct_statvfs_f_blocks" >&6; }
19301 if test $ac_cv_member_struct_statvfs_f_blocks = yes; then
19303 cat >>confdefs.h
<<_ACEOF
19304 #define HAVE_STRUCT_STATVFS_F_BLOCKS 1
19311 { echo "$as_me:$LINENO: checking for struct msghdr.msg_accrights" >&5
19312 echo $ECHO_N "checking for struct msghdr.msg_accrights... $ECHO_C" >&6; }
19313 if test "${ac_cv_member_struct_msghdr_msg_accrights+set}" = set; then
19314 echo $ECHO_N "(cached) $ECHO_C" >&6
19316 cat >conftest.
$ac_ext <<_ACEOF
19319 cat confdefs.h
>>conftest.
$ac_ext
19320 cat >>conftest.
$ac_ext <<_ACEOF
19321 /* end confdefs.h. */
19322 #include <sys/types.h>
19323 #ifdef HAVE_SYS_SOCKET_H
19324 # include <sys/socket.h>
19326 #ifdef HAVE_SYS_UN_H
19327 # include <sys/un.h>
19333 static struct msghdr ac_aggr;
19334 if (ac_aggr.msg_accrights)
19340 rm -f conftest.
$ac_objext
19341 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
19342 (eval $ac_compile) 2>conftest.er1
19344 grep -v '^ *+' conftest.er1
>conftest.err
19346 cat conftest.err
>&5
19347 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19348 (exit $ac_status); } &&
19349 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
19350 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19351 (eval $ac_try) 2>&5
19353 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19354 (exit $ac_status); }; } &&
19355 { ac_try
='test -s conftest.$ac_objext'
19356 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19357 (eval $ac_try) 2>&5
19359 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19360 (exit $ac_status); }; }; then
19361 ac_cv_member_struct_msghdr_msg_accrights
=yes
19363 echo "$as_me: failed program was:" >&5
19364 sed 's/^/| /' conftest.
$ac_ext >&5
19366 cat >conftest.
$ac_ext <<_ACEOF
19369 cat confdefs.h
>>conftest.
$ac_ext
19370 cat >>conftest.
$ac_ext <<_ACEOF
19371 /* end confdefs.h. */
19372 #include <sys/types.h>
19373 #ifdef HAVE_SYS_SOCKET_H
19374 # include <sys/socket.h>
19376 #ifdef HAVE_SYS_UN_H
19377 # include <sys/un.h>
19383 static struct msghdr ac_aggr;
19384 if (sizeof ac_aggr.msg_accrights)
19390 rm -f conftest.
$ac_objext
19391 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
19392 (eval $ac_compile) 2>conftest.er1
19394 grep -v '^ *+' conftest.er1
>conftest.err
19396 cat conftest.err
>&5
19397 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19398 (exit $ac_status); } &&
19399 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
19400 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19401 (eval $ac_try) 2>&5
19403 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19404 (exit $ac_status); }; } &&
19405 { ac_try
='test -s conftest.$ac_objext'
19406 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19407 (eval $ac_try) 2>&5
19409 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19410 (exit $ac_status); }; }; then
19411 ac_cv_member_struct_msghdr_msg_accrights
=yes
19413 echo "$as_me: failed program was:" >&5
19414 sed 's/^/| /' conftest.
$ac_ext >&5
19416 ac_cv_member_struct_msghdr_msg_accrights
=no
19419 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
19422 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
19424 { echo "$as_me:$LINENO: result: $ac_cv_member_struct_msghdr_msg_accrights" >&5
19425 echo "${ECHO_T}$ac_cv_member_struct_msghdr_msg_accrights" >&6; }
19426 if test $ac_cv_member_struct_msghdr_msg_accrights = yes; then
19428 cat >>confdefs.h
<<_ACEOF
19429 #define HAVE_STRUCT_MSGHDR_MSG_ACCRIGHTS 1
19434 { echo "$as_me:$LINENO: checking for struct sockaddr.sa_len" >&5
19435 echo $ECHO_N "checking for struct sockaddr.sa_len... $ECHO_C" >&6; }
19436 if test "${ac_cv_member_struct_sockaddr_sa_len+set}" = set; then
19437 echo $ECHO_N "(cached) $ECHO_C" >&6
19439 cat >conftest.
$ac_ext <<_ACEOF
19442 cat confdefs.h
>>conftest.
$ac_ext
19443 cat >>conftest.
$ac_ext <<_ACEOF
19444 /* end confdefs.h. */
19445 #include <sys/types.h>
19446 #ifdef HAVE_SYS_SOCKET_H
19447 # include <sys/socket.h>
19449 #ifdef HAVE_SYS_UN_H
19450 # include <sys/un.h>
19456 static struct sockaddr ac_aggr;
19457 if (ac_aggr.sa_len)
19463 rm -f conftest.
$ac_objext
19464 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
19465 (eval $ac_compile) 2>conftest.er1
19467 grep -v '^ *+' conftest.er1
>conftest.err
19469 cat conftest.err
>&5
19470 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19471 (exit $ac_status); } &&
19472 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
19473 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19474 (eval $ac_try) 2>&5
19476 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19477 (exit $ac_status); }; } &&
19478 { ac_try
='test -s conftest.$ac_objext'
19479 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19480 (eval $ac_try) 2>&5
19482 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19483 (exit $ac_status); }; }; then
19484 ac_cv_member_struct_sockaddr_sa_len
=yes
19486 echo "$as_me: failed program was:" >&5
19487 sed 's/^/| /' conftest.
$ac_ext >&5
19489 cat >conftest.
$ac_ext <<_ACEOF
19492 cat confdefs.h
>>conftest.
$ac_ext
19493 cat >>conftest.
$ac_ext <<_ACEOF
19494 /* end confdefs.h. */
19495 #include <sys/types.h>
19496 #ifdef HAVE_SYS_SOCKET_H
19497 # include <sys/socket.h>
19499 #ifdef HAVE_SYS_UN_H
19500 # include <sys/un.h>
19506 static struct sockaddr ac_aggr;
19507 if (sizeof ac_aggr.sa_len)
19513 rm -f conftest.
$ac_objext
19514 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
19515 (eval $ac_compile) 2>conftest.er1
19517 grep -v '^ *+' conftest.er1
>conftest.err
19519 cat conftest.err
>&5
19520 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19521 (exit $ac_status); } &&
19522 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
19523 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19524 (eval $ac_try) 2>&5
19526 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19527 (exit $ac_status); }; } &&
19528 { ac_try
='test -s conftest.$ac_objext'
19529 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19530 (eval $ac_try) 2>&5
19532 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19533 (exit $ac_status); }; }; then
19534 ac_cv_member_struct_sockaddr_sa_len
=yes
19536 echo "$as_me: failed program was:" >&5
19537 sed 's/^/| /' conftest.
$ac_ext >&5
19539 ac_cv_member_struct_sockaddr_sa_len
=no
19542 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
19545 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
19547 { echo "$as_me:$LINENO: result: $ac_cv_member_struct_sockaddr_sa_len" >&5
19548 echo "${ECHO_T}$ac_cv_member_struct_sockaddr_sa_len" >&6; }
19549 if test $ac_cv_member_struct_sockaddr_sa_len = yes; then
19551 cat >>confdefs.h
<<_ACEOF
19552 #define HAVE_STRUCT_SOCKADDR_SA_LEN 1
19557 { echo "$as_me:$LINENO: checking for struct sockaddr_un.sun_len" >&5
19558 echo $ECHO_N "checking for struct sockaddr_un.sun_len... $ECHO_C" >&6; }
19559 if test "${ac_cv_member_struct_sockaddr_un_sun_len+set}" = set; then
19560 echo $ECHO_N "(cached) $ECHO_C" >&6
19562 cat >conftest.
$ac_ext <<_ACEOF
19565 cat confdefs.h
>>conftest.
$ac_ext
19566 cat >>conftest.
$ac_ext <<_ACEOF
19567 /* end confdefs.h. */
19568 #include <sys/types.h>
19569 #ifdef HAVE_SYS_SOCKET_H
19570 # include <sys/socket.h>
19572 #ifdef HAVE_SYS_UN_H
19573 # include <sys/un.h>
19579 static struct sockaddr_un ac_aggr;
19580 if (ac_aggr.sun_len)
19586 rm -f conftest.
$ac_objext
19587 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
19588 (eval $ac_compile) 2>conftest.er1
19590 grep -v '^ *+' conftest.er1
>conftest.err
19592 cat conftest.err
>&5
19593 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19594 (exit $ac_status); } &&
19595 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
19596 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19597 (eval $ac_try) 2>&5
19599 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19600 (exit $ac_status); }; } &&
19601 { ac_try
='test -s conftest.$ac_objext'
19602 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19603 (eval $ac_try) 2>&5
19605 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19606 (exit $ac_status); }; }; then
19607 ac_cv_member_struct_sockaddr_un_sun_len
=yes
19609 echo "$as_me: failed program was:" >&5
19610 sed 's/^/| /' conftest.
$ac_ext >&5
19612 cat >conftest.
$ac_ext <<_ACEOF
19615 cat confdefs.h
>>conftest.
$ac_ext
19616 cat >>conftest.
$ac_ext <<_ACEOF
19617 /* end confdefs.h. */
19618 #include <sys/types.h>
19619 #ifdef HAVE_SYS_SOCKET_H
19620 # include <sys/socket.h>
19622 #ifdef HAVE_SYS_UN_H
19623 # include <sys/un.h>
19629 static struct sockaddr_un ac_aggr;
19630 if (sizeof ac_aggr.sun_len)
19636 rm -f conftest.
$ac_objext
19637 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
19638 (eval $ac_compile) 2>conftest.er1
19640 grep -v '^ *+' conftest.er1
>conftest.err
19642 cat conftest.err
>&5
19643 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19644 (exit $ac_status); } &&
19645 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
19646 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19647 (eval $ac_try) 2>&5
19649 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19650 (exit $ac_status); }; } &&
19651 { ac_try
='test -s conftest.$ac_objext'
19652 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19653 (eval $ac_try) 2>&5
19655 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19656 (exit $ac_status); }; }; then
19657 ac_cv_member_struct_sockaddr_un_sun_len
=yes
19659 echo "$as_me: failed program was:" >&5
19660 sed 's/^/| /' conftest.
$ac_ext >&5
19662 ac_cv_member_struct_sockaddr_un_sun_len
=no
19665 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
19668 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
19670 { echo "$as_me:$LINENO: result: $ac_cv_member_struct_sockaddr_un_sun_len" >&5
19671 echo "${ECHO_T}$ac_cv_member_struct_sockaddr_un_sun_len" >&6; }
19672 if test $ac_cv_member_struct_sockaddr_un_sun_len = yes; then
19674 cat >>confdefs.h
<<_ACEOF
19675 #define HAVE_STRUCT_SOCKADDR_UN_SUN_LEN 1
19682 { echo "$as_me:$LINENO: checking for scsireq_t.cmd" >&5
19683 echo $ECHO_N "checking for scsireq_t.cmd... $ECHO_C" >&6; }
19684 if test "${ac_cv_member_scsireq_t_cmd+set}" = set; then
19685 echo $ECHO_N "(cached) $ECHO_C" >&6
19687 cat >conftest.
$ac_ext <<_ACEOF
19690 cat confdefs.h
>>conftest.
$ac_ext
19691 cat >>conftest.
$ac_ext <<_ACEOF
19692 /* end confdefs.h. */
19693 #include <sys/types.h>
19694 #ifdef HAVE_SCSI_SG_H
19695 #include <scsi/sg.h>
19701 static scsireq_t ac_aggr;
19708 rm -f conftest.
$ac_objext
19709 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
19710 (eval $ac_compile) 2>conftest.er1
19712 grep -v '^ *+' conftest.er1
>conftest.err
19714 cat conftest.err
>&5
19715 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19716 (exit $ac_status); } &&
19717 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
19718 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19719 (eval $ac_try) 2>&5
19721 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19722 (exit $ac_status); }; } &&
19723 { ac_try
='test -s conftest.$ac_objext'
19724 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19725 (eval $ac_try) 2>&5
19727 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19728 (exit $ac_status); }; }; then
19729 ac_cv_member_scsireq_t_cmd
=yes
19731 echo "$as_me: failed program was:" >&5
19732 sed 's/^/| /' conftest.
$ac_ext >&5
19734 cat >conftest.
$ac_ext <<_ACEOF
19737 cat confdefs.h
>>conftest.
$ac_ext
19738 cat >>conftest.
$ac_ext <<_ACEOF
19739 /* end confdefs.h. */
19740 #include <sys/types.h>
19741 #ifdef HAVE_SCSI_SG_H
19742 #include <scsi/sg.h>
19748 static scsireq_t ac_aggr;
19749 if (sizeof ac_aggr.cmd)
19755 rm -f conftest.
$ac_objext
19756 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
19757 (eval $ac_compile) 2>conftest.er1
19759 grep -v '^ *+' conftest.er1
>conftest.err
19761 cat conftest.err
>&5
19762 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19763 (exit $ac_status); } &&
19764 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
19765 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19766 (eval $ac_try) 2>&5
19768 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19769 (exit $ac_status); }; } &&
19770 { ac_try
='test -s conftest.$ac_objext'
19771 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19772 (eval $ac_try) 2>&5
19774 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19775 (exit $ac_status); }; }; then
19776 ac_cv_member_scsireq_t_cmd
=yes
19778 echo "$as_me: failed program was:" >&5
19779 sed 's/^/| /' conftest.
$ac_ext >&5
19781 ac_cv_member_scsireq_t_cmd
=no
19784 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
19787 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
19789 { echo "$as_me:$LINENO: result: $ac_cv_member_scsireq_t_cmd" >&5
19790 echo "${ECHO_T}$ac_cv_member_scsireq_t_cmd" >&6; }
19791 if test $ac_cv_member_scsireq_t_cmd = yes; then
19793 cat >>confdefs.h
<<_ACEOF
19794 #define HAVE_SCSIREQ_T_CMD 1
19799 { echo "$as_me:$LINENO: checking for sg_io_hdr_t.interface_id" >&5
19800 echo $ECHO_N "checking for sg_io_hdr_t.interface_id... $ECHO_C" >&6; }
19801 if test "${ac_cv_member_sg_io_hdr_t_interface_id+set}" = set; then
19802 echo $ECHO_N "(cached) $ECHO_C" >&6
19804 cat >conftest.
$ac_ext <<_ACEOF
19807 cat confdefs.h
>>conftest.
$ac_ext
19808 cat >>conftest.
$ac_ext <<_ACEOF
19809 /* end confdefs.h. */
19810 #include <sys/types.h>
19811 #ifdef HAVE_SCSI_SG_H
19812 #include <scsi/sg.h>
19818 static sg_io_hdr_t ac_aggr;
19819 if (ac_aggr.interface_id)
19825 rm -f conftest.
$ac_objext
19826 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
19827 (eval $ac_compile) 2>conftest.er1
19829 grep -v '^ *+' conftest.er1
>conftest.err
19831 cat conftest.err
>&5
19832 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19833 (exit $ac_status); } &&
19834 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
19835 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19836 (eval $ac_try) 2>&5
19838 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19839 (exit $ac_status); }; } &&
19840 { ac_try
='test -s conftest.$ac_objext'
19841 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19842 (eval $ac_try) 2>&5
19844 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19845 (exit $ac_status); }; }; then
19846 ac_cv_member_sg_io_hdr_t_interface_id
=yes
19848 echo "$as_me: failed program was:" >&5
19849 sed 's/^/| /' conftest.
$ac_ext >&5
19851 cat >conftest.
$ac_ext <<_ACEOF
19854 cat confdefs.h
>>conftest.
$ac_ext
19855 cat >>conftest.
$ac_ext <<_ACEOF
19856 /* end confdefs.h. */
19857 #include <sys/types.h>
19858 #ifdef HAVE_SCSI_SG_H
19859 #include <scsi/sg.h>
19865 static sg_io_hdr_t ac_aggr;
19866 if (sizeof ac_aggr.interface_id)
19872 rm -f conftest.
$ac_objext
19873 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
19874 (eval $ac_compile) 2>conftest.er1
19876 grep -v '^ *+' conftest.er1
>conftest.err
19878 cat conftest.err
>&5
19879 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19880 (exit $ac_status); } &&
19881 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
19882 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19883 (eval $ac_try) 2>&5
19885 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19886 (exit $ac_status); }; } &&
19887 { ac_try
='test -s conftest.$ac_objext'
19888 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19889 (eval $ac_try) 2>&5
19891 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19892 (exit $ac_status); }; }; then
19893 ac_cv_member_sg_io_hdr_t_interface_id
=yes
19895 echo "$as_me: failed program was:" >&5
19896 sed 's/^/| /' conftest.
$ac_ext >&5
19898 ac_cv_member_sg_io_hdr_t_interface_id
=no
19901 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
19904 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
19906 { echo "$as_me:$LINENO: result: $ac_cv_member_sg_io_hdr_t_interface_id" >&5
19907 echo "${ECHO_T}$ac_cv_member_sg_io_hdr_t_interface_id" >&6; }
19908 if test $ac_cv_member_sg_io_hdr_t_interface_id = yes; then
19910 cat >>confdefs.h
<<_ACEOF
19911 #define HAVE_SG_IO_HDR_T_INTERFACE_ID 1
19918 { echo "$as_me:$LINENO: checking for siginfo_t.si_fd" >&5
19919 echo $ECHO_N "checking for siginfo_t.si_fd... $ECHO_C" >&6; }
19920 if test "${ac_cv_member_siginfo_t_si_fd+set}" = set; then
19921 echo $ECHO_N "(cached) $ECHO_C" >&6
19923 cat >conftest.
$ac_ext <<_ACEOF
19926 cat confdefs.h
>>conftest.
$ac_ext
19927 cat >>conftest.
$ac_ext <<_ACEOF
19928 /* end confdefs.h. */
19929 #include <signal.h>
19934 static siginfo_t ac_aggr;
19941 rm -f conftest.
$ac_objext
19942 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
19943 (eval $ac_compile) 2>conftest.er1
19945 grep -v '^ *+' conftest.er1
>conftest.err
19947 cat conftest.err
>&5
19948 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19949 (exit $ac_status); } &&
19950 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
19951 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19952 (eval $ac_try) 2>&5
19954 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19955 (exit $ac_status); }; } &&
19956 { ac_try
='test -s conftest.$ac_objext'
19957 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19958 (eval $ac_try) 2>&5
19960 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19961 (exit $ac_status); }; }; then
19962 ac_cv_member_siginfo_t_si_fd
=yes
19964 echo "$as_me: failed program was:" >&5
19965 sed 's/^/| /' conftest.
$ac_ext >&5
19967 cat >conftest.
$ac_ext <<_ACEOF
19970 cat confdefs.h
>>conftest.
$ac_ext
19971 cat >>conftest.
$ac_ext <<_ACEOF
19972 /* end confdefs.h. */
19973 #include <signal.h>
19978 static siginfo_t ac_aggr;
19979 if (sizeof ac_aggr.si_fd)
19985 rm -f conftest.
$ac_objext
19986 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
19987 (eval $ac_compile) 2>conftest.er1
19989 grep -v '^ *+' conftest.er1
>conftest.err
19991 cat conftest.err
>&5
19992 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19993 (exit $ac_status); } &&
19994 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
19995 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19996 (eval $ac_try) 2>&5
19998 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19999 (exit $ac_status); }; } &&
20000 { ac_try
='test -s conftest.$ac_objext'
20001 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20002 (eval $ac_try) 2>&5
20004 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20005 (exit $ac_status); }; }; then
20006 ac_cv_member_siginfo_t_si_fd
=yes
20008 echo "$as_me: failed program was:" >&5
20009 sed 's/^/| /' conftest.
$ac_ext >&5
20011 ac_cv_member_siginfo_t_si_fd
=no
20014 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
20017 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
20019 { echo "$as_me:$LINENO: result: $ac_cv_member_siginfo_t_si_fd" >&5
20020 echo "${ECHO_T}$ac_cv_member_siginfo_t_si_fd" >&6; }
20021 if test $ac_cv_member_siginfo_t_si_fd = yes; then
20023 cat >>confdefs.h
<<_ACEOF
20024 #define HAVE_SIGINFO_T_SI_FD 1
20031 { echo "$as_me:$LINENO: checking for struct mtget.mt_blksiz" >&5
20032 echo $ECHO_N "checking for struct mtget.mt_blksiz... $ECHO_C" >&6; }
20033 if test "${ac_cv_member_struct_mtget_mt_blksiz+set}" = set; then
20034 echo $ECHO_N "(cached) $ECHO_C" >&6
20036 cat >conftest.
$ac_ext <<_ACEOF
20039 cat confdefs.h
>>conftest.
$ac_ext
20040 cat >>conftest.
$ac_ext <<_ACEOF
20041 /* end confdefs.h. */
20042 #include <sys/types.h>
20043 #ifdef HAVE_SYS_MTIO_H
20044 #include <sys/mtio.h>
20050 static struct mtget ac_aggr;
20051 if (ac_aggr.mt_blksiz)
20057 rm -f conftest.
$ac_objext
20058 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
20059 (eval $ac_compile) 2>conftest.er1
20061 grep -v '^ *+' conftest.er1
>conftest.err
20063 cat conftest.err
>&5
20064 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20065 (exit $ac_status); } &&
20066 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
20067 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20068 (eval $ac_try) 2>&5
20070 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20071 (exit $ac_status); }; } &&
20072 { ac_try
='test -s conftest.$ac_objext'
20073 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20074 (eval $ac_try) 2>&5
20076 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20077 (exit $ac_status); }; }; then
20078 ac_cv_member_struct_mtget_mt_blksiz
=yes
20080 echo "$as_me: failed program was:" >&5
20081 sed 's/^/| /' conftest.
$ac_ext >&5
20083 cat >conftest.
$ac_ext <<_ACEOF
20086 cat confdefs.h
>>conftest.
$ac_ext
20087 cat >>conftest.
$ac_ext <<_ACEOF
20088 /* end confdefs.h. */
20089 #include <sys/types.h>
20090 #ifdef HAVE_SYS_MTIO_H
20091 #include <sys/mtio.h>
20097 static struct mtget ac_aggr;
20098 if (sizeof ac_aggr.mt_blksiz)
20104 rm -f conftest.
$ac_objext
20105 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
20106 (eval $ac_compile) 2>conftest.er1
20108 grep -v '^ *+' conftest.er1
>conftest.err
20110 cat conftest.err
>&5
20111 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20112 (exit $ac_status); } &&
20113 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
20114 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20115 (eval $ac_try) 2>&5
20117 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20118 (exit $ac_status); }; } &&
20119 { ac_try
='test -s conftest.$ac_objext'
20120 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20121 (eval $ac_try) 2>&5
20123 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20124 (exit $ac_status); }; }; then
20125 ac_cv_member_struct_mtget_mt_blksiz
=yes
20127 echo "$as_me: failed program was:" >&5
20128 sed 's/^/| /' conftest.
$ac_ext >&5
20130 ac_cv_member_struct_mtget_mt_blksiz
=no
20133 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
20136 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
20138 { echo "$as_me:$LINENO: result: $ac_cv_member_struct_mtget_mt_blksiz" >&5
20139 echo "${ECHO_T}$ac_cv_member_struct_mtget_mt_blksiz" >&6; }
20140 if test $ac_cv_member_struct_mtget_mt_blksiz = yes; then
20142 cat >>confdefs.h
<<_ACEOF
20143 #define HAVE_STRUCT_MTGET_MT_BLKSIZ 1
20148 { echo "$as_me:$LINENO: checking for struct mtget.mt_gstat" >&5
20149 echo $ECHO_N "checking for struct mtget.mt_gstat... $ECHO_C" >&6; }
20150 if test "${ac_cv_member_struct_mtget_mt_gstat+set}" = set; then
20151 echo $ECHO_N "(cached) $ECHO_C" >&6
20153 cat >conftest.
$ac_ext <<_ACEOF
20156 cat confdefs.h
>>conftest.
$ac_ext
20157 cat >>conftest.
$ac_ext <<_ACEOF
20158 /* end confdefs.h. */
20159 #include <sys/types.h>
20160 #ifdef HAVE_SYS_MTIO_H
20161 #include <sys/mtio.h>
20167 static struct mtget ac_aggr;
20168 if (ac_aggr.mt_gstat)
20174 rm -f conftest.
$ac_objext
20175 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
20176 (eval $ac_compile) 2>conftest.er1
20178 grep -v '^ *+' conftest.er1
>conftest.err
20180 cat conftest.err
>&5
20181 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20182 (exit $ac_status); } &&
20183 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
20184 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20185 (eval $ac_try) 2>&5
20187 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20188 (exit $ac_status); }; } &&
20189 { ac_try
='test -s conftest.$ac_objext'
20190 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20191 (eval $ac_try) 2>&5
20193 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20194 (exit $ac_status); }; }; then
20195 ac_cv_member_struct_mtget_mt_gstat
=yes
20197 echo "$as_me: failed program was:" >&5
20198 sed 's/^/| /' conftest.
$ac_ext >&5
20200 cat >conftest.
$ac_ext <<_ACEOF
20203 cat confdefs.h
>>conftest.
$ac_ext
20204 cat >>conftest.
$ac_ext <<_ACEOF
20205 /* end confdefs.h. */
20206 #include <sys/types.h>
20207 #ifdef HAVE_SYS_MTIO_H
20208 #include <sys/mtio.h>
20214 static struct mtget ac_aggr;
20215 if (sizeof ac_aggr.mt_gstat)
20221 rm -f conftest.
$ac_objext
20222 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
20223 (eval $ac_compile) 2>conftest.er1
20225 grep -v '^ *+' conftest.er1
>conftest.err
20227 cat conftest.err
>&5
20228 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20229 (exit $ac_status); } &&
20230 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
20231 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20232 (eval $ac_try) 2>&5
20234 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20235 (exit $ac_status); }; } &&
20236 { ac_try
='test -s conftest.$ac_objext'
20237 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20238 (eval $ac_try) 2>&5
20240 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20241 (exit $ac_status); }; }; then
20242 ac_cv_member_struct_mtget_mt_gstat
=yes
20244 echo "$as_me: failed program was:" >&5
20245 sed 's/^/| /' conftest.
$ac_ext >&5
20247 ac_cv_member_struct_mtget_mt_gstat
=no
20250 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
20253 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
20255 { echo "$as_me:$LINENO: result: $ac_cv_member_struct_mtget_mt_gstat" >&5
20256 echo "${ECHO_T}$ac_cv_member_struct_mtget_mt_gstat" >&6; }
20257 if test $ac_cv_member_struct_mtget_mt_gstat = yes; then
20259 cat >>confdefs.h
<<_ACEOF
20260 #define HAVE_STRUCT_MTGET_MT_GSTAT 1
20265 { echo "$as_me:$LINENO: checking for struct mtget.mt_blkno" >&5
20266 echo $ECHO_N "checking for struct mtget.mt_blkno... $ECHO_C" >&6; }
20267 if test "${ac_cv_member_struct_mtget_mt_blkno+set}" = set; then
20268 echo $ECHO_N "(cached) $ECHO_C" >&6
20270 cat >conftest.
$ac_ext <<_ACEOF
20273 cat confdefs.h
>>conftest.
$ac_ext
20274 cat >>conftest.
$ac_ext <<_ACEOF
20275 /* end confdefs.h. */
20276 #include <sys/types.h>
20277 #ifdef HAVE_SYS_MTIO_H
20278 #include <sys/mtio.h>
20284 static struct mtget ac_aggr;
20285 if (ac_aggr.mt_blkno)
20291 rm -f conftest.
$ac_objext
20292 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
20293 (eval $ac_compile) 2>conftest.er1
20295 grep -v '^ *+' conftest.er1
>conftest.err
20297 cat conftest.err
>&5
20298 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20299 (exit $ac_status); } &&
20300 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
20301 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20302 (eval $ac_try) 2>&5
20304 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20305 (exit $ac_status); }; } &&
20306 { ac_try
='test -s conftest.$ac_objext'
20307 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20308 (eval $ac_try) 2>&5
20310 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20311 (exit $ac_status); }; }; then
20312 ac_cv_member_struct_mtget_mt_blkno
=yes
20314 echo "$as_me: failed program was:" >&5
20315 sed 's/^/| /' conftest.
$ac_ext >&5
20317 cat >conftest.
$ac_ext <<_ACEOF
20320 cat confdefs.h
>>conftest.
$ac_ext
20321 cat >>conftest.
$ac_ext <<_ACEOF
20322 /* end confdefs.h. */
20323 #include <sys/types.h>
20324 #ifdef HAVE_SYS_MTIO_H
20325 #include <sys/mtio.h>
20331 static struct mtget ac_aggr;
20332 if (sizeof ac_aggr.mt_blkno)
20338 rm -f conftest.
$ac_objext
20339 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
20340 (eval $ac_compile) 2>conftest.er1
20342 grep -v '^ *+' conftest.er1
>conftest.err
20344 cat conftest.err
>&5
20345 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20346 (exit $ac_status); } &&
20347 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
20348 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20349 (eval $ac_try) 2>&5
20351 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20352 (exit $ac_status); }; } &&
20353 { ac_try
='test -s conftest.$ac_objext'
20354 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20355 (eval $ac_try) 2>&5
20357 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20358 (exit $ac_status); }; }; then
20359 ac_cv_member_struct_mtget_mt_blkno
=yes
20361 echo "$as_me: failed program was:" >&5
20362 sed 's/^/| /' conftest.
$ac_ext >&5
20364 ac_cv_member_struct_mtget_mt_blkno
=no
20367 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
20370 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
20372 { echo "$as_me:$LINENO: result: $ac_cv_member_struct_mtget_mt_blkno" >&5
20373 echo "${ECHO_T}$ac_cv_member_struct_mtget_mt_blkno" >&6; }
20374 if test $ac_cv_member_struct_mtget_mt_blkno = yes; then
20376 cat >>confdefs.h
<<_ACEOF
20377 #define HAVE_STRUCT_MTGET_MT_BLKNO 1
20384 { echo "$as_me:$LINENO: checking for struct option.name" >&5
20385 echo $ECHO_N "checking for struct option.name... $ECHO_C" >&6; }
20386 if test "${ac_cv_member_struct_option_name+set}" = set; then
20387 echo $ECHO_N "(cached) $ECHO_C" >&6
20389 cat >conftest.
$ac_ext <<_ACEOF
20392 cat confdefs.h
>>conftest.
$ac_ext
20393 cat >>conftest.
$ac_ext <<_ACEOF
20394 /* end confdefs.h. */
20395 #ifdef HAVE_GETOPT_H
20396 #include <getopt.h>
20402 static struct option ac_aggr;
20409 rm -f conftest.
$ac_objext
20410 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
20411 (eval $ac_compile) 2>conftest.er1
20413 grep -v '^ *+' conftest.er1
>conftest.err
20415 cat conftest.err
>&5
20416 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20417 (exit $ac_status); } &&
20418 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
20419 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20420 (eval $ac_try) 2>&5
20422 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20423 (exit $ac_status); }; } &&
20424 { ac_try
='test -s conftest.$ac_objext'
20425 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20426 (eval $ac_try) 2>&5
20428 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20429 (exit $ac_status); }; }; then
20430 ac_cv_member_struct_option_name
=yes
20432 echo "$as_me: failed program was:" >&5
20433 sed 's/^/| /' conftest.
$ac_ext >&5
20435 cat >conftest.
$ac_ext <<_ACEOF
20438 cat confdefs.h
>>conftest.
$ac_ext
20439 cat >>conftest.
$ac_ext <<_ACEOF
20440 /* end confdefs.h. */
20441 #ifdef HAVE_GETOPT_H
20442 #include <getopt.h>
20448 static struct option ac_aggr;
20449 if (sizeof ac_aggr.name)
20455 rm -f conftest.
$ac_objext
20456 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
20457 (eval $ac_compile) 2>conftest.er1
20459 grep -v '^ *+' conftest.er1
>conftest.err
20461 cat conftest.err
>&5
20462 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20463 (exit $ac_status); } &&
20464 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
20465 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20466 (eval $ac_try) 2>&5
20468 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20469 (exit $ac_status); }; } &&
20470 { ac_try
='test -s conftest.$ac_objext'
20471 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20472 (eval $ac_try) 2>&5
20474 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20475 (exit $ac_status); }; }; then
20476 ac_cv_member_struct_option_name
=yes
20478 echo "$as_me: failed program was:" >&5
20479 sed 's/^/| /' conftest.
$ac_ext >&5
20481 ac_cv_member_struct_option_name
=no
20484 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
20487 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
20489 { echo "$as_me:$LINENO: result: $ac_cv_member_struct_option_name" >&5
20490 echo "${ECHO_T}$ac_cv_member_struct_option_name" >&6; }
20491 if test $ac_cv_member_struct_option_name = yes; then
20493 cat >>confdefs.h
<<_ACEOF
20494 #define HAVE_STRUCT_OPTION_NAME 1
20501 { echo "$as_me:$LINENO: checking for struct stat.st_blocks" >&5
20502 echo $ECHO_N "checking for struct stat.st_blocks... $ECHO_C" >&6; }
20503 if test "${ac_cv_member_struct_stat_st_blocks+set}" = set; then
20504 echo $ECHO_N "(cached) $ECHO_C" >&6
20506 cat >conftest.
$ac_ext <<_ACEOF
20509 cat confdefs.h
>>conftest.
$ac_ext
20510 cat >>conftest.
$ac_ext <<_ACEOF
20511 /* end confdefs.h. */
20512 $ac_includes_default
20516 static struct stat ac_aggr;
20517 if (ac_aggr.st_blocks)
20523 rm -f conftest.
$ac_objext
20524 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
20525 (eval $ac_compile) 2>conftest.er1
20527 grep -v '^ *+' conftest.er1
>conftest.err
20529 cat conftest.err
>&5
20530 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20531 (exit $ac_status); } &&
20532 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
20533 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20534 (eval $ac_try) 2>&5
20536 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20537 (exit $ac_status); }; } &&
20538 { ac_try
='test -s conftest.$ac_objext'
20539 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20540 (eval $ac_try) 2>&5
20542 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20543 (exit $ac_status); }; }; then
20544 ac_cv_member_struct_stat_st_blocks
=yes
20546 echo "$as_me: failed program was:" >&5
20547 sed 's/^/| /' conftest.
$ac_ext >&5
20549 cat >conftest.
$ac_ext <<_ACEOF
20552 cat confdefs.h
>>conftest.
$ac_ext
20553 cat >>conftest.
$ac_ext <<_ACEOF
20554 /* end confdefs.h. */
20555 $ac_includes_default
20559 static struct stat ac_aggr;
20560 if (sizeof ac_aggr.st_blocks)
20566 rm -f conftest.
$ac_objext
20567 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
20568 (eval $ac_compile) 2>conftest.er1
20570 grep -v '^ *+' conftest.er1
>conftest.err
20572 cat conftest.err
>&5
20573 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20574 (exit $ac_status); } &&
20575 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
20576 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20577 (eval $ac_try) 2>&5
20579 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20580 (exit $ac_status); }; } &&
20581 { ac_try
='test -s conftest.$ac_objext'
20582 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20583 (eval $ac_try) 2>&5
20585 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20586 (exit $ac_status); }; }; then
20587 ac_cv_member_struct_stat_st_blocks
=yes
20589 echo "$as_me: failed program was:" >&5
20590 sed 's/^/| /' conftest.
$ac_ext >&5
20592 ac_cv_member_struct_stat_st_blocks
=no
20595 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
20598 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
20600 { echo "$as_me:$LINENO: result: $ac_cv_member_struct_stat_st_blocks" >&5
20601 echo "${ECHO_T}$ac_cv_member_struct_stat_st_blocks" >&6; }
20602 if test $ac_cv_member_struct_stat_st_blocks = yes; then
20604 cat >>confdefs.h
<<_ACEOF
20605 #define HAVE_STRUCT_STAT_ST_BLOCKS 1
20612 { echo "$as_me:$LINENO: checking for struct sockaddr_in6.sin6_scope_id" >&5
20613 echo $ECHO_N "checking for struct sockaddr_in6.sin6_scope_id... $ECHO_C" >&6; }
20614 if test "${ac_cv_member_struct_sockaddr_in6_sin6_scope_id+set}" = set; then
20615 echo $ECHO_N "(cached) $ECHO_C" >&6
20617 cat >conftest.
$ac_ext <<_ACEOF
20620 cat confdefs.h
>>conftest.
$ac_ext
20621 cat >>conftest.
$ac_ext <<_ACEOF
20622 /* end confdefs.h. */
20623 #ifdef HAVE_SYS_TYPES_H
20624 #include <sys/types.h>
20626 #ifdef HAVE_NETINET_IN_H
20627 #include <netinet/in.h>
20633 static struct sockaddr_in6 ac_aggr;
20634 if (ac_aggr.sin6_scope_id)
20640 rm -f conftest.
$ac_objext
20641 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
20642 (eval $ac_compile) 2>conftest.er1
20644 grep -v '^ *+' conftest.er1
>conftest.err
20646 cat conftest.err
>&5
20647 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20648 (exit $ac_status); } &&
20649 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
20650 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20651 (eval $ac_try) 2>&5
20653 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20654 (exit $ac_status); }; } &&
20655 { ac_try
='test -s conftest.$ac_objext'
20656 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20657 (eval $ac_try) 2>&5
20659 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20660 (exit $ac_status); }; }; then
20661 ac_cv_member_struct_sockaddr_in6_sin6_scope_id
=yes
20663 echo "$as_me: failed program was:" >&5
20664 sed 's/^/| /' conftest.
$ac_ext >&5
20666 cat >conftest.
$ac_ext <<_ACEOF
20669 cat confdefs.h
>>conftest.
$ac_ext
20670 cat >>conftest.
$ac_ext <<_ACEOF
20671 /* end confdefs.h. */
20672 #ifdef HAVE_SYS_TYPES_H
20673 #include <sys/types.h>
20675 #ifdef HAVE_NETINET_IN_H
20676 #include <netinet/in.h>
20682 static struct sockaddr_in6 ac_aggr;
20683 if (sizeof ac_aggr.sin6_scope_id)
20689 rm -f conftest.
$ac_objext
20690 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
20691 (eval $ac_compile) 2>conftest.er1
20693 grep -v '^ *+' conftest.er1
>conftest.err
20695 cat conftest.err
>&5
20696 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20697 (exit $ac_status); } &&
20698 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
20699 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20700 (eval $ac_try) 2>&5
20702 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20703 (exit $ac_status); }; } &&
20704 { ac_try
='test -s conftest.$ac_objext'
20705 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20706 (eval $ac_try) 2>&5
20708 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20709 (exit $ac_status); }; }; then
20710 ac_cv_member_struct_sockaddr_in6_sin6_scope_id
=yes
20712 echo "$as_me: failed program was:" >&5
20713 sed 's/^/| /' conftest.
$ac_ext >&5
20715 ac_cv_member_struct_sockaddr_in6_sin6_scope_id
=no
20718 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
20721 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
20723 { echo "$as_me:$LINENO: result: $ac_cv_member_struct_sockaddr_in6_sin6_scope_id" >&5
20724 echo "${ECHO_T}$ac_cv_member_struct_sockaddr_in6_sin6_scope_id" >&6; }
20725 if test $ac_cv_member_struct_sockaddr_in6_sin6_scope_id = yes; then
20727 cat >>confdefs.h
<<_ACEOF
20728 #define HAVE_STRUCT_SOCKADDR_IN6_SIN6_SCOPE_ID 1
20735 { echo "$as_me:$LINENO: checking for timezone variable" >&5
20736 echo $ECHO_N "checking for timezone variable... $ECHO_C" >&6; }
20737 if test "${ac_cv_have_timezone+set}" = set; then
20738 echo $ECHO_N "(cached) $ECHO_C" >&6
20740 cat >conftest.
$ac_ext <<_ACEOF
20743 cat confdefs.h
>>conftest.
$ac_ext
20744 cat >>conftest.
$ac_ext <<_ACEOF
20745 /* end confdefs.h. */
20755 rm -f conftest.
$ac_objext conftest
$ac_exeext
20756 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
20757 (eval $ac_link) 2>conftest.er1
20759 grep -v '^ *+' conftest.er1
>conftest.err
20761 cat conftest.err
>&5
20762 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20763 (exit $ac_status); } &&
20764 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
20765 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20766 (eval $ac_try) 2>&5
20768 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20769 (exit $ac_status); }; } &&
20770 { ac_try
='test -s conftest$ac_exeext'
20771 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20772 (eval $ac_try) 2>&5
20774 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20775 (exit $ac_status); }; }; then
20776 ac_cv_have_timezone
="yes"
20778 echo "$as_me: failed program was:" >&5
20779 sed 's/^/| /' conftest.
$ac_ext >&5
20781 ac_cv_have_timezone
="no"
20784 rm -f conftest.err conftest.
$ac_objext \
20785 conftest
$ac_exeext conftest.
$ac_ext
20787 { echo "$as_me:$LINENO: result: $ac_cv_have_timezone" >&5
20788 echo "${ECHO_T}$ac_cv_have_timezone" >&6; }
20789 if test "$ac_cv_have_timezone" = "yes"
20792 cat >>confdefs.h
<<\_ACEOF
20793 #define HAVE_TIMEZONE 1
20797 { echo "$as_me:$LINENO: checking for daylight variable" >&5
20798 echo $ECHO_N "checking for daylight variable... $ECHO_C" >&6; }
20799 if test "${ac_cv_have_daylight+set}" = set; then
20800 echo $ECHO_N "(cached) $ECHO_C" >&6
20802 cat >conftest.
$ac_ext <<_ACEOF
20805 cat confdefs.h
>>conftest.
$ac_ext
20806 cat >>conftest.
$ac_ext <<_ACEOF
20807 /* end confdefs.h. */
20817 rm -f conftest.
$ac_objext conftest
$ac_exeext
20818 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
20819 (eval $ac_link) 2>conftest.er1
20821 grep -v '^ *+' conftest.er1
>conftest.err
20823 cat conftest.err
>&5
20824 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20825 (exit $ac_status); } &&
20826 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
20827 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20828 (eval $ac_try) 2>&5
20830 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20831 (exit $ac_status); }; } &&
20832 { ac_try
='test -s conftest$ac_exeext'
20833 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20834 (eval $ac_try) 2>&5
20836 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20837 (exit $ac_status); }; }; then
20838 ac_cv_have_daylight
="yes"
20840 echo "$as_me: failed program was:" >&5
20841 sed 's/^/| /' conftest.
$ac_ext >&5
20843 ac_cv_have_daylight
="no"
20846 rm -f conftest.err conftest.
$ac_objext \
20847 conftest
$ac_exeext conftest.
$ac_ext
20849 { echo "$as_me:$LINENO: result: $ac_cv_have_daylight" >&5
20850 echo "${ECHO_T}$ac_cv_have_daylight" >&6; }
20851 if test "$ac_cv_have_daylight" = "yes"
20854 cat >>confdefs.h
<<\_ACEOF
20855 #define HAVE_DAYLIGHT 1
20862 *i
[3456789]86*) { echo "$as_me:$LINENO: checking whether we need to define __i386__" >&5
20863 echo $ECHO_N "checking whether we need to define __i386__... $ECHO_C" >&6; }
20864 if test "${ac_cv_cpp_def___i386__+set}" = set; then
20865 echo $ECHO_N "(cached) $ECHO_C" >&6
20867 cat >conftest.
$ac_ext <<_ACEOF
20870 cat confdefs.h
>>conftest.
$ac_ext
20871 cat >>conftest.
$ac_ext <<_ACEOF
20872 /* end confdefs.h. */
20877 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
20878 $EGREP "yes" >/dev
/null
2>&1; then
20879 ac_cv_cpp_def___i386__
=yes
20881 ac_cv_cpp_def___i386__
=no
20886 { echo "$as_me:$LINENO: result: $ac_cv_cpp_def___i386__" >&5
20887 echo "${ECHO_T}$ac_cv_cpp_def___i386__" >&6; }
20888 if test $ac_cv_cpp_def___i386__ = yes; then
20889 CFLAGS
="$CFLAGS -D__i386__"
20890 LINTFLAGS
="$LINTFLAGS -D__i386__"
20893 *x86_64
*) { echo "$as_me:$LINENO: checking whether we need to define __x86_64__" >&5
20894 echo $ECHO_N "checking whether we need to define __x86_64__... $ECHO_C" >&6; }
20895 if test "${ac_cv_cpp_def___x86_64__+set}" = set; then
20896 echo $ECHO_N "(cached) $ECHO_C" >&6
20898 cat >conftest.
$ac_ext <<_ACEOF
20901 cat confdefs.h
>>conftest.
$ac_ext
20902 cat >>conftest.
$ac_ext <<_ACEOF
20903 /* end confdefs.h. */
20908 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
20909 $EGREP "yes" >/dev
/null
2>&1; then
20910 ac_cv_cpp_def___x86_64__
=yes
20912 ac_cv_cpp_def___x86_64__
=no
20917 { echo "$as_me:$LINENO: result: $ac_cv_cpp_def___x86_64__" >&5
20918 echo "${ECHO_T}$ac_cv_cpp_def___x86_64__" >&6; }
20919 if test $ac_cv_cpp_def___x86_64__ = yes; then
20920 CFLAGS
="$CFLAGS -D__x86_64__"
20921 LINTFLAGS
="$LINTFLAGS -D__x86_64__"
20924 *alpha
*) { echo "$as_me:$LINENO: checking whether we need to define __ALPHA__" >&5
20925 echo $ECHO_N "checking whether we need to define __ALPHA__... $ECHO_C" >&6; }
20926 if test "${ac_cv_cpp_def___ALPHA__+set}" = set; then
20927 echo $ECHO_N "(cached) $ECHO_C" >&6
20929 cat >conftest.
$ac_ext <<_ACEOF
20932 cat confdefs.h
>>conftest.
$ac_ext
20933 cat >>conftest.
$ac_ext <<_ACEOF
20934 /* end confdefs.h. */
20939 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
20940 $EGREP "yes" >/dev
/null
2>&1; then
20941 ac_cv_cpp_def___ALPHA__
=yes
20943 ac_cv_cpp_def___ALPHA__
=no
20948 { echo "$as_me:$LINENO: result: $ac_cv_cpp_def___ALPHA__" >&5
20949 echo "${ECHO_T}$ac_cv_cpp_def___ALPHA__" >&6; }
20950 if test $ac_cv_cpp_def___ALPHA__ = yes; then
20951 CFLAGS
="$CFLAGS -D__ALPHA__"
20952 LINTFLAGS
="$LINTFLAGS -D__ALPHA__"
20955 *sparc
*) { echo "$as_me:$LINENO: checking whether we need to define __sparc__" >&5
20956 echo $ECHO_N "checking whether we need to define __sparc__... $ECHO_C" >&6; }
20957 if test "${ac_cv_cpp_def___sparc__+set}" = set; then
20958 echo $ECHO_N "(cached) $ECHO_C" >&6
20960 cat >conftest.
$ac_ext <<_ACEOF
20963 cat confdefs.h
>>conftest.
$ac_ext
20964 cat >>conftest.
$ac_ext <<_ACEOF
20965 /* end confdefs.h. */
20970 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
20971 $EGREP "yes" >/dev
/null
2>&1; then
20972 ac_cv_cpp_def___sparc__
=yes
20974 ac_cv_cpp_def___sparc__
=no
20979 { echo "$as_me:$LINENO: result: $ac_cv_cpp_def___sparc__" >&5
20980 echo "${ECHO_T}$ac_cv_cpp_def___sparc__" >&6; }
20981 if test $ac_cv_cpp_def___sparc__ = yes; then
20982 CFLAGS
="$CFLAGS -D__sparc__"
20983 LINTFLAGS
="$LINTFLAGS -D__sparc__"
20986 *powerpc
*) { echo "$as_me:$LINENO: checking whether we need to define __powerpc__" >&5
20987 echo $ECHO_N "checking whether we need to define __powerpc__... $ECHO_C" >&6; }
20988 if test "${ac_cv_cpp_def___powerpc__+set}" = set; then
20989 echo $ECHO_N "(cached) $ECHO_C" >&6
20991 cat >conftest.
$ac_ext <<_ACEOF
20994 cat confdefs.h
>>conftest.
$ac_ext
20995 cat >>conftest.
$ac_ext <<_ACEOF
20996 /* end confdefs.h. */
20997 #ifndef __powerpc__
21001 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
21002 $EGREP "yes" >/dev
/null
2>&1; then
21003 ac_cv_cpp_def___powerpc__
=yes
21005 ac_cv_cpp_def___powerpc__
=no
21010 { echo "$as_me:$LINENO: result: $ac_cv_cpp_def___powerpc__" >&5
21011 echo "${ECHO_T}$ac_cv_cpp_def___powerpc__" >&6; }
21012 if test $ac_cv_cpp_def___powerpc__ = yes; then
21013 CFLAGS
="$CFLAGS -D__powerpc__"
21014 LINTFLAGS
="$LINTFLAGS -D__powerpc__"
21019 case $host_vendor in
21020 *sun
*) { echo "$as_me:$LINENO: checking whether we need to define __sun__" >&5
21021 echo $ECHO_N "checking whether we need to define __sun__... $ECHO_C" >&6; }
21022 if test "${ac_cv_cpp_def___sun__+set}" = set; then
21023 echo $ECHO_N "(cached) $ECHO_C" >&6
21025 cat >conftest.
$ac_ext <<_ACEOF
21028 cat confdefs.h
>>conftest.
$ac_ext
21029 cat >>conftest.
$ac_ext <<_ACEOF
21030 /* end confdefs.h. */
21035 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
21036 $EGREP "yes" >/dev
/null
2>&1; then
21037 ac_cv_cpp_def___sun__
=yes
21039 ac_cv_cpp_def___sun__
=no
21044 { echo "$as_me:$LINENO: result: $ac_cv_cpp_def___sun__" >&5
21045 echo "${ECHO_T}$ac_cv_cpp_def___sun__" >&6; }
21046 if test $ac_cv_cpp_def___sun__ = yes; then
21047 CFLAGS
="$CFLAGS -D__sun__"
21048 LINTFLAGS
="$LINTFLAGS -D__sun__"
21057 ac_config_commands
="$ac_config_commands dlls/gdi/enhmfdrv"
21059 ac_config_commands
="$ac_config_commands dlls/gdi/mfdrv"
21061 ac_config_commands
="$ac_config_commands dlls/kernel/messages"
21063 ac_config_commands
="$ac_config_commands dlls/user/resources"
21065 ac_config_commands
="$ac_config_commands dlls/wineps.drv/data"
21067 ac_config_commands
="$ac_config_commands include/wine"
21070 MAKE_RULES
=Make.rules
21073 MAKE_DLL_RULES
=dlls
/Makedll.rules
21076 MAKE_IMPLIB_RULES
=dlls
/Makeimplib.rules
21079 MAKE_TEST_RULES
=dlls
/Maketest.rules
21082 MAKE_LIB_RULES
=libs
/Makelib.rules
21085 MAKE_PROG_RULES
=programs
/Makeprog.rules
21088 ac_config_files
="$ac_config_files Make.rules dlls/Makedll.rules dlls/Makeimplib.rules dlls/Maketest.rules libs/Makelib.rules programs/Makeprog.rules Makefile dlls/Makefile dlls/activeds/Makefile dlls/advapi32/Makefile dlls/advapi32/tests/Makefile dlls/advpack/Makefile dlls/advpack/tests/Makefile dlls/amstream/Makefile dlls/atl/Makefile dlls/avicap32/Makefile dlls/avifil32/Makefile dlls/cabinet/Makefile dlls/cabinet/tests/Makefile dlls/capi2032/Makefile dlls/cards/Makefile dlls/cfgmgr32/Makefile dlls/comcat/Makefile dlls/comctl32/Makefile dlls/comctl32/tests/Makefile dlls/comdlg32/Makefile dlls/crtdll/Makefile dlls/crypt32/Makefile dlls/crypt32/tests/Makefile dlls/cryptdll/Makefile dlls/ctl3d32/Makefile dlls/d3d8/Makefile dlls/d3d8/tests/Makefile dlls/d3d9/Makefile dlls/d3d9/tests/Makefile dlls/d3dim/Makefile dlls/d3drm/Makefile dlls/d3dx8/Makefile dlls/d3dxof/Makefile dlls/dbghelp/Makefile dlls/dciman32/Makefile dlls/ddraw/Makefile dlls/ddraw/tests/Makefile dlls/devenum/Makefile dlls/dinput/Makefile dlls/dinput/tests/Makefile dlls/dinput8/Makefile dlls/dmband/Makefile dlls/dmcompos/Makefile dlls/dmime/Makefile dlls/dmloader/Makefile dlls/dmscript/Makefile dlls/dmstyle/Makefile dlls/dmsynth/Makefile dlls/dmusic/Makefile dlls/dmusic32/Makefile dlls/dnsapi/Makefile dlls/dnsapi/tests/Makefile dlls/dplay/Makefile dlls/dplayx/Makefile dlls/dpnet/Makefile dlls/dpnhpast/Makefile dlls/dsound/Makefile dlls/dsound/tests/Makefile dlls/dswave/Makefile dlls/dxdiagn/Makefile dlls/dxerr8/Makefile dlls/dxerr9/Makefile dlls/dxguid/Makefile dlls/gdi/Makefile dlls/gdi/tests/Makefile dlls/glu32/Makefile dlls/glut32/Makefile dlls/gphoto2.ds/Makefile dlls/hhctrl.ocx/Makefile dlls/iccvid/Makefile dlls/icmp/Makefile dlls/ifsmgr.vxd/Makefile dlls/imaadp32.acm/Makefile dlls/imagehlp/Makefile dlls/imm32/Makefile dlls/iphlpapi/Makefile dlls/iphlpapi/tests/Makefile dlls/itss/Makefile dlls/kernel/Makefile dlls/kernel/tests/Makefile dlls/lz32/Makefile dlls/lz32/tests/Makefile dlls/mapi32/Makefile dlls/mapi32/tests/Makefile dlls/mciavi32/Makefile dlls/mcicda/Makefile dlls/mciseq/Makefile dlls/mciwave/Makefile dlls/midimap/Makefile dlls/mlang/Makefile dlls/mlang/tests/Makefile dlls/mmdevldr.vxd/Makefile dlls/monodebg.vxd/Makefile dlls/mpr/Makefile dlls/mprapi/Makefile dlls/msacm32.drv/Makefile dlls/msacm32/Makefile dlls/msacm32/tests/Makefile dlls/msadp32.acm/Makefile dlls/mscms/Makefile dlls/mscms/tests/Makefile dlls/msdmo/Makefile dlls/msftedit/Makefile dlls/msg711.acm/Makefile dlls/mshtml/Makefile dlls/mshtml/tests/Makefile dlls/msi/Makefile dlls/msi/tests/Makefile dlls/msimg32/Makefile dlls/msisys.ocx/Makefile dlls/msnet32/Makefile dlls/msrle32/Makefile dlls/msvcrt/Makefile dlls/msvcrt/tests/Makefile dlls/msvcrt20/Makefile dlls/msvcrt40/Makefile dlls/msvcrtd/Makefile dlls/msvcrtd/tests/Makefile dlls/msvfw32/Makefile dlls/msvidc32/Makefile dlls/mswsock/Makefile dlls/msxml3/Makefile dlls/msxml3/tests/Makefile dlls/netapi32/Makefile dlls/netapi32/tests/Makefile dlls/newdev/Makefile dlls/ntdll/Makefile dlls/ntdll/tests/Makefile dlls/ntdsapi/Makefile dlls/objsel/Makefile dlls/odbc32/Makefile dlls/odbccp32/Makefile dlls/ole32/Makefile dlls/ole32/tests/Makefile dlls/oleacc/Makefile dlls/oleaut32/Makefile dlls/oleaut32/tests/Makefile dlls/olecli32/Makefile dlls/oledlg/Makefile dlls/olepro32/Makefile dlls/olesvr32/Makefile dlls/opengl32/Makefile dlls/powrprof/Makefile dlls/psapi/Makefile dlls/psapi/tests/Makefile dlls/qcap/Makefile dlls/quartz/Makefile dlls/quartz/tests/Makefile dlls/rasapi32/Makefile dlls/riched20/Makefile dlls/riched20/tests/Makefile dlls/riched32/Makefile dlls/rpcrt4/Makefile dlls/rpcrt4/tests/Makefile dlls/rsabase/Makefile dlls/rsabase/tests/Makefile dlls/rsaenh/Makefile dlls/rsaenh/tests/Makefile dlls/sane.ds/Makefile dlls/secur32/Makefile dlls/secur32/tests/Makefile dlls/security/Makefile dlls/sensapi/Makefile dlls/serialui/Makefile dlls/setupapi/Makefile dlls/setupapi/tests/Makefile dlls/sfc/Makefile dlls/shdocvw/Makefile dlls/shdocvw/tests/Makefile dlls/shell32/Makefile dlls/shell32/tests/Makefile dlls/shfolder/Makefile dlls/shlwapi/Makefile dlls/shlwapi/tests/Makefile dlls/snmpapi/Makefile dlls/spoolss/Makefile dlls/stdole2.tlb/Makefile dlls/stdole32.tlb/Makefile dlls/sti/Makefile dlls/strmiids/Makefile dlls/tapi32/Makefile dlls/twain_32/Makefile dlls/unicows/Makefile dlls/url/Makefile dlls/urlmon/Makefile dlls/urlmon/tests/Makefile dlls/user/Makefile dlls/user/tests/Makefile dlls/usp10/Makefile dlls/usp10/tests/Makefile dlls/uuid/Makefile dlls/uxtheme/Makefile dlls/vdhcp.vxd/Makefile dlls/vdmdbg/Makefile dlls/version/Makefile dlls/version/tests/Makefile dlls/vmm.vxd/Makefile dlls/vnbt.vxd/Makefile dlls/vnetbios.vxd/Makefile dlls/vtdapi.vxd/Makefile dlls/vwin32.vxd/Makefile dlls/w32skrnl/Makefile dlls/winecrt0/Makefile dlls/wined3d/Makefile dlls/winedos/Makefile dlls/winemp3.acm/Makefile dlls/wineps.drv/Makefile dlls/wininet/Makefile dlls/wininet/tests/Makefile dlls/winmm/Makefile dlls/winmm/joystick/Makefile dlls/winmm/tests/Makefile dlls/winmm/winealsa/Makefile dlls/winmm/winearts/Makefile dlls/winmm/wineaudioio/Makefile dlls/winmm/wineesd/Makefile dlls/winmm/winejack/Makefile dlls/winmm/winenas/Makefile dlls/winmm/wineoss/Makefile dlls/winnls32/Makefile dlls/winspool.drv/Makefile dlls/winspool.drv/tests/Makefile dlls/wintab32/Makefile dlls/wintrust/Makefile dlls/wldap32/Makefile dlls/wnaspi32/Makefile dlls/wow32/Makefile dlls/ws2_32/Makefile dlls/ws2_32/tests/Makefile dlls/wsock32/Makefile dlls/wtsapi32/Makefile dlls/x11drv/Makefile documentation/Makefile fonts/Makefile include/Makefile libs/Makefile libs/port/Makefile libs/unicode/Makefile libs/wine/Makefile libs/wpp/Makefile loader/Makefile programs/Makefile programs/clock/Makefile programs/cmdlgtst/Makefile programs/control/Makefile programs/eject/Makefile programs/expand/Makefile programs/explorer/Makefile programs/hh/Makefile programs/icinfo/Makefile programs/iexplore/Makefile programs/msiexec/Makefile programs/notepad/Makefile programs/progman/Makefile programs/regedit/Makefile programs/regsvr32/Makefile programs/rpcss/Makefile programs/rundll32/Makefile programs/start/Makefile programs/taskmgr/Makefile programs/uninstaller/Makefile programs/view/Makefile programs/wcmd/Makefile programs/wineboot/Makefile programs/winebrowser/Makefile programs/winecfg/Makefile programs/wineconsole/Makefile programs/winedbg/Makefile programs/winefile/Makefile programs/winemenubuilder/Makefile programs/winemine/Makefile programs/winepath/Makefile programs/winetest/Makefile programs/winevdm/Makefile programs/winhelp/Makefile programs/winver/Makefile programs/wordpad/Makefile server/Makefile tools/Makefile tools/widl/Makefile tools/winapi/Makefile tools/winebuild/Makefile tools/winedump/Makefile tools/winegcc/Makefile tools/wmc/Makefile tools/wrc/Makefile"
21091 cat >confcache
<<\_ACEOF
21092 # This file is a shell script that caches the results of configure
21093 # tests run on this system so they can be shared between configure
21094 # scripts and configure runs, see configure's option --config-cache.
21095 # It is not useful on other systems. If it contains results you don't
21096 # want to keep, you may remove or edit it.
21098 # config.status only pays attention to the cache file if you give it
21099 # the --recheck option to rerun configure.
21101 # `ac_cv_env_foo' variables (set or unset) will be overridden when
21102 # loading this file, other *unset* `ac_cv_foo' will be assigned the
21103 # following values.
21107 # The following way of writing the cache mishandles newlines in values,
21108 # but we know of no workaround that is simple, portable, and efficient.
21109 # So, we kill variables containing newlines.
21110 # Ultrix sh set writes to stderr and can't be redirected directly,
21111 # and sets the high bit in the cache file unless we assign to the vars.
21113 for ac_var
in `(set) 2>&1 | sed -n 's/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'`; do
21114 eval ac_val
=\$
$ac_var
21118 *_cv_
*) { echo "$as_me:$LINENO: WARNING: Cache variable $ac_var contains a newline." >&5
21119 echo "$as_me: WARNING: Cache variable $ac_var contains a newline." >&2;} ;;
21122 _ | IFS | as_nl
) ;; #(
21123 *) $as_unset $ac_var ;;
21129 case $as_nl`(ac_space=' '; set) 2>&1` in #(
21130 *${as_nl}ac_space
=\
*)
21131 # `set' does not quote correctly, so add quotes (double-quote
21132 # substitution turns \\\\ into \\, and sed turns \\ into \).
21135 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\\2'/p"
21138 # `set' quotes correctly as required by POSIX, so do not add quotes.
21139 sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
21148 s/^\([^=]*\)=\(.*[{}].*\)$/test "${\1+set}" = set || &/
21150 s/^\([^=]*\)=\(.*\)$/\1=${\1=\2}/
21152 if diff $cache_file confcache
>/dev
/null
2>&1; then :; else
21153 if test -w $cache_file; then
21154 test "x$cache_file" != "x/dev/null" &&
21155 { echo "$as_me:$LINENO: updating cache $cache_file" >&5
21156 echo "$as_me: updating cache $cache_file" >&6;}
21157 cat confcache
>$cache_file
21159 { echo "$as_me:$LINENO: not updating unwritable cache $cache_file" >&5
21160 echo "$as_me: not updating unwritable cache $cache_file" >&6;}
21165 test "x$prefix" = xNONE
&& prefix
=$ac_default_prefix
21166 # Let make expand exec_prefix.
21167 test "x$exec_prefix" = xNONE
&& exec_prefix
='${prefix}'
21169 DEFS
=-DHAVE_CONFIG_H
21173 for ac_i
in : $LIBOBJS; do test "x$ac_i" = x
: && continue
21174 # 1. Remove the extension, and $U if already installed.
21175 ac_script
='s/\$U\././;s/\.o$//;s/\.obj$//'
21176 ac_i
=`echo "$ac_i" | sed "$ac_script"`
21177 # 2. Prepend LIBOBJDIR. When used with automake>=1.10 LIBOBJDIR
21178 # will be set to the directory where LIBOBJS objects are built.
21179 ac_libobjs
="$ac_libobjs \${LIBOBJDIR}$ac_i\$U.$ac_objext"
21180 ac_ltlibobjs
="$ac_ltlibobjs \${LIBOBJDIR}$ac_i"'$U.lo'
21182 LIBOBJS
=$ac_libobjs
21184 LTLIBOBJS
=$ac_ltlibobjs
21188 : ${CONFIG_STATUS=./config.status}
21189 ac_clean_files_save
=$ac_clean_files
21190 ac_clean_files
="$ac_clean_files $CONFIG_STATUS"
21191 { echo "$as_me:$LINENO: creating $CONFIG_STATUS" >&5
21192 echo "$as_me: creating $CONFIG_STATUS" >&6;}
21193 cat >$CONFIG_STATUS <<_ACEOF
21195 # Generated by $as_me.
21196 # Run this file to recreate the current configuration.
21197 # Compiler output produced by configure, useful for debugging
21198 # configure, is in config.log if it exists.
21201 ac_cs_recheck=false
21203 SHELL=\${CONFIG_SHELL-$SHELL}
21206 cat >>$CONFIG_STATUS <<\_ACEOF
21207 ## --------------------- ##
21208 ## M4sh Initialization. ##
21209 ## --------------------- ##
21211 # Be Bourne compatible
21212 if test -n "${ZSH_VERSION+set}" && (emulate sh
) >/dev
/null
2>&1; then
21215 # Zsh 3.x and 4.x performs word splitting on ${1+"$@"}, which
21216 # is contrary to our usage. Disable this feature.
21217 alias -g '${1+"$@"}'='"$@"'
21218 setopt NO_GLOB_SUBST
21220 case `(set -o) 2>/dev/null` in *posix
*) set -o posix
;; esac
21222 BIN_SH
=xpg4
; export BIN_SH
# for Tru64
21223 DUALCASE
=1; export DUALCASE
# for MKS sh
21227 # Avoid depending upon Character Ranges.
21228 as_cr_letters
='abcdefghijklmnopqrstuvwxyz'
21229 as_cr_LETTERS
='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
21230 as_cr_Letters
=$as_cr_letters$as_cr_LETTERS
21231 as_cr_digits
='0123456789'
21232 as_cr_alnum
=$as_cr_Letters$as_cr_digits
21234 # The user is always right.
21235 if test "${PATH_SEPARATOR+set}" != set; then
21236 echo "#! /bin/sh" >conf$$.sh
21237 echo "exit 0" >>conf$$.sh
21239 if (PATH
="/nonexistent;."; conf$$.sh
) >/dev
/null
2>&1; then
21247 # Support unset when possible.
21248 if ( (MAIL
=60; unset MAIL
) ||
exit) >/dev
/null
2>&1; then
21256 # We need space, tab and new line, in precisely that order. Quoting is
21257 # there to prevent editors from complaining about space-tab.
21258 # (If _AS_PATH_WALK were called with IFS unset, it would disable word
21259 # splitting by setting IFS to empty value.)
21264 # Find who we are. Look in the path if we contain no directory separator.
21266 *[\\/]* ) as_myself
=$0 ;;
21267 *) as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
21268 for as_dir
in $PATH
21271 test -z "$as_dir" && as_dir
=.
21272 test -r "$as_dir/$0" && as_myself
=$as_dir/$0 && break
21278 # We did not find ourselves, most probably we were run as `sh COMMAND'
21279 # in which case we are not to be found in the path.
21280 if test "x$as_myself" = x
; then
21283 if test ! -f "$as_myself"; then
21284 echo "$as_myself: error: cannot find myself; rerun with an absolute file name" >&2
21285 { (exit 1); exit 1; }
21288 # Work around bugs in pre-3.0 UWIN ksh.
21289 for as_var
in ENV MAIL MAILPATH
21290 do ($as_unset $as_var) >/dev
/null
2>&1 && $as_unset $as_var
21298 LANG LANGUAGE LC_ADDRESS LC_ALL LC_COLLATE LC_CTYPE LC_IDENTIFICATION \
21299 LC_MEASUREMENT LC_MESSAGES LC_MONETARY LC_NAME LC_NUMERIC LC_PAPER \
21300 LC_TELEPHONE LC_TIME
21302 if (set +x
; test -z "`(eval $as_var=C; export $as_var) 2>&1`"); then
21303 eval $as_var=C
; export $as_var
21305 ($as_unset $as_var) >/dev
/null
2>&1 && $as_unset $as_var
21309 # Required to use basename.
21310 if expr a
: '\(a\)' >/dev
/null
2>&1 &&
21311 test "X`expr 00001 : '.*\(...\)'`" = X001
; then
21317 if (basename -- /) >/dev
/null
2>&1 && test "X`basename -- / 2>&1`" = "X/"; then
21318 as_basename
=basename
21324 # Name of the executable.
21325 as_me
=`$as_basename -- "$0" ||
21326 $as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
21327 X"$0" : 'X\(//\)$' \| \
21328 X"$0" : 'X\(/\)' \| . 2>/dev/null ||
21330 sed '/^.*\/\([^/][^/]*\)\/*$/{
21349 as_lineno_1
=$LINENO
21350 as_lineno_2
=$LINENO
21351 test "x$as_lineno_1" != "x$as_lineno_2" &&
21352 test "x`expr $as_lineno_1 + 1`" = "x$as_lineno_2" ||
{
21354 # Create $as_me.lineno as a copy of $as_myself, but with $LINENO
21355 # uniformly replaced by the line number. The first 'sed' inserts a
21356 # line-number line after each line using $LINENO; the second 'sed'
21357 # does the real work. The second script uses 'N' to pair each
21358 # line-number line with the line containing $LINENO, and appends
21359 # trailing '-' during substitution so that $LINENO is not a special
21360 # case at line end.
21361 # (Raja R Harinath suggested sed '=', and Paul Eggert wrote the
21362 # scripts with optimization help from Paolo Bonzini. Blame Lee
21363 # E. McMahon (1931-1989) for sed's syntax. :-)
21375 s/[$]LINENO\([^'$as_cr_alnum'_].*\n\)\(.*\)/\2\1\2/
21378 ' >$as_me.lineno
&&
21379 chmod +x
"$as_me.lineno" ||
21380 { echo "$as_me: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&2
21381 { (exit 1); exit 1; }; }
21383 # Don't try to exec as it changes $[0], causing all sort of problems
21384 # (the dirname of $[0] is not the place where we might find the
21385 # original and so on. Autoconf is especially sensitive to this).
21386 .
"./$as_me.lineno"
21387 # Exit status is that of the last command.
21392 if (dirname -- /) >/dev
/null
2>&1; then
21398 ECHO_C
= ECHO_N
= ECHO_T
=
21399 case `echo -n x` in
21401 case `echo 'x\c'` in
21402 *c
*) ECHO_T
=' ';; # ECHO_T is single tab character.
21409 if expr a
: '\(a\)' >/dev
/null
2>&1 &&
21410 test "X`expr 00001 : '.*\(...\)'`" = X001
; then
21416 rm -f conf$$ conf$$.exe conf$$.
file
21417 if test -d conf$$.dir
; then
21418 rm -f conf$$.dir
/conf$$.
file
21424 if ln -s conf$$.
file conf$$
2>/dev
/null
; then
21426 # ... but there are two gotchas:
21427 # 1) On MSYS, both `ln -s file dir' and `ln file dir' fail.
21428 # 2) DJGPP < 2.04 has no symlinks; `ln -s' creates a wrapper executable.
21429 # In both cases, we have to default to `cp -p'.
21430 ln -s conf$$.
file conf$$.dir
2>/dev
/null
&& test ! -f conf$$.exe ||
21432 elif ln conf$$.
file conf$$
2>/dev
/null
; then
21437 rm -f conf$$ conf$$.exe conf$$.dir
/conf$$.
file conf$$.
file
21438 rmdir conf$$.dir
2>/dev
/null
21440 if mkdir
-p .
2>/dev
/null
; then
21443 test -d .
/-p && rmdir .
/-p
21447 # Find out whether ``test -x'' works. Don't use a zero-byte file, as
21448 # systems may use methods other than mode bits to determine executability.
21449 cat >conf$$.
file <<_ASEOF
21453 chmod +x conf$$.
file
21454 if test -x conf$$.
file >/dev
/null
2>&1; then
21455 as_executable_p
="test -x"
21461 # Sed expression to map a string onto a valid CPP name.
21462 as_tr_cpp
="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'"
21464 # Sed expression to map a string onto a valid variable name.
21465 as_tr_sh
="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'"
21470 # Save the log message, to keep $[0] and so on meaningful, and to
21471 # report actual input values of CONFIG_FILES etc. instead of their
21472 # values after options handling.
21474 This file was extended by Wine $as_me 0.9.14, which was
21475 generated by GNU Autoconf 2.59d. Invocation command line was
21477 CONFIG_FILES = $CONFIG_FILES
21478 CONFIG_HEADERS = $CONFIG_HEADERS
21479 CONFIG_LINKS = $CONFIG_LINKS
21480 CONFIG_COMMANDS = $CONFIG_COMMANDS
21483 on `(hostname || uname -n) 2>/dev/null | sed 1q`
21488 cat >>$CONFIG_STATUS <<_ACEOF
21489 # Files that config.status was made for.
21490 config_files="$ac_config_files"
21491 config_headers="$ac_config_headers"
21492 config_commands="$ac_config_commands"
21496 cat >>$CONFIG_STATUS <<\_ACEOF
21498 \`$as_me' instantiates files from templates according to the
21499 current configuration.
21501 Usage: $0 [OPTIONS] [FILE]...
21503 -h, --help print this help, then exit
21504 -V, --version print version number, then exit
21505 -q, --quiet do not print progress messages
21506 -d, --debug don't remove temporary files
21507 --recheck update $as_me by reconfiguring in the same conditions
21508 --file=FILE[:TEMPLATE]
21509 instantiate the configuration file FILE
21510 --header=FILE[:TEMPLATE]
21511 instantiate the configuration header FILE
21513 Configuration files:
21516 Configuration headers:
21519 Configuration commands:
21522 Report bugs to <bug-autoconf@gnu.org>."
21525 cat >>$CONFIG_STATUS <<_ACEOF
21527 Wine config.status 0.9.14
21528 configured by $0, generated by GNU Autoconf 2.59d,
21529 with options \\"`echo "$ac_configure_args" | sed 's/[\\""\`\$]/\\\\&/g'`\\"
21531 Copyright (C) 2006 Free Software Foundation, Inc.
21532 This config.status script is free software; the Free Software Foundation
21533 gives unlimited permission to copy, distribute and modify it."
21540 cat >>$CONFIG_STATUS <<\_ACEOF
21541 # If no file are specified by the user, then we need to provide default
21542 # value. By we need to know if files were specified by the user.
21548 ac_option
=`expr "X$1" : 'X\([^=]*\)='`
21549 ac_optarg
=`expr "X$1" : 'X[^=]*=\(.*\)'`
21560 # Handling of the options.
21561 -recheck |
--recheck |
--rechec |
--reche |
--rech |
--rec |
--re |
--r)
21563 --version |
--versio |
--versi |
--vers |
--ver |
--ve |
--v |
-V )
21564 echo "$ac_cs_version"; exit ;;
21565 --debug |
--debu |
--deb |
--de |
--d |
-d )
21567 --file |
--fil |
--fi |
--f )
21569 CONFIG_FILES
="$CONFIG_FILES $ac_optarg"
21570 ac_need_defaults
=false
;;
21571 --header |
--heade |
--head |
--hea )
21573 CONFIG_HEADERS
="$CONFIG_HEADERS $ac_optarg"
21574 ac_need_defaults
=false
;;
21576 # Conflict between --help and --header
21577 { echo "$as_me: error: ambiguous option: $1
21578 Try \`$0 --help' for more information." >&2
21579 { (exit 1); exit 1; }; };;
21580 --help |
--hel |
-h )
21581 echo "$ac_cs_usage"; exit ;;
21582 -q |
-quiet |
--quiet |
--quie |
--qui |
--qu |
--q \
21583 |
-silent |
--silent |
--silen |
--sile |
--sil |
--si |
--s)
21586 # This is an error.
21587 -*) { echo "$as_me: error: unrecognized option: $1
21588 Try \`$0 --help' for more information." >&2
21589 { (exit 1); exit 1; }; } ;;
21591 *) ac_config_targets
="$ac_config_targets $1"
21592 ac_need_defaults
=false
;;
21598 ac_configure_extra_args
=
21600 if $ac_cs_silent; then
21602 ac_configure_extra_args
="$ac_configure_extra_args --silent"
21606 cat >>$CONFIG_STATUS <<_ACEOF
21607 if \$ac_cs_recheck; then
21608 echo "running CONFIG_SHELL=$SHELL $SHELL $0 " $ac_configure_args \$ac_configure_extra_args " --no-create --no-recursion" >&6
21609 CONFIG_SHELL=$SHELL
21610 export CONFIG_SHELL
21611 exec $SHELL "$0" $ac_configure_args \$ac_configure_extra_args --no-create --no-recursion
21615 cat >>$CONFIG_STATUS <<\_ACEOF
21619 sed 'h;s/./-/g;s/^.../## /;s/...$/ ##/;p;x;p;x' <<_ASBOX
21620 ## Running $as_me. ##
21626 cat >>$CONFIG_STATUS <<_ACEOF
21629 cat >>$CONFIG_STATUS <<\_ACEOF
21631 # Handling of arguments.
21632 for ac_config_target
in $ac_config_targets
21634 case $ac_config_target in
21635 "include/config.h") CONFIG_HEADERS
="$CONFIG_HEADERS include/config.h" ;;
21636 "dlls/gdi/enhmfdrv") CONFIG_COMMANDS
="$CONFIG_COMMANDS dlls/gdi/enhmfdrv" ;;
21637 "dlls/gdi/mfdrv") CONFIG_COMMANDS
="$CONFIG_COMMANDS dlls/gdi/mfdrv" ;;
21638 "dlls/kernel/messages") CONFIG_COMMANDS
="$CONFIG_COMMANDS dlls/kernel/messages" ;;
21639 "dlls/user/resources") CONFIG_COMMANDS
="$CONFIG_COMMANDS dlls/user/resources" ;;
21640 "dlls/wineps.drv/data") CONFIG_COMMANDS
="$CONFIG_COMMANDS dlls/wineps.drv/data" ;;
21641 "include/wine") CONFIG_COMMANDS
="$CONFIG_COMMANDS include/wine" ;;
21642 "Make.rules") CONFIG_FILES
="$CONFIG_FILES Make.rules" ;;
21643 "dlls/Makedll.rules") CONFIG_FILES
="$CONFIG_FILES dlls/Makedll.rules" ;;
21644 "dlls/Makeimplib.rules") CONFIG_FILES
="$CONFIG_FILES dlls/Makeimplib.rules" ;;
21645 "dlls/Maketest.rules") CONFIG_FILES
="$CONFIG_FILES dlls/Maketest.rules" ;;
21646 "libs/Makelib.rules") CONFIG_FILES
="$CONFIG_FILES libs/Makelib.rules" ;;
21647 "programs/Makeprog.rules") CONFIG_FILES
="$CONFIG_FILES programs/Makeprog.rules" ;;
21648 "Makefile") CONFIG_FILES
="$CONFIG_FILES Makefile" ;;
21649 "dlls/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/Makefile" ;;
21650 "dlls/activeds/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/activeds/Makefile" ;;
21651 "dlls/advapi32/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/advapi32/Makefile" ;;
21652 "dlls/advapi32/tests/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/advapi32/tests/Makefile" ;;
21653 "dlls/advpack/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/advpack/Makefile" ;;
21654 "dlls/advpack/tests/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/advpack/tests/Makefile" ;;
21655 "dlls/amstream/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/amstream/Makefile" ;;
21656 "dlls/atl/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/atl/Makefile" ;;
21657 "dlls/avicap32/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/avicap32/Makefile" ;;
21658 "dlls/avifil32/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/avifil32/Makefile" ;;
21659 "dlls/cabinet/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/cabinet/Makefile" ;;
21660 "dlls/cabinet/tests/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/cabinet/tests/Makefile" ;;
21661 "dlls/capi2032/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/capi2032/Makefile" ;;
21662 "dlls/cards/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/cards/Makefile" ;;
21663 "dlls/cfgmgr32/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/cfgmgr32/Makefile" ;;
21664 "dlls/comcat/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/comcat/Makefile" ;;
21665 "dlls/comctl32/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/comctl32/Makefile" ;;
21666 "dlls/comctl32/tests/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/comctl32/tests/Makefile" ;;
21667 "dlls/comdlg32/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/comdlg32/Makefile" ;;
21668 "dlls/crtdll/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/crtdll/Makefile" ;;
21669 "dlls/crypt32/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/crypt32/Makefile" ;;
21670 "dlls/crypt32/tests/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/crypt32/tests/Makefile" ;;
21671 "dlls/cryptdll/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/cryptdll/Makefile" ;;
21672 "dlls/ctl3d32/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/ctl3d32/Makefile" ;;
21673 "dlls/d3d8/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/d3d8/Makefile" ;;
21674 "dlls/d3d8/tests/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/d3d8/tests/Makefile" ;;
21675 "dlls/d3d9/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/d3d9/Makefile" ;;
21676 "dlls/d3d9/tests/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/d3d9/tests/Makefile" ;;
21677 "dlls/d3dim/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/d3dim/Makefile" ;;
21678 "dlls/d3drm/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/d3drm/Makefile" ;;
21679 "dlls/d3dx8/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/d3dx8/Makefile" ;;
21680 "dlls/d3dxof/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/d3dxof/Makefile" ;;
21681 "dlls/dbghelp/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/dbghelp/Makefile" ;;
21682 "dlls/dciman32/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/dciman32/Makefile" ;;
21683 "dlls/ddraw/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/ddraw/Makefile" ;;
21684 "dlls/ddraw/tests/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/ddraw/tests/Makefile" ;;
21685 "dlls/devenum/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/devenum/Makefile" ;;
21686 "dlls/dinput/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/dinput/Makefile" ;;
21687 "dlls/dinput/tests/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/dinput/tests/Makefile" ;;
21688 "dlls/dinput8/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/dinput8/Makefile" ;;
21689 "dlls/dmband/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/dmband/Makefile" ;;
21690 "dlls/dmcompos/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/dmcompos/Makefile" ;;
21691 "dlls/dmime/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/dmime/Makefile" ;;
21692 "dlls/dmloader/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/dmloader/Makefile" ;;
21693 "dlls/dmscript/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/dmscript/Makefile" ;;
21694 "dlls/dmstyle/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/dmstyle/Makefile" ;;
21695 "dlls/dmsynth/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/dmsynth/Makefile" ;;
21696 "dlls/dmusic/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/dmusic/Makefile" ;;
21697 "dlls/dmusic32/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/dmusic32/Makefile" ;;
21698 "dlls/dnsapi/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/dnsapi/Makefile" ;;
21699 "dlls/dnsapi/tests/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/dnsapi/tests/Makefile" ;;
21700 "dlls/dplay/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/dplay/Makefile" ;;
21701 "dlls/dplayx/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/dplayx/Makefile" ;;
21702 "dlls/dpnet/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/dpnet/Makefile" ;;
21703 "dlls/dpnhpast/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/dpnhpast/Makefile" ;;
21704 "dlls/dsound/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/dsound/Makefile" ;;
21705 "dlls/dsound/tests/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/dsound/tests/Makefile" ;;
21706 "dlls/dswave/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/dswave/Makefile" ;;
21707 "dlls/dxdiagn/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/dxdiagn/Makefile" ;;
21708 "dlls/dxerr8/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/dxerr8/Makefile" ;;
21709 "dlls/dxerr9/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/dxerr9/Makefile" ;;
21710 "dlls/dxguid/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/dxguid/Makefile" ;;
21711 "dlls/gdi/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/gdi/Makefile" ;;
21712 "dlls/gdi/tests/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/gdi/tests/Makefile" ;;
21713 "dlls/glu32/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/glu32/Makefile" ;;
21714 "dlls/glut32/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/glut32/Makefile" ;;
21715 "dlls/gphoto2.ds/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/gphoto2.ds/Makefile" ;;
21716 "dlls/hhctrl.ocx/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/hhctrl.ocx/Makefile" ;;
21717 "dlls/iccvid/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/iccvid/Makefile" ;;
21718 "dlls/icmp/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/icmp/Makefile" ;;
21719 "dlls/ifsmgr.vxd/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/ifsmgr.vxd/Makefile" ;;
21720 "dlls/imaadp32.acm/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/imaadp32.acm/Makefile" ;;
21721 "dlls/imagehlp/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/imagehlp/Makefile" ;;
21722 "dlls/imm32/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/imm32/Makefile" ;;
21723 "dlls/iphlpapi/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/iphlpapi/Makefile" ;;
21724 "dlls/iphlpapi/tests/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/iphlpapi/tests/Makefile" ;;
21725 "dlls/itss/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/itss/Makefile" ;;
21726 "dlls/kernel/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/kernel/Makefile" ;;
21727 "dlls/kernel/tests/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/kernel/tests/Makefile" ;;
21728 "dlls/lz32/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/lz32/Makefile" ;;
21729 "dlls/lz32/tests/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/lz32/tests/Makefile" ;;
21730 "dlls/mapi32/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/mapi32/Makefile" ;;
21731 "dlls/mapi32/tests/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/mapi32/tests/Makefile" ;;
21732 "dlls/mciavi32/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/mciavi32/Makefile" ;;
21733 "dlls/mcicda/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/mcicda/Makefile" ;;
21734 "dlls/mciseq/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/mciseq/Makefile" ;;
21735 "dlls/mciwave/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/mciwave/Makefile" ;;
21736 "dlls/midimap/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/midimap/Makefile" ;;
21737 "dlls/mlang/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/mlang/Makefile" ;;
21738 "dlls/mlang/tests/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/mlang/tests/Makefile" ;;
21739 "dlls/mmdevldr.vxd/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/mmdevldr.vxd/Makefile" ;;
21740 "dlls/monodebg.vxd/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/monodebg.vxd/Makefile" ;;
21741 "dlls/mpr/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/mpr/Makefile" ;;
21742 "dlls/mprapi/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/mprapi/Makefile" ;;
21743 "dlls/msacm32.drv/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/msacm32.drv/Makefile" ;;
21744 "dlls/msacm32/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/msacm32/Makefile" ;;
21745 "dlls/msacm32/tests/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/msacm32/tests/Makefile" ;;
21746 "dlls/msadp32.acm/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/msadp32.acm/Makefile" ;;
21747 "dlls/mscms/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/mscms/Makefile" ;;
21748 "dlls/mscms/tests/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/mscms/tests/Makefile" ;;
21749 "dlls/msdmo/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/msdmo/Makefile" ;;
21750 "dlls/msftedit/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/msftedit/Makefile" ;;
21751 "dlls/msg711.acm/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/msg711.acm/Makefile" ;;
21752 "dlls/mshtml/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/mshtml/Makefile" ;;
21753 "dlls/mshtml/tests/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/mshtml/tests/Makefile" ;;
21754 "dlls/msi/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/msi/Makefile" ;;
21755 "dlls/msi/tests/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/msi/tests/Makefile" ;;
21756 "dlls/msimg32/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/msimg32/Makefile" ;;
21757 "dlls/msisys.ocx/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/msisys.ocx/Makefile" ;;
21758 "dlls/msnet32/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/msnet32/Makefile" ;;
21759 "dlls/msrle32/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/msrle32/Makefile" ;;
21760 "dlls/msvcrt/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/msvcrt/Makefile" ;;
21761 "dlls/msvcrt/tests/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/msvcrt/tests/Makefile" ;;
21762 "dlls/msvcrt20/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/msvcrt20/Makefile" ;;
21763 "dlls/msvcrt40/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/msvcrt40/Makefile" ;;
21764 "dlls/msvcrtd/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/msvcrtd/Makefile" ;;
21765 "dlls/msvcrtd/tests/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/msvcrtd/tests/Makefile" ;;
21766 "dlls/msvfw32/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/msvfw32/Makefile" ;;
21767 "dlls/msvidc32/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/msvidc32/Makefile" ;;
21768 "dlls/mswsock/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/mswsock/Makefile" ;;
21769 "dlls/msxml3/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/msxml3/Makefile" ;;
21770 "dlls/msxml3/tests/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/msxml3/tests/Makefile" ;;
21771 "dlls/netapi32/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/netapi32/Makefile" ;;
21772 "dlls/netapi32/tests/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/netapi32/tests/Makefile" ;;
21773 "dlls/newdev/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/newdev/Makefile" ;;
21774 "dlls/ntdll/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/ntdll/Makefile" ;;
21775 "dlls/ntdll/tests/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/ntdll/tests/Makefile" ;;
21776 "dlls/ntdsapi/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/ntdsapi/Makefile" ;;
21777 "dlls/objsel/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/objsel/Makefile" ;;
21778 "dlls/odbc32/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/odbc32/Makefile" ;;
21779 "dlls/odbccp32/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/odbccp32/Makefile" ;;
21780 "dlls/ole32/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/ole32/Makefile" ;;
21781 "dlls/ole32/tests/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/ole32/tests/Makefile" ;;
21782 "dlls/oleacc/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/oleacc/Makefile" ;;
21783 "dlls/oleaut32/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/oleaut32/Makefile" ;;
21784 "dlls/oleaut32/tests/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/oleaut32/tests/Makefile" ;;
21785 "dlls/olecli32/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/olecli32/Makefile" ;;
21786 "dlls/oledlg/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/oledlg/Makefile" ;;
21787 "dlls/olepro32/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/olepro32/Makefile" ;;
21788 "dlls/olesvr32/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/olesvr32/Makefile" ;;
21789 "dlls/opengl32/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/opengl32/Makefile" ;;
21790 "dlls/powrprof/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/powrprof/Makefile" ;;
21791 "dlls/psapi/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/psapi/Makefile" ;;
21792 "dlls/psapi/tests/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/psapi/tests/Makefile" ;;
21793 "dlls/qcap/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/qcap/Makefile" ;;
21794 "dlls/quartz/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/quartz/Makefile" ;;
21795 "dlls/quartz/tests/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/quartz/tests/Makefile" ;;
21796 "dlls/rasapi32/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/rasapi32/Makefile" ;;
21797 "dlls/riched20/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/riched20/Makefile" ;;
21798 "dlls/riched20/tests/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/riched20/tests/Makefile" ;;
21799 "dlls/riched32/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/riched32/Makefile" ;;
21800 "dlls/rpcrt4/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/rpcrt4/Makefile" ;;
21801 "dlls/rpcrt4/tests/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/rpcrt4/tests/Makefile" ;;
21802 "dlls/rsabase/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/rsabase/Makefile" ;;
21803 "dlls/rsabase/tests/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/rsabase/tests/Makefile" ;;
21804 "dlls/rsaenh/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/rsaenh/Makefile" ;;
21805 "dlls/rsaenh/tests/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/rsaenh/tests/Makefile" ;;
21806 "dlls/sane.ds/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/sane.ds/Makefile" ;;
21807 "dlls/secur32/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/secur32/Makefile" ;;
21808 "dlls/secur32/tests/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/secur32/tests/Makefile" ;;
21809 "dlls/security/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/security/Makefile" ;;
21810 "dlls/sensapi/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/sensapi/Makefile" ;;
21811 "dlls/serialui/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/serialui/Makefile" ;;
21812 "dlls/setupapi/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/setupapi/Makefile" ;;
21813 "dlls/setupapi/tests/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/setupapi/tests/Makefile" ;;
21814 "dlls/sfc/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/sfc/Makefile" ;;
21815 "dlls/shdocvw/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/shdocvw/Makefile" ;;
21816 "dlls/shdocvw/tests/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/shdocvw/tests/Makefile" ;;
21817 "dlls/shell32/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/shell32/Makefile" ;;
21818 "dlls/shell32/tests/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/shell32/tests/Makefile" ;;
21819 "dlls/shfolder/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/shfolder/Makefile" ;;
21820 "dlls/shlwapi/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/shlwapi/Makefile" ;;
21821 "dlls/shlwapi/tests/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/shlwapi/tests/Makefile" ;;
21822 "dlls/snmpapi/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/snmpapi/Makefile" ;;
21823 "dlls/spoolss/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/spoolss/Makefile" ;;
21824 "dlls/stdole2.tlb/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/stdole2.tlb/Makefile" ;;
21825 "dlls/stdole32.tlb/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/stdole32.tlb/Makefile" ;;
21826 "dlls/sti/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/sti/Makefile" ;;
21827 "dlls/strmiids/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/strmiids/Makefile" ;;
21828 "dlls/tapi32/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/tapi32/Makefile" ;;
21829 "dlls/twain_32/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/twain_32/Makefile" ;;
21830 "dlls/unicows/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/unicows/Makefile" ;;
21831 "dlls/url/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/url/Makefile" ;;
21832 "dlls/urlmon/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/urlmon/Makefile" ;;
21833 "dlls/urlmon/tests/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/urlmon/tests/Makefile" ;;
21834 "dlls/user/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/user/Makefile" ;;
21835 "dlls/user/tests/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/user/tests/Makefile" ;;
21836 "dlls/usp10/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/usp10/Makefile" ;;
21837 "dlls/usp10/tests/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/usp10/tests/Makefile" ;;
21838 "dlls/uuid/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/uuid/Makefile" ;;
21839 "dlls/uxtheme/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/uxtheme/Makefile" ;;
21840 "dlls/vdhcp.vxd/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/vdhcp.vxd/Makefile" ;;
21841 "dlls/vdmdbg/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/vdmdbg/Makefile" ;;
21842 "dlls/version/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/version/Makefile" ;;
21843 "dlls/version/tests/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/version/tests/Makefile" ;;
21844 "dlls/vmm.vxd/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/vmm.vxd/Makefile" ;;
21845 "dlls/vnbt.vxd/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/vnbt.vxd/Makefile" ;;
21846 "dlls/vnetbios.vxd/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/vnetbios.vxd/Makefile" ;;
21847 "dlls/vtdapi.vxd/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/vtdapi.vxd/Makefile" ;;
21848 "dlls/vwin32.vxd/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/vwin32.vxd/Makefile" ;;
21849 "dlls/w32skrnl/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/w32skrnl/Makefile" ;;
21850 "dlls/winecrt0/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/winecrt0/Makefile" ;;
21851 "dlls/wined3d/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/wined3d/Makefile" ;;
21852 "dlls/winedos/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/winedos/Makefile" ;;
21853 "dlls/winemp3.acm/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/winemp3.acm/Makefile" ;;
21854 "dlls/wineps.drv/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/wineps.drv/Makefile" ;;
21855 "dlls/wininet/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/wininet/Makefile" ;;
21856 "dlls/wininet/tests/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/wininet/tests/Makefile" ;;
21857 "dlls/winmm/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/winmm/Makefile" ;;
21858 "dlls/winmm/joystick/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/winmm/joystick/Makefile" ;;
21859 "dlls/winmm/tests/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/winmm/tests/Makefile" ;;
21860 "dlls/winmm/winealsa/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/winmm/winealsa/Makefile" ;;
21861 "dlls/winmm/winearts/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/winmm/winearts/Makefile" ;;
21862 "dlls/winmm/wineaudioio/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/winmm/wineaudioio/Makefile" ;;
21863 "dlls/winmm/wineesd/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/winmm/wineesd/Makefile" ;;
21864 "dlls/winmm/winejack/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/winmm/winejack/Makefile" ;;
21865 "dlls/winmm/winenas/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/winmm/winenas/Makefile" ;;
21866 "dlls/winmm/wineoss/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/winmm/wineoss/Makefile" ;;
21867 "dlls/winnls32/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/winnls32/Makefile" ;;
21868 "dlls/winspool.drv/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/winspool.drv/Makefile" ;;
21869 "dlls/winspool.drv/tests/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/winspool.drv/tests/Makefile" ;;
21870 "dlls/wintab32/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/wintab32/Makefile" ;;
21871 "dlls/wintrust/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/wintrust/Makefile" ;;
21872 "dlls/wldap32/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/wldap32/Makefile" ;;
21873 "dlls/wnaspi32/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/wnaspi32/Makefile" ;;
21874 "dlls/wow32/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/wow32/Makefile" ;;
21875 "dlls/ws2_32/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/ws2_32/Makefile" ;;
21876 "dlls/ws2_32/tests/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/ws2_32/tests/Makefile" ;;
21877 "dlls/wsock32/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/wsock32/Makefile" ;;
21878 "dlls/wtsapi32/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/wtsapi32/Makefile" ;;
21879 "dlls/x11drv/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/x11drv/Makefile" ;;
21880 "documentation/Makefile") CONFIG_FILES
="$CONFIG_FILES documentation/Makefile" ;;
21881 "fonts/Makefile") CONFIG_FILES
="$CONFIG_FILES fonts/Makefile" ;;
21882 "include/Makefile") CONFIG_FILES
="$CONFIG_FILES include/Makefile" ;;
21883 "libs/Makefile") CONFIG_FILES
="$CONFIG_FILES libs/Makefile" ;;
21884 "libs/port/Makefile") CONFIG_FILES
="$CONFIG_FILES libs/port/Makefile" ;;
21885 "libs/unicode/Makefile") CONFIG_FILES
="$CONFIG_FILES libs/unicode/Makefile" ;;
21886 "libs/wine/Makefile") CONFIG_FILES
="$CONFIG_FILES libs/wine/Makefile" ;;
21887 "libs/wpp/Makefile") CONFIG_FILES
="$CONFIG_FILES libs/wpp/Makefile" ;;
21888 "loader/Makefile") CONFIG_FILES
="$CONFIG_FILES loader/Makefile" ;;
21889 "programs/Makefile") CONFIG_FILES
="$CONFIG_FILES programs/Makefile" ;;
21890 "programs/clock/Makefile") CONFIG_FILES
="$CONFIG_FILES programs/clock/Makefile" ;;
21891 "programs/cmdlgtst/Makefile") CONFIG_FILES
="$CONFIG_FILES programs/cmdlgtst/Makefile" ;;
21892 "programs/control/Makefile") CONFIG_FILES
="$CONFIG_FILES programs/control/Makefile" ;;
21893 "programs/eject/Makefile") CONFIG_FILES
="$CONFIG_FILES programs/eject/Makefile" ;;
21894 "programs/expand/Makefile") CONFIG_FILES
="$CONFIG_FILES programs/expand/Makefile" ;;
21895 "programs/explorer/Makefile") CONFIG_FILES
="$CONFIG_FILES programs/explorer/Makefile" ;;
21896 "programs/hh/Makefile") CONFIG_FILES
="$CONFIG_FILES programs/hh/Makefile" ;;
21897 "programs/icinfo/Makefile") CONFIG_FILES
="$CONFIG_FILES programs/icinfo/Makefile" ;;
21898 "programs/iexplore/Makefile") CONFIG_FILES
="$CONFIG_FILES programs/iexplore/Makefile" ;;
21899 "programs/msiexec/Makefile") CONFIG_FILES
="$CONFIG_FILES programs/msiexec/Makefile" ;;
21900 "programs/notepad/Makefile") CONFIG_FILES
="$CONFIG_FILES programs/notepad/Makefile" ;;
21901 "programs/progman/Makefile") CONFIG_FILES
="$CONFIG_FILES programs/progman/Makefile" ;;
21902 "programs/regedit/Makefile") CONFIG_FILES
="$CONFIG_FILES programs/regedit/Makefile" ;;
21903 "programs/regsvr32/Makefile") CONFIG_FILES
="$CONFIG_FILES programs/regsvr32/Makefile" ;;
21904 "programs/rpcss/Makefile") CONFIG_FILES
="$CONFIG_FILES programs/rpcss/Makefile" ;;
21905 "programs/rundll32/Makefile") CONFIG_FILES
="$CONFIG_FILES programs/rundll32/Makefile" ;;
21906 "programs/start/Makefile") CONFIG_FILES
="$CONFIG_FILES programs/start/Makefile" ;;
21907 "programs/taskmgr/Makefile") CONFIG_FILES
="$CONFIG_FILES programs/taskmgr/Makefile" ;;
21908 "programs/uninstaller/Makefile") CONFIG_FILES
="$CONFIG_FILES programs/uninstaller/Makefile" ;;
21909 "programs/view/Makefile") CONFIG_FILES
="$CONFIG_FILES programs/view/Makefile" ;;
21910 "programs/wcmd/Makefile") CONFIG_FILES
="$CONFIG_FILES programs/wcmd/Makefile" ;;
21911 "programs/wineboot/Makefile") CONFIG_FILES
="$CONFIG_FILES programs/wineboot/Makefile" ;;
21912 "programs/winebrowser/Makefile") CONFIG_FILES
="$CONFIG_FILES programs/winebrowser/Makefile" ;;
21913 "programs/winecfg/Makefile") CONFIG_FILES
="$CONFIG_FILES programs/winecfg/Makefile" ;;
21914 "programs/wineconsole/Makefile") CONFIG_FILES
="$CONFIG_FILES programs/wineconsole/Makefile" ;;
21915 "programs/winedbg/Makefile") CONFIG_FILES
="$CONFIG_FILES programs/winedbg/Makefile" ;;
21916 "programs/winefile/Makefile") CONFIG_FILES
="$CONFIG_FILES programs/winefile/Makefile" ;;
21917 "programs/winemenubuilder/Makefile") CONFIG_FILES
="$CONFIG_FILES programs/winemenubuilder/Makefile" ;;
21918 "programs/winemine/Makefile") CONFIG_FILES
="$CONFIG_FILES programs/winemine/Makefile" ;;
21919 "programs/winepath/Makefile") CONFIG_FILES
="$CONFIG_FILES programs/winepath/Makefile" ;;
21920 "programs/winetest/Makefile") CONFIG_FILES
="$CONFIG_FILES programs/winetest/Makefile" ;;
21921 "programs/winevdm/Makefile") CONFIG_FILES
="$CONFIG_FILES programs/winevdm/Makefile" ;;
21922 "programs/winhelp/Makefile") CONFIG_FILES
="$CONFIG_FILES programs/winhelp/Makefile" ;;
21923 "programs/winver/Makefile") CONFIG_FILES
="$CONFIG_FILES programs/winver/Makefile" ;;
21924 "programs/wordpad/Makefile") CONFIG_FILES
="$CONFIG_FILES programs/wordpad/Makefile" ;;
21925 "server/Makefile") CONFIG_FILES
="$CONFIG_FILES server/Makefile" ;;
21926 "tools/Makefile") CONFIG_FILES
="$CONFIG_FILES tools/Makefile" ;;
21927 "tools/widl/Makefile") CONFIG_FILES
="$CONFIG_FILES tools/widl/Makefile" ;;
21928 "tools/winapi/Makefile") CONFIG_FILES
="$CONFIG_FILES tools/winapi/Makefile" ;;
21929 "tools/winebuild/Makefile") CONFIG_FILES
="$CONFIG_FILES tools/winebuild/Makefile" ;;
21930 "tools/winedump/Makefile") CONFIG_FILES
="$CONFIG_FILES tools/winedump/Makefile" ;;
21931 "tools/winegcc/Makefile") CONFIG_FILES
="$CONFIG_FILES tools/winegcc/Makefile" ;;
21932 "tools/wmc/Makefile") CONFIG_FILES
="$CONFIG_FILES tools/wmc/Makefile" ;;
21933 "tools/wrc/Makefile") CONFIG_FILES
="$CONFIG_FILES tools/wrc/Makefile" ;;
21935 *) { { echo "$as_me:$LINENO: error: invalid argument: $ac_config_target" >&5
21936 echo "$as_me: error: invalid argument: $ac_config_target" >&2;}
21937 { (exit 1); exit 1; }; };;
21942 # If the user did not use the arguments to specify the items to instantiate,
21943 # then the envvar interface is used. Set only those that are not.
21944 # We use the long form for the default assignment because of an extremely
21945 # bizarre bug on SunOS 4.1.3.
21946 if $ac_need_defaults; then
21947 test "${CONFIG_FILES+set}" = set || CONFIG_FILES
=$config_files
21948 test "${CONFIG_HEADERS+set}" = set || CONFIG_HEADERS
=$config_headers
21949 test "${CONFIG_COMMANDS+set}" = set || CONFIG_COMMANDS
=$config_commands
21952 # Have a temporary directory for convenience. Make it in the build tree
21953 # simply because there is no reason against having it here, and in addition,
21954 # creating and moving files from /tmp can sometimes cause problems.
21955 # Hook for its removal unless debugging.
21956 # Note that there is a small window in which the directory will not be cleaned:
21957 # after its creation but before its name has been assigned to `$tmp'.
21961 trap 'exit_status=$?
21962 { test -z "$tmp" || test ! -d "$tmp" || rm -fr "$tmp"; } && exit $exit_status
21964 trap '{ (exit 1); exit 1; }' 1 2 13 15
21966 # Create a (secure) tmp directory for tmp files.
21969 tmp
=`(umask 077 && mktemp -d "./confXXXXXX") 2>/dev/null` &&
21970 test -n "$tmp" && test -d "$tmp"
21973 tmp
=.
/conf$$
-$RANDOM
21974 (umask 077 && mkdir
"$tmp")
21977 echo "$me: cannot create a temporary directory in ." >&2
21978 { (exit 1); exit 1; }
21982 # Set up the sed scripts for CONFIG_FILES section.
21985 # No need to generate the scripts if there are no CONFIG_FILES.
21986 # This happens for instance when ./config.status config.h
21987 if test -n "$CONFIG_FILES"; then
21991 # Create sed commands to just substitute file output variables.
21993 # Remaining file output variables are in a fragment that also has non-file
21999 for ac_last_try
in false false false false false
:; do
22000 cat >conf$
$subs.
sed <<_ACEOF
22001 SHELL!$SHELL$ac_delim
22002 PATH_SEPARATOR!$PATH_SEPARATOR$ac_delim
22003 PACKAGE_NAME!$PACKAGE_NAME$ac_delim
22004 PACKAGE_TARNAME!$PACKAGE_TARNAME$ac_delim
22005 PACKAGE_VERSION!$PACKAGE_VERSION$ac_delim
22006 PACKAGE_STRING!$PACKAGE_STRING$ac_delim
22007 PACKAGE_BUGREPORT!$PACKAGE_BUGREPORT$ac_delim
22008 exec_prefix!$exec_prefix$ac_delim
22009 prefix!$prefix$ac_delim
22010 program_transform_name!$program_transform_name$ac_delim
22011 bindir!$bindir$ac_delim
22012 sbindir!$sbindir$ac_delim
22013 libexecdir!$libexecdir$ac_delim
22014 datarootdir!$datarootdir$ac_delim
22015 datadir!$datadir$ac_delim
22016 sysconfdir!$sysconfdir$ac_delim
22017 sharedstatedir!$sharedstatedir$ac_delim
22018 localstatedir!$localstatedir$ac_delim
22019 includedir!$includedir$ac_delim
22020 oldincludedir!$oldincludedir$ac_delim
22021 docdir!$docdir$ac_delim
22022 infodir!$infodir$ac_delim
22023 htmldir!$htmldir$ac_delim
22024 dvidir!$dvidir$ac_delim
22025 pdfdir!$pdfdir$ac_delim
22026 psdir!$psdir$ac_delim
22027 libdir!$libdir$ac_delim
22028 localedir!$localedir$ac_delim
22029 mandir!$mandir$ac_delim
22030 DEFS!$DEFS$ac_delim
22031 ECHO_C!$ECHO_C$ac_delim
22032 ECHO_N!$ECHO_N$ac_delim
22033 ECHO_T!$ECHO_T$ac_delim
22034 LIBS!$LIBS$ac_delim
22035 build_alias!$build_alias$ac_delim
22036 host_alias!$host_alias$ac_delim
22037 target_alias!$target_alias$ac_delim
22038 build!$build$ac_delim
22039 build_cpu!$build_cpu$ac_delim
22040 build_vendor!$build_vendor$ac_delim
22041 build_os!$build_os$ac_delim
22042 host!$host$ac_delim
22043 host_cpu!$host_cpu$ac_delim
22044 host_vendor!$host_vendor$ac_delim
22045 host_os!$host_os$ac_delim
22046 WIN16_FILES!$WIN16_FILES$ac_delim
22047 WIN16_INSTALL!$WIN16_INSTALL$ac_delim
22048 SET_MAKE!$SET_MAKE$ac_delim
22050 CFLAGS!$CFLAGS$ac_delim
22051 LDFLAGS!$LDFLAGS$ac_delim
22052 CPPFLAGS!$CPPFLAGS$ac_delim
22053 ac_ct_CC!$ac_ct_CC$ac_delim
22054 EXEEXT!$EXEEXT$ac_delim
22055 OBJEXT!$OBJEXT$ac_delim
22057 CXXFLAGS!$CXXFLAGS$ac_delim
22058 ac_ct_CXX!$ac_ct_CXX$ac_delim
22059 CPPBIN!$CPPBIN$ac_delim
22060 TOOLSDIR!$TOOLSDIR$ac_delim
22061 XMKMF!$XMKMF$ac_delim
22063 X_CFLAGS!$X_CFLAGS$ac_delim
22064 X_PRE_LIBS!$X_PRE_LIBS$ac_delim
22065 X_LIBS!$X_LIBS$ac_delim
22066 X_EXTRA_LIBS!$X_EXTRA_LIBS$ac_delim
22068 LEXLIB!$LEXLIB$ac_delim
22069 LEX_OUTPUT_ROOT!$LEX_OUTPUT_ROOT$ac_delim
22070 XLEX!$XLEX$ac_delim
22071 BISON!$BISON$ac_delim
22073 ac_ct_AS!$ac_ct_AS$ac_delim
22076 RANLIB!$RANLIB$ac_delim
22077 STRIP!$STRIP$ac_delim
22078 WINDRES!$WINDRES$ac_delim
22079 LN_S!$LN_S$ac_delim
22082 if test `grep -c "$ac_delim\$" conf$$subs.sed` = 79; then
22084 elif $ac_last_try; then
22085 { { echo "$as_me:$LINENO: error: could not make $CONFIG_STATUS" >&5
22086 echo "$as_me: error: could not make $CONFIG_STATUS" >&2;}
22087 { (exit 1); exit 1; }; }
22089 ac_delim
="$ac_delim!$ac_delim _$ac_delim!! "
22094 if grep '^CEOF$' conf$
$subs.
sed >/dev
/null
; then
22095 ac_eof
=`sed -n '/^CEOF[0-9]*$/s/CEOF//p' conf$$subs.sed | sort -nru | sed 1q`
22096 ac_eof
=`expr 0$ac_eof + 1`
22099 cat >>$CONFIG_STATUS <<_ACEOF
22100 cat >"\$tmp/subs-1.sed" <<\CEOF$ac_eof
22101 /@[a-zA-Z_][a-zA-Z_0-9]*@/!b
22102 /^[ ]*@MAKE_RULES@[ ]*$/{
22106 /^[ ]*@MAKE_DLL_RULES@[ ]*$/{
22110 /^[ ]*@MAKE_IMPLIB_RULES@[ ]*$/{
22111 r $MAKE_IMPLIB_RULES
22114 /^[ ]*@MAKE_TEST_RULES@[ ]*$/{
22118 /^[ ]*@MAKE_LIB_RULES@[ ]*$/{
22122 /^[ ]*@MAKE_PROG_RULES@[ ]*$/{
22128 s/[,\\&]/\\&/g; s/@/@|#_!!_#|/g
22129 s/^/s,@/; s/!/@,|#_!!_#|/
22132 s/'"$ac_delim"'$/,g/; t
22134 N; s/^.*\n//; s/[,\\&]/\\&/g; s/@/@|#_!!_#|/g; b n
22135 ' >>$CONFIG_STATUS <conf$
$subs.
sed
22136 rm -f conf$
$subs.
sed
22137 cat >>$CONFIG_STATUS <<_ACEOF
22143 for ac_last_try
in false false false false false
:; do
22144 cat >conf$
$subs.
sed <<_ACEOF
22146 GREP!$GREP$ac_delim
22147 EGREP!$EGREP$ac_delim
22148 LDCONFIG!$LDCONFIG$ac_delim
22149 INSTALL_PROGRAM!$INSTALL_PROGRAM$ac_delim
22150 INSTALL_SCRIPT!$INSTALL_SCRIPT$ac_delim
22151 INSTALL_DATA!$INSTALL_DATA$ac_delim
22152 LINT!$LINT$ac_delim
22153 LINTFLAGS!$LINTFLAGS$ac_delim
22154 FONTFORGE!$FONTFORGE$ac_delim
22155 PKG_CONFIG!$PKG_CONFIG$ac_delim
22156 PRELINK!$PRELINK$ac_delim
22157 LIBPTHREAD!$LIBPTHREAD$ac_delim
22158 XLIB!$XLIB$ac_delim
22159 XFILES!$XFILES$ac_delim
22160 OPENGLFILES!$OPENGLFILES$ac_delim
22161 GLU32FILES!$GLU32FILES$ac_delim
22162 OPENGL_LIBS!$OPENGL_LIBS$ac_delim
22163 GLUT_LIBS!$GLUT_LIBS$ac_delim
22164 GLUT32FILES!$GLUT32FILES$ac_delim
22165 NASLIBS!$NASLIBS$ac_delim
22166 XML2LIBS!$XML2LIBS$ac_delim
22167 XML2INCL!$XML2INCL$ac_delim
22168 XSLTLIBS!$XSLTLIBS$ac_delim
22169 XSLTINCL!$XSLTINCL$ac_delim
22170 HALINCL!$HALINCL$ac_delim
22171 CURSESLIBS!$CURSESLIBS$ac_delim
22172 sane_devel!$sane_devel$ac_delim
22173 SANELIBS!$SANELIBS$ac_delim
22174 SANEINCL!$SANEINCL$ac_delim
22175 gphoto2_devel!$gphoto2_devel$ac_delim
22176 gphoto2port_devel!$gphoto2port_devel$ac_delim
22177 GPHOTO2LIBS!$GPHOTO2LIBS$ac_delim
22178 GPHOTO2INCL!$GPHOTO2INCL$ac_delim
22179 ICULIBS!$ICULIBS$ac_delim
22180 RESOLVLIBS!$RESOLVLIBS$ac_delim
22181 LCMSLIBS!$LCMSLIBS$ac_delim
22182 LDAPLIBS!$LDAPLIBS$ac_delim
22183 FREETYPELIBS!$FREETYPELIBS$ac_delim
22184 FREETYPEINCL!$FREETYPEINCL$ac_delim
22185 ft_devel!$ft_devel$ac_delim
22186 ft_devel2!$ft_devel2$ac_delim
22187 FONTSSUBDIRS!$FONTSSUBDIRS$ac_delim
22188 ARTSCCONFIG!$ARTSCCONFIG$ac_delim
22189 ARTSLIBS!$ARTSLIBS$ac_delim
22190 ARTSINCL!$ARTSINCL$ac_delim
22191 ESDCONFIG!$ESDCONFIG$ac_delim
22192 ESDLIBS!$ESDLIBS$ac_delim
22193 ESDINCL!$ESDINCL$ac_delim
22194 ALSALIBS!$ALSALIBS$ac_delim
22195 AUDIOIOLIBS!$AUDIOIOLIBS$ac_delim
22196 EXTRACFLAGS!$EXTRACFLAGS$ac_delim
22197 BUILTINFLAG!$BUILTINFLAG$ac_delim
22198 DLLEXT!$DLLEXT$ac_delim
22199 DLLFLAGS!$DLLFLAGS$ac_delim
22200 DLLIBS!$DLLIBS$ac_delim
22201 LDSHARED!$LDSHARED$ac_delim
22202 LDDLLFLAGS!$LDDLLFLAGS$ac_delim
22203 LIBEXT!$LIBEXT$ac_delim
22204 IMPLIBEXT!$IMPLIBEXT$ac_delim
22205 DLLTOOL!$DLLTOOL$ac_delim
22206 DLLWRAP!$DLLWRAP$ac_delim
22207 LDEXECFLAGS!$LDEXECFLAGS$ac_delim
22208 LDEXERPATH!$LDEXERPATH$ac_delim
22209 LDDLLRPATH!$LDDLLRPATH$ac_delim
22210 COREFOUNDATIONLIB!$COREFOUNDATIONLIB$ac_delim
22211 IOKITLIB!$IOKITLIB$ac_delim
22212 CROSSTEST!$CROSSTEST$ac_delim
22213 CROSSCC!$CROSSCC$ac_delim
22214 CROSSWINDRES!$CROSSWINDRES$ac_delim
22215 LDPATH!$LDPATH$ac_delim
22216 CRTLIBS!$CRTLIBS$ac_delim
22217 SOCKETLIBS!$SOCKETLIBS$ac_delim
22218 MAIN_BINARY!$MAIN_BINARY$ac_delim
22219 EXTRA_BINARIES!$EXTRA_BINARIES$ac_delim
22221 LIBOBJS!$LIBOBJS$ac_delim
22222 LTLIBOBJS!$LTLIBOBJS$ac_delim
22225 if test `grep -c "$ac_delim\$" conf$$subs.sed` = 78; then
22227 elif $ac_last_try; then
22228 { { echo "$as_me:$LINENO: error: could not make $CONFIG_STATUS" >&5
22229 echo "$as_me: error: could not make $CONFIG_STATUS" >&2;}
22230 { (exit 1); exit 1; }; }
22232 ac_delim
="$ac_delim!$ac_delim _$ac_delim!! "
22237 if grep '^CEOF$' conf$
$subs.
sed >/dev
/null
; then
22238 ac_eof
=`sed -n '/^CEOF[0-9]*$/s/CEOF//p' conf$$subs.sed | sort -nru | sed 1q`
22239 ac_eof
=`expr 0$ac_eof + 1`
22242 cat >>$CONFIG_STATUS <<_ACEOF
22243 cat >"\$tmp/subs-2.sed" <<\CEOF$ac_eof
22244 /@[a-zA-Z_][a-zA-Z_0-9]*@/!b end
22247 s/[,\\&]/\\&/g; s/@/@|#_!!_#|/g
22248 s/^/s,@/; s/!/@,|#_!!_#|/
22251 s/'"$ac_delim"'$/,g/; t
22253 N; s/^.*\n//; s/[,\\&]/\\&/g; s/@/@|#_!!_#|/g; b n
22254 ' >>$CONFIG_STATUS <conf$
$subs.
sed
22255 rm -f conf$
$subs.
sed
22256 cat >>$CONFIG_STATUS <<_ACEOF
22263 # VPATH may cause trouble with some makes, so we remove $(srcdir),
22264 # ${srcdir} and @srcdir@ from VPATH if srcdir is ".", strip leading and
22265 # trailing colons and then remove the whole line if VPATH becomes empty
22266 # (actually we leave an empty line to preserve line numbers).
22267 if test "x$srcdir" = x.
; then
22268 ac_vpsub
='/^[ ]*VPATH[ ]*=/{
22269 s/:*\$(srcdir):*/:/
22270 s/:*\${srcdir}:*/:/
22272 s/^\([^=]*=[ ]*\):*/\1/
22278 cat >>$CONFIG_STATUS <<\_ACEOF
22279 fi # test -n "$CONFIG_FILES"
22282 for ac_tag
in :F
$CONFIG_FILES :H
$CONFIG_HEADERS :C
$CONFIG_COMMANDS
22285 :[FHLC
]) ac_mode
=$ac_tag; continue;;
22287 case $ac_mode$ac_tag in
22289 :L
* |
:C
*:*) { { echo "$as_me:$LINENO: error: Invalid tag $ac_tag." >&5
22290 echo "$as_me: error: Invalid tag $ac_tag." >&2;}
22291 { (exit 1); exit 1; }; };;
22292 :[FH
]-) ac_tag
=-:-;;
22293 :[FH
]*) ac_tag
=$ac_tag:$ac_tag.
in;;
22310 -) ac_f
="$tmp/stdin";;
22311 *) # Look for the file first in the build tree, then in the source tree
22312 # (if the path is not absolute). The absolute path cannot be DOS-style,
22313 # because $ac_f cannot contain `:'.
22317 *) test -f "$srcdir/$ac_f" && ac_f
="$srcdir/$ac_f";;
22319 { { echo "$as_me:$LINENO: error: cannot find input file: $ac_f" >&5
22320 echo "$as_me: error: cannot find input file: $ac_f" >&2;}
22321 { (exit 1); exit 1; }; };;
22323 ac_file_inputs
="$ac_file_inputs $ac_f"
22326 # Let's still pretend it is `configure' which instantiates (i.e., don't
22327 # use $as_me), people would be surprised to read:
22328 # /* config.h. Generated by config.status. */
22329 configure_input
="Generated from "`IFS=:
22330 echo $* | sed 's|^[^:]*/||;s|:[^:]*/|, |g'`" by configure."
22331 if test x
"$ac_file" != x-
; then
22332 configure_input
="$ac_file. $configure_input"
22333 { echo "$as_me:$LINENO: creating $ac_file" >&5
22334 echo "$as_me: creating $ac_file" >&6;}
22338 *:-:* |
*:-) cat >"$tmp/stdin";;
22343 ac_dir
=`$as_dirname -- "$ac_file" ||
22344 $as_expr X"$ac_file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
22345 X"$ac_file" : 'X\(//\)[^/]' \| \
22346 X"$ac_file" : 'X\(//\)$' \| \
22347 X"$ac_file" : 'X\(/\)' \| . 2>/dev/null ||
22349 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
22353 /^X\(\/\/\)[^/].*/{
22368 -*) as_dir
=.
/$as_dir;;
22370 test -d "$as_dir" ||
{ $as_mkdir_p && mkdir
-p "$as_dir"; } ||
{
22374 *\'*) as_qdir
=`echo "$as_dir" | sed "s/'/'\\\\\\\\''/g"`;; #(
22375 *) as_qdir
=$as_dir;;
22377 as_dirs
="'$as_qdir' $as_dirs"
22378 as_dir
=`$as_dirname -- "$as_dir" ||
22379 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
22380 X"$as_dir" : 'X\(//\)[^/]' \| \
22381 X"$as_dir" : 'X\(//\)$' \| \
22382 X"$as_dir" : 'X\(/\)' \| . 2>/dev/null ||
22384 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
22388 /^X\(\/\/\)[^/].*/{
22401 test -d "$as_dir" && break
22403 test -z "$as_dirs" ||
eval "mkdir $as_dirs"
22404 } ||
test -d "$as_dir" ||
{ { echo "$as_me:$LINENO: error: cannot create directory $as_dir" >&5
22405 echo "$as_me: error: cannot create directory $as_dir" >&2;}
22406 { (exit 1); exit 1; }; }; }
22410 .
) ac_dir_suffix
= ac_top_builddir_sub
=. ac_top_build_prefix
= ;;
22412 ac_dir_suffix
=/`echo "$ac_dir" | sed 's,^\.[\\/],,'`
22413 # A ".." for each directory in $ac_dir_suffix.
22414 ac_top_builddir_sub
=`echo "$ac_dir_suffix" | sed 's,/[^\\/]*,/..,g;s,/,,'`
22415 case $ac_top_builddir_sub in
22416 "") ac_top_builddir_sub
=. ac_top_build_prefix
= ;;
22417 *) ac_top_build_prefix
=$ac_top_builddir_sub/ ;;
22420 ac_abs_top_builddir
=$ac_pwd
22421 ac_abs_builddir
=$ac_pwd$ac_dir_suffix
22422 # for backward compatibility:
22423 ac_top_builddir
=$ac_top_build_prefix
22426 .
) # We are building in place.
22428 ac_top_srcdir
=$ac_top_builddir_sub
22429 ac_abs_top_srcdir
=$ac_pwd ;;
22430 [\\/]* | ?
:[\\/]* ) # Absolute name.
22431 ac_srcdir
=$srcdir$ac_dir_suffix;
22432 ac_top_srcdir
=$srcdir
22433 ac_abs_top_srcdir
=$srcdir ;;
22434 *) # Relative name.
22435 ac_srcdir
=$ac_top_build_prefix$srcdir$ac_dir_suffix
22436 ac_top_srcdir
=$ac_top_build_prefix$srcdir
22437 ac_abs_top_srcdir
=$ac_pwd/$srcdir ;;
22439 ac_abs_srcdir
=$ac_abs_top_srcdir$ac_dir_suffix
22449 [\\/$
]* | ?
:[\\/]* ) ac_INSTALL
=$INSTALL ;;
22450 *) ac_INSTALL
=$ac_top_build_prefix$INSTALL ;;
22454 cat >>$CONFIG_STATUS <<\_ACEOF
22455 # If the template does not know about datarootdir, expand it.
22456 # FIXME: This hack should be removed a few years after 2.60.
22457 ac_datarootdir_hack
=
22459 case `sed -n '/datarootdir/ {
22468 ' $ac_file_inputs` in
22470 *@datadir@
*|
*@docdir@
*|
*@infodir@
*|
*@localedir@
*|
*@mandir@
*)
22471 { echo "$as_me:$LINENO: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&5
22472 echo "$as_me: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&2;}
22474 cat >>$CONFIG_STATUS <<_ACEOF
22475 ac_datarootdir_hack='
22476 s&@datadir@&$datadir&g
22477 s&@docdir@&$docdir&g
22478 s&@infodir@&$infodir&g
22479 s&@localedir@&$localedir&g
22480 s&@mandir@&$mandir&g
22481 s&\\\${datarootdir}&$datarootdir&g' ;;
22485 # Neutralize VPATH when `$srcdir' = `.'.
22486 # Shell code in configure.ac might set extrasub.
22487 # FIXME: do we really want to maintain this feature?
22488 cat >>$CONFIG_STATUS <<_ACEOF
22492 cat >>$CONFIG_STATUS <<\_ACEOF
22494 /@
[a-zA-Z_
][a-zA-Z_0-9
]*@
/!b
22495 s
&@configure_input@
&$configure_input&;t t
22496 s
&@top_builddir@
&$ac_top_builddir_sub&;t t
22497 s
&@srcdir@
&$ac_srcdir&;t t
22498 s
&@abs_srcdir@
&$ac_abs_srcdir&;t t
22499 s
&@top_srcdir@
&$ac_top_srcdir&;t t
22500 s
&@abs_top_srcdir@
&$ac_abs_top_srcdir&;t t
22501 s
&@builddir@
&$ac_builddir&;t t
22502 s
&@abs_builddir@
&$ac_abs_builddir&;t t
22503 s
&@abs_top_builddir@
&$ac_abs_top_builddir&;t t
22504 s
&@INSTALL@
&$ac_INSTALL&;t t
22505 $ac_datarootdir_hack
22506 " $ac_file_inputs | sed -f "$tmp/subs-1.
sed" | sed -f "$tmp/subs-2.
sed" >$tmp/out
22510 -) cat "$tmp/out
"; rm -f "$tmp/out
";;
22511 *) rm -f "$ac_file"; mv "$tmp/out
" $ac_file;;
22519 # These sed commands are passed to sed as "A NAME B PARAMS C VALUE D
", where
22520 # NAME is the cpp macro being defined, VALUE is the value it is being given.
22521 # PARAMS is the parameter list in the macro definition--in most cases, it's
22522 # just an empty string.
22524 ac_dA='s,^\([ ]*#[ ]*\)[^ ]*\([ ][ ]*'
22525 ac_dB='\)[ (].*$,\1define\2'
22529 ac_word_regexp=[_$as_cr_Letters][_$as_cr_alnum]*
22532 # Transform confdefs.h into a sed script `conftest.defines', that
22533 # substitutes the proper values into config.h.in to produce config.h.
22534 rm -f conftest.defines conftest.tail
22535 # First, append a space to every undef/define line, to ease matching.
22536 echo 's/$/ /' >conftest.defines
22537 # Then, protect against being on the right side of a sed subst, or in
22538 # an unquoted here document, in config.status. If some macros were
22539 # called several times there might be several #defines for the same
22540 # symbol, which is useless. But do not sort them, since the last
22541 # AC_DEFINE must be honored.
22542 ac_word_re=[_$as_cr_Letters][_$as_cr_alnum]*
22547 s/^[ ]*#[ ]*define[ ][ ]*//
22553 s/^\('"$ac_word_re"'\)\(([^()]*)\)[ ]*\(.*\)/${ac_dA}\1$ac_dB\2${ac_dC}\3$ac_dD/p
22554 s/^\('"$ac_word_re"'\)[ ]*\(.*\)/${ac_dA}\1$ac_dB${ac_dC}\2$ac_dD/p
22555 ' >>conftest.defines
22557 # Remove the space that was appended to ease matching.
22558 # Then replace #undef with comments. This is necessary, for
22559 # example, in the case of _POSIX_SOURCE, which is predefined and required
22560 # on some systems where configure will not decide to define it.
22561 # (The regexp can be short, since the line contains either #define or #undef.)
22563 s,^[ #]*u.*,/* & */,' >>conftest.defines
22565 # Break up conftest.defines:
22566 ac_max_sed_lines=96
22568 # First sed command is: sed -f defines.sed $ac_file_inputs >"$tmp/out1
"
22569 # Second one is: sed -f defines.sed "$tmp/out1
" >"$tmp/out2
"
22570 # Third one will be: sed -f defines.sed "$tmp/out2
" >"$tmp/out1
"
22572 ac_in='$ac_file_inputs'
22573 ac_out='"$tmp/out1
"'
22574 ac_nxt='"$tmp/out2
"'
22578 # Write a here document:
22579 echo ' # First, check the format of the line:
22580 cat >"$tmp/defines.
sed" <<CEOF
22581 /^[ ]*#[ ]*undef[ ][ ]*$ac_word_regexp[ ]*$/b def
22582 /^[ ]*#[ ]*define[ ][ ]*$ac_word_regexp[( ]/b def
22584 :def' >>$CONFIG_STATUS
22585 sed ${ac_max_sed_lines}q conftest.defines >>$CONFIG_STATUS
22587 sed -f "$tmp/defines.
sed"' "$ac_in >$ac_out" >>$CONFIG_STATUS
22588 ac_in=$ac_out; ac_out=$ac_nxt; ac_nxt=$ac_in
22589 sed 1,${ac_max_sed_lines}d conftest.defines >conftest.tail
22590 grep . conftest.tail >/dev/null || break
22591 rm -f conftest.defines
22592 mv conftest.tail conftest.defines
22594 rm -f conftest.defines conftest.tail
22596 echo "ac_result
=$ac_in" >>$CONFIG_STATUS
22597 cat >>$CONFIG_STATUS <<\_ACEOF
22598 if test x"$ac_file" != x-; then
22599 echo "/* $configure_input */" >"$tmp/config.h
"
22600 cat "$ac_result" >>"$tmp/config.h
"
22601 if diff $ac_file "$tmp/config.h
" >/dev/null 2>&1; then
22602 { echo "$as_me:$LINENO: $ac_file is unchanged
" >&5
22603 echo "$as_me: $ac_file is unchanged
" >&6;}
22606 mv "$tmp/config.h
" $ac_file
22609 echo "/* $configure_input */"
22615 :C) { echo "$as_me:$LINENO: executing
$ac_file commands
" >&5
22616 echo "$as_me: executing
$ac_file commands
" >&6;}
22621 case $ac_file$ac_mode in
22622 "dlls
/gdi
/enhmfdrv
":C) test -d "dlls
/gdi
/enhmfdrv
" || ({ echo "$as_me:$LINENO: creating dlls
/gdi
/enhmfdrv
" >&5
22623 echo "$as_me: creating dlls
/gdi
/enhmfdrv
" >&6;} && mkdir "dlls
/gdi
/enhmfdrv
") ;;
22624 "dlls
/gdi
/mfdrv
":C) test -d "dlls
/gdi
/mfdrv
" || ({ echo "$as_me:$LINENO: creating dlls
/gdi
/mfdrv
" >&5
22625 echo "$as_me: creating dlls
/gdi
/mfdrv
" >&6;} && mkdir "dlls
/gdi
/mfdrv
") ;;
22626 "dlls
/kernel
/messages
":C) test -d "dlls
/kernel
/messages
" || ({ echo "$as_me:$LINENO: creating dlls
/kernel
/messages
" >&5
22627 echo "$as_me: creating dlls
/kernel
/messages
" >&6;} && mkdir "dlls
/kernel
/messages
") ;;
22628 "dlls
/user
/resources
":C) test -d "dlls
/user
/resources
" || ({ echo "$as_me:$LINENO: creating dlls
/user
/resources
" >&5
22629 echo "$as_me: creating dlls
/user
/resources
" >&6;} && mkdir "dlls
/user
/resources
") ;;
22630 "dlls
/wineps.drv
/data
":C) test -d "dlls
/wineps.drv
/data
" || ({ echo "$as_me:$LINENO: creating dlls
/wineps.drv
/data
" >&5
22631 echo "$as_me: creating dlls
/wineps.drv
/data
" >&6;} && mkdir "dlls
/wineps.drv
/data
") ;;
22632 "include
/wine
":C) test -d "include
/wine
" || ({ echo "$as_me:$LINENO: creating include
/wine
" >&5
22633 echo "$as_me: creating include
/wine
" >&6;} && mkdir "include
/wine
") ;;
22639 { (exit 0); exit 0; }
22641 chmod +x $CONFIG_STATUS
22642 ac_clean_files=$ac_clean_files_save
22645 # configure is writing to config.log, and then calls config.status.
22646 # config.status does its own redirection, appending to config.log.
22647 # Unfortunately, on DOS this fails, as config.log is still kept open
22648 # by configure, so config.status won't be able to write to it; its
22649 # output is simply discarded. So we exec the FD to /dev/null,
22650 # effectively closing config.log, so it can be properly (re)opened and
22651 # appended to by config.status. When coming back to configure, we
22652 # need to make the FD available again.
22653 if test "$no_create" != yes; then
22655 ac_config_status_args=
22656 test "$silent" = yes &&
22657 ac_config_status_args="$ac_config_status_args --quiet"
22659 $SHELL $CONFIG_STATUS $ac_config_status_args || ac_cs_success=false
22661 # Use ||, not &&, to avoid exiting from the if with $? = 1, which
22662 # would make configure fail if this is the last instruction.
22663 $ac_cs_success || { (exit 1); exit 1; }
22668 if test "$have_x" = "no
"
22671 echo "*** Warning
: X development files not found. Wine will be built without
"
22672 echo "*** X support
, which currently does not work
, and would probably not be
"
22673 echo "*** what you want anyway. You will need to
install devel packages of
"
22674 echo "*** Xlib
/Xfree86
at the very least.
"
22678 if test "$wine_cv_opengl_version_OK" = "no
"
22681 echo "*** Warning
: old Mesa headers detected. Wine will be built without Direct3D
"
22682 echo "*** support. Consider upgrading your Mesa libraries
(http
://www.mesa3d.org
/).
"
22686 if test "$wine_cv_msg_freetype" = "yes"
22689 echo "*** Note
: Your system appears to have the FreeType
2 runtime libraries
"
22690 echo "*** installed
, but
'freetype-config' is not
in your PATH. Install the
"
22691 echo "*** freetype-devel package
(or its equivalent on your distribution
) to
"
22692 echo "*** enable Wine to use TrueType fonts.
"
22696 if test "$wine_cv_msg_fonts" = "yes"
22699 echo "*** Warning
: FreeType or FontForge is missing.
"
22700 echo "*** Fonts will not be built. Dialog text may be invisible or unaligned.
"
22704 if test -z "$ALSALIBS" -a \
22705 -z "$ARTSC_LIBS" -a \
22706 -z "$AUDIOIOLIBS" -a \
22708 -z "$ESD_LIBS" -a \
22709 -z "$ac_cv_lib_soname_jack" -a \
22710 "$ac_cv_header_sys_soundcard_h" != "yes" -a \
22711 "$ac_cv_header_machine_soundcard_h" != "yes" -a \
22712 "$ac_cv_header_soundcard_h" != "yes"
22714 echo "*** No sound system was found. Windows applications will be silent.
"
22715 echo "*** The currently supported sound systems are
:"
22716 echo "*** ALSA
, ARTS
, EsounD
, AudioIO
, Jack
, NAS and OSS
"
22721 echo "Configure finished. Do
'${ac_make} depend && ${ac_make}' to compile Wine.
"