1
0
mirror of https://github.com/samba-team/samba.git synced 2025-01-13 13:18:06 +03:00
Commit Graph

1678 Commits

Author SHA1 Message Date
Jelmer Vernooij
c023828962 Fix missing symbols issues when building with shared libraries. 2008-12-22 21:03:09 +01:00
Jelmer Vernooij
d75c51eef3 Remove infrastructure for (no longer used) SWIG. 2008-12-21 21:16:40 +01:00
Jelmer Vernooij
bd41b4579c Avoid linking in all Python modules to the samba binaries - we can just let Python dlopen() them. 2008-12-21 00:53:06 +01:00
Jelmer Vernooij
8e9c5f8c00 Don't filter out any variables for config.pm, only for config.mk. 2008-11-26 16:55:32 +01:00
Jelmer Vernooij
f1d887251d Use a simple shell loop instead of _AC_SUBST_VARS.
Autoconf has removed _AC_SUBST_VARS in newer versions.
2008-11-26 16:22:11 +01:00
Tim Prouty
314e5cfa7f s3/s4 build: Fix makefile expression to work on more systems 2008-11-18 17:43:38 -08:00
Tim Prouty
9efed3b936 s3/s4 build: Add additional LDFLAGS in check_python.m4 to allow it to pass on more systems
I tested on a few different flavors of linux and FreeBSD.  I'll keep
an eye on the build machine to see if anything breaks.
2008-11-12 17:16:28 -08:00
Jelmer Vernooij
0ab0373a97 Fix building of SWIG files from merged build. 2008-10-30 23:28:50 +01:00
Jelmer Vernooij
c9f69f1436 Fix installation of Samba 4 during merged build. 2008-10-30 23:19:51 +01:00
Jelmer Vernooij
ecca199486 Fix merged build . 2008-10-14 23:25:12 +02:00
Jelmer Vernooij
6e2a470cd2 Move make check out of cache call to avoid weird formatting. 2008-10-14 22:40:21 +02:00
Jelmer Vernooij
79f1ba8754 Make check_*.m4 m4 library files just contain functions that can be
executed from other m4 files.
2008-10-14 22:37:10 +02:00
Jelmer Vernooij
4468279ca2 Move checks for perl inside function. 2008-10-14 22:27:07 +02:00
Jelmer Vernooij
ed6d3fd7ab Move checks for make inside function. 2008-10-14 22:26:54 +02:00
Jelmer Vernooij
b208262c53 Fix path check. 2008-10-14 22:20:36 +02:00
Jelmer Vernooij
e0af9601e1 Fix FHS flag, rename to --enable-fhs since it's a feature flag
and doesn't take any arguments.
2008-09-30 16:41:21 +02:00
Jelmer Vernooij
6a689c23e8 Rename smbd -> samba.
This reverts commit 05ea5e23cf.

Conflicts:

	source4/smbd/server.c
2008-09-24 03:16:15 +02:00
Matthias Dieter Wallnoefer
e9429a2abe Prevent prefix=/usr being used without --with-fhs. 2008-09-18 18:40:47 +02:00
Matthias Dieter Wallnöfer
ce288824bb Fix uninstalling of binaries.
(This used to be commit 6ad94d10f7)
2008-09-10 00:09:28 +02:00
Jelmer Vernooij
1a1c304051 Allow overriding shared library policy using environment variable.
(This used to be commit d5c61f470d)
2008-09-03 22:26:02 +02:00
Jelmer Vernooij
a2618d05f9 Fix embedding of Samba 4.
(This used to be commit 3862f31325)
2008-09-03 14:10:35 +02:00
Stefan Metzmacher
467e3f7760 build: generate :: rules for automatic dependencies
metze
(This used to be commit 66d8da17a4)
2008-08-26 11:12:32 +02:00
Michael Adam
613b8d398e configure: use AS_HELP_STRING for --with-disable-ext-lib
Michael
(This used to be commit 88cf5d8b70)
2008-08-16 00:49:20 +02:00
Michael Adam
a903c39d2b configure: use AS_HELP_STRING for --enable-developer
Michael
(This used to be commit b10d472389)
2008-08-16 00:49:20 +02:00
Michael Adam
982aa673e2 configure: use AS_HELP_STRING for --enable-debug.
Michael
(This used to be commit 1f4bf8fbd5)
2008-08-16 00:49:20 +02:00
Michael Adam
37b6e7886b configure: use AS_HELP_STRING for --with-selftest-prefix.
Michael
(This used to be commit eea4f597ac)
2008-08-16 00:49:20 +02:00
Michael Adam
56bf6489a6 configure: use AS_HELP_STRING for --with-logfilebase.
Michael
(This used to be commit f9c15b817a)
2008-08-16 00:49:19 +02:00
Michael Adam
42104c3d11 configure: use AS_HELP_STRING for --with-piddir
Michael
(This used to be commit f05a9fe46f)
2008-08-16 00:49:19 +02:00
Michael Adam
3ebf7f0427 configure: use AS_HELP_STRING for --with-lockdir.
Michael
(This used to be commit ed4a6e780a)
2008-08-16 00:49:19 +02:00
Michael Adam
76c96ad6d7 configure: use AS_HELP_STRING for --ntp-signd-socket-dir.
Michael
(This used to be commit dd07dcbc91)
2008-08-16 00:49:19 +02:00
Michael Adam
d143e5fcab configure: use AS_HELP_STRING for --with-winbindd-privileged-socket-dir.
Michael
(This used to be commit 3bf8116531)
2008-08-16 00:49:18 +02:00
Michael Adam
cc7d7ba95b configure: use AS_HELP_STRING for --with-winbindd-socket-dir .
Michael
(This used to be commit 1304eda283)
2008-08-16 00:49:18 +02:00
Michael Adam
7b3bb57051 configure: use AS_HELP_STRING for --with-privatedir
Michael
(This used to be commit eafde5bee0)
2008-08-16 00:49:18 +02:00
Michael Adam
df4e1ad130 configure: format help string for --with-fhs with AS_HELP_STRING().
Michael
(This used to be commit 837d0b3eb2)
2008-08-16 00:49:18 +02:00
Michael Adam
44b6ffae0b configure: remove duplicate definition of --with-winbindd-socket-dir.
I think this should have gone with fa36135443.

Michael
(This used to be commit 91fcaac68b)
2008-08-16 00:49:18 +02:00
Stefan Metzmacher
8dede49961 build: autogenarate VPATH by configure
metze
(This used to be commit 16147753ad)
2008-08-01 17:52:36 +02:00
Stefan Metzmacher
cf875a5621 build: allow flex-2.34 together with bison-2.3
metze
(This used to be commit 8bd30a7b43)
2008-08-01 16:10:59 +02:00
Stefan Metzmacher
4deff16ddb smb_build: use MERGED_OBJ instead of STATIC_LIBRARY
metze
(This used to be commit 54b06a1c83)
2008-06-30 09:25:29 +02:00
Stefan Metzmacher
b438d59eb5 smb_build: enable implicit make rules
metze
(This used to be commit be3f3e18d4)
2008-06-30 09:25:28 +02:00
Andrew Bartlett
234413fbd9 Use a configure-specified directory for the winbind priv pipe
This makes it easier for RPMs to specify an group for access to that
directory.

Andrew Bartlett
(This used to be commit fa36135443)
2008-06-28 22:02:19 +10:00
Volker Lendecke
f5604ebd61 Fix a non-empty line with just spaces
(This used to be commit ba6394cb65)
2008-06-27 12:14:41 +02:00
Volker Lendecke
65cf74f7b5 Fix the definition of abspath for gnu make < 3.81
(This used to be commit f2725f1491)
2008-06-27 12:14:19 +02:00
Jelmer Vernooij
d4172dac2c Use make magic for installing/uninstalling binaries.
(This used to be commit 97b724417f)
2008-06-26 11:51:22 +02:00
Jelmer Vernooij
0507e03c52 Use make template for installing binaries.
(This used to be commit 3fb35fc03d)
2008-06-26 11:39:59 +02:00
Jelmer Vernooij
18ba7d7679 Use workaround for $(abspath)
(This used to be commit 21b4d017a2)
2008-06-25 17:12:19 +02:00
Stefan Metzmacher
7206c5fc4a Revert "Add configure test for vdeplug library."
This reverts commit 89590d7dfe.

We don't need this yet and currently config.m4 is also used
by samba3 which bail out with the check in it, as it doesn't
know about the SMB_EXT_LIB() macro

metze
(This used to be commit bd0ec1754e)
2008-06-10 09:52:04 +02:00
Stefan Metzmacher
b0d43b862a build/m4: fix warnings with autoconf-2.62 rename SMB_BUILD_ => samba_cv_
AC_CACHE_VAL() variables must contain _cv_ to be cached.

metze
(This used to be commit 0241af873f)
2008-06-09 10:54:24 +02:00
Andrew Bartlett
be14efbdf9 Revert Jelmer's CFLAGS commit e2b71a0ecb
This commit broke the build, because not all files (libreplace, popt)
were updated.

Andrew Bartlett
(This used to be commit 3faacf4351)
2008-05-31 08:35:55 +10:00
Jelmer Vernooij
5107f093c2 Merge branch 'v4-0-test' of ssh://git.samba.org/data/git/samba into v4-0-defs
Conflicts:

	source/samba4-skip
(This used to be commit 7b0e0eb346)
2008-05-30 12:18:07 +02:00
Andrew Bartlett
c59e7d5569 Reorder the linking of objects into a binary.
The hope here is to get 'main' closer to the front of the binary,
which might help linking of PPC with gcov (we were overflowing the
24bit limit on the TOC)

Andrew Bartlett
(This used to be commit 7646574411)
2008-05-30 14:58:47 +10:00
Jelmer Vernooij
39f50afc57 Move CFLAGS handling out of smb_build.
(This used to be commit e2b71a0ecb)
2008-05-30 02:07:28 +02:00
Andrew Bartlett
b9213316c7 Allow the ntp_signd socket to be set from configure.
This will allow distributions to hard-code this path, particularly for
selinux, and matches how we handle the winbind socket dir.

Andrew Bartlett
(This used to be commit c8b4416504)
2008-05-29 15:20:58 +10:00
Jelmer Vernooij
8fb5ac6227 Fix dependency on swig ldb module.
(This used to be commit e616a9a1e5)
2008-05-28 04:11:40 +02:00
Jelmer Vernooij
c611432605 Depend on debug names of shared libs for linking.
(This used to be commit 2e3296f181)
2008-05-28 01:41:57 +02:00
Jelmer Vernooij
7ae9cb4f79 Don't throw away cflags if they start with a variable.
(This used to be commit 9f81214239)
2008-05-27 17:16:57 +02:00
Jelmer Vernooij
16c883ca23 Move CFLAGS that are not inherited out of smb_build.
(This used to be commit 49dcf4b881)
2008-05-27 16:23:12 +02:00
Jelmer Vernooij
93a0f37f6e Disable CFLAGS hack when include path starts with variable.
(This used to be commit 86ce8bf88a)
2008-05-27 14:46:09 +02:00
Jelmer Vernooij
3811156e97 More work allowing out-of-tree builds. Patch by Matthias Dieter Wallnöfer and me.
(This used to be commit 6e29fbd5d0)
2008-05-23 19:25:05 +02:00
Jelmer Vernooij
e56d2db3bd Properly fix symlink for module aliases.
(This used to be commit 84d9372866)
2008-05-23 02:42:42 +02:00
Jelmer Vernooij
49706ab19b Move more modules inside of the samba package.
(This used to be commit 9b39e99f48)
2008-05-21 23:59:34 +02:00
Jelmer Vernooij
82bcf967b7 Move CFLAGS overrides for SWIG modules to Makefile.
(This used to be commit 58665a8a8e)
2008-05-21 21:32:53 +02:00
Jelmer Vernooij
2914b0ca04 Remove support for .py files from smb_build - deal with it only in the makefiles.
(This used to be commit b865249efa)
2008-05-21 21:24:48 +02:00
Jelmer Vernooij
9d1fd37e79 Use gnu make syntax for SWIG implicit rule since it allows multiple output files.
(This used to be commit ce44088731)
2008-05-21 14:28:10 +02:00
Jelmer Vernooij
904359cd2f Fix installed symlinks (cp was trying to be smart).
(This used to be commit a95f2bf86a)
2008-05-21 12:14:47 +02:00
Jelmer Vernooij
12d32fb18e Allow dots in .mk file section headers, fix docstring.
(This used to be commit bd3f3e7c85)
2008-05-21 12:02:02 +02:00
Stefan Metzmacher
eb1b76d200 build: only add enabled subsystems and modules to ALL_OBJS
metze
(This used to be commit cc07bd86e2)
2008-05-19 14:15:15 +02:00
Jelmer Vernooij
4c70cda986 Fix a couple (well, little more than that..) of typos.
(This used to be commit a6b5211994)
2008-05-18 23:02:47 +02:00
Jelmer Vernooij
4c8756f147 Create prototype headers from Makefile directory, without smb_build in the middle.
(This used to be commit f4a77b96f9)
2008-05-18 22:30:08 +02:00
Jelmer Vernooij
e3a615172e Merge branch 'v4-0-test' of /home/jelmer/samba34.git/samba4 into v4-0-test
Conflicts:

	source/build/smb_build/makefile.pm
(This used to be commit 57b57b1ff9)
2008-05-18 21:10:41 +02:00
Jelmer Vernooij
78f804c497 Typo, formatting fixes.
(This used to be commit 5c961c0b41)
2008-05-18 21:10:09 +02:00
Jelmer Vernooij
dc114f8c5a Avoid smb_build for prototype headers in some places.
(This used to be commit 4876c4efbb)
2008-05-18 21:09:04 +02:00
Jelmer Vernooij
688964c7c6 Merge branch 'v4-0-test' of /home/jelmer/samba4 into v4-0-test
(This used to be commit 84c9fbe846)
2008-05-18 18:55:38 +02:00
Jelmer Vernooij
98154fdf05 Move templates to a separate file.
(This used to be commit d9770b651f)
2008-05-18 18:55:14 +02:00
Jelmer Vernooij
65f365d2ec Simplify argument handling.
(This used to be commit f305c443db)
2008-05-18 18:33:24 +02:00
Jelmer Vernooij
109634ba77 Fix --output argument.
(This used to be commit a38e473c9e)
2008-05-18 18:33:05 +02:00
Jelmer Vernooij
1067678048 Allow specifying different input file to smb_build.
(This used to be commit c4bfc0b8da)
2008-05-18 18:08:37 +02:00
Jelmer Vernooij
353afc8d94 Move writing of data.mk file to m4 macro.
(This used to be commit 7fee112d2b)
2008-05-18 17:55:50 +02:00
Jelmer Vernooij
9207a22a0e Move writing autoconf vars into files into m4 macros.
(This used to be commit 3ce8a4bb55)
2008-05-18 17:48:50 +02:00
Stefan Metzmacher
335813c735 lib/socket: remove unused configure check for HAVE_WORKING_AF_LOCAL
metze
(This used to be commit 1c7905cfb4)
2008-05-16 22:56:14 +02:00
Stefan Metzmacher
8a31130a76 build: readd ALL_OBJS which is needed for automatic_dependencies
metze
(This used to be commit 5ca4f76703)
2008-05-16 14:51:39 +02:00
Jelmer Vernooij
5d02514f72 Fail earlier on if shared libs can't be built.
(This used to be commit 2e8766145a)
2008-05-11 15:37:09 +02:00
Jelmer Vernooij
fb62c0508a Properly support sentinels for binary init functions. This should fix the build.
(This used to be commit 9ba5962add)
2008-05-11 14:08:31 +02:00
Jelmer Vernooij
67914192c2 Fix formatting of install message.
(This used to be commit 371afde9b0)
2008-05-11 05:18:09 +02:00
Jelmer Vernooij
c0dd42af53 Remove extra space that caused issues during make install.
(This used to be commit 20a2fc8566)
2008-05-11 05:17:50 +02:00
Jelmer Vernooij
0b5a16abe0 Properly escape quotes.
(This used to be commit 3309432961)
2008-05-11 03:01:27 +02:00
Jelmer Vernooij
7c7de11f20 Fix LDB module initialization when using external ldb.
(This used to be commit b7b4aff8b5)
2008-05-11 01:53:11 +02:00
Jelmer Vernooij
97fbad6480 Install standalone python modules (so we can use stock python rather than smbpython).
(This used to be commit bb5c9fc64b)
2008-05-10 23:25:50 +02:00
Jelmer Vernooij
bfd4850636 Merge branch 'v4-0-test' of ssh://git.samba.org/data/git/samba into v4-0-gmake3
(This used to be commit cce1659d33)
2008-05-10 21:29:42 +02:00
Jelmer Vernooij
3758dec7b1 Fix building with system-provided LDB without breaking anything else :-)
(This used to be commit ce9d759497)
2008-05-10 21:29:09 +02:00
Jelmer Vernooij
e7910c6fcb Revert "Fix building with system-provided LDB."
This reverts commit fbfbc1f163.
(This used to be commit 9d1d2abed1)
2008-05-10 20:59:48 +02:00
Jelmer Vernooij
6267dd7853 Clean up some git merges gone wrong.
(This used to be commit 42eb6b3346)
2008-05-10 20:59:17 +02:00
Jelmer Vernooij
640792fb58 Merge branch 'v4-0-test' of ssh://git.samba.org/data/git/samba into v4-0-gmake3
(This used to be commit cca75ae22d)
2008-05-10 20:44:59 +02:00
Jelmer Vernooij
69247584ea Fix building with system-provided LDB.
(This used to be commit fbfbc1f163)
2008-05-10 20:17:02 +02:00
Jelmer Vernooij
7b45a4d7fa Merge branch 'v4-0-test' into v4-0-gmake3
Conflicts:

	source/auth/config.mk
	source/auth/gensec/config.mk
	source/torture/smbtorture.c
(This used to be commit edfd02e59b)
2008-05-10 18:08:00 +02:00
Stefan Metzmacher
387c17685c build: fix path to lex_compile.sh
metze
(This used to be commit 6a1b7f56af)
2008-05-07 08:59:06 +02:00
Andrew Bartlett
ee70e01e3e Don't compile files twice when the compilation fails.
Andrew Bartlett
(This used to be commit 53ea233649)
2008-04-25 15:08:23 +01:00
Jelmer Vernooij
cc9c4aaa8d Merge branch 'v4-0-test' of ssh://git.samba.org/data/git/samba into v4-0-gmake3
Conflicts:

	source/Makefile
	source/auth/config.mk
	source/auth/gensec/config.mk
	source/build/m4/public.m4
	source/build/make/python.mk
	source/build/make/rules.mk
	source/build/smb_build/header.pm
	source/build/smb_build/main.pl
	source/build/smb_build/makefile.pm
	source/dsdb/config.mk
	source/dsdb/samdb/ldb_modules/config.mk
	source/kdc/config.mk
	source/lib/events/config.mk
	source/lib/events/events.c
	source/lib/ldb/config.mk
	source/lib/nss_wrapper/config.mk
	source/lib/policy/config.mk
	source/lib/util/config.mk
	source/libcli/smb2/config.mk
	source/libnet/config.mk
	source/librpc/config.mk
	source/nbt_server/config.mk
	source/ntptr/ntptr_base.c
	source/ntvfs/posix/config.mk
	source/ntvfs/sysdep/config.mk
	source/param/config.mk
	source/rpc_server/config.mk
	source/rpc_server/service_rpc.c
	source/scripting/ejs/config.mk
	source/scripting/python/config.mk
	source/smb_server/config.mk
	source/smbd/server.c
	source/torture/config.mk
	source/torture/smb2/config.mk
	source/wrepl_server/config.mk
(This used to be commit 13bbd42068)
2008-04-25 10:04:20 +01:00
Jelmer Vernooij
d1432d617e Distinguish between private and public dependencies in the dot file.
(This used to be commit 0690ce5211)
2008-04-24 15:22:07 +01:00
Stefan Metzmacher
08f83c59df build: fix the build rule for .o files
metze
(This used to be commit c7f34f41c3)
2008-04-19 01:10:39 +02:00
Jelmer Vernooij
223df634c8 Work around 'test' quirks - use make's string comparison instead.
(This used to be commit 434b61623e)
2008-04-15 04:08:28 +02:00