@@ -51,6 +51,15 @@ AC_ARG_WITH([platform],
AC_SUBST([with_platform])
+AC_ARG_WITH([sysroot-path],
+AC_HELP_STRING([--with-sysroot-path=DIR Path to external libs and headers],
+ [(or in the default path if not specified).]),
+[SYSROOT_PATH=$withval SYSROOT_PATH_=1],[SYSROOT_PATH_=])
+
+AC_SUBST(SYSROOT_PATH)
+
+AM_CONDITIONAL([SYSROOT_PATH_], [test "x${SYSROOT_PATH_}" = "x1"])
+
##########################################################################
# Enable/disable netmap support
##########################################################################
Makes it easier for external libs and headers if they aren't in the default path. Signed-off-by: Anders Roxell <anders.roxell@linaro.org> --- configure.ac | 9 +++++++++ 1 file changed, 9 insertions(+)