summaryrefslogtreecommitdiffstats
path: root/configure
diff options
context:
space:
mode:
authorMichele Calgaro <michele.calgaro@yahoo.it>2019-07-03 00:12:56 +0900
committerMichele Calgaro <michele.calgaro@yahoo.it>2019-07-03 00:12:56 +0900
commitafbb219075678a905b15aa3fd70c130e51805c93 (patch)
tree635f50f9426bb52b179e88a832cb9ca20aaa3693 /configure
parent13e0e185b679e79ed7293dc3c6eae2e77c16628b (diff)
downloadwlassistant-afbb219075678a905b15aa3fd70c130e51805c93.tar.gz
wlassistant-afbb219075678a905b15aa3fd70c130e51805c93.zip
Removed autotools files and admin module dependency.
Signed-off-by: Michele Calgaro <michele.calgaro@yahoo.it>
Diffstat (limited to 'configure')
-rwxr-xr-xconfigure87
1 files changed, 0 insertions, 87 deletions
diff --git a/configure b/configure
deleted file mode 100755
index f0189ac..0000000
--- a/configure
+++ /dev/null
@@ -1,87 +0,0 @@
-#!/bin/sh
-# Fancy colors used to beautify the output a bit.
-#
-NORMAL="\033[0m"
-BOLD="\033[1m"
-RED="\033[91m"
-YELLOW="\033[93m"
-GREEN="\033[92m"
-
-# Checks for Python interpreter. Honours $PYTHON if set. Stores path to
-# interpreter in $PYTHON.
-#
-checkPython()
-{
- if [ -z $PYTHON ]; then
- PYTHON=`which python 2> /dev/null`
- fi
- echo -n "Checking for Python : "
- if [ ! -x "$PYTHON" ]; then
- echo -e $GREEN"not found!"$NORMAL
- echo "Please make sure that the Python interpreter is available in your PATH"
- echo "or invoke configure using the PYTHON flag, e.g."
- echo "$ PYTHON=/usr/local/bin/python configure"
- exit 1
- fi
- echo -e $GREEN"$PYTHON"$NORMAL
-}
-
-# Checks for SCons. Honours $SCONS if set. Stores path to 'scons' in $SCONS.
-# Requires that $PYTHON is set.
-#
-checkSCons()
-{
- echo -n "Checking for SCons : "
- if [ -z $SCONS ]; then
- SCONS=`which scons 2> /dev/null`
- fi
- if [ ! -x "$SCONS" ]; then
- echo -e $BOLD"not found, will use mini distribution."$NORMAL
- tar xjf bksys/scons-mini.tar.bz2
- SCONS="./scons"
- else
- echo -e $GREEN"$SCONS"$NORMAL
- fi
- SCONS="$SCONS"
-}
-
-# Generates a Makefile. Requires that $SCONS is set.
-#
-generateMakefile()
-{
- cat > Makefile << EOF
-all:
- @$SCONS
-
-# it is also possible to use
-# @$SCONS -j4
-
-install:
- @$SCONS install
-
-clean:
- @$SCONS -c
-
-uninstall:
- @$SCONS -c install
-
-dist:
- @$SCONS dist
-
-distclean:
- rm -rf cache/
-
-cleanup:
- -find . -name '*~' | \
- xargs rm
- -find . -name '*.ui' | \
- xargs perl -pi -e 's#version="3.3"#version="3.2"#; s#^\ *<#<#'
-
-EOF
-}
-
-checkPython
-checkSCons
-generateMakefile
-
-$SCONS configure $@