[Libreoffice-commits] core.git: configure.ac
Miklos Vajna
vmiklos at collabora.co.uk
Thu Nov 12 00:50:40 PST 2015
configure.ac | 5 ++---
1 file changed, 2 insertions(+), 3 deletions(-)
New commits:
commit ef122d992635acb3b1e41ed5f89431d0e17f6cf6
Author: Miklos Vajna <vmiklos at collabora.co.uk>
Date: Thu Nov 12 09:47:58 2015 +0100
configure: avoid empty PRODUCTNAME when AC_PACKAGE_NAME has to be quoted
E.g. when AC_PACKAGE_NAME contains spaces, PRODUCTNAME was set to empty.
Change-Id: Ie53ad1b770e54eeb03513fa2a7cfc2f4ebe65a2b
diff --git a/configure.ac b/configure.ac
index 5d30ec4..408abd52 100644
--- a/configure.ac
+++ b/configure.ac
@@ -152,10 +152,9 @@ dnl ===================================================================
AC_CANONICAL_HOST
AC_MSG_CHECKING([for product name])
+PRODUCTNAME="AC_PACKAGE_NAME"
if test "$enable_release_build" = "" -o "$enable_release_build" = "no"; then
- PRODUCTNAME=AC_PACKAGE_NAME"Dev"
-else
- PRODUCTNAME=AC_PACKAGE_NAME
+ PRODUCTNAME="${PRODUCTNAME}Dev"
fi
AC_MSG_RESULT([$PRODUCTNAME])
AC_SUBST(PRODUCTNAME)
More information about the Libreoffice-commits
mailing list