aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--src/configure.in2
-rw-r--r--src/zexy.h14
2 files changed, 9 insertions, 7 deletions
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__ */