mirror of
https://git.proxmox.com/git/mirror_frr
synced 2025-08-07 09:06:46 +00:00
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.
This commit is contained in:
parent
3e95a0741f
commit
fa1253d0c9
17
configure.ac
17
configure.ac
@ -7,8 +7,9 @@
|
|||||||
##
|
##
|
||||||
AC_PREREQ(2.53)
|
AC_PREREQ(2.53)
|
||||||
|
|
||||||
AC_INIT(lib/zebra.h)
|
AC_INIT(quagga, 0.96.2, [bug-zebra@gnu.org])
|
||||||
AM_INIT_AUTOMAKE(quagga, 0.96.2)
|
AC_CONFIG_SRCDIR(lib/zebra.h)
|
||||||
|
AM_INIT_AUTOMAKE()
|
||||||
AM_CONFIG_HEADER(config.h)
|
AM_CONFIG_HEADER(config.h)
|
||||||
|
|
||||||
dnl -----------------------------------
|
dnl -----------------------------------
|
||||||
@ -935,13 +936,6 @@ if test x"${ac_cv_header_execinfo_h}" = x"yes"; then
|
|||||||
)
|
)
|
||||||
fi
|
fi
|
||||||
|
|
||||||
dnl -------------
|
|
||||||
dnl check version
|
|
||||||
dnl -------------
|
|
||||||
file="${srcdir}/lib/version.h"
|
|
||||||
VERSION=`sed -ne 's/^#.*QUAGGA_VERSION.*\"\([^\"]*\)\"$/\1/p' $file`
|
|
||||||
AC_SUBST(VERSION)
|
|
||||||
|
|
||||||
dnl ----------
|
dnl ----------
|
||||||
dnl configure date
|
dnl configure date
|
||||||
dnl ----------
|
dnl ----------
|
||||||
@ -1015,12 +1009,13 @@ AC_OUTPUT(Makefile lib/Makefile zebra/Makefile ripd/Makefile
|
|||||||
ripngd/Makefile bgpd/Makefile ospfd/Makefile
|
ripngd/Makefile bgpd/Makefile ospfd/Makefile
|
||||||
ospf6d/Makefile vtysh/Makefile doc/Makefile
|
ospf6d/Makefile vtysh/Makefile doc/Makefile
|
||||||
ospfclient/Makefile
|
ospfclient/Makefile
|
||||||
redhat/quagga.spec)
|
redhat/quagga.spec
|
||||||
|
lib/version.h)
|
||||||
|
|
||||||
echo "
|
echo "
|
||||||
zebra configuration
|
zebra configuration
|
||||||
-------------------
|
-------------------
|
||||||
quagga version : ${VERSION}
|
quagga version : ${PACKAGE_VERSION}
|
||||||
host operationg system : ${host_os}
|
host operationg system : ${host_os}
|
||||||
source code location : ${srcdir}
|
source code location : ${srcdir}
|
||||||
compiler : ${CC}
|
compiler : ${CC}
|
||||||
|
@ -5,3 +5,4 @@ zebra.info-*
|
|||||||
zebra.html
|
zebra.html
|
||||||
quagga.info*
|
quagga.info*
|
||||||
quagga.html
|
quagga.html
|
||||||
|
quagga.pdf
|
||||||
|
@ -2,4 +2,5 @@ Makefile
|
|||||||
Makefile.in
|
Makefile.in
|
||||||
*.o
|
*.o
|
||||||
version.c
|
version.c
|
||||||
|
version.h
|
||||||
.deps
|
.deps
|
||||||
|
@ -22,13 +22,13 @@
|
|||||||
#ifndef _ZEBRA_VERSION_H
|
#ifndef _ZEBRA_VERSION_H
|
||||||
#define _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;
|
extern char *host_name;
|
||||||
|
|
Loading…
Reference in New Issue
Block a user