# [PATCH] Makefile: fix typo

1 messages from 2006-08-29 to 2006-08-29. Participants: Johannes Schindelin.
Thread: https://gitlist.dev/t/5427

## Johannes Schindelin, 2006-08-29 10:51

Subject: [PATCH] Makefile: fix typo
Message-ID: <Pine.LNX.4.63.0608291250460.28360@wbgn013.biozentrum.uni-wuerzburg.de>
URL: https://gitlist.dev/e/Pine.LNX.4.63.0608291250460.28360%40wbgn013.biozentrum.uni-wuerzburg.de

```

We checked NO_SETENV instead of NO_UNSETENV to decide if unsetenv
is available.

Signed-off-by: Johannes Schindelin <Johannes.Schindelin@gmx.de>
---
 Makefile |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)

diff --git a/Makefile b/Makefile
index 19d62ee..ff1ec6e 100644
--- a/Makefile
+++ b/Makefile
@@ -524,7 +524,7 @@ ifdef NO_SETENV
 	COMPAT_CFLAGS += -DNO_SETENV
 	COMPAT_OBJS += compat/setenv.o
 endif
-ifdef NO_SETENV
+ifdef NO_UNSETENV
 	COMPAT_CFLAGS += -DNO_UNSETENV
 	COMPAT_OBJS += compat/unsetenv.o
 endif
-- 
1.4.2.g0f6b-dirty

```
