]> diplodocus.org Git - nmh/commitdiff
Fixed sed usage in flex fixup to not use -s (or -e, because
authorDavid Levine <levinedl@acm.org>
Thu, 24 Jul 2014 18:10:23 +0000 (13:10 -0500)
committerDavid Levine <levinedl@acm.org>
Thu, 24 Jul 2014 18:10:23 +0000 (13:10 -0500)
even that's not needed).

configure.ac

index 30afee83b4d69ad4735b0f59c44dc8f704903796..df70c7aba51813d0fa91aa0bd1a8e1bd07b6989b 100644 (file)
@@ -501,9 +501,9 @@ dnl http://sourceforge.net/p/flex/bugs/140/
 AS_IF([test "$LEX" = flex],
       [AS_CASE([`$LEX -V`],
                [flex\ 2.5.35], [LFLAGS=\
-'; sed -e "s/  int n;/ size_t n;/" $@ >$@.tmp && mv -f $@.tmp $@'],
+'; sed "s/     int n;/ size_t n;/" $@ >$@.tmp && mv -f $@.tmp $@'],
                [flex\ 2.5.3[[67]]], [LFLAGS=\
-'; sed -s "s/\(        \)int i;/\1yy_size_t i;/" $@ >$@.tmp && mv -f $@.tmp $@'])
+'; sed "s/\(   \)int i;/\1yy_size_t i;/" $@ >$@.tmp && mv -f $@.tmp $@'])
        AC_SUBST([LFLAGS])])
 
 dnl ----------------