diff options
author | Christopher L. Conway <christopherleeconway@gmail.com> | 2009-12-16 17:52:49 +0000 |
---|---|---|
committer | Christopher L. Conway <christopherleeconway@gmail.com> | 2009-12-16 17:52:49 +0000 |
commit | e5d54c5ba02645ce6dacf626aa32dfd5495a8bc9 (patch) | |
tree | dea8ac344a1b7e5d74ae60ae0836765a3601443f /config/antlr.m4 | |
parent | 79df573326e6911d3a97fcc2528105acd1c2c525 (diff) |
Standardizing configure arguments for ANTLR/CxxTest
Diffstat (limited to 'config/antlr.m4')
-rw-r--r-- | config/antlr.m4 | 28 |
1 files changed, 13 insertions, 15 deletions
diff --git a/config/antlr.m4 b/config/antlr.m4 index 317159193..408df0d84 100644 --- a/config/antlr.m4 +++ b/config/antlr.m4 @@ -3,16 +3,17 @@ # runantlr script ## AC_DEFUN([AC_PROG_ANTLR], [ + AC_ARG_VAR([ANTLR],[location of the runantlr script]) # Get the location of the runantlr script - AC_ARG_WITH( - [antlr], - AS_HELP_STRING( - [--with-antlr=RUNANTLR], - [location of the ANTLR's `runantlr` script] - ), - ANTLR="$withval", - ) + # AC_ARG_WITH( + # [antlr], + # AS_HELP_STRING( + # [--with-antlr=RUNANTLR], + # [location of the ANTLR's `runantlr` script] + # ), + # ANTLR="$withval", + # ) # Check the existance of the runantlr script if test -z "$ANTLR"; then @@ -30,7 +31,7 @@ AC_DEFUN([AC_PROG_ANTLR], [ fi # Define the ANTL related variables - AC_SUBST(ANTLR) + # AC_SUBST(ANTLR) ]) ## @@ -42,13 +43,10 @@ AC_DEFUN([AC_LIB_ANTLR],[ # Get the location of the ANTLR c++ includes and libraries AC_ARG_WITH( - [antlr-prefix], + [antlr-dir], AS_HELP_STRING( - [--with-antlr-prefix=PATH], - [set the search path for ANTLR headers and libraries to `PATH/include` - and `PATH/lib`. By default we look in /usr, /usr/local, /opt and - /opt/local. - ] + [--with-antlr-dir=PATH], + [path to ANTLR C++ headers and libraries] ), ANTLR_PREFIXES="$withval", ANTLR_PREFIXES="/usr/local /usr /opt/local /opt" |