Use AC_LIBSOURCES and AC_LIBOBJ to indicate source and object files.
[gnulib.git] / m4 / memcoll.m4
index 79608ee..6f73412 100644 (file)
@@ -1,11 +1,14 @@
-# memcoll.m4 serial 4
-dnl Copyright (C) 2002, 2003 Free Software Foundation, Inc.
+# memcoll.m4 serial 5
+dnl Copyright (C) 2002, 2003, 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_MEMCOLL],
 [
+  AC_LIBSOURCES([memcoll.c, memcoll.h])
+  AC_LIBOBJ([memcoll])
+
   dnl Prerequisites of lib/memcoll.c.
   AC_REQUIRE([AC_FUNC_MEMCMP])
   AC_FUNC_STRCOLL