Patch provided by Hallvard B Furuseth <h.b.furuseth@usit.uio.no>.
;; \
esac; \
fi; \
- CC=$(CC); \
+ CC="$(CC)"; \
OLDIFS="$$IFS"; \
IFS=":"; \
for dir in $$PATH; do \
all: FORCE
@if [ ! -z "$(NEEDUNPROTO)" ]; then \
- cd unproto; $(MAKE) $(MFLAGS) CC=$(CC); \
+ cd unproto; $(MAKE) $(MFLAGS) CC="$(CC)"; \
else \
exit 0; \
fi
all: FORCE
@if [ "$(HAVEISODE)" = "yes" ]; then \
- $(MAKE) $(MFLAGS) CC=$(CC) ldapd; \
+ $(MAKE) $(MFLAGS) CC="$(CC)" ldapd; \
else \
echo "uncomment the HAVEISODE=yes line in the Make-common file to build ldapd"; \
fi
install: FORCE
@if [ "$(HAVEISODE)" = "yes" ]; then \
- $(MAKE) $(MFLAGS) CC=$(CC) install-ldapd; \
+ $(MAKE) $(MFLAGS) CC="$(CC)" install-ldapd; \
else \
echo "uncomment the HAVEISODE=yes line in the Make-common file to build and install ldapd"; \
fi
all: FORCE
-@echo "$(SLAPD_BACKENDS)" | grep LDAP_PASSWD 2>&1 > /dev/null; \
if [ $$? = 0 ]; then \
- $(MAKE) $(MFLAGS) CC=$(CC) libback-passwd.a; \
+ $(MAKE) $(MFLAGS) CC="$(CC)" libback-passwd.a; \
else \
echo "Include -DLDAP_PASSWD in SLAPD_BACKENDS in the"; \
echo "Make-common file to build the passwd backend"; \
all: FORCE
-@echo "$(SLAPD_BACKENDS)" | grep LDAP_SHELL 2>&1 > /dev/null; \
if [ $$? = 0 ]; then \
- $(MAKE) $(MFLAGS) CC=$(CC) libback-shell.a; \
+ $(MAKE) $(MFLAGS) CC="$(CC)" libback-shell.a; \
else \
echo "Include -DLDAP_SHELL in SLAPD_BACKENDS in the"; \
echo "Make-common file to build the shell backend"; \
build-edb2ldif: FORCE
@if [ "$(HAVEISODE)" = "yes" ]; then \
- $(MAKE) $(MFLAGS) CC=$(CC) EXINCLUDES="$(ISODEINCLUDEFLAG)" \
+ $(MAKE) $(MFLAGS) CC="$(CC)" EXINCLUDES="$(ISODEINCLUDEFLAG)" \
EXLDFLAGS="$(ISODELIBFLAG)" EXLIBS="$(ISODELIBS)" edb2ldif; \
else \
echo "uncomment the HAVEISODE=yes line in the Make-common file to build edb2ldif"; \
build-chlog2replog: FORCE
@if [ "$(HAVEISODE)" = "yes" ]; then \
- $(MAKE) $(MFLAGS) CC=$(CC) EXINCLUDES="$(ISODEINCLUDEFLAG)" \
+ $(MAKE) $(MFLAGS) CC="$(CC)" EXINCLUDES="$(ISODEINCLUDEFLAG)" \
EXLDFLAGS="$(ISODELIBFLAG)" EXLIBS="$(ISODELIBS)" chlog2replog; \
else \
echo "uncomment the HAVEISODE=yes line in the Make-common file to build chlog2replog"; \