From 9ede211655cfec7fc3a7245b8e93409634580787 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?IOhannes=20m=20zm=C3=B6lnig?= Date: Tue, 12 Apr 2005 12:01:47 +0000 Subject: use !ZEXY_LIBRARY instead of SINGLE_EXTERNALS to differentiate between library-built and single-external built svn path=/trunk/externals/zexy/; revision=2733 --- src/configure.in | 2 +- src/zexy.h | 14 ++++++++------ 2 files changed, 9 insertions(+), 7 deletions(-) (limited to 'src') diff --git a/src/configure.in b/src/configure.in index 1216d3f..8e7b428 100644 --- a/src/configure.in +++ b/src/configure.in @@ -54,7 +54,7 @@ AC_CHECK_FUNCS(select socket strerror) LD=ld -DFLAGS="" +DFLAGS="-DZEXY_LIBRARY" dnl dnl OK, checks for machines are here now diff --git a/src/zexy.h b/src/zexy.h index 7d6a2cb..cbfe00a 100644 --- a/src/zexy.h +++ b/src/zexy.h @@ -58,18 +58,20 @@ typedef struct _mypdlist t_atom *x_list; } t_mypdlist; -#ifdef SINGLE_EXTERNALS +#ifndef ZEXY_LIBRARY static void zexy_register(char*object){ if(object!=0){ - post("%s: part of the zexy external "VERSION"", object); - post("\t (l) forum::für::umläute"); - post("\t IOhannes m zmölnig @ IEM"); - post("\t compiled: "__DATE__" "); + post("[%s]", object); + post("\tpart of zexy-%s", VERSION); + post("\tCopyright (l) IOhannes m zmölnig, 1999-2005"); + post("\tforum::für::umläute"); + post("\tIEM"); + post("\tcompiled: "__DATE__" "); } } #else static void zexy_register(char*object){} -#endif /* SINGLE_EXTERNALS */ +#endif /* ZEXY_LIBRARY */ #endif /* INCLUDE_ZEXY_H__ */ -- cgit v1.2.1