From b208262c537e92d2f9f74217ae8245fc7d76debf Mon Sep 17 00:00:00 2001 From: Jelmer Vernooij Date: Tue, 14 Oct 2008 22:20:36 +0200 Subject: Fix path check. --- source4/build/m4/check_path.m4 | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'source4/build/m4/check_path.m4') 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 -- cgit