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
Change getgroups to use GETGROUPS_T as the type of the group array returned,
[rsync/rsync.git]
/
configure.in
diff --git
a/configure.in
b/configure.in
index
c300d6a
..
5b913ea
100644
(file)
--- a/
configure.in
+++ b/
configure.in
@@
-37,6
+37,7
@@
AC_TYPE_MODE_T
AC_TYPE_OFF_T
AC_TYPE_SIZE_T
AC_TYPE_PID_T
AC_TYPE_OFF_T
AC_TYPE_SIZE_T
AC_TYPE_PID_T
+AC_TYPE_GETGROUPS
AC_STRUCT_ST_RDEV
AC_CHECK_TYPE(ino_t,unsigned)
AC_STRUCT_ST_RDEV
AC_CHECK_TYPE(ino_t,unsigned)
@@
-49,13
+50,14
@@
fi
AC_FUNC_MEMCMP
AC_FUNC_UTIME_NULL
AC_FUNC_MEMCMP
AC_FUNC_UTIME_NULL
-AC_CHECK_FUNCS(
mmap munmap waitpid
getcwd strdup strerror chown chmod mknod)
+AC_CHECK_FUNCS(
waitpid wait4
getcwd strdup strerror chown chmod mknod)
AC_CHECK_FUNCS(fchmod fstat strchr readlink link utime utimes strftime)
AC_CHECK_FUNCS(memmove getopt_long lchown vsnprintf snprintf setsid glob strpbrk)
AC_CHECK_FUNCS(fchmod fstat strchr readlink link utime utimes strftime)
AC_CHECK_FUNCS(memmove getopt_long lchown vsnprintf snprintf setsid glob strpbrk)
+AC_CHECK_FUNCS(strlcat strlcpy)
echo $ac_n "checking for working fnmatch... $ac_c"
AC_TRY_RUN([#include <fnmatch.h>
echo $ac_n "checking for working fnmatch... $ac_c"
AC_TRY_RUN([#include <fnmatch.h>
-main() { exit(fnmatch("*.o", "x.o",
0
) == 0? 0: 1); }],
+main() { exit(fnmatch("*.o", "x.o",
FNM_PATHNAME
) == 0? 0: 1); }],
echo yes;AC_DEFINE(HAVE_FNMATCH),
echo no)
echo yes;AC_DEFINE(HAVE_FNMATCH),
echo no)
@@
-161,6
+163,14
@@
if test x"$ac_cv_func_connect" = x"no"; then
fi
fi
fi
fi
+#
+# if we can't find strcasecmp, look in -lresolv (for Unixware at least)
+#
+AC_CHECK_FUNCS(strcasecmp)
+if test x"$ac_cv_func_strcasecmp" = x"no"; then
+ AC_CHECK_LIB(resolv, strcasecmp)
+fi
+
#
# The following test was mostly taken from the tcl/tk plus patches
#
#
# The following test was mostly taken from the tcl/tk plus patches
#