Skip to content
Snippets Groups Projects
Commit fd41e31d authored by Kurt Zeilenga's avatar Kurt Zeilenga
Browse files

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

This will facilate version.c generation on non-UNIX systems.
parent a0d2b3c5
No related branches found
No related tags found
No related merge requests found
2.0-devel
This diff is collapsed.
......@@ -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)
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment