lib/autobuild/packages/autotools.rb in autobuild-1.21.0 vs lib/autobuild/packages/autotools.rb in autobuild-1.22.0
- old
+ new
@@ -23,17 +23,12 @@
# autodetected.
#
# To override this default behaviour on a per-package basis, use Autotools#use
#
class Autotools < Configurable
- attr_accessor :using
- attr_accessor :configureflags
- attr_accessor :aclocal_flags
- attr_accessor :autoheader_flags
- attr_accessor :autoconf_flags
- attr_accessor :automake_flags
- attr_accessor :bear_flags
+ attr_accessor :using, :configureflags, :aclocal_flags, :autoheader_flags,
+ :autoconf_flags, :automake_flags, :bear_flags
@builddir = 'build'
@@enable_bear_globally = false
def self.enable_bear_globally?
@@ -276,10 +271,10 @@
file conffile => confsource
elsif (confext = %w[.ac .in].find { |ext| File.exist?("#{conffile}#{ext}") })
file conffile => "#{conffile}#{confext}"
elsif using[:autoconf]
raise PackageException.new(self, 'prepare'),
- "neither configure.ac nor configure.in present in #{srcdir}"
+ "neither configure.ac nor configure.in present in #{srcdir}"
end
file conffile do
isolate_errors do
progress_start "generating autotools for %s",