X-Git-Url: https://git.distorted.org.uk/~mdw/anag/blobdiff_plain/345f33ea7a273e3196075b07fcc0bc28714793a5..0279756ef8eb60878927c9e325a9ad25a4b0f150:/configure.in diff --git a/configure.in b/configure.in deleted file mode 100644 index f302f3c..0000000 --- a/configure.in +++ /dev/null @@ -1,70 +0,0 @@ -dnl -*-m4-*- -dnl -dnl $Id: configure.in,v 1.6 2004/04/08 01:36:19 mdw Exp $ -dnl -dnl Configuration script -dnl -dnl (c) 2001 Mark Wooding -dnl - -dnl ----- Licensing notice -------------------------------------------------- -dnl -dnl This file is part of Anag: a simple wordgame helper. -dnl -dnl Anag 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 -dnl Anag 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 -dnl You should have received a copy of the GNU General Public License -dnl along with Anag; if not, write to the Free Software Foundation, -dnl Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA. - -AC_INIT(anag.c) -AM_INIT_AUTOMAKE(anag, 1.1.0) -AM_CONFIG_HEADER(config.h) -AC_PROG_CC -mdw_GCC_FLAGS - -AC_CHECK_PROGS([JAVAC], [javac jikes], [none]) -if test "$JAVAC" = "none"; then - AC_MSG_WARN([No Java compiler found]) - JARFILES="" -else - JARFILES="anag.jar" -fi -AC_SUBST([JARFILES]) - -AC_CHECK_PROGS([WISH], [wish wish8], [none]) -if test "$WISH" = "none"; then - AC_MSG_WARN([No Tcl/Tk interpreter found]) - TKPROGS="" -else - TKPROGS="anag-gui" -fi -AC_SUBST([TKPROGS]) - -EXTNODE="" -AC_CHECK_FUNCS([regcomp]) -mdw_CHECK_MANYLIBS([pcre_fullinfo], [pcre], [AC_DEFINE([HAVE_PCRE])]) - -AC_ARG_WITH(dictionary, -[ --with-dictionary=DICT set default word list to be DICT], -[DICTIONARY=$withval], -[DICTIONARY="/usr/dict/words"]) -AC_DEFINE_UNQUOTED([DICTIONARY], ["$DICTIONARY"]) -AC_SUBST([DICTIONARY]) - -mdw_DEFINE_PATHS([ - ANAG=mdw_PATH([${bindir}])/mdw_PROG([anag]) -]) - -AC_SUBST([ANAG]) -AC_OUTPUT(Makefile anag-gui) - -dnl ----- That's all, folks -------------------------------------------------