Explorar el Código

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

SVN-Revision: 20570
Felix Fietkau hace 15 años
padre
commit
e10df8d2b5
Se han modificado 1 ficheros con 1 adiciones y 0 borrados
  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