Previously in the imake world, changing the CDE version required hand editing a handful of files. This commit makes these files into ".in" files. configure.ac now holds CDE version information -- both in the AC_INIT() call and in the CDE_VERSION_* variables a few lines down. Changing the CDE version now involves editing those two locations in configure.ac only. Thereafter, a configure run will replace version information in the following files with the current CDE version: copyright doc/common/help/HELPEnt.sgm include/Dt/Dt.h lib/tt/bin/ttauth/ttauth.man This also causes a catch-22 problem with ToolTalk. So the tooltalk.inc file is gone and the relevant TT Makefiles have been modified to set and define the TT version in those Makefiles that actually use it.
94 lines
2.3 KiB
C
94 lines
2.3 KiB
C
/*
|
|
* CDE - Common Desktop Environment
|
|
*
|
|
* Copyright (c) 1993-2012, The Open Group. All rights reserved.
|
|
*
|
|
* These libraries and programs are free software; you can
|
|
* redistribute them and/or modify them under the terms of the GNU
|
|
* Lesser General Public License as published by the Free Software
|
|
* Foundation; either version 2 of the License, or (at your option)
|
|
* any later version.
|
|
*
|
|
* These libraries and programs are distributed in the hope that
|
|
* they 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 these libraries and programs; if not, write
|
|
* to the Free Software Foundation, Inc., 51 Franklin Street, Fifth
|
|
* Floor, Boston, MA 02110-1301 USA
|
|
*/
|
|
/* $TOG: Dt.h /main/12 1999/10/18 14:49:57 samborn $ */
|
|
/*
|
|
* (c) Copyright 1997, The Open Group
|
|
*/
|
|
/*
|
|
* (c) Copyright 1996 Digital Equipment Corporation.
|
|
* (c) Copyright 1993,1994,1996 Hewlett-Packard Company.
|
|
* (c) Copyright 1993,1994,1996 International Business Machines Corp.
|
|
* (c) Copyright 1993-1996 Sun Microsystems, Inc.
|
|
* (c) Copyright 1993,1994,1996 Novell, Inc.
|
|
* (c) Copyright 1996 FUJITSU LIMITED.
|
|
* (c) Copyright 1996 Hitachi.
|
|
*/
|
|
|
|
#ifndef _Dt_Dt_h
|
|
#define _Dt_Dt_h
|
|
|
|
#include <X11/Intrinsic.h>
|
|
|
|
#ifdef __cplusplus
|
|
extern "C" {
|
|
#endif
|
|
|
|
|
|
/*
|
|
* Constants
|
|
*/
|
|
|
|
/* CDE Version information */
|
|
|
|
#define DtVERSION @CDE_VERSION_MAJOR@
|
|
#define DtREVISION @CDE_VERSION_MINOR@
|
|
#define DtUPDATE_LEVEL @CDE_VERSION_MICRO@
|
|
|
|
#define DtVERSION_NUMBER (DtVERSION * 10000 + \
|
|
DtREVISION * 100 + \
|
|
DtUPDATE_LEVEL)
|
|
|
|
#define DtVERSION_STRING "CDE Version @CDE_VERSION_MAJOR@.@CDE_VERSION_MINOR@.@CDE_VERSION_MICRO@@CDE_VERSION_DEV@"
|
|
|
|
|
|
/*
|
|
* CDE Version information
|
|
*/
|
|
|
|
externalref const int DtVersion;
|
|
externalref const char *DtVersionString;
|
|
|
|
|
|
/*
|
|
* Functions
|
|
*/
|
|
|
|
extern Boolean DtInitialize(
|
|
Display *display,
|
|
Widget widget,
|
|
char *name,
|
|
char *tool_class);
|
|
|
|
extern Boolean DtAppInitialize(
|
|
XtAppContext app_context,
|
|
Display *display,
|
|
Widget widget,
|
|
char *name,
|
|
char *tool_class);
|
|
|
|
#ifdef __cplusplus
|
|
}
|
|
#endif
|
|
|
|
#endif /* _Dt_Dt_h */
|