diff options
author | Reuben Thomas <rrt@sc3d.org> | 2009-10-04 17:53:16 +0100 |
---|---|---|
committer | Reuben Thomas <rrt@sc3d.org> | 2009-10-04 17:53:16 +0100 |
commit | 3ab17306da251c90881bcc12a6fd3b9046b45db1 (patch) | |
tree | 9037c76dfaa24e40dbbdaef9131bd748dd8d4166 | |
parent | 2c7a3ab40744e203cb56063b8cddaadd08fbc7d0 (diff) | |
download | autoconf-archive-3ab17306da251c90881bcc12a6fd3b9046b45db1.tar.gz |
Remove --with-lua-{includes,libraries} as the GNU Coding Standards say
CPPFLAGS and LDFLAGS should be used for this sort of thing.
-rw-r--r-- | m4/ax_lua.m4 | 18 |
1 files changed, 3 insertions, 15 deletions
diff --git a/m4/ax_lua.m4 b/m4/ax_lua.m4 index e333d02..f489003 100644 --- a/m4/ax_lua.m4 +++ b/m4/ax_lua.m4 @@ -39,8 +39,6 @@ # --with-lua-prefix=DIR Lua files are in DIR. # --with-lua-suffix=ARG Lua binaries and library files are # suffixed with ARG. -# --with-lua-includes=DIR Lua include files are in DIR. -# --with-lua-libraries=DIR Lua library files are in DIR. # # LICENSE # @@ -81,13 +79,7 @@ AC_DEFUN([_AX_LUA_OPTS], [Lua files are in DIR])]) AC_ARG_WITH([lua-suffix], [AS_HELP_STRING([--with-lua-suffix=ARG], - [Lua binary and library files are suffixed with ARG])]) - AC_ARG_WITH([lua-includes], - [AS_HELP_STRING([--with-lua-includes=DIR], - [Lua include files are in DIR])]) - AC_ARG_WITH([lua-libraries], - [AS_HELP_STRING([--with-lua-libraries=DIR], - [Lua library files are in DIR])])])dnl + [Lua binary and library files are suffixed with ARG])])])dnl AC_DEFUN([AX_WITH_LUA], [_AX_LUA_OPTS @@ -144,9 +136,7 @@ AC_DEFUN([AX_LUA_VERSION], AC_DEFUN([AX_LUA_HEADERS], [_AX_LUA_OPTS - if test "x$with_lua_includes" != x; then - LUA_INCLUDE="-I$with_lua_includes" - elif test "x$with_lua_prefix" != x; then + if test "x$with_lua_prefix" != x; then LUA_INCLUDE="-I$with_lua_prefix/include" fi LUA_OLD_CPPFLAGS="$CPPFLAGS" @@ -156,9 +146,7 @@ AC_DEFUN([AX_LUA_HEADERS], AC_DEFUN([AX_LUA_LIBS], [_AX_LUA_OPTS - if test "x$with_lua_libraries" != x; then - LUA_LIB="-L$with_lua_libraries" - elif test "x$with_lua_prefix" != x; then + if test "x$with_lua_prefix" != x; then LUA_LIB="-L$with_lua_prefix/lib" fi AC_CHECK_LIB([m], [exp], [lua_extra_libs="$lua_extra_libs -lm"], []) |