Files
valgrind/autogen.sh
Mark Wielaard 42eb19c0da Check for and compile using -std=gnu11 (or higher)
Use gnulib m4/std-gnu11.m4 for that.

Also update the minimum autoconf version to 2.69. And the minimum
automake to 1.13. This lets us clean up configure.ac a little.

We would really like 2.70+ so we don't need the gnulib gnu11.m4. But
2.69 still seems in use on various stable systems. autoconf 2.70
was released end of 2020, autoconf 2.69 in 2012.
2025-01-23 19:33:57 +01:00

26 lines
460 B
Bash
Executable File

#!/bin/sh
run ()
{
echo "running: $*"
eval $*
if test $? != 0 ; then
echo "error: while running '$*'"
exit 1
fi
}
run aclocal -I m4
run autoheader
run automake -a
run autoconf
# Valgrind-specific Git configuration, if appropriate.
if git rev-parse --is-inside-work-tree > /dev/null 2>&1 ; then
echo "running: git configuration"
git config blame.ignoreRevsFile .git-blame-ignore-revs
else
echo "skipping: git configuration"
fi