summaryrefslogtreecommitdiffstats
path: root/gl/m4/dirname.m4
diff options
context:
space:
mode:
Diffstat (limited to 'gl/m4/dirname.m4')
-rw-r--r--gl/m4/dirname.m414
1 files changed, 11 insertions, 3 deletions
diff --git a/gl/m4/dirname.m4 b/gl/m4/dirname.m4
index e35da96..576b5be 100644
--- a/gl/m4/dirname.m4
+++ b/gl/m4/dirname.m4
@@ -1,18 +1,26 @@
1#serial 7 -*- autoconf -*- 1#serial 8 -*- autoconf -*-
2dnl Copyright (C) 2002-2006 Free Software Foundation, Inc. 2dnl Copyright (C) 2002-2006, 2009-2010 Free Software Foundation, Inc.
3dnl This file is free software; the Free Software Foundation 3dnl This file is free software; the Free Software Foundation
4dnl gives unlimited permission to copy and/or distribute it, 4dnl gives unlimited permission to copy and/or distribute it,
5dnl with or without modifications, as long as this notice is preserved. 5dnl with or without modifications, as long as this notice is preserved.
6 6
7AC_DEFUN([gl_DIRNAME], 7AC_DEFUN([gl_DIRNAME],
8[ 8[
9 AC_REQUIRE([gl_DIRNAME_LGPL])
9 AC_LIBOBJ([basename]) 10 AC_LIBOBJ([basename])
10 AC_LIBOBJ([dirname]) 11 AC_LIBOBJ([dirname])
12])
13
14AC_DEFUN([gl_DIRNAME_LGPL],
15[
16 AC_LIBOBJ([basename-lgpl])
17 AC_LIBOBJ([dirname-lgpl])
11 AC_LIBOBJ([stripslash]) 18 AC_LIBOBJ([stripslash])
12 19
13 dnl Prerequisites of lib/dirname.h. 20 dnl Prerequisites of lib/dirname.h.
14 AC_REQUIRE([gl_AC_DOS]) 21 AC_REQUIRE([gl_AC_DOS])
15 AC_REQUIRE([gl_DOUBLE_SLASH_ROOT]) 22 AC_REQUIRE([gl_DOUBLE_SLASH_ROOT])
16 23
17 dnl No prerequisites of lib/basename.c, lib/dirname.c, lib/stripslash.c. 24 dnl No prerequisites of lib/basename-lgpl.c, lib/dirname-lgpl.c,
25 dnl lib/stripslash.c.
18]) 26])