From: Felix Fietkau Date: Mon, 29 Mar 2010 03:38:40 +0000 (+0000) Subject: add a new helper macro to deal with conditional ./configure flags X-Git-Url: http://git.openwrt.org/?p=openwrt%2Fsvn-archive%2Farchive.git;a=commitdiff_plain;hb=70d4aff92615ac9bd44fbe360ff9170cedeb25f5 add a new helper macro to deal with conditional ./configure flags SVN-Revision: 20570 --- diff --git a/include/autotools.mk b/include/autotools.mk index e1535d0b16..c941a4949d 100644 --- a/include/autotools.mk +++ b/include/autotools.mk @@ -32,6 +32,7 @@ update_libtool_ucxx = \ ) \ $(call update_libtool_common) +autoconf_bool = $(patsubst %,$(if $($(1)),--enable,--disable)-%,$(2)) # prevent libtool from linking against host development libraries define libtool_fixup_libdir