summaryrefslogtreecommitdiffstats
path: root/configure.ac
diff options
context:
space:
mode:
authorDavid Lamparter <equinox@diac24.net>2020-04-15 10:27:49 +0200
committerDavid Lamparter <equinox@diac24.net>2020-04-27 09:52:41 +0200
commit94cfb0692e0499e7ba40908db5259cd19c0e3d5e (patch)
tree21dea4bef030b2e9170029235fe2385bda5cf90f /configure.ac
parenttools/symalyzer: fix copypasta (diff)
downloadfrr-94cfb0692e0499e7ba40908db5259cd19c0e3d5e.tar.xz
frr-94cfb0692e0499e7ba40908db5259cd19c0e3d5e.zip
build: make clippy Makefile rules nicer
These are easy to get subtly wrong, and doing so can cause nondeterministic failures when racing in parallel builds. Signed-off-by: David Lamparter <equinox@opensourcerouting.org>
Diffstat (limited to 'configure.ac')
-rwxr-xr-xconfigure.ac8
1 files changed, 7 insertions, 1 deletions
diff --git a/configure.ac b/configure.ac
index 6f7ca9def..d46fa75c5 100755
--- a/configure.ac
+++ b/configure.ac
@@ -2402,7 +2402,13 @@ AM_CONDITIONAL([STATICD], [test "$enable_staticd" != "no"])
AM_CONDITIONAL([FABRICD], [test "$enable_fabricd" != "no"])
AM_CONDITIONAL([VRRPD], [test "$enable_vrrpd" != "no"])
-AC_CONFIG_FILES([Makefile],[sed -e 's/^#AUTODERP# //' -i Makefile])
+AC_CONFIG_FILES([Makefile],[
+ test "$enable_dev_build" = "yes" && makefile_devbuild="--dev-build"
+ ${PYTHON} "${ac_abs_top_srcdir}/python/makefile.py" ${makefile_devbuild} || exit 1
+], [
+ PYTHON="$PYTHON"
+ enable_dev_build="$enable_dev_build"
+])
AC_CONFIG_FILES([
config.version