lead-dot.m4 641 B

12345678910111213141516171819
  1. ## -*- Autoconf -*-
  2. # Copyright (C) 2003-2017 Free Software Foundation, Inc.
  3. #
  4. # This file is free software; the Free Software Foundation
  5. # gives unlimited permission to copy and/or distribute it,
  6. # with or without modifications, as long as this notice is preserved.
  7. # Check whether the underlying file-system supports filenames
  8. # with a leading dot. For instance MS-DOS doesn't.
  9. AC_DEFUN([AM_SET_LEADING_DOT],
  10. [rm -rf .tst 2>/dev/null
  11. mkdir .tst 2>/dev/null
  12. if test -d .tst; then
  13. am__leading_dot=.
  14. else
  15. am__leading_dot=_
  16. fi
  17. rmdir .tst 2>/dev/null
  18. AC_SUBST([am__leading_dot])])