]> git.ipfire.org Git - thirdparty/coreutils.git/commitdiff
(gl_BASENAME): New file/macro.
authorJim Meyering <jim@meyering.net>
Thu, 27 Jan 2005 18:10:25 +0000 (18:10 +0000)
committerJim Meyering <jim@meyering.net>
Thu, 27 Jan 2005 18:10:25 +0000 (18:10 +0000)
m4/basename.m4 [new file with mode: 0644]

diff --git a/m4/basename.m4 b/m4/basename.m4
new file mode 100644 (file)
index 0000000..821906f
--- /dev/null
@@ -0,0 +1,14 @@
+# basename.m4 serial 1
+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_BASENAME],
+[
+  AC_LIBSOURCES([basename.c, dirname.h])
+  AC_LIBOBJ([basename])
+
+  dnl Prerequisites of lib/basename.c.
+  AC_REQUIRE([gl_AC_DOS])
+])