Kaynağa Gözat

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

SVN-Revision: 20570
Felix Fietkau 15 yıl önce
ebeveyn
işleme
e10df8d2b5
1 değiştirilmiş dosya ile 1 ekleme ve 0 silme
  1. 1 0
      include/autotools.mk

+ 1 - 0
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