summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJim Meyering <jim@meyering.net>2005-01-27 18:10:25 +0000
committerJim Meyering <jim@meyering.net>2005-01-27 18:10:25 +0000
commit20563023defb8d863878b0019444acea0a414260 (patch)
tree92c3be37e5ec33c91bc37fb8671ca1e1201e34bf
parent78931f32346ffa19d0f8fa88456f6b16b7d9720a (diff)
downloadcoreutils-20563023defb8d863878b0019444acea0a414260.tar.xz
(gl_BASENAME): New file/macro.
-rw-r--r--m4/basename.m414
1 files changed, 14 insertions, 0 deletions
diff --git a/m4/basename.m4 b/m4/basename.m4
new file mode 100644
index 000000000..821906fde
--- /dev/null
+++ b/m4/basename.m4
@@ -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])
+])