]> git.saurik.com Git - bison.git/commitdiff
Use VERSION symbol from automake for version number.
authorJesse Thilo <jthilo@gnu.org>
Tue, 29 Dec 1998 21:54:26 +0000 (21:54 +0000)
committerJesse Thilo <jthilo@gnu.org>
Tue, 29 Dec 1998 21:54:26 +0000 (21:54 +0000)
acconfig.h [new file with mode: 0644]
configure.in
src/version.c [new file with mode: 0644]
version.cin [deleted file]

diff --git a/acconfig.h b/acconfig.h
new file mode 100644 (file)
index 0000000..fbf4463
--- /dev/null
@@ -0,0 +1,14 @@
+#ifndef CONFIG_H
+#define CONFIG_H
+
+@TOP@
+
+/* Name of package.  */
+#undef PACKAGE
+
+/* Version of package.  */
+#undef VERSION
+
+@BOTTOM@
+
+#endif  /* CONFIG_H */
index 31a6ce676c7796604d5828573319dda7f0c72c92..4763fc5a0a5166aa1512350c062393121aeb9038 100644 (file)
@@ -1,6 +1,6 @@
 dnl Process this file with autoconf to produce a configure script.
 AC_INIT(reduce.c)
-AM_INIT_AUTOMAKE(bison,1.25.90,nodef)
+AM_INIT_AUTOMAKE(bison,1.25.90)
 AM_CONFIG_HEADER(config.h:config.hin)
 
 dnl Checks for programs.
@@ -21,4 +21,4 @@ AC_C_CONST
 dnl Checks for library functions.
 AC_FUNC_ALLOCA
 
-AC_OUTPUT(Makefile version.c:version.cin)
+AC_OUTPUT(Makefile)
diff --git a/src/version.c b/src/version.c
new file mode 100644 (file)
index 0000000..5cb018a
--- /dev/null
@@ -0,0 +1,3 @@
+#include <config.h>
+
+char *version_string = "GNU Bison version " VERSION "\n";
diff --git a/version.cin b/version.cin
deleted file mode 100644 (file)
index 928a8c0..0000000
+++ /dev/null
@@ -1 +0,0 @@
-char *version_string = "GNU Bison version @VERSION@\n";