Code

Sync with the latest Gnulib code (177f525)
[nagiosplug.git] / gl / m4 / dirname.m4
1 #serial 8   -*- autoconf -*-
2 dnl Copyright (C) 2002-2006, 2009-2010 Free Software Foundation, Inc.
3 dnl This file is free software; the Free Software Foundation
4 dnl gives unlimited permission to copy and/or distribute it,
5 dnl with or without modifications, as long as this notice is preserved.
7 AC_DEFUN([gl_DIRNAME],
8 [
9   AC_REQUIRE([gl_DIRNAME_LGPL])
10   AC_LIBOBJ([basename])
11   AC_LIBOBJ([dirname])
12 ])
14 AC_DEFUN([gl_DIRNAME_LGPL],
15 [
16   AC_LIBOBJ([basename-lgpl])
17   AC_LIBOBJ([dirname-lgpl])
18   AC_LIBOBJ([stripslash])
20   dnl Prerequisites of lib/dirname.h.
21   AC_REQUIRE([gl_AC_DOS])
22   AC_REQUIRE([gl_DOUBLE_SLASH_ROOT])
24   dnl No prerequisites of lib/basename-lgpl.c, lib/dirname-lgpl.c,
25   dnl lib/stripslash.c.
26 ])