Look, an invisible pink unicorn!

git-svn-id: https://znc.svn.sourceforge.net/svnroot/znc/trunk@1928 726aef4b-f618-498e-8847-2d620e286838
This commit is contained in:
psychon
2010-04-23 16:38:03 +00:00
parent 6dc5d7e0a9
commit 1148cd9a29
3 changed files with 4 additions and 3 deletions
+2 -1
View File
@@ -907,10 +907,11 @@ bool CModules::FindModPath(const CString& sModule, CString& sModPath,
CModules::ModDirList CModules::GetModDirs() {
ModDirList ret;
CString sDir;
#ifdef RUN_FROM_SOURCE
// ./modules
CString sDir = CZNC::Get().GetCurPath() + "/modules/";
sDir = CZNC::Get().GetCurPath() + "/modules/";
ret.push(std::make_pair(sDir, sDir));
// ./modules/extra
Vendored
+1 -1
View File
@@ -2816,7 +2816,7 @@ fi
# Check whether --enable-run-from-source was given.
if test "${enable_run_from_source+set}" = set; then :
enableval=$enable_run_from_source; if test "x$withval" = "xyes" ; then
enableval=$enable_run_from_source; if test "x$enableval" = "xyes" ; then
appendCXX -DRUN_FROM_SOURCE
fi
fi
+1 -1
View File
@@ -109,7 +109,7 @@ AC_ARG_ENABLE( [c-ares],
[ARES="auto"])
AC_ARG_ENABLE( [run-from-source],
AS_HELP_STRING([--enable-run-from-source], [znc will be runnable without installation]),
[if test "x$withval" = "xyes" ; then
[if test "x$enableval" = "xyes" ; then
appendCXX -DRUN_FROM_SOURCE
fi])