remove extra '&&' from CDPATH kludge

This commit is contained in:
Kurt Zeilenga 2001-01-03 19:06:22 +00:00
parent 1ad7bd20bf
commit ff0f390230
2 changed files with 5 additions and 5 deletions

6
configure vendored
View file

@ -1,6 +1,6 @@
#! /bin/sh
# $OpenLDAP$
# from OpenLDAP: pkg/ldap/configure.in,v 1.340 2000/12/31 01:32:49 kurt Exp
# from OpenLDAP: pkg/ldap/configure.in,v 1.341 2000/12/31 02:17:20 kurt Exp
# Copyright 1998-2000 The OpenLDAP Foundation. All Rights Reserved.
#
@ -643,14 +643,14 @@ else
fi
# set unset (borrowed from autoconf 2.14a)
# set unset (borrowed from autoconf 2.49c)
if (OL_FOO=OL_FOO; unset OL_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; }
$ol_unset CDPATH || test "${CDPATH+set}" != set || { CDPATH=:; export CDPATH; }
ac_aux_dir=
for ac_dir in build $srcdir/build; do

View file

@ -33,14 +33,14 @@ dnl ================================================================
dnl Configure.in for OpenLDAP
AC_INIT(build/version.sh)dnl
# set unset (borrowed from autoconf 2.14a)
# set unset (borrowed from autoconf 2.49c)
if (OL_FOO=OL_FOO; unset OL_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; }
$ol_unset CDPATH || test "${CDPATH+set}" != set || { CDPATH=:; export CDPATH; }
AC_CONFIG_AUX_DIR(build)dnl