Changeset: 74416b44a580 for MonetDB
URL: http://dev.monetdb.org/hg/MonetDB?cmd=changeset;node=74416b44a580
Modified Files:
        NT/rules.msc
        clients/odbc/driver/Makefile.ag
        common/stream/Makefile.ag
        monetdb4/modules/plain/Makefile.ag
Branch: Mar2011
Log Message:

Use results of AM_ICONV configure macro everywhere and make it work on Windows.


diffs (84 lines):

diff --git a/NT/rules.msc b/NT/rules.msc
--- a/NT/rules.msc
+++ b/NT/rules.msc
@@ -129,7 +129,7 @@
 !IFNDEF LIBICONV
 LIBICONV = C:\iconv-1.9.2.win$(bits)
 !ENDIF
-ICONV_LIBS = "$(LIBICONV)\lib\iconv$(DEBUGLIB).lib"
+LTLIBICONV = "$(LIBICONV)\lib\iconv$(DEBUGLIB).lib"
 ICONV_CFLAGS = -DHAVE_ICONV "-I$(LIBICONV)\include"
 !ENDIF
 
@@ -211,7 +211,7 @@
 COMPILERFLAGS = -GF -W3 $(W_CFLAGS) -wd4273 -wd4102 -MD -nologo -Ox
 NO_INLINE_CFLAGS = -Od -Ob0gysi-
 !ENDIF
-CFLAGS = $(COMPILERFLAGS)  -I. -I$(TOPDIR) $(LIBC_INCS) $(INCLUDES) 
$(WINCONFIG_INCS)
+CFLAGS = $(COMPILERFLAGS)  -I. -I$(TOPDIR) $(LIBC_INCS) $(INCLUDES) 
$(WINCONFIG_INCS) $(ICONV_CFLAGS)
 
 # No general LDFLAGS needed
 INSTALL = copy
diff --git a/clients/odbc/driver/Makefile.ag b/clients/odbc/driver/Makefile.ag
--- a/clients/odbc/driver/Makefile.ag
+++ b/clients/odbc/driver/Makefile.ag
@@ -117,6 +117,6 @@
        SQLTransact.c \
        driver.rc \
        ODBC.syms
-       LIBS = ../../mapilib/libmapi $(ICONV_LIBS) $(ODBC_LIBS) $(SOCKET_LIBS)
+       LIBS = ../../mapilib/libmapi $(LTLIBICONV) $(ODBC_LIBS) $(SOCKET_LIBS)
 }
 
diff --git a/common/stream/Makefile.ag b/common/stream/Makefile.ag
--- a/common/stream/Makefile.ag
+++ b/common/stream/Makefile.ag
@@ -24,8 +24,7 @@
 INCLUDES = $(zlib_CFLAGS) \
                   $(BZ_CFLAGS) \
                   $(openssl_CFLAGS) \
-                  $(curl_CFLAGS) \
-                  $(ICONV_CFLAGS)
+                  $(curl_CFLAGS)
 
 lib_stream  =  {
        SOURCES = stream.c stream.h
@@ -35,7 +34,7 @@
                   $(BZ_LIBS) \
                   $(openssl_LIBS) \
                   $(curl_LIBS) \
-                  $(ICONV_LIBS)
+                  $(LTLIBICONV)
 }
 
 lib_stream4  =  {
@@ -47,7 +46,7 @@
                   $(BZ_LIBS) \
                   $(openssl_LIBS) \
                   $(curl_LIBS) \
-                  $(ICONV_LIBS)
+                  $(LTLIBICONV)
 }
 
 headers_common = {
diff --git a/monetdb4/modules/plain/Makefile.ag 
b/monetdb4/modules/plain/Makefile.ag
--- a/monetdb4/modules/plain/Makefile.ag
+++ b/monetdb4/modules/plain/Makefile.ag
@@ -21,7 +21,7 @@
        ../../../clients/mapilib \
        ../../../gdk \
        $(zlib_CFLAGS) $(BZ_CFLAGS) $(HWCOUNTERS_INCS) $(PCL_CFLAGS) \
-       $(pcre_CFLAGS) $(ICONV_CFLAGS)
+       $(pcre_CFLAGS)
 MTSAFE
 
 lib__streams = {
@@ -45,7 +45,7 @@
                ../../../gdk/libbat4 \
                ../../monet/libmonet \
                $(SOCKET_LIBS) $(zlib_LIBS) $(BZ_LIBS) \
-               $(MALLOC_LIBS) $(PTHREAD_LIBS) $(DL_LIBS) $(ICONV_LIBS)
+               $(MALLOC_LIBS) $(PTHREAD_LIBS) $(DL_LIBS) $(LTLIBICONV)
 }
 
 lib__xtables = {
_______________________________________________
Checkin-list mailing list
[email protected]
http://mail.monetdb.org/mailman/listinfo/checkin-list

Reply via email to