Remove old legacy code: don't set LUA_CFLAGS and LUA50_CFLAGS to $CPPFLAGS.

Originally committed to SVN as r2660.
This commit is contained in:
Amar Takhar 2009-01-06 11:20:56 +00:00
parent 675c4caa09
commit 7e764f2ab1

View file

@ -673,10 +673,6 @@ AC_ARG_WITH(lua,
AC_ARG_VAR([LUA_CFLAGS], [CFLAGS to use for LUA 5.1 (default: CPPFLAGS)]) AC_ARG_VAR([LUA_CFLAGS], [CFLAGS to use for LUA 5.1 (default: CPPFLAGS)])
AC_ARG_VAR([LUA_LDFLAGS], [LDFLAGS to use for LUA 5.1 (default: -llua)]) AC_ARG_VAR([LUA_LDFLAGS], [LDFLAGS to use for LUA 5.1 (default: -llua)])
if test -z "$LUA_CFLAGS"; then
LUA_CFLAGS="$CPPFLAGS";
fi
if test -z "$LUA_LDFLAGS"; then if test -z "$LUA_LDFLAGS"; then
LUA_LDFLAGS="-llua"; LUA_LDFLAGS="-llua";
fi fi
@ -723,10 +719,6 @@ if test -z "$LUA50_LDFLAGS"; then
LUA50_LDFLAGS="-llua -llualib"; LUA50_LDFLAGS="-llua -llualib";
fi fi
if test -z "$LUA50_CFLAGS"; then
LUA50_CFLAGS="$CPPFLAGS";
fi
AC_ARG_WITH(lua50, AC_ARG_WITH(lua50,
[ --without-lua50 build without lua 5.0 (auto3)], [lua50_disabled="(disabled)"]) [ --without-lua50 build without lua 5.0 (auto3)], [lua50_disabled="(disabled)"])