[dbusservicedir=$withval])
AC_SUBST(dbusservicedir)
+efl_deprecated_option="no"
EFL_WITH_BIN([edje], [edje-cc])
echo ""
echo "#-------------------------------------------------------------------#"
fi
+
+if test "x${efl_deprecated_option}" = "xyes"; then
+ echo ""
+ echo "#-------------------------------------------------------------------#"
+ echo "##==-- ALERT --==##"
+ echo "#-------------------------------------------------------------------#"
+ echo ""
+ echo " Your build script is using a deprecated option. It will get b0rken"
+ echo "with the next release of EFL. You better update it now than later."
+ echo ""
+ echo "#-------------------------------------------------------------------#"
+fi
m4_pushdef([UP], m4_translit([[$2]], [-a-z], [_A-Z]))dnl
dnl configure option
+_efl_with_binary=""
+_efl_binary_define="no"
+
AC_ARG_WITH([$2],
[AC_HELP_STRING([--with-$2=PATH], [specify a specific path to ]DOWN[ @<:@default=]DOWN[@:>@])],
[
_efl_with_binary=${withval}
_efl_binary_define="yes"
- ],
+ ], [])
+
+AC_ARG_WITH([bin-$2],
+ [AC_HELP_STRING([--with-bin-$2=PATH], [specify a specific path to ]DOWN[ @<:@default=]DOWN[@:>@ DEPRECATED])],
[
- _efl_with_binary=""
- _efl_binary_define="no"
- ]
-)
+ _efl_with_binary=${withval}
+ _efl_binary_define="yes"
+ efl_deprecated_option="yes"
+ ], [])
DOWN=${_efl_with_binary}
AC_MSG_NOTICE(DOWN[ set to ${_efl_with_binary}])