aboutsummaryrefslogtreecommitdiff
path: root/configure
diff options
context:
space:
mode:
authorMarc André Tanner <mat@brain-dump.org>2016-04-22 18:32:45 +0200
committerMarc André Tanner <mat@brain-dump.org>2016-04-22 18:32:45 +0200
commit43f88d0ae0831fa1e9f930b6f0882e3a2109426e (patch)
tree81a9efc65195d0d2103aaa7eda4bb49545a544e4 /configure
parent398f44415c89f478298861c3ff655bdbda716af1 (diff)
downloadvis-43f88d0ae0831fa1e9f930b6f0882e3a2109426e.tar.gz
vis-43f88d0ae0831fa1e9f930b6f0882e3a2109426e.tar.xz
build: clean up make local/standalone implementation
Run configure script for all targets instead of fiddling with Makefile variables directly.
Diffstat (limited to 'configure')
-rwxr-xr-xconfigure6
1 files changed, 3 insertions, 3 deletions
diff --git a/configure b/configure
index 5e7cb0e..31a038f 100755
--- a/configure
+++ b/configure
@@ -259,7 +259,7 @@ for curses in ncursesw ncurses curses; do
fi
fi
- CFLAGS_CURSES="-I/usr/include/$curses"
+ CFLAGS_CURSES=""
LDFLAGS_CURSES="-l$curses"
if $CC $CFLAGS $CFLAGS_CURSES "$tmpc" \
@@ -336,8 +336,8 @@ EOF
fi
fi
- CFLAGS_LUA="-I/usr/include/$liblua"
- LDFLAGS_LUA="-l$liblua -lm"
+ CFLAGS_LUA=""
+ LDFLAGS_LUA="-l$liblua -lm -ldl"
if $CC $CFLAGS $CFLAGS_LUA "$tmpc" \
$LDFLAGS $LDFLAGS_LUA -o "$tmpo" >/dev/null 2>&1 ; then