One more time, configure.in slang check

git-svn-id: svn://svn.savannah.gnu.org/nano/trunk/nano@179 35c25a1d-7b9e-4130-9fde-d3aeb78583b8
master
Chris Allegretta 2000-08-09 03:26:33 +00:00
parent e5935973f9
commit a2efc36799
3 changed files with 158 additions and 140 deletions

View File

@ -14,7 +14,7 @@ CVS code
- Patch to handle $DESTDIR (orig by Dan Harnett contributed by
Christian Weisgerber)
- configure.in:
- New (and again revised =) slang test code (Albert Chin-A-Young)
- New (and severally revised =) slang test code (Albert Chin-A-Young)
nano-0.9.15 - 08/03/2000
- Changed edit_update call to take arguments TOP, CENTER or BOTTOM.

281
configure vendored

File diff suppressed because it is too large Load Diff

View File

@ -42,7 +42,10 @@ AC_ARG_WITH(slang,
AC_MSG_CHECKING(for SLtt_initialize in -lslang)
_libs=$LIBS
LIBS="$LIBS -lslang"
AC_TRY_RUN([int main () { SLtt_initialize (); return 0; }],
AC_TRY_RUN([
#include <stdio.h>
#include <slcurses.h>
int main () { SLtt_initialize (NULL); return 0; }],
[AC_MSG_RESULT(yes)
AC_DEFINE(USE_SLANG)
slang_support=yes
@ -61,7 +64,10 @@ AC_ARG_WITH(slang,
AC_MSG_CHECKING(for SLtt_initialize in -lslang $tcap)
LIBS="$LIBS $tcap"
AC_TRY_RUN([int main () { SLtt_initialize (); return 0; }],
AC_TRY_RUN([
#include <stdio.h>
#include <slcurses.h>
int main () { SLtt_initialize (NULL); return 0; }],
[AC_MSG_RESULT(yes)
AC_DEFINE(USE_SLANG)
slang_support=yes
@ -75,7 +81,10 @@ AC_ARG_WITH(slang,
# We might need the math library
AC_MSG_CHECKING(for SLtt_initialize in -lslang $tcap -lm)
LIBS="$LIBS -lm"
AC_TRY_RUN([int main () { SLtt_initialize (); return 0; }],
AC_TRY_RUN([
#include <stdio.h>
#include <slcurses.h>
int main () { SLtt_initialize (NULL); return 0; }],
[AC_MSG_RESULT(yes)
AC_DEFINE(USE_SLANG)
slang_support=yes