- print "Attempting to build using the $compiler compiler and the $socketengine socket engine...\n";
- if (system './configure', '--disable-interactive', "--socketengine=$socketengine") {
- print "Failed to configure using the $compiler compiler and the $socketengine socket engine!\n";
- exit 1;
- }
- $ENV{PURE_STATIC} = 1;
- if (system 'make', '-j'.get_cpu_count, 'install') {
- print "Failed to compile with static modules using the $compiler compiler and the $socketengine socket engine!\n";
+ say "Attempting to build using the $compiler compiler and the $socketengine socket engine...";
+ system './configure', '--enable-extras', $ENV{TEST_BUILD_MODULES} if defined $ENV{TEST_BUILD_MODULES};
+ if (system './configure', '--development', '--socketengine', $socketengine) {
+ say "Failed to configure using the $compiler compiler and the $socketengine socket engine!";