#! /bin/sh # Copyright (C) 1999, 2001, 2002, 2004, 2007 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, see . # Test to make sure mdate-sh works correctly. . ./defs || Exit 1 set -e cat >> configure.in << 'END' AC_OUTPUT END cat > Makefile.am << 'END' info_TEXINFOS = textutils.texi END cat > textutils.texi << 'END' @include version.texi @setfilename textutils.info END $ACLOCAL $AUTOMAKE --add-missing set x `$SHELL ./mdate-sh Makefile.am` shift # Check that mdate output looks like a date: test $# = 3 case $1$3 in *[!0-9]*) Exit 1;; esac test $1 -lt 32