]> git.ipfire.org Git - thirdparty/freeswitch.git/commitdiff
lets just consistently use api for version
authorMichael Jerris <mike@jerris.com>
Tue, 18 Mar 2014 21:59:31 +0000 (17:59 -0400)
committerMichael Jerris <mike@jerris.com>
Tue, 18 Mar 2014 21:59:31 +0000 (17:59 -0400)
src/mod/endpoints/mod_skypopen/Makefile.am
src/mod/endpoints/mod_skypopen/skypopen.h

index 29a207cfa249f783fbd88afe8e82808a7f34d7a3..1b59c8a3c3d88b5cdb6326a33c608c78876fbf4d 100644 (file)
@@ -11,7 +11,7 @@ SPANDSP_LA=$(SPANDSP_BUILDDIR)/src/libspandsp.la
 
 mod_LTLIBRARIES = mod_skypopen.la
 mod_skypopen_la_SOURCES  = mod_skypopen.c skypopen_protocol.c
-mod_skypopen_la_CFLAGS   = $(AM_CFLAGS) -I$(SPANDSP_DIR)/src -I$(TIFF_DIR)/libtiff -I$(SPANDSP_BUILDDIR)/src -I$(TIFF_BUILDDIR)/libtiff -I. -DSKYPOPEN_C_VER=\"`git log -1 --format="%h" skypopen_protocol.c`\" -DMODSKYPOPEN_C_VER=\"`git log -1 --format="%h" mod_skypopen.c`\"
+mod_skypopen_la_CFLAGS   = $(AM_CFLAGS) -I$(SPANDSP_DIR)/src -I$(TIFF_DIR)/libtiff -I$(SPANDSP_BUILDDIR)/src -I$(TIFF_BUILDDIR)/libtiff -I.
 mod_skypopen_la_LIBADD   = $(switch_builddir)/libfreeswitch.la $(SPANDSP_LA) $(TIFF_LA)
 mod_skypopen_la_LDFLAGS  = -avoid-version -module -no-undefined -shared -lX11
 
index 87af8d9f24edb0043ecbff4da4748c1e2dd7e71d..a38a42c915bd7039e4a9a280b953cc6896b8fc30 100644 (file)
 #define SAMPLES_PER_FRAME (SAMPLERATE_SKYPOPEN/(1000/MS_SKYPOPEN))
 #define BYTES_PER_FRAME (SAMPLES_PER_FRAME * sizeof(short))
 
-#ifdef SKYPOPEN_C_VER
-#ifdef MODSKYPOPEN_C_VER
-#define SKYPOPEN_SVN_VERSION MODSKYPOPEN_C_VER"|"SKYPOPEN_C_VER
-#endif
-#endif
-
 #ifndef SKYPOPEN_SVN_VERSION
 #define SKYPOPEN_SVN_VERSION switch_version_full()
 #endif /* SKYPOPEN_SVN_VERSION */