dnl -*-fundamental-*-
dnl
-dnl $Id: configure.in,v 1.5 1999/05/05 18:50:31 mdw Exp $
+dnl $Id: configure.in,v 1.19 1999/11/11 18:47:33 mdw Exp $
dnl
dnl Configuration script for mLib
dnl
dnl GNU Library General Public License for more details.
dnl
dnl You should have received a copy of the GNU Library General Public
-dnl License along with mLib; if not, write to the Free Software
-dnl Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA.
+dnl License along with mLib; if not, write to the Free
+dnl Software Foundation, Inc., 59 Temple Place - Suite 330, Boston,
+dnl MA 02111-1307, USA.
dnl ----- Revision history --------------------------------------------------
dnl
dnl $Log: configure.in,v $
+dnl Revision 1.19 1999/11/11 18:47:33 mdw
+dnl Use `libtool' to generate a shared library.
+dnl
+dnl Revision 1.18 1999/11/11 17:48:28 mdw
+dnl New configuration system for library clients.
+dnl
+dnl Revision 1.17 1999/10/04 21:48:50 mdw
+dnl Find libraries for standalone name resolver server.
+dnl
+dnl Revision 1.14 1999/07/06 19:18:47 mdw
+dnl Handle new manual page directory.
+dnl
+dnl Revision 1.11 1999/05/21 22:11:20 mdw
+dnl Omitted version number changes from change log. Changed version
+dnl number. ;-)
+dnl
+dnl Revision 1.8 1999/05/14 21:08:56 mdw
+dnl Bump version number to 1.3, to celebrate adding in the `select'
+dnl routines.
+dnl
+dnl Revision 1.6 1999/05/06 19:51:35 mdw
+dnl Reformatted the LGPL notice a little bit.
+dnl
dnl Revision 1.5 1999/05/05 18:50:31 mdw
dnl Change licensing conditions to LGPL.
dnl
dnl Revision 1.3 1998/12/15 23:52:42 mdw
dnl Reordered and tidied.
dnl
-dnl Revision 1.2 1998/11/25 23:30:41 mdw
-dnl Bump the version number.
-dnl
dnl Revision 1.1.1.1 1998/06/17 23:44:42 mdw
dnl Initial version of mLib
dnl
AC_INIT(exc.c)
-AM_INIT_AUTOMAKE(mLib, 1.2.0)
+AM_INIT_AUTOMAKE(mLib, 1.6.0)
AC_PROG_CC
-mdw_GCC_FLAGS
AC_CHECK_PROG(AR, ar, ar)
-AC_PROG_RANLIB
+AM_PROG_LIBTOOL
+mdw_GCC_FLAGS
+
+mdw_CHECK_MANYLIBS(socket, socket)
+mdw_CHECK_MANYLIBS(gethostbyname, nsl resolv)
mdw_OPT_mLib_DEBUG(mLib)
-AC_OUTPUT(Makefile)
+AC_OUTPUT(Makefile mLib-config man/Makefile)