How about putting the Solaris specific changes into the configureextra/SOLARIS file?
That will solve the LDFLAGS et al For the other required .h's the right thing is to figure out which AC_CHECK_HEADER/AC_CHECK_HEADERS they're in and add a 2nd test with the extra .hs - look for the if_pppox.h case as a model. As you know, patches need to be against configure.in - configure gets regenerated all the time, so patches against it are useless other than as a model. -----Burton -----Original Message----- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] Behalf Of Chris Turbeville Sent: Monday, August 18, 2003 5:11 PM To: [EMAIL PROTECTED] Subject: [Ntop-dev] Sparc Sol9 I got the CVS to build but had a problem with net/if.h netinet/if_ether.h and netinet/ip_icmp.h. To fix them they need the following added: RCS file: /export/home/ntop/ntop/configure,v retrieving revision 2.152 diff -r2.152 configure 6149a6150,6152 > LDFLAGS="${LDFLAGS} -L/usr/local/lib -L/opt/sfw/lib" > CPPFLAGS="${CPPFLAGS} -I/usr/local/include -I/opt/sfw/include" > LIBS="-lm -lnsl -lsocket -liconv ${LIBS}" 11796a11800 > #include <sys/socket.h> 11938a11943,11944 > #include <sys/socket.h> > #include <net/if.h> 12222a12229 > #include <netinet/in.h> 12364a12372,12375 > #include <sys/socket.h> > #include <netinet/in.h> > #include <netinet/in_systm.h> > #include <netinet/ip.h> 12647a12659 > #include <netinet/in.h> Can anyone recommend changes to configure.in for this? Thanks -Chris -- [EMAIL PROTECTED] Chris Turbeville NTT/VERIO Send mail with subject "send PGP Key" for PGP 6.5.2 Public key _______________________________________________ Ntop-dev mailing list [EMAIL PROTECTED] http://listgateway.unipi.it/mailman/listinfo/ntop-dev _______________________________________________ Ntop-dev mailing list [EMAIL PROTECTED] http://listgateway.unipi.it/mailman/listinfo/ntop-dev
