MCPcopy Create free account
hub / github.com/celer-pkg/celer / shouldConfigureWithPerl

Method shouldConfigureWithPerl

buildsystems/build_makefiles.go:412–428  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

410}
411
412func (m makefiles) shouldConfigureWithPerl() bool {
413 // Some libraries should be configured with perl, such as openssl.
414 entities, err := os.ReadDir(m.PortConfig.SrcDir)
415 if err != nil {
416 return false
417 }
418 for _, entity := range entities {
419 if entity.IsDir() {
420 continue
421 }
422 if entity.Name() == "Configure" {
423 return true
424 }
425 }
426
427 return false
428}

Callers 5

CheckToolsMethod · 0.95
configureOptionsMethod · 0.95
ConfigureMethod · 0.95
BuildMethod · 0.95
InstallMethod · 0.95

Calls 1

NameMethod · 0.65

Tested by

no test coverage detected