7010243 userland should pass CONFIG_SHELL in the configure environment
authorNorm Jacobs <Norm.Jacobs@Sun.COM>
Wed, 05 Jan 2011 13:27:53 -0800
changeset 57 91dc164c5b46
parent 56 2b7bb5d1216b
child 58 d8024c042a00
7010243 userland should pass CONFIG_SHELL in the configure environment
make-rules/configure.mk
--- a/make-rules/configure.mk	Wed Jan 05 09:51:40 2011 -0800
+++ b/make-rules/configure.mk	Wed Jan 05 13:27:53 2011 -0800
@@ -18,7 +18,7 @@
 #
 # CDDL HEADER END
 #
-# Copyright (c) 2010, Oracle and/or it's affiliates.  All rights reserved.
+# Copyright (c) 2010, 2011 Oracle and/or it's affiliates.  All rights reserved.
 #
 
 #
@@ -50,6 +50,8 @@
 
 CONFIG_SHELL =	/bin/bash
 
+CONFIGURE_ENV = CONFIG_SHELL="$(CONFIG_SHELL)"
+
 CONFIGURE_OPTIONS += --prefix=/usr
 CONFIGURE_OPTIONS += CC="$(CC)"
 CONFIGURE_OPTIONS += CXX="$(CCC)"