bugfix: ./configure: --with-pcre=PATH did not accept relative path in PATH. thanks smallfish for reporting this issue.

This commit is contained in:
agentzh (Yichun Zhang)
2012-11-11 21:59:48 -08:00
parent 7265b0920d
commit b447ec474e
2 changed files with 70 additions and 2 deletions

5
util/configure vendored
View File

@ -243,6 +243,11 @@ for my $opt (@ARGV) {
my $path = File::Spec->rel2abs($1);
push @ngx_opts, "--with-openssl=$path";
} elsif ($opt =~ /^--with-pcre=(.*)/) {
my $path = File::Spec->rel2abs($1);
push @ngx_opts, "--with-pcre=$path";
} elsif ($opt =~ /^--\w.*/) {
push @ngx_opts, $opt;