Changeset: e3cdf5396ca1 for MonetDB
URL: http://dev.monetdb.org/hg/MonetDB?cmd=changeset;node=e3cdf5396ca1
Modified Files:
        bootstrap
Branch: Jan2014
Log Message:

On OpenIndiana, there is no automake, but there is automake-1.10.


diffs (30 lines):

diff --git a/bootstrap b/bootstrap
--- a/bootstrap
+++ b/bootstrap
@@ -29,6 +29,14 @@ type -P glibtoolize > /dev/null \
        && libtoolize=glibtoolize \
        || libtoolize=libtoolize
 
+# cope with systems where aclocal is known as aclocal-1.10 (and
+# automake as automake-1.10), e.g. OpenIndiana
+if ! type -P aclocal > /dev/null && type -P aclocal-1.10 > /dev/null; then
+    amv=-1.10
+else
+    amv=
+fi
+
 _m4_extra_dirs=
 if [[ -n ${M4DIRS} ]] ; then
        for d in ${M4DIRS} ; do
@@ -52,9 +60,9 @@ while read f; do [ -x $f.in ] && echo "A
 sed '1,/^AC_CONFIG_FILES/d' configure.ag
 ) > configure.ac &&
 $libtoolize -c -f  &&
-aclocal ${_m4_extra_dirs} &&
+aclocal$amv ${_m4_extra_dirs} &&
 autoheader  &&
-automake --add-missing --copy --foreign  &&
+automake$amv --add-missing --copy --foreign  &&
 autoconf
 if [ -f buildtools/conf/install-sh -a ! -x buildtools/conf/install-sh ]; then
     chmod +x buildtools/conf/install-sh
_______________________________________________
checkin-list mailing list
checkin-list@monetdb.org
https://www.monetdb.org/mailman/listinfo/checkin-list

Reply via email to