diff options
Diffstat (limited to 'source3/m4/lead-dot.m4')
-rw-r--r-- | source3/m4/lead-dot.m4 | 21 |
1 files changed, 21 insertions, 0 deletions
diff --git a/source3/m4/lead-dot.m4 b/source3/m4/lead-dot.m4 new file mode 100644 index 0000000000..d83bfa0b08 --- /dev/null +++ b/source3/m4/lead-dot.m4 @@ -0,0 +1,21 @@ +## -*- Autoconf -*- +# Copyright (C) 2003, 2005 Free Software Foundation, Inc. +# +# This file is free software; the Free Software Foundation +# gives unlimited permission to copy and/or distribute it, +# with or without modifications, as long as this notice is preserved. + +# serial 2 + +# Check whether the underlying file-system supports filenames +# with a leading dot. For instance MS-DOS doesn't. +AC_DEFUN([AM_SET_LEADING_DOT], +[rm -rf .tst 2>/dev/null +mkdir .tst 2>/dev/null +if test -d .tst; then + am__leading_dot=. +else + am__leading_dot=_ +fi +rmdir .tst 2>/dev/null +AC_SUBST([am__leading_dot])]) |