configure: Fix --enable-unsupported-rhel-options

This commit is contained in:
Cole Robinson 2011-03-29 09:28:49 -04:00
parent c38dec4821
commit bdb54488b7
1 changed files with 3 additions and 1 deletions

View File

@ -69,7 +69,9 @@ AC_ARG_ENABLE([unsupported-rhel-options],
AC_HELP_STRING(
[--enable-unsupported-rhel-options],
[enable VM config options unsupported by RHEL @<:@default=yes@:>@]),
[test "x$enableval" == "xno" && ENABLE_UNSUPPORTED_RHEL_OPTS=0],
[test "x$enableval" == "xno" && \
ENABLE_UNSUPPORTED_RHEL_OPTS=0 ||
ENABLE_UNSUPPORTED_RHEL_OPTS=1],
[ENABLE_UNSUPPORTED_RHEL_OPTS=1])
dnl Allow passing in a prefered distro list