summaryrefslogtreecommitdiffstats
path: root/configure.ac
diff options
context:
space:
mode:
authorZdenek Prikryl <zprikryl@redhat.com>2009-02-05 14:08:49 +0100
committerZdenek Prikryl <zprikryl@redhat.com>2009-02-05 14:08:49 +0100
commit56f590d08ecdee33462a545f50cd1e04df30d742 (patch)
treeb02126f0d269f2fae944c9f2335404017366e8b1 /configure.ac
parent42190be7761d03a369e5c4c345d3ac07e6eee3ca (diff)
downloadabrt-56f590d08ecdee33462a545f50cd1e04df30d742.tar.gz
abrt-56f590d08ecdee33462a545f50cd1e04df30d742.tar.xz
abrt-56f590d08ecdee33462a545f50cd1e04df30d742.zip
minor clean up
Diffstat (limited to 'configure.ac')
-rw-r--r--configure.ac19
1 files changed, 6 insertions, 13 deletions
diff --git a/configure.ac b/configure.ac
index b8829637..596feee8 100644
--- a/configure.ac
+++ b/configure.ac
@@ -14,27 +14,20 @@ PKG_CHECK_MODULES([GTKMM], [gtkmm-2.4])
AC_CHECK_HEADER([sys/inotify.h], [],
[AC_MSG_ERROR([sys/inotify.h is needed to build CrashCatcher])])
-PLUGINS_CONF_DIR='${libdir}/${PACKAGE_NAME}'
-AC_ARG_WITH(pluginsconfdir,
- [AS_HELP_STRING([--with-pluginsconfdir=[DIR]],
- [Directory where plugin's configuration files are])],
- [PLUGINS_CONF_DIR=$withval])
-AC_SUBST(PLUGINS_CONF_DIR)
-
+CONF_DIR='${prefix}/etc/${PACKAGE_NAME}'
+PLUGINS_CONF_DIR='${prefix}/etc/${PACKAGE_NAME}/Plugins'
PLUGINS_LIB_DIR='${libdir}/${PACKAGE_NAME}'
-AC_ARG_WITH(pluginslibdir,
- [AS_HELP_STRING([--with-pluginslibdir=DIR],
- [Directory where plugin's libraries are])],
- [PLUGINS_LIB_DIR=$withval])
-AC_SUBST(PLUGINS_LIB_DIR)
DEBUG_DUMPS_DIR='${prefix}/var/cache/${PACKAGE_NAME}'
AC_ARG_WITH(debugdumpsdir,
[AS_HELP_STRING([--with-debugdumpdir=DIR],
[Directory where debugdumps are created])],
[DEBUG_DUMPS_DIR="$withval"])
-AC_SUBST(DEBUG_DUMPS_DIR)
+AC_SUBST(CONF_DIR)
+AC_SUBST(PLUGINS_CONF_DIR)
+AC_SUBST(PLUGINS_LIB_DIR)
+AC_SUBST(DEBUG_DUMPS_DIR)
AC_SUBST(DL_LIBS, -ldl)
AC_CONFIG_HEADERS([config.h])