Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- char luaL_newstate ();
- int
- main ()
- {
- return luaL_newstate ();
- ;
- return 0;
- }
- _ACEOF
- if ac_fn_c_try_link "$LINENO"; then :
- ac_cv_lib_lua5_1_luaL_newstate=yes
- else
- ac_cv_lib_lua5_1_luaL_newstate=no
- fi
- rm -f core conftest.err conftest.$ac_objext \
- conftest$ac_exeext conftest.$ac_ext
- LIBS=$ac_check_lib_save_LIBS
- fi
- { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_lua5_1_luaL_newstate" >&5
- $as_echo "$ac_cv_lib_lua5_1_luaL_newstate" >&6; }
- if test "x$ac_cv_lib_lua5_1_luaL_newstate" = xyes; then :
- LUA_MISSING=no
- fi
- if test "$LUA_MISSING" = "no"; then
- LUA_LIBS=-llua5.1
- if test -d /usr/include/lua5.1; then
- LUA_CFLAGS="-I/usr/include/lua5.1"
- fi
- fi
- fi
- if test "$LUA_MISSING" = "yes"; then
- echo
- echo "*** liblua is required to build StepMania; please make sure that"
- echo "*** it is installed to continue the installation process."
- exit 1
- else
- $as_echo "#define HAVE_LUA51 1" >>confdefs.h
- fi
- fi
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement