pkgsrc-Changes-HG archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

[pkgsrc/trunk]: pkgsrc/devel/bmake/files When a path is specified with --with...



details:   https://anonhg.NetBSD.org/pkgsrc/rev/6d66e080b902
branches:  trunk
changeset: 533554:6d66e080b902
user:      rillig <rillig%pkgsrc.org@localhost>
date:      Fri Sep 21 10:36:34 2007 +0000

description:
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:

 devel/bmake/files/configure.in |  13 ++++---------
 1 files changed, 4 insertions(+), 9 deletions(-)

diffs (29 lines):

diff -r 92dcc4829e7c -r 6d66e080b902 devel/bmake/files/configure.in
--- a/devel/bmake/files/configure.in    Fri Sep 21 10:18:05 2007 +0000
+++ b/devel/bmake/files/configure.in    Fri Sep 21 10:36:34 2007 +0000
@@ -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 @@
 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)



Home | Main Index | Thread Index | Old Index