From 85d153002980ca1341b34681c2172bd00080b4ed Mon Sep 17 00:00:00 2001 From: Edward Hervey Date: Wed, 14 Oct 2009 08:40:11 +0200 Subject: [PATCH] m4/gst-args: Properly set the package name for git/pre-release/release https://bugzilla.gnome.org/show_bug.cgi?id=598248 --- m4/gst-args.m4 | 13 ++++++++----- 1 file changed, 8 insertions(+), 5 deletions(-) diff --git a/m4/gst-args.m4 b/m4/gst-args.m4 index dcd914c..8c58667 100644 --- a/m4/gst-args.m4 +++ b/m4/gst-args.m4 @@ -176,13 +176,16 @@ AC_DEFUN([AG_GST_ARG_WITH_PACKAGE_NAME], P=$PACKAGE_NAME fi - dnl default value - if test "x$GST_GIT" = "xyes" -o "x$GST_CVS" = "xyes" + if "x$PACKAGE_VERSION_NANO" = "x0" then - dnl nano >= 1 - GST_PACKAGE_NAME="$P git/prerelease" - else GST_PACKAGE_NAME="$P source release" + else + if "x$PACKAGE_VERSION_NANO" = "x1" + then + GST_PACKAGE_NAME="$P git" + else + GST_PACKAGE_NAME="$P prerelease" + fi fi ] ) -- 2.34.1