summaryrefslogtreecommitdiffstats
path: root/aclocal/path-ksh.m4
diff options
context:
space:
mode:
authorJoel Sherrill <joel.sherrill@OARcorp.com>1999-03-18 22:36:28 +0000
committerJoel Sherrill <joel.sherrill@OARcorp.com>1999-03-18 22:36:28 +0000
commitb64b1ed387bb9fa18e33bc9d7c24aa7fcce38da6 (patch)
tree550111f3e971c07abbad19aaa327acd8eb3c2ee0 /aclocal/path-ksh.m4
parentPatch from Ian Lance Taylor <ian@airs.com>: (diff)
downloadrtems-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)
Diffstat (limited to 'aclocal/path-ksh.m4')
-rw-r--r--aclocal/path-ksh.m414
1 files changed, 14 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
+])