Better method to set release names.
This commit is contained in:
parent
3af3a8d41d
commit
bfa965376a
2 changed files with 3 additions and 5 deletions
|
@ -41,10 +41,6 @@ AC_CHECK_FUNCS([dup2 gettimeofday memset mkdir socket strerror])
|
||||||
|
|
||||||
AC_SUBST([global_CFLAGS], [-funsigned-char])
|
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
|
#allow verbose mode compiles
|
||||||
AC_ARG_ENABLE([verbose], AC_HELP_STRING([--enable-verbose], [Compile with verbose messages]),
|
AC_ARG_ENABLE([verbose], AC_HELP_STRING([--enable-verbose], [Compile with verbose messages]),
|
||||||
AC_DEFINE([DEBUG], [4]))
|
AC_DEFINE([DEBUG], [4]))
|
||||||
|
|
|
@ -5,7 +5,9 @@ BUILT_SOURCES=server.html.h embed.js.h
|
||||||
# Do not clean below files, build machines do not have closure installed
|
# Do not clean below files, build machines do not have closure installed
|
||||||
EXTRA_DIST=server.html server.html.h embed.js.h
|
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)
|
LDADD = $(MIST_LIBS)
|
||||||
SUBDIRS=converters analysers
|
SUBDIRS=converters analysers
|
||||||
bin_PROGRAMS=MistBuffer MistController MistConnRAW MistConnRTMP MistConnHTTP MistConnHTTPProgressive MistConnHTTPDynamic MistConnHTTPSmooth MistConnHTTPLive MistConnTS MistPlayer
|
bin_PROGRAMS=MistBuffer MistController MistConnRAW MistConnRTMP MistConnHTTP MistConnHTTPProgressive MistConnHTTPDynamic MistConnHTTPSmooth MistConnHTTPLive MistConnTS MistPlayer
|
||||||
|
|
Loading…
Add table
Reference in a new issue