aboutsummaryrefslogtreecommitdiffstats
path: root/configure
diff options
context:
space:
mode:
Diffstat (limited to 'configure')
-rwxr-xr-xconfigure4
1 files changed, 3 insertions, 1 deletions
diff --git a/configure b/configure
index 096640db..3fb855c1 100755
--- a/configure
+++ b/configure
@@ -248,6 +248,7 @@ cat<<EOF >config.h
#define ETCDIR "$etcdir"
#define VARDIR "$datadir"
#define PLUGINDIR "$plugindir"
+#define DATADIR "$datadir"
#define PIDFILE "$pidfile"
#define IPCSOCKET "$ipcsocket"
EOF
@@ -779,7 +780,7 @@ fi
if [ "$doc" = "1" ]; then
# check this here just in case someone tries to install it in python2.4...
- if ! $PYTHON -m xml.etree.ElementTree > /dev/null 2>&1; then
+ if [ ! -e $srcdir/doc/user-guide/help.txt ] && ! $PYTHON -m xml.etree.ElementTree > /dev/null 2>&1; then
echo
echo 'ERROR: Python (>=2.5 or 3.x) is required to generate docs'
echo "(Use the PYTHON environment variable if it's in a weird location)"
@@ -823,6 +824,7 @@ prefix=$prefix
includedir=$includedir
plugindir=$plugindir
libdir=$libdir
+datadir=$datadir
Name: bitlbee
Description: IRC to IM gateway