Skip to content

Commit 4c714c5

Browse files
committed
Finish Hotfix-4
Fixing a bug that occured when trying to run kat from src dir.
2 parents 0e8c490 + b297a18 commit 4c714c5

File tree

3 files changed

+4
-3
lines changed

3 files changed

+4
-3
lines changed

configure.ac

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -117,7 +117,7 @@ if [[ "${make_pykat}" == "yes" ]]; then
117117
AX_PYTHON_MODULE(numpy, [AC_MSG_ERROR([numpy not found])], ${pybin})
118118
AX_PYTHON_MODULE(matplotlib, [AC_MSG_ERROR([matplotlib not found])], ${pybin})
119119
AX_PYTHON_MODULE(scipy, [AC_MSG_ERROR([scipy not found])], ${pybin})
120-
AX_PYTHON_MODULE(tabulate, [AC_MSG_ERROR([scipy not found])], ${pybin})
120+
AX_PYTHON_MODULE(tabulate, [AC_MSG_ERROR([tabulate not found])], ${pybin})
121121

122122
#AC_DEFINE([HAVE_PYTHON], [1], [Python present])
123123
#AC_DEFINE_UNQUOTED([KAT_SITE_PKGS], ["${libdir}/$pybin/site-packages"], [KAT module site-packages at installed location])

doc/Makefile

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -10,7 +10,7 @@ MKDIR_P = mkdir -p
1010
INSTALL = /usr/bin/install -c -m 644
1111

1212
# Set autoconf variables
13-
prefix = /home/dan/software/kat_test/nopyinstall
13+
prefix = /usr/local
1414
PACKAGE_TARNAME = kat
1515
top_srcdir = ..
1616
srcdir = .

lib/include/kat/kat_fs.hpp

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -125,7 +125,8 @@ namespace kat {
125125
}
126126
else {
127127
path kcc(canonicalExe.parent_path());
128-
if (exists("kat.cc")) {
128+
kcc /= "kat.cc";
129+
if (exists(kcc)) {
129130
// If we are here then we are not running from an installed location,
130131
// we are running from the source tree.
131132
// Not 100% sure how far back we need to go (depends on whether using KAT exe or tests)

0 commit comments

Comments
 (0)