diff options
author | Emmanuele Bassi <ebassi@gnome.org> | 2015-12-04 01:14:53 +0000 |
---|---|---|
committer | Emmanuele Bassi <ebassi@gnome.org> | 2015-12-04 01:14:53 +0000 |
commit | 19c9a25be68e45e6c08b20b72eee4e542b4f40aa (patch) | |
tree | e3e8b2a7ef20411bd6e7a5a734ba359658617196 /autogen.sh | |
parent | 82fa0659f9834b3b0a2b5a27f23c25e605124cf2 (diff) | |
download | xdg-app-19c9a25be68e45e6c08b20b72eee4e542b4f40aa.tar.gz |
build: Switch to olddir after autoreconf
Otherwise this won't work:
$ mkdir _build && cd _build
$ ../autogen.sh
As `autoreconf` won't find configure.ac.
Diffstat (limited to 'autogen.sh')
-rwxr-xr-x | autogen.sh | 2 |
1 files changed, 1 insertions, 1 deletions
@@ -18,7 +18,6 @@ fi # regenerated from their corresponding *.in files by ./configure anyway. touch INSTALL -cd "$olddir" if ! test -f libglnx/README.md; then git submodule update --init fi @@ -27,4 +26,5 @@ sed -e 's,$(libglnx_srcpath),'${srcdir}/libglnx,g < libglnx/Makefile-libglnx.am autoreconf --force --install --verbose || exit $? +cd "$olddir" test -n "$NOCONFIGURE" || "$srcdir/configure" "$@" |