added -d option to util/install and also made the -m option optional. fixed compatibility issue on Solaris with lua-cjson: there is no isinf on Solaris 11.

This commit is contained in:
agentzh (章亦春)
2011-08-10 14:59:16 +08:00
parent 32ef993e05
commit 3aedf4d8e5
2 changed files with 15 additions and 12 deletions

2
util/configure vendored
View File

@ -553,7 +553,7 @@ _EOC_
"LUA_LIB_DIR=$lualib_prefix";
if ($on_solaris) {
$extra_opts .= " INSTALL=$root_dir/build/install";
$extra_opts .= " INSTALL=$root_dir/build/install CFLAGS=\"-g -O3 -Wall -pedantic -D'isinf(x)=0'\"";
}
if ($platform eq 'macosx') {