From f4dcff438fe1f93eae4de95d8f3210534b66c777 Mon Sep 17 00:00:00 2001 From: Elvio Basello Date: Wed, 12 Nov 2008 17:24:16 +0000 Subject: quick fix for perl rules git-svn-id: https://svn.kvirc.de/svn/trunk/kvirc@2850 17fca916-40b9-46aa-a4ea-0a15b648b75c --- src/modules/perl/libkviperl.cpp | 6 +++--- src/modules/perlcore/CMakeLists.txt | 9 --------- 2 files changed, 3 insertions(+), 12 deletions(-) (limited to 'src/modules') diff --git a/src/modules/perl/libkviperl.cpp b/src/modules/perl/libkviperl.cpp index c8073739d..96be07ae2 100644 --- a/src/modules/perl/libkviperl.cpp +++ b/src/modules/perl/libkviperl.cpp @@ -554,13 +554,13 @@ static bool perl_kvs_cmd_destroy(KviKvsModuleCommandCall * c) */ static bool perl_kvs_fnc_isAvailable(KviKvsModuleFunctionCall * c) -{ +{ #ifdef COMPILE_PERL_SUPPORT g_pPerlCoreModule = g_pModuleManager->getModule("perlcore"); c->returnValue()->setBoolean(g_pPerlCoreModule ? true : false); -#else //!COMPILE_PERL_SUPPORT +#else // COMPILE_PERL_SUPPORT c->returnValue()->setBoolean(false); -#endif //!COMPILE_PERL_SUPPORT +#endif // COMPILE_PERL_SUPPORT return true; } diff --git a/src/modules/perlcore/CMakeLists.txt b/src/modules/perlcore/CMakeLists.txt index 33a0fba07..82e1de70a 100644 --- a/src/modules/perlcore/CMakeLists.txt +++ b/src/modules/perlcore/CMakeLists.txt @@ -1,14 +1,5 @@ # CMakeLists for src/modules/perlcore -# From qmake -#win32{ -# LIBS += -lperl58 -#} -# -#mac { -# LIBS += -lperl -L$(PERLDIR)/CORE/ -#} - IF(UNIX) IF(APPLE) LIST(APPEND LIBS -lperl) -- cgit v1.3.1-10-gc9f91