Skip to content

Commit b944640

Browse files
committed
Fail configure if --with-mixedrefs is used without CMake enabled
Signed-off-by: Sharon Wang <[email protected]>
1 parent 2aa1907 commit b944640

File tree

1 file changed

+5
-0
lines changed

1 file changed

+5
-0
lines changed

closed/autoconf/custom-hook.m4

+5
Original file line numberDiff line numberDiff line change
@@ -75,6 +75,11 @@ AC_DEFUN([OPENJ9_CONFIGURE_CMAKE],
7575
# at this point with_cmake should either be no, or the name of the cmake command
7676
if test "x$with_cmake" = xno ; then
7777
OPENJ9_ENABLE_CMAKE=false
78+
79+
# Currently, mixedrefs mode is only available with CMake enabled
80+
if test "x$OPENJ9_ENABLE_MIXED_REFERENCES" = xtrue ; then
81+
AC_MSG_ERROR([--with-mixedrefs cannot be used if CMake is disabled])
82+
fi
7883
else
7984
OPENJ9_ENABLE_CMAKE=true
8085
if AS_EXECUTABLE_P(["$with_cmake"]) ; then

0 commit comments

Comments
 (0)