diff --git a/acconfig.h b/acconfig.h new file mode 100644 index 00000000..fbf4463c --- /dev/null +++ b/acconfig.h @@ -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 */ diff --git a/configure.in b/configure.in index 31a6ce67..4763fc5a 100644 --- a/configure.in +++ b/configure.in @@ -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 index 00000000..5cb018a3 --- /dev/null +++ b/src/version.c @@ -0,0 +1,3 @@ +#include + +char *version_string = "GNU Bison version " VERSION "\n"; diff --git a/version.cin b/version.cin deleted file mode 100644 index 928a8c06..00000000 --- a/version.cin +++ /dev/null @@ -1 +0,0 @@ -char *version_string = "GNU Bison version @VERSION@\n";