[syslog-ng]syslog-ng-1.4.15 patch for libol-0.3.3

Carlos Velasco carlosev@newipnet.com
Thu, 30 May 2002 20:24:23 +0200


Hello,

I tried to run "configure" with libol-0.3.3 and found out that configure=
 was not capable to find or use my libol-0.3.3 although I tried to specify=
 "--with-libol=3D" parameter.

Looking into the code I see that libol version needed is at least: 0.2.23
As my libol is 0.3.3, configure script does a comparation between 23 and 3,=
 seeing that 3 is minor (23 > 3), it abort compilation.

I have issued the next patch:

--- configure   Fri Apr 26 11:45:46 2002
+++ configure.new2      Thu May 30 20:21:12 2002
@@ -2623,7 +2623,7 @@
 
 LIBOL_MAJOR=3D`echo $LIBOL_VERSION | sed -e=
 's/\([0-9]*\)\.[0-9]*\.[0-9]*/\1/'`
 LIBOL_MINOR=3D`echo $LIBOL_VERSION | sed -e=
 's/[0-9]*\.\([0-9]*\)\.[0-9]*/\1/'`
-LIBOL_PATCH=3D`echo $LIBOL_VERSION | sed -e=
 's/[0-9]*\.[0-9]*\.\([0-9]*\)/\1/'`
+LIBOL_PATCH=3D`echo $LIBOL_VERSION | sed -e=
 's/[0-9]*\.[0-9]*\.\([0-9]*\)/\1/' | sed -e 's/^\([0-9]\)$/\10/'`
 if test "$LIBOL_MAJOR" !=3D "$LIBOL_REQ_MAJOR" -o \
        "$LIBOL_MINOR" -lt "$LIBOL_REQ_MINOR" -o \
        "$LIBOL_PATCH" -lt "$LIBOL_REQ_PATCH"; then


Regards,
Carlos Velasco