https://bugzilla.redhat.com/bugzilla/show_bug.cgi?id=210736
Bug(s) fixed: 210736
Bug Description: We need to make the Directory Server build system use
GNU Autoconf
and GNU Automake. The build system needs to support RHEL/FC
systems, Solaris 9,
and HP-UX IPF systems at a minimum for the first cut. Other
platform support
can be added in as needed.
Implementing the new build system is going to be done in multiple
phases. We
need to leave the existing Makefiles around for a while until the
new build
system stabilizes.
Reviewed by: ???
Files: see diff
Branch: HEAD
Fix Description: The below bug attachments comprise the first phase of
implementing
the new build system. There are a number of files generated by
autoconf that
will need to be checked in as well, but they are all generated from
the above
attachments.
There are also some modifications to some existing code that are
needed for the
new build-system to work. These changes are to modify buildnum.pl
to just return
the build number if the platform argument is not supplied. The new
build system
generated the build number at configure time and puts it in the
generated Makefile
instead of a buildnum.dat file. Also, the include line for
ldap-agent.h was
formatted for a system header file. This would cause the new build
system to not
locate it when compiling the SNMP subagent.
The second phase will need to clean up some of the conditional
defines as well
as add configure options for things like an optimized build and
64-bit. All of
this is possible with the current implementation by using CFLAGS,
CXXFLAGS, etc.
The second phase will also need to setup directories for doing a
"make install".
Platforms tested: RHEL4, Solaris 9, HP-UX 11.23 IA64
Flag Day: no
Doc impact: no
Makefile.am -
https://bugzilla.redhat.com/bugzilla/attachment.cgi?id=138468
configure.ac -
https://bugzilla.redhat.com/bugzilla/attachment.cgi?id=138469
db.m4 -
https://bugzilla.redhat.com/bugzilla/attachment.cgi?id=138470
icu.m4 -
https://bugzilla.redhat.com/bugzilla/attachment.cgi?id=138471
mozldap.m4 -
https://bugzilla.redhat.com/bugzilla/attachment.cgi?id=138472
netsnmp.m4 -
https://bugzilla.redhat.com/bugzilla/attachment.cgi?id=138473
nspr.m4 -
https://bugzilla.redhat.com/bugzilla/attachment.cgi?id=138474
nss.m4 -
https://bugzilla.redhat.com/bugzilla/attachment.cgi?id=138475
sasl.m4 -
https://bugzilla.redhat.com/bugzilla/attachment.cgi?id=138476
svrcore.m4 -
https://bugzilla.redhat.com/bugzilla/attachment.cgi?id=138477
diffs -
https://bugzilla.redhat.com/bugzilla/attachment.cgi?id=138478