CFLAGS="$CFLAGS -g -fprofile-arcs -ftest-coverage"
fi
+AC_ARG_WITH(modules_dir, AS_HELP_STRING([--with-modules-dir=<path>],[Directory for storing maemo-tweaks modules]))
+if test -z "$with_modules_dir" ; then
+ modulesdir=$libdir/maemo-tweaks/modules
+else
+ modulesdir=$with_modules_dir
+fi
+AC_SUBST(modulesdir)
+
AC_OUTPUT([
Makefile
libmaemo-tweaks-section/Makefile