diff options
author | rillig <rillig@pkgsrc.org> | 2007-09-21 10:36:34 +0000 |
---|---|---|
committer | rillig <rillig@pkgsrc.org> | 2007-09-21 10:36:34 +0000 |
commit | 42ff6b21f83b6ad73461279bf34abcc0128a3000 (patch) | |
tree | e68e84a57bcafe3fbf3305cc97c86f14d796d762 /devel | |
parent | 9cc243d0e334c7a236080535344db34405a60438 (diff) | |
download | pkgsrc-42ff6b21f83b6ad73461279bf34abcc0128a3000.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')
-rw-r--r-- | devel/bmake/files/configure.in | 13 |
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) |