]> git.donarmstrong.com Git - debhelper.git/blobdiff - Debian/Debhelper/Buildsystem/autoconf.pm
Improve build system auto-selection process
[debhelper.git] / Debian / Debhelper / Buildsystem / autoconf.pm
index a97de9c66ab9f85a670f4c94b01a47f1312eac1b..d7b0bed251b251adcba7fafcdc229706cbb58b96 100644 (file)
@@ -18,9 +18,9 @@ sub check_auto_buildable {
        my $this=shift;
        my ($step)=@_;
 
-       # Handle configure; the rest - next class
+       # Handle configure; the rest - next class (compat with 7.0.x code path)
        if ($step eq "configure") {
-               return -x $this->get_sourcepath("configure");
+               return 1 if -x $this->get_sourcepath("configure");
        }
        return 0;
 }