Changeset 907 for trunk/configure.ac


Ignore:
Timestamp:
Nov 29, 2009, 4:33:19 PM (11 years ago)
Author:
Peter Johansson
Message:

Autoconf 2.63 is now required (closes #414).

refs #380. A first implementation of svndigest-copy-cache. It is is
written in M4sh. Autoconf compiles the source in
svndigest-copy-cache.as to svndigest-copy-cache.in, which in turn is
processed by config.status to replace some keywords such as PACKAGE
and friends. There is no docs and no test yet.

added *.as in config file

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/configure.ac

    r905 r907  
    2929# along with svndigest. If not, see <http://www.gnu.org/licenses/>.
    3030
    31 AC_PREREQ(2.61)
     31AC_PREREQ([2.63])
    3232
    3333m4_include([m4/version.m4])
     
    4343m4_ifndef([AC_PACKAGE_URL],
    4444          [AC_DEFINE([PACKAGE_URL], ["http://dev.thep.lu.se/svndigest"],
    45                      [Define to home page for this package])])
     45                     [Define to home page for this package])
     46           AC_SUBST([PACKAGE_URL], ["http://dev.thep.lu.se/svndigest"])])
    4647
    4748AC_SUBST([SVNDIGEST_MAJOR_VERSION], [MAJOR_VERSION])
     
    6061AC_CONFIG_HEADER([config.h])
    6162AM_INIT_AUTOMAKE([1.10 std-options])
     63
     64dnl create bin/svndigest-copy-cache.in at autoconf time and let
     65dnl config.status create bin/svndigest-copy-cache from
     66dnl bin/svndigest-copy-cache.in
     67m4_pushdef([FILE], [svndigest-copy-cache])
     68m4_pushdef([my_m4sh_options], [-m 0444])
     69dnl me cd down in bin to have same output as when created from Makefile
     70m4_syscmd([cd bin && autom4te -l M4sh -o ]FILE[.in ]my_m4sh_options FILE[.as])
     71AC_CONFIG_FILES([bin/]FILE[], [chmod +x bin/]FILE[ && chmod a-w bin/]FILE[])
     72dnl export options so we can use the same in Makefile
     73AC_SUBST([M4SH_OPTIONS], ['my_m4sh_options'])
     74m4_popdef([my_m4sh_options])
     75m4_popdef([FILE])
     76AM_MISSING_PROG([AUTOM4TE], [autom4te])
    6277
    6378# Set default programming language
Note: See TracChangeset for help on using the changeset viewer.