diff options
author | Tim Potter <tpot@samba.org> | 2002-03-19 23:36:06 +0000 |
---|---|---|
committer | Tim Potter <tpot@samba.org> | 2002-03-19 23:36:06 +0000 |
commit | 4ee3eb8987ddee5247f542dd71a1bb1a6f2f880e (patch) | |
tree | ade2e8a792c016e9bf9eec7aafa28580f261429a /source3 | |
parent | adf243144326f7481442feedfb841cc59c2e949c (diff) | |
download | samba-4ee3eb8987ddee5247f542dd71a1bb1a6f2f880e.tar.gz samba-4ee3eb8987ddee5247f542dd71a1bb1a6f2f880e.tar.bz2 samba-4ee3eb8987ddee5247f542dd71a1bb1a6f2f880e.zip |
Patch to configure.in and Makefile.in for Python extensions.
(This used to be commit 4d172b712fc2be697db5d1dbccff29ad5708eeee)
Diffstat (limited to 'source3')
-rw-r--r-- | source3/python/samba-head.patch | 41 |
1 files changed, 41 insertions, 0 deletions
diff --git a/source3/python/samba-head.patch b/source3/python/samba-head.patch new file mode 100644 index 0000000000..53721892a4 --- /dev/null +++ b/source3/python/samba-head.patch @@ -0,0 +1,41 @@ +Index: configure.in +=================================================================== +RCS file: /data/cvs/samba/source/configure.in,v +retrieving revision 1.292 +diff -u -r1.292 configure.in +--- configure.in 2002/03/19 02:32:31 1.292 ++++ configure.in 2002/03/19 23:32:36 +@@ -2690,7 +2690,7 @@ + builddir=`pwd` + AC_SUBST(builddir) + +-AC_OUTPUT(include/stamp-h Makefile) ++AC_OUTPUT(include/stamp-h Makefile python/setup.py) + + ################################################# + # Print very concise instructions on building/use +Index: Makefile.in +=================================================================== +RCS file: /data/cvs/samba/source/Makefile.in,v +retrieving revision 1.458 +diff -u -r1.458 Makefile.in +--- Makefile.in 2002/03/19 12:13:02 1.458 ++++ Makefile.in 2002/03/19 23:32:08 +@@ -778,6 +778,17 @@ + -$(INSTALLCMD) -d ${prefix}/include + -$(INSTALLCMD) include/libsmbclient.h ${prefix}/include + ++# Python extensions ++ ++PYTHON_OBJS = $(LIB_OBJ) $(LIBSMB_OBJ) $(RPC_PARSE_OBJ) $(UBIQX_OBJ) \ ++ $(PARAM_OBJ) $(LIBMSRPC_OBJ) $(PASSDB_OBJ) $(GROUPDB_OBJ) ++ ++python_ext: $(PYTHON_OBJS) ++ @echo python python/setup.py build ++ @PYTHON_OBJS="$(PYTHON_OBJS)" PYTHON_CFLAGS="$(FLAGS)" \ ++ python python/setup.py build ++ ++ + # revert to the previously installed version + revert: + @$(SHELL) $(srcdir)/script/revert.sh $(SBINDIR) $(SPROGS) |