Remove unnecessary variable quotation

Those variables are now correctly detected when defined in the parent makefile.
This commit is contained in:
Frère Jérôme 2015-11-03 14:51:49 +01:00
parent 3992f14101
commit d93f885fd0

View file

@ -110,7 +110,7 @@ endif
######################################################################## ########################################################################
# Check for headers (who needs autoconf?) # Check for headers (who needs autoconf?)
ifndef $(SEXP_USE_NTP_GETTIME) ifndef SEXP_USE_NTP_GETTIME
SEXP_USE_NTP_GETTIME := $(shell echo "main(){struct ntptimeval n; ntp_gettime(&n);}" | gcc -fsyntax-only -include sys/timex.h -xc - >/dev/null 2>/dev/null && echo 1 || echo 0) SEXP_USE_NTP_GETTIME := $(shell echo "main(){struct ntptimeval n; ntp_gettime(&n);}" | gcc -fsyntax-only -include sys/timex.h -xc - >/dev/null 2>/dev/null && echo 1 || echo 0)
endif endif
@ -118,7 +118,7 @@ ifeq ($(SEXP_USE_NTP_GETTIME),1)
CPPFLAGS += -DSEXP_USE_NTPGETTIME CPPFLAGS += -DSEXP_USE_NTPGETTIME
endif endif
ifndef $(SEXP_USE_INTTYPES) ifndef SEXP_USE_INTTYPES
SEXP_USE_INTTYPES := $(shell echo "main(){int_least8_t x;}" | gcc -fsyntax-only -include inttypes.h -xc - >/dev/null 2>/dev/null && echo 1 || echo 0) SEXP_USE_INTTYPES := $(shell echo "main(){int_least8_t x;}" | gcc -fsyntax-only -include inttypes.h -xc - >/dev/null 2>/dev/null && echo 1 || echo 0)
endif endif