1
0
mirror of git://projects.qi-hardware.com/gmenu2x.git synced 2024-11-22 00:39:41 +02:00

Deduplicate default platform definition

Actually select "pc" instead of having a "default" platform that is
equivalent to "pc".
This commit is contained in:
Maarten ter Huurne 2015-04-21 18:12:30 +02:00
parent 0d26a2a456
commit bb7775a326

View File

@ -30,6 +30,11 @@ AC_ARG_ENABLE(platform,
[ --enable-platform=X specify the targeted platform],
[GMENU2X_PLATFORM="$enableval"], [GMENU2X_PLATFORM="default"])
if test "x$GMENU2X_PLATFORM" == xdefault ; then
AC_MSG_WARN([*** No --enable-platform specified. Defaulting to "pc".])
GMENU2X_PLATFORM=pc
fi
case "$GMENU2X_PLATFORM" in
a320)
AC_DEFINE(PLATFORM_A320)
@ -52,12 +57,6 @@ case "$GMENU2X_PLATFORM" in
PLATFORM="pandora"
SCREEN_RES="800x480"
;;
default)
AC_MSG_WARN([*** No --enable-platform specified. Defaulting to "pc".])
AC_DEFINE(PLATFORM_PC)
PLATFORM="pc"
SCREEN_RES="800x480"
;;
pc)
AC_DEFINE(PLATFORM_PC)
PLATFORM="pc"