From 8061e38403e95d03304107d615628519d6d5a9a4 Mon Sep 17 00:00:00 2001 From: Felix Fietkau Date: Sun, 25 Feb 2007 23:34:57 +0000 Subject: various configure related cleanups git-svn-id: svn://svn.openwrt.org/openwrt/trunk@6372 3c298f89-4303-0410-b956-a3cf2f4a3e73 --- package/ipsec-tools/Makefile | 21 +++++++++++---------- 1 file changed, 11 insertions(+), 10 deletions(-) (limited to 'package/ipsec-tools') diff --git a/package/ipsec-tools/Makefile b/package/ipsec-tools/Makefile index 5951649ade..67772f126c 100644 --- a/package/ipsec-tools/Makefile +++ b/package/ipsec-tools/Makefile @@ -31,15 +31,7 @@ define Package/ipsec-tools URL:=http://ipsec-tools.sourceforge.net/ endef -define Build/Configure - (cd $(PKG_BUILD_DIR); touch \ - configure.ac \ - aclocal.m4 \ - Makefile.in \ - config.h.in \ - configure \ - ); - $(call Build/Configure/Default, \ +CONFIGURE_ARGS += \ --enable-shared \ --enable-static \ --with-kernel-headers="$(LINUX_DIR)/include" \ @@ -48,8 +40,17 @@ define Build/Configure --without-libradius \ --without-libpam \ --enable-dpd \ - --enable-natt \ + --enable-natt + +define Build/Configure + (cd $(PKG_BUILD_DIR); touch \ + configure.ac \ + aclocal.m4 \ + Makefile.in \ + config.h.in \ + configure \ ); + $(call Build/Configure/Default) endef # override CFLAGS holding "-Werror" that break builds on compile warnings -- cgit v1.2.3