Lines 291-296
Link Here
|
291 |
SLANGINC="-I${prefix}/include/slang" |
291 |
SLANGINC="-I${prefix}/include/slang" |
292 |
elif test -d /usr/include/slang; then |
292 |
elif test -d /usr/include/slang; then |
293 |
SLANGINC="-I/usr/include/slang" |
293 |
SLANGINC="-I/usr/include/slang" |
|
|
294 |
elif test -d /usr/include/slang-2; then |
295 |
SLANGINC="-I/usr/include/slang-2" |
294 |
fi |
296 |
fi |
295 |
fi |
297 |
fi |
296 |
else |
298 |
else |
Lines 313-325
Link Here
|
313 |
AC_MSG_RESULT($SLANGINC $SLANGLIB) |
315 |
AC_MSG_RESULT($SLANGINC $SLANGLIB) |
314 |
have_slang="no" |
316 |
have_slang="no" |
315 |
AC_CHECK_HEADER(slang.h, |
317 |
AC_CHECK_HEADER(slang.h, |
|
|
318 |
AC_CHECK_LIB(slang-2, SLtt_get_terminfo, |
319 |
AC_MSG_NOTICE(Compiling with S-Lang support...) |
320 |
have_slang="yes" |
321 |
AC_DEFINE(USE_SLANG) |
322 |
SLANGLIB="$SLANGLIB -lslang-2 -lm", |
316 |
AC_CHECK_LIB(slang, SLtt_get_terminfo, |
323 |
AC_CHECK_LIB(slang, SLtt_get_terminfo, |
317 |
AC_MSG_NOTICE(Compiling with S-Lang support...) |
324 |
AC_MSG_NOTICE(Compiling with S-Lang support...) |
318 |
have_slang="yes" |
325 |
have_slang="yes" |
319 |
AC_DEFINE(USE_SLANG) |
326 |
AC_DEFINE(USE_SLANG) |
320 |
SLANGLIB="$SLANGLIB -lslang -lm", |
327 |
SLANGLIB="$SLANGLIB -lslang -lm", |
321 |
[AC_MSG_WARN([No S-Lang library found.])] |
328 |
[AC_MSG_WARN([No S-Lang library found.])] |
322 |
$srcdir/mkpluginhooks enable term no |
329 |
$srcdir/mkpluginhooks enable term no |
|
|
330 |
) |
323 |
), |
331 |
), |
324 |
[AC_MSG_WARN([No S-Lang header file found.])] |
332 |
[AC_MSG_WARN([No S-Lang header file found.])] |
325 |
$srcdir/mkpluginhooks enable term no |
333 |
$srcdir/mkpluginhooks enable term no |