summaryrefslogtreecommitdiff
path: root/lib/version.h.in
diff options
context:
space:
mode:
authorpaul <paul>2003-09-24 05:09:26 +0000
committerpaul <paul>2003-09-24 05:09:26 +0000
commitfa1253d0c95416ab0361e6945275ef8194fd7ddd (patch)
treec0e9455701831fcc436f3b579eca956e07c6686a /lib/version.h.in
parent3e95a0741feb6f8b103577d0019a5db562d8315d (diff)
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.
Diffstat (limited to 'lib/version.h.in')
-rw-r--r--lib/version.h.in43
1 files changed, 43 insertions, 0 deletions
diff --git a/lib/version.h.in b/lib/version.h.in
new file mode 100644
index 00000000..8b8b9f6e
--- /dev/null
+++ b/lib/version.h.in
@@ -0,0 +1,43 @@
+/* Zebra version
+ * Copyright (C) 1997, 1999 Kunihiro Ishiguro
+ *
+ * This file is part of GNU Zebra.
+ *
+ * GNU Zebra is free software; you can redistribute it and/or modify it
+ * under the terms of the GNU General Public License as published by the
+ * Free Software Foundation; either version 2, or (at your option) any
+ * later version.
+ *
+ * GNU Zebra is distributed in the hope that it will be useful, but
+ * WITHOUT ANY WARRANTY; without even the implied warranty of
+ * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
+ * General Public License for more details.
+ *
+ * You should have received a copy of the GNU General Public License
+ * along with GNU Zebra; see the file COPYING. If not, write to the Free
+ * Software Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA
+ * 02111-1307, USA.
+ */
+
+#ifndef _ZEBRA_VERSION_H
+#define _ZEBRA_VERSION_H
+
+#define QUAGGA_PROGNAME "@PACKAGE_NAME@"
+
+#define QUAGGA_VERSION "@PACKAGE_VERSION@"
+
+#define ZEBRA_BUG_ADDRESS "@PACKAGE_BUGREPORT@"
+
+#define QUAGGA_URL "http://www.quagga.net"
+
+extern char *host_name;
+
+void print_version(char *);
+pid_t pid_output (char *);
+pid_t pid_output_lock (char *);
+
+#ifndef HAVE_DAEMON
+int daemon(int, int);
+#endif
+
+#endif /* _ZEBRA_VERSION_H */