Enlightenment CVS committal
Author : kwo
Project : e16
Module : e
Dir : e16/e
Modified Files:
configure.in
Log Message:
Added possibility to use readline in eesh (--with-readline, default off).
===================================================================
RCS file: /cvsroot/enlightenment/e16/e/configure.in,v
retrieving revision 1.64
retrieving revision 1.65
diff -u -3 -r1.64 -r1.65
--- configure.in 3 Aug 2003 15:42:32 -0000 1.64
+++ configure.in 17 Aug 2003 10:11:50 -0000 1.65
@@ -177,6 +177,17 @@
AC_SUBST(XINERAMA_LIBS)
AC_SUBST(XKB)
+AC_ARG_WITH(readline,
+ [ --with-readline compile eesh with GNU readline support [default=no]],,
with_readline=no)
+if test "x$with_readline" = "xyes"; then
+ AC_CHECK_LIB(readline, readline, RL_LIBS="-lreadline -ltermcap",
+ AC_ERROR(readline not found - don't use --with-readline),
+ -ltermcap
+ )
+ AC_SUBST(RL_LIBS)
+ AC_DEFINE(USE_READLINE, 1, [readline support])
+fi
+
AC_CHECK_LIB(Fridge,mass_quantities_of_bass_ale)
AC_CHECK_LIB(Fridge,mass_quantities_of_any_ale, , [
echo "Warning: No ales were found in your refrigerator."
-------------------------------------------------------
This SF.Net email sponsored by: Free pre-built ASP.NET sites including
Data Reports, E-commerce, Portals, and Forums are available now.
Download today and enter to win an XBOX or Visual Studio .NET.
http://aspnet.click-url.com/go/psa00100003ave/direct;at.aspnet_072303_01/01
_______________________________________________
enlightenment-cvs mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/enlightenment-cvs