--- a/gsnmp.m4
+++ b/gsnmp.m4
@@ -1,7 +1,7 @@
 dnl AM_PATH_GSNMP()
 dnl 
 
-AC_DEFUN(AM_PATH_GSNMP,
+AC_DEFUN([AM_PATH_GSNMP],
 [
   PKG_CHECK_MODULES(GSNMP, glib-2.0 >= 2.0.1)
 ])
