From 0ebaf0fa8d361f9425958f5d78390a1fee14f025 Mon Sep 17 00:00:00 2001 From: kouril Date: Mon, 6 Nov 2006 15:36:08 +0000 Subject: [PATCH] The shell functions supported by BSD make:s doesn't do what we are used to from GNU make. Added a comment with two lines which provide the same functionality also on BSD platforms. It'd be greate if they were wrapped with a if statetement. --- Makefile.in | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/Makefile.in b/Makefile.in index 7d17e9f..9c40491 100644 --- a/Makefile.in +++ b/Makefile.in @@ -10,6 +10,10 @@ CPPFLAGS = -I. -Ispnegokrb5 $(KRB5_CPPFLAGS) $(KRB4_CPPFLAGS) $(DEFS) LDFLAGS = $(KRB5_LDFLAGS) $(KRB4_LDFLAGS) $(LIB_resolv) CFLAGS = +# Use these assignements instead of the default ones if your're building on BSD +# systems. A 'if' statemet would be better, of course. +#APXS_CPPFLAGS != [ -n "${CPPFLAGS}" ] && echo ${CPPFLAGS} | sed -e 's/\([^ ]*\)/-Wc,\1/g' +#APXS_LDFLAGS != [ -n "${LDFLAGS}" ] && echo ${LDFLAGS} | sed -e 's/\([^ ]*\)/-Wl,\1/g' APXS_CPPFLAGS = ${shell [ -n "${CPPFLAGS}" ] && echo ${CPPFLAGS} | sed -e 's/\([^ ]*\)/-Wc,\1/g'} APXS_LDFLAGS = ${shell [ -n "${LDFLAGS}" ] && echo ${LDFLAGS} | sed -e 's/\([^ ]*\)/-Wl,\1/g'} -- 2.1.4