summaryrefslogtreecommitdiffstats
path: root/unix
diff options
context:
space:
mode:
authordas <das@noemail.net>2008-08-13 23:07:15 (GMT)
committerdas <das@noemail.net>2008-08-13 23:07:15 (GMT)
commit90a20d09438eb3a3f91fd63c566c1377f5acc511 (patch)
treed215ac0ba47459ee38a87874d4733f65ed0425ad /unix
parent98bd5c8d7876bf4e5f68c2dc85e4eb24a37f56a6 (diff)
downloadtcl-90a20d09438eb3a3f91fd63c566c1377f5acc511.zip
tcl-90a20d09438eb3a3f91fd63c566c1377f5acc511.tar.gz
tcl-90a20d09438eb3a3f91fd63c566c1377f5acc511.tar.bz2
* unix/Makefile.in: ensure Makefile shell is /bin/bash for
* unix/configure.in (SunOS): DTrace-enabled build on Solaris. (followup to 2008-06-12) [Bug 2016584] FossilOrigin-Name: 0379cc4b176e59fb82adc7765e5723844764d572
Diffstat (limited to 'unix')
-rw-r--r--unix/Makefile.in4
-rw-r--r--unix/configure.in5
2 files changed, 6 insertions, 3 deletions
diff --git a/unix/Makefile.in b/unix/Makefile.in
index 98a1d32..45a2fad 100644
--- a/unix/Makefile.in
+++ b/unix/Makefile.in
@@ -4,7 +4,7 @@
# "./configure", which is a configuration script generated by the "autoconf"
# program (constructs like "@foo@" will get replaced in the actual Makefile.
#
-# RCS: @(#) $Id: Makefile.in,v 1.229.2.7 2008/08/11 21:57:15 dgp Exp $
+# RCS: @(#) $Id: Makefile.in,v 1.229.2.8 2008/08/13 23:07:16 das Exp $
VERSION = @TCL_VERSION@
MAJOR_VERSION = @TCL_MAJOR_VERSION@
@@ -139,7 +139,7 @@ NO_DEPRECATED_FLAGS =
# Some versions of make, like SGI's, use the following variable to determine
# which shell to use for executing commands:
-SHELL = /bin/sh
+SHELL = @MAKEFILE_SHELL@
# Tcl used to let the configure script choose which program to use for
# installing, but there are just too many different versions of "install"
diff --git a/unix/configure.in b/unix/configure.in
index ca348c2..a753fc9 100644
--- a/unix/configure.in
+++ b/unix/configure.in
@@ -3,7 +3,7 @@ dnl This file is an input file used by the GNU "autoconf" program to
dnl generate the file "configure", which is run during Tcl installation
dnl to configure the system for the local environment.
#
-# RCS: @(#) $Id: configure.in,v 1.180.2.5 2008/08/08 15:22:35 dgp Exp $
+# RCS: @(#) $Id: configure.in,v 1.180.2.6 2008/08/13 23:07:16 das Exp $
AC_INIT([tcl],[8.5])
AC_PREREQ(2.59)
@@ -657,6 +657,7 @@ if test $tcl_ok = yes; then
test -z "$ac_cv_path_DTRACE" && tcl_ok=no
fi
AC_MSG_CHECKING([whether to enable DTrace support])
+MAKEFILE_SHELL='/bin/sh'
if test $tcl_ok = yes; then
AC_DEFINE(USE_DTRACE, 1, [Are we building with DTrace support?])
DTRACE_SRC="\${DTRACE_SRC}"
@@ -667,6 +668,7 @@ if test $tcl_ok = yes; then
# Need to create an intermediate object file to ensure tclDTrace.o
# gets included when linking against the static tcl library.
STLIB_LD='stlib_ld () { /usr/ccs/bin/ld -r -o $${1%.a}.o "$${@:2}" && '"${STLIB_LD}"' $${1} $${1%.a}.o ; } && stlib_ld'
+ MAKEFILE_SHELL='/bin/bash'
# Force use of Sun ar and ranlib, the GNU versions choke on
# tclDTrace.o and the combined object file above.
AR='/usr/ccs/bin/ar'
@@ -890,6 +892,7 @@ AC_SUBST(INSTALL_TZDATA)
AC_SUBST(DTRACE_SRC)
AC_SUBST(DTRACE_HDR)
AC_SUBST(DTRACE_OBJ)
+AC_SUBST(MAKEFILE_SHELL)
AC_SUBST(BUILD_DLTEST)
AC_SUBST(TCL_PACKAGE_PATH)