-dnl -*-m4-*-
-dnl
-dnl $Id$
+dnl -*-autoconf-*-
dnl
dnl Configuring the Common Files Distribution
dnl
dnl along with `common'; if not, write to the Free Software Foundation,
dnl Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA.
-AC_INIT(mklinks.in)
-AM_INIT_AUTOMAKE(common, 1.2.10)
+mdw_AUTO_VERSION
+AC_INIT([Common Files Distribution], AUTO_VERSION,
+ [mdw@distorted.org.uk], [cfd])
+AM_INIT_AUTOMAKE([foreign])
+AC_CONFIG_SRCDIR([mdw-setup])
+
AC_CACHE_CHECK([where to stash Autoconf macros], [aclocaldir], [
aclocaldir=`aclocal --print-ac-dir`
if test $? -ne 0; then AC_MSG_ERROR([aclocal not installed]); fi
])
-AC_SUBST(aclocaldir)
-AC_OUTPUT(Makefile mklinks findlinks txtlib mkaclocal)
+AC_SUBST([aclocaldir])
+
+AC_CONFIG_FILES([Makefile mklinks findlinks])
+AC_OUTPUT