add a new helper macro to deal with conditional ./configure flags

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@20570 3c298f89-4303-0410-b956-a3cf2f4a3e73
master
Felix Fietkau 2010-03-29 03:38:40 +00:00
parent 62c5734bb4
commit a2ec87dfec
1 changed files with 1 additions and 0 deletions

View File

@ -32,6 +32,7 @@ update_libtool_ucxx = \
) \ ) \
$(call update_libtool_common) $(call update_libtool_common)
autoconf_bool = $(patsubst %,$(if $($(1)),--enable,--disable)-%,$(2))
# prevent libtool from linking against host development libraries # prevent libtool from linking against host development libraries
define libtool_fixup_libdir define libtool_fixup_libdir