mirror of
https://github.com/MidnightCommander/mc
synced 2024-12-22 04:22:34 +03:00
configure.ac: check of Perl, Pyhton and Ruby on IBM i.
Signed-off-by: Andrew Borodin <aborodin@vmail.ru>
This commit is contained in:
parent
a45337672b
commit
79e5cdad2f
18
configure.ac
18
configure.ac
@ -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
|
||||
|
Loading…
Reference in New Issue
Block a user