]> git.ipfire.org Git - thirdparty/iptables.git/commitdiff
Fixed ultrasparc alignment define.
authorRusty Russell <rusty@linuxcare.com.au>
Tue, 19 Sep 2000 07:01:00 +0000 (07:01 +0000)
committerRusty Russell <rusty@rustcorp.com.au>
Tue, 19 Sep 2000 07:01:00 +0000 (07:01 +0000)
Only print extensions when there are some.

Makefile

index a292ca501d157704bfa25cb10d6268418245d61b..ade83b865c5ff0e7cf523aa659c161afa739b9cf 100644 (file)
--- a/Makefile
+++ b/Makefile
@@ -23,7 +23,7 @@ EXTRA_INSTALLS+=$(DESTDIR)$(BINDIR)/iptables $(DESTDIR)$(BINDIR)/ip6tables $(DES
 # Sparc64 hack
 ifeq ($(shell uname -m),sparc64)
 # The kernel is 64-bit, even though userspace is 32.
-CFLAGS+=-DIPT_MIN_MATCH_ALIGN=8 -DIPT_MIN_ENTRY_ALIGN=8 -DKERNEL_64_USERSPACE_32
+CFLAGS+=-DIPT_MIN_ALIGN=8 -DKERNEL_64_USERSPACE_32
 endif
 
 ifndef IPT_LIBDIR
@@ -33,7 +33,7 @@ endif
 default: print-extensions all
 
 print-extensions:
-       @echo Extensions found: $(OPTIONALS)
+       @[ -n "$(OPTIONALS)" ] && echo Extensions found: $(OPTIONALS)
 
 iptables.o: iptables.c
        $(CC) $(CFLAGS) -DIPT_LIB_DIR=\"$(IPT_LIBDIR)\" -c -o $@ $<