Commit | Line | Data |
---|---|---|
0e8e484a | 1 | # -*- Autoconf -*- |
ca892441 | 2 | # Copyright (C) 2003, 2009 Free Software Foundation, Inc. |
0e8e484a DD |
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 | |
ca892441 | 6 | # the Free Software Foundation; either version 3, or (at your option) |
0e8e484a DD |
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 | |
ca892441 RW |
15 | # along with this program; see the file COPYING3. If not see |
16 | # <http://www.gnu.org/licenses/>. | |
0e8e484a DD |
17 | |
18 | # serial 1 | |
19 | ||
20 | # Check whether the underlying file-system supports filenames | |
21 | # with a leading dot. For instance MS-DOS doesn't. | |
22 | AC_DEFUN([AM_SET_LEADING_DOT], | |
23 | [rm -rf .tst 2>/dev/null | |
24 | mkdir .tst 2>/dev/null | |
25 | if test -d .tst; then | |
26 | am__leading_dot=. | |
27 | else | |
28 | am__leading_dot=_ | |
29 | fi | |
30 | rmdir .tst 2>/dev/null | |
31 | AC_SUBST([am__leading_dot])]) |