forked from Imagelibrary/rtems
Patch from Ralf Corsepius <corsepiu@faw.uni-ulm.de>:
Moves some configure.in fragments to new macro files below aclocal/ (Motivation: Prepare splitting the toplevel configure.in script)
This commit is contained in:
14
aclocal/path-ksh.m4
Normal file
14
aclocal/path-ksh.m4
Normal file
@@ -0,0 +1,14 @@
|
|||||||
|
dnl $Id$
|
||||||
|
|
||||||
|
AC_DEFUN(RTEMS_PATH_KSH,
|
||||||
|
[
|
||||||
|
dnl NOTE: prefer bash over ksh over sh
|
||||||
|
AC_PATH_PROGS(KSH,bash ksh sh)
|
||||||
|
if test -z "$KSH"; then
|
||||||
|
dnl NOTE: This cannot happen -- /bin/sh must always exist
|
||||||
|
AC_MSG_ERROR(
|
||||||
|
[***]
|
||||||
|
[ Cannot determine a usable shell bash/ksh/sh]
|
||||||
|
[ Please contact your system administrator] );
|
||||||
|
fi
|
||||||
|
])
|
||||||
12
aclocal/path-perl.m4
Normal file
12
aclocal/path-perl.m4
Normal file
@@ -0,0 +1,12 @@
|
|||||||
|
dnl $Id$
|
||||||
|
|
||||||
|
AC_DEFUN(RTEMS_PATH_PERL,
|
||||||
|
[
|
||||||
|
AC_PATH_PROG(PERL,perl)
|
||||||
|
if test -z "$PERL" ; then
|
||||||
|
AC_MSG_WARN(
|
||||||
|
[***]
|
||||||
|
[ perl was not found]
|
||||||
|
[ Note: Some tools will not be built.])
|
||||||
|
fi
|
||||||
|
])
|
||||||
Reference in New Issue
Block a user