diff --git a/configure.ac b/configure.ac index ab5fa04..a856d19 100644 --- a/configure.ac +++ b/configure.ac @@ -358,8 +358,6 @@ 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/src/plugins/rx3270/rx3270.h b/src/plugins/rx3270/rx3270.h index d2c0d57..6c66846 100644 --- a/src/plugins/rx3270/rx3270.h +++ b/src/plugins/rx3270/rx3270.h @@ -47,12 +47,6 @@ #include #endif // HAVE_ICONV - -/*---[ Exports ]---------------------------------------------------------------------------------------------*/ - - LIB3270_EXPORT RexxRoutineEntry rx3270_functions[]; - LIB3270_EXPORT RexxPackageEntry rx3270_package_entry; - /*---[ Rexx entry points ]-----------------------------------------------------------------------------------*/ REXX_TYPED_ROUTINE_PROTOTYPE(rx3270version); diff --git a/src/plugins/rx3270/rxapimain.cc b/src/plugins/rx3270/rxapimain.cc index 1a5f937..c8e10ff 100644 --- a/src/plugins/rx3270/rxapimain.cc +++ b/src/plugins/rx3270/rxapimain.cc @@ -116,7 +116,7 @@ int librx3270_unloaded(void) } // now build the actual entry list -RexxRoutineEntry rx3270_functions[] = +LIB3270_EXPORT RexxRoutineEntry rx3270_functions[] = { REXX_TYPED_ROUTINE(rx3270version, rx3270version), REXX_TYPED_ROUTINE(rx3270QueryCState, rx3270QueryCState), @@ -139,7 +139,7 @@ RexxRoutineEntry rx3270_functions[] = REXX_LAST_METHOD() }; -RexxPackageEntry rx3270_package_entry = +LIB3270_EXPORT RexxPackageEntry rx3270_package_entry = { STANDARD_PACKAGE_HEADER REXX_CURRENT_INTERPRETER_VERSION, // anything after 4.0.0 will work -- libgit2 0.21.2