Skip to content
Snippets Groups Projects
Commit d3d4267f authored by Steve Lhomme's avatar Steve Lhomme Committed by Hugo Beauzée-Luyssen
Browse files

configure: don't check luac in deprecated path

Maybe it was OK to keep it in 3.0 but in 4.0 we can't expect to reuse ancient
folders, just to save a luac rebuild.

Also add a nice message when configuring.
parent 772a68b2
No related branches found
No related tags found
1 merge request!1490contrib: fix detection of luac and protoc to match the configure script
......@@ -534,14 +534,12 @@ AS_IF([test -n "${CONTRIB_DIR}"], [
LDFLAGS="${LDFLAGS} -L${CONTRIB_DIR}/lib"
AS_IF([test -z "$LUAC"], [
dnl Old contribs mixed cross-tools and cross-compiled executables
AS_IF([test -x "${CONTRIB_DIR}/bin/luac${BUILDEXEEXT}"], [
LUAC="${CONTRIB_DIR}/bin/luac${BUILDEXEEXT}"
])
dnl Newer contribs follow usual name space rules
AC_MSG_CHECKING([if contribs provide luac])
AS_IF([test -x "${CONTRIB_DIR}/../bin/${host_alias}-luac${BUILDEXEEXT}"], [
LUAC="${CONTRIB_DIR}/../bin/${host_alias}-luac${BUILDEXEEXT}"
AC_MSG_RESULT([yes])
],[
AC_MSG_RESULT([no])
])
])
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment