aboutsummaryrefslogtreecommitdiffstats
path: root/macros/gnome.m4
diff options
context:
space:
mode:
authorArturo Espinosa <unammx@src.gnome.org>1998-02-11 09:39:33 +0800
committerArturo Espinosa <unammx@src.gnome.org>1998-02-11 09:39:33 +0800
commit64a17767019dee34e7993ea65ca00120355c11c1 (patch)
treef1bc26fc6e7ee7767549244a8b3b7fa4099e04fa /macros/gnome.m4
parent867d9158bca053090c8a815e163fa303fad6a4fb (diff)
downloadgsoc2013-evolution-64a17767019dee34e7993ea65ca00120355c11c1.tar
gsoc2013-evolution-64a17767019dee34e7993ea65ca00120355c11c1.tar.gz
gsoc2013-evolution-64a17767019dee34e7993ea65ca00120355c11c1.tar.bz2
gsoc2013-evolution-64a17767019dee34e7993ea65ca00120355c11c1.tar.lz
gsoc2013-evolution-64a17767019dee34e7993ea65ca00120355c11c1.tar.xz
gsoc2013-evolution-64a17767019dee34e7993ea65ca00120355c11c1.tar.zst
gsoc2013-evolution-64a17767019dee34e7993ea65ca00120355c11c1.zip
Gnome Core updates
svn path=/trunk/; revision=13
Diffstat (limited to 'macros/gnome.m4')
-rw-r--r--macros/gnome.m434
1 files changed, 34 insertions, 0 deletions
diff --git a/macros/gnome.m4 b/macros/gnome.m4
index 08e2943280..92d97cfae7 100644
--- a/macros/gnome.m4
+++ b/macros/gnome.m4
@@ -5,3 +5,37 @@ AC_DEFUN([GNOME_CHECK_GNOME],
AC_MSG_ERROR(Gnome libraries not found)],[
"$GTK_LIBS $x_libs"])
])
+
+AC_DEFUN([GNOME_INIT],
+[
+ AC_SUBST(GNOME_LIBS)
+ AC_SUBST(GNOMEUI_LIBS)
+ AC_SUBST(GTKXMHTML_LIBS)
+
+ gnome_prefix=$prefix/lib
+ AC_ARG_WITH(gnome-includes,
+ [--with-gnome-includes Specify location of GNOME headers],[
+ CFLAGS="$CFLAGS -I$withval"
+ ])
+
+ AC_ARG_WITH(gnome-libs,
+ [--with-gnome-libs Specify location of GNOME libs],[
+ LDFLAGS="$LDFLAGS -L$withval"
+ gnome_prefix=$withval
+ ])
+
+ AC_ARG_WITH(gnome,
+ [--with-gnome Specify prefix for GNOME files],[
+ LDFLAGS="$LDFLAGS -L$withval/lib"
+ CFLAGS="$CFLAGS -I$withval/include"
+ gnome_prefix=$withval/lib
+ ])
+
+
+ if test -e $gnome_prefix/gnomeConf.sh; then
+ AC_MSG_CHECKING(Loading gnomeConf.sh values)
+ . $gnome_prefix/gnomeConf.sh
+ else
+ AC_MSG_ERROR(Could not find the gnomeConf.sh file that is generated by gnome-libs install)
+ fi
+]) \ No newline at end of file