]> arthur.barton.de Git - netatalk.git/blobdiff - macros/tcp-wrappers.m4
apply parts of the netbsd build patch by Patrick Welche <prlw1@newn.cam.ac.uk>, mostl...
[netatalk.git] / macros / tcp-wrappers.m4
index 3274d1d73bf8cd408f1e3641829275e69df3b902..50a0ac2e1e483424b2721d05e72fcb21635a97e8 100644 (file)
@@ -1,11 +1,11 @@
-dnl $Id: tcp-wrappers.m4,v 1.1 2003-06-12 23:15:07 srittau Exp $
+dnl $Id: tcp-wrappers.m4,v 1.2 2004-01-14 16:10:29 bfernhomberg Exp $
 
 AC_DEFUN([NETATALK_TCP_WRAPPERS], [
        check=maybe
        AC_ARG_ENABLE(tcp-wrappers,
                [  --disable-tcp-wrappers  disable TCP wrappers support],
                [
-                       if test "x$enableval" == "xno"; then
+                       if test "x$enableval" = "xno"; then
                                check=no
                        else
                                check=yes
@@ -19,12 +19,12 @@ AC_DEFUN([NETATALK_TCP_WRAPPERS], [
        fi
 
        AC_MSG_CHECKING([whether to enable the TCP wrappers])
-       if test "x$enable" == "xyes"; then
+       if test "x$enable" = "xyes"; then
                AC_DEFINE(TCPWRAP, 1, [Define if TCP wrappers should be used])
                WRAP_LIBS="-lwrap"
                AC_MSG_RESULT([yes])
        else
-               if test "x$check" == "xyes"; then
+               if test "x$check" = "xyes"; then
                        AC_MSG_ERROR([libwrap not found])
                else
                        AC_MSG_RESULT([no])