From 30a5a31dbe213ffa9652e1ced1ca0cecadd1c73a Mon Sep 17 00:00:00 2001 From: das Date: Sat, 3 Jan 2009 13:55:09 +0000 Subject: 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...) --- unix/configure.in | 9 ++------- 1 file 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 -- cgit v0.12