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

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