changeset 181:8b17ea9fd17b

added comments on how to compile with glib-1.2
author meillo@marmaro.de
date Wed, 14 Jul 2010 17:37:36 +0200
parents 1472a6a73b1c
children 0976977ccc52
files INSTALL configure configure.ac
diffstat 3 files changed, 6 insertions(+), 1 deletions(-) [+]
line wrap: on
line diff
--- a/INSTALL	Wed Jul 14 17:10:28 2010 +0200
+++ b/INSTALL	Wed Jul 14 17:37:36 2010 +0200
@@ -6,7 +6,8 @@
 -------------------------
 
 To compile masqmail you need glib (>= 1.2) (http://www.gtk.org). Your
-distribution probably provides it.
+distribution probably provides it. Glib-2.0 works out of the box, for
+glib-1.2, you need to adjust configure.ac. See the comment in there.
 
 You need a user and a group for masqmail to run. If
 
--- a/configure	Wed Jul 14 17:10:28 2010 +0200
+++ b/configure	Wed Jul 14 17:37:36 2010 +0200
@@ -4450,6 +4450,7 @@
 
 
 
+
 # Check whether --enable-resolver was given.
 if test "${enable_resolver+set}" = set; then :
   enableval=$enable_resolver; if test "$enable_resolver" != 'no'; then
--- a/configure.ac	Wed Jul 14 17:10:28 2010 +0200
+++ b/configure.ac	Wed Jul 14 17:37:36 2010 +0200
@@ -17,6 +17,9 @@
 AC_PROG_RANLIB
 
 PKG_CHECK_MODULES(GLIB, glib-2.0)
+dnl # use the next line to use glib-1.2
+dnl PKG_CHECK_MODULES(GLIB, glib)
+
 AC_SUBST(GLIB_LIBS)
 AC_SUBST(GLIB_CFLAGS)