Merge pull request #289 from frerejerome/patch-1

Remove unnecessary variable referencing
This commit is contained in:
Alex Shinn 2015-11-04 08:23:22 +09:00
commit ac3ae13bcd

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