source: trunk/essentials/sys-devel/automake-1.10/m4/lead-dot.m4

Last change on this file was 3147, checked in by bird, 18 years ago

automake 1.10

File size: 655 bytes
Line 
1## -*- Autoconf -*-
2# Copyright (C) 2003, 2005 Free Software Foundation, Inc.
3#
4# This file is free software; the Free Software Foundation
5# gives unlimited permission to copy and/or distribute it,
6# with or without modifications, as long as this notice is preserved.
7
8# serial 2
9
10# Check whether the underlying file-system supports filenames
11# with a leading dot. For instance MS-DOS doesn't.
12AC_DEFUN([AM_SET_LEADING_DOT],
13[rm -rf .tst 2>/dev/null
14mkdir .tst 2>/dev/null
15if test -d .tst; then
16 am__leading_dot=.
17else
18 am__leading_dot=_
19fi
20rmdir .tst 2>/dev/null
21AC_SUBST([am__leading_dot])])
Note: See TracBrowser for help on using the repository browser.