n2n/autogen.sh
Luca Deri b73f146d9b Fixed warnings
Moved to 2.7
2020-03-24 10:09:39 +01:00

23 lines
520 B
Bash
Executable File

#!/usr/bin/env bash
# NOTE: update version in CMakeLists.txt after changing these
N2N_MAJOR="2"
N2N_MINOR="7"
N2N_PATCH="0"
N2N_VERSION_SHORT="$N2N_MAJOR.$N2N_MINOR.$N2N_PATCH"
cat configure.seed | sed \
-e "s/@N2N_MAJOR@/$N2N_MAJOR/g" \
-e "s/@N2N_MINOR@/$N2N_MINOR/g" \
-e "s/@N2N_PATCH@/$N2N_PATCH/g" \
-e "s/@N2N_VERSION_SHORT@/$N2N_VERSION_SHORT/g" \
> configure.ac
rm -f config.h config.h.in *~ Makefile configure #*
echo "Wait please..."
autoreconf -if
echo ""
echo "Now run ./configure"