diff options
author | das <das> | 2008-08-13 23:07:16 (GMT) |
---|---|---|
committer | das <das> | 2008-08-13 23:07:16 (GMT) |
commit | 5986175459fc8343fed71e8a27813e69b47cb32d (patch) | |
tree | d215ac0ba47459ee38a87874d4733f65ed0425ad /unix | |
parent | 07b124d9fd66e9df826368e3c867ede5a4e5d9a0 (diff) | |
download | tcl-5986175459fc8343fed71e8a27813e69b47cb32d.zip tcl-5986175459fc8343fed71e8a27813e69b47cb32d.tar.gz tcl-5986175459fc8343fed71e8a27813e69b47cb32d.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 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) |