2009-07-02 09:27 UTC+0200 Viktor Szakats (harbour.01 syenar.hu)

* config/none.cf
  * config/win/global.cf
  * config/wce/global.cf
    ! Attempt to fix problem where 'COMSPEC' envvar wasn't picked
      by GNU Make on default XP installation, where this envvar
      is defined as 'ComSpec', and mingw GNU Make is case-sensitive
      for envvar names. This patch is needed to make Harbour build 
      with clean PATH (without OS).
      Thanks to April White for discovering this.
This commit is contained in:
Viktor Szakats
2009-07-02 07:30:07 +00:00
parent b790e72749
commit ff24e95e5e
4 changed files with 40 additions and 17 deletions

View File

@@ -17,6 +17,17 @@
past entries belonging to author(s): Viktor Szakats.
*/
2009-07-02 09:27 UTC+0200 Viktor Szakats (harbour.01 syenar.hu)
* config/none.cf
* config/win/global.cf
* config/wce/global.cf
! Attempt to fix problem where 'COMSPEC' envvar wasn't picked
by GNU Make on default XP installation, where this envvar
is defined as 'ComSpec', and mingw GNU Make is case-sensitive
for envvar names. This patch is needed to make Harbour build
with clean PATH (without OS).
Thanks to April White for discovering this.
2009-07-02 09:04 UTC+0200 Viktor Szakats (harbour.01 syenar.hu)
* contrib/hbqt/generator/hbqtgen.prg
* contrib/hbqt/Makefile_gen

View File

@@ -5,11 +5,15 @@
ifneq ($(HB_ARCHITECTURE),)
ifneq ($(HB_COMPILER),)
ifneq ($(ComSpec),)
COMSPEC := $(ComSpec)
endif
CMDPREF:=
ifeq ($(SHLVL),)
ifneq ($(COMSPEC),)
CMDPREF:=$(COMSPEC) /C
endif
ifneq ($(COMSPEC),)
CMDPREF := $(COMSPEC) /C
endif
endif
ifneq ($(LIBNAME),)

View File

@@ -40,18 +40,22 @@ DIRSEP = $(subst /,\,\)
MK := $(subst \,/,$(subst \~,~,$(MAKE)))
ifneq ($(ComSpec),)
COMSPEC := $(ComSpec)
endif
ifeq ($(COMSPEC),) #location of command.com
ifeq ($(OS),Windows_NT)
COMSPEC := cmd.exe
else
COMSPEC := command.com
endif
ifeq ($(OS),Windows_NT)
COMSPEC := cmd.exe
else
COMSPEC := command.com
endif
endif
ifeq ($(findstring cmd.exe,$(COMSPEC)),cmd.exe)
CMD_EXE := yes
CMD_EXE := yes
else
CMD_EXE := no
CMD_EXE := no
endif
RM = del

View File

@@ -36,18 +36,22 @@ DIRSEP = $(subst /,\,\)
MK := $(subst \,/,$(subst \~,~,$(MAKE)))
ifneq ($(ComSpec),)
COMSPEC := $(ComSpec)
endif
ifeq ($(COMSPEC),) #location of command.com
ifeq ($(OS),Windows_NT)
COMSPEC := cmd.exe
else
COMSPEC := command.com
endif
ifeq ($(OS),Windows_NT)
COMSPEC := cmd.exe
else
COMSPEC := command.com
endif
endif
ifeq ($(findstring cmd.exe,$(COMSPEC)),cmd.exe)
CMD_EXE := yes
CMD_EXE := yes
else
CMD_EXE := no
CMD_EXE := no
endif
RM = del