From 8728eaeaeaefa9c62455a7c092a5f88640b320fa Mon Sep 17 00:00:00 2001 From: Bryan Jurish Date: Tue, 14 Sep 2004 17:34:41 +0000 Subject: v0.06 Tue, 14 Sep 2004 18:50:03 +0200 + added --enable-all-forwardmess configure option to use pd_forwardmess() for all messages (even those of length 1) : should fix 'bang' problem + fixed gcc-3.3 warning re: (++argv) in sprinkler_list() thanks to Erasmus Zipfel svn path=/trunk/; revision=2031 --- externals/sprinkler/configure.in | 22 +++++++++++++++++++--- 1 file changed, 19 insertions(+), 3 deletions(-) (limited to 'externals/sprinkler/configure.in') diff --git a/externals/sprinkler/configure.in b/externals/sprinkler/configure.in index 94cfb6f1..3c853da1 100644 --- a/externals/sprinkler/configure.in +++ b/externals/sprinkler/configure.in @@ -1,7 +1,7 @@ dnl Process this file with autoconf to produce a configure script. dnl -- adapted from 'configure.in' in ggee distribution by Guenter Geiger AC_PREREQ(2.5) -AC_INIT(sprinkler, [0.05], [moocow@ling.uni-potsdam.de]) +AC_INIT(sprinkler, [0.06], [moocow@ling.uni-potsdam.de]) dnl dnl Programs, prefix @@ -69,7 +69,7 @@ AC_ARG_ENABLE([debug], if test "$enable_debug" == "yes" ; then AC_MSG_RESULT(yes) DEBUG="yes" - DFLAGS="$DFLAGS -DSPRINKLER_DEBUG" + AC_DEFINE(SPRINKLER_DEBUG, 1, [Define this to use pd_forwardmess() for all messages]) else AC_MSG_RESULT(no) DEBUG="no" @@ -82,7 +82,9 @@ dnl build backwards-compatible non-max 'forward'? dnl AC_MSG_CHECKING([whether to allow non-MAX "forward" alias]) AC_ARG_ENABLE([forward], - AC_HELP_STRING([--enable-forward],[allow backwards-compatible non-MAX "forward" alias (default=no)])) + AC_HELP_STRING( + [--enable-forward], + [allow backwards-compatible non-MAX "forward" alias (default=no)])) if test "$enable_forward" == "yes" ; then AC_MSG_RESULT(yes) @@ -103,7 +105,21 @@ AC_SUBST(SPRINKLER_COMPAT_TEXT) AC_SUBST(SPRINKLER_ALIAS_1) AC_SUBST(SPRINKLER_ALIAS_2) +dnl +dnl use pd_forwardmess() for everything? +dnl +AC_MSG_CHECKING([whether to use pd_forwardmess() for all messages]) +AC_ARG_ENABLE([all-forwardmess], + AC_HELP_STRING( + [--enable-all-forwardmess], + [use pd_forwardmess() for all messages (default=no)])) +if test "$enable_all_forwardmess" = "yes" ; then + AC_MSG_RESULT(yes) + AC_DEFINE(ALL_FORWARDMESS, 1, [Define this to use pd_forwardmess() for all messages]) +else + AC_MSG_RESULT(no) +fi dnl dnl machine-dependent variables -- cgit v1.2.1