()
| 410 | } |
| 411 | |
| 412 | func (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 | } |
no test coverage detected