cleanup --with-profile handling

SVN revision: 40433
This commit is contained in:
Mike Frysinger 2009-04-28 05:50:02 +00:00
parent 9f12e0f3de
commit d8e2b2b412
1 changed files with 4 additions and 10 deletions

View File

@ -271,16 +271,10 @@ AC_SUBST(requirements_e)
profile="SLOW_PC" profile="SLOW_PC"
AC_ARG_WITH(profile, AC_ARG_WITH(profile,
[ --with-profile=TARGET_PROFILE specify a target format profile of: AS_HELP_STRING([--with-profile=TARGET_PROFILE], [specify a target format profile of:
LOWRES_PDA, MEDIUMRES_PDA, HIRES_PDA, LOWRES_PDA, MEDIUMRES_PDA, HIRES_PDA, SLOW_PC, MEDIUM_PC, FAST_PC]),
SLOW_PC, MEDIUM_PC, FAST_PC ], [profile=$withval])
[ AC_MSG_NOTICE([Enlightenment build profile set to $profile])
v=$withval;
profile=$v
echo " Enlightenment build profile set to "$profile;
],[
profile="SLOW_PC"
])
EDJE_DEF="-DLOWRES_PDA=1 -DMEDIUMRES_PDA=2 -DHIRES_PDA=3 -DSLOW_PC=4 -DMEDIUM_PC=5 -DFAST_PC=6" EDJE_DEF="-DLOWRES_PDA=1 -DMEDIUMRES_PDA=2 -DHIRES_PDA=3 -DSLOW_PC=4 -DMEDIUM_PC=5 -DFAST_PC=6"
EDJE_DEF=$EDJE_DEF" -DE17_PROFILE"=$profile EDJE_DEF=$EDJE_DEF" -DE17_PROFILE"=$profile
AC_SUBST(EDJE_DEF) AC_SUBST(EDJE_DEF)