source: trunk/libs/newlib/src/config/lead-dot.m4 @ 668

Last change on this file since 668 was 444, checked in by satin@…, 7 years ago

add newlib,libalmos-mkh, restructure shared_syscalls.h and mini-libc

File size: 1.1 KB
Line 
1#                                                          -*- Autoconf -*-
2# Copyright (C) 2003, 2009  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 3, 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; see the file COPYING3.  If not see
16# <http://www.gnu.org/licenses/>.
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.
22AC_DEFUN([AM_SET_LEADING_DOT],
23[rm -rf .tst 2>/dev/null
24mkdir .tst 2>/dev/null
25if test -d .tst; then
26  am__leading_dot=.
27else
28  am__leading_dot=_
29fi
30rmdir .tst 2>/dev/null
31AC_SUBST([am__leading_dot])])
Note: See TracBrowser for help on using the repository browser.