One more time, configure.in slang check
git-svn-id: svn://svn.savannah.gnu.org/nano/trunk/nano@179 35c25a1d-7b9e-4130-9fde-d3aeb78583b8master
parent
e5935973f9
commit
a2efc36799
|
@ -14,7 +14,7 @@ CVS code
|
||||||
- Patch to handle $DESTDIR (orig by Dan Harnett contributed by
|
- Patch to handle $DESTDIR (orig by Dan Harnett contributed by
|
||||||
Christian Weisgerber)
|
Christian Weisgerber)
|
||||||
- configure.in:
|
- 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
|
nano-0.9.15 - 08/03/2000
|
||||||
- Changed edit_update call to take arguments TOP, CENTER or BOTTOM.
|
- Changed edit_update call to take arguments TOP, CENTER or BOTTOM.
|
||||||
|
|
15
configure.in
15
configure.in
|
@ -42,7 +42,10 @@ AC_ARG_WITH(slang,
|
||||||
AC_MSG_CHECKING(for SLtt_initialize in -lslang)
|
AC_MSG_CHECKING(for SLtt_initialize in -lslang)
|
||||||
_libs=$LIBS
|
_libs=$LIBS
|
||||||
LIBS="$LIBS -lslang"
|
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_MSG_RESULT(yes)
|
||||||
AC_DEFINE(USE_SLANG)
|
AC_DEFINE(USE_SLANG)
|
||||||
slang_support=yes
|
slang_support=yes
|
||||||
|
@ -61,7 +64,10 @@ AC_ARG_WITH(slang,
|
||||||
|
|
||||||
AC_MSG_CHECKING(for SLtt_initialize in -lslang $tcap)
|
AC_MSG_CHECKING(for SLtt_initialize in -lslang $tcap)
|
||||||
LIBS="$LIBS $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_MSG_RESULT(yes)
|
||||||
AC_DEFINE(USE_SLANG)
|
AC_DEFINE(USE_SLANG)
|
||||||
slang_support=yes
|
slang_support=yes
|
||||||
|
@ -75,7 +81,10 @@ AC_ARG_WITH(slang,
|
||||||
# We might need the math library
|
# We might need the math library
|
||||||
AC_MSG_CHECKING(for SLtt_initialize in -lslang $tcap -lm)
|
AC_MSG_CHECKING(for SLtt_initialize in -lslang $tcap -lm)
|
||||||
LIBS="$LIBS -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_MSG_RESULT(yes)
|
||||||
AC_DEFINE(USE_SLANG)
|
AC_DEFINE(USE_SLANG)
|
||||||
slang_support=yes
|
slang_support=yes
|
||||||
|
|
Loading…
Reference in New Issue