Oops, missed one. The `emacs-program-version' is also wrong. The
following patch is needed:
# Program name and version
!if $(INFODOCK)
INFODOCK_VERSION_STRING=$(infodock_major_version).$(infodock_minor_versi
on).$(infodock_build_version)
PROGRAM_DEFINES=-DINFODOCK \
-DPATH_VERSION=\"$(INFODOCK_VERSION_STRING)\" \
-DPATH_PROGNAME=\"infodock\" \
-DINFODOCK_MAJOR_VERSION=$(infodock_major_version) \
-DINFODOCK_MINOR_VERSION=$(infodock_minor_version) \
-DINFODOCK_BUILD_VERSION=$(infodock_build_version)
!else
!if "$(emacs_beta_version)" != ""
XEMACS_VERSION_STRING=$(emacs_major_version).$(emacs_minor_version)-b$(e
macs_beta_version)
!else
XEMACS_VERSION_STRING=$(emacs_major_version).$(emacs_minor_version)
!endif
PROGRAM_DEFINES= \
-DPATH_VERSION=\"$(XEMACS_VERSION_STRING)\" \
-DPATH_PROGNAME=\"xemacs\"
!endif
# Generic variables
-----Original Message-----
From: Sean MacLennan
Sent: Monday, June 15, 1998 10:52 AM
To: 'xemacs-nt(a)xemacs.org'
Cc: 'xemacs-beta(a)xemacs.org'
Subject: Build problems with b44
emacs.c does not compile under b44. The problem is that
EMACS_BETA_VERSION is defined as "" and therefore the make_int fails
in emacs.c.
I do not have access to diff right now, so I have included the portion
of xemacs.mak that must change. [1]
Hope this helps someone.
Sean
#---------------------------------------------------------------------
---------
# TEMACS Executable
# This may not exist
!if "$(emacs_beta_version)" != ""
EMACS_BETA_VERSION=-DEMACS_BETA_VERSION=$(emacs_beta_version)
!ENDIF
TEMACS_DIR=$(XEMACS)\src
TEMACS=$(TEMACS_DIR)\temacs.exe
TEMACS_BROWSE=$(TEMACS_DIR)\temacs.bsc
TEMACS_SRC=$(XEMACS)\src
TEMACS_LIBS=$(LASTFILE) $(LWLIB) $(X_LIBS) $(MSW_LIBS) \
kernel32.lib user32.lib gdi32.lib winspool.lib comdlg32.lib
advapi32.lib \
shell32.lib ole32.lib oleaut32.lib uuid.lib wsock32.lib winmm.lib
libc.lib
TEMACS_LFLAGS=-nologo $(LIBRARIES) $(DEBUG_FLAGS) -base:0x1000000\
-stack:0x800000 -entry:_start -subsystem:console\
-pdb:$(TEMACS_DIR)\temacs.pdb -map:$(TEMACS_DIR)\temacs.map \
-heap:0x00100000 -out:$@
TEMACS_CPP_FLAGS= $(WARN_CPP_FLAGS) $(INCLUDES) $(DEFINES)
$(DEBUG_DEFINES) \
-DEMACS_MAJOR_VERSION=$(emacs_major_version) \
-DEMACS_MINOR_VERSION=$(emacs_minor_version) \
$(EMACS_BETA_VERSION) \
-DXEMACS_CODENAME=\"$(xemacs_codename)\" \
-DPATH_PACKAGEPATH=\"$(PATH_PACKAGEPATH)\"
TEMACS_FLAGS=-ML $(WARN_CPP_FALGS) $(OPT) -c $(TEMACS_CPP_FLAGS)
--------------------------------------------------------------
[1] With no success sending real patches I am not even going to
attempt to send this to xemacs-patch. If someone could make a real
patch and submit it......