From a672523c67884cf4c14933d168c77fad3524ab99 Mon Sep 17 00:00:00 2001 From: Perry Werneck Date: Wed, 11 Sep 2019 11:10:42 -0300 Subject: [PATCH] Adding option to change the package description. --- configure.ac | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/configure.ac b/configure.ac index d1bda15..dbfb03a 100644 --- a/configure.ac +++ b/configure.ac @@ -78,7 +78,9 @@ dnl --------------------------------------------------------------------------- dnl Version & customization dnl --------------------------------------------------------------------------- -AC_SUBST(PACKAGE_DESCRIPTION,"IBM 3270 Terminal emulator") +AC_ARG_WITH([description], [AS_HELP_STRING([--with-description], [Application description])], [ app_cv_description="$withval" ],[ app_cv_description="IBM 3270 Terminal emulator" ]) +AC_DEFINE_UNQUOTED(PACKAGE_DESCRIPTION,"$app_cv_description") +AC_SUBST(PACKAGE_DESCRIPTION,"$app_cv_description") app_vrs_major=$(echo $VERSION | cut -d. -f1) app_vrs_minor=$(echo $VERSION | cut -d. -f2) -- libgit2 0.21.2