]> git.ipfire.org Git - people/ms/suricata.git/blob - autogen.sh
detect: allows <> syntax for uint ranges
[people/ms/suricata.git] / autogen.sh
1 #!/bin/sh
2 # Run this to generate all the initial makefiles, etc.
3 if which libtoolize > /dev/null; then
4 echo "Found libtoolize"
5 libtoolize -c
6 elif which glibtoolize > /dev/null; then
7 echo "Found glibtoolize"
8 glibtoolize -c
9 else
10 echo "Failed to find libtoolize or glibtoolize, please ensure it is installed and accessible via your PATH env variable"
11 exit 1
12 fi;
13 autoreconf -fv --install || exit 1
14 if which cargo > /dev/null; then
15 if [ -f rust/Cargo.lock ] ; then
16 rm -f rust/Cargo.lock
17 fi
18 fi;
19 echo "You can now run \"./configure\" and then \"make\"."