version.sh: pregenerate version.h to avoid running ./configure twice in clean environment

Signed-off-by: Sergei Trofimovich <slyfox@inbox.ru>
This commit is contained in:
Sergei Trofimovich 2009-06-16 20:40:24 +03:00
parent 3e81dd57c1
commit eea108377d
1 changed files with 2 additions and 0 deletions

View File

@ -84,6 +84,8 @@ test -f configure || \
{ echo "autoconf failed to generate vfs/samba/configure" >&2; exit 1; }
) || exit 1
$srcdir/maint/version.sh "$srcdir"
if test -x $srcdir/configure.mc; then
$srcdir/configure.mc "$@"
fi