From 53399ab537d95f6af604b163a0f101a674fd27be Mon Sep 17 00:00:00 2001 From: perry.werneck@gmail.com Date: Wed, 19 Dec 2012 17:34:55 +0000 Subject: [PATCH] Iniciando ajuste para que o suporte a macros também funcione no ooRexx antigo --- configure.ac | 2 ++ po/pt_BR.po | 2 +- src/include/lib3270/config.h.in | 1 + src/plugins/rx3270/rx3270.h | 9 +++++++-- 4 files changed, 11 insertions(+), 3 deletions(-) diff --git a/configure.ac b/configure.ac index a856d19..ab5fa04 100644 --- a/configure.ac +++ b/configure.ac @@ -358,6 +358,8 @@ if test "$app_cv_rexx" == "yes"; then if test -z "${REXXCONFIG}"; then AC_MSG_NOTICE([Program oorexx-config not found. Use --with-rexx-config=path to specify absolute path to the oorexx-config tool.]) app_cv_rexx="no" + else + AC_CHECK_HEADER(oorexxapi.h, AC_DEFINE(HAVE_OOREXXAPI_H)) fi fi diff --git a/po/pt_BR.po b/po/pt_BR.po index 7be286d..4fe5828 100644 --- a/po/pt_BR.po +++ b/po/pt_BR.po @@ -5,7 +5,7 @@ msgid "" msgstr "" "Project-Id-Version: pw3270 5.0\n" "Report-Msgid-Bugs-To: \n" -"POT-Creation-Date: 2012-12-18 10:26-0200\n" +"POT-Creation-Date: 2012-12-18 10:46-0200\n" "PO-Revision-Date: 2012-12-18 10:32-0200\n" "Last-Translator: Perry Werneck \n" "Language-Team: Português <>\n" diff --git a/src/include/lib3270/config.h.in b/src/include/lib3270/config.h.in index 3276373..9f2d6c1 100644 --- a/src/include/lib3270/config.h.in +++ b/src/include/lib3270/config.h.in @@ -65,5 +65,6 @@ #undef HAVE_PRINTER #undef HAVE_MALLOC_H + #undef HAVE_OOREXXAPI_H #endif /* LIB3270_CONFIG_INCLUDED */ diff --git a/src/plugins/rx3270/rx3270.h b/src/plugins/rx3270/rx3270.h index a0f4d64..d2c0d57 100644 --- a/src/plugins/rx3270/rx3270.h +++ b/src/plugins/rx3270/rx3270.h @@ -36,11 +36,16 @@ #include #include #include - #include + +#ifdef HAVE_OOREXXAPI_H + #include +#else + #error No rexx 3 support (yet) +#endif // HAVE_OOREXXAPI_H #ifdef HAVE_ICONV #include -#endif +#endif // HAVE_ICONV /*---[ Exports ]---------------------------------------------------------------------------------------------*/ -- libgit2 0.21.2