First attempt to compile on a Solaris 10[1] machine:
http://www.stremler.net/temp/GST/try1.txt
My initial attempt to avoid the issue was to insert "#define _AVL_H"
-- the guard define in /usr/include/sys/avl.h -- in gstpriv.h, and
then compiling again...
This patch should fix the problem.
--- orig/configure.ac
+++ mod/configure.ac
@@ -92,6 +92,19 @@ dnl ------------------------------ C COM
AC_SYS_LARGEFILE
AC_C_INLINE
AC_C_RESTRICT
+
+dnl Test for broken solaris include file. Should be moved to gnulib maybe?
+AC_MSG_CHECKING([for broken sys/avl.h])
+AC_PREPROC_IFELSE([#include <sys/avl.h>
+ #ifndef _AVL_H
+ would be useless anyway :-(
+ #endif], [
+ AC_MSG_RESULT(yes)
+ AC_DEFINE(_AVL_H, 1,
+ [Define to 1 if, like Solaris, your system has a sys/avl.h header that
+pollutes the name space.])], [
+ AC_MSG_RESULT(no)])
+
GST_C_HIDDEN_VISIBILITY
GST_C_WARN_LONG_DOUBLE
GST_C_GOTO_VOID_P
Paolo
_______________________________________________
help-smalltalk mailing list
[email protected]
http://lists.gnu.org/mailman/listinfo/help-smalltalk