Author: jelmer
Date: 2007-12-24 01:55:09 +0000 (Mon, 24 Dec 2007)
New Revision: 26582

WebSVN: 
http://websvn.samba.org/cgi-bin/viewcvs.cgi?view=rev&root=samba&rev=26582

Log:
Use the same swig flags everywhere.

Modified:
   branches/SAMBA_4_0/
   branches/SAMBA_4_0/source/lib/ldb/Makefile.in
   branches/SAMBA_4_0/source/lib/ldb/autogen.sh
   branches/SAMBA_4_0/source/lib/tdb/Makefile.in
   branches/SAMBA_4_0/source/lib/tdb/autogen.sh


Changeset:

Property changes on: branches/SAMBA_4_0
___________________________________________________________________
Name: bzr:revision-info
...skipped...
Name: bzr:revision-id:v3-trunk0
...skipped...

Modified: branches/SAMBA_4_0/source/lib/ldb/Makefile.in
===================================================================
--- branches/SAMBA_4_0/source/lib/ldb/Makefile.in       2007-12-24 01:38:37 UTC 
(rev 26581)
+++ branches/SAMBA_4_0/source/lib/ldb/Makefile.in       2007-12-24 01:55:09 UTC 
(rev 26582)
@@ -235,7 +235,7 @@
        ctags `find $(srcdir) -name "*.[ch]"`
 
 %_wrap.c %.py: %.i
-       $(SWIG) -python -keyword $<
+       $(SWIG) -O -Wall -python -keyword $<
 
 # Python bindings
 build-python: lib/libldb.$(SHLIBEXT) ldb_wrap.c ldb.py

Modified: branches/SAMBA_4_0/source/lib/ldb/autogen.sh
===================================================================
--- branches/SAMBA_4_0/source/lib/ldb/autogen.sh        2007-12-24 01:38:37 UTC 
(rev 26581)
+++ branches/SAMBA_4_0/source/lib/ldb/autogen.sh        2007-12-24 01:55:09 UTC 
(rev 26582)
@@ -17,7 +17,7 @@
 
 rm -rf autom4te.cache
 
-swig -python ldb.i # Ignore errors, for now
+swig -O -Wall -python -keyword ldb.i # Ignore errors, for now
 
 echo "Now run ./configure and then make."
 exit 0

Modified: branches/SAMBA_4_0/source/lib/tdb/Makefile.in
===================================================================
--- branches/SAMBA_4_0/source/lib/tdb/Makefile.in       2007-12-24 01:38:37 UTC 
(rev 26581)
+++ branches/SAMBA_4_0/source/lib/tdb/Makefile.in       2007-12-24 01:55:09 UTC 
(rev 26582)
@@ -113,7 +113,7 @@
        rm -f configure include/config.h.in
 
 tdb_wrap.c tdb.py: tdb.i
-       $(SWIG) -python -keyword tdb.i
+       $(SWIG) -O -Wall -python -keyword tdb.i
 
 build-python: libtdb.$(SHLIBEXT) tdb_wrap.c tdb.py
        ./setup.py build

Modified: branches/SAMBA_4_0/source/lib/tdb/autogen.sh
===================================================================
--- branches/SAMBA_4_0/source/lib/tdb/autogen.sh        2007-12-24 01:38:37 UTC 
(rev 26581)
+++ branches/SAMBA_4_0/source/lib/tdb/autogen.sh        2007-12-24 01:55:09 UTC 
(rev 26582)
@@ -9,7 +9,7 @@
 
 rm -rf autom4te.cache
 
-swig -python -keyword tdb.i # Ignore errors for now
+swig -O -Wall -python -keyword tdb.i # Ignore errors for now
 
 echo "Now run ./configure and then make."
 exit 0

Reply via email to