1
0
mirror of https://github.com/samba-team/samba.git synced 2025-11-11 00:23:51 +03:00
Commit Graph

1195 Commits

Author SHA1 Message Date
Stefan Metzmacher
f41e2f7f5a r18294: remove leading ././ from .mk files
metze
2007-10-10 14:18:03 -05:00
Stefan Metzmacher
cf61435b43 r18293: use the correct name it's not always under $srcdir...
metze
2007-10-10 14:18:03 -05:00
Stefan Metzmacher
f60be737ef r18291: don't add ./ for files in the top dir '.'
metze
2007-10-10 14:18:02 -05:00
Stefan Metzmacher
6b3d27e93e r18273: AC_PROG_LD_GNU needs LD defined already
metze
2007-10-10 14:17:59 -05:00
Stefan Metzmacher
ce08bf1280 r18266: we should bail out in configure if C99 structs are not support
tridge: I think we should create macros in libreplace_macros.m4
        and call them in check_cc.m4 instead of running the tests
	in libreplace.m4. Maybe the macros should remember if they're called
	and then they're skipped in libreplace.m4 inside samba4

metze
2007-10-10 14:17:58 -05:00
Stefan Metzmacher
acbd52009f r18262: fix typos
metze
2007-10-10 14:17:58 -05:00
Stefan Metzmacher
655e400127 r18261: print out the version of gcc
metze
2007-10-10 14:17:58 -05:00
Stefan Metzmacher
e27a362868 r18260: fix the build on systems with broken readdir
this is just a short term hack

we should move the stuff from lib/replace/config.mk
into a lib/replace/samba.m4 and dynamicly generate the OBJ_FILES
list for LIBREPLACE and get rid of REPLACE_REPDIR

metze
2007-10-10 14:17:57 -05:00
Stefan Metzmacher
49b555b876 r18223: the perl array of dependecies is in reversed order
print out the CFLAGS in the correct order

metze
2007-10-10 14:17:52 -05:00
Stefan Metzmacher
42e70d5a7b r18222: filter out double entries from CFLAGS
metze
2007-10-10 14:17:52 -05:00
Andrew Tridgell
d853dcfda7 r18221: moved more configure checks into lib/replace/ 2007-10-10 14:17:52 -05:00
Stefan Metzmacher
d8b5d0c9a7 r18220: $#foo returns the index of the last element not the count of elements,
so we need >= 0.

as 0 means one element

metze
2007-10-10 14:17:52 -05:00
Andrew Tridgell
50318dc55e r18219: move some more portability checks out of samba4 and info lib/replace 2007-10-10 14:17:52 -05:00
Stefan Metzmacher
4ce7b4e45c r18217: use shorter perl
metze
2007-10-10 14:17:51 -05:00
Stefan Metzmacher
239a2607ab r18215: use a shorter version
metze
2007-10-10 14:17:51 -05:00
Stefan Metzmacher
9695a4bd53 r18214: don't add empty elements
metze
2007-10-10 14:17:51 -05:00
Stefan Metzmacher
135d096776 r18213: don't list LIBREPLACE depdendecies explicit and
always at it as first private dependencies

metze
2007-10-10 14:17:50 -05:00
Stefan Metzmacher
5ecf98cc18 r18210: - reenable autodependencies
- and add -MT $@ to the dependency generation
  to notice changes in depdendecies of header files

you may need a 'make clean' or at least you need to remove
heimdal_build/replace.hd

metze
2007-10-10 14:17:50 -05:00
Stefan Metzmacher
a2eee3c6db r18184: make clear that autodepencies are disabled currently
metze
2007-10-10 14:17:47 -05:00
Stefan Metzmacher
159f745702 r18183: - add LIBREPLACE globaly and add LIBREPLACE_HOSTCC
- also specify USE_HOSTCC = YES on binaries that use HOSTCC

I also disable autodependecies as this change let make run forever,
I hopefully fix that tomorrow

metze
2007-10-10 14:17:47 -05:00
Stefan Metzmacher
5e59153735 r18181: use:
CC and CFLAGS
 LD and LDFLAGS
 STLD and STLD_FLAGS
 SHLD and SHLD_FLAGS

all controled by configure
and import the values from samba3 which are more recent

metze
2007-10-10 14:17:47 -05:00
Stefan Metzmacher
de0c8d1b17 r18179: - move CC specific stuff to check_cc.m4
- add some AC_DEFINES to rewrite.m4
  (I'll remove them from check_ld.m4 soon)
  (I've also merged new values from samba3)

metze
2007-10-10 14:17:46 -05:00
Stefan Metzmacher
647f3b140c r18173: PICSUFFIX isn't used anymore
metze
2007-10-10 14:17:46 -05:00
Stefan Metzmacher
38f9e90a12 r18152: move our AC macros into lib/replace/libreplace_macros.m4
and include them from there

metze
2007-10-10 14:17:43 -05:00
Stefan Metzmacher
2b51391470 r18136: put lib/replace in the default include path
metze
2007-10-10 14:17:38 -05:00
Stefan Metzmacher
77948d26f0 r18087: use m4_include() do notice missing files
metze
2007-10-10 14:17:14 -05:00
Stefan Metzmacher
d0aa78177d r17904: we don't want warnings about unused parameters
volker that one was for you:-)

metze
2007-10-10 14:16:53 -05:00
Stefan Metzmacher
6b4f788c71 r17890: add -Wc++-compat option to gcc but don't use it yet
metze
2007-10-10 14:16:52 -05:00
Stefan Metzmacher
40fb476a9c r17793: add -Wmissing-prototypes, -Wmissing-declarations, -Wmissing-field-initializers
gcc options, but don't enable them yet.

we should step by step try to enable them, after removing the flood of warnings
they would generate.

metze
2007-10-10 14:16:43 -05:00
Stefan Metzmacher
a6f22cd924 r17772: warn about unused macros
(only when defined in the .c file not in headers)

metze
2007-10-10 14:16:39 -05:00
Stefan Metzmacher
c3be1e18bc r17744: we explicit want to get warnings about declarations after statements:-)
metze
2007-10-10 14:16:35 -05:00
Stefan Metzmacher
687d69af62 r17566: test if the compiler support inline, this results
in

#define inline

if the compiler doesn't support it

This hopefully fix the build on some hosts,
however we should not start to use inline in our
code this is more to not need to touch imported files
from heimdal or popt.

metze
2007-10-10 14:15:37 -05:00
Stefan Metzmacher
dc0e22a52e r17565: expand the test for negative enum values, systems like Tru64
truncate the value to INT_MAX...
So a AC_TRY_RUN test is needed here

metze
2007-10-10 14:15:37 -05:00
Stefan Metzmacher
ebade9dea5 r17564: we don't need a AC_TRY_RUN to test the compiler warning options
metze
2007-10-10 14:15:37 -05:00
Stefan Metzmacher
e5f752a66b r17531: fix whitespaces
metze
2007-10-10 14:15:34 -05:00
Andrew Bartlett
d79bfbe87d r17196: Clarify that SSL is used for LDAP as well as SWAT.
Andrew Bartlett
2007-10-10 14:10:18 -05:00
Stefan Metzmacher
906c27caef r16341: newer autoconf versions export 'datarootdir',
fix a warning with old autoconf versions

metze
2007-10-10 14:09:11 -05:00
Jelmer Vernooij
3f2a136b9f r16040: Support more recent versions of autoconf 2007-10-10 14:08:52 -05:00
Jelmer Vernooij
146c6d6e00 r15607: Fix readline summary reporting 2007-10-10 14:06:59 -05:00
Jelmer Vernooij
bf5da20869 r15585: Revive pidl's SWIG file generator. It now generates simple
object oriented wrappers for the interfaces (still need to fix
the actual function calls)
2007-10-10 14:06:00 -05:00
Jelmer Vernooij
ed82490e5a r15578: Move some cpp-specific things from CFLAGS to CPPFLAGS
Proper dependencies for POPT_SAMBA (fixes build when popt is in /usr/local)
2007-10-10 14:05:59 -05:00
Jelmer Vernooij
87233041ff r15577: Make popt CFLAGS popt-specific rather then global 2007-10-10 14:05:59 -05:00
Jelmer Vernooij
d72c5c8f75 r15572: Trim build/m4/rewrite.m4 a bit more, remove unused tests. 2007-10-10 14:05:58 -05:00
Jelmer Vernooij
8d794e5911 r15567: Add entry for iconv 2007-10-10 14:05:56 -05:00
Jelmer Vernooij
58cc0b23eb r15551: Fix clash between config.pm and globally installed Config.pm on
case-insensitive filesystems. Patch by John Malmberg tweaked by me
2007-10-10 14:05:55 -05:00
Jelmer Vernooij
3fae92eef5 r15521: Take an optional subsystem name to generate a dependency graph for
just that subsystem
2007-10-10 14:05:45 -05:00
Stefan Metzmacher
86a9b17b3a r15405: remove define for STAT_ST_BLOCKSIZE
as it's not used anywhere and it doesn't belong to check_ld.m4

metze
2007-10-10 14:05:33 -05:00
Jelmer Vernooij
9e9bfd04c6 r15387: Fix installation of dcerpc headers, remove more instances of uint_t 2007-10-10 14:05:31 -05:00
Jelmer Vernooij
f919fd6655 r15384: Improve naming of socket library, disable Requires(.private)? fields in pkg-config files for now as
they break external projects.
2007-10-10 14:05:30 -05:00
Jelmer Vernooij
9eea62c11c r15381: Make shared libraries the default (where supported). This concludes my rewrite of the build system, which I'm (overall)
pretty happy with now. I'll continue making smaller changes, but they won't have as much impact as the changes I've made in the past months.
2007-10-10 14:05:30 -05:00