VERSION is now defined in configure.in (as in all "right" programs

including GNOME). Definition in Make.common.in is removed. File
"VERSION" is still needed for the PC port.
acconfig.h doesn't include "VERSION" anymore
config.h.in is rebuild using autoheader
This commit is contained in:
Pavel Roskin 1998-08-27 18:28:22 +00:00
parent 77c27f6130
commit 034919825e
4 changed files with 7 additions and 7 deletions

View File

@ -1,4 +1,4 @@
VERSION=pre.1.5
VERSION = @VERSION@
SHELL = /bin/sh

View File

@ -20,11 +20,10 @@
along with this program; if not, write to the Free Software
Foundation, Inc., 675 Mass Ave, Cambridge, MA 02139, USA. */
#include <VERSION>
@TOP@
#undef VERSION
#undef PACKAGE
/* Always defined */

View File

@ -21,8 +21,6 @@
along with this program; if not, write to the Free Software
Foundation, Inc., 675 Mass Ave, Cambridge, MA 02139, USA. */
#include <VERSION>
/* Define if on AIX 3.
@ -118,6 +116,7 @@
/* Define if the X Window System is missing or not being used. */
#undef X_DISPLAY_MISSING
#undef VERSION
#undef PACKAGE
/* Always defined */

View File

@ -5,9 +5,10 @@ AC_INIT(create_vcs)
AC_CONFIG_HEADER(config.h)
PACKAGE=mc
VERSION=dummy
VERSION=4.1.35
AC_DEFINE_UNQUOTED(PACKAGE, "$PACKAGE")
AC_DEFINE_UNQUOTED(VERSION, "dummy")
AC_DEFINE_UNQUOTED(VERSION, "$VERSION")
AC_SUBST(VERSION)
dnl This is path where we're looking for headers in addition to /usr/include
dnl and whatever cpp defaults to.
@ -1412,6 +1413,7 @@ dnl
AC_OUTPUT([
Make.common
Makefile
VERSION
doc/Makefile
vfs/Makefile:vfs/Make-mc.in
lib/Makefile