summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJelmer Vernooij <jelmer@samba.org>2008-10-14 22:20:36 +0200
committerJelmer Vernooij <jelmer@samba.org>2008-10-14 22:20:36 +0200
commitb208262c537e92d2f9f74217ae8245fc7d76debf (patch)
tree25bbcaebcb4287ea30b8cff279a180c61582e4b7
parent5c16a0618579d1dca03f33159390b371e6853604 (diff)
downloadsamba-b208262c537e92d2f9f74217ae8245fc7d76debf.tar.gz
samba-b208262c537e92d2f9f74217ae8245fc7d76debf.tar.bz2
samba-b208262c537e92d2f9f74217ae8245fc7d76debf.zip
Fix path check.
-rw-r--r--source4/build/m4/check_path.m42
1 files changed, 1 insertions, 1 deletions
diff --git a/source4/build/m4/check_path.m4 b/source4/build/m4/check_path.m4
index 666dd3b0ae..f7266e6e44 100644
--- a/source4/build/m4/check_path.m4
+++ b/source4/build/m4/check_path.m4
@@ -43,7 +43,7 @@ if test x$fhs = xyes; then
winbindd_privileged_socket_dir="${localstatedir}/lib/samba/winbindd_privileged"
else
# Check to prevent installing directly under /usr without the FHS
- AS_IF([test $prefix == /usr || $prefix == /usr/local],[
+ AS_IF([test $prefix == /usr || test $prefix == /usr/local],[
AC_MSG_ERROR([Don't install directly under "/usr" or "/usr/local" without using the FHS option (--enable-fhs). This could lead to file loss!])
])
fi