added some tests for the new option --with-luajit-xcflags.

This commit is contained in:
agentzh (章亦春)
2012-05-14 13:48:48 +08:00
parent eecc5010eb
commit 3f8ad8af58
2 changed files with 146 additions and 14 deletions

4
util/configure vendored
View File

@ -517,12 +517,12 @@ _END_
if ($opts->{debug}) {
$luajit_xcflags .= " -DLUA_USE_APICHECK -DLUA_USE_ASSERT";
$luajit_xcflags =~ s/^ +//;
$extra_opts = qq{ CCDEBUG=-g Q= XCFLAGS='$luajit_xcflags'};
$extra_opts .= qq{ CCDEBUG=-g Q= XCFLAGS='$luajit_xcflags'};
} else {
if ($luajit_xcflags) {
$luajit_xcflags =~ s/^ +//;
$extra_opts = qq{ CCDEBUG=-g XCFLAGS='$luajit_xcflags'};
$extra_opts .= qq{ XCFLAGS='$luajit_xcflags'};
}
}