[antlr-interest] Libtool build of antlr

joerg+computer.antlr at bodensee.pi5.physik.uni-stuttgart.de joerg+computer.antlr at bodensee.pi5.physik.uni-stuttgart.de
Fri Sep 17 08:21:52 PDT 2004


Hi,

I know Ric doesn't approve building antlr with libtool, so I've put together 
my own hack. Appended are Makefile.am and Configure.ac. Throw them in lib/cpp 
and run libtoolize, aclocal, automake, autoconf, configure and make in the 
right order ;-). The files were done for the most recent snapshot by Ric. For 
2.7.4 you'll need to remove Countable.hpp/.cpp from Makefile.am.
Have fun,

Jörg
-- 
Dipl-Phys. Jörg Werner   j.werner at physik.uni-stuttgart.de
Universität Stuttgart
5. Physikalisches Institut  Telefon: 0711/685-4951
Pfaffenwaldring 57   Telefax: 0711/685-3810
D-70550 Stuttgart
Visit our Homepage: 
http://www.physik.uni-stuttgart.de/institute/pi/5/index.html
My private Homepage: http://schreibubi.pi5.physik.uni-stuttgart.de/
GPG-Key fingerprint: 6630 6A73 7725 483C 1594  1D64 3F92 5251 8710 EDF6



 
Yahoo! Groups Links

<*> To visit your group on the web, go to:
    http://groups.yahoo.com/group/antlr-interest/

<*> To unsubscribe from this group, send an email to:
    antlr-interest-unsubscribe at yahoogroups.com

<*> Your use of Yahoo! Groups is subject to:
    http://docs.yahoo.com/info/terms/
 
-------------- next part --------------
#                                               -*- Autoconf -*-
# Process this file with autoconf to produce a configure script.

AC_PREREQ(2.59)
AC_INIT([antlr],[2.7.4],[j.werner at physik.uni-stuttgart.de])
AC_CONFIG_SRCDIR([antlr/ANTLRException.hpp])
#AC_CONFIG_AUX_DIR([config])
AC_CONFIG_HEADER([config.h])
AM_INIT_AUTOMAKE([antlr],[2.7.4])

# Checks for programs.
AC_PROG_CXX
AC_PROG_CPP

AC_PROG_LIBTOOL

# Checks for libraries.

# Checks for header files.

# Checks for typedefs, structures, and compiler characteristics.
AC_HEADER_STDBOOL
AC_C_CONST
AC_C_INLINE
AC_TYPE_SIZE_T

# Checks for library functions.
AC_FUNC_SELECT_ARGTYPES
AC_CHECK_FUNCS([select strcasecmp])
AC_CONFIG_FILES([Makefile])
AC_OUTPUT
-------------- next part --------------
A non-text attachment was scrubbed...
Name: Makefile.am
Type: text/x-makefile
Size: 2227 bytes
Desc: not available
Url : http://www.antlr.org/pipermail/antlr-interest/attachments/20040917/c551f532/Makefile.bin


More information about the antlr-interest mailing list