Added support for release names through ./configure RELEASE=name

This commit is contained in:
Thulinma 2012-10-23 11:26:25 +02:00
parent bd7433f22b
commit 0ffce1084a
2 changed files with 6 additions and 3 deletions

View file

@ -40,6 +40,10 @@ 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]))