Jelmer Vernooij
a3052e79f4
Use make variables in cflags file (now supported by cflags.pl)
...
(This used to be commit d746fcde1006b4b7b33aa65bef9d2fea3ebc9162)
2008-02-11 19:28:59 +01:00
Jelmer Vernooij
b4c81c0c18
Make data about what subsystems/libraries are enabled available in the mkconfig.mk file.
...
(This used to be commit 4cc93a98f984d322e41f403169cfa4945b469935)
2008-02-11 14:41:28 +01:00
Jelmer Vernooij
73be46cf45
Move some variables to a separate .mk file that could also be included by a non-smb_build build system.
...
(This used to be commit f44b838b682760e54aa981fe2e991495395d2394)
2008-02-10 23:32:31 +01:00
Jelmer Vernooij
432574366f
Start working on generating .mk file from configure for inclusion in Makefile.
...
(This used to be commit 091f1e7314f05253ae1c10b3d04557be584ed19f)
2008-02-10 22:58:03 +01:00
Jelmer Vernooij
c8c9d70221
Move first_prereq test to m4 code.
...
(This used to be commit c0fef09c5d88158b620f38b6f74498a8b6323bd9)
2008-02-09 17:07:02 +01:00
Michael Adam
1f974c8aa7
Reformat SMB_EXT_LIB_FROM_PKGCONFIG: fix spacing and indentation.
...
Sorry, could not resist: While trying to understand this bit of magic,
I had to bring indentation into shape to see more clearly what is going on.
Also, mixed tabs/spaces are changed to tabs.
Michael
(This used to be commit cbed074f2841b79cc0f23ad52b1fa34515f706a9)
2008-02-08 16:40:21 +01:00
Jelmer Vernooij
a259547786
build: Remove support for DESCRIPTION setting that is now unused.
...
(This used to be commit 91d7ba5202e6c375456a42c2c6861f63c7fcfc20)
2008-01-22 18:49:51 +01:00
Jelmer Vernooij
b487ecdfad
build: Fix handling of external pkg-config dependencies when generating pkg-config files.
...
(This used to be commit 88f9e11286bf0f12fc766dbf21f311e5373f0811)
2008-01-20 01:19:59 +01:00
Stefan Metzmacher
ef4e560174
prepare the mkversion.sh infrastructure for git branches in the build-farm
...
metze
(cherry-picked from 1bf4c7fb2012a81e0b4e3d601a4df42d1113f5ef)
(This used to be commit 464668b07aded0a299eb49b87b51bb9bf53d2c8d)
2008-01-10 19:34:24 +01:00
Jelmer Vernooij
3ee442c54f
r26571: Hide warnings about unused macros and casting qualifiers in autogenerated files.
...
(This used to be commit cb76c60007ae1254181c09ba1ab09c419f500bc5)
2007-12-24 01:51:03 -06:00
Jelmer Vernooij
013a762ca2
r26005: Notice the user about LD_LIBRARY_PATH or equivalent when building with shared libs.
...
(This used to be commit 44529b24467ac94d47d14a53177554b39a80da1a)
2007-12-21 05:45:41 +01:00
Stefan Metzmacher
a5b8d78841
r26000: build: use AC_LIBREPLACE_STLD_* macros
...
metze
(This used to be commit 03a55961481e724acfc4e098cbe8f997986b61e2)
2007-12-21 05:45:34 +01:00
Stefan Metzmacher
e2ba39bb58
r25993: build: HOSTLD should always match HOSTCC if not specified
...
metze
(This used to be commit 941dfdbbb47d18c94bff8bd0452326e6f5ce768f)
2007-12-21 05:45:31 +01:00
Stefan Metzmacher
17f5426395
r25989: build: use AC_LIBREPLACE_SHLD
...
metze
(This used to be commit 54f0ad64a611695ca6d8bfd643f3846021bac637)
2007-12-21 05:45:30 +01:00
Stefan Metzmacher
676bb230fc
r25987: libreplace: rename AC_LD_SHLDFLAGS into AC_LIBREPLACE_SHLD_FLAGS
...
metze
(This used to be commit 410cdf789a72209f9e10321519fe18ab40a43f95)
2007-12-21 05:45:29 +01:00
Stefan Metzmacher
daa73ef1c6
r25985: build: SHLD_UNDEF_FLAGS isn't used anymore
...
metze
(This used to be commit 24290852863517f0ab3d881d4a2deb086ce5ef5d)
2007-12-21 05:45:28 +01:00
Stefan Metzmacher
d7e5d3fe27
r25978: build: use AC_LIBREPLACE_MDLD_* macros and use the result to build modules
...
metze
(This used to be commit f86db3348b0ee243988526578cc09c2d5d9a70af)
2007-12-21 05:45:27 +01:00
Jelmer Vernooij
a46a22883d
r25904: Remove extra
...
(This used to be commit fd0958107524a526d0bc78b98e031c595c85b877)
2007-12-21 05:44:47 +01:00
Jelmer Vernooij
e2c207827f
r25901: Remove obsolete --enable-shared option (whether shared libs should be used internally can be set using --enable-dso).
...
(This used to be commit 571aa6ba22f6e4b774f9a9db3a02e3beec3f8523)
2007-12-21 05:44:45 +01:00
Jelmer Vernooij
25645bfe7b
r25878: Fix syntax error.
...
(This used to be commit ffe5a10867a2d2e5eb51c84331fff130e996eda8)
2007-12-21 05:44:37 +01:00
Jelmer Vernooij
414e5eca2e
r25877: Add libreplace macro for soname flags.
...
(This used to be commit 25aa875119622679881cd0e1b3b9dff8d2cf03ee)
2007-12-21 05:44:36 +01:00
Jelmer Vernooij
a73cfa950a
r25876: Attempt to build shard libs everywhere again.
...
(This used to be commit b5bcdbbd0c9a6133d15c3a9c01738d9899dbcf8d)
2007-12-21 05:44:36 +01:00
Jelmer Vernooij
26c3cad60f
r25852: Move SHLIBEXT determination into a test as well.
...
(This used to be commit aaaed5edc06f3055794e55a8038dbbdac47ce5b6)
2007-12-21 05:44:27 +01:00
Jelmer Vernooij
dd66e34d41
r25851: Move system-specific ldflags checks to libreplace so they can be used by ldb.
...
(This used to be commit d28c8b822e7b571f24542409376bba8701eeef79)
2007-12-21 05:44:27 +01:00
Jelmer Vernooij
6e561c7f7d
r25850: Add macro for picflag.
...
(This used to be commit 9ebc6f2d17349b214618d65b29826867796c12ce)
2007-12-21 05:44:26 +01:00
Jelmer Vernooij
6c79213eb8
r24997: Re-enable use of system-provided tdb and/or talloc when available.
...
(This used to be commit 0a3b53fd2cbd15c1e5839990e721bbe4d2f7d4af)
2007-10-10 15:05:27 -05:00
Jelmer Vernooij
9c7ae7ec55
r24995: Update upstream URLs.
...
(This used to be commit 04b3623c2e5b39738c869744be8cd3589eda931e)
2007-10-10 15:05:26 -05:00
Stefan Metzmacher
00389db384
r23638: add SMB_LIBRARY() macro to create a LIBRARY::foo section in
...
source/config.mk from within *.m4 files
metze
(This used to be commit d5fa1476875f862e56e640c0777b95f69886e2fd)
2007-10-10 14:53:30 -05:00
Stefan Metzmacher
13ecb01de8
r23637: fix detection of visibility attribute support
...
James: AC_TRY_LINK() has a different syntax as AC_TRY_RUN() :-)
so this was wrong:
http://websvn.samba.org/cgi-bin/viewcvs.cgi?rev=20697&view=rev
metze
(This used to be commit 0a97de3804cbfc593c0cfc62e61fbfe87d2cf368)
2007-10-10 14:53:29 -05:00
Stefan Metzmacher
9853deacb6
r23111: nicer ./configure --help output
...
metze
(This used to be commit d0d371be719f219db9ed9b37df010a80fdda6fc3)
2007-10-10 14:52:50 -05:00
Stefan Metzmacher
938a0bc9ac
r23110: add --disable-shared option, very useful for the build-farm...
...
metze
(This used to be commit 251d534a883efd384e0951c9af595203d962b972)
2007-10-10 14:52:50 -05:00
Stefan Metzmacher
23026646e1
r22996: merge HPUX compiler flag fixes from SAMBA_3_0
...
metze
(This used to be commit 9a9376d902bd946e6613ff9d3c37b344dfd207cf)
2007-10-10 14:52:38 -05:00
Jelmer Vernooij
30baa7f39e
r22697: Support building with external talloc.
...
(This used to be commit 3a2f9e0977bc311daa8171ea709a9cbcdd0a0c85)
2007-10-10 14:52:02 -05:00
Stefan Metzmacher
91ec102fb9
r22662: disable shared library support on Tru64
...
metze
(This used to be commit 75d5155cd33096aea0dc31dfa596769eb923299d)
2007-10-10 14:51:58 -05:00
Stefan Metzmacher
71270d5e1c
r22308: disabled shared libraries on aix and openbsd
...
until we can link libtorture.so and libntvfs.so
there
metze
(This used to be commit 9e6ed9ed0fd2b65c87d5bcfd99f88fe035c6c362)
2007-10-10 14:51:00 -05:00
Stefan Metzmacher
e91776220c
r22257: disable shared libraries on IRIX for now
...
as us4 fails to link libtorture.so because of an argv overflow
metze
(This used to be commit c924b0b89c3d8cd2e8b4db5866be028d9f13a787)
2007-10-10 14:50:48 -05:00
James Peach
2e588454fe
r22035: Introduce HOSTLD which is needed to link the asn1 compiler when cross
...
compiling.
(This used to be commit 976343821b99b04725c9fddee42dbcd0261c2d51)
2007-10-10 14:49:43 -05:00
Jelmer Vernooij
82266dc22f
r21582: Allow modification of LDFLAGS
...
(This used to be commit 1726bd33782d1ee77a292bdc0c840959c1c3fb50)
2007-10-10 14:49:00 -05:00
Jelmer Vernooij
30bfba96d3
r20942: Simplify handling of systems that don't support negative enum values by using an ifdef rather than a pidl argument.
...
(This used to be commit 6bada0dcf0c7915d366c7917189375dbabecdd4f)
2007-10-10 14:43:57 -05:00
Stefan Metzmacher
fda5cbc62e
r20814: always define SHLIBEXT, to fix the build on host with no support for shared libs,
...
there we just define it to an invalid value
metze
(This used to be commit d491258c2cf7e86ab82571360a9d51a1b0a61fad)
2007-10-10 14:43:35 -05:00
James Peach
34fe5027d0
r20697: A couple of minot cross-compile fixes.
...
(This used to be commit d4c7dd19f3a114ee1527cbcd3071b4921600977d)
2007-10-10 14:40:24 -05:00
Jelmer Vernooij
667eedac90
r19634: Only use --allow-undef-shlib for modules.
...
(This used to be commit e8f2a086be2a0553467738df711b1450ba559848)
2007-10-10 14:25:21 -05:00
Jelmer Vernooij
c4ee1af3fb
r19631: Re-enable shared libraries, but don't use -rpath-link unless
...
shared libraries are actually used.
(This used to be commit 93e4f093b946cbb1b6deca82efdf0d5f033128b8)
2007-10-10 14:25:20 -05:00
Stefan Metzmacher
ff2d656fab
r19623: disable building of shared libs until we have fixed them,
...
they all have unresolved symbols and are useless
and produce noise in the build-farm
metze
(This used to be commit 3f8b776f630488aaec9f0ffcc099b01dcab02f3f)
2007-10-10 14:25:17 -05:00
Stefan Metzmacher
0fc10ccb65
r19622: - remove unused var
...
- fix default for enable-dso to no
metze
(This used to be commit 47b113e5dbd33ab91246029af9293809824c5395)
2007-10-10 14:25:17 -05:00
Stefan Metzmacher
84e08dad21
r19621: move enable-dso to check_ld.m4 again and add some checks and generate more output
...
metze
(This used to be commit a07b11924c16d51cda484d417d9e1201278b03cb)
2007-10-10 14:25:17 -05:00
Jelmer Vernooij
0b3f04a9be
r19582: Support building both shared and static versions of libraries at the same
...
time.
The --enable-dso flag now specifies whether or not the Samba binaries
themselves should be linked against the shared libraries.
By default, all libraries will be built staticly. If supported, the
shared variant of each library will also be built.
If people think building both shared and static library versions in
'make all' is too time-inefficient, please let me know and I'll move the
shared library bits to 'make everything'.
(This used to be commit 91faa1154a1de18a42f5e237c406157026280478)
2007-10-10 14:24:56 -05:00
Jelmer Vernooij
4fa24df98d
r19507: Merge my DSO fixes branch. Building Samba's libraries as shared libraries
...
works again now, by specifying --enable-dso to configure.
(This used to be commit 7a01235067a4800b07b8919a6a475954bfb0b04c)
2007-10-10 14:24:41 -05:00
Stefan Metzmacher
6cb33a5467
r18975: follow the advice from "William Jojo" <jojowil@hvcc.edu>
...
and pass -bbigtoc also to the linker when building shared libs
metze
(This used to be commit 9c77de282107d28362497aff60fed81e77620a87)
2007-10-10 14:20:26 -05:00
Stefan Metzmacher
1d156f9479
r18974: we don't have the configure check that sets
...
ac_cv_gnu_ld_no_default_allow_shlib_undefined
and as -Wl,--allow-shlib-undefined is supported on SuSE 7.3
I don't see a problem is always pass it explicit
metze
(This used to be commit 79db6bddc5fc1b97f0165348f72b6a2489b62be0)
2007-10-10 14:20:25 -05:00