From df38435c2d0e6c54385cefd66a347d57add9ae67 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?IOhannes=20m=20zm=C3=B6lnig?= Date: Fri, 8 Jul 2005 11:32:04 +0000 Subject: moved ACONNECT_VERSION from aconnect.c to configure.ac svn path=/trunk/externals/iem/aconnect/; revision=3306 --- aconnect.c | 7 ++++--- 1 file changed, 4 insertions(+), 3 deletions(-) (limited to 'aconnect.c') diff --git a/aconnect.c b/aconnect.c index 21f347d..0bce411 100644 --- a/aconnect.c +++ b/aconnect.c @@ -18,8 +18,6 @@ * license: GNU General Public License v.2 * ******************************************************/ -#define ACONNECT_VERSION "0.2" - #include "m_pd.h" /* aconnect :: connect/disconnect 2 ALSA sequencer subscriber ports */ @@ -394,7 +392,10 @@ void aconnect_setup(void) post(" ported to pure-data by IOhannes m zmölnig 2005"); post(" institute of electronic music and acoustics (iem)"); post(" published under the GNU General Public License version 2"); - post(" version:"ACONNECT_VERSION"\tcompiled: "__DATE__""); +#ifdef ACONNECT_VERSION + startpost(" version:"ACONNECT_VERSION); +#endif + post("\tcompiled: "__DATE__""); aconnect_class = class_new(gensym("aconnect"), (t_newmethod)aconnect_new, 0, sizeof(t_aconnect), 0, 0); -- cgit v1.2.1