Matt McCutchen's Web Site
/
rsync
/
rsync.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Solaris 2.6 doesn't support "signed char". What a broken system!
[rsync/rsync.git]
/
configure.in
diff --git
a/configure.in
b/configure.in
index
6ffd78e
..
65a40a5
100644
(file)
--- a/
configure.in
+++ b/
configure.in
@@
-52,7
+52,7
@@
echo no)
echo $ac_n "checking for long long ... $ac_c"
AC_TRY_RUN([#include <stdio.h>
echo $ac_n "checking for long long ... $ac_c"
AC_TRY_RUN([#include <stdio.h>
-main() { long long x = 1000000;
char b[20]; x *= x; sprintf(b,"%lld", x); exit(strcmp("1000000000000", b) == 0
? 0: 1); }],
+main() { long long x = 1000000;
x *= x; exit(((x/1000000) == 1000000)
? 0: 1); }],
echo yes;AC_DEFINE(HAVE_LONGLONG),
echo no)
echo yes;AC_DEFINE(HAVE_LONGLONG),
echo no)
@@
-60,7
+60,13
@@
echo $ac_n "checking for off64_t ... $ac_c"
AC_TRY_RUN([#include <stdio.h>
#include <sys/stat.h>
main() { struct stat64 st; off64_t s; exit((lstat64("/dev/null", &st)==0)?0:1); }],
AC_TRY_RUN([#include <stdio.h>
#include <sys/stat.h>
main() { struct stat64 st; off64_t s; exit((lstat64("/dev/null", &st)==0)?0:1); }],
-echo yes;AC_DEFINE(HAVE_LONGLONG),
+echo yes;AC_DEFINE(HAVE_OFF64_T),
+echo no)
+
+echo $ac_n "checking for unsigned char ... $ac_c"
+AC_TRY_RUN([#include <stdio.h>
+main() { char c; c=250; exit((c > 0)?0:1); }],
+echo yes;AC_DEFINE(HAVE_UNSIGNED_CHAR),
echo no)
echo $ac_n "checking for utimbuf ... $ac_c"
echo no)
echo $ac_n "checking for utimbuf ... $ac_c"