Magnus Fromreide wrote: > On Fri, Aug 25, 2006 at 04:15:55PM +0200, Thomas Anders wrote: >> Robert Story wrote: >>> $ cvs diff configure.in >>> Index: configure.in >> [...] >>> +AC_CONFIG_HEADER(include/net-snmp/libtool-config.h) >>> AC_CONFIG_HEADER(include/net-snmp/net-snmp-config.h) >> I don't think this'll work. autoheader can only maintain a *single* >> FILE.in (from a single acconfig.h). Splitting up the two will require >> some postprocessing. Ideas? > > I checked the manual. > > It works to do this - the syntax is > > AC_CONFIG_HEADERS([config.h header1.h header2.h]) > > The first one will be updated by autoheader but the others are left alone.
I'm still not sure I fully understand what you're proposing here. Can you elaborate, please? Especially, shall header1.h end up containing a *subset* of the config.h definitions or contain definitions that config.h does *not* have? How's header1.h updated? A minimal example set of configure.in, acconfig.h (or appropriate AC_DEFINE in configure.in instead, as per autoheader recommendations) and header1.h.in to illustrate your proposal would be most welcome. +Thomas -- Thomas Anders (thomas.anders at blue-cable.de) ------------------------------------------------------------------------- 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 _______________________________________________ Net-snmp-coders mailing list [email protected] https://lists.sourceforge.net/lists/listinfo/net-snmp-coders
