Commit 48863e4a authored by jdelange's avatar jdelange
Browse files

* configure.ac

   - Enable LUA engine with --enable-lua flag



git-svn-id: https://tecsw.estec.esa.int/svn/taste/trunk/po-hi-c@3755 129961e7-ef38-4bb5-a8f7-c9a525a55882
parent b58f08ba
...@@ -64,9 +64,6 @@ case ${host_os} in ...@@ -64,9 +64,6 @@ case ${host_os} in
esac esac
AC_CHECK_LIB(socket, socket, [NATIVE_LDFLAGS="${NATIVE_LDFLAGS} -lsocket"]) AC_CHECK_LIB(socket, socket, [NATIVE_LDFLAGS="${NATIVE_LDFLAGS} -lsocket"])
AC_CHECK_LIB(lua5.1, luaL_openlibs, [NATIVE_LDFLAGS="${NATIVE_LDFLAGS} -llua5.1"])
AC_CHECK_LIB(lua5.1, luaL_openlibs, [])
AC_SUBST(NATIVE_CFLAGS) AC_SUBST(NATIVE_CFLAGS)
AC_SUBST(NATIVE_LDFLAGS) AC_SUBST(NATIVE_LDFLAGS)
...@@ -108,6 +105,10 @@ AC_ARG_ENABLE(giop, ...@@ -108,6 +105,10 @@ AC_ARG_ENABLE(giop,
[ --enable-giop Use the GIOP protocol], [ --enable-giop Use the GIOP protocol],
[ AC_DEFINE([__PO_HI_USE_GIOP], [], ["Enable the GIOP protocol"])]) [ AC_DEFINE([__PO_HI_USE_GIOP], [], ["Enable the GIOP protocol"])])
AC_ARG_ENABLE(lua,
[ --enable-lua Use the LUA script engine],
[ AC_DEFINE([__PO_HI_USE_LUA], [], ["Enable the LUA script engine"])])
############################################ ############################################
# Set the value corresponding to cygpath -u # Set the value corresponding to cygpath -u
############################################ ############################################
......
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment