XMLRPC_FEATURES="c++2 abyss-server"
-if [ -z $1 ]
+if [ -z "$1" ]
then
DEFS="$DEFS -DNDEBUG"
MAKEOPTS="-j1"
scriptexecuter.lib
conffiles.lib
pinger.lib
- dotconfpp.lib"
+ dotconfpp.lib
+ smux.lib"
PLUGINS="authorization/ao
authorization/inetaccess
other/ping
other/rscript
other/radius
+ other/smux
store/files
capture/cap_nf"
SHELL="/usr/local/bin/bash"
fi
+if [ -z "$CC" ]
+then
+ CC=gcc
+fi
+
+if [ -z "$CXX" ]
+then
+ CXX=g++
+fi
+
echo -n "Checking CC... "
$CC --version > /dev/null 2> /dev/null
if [ $? != 0 ]
echo "" >> $CONFFILE
echo "SHELL=$SHELL" >> $CONFFILE
echo "CXXFLAGS=$CXXFLAGS" >> $CONFFILE
+echo "CFLAGS=$CXXFLAGS" >> $CONFFILE
echo "LDFLAGS=$LDFLAGS" >> $CONFFILE
echo "LIB_THREAD=$LIB_THREAD" >> $CONFFILE
echo "PREFIX=$PREFIX" >> $CONFFILE