From: Jesse Thilo Date: Wed, 25 Nov 1998 23:17:35 +0000 (+0000) Subject: Build version.c automatically. X-Git-Tag: GNU_1_26~30 X-Git-Url: https://git.saurik.com/bison.git/commitdiff_plain/6f82addcd57f70138b8155e3df34770a0b2a2ddb Build version.c automatically. --- diff --git a/configure.in b/configure.in index aec27690..31a6ce67 100644 --- a/configure.in +++ b/configure.in @@ -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 index 2bc11228..00000000 --- a/src/version.c +++ /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 index 00000000..928a8c06 --- /dev/null +++ b/version.cin @@ -0,0 +1 @@ +char *version_string = "GNU Bison version @VERSION@\n";