mirror of
git://projects.qi-hardware.com/gmenu2x.git
synced 2024-11-25 06:54:39 +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],
|
||||
[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"
|
||||
|
Loading…
Reference in New Issue
Block a user