configure.ac: Set values to support a default configuration

The recipe for this repo sets by default two values: support a max
of one bmc version (supporting two is not currently supported in
the default static bmc layout and also should be opt-in as it
increases complexity), and sets the media directory to /run/media
(the default fstab mounts /run as tmpfs whereas the ubi distro
feature has a modified fstab to mount /media as a tmpfs).

Set these values as default in the config file so that users
building this repo get the expected options for a default
configuration.

The recipe when building for a ubi layout sets these variables
accordingly (max number to 2 and media dir to /media).

Change-Id: I031fdaba0a27fe3fb58a6bc10581975e62ef5cc3
Signed-off-by: Adriana Kobylak <anoo@us.ibm.com>
diff --git a/configure.ac b/configure.ac
index 5fba420..cf3e30b 100755
--- a/configure.ac
+++ b/configure.ac
@@ -120,7 +120,7 @@
     [The systemd interface])
 
 AC_ARG_VAR(MEDIA_DIR, [The base dir where all RO partitions are mounted])
-AS_IF([test "x$MEDIA_DIR" == "x"], [MEDIA_DIR="/media"])
+AS_IF([test "x$MEDIA_DIR" == "x"], [MEDIA_DIR="/run/media"])
 AC_DEFINE_UNQUOTED([MEDIA_DIR], ["$MEDIA_DIR"], [The base dir where all RO partitions are mounted])
 
 AC_DEFINE_UNQUOTED(BMC_ROFS_PREFIX, "$MEDIA_DIR/rofs-",
@@ -159,7 +159,7 @@
 AC_DEFINE_UNQUOTED([SIGNATURE_FILE_EXT], ["$SIGNATURE_FILE_EXT"], [The extension of the Signature file])
 
 AC_ARG_VAR(ACTIVE_BMC_MAX_ALLOWED, [The maximum allowed active BMC versions])
-AS_IF([test "x$ACTIVE_BMC_MAX_ALLOWED" == "x"], [ACTIVE_BMC_MAX_ALLOWED=2])
+AS_IF([test "x$ACTIVE_BMC_MAX_ALLOWED" == "x"], [ACTIVE_BMC_MAX_ALLOWED=1])
 AC_DEFINE_UNQUOTED([ACTIVE_BMC_MAX_ALLOWED], [$ACTIVE_BMC_MAX_ALLOWED],
     [The maximum allowed active BMC versions])