# Configure template for Extended-SDF2. -*-Autoconf-*- # # Copyright (C) 2004 Laboratoire de Recherche et Developpement # de l'EPITA. # # This program is free software; you can redistribute it and/or modify # it under the terms of the GNU General Public License as published by # the Free Software Foundation; either version 2 of the License, or # (at your option) any later version. # # This program is distributed in the hope that it will be useful, # but WITHOUT ANY WARRANTY; without even the implied warranty of # MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the # GNU General Public License for more details. # # You should have received a copy of the GNU General Public License # along with this program; if not, write to the Free Software # Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA # 02111-1307 USA AC_PREREQ(2.57) AC_INIT([esdf], 0.1, [transformers-bugs@lrde.epita.fr]) AC_CONFIG_AUX_DIR([config]) AC_CONFIG_FILES([config/Makefile]) AM_INIT_AUTOMAKE([foreign 1.8.3 dist-bzip2]) # Make sure $prefix is defined. test "x$prefix" = xNONE && prefix=$ac_default_prefix USE_XT_PACKAGES test -f $PGEN/bin/sdf2table || AC_MSG_ERROR([cannot find sdf2table. Use --with-sdf.]) test -f $STRC/bin/strc || AC_MSG_ERROR([cannot find strc. Use --with-strategoxt.]) AC_CHECK_PROGS([HELP2MAN], [help2man], [NONE]) if test x"$HELP2MAN" = xNONE; then AC_MSG_WARN([cannot find help2man. This isn't mandatory. You will only not be able to generate manpages.]) fi AM_CONDITIONAL([HAVE_HELP2MAN], [test x"$HELP2MAN" != xNONE]) AC_SUBST([HELP2MAN]) AC_PROG_CC AC_PROG_INSTALL AC_CONFIG_FILES([Makefile src/Makefile src/sdf-purify/Makefile src/pack-esdf/Makefile config/version.str]) AC_OUTPUT