Expunge revision histories in files.
[mgLib] / configure.in
index fa5bfa0..8f2c22a 100644 (file)
@@ -1,6 +1,6 @@
-dnl -*-fundamental-*-
+dnl -*-m4-*-
 dnl
-dnl $Id: configure.in,v 1.6 1999/05/06 19:51:48 mdw Exp $
+dnl $Id: configure.in,v 1.12 2004/04/08 01:36:14 mdw Exp $
 dnl
 dnl Configuration script for mgLib
 dnl
@@ -26,44 +26,20 @@ dnl License along with mgLib; 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.6  1999/05/06 19:51:48  mdw
-dnl Reformatted the LGPL notice a little bit.
-dnl
-dnl Revision 1.5  1999/05/05 18:52:45  mdw
-dnl Change licensing conditions to LGPL.
-dnl
-dnl Revision 1.4  1999/03/25 23:36:08  mdw
-dnl Compile to nothing in absence of GTK, for the benefit of parent packages
-dnl which contain non-GTK-dependent parts.
-dnl
-dnl Revision 1.3  1999/03/24 22:22:59  mdw
-dnl Remove redundant call to AC_PROG_INSTALL.
-dnl
-dnl Revision 1.2  1998/12/15 23:48:21  mdw
-dnl Don't need to check for `vsnprintf' any more.
-dnl
-dnl Revision 1.1  1998/12/11 09:44:21  mdw
-dnl Initial version.
-dnl
-
 AC_INIT(mdwfocus.c)
-AM_INIT_AUTOMAKE(mgLib, 1.0.0)
+mdw_INIT_LIB(mgLib, mgLib, 1.1.0)
 
 AC_PROG_CC
 mdw_GCC_FLAGS
-AC_CHECK_PROG(AR, ar, ar)
-AC_PROG_RANLIB
+AM_PROG_LIBTOOL
 
+mdw_MLIB(1.6.0)
 AM_PATH_GTK(1.0.0,
-            [LIBS="$LIBS $GTK_LIBS" CFLAGS="$CFLAGS $GTK_CFLAGS"
-            AC_DEFINE(HAVE_GTK)],
-            [AC_MSG_WARN([couldn't find GTK])])
+            [LIBS="$LIBS $GTK_LIBS" CFLAGS="$CFLAGS $GTK_CFLAGS"],
+            [AC_MSG_ERROR([couldn't find GTK])])
 
 mdw_OPT_mLib_DEBUG(mgLib)
 
-AC_OUTPUT(Makefile)
+AC_OUTPUT(Makefile mgLib-config:lib-config.in)
 
 dnl ----- That's all, folks -------------------------------------------------