Edit

kc3-lang/automake/configure.in

Branch :

  • Show log

    Commit

  • Author : Akim Demaille
    Date : 2001-05-04 09:31:45
    Hash : f0c631a5
    Message : * configure.in: Set perllibdir. From Dave Morrison.

  • configure.in
  • # Process this file with autoconf to produce a configure script.
    AC_INIT(automake.in)
    
    AM_INIT_AUTOMAKE(automake, 1.4e)
    
    ACLOCAL="`pwd`/aclocal --acdir=m4"
    # $AUTOMAKE is always run after a `cd $top_srcdir', hence `.' is really
    # what we want for perllibdir and amdir.
    AUTOMAKE="perllibdir=./lib `pwd`/automake --amdir=."
    
    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])
    }
    
    AC_OUTPUT([Makefile
               lib/Makefile
               lib/Automake/Makefile
               m4/Makefile
               tests/Makefile
    
               automake aclocal],
              [chmod +x automake aclocal])