Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/zabbix/zabbix.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMichael Veksler <Mihails.Vekslers@zabbix.com>2018-10-16 15:22:59 +0300
committerMichael Veksler <Mihails.Vekslers@zabbix.com>2018-10-16 15:22:59 +0300
commit818253271e4791edff7b0eb6018c60a0015dec1c (patch)
tree339898df4b6bb5f954a6b29a26e26520049c332c /Makefile.am
parent6bbde476b9844da24f0e11483ce530d4d7f14561 (diff)
....I..... [ZBX-14941] rollback to regular 'if'
Diffstat (limited to 'Makefile.am')
-rw-r--r--Makefile.am4
1 files changed, 2 insertions, 2 deletions
diff --git a/Makefile.am b/Makefile.am
index d37e25dc124..43f53b4ec86 100644
--- a/Makefile.am
+++ b/Makefile.am
@@ -29,11 +29,11 @@ dist-hook:
while read -r line; do \
pos=$$((pos+1)); \
case "$$line" in \
- "AM_COND_IF([ZBXCMOCKA]"*) fspos=$$pos; flag=1;; \
+ "if test -d tests;"*) fspos=$$pos; flag=1;; \
"AC_CONFIG_FILES"*) if [ 1 -eq "$$flag" ]; then flag=2; fi;; \
"tests/Makefile") if [ 2 -eq "$$flag" ]; then flag=3; fi;; \
"AC_DEFINE([HAVE_TESTS]"*) if [ 3 -eq "$$flag" ]; then flag=4; fi;; \
- "])") if [ 4 -eq "$$flag" ]; then \
+ "fi") if [ 4 -eq "$$flag" ]; then \
cat $(top_distdir)/configure.ac | sed -e "$${fspos},$${pos}d" > \
$(top_distdir)/configure.ac.new; break; fi;; \
esac \