mirror of
https://git.openldap.org/openldap/openldap.git
synced 2025-12-24 00:29:35 -05:00
Generate OpenLDAP id for configure
This commit is contained in:
parent
7b0753afb2
commit
0ed114224b
4 changed files with 649 additions and 644 deletions
1
aclocal.m4
vendored
1
aclocal.m4
vendored
|
|
@ -10,6 +10,7 @@ dnl but WITHOUT ANY WARRANTY, to the extent permitted by law; without
|
||||||
dnl even the implied warranty of MERCHANTABILITY or FITNESS FOR A
|
dnl even the implied warranty of MERCHANTABILITY or FITNESS FOR A
|
||||||
dnl PARTICULAR PURPOSE.
|
dnl PARTICULAR PURPOSE.
|
||||||
|
|
||||||
|
dnl $OpenLDAP$
|
||||||
dnl Copyright 1998-1999 The OpenLDAP Foundation, All Rights Reserved.
|
dnl Copyright 1998-1999 The OpenLDAP Foundation, All Rights Reserved.
|
||||||
dnl COPYING RESTRICTIONS APPLY, See COPYRIGHT file
|
dnl COPYING RESTRICTIONS APPLY, See COPYRIGHT file
|
||||||
dnl
|
dnl
|
||||||
|
|
|
||||||
|
|
@ -6,6 +6,8 @@ dnl
|
||||||
dnl OpenLDAP Autoconf Macros
|
dnl OpenLDAP Autoconf Macros
|
||||||
dnl
|
dnl
|
||||||
dnl --------------------------------------------------------------------
|
dnl --------------------------------------------------------------------
|
||||||
|
AC_DEFUN([OL_RCS_ID], "[$]$1[$]")dnl
|
||||||
|
dnl --------------------------------------------------------------------
|
||||||
dnl Restricted form of AC_ARG_ENABLE that limits user options
|
dnl Restricted form of AC_ARG_ENABLE that limits user options
|
||||||
dnl
|
dnl
|
||||||
dnl $1 = option name
|
dnl $1 = option name
|
||||||
|
|
|
||||||
|
|
@ -14,6 +14,7 @@ define([AC_CACHE_SAVE], )dnl
|
||||||
dnl Configure.in for OpenLDAP
|
dnl Configure.in for OpenLDAP
|
||||||
AC_INIT(build/version)dnl
|
AC_INIT(build/version)dnl
|
||||||
AC_CONFIG_AUX_DIR(build)dnl
|
AC_CONFIG_AUX_DIR(build)dnl
|
||||||
|
OPENLDAP_ID=OL_RCS_ID(OpenLDAP)
|
||||||
|
|
||||||
OL_VERSION=`cat $ac_aux_dir/version`
|
OL_VERSION=`cat $ac_aux_dir/version`
|
||||||
if test -z "$OL_VERSION"; then
|
if test -z "$OL_VERSION"; then
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue