Blame config/lead-dot.m4

Packit Service 706eca
#                                                          -*- Autoconf -*-
Packit Service 706eca
# Copyright (C) 2003, 2009  Free Software Foundation, Inc.
Packit Service 706eca
Packit Service 706eca
# This program is free software; you can redistribute it and/or modify
Packit Service 706eca
# it under the terms of the GNU General Public License as published by
Packit Service 706eca
# the Free Software Foundation; either version 3, or (at your option)
Packit Service 706eca
# any later version.
Packit Service 706eca
Packit Service 706eca
# This program is distributed in the hope that it will be useful,
Packit Service 706eca
# but WITHOUT ANY WARRANTY; without even the implied warranty of
Packit Service 706eca
# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
Packit Service 706eca
# GNU General Public License for more details.
Packit Service 706eca
Packit Service 706eca
# You should have received a copy of the GNU General Public License
Packit Service 706eca
# along with this program; see the file COPYING3.  If not see
Packit Service 706eca
# <http://www.gnu.org/licenses/>.
Packit Service 706eca
Packit Service 706eca
# serial 1
Packit Service 706eca
Packit Service 706eca
# Check whether the underlying file-system supports filenames
Packit Service 706eca
# with a leading dot.  For instance MS-DOS doesn't.
Packit Service 706eca
AC_DEFUN([AM_SET_LEADING_DOT],
Packit Service 706eca
[rm -rf .tst 2>/dev/null
Packit Service 706eca
mkdir .tst 2>/dev/null
Packit Service 706eca
if test -d .tst; then
Packit Service 706eca
  am__leading_dot=.
Packit Service 706eca
else
Packit Service 706eca
  am__leading_dot=_
Packit Service 706eca
fi
Packit Service 706eca
rmdir .tst 2>/dev/null
Packit Service 706eca
AC_SUBST([am__leading_dot])])