On Thu, Feb 7, 2013 at 2:40 AM, Henry S. Thompson <ht(a)inf.ed.ac.uk> wrote:
I don't _think_ so. The evidence from my build is that none of
that
is involved, as the _only_ thing produced during the build process for
postgresql is postgresql.o . Is the whole source of the problem that
I configured --with-modules=no ? I've been doing that for years. . .
Oh, where did I get the idea that modules were involved? Sorry about
barking up the wrong tree. Well, in that case, I still don't get what
is going on, though. Is nt/xemacs.mak the Makefile you use to build?
Because if it is, then postgresql.o is generated by this rule:
$(OUTDIR)\postgresql.obj: $(SRCROOT)\modules\postgresql\postgresql.c
$(CCV) -I$(SRC) $(TEMACS_CPP_FLAGS)
$(SRCROOT)\modules\postgresql\postgresql.c -Fo$@ $(BROWSERFLAGS)
and TEMACS_CPP_FLAGS is set by this rule:
TEMACS_CPP_FLAGS=$(CFLAGS) $(TEMACS_CPP_FLAGS_NO_CFLAGS)
and TEMACS_CPP_FLAGS_NO_CFLAGS is set by this rule:
TEMACS_CPP_FLAGS_NO_CFLAGS=-c $(CPLUSPLUS_COMPILE_FLAGS) \
$(INCLUDES) $(DEFINES) \
-DEMACS_MAJOR_VERSION=$(emacs_major_version) \
-DEMACS_MINOR_VERSION=$(emacs_minor_version) \
$(EMACS_BETA_VERSION) $(EMACS_PATCH_LEVEL) \
-DXEMACS_CODENAME=\"$(xemacs_codename:&=and)\" \
!if defined(xemacs_extra_name)
-DXEMACS_EXTRA_NAME=\""$(xemacs_extra_name:"=)"\" \
!endif
!if defined(PATH_LATE_PACKAGE_DIRECTORIES)
-DPATH_LATE_PACKAGE_DIRECTORIES=\"$(PATH_LATE_PACKAGE_DIRECTORIES)\" \
!endif
-DEMACS_CONFIGURATION=\"$(EMACS_CONFIGURATION)\"
and DEFINES is set by this rule:
DEFINES=$(OPT_DEFINES) \
-DWIN32_LEAN_AND_MEAN -DWIN32_NATIVE -Demacs \
-DHAVE_CONFIG_H $(PROGRAM_DEFINES) $(PATH_DEFINES)
which clearly contains -Demacs. Does your Makefile come from
somewhere other than nt/xemacs.mak?
--
Jerry James
http://www.jamezone.org/
_______________________________________________
XEmacs-Beta mailing list
XEmacs-Beta(a)xemacs.org
http://lists.xemacs.org/mailman/listinfo/xemacs-beta