Better method to set release names.

This commit is contained in:
Thulinma 2013-01-08 16:23:48 +01:00
parent 3af3a8d41d
commit bfa965376a
2 changed files with 3 additions and 5 deletions

View file

@ -41,10 +41,6 @@ AC_CHECK_FUNCS([dup2 gettimeofday memset mkdir socket strerror])
AC_SUBST([global_CFLAGS], [-funsigned-char])
#allow release names
AC_ARG_VAR([RELEASE], [Sets a specific release name])
AC_DEFINE_UNQUOTED([RELEASE], ["$RELEASE"])
#allow verbose mode compiles
AC_ARG_ENABLE([verbose], AC_HELP_STRING([--enable-verbose], [Compile with verbose messages]),
AC_DEFINE([DEBUG], [4]))

View file

@ -5,7 +5,9 @@ BUILT_SOURCES=server.html.h embed.js.h
# Do not clean below files, build machines do not have closure installed
EXTRA_DIST=server.html server.html.h embed.js.h
AM_CPPFLAGS = $(global_CFLAGS) $(MIST_CFLAGS)
RELEASE ?= "Generic_`getconf LONG_BIT`"
AM_CPPFLAGS = $(global_CFLAGS) $(MIST_CFLAGS) -DRELEASE=\"$(RELEASE)\"
LDADD = $(MIST_LIBS)
SUBDIRS=converters analysers
bin_PROGRAMS=MistBuffer MistController MistConnRAW MistConnRTMP MistConnHTTP MistConnHTTPProgressive MistConnHTTPDynamic MistConnHTTPSmooth MistConnHTTPLive MistConnTS MistPlayer