aboutsummaryrefslogtreecommitdiffstats
path: root/core
diff options
context:
space:
mode:
authorLoïc Hoguin <[email protected]>2015-06-05 12:42:59 +0300
committerLoïc Hoguin <[email protected]>2015-06-05 12:42:59 +0300
commitc2341961decf2acbb435ee5dd1bd430571b595e9 (patch)
treead12abe4917c500417c16443130eccde3a4583fd /core
parent3aa4ab828e7a6a85ee841d6ecf5443c7d41e6d6d (diff)
downloaderlang.mk-c2341961decf2acbb435ee5dd1bd430571b595e9.tar.gz
erlang.mk-c2341961decf2acbb435ee5dd1bd430571b595e9.tar.bz2
erlang.mk-c2341961decf2acbb435ee5dd1bd430571b595e9.zip
Better compatibility with autoconf projects
Diffstat (limited to 'core')
-rw-r--r--core/deps.mk4
1 files changed, 2 insertions, 2 deletions
diff --git a/core/deps.mk b/core/deps.mk
index 4fd8a1f..b8027e1 100644
--- a/core/deps.mk
+++ b/core/deps.mk
@@ -493,9 +493,9 @@ else
endif
endif
endif
- @if [ -f $(DEPS_DIR)/$(1)/configure.ac ]; then \
+ @if [ -f $(DEPS_DIR)/$(1)/configure.ac -o -f $(DEPS_DIR)/$(1)/configure.in ]; then \
echo " AUTO " $(1); \
- cd $(DEPS_DIR)/$(1) && autoreconf -vif; \
+ cd $(DEPS_DIR)/$(1) && autoreconf -Wall -vif -I m4; \
fi
-@if [ -f $(DEPS_DIR)/$(1)/configure ]; then \
echo " CONF " $(1); \