Wrap $CC with quotes.

Patch provided by Hallvard B Furuseth <h.b.furuseth@usit.uio.no>.
This commit is contained in:
Kurt Zeilenga 1998-09-16 04:18:42 +00:00
parent f18687e356
commit b1d48b89ba
6 changed files with 8 additions and 8 deletions

View File

@ -321,7 +321,7 @@ makeconfig: .makefiles buildtools
;; \
esac; \
fi; \
CC=$(CC); \
CC="$(CC)"; \
OLDIFS="$$IFS"; \
IFS=":"; \
for dir in $$PATH; do \

View File

@ -15,7 +15,7 @@
all: FORCE
@if [ ! -z "$(NEEDUNPROTO)" ]; then \
cd unproto; $(MAKE) $(MFLAGS) CC=$(CC); \
cd unproto; $(MAKE) $(MFLAGS) CC="$(CC)"; \
else \
exit 0; \
fi

View File

@ -33,7 +33,7 @@ LIBS = -llber $(ISODELIBS) $(KRBLIBS) $(ALIBS)
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
@ -66,7 +66,7 @@ LDAP-types.h: LDAP_tables.c
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

View File

@ -27,7 +27,7 @@ CFLAGS = $(INCLUDES) $(THREADSINCLUDE) $(DEFINES) $(ACFLAGS)
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"; \

View File

@ -29,7 +29,7 @@ CFLAGS = $(INCLUDES) $(THREADSINCLUDE) $(DEFINES) $(ACFLAGS)
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"; \

View File

@ -39,7 +39,7 @@ all: build-edb2ldif ldif2index ldif2ldbm ldbmcat ldif2id2entry \
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"; \
@ -59,7 +59,7 @@ edb2-vers.c: $(EDB2LDIFOBJS)
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"; \