diff --git a/lnet/autoconf/lustre-lnet.m4 b/lnet/autoconf/lustre-lnet.m4
index 752bf9b07bfc9cd8b354385a6303553dadd295b3..480e52a43876d7ff691989fd2a7d21178aad8a90 100644
--- a/lnet/autoconf/lustre-lnet.m4
+++ b/lnet/autoconf/lustre-lnet.m4
@@ -1587,3 +1587,12 @@ lnet/libcfs/darwin/Makefile
 		;;
 esac
 ])
+
+#
+# LIBCFS stub macros. (These are defined in the libcfs module on HEAD))
+#
+AC_DEFUN([LIBCFS_PATH_DEFAULTS], [])
+AC_DEFUN([LIBCFS_PROG_LINUX], [])
+AC_DEFUN([LIBCFS_CONDITIONALS], [])
+AC_DEFUN([LIBCFS_CONFIGURE], [])
+AC_DEFUN([LIBCFS_CONFIG_FILES], [])