From 09598a3e19f841de774ba890d6f941f3b5c8fade Mon Sep 17 00:00:00 2001 From: "agentzh (Yichun Zhang)" Date: Tue, 16 Apr 2013 17:30:28 -0700 Subject: [PATCH] util/dist-check: enabled ngx_iconv in the test build. --- util/dist-check | 7 ++++--- 1 file changed, 4 insertions(+), 3 deletions(-) diff --git a/util/dist-check b/util/dist-check index 9e76706..025b4f9 100755 --- a/util/dist-check +++ b/util/dist-check @@ -29,12 +29,13 @@ if ($^O eq 'freebsd' || $^O eq 'solaris') { $make = 'make'; } +my $cfg_opts = "--with-http_iconv_module"; my $prefix; warn "=== Normal Build ===\n"; $prefix = "/usr/local/openresty"; unless ($opts{f}) { - sh "./configure --with-luajit -j$jobs > /dev/null"; + sh "./configure --with-luajit $cfg_opts -j$jobs > /dev/null"; } sh "$make -j$jobs > /dev/null"; sh "sudo $make install > /dev/null"; @@ -48,7 +49,7 @@ sh "sudo $prefix/nginx/sbin/nginx -sstop"; warn "\n=== Debug Build ===\n"; $prefix = "/usr/local/openresty-debug"; unless ($opts{f}) { - sh "./configure --with-debug --prefix=$prefix --with-luajit -j$jobs > /dev/null"; + sh "./configure --with-debug $cfg_opts --prefix=$prefix --with-luajit -j$jobs > /dev/null"; } sh "$make -j$jobs > /dev/null"; sh "sudo $make install > /dev/null"; @@ -63,7 +64,7 @@ sh "sudo $prefix/nginx/sbin/nginx -sstop"; warn "\n=== DTrace Build ===\n"; $prefix = "/usr/local/openresty-dtrace"; unless ($opts{f}) { - sh "./configure --with-dtrace-probes --prefix=$prefix --with-luajit -j$jobs > /dev/null"; + sh "./configure $cfg_opts --with-dtrace-probes --prefix=$prefix --with-luajit -j$jobs > /dev/null"; } sh "$make -j$jobs > /dev/null"; sh "sudo $make install > /dev/null";