summaryrefslogtreecommitdiff
path: root/devel/bmake
diff options
context:
space:
mode:
authorrillig <rillig@pkgsrc.org>2007-09-21 10:36:34 +0000
committerrillig <rillig@pkgsrc.org>2007-09-21 10:36:34 +0000
commit36dc3053df5c9b3b2d1fd37d14add9530c55c2e3 (patch)
treee68e84a57bcafe3fbf3305cc97c86f14d796d762 /devel/bmake
parent9781aa88ef9a6b66f659ce136d51be05e787b0f3 (diff)
downloadpkgsrc-36dc3053df5c9b3b2d1fd37d14add9530c55c2e3.tar.gz
When a path is specified with --with-defshell, a casual user would
expect that the path is actually used by the configure script, which had not been the case. Now it is finally possible to select a different shell for use by bmake.
Diffstat (limited to 'devel/bmake')
-rw-r--r--devel/bmake/files/configure.in13
1 files changed, 4 insertions, 9 deletions
diff --git a/devel/bmake/files/configure.in b/devel/bmake/files/configure.in
index cb0c75a8ea7..d2f20c0b071 100644
--- a/devel/bmake/files/configure.in
+++ b/devel/bmake/files/configure.in
@@ -1,6 +1,6 @@
dnl
dnl RCSid:
-dnl $Id: configure.in,v 1.4 2007/09/11 14:13:52 joerg Exp $
+dnl $Id: configure.in,v 1.5 2007/09/21 10:36:34 rillig Exp $
dnl
dnl Process this file with autoconf to produce a configure script
dnl
@@ -18,14 +18,9 @@ AC_ARG_WITH(defshell,
yes) AC_MSG_ERROR(bad value ${withval} given for bmake DEFSHELL) ;;
no) ;;
*) case "$with_defshell" in
- */csh)
- # kidding right?
- DEFSHELL=0
- DEFAULT_CSH=$with_defshell
- ;;
- */sh) DEFSHELL=1;;
- */ksh) DEFSHELL=2;;
- esac
+ */csh) DEFSHELL=0; DEFAULT_CSH=$with_defshell;; # kidding right?
+ */sh) DEFSHELL=1; DEFAULT_SH=$with_defshell;;
+ */ksh) DEFSHELL=2; DEFAULT_KSH=$with_defshell;;
;;
esac])
AC_DEFINE_UNQUOTED(DEFSHELL, ${DEFSHELL}, Shell spec to use by default)