# HG changeset patch # User jwe # Date 799352423 0 # Node ID 549b0a461fd81d0248cc78e24f7dc597fe170bc9 # Parent fd946f5926ce8007573930b1f001ea758303068c [project @ 1995-05-01 18:20:23 by jwe] diff --git a/src/defun-dld.h b/src/defun-dld.h --- a/src/defun-dld.h +++ b/src/defun-dld.h @@ -36,7 +36,8 @@ // If Octave is not configured for dynamic linking of builtin // functions, this is exactly like DEFUN. -#if defined (WITH_DLD) && defined (OCTAVE_LITE) && defined (MAKE_BUILTINS) +#if defined (OCTAVE_LITE) && defined (MAKE_BUILTINS) +#if defined (WITH_DLD) #define DEFUN_DLD_BUILTIN(name, fname, sname, nargin_max, nargout_max, doc) \ BEGIN_INSTALL_BUILTIN \ DEFINE_FUN_STRUCT (name, 0, sname, nargin_max, nargout_max, 0, doc); \ @@ -44,6 +45,12 @@ END_INSTALL_BUILTIN #else #define DEFUN_DLD_BUILTIN(name, fname, sname, nargin_max, nargout_max, doc) \ + BEGIN_INSTALL_BUILTIN \ + const char *sname = name " not included with --enable-lite-kernel"; \ + END_INSTALL_BUILTIN +#endif +#else +#define DEFUN_DLD_BUILTIN(name, fname, sname, nargin_max, nargout_max, doc) \ DEFUN_INTERNAL (name, fname, sname, nargin_max, nargout_max, 0, doc) #endif