2003-09-24 Paul Jakma <paul@dishone.st>
* lib/version.h: moved to version.h.in
* lib/version.h.in: New file, from version.h. Change hardcoded
package name and version to use the autoconf defined substition
variables.
* configure.ac: Fix up AC/AM_INIT* to new style. Remove the sed'ing
through lib/version.h for VERSION. Add lib/version.h to the
AC_OUTPUT list. Update the text output of quagga version at end
of configure run to use PACKAGE_VERSION.
* doc/.cvsignore: ignore quagga.pdf
* doc/.cvsignore: ignore version.h, its now autogenerated.
diff --git a/lib/.cvsignore b/lib/.cvsignore
index b8e258b..d95f62f 100644
--- a/lib/.cvsignore
+++ b/lib/.cvsignore
@@ -2,4 +2,5 @@
Makefile.in
*.o
version.c
+version.h
.deps
diff --git a/lib/version.h b/lib/version.h.in
similarity index 85%
rename from lib/version.h
rename to lib/version.h.in
index 9280613..8b8b9f6 100644
--- a/lib/version.h
+++ b/lib/version.h.in
@@ -22,13 +22,13 @@
#ifndef _ZEBRA_VERSION_H
#define _ZEBRA_VERSION_H
-#define QUAGGA_PROGNAME "quagga"
+#define QUAGGA_PROGNAME "@PACKAGE_NAME@"
-#define QUAGGA_VERSION "0.96.2"
+#define QUAGGA_VERSION "@PACKAGE_VERSION@"
-#define ZEBRA_BUG_ADDRESS "bug-zebra@gnu.org"
+#define ZEBRA_BUG_ADDRESS "@PACKAGE_BUGREPORT@"
-#define ZEBRA_URL "http://www.quagga.net"
+#define QUAGGA_URL "http://www.quagga.net"
extern char *host_name;