1
0
Fork 0
mirror of git://git.code.sf.net/p/cdesktopenv/code synced 2025-03-09 15:50:02 +00:00

configure: use AC_PATH_PROG to find ksh

This commit is contained in:
Jon Trulson 2019-10-30 18:53:16 -06:00
parent 3f8c84b752
commit 8b065d9110

View file

@ -252,17 +252,7 @@ AC_FUNC_FORK
dnl programs
dnl we have to treat ksh specially, as we need it's full path for
dnl various scripts.
KSH_PATH="`which ksh`"
if test -z "$KSH_PATH"
then
AC_MSG_ERROR([Could not find the Korn shell (ksh). Please install it.]);
else
AC_SUBST(KSH, $KSH_PATH, [Path to ksh])
fi
AC_PATH_PROG(KSH, ksh)
AC_CHECK_PROGS(BDFTOPCF, bdftopcf)
AC_CHECK_PROGS(MKFONTIDR, mkfontdir)