Darren_Hall@progressive.com
- Integrated patchs from Juergen Keil <jk@tools.de>
- Avoid void* pointer arithmatic
- Use LDFLAGS correctly
+ - Added better test for inline functions compiler support from
+ Darren_Hall@progressive.com
19991214
- OpenBSD CVS Changes
# define __P(x) x
#endif
-#ifdef __GNUC__
-# if __GNUC__ < 2
-# define INLINE inline
-# define __attribute__(x)
-# else
-# define INLINE __inline__
-# endif /* __GNUC__ < 2 */
+#if defined(__GNUC__) && (__GNUC__ < 2)
+# define __attribute__(x)
#else
# define __attribute__(x)
-# define INLINE
-#endif /* __GNUC__ */
+#endif /* defined(__GNUC__) && (__GNUC__ < 2) */
void (*cipher_attack_detected) (const char *fmt,...) = fatal;
-static INLINE void
+static inline void
detect_cbc_attack(const unsigned char *src,
unsigned int len)
{
AC_PROG_RANLIB
AC_PROG_INSTALL
AC_CHECK_PROG(AR, ar, ar)
+
+dnl Checks for compiler characteristics
if test "$GCC" = "yes"; then CFLAGS="$CFLAGS -Wall"; fi
+AC_C_INLINE
dnl Check for OpenSSL/SSLeay directories.
AC_MSG_CHECKING([for OpenSSL/SSLeay directory])