mirror of
git://sourceware.org/git/valgrind.git
synced 2026-01-12 00:19:31 +08:00
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.
26 lines
460 B
Bash
Executable File
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
|