[syslog-ng]libol: configure.in patch

José Pedro Oliveira syslog-ng@lists.balabit.hu
Mon, 03 May 2004 20:34:00 +0100


This is an OpenPGP/MIME signed message (RFC 2440 and 3156)
--------------enig3CD16E7662BA1BE8462F82E3
Content-Type: multipart/mixed;
 boundary="------------050907020807010001000407"

This is a multi-part message in MIME format.
--------------050907020807010001000407
Content-Type: text/plain; charset=ISO-8859-1; format=flowed
Content-Transfer-Encoding: 8bit

Bazsi,

Would it be possible to apply this patch against libol configure.in
file?

This patch allows the libol to be compiled with the same CFLAGS
used in Linux distros (at least the RPM based ones). In a specfile
the %configure macro automatically assigns CFLAGS with the cflags
used to compile the distro.

Note: The configure.in in the syslog-ng already does something similar.

Regards,
jpo
-- 
José Pedro Oliveira
* mailto: jpo@di.uminho.pt * http://gsd.di.uminho.pt/~jpo *
* gpg fingerprint = F9B6 8D87 859D 1C94 48F0 84C0 9749 9EB5 91BD 851B *

--------------050907020807010001000407
Content-Type: text/plain;
 name="libol-configure.in.patch"
Content-Transfer-Encoding: 7bit
Content-Disposition: inline;
 filename="libol-configure.in.patch"

diff -ru libol-0.3.13+20040502-original/configure.in libol-0.3.13+20040502-modified/configure.in
--- libol-0.3.13+20040502-original/configure.in	2004-01-19 13:20:38.000000000 +0000
+++ libol-0.3.13+20040502-modified/configure.in	2004-05-03 20:21:25.000000000 +0100
@@ -106,7 +106,7 @@
 if test $enable_debug = "yes"; then
 	CFLAGS="-Wall -g"
 else
-	CFLAGS="-Wall -O2"
+	CFLAGS="$CFLAGS -Wall"
 fi
 
 MAKE_CLASS="$srcdir/utils/make_class"

--------------050907020807010001000407--

--------------enig3CD16E7662BA1BE8462F82E3
Content-Type: application/pgp-signature; name="signature.asc"
Content-Description: OpenPGP digital signature
Content-Disposition: attachment; filename="signature.asc"

-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.2.3 (GNU/Linux)
Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org

iD8DBQFAlp6tl0metZG9hRsRAiICAJ9FxzyA/AtxnrRF11FceKVCwNnhYQCfYh/r
X2PF67+xWbpwrLqRM+JD7S4=
=oO7E
-----END PGP SIGNATURE-----

--------------enig3CD16E7662BA1BE8462F82E3--