On Mon, 14 Jan 2008, Enlightenment CVS wrote:

> Enlightenment CVS committal
>
> AC_PATH_PROG(EDJE_CC, "edje_cc", "", $PATH)
>
> -have_emprint="yes"
> AC_PATH_PROG(EMPRINT, "emprint", "", $PATH)
> if test "$EMPRINT" = ""; then
> AC_MSG_ERROR(emprint not found)

I think that what you want to use is AC_CHECK_PROG and not AC_PATH_PROG

AC_CHECK_PROG checks if a program is in PATH.
AC_PATH_PROG does the same but set the vaiable (1st arg) to the absolute 
name.

AC_CHECK_PROG has a value_if_found / value_if_not_found arguments, which 
you can use to test if emprint is found or not

Vincent

-------------------------------------------------------------------------
Check out the new SourceForge.net Marketplace.
It's the best place to buy or sell services for
just about anything Open Source.
http://ad.doubleclick.net/clk;164216239;13503038;w?http://sf.net/marketplace
_______________________________________________
enlightenment-devel mailing list
enlightenment-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/enlightenment-devel

Reply via email to