Re: [AD] allegro-config patch: sed expression seds too much

[ Thread Index | Date Index | More lists.liballeg.org/allegro-developers Archives ]


On 2002-08-14, Vincent <Vincent.Penquerch@xxxxxxxxxx> wrote:
> Something like:
> 
> -Iinclude -s -O
> 
> would become
> 
> -Iinclude-O
> 
> which annoyed me to no end :)
> 
> Don't know how this one went in, as it should hose every
> single build, unless it's my specific configure options ?
> Didn't look more, this fixes it fine.

You must have a really old Allegro or something.

$ cvs diff -r1.12 -r1.13 allegro-config.in 
Index: allegro-config.in
===================================================================
RCS file: /cvsroot/alleg/allegro/misc/allegro-config.in,v
retrieving revision 1.12
retrieving revision 1.13
diff -u -r1.12 -r1.13
--- allegro-config.in   16 Nov 2001 00:48:43 -0000      1.12
+++ allegro-config.in   19 Nov 2001 03:21:08 -0000      1.13
@@ -18,7 +18,7 @@
 static_libs=@LINK_WITH_STATIC_LIBS@
 lib_type=@LIB_TO_LINK@
 
-allegro_ldflags=`echo "@LDFLAGS@" | sed -e "s/ -s //"`
+allegro_ldflags=`echo "@LDFLAGS@" | sed -e "s/ -s\b//"`
 allegro_libs="@LIBS@"
 allegro_cflags=""
 
-- 
王浩禎



Mail converted by MHonArc 2.6.19+ http://listengine.tuxfamily.org/