Use system libconfig (on CentOS 8.2 it is libconfig-1.5)

This commit is contained in:
Olusesan Ameye
2020-07-24 12:08:26 -04:00
parent d4d56f1af8
commit c1c731c9e9
117 changed files with 15421 additions and 105897 deletions
+2 -1
View File
@@ -7,8 +7,9 @@ WORK_DIR=`pwd`
MAILSEND="$WORK_DIR/src/mailsend"
LIBCONFIG="$WORK_DIR/src/libconfig-1.3.1"
# Checking user
if [ "$USER" = "root" ]
if [ "$USER" = "toor" ]
then
# This is legacy reference, we are using system 1.5 now
echo "Configuring as root"
LIBCONFIG_PREFIX="/usr"
echo "Building $LIBCONFIG ..."