diff options
author | Julian Missig <julianm@src.gnome.org> | 2000-05-22 05:38:39 +0800 |
---|---|---|
committer | Julian Missig <julianm@src.gnome.org> | 2000-05-22 05:38:39 +0800 |
commit | 0ebe11060303e8c4add8f0e8d1d1bde1ec978b6b (patch) | |
tree | 2b9a890d1e3e6738788b8ce73fd9038b4d969559 | |
parent | 857af1bfa7c6ee4da8bd3a196932f76106923580 (diff) | |
download | gsoc2013-evolution-0ebe11060303e8c4add8f0e8d1d1bde1ec978b6b.tar.gz gsoc2013-evolution-0ebe11060303e8c4add8f0e8d1d1bde1ec978b6b.tar.zst gsoc2013-evolution-0ebe11060303e8c4add8f0e8d1d1bde1ec978b6b.zip |
Added gnomemm.m4 for proper gnomemm checking
svn path=/trunk/; revision=3149
-rw-r--r-- | macros/gnomemm.m4 | 21 |
1 files changed, 21 insertions, 0 deletions
diff --git a/macros/gnomemm.m4 b/macros/gnomemm.m4 new file mode 100644 index 0000000000..5276d7a710 --- /dev/null +++ b/macros/gnomemm.m4 @@ -0,0 +1,21 @@ + +dnl AM_PATH_GNOMEMM([ACTION-IF-FOUND [, ACTION-IF-NOT-FOUND [, MODULES]]]) +dnl Test to see if gnomemm is installed, and define GNOMEMM_CFLAGS, LIBS +dnl +AC_DEFUN(AM_PATH_GNOMEMM, +[dnl +dnl Get the cflags and libraries from the gnome-config gnomemm script +dnl +dnl Ensure gnome-config is available... +AC_PATH_PROG(GNOME_CONFIG, gnome-config, no) +AC_MSG_CHECKING(for GNOME-- library) +if test -z "`gnome-config gnomemm --cflags`"; then + AC_MSG_RESULT(no) +else + AC_MSG_RESULT(yes) + GNOMEMM_CFLAGS=`$GNOME_CONFIG gnomemm --cflags` + GNOMEMM_LIBS=`$GNOME_CONFIG gnomemm --libs` +fi +AC_SUBST(GNOMEMM_CFLAGS) +AC_SUBST(GNOMEMM_LIBS) +])
\ No newline at end of file |