|
From: Garrett C. <yan...@gm...> - 2010-11-26 18:22:39
|
On Fri, Nov 26, 2010 at 3:23 AM, Cyril Hrubis <ch...@su...> wrote: >> > > +#include <numaif.h> >> > > +#include <numa.h> >> > > +#include <sys/mman.h> >> > > +#include <stdio.h> >> > > +#include <unistd.h> >> > > +#include <stdlib.h> >> > > +#include <string.h> >> > > +#include "test.h" >> > > +#include "usctest.h" >> > > >> > > gcooper> This will cause breakage on systems without proper numa >> > lib >> > > support *cues some RHEL users from Ryobi on the list :)...* >> > Right, I'll add a autoconf check for this. >> I recalled in the pass that Masatake YAMATO created a doc about how to add autoconf to a test but I could not find it now. Is there any recent document about how to do it right now?? > > I would start by looking at existing autoconf tests which is > configure.ac and functions in m4/*. Doing 'make autotools' should update > configure script and running it by './configure' should update > include/config.h and few other make scripts. I'd just look at some of the other numa tests. -Garrett |