X-Git-Url: https://git.donarmstrong.com/?a=blobdiff_plain;f=stepmake%2Faclocal.m4;h=e1ea2a59d89e3b5acbba4a5bbd6ed9bf2ae10549;hb=d6048913c2c793a6298a3e16a1a25c76711463b1;hp=c9e042c0e5cc4efc2cefff60060b7dc12291a646;hpb=42ab6ff971c06253b34f96ed122836ab88d09cc0;p=lilypond.git diff --git a/stepmake/aclocal.m4 b/stepmake/aclocal.m4 index c9e042c0e5..e1ea2a59d8 100644 --- a/stepmake/aclocal.m4 +++ b/stepmake/aclocal.m4 @@ -273,6 +273,15 @@ dnl export INSTALL="\$\(depth\)/bin/install-sh" dnl fi AC_CHECK_PROGS(TAR, tar, error) + + if test "x`uname`" = "xHP-UX"; then + AC_STEPMAKE_WARN(avoiding buggy /bin/sh) + AC_CHECK_PROGS(SHELL, bash, /bin/ksh) + else + SHELL=/bin/sh + AC_SUBST(SHELL) + fi + AC_CHECK_PROGS(BASH, bash, /bin/sh) AC_PATH_PROG(PYTHON, ${PYTHON:-python}, -echo no python)