Commit 9337c9dae2a8b316dbc21382429651f1eaa5f9e6
1 parent
7b3237f7
Exists in
master
Adding product name for windows rc file.
Showing
2 changed files
with
5 additions
and
1 deletions
Show diff stats
configure.ac
... | ... | @@ -247,6 +247,10 @@ fi |
247 | 247 | AC_SUBST(IPC3270_LIBS) |
248 | 248 | AC_SUBST(IPC3270_CFLAGS) |
249 | 249 | |
250 | +AC_ARG_WITH([product-name], [AS_HELP_STRING([--with-product-name], [Set product name])], [ app_cv_product="$withval" ],[ app_cv_product=`pkg-config --variable=product_name ipc3270` ]) | |
251 | +AC_DEFINE_UNQUOTED(PRODUCT_NAME, $app_cv_product) | |
252 | +AC_SUBST(PRODUCT_NAME,$app_cv_product) | |
253 | + | |
250 | 254 | dnl --------------------------------------------------------------------------- |
251 | 255 | dnl Check for pic |
252 | 256 | dnl --------------------------------------------------------------------------- | ... | ... |
src/native/windows/resources.rc.in
... | ... | @@ -15,7 +15,7 @@ BEGIN |
15 | 15 | VALUE "FileVersion", "@WIN32_VERSION@\0" |
16 | 16 | VALUE "LegalCopyright", "(C) 2019 Banco do Brasil S. A. All Rights Reserved\0" |
17 | 17 | VALUE "OriginalFilename", "lib3270-mono-bindings@DLLEXT@\0" |
18 | - VALUE "ProductName", "pw3270\0"" | |
18 | + VALUE "ProductName", "@PRODUCT_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 | ... | ... |