]> git.saurik.com Git - bison.git/commitdiff
Build version.c automatically.
authorJesse Thilo <jthilo@gnu.org>
Wed, 25 Nov 1998 23:17:35 +0000 (23:17 +0000)
committerJesse Thilo <jthilo@gnu.org>
Wed, 25 Nov 1998 23:17:35 +0000 (23:17 +0000)
configure.in
src/version.c [deleted file]
version.cin [new file with mode: 0644]

index aec27690056a26eb534887c2ad57f4fed53c5a65..31a6ce676c7796604d5828573319dda7f0c72c92 100644 (file)
@@ -21,4 +21,4 @@ AC_C_CONST
 dnl Checks for library functions.
 AC_FUNC_ALLOCA
 
-AC_OUTPUT(Makefile)
+AC_OUTPUT(Makefile version.c:version.cin)
diff --git a/src/version.c b/src/version.c
deleted file mode 100644 (file)
index 2bc1122..0000000
+++ /dev/null
@@ -1 +0,0 @@
-char *version_string = "GNU Bison version 1.25\n";
diff --git a/version.cin b/version.cin
new file mode 100644 (file)
index 0000000..928a8c0
--- /dev/null
@@ -0,0 +1 @@
+char *version_string = "GNU Bison version @VERSION@\n";