aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorJulian Missig <julianm@src.gnome.org>2000-05-22 05:38:39 +0800
committerJulian Missig <julianm@src.gnome.org>2000-05-22 05:38:39 +0800
commit0ebe11060303e8c4add8f0e8d1d1bde1ec978b6b (patch)
tree2b9a890d1e3e6738788b8ce73fd9038b4d969559
parent857af1bfa7c6ee4da8bd3a196932f76106923580 (diff)
downloadgsoc2013-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.m421
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
class='insertions'>+4 * Adopt.bf2012-12-131-1/+1 * Give up maintainership on devel/pcremm2012-12-131-1/+1 * Fix pcre CONFIGURE_ARGS and add plist files for pcre32mm2012-12-112-1/+6 * Update PCRE to 8.32mm2012-12-113-7/+37 * Always build with JIT supportmm2012-09-171-5/+2 * Fix libedit dependency to >= 803000mm2012-07-181-2/+2 * Update to 8.31mm2012-07-184-146/+13 * Add patch for exim bug #1236 (vendor svn revision 963)mm2012-04-282-1/+26 * Additional autotools fix for building WITH_LIBEDITmm2012-02-171-1/+2 * Enable build of libpcre16mm2012-02-162-1/+8 * Fix build with WITH_LIBEDITmm2012-02-151-1/+3 * Update PCRE to 8.30mm2012-02-145-58/+193 * Add patch to fix upstream bug #1187mm2012-01-082-0/+35 * Update to 8.21mm2011-12-212-3/+3 * - Remove WITH_FBSD10_FIX, is no longer neededmiwi2011-11-091-1/+0 * Disable JIT on sparc64.mm2011-11-021-1/+1 * Apply FreeBSD 10 workaround for some high profile ports toerwin2011-10-271-0/+1 * Update to 8.20mm2011-10-263-41/+26 * Add patch for upstream bug #1136 (upstream SVN changeset 661)mm2011-08-222-0/+30 * Update to 8.13mm2011-08-172-3/+3 * - Add LICENSE knob(s)mm2011-03-231-0/+3 * Update to 8.12mm2011-01-172-3/+3 * - Update to 8.11mm2010-12-292-4/+3 * Over to new volunteer.linimon2010-12-281-1/+1 * Reset krion@FreeBSD.org due to 6 months of inactivity and maintainer-linimon2010-12-281-1/+1 * Hide a sed line.kwm2010-10-291-1/+3 * Update to 8.10mm2010-08-062-4/+4 * - Update to 8.02mm2010-04-212-4/+4 * Update to 8.00krion2009-10-223-4/+5