]> granicus.if.org Git - libexpat/commitdiff
buildconf.sh: Create missing conftools/install-sh
authorSebastian Pipping <sebastian@pipping.org>
Wed, 2 Mar 2016 12:19:06 +0000 (13:19 +0100)
committerSebastian Pipping <sebastian@pipping.org>
Wed, 2 Mar 2016 17:01:53 +0000 (18:01 +0100)
Otherwise configure will fail with:
configure: error: cannot find install-sh, install.sh, or shtool in conftools "."/conftools

expat/buildconf.sh

index 69981df7c4e61f537062a682d44dfbc7d35faba1..8eb0a76d3a0da8fffddded07580dd706d616a5ff 100755 (executable)
@@ -19,6 +19,10 @@ fi
 echo "Creating configure ..."
 ${AUTORECONF:-autoreconf} -fvi
 
+echo "Creating conftools/install-sh ..."
+# .. for configure, despite not using automake
+automake --add-missing 2>/dev/null || true
+
 # toss this; it gets created by autoconf on some systems
 rm -rf autom4te*.cache