Install plugins in $(libdir)/babeltrace/plugins
[babeltrace.git] / configure.ac
index 9e36c48e4d2d441bb33a63eaf00da91789a1a345..847d19b754a10eee25b8a157ceaefde00922d0e9 100644 (file)
@@ -231,6 +231,10 @@ AC_CHECK_LIB([popt], [poptGetContext], [],
         [AC_MSG_ERROR([Cannot find popt.])]
 )
 
+# Plugins
+AC_ARG_VAR([PLUGINSDIR], [built-in plugins install directory [LIBDIR/babeltrace/plugins]])
+AS_IF([test "x$PLUGINSDIR" = x], [PLUGINSDIR='$(libdir)/babeltrace/plugins'])
+
 # For Python
 # SWIG version needed or newer:
 swig_version=2.0.0
This page took 0.023027 seconds and 4 git commands to generate.