"test" expects only one =
authorBjörn Jacke <bj@sernet.de>
Sun, 1 Feb 2009 12:28:06 +0000 (13:28 +0100)
committerStefan Metzmacher <metze@samba.org>
Sun, 1 Feb 2009 14:41:52 +0000 (15:41 +0100)
Signed-off-by: Stefan Metzmacher <metze@samba.org>
source4/build/m4/check_path.m4

index f7266e6e446459fba6e743a4cfcad3905cd5764b..1751a89e5f8fa9bcdfa90d486acd0d56078b44ea 100644 (file)
@@ -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
     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 || test $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
                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