From ad3d96f8b792149d4a623584f8b403d40bd60331 Mon Sep 17 00:00:00 2001 From: Eric Andersen Date: Mon, 14 Jan 2002 09:10:50 +0000 Subject: Patch from Brian Stafford to fixup support for Unix98 PTYs, and optionally exclude the older junk. --- Makefile | 10 ++++++++++ 1 file changed, 10 insertions(+) (limited to 'Makefile') diff --git a/Makefile b/Makefile index e58334aac..1490f0cc8 100644 --- a/Makefile +++ b/Makefile @@ -161,6 +161,16 @@ uClibc_config.h: Makefile Config else \ echo "#undef __UCLIBC_HAVE_LFS__" >> uClibc_config.h ; \ fi + @if [ "$(UNIX98PTY_ONLY)" = "true" ] ; then \ + echo "#define UNIX98PTY_ONLY 1" >> uClibc_config.h ; \ + else \ + echo "#undef UNIX98PTY_ONLY" >> uClibc_config.h ; \ + fi + @if [ "$(ASSUME_DEVPTS)" = "true" ] ; then \ + echo "#define ASSUME_DEVPTS 1" >> uClibc_config.h ; \ + else \ + echo "#undef ASSUME_DEVPTS" >> uClibc_config.h ; \ + fi subdirs: $(patsubst %, _dir_%, $(DIRS)) -- cgit v1.2.3