diff options
Diffstat (limited to 'buildlib')
-rw-r--r-- | buildlib/environment.mak.in | 2 | ||||
-rw-r--r-- | buildlib/makefile.in | 5 |
2 files changed, 7 insertions, 0 deletions
diff --git a/buildlib/environment.mak.in b/buildlib/environment.mak.in index d31e19385..43827d508 100644 --- a/buildlib/environment.mak.in +++ b/buildlib/environment.mak.in @@ -29,3 +29,5 @@ GPMLIB = @GPMLIB@ SLANGLIB = @SLANGLIB@ XPMLIB = @XPMLIB@ PTHREADLIB = @PTHREADLIB@ + +HAVE_C9X = @HAVE_C9X@ diff --git a/buildlib/makefile.in b/buildlib/makefile.in index 6e28f754d..7fceb9f4a 100644 --- a/buildlib/makefile.in +++ b/buildlib/makefile.in @@ -35,3 +35,8 @@ ifneq ($(words $(MISSING_DIRS)),0) else @echo > /dev/null endif +ifneq ($(HAVE_C9X),yes) + -@rm include/inttypes.h +else + @cp $(SRCDIR)/buildlib/inttypes.h.in include/inttypes.h +endif |