summaryrefslogtreecommitdiffstats
path: root/unix
diff options
context:
space:
mode:
authordas <das>2009-01-03 13:55:09 (GMT)
committerdas <das>2009-01-03 13:55:09 (GMT)
commit30a5a31dbe213ffa9652e1ced1ca0cecadd1c73a (patch)
treef789f4c7c3e974c7f0602ef0ba23c74c2dbea7ef /unix
parentcf0b7b4b4ffafdba7dcd3dbf1f4870902f967721 (diff)
downloadtcl-30a5a31dbe213ffa9652e1ced1ca0cecadd1c73a.zip
tcl-30a5a31dbe213ffa9652e1ced1ca0cecadd1c73a.tar.gz
tcl-30a5a31dbe213ffa9652e1ced1ca0cecadd1c73a.tar.bz2
use correct autconf magic to pass configure args & environment to pkg sub-configures
(in particular compatible with autoconf 2.61, which some insist on using even though it was decided we could not switch to it yet...)
Diffstat (limited to 'unix')
-rw-r--r--unix/configure.in9
1 files changed, 2 insertions, 7 deletions
diff --git a/unix/configure.in b/unix/configure.in
index a08dddc..f97ded3 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.203 2009/01/02 16:43:50 dkf Exp $
+# RCS: @(#) $Id: configure.in,v 1.204 2009/01/03 13:55:09 das Exp $
AC_INIT([tcl],[8.6])
AC_PREREQ(2.59)
@@ -34,12 +34,7 @@ VERSION=${TCL_VERSION}
# Setup configure arguments for bundled packages
#------------------------------------------------------------------------
-PKG_CFG_ARGS="$@ ${PKG_CFG_ARGS}"
-
-# Ensure environment of sub-configure is the same as ours
-for v in CC CPP CFLAGS CPPFLAGS LDFLAGS; do
- eval 'test -n "$'$v'" && PKG_CFG_ARGS="$v=\"$'$v'\" $PKG_CFG_ARGS"'
-done
+PKG_CFG_ARGS="$ac_configure_args ${PKG_CFG_ARGS}"
if test -r "$cache_file" -a -f "$cache_file"; then
case $cache_file in