in the system, and use that as default.
+ o Make mlmmj-make-ml.sh default the listtext dir to where they were
+ installed in the system (Stephan Kulow)
1.2.1
o Introduce switches to turn off mails about posts being denied.
1.2.0
AC_C_CONST
AC_TYPE_SIZE_T
+savex=$exec_prefix
+test "x$exec_prefix" = xNONE && exec_prefix=$prefix
+tmp=$datadir/$PACKAGE/text.skel
+while textlibdir=`eval echo "$tmp"`; test "x$textlibdir" != "x$tmp"; do tmp=$textlibdir; done
+exec_prefix=$savex
+
+AC_SUBST(textlibdir)
+
# Checks for library functions.
AC_FUNC_MALLOC
AC_CHECK_FUNCS([ftruncate memset socket strerror strncasecmp snprintf fcntl])
AC_CONFIG_FILES([Makefile])
AC_CONFIG_FILES([src/Makefile])
+AC_CONFIG_FILES([src/mlmmj-make-ml.sh])
AC_CONFIG_FILES([listtexts/Makefile])
AC_OUTPUT
## Process this file with automake to produce Makefile.in
-textlibdir = $(pkgdatadir)/text.skel
dist_textlib_DATA = access bounce-probe listhelp moderation notifysub \
notifysub-digest notifysub-nomail notifyunsub notifyunsub-digest \
notifyunsub-nomail notintocc sub-confirm sub-confirm-digest \
fi
echo "$OWNER" > "$LISTDIR"/"control/owner"
-echo -n "The path to texts for the list? (listtexts/ dir in the src) [] : "
-read TEXTPATH
-if [ -z "$TEXTPATH" -o ! -d "$TEXTPATH" ]; then
+TEXTPATH=@textlibdir@
+echo -n "The path to texts for the list? [$TEXTPATH] : "
+read TEXTPATHIN
+test TEXTPATHIN && TEXTPATH=$TEXTPATHIN
+if [ -z "$TEXTPATHIN" -o ! -d "$TEXTPATH" ]; then
echo "**NOTE** Could not copy the texts for the list"
echo "Please manually copy the files from the listtexts/ directory"
echo "in the source distribution of mlmmj."