| 1 | dnl -*-fundamental-*- |
| 2 | dnl |
| 3 | dnl $Id: configure.in,v 1.12 1999/05/19 20:41:15 mdw Exp $ |
| 4 | dnl |
| 5 | dnl Configuration script for X tools |
| 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 Edgeware X tools collection. |
| 13 | dnl |
| 14 | dnl X tools is free software; you can redistribute it and/or modify |
| 15 | dnl it under the terms of the GNU General Public License as published by |
| 16 | dnl the Free Software Foundation; either version 2 of the License, or |
| 17 | dnl (at your option) any later version. |
| 18 | dnl |
| 19 | dnl X tools 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 General Public License for more details. |
| 23 | dnl |
| 24 | dnl You should have received a copy of the GNU General Public License |
| 25 | dnl along with X tools; if not, write to the Free Software Foundation, |
| 26 | dnl Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA. |
| 27 | |
| 28 | dnl ----- Revision history -------------------------------------------------- |
| 29 | dnl |
| 30 | dnl $Log: configure.in,v $ |
| 31 | dnl Revision 1.12 1999/05/19 20:41:15 mdw |
| 32 | dnl Track gratuitous change in mdwopt interface. |
| 33 | dnl |
| 34 | dnl Revision 1.11 1999/03/25 23:37:21 mdw |
| 35 | dnl Remove absolute dependence on GTK. |
| 36 | dnl |
| 37 | dnl Revision 1.10 1999/03/24 22:23:00 mdw |
| 38 | dnl Remove redundant call to AC_PROG_INSTALL. |
| 39 | dnl |
| 40 | dnl Revision 1.9 1998/12/20 17:18:53 mdw |
| 41 | dnl Yet another patchlevel. |
| 42 | dnl |
| 43 | dnl Revision 1.8 1998/12/16 19:58:03 mdw |
| 44 | dnl Fiddle version number. |
| 45 | dnl |
| 46 | dnl Revision 1.7 1998/12/15 23:46:24 mdw |
| 47 | dnl Add `xcatch', and rearrange so that the GTK-based programs are only |
| 48 | dnl mentioned in the Makefile. |
| 49 | dnl |
| 50 | dnl Revision 1.6 1998/12/11 09:50:38 mdw |
| 51 | dnl Recursively build and configure mLib and mgLib. |
| 52 | dnl |
| 53 | dnl Revision 1.5 1998/12/03 00:39:07 mdw |
| 54 | dnl Another version increment. |
| 55 | dnl |
| 56 | dnl Revision 1.4 1998/11/21 22:27:42 mdw |
| 57 | dnl Support library building in Makefile. Bump patchlevel. |
| 58 | dnl |
| 59 | dnl Revision 1.3 1998/11/19 12:48:19 mdw |
| 60 | dnl Don't bother with AC_ARG_PROGRAM any more. |
| 61 | dnl |
| 62 | dnl Revision 1.2 1998/11/18 21:25:39 mdw |
| 63 | dnl Change version number. |
| 64 | dnl |
| 65 | dnl Revision 1.1 1998/11/16 23:00:49 mdw |
| 66 | dnl Initial versions. |
| 67 | dnl |
| 68 | |
| 69 | AC_INIT(xwait.c) |
| 70 | AC_CONFIG_SUBDIRS(mLib mgLib) |
| 71 | AM_INIT_AUTOMAKE(xtoys, 1.2.5) |
| 72 | AC_PROG_CC |
| 73 | mdw_GCC_FLAGS |
| 74 | AC_PROG_RANLIB |
| 75 | |
| 76 | AM_PATH_GTK(1.0.0, |
| 77 | [CFLAGS="$CFLAGS $GTK_CFLAGS" |
| 78 | GTK_PROGS='$(GTK_PROGS)'], |
| 79 | [AC_MSG_WARN([You appear not to have GTK.]) |
| 80 | GTK_PROGS=""]) |
| 81 | AC_SUBST(GTK_PROGS) |
| 82 | |
| 83 | AC_PATH_XTRA |
| 84 | CFLAGS="$CFLAGS $X_CFLAGS" |
| 85 | |
| 86 | AC_OUTPUT(Makefile) |
| 87 | |
| 88 | dnl ----- That's all, folks ------------------------------------------------- |