Commit c198fb15be311ceaca9dfc336cd1a3cbe21d25f4
1 parent
acf296a7
Exists in
master
and in
3 other branches
Adding "ProductName" configuration for windows.
Showing
2 changed files
with
6 additions
and
1 deletions
Show diff stats
configure.ac
... | ... | @@ -161,6 +161,11 @@ dnl --------------------------------------------------------------------------- |
161 | 161 | dnl Version info |
162 | 162 | dnl --------------------------------------------------------------------------- |
163 | 163 | |
164 | +AC_ARG_WITH([product-name], [AS_HELP_STRING([--with-product-name], [Set product name])], [ app_cv_product="$withval" ],[ app_cv_product="pw3270" ]) | |
165 | + | |
166 | +AC_DEFINE_UNQUOTED(PRODUCT_NAME, $app_cv_product) | |
167 | +AC_SUBST(PRODUCT_NAME,$app_cv_product) | |
168 | + | |
164 | 169 | AC_SUBST(PACKAGE_DESCRIPTION,"3270 C Access Library") |
165 | 170 | |
166 | 171 | app_vrs_major=$(echo $VERSION | cut -d. -f1) | ... | ... |
src/core/windows/resources.rc.in
... | ... | @@ -15,7 +15,7 @@ BEGIN |
15 | 15 | VALUE "FileVersion", "@WIN32_VERSION@\0" |
16 | 16 | VALUE "LegalCopyright", "(C) 2017 Banco do Brasil S/A. All Rights Reserved\0" |
17 | 17 | VALUE "OriginalFilename", "@PACKAGE_TARNAME@@DLLEXT@\0" |
18 | - VALUE "ProductName", "@PACKAGE_NAME@_NAME@\0"" | |
18 | + VALUE "ProductName", "@PRODUCT_NAME@_NAME@\0"" | |
19 | 19 | VALUE "ProductVersion", "@PACKAGE_MAJOR_VERSION@.@PACKAGE_MINOR_VERSION@.@PACKAGE_MAJOR_RELEASE@.@PACKAGE_MINOR_RELEASE@\0" |
20 | 20 | END |
21 | 21 | END | ... | ... |