Skip to contentSkip to conversation

Please add AM_MAINTAINER_MODE to configure.in

DISCUSSION Steinar H. Gunderson 3 participants 4 messages Jan 4, 2007 – Feb 5, 2007

Subsystems (2)
lore
Share & tools
lore
#0 lore raw

Hi,

Could you please add AM_MAINTAINER_MODE to configure.in? I'd like to set --enable-maintainer-mode in the Debian packages (to prevent configure and friends from being regenerated from possibly broken or incompatible autofoo), but the macro needs to be in place in configure.in (which should probably be renamed to configure.ac by now?) for the switch to exist.

/* Steinar */

Signature · 10 lines
Homepage: http://www.sesse.net/

-------------------------------------------------------------------------
Take Surveys. Earn Cash. Influence the Future of IT
Join SourceForge.net's Techsay panel and you'll get the chance to share your
opinions on IT & business topics through brief surveys - and earn cash
http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV
_______________________________________________
NFS maillist  -  [email protected]
https://lists.sourceforge.net/lists/listinfo/nfs
#1 lore raw
Quoted 7 lines · On Thursday January 4, [email protected] wrote:

Hi,

Could you please add AM_MAINTAINER_MODE to configure.in? I'd like to set --enable-maintainer-mode in the Debian packages (to prevent configure and friends from being regenerated from possibly broken or incompatible autofoo), but the macro needs to be in place in configure.in (which should probably be renamed to configure.ac by now?) for the switch to exist.

From my limited reading, --enable-maintainer-mode effective negates the effect of putting AM_MAINTAINER_MODE in configure.in. So I'm confused.

And there is a suggestion of that AM_MAINTAINER_MODE is a bad thing:

http://www.gnu.org/software/automake/manual/html_node/maintainer-mode.html

So I need more information before I know how to proceed.

NeilBrown

-------------------------------------------------------------------------
Using Tomcat but need to do more? Need to support web services, security? Get stuff done quickly with pre-integrated technology to make your job easier. Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo
http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642
_______________________________________________
NFS maillist - [email protected]
https://lists.sourceforge.net/lists/listinfo/nfs

#2 lore raw
Quoted 3 lines · Neil Brown

From my limited reading, --enable-maintainer-mode effective negates the effect of putting AM_MAINTAINER_MODE in configure.in. So I'm confused.

AM_MAINTAINER_MODE simply puts the option in there. The default doesn't change AFAICS.

Quoted 5 lines

And there is a suggestion of that AM_MAINTAINER_MODE is a bad thing:

http://www.gnu.org/software/automake/manual/html_node/maintainer-mode.html

So I need more information before I know how to proceed.

It is primarily useful for packagers. I need to know that my package builds the same regardless of what's on the system (except for dependencies, of course) -- by default the builds break if the user has autoconf installed but none of the other dependencies. (As most of our builds are done fully automated, there's simply no such control, unless I go to great lengths to annoy users.) --enable-maintainer-mode simply removes all the magic from the build and gives the builder control -- which is useful for a distribution packager, but perhaps less so for a developer.

/* Steinar */

Signature · 10 lines
Homepage: http://www.sesse.net/

-------------------------------------------------------------------------
Using Tomcat but need to do more? Need to support web services, security?
Get stuff done quickly with pre-integrated technology to make your job easier.
Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo
http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642
_______________________________________________
NFS maillist  -  [email protected]
https://lists.sourceforge.net/lists/listinfo/nfs
#3 lore raw
In reply to Neil Brown
Quoted 13 lines · Neil Brown
Quoted 7 lines · On Thursday January 4, [email protected] wrote:

Hi,

Could you please add AM_MAINTAINER_MODE to configure.in? I'd like to set --enable-maintainer-mode in the Debian packages (to prevent configure and friends from being regenerated from possibly broken or incompatible autofoo), but the macro needs to be in place in configure.in (which should probably be renamed to configure.ac by now?) for the switch to exist.

From my limited reading, --enable-maintainer-mode effective negates the effect of putting AM_MAINTAINER_MODE in configure.in. So I'm confused.

Quoted 5 lines

And there is a suggestion of that AM_MAINTAINER_MODE is a bad thing:

http://www.gnu.org/software/automake/manual/html_node/maintainer-mode.html

So I need more information before I know how to proceed.

I've been working for a few weeks with this included. As a developer actively making changes to Makefile.am, etc., I just configure with --enable-maintainer-mode.

I've run into the timestamp problem in the past on machines with older versions of autoconf where the makefile thinks that autoconf needs to be re-run. That can be a pain.

K.C.

-------------------------------------------------------------------------
Using Tomcat but need to do more? Need to support web services, security? Get stuff done quickly with pre-integrated technology to make your job easier. Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo
http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642
_______________________________________________
NFS maillist - [email protected]
https://lists.sourceforge.net/lists/listinfo/nfs