View | Details | Raw Unified
Collapse All | Expand All

(-) lzop-1.01.orgi/configure.ac (-4 / +4 lines)
 Lines 65-76    Link Here 
# // Checks for LZO library
# // Checks for LZO library
# ************************************************************************/
# ************************************************************************/
AC_CHECK_HEADERS(lzoconf.h lzo1x.h,,AC_MSG_ERROR([LZO header file not found. Please check your installation or set the environment variable \`CPPFLAGS'.]))
AC_CHECK_HEADERS(lzo/lzoconf.h lzo/lzo1x.h,,AC_MSG_ERROR([LZO header file not found. Please check your installation or set the environment variable \`CPPFLAGS'.]))
AC_CHECK_LIB(lzo,__lzo_init2,,AC_MSG_ERROR([LZO library not found. Please check your installation or set the environment variable \`LDFLAGS'.]))
AC_CHECK_LIB(lzo2,__lzo_init_v2,,AC_MSG_ERROR([LZO library not found. Please check your installation or set the environment variable \`LDFLAGS'.]))
AC_CHECK_LIB(lzo,lzo1x_decompress_asm_fast,AC_DEFINE(LZO_USE_ASM_1,1,[Use asm.]))
AC_CHECK_LIB(lzo2,lzo1x_decompress_asm_fast,AC_DEFINE(LZO_USE_ASM_1,1,[Use asm.]))
AC_CHECK_LIB(lzo,_lzo1x_decompress_asm_fast,AC_DEFINE(LZO_USE_ASM_2,1,[Use asm.]))
AC_CHECK_LIB(lzo2,_lzo1x_decompress_asm_fast,AC_DEFINE(LZO_USE_ASM_2,1,[Use asm.]))
# /***********************************************************************
# /***********************************************************************
(-) lzop-1.01.orgi/src/conf.h (-5 / +7 lines)
 Lines 34-46    Link Here 
#endif
#endif
#define WITH_LZO
#define WITH_LZO
#include <lzoconf.h>
#include <lzo/lzoconf.h>
#if !defined(LZO_VERSION)
#if !defined(LZO_VERSION)
#  error "you need the LZO library"
#  error "you need the LZO library"
#elif (LZO_VERSION < 0x1040)
#elif (LZO_VERSION < 0x1040)
#  error "please upgrade your LZO package"
#  error "please upgrade your LZO package"
#elif (LZO_VERSION >= 0x1080)
#elif (LZO_VERSION >= 0x1080)
#  include <lzoutil.h>
#else
#  include <lzo/lzoutil.h>
#endif
#endif
/* workaround a cpp bug under hpux 10.20 */
/* workaround a cpp bug under hpux 10.20 */
 Lines 73-80    Link Here 
#  define USE_MALLOC
#  define USE_MALLOC
#  undef malloc
#  undef malloc
#  undef free
#  undef free
#  define malloc        lzo_malloc
//#  define malloc        lzo_malloc
#  define free          lzo_free
//#  define free          lzo_free
#else
#else
#  error
#  error
#endif
#endif
 Lines 682-688    Link Here 
#if defined(WITH_LZO)
#if defined(WITH_LZO)
#include <lzo1x.h>
#include <lzo/lzo1x.h>
#define USE_LZO1X_1
#define USE_LZO1X_1
#if !defined(LZO_999_UNSUPPORTED)
#if !defined(LZO_999_UNSUPPORTED)
 Lines 693-698    Link Here 
#endif
#endif
#if defined(LZO_USE_ASM_1)
#if defined(LZO_USE_ASM_1)
#define LZO_EXTERN_CDECL LZO_EXTERN
LZO_EXTERN_CDECL(int)
LZO_EXTERN_CDECL(int)
lzo1x_decompress_asm_fast
lzo1x_decompress_asm_fast
                        ( const lzo_byte *src, lzo_uint  src_len,
                        ( const lzo_byte *src, lzo_uint  src_len,