2008-07-02 18:39 UTC+0200 Przemyslaw Czerpak (druzus/at/priv.onet.pl)

* harbour/contrib/hbodbc/Makefile
    * added test for header files in non W32 builds
      ODBC is not standard system part in other then MS-Window platforms

  * harbour/contrib/hbgf/hbgfgtk/Makefile
    * updated path check for GTK header files
      In fact it still can give wrong results in different
      Linux or other *nixes distributions. The real path to GTK
      header files is unknown and should be always tested by
      pkg-config
This commit is contained in:
Przemyslaw Czerpak
2008-07-02 16:39:55 +00:00
parent 02f2287452
commit 0eabd0687a
3 changed files with 31 additions and 1 deletions

View File

@@ -8,6 +8,18 @@
2008-12-31 13:59 UTC+0100 Foo Bar <foo.bar@foobar.org>
*/
2008-07-02 18:39 UTC+0200 Przemyslaw Czerpak (druzus/at/priv.onet.pl)
* harbour/contrib/hbodbc/Makefile
* added test for header files in non W32 builds
ODBC is not standard system part in other then MS-Window platforms
* harbour/contrib/hbgf/hbgfgtk/Makefile
* updated path check for GTK header files
In fact it still can give wrong results in different
Linux or other *nixes distributions. The real path to GTK
header files is unknown and should be always tested by
pkg-config
2008-07-02 15:34 UTC+0200 Przemyslaw Czerpak (druzus/at/priv.onet.pl)
* harbour/contrib/hbziparch/hbziparc.c
- removed HB_FUNC_EXIT( HBZIPCLEANUP )

View File

@@ -9,7 +9,7 @@ LIBNAME=hbgfgtk
ifeq ($(HB_ARCHITECTURE),linux)
ifeq ($(HB_INC_GTK),)
HB_INC_GTK = /usr/include
HB_INC_GTK = /usr/include /usr/include/glib-2.0/
endif
HB_INC_GTK_OK += $(foreach d, $(HB_INC_GTK), $(if $(wildcard $(d)/glib.h),$(d),))

View File

@@ -10,6 +10,24 @@ ifeq ($(HB_COMPILER),rsxnt)
HB_WITHOUT_ODBC=yes
endif
ifneq ($(HB_ARCHITECTURE),w32)
ifeq ($(HB_WITHOUT_ODBC),)
ifeq ($(HB_INC_ODBC),)
HB_INC_ODBC = /usr/include /usr/local/include
endif
HB_INC_ODBC_OK += $(foreach d, $(HB_INC_ODBC), $(if $(wildcard $(d)/sql.h),$(d),))
ifneq ($(strip $(HB_INC_ODBC_OK)),)
C_USR += $(foreach d, $(HB_INC_ODBC_OK), -I$(d))
else
HB_WITHOUT_ODBC=yes
endif
endif
endif
ifneq ($(HB_WITHOUT_ODBC),yes)
C_SOURCES= \