Use USE_WITH instead of USE_ENABLE helper as these configure options are
enabled/disabled using --with-package/--without-package according to
./configure --help and also indicated by the following warning:

configure: WARNING: unrecognized options: --enable-zlib,
--disable-readline, --disable-history

Signed-off-by: Tobias Klauser <k...@zhaw.ch>
---
 lib/libxml2/Makefile |    6 +++---
 1 files changed, 3 insertions(+), 3 deletions(-)

diff --git a/lib/libxml2/Makefile b/lib/libxml2/Makefile
index 391f4b3..9ed761c 100644
--- a/lib/libxml2/Makefile
+++ b/lib/libxml2/Makefile
@@ -2,9 +2,9 @@ VER = libxml2-2.7.4
 
 CONF_OPTS = \
        --without-python \
-       $(call USE_ENABLE,LIB_ZLIB,zlib) \
-       $(call USE_ENABLE,LIB_READLINE,readline) \
-       $(call USE_ENABLE,LIB_READLINE,history)
+       $(call USE_WITH,LIB_ZLIB,zlib) \
+       $(call USE_WITH,LIB_READLINE,readline) \
+       $(call USE_WITH,LIB_READLINE,history)
 
 include $(ROOTDIR)/tools/autotools.mk
 
-- 
1.7.0.4

_______________________________________________
uClinux-dev mailing list
uClinux-dev@uclinux.org
http://mailman.uclinux.org/mailman/listinfo/uclinux-dev
This message was resent by uclinux-dev@uclinux.org
To unsubscribe see:
http://mailman.uclinux.org/mailman/options/uclinux-dev

Reply via email to