From 0f4556fc2343dc0ade0bb1e0d1fc6f85770d77af Mon Sep 17 00:00:00 2001 From: "Andrey V.Kosteltsev" Date: Fri, 15 Jul 2022 10:36:51 +0300 Subject: First commit: Sila SNMP Sub Agent and configuration manager --- bootstrap.sh | 23 +++++++++++++++++++++++ 1 file changed, 23 insertions(+) create mode 100755 bootstrap.sh (limited to 'bootstrap.sh') diff --git a/bootstrap.sh b/bootstrap.sh new file mode 100755 index 0000000..5e9e7e5 --- /dev/null +++ b/bootstrap.sh @@ -0,0 +1,23 @@ +#!/bin/sh + +PREFIX=$(readlink -f "${0%/*}") +AUTOCONF_FILES="aclocal.m4 autom4te.cache compile \ + config.guess config.sub configure depcomp \ + install-sh ltmain.sh Makefile.in missing \ + ar-lib config.h.in" + +TARGET=${PREFIX}/sila/.libs/sila.so + +case $1 in + clean) + cd ${PREFIX} + test -f Makefile && make maintainer-clean + for file in ${AUTOCONF_FILES}; do + find -name "$file" | xargs -r rm -rf + done + exit 0 + ;; +esac + +autoreconf --install ${PREFIX} +echo 'Run: "./configure ${CONFIGURE_FLAGS} && make"' -- cgit v1.2.3