On Tue, Apr 27, 2010 at 12:09:56PM -0500, DRC wrote:
> I can no longer build the trunk on OS X Snow Leopard.  When running
> autoreconf -fiv, I get:
> 
> configure.ac:80: error: possibly undefined macro: AC_DEFINE
>       If this token and others are legitimate, please use m4_pattern_allow.
>       See the Autoconf documentation.
> 
> This is using Autoconf 2.61, which is installed with XCode.

That's weird. AC_DEFINE is used in common/jpeg/configure.ac many times
and everything is OK. Would it be possible to test attached patch,
please?

Regards, Adam

-- 
Adam Tkac, Red Hat, Inc.
Index: configure.ac
===================================================================
--- configure.ac        (revision 4048)
+++ configure.ac        (working copy)
@@ -77,7 +77,7 @@
 GNUTLS_LIBS=
 if test "$enable_gnutls" = yes; then
        PKG_CHECK_MODULES([gnutls], [gnutls >= 1.0.0],
-               [AC_DEFINE(HAVE_GNUTLS, 1, [GNUTLS available])], [])
+               [AC_DEFINE([HAVE_GNUTLS], 1, [GNUTLS available])], [])
 fi
 AC_SUBST([GNUTLS_CFLAGS], ["$gnutls_CFLAGS"])
 AC_SUBST([GNUTLS_LIBS], ["$gnutls_LIBS"])
------------------------------------------------------------------------------
_______________________________________________
Tigervnc-devel mailing list
Tigervnc-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/tigervnc-devel

Reply via email to