On Tue, 2009-04-28 at 18:04 -0500, Serge E. Hallyn wrote: > Quoting Mimi Zohar ([email protected]): > > > > Verify the existence of openssl/sha.h not libcrypto, which is > > included in multiple packages, to determine if openssl-devel is > > installed. > > > > Signed-off-by: Mimi Zohar <[email protected]>
Thanks. Regards-- Subrata > > Acked-by: Serge Hallyn <[email protected]> > > This stops trying to compile the ima testcase on my RHEL5.3 system. > > But, can there be anyone wanting to use libcrypto who doesn't > need libssl? > > BTW - the requirement of autoconf 2.61 seems worth avoiding. I > see it's there to use 'AC_CHECK_HEADER_ONCE'. If there's something > else that could be used, which works with older autoconf, that'd > be great. As it was, to compile on rhel5.3 i had to remove those > lines and drop autconf required level to 2.58. > > thanks, > -serge > > > Index: ltp-full-20090228/m4/ltp-crypto.m4 > > =================================================================== > > --- ltp-full-20090228.orig/m4/ltp-crypto.m4 > > +++ ltp-full-20090228/m4/ltp-crypto.m4 > > @@ -4,6 +4,6 @@ dnl ---------------------------- > > dnl > > AC_DEFUN([LTP_CHECK_CRYPTO], > > [dnl > > -AC_CHECK_LIB([crypto],[SHA1_Init],[CRYPTO_LIB=-lcrypto],[CRYPTO_LIB=]) > > +AC_CHECK_HEADERS(openssl/sha.h,[CRYPTO_LIB=-lcrypto],[CRYPTO_LIB=]) > > AC_SUBST(CRYPTO_LIB) > > ]) > > ------------------------------------------------------------------------------ Register Now & Save for Velocity, the Web Performance & Operations Conference from O'Reilly Media. Velocity features a full day of expert-led, hands-on workshops and two days of sessions from industry leaders in dedicated Performance & Operations tracks. Use code vel09scf and Save an extra 15% before 5/3. http://p.sf.net/sfu/velocityconf _______________________________________________ Ltp-list mailing list [email protected] https://lists.sourceforge.net/lists/listinfo/ltp-list
