Changeset: 62e02b903463 for MonetDB
URL: http://dev.monetdb.org/hg/MonetDB?cmd=changeset;node=62e02b903463
Modified Files:
        clients/perl/Cimpl/Makefile.ag
Branch: default
Log Message:

SWIG now needs to look in the source directory for mapi.h.
Also fixed some typos in comments.


diffs (40 lines):

diff --git a/clients/perl/Cimpl/Makefile.ag b/clients/perl/Cimpl/Makefile.ag
--- a/clients/perl/Cimpl/Makefile.ag
+++ b/clients/perl/Cimpl/Makefile.ag
@@ -15,25 +15,26 @@
 # Copyright August 2008-2011 MonetDB B.V.
 # All Rights Reserved.
 
-SWIGFLAGS = -I../../mapilib $(PERL_INCS)
+SWIGFLAGS = -I$(srcdir)/../../mapilib $(PERL_INCS)
 INCLUDES = ../../mapilib ../../../common/options $(PERL_INCS)
 
-#  Both GNU's gcc and Intel's icc do not like to compile swig-generated code
-#  with our strict X_CFLAGS.
-#  Instead of diabling the strict X_CFLAGS completely,
-#  we use GCC_SWIG_CFLAGS and ICC_SWIG_CFLAGS, respectively,
-#  to disable only the problematic warnings/errors as locally as possbile.
-#  See configure.ag for details.
+#  Both GNU's gcc and Intel's icc do not like to compile
+#  swig-generated code with our strict X_CFLAGS.
+#  Instead of disabling the strict X_CFLAGS completely, we use
+#  GCC_SWIG_CFLAGS and ICC_SWIG_CFLAGS, respectively, to disable only
+#  the problematic warnings/errors as locally as possible.  See
+#  configure.ag for details.
 #CFLAGS = $(GCC_SWIG_CFLAGS) $(ICC_SWIG_CFLAGS) -D_GNU_SOURCE
 #
-#  However, at least with gcc 4.2.2 and swig 1.3.31 on Gentoo 1.12.9, we still 
get
+#  However, at least with gcc 4.2.2 and swig 1.3.31 on Gentoo 1.12.9,
+#  we still get
 #  MapiLib.pm.c: In function 'boot_MapiLib':
 #  MapiLib.pm.c:6157: warning: passing argument 2 of '_swig_create_magic' 
discards qualifiers from pointer target type
 #  Hence, we have to disable (override) our X_CFLAGS completely:
 X_CFLAGS = -D_GNU_SOURCE
 
-#  Likewise, we need to disable W_CFLAGS=-WX (i.e., treating warnings as 
errors)
-#  for swig-generated code on Windows
+#  Likewise, we need to disable W_CFLAGS=-WX (i.e., treating warnings
+#  as errors) for swig-generated code on Windows
 W_CFLAGS =
 
 lib_MapiLib = {
_______________________________________________
Checkin-list mailing list
[email protected]
http://mail.monetdb.org/mailman/listinfo/checkin-list

Reply via email to