Changeset - 1fbf14db3899
[Not reviewed]
default
0 2 0
Nathan Brink (binki) - 15 years ago 2010-07-28 22:54:23
ohnobinki@ohnopublishing.net
Support bragging about ourselves in distren's startup messages.
2 files changed with 20 insertions and 0 deletions:
0 comments (0 inline, 0 general)
configure.ac
Show inline comments
 
@@ -53,6 +53,17 @@ AX_LIB_MYSQL
 
AS_IF( [test "x${MYSQL_VERSION}" = "x"],
 
	[ AC_MSG_ERROR([I need mysql]) ] )
 

	
 
LIBS_save="$LIBS"
 
CFLAGS_save="$CFLAGS"
 
LIBS="$LIBS $DISTLIBS_LIBS"
 
CFLAGS="$CFLAGS $DISTLIBS_CFLAGS"
 
AC_LINK_IFELSE([AC_LANG_PROGRAM([#include <list.h>
 
	#include <stdio.h>
 
	], [printf(stderr, "%s", list_brag);
 
	return 0;])], [AC_DEFINE([HAVE_LIST_BRAG], [], [Define if liblist has list_brag.])], [])
 
LIBS="$LIBS_save"
 
CFLAGS="$CFLAGS_save"
 

	
 
PKG_CHECK_MODULES([CHECK], [check >= 0.9.3])
 

	
 
dnl define paths for configuration files until a better arrangement is
src/server/distrend.c
Show inline comments
 
@@ -117,6 +117,15 @@ int main(int argc, char *argv[])
 
    CLIENTSTATUS_IDLE = 2
 
  } clientstatus;
 

	
 
  fprintf(stderr, PACKAGE_STRING "\n\
 
Nathan Phillip Brink <binki@ohnopub.net>\n\
 
Ethan Zonca <ethanzonca@gmail.com>\n\
 
\n");
 

	
 
#ifdef HAVE_LIST_BRAG
 
  fprintf(stderr, "Using %s\n", list_brag);
 
#endif
 

	
 
  clientstatus = CLIENTSTATUS_UNINITIALIZED;
 
  // xmlinit();
 

	
0 comments (0 inline, 0 general)