changeset 4480:28863634a2da

Properly define DISABLE_USER_PLUGIN_DIR if needed.
author Matti Hamalainen <ccr@tnsp.org>
date Mon, 21 Apr 2008 06:50:00 +0300
parents bb5d11a735a0
children 25730d90d916
files configure.ac
diffstat 1 files changed, 4 insertions(+), 0 deletions(-) [+]
line wrap: on
line diff
--- a/configure.ac	Mon Apr 21 06:47:36 2008 +0300
+++ b/configure.ac	Mon Apr 21 06:50:00 2008 +0300
@@ -112,6 +112,10 @@
 AUD_ARG_ENABLE([user-plugin-dir], [yes],
 [  --disable-user-plugin-dir    Disable per-user plugin dir])
 
+if test "x$enable_user_plugin_dir" = "xno"; then
+    AC_DEFINE([DISABLE_USER_PLUGIN_DIR], 1, [Define to disable per user plugin directory])
+fi
+
 
 ### ---------------------------------------------------------------------------
 dnl Check for Gtk+/GLib and pals