Use more portable sh if statement to resolve include problem.

This commit is contained in:
Kurt Zeilenga 1998-09-21 04:56:22 +00:00
parent b2d9693254
commit 8c1eae32fa
3 changed files with 208 additions and 212 deletions

View file

@ -99,7 +99,7 @@ lint-local:
lint5-local:
Makefile: Makefile.in ${top_srcdir}/config.status
@if [ $(top_srcdir) = $(srcdir) ]; then ; \
@if test "$(top_srcdir)" = "$(srcdir)" ; then ; \
./config.status ; \
else ; \
echo "Makefile out of date, run config.status from $top_srcdir" ; \

408
configure vendored

File diff suppressed because it is too large Load diff

View file

@ -23,10 +23,10 @@ AC_PREFIX_DEFAULT(/usr/local)
dnl General "enable" options
OL_ARG_ENABLE(debug,[ --enable-debug enable debugging], yes)dnl
#OL_ARG_ENABLE(syslog,[ --enable-syslog enable syslog support], auto)dnl
dnl OL_ARG_ENABLE(syslog,[ --enable-syslog enable syslog support], auto)dnl
OL_ARG_ENABLE(libui,[ --enable-libui enable library user interface], yes)dnl
OL_ARG_ENABLE(cache,[ --enable-cache enable caching], yes)dnl
OL_ARG_ENABLE(dns,[ --enable-dns enable dns support], auto)dnl
OL_ARG_ENABLE(dns,[ --enable-dns enable dns support], no)dnl
OL_ARG_ENABLE(referrals,[ --enable-referrals enable referrals], yes)dnl
OL_ARG_ENABLE(cldap,[ --enable-clapd enable connectionless ldap], no)dnl
@ -547,9 +547,9 @@ dnl Sort out defines
if test $ol_enable_debug != no ; then
LDAP_DEFS="$LDAP_DEFS -DLDAP_DEBUG"
fi
#if test $ol_enable_syslog != no ; then
# LDAP_DEFS="$LDAP_DEFS -DLDAP_SYSLOG"
#fi
dnl if test $ol_enable_syslog != no ; then
dnl LDAP_DEFS="$LDAP_DEFS -DLDAP_SYSLOG"
dnl fi
if test $ol_enable_libui = no ; then
LDAP_DEFS="$LDAP_DEFS -DNO_USERINTERFACE"
fi