Message ID | 1409863799-12227-1-git-send-email-mike.holmes@linaro.org |
---|---|
State | Accepted |
Commit | c8eb3e9130f8dcab2aa83cb1ee2071a9ad9276ac |
Headers | show |
Merged, Thanks! Maxim. On 09/05/2014 12:49 AM, Mike Holmes wrote: > Signed-off-by: Mike Holmes <mike.holmes@linaro.org> > --- > > v2: > point at the root of netmap, and have configure find sys > > configure.ac | 9 +++++++++ > 1 file changed, 9 insertions(+) > > diff --git a/configure.ac b/configure.ac > index 76cf638..b1fc859 100644 > --- a/configure.ac > +++ b/configure.ac > @@ -70,6 +70,15 @@ AC_ARG_ENABLE([netmap], > ODP_CFLAGS="$ODP_CFLAGS -DODP_HAVE_NETMAP=1" > fi]) > > +AC_ARG_WITH([netmap-path], > +AC_HELP_STRING([--with-netmap-path=DIR Path to netmap libs and headers], > + [(or in the default path if not specified).]), > +[NETMAP_PATH=$withval netmap_support=yes > +AM_CFLAGS="$AM_CFLAGS -I$NETMAP_PATH/sys" > +ODP_CFLAGS="$ODP_CFLAGS -DODP_HAVE_NETMAP=1" > +],[ AC_MSG_WARN([Netmap not found - continuing without netmap support]) > +]) > + > AM_CONDITIONAL([ODP_NETMAP_ENABLED], [test x$netmap_support = xyes ]) > > ##########################################################################
diff --git a/configure.ac b/configure.ac index 76cf638..b1fc859 100644 --- a/configure.ac +++ b/configure.ac @@ -70,6 +70,15 @@ AC_ARG_ENABLE([netmap], ODP_CFLAGS="$ODP_CFLAGS -DODP_HAVE_NETMAP=1" fi]) +AC_ARG_WITH([netmap-path], +AC_HELP_STRING([--with-netmap-path=DIR Path to netmap libs and headers], + [(or in the default path if not specified).]), +[NETMAP_PATH=$withval netmap_support=yes +AM_CFLAGS="$AM_CFLAGS -I$NETMAP_PATH/sys" +ODP_CFLAGS="$ODP_CFLAGS -DODP_HAVE_NETMAP=1" +],[ AC_MSG_WARN([Netmap not found - continuing without netmap support]) +]) + AM_CONDITIONAL([ODP_NETMAP_ENABLED], [test x$netmap_support = xyes ]) ##########################################################################
Signed-off-by: Mike Holmes <mike.holmes@linaro.org> --- v2: point at the root of netmap, and have configure find sys configure.ac | 9 +++++++++ 1 file changed, 9 insertions(+)