Commit b7ea9d45 authored by Chris Allegretta's avatar Chris Allegretta
Browse files

New libm test for slang

git-svn-id: svn://svn.savannah.gnu.org/nano/trunk/nano@176 35c25a1d-7b9e-4130-9fde-d3aeb78583b8
No related merge requests found
Showing with 1318 additions and 1245 deletions
+1318 -1245
......@@ -15,6 +15,7 @@ CVS code
Christian Weisgerber)
- configure.in:
- New slang test code (Albert Chin-A-Young)
- Test for libm if --with-slang called.
nano-0.9.15 - 08/03/2000
- Changed edit_update call to take arguments TOP, CENTER or BOTTOM.
......
......@@ -10,6 +10,7 @@
# even the implied warranty of MERCHANTABILITY or FITNESS FOR A
# PARTICULAR PURPOSE.
SHELL = @SHELL@
srcdir = @srcdir@
......
......@@ -172,6 +172,9 @@
/* Define if you have the i library (-li). */
#undef HAVE_LIBI
/* Define if you have the m library (-lm). */
#undef HAVE_LIBM
/* Name of package */
#undef PACKAGE
......
This diff is collapsed.
......@@ -38,6 +38,16 @@ AC_ARG_WITH(slang,
CPPFLAGS="-I$with_slang/include $CPPFLAGS"
fi
AC_CHECK_LIB(m, sin)
if test "$ac_cv_lib_m_sin" != "yes"
then
AC_MSG_WARN([
*** The libm library was not found. Some BSD systems require libm
*** in order for slang to work. If nano fails to build, consider
*** obtaining libm or running configure without the --with-slang option
])
fi
AC_CHECK_HEADER(slcurses.h,
AC_CHECK_LIB(slang, SLcurses_newwin, [
AC_DEFINE(USE_SLANG)
......@@ -150,6 +160,7 @@ then
LDFLAGS="$LDFLAGS $glib_libs"
fi
dnl i18n stuff - pretty incomplete for now
AM_GNU_GETTEXT
......
No preview for this file type
This diff is collapsed.
No preview for this file type
This diff is collapsed.
No preview for this file type
This diff is collapsed.
This diff is collapsed.
No preview for this file type
This diff is collapsed.
No preview for this file type
This diff is collapsed.
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment