Kaydet (Commit) 8460fac0 authored tarafından Miklos Vajna's avatar Miklos Vajna

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.

(cherry picked from commit ef122d99)

Conflicts:
	configure.ac

Change-Id: Ie53ad1b770e54eeb03513fa2a7cfc2f4ebe65a2b
üst 533958c0
...@@ -114,10 +114,9 @@ dnl =================================================================== ...@@ -114,10 +114,9 @@ dnl ===================================================================
AC_CANONICAL_HOST AC_CANONICAL_HOST
AC_MSG_CHECKING([for product name]) AC_MSG_CHECKING([for product name])
PRODUCTNAME="AC_PACKAGE_NAME"
if test "$enable_release_build" = "" -o "$enable_release_build" = "no"; then if test "$enable_release_build" = "" -o "$enable_release_build" = "no"; then
PRODUCTNAME=AC_PACKAGE_NAME"Dev" PRODUCTNAME="${PRODUCTNAME}Dev"
else
PRODUCTNAME="AC_PACKAGE_NAME"
fi fi
AC_MSG_RESULT([$PRODUCTNAME]) AC_MSG_RESULT([$PRODUCTNAME])
AC_SUBST(PRODUCTNAME) AC_SUBST(PRODUCTNAME)
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment