changeset 34961:168c8697f9fc

build: Define HAVE_SETENV as 0 if not available The osdep/setenv.h header assumes HAVE_SETENV to be defined. Adjust configure to make the assumption true.
author al
date Sun, 29 Jul 2012 15:11:01 +0000
parents 3575219a9c4c
children 8446e92c7bc2
files configure
diffstat 1 files changed, 1 insertions(+), 1 deletions(-) [+]
line wrap: on
line diff
--- a/configure	Sun Jul 29 11:25:19 2012 +0000
+++ b/configure	Sun Jul 29 15:11:01 2012 +0000
@@ -3961,7 +3961,7 @@
 setenv=yes
 def_setenv='#define HAVE_SETENV 1'
 statement_check stdlib.h 'setenv("", "", 0)' ||
-    { setenv=no ; def_setenv='#undef HAVE_SETENV' ; }
+    { setenv=no ; def_setenv='#define HAVE_SETENV 0' ; }
 echores "$setenv"