summaryrefslogtreecommitdiff
path: root/devel/bmake/files
diff options
context:
space:
mode:
authorrillig <rillig>2007-09-21 10:36:34 +0000
committerrillig <rillig>2007-09-21 10:36:34 +0000
commit1bbe41aa146c525246ff3dde0fff822bb2aaafd8 (patch)
treee68e84a57bcafe3fbf3305cc97c86f14d796d762 /devel/bmake/files
parent50630deb86c0f53b98ac0359986541d2ae447189 (diff)
downloadpkgsrc-1bbe41aa146c525246ff3dde0fff822bb2aaafd8.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/files')
-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)