Edit

kc3-lang/automake/configure.in

Branch :

  • Show log

    Commit

  • Author : Alexandre Duret-Lutz
    Date : 2001-12-26 08:22:06
    Hash : 3ce01340
    Message : * configure.in: Test for Autoconf >= 2.52. * tests/defs (needs_autoconf, has_autoconf): Delete definition. * tests/ansi3.test, tests/ansi5.test, tests/ccnoco.test, tests/cond4.test, tests/cond9.test, tests/cond16.test, tests/cond18.test, tests/cond19.test, tests/cond20.test, tests/confsub.test, tests/depcomp2.test, tests/depdist.test, tests/depend2.test, tests/dirname.test, tests/distname.test, tests/extra5.test, tests/install2.test, tests/lex3.test, tests/make.test, tests/nobase.test, tests/pr9.test, tests/pr87.test, tests/stamph2.test, tests/subdir5.test, tests/subdirbuiltsources.test, tests/subobj3.test, tests/subobj5.test, tests/subobj6.test, tests/substref.test, tests/target-cflags.test, tests/yacc4.test, tests/yacc7.test, tests/yaccvpath.test: Do not use $needs_autoconf.

  • configure.in
  • # Process this file with autoconf to produce a configure script.
    
    # Copyright 1995, 1996, 1997, 1998, 1999, 2000, 2001 Free Software
    # Foundation, Inc.
    #
    # 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, 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.52)
    AC_INIT([GNU Automake], [1.5c], [bug-automake@gnu.org])
    
    AC_CONFIG_SRCDIR(automake.in)
    AC_CONFIG_AUX_DIR(lib)
    
    AM_INIT_AUTOMAKE(automake, 1.5c)
    
    ACLOCAL="`pwd`/aclocal --acdir=m4"
    # $AUTOMAKE is always run after a `cd $top_srcdir', hence `.' is really
    # what we want for perllibdir and libdir.
    AUTOMAKE="perllibdir=./lib `pwd`/automake --libdir=lib"
    
    AC_PATH_PROG(PERL, perl)
    if test -z "$PERL"; then
       AC_MSG_ERROR([perl not found])
    fi
    $PERL -e 'require 5.005;' || {
       AC_MSG_ERROR([perl 5.005 or better is required])
    }
    
    echo 'AC''_PREREQ(2.52)' > conftest.ac
    AM_RUN_LOG([eval $AUTOCONF -o /dev/null conftest.ac]) || {
       AC_MSG_ERROR([Autoconf 2.52 or better is required])
    }
    rm conftest.ac
    
    AC_CONFIG_FILES([automake], [chmod +x automake])
    AC_CONFIG_FILES([aclocal], [chmod +x aclocal])
    
    AC_OUTPUT([Makefile
               lib/Makefile
               lib/Automake/Makefile
    	   lib/am/Makefile
               m4/Makefile
               tests/Makefile])