Fri Nov 28 09:04:49 2003 Michael Jennings (mej)

Changes for compatibility with newer LibAST.


SVN revision: 7958
This commit is contained in:
Michael Jennings 2003-11-28 14:05:28 +00:00
parent 3fb2fd57f3
commit 06f3d6a920
3 changed files with 6 additions and 1 deletions

View File

@ -5126,3 +5126,7 @@ Allow save_buff() script function to dump to stderr if no file is
specified. Note that script functions CANNOT be triggered by escape specified. Note that script functions CANNOT be triggered by escape
sequences. sequences.
---------------------------------------------------------------------- ----------------------------------------------------------------------
Fri Nov 28 09:04:49 2003 Michael Jennings (mej)
Changes for compatibility with newer LibAST.
----------------------------------------------------------------------

View File

@ -485,7 +485,7 @@ else
CPPFLAGS="$CPPFLAGS `$LIBAST_CONFIG --cppflags`" CPPFLAGS="$CPPFLAGS `$LIBAST_CONFIG --cppflags`"
LDFLAGS="$LDFLAGS `$LIBAST_CONFIG --ldflags`" LDFLAGS="$LDFLAGS `$LIBAST_CONFIG --ldflags`"
fi fi
AC_CHECK_LIB(ast, libast_malloc, , FOUND_LIBAST=0, $GRLIBS) AC_CHECK_LIB(ast, libast_set_program_name, , FOUND_LIBAST=0, $GRLIBS)
if test "$FOUND_LIBAST" -lt "$LIBAST_MIN"; then if test "$FOUND_LIBAST" -lt "$LIBAST_MIN"; then
echo "ERROR: You need LibAST 0.$LIBAST_MIN or higher to build Eterm. If you already have it,"; echo "ERROR: You need LibAST 0.$LIBAST_MIN or higher to build Eterm. If you already have it,";

View File

@ -88,6 +88,7 @@
# include <stdio.h> # include <stdio.h>
# include <stdlib.h> # include <stdlib.h>
# define LIBAST_COMPAT_05_API 1
# include <libast.h> # include <libast.h>
# include "eterm_debug.h" # include "eterm_debug.h"