diff --git a/src/langley.c b/src/langley.c index e621c24bef66715eb86a0248c0e7520fa69e7a51..3e3820c91199dfb203542ab80b08236209b5efe1 100644 --- a/src/langley.c +++ b/src/langley.c @@ -205,10 +205,9 @@ /****** Application Includes ******/ #include "langley.h" -/* Required for RCS */ -static char *rcsid="$Id: langley.c,v 1.40 2012/02/06 19:24:24 koontz Exp $"; -static char *rcsstate="$State: Exp $"; -static char *rcsdate="$Date: 2012/02/06 19:24:24 $"; +/* Get version from config.h */ +#include "../config.h" +static const char *_Version = PACKAGE_NAME"-"PACKAGE_VERSION; char gPlatNames[NPRESPLATS][64]; @@ -414,25 +413,9 @@ char * custom_GetVersion() * and everything will work the way it is supposed to. *****************************************************************************/ { - return (rcsstate); + return (_Version); } /* custom_GetVersion (... */ -char* -custom_GetDate () -/**************************************************************************** - * This function is called by dc_maker when it needs to know the - * version date of this file. Since this file is the only unique code in the - * application, the version date of this file is the appropriate one - * to assign to the production attribute "Version_date". All of the rest - * of the code (the "zeb wrapper") is in the library libBW.a and shouldn't - * change with each measurement. Basically, just leave this function alone - * and everything will work the way it is supposed to. - *****************************************************************************/ -{ - return (rcsdate); -} /* custom_GetDate (... */ - - void custom_define_hooks () { void parse_commandline_options (void);