dirname.m4 712 B

1234567891011121314151617181920212223242526
  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.
  6. AC_DEFUN([gl_DIRNAME],
  7. [
  8. AC_REQUIRE([gl_DIRNAME_LGPL])
  9. AC_LIBOBJ([basename])
  10. AC_LIBOBJ([dirname])
  11. ])
  12. AC_DEFUN([gl_DIRNAME_LGPL],
  13. [
  14. AC_LIBOBJ([basename-lgpl])
  15. AC_LIBOBJ([dirname-lgpl])
  16. AC_LIBOBJ([stripslash])
  17. dnl Prerequisites of lib/dirname.h.
  18. AC_REQUIRE([gl_AC_DOS])
  19. AC_REQUIRE([gl_DOUBLE_SLASH_ROOT])
  20. dnl No prerequisites of lib/basename-lgpl.c, lib/dirname-lgpl.c,
  21. dnl lib/stripslash.c.
  22. ])