summaryrefslogtreecommitdiff
path: root/configure
diff options
context:
space:
mode:
Diffstat (limited to 'configure')
-rwxr-xr-xconfigure3
1 files changed, 2 insertions, 1 deletions
diff --git a/configure b/configure
index 07bffb2..9b5ea9e 100755
--- a/configure
+++ b/configure
@@ -259,7 +259,8 @@ EOF
$CC \
$(pkg-config --cflags ncurses 2>> config.log) \
-o $TMPDIR/ncursestest $TMPDIR/ncursestest.c \
- $(pkg-config --libs ncurses 2>> config.log) \
+ $(pkg-config --libs ncurses 2>> config.log \
+ || echo '-lncurses' ) \
>> config.log 2>&1
if [ ! -x $TMPDIR/ncursestest ] ; then
echo "[NO]"