diff --git a/harbour/ChangeLog b/harbour/ChangeLog index 712229c6fa..4c24261921 100644 --- a/harbour/ChangeLog +++ b/harbour/ChangeLog @@ -8,6 +8,29 @@ 2009-12-31 13:59 UTC+0100 Foo Bar (foo.bar foobar.org) */ +2009-03-25 15:47 UTC+0100 Viktor Szakats (harbour.01 syenar hu) + * doc/en/Makefile + * doc/Makefile + - doc/en + + doc/en-EN + * Renamed. + + + man + + man/nfdoc + + man/manpages + + Added new dir for Harbour manuals. + ; TODO: Move files here from /doc. + + * contrib/hbtpathy/tests/testtp.prg + * Applied update/fix by Barry Jackson. + + * utils/hbmk2/hbmk2.prg + + Added autodetection of MinGW compiler if installed in the + Harbour directory tree in the mingw dir. + This way it's possible to create a fully setup-free + install kit, which is able to produce Harbour executables + right after unzip by simply issuing command: hbmk2 hello.prg + 2009-03-26 14:10 UTC+0200 Mindaugas Kavaliauskas (dbtopas/at/dbtopas.lt) * harbour/contrib/hbole/olecore.c * fixed compile time warning diff --git a/harbour/contrib/hbtpathy/tests/testtp.prg b/harbour/contrib/hbtpathy/tests/testtp.prg index 4c33e95c4d..9aa2c437d7 100644 --- a/harbour/contrib/hbtpathy/tests/testtp.prg +++ b/harbour/contrib/hbtpathy/tests/testtp.prg @@ -67,12 +67,10 @@ */ function main - ? - ? ? tp_open( 1,, 9600, 8, "N", 1 ) - //tp_send( 1, "Hi there bob" ) + tp_send( 1, "Hi there Bob", 1 ) // One second timeout tp_inkey( .5 ) - //? tp_recv( 1 ) + ? tp_recv( 1 ) ? tp_Close( 1 ) return nil diff --git a/harbour/doc/Makefile b/harbour/doc/Makefile index 445df0144f..3b736efc05 100644 --- a/harbour/doc/Makefile +++ b/harbour/doc/Makefile @@ -35,7 +35,7 @@ DOC_FILES=\ windll.txt \ DIRS=\ - en \ + en-EN \ include $(TOP)$(ROOT)config/doc.cf include $(TOP)$(ROOT)config/dir.cf diff --git a/harbour/doc/en/Makefile b/harbour/doc/en-EN/Makefile similarity index 98% rename from harbour/doc/en/Makefile rename to harbour/doc/en-EN/Makefile index 9d327a87c9..78c7bc5e01 100644 --- a/harbour/doc/en/Makefile +++ b/harbour/doc/en-EN/Makefile @@ -4,7 +4,7 @@ ROOT = ../../ -DOC_SUBDIR=/en +DOC_SUBDIR=/en-EN DOC_FILES=\ array.txt \ diff --git a/harbour/doc/en/array.txt b/harbour/doc/en-EN/array.txt similarity index 100% rename from harbour/doc/en/array.txt rename to harbour/doc/en-EN/array.txt diff --git a/harbour/doc/en/binnum.txt b/harbour/doc/en-EN/binnum.txt similarity index 100% rename from harbour/doc/en/binnum.txt rename to harbour/doc/en-EN/binnum.txt diff --git a/harbour/doc/en/browse.txt b/harbour/doc/en-EN/browse.txt similarity index 100% rename from harbour/doc/en/browse.txt rename to harbour/doc/en-EN/browse.txt diff --git a/harbour/doc/en/clipper.txt b/harbour/doc/en-EN/clipper.txt similarity index 100% rename from harbour/doc/en/clipper.txt rename to harbour/doc/en-EN/clipper.txt diff --git a/harbour/doc/en/cmdline.txt b/harbour/doc/en-EN/cmdline.txt similarity index 100% rename from harbour/doc/en/cmdline.txt rename to harbour/doc/en-EN/cmdline.txt diff --git a/harbour/doc/en/command.txt b/harbour/doc/en-EN/command.txt similarity index 100% rename from harbour/doc/en/command.txt rename to harbour/doc/en-EN/command.txt diff --git a/harbour/doc/en/compiler.txt b/harbour/doc/en-EN/compiler.txt similarity index 100% rename from harbour/doc/en/compiler.txt rename to harbour/doc/en-EN/compiler.txt diff --git a/harbour/doc/en/datetime.txt b/harbour/doc/en-EN/datetime.txt similarity index 100% rename from harbour/doc/en/datetime.txt rename to harbour/doc/en-EN/datetime.txt diff --git a/harbour/doc/en/dbdelim.txt b/harbour/doc/en-EN/dbdelim.txt similarity index 100% rename from harbour/doc/en/dbdelim.txt rename to harbour/doc/en-EN/dbdelim.txt diff --git a/harbour/doc/en/dbsdf.txt b/harbour/doc/en-EN/dbsdf.txt similarity index 100% rename from harbour/doc/en/dbsdf.txt rename to harbour/doc/en-EN/dbsdf.txt diff --git a/harbour/doc/en/dbstrux.txt b/harbour/doc/en-EN/dbstrux.txt similarity index 100% rename from harbour/doc/en/dbstrux.txt rename to harbour/doc/en-EN/dbstrux.txt diff --git a/harbour/doc/en/dir.txt b/harbour/doc/en-EN/dir.txt similarity index 100% rename from harbour/doc/en/dir.txt rename to harbour/doc/en-EN/dir.txt diff --git a/harbour/doc/en/diskspac.txt b/harbour/doc/en-EN/diskspac.txt similarity index 100% rename from harbour/doc/en/diskspac.txt rename to harbour/doc/en-EN/diskspac.txt diff --git a/harbour/doc/en/error.txt b/harbour/doc/en-EN/error.txt similarity index 100% rename from harbour/doc/en/error.txt rename to harbour/doc/en-EN/error.txt diff --git a/harbour/doc/en/eval.txt b/harbour/doc/en-EN/eval.txt similarity index 100% rename from harbour/doc/en/eval.txt rename to harbour/doc/en-EN/eval.txt diff --git a/harbour/doc/en/file.txt b/harbour/doc/en-EN/file.txt similarity index 100% rename from harbour/doc/en/file.txt rename to harbour/doc/en-EN/file.txt diff --git a/harbour/doc/en/garbage.txt b/harbour/doc/en-EN/garbage.txt similarity index 100% rename from harbour/doc/en/garbage.txt rename to harbour/doc/en-EN/garbage.txt diff --git a/harbour/doc/en/gnulice.txt b/harbour/doc/en-EN/gnulice.txt similarity index 100% rename from harbour/doc/en/gnulice.txt rename to harbour/doc/en-EN/gnulice.txt diff --git a/harbour/doc/en/gtslang.txt b/harbour/doc/en-EN/gtslang.txt similarity index 100% rename from harbour/doc/en/gtslang.txt rename to harbour/doc/en-EN/gtslang.txt diff --git a/harbour/doc/en/harbext.txt b/harbour/doc/en-EN/harbext.txt similarity index 100% rename from harbour/doc/en/harbext.txt rename to harbour/doc/en-EN/harbext.txt diff --git a/harbour/doc/en/hb_api.txt b/harbour/doc/en-EN/hb_api.txt similarity index 100% rename from harbour/doc/en/hb_api.txt rename to harbour/doc/en-EN/hb_api.txt diff --git a/harbour/doc/en/hb_apier.txt b/harbour/doc/en-EN/hb_apier.txt similarity index 100% rename from harbour/doc/en/hb_apier.txt rename to harbour/doc/en-EN/hb_apier.txt diff --git a/harbour/doc/en/hb_apifs.txt b/harbour/doc/en-EN/hb_apifs.txt similarity index 100% rename from harbour/doc/en/hb_apifs.txt rename to harbour/doc/en-EN/hb_apifs.txt diff --git a/harbour/doc/en/hb_apigt.txt b/harbour/doc/en-EN/hb_apigt.txt similarity index 100% rename from harbour/doc/en/hb_apigt.txt rename to harbour/doc/en-EN/hb_apigt.txt diff --git a/harbour/doc/en/hb_apiit.txt b/harbour/doc/en-EN/hb_apiit.txt similarity index 100% rename from harbour/doc/en/hb_apiit.txt rename to harbour/doc/en-EN/hb_apiit.txt diff --git a/harbour/doc/en/hb_apiln.txt b/harbour/doc/en-EN/hb_apiln.txt similarity index 100% rename from harbour/doc/en/hb_apiln.txt rename to harbour/doc/en-EN/hb_apiln.txt diff --git a/harbour/doc/en/hb_apird.txt b/harbour/doc/en-EN/hb_apird.txt similarity index 100% rename from harbour/doc/en/hb_apird.txt rename to harbour/doc/en-EN/hb_apird.txt diff --git a/harbour/doc/en/hb_compa.txt b/harbour/doc/en-EN/hb_compa.txt similarity index 100% rename from harbour/doc/en/hb_compa.txt rename to harbour/doc/en-EN/hb_compa.txt diff --git a/harbour/doc/en/hb_date.txt b/harbour/doc/en-EN/hb_date.txt similarity index 100% rename from harbour/doc/en/hb_date.txt rename to harbour/doc/en-EN/hb_date.txt diff --git a/harbour/doc/en/hb_macro.txt b/harbour/doc/en-EN/hb_macro.txt similarity index 100% rename from harbour/doc/en/hb_macro.txt rename to harbour/doc/en-EN/hb_macro.txt diff --git a/harbour/doc/en/hb_set.txt b/harbour/doc/en-EN/hb_set.txt similarity index 100% rename from harbour/doc/en/hb_set.txt rename to harbour/doc/en-EN/hb_set.txt diff --git a/harbour/doc/en/hb_vm.txt b/harbour/doc/en-EN/hb_vm.txt similarity index 100% rename from harbour/doc/en/hb_vm.txt rename to harbour/doc/en-EN/hb_vm.txt diff --git a/harbour/doc/en/hvm.txt b/harbour/doc/en-EN/hvm.txt similarity index 100% rename from harbour/doc/en/hvm.txt rename to harbour/doc/en-EN/hvm.txt diff --git a/harbour/doc/en/idle.txt b/harbour/doc/en-EN/idle.txt similarity index 100% rename from harbour/doc/en/idle.txt rename to harbour/doc/en-EN/idle.txt diff --git a/harbour/doc/en/input.txt b/harbour/doc/en-EN/input.txt similarity index 100% rename from harbour/doc/en/input.txt rename to harbour/doc/en-EN/input.txt diff --git a/harbour/doc/en/lang.txt b/harbour/doc/en-EN/lang.txt similarity index 100% rename from harbour/doc/en/lang.txt rename to harbour/doc/en-EN/lang.txt diff --git a/harbour/doc/en/license.txt b/harbour/doc/en-EN/license.txt similarity index 100% rename from harbour/doc/en/license.txt rename to harbour/doc/en-EN/license.txt diff --git a/harbour/doc/en/macro.txt b/harbour/doc/en-EN/macro.txt similarity index 100% rename from harbour/doc/en/macro.txt rename to harbour/doc/en-EN/macro.txt diff --git a/harbour/doc/en/math.txt b/harbour/doc/en-EN/math.txt similarity index 100% rename from harbour/doc/en/math.txt rename to harbour/doc/en-EN/math.txt diff --git a/harbour/doc/en/memo.txt b/harbour/doc/en-EN/memo.txt similarity index 100% rename from harbour/doc/en/memo.txt rename to harbour/doc/en-EN/memo.txt diff --git a/harbour/doc/en/memvar2.txt b/harbour/doc/en-EN/memvar2.txt similarity index 100% rename from harbour/doc/en/memvar2.txt rename to harbour/doc/en-EN/memvar2.txt diff --git a/harbour/doc/en/menu.txt b/harbour/doc/en-EN/menu.txt similarity index 100% rename from harbour/doc/en/menu.txt rename to harbour/doc/en-EN/menu.txt diff --git a/harbour/doc/en/misc.txt b/harbour/doc/en-EN/misc.txt similarity index 100% rename from harbour/doc/en/misc.txt rename to harbour/doc/en-EN/misc.txt diff --git a/harbour/doc/en/nation.txt b/harbour/doc/en-EN/nation.txt similarity index 100% rename from harbour/doc/en/nation.txt rename to harbour/doc/en-EN/nation.txt diff --git a/harbour/doc/en/objfunc.txt b/harbour/doc/en-EN/objfunc.txt similarity index 100% rename from harbour/doc/en/objfunc.txt rename to harbour/doc/en-EN/objfunc.txt diff --git a/harbour/doc/en/rdd.txt b/harbour/doc/en-EN/rdd.txt similarity index 100% rename from harbour/doc/en/rdd.txt rename to harbour/doc/en-EN/rdd.txt diff --git a/harbour/doc/en/rdddb.txt b/harbour/doc/en-EN/rdddb.txt similarity index 100% rename from harbour/doc/en/rdddb.txt rename to harbour/doc/en-EN/rdddb.txt diff --git a/harbour/doc/en/rddmisc.txt b/harbour/doc/en-EN/rddmisc.txt similarity index 100% rename from harbour/doc/en/rddmisc.txt rename to harbour/doc/en-EN/rddmisc.txt diff --git a/harbour/doc/en/rddord.txt b/harbour/doc/en-EN/rddord.txt similarity index 100% rename from harbour/doc/en/rddord.txt rename to harbour/doc/en-EN/rddord.txt diff --git a/harbour/doc/en/readme.txt b/harbour/doc/en-EN/readme.txt similarity index 100% rename from harbour/doc/en/readme.txt rename to harbour/doc/en-EN/readme.txt diff --git a/harbour/doc/en/sayget.txt b/harbour/doc/en-EN/sayget.txt similarity index 100% rename from harbour/doc/en/sayget.txt rename to harbour/doc/en-EN/sayget.txt diff --git a/harbour/doc/en/set.txt b/harbour/doc/en-EN/set.txt similarity index 100% rename from harbour/doc/en/set.txt rename to harbour/doc/en-EN/set.txt diff --git a/harbour/doc/en/setmode.txt b/harbour/doc/en-EN/setmode.txt similarity index 100% rename from harbour/doc/en/setmode.txt rename to harbour/doc/en-EN/setmode.txt diff --git a/harbour/doc/en/string.txt b/harbour/doc/en-EN/string.txt similarity index 100% rename from harbour/doc/en/string.txt rename to harbour/doc/en-EN/string.txt diff --git a/harbour/doc/en/strotype.txt b/harbour/doc/en-EN/strotype.txt similarity index 100% rename from harbour/doc/en/strotype.txt rename to harbour/doc/en-EN/strotype.txt diff --git a/harbour/doc/en/subcodes.txt b/harbour/doc/en-EN/subcodes.txt similarity index 100% rename from harbour/doc/en/subcodes.txt rename to harbour/doc/en-EN/subcodes.txt diff --git a/harbour/doc/en/tbrowse.txt b/harbour/doc/en-EN/tbrowse.txt similarity index 100% rename from harbour/doc/en/tbrowse.txt rename to harbour/doc/en-EN/tbrowse.txt diff --git a/harbour/doc/en/tclass.txt b/harbour/doc/en-EN/tclass.txt similarity index 100% rename from harbour/doc/en/tclass.txt rename to harbour/doc/en-EN/tclass.txt diff --git a/harbour/doc/en/terminal.txt b/harbour/doc/en-EN/terminal.txt similarity index 100% rename from harbour/doc/en/terminal.txt rename to harbour/doc/en-EN/terminal.txt diff --git a/harbour/doc/en/tgetlist.txt b/harbour/doc/en-EN/tgetlist.txt similarity index 100% rename from harbour/doc/en/tgetlist.txt rename to harbour/doc/en-EN/tgetlist.txt diff --git a/harbour/doc/en/tlabel.txt b/harbour/doc/en-EN/tlabel.txt similarity index 100% rename from harbour/doc/en/tlabel.txt rename to harbour/doc/en-EN/tlabel.txt diff --git a/harbour/doc/en/treport.txt b/harbour/doc/en-EN/treport.txt similarity index 100% rename from harbour/doc/en/treport.txt rename to harbour/doc/en-EN/treport.txt diff --git a/harbour/doc/en/var.txt b/harbour/doc/en-EN/var.txt similarity index 100% rename from harbour/doc/en/var.txt rename to harbour/doc/en-EN/var.txt diff --git a/harbour/utils/hbmk2/hbmk2.prg b/harbour/utils/hbmk2/hbmk2.prg index befe8f7e23..57e77f050c 100644 --- a/harbour/utils/hbmk2/hbmk2.prg +++ b/harbour/utils/hbmk2/hbmk2.prg @@ -62,7 +62,7 @@ * See COPYING for licensing terms. * */ - +#pragma linenumber=on /* Man page HOWTO: http://www.schweikhardt.net/man_page_howto.html @@ -486,7 +486,7 @@ FUNCTION Main( ... ) cOptPrefix := "-/" CASE t_cARCH == "win" /* Order is significant. - owatcom also keeps a cl.exe in it's binary dir. */ + owatcom also keeps a cl.exe in its binary dir. */ aCOMPDET := { { {|| FindInPath( t_cCCPREFIX + "gcc" ) != NIL }, "mingw" },; /* TODO: Add full support for g++ */ { {|| FindInPath( "wpp386" ) != NIL .AND. ; ! Empty( GetEnv( "WATCOM" ) ) }, "owatcom" },; /* TODO: Add full support for wcc386 */ @@ -521,64 +521,7 @@ FUNCTION Main( ... ) /* Setup GUI state for Harbour default */ SetupForGT( t_cGTDEFAULT, NIL, @s_lGUI ) - /* Autodetect compiler */ - - IF lStopAfterHarbour - /* If we're just compiling .prg to .c we don't need a C compiler. */ - t_cCOMP := "" - ELSE - IF Empty( t_cCOMP ) .OR. t_cCOMP == "bld" - IF Len( aCOMPSUP ) == 1 - t_cCOMP := aCOMPSUP[ 1 ] - ELSEIF t_cARCH == "linux" .OR. t_cCOMP == "bld" - t_cCOMP := cSelfCOMP - IF AScan( aCOMPSUP, {|tmp| tmp == t_cCOMP } ) == 0 - t_cCOMP := NIL - ENDIF - ELSEIF ! Empty( aCOMPDET ) - /* Look for this compiler first */ - FOR tmp := 1 TO Len( aCOMPDET ) - IF aCOMPDET[ tmp ][ 2 ] == cSelfCOMP .AND. Eval( aCOMPDET[ tmp ][ 1 ] ) - t_cCOMP := aCOMPDET[ tmp ][ 2 ] - EXIT - ENDIF - NEXT - IF Empty( t_cCOMP ) - /* Check the rest of compilers */ - FOR tmp := 1 TO Len( aCOMPDET ) - IF !( aCOMPDET[ tmp ][ 2 ] == cSelfCOMP ) .AND. Eval( aCOMPDET[ tmp ][ 1 ] ) - t_cCOMP := aCOMPDET[ tmp ][ 2 ] - EXIT - ENDIF - NEXT - ENDIF - ENDIF - IF ! Empty( t_cCOMP ) - IF t_lInfo - OutStd( "hbmk: Autodetected compiler: " + t_cCOMP + hb_osNewLine() ) - ENDIF - ELSE - IF Empty( aCOMPDET ) - OutErr( "hbmk: Please choose a compiler by using -comp= option or envvar HB_COMPILER." + hb_osNewLine() ) - OutErr( " You have the following choices on your platform:" + hb_osNewLine() ) - OutErr( " " + ArrayToList( aCOMPSUP, ", " ) + hb_osNewLine() ) - ELSE - OutErr( "hbmk: Harbour Make couldn't detect any supported C compiler in your PATH." + hb_osNewLine() ) - OutErr( " Please setup one or set -comp= option or envvar HB_COMPILER" + hb_osNewLine() ) - OutErr( " to one of these values:" + hb_osNewLine() ) - OutErr( " " + ArrayToList( aCOMPSUP, ", " ) + hb_osNewLine() ) - ENDIF - PauseForKey() - RETURN 2 - ENDIF - ELSE - IF AScan( aCOMPSUP, {|tmp| tmp == t_cCOMP } ) == 0 - OutErr( "hbmk: Error: Compiler value unknown: " + t_cCOMP + hb_osNewLine() ) - PauseForKey() - RETURN 2 - ENDIF - ENDIF - ENDIF + /* Autodetect Harbour environment */ /* Detect system locations to enable shared library option by default */ lSysLoc := hb_DirBase() == "/usr/local/bin/" .OR. ; @@ -586,15 +529,11 @@ FUNCTION Main( ... ) hb_DirBase() == "/opt/harbour/" .OR. ; hb_DirBase() == "/opt/bin/" - /* Autodetect Harbour environment */ + s_cHB_BIN_INSTALL := PathSepToSelf( GetEnv( "HB_BIN_INSTALL" ) ) + s_cHB_LIB_INSTALL := PathSepToSelf( GetEnv( "HB_LIB_INSTALL" ) ) + s_cHB_INC_INSTALL := PathSepToSelf( GetEnv( "HB_INC_INSTALL" ) ) - s_aLIBPATH := {} - - s_cHB_BIN_INSTALL := PathSepToTarget( GetEnv( "HB_BIN_INSTALL" ) ) - s_cHB_LIB_INSTALL := PathSepToTarget( GetEnv( "HB_LIB_INSTALL" ) ) - s_cHB_INC_INSTALL := PathSepToTarget( GetEnv( "HB_INC_INSTALL" ) ) - - s_cHB_INSTALL_PREFIX := PathSepToTarget( GetEnv( "HB_INSTALL_PREFIX" ) ) + s_cHB_INSTALL_PREFIX := PathSepToSelf( GetEnv( "HB_INSTALL_PREFIX" ) ) IF Empty( s_cHB_INSTALL_PREFIX ) DO CASE CASE hb_FileExists( DirAddPathSep( hb_DirBase() ) + cBin_CompPRG ) @@ -645,6 +584,82 @@ FUNCTION Main( ... ) OutStd( "hbmk: Using Harbour: " + s_cHB_BIN_INSTALL + " " + s_cHB_INC_INSTALL + " " + s_cHB_LIB_INSTALL + hb_osNewLine() ) ENDIF + /* Autodetect compiler */ + + IF lStopAfterHarbour + /* If we're just compiling .prg to .c we don't need a C compiler. */ + t_cCOMP := "" + ELSE + IF Empty( t_cCOMP ) .OR. t_cCOMP == "bld" + IF Len( aCOMPSUP ) == 1 + t_cCOMP := aCOMPSUP[ 1 ] + ELSEIF t_cARCH == "linux" .OR. t_cCOMP == "bld" + t_cCOMP := cSelfCOMP + IF AScan( aCOMPSUP, {|tmp| tmp == t_cCOMP } ) == 0 + t_cCOMP := NIL + ENDIF + ELSE + #if defined( __PLATFORM__WINDOWS ) + IF Empty( t_cCCPATH ) + tmp := PathNormalize( s_cHB_INSTALL_PREFIX ) + "mingw" + hb_osPathSeparator() + "bin" + IF hb_FileExists( tmp + hb_osPathSeparator() + "gcc.exe" ) + t_cCOMP := "mingw" + t_cCCPATH := tmp + ENDIF + ENDIF + #endif + IF Empty( t_cCOMP ) .AND. ! Empty( aCOMPDET ) + /* Look for this compiler first */ + FOR tmp := 1 TO Len( aCOMPDET ) + IF aCOMPDET[ tmp ][ 2 ] == cSelfCOMP .AND. Eval( aCOMPDET[ tmp ][ 1 ] ) + t_cCOMP := aCOMPDET[ tmp ][ 2 ] + EXIT + ENDIF + NEXT + IF Empty( t_cCOMP ) + /* Check the rest of compilers */ + FOR tmp := 1 TO Len( aCOMPDET ) + IF !( aCOMPDET[ tmp ][ 2 ] == cSelfCOMP ) .AND. Eval( aCOMPDET[ tmp ][ 1 ] ) + t_cCOMP := aCOMPDET[ tmp ][ 2 ] + EXIT + ENDIF + NEXT + ENDIF + ENDIF + ENDIF + IF ! Empty( t_cCOMP ) + IF t_lInfo + OutStd( "hbmk: Autodetected compiler: " + t_cCOMP + hb_osNewLine() ) + ENDIF + ELSE + IF Empty( aCOMPDET ) + OutErr( "hbmk: Please choose a compiler by using -comp= option or envvar HB_COMPILER." + hb_osNewLine() ) + OutErr( " You have the following choices on your platform:" + hb_osNewLine() ) + OutErr( " " + ArrayToList( aCOMPSUP, ", " ) + hb_osNewLine() ) + ELSE + OutErr( "hbmk: Harbour Make couldn't detect any supported C compiler in your PATH." + hb_osNewLine() ) + OutErr( " Please setup one or set -comp= option or envvar HB_COMPILER" + hb_osNewLine() ) + OutErr( " to one of these values:" + hb_osNewLine() ) + OutErr( " " + ArrayToList( aCOMPSUP, ", " ) + hb_osNewLine() ) + ENDIF + PauseForKey() + RETURN 2 + ENDIF + ELSE + IF AScan( aCOMPSUP, {|tmp| tmp == t_cCOMP } ) == 0 + OutErr( "hbmk: Error: Compiler value unknown: " + t_cCOMP + hb_osNewLine() ) + PauseForKey() + RETURN 2 + ENDIF + ENDIF + ENDIF + + s_cHB_BIN_INSTALL := PathSepToTarget( s_cHB_BIN_INSTALL ) + s_cHB_LIB_INSTALL := PathSepToTarget( s_cHB_LIB_INSTALL ) + s_cHB_INC_INSTALL := PathSepToTarget( s_cHB_INC_INSTALL ) + + s_aLIBPATH := {} + /* Add main Harbour library dir to lib path list */ AAddNotEmpty( s_aLIBPATH, s_cHB_LIB_INSTALL )