diff options
author | Anton Lundin <glance@acc.umu.se> | 2018-06-20 20:03:11 +0200 |
---|---|---|
committer | Dirk Hohndel <dirk@hohndel.org> | 2018-06-22 02:47:58 -0700 |
commit | d853c477b7910b6fb38160b1249a117758f955a1 (patch) | |
tree | 675e0f699166978af015d018b14945b45925c830 /packaging/android/build.sh | |
parent | 207c752396e041f2c90d1a9fcb300272aeae74e6 (diff) | |
download | subsurface-d853c477b7910b6fb38160b1249a117758f955a1.tar.gz |
build-system: Only run autoreconf when needed
Signed-off-by: Anton Lundin <glance@acc.umu.se>
Diffstat (limited to 'packaging/android/build.sh')
-rwxr-xr-x | packaging/android/build.sh | 16 |
1 files changed, 10 insertions, 6 deletions
diff --git a/packaging/android/build.sh b/packaging/android/build.sh index 42c0aed94..c2b902037 100755 --- a/packaging/android/build.sh +++ b/packaging/android/build.sh @@ -192,9 +192,11 @@ if [ ! -e "$PKG_CONFIG_LIBDIR/sqlite3.pc" ] ; then fi ${SUBSURFACE_SOURCE}/scripts/get-dep-lib.sh singleAndroid . libxml2 -pushd libxml2 -autoreconf --install -popd +if [ ! -e libxml2/configure ] ; then + pushd libxml2 + autoreconf --install + popd +fi if [ ! -e "$PKG_CONFIG_LIBDIR/libxml-2.0.pc" ] ; then mkdir -p libxml2-build-"$ARCH" pushd libxml2-build-"$ARCH" @@ -207,9 +209,11 @@ if [ ! -e "$PKG_CONFIG_LIBDIR/libxml-2.0.pc" ] ; then fi ${SUBSURFACE_SOURCE}/scripts/get-dep-lib.sh singleAndroid . libxslt -pushd libxslt -autoreconf --install -popd +if [ ! -e libxslt/configure ] ; then + pushd libxslt + autoreconf --install + popd +fi if [ ! -e "$PKG_CONFIG_LIBDIR/libxslt.pc" ] ; then mkdir -p libxslt-build-"$ARCH" pushd libxslt-build-"$ARCH" |