From 9d567fa74f35b826d126eaa43fbf3ddc3a7edbab Mon Sep 17 00:00:00 2001 From: darkeye Date: Sun, 2 Sep 2001 12:23:27 +0000 Subject: [PATCH] moved VERSION macro from config.in to C++ compiler option --- darkice/trunk/configure.in | 1 + darkice/trunk/src/Makefile.am | 2 +- 2 files changed, 2 insertions(+), 1 deletion(-) diff --git a/darkice/trunk/configure.in b/darkice/trunk/configure.in index ce919ae..98ae318 100644 --- a/darkice/trunk/configure.in +++ b/darkice/trunk/configure.in @@ -20,6 +20,7 @@ AC_TYPE_SIZE_T() AC_SUBST(LAME_INCFLAGS) AC_SUBST(LAME_LDFLAGS) AC_SUBST(LINK_STATIC) +AC_SUBST(VERSION) dnl checkin for lame library AC_MSG_CHECKING(lame library) diff --git a/darkice/trunk/src/Makefile.am b/darkice/trunk/src/Makefile.am index 3df30b1..55b0c08 100644 --- a/darkice/trunk/src/Makefile.am +++ b/darkice/trunk/src/Makefile.am @@ -1,6 +1,6 @@ bin_PROGRAMS = darkice INCLUDES = -I../stl @LAME_INCFLAGS@ -CXXFLAGS = -O2 -Wall +CXXFLAGS = -O2 -Wall -DVERSION="@VERSION@" LDADD = @LAME_LDFLAGS@ @LINK_STATIC@ darkice_SOURCES = AudioEncoder.h\