mirror of
https://github.com/vel21ripn/nDPI.git
synced 2026-05-02 08:50:18 +00:00
* Removed Visual Studio leftovers. Maintaining an autotools project with VS integration requires some additional overhead. Signed-off-by: Toni Uhlig <matzeton@googlemail.com> Signed-off-by: lns <matzeton@googlemail.com>
48 lines
1.1 KiB
Bash
Executable file
48 lines
1.1 KiB
Bash
Executable file
#!/bin/sh
|
|
|
|
rm -f configure config.h config.h.in
|
|
|
|
AUTOCONF=$(command -v autoconf)
|
|
AUTOMAKE=$(command -v automake)
|
|
LIBTOOL=$(command -v libtool)
|
|
LIBTOOLIZE=$(command -v libtoolize)
|
|
AUTORECONF=$(command -v autoreconf)
|
|
PKG_CONFIG=$(command -v pkg-config)
|
|
MAKE=$(command -v make)
|
|
|
|
if test -z "${AUTOCONF}"; then
|
|
echo "autoconf is missing: please install it and try again"
|
|
exit
|
|
fi
|
|
|
|
if test -z "${AUTOMAKE}"; then
|
|
echo "automake is missing: please install it and try again"
|
|
exit
|
|
fi
|
|
|
|
if test -z "${LIBTOOL}" && test -z "${LIBTOOLIZE}"; then
|
|
echo "libtool and libtoolize is missing: please install it and try again"
|
|
exit
|
|
fi
|
|
|
|
if test -z "${AUTORECONF}"; then
|
|
echo "autoreconf is missing: please install it and try again"
|
|
exit
|
|
fi
|
|
|
|
if test -z "${PKG_CONFIG}"; then
|
|
echo "pkg-config is missing: please install it (apt-get install pkg-config) and try again"
|
|
exit
|
|
fi
|
|
|
|
if test -z "${MAKE}"; then
|
|
echo "make is missing; please install it (apt-get install make) and try again"
|
|
exit
|
|
fi
|
|
|
|
autoreconf -ivf
|
|
|
|
echo "./configure $@"
|
|
chmod +x configure
|
|
./configure $@
|
|
|