source: rtems/testsuites/aclocal/lead-dot.m4 @ c17ed71

4.104.114.84.95
Last change on this file since c17ed71 was c17ed71, checked in by Ralf Corsepius <ralf.corsepius@…>, on 12/01/03 at 21:38:43

2003-12-01 Ralf Corsepius <corsepiu@…>

  • automake/compile.am: Add $(ARCH)/$(dirstamp) rules.
  • aclocal/lead-dot.m4: New (from automake-1.7f).
  • aclocal/rtems-top.m4: Require AM_SET_LEADING_DOT. Add AC_SUBST(dirstamp).
  • Property mode set to 100644
File size: 1.1 KB
Line 
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., 59 Temple Place - Suite 330, Boston, MA
17# 02111-1307, 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])])
Note: See TracBrowser for help on using the repository browser.