summaryrefslogtreecommitdiff
blob: 6c471e049be2500bf82fd7c51fed932a6c1899b9 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
--- root/aclocal.m4.old	2006-10-21 18:51:30.000000000 +0200
+++ aclocal.m4	2006-10-21 20:48:07.000000000 +0200
@@ -495,8 +495,8 @@
 	AC_MSG_NOTICE([     not building text-mode ... requires ncurses library])
 elif test "$have_panel" = "no"; then
 	AC_MSG_NOTICE([     not building text-mode ... requires panel library])
-elif test "$have_ha_glib" = "no"; then
-	AC_MSG_NOTICE([     not building text-mode ... requires $ha_glib library])
+#elif test "$have_ha_glib" = "no"; then
+#	AC_MSG_NOTICE([     not building text-mode ... requires $ha_glib library])
 elif test "$have_math" = "no"; then
 	AC_MSG_NOTICE([     not building text-mode ... requires math library])
 else
@@ -920,7 +920,16 @@
 	fi
 fi
 
+ha_glib=glib
+have_ha_glib=$have_glib
+HA_GLIB_CPPFLAGS=$GLIB_CPPFLAGS
+HA_GLIB_LIBS=$GLIB_LIBS
+
 if test "x$no_glib2" = x; then
+	ha_glib=glib2
+	have_ha_glib=$have_glib2
+	HA_GLIB_CPPFLAGS=$GLIB2_CPPFLAGS
+	HA_GLIB_LIBS=$GLIB2_LIBS
 	AC_MSG_RESULT([yes])
 	ifelse([$2], , :, [$2])
 else
@@ -1286,10 +1295,10 @@
 		   [ifelse([$3], , :, [$3])])
 fi
 
-ha_glib=glib
-have_ha_glib=$have_glib
-HA_GLIB_CPPFLAGS=$GLIB_CPPFLAGS
-HA_GLIB_LIBS=$GLIB_LIBS
+#ha_glib=glib
+#have_ha_glib=$have_glib
+#HA_GLIB_CPPFLAGS=$GLIB_CPPFLAGS
+#HA_GLIB_LIBS=$GLIB_LIBS
 
 if test "$have_ha_version" = "yes"; then
 	if test -d /usr/include/heartbeat -a	\