Let ./configure populate VERSION in Makefile

This commit is contained in:
Sara Golemon 2004-12-31 20:40:40 +00:00
parent dfb3b8f0fd
commit a9af84c51d
2 changed files with 2 additions and 2 deletions

View File

@ -10,7 +10,7 @@ CC = @CC@
CFLAGS = -c @CFLAGS@ -Iinclude/ -Wall -g CFLAGS = -c @CFLAGS@ -Iinclude/ -Wall -g
LIBS = -lssh2 -Lsrc/ LIBS = -lssh2 -Lsrc/
INSTALL = @INSTALL@ INSTALL = @INSTALL@
VERSION=0.4 VERSION=@PACKAGE_VERSION@
DISTLIB=libssh2-$(VERSION) DISTLIB=libssh2-$(VERSION)
all: all:

View File

@ -1,5 +1,5 @@
# AC_PREREQ(2.57) # AC_PREREQ(2.57)
AC_INIT(libssh2, 0.4 , sarag@libssh2.org) AC_INIT(libssh2,0.4,sarag@libssh2.org)
AC_CONFIG_SRCDIR([src]) AC_CONFIG_SRCDIR([src])
AC_CONFIG_HEADER([include/libssh2_config.h]) AC_CONFIG_HEADER([include/libssh2_config.h])