Skip to content
Snippets Groups Projects
Commit b1d48b89 authored by Kurt Zeilenga's avatar Kurt Zeilenga
Browse files

Wrap $CC with quotes.

Patch provided by Hallvard B Furuseth <h.b.furuseth@usit.uio.no>.
parent f18687e3
No related branches found
No related tags found
No related merge requests found
...@@ -321,7 +321,7 @@ makeconfig: .makefiles buildtools ...@@ -321,7 +321,7 @@ makeconfig: .makefiles buildtools
;; \ ;; \
esac; \ esac; \
fi; \ fi; \
CC=$(CC); \ CC="$(CC)"; \
OLDIFS="$$IFS"; \ OLDIFS="$$IFS"; \
IFS=":"; \ IFS=":"; \
for dir in $$PATH; do \ for dir in $$PATH; do \
......
...@@ -15,7 +15,7 @@ ...@@ -15,7 +15,7 @@
all: FORCE all: FORCE
@if [ ! -z "$(NEEDUNPROTO)" ]; then \ @if [ ! -z "$(NEEDUNPROTO)" ]; then \
cd unproto; $(MAKE) $(MFLAGS) CC=$(CC); \ cd unproto; $(MAKE) $(MFLAGS) CC="$(CC)"; \
else \ else \
exit 0; \ exit 0; \
fi fi
......
...@@ -33,7 +33,7 @@ LIBS = -llber $(ISODELIBS) $(KRBLIBS) $(ALIBS) ...@@ -33,7 +33,7 @@ LIBS = -llber $(ISODELIBS) $(KRBLIBS) $(ALIBS)
all: FORCE all: FORCE
@if [ "$(HAVEISODE)" = "yes" ]; then \ @if [ "$(HAVEISODE)" = "yes" ]; then \
$(MAKE) $(MFLAGS) CC=$(CC) ldapd; \ $(MAKE) $(MFLAGS) CC="$(CC)" ldapd; \
else \ else \
echo "uncomment the HAVEISODE=yes line in the Make-common file to build ldapd"; \ echo "uncomment the HAVEISODE=yes line in the Make-common file to build ldapd"; \
fi fi
...@@ -66,7 +66,7 @@ LDAP-types.h: LDAP_tables.c ...@@ -66,7 +66,7 @@ LDAP-types.h: LDAP_tables.c
install: FORCE install: FORCE
@if [ "$(HAVEISODE)" = "yes" ]; then \ @if [ "$(HAVEISODE)" = "yes" ]; then \
$(MAKE) $(MFLAGS) CC=$(CC) install-ldapd; \ $(MAKE) $(MFLAGS) CC="$(CC)" install-ldapd; \
else \ else \
echo "uncomment the HAVEISODE=yes line in the Make-common file to build and install ldapd"; \ echo "uncomment the HAVEISODE=yes line in the Make-common file to build and install ldapd"; \
fi fi
......
...@@ -27,7 +27,7 @@ CFLAGS = $(INCLUDES) $(THREADSINCLUDE) $(DEFINES) $(ACFLAGS) ...@@ -27,7 +27,7 @@ CFLAGS = $(INCLUDES) $(THREADSINCLUDE) $(DEFINES) $(ACFLAGS)
all: FORCE all: FORCE
-@echo "$(SLAPD_BACKENDS)" | grep LDAP_PASSWD 2>&1 > /dev/null; \ -@echo "$(SLAPD_BACKENDS)" | grep LDAP_PASSWD 2>&1 > /dev/null; \
if [ $$? = 0 ]; then \ if [ $$? = 0 ]; then \
$(MAKE) $(MFLAGS) CC=$(CC) libback-passwd.a; \ $(MAKE) $(MFLAGS) CC="$(CC)" libback-passwd.a; \
else \ else \
echo "Include -DLDAP_PASSWD in SLAPD_BACKENDS in the"; \ echo "Include -DLDAP_PASSWD in SLAPD_BACKENDS in the"; \
echo "Make-common file to build the passwd backend"; \ echo "Make-common file to build the passwd backend"; \
......
...@@ -29,7 +29,7 @@ CFLAGS = $(INCLUDES) $(THREADSINCLUDE) $(DEFINES) $(ACFLAGS) ...@@ -29,7 +29,7 @@ CFLAGS = $(INCLUDES) $(THREADSINCLUDE) $(DEFINES) $(ACFLAGS)
all: FORCE all: FORCE
-@echo "$(SLAPD_BACKENDS)" | grep LDAP_SHELL 2>&1 > /dev/null; \ -@echo "$(SLAPD_BACKENDS)" | grep LDAP_SHELL 2>&1 > /dev/null; \
if [ $$? = 0 ]; then \ if [ $$? = 0 ]; then \
$(MAKE) $(MFLAGS) CC=$(CC) libback-shell.a; \ $(MAKE) $(MFLAGS) CC="$(CC)" libback-shell.a; \
else \ else \
echo "Include -DLDAP_SHELL in SLAPD_BACKENDS in the"; \ echo "Include -DLDAP_SHELL in SLAPD_BACKENDS in the"; \
echo "Make-common file to build the shell backend"; \ echo "Make-common file to build the shell backend"; \
......
...@@ -39,7 +39,7 @@ all: build-edb2ldif ldif2index ldif2ldbm ldbmcat ldif2id2entry \ ...@@ -39,7 +39,7 @@ all: build-edb2ldif ldif2index ldif2ldbm ldbmcat ldif2id2entry \
build-edb2ldif: FORCE build-edb2ldif: FORCE
@if [ "$(HAVEISODE)" = "yes" ]; then \ @if [ "$(HAVEISODE)" = "yes" ]; then \
$(MAKE) $(MFLAGS) CC=$(CC) EXINCLUDES="$(ISODEINCLUDEFLAG)" \ $(MAKE) $(MFLAGS) CC="$(CC)" EXINCLUDES="$(ISODEINCLUDEFLAG)" \
EXLDFLAGS="$(ISODELIBFLAG)" EXLIBS="$(ISODELIBS)" edb2ldif; \ EXLDFLAGS="$(ISODELIBFLAG)" EXLIBS="$(ISODELIBS)" edb2ldif; \
else \ else \
echo "uncomment the HAVEISODE=yes line in the Make-common file to build edb2ldif"; \ echo "uncomment the HAVEISODE=yes line in the Make-common file to build edb2ldif"; \
...@@ -59,7 +59,7 @@ edb2-vers.c: $(EDB2LDIFOBJS) ...@@ -59,7 +59,7 @@ edb2-vers.c: $(EDB2LDIFOBJS)
build-chlog2replog: FORCE build-chlog2replog: FORCE
@if [ "$(HAVEISODE)" = "yes" ]; then \ @if [ "$(HAVEISODE)" = "yes" ]; then \
$(MAKE) $(MFLAGS) CC=$(CC) EXINCLUDES="$(ISODEINCLUDEFLAG)" \ $(MAKE) $(MFLAGS) CC="$(CC)" EXINCLUDES="$(ISODEINCLUDEFLAG)" \
EXLDFLAGS="$(ISODELIBFLAG)" EXLIBS="$(ISODELIBS)" chlog2replog; \ EXLDFLAGS="$(ISODELIBFLAG)" EXLIBS="$(ISODELIBS)" chlog2replog; \
else \ else \
echo "uncomment the HAVEISODE=yes line in the Make-common file to build chlog2replog"; \ echo "uncomment the HAVEISODE=yes line in the Make-common file to build chlog2replog"; \
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment