summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJelmer Vernooij <jelmer@samba.org>2007-12-24 01:55:09 -0600
committerStefan Metzmacher <metze@samba.org>2007-12-24 01:51:07 -0600
commit5e574b2b940bf4d7e040409c6a7ceba14eece798 (patch)
treea97c635e0edfa6d78044cd19075dbd015a9dc010
parent5a1433cae7bafe01371663aed8520ce29175cac7 (diff)
downloadsamba-5e574b2b940bf4d7e040409c6a7ceba14eece798.tar.gz
samba-5e574b2b940bf4d7e040409c6a7ceba14eece798.tar.bz2
samba-5e574b2b940bf4d7e040409c6a7ceba14eece798.zip
r26582: Use the same swig flags everywhere.
(This used to be commit 7008f90e03a12687f739e5492b3e0ab36587db6a)
-rw-r--r--source4/lib/ldb/Makefile.in2
-rwxr-xr-xsource4/lib/ldb/autogen.sh2
-rw-r--r--source4/lib/tdb/Makefile.in2
-rwxr-xr-xsource4/lib/tdb/autogen.sh2
4 files changed, 4 insertions, 4 deletions
diff --git a/source4/lib/ldb/Makefile.in b/source4/lib/ldb/Makefile.in
index 26b77d7dc1..4788c02598 100644
--- a/source4/lib/ldb/Makefile.in
+++ b/source4/lib/ldb/Makefile.in
@@ -235,7 +235,7 @@ ctags:
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
diff --git a/source4/lib/ldb/autogen.sh b/source4/lib/ldb/autogen.sh
index 921ef04d82..cb837b3af9 100755
--- a/source4/lib/ldb/autogen.sh
+++ b/source4/lib/ldb/autogen.sh
@@ -17,7 +17,7 @@ autoconf $IPATHS || exit 1
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
diff --git a/source4/lib/tdb/Makefile.in b/source4/lib/tdb/Makefile.in
index e45fa3cf79..a60b9a67bf 100644
--- a/source4/lib/tdb/Makefile.in
+++ b/source4/lib/tdb/Makefile.in
@@ -113,7 +113,7 @@ realdistclean: distclean
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
diff --git a/source4/lib/tdb/autogen.sh b/source4/lib/tdb/autogen.sh
index 8660843d2b..88ac4cfcf7 100755
--- a/source4/lib/tdb/autogen.sh
+++ b/source4/lib/tdb/autogen.sh
@@ -9,7 +9,7 @@ autoheader $IPATHS || exit 1
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