Commit 53399ab537d95f6af604b163a0f101a674fd27be

Authored by perry.werneck@gmail.com
1 parent f24e7ae3

Iniciando ajuste para que o suporte a macros também funcione no ooRexx antigo

configure.ac
... ... @@ -358,6 +358,8 @@ if test "$app_cv_rexx" == "yes"; then
358 358 if test -z "${REXXCONFIG}"; then
359 359 AC_MSG_NOTICE([Program oorexx-config not found. Use --with-rexx-config=path to specify absolute path to the oorexx-config tool.])
360 360 app_cv_rexx="no"
  361 + else
  362 + AC_CHECK_HEADER(oorexxapi.h, AC_DEFINE(HAVE_OOREXXAPI_H))
361 363 fi
362 364 fi
363 365  
... ...
po/pt_BR.po
... ... @@ -5,7 +5,7 @@ msgid ""
5 5 msgstr ""
6 6 "Project-Id-Version: pw3270 5.0\n"
7 7 "Report-Msgid-Bugs-To: \n"
8   -"POT-Creation-Date: 2012-12-18 10:26-0200\n"
  8 +"POT-Creation-Date: 2012-12-18 10:46-0200\n"
9 9 "PO-Revision-Date: 2012-12-18 10:32-0200\n"
10 10 "Last-Translator: Perry Werneck <perry.werneck@gmail.com>\n"
11 11 "Language-Team: Português <>\n"
... ...
src/include/lib3270/config.h.in
... ... @@ -65,5 +65,6 @@
65 65 #undef HAVE_PRINTER
66 66  
67 67 #undef HAVE_MALLOC_H
  68 + #undef HAVE_OOREXXAPI_H
68 69  
69 70 #endif /* LIB3270_CONFIG_INCLUDED */
... ...
src/plugins/rx3270/rx3270.h
... ... @@ -36,11 +36,16 @@
36 36 #include <lib3270/config.h>
37 37 #include <lib3270.h>
38 38 #include <lib3270/log.h>
39   - #include <oorexxapi.h>
  39 +
  40 +#ifdef HAVE_OOREXXAPI_H
  41 + #include <oorexxapi.h>
  42 +#else
  43 + #error No rexx 3 support (yet)
  44 +#endif // HAVE_OOREXXAPI_H
40 45  
41 46 #ifdef HAVE_ICONV
42 47 #include <iconv.h>
43   -#endif
  48 +#endif // HAVE_ICONV
44 49  
45 50  
46 51 /*---[ Exports ]---------------------------------------------------------------------------------------------*/
... ...