more define fixes
authorThomas Vander Stichele <thomas@apestaart.org>
Sun, 16 Oct 2005 09:44:04 +0000 (09:44 +0000)
committerThomas Vander Stichele <thomas@apestaart.org>
Sun, 16 Oct 2005 09:44:04 +0000 (09:44 +0000)
Original commit message from CVS:
more define fixes

check/gst-libs/controller.c
check/gst/gstplugin.c
configure.ac
tests/check/gst/gstplugin.c
tests/check/libs/controller.c

index affeec5..cd83e2b 100644 (file)
@@ -208,7 +208,7 @@ GST_PLUGIN_DEFINE_STATIC (GST_VERSION_MAJOR,
     GST_VERSION_MINOR,
     "gst-test",
     "controller test plugin - several unit test support elements",
-    plugin_init, VERSION, GST_LICENSE, GST_PACKAGE, GST_ORIGIN);
+    plugin_init, VERSION, GST_LICENSE, GST_PACKAGE_NAME, GST_PACKAGE_ORIGIN);
 
 /*
 static void __attribute__ ((constructor))
index 7278069..8362dfd 100644 (file)
@@ -40,8 +40,8 @@ static GstPluginDesc plugin_desc = {
   VERSION,
   GST_LICENSE,
   PACKAGE,
-  GST_PACKAGE,
-  GST_ORIGIN,
+  GST_PACKAGE_NAME,
+  GST_PACKAGE_ORIGIN,
 
   GST_PADDING_INIT
 };
@@ -150,8 +150,8 @@ GST_START_TEST (test_find_plugin)
   fail_unless_equals_string (plugin->desc.version, VERSION);
   fail_unless_equals_string (plugin->desc.license, "LGPL");
   fail_unless_equals_string (plugin->desc.source, "gstreamer");
-  fail_unless_equals_string (plugin->desc.package, GST_PACKAGE);
-  fail_unless_equals_string (plugin->desc.origin, GST_ORIGIN);
+  fail_unless_equals_string (plugin->desc.package, GST_PACKAGE_NAME);
+  fail_unless_equals_string (plugin->desc.origin, GST_PACKAGE_ORIGIN);
 
   gst_object_unref (plugin);
 }
index 7ed2016..8dc6e97 100644 (file)
@@ -405,7 +405,7 @@ dnl *** FIXME: name this part
 
 dnl set license and copyright notice
 GST_LICENSE="LGPL"
-AC_DEFINE(GST_LICENSE, "$GST_LICENSE", [GStreamer license])
+AC_DEFINE_UNQUOTED(GST_LICENSE, "$GST_LICENSE", [GStreamer license])
 AC_SUBST(GST_LICENSE)
 
 dnl define LIBDIR so we can inform people where we live
index 7278069..8362dfd 100644 (file)
@@ -40,8 +40,8 @@ static GstPluginDesc plugin_desc = {
   VERSION,
   GST_LICENSE,
   PACKAGE,
-  GST_PACKAGE,
-  GST_ORIGIN,
+  GST_PACKAGE_NAME,
+  GST_PACKAGE_ORIGIN,
 
   GST_PADDING_INIT
 };
@@ -150,8 +150,8 @@ GST_START_TEST (test_find_plugin)
   fail_unless_equals_string (plugin->desc.version, VERSION);
   fail_unless_equals_string (plugin->desc.license, "LGPL");
   fail_unless_equals_string (plugin->desc.source, "gstreamer");
-  fail_unless_equals_string (plugin->desc.package, GST_PACKAGE);
-  fail_unless_equals_string (plugin->desc.origin, GST_ORIGIN);
+  fail_unless_equals_string (plugin->desc.package, GST_PACKAGE_NAME);
+  fail_unless_equals_string (plugin->desc.origin, GST_PACKAGE_ORIGIN);
 
   gst_object_unref (plugin);
 }
index affeec5..cd83e2b 100644 (file)
@@ -208,7 +208,7 @@ GST_PLUGIN_DEFINE_STATIC (GST_VERSION_MAJOR,
     GST_VERSION_MINOR,
     "gst-test",
     "controller test plugin - several unit test support elements",
-    plugin_init, VERSION, GST_LICENSE, GST_PACKAGE, GST_ORIGIN);
+    plugin_init, VERSION, GST_LICENSE, GST_PACKAGE_NAME, GST_PACKAGE_ORIGIN);
 
 /*
 static void __attribute__ ((constructor))