Re: unbalanced m4_divert_push:

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



Sam Steingold wrote:
Hi,
I get this error in aclocal:
configure.ac:19: error: m4_init: unbalanced m4_divert_push:
configure.ac:19: m4_divert_push: BODY
/home/sds/src/clisp/current/src/m4/general.m4:26: CL_MODULE_COMMON_CHECKS is expanded from...
configure.ac:19: the top level

the relevant code is:

AC_DEFUN([CL_MODULE_COMMON_CHECKS],[dnl
AC_REQUIRE([CL_CLISP])dnl
AC_REQUIRE([AC_CONFIG_AUX_DIR],
[AC_CONFIG_AUX_DIR([$cl_cv_clisp_libdir/config])])dnl
AC_REQUIRE([AC_PROG_CC])dnl
AC_REQUIRE([AC_PROG_CPP])dnl
AC_REQUIRE([AC_GNU_SOURCE])dnl
AC_REQUIRE([AC_USE_SYSTEM_EXTENSIONS])dnl
AC_CHECK_HEADERS(time.h sys/time.h)dnl
])

cl_cv_clisp_libdir is set by CL_CLISP.

the reason is this:
AC_DEFUN([CLISP_SET],[$1=`$cl_cv_clisp -q -norc -x '$2' 2>/dev/null | sed -e 's/^"//' -e 's/"$//'`])

AC_DEFUN([CL_CLISP],[dnl
...
    AC_CACHE_CHECK([for FFI in CLISP], [cl_cv_clisp_ffi], [
     CLISP_SET(cl_cv_clisp_ffi,['#+ffi "yes" #-ffi "no"'])])
...])

apparently, I need to quote '#+ffi "yes" #-ffi "no"' somehow...
HOW?!
thanks
Sam



_______________________________________________
Autoconf mailing list
Autoconf@xxxxxxx
http://lists.gnu.org/mailman/listinfo/autoconf

[Index of Archives]     [GCC Help]     [Kernel Discussion]     [RPM Discussion]     [Red Hat Development]     [Yosemite News]     [Linux USB]     [Samba]

  Powered by Linux