1#                                                          -*- Autoconf -*-
2# Copyright (C) 2003  Free Software Foundation, Inc.
3
4# This program is free software; you can redistribute it and/or modify
5# it under the terms of the GNU General Public License as published by
6# the Free Software Foundation; either version 2, or (at your option)
7# any later version.
8
9# This program is distributed in the hope that it will be useful,
10# but WITHOUT ANY WARRANTY; without even the implied warranty of
11# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
12# GNU General Public License for more details.
13
14# You should have received a copy of the GNU General Public License
15# along with this program; if not, write to the Free Software
16# Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA
17# 02110-1301, USA.
18
19# serial 1
20
21# Check whether the underlying file-system supports filenames
22# with a leading dot.  For instance MS-DOS doesn't.
23AC_DEFUN([AM_SET_LEADING_DOT],
24[rm -rf .tst 2>/dev/null
25mkdir .tst 2>/dev/null
26if test -d .tst; then
27  am__leading_dot=.
28else
29  am__leading_dot=_
30fi
31rmdir .tst 2>/dev/null
32AC_SUBST([am__leading_dot])])
33