aboutsummaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorIOhannes m zmölnig <zmoelnig@users.sourceforge.net>2005-04-12 12:01:47 +0000
committerIOhannes m zmölnig <zmoelnig@users.sourceforge.net>2005-04-12 12:01:47 +0000
commit9ede211655cfec7fc3a7245b8e93409634580787 (patch)
treedc62fc89810549fac998351f39a277924daee19b /src
parent9334a4c6d22b4c02c3c14832e85b916503b80c66 (diff)
use !ZEXY_LIBRARY instead of SINGLE_EXTERNALS to differentiate between library-built and single-external built
svn path=/trunk/externals/zexy/; revision=2733
Diffstat (limited to 'src')
-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__ */