chiark / gitweb /
Use the correct compiler flags. Maybe.
[mgLib] / configure.in
index 3f9a9a75b17e10055680bd6cd767203075e91ce5..51ba4603768078b2353987bf2292a7ae26ec5fb1 100644 (file)
@@ -1,6 +1,6 @@
 dnl -*-fundamental-*-
 dnl
-dnl $Id: configure.in,v 1.2 1998/12/15 23:48:21 mdw Exp $
+dnl $Id: configure.in,v 1.10 2002/01/13 14:32:33 mdw Exp $
 dnl
 dnl Configuration script for mgLib
 dnl
@@ -12,22 +12,48 @@ dnl
 dnl This file is part of the mgLib GTK utilities library.
 dnl
 dnl mgLib is free software; you can redistribute it and/or modify
-dnl it under the terms of the GNU General Public License as published by
-dnl the Free Software Foundation; either version 2 of the License, or
-dnl (at your option) any later version.
+dnl it under the terms of the GNU Library General Public License as
+dnl published by the Free Software Foundation; either version 2 of the
+dnl License, or (at your option) any later version.
 dnl 
 dnl mgLib is distributed in the hope that it will be useful,
 dnl but WITHOUT ANY WARRANTY; without even the implied warranty of
 dnl MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
-dnl GNU General Public License for more details.
+dnl GNU Library General Public License for more details.
 dnl 
-dnl You should have received a copy of the GNU General Public License
-dnl along with mgLib; if not, write to the Free Software Foundation,
-dnl Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA.
+dnl You should have received a copy of the GNU Library General Public
+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.10  2002/01/13 14:32:33  mdw
+dnl Use the correct compiler flags.  Maybe.
+dnl
+dnl Revision 1.9  2000/08/15 22:45:56  mdw
+dnl Whoops.  Use the right library initialization rune.
+dnl
+dnl Revision 1.8  2000/08/15 22:40:48  mdw
+dnl New library configuration stuff from `common'.
+dnl
+dnl Revision 1.7  1999/11/11 19:54:37  mdw
+dnl Prep for standalone release.
+dnl
+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
@@ -36,20 +62,19 @@ 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
-AC_PROG_INSTALL
+AM_PROG_LIBTOOL
 
+mdw_MLIB(1.6.0)
 AM_PATH_GTK(1.0.0,
             [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 -------------------------------------------------