configure: use AC_PATH_PROG to find ksh
This commit is contained in:
@@ -252,17 +252,7 @@ AC_FUNC_FORK
|
|||||||
|
|
||||||
dnl programs
|
dnl programs
|
||||||
|
|
||||||
dnl we have to treat ksh specially, as we need it's full path for
|
AC_PATH_PROG(KSH, ksh)
|
||||||
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_CHECK_PROGS(BDFTOPCF, bdftopcf)
|
AC_CHECK_PROGS(BDFTOPCF, bdftopcf)
|
||||||
AC_CHECK_PROGS(MKFONTIDR, mkfontdir)
|
AC_CHECK_PROGS(MKFONTIDR, mkfontdir)
|
||||||
|
|||||||
Reference in New Issue
Block a user