Amadeus W.M. wrote:
Actually I compiled, out of curiosity, the tar file that came with the srpm, with./configure --without-all --with-x-toolkit=no --without-xand worked very well. So these are valid options. Don't know why rpmbuild doesn't like those. It would have been nice to have an rpm but I'll take what I can.
So far as I know (and I could always be wrong or unaware), the --with/--without options to rpmbuild set macros in the spec file. Those are not automatically passed to the %configure macro which is often used to build GNU software which uses ./configure.
If you want to pass configure options you'll need to edit the emacs spec file to set them. You could modify the spec so that the --with/--without options do get passed into ./configure, as noted here:
http://rpm.org/user_doc/conditional_builds.htmlIf you're just looking to quickly rebuild emacs it might well be simpler to just add/remove the option in the %configure section than it would be to add support for passing it in via rpmbuild.
-- Todd ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ Blessed are they who can laugh at themselves for they shall never cease to be amused.
Attachment:
signature.asc
Description: PGP signature
_______________________________________________ users mailing list -- users@xxxxxxxxxxxxxxxxxxxxxxx To unsubscribe send an email to users-leave@xxxxxxxxxxxxxxxxxxxxxxx