[prev in list] [next in list] [prev in thread] [next in thread] 

List:       kde-core-devel
Subject:    Re: Improvement to admin/detect-autoconf.sh [PATCH]
From:       Michael Pyne <pynm0001 () comcast ! net>
Date:       2005-07-17 5:41:24
Message-ID: 200507170141.29348.pynm0001 () comcast ! net
[Download RAW message or body]


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

[Attachment #3 (application/pgp-signature)]

[prev in list] [next in list] [prev in thread] [next in thread] 

Configure | About | News | Add a list | Sponsored by KoreLogic