Fix segfault triggered by invalid Stem 'details settings.
[lilypond/mpolesky.git] / smart-autogen.sh
blob92ef928ca053ff68a2571c5a617b31c9cb534411
1 #!/bin/sh
3 srcdir=${srcdir:-.}
4 set -ux
6 AUTOGEN_INPUT_CHECKSUM=`cat $srcdir/configure.in $srcdir/stepmake/aclocal.m4 | md5sum | cut -b 1-32`
8 CHECKSUM_FILE=autogen.checksum
10 if test `cat $CHECKSUM_FILE`"" = "$AUTOGEN_INPUT_CHECKSUM"; then
11 exit 0
14 set -e
15 ${srcdir}/autogen.sh "$@"
16 echo -n $AUTOGEN_INPUT_CHECKSUM > $CHECKSUM_FILE