Red Hat Bugzilla – Bug 213070
Implement autotools build system for AdminUtil
Last modified: 2015-12-07 12:02:32 EST
A new autotools (namely Autoconf and Automake) based build-system should be
implemented for AdminUtil. This will make it much easier for people to build
AdminUtil as well as making creation a a buildable source rpm easy.
I will be making a number of attachments to this bug for the new build-system.
I will not be attaching generated files (such as configure).
Created attachment 139741 [details]
New Automake Makefile
Created attachment 139742 [details]
New Autoconf configure template
Created attachment 139743 [details]
New autogen.sh script
This script will be used to generate new build files (configure, Makefile.in,
etc). It will ensure that the minimum required versions of the build tools are
used to create any generated build files.
Created attachment 139744 [details]
ICU m4 file
Created attachment 139746 [details]
Mozldap m4 file
Created attachment 139748 [details]
NSPR m4 file
Created attachment 139749 [details]
NSS m4 file
Created attachment 139750 [details]
Cyrus-SASL m4 file
Created attachment 139751 [details]
New genrb wrapper template
This is a new wrapper script template for running ICU's genrb utility.
Configure will substitute the proper path and library settings to run genrb
during the build.
Created attachment 139753 [details]
The following changes are needed for the new build-system to work properly:
- buildnum.pl needs to be able to simply return the generated build number
instead of storing it in a file.
- The new build-system will set the build number as a define option to the
compiler instead of writing it out into version.h.
Created attachment 139755 [details]
CVS Commit Message
Checked into adminutil (HEAD). Thanks for the review Rich!
Now that the new build-system is checked in, I'd like to remove the old
Makefiles and associated build files since we will not be using them anymore.
Here is the list of files that I'd like to remove:
(In reply to comment #13)
> Now that the new build-system is checked in, I'd like to remove the old
> Makefiles and associated build files since we will not be using them anymore.
Created attachment 139780 [details]
CVS Commit for removed files
Thanks for the review Noriko! I've removed the old build-system files from
We've been usng the autotoosl based build-system for adminutil for some time
now with no problems. The old Makefiles are gone from the source tree as well.
Marking as VERIFIED.