FYI, Solaris doesn't have a setenv() call; must use putenv(), with a
different parameter style.

Sorry for the kludgy patch, but this probably should be handled by
autoconf anyway.

Thanks!
Matthew

diff -u main.cc~ main.cc
--- main.cc~    Tue Jul 25 10:44:39 2000
+++ main.cc     Mon Aug  7 09:26:10 2000
@@ -328,8 +328,11 @@
   /*
     prepare guile for heavy mem usage. 
    */
-  setenv ("GUILE_INIT_SEGMENT_SIZE_1", "4194304", 0);
-  setenv ("GUILE_MAX_SEGMENT_SIZE", "8388608", 0);
+  putenv ("GUILE_INIT_SEGMENT_SIZE_1=4194304");
+  putenv ("GUILE_MAX_SEGMENT_SIZE=8388608");
+
+//   setenv ("GUILE_INIT_SEGMENT_SIZE_1", "4194304", 0);
+//   setenv ("GUILE_MAX_SEGMENT_SIZE", "8388608", 0);
 
 #if KPATHSEA && HAVE_KPATHSEA_KPATHSEA_H
   /*


p.s. other than this, Lily builds like a charm under Solaris!

Reply via email to