소스 검색

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

SVN-Revision: 20570
Felix Fietkau 15 년 전
부모
커밋
e10df8d2b5
1개의 변경된 파일1개의 추가작업 그리고 0개의 파일을 삭제
  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