[Mono-bugs] [Bug 74628][Cos] New - PKG_CHECK_MODULES macro not available in Gnu Aclocal

bugzilla-daemon@bugzilla.ximian.com bugzilla-daemon@bugzilla.ximian.com
Fri, 15 Apr 2005 17:59:03 -0400 (EDT)


Please do not reply to this email- if you want to comment on the bug, go to the
URL shown below and enter your comments there.

Changed by flashdict@gmail.com.

http://bugzilla.ximian.com/show_bug.cgi?id=74628

--- shadow/74628	2005-04-15 17:59:03.000000000 -0400
+++ shadow/74628.tmp.17814	2005-04-15 17:59:03.000000000 -0400
@@ -0,0 +1,38 @@
+Bug#: 74628
+Product: Mono Tasks
+Version: 0%
+OS: other
+OS Details: 
+Status: NEW   
+Resolution: 
+Severity: 
+Priority: Cosmetic
+Component: Build
+AssignedTo: mono-bugs@ximian.com                            
+ReportedBy: flashdict@gmail.com               
+QAContact: mono-bugs@ximian.com
+TargetMilestone: ---
+URL: 
+Cc: 
+Summary: PKG_CHECK_MODULES macro  not available in Gnu Aclocal
+
+The FreeBSD port of the Gnu configuration tools (aclocal, automake, etc)
+doesn't contain the aclocal macro PKG_CHECK_MODULES[].  This caused
+configure to break on FreeBSD after autogen.  To that end I went and
+downloaded and installed the latest versions of these tools from gnu.org. 
+I was surprised to find that the latest official Gnu version of aclocal
+(1.9) doesn't give the macro either.  I finally had to copy pkg.m4 from the
+freebsd pkg-config into the gnu-tools area to get things to work.  (BSD has
+its own, highly customized versions of automake, autoconf, and aclocal
+which aren't compatible at all with gnu, but it _does_ define the macro.)  
+
+So, the point is, I don't think that using the macro, PKG_CHECK_MODULES in
+configure is going to be as portable as might be preferred.  I don't have a
+linux box, but if Linux uses straight-up Gnu conf tools, then it's not
+there.  Cygwin's conf tools, however, _do_ define the macro.  Boggle.  
+
+Perhaps there's a more portable way to test for glib2, or perhaps this
+isn't a problem.  I'm guessing that Novell linux does provide the macro
+with their aclocal, or this would have shown up a long time ago?
+
+FWIW.