diff options
author | Arturo Espinosa <unammx@src.gnome.org> | 1998-02-11 09:39:33 +0800 |
---|---|---|
committer | Arturo Espinosa <unammx@src.gnome.org> | 1998-02-11 09:39:33 +0800 |
commit | 64a17767019dee34e7993ea65ca00120355c11c1 (patch) | |
tree | f1bc26fc6e7ee7767549244a8b3b7fa4099e04fa /macros | |
parent | 867d9158bca053090c8a815e163fa303fad6a4fb (diff) | |
download | gsoc2013-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')
-rw-r--r-- | macros/gnome.m4 | 34 |
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 |