[PATCH] Darwin-related fixes for Bonobo



This one is for Bonobo, which doesn't seem to have its own list. Patch
is for HEAD. Comments are in ChangeLogs. Please review.

-- 
Hans Petter Jansson | <hpj novell com>
Evolution Developer | http://hp.cl.no/
? libbonobo-darwin.patch
Index: ChangeLog
===================================================================
RCS file: /cvs/gnome/libbonobo/ChangeLog,v
retrieving revision 1.567
diff -u -p -r1.567 ChangeLog
--- ChangeLog	15 Jan 2005 13:19:43 -0000	1.567
+++ ChangeLog	28 Jan 2005 05:35:44 -0000
@@ -1,3 +1,10 @@
+2005-01-27  Hans Petter Jansson  <hpj novell com>
+
+	* configure.in: Add checks for Apple Darwin's way of getting
+	the environment from within a shared library. The results of these
+	tests are already used in the code, but seemingly, the tests themselves
+	were never added.
+
 2005-01-15  Gustavo J. A. M. Carneiro  <gjc gnome org>
 
 	* doc/activation-api/server-xml-reference.sgml: Document .server
Index: configure.in
===================================================================
RCS file: /cvs/gnome/libbonobo/configure.in,v
retrieving revision 1.152
diff -u -p -r1.152 configure.in
--- configure.in	6 Jan 2005 13:01:01 -0000	1.152
+++ configure.in	28 Jan 2005 05:35:44 -0000
@@ -131,6 +131,17 @@ fi
 
 #end checks for getaddrinfo
 
+# Checks for Apple Darwin
+
+AC_CHECK_FUNC(_NSGetEnviron, have_ns_getenviron=yes)
+if test x$have_ns_getenviron = xyes; then
+  AC_DEFINE(HAVE_NSGETENVIRON, 1, [whether we have _NSGetEnviron])
+fi
+AC_CHECK_HEADER(crt_externs.h, have_crt_externs=yes)
+if test x$have_crt_externs = xyes; then
+  AC_DEFINE(HAVE_CRT_EXTERNS_H, 1, [whether we have crt_externs.h])
+fi
+
 # glib-genmarshal
 AC_PATH_PROG(GLIB_GENMARSHAL, glib-genmarshal)
 


[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]