From 4d51c8451c6abb2fa90e099034fcc9c39e7530aa Mon Sep 17 00:00:00 2001 From: dequis Date: Sun, 9 Jul 2017 00:10:53 -0300 Subject: configure: Don't require python if docs are already built --- configure | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'configure') diff --git a/configure b/configure index 7cb15440..afb77459 100755 --- a/configure +++ b/configure @@ -769,7 +769,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)" -- cgit v1.2.3 From ad66dcd65ee6e84f25fdb46956df0ad3041d0ced Mon Sep 17 00:00:00 2001 From: Artem Savkov Date: Thu, 31 Aug 2017 22:00:19 +0200 Subject: Add datadir to pkgconfig file and config.h Export datadir through pkgconfig and config.h for later use by plugins. --- configure | 2 ++ 1 file changed, 2 insertions(+) (limited to 'configure') diff --git a/configure b/configure index afb77459..e2357815 100755 --- a/configure +++ b/configure @@ -246,6 +246,7 @@ cat<config.h #define ETCDIR "$etcdir" #define VARDIR "$datadir" #define PLUGINDIR "$plugindir" +#define DATADIR "$datadir" #define PIDFILE "$pidfile" #define IPCSOCKET "$ipcsocket" EOF @@ -813,6 +814,7 @@ prefix=$prefix includedir=$includedir plugindir=$plugindir libdir=$libdir +datadir=$datadir Name: bitlbee Description: IRC to IM gateway -- cgit v1.2.3