From d93f885fd0ecac92c9988b11de0ebb38c596cc32 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Fr=C3=A8re=20J=C3=A9r=C3=B4me?= Date: Tue, 3 Nov 2015 14:51:49 +0100 Subject: [PATCH] Remove unnecessary variable quotation Those variables are now correctly detected when defined in the parent makefile. --- Makefile.detect | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/Makefile.detect b/Makefile.detect index 83994c72..37dba2de 100644 --- a/Makefile.detect +++ b/Makefile.detect @@ -110,7 +110,7 @@ endif ######################################################################## # 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) endif @@ -118,7 +118,7 @@ ifeq ($(SEXP_USE_NTP_GETTIME),1) CPPFLAGS += -DSEXP_USE_NTPGETTIME 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) endif