[PATCH] Darwin-related fixes for Bonobo

Hans Petter Jansson <[email protected]>
Newsgroups gmane.comp.gnome.orbit.general
Organization Novell, Inc.
Message-ID <[email protected]>
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 | <[email protected]>
Evolution Developer | http://hp.cl.no/

_______________________________________________
orbit-list mailing list
[email protected]
http://mail.gnome.org/mailman/listinfo/orbit-list
libbonobo-darwin.patch (text/x-patch, 1.5 KB)
? 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  <[email protected]>
+
+	* 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  <[email protected]>
 
 	* 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)
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.