mirror of
https://git.openldap.org/openldap/openldap.git
synced 2026-01-10 17:03:09 -05:00
Use CDPATH clearing mechanism borrowed from autoconf 2.14a
This commit is contained in:
parent
197569d676
commit
9ad6c8aaac
2 changed files with 686 additions and 672 deletions
13
configure.in
13
configure.in
|
|
@ -24,9 +24,6 @@ define([AC_INIT_BINSH],
|
|||
|
||||
echo "Copyright 1998-2000 The OpenLDAP Foundation, All Rights Reserved."
|
||||
echo "Copying restrictions apply, see COPYRIGHT file."
|
||||
|
||||
# clear CDPATH
|
||||
CDPATH=:
|
||||
])dnl
|
||||
dnl ----------------------------------------------------------------
|
||||
dnl Disable config.cache!
|
||||
|
|
@ -35,6 +32,16 @@ define([AC_CACHE_SAVE], )dnl
|
|||
dnl ================================================================
|
||||
dnl Configure.in for OpenLDAP
|
||||
AC_INIT(build/version)dnl
|
||||
|
||||
# set unset (borrowed from autoconf 2.14a)
|
||||
if (unset FOO) >/dev/null 2>&1; then
|
||||
ol_unset=unset
|
||||
else
|
||||
ol_unset=false
|
||||
fi
|
||||
# unset CDPATH
|
||||
$ol_unset CDPATH || test "${CDPATH+set}" != set || CDPATH=: && export CDPATH
|
||||
|
||||
AC_CONFIG_AUX_DIR(build)dnl
|
||||
|
||||
OL_VERSION=`cat $ac_aux_dir/version`
|
||||
|
|
|
|||
Loading…
Reference in a new issue