Improvement to admin/detect-autoconf.sh [PATCH]
Michael Pyne
pynm0001 at comcast.net
Sun Jul 17 06:41:24 BST 2005
On Sunday 17 July 2005 00:12, Michael Pyne wrote:
> I think it's probably an unsermake issue, will investigate to see if I can
> fix it.
The following patch fixes it. I'm not exactly familiar with unsermake
internals, so I'm posting it here first but it seems trivial enough, so I
will commit tomorrow if there are no objections. Basically the change is to
use the autoconf given in the environment if present (such as when being
called from cvs.sh).
Index: utilities.py
===================================================================
--- utilities.py (revision 424540)
+++ utilities.py (working copy)
@@ -100,7 +100,8 @@
tracelines = open( ".autoconf_trace" ).readlines()
if not len(tracelines):
- traces = "autoconf -t AC_SUBST -t AC_CONFIG_FILES -t
AC_CONFIG_AUX_DIR -t AC_CONFIG_HEADERS"
+ autoconf = os.environ.get('AUTOCONF', 'autoconf')
+ traces = autoconf + " -t AC_SUBST -t AC_CONFIG_FILES -t
AC_CONFIG_AUX_DIR -t AC_CONFIG_HEADERS"
tracelines = os.popen( traces ).readlines()
if not len(tracelines):
print 'couldn\'t call', traces
Regards,
- Michael Pyne
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 189 bytes
Desc: not available
URL: <http://mail.kde.org/pipermail/kde-core-devel/attachments/20050717/30ca8b60/attachment.sig>
More information about the kde-core-devel
mailing list