warn in error cases
authorThomas Vander Stichele <thomas@apestaart.org>
Sun, 16 Oct 2005 16:09:46 +0000 (16:09 +0000)
committerThomas Vander Stichele <thomas@apestaart.org>
Sun, 16 Oct 2005 16:09:46 +0000 (16:09 +0000)
Original commit message from CVS:
warn in error cases

ChangeLog
m4/gst-glib2.m4

index 3c826af..b95e28e 100644 (file)
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,5 +1,10 @@
 2005-10-16  Thomas Vander Stichele  <thomas at apestaart dot org>
 
+       * m4/gst-glib2.m4:
+         update, warn in error cases
+
+2005-10-16  Thomas Vander Stichele  <thomas at apestaart dot org>
+
        * m4/gst-error.m4:
          add GST_SET_DEFAULT_LEVEL
 
index 1aa15e4..df64968 100644 (file)
@@ -4,10 +4,12 @@ dnl GST_GLIB_CHECK([minimum-version-required])
 
 AC_DEFUN([GST_GLIB_CHECK],
 [
-  AC_REQUIRE([AS_SCRUB_INCLUDE])
-
   dnl Minimum required version of GLib
   GLIB_REQ=[$1]
+  if test "x$GLIB_REQ" = "x"
+  then
+    AC_MSG_ERROR([Please specify a required version for [GST_GLIB_CHECK]])
+  fi
   AC_SUBST(GLIB_REQ)
 
   dnl Check for glib with everything