dnl -------------------------------------------------------------------------
AC_PREREQ([2.62])
-AC_INIT([SXEmacs], [SXEM4CS_VERSION], [http://issues.sxemacs.org/])
+AC_INIT([SXEmacs], [SXEM4CS_VERSION], [https://issues.sxemacs.org/])
AC_CONFIG_HEADER([src/config.h])
AC_CONFIG_SRCDIR([src/lisp.h])
AC_CONFIG_AUX_DIR([.])
OG_ARG_WITH([system-malloc],
AS_HELP_STRING([--with-system-malloc],
[Use a system malloc instead of GNU.]),
- [default], [YES if using quantify or purify; NO otherwise])
+ [yes], [YES])
OG_ARG_WITH([regex-malloc],
AS_HELP_STRING([--with-regex-malloc],
automake_minor=`echo "$automake_ver" | sed -e 's/^.* [0-9]*\.\([0-9]*\).*/\1/'`
if test "$automake_major" = "1" -a "$automake_minor" -lt "14"
then
- echo "foreign -Wall"
+ echo "foreign -Wall -Wno-override -Wno-portability"
else
- echo "info-in-builddir foreign -Wall"
+ echo "info-in-builddir foreign -Wall -Wno-override -Wno-portability"
fi]))
m4_ifdef([AM_SILENT_RULES], [AM_SILENT_RULES])
int main (int argc, char *argv[])
{
int fd = -1;
- caddr_t p;
+
#ifndef MAP_ANONYMOUS
fd = open ("/dev/zero", O_RDWR);
if (fd < 0)
## additional actions
AC_DEFINE([HAVE_LIBFFI], [1], [Description here!])
HAVE_LIBFFI=yes
- FFI_LIBS="-lffi"
+ FFI_LIBS="-lffi -ldl"
SXE_ADD_CRUFT_OBJS([effi.o])
])
AC_SUBST(INFOPATH)
if test -z "$with_module_path"; then
- with_module_path="~/.sxemacs/${configuration}/modules:${libdir}/${PROGNAME}/${configuration}/site-modules:${libdir}/${instvardir}/${configuration}/modules"
+ with_module_path="~/.config/sxemacs/${configuration}/modules:${libdir}/${PROGNAME}/${configuration}/site-modules:${libdir}/${instvardir}/${configuration}/modules"
fi
AC_SUBST(module_path,$with_module_path)
:
fi
elif test "$with_system_malloc" = "yes" -o "$system_malloc" = "yes"; then
+ if test "$after_morecore_hook_exists" = "yes"; then
+ SXE_ADD_MEMALLOC_OBJS(vm-limit.o)
+ fi
AC_DEFINE([USE_SYSTEM_MALLOC], [1], [Description here!])
AC_DEFINE([SYSTEM_MALLOC], [1], [Description here!])
elif test "$with_debug_malloc" = "yes"; then