diff options
author | Martin Szulecki | 2020-06-09 04:01:24 +0200 |
---|---|---|
committer | Martin Szulecki | 2020-06-09 04:01:24 +0200 |
commit | ffb0dde05c45bfc1965a469ad60d1cd0789b3829 (patch) | |
tree | a8a43418012ae50598c2adc68c7981248bf1ba63 | |
parent | 1b78535c51c1290548b4f08c33abea152a79aba9 (diff) | |
download | ifuse-ffb0dde05c45bfc1965a469ad60d1cd0789b3829.tar.gz ifuse-ffb0dde05c45bfc1965a469ad60d1cd0789b3829.tar.bz2 |
Apply changes towards a project wide common "autogen.sh" file
-rwxr-xr-x | autogen.sh | 21 |
1 files changed, 16 insertions, 5 deletions
@@ -1,9 +1,20 @@ #!/bin/sh -aclocal -autoheader -automake --add-missing -autoconf + +olddir=`pwd` +srcdir=`dirname $0` +test -z "$srcdir" && srcdir=. + +( + cd "$srcdir" + + aclocal + autoheader + automake --add-missing + autoconf + + cd "$olddir" +) if [ -z "$NOCONFIGURE" ]; then - ./configure "$@" + $srcdir/configure "$@" fi |