Author: glen Date: Tue Dec 12 01:37:32 2006 GMT Module: SOURCES Tag: HEAD ---- Log message: - build with lzo2
---- Files affected: SOURCES: dxpc-lzo2.patch (NONE -> 1.1) (NEW) ---- Diffs: ================================================================ Index: SOURCES/dxpc-lzo2.patch diff -u /dev/null SOURCES/dxpc-lzo2.patch:1.1 --- /dev/null Tue Dec 12 02:37:32 2006 +++ SOURCES/dxpc-lzo2.patch Tue Dec 12 02:37:27 2006 @@ -0,0 +1,24 @@ +--- dxpc-3.8.2/configure.in 2006-12-12 03:35:19.473670439 +0200 ++++ dxpc-3.8.2/configure.in 2006-12-12 03:36:05.844717227 +0200 +@@ -21,8 +21,8 @@ + dnl Checks for header files. + AC_PATH_XTRA + +-AC_CHECK_LIB(lzo, lzo_version, +- [LIBS="$LIBS -llzo"], ++AC_CHECK_LIB(lzo2, lzo_version, ++ [LIBS="$LIBS -llzo2"], + AC_MSG_ERROR( + [lzo library required: you may need to use the --with-lzo-lib + option to specify path to LZO if it is installed in a non-standard +@@ -31,8 +31,8 @@ + # The LZO installer likes to put headers in /usr/local/include, even on + # systems where that is not searched. Try to be nice and detect this case... + AC_CHECK_HEADER(lzoconf.h, , +- [AC_CHECK_HEADER(/usr/local/include/lzoconf.h, +- [CXXFLAGS="$CXXFLAGS -I/usr/local/include"], ++ [AC_CHECK_HEADER(/usr/include/lzo/lzoconf.h, ++ [CXXFLAGS="$CXXFLAGS -I/usr/include/lzo"], + AC_MSG_ERROR([lzoconf.h required (part of LZO library)]))]) + + AC_DEFUN(dxpc_ACCEPT_LENGTH_T, ================================================================ _______________________________________________ pld-cvs-commit mailing list [email protected] http://lists.pld-linux.org/mailman/listinfo/pld-cvs-commit
