Index: ChangeLog
from Akim Demaille <akim(a)epita.fr>
* configure.ac: Check we can find the needed tools.
Add copyright notice.
* lib/boxedsdf/Makefile.am ($(SDFS)): unpack-sdf is in SDF_TOOLS,
not ASFIX_TOOLS).
Index: README
--- README Mon, 28 Jul 2003 19:02:44 +0200 david_v (meta-sdf-detgen/4_README 1.2 644)
+++ README Tue, 30 Sep 2003 18:35:56 +0200 akim (meta-sdf-detgen/4_README 1.3 644)
@@ -1,4 +1,4 @@
-DetGen: a Deterministic Grammar Generator
+DetGen: a Deterministic Grammar Generator -*- text -*-
-------
These tools is used for extend a grammar so as to have a deterministic one.
Index: configure.ac
--- configure.ac Fri, 20 Jun 2003 15:53:39 +0200 david_v (meta-sdf-detgen/7_configure. 1.2
644)
+++ configure.ac Tue, 30 Sep 2003 18:43:34 +0200 akim (meta-sdf-detgen/7_configure. 1.3
644)
@@ -1,22 +1,45 @@
+# Configure template for SDF DetGen. -*-Autoconf-*-
+#
+# Copyright (C) 2003 Laboratoire de Recherche et Developpement de l'EPITA.
+#
+# 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 of the License, 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
+
AC_PREREQ(2.57)
-AC_INIT(sdf-detgen, 0.1, valentin(a)lrde.epita.fr)
+AC_INIT([sdf-detgen], 0.1, [transformers-bugs(a)lrde.epita.fr])
-AC_CONFIG_AUX_DIR(config)
-AC_CONFIG_FILES(config/Makefile)
+AC_CONFIG_AUX_DIR([config])
+AC_CONFIG_FILES([config/Makefile])
-AM_INIT_AUTOMAKE([foreign 1.7.1 dist-bzip2])
+AM_INIT_AUTOMAKE([foreign 1.7.7 dist-bzip2])
test "x$prefix" = xNONE && prefix=$ac_default_prefix
USE_XT_PACKAGES
+test -f $SDF_TOOLS/bin/unpack-sdf ||
+ AC_MSG_ERROR([cannot find unpack-sdf. Use --with-xt.])
-AC_ARG_WITH(boxedsdf,
+AC_ARG_WITH([boxedsdf],
[ --with-boxedsdf=DIR Specify location of BOXEDSDF, [PREFIX]],
- BOXEDSDF="$withval",
- BOXEDSDF="$prefix"
+ [BOXEDSDF=$withval],
+ [BOXEDSDF=$prefix]
)
-AC_SUBST(BOXEDSDF)
+AC_SUBST([BOXEDSDF])
+test -f $BOXEDSDF/bin/boxed2sdf ||
+ AC_MSG_ERROR([cannot find boxed2sdf. Did you use --with-boxedsdf?])
AC_PROG_CC
AC_PROG_INSTALL
Index: lib/boxedsdf/Makefile.am
--- lib/boxedsdf/Makefile.am Thu, 19 Jun 2003 19:20:10 +0200 david_v
(meta-sdf-detgen/12_Makefile.a 1.1 644)
+++ lib/boxedsdf/Makefile.am Tue, 30 Sep 2003 18:42:58 +0200 akim
(meta-sdf-detgen/12_Makefile.a 1.2 644)
@@ -42,4 +42,4 @@
CLEANFILES = $(SDFS)
$(SDFS): $(BOXEDSDF)/share/boxedsdf/BoxedSdf2.def
- $(ASFIX_TOOLS)/bin/unpack-sdf $(BOXEDSDF)/share/boxedsdf/BoxedSdf2.def
\ No newline at end of file
+ $(SDF_TOOLS)/bin/unpack-sdf $(BOXEDSDF)/share/boxedsdf/BoxedSdf2.def