Obtain version name from build/version (re-add build/version).

This will facilate version.c generation on non-UNIX systems.
This commit is contained in:
Kurt Zeilenga 1999-05-28 00:35:09 +00:00
parent a0d2b3c5a0
commit fd41e31d46
3 changed files with 560 additions and 547 deletions

1
build/version Normal file
View file

@ -0,0 +1 @@
2.0-devel

1096
configure vendored

File diff suppressed because it is too large Load diff

View file

@ -12,9 +12,15 @@ define([AC_CACHE_LOAD], )dnl
define([AC_CACHE_SAVE], )dnl
dnl Configure.in for OpenLDAP
AC_INIT(include/ldap.h)dnl
AC_INIT(build/version)dnl
AC_CONFIG_AUX_DIR(build)dnl
AM_INIT_AUTOMAKE(OpenLDAP,[2.0-devel], [no defines])dnl
OL_VERSION=`cat $ac_aux_dir/version`
if test -z "$OL_VERSION"; then
AC_MSG_ERROR([could not determine version])
fi
AM_INIT_AUTOMAKE(OpenLDAP,[$OL_VERSION], [no defines])dnl
AC_SUBST(PACKAGE)
AC_SUBST(VERSION)
AC_DEFINE_UNQUOTED(OPENLDAP_PACKAGE,"$PACKAGE",Package)