diff --git a/Makefile.in b/Makefile.in index 136c6c8..5d8d6fd 100644 --- a/Makefile.in +++ b/Makefile.in @@ -77,6 +77,7 @@ STRIP=@STRIP@ prefix=@prefix@ exec_prefix=@exec_prefix@ bindir=@bindir@ +srcdir=@srcdir@ sbindir=@sbindir@ libdir=@libdir@ includedir=@includedir@ diff --git a/autogen.sh b/autogen.sh index 12f270f..64affff 100755 --- a/autogen.sh +++ b/autogen.sh @@ -49,7 +49,7 @@ autopoint cd "${builddir}" -test -n "$NOCONFIGURE" || "$srcdir/configure" $@ +test -n "$NOCONFIGURE" || "$srcdir/configure" --srcdir=${srcdir} $@ -- libgit2 0.21.2