Use AC_LIBSOURCES and AC_LIBOBJ to indicate source and object files.
[gnulib.git] / m4 / memcasecmp.m4
index 5b86264..9652bbe 100644 (file)
@@ -1,11 +1,14 @@
-# memcasecmp.m4 serial 2
-dnl Copyright (C) 2002 Free Software Foundation, Inc.
+#serial 3
+dnl Copyright (C) 2005 Free Software Foundation, Inc.
 dnl This file is free software; the Free Software Foundation
 dnl gives unlimited permission to copy and/or distribute it,
 dnl with or without modifications, as long as this notice is preserved.
 
 AC_DEFUN([gl_MEMCASECMP],
 [
+  AC_LIBSOURCES([memcasecmp.c, memcasecmp.h])
+  AC_LIBOBJ([memcasecmp])
+
   dnl Prerequisites of lib/memcasecmp.c.
   AC_REQUIRE([AC_HEADER_STDC])
   AC_CHECK_FUNCS_ONCE(isascii)