mirror of
git://projects.qi-hardware.com/gmenu2x.git
synced 2024-11-22 12:48:26 +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:
parent
0d26a2a456
commit
bb7775a326
11
configure.in
11
configure.in
@ -30,6 +30,11 @@ AC_ARG_ENABLE(platform,
|
|||||||
[ --enable-platform=X specify the targeted platform],
|
[ --enable-platform=X specify the targeted platform],
|
||||||
[GMENU2X_PLATFORM="$enableval"], [GMENU2X_PLATFORM="default"])
|
[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
|
case "$GMENU2X_PLATFORM" in
|
||||||
a320)
|
a320)
|
||||||
AC_DEFINE(PLATFORM_A320)
|
AC_DEFINE(PLATFORM_A320)
|
||||||
@ -52,12 +57,6 @@ case "$GMENU2X_PLATFORM" in
|
|||||||
PLATFORM="pandora"
|
PLATFORM="pandora"
|
||||||
SCREEN_RES="800x480"
|
SCREEN_RES="800x480"
|
||||||
;;
|
;;
|
||||||
default)
|
|
||||||
AC_MSG_WARN([*** No --enable-platform specified. Defaulting to "pc".])
|
|
||||||
AC_DEFINE(PLATFORM_PC)
|
|
||||||
PLATFORM="pc"
|
|
||||||
SCREEN_RES="800x480"
|
|
||||||
;;
|
|
||||||
pc)
|
pc)
|
||||||
AC_DEFINE(PLATFORM_PC)
|
AC_DEFINE(PLATFORM_PC)
|
||||||
PLATFORM="pc"
|
PLATFORM="pc"
|
||||||
|
Loading…
Reference in New Issue
Block a user