summaryrefslogtreecommitdiff
path: root/configure.ac
diff options
context:
space:
mode:
authorWayne Davison <wayned@samba.org>2011-09-20 13:10:02 -0700
committerWayne Davison <wayned@samba.org>2011-09-20 13:17:42 -0700
commit439d5d89295a27ba57a11b17633601d8c5d7f8e6 (patch)
tree450406bc3fd0cc5329401a3bfa8df889aa1e55e0 /configure.ac
parentde219101ed2d1eca188c37f9a06b9764c4ca528e (diff)
downloadrsync-439d5d89295a27ba57a11b17633601d8c5d7f8e6.tar.gz
rsync-439d5d89295a27ba57a11b17633601d8c5d7f8e6.tar.bz2
rsync-439d5d89295a27ba57a11b17633601d8c5d7f8e6.zip
Better fakeroot support helps Solaris.
Diffstat (limited to 'configure.ac')
-rw-r--r--configure.ac6
1 files changed, 5 insertions, 1 deletions
diff --git a/configure.ac b/configure.ac
index 8962b150..58aeea0f 100644
--- a/configure.ac
+++ b/configure.ac
@@ -134,6 +134,10 @@ else
MAKE_MAN=man-copy
fi
+# Some programs on solaris are only found in /usr/xpg4/bin (or work better than others versions).
+AC_PATH_PROG(SHELL_PATH, sh, /bin/sh, [/usr/xpg4/bin$PATH_SEPARATOR$PATH])
+AC_PATH_PROG(FAKEROOT_PATH, fakeroot, /usr/bin/fakeroot, [/usr/xpg4/bin$PATH_SEPARATOR$PATH])
+
AC_ARG_WITH(nobody-group,
AC_HELP_STRING([--with-nobody-group=GROUP],
[set the default unprivileged group (default nobody or nogroup)]),
@@ -942,7 +946,7 @@ else
AC_DEFINE(HAVE_UNIXWARE_ACLS, 1, [true if you have UnixWare ACLs])
AC_DEFINE(SUPPORT_ACLS, 1, [Define to 1 to add support for ACLs])
;;
- *solaris*|*cygwin*)
+ solaris*|*cygwin*)
AC_MSG_RESULT(Using solaris ACLs)
AC_DEFINE(HAVE_SOLARIS_ACLS, 1, [true if you have solaris ACLs])
AC_DEFINE(SUPPORT_ACLS, 1)