]> code.delx.au - gnu-emacs/blobdiff - GNUmakefile
* lib-src/make-docfile.c (search_lisp_doc_at_eol): Use int rather than char
[gnu-emacs] / GNUmakefile
index b829e93b498f13ce5ce1f308e38930e62b04e48f..a2a630ba9d573c6e3f39d2a4f281bda90521ec69 100644 (file)
 # run "configure" by hand.  But run autogen.sh first, if the source
 # was checked out directly from the repository.
 
+ifneq ($(MSYSTEM),)
+CFG = CONFIG_SITE=$(CURDIR)/nt/mingw-cfg.site
+else
+CFG =
+endif
 
 # If a Makefile already exists, just use it.
 
@@ -70,7 +75,7 @@ configure:
 Makefile: configure
        @echo >&2 'There seems to be no Makefile in this directory.'
        @echo >&2 'Running ./configure ...'
-       ./configure
+       $(CFG) ./configure
        @echo >&2 'Makefile built.'
 
 endif