On Tuesday 11 June 2013 05:34:57 [email protected] wrote:
> On 06/11/2013 05:31 AM, Mike Frysinger wrote:
> > defaulting like this won't work.  you need to check $cross_compiling is
> > set to yes in order to default to `uname -r`.
> > 
> > seems like it'd be simpler to just do:
> >     AC_ARG_WITH([linux-version], [AC_HELP_STRING(...)],,
> >             AS_IF([test "$cross_compiling" != no],
> >                     [with_linux_version=`uname -r`]))
> >     LINUX_VERSION=$with_linux_version
> >     AC_SUBST(LINUX_VERSION)
> 
> May be defaulting it to `uname -r` when $cross_compiling is set to no?

yeah, i inverted the check here (i didn't test any of the code ... just typed 
it into the e-mail).  but you get the idea.
-mike

Attachment: signature.asc
Description: This is a digitally signed message part.

------------------------------------------------------------------------------
This SF.net email is sponsored by Windows:

Build for Windows Store.

http://p.sf.net/sfu/windows-dev2dev
_______________________________________________
Ltp-list mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/ltp-list

Reply via email to