PKG_CHECK_MODULES([EDJE_CC], [ecore-file >= 1.0.0 ecore-evas >= 1.0.0 ecore >= 1.0.0 evas >= 1.0.0 eet >= 1.0.0 eina >= 1.0.0])
EDJE_CC_LIBS="${EDJE_CC_LIBS} ${LUA_LIBS} ${lua_libs}"
fi
-AC_PATH_PROG([EPP], [epp])
-AM_CONDITIONAL([BUILD_EPP], [test "x$have_edje_cc" = "xyes" -a -z "$EPP"])
-if test -z "$EPP" ; then
- EPP=${prefix}/bin/epp
- AC_SUBST(EPP)
-fi
+AM_CONDITIONAL([BUILD_EPP], [test "x$have_edje_cc" = "xyes"])
+EPPDIR=${prefix}/lib/edje/utils
+AC_SUBST(EPPDIR)
if test "x$have_edje_decc" = "xyes"; then
PKG_CHECK_MODULES([EDJE_DECC], [ecore-file >= 1.0.0 ecore-evas >= 1.0.0 ecore >= 1.0.0 evas >= 1.0.0 eet >= 1.0.0 eina >= 1.0.0])
* Run the input through the C pre-processor.
*/
ret = -1;
- if (ecore_file_exists("@EPP@"))
+ if (ecore_file_exists("@EPPDIR@/epp"))
{
- snprintf(buf, sizeof(buf), "@EPP@ -I%s %s -P -o %s - < %s",
+ snprintf(buf, sizeof(buf), "@EPPDIR@/epp -I%s %s -P -o %s - < %s",
inc, def, tmpn, file_in);
ret = system(buf);
}
#the Free Software Foundation, 675 Mass Ave, Cambridge, MA 02139, USA.
MAINTAINERCLEANFILES = Makefile.in
-bin_PROGRAMS = epp
+eppdir = @EPPDIR@
+epp_PROGRAMS = epp
epp_SOURCES = \
cpplib.h \