Skip to contentSkip to conversation

core: drop useless assignements to BISON and FLEX

PATCH New Yann E. MORIN 2 participants 2 messages Aug 18, 2018 – Aug 19, 2018

lore
Share & tools
lore
#0 lore raw

PATCH 1/1 core: drop useless assignements to BISON and FLEX

They were added back in 5432f26f0 (Adding Central config.cache options), supposedly to be able to cache the result of configure tests, but they were never, ever referenced anywhere in our code... Besides, we dropped the idea of getting a configure cache long ago now (it does not work)...

They are causing spurious error messages on some distros (e.g. Fedora) which use GNU's which (whatever package that comes from), while it is silent on other distros (e.g. Ubuntu) which use debianutils' which.

Drop them.

---
 package/Makefile.in | 2 --
 1 file changed, 2 deletions(-)
package/Makefile.in +0 -2
index f2962767cc..91b3e8f936 100644
@@ -219,8 +219,6 @@ TARGET_STRIP = /bin/true
 STRIPCMD = $(TARGET_STRIP)
 endif
 INSTALL := $(shell which install || type -p install)
-FLEX := $(shell which flex || type -p flex)
-BISON := $(shell which bison || type -p bison)
 UNZIP := $(shell which unzip || type -p unzip) -q
 
 APPLY_PATCHES = PATH=$(HOST_DIR)/bin:$$PATH support/scripts/apply-patches.sh $(if $(QUIET),-s)
Signature · 1 line
2.14.1
#1 lore raw

PATCH 1/1 core: drop useless assignements to BISON and FLEX

Quoted 11 lines
Quoted 1 line
Quoted 1 line
Quoted 1 line
Quoted 1 line

"Yann" == Yann E MORIN <[email protected]> writes:

They were added back in 5432f26f0 (Adding Central config.cache options), supposedly to be able to cache the result of configure tests, but they were never, ever referenced anywhere in our code... Besides, we dropped the idea of getting a configure cache long ago now (it does not work)...

They are causing spurious error messages on some distros (e.g. Fedora) which use GNU's which (whatever package that comes from), while it is silent on other distros (e.g. Ubuntu) which use debianutils' which.

Quoted 5 lines

Drop them.

Committed, thanks.

Signature · 1 line
Bye, Peter Korsgaard