| 1 | dnl -*-m4-*- |
| 2 | dnl |
| 3 | dnl $Id: configure.in,v 1.12 2004/04/08 01:36:14 mdw Exp $ |
| 4 | dnl |
| 5 | dnl Configuration script for mgLib |
| 6 | dnl |
| 7 | dnl (c) 1998 Straylight/Edgeware |
| 8 | dnl |
| 9 | |
| 10 | dnl ----- Licensing notice -------------------------------------------------- |
| 11 | dnl |
| 12 | dnl This file is part of the mgLib GTK utilities library. |
| 13 | dnl |
| 14 | dnl mgLib is free software; you can redistribute it and/or modify |
| 15 | dnl it under the terms of the GNU Library General Public License as |
| 16 | dnl published by the Free Software Foundation; either version 2 of the |
| 17 | dnl License, or (at your option) any later version. |
| 18 | dnl |
| 19 | dnl mgLib is distributed in the hope that it will be useful, |
| 20 | dnl but WITHOUT ANY WARRANTY; without even the implied warranty of |
| 21 | dnl MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the |
| 22 | dnl GNU Library General Public License for more details. |
| 23 | dnl |
| 24 | dnl You should have received a copy of the GNU Library General Public |
| 25 | dnl License along with mgLib; if not, write to the Free |
| 26 | dnl Software Foundation, Inc., 59 Temple Place - Suite 330, Boston, |
| 27 | dnl MA 02111-1307, USA. |
| 28 | |
| 29 | AC_INIT(mdwfocus.c) |
| 30 | mdw_INIT_LIB(mgLib, mgLib, 1.1.0) |
| 31 | |
| 32 | AC_PROG_CC |
| 33 | mdw_GCC_FLAGS |
| 34 | AM_PROG_LIBTOOL |
| 35 | |
| 36 | mdw_MLIB(1.6.0) |
| 37 | AM_PATH_GTK(1.0.0, |
| 38 | [LIBS="$LIBS $GTK_LIBS" CFLAGS="$CFLAGS $GTK_CFLAGS"], |
| 39 | [AC_MSG_ERROR([couldn't find GTK])]) |
| 40 | |
| 41 | mdw_OPT_mLib_DEBUG(mgLib) |
| 42 | |
| 43 | AC_OUTPUT(Makefile mgLib-config:lib-config.in) |
| 44 | |
| 45 | dnl ----- That's all, folks ------------------------------------------------- |