summaryrefslogtreecommitdiff
path: root/autogen.sh
diff options
context:
space:
mode:
Diffstat (limited to 'autogen.sh')
-rwxr-xr-xautogen.sh5
1 files changed, 4 insertions, 1 deletions
diff --git a/autogen.sh b/autogen.sh
index 5a5e365..9b752bb 100755
--- a/autogen.sh
+++ b/autogen.sh
@@ -11,7 +11,10 @@ rm -rf config.guess config.sub ltmain.sh
autoreconf -v --install || exit 1
cd $ORIGDIR || exit $?
-$srcdir/missing --run git-log --stat | fmt --split-only 1> ChangeLog 2>/dev/null
+if [ -d .git ]
+then
+ $srcdir/missing --run git-log --stat | fmt --split-only 1> ChangeLog
+fi
$srcdir/configure --enable-maintainer-mode "$@"