diff options
author | Joel Sherrill <joel.sherrill@OARcorp.com> | 1999-03-18 22:36:28 +0000 |
---|---|---|
committer | Joel Sherrill <joel.sherrill@OARcorp.com> | 1999-03-18 22:36:28 +0000 |
commit | b64b1ed387bb9fa18e33bc9d7c24aa7fcce38da6 (patch) | |
tree | 550111f3e971c07abbad19aaa327acd8eb3c2ee0 | |
parent | Patch from Ian Lance Taylor <ian@airs.com>: (diff) | |
download | rtems-b64b1ed387bb9fa18e33bc9d7c24aa7fcce38da6.tar.bz2 |
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)
-rw-r--r-- | aclocal/path-ksh.m4 | 14 | ||||
-rw-r--r-- | aclocal/path-perl.m4 | 12 |
2 files changed, 26 insertions, 0 deletions
diff --git a/aclocal/path-ksh.m4 b/aclocal/path-ksh.m4 new file mode 100644 index 0000000000..881dd0c9ec --- /dev/null +++ b/aclocal/path-ksh.m4 @@ -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 +]) diff --git a/aclocal/path-perl.m4 b/aclocal/path-perl.m4 new file mode 100644 index 0000000000..e0e7dbb1f0 --- /dev/null +++ b/aclocal/path-perl.m4 @@ -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 +]) |