n2n/autogen.sh

22 lines
497 B
Bash
Raw Permalink Normal View History

2018-10-07 15:08:05 +05:30
#!/usr/bin/env bash
2019-07-06 16:00:33 +05:30
# NOTE: update version in CMakeLists.txt after changing these
N2N_MAJOR="2"
2020-08-12 15:48:14 +05:30
N2N_MINOR="8"
2020-03-24 14:39:39 +05:30
N2N_PATCH="0"
2019-07-06 16:00:33 +05:30
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
2018-10-07 15:08:05 +05:30
rm -f config.h config.h.in *~ Makefile configure #*
echo "Wait please..."
autoreconf -if
2020-04-24 11:51:12 +05:30
./configure