aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--src/build-data/botan-config.in13
1 files changed, 10 insertions, 3 deletions
diff --git a/src/build-data/botan-config.in b/src/build-data/botan-config.in
index 5f3c2e933..0d1775a55 100644
--- a/src/build-data/botan-config.in
+++ b/src/build-data/botan-config.in
@@ -1,10 +1,17 @@
#!/bin/sh
-guess_prefix=`dirname $0`
+# For workspace builds:
+#guess_prefix=`dirname $0`
+#includedir=build/include
+#libdir=
+
+# For normal builds:
+guess_prefix=`dirname \`dirname $0\``
+includedir=@{var:includedir}
+libdir=@{var:libdir}
+
install_prefix=@{var:prefix}
prefix=
-includedir=build/include
-libdir=
usage()
{