Commit 525fa0e40432c9ae69edc5a7c12479a6eb060d9d

Authored by Perry Werneck
1 parent cccd74cf

Fixing customized windows builds.

Showing 2 changed files with 7 additions and 2 deletions   Show diff stats
Makefile.in
... ... @@ -193,7 +193,7 @@ $(POTDIR)/%.pot: \
193 193 @$(MAKE) -C src/$(basename $(notdir $@)) $@
194 194  
195 195 $(POTDIR)/%.pot: \
196   - /usr/share/pw3270/pot/%.pot
  196 + @LIBRARY_POT_FILES@/%.pot
197 197  
198 198 @echo $(notdir $@) ...
199 199 @mkdir -p `dirname $@`
... ...
configure.ac
... ... @@ -175,7 +175,7 @@ AC_PATH_TOOL([DBUSBINDINGTOOL],[dbus-binding-tool],[no])
175 175 PKG_CHECK_EXISTS
176 176  
177 177 dnl ---------------------------------------------------------------------------
178   -dnl Version info
  178 +dnl Version & customization
179 179 dnl ---------------------------------------------------------------------------
180 180  
181 181 AC_SUBST(PACKAGE_DESCRIPTION,"3270 Emulator for gtk")
... ... @@ -203,6 +203,11 @@ AC_SUBST(PACKAGE_RELEASE,$app_cv_release)
203 203 AC_SUBST(PACKAGE_MAJOR_RELEASE,$app_rls_major)
204 204 AC_SUBST(PACKAGE_MINOR_RELEASE,$app_rls_minor)
205 205  
  206 +AC_ARG_WITH([source-locales], [AS_HELP_STRING([--with-source-locales], [Set path for lib3270 locale sources])], [ app_cv_source_locales="$withval" ],[ app_cv_source_locales="/usr/share/pw3270/pot" ])
  207 +
  208 +AC_DEFINE_UNQUOTED(LIBRARY_POT_FILES, $app_cv_source_locales)
  209 +AC_SUBST(LIBRARY_POT_FILES,$app_cv_source_locales)
  210 +
206 211 dnl ---------------------------------------------------------------------------
207 212 dnl Check for D-Bus
208 213 dnl ---------------------------------------------------------------------------
... ...