diff options
author | das <das> | 2008-08-13 23:07:27 (GMT) |
---|---|---|
committer | das <das> | 2008-08-13 23:07:27 (GMT) |
commit | 9275a5bc8db6801fe07226b36baa4370158a3bcb (patch) | |
tree | aa4af0b09c34e61f9029959df3223df2bca38ae4 /unix | |
parent | b239b96cfda8b81609049fa935a22c8a12c69ce0 (diff) | |
download | tcl-9275a5bc8db6801fe07226b36baa4370158a3bcb.zip tcl-9275a5bc8db6801fe07226b36baa4370158a3bcb.tar.gz tcl-9275a5bc8db6801fe07226b36baa4370158a3bcb.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]
Diffstat (limited to 'unix')
-rw-r--r-- | unix/Makefile.in | 4 | ||||
-rw-r--r-- | unix/configure.in | 5 |
2 files changed, 6 insertions, 3 deletions
diff --git a/unix/Makefile.in b/unix/Makefile.in index 23b6116..b7cabd4 100644 --- a/unix/Makefile.in +++ b/unix/Makefile.in @@ -5,7 +5,7 @@ # "autoconf" program (constructs like "@foo@" will get replaced in the # actual Makefile. # -# RCS: @(#) $Id: Makefile.in,v 1.121.2.27 2008/06/12 20:09:18 das Exp $ +# RCS: @(#) $Id: Makefile.in,v 1.121.2.28 2008/08/13 23:07:27 das Exp $ VERSION = @TCL_VERSION@ MAJOR_VERSION = @TCL_MAJOR_VERSION@ @@ -175,7 +175,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 diff --git a/unix/configure.in b/unix/configure.in index d3e004c..478428c 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.106.2.44 2008/06/12 06:37:04 das Exp $ +# RCS: @(#) $Id: configure.in,v 1.106.2.45 2008/08/13 23:07:27 das Exp $ AC_INIT(../generic/tcl.h) AC_PREREQ(2.13) @@ -544,6 +544,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) DTRACE_SRC="\${DTRACE_SRC}" @@ -554,6 +555,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' @@ -755,6 +757,7 @@ AC_SUBST(TCL_HAS_LONGLONG) 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) |