glib build patch



Hi,

I needed this patch to build glib HEAD with autoconf 2.52.

The error was:
  aclibcharset.m4:27: error: m4_defn: undefined macro: _m4_divert_diversion
  ./aclocal.m4:3905: jm_GLIBC21 is expanded from...
  aclibcharset.m4:27: the top level

Laca

------patch follows------
Index: glib/aclibcharset.m4
===================================================================
RCS file: /sgnome/cvsroots/GNOME/glib/aclibcharset.m4,v
retrieving revision 1.1
diff -u -r1.1 aclibcharset.m4
--- glib/aclibcharset.m4	2001/09/27 02:49:04	1.1
+++ glib/aclibcharset.m4	2001/09/28 10:31:02
@@ -3,7 +3,7 @@
 
 dnl From Bruno Haible.
 
-AC_DEFUN(jm_LANGINFO_CODESET,
+AC_DEFUN([jm_LANGINFO_CODESET],
 [
   AC_CHECK_HEADERS(langinfo.h)
   AC_CHECK_FUNCS(nl_langinfo)
@@ -24,7 +24,7 @@
 # Test for the GNU C Library, version 2.1 or newer.
 # From Bruno Haible.
 
-AC_DEFUN(jm_GLIBC21,
+AC_DEFUN([jm_GLIBC21],
   [
     AC_CACHE_CHECK(whether we are using the GNU C Library 2.1 or newer,
       ac_cv_gnu_library_2_1,
------patch ends------




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