summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorPeter Kjellerstedt <pkj@axis.com>2008-02-29 15:47:06 +0000
committerPeter Kjellerstedt <pkj@axis.com>2008-02-29 15:47:06 +0000
commit4fa1159996900100f3a1cd3b43d7f0f027310cdb (patch)
tree285c74e41724a39bb7968675ed5b1dfe8d5c7f66
parente746d20ef536a73aea9964666c7d5f6d5c9465df (diff)
m4/gst-feature.m4: Make the comment before defines generated via AG_GST_CHECK_FEATURE look nicer.
Original commit message from CVS: * m4/gst-feature.m4: Make the comment before defines generated via AG_GST_CHECK_FEATURE look nicer.
-rw-r--r--ChangeLog6
-rw-r--r--m4/gst-feature.m45
2 files changed, 9 insertions, 2 deletions
diff --git a/ChangeLog b/ChangeLog
index 77dd26c..f07afb9 100644
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,3 +1,9 @@
+2008-02-29 Peter Kjellerstedt <pkj@axis.com>
+
+ * m4/gst-feature.m4:
+ Make the comment before defines generated via AG_GST_CHECK_FEATURE
+ look nicer.
+
2008-02-26 Jan Schmidt <jan.schmidt@sun.com>
* m4/Makefile.am:
diff --git a/m4/gst-feature.m4 b/m4/gst-feature.m4
index ed271b5..6777029 100644
--- a/m4/gst-feature.m4
+++ b/m4/gst-feature.m4
@@ -2,6 +2,7 @@ dnl Perform a check for a feature for GStreamer
dnl Richard Boulton <richard-alsa@tartarus.org>
dnl Thomas Vander Stichele <thomas@apestaart.org> added useful stuff
dnl Last modification: 25/06/2001
+dnl
dnl AG_GST_CHECK_FEATURE(FEATURE-NAME, FEATURE-DESCRIPTION,
dnl DEPENDENT-PLUGINS, TEST-FOR-FEATURE,
dnl DISABLE-BY-DEFAULT, ACTION-IF-USE, ACTION-IF-NOTUSE)
@@ -18,7 +19,7 @@ dnl whether the feature is to be used.
dnl Thomas changed this, so that when USE_<FEATURE-NAME> was already set
dnl to no, then it stays that way.
dnl
-dnl The macro will call AM_CONDITIONAL(USE_<<FEATURE-NAME>, ...) to allow
+dnl The macro will call AM_CONDITIONAL(USE_<FEATURE-NAME>, ...) to allow
dnl the feature to control what is built in Makefile.ams. If you want
dnl additional actions resulting from the test, you can add them with the
dnl ACTION-IF-USE and ACTION-IF-NOTUSE parameters.
@@ -109,7 +110,7 @@ if test x$USE_[$1] = xyes; then
if test "x$3" != "x"; then
GST_PLUGINS_YES="\t[$3]\n$GST_PLUGINS_YES"
fi
- AC_DEFINE(HAVE_[$1], , [support for features: $3])
+ AC_DEFINE(HAVE_[$1], , [Define to enable $2]ifelse($3,,, [ (used by $3)]).)
else
ifelse([$3], , :, [AC_MSG_NOTICE(*** These plugins will not be built: [$3])])
if test "x$3" != "x"; then