2006-06-15 19:48:13 +00:00
|
|
|
/*
|
2006-06-29 15:53:05 +00:00
|
|
|
include/common/version.h
|
2006-06-15 19:48:13 +00:00
|
|
|
This file serves as a template for future include files.
|
2006-06-26 00:48:02 +00:00
|
|
|
|
2007-03-25 22:24:56 +00:00
|
|
|
Copyright (C) 2000-2007 Willy Tarreau - w@1wt.eu
|
2006-06-15 19:48:13 +00:00
|
|
|
|
|
|
|
This library is free software; you can redistribute it and/or
|
|
|
|
modify it under the terms of the GNU Lesser General Public
|
|
|
|
License as published by the Free Software Foundation, version 2.1
|
|
|
|
exclusively.
|
|
|
|
|
|
|
|
This library is distributed in the hope that it will be useful,
|
|
|
|
but WITHOUT ANY WARRANTY; without even the implied warranty of
|
|
|
|
MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
|
|
|
|
Lesser General Public License for more details.
|
|
|
|
|
|
|
|
You should have received a copy of the GNU Lesser General Public
|
|
|
|
License along with this library; if not, write to the Free Software
|
|
|
|
Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA
|
|
|
|
*/
|
|
|
|
|
2006-06-29 15:53:05 +00:00
|
|
|
#ifndef _COMMON_VERSION_H
|
|
|
|
#define _COMMON_VERSION_H
|
2006-06-15 19:48:13 +00:00
|
|
|
|
2006-06-29 16:54:54 +00:00
|
|
|
#include <common/config.h>
|
|
|
|
|
2006-06-26 00:48:02 +00:00
|
|
|
#ifdef CONFIG_PRODUCT_NAME
|
2006-06-29 16:54:54 +00:00
|
|
|
#define PRODUCT_NAME CONFIG_PRODUCT_NAME
|
2006-06-26 00:48:02 +00:00
|
|
|
#else
|
2006-06-29 16:54:54 +00:00
|
|
|
#define PRODUCT_NAME "HAProxy"
|
2006-06-26 00:48:02 +00:00
|
|
|
#endif
|
2006-06-15 19:48:13 +00:00
|
|
|
|
2007-01-01 20:38:07 +00:00
|
|
|
#ifdef CONFIG_PRODUCT_BRANCH
|
|
|
|
#define PRODUCT_BRANCH CONFIG_PRODUCT_BRANCH
|
|
|
|
#else
|
|
|
|
#define PRODUCT_BRANCH "1.3"
|
|
|
|
#endif
|
|
|
|
|
|
|
|
#ifdef CONFIG_PRODUCT_URL
|
|
|
|
#define PRODUCT_URL CONFIG_PRODUCT_URL
|
|
|
|
#else
|
|
|
|
#define PRODUCT_URL "http://haproxy.1wt.eu/"
|
|
|
|
#endif
|
|
|
|
|
|
|
|
#ifdef CONFIG_PRODUCT_URL_UPD
|
|
|
|
#define PRODUCT_URL_UPD CONFIG_PRODUCT_URL_UPD
|
|
|
|
#else
|
|
|
|
#define PRODUCT_URL_UPD "http://haproxy.1wt.eu/#down"
|
|
|
|
#endif
|
|
|
|
|
|
|
|
#ifdef CONFIG_PRODUCT_URL_DOC
|
|
|
|
#define PRODUCT_URL_DOC CONFIG_PRODUCT_URL_DOC
|
|
|
|
#else
|
|
|
|
#define PRODUCT_URL_DOC "http://haproxy.1wt.eu/#docs"
|
|
|
|
#endif
|
|
|
|
|
2006-06-29 16:54:54 +00:00
|
|
|
#ifdef CONFIG_HAPROXY_VERSION
|
|
|
|
#define HAPROXY_VERSION CONFIG_HAPROXY_VERSION
|
|
|
|
#else
|
2007-05-08 23:44:58 +00:00
|
|
|
#define HAPROXY_VERSION "1.3.10"
|
2006-06-15 19:48:13 +00:00
|
|
|
#endif
|
2006-06-26 00:48:02 +00:00
|
|
|
|
2006-06-29 16:54:54 +00:00
|
|
|
#ifdef CONFIG_HAPROXY_DATE
|
|
|
|
#define HAPROXY_DATE CONFIG_HAPROXY_DATE
|
|
|
|
#else
|
2007-05-08 23:44:58 +00:00
|
|
|
#define HAPROXY_DATE "2007/05/08"
|
2006-06-26 00:48:02 +00:00
|
|
|
#endif
|
|
|
|
|
2006-06-29 15:53:05 +00:00
|
|
|
#endif /* _COMMON_VERSION_H */
|
2007-01-01 23:59:39 +00:00
|
|
|
|