summaryrefslogtreecommitdiffstats
path: root/c/src/aclocal/lead-dot.m4
diff options
context:
space:
mode:
authorRalf Corsepius <ralf.corsepius@rtems.org>2003-12-01 06:29:27 +0000
committerRalf Corsepius <ralf.corsepius@rtems.org>2003-12-01 06:29:27 +0000
commit82bdc05755bddae48b0de8c3b19c6d0c8b8edfa8 (patch)
treeef1446e0a612a63610d65dce1b3d206211163b79 /c/src/aclocal/lead-dot.m4
parent2003-12-01 Ralf Corsepius <corsepiu@faw.uni-ulm.de> (diff)
downloadrtems-82bdc05755bddae48b0de8c3b19c6d0c8b8edfa8.tar.bz2
2003-12-01 Ralf Corsepius <corsepiu@faw.uni-ulm.de>
* aclocal/lead-dot.m4: New (from automake-1.7f). * aclocal/rtems-top.m4: Require AM_SET_LEADING_DOT. Add AC_SUBST(dirstamp).
Diffstat (limited to 'c/src/aclocal/lead-dot.m4')
-rw-r--r--c/src/aclocal/lead-dot.m432
1 files changed, 32 insertions, 0 deletions
diff --git a/c/src/aclocal/lead-dot.m4 b/c/src/aclocal/lead-dot.m4
new file mode 100644
index 0000000000..c8789fb2ce
--- /dev/null
+++ b/c/src/aclocal/lead-dot.m4
@@ -0,0 +1,32 @@
+# -*- Autoconf -*-
+# Copyright (C) 2003 Free Software Foundation, Inc.
+
+# This program is free software; you can redistribute it and/or modify
+# it under the terms of the GNU General Public License as published by
+# the Free Software Foundation; either version 2, or (at your option)
+# any later version.
+
+# This program is distributed in the hope that it will be useful,
+# but WITHOUT ANY WARRANTY; without even the implied warranty of
+# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
+# GNU General Public License for more details.
+
+# You should have received a copy of the GNU General Public License
+# along with this program; if not, write to the Free Software
+# Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA
+# 02111-1307, USA.
+
+# serial 1
+
+# 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])])