aboutsummaryrefslogtreecommitdiff
path: root/m4/basename.m4
diff options
context:
space:
mode:
authorGravatar Ton Voon <tonvoon@users.sourceforge.net> 2006-07-13 08:54:57 +0000
committerGravatar Ton Voon <tonvoon@users.sourceforge.net> 2006-07-13 08:54:57 +0000
commit6b9cc76d0a27631fbab19a31ab8bd46e143b7580 (patch)
tree7153d03691decf028fa422dac86d3aec46908f54 /m4/basename.m4
parenta46e358d68027289cffaffeb7a4b32ababb2105b (diff)
downloadmonitoring-plugins-6b9cc76d0a27631fbab19a31ab8bd46e143b7580.tar.gz
Using coreutils' base_name function because of portability issues with
Tru64 git-svn-id: https://nagiosplug.svn.sourceforge.net/svnroot/nagiosplug/nagiosplug/trunk@1450 f882894a-f735-0410-b71e-b25c423dba1c
Diffstat (limited to 'm4/basename.m4')
-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 00000000..69a0996f
--- /dev/null
+++ b/m4/basename.m4
@@ -0,0 +1,14 @@
+# basename.m4 serial 1
+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_BASENAME],
+[
+ AC_LIBSOURCES([basename.c, dirname.h])
+ AC_LIBOBJ([basename])
+
+ dnl Prerequisites of lib/basename.c.
+ AC_REQUIRE([gl_AC_DOS])
+])