Browse Source

Fix luac detection error case

ac_cv_path_XX only caches positive results, not failures
pull/2/head
Rafaël Carré 16 years ago
parent
commit
6f81ceb158
  1. 2
      configure.ac

2
configure.ac

@ -1613,7 +1613,7 @@ then
fi
AC_ARG_VAR([LUAC], [LUA byte compiler])
AC_PATH_PROGS(LUAC,[${LUAC} luac], [false])
AS_IF([test "${ac_cv_path_LUAC}" = "false"], [
AS_IF([test "${LUAC}" = "false"], [
AC_MSG_ERROR([Could not find the LUA byte compiler.])
])
fi

Loading…
Cancel
Save