On Sun, 30 Jan 2011 10:50:44 +0100 (CET) Vincent Torri <vto...@univ-evry.fr>
said:

> 
> 
> On Sun, 30 Jan 2011, Carsten Haitzler (The Rasterman) wrote:
> 
> > On Sun, 30 Jan 2011 10:43:17 +0100 (CET) Vincent Torri <vto...@univ-evry.fr>
> > said:
> >
> >>
> >>
> >> On Sun, 30 Jan 2011, Carsten Haitzler (The Rasterman) wrote:
> >>
> >>> On Sun, 30 Jan 2011 09:47:12 +0100 (CET) Vincent Torri
> >>> <vto...@univ-evry.fr> said:
> >>>
> >>>>
> >>>>
> >>>> On Sat, 29 Jan 2011, Enlightenment SVN wrote:
> >>>>
> >>>>> Log:
> >>>>> lock externals to major version of edje.
> >>>>
> >>>>
> >>>>
> >>>>> -EDJE_VERSION="1.0.0"
> >>>>> +EDJE_VERSION=`pkg-config edje --modversion | awk -F . '{printf("%
> >>>>> s.0.0", $1);}'`
> >>>>
> >>>> in shell, i have 1.0.0, but when i display the value of EDJE_VERSION, i
> >>>> get
> >>>>
> >>>> yes.0.0
> >>>
> >>> wtf? how do you get yes? that's a bit of shell.. and $1 is the first
> >>> field... totally bizarre. i get 1.0.0 here. how does the simple 1 liner +
> >>> awk get yes.0.0 for you and 1.0.0 for me.. and.. your m4 gets 1.0.0
> >>> always? how do they differ so they both always get 1.0.0??? first... i'd
> >>> like to know why it doesnt get the major version right. it's the same
> >>> issue lurking in both
> >>
> >> i added:
> >>
> >> AC_MSG_WARN([$EDJE_VERSION])
> >>
> >> to check the value (I also checked in edje_external/Makefile te value of
> >> pkgdir). I'll investigate.
> >
> > hgmm but why "yes" for $1 instead of "1" which is what it should be. odd.
> 
> i know: it's in an m4 macro, si $1 is the value of the first parameter....
> 

sure - but inside the configure.ac you say you get :"yes" for $1 not the awk
"first field". inside the m4 macro.. that's what you describe.


-- 
------------- Codito, ergo sum - "I code, therefore I am" --------------
The Rasterman (Carsten Haitzler)    ras...@rasterman.com


------------------------------------------------------------------------------
Special Offer-- Download ArcSight Logger for FREE (a $49 USD value)!
Finally, a world-class log management solution at an even better price-free!
Download using promo code Free_Logger_4_Dev2Dev. Offer expires 
February 28th, so secure your free ArcSight Logger TODAY! 
http://p.sf.net/sfu/arcsight-sfd2d
_______________________________________________
enlightenment-devel mailing list
enlightenment-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/enlightenment-devel

Reply via email to