Commit a672523c67884cf4c14933d168c77fad3524ab99

Authored by Perry Werneck
1 parent db82b321

Adding option to change the package description.

Showing 1 changed file with 3 additions and 1 deletions   Show diff stats
configure.ac
... ... @@ -78,7 +78,9 @@ dnl ---------------------------------------------------------------------------
78 78 dnl Version & customization
79 79 dnl ---------------------------------------------------------------------------
80 80  
81   -AC_SUBST(PACKAGE_DESCRIPTION,"IBM 3270 Terminal emulator")
  81 +AC_ARG_WITH([description], [AS_HELP_STRING([--with-description], [Application description])], [ app_cv_description="$withval" ],[ app_cv_description="IBM 3270 Terminal emulator" ])
  82 +AC_DEFINE_UNQUOTED(PACKAGE_DESCRIPTION,"$app_cv_description")
  83 +AC_SUBST(PACKAGE_DESCRIPTION,"$app_cv_description")
82 84  
83 85 app_vrs_major=$(echo $VERSION | cut -d. -f1)
84 86 app_vrs_minor=$(echo $VERSION | cut -d. -f2)
... ...