vis
a vi-like editor based on Plan 9's structural regular expressions
git clone https://9o.is/git/vis.git
commit 95ff466f33ee69f2182c017caa1170bc5f359ce8 parent 5f10dfbb06f3f51a0cb02a63df38ea7dbe04a4cc Author: Christian Hesse <mail@eworm.de> Date: Mon, 21 Mar 2016 13:36:33 +0100 configure: fix condition for liblua Diffstat:
| M | configure | | | 8 | ++++---- |
1 file changed, 4 insertions(+), 4 deletions(-)
diff --git a/configure b/configure @@ -308,8 +308,8 @@ EOF if test "$have_pkgconfig" = "yes" ; then CFLAGS_LUA=$(pkg-config --cflags $liblua 2>/dev/null) LDFLAGS_LUA=$(pkg-config --libs $liblua 2>/dev/null) - if test $? -eq 0 && $CC $CFLAGS $LDFLAGS $CFLAGS_LUA $LDFLAGS_LUA \ - -o /dev/null "$tmpc" >/dev/null 2>&1 ; then + if test $? -eq 0 && $CC $CFLAGS $CFLAGS_LUA "$tmpc" \ + $LDFLAGS $LDFLAGS_LUA -o /dev/null >/dev/null 2>&1 ; then CONFIG_LUA=1 printf "yes\n" break @@ -319,8 +319,8 @@ EOF CFLAGS_LUA="-I/usr/include/$liblua" LDFLAGS_LUA="-l$liblua -lm" - if $CC $CFLAGS $LDFLAGS $CFLAGS_LUA $LDFLAGS_LUA \ - -o /dev/null "$tmpc" >/dev/null 2>&1 ; then + if $CC $CFLAGS $CFLAGS_LUA "$tmpc" \ + $LDFLAGS $LDFLAGS_LUA -o /dev/null >/dev/null 2>&1 ; then CONFIG_LUA=1 printf "yes\n" break