Add Freescale Nexus decoder implementation
[babeltrace.git] / configure.ac
index 067ef72718fc86c4234eed2e691a5f269d362ce1..ca009c9255d4343a487ea3cfefcf86cf7440f596 100644 (file)
@@ -18,6 +18,7 @@ AC_SYS_LARGEFILE
 
 # Checks for programs.
 AC_PROG_CC_STDC
+AC_PROG_CXX
 AC_PROG_MAKE_SET
 LT_INIT
 AC_PROG_YACC
@@ -101,7 +102,6 @@ AC_CHECK_LIB([popt], [poptGetContext], [],
         [AC_MSG_ERROR([Cannot find popt.])]
 )
 
-
 # For Python
 # SWIG version needed or newer:
 swig_version=2.0.0
@@ -138,6 +138,13 @@ else
 
 fi
 
+AC_ARG_ENABLE([nexus],
+              [AC_HELP_STRING([--enable-nexus],
+                              [compile Nexus trace converter])],
+              [enable_nexus=yes], [enable_nexus=no])
+
+AM_CONDITIONAL([BUILD_NEXUS], [test "x${enable_nexus}" = xyes])
+
 pkg_modules="gmodule-2.0 >= 2.0.0"
 PKG_CHECK_MODULES(GMODULE, [$pkg_modules])
 AC_SUBST(PACKAGE_LIBS)
@@ -170,6 +177,7 @@ AC_CONFIG_FILES([
        formats/ctf/metadata/Makefile
        formats/ctf/writer/Makefile
        converter/Makefile
+       converter/nexus/Makefile
        doc/Makefile
        lib/Makefile
        lib/prio_heap/Makefile
This page took 0.025838 seconds and 4 git commands to generate.