configure.ac: check of Perl, Pyhton and Ruby on IBM i.

Signed-off-by: Andrew Borodin <aborodin@vmail.ru>
This commit is contained in:
Jesse R. Gorzinski 2018-09-04 11:50:37 +03:00 committed by Andrew Borodin
parent a45337672b
commit 79e5cdad2f

View File

@ -57,9 +57,7 @@ dnl ############################################################################
PKG_PROG_PKG_CONFIG
AC_PROG_INSTALL
AC_PROG_LN_S
AC_PATH_PROG([PERL], [perl], [/usr/bin/perl])
AC_PATH_PROG([PYTHON], [python], [/usr/bin/python])
AC_PATH_PROG([RUBY], [ruby], [/usr/bin/ruby])
dnl See also the "OS specific stuff" section below.
dnl Check nroff and the options it supports
AC_CHECK_PROG(HAVE_nroff, nroff, true, false)
@ -274,9 +272,21 @@ AM_GNU_GETTEXT_VERSION([0.18.1])
mc_I18N
dnl ############################################################################
dnl OS specific flags
dnl OS specific stuff
dnl ############################################################################
case $host_os in
*os400)
AC_PATH_PROG([PERL], [perl], [/QOpenSys/pkgs/bin/perl])
AC_PATH_PROG([PYTHON], [python], [/QOpenSys/pkgs/bin/python2])
AC_PATH_PROG([RUBY], [ruby], [/QOpenSys/pkgs/bin/ruby])
;;
*)
AC_PATH_PROG([PERL], [perl], [/usr/bin/perl])
AC_PATH_PROG([PYTHON], [python], [/usr/bin/python])
AC_PATH_PROG([RUBY], [ruby], [/usr/bin/ruby])
esac
case $host_os in
aux*)
# A/UX