From: Vincent T. <vt...@un...> - 2010-04-29 10:11:56
|
On Thu, 29 Apr 2010, Enlightenment SVN wrote: > Log: > fix ehal build, I'll figure this out later that's not really a fix :p > dnl Check enabled modules to build > -AC_ARG_ENABLE([ehal],[AC_HELP_STRING([--disable-ehal], [Disable ehal build])]) > -AS_IF( > - [test "x$enableval" != "xno"], > - AC_CHECK_PROG([enable_ehal],lshal,yes,no) > - [enable_ehal=no], > -) don't use $enableval outside the AC_ARG_ENABLE macro. AS_IF is really not needed here. the standard shell tests are sufficient. AS_IF is useful wen your have several tests to be done, with, at the end, a default value. And btw, some are not sufficiently quoted. Also, why do you check the existence of lshal, udisks or upower programs ? Vincent > +AC_ARG_ENABLE([ehal],[AC_HELP_STRING([--disable-ehal], [Disable ehal build])],[enable_ehal=yes],[enable_ehal=no]) > +#AS_IF( > +# [test "x$enableval" != "xno"], > +# AC_CHECK_LIB([hal],[libhal_get_all_devices],[enable_ehal=yes],[enable_ehal=no]) > +# [enable_ehal=no], > +#) > > #AC_ARG_ENABLE([eudev],[AC_HELP_STRING([--disable-eudev], [Disable eudev build])]) > #AS_IF( > > > ------------------------------------------------------------------------------ > _______________________________________________ > enlightenment-svn mailing list > enl...@li... > https://lists.sourceforge.net/lists/listinfo/enlightenment-svn > > |