-dnl -*-m4-*-
-dnl
-dnl $Id: configure.in,v 1.5 2004/04/08 01:36:22 mdw Exp $
+dnl -*-autoconf-*-
dnl
dnl Configurator for chkpath
dnl
dnl (c) 1999 Mark Wooding
dnl
-dnl ----- Licensing notice --------------------------------------------------
+dnl----- Licensing notice ---------------------------------------------------
dnl
dnl This file is part of chkpath.
dnl
dnl along with chkpath; if not, write to the Free Software Foundation,
dnl Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA.
-AC_INIT(chkpath.c)
-mdw_INIT_LIB(checkpath, checkpath, 1.1.0, chkpath)
+mdw_AUTO_VERSION
+AC_INIT([Checkpath], AUTO_VERSION, [mdw@distorted.org.uk])
+AC_CONFIG_SRCDIR([checkpath.c])
+AC_CONFIG_AUX_DIR([config])
+AM_INIT_AUTOMAKE([foreign])
+
+dnl--------------------------------------------------------------------------
+dnl C language environemnt.
+
+dnl Compiler and tools.
AC_PROG_CC
-mdw_GCC_FLAGS
+AX_CFLAGS_WARN_ALL
AM_PROG_LIBTOOL
-mdw_MLIB(1.6.0)
-AC_OUTPUT(Makefile checkpath-config:lib-config.in)
+mdw_LIBTOOL_VERSION_INFO
+
+dnl Types.
+AC_TYPE_UID_T
+
+dnl Packages.
+PKG_CHECK_MODULES([mLib], [mLib >= 2.0.4])
+
+dnl--------------------------------------------------------------------------
+dnl Output.
+
+AC_CONFIG_FILES([Makefile])
+AC_CONFIG_HEADER([config/config.h])
+
+AC_OUTPUT
-dnl ----- That's all, folks -------------------------------------------------
+dnl----- That's all, folks --------------------------------------------------