Fixed ENABLE argument required to enable P10 support
ENABLE arguments are expected to begin with --enable or --disable
Tested manually to ensure correct behavior
Change-Id: Ibfe766f9388eb74a49ec72f4e140c41f46013f45
Signed-off-by: Chris Cain <cjcain@us.ibm.com>
diff --git a/configure.ac b/configure.ac
index 892378c..b3c62e9 100644
--- a/configure.ac
+++ b/configure.ac
@@ -88,11 +88,11 @@
)
AC_ARG_ENABLE([power10-support],
- AS_HELP_STRING([--with-power10-support], [To specify if system has power10 support])
+ AS_HELP_STRING([--enable-power10-support], [Enable Power10 support])
)
- AM_CONDITIONAL([POWER10_SUPPORT], [test "$with_power10_support" == "yes"])
- AS_IF([test "x$with_power10_support" == "xyes"],
- AC_MSG_NOTICE([Enabling POWER10])
+ AM_CONDITIONAL([POWER10_SUPPORT], [test "$enable_power10_support" == "yes"])
+ AS_IF([test "x$enable_power10_support" == "xyes"],
+ AC_MSG_NOTICE([Enabling POWER10 Support])
[
cpp_flags="$CPPFLAGS -DPOWER10"
]